Google Cloud Backup Dr V1 Client - Class Entry (0.4.0)

Reference documentation and code samples for the Google Cloud Backup Dr V1 Client class Entry.

A key/value pair to be used for storing metadata.

Generated from protobuf message google.cloud.backupdr.v1.Entry

Namespace

Google \ Cloud \ BackupDR \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ key string

Optional. Key for the metadata entry.

↳ value string

Optional. Value for the metadata entry. These are free-form strings, and only have meaning as interpreted by the image running in the instance. The only restriction placed on values is that their size must be less than or equal to 262144 bytes (256 KiB).

getKey

Optional. Key for the metadata entry.

Returns
Type Description
string

hasKey

clearKey

setKey

Optional. Key for the metadata entry.

Parameter
Name Description
var string
Returns
Type Description
$this

getValue

Optional. Value for the metadata entry. These are free-form strings, and only have meaning as interpreted by the image running in the instance. The only restriction placed on values is that their size must be less than or equal to 262144 bytes (256 KiB).

Returns
Type Description
string

hasValue

clearValue

setValue

Optional. Value for the metadata entry. These are free-form strings, and only have meaning as interpreted by the image running in the instance. The only restriction placed on values is that their size must be less than or equal to 262144 bytes (256 KiB).

Parameter
Name Description
var string
Returns
Type Description
$this