Class EventService.EventServiceClient (1.2.0)

public class EventServiceClient : ClientBase<EventService.EventServiceClient>

Client for EventService

Inheritance

Object > ClientBase > ClientBase<EventService.EventServiceClient> > EventService.EventServiceClient

Namespace

Google.Cloud.Talent.V4

Assembly

Google.Cloud.Talent.V4.dll

Constructors

EventServiceClient()

protected EventServiceClient()

Protected parameterless constructor to allow creation of test doubles.

EventServiceClient(CallInvoker)

public EventServiceClient(CallInvoker callInvoker)

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

Parameter
NameDescription
callInvokerCallInvoker

The callInvoker to use to make remote calls.

EventServiceClient(ChannelBase)

public EventServiceClient(ChannelBase channel)

Creates a new client for EventService

Parameter
NameDescription
channelChannelBase

The channel to use to make remote calls.

EventServiceClient(ClientBase.ClientBaseConfiguration)

protected EventServiceClient(ClientBase.ClientBaseConfiguration configuration)

Protected constructor to allow creation of configured clients.

Parameter
NameDescription
configurationClientBase.ClientBaseConfiguration

The client configuration.

Methods

CreateClientEvent(CreateClientEventRequest, CallOptions)

public virtual ClientEvent CreateClientEvent(CreateClientEventRequest request, CallOptions options)

Report events issued when end user interacts with customer's application that uses Cloud Talent Solution. You may inspect the created events in self service tools. Learn more about self service tools.

Parameters
NameDescription
requestCreateClientEventRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
ClientEvent

The response received from the server.

CreateClientEvent(CreateClientEventRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual ClientEvent CreateClientEvent(CreateClientEventRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))

Report events issued when end user interacts with customer's application that uses Cloud Talent Solution. You may inspect the created events in self service tools. Learn more about self service tools.

Parameters
NameDescription
requestCreateClientEventRequest

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
ClientEvent

The response received from the server.

CreateClientEventAsync(CreateClientEventRequest, CallOptions)

public virtual AsyncUnaryCall<ClientEvent> CreateClientEventAsync(CreateClientEventRequest request, CallOptions options)

Report events issued when end user interacts with customer's application that uses Cloud Talent Solution. You may inspect the created events in self service tools. Learn more about self service tools.

Parameters
NameDescription
requestCreateClientEventRequest

The request to send to the server.

optionsCallOptions

The options for the call.

Returns
TypeDescription
AsyncUnaryCall<ClientEvent>

The call object.

CreateClientEventAsync(CreateClientEventRequest, Metadata, Nullable<DateTime>, CancellationToken)

public virtual AsyncUnaryCall<ClientEvent> CreateClientEventAsync(CreateClientEventRequest request, Metadata headers = null, DateTime? deadline = default(DateTime? ), CancellationToken cancellationToken = default(CancellationToken))

Report events issued when end user interacts with customer's application that uses Cloud Talent Solution. You may inspect the created events in self service tools. Learn more about self service tools.

Parameters
NameDescription
requestCreateClientEventRequest

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<ClientEvent>

The call object.

NewInstance(ClientBase.ClientBaseConfiguration)

protected override EventService.EventServiceClient NewInstance(ClientBase.ClientBaseConfiguration configuration)

Creates a new instance of client from given ClientBaseConfiguration.

Parameter
NameDescription
configurationClientBase.ClientBaseConfiguration
Returns
TypeDescription
EventService.EventServiceClient
Overrides
Grpc.Core.ClientBase<Google.Cloud.Talent.V4.EventService.EventServiceClient>.NewInstance(Grpc.Core.ClientBase.ClientBaseConfiguration)