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 af4db7d

Browse files
committedFeb 18, 2025
feat(sqladmin): update the api
#### sqladmin:v1 The following keys were added: - resources.Backups.methods.CreateBackup (Total Keys: 12) - resources.Backups.methods.DeleteBackup (Total Keys: 11) - resources.Backups.methods.GetBackup (Total Keys: 11) - resources.Backups.methods.ListBackups (Total Keys: 18) - resources.Backups.methods.UpdateBackup (Total Keys: 15) - resources.instances.methods.delete.parameters.enableFinalBackup (Total Keys: 2) - resources.instances.methods.delete.parameters.finalBackupExpiryTime (Total Keys: 3) - resources.instances.methods.delete.parameters.finalBackupTtlDays (Total Keys: 3) - schemas.Backup (Total Keys: 40) - schemas.DatabaseInstance.properties.includeReplicasForMajorVersionUpgrade.type (Total Keys: 1) - schemas.ExportContext.properties.tdeExportOptions (Total Keys: 5) - schemas.ImportContext.properties.bakImportOptions.properties.encryptionOptions.properties.keepEncrypted.type (Total Keys: 1) - schemas.ImportContext.properties.tdeImportOptions (Total Keys: 5) - schemas.InstancesRestoreBackupRequest.properties.backup.type (Total Keys: 1) - schemas.InstancesRestoreBackupRequest.properties.restoreInstanceSettings.$ref (Total Keys: 1) - schemas.Interval (Total Keys: 6) - schemas.ListBackupsResponse (Total Keys: 7) #### sqladmin:v1beta4 The following keys were added: - resources.backups.methods.createBackup (Total Keys: 12) - resources.backups.methods.deleteBackup (Total Keys: 11) - resources.backups.methods.getBackup (Total Keys: 11) - resources.backups.methods.listBackups (Total Keys: 18) - resources.backups.methods.updateBackup (Total Keys: 15) - resources.instances.methods.delete.parameters.enableFinalBackup (Total Keys: 2) - resources.instances.methods.delete.parameters.finalBackupExpiryTime (Total Keys: 3) - resources.instances.methods.delete.parameters.finalBackupTtlDays (Total Keys: 3) - schemas.Backup (Total Keys: 40) - schemas.DatabaseInstance.properties.includeReplicasForMajorVersionUpgrade.type (Total Keys: 1) - schemas.ExportContext.properties.tdeExportOptions (Total Keys: 5) - schemas.ImportContext.properties.bakImportOptions.properties.encryptionOptions.properties.keepEncrypted.type (Total Keys: 1) - schemas.ImportContext.properties.tdeImportOptions (Total Keys: 5) - schemas.InstancesRestoreBackupRequest.properties.backup.type (Total Keys: 1) - schemas.InstancesRestoreBackupRequest.properties.restoreInstanceSettings.$ref (Total Keys: 1) - schemas.Interval (Total Keys: 6) - schemas.ListBackupsResponse (Total Keys: 7)
1 parent de6bddd commit af4db7d

20 files changed

+4100
-6
lines changed
 

‎docs/dyn/sqladmin_v1.Backups.html

+740
Large diffs are not rendered by default.

‎docs/dyn/sqladmin_v1.backupRuns.html

+28
Original file line numberDiff line numberDiff line change
@@ -129,6 +129,7 @@ <h3>Method Details</h3>
129129
&quot;backupContext&quot;: { # Backup context. # The context for backup operation, if applicable.
130130
&quot;backupId&quot;: &quot;A String&quot;, # The identifier of the backup.
131131
&quot;kind&quot;: &quot;A String&quot;, # This is always `sql#backupContext`.
132+
&quot;name&quot;: &quot;A String&quot;, # The name of the backup. Format: projects/{project}/backups/{backup}
132133
},
133134
&quot;endTime&quot;: &quot;A String&quot;, # The time this operation finished in UTC timezone in [RFC 3339](https://tools.ietf.org/html/rfc3339) format, for example `2012-11-15T16:19:00.094Z`.
134135
&quot;error&quot;: { # Database instance operation errors list wrapper. # If errors occurred during processing of this operation, this field will be populated.
@@ -179,13 +180,20 @@ <h3>Method Details</h3>
179180
],
180181
&quot;threads&quot;: 42, # Optional. The number of threads to use for parallel export.
181182
},
183+
&quot;tdeExportOptions&quot;: { # Optional. Export parameters specific to SQL Server TDE certificates
184+
&quot;certificatePath&quot;: &quot;A String&quot;, # Required. Path to the TDE certificate public key in the form gs://bucketName/fileName. The instance must have write access to the bucket. Applicable only for SQL Server instances.
185+
&quot;name&quot;: &quot;A String&quot;, # Required. Certificate name. Applicable only for SQL Server instances.
186+
&quot;privateKeyPassword&quot;: &quot;A String&quot;, # Required. Password that encrypts the private key.
187+
&quot;privateKeyPath&quot;: &quot;A String&quot;, # Required. Path to the TDE certificate private key in the form gs://bucketName/fileName. The instance must have write access to the location. Applicable only for SQL Server instances.
188+
},
182189
&quot;uri&quot;: &quot;A String&quot;, # The path to the file in Google Cloud Storage where the export will be stored. The URI is in the form `gs://bucketName/fileName`. If the file already exists, the request succeeds, but the operation fails. If `fileType` is `SQL` and the filename ends with .gz, the contents are compressed.
183190
},
184191
&quot;importContext&quot;: { # Database instance import context. # The context for import operation, if applicable.
185192
&quot;bakImportOptions&quot;: { # Import parameters specific to SQL Server .BAK files
186193
&quot;bakType&quot;: &quot;A String&quot;, # Type of the bak content, FULL or DIFF
187194
&quot;encryptionOptions&quot;: {
188195
&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.
196+
&quot;keepEncrypted&quot;: True or False, # Optional. Whether the imported file remains encrypted.
189197
&quot;pvkPassword&quot;: &quot;A String&quot;, # Password that encrypts the private key
190198
&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.
191199
},
@@ -217,6 +225,12 @@ <h3>Method Details</h3>
217225
},
218226
&quot;threads&quot;: 42, # Optional. The number of threads to use for parallel import.
219227
},
228+
&quot;tdeImportOptions&quot;: { # Optional. Import parameters specific to SQL Server TDE certificates
229+
&quot;certificatePath&quot;: &quot;A String&quot;, # Required. Path to the TDE certificate public key in the form gs://bucketName/fileName. The instance must have read access to the file. Applicable only for SQL Server instances.
230+
&quot;name&quot;: &quot;A String&quot;, # Required. Certificate name. Applicable only for SQL Server instances.
231+
&quot;privateKeyPassword&quot;: &quot;A String&quot;, # Required. Password that encrypts the private key.
232+
&quot;privateKeyPath&quot;: &quot;A String&quot;, # Required. Path to the TDE certificate private key in the form gs://bucketName/fileName. The instance must have read access to the file. Applicable only for SQL Server instances.
233+
},
220234
&quot;uri&quot;: &quot;A String&quot;, # Path to the import file in Cloud Storage, in the form `gs://bucketName/fileName`. Compressed gzip files (.gz) are supported when `fileType` is `SQL`. The instance must have write permissions to the bucket and read access to the file.
221235
},
222236
&quot;insertTime&quot;: &quot;A String&quot;, # The time this operation was enqueued in UTC timezone in [RFC 3339](https://tools.ietf.org/html/rfc3339) format, for example `2012-11-15T16:19:00.094Z`.
@@ -348,6 +362,7 @@ <h3>Method Details</h3>
348362
&quot;backupContext&quot;: { # Backup context. # The context for backup operation, if applicable.
349363
&quot;backupId&quot;: &quot;A String&quot;, # The identifier of the backup.
350364
&quot;kind&quot;: &quot;A String&quot;, # This is always `sql#backupContext`.
365+
&quot;name&quot;: &quot;A String&quot;, # The name of the backup. Format: projects/{project}/backups/{backup}
351366
},
352367
&quot;endTime&quot;: &quot;A String&quot;, # The time this operation finished in UTC timezone in [RFC 3339](https://tools.ietf.org/html/rfc3339) format, for example `2012-11-15T16:19:00.094Z`.
353368
&quot;error&quot;: { # Database instance operation errors list wrapper. # If errors occurred during processing of this operation, this field will be populated.
@@ -398,13 +413,20 @@ <h3>Method Details</h3>
398413
],
399414
&quot;threads&quot;: 42, # Optional. The number of threads to use for parallel export.
400415
},
416+
&quot;tdeExportOptions&quot;: { # Optional. Export parameters specific to SQL Server TDE certificates
417+
&quot;certificatePath&quot;: &quot;A String&quot;, # Required. Path to the TDE certificate public key in the form gs://bucketName/fileName. The instance must have write access to the bucket. Applicable only for SQL Server instances.
418+
&quot;name&quot;: &quot;A String&quot;, # Required. Certificate name. Applicable only for SQL Server instances.
419+
&quot;privateKeyPassword&quot;: &quot;A String&quot;, # Required. Password that encrypts the private key.
420+
&quot;privateKeyPath&quot;: &quot;A String&quot;, # Required. Path to the TDE certificate private key in the form gs://bucketName/fileName. The instance must have write access to the location. Applicable only for SQL Server instances.
421+
},
401422
&quot;uri&quot;: &quot;A String&quot;, # The path to the file in Google Cloud Storage where the export will be stored. The URI is in the form `gs://bucketName/fileName`. If the file already exists, the request succeeds, but the operation fails. If `fileType` is `SQL` and the filename ends with .gz, the contents are compressed.
402423
},
403424
&quot;importContext&quot;: { # Database instance import context. # The context for import operation, if applicable.
404425
&quot;bakImportOptions&quot;: { # Import parameters specific to SQL Server .BAK files
405426
&quot;bakType&quot;: &quot;A String&quot;, # Type of the bak content, FULL or DIFF
406427
&quot;encryptionOptions&quot;: {
407428
&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.
429+
&quot;keepEncrypted&quot;: True or False, # Optional. Whether the imported file remains encrypted.
408430
&quot;pvkPassword&quot;: &quot;A String&quot;, # Password that encrypts the private key
409431
&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.
410432
},
@@ -436,6 +458,12 @@ <h3>Method Details</h3>
436458
},
437459
&quot;threads&quot;: 42, # Optional. The number of threads to use for parallel import.
438460
},
461+
&quot;tdeImportOptions&quot;: { # Optional. Import parameters specific to SQL Server TDE certificates
462+
&quot;certificatePath&quot;: &quot;A String&quot;, # Required. Path to the TDE certificate public key in the form gs://bucketName/fileName. The instance must have read access to the file. Applicable only for SQL Server instances.
463+
&quot;name&quot;: &quot;A String&quot;, # Required. Certificate name. Applicable only for SQL Server instances.
464+
&quot;privateKeyPassword&quot;: &quot;A String&quot;, # Required. Password that encrypts the private key.
465+
&quot;privateKeyPath&quot;: &quot;A String&quot;, # Required. Path to the TDE certificate private key in the form gs://bucketName/fileName. The instance must have read access to the file. Applicable only for SQL Server instances.
466+
},
439467
&quot;uri&quot;: &quot;A String&quot;, # Path to the import file in Cloud Storage, in the form `gs://bucketName/fileName`. Compressed gzip files (.gz) are supported when `fileType` is `SQL`. The instance must have write permissions to the bucket and read access to the file.
440468
},
441469
&quot;insertTime&quot;: &quot;A String&quot;, # The time this operation was enqueued in UTC timezone in [RFC 3339](https://tools.ietf.org/html/rfc3339) format, for example `2012-11-15T16:19:00.094Z`.

0 commit comments

Comments
 (0)
Please sign in to comment.