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
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. |