Class: Google::Apis::AdsenseplatformV1alpha::ListPlatformGroupsResponse
- Inherits:
-
Object
- Object
- Google::Apis::AdsenseplatformV1alpha::ListPlatformGroupsResponse
- 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 groups list rpc.
Instance Attribute Summary collapse
-
#next_page_token ⇒ String
Continuation token used to page through platforms.
-
#platform_groups ⇒ Array<Google::Apis::AdsenseplatformV1alpha::PlatformGroup>
The platform groups returned in this list response.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ListPlatformGroupsResponse
constructor
A new instance of ListPlatformGroupsResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ListPlatformGroupsResponse
Returns a new instance of ListPlatformGroupsResponse.
389 390 391 |
# File 'lib/google/apis/adsenseplatform_v1alpha/classes.rb', line 389 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
382 383 384 |
# File 'lib/google/apis/adsenseplatform_v1alpha/classes.rb', line 382 def next_page_token @next_page_token end |
#platform_groups ⇒ Array<Google::Apis::AdsenseplatformV1alpha::PlatformGroup>
The platform groups returned in this list response.
Corresponds to the JSON property platformGroups
387 388 389 |
# File 'lib/google/apis/adsenseplatform_v1alpha/classes.rb', line 387 def platform_groups @platform_groups end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
394 395 396 397 |
# File 'lib/google/apis/adsenseplatform_v1alpha/classes.rb', line 394 def update!(**args) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) @platform_groups = args[:platform_groups] if args.key?(:platform_groups) end |