Google Cloud Data Catalog Lineage V1 Client - Class OperationMetadata (1.0.0)

Reference documentation and code samples for the Google Cloud Data Catalog Lineage V1 Client class OperationMetadata.

Metadata describing the operation.

Generated from protobuf message google.cloud.datacatalog.lineage.v1.OperationMetadata

Namespace

Google \ Cloud \ DataCatalog \ Lineage \ V1

Methods

__construct

Constructor.

Parameters
Name Description
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 the operation being performed.

↳ resource string

Output only. The relative name of the resource being operated on.

↳ resource_uuid string

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

↳ create_time Google\Protobuf\Timestamp

Output only. The timestamp of the operation submission to the server.

↳ end_time Google\Protobuf\Timestamp

Output only. The timestamp of the operation termination, regardless of its success. This field is unset if the operation is still ongoing.

getState

Output only. The current operation state.

Returns
Type Description
int

setState

Output only. The current operation state.

Parameter
Name Description
var int
Returns
Type Description
$this

getOperationType

Output only. The type of the operation being performed.

Returns
Type Description
int

setOperationType

Output only. The type of the operation being performed.

Parameter
Name Description
var int
Returns
Type Description
$this

getResource

Output only. The relative name of the resource being operated on.

Returns
Type Description
string

setResource

Output only. The relative name of the resource being operated on.

Parameter
Name Description
var string
Returns
Type Description
$this

getResourceUuid

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

Returns
Type Description
string

setResourceUuid

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

Parameter
Name Description
var string
Returns
Type Description
$this

getCreateTime

Output only. The timestamp of the operation submission to the server.

Returns
Type Description
Google\Protobuf\Timestamp|null

hasCreateTime

clearCreateTime

setCreateTime

Output only. The timestamp of the operation submission to the server.

Parameter
Name Description
var Google\Protobuf\Timestamp
Returns
Type Description
$this

getEndTime

Output only. The timestamp of the operation termination, regardless of its success. This field is unset if the operation is still ongoing.

Returns
Type Description
Google\Protobuf\Timestamp|null

hasEndTime

clearEndTime

setEndTime

Output only. The timestamp of the operation termination, regardless of its success. This field is unset if the operation is still ongoing.

Parameter
Name Description
var Google\Protobuf\Timestamp
Returns
Type Description
$this