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

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.

#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.