Compute Engine API (compute:beta)

2021-12-07

2 new methods

Additions

    Methods
  • compute.regionInstanceGroupManagers.resizeAdvanced

      Parameter Order :

    • project
    • region
    • instanceGroupManager
    • Flat Path : projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/resizeAdvanced

      Description : Resizes the regional managed instance group with advanced configuration options like disabling creation retries. This is an extended version of the resize method. If you increase the size, the group creates new instances using the current instance template. If you decrease the size, the group deletes one or more instances. The resize operation is marked DONE if the resize request is successful. The underlying actions take additional time. You must separately verify the status of the creating or deleting actions with the get or listmanagedinstances method. If the group is part of a backend service that has enabled connection draining, it can take up to 60 seconds after the connection draining duration has elapsed before the VM instance is removed or deleted.

      Path : projects/{project}/regions/{region}/instanceGroupManagers/{instanceGroupManager}/resizeAdvanced

      Parameters :

        instanceGroupManager

          Location : path

          Type : string

          Required : Yes

          Description : The name of the managed instance group. It must be a string that meets the requirements in RFC1035.

        region

          Type : string

          Location : path

          Description : Name of the region scoping this request. It must be a string that meets the requirements in RFC1035.

          Required : Yes

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

        project

          Location : path

          Required : Yes

          Type : string

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

      Scopes :

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

  • compute.regionCommitments.update

      Description : Updates the specified commitment with the data included in the request. Update is performed only on selected fields included as part of update-mask. Only the following fields can be modified: auto_renew.

      Path : projects/{project}/regions/{region}/commitments/{commitment}

      Flat Path : projects/{project}/regions/{region}/commitments/{commitment}

      Scopes :

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

        paths

          Repeated : Yes

          Type : string

          Location : query

        commitment

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

          Required : Yes

          Location : path

          Description : Name of the commitment for which auto renew is being updated.

          Type : string

        region

          Location : path

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

          Type : string

          Required : Yes

          Description : Name of the region for this request.

        updateMask

          Location : query

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

          Format : google-fieldmask

          Type : string

        requestId

          Location : query

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

        project

          Description : Project ID for this request.

          Location : path

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

          Type : string

      Parameter Order :

    • project
    • region
    • commitment
    • HTTP Method : PATCH