Class YieldGroupServiceClientImpl
YieldGroupService client wrapper implementation, for convenient use.
Inherited Members
Namespace: Google.Ads.AdManager.V1
Assembly: Google.Ads.AdManager.V1.dll
Syntax
public sealed class YieldGroupServiceClientImpl : YieldGroupServiceClient
Remarks
Provides methods for handling YieldGroup objects.
Constructors
YieldGroupServiceClientImpl(YieldGroupServiceClient, YieldGroupServiceSettings, ILogger)
Constructs a client wrapper for the YieldGroupService service, with the specified gRPC client and settings.
Declaration
public YieldGroupServiceClientImpl(YieldGroupService.YieldGroupServiceClient grpcClient, YieldGroupServiceSettings settings, ILogger logger)
Parameters
| Type | Name | Description |
|---|---|---|
| YieldGroupService.YieldGroupServiceClient | grpcClient | The underlying gRPC client. |
| YieldGroupServiceSettings | settings | The base YieldGroupServiceSettings used within this client. |
| ILogger | logger | Optional ILogger to use within this client. |
Properties
GrpcClient
The underlying gRPC YieldGroupService client
Declaration
public override YieldGroupService.YieldGroupServiceClient GrpcClient { get; }
Property Value
| Type | Description |
|---|---|
| YieldGroupService.YieldGroupServiceClient |
Overrides
Methods
BatchActivateYieldGroups(BatchActivateYieldGroupsRequest, CallSettings)
Activates a list of YieldGroup objects.
Declaration
public override BatchActivateYieldGroupsResponse BatchActivateYieldGroups(BatchActivateYieldGroupsRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchActivateYieldGroupsRequest | 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 |
|---|---|
| BatchActivateYieldGroupsResponse | The RPC response. |
Overrides
BatchActivateYieldGroupsAsync(BatchActivateYieldGroupsRequest, CallSettings)
Activates a list of YieldGroup objects.
Declaration
public override Task<BatchActivateYieldGroupsResponse> BatchActivateYieldGroupsAsync(BatchActivateYieldGroupsRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchActivateYieldGroupsRequest | 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<BatchActivateYieldGroupsResponse> | A Task containing the RPC response. |
Overrides
BatchArchiveYieldGroups(BatchArchiveYieldGroupsRequest, CallSettings)
Archives a list of YieldGroup objects.
Declaration
public override BatchArchiveYieldGroupsResponse BatchArchiveYieldGroups(BatchArchiveYieldGroupsRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchArchiveYieldGroupsRequest | 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 |
|---|---|
| BatchArchiveYieldGroupsResponse | The RPC response. |
Overrides
BatchArchiveYieldGroupsAsync(BatchArchiveYieldGroupsRequest, CallSettings)
Archives a list of YieldGroup objects.
Declaration
public override Task<BatchArchiveYieldGroupsResponse> BatchArchiveYieldGroupsAsync(BatchArchiveYieldGroupsRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchArchiveYieldGroupsRequest | 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<BatchArchiveYieldGroupsResponse> | A Task containing the RPC response. |
Overrides
BatchCreateYieldGroups(BatchCreateYieldGroupsRequest, CallSettings)
Batch creates YieldGroup objects.
Declaration
public override BatchCreateYieldGroupsResponse BatchCreateYieldGroups(BatchCreateYieldGroupsRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchCreateYieldGroupsRequest | 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 |
|---|---|
| BatchCreateYieldGroupsResponse | The RPC response. |
Overrides
BatchCreateYieldGroupsAsync(BatchCreateYieldGroupsRequest, CallSettings)
Batch creates YieldGroup objects.
Declaration
public override Task<BatchCreateYieldGroupsResponse> BatchCreateYieldGroupsAsync(BatchCreateYieldGroupsRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchCreateYieldGroupsRequest | 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<BatchCreateYieldGroupsResponse> | A Task containing the RPC response. |
Overrides
BatchDeactivateYieldGroups(BatchDeactivateYieldGroupsRequest, CallSettings)
Deactivates a list of YieldGroup objects.
Declaration
public override BatchDeactivateYieldGroupsResponse BatchDeactivateYieldGroups(BatchDeactivateYieldGroupsRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchDeactivateYieldGroupsRequest | 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 |
|---|---|
| BatchDeactivateYieldGroupsResponse | The RPC response. |
Overrides
BatchDeactivateYieldGroupsAsync(BatchDeactivateYieldGroupsRequest, CallSettings)
Deactivates a list of YieldGroup objects.
Declaration
public override Task<BatchDeactivateYieldGroupsResponse> BatchDeactivateYieldGroupsAsync(BatchDeactivateYieldGroupsRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchDeactivateYieldGroupsRequest | 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<BatchDeactivateYieldGroupsResponse> | A Task containing the RPC response. |
Overrides
BatchUpdateYieldGroups(BatchUpdateYieldGroupsRequest, CallSettings)
Batch updates YieldGroup objects.
Declaration
public override BatchUpdateYieldGroupsResponse BatchUpdateYieldGroups(BatchUpdateYieldGroupsRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchUpdateYieldGroupsRequest | 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 |
|---|---|
| BatchUpdateYieldGroupsResponse | The RPC response. |
Overrides
BatchUpdateYieldGroupsAsync(BatchUpdateYieldGroupsRequest, CallSettings)
Batch updates YieldGroup objects.
Declaration
public override Task<BatchUpdateYieldGroupsResponse> BatchUpdateYieldGroupsAsync(BatchUpdateYieldGroupsRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchUpdateYieldGroupsRequest | 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<BatchUpdateYieldGroupsResponse> | A Task containing the RPC response. |
Overrides
CreateYieldGroup(CreateYieldGroupRequest, CallSettings)
Creates a YieldGroup object.
Declaration
public override YieldGroup CreateYieldGroup(CreateYieldGroupRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| CreateYieldGroupRequest | 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 |
|---|---|
| YieldGroup | The RPC response. |
Overrides
CreateYieldGroupAsync(CreateYieldGroupRequest, CallSettings)
Creates a YieldGroup object.
Declaration
public override Task<YieldGroup> CreateYieldGroupAsync(CreateYieldGroupRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| CreateYieldGroupRequest | 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<YieldGroup> | A Task containing the RPC response. |
Overrides
GetYieldGroup(GetYieldGroupRequest, CallSettings)
Retrieves a YieldGroup object.
Declaration
public override YieldGroup GetYieldGroup(GetYieldGroupRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| GetYieldGroupRequest | 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 |
|---|---|
| YieldGroup | The RPC response. |
Overrides
GetYieldGroupAsync(GetYieldGroupRequest, CallSettings)
Retrieves a YieldGroup object.
Declaration
public override Task<YieldGroup> GetYieldGroupAsync(GetYieldGroupRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| GetYieldGroupRequest | 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<YieldGroup> | A Task containing the RPC response. |
Overrides
ListYieldGroups(ListYieldGroupsRequest, CallSettings)
Lists YieldGroup objects.
Declaration
public override PagedEnumerable<ListYieldGroupsResponse, YieldGroup> ListYieldGroups(ListYieldGroupsRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| ListYieldGroupsRequest | 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<ListYieldGroupsResponse, YieldGroup> | A pageable sequence of YieldGroup resources. |
Overrides
ListYieldGroupsAsync(ListYieldGroupsRequest, CallSettings)
Lists YieldGroup objects.
Declaration
public override PagedAsyncEnumerable<ListYieldGroupsResponse, YieldGroup> ListYieldGroupsAsync(ListYieldGroupsRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| ListYieldGroupsRequest | 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<ListYieldGroupsResponse, YieldGroup> | A pageable asynchronous sequence of YieldGroup resources. |
Overrides
UpdateYieldGroup(UpdateYieldGroupRequest, CallSettings)
Updates a YieldGroup object.
Declaration
public override YieldGroup UpdateYieldGroup(UpdateYieldGroupRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| UpdateYieldGroupRequest | 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 |
|---|---|
| YieldGroup | The RPC response. |
Overrides
UpdateYieldGroupAsync(UpdateYieldGroupRequest, CallSettings)
Updates a YieldGroup object.
Declaration
public override Task<YieldGroup> UpdateYieldGroupAsync(UpdateYieldGroupRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| UpdateYieldGroupRequest | 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<YieldGroup> | A Task containing the RPC response. |