Reference documentation and code samples for the Secret Manager V1 API class Google::Cloud::SecretManager::V1::RestoreBackupRequest.
Request message for SecretOperationsService.RestoreBackup.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#destination_secret_id
def destination_secret_id() -> ::String-
(::String) — 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.
#destination_secret_id=
def destination_secret_id=(value) -> ::String-
value (::String) — 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.
-
(::String) — 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.
#destination_secret_parent
def destination_secret_parent() -> ::String-
(::String) —
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_parent=
def destination_secret_parent=(value) -> ::String-
value (::String) —
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)
-
(::String) —
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)
#kms_key_name
def kms_key_name() -> ::String-
(::String) — 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}
#kms_key_name=
def kms_key_name=(value) -> ::String-
value (::String) — 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}
-
(::String) — 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}
#name
def name() -> ::String-
(::String) — Required. The resource name of the
Backup to restore from. Format:
projects/{project}/locations/{location}/backups/{backup}
#name=
def name=(value) -> ::String-
value (::String) — Required. The resource name of the
Backup to restore from. Format:
projects/{project}/locations/{location}/backups/{backup}
-
(::String) — Required. The resource name of the
Backup to restore from. Format:
projects/{project}/locations/{location}/backups/{backup}