Show / Hide Table of Contents

Class CmsMetadataKeyService.CmsMetadataKeyServiceClient

Client for CmsMetadataKeyService

Inheritance
object
ClientBase
ClientBase<CmsMetadataKeyService.CmsMetadataKeyServiceClient>
CmsMetadataKeyService.CmsMetadataKeyServiceClient
Inherited Members
ClientBase<CmsMetadataKeyService.CmsMetadataKeyServiceClient>.WithHost(string)
ClientBase.CallInvoker
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ToString()
Namespace: Google.Ads.AdManager.V1
Assembly: Google.Ads.AdManager.V1.dll
Syntax
public class CmsMetadataKeyService.CmsMetadataKeyServiceClient : ClientBase<CmsMetadataKeyService.CmsMetadataKeyServiceClient>

Constructors

CmsMetadataKeyServiceClient()

Protected parameterless constructor to allow creation of test doubles.

Declaration
protected CmsMetadataKeyServiceClient()

CmsMetadataKeyServiceClient(CallInvoker)

Creates a new client for CmsMetadataKeyService that uses a custom CallInvoker.

Declaration
public CmsMetadataKeyServiceClient(CallInvoker callInvoker)
Parameters
Type Name Description
CallInvoker callInvoker

The callInvoker to use to make remote calls.

CmsMetadataKeyServiceClient(ChannelBase)

Creates a new client for CmsMetadataKeyService

Declaration
public CmsMetadataKeyServiceClient(ChannelBase channel)
Parameters
Type Name Description
ChannelBase channel

The channel to use to make remote calls.

CmsMetadataKeyServiceClient(ClientBaseConfiguration)

Protected constructor to allow creation of configured clients.

Declaration
protected CmsMetadataKeyServiceClient(ClientBase.ClientBaseConfiguration configuration)
Parameters
Type Name Description
ClientBase.ClientBaseConfiguration configuration

The client configuration.

Methods

GetCmsMetadataKey(GetCmsMetadataKeyRequest, CallOptions)

API to retrieve a CmsMetadataKey object.

Declaration
public virtual CmsMetadataKey GetCmsMetadataKey(GetCmsMetadataKeyRequest request, CallOptions options)
Parameters
Type Name Description
GetCmsMetadataKeyRequest request

The request to send to the server.

CallOptions options

The options for the call.

Returns
Type Description
CmsMetadataKey

The response received from the server.

GetCmsMetadataKey(GetCmsMetadataKeyRequest, Metadata, DateTime?, CancellationToken)

API to retrieve a CmsMetadataKey object.

Declaration
public virtual CmsMetadataKey GetCmsMetadataKey(GetCmsMetadataKeyRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type Name Description
GetCmsMetadataKeyRequest request

The request to send to the server.

Metadata headers

The initial metadata to send with the call. This parameter is optional.

DateTime? deadline

An optional deadline for the call. The call will be cancelled if deadline is hit.

CancellationToken cancellationToken

An optional token for canceling the call.

Returns
Type Description
CmsMetadataKey

The response received from the server.

GetCmsMetadataKeyAsync(GetCmsMetadataKeyRequest, CallOptions)

API to retrieve a CmsMetadataKey object.

Declaration
public virtual AsyncUnaryCall<CmsMetadataKey> GetCmsMetadataKeyAsync(GetCmsMetadataKeyRequest request, CallOptions options)
Parameters
Type Name Description
GetCmsMetadataKeyRequest request

The request to send to the server.

CallOptions options

The options for the call.

Returns
Type Description
AsyncUnaryCall<CmsMetadataKey>

The call object.

GetCmsMetadataKeyAsync(GetCmsMetadataKeyRequest, Metadata, DateTime?, CancellationToken)

API to retrieve a CmsMetadataKey object.

Declaration
public virtual AsyncUnaryCall<CmsMetadataKey> GetCmsMetadataKeyAsync(GetCmsMetadataKeyRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type Name Description
GetCmsMetadataKeyRequest request

The request to send to the server.

Metadata headers

The initial metadata to send with the call. This parameter is optional.

DateTime? deadline

An optional deadline for the call. The call will be cancelled if deadline is hit.

CancellationToken cancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCall<CmsMetadataKey>

The call object.

ListCmsMetadataKeys(ListCmsMetadataKeysRequest, CallOptions)

API to retrieve a list of CmsMetadataKey objects.

Declaration
public virtual ListCmsMetadataKeysResponse ListCmsMetadataKeys(ListCmsMetadataKeysRequest request, CallOptions options)
Parameters
Type Name Description
ListCmsMetadataKeysRequest request

The request to send to the server.

CallOptions options

The options for the call.

Returns
Type Description
ListCmsMetadataKeysResponse

The response received from the server.

ListCmsMetadataKeys(ListCmsMetadataKeysRequest, Metadata, DateTime?, CancellationToken)

API to retrieve a list of CmsMetadataKey objects.

Declaration
public virtual ListCmsMetadataKeysResponse ListCmsMetadataKeys(ListCmsMetadataKeysRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type Name Description
ListCmsMetadataKeysRequest request

The request to send to the server.

Metadata headers

The initial metadata to send with the call. This parameter is optional.

DateTime? deadline

An optional deadline for the call. The call will be cancelled if deadline is hit.

CancellationToken cancellationToken

An optional token for canceling the call.

Returns
Type Description
ListCmsMetadataKeysResponse

The response received from the server.

ListCmsMetadataKeysAsync(ListCmsMetadataKeysRequest, CallOptions)

API to retrieve a list of CmsMetadataKey objects.

Declaration
public virtual AsyncUnaryCall<ListCmsMetadataKeysResponse> ListCmsMetadataKeysAsync(ListCmsMetadataKeysRequest request, CallOptions options)
Parameters
Type Name Description
ListCmsMetadataKeysRequest request

The request to send to the server.

CallOptions options

The options for the call.

Returns
Type Description
AsyncUnaryCall<ListCmsMetadataKeysResponse>

The call object.

ListCmsMetadataKeysAsync(ListCmsMetadataKeysRequest, Metadata, DateTime?, CancellationToken)

API to retrieve a list of CmsMetadataKey objects.

Declaration
public virtual AsyncUnaryCall<ListCmsMetadataKeysResponse> ListCmsMetadataKeysAsync(ListCmsMetadataKeysRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type Name Description
ListCmsMetadataKeysRequest request

The request to send to the server.

Metadata headers

The initial metadata to send with the call. This parameter is optional.

DateTime? deadline

An optional deadline for the call. The call will be cancelled if deadline is hit.

CancellationToken cancellationToken

An optional token for canceling the call.

Returns
Type Description
AsyncUnaryCall<ListCmsMetadataKeysResponse>

The call object.

NewInstance(ClientBaseConfiguration)

Creates a new instance of client from given ClientBaseConfiguration.

Declaration
protected override CmsMetadataKeyService.CmsMetadataKeyServiceClient NewInstance(ClientBase.ClientBaseConfiguration configuration)
Parameters
Type Name Description
ClientBase.ClientBaseConfiguration configuration
Returns
Type Description
CmsMetadataKeyService.CmsMetadataKeyServiceClient
Overrides
Grpc.Core.ClientBase<Google.Ads.AdManager.V1.CmsMetadataKeyService.CmsMetadataKeyServiceClient>.NewInstance(Grpc.Core.ClientBase.ClientBaseConfiguration)
In this article
Back to top Generated by DocFX