Vision AI V1 API - Class Google::Cloud::VisionAI::V1::UpdateSearchHypernymRequest (v0.2.0)

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 name field 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 name field 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 name field 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

#update_mask=

def update_mask=(value) -> ::Google::Protobuf::FieldMask
Parameter
Returns