Discovery Engine V1BETA API - Class Google::Cloud::DiscoveryEngine::V1beta::SampleQuery (v0.14.2)

Reference documentation and code samples for the Discovery Engine V1BETA API class Google::Cloud::DiscoveryEngine::V1beta::SampleQuery.

Sample Query captures metadata to be used for evaluation.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#create_time

def create_time() -> ::Google::Protobuf::Timestamp
Returns

#name

def name() -> ::String
Returns
  • (::String) — Identifier. The full resource name of the sample query, in the format of projects/{project}/locations/{location}/sampleQuerySets/{sample_query_set}/sampleQueries/{sample_query}.

    This field must be a UTF-8 encoded string with a length limit of 1024 characters.

#name=

def name=(value) -> ::String
Parameter
  • value (::String) — Identifier. The full resource name of the sample query, in the format of projects/{project}/locations/{location}/sampleQuerySets/{sample_query_set}/sampleQueries/{sample_query}.

    This field must be a UTF-8 encoded string with a length limit of 1024 characters.

Returns
  • (::String) — Identifier. The full resource name of the sample query, in the format of projects/{project}/locations/{location}/sampleQuerySets/{sample_query_set}/sampleQueries/{sample_query}.

    This field must be a UTF-8 encoded string with a length limit of 1024 characters.

#query_entry

def query_entry() -> ::Google::Cloud::DiscoveryEngine::V1beta::SampleQuery::QueryEntry

#query_entry=

def query_entry=(value) -> ::Google::Cloud::DiscoveryEngine::V1beta::SampleQuery::QueryEntry