Skip to content

Commit

Permalink
feat: A new value SUBSCRIPTION_CALCULATION_STATUS is added to enum …
Browse files Browse the repository at this point in the history
…`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
  • Loading branch information
Google APIs authored and Copybara-Service committed Feb 13, 2024
1 parent 8e7f6bb commit cfb7db9
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 3 deletions.
10 changes: 7 additions & 3 deletions google/cloud/sql/v1/cloud_sql_instances.proto
Original file line number Diff line number Diff line change
Expand Up @@ -1018,14 +1018,14 @@ message DatabaseInstance {
optional int32 sql_min_recommended_increase_size_gb = 2;
}

// The current SQL network architecture for the instance.
// The SQL network architecture for the instance.
enum SqlNetworkArchitecture {
SQL_NETWORK_ARCHITECTURE_UNSPECIFIED = 0;

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

// Instance is an Umbrella instance.
// The instance uses the old network architecture.
OLD_NETWORK_ARCHITECTURE = 2;
}

Expand Down Expand Up @@ -1439,6 +1439,10 @@ message SqlExternalSyncSettingError {

// Unable to verify definers on the source for MySQL.
UNABLE_TO_VERIFY_DEFINERS = 39;

// If a time out occurs while the subscription counts are calculated, then
// this value is set to 1. Otherwise, this value is set to 2.
SUBSCRIPTION_CALCULATION_STATUS = 40;
}

// Can be `sql#externalSyncSettingError` or
Expand Down
8 changes: 8 additions & 0 deletions google/cloud/sql/v1/cloud_sql_resources.proto
Original file line number Diff line number Diff line change
Expand Up @@ -328,6 +328,14 @@ message ExportContext {
google.protobuf.BoolValue schema_only = 2;

MysqlExportOptions mysql_export_options = 3;

// Optional. The number of threads to use for parallel export.
google.protobuf.Int32Value threads = 4
[(google.api.field_behavior) = OPTIONAL];

// Optional. Whether or not the export should be parallel.
google.protobuf.BoolValue parallel = 5
[(google.api.field_behavior) = OPTIONAL];
}

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

0 comments on commit cfb7db9

Please sign in to comment.