Reference documentation and code samples for the Backup and DR Service V1 API class Google::Cloud::BackupDR::V1::BackupVault.
Message describing a BackupVault object.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#access_restriction
def access_restriction() -> ::Google::Cloud::BackupDR::V1::BackupVault::AccessRestriction
-
(::Google::Cloud::BackupDR::V1::BackupVault::AccessRestriction) — Optional. Note: This field is added for future use case and will not be
supported in the current release.
Optional.
Access restriction for the backup vault. Default value is WITHIN_ORGANIZATION if not provided during creation.
#access_restriction=
def access_restriction=(value) -> ::Google::Cloud::BackupDR::V1::BackupVault::AccessRestriction
-
value (::Google::Cloud::BackupDR::V1::BackupVault::AccessRestriction) — Optional. Note: This field is added for future use case and will not be
supported in the current release.
Optional.
Access restriction for the backup vault. Default value is WITHIN_ORGANIZATION if not provided during creation.
-
(::Google::Cloud::BackupDR::V1::BackupVault::AccessRestriction) — Optional. Note: This field is added for future use case and will not be
supported in the current release.
Optional.
Access restriction for the backup vault. Default value is WITHIN_ORGANIZATION if not provided during creation.
#annotations
def annotations() -> ::Google::Protobuf::Map{::String => ::String}
- (::Google::Protobuf::Map{::String => ::String}) — Optional. User annotations. See https://google.aip.dev/128#annotations Stores small amounts of arbitrary data.
#annotations=
def annotations=(value) -> ::Google::Protobuf::Map{::String => ::String}
- value (::Google::Protobuf::Map{::String => ::String}) — Optional. User annotations. See https://google.aip.dev/128#annotations Stores small amounts of arbitrary data.
- (::Google::Protobuf::Map{::String => ::String}) — Optional. User annotations. See https://google.aip.dev/128#annotations Stores small amounts of arbitrary data.
#backup_count
def backup_count() -> ::Integer
- (::Integer) — Output only. The number of backups in this backup vault.
#backup_minimum_enforced_retention_duration
def backup_minimum_enforced_retention_duration() -> ::Google::Protobuf::Duration
- (::Google::Protobuf::Duration) — Required. The default and minimum enforced retention for each backup within the backup vault. The enforced retention for each backup can be extended.
#backup_minimum_enforced_retention_duration=
def backup_minimum_enforced_retention_duration=(value) -> ::Google::Protobuf::Duration
- value (::Google::Protobuf::Duration) — Required. The default and minimum enforced retention for each backup within the backup vault. The enforced retention for each backup can be extended.
- (::Google::Protobuf::Duration) — Required. The default and minimum enforced retention for each backup within the backup vault. The enforced retention for each backup can be extended.
#create_time
def create_time() -> ::Google::Protobuf::Timestamp
- (::Google::Protobuf::Timestamp) — Output only. The time when the instance was created.
#deletable
def deletable() -> ::Boolean
- (::Boolean) — Output only. Set to true when there are no backups nested under this resource.
#description
def description() -> ::String
- (::String) — Optional. The description of the BackupVault instance (2048 characters or less).
#description=
def description=(value) -> ::String
- value (::String) — Optional. The description of the BackupVault instance (2048 characters or less).
- (::String) — Optional. The description of the BackupVault instance (2048 characters or less).
#effective_time
def effective_time() -> ::Google::Protobuf::Timestamp
- (::Google::Protobuf::Timestamp) — Optional. Time after which the BackupVault resource is locked.
#effective_time=
def effective_time=(value) -> ::Google::Protobuf::Timestamp
- value (::Google::Protobuf::Timestamp) — Optional. Time after which the BackupVault resource is locked.
- (::Google::Protobuf::Timestamp) — Optional. Time after which the BackupVault resource is locked.
#etag
def etag() -> ::String
- (::String) — Optional. Server specified ETag for the backup vault resource to prevent simultaneous updates from overwiting each other.
#etag=
def etag=(value) -> ::String
- value (::String) — Optional. Server specified ETag for the backup vault resource to prevent simultaneous updates from overwiting each other.
- (::String) — Optional. Server specified ETag for the backup vault resource to prevent simultaneous updates from overwiting each other.
#labels
def labels() -> ::Google::Protobuf::Map{::String => ::String}
- (::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}
- value (::Google::Protobuf::Map{::String => ::String}) — Optional. Resource labels to represent user provided metadata. No labels currently defined:
- (::Google::Protobuf::Map{::String => ::String}) — Optional. Resource labels to represent user provided metadata. No labels currently defined:
#name
def name() -> ::String
-
(::String) — Output only. Identifier. Name of the backup vault to create. It must have
the
format
"projects/{project}/locations/{location}/backupVaults/{backupvault}"
.{backupvault}
cannot be changed after creation. It must be between 3-63 characters long and must be unique within the project and location.
#service_account
def service_account() -> ::String
- (::String) — Output only. Service account used by the BackupVault Service for this BackupVault. The user should grant this account permissions in their workload project to enable the service to run backups and restores there.
#state
def state() -> ::Google::Cloud::BackupDR::V1::BackupVault::State
- (::Google::Cloud::BackupDR::V1::BackupVault::State) — Output only. The BackupVault resource instance state.
#total_stored_bytes
def total_stored_bytes() -> ::Integer
- (::Integer) — Output only. Total size of the storage used by all backup resources.
#uid
def uid() -> ::String
- (::String) — Output only. Output only Immutable after resource creation until resource deletion.
#update_time
def update_time() -> ::Google::Protobuf::Timestamp
- (::Google::Protobuf::Timestamp) — Output only. The time when the instance was updated.