diff --git a/SqlAdmin/metadata/V1/CloudSqlInstances.php b/SqlAdmin/metadata/V1/CloudSqlInstances.php index a41a4f7bbcfc..8ba37fda1744 100644 Binary files a/SqlAdmin/metadata/V1/CloudSqlInstances.php and b/SqlAdmin/metadata/V1/CloudSqlInstances.php differ diff --git a/SqlAdmin/metadata/V1/CloudSqlResources.php b/SqlAdmin/metadata/V1/CloudSqlResources.php index cda4979cc997..4fb8d3d18862 100644 Binary files a/SqlAdmin/metadata/V1/CloudSqlResources.php and b/SqlAdmin/metadata/V1/CloudSqlResources.php differ diff --git a/SqlAdmin/metadata/V1Beta4/CloudSqlResources.php b/SqlAdmin/metadata/V1Beta4/CloudSqlResources.php index 1b061626b4ef..0653acbcf27c 100644 Binary files a/SqlAdmin/metadata/V1Beta4/CloudSqlResources.php and b/SqlAdmin/metadata/V1Beta4/CloudSqlResources.php differ diff --git a/SqlAdmin/src/V1/AvailableDatabaseVersion.php b/SqlAdmin/src/V1/AvailableDatabaseVersion.php new file mode 100644 index 000000000000..163fee4a27c4 --- /dev/null +++ b/SqlAdmin/src/V1/AvailableDatabaseVersion.php @@ -0,0 +1,169 @@ +google.cloud.sql.v1.AvailableDatabaseVersion + */ +class AvailableDatabaseVersion extends \Google\Protobuf\Internal\Message +{ + /** + * The version's major version name. + * + * Generated from protobuf field optional string major_version = 3; + */ + private $major_version = null; + /** + * The database version name. For MySQL 8.0, this string provides the database + * major and minor version. + * + * Generated from protobuf field optional string name = 8; + */ + private $name = null; + /** + * The database version's display name. + * + * Generated from protobuf field optional string display_name = 9; + */ + private $display_name = null; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $major_version + * The version's major version name. + * @type string $name + * The database version name. For MySQL 8.0, this string provides the database + * major and minor version. + * @type string $display_name + * The database version's display name. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Cloud\Sql\V1\CloudSqlInstances::initOnce(); + parent::__construct($data); + } + + /** + * The version's major version name. + * + * Generated from protobuf field optional string major_version = 3; + * @return string + */ + public function getMajorVersion() + { + return isset($this->major_version) ? $this->major_version : ''; + } + + public function hasMajorVersion() + { + return isset($this->major_version); + } + + public function clearMajorVersion() + { + unset($this->major_version); + } + + /** + * The version's major version name. + * + * Generated from protobuf field optional string major_version = 3; + * @param string $var + * @return $this + */ + public function setMajorVersion($var) + { + GPBUtil::checkString($var, True); + $this->major_version = $var; + + return $this; + } + + /** + * The database version name. For MySQL 8.0, this string provides the database + * major and minor version. + * + * Generated from protobuf field optional string name = 8; + * @return string + */ + public function getName() + { + return isset($this->name) ? $this->name : ''; + } + + public function hasName() + { + return isset($this->name); + } + + public function clearName() + { + unset($this->name); + } + + /** + * The database version name. For MySQL 8.0, this string provides the database + * major and minor version. + * + * Generated from protobuf field optional string name = 8; + * @param string $var + * @return $this + */ + public function setName($var) + { + GPBUtil::checkString($var, True); + $this->name = $var; + + return $this; + } + + /** + * The database version's display name. + * + * Generated from protobuf field optional string display_name = 9; + * @return string + */ + public function getDisplayName() + { + return isset($this->display_name) ? $this->display_name : ''; + } + + public function hasDisplayName() + { + return isset($this->display_name); + } + + public function clearDisplayName() + { + unset($this->display_name); + } + + /** + * The database version's display name. + * + * Generated from protobuf field optional string display_name = 9; + * @param string $var + * @return $this + */ + public function setDisplayName($var) + { + GPBUtil::checkString($var, True); + $this->display_name = $var; + + return $this; + } + +} + diff --git a/SqlAdmin/src/V1/CloneContext.php b/SqlAdmin/src/V1/CloneContext.php index 70bcbf5bf21a..50fad36f3759 100644 --- a/SqlAdmin/src/V1/CloneContext.php +++ b/SqlAdmin/src/V1/CloneContext.php @@ -68,9 +68,9 @@ class CloneContext extends \Google\Protobuf\Internal\Message */ private $database_names; /** - * Optional. (Point-in-time recovery for PostgreSQL only) Clone to an instance - * in the specified zone. If no zone is specified, clone to the same zone as - * the source instance. + * Optional. Copy clone and point-in-time recovery clone of an instance to the + * specified zone. If no zone is specified, clone to the same primary zone as + * the source instance. This field applies to all DB types. * * Generated from protobuf field optional string preferred_zone = 10 [(.google.api.field_behavior) = OPTIONAL]; */ @@ -107,9 +107,9 @@ class CloneContext extends \Google\Protobuf\Internal\Message * (SQL Server only) Clone only the specified databases from the source * instance. Clone all databases if empty. * @type string $preferred_zone - * Optional. (Point-in-time recovery for PostgreSQL only) Clone to an instance - * in the specified zone. If no zone is specified, clone to the same zone as - * the source instance. + * Optional. Copy clone and point-in-time recovery clone of an instance to the + * specified zone. If no zone is specified, clone to the same primary zone as + * the source instance. This field applies to all DB types. * } */ public function __construct($data = NULL) { @@ -340,9 +340,9 @@ public function setDatabaseNames($var) } /** - * Optional. (Point-in-time recovery for PostgreSQL only) Clone to an instance - * in the specified zone. If no zone is specified, clone to the same zone as - * the source instance. + * Optional. Copy clone and point-in-time recovery clone of an instance to the + * specified zone. If no zone is specified, clone to the same primary zone as + * the source instance. This field applies to all DB types. * * Generated from protobuf field optional string preferred_zone = 10 [(.google.api.field_behavior) = OPTIONAL]; * @return string @@ -363,9 +363,9 @@ public function clearPreferredZone() } /** - * Optional. (Point-in-time recovery for PostgreSQL only) Clone to an instance - * in the specified zone. If no zone is specified, clone to the same zone as - * the source instance. + * Optional. Copy clone and point-in-time recovery clone of an instance to the + * specified zone. If no zone is specified, clone to the same primary zone as + * the source instance. This field applies to all DB types. * * Generated from protobuf field optional string preferred_zone = 10 [(.google.api.field_behavior) = OPTIONAL]; * @param string $var diff --git a/SqlAdmin/src/V1/DatabaseInstance.php b/SqlAdmin/src/V1/DatabaseInstance.php index cbb95b7d472a..2871e26f34cf 100644 --- a/SqlAdmin/src/V1/DatabaseInstance.php +++ b/SqlAdmin/src/V1/DatabaseInstance.php @@ -271,6 +271,12 @@ class DatabaseInstance extends \Google\Protobuf\Internal\Message * Generated from protobuf field string maintenance_version = 42; */ private $maintenance_version = ''; + /** + * Output only. All database versions that are available for upgrade. + * + * Generated from protobuf field repeated .google.cloud.sql.v1.AvailableDatabaseVersion upgradable_database_versions = 45 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + private $upgradable_database_versions; /** * Generated from protobuf field optional .google.cloud.sql.v1.DatabaseInstance.SqlNetworkArchitecture sql_network_architecture = 47; */ @@ -431,6 +437,8 @@ class DatabaseInstance extends \Google\Protobuf\Internal\Message * Output only. List all maintenance versions applicable on the instance * @type string $maintenance_version * The current software version on the instance. + * @type array<\Google\Cloud\Sql\V1\AvailableDatabaseVersion>|\Google\Protobuf\Internal\RepeatedField $upgradable_database_versions + * Output only. All database versions that are available for upgrade. * @type int $sql_network_architecture * @type string $psc_service_attachment_link * Output only. The link to service attachment of PSC instance. @@ -1705,6 +1713,32 @@ public function setMaintenanceVersion($var) return $this; } + /** + * Output only. All database versions that are available for upgrade. + * + * Generated from protobuf field repeated .google.cloud.sql.v1.AvailableDatabaseVersion upgradable_database_versions = 45 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return \Google\Protobuf\Internal\RepeatedField + */ + public function getUpgradableDatabaseVersions() + { + return $this->upgradable_database_versions; + } + + /** + * Output only. All database versions that are available for upgrade. + * + * Generated from protobuf field repeated .google.cloud.sql.v1.AvailableDatabaseVersion upgradable_database_versions = 45 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param array<\Google\Cloud\Sql\V1\AvailableDatabaseVersion>|\Google\Protobuf\Internal\RepeatedField $var + * @return $this + */ + public function setUpgradableDatabaseVersions($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\Sql\V1\AvailableDatabaseVersion::class); + $this->upgradable_database_versions = $arr; + + return $this; + } + /** * Generated from protobuf field optional .google.cloud.sql.v1.DatabaseInstance.SqlNetworkArchitecture sql_network_architecture = 47; * @return int diff --git a/SqlAdmin/src/V1/Settings.php b/SqlAdmin/src/V1/Settings.php index f577cf3cf310..cc7ed2c73bba 100644 --- a/SqlAdmin/src/V1/Settings.php +++ b/SqlAdmin/src/V1/Settings.php @@ -240,8 +240,8 @@ class Settings extends \Google\Protobuf\Internal\Message */ private $time_zone = ''; /** - * Specifies advance machine configuration for the instance - * relevant only for SQL Server. + * Specifies advanced machine configuration for the instances relevant only + * for SQL Server. * * Generated from protobuf field .google.cloud.sql.v1.AdvancedMachineFeatures advanced_machine_features = 35; */ @@ -370,8 +370,8 @@ class Settings extends \Google\Protobuf\Internal\Message * @type string $time_zone * Server timezone, relevant only for Cloud SQL for SQL Server. * @type \Google\Cloud\Sql\V1\AdvancedMachineFeatures $advanced_machine_features - * Specifies advance machine configuration for the instance - * relevant only for SQL Server. + * Specifies advanced machine configuration for the instances relevant only + * for SQL Server. * @type \Google\Cloud\Sql\V1\DataCacheConfig $data_cache_config * Configuration for data cache. * @type \Google\Protobuf\BoolValue $enable_google_ml_integration @@ -1621,8 +1621,8 @@ public function setTimeZone($var) } /** - * Specifies advance machine configuration for the instance - * relevant only for SQL Server. + * Specifies advanced machine configuration for the instances relevant only + * for SQL Server. * * Generated from protobuf field .google.cloud.sql.v1.AdvancedMachineFeatures advanced_machine_features = 35; * @return \Google\Cloud\Sql\V1\AdvancedMachineFeatures|null @@ -1643,8 +1643,8 @@ public function clearAdvancedMachineFeatures() } /** - * Specifies advance machine configuration for the instance - * relevant only for SQL Server. + * Specifies advanced machine configuration for the instances relevant only + * for SQL Server. * * Generated from protobuf field .google.cloud.sql.v1.AdvancedMachineFeatures advanced_machine_features = 35; * @param \Google\Cloud\Sql\V1\AdvancedMachineFeatures $var diff --git a/SqlAdmin/src/V1/SqlDatabaseVersion.php b/SqlAdmin/src/V1/SqlDatabaseVersion.php index 43d42b800e11..f251191daedb 100644 --- a/SqlAdmin/src/V1/SqlDatabaseVersion.php +++ b/SqlAdmin/src/V1/SqlDatabaseVersion.php @@ -109,6 +109,12 @@ class SqlDatabaseVersion * Generated from protobuf enum POSTGRES_15 = 172; */ const POSTGRES_15 = 172; + /** + * The database version is PostgreSQL 16. + * + * Generated from protobuf enum POSTGRES_16 = 272; + */ + const POSTGRES_16 = 272; /** * The database version is MySQL 8. * @@ -217,6 +223,12 @@ class SqlDatabaseVersion * Generated from protobuf enum MYSQL_8_4 = 398; */ const MYSQL_8_4 = 398; + /** + * The database version is MySQL 8.4 and the patch version is 0. + * + * Generated from protobuf enum MYSQL_8_4_0 = 399; + */ + const MYSQL_8_4_0 = 399; /** * The database version is SQL Server 2019 Standard. * @@ -283,6 +295,7 @@ class SqlDatabaseVersion self::POSTGRES_13 => 'POSTGRES_13', self::POSTGRES_14 => 'POSTGRES_14', self::POSTGRES_15 => 'POSTGRES_15', + self::POSTGRES_16 => 'POSTGRES_16', self::MYSQL_8_0 => 'MYSQL_8_0', self::MYSQL_8_0_18 => 'MYSQL_8_0_18', self::MYSQL_8_0_26 => 'MYSQL_8_0_26', @@ -301,6 +314,7 @@ class SqlDatabaseVersion self::MYSQL_8_0_39 => 'MYSQL_8_0_39', self::MYSQL_8_0_40 => 'MYSQL_8_0_40', self::MYSQL_8_4 => 'MYSQL_8_4', + self::MYSQL_8_4_0 => 'MYSQL_8_4_0', self::SQLSERVER_2019_STANDARD => 'SQLSERVER_2019_STANDARD', self::SQLSERVER_2019_ENTERPRISE => 'SQLSERVER_2019_ENTERPRISE', self::SQLSERVER_2019_EXPRESS => 'SQLSERVER_2019_EXPRESS', diff --git a/SqlAdmin/src/V1/SqlExternalSyncSettingError/SqlExternalSyncSettingErrorType.php b/SqlAdmin/src/V1/SqlExternalSyncSettingError/SqlExternalSyncSettingErrorType.php index 18c538dbf5e2..b8be40a05fa8 100644 --- a/SqlAdmin/src/V1/SqlExternalSyncSettingError/SqlExternalSyncSettingErrorType.php +++ b/SqlAdmin/src/V1/SqlExternalSyncSettingError/SqlExternalSyncSettingErrorType.php @@ -285,6 +285,27 @@ class SqlExternalSyncSettingErrorType * Generated from protobuf enum INSUFFICIENT_MACHINE_TIER = 44; */ const INSUFFICIENT_MACHINE_TIER = 44; + /** + * The warning message indicates the unsupported extensions will not be + * migrated to the destination. + * + * Generated from protobuf enum UNSUPPORTED_EXTENSIONS_NOT_MIGRATED = 45; + */ + const UNSUPPORTED_EXTENSIONS_NOT_MIGRATED = 45; + /** + * The warning message indicates the pg_cron extension and settings will not + * be migrated to the destination. + * + * Generated from protobuf enum EXTENSIONS_NOT_MIGRATED = 46; + */ + const EXTENSIONS_NOT_MIGRATED = 46; + /** + * The error message indicates that pg_cron flags are enabled on the + * destination which is not supported during the migration. + * + * Generated from protobuf enum PG_CRON_FLAG_ENABLED_IN_REPLICA = 47; + */ + const PG_CRON_FLAG_ENABLED_IN_REPLICA = 47; private static $valueToName = [ self::SQL_EXTERNAL_SYNC_SETTING_ERROR_TYPE_UNSPECIFIED => 'SQL_EXTERNAL_SYNC_SETTING_ERROR_TYPE_UNSPECIFIED', @@ -332,6 +353,9 @@ class SqlExternalSyncSettingErrorType self::PG_SYNC_PARALLEL_LEVEL => 'PG_SYNC_PARALLEL_LEVEL', self::INSUFFICIENT_DISK_SIZE => 'INSUFFICIENT_DISK_SIZE', self::INSUFFICIENT_MACHINE_TIER => 'INSUFFICIENT_MACHINE_TIER', + self::UNSUPPORTED_EXTENSIONS_NOT_MIGRATED => 'UNSUPPORTED_EXTENSIONS_NOT_MIGRATED', + self::EXTENSIONS_NOT_MIGRATED => 'EXTENSIONS_NOT_MIGRATED', + self::PG_CRON_FLAG_ENABLED_IN_REPLICA => 'PG_CRON_FLAG_ENABLED_IN_REPLICA', ]; public static function name($value) diff --git a/SqlAdmin/src/V1beta4/AvailableDatabaseVersion.php b/SqlAdmin/src/V1beta4/AvailableDatabaseVersion.php new file mode 100644 index 000000000000..16bd487cafe6 --- /dev/null +++ b/SqlAdmin/src/V1beta4/AvailableDatabaseVersion.php @@ -0,0 +1,169 @@ +google.cloud.sql.v1beta4.AvailableDatabaseVersion + */ +class AvailableDatabaseVersion extends \Google\Protobuf\Internal\Message +{ + /** + * The version's major version name. + * + * Generated from protobuf field optional string major_version = 3; + */ + private $major_version = null; + /** + * The database version name. For MySQL 8.0, this string provides the database + * major and minor version. + * + * Generated from protobuf field optional string name = 8; + */ + private $name = null; + /** + * The database version's display name. + * + * Generated from protobuf field optional string display_name = 9; + */ + private $display_name = null; + + /** + * Constructor. + * + * @param array $data { + * Optional. Data for populating the Message object. + * + * @type string $major_version + * The version's major version name. + * @type string $name + * The database version name. For MySQL 8.0, this string provides the database + * major and minor version. + * @type string $display_name + * The database version's display name. + * } + */ + public function __construct($data = NULL) { + \GPBMetadata\Google\Cloud\Sql\V1Beta4\CloudSqlResources::initOnce(); + parent::__construct($data); + } + + /** + * The version's major version name. + * + * Generated from protobuf field optional string major_version = 3; + * @return string + */ + public function getMajorVersion() + { + return isset($this->major_version) ? $this->major_version : ''; + } + + public function hasMajorVersion() + { + return isset($this->major_version); + } + + public function clearMajorVersion() + { + unset($this->major_version); + } + + /** + * The version's major version name. + * + * Generated from protobuf field optional string major_version = 3; + * @param string $var + * @return $this + */ + public function setMajorVersion($var) + { + GPBUtil::checkString($var, True); + $this->major_version = $var; + + return $this; + } + + /** + * The database version name. For MySQL 8.0, this string provides the database + * major and minor version. + * + * Generated from protobuf field optional string name = 8; + * @return string + */ + public function getName() + { + return isset($this->name) ? $this->name : ''; + } + + public function hasName() + { + return isset($this->name); + } + + public function clearName() + { + unset($this->name); + } + + /** + * The database version name. For MySQL 8.0, this string provides the database + * major and minor version. + * + * Generated from protobuf field optional string name = 8; + * @param string $var + * @return $this + */ + public function setName($var) + { + GPBUtil::checkString($var, True); + $this->name = $var; + + return $this; + } + + /** + * The database version's display name. + * + * Generated from protobuf field optional string display_name = 9; + * @return string + */ + public function getDisplayName() + { + return isset($this->display_name) ? $this->display_name : ''; + } + + public function hasDisplayName() + { + return isset($this->display_name); + } + + public function clearDisplayName() + { + unset($this->display_name); + } + + /** + * The database version's display name. + * + * Generated from protobuf field optional string display_name = 9; + * @param string $var + * @return $this + */ + public function setDisplayName($var) + { + GPBUtil::checkString($var, True); + $this->display_name = $var; + + return $this; + } + +} + diff --git a/SqlAdmin/src/V1beta4/DatabaseInstance.php b/SqlAdmin/src/V1beta4/DatabaseInstance.php index 3a6b76c5c75f..66efeee402c8 100644 --- a/SqlAdmin/src/V1beta4/DatabaseInstance.php +++ b/SqlAdmin/src/V1beta4/DatabaseInstance.php @@ -271,6 +271,12 @@ class DatabaseInstance extends \Google\Protobuf\Internal\Message * Generated from protobuf field string maintenance_version = 42; */ private $maintenance_version = ''; + /** + * Output only. All database versions that are available for upgrade. + * + * Generated from protobuf field repeated .google.cloud.sql.v1beta4.AvailableDatabaseVersion upgradable_database_versions = 45 [(.google.api.field_behavior) = OUTPUT_ONLY]; + */ + private $upgradable_database_versions; /** * The SQL network architecture for the instance. * @@ -433,6 +439,8 @@ class DatabaseInstance extends \Google\Protobuf\Internal\Message * Output only. List all maintenance versions applicable on the instance * @type string $maintenance_version * The current software version on the instance. + * @type array<\Google\Cloud\Sql\V1beta4\AvailableDatabaseVersion>|\Google\Protobuf\Internal\RepeatedField $upgradable_database_versions + * Output only. All database versions that are available for upgrade. * @type int $sql_network_architecture * The SQL network architecture for the instance. * @type string $psc_service_attachment_link @@ -1708,6 +1716,32 @@ public function setMaintenanceVersion($var) return $this; } + /** + * Output only. All database versions that are available for upgrade. + * + * Generated from protobuf field repeated .google.cloud.sql.v1beta4.AvailableDatabaseVersion upgradable_database_versions = 45 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @return \Google\Protobuf\Internal\RepeatedField + */ + public function getUpgradableDatabaseVersions() + { + return $this->upgradable_database_versions; + } + + /** + * Output only. All database versions that are available for upgrade. + * + * Generated from protobuf field repeated .google.cloud.sql.v1beta4.AvailableDatabaseVersion upgradable_database_versions = 45 [(.google.api.field_behavior) = OUTPUT_ONLY]; + * @param array<\Google\Cloud\Sql\V1beta4\AvailableDatabaseVersion>|\Google\Protobuf\Internal\RepeatedField $var + * @return $this + */ + public function setUpgradableDatabaseVersions($var) + { + $arr = GPBUtil::checkRepeatedField($var, \Google\Protobuf\Internal\GPBType::MESSAGE, \Google\Cloud\Sql\V1beta4\AvailableDatabaseVersion::class); + $this->upgradable_database_versions = $arr; + + return $this; + } + /** * The SQL network architecture for the instance. * diff --git a/SqlAdmin/src/V1beta4/Settings.php b/SqlAdmin/src/V1beta4/Settings.php index 5ade6e2a6f06..ccb7d4d2f074 100644 --- a/SqlAdmin/src/V1beta4/Settings.php +++ b/SqlAdmin/src/V1beta4/Settings.php @@ -240,8 +240,8 @@ class Settings extends \Google\Protobuf\Internal\Message */ private $time_zone = ''; /** - * Specifies advance machine configuration for the instance - * relevant only for SQL Server. + * Specifies advanced machine configuration for the instances relevant only + * for SQL Server. * * Generated from protobuf field .google.cloud.sql.v1beta4.AdvancedMachineFeatures advanced_machine_features = 35; */ @@ -370,8 +370,8 @@ class Settings extends \Google\Protobuf\Internal\Message * @type string $time_zone * Server timezone, relevant only for Cloud SQL for SQL Server. * @type \Google\Cloud\Sql\V1beta4\AdvancedMachineFeatures $advanced_machine_features - * Specifies advance machine configuration for the instance - * relevant only for SQL Server. + * Specifies advanced machine configuration for the instances relevant only + * for SQL Server. * @type \Google\Cloud\Sql\V1beta4\DataCacheConfig $data_cache_config * Configuration for data cache. * @type \Google\Protobuf\BoolValue $enable_google_ml_integration @@ -1621,8 +1621,8 @@ public function setTimeZone($var) } /** - * Specifies advance machine configuration for the instance - * relevant only for SQL Server. + * Specifies advanced machine configuration for the instances relevant only + * for SQL Server. * * Generated from protobuf field .google.cloud.sql.v1beta4.AdvancedMachineFeatures advanced_machine_features = 35; * @return \Google\Cloud\Sql\V1beta4\AdvancedMachineFeatures|null @@ -1643,8 +1643,8 @@ public function clearAdvancedMachineFeatures() } /** - * Specifies advance machine configuration for the instance - * relevant only for SQL Server. + * Specifies advanced machine configuration for the instances relevant only + * for SQL Server. * * Generated from protobuf field .google.cloud.sql.v1beta4.AdvancedMachineFeatures advanced_machine_features = 35; * @param \Google\Cloud\Sql\V1beta4\AdvancedMachineFeatures $var diff --git a/SqlAdmin/src/V1beta4/SqlExternalSyncSettingError/SqlExternalSyncSettingErrorType.php b/SqlAdmin/src/V1beta4/SqlExternalSyncSettingError/SqlExternalSyncSettingErrorType.php index 9af1117431ef..3f3273ad5890 100644 --- a/SqlAdmin/src/V1beta4/SqlExternalSyncSettingError/SqlExternalSyncSettingErrorType.php +++ b/SqlAdmin/src/V1beta4/SqlExternalSyncSettingError/SqlExternalSyncSettingErrorType.php @@ -285,6 +285,27 @@ class SqlExternalSyncSettingErrorType * Generated from protobuf enum INSUFFICIENT_MACHINE_TIER = 44; */ const INSUFFICIENT_MACHINE_TIER = 44; + /** + * The warning message indicates the unsupported extensions will not be + * migrated to the destination. + * + * Generated from protobuf enum UNSUPPORTED_EXTENSIONS_NOT_MIGRATED = 45; + */ + const UNSUPPORTED_EXTENSIONS_NOT_MIGRATED = 45; + /** + * The warning message indicates the pg_cron extension and settings will not + * be migrated to the destination. + * + * Generated from protobuf enum EXTENSIONS_NOT_MIGRATED = 46; + */ + const EXTENSIONS_NOT_MIGRATED = 46; + /** + * The error message indicates that pg_cron flags are enabled on the + * destination which is not supported during the migration. + * + * Generated from protobuf enum PG_CRON_FLAG_ENABLED_IN_REPLICA = 47; + */ + const PG_CRON_FLAG_ENABLED_IN_REPLICA = 47; private static $valueToName = [ self::SQL_EXTERNAL_SYNC_SETTING_ERROR_TYPE_UNSPECIFIED => 'SQL_EXTERNAL_SYNC_SETTING_ERROR_TYPE_UNSPECIFIED', @@ -332,6 +353,9 @@ class SqlExternalSyncSettingErrorType self::PG_SYNC_PARALLEL_LEVEL => 'PG_SYNC_PARALLEL_LEVEL', self::INSUFFICIENT_DISK_SIZE => 'INSUFFICIENT_DISK_SIZE', self::INSUFFICIENT_MACHINE_TIER => 'INSUFFICIENT_MACHINE_TIER', + self::UNSUPPORTED_EXTENSIONS_NOT_MIGRATED => 'UNSUPPORTED_EXTENSIONS_NOT_MIGRATED', + self::EXTENSIONS_NOT_MIGRATED => 'EXTENSIONS_NOT_MIGRATED', + self::PG_CRON_FLAG_ENABLED_IN_REPLICA => 'PG_CRON_FLAG_ENABLED_IN_REPLICA', ]; public static function name($value)