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

This is a JSON template for a list of hidden players.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

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

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

#kindString

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

Returns:

  • (String)

288
289
290
# File 'generated/google/apis/games_management_v1management/classes.rb', line 288

def kind
  @kind
end

#next_page_tokenString

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

Returns:

  • (String)

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