public final ClientEvent createClientEvent(TenantName parent, ClientEvent clientEvent) {
    CreateClientEventRequest request =
        CreateClientEventRequest.newBuilder()
            .setParent(parent == null ? null : parent.toString())
            .setClientEvent(clientEvent)
            .build();
    return createClientEvent(request);
  }
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.

<p>Sample code:

<pre>{@code
// This snippet has been automatically generated and should be regarded as a code template only.
// It will require modifications to work:
// - It may require correct/in-range values for request initialization.
// - It may require specifying regional endpoints when creating the service client as shown in
// https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
try (EventServiceClient eventServiceClient = EventServiceClient.create()) {
  TenantName parent = TenantName.of("[PROJECT]", "[TENANT]");
  ClientEvent clientEvent = ClientEvent.newBuilder().build();
  ClientEvent response = eventServiceClient.createClientEvent(parent, clientEvent);
}
}</pre>

@param parent Required. Resource name of the tenant under which the event is created.
    <p>The format is "projects/{project_id}/tenants/{tenant_id}", for example,
    "projects/foo/tenants/bar".
@param clientEvent Required. Events issued when end user interacts with customer's application
    that uses Cloud Talent Solution.
@throws com.google.api.gax.rpc.ApiException if the remote call fails
java-talent/google-cloud-talent/src/main/java/com/google/cloud/talent/v4/EventServiceClient.java