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
Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ type |
string
Type of the event. |
↳ description |
string
Description of the event. |
↳ event_time |
Google\Protobuf\Timestamp
The time this event occurred. |
↳ task_execution |
Google\Cloud\Batch\V1\TaskExecution
Task Execution |
↳ task_state |
int
Task State |
getType
Type of the event.
Returns | |
---|---|
Type | Description |
string |
setType
Type of the event.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getDescription
Description of the event.
Returns | |
---|---|
Type | Description |
string |
setDescription
Description of the event.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getEventTime
The time this event occurred.
Returns | |
---|---|
Type | Description |
Google\Protobuf\Timestamp|null |
hasEventTime
clearEventTime
setEventTime
The time this event occurred.
Parameter | |
---|---|
Name | Description |
var |
Google\Protobuf\Timestamp
|
Returns | |
---|---|
Type | Description |
$this |
getTaskExecution
Task Execution
Returns | |
---|---|
Type | Description |
Google\Cloud\Batch\V1\TaskExecution|null |
hasTaskExecution
clearTaskExecution
setTaskExecution
Task Execution
Parameter | |
---|---|
Name | Description |
var |
Google\Cloud\Batch\V1\TaskExecution
|
Returns | |
---|---|
Type | Description |
$this |
getTaskState
Task State
Returns | |
---|---|
Type | Description |
int |
setTaskState
Task State
Parameter | |
---|---|
Name | Description |
var |
int
|
Returns | |
---|---|
Type | Description |
$this |