Class: Google::Apis::PlusV1::ActivityFeed

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/plus_v1/classes.rb,
generated/google/apis/plus_v1/representations.rb,
generated/google/apis/plus_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



950
951
952
# File 'generated/google/apis/plus_v1/classes.rb', line 950

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)


904
905
906
# File 'generated/google/apis/plus_v1/classes.rb', line 904

def etag
  @etag
end

#idString

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

Returns:

  • (String)


909
910
911
# File 'generated/google/apis/plus_v1/classes.rb', line 909

def id
  @id
end

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

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

Returns:



914
915
916
# File 'generated/google/apis/plus_v1/classes.rb', line 914

def items
  @items
end

#kindString

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

Returns:

  • (String)


920
921
922
# File 'generated/google/apis/plus_v1/classes.rb', line 920

def kind
  @kind
end

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

Returns:

  • (String)


925
926
927
# File 'generated/google/apis/plus_v1/classes.rb', line 925

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)


931
932
933
# File 'generated/google/apis/plus_v1/classes.rb', line 931

def next_page_token
  @next_page_token
end

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

Returns:

  • (String)


936
937
938
# File 'generated/google/apis/plus_v1/classes.rb', line 936

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)


942
943
944
# File 'generated/google/apis/plus_v1/classes.rb', line 942

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)


948
949
950
# File 'generated/google/apis/plus_v1/classes.rb', line 948

def updated
  @updated
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



955
956
957
958
959
960
961
962
963
964
965
# File 'generated/google/apis/plus_v1/classes.rb', line 955

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