Class: Google::Apis::GamesManagementV1management::HiddenPlayerList

Inherits:
Object
  • Object
show all
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

Instance Method Summary collapse

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

#itemsArray<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

#kindString

Uniquely identifies the type of this resource. Value is always the fixed string gamesManagement#hiddenPlayerList. Corresponds to the JSON property kind

Returns:

  • (String)


258
259
260
# File 'generated/google/apis/games_management_v1management/classes.rb', line 258

def kind
  @kind
end

#next_page_tokenString

The pagination token for the next page of results. Corresponds to the JSON property nextPageToken

Returns:

  • (String)


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