Class: Google::Apis::PlusDomainsV1::PeopleFeed

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) ⇒ PeopleFeed


1889
1890
1891
# File 'generated/google/apis/plus_domains_v1/classes.rb', line 1889

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

Instance Attribute Details

#etagString

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


1852
1853
1854
# File 'generated/google/apis/plus_domains_v1/classes.rb', line 1852

def etag
  @etag
end

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

The people in this page of results. Each item includes the id, displayName, image, and url for the person. To retrieve additional profile data, see the people.get method. Corresponds to the JSON property items


1859
1860
1861
# File 'generated/google/apis/plus_domains_v1/classes.rb', line 1859

def items
  @items
end

#kindString

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


1864
1865
1866
# File 'generated/google/apis/plus_domains_v1/classes.rb', line 1864

def kind
  @kind
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


1870
1871
1872
# File 'generated/google/apis/plus_domains_v1/classes.rb', line 1870

def next_page_token
  @next_page_token
end

Link to this resource. Corresponds to the JSON property selfLink


1875
1876
1877
# File 'generated/google/apis/plus_domains_v1/classes.rb', line 1875

def self_link
  @self_link
end

#titleString

The title of this collection of people. Corresponds to the JSON property title


1880
1881
1882
# File 'generated/google/apis/plus_domains_v1/classes.rb', line 1880

def title
  @title
end

#total_itemsFixnum

The total number of people available in this list. The number of people in a response might be smaller due to paging. This might not be set for all collections. Corresponds to the JSON property totalItems


1887
1888
1889
# File 'generated/google/apis/plus_domains_v1/classes.rb', line 1887

def total_items
  @total_items
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object


1894
1895
1896
1897
1898
1899
1900
1901
1902
# File 'generated/google/apis/plus_domains_v1/classes.rb', line 1894

def update!(**args)
  @etag = args[:etag] if args.key?(:etag)
  @items = args[:items] if args.key?(:items)
  @kind = args[:kind] if args.key?(:kind)
  @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)
  @total_items = args[:total_items] if args.key?(:total_items)
end