Google Cloud Redis Cluster V1 Client - Class BackupFile (0.4.0)

Reference documentation and code samples for the Google Cloud Redis Cluster V1 Client class BackupFile.

Backup is consisted of multiple backup files.

Generated from protobuf message google.cloud.redis.cluster.v1.BackupFile

Namespace

Google \ Cloud \ Redis \ Cluster \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ file_name string

Output only. e.g:

↳ size_bytes int|string

Output only. Size of the backup file in bytes.

↳ create_time Google\Protobuf\Timestamp

Output only. The time when the backup file was created.

getFileName

Output only. e.g:

Returns
Type Description
string

setFileName

Output only. e.g:

Parameter
Name Description
var string
Returns
Type Description
$this

getSizeBytes

Output only. Size of the backup file in bytes.

Returns
Type Description
int|string

setSizeBytes

Output only. Size of the backup file in bytes.

Parameter
Name Description
var int|string
Returns
Type Description
$this

getCreateTime

Output only. The time when the backup file was created.

Returns
Type Description
Google\Protobuf\Timestamp|null

hasCreateTime

clearCreateTime

setCreateTime

Output only. The time when the backup file was created.

Parameter
Name Description
var Google\Protobuf\Timestamp
Returns
Type Description
$this