Class: Google::Apis::CloudsupportV2beta::TextContent

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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_textString

Content in this field should be rendered and interpreted as-is. Corresponds to the JSON property plainText

Returns:

  • (String)


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