Class ContentBundleServiceClientImpl
ContentBundleService client wrapper implementation, for convenient use.
Inherited Members
Namespace: Google.Ads.AdManager.V1
Assembly: Google.Ads.AdManager.V1.dll
Syntax
public sealed class ContentBundleServiceClientImpl : ContentBundleServiceClient
Remarks
Provides methods for handling ContentBundle objects.
Constructors
ContentBundleServiceClientImpl(ContentBundleServiceClient, ContentBundleServiceSettings, ILogger)
Constructs a client wrapper for the ContentBundleService service, with the specified gRPC client and settings.
Declaration
public ContentBundleServiceClientImpl(ContentBundleService.ContentBundleServiceClient grpcClient, ContentBundleServiceSettings settings, ILogger logger)
Parameters
| Type | Name | Description |
|---|---|---|
| ContentBundleService.ContentBundleServiceClient | grpcClient | The underlying gRPC client. |
| ContentBundleServiceSettings | settings | The base ContentBundleServiceSettings used within this client. |
| ILogger | logger | Optional ILogger to use within this client. |
Properties
GrpcClient
The underlying gRPC ContentBundleService client
Declaration
public override ContentBundleService.ContentBundleServiceClient GrpcClient { get; }
Property Value
| Type | Description |
|---|---|
| ContentBundleService.ContentBundleServiceClient |
Overrides
Methods
BatchActivateContentBundles(BatchActivateContentBundlesRequest, CallSettings)
Activate a list of ContentBundle objects.
Declaration
public override BatchActivateContentBundlesResponse BatchActivateContentBundles(BatchActivateContentBundlesRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchActivateContentBundlesRequest | 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 |
|---|---|
| BatchActivateContentBundlesResponse | The RPC response. |
Overrides
BatchActivateContentBundlesAsync(BatchActivateContentBundlesRequest, CallSettings)
Activate a list of ContentBundle objects.
Declaration
public override Task<BatchActivateContentBundlesResponse> BatchActivateContentBundlesAsync(BatchActivateContentBundlesRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchActivateContentBundlesRequest | 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<BatchActivateContentBundlesResponse> | A Task containing the RPC response. |
Overrides
BatchDeactivateContentBundles(BatchDeactivateContentBundlesRequest, CallSettings)
Deactivates a list of ContentBundle objects.
Declaration
public override BatchDeactivateContentBundlesResponse BatchDeactivateContentBundles(BatchDeactivateContentBundlesRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchDeactivateContentBundlesRequest | 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 |
|---|---|
| BatchDeactivateContentBundlesResponse | The RPC response. |
Overrides
BatchDeactivateContentBundlesAsync(BatchDeactivateContentBundlesRequest, CallSettings)
Deactivates a list of ContentBundle objects.
Declaration
public override Task<BatchDeactivateContentBundlesResponse> BatchDeactivateContentBundlesAsync(BatchDeactivateContentBundlesRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchDeactivateContentBundlesRequest | 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<BatchDeactivateContentBundlesResponse> | A Task containing the RPC response. |
Overrides
GetContentBundle(GetContentBundleRequest, CallSettings)
Retrieves a ContentBundle object.
Declaration
public override ContentBundle GetContentBundle(GetContentBundleRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| GetContentBundleRequest | 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 |
|---|---|
| ContentBundle | The RPC response. |
Overrides
GetContentBundleAsync(GetContentBundleRequest, CallSettings)
Retrieves a ContentBundle object.
Declaration
public override Task<ContentBundle> GetContentBundleAsync(GetContentBundleRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| GetContentBundleRequest | 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<ContentBundle> | A Task containing the RPC response. |
Overrides
ListContentBundles(ListContentBundlesRequest, CallSettings)
Lists ContentBundle objects.
Declaration
public override PagedEnumerable<ListContentBundlesResponse, ContentBundle> ListContentBundles(ListContentBundlesRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| ListContentBundlesRequest | 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<ListContentBundlesResponse, ContentBundle> | A pageable sequence of ContentBundle resources. |
Overrides
ListContentBundlesAsync(ListContentBundlesRequest, CallSettings)
Lists ContentBundle objects.
Declaration
public override PagedAsyncEnumerable<ListContentBundlesResponse, ContentBundle> ListContentBundlesAsync(ListContentBundlesRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| ListContentBundlesRequest | 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<ListContentBundlesResponse, ContentBundle> | A pageable asynchronous sequence of ContentBundle resources. |