Reference documentation and code samples for the Google Cloud Memorystore V1 Client class Backup.
Backup of an instance.
Generated from protobuf message google.cloud.memorystore.v1.Backup
Namespace
Google \ Cloud \ Memorystore \ 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 Instance UID] OR customer specified while backup instance. Example: 20240515123000_1234
↳ create_time
↳ instance
string
Output only. Instance resource path of this backup.
↳ instance_uid
string
Output only. Instance 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. valkey-7.5/valkey-8.0, etc.
↳ backup_files
↳ node_type
int
Output only. Node type of the instance.
↳ replica_count
int
Output only. Number of replicas for the instance.
↳ shard_count
int
Output only. Number of shards for the instance.
↳ backup_type
int
Output only. Type of the backup.
↳ state
int
Output only. State of the backup.
↳ 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 Instance UID] OR customer specified while backup instance. 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 Instance UID] OR customer specified while backup instance. 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
getInstance
Output only. Instance resource path of this backup.
string
setInstance
Output only. Instance resource path of this backup.
var
string
$this
getInstanceUid
Output only. Instance uid of this backup.
string
setInstanceUid
Output only. Instance 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. valkey-7.5/valkey-8.0, etc.
string
setEngineVersion
Output only. valkey-7.5/valkey-8.0, etc.
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 instance.
int
setNodeType
Output only. Node type of the instance.
var
int
$this
getReplicaCount
Output only. Number of replicas for the instance.
int
setReplicaCount
Output only. Number of replicas for the instance.
var
int
$this
getShardCount
Output only. Number of shards for the instance.
int
setShardCount
Output only. Number of shards for the instance.
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
getUid
Output only. System assigned unique identifier of the backup.
string
setUid
Output only. System assigned unique identifier of the backup.
var
string
$this