Class: Google::Apis::DiscoveryengineV1::GoogleCloudDiscoveryengineV1alphaEvaluationEvaluationSpecQuerySetSpec

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

Overview

Describes the specification of the query set.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1alphaEvaluationEvaluationSpecQuerySetSpec

Returns a new instance of GoogleCloudDiscoveryengineV1alphaEvaluationEvaluationSpecQuerySetSpec.



10119
10120
10121
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 10119

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)


10117
10118
10119
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 10117

def sample_query_set
  @sample_query_set
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



10124
10125
10126
# File 'lib/google/apis/discoveryengine_v1/classes.rb', line 10124

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