Class: Google::Apis::GameservicesV1::ListGameServerDeploymentsResponse

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

Overview

Response message for GameServerDeploymentsService.ListGameServerDeployments.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ ListGameServerDeploymentsResponse

Returns a new instance of ListGameServerDeploymentsResponse.



1077
1078
1079
# File 'generated/google/apis/gameservices_v1/classes.rb', line 1077

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

Instance Attribute Details

#game_server_deploymentsArray<Google::Apis::GameservicesV1::GameServerDeployment>

The list of game server deployments. Corresponds to the JSON property gameServerDeployments



1064
1065
1066
# File 'generated/google/apis/gameservices_v1/classes.rb', line 1064

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


1070
1071
1072
# File 'generated/google/apis/gameservices_v1/classes.rb', line 1070

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


1075
1076
1077
# File 'generated/google/apis/gameservices_v1/classes.rb', line 1075

def unreachable
  @unreachable
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1082
1083
1084
1085
1086
# File 'generated/google/apis/gameservices_v1/classes.rb', line 1082

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