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

JSON template to produce a JSON-style HMAC Key metadata resource.

Attributes

  • accessId (type: String.t, default: nil) - The ID of the HMAC Key.
  • etag (type: String.t, default: nil) - HTTP 1.1 Entity tag for the HMAC key.
  • id (type: String.t, default: nil) - The ID of the HMAC key, including the Project ID and the Access ID.
  • kind (type: String.t, default: storage#hmacKeyMetadata) - The kind of item this is. For HMAC Key metadata, this is always storage#hmacKeyMetadata.
  • projectId (type: String.t, default: nil) - Project ID owning the service account to which the key authenticates.
  • selfLink (type: String.t, default: nil) - The link to this resource.
  • serviceAccountEmail (type: String.t, default: nil) - The email address of the key's associated service account.
  • state (type: String.t, default: nil) - The state of the key. Can be one of ACTIVE, INACTIVE, or DELETED.
  • timeCreated (type: DateTime.t, default: nil) - The creation time of the HMAC key in RFC 3339 format.
  • updated (type: DateTime.t, default: nil) - The last modification time of the HMAC key metadata in RFC 3339 format.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.Storage.V1.Model.HmacKeyMetadata{
  accessId: String.t() | nil,
  etag: String.t() | nil,
  id: String.t() | nil,
  kind: String.t() | nil,
  projectId: String.t() | nil,
  selfLink: String.t() | nil,
  serviceAccountEmail: String.t() | nil,
  state: String.t() | nil,
  timeCreated: DateTime.t() | nil,
  updated: DateTime.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.