View Source GoogleApi.Storage.V1.Model.HmacKey (google_api_storage v0.45.0)

JSON template to produce a JSON-style HMAC Key resource for Create responses.

Attributes

  • kind (type: String.t, default: storage#hmacKey) - The kind of item this is. For HMAC keys, this is always storage#hmacKey.
  • metadata (type: GoogleApi.Storage.V1.Model.HmacKeyMetadata.t, default: nil) - Key metadata.
  • secret (type: String.t, default: nil) - HMAC secret key material.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.Storage.V1.Model.HmacKey{
  kind: String.t() | nil,
  metadata: GoogleApi.Storage.V1.Model.HmacKeyMetadata.t() | nil,
  secret: String.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.