/// <summary> /// Returns just the requested field. /// </summary> /// <param name="request"> /// The request object containing all of the parameters for the API call. /// </param> /// <param name="callSettings"> /// If not null, applies overrides to this RPC call. /// </param> /// <returns> /// The RPC response. /// </returns> public override gagvr::GoogleAdsField GetGoogleAdsField( GetGoogleAdsFieldRequest request, gaxgrpc::CallSettings callSettings = null) { Modify_GetGoogleAdsFieldRequest(ref request, ref callSettings); return(_callGetGoogleAdsField.Sync(request, callSettings)); }
/// <summary> /// Returns just the requested field. /// </summary> /// <param name="request"> /// The request object containing all of the parameters for the API call. /// </param> /// <param name="callSettings"> /// If not null, applies overrides to this RPC call. /// </param> /// <returns> /// A Task containing the RPC response. /// </returns> public override stt::Task <gagvr::GoogleAdsField> GetGoogleAdsFieldAsync( GetGoogleAdsFieldRequest request, gaxgrpc::CallSettings callSettings = null) { Modify_GetGoogleAdsFieldRequest(ref request, ref callSettings); return(_callGetGoogleAdsField.Async(request, callSettings)); }
// Partial methods called on each request. // Allows per-RPC-call modification to the request and CallSettings objects, // before the underlying RPC is performed. partial void Modify_GetGoogleAdsFieldRequest(ref GetGoogleAdsFieldRequest request, ref gaxgrpc::CallSettings settings);
/// <summary> /// Returns just the requested field. /// </summary> /// <param name="request"> /// The request object containing all of the parameters for the API call. /// </param> /// <param name="callSettings"> /// If not null, applies overrides to this RPC call. /// </param> /// <returns> /// The RPC response. /// </returns> public virtual gagvr::GoogleAdsField GetGoogleAdsField( GetGoogleAdsFieldRequest request, gaxgrpc::CallSettings callSettings = null) { throw new sys::NotImplementedException(); }
/// <summary> /// Returns just the requested field. /// </summary> /// <param name="request"> /// The request object containing all of the parameters for the API call. /// </param> /// <param name="cancellationToken"> /// A <see cref="st::CancellationToken"/> to use for this RPC. /// </param> /// <returns> /// A Task containing the RPC response. /// </returns> public virtual stt::Task <gagvr::GoogleAdsField> GetGoogleAdsFieldAsync( GetGoogleAdsFieldRequest request, st::CancellationToken cancellationToken) => GetGoogleAdsFieldAsync( request, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken));
/// <summary> /// Returns just the requested field. /// </summary> /// <param name="request">The request object containing all of the parameters for the API call.</param> /// <param name="callSettings">If not null, applies overrides to this RPC call.</param> /// <returns>A Task containing the RPC response.</returns> public virtual stt::Task <gagvr::GoogleAdsField> GetGoogleAdsFieldAsync(GetGoogleAdsFieldRequest request, gaxgrpc::CallSettings callSettings = null) => throw new sys::NotImplementedException();