Batch V1 API - Class Google::Cloud::Batch::V1::JobNotification::Message (v0.19.0)

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
Returns

#new_job_state=

def new_job_state=(value) -> ::Google::Cloud::Batch::V1::JobStatus::State
Parameter
Returns

#new_task_state

def new_task_state() -> ::Google::Cloud::Batch::V1::TaskStatus::State
Returns

#new_task_state=

def new_task_state=(value) -> ::Google::Cloud::Batch::V1::TaskStatus::State
Parameter
Returns

#type

def type() -> ::Google::Cloud::Batch::V1::JobNotification::Type
Returns

#type=

def type=(value) -> ::Google::Cloud::Batch::V1::JobNotification::Type
Parameter
Returns