Google Cloud Ai Platform V1 Client - Class DataItemView (1.13.0)

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

A container for a single DataItem and Annotations on it.

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

Namespace

Google \ Cloud \ AIPlatform \ V1

Methods

__construct

Constructor.

Parameters
Name Description
data array

Optional. Data for populating the Message object.

↳ data_item DataItem

The DataItem.

↳ annotations array<Annotation>

The Annotations on the DataItem. If too many Annotations should be returned for the DataItem, this field will be truncated per annotations_limit in request. If it was, then the has_truncated_annotations will be set to true.

↳ has_truncated_annotations bool

True if and only if the Annotations field has been truncated. It happens if more Annotations for this DataItem met the request's annotation_filter than are allowed to be returned by annotations_limit. Note that if Annotations field is not being returned due to field mask, then this field will not be set to true no matter how many Annotations are there.

getDataItem

The DataItem.

Returns
Type Description
DataItem|null

hasDataItem

clearDataItem

setDataItem

The DataItem.

Parameter
Name Description
var DataItem
Returns
Type Description
$this

getAnnotations

The Annotations on the DataItem. If too many Annotations should be returned for the DataItem, this field will be truncated per annotations_limit in request. If it was, then the has_truncated_annotations will be set to true.

Returns
Type Description
Google\Protobuf\Internal\RepeatedField

setAnnotations

The Annotations on the DataItem. If too many Annotations should be returned for the DataItem, this field will be truncated per annotations_limit in request. If it was, then the has_truncated_annotations will be set to true.

Parameter
Name Description
var array<Annotation>
Returns
Type Description
$this

getHasTruncatedAnnotations

True if and only if the Annotations field has been truncated. It happens if more Annotations for this DataItem met the request's annotation_filter than are allowed to be returned by annotations_limit.

Note that if Annotations field is not being returned due to field mask, then this field will not be set to true no matter how many Annotations are there.

Returns
Type Description
bool

setHasTruncatedAnnotations

True if and only if the Annotations field has been truncated. It happens if more Annotations for this DataItem met the request's annotation_filter than are allowed to be returned by annotations_limit.

Note that if Annotations field is not being returned due to field mask, then this field will not be set to true no matter how many Annotations are there.

Parameter
Name Description
var bool
Returns
Type Description
$this