/// <summary>Snippet for ListFindings</summary>
        public async Task ListFindingsRequestObjectAsync()
        {
            // Snippet: ListFindingsAsync(ListFindingsRequest, CallSettings)
            // Create client
            WebSecurityScannerClient webSecurityScannerClient = await WebSecurityScannerClient.CreateAsync();

            // Initialize request argument(s)
            ListFindingsRequest request = new ListFindingsRequest
            {
                Parent = "",
                Filter = "",
            };
            // Make the request
            PagedAsyncEnumerable <ListFindingsResponse, Finding> response = webSecurityScannerClient.ListFindingsAsync(request);

            // Iterate over all response items, lazily performing RPCs as required
            await response.ForEachAsync((Finding 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((ListFindingsResponse page) =>
            {
                // Do something with each page of items
                Console.WriteLine("A page of results:");
                foreach (Finding 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 <Finding> 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 (Finding 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 DeleteScanConfigAsync</summary>
        public async Task DeleteScanConfigRequestObjectAsync()
        {
            // Snippet: DeleteScanConfigAsync(DeleteScanConfigRequest, CallSettings)
            // Additional: DeleteScanConfigAsync(DeleteScanConfigRequest, CancellationToken)
            // Create client
            WebSecurityScannerClient webSecurityScannerClient = await WebSecurityScannerClient.CreateAsync();

            // Initialize request argument(s)
            DeleteScanConfigRequest request = new DeleteScanConfigRequest {
                Name = "",
            };
            // Make the request
            await webSecurityScannerClient.DeleteScanConfigAsync(request);

            // End snippet
        }
        /// <summary>Snippet for ListFindingTypeStatsAsync</summary>
        public async Task ListFindingTypeStatsRequestObjectAsync()
        {
            // Snippet: ListFindingTypeStatsAsync(ListFindingTypeStatsRequest, CallSettings)
            // Additional: ListFindingTypeStatsAsync(ListFindingTypeStatsRequest, CancellationToken)
            // Create client
            WebSecurityScannerClient webSecurityScannerClient = await WebSecurityScannerClient.CreateAsync();

            // Initialize request argument(s)
            ListFindingTypeStatsRequest request = new ListFindingTypeStatsRequest {
                Parent = "",
            };
            // Make the request
            ListFindingTypeStatsResponse response = await webSecurityScannerClient.ListFindingTypeStatsAsync(request);

            // End snippet
        }
        /// <summary>Snippet for GetFindingAsync</summary>
        public async Task GetFindingRequestObjectAsync()
        {
            // Snippet: GetFindingAsync(GetFindingRequest, CallSettings)
            // Additional: GetFindingAsync(GetFindingRequest, CancellationToken)
            // Create client
            WebSecurityScannerClient webSecurityScannerClient = await WebSecurityScannerClient.CreateAsync();

            // Initialize request argument(s)
            GetFindingRequest request = new GetFindingRequest {
                Name = "",
            };
            // Make the request
            Finding response = await webSecurityScannerClient.GetFindingAsync(request);

            // End snippet
        }
        /// <summary>Snippet for StopScanRunAsync</summary>
        public async Task StopScanRunRequestObjectAsync()
        {
            // Snippet: StopScanRunAsync(StopScanRunRequest, CallSettings)
            // Additional: StopScanRunAsync(StopScanRunRequest, CancellationToken)
            // Create client
            WebSecurityScannerClient webSecurityScannerClient = await WebSecurityScannerClient.CreateAsync();

            // Initialize request argument(s)
            StopScanRunRequest request = new StopScanRunRequest {
                Name = "",
            };
            // Make the request
            ScanRun response = await webSecurityScannerClient.StopScanRunAsync(request);

            // End snippet
        }
        /// <summary>Snippet for CreateScanConfigAsync</summary>
        public async Task CreateScanConfigRequestObjectAsync()
        {
            // Snippet: CreateScanConfigAsync(CreateScanConfigRequest, CallSettings)
            // Additional: CreateScanConfigAsync(CreateScanConfigRequest, CancellationToken)
            // Create client
            WebSecurityScannerClient webSecurityScannerClient = await WebSecurityScannerClient.CreateAsync();

            // Initialize request argument(s)
            CreateScanConfigRequest request = new CreateScanConfigRequest
            {
                Parent     = "",
                ScanConfig = new ScanConfig(),
            };
            // Make the request
            ScanConfig response = await webSecurityScannerClient.CreateScanConfigAsync(request);

            // End snippet
        }
        /// <summary>Snippet for UpdateScanConfigAsync</summary>
        public async Task UpdateScanConfigRequestObjectAsync()
        {
            // Snippet: UpdateScanConfigAsync(UpdateScanConfigRequest, CallSettings)
            // Additional: UpdateScanConfigAsync(UpdateScanConfigRequest, CancellationToken)
            // Create client
            WebSecurityScannerClient webSecurityScannerClient = await WebSecurityScannerClient.CreateAsync();

            // Initialize request argument(s)
            UpdateScanConfigRequest request = new UpdateScanConfigRequest
            {
                ScanConfig = new ScanConfig(),
                UpdateMask = new FieldMask(),
            };
            // Make the request
            ScanConfig response = await webSecurityScannerClient.UpdateScanConfigAsync(request);

            // End snippet
        }