Reference documentation and code samples for the Memorystore V1 API class Google::Cloud::Memorystore::V1::Backup.
Backup of an instance.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#backup_files
def backup_files() -> ::Array<::Google::Cloud::Memorystore::V1::BackupFile>
Returns
- (::Array<::Google::Cloud::Memorystore::V1::BackupFile>) — Output only. List of backup files of the backup.
#backup_type
def backup_type() -> ::Google::Cloud::Memorystore::V1::Backup::BackupType
Returns
- (::Google::Cloud::Memorystore::V1::Backup::BackupType) — Output only. Type of the backup.
#create_time
def create_time() -> ::Google::Protobuf::Timestamp
Returns
- (::Google::Protobuf::Timestamp) — Output only. The time when the backup was created.
#engine_version
def engine_version() -> ::String
Returns
- (::String) — Output only. valkey-7.5/valkey-8.0, etc.
#expire_time
def expire_time() -> ::Google::Protobuf::Timestamp
Returns
- (::Google::Protobuf::Timestamp) — Output only. The time when the backup will expire.
#instance
def instance() -> ::String
Returns
- (::String) — Output only. Instance resource path of this backup.
#instance_uid
def instance_uid() -> ::String
Returns
- (::String) — Output only. Instance uid of this backup.
#name
def name() -> ::String
Returns
- (::String) — Identifier. Full resource path of the backup. the last part of the name is the backup id with the following format: [YYYYMMDDHHMMSS]_[Shorted Instance UID] OR customer specified while backup instance. Example: 20240515123000_1234
#name=
def name=(value) -> ::String
Parameter
- value (::String) — Identifier. Full resource path of the backup. the last part of the name is the backup id with the following format: [YYYYMMDDHHMMSS]_[Shorted Instance UID] OR customer specified while backup instance. Example: 20240515123000_1234
Returns
- (::String) — Identifier. Full resource path of the backup. the last part of the name is the backup id with the following format: [YYYYMMDDHHMMSS]_[Shorted Instance UID] OR customer specified while backup instance. Example: 20240515123000_1234
#node_type
def node_type() -> ::Google::Cloud::Memorystore::V1::Instance::NodeType
Returns
- (::Google::Cloud::Memorystore::V1::Instance::NodeType) — Output only. Node type of the instance.
#replica_count
def replica_count() -> ::Integer
Returns
- (::Integer) — Output only. Number of replicas for the instance.
#shard_count
def shard_count() -> ::Integer
Returns
- (::Integer) — Output only. Number of shards for the instance.
#state
def state() -> ::Google::Cloud::Memorystore::V1::Backup::State
Returns
- (::Google::Cloud::Memorystore::V1::Backup::State) — Output only. State of the backup.
#total_size_bytes
def total_size_bytes() -> ::Integer
Returns
- (::Integer) — Output only. Total size of the backup in bytes.
#uid
def uid() -> ::String
Returns
- (::String) — Output only. System assigned unique identifier of the backup.