Class SlateServiceClientImpl
SlateService client wrapper implementation, for convenient use.
Inherited Members
Namespace: Google.Ads.AdManager.V1
Assembly: Google.Ads.AdManager.V1.dll
Syntax
public sealed class SlateServiceClientImpl : SlateServiceClient
Remarks
Provides methods for handling Slate objects.
Constructors
SlateServiceClientImpl(SlateServiceClient, SlateServiceSettings, ILogger)
Constructs a client wrapper for the SlateService service, with the specified gRPC client and settings.
Declaration
public SlateServiceClientImpl(SlateService.SlateServiceClient grpcClient, SlateServiceSettings settings, ILogger logger)
Parameters
| Type | Name | Description |
|---|---|---|
| SlateService.SlateServiceClient | grpcClient | The underlying gRPC client. |
| SlateServiceSettings | settings | The base SlateServiceSettings used within this client. |
| ILogger | logger | Optional ILogger to use within this client. |
Properties
GrpcClient
The underlying gRPC SlateService client
Declaration
public override SlateService.SlateServiceClient GrpcClient { get; }
Property Value
| Type | Description |
|---|---|
| SlateService.SlateServiceClient |
Overrides
Methods
BatchArchiveSlates(BatchArchiveSlatesRequest, CallSettings)
Batch archives Slate objects.
Declaration
public override BatchArchiveSlatesResponse BatchArchiveSlates(BatchArchiveSlatesRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchArchiveSlatesRequest | 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 |
|---|---|
| BatchArchiveSlatesResponse | The RPC response. |
Overrides
BatchArchiveSlatesAsync(BatchArchiveSlatesRequest, CallSettings)
Batch archives Slate objects.
Declaration
public override Task<BatchArchiveSlatesResponse> BatchArchiveSlatesAsync(BatchArchiveSlatesRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchArchiveSlatesRequest | 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<BatchArchiveSlatesResponse> | A Task containing the RPC response. |
Overrides
BatchCreateSlates(BatchCreateSlatesRequest, CallSettings)
Batch creates Slate objects.
Declaration
public override BatchCreateSlatesResponse BatchCreateSlates(BatchCreateSlatesRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchCreateSlatesRequest | 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 |
|---|---|
| BatchCreateSlatesResponse | The RPC response. |
Overrides
BatchCreateSlatesAsync(BatchCreateSlatesRequest, CallSettings)
Batch creates Slate objects.
Declaration
public override Task<BatchCreateSlatesResponse> BatchCreateSlatesAsync(BatchCreateSlatesRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchCreateSlatesRequest | 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<BatchCreateSlatesResponse> | A Task containing the RPC response. |
Overrides
BatchUnarchiveSlates(BatchUnarchiveSlatesRequest, CallSettings)
Batch unarchives Slate objects.
Declaration
public override BatchUnarchiveSlatesResponse BatchUnarchiveSlates(BatchUnarchiveSlatesRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchUnarchiveSlatesRequest | 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 |
|---|---|
| BatchUnarchiveSlatesResponse | The RPC response. |
Overrides
BatchUnarchiveSlatesAsync(BatchUnarchiveSlatesRequest, CallSettings)
Batch unarchives Slate objects.
Declaration
public override Task<BatchUnarchiveSlatesResponse> BatchUnarchiveSlatesAsync(BatchUnarchiveSlatesRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchUnarchiveSlatesRequest | 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<BatchUnarchiveSlatesResponse> | A Task containing the RPC response. |
Overrides
BatchUpdateSlates(BatchUpdateSlatesRequest, CallSettings)
Batch updates Slate objects.
Declaration
public override BatchUpdateSlatesResponse BatchUpdateSlates(BatchUpdateSlatesRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchUpdateSlatesRequest | 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 |
|---|---|
| BatchUpdateSlatesResponse | The RPC response. |
Overrides
BatchUpdateSlatesAsync(BatchUpdateSlatesRequest, CallSettings)
Batch updates Slate objects.
Declaration
public override Task<BatchUpdateSlatesResponse> BatchUpdateSlatesAsync(BatchUpdateSlatesRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchUpdateSlatesRequest | 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<BatchUpdateSlatesResponse> | A Task containing the RPC response. |
Overrides
CreateSlate(CreateSlateRequest, CallSettings)
Creates a Slate object.
Declaration
public override Slate CreateSlate(CreateSlateRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| CreateSlateRequest | 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 |
|---|---|
| Slate | The RPC response. |
Overrides
CreateSlateAsync(CreateSlateRequest, CallSettings)
Creates a Slate object.
Declaration
public override Task<Slate> CreateSlateAsync(CreateSlateRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| CreateSlateRequest | 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<Slate> | A Task containing the RPC response. |
Overrides
GetSlate(GetSlateRequest, CallSettings)
Retrieves a Slate object.
Declaration
public override Slate GetSlate(GetSlateRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| GetSlateRequest | 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 |
|---|---|
| Slate | The RPC response. |
Overrides
GetSlateAsync(GetSlateRequest, CallSettings)
Retrieves a Slate object.
Declaration
public override Task<Slate> GetSlateAsync(GetSlateRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| GetSlateRequest | 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<Slate> | A Task containing the RPC response. |
Overrides
ListSlates(ListSlatesRequest, CallSettings)
Lists Slate objects.
Declaration
public override PagedEnumerable<ListSlatesResponse, Slate> ListSlates(ListSlatesRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| ListSlatesRequest | 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<ListSlatesResponse, Slate> | A pageable sequence of Slate resources. |
Overrides
ListSlatesAsync(ListSlatesRequest, CallSettings)
Lists Slate objects.
Declaration
public override PagedAsyncEnumerable<ListSlatesResponse, Slate> ListSlatesAsync(ListSlatesRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| ListSlatesRequest | 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<ListSlatesResponse, Slate> | A pageable asynchronous sequence of Slate resources. |
Overrides
UpdateSlate(UpdateSlateRequest, CallSettings)
Updates a Slate object.
Declaration
public override Slate UpdateSlate(UpdateSlateRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| UpdateSlateRequest | 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 |
|---|---|
| Slate | The RPC response. |
Overrides
UpdateSlateAsync(UpdateSlateRequest, CallSettings)
Updates a Slate object.
Declaration
public override Task<Slate> UpdateSlateAsync(UpdateSlateRequest request, CallSettings callSettings = null)
Parameters
| Type | Name | Description |
|---|---|---|
| UpdateSlateRequest | 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<Slate> | A Task containing the RPC response. |