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

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

Overview

The agent's intent.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowCxV3IntentCoverageIntent

Returns a new instance of GoogleCloudDialogflowCxV3IntentCoverageIntent.



4591
4592
4593
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 4591

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)


4583
4584
4585
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 4583

def covered
  @covered
end

#intentString

The intent full resource name Corresponds to the JSON property intent

Returns:

  • (String)


4589
4590
4591
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 4589

def intent
  @intent
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4596
4597
4598
4599
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 4596

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