Reference documentation and code samples for the Batch V1 API class Google::Cloud::Batch::V1::JobNotification::Message.
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.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#new_job_state
def new_job_state() -> ::Google::Cloud::Batch::V1::JobStatus::State
- (::Google::Cloud::Batch::V1::JobStatus::State) — The new job state.
#new_job_state=
def new_job_state=(value) -> ::Google::Cloud::Batch::V1::JobStatus::State
- value (::Google::Cloud::Batch::V1::JobStatus::State) — The new job state.
- (::Google::Cloud::Batch::V1::JobStatus::State) — The new job state.
#new_task_state
def new_task_state() -> ::Google::Cloud::Batch::V1::TaskStatus::State
- (::Google::Cloud::Batch::V1::TaskStatus::State) — The new task state.
#new_task_state=
def new_task_state=(value) -> ::Google::Cloud::Batch::V1::TaskStatus::State
- value (::Google::Cloud::Batch::V1::TaskStatus::State) — The new task state.
- (::Google::Cloud::Batch::V1::TaskStatus::State) — The new task state.
#type
def type() -> ::Google::Cloud::Batch::V1::JobNotification::Type
- (::Google::Cloud::Batch::V1::JobNotification::Type) — The message type.
#type=
def type=(value) -> ::Google::Cloud::Batch::V1::JobNotification::Type
- value (::Google::Cloud::Batch::V1::JobNotification::Type) — The message type.
- (::Google::Cloud::Batch::V1::JobNotification::Type) — The message type.