Skip to content

Commit cfb7db9

Browse files
Google APIscopybara-github
authored andcommitted
feat: A new value SUBSCRIPTION_CALCULATION_STATUS is added to enum SqlExternalSyncSettingErrorType
feat: A new field `threads` is added to message `.google.cloud.sql.v1.ExportContext` feat: A new field `parallel` is added to message `.google.cloud.sql.v1.ExportContext` docs: A comment for enum `SqlNetworkArchitecture` is changed docs: A comment for enum value `NEW_NETWORK_ARCHITECTURE` in enum `SqlNetworkArchitecture` is changed docs: A comment for enum value `OLD_NETWORK_ARCHITECTURE` in enum `SqlNetworkArchitecture` is changed PiperOrigin-RevId: 606684808
1 parent 8e7f6bb commit cfb7db9

2 files changed

Lines changed: 15 additions & 3 deletions

File tree

google/cloud/sql/v1/cloud_sql_instances.proto

Lines changed: 7 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1018,14 +1018,14 @@ message DatabaseInstance {
10181018
optional int32 sql_min_recommended_increase_size_gb = 2;
10191019
}
10201020

1021-
// The current SQL network architecture for the instance.
1021+
// The SQL network architecture for the instance.
10221022
enum SqlNetworkArchitecture {
10231023
SQL_NETWORK_ARCHITECTURE_UNSPECIFIED = 0;
10241024

1025-
// Instance is a Tenancy Unit (TU) instance.
1025+
// The instance uses the new network architecture.
10261026
NEW_NETWORK_ARCHITECTURE = 1;
10271027

1028-
// Instance is an Umbrella instance.
1028+
// The instance uses the old network architecture.
10291029
OLD_NETWORK_ARCHITECTURE = 2;
10301030
}
10311031

@@ -1439,6 +1439,10 @@ message SqlExternalSyncSettingError {
14391439

14401440
// Unable to verify definers on the source for MySQL.
14411441
UNABLE_TO_VERIFY_DEFINERS = 39;
1442+
1443+
// If a time out occurs while the subscription counts are calculated, then
1444+
// this value is set to 1. Otherwise, this value is set to 2.
1445+
SUBSCRIPTION_CALCULATION_STATUS = 40;
14421446
}
14431447

14441448
// Can be `sql#externalSyncSettingError` or

google/cloud/sql/v1/cloud_sql_resources.proto

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -328,6 +328,14 @@ message ExportContext {
328328
google.protobuf.BoolValue schema_only = 2;
329329

330330
MysqlExportOptions mysql_export_options = 3;
331+
332+
// Optional. The number of threads to use for parallel export.
333+
google.protobuf.Int32Value threads = 4
334+
[(google.api.field_behavior) = OPTIONAL];
335+
336+
// Optional. Whether or not the export should be parallel.
337+
google.protobuf.BoolValue parallel = 5
338+
[(google.api.field_behavior) = OPTIONAL];
331339
}
332340

333341
// Options for exporting BAK files (SQL Server-only)

0 commit comments

Comments
 (0)