Compute Engine API (compute:beta)

2023-08-04

3 new methods

Additions

    Methods
  • compute.snapshotSettings.get

  • compute.snapshotSettings.patch

      HTTP Method: PATCH

      Parameters:

        updateMask

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

          Type: string

          Location: query

          Format: google-fieldmask

        project

          Location: path

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

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

      Scopes:

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

      Description: Patch snapshot settings.

      Path: projects/{project}/global/snapshotSettings

      Flat Path: projects/{project}/global/snapshotSettings

  • compute.routers.getNatIpInfo

      Path: projects/{project}/regions/{region}/routers/{router}/getNatIpInfo

      Flat Path: projects/{project}/regions/{region}/routers/{router}/getNatIpInfo

      Parameters:

        router

          Required: Yes

          Type: string

          Location: path

          Description: Name of the Router resource to query for Nat IP information. The name should conform to RFC1035.

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

          Type: string

          Required: Yes

          Location: path

        region

          Location: path

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

          Description: Name of the region for this request.

          Type: string

          Required: Yes

        natName

          Type: string

          Description: Name of the nat service to filter the NAT IP information. If it is omitted, all nats for this router will be returned. Name should conform to RFC1035.

          Location: query

      HTTP Method: GET

      Description: Retrieves runtime NAT IP information.

      Parameter Order:

    • project
    • region
    • router
    • Scopes:

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