Skip to content

Commit 68ed022

Browse files
1 parent 298ef9f commit 68ed022

5 files changed

Lines changed: 30 additions & 6 deletions

File tree

src/CloudAlloyDBAdmin/Backup.php

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,10 @@ class Backup extends \Google\Model
4545
* The database version is Postgres 17.
4646
*/
4747
public const DATABASE_VERSION_POSTGRES_17 = 'POSTGRES_17';
48+
/**
49+
* The database version is Postgres 18.
50+
*/
51+
public const DATABASE_VERSION_POSTGRES_18 = 'POSTGRES_18';
4852
/**
4953
* The state of the backup is unknown.
5054
*/
@@ -328,7 +332,7 @@ public function getCreateTime()
328332
* the same database version.
329333
*
330334
* Accepted values: DATABASE_VERSION_UNSPECIFIED, POSTGRES_13, POSTGRES_14,
331-
* POSTGRES_15, POSTGRES_16, POSTGRES_17
335+
* POSTGRES_15, POSTGRES_16, POSTGRES_17, POSTGRES_18
332336
*
333337
* @param self::DATABASE_VERSION_* $databaseVersion
334338
*/

src/CloudAlloyDBAdmin/Cluster.php

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,10 @@ class Cluster extends \Google\Model
5858
* The database version is Postgres 17.
5959
*/
6060
public const DATABASE_VERSION_POSTGRES_17 = 'POSTGRES_17';
61+
/**
62+
* The database version is Postgres 18.
63+
*/
64+
public const DATABASE_VERSION_POSTGRES_18 = 'POSTGRES_18';
6165
/**
6266
* The maintenance version selection policy is not specified.
6367
*/
@@ -485,7 +489,7 @@ public function getCreateTime()
485489
* used.
486490
*
487491
* Accepted values: DATABASE_VERSION_UNSPECIFIED, POSTGRES_13, POSTGRES_14,
488-
* POSTGRES_15, POSTGRES_16, POSTGRES_17
492+
* POSTGRES_15, POSTGRES_16, POSTGRES_17, POSTGRES_18
489493
*
490494
* @param self::DATABASE_VERSION_* $databaseVersion
491495
*/

src/CloudAlloyDBAdmin/ClusterUpgradeDetails.php

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,6 +58,10 @@ class ClusterUpgradeDetails extends \Google\Collection
5858
* The database version is Postgres 17.
5959
*/
6060
public const DATABASE_VERSION_POSTGRES_17 = 'POSTGRES_17';
61+
/**
62+
* The database version is Postgres 18.
63+
*/
64+
public const DATABASE_VERSION_POSTGRES_18 = 'POSTGRES_18';
6165
/**
6266
* Unspecified status.
6367
*/
@@ -146,7 +150,7 @@ public function getClusterType()
146150
* same as that before the upgrade operation.
147151
*
148152
* Accepted values: DATABASE_VERSION_UNSPECIFIED, POSTGRES_13, POSTGRES_14,
149-
* POSTGRES_15, POSTGRES_16, POSTGRES_17
153+
* POSTGRES_15, POSTGRES_16, POSTGRES_17, POSTGRES_18
150154
*
151155
* @param self::DATABASE_VERSION_* $databaseVersion
152156
*/

src/CloudAlloyDBAdmin/UpgradeClusterRequest.php

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,10 @@ class UpgradeClusterRequest extends \Google\Model
4545
* The database version is Postgres 17.
4646
*/
4747
public const VERSION_POSTGRES_17 = 'POSTGRES_17';
48+
/**
49+
* The database version is Postgres 18.
50+
*/
51+
public const VERSION_POSTGRES_18 = 'POSTGRES_18';
4852
/**
4953
* Optional. The current etag of the Cluster. If an etag is provided and does
5054
* not match the current etag of the Cluster, upgrade will be blocked and an
@@ -150,7 +154,7 @@ public function getValidateOnly()
150154
* Required. The version the cluster is going to be upgraded to.
151155
*
152156
* Accepted values: DATABASE_VERSION_UNSPECIFIED, POSTGRES_13, POSTGRES_14,
153-
* POSTGRES_15, POSTGRES_16, POSTGRES_17
157+
* POSTGRES_15, POSTGRES_16, POSTGRES_17, POSTGRES_18
154158
*
155159
* @param self::VERSION_* $version
156160
*/

src/CloudAlloyDBAdmin/UpgradeClusterStatus.php

Lines changed: 10 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,10 @@ class UpgradeClusterStatus extends \Google\Collection
4545
* The database version is Postgres 17.
4646
*/
4747
public const SOURCE_VERSION_POSTGRES_17 = 'POSTGRES_17';
48+
/**
49+
* The database version is Postgres 18.
50+
*/
51+
public const SOURCE_VERSION_POSTGRES_18 = 'POSTGRES_18';
4852
/**
4953
* Unspecified status.
5054
*/
@@ -103,6 +107,10 @@ class UpgradeClusterStatus extends \Google\Collection
103107
* The database version is Postgres 17.
104108
*/
105109
public const TARGET_VERSION_POSTGRES_17 = 'POSTGRES_17';
110+
/**
111+
* The database version is Postgres 18.
112+
*/
113+
public const TARGET_VERSION_POSTGRES_18 = 'POSTGRES_18';
106114
protected $collection_key = 'stages';
107115
/**
108116
* Whether the operation is cancellable.
@@ -151,7 +159,7 @@ public function getCancellable()
151159
* Source database major version.
152160
*
153161
* Accepted values: DATABASE_VERSION_UNSPECIFIED, POSTGRES_13, POSTGRES_14,
154-
* POSTGRES_15, POSTGRES_16, POSTGRES_17
162+
* POSTGRES_15, POSTGRES_16, POSTGRES_17, POSTGRES_18
155163
*
156164
* @param self::SOURCE_VERSION_* $sourceVersion
157165
*/
@@ -205,7 +213,7 @@ public function getState()
205213
* Target database major version.
206214
*
207215
* Accepted values: DATABASE_VERSION_UNSPECIFIED, POSTGRES_13, POSTGRES_14,
208-
* POSTGRES_15, POSTGRES_16, POSTGRES_17
216+
* POSTGRES_15, POSTGRES_16, POSTGRES_17, POSTGRES_18
209217
*
210218
* @param self::TARGET_VERSION_* $targetVersion
211219
*/

0 commit comments

Comments
 (0)