Class: Google::Apis::AdmobV1::ListAppsResponse
- Inherits:
-
Object
- Object
- Google::Apis::AdmobV1::ListAppsResponse
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/admob_v1/classes.rb,
lib/google/apis/admob_v1/representations.rb,
lib/google/apis/admob_v1/representations.rb
Overview
Response for the apps list request.
Instance Attribute Summary collapse
-
#apps ⇒ Array<Google::Apis::AdmobV1::App>
The resulting apps for the requested account.
-
#next_page_token ⇒ String
If not empty, indicates that there may be more apps for the request; this value should be passed in a new
ListAppsRequest
.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ListAppsResponse
constructor
A new instance of ListAppsResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ListAppsResponse
Returns a new instance of ListAppsResponse.
462 463 464 |
# File 'lib/google/apis/admob_v1/classes.rb', line 462 def initialize(**args) update!(**args) end |
Instance Attribute Details
#apps ⇒ Array<Google::Apis::AdmobV1::App>
The resulting apps for the requested account.
Corresponds to the JSON property apps
454 455 456 |
# File 'lib/google/apis/admob_v1/classes.rb', line 454 def apps @apps end |
#next_page_token ⇒ String
If not empty, indicates that there may be more apps for the request; this
value should be passed in a new ListAppsRequest
.
Corresponds to the JSON property nextPageToken
460 461 462 |
# File 'lib/google/apis/admob_v1/classes.rb', line 460 def next_page_token @next_page_token end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
467 468 469 470 |
# File 'lib/google/apis/admob_v1/classes.rb', line 467 def update!(**args) @apps = args[:apps] if args.key?(:apps) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) end |