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
GetContentBundle(GetContentBundleRequest, CallSettings)
API to retrieve 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)
API to retrieve 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)
API to retrieve a list of 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)
API to retrieve a list of 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. |