class Google::Apis::YoutubeV3::PageInfo

Paging details for lists of resources, including total number of items available and number of resources returned in a single page.

Attributes

results_per_page[RW]

The number of results included in the API response. Corresponds to the JSON property `resultsPerPage` @return [Fixnum]

total_results[RW]

The total number of results in the result set. Corresponds to the JSON property `totalResults` @return [Fixnum]

Public Class Methods

new(**args) click to toggle source
# File generated/google/apis/youtube_v3/classes.rb, line 5165
def initialize(**args)
   update!(**args)
end

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File generated/google/apis/youtube_v3/classes.rb, line 5170
def update!(**args)
  @results_per_page = args[:results_per_page] if args.key?(:results_per_page)
  @total_results = args[:total_results] if args.key?(:total_results)
end