Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
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)
  • Loading branch information
yoshi-automation committed May 24, 2023
1 parent c03c78c commit 20e157d
Show file tree
Hide file tree
Showing 16 changed files with 574 additions and 18 deletions.
12 changes: 12 additions & 0 deletions docs/dyn/sqladmin_v1.backupRuns.html
Expand Up @@ -132,6 +132,9 @@ <h3>Method Details</h3>
},
&quot;exportContext&quot;: { # Database instance export context. # The context for export operation, if applicable.
&quot;bakExportOptions&quot;: { # Options for exporting BAK files (SQL Server-only)
&quot;bakType&quot;: &quot;A String&quot;, # Type of this bak file will be export, FULL or DIFF, SQL Server only
&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
&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
&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.
&quot;striped&quot;: True or False, # Whether or not the export should be striped.
},
Expand Down Expand Up @@ -161,11 +164,14 @@ <h3>Method Details</h3>
},
&quot;importContext&quot;: { # Database instance import context. # The context for import operation, if applicable.
&quot;bakImportOptions&quot;: { # Import parameters specific to SQL Server .BAK files
&quot;bakType&quot;: &quot;A String&quot;, # Type of the bak content, FULL or DIFF
&quot;encryptionOptions&quot;: {
&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.
&quot;pvkPassword&quot;: &quot;A String&quot;, # Password that encrypts the private key
&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.
},
&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.
&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.
&quot;striped&quot;: True or False, # Whether or not the backup set being restored is striped. Applies only to Cloud SQL for SQL Server.
},
&quot;csvImportOptions&quot;: { # Options for importing data as CSV.
Expand Down Expand Up @@ -311,6 +317,9 @@ <h3>Method Details</h3>
},
&quot;exportContext&quot;: { # Database instance export context. # The context for export operation, if applicable.
&quot;bakExportOptions&quot;: { # Options for exporting BAK files (SQL Server-only)
&quot;bakType&quot;: &quot;A String&quot;, # Type of this bak file will be export, FULL or DIFF, SQL Server only
&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
&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
&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.
&quot;striped&quot;: True or False, # Whether or not the export should be striped.
},
Expand Down Expand Up @@ -340,11 +349,14 @@ <h3>Method Details</h3>
},
&quot;importContext&quot;: { # Database instance import context. # The context for import operation, if applicable.
&quot;bakImportOptions&quot;: { # Import parameters specific to SQL Server .BAK files
&quot;bakType&quot;: &quot;A String&quot;, # Type of the bak content, FULL or DIFF
&quot;encryptionOptions&quot;: {
&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.
&quot;pvkPassword&quot;: &quot;A String&quot;, # Password that encrypts the private key
&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.
},
&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.
&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.
&quot;striped&quot;: True or False, # Whether or not the backup set being restored is striped. Applies only to Cloud SQL for SQL Server.
},
&quot;csvImportOptions&quot;: { # Options for importing data as CSV.
Expand Down
28 changes: 26 additions & 2 deletions docs/dyn/sqladmin_v1.databases.html
Expand Up @@ -85,7 +85,7 @@ <h2>Instance Methods</h2>
<p class="firstline">Retrieves a resource containing information about a database inside a Cloud SQL instance.</p>
<p class="toc_element">
<code><a href="#insert">insert(project, instance, body=None, x__xgafv=None)</a></code></p>
<p class="firstline">Inserts a resource containing information about a database inside a Cloud SQL instance.</p>
<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>
<p class="toc_element">
<code><a href="#list">list(project, instance, x__xgafv=None)</a></code></p>
<p class="firstline">Lists databases in the specified Cloud SQL instance.</p>
Expand Down Expand Up @@ -135,6 +135,9 @@ <h3>Method Details</h3>
},
&quot;exportContext&quot;: { # Database instance export context. # The context for export operation, if applicable.
&quot;bakExportOptions&quot;: { # Options for exporting BAK files (SQL Server-only)
&quot;bakType&quot;: &quot;A String&quot;, # Type of this bak file will be export, FULL or DIFF, SQL Server only
&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
&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
&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.
&quot;striped&quot;: True or False, # Whether or not the export should be striped.
},
Expand Down Expand Up @@ -164,11 +167,14 @@ <h3>Method Details</h3>
},
&quot;importContext&quot;: { # Database instance import context. # The context for import operation, if applicable.
&quot;bakImportOptions&quot;: { # Import parameters specific to SQL Server .BAK files
&quot;bakType&quot;: &quot;A String&quot;, # Type of the bak content, FULL or DIFF
&quot;encryptionOptions&quot;: {
&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.
&quot;pvkPassword&quot;: &quot;A String&quot;, # Password that encrypts the private key
&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.
},
&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.
&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.
&quot;striped&quot;: True or False, # Whether or not the backup set being restored is striped. Applies only to Cloud SQL for SQL Server.
},
&quot;csvImportOptions&quot;: { # Options for importing data as CSV.
Expand Down Expand Up @@ -235,7 +241,7 @@ <h3>Method Details</h3>

<div class="method">
<code class="details" id="insert">insert(project, instance, body=None, x__xgafv=None)</code>
<pre>Inserts a resource containing information about a database inside a Cloud SQL instance.
<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.

Args:
project: string, Project ID of the project that contains the instance. (required)
Expand Down Expand Up @@ -284,6 +290,9 @@ <h3>Method Details</h3>
},
&quot;exportContext&quot;: { # Database instance export context. # The context for export operation, if applicable.
&quot;bakExportOptions&quot;: { # Options for exporting BAK files (SQL Server-only)
&quot;bakType&quot;: &quot;A String&quot;, # Type of this bak file will be export, FULL or DIFF, SQL Server only
&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
&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
&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.
&quot;striped&quot;: True or False, # Whether or not the export should be striped.
},
Expand Down Expand Up @@ -313,11 +322,14 @@ <h3>Method Details</h3>
},
&quot;importContext&quot;: { # Database instance import context. # The context for import operation, if applicable.
&quot;bakImportOptions&quot;: { # Import parameters specific to SQL Server .BAK files
&quot;bakType&quot;: &quot;A String&quot;, # Type of the bak content, FULL or DIFF
&quot;encryptionOptions&quot;: {
&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.
&quot;pvkPassword&quot;: &quot;A String&quot;, # Password that encrypts the private key
&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.
},
&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.
&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.
&quot;striped&quot;: True or False, # Whether or not the backup set being restored is striped. Applies only to Cloud SQL for SQL Server.
},
&quot;csvImportOptions&quot;: { # Options for importing data as CSV.
Expand Down Expand Up @@ -438,6 +450,9 @@ <h3>Method Details</h3>
},
&quot;exportContext&quot;: { # Database instance export context. # The context for export operation, if applicable.
&quot;bakExportOptions&quot;: { # Options for exporting BAK files (SQL Server-only)
&quot;bakType&quot;: &quot;A String&quot;, # Type of this bak file will be export, FULL or DIFF, SQL Server only
&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
&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
&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.
&quot;striped&quot;: True or False, # Whether or not the export should be striped.
},
Expand Down Expand Up @@ -467,11 +482,14 @@ <h3>Method Details</h3>
},
&quot;importContext&quot;: { # Database instance import context. # The context for import operation, if applicable.
&quot;bakImportOptions&quot;: { # Import parameters specific to SQL Server .BAK files
&quot;bakType&quot;: &quot;A String&quot;, # Type of the bak content, FULL or DIFF
&quot;encryptionOptions&quot;: {
&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.
&quot;pvkPassword&quot;: &quot;A String&quot;, # Password that encrypts the private key
&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.
},
&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.
&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.
&quot;striped&quot;: True or False, # Whether or not the backup set being restored is striped. Applies only to Cloud SQL for SQL Server.
},
&quot;csvImportOptions&quot;: { # Options for importing data as CSV.
Expand Down Expand Up @@ -556,6 +574,9 @@ <h3>Method Details</h3>
},
&quot;exportContext&quot;: { # Database instance export context. # The context for export operation, if applicable.
&quot;bakExportOptions&quot;: { # Options for exporting BAK files (SQL Server-only)
&quot;bakType&quot;: &quot;A String&quot;, # Type of this bak file will be export, FULL or DIFF, SQL Server only
&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
&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
&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.
&quot;striped&quot;: True or False, # Whether or not the export should be striped.
},
Expand Down Expand Up @@ -585,11 +606,14 @@ <h3>Method Details</h3>
},
&quot;importContext&quot;: { # Database instance import context. # The context for import operation, if applicable.
&quot;bakImportOptions&quot;: { # Import parameters specific to SQL Server .BAK files
&quot;bakType&quot;: &quot;A String&quot;, # Type of the bak content, FULL or DIFF
&quot;encryptionOptions&quot;: {
&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.
&quot;pvkPassword&quot;: &quot;A String&quot;, # Password that encrypts the private key
&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.
},
&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.
&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.
&quot;striped&quot;: True or False, # Whether or not the backup set being restored is striped. Applies only to Cloud SQL for SQL Server.
},
&quot;csvImportOptions&quot;: { # Options for importing data as CSV.
Expand Down

0 comments on commit 20e157d

Please sign in to comment.