Class: Google::Apis::AdmobV1beta::ListAdUnitsResponse
- Inherits:
-
Object
- Object
- Google::Apis::AdmobV1beta::ListAdUnitsResponse
- 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 ad units list request.
Instance Attribute Summary collapse
-
#ad_units ⇒ Array<Google::Apis::AdmobV1beta::AdUnit>
The resulting ad units for the requested account.
-
#next_page_token ⇒ String
If not empty, indicates that there may be more ad units for the request; this value should be passed in a new
ListAdUnitsRequest
.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ListAdUnitsResponse
constructor
A new instance of ListAdUnitsResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ListAdUnitsResponse
Returns a new instance of ListAdUnitsResponse.
859 860 861 |
# File 'lib/google/apis/admob_v1beta/classes.rb', line 859 def initialize(**args) update!(**args) end |
Instance Attribute Details
#ad_units ⇒ Array<Google::Apis::AdmobV1beta::AdUnit>
The resulting ad units for the requested account.
Corresponds to the JSON property adUnits
851 852 853 |
# File 'lib/google/apis/admob_v1beta/classes.rb', line 851 def ad_units @ad_units end |
#next_page_token ⇒ String
If not empty, indicates that there may be more ad units for the request; this
value should be passed in a new ListAdUnitsRequest
.
Corresponds to the JSON property nextPageToken
857 858 859 |
# File 'lib/google/apis/admob_v1beta/classes.rb', line 857 def next_page_token @next_page_token end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
864 865 866 867 |
# File 'lib/google/apis/admob_v1beta/classes.rb', line 864 def update!(**args) @ad_units = args[:ad_units] if args.key?(:ad_units) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) end |