Class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2IntentFollowupIntentInfo

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

Represents a single followup intent in the chain.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowV2IntentFollowupIntentInfo

Returns a new instance of GoogleCloudDialogflowV2IntentFollowupIntentInfo.



14162
14163
14164
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 14162

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)


14154
14155
14156
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 14154

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)


14160
14161
14162
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 14160

def parent_followup_intent_name
  @parent_followup_intent_name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



14167
14168
14169
14170
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 14167

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