Google Cloud Ai Platform V1 Client - Class Event (0.22.0)

Reference documentation and code samples for the Google Cloud Ai Platform V1 Client class Event.

An edge describing the relationship between an Artifact and an Execution in a lineage graph.

Generated from protobuf message google.cloud.aiplatform.v1.Event

Namespace

Google \ Cloud \ AIPlatform \ V1

Methods

__construct

Constructor.

Parameters
NameDescription
data array

Optional. Data for populating the Message object.

↳ artifact string

Required. The relative resource name of the Artifact in the Event.

↳ execution string

Output only. The relative resource name of the Execution in the Event.

↳ event_time Google\Protobuf\Timestamp

Output only. Time the Event occurred.

↳ type int

Required. The type of the Event.

↳ labels array|Google\Protobuf\Internal\MapField

The labels with user-defined metadata to annotate Events. Label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. No more than 64 user labels can be associated with one Event (System labels are excluded). See https://goo.gl/xmQnxf for more information and examples of labels. System reserved label keys are prefixed with "aiplatform.googleapis.com/" and are immutable.

getArtifact

Required. The relative resource name of the Artifact in the Event.

Returns
TypeDescription
string

setArtifact

Required. The relative resource name of the Artifact in the Event.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getExecution

Output only. The relative resource name of the Execution in the Event.

Returns
TypeDescription
string

setExecution

Output only. The relative resource name of the Execution in the Event.

Parameter
NameDescription
var string
Returns
TypeDescription
$this

getEventTime

Output only. Time the Event occurred.

Returns
TypeDescription
Google\Protobuf\Timestamp|null

hasEventTime

clearEventTime

setEventTime

Output only. Time the Event occurred.

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

getType

Required. The type of the Event.

Returns
TypeDescription
int

setType

Required. The type of the Event.

Parameter
NameDescription
var int
Returns
TypeDescription
$this

getLabels

The labels with user-defined metadata to annotate Events.

Label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. No more than 64 user labels can be associated with one Event (System labels are excluded). See https://goo.gl/xmQnxf for more information and examples of labels. System reserved label keys are prefixed with "aiplatform.googleapis.com/" and are immutable.

Returns
TypeDescription
Google\Protobuf\Internal\MapField

setLabels

The labels with user-defined metadata to annotate Events.

Label keys and values can be no longer than 64 characters (Unicode codepoints), can only contain lowercase letters, numeric characters, underscores and dashes. International characters are allowed. No more than 64 user labels can be associated with one Event (System labels are excluded). See https://goo.gl/xmQnxf for more information and examples of labels. System reserved label keys are prefixed with "aiplatform.googleapis.com/" and are immutable.

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