Reference documentation and code samples for the Batch V1 API class Google::Cloud::Batch::V1::TaskStatus.
Status of a task
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#state
def state() -> ::Google::Cloud::Batch::V1::TaskStatus::State
Returns
- (::Google::Cloud::Batch::V1::TaskStatus::State) — Task state
#state=
def state=(value) -> ::Google::Cloud::Batch::V1::TaskStatus::State
Parameter
- value (::Google::Cloud::Batch::V1::TaskStatus::State) — Task state
Returns
- (::Google::Cloud::Batch::V1::TaskStatus::State) — Task state
#status_events
def status_events() -> ::Array<::Google::Cloud::Batch::V1::StatusEvent>
Returns
- (::Array<::Google::Cloud::Batch::V1::StatusEvent>) — Detailed info about why the state is reached.
#status_events=
def status_events=(value) -> ::Array<::Google::Cloud::Batch::V1::StatusEvent>
Parameter
- value (::Array<::Google::Cloud::Batch::V1::StatusEvent>) — Detailed info about why the state is reached.
Returns
- (::Array<::Google::Cloud::Batch::V1::StatusEvent>) — Detailed info about why the state is reached.