class Google::Apis::PlusV1::Activity
Attributes
Identifies who has access to see this activity. Corresponds to the JSON property `access` @return [Google::Apis::PlusV1::Acl]
The person who performed this activity. Corresponds to the JSON property `actor` @return [Google::Apis::PlusV1::Activity::Actor]
Street address where this activity occurred. Corresponds to the JSON property `address` @return [String]
Additional content added by the person who shared this activity, applicable only when resharing an activity. Corresponds to the JSON property `annotation` @return [String]
If this activity is a crosspost from another system, this property specifies the ID of the original activity. Corresponds to the JSON property `crosspostSource` @return [String]
ETag of this response for caching purposes. Corresponds to the JSON property `etag` @return [String]
Latitude and longitude where this activity occurred. Format is latitude followed by longitude, space separated. Corresponds to the JSON property `geocode` @return [String]
The ID of this activity. Corresponds to the JSON property `id` @return [String]
Identifies this resource as an activity. Value: “plus#activity”. Corresponds to the JSON property `kind` @return [String]
The location where this activity occurred. Corresponds to the JSON property `location` @return [Google::Apis::PlusV1::Place]
The object of this activity. Corresponds to the JSON property `object` @return [Google::Apis::PlusV1::Activity::Object]
ID of the place where this activity occurred. Corresponds to the JSON property `placeId` @return [String]
Name of the place where this activity occurred. Corresponds to the JSON property `placeName` @return [String]
The service provider that initially published this activity. Corresponds to the JSON property `provider` @return [Google::Apis::PlusV1::Activity::Provider]
The time at which this activity was initially published. Formatted as an RFC 3339 timestamp. Corresponds to the JSON property `published` @return [DateTime]
Radius, in meters, of the region where this activity occurred, centered at the latitude and longitude identified in geocode. Corresponds to the JSON property `radius` @return [String]
Title of this activity. Corresponds to the JSON property `title` @return [String]
The time at which this activity was last updated. Formatted as an RFC 3339 timestamp. Corresponds to the JSON property `updated` @return [DateTime]
The link to this activity. Corresponds to the JSON property `url` @return [String]
This activity's verb, which indicates the action that was performed. Possible values include, but are not limited to, the following values:
-
“post” - Publish content to the stream.
-
“share” - Reshare an activity.
Corresponds to the JSON property `verb` @return [String]
Public Class Methods
# File generated/google/apis/plus_v1/classes.rb, line 169 def initialize(**args) update!(**args) end
Public Instance Methods
Update properties of this object
# File generated/google/apis/plus_v1/classes.rb, line 174 def update!(**args) @access = args[:access] if args.key?(:access) @actor = args[:actor] if args.key?(:actor) @address = args[:address] if args.key?(:address) @annotation = args[:annotation] if args.key?(:annotation) @crosspost_source = args[:crosspost_source] if args.key?(:crosspost_source) @etag = args[:etag] if args.key?(:etag) @geocode = args[:geocode] if args.key?(:geocode) @id = args[:id] if args.key?(:id) @kind = args[:kind] if args.key?(:kind) @location = args[:location] if args.key?(:location) @object = args[:object] if args.key?(:object) @place_id = args[:place_id] if args.key?(:place_id) @place_name = args[:place_name] if args.key?(:place_name) @provider = args[:provider] if args.key?(:provider) @published = args[:published] if args.key?(:published) @radius = args[:radius] if args.key?(:radius) @title = args[:title] if args.key?(:title) @updated = args[:updated] if args.key?(:updated) @url = args[:url] if args.key?(:url) @verb = args[:verb] if args.key?(:verb) end