Discovery Engine V1 API - Class Google::Cloud::DiscoveryEngine::V1::Query (v1.0.2)

Reference documentation and code samples for the Discovery Engine V1 API class Google::Cloud::DiscoveryEngine::V1::Query.

Defines a user inputed query.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#query_id

def query_id() -> ::String
Returns
  • (::String) — Unique Id for the query.

#query_id=

def query_id=(value) -> ::String
Parameter
  • value (::String) — Unique Id for the query.
Returns
  • (::String) — Unique Id for the query.

#text

def text() -> ::String
Returns
  • (::String) — Plain text.

#text=

def text=(value) -> ::String
Parameter
  • value (::String) — Plain text.
Returns
  • (::String) — Plain text.