Show / Hide Table of Contents

Class CustomFieldServiceClientImpl

CustomFieldService client wrapper implementation, for convenient use.

Inheritance
object
CustomFieldServiceClient
CustomFieldServiceClientImpl
Inherited Members
CustomFieldServiceClient.DefaultEndpoint
CustomFieldServiceClient.DefaultScopes
CustomFieldServiceClient.ServiceMetadata
CustomFieldServiceClient.CreateAsync(CancellationToken)
CustomFieldServiceClient.Create()
CustomFieldServiceClient.ShutdownDefaultChannelsAsync()
CustomFieldServiceClient.GetCustomFieldAsync(GetCustomFieldRequest, CancellationToken)
CustomFieldServiceClient.GetCustomField(string, CallSettings)
CustomFieldServiceClient.GetCustomFieldAsync(string, CallSettings)
CustomFieldServiceClient.GetCustomFieldAsync(string, CancellationToken)
CustomFieldServiceClient.GetCustomField(CustomFieldName, CallSettings)
CustomFieldServiceClient.GetCustomFieldAsync(CustomFieldName, CallSettings)
CustomFieldServiceClient.GetCustomFieldAsync(CustomFieldName, CancellationToken)
CustomFieldServiceClient.ListCustomFields(string, string, int?, CallSettings)
CustomFieldServiceClient.ListCustomFieldsAsync(string, string, int?, CallSettings)
CustomFieldServiceClient.ListCustomFields(NetworkName, string, int?, CallSettings)
CustomFieldServiceClient.ListCustomFieldsAsync(NetworkName, string, int?, CallSettings)
object.GetHashCode()
object.GetType()
object.ToString()
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
CustomFieldServiceClient.GrpcClient

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
CustomFieldServiceClient.GetCustomField(GetCustomFieldRequest, CallSettings)

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
CustomFieldServiceClient.GetCustomFieldAsync(GetCustomFieldRequest, CallSettings)

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
CustomFieldServiceClient.ListCustomFields(ListCustomFieldsRequest, CallSettings)

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
CustomFieldServiceClient.ListCustomFieldsAsync(ListCustomFieldsRequest, CallSettings)
In this article
Back to top Generated by DocFX