GoogleApi.Compute.V1.Model.Metadata (google_api_compute v0.41.0) View Source

A metadata key/value entry.


  • fingerprint (type: String.t, default: nil) - 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.
  • items (type: list(GoogleApi.Compute.V1.Model.MetadataItems.t), default: nil) - Array of key/value pairs. The total size of all keys and values must be less than 512 KB.
  • kind (type: String.t, default: compute#metadata) - [Output Only] Type of the resource. Always compute#metadata for metadata.

Link to this section Summary


Unwrap a decoded JSON object into its complex fields.

Link to this section Types


t() :: %GoogleApi.Compute.V1.Model.Metadata{
  fingerprint: String.t() | nil,
  items: [GoogleApi.Compute.V1.Model.MetadataItems.t()] | nil,
  kind: String.t() | nil

Link to this section Functions


decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.