Class YieldPartnerServiceClientImpl
YieldPartnerService client wrapper implementation, for convenient use.
Inherited Members
Namespace: Google.Ads.AdManager.V1
Assembly: Google.Ads.AdManager.V1.dll
Syntax
public sealed class YieldPartnerServiceClientImpl : YieldPartnerServiceClient
Remarks
Provides methods for retrieving yield partners.
Constructors
YieldPartnerServiceClientImpl(YieldPartnerServiceClient, YieldPartnerServiceSettings, ILogger)
Constructs a client wrapper for the YieldPartnerService service, with the specified gRPC client and settings.
Declaration
public YieldPartnerServiceClientImpl(YieldPartnerService.YieldPartnerServiceClient grpcClient, YieldPartnerServiceSettings settings, ILogger logger)
Parameters
| Type | Name | Description |
|---|---|---|
| YieldPartnerService.YieldPartnerServiceClient | grpcClient | The underlying gRPC client. |
| YieldPartnerServiceSettings | settings | The base YieldPartnerServiceSettings used within this client. |
| ILogger | logger | Optional ILogger to use within this client. |
Properties
GrpcClient
The underlying gRPC YieldPartnerService client
Declaration
public override YieldPartnerService.YieldPartnerServiceClient GrpcClient { get; }
Property Value
| Type | Description |
|---|---|
| YieldPartnerService.YieldPartnerServiceClient |
Overrides
Methods
GetYieldPartner(GetYieldPartnerRequest, CallSettings)
Gets a YieldPartner object.
Declaration
public override YieldPartner GetYieldPartner(GetYieldPartnerRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| GetYieldPartnerRequest | request | The request object containing all of the parameters for the API call. |
| CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
| Type | Description |
|---|---|
| YieldPartner | The RPC response. |
Overrides
GetYieldPartnerAsync(GetYieldPartnerRequest, CallSettings)
Gets a YieldPartner object.
Declaration
public override Task<YieldPartner> GetYieldPartnerAsync(GetYieldPartnerRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| GetYieldPartnerRequest | request | The request object containing all of the parameters for the API call. |
| CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
| Type | Description |
|---|---|
| Task<YieldPartner> | A Task containing the RPC response. |
Overrides
ListYieldPartners(ListYieldPartnersRequest, CallSettings)
Gets a list of all yield partners.
Declaration
public override PagedEnumerable<ListYieldPartnersResponse, YieldPartner> ListYieldPartners(ListYieldPartnersRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| ListYieldPartnersRequest | request | The request object containing all of the parameters for the API call. |
| CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
| Type | Description |
|---|---|
| PagedEnumerable<ListYieldPartnersResponse, YieldPartner> | A pageable sequence of YieldPartner resources. |
Overrides
ListYieldPartnersAsync(ListYieldPartnersRequest, CallSettings)
Gets a list of all yield partners.
Declaration
public override PagedAsyncEnumerable<ListYieldPartnersResponse, YieldPartner> ListYieldPartnersAsync(ListYieldPartnersRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| ListYieldPartnersRequest | request | The request object containing all of the parameters for the API call. |
| CallSettings | callSettings | If not null, applies overrides to this RPC call. |
Returns
| Type | Description |
|---|---|
| PagedAsyncEnumerable<ListYieldPartnersResponse, YieldPartner> | A pageable asynchronous sequence of YieldPartner resources. |