Class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3IntentCoverage

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowCxV3IntentCoverage

Returns a new instance of GoogleCloudDialogflowCxV3IntentCoverage.



4469
4470
4471
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 4469

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

Instance Attribute Details

#coverage_scoreFloat

Corresponds to the JSON property coverageScore

Returns:

  • (Float)


4462
4463
4464
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 4462

def coverage_score
  @coverage_score
end

#intentsArray<Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3IntentCoverageIntent>

Corresponds to the JSON property intents



4467
4468
4469
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 4467

def intents
  @intents
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4474
4475
4476
4477
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 4474

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