Reference documentation and code samples for the Vision AI V1 API class Google::Cloud::VisionAI::V1::UpdateSearchHypernymRequest.
Request message for updating SearchHypernym.
Inherits
- Object
 
Extended By
- Google::Protobuf::MessageExts::ClassMethods
 
Includes
- Google::Protobuf::MessageExts
 
Methods
#search_hypernym
def search_hypernym() -> ::Google::Cloud::VisionAI::V1::SearchHypernym Returns 
 -  (::Google::Cloud::VisionAI::V1::SearchHypernym) — Required. The SearchHypernym to update. The search hypernym's 
namefield is used to identify the search hypernym to be updated. Format:projects/{project_number}/locations/{location}/corpora/{corpus}/searchHypernyms/{search_hypernym} 
#search_hypernym=
def search_hypernym=(value) -> ::Google::Cloud::VisionAI::V1::SearchHypernym Parameter 
 -  value (::Google::Cloud::VisionAI::V1::SearchHypernym) — Required. The SearchHypernym to update. The search hypernym's 
namefield is used to identify the search hypernym to be updated. Format:projects/{project_number}/locations/{location}/corpora/{corpus}/searchHypernyms/{search_hypernym} 
 Returns 
 -  (::Google::Cloud::VisionAI::V1::SearchHypernym) — Required. The SearchHypernym to update. The search hypernym's 
namefield is used to identify the search hypernym to be updated. Format:projects/{project_number}/locations/{location}/corpora/{corpus}/searchHypernyms/{search_hypernym} 
#update_mask
def update_mask() -> ::Google::Protobuf::FieldMask Returns 
 - (::Google::Protobuf::FieldMask) — The list of fields to be updated. If left unset, all field paths will be updated/overwritten.
 
#update_mask=
def update_mask=(value) -> ::Google::Protobuf::FieldMask Parameter 
 - value (::Google::Protobuf::FieldMask) — The list of fields to be updated. If left unset, all field paths will be updated/overwritten.
 
 Returns 
 - (::Google::Protobuf::FieldMask) — The list of fields to be updated. If left unset, all field paths will be updated/overwritten.