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

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/dialogflow_v3beta1/classes.rb,
generated/google/apis/dialogflow_v3beta1/representations.rb,
generated/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.



4051
4052
4053
# File 'generated/google/apis/dialogflow_v3beta1/classes.rb', line 4051

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)


4043
4044
4045
# File 'generated/google/apis/dialogflow_v3beta1/classes.rb', line 4043

def covered
  @covered
end

#intentString

The intent full resource name Corresponds to the JSON property intent

Returns:

  • (String)


4049
4050
4051
# File 'generated/google/apis/dialogflow_v3beta1/classes.rb', line 4049

def intent
  @intent
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4056
4057
4058
4059
# File 'generated/google/apis/dialogflow_v3beta1/classes.rb', line 4056

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