Show / Hide Table of Contents

Class ApplicationService.ApplicationServiceClient

Client for ApplicationService

Inheritance
object
ClientBase
ClientBase<ApplicationService.ApplicationServiceClient>
ApplicationService.ApplicationServiceClient
Inherited Members
ClientBase<ApplicationService.ApplicationServiceClient>.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 ApplicationService.ApplicationServiceClient : ClientBase<ApplicationService.ApplicationServiceClient>

Constructors

ApplicationServiceClient()

Protected parameterless constructor to allow creation of test doubles.

Declaration
protected ApplicationServiceClient()

ApplicationServiceClient(CallInvoker)

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

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

The callInvoker to use to make remote calls.

ApplicationServiceClient(ChannelBase)

Creates a new client for ApplicationService

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

The channel to use to make remote calls.

ApplicationServiceClient(ClientBaseConfiguration)

Protected constructor to allow creation of configured clients.

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

The client configuration.

Methods

BatchArchiveApplications(BatchArchiveApplicationsRequest, CallOptions)

/ API to batch archive Application objects.

Declaration
public virtual BatchArchiveApplicationsResponse BatchArchiveApplications(BatchArchiveApplicationsRequest request, CallOptions options)
Parameters
Type Name Description
BatchArchiveApplicationsRequest request

The request to send to the server.

CallOptions options

The options for the call.

Returns
Type Description
BatchArchiveApplicationsResponse

The response received from the server.

BatchArchiveApplications(BatchArchiveApplicationsRequest, Metadata, DateTime?, CancellationToken)

/ API to batch archive Application objects.

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

The response received from the server.

BatchArchiveApplicationsAsync(BatchArchiveApplicationsRequest, CallOptions)

/ API to batch archive Application objects.

Declaration
public virtual AsyncUnaryCall<BatchArchiveApplicationsResponse> BatchArchiveApplicationsAsync(BatchArchiveApplicationsRequest request, CallOptions options)
Parameters
Type Name Description
BatchArchiveApplicationsRequest request

The request to send to the server.

CallOptions options

The options for the call.

Returns
Type Description
AsyncUnaryCall<BatchArchiveApplicationsResponse>

The call object.

BatchArchiveApplicationsAsync(BatchArchiveApplicationsRequest, Metadata, DateTime?, CancellationToken)

/ API to batch archive Application objects.

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

The call object.

BatchCreateApplications(BatchCreateApplicationsRequest, CallOptions)

API to batch create Application objects.

Declaration
public virtual BatchCreateApplicationsResponse BatchCreateApplications(BatchCreateApplicationsRequest request, CallOptions options)
Parameters
Type Name Description
BatchCreateApplicationsRequest request

The request to send to the server.

CallOptions options

The options for the call.

Returns
Type Description
BatchCreateApplicationsResponse

The response received from the server.

BatchCreateApplications(BatchCreateApplicationsRequest, Metadata, DateTime?, CancellationToken)

API to batch create Application objects.

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

The response received from the server.

BatchCreateApplicationsAsync(BatchCreateApplicationsRequest, CallOptions)

API to batch create Application objects.

Declaration
public virtual AsyncUnaryCall<BatchCreateApplicationsResponse> BatchCreateApplicationsAsync(BatchCreateApplicationsRequest request, CallOptions options)
Parameters
Type Name Description
BatchCreateApplicationsRequest request

The request to send to the server.

CallOptions options

The options for the call.

Returns
Type Description
AsyncUnaryCall<BatchCreateApplicationsResponse>

The call object.

BatchCreateApplicationsAsync(BatchCreateApplicationsRequest, Metadata, DateTime?, CancellationToken)

API to batch create Application objects.

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

The call object.

BatchUnarchiveApplications(BatchUnarchiveApplicationsRequest, CallOptions)

/ API to batch unarchive Application objects.

Declaration
public virtual BatchUnarchiveApplicationsResponse BatchUnarchiveApplications(BatchUnarchiveApplicationsRequest request, CallOptions options)
Parameters
Type Name Description
BatchUnarchiveApplicationsRequest request

The request to send to the server.

CallOptions options

The options for the call.

Returns
Type Description
BatchUnarchiveApplicationsResponse

The response received from the server.

BatchUnarchiveApplications(BatchUnarchiveApplicationsRequest, Metadata, DateTime?, CancellationToken)

/ API to batch unarchive Application objects.

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

The response received from the server.

BatchUnarchiveApplicationsAsync(BatchUnarchiveApplicationsRequest, CallOptions)

/ API to batch unarchive Application objects.

Declaration
public virtual AsyncUnaryCall<BatchUnarchiveApplicationsResponse> BatchUnarchiveApplicationsAsync(BatchUnarchiveApplicationsRequest request, CallOptions options)
Parameters
Type Name Description
BatchUnarchiveApplicationsRequest request

The request to send to the server.

CallOptions options

The options for the call.

Returns
Type Description
AsyncUnaryCall<BatchUnarchiveApplicationsResponse>

The call object.

BatchUnarchiveApplicationsAsync(BatchUnarchiveApplicationsRequest, Metadata, DateTime?, CancellationToken)

/ API to batch unarchive Application objects.

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

The call object.

BatchUpdateApplications(BatchUpdateApplicationsRequest, CallOptions)

API to batch update Application objects.

Declaration
public virtual BatchUpdateApplicationsResponse BatchUpdateApplications(BatchUpdateApplicationsRequest request, CallOptions options)
Parameters
Type Name Description
BatchUpdateApplicationsRequest request

The request to send to the server.

CallOptions options

The options for the call.

Returns
Type Description
BatchUpdateApplicationsResponse

The response received from the server.

BatchUpdateApplications(BatchUpdateApplicationsRequest, Metadata, DateTime?, CancellationToken)

API to batch update Application objects.

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

The response received from the server.

BatchUpdateApplicationsAsync(BatchUpdateApplicationsRequest, CallOptions)

API to batch update Application objects.

Declaration
public virtual AsyncUnaryCall<BatchUpdateApplicationsResponse> BatchUpdateApplicationsAsync(BatchUpdateApplicationsRequest request, CallOptions options)
Parameters
Type Name Description
BatchUpdateApplicationsRequest request

The request to send to the server.

CallOptions options

The options for the call.

Returns
Type Description
AsyncUnaryCall<BatchUpdateApplicationsResponse>

The call object.

BatchUpdateApplicationsAsync(BatchUpdateApplicationsRequest, Metadata, DateTime?, CancellationToken)

API to batch update Application objects.

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

The call object.

CreateApplication(CreateApplicationRequest, CallOptions)

API to create a Application object.

Declaration
public virtual Application CreateApplication(CreateApplicationRequest request, CallOptions options)
Parameters
Type Name Description
CreateApplicationRequest request

The request to send to the server.

CallOptions options

The options for the call.

Returns
Type Description
Application

The response received from the server.

CreateApplication(CreateApplicationRequest, Metadata, DateTime?, CancellationToken)

API to create a Application object.

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

The response received from the server.

CreateApplicationAsync(CreateApplicationRequest, CallOptions)

API to create a Application object.

Declaration
public virtual AsyncUnaryCall<Application> CreateApplicationAsync(CreateApplicationRequest request, CallOptions options)
Parameters
Type Name Description
CreateApplicationRequest request

The request to send to the server.

CallOptions options

The options for the call.

Returns
Type Description
AsyncUnaryCall<Application>

The call object.

CreateApplicationAsync(CreateApplicationRequest, Metadata, DateTime?, CancellationToken)

API to create a Application object.

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

The call object.

GetApplication(GetApplicationRequest, CallOptions)

API to retrieve a Application object.

Declaration
public virtual Application GetApplication(GetApplicationRequest request, CallOptions options)
Parameters
Type Name Description
GetApplicationRequest request

The request to send to the server.

CallOptions options

The options for the call.

Returns
Type Description
Application

The response received from the server.

GetApplication(GetApplicationRequest, Metadata, DateTime?, CancellationToken)

API to retrieve a Application object.

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

The response received from the server.

GetApplicationAsync(GetApplicationRequest, CallOptions)

API to retrieve a Application object.

Declaration
public virtual AsyncUnaryCall<Application> GetApplicationAsync(GetApplicationRequest request, CallOptions options)
Parameters
Type Name Description
GetApplicationRequest request

The request to send to the server.

CallOptions options

The options for the call.

Returns
Type Description
AsyncUnaryCall<Application>

The call object.

GetApplicationAsync(GetApplicationRequest, Metadata, DateTime?, CancellationToken)

API to retrieve a Application object.

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

The call object.

ListApplications(ListApplicationsRequest, CallOptions)

API to retrieve a list of Application objects.

Declaration
public virtual ListApplicationsResponse ListApplications(ListApplicationsRequest request, CallOptions options)
Parameters
Type Name Description
ListApplicationsRequest request

The request to send to the server.

CallOptions options

The options for the call.

Returns
Type Description
ListApplicationsResponse

The response received from the server.

ListApplications(ListApplicationsRequest, Metadata, DateTime?, CancellationToken)

API to retrieve a list of Application objects.

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

The response received from the server.

ListApplicationsAsync(ListApplicationsRequest, CallOptions)

API to retrieve a list of Application objects.

Declaration
public virtual AsyncUnaryCall<ListApplicationsResponse> ListApplicationsAsync(ListApplicationsRequest request, CallOptions options)
Parameters
Type Name Description
ListApplicationsRequest request

The request to send to the server.

CallOptions options

The options for the call.

Returns
Type Description
AsyncUnaryCall<ListApplicationsResponse>

The call object.

ListApplicationsAsync(ListApplicationsRequest, Metadata, DateTime?, CancellationToken)

API to retrieve a list of Application objects.

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

The call object.

NewInstance(ClientBaseConfiguration)

Creates a new instance of client from given ClientBaseConfiguration.

Declaration
protected override ApplicationService.ApplicationServiceClient NewInstance(ClientBase.ClientBaseConfiguration configuration)
Parameters
Type Name Description
ClientBase.ClientBaseConfiguration configuration
Returns
Type Description
ApplicationService.ApplicationServiceClient
Overrides
Grpc.Core.ClientBase<Google.Ads.AdManager.V1.ApplicationService.ApplicationServiceClient>.NewInstance(Grpc.Core.ClientBase.ClientBaseConfiguration)

UpdateApplication(UpdateApplicationRequest, CallOptions)

API to update a Application object.

Declaration
public virtual Application UpdateApplication(UpdateApplicationRequest request, CallOptions options)
Parameters
Type Name Description
UpdateApplicationRequest request

The request to send to the server.

CallOptions options

The options for the call.

Returns
Type Description
Application

The response received from the server.

UpdateApplication(UpdateApplicationRequest, Metadata, DateTime?, CancellationToken)

API to update a Application object.

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

The response received from the server.

UpdateApplicationAsync(UpdateApplicationRequest, CallOptions)

API to update a Application object.

Declaration
public virtual AsyncUnaryCall<Application> UpdateApplicationAsync(UpdateApplicationRequest request, CallOptions options)
Parameters
Type Name Description
UpdateApplicationRequest request

The request to send to the server.

CallOptions options

The options for the call.

Returns
Type Description
AsyncUnaryCall<Application>

The call object.

UpdateApplicationAsync(UpdateApplicationRequest, Metadata, DateTime?, CancellationToken)

API to update a Application object.

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

The call object.

In this article
Back to top Generated by DocFX