Reference documentation and code samples for the NetApp V1 API class Google::Cloud::NetApp::V1::CreateBackupRequest.
CreateBackupRequest creates a backup.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#backup
def backup() -> ::Google::Cloud::NetApp::V1::Backup
Returns
- (::Google::Cloud::NetApp::V1::Backup) — Required. A backup resource
#backup=
def backup=(value) -> ::Google::Cloud::NetApp::V1::Backup
Parameter
- value (::Google::Cloud::NetApp::V1::Backup) — Required. A backup resource
Returns
- (::Google::Cloud::NetApp::V1::Backup) — Required. A backup resource
#backup_id
def backup_id() -> ::String
Returns
- (::String) — Required. The ID to use for the backup. The ID must be unique within the specified backupVault. Must contain only letters, numbers, underscore and hyphen, with the first character a letter or underscore, the last a letter or underscore or a number, and a 63 character maximum.
#backup_id=
def backup_id=(value) -> ::String
Parameter
- value (::String) — Required. The ID to use for the backup. The ID must be unique within the specified backupVault. Must contain only letters, numbers, underscore and hyphen, with the first character a letter or underscore, the last a letter or underscore or a number, and a 63 character maximum.
Returns
- (::String) — Required. The ID to use for the backup. The ID must be unique within the specified backupVault. Must contain only letters, numbers, underscore and hyphen, with the first character a letter or underscore, the last a letter or underscore or a number, and a 63 character maximum.
#parent
def parent() -> ::String
Returns
-
(::String) — Required. The NetApp backupVault to create the backups of, in the format
projects/*/locations/*/backupVaults/{backup_vault_id}
#parent=
def parent=(value) -> ::String
Parameter
-
value (::String) — Required. The NetApp backupVault to create the backups of, in the format
projects/*/locations/*/backupVaults/{backup_vault_id}
Returns
-
(::String) — Required. The NetApp backupVault to create the backups of, in the format
projects/*/locations/*/backupVaults/{backup_vault_id}