type: google.api.Service
config_version: 3
name: gameservices.googleapis.com
title: Game Services API

apis:
- name: google.cloud.gaming.v1.GameServerClustersService
- name: google.cloud.gaming.v1.GameServerConfigsService
- name: google.cloud.gaming.v1.GameServerDeploymentsService
- name: google.cloud.gaming.v1.RealmsService

types:
- name: google.cloud.gaming.v1.LabelSelector
- name: google.cloud.gaming.v1.OperationMetadata
- name: google.cloud.gaming.v1.Schedule

documentation:
  summary: Deploy and manage infrastructure for global multiplayer gaming experiences.
  rules:
  - selector: google.iam.v1.IAMPolicy.GetIamPolicy
    description: |-
      Gets the access control policy for a resource. Returns an empty policy
      if the resource exists and does not have a policy set.

  - selector: google.iam.v1.IAMPolicy.SetIamPolicy
    description: |-
      Sets the access control policy on the specified resource. Replaces
      any existing policy.

      Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED`
      errors.

  - selector: google.iam.v1.IAMPolicy.TestIamPermissions
    description: |-
      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.

backend:
  rules:
  - selector: 'google.cloud.gaming.v1.GameServerClustersService.*'
    deadline: 60.0
  - selector: google.cloud.gaming.v1.GameServerClustersService.CreateGameServerCluster
    deadline: 120.0
  - selector: 'google.cloud.gaming.v1.GameServerConfigsService.*'
    deadline: 60.0
  - selector: 'google.cloud.gaming.v1.GameServerDeploymentsService.*'
    deadline: 60.0
  - selector: google.cloud.gaming.v1.GameServerDeploymentsService.FetchDeploymentState
    deadline: 120.0
  - selector: 'google.cloud.gaming.v1.RealmsService.*'
    deadline: 60.0
  - selector: 'google.iam.v1.IAMPolicy.*'
    deadline: 60.0
  - selector: 'google.longrunning.Operations.*'
    deadline: 60.0
  - selector: google.longrunning.Operations.GetOperation
    deadline: 5.0

authentication:
  rules:
  - selector: 'google.cloud.gaming.v1.GameServerClustersService.*'
    oauth:
      canonical_scopes: |-
        https://www.googleapis.com/auth/cloud-platform
  - selector: 'google.cloud.gaming.v1.GameServerConfigsService.*'
    oauth:
      canonical_scopes: |-
        https://www.googleapis.com/auth/cloud-platform
  - selector: 'google.cloud.gaming.v1.GameServerDeploymentsService.*'
    oauth:
      canonical_scopes: |-
        https://www.googleapis.com/auth/cloud-platform
  - selector: 'google.cloud.gaming.v1.RealmsService.*'
    oauth:
      canonical_scopes: |-
        https://www.googleapis.com/auth/cloud-platform
  - selector: 'google.iam.v1.IAMPolicy.*'
    oauth:
      canonical_scopes: |-
        https://www.googleapis.com/auth/cloud-platform
  - selector: 'google.longrunning.Operations.*'
    oauth:
      canonical_scopes: |-
        https://www.googleapis.com/auth/cloud-platform
