Compute Engine API

Creates and runs virtual machines on Google Cloud Platform.

Service: compute.googleapis.com

To call this service, we recommend that you use the Google-provided client libraries. If your application needs to use your own libraries to call this service, use the following information when you make the API requests.

Discovery document

A Discovery Document is a machine-readable specification for describing and consuming REST APIs. It is used to build client libraries, IDE plugins, and other tools that interact with Google APIs. One service may provide multiple discovery documents. This service provides the following discovery document:

Service endpoint

A service endpoint is a base URL that specifies the network address of an API service. One service might have multiple service endpoints. This service has the following service endpoint and all URIs below are relative to this service endpoint:

  • https://compute.googleapis.com

REST Resource: v1.acceleratorTypes

Methods
aggregatedList GET /compute/v1/projects/{project}/aggregated/acceleratorTypes
Retrieves an aggregated list of accelerator types.
get GET /compute/v1/projects/{project}/zones/{zone}/acceleratorTypes/{resourceId}
Returns the specified accelerator type.
list GET /compute/v1/projects/{project}/zones/{zone}/acceleratorTypes
Retrieves a list of accelerator types that are available to the specified project.

REST Resource: v1.addresses

Methods
aggregatedList GET /compute/v1/projects/{project}/aggregated/addresses
Retrieves an aggregated list of addresses.
delete DELETE /compute/v1/projects/{project}/regions/{region}/addresses/{resourceId}
Deletes the specified address resource.
get GET /compute/v1/projects/{project}/regions/{region}/addresses/{resourceId}
Returns the specified address resource.
insert POST /compute/v1/projects/{project}/regions/{region}/addresses
Creates an address resource in the specified project by using the data included in the request.
list GET /compute/v1/projects/{project}/regions/{region}/addresses
Retrieves a list of addresses contained within the specified region.

REST Resource: v1.autoscalers

Methods
aggregatedList GET /compute/v1/projects/{project}/aggregated/autoscalers
Retrieves an aggregated list of autoscalers.
delete DELETE /compute/v1/projects/{project}/zones/{zone}/autoscalers/{resourceId}
Deletes the specified autoscaler.
get GET /compute/v1/projects/{project}/zones/{zone}/autoscalers/{resourceId}
Returns the specified autoscaler resource.
insert POST /compute/v1/projects/{project}/zones/{zone}/autoscalers
Creates an autoscaler in the specified project using the data included in the request.