Class ApplicationService.ApplicationServiceClient (2.0.0-beta07)

public class ApplicationServiceClient : ClientBase<ApplicationService.ApplicationServiceClient>

Client for ApplicationService

Inheritance

Object > ClientBase > ClientBase<ApplicationService.ApplicationServiceClient> > ApplicationService.ApplicationServiceClient

Namespace

Google.Cloud.Talent.V4Beta1

Assembly

Google.Cloud.Talent.V4Beta1.dll

Constructors

ApplicationServiceClient()

protected ApplicationServiceClient()

Protected parameterless constructor to allow creation of test doubles.

ApplicationServiceClient(CallInvoker)

public ApplicationServiceClient(CallInvoker callInvoker)

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

Parameter
NameDescription
callInvokerCallInvoker

The callInvoker to use to make remote calls.

ApplicationServiceClient(ChannelBase)

public ApplicationServiceClient(ChannelBase channel)

Creates a new client for ApplicationService

Parameter
NameDescription
channelChannelBase

The channel to use to make remote calls.

ApplicationServiceClient(ClientBase.ClientBaseConfiguration)

protected ApplicationServiceClient(ClientBase.ClientBaseConfiguration configuration)

Protected constructor to allow creation of configured clients.

Parameter
NameDescription
configurationClientBase.ClientBaseConfiguration

The client configuration.

Methods

CreateApplication(CreateApplicationRequest, CallOptions)

public virtual Application CreateApplication(CreateApplicationRequest request, CallOptions options)

Creates a new application entity.

Parameters
NameDescription
requestCreateApplicationRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Application

The response received from the server.

CreateApplication(CreateApplicationRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual Application CreateApplication(CreateApplicationRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))

Creates a new application entity.

Parameters
NameDescription
requestCreateApplicationRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
Application

The response received from the server.

CreateApplicationAsync(CreateApplicationRequest, CallOptions)

public virtual AsyncUnaryCall<Application> CreateApplicationAsync(CreateApplicationRequest request, CallOptions options)

Creates a new application entity.

Parameters
NameDescription
requestCreateApplicationRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<Application>

The call object.

CreateApplicationAsync(CreateApplicationRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AsyncUnaryCall<Application> CreateApplicationAsync(CreateApplicationRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))

Creates a new application entity.

Parameters
NameDescription
requestCreateApplicationRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCall<Application>

The call object.

DeleteApplication(DeleteApplicationRequest, CallOptions)

public virtual Empty DeleteApplication(DeleteApplicationRequest request, CallOptions options)

Deletes specified application.

Parameters
NameDescription
requestDeleteApplicationRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Empty

The response received from the server.

DeleteApplication(DeleteApplicationRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual Empty DeleteApplication(DeleteApplicationRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))

Deletes specified application.

Parameters
NameDescription
requestDeleteApplicationRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
Empty

The response received from the server.

DeleteApplicationAsync(DeleteApplicationRequest, CallOptions)

public virtual AsyncUnaryCall<Empty> DeleteApplicationAsync(DeleteApplicationRequest request, CallOptions options)

Deletes specified application.

Parameters
NameDescription
requestDeleteApplicationRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<Empty>

The call object.

DeleteApplicationAsync(DeleteApplicationRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AsyncUnaryCall<Empty> DeleteApplicationAsync(DeleteApplicationRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))

Deletes specified application.

Parameters
NameDescription
requestDeleteApplicationRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCall<Empty>

The call object.

GetApplication(GetApplicationRequest, CallOptions)

public virtual Application GetApplication(GetApplicationRequest request, CallOptions options)

Retrieves specified application.

Parameters
NameDescription
requestGetApplicationRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Application

The response received from the server.

GetApplication(GetApplicationRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual Application GetApplication(GetApplicationRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))

Retrieves specified application.

Parameters
NameDescription
requestGetApplicationRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
Application

The response received from the server.

GetApplicationAsync(GetApplicationRequest, CallOptions)

public virtual AsyncUnaryCall<Application> GetApplicationAsync(GetApplicationRequest request, CallOptions options)

Retrieves specified application.

Parameters
NameDescription
requestGetApplicationRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<Application>

The call object.

GetApplicationAsync(GetApplicationRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AsyncUnaryCall<Application> GetApplicationAsync(GetApplicationRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))

Retrieves specified application.

Parameters
NameDescription
requestGetApplicationRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCall<Application>

The call object.

ListApplications(ListApplicationsRequest, CallOptions)

public virtual ListApplicationsResponse ListApplications(ListApplicationsRequest request, CallOptions options)

Lists all applications associated with the profile.

Parameters
NameDescription
requestListApplicationsRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
ListApplicationsResponse

The response received from the server.

ListApplications(ListApplicationsRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual ListApplicationsResponse ListApplications(ListApplicationsRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))

Lists all applications associated with the profile.

Parameters
NameDescription
requestListApplicationsRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
ListApplicationsResponse

The response received from the server.

ListApplicationsAsync(ListApplicationsRequest, CallOptions)

public virtual AsyncUnaryCall<ListApplicationsResponse> ListApplicationsAsync(ListApplicationsRequest request, CallOptions options)

Lists all applications associated with the profile.

Parameters
NameDescription
requestListApplicationsRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<ListApplicationsResponse>

The call object.

ListApplicationsAsync(ListApplicationsRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AsyncUnaryCall<ListApplicationsResponse> ListApplicationsAsync(ListApplicationsRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))

Lists all applications associated with the profile.

Parameters
NameDescription
requestListApplicationsRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCall<ListApplicationsResponse>

The call object.

NewInstance(ClientBase.ClientBaseConfiguration)

protected override ApplicationService.ApplicationServiceClient NewInstance(ClientBase.ClientBaseConfiguration configuration)

Creates a new instance of client from given ClientBaseConfiguration.

Parameter
NameDescription
configurationClientBase.ClientBaseConfiguration
Returns
TypeDescription
ApplicationService.ApplicationServiceClient
Overrides
Grpc.Core.ClientBase<Google.Cloud.Talent.V4Beta1.ApplicationService.ApplicationServiceClient>.NewInstance(Grpc.Core.ClientBase.ClientBaseConfiguration)

UpdateApplication(UpdateApplicationRequest, CallOptions)

public virtual Application UpdateApplication(UpdateApplicationRequest request, CallOptions options)

Updates specified application.

Parameters
NameDescription
requestUpdateApplicationRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
Application

The response received from the server.

UpdateApplication(UpdateApplicationRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual Application UpdateApplication(UpdateApplicationRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))

Updates specified application.

Parameters
NameDescription
requestUpdateApplicationRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
Application

The response received from the server.

UpdateApplicationAsync(UpdateApplicationRequest, CallOptions)

public virtual AsyncUnaryCall<Application> UpdateApplicationAsync(UpdateApplicationRequest request, CallOptions options)

Updates specified application.

Parameters
NameDescription
requestUpdateApplicationRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<Application>

The call object.

UpdateApplicationAsync(UpdateApplicationRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AsyncUnaryCall<Application> UpdateApplicationAsync(UpdateApplicationRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))

Updates specified application.

Parameters
NameDescription
requestUpdateApplicationRequest

The request to send to the server.

headersMetadata

The initial metadata to send with the call. This parameter is optional.

deadlineNullable<DateTime>

An optional deadline for the call. The call will be cancelled if deadline is hit.

cancellationTokenCancellationToken

An optional token for canceling the call.

Returns
TypeDescription
AsyncUnaryCall<Application>

The call object.