Class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2beta1IntentFollowupIntentInfo

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) ⇒ GoogleCloudDialogflowV2beta1IntentFollowupIntentInfo

Returns a new instance of GoogleCloudDialogflowV2beta1IntentFollowupIntentInfo.



16875
16876
16877
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 16875

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)


16867
16868
16869
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 16867

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)


16873
16874
16875
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 16873

def parent_followup_intent_name
  @parent_followup_intent_name
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



16880
16881
16882
16883
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 16880

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