Reference documentation and code samples for the Batch V1 API class Google::Cloud::Batch::V1::StatusEvent.
Status event.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#description
def description() -> ::String
Returns
- (::String) — Description of the event.
#description=
def description=(value) -> ::String
Parameter
- value (::String) — Description of the event.
Returns
- (::String) — Description of the event.
#event_time
def event_time() -> ::Google::Protobuf::Timestamp
Returns
- (::Google::Protobuf::Timestamp) — The time this event occurred.
#event_time=
def event_time=(value) -> ::Google::Protobuf::Timestamp
Parameter
- value (::Google::Protobuf::Timestamp) — The time this event occurred.
Returns
- (::Google::Protobuf::Timestamp) — The time this event occurred.
#task_execution
def task_execution() -> ::Google::Cloud::Batch::V1::TaskExecution
Returns
- (::Google::Cloud::Batch::V1::TaskExecution) — Task Execution. This field is only defined for task-level status events where the task fails.
#task_execution=
def task_execution=(value) -> ::Google::Cloud::Batch::V1::TaskExecution
Parameter
- value (::Google::Cloud::Batch::V1::TaskExecution) — Task Execution. This field is only defined for task-level status events where the task fails.
Returns
- (::Google::Cloud::Batch::V1::TaskExecution) — Task Execution. This field is only defined for task-level status events where the task fails.
#task_state
def task_state() -> ::Google::Cloud::Batch::V1::TaskStatus::State
Returns
- (::Google::Cloud::Batch::V1::TaskStatus::State) — Task State. This field is only defined for task-level status events.
#task_state=
def task_state=(value) -> ::Google::Cloud::Batch::V1::TaskStatus::State
Parameter
- value (::Google::Cloud::Batch::V1::TaskStatus::State) — Task State. This field is only defined for task-level status events.
Returns
- (::Google::Cloud::Batch::V1::TaskStatus::State) — Task State. This field is only defined for task-level status events.
#type
def type() -> ::String
Returns
- (::String) — Type of the event.
#type=
def type=(value) -> ::String
Parameter
- value (::String) — Type of the event.
Returns
- (::String) — Type of the event.