Class: Google::Apis::DisplayvideoV1::ListAdvertisersResponse
- Inherits:
-
Object
- Object
- Google::Apis::DisplayvideoV1::ListAdvertisersResponse
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/displayvideo_v1/classes.rb,
lib/google/apis/displayvideo_v1/representations.rb,
lib/google/apis/displayvideo_v1/representations.rb
Instance Attribute Summary collapse
-
#advertisers ⇒ Array<Google::Apis::DisplayvideoV1::Advertiser>
The list of advertisers.
-
#next_page_token ⇒ String
A token to retrieve the next page of results.
Instance Method Summary collapse
-
#initialize(**args) ⇒ ListAdvertisersResponse
constructor
A new instance of ListAdvertisersResponse.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ ListAdvertisersResponse
Returns a new instance of ListAdvertisersResponse.
6757 6758 6759 |
# File 'lib/google/apis/displayvideo_v1/classes.rb', line 6757 def initialize(**args) update!(**args) end |
Instance Attribute Details
#advertisers ⇒ Array<Google::Apis::DisplayvideoV1::Advertiser>
The list of advertisers. This list will be absent if empty.
Corresponds to the JSON property advertisers
6748 6749 6750 |
# File 'lib/google/apis/displayvideo_v1/classes.rb', line 6748 def advertisers @advertisers end |
#next_page_token ⇒ String
A token to retrieve the next page of results. Pass this value in the
page_token field in the subsequent call to ListAdvertisers method to
retrieve the next page of results.
Corresponds to the JSON property nextPageToken
6755 6756 6757 |
# File 'lib/google/apis/displayvideo_v1/classes.rb', line 6755 def next_page_token @next_page_token end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
6762 6763 6764 6765 |
# File 'lib/google/apis/displayvideo_v1/classes.rb', line 6762 def update!(**args) @advertisers = args[:advertisers] if args.key?(:advertisers) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) end |