Class RestoreBackupRequest (2.33.0)

RestoreBackupRequest(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Request message for SecretOperationsService.RestoreBackup.

Attributes

Name Description
name str
Required. The resource name of the Backup to restore from. Format: projects/{project}/locations/{location}/backups/{backup}
destination_secret_parent str
Required. Parent of the new Secret to be created from this backup. Formats: - projects/{project}/locations/{location} (for regional secrets) - projects/{project} (for global secrets)
destination_secret_id str
Required. ID of the new Secret to be created from this backup. This must be unique within the project. A secret ID is a string with a maximum length of 255 characters and can contain uppercase and lowercase letters, numerals, and the hyphen (-) and underscore (_) characters.
kms_key_name str
Optional. The resource name of the Cloud KMS CryptoKey to be used to encrypt the Secret. Format: projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}