Class: Google::Cloud::Batch::V1::JobNotification::Message
- Inherits:
-
Object
- Object
- Google::Cloud::Batch::V1::JobNotification::Message
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/batch/v1/job.rb
Overview
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.
Instance Attribute Summary collapse
-
#new_job_state ⇒ ::Google::Cloud::Batch::V1::JobStatus::State
The new job state.
-
#new_task_state ⇒ ::Google::Cloud::Batch::V1::TaskStatus::State
The new task state.
-
#type ⇒ ::Google::Cloud::Batch::V1::JobNotification::Type
The message type.
Instance Attribute Details
#new_job_state ⇒ ::Google::Cloud::Batch::V1::JobStatus::State
Returns The new job state.
272 273 274 275 |
# File 'proto_docs/google/cloud/batch/v1/job.rb', line 272 class Message include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#new_task_state ⇒ ::Google::Cloud::Batch::V1::TaskStatus::State
Returns The new task state.
272 273 274 275 |
# File 'proto_docs/google/cloud/batch/v1/job.rb', line 272 class Message include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#type ⇒ ::Google::Cloud::Batch::V1::JobNotification::Type
Returns The message type.
272 273 274 275 |
# File 'proto_docs/google/cloud/batch/v1/job.rb', line 272 class Message include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |