blob: 5b2af611f8c45a49ed1d9624484e88c137198835 [file] [log] [blame]
{
"auth": {
"oauth2": {
"scopes": {
"https://www.googleapis.com/auth/verifiedaccess": {
"description": "Verify your enterprise credentials"
}
}
}
},
"basePath": "",
"baseUrl": "https://verifiedaccess.googleapis.com/",
"batchPath": "batch",
"canonicalName": "verifiedaccess",
"description": "API for Verified Access chrome extension to provide credential verification for chrome devices connecting to an enterprise network",
"discoveryVersion": "v1",
"documentationLink": "https://developers.google.com/chrome/verified-access",
"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": "verifiedaccess:v2",
"kind": "discovery#restDescription",
"mtlsRootUrl": "https://verifiedaccess.mtls.googleapis.com/",
"name": "verifiedaccess",
"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": {
"challenge": {
"methods": {
"generate": {
"description": "Generates a new challenge.",
"flatPath": "v2/challenge:generate",
"httpMethod": "POST",
"id": "verifiedaccess.challenge.generate",
"parameterOrder": [],
"parameters": {},
"path": "v2/challenge:generate",
"request": {
"$ref": "Empty"
},
"response": {
"$ref": "Challenge"
},
"scopes": [
"https://www.googleapis.com/auth/verifiedaccess"
]
},
"verify": {
"description": "Verifies the challenge response.",
"flatPath": "v2/challenge:verify",
"httpMethod": "POST",
"id": "verifiedaccess.challenge.verify",
"parameterOrder": [],
"parameters": {},
"path": "v2/challenge:verify",
"request": {
"$ref": "VerifyChallengeResponseRequest"
},
"response": {
"$ref": "VerifyChallengeResponseResult"
},
"scopes": [
"https://www.googleapis.com/auth/verifiedaccess"
]
}
}
}
},
"revision": "20220215",
"rootUrl": "https://verifiedaccess.googleapis.com/",
"schemas": {
"Challenge": {
"description": "Result message for VerifiedAccess.CreateChallenge.",
"id": "Challenge",
"properties": {
"alternativeChallenge": {
"description": "Challenge generated with the old signing key, the bytes representation of SignedData (this will only be present during key rotation).",
"format": "byte",
"type": "string"
},
"challenge": {
"description": "Generated challenge, the bytes representation of SignedData.",
"format": "byte",
"type": "string"
}
},
"type": "object"
},
"Empty": {
"description": "A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); } The JSON representation for `Empty` is empty JSON object `{}`.",
"id": "Empty",
"properties": {},
"type": "object"
},
"VerifyChallengeResponseRequest": {
"description": "Signed ChallengeResponse.",
"id": "VerifyChallengeResponseRequest",
"properties": {
"challengeResponse": {
"description": "Required. The generated response to the challenge, the bytes representation of SignedData.",
"format": "byte",
"type": "string"
},
"expectedIdentity": {
"description": "Optional. Service can optionally provide identity information about the device or user associated with the key. For an EMK, this value is the enrolled domain. For an EUK, this value is the user's email address. If present, this value will be checked against contents of the response, and verification will fail if there is no match.",
"type": "string"
}
},
"type": "object"
},
"VerifyChallengeResponseResult": {
"description": "Result message for VerifiedAccess.VerifyChallengeResponse.",
"id": "VerifyChallengeResponseResult",
"properties": {
"devicePermanentId": {
"description": "Device permanent id is returned in this field (for the machine response only).",
"type": "string"
},
"deviceSignal": {
"description": "Device signal in json string representation.",
"type": "string"
},
"keyTrustLevel": {
"description": "Device attested key trust level.",
"enum": [
"KEY_TRUST_LEVEL_UNSPECIFIED",
"CHROME_OS_VERIFIED_MODE",
"CHROME_OS_DEVELOPER_MODE",
"CHROME_BROWSER_TPM_KEY",
"CHROME_BROWSER_OS_KEY"
],
"enumDescriptions": [
"UNSPECIFIED.",
"ChromeOS device in verified mode.",
"ChromeOS device in developer mode.",
"Chrome Browser with the key stored in TPM.",
"Chrome Browser with the key stored at OS level."
],
"type": "string"
},
"signedPublicKeyAndChallenge": {
"description": "Certificate Signing Request (in the SPKAC format, base64 encoded) is returned in this field. This field will be set only if device has included CSR in its challenge response. (the option to include CSR is now available for both user and machine responses)",
"type": "string"
}
},
"type": "object"
}
},
"servicePath": "",
"title": "Chrome Verified Access API",
"version": "v2",
"version_module": true
}