Class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2IntentFollowupIntentInfo

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

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowV2IntentFollowupIntentInfo

Returns a new instance of GoogleCloudDialogflowV2IntentFollowupIntentInfo.



5966
5967
5968
# File 'generated/google/apis/dialogflow_v2/classes.rb', line 5966

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)


5958
5959
5960
# File 'generated/google/apis/dialogflow_v2/classes.rb', line 5958

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)


5964
5965
5966
# File 'generated/google/apis/dialogflow_v2/classes.rb', line 5964

def parent_followup_intent_name
  @parent_followup_intent_name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5971
5972
5973
5974
# File 'generated/google/apis/dialogflow_v2/classes.rb', line 5971

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