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).
[[["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 Backup Dr V1 Client - Class Entry (0.7.0)\n\nVersion latestkeyboard_arrow_down\n\n- [0.7.0 (latest)](/php/docs/reference/cloud-backupdr/latest/V1.Entry)\n- [0.6.2](/php/docs/reference/cloud-backupdr/0.6.2/V1.Entry)\n- [0.5.1](/php/docs/reference/cloud-backupdr/0.5.1/V1.Entry)\n- [0.4.2](/php/docs/reference/cloud-backupdr/0.4.2/V1.Entry)\n- [0.3.0](/php/docs/reference/cloud-backupdr/0.3.0/V1.Entry)\n- [0.2.0](/php/docs/reference/cloud-backupdr/0.2.0/V1.Entry)\n- [0.1.0](/php/docs/reference/cloud-backupdr/0.1.0/V1.Entry) \nReference documentation and code samples for the Google Cloud Backup Dr V1 Client class Entry.\n\nA key/value pair to be used for storing metadata.\n\nGenerated from protobuf message `google.cloud.backupdr.v1.Entry`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ BackupDR \\\\ V1\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getKey\n\nOptional. Key for the metadata entry.\n\n### hasKey\n\n### clearKey\n\n### setKey\n\nOptional. Key for the metadata entry.\n\n### getValue\n\nOptional. Value for the metadata entry. These are free-form strings, and\nonly have meaning as interpreted by the image running in the instance. The\nonly restriction placed on values is that their size must be less than\nor equal to 262144 bytes (256 KiB).\n\n### hasValue\n\n### clearValue\n\n### setValue\n\nOptional. Value for the metadata entry. These are free-form strings, and\nonly have meaning as interpreted by the image running in the instance. The\nonly restriction placed on values is that their size must be less than\nor equal to 262144 bytes (256 KiB)."]]