Class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1IntentCoverage

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowCxV3beta1IntentCoverage

Returns a new instance of GoogleCloudDialogflowCxV3beta1IntentCoverage.



8672
8673
8674
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 8672

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

Instance Attribute Details

#coverage_scoreFloat

Corresponds to the JSON property coverageScore

Returns:

  • (Float)


8665
8666
8667
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 8665

def coverage_score
  @coverage_score
end

#intentsArray<Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1IntentCoverageIntent>

Corresponds to the JSON property intents



8670
8671
8672
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 8670

def intents
  @intents
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



8677
8678
8679
8680
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 8677

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