class Google::Apis::PlusV1::Comment

Attributes

actor[RW]

The person who posted this comment. Corresponds to the JSON property `actor` @return [Google::Apis::PlusV1::Comment::Actor]

etag[RW]

ETag of this response for caching purposes. Corresponds to the JSON property `etag` @return [String]

id[RW]

The ID of this comment. Corresponds to the JSON property `id` @return [String]

in_reply_to[RW]

The activity this comment replied to. Corresponds to the JSON property `inReplyTo` @return [Array<Google::Apis::PlusV1::Comment::InReplyTo>]

kind[RW]

Identifies this resource as a comment. Value: “plus#comment”. Corresponds to the JSON property `kind` @return [String]

object[RW]

The object of this comment. Corresponds to the JSON property `object` @return [Google::Apis::PlusV1::Comment::Object]

plusoners[RW]

People who +1'd this comment. Corresponds to the JSON property `plusoners` @return [Google::Apis::PlusV1::Comment::Plusoners]

published[RW]

The time at which this comment was initially published. Formatted as an RFC 3339 timestamp. Corresponds to the JSON property `published` @return [DateTime]

updated[RW]

The time at which this comment was last updated. Formatted as an RFC 3339 timestamp. Corresponds to the JSON property `updated` @return [DateTime]

verb[RW]

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

new(**args) click to toggle source
# File generated/google/apis/plus_v1/classes.rb, line 1031
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 1036
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