Class: Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1AnnotatedMessagePart
- Inherits:
-
Object
- Object
- Google::Apis::DialogflowV3::GoogleCloudDialogflowV2beta1AnnotatedMessagePart
- 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
-
#entity_type ⇒ String
Corresponds to the JSON property
entityType. -
#formatted_value ⇒ Object
Corresponds to the JSON property
formattedValue. -
#text ⇒ String
Corresponds to the JSON property
text.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1AnnotatedMessagePart
constructor
A new instance of GoogleCloudDialogflowV2beta1AnnotatedMessagePart.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GoogleCloudDialogflowV2beta1AnnotatedMessagePart
Returns a new instance of GoogleCloudDialogflowV2beta1AnnotatedMessagePart.
17345 17346 17347 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 17345 def initialize(**args) update!(**args) end |
Instance Attribute Details
#entity_type ⇒ String
Corresponds to the JSON property entityType
17333 17334 17335 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 17333 def entity_type @entity_type end |
#formatted_value ⇒ Object
Corresponds to the JSON property formattedValue
17338 17339 17340 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 17338 def formatted_value @formatted_value end |
#text ⇒ String
Corresponds to the JSON property text
17343 17344 17345 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 17343 def text @text end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
17350 17351 17352 17353 17354 |
# File 'lib/google/apis/dialogflow_v3/classes.rb', line 17350 def update!(**args) @entity_type = args[:entity_type] if args.key?(:entity_type) @formatted_value = args[:formatted_value] if args.key?(:formatted_value) @text = args[:text] if args.key?(:text) end |