Class: Google::Apis::AdmobV1beta::ListAppsResponse

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

Overview

Response for the apps list request.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ListAppsResponse

Returns a new instance of ListAppsResponse.



1010
1011
1012
# File 'lib/google/apis/admob_v1beta/classes.rb', line 1010

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

Instance Attribute Details

#appsArray<Google::Apis::AdmobV1beta::App>

The resulting apps for the requested account. Corresponds to the JSON property apps

Returns:



1002
1003
1004
# File 'lib/google/apis/admob_v1beta/classes.rb', line 1002

def apps
  @apps
end

#next_page_tokenString

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

Returns:

  • (String)


1008
1009
1010
# File 'lib/google/apis/admob_v1beta/classes.rb', line 1008

def next_page_token
  @next_page_token
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1015
1016
1017
1018
# File 'lib/google/apis/admob_v1beta/classes.rb', line 1015

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