Class SearchResultItem (0.1.6)

SearchResultItem(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Search result contains asset name and corresponding time ranges.

Attributes

Name Description
asset str
The resource name of the asset. Form: 'projects/{project_number}/locations/{location_id}/corpora/{corpus_id}/assets/{asset_id}'
segments MutableSequence[google.cloud.visionai_v1alpha1.types.Partition.TemporalPartition]
The matched asset segments. Deprecated: please use singular segment field.
segment google.cloud.visionai_v1alpha1.types.Partition.TemporalPartition
The matched asset segment.
requested_annotations MutableSequence[google.cloud.visionai_v1alpha1.types.Annotation]
Search result annotations specified by result_annotation_keys in search request.
annotation_matching_results MutableSequence[google.cloud.visionai_v1alpha1.types.AnnotationMatchingResult]
Criteria or facet-selection based annotation matching results associated to this search result item. Only contains results for criteria or facet_selections with fetch_matched_annotations=true.