View Source GoogleApi.Batch.V1.Model.Message (google_api_batch v0.4.0)

Message details. Describe the conditions under which messages will be sent. If no attribute is defined, no message will be sent by default. One message should specify either the job or the task level attributes, but not both. For example, job level: JOB_STATE_CHANGED and/or a specified new_job_state; task level: TASK_STATE_CHANGED and/or a specified new_task_state.

Attributes

  • newJobState (type: String.t, default: nil) - The new job state.
  • newTaskState (type: String.t, default: nil) - The new task state.
  • type (type: String.t, default: nil) - The message type.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.Batch.V1.Model.Message{
  newJobState: String.t() | nil,
  newTaskState: String.t() | nil,
  type: String.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.