Google Cloud Memorystore V1 Client - Class BackupCollection (0.4.1)

Reference documentation and code samples for the Google Cloud Memorystore V1 Client class BackupCollection.

BackupCollection of an instance.

Generated from protobuf message google.cloud.memorystore.v1.BackupCollection

Namespace

Google \ Cloud \ Memorystore \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ name string

Identifier. Full resource path of the backup collection.

↳ instance_uid string

Output only. The instance uid of the backup collection.

↳ instance string

Output only. The full resource path of the instance the backup collection belongs to. Example: projects/{project}/locations/{location}/instances/{instance}

↳ kms_key string

Output only. The KMS key used to encrypt the backups under this backup collection.

↳ uid string

Output only. System assigned unique identifier of the backup collection.

↳ create_time Google\Protobuf\Timestamp

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

getName

Identifier. Full resource path of the backup collection.

Returns
Type Description
string

setName

Identifier. Full resource path of the backup collection.

Parameter
Name Description
var string
Returns
Type Description
$this

getInstanceUid

Output only. The instance uid of the backup collection.

Returns
Type Description
string

setInstanceUid

Output only. The instance uid of the backup collection.

Parameter
Name Description
var string
Returns
Type Description
$this

getInstance

Output only. The full resource path of the instance the backup collection belongs to. Example: projects/{project}/locations/{location}/instances/{instance}

Returns
Type Description
string

setInstance

Output only. The full resource path of the instance the backup collection belongs to. Example: projects/{project}/locations/{location}/instances/{instance}

Parameter
Name Description
var string
Returns
Type Description
$this

getKmsKey

Output only. The KMS key used to encrypt the backups under this backup collection.

Returns
Type Description
string

setKmsKey

Output only. The KMS key used to encrypt the backups under this backup collection.

Parameter
Name Description
var string
Returns
Type Description
$this

getUid

Output only. System assigned unique identifier of the backup collection.

Returns
Type Description
string

setUid

Output only. System assigned unique identifier of the backup collection.

Parameter
Name Description
var string
Returns
Type Description
$this

getCreateTime

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

Returns
Type Description
Google\Protobuf\Timestamp|null

hasCreateTime

clearCreateTime

setCreateTime

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

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