Class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1IntentCoverageIntent

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

Overview

The agent's intent.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowCxV3beta1IntentCoverageIntent

Returns a new instance of GoogleCloudDialogflowCxV3beta1IntentCoverageIntent.



8210
8211
8212
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 8210

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

Instance Attribute Details

#coveredBoolean Also known as: covered?

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

Returns:

  • (Boolean)


8202
8203
8204
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 8202

def covered
  @covered
end

#intentString

The intent full resource name Corresponds to the JSON property intent

Returns:

  • (String)


8208
8209
8210
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 8208

def intent
  @intent
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



8215
8216
8217
8218
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 8215

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