Reference documentation and code samples for the Vision AI V1 API class Google::Cloud::VisionAI::V1::AnnotationMatchingResult.
Stores the criteria-annotation matching results for each search result item.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#criteria
def criteria() -> ::Google::Cloud::VisionAI::V1::Criteria
Returns
- (::Google::Cloud::VisionAI::V1::Criteria) — The criteria used for matching. It can be an input search criteria or a criteria converted from a facet selection.
#criteria=
def criteria=(value) -> ::Google::Cloud::VisionAI::V1::Criteria
Parameter
- value (::Google::Cloud::VisionAI::V1::Criteria) — The criteria used for matching. It can be an input search criteria or a criteria converted from a facet selection.
Returns
- (::Google::Cloud::VisionAI::V1::Criteria) — The criteria used for matching. It can be an input search criteria or a criteria converted from a facet selection.
#matched_annotations
def matched_annotations() -> ::Array<::Google::Cloud::VisionAI::V1::Annotation>
Returns
- (::Array<::Google::Cloud::VisionAI::V1::Annotation>) — Matched annotations for the criteria.
#matched_annotations=
def matched_annotations=(value) -> ::Array<::Google::Cloud::VisionAI::V1::Annotation>
Parameter
- value (::Array<::Google::Cloud::VisionAI::V1::Annotation>) — Matched annotations for the criteria.
Returns
- (::Array<::Google::Cloud::VisionAI::V1::Annotation>) — Matched annotations for the criteria.
#status
def status() -> ::Google::Rpc::Status
Returns
- (::Google::Rpc::Status) — Status of the match result. Possible values: FAILED_PRECONDITION - the criteria is not eligible for match. OK - matching is performed.
#status=
def status=(value) -> ::Google::Rpc::Status
Parameter
- value (::Google::Rpc::Status) — Status of the match result. Possible values: FAILED_PRECONDITION - the criteria is not eligible for match. OK - matching is performed.
Returns
- (::Google::Rpc::Status) — Status of the match result. Possible values: FAILED_PRECONDITION - the criteria is not eligible for match. OK - matching is performed.