Class SlateService.SlateServiceClient
Client for SlateService
Inheritance
Inherited Members
Namespace: Google.Ads.AdManager.V1
Assembly: Google.Ads.AdManager.V1.dll
Syntax
public class SlateService.SlateServiceClient : ClientBase<SlateService.SlateServiceClient>
Constructors
SlateServiceClient()
Protected parameterless constructor to allow creation of test doubles.
Declaration
protected SlateServiceClient()
SlateServiceClient(CallInvoker)
Creates a new client for SlateService that uses a custom CallInvoker.
Declaration
public SlateServiceClient(CallInvoker callInvoker)
Parameters
| Type | Name | Description |
|---|---|---|
| CallInvoker | callInvoker | The callInvoker to use to make remote calls. |
SlateServiceClient(ChannelBase)
Creates a new client for SlateService
Declaration
public SlateServiceClient(ChannelBase channel)
Parameters
| Type | Name | Description |
|---|---|---|
| ChannelBase | channel | The channel to use to make remote calls. |
SlateServiceClient(ClientBaseConfiguration)
Protected constructor to allow creation of configured clients.
Declaration
protected SlateServiceClient(ClientBase.ClientBaseConfiguration configuration)
Parameters
| Type | Name | Description |
|---|---|---|
| ClientBase.ClientBaseConfiguration | configuration | The client configuration. |
Methods
BatchArchiveSlates(BatchArchiveSlatesRequest, CallOptions)
Batch archives Slate objects.
Declaration
public virtual BatchArchiveSlatesResponse BatchArchiveSlates(BatchArchiveSlatesRequest request, CallOptions options)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchArchiveSlatesRequest | request | The request to send to the server. |
| CallOptions | options | The options for the call. |
Returns
| Type | Description |
|---|---|
| BatchArchiveSlatesResponse | The response received from the server. |
BatchArchiveSlates(BatchArchiveSlatesRequest, Metadata, DateTime?, CancellationToken)
Batch archives Slate objects.
Declaration
public virtual BatchArchiveSlatesResponse BatchArchiveSlates(BatchArchiveSlatesRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchArchiveSlatesRequest | request | The request to send to the server. |
| Metadata | headers | The initial metadata to send with the call. This parameter is optional. |
| DateTime? | deadline | An optional deadline for the call. The call will be cancelled if deadline is hit. |
| CancellationToken | cancellationToken | An optional token for canceling the call. |
Returns
| Type | Description |
|---|---|
| BatchArchiveSlatesResponse | The response received from the server. |
BatchArchiveSlatesAsync(BatchArchiveSlatesRequest, CallOptions)
Batch archives Slate objects.
Declaration
public virtual AsyncUnaryCall<BatchArchiveSlatesResponse> BatchArchiveSlatesAsync(BatchArchiveSlatesRequest request, CallOptions options)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchArchiveSlatesRequest | request | The request to send to the server. |
| CallOptions | options | The options for the call. |
Returns
| Type | Description |
|---|---|
| AsyncUnaryCall<BatchArchiveSlatesResponse> | The call object. |
BatchArchiveSlatesAsync(BatchArchiveSlatesRequest, Metadata, DateTime?, CancellationToken)
Batch archives Slate objects.
Declaration
public virtual AsyncUnaryCall<BatchArchiveSlatesResponse> BatchArchiveSlatesAsync(BatchArchiveSlatesRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchArchiveSlatesRequest | request | The request to send to the server. |
| Metadata | headers | The initial metadata to send with the call. This parameter is optional. |
| DateTime? | deadline | An optional deadline for the call. The call will be cancelled if deadline is hit. |
| CancellationToken | cancellationToken | An optional token for canceling the call. |
Returns
| Type | Description |
|---|---|
| AsyncUnaryCall<BatchArchiveSlatesResponse> | The call object. |
BatchCreateSlates(BatchCreateSlatesRequest, CallOptions)
Batch creates Slate objects.
Declaration
public virtual BatchCreateSlatesResponse BatchCreateSlates(BatchCreateSlatesRequest request, CallOptions options)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchCreateSlatesRequest | request | The request to send to the server. |
| CallOptions | options | The options for the call. |
Returns
| Type | Description |
|---|---|
| BatchCreateSlatesResponse | The response received from the server. |
BatchCreateSlates(BatchCreateSlatesRequest, Metadata, DateTime?, CancellationToken)
Batch creates Slate objects.
Declaration
public virtual BatchCreateSlatesResponse BatchCreateSlates(BatchCreateSlatesRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchCreateSlatesRequest | request | The request to send to the server. |
| Metadata | headers | The initial metadata to send with the call. This parameter is optional. |
| DateTime? | deadline | An optional deadline for the call. The call will be cancelled if deadline is hit. |
| CancellationToken | cancellationToken | An optional token for canceling the call. |
Returns
| Type | Description |
|---|---|
| BatchCreateSlatesResponse | The response received from the server. |
BatchCreateSlatesAsync(BatchCreateSlatesRequest, CallOptions)
Batch creates Slate objects.
Declaration
public virtual AsyncUnaryCall<BatchCreateSlatesResponse> BatchCreateSlatesAsync(BatchCreateSlatesRequest request, CallOptions options)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchCreateSlatesRequest | request | The request to send to the server. |
| CallOptions | options | The options for the call. |
Returns
| Type | Description |
|---|---|
| AsyncUnaryCall<BatchCreateSlatesResponse> | The call object. |
BatchCreateSlatesAsync(BatchCreateSlatesRequest, Metadata, DateTime?, CancellationToken)
Batch creates Slate objects.
Declaration
public virtual AsyncUnaryCall<BatchCreateSlatesResponse> BatchCreateSlatesAsync(BatchCreateSlatesRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchCreateSlatesRequest | request | The request to send to the server. |
| Metadata | headers | The initial metadata to send with the call. This parameter is optional. |
| DateTime? | deadline | An optional deadline for the call. The call will be cancelled if deadline is hit. |
| CancellationToken | cancellationToken | An optional token for canceling the call. |
Returns
| Type | Description |
|---|---|
| AsyncUnaryCall<BatchCreateSlatesResponse> | The call object. |
BatchUnarchiveSlates(BatchUnarchiveSlatesRequest, CallOptions)
Batch unarchives Slate objects.
Declaration
public virtual BatchUnarchiveSlatesResponse BatchUnarchiveSlates(BatchUnarchiveSlatesRequest request, CallOptions options)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchUnarchiveSlatesRequest | request | The request to send to the server. |
| CallOptions | options | The options for the call. |
Returns
| Type | Description |
|---|---|
| BatchUnarchiveSlatesResponse | The response received from the server. |
BatchUnarchiveSlates(BatchUnarchiveSlatesRequest, Metadata, DateTime?, CancellationToken)
Batch unarchives Slate objects.
Declaration
public virtual BatchUnarchiveSlatesResponse BatchUnarchiveSlates(BatchUnarchiveSlatesRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchUnarchiveSlatesRequest | request | The request to send to the server. |
| Metadata | headers | The initial metadata to send with the call. This parameter is optional. |
| DateTime? | deadline | An optional deadline for the call. The call will be cancelled if deadline is hit. |
| CancellationToken | cancellationToken | An optional token for canceling the call. |
Returns
| Type | Description |
|---|---|
| BatchUnarchiveSlatesResponse | The response received from the server. |
BatchUnarchiveSlatesAsync(BatchUnarchiveSlatesRequest, CallOptions)
Batch unarchives Slate objects.
Declaration
public virtual AsyncUnaryCall<BatchUnarchiveSlatesResponse> BatchUnarchiveSlatesAsync(BatchUnarchiveSlatesRequest request, CallOptions options)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchUnarchiveSlatesRequest | request | The request to send to the server. |
| CallOptions | options | The options for the call. |
Returns
| Type | Description |
|---|---|
| AsyncUnaryCall<BatchUnarchiveSlatesResponse> | The call object. |
BatchUnarchiveSlatesAsync(BatchUnarchiveSlatesRequest, Metadata, DateTime?, CancellationToken)
Batch unarchives Slate objects.
Declaration
public virtual AsyncUnaryCall<BatchUnarchiveSlatesResponse> BatchUnarchiveSlatesAsync(BatchUnarchiveSlatesRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchUnarchiveSlatesRequest | request | The request to send to the server. |
| Metadata | headers | The initial metadata to send with the call. This parameter is optional. |
| DateTime? | deadline | An optional deadline for the call. The call will be cancelled if deadline is hit. |
| CancellationToken | cancellationToken | An optional token for canceling the call. |
Returns
| Type | Description |
|---|---|
| AsyncUnaryCall<BatchUnarchiveSlatesResponse> | The call object. |
BatchUpdateSlates(BatchUpdateSlatesRequest, CallOptions)
Batch updates Slate objects.
Declaration
public virtual BatchUpdateSlatesResponse BatchUpdateSlates(BatchUpdateSlatesRequest request, CallOptions options)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchUpdateSlatesRequest | request | The request to send to the server. |
| CallOptions | options | The options for the call. |
Returns
| Type | Description |
|---|---|
| BatchUpdateSlatesResponse | The response received from the server. |
BatchUpdateSlates(BatchUpdateSlatesRequest, Metadata, DateTime?, CancellationToken)
Batch updates Slate objects.
Declaration
public virtual BatchUpdateSlatesResponse BatchUpdateSlates(BatchUpdateSlatesRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchUpdateSlatesRequest | request | The request to send to the server. |
| Metadata | headers | The initial metadata to send with the call. This parameter is optional. |
| DateTime? | deadline | An optional deadline for the call. The call will be cancelled if deadline is hit. |
| CancellationToken | cancellationToken | An optional token for canceling the call. |
Returns
| Type | Description |
|---|---|
| BatchUpdateSlatesResponse | The response received from the server. |
BatchUpdateSlatesAsync(BatchUpdateSlatesRequest, CallOptions)
Batch updates Slate objects.
Declaration
public virtual AsyncUnaryCall<BatchUpdateSlatesResponse> BatchUpdateSlatesAsync(BatchUpdateSlatesRequest request, CallOptions options)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchUpdateSlatesRequest | request | The request to send to the server. |
| CallOptions | options | The options for the call. |
Returns
| Type | Description |
|---|---|
| AsyncUnaryCall<BatchUpdateSlatesResponse> | The call object. |
BatchUpdateSlatesAsync(BatchUpdateSlatesRequest, Metadata, DateTime?, CancellationToken)
Batch updates Slate objects.
Declaration
public virtual AsyncUnaryCall<BatchUpdateSlatesResponse> BatchUpdateSlatesAsync(BatchUpdateSlatesRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchUpdateSlatesRequest | request | The request to send to the server. |
| Metadata | headers | The initial metadata to send with the call. This parameter is optional. |
| DateTime? | deadline | An optional deadline for the call. The call will be cancelled if deadline is hit. |
| CancellationToken | cancellationToken | An optional token for canceling the call. |
Returns
| Type | Description |
|---|---|
| AsyncUnaryCall<BatchUpdateSlatesResponse> | The call object. |
CreateSlate(CreateSlateRequest, CallOptions)
Creates a Slate object.
Declaration
public virtual Slate CreateSlate(CreateSlateRequest request, CallOptions options)
Parameters
| Type | Name | Description |
|---|---|---|
| CreateSlateRequest | request | The request to send to the server. |
| CallOptions | options | The options for the call. |
Returns
| Type | Description |
|---|---|
| Slate | The response received from the server. |
CreateSlate(CreateSlateRequest, Metadata, DateTime?, CancellationToken)
Creates a Slate object.
Declaration
public virtual Slate CreateSlate(CreateSlateRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| CreateSlateRequest | request | The request to send to the server. |
| Metadata | headers | The initial metadata to send with the call. This parameter is optional. |
| DateTime? | deadline | An optional deadline for the call. The call will be cancelled if deadline is hit. |
| CancellationToken | cancellationToken | An optional token for canceling the call. |
Returns
| Type | Description |
|---|---|
| Slate | The response received from the server. |
CreateSlateAsync(CreateSlateRequest, CallOptions)
Creates a Slate object.
Declaration
public virtual AsyncUnaryCall<Slate> CreateSlateAsync(CreateSlateRequest request, CallOptions options)
Parameters
| Type | Name | Description |
|---|---|---|
| CreateSlateRequest | request | The request to send to the server. |
| CallOptions | options | The options for the call. |
Returns
| Type | Description |
|---|---|
| AsyncUnaryCall<Slate> | The call object. |
CreateSlateAsync(CreateSlateRequest, Metadata, DateTime?, CancellationToken)
Creates a Slate object.
Declaration
public virtual AsyncUnaryCall<Slate> CreateSlateAsync(CreateSlateRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| CreateSlateRequest | request | The request to send to the server. |
| Metadata | headers | The initial metadata to send with the call. This parameter is optional. |
| DateTime? | deadline | An optional deadline for the call. The call will be cancelled if deadline is hit. |
| CancellationToken | cancellationToken | An optional token for canceling the call. |
Returns
| Type | Description |
|---|---|
| AsyncUnaryCall<Slate> | The call object. |
GetSlate(GetSlateRequest, CallOptions)
Retrieves a Slate object.
Declaration
public virtual Slate GetSlate(GetSlateRequest request, CallOptions options)
Parameters
| Type | Name | Description |
|---|---|---|
| GetSlateRequest | request | The request to send to the server. |
| CallOptions | options | The options for the call. |
Returns
| Type | Description |
|---|---|
| Slate | The response received from the server. |
GetSlate(GetSlateRequest, Metadata, DateTime?, CancellationToken)
Retrieves a Slate object.
Declaration
public virtual Slate GetSlate(GetSlateRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| GetSlateRequest | request | The request to send to the server. |
| Metadata | headers | The initial metadata to send with the call. This parameter is optional. |
| DateTime? | deadline | An optional deadline for the call. The call will be cancelled if deadline is hit. |
| CancellationToken | cancellationToken | An optional token for canceling the call. |
Returns
| Type | Description |
|---|---|
| Slate | The response received from the server. |
GetSlateAsync(GetSlateRequest, CallOptions)
Retrieves a Slate object.
Declaration
public virtual AsyncUnaryCall<Slate> GetSlateAsync(GetSlateRequest request, CallOptions options)
Parameters
| Type | Name | Description |
|---|---|---|
| GetSlateRequest | request | The request to send to the server. |
| CallOptions | options | The options for the call. |
Returns
| Type | Description |
|---|---|
| AsyncUnaryCall<Slate> | The call object. |
GetSlateAsync(GetSlateRequest, Metadata, DateTime?, CancellationToken)
Retrieves a Slate object.
Declaration
public virtual AsyncUnaryCall<Slate> GetSlateAsync(GetSlateRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| GetSlateRequest | request | The request to send to the server. |
| Metadata | headers | The initial metadata to send with the call. This parameter is optional. |
| DateTime? | deadline | An optional deadline for the call. The call will be cancelled if deadline is hit. |
| CancellationToken | cancellationToken | An optional token for canceling the call. |
Returns
| Type | Description |
|---|---|
| AsyncUnaryCall<Slate> | The call object. |
ListSlates(ListSlatesRequest, CallOptions)
Lists Slate objects.
Declaration
public virtual ListSlatesResponse ListSlates(ListSlatesRequest request, CallOptions options)
Parameters
| Type | Name | Description |
|---|---|---|
| ListSlatesRequest | request | The request to send to the server. |
| CallOptions | options | The options for the call. |
Returns
| Type | Description |
|---|---|
| ListSlatesResponse | The response received from the server. |
ListSlates(ListSlatesRequest, Metadata, DateTime?, CancellationToken)
Lists Slate objects.
Declaration
public virtual ListSlatesResponse ListSlates(ListSlatesRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| ListSlatesRequest | request | The request to send to the server. |
| Metadata | headers | The initial metadata to send with the call. This parameter is optional. |
| DateTime? | deadline | An optional deadline for the call. The call will be cancelled if deadline is hit. |
| CancellationToken | cancellationToken | An optional token for canceling the call. |
Returns
| Type | Description |
|---|---|
| ListSlatesResponse | The response received from the server. |
ListSlatesAsync(ListSlatesRequest, CallOptions)
Lists Slate objects.
Declaration
public virtual AsyncUnaryCall<ListSlatesResponse> ListSlatesAsync(ListSlatesRequest request, CallOptions options)
Parameters
| Type | Name | Description |
|---|---|---|
| ListSlatesRequest | request | The request to send to the server. |
| CallOptions | options | The options for the call. |
Returns
| Type | Description |
|---|---|
| AsyncUnaryCall<ListSlatesResponse> | The call object. |
ListSlatesAsync(ListSlatesRequest, Metadata, DateTime?, CancellationToken)
Lists Slate objects.
Declaration
public virtual AsyncUnaryCall<ListSlatesResponse> ListSlatesAsync(ListSlatesRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| ListSlatesRequest | request | The request to send to the server. |
| Metadata | headers | The initial metadata to send with the call. This parameter is optional. |
| DateTime? | deadline | An optional deadline for the call. The call will be cancelled if deadline is hit. |
| CancellationToken | cancellationToken | An optional token for canceling the call. |
Returns
| Type | Description |
|---|---|
| AsyncUnaryCall<ListSlatesResponse> | The call object. |
NewInstance(ClientBaseConfiguration)
Creates a new instance of client from given ClientBaseConfiguration.
Declaration
protected override SlateService.SlateServiceClient NewInstance(ClientBase.ClientBaseConfiguration configuration)
Parameters
| Type | Name | Description |
|---|---|---|
| ClientBase.ClientBaseConfiguration | configuration |
Returns
| Type | Description |
|---|---|
| SlateService.SlateServiceClient |
Overrides
UpdateSlate(UpdateSlateRequest, CallOptions)
Updates a Slate object.
Declaration
public virtual Slate UpdateSlate(UpdateSlateRequest request, CallOptions options)
Parameters
| Type | Name | Description |
|---|---|---|
| UpdateSlateRequest | request | The request to send to the server. |
| CallOptions | options | The options for the call. |
Returns
| Type | Description |
|---|---|
| Slate | The response received from the server. |
UpdateSlate(UpdateSlateRequest, Metadata, DateTime?, CancellationToken)
Updates a Slate object.
Declaration
public virtual Slate UpdateSlate(UpdateSlateRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| UpdateSlateRequest | request | The request to send to the server. |
| Metadata | headers | The initial metadata to send with the call. This parameter is optional. |
| DateTime? | deadline | An optional deadline for the call. The call will be cancelled if deadline is hit. |
| CancellationToken | cancellationToken | An optional token for canceling the call. |
Returns
| Type | Description |
|---|---|
| Slate | The response received from the server. |
UpdateSlateAsync(UpdateSlateRequest, CallOptions)
Updates a Slate object.
Declaration
public virtual AsyncUnaryCall<Slate> UpdateSlateAsync(UpdateSlateRequest request, CallOptions options)
Parameters
| Type | Name | Description |
|---|---|---|
| UpdateSlateRequest | request | The request to send to the server. |
| CallOptions | options | The options for the call. |
Returns
| Type | Description |
|---|---|
| AsyncUnaryCall<Slate> | The call object. |
UpdateSlateAsync(UpdateSlateRequest, Metadata, DateTime?, CancellationToken)
Updates a Slate object.
Declaration
public virtual AsyncUnaryCall<Slate> UpdateSlateAsync(UpdateSlateRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| UpdateSlateRequest | request | The request to send to the server. |
| Metadata | headers | The initial metadata to send with the call. This parameter is optional. |
| DateTime? | deadline | An optional deadline for the call. The call will be cancelled if deadline is hit. |
| CancellationToken | cancellationToken | An optional token for canceling the call. |
Returns
| Type | Description |
|---|---|
| AsyncUnaryCall<Slate> | The call object. |