Discovery Engine V1BETA API - Class Google::Cloud::DiscoveryEngine::V1beta::SearchResponse::NaturalLanguageQueryUnderstandingInfo::StructuredExtractedFilter::StringConstraint (v0.15.0)

Reference documentation and code samples for the Discovery Engine V1BETA API class Google::Cloud::DiscoveryEngine::V1beta::SearchResponse::NaturalLanguageQueryUnderstandingInfo::StructuredExtractedFilter::StringConstraint.

Constraint expression of a string field.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#field_name

def field_name() -> ::String
Returns
  • (::String) — Name of the string field as defined in the schema.

#field_name=

def field_name=(value) -> ::String
Parameter
  • value (::String) — Name of the string field as defined in the schema.
Returns
  • (::String) — Name of the string field as defined in the schema.

#query_segment

def query_segment() -> ::String
Returns
  • (::String) — Identifies the keywords within the search query that match a filter.

#query_segment=

def query_segment=(value) -> ::String
Parameter
  • value (::String) — Identifies the keywords within the search query that match a filter.
Returns
  • (::String) — Identifies the keywords within the search query that match a filter.

#values

def values() -> ::Array<::String>
Returns
  • (::Array<::String>) — Values of the string field. The record will only be returned if the field value matches one of the values specified here.

#values=

def values=(value) -> ::Array<::String>
Parameter
  • value (::Array<::String>) — Values of the string field. The record will only be returned if the field value matches one of the values specified here.
Returns
  • (::Array<::String>) — Values of the string field. The record will only be returned if the field value matches one of the values specified here.