Reference documentation and code samples for the Google Cloud Memorystore V1 Client class BackupCollection.
BackupCollection of an instance.
Generated from protobuf messagegoogle.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.
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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Google Cloud Memorystore V1 Client - Class BackupCollection (0.4.2)\n\nVersion latestkeyboard_arrow_down\n\n- [0.4.2 (latest)](/php/docs/reference/cloud-memorystore/latest/V1.BackupCollection)\n- [0.4.1](/php/docs/reference/cloud-memorystore/0.4.1/V1.BackupCollection)\n- [0.3.0](/php/docs/reference/cloud-memorystore/0.3.0/V1.BackupCollection)\n- [0.2.0](/php/docs/reference/cloud-memorystore/0.2.0/V1.BackupCollection)\n- [0.1.1](/php/docs/reference/cloud-memorystore/0.1.1/V1.BackupCollection) \nReference documentation and code samples for the Google Cloud Memorystore V1 Client class BackupCollection.\n\nBackupCollection of an instance.\n\nGenerated from protobuf message `google.cloud.memorystore.v1.BackupCollection`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ Memorystore \\\\ V1\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getName\n\nIdentifier. Full resource path of the backup collection.\n\n### setName\n\nIdentifier. Full resource path of the backup collection.\n\n### getInstanceUid\n\nOutput only. The instance uid of the backup collection.\n\n### setInstanceUid\n\nOutput only. The instance uid of the backup collection.\n\n### getInstance\n\nOutput only. The full resource path of the instance the backup collection\nbelongs to. Example:\nprojects/{project}/locations/{location}/instances/{instance}\n\n### setInstance\n\nOutput only. The full resource path of the instance the backup collection\nbelongs to. Example:\nprojects/{project}/locations/{location}/instances/{instance}\n\n### getKmsKey\n\nOutput only. The KMS key used to encrypt the backups under this backup\ncollection.\n\n### setKmsKey\n\nOutput only. The KMS key used to encrypt the backups under this backup\ncollection.\n\n### getUid\n\nOutput only. System assigned unique identifier of the backup collection.\n\n### setUid\n\nOutput only. System assigned unique identifier of the backup collection.\n\n### getCreateTime\n\nOutput only. The time when the backup collection was created.\n\n### hasCreateTime\n\n### clearCreateTime\n\n### setCreateTime\n\nOutput only. The time when the backup collection was created."]]