Compute Engine API (compute:v1)

2023-02-10

2 new methods

Additions

    Methods
  • compute.regionDisks.update

      Flat Path: projects/{project}/regions/{region}/disks/{disk}

      Scopes:

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

    • project
    • region
    • disk
    • HTTP Method: PATCH

      Parameters:

        project

          Required: Yes

          Location: path

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

          Description: Project ID for this request.

        region

          Location: path

          Required: Yes

          Description: The name of the region for this request.

          Type: string

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

        requestId

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

          Location: query

        disk

          Description: The disk name for this request.

          Type: string

          Required: Yes

          Location: path

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

        paths

          Type: string

          Repeated: Yes

          Location: query

        updateMask

          Location: query

          Type: string

          Format: google-fieldmask

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

      Path: projects/{project}/regions/{region}/disks/{disk}

      Description: Update the specified disk 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: user_license.

  • compute.disks.update

      Path: projects/{project}/zones/{zone}/disks/{disk}

      Flat Path: projects/{project}/zones/{zone}/disks/{disk}

      Parameter Order:

    • project
    • zone
    • disk
    • Description: Updates the specified disk with the data included in the request. The update is performed only on selected fields included as part of update-mask. Only the following fields can be modified: user_license.

      Parameters:

        zone

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

          Type: string

          Description: The name of the zone for this request.

          Required: Yes

          Location: path

        project

          Type: string

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

          Description: Project ID for this request.

        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

        paths

          Repeated: Yes

          Location: query

          Type: string

        disk

          Type: string

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

          Required: Yes

          Description: The disk name for this request.

          Location: path

        updateMask

          Location: query

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

          Format: google-fieldmask

          Type: string

      Scopes:

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