Class: Google::Apis::CloudsupportV2beta::TextContent
- Inherits:
-
Object
- Object
- Google::Apis::CloudsupportV2beta::TextContent
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/cloudsupport_v2beta/classes.rb,
lib/google/apis/cloudsupport_v2beta/representations.rb,
lib/google/apis/cloudsupport_v2beta/representations.rb
Overview
Stores text attached to a support object.
Instance Attribute Summary collapse
-
#plain_text ⇒ String
Content in this field should be rendered and interpreted as-is.
Instance Method Summary collapse
-
#initialize(**args) ⇒ TextContent
constructor
A new instance of TextContent.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ TextContent
Returns a new instance of TextContent.
1313 1314 1315 |
# File 'lib/google/apis/cloudsupport_v2beta/classes.rb', line 1313 def initialize(**args) update!(**args) end |
Instance Attribute Details
#plain_text ⇒ String
Content in this field should be rendered and interpreted as-is.
Corresponds to the JSON property plainText
1311 1312 1313 |
# File 'lib/google/apis/cloudsupport_v2beta/classes.rb', line 1311 def plain_text @plain_text end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1318 1319 1320 |
# File 'lib/google/apis/cloudsupport_v2beta/classes.rb', line 1318 def update!(**args) @plain_text = args[:plain_text] if args.key?(:plain_text) end |