Reference documentation and code samples for the Discovery Engine V1BETA API class Google::Cloud::DiscoveryEngine::V1beta::SampleQuery::QueryEntry.
Query Entry captures metadata to be used for search evaluation.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#query
def query() -> ::String
Returns
- (::String) — Required. The query.
#query=
def query=(value) -> ::String
Parameter
- value (::String) — Required. The query.
Returns
- (::String) — Required. The query.
#targets
def targets() -> ::Array<::Google::Cloud::DiscoveryEngine::V1beta::SampleQuery::QueryEntry::Target>
Returns
- (::Array<::Google::Cloud::DiscoveryEngine::V1beta::SampleQuery::QueryEntry::Target>) — List of targets for the query.
#targets=
def targets=(value) -> ::Array<::Google::Cloud::DiscoveryEngine::V1beta::SampleQuery::QueryEntry::Target>
Parameter
- value (::Array<::Google::Cloud::DiscoveryEngine::V1beta::SampleQuery::QueryEntry::Target>) — List of targets for the query.
Returns
- (::Array<::Google::Cloud::DiscoveryEngine::V1beta::SampleQuery::QueryEntry::Target>) — List of targets for the query.