Reference documentation and code samples for the Vision AI V1 API class Google::Cloud::VisionAI::V1::CreateSearchHypernymRequest.
Request message for creating SearchHypernym.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#parent
def parent() -> ::String
Returns
-
(::String) — Required. The parent resource where this SearchHypernym will be created.
Format:
projects/{project_number}/locations/{location}/corpora/{corpus}
#parent=
def parent=(value) -> ::String
Parameter
-
value (::String) — Required. The parent resource where this SearchHypernym will be created.
Format:
projects/{project_number}/locations/{location}/corpora/{corpus}
Returns
-
(::String) — Required. The parent resource where this SearchHypernym will be created.
Format:
projects/{project_number}/locations/{location}/corpora/{corpus}
#search_hypernym
def search_hypernym() -> ::Google::Cloud::VisionAI::V1::SearchHypernym
Returns
- (::Google::Cloud::VisionAI::V1::SearchHypernym) — Required. The SearchHypernym to create.
#search_hypernym=
def search_hypernym=(value) -> ::Google::Cloud::VisionAI::V1::SearchHypernym
Parameter
- value (::Google::Cloud::VisionAI::V1::SearchHypernym) — Required. The SearchHypernym to create.
Returns
- (::Google::Cloud::VisionAI::V1::SearchHypernym) — Required. The SearchHypernym to create.
#search_hypernym_id
def search_hypernym_id() -> ::String
Returns
- (::String) — Optional. The search hypernym id. If omitted, a random UUID will be generated.
#search_hypernym_id=
def search_hypernym_id=(value) -> ::String
Parameter
- value (::String) — Optional. The search hypernym id. If omitted, a random UUID will be generated.
Returns
- (::String) — Optional. The search hypernym id. If omitted, a random UUID will be generated.