Show / Hide Table of Contents

Class CdnConfigService.CdnConfigServiceClient

Client for CdnConfigService

Inheritance
object
ClientBase
ClientBase<CdnConfigService.CdnConfigServiceClient>
CdnConfigService.CdnConfigServiceClient
Inherited Members
ClientBase<CdnConfigService.CdnConfigServiceClient>.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 CdnConfigService.CdnConfigServiceClient : ClientBase<CdnConfigService.CdnConfigServiceClient>

Constructors

CdnConfigServiceClient()

Protected parameterless constructor to allow creation of test doubles.

Declaration
protected CdnConfigServiceClient()

CdnConfigServiceClient(CallInvoker)

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

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

The callInvoker to use to make remote calls.

CdnConfigServiceClient(ChannelBase)

Creates a new client for CdnConfigService

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

The channel to use to make remote calls.

CdnConfigServiceClient(ClientBaseConfiguration)

Protected constructor to allow creation of configured clients.

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

The client configuration.

Methods

BatchActivateCdnConfigs(BatchActivateCdnConfigsRequest, CallOptions)

Batch activates CdnConfig objects.

Declaration
public virtual BatchActivateCdnConfigsResponse BatchActivateCdnConfigs(BatchActivateCdnConfigsRequest request, CallOptions options)
Parameters
Type Name Description
BatchActivateCdnConfigsRequest request

The request to send to the server.

CallOptions options

The options for the call.

Returns
Type Description
BatchActivateCdnConfigsResponse

The response received from the server.

BatchActivateCdnConfigs(BatchActivateCdnConfigsRequest, Metadata, DateTime?, CancellationToken)

Batch activates CdnConfig objects.

Declaration
public virtual BatchActivateCdnConfigsResponse BatchActivateCdnConfigs(BatchActivateCdnConfigsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type Name Description
BatchActivateCdnConfigsRequest 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
BatchActivateCdnConfigsResponse

The response received from the server.

BatchActivateCdnConfigsAsync(BatchActivateCdnConfigsRequest, CallOptions)

Batch activates CdnConfig objects.

Declaration
public virtual AsyncUnaryCall<BatchActivateCdnConfigsResponse> BatchActivateCdnConfigsAsync(BatchActivateCdnConfigsRequest request, CallOptions options)
Parameters
Type Name Description
BatchActivateCdnConfigsRequest request

The request to send to the server.

CallOptions options

The options for the call.

Returns
Type Description
AsyncUnaryCall<BatchActivateCdnConfigsResponse>

The call object.

BatchActivateCdnConfigsAsync(BatchActivateCdnConfigsRequest, Metadata, DateTime?, CancellationToken)

Batch activates CdnConfig objects.

Declaration
public virtual AsyncUnaryCall<BatchActivateCdnConfigsResponse> BatchActivateCdnConfigsAsync(BatchActivateCdnConfigsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type Name Description
BatchActivateCdnConfigsRequest 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<BatchActivateCdnConfigsResponse>

The call object.

BatchArchiveCdnConfigs(BatchArchiveCdnConfigsRequest, CallOptions)

Batch archives CdnConfig objects.

Declaration
public virtual BatchArchiveCdnConfigsResponse BatchArchiveCdnConfigs(BatchArchiveCdnConfigsRequest request, CallOptions options)
Parameters
Type Name Description
BatchArchiveCdnConfigsRequest request

The request to send to the server.

CallOptions options

The options for the call.

Returns
Type Description
BatchArchiveCdnConfigsResponse

The response received from the server.

BatchArchiveCdnConfigs(BatchArchiveCdnConfigsRequest, Metadata, DateTime?, CancellationToken)

Batch archives CdnConfig objects.

Declaration
public virtual BatchArchiveCdnConfigsResponse BatchArchiveCdnConfigs(BatchArchiveCdnConfigsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type Name Description
BatchArchiveCdnConfigsRequest 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
BatchArchiveCdnConfigsResponse

The response received from the server.

BatchArchiveCdnConfigsAsync(BatchArchiveCdnConfigsRequest, CallOptions)

Batch archives CdnConfig objects.

Declaration
public virtual AsyncUnaryCall<BatchArchiveCdnConfigsResponse> BatchArchiveCdnConfigsAsync(BatchArchiveCdnConfigsRequest request, CallOptions options)
Parameters
Type Name Description
BatchArchiveCdnConfigsRequest request

The request to send to the server.

CallOptions options

The options for the call.

Returns
Type Description
AsyncUnaryCall<BatchArchiveCdnConfigsResponse>

The call object.

BatchArchiveCdnConfigsAsync(BatchArchiveCdnConfigsRequest, Metadata, DateTime?, CancellationToken)

Batch archives CdnConfig objects.

Declaration
public virtual AsyncUnaryCall<BatchArchiveCdnConfigsResponse> BatchArchiveCdnConfigsAsync(BatchArchiveCdnConfigsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type Name Description
BatchArchiveCdnConfigsRequest 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<BatchArchiveCdnConfigsResponse>

The call object.

BatchCreateCdnConfigs(BatchCreateCdnConfigsRequest, CallOptions)

Batch creates CdnConfig objects.

Declaration
public virtual BatchCreateCdnConfigsResponse BatchCreateCdnConfigs(BatchCreateCdnConfigsRequest request, CallOptions options)
Parameters
Type Name Description
BatchCreateCdnConfigsRequest request

The request to send to the server.

CallOptions options

The options for the call.

Returns
Type Description
BatchCreateCdnConfigsResponse

The response received from the server.

BatchCreateCdnConfigs(BatchCreateCdnConfigsRequest, Metadata, DateTime?, CancellationToken)

Batch creates CdnConfig objects.

Declaration
public virtual BatchCreateCdnConfigsResponse BatchCreateCdnConfigs(BatchCreateCdnConfigsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type Name Description
BatchCreateCdnConfigsRequest 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
BatchCreateCdnConfigsResponse

The response received from the server.

BatchCreateCdnConfigsAsync(BatchCreateCdnConfigsRequest, CallOptions)

Batch creates CdnConfig objects.

Declaration
public virtual AsyncUnaryCall<BatchCreateCdnConfigsResponse> BatchCreateCdnConfigsAsync(BatchCreateCdnConfigsRequest request, CallOptions options)
Parameters
Type Name Description
BatchCreateCdnConfigsRequest request

The request to send to the server.

CallOptions options

The options for the call.

Returns
Type Description
AsyncUnaryCall<BatchCreateCdnConfigsResponse>

The call object.

BatchCreateCdnConfigsAsync(BatchCreateCdnConfigsRequest, Metadata, DateTime?, CancellationToken)

Batch creates CdnConfig objects.

Declaration
public virtual AsyncUnaryCall<BatchCreateCdnConfigsResponse> BatchCreateCdnConfigsAsync(BatchCreateCdnConfigsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type Name Description
BatchCreateCdnConfigsRequest 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<BatchCreateCdnConfigsResponse>

The call object.

BatchUpdateCdnConfigs(BatchUpdateCdnConfigsRequest, CallOptions)

Batch updates CdnConfig objects.

Declaration
public virtual BatchUpdateCdnConfigsResponse BatchUpdateCdnConfigs(BatchUpdateCdnConfigsRequest request, CallOptions options)
Parameters
Type Name Description
BatchUpdateCdnConfigsRequest request

The request to send to the server.

CallOptions options

The options for the call.

Returns
Type Description
BatchUpdateCdnConfigsResponse

The response received from the server.

BatchUpdateCdnConfigs(BatchUpdateCdnConfigsRequest, Metadata, DateTime?, CancellationToken)

Batch updates CdnConfig objects.

Declaration
public virtual BatchUpdateCdnConfigsResponse BatchUpdateCdnConfigs(BatchUpdateCdnConfigsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type Name Description
BatchUpdateCdnConfigsRequest 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
BatchUpdateCdnConfigsResponse

The response received from the server.

BatchUpdateCdnConfigsAsync(BatchUpdateCdnConfigsRequest, CallOptions)

Batch updates CdnConfig objects.

Declaration
public virtual AsyncUnaryCall<BatchUpdateCdnConfigsResponse> BatchUpdateCdnConfigsAsync(BatchUpdateCdnConfigsRequest request, CallOptions options)
Parameters
Type Name Description
BatchUpdateCdnConfigsRequest request

The request to send to the server.

CallOptions options

The options for the call.

Returns
Type Description
AsyncUnaryCall<BatchUpdateCdnConfigsResponse>

The call object.

BatchUpdateCdnConfigsAsync(BatchUpdateCdnConfigsRequest, Metadata, DateTime?, CancellationToken)

Batch updates CdnConfig objects.

Declaration
public virtual AsyncUnaryCall<BatchUpdateCdnConfigsResponse> BatchUpdateCdnConfigsAsync(BatchUpdateCdnConfigsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type Name Description
BatchUpdateCdnConfigsRequest 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<BatchUpdateCdnConfigsResponse>

The call object.

CreateCdnConfig(CreateCdnConfigRequest, CallOptions)

Creates a CdnConfig object.

Declaration
public virtual CdnConfig CreateCdnConfig(CreateCdnConfigRequest request, CallOptions options)
Parameters
Type Name Description
CreateCdnConfigRequest request

The request to send to the server.

CallOptions options

The options for the call.

Returns
Type Description
CdnConfig

The response received from the server.

CreateCdnConfig(CreateCdnConfigRequest, Metadata, DateTime?, CancellationToken)

Creates a CdnConfig object.

Declaration
public virtual CdnConfig CreateCdnConfig(CreateCdnConfigRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type Name Description
CreateCdnConfigRequest 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
CdnConfig

The response received from the server.

CreateCdnConfigAsync(CreateCdnConfigRequest, CallOptions)

Creates a CdnConfig object.

Declaration
public virtual AsyncUnaryCall<CdnConfig> CreateCdnConfigAsync(CreateCdnConfigRequest request, CallOptions options)
Parameters
Type Name Description
CreateCdnConfigRequest request

The request to send to the server.

CallOptions options

The options for the call.

Returns
Type Description
AsyncUnaryCall<CdnConfig>

The call object.

CreateCdnConfigAsync(CreateCdnConfigRequest, Metadata, DateTime?, CancellationToken)

Creates a CdnConfig object.

Declaration
public virtual AsyncUnaryCall<CdnConfig> CreateCdnConfigAsync(CreateCdnConfigRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type Name Description
CreateCdnConfigRequest 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<CdnConfig>

The call object.

GetCdnConfig(GetCdnConfigRequest, CallOptions)

Retrieves a CdnConfig object.

Declaration
public virtual CdnConfig GetCdnConfig(GetCdnConfigRequest request, CallOptions options)
Parameters
Type Name Description
GetCdnConfigRequest request

The request to send to the server.

CallOptions options

The options for the call.

Returns
Type Description
CdnConfig

The response received from the server.

GetCdnConfig(GetCdnConfigRequest, Metadata, DateTime?, CancellationToken)

Retrieves a CdnConfig object.

Declaration
public virtual CdnConfig GetCdnConfig(GetCdnConfigRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type Name Description
GetCdnConfigRequest 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
CdnConfig

The response received from the server.

GetCdnConfigAsync(GetCdnConfigRequest, CallOptions)

Retrieves a CdnConfig object.

Declaration
public virtual AsyncUnaryCall<CdnConfig> GetCdnConfigAsync(GetCdnConfigRequest request, CallOptions options)
Parameters
Type Name Description
GetCdnConfigRequest request

The request to send to the server.

CallOptions options

The options for the call.

Returns
Type Description
AsyncUnaryCall<CdnConfig>

The call object.

GetCdnConfigAsync(GetCdnConfigRequest, Metadata, DateTime?, CancellationToken)

Retrieves a CdnConfig object.

Declaration
public virtual AsyncUnaryCall<CdnConfig> GetCdnConfigAsync(GetCdnConfigRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type Name Description
GetCdnConfigRequest 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<CdnConfig>

The call object.

ListCdnConfigs(ListCdnConfigsRequest, CallOptions)

Lists CdnConfig objects.

Declaration
public virtual ListCdnConfigsResponse ListCdnConfigs(ListCdnConfigsRequest request, CallOptions options)
Parameters
Type Name Description
ListCdnConfigsRequest request

The request to send to the server.

CallOptions options

The options for the call.

Returns
Type Description
ListCdnConfigsResponse

The response received from the server.

ListCdnConfigs(ListCdnConfigsRequest, Metadata, DateTime?, CancellationToken)

Lists CdnConfig objects.

Declaration
public virtual ListCdnConfigsResponse ListCdnConfigs(ListCdnConfigsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type Name Description
ListCdnConfigsRequest 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
ListCdnConfigsResponse

The response received from the server.

ListCdnConfigsAsync(ListCdnConfigsRequest, CallOptions)

Lists CdnConfig objects.

Declaration
public virtual AsyncUnaryCall<ListCdnConfigsResponse> ListCdnConfigsAsync(ListCdnConfigsRequest request, CallOptions options)
Parameters
Type Name Description
ListCdnConfigsRequest request

The request to send to the server.

CallOptions options

The options for the call.

Returns
Type Description
AsyncUnaryCall<ListCdnConfigsResponse>

The call object.

ListCdnConfigsAsync(ListCdnConfigsRequest, Metadata, DateTime?, CancellationToken)

Lists CdnConfig objects.

Declaration
public virtual AsyncUnaryCall<ListCdnConfigsResponse> ListCdnConfigsAsync(ListCdnConfigsRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type Name Description
ListCdnConfigsRequest 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<ListCdnConfigsResponse>

The call object.

NewInstance(ClientBaseConfiguration)

Creates a new instance of client from given ClientBaseConfiguration.

Declaration
protected override CdnConfigService.CdnConfigServiceClient NewInstance(ClientBase.ClientBaseConfiguration configuration)
Parameters
Type Name Description
ClientBase.ClientBaseConfiguration configuration
Returns
Type Description
CdnConfigService.CdnConfigServiceClient
Overrides
Grpc.Core.ClientBase<Google.Ads.AdManager.V1.CdnConfigService.CdnConfigServiceClient>.NewInstance(Grpc.Core.ClientBase.ClientBaseConfiguration)

UpdateCdnConfig(UpdateCdnConfigRequest, CallOptions)

Updates a CdnConfig object.

Declaration
public virtual CdnConfig UpdateCdnConfig(UpdateCdnConfigRequest request, CallOptions options)
Parameters
Type Name Description
UpdateCdnConfigRequest request

The request to send to the server.

CallOptions options

The options for the call.

Returns
Type Description
CdnConfig

The response received from the server.

UpdateCdnConfig(UpdateCdnConfigRequest, Metadata, DateTime?, CancellationToken)

Updates a CdnConfig object.

Declaration
public virtual CdnConfig UpdateCdnConfig(UpdateCdnConfigRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type Name Description
UpdateCdnConfigRequest 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
CdnConfig

The response received from the server.

UpdateCdnConfigAsync(UpdateCdnConfigRequest, CallOptions)

Updates a CdnConfig object.

Declaration
public virtual AsyncUnaryCall<CdnConfig> UpdateCdnConfigAsync(UpdateCdnConfigRequest request, CallOptions options)
Parameters
Type Name Description
UpdateCdnConfigRequest request

The request to send to the server.

CallOptions options

The options for the call.

Returns
Type Description
AsyncUnaryCall<CdnConfig>

The call object.

UpdateCdnConfigAsync(UpdateCdnConfigRequest, Metadata, DateTime?, CancellationToken)

Updates a CdnConfig object.

Declaration
public virtual AsyncUnaryCall<CdnConfig> UpdateCdnConfigAsync(UpdateCdnConfigRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type Name Description
UpdateCdnConfigRequest 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<CdnConfig>

The call object.

In this article
Back to top Generated by DocFX