Game Services API (gameservices:v1)

2023-08-14

9 new methods | New API

Additions

    Methods
  • gameservices.projects.locations.list

      Parameter Order: name

      HTTP Method: GET

      Description: Lists information about the supported locations for this service.

      Scopes: https://www.googleapis.com/auth/cloud-platform

      Flat Path: v1/projects/{projectsId}/locations

      Path: v1/{+name}/locations

      Parameters:

        pageSize

          Description: The maximum number of results to return. If not set, the service selects a default.

          Format: int32

          Location: query

          Type: integer

        filter

          Description: A filter to narrow down results to a preferred subset. The filtering language accepts strings like `"displayName=tokyo"`, and is documented in more detail in [AIP-160](https://google.aip.dev/160).

          Type: string

          Location: query

        name

          Description: The resource that owns the locations collection, if applicable.

          Type: string

          Required: Yes

          Pattern: ^projects/[^/]+$

          Location: path

        pageToken

          Location: query

          Description: A page token received from the `next_page_token` field in the response. Send that page token to receive the subsequent page.

          Type: string

        includeUnrevealedLocations

          Description: If true, the returned list will include locations which are not yet revealed.

          Location: query

          Type: boolean

  • gameservices.projects.locations.get

      Path: v1/{+name}

      Parameter Order: name

      Description: Gets information about a location.

      Parameters:

        name

          Type: string

          Pattern: ^projects/[^/]+/locations/[^/]+$

          Description: Resource name for the location.

          Required: Yes

          Location: path

      HTTP Method: GET

      Scopes: https://www.googleapis.com/auth/cloud-platform

      Flat Path: v1/projects/{projectsId}/locations/{locationsId}

  • gameservices.projects.locations.operations.cancel

      HTTP Method: POST

      Parameters:

        name

          Type: string

          Description: The name of the operation resource to be cancelled.

          Location: path

          Pattern: ^projects/[^/]+/locations/[^/]+/operations/[^/]+$

          Required: Yes

      Scopes: https://www.googleapis.com/auth/cloud-platform

      Parameter Order: name

      Path: v1/{+name}:cancel

      Description: 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`.

      Flat Path: v1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}:cancel

  • gameservices.projects.locations.operations.delete

      Scopes: https://www.googleapis.com/auth/cloud-platform

      Description: 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`.

      Parameter Order: name

      HTTP Method: DELETE

      Path: v1/{+name}

      Parameters:

        name

          Pattern: ^projects/[^/]+/locations/[^/]+/operations/[^/]+$

          Required: Yes

          Location: path

          Type: string

          Description: The name of the operation resource to be deleted.

      Flat Path: v1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}

  • gameservices.projects.locations.operations.get

      Parameters:

        name

          Pattern: ^projects/[^/]+/locations/[^/]+/operations/[^/]+$

          Description: The name of the operation resource.

          Required: Yes

          Location: path

          Type: string

      Description: 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.

      Scopes: https://www.googleapis.com/auth/cloud-platform

      Flat Path: v1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}

      Parameter Order: name

      Path: v1/{+name}

      HTTP Method: GET

  • gameservices.projects.locations.operations.list

      Description: Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.

      HTTP Method: GET

      Path: v1/{+name}/operations

      Scopes: https://www.googleapis.com/auth/cloud-platform

      Flat Path: v1/projects/{projectsId}/locations/{locationsId}/operations

      Parameters:

        pageSize

          Location: query

          Format: int32

          Description: The standard list page size.

          Type: integer

        name

          Type: string

          Pattern: ^projects/[^/]+/locations/[^/]+$

          Required: Yes

          Location: path

          Description: The name of the operation's parent resource.

        filter

          Location: query

          Type: string

          Description: The standard list filter.

        pageToken

          Description: The standard list page token.

          Location: query

          Type: string

      Parameter Order: name

  • gameservices.projects.locations.gameServerDeployments.testIamPermissions

      Scopes: https://www.googleapis.com/auth/cloud-platform

      HTTP Method: POST

      Parameters:

        resource

          Pattern: ^projects/[^/]+/locations/[^/]+/gameServerDeployments/[^/]+$

          Location: path

          Description: REQUIRED: The resource for which the policy detail is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.

          Required: Yes

          Type: string

      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.

      Path: v1/{+resource}:testIamPermissions

      Flat Path: v1/projects/{projectsId}/locations/{locationsId}/gameServerDeployments/{gameServerDeploymentsId}:testIamPermissions

      Parameter Order: resource

  • gameservices.projects.locations.gameServerDeployments.getIamPolicy

      Path: v1/{+resource}:getIamPolicy

      Parameter Order: resource

      Parameters:

        options.requestedPolicyVersion

          Location: query

          Format: int32

          Description: Optional. The maximum policy version that will be used to format the policy. Valid values are 0, 1, and 3. Requests specifying an invalid value will be rejected. Requests for policies with any conditional role bindings must specify version 3. Policies with no conditional role bindings may specify any valid value or leave the field unset. The policy in the response might use the policy version that you specified, or it might use a lower policy version. For example, if you specify version 3, but the policy has no conditional role bindings, the response uses version 1. To learn which resources support conditions in their IAM policies, see the [IAM documentation](https://cloud.google.com/iam/help/conditions/resource-policies).

          Type: integer

        resource

          Pattern: ^projects/[^/]+/locations/[^/]+/gameServerDeployments/[^/]+$

          Type: string

          Required: Yes

          Location: path

          Description: REQUIRED: The resource for which the policy is being requested. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.

      HTTP Method: GET

      Scopes: https://www.googleapis.com/auth/cloud-platform

      Flat Path: v1/projects/{projectsId}/locations/{locationsId}/gameServerDeployments/{gameServerDeploymentsId}: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.

  • gameservices.projects.locations.gameServerDeployments.setIamPolicy

      Path: v1/{+resource}:setIamPolicy

      Parameter Order: resource

      Scopes: https://www.googleapis.com/auth/cloud-platform

      HTTP Method: POST

      Flat Path: v1/projects/{projectsId}/locations/{locationsId}/gameServerDeployments/{gameServerDeploymentsId}: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.

      Parameters:

        resource

          Pattern: ^projects/[^/]+/locations/[^/]+/gameServerDeployments/[^/]+$

          Type: string

          Required: Yes

          Location: path

          Description: REQUIRED: The resource for which the policy is being specified. See [Resource names](https://cloud.google.com/apis/design/resource_names) for the appropriate value for this field.