Class ContentLabelServiceClientImpl
ContentLabelService client wrapper implementation, for convenient use.
Inherited Members
Namespace: Google.Ads.AdManager.V1
Assembly: Google.Ads.AdManager.V1.dll
Syntax
public sealed class ContentLabelServiceClientImpl : ContentLabelServiceClient
Remarks
Provides methods for handling ContentLabel objects.
Constructors
ContentLabelServiceClientImpl(ContentLabelServiceClient, ContentLabelServiceSettings, ILogger)
Constructs a client wrapper for the ContentLabelService service, with the specified gRPC client and settings.
Declaration
public ContentLabelServiceClientImpl(ContentLabelService.ContentLabelServiceClient grpcClient, ContentLabelServiceSettings settings, ILogger logger)
Parameters
| Type | Name | Description |
|---|---|---|
| ContentLabelService.ContentLabelServiceClient | grpcClient | The underlying gRPC client. |
| ContentLabelServiceSettings | settings | The base ContentLabelServiceSettings used within this client. |
| ILogger | logger | Optional ILogger to use within this client. |
Properties
GrpcClient
The underlying gRPC ContentLabelService client
Declaration
public override ContentLabelService.ContentLabelServiceClient GrpcClient { get; }
Property Value
| Type | Description |
|---|---|
| ContentLabelService.ContentLabelServiceClient |
Overrides
Methods
GetContentLabel(GetContentLabelRequest, CallSettings)
API to retrieve a ContentLabel object.
Declaration
public override ContentLabel GetContentLabel(GetContentLabelRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| GetContentLabelRequest | 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 |
|---|---|
| ContentLabel | The RPC response. |
Overrides
GetContentLabelAsync(GetContentLabelRequest, CallSettings)
API to retrieve a ContentLabel object.
Declaration
public override Task<ContentLabel> GetContentLabelAsync(GetContentLabelRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| GetContentLabelRequest | 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<ContentLabel> | A Task containing the RPC response. |
Overrides
ListContentLabels(ListContentLabelsRequest, CallSettings)
API to retrieve a list of ContentLabel objects.
Declaration
public override PagedEnumerable<ListContentLabelsResponse, ContentLabel> ListContentLabels(ListContentLabelsRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| ListContentLabelsRequest | 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<ListContentLabelsResponse, ContentLabel> | A pageable sequence of ContentLabel resources. |
Overrides
ListContentLabelsAsync(ListContentLabelsRequest, CallSettings)
API to retrieve a list of ContentLabel objects.
Declaration
public override PagedAsyncEnumerable<ListContentLabelsResponse, ContentLabel> ListContentLabelsAsync(ListContentLabelsRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| ListContentLabelsRequest | 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<ListContentLabelsResponse, ContentLabel> | A pageable asynchronous sequence of ContentLabel resources. |