GoogleApi.Composer.V1.Model.UserWorkloadsSecret (google_api_composer v0.36.3)

View Source

User workloads Secret used by Airflow tasks that run with Kubernetes executor or KubernetesPodOperator.

Attributes

  • data (type: map(), default: nil) - Optional. The "data" field of Kubernetes Secret, organized in key-value pairs, which can contain sensitive values such as a password, a token, or a key. The values for all keys have to be base64-encoded strings. For details see: https://kubernetes.io/docs/concepts/configuration/secret/ Example: { "example": "ZXhhbXBsZV92YWx1ZQ==", "another-example": "YW5vdGhlcl9leGFtcGxlX3ZhbHVl" }
  • name (type: String.t, default: nil) - Identifier. The resource name of the Secret, in the form: "projects/{projectId}/locations/{locationId}/environments/{environmentId}/userWorkloadsSecrets/{userWorkloadsSecretId}"

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() :: %GoogleApi.Composer.V1.Model.UserWorkloadsSecret{
  data: map() | nil,
  name: String.t() | nil
}

Functions

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.