Class: Google::Apis::GameservicesV1beta::ListGameServerClustersResponse

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

Overview

Response message for GameServerClustersService.ListGameServerClusters.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ListGameServerClustersResponse

Returns a new instance of ListGameServerClustersResponse.



1013
1014
1015
# File 'generated/google/apis/gameservices_v1beta/classes.rb', line 1013

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

Instance Attribute Details

#game_server_clustersArray<Google::Apis::GameservicesV1beta::GameServerCluster>

The list of game server clusters. Corresponds to the JSON property gameServerClusters



1000
1001
1002
# File 'generated/google/apis/gameservices_v1beta/classes.rb', line 1000

def game_server_clusters
  @game_server_clusters
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)


1006
1007
1008
# File 'generated/google/apis/gameservices_v1beta/classes.rb', line 1006

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>)


1011
1012
1013
# File 'generated/google/apis/gameservices_v1beta/classes.rb', line 1011

def unreachable
  @unreachable
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1018
1019
1020
1021
1022
# File 'generated/google/apis/gameservices_v1beta/classes.rb', line 1018

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