public sealed class SearchHypernym : IMessage<SearchHypernym>, IEquatable<SearchHypernym>, IDeepCloneable<SearchHypernym>, IBufferMessage, IMessageReference 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.
Implements
IMessageSearchHypernym, IEquatableSearchHypernym, IDeepCloneableSearchHypernym, IBufferMessage, IMessageNamespace
Google.Cloud.VisionAI.V1Assembly
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 |
|