Class NativeStyleService.NativeStyleServiceBase
Base class for server-side implementations of NativeStyleService
Namespace: Google.Ads.AdManager.V1
Assembly: Google.Ads.AdManager.V1.dll
Syntax
[BindServiceMethod(typeof(NativeStyleService), "BindService")]
public abstract class NativeStyleService.NativeStyleServiceBase
Methods
BatchActivateNativeStyles(BatchActivateNativeStylesRequest, ServerCallContext)
Beginning of non-CRUD
Activates a list of NativeStyle objects.
Declaration
public virtual Task<BatchActivateNativeStylesResponse> BatchActivateNativeStyles(BatchActivateNativeStylesRequest request, ServerCallContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchActivateNativeStylesRequest | request | The request received from the client. |
| ServerCallContext | context | The context of the server-side call handler being invoked. |
Returns
| Type | Description |
|---|---|
| Task<BatchActivateNativeStylesResponse> | The response to send back to the client (wrapped by a task). |
BatchArchiveNativeStyles(BatchArchiveNativeStylesRequest, ServerCallContext)
Archives a list of NativeStyle objects.
Declaration
public virtual Task<BatchArchiveNativeStylesResponse> BatchArchiveNativeStyles(BatchArchiveNativeStylesRequest request, ServerCallContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchArchiveNativeStylesRequest | request | The request received from the client. |
| ServerCallContext | context | The context of the server-side call handler being invoked. |
Returns
| Type | Description |
|---|---|
| Task<BatchArchiveNativeStylesResponse> | The response to send back to the client (wrapped by a task). |
BatchCreateNativeStyles(BatchCreateNativeStylesRequest, ServerCallContext)
Creates NativeStyle objects.
Declaration
public virtual Task<BatchCreateNativeStylesResponse> BatchCreateNativeStyles(BatchCreateNativeStylesRequest request, ServerCallContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchCreateNativeStylesRequest | request | The request received from the client. |
| ServerCallContext | context | The context of the server-side call handler being invoked. |
Returns
| Type | Description |
|---|---|
| Task<BatchCreateNativeStylesResponse> | The response to send back to the client (wrapped by a task). |
BatchDeactivateNativeStyles(BatchDeactivateNativeStylesRequest, ServerCallContext)
Deactivates a list of NativeStyle objects.
Declaration
public virtual Task<BatchDeactivateNativeStylesResponse> BatchDeactivateNativeStyles(BatchDeactivateNativeStylesRequest request, ServerCallContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchDeactivateNativeStylesRequest | request | The request received from the client. |
| ServerCallContext | context | The context of the server-side call handler being invoked. |
Returns
| Type | Description |
|---|---|
| Task<BatchDeactivateNativeStylesResponse> | The response to send back to the client (wrapped by a task). |
BatchUpdateNativeStyles(BatchUpdateNativeStylesRequest, ServerCallContext)
Batch updates NativeStyle objects.
Declaration
public virtual Task<BatchUpdateNativeStylesResponse> BatchUpdateNativeStyles(BatchUpdateNativeStylesRequest request, ServerCallContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchUpdateNativeStylesRequest | request | The request received from the client. |
| ServerCallContext | context | The context of the server-side call handler being invoked. |
Returns
| Type | Description |
|---|---|
| Task<BatchUpdateNativeStylesResponse> | The response to send back to the client (wrapped by a task). |
GetNativeStyle(GetNativeStyleRequest, ServerCallContext)
Retrieves a NativeStyle object.
Declaration
public virtual Task<NativeStyle> GetNativeStyle(GetNativeStyleRequest request, ServerCallContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| GetNativeStyleRequest | request | The request received from the client. |
| ServerCallContext | context | The context of the server-side call handler being invoked. |
Returns
| Type | Description |
|---|---|
| Task<NativeStyle> | The response to send back to the client (wrapped by a task). |
ListNativeStyles(ListNativeStylesRequest, ServerCallContext)
Lists NativeStyle objects.
Declaration
public virtual Task<ListNativeStylesResponse> ListNativeStyles(ListNativeStylesRequest request, ServerCallContext context)
Parameters
| Type | Name | Description |
|---|---|---|
| ListNativeStylesRequest | request | The request received from the client. |
| ServerCallContext | context | The context of the server-side call handler being invoked. |
Returns
| Type | Description |
|---|---|
| Task<ListNativeStylesResponse> | The response to send back to the client (wrapped by a task). |