Reference documentation and code samples for the Google Cloud Memorystore for Redis V1 API class Google::Cloud::Redis::Cluster::V1::Backup.
Backup of a cluster.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#backup_files
def backup_files() -> ::Array<::Google::Cloud::Redis::Cluster::V1::BackupFile>
Returns
- (::Array<::Google::Cloud::Redis::Cluster::V1::BackupFile>) — Output only. List of backup files of the backup.
#backup_type
def backup_type() -> ::Google::Cloud::Redis::Cluster::V1::Backup::BackupType
Returns
- (::Google::Cloud::Redis::Cluster::V1::Backup::BackupType) — Output only. Type of the backup.
#cluster
def cluster() -> ::String
Returns
- (::String) — Output only. Cluster resource path of this backup.
#cluster_uid
def cluster_uid() -> ::String
Returns
- (::String) — Output only. Cluster uid of this backup.
#create_time
def create_time() -> ::Google::Protobuf::Timestamp
Returns
- (::Google::Protobuf::Timestamp) — Output only. The time when the backup was created.
#encryption_info
def encryption_info() -> ::Google::Cloud::Redis::Cluster::V1::EncryptionInfo
Returns
- (::Google::Cloud::Redis::Cluster::V1::EncryptionInfo) — Output only. Encryption information of the backup.
#engine_version
def engine_version() -> ::String
Returns
- (::String) — Output only. redis-7.2, valkey-7.5
#expire_time
def expire_time() -> ::Google::Protobuf::Timestamp
Returns
- (::Google::Protobuf::Timestamp) — Output only. The time when the backup will expire.
#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 Cluster UID] OR customer specified while backup cluster. 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 Cluster UID] OR customer specified while backup cluster. 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 Cluster UID] OR customer specified while backup cluster. Example: 20240515123000_1234
#node_type
def node_type() -> ::Google::Cloud::Redis::Cluster::V1::NodeType
Returns
- (::Google::Cloud::Redis::Cluster::V1::NodeType) — Output only. Node type of the cluster.
#replica_count
def replica_count() -> ::Integer
Returns
- (::Integer) — Output only. Number of replicas for the cluster.
#shard_count
def shard_count() -> ::Integer
Returns
- (::Integer) — Output only. Number of shards for the cluster.
#state
def state() -> ::Google::Cloud::Redis::Cluster::V1::Backup::State
Returns
- (::Google::Cloud::Redis::Cluster::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.