Class Metadata

Metadata(mapping=None, *, ignore_unknown_fields=False, **kwargs)

A metadata key/value entry.

Attributes

NameDescription
fingerprint str
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 412 conditionNotMet. To see the latest fingerprint, make a get() request to retrieve the resource. This field is a member of `oneof`_ ``_fingerprint``.
items Sequence[google.cloud.compute_v1.types.Items]
Array of key/value pairs. The total size of all keys and values must be less than 512 KB.
kind str
[Output Only] Type of the resource. Always compute#metadata for metadata. This field is a member of `oneof`_ ``_kind``.

Inheritance

builtins.object > proto.message.Message > Metadata