Skip to content

Commit

Permalink
chore: add types for async methods (#7805)
Browse files Browse the repository at this point in the history
PiperOrigin-RevId: 693215877
Source-Link: googleapis/googleapis@bb6b53e
Source-Link: googleapis/googleapis-gen@db8b5a9
Copy-Tag: eyJwIjoiV2ViUmlzay8uT3dsQm90LnlhbWwiLCJoIjoiZGI4YjVhOTM0ODRhZDQ0MDU1YjJiYWNjNGM3Y2Y4N2U5NzBmZTBlZCJ9
Copy-Tag: eyJwIjoiV2ViU2VjdXJpdHlTY2FubmVyLy5Pd2xCb3QueWFtbCIsImgiOiJkYjhiNWE5MzQ4NGFkNDQwNTViMmJhY2M0YzdjZjg3ZTk3MGZlMGVkIn0=
Copy-Tag: eyJwIjoiV29ya2Zsb3dzLy5Pd2xCb3QueWFtbCIsImgiOiJkYjhiNWE5MzQ4NGFkNDQwNTViMmJhY2M0YzdjZjg3ZTk3MGZlMGVkIn0=
  • Loading branch information
gcf-owl-bot[bot] authored Nov 5, 2024
1 parent 8ae7f43 commit f8b7500
Show file tree
Hide file tree
Showing 4 changed files with 29 additions and 29 deletions.
10 changes: 5 additions & 5 deletions WebRisk/src/V1/Client/WebRiskServiceClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -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<ComputeThreatListDiffResponse> computeThreatListDiffAsync(ComputeThreatListDiffRequest $request, array $optionalArgs = [])
* @method PromiseInterface<Submission> createSubmissionAsync(CreateSubmissionRequest $request, array $optionalArgs = [])
* @method PromiseInterface<SearchHashesResponse> searchHashesAsync(SearchHashesRequest $request, array $optionalArgs = [])
* @method PromiseInterface<SearchUrisResponse> searchUrisAsync(SearchUrisRequest $request, array $optionalArgs = [])
* @method PromiseInterface<OperationResponse> submitUriAsync(SubmitUriRequest $request, array $optionalArgs = [])
*/
final class WebRiskServiceClient
{
Expand Down
26 changes: 13 additions & 13 deletions WebSecurityScanner/src/V1/Client/WebSecurityScannerClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -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<ScanConfig> createScanConfigAsync(CreateScanConfigRequest $request, array $optionalArgs = [])
* @method PromiseInterface<void> deleteScanConfigAsync(DeleteScanConfigRequest $request, array $optionalArgs = [])
* @method PromiseInterface<Finding> getFindingAsync(GetFindingRequest $request, array $optionalArgs = [])
* @method PromiseInterface<ScanConfig> getScanConfigAsync(GetScanConfigRequest $request, array $optionalArgs = [])
* @method PromiseInterface<ScanRun> getScanRunAsync(GetScanRunRequest $request, array $optionalArgs = [])
* @method PromiseInterface<PagedListResponse> listCrawledUrlsAsync(ListCrawledUrlsRequest $request, array $optionalArgs = [])
* @method PromiseInterface<ListFindingTypeStatsResponse> listFindingTypeStatsAsync(ListFindingTypeStatsRequest $request, array $optionalArgs = [])
* @method PromiseInterface<PagedListResponse> listFindingsAsync(ListFindingsRequest $request, array $optionalArgs = [])
* @method PromiseInterface<PagedListResponse> listScanConfigsAsync(ListScanConfigsRequest $request, array $optionalArgs = [])
* @method PromiseInterface<PagedListResponse> listScanRunsAsync(ListScanRunsRequest $request, array $optionalArgs = [])
* @method PromiseInterface<ScanRun> startScanRunAsync(StartScanRunRequest $request, array $optionalArgs = [])
* @method PromiseInterface<ScanRun> stopScanRunAsync(StopScanRunRequest $request, array $optionalArgs = [])
* @method PromiseInterface<ScanConfig> updateScanConfigAsync(UpdateScanConfigRequest $request, array $optionalArgs = [])
*/
final class WebSecurityScannerClient
{
Expand Down
8 changes: 4 additions & 4 deletions Workflows/src/Executions/V1/Client/ExecutionsClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -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<Execution> cancelExecutionAsync(CancelExecutionRequest $request, array $optionalArgs = [])
* @method PromiseInterface<Execution> createExecutionAsync(CreateExecutionRequest $request, array $optionalArgs = [])
* @method PromiseInterface<Execution> getExecutionAsync(GetExecutionRequest $request, array $optionalArgs = [])
* @method PromiseInterface<PagedListResponse> listExecutionsAsync(ListExecutionsRequest $request, array $optionalArgs = [])
*/
final class ExecutionsClient
{
Expand Down
14 changes: 7 additions & 7 deletions Workflows/src/V1/Client/WorkflowsClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -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<OperationResponse> createWorkflowAsync(CreateWorkflowRequest $request, array $optionalArgs = [])
* @method PromiseInterface<OperationResponse> deleteWorkflowAsync(DeleteWorkflowRequest $request, array $optionalArgs = [])
* @method PromiseInterface<Workflow> getWorkflowAsync(GetWorkflowRequest $request, array $optionalArgs = [])
* @method PromiseInterface<PagedListResponse> listWorkflowsAsync(ListWorkflowsRequest $request, array $optionalArgs = [])
* @method PromiseInterface<OperationResponse> updateWorkflowAsync(UpdateWorkflowRequest $request, array $optionalArgs = [])
* @method PromiseInterface<Location> getLocationAsync(GetLocationRequest $request, array $optionalArgs = [])
* @method PromiseInterface<PagedListResponse> listLocationsAsync(ListLocationsRequest $request, array $optionalArgs = [])
*/
final class WorkflowsClient
{
Expand Down

0 comments on commit f8b7500

Please sign in to comment.