Class: Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaSampleQueryQueryEntry
- Inherits:
-
Object
- Object
- Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaSampleQueryQueryEntry
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/discoveryengine_v1alpha/classes.rb,
lib/google/apis/discoveryengine_v1alpha/representations.rb,
lib/google/apis/discoveryengine_v1alpha/representations.rb
Overview
Query Entry captures metadata to be used for search evaluation.
Instance Attribute Summary collapse
-
#query ⇒ String
Required.
-
#targets ⇒ Array<Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaSampleQueryQueryEntryTarget>
List of targets for the query.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1alphaSampleQueryQueryEntry
constructor
A new instance of GoogleCloudDiscoveryengineV1alphaSampleQueryQueryEntry.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1alphaSampleQueryQueryEntry
Returns a new instance of GoogleCloudDiscoveryengineV1alphaSampleQueryQueryEntry.
14417 14418 14419 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 14417 def initialize(**args) update!(**args) end |
Instance Attribute Details
#query ⇒ String
Required. The query.
Corresponds to the JSON property query
14410 14411 14412 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 14410 def query @query end |
#targets ⇒ Array<Google::Apis::DiscoveryengineV1alpha::GoogleCloudDiscoveryengineV1alphaSampleQueryQueryEntryTarget>
List of targets for the query.
Corresponds to the JSON property targets
14415 14416 14417 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 14415 def targets @targets end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
14422 14423 14424 14425 |
# File 'lib/google/apis/discoveryengine_v1alpha/classes.rb', line 14422 def update!(**args) @query = args[:query] if args.key?(:query) @targets = args[:targets] if args.key?(:targets) end |