Compute Engine API (compute:beta)

2025-02-07

3 new methods

Additions

    Methods
  • compute.reservations.performMaintenance

      Path : projects/{project}/zones/{zone}/reservations/{reservation}/performMaintenance

      Flat Path : projects/{project}/zones/{zone}/reservations/{reservation}/performMaintenance

      HTTP Method : POST

      Parameters :

        project

          Description : Project ID for this request.

          Location : path

          Required : Yes

          Type : string

        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

        reservation

          Description : The name of the reservation. Name should conform to RFC1035 or be a resource ID.

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

          Location : path

          Required : Yes

          Type : string

        zone

          Description : Name of the zone for this request. Zone name should conform to RFC1035.

          Location : path

          Required : Yes

          Type : string

      Parameter Order :

    • project
    • zone
    • reservation
    • Scopes :

    • https://www.googleapis.com/auth/cloud-platform
    • https://www.googleapis.com/auth/compute
    • Description : Perform maintenance on an extended reservation

  • compute.advice.calendarMode

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

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

      HTTP Method : POST

      Parameters :

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

          Location : path

          Required : Yes

          Type : string

        region

          Description : Name of the region for this request.

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

          Location : path

          Required : Yes

          Type : string

      Parameter Order :

    • project
    • region
    • Scopes :

    • https://www.googleapis.com/auth/cloud-platform
    • https://www.googleapis.com/auth/compute
    • Description : Advise how, where and when to create the requested amount of instances with specified accelerators, within the specified time and location limits. The method recommends creating future reservations for the requested resources.

  • compute.reservationBlocks.performMaintenance

      Path : projects/{project}/zones/{zone}/reservations/{reservation}/reservationBlocks/{reservationBlock}/performMaintenance

      Flat Path : projects/{project}/zones/{zone}/reservations/{reservation}/reservationBlocks/{reservationBlock}/performMaintenance

      HTTP Method : POST

      Parameters :

        project

          Description : Project ID for this request.

          Location : path

          Required : Yes

          Type : string

        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

        reservation

          Description : The name of the reservation. Name should conform to RFC1035 or be a resource ID.

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

          Location : path

          Required : Yes

          Type : string

        reservationBlock

          Description : The name of the reservation block. Name should conform to RFC1035 or be a resource ID.

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

          Location : path

          Required : Yes

          Type : string

        zone

          Description : Name of the zone for this request. Zone name should conform to RFC1035.

          Location : path

          Required : Yes

          Type : string

      Parameter Order :

    • project
    • zone
    • reservation
    • reservationBlock
    • Scopes :

    • https://www.googleapis.com/auth/cloud-platform
    • https://www.googleapis.com/auth/compute
    • Description : Allows customers to perform maintenance on a reservation block