Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: [Many APIs] add response types for async magic methods #7785

Merged
merged 2 commits into from
Nov 1, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
92 changes: 46 additions & 46 deletions BareMetalSolution/src/V2/Client/BareMetalSolutionClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -113,52 +113,52 @@
* name, and additionally a parseName method to extract the individual identifiers
* contained within formatted names that are returned by the API.
*
* @method PromiseInterface createNfsShareAsync(CreateNfsShareRequest $request, array $optionalArgs = [])
* @method PromiseInterface createProvisioningConfigAsync(CreateProvisioningConfigRequest $request, array $optionalArgs = [])
* @method PromiseInterface createSSHKeyAsync(CreateSSHKeyRequest $request, array $optionalArgs = [])
* @method PromiseInterface createVolumeSnapshotAsync(CreateVolumeSnapshotRequest $request, array $optionalArgs = [])
* @method PromiseInterface deleteNfsShareAsync(DeleteNfsShareRequest $request, array $optionalArgs = [])
* @method PromiseInterface deleteSSHKeyAsync(DeleteSSHKeyRequest $request, array $optionalArgs = [])
* @method PromiseInterface deleteVolumeSnapshotAsync(DeleteVolumeSnapshotRequest $request, array $optionalArgs = [])
* @method PromiseInterface detachLunAsync(DetachLunRequest $request, array $optionalArgs = [])
* @method PromiseInterface disableInteractiveSerialConsoleAsync(DisableInteractiveSerialConsoleRequest $request, array $optionalArgs = [])
* @method PromiseInterface enableInteractiveSerialConsoleAsync(EnableInteractiveSerialConsoleRequest $request, array $optionalArgs = [])
* @method PromiseInterface evictLunAsync(EvictLunRequest $request, array $optionalArgs = [])
* @method PromiseInterface evictVolumeAsync(EvictVolumeRequest $request, array $optionalArgs = [])
* @method PromiseInterface getInstanceAsync(GetInstanceRequest $request, array $optionalArgs = [])
* @method PromiseInterface getLunAsync(GetLunRequest $request, array $optionalArgs = [])
* @method PromiseInterface getNetworkAsync(GetNetworkRequest $request, array $optionalArgs = [])
* @method PromiseInterface getNfsShareAsync(GetNfsShareRequest $request, array $optionalArgs = [])
* @method PromiseInterface getProvisioningConfigAsync(GetProvisioningConfigRequest $request, array $optionalArgs = [])
* @method PromiseInterface getVolumeAsync(GetVolumeRequest $request, array $optionalArgs = [])
* @method PromiseInterface getVolumeSnapshotAsync(GetVolumeSnapshotRequest $request, array $optionalArgs = [])
* @method PromiseInterface listInstancesAsync(ListInstancesRequest $request, array $optionalArgs = [])
* @method PromiseInterface listLunsAsync(ListLunsRequest $request, array $optionalArgs = [])
* @method PromiseInterface listNetworkUsageAsync(ListNetworkUsageRequest $request, array $optionalArgs = [])
* @method PromiseInterface listNetworksAsync(ListNetworksRequest $request, array $optionalArgs = [])
* @method PromiseInterface listNfsSharesAsync(ListNfsSharesRequest $request, array $optionalArgs = [])
* @method PromiseInterface listOSImagesAsync(ListOSImagesRequest $request, array $optionalArgs = [])
* @method PromiseInterface listProvisioningQuotasAsync(ListProvisioningQuotasRequest $request, array $optionalArgs = [])
* @method PromiseInterface listSSHKeysAsync(ListSSHKeysRequest $request, array $optionalArgs = [])
* @method PromiseInterface listVolumeSnapshotsAsync(ListVolumeSnapshotsRequest $request, array $optionalArgs = [])
* @method PromiseInterface listVolumesAsync(ListVolumesRequest $request, array $optionalArgs = [])
* @method PromiseInterface renameInstanceAsync(RenameInstanceRequest $request, array $optionalArgs = [])
* @method PromiseInterface renameNetworkAsync(RenameNetworkRequest $request, array $optionalArgs = [])
* @method PromiseInterface renameNfsShareAsync(RenameNfsShareRequest $request, array $optionalArgs = [])
* @method PromiseInterface renameVolumeAsync(RenameVolumeRequest $request, array $optionalArgs = [])
* @method PromiseInterface resetInstanceAsync(ResetInstanceRequest $request, array $optionalArgs = [])
* @method PromiseInterface resizeVolumeAsync(ResizeVolumeRequest $request, array $optionalArgs = [])
* @method PromiseInterface restoreVolumeSnapshotAsync(RestoreVolumeSnapshotRequest $request, array $optionalArgs = [])
* @method PromiseInterface startInstanceAsync(StartInstanceRequest $request, array $optionalArgs = [])
* @method PromiseInterface stopInstanceAsync(StopInstanceRequest $request, array $optionalArgs = [])
* @method PromiseInterface submitProvisioningConfigAsync(SubmitProvisioningConfigRequest $request, array $optionalArgs = [])
* @method PromiseInterface updateInstanceAsync(UpdateInstanceRequest $request, array $optionalArgs = [])
* @method PromiseInterface updateNetworkAsync(UpdateNetworkRequest $request, array $optionalArgs = [])
* @method PromiseInterface updateNfsShareAsync(UpdateNfsShareRequest $request, array $optionalArgs = [])
* @method PromiseInterface updateProvisioningConfigAsync(UpdateProvisioningConfigRequest $request, array $optionalArgs = [])
* @method PromiseInterface updateVolumeAsync(UpdateVolumeRequest $request, array $optionalArgs = [])
* @method PromiseInterface getLocationAsync(GetLocationRequest $request, array $optionalArgs = [])
* @method PromiseInterface listLocationsAsync(ListLocationsRequest $request, array $optionalArgs = [])
* @method PromiseInterface<OperationResponse> createNfsShareAsync(CreateNfsShareRequest $request, array $optionalArgs = [])
* @method PromiseInterface<ProvisioningConfig> createProvisioningConfigAsync(CreateProvisioningConfigRequest $request, array $optionalArgs = [])
* @method PromiseInterface<SSHKey> createSSHKeyAsync(CreateSSHKeyRequest $request, array $optionalArgs = [])
* @method PromiseInterface<VolumeSnapshot> createVolumeSnapshotAsync(CreateVolumeSnapshotRequest $request, array $optionalArgs = [])
* @method PromiseInterface<OperationResponse> deleteNfsShareAsync(DeleteNfsShareRequest $request, array $optionalArgs = [])
* @method PromiseInterface<void> deleteSSHKeyAsync(DeleteSSHKeyRequest $request, array $optionalArgs = [])
* @method PromiseInterface<void> deleteVolumeSnapshotAsync(DeleteVolumeSnapshotRequest $request, array $optionalArgs = [])
* @method PromiseInterface<OperationResponse> detachLunAsync(DetachLunRequest $request, array $optionalArgs = [])
* @method PromiseInterface<OperationResponse> disableInteractiveSerialConsoleAsync(DisableInteractiveSerialConsoleRequest $request, array $optionalArgs = [])
* @method PromiseInterface<OperationResponse> enableInteractiveSerialConsoleAsync(EnableInteractiveSerialConsoleRequest $request, array $optionalArgs = [])
* @method PromiseInterface<OperationResponse> evictLunAsync(EvictLunRequest $request, array $optionalArgs = [])
* @method PromiseInterface<OperationResponse> evictVolumeAsync(EvictVolumeRequest $request, array $optionalArgs = [])
* @method PromiseInterface<Instance> getInstanceAsync(GetInstanceRequest $request, array $optionalArgs = [])
* @method PromiseInterface<Lun> getLunAsync(GetLunRequest $request, array $optionalArgs = [])
* @method PromiseInterface<Network> getNetworkAsync(GetNetworkRequest $request, array $optionalArgs = [])
* @method PromiseInterface<NfsShare> getNfsShareAsync(GetNfsShareRequest $request, array $optionalArgs = [])
* @method PromiseInterface<ProvisioningConfig> getProvisioningConfigAsync(GetProvisioningConfigRequest $request, array $optionalArgs = [])
* @method PromiseInterface<Volume> getVolumeAsync(GetVolumeRequest $request, array $optionalArgs = [])
* @method PromiseInterface<VolumeSnapshot> getVolumeSnapshotAsync(GetVolumeSnapshotRequest $request, array $optionalArgs = [])
* @method PromiseInterface<PagedListResponse> listInstancesAsync(ListInstancesRequest $request, array $optionalArgs = [])
* @method PromiseInterface<PagedListResponse> listLunsAsync(ListLunsRequest $request, array $optionalArgs = [])
* @method PromiseInterface<ListNetworkUsageResponse> listNetworkUsageAsync(ListNetworkUsageRequest $request, array $optionalArgs = [])
* @method PromiseInterface<PagedListResponse> listNetworksAsync(ListNetworksRequest $request, array $optionalArgs = [])
* @method PromiseInterface<PagedListResponse> listNfsSharesAsync(ListNfsSharesRequest $request, array $optionalArgs = [])
* @method PromiseInterface<PagedListResponse> listOSImagesAsync(ListOSImagesRequest $request, array $optionalArgs = [])
* @method PromiseInterface<PagedListResponse> listProvisioningQuotasAsync(ListProvisioningQuotasRequest $request, array $optionalArgs = [])
* @method PromiseInterface<PagedListResponse> listSSHKeysAsync(ListSSHKeysRequest $request, array $optionalArgs = [])
* @method PromiseInterface<PagedListResponse> listVolumeSnapshotsAsync(ListVolumeSnapshotsRequest $request, array $optionalArgs = [])
* @method PromiseInterface<PagedListResponse> listVolumesAsync(ListVolumesRequest $request, array $optionalArgs = [])
* @method PromiseInterface<Instance> renameInstanceAsync(RenameInstanceRequest $request, array $optionalArgs = [])
* @method PromiseInterface<Network> renameNetworkAsync(RenameNetworkRequest $request, array $optionalArgs = [])
* @method PromiseInterface<NfsShare> renameNfsShareAsync(RenameNfsShareRequest $request, array $optionalArgs = [])
* @method PromiseInterface<Volume> renameVolumeAsync(RenameVolumeRequest $request, array $optionalArgs = [])
* @method PromiseInterface<OperationResponse> resetInstanceAsync(ResetInstanceRequest $request, array $optionalArgs = [])
* @method PromiseInterface<OperationResponse> resizeVolumeAsync(ResizeVolumeRequest $request, array $optionalArgs = [])
* @method PromiseInterface<OperationResponse> restoreVolumeSnapshotAsync(RestoreVolumeSnapshotRequest $request, array $optionalArgs = [])
* @method PromiseInterface<OperationResponse> startInstanceAsync(StartInstanceRequest $request, array $optionalArgs = [])
* @method PromiseInterface<OperationResponse> stopInstanceAsync(StopInstanceRequest $request, array $optionalArgs = [])
* @method PromiseInterface<SubmitProvisioningConfigResponse> submitProvisioningConfigAsync(SubmitProvisioningConfigRequest $request, array $optionalArgs = [])
* @method PromiseInterface<OperationResponse> updateInstanceAsync(UpdateInstanceRequest $request, array $optionalArgs = [])
* @method PromiseInterface<OperationResponse> updateNetworkAsync(UpdateNetworkRequest $request, array $optionalArgs = [])
* @method PromiseInterface<OperationResponse> updateNfsShareAsync(UpdateNfsShareRequest $request, array $optionalArgs = [])
* @method PromiseInterface<ProvisioningConfig> updateProvisioningConfigAsync(UpdateProvisioningConfigRequest $request, array $optionalArgs = [])
* @method PromiseInterface<OperationResponse> updateVolumeAsync(UpdateVolumeRequest $request, array $optionalArgs = [])
* @method PromiseInterface<Location> getLocationAsync(GetLocationRequest $request, array $optionalArgs = [])
* @method PromiseInterface<PagedListResponse> listLocationsAsync(ListLocationsRequest $request, array $optionalArgs = [])
*/
final class BareMetalSolutionClient
{
Expand Down
16 changes: 8 additions & 8 deletions Batch/src/V1/Client/BatchServiceClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -62,14 +62,14 @@
* name, and additionally a parseName method to extract the individual identifiers
* contained within formatted names that are returned by the API.
*
* @method PromiseInterface createJobAsync(CreateJobRequest $request, array $optionalArgs = [])
* @method PromiseInterface deleteJobAsync(DeleteJobRequest $request, array $optionalArgs = [])
* @method PromiseInterface getJobAsync(GetJobRequest $request, array $optionalArgs = [])
* @method PromiseInterface getTaskAsync(GetTaskRequest $request, array $optionalArgs = [])
* @method PromiseInterface listJobsAsync(ListJobsRequest $request, array $optionalArgs = [])
* @method PromiseInterface listTasksAsync(ListTasksRequest $request, array $optionalArgs = [])
* @method PromiseInterface getLocationAsync(GetLocationRequest $request, array $optionalArgs = [])
* @method PromiseInterface listLocationsAsync(ListLocationsRequest $request, array $optionalArgs = [])
* @method PromiseInterface<Job> createJobAsync(CreateJobRequest $request, array $optionalArgs = [])
* @method PromiseInterface<OperationResponse> deleteJobAsync(DeleteJobRequest $request, array $optionalArgs = [])
* @method PromiseInterface<Job> getJobAsync(GetJobRequest $request, array $optionalArgs = [])
* @method PromiseInterface<Task> getTaskAsync(GetTaskRequest $request, array $optionalArgs = [])
* @method PromiseInterface<PagedListResponse> listJobsAsync(ListJobsRequest $request, array $optionalArgs = [])
* @method PromiseInterface<PagedListResponse> listTasksAsync(ListTasksRequest $request, array $optionalArgs = [])
* @method PromiseInterface<Location> getLocationAsync(GetLocationRequest $request, array $optionalArgs = [])
* @method PromiseInterface<PagedListResponse> listLocationsAsync(ListLocationsRequest $request, array $optionalArgs = [])
*/
final class BatchServiceClient
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -77,17 +77,17 @@
* name, and additionally a parseName method to extract the individual identifiers
* contained within formatted names that are returned by the API.
*
* @method PromiseInterface createAppConnectionAsync(CreateAppConnectionRequest $request, array $optionalArgs = [])
* @method PromiseInterface deleteAppConnectionAsync(DeleteAppConnectionRequest $request, array $optionalArgs = [])
* @method PromiseInterface getAppConnectionAsync(GetAppConnectionRequest $request, array $optionalArgs = [])
* @method PromiseInterface listAppConnectionsAsync(ListAppConnectionsRequest $request, array $optionalArgs = [])
* @method PromiseInterface resolveAppConnectionsAsync(ResolveAppConnectionsRequest $request, array $optionalArgs = [])
* @method PromiseInterface updateAppConnectionAsync(UpdateAppConnectionRequest $request, array $optionalArgs = [])
* @method PromiseInterface getLocationAsync(GetLocationRequest $request, array $optionalArgs = [])
* @method PromiseInterface listLocationsAsync(ListLocationsRequest $request, array $optionalArgs = [])
* @method PromiseInterface getIamPolicyAsync(GetIamPolicyRequest $request, array $optionalArgs = [])
* @method PromiseInterface setIamPolicyAsync(SetIamPolicyRequest $request, array $optionalArgs = [])
* @method PromiseInterface testIamPermissionsAsync(TestIamPermissionsRequest $request, array $optionalArgs = [])
* @method PromiseInterface<OperationResponse> createAppConnectionAsync(CreateAppConnectionRequest $request, array $optionalArgs = [])
* @method PromiseInterface<OperationResponse> deleteAppConnectionAsync(DeleteAppConnectionRequest $request, array $optionalArgs = [])
* @method PromiseInterface<AppConnection> getAppConnectionAsync(GetAppConnectionRequest $request, array $optionalArgs = [])
* @method PromiseInterface<PagedListResponse> listAppConnectionsAsync(ListAppConnectionsRequest $request, array $optionalArgs = [])
* @method PromiseInterface<PagedListResponse> resolveAppConnectionsAsync(ResolveAppConnectionsRequest $request, array $optionalArgs = [])
* @method PromiseInterface<OperationResponse> updateAppConnectionAsync(UpdateAppConnectionRequest $request, array $optionalArgs = [])
* @method PromiseInterface<Location> getLocationAsync(GetLocationRequest $request, array $optionalArgs = [])
* @method PromiseInterface<PagedListResponse> listLocationsAsync(ListLocationsRequest $request, array $optionalArgs = [])
* @method PromiseInterface<Policy> getIamPolicyAsync(GetIamPolicyRequest $request, array $optionalArgs = [])
* @method PromiseInterface<Policy> setIamPolicyAsync(SetIamPolicyRequest $request, array $optionalArgs = [])
* @method PromiseInterface<TestIamPermissionsResponse> testIamPermissionsAsync(TestIamPermissionsRequest $request, array $optionalArgs = [])
*/
final class AppConnectionsServiceClient
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -77,17 +77,17 @@
* name, and additionally a parseName method to extract the individual identifiers
* contained within formatted names that are returned by the API.
*
* @method PromiseInterface createAppConnectorAsync(CreateAppConnectorRequest $request, array $optionalArgs = [])
* @method PromiseInterface deleteAppConnectorAsync(DeleteAppConnectorRequest $request, array $optionalArgs = [])
* @method PromiseInterface getAppConnectorAsync(GetAppConnectorRequest $request, array $optionalArgs = [])
* @method PromiseInterface listAppConnectorsAsync(ListAppConnectorsRequest $request, array $optionalArgs = [])
* @method PromiseInterface reportStatusAsync(ReportStatusRequest $request, array $optionalArgs = [])
* @method PromiseInterface updateAppConnectorAsync(UpdateAppConnectorRequest $request, array $optionalArgs = [])
* @method PromiseInterface getLocationAsync(GetLocationRequest $request, array $optionalArgs = [])
* @method PromiseInterface listLocationsAsync(ListLocationsRequest $request, array $optionalArgs = [])
* @method PromiseInterface getIamPolicyAsync(GetIamPolicyRequest $request, array $optionalArgs = [])
* @method PromiseInterface setIamPolicyAsync(SetIamPolicyRequest $request, array $optionalArgs = [])
* @method PromiseInterface testIamPermissionsAsync(TestIamPermissionsRequest $request, array $optionalArgs = [])
* @method PromiseInterface<OperationResponse> createAppConnectorAsync(CreateAppConnectorRequest $request, array $optionalArgs = [])
* @method PromiseInterface<OperationResponse> deleteAppConnectorAsync(DeleteAppConnectorRequest $request, array $optionalArgs = [])
* @method PromiseInterface<AppConnector> getAppConnectorAsync(GetAppConnectorRequest $request, array $optionalArgs = [])
* @method PromiseInterface<PagedListResponse> listAppConnectorsAsync(ListAppConnectorsRequest $request, array $optionalArgs = [])
* @method PromiseInterface<OperationResponse> reportStatusAsync(ReportStatusRequest $request, array $optionalArgs = [])
* @method PromiseInterface<OperationResponse> updateAppConnectorAsync(UpdateAppConnectorRequest $request, array $optionalArgs = [])
* @method PromiseInterface<Location> getLocationAsync(GetLocationRequest $request, array $optionalArgs = [])
* @method PromiseInterface<PagedListResponse> listLocationsAsync(ListLocationsRequest $request, array $optionalArgs = [])
* @method PromiseInterface<Policy> getIamPolicyAsync(GetIamPolicyRequest $request, array $optionalArgs = [])
* @method PromiseInterface<Policy> setIamPolicyAsync(SetIamPolicyRequest $request, array $optionalArgs = [])
* @method PromiseInterface<TestIamPermissionsResponse> testIamPermissionsAsync(TestIamPermissionsRequest $request, array $optionalArgs = [])
*/
final class AppConnectorsServiceClient
{
Expand Down
Loading
Loading