168 lines
5.3 KiB
JSON
168 lines
5.3 KiB
JSON
{
|
|
"auth": {
|
|
"oauth2": {
|
|
"scopes": {
|
|
"https://www.googleapis.com/auth/cloud-platform": {
|
|
"description": "See, edit, configure, and delete your Google Cloud data and see the email address for your Google Account."
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"basePath": "",
|
|
"baseUrl": "https://baremetalsolution.googleapis.com/",
|
|
"batchPath": "batch",
|
|
"description": "Provides ways to manage Bare Metal Solution hardware installed in a regional extension located near a Google Cloud data center.",
|
|
"discoveryVersion": "v1",
|
|
"documentationLink": "https://cloud.google.com/bare-metal",
|
|
"fullyEncodeReservedExpansion": true,
|
|
"icons": {
|
|
"x16": "http://www.google.com/images/icons/product/search-16.gif",
|
|
"x32": "http://www.google.com/images/icons/product/search-32.gif"
|
|
},
|
|
"id": "baremetalsolution:v1",
|
|
"kind": "discovery#restDescription",
|
|
"mtlsRootUrl": "https://baremetalsolution.mtls.googleapis.com/",
|
|
"name": "baremetalsolution",
|
|
"ownerDomain": "google.com",
|
|
"ownerName": "Google",
|
|
"parameters": {
|
|
"$.xgafv": {
|
|
"description": "V1 error format.",
|
|
"enum": [
|
|
"1",
|
|
"2"
|
|
],
|
|
"enumDescriptions": [
|
|
"v1 error format",
|
|
"v2 error format"
|
|
],
|
|
"location": "query",
|
|
"type": "string"
|
|
},
|
|
"access_token": {
|
|
"description": "OAuth access token.",
|
|
"location": "query",
|
|
"type": "string"
|
|
},
|
|
"alt": {
|
|
"default": "json",
|
|
"description": "Data format for response.",
|
|
"enum": [
|
|
"json",
|
|
"media",
|
|
"proto"
|
|
],
|
|
"enumDescriptions": [
|
|
"Responses with Content-Type of application/json",
|
|
"Media download with context-dependent Content-Type",
|
|
"Responses with Content-Type of application/x-protobuf"
|
|
],
|
|
"location": "query",
|
|
"type": "string"
|
|
},
|
|
"callback": {
|
|
"description": "JSONP",
|
|
"location": "query",
|
|
"type": "string"
|
|
},
|
|
"fields": {
|
|
"description": "Selector specifying which fields to include in a partial response.",
|
|
"location": "query",
|
|
"type": "string"
|
|
},
|
|
"key": {
|
|
"description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.",
|
|
"location": "query",
|
|
"type": "string"
|
|
},
|
|
"oauth_token": {
|
|
"description": "OAuth 2.0 token for the current user.",
|
|
"location": "query",
|
|
"type": "string"
|
|
},
|
|
"prettyPrint": {
|
|
"default": "true",
|
|
"description": "Returns response with indentations and line breaks.",
|
|
"location": "query",
|
|
"type": "boolean"
|
|
},
|
|
"quotaUser": {
|
|
"description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.",
|
|
"location": "query",
|
|
"type": "string"
|
|
},
|
|
"uploadType": {
|
|
"description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").",
|
|
"location": "query",
|
|
"type": "string"
|
|
},
|
|
"upload_protocol": {
|
|
"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").",
|
|
"location": "query",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"protocol": "rest",
|
|
"resources": {
|
|
"projects": {
|
|
"resources": {
|
|
"locations": {
|
|
"resources": {
|
|
"instances": {
|
|
"methods": {
|
|
"resetInstance": {
|
|
"description": "Perform an ungraceful, hard reset on a machine (equivalent to shutting the power off, and then turning it back on).",
|
|
"flatPath": "v1/projects/{projectsId}/locations/{locationsId}/instances/{instancesId}:resetInstance",
|
|
"httpMethod": "POST",
|
|
"id": "baremetalsolution.projects.locations.instances.resetInstance",
|
|
"parameterOrder": [
|
|
"instance"
|
|
],
|
|
"parameters": {
|
|
"instance": {
|
|
"description": "Required. Name of the instance to reset.",
|
|
"location": "path",
|
|
"pattern": "^projects/[^/]+/locations/[^/]+/instances/[^/]+$",
|
|
"required": true,
|
|
"type": "string"
|
|
}
|
|
},
|
|
"path": "v1/{+instance}:resetInstance",
|
|
"request": {
|
|
"$ref": "ResetInstanceRequest"
|
|
},
|
|
"response": {
|
|
"$ref": "ResetInstanceResponse"
|
|
},
|
|
"scopes": [
|
|
"https://www.googleapis.com/auth/cloud-platform"
|
|
]
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|
|
},
|
|
"revision": "20211207",
|
|
"rootUrl": "https://baremetalsolution.googleapis.com/",
|
|
"schemas": {
|
|
"ResetInstanceRequest": {
|
|
"description": "Request for ResetInstance.",
|
|
"id": "ResetInstanceRequest",
|
|
"properties": {},
|
|
"type": "object"
|
|
},
|
|
"ResetInstanceResponse": {
|
|
"description": "Response for ResetInstance.",
|
|
"id": "ResetInstanceResponse",
|
|
"properties": {},
|
|
"type": "object"
|
|
}
|
|
},
|
|
"servicePath": "",
|
|
"title": "Bare Metal Solution API",
|
|
"version": "v1",
|
|
"version_module": true
|
|
} |