Vertex AI V1 API - Class Google::Cloud::AIPlatform::V1::DataItemView (v0.31.0)

Reference documentation and code samples for the Vertex AI V1 API class Google::Cloud::AIPlatform::V1::DataItemView.

A container for a single DataItem and Annotations on it.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#annotations

def annotations() -> ::Array<::Google::Cloud::AIPlatform::V1::Annotation>
Returns
  • (::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.

#annotations=

def annotations=(value) -> ::Array<::Google::Cloud::AIPlatform::V1::Annotation>
Parameter
  • value (::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.
Returns
  • (::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.

#data_item

def data_item() -> ::Google::Cloud::AIPlatform::V1::DataItem
Returns

#data_item=

def data_item=(value) -> ::Google::Cloud::AIPlatform::V1::DataItem
Parameter
Returns

#has_truncated_annotations

def has_truncated_annotations() -> ::Boolean
Returns
  • (::Boolean) — 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.

#has_truncated_annotations=

def has_truncated_annotations=(value) -> ::Boolean
Parameter
  • value (::Boolean) — 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
  • (::Boolean) — 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.