Google Cloud Orchestration Airflow V1 Client - Class OperationMetadata (1.4.2)

Reference documentation and code samples for the Google Cloud Orchestration Airflow V1 Client class OperationMetadata.

Metadata describing an operation.

Generated from protobuf message google.cloud.orchestration.airflow.service.v1.OperationMetadata

Namespace

Google \ Cloud \ Orchestration \ Airflow \ Service \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ state int

Output only. The current operation state.

↳ operation_type int

Output only. The type of operation being performed.

↳ resource string

Output only. The resource being operated on, as a relative resource name.

↳ resource_uuid string

Output only. The UUID of the resource being operated on.

↳ create_time Google\Protobuf\Timestamp

Output only. The time the operation was submitted to the server.

↳ end_time Google\Protobuf\Timestamp

Output only. The time when the operation terminated, regardless of its success. This field is unset if the operation is still ongoing.

getState

Output only. The current operation state.

Returns
TypeDescription
int

setState

Output only. The current operation state.

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getOperationType

Output only. The type of operation being performed.

Returns
TypeDescription
int

setOperationType

Output only. The type of operation being performed.

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getResource

Output only. The resource being operated on, as a relative resource name.

Returns
TypeDescription
string

setResource

Output only. The resource being operated on, as a relative resource name.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getResourceUuid

Output only. The UUID of the resource being operated on.

Returns
TypeDescription
string

setResourceUuid

Output only. The UUID of the resource being operated on.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getCreateTime

Output only. The time the operation was submitted to the server.

Returns
TypeDescription
Google\Protobuf\Timestamp|null

hasCreateTime

clearCreateTime

setCreateTime

Output only. The time the operation was submitted to the server.

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

getEndTime

Output only. The time when the operation terminated, regardless of its success. This field is unset if the operation is still ongoing.

Returns
TypeDescription
Google\Protobuf\Timestamp|null

hasEndTime

clearEndTime

setEndTime

Output only. The time when the operation terminated, regardless of its success. This field is unset if the operation is still ongoing.

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