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 \ V1Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
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 | |
---|---|
Type | Description |
string |
setArtifact
Required. The relative resource name of the Artifact in the Event.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getExecution
Output only. The relative resource name of the Execution in the Event.
Returns | |
---|---|
Type | Description |
string |
setExecution
Output only. The relative resource name of the Execution in the Event.
Parameter | |
---|---|
Name | Description |
var |
string
|
Returns | |
---|---|
Type | Description |
$this |
getEventTime
Output only. Time the Event occurred.
Returns | |
---|---|
Type | Description |
Google\Protobuf\Timestamp|null |
hasEventTime
clearEventTime
setEventTime
Output only. Time the Event occurred.
Parameter | |
---|---|
Name | Description |
var |
Google\Protobuf\Timestamp
|
Returns | |
---|---|
Type | Description |
$this |
getType
Required. The type of the Event.
Returns | |
---|---|
Type | Description |
int |
setType
Required. The type of the Event.
Parameter | |
---|---|
Name | Description |
var |
int
|
Returns | |
---|---|
Type | Description |
$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 | |
---|---|
Type | Description |
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 | |
---|---|
Name | Description |
var |
array|Google\Protobuf\Internal\MapField
|
Returns | |
---|---|
Type | Description |
$this |