Class: Google::Apis::GanV1beta1::Publishers
- Inherits:
-
Object
- Object
- Google::Apis::GanV1beta1::Publishers
- 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::Publisher>
The entity list.
-
#kind ⇒ String
The kind for a page of entities.
-
#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) ⇒ Publishers
constructor
A new instance of Publishers.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ Publishers
Returns a new instance of Publishers
1353 1354 1355 |
# File 'generated/google/apis/gan_v1beta1/classes.rb', line 1353 def initialize(**args) update!(**args) end |
Instance Attribute Details
#items ⇒ Array<Google::Apis::GanV1beta1::Publisher>
The entity list.
Corresponds to the JSON property items
1340 1341 1342 |
# File 'generated/google/apis/gan_v1beta1/classes.rb', line 1340 def items @items end |
#kind ⇒ String
The kind for a page of entities.
Corresponds to the JSON property kind
1345 1346 1347 |
# File 'generated/google/apis/gan_v1beta1/classes.rb', line 1345 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
1351 1352 1353 |
# File 'generated/google/apis/gan_v1beta1/classes.rb', line 1351 def next_page_token @next_page_token end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1358 1359 1360 1361 1362 |
# File 'generated/google/apis/gan_v1beta1/classes.rb', line 1358 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 |