Google Cloud Data Catalog Lineage V1 Client - Class Run (0.1.3)

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

A lineage run represents an execution of a process that creates lineage events.

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

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ name string

Immutable. The resource name of the run. Format: projects/{project}/locations/{location}/processes/{process}/runs/{run}. Can be specified or auto-assigned. {run} must be not longer than 200 characters and only contain characters in a set: a-zA-Z0-9_-:.

↳ display_name string

Optional. A human-readable name you can set to display in a user interface. Must be not longer than 1024 characters and only contain UTF-8 letters or numbers, spaces or characters like _-:&.

↳ attributes array|Google\Protobuf\Internal\MapField

Optional. The attributes of the run. Can be anything, for example, a string with an SQL request. Up to 100 attributes are allowed.

↳ start_time Google\Protobuf\Timestamp

Required. The timestamp of the start of the run.

↳ end_time Google\Protobuf\Timestamp

Optional. The timestamp of the end of the run.

↳ state int

Required. The state of the run.

getName

Immutable. The resource name of the run. Format: projects/{project}/locations/{location}/processes/{process}/runs/{run}.

Can be specified or auto-assigned. {run} must be not longer than 200 characters and only contain characters in a set: a-zA-Z0-9_-:.

Returns
TypeDescription
string

setName

Immutable. The resource name of the run. Format: projects/{project}/locations/{location}/processes/{process}/runs/{run}.

Can be specified or auto-assigned. {run} must be not longer than 200 characters and only contain characters in a set: a-zA-Z0-9_-:.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getDisplayName

Optional. A human-readable name you can set to display in a user interface.

Must be not longer than 1024 characters and only contain UTF-8 letters or numbers, spaces or characters like _-:&.

Returns
TypeDescription
string

setDisplayName

Optional. A human-readable name you can set to display in a user interface.

Must be not longer than 1024 characters and only contain UTF-8 letters or numbers, spaces or characters like _-:&.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getAttributes

Optional. The attributes of the run. Can be anything, for example, a string with an SQL request. Up to 100 attributes are allowed.

Returns
TypeDescription
Google\Protobuf\Internal\MapField

setAttributes

Optional. The attributes of the run. Can be anything, for example, a string with an SQL request. Up to 100 attributes are allowed.

Parameter
NameDescription
var array|Google\Protobuf\Internal\MapField
Returns
TypeDescription
$this

getStartTime

Required. The timestamp of the start of the run.

Returns
TypeDescription
Google\Protobuf\Timestamp|null

hasStartTime

clearStartTime

setStartTime

Required. The timestamp of the start of the run.

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

getEndTime

Optional. The timestamp of the end of the run.

Returns
TypeDescription
Google\Protobuf\Timestamp|null

hasEndTime

clearEndTime

setEndTime

Optional. The timestamp of the end of the run.

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

getState

Required. The state of the run.

Returns
TypeDescription
int

setState

Required. The state of the run.

Parameter
NameDescription
var int
Returns
TypeDescription
$this