Class: Google::Apis::GameservicesV1beta::GameServicesService
- Inherits:
-
Core::BaseService
- Object
- Core::BaseService
- Google::Apis::GameservicesV1beta::GameServicesService
- Defined in:
- lib/google/apis/gameservices_v1beta/service.rb
Overview
Game Services API
Deploy and manage infrastructure for global multiplayer gaming experiences.
Instance Attribute Summary collapse
-
#key ⇒ String
API key.
-
#quota_user ⇒ String
Available to use for quota purposes for server-side applications.
Instance Method Summary collapse
-
#cancel_operation(name, cancel_operation_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GameservicesV1beta::Empty
Starts asynchronous cancellation on a long-running operation.
-
#create_project_location_game_server_deployment(parent, game_server_deployment_object = nil, deployment_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GameservicesV1beta::Operation
Creates a new game server deployment in a given project and location.
-
#create_project_location_game_server_deployment_config(parent, game_server_config_object = nil, config_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GameservicesV1beta::Operation
Creates a new game server config in a given project, location, and game server deployment.
-
#create_project_location_realm(parent, realm_object = nil, realm_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GameservicesV1beta::Operation
Creates a new realm in a given project and location.
-
#create_project_location_realm_game_server_cluster(parent, game_server_cluster_object = nil, game_server_cluster_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GameservicesV1beta::Operation
Creates a new game server cluster in a given project and location.
-
#delete_project_location_game_server_deployment(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GameservicesV1beta::Operation
Deletes a single game server deployment.
-
#delete_project_location_game_server_deployment_config(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GameservicesV1beta::Operation
Deletes a single game server config.
-
#delete_project_location_operation(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GameservicesV1beta::Empty
Deletes a long-running operation.
-
#delete_project_location_realm(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GameservicesV1beta::Operation
Deletes a single realm.
-
#delete_project_location_realm_game_server_cluster(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GameservicesV1beta::Operation
Deletes a single game server cluster.
-
#fetch_game_server_deployment_deployment_state(name, fetch_deployment_state_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GameservicesV1beta::FetchDeploymentStateResponse
Retrieves information about the current state of the game server deployment.
-
#get_project_location(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GameservicesV1beta::Location
Gets information about a location.
-
#get_project_location_game_server_deployment(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GameservicesV1beta::GameServerDeployment
Gets details of a single game server deployment.
-
#get_project_location_game_server_deployment_config(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GameservicesV1beta::GameServerConfig
Gets details of a single game server config.
-
#get_project_location_game_server_deployment_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GameservicesV1beta::Policy
Gets the access control policy for a resource.
-
#get_project_location_game_server_deployment_rollout(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GameservicesV1beta::GameServerDeploymentRollout
Gets details of a single game server deployment rollout.
-
#get_project_location_operation(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GameservicesV1beta::Operation
Gets the latest state of a long-running operation.
-
#get_project_location_realm(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GameservicesV1beta::Realm
Gets details of a single realm.
-
#get_project_location_realm_game_server_cluster(name, view: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GameservicesV1beta::GameServerCluster
Gets details of a single game server cluster.
-
#initialize ⇒ GameServicesService
constructor
A new instance of GameServicesService.
-
#list_project_location_game_server_deployment_configs(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GameservicesV1beta::ListGameServerConfigsResponse
Lists game server configs in a given project, location, and game server deployment.
-
#list_project_location_game_server_deployments(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GameservicesV1beta::ListGameServerDeploymentsResponse
Lists game server deployments in a given project and location.
-
#list_project_location_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GameservicesV1beta::ListOperationsResponse
Lists operations that match the specified filter in the request.
-
#list_project_location_realm_game_server_clusters(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, view: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GameservicesV1beta::ListGameServerClustersResponse
Lists game server clusters in a given project and location.
-
#list_project_location_realms(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GameservicesV1beta::ListRealmsResponse
Lists realms in a given project and location.
-
#list_project_locations(name, filter: nil, include_unrevealed_locations: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GameservicesV1beta::ListLocationsResponse
Lists information about the supported locations for this service.
-
#patch_project_location_game_server_deployment(name, game_server_deployment_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GameservicesV1beta::Operation
Patches a game server deployment.
-
#patch_project_location_realm(name, realm_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GameservicesV1beta::Operation
Patches a single realm.
-
#patch_project_location_realm_game_server_cluster(name, game_server_cluster_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GameservicesV1beta::Operation
Patches a single game server cluster.
-
#preview_project_location_game_server_deployment_rollout(name, game_server_deployment_rollout_object = nil, preview_time: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GameservicesV1beta::PreviewGameServerDeploymentRolloutResponse
Previews the game server deployment rollout.
-
#preview_project_location_realm_game_server_cluster_create(parent, game_server_cluster_object = nil, game_server_cluster_id: nil, preview_time: nil, view: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GameservicesV1beta::PreviewCreateGameServerClusterResponse
Previews creation of a new game server cluster in a given project and location.
-
#preview_project_location_realm_game_server_cluster_delete(name, preview_time: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GameservicesV1beta::PreviewDeleteGameServerClusterResponse
Previews deletion of a single game server cluster.
-
#preview_project_location_realm_game_server_cluster_update(name, game_server_cluster_object = nil, preview_time: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GameservicesV1beta::PreviewUpdateGameServerClusterResponse
Previews updating a GameServerCluster.
-
#preview_project_location_realm_update(name, realm_object = nil, preview_time: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GameservicesV1beta::PreviewRealmUpdateResponse
Previews patches to a single realm.
-
#set_game_server_deployment_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GameservicesV1beta::Policy
Sets the access control policy on the specified resource.
-
#test_game_server_deployment_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GameservicesV1beta::TestIamPermissionsResponse
Returns permissions that a caller has on the specified resource.
-
#update_project_location_game_server_deployment_rollout(name, game_server_deployment_rollout_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GameservicesV1beta::Operation
Patches a single game server deployment rollout.
Constructor Details
#initialize ⇒ GameServicesService
Returns a new instance of GameServicesService.
45 46 47 48 49 50 |
# File 'lib/google/apis/gameservices_v1beta/service.rb', line 45 def initialize super('https://gameservices.googleapis.com/', '', client_name: 'google-apis-gameservices_v1beta', client_version: Google::Apis::GameservicesV1beta::GEM_VERSION) @batch_path = 'batch' end |
Instance Attribute Details
#key ⇒ String
Returns API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.
38 39 40 |
# File 'lib/google/apis/gameservices_v1beta/service.rb', line 38 def key @key end |
#quota_user ⇒ String
Returns Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.
43 44 45 |
# File 'lib/google/apis/gameservices_v1beta/service.rb', line 43 def quota_user @quota_user end |
Instance Method Details
#cancel_operation(name, cancel_operation_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GameservicesV1beta::Empty
Starts asynchronous cancellation on a long-running operation. The server makes
a best effort to cancel the operation, but success is not guaranteed. If the
server doesn't support this method, it returns google.rpc.Code.UNIMPLEMENTED.
Clients can use Operations.GetOperation or other methods to check whether the
cancellation succeeded or whether the operation completed despite cancellation.
On successful cancellation, the operation is not deleted; instead, it becomes
an operation with an Operation.error value with a google.rpc.Status.code of 1,
corresponding to Code.CANCELLED.
785 786 787 788 789 790 791 792 793 794 795 |
# File 'lib/google/apis/gameservices_v1beta/service.rb', line 785 def cancel_operation(name, cancel_operation_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1beta/{+name}:cancel', ) command.request_representation = Google::Apis::GameservicesV1beta::CancelOperationRequest::Representation command.request_object = cancel_operation_request_object command.response_representation = Google::Apis::GameservicesV1beta::Empty::Representation command.response_class = Google::Apis::GameservicesV1beta::Empty command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#create_project_location_game_server_deployment(parent, game_server_deployment_object = nil, deployment_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GameservicesV1beta::Operation
Creates a new game server deployment in a given project and location.
152 153 154 155 156 157 158 159 160 161 162 163 |
# File 'lib/google/apis/gameservices_v1beta/service.rb', line 152 def create_project_location_game_server_deployment(parent, game_server_deployment_object = nil, deployment_id: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1beta/{+parent}/gameServerDeployments', ) command.request_representation = Google::Apis::GameservicesV1beta::GameServerDeployment::Representation command.request_object = game_server_deployment_object command.response_representation = Google::Apis::GameservicesV1beta::Operation::Representation command.response_class = Google::Apis::GameservicesV1beta::Operation command.params['parent'] = parent unless parent.nil? command.query['deploymentId'] = deployment_id unless deployment_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#create_project_location_game_server_deployment_config(parent, game_server_config_object = nil, config_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GameservicesV1beta::Operation
Creates a new game server config in a given project, location, and game server deployment. Game server configs are immutable, and are not applied until referenced in the game server deployment rollout resource.
629 630 631 632 633 634 635 636 637 638 639 640 |
# File 'lib/google/apis/gameservices_v1beta/service.rb', line 629 def create_project_location_game_server_deployment_config(parent, game_server_config_object = nil, config_id: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1beta/{+parent}/configs', ) command.request_representation = Google::Apis::GameservicesV1beta::GameServerConfig::Representation command.request_object = game_server_config_object command.response_representation = Google::Apis::GameservicesV1beta::Operation::Representation command.response_class = Google::Apis::GameservicesV1beta::Operation command.params['parent'] = parent unless parent.nil? command.query['configId'] = config_id unless config_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#create_project_location_realm(parent, realm_object = nil, realm_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GameservicesV1beta::Operation
Creates a new realm in a given project and location.
931 932 933 934 935 936 937 938 939 940 941 942 |
# File 'lib/google/apis/gameservices_v1beta/service.rb', line 931 def create_project_location_realm(parent, realm_object = nil, realm_id: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1beta/{+parent}/realms', ) command.request_representation = Google::Apis::GameservicesV1beta::Realm::Representation command.request_object = realm_object command.response_representation = Google::Apis::GameservicesV1beta::Operation::Representation command.response_class = Google::Apis::GameservicesV1beta::Operation command.params['parent'] = parent unless parent.nil? command.query['realmId'] = realm_id unless realm_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#create_project_location_realm_game_server_cluster(parent, game_server_cluster_object = nil, game_server_cluster_id: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GameservicesV1beta::Operation
Creates a new game server cluster in a given project and location.
1162 1163 1164 1165 1166 1167 1168 1169 1170 1171 1172 1173 |
# File 'lib/google/apis/gameservices_v1beta/service.rb', line 1162 def create_project_location_realm_game_server_cluster(parent, game_server_cluster_object = nil, game_server_cluster_id: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1beta/{+parent}/gameServerClusters', ) command.request_representation = Google::Apis::GameservicesV1beta::GameServerCluster::Representation command.request_object = game_server_cluster_object command.response_representation = Google::Apis::GameservicesV1beta::Operation::Representation command.response_class = Google::Apis::GameservicesV1beta::Operation command.params['parent'] = parent unless parent.nil? command.query['gameServerClusterId'] = game_server_cluster_id unless game_server_cluster_id.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#delete_project_location_game_server_deployment(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GameservicesV1beta::Operation
Deletes a single game server deployment.
187 188 189 190 191 192 193 194 195 |
# File 'lib/google/apis/gameservices_v1beta/service.rb', line 187 def delete_project_location_game_server_deployment(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'v1beta/{+name}', ) command.response_representation = Google::Apis::GameservicesV1beta::Operation::Representation command.response_class = Google::Apis::GameservicesV1beta::Operation command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#delete_project_location_game_server_deployment_config(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GameservicesV1beta::Operation
Deletes a single game server config. The deletion fails if the game server config is referenced in a game server deployment rollout.
665 666 667 668 669 670 671 672 673 |
# File 'lib/google/apis/gameservices_v1beta/service.rb', line 665 def delete_project_location_game_server_deployment_config(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'v1beta/{+name}', ) command.response_representation = Google::Apis::GameservicesV1beta::Operation::Representation command.response_class = Google::Apis::GameservicesV1beta::Operation command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#delete_project_location_operation(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GameservicesV1beta::Empty
Deletes a long-running operation. This method indicates that the client is no
longer interested in the operation result. It does not cancel the operation.
If the server doesn't support this method, it returns google.rpc.Code.
UNIMPLEMENTED.
820 821 822 823 824 825 826 827 828 |
# File 'lib/google/apis/gameservices_v1beta/service.rb', line 820 def delete_project_location_operation(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'v1beta/{+name}', ) command.response_representation = Google::Apis::GameservicesV1beta::Empty::Representation command.response_class = Google::Apis::GameservicesV1beta::Empty command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#delete_project_location_realm(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GameservicesV1beta::Operation
Deletes a single realm.
965 966 967 968 969 970 971 972 973 |
# File 'lib/google/apis/gameservices_v1beta/service.rb', line 965 def delete_project_location_realm(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'v1beta/{+name}', ) command.response_representation = Google::Apis::GameservicesV1beta::Operation::Representation command.response_class = Google::Apis::GameservicesV1beta::Operation command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#delete_project_location_realm_game_server_cluster(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GameservicesV1beta::Operation
Deletes a single game server cluster.
1197 1198 1199 1200 1201 1202 1203 1204 1205 |
# File 'lib/google/apis/gameservices_v1beta/service.rb', line 1197 def delete_project_location_realm_game_server_cluster(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'v1beta/{+name}', ) command.response_representation = Google::Apis::GameservicesV1beta::Operation::Representation command.response_class = Google::Apis::GameservicesV1beta::Operation command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#fetch_game_server_deployment_deployment_state(name, fetch_deployment_state_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GameservicesV1beta::FetchDeploymentStateResponse
Retrieves information about the current state of the game server deployment. Gathers all the Agones fleets and Agones autoscalers, including fleets running an older version of the game server deployment.
222 223 224 225 226 227 228 229 230 231 232 |
# File 'lib/google/apis/gameservices_v1beta/service.rb', line 222 def fetch_game_server_deployment_deployment_state(name, fetch_deployment_state_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1beta/{+name}:fetchDeploymentState', ) command.request_representation = Google::Apis::GameservicesV1beta::FetchDeploymentStateRequest::Representation command.request_object = fetch_deployment_state_request_object command.response_representation = Google::Apis::GameservicesV1beta::FetchDeploymentStateResponse::Representation command.response_class = Google::Apis::GameservicesV1beta::FetchDeploymentStateResponse command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_project_location(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GameservicesV1beta::Location
Gets information about a location.
72 73 74 75 76 77 78 79 80 |
# File 'lib/google/apis/gameservices_v1beta/service.rb', line 72 def get_project_location(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1beta/{+name}', ) command.response_representation = Google::Apis::GameservicesV1beta::Location::Representation command.response_class = Google::Apis::GameservicesV1beta::Location command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_project_location_game_server_deployment(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GameservicesV1beta::GameServerDeployment
Gets details of a single game server deployment.
256 257 258 259 260 261 262 263 264 |
# File 'lib/google/apis/gameservices_v1beta/service.rb', line 256 def get_project_location_game_server_deployment(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1beta/{+name}', ) command.response_representation = Google::Apis::GameservicesV1beta::GameServerDeployment::Representation command.response_class = Google::Apis::GameservicesV1beta::GameServerDeployment command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_project_location_game_server_deployment_config(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GameservicesV1beta::GameServerConfig
Gets details of a single game server config.
697 698 699 700 701 702 703 704 705 |
# File 'lib/google/apis/gameservices_v1beta/service.rb', line 697 def get_project_location_game_server_deployment_config(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1beta/{+name}', ) command.response_representation = Google::Apis::GameservicesV1beta::GameServerConfig::Representation command.response_class = Google::Apis::GameservicesV1beta::GameServerConfig command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_project_location_game_server_deployment_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GameservicesV1beta::Policy
Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.
300 301 302 303 304 305 306 307 308 309 |
# File 'lib/google/apis/gameservices_v1beta/service.rb', line 300 def get_project_location_game_server_deployment_iam_policy(resource, options_requested_policy_version: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1beta/{+resource}:getIamPolicy', ) command.response_representation = Google::Apis::GameservicesV1beta::Policy::Representation command.response_class = Google::Apis::GameservicesV1beta::Policy command.params['resource'] = resource unless resource.nil? command.query['options.requestedPolicyVersion'] = unless .nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_project_location_game_server_deployment_rollout(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GameservicesV1beta::GameServerDeploymentRollout
Gets details of a single game server deployment rollout.
333 334 335 336 337 338 339 340 341 |
# File 'lib/google/apis/gameservices_v1beta/service.rb', line 333 def get_project_location_game_server_deployment_rollout(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1beta/{+name}/rollout', ) command.response_representation = Google::Apis::GameservicesV1beta::GameServerDeploymentRollout::Representation command.response_class = Google::Apis::GameservicesV1beta::GameServerDeploymentRollout command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_project_location_operation(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GameservicesV1beta::Operation
Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.
851 852 853 854 855 856 857 858 859 |
# File 'lib/google/apis/gameservices_v1beta/service.rb', line 851 def get_project_location_operation(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1beta/{+name}', ) command.response_representation = Google::Apis::GameservicesV1beta::Operation::Representation command.response_class = Google::Apis::GameservicesV1beta::Operation command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_project_location_realm(name, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GameservicesV1beta::Realm
Gets details of a single realm.
996 997 998 999 1000 1001 1002 1003 1004 |
# File 'lib/google/apis/gameservices_v1beta/service.rb', line 996 def get_project_location_realm(name, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1beta/{+name}', ) command.response_representation = Google::Apis::GameservicesV1beta::Realm::Representation command.response_class = Google::Apis::GameservicesV1beta::Realm command.params['name'] = name unless name.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#get_project_location_realm_game_server_cluster(name, view: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GameservicesV1beta::GameServerCluster
Gets details of a single game server cluster.
1236 1237 1238 1239 1240 1241 1242 1243 1244 1245 |
# File 'lib/google/apis/gameservices_v1beta/service.rb', line 1236 def get_project_location_realm_game_server_cluster(name, view: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1beta/{+name}', ) command.response_representation = Google::Apis::GameservicesV1beta::GameServerCluster::Representation command.response_class = Google::Apis::GameservicesV1beta::GameServerCluster command.params['name'] = name unless name.nil? command.query['view'] = view unless view.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#list_project_location_game_server_deployment_configs(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GameservicesV1beta::ListGameServerConfigsResponse
Lists game server configs in a given project, location, and game server deployment.
743 744 745 746 747 748 749 750 751 752 753 754 755 |
# File 'lib/google/apis/gameservices_v1beta/service.rb', line 743 def list_project_location_game_server_deployment_configs(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1beta/{+parent}/configs', ) command.response_representation = Google::Apis::GameservicesV1beta::ListGameServerConfigsResponse::Representation command.response_class = Google::Apis::GameservicesV1beta::ListGameServerConfigsResponse command.params['parent'] = parent unless parent.nil? command.query['filter'] = filter unless filter.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#list_project_location_game_server_deployments(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GameservicesV1beta::ListGameServerDeploymentsResponse
Lists game server deployments in a given project and location.
378 379 380 381 382 383 384 385 386 387 388 389 390 |
# File 'lib/google/apis/gameservices_v1beta/service.rb', line 378 def list_project_location_game_server_deployments(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1beta/{+parent}/gameServerDeployments', ) command.response_representation = Google::Apis::GameservicesV1beta::ListGameServerDeploymentsResponse::Representation command.response_class = Google::Apis::GameservicesV1beta::ListGameServerDeploymentsResponse command.params['parent'] = parent unless parent.nil? command.query['filter'] = filter unless filter.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#list_project_location_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GameservicesV1beta::ListOperationsResponse
Lists operations that match the specified filter in the request. If the server
doesn't support this method, it returns UNIMPLEMENTED. NOTE: the name
binding allows API services to override the binding to use different resource
name schemes, such as users/*/operations. To override the binding, API
services can add a binding such as "/v1/name=users/*/operations" to their
service configuration. For backwards compatibility, the default name includes
the operations collection id, however overriding users must ensure the name
binding is the parent resource, without the operations collection id.
894 895 896 897 898 899 900 901 902 903 904 905 |
# File 'lib/google/apis/gameservices_v1beta/service.rb', line 894 def list_project_location_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1beta/{+name}/operations', ) command.response_representation = Google::Apis::GameservicesV1beta::ListOperationsResponse::Representation command.response_class = Google::Apis::GameservicesV1beta::ListOperationsResponse command.params['name'] = name unless name.nil? command.query['filter'] = filter unless filter.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#list_project_location_realm_game_server_clusters(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, view: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GameservicesV1beta::ListGameServerClustersResponse
Lists game server clusters in a given project and location.
1289 1290 1291 1292 1293 1294 1295 1296 1297 1298 1299 1300 1301 1302 |
# File 'lib/google/apis/gameservices_v1beta/service.rb', line 1289 def list_project_location_realm_game_server_clusters(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, view: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1beta/{+parent}/gameServerClusters', ) command.response_representation = Google::Apis::GameservicesV1beta::ListGameServerClustersResponse::Representation command.response_class = Google::Apis::GameservicesV1beta::ListGameServerClustersResponse command.params['parent'] = parent unless parent.nil? command.query['filter'] = filter unless filter.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['view'] = view unless view.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#list_project_location_realms(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GameservicesV1beta::ListRealmsResponse
Lists realms in a given project and location.
1041 1042 1043 1044 1045 1046 1047 1048 1049 1050 1051 1052 1053 |
# File 'lib/google/apis/gameservices_v1beta/service.rb', line 1041 def list_project_location_realms(parent, filter: nil, order_by: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1beta/{+parent}/realms', ) command.response_representation = Google::Apis::GameservicesV1beta::ListRealmsResponse::Representation command.response_class = Google::Apis::GameservicesV1beta::ListRealmsResponse command.params['parent'] = parent unless parent.nil? command.query['filter'] = filter unless filter.nil? command.query['orderBy'] = order_by unless order_by.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#list_project_locations(name, filter: nil, include_unrevealed_locations: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GameservicesV1beta::ListLocationsResponse
Lists information about the supported locations for this service.
114 115 116 117 118 119 120 121 122 123 124 125 126 |
# File 'lib/google/apis/gameservices_v1beta/service.rb', line 114 def list_project_locations(name, filter: nil, include_unrevealed_locations: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:get, 'v1beta/{+name}/locations', ) command.response_representation = Google::Apis::GameservicesV1beta::ListLocationsResponse::Representation command.response_class = Google::Apis::GameservicesV1beta::ListLocationsResponse command.params['name'] = name unless name.nil? command.query['filter'] = filter unless filter.nil? command.query['includeUnrevealedLocations'] = include_unrevealed_locations unless include_unrevealed_locations.nil? command.query['pageSize'] = page_size unless page_size.nil? command.query['pageToken'] = page_token unless page_token.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#patch_project_location_game_server_deployment(name, game_server_deployment_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GameservicesV1beta::Operation
Patches a game server deployment.
421 422 423 424 425 426 427 428 429 430 431 432 |
# File 'lib/google/apis/gameservices_v1beta/service.rb', line 421 def patch_project_location_game_server_deployment(name, game_server_deployment_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:patch, 'v1beta/{+name}', ) command.request_representation = Google::Apis::GameservicesV1beta::GameServerDeployment::Representation command.request_object = game_server_deployment_object command.response_representation = Google::Apis::GameservicesV1beta::Operation::Representation command.response_class = Google::Apis::GameservicesV1beta::Operation command.params['name'] = name unless name.nil? command.query['updateMask'] = update_mask unless update_mask.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#patch_project_location_realm(name, realm_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GameservicesV1beta::Operation
Patches a single realm.
1082 1083 1084 1085 1086 1087 1088 1089 1090 1091 1092 1093 |
# File 'lib/google/apis/gameservices_v1beta/service.rb', line 1082 def patch_project_location_realm(name, realm_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:patch, 'v1beta/{+name}', ) command.request_representation = Google::Apis::GameservicesV1beta::Realm::Representation command.request_object = realm_object command.response_representation = Google::Apis::GameservicesV1beta::Operation::Representation command.response_class = Google::Apis::GameservicesV1beta::Operation command.params['name'] = name unless name.nil? command.query['updateMask'] = update_mask unless update_mask.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#patch_project_location_realm_game_server_cluster(name, game_server_cluster_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GameservicesV1beta::Operation
Patches a single game server cluster.
1333 1334 1335 1336 1337 1338 1339 1340 1341 1342 1343 1344 |
# File 'lib/google/apis/gameservices_v1beta/service.rb', line 1333 def patch_project_location_realm_game_server_cluster(name, game_server_cluster_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:patch, 'v1beta/{+name}', ) command.request_representation = Google::Apis::GameservicesV1beta::GameServerCluster::Representation command.request_object = game_server_cluster_object command.response_representation = Google::Apis::GameservicesV1beta::Operation::Representation command.response_class = Google::Apis::GameservicesV1beta::Operation command.params['name'] = name unless name.nil? command.query['updateMask'] = update_mask unless update_mask.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#preview_project_location_game_server_deployment_rollout(name, game_server_deployment_rollout_object = nil, preview_time: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GameservicesV1beta::PreviewGameServerDeploymentRolloutResponse
Previews the game server deployment rollout. This API does not mutate the rollout resource.
467 468 469 470 471 472 473 474 475 476 477 478 479 |
# File 'lib/google/apis/gameservices_v1beta/service.rb', line 467 def preview_project_location_game_server_deployment_rollout(name, game_server_deployment_rollout_object = nil, preview_time: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:patch, 'v1beta/{+name}/rollout:preview', ) command.request_representation = Google::Apis::GameservicesV1beta::GameServerDeploymentRollout::Representation command.request_object = game_server_deployment_rollout_object command.response_representation = Google::Apis::GameservicesV1beta::PreviewGameServerDeploymentRolloutResponse::Representation command.response_class = Google::Apis::GameservicesV1beta::PreviewGameServerDeploymentRolloutResponse command.params['name'] = name unless name.nil? command.query['previewTime'] = preview_time unless preview_time.nil? command.query['updateMask'] = update_mask unless update_mask.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#preview_project_location_realm_game_server_cluster_create(parent, game_server_cluster_object = nil, game_server_cluster_id: nil, preview_time: nil, view: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GameservicesV1beta::PreviewCreateGameServerClusterResponse
Previews creation of a new game server cluster in a given project and location.
1375 1376 1377 1378 1379 1380 1381 1382 1383 1384 1385 1386 1387 1388 |
# File 'lib/google/apis/gameservices_v1beta/service.rb', line 1375 def preview_project_location_realm_game_server_cluster_create(parent, game_server_cluster_object = nil, game_server_cluster_id: nil, preview_time: nil, view: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1beta/{+parent}/gameServerClusters:previewCreate', ) command.request_representation = Google::Apis::GameservicesV1beta::GameServerCluster::Representation command.request_object = game_server_cluster_object command.response_representation = Google::Apis::GameservicesV1beta::PreviewCreateGameServerClusterResponse::Representation command.response_class = Google::Apis::GameservicesV1beta::PreviewCreateGameServerClusterResponse command.params['parent'] = parent unless parent.nil? command.query['gameServerClusterId'] = game_server_cluster_id unless game_server_cluster_id.nil? command.query['previewTime'] = preview_time unless preview_time.nil? command.query['view'] = view unless view.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#preview_project_location_realm_game_server_cluster_delete(name, preview_time: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GameservicesV1beta::PreviewDeleteGameServerClusterResponse
Previews deletion of a single game server cluster.
1414 1415 1416 1417 1418 1419 1420 1421 1422 1423 |
# File 'lib/google/apis/gameservices_v1beta/service.rb', line 1414 def preview_project_location_realm_game_server_cluster_delete(name, preview_time: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:delete, 'v1beta/{+name}:previewDelete', ) command.response_representation = Google::Apis::GameservicesV1beta::PreviewDeleteGameServerClusterResponse::Representation command.response_class = Google::Apis::GameservicesV1beta::PreviewDeleteGameServerClusterResponse command.params['name'] = name unless name.nil? command.query['previewTime'] = preview_time unless preview_time.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#preview_project_location_realm_game_server_cluster_update(name, game_server_cluster_object = nil, preview_time: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GameservicesV1beta::PreviewUpdateGameServerClusterResponse
Previews updating a GameServerCluster.
1456 1457 1458 1459 1460 1461 1462 1463 1464 1465 1466 1467 1468 |
# File 'lib/google/apis/gameservices_v1beta/service.rb', line 1456 def preview_project_location_realm_game_server_cluster_update(name, game_server_cluster_object = nil, preview_time: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:patch, 'v1beta/{+name}:previewUpdate', ) command.request_representation = Google::Apis::GameservicesV1beta::GameServerCluster::Representation command.request_object = game_server_cluster_object command.response_representation = Google::Apis::GameservicesV1beta::PreviewUpdateGameServerClusterResponse::Representation command.response_class = Google::Apis::GameservicesV1beta::PreviewUpdateGameServerClusterResponse command.params['name'] = name unless name.nil? command.query['previewTime'] = preview_time unless preview_time.nil? command.query['updateMask'] = update_mask unless update_mask.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#preview_project_location_realm_update(name, realm_object = nil, preview_time: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GameservicesV1beta::PreviewRealmUpdateResponse
Previews patches to a single realm.
1124 1125 1126 1127 1128 1129 1130 1131 1132 1133 1134 1135 1136 |
# File 'lib/google/apis/gameservices_v1beta/service.rb', line 1124 def preview_project_location_realm_update(name, realm_object = nil, preview_time: nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:patch, 'v1beta/{+name}:previewUpdate', ) command.request_representation = Google::Apis::GameservicesV1beta::Realm::Representation command.request_object = realm_object command.response_representation = Google::Apis::GameservicesV1beta::PreviewRealmUpdateResponse::Representation command.response_class = Google::Apis::GameservicesV1beta::PreviewRealmUpdateResponse command.params['name'] = name unless name.nil? command.query['previewTime'] = preview_time unless preview_time.nil? command.query['updateMask'] = update_mask unless update_mask.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#set_game_server_deployment_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GameservicesV1beta::Policy
Sets the access control policy on the specified resource. Replaces any
existing policy. Can return NOT_FOUND, INVALID_ARGUMENT, and
PERMISSION_DENIED errors.
506 507 508 509 510 511 512 513 514 515 516 |
# File 'lib/google/apis/gameservices_v1beta/service.rb', line 506 def set_game_server_deployment_iam_policy(resource, set_iam_policy_request_object = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1beta/{+resource}:setIamPolicy', ) command.request_representation = Google::Apis::GameservicesV1beta::SetIamPolicyRequest::Representation command.request_object = set_iam_policy_request_object command.response_representation = Google::Apis::GameservicesV1beta::Policy::Representation command.response_class = Google::Apis::GameservicesV1beta::Policy command.params['resource'] = resource unless resource.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#test_game_server_deployment_iam_permissions(resource, test_iam_permissions_request_object = nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GameservicesV1beta::TestIamPermissionsResponse
Returns permissions that a caller has on the specified resource. If the
resource does not exist, this will return an empty set of permissions, not a
NOT_FOUND error. Note: This operation is designed to be used for building
permission-aware UIs and command-line tools, not for authorization checking.
This operation may "fail open" without warning.
545 546 547 548 549 550 551 552 553 554 555 |
# File 'lib/google/apis/gameservices_v1beta/service.rb', line 545 def (resource, = nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:post, 'v1beta/{+resource}:testIamPermissions', ) command.request_representation = Google::Apis::GameservicesV1beta::TestIamPermissionsRequest::Representation command.request_object = command.response_representation = Google::Apis::GameservicesV1beta::TestIamPermissionsResponse::Representation command.response_class = Google::Apis::GameservicesV1beta::TestIamPermissionsResponse command.params['resource'] = resource unless resource.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |
#update_project_location_game_server_deployment_rollout(name, game_server_deployment_rollout_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil) {|result, err| ... } ⇒ Google::Apis::GameservicesV1beta::Operation
Patches a single game server deployment rollout. The method will not return an error if the update does not affect any existing realms. For example, the following cases will not return an error: * The default_game_server_config is changed but all existing realms use the override. * A non-existing realm is explicitly called out in the game_server_config_overrides field.
590 591 592 593 594 595 596 597 598 599 600 601 |
# File 'lib/google/apis/gameservices_v1beta/service.rb', line 590 def update_project_location_game_server_deployment_rollout(name, game_server_deployment_rollout_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block) command = make_simple_command(:patch, 'v1beta/{+name}/rollout', ) command.request_representation = Google::Apis::GameservicesV1beta::GameServerDeploymentRollout::Representation command.request_object = game_server_deployment_rollout_object command.response_representation = Google::Apis::GameservicesV1beta::Operation::Representation command.response_class = Google::Apis::GameservicesV1beta::Operation command.params['name'] = name unless name.nil? command.query['updateMask'] = update_mask unless update_mask.nil? command.query['fields'] = fields unless fields.nil? command.query['quotaUser'] = quota_user unless quota_user.nil? execute_or_queue_command(command, &block) end |