# Google Cloud Talent Solution v4beta1 API - Class EventServiceClient (3.0.0-beta07)

<button class="button button-with-icon cloud-select-dropdown__button " aria-haspopup="true">Version latest</button>

- [3.0.0-beta07 (latest)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Talent.V4Beta1/latest/Google.Cloud.Talent.V4Beta1.EventServiceClient)
- [3.0.0-beta06](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Talent.V4Beta1/3.0.0-beta06/Google.Cloud.Talent.V4Beta1.EventServiceClient)
- [2.0.0-beta07](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Talent.V4Beta1/2.0.0-beta07/Google.Cloud.Talent.V4Beta1.EventServiceClient)

    public abstract class EventServiceClient

Reference documentation and code samples for the Google Cloud Talent Solution v4beta1 API class EventServiceClient.

EventService client wrapper, for convenient use.

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> EventServiceClient

## Inherited Members

[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) [object.MemberwiseClone()](https://learn.microsoft.com/dotnet/api/system.object.memberwiseclone) [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Derived Types

[EventServiceClientImpl](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Talent.V4Beta1/latest/Google.Cloud.Talent.V4Beta1.EventServiceClientImpl)

## Namespace

[Google.Cloud.Talent.V4Beta1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Talent.V4Beta1/latest/Google.Cloud.Talent.V4Beta1)

## Assembly

Google.Cloud.Talent.V4Beta1.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** |
| `https://learn.microsoft.com/dotnet/api/system.string` |   |

### DefaultScopes

    public static IReadOnlyList<string> DefaultScopes { get; }

The default EventService scopes.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.collections.generic.ireadonlylist-1https://learn.microsoft.com/dotnet/api/system.string` |   |

**Remarks** The default EventService scopes are:

- <https://www.googleapis.com/auth/cloud-platform>
- <https://www.googleapis.com/auth/jobs>

<br />

### GrpcClient

    public virtual EventService.EventServiceClient GrpcClient { get; }

The underlying gRPC EventService client

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Talent.V4Beta1/latest/Google.Cloud.Talent.V4Beta1.EventServicehttps://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Talent.V4Beta1/latest/Google.Cloud.Talent.V4Beta1.EventService.EventServiceClient` |   |

### ServiceMetadata

    public static ServiceMetadata ServiceMetadata { get; }

The service metadata associated with this client type.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.ServiceMetadata.html` |   |

## Methods

### Create()

    public static EventServiceClient Create()

Synchronously creates a [EventServiceClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Talent.V4Beta1/latest/Google.Cloud.Talent.V4Beta1.EventServiceClient) using the default credentials, endpoint and
settings. To specify custom credentials or other settings, use [EventServiceClientBuilder](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Talent.V4Beta1/latest/Google.Cloud.Talent.V4Beta1.EventServiceClientBuilder).

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Talent.V4Beta1/latest/Google.Cloud.Talent.V4Beta1.EventServiceClient` | The created [EventServiceClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Talent.V4Beta1/latest/Google.Cloud.Talent.V4Beta1.EventServiceClient). |

### CreateAsync(CancellationToken)

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

Asynchronously creates a [EventServiceClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Talent.V4Beta1/latest/Google.Cloud.Talent.V4Beta1.EventServiceClient) using the default credentials, endpoint and
settings. To specify custom credentials or other settings, use [EventServiceClientBuilder](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Talent.V4Beta1/latest/Google.Cloud.Talent.V4Beta1.EventServiceClientBuilder).

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` The [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use while creating the client. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Talent.V4Beta1/latest/Google.Cloud.Talent.V4Beta1.EventServiceClient` | The task representing the created [EventServiceClient](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Talent.V4Beta1/latest/Google.Cloud.Talent.V4Beta1.EventServiceClient). |

### CreateClientEvent(ProjectName, ClientEvent, CallSettings)

    public virtual ClientEvent CreateClientEvent(ProjectName 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](https://console.cloud.google.com/talent-solution/overview).
[Learn
more](https://cloud.google.com/talent-solution/docs/management-tools)
about self service tools.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.ResourceNames.ProjectName.html` 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/tenant/bar". If tenant id is unspecified, a default tenant is created, for example, "projects/foo". |
| `clientEvent` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Talent.V4Beta1/latest/Google.Cloud.Talent.V4Beta1.ClientEvent` Required. Events issued when end user interacts with customer's application that uses Cloud Talent Solution. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Talent.V4Beta1/latest/Google.Cloud.Talent.V4Beta1.ClientEvent` | The RPC response. |

**Example**

    // Create client
    EventServiceClient eventServiceClient = EventServiceClient.Create();
    // Initialize request argument(s)
    ProjectName parent = ProjectName.FromProject("[PROJECT]");
    ClientEvent clientEvent = new ClientEvent();
    // Make the request
    ClientEvent response = eventServiceClient.CreateClientEvent(parent, clientEvent);

### 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](https://console.cloud.google.com/talent-solution/overview).
[Learn
more](https://cloud.google.com/talent-solution/docs/management-tools)
about self service tools.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Talent.V4Beta1/latest/Google.Cloud.Talent.V4Beta1.CreateClientEventRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Talent.V4Beta1/latest/Google.Cloud.Talent.V4Beta1.ClientEvent` | The RPC response. |

**Example**

    // Create client
    EventServiceClient eventServiceClient = EventServiceClient.Create();
    // Initialize request argument(s)
    CreateClientEventRequest request = new CreateClientEventRequest
    {
        ParentAsTenantName = TenantName.FromProjectTenant("[PROJECT]", "[TENANT]"),
        ClientEvent = new ClientEvent(),
    };
    // Make the request
    ClientEvent response = eventServiceClient.CreateClientEvent(request);

### 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](https://console.cloud.google.com/talent-solution/overview).
[Learn
more](https://cloud.google.com/talent-solution/docs/management-tools)
about self service tools.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Talent.V4Beta1/latest/Google.Cloud.Talent.V4Beta1.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/tenant/bar". If tenant id is unspecified, a default tenant is created, for example, "projects/foo". |
| `clientEvent` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Talent.V4Beta1/latest/Google.Cloud.Talent.V4Beta1.ClientEvent` Required. Events issued when end user interacts with customer's application that uses Cloud Talent Solution. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Talent.V4Beta1/latest/Google.Cloud.Talent.V4Beta1.ClientEvent` | The RPC response. |

**Example**

    // Create client
    EventServiceClient eventServiceClient = EventServiceClient.Create();
    // Initialize request argument(s)
    TenantName parent = TenantName.FromProjectTenant("[PROJECT]", "[TENANT]");
    ClientEvent clientEvent = new ClientEvent();
    // Make the request
    ClientEvent response = eventServiceClient.CreateClientEvent(parent, clientEvent);

### 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](https://console.cloud.google.com/talent-solution/overview).
[Learn
more](https://cloud.google.com/talent-solution/docs/management-tools)
about self service tools.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://learn.microsoft.com/dotnet/api/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/tenant/bar". If tenant id is unspecified, a default tenant is created, for example, "projects/foo". |
| `clientEvent` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Talent.V4Beta1/latest/Google.Cloud.Talent.V4Beta1.ClientEvent` Required. Events issued when end user interacts with customer's application that uses Cloud Talent Solution. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Talent.V4Beta1/latest/Google.Cloud.Talent.V4Beta1.ClientEvent` | The RPC response. |

**Example**

    // Create client
    EventServiceClient eventServiceClient = EventServiceClient.Create();
    // Initialize request argument(s)
    string parent = "projects/[PROJECT]/tenants/[TENANT]";
    ClientEvent clientEvent = new ClientEvent();
    // Make the request
    ClientEvent response = eventServiceClient.CreateClientEvent(parent, clientEvent);

### CreateClientEventAsync(ProjectName, ClientEvent, CallSettings)

    public virtual Task<ClientEvent> CreateClientEventAsync(ProjectName 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](https://console.cloud.google.com/talent-solution/overview).
[Learn
more](https://cloud.google.com/talent-solution/docs/management-tools)
about self service tools.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.ResourceNames.ProjectName.html` 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/tenant/bar". If tenant id is unspecified, a default tenant is created, for example, "projects/foo". |
| `clientEvent` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Talent.V4Beta1/latest/Google.Cloud.Talent.V4Beta1.ClientEvent` Required. Events issued when end user interacts with customer's application that uses Cloud Talent Solution. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Talent.V4Beta1/latest/Google.Cloud.Talent.V4Beta1.ClientEvent` | A Task containing the RPC response. |

**Example**

    // Create client
    EventServiceClient eventServiceClient = await EventServiceClient.CreateAsync();
    // Initialize request argument(s)
    ProjectName parent = ProjectName.FromProject("[PROJECT]");
    ClientEvent clientEvent = new ClientEvent();
    // Make the request
    ClientEvent response = await eventServiceClient.CreateClientEventAsync(parent, clientEvent);

### CreateClientEventAsync(ProjectName, ClientEvent, CancellationToken)

    public virtual Task<ClientEvent> CreateClientEventAsync(ProjectName 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](https://console.cloud.google.com/talent-solution/overview).
[Learn
more](https://cloud.google.com/talent-solution/docs/management-tools)
about self service tools.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.ResourceNames.ProjectName.html` 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/tenant/bar". If tenant id is unspecified, a default tenant is created, for example, "projects/foo". |
| `clientEvent` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Talent.V4Beta1/latest/Google.Cloud.Talent.V4Beta1.ClientEvent` Required. Events issued when end user interacts with customer's application that uses Cloud Talent Solution. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Talent.V4Beta1/latest/Google.Cloud.Talent.V4Beta1.ClientEvent` | A Task containing the RPC response. |

**Example**

    // Create client
    EventServiceClient eventServiceClient = await EventServiceClient.CreateAsync();
    // Initialize request argument(s)
    ProjectName parent = ProjectName.FromProject("[PROJECT]");
    ClientEvent clientEvent = new ClientEvent();
    // Make the request
    ClientEvent response = await eventServiceClient.CreateClientEventAsync(parent, clientEvent);

### 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](https://console.cloud.google.com/talent-solution/overview).
[Learn
more](https://cloud.google.com/talent-solution/docs/management-tools)
about self service tools.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Talent.V4Beta1/latest/Google.Cloud.Talent.V4Beta1.CreateClientEventRequest` The request object containing all of the parameters for the API call. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Talent.V4Beta1/latest/Google.Cloud.Talent.V4Beta1.ClientEvent` | A Task containing the RPC response. |

**Example**

    // Create client
    EventServiceClient eventServiceClient = await EventServiceClient.CreateAsync();
    // Initialize request argument(s)
    CreateClientEventRequest request = new CreateClientEventRequest
    {
        ParentAsTenantName = TenantName.FromProjectTenant("[PROJECT]", "[TENANT]"),
        ClientEvent = new ClientEvent(),
    };
    // Make the request
    ClientEvent response = await eventServiceClient.CreateClientEventAsync(request);

### 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](https://console.cloud.google.com/talent-solution/overview).
[Learn
more](https://cloud.google.com/talent-solution/docs/management-tools)
about self service tools.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `request` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Talent.V4Beta1/latest/Google.Cloud.Talent.V4Beta1.CreateClientEventRequest` The request object containing all of the parameters for the API call. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Talent.V4Beta1/latest/Google.Cloud.Talent.V4Beta1.ClientEvent` | A Task containing the RPC response. |

**Example**

    // Create client
    EventServiceClient eventServiceClient = await EventServiceClient.CreateAsync();
    // Initialize request argument(s)
    CreateClientEventRequest request = new CreateClientEventRequest
    {
        ParentAsTenantName = TenantName.FromProjectTenant("[PROJECT]", "[TENANT]"),
        ClientEvent = new ClientEvent(),
    };
    // Make the request
    ClientEvent response = await eventServiceClient.CreateClientEventAsync(request);

### 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](https://console.cloud.google.com/talent-solution/overview).
[Learn
more](https://cloud.google.com/talent-solution/docs/management-tools)
about self service tools.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Talent.V4Beta1/latest/Google.Cloud.Talent.V4Beta1.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/tenant/bar". If tenant id is unspecified, a default tenant is created, for example, "projects/foo". |
| `clientEvent` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Talent.V4Beta1/latest/Google.Cloud.Talent.V4Beta1.ClientEvent` Required. Events issued when end user interacts with customer's application that uses Cloud Talent Solution. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Talent.V4Beta1/latest/Google.Cloud.Talent.V4Beta1.ClientEvent` | A Task containing the RPC response. |

**Example**

    // Create client
    EventServiceClient eventServiceClient = await EventServiceClient.CreateAsync();
    // Initialize request argument(s)
    TenantName parent = TenantName.FromProjectTenant("[PROJECT]", "[TENANT]");
    ClientEvent clientEvent = new ClientEvent();
    // Make the request
    ClientEvent response = await eventServiceClient.CreateClientEventAsync(parent, clientEvent);

### 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](https://console.cloud.google.com/talent-solution/overview).
[Learn
more](https://cloud.google.com/talent-solution/docs/management-tools)
about self service tools.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Talent.V4Beta1/latest/Google.Cloud.Talent.V4Beta1.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/tenant/bar". If tenant id is unspecified, a default tenant is created, for example, "projects/foo". |
| `clientEvent` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Talent.V4Beta1/latest/Google.Cloud.Talent.V4Beta1.ClientEvent` Required. Events issued when end user interacts with customer's application that uses Cloud Talent Solution. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Talent.V4Beta1/latest/Google.Cloud.Talent.V4Beta1.ClientEvent` | A Task containing the RPC response. |

**Example**

    // Create client
    EventServiceClient eventServiceClient = await EventServiceClient.CreateAsync();
    // Initialize request argument(s)
    TenantName parent = TenantName.FromProjectTenant("[PROJECT]", "[TENANT]");
    ClientEvent clientEvent = new ClientEvent();
    // Make the request
    ClientEvent response = await eventServiceClient.CreateClientEventAsync(parent, clientEvent);

### 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](https://console.cloud.google.com/talent-solution/overview).
[Learn
more](https://cloud.google.com/talent-solution/docs/management-tools)
about self service tools.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://learn.microsoft.com/dotnet/api/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/tenant/bar". If tenant id is unspecified, a default tenant is created, for example, "projects/foo". |
| `clientEvent` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Talent.V4Beta1/latest/Google.Cloud.Talent.V4Beta1.ClientEvent` Required. Events issued when end user interacts with customer's application that uses Cloud Talent Solution. |
| `callSettings` | `https://cloud.google.com/dotnet/docs/reference/Google.Api.Gax/latest/Google.Api.Gax.Grpc.CallSettings.html` If not null, applies overrides to this RPC call. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Talent.V4Beta1/latest/Google.Cloud.Talent.V4Beta1.ClientEvent` | A Task containing the RPC response. |

**Example**

    // Create client
    EventServiceClient eventServiceClient = await EventServiceClient.CreateAsync();
    // Initialize request argument(s)
    string parent = "projects/[PROJECT]/tenants/[TENANT]";
    ClientEvent clientEvent = new ClientEvent();
    // Make the request
    ClientEvent response = await eventServiceClient.CreateClientEventAsync(parent, clientEvent);

### 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](https://console.cloud.google.com/talent-solution/overview).
[Learn
more](https://cloud.google.com/talent-solution/docs/management-tools)
about self service tools.

| **Parameters** ||
|---|---|
| **Name** | **Description** |
| `parent` | `https://learn.microsoft.com/dotnet/api/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/tenant/bar". If tenant id is unspecified, a default tenant is created, for example, "projects/foo". |
| `clientEvent` | `https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Talent.V4Beta1/latest/Google.Cloud.Talent.V4Beta1.ClientEvent` Required. Events issued when end user interacts with customer's application that uses Cloud Talent Solution. |
| `cancellationToken` | `https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken` A [CancellationToken](https://learn.microsoft.com/dotnet/api/system.threading.cancellationtoken) to use for this RPC. |

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task-1https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Talent.V4Beta1/latest/Google.Cloud.Talent.V4Beta1.ClientEvent` | A Task containing the RPC response. |

**Example**

    // Create client
    EventServiceClient eventServiceClient = await EventServiceClient.CreateAsync();
    // Initialize request argument(s)
    string parent = "projects/[PROJECT]/tenants/[TENANT]";
    ClientEvent clientEvent = new ClientEvent();
    // Make the request
    ClientEvent response = await eventServiceClient.CreateClientEventAsync(parent, clientEvent);

### ShutdownDefaultChannelsAsync()

    public static Task ShutdownDefaultChannelsAsync()

Shuts down any channels automatically created by [Create()](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Talent.V4Beta1/latest/Google.Cloud.Talent.V4Beta1.EventServiceClient#Google_Cloud_Talent_V4Beta1_EventServiceClient_Create) and
[CreateAsync(CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Talent.V4Beta1/latest/Google.Cloud.Talent.V4Beta1.EventServiceClient#Google_Cloud_Talent_V4Beta1_EventServiceClient_CreateAsync_System_Threading_CancellationToken_). Channels which weren't automatically created are not
affected.

| **Returns** ||
|---|---|
| **Type** | **Description** |
| `https://learn.microsoft.com/dotnet/api/system.threading.tasks.task` | A task representing the asynchronous shutdown operation. |

**Remarks** After calling this method, further calls to [Create()](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Talent.V4Beta1/latest/Google.Cloud.Talent.V4Beta1.EventServiceClient#Google_Cloud_Talent_V4Beta1_EventServiceClient_Create) and
[CreateAsync(CancellationToken)](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Talent.V4Beta1/latest/Google.Cloud.Talent.V4Beta1.EventServiceClient#Google_Cloud_Talent_V4Beta1_EventServiceClient_CreateAsync_System_Threading_CancellationToken_) will create new channels, which could in turn be shut down
by another call to this method.