From bc9c0455e041efef56e36c341b8032e3b58a9c9d Mon Sep 17 00:00:00 2001 From: "gcf-owl-bot[bot]" <78513119+gcf-owl-bot[bot]@users.noreply.github.com> Date: Fri, 22 Mar 2024 11:27:54 +0530 Subject: [PATCH] feat: support INSUFFICIENT_DISK_SIZE and INSUFFICIENT_MACHINE_TIER error types for external primary instance migration settings (#7172) PiperOrigin-RevId: 617874320 Source-Link: https://github.com/googleapis/googleapis/commit/7aad45192aa74cb8fc874fe27c3abac56bf1a200 Source-Link: https://github.com/googleapis/googleapis-gen/commit/c08aedbf456d8a4c1e26d487bc8a4759249b0b23 Copy-Tag: eyJwIjoiU3FsQWRtaW4vLk93bEJvdC55YW1sIiwiaCI6ImMwOGFlZGJmNDU2ZDhhNGMxZTI2ZDQ4N2JjOGE0NzU5MjQ5YjBiMjMifQ== --- .../metadata/V1Beta4/CloudSqlResources.php | Bin 25355 -> 25414 bytes .../SqlExternalSyncSettingErrorType.php | 17 +++++++++++++++++ 2 files changed, 17 insertions(+) diff --git a/SqlAdmin/metadata/V1Beta4/CloudSqlResources.php b/SqlAdmin/metadata/V1Beta4/CloudSqlResources.php index e76b609b5f1f7e5565c90327a5da05220ae4bb27..867f91c7e6ba251214c483bb608880d28ad44ba0 100644 GIT binary patch delta 109 zcmeA^#(3-)_OL{WDzRct)`pqosxVhwk9O=zw1`({*LQ-5} zo_@ihZf>5=p00i&@h+ah-tobnQLX~oLb6_bpd}$ BAg}-c delta 53 zcmX?hjIsL|zQ;68hh-WMm-J+QeVNI}T=*t0(l2HC%*7=S6p-F*W)Q); J`J`#BE&w}&6M6su diff --git a/SqlAdmin/src/V1beta4/SqlExternalSyncSettingError/SqlExternalSyncSettingErrorType.php b/SqlAdmin/src/V1beta4/SqlExternalSyncSettingError/SqlExternalSyncSettingErrorType.php index dbac403a6045..9af1117431ef 100644 --- a/SqlAdmin/src/V1beta4/SqlExternalSyncSettingError/SqlExternalSyncSettingErrorType.php +++ b/SqlAdmin/src/V1beta4/SqlExternalSyncSettingError/SqlExternalSyncSettingErrorType.php @@ -270,6 +270,21 @@ class SqlExternalSyncSettingErrorType * Generated from protobuf enum PG_SYNC_PARALLEL_LEVEL = 42; */ const PG_SYNC_PARALLEL_LEVEL = 42; + /** + * The disk size of the replica instance is smaller than the data size of + * the source instance. + * + * Generated from protobuf enum INSUFFICIENT_DISK_SIZE = 43; + */ + const INSUFFICIENT_DISK_SIZE = 43; + /** + * The data size of the source instance is greater than 1 TB, the number of + * cores of the replica instance is less than 8, and the memory of the + * replica is less than 32 GB. + * + * Generated from protobuf enum INSUFFICIENT_MACHINE_TIER = 44; + */ + const INSUFFICIENT_MACHINE_TIER = 44; private static $valueToName = [ self::SQL_EXTERNAL_SYNC_SETTING_ERROR_TYPE_UNSPECIFIED => 'SQL_EXTERNAL_SYNC_SETTING_ERROR_TYPE_UNSPECIFIED', @@ -315,6 +330,8 @@ class SqlExternalSyncSettingErrorType self::SUBSCRIPTION_CALCULATION_STATUS => 'SUBSCRIPTION_CALCULATION_STATUS', self::PG_SUBSCRIPTION_COUNT => 'PG_SUBSCRIPTION_COUNT', self::PG_SYNC_PARALLEL_LEVEL => 'PG_SYNC_PARALLEL_LEVEL', + self::INSUFFICIENT_DISK_SIZE => 'INSUFFICIENT_DISK_SIZE', + self::INSUFFICIENT_MACHINE_TIER => 'INSUFFICIENT_MACHINE_TIER', ]; public static function name($value)