Reference documentation and code samples for the Backup and DR Service V1 API class Google::Cloud::BackupDR::V1::GetBackupRequest.
Request message for getting a Backup.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#name
def name() -> ::String
Returns
- (::String) — Required. Name of the data source resource name, in the format 'projects/{project_id}/locations/{location}/backupVaults/{backupVault}/dataSources/{datasource}/backups/{backup}'
#name=
def name=(value) -> ::String
Parameter
- value (::String) — Required. Name of the data source resource name, in the format 'projects/{project_id}/locations/{location}/backupVaults/{backupVault}/dataSources/{datasource}/backups/{backup}'
Returns
- (::String) — Required. Name of the data source resource name, in the format 'projects/{project_id}/locations/{location}/backupVaults/{backupVault}/dataSources/{datasource}/backups/{backup}'
#view
def view() -> ::Google::Cloud::BackupDR::V1::BackupView
Returns
- (::Google::Cloud::BackupDR::V1::BackupView) — Optional. Reserved for future use to provide a BASIC & FULL view of Backup resource.
#view=
def view=(value) -> ::Google::Cloud::BackupDR::V1::BackupView
Parameter
- value (::Google::Cloud::BackupDR::V1::BackupView) — Optional. Reserved for future use to provide a BASIC & FULL view of Backup resource.
Returns
- (::Google::Cloud::BackupDR::V1::BackupView) — Optional. Reserved for future use to provide a BASIC & FULL view of Backup resource.