Reference documentation and code samples for the Google Cloud Batch V1 Client class StatusEvent.
Status event.
Generated from protobuf message google.cloud.batch.v1.StatusEvent
Namespace
Google \ Cloud \ Batch \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ type
string
Type of the event.
↳ description
string
Description of the event.
↳ event_time
↳ task_execution
Google\Cloud\Batch\V1\TaskExecution
Task Execution. This field is only defined for task-level status events where the task fails.
↳ task_state
int
Task State. This field is only defined for task-level status events.
getType
Type of the event.
string
setType
Type of the event.
var
string
$this
getDescription
Description of the event.
string
setDescription
Description of the event.
var
string
$this
getEventTime
The time this event occurred.
hasEventTime
clearEventTime
setEventTime
The time this event occurred.
$this
getTaskExecution
Task Execution.
This field is only defined for task-level status events where the task fails.
hasTaskExecution
clearTaskExecution
setTaskExecution
Task Execution.
This field is only defined for task-level status events where the task fails.
$this
getTaskState
Task State.
This field is only defined for task-level status events.
int
setTaskState
Task State.
This field is only defined for task-level status events.
var
int
$this