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
- (::Google::Protobuf::Timestamp) — Output only. Timestamp the SampleQuery was created at.
#name
def name() -> ::String
-
(::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
-
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.
-
(::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
- (::Google::Cloud::DiscoveryEngine::V1beta::SampleQuery::QueryEntry) — The query entry.
#query_entry=
def query_entry=(value) -> ::Google::Cloud::DiscoveryEngine::V1beta::SampleQuery::QueryEntry
- value (::Google::Cloud::DiscoveryEngine::V1beta::SampleQuery::QueryEntry) — The query entry.
- (::Google::Cloud::DiscoveryEngine::V1beta::SampleQuery::QueryEntry) — The query entry.