@@ -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