public abstract class EventServiceClient
EventService client wrapper, for convenient use.
Inheritance
System.Object > EventServiceClientNamespace
Google.Cloud.Talent.V4Assembly
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 | |
---|---|
Type | Description |
System.String |
DefaultScopes
public static IReadOnlyList<string> DefaultScopes { get; }
The default EventService scopes.
Property Value | |
---|---|
Type | Description |
System.Collections.Generic.IReadOnlyList<System.String> |
The default EventService scopes are:
GrpcClient
public virtual EventService.EventServiceClient GrpcClient { get; }
The underlying gRPC EventService client
Property Value | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
cancellationToken | System.Threading.CancellationToken The System.Threading.CancellationToken to use while creating the client. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | CreateClientEventRequest The request object containing all of the parameters for the API call. |
callSettings | Google.Api.Gax.Grpc.CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
parent | TenantName 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". |
clientEvent | ClientEvent Required. Events issued when end user interacts with customer's application that uses Cloud Talent Solution. |
callSettings | Google.Api.Gax.Grpc.CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
parent | System.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". |
clientEvent | ClientEvent Required. Events issued when end user interacts with customer's application that uses Cloud Talent Solution. |
callSettings | Google.Api.Gax.Grpc.CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | CreateClientEventRequest The request object containing all of the parameters for the API call. |
callSettings | Google.Api.Gax.Grpc.CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
request | CreateClientEventRequest The request object containing all of the parameters for the API call. |
cancellationToken | System.Threading.CancellationToken A System.Threading.CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
parent | TenantName 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". |
clientEvent | ClientEvent Required. Events issued when end user interacts with customer's application that uses Cloud Talent Solution. |
callSettings | Google.Api.Gax.Grpc.CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
parent | TenantName 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". |
clientEvent | ClientEvent Required. Events issued when end user interacts with customer's application that uses Cloud Talent Solution. |
cancellationToken | System.Threading.CancellationToken A System.Threading.CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
parent | System.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". |
clientEvent | ClientEvent Required. Events issued when end user interacts with customer's application that uses Cloud Talent Solution. |
callSettings | Google.Api.Gax.Grpc.CallSettings If not null, applies overrides to this RPC call. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
parent | System.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". |
clientEvent | ClientEvent Required. Events issued when end user interacts with customer's application that uses Cloud Talent Solution. |
cancellationToken | System.Threading.CancellationToken A System.Threading.CancellationToken to use for this RPC. |
Returns | |
---|---|
Type | Description |
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 | |
---|---|
Type | Description |
System.Threading.Tasks.Task | A task representing the asynchronous shutdown operation. |
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.