Class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1IntentParameter
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowV2beta1IntentParameter
- 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
-
#default_value ⇒ String
Corresponds to the JSON property
defaultValue. -
#display_name ⇒ String
Corresponds to the JSON property
displayName. -
#entity_type_display_name ⇒ String
Corresponds to the JSON property
entityTypeDisplayName. -
#is_list ⇒ Boolean
(also: #is_list?)
Corresponds to the JSON property
isList. -
#mandatory ⇒ Boolean
(also: #mandatory?)
Corresponds to the JSON property
mandatory. -
#name ⇒ String
Corresponds to the JSON property
name. -
#prompts ⇒ Array<String>
Corresponds to the JSON property
prompts. -
#value ⇒ String
Corresponds to the JSON property
value.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1IntentParameter
constructor
A new instance of GoogleCloudDialogflowV2beta1IntentParameter.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1IntentParameter
Returns a new instance of GoogleCloudDialogflowV2beta1IntentParameter.
17033 17034 17035 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 17033 def initialize(**args) update!(**args) end |
Instance Attribute Details
#default_value ⇒ String
Corresponds to the JSON property defaultValue
16994 16995 16996 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 16994 def default_value @default_value end |
#display_name ⇒ String
Corresponds to the JSON property displayName
16999 17000 17001 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 16999 def display_name @display_name end |
#entity_type_display_name ⇒ String
Corresponds to the JSON property entityTypeDisplayName
17004 17005 17006 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 17004 def entity_type_display_name @entity_type_display_name end |
#is_list ⇒ Boolean Also known as: is_list?
Corresponds to the JSON property isList
17009 17010 17011 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 17009 def is_list @is_list end |
#mandatory ⇒ Boolean Also known as: mandatory?
Corresponds to the JSON property mandatory
17015 17016 17017 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 17015 def mandatory @mandatory end |
#name ⇒ String
Corresponds to the JSON property name
17021 17022 17023 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 17021 def name @name end |
#prompts ⇒ Array<String>
Corresponds to the JSON property prompts
17026 17027 17028 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 17026 def prompts @prompts end |
#value ⇒ String
Corresponds to the JSON property value
17031 17032 17033 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 17031 def value @value end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
17038 17039 17040 17041 17042 17043 17044 17045 17046 17047 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 17038 def update!(**args) @default_value = args[:default_value] if args.key?(:default_value) @display_name = args[:display_name] if args.key?(:display_name) @entity_type_display_name = args[:entity_type_display_name] if args.key?(:entity_type_display_name) @is_list = args[:is_list] if args.key?(:is_list) @mandatory = args[:mandatory] if args.key?(:mandatory) @name = args[:name] if args.key?(:name) @prompts = args[:prompts] if args.key?(:prompts) @value = args[:value] if args.key?(:value) end |