View Source GoogleApi.SecretManager.V1beta1.Model.SecretVersion (google_api_secret_manager v0.20.0)

A secret version resource in the Secret Manager API.

Attributes

  • createTime (type: DateTime.t, default: nil) - Output only. The time at which the SecretVersion was created.
  • destroyTime (type: DateTime.t, default: nil) - Output only. The time this SecretVersion was destroyed. Only present if state is DESTROYED.
  • name (type: String.t, default: nil) - Output only. The resource name of the SecretVersion in the format projects/*/secrets/*/versions/*. SecretVersion IDs in a Secret start at 1 and are incremented for each subsequent version of the secret.
  • state (type: String.t, default: nil) - Output only. The current state of the SecretVersion.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.SecretManager.V1beta1.Model.SecretVersion{
  createTime: DateTime.t() | nil,
  destroyTime: DateTime.t() | nil,
  name: String.t() | nil,
  state: String.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.