class Google::Apis::YoutubereportingV1::ListReportsResponse

Response message for ReportingService.ListReports.

Attributes

next_page_token[RW]

A token to retrieve next page of results. Pass this value in the ListReportsRequest.page_token field in the subsequent call to `ListReports` method to retrieve the next page of results. Corresponds to the JSON property `nextPageToken` @return [String]

reports[RW]

The list of report types. Corresponds to the JSON property `reports` @return [Array<Google::Apis::YoutubereportingV1::Report>]

Public Class Methods

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

Public Instance Methods

update!(**args) click to toggle source

Update properties of this object

# File generated/google/apis/youtubereporting_v1/classes.rb, line 215
def update!(**args)
  @reports = args[:reports] if args.key?(:reports)
  @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
end