Class: Google::Apis::GamesManagementV1management::HiddenPlayerList
- Inherits:
-
Object
- Object
- Google::Apis::GamesManagementV1management::HiddenPlayerList
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- generated/google/apis/games_management_v1management/classes.rb,
generated/google/apis/games_management_v1management/representations.rb,
generated/google/apis/games_management_v1management/representations.rb
Overview
This is a JSON template for a list of hidden players.
Instance Attribute Summary collapse
-
#items ⇒ Array<Google::Apis::GamesManagementV1management::HiddenPlayer>
The players.
-
#kind ⇒ String
Uniquely identifies the type of this resource.
-
#next_page_token ⇒ String
The pagination token for the next page of results.
Instance Method Summary collapse
-
#initialize(**args) ⇒ HiddenPlayerList
constructor
A new instance of HiddenPlayerList.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ HiddenPlayerList
Returns a new instance of HiddenPlayerList
295 296 297 |
# File 'generated/google/apis/games_management_v1management/classes.rb', line 295 def initialize(**args) update!(**args) end |
Instance Attribute Details
#items ⇒ Array<Google::Apis::GamesManagementV1management::HiddenPlayer>
The players.
Corresponds to the JSON property items
282 283 284 |
# File 'generated/google/apis/games_management_v1management/classes.rb', line 282 def items @items end |
#kind ⇒ String
Uniquely identifies the type of this resource. Value is always the fixed
string gamesManagement#hiddenPlayerList.
Corresponds to the JSON property kind
288 289 290 |
# File 'generated/google/apis/games_management_v1management/classes.rb', line 288 def kind @kind end |
#next_page_token ⇒ String
The pagination token for the next page of results.
Corresponds to the JSON property nextPageToken
293 294 295 |
# File 'generated/google/apis/games_management_v1management/classes.rb', line 293 def next_page_token @next_page_token end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
300 301 302 303 304 |
# File 'generated/google/apis/games_management_v1management/classes.rb', line 300 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 |