Class: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1IntentParameter
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1IntentParameter
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dialogflow_v3/classes.rb,
lib/google/apis/dialogflow_v3/representations.rb,
lib/google/apis/dialogflow_v3/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.
19714 19715 19716 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 19714 def initialize(**args) update!(**args) end |
Instance Attribute Details
#default_value ⇒ String
Corresponds to the JSON property defaultValue
19675 19676 19677 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 19675 def default_value @default_value end |
#display_name ⇒ String
Corresponds to the JSON property displayName
19680 19681 19682 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 19680 def display_name @display_name end |
#entity_type_display_name ⇒ String
Corresponds to the JSON property entityTypeDisplayName
19685 19686 19687 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 19685 def entity_type_display_name @entity_type_display_name end |
#is_list ⇒ Boolean Also known as: is_list?
Corresponds to the JSON property isList
19690 19691 19692 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 19690 def is_list @is_list end |
#mandatory ⇒ Boolean Also known as: mandatory?
Corresponds to the JSON property mandatory
19696 19697 19698 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 19696 def mandatory @mandatory end |
#name ⇒ String
Corresponds to the JSON property name
19702 19703 19704 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 19702 def name @name end |
#prompts ⇒ Array<String>
Corresponds to the JSON property prompts
19707 19708 19709 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 19707 def prompts @prompts end |
#value ⇒ String
Corresponds to the JSON property value
19712 19713 19714 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 19712 def value @value end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
19719 19720 19721 19722 19723 19724 19725 19726 19727 19728 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 19719 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 |