View Source GoogleApi.Batch.V1.Model.AgentEnvironment (google_api_batch v0.4.2)

AgentEnvironment is the Environment representation between Agent and CLH communication. The environment is used in both task level and agent level.

Attributes

  • encryptedVariables (type: GoogleApi.Batch.V1.Model.AgentKMSEnvMap.t, default: nil) - An encrypted JSON dictionary where the key/value pairs correspond to environment variable names and their values.
  • secretVariables (type: map(), default: nil) - A map of environment variable names to Secret Manager secret names. The VM will access the named secrets to set the value of each environment variable.
  • variables (type: map(), default: nil) - A map of environment variable names to values.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.Batch.V1.Model.AgentEnvironment{
  encryptedVariables: GoogleApi.Batch.V1.Model.AgentKMSEnvMap.t() | nil,
  secretVariables: map() | nil,
  variables: map() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.