/// <summary>Snippet for DeleteAccessApprovalSettingsAsync</summary>
        public async Task DeleteAccessApprovalSettingsAsync()
        {
            // Snippet: DeleteAccessApprovalSettingsAsync(string, CallSettings)
            // Additional: DeleteAccessApprovalSettingsAsync(string, CancellationToken)
            // Create client
            AccessApprovalServiceClient accessApprovalServiceClient = await AccessApprovalServiceClient.CreateAsync();

            // Initialize request argument(s)
            string name = "";
            // Make the request
            await accessApprovalServiceClient.DeleteAccessApprovalSettingsAsync(name);

            // End snippet
        }
        /// <summary>Snippet for ListApprovalRequestsAsync</summary>
        public async Task ListApprovalRequestsRequestObjectAsync()
        {
            // Snippet: ListApprovalRequestsAsync(ListApprovalRequestsMessage, CallSettings)
            // Create client
            AccessApprovalServiceClient accessApprovalServiceClient = await AccessApprovalServiceClient.CreateAsync();

            // Initialize request argument(s)
            ListApprovalRequestsMessage request = new ListApprovalRequestsMessage
            {
                Parent = "",
                Filter = "",
            };
            // Make the request
            PagedAsyncEnumerable <ListApprovalRequestsResponse, ApprovalRequest> response = accessApprovalServiceClient.ListApprovalRequestsAsync(request);

            // Iterate over all response items, lazily performing RPCs as required
            await response.ForEachAsync((ApprovalRequest item) =>
            {
                // Do something with each item
                Console.WriteLine(item);
            });

            // Or iterate over pages (of server-defined size), performing one RPC per page
            await response.AsRawResponses().ForEachAsync((ListApprovalRequestsResponse page) =>
            {
                // Do something with each page of items
                Console.WriteLine("A page of results:");
                foreach (ApprovalRequest item in page)
                {
                    // Do something with each item
                    Console.WriteLine(item);
                }
            });

            // Or retrieve a single page of known size (unless it's the final page), performing as many RPCs as required
            int pageSize = 10;
            Page <ApprovalRequest> singlePage = await response.ReadPageAsync(pageSize);

            // Do something with the page of items
            Console.WriteLine($"A page of {pageSize} results (unless it's the final page):");
            foreach (ApprovalRequest item in singlePage)
            {
                // Do something with each item
                Console.WriteLine(item);
            }
            // Store the pageToken, for when the next page is required.
            string nextPageToken = singlePage.NextPageToken;
            // End snippet
        }
        /// <summary>Snippet for UpdateAccessApprovalSettingsAsync</summary>
        public async Task UpdateAccessApprovalSettingsAsync()
        {
            // Snippet: UpdateAccessApprovalSettingsAsync(AccessApprovalSettings, FieldMask, CallSettings)
            // Additional: UpdateAccessApprovalSettingsAsync(AccessApprovalSettings, FieldMask, CancellationToken)
            // Create client
            AccessApprovalServiceClient accessApprovalServiceClient = await AccessApprovalServiceClient.CreateAsync();

            // Initialize request argument(s)
            AccessApprovalSettings settings = new AccessApprovalSettings();
            FieldMask updateMask            = new FieldMask();
            // Make the request
            AccessApprovalSettings response = await accessApprovalServiceClient.UpdateAccessApprovalSettingsAsync(settings, updateMask);

            // End snippet
        }
        /// <summary>Snippet for DeleteAccessApprovalSettingsAsync</summary>
        public async Task DeleteAccessApprovalSettingsRequestObjectAsync()
        {
            // Snippet: DeleteAccessApprovalSettingsAsync(DeleteAccessApprovalSettingsMessage, CallSettings)
            // Additional: DeleteAccessApprovalSettingsAsync(DeleteAccessApprovalSettingsMessage, CancellationToken)
            // Create client
            AccessApprovalServiceClient accessApprovalServiceClient = await AccessApprovalServiceClient.CreateAsync();

            // Initialize request argument(s)
            DeleteAccessApprovalSettingsMessage request = new DeleteAccessApprovalSettingsMessage {
                Name = "",
            };
            // Make the request
            await accessApprovalServiceClient.DeleteAccessApprovalSettingsAsync(request);

            // End snippet
        }
        /// <summary>Snippet for GetApprovalRequestAsync</summary>
        public async Task GetApprovalRequestRequestObjectAsync()
        {
            // Snippet: GetApprovalRequestAsync(GetApprovalRequestMessage, CallSettings)
            // Additional: GetApprovalRequestAsync(GetApprovalRequestMessage, CancellationToken)
            // Create client
            AccessApprovalServiceClient accessApprovalServiceClient = await AccessApprovalServiceClient.CreateAsync();

            // Initialize request argument(s)
            GetApprovalRequestMessage request = new GetApprovalRequestMessage {
                Name = "",
            };
            // Make the request
            ApprovalRequest response = await accessApprovalServiceClient.GetApprovalRequestAsync(request);

            // End snippet
        }
        /// <summary>Snippet for UpdateAccessApprovalSettingsAsync</summary>
        public async Task UpdateAccessApprovalSettingsRequestObjectAsync()
        {
            // Snippet: UpdateAccessApprovalSettingsAsync(UpdateAccessApprovalSettingsMessage, CallSettings)
            // Additional: UpdateAccessApprovalSettingsAsync(UpdateAccessApprovalSettingsMessage, CancellationToken)
            // Create client
            AccessApprovalServiceClient accessApprovalServiceClient = await AccessApprovalServiceClient.CreateAsync();

            // Initialize request argument(s)
            UpdateAccessApprovalSettingsMessage request = new UpdateAccessApprovalSettingsMessage
            {
                Settings   = new AccessApprovalSettings(),
                UpdateMask = new FieldMask(),
            };
            // Make the request
            AccessApprovalSettings response = await accessApprovalServiceClient.UpdateAccessApprovalSettingsAsync(request);

            // End snippet
        }