A metadata key/value entry.
JSON representation |
---|
{ "kind": string, "fingerprint": string, "items": [ { "key": string, "value": string } ] } |
Fields | |
---|---|
kind |
[Output Only] Type of the resource. Always
for metadata. |
fingerprint |
Specifies a fingerprint for this request, which is essentially a hash of the metadata's contents and used for optimistic locking. The fingerprint is initially generated by Compute Engine and changes after every request to modify or update metadata. You must always provide an up-to-date fingerprint hash in order to update or change metadata, otherwise the request will fail with error
. To see the latest fingerprint, make a
request to retrieve the resource. A base64-encoded string. |
items[] |
Array of key/value pairs. The total size of all keys and values must be less than 512 KB. |
items[]. |
Key for the metadata entry. Keys must conform to the following regexp:
, and be less than 128 bytes in length. This is reflected as part of a URL in the metadata server. Additionally, to avoid ambiguity, keys must not conflict with any other metadata keys for the project. |
items[]. |
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). |