From f8b75005d93f0be80d99ee231c9179d4109b85cb Mon Sep 17 00:00:00 2001 From: "gcf-owl-bot[bot]" <78513119+gcf-owl-bot[bot]@users.noreply.github.com> Date: Tue, 5 Nov 2024 12:18:24 -0800 Subject: [PATCH] chore: add types for async methods (#7805) PiperOrigin-RevId: 693215877 Source-Link: https://github.com/googleapis/googleapis/commit/bb6b53e326ce2db403d18be7158c265e07948920 Source-Link: https://github.com/googleapis/googleapis-gen/commit/db8b5a93484ad44055b2bacc4c7cf87e970fe0ed Copy-Tag: eyJwIjoiV2ViUmlzay8uT3dsQm90LnlhbWwiLCJoIjoiZGI4YjVhOTM0ODRhZDQ0MDU1YjJiYWNjNGM3Y2Y4N2U5NzBmZTBlZCJ9 Copy-Tag: eyJwIjoiV2ViU2VjdXJpdHlTY2FubmVyLy5Pd2xCb3QueWFtbCIsImgiOiJkYjhiNWE5MzQ4NGFkNDQwNTViMmJhY2M0YzdjZjg3ZTk3MGZlMGVkIn0= Copy-Tag: eyJwIjoiV29ya2Zsb3dzLy5Pd2xCb3QueWFtbCIsImgiOiJkYjhiNWE5MzQ4NGFkNDQwNTViMmJhY2M0YzdjZjg3ZTk3MGZlMGVkIn0= --- .../src/V1/Client/WebRiskServiceClient.php | 10 +++---- .../V1/Client/WebSecurityScannerClient.php | 26 +++++++++---------- .../Executions/V1/Client/ExecutionsClient.php | 8 +++--- Workflows/src/V1/Client/WorkflowsClient.php | 14 +++++----- 4 files changed, 29 insertions(+), 29 deletions(-) diff --git a/WebRisk/src/V1/Client/WebRiskServiceClient.php b/WebRisk/src/V1/Client/WebRiskServiceClient.php index 87ede68c0a42..6767c1192be5 100644 --- a/WebRisk/src/V1/Client/WebRiskServiceClient.php +++ b/WebRisk/src/V1/Client/WebRiskServiceClient.php @@ -58,11 +58,11 @@ * name, and additionally a parseName method to extract the individual identifiers * contained within formatted names that are returned by the API. * - * @method PromiseInterface computeThreatListDiffAsync(ComputeThreatListDiffRequest $request, array $optionalArgs = []) - * @method PromiseInterface createSubmissionAsync(CreateSubmissionRequest $request, array $optionalArgs = []) - * @method PromiseInterface searchHashesAsync(SearchHashesRequest $request, array $optionalArgs = []) - * @method PromiseInterface searchUrisAsync(SearchUrisRequest $request, array $optionalArgs = []) - * @method PromiseInterface submitUriAsync(SubmitUriRequest $request, array $optionalArgs = []) + * @method PromiseInterface computeThreatListDiffAsync(ComputeThreatListDiffRequest $request, array $optionalArgs = []) + * @method PromiseInterface createSubmissionAsync(CreateSubmissionRequest $request, array $optionalArgs = []) + * @method PromiseInterface searchHashesAsync(SearchHashesRequest $request, array $optionalArgs = []) + * @method PromiseInterface searchUrisAsync(SearchUrisRequest $request, array $optionalArgs = []) + * @method PromiseInterface submitUriAsync(SubmitUriRequest $request, array $optionalArgs = []) */ final class WebRiskServiceClient { diff --git a/WebSecurityScanner/src/V1/Client/WebSecurityScannerClient.php b/WebSecurityScanner/src/V1/Client/WebSecurityScannerClient.php index e6b2d9c7b769..53c1cca0820c 100644 --- a/WebSecurityScanner/src/V1/Client/WebSecurityScannerClient.php +++ b/WebSecurityScanner/src/V1/Client/WebSecurityScannerClient.php @@ -59,19 +59,19 @@ * This class provides the ability to make remote calls to the backing service through method * calls that map to API methods. * - * @method PromiseInterface createScanConfigAsync(CreateScanConfigRequest $request, array $optionalArgs = []) - * @method PromiseInterface deleteScanConfigAsync(DeleteScanConfigRequest $request, array $optionalArgs = []) - * @method PromiseInterface getFindingAsync(GetFindingRequest $request, array $optionalArgs = []) - * @method PromiseInterface getScanConfigAsync(GetScanConfigRequest $request, array $optionalArgs = []) - * @method PromiseInterface getScanRunAsync(GetScanRunRequest $request, array $optionalArgs = []) - * @method PromiseInterface listCrawledUrlsAsync(ListCrawledUrlsRequest $request, array $optionalArgs = []) - * @method PromiseInterface listFindingTypeStatsAsync(ListFindingTypeStatsRequest $request, array $optionalArgs = []) - * @method PromiseInterface listFindingsAsync(ListFindingsRequest $request, array $optionalArgs = []) - * @method PromiseInterface listScanConfigsAsync(ListScanConfigsRequest $request, array $optionalArgs = []) - * @method PromiseInterface listScanRunsAsync(ListScanRunsRequest $request, array $optionalArgs = []) - * @method PromiseInterface startScanRunAsync(StartScanRunRequest $request, array $optionalArgs = []) - * @method PromiseInterface stopScanRunAsync(StopScanRunRequest $request, array $optionalArgs = []) - * @method PromiseInterface updateScanConfigAsync(UpdateScanConfigRequest $request, array $optionalArgs = []) + * @method PromiseInterface createScanConfigAsync(CreateScanConfigRequest $request, array $optionalArgs = []) + * @method PromiseInterface deleteScanConfigAsync(DeleteScanConfigRequest $request, array $optionalArgs = []) + * @method PromiseInterface getFindingAsync(GetFindingRequest $request, array $optionalArgs = []) + * @method PromiseInterface getScanConfigAsync(GetScanConfigRequest $request, array $optionalArgs = []) + * @method PromiseInterface getScanRunAsync(GetScanRunRequest $request, array $optionalArgs = []) + * @method PromiseInterface listCrawledUrlsAsync(ListCrawledUrlsRequest $request, array $optionalArgs = []) + * @method PromiseInterface listFindingTypeStatsAsync(ListFindingTypeStatsRequest $request, array $optionalArgs = []) + * @method PromiseInterface listFindingsAsync(ListFindingsRequest $request, array $optionalArgs = []) + * @method PromiseInterface listScanConfigsAsync(ListScanConfigsRequest $request, array $optionalArgs = []) + * @method PromiseInterface listScanRunsAsync(ListScanRunsRequest $request, array $optionalArgs = []) + * @method PromiseInterface startScanRunAsync(StartScanRunRequest $request, array $optionalArgs = []) + * @method PromiseInterface stopScanRunAsync(StopScanRunRequest $request, array $optionalArgs = []) + * @method PromiseInterface updateScanConfigAsync(UpdateScanConfigRequest $request, array $optionalArgs = []) */ final class WebSecurityScannerClient { diff --git a/Workflows/src/Executions/V1/Client/ExecutionsClient.php b/Workflows/src/Executions/V1/Client/ExecutionsClient.php index 4986f4827c69..cd9f465a0902 100644 --- a/Workflows/src/Executions/V1/Client/ExecutionsClient.php +++ b/Workflows/src/Executions/V1/Client/ExecutionsClient.php @@ -52,10 +52,10 @@ * name, and additionally a parseName method to extract the individual identifiers * contained within formatted names that are returned by the API. * - * @method PromiseInterface cancelExecutionAsync(CancelExecutionRequest $request, array $optionalArgs = []) - * @method PromiseInterface createExecutionAsync(CreateExecutionRequest $request, array $optionalArgs = []) - * @method PromiseInterface getExecutionAsync(GetExecutionRequest $request, array $optionalArgs = []) - * @method PromiseInterface listExecutionsAsync(ListExecutionsRequest $request, array $optionalArgs = []) + * @method PromiseInterface cancelExecutionAsync(CancelExecutionRequest $request, array $optionalArgs = []) + * @method PromiseInterface createExecutionAsync(CreateExecutionRequest $request, array $optionalArgs = []) + * @method PromiseInterface getExecutionAsync(GetExecutionRequest $request, array $optionalArgs = []) + * @method PromiseInterface listExecutionsAsync(ListExecutionsRequest $request, array $optionalArgs = []) */ final class ExecutionsClient { diff --git a/Workflows/src/V1/Client/WorkflowsClient.php b/Workflows/src/V1/Client/WorkflowsClient.php index e1557a7556e2..876d6a87a1c6 100644 --- a/Workflows/src/V1/Client/WorkflowsClient.php +++ b/Workflows/src/V1/Client/WorkflowsClient.php @@ -60,13 +60,13 @@ * name, and additionally a parseName method to extract the individual identifiers * contained within formatted names that are returned by the API. * - * @method PromiseInterface createWorkflowAsync(CreateWorkflowRequest $request, array $optionalArgs = []) - * @method PromiseInterface deleteWorkflowAsync(DeleteWorkflowRequest $request, array $optionalArgs = []) - * @method PromiseInterface getWorkflowAsync(GetWorkflowRequest $request, array $optionalArgs = []) - * @method PromiseInterface listWorkflowsAsync(ListWorkflowsRequest $request, array $optionalArgs = []) - * @method PromiseInterface updateWorkflowAsync(UpdateWorkflowRequest $request, array $optionalArgs = []) - * @method PromiseInterface getLocationAsync(GetLocationRequest $request, array $optionalArgs = []) - * @method PromiseInterface listLocationsAsync(ListLocationsRequest $request, array $optionalArgs = []) + * @method PromiseInterface createWorkflowAsync(CreateWorkflowRequest $request, array $optionalArgs = []) + * @method PromiseInterface deleteWorkflowAsync(DeleteWorkflowRequest $request, array $optionalArgs = []) + * @method PromiseInterface getWorkflowAsync(GetWorkflowRequest $request, array $optionalArgs = []) + * @method PromiseInterface listWorkflowsAsync(ListWorkflowsRequest $request, array $optionalArgs = []) + * @method PromiseInterface updateWorkflowAsync(UpdateWorkflowRequest $request, array $optionalArgs = []) + * @method PromiseInterface getLocationAsync(GetLocationRequest $request, array $optionalArgs = []) + * @method PromiseInterface listLocationsAsync(ListLocationsRequest $request, array $optionalArgs = []) */ final class WorkflowsClient {