Reference documentation and code samples for the Vision AI V1 API class Google::Cloud::VisionAI::V1::UserSpecifiedAnnotation.
Annotation provided by users.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#key
def key() -> ::String
Returns
- (::String) — Required. Key of the annotation. The key must be set with type by CreateDataSchema.
#key=
def key=(value) -> ::String
Parameter
- value (::String) — Required. Key of the annotation. The key must be set with type by CreateDataSchema.
Returns
- (::String) — Required. Key of the annotation. The key must be set with type by CreateDataSchema.
#partition
def partition() -> ::Google::Cloud::VisionAI::V1::Partition
Returns
- (::Google::Cloud::VisionAI::V1::Partition) — Partition information in time and space for the sub-asset level annotation.
#partition=
def partition=(value) -> ::Google::Cloud::VisionAI::V1::Partition
Parameter
- value (::Google::Cloud::VisionAI::V1::Partition) — Partition information in time and space for the sub-asset level annotation.
Returns
- (::Google::Cloud::VisionAI::V1::Partition) — Partition information in time and space for the sub-asset level annotation.
#value
def value() -> ::Google::Cloud::VisionAI::V1::AnnotationValue
Returns
- (::Google::Cloud::VisionAI::V1::AnnotationValue) — Value of the annotation. The value must be able to convert to the type according to the data schema.
#value=
def value=(value) -> ::Google::Cloud::VisionAI::V1::AnnotationValue
Parameter
- value (::Google::Cloud::VisionAI::V1::AnnotationValue) — Value of the annotation. The value must be able to convert to the type according to the data schema.
Returns
- (::Google::Cloud::VisionAI::V1::AnnotationValue) — Value of the annotation. The value must be able to convert to the type according to the data schema.