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 |
getType
Type of the event.
Generated from protobuf field string type = 3;
Returns | |
---|---|
Type | Description |
string |
setType
Type of the event.
Generated from protobuf field string type = 3;
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getDescription
Description of the event.
Generated from protobuf field string description = 1;
Returns | |
---|---|
Type | Description |
string |
setDescription
Description of the event.
Generated from protobuf field string description = 1;
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getEventTime
The time this event occurred.
Generated from protobuf field .google.protobuf.Timestamp event_time = 2;
Returns | |
---|---|
Type | Description |
Google\Protobuf\Timestamp|null |
hasEventTime
clearEventTime
setEventTime
The time this event occurred.
Generated from protobuf field .google.protobuf.Timestamp event_time = 2;
Parameter | |
---|---|
Name | Description |
var |
Google\Protobuf\Timestamp
|
Returns | |
---|---|
Type | Description |
$this |
getTaskExecution
Task Execution
Generated from protobuf field .google.cloud.batch.v1.TaskExecution task_execution = 4;
Returns | |
---|---|
Type | Description |
Google\Cloud\Batch\V1\TaskExecution|null |
hasTaskExecution
clearTaskExecution
setTaskExecution
Task Execution
Generated from protobuf field .google.cloud.batch.v1.TaskExecution task_execution = 4;
Parameter | |
---|---|
Name | Description |
var |
Google\Cloud\Batch\V1\TaskExecution
|
Returns | |
---|---|
Type | Description |
$this |