Class: Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1FormParameter
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1FormParameter
- 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
-
#advanced_settings ⇒ Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1AdvancedSettings
Corresponds to the JSON property
advancedSettings. -
#default_value ⇒ Object
Corresponds to the JSON property
defaultValue. -
#display_name ⇒ String
Corresponds to the JSON property
displayName. -
#entity_type ⇒ String
Corresponds to the JSON property
entityType. -
#fill_behavior ⇒ Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1FormParameterFillBehavior
Corresponds to the JSON property
fillBehavior. -
#is_list ⇒ Boolean
(also: #is_list?)
Corresponds to the JSON property
isList. -
#redact ⇒ Boolean
(also: #redact?)
Corresponds to the JSON property
redact. -
#required ⇒ Boolean
(also: #required?)
Corresponds to the JSON property
required.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3beta1FormParameter
constructor
A new instance of GoogleCloudDialogflowCxV3beta1FormParameter.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3beta1FormParameter
Returns a new instance of GoogleCloudDialogflowCxV3beta1FormParameter.
7405 7406 7407 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 7405 def initialize(**args) update!(**args) end |
Instance Attribute Details
#advanced_settings ⇒ Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1AdvancedSettings
Corresponds to the JSON property advancedSettings
7365 7366 7367 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 7365 def advanced_settings @advanced_settings end |
#default_value ⇒ Object
Corresponds to the JSON property defaultValue
7370 7371 7372 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 7370 def default_value @default_value end |
#display_name ⇒ String
Corresponds to the JSON property displayName
7375 7376 7377 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 7375 def display_name @display_name end |
#entity_type ⇒ String
Corresponds to the JSON property entityType
7380 7381 7382 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 7380 def entity_type @entity_type end |
#fill_behavior ⇒ Google::Apis::DialogflowV3beta1::GoogleCloudDialogflowCxV3beta1FormParameterFillBehavior
Corresponds to the JSON property fillBehavior
7385 7386 7387 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 7385 def fill_behavior @fill_behavior end |
#is_list ⇒ Boolean Also known as: is_list?
Corresponds to the JSON property isList
7390 7391 7392 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 7390 def is_list @is_list end |
#redact ⇒ Boolean Also known as: redact?
Corresponds to the JSON property redact
7396 7397 7398 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 7396 def redact @redact end |
#required ⇒ Boolean Also known as: required?
Corresponds to the JSON property required
7402 7403 7404 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 7402 def required @required end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
7410 7411 7412 7413 7414 7415 7416 7417 7418 7419 |
# File 'lib/google/apis/dialogflow_v3beta1/classes.rb', line 7410 def update!(**args) @advanced_settings = args[:advanced_settings] if args.key?(:advanced_settings) @default_value = args[:default_value] if args.key?(:default_value) @display_name = args[:display_name] if args.key?(:display_name) @entity_type = args[:entity_type] if args.key?(:entity_type) @fill_behavior = args[:fill_behavior] if args.key?(:fill_behavior) @is_list = args[:is_list] if args.key?(:is_list) @redact = args[:redact] if args.key?(:redact) @required = args[:required] if args.key?(:required) end |