Class: Google::Apis::AdsenseplatformV1alpha::ListPlatformsResponse
- Inherits:
-
Object
- Object
- Google::Apis::AdsenseplatformV1alpha::ListPlatformsResponse
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/adsenseplatform_v1alpha/classes.rb,
lib/google/apis/adsenseplatform_v1alpha/representations.rb,
lib/google/apis/adsenseplatform_v1alpha/representations.rb
Overview
Response definition for the platform list rpc.
Instance Attribute Summary collapse
-
#next_page_token ⇒ String
Continuation token used to page through platforms.
-
#platforms ⇒ Array<Google::Apis::AdsenseplatformV1alpha::Platform>
The platforms returned in this list response.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ListPlatformsResponse
constructor
A new instance of ListPlatformsResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ListPlatformsResponse
Returns a new instance of ListPlatformsResponse.
307 308 309 |
# File 'lib/google/apis/adsenseplatform_v1alpha/classes.rb', line 307 def initialize(**args) update!(**args) end |
Instance Attribute Details
#next_page_token ⇒ String
Continuation token used to page through platforms. To retrieve the next page
of the results, set the next request's "page_token" value to this.
Corresponds to the JSON property nextPageToken
300 301 302 |
# File 'lib/google/apis/adsenseplatform_v1alpha/classes.rb', line 300 def next_page_token @next_page_token end |
#platforms ⇒ Array<Google::Apis::AdsenseplatformV1alpha::Platform>
The platforms returned in this list response.
Corresponds to the JSON property platforms
305 306 307 |
# File 'lib/google/apis/adsenseplatform_v1alpha/classes.rb', line 305 def platforms @platforms end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
312 313 314 315 |
# File 'lib/google/apis/adsenseplatform_v1alpha/classes.rb', line 312 def update!(**args) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) @platforms = args[:platforms] if args.key?(:platforms) end |