Class CustomFieldServiceClientImpl
CustomFieldService client wrapper implementation, for convenient use.
Inherited Members
Namespace: Google.Ads.AdManager.V1
Assembly: Google.Ads.AdManager.V1.dll
Syntax
public sealed class CustomFieldServiceClientImpl : CustomFieldServiceClient
Remarks
Provides methods for handling CustomField objects.
Constructors
CustomFieldServiceClientImpl(CustomFieldServiceClient, CustomFieldServiceSettings, ILogger)
Constructs a client wrapper for the CustomFieldService service, with the specified gRPC client and settings.
Declaration
public CustomFieldServiceClientImpl(CustomFieldService.CustomFieldServiceClient grpcClient, CustomFieldServiceSettings settings, ILogger logger)
Parameters
| Type | Name | Description |
|---|---|---|
| CustomFieldService.CustomFieldServiceClient | grpcClient | The underlying gRPC client. |
| CustomFieldServiceSettings | settings | The base CustomFieldServiceSettings used within this client. |
| ILogger | logger | Optional ILogger to use within this client. |
Properties
GrpcClient
The underlying gRPC CustomFieldService client
Declaration
public override CustomFieldService.CustomFieldServiceClient GrpcClient { get; }
Property Value
| Type | Description |
|---|---|
| CustomFieldService.CustomFieldServiceClient |
Overrides
Methods
BatchActivateCustomFields(BatchActivateCustomFieldsRequest, CallSettings)
Activates a list of CustomField objects.
Declaration
public override BatchActivateCustomFieldsResponse BatchActivateCustomFields(BatchActivateCustomFieldsRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchActivateCustomFieldsRequest | 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 |
|---|---|
| BatchActivateCustomFieldsResponse | The RPC response. |
Overrides
BatchActivateCustomFieldsAsync(BatchActivateCustomFieldsRequest, CallSettings)
Activates a list of CustomField objects.
Declaration
public override Task<BatchActivateCustomFieldsResponse> BatchActivateCustomFieldsAsync(BatchActivateCustomFieldsRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchActivateCustomFieldsRequest | 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<BatchActivateCustomFieldsResponse> | A Task containing the RPC response. |
Overrides
BatchCreateCustomFields(BatchCreateCustomFieldsRequest, CallSettings)
API to batch create CustomField objects.
Declaration
public override BatchCreateCustomFieldsResponse BatchCreateCustomFields(BatchCreateCustomFieldsRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchCreateCustomFieldsRequest | 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 |
|---|---|
| BatchCreateCustomFieldsResponse | The RPC response. |
Overrides
BatchCreateCustomFieldsAsync(BatchCreateCustomFieldsRequest, CallSettings)
API to batch create CustomField objects.
Declaration
public override Task<BatchCreateCustomFieldsResponse> BatchCreateCustomFieldsAsync(BatchCreateCustomFieldsRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchCreateCustomFieldsRequest | 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<BatchCreateCustomFieldsResponse> | A Task containing the RPC response. |
Overrides
BatchDeactivateCustomFields(BatchDeactivateCustomFieldsRequest, CallSettings)
Deactivates a list of CustomField objects.
Declaration
public override BatchDeactivateCustomFieldsResponse BatchDeactivateCustomFields(BatchDeactivateCustomFieldsRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchDeactivateCustomFieldsRequest | 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 |
|---|---|
| BatchDeactivateCustomFieldsResponse | The RPC response. |
Overrides
BatchDeactivateCustomFieldsAsync(BatchDeactivateCustomFieldsRequest, CallSettings)
Deactivates a list of CustomField objects.
Declaration
public override Task<BatchDeactivateCustomFieldsResponse> BatchDeactivateCustomFieldsAsync(BatchDeactivateCustomFieldsRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchDeactivateCustomFieldsRequest | 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<BatchDeactivateCustomFieldsResponse> | A Task containing the RPC response. |
Overrides
BatchUpdateCustomFields(BatchUpdateCustomFieldsRequest, CallSettings)
API to batch update CustomField objects.
Declaration
public override BatchUpdateCustomFieldsResponse BatchUpdateCustomFields(BatchUpdateCustomFieldsRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchUpdateCustomFieldsRequest | 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 |
|---|---|
| BatchUpdateCustomFieldsResponse | The RPC response. |
Overrides
BatchUpdateCustomFieldsAsync(BatchUpdateCustomFieldsRequest, CallSettings)
API to batch update CustomField objects.
Declaration
public override Task<BatchUpdateCustomFieldsResponse> BatchUpdateCustomFieldsAsync(BatchUpdateCustomFieldsRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchUpdateCustomFieldsRequest | 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<BatchUpdateCustomFieldsResponse> | A Task containing the RPC response. |
Overrides
CreateCustomField(CreateCustomFieldRequest, CallSettings)
API to create a CustomField object.
Declaration
public override CustomField CreateCustomField(CreateCustomFieldRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| CreateCustomFieldRequest | 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 |
|---|---|
| CustomField | The RPC response. |
Overrides
CreateCustomFieldAsync(CreateCustomFieldRequest, CallSettings)
API to create a CustomField object.
Declaration
public override Task<CustomField> CreateCustomFieldAsync(CreateCustomFieldRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| CreateCustomFieldRequest | 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<CustomField> | A Task containing the RPC response. |
Overrides
GetCustomField(GetCustomFieldRequest, CallSettings)
API to retrieve a CustomField object.
Declaration
public override CustomField GetCustomField(GetCustomFieldRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| GetCustomFieldRequest | 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 |
|---|---|
| CustomField | The RPC response. |
Overrides
GetCustomFieldAsync(GetCustomFieldRequest, CallSettings)
API to retrieve a CustomField object.
Declaration
public override Task<CustomField> GetCustomFieldAsync(GetCustomFieldRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| GetCustomFieldRequest | 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<CustomField> | A Task containing the RPC response. |
Overrides
ListCustomFields(ListCustomFieldsRequest, CallSettings)
API to retrieve a list of CustomField objects.
Declaration
public override PagedEnumerable<ListCustomFieldsResponse, CustomField> ListCustomFields(ListCustomFieldsRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| ListCustomFieldsRequest | 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<ListCustomFieldsResponse, CustomField> | A pageable sequence of CustomField resources. |
Overrides
ListCustomFieldsAsync(ListCustomFieldsRequest, CallSettings)
API to retrieve a list of CustomField objects.
Declaration
public override PagedAsyncEnumerable<ListCustomFieldsResponse, CustomField> ListCustomFieldsAsync(ListCustomFieldsRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| ListCustomFieldsRequest | 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<ListCustomFieldsResponse, CustomField> | A pageable asynchronous sequence of CustomField resources. |
Overrides
UpdateCustomField(UpdateCustomFieldRequest, CallSettings)
API to update a CustomField object.
Declaration
public override CustomField UpdateCustomField(UpdateCustomFieldRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| UpdateCustomFieldRequest | 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 |
|---|---|
| CustomField | The RPC response. |
Overrides
UpdateCustomFieldAsync(UpdateCustomFieldRequest, CallSettings)
API to update a CustomField object.
Declaration
public override Task<CustomField> UpdateCustomFieldAsync(UpdateCustomFieldRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| UpdateCustomFieldRequest | 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<CustomField> | A Task containing the RPC response. |