Class CdnConfigServiceClientImpl
CdnConfigService client wrapper implementation, for convenient use.
Inherited Members
Namespace: Google.Ads.AdManager.V1
Assembly: Google.Ads.AdManager.V1.dll
Syntax
public sealed class CdnConfigServiceClientImpl : CdnConfigServiceClient
Remarks
Provides methods for handling CdnConfig objects.
Constructors
CdnConfigServiceClientImpl(CdnConfigServiceClient, CdnConfigServiceSettings, ILogger)
Constructs a client wrapper for the CdnConfigService service, with the specified gRPC client and settings.
Declaration
public CdnConfigServiceClientImpl(CdnConfigService.CdnConfigServiceClient grpcClient, CdnConfigServiceSettings settings, ILogger logger)
Parameters
| Type | Name | Description |
|---|---|---|
| CdnConfigService.CdnConfigServiceClient | grpcClient | The underlying gRPC client. |
| CdnConfigServiceSettings | settings | The base CdnConfigServiceSettings used within this client. |
| ILogger | logger | Optional ILogger to use within this client. |
Properties
GrpcClient
The underlying gRPC CdnConfigService client
Declaration
public override CdnConfigService.CdnConfigServiceClient GrpcClient { get; }
Property Value
| Type | Description |
|---|---|
| CdnConfigService.CdnConfigServiceClient |
Overrides
Methods
BatchActivateCdnConfigs(BatchActivateCdnConfigsRequest, CallSettings)
Batch activates CdnConfig objects.
Declaration
public override BatchActivateCdnConfigsResponse BatchActivateCdnConfigs(BatchActivateCdnConfigsRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchActivateCdnConfigsRequest | 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 |
|---|---|
| BatchActivateCdnConfigsResponse | The RPC response. |
Overrides
BatchActivateCdnConfigsAsync(BatchActivateCdnConfigsRequest, CallSettings)
Batch activates CdnConfig objects.
Declaration
public override Task<BatchActivateCdnConfigsResponse> BatchActivateCdnConfigsAsync(BatchActivateCdnConfigsRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchActivateCdnConfigsRequest | 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<BatchActivateCdnConfigsResponse> | A Task containing the RPC response. |
Overrides
BatchArchiveCdnConfigs(BatchArchiveCdnConfigsRequest, CallSettings)
Batch archives CdnConfig objects.
Declaration
public override BatchArchiveCdnConfigsResponse BatchArchiveCdnConfigs(BatchArchiveCdnConfigsRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchArchiveCdnConfigsRequest | 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 |
|---|---|
| BatchArchiveCdnConfigsResponse | The RPC response. |
Overrides
BatchArchiveCdnConfigsAsync(BatchArchiveCdnConfigsRequest, CallSettings)
Batch archives CdnConfig objects.
Declaration
public override Task<BatchArchiveCdnConfigsResponse> BatchArchiveCdnConfigsAsync(BatchArchiveCdnConfigsRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchArchiveCdnConfigsRequest | 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<BatchArchiveCdnConfigsResponse> | A Task containing the RPC response. |
Overrides
BatchCreateCdnConfigs(BatchCreateCdnConfigsRequest, CallSettings)
Batch creates CdnConfig objects.
Declaration
public override BatchCreateCdnConfigsResponse BatchCreateCdnConfigs(BatchCreateCdnConfigsRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchCreateCdnConfigsRequest | 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 |
|---|---|
| BatchCreateCdnConfigsResponse | The RPC response. |
Overrides
BatchCreateCdnConfigsAsync(BatchCreateCdnConfigsRequest, CallSettings)
Batch creates CdnConfig objects.
Declaration
public override Task<BatchCreateCdnConfigsResponse> BatchCreateCdnConfigsAsync(BatchCreateCdnConfigsRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchCreateCdnConfigsRequest | 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<BatchCreateCdnConfigsResponse> | A Task containing the RPC response. |
Overrides
BatchUpdateCdnConfigs(BatchUpdateCdnConfigsRequest, CallSettings)
Batch updates CdnConfig objects.
Declaration
public override BatchUpdateCdnConfigsResponse BatchUpdateCdnConfigs(BatchUpdateCdnConfigsRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchUpdateCdnConfigsRequest | 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 |
|---|---|
| BatchUpdateCdnConfigsResponse | The RPC response. |
Overrides
BatchUpdateCdnConfigsAsync(BatchUpdateCdnConfigsRequest, CallSettings)
Batch updates CdnConfig objects.
Declaration
public override Task<BatchUpdateCdnConfigsResponse> BatchUpdateCdnConfigsAsync(BatchUpdateCdnConfigsRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchUpdateCdnConfigsRequest | 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<BatchUpdateCdnConfigsResponse> | A Task containing the RPC response. |
Overrides
CreateCdnConfig(CreateCdnConfigRequest, CallSettings)
Creates a CdnConfig object.
Declaration
public override CdnConfig CreateCdnConfig(CreateCdnConfigRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| CreateCdnConfigRequest | 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 |
|---|---|
| CdnConfig | The RPC response. |
Overrides
CreateCdnConfigAsync(CreateCdnConfigRequest, CallSettings)
Creates a CdnConfig object.
Declaration
public override Task<CdnConfig> CreateCdnConfigAsync(CreateCdnConfigRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| CreateCdnConfigRequest | 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<CdnConfig> | A Task containing the RPC response. |
Overrides
GetCdnConfig(GetCdnConfigRequest, CallSettings)
Retrieves a CdnConfig object.
Declaration
public override CdnConfig GetCdnConfig(GetCdnConfigRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| GetCdnConfigRequest | 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 |
|---|---|
| CdnConfig | The RPC response. |
Overrides
GetCdnConfigAsync(GetCdnConfigRequest, CallSettings)
Retrieves a CdnConfig object.
Declaration
public override Task<CdnConfig> GetCdnConfigAsync(GetCdnConfigRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| GetCdnConfigRequest | 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<CdnConfig> | A Task containing the RPC response. |
Overrides
ListCdnConfigs(ListCdnConfigsRequest, CallSettings)
Lists CdnConfig objects.
Declaration
public override PagedEnumerable<ListCdnConfigsResponse, CdnConfig> ListCdnConfigs(ListCdnConfigsRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| ListCdnConfigsRequest | 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<ListCdnConfigsResponse, CdnConfig> | A pageable sequence of CdnConfig resources. |
Overrides
ListCdnConfigsAsync(ListCdnConfigsRequest, CallSettings)
Lists CdnConfig objects.
Declaration
public override PagedAsyncEnumerable<ListCdnConfigsResponse, CdnConfig> ListCdnConfigsAsync(ListCdnConfigsRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| ListCdnConfigsRequest | 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<ListCdnConfigsResponse, CdnConfig> | A pageable asynchronous sequence of CdnConfig resources. |
Overrides
UpdateCdnConfig(UpdateCdnConfigRequest, CallSettings)
Updates a CdnConfig object.
Declaration
public override CdnConfig UpdateCdnConfig(UpdateCdnConfigRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| UpdateCdnConfigRequest | 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 |
|---|---|
| CdnConfig | The RPC response. |
Overrides
UpdateCdnConfigAsync(UpdateCdnConfigRequest, CallSettings)
Updates a CdnConfig object.
Declaration
public override Task<CdnConfig> UpdateCdnConfigAsync(UpdateCdnConfigRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| UpdateCdnConfigRequest | 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<CdnConfig> | A Task containing the RPC response. |