Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 1a298f0

Browse files
committedJun 6, 2023
feat(sqladmin): update the api
#### sqladmin:v1 The following keys were deleted: - schemas.CloneContext.properties.preferredZone.type (Total Keys: 1) The following keys were added: - resources.operations.methods.cancel (Total Keys: 13) - schemas.Empty (Total Keys: 2) - schemas.SqlInstancesStartExternalSyncRequest.properties.syncParallelLevel.type (Total Keys: 1) #### sqladmin:v1beta4 The following keys were deleted: - schemas.CloneContext.properties.preferredZone.type (Total Keys: 1) The following keys were added: - resources.operations.methods.cancel (Total Keys: 13) - schemas.Empty (Total Keys: 2) - schemas.SqlInstancesStartExternalSyncRequest.properties.syncParallelLevel.type (Total Keys: 1)
1 parent f712b82 commit 1a298f0

8 files changed

+188
-28
lines changed
 

‎docs/dyn/sqladmin_v1.instances.html

+5-6
Original file line numberDiff line numberDiff line change
@@ -274,7 +274,6 @@ <h3>Method Details</h3>
274274
&quot;kind&quot;: &quot;A String&quot;, # This is always `sql#cloneContext`.
275275
&quot;pitrTimestampMs&quot;: &quot;A String&quot;, # Reserved for future use.
276276
&quot;pointInTime&quot;: &quot;A String&quot;, # Timestamp, if specified, identifies the time to which the source instance is cloned.
277-
&quot;preferredZone&quot;: &quot;A String&quot;, # (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.
278277
},
279278
}
280279

@@ -1010,7 +1009,7 @@ <h3>Method Details</h3>
10101009
&quot;enabled&quot;: True or False, # Whether this configuration is enabled.
10111010
&quot;kind&quot;: &quot;A String&quot;, # This is always `sql#backupConfiguration`.
10121011
&quot;location&quot;: &quot;A String&quot;, # Location of the backup
1013-
&quot;pointInTimeRecoveryEnabled&quot;: True or False, # (Postgres only) Whether point in time recovery is enabled.
1012+
&quot;pointInTimeRecoveryEnabled&quot;: True or False, # Whether point in time recovery is enabled.
10141013
&quot;replicationLogArchivingEnabled&quot;: True or False, # Reserved for future use.
10151014
&quot;startTime&quot;: &quot;A String&quot;, # Start time for the daily backup configuration in UTC timezone in the 24 hour format - `HH:MM`.
10161015
&quot;transactionLogRetentionDays&quot;: 42, # The number of days of transaction logs we retain for point in time restore, from 1-7.
@@ -1373,7 +1372,7 @@ <h3>Method Details</h3>
13731372
&quot;enabled&quot;: True or False, # Whether this configuration is enabled.
13741373
&quot;kind&quot;: &quot;A String&quot;, # This is always `sql#backupConfiguration`.
13751374
&quot;location&quot;: &quot;A String&quot;, # Location of the backup
1376-
&quot;pointInTimeRecoveryEnabled&quot;: True or False, # (Postgres only) Whether point in time recovery is enabled.
1375+
&quot;pointInTimeRecoveryEnabled&quot;: True or False, # Whether point in time recovery is enabled.
13771376
&quot;replicationLogArchivingEnabled&quot;: True or False, # Reserved for future use.
13781377
&quot;startTime&quot;: &quot;A String&quot;, # Start time for the daily backup configuration in UTC timezone in the 24 hour format - `HH:MM`.
13791378
&quot;transactionLogRetentionDays&quot;: 42, # The number of days of transaction logs we retain for point in time restore, from 1-7.
@@ -1704,7 +1703,7 @@ <h3>Method Details</h3>
17041703
&quot;enabled&quot;: True or False, # Whether this configuration is enabled.
17051704
&quot;kind&quot;: &quot;A String&quot;, # This is always `sql#backupConfiguration`.
17061705
&quot;location&quot;: &quot;A String&quot;, # Location of the backup
1707-
&quot;pointInTimeRecoveryEnabled&quot;: True or False, # (Postgres only) Whether point in time recovery is enabled.
1706+
&quot;pointInTimeRecoveryEnabled&quot;: True or False, # Whether point in time recovery is enabled.
17081707
&quot;replicationLogArchivingEnabled&quot;: True or False, # Reserved for future use.
17091708
&quot;startTime&quot;: &quot;A String&quot;, # Start time for the daily backup configuration in UTC timezone in the 24 hour format - `HH:MM`.
17101709
&quot;transactionLogRetentionDays&quot;: 42, # The number of days of transaction logs we retain for point in time restore, from 1-7.
@@ -1988,7 +1987,7 @@ <h3>Method Details</h3>
19881987
&quot;enabled&quot;: True or False, # Whether this configuration is enabled.
19891988
&quot;kind&quot;: &quot;A String&quot;, # This is always `sql#backupConfiguration`.
19901989
&quot;location&quot;: &quot;A String&quot;, # Location of the backup
1991-
&quot;pointInTimeRecoveryEnabled&quot;: True or False, # (Postgres only) Whether point in time recovery is enabled.
1990+
&quot;pointInTimeRecoveryEnabled&quot;: True or False, # Whether point in time recovery is enabled.
19921991
&quot;replicationLogArchivingEnabled&quot;: True or False, # Reserved for future use.
19931992
&quot;startTime&quot;: &quot;A String&quot;, # Start time for the daily backup configuration in UTC timezone in the 24 hour format - `HH:MM`.
19941993
&quot;transactionLogRetentionDays&quot;: 42, # The number of days of transaction logs we retain for point in time restore, from 1-7.
@@ -3182,7 +3181,7 @@ <h3>Method Details</h3>
31823181
&quot;enabled&quot;: True or False, # Whether this configuration is enabled.
31833182
&quot;kind&quot;: &quot;A String&quot;, # This is always `sql#backupConfiguration`.
31843183
&quot;location&quot;: &quot;A String&quot;, # Location of the backup
3185-
&quot;pointInTimeRecoveryEnabled&quot;: True or False, # (Postgres only) Whether point in time recovery is enabled.
3184+
&quot;pointInTimeRecoveryEnabled&quot;: True or False, # Whether point in time recovery is enabled.
31863185
&quot;replicationLogArchivingEnabled&quot;: True or False, # Reserved for future use.
31873186
&quot;startTime&quot;: &quot;A String&quot;, # Start time for the daily backup configuration in UTC timezone in the 24 hour format - `HH:MM`.
31883187
&quot;transactionLogRetentionDays&quot;: 42, # The number of days of transaction logs we retain for point in time restore, from 1-7.

‎docs/dyn/sqladmin_v1.operations.html

+22
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,9 @@
7474

7575
<h1><a href="sqladmin_v1.html">Cloud SQL Admin API</a> . <a href="sqladmin_v1.operations.html">operations</a></h1>
7676
<h2>Instance Methods</h2>
77+
<p class="toc_element">
78+
<code><a href="#cancel">cancel(project, operation, x__xgafv=None)</a></code></p>
79+
<p class="firstline">Cancels an instance operation that has been performed on an instance.</p>
7780
<p class="toc_element">
7881
<code><a href="#close">close()</a></code></p>
7982
<p class="firstline">Close httplib2 connections.</p>
@@ -87,6 +90,25 @@ <h2>Instance Methods</h2>
8790
<code><a href="#list_next">list_next()</a></code></p>
8891
<p class="firstline">Retrieves the next page of results.</p>
8992
<h3>Method Details</h3>
93+
<div class="method">
94+
<code class="details" id="cancel">cancel(project, operation, x__xgafv=None)</code>
95+
<pre>Cancels an instance operation that has been performed on an instance.
96+
97+
Args:
98+
project: string, Project ID of the project that contains the instance. (required)
99+
operation: string, Instance operation ID. (required)
100+
x__xgafv: string, V1 error format.
101+
Allowed values
102+
1 - v1 error format
103+
2 - v2 error format
104+
105+
Returns:
106+
An object of the form:
107+
108+
{ # A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }
109+
}</pre>
110+
</div>
111+
90112
<div class="method">
91113
<code class="details" id="close">close()</code>
92114
<pre>Close httplib2 connections.</pre>

‎docs/dyn/sqladmin_v1.projects.instances.html

+1
Original file line numberDiff line numberDiff line change
@@ -482,6 +482,7 @@ <h3>Method Details</h3>
482482
},
483483
&quot;skipVerification&quot;: True or False, # Whether to skip the verification step (VESS).
484484
&quot;syncMode&quot;: &quot;A String&quot;, # External sync mode.
485+
&quot;syncParallelLevel&quot;: &quot;A String&quot;, # Optional. Parallel level for initial data sync. Currently only applicable for MySQL.
485486
}
486487

487488
x__xgafv: string, V1 error format.

‎docs/dyn/sqladmin_v1beta4.instances.html

+5-6
Original file line numberDiff line numberDiff line change
@@ -274,7 +274,6 @@ <h3>Method Details</h3>
274274
&quot;kind&quot;: &quot;A String&quot;, # This is always `sql#cloneContext`.
275275
&quot;pitrTimestampMs&quot;: &quot;A String&quot;, # Reserved for future use.
276276
&quot;pointInTime&quot;: &quot;A String&quot;, # Timestamp, if specified, identifies the time to which the source instance is cloned.
277-
&quot;preferredZone&quot;: &quot;A String&quot;, # (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.
278277
},
279278
}
280279

@@ -1010,7 +1009,7 @@ <h3>Method Details</h3>
10101009
&quot;enabled&quot;: True or False, # Whether this configuration is enabled.
10111010
&quot;kind&quot;: &quot;A String&quot;, # This is always `sql#backupConfiguration`.
10121011
&quot;location&quot;: &quot;A String&quot;, # Location of the backup
1013-
&quot;pointInTimeRecoveryEnabled&quot;: True or False, # (Postgres only) Whether point in time recovery is enabled.
1012+
&quot;pointInTimeRecoveryEnabled&quot;: True or False, # Whether point in time recovery is enabled.
10141013
&quot;replicationLogArchivingEnabled&quot;: True or False, # Reserved for future use.
10151014
&quot;startTime&quot;: &quot;A String&quot;, # Start time for the daily backup configuration in UTC timezone in the 24 hour format - `HH:MM`.
10161015
&quot;transactionLogRetentionDays&quot;: 42, # The number of days of transaction logs we retain for point in time restore, from 1-7.
@@ -1373,7 +1372,7 @@ <h3>Method Details</h3>
13731372
&quot;enabled&quot;: True or False, # Whether this configuration is enabled.
13741373
&quot;kind&quot;: &quot;A String&quot;, # This is always `sql#backupConfiguration`.
13751374
&quot;location&quot;: &quot;A String&quot;, # Location of the backup
1376-
&quot;pointInTimeRecoveryEnabled&quot;: True or False, # (Postgres only) Whether point in time recovery is enabled.
1375+
&quot;pointInTimeRecoveryEnabled&quot;: True or False, # Whether point in time recovery is enabled.
13771376
&quot;replicationLogArchivingEnabled&quot;: True or False, # Reserved for future use.
13781377
&quot;startTime&quot;: &quot;A String&quot;, # Start time for the daily backup configuration in UTC timezone in the 24 hour format - `HH:MM`.
13791378
&quot;transactionLogRetentionDays&quot;: 42, # The number of days of transaction logs we retain for point in time restore, from 1-7.
@@ -1704,7 +1703,7 @@ <h3>Method Details</h3>
17041703
&quot;enabled&quot;: True or False, # Whether this configuration is enabled.
17051704
&quot;kind&quot;: &quot;A String&quot;, # This is always `sql#backupConfiguration`.
17061705
&quot;location&quot;: &quot;A String&quot;, # Location of the backup
1707-
&quot;pointInTimeRecoveryEnabled&quot;: True or False, # (Postgres only) Whether point in time recovery is enabled.
1706+
&quot;pointInTimeRecoveryEnabled&quot;: True or False, # Whether point in time recovery is enabled.
17081707
&quot;replicationLogArchivingEnabled&quot;: True or False, # Reserved for future use.
17091708
&quot;startTime&quot;: &quot;A String&quot;, # Start time for the daily backup configuration in UTC timezone in the 24 hour format - `HH:MM`.
17101709
&quot;transactionLogRetentionDays&quot;: 42, # The number of days of transaction logs we retain for point in time restore, from 1-7.
@@ -1988,7 +1987,7 @@ <h3>Method Details</h3>
19881987
&quot;enabled&quot;: True or False, # Whether this configuration is enabled.
19891988
&quot;kind&quot;: &quot;A String&quot;, # This is always `sql#backupConfiguration`.
19901989
&quot;location&quot;: &quot;A String&quot;, # Location of the backup
1991-
&quot;pointInTimeRecoveryEnabled&quot;: True or False, # (Postgres only) Whether point in time recovery is enabled.
1990+
&quot;pointInTimeRecoveryEnabled&quot;: True or False, # Whether point in time recovery is enabled.
19921991
&quot;replicationLogArchivingEnabled&quot;: True or False, # Reserved for future use.
19931992
&quot;startTime&quot;: &quot;A String&quot;, # Start time for the daily backup configuration in UTC timezone in the 24 hour format - `HH:MM`.
19941993
&quot;transactionLogRetentionDays&quot;: 42, # The number of days of transaction logs we retain for point in time restore, from 1-7.
@@ -3182,7 +3181,7 @@ <h3>Method Details</h3>
31823181
&quot;enabled&quot;: True or False, # Whether this configuration is enabled.
31833182
&quot;kind&quot;: &quot;A String&quot;, # This is always `sql#backupConfiguration`.
31843183
&quot;location&quot;: &quot;A String&quot;, # Location of the backup
3185-
&quot;pointInTimeRecoveryEnabled&quot;: True or False, # (Postgres only) Whether point in time recovery is enabled.
3184+
&quot;pointInTimeRecoveryEnabled&quot;: True or False, # Whether point in time recovery is enabled.
31863185
&quot;replicationLogArchivingEnabled&quot;: True or False, # Reserved for future use.
31873186
&quot;startTime&quot;: &quot;A String&quot;, # Start time for the daily backup configuration in UTC timezone in the 24 hour format - `HH:MM`.
31883187
&quot;transactionLogRetentionDays&quot;: 42, # The number of days of transaction logs we retain for point in time restore, from 1-7.

‎docs/dyn/sqladmin_v1beta4.operations.html

+22
Original file line numberDiff line numberDiff line change
@@ -74,6 +74,9 @@
7474

7575
<h1><a href="sqladmin_v1beta4.html">Cloud SQL Admin API</a> . <a href="sqladmin_v1beta4.operations.html">operations</a></h1>
7676
<h2>Instance Methods</h2>
77+
<p class="toc_element">
78+
<code><a href="#cancel">cancel(project, operation, x__xgafv=None)</a></code></p>
79+
<p class="firstline">Cancels an instance operation that has been performed on an instance.</p>
7780
<p class="toc_element">
7881
<code><a href="#close">close()</a></code></p>
7982
<p class="firstline">Close httplib2 connections.</p>
@@ -87,6 +90,25 @@ <h2>Instance Methods</h2>
8790
<code><a href="#list_next">list_next()</a></code></p>
8891
<p class="firstline">Retrieves the next page of results.</p>
8992
<h3>Method Details</h3>
93+
<div class="method">
94+
<code class="details" id="cancel">cancel(project, operation, x__xgafv=None)</code>
95+
<pre>Cancels an instance operation that has been performed on an instance.
96+
97+
Args:
98+
project: string, Project ID of the project that contains the instance. (required)
99+
operation: string, Instance operation ID. (required)
100+
x__xgafv: string, V1 error format.
101+
Allowed values
102+
1 - v1 error format
103+
2 - v2 error format
104+
105+
Returns:
106+
An object of the form:
107+
108+
{ # A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }
109+
}</pre>
110+
</div>
111+
90112
<div class="method">
91113
<code class="details" id="close">close()</code>
92114
<pre>Close httplib2 connections.</pre>

‎docs/dyn/sqladmin_v1beta4.projects.instances.html

+1
Original file line numberDiff line numberDiff line change
@@ -482,6 +482,7 @@ <h3>Method Details</h3>
482482
},
483483
&quot;skipVerification&quot;: True or False, # Whether to skip the verification step (VESS).
484484
&quot;syncMode&quot;: &quot;A String&quot;, # External sync mode.
485+
&quot;syncParallelLevel&quot;: &quot;A String&quot;, # Optional. Parallel level for initial data sync. Currently only applicable for MySQL.
485486
}
486487

487488
x__xgafv: string, V1 error format.

‎googleapiclient/discovery_cache/documents/sqladmin.v1.json

+66-8
Original file line numberDiff line numberDiff line change
@@ -1317,6 +1317,38 @@
13171317
},
13181318
"operations": {
13191319
"methods": {
1320+
"cancel": {
1321+
"description": "Cancels an instance operation that has been performed on an instance.",
1322+
"flatPath": "v1/projects/{project}/operations/{operation}/cancel",
1323+
"httpMethod": "POST",
1324+
"id": "sql.operations.cancel",
1325+
"parameterOrder": [
1326+
"project",
1327+
"operation"
1328+
],
1329+
"parameters": {
1330+
"operation": {
1331+
"description": "Instance operation ID.",
1332+
"location": "path",
1333+
"required": true,
1334+
"type": "string"
1335+
},
1336+
"project": {
1337+
"description": "Project ID of the project that contains the instance.",
1338+
"location": "path",
1339+
"required": true,
1340+
"type": "string"
1341+
}
1342+
},
1343+
"path": "v1/projects/{project}/operations/{operation}/cancel",
1344+
"response": {
1345+
"$ref": "Empty"
1346+
},
1347+
"scopes": [
1348+
"https://www.googleapis.com/auth/cloud-platform",
1349+
"https://www.googleapis.com/auth/sqlservice.admin"
1350+
]
1351+
},
13201352
"get": {
13211353
"description": "Retrieves an instance operation that has been performed on an instance.",
13221354
"flatPath": "v1/projects/{project}/operations/{operation}",
@@ -2023,7 +2055,7 @@
20232055
}
20242056
}
20252057
},
2026-
"revision": "20230523",
2058+
"revision": "20230530",
20272059
"rootUrl": "https://sqladmin.googleapis.com/",
20282060
"schemas": {
20292061
"AclEntry": {
@@ -2116,7 +2148,7 @@
21162148
"type": "string"
21172149
},
21182150
"pointInTimeRecoveryEnabled": {
2119-
"description": "(Postgres only) Whether point in time recovery is enabled.",
2151+
"description": "Whether point in time recovery is enabled.",
21202152
"type": "boolean"
21212153
},
21222154
"replicationLogArchivingEnabled": {
@@ -2377,10 +2409,6 @@
23772409
"description": "Timestamp, if specified, identifies the time to which the source instance is cloned.",
23782410
"format": "google-datetime",
23792411
"type": "string"
2380-
},
2381-
"preferredZone": {
2382-
"description": "(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.",
2383-
"type": "string"
23842412
}
23852413
},
23862414
"type": "object"
@@ -3005,6 +3033,12 @@
30053033
},
30063034
"type": "object"
30073035
},
3036+
"Empty": {
3037+
"description": "A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }",
3038+
"id": "Empty",
3039+
"properties": {},
3040+
"type": "object"
3041+
},
30083042
"ExportContext": {
30093043
"description": "Database instance export context.",
30103044
"id": "ExportContext",
@@ -4588,7 +4622,11 @@
45884622
"UNSUPPORTED_STORAGE_ENGINE",
45894623
"LIMITED_SUPPORT_TABLES",
45904624
"EXISTING_DATA_IN_REPLICA",
4591-
"MISSING_OPTIONAL_PRIVILEGES"
4625+
"MISSING_OPTIONAL_PRIVILEGES",
4626+
"RISKY_BACKUP_ADMIN_PRIVILEGE",
4627+
"INSUFFICIENT_GCS_PERMISSIONS",
4628+
"INVALID_FILE_INFO",
4629+
"UNSUPPORTED_DATABASE_SETTINGS"
45924630
],
45934631
"enumDescriptions": [
45944632
"",
@@ -4620,7 +4658,11 @@
46204658
"The primary instance has tables with unsupported storage engine.",
46214659
"Source has tables with limited support eg: PostgreSQL tables without primary keys.",
46224660
"The replica instance contains existing data.",
4623-
"The replication user is missing privileges that are optional."
4661+
"The replication user is missing privileges that are optional.",
4662+
"Additional BACKUP_ADMIN privilege is granted to the replication user which may lock source MySQL 8 instance for DDLs during initial sync.",
4663+
"The Cloud Storage bucket is missing necessary permissions.",
4664+
"The Cloud Storage bucket has an error in the file or contains invalid file information.",
4665+
"The source instance has unsupported database settings for migration."
46244666
],
46254667
"type": "string"
46264668
}
@@ -4689,6 +4731,22 @@
46894731
"Offline external sync only dumps and loads a one-time snapshot of the primary instance's data"
46904732
],
46914733
"type": "string"
4734+
},
4735+
"syncParallelLevel": {
4736+
"description": "Optional. Parallel level for initial data sync. Currently only applicable for MySQL.",
4737+
"enum": [
4738+
"EXTERNAL_SYNC_PARALLEL_LEVEL_UNSPECIFIED",
4739+
"MIN",
4740+
"OPTIMAL",
4741+
"MAX"
4742+
],
4743+
"enumDescriptions": [
4744+
"Unknown sync parallel level. Will be defaulted to OPTIMAL.",
4745+
"Minimal parallel level.",
4746+
"Optimal parallel level.",
4747+
"Maximum parallel level."
4748+
],
4749+
"type": "string"
46924750
}
46934751
},
46944752
"type": "object"

‎googleapiclient/discovery_cache/documents/sqladmin.v1beta4.json

+66-8
Original file line numberDiff line numberDiff line change
@@ -1317,6 +1317,38 @@
13171317
},
13181318
"operations": {
13191319
"methods": {
1320+
"cancel": {
1321+
"description": "Cancels an instance operation that has been performed on an instance.",
1322+
"flatPath": "sql/v1beta4/projects/{project}/operations/{operation}/cancel",
1323+
"httpMethod": "POST",
1324+
"id": "sql.operations.cancel",
1325+
"parameterOrder": [
1326+
"project",
1327+
"operation"
1328+
],
1329+
"parameters": {
1330+
"operation": {
1331+
"description": "Instance operation ID.",
1332+
"location": "path",
1333+
"required": true,
1334+
"type": "string"
1335+
},
1336+
"project": {
1337+
"description": "Project ID of the project that contains the instance.",
1338+
"location": "path",
1339+
"required": true,
1340+
"type": "string"
1341+
}
1342+
},
1343+
"path": "sql/v1beta4/projects/{project}/operations/{operation}/cancel",
1344+
"response": {
1345+
"$ref": "Empty"
1346+
},
1347+
"scopes": [
1348+
"https://www.googleapis.com/auth/cloud-platform",
1349+
"https://www.googleapis.com/auth/sqlservice.admin"
1350+
]
1351+
},
13201352
"get": {
13211353
"description": "Retrieves an instance operation that has been performed on an instance.",
13221354
"flatPath": "sql/v1beta4/projects/{project}/operations/{operation}",
@@ -2023,7 +2055,7 @@
20232055
}
20242056
}
20252057
},
2026-
"revision": "20230523",
2058+
"revision": "20230530",
20272059
"rootUrl": "https://sqladmin.googleapis.com/",
20282060
"schemas": {
20292061
"AclEntry": {
@@ -2116,7 +2148,7 @@
21162148
"type": "string"
21172149
},
21182150
"pointInTimeRecoveryEnabled": {
2119-
"description": "(Postgres only) Whether point in time recovery is enabled.",
2151+
"description": "Whether point in time recovery is enabled.",
21202152
"type": "boolean"
21212153
},
21222154
"replicationLogArchivingEnabled": {
@@ -2377,10 +2409,6 @@
23772409
"description": "Timestamp, if specified, identifies the time to which the source instance is cloned.",
23782410
"format": "google-datetime",
23792411
"type": "string"
2380-
},
2381-
"preferredZone": {
2382-
"description": "(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.",
2383-
"type": "string"
23842412
}
23852413
},
23862414
"type": "object"
@@ -3005,6 +3033,12 @@
30053033
},
30063034
"type": "object"
30073035
},
3036+
"Empty": {
3037+
"description": "A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }",
3038+
"id": "Empty",
3039+
"properties": {},
3040+
"type": "object"
3041+
},
30083042
"ExportContext": {
30093043
"description": "Database instance export context.",
30103044
"id": "ExportContext",
@@ -4588,7 +4622,11 @@
45884622
"UNSUPPORTED_STORAGE_ENGINE",
45894623
"LIMITED_SUPPORT_TABLES",
45904624
"EXISTING_DATA_IN_REPLICA",
4591-
"MISSING_OPTIONAL_PRIVILEGES"
4625+
"MISSING_OPTIONAL_PRIVILEGES",
4626+
"RISKY_BACKUP_ADMIN_PRIVILEGE",
4627+
"INSUFFICIENT_GCS_PERMISSIONS",
4628+
"INVALID_FILE_INFO",
4629+
"UNSUPPORTED_DATABASE_SETTINGS"
45924630
],
45934631
"enumDescriptions": [
45944632
"",
@@ -4620,7 +4658,11 @@
46204658
"The primary instance has tables with unsupported storage engine.",
46214659
"Source has tables with limited support eg: PostgreSQL tables without primary keys.",
46224660
"The replica instance contains existing data.",
4623-
"The replication user is missing privileges that are optional."
4661+
"The replication user is missing privileges that are optional.",
4662+
"Additional BACKUP_ADMIN privilege is granted to the replication user which may lock source MySQL 8 instance for DDLs during initial sync.",
4663+
"The Cloud Storage bucket is missing necessary permissions.",
4664+
"The Cloud Storage bucket has an error in the file or contains invalid file information.",
4665+
"The source instance has unsupported database settings for migration."
46244666
],
46254667
"type": "string"
46264668
}
@@ -4688,6 +4730,22 @@
46884730
"Offline external sync only dumps and loads a one-time snapshot of the primary instance's data"
46894731
],
46904732
"type": "string"
4733+
},
4734+
"syncParallelLevel": {
4735+
"description": "Optional. Parallel level for initial data sync. Currently only applicable for MySQL.",
4736+
"enum": [
4737+
"EXTERNAL_SYNC_PARALLEL_LEVEL_UNSPECIFIED",
4738+
"MIN",
4739+
"OPTIMAL",
4740+
"MAX"
4741+
],
4742+
"enumDescriptions": [
4743+
"Unknown sync parallel level. Will be defaulted to OPTIMAL.",
4744+
"Minimal parallel level.",
4745+
"Optimal parallel level.",
4746+
"Maximum parallel level."
4747+
],
4748+
"type": "string"
46914749
}
46924750
},
46934751
"type": "object"

0 commit comments

Comments
 (0)
Please sign in to comment.