Compute Engine API (compute:beta)

2026-05-07

4 new methods | 10 updated methods

Additions

    Methods
  • compute.licenseCodes.getIamPolicy

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

      Parameters :

        optionsRequestedPolicyVersion

          Description : Requested IAM Policy version.

          Location : query

          Type : integer

          Format : int32

        resource

          Type : string

          Required : Yes

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

          Location : path

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

        project

          Required : Yes

          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

          Description : Project ID for this request.

      HTTP Method : GET

      Scopes :

    • https://www.googleapis.com/auth/cloud-platform
    • https://www.googleapis.com/auth/compute
    • https://www.googleapis.com/auth/compute.readonly
    • Description : Gets the access control policy for a resource. May be empty if no such policy or resource exists. *Caution* This resource is intended for use only by third-party partners who are creatingCloud Marketplace images.

      Path : projects/{project}/global/licenseCodes/{resource}/getIamPolicy

      Parameter Order :

    • project
    • resource
  • compute.licenseCodes.setIamPolicy

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

      Parameters :

        resource

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

          Location : path

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

          Type : string

          Required : Yes

        project

          Required : Yes

          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

          Description : Project ID for this request.

      Path : projects/{project}/global/licenseCodes/{resource}/setIamPolicy

      Parameter Order :

    • project
    • resource
    • HTTP Method : POST

      Scopes :

    • https://www.googleapis.com/auth/cloud-platform
    • https://www.googleapis.com/auth/compute
    • Description : Sets the access control policy on the specified resource. Replaces any existing policy. *Caution* This resource is intended for use only by third-party partners who are creatingCloud Marketplace images.

  • compute.advice.capacityHistory

      Flat Path : projects/{project}/regions/{region}/advice/capacityHistory

      Parameters :

        project

          Type : string

          Required : Yes

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

        region

          Type : string

          Required : Yes

          Description : Name of the region for this request.

          Location : path

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

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

      Parameter Order :

    • project
    • region
    • HTTP Method : POST

      Scopes :

    • https://www.googleapis.com/auth/cloud-platform
    • https://www.googleapis.com/auth/compute
    • Description : Gets the capacity history.

  • compute.advice.capacity

      Flat Path : projects/{project}/regions/{region}/advice/capacity

      Parameters :

        project

          Description : Project ID for this request.

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

          Type : string

          Required : Yes

        region

          Location : path

          Description : Name of the region for this request.

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

          Type : string

          Required : Yes

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

      Parameter Order :

    • project
    • region
    • HTTP Method : POST

      Scopes :

    • https://www.googleapis.com/auth/cloud-platform
    • https://www.googleapis.com/auth/compute
    • Description : Advice on making real-time decisions (such as choosing zone or machine types) during deployment to maximize your chances of obtaining capacity.

Updates

    Methods
  • compute.forwardingRules.get

      Parameters :

        view

          Enum Descriptions :

        • The default view of a ForwardingRule, which includes the basic fields.
        • The full view, including the ForwardingRule.`attached_extensions` field.
        • Enum :

        • BASIC
        • FULL
        • Location : query

          Type : string

  • compute.regionInstanceGroupManagers.stopInstances

      Parameters :

        noGracefulShutdown

          Default : false

          Description : When set, graceful shutdown is skipped for instance stopping even if it's configured for the instances.

          Location : query

          Type : boolean

  • compute.regionInstanceGroupManagers.deleteInstances

      Parameters :

        noGracefulShutdown

          Location : query

          Type : boolean

          Description : When set, graceful shutdown is skipped for instance deletion even if it's configured for the instances.

          Default : false

  • compute.regionInstanceGroupManagers.delete

      Parameters :

        noGracefulShutdown

          Default : false

          Location : query

          Type : boolean

          Description : When set, graceful shutdown is skipped for instance deletion even if it's configured for the instances.

  • compute.regionInstanceGroupManagers.recreateInstances

      Parameters :

        noGracefulShutdown

          Default : false

          Description : When set, graceful shutdown is skipped for instance recreation even if it's configured for the instances.

          Location : query

          Type : boolean

  • compute.instanceGroupManagers.stopInstances

      Parameters :

        noGracefulShutdown

          Default : false

          Location : query

          Type : boolean

          Description : When set, graceful shutdown is skipped for instance stopping even if it's configured for the instances.

  • compute.instanceGroupManagers.recreateInstances

      Parameters :

        noGracefulShutdown

          Default : false

          Location : query

          Type : boolean

          Description : When set, graceful shutdown is skipped for instance recreation even if it's configured for the instances.

  • compute.instanceGroupManagers.delete

      Parameters :

        noGracefulShutdown

          Default : false

          Description : When set, graceful shutdown is skipped for instance deletion even if it's configured for the instances.

          Location : query

          Type : boolean

  • compute.instanceGroupManagers.deleteInstances

      Parameters :

        noGracefulShutdown

          Default : false

          Description : When set, graceful shutdown is skipped for instance deletion even if it's configured for the instances.

          Location : query

          Type : boolean

  • compute.globalForwardingRules.get

      Parameters :

        view

          Location : query

          Type : string

          Enum Descriptions :

        • The default view of a ForwardingRule, which includes the basic fields.
        • The full view, including the ForwardingRule.`attached_extensions` field.
        • Enum :

        • BASIC
        • FULL