diff --git a/packages/google-cloud-sql/protos/google/cloud/sql/v1beta4/cloud_sql_resources.proto b/packages/google-cloud-sql/protos/google/cloud/sql/v1beta4/cloud_sql_resources.proto index 09cd2475cc9..a6060793e89 100644 --- a/packages/google-cloud-sql/protos/google/cloud/sql/v1beta4/cloud_sql_resources.proto +++ b/packages/google-cloud-sql/protos/google/cloud/sql/v1beta4/cloud_sql_resources.proto @@ -1276,6 +1276,15 @@ message SqlExternalSyncSettingError { // Final parallel level that is used to do migration. PG_SYNC_PARALLEL_LEVEL = 42; + + // The disk size of the replica instance is smaller than the data size of + // the source instance. + 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. + INSUFFICIENT_MACHINE_TIER = 44; } // Can be `sql#externalSyncSettingError` or diff --git a/packages/google-cloud-sql/protos/protos.d.ts b/packages/google-cloud-sql/protos/protos.d.ts index cb7990bf92b..a9622efb367 100644 --- a/packages/google-cloud-sql/protos/protos.d.ts +++ b/packages/google-cloud-sql/protos/protos.d.ts @@ -32528,7 +32528,9 @@ export namespace google { UNABLE_TO_VERIFY_DEFINERS = 39, SUBSCRIPTION_CALCULATION_STATUS = 40, PG_SUBSCRIPTION_COUNT = 41, - PG_SYNC_PARALLEL_LEVEL = 42 + PG_SYNC_PARALLEL_LEVEL = 42, + INSUFFICIENT_DISK_SIZE = 43, + INSUFFICIENT_MACHINE_TIER = 44 } } diff --git a/packages/google-cloud-sql/protos/protos.js b/packages/google-cloud-sql/protos/protos.js index bb8bdf2232b..3b547ca82b5 100644 --- a/packages/google-cloud-sql/protos/protos.js +++ b/packages/google-cloud-sql/protos/protos.js @@ -80142,6 +80142,8 @@ case 40: case 41: case 42: + case 43: + case 44: break; } if (message.detail != null && message.hasOwnProperty("detail")) @@ -80343,6 +80345,14 @@ case 42: message.type = 42; break; + case "INSUFFICIENT_DISK_SIZE": + case 43: + message.type = 43; + break; + case "INSUFFICIENT_MACHINE_TIER": + case 44: + message.type = 44; + break; } if (object.detail != null) message.detail = String(object.detail); @@ -80449,6 +80459,8 @@ * @property {number} SUBSCRIPTION_CALCULATION_STATUS=40 SUBSCRIPTION_CALCULATION_STATUS value * @property {number} PG_SUBSCRIPTION_COUNT=41 PG_SUBSCRIPTION_COUNT value * @property {number} PG_SYNC_PARALLEL_LEVEL=42 PG_SYNC_PARALLEL_LEVEL value + * @property {number} INSUFFICIENT_DISK_SIZE=43 INSUFFICIENT_DISK_SIZE value + * @property {number} INSUFFICIENT_MACHINE_TIER=44 INSUFFICIENT_MACHINE_TIER value */ SqlExternalSyncSettingError.SqlExternalSyncSettingErrorType = (function() { var valuesById = {}, values = Object.create(valuesById); @@ -80495,6 +80507,8 @@ values[valuesById[40] = "SUBSCRIPTION_CALCULATION_STATUS"] = 40; values[valuesById[41] = "PG_SUBSCRIPTION_COUNT"] = 41; values[valuesById[42] = "PG_SYNC_PARALLEL_LEVEL"] = 42; + values[valuesById[43] = "INSUFFICIENT_DISK_SIZE"] = 43; + values[valuesById[44] = "INSUFFICIENT_MACHINE_TIER"] = 44; return values; })(); diff --git a/packages/google-cloud-sql/protos/protos.json b/packages/google-cloud-sql/protos/protos.json index 37be83233ac..28c1d0d164f 100644 --- a/packages/google-cloud-sql/protos/protos.json +++ b/packages/google-cloud-sql/protos/protos.json @@ -7830,7 +7830,9 @@ "UNABLE_TO_VERIFY_DEFINERS": 39, "SUBSCRIPTION_CALCULATION_STATUS": 40, "PG_SUBSCRIPTION_COUNT": 41, - "PG_SYNC_PARALLEL_LEVEL": 42 + "PG_SYNC_PARALLEL_LEVEL": 42, + "INSUFFICIENT_DISK_SIZE": 43, + "INSUFFICIENT_MACHINE_TIER": 44 } } }