Skip to content

Commit

Permalink
feat(verifiedaccess): update the api
Browse files Browse the repository at this point in the history
#### verifiedaccess:v2

The following keys were added:
- schemas.VerifyChallengeResponseResult.properties.customerId.type (Total Keys: 1)
- schemas.VerifyChallengeResponseResult.properties.virtualDeviceId.type (Total Keys: 1)
  • Loading branch information
yoshi-automation committed Oct 18, 2022
1 parent f7cc8d2 commit e2dccf7
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 6 deletions.
4 changes: 3 additions & 1 deletion docs/dyn/verifiedaccess_v2.challenge.html
Expand Up @@ -108,7 +108,7 @@ <h3>Method Details</h3>
Returns:
An object of the form:

{ # Result message for VerifiedAccess.CreateChallenge.
{ # Result message for VerifiedAccess.GenerateChallenge.
&quot;alternativeChallenge&quot;: &quot;A String&quot;, # Challenge generated with the old signing key, the bytes representation of SignedData (this will only be present during key rotation).
&quot;challenge&quot;: &quot;A String&quot;, # Generated challenge, the bytes representation of SignedData.
}</pre>
Expand Down Expand Up @@ -136,10 +136,12 @@ <h3>Method Details</h3>
An object of the form:

{ # Result message for VerifiedAccess.VerifyChallengeResponse.
&quot;customerId&quot;: &quot;A String&quot;, # Unique customer id that this device belongs to, as defined by the Google Admin SDK at https://developers.google.com/admin-sdk/directory/v1/guides/manage-customers
&quot;devicePermanentId&quot;: &quot;A String&quot;, # Device permanent id is returned in this field (for the machine response only).
&quot;deviceSignal&quot;: &quot;A String&quot;, # Device signal in json string representation.
&quot;keyTrustLevel&quot;: &quot;A String&quot;, # Device attested key trust level.
&quot;signedPublicKeyAndChallenge&quot;: &quot;A String&quot;, # 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)
&quot;virtualDeviceId&quot;: &quot;A String&quot;, # Virtual device id of the device. The definition of virtual device id is platform-specific.
}</pre>
</div>

Expand Down
Expand Up @@ -146,7 +146,7 @@
}
}
},
"revision": "20220519",
"revision": "20221004",
"rootUrl": "https://verifiedaccess.googleapis.com/",
"schemas": {
"Challenge": {
Expand Down
16 changes: 12 additions & 4 deletions googleapiclient/discovery_cache/documents/verifiedaccess.v2.json
Expand Up @@ -146,11 +146,11 @@
}
}
},
"revision": "20220519",
"revision": "20221004",
"rootUrl": "https://verifiedaccess.googleapis.com/",
"schemas": {
"Challenge": {
"description": "Result message for VerifiedAccess.CreateChallenge.",
"description": "Result message for VerifiedAccess.GenerateChallenge.",
"id": "Challenge",
"properties": {
"alternativeChallenge": {
Expand Down Expand Up @@ -192,6 +192,10 @@
"description": "Result message for VerifiedAccess.VerifyChallengeResponse.",
"id": "VerifyChallengeResponseResult",
"properties": {
"customerId": {
"description": "Unique customer id that this device belongs to, as defined by the Google Admin SDK at https://developers.google.com/admin-sdk/directory/v1/guides/manage-customers",
"type": "string"
},
"devicePermanentId": {
"description": "Device permanent id is returned in this field (for the machine response only).",
"type": "string"
Expand All @@ -206,21 +210,25 @@
"KEY_TRUST_LEVEL_UNSPECIFIED",
"CHROME_OS_VERIFIED_MODE",
"CHROME_OS_DEVELOPER_MODE",
"CHROME_BROWSER_TPM_KEY",
"CHROME_BROWSER_HW_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 in the device hardware.",
"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"
},
"virtualDeviceId": {
"description": "Virtual device id of the device. The definition of virtual device id is platform-specific.",
"type": "string"
}
},
"type": "object"
Expand Down

0 comments on commit e2dccf7

Please sign in to comment.