/// <summary>Snippet for CreateClientEventAsync</summary>
        public async Task CreateClientEventAsync()
        {
            // Snippet: CreateClientEventAsync(TenantOrProjectNameOneof,ClientEvent,CallSettings)
            // Additional: CreateClientEventAsync(TenantOrProjectNameOneof,ClientEvent,CancellationToken)
            // Create client
            EventServiceClient eventServiceClient = await EventServiceClient.CreateAsync();

            // Initialize request argument(s)
            TenantOrProjectNameOneof parent = TenantOrProjectNameOneof.From(new TenantName("[PROJECT]", "[TENANT]"));
            ClientEvent clientEvent         = new ClientEvent();
            // Make the request
            ClientEvent response = await eventServiceClient.CreateClientEventAsync(parent, clientEvent);

            // End snippet
        }
        /// <summary>Snippet for CreateClientEventAsync</summary>
        public async Task CreateClientEventAsync()
        {
            // Snippet: CreateClientEventAsync(ProjectName,ClientEvent,CallSettings)
            // Additional: CreateClientEventAsync(ProjectName,ClientEvent,CancellationToken)
            // Create client
            EventServiceClient eventServiceClient = await EventServiceClient.CreateAsync();

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

            // End snippet
        }
        /// <summary>Snippet for CreateClientEventAsync</summary>
        public async Task CreateClientEventAsync()
        {
            // Snippet: CreateClientEventAsync(string, ClientEvent, CallSettings)
            // Additional: CreateClientEventAsync(string, ClientEvent, CancellationToken)
            // 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);

            // End snippet
        }
        /// <summary>Snippet for CreateClientEventAsync</summary>
        public async Task CreateClientEventAsync_RequestObject()
        {
            // Snippet: CreateClientEventAsync(CreateClientEventRequest,CallSettings)
            // Additional: CreateClientEventAsync(CreateClientEventRequest,CancellationToken)
            // Create client
            EventServiceClient eventServiceClient = await EventServiceClient.CreateAsync();

            // Initialize request argument(s)
            CreateClientEventRequest request = new CreateClientEventRequest
            {
                ParentAsProjectName = new ProjectName("[PROJECT]"),
                ClientEvent         = new ClientEvent(),
            };
            // Make the request
            ClientEvent response = await eventServiceClient.CreateClientEventAsync(request);

            // End snippet
        }