Class: Google::Apis::PlusDomainsV1::ActivityFeed

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/plus_domains_v1/classes.rb,
generated/google/apis/plus_domains_v1/representations.rb,
generated/google/apis/plus_domains_v1/representations.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ ActivityFeed

Returns a new instance of ActivityFeed



1038
1039
1040
# File 'generated/google/apis/plus_domains_v1/classes.rb', line 1038

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#etagString

ETag of this response for caching purposes. Corresponds to the JSON property etag

Returns:

  • (String)


992
993
994
# File 'generated/google/apis/plus_domains_v1/classes.rb', line 992

def etag
  @etag
end

#idString

The ID of this collection of activities. Deprecated. Corresponds to the JSON property id

Returns:

  • (String)


997
998
999
# File 'generated/google/apis/plus_domains_v1/classes.rb', line 997

def id
  @id
end

#itemsArray<Google::Apis::PlusDomainsV1::Activity>

The activities in this page of results. Corresponds to the JSON property items



1002
1003
1004
# File 'generated/google/apis/plus_domains_v1/classes.rb', line 1002

def items
  @items
end

#kindString

Identifies this resource as a collection of activities. Value: "plus# activityFeed". Corresponds to the JSON property kind

Returns:

  • (String)


1008
1009
1010
# File 'generated/google/apis/plus_domains_v1/classes.rb', line 1008

def kind
  @kind
end

Link to the next page of activities. Corresponds to the JSON property nextLink

Returns:

  • (String)


1013
1014
1015
# File 'generated/google/apis/plus_domains_v1/classes.rb', line 1013

def next_link
  @next_link
end

#next_page_tokenString

The continuation token, which is used to page through large result sets. Provide this value in a subsequent request to return the next page of results. Corresponds to the JSON property nextPageToken

Returns:

  • (String)


1019
1020
1021
# File 'generated/google/apis/plus_domains_v1/classes.rb', line 1019

def next_page_token
  @next_page_token
end

Link to this activity resource. Corresponds to the JSON property selfLink

Returns:

  • (String)


1024
1025
1026
# File 'generated/google/apis/plus_domains_v1/classes.rb', line 1024

def self_link
  @self_link
end

#titleString

The title of this collection of activities, which is a truncated portion of the content. Corresponds to the JSON property title

Returns:

  • (String)


1030
1031
1032
# File 'generated/google/apis/plus_domains_v1/classes.rb', line 1030

def title
  @title
end

#updatedDateTime

The time at which this collection of activities was last updated. Formatted as an RFC 3339 timestamp. Corresponds to the JSON property updated

Returns:

  • (DateTime)


1036
1037
1038
# File 'generated/google/apis/plus_domains_v1/classes.rb', line 1036

def updated
  @updated
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1043
1044
1045
1046
1047
1048
1049
1050
1051
1052
1053
# File 'generated/google/apis/plus_domains_v1/classes.rb', line 1043

def update!(**args)
  @etag = args[:etag] if args.key?(:etag)
  @id = args[:id] if args.key?(:id)
  @items = args[:items] if args.key?(:items)
  @kind = args[:kind] if args.key?(:kind)
  @next_link = args[:next_link] if args.key?(:next_link)
  @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
  @self_link = args[:self_link] if args.key?(:self_link)
  @title = args[:title] if args.key?(:title)
  @updated = args[:updated] if args.key?(:updated)
end