Show / Hide Table of Contents

Class LineItemTemplateService.LineItemTemplateServiceClient

Client for LineItemTemplateService

Inheritance
object
ClientBase
ClientBase<LineItemTemplateService.LineItemTemplateServiceClient>
LineItemTemplateService.LineItemTemplateServiceClient
Inherited Members
ClientBase<LineItemTemplateService.LineItemTemplateServiceClient>.WithHost(string)
ClientBase.CallInvoker
object.GetHashCode()
object.GetType()
object.MemberwiseClone()
object.ToString()
Namespace: Google.Ads.AdManager.V1
Assembly: Google.Ads.AdManager.V1.dll
Syntax
public class LineItemTemplateService.LineItemTemplateServiceClient : ClientBase<LineItemTemplateService.LineItemTemplateServiceClient>

Constructors

LineItemTemplateServiceClient()

Protected parameterless constructor to allow creation of test doubles.

Declaration
protected LineItemTemplateServiceClient()

LineItemTemplateServiceClient(CallInvoker)

Creates a new client for LineItemTemplateService that uses a custom CallInvoker.

Declaration
public LineItemTemplateServiceClient(CallInvoker callInvoker)
Parameters
Type Name Description
CallInvoker callInvoker

The callInvoker to use to make remote calls.

LineItemTemplateServiceClient(ChannelBase)

Creates a new client for LineItemTemplateService

Declaration
public LineItemTemplateServiceClient(ChannelBase channel)
Parameters
Type Name Description
ChannelBase channel

The channel to use to make remote calls.

LineItemTemplateServiceClient(ClientBaseConfiguration)

Protected constructor to allow creation of configured clients.

Declaration
protected LineItemTemplateServiceClient(ClientBase.ClientBaseConfiguration configuration)
Parameters
Type Name Description
ClientBase.ClientBaseConfiguration configuration

The client configuration.

Methods

GetLineItemTemplate(GetLineItemTemplateRequest, CallOptions)

Retrieves a LineItemTemplate object.

Declaration
public virtual LineItemTemplate GetLineItemTemplate(GetLineItemTemplateRequest request, CallOptions options)
Parameters
Type Name Description
GetLineItemTemplateRequest request

The request to send to the server.

CallOptions options

The options for the call.

Returns
Type Description
LineItemTemplate

The response received from the server.

GetLineItemTemplate(GetLineItemTemplateRequest, Metadata, DateTime?, CancellationToken)

Retrieves a LineItemTemplate object.

Declaration
public virtual LineItemTemplate GetLineItemTemplate(GetLineItemTemplateRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type Name Description
GetLineItemTemplateRequest 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
LineItemTemplate

The response received from the server.

GetLineItemTemplateAsync(GetLineItemTemplateRequest, CallOptions)

Retrieves a LineItemTemplate object.

Declaration
public virtual AsyncUnaryCall<LineItemTemplate> GetLineItemTemplateAsync(GetLineItemTemplateRequest request, CallOptions options)
Parameters
Type Name Description
GetLineItemTemplateRequest request

The request to send to the server.

CallOptions options

The options for the call.

Returns
Type Description
AsyncUnaryCall<LineItemTemplate>

The call object.

GetLineItemTemplateAsync(GetLineItemTemplateRequest, Metadata, DateTime?, CancellationToken)

Retrieves a LineItemTemplate object.

Declaration
public virtual AsyncUnaryCall<LineItemTemplate> GetLineItemTemplateAsync(GetLineItemTemplateRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type Name Description
GetLineItemTemplateRequest 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<LineItemTemplate>

The call object.

ListLineItemTemplates(ListLineItemTemplatesRequest, CallOptions)

Lists LineItemTemplate objects.

Declaration
public virtual ListLineItemTemplatesResponse ListLineItemTemplates(ListLineItemTemplatesRequest request, CallOptions options)
Parameters
Type Name Description
ListLineItemTemplatesRequest request

The request to send to the server.

CallOptions options

The options for the call.

Returns
Type Description
ListLineItemTemplatesResponse

The response received from the server.

ListLineItemTemplates(ListLineItemTemplatesRequest, Metadata, DateTime?, CancellationToken)

Lists LineItemTemplate objects.

Declaration
public virtual ListLineItemTemplatesResponse ListLineItemTemplates(ListLineItemTemplatesRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type Name Description
ListLineItemTemplatesRequest 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
ListLineItemTemplatesResponse

The response received from the server.

ListLineItemTemplatesAsync(ListLineItemTemplatesRequest, CallOptions)

Lists LineItemTemplate objects.

Declaration
public virtual AsyncUnaryCall<ListLineItemTemplatesResponse> ListLineItemTemplatesAsync(ListLineItemTemplatesRequest request, CallOptions options)
Parameters
Type Name Description
ListLineItemTemplatesRequest request

The request to send to the server.

CallOptions options

The options for the call.

Returns
Type Description
AsyncUnaryCall<ListLineItemTemplatesResponse>

The call object.

ListLineItemTemplatesAsync(ListLineItemTemplatesRequest, Metadata, DateTime?, CancellationToken)

Lists LineItemTemplate objects.

Declaration
public virtual AsyncUnaryCall<ListLineItemTemplatesResponse> ListLineItemTemplatesAsync(ListLineItemTemplatesRequest request, Metadata headers = null, DateTime? deadline = null, CancellationToken cancellationToken = default)
Parameters
Type Name Description
ListLineItemTemplatesRequest 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<ListLineItemTemplatesResponse>

The call object.

NewInstance(ClientBaseConfiguration)

Creates a new instance of client from given ClientBaseConfiguration.

Declaration
protected override LineItemTemplateService.LineItemTemplateServiceClient NewInstance(ClientBase.ClientBaseConfiguration configuration)
Parameters
Type Name Description
ClientBase.ClientBaseConfiguration configuration
Returns
Type Description
LineItemTemplateService.LineItemTemplateServiceClient
Overrides
Grpc.Core.ClientBase<Google.Ads.AdManager.V1.LineItemTemplateService.LineItemTemplateServiceClient>.NewInstance(Grpc.Core.ClientBase.ClientBaseConfiguration)
In this article
Back to top Generated by DocFX