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
- (::Google::Cloud::VisionAI::V1::FacetProperty) — Establishes a FacetDimension and associated specifications.
#facet_property=
def facet_property=(value) -> ::Google::Cloud::VisionAI::V1::FacetProperty
Parameter
- value (::Google::Cloud::VisionAI::V1::FacetProperty) — Establishes a FacetDimension and associated specifications.
Returns
- (::Google::Cloud::VisionAI::V1::FacetProperty) — Establishes a FacetDimension and associated specifications.
#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
- (::Google::Cloud::VisionAI::V1::SearchCriteriaProperty) — Creates a mapping between a custom SearchCriteria and one or more UGA keys.
#search_criteria_property=
def search_criteria_property=(value) -> ::Google::Cloud::VisionAI::V1::SearchCriteriaProperty
Parameter
- value (::Google::Cloud::VisionAI::V1::SearchCriteriaProperty) — Creates a mapping between a custom SearchCriteria and one or more UGA keys.
Returns
- (::Google::Cloud::VisionAI::V1::SearchCriteriaProperty) — Creates a mapping between a custom SearchCriteria and one or more UGA keys.