Class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1betaEvaluationEvaluationSpecQuerySetSpec

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/discoveryengine_v1beta/classes.rb,
lib/google/apis/discoveryengine_v1beta/representations.rb,
lib/google/apis/discoveryengine_v1beta/representations.rb

Overview

Describes the specification of the query set.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1betaEvaluationEvaluationSpecQuerySetSpec

Returns a new instance of GoogleCloudDiscoveryengineV1betaEvaluationEvaluationSpecQuerySetSpec.



14511
14512
14513
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 14511

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#sample_query_setString

Required. The full resource name of the SampleQuerySet used for the evaluation, in the format of projects/project/locations/location/sampleQuerySets/ sampleQuerySet`. Corresponds to the JSON propertysampleQuerySet`

Returns:

  • (String)


14509
14510
14511
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 14509

def sample_query_set
  @sample_query_set
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



14516
14517
14518
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 14516

def update!(**args)
  @sample_query_set = args[:sample_query_set] if args.key?(:sample_query_set)
end