Skip to content

Commit 20e157d

Browse files
feat(sqladmin): update the api
#### sqladmin:v1 The following keys were added: - schemas.CloneContext.properties.preferredZone.type (Total Keys: 1) - schemas.ExportContext.properties.bakExportOptions.properties.bakType.type (Total Keys: 1) - schemas.ExportContext.properties.bakExportOptions.properties.copyOnly.type (Total Keys: 1) - schemas.ExportContext.properties.bakExportOptions.properties.differentialBase.type (Total Keys: 1) - schemas.ImportContext.properties.bakImportOptions.properties.bakType.type (Total Keys: 1) - schemas.ImportContext.properties.bakImportOptions.properties.noRecovery.type (Total Keys: 1) - schemas.ImportContext.properties.bakImportOptions.properties.recoveryOnly.type (Total Keys: 1) - schemas.SqlInstancesGetDiskShrinkConfigResponse.properties.message.type (Total Keys: 1) #### sqladmin:v1beta4 The following keys were added: - schemas.CloneContext.properties.preferredZone.type (Total Keys: 1) - schemas.ExportContext.properties.bakExportOptions.properties.bakType.type (Total Keys: 1) - schemas.ExportContext.properties.bakExportOptions.properties.copyOnly.type (Total Keys: 1) - schemas.ExportContext.properties.bakExportOptions.properties.differentialBase.type (Total Keys: 1) - schemas.ImportContext.properties.bakImportOptions.properties.bakType.type (Total Keys: 1) - schemas.ImportContext.properties.bakImportOptions.properties.noRecovery.type (Total Keys: 1) - schemas.ImportContext.properties.bakImportOptions.properties.recoveryOnly.type (Total Keys: 1) - schemas.SqlInstancesGetDiskShrinkConfigResponse.properties.message.type (Total Keys: 1)
1 parent c03c78c commit 20e157d

16 files changed

+574
-18
lines changed

docs/dyn/sqladmin_v1.backupRuns.html

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -132,6 +132,9 @@ <h3>Method Details</h3>
132132
},
133133
&quot;exportContext&quot;: { # Database instance export context. # The context for export operation, if applicable.
134134
&quot;bakExportOptions&quot;: { # Options for exporting BAK files (SQL Server-only)
135+
&quot;bakType&quot;: &quot;A String&quot;, # Type of this bak file will be export, FULL or DIFF, SQL Server only
136+
&quot;copyOnly&quot;: True or False, # Whether or not the export will be exeucted with COPY_ONLY, SQL Server only deprecated as the behavior should default to copy_only = true use differential_base instead
137+
&quot;differentialBase&quot;: True or False, # Whether or not the backup can be use as differential base only non copy only backup can be served as differential base
135138
&quot;stripeCount&quot;: 42, # Option for specifying how many stripes to use for the export. If blank, and the value of the striped field is true, the number of stripes is automatically chosen.
136139
&quot;striped&quot;: True or False, # Whether or not the export should be striped.
137140
},
@@ -161,11 +164,14 @@ <h3>Method Details</h3>
161164
},
162165
&quot;importContext&quot;: { # Database instance import context. # The context for import operation, if applicable.
163166
&quot;bakImportOptions&quot;: { # Import parameters specific to SQL Server .BAK files
167+
&quot;bakType&quot;: &quot;A String&quot;, # Type of the bak content, FULL or DIFF
164168
&quot;encryptionOptions&quot;: {
165169
&quot;certPath&quot;: &quot;A String&quot;, # Path to the Certificate (.cer) in Cloud Storage, in the form `gs://bucketName/fileName`. The instance must have write permissions to the bucket and read access to the file.
166170
&quot;pvkPassword&quot;: &quot;A String&quot;, # Password that encrypts the private key
167171
&quot;pvkPath&quot;: &quot;A String&quot;, # Path to the Certificate Private Key (.pvk) in Cloud Storage, in the form `gs://bucketName/fileName`. The instance must have write permissions to the bucket and read access to the file.
168172
},
173+
&quot;noRecovery&quot;: True or False, # Whether or not the backup importing will restore database with NORECOVERY option Applies only to Cloud SQL for SQL Server.
174+
&quot;recoveryOnly&quot;: True or False, # Whether or not the backup importing request will just bring database online without downloading Bak content only one of &quot;no_recovery&quot; and &quot;recovery_only&quot; can be true otherwise error will return. Applies only to Cloud SQL for SQL Server.
169175
&quot;striped&quot;: True or False, # Whether or not the backup set being restored is striped. Applies only to Cloud SQL for SQL Server.
170176
},
171177
&quot;csvImportOptions&quot;: { # Options for importing data as CSV.
@@ -311,6 +317,9 @@ <h3>Method Details</h3>
311317
},
312318
&quot;exportContext&quot;: { # Database instance export context. # The context for export operation, if applicable.
313319
&quot;bakExportOptions&quot;: { # Options for exporting BAK files (SQL Server-only)
320+
&quot;bakType&quot;: &quot;A String&quot;, # Type of this bak file will be export, FULL or DIFF, SQL Server only
321+
&quot;copyOnly&quot;: True or False, # Whether or not the export will be exeucted with COPY_ONLY, SQL Server only deprecated as the behavior should default to copy_only = true use differential_base instead
322+
&quot;differentialBase&quot;: True or False, # Whether or not the backup can be use as differential base only non copy only backup can be served as differential base
314323
&quot;stripeCount&quot;: 42, # Option for specifying how many stripes to use for the export. If blank, and the value of the striped field is true, the number of stripes is automatically chosen.
315324
&quot;striped&quot;: True or False, # Whether or not the export should be striped.
316325
},
@@ -340,11 +349,14 @@ <h3>Method Details</h3>
340349
},
341350
&quot;importContext&quot;: { # Database instance import context. # The context for import operation, if applicable.
342351
&quot;bakImportOptions&quot;: { # Import parameters specific to SQL Server .BAK files
352+
&quot;bakType&quot;: &quot;A String&quot;, # Type of the bak content, FULL or DIFF
343353
&quot;encryptionOptions&quot;: {
344354
&quot;certPath&quot;: &quot;A String&quot;, # Path to the Certificate (.cer) in Cloud Storage, in the form `gs://bucketName/fileName`. The instance must have write permissions to the bucket and read access to the file.
345355
&quot;pvkPassword&quot;: &quot;A String&quot;, # Password that encrypts the private key
346356
&quot;pvkPath&quot;: &quot;A String&quot;, # Path to the Certificate Private Key (.pvk) in Cloud Storage, in the form `gs://bucketName/fileName`. The instance must have write permissions to the bucket and read access to the file.
347357
},
358+
&quot;noRecovery&quot;: True or False, # Whether or not the backup importing will restore database with NORECOVERY option Applies only to Cloud SQL for SQL Server.
359+
&quot;recoveryOnly&quot;: True or False, # Whether or not the backup importing request will just bring database online without downloading Bak content only one of &quot;no_recovery&quot; and &quot;recovery_only&quot; can be true otherwise error will return. Applies only to Cloud SQL for SQL Server.
348360
&quot;striped&quot;: True or False, # Whether or not the backup set being restored is striped. Applies only to Cloud SQL for SQL Server.
349361
},
350362
&quot;csvImportOptions&quot;: { # Options for importing data as CSV.

docs/dyn/sqladmin_v1.databases.html

Lines changed: 26 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ <h2>Instance Methods</h2>
8585
<p class="firstline">Retrieves a resource containing information about a database inside a Cloud SQL instance.</p>
8686
<p class="toc_element">
8787
<code><a href="#insert">insert(project, instance, body=None, x__xgafv=None)</a></code></p>
88-
<p class="firstline">Inserts a resource containing information about a database inside a Cloud SQL instance.</p>
88+
<p class="firstline">Inserts a resource containing information about a database inside a Cloud SQL instance. **Note:** You can't modify the default character set and collation.</p>
8989
<p class="toc_element">
9090
<code><a href="#list">list(project, instance, x__xgafv=None)</a></code></p>
9191
<p class="firstline">Lists databases in the specified Cloud SQL instance.</p>
@@ -135,6 +135,9 @@ <h3>Method Details</h3>
135135
},
136136
&quot;exportContext&quot;: { # Database instance export context. # The context for export operation, if applicable.
137137
&quot;bakExportOptions&quot;: { # Options for exporting BAK files (SQL Server-only)
138+
&quot;bakType&quot;: &quot;A String&quot;, # Type of this bak file will be export, FULL or DIFF, SQL Server only
139+
&quot;copyOnly&quot;: True or False, # Whether or not the export will be exeucted with COPY_ONLY, SQL Server only deprecated as the behavior should default to copy_only = true use differential_base instead
140+
&quot;differentialBase&quot;: True or False, # Whether or not the backup can be use as differential base only non copy only backup can be served as differential base
138141
&quot;stripeCount&quot;: 42, # Option for specifying how many stripes to use for the export. If blank, and the value of the striped field is true, the number of stripes is automatically chosen.
139142
&quot;striped&quot;: True or False, # Whether or not the export should be striped.
140143
},
@@ -164,11 +167,14 @@ <h3>Method Details</h3>
164167
},
165168
&quot;importContext&quot;: { # Database instance import context. # The context for import operation, if applicable.
166169
&quot;bakImportOptions&quot;: { # Import parameters specific to SQL Server .BAK files
170+
&quot;bakType&quot;: &quot;A String&quot;, # Type of the bak content, FULL or DIFF
167171
&quot;encryptionOptions&quot;: {
168172
&quot;certPath&quot;: &quot;A String&quot;, # Path to the Certificate (.cer) in Cloud Storage, in the form `gs://bucketName/fileName`. The instance must have write permissions to the bucket and read access to the file.
169173
&quot;pvkPassword&quot;: &quot;A String&quot;, # Password that encrypts the private key
170174
&quot;pvkPath&quot;: &quot;A String&quot;, # Path to the Certificate Private Key (.pvk) in Cloud Storage, in the form `gs://bucketName/fileName`. The instance must have write permissions to the bucket and read access to the file.
171175
},
176+
&quot;noRecovery&quot;: True or False, # Whether or not the backup importing will restore database with NORECOVERY option Applies only to Cloud SQL for SQL Server.
177+
&quot;recoveryOnly&quot;: True or False, # Whether or not the backup importing request will just bring database online without downloading Bak content only one of &quot;no_recovery&quot; and &quot;recovery_only&quot; can be true otherwise error will return. Applies only to Cloud SQL for SQL Server.
172178
&quot;striped&quot;: True or False, # Whether or not the backup set being restored is striped. Applies only to Cloud SQL for SQL Server.
173179
},
174180
&quot;csvImportOptions&quot;: { # Options for importing data as CSV.
@@ -235,7 +241,7 @@ <h3>Method Details</h3>
235241

236242
<div class="method">
237243
<code class="details" id="insert">insert(project, instance, body=None, x__xgafv=None)</code>
238-
<pre>Inserts a resource containing information about a database inside a Cloud SQL instance.
244+
<pre>Inserts a resource containing information about a database inside a Cloud SQL instance. **Note:** You can&#x27;t modify the default character set and collation.
239245

240246
Args:
241247
project: string, Project ID of the project that contains the instance. (required)
@@ -284,6 +290,9 @@ <h3>Method Details</h3>
284290
},
285291
&quot;exportContext&quot;: { # Database instance export context. # The context for export operation, if applicable.
286292
&quot;bakExportOptions&quot;: { # Options for exporting BAK files (SQL Server-only)
293+
&quot;bakType&quot;: &quot;A String&quot;, # Type of this bak file will be export, FULL or DIFF, SQL Server only
294+
&quot;copyOnly&quot;: True or False, # Whether or not the export will be exeucted with COPY_ONLY, SQL Server only deprecated as the behavior should default to copy_only = true use differential_base instead
295+
&quot;differentialBase&quot;: True or False, # Whether or not the backup can be use as differential base only non copy only backup can be served as differential base
287296
&quot;stripeCount&quot;: 42, # Option for specifying how many stripes to use for the export. If blank, and the value of the striped field is true, the number of stripes is automatically chosen.
288297
&quot;striped&quot;: True or False, # Whether or not the export should be striped.
289298
},
@@ -313,11 +322,14 @@ <h3>Method Details</h3>
313322
},
314323
&quot;importContext&quot;: { # Database instance import context. # The context for import operation, if applicable.
315324
&quot;bakImportOptions&quot;: { # Import parameters specific to SQL Server .BAK files
325+
&quot;bakType&quot;: &quot;A String&quot;, # Type of the bak content, FULL or DIFF
316326
&quot;encryptionOptions&quot;: {
317327
&quot;certPath&quot;: &quot;A String&quot;, # Path to the Certificate (.cer) in Cloud Storage, in the form `gs://bucketName/fileName`. The instance must have write permissions to the bucket and read access to the file.
318328
&quot;pvkPassword&quot;: &quot;A String&quot;, # Password that encrypts the private key
319329
&quot;pvkPath&quot;: &quot;A String&quot;, # Path to the Certificate Private Key (.pvk) in Cloud Storage, in the form `gs://bucketName/fileName`. The instance must have write permissions to the bucket and read access to the file.
320330
},
331+
&quot;noRecovery&quot;: True or False, # Whether or not the backup importing will restore database with NORECOVERY option Applies only to Cloud SQL for SQL Server.
332+
&quot;recoveryOnly&quot;: True or False, # Whether or not the backup importing request will just bring database online without downloading Bak content only one of &quot;no_recovery&quot; and &quot;recovery_only&quot; can be true otherwise error will return. Applies only to Cloud SQL for SQL Server.
321333
&quot;striped&quot;: True or False, # Whether or not the backup set being restored is striped. Applies only to Cloud SQL for SQL Server.
322334
},
323335
&quot;csvImportOptions&quot;: { # Options for importing data as CSV.
@@ -438,6 +450,9 @@ <h3>Method Details</h3>
438450
},
439451
&quot;exportContext&quot;: { # Database instance export context. # The context for export operation, if applicable.
440452
&quot;bakExportOptions&quot;: { # Options for exporting BAK files (SQL Server-only)
453+
&quot;bakType&quot;: &quot;A String&quot;, # Type of this bak file will be export, FULL or DIFF, SQL Server only
454+
&quot;copyOnly&quot;: True or False, # Whether or not the export will be exeucted with COPY_ONLY, SQL Server only deprecated as the behavior should default to copy_only = true use differential_base instead
455+
&quot;differentialBase&quot;: True or False, # Whether or not the backup can be use as differential base only non copy only backup can be served as differential base
441456
&quot;stripeCount&quot;: 42, # Option for specifying how many stripes to use for the export. If blank, and the value of the striped field is true, the number of stripes is automatically chosen.
442457
&quot;striped&quot;: True or False, # Whether or not the export should be striped.
443458
},
@@ -467,11 +482,14 @@ <h3>Method Details</h3>
467482
},
468483
&quot;importContext&quot;: { # Database instance import context. # The context for import operation, if applicable.
469484
&quot;bakImportOptions&quot;: { # Import parameters specific to SQL Server .BAK files
485+
&quot;bakType&quot;: &quot;A String&quot;, # Type of the bak content, FULL or DIFF
470486
&quot;encryptionOptions&quot;: {
471487
&quot;certPath&quot;: &quot;A String&quot;, # Path to the Certificate (.cer) in Cloud Storage, in the form `gs://bucketName/fileName`. The instance must have write permissions to the bucket and read access to the file.
472488
&quot;pvkPassword&quot;: &quot;A String&quot;, # Password that encrypts the private key
473489
&quot;pvkPath&quot;: &quot;A String&quot;, # Path to the Certificate Private Key (.pvk) in Cloud Storage, in the form `gs://bucketName/fileName`. The instance must have write permissions to the bucket and read access to the file.
474490
},
491+
&quot;noRecovery&quot;: True or False, # Whether or not the backup importing will restore database with NORECOVERY option Applies only to Cloud SQL for SQL Server.
492+
&quot;recoveryOnly&quot;: True or False, # Whether or not the backup importing request will just bring database online without downloading Bak content only one of &quot;no_recovery&quot; and &quot;recovery_only&quot; can be true otherwise error will return. Applies only to Cloud SQL for SQL Server.
475493
&quot;striped&quot;: True or False, # Whether or not the backup set being restored is striped. Applies only to Cloud SQL for SQL Server.
476494
},
477495
&quot;csvImportOptions&quot;: { # Options for importing data as CSV.
@@ -556,6 +574,9 @@ <h3>Method Details</h3>
556574
},
557575
&quot;exportContext&quot;: { # Database instance export context. # The context for export operation, if applicable.
558576
&quot;bakExportOptions&quot;: { # Options for exporting BAK files (SQL Server-only)
577+
&quot;bakType&quot;: &quot;A String&quot;, # Type of this bak file will be export, FULL or DIFF, SQL Server only
578+
&quot;copyOnly&quot;: True or False, # Whether or not the export will be exeucted with COPY_ONLY, SQL Server only deprecated as the behavior should default to copy_only = true use differential_base instead
579+
&quot;differentialBase&quot;: True or False, # Whether or not the backup can be use as differential base only non copy only backup can be served as differential base
559580
&quot;stripeCount&quot;: 42, # Option for specifying how many stripes to use for the export. If blank, and the value of the striped field is true, the number of stripes is automatically chosen.
560581
&quot;striped&quot;: True or False, # Whether or not the export should be striped.
561582
},
@@ -585,11 +606,14 @@ <h3>Method Details</h3>
585606
},
586607
&quot;importContext&quot;: { # Database instance import context. # The context for import operation, if applicable.
587608
&quot;bakImportOptions&quot;: { # Import parameters specific to SQL Server .BAK files
609+
&quot;bakType&quot;: &quot;A String&quot;, # Type of the bak content, FULL or DIFF
588610
&quot;encryptionOptions&quot;: {
589611
&quot;certPath&quot;: &quot;A String&quot;, # Path to the Certificate (.cer) in Cloud Storage, in the form `gs://bucketName/fileName`. The instance must have write permissions to the bucket and read access to the file.
590612
&quot;pvkPassword&quot;: &quot;A String&quot;, # Password that encrypts the private key
591613
&quot;pvkPath&quot;: &quot;A String&quot;, # Path to the Certificate Private Key (.pvk) in Cloud Storage, in the form `gs://bucketName/fileName`. The instance must have write permissions to the bucket and read access to the file.
592614
},
615+
&quot;noRecovery&quot;: True or False, # Whether or not the backup importing will restore database with NORECOVERY option Applies only to Cloud SQL for SQL Server.
616+
&quot;recoveryOnly&quot;: True or False, # Whether or not the backup importing request will just bring database online without downloading Bak content only one of &quot;no_recovery&quot; and &quot;recovery_only&quot; can be true otherwise error will return. Applies only to Cloud SQL for SQL Server.
593617
&quot;striped&quot;: True or False, # Whether or not the backup set being restored is striped. Applies only to Cloud SQL for SQL Server.
594618
},
595619
&quot;csvImportOptions&quot;: { # Options for importing data as CSV.

0 commit comments

Comments
 (0)