Class EventServiceClient (1.0.0)

public abstract class EventServiceClient

EventService client wrapper, for convenient use.

Inheritance

System.Object > EventServiceClient

Namespace

Google.Cloud.Talent.V4

Assembly

Google.Cloud.Talent.V4.dll

Remarks

A service handles client event report.

Properties

DefaultEndpoint

public static string DefaultEndpoint { get; }

The default endpoint for the EventService service, which is a host of "jobs.googleapis.com" and a port of 443.

Property Value
TypeDescription
System.String

DefaultScopes

public static IReadOnlyList<string> DefaultScopes { get; }

The default EventService scopes.

Property Value
TypeDescription
System.Collections.Generic.IReadOnlyList<System.String>
Remarks

GrpcClient

public virtual EventService.EventServiceClient GrpcClient { get; }

The underlying gRPC EventService client

Property Value
TypeDescription
EventService.EventServiceClient

Methods

Create()

public static EventServiceClient Create()

Synchronously creates a EventServiceClient using the default credentials, endpoint and settings. To specify custom credentials or other settings, use EventServiceClientBuilder.

Returns
TypeDescription
EventServiceClient

The created EventServiceClient.

CreateAsync(CancellationToken)

public static Task<EventServiceClient> CreateAsync(CancellationToken cancellationToken = default(CancellationToken))

Asynchronously creates a EventServiceClient using the default credentials, endpoint and settings. To specify custom credentials or other settings, use EventServiceClientBuilder.

Parameter
NameDescription
cancellationTokenSystem.Threading.CancellationToken

The System.Threading.CancellationToken to use while creating the client.

Returns
TypeDescription
System.Threading.Tasks.Task<EventServiceClient>

The task representing the created EventServiceClient.

CreateClientEvent(CreateClientEventRequest, CallSettings)

public virtual ClientEvent CreateClientEvent(CreateClientEventRequest request, CallSettings callSettings = null)

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 object containing all of the parameters for the API call.

callSettingsGoogle.Api.Gax.Grpc.CallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
ClientEvent

The RPC response.

CreateClientEvent(TenantName, ClientEvent, CallSettings)

public virtual ClientEvent CreateClientEvent(TenantName parent, ClientEvent clientEvent, CallSettings callSettings = null)

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
parentTenantName

Required. Resource name of the tenant under which the event is created.

The format is "projects/{project_id}/tenants/{tenant_id}", for example, "projects/foo/tenants/bar".

clientEventClientEvent

Required. Events issued when end user interacts with customer's application that uses Cloud Talent Solution.

callSettingsGoogle.Api.Gax.Grpc.CallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
ClientEvent

The RPC response.

CreateClientEvent(String, ClientEvent, CallSettings)

public virtual ClientEvent CreateClientEvent(string parent, ClientEvent clientEvent, CallSettings callSettings = null)

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
parentSystem.String

Required. Resource name of the tenant under which the event is created.

The format is "projects/{project_id}/tenants/{tenant_id}", for example, "projects/foo/tenants/bar".

clientEventClientEvent

Required. Events issued when end user interacts with customer's application that uses Cloud Talent Solution.

callSettingsGoogle.Api.Gax.Grpc.CallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
ClientEvent

The RPC response.

CreateClientEventAsync(CreateClientEventRequest, CallSettings)

public virtual Task<ClientEvent> CreateClientEventAsync(CreateClientEventRequest request, CallSettings callSettings = null)

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 object containing all of the parameters for the API call.

callSettingsGoogle.Api.Gax.Grpc.CallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
System.Threading.Tasks.Task<ClientEvent>

A Task containing the RPC response.

CreateClientEventAsync(CreateClientEventRequest, CancellationToken)

public virtual Task<ClientEvent> CreateClientEventAsync(CreateClientEventRequest request, CancellationToken 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 object containing all of the parameters for the API call.

cancellationTokenSystem.Threading.CancellationToken

A System.Threading.CancellationToken to use for this RPC.

Returns
TypeDescription
System.Threading.Tasks.Task<ClientEvent>

A Task containing the RPC response.

CreateClientEventAsync(TenantName, ClientEvent, CallSettings)

public virtual Task<ClientEvent> CreateClientEventAsync(TenantName parent, ClientEvent clientEvent, CallSettings callSettings = null)

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
parentTenantName

Required. Resource name of the tenant under which the event is created.

The format is "projects/{project_id}/tenants/{tenant_id}", for example, "projects/foo/tenants/bar".

clientEventClientEvent

Required. Events issued when end user interacts with customer's application that uses Cloud Talent Solution.

callSettingsGoogle.Api.Gax.Grpc.CallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
System.Threading.Tasks.Task<ClientEvent>

A Task containing the RPC response.

CreateClientEventAsync(TenantName, ClientEvent, CancellationToken)

public virtual Task<ClientEvent> CreateClientEventAsync(TenantName parent, ClientEvent clientEvent, CancellationToken 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
parentTenantName

Required. Resource name of the tenant under which the event is created.

The format is "projects/{project_id}/tenants/{tenant_id}", for example, "projects/foo/tenants/bar".

clientEventClientEvent

Required. Events issued when end user interacts with customer's application that uses Cloud Talent Solution.

cancellationTokenSystem.Threading.CancellationToken

A System.Threading.CancellationToken to use for this RPC.

Returns
TypeDescription
System.Threading.Tasks.Task<ClientEvent>

A Task containing the RPC response.

CreateClientEventAsync(String, ClientEvent, CallSettings)

public virtual Task<ClientEvent> CreateClientEventAsync(string parent, ClientEvent clientEvent, CallSettings callSettings = null)

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
parentSystem.String

Required. Resource name of the tenant under which the event is created.

The format is "projects/{project_id}/tenants/{tenant_id}", for example, "projects/foo/tenants/bar".

clientEventClientEvent

Required. Events issued when end user interacts with customer's application that uses Cloud Talent Solution.

callSettingsGoogle.Api.Gax.Grpc.CallSettings

If not null, applies overrides to this RPC call.

Returns
TypeDescription
System.Threading.Tasks.Task<ClientEvent>

A Task containing the RPC response.

CreateClientEventAsync(String, ClientEvent, CancellationToken)

public virtual Task<ClientEvent> CreateClientEventAsync(string parent, ClientEvent clientEvent, CancellationToken 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
parentSystem.String

Required. Resource name of the tenant under which the event is created.

The format is "projects/{project_id}/tenants/{tenant_id}", for example, "projects/foo/tenants/bar".

clientEventClientEvent

Required. Events issued when end user interacts with customer's application that uses Cloud Talent Solution.

cancellationTokenSystem.Threading.CancellationToken

A System.Threading.CancellationToken to use for this RPC.

Returns
TypeDescription
System.Threading.Tasks.Task<ClientEvent>

A Task containing the RPC response.

ShutdownDefaultChannelsAsync()

public static Task ShutdownDefaultChannelsAsync()

Shuts down any channels automatically created by Create() and CreateAsync(CancellationToken). Channels which weren't automatically created are not affected.

Returns
TypeDescription
System.Threading.Tasks.Task

A task representing the asynchronous shutdown operation.

Remarks

After calling this method, further calls to Create() and CreateAsync(CancellationToken) will create new channels, which could in turn be shut down by another call to this method.