Class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2SummarizationEvaluationMetricsAdherenceDecomposition

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

Overview

Decomposition details for adherence.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowV2SummarizationEvaluationMetricsAdherenceDecomposition

Returns a new instance of GoogleCloudDialogflowV2SummarizationEvaluationMetricsAdherenceDecomposition.



18109
18110
18111
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 18109

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)


18096
18097
18098
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 18096

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)


18101
18102
18103
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 18101

def is_adherent
  @is_adherent
end

#pointString

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

Returns:

  • (String)


18107
18108
18109
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 18107

def point
  @point
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



18114
18115
18116
18117
18118
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 18114

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