Class: Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1IntentParameter
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV2::GoogleCloudDialogflowV2beta1IntentParameter
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dialogflow_v2/classes.rb,
lib/google/apis/dialogflow_v2/representations.rb,
lib/google/apis/dialogflow_v2/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.
20507 20508 20509 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 20507 def initialize(**args) update!(**args) end |
Instance Attribute Details
#default_value ⇒ String
Corresponds to the JSON property defaultValue
20468 20469 20470 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 20468 def default_value @default_value end |
#display_name ⇒ String
Corresponds to the JSON property displayName
20473 20474 20475 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 20473 def display_name @display_name end |
#entity_type_display_name ⇒ String
Corresponds to the JSON property entityTypeDisplayName
20478 20479 20480 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 20478 def entity_type_display_name @entity_type_display_name end |
#is_list ⇒ Boolean Also known as: is_list?
Corresponds to the JSON property isList
20483 20484 20485 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 20483 def is_list @is_list end |
#mandatory ⇒ Boolean Also known as: mandatory?
Corresponds to the JSON property mandatory
20489 20490 20491 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 20489 def mandatory @mandatory end |
#name ⇒ String
Corresponds to the JSON property name
20495 20496 20497 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 20495 def name @name end |
#prompts ⇒ Array<String>
Corresponds to the JSON property prompts
20500 20501 20502 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 20500 def prompts @prompts end |
#value ⇒ String
Corresponds to the JSON property value
20505 20506 20507 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 20505 def value @value end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
20512 20513 20514 20515 20516 20517 20518 20519 20520 20521 |
# File 'lib/google/apis/dialogflow_v2/classes.rb', line 20512 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 |