Compute Engine API (compute:beta)

2025-02-27

3 new methods

Additions

    Methods
  • compute.instances.reportHostAsFaulty

      Path : projects/{project}/zones/{zone}/instances/{instance}/reportHostAsFaulty

      Flat Path : projects/{project}/zones/{zone}/instances/{instance}/reportHostAsFaulty

      HTTP Method : POST

      Parameters :

        instance

          Description : Name of the instance scoping 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

        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

        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

        zone

          Description : The name of the zone for this request.

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

          Location : path

          Required : Yes

          Type : string

      Parameter Order :

    • project
    • zone
    • instance
    • Scopes :

    • https://www.googleapis.com/auth/cloud-platform
    • https://www.googleapis.com/auth/compute
    • Description : Mark the host as faulty and try to restart the instance on a new host.

  • compute.instances.addNetworkInterface

      Path : projects/{project}/zones/{zone}/instances/{instance}/addNetworkInterface

      Flat Path : projects/{project}/zones/{zone}/instances/{instance}/addNetworkInterface

      HTTP Method : POST

      Parameters :

        instance

          Description : The instance name for this request stored as resource_id. Name should conform to RFC1035 or be an unsigned long integer.

          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

        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

        zone

          Description : The name of the zone for this request.

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

          Location : path

          Required : Yes

          Type : string

      Parameter Order :

    • project
    • zone
    • instance
    • Scopes :

    • https://www.googleapis.com/auth/cloud-platform
    • https://www.googleapis.com/auth/compute
    • Description : Adds one dynamic network interface to an active instance.

  • compute.instances.deleteNetworkInterface

      Path : projects/{project}/zones/{zone}/instances/{instance}/deleteNetworkInterface

      Flat Path : projects/{project}/zones/{zone}/instances/{instance}/deleteNetworkInterface

      HTTP Method : POST

      Parameters :

        instance

          Description : The instance name for this request stored as resource_id. Name should conform to RFC1035 or be an unsigned long integer.

          Location : path

          Required : Yes

          Type : string

        networkInterfaceName

          Description : The name of the dynamic network interface to be deleted from the instance.

          Location : query

          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

        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

        zone

          Description : The name of the zone for this request.

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

          Location : path

          Required : Yes

          Type : string

      Parameter Order :

    • project
    • zone
    • instance
    • networkInterfaceName
    • Scopes :

    • https://www.googleapis.com/auth/cloud-platform
    • https://www.googleapis.com/auth/compute
    • Description : Deletes one dynamic network interface from an active instance. InstancesDeleteNetworkInterfaceRequest indicates: - instance from which to delete, using project+zone+resource_id fields; - dynamic network interface to be deleted, using network_interface_name field;