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

chore: [Many APIs] add types for async methods #7804

Merged
merged 3 commits into from
Nov 5, 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
8 changes: 4 additions & 4 deletions SqlAdmin/src/V1/Client/SqlBackupRunsServiceClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -46,10 +46,10 @@
* This class provides the ability to make remote calls to the backing service through method
* calls that map to API methods.
*
* @method PromiseInterface deleteAsync(SqlBackupRunsDeleteRequest $request, array $optionalArgs = [])
* @method PromiseInterface getAsync(SqlBackupRunsGetRequest $request, array $optionalArgs = [])
* @method PromiseInterface insertAsync(SqlBackupRunsInsertRequest $request, array $optionalArgs = [])
* @method PromiseInterface listAsync(SqlBackupRunsListRequest $request, array $optionalArgs = [])
* @method PromiseInterface<Operation> deleteAsync(SqlBackupRunsDeleteRequest $request, array $optionalArgs = [])
* @method PromiseInterface<BackupRun> getAsync(SqlBackupRunsGetRequest $request, array $optionalArgs = [])
* @method PromiseInterface<Operation> insertAsync(SqlBackupRunsInsertRequest $request, array $optionalArgs = [])
* @method PromiseInterface<BackupRunsListResponse> listAsync(SqlBackupRunsListRequest $request, array $optionalArgs = [])
*/
final class SqlBackupRunsServiceClient
{
Expand Down
4 changes: 2 additions & 2 deletions SqlAdmin/src/V1/Client/SqlConnectServiceClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -43,8 +43,8 @@
* This class provides the ability to make remote calls to the backing service through method
* calls that map to API methods.
*
* @method PromiseInterface generateEphemeralCertAsync(GenerateEphemeralCertRequest $request, array $optionalArgs = [])
* @method PromiseInterface getConnectSettingsAsync(GetConnectSettingsRequest $request, array $optionalArgs = [])
* @method PromiseInterface<GenerateEphemeralCertResponse> generateEphemeralCertAsync(GenerateEphemeralCertRequest $request, array $optionalArgs = [])
* @method PromiseInterface<ConnectSettings> getConnectSettingsAsync(GetConnectSettingsRequest $request, array $optionalArgs = [])
*/
final class SqlConnectServiceClient
{
Expand Down
12 changes: 6 additions & 6 deletions SqlAdmin/src/V1/Client/SqlDatabasesServiceClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -47,12 +47,12 @@
* This class provides the ability to make remote calls to the backing service through method
* calls that map to API methods.
*
* @method PromiseInterface deleteAsync(SqlDatabasesDeleteRequest $request, array $optionalArgs = [])
* @method PromiseInterface getAsync(SqlDatabasesGetRequest $request, array $optionalArgs = [])
* @method PromiseInterface insertAsync(SqlDatabasesInsertRequest $request, array $optionalArgs = [])
* @method PromiseInterface listAsync(SqlDatabasesListRequest $request, array $optionalArgs = [])
* @method PromiseInterface patchAsync(SqlDatabasesUpdateRequest $request, array $optionalArgs = [])
* @method PromiseInterface updateAsync(SqlDatabasesUpdateRequest $request, array $optionalArgs = [])
* @method PromiseInterface<Operation> deleteAsync(SqlDatabasesDeleteRequest $request, array $optionalArgs = [])
* @method PromiseInterface<Database> getAsync(SqlDatabasesGetRequest $request, array $optionalArgs = [])
* @method PromiseInterface<Operation> insertAsync(SqlDatabasesInsertRequest $request, array $optionalArgs = [])
* @method PromiseInterface<DatabasesListResponse> listAsync(SqlDatabasesListRequest $request, array $optionalArgs = [])
* @method PromiseInterface<Operation> patchAsync(SqlDatabasesUpdateRequest $request, array $optionalArgs = [])
* @method PromiseInterface<Operation> updateAsync(SqlDatabasesUpdateRequest $request, array $optionalArgs = [])
*/
final class SqlDatabasesServiceClient
{
Expand Down
2 changes: 1 addition & 1 deletion SqlAdmin/src/V1/Client/SqlFlagsServiceClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
* This class provides the ability to make remote calls to the backing service through method
* calls that map to API methods.
*
* @method PromiseInterface listAsync(SqlFlagsListRequest $request, array $optionalArgs = [])
* @method PromiseInterface<FlagsListResponse> listAsync(SqlFlagsListRequest $request, array $optionalArgs = [])
*/
final class SqlFlagsServiceClient
{
Expand Down
68 changes: 34 additions & 34 deletions SqlAdmin/src/V1/Client/SqlInstancesServiceClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -83,40 +83,40 @@
* This class provides the ability to make remote calls to the backing service through method
* calls that map to API methods.
*
* @method PromiseInterface acquireSsrsLeaseAsync(SqlInstancesAcquireSsrsLeaseRequest $request, array $optionalArgs = [])
* @method PromiseInterface addServerCaAsync(SqlInstancesAddServerCaRequest $request, array $optionalArgs = [])
* @method PromiseInterface cloneAsync(SqlInstancesCloneRequest $request, array $optionalArgs = [])
* @method PromiseInterface createEphemeralAsync(SqlInstancesCreateEphemeralCertRequest $request, array $optionalArgs = [])
* @method PromiseInterface deleteAsync(SqlInstancesDeleteRequest $request, array $optionalArgs = [])
* @method PromiseInterface demoteAsync(SqlInstancesDemoteRequest $request, array $optionalArgs = [])
* @method PromiseInterface demoteMasterAsync(SqlInstancesDemoteMasterRequest $request, array $optionalArgs = [])
* @method PromiseInterface exportAsync(SqlInstancesExportRequest $request, array $optionalArgs = [])
* @method PromiseInterface failoverAsync(SqlInstancesFailoverRequest $request, array $optionalArgs = [])
* @method PromiseInterface getAsync(SqlInstancesGetRequest $request, array $optionalArgs = [])
* @method PromiseInterface getDiskShrinkConfigAsync(SqlInstancesGetDiskShrinkConfigRequest $request, array $optionalArgs = [])
* @method PromiseInterface getLatestRecoveryTimeAsync(SqlInstancesGetLatestRecoveryTimeRequest $request, array $optionalArgs = [])
* @method PromiseInterface importAsync(SqlInstancesImportRequest $request, array $optionalArgs = [])
* @method PromiseInterface insertAsync(SqlInstancesInsertRequest $request, array $optionalArgs = [])
* @method PromiseInterface listAsync(SqlInstancesListRequest $request, array $optionalArgs = [])
* @method PromiseInterface listServerCasAsync(SqlInstancesListServerCasRequest $request, array $optionalArgs = [])
* @method PromiseInterface patchAsync(SqlInstancesPatchRequest $request, array $optionalArgs = [])
* @method PromiseInterface performDiskShrinkAsync(SqlInstancesPerformDiskShrinkRequest $request, array $optionalArgs = [])
* @method PromiseInterface promoteReplicaAsync(SqlInstancesPromoteReplicaRequest $request, array $optionalArgs = [])
* @method PromiseInterface reencryptAsync(SqlInstancesReencryptRequest $request, array $optionalArgs = [])
* @method PromiseInterface releaseSsrsLeaseAsync(SqlInstancesReleaseSsrsLeaseRequest $request, array $optionalArgs = [])
* @method PromiseInterface rescheduleMaintenanceAsync(SqlInstancesRescheduleMaintenanceRequest $request, array $optionalArgs = [])
* @method PromiseInterface resetReplicaSizeAsync(SqlInstancesResetReplicaSizeRequest $request, array $optionalArgs = [])
* @method PromiseInterface resetSslConfigAsync(SqlInstancesResetSslConfigRequest $request, array $optionalArgs = [])
* @method PromiseInterface restartAsync(SqlInstancesRestartRequest $request, array $optionalArgs = [])
* @method PromiseInterface restoreBackupAsync(SqlInstancesRestoreBackupRequest $request, array $optionalArgs = [])
* @method PromiseInterface rotateServerCaAsync(SqlInstancesRotateServerCaRequest $request, array $optionalArgs = [])
* @method PromiseInterface startExternalSyncAsync(SqlInstancesStartExternalSyncRequest $request, array $optionalArgs = [])
* @method PromiseInterface startReplicaAsync(SqlInstancesStartReplicaRequest $request, array $optionalArgs = [])
* @method PromiseInterface stopReplicaAsync(SqlInstancesStopReplicaRequest $request, array $optionalArgs = [])
* @method PromiseInterface switchoverAsync(SqlInstancesSwitchoverRequest $request, array $optionalArgs = [])
* @method PromiseInterface truncateLogAsync(SqlInstancesTruncateLogRequest $request, array $optionalArgs = [])
* @method PromiseInterface updateAsync(SqlInstancesUpdateRequest $request, array $optionalArgs = [])
* @method PromiseInterface verifyExternalSyncSettingsAsync(SqlInstancesVerifyExternalSyncSettingsRequest $request, array $optionalArgs = [])
* @method PromiseInterface<SqlInstancesAcquireSsrsLeaseResponse> acquireSsrsLeaseAsync(SqlInstancesAcquireSsrsLeaseRequest $request, array $optionalArgs = [])
* @method PromiseInterface<Operation> addServerCaAsync(SqlInstancesAddServerCaRequest $request, array $optionalArgs = [])
* @method PromiseInterface<Operation> cloneAsync(SqlInstancesCloneRequest $request, array $optionalArgs = [])
* @method PromiseInterface<SslCert> createEphemeralAsync(SqlInstancesCreateEphemeralCertRequest $request, array $optionalArgs = [])
* @method PromiseInterface<Operation> deleteAsync(SqlInstancesDeleteRequest $request, array $optionalArgs = [])
* @method PromiseInterface<Operation> demoteAsync(SqlInstancesDemoteRequest $request, array $optionalArgs = [])
* @method PromiseInterface<Operation> demoteMasterAsync(SqlInstancesDemoteMasterRequest $request, array $optionalArgs = [])
* @method PromiseInterface<Operation> exportAsync(SqlInstancesExportRequest $request, array $optionalArgs = [])
* @method PromiseInterface<Operation> failoverAsync(SqlInstancesFailoverRequest $request, array $optionalArgs = [])
* @method PromiseInterface<DatabaseInstance> getAsync(SqlInstancesGetRequest $request, array $optionalArgs = [])
* @method PromiseInterface<SqlInstancesGetDiskShrinkConfigResponse> getDiskShrinkConfigAsync(SqlInstancesGetDiskShrinkConfigRequest $request, array $optionalArgs = [])
* @method PromiseInterface<SqlInstancesGetLatestRecoveryTimeResponse> getLatestRecoveryTimeAsync(SqlInstancesGetLatestRecoveryTimeRequest $request, array $optionalArgs = [])
* @method PromiseInterface<Operation> importAsync(SqlInstancesImportRequest $request, array $optionalArgs = [])
* @method PromiseInterface<Operation> insertAsync(SqlInstancesInsertRequest $request, array $optionalArgs = [])
* @method PromiseInterface<InstancesListResponse> listAsync(SqlInstancesListRequest $request, array $optionalArgs = [])
* @method PromiseInterface<InstancesListServerCasResponse> listServerCasAsync(SqlInstancesListServerCasRequest $request, array $optionalArgs = [])
* @method PromiseInterface<Operation> patchAsync(SqlInstancesPatchRequest $request, array $optionalArgs = [])
* @method PromiseInterface<Operation> performDiskShrinkAsync(SqlInstancesPerformDiskShrinkRequest $request, array $optionalArgs = [])
* @method PromiseInterface<Operation> promoteReplicaAsync(SqlInstancesPromoteReplicaRequest $request, array $optionalArgs = [])
* @method PromiseInterface<Operation> reencryptAsync(SqlInstancesReencryptRequest $request, array $optionalArgs = [])
* @method PromiseInterface<SqlInstancesReleaseSsrsLeaseResponse> releaseSsrsLeaseAsync(SqlInstancesReleaseSsrsLeaseRequest $request, array $optionalArgs = [])
* @method PromiseInterface<Operation> rescheduleMaintenanceAsync(SqlInstancesRescheduleMaintenanceRequest $request, array $optionalArgs = [])
* @method PromiseInterface<Operation> resetReplicaSizeAsync(SqlInstancesResetReplicaSizeRequest $request, array $optionalArgs = [])
* @method PromiseInterface<Operation> resetSslConfigAsync(SqlInstancesResetSslConfigRequest $request, array $optionalArgs = [])
* @method PromiseInterface<Operation> restartAsync(SqlInstancesRestartRequest $request, array $optionalArgs = [])
* @method PromiseInterface<Operation> restoreBackupAsync(SqlInstancesRestoreBackupRequest $request, array $optionalArgs = [])
* @method PromiseInterface<Operation> rotateServerCaAsync(SqlInstancesRotateServerCaRequest $request, array $optionalArgs = [])
* @method PromiseInterface<Operation> startExternalSyncAsync(SqlInstancesStartExternalSyncRequest $request, array $optionalArgs = [])
* @method PromiseInterface<Operation> startReplicaAsync(SqlInstancesStartReplicaRequest $request, array $optionalArgs = [])
* @method PromiseInterface<Operation> stopReplicaAsync(SqlInstancesStopReplicaRequest $request, array $optionalArgs = [])
* @method PromiseInterface<Operation> switchoverAsync(SqlInstancesSwitchoverRequest $request, array $optionalArgs = [])
* @method PromiseInterface<Operation> truncateLogAsync(SqlInstancesTruncateLogRequest $request, array $optionalArgs = [])
* @method PromiseInterface<Operation> updateAsync(SqlInstancesUpdateRequest $request, array $optionalArgs = [])
* @method PromiseInterface<SqlInstancesVerifyExternalSyncSettingsResponse> verifyExternalSyncSettingsAsync(SqlInstancesVerifyExternalSyncSettingsRequest $request, array $optionalArgs = [])
*/
final class SqlInstancesServiceClient
{
Expand Down
6 changes: 3 additions & 3 deletions SqlAdmin/src/V1/Client/SqlOperationsServiceClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -44,9 +44,9 @@
* This class provides the ability to make remote calls to the backing service through method
* calls that map to API methods.
*
* @method PromiseInterface cancelAsync(SqlOperationsCancelRequest $request, array $optionalArgs = [])
* @method PromiseInterface getAsync(SqlOperationsGetRequest $request, array $optionalArgs = [])
* @method PromiseInterface listAsync(SqlOperationsListRequest $request, array $optionalArgs = [])
* @method PromiseInterface<void> cancelAsync(SqlOperationsCancelRequest $request, array $optionalArgs = [])
* @method PromiseInterface<Operation> getAsync(SqlOperationsGetRequest $request, array $optionalArgs = [])
* @method PromiseInterface<OperationsListResponse> listAsync(SqlOperationsListRequest $request, array $optionalArgs = [])
*/
final class SqlOperationsServiceClient
{
Expand Down
8 changes: 4 additions & 4 deletions SqlAdmin/src/V1/Client/SqlSslCertsServiceClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -47,10 +47,10 @@
* This class provides the ability to make remote calls to the backing service through method
* calls that map to API methods.
*
* @method PromiseInterface deleteAsync(SqlSslCertsDeleteRequest $request, array $optionalArgs = [])
* @method PromiseInterface getAsync(SqlSslCertsGetRequest $request, array $optionalArgs = [])
* @method PromiseInterface insertAsync(SqlSslCertsInsertRequest $request, array $optionalArgs = [])
* @method PromiseInterface listAsync(SqlSslCertsListRequest $request, array $optionalArgs = [])
* @method PromiseInterface<Operation> deleteAsync(SqlSslCertsDeleteRequest $request, array $optionalArgs = [])
* @method PromiseInterface<SslCert> getAsync(SqlSslCertsGetRequest $request, array $optionalArgs = [])
* @method PromiseInterface<SslCertsInsertResponse> insertAsync(SqlSslCertsInsertRequest $request, array $optionalArgs = [])
* @method PromiseInterface<SslCertsListResponse> listAsync(SqlSslCertsListRequest $request, array $optionalArgs = [])
*/
final class SqlSslCertsServiceClient
{
Expand Down
2 changes: 1 addition & 1 deletion SqlAdmin/src/V1/Client/SqlTiersServiceClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@
* This class provides the ability to make remote calls to the backing service through method
* calls that map to API methods.
*
* @method PromiseInterface listAsync(SqlTiersListRequest $request, array $optionalArgs = [])
* @method PromiseInterface<TiersListResponse> listAsync(SqlTiersListRequest $request, array $optionalArgs = [])
*/
final class SqlTiersServiceClient
{
Expand Down
10 changes: 5 additions & 5 deletions SqlAdmin/src/V1/Client/SqlUsersServiceClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -47,11 +47,11 @@
* This class provides the ability to make remote calls to the backing service through method
* calls that map to API methods.
*
* @method PromiseInterface deleteAsync(SqlUsersDeleteRequest $request, array $optionalArgs = [])
* @method PromiseInterface getAsync(SqlUsersGetRequest $request, array $optionalArgs = [])
* @method PromiseInterface insertAsync(SqlUsersInsertRequest $request, array $optionalArgs = [])
* @method PromiseInterface listAsync(SqlUsersListRequest $request, array $optionalArgs = [])
* @method PromiseInterface updateAsync(SqlUsersUpdateRequest $request, array $optionalArgs = [])
* @method PromiseInterface<Operation> deleteAsync(SqlUsersDeleteRequest $request, array $optionalArgs = [])
* @method PromiseInterface<User> getAsync(SqlUsersGetRequest $request, array $optionalArgs = [])
* @method PromiseInterface<Operation> insertAsync(SqlUsersInsertRequest $request, array $optionalArgs = [])
* @method PromiseInterface<UsersListResponse> listAsync(SqlUsersListRequest $request, array $optionalArgs = [])
* @method PromiseInterface<Operation> updateAsync(SqlUsersUpdateRequest $request, array $optionalArgs = [])
*/
final class SqlUsersServiceClient
{
Expand Down
20 changes: 10 additions & 10 deletions StorageControl/src/V2/Client/StorageControlClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -62,16 +62,16 @@
* name, and additionally a parseName method to extract the individual identifiers
* contained within formatted names that are returned by the API.
*
* @method PromiseInterface createFolderAsync(CreateFolderRequest $request, array $optionalArgs = [])
* @method PromiseInterface createManagedFolderAsync(CreateManagedFolderRequest $request, array $optionalArgs = [])
* @method PromiseInterface deleteFolderAsync(DeleteFolderRequest $request, array $optionalArgs = [])
* @method PromiseInterface deleteManagedFolderAsync(DeleteManagedFolderRequest $request, array $optionalArgs = [])
* @method PromiseInterface getFolderAsync(GetFolderRequest $request, array $optionalArgs = [])
* @method PromiseInterface getManagedFolderAsync(GetManagedFolderRequest $request, array $optionalArgs = [])
* @method PromiseInterface getStorageLayoutAsync(GetStorageLayoutRequest $request, array $optionalArgs = [])
* @method PromiseInterface listFoldersAsync(ListFoldersRequest $request, array $optionalArgs = [])
* @method PromiseInterface listManagedFoldersAsync(ListManagedFoldersRequest $request, array $optionalArgs = [])
* @method PromiseInterface renameFolderAsync(RenameFolderRequest $request, array $optionalArgs = [])
* @method PromiseInterface<Folder> createFolderAsync(CreateFolderRequest $request, array $optionalArgs = [])
* @method PromiseInterface<ManagedFolder> createManagedFolderAsync(CreateManagedFolderRequest $request, array $optionalArgs = [])
* @method PromiseInterface<void> deleteFolderAsync(DeleteFolderRequest $request, array $optionalArgs = [])
* @method PromiseInterface<void> deleteManagedFolderAsync(DeleteManagedFolderRequest $request, array $optionalArgs = [])
* @method PromiseInterface<Folder> getFolderAsync(GetFolderRequest $request, array $optionalArgs = [])
* @method PromiseInterface<ManagedFolder> getManagedFolderAsync(GetManagedFolderRequest $request, array $optionalArgs = [])
* @method PromiseInterface<StorageLayout> getStorageLayoutAsync(GetStorageLayoutRequest $request, array $optionalArgs = [])
* @method PromiseInterface<PagedListResponse> listFoldersAsync(ListFoldersRequest $request, array $optionalArgs = [])
* @method PromiseInterface<PagedListResponse> listManagedFoldersAsync(ListManagedFoldersRequest $request, array $optionalArgs = [])
* @method PromiseInterface<OperationResponse> renameFolderAsync(RenameFolderRequest $request, array $optionalArgs = [])
*/
final class StorageControlClient
{
Expand Down
Loading
Loading