Compute Engine API (compute:beta)

2025-04-17

2 new methods | 2 updated methods

Additions

    Methods
  • compute.regionNetworkFirewallPolicies.patchAssociation

      Path : projects/{project}/regions/{region}/firewallPolicies/{firewallPolicy}/patchAssociation

      Flat Path : projects/{project}/regions/{region}/firewallPolicies/{firewallPolicy}/patchAssociation

      HTTP Method : POST

      Parameters :

        firewallPolicy

          Description : Name of the firewall policy to update.

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

          Location : path

          Required : Yes

          Type : string

        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 scoping this request.

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

          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

      Parameter Order :

    • project
    • region
    • firewallPolicy
    • Scopes :

    • https://www.googleapis.com/auth/cloud-platform
    • https://www.googleapis.com/auth/compute
    • Description : Updates an association for the specified network firewall policy.

  • 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.regionNetworkFirewallPolicies.addAssociation

      Parameters :

        associatedPolicyToBeReplaced

          Description : Name of the firewall policy associated with the target network to swap association with. This field is mutually exclusive with 'replace_existing_association'.

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

          Location : query

          Type : string

  • 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