Compute Engine API (compute:beta)

2023-01-26

1 new method

Additions

    Methods
  • compute.resourcePolicies.patch

      HTTP Method : PATCH

      Parameters :

        project

          Type : string

          Pattern : (?:(?:[-a-z0-9]{1,63}\.)*(?:[a-z](?:[-a-z0-9]{0,61}[a-z0-9])?):)?(?:[0-9]{1,19}|(?:[a-z0-9](?:[-a-z0-9]{0,61}[a-z0-9])?))

          Location : path

          Required : Yes

          Description : Project ID for this request.

        resourcePolicy

          Description : Id of the resource policy to patch.

          Required : Yes

          Pattern : [a-z](?:[-a-z0-9]{0,61}[a-z0-9])?|[1-9][0-9]{0,19}

          Type : string

          Location : path

        region

          Location : path

          Type : string

          Pattern : [a-z](?:[-a-z0-9]{0,61}[a-z0-9])?

          Description : Name of the region for this request.

          Required : Yes

        requestId

          Type : string

          Description : An optional request ID to identify requests. Specify a unique request ID so that if you must retry your request, the server will know to ignore the request if it has already been completed. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID, the server can check if original operation with the same request ID was received, and if so, will ignore the second request. This prevents clients from accidentally creating duplicate commitments. The request ID must be a valid UUID with the exception that zero UUID is not supported ( 00000000-0000-0000-0000-000000000000).

          Location : query

        updateMask

          Type : string

          Description : update_mask indicates fields to be updated as part of this request.

          Format : google-fieldmask

          Location : query

      Scopes :

    • https://www.googleapis.com/auth/cloud-platform
    • https://www.googleapis.com/auth/compute
    • Parameter Order :

    • project
    • region
    • resourcePolicy
    • Flat Path : projects/{project}/regions/{region}/resourcePolicies/{resourcePolicy}

      Path : projects/{project}/regions/{region}/resourcePolicies/{resourcePolicy}

      Description : Modify the specified resource policy.