/// <summary>
        /// Gets the latest state of a long-running operation.  Clients can use this
        /// method to poll the operation result at intervals as recommended by the API
        /// service.
        /// </summary>
        /// <param name="name">
        /// The name of the operation resource.
        /// </param>
        /// <param name="callSettings">
        /// If not null, applies overrides to this RPC call.
        /// </param>
        /// <returns>
        /// The RPC response.
        /// </returns>
        public override Operation GetOperation(
            string name,
            CallSettings callSettings = null)
        {
            GetOperationRequest request = new GetOperationRequest
            {
                Name = name,
            };

            Modify_GetOperationRequest(ref request, ref callSettings);
            return(_callGetOperation.Sync(request, callSettings));
        }
 // Partial modifier methods contain '_' to ensure no name conflicts with RPC methods.
 partial void Modify_GetOperationRequest(ref GetOperationRequest request, ref CallSettings settings);