Reference documentation and code samples for the Backup and DR Service V1 API class Google::Cloud::BackupDR::V1::Backup.
Message describing a Backup object.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#backup_appliance_backup_properties
def backup_appliance_backup_properties() -> ::Google::Cloud::BackupDR::V1::BackupApplianceBackupProperties
Returns
- (::Google::Cloud::BackupDR::V1::BackupApplianceBackupProperties) — Output only. Backup Appliance specific backup properties.
#backup_appliance_locks
def backup_appliance_locks() -> ::Array<::Google::Cloud::BackupDR::V1::BackupLock>
Returns
- (::Array<::Google::Cloud::BackupDR::V1::BackupLock>) — Optional. The list of BackupLocks taken by the accessor Backup Appliance.
#backup_appliance_locks=
def backup_appliance_locks=(value) -> ::Array<::Google::Cloud::BackupDR::V1::BackupLock>
Parameter
- value (::Array<::Google::Cloud::BackupDR::V1::BackupLock>) — Optional. The list of BackupLocks taken by the accessor Backup Appliance.
Returns
- (::Array<::Google::Cloud::BackupDR::V1::BackupLock>) — Optional. The list of BackupLocks taken by the accessor Backup Appliance.
#backup_type
def backup_type() -> ::Google::Cloud::BackupDR::V1::Backup::BackupType
Returns
- (::Google::Cloud::BackupDR::V1::Backup::BackupType) — Output only. Type of the backup, unspecified, scheduled or ondemand.
#compute_instance_backup_properties
def compute_instance_backup_properties() -> ::Google::Cloud::BackupDR::V1::ComputeInstanceBackupProperties
Returns
- (::Google::Cloud::BackupDR::V1::ComputeInstanceBackupProperties) — Output only. Compute Engine specific backup properties.
#consistency_time
def consistency_time() -> ::Google::Protobuf::Timestamp
Returns
- (::Google::Protobuf::Timestamp) — Output only. The point in time when this backup was captured from the source.
#create_time
def create_time() -> ::Google::Protobuf::Timestamp
Returns
- (::Google::Protobuf::Timestamp) — Output only. The time when the instance was created.
#description
def description() -> ::String
Returns
- (::String) — Output only. The description of the Backup instance (2048 characters or less).
#enforced_retention_end_time
def enforced_retention_end_time() -> ::Google::Protobuf::Timestamp
Returns
- (::Google::Protobuf::Timestamp) — Optional. The backup can not be deleted before this time.
#enforced_retention_end_time=
def enforced_retention_end_time=(value) -> ::Google::Protobuf::Timestamp
Parameter
- value (::Google::Protobuf::Timestamp) — Optional. The backup can not be deleted before this time.
Returns
- (::Google::Protobuf::Timestamp) — Optional. The backup can not be deleted before this time.
#etag
def etag() -> ::String
Returns
- (::String) — Optional. Server specified ETag to prevent updates from overwriting each other.
#etag=
def etag=(value) -> ::String
Parameter
- value (::String) — Optional. Server specified ETag to prevent updates from overwriting each other.
Returns
- (::String) — Optional. Server specified ETag to prevent updates from overwriting each other.
#expire_time
def expire_time() -> ::Google::Protobuf::Timestamp
Returns
- (::Google::Protobuf::Timestamp) — Optional. When this backup is automatically expired.
#expire_time=
def expire_time=(value) -> ::Google::Protobuf::Timestamp
Parameter
- value (::Google::Protobuf::Timestamp) — Optional. When this backup is automatically expired.
Returns
- (::Google::Protobuf::Timestamp) — Optional. When this backup is automatically expired.
#gcp_backup_plan_info
def gcp_backup_plan_info() -> ::Google::Cloud::BackupDR::V1::Backup::GCPBackupPlanInfo
Returns
- (::Google::Cloud::BackupDR::V1::Backup::GCPBackupPlanInfo) — Output only. Configuration for a Google Cloud resource.
#labels
def labels() -> ::Google::Protobuf::Map{::String => ::String}
Returns
- (::Google::Protobuf::Map{::String => ::String}) — Optional. Resource labels to represent user provided metadata. No labels currently defined.
#labels=
def labels=(value) -> ::Google::Protobuf::Map{::String => ::String}
Parameter
- value (::Google::Protobuf::Map{::String => ::String}) — Optional. Resource labels to represent user provided metadata. No labels currently defined.
Returns
- (::Google::Protobuf::Map{::String => ::String}) — Optional. Resource labels to represent user provided metadata. No labels currently defined.
#name
def name() -> ::String
Returns
-
(::String) — Output only. Identifier. Name of the backup to create. It must have the
format
"projects/<project>/locations/<location>/backupVaults/<backupvault>/dataSources/{datasource}/backups/{backup}"
.{backup}
cannot be changed after creation. It must be between 3-63 characters long and must be unique within the datasource.
#resource_size_bytes
def resource_size_bytes() -> ::Integer
Returns
- (::Integer) — Output only. source resource size in bytes at the time of the backup.
#service_locks
def service_locks() -> ::Array<::Google::Cloud::BackupDR::V1::BackupLock>
Returns
- (::Array<::Google::Cloud::BackupDR::V1::BackupLock>) — Output only. The list of BackupLocks taken by the service to prevent the deletion of the backup.
#state
def state() -> ::Google::Cloud::BackupDR::V1::Backup::State
Returns
- (::Google::Cloud::BackupDR::V1::Backup::State) — Output only. The Backup resource instance state.
#update_time
def update_time() -> ::Google::Protobuf::Timestamp
Returns
- (::Google::Protobuf::Timestamp) — Output only. The time when the instance was updated.