Vision AI V1 API - Class Google::Cloud::VisionAI::V1::SearchConfig (v0.1.0)

Reference documentation and code samples for the Vision AI V1 API class Google::Cloud::VisionAI::V1::SearchConfig.

SearchConfig stores different properties that will affect search behaviors and search results.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#facet_property

def facet_property() -> ::Google::Cloud::VisionAI::V1::FacetProperty
Returns

#facet_property=

def facet_property=(value) -> ::Google::Cloud::VisionAI::V1::FacetProperty
Parameter
Returns

#name

def name() -> ::String
Returns
  • (::String) — Resource name of the search configuration. For CustomSearchCriteria, search_config would be the search operator name. For Facets, search_config would be the facet dimension name. Format: projects/{project_number}/locations/{location}/corpora/{corpus}/searchConfigs/{search_config}

#name=

def name=(value) -> ::String
Parameter
  • value (::String) — Resource name of the search configuration. For CustomSearchCriteria, search_config would be the search operator name. For Facets, search_config would be the facet dimension name. Format: projects/{project_number}/locations/{location}/corpora/{corpus}/searchConfigs/{search_config}
Returns
  • (::String) — Resource name of the search configuration. For CustomSearchCriteria, search_config would be the search operator name. For Facets, search_config would be the facet dimension name. Format: projects/{project_number}/locations/{location}/corpora/{corpus}/searchConfigs/{search_config}

#search_criteria_property

def search_criteria_property() -> ::Google::Cloud::VisionAI::V1::SearchCriteriaProperty
Returns

#search_criteria_property=

def search_criteria_property=(value) -> ::Google::Cloud::VisionAI::V1::SearchCriteriaProperty
Parameter
Returns