Compute Engine API (compute:alpha)

2023-03-16

2 new methods

Additions

    Methods
  • compute.nodeGroups.performMaintenance

      Description : Perform maintenance on a subset of nodes in the node group.

      HTTP Method : POST

      Flat Path : projects/{project}/zones/{zone}/nodeGroups/{nodeGroup}/performMaintenance

      Parameter Order :

    • project
    • zone
    • nodeGroup
    • Scopes :

    • https://www.googleapis.com/auth/cloud-platform
    • https://www.googleapis.com/auth/compute
    • Path : projects/{project}/zones/{zone}/nodeGroups/{nodeGroup}/performMaintenance

      Parameters :

        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

          Description : Project ID for this request.

          Type : string

        nodeGroup

          Type : string

          Location : path

          Description : Name of the node group scoping this request.

          Required : Yes

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

        requestId

          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

          Type : string

        zone

          Description : The name of the zone for this request.

          Location : path

          Required : Yes

          Type : string

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

  • compute.instanceGroupManagerResizeRequests.cancel

      Parameters :

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

          Required : Yes

          Type : string

          Location : path

          Description : Project ID for this request.

        requestId

          Type : string

          Location : query

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

        instanceGroupManager

          Type : string

          Location : path

          Description : The name of the managed instance group. The name should conform to RFC1035 or be a resource ID.

          Required : Yes

        resizeRequest

          Type : string

          Location : path

          Required : Yes

          Description : The name of the resize request to cancel. The name should conform to RFC1035 or be a resource ID.

        zone

          Description : The name of the zone where the managed instance group is located. The name should conform to RFC1035.

          Required : Yes

          Location : path

          Type : string

      Description : Cancels the specified resize request and removes it from the queue. Cancelled resize request does no longer wait for the resources to be provisioned. Cancel is only possible for requests that are accepted in the queue.

      Path : projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/resizeRequests/{resizeRequest}/cancel

      HTTP Method : POST

      Flat Path : projects/{project}/zones/{zone}/instanceGroupManagers/{instanceGroupManager}/resizeRequests/{resizeRequest}/cancel

      Parameter Order :

    • project
    • zone
    • instanceGroupManager
    • resizeRequest
    • Scopes :

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