GoogleApi.WorkloadManager.V1.Model.Command (google_api_workload_manager v0.12.0)

View Source
  • Command specifies the type of command to execute.

Attributes

  • agentCommand (type: GoogleApi.WorkloadManager.V1.Model.AgentCommand.t, default: nil) - AgentCommand specifies a one-time executable program for the agent to run.
  • shellCommand (type: GoogleApi.WorkloadManager.V1.Model.ShellCommand.t, default: nil) - ShellCommand is invoked via the agent's command line executor.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() :: %GoogleApi.WorkloadManager.V1.Model.Command{
  agentCommand: GoogleApi.WorkloadManager.V1.Model.AgentCommand.t() | nil,
  shellCommand: GoogleApi.WorkloadManager.V1.Model.ShellCommand.t() | nil
}

Functions

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.