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_token
in theListAdSourcesRequest
to 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.
807 808 809 |
# File 'lib/google/apis/admob_v1beta/classes.rb', line 807 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
799 800 801 |
# File 'lib/google/apis/admob_v1beta/classes.rb', line 799 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
805 806 807 |
# File 'lib/google/apis/admob_v1beta/classes.rb', line 805 def next_page_token @next_page_token end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
812 813 814 815 |
# File 'lib/google/apis/admob_v1beta/classes.rb', line 812 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 |