Class McmEarningsServiceClientImpl
McmEarningsService client wrapper implementation, for convenient use.
Inherited Members
Namespace: Google.Ads.AdManager.V1
Assembly: Google.Ads.AdManager.V1.dll
Syntax
public sealed class McmEarningsServiceClientImpl : McmEarningsServiceClient
Remarks
Provides methods for handling McmEarnings objects.
Constructors
McmEarningsServiceClientImpl(McmEarningsServiceClient, McmEarningsServiceSettings, ILogger)
Constructs a client wrapper for the McmEarningsService service, with the specified gRPC client and settings.
Declaration
public McmEarningsServiceClientImpl(McmEarningsService.McmEarningsServiceClient grpcClient, McmEarningsServiceSettings settings, ILogger logger)
Parameters
| Type | Name | Description |
|---|---|---|
| McmEarningsService.McmEarningsServiceClient | grpcClient | The underlying gRPC client. |
| McmEarningsServiceSettings | settings | The base McmEarningsServiceSettings used within this client. |
| ILogger | logger | Optional ILogger to use within this client. |
Properties
GrpcClient
The underlying gRPC McmEarningsService client
Declaration
public override McmEarningsService.McmEarningsServiceClient GrpcClient { get; }
Property Value
| Type | Description |
|---|---|
| McmEarningsService.McmEarningsServiceClient |
Overrides
Methods
FetchMcmEarnings(FetchMcmEarningsRequest, CallSettings)
API to retrieve a list of McmEarnings objects.
Declaration
public override PagedEnumerable<FetchMcmEarningsResponse, McmEarnings> FetchMcmEarnings(FetchMcmEarningsRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| FetchMcmEarningsRequest | 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<FetchMcmEarningsResponse, McmEarnings> | A pageable sequence of McmEarnings resources. |
Overrides
FetchMcmEarningsAsync(FetchMcmEarningsRequest, CallSettings)
API to retrieve a list of McmEarnings objects.
Declaration
public override PagedAsyncEnumerable<FetchMcmEarningsResponse, McmEarnings> FetchMcmEarningsAsync(FetchMcmEarningsRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| FetchMcmEarningsRequest | 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<FetchMcmEarningsResponse, McmEarnings> | A pageable asynchronous sequence of McmEarnings resources. |