Compute Engine API (compute:beta)

2026-09-05

5 new methods

Additions

    Methods
  • compute.advice.calendarModeExtension

      Description : Advises on whether extending an existing future reservation is possible based on the desired extension end time. If capacity isn't available for the entire requested duration, the method recommends the longest possible extension.

      Parameter Order :

    • project
    • region
    • Parameters :

        region

          Location : path

          Type : string

          Required : Yes

          Description : Name of the region for this request.

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

        project

          Type : string

          Location : path

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

          Required : Yes

          Description : Project ID for this request.

      HTTP Method : POST

      Path : projects/{project}/regions/{region}/advice/calendarModeExtension

      Scopes :

    • https://www.googleapis.com/auth/cloud-platform
    • https://www.googleapis.com/auth/compute
    • Flat Path : projects/{project}/regions/{region}/advice/calendarModeExtension

  • compute.sslPolicies.setIamPolicy

      Description : Sets the access control policy on the specified resource. Replaces any existing policy.

      Scopes :

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

    • project
    • resource
    • Path : projects/{project}/global/sslPolicies/{resource}/setIamPolicy

      Flat Path : projects/{project}/global/sslPolicies/{resource}/setIamPolicy

      HTTP Method : POST

      Parameters :

        project

          Location : path

          Description : Project ID for this request.

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

          Type : string

          Required : Yes

        resource

          Required : Yes

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

          Location : path

          Type : string

          Description : Name or id of the resource for this request.

  • compute.sslPolicies.getIamPolicy

      Parameters :

        resource

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

          Location : path

          Description : Name or id of the resource for this request.

          Type : string

          Required : Yes

        optionsRequestedPolicyVersion

          Description : Requested IAM Policy version.

          Type : integer

          Location : query

          Format : int32

        project

          Required : Yes

          Description : Project ID for this request.

          Location : path

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

      Flat Path : projects/{project}/global/sslPolicies/{resource}/getIamPolicy

      HTTP Method : GET

      Description : Gets the access control policy for a resource. May be empty if no such policy or resource exists.

      Scopes :

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

    • project
    • resource
    • Path : projects/{project}/global/sslPolicies/{resource}/getIamPolicy

  • compute.regionSslPolicies.setIamPolicy

      Parameters :

        region

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

          Description : The name of the region for this request.

          Required : Yes

          Type : string

          Location : path

        project

          Description : Project ID for this request.

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

          Required : Yes

          Location : path

          Type : string

        resource

          Location : path

          Description : Name or id of the resource for this request.

          Required : Yes

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

          Type : string

      Path : projects/{project}/regions/{region}/sslPolicies/{resource}/setIamPolicy

      HTTP Method : POST

      Scopes :

    • https://www.googleapis.com/auth/cloud-platform
    • https://www.googleapis.com/auth/compute
    • Flat Path : projects/{project}/regions/{region}/sslPolicies/{resource}/setIamPolicy

      Parameter Order :

    • project
    • region
    • resource
    • Description : Sets the access control policy on the specified resource. Replaces any existing policy.

  • compute.regionSslPolicies.getIamPolicy

      Scopes :

    • https://www.googleapis.com/auth/cloud-platform
    • https://www.googleapis.com/auth/compute
    • https://www.googleapis.com/auth/compute.readonly
    • HTTP Method : GET

      Parameter Order :

    • project
    • region
    • resource
    • Parameters :

        optionsRequestedPolicyVersion

          Format : int32

          Location : query

          Type : integer

          Description : Requested IAM Policy version.

        project

          Required : Yes

          Type : string

          Location : path

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

          Description : Project ID for this request.

        resource

          Location : path

          Type : string

          Required : Yes

          Description : Name or id of the resource for this request.

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

        region

          Location : path

          Type : string

          Description : The name of the region for this request.

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

          Required : Yes

      Description : Gets the access control policy for a resource. May be empty if no such policy or resource exists.

      Flat Path : projects/{project}/regions/{region}/sslPolicies/{resource}/getIamPolicy

      Path : projects/{project}/regions/{region}/sslPolicies/{resource}/getIamPolicy