Class BreakTemplateService.BreakTemplateServiceClient
Client for BreakTemplateService
Inheritance
Inherited Members
Namespace: Google.Ads.AdManager.V1
Assembly: Google.Ads.AdManager.V1.dll
Syntax
public class BreakTemplateService.BreakTemplateServiceClient : ClientBase<BreakTemplateService.BreakTemplateServiceClient>
Constructors
BreakTemplateServiceClient()
Protected parameterless constructor to allow creation of test doubles.
Declaration
protected BreakTemplateServiceClient()
BreakTemplateServiceClient(CallInvoker)
Creates a new client for BreakTemplateService that uses a custom CallInvoker.
Declaration
public BreakTemplateServiceClient(CallInvoker callInvoker)
Parameters
| Type | Name | Description |
|---|---|---|
| CallInvoker | callInvoker | The callInvoker to use to make remote calls. |
BreakTemplateServiceClient(ChannelBase)
Creates a new client for BreakTemplateService
Declaration
public BreakTemplateServiceClient(ChannelBase channel)
Parameters
| Type | Name | Description |
|---|---|---|
| ChannelBase | channel | The channel to use to make remote calls. |
BreakTemplateServiceClient(ClientBaseConfiguration)
Protected constructor to allow creation of configured clients.
Declaration
protected BreakTemplateServiceClient(ClientBase.ClientBaseConfiguration configuration)
Parameters
| Type | Name | Description |
|---|---|---|
| ClientBase.ClientBaseConfiguration | configuration | The client configuration. |
Methods
BatchCreateBreakTemplates(BatchCreateBreakTemplatesRequest, CallOptions)
Batch creates BreakTemplate objects.
Declaration
public virtual BatchCreateBreakTemplatesResponse BatchCreateBreakTemplates(BatchCreateBreakTemplatesRequest request, CallOptions options)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchCreateBreakTemplatesRequest | request | The request to send to the server. |
| CallOptions | options | The options for the call. |
Returns
| Type | Description |
|---|---|
| BatchCreateBreakTemplatesResponse | The response received from the server. |
BatchCreateBreakTemplates(BatchCreateBreakTemplatesRequest, Metadata, DateTime?, CancellationToken)
Batch creates BreakTemplate objects.
Declaration
public virtual BatchCreateBreakTemplatesResponse BatchCreateBreakTemplates(BatchCreateBreakTemplatesRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchCreateBreakTemplatesRequest | 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 |
|---|---|
| BatchCreateBreakTemplatesResponse | The response received from the server. |
BatchCreateBreakTemplatesAsync(BatchCreateBreakTemplatesRequest, CallOptions)
Batch creates BreakTemplate objects.
Declaration
public virtual AsyncUnaryCall<BatchCreateBreakTemplatesResponse> BatchCreateBreakTemplatesAsync(BatchCreateBreakTemplatesRequest request, CallOptions options)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchCreateBreakTemplatesRequest | request | The request to send to the server. |
| CallOptions | options | The options for the call. |
Returns
| Type | Description |
|---|---|
| AsyncUnaryCall<BatchCreateBreakTemplatesResponse> | The call object. |
BatchCreateBreakTemplatesAsync(BatchCreateBreakTemplatesRequest, Metadata, DateTime?, CancellationToken)
Batch creates BreakTemplate objects.
Declaration
public virtual AsyncUnaryCall<BatchCreateBreakTemplatesResponse> BatchCreateBreakTemplatesAsync(BatchCreateBreakTemplatesRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchCreateBreakTemplatesRequest | 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<BatchCreateBreakTemplatesResponse> | The call object. |
BatchUpdateBreakTemplates(BatchUpdateBreakTemplatesRequest, CallOptions)
Batch updates BreakTemplate objects.
Declaration
public virtual BatchUpdateBreakTemplatesResponse BatchUpdateBreakTemplates(BatchUpdateBreakTemplatesRequest request, CallOptions options)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchUpdateBreakTemplatesRequest | request | The request to send to the server. |
| CallOptions | options | The options for the call. |
Returns
| Type | Description |
|---|---|
| BatchUpdateBreakTemplatesResponse | The response received from the server. |
BatchUpdateBreakTemplates(BatchUpdateBreakTemplatesRequest, Metadata, DateTime?, CancellationToken)
Batch updates BreakTemplate objects.
Declaration
public virtual BatchUpdateBreakTemplatesResponse BatchUpdateBreakTemplates(BatchUpdateBreakTemplatesRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchUpdateBreakTemplatesRequest | 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 |
|---|---|
| BatchUpdateBreakTemplatesResponse | The response received from the server. |
BatchUpdateBreakTemplatesAsync(BatchUpdateBreakTemplatesRequest, CallOptions)
Batch updates BreakTemplate objects.
Declaration
public virtual AsyncUnaryCall<BatchUpdateBreakTemplatesResponse> BatchUpdateBreakTemplatesAsync(BatchUpdateBreakTemplatesRequest request, CallOptions options)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchUpdateBreakTemplatesRequest | request | The request to send to the server. |
| CallOptions | options | The options for the call. |
Returns
| Type | Description |
|---|---|
| AsyncUnaryCall<BatchUpdateBreakTemplatesResponse> | The call object. |
BatchUpdateBreakTemplatesAsync(BatchUpdateBreakTemplatesRequest, Metadata, DateTime?, CancellationToken)
Batch updates BreakTemplate objects.
Declaration
public virtual AsyncUnaryCall<BatchUpdateBreakTemplatesResponse> BatchUpdateBreakTemplatesAsync(BatchUpdateBreakTemplatesRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| BatchUpdateBreakTemplatesRequest | 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<BatchUpdateBreakTemplatesResponse> | The call object. |
CreateBreakTemplate(CreateBreakTemplateRequest, CallOptions)
Creates a BreakTemplate object.
Declaration
public virtual BreakTemplate CreateBreakTemplate(CreateBreakTemplateRequest request, CallOptions options)
Parameters
| Type | Name | Description |
|---|---|---|
| CreateBreakTemplateRequest | request | The request to send to the server. |
| CallOptions | options | The options for the call. |
Returns
| Type | Description |
|---|---|
| BreakTemplate | The response received from the server. |
CreateBreakTemplate(CreateBreakTemplateRequest, Metadata, DateTime?, CancellationToken)
Creates a BreakTemplate object.
Declaration
public virtual BreakTemplate CreateBreakTemplate(CreateBreakTemplateRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| CreateBreakTemplateRequest | 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 |
|---|---|
| BreakTemplate | The response received from the server. |
CreateBreakTemplateAsync(CreateBreakTemplateRequest, CallOptions)
Creates a BreakTemplate object.
Declaration
public virtual AsyncUnaryCall<BreakTemplate> CreateBreakTemplateAsync(CreateBreakTemplateRequest request, CallOptions options)
Parameters
| Type | Name | Description |
|---|---|---|
| CreateBreakTemplateRequest | request | The request to send to the server. |
| CallOptions | options | The options for the call. |
Returns
| Type | Description |
|---|---|
| AsyncUnaryCall<BreakTemplate> | The call object. |
CreateBreakTemplateAsync(CreateBreakTemplateRequest, Metadata, DateTime?, CancellationToken)
Creates a BreakTemplate object.
Declaration
public virtual AsyncUnaryCall<BreakTemplate> CreateBreakTemplateAsync(CreateBreakTemplateRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| CreateBreakTemplateRequest | 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<BreakTemplate> | The call object. |
GetBreakTemplate(GetBreakTemplateRequest, CallOptions)
Retrieves a BreakTemplate object.
Declaration
public virtual BreakTemplate GetBreakTemplate(GetBreakTemplateRequest request, CallOptions options)
Parameters
| Type | Name | Description |
|---|---|---|
| GetBreakTemplateRequest | request | The request to send to the server. |
| CallOptions | options | The options for the call. |
Returns
| Type | Description |
|---|---|
| BreakTemplate | The response received from the server. |
GetBreakTemplate(GetBreakTemplateRequest, Metadata, DateTime?, CancellationToken)
Retrieves a BreakTemplate object.
Declaration
public virtual BreakTemplate GetBreakTemplate(GetBreakTemplateRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| GetBreakTemplateRequest | 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 |
|---|---|
| BreakTemplate | The response received from the server. |
GetBreakTemplateAsync(GetBreakTemplateRequest, CallOptions)
Retrieves a BreakTemplate object.
Declaration
public virtual AsyncUnaryCall<BreakTemplate> GetBreakTemplateAsync(GetBreakTemplateRequest request, CallOptions options)
Parameters
| Type | Name | Description |
|---|---|---|
| GetBreakTemplateRequest | request | The request to send to the server. |
| CallOptions | options | The options for the call. |
Returns
| Type | Description |
|---|---|
| AsyncUnaryCall<BreakTemplate> | The call object. |
GetBreakTemplateAsync(GetBreakTemplateRequest, Metadata, DateTime?, CancellationToken)
Retrieves a BreakTemplate object.
Declaration
public virtual AsyncUnaryCall<BreakTemplate> GetBreakTemplateAsync(GetBreakTemplateRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| GetBreakTemplateRequest | 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<BreakTemplate> | The call object. |
ListBreakTemplates(ListBreakTemplatesRequest, CallOptions)
Lists BreakTemplate objects.
Declaration
public virtual ListBreakTemplatesResponse ListBreakTemplates(ListBreakTemplatesRequest request, CallOptions options)
Parameters
| Type | Name | Description |
|---|---|---|
| ListBreakTemplatesRequest | request | The request to send to the server. |
| CallOptions | options | The options for the call. |
Returns
| Type | Description |
|---|---|
| ListBreakTemplatesResponse | The response received from the server. |
ListBreakTemplates(ListBreakTemplatesRequest, Metadata, DateTime?, CancellationToken)
Lists BreakTemplate objects.
Declaration
public virtual ListBreakTemplatesResponse ListBreakTemplates(ListBreakTemplatesRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| ListBreakTemplatesRequest | 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 |
|---|---|
| ListBreakTemplatesResponse | The response received from the server. |
ListBreakTemplatesAsync(ListBreakTemplatesRequest, CallOptions)
Lists BreakTemplate objects.
Declaration
public virtual AsyncUnaryCall<ListBreakTemplatesResponse> ListBreakTemplatesAsync(ListBreakTemplatesRequest request, CallOptions options)
Parameters
| Type | Name | Description |
|---|---|---|
| ListBreakTemplatesRequest | request | The request to send to the server. |
| CallOptions | options | The options for the call. |
Returns
| Type | Description |
|---|---|
| AsyncUnaryCall<ListBreakTemplatesResponse> | The call object. |
ListBreakTemplatesAsync(ListBreakTemplatesRequest, Metadata, DateTime?, CancellationToken)
Lists BreakTemplate objects.
Declaration
public virtual AsyncUnaryCall<ListBreakTemplatesResponse> ListBreakTemplatesAsync(ListBreakTemplatesRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| ListBreakTemplatesRequest | 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<ListBreakTemplatesResponse> | The call object. |
NewInstance(ClientBaseConfiguration)
Creates a new instance of client from given ClientBaseConfiguration.
Declaration
protected override BreakTemplateService.BreakTemplateServiceClient NewInstance(ClientBase.ClientBaseConfiguration configuration)
Parameters
| Type | Name | Description |
|---|---|---|
| ClientBase.ClientBaseConfiguration | configuration |
Returns
| Type | Description |
|---|---|
| BreakTemplateService.BreakTemplateServiceClient |
Overrides
UpdateBreakTemplate(UpdateBreakTemplateRequest, CallOptions)
Updates a BreakTemplate object.
Declaration
public virtual BreakTemplate UpdateBreakTemplate(UpdateBreakTemplateRequest request, CallOptions options)
Parameters
| Type | Name | Description |
|---|---|---|
| UpdateBreakTemplateRequest | request | The request to send to the server. |
| CallOptions | options | The options for the call. |
Returns
| Type | Description |
|---|---|
| BreakTemplate | The response received from the server. |
UpdateBreakTemplate(UpdateBreakTemplateRequest, Metadata, DateTime?, CancellationToken)
Updates a BreakTemplate object.
Declaration
public virtual BreakTemplate UpdateBreakTemplate(UpdateBreakTemplateRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| UpdateBreakTemplateRequest | 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 |
|---|---|
| BreakTemplate | The response received from the server. |
UpdateBreakTemplateAsync(UpdateBreakTemplateRequest, CallOptions)
Updates a BreakTemplate object.
Declaration
public virtual AsyncUnaryCall<BreakTemplate> UpdateBreakTemplateAsync(UpdateBreakTemplateRequest request, CallOptions options)
Parameters
| Type | Name | Description |
|---|---|---|
| UpdateBreakTemplateRequest | request | The request to send to the server. |
| CallOptions | options | The options for the call. |
Returns
| Type | Description |
|---|---|
| AsyncUnaryCall<BreakTemplate> | The call object. |
UpdateBreakTemplateAsync(UpdateBreakTemplateRequest, Metadata, DateTime?, CancellationToken)
Updates a BreakTemplate object.
Declaration
public virtual AsyncUnaryCall<BreakTemplate> UpdateBreakTemplateAsync(UpdateBreakTemplateRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
| Type | Name | Description |
|---|---|---|
| UpdateBreakTemplateRequest | 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<BreakTemplate> | The call object. |