Class: Google::Apis::GameservicesV1::ListGameServerConfigsResponse

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
lib/google/apis/gameservices_v1/classes.rb,
lib/google/apis/gameservices_v1/representations.rb,
lib/google/apis/gameservices_v1/representations.rb

Overview

Response message for GameServerConfigsService.ListGameServerConfigs.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ListGameServerConfigsResponse

Returns a new instance of ListGameServerConfigsResponse.



1101
1102
1103
# File 'lib/google/apis/gameservices_v1/classes.rb', line 1101

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#game_server_configsArray<Google::Apis::GameservicesV1::GameServerConfig>

The list of game server configs. Corresponds to the JSON property gameServerConfigs



1088
1089
1090
# File 'lib/google/apis/gameservices_v1/classes.rb', line 1088

def game_server_configs
  @game_server_configs
end

#next_page_tokenString

Token to retrieve the next page of results, or empty if there are no more results in the list. Corresponds to the JSON property nextPageToken

Returns:

  • (String)


1094
1095
1096
# File 'lib/google/apis/gameservices_v1/classes.rb', line 1094

def next_page_token
  @next_page_token
end

#unreachableArray<String>

List of locations that could not be reached. Corresponds to the JSON property unreachable

Returns:

  • (Array<String>)


1099
1100
1101
# File 'lib/google/apis/gameservices_v1/classes.rb', line 1099

def unreachable
  @unreachable
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1106
1107
1108
1109
1110
# File 'lib/google/apis/gameservices_v1/classes.rb', line 1106

def update!(**args)
  @game_server_configs = args[:game_server_configs] if args.key?(:game_server_configs)
  @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
  @unreachable = args[:unreachable] if args.key?(:unreachable)
end