Class: Google::Apis::AdmobV1beta::ListAdUnitMappingsResponse
- Inherits:
-
Object
- Object
- Google::Apis::AdmobV1beta::ListAdUnitMappingsResponse
- 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 ListAdUnitMappingsRequest.
Instance Attribute Summary collapse
-
#ad_unit_mappings ⇒ Array<Google::Apis::AdmobV1beta::AdUnitMapping>
The ad unit mappings from the specified account and ad unit.
-
#next_page_token ⇒ String
Used to set the
page_token
in theListAdUnitMappingsRequest
to retrieve the next page.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ListAdUnitMappingsResponse
constructor
A new instance of ListAdUnitMappingsResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ListAdUnitMappingsResponse
Returns a new instance of ListAdUnitMappingsResponse.
833 834 835 |
# File 'lib/google/apis/admob_v1beta/classes.rb', line 833 def initialize(**args) update!(**args) end |
Instance Attribute Details
#ad_unit_mappings ⇒ Array<Google::Apis::AdmobV1beta::AdUnitMapping>
The ad unit mappings from the specified account and ad unit.
Corresponds to the JSON property adUnitMappings
825 826 827 |
# File 'lib/google/apis/admob_v1beta/classes.rb', line 825 def ad_unit_mappings @ad_unit_mappings end |
#next_page_token ⇒ String
Used to set the page_token
in the ListAdUnitMappingsRequest
to retrieve
the next page. If this field is omitted, there are no subsequent pages.
Corresponds to the JSON property nextPageToken
831 832 833 |
# File 'lib/google/apis/admob_v1beta/classes.rb', line 831 def next_page_token @next_page_token end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
838 839 840 841 |
# File 'lib/google/apis/admob_v1beta/classes.rb', line 838 def update!(**args) @ad_unit_mappings = args[:ad_unit_mappings] if args.key?(:ad_unit_mappings) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) end |