Class: Google::Cloud::VisionAI::V1::CreateSearchHypernymRequest
- Inherits:
-
Object
- Object
- Google::Cloud::VisionAI::V1::CreateSearchHypernymRequest
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/visionai/v1/warehouse.rb
Overview
Request message for creating SearchHypernym.
Instance Attribute Summary collapse
-
#parent ⇒ ::String
Required.
-
#search_hypernym ⇒ ::Google::Cloud::VisionAI::V1::SearchHypernym
Required.
-
#search_hypernym_id ⇒ ::String
Optional.
Instance Attribute Details
#parent ⇒ ::String
Returns Required. The parent resource where this SearchHypernym will be created.
Format: projects/{project_number}/locations/{location}/corpora/{corpus}
.
2292 2293 2294 2295 |
# File 'proto_docs/google/cloud/visionai/v1/warehouse.rb', line 2292 class CreateSearchHypernymRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#search_hypernym ⇒ ::Google::Cloud::VisionAI::V1::SearchHypernym
Returns Required. The SearchHypernym to create.
2292 2293 2294 2295 |
# File 'proto_docs/google/cloud/visionai/v1/warehouse.rb', line 2292 class CreateSearchHypernymRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#search_hypernym_id ⇒ ::String
Returns Optional. The search hypernym id. If omitted, a random UUID will be generated.
2292 2293 2294 2295 |
# File 'proto_docs/google/cloud/visionai/v1/warehouse.rb', line 2292 class CreateSearchHypernymRequest include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |