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
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.
Constructor Details
#initialize(**args) ⇒ HiddenPlayerList
Returns a new instance of HiddenPlayerList.
265 266 267 |
# File 'generated/google/apis/games_management_v1management/classes.rb', line 265 def initialize(**args) update!(**args) end |
Instance Attribute Details
#items ⇒ Array<Google::Apis::GamesManagementV1management::HiddenPlayer>
The players.
Corresponds to the JSON property items
252 253 254 |
# File 'generated/google/apis/games_management_v1management/classes.rb', line 252 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
258 259 260 |
# File 'generated/google/apis/games_management_v1management/classes.rb', line 258 def kind @kind end |
#next_page_token ⇒ String
The pagination token for the next page of results.
Corresponds to the JSON property nextPageToken
263 264 265 |
# File 'generated/google/apis/games_management_v1management/classes.rb', line 263 def next_page_token @next_page_token end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
270 271 272 273 274 |
# File 'generated/google/apis/games_management_v1management/classes.rb', line 270 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 |