Class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1IntentFollowupIntentInfo

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

Overview

Represents a single followup intent in the chain.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1IntentFollowupIntentInfo

Returns a new instance of GoogleCloudDialogflowV2beta1IntentFollowupIntentInfo.



4176
4177
4178
# File 'generated/google/apis/dialogflow_v2/classes.rb', line 4176

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

Instance Attribute Details

#followup_intent_nameString

The unique identifier of the followup intent. Format: projects/<Project ID>/agent/intents/<Intent ID>. Corresponds to the JSON property followupIntentName

Returns:

  • (String)


4168
4169
4170
# File 'generated/google/apis/dialogflow_v2/classes.rb', line 4168

def followup_intent_name
  @followup_intent_name
end

#parent_followup_intent_nameString

The unique identifier of the followup intent's parent. Format: projects/<Project ID>/agent/intents/<Intent ID>. Corresponds to the JSON property parentFollowupIntentName

Returns:

  • (String)


4174
4175
4176
# File 'generated/google/apis/dialogflow_v2/classes.rb', line 4174

def parent_followup_intent_name
  @parent_followup_intent_name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



4181
4182
4183
4184
# File 'generated/google/apis/dialogflow_v2/classes.rb', line 4181

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