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.



7394
7395
7396
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 7394

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

Instance Attribute Details

#labelString

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

Returns:

  • (String)


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

def label
  @label
end

#textString

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

Returns:

  • (String)


7392
7393
7394
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 7392

def text
  @text
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



7399
7400
7401
7402
# File 'lib/google/apis/discoveryengine_v1beta/classes.rb', line 7399

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