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

A metadata key/value entry.

Attributes

  • 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.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

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

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.