Class: Google::Apis::DialogflowV3::GoogleCloudDialogflowCxV3IntentCoverageIntent

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

Overview

The agent's intent.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowCxV3IntentCoverageIntent

Returns a new instance of GoogleCloudDialogflowCxV3IntentCoverageIntent.



1744
1745
1746
# File 'generated/google/apis/dialogflow_v3/classes.rb', line 1744

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

Instance Attribute Details

#coveredBoolean Also known as: covered?

Whether or not the intent is covered by at least one of the agent's test cases. Corresponds to the JSON property covered

Returns:

  • (Boolean)


1736
1737
1738
# File 'generated/google/apis/dialogflow_v3/classes.rb', line 1736

def covered
  @covered
end

#intentString

The intent full resource name Corresponds to the JSON property intent

Returns:

  • (String)


1742
1743
1744
# File 'generated/google/apis/dialogflow_v3/classes.rb', line 1742

def intent
  @intent
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1749
1750
1751
1752
# File 'generated/google/apis/dialogflow_v3/classes.rb', line 1749

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