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

feat: [SqlAdmin] Support for CLUSTER_MAINTENANCE and SELF_SERVICE_MAINTENANCE operation types #7363

Merged
merged 2 commits into from
Jun 4, 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
Binary file modified SqlAdmin/metadata/V1/CloudSqlResources.php
Binary file not shown.
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@
use Google\Cloud\Sql\V1\SqlInstancesPromoteReplicaRequest;

/**
* Promotes the read replica instance to be a stand-alone Cloud SQL instance.
* Promotes the read replica instance to be an independent Cloud SQL
* primary instance.
* Using this operation might cause your instance to restart.
*
* This sample has been automatically generated and should be regarded as a code
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,8 @@
use Google\Cloud\Sql\V1\SqlInstancesSwitchoverRequest;

/**
* Switches over from the primary instance to the replica instance.
* Switches over from the primary instance to the designated DR replica
* instance.
*
* This sample has been automatically generated and should be regarded as a code
* template only. It will require modifications to work:
Expand Down
8 changes: 4 additions & 4 deletions SqlAdmin/src/V1/BackupConfiguration.php

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 4 additions & 2 deletions SqlAdmin/src/V1/Client/SqlInstancesServiceClient.php
Original file line number Diff line number Diff line change
Expand Up @@ -733,7 +733,8 @@ public function performDiskShrink(SqlInstancesPerformDiskShrinkRequest $request,
}

/**
* Promotes the read replica instance to be a stand-alone Cloud SQL instance.
* Promotes the read replica instance to be an independent Cloud SQL
* primary instance.
* Using this operation might cause your instance to restart.
*
* The async variant is {@see SqlInstancesServiceClient::promoteReplicaAsync()} .
Expand Down Expand Up @@ -1051,7 +1052,8 @@ public function stopReplica(SqlInstancesStopReplicaRequest $request, array $call
}

/**
* Switches over from the primary instance to the replica instance.
* Switches over from the primary instance to the designated DR replica
* instance.
*
* The async variant is {@see SqlInstancesServiceClient::switchoverAsync()} .
*
Expand Down
36 changes: 20 additions & 16 deletions SqlAdmin/src/V1/DatabaseInstance.php

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

50 changes: 25 additions & 25 deletions SqlAdmin/src/V1/GeminiInstanceConfig.php

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading
Loading