Class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2beta1IntentParameter
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowV2beta1IntentParameter
- 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
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.
21038 21039 21040 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 21038 def initialize(**args) update!(**args) end |
Instance Attribute Details
#default_value ⇒ String
Corresponds to the JSON property defaultValue
20999 21000 21001 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 20999 def default_value @default_value end |
#display_name ⇒ String
Corresponds to the JSON property displayName
21004 21005 21006 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 21004 def display_name @display_name end |
#entity_type_display_name ⇒ String
Corresponds to the JSON property entityTypeDisplayName
21009 21010 21011 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 21009 def entity_type_display_name @entity_type_display_name end |
#is_list ⇒ Boolean Also known as: is_list?
Corresponds to the JSON property isList
21014 21015 21016 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 21014 def is_list @is_list end |
#mandatory ⇒ Boolean Also known as: mandatory?
Corresponds to the JSON property mandatory
21020 21021 21022 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 21020 def mandatory @mandatory end |
#name ⇒ String
Corresponds to the JSON property name
21026 21027 21028 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 21026 def name @name end |
#prompts ⇒ Array<String>
Corresponds to the JSON property prompts
21031 21032 21033 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 21031 def prompts @prompts end |
#value ⇒ String
Corresponds to the JSON property value
21036 21037 21038 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 21036 def value @value end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
21043 21044 21045 21046 21047 21048 21049 21050 21051 21052 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 21043 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 |