Class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsAdherenceDecomposition

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

Overview

Decomposition details for adherence.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsAdherenceDecomposition

Returns a new instance of GoogleCloudDialogflowV2beta1SummarizationEvaluationMetricsAdherenceDecomposition.



22792
22793
22794
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 22792

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

Instance Attribute Details

#adherence_reasoningString

Output only. The adherence reasoning of the breakdown point. Corresponds to the JSON property adherenceReasoning

Returns:

  • (String)


22779
22780
22781
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 22779

def adherence_reasoning
  @adherence_reasoning
end

#is_adherentBoolean Also known as: is_adherent?

Output only. Whether the breakdown point is adherent or not. Corresponds to the JSON property isAdherent

Returns:

  • (Boolean)


22784
22785
22786
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 22784

def is_adherent
  @is_adherent
end

#pointString

Output only. The breakdown point of the given instructions. Corresponds to the JSON property point

Returns:

  • (String)


22790
22791
22792
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 22790

def point
  @point
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



22797
22798
22799
22800
22801
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 22797

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