Compute Engine API (compute:v1)

2025-04-17

1 new method | 1 updated method

Additions

    Methods
  • compute.machineImages.setLabels

      Path : projects/{project}/global/machineImages/{resource}/setLabels

      Flat Path : projects/{project}/global/machineImages/{resource}/setLabels

      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

        resource

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

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

          Location : path

          Required : Yes

          Type : string

      Parameter Order :

    • project
    • resource
    • Scopes :

    • https://www.googleapis.com/auth/cloud-platform
    • https://www.googleapis.com/auth/compute
    • Description : Sets the labels on a machine image. To learn more about labels, read the Labeling Resources documentation.

Updates

    Methods
  • compute.reservationBlocks.performMaintenance

      Parameters :

        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