/// <summary>Snippet for CompleteQueryAsync</summary>
        public async Task CompleteQueryAsync_RequestObject()
        {
            // Snippet: CompleteQueryAsync(CompleteQueryRequest,CallSettings)
            // Additional: CompleteQueryAsync(CompleteQueryRequest,CancellationToken)
            // Create client
            CompletionClient completionClient = await CompletionClient.CreateAsync();

            // Initialize request argument(s)
            CompleteQueryRequest request = new CompleteQueryRequest
            {
                ParentAsTenantOrProjectNameOneof = TenantOrProjectNameOneof.From(new TenantName("[PROJECT]", "[TENANT]")),
                Query    = "",
                PageSize = 0,
            };
            // Make the request
            CompleteQueryResponse response = await completionClient.CompleteQueryAsync(request);

            // End snippet
        }
        /// <summary>Snippet for CompleteQueryAsync</summary>
        public async Task CompleteQueryAsync_RequestObject()
        {
            // Snippet: CompleteQueryAsync(CompleteQueryRequest,CallSettings)
            // Additional: CompleteQueryAsync(CompleteQueryRequest,CancellationToken)
            // Create client
            CompletionClient completionClient = await CompletionClient.CreateAsync();

            // Initialize request argument(s)
            CompleteQueryRequest request = new CompleteQueryRequest
            {
                Name     = new ProjectName("[PROJECT]").ToString(),
                Query    = "",
                PageSize = 0,
            };
            // Make the request
            CompleteQueryResponse response = await completionClient.CompleteQueryAsync(request);

            // End snippet
        }
        /// <summary>Snippet for CompleteQueryAsync</summary>
        public async Task CompleteQueryRequestObjectAsync()
        {
            // Snippet: CompleteQueryAsync(CompleteQueryRequest, CallSettings)
            // Additional: CompleteQueryAsync(CompleteQueryRequest, CancellationToken)
            // Create client
            CompletionClient completionClient = await CompletionClient.CreateAsync();

            // Initialize request argument(s)
            CompleteQueryRequest request = new CompleteQueryRequest
            {
                ParentAsTenantName = TenantName.FromProjectTenant("[PROJECT]", "[TENANT]"),
                Query                = "",
                LanguageCodes        = { "", },
                PageSize             = 0,
                CompanyAsCompanyName = CompanyName.FromProjectTenantCompany("[PROJECT]", "[TENANT]", "[COMPANY]"),
                Scope                = CompleteQueryRequest.Types.CompletionScope.Unspecified,
                Type = CompleteQueryRequest.Types.CompletionType.Unspecified,
            };
            // Make the request
            CompleteQueryResponse response = await completionClient.CompleteQueryAsync(request);

            // End snippet
        }