Skip to content

Commit 41d51e3

Browse files
feat(sqladmin): update the api
#### sqladmin:v1 The following keys were deleted: - resources.projects.resources.instances.methods.startExternalSync.parameters.skipVerification (Total Keys: 2) - resources.projects.resources.instances.methods.startExternalSync.parameters.syncMode (Total Keys: 2) - resources.projects.resources.instances.methods.verifyExternalSyncSettings.parameters.syncMode (Total Keys: 2) - resources.projects.resources.instances.methods.verifyExternalSyncSettings.parameters.verifyConnectionOnly (Total Keys: 2) - resources.users.methods.list.parameters.body.host (Total Keys: 2) - resources.users.methods.list.parameters.body.instance (Total Keys: 2) - resources.users.methods.list.parameters.body.kind (Total Keys: 2) - resources.users.methods.list.parameters.body.name (Total Keys: 2) - resources.users.methods.list.parameters.body.password (Total Keys: 2) - resources.users.methods.list.parameters.body.project (Total Keys: 2) - resources.users.methods.list.parameters.body.sqlserverUserDetails.disabled (Total Keys: 2) - resources.users.methods.list.parameters.body.sqlserverUserDetails.serverRoles (Total Keys: 3) - resources.users.methods.list.parameters.body.type (Total Keys: 2) The following keys were added: - resources.projects.resources.instances.methods.startExternalSync.request.$ref (Total Keys: 1) - resources.projects.resources.instances.methods.verifyExternalSyncSettings.request.$ref (Total Keys: 1) - schemas.IpConfiguration.properties.allocatedIpRange.type (Total Keys: 1) - schemas.MySqlSyncConfig (Total Keys: 2) - schemas.SqlInstancesStartExternalSyncRequest (Total Keys: 5) - schemas.SqlInstancesVerifyExternalSyncSettingsRequest (Total Keys: 5) #### sqladmin:v1beta4 The following keys were deleted: - resources.projects.resources.instances.methods.startExternalSync.parameters.skipVerification (Total Keys: 2) - resources.projects.resources.instances.methods.startExternalSync.parameters.syncMode (Total Keys: 2) - resources.projects.resources.instances.methods.verifyExternalSyncSettings.parameters.syncMode (Total Keys: 2) - resources.projects.resources.instances.methods.verifyExternalSyncSettings.parameters.verifyConnectionOnly (Total Keys: 2) The following keys were added: - resources.projects.resources.instances.methods.startExternalSync.request.$ref (Total Keys: 1) - resources.projects.resources.instances.methods.verifyExternalSyncSettings.request.$ref (Total Keys: 1) - schemas.IpConfiguration.properties.allocatedIpRange.type (Total Keys: 1) - schemas.MySqlSyncConfig (Total Keys: 2) - schemas.SqlInstancesStartExternalSyncRequest (Total Keys: 5) - schemas.SqlInstancesVerifyExternalSyncSettingsRequest (Total Keys: 5)
1 parent 601afcf commit 41d51e3

File tree

7 files changed

+208
-191
lines changed

7 files changed

+208
-191
lines changed

docs/dyn/sqladmin_v1.instances.html

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -896,6 +896,7 @@ <h3>Method Details</h3>
896896
&quot;recordClientAddress&quot;: True or False, # Whether Query Insights will record client address when enabled.
897897
},
898898
&quot;ipConfiguration&quot;: { # IP Management configuration. # The settings for IP Management. This allows to enable or disable the instance IP and manage which external networks can connect to the instance. The IPv4 address cannot be disabled for Second Generation instances.
899+
&quot;allocatedIpRange&quot;: &quot;A String&quot;, # The name of the allocated ip range for the private ip CloudSQL instance. For example: &quot;google-managed-services-default&quot;. If set, the instance ip will be created in the allocated range. The range name must comply with [RFC 1035](https://tools.ietf.org/html/rfc1035). Specifically, the name must be 1-63 characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])?. Reserved for future use.
899900
&quot;authorizedNetworks&quot;: [ # The list of external networks that are allowed to connect to the instance using the IP. In &#x27;CIDR&#x27; notation, also known as &#x27;slash&#x27; notation (for example: **192.168.100.0/24**).
900901
{ # An entry for an Access Control list.
901902
&quot;expirationTime&quot;: &quot;A String&quot;, # The time when this access control entry expires in [RFC 3339](https://tools.ietf.org/html/rfc3339) format, for example **2012-11-15T16:19:00.094Z**.
@@ -1199,6 +1200,7 @@ <h3>Method Details</h3>
11991200
&quot;recordClientAddress&quot;: True or False, # Whether Query Insights will record client address when enabled.
12001201
},
12011202
&quot;ipConfiguration&quot;: { # IP Management configuration. # The settings for IP Management. This allows to enable or disable the instance IP and manage which external networks can connect to the instance. The IPv4 address cannot be disabled for Second Generation instances.
1203+
&quot;allocatedIpRange&quot;: &quot;A String&quot;, # The name of the allocated ip range for the private ip CloudSQL instance. For example: &quot;google-managed-services-default&quot;. If set, the instance ip will be created in the allocated range. The range name must comply with [RFC 1035](https://tools.ietf.org/html/rfc1035). Specifically, the name must be 1-63 characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])?. Reserved for future use.
12021204
&quot;authorizedNetworks&quot;: [ # The list of external networks that are allowed to connect to the instance using the IP. In &#x27;CIDR&#x27; notation, also known as &#x27;slash&#x27; notation (for example: **192.168.100.0/24**).
12031205
{ # An entry for an Access Control list.
12041206
&quot;expirationTime&quot;: &quot;A String&quot;, # The time when this access control entry expires in [RFC 3339](https://tools.ietf.org/html/rfc3339) format, for example **2012-11-15T16:19:00.094Z**.
@@ -1478,6 +1480,7 @@ <h3>Method Details</h3>
14781480
&quot;recordClientAddress&quot;: True or False, # Whether Query Insights will record client address when enabled.
14791481
},
14801482
&quot;ipConfiguration&quot;: { # IP Management configuration. # The settings for IP Management. This allows to enable or disable the instance IP and manage which external networks can connect to the instance. The IPv4 address cannot be disabled for Second Generation instances.
1483+
&quot;allocatedIpRange&quot;: &quot;A String&quot;, # The name of the allocated ip range for the private ip CloudSQL instance. For example: &quot;google-managed-services-default&quot;. If set, the instance ip will be created in the allocated range. The range name must comply with [RFC 1035](https://tools.ietf.org/html/rfc1035). Specifically, the name must be 1-63 characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])?. Reserved for future use.
14811484
&quot;authorizedNetworks&quot;: [ # The list of external networks that are allowed to connect to the instance using the IP. In &#x27;CIDR&#x27; notation, also known as &#x27;slash&#x27; notation (for example: **192.168.100.0/24**).
14821485
{ # An entry for an Access Control list.
14831486
&quot;expirationTime&quot;: &quot;A String&quot;, # The time when this access control entry expires in [RFC 3339](https://tools.ietf.org/html/rfc3339) format, for example **2012-11-15T16:19:00.094Z**.
@@ -1729,6 +1732,7 @@ <h3>Method Details</h3>
17291732
&quot;recordClientAddress&quot;: True or False, # Whether Query Insights will record client address when enabled.
17301733
},
17311734
&quot;ipConfiguration&quot;: { # IP Management configuration. # The settings for IP Management. This allows to enable or disable the instance IP and manage which external networks can connect to the instance. The IPv4 address cannot be disabled for Second Generation instances.
1735+
&quot;allocatedIpRange&quot;: &quot;A String&quot;, # The name of the allocated ip range for the private ip CloudSQL instance. For example: &quot;google-managed-services-default&quot;. If set, the instance ip will be created in the allocated range. The range name must comply with [RFC 1035](https://tools.ietf.org/html/rfc1035). Specifically, the name must be 1-63 characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])?. Reserved for future use.
17321736
&quot;authorizedNetworks&quot;: [ # The list of external networks that are allowed to connect to the instance using the IP. In &#x27;CIDR&#x27; notation, also known as &#x27;slash&#x27; notation (for example: **192.168.100.0/24**).
17331737
{ # An entry for an Access Control list.
17341738
&quot;expirationTime&quot;: &quot;A String&quot;, # The time when this access control entry expires in [RFC 3339](https://tools.ietf.org/html/rfc3339) format, for example **2012-11-15T16:19:00.094Z**.
@@ -2719,6 +2723,7 @@ <h3>Method Details</h3>
27192723
&quot;recordClientAddress&quot;: True or False, # Whether Query Insights will record client address when enabled.
27202724
},
27212725
&quot;ipConfiguration&quot;: { # IP Management configuration. # The settings for IP Management. This allows to enable or disable the instance IP and manage which external networks can connect to the instance. The IPv4 address cannot be disabled for Second Generation instances.
2726+
&quot;allocatedIpRange&quot;: &quot;A String&quot;, # The name of the allocated ip range for the private ip CloudSQL instance. For example: &quot;google-managed-services-default&quot;. If set, the instance ip will be created in the allocated range. The range name must comply with [RFC 1035](https://tools.ietf.org/html/rfc1035). Specifically, the name must be 1-63 characters long and match the regular expression [a-z]([-a-z0-9]*[a-z0-9])?. Reserved for future use.
27222727
&quot;authorizedNetworks&quot;: [ # The list of external networks that are allowed to connect to the instance using the IP. In &#x27;CIDR&#x27; notation, also known as &#x27;slash&#x27; notation (for example: **192.168.100.0/24**).
27232728
{ # An entry for an Access Control list.
27242729
&quot;expirationTime&quot;: &quot;A String&quot;, # The time when this access control entry expires in [RFC 3339](https://tools.ietf.org/html/rfc3339) format, for example **2012-11-15T16:19:00.094Z**.

docs/dyn/sqladmin_v1.projects.instances.html

Lines changed: 24 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -81,10 +81,10 @@ <h2>Instance Methods</h2>
8181
<code><a href="#rescheduleMaintenance">rescheduleMaintenance(project, instance, body=None, x__xgafv=None)</a></code></p>
8282
<p class="firstline">Reschedules the maintenance on the given instance.</p>
8383
<p class="toc_element">
84-
<code><a href="#startExternalSync">startExternalSync(project, instance, skipVerification=None, syncMode=None, x__xgafv=None)</a></code></p>
84+
<code><a href="#startExternalSync">startExternalSync(project, instance, body=None, x__xgafv=None)</a></code></p>
8585
<p class="firstline">Start External primary instance migration.</p>
8686
<p class="toc_element">
87-
<code><a href="#verifyExternalSyncSettings">verifyExternalSyncSettings(project, instance, syncMode=None, verifyConnectionOnly=None, x__xgafv=None)</a></code></p>
87+
<code><a href="#verifyExternalSyncSettings">verifyExternalSyncSettings(project, instance, body=None, x__xgafv=None)</a></code></p>
8888
<p class="firstline">Verify External primary instance external sync settings.</p>
8989
<h3>Method Details</h3>
9090
<div class="method">
@@ -189,18 +189,22 @@ <h3>Method Details</h3>
189189
</div>
190190

191191
<div class="method">
192-
<code class="details" id="startExternalSync">startExternalSync(project, instance, skipVerification=None, syncMode=None, x__xgafv=None)</code>
192+
<code class="details" id="startExternalSync">startExternalSync(project, instance, body=None, x__xgafv=None)</code>
193193
<pre>Start External primary instance migration.
194194

195195
Args:
196196
project: string, ID of the project that contains the instance. (required)
197197
instance: string, Cloud SQL instance ID. This does not include the project ID. (required)
198-
skipVerification: boolean, Whether to skip the verification step (VESS).
199-
syncMode: string, External sync mode.
200-
Allowed values
201-
EXTERNAL_SYNC_MODE_UNSPECIFIED - Unknown external sync mode, will be defaulted to ONLINE mode
202-
ONLINE - Online external sync will set up replication after initial data external sync
203-
OFFLINE - Offline external sync only dumps and loads a one-time snapshot of the primary instance&#x27;s data
198+
body: object, The request body.
199+
The object takes the form of:
200+
201+
{ # Instance start external sync request.
202+
&quot;mysqlSyncConfig&quot;: { # MySQL-specific external server sync settings. # MySQL-specific settings for start external sync.
203+
},
204+
&quot;skipVerification&quot;: True or False, # Whether to skip the verification step (VESS).
205+
&quot;syncMode&quot;: &quot;A String&quot;, # External sync mode.
206+
}
207+
204208
x__xgafv: string, V1 error format.
205209
Allowed values
206210
1 - v1 error format
@@ -281,18 +285,22 @@ <h3>Method Details</h3>
281285
</div>
282286

283287
<div class="method">
284-
<code class="details" id="verifyExternalSyncSettings">verifyExternalSyncSettings(project, instance, syncMode=None, verifyConnectionOnly=None, x__xgafv=None)</code>
288+
<code class="details" id="verifyExternalSyncSettings">verifyExternalSyncSettings(project, instance, body=None, x__xgafv=None)</code>
285289
<pre>Verify External primary instance external sync settings.
286290

287291
Args:
288292
project: string, Project ID of the project that contains the instance. (required)
289293
instance: string, Cloud SQL instance ID. This does not include the project ID. (required)
290-
syncMode: string, External sync mode
291-
Allowed values
292-
EXTERNAL_SYNC_MODE_UNSPECIFIED - Unknown external sync mode, will be defaulted to ONLINE mode
293-
ONLINE - Online external sync will set up replication after initial data external sync
294-
OFFLINE - Offline external sync only dumps and loads a one-time snapshot of the primary instance&#x27;s data
295-
verifyConnectionOnly: boolean, Flag to enable verifying connection only
294+
body: object, The request body.
295+
The object takes the form of:
296+
297+
{ # Instance verify external sync settings request.
298+
&quot;mysqlSyncConfig&quot;: { # MySQL-specific external server sync settings. # Optional. MySQL-specific settings for start external sync.
299+
},
300+
&quot;syncMode&quot;: &quot;A String&quot;, # External sync mode
301+
&quot;verifyConnectionOnly&quot;: True or False, # Flag to enable verifying connection only
302+
}
303+
296304
x__xgafv: string, V1 error format.
297305
Allowed values
298306
1 - v1 error format

docs/dyn/sqladmin_v1.users.html

Lines changed: 2 additions & 16 deletions
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@ <h2>Instance Methods</h2>
8484
<code><a href="#insert">insert(project, instance, body=None, x__xgafv=None)</a></code></p>
8585
<p class="firstline">Creates a new user in a Cloud SQL instance.</p>
8686
<p class="toc_element">
87-
<code><a href="#list">list(project, instance, body_etag=None, body_host=None, body_instance=None, body_kind=None, body_name=None, body_password=None, body_project=None, body_sqlserverUserDetails_disabled=None, body_sqlserverUserDetails_serverRoles=None, body_type=None, x__xgafv=None)</a></code></p>
87+
<code><a href="#list">list(project, instance, x__xgafv=None)</a></code></p>
8888
<p class="firstline">Lists users in the specified Cloud SQL instance.</p>
8989
<p class="toc_element">
9090
<code><a href="#update">update(project, instance, body=None, host=None, name=None, x__xgafv=None)</a></code></p>
@@ -290,26 +290,12 @@ <h3>Method Details</h3>
290290
</div>
291291

292292
<div class="method">
293-
<code class="details" id="list">list(project, instance, body_etag=None, body_host=None, body_instance=None, body_kind=None, body_name=None, body_password=None, body_project=None, body_sqlserverUserDetails_disabled=None, body_sqlserverUserDetails_serverRoles=None, body_type=None, x__xgafv=None)</code>
293+
<code class="details" id="list">list(project, instance, x__xgafv=None)</code>
294294
<pre>Lists users in the specified Cloud SQL instance.
295295

296296
Args:
297297
project: string, Project ID of the project that contains the instance. (required)
298298
instance: string, Database instance ID. This does not include the project ID. (required)
299-
body_etag: string, This field is deprecated and will be removed from a future version of the API.
300-
body_host: string, The host name from which the user can connect. For *insert* operations, host defaults to an empty string. For *update* operations, host is specified as part of the request URL. The host name cannot be updated after insertion.
301-
body_instance: string, The name of the Cloud SQL instance. This does not include the project ID. Can be omitted for *update* since it is already specified on the URL.
302-
body_kind: string, This is always *sql#user*.
303-
body_name: string, The name of the user in the Cloud SQL instance. Can be omitted for *update* since it is already specified in the URL.
304-
body_password: string, The password for the user.
305-
body_project: string, The project ID of the project containing the Cloud SQL database. The Google apps domain is prefixed if applicable. Can be omitted for *update* since it is already specified on the URL.
306-
body_sqlserverUserDetails_disabled: boolean, If the user has been disabled
307-
body_sqlserverUserDetails_serverRoles: string, The server roles for this user (repeated)
308-
body_type: string, The user type. It determines the method to authenticate the user during login. The default is the database&#x27;s built-in user type.
309-
Allowed values
310-
BUILT_IN - The database&#x27;s built-in user type.
311-
CLOUD_IAM_USER - Cloud IAM user.
312-
CLOUD_IAM_SERVICE_ACCOUNT - Cloud IAM service account.
313299
x__xgafv: string, V1 error format.
314300
Allowed values
315301
1 - v1 error format

0 commit comments

Comments
 (0)