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
Methods
__construct
Constructor.
Parameters | |
---|---|
Name | Description |
data |
array
Optional. Data for populating the Message object. |
↳ data_item |
Google\Cloud\AIPlatform\V1\DataItem
The DataItem. |
↳ annotations |
array<Google\Cloud\AIPlatform\V1\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.
Generated from protobuf field .google.cloud.aiplatform.v1.DataItem data_item = 1;
Returns | |
---|---|
Type | Description |
Google\Cloud\AIPlatform\V1\DataItem|null |
hasDataItem
clearDataItem
setDataItem
The DataItem.
Generated from protobuf field .google.cloud.aiplatform.v1.DataItem data_item = 1;
Parameter | |
---|---|
Name | Description |
var |
Google\Cloud\AIPlatform\V1\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.
Generated from protobuf field repeated .google.cloud.aiplatform.v1.Annotation annotations = 2;
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.
Generated from protobuf field repeated .google.cloud.aiplatform.v1.Annotation annotations = 2;
Parameter | |
---|---|
Name | Description |
var |
array<Google\Cloud\AIPlatform\V1\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.
Generated from protobuf field bool has_truncated_annotations = 3;
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.
Generated from protobuf field bool has_truncated_annotations = 3;
Parameter | |
---|---|
Name | Description |
var |
bool
|
Returns | |
---|---|
Type | Description |
$this |