Class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1IntentFollowupIntentInfo

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

Overview

Represents a single followup intent in the chain.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1IntentFollowupIntentInfo

Returns a new instance of GoogleCloudDialogflowV2beta1IntentFollowupIntentInfo.



12848
12849
12850
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 12848

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

Instance Attribute Details

#followup_intent_nameString

The unique identifier of the followup intent. Format: projects//agent/intents/ . Corresponds to the JSON property followupIntentName

Returns:

  • (String)


12840
12841
12842
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 12840

def followup_intent_name
  @followup_intent_name
end

#parent_followup_intent_nameString

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

Returns:

  • (String)


12846
12847
12848
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 12846

def parent_followup_intent_name
  @parent_followup_intent_name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



12853
12854
12855
12856
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 12853

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