/// <summary> /// Returns the requested campaign in full detail. /// /// List of thrown errors: /// [AuthenticationError]() /// [AuthorizationError]() /// [HeaderError]() /// [InternalError]() /// [QuotaError]() /// [RequestError]() /// </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::Campaign> GetCampaignAsync(GetCampaignRequest request, gaxgrpc::CallSettings callSettings = null) { Modify_GetCampaignRequest(ref request, ref callSettings); return(_callGetCampaign.Async(request, callSettings)); }
/// <summary> /// Returns the requested campaign in full detail. /// /// List of thrown errors: /// [AuthenticationError]() /// [AuthorizationError]() /// [HeaderError]() /// [InternalError]() /// [QuotaError]() /// [RequestError]() /// </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::Campaign GetCampaign(GetCampaignRequest request, gaxgrpc::CallSettings callSettings = null) { Modify_GetCampaignRequest(ref request, ref callSettings); return(_callGetCampaign.Sync(request, callSettings)); }
partial void Modify_GetCampaignRequest(ref GetCampaignRequest request, ref gaxgrpc::CallSettings settings);
/// <summary> /// Returns the requested campaign in full detail. /// /// List of thrown errors: /// [AuthenticationError]() /// [AuthorizationError]() /// [HeaderError]() /// [InternalError]() /// [QuotaError]() /// [RequestError]() /// </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::Campaign> GetCampaignAsync(GetCampaignRequest request, st::CancellationToken cancellationToken) => GetCampaignAsync(request, gaxgrpc::CallSettings.FromCancellationToken(cancellationToken));
/// <summary> /// Returns the requested campaign in full detail. /// /// List of thrown errors: /// [AuthenticationError]() /// [AuthorizationError]() /// [HeaderError]() /// [InternalError]() /// [QuotaError]() /// [RequestError]() /// </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::Campaign> GetCampaignAsync(GetCampaignRequest request, gaxgrpc::CallSettings callSettings = null) => throw new sys::NotImplementedException();
/// <summary> /// Returns the requested campaign in full detail. /// /// List of thrown errors: /// [AuthenticationError]() /// [AuthorizationError]() /// [HeaderError]() /// [InternalError]() /// [QuotaError]() /// [RequestError]() /// </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::Campaign GetCampaign(GetCampaignRequest request, gaxgrpc::CallSettings callSettings = null) => throw new sys::NotImplementedException();