Class: Google::Apis::DiscoveryengineV1beta::GoogleCloudDiscoveryengineV1alphaAlphaEvolveEvaluationInsightsAlphaEvolveEvaluationInsight

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

A single evaluation insight.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDiscoveryengineV1alphaAlphaEvolveEvaluationInsightsAlphaEvolveEvaluationInsight

Returns a new instance of GoogleCloudDiscoveryengineV1alphaAlphaEvolveEvaluationInsightsAlphaEvolveEvaluationInsight.



7382
7383
7384
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 7382

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

Instance Attribute Details

#labelString

Optional. Label of the insight. Corresponds to the JSON property label

Returns:

  • (String)


7375
7376
7377
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 7375

def label
  @label
end

#textString

Optional. Text of the insight. Corresponds to the JSON property text

Returns:

  • (String)


7380
7381
7382
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 7380

def text
  @text
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



7387
7388
7389
7390
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 7387

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