google_api_run v0.6.0 GoogleApi.Run.V1.Model.Secret View Source

Cloud Run fully managed: not supported

Cloud Run on GKE: supported

Secret holds secret data of a certain type. The total bytes of the values in the Data field must be less than MaxSecretSize bytes.

Attributes

  • data (type: map(), default: nil) - Data contains the secret data. Each key must consist of alphanumeric characters, '-', '_' or '.'. The serialized form of the secret data is a base64 encoded string, representing the arbitrary (possibly non-string) data value here. Described in https://tools.ietf.org/html/rfc4648#section-4
  • metadata (type: GoogleApi.Run.V1.Model.ObjectMeta.t, default: nil) - Standard object's metadata. More info: https://git.k8s.io/community/contributors/devel/api-conventions.md#metadata
  • stringData (type: map(), default: nil) - stringData allows specifying non-binary secret data in string form. It is provided as a write-only convenience method. All keys and values are merged into the data field on write, overwriting any existing values. It is never output when reading from the API. +k8s:conversion-gen=false
  • type (type: String.t, default: nil) - Used to facilitate programmatic handling of secret data.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Link to this type

t()

View Source
t() :: %GoogleApi.Run.V1.Model.Secret{
  data: map(),
  metadata: GoogleApi.Run.V1.Model.ObjectMeta.t(),
  stringData: map(),
  type: String.t()
}

Link to this section Functions

Link to this function

decode(value, options)

View Source
decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.