Class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3IntentInput

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GoogleCloudDialogflowCxV3IntentInput

Returns a new instance of GoogleCloudDialogflowCxV3IntentInput.



1593
1594
1595
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 1593

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

Instance Attribute Details

#intentString

Corresponds to the JSON property intent

Returns:

  • (String)


1591
1592
1593
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 1591

def intent
  @intent
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1598
1599
1600
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 1598

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