/// <summary>Snippet for DeleteIndexAsync</summary>
        public async Task DeleteIndexAsync()
        {
            // Snippet: DeleteIndexAsync(IndexName,CallSettings)
            // Additional: DeleteIndexAsync(IndexName,CancellationToken)
            // Create client
            FirestoreAdminClient firestoreAdminClient = await FirestoreAdminClient.CreateAsync();

            // Initialize request argument(s)
            IndexName name = new IndexName("[PROJECT]", "[DATABASE]", "[COLLECTION_ID]", "[INDEX_ID]");
            // Make the request
            await firestoreAdminClient.DeleteIndexAsync(name);

            // End snippet
        }
        public async Task DeleteIndexAsync()
        {
            // Snippet: DeleteIndexAsync(string,CallSettings)
            // Additional: DeleteIndexAsync(string,CancellationToken)
            // Create client
            FirestoreAdminClient firestoreAdminClient = await FirestoreAdminClient.CreateAsync();

            // Initialize request argument(s)
            string formattedName = new IndexName("[PROJECT]", "[DATABASE]", "[INDEX]").ToString();
            // Make the request
            await firestoreAdminClient.DeleteIndexAsync(formattedName);

            // End snippet
        }
        public async Task DeleteIndexAsync_RequestObject()
        {
            // Snippet: DeleteIndexAsync(DeleteIndexRequest,CallSettings)
            // Create client
            FirestoreAdminClient firestoreAdminClient = await FirestoreAdminClient.CreateAsync();

            // Initialize request argument(s)
            DeleteIndexRequest request = new DeleteIndexRequest
            {
                Name = new IndexName("[PROJECT]", "[DATABASE]", "[INDEX]").ToString(),
            };
            // Make the request
            await firestoreAdminClient.DeleteIndexAsync(request);

            // End snippet
        }