Class LabelService.LabelServiceBase
Base class for server-side implementations of LabelService
Namespace: Google.Ads.AdManager.V1
Assembly: Google.Ads.AdManager.V1.dll
Syntax
[BindServiceMethod(typeof(LabelService), "BindService")]
public abstract class LabelService.LabelServiceBase
Methods
BatchActivateLabels(BatchActivateLabelsRequest, ServerCallContext)
API to activate Label objects.
Declaration
public virtual Task<BatchActivateLabelsResponse> BatchActivateLabels(BatchActivateLabelsRequest request, ServerCallContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchActivateLabelsRequest | request | The request received from the client. |
| ServerCallContext | context | The context of the server-side call handler being invoked. |
Returns
| Type | Description |
|---|---|
| Task<BatchActivateLabelsResponse> | The response to send back to the client (wrapped by a task). |
BatchCreateLabels(BatchCreateLabelsRequest, ServerCallContext)
API to batch create Label objects.
Declaration
public virtual Task<BatchCreateLabelsResponse> BatchCreateLabels(BatchCreateLabelsRequest request, ServerCallContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchCreateLabelsRequest | request | The request received from the client. |
| ServerCallContext | context | The context of the server-side call handler being invoked. |
Returns
| Type | Description |
|---|---|
| Task<BatchCreateLabelsResponse> | The response to send back to the client (wrapped by a task). |
BatchDeactivateLabels(BatchDeactivateLabelsRequest, ServerCallContext)
API to deactivate Label objects.
Declaration
public virtual Task<BatchDeactivateLabelsResponse> BatchDeactivateLabels(BatchDeactivateLabelsRequest request, ServerCallContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchDeactivateLabelsRequest | request | The request received from the client. |
| ServerCallContext | context | The context of the server-side call handler being invoked. |
Returns
| Type | Description |
|---|---|
| Task<BatchDeactivateLabelsResponse> | The response to send back to the client (wrapped by a task). |
BatchUpdateLabels(BatchUpdateLabelsRequest, ServerCallContext)
API to batch update Label objects.
Declaration
public virtual Task<BatchUpdateLabelsResponse> BatchUpdateLabels(BatchUpdateLabelsRequest request, ServerCallContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchUpdateLabelsRequest | request | The request received from the client. |
| ServerCallContext | context | The context of the server-side call handler being invoked. |
Returns
| Type | Description |
|---|---|
| Task<BatchUpdateLabelsResponse> | The response to send back to the client (wrapped by a task). |
CreateLabel(CreateLabelRequest, ServerCallContext)
API to create a Label object.
Declaration
public virtual Task<Label> CreateLabel(CreateLabelRequest request, ServerCallContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| CreateLabelRequest | request | The request received from the client. |
| ServerCallContext | context | The context of the server-side call handler being invoked. |
Returns
| Type | Description |
|---|---|
| Task<Label> | The response to send back to the client (wrapped by a task). |
GetLabel(GetLabelRequest, ServerCallContext)
API to retrieve a Label object.
Declaration
public virtual Task<Label> GetLabel(GetLabelRequest request, ServerCallContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| GetLabelRequest | request | The request received from the client. |
| ServerCallContext | context | The context of the server-side call handler being invoked. |
Returns
| Type | Description |
|---|---|
| Task<Label> | The response to send back to the client (wrapped by a task). |
ListLabels(ListLabelsRequest, ServerCallContext)
API to retrieve a list of Label objects.
Declaration
public virtual Task<ListLabelsResponse> ListLabels(ListLabelsRequest request, ServerCallContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| ListLabelsRequest | request | The request received from the client. |
| ServerCallContext | context | The context of the server-side call handler being invoked. |
Returns
| Type | Description |
|---|---|
| Task<ListLabelsResponse> | The response to send back to the client (wrapped by a task). |
UpdateLabel(UpdateLabelRequest, ServerCallContext)
API to update a Label object.
Declaration
public virtual Task<Label> UpdateLabel(UpdateLabelRequest request, ServerCallContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| UpdateLabelRequest | request | The request received from the client. |
| ServerCallContext | context | The context of the server-side call handler being invoked. |
Returns
| Type | Description |
|---|---|
| Task<Label> | The response to send back to the client (wrapped by a task). |