Reference documentation and code samples for the Batch V1 API class Google::Cloud::Batch::V1::JobNotification::Message.
Message details. Describe the attribute that a message should have. Without specified message attributes, no message will be sent by default.
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
- (::Google::Cloud::Batch::V1::JobStatus::State) — The new job state.
#new_job_state=
def new_job_state=(value) -> ::Google::Cloud::Batch::V1::JobStatus::State
Parameter
- value (::Google::Cloud::Batch::V1::JobStatus::State) — The new job state.
Returns
- (::Google::Cloud::Batch::V1::JobStatus::State) — The new job state.
#new_task_state
def new_task_state() -> ::Google::Cloud::Batch::V1::TaskStatus::State
Returns
- (::Google::Cloud::Batch::V1::TaskStatus::State) — The new task state.
#new_task_state=
def new_task_state=(value) -> ::Google::Cloud::Batch::V1::TaskStatus::State
Parameter
- value (::Google::Cloud::Batch::V1::TaskStatus::State) — The new task state.
Returns
- (::Google::Cloud::Batch::V1::TaskStatus::State) — The new task state.
#type
def type() -> ::Google::Cloud::Batch::V1::JobNotification::Type
Returns
- (::Google::Cloud::Batch::V1::JobNotification::Type) — The message type.
#type=
def type=(value) -> ::Google::Cloud::Batch::V1::JobNotification::Type
Parameter
- value (::Google::Cloud::Batch::V1::JobNotification::Type) — The message type.
Returns
- (::Google::Cloud::Batch::V1::JobNotification::Type) — The message type.