Vision AI v1 API - Class SearchHypernym (1.0.0-beta01)

public sealed class SearchHypernym : IMessage<SearchHypernym>, IEquatable<SearchHypernym>, IDeepCloneable<SearchHypernym>, IBufferMessage, IMessage

Reference documentation and code samples for the Vision AI v1 API class SearchHypernym.

Search resource: SearchHypernym. For example, { hypernym: "vehicle" hyponyms: ["sedan", "truck"] } This means in SMART_SEARCH mode, searching for "vehicle" will also return results with "sedan" or "truck" as annotations.

Inheritance

object > SearchHypernym

Namespace

Google.Cloud.VisionAI.V1

Assembly

Google.Cloud.VisionAI.V1.dll

Constructors

SearchHypernym()

public SearchHypernym()

SearchHypernym(SearchHypernym)

public SearchHypernym(SearchHypernym other)
Parameter
Name Description
other SearchHypernym

Properties

Hypernym

public string Hypernym { get; set; }

Optional. The hypernym.

Property Value
Type Description
string

Hyponyms

public RepeatedField<string> Hyponyms { get; }

Optional. Hyponyms that the hypernym is mapped to.

Property Value
Type Description
RepeatedFieldstring

Name

public string Name { get; set; }

Resource name of the SearchHypernym. Format: projects/{project_number}/locations/{location}/corpora/{corpus}/searchHypernyms/{search_hypernym}

Property Value
Type Description
string

SearchHypernymName

public SearchHypernymName SearchHypernymName { get; set; }

SearchHypernymName-typed view over the Name resource name property.

Property Value
Type Description
SearchHypernymName