Google Cloud Batch V1 Client - Class StatusEvent (0.2.2)

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
NameDescription
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
TypeDescription
string

setType

Type of the event.

Generated from protobuf field string type = 3;

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getDescription

Description of the event.

Generated from protobuf field string description = 1;

Returns
TypeDescription
string

setDescription

Description of the event.

Generated from protobuf field string description = 1;

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getEventTime

The time this event occurred.

Generated from protobuf field .google.protobuf.Timestamp event_time = 2;

Returns
TypeDescription
Google\Protobuf\Timestamp|null

hasEventTime

clearEventTime

setEventTime

The time this event occurred.

Generated from protobuf field .google.protobuf.Timestamp event_time = 2;

Parameter
NameDescription
var Google\Protobuf\Timestamp
Returns
TypeDescription
$this

getTaskExecution

Task Execution

Generated from protobuf field .google.cloud.batch.v1.TaskExecution task_execution = 4;

Returns
TypeDescription
Google\Cloud\Batch\V1\TaskExecution|null

hasTaskExecution

clearTaskExecution

setTaskExecution

Task Execution

Generated from protobuf field .google.cloud.batch.v1.TaskExecution task_execution = 4;

Parameter
NameDescription
var Google\Cloud\Batch\V1\TaskExecution
Returns
TypeDescription
$this