class Google::Apis::PlusDomainsV1::Comment
Attributes
The person who posted this comment. Corresponds to the JSON property `actor` @return [Google::Apis::PlusDomainsV1::Comment::Actor]
ETag of this response for caching purposes. Corresponds to the JSON property `etag` @return [String]
The ID of this comment. Corresponds to the JSON property `id` @return [String]
The activity this comment replied to. Corresponds to the JSON property `inReplyTo` @return [Array<Google::Apis::PlusDomainsV1::Comment::InReplyTo>]
Identifies this resource as a comment. Value: “plus#comment”. Corresponds to the JSON property `kind` @return [String]
The object of this comment. Corresponds to the JSON property `object` @return [Google::Apis::PlusDomainsV1::Comment::Object]
People who +1'd this comment. Corresponds to the JSON property `plusoners` @return [Google::Apis::PlusDomainsV1::Comment::Plusoners]
The time at which this comment was initially published. Formatted as an RFC 3339 timestamp. Corresponds to the JSON property `published` @return [DateTime]
Link to this comment resource. Corresponds to the JSON property `selfLink` @return [String]
The time at which this comment was last updated. Formatted as an RFC 3339 timestamp. Corresponds to the JSON property `updated` @return [DateTime]
This comment's verb, indicating what action was performed. Possible values are:
-
“post” - Publish content to the stream.
Corresponds to the JSON property `verb` @return [String]
Public Class Methods
# File generated/google/apis/plus_domains_v1/classes.rb, line 1350 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File generated/google/apis/plus_domains_v1/classes.rb, line 1355 def update!(**args) @actor = args[:actor] if args.key?(:actor) @etag = args[:etag] if args.key?(:etag) @id = args[:id] if args.key?(:id) @in_reply_to = args[:in_reply_to] if args.key?(:in_reply_to) @kind = args[:kind] if args.key?(:kind) @object = args[:object] if args.key?(:object) @plusoners = args[:plusoners] if args.key?(:plusoners) @published = args[:published] if args.key?(:published) @self_link = args[:self_link] if args.key?(:self_link) @updated = args[:updated] if args.key?(:updated) @verb = args[:verb] if args.key?(:verb) end