Class ContentLabelService.ContentLabelServiceBase
Base class for server-side implementations of ContentLabelService
Namespace: Google.Ads.AdManager.V1
Assembly: Google.Ads.AdManager.V1.dll
Syntax
[BindServiceMethod(typeof(ContentLabelService), "BindService")]
public abstract class ContentLabelService.ContentLabelServiceBase
Methods
GetContentLabel(GetContentLabelRequest, ServerCallContext)
API to retrieve a ContentLabel object.
Declaration
public virtual Task<ContentLabel> GetContentLabel(GetContentLabelRequest request, ServerCallContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| GetContentLabelRequest | request | The request received from the client. |
| ServerCallContext | context | The context of the server-side call handler being invoked. |
Returns
| Type | Description |
|---|---|
| Task<ContentLabel> | The response to send back to the client (wrapped by a task). |
ListContentLabels(ListContentLabelsRequest, ServerCallContext)
API to retrieve a list of ContentLabel objects.
Declaration
public virtual Task<ListContentLabelsResponse> ListContentLabels(ListContentLabelsRequest request, ServerCallContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| ListContentLabelsRequest | request | The request received from the client. |
| ServerCallContext | context | The context of the server-side call handler being invoked. |
Returns
| Type | Description |
|---|---|
| Task<ListContentLabelsResponse> | The response to send back to the client (wrapped by a task). |