Class: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2IntentParameter
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV3::GoogleCloudDialogflowV2IntentParameter
- 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) ⇒ GoogleCloudDialogflowV2IntentParameter
constructor
A new instance of GoogleCloudDialogflowV2IntentParameter.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowV2IntentParameter
Returns a new instance of GoogleCloudDialogflowV2IntentParameter.
15524 15525 15526 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 15524 def initialize(**args) update!(**args) end |
Instance Attribute Details
#default_value ⇒ String
Corresponds to the JSON property defaultValue
15485 15486 15487 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 15485 def default_value @default_value end |
#display_name ⇒ String
Corresponds to the JSON property displayName
15490 15491 15492 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 15490 def display_name @display_name end |
#entity_type_display_name ⇒ String
Corresponds to the JSON property entityTypeDisplayName
15495 15496 15497 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 15495 def entity_type_display_name @entity_type_display_name end |
#is_list ⇒ Boolean Also known as: is_list?
Corresponds to the JSON property isList
15500 15501 15502 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 15500 def is_list @is_list end |
#mandatory ⇒ Boolean Also known as: mandatory?
Corresponds to the JSON property mandatory
15506 15507 15508 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 15506 def mandatory @mandatory end |
#name ⇒ String
Corresponds to the JSON property name
15512 15513 15514 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 15512 def name @name end |
#prompts ⇒ Array<String>
Corresponds to the JSON property prompts
15517 15518 15519 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 15517 def prompts @prompts end |
#value ⇒ String
Corresponds to the JSON property value
15522 15523 15524 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 15522 def value @value end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
15529 15530 15531 15532 15533 15534 15535 15536 15537 15538 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 15529 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 |