Compute Engine API (compute:beta)

2026-05-02

10 updated methods | 4 removed methods

Updates

    Methods
  • 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.instanceGroupManagers.stopInstances

      Parameters :

        noGracefulShutdown

          Default : false

          Type : boolean

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

          Location : query

  • compute.instanceGroupManagers.recreateInstances

      Parameters :

        noGracefulShutdown

          Type : boolean

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

          Location : query

          Default : false

  • compute.regionInstanceGroupManagers.delete

      Parameters :

        noGracefulShutdown

          Default : false

          Type : boolean

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

          Location : query

  • compute.regionInstanceGroupManagers.deleteInstances

      Parameters :

        noGracefulShutdown

          Type : boolean

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

          Location : query

          Default : false

  • 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.recreateInstances

      Parameters :

        noGracefulShutdown

          Default : false

          Type : boolean

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

          Location : query

  • compute.globalForwardingRules.get

      Parameters :

        view

          Location : query

          Enum Descriptions :

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

          Enum :

        • BASIC
        • FULL

  • compute.forwardingRules.get

      Parameters :

        view

          Location : query

          Enum Descriptions :

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

          Enum :

        • BASIC
        • FULL

Deletions

    Methods
  • compute.licenseCodes.setIamPolicy

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

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

      Parameters :

        project

          Description : Project ID for this request.

          Type : string

          Required : Yes

          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

        resource

          Required : Yes

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

          Type : string

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

          Location : path

      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.licenseCodes.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

      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.

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

      Parameters :

        optionsRequestedPolicyVersion

          Type : integer

          Description : Requested IAM Policy version.

          Location : query

          Format : int32

        project

          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

          Type : string

          Description : Project ID for this request.

        resource

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

          Location : path

          Required : Yes

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

          Type : string

      Parameter Order :

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

  • compute.advice.capacity

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

      Parameters :

        region

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

          Location : path

          Required : Yes

          Type : string

          Description : Name of the region for this request.

        project

          Description : Project ID for this request.

          Type : string

          Required : Yes

          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

      Parameter Order :

    • project
    • region
    • Scopes :

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

      Description : Advice on making real-time decisions (such as choosing zone or machine types) during deployment to maximize your chances of obtaining capacity.

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

  • compute.advice.capacityHistory

      Parameters :

        region

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

          Location : path

          Type : string

          Description : Name of the region for this request.

          Required : Yes

        project

          Required : Yes

          Description : Project ID for this request.

          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

      Parameter Order :

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

      Description : Gets the capacity history.

      Scopes :

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

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

4 new methods | 10 updated methods

Additions

    Methods
  • compute.licenseCodes.setIamPolicy

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

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

      Parameters :

        project

          Description : Project ID for this request.

          Type : string

          Required : Yes

          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

        resource

          Required : Yes

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

          Type : string

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

          Location : path

      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.licenseCodes.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

      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.

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

      Parameters :

        optionsRequestedPolicyVersion

          Type : integer

          Description : Requested IAM Policy version.

          Location : query

          Format : int32

        project

          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

          Type : string

          Description : Project ID for this request.

        resource

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

          Location : path

          Required : Yes

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

          Type : string

      Parameter Order :

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

  • compute.advice.capacity

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

      Parameters :

        region

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

          Location : path

          Required : Yes

          Type : string

          Description : Name of the region for this request.

        project

          Description : Project ID for this request.

          Type : string

          Required : Yes

          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

      Parameter Order :

    • project
    • region
    • Scopes :

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

      Description : Advice on making real-time decisions (such as choosing zone or machine types) during deployment to maximize your chances of obtaining capacity.

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

  • compute.advice.capacityHistory

      Parameters :

        region

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

          Location : path

          Type : string

          Description : Name of the region for this request.

          Required : Yes

        project

          Required : Yes

          Description : Project ID for this request.

          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

      Parameter Order :

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

      Description : Gets the capacity history.

      Scopes :

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

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

Updates

    Methods
  • compute.forwardingRules.get

      Parameters :

        view

          Location : query

          Enum Descriptions :

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

          Enum :

        • BASIC
        • FULL

  • compute.globalForwardingRules.get

      Parameters :

        view

          Location : query

          Enum Descriptions :

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

          Enum :

        • BASIC
        • FULL

  • 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.instanceGroupManagers.stopInstances

      Parameters :

        noGracefulShutdown

          Default : false

          Type : boolean

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

          Location : query

  • 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.recreateInstances

      Parameters :

        noGracefulShutdown

          Type : boolean

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

          Location : query

          Default : false

  • compute.regionInstanceGroupManagers.recreateInstances

      Parameters :

        noGracefulShutdown

          Default : false

          Type : boolean

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

          Location : query

  • 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

          Type : boolean

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

          Location : query

          Default : false

  • compute.regionInstanceGroupManagers.delete

      Parameters :

        noGracefulShutdown

          Default : false

          Type : boolean

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

          Location : query