Reference documentation and code samples for the Google Cloud Redis Cluster V1 Client class Backup.
Backup of a cluster.
Generated from protobuf message google.cloud.redis.cluster.v1.Backup
Namespace
Google \ Cloud \ Redis \ Cluster \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ name
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
↳ create_time
↳ cluster
string
Output only. Cluster resource path of this backup.
↳ cluster_uid
string
Output only. Cluster uid of this backup.
↳ total_size_bytes
int|string
Output only. Total size of the backup in bytes.
↳ expire_time
↳ engine_version
string
Output only. redis-7.2, valkey-7.5
↳ backup_files
↳ node_type
int
Output only. Node type of the cluster.
↳ replica_count
int
Output only. Number of replicas for the cluster.
↳ shard_count
int
Output only. Number of shards for the cluster.
↳ backup_type
int
Output only. Type of the backup.
↳ state
int
Output only. State of the backup.
↳ encryption_info
↳ uid
string
Output only. System assigned unique identifier of the backup.
getName
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
string
setName
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
var
string
$this
getCreateTime
Output only. The time when the backup was created.
hasCreateTime
clearCreateTime
setCreateTime
Output only. The time when the backup was created.
$this
getCluster
Output only. Cluster resource path of this backup.
string
setCluster
Output only. Cluster resource path of this backup.
var
string
$this
getClusterUid
Output only. Cluster uid of this backup.
string
setClusterUid
Output only. Cluster uid of this backup.
var
string
$this
getTotalSizeBytes
Output only. Total size of the backup in bytes.
int|string
setTotalSizeBytes
Output only. Total size of the backup in bytes.
var
int|string
$this
getExpireTime
Output only. The time when the backup will expire.
hasExpireTime
clearExpireTime
setExpireTime
Output only. The time when the backup will expire.
$this
getEngineVersion
Output only. redis-7.2, valkey-7.5
string
setEngineVersion
Output only. redis-7.2, valkey-7.5
var
string
$this
getBackupFiles
Output only. List of backup files of the backup.
setBackupFiles
Output only. List of backup files of the backup.
$this
getNodeType
Output only. Node type of the cluster.
int
setNodeType
Output only. Node type of the cluster.
var
int
$this
getReplicaCount
Output only. Number of replicas for the cluster.
int
setReplicaCount
Output only. Number of replicas for the cluster.
var
int
$this
getShardCount
Output only. Number of shards for the cluster.
int
setShardCount
Output only. Number of shards for the cluster.
var
int
$this
getBackupType
Output only. Type of the backup.
int
setBackupType
Output only. Type of the backup.
var
int
$this
getState
Output only. State of the backup.
int
setState
Output only. State of the backup.
var
int
$this
getEncryptionInfo
Output only. Encryption information of the backup.
hasEncryptionInfo
clearEncryptionInfo
setEncryptionInfo
Output only. Encryption information of the backup.
$this
getUid
Output only. System assigned unique identifier of the backup.
string
setUid
Output only. System assigned unique identifier of the backup.
var
string
$this