Discovery Engine V1BETA API - Class Google::Cloud::DiscoveryEngine::V1beta::Query (v0.12.0)

Reference documentation and code samples for the Discovery Engine V1BETA API class Google::Cloud::DiscoveryEngine::V1beta::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.