Class: Google::Apis::AdsenseV2::ListSavedReportsResponse

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

Overview

Response definition for the saved reports list rpc.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ListSavedReportsResponse

Returns a new instance of ListSavedReportsResponse.



786
787
788
# File 'lib/google/apis/adsense_v2/classes.rb', line 786

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

Instance Attribute Details

#next_page_tokenString

Continuation token used to page through reports. To retrieve the next page of the results, set the next request's "page_token" value to this. Corresponds to the JSON property nextPageToken

Returns:

  • (String)


779
780
781
# File 'lib/google/apis/adsense_v2/classes.rb', line 779

def next_page_token
  @next_page_token
end

#saved_reportsArray<Google::Apis::AdsenseV2::SavedReport>

The reports returned in this list response. Corresponds to the JSON property savedReports



784
785
786
# File 'lib/google/apis/adsense_v2/classes.rb', line 784

def saved_reports
  @saved_reports
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



791
792
793
794
# File 'lib/google/apis/adsense_v2/classes.rb', line 791

def update!(**args)
  @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
  @saved_reports = args[:saved_reports] if args.key?(:saved_reports)
end