Class: Google::Apis::GanV1beta1::Advertisers
- Inherits:
-
Object
- Object
- Google::Apis::GanV1beta1::Advertisers
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/gan_v1beta1/classes.rb,
generated/google/apis/gan_v1beta1/representations.rb,
generated/google/apis/gan_v1beta1/representations.rb
Instance Attribute Summary collapse
-
#items ⇒ Array<Google::Apis::GanV1beta1::Advertiser>
The advertiser list.
-
#kind ⇒ String
The kind for a page of advertisers.
-
#next_page_token ⇒ String
The 'pageToken' to pass to the next request to get the next page, if there are more to retrieve.
Instance Method Summary collapse
-
#initialize(**args) ⇒ Advertisers
constructor
A new instance of Advertisers.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ Advertisers
Returns a new instance of Advertisers
192 193 194 |
# File 'generated/google/apis/gan_v1beta1/classes.rb', line 192 def initialize(**args) update!(**args) end |
Instance Attribute Details
#items ⇒ Array<Google::Apis::GanV1beta1::Advertiser>
The advertiser list.
Corresponds to the JSON property items
179 180 181 |
# File 'generated/google/apis/gan_v1beta1/classes.rb', line 179 def items @items end |
#kind ⇒ String
The kind for a page of advertisers.
Corresponds to the JSON property kind
184 185 186 |
# File 'generated/google/apis/gan_v1beta1/classes.rb', line 184 def kind @kind end |
#next_page_token ⇒ String
The 'pageToken' to pass to the next request to get the next page, if there are
more to retrieve.
Corresponds to the JSON property nextPageToken
190 191 192 |
# File 'generated/google/apis/gan_v1beta1/classes.rb', line 190 def next_page_token @next_page_token end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
197 198 199 200 201 |
# File 'generated/google/apis/gan_v1beta1/classes.rb', line 197 def update!(**args) @items = args[:items] if args.key?(:items) @kind = args[:kind] if args.key?(:kind) @next_page_token = args[:next_page_token] if args.key?(:next_page_token) end |