Class: Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3IntentParameter
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV2beta1::GoogleCloudDialogflowCxV3IntentParameter
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/dialogflow_v2beta1/classes.rb,
lib/google/apis/dialogflow_v2beta1/representations.rb,
lib/google/apis/dialogflow_v2beta1/representations.rb
Instance Attribute Summary collapse
-
#entity_type ⇒ String
Corresponds to the JSON property
entityType. -
#id ⇒ String
Corresponds to the JSON property
id. -
#is_list ⇒ Boolean
(also: #is_list?)
Corresponds to the JSON property
isList. -
#redact ⇒ Boolean
(also: #redact?)
Corresponds to the JSON property
redact.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3IntentParameter
constructor
A new instance of GoogleCloudDialogflowCxV3IntentParameter.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowCxV3IntentParameter
Returns a new instance of GoogleCloudDialogflowCxV3IntentParameter.
1629 1630 1631 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 1629 def initialize(**args) update!(**args) end |
Instance Attribute Details
#entity_type ⇒ String
Corresponds to the JSON property entityType
1610 1611 1612 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 1610 def entity_type @entity_type end |
#id ⇒ String
Corresponds to the JSON property id
1615 1616 1617 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 1615 def id @id end |
#is_list ⇒ Boolean Also known as: is_list?
Corresponds to the JSON property isList
1620 1621 1622 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 1620 def is_list @is_list end |
#redact ⇒ Boolean Also known as: redact?
Corresponds to the JSON property redact
1626 1627 1628 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 1626 def redact @redact end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1634 1635 1636 1637 1638 1639 |
# File 'lib/google/apis/dialogflow_v2beta1/classes.rb', line 1634 def update!(**args) @entity_type = args[:entity_type] if args.key?(:entity_type) @id = args[:id] if args.key?(:id) @is_list = args[:is_list] if args.key?(:is_list) @redact = args[:redact] if args.key?(:redact) end |