class Google::Apis::PlusV1::Comment::Object
The object of this comment.
Attributes
content[RW]
The HTML-formatted content, suitable for display. Corresponds to the JSON property `content` @return [String]
object_type[RW]
The object type of this comment. Possible values are:
-
“comment” - A comment in reply to an activity.
Corresponds to the JSON property `objectType` @return [String]
original_content[RW]
The content (text) as provided by the author, stored without any HTML formatting. When creating or updating a comment, this value must be supplied as plain text in the request. Corresponds to the JSON property `originalContent` @return [String]
Public Class Methods
new(**args)
click to toggle source
# File generated/google/apis/plus_v1/classes.rb, line 1224 def initialize(**args) update!(**args) end
Public Instance Methods
update!(**args)
click to toggle source
Update properties of this object
# File generated/google/apis/plus_v1/classes.rb, line 1229 def update!(**args) @content = args[:content] if args.key?(:content) @object_type = args[:object_type] if args.key?(:object_type) @original_content = args[:original_content] if args.key?(:original_content) end