Overview
Provides ways to manage Bare Metal Solution hardware installed in a regional extension located near a Google Cloud data center.
Bare Metal Solution API is an analytics API from googleapis.com. Requests are authenticated with OAuth. It is served over HTTPS. Its OpenAPI description documents 30 endpoints.
At a glance
- Authentication
- OAuth
- HTTPS
- Yes
- CORS
- Unknown
- Category
- Analytics
- Base URL
https://baremetalsolution.googleapis.com/- Version
- v2
- Endpoints
- 30
- OpenAPI
- Specification ↗
- Spec updated
- 2023-03-20
Make a first request
Replace the placeholders; the documentation says exactly where credentials go.
curl -X GET "https://baremetalsolution.googleapis.com/v2/LOCATION/instanceProvisioningSettings:fetch" \
-H "Accept: application/json" \
-H "Authorization: Bearer YOUR_TOKEN"const response = await fetch("https://baremetalsolution.googleapis.com/v2/LOCATION/instanceProvisioningSettings:fetch", {
method: "GET",
headers: {
"Accept": "application/json",
"Authorization": "Bearer YOUR_TOKEN",
},
});
const data = await response.json();
console.log(data);import requests
response = requests.request(
"GET",
"https://baremetalsolution.googleapis.com/v2/LOCATION/instanceProvisioningSettings:fetch",
headers={
"Accept": "application/json",
"Authorization": "Bearer YOUR_TOKEN",
},
timeout=30,
)
print(response.json())Endpoints
| Method | Path | What it does |
|---|---|---|
| POST | /v2/{instance}:detachLun | Detach LUN from Instance. |
| GET | /v2/{location}/instanceProvisioningSettings:fetch | Get instance provisioning settings for a given project. This is hidden method used by UI only. |
| GET | /v2/{location}/networks:listNetworkUsage | List all Networks (and used IPs for each Network) in the vendor account associated with the specified project. |
| GET | /v2/{name} | Returns the specified snapshot resource. Returns INVALID_ARGUMENT if called for a non-boot volume. |
| PATCH | /v2/{name} | Update details of a single storage volume. |
| DELETE | /v2/{name} | Deletes a volume snapshot. Returns INVALID_ARGUMENT if called for a non-boot volume. |
| GET | /v2/{name}/locations | Lists information about the supported locations for this service. |
| POST | /v2/{name}:disableInteractiveSerialConsole | Disable the interactive serial console feature on an instance. |
| POST | /v2/{name}:enableInteractiveSerialConsole | Enable the interactive serial console feature on an instance. |
| POST | /v2/{name}:evict | Skips lun's cooloff and deletes it now. Lun must be in cooloff state. |
| POST | /v2/{name}:rename | RenameVolume sets a new name for a volume. Use with caution, previous names become immediately invalidated. |
| POST | /v2/{name}:reset | Perform an ungraceful, hard reset on a server. Equivalent to shutting the power off and then turning it back on. |
| POST | /v2/{name}:start | Starts a server that was shutdown. |
| POST | /v2/{name}:stop | Stop a running server. |
| GET | /v2/{parent}/instances | List servers in a given project and location. |
| POST | /v2/{parent}/instances | Create an Instance. |
| GET | /v2/{parent}/luns | List storage volume luns for given storage volume. |
| GET | /v2/{parent}/networks | List network in a given project and location. |
| GET | /v2/{parent}/nfsShares | List NFS shares. |
| POST | /v2/{parent}/nfsShares | Create an NFS share. |
| POST | /v2/{parent}/provisioningConfigs | Create new ProvisioningConfig. |
| POST | /v2/{parent}/provisioningConfigs:submit | Submit a provisiong configuration for a given project. |
| GET | /v2/{parent}/provisioningQuotas | List the budget details to provision resources on a given project. |
| GET | /v2/{parent}/snapshots | Retrieves the list of snapshots for the specified volume. Returns a response with an empty list of snapshots if called for a non-boot volume. |
| POST | /v2/{parent}/snapshots | Takes a snapshot of a boot volume. Returns INVALID_ARGUMENT if called for a non-boot volume. |
| GET | /v2/{parent}/sshKeys | Lists the public SSH keys registered for the specified project. These SSH keys are used only for the interactive serial console feature. |
| POST | /v2/{parent}/sshKeys | Register a public SSH key in the specified project for use with the interactive serial console feature. |
| GET | /v2/{parent}/volumes | List storage volumes in a given project and location. |
| POST | /v2/{volumeSnapshot}:restoreVolumeSnapshot | Uses the specified snapshot to restore its parent volume. Returns INVALID_ARGUMENT if called for a non-boot volume. |
| POST | /v2/{volume}:resize | Emergency Volume resize. |
Questions
Does the Bare Metal Solution API API need an API key?
Yes. The Bare Metal Solution API API uses OAuth authentication; the documentation explains how to get credentials.
Does the Bare Metal Solution API API support HTTPS?
Yes, the Bare Metal Solution API API is served over HTTPS.
How many endpoints does the Bare Metal Solution API API have?
Its OpenAPI description lists 30 endpoints in version v2. All of them are shown on this page.
What are alternatives to the Bare Metal Solution API API?
Other Analytics APIs include Google Play Integrity API, versionhistory.googleapis.com API, Doc Converter, Perspective Comment Analyzer API, Safe Browsing API.
Similar analytics APIs
Compare alternatives →Google Play Integrity API
AnalyticsThe Play Integrity API helps you check that you're interacting with your genuine app on a genuine Android device powered by Google Play services. The Play Integrity API has replaced SafetyNet Attestation and Android Device Verification.
versionhistory.googleapis.com API
AnalyticsVersion History API - Prod
Doc Converter
AnalyticsThis api converts file formats of OpenXml and OpenOffice documents formats to vector files (e.g., svg)
Perspective Comment Analyzer API
AnalyticsThe Perspective Comment Analyzer API provides information about the potential impact of a comment on a conversation (e.g. it can provide a score for the "toxicity" of a comment). Users can leverage the "SuggestCommentScore" method to submit corrections to improve Perspective over time. Users can set the "doNotStore" flag to ensure that all submitted comments are automatically deleted after scores are returned.
Safe Browsing API
AnalyticsEnables client applications to check web resources (most commonly URLs) against Google-generated lists of unsafe web resources. The Safe Browsing APIs are for non-commercial use only. If you need to use APIs to detect malicious URLs for commercial purposes – meaning “for sale or revenue-generating purposes” – please refer to the Web Risk API.
Web Fonts Developer API
AnalyticsThe Google Web Fonts Developer API lets you retrieve information about web fonts served by Google.
Listed from APIs.guru (CC0).