Class: Google::Apis::AdmobV1beta::ListAdSourcesResponse
- Inherits:
-
Object
- Object
- Google::Apis::AdmobV1beta::ListAdSourcesResponse
- 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 ListAdSourcesRequest.
Instance Attribute Summary collapse
-
#ad_sources ⇒ Array<Google::Apis::AdmobV1beta::AdSource>
The ad sources.
-
#next_page_token ⇒ String
Used to set the
page_tokenin theListAdSourcesRequestto retrieve the next page.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ListAdSourcesResponse
constructor
A new instance of ListAdSourcesResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ListAdSourcesResponse
Returns a new instance of ListAdSourcesResponse.
460 461 462 |
# File 'lib/google/apis/admob_v1beta/classes.rb', line 460 def initialize(**args) update!(**args) end |
Instance Attribute Details
#ad_sources ⇒ Array<Google::Apis::AdmobV1beta::AdSource>
The ad sources.
Corresponds to the JSON property adSources
452 453 454 |
# File 'lib/google/apis/admob_v1beta/classes.rb', line 452 def ad_sources @ad_sources end |
#next_page_token ⇒ String
Used to set the page_token in the ListAdSourcesRequest to retrieve the
next page. If this field is omitted, there are no subsequent pages.
Corresponds to the JSON property nextPageToken
458 459 460 |
# File 'lib/google/apis/admob_v1beta/classes.rb', line 458 def next_page_token @next_page_token end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
465 466 467 468 |
# File 'lib/google/apis/admob_v1beta/classes.rb', line 465 def update!(**args) @ad_sources = args[:ad_sources] if args.key?(:ad_sources) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) end |