@googleapis/verifiedaccess 0.3.3 → 2.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,34 @@
1
1
  # Changelog
2
2
 
3
+ ## [2.0.0](https://github.com/googleapis/google-api-nodejs-client/compare/verifiedaccess-v1.0.0...verifiedaccess-v2.0.0) (2023-05-02)
4
+
5
+
6
+ ### ⚠ BREAKING CHANGES
7
+
8
+ * **verifiedaccess:** This release has breaking changes.
9
+
10
+ ### Features
11
+
12
+ * **verifiedaccess:** update the API ([aaafb85](https://github.com/googleapis/google-api-nodejs-client/commit/aaafb85ded6c9ed7eb5e5fd6c9774118a2d6daf1))
13
+
14
+ ## [1.0.0](https://github.com/googleapis/google-api-nodejs-client/compare/verifiedaccess-v0.3.4...verifiedaccess-v1.0.0) (2022-10-28)
15
+
16
+
17
+ ### ⚠ BREAKING CHANGES
18
+
19
+ * **build:** This release has breaking changes.
20
+
21
+ ### Features
22
+
23
+ * **build:** run the generator (submodules now require Node 12) ([#3073](https://github.com/googleapis/google-api-nodejs-client/issues/3073)) ([eda0707](https://github.com/googleapis/google-api-nodejs-client/commit/eda07079dadab46a80b6f9ede618f4f43030169e))
24
+
25
+ ## [0.3.4](https://github.com/googleapis/google-api-nodejs-client/compare/verifiedaccess-v0.3.3...verifiedaccess-v0.3.4) (2022-09-21)
26
+
27
+
28
+ ### Bug Fixes
29
+
30
+ * **verifiedaccess:** update the API ([97ba50f](https://github.com/googleapis/google-api-nodejs-client/commit/97ba50f23fcc265c9e7b0f48729f777ced2af198))
31
+
3
32
  ## [0.3.3](https://github.com/googleapis/google-api-nodejs-client/compare/verifiedaccess-v0.3.2...verifiedaccess-v0.3.3) (2022-07-04)
4
33
 
5
34
 
package/build/index.js CHANGED
@@ -12,22 +12,23 @@
12
12
  // See the License for the specific language governing permissions and
13
13
  // limitations under the License.
14
14
  Object.defineProperty(exports, "__esModule", { value: true });
15
+ exports.AuthPlus = exports.verifiedaccess_v2 = exports.verifiedaccess_v1 = exports.auth = exports.verifiedaccess = exports.VERSIONS = void 0;
15
16
  /*! THIS FILE IS AUTO-GENERATED */
16
17
  const googleapis_common_1 = require("googleapis-common");
17
18
  const v1_1 = require("./v1");
18
- exports.verifiedaccess_v1 = v1_1.verifiedaccess_v1;
19
+ Object.defineProperty(exports, "verifiedaccess_v1", { enumerable: true, get: function () { return v1_1.verifiedaccess_v1; } });
19
20
  const v2_1 = require("./v2");
20
- exports.verifiedaccess_v2 = v2_1.verifiedaccess_v2;
21
+ Object.defineProperty(exports, "verifiedaccess_v2", { enumerable: true, get: function () { return v2_1.verifiedaccess_v2; } });
21
22
  exports.VERSIONS = {
22
23
  v1: v1_1.verifiedaccess_v1.Verifiedaccess,
23
24
  v2: v2_1.verifiedaccess_v2.Verifiedaccess,
24
25
  };
25
26
  function verifiedaccess(versionOrOptions) {
26
- return googleapis_common_1.getAPI('verifiedaccess', versionOrOptions, exports.VERSIONS, this);
27
+ return (0, googleapis_common_1.getAPI)('verifiedaccess', versionOrOptions, exports.VERSIONS, this);
27
28
  }
28
29
  exports.verifiedaccess = verifiedaccess;
29
30
  const auth = new googleapis_common_1.AuthPlus();
30
31
  exports.auth = auth;
31
32
  var googleapis_common_2 = require("googleapis-common");
32
- exports.AuthPlus = googleapis_common_2.AuthPlus;
33
+ Object.defineProperty(exports, "AuthPlus", { enumerable: true, get: function () { return googleapis_common_2.AuthPlus; } });
33
34
  //# sourceMappingURL=index.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../index.ts"],"names":[],"mappings":";AAAA,4BAA4B;AAC5B,kEAAkE;AAClE,mEAAmE;AACnE,0CAA0C;AAC1C,EAAE;AACF,gDAAgD;AAChD,EAAE;AACF,sEAAsE;AACtE,oEAAoE;AACpE,2EAA2E;AAC3E,sEAAsE;AACtE,iCAAiC;;AAEjC,kCAAkC;AAElC,yDAAuE;AACvE,6BAAuC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// See the License for the specific language governing permissions and
13
13
  // limitations under the License.
14
14
  Object.defineProperty(exports, "__esModule", { value: true });
15
+ exports.verifiedaccess_v1 = void 0;
15
16
  /* eslint-disable @typescript-eslint/no-explicit-any */
16
17
  /* eslint-disable @typescript-eslint/no-unused-vars */
17
18
  /* eslint-disable @typescript-eslint/no-empty-interface */
@@ -69,10 +70,10 @@ var verifiedaccess_v1;
69
70
  context: this.context,
70
71
  };
71
72
  if (callback) {
72
- googleapis_common_1.createAPIRequest(parameters, callback);
73
+ (0, googleapis_common_1.createAPIRequest)(parameters, callback);
73
74
  }
74
75
  else {
75
- return googleapis_common_1.createAPIRequest(parameters);
76
+ return (0, googleapis_common_1.createAPIRequest)(parameters);
76
77
  }
77
78
  }
78
79
  verify(paramsOrCallback, optionsOrCallback, callback) {
@@ -99,10 +100,10 @@ var verifiedaccess_v1;
99
100
  context: this.context,
100
101
  };
101
102
  if (callback) {
102
- googleapis_common_1.createAPIRequest(parameters, callback);
103
+ (0, googleapis_common_1.createAPIRequest)(parameters, callback);
103
104
  }
104
105
  else {
105
- return googleapis_common_1.createAPIRequest(parameters);
106
+ return (0, googleapis_common_1.createAPIRequest)(parameters);
106
107
  }
107
108
  }
108
109
  }
package/build/v1.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"v1.js","sourceRoot":"","sources":["../v1.ts"],"names":[],"mappings":";AAAA,4BAA4B;AAC5B,kEAAkE;AAClE,mEAAmE;AACnE,0CAA0C;AAC1C,EAAE;AACF,gDAAgD;AAChD,EAAE;AACF,sEAAsE;AACtE,oEAAoE;AACpE,2EAA2E;AAC3E,sEAAsE;AACtE,iCAAiC;;AAEjC,uDAAuD;AACvD,sDAAsD;AACtD,0DAA0D;AAC1D,oDAAoD;AACpD,4CAA4C;AAE5C,yDAe2B;AAG3B,IAAiB,iBAAiB,CAkcjC;AAlcD,WAAiB,iBAAiB;IAgEhC;;;;;;;;;;OAUG;IACH,MAAa,cAAc;QAIzB,YAAY,OAAsB,EAAE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OAAO,EAAE,IAAI,CAAC,OAAO;aACtB,CAAC;YACF,IAAI,QAAQ,EAAE;gBACZ,IAAA,oCAAgB,EACd,UAAU,EACV,QAAyC,CAC1C,CAAC;aACH;iBAAM;gBACL,OAAO,IAAA,oCAAgB,EACrB,UAAU,CACX,CAAC;aACH;QACH,CAAC;KACF;IA1RY,oCAAkB,qBA0R9B,CAAA;AAcH,CAAC,EAlcgB,iBAAiB,GAAjB,yBAAiB,KAAjB,yBAAiB,QAkcjC"}
package/build/v2.d.ts CHANGED
@@ -72,18 +72,152 @@ export declare namespace verifiedaccess_v2 {
72
72
  constructor(options: GlobalOptions, google?: GoogleConfigurable);
73
73
  }
74
74
  /**
75
- * Result message for VerifiedAccess.CreateChallenge.
75
+ * Result message for VerifiedAccess.GenerateChallenge.
76
76
  */
77
77
  export interface Schema$Challenge {
78
- /**
79
- * Challenge generated with the old signing key, the bytes representation of SignedData (this will only be present during key rotation).
80
- */
81
- alternativeChallenge?: string | null;
82
78
  /**
83
79
  * Generated challenge, the bytes representation of SignedData.
84
80
  */
85
81
  challenge?: string | null;
86
82
  }
83
+ /**
84
+ * Properties of the CrowdStrike agent installed on a device.
85
+ */
86
+ export interface Schema$CrowdStrikeAgent {
87
+ /**
88
+ * The Agent ID of the Crowdstrike agent.
89
+ */
90
+ agentId?: string | null;
91
+ /**
92
+ * The Customer ID to which the agent belongs to.
93
+ */
94
+ customerId?: string | null;
95
+ }
96
+ /**
97
+ * The device signals as reported by Chrome.
98
+ */
99
+ export interface Schema$DeviceSignals {
100
+ /**
101
+ * Value of the AllowScreenLock policy on the device. See https://chromeenterprise.google/policies/?policy=AllowScreenLock for more details.
102
+ */
103
+ allowScreenLock?: boolean | null;
104
+ /**
105
+ * Current version of the Chrome browser which generated this set of signals. Example value: "107.0.5286.0".
106
+ */
107
+ browserVersion?: string | null;
108
+ /**
109
+ * Whether Chrome's built-in DNS client is used. The OS DNS client is otherwise used. This value may be controlled by an enterprise policy: https://chromeenterprise.google/policies/#BuiltInDnsClientEnabled.
110
+ */
111
+ builtInDnsClientEnabled?: boolean | null;
112
+ /**
113
+ * Whether access to the Chrome Remote Desktop application is blocked via a policy.
114
+ */
115
+ chromeRemoteDesktopAppBlocked?: boolean | null;
116
+ /**
117
+ * Crowdstrike agent properties installed on the device, if any.
118
+ */
119
+ crowdStrikeAgent?: Schema$CrowdStrikeAgent;
120
+ /**
121
+ * Affiliation IDs of the organizations that are affiliated with the organization that is currently managing the device. When the sets of device and profile affiliation IDs overlap, it means that the organizations managing the device and user are affiliated. To learn more about user affiliation, visit https://support.google.com/chrome/a/answer/12801245?ref_topic=9027936.
122
+ */
123
+ deviceAffiliationIds?: string[] | null;
124
+ /**
125
+ * Enrollment domain of the customer which is currently managing the device.
126
+ */
127
+ deviceEnrollmentDomain?: string | null;
128
+ /**
129
+ * The name of the device's manufacturer.
130
+ */
131
+ deviceManufacturer?: string | null;
132
+ /**
133
+ * The name of the device's model.
134
+ */
135
+ deviceModel?: string | null;
136
+ /**
137
+ * The encryption state of the disk. On ChromeOS, the main disk is always ENCRYPTED.
138
+ */
139
+ diskEncryption?: string | null;
140
+ /**
141
+ * The display name of the device, as defined by the user.
142
+ */
143
+ displayName?: string | null;
144
+ /**
145
+ * Hostname of the device.
146
+ */
147
+ hostname?: string | null;
148
+ /**
149
+ * International Mobile Equipment Identity (IMEI) of the device.
150
+ */
151
+ imei?: string[] | null;
152
+ /**
153
+ * MAC addresses of the device.
154
+ */
155
+ macAddresses?: string[] | null;
156
+ /**
157
+ * Mobile Equipment Identifier (MEID) of the device.
158
+ */
159
+ meid?: string[] | null;
160
+ /**
161
+ * The type of the Operating System currently running on the device.
162
+ */
163
+ operatingSystem?: string | null;
164
+ /**
165
+ * The state of the OS level firewall. On ChromeOS, the value will always be ENABLED on regular devices and UNKNOWN on devices in developer mode.
166
+ */
167
+ osFirewall?: string | null;
168
+ /**
169
+ * The current version of the Operating System. On Windows and linux, the value will also include the security patch information.
170
+ */
171
+ osVersion?: string | null;
172
+ /**
173
+ * Whether the Password Protection Warning feature is enabled or not. Password protection alerts users when they reuse their protected password on potentially suspicious sites. This setting is controlled by an enterprise policy: https://chromeenterprise.google/policies/#PasswordProtectionWarningTrigger. Note that the policy unset does not have the same effects as having the policy explicitly set to `PASSWORD_PROTECTION_OFF`.
174
+ */
175
+ passwordProtectionWarningTrigger?: string | null;
176
+ /**
177
+ * Affiliation IDs of the organizations that are affiliated with the organization that is currently managing the Chrome Profile’s user or ChromeOS user.
178
+ */
179
+ profileAffiliationIds?: string[] | null;
180
+ /**
181
+ * Whether Enterprise-grade (i.e. custom) unsafe URL scanning is enabled or not. This setting may be controlled by an enterprise policy: https://chromeenterprise.google/policies/#EnterpriseRealTimeUrlCheckMode
182
+ */
183
+ realtimeUrlCheckMode?: string | null;
184
+ /**
185
+ * Safe Browsing Protection Level. That setting may be controlled by an enterprise policy: https://chromeenterprise.google/policies/#SafeBrowsingProtectionLevel.
186
+ */
187
+ safeBrowsingProtectionLevel?: string | null;
188
+ /**
189
+ * The state of the Screen Lock password protection. On ChromeOS, this value will always be ENABLED as there is not way to disable requiring a password or pin when unlocking the device.
190
+ */
191
+ screenLockSecured?: string | null;
192
+ /**
193
+ * Whether the device's startup software has its Secure Boot feature enabled.
194
+ */
195
+ secureBootMode?: string | null;
196
+ /**
197
+ * The serial number of the device. On Windows, this represents the BIOS's serial number.
198
+ */
199
+ serialNumber?: string | null;
200
+ /**
201
+ * Whether the Site Isolation (a.k.a Site Per Process) setting is enabled. That setting may be controlled by an enterprise policy: https://chromeenterprise.google/policies/#SitePerProcess
202
+ */
203
+ siteIsolationEnabled?: boolean | null;
204
+ /**
205
+ * List of the addesses of all OS level DNS servers configured in the device's network settings.
206
+ */
207
+ systemDnsServers?: string[] | null;
208
+ /**
209
+ * Whether Chrome is blocking third-party software injection or not. This setting may be controlled by an enterprise policy: https://chromeenterprise.google/policies/?policy=ThirdPartyBlockingEnabled
210
+ */
211
+ thirdPartyBlockingEnabled?: boolean | null;
212
+ /**
213
+ * Windows domain that the current machine has joined.
214
+ */
215
+ windowsMachineDomain?: string | null;
216
+ /**
217
+ * Windows domain for the current OS user.
218
+ */
219
+ windowsUserDomain?: string | null;
220
+ }
87
221
  /**
88
222
  * 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); \}
89
223
  */
@@ -106,14 +240,22 @@ export declare namespace verifiedaccess_v2 {
106
240
  * Result message for VerifiedAccess.VerifyChallengeResponse.
107
241
  */
108
242
  export interface Schema$VerifyChallengeResponseResult {
243
+ /**
244
+ * 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
245
+ */
246
+ customerId?: string | null;
109
247
  /**
110
248
  * Device permanent id is returned in this field (for the machine response only).
111
249
  */
112
250
  devicePermanentId?: string | null;
113
251
  /**
114
- * Device signal in json string representation.
252
+ * Deprecated. Device signal in json string representation. Prefer using `device_signals` instead.
115
253
  */
116
254
  deviceSignal?: string | null;
255
+ /**
256
+ * Device signals.
257
+ */
258
+ deviceSignals?: Schema$DeviceSignals;
117
259
  /**
118
260
  * Device attested key trust level.
119
261
  */
@@ -122,6 +264,10 @@ export declare namespace verifiedaccess_v2 {
122
264
  * 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)
123
265
  */
124
266
  signedPublicKeyAndChallenge?: string | null;
267
+ /**
268
+ * Virtual device id of the device. The definition of virtual device id is platform-specific.
269
+ */
270
+ virtualDeviceId?: string | null;
125
271
  }
126
272
  export class Resource$Challenge {
127
273
  context: APIRequestContext;
@@ -163,7 +309,6 @@ export declare namespace verifiedaccess_v2 {
163
309
  *
164
310
  * // Example response
165
311
  * // {
166
- * // "alternativeChallenge": "my_alternativeChallenge",
167
312
  * // "challenge": "my_challenge"
168
313
  * // }
169
314
  * }
@@ -226,10 +371,13 @@ export declare namespace verifiedaccess_v2 {
226
371
  *
227
372
  * // Example response
228
373
  * // {
374
+ * // "customerId": "my_customerId",
229
375
  * // "devicePermanentId": "my_devicePermanentId",
230
376
  * // "deviceSignal": "my_deviceSignal",
377
+ * // "deviceSignals": {},
231
378
  * // "keyTrustLevel": "my_keyTrustLevel",
232
- * // "signedPublicKeyAndChallenge": "my_signedPublicKeyAndChallenge"
379
+ * // "signedPublicKeyAndChallenge": "my_signedPublicKeyAndChallenge",
380
+ * // "virtualDeviceId": "my_virtualDeviceId"
233
381
  * // }
234
382
  * }
235
383
  *
package/build/v2.js CHANGED
@@ -12,6 +12,7 @@
12
12
  // See the License for the specific language governing permissions and
13
13
  // limitations under the License.
14
14
  Object.defineProperty(exports, "__esModule", { value: true });
15
+ exports.verifiedaccess_v2 = void 0;
15
16
  /* eslint-disable @typescript-eslint/no-explicit-any */
16
17
  /* eslint-disable @typescript-eslint/no-unused-vars */
17
18
  /* eslint-disable @typescript-eslint/no-empty-interface */
@@ -70,10 +71,10 @@ var verifiedaccess_v2;
70
71
  context: this.context,
71
72
  };
72
73
  if (callback) {
73
- googleapis_common_1.createAPIRequest(parameters, callback);
74
+ (0, googleapis_common_1.createAPIRequest)(parameters, callback);
74
75
  }
75
76
  else {
76
- return googleapis_common_1.createAPIRequest(parameters);
77
+ return (0, googleapis_common_1.createAPIRequest)(parameters);
77
78
  }
78
79
  }
79
80
  verify(paramsOrCallback, optionsOrCallback, callback) {
@@ -100,10 +101,10 @@ var verifiedaccess_v2;
100
101
  context: this.context,
101
102
  };
102
103
  if (callback) {
103
- googleapis_common_1.createAPIRequest(parameters, callback);
104
+ (0, googleapis_common_1.createAPIRequest)(parameters, callback);
104
105
  }
105
106
  else {
106
- return googleapis_common_1.createAPIRequest(parameters);
107
+ return (0, googleapis_common_1.createAPIRequest)(parameters);
107
108
  }
108
109
  }
109
110
  }
package/build/v2.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"v2.js","sourceRoot":"","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AAU,EAAE;gBAC3C,QAAQ,GAAG,iBAAiB,CAAC;gBAC7B,OAAO,GAAG,EAAE,CAAC;aACd;YAED,MAAM,OAAO,GACX,OAAO,CAAC,OAAO,IAAI,wCAAwC,CAAC;YAC9D,MAAM,UAAU,GAAG;gBACjB,OAAO,EAAE,MAAM,CAAC,MAAM,CACpB;oBACE,GAAG,EAAE,CAAC,OAAO,GAAG,sBAAsB,CAAC,CAAC,OAAO,CAC7C,cAAc,EACd,IAAI,CACL;oBACD,MAAM,EAAE,MAAM;iBACf,EACD,OAAO,CACR;gBACD,MAAM;gBACN,cAAc,EAAE,EAAE;gBAClB,UAAU,EAAE,EAAE;gBACd,OAAO,EAAE,IAAI,CAAC,OAAO;aACtB,CAAC;YACF,IAAI,QAAQ,EAAE;gBACZ,IAAA,oCAAgB,EACd,UAAU,EACV,QAAyC,CAC1C,CAAC;aACH;iBAAM;gBACL,OAAO,IAAA,oCAAgB,EACrB,UAAU,CACX,CAAC;aACH;QACH,CAAC;KACF;IAhSY,oCAAkB,qBAgS9B,CAAA;AAeH,CAAC,EA9kBgB,iBAAiB,GAAjB,yBAAiB,KAAjB,yBAAiB,QA8kBjC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@googleapis/verifiedaccess",
3
- "version": "0.3.3",
3
+ "version": "2.0.0",
4
4
  "description": "verifiedaccess",
5
5
  "main": "build/index.js",
6
6
  "types": "build/index.d.ts",
@@ -18,7 +18,7 @@
18
18
  "url": "https://github.com/googleapis/google-api-nodejs-client.git"
19
19
  },
20
20
  "engines": {
21
- "node": ">=10.0.0"
21
+ "node": ">=12.0.0"
22
22
  },
23
23
  "scripts": {
24
24
  "fix": "gts fix",
@@ -28,16 +28,16 @@
28
28
  "webpack": "webpack"
29
29
  },
30
30
  "dependencies": {
31
- "googleapis-common": "^5.0.1"
31
+ "googleapis-common": "^6.0.3"
32
32
  },
33
33
  "devDependencies": {
34
34
  "@microsoft/api-documenter": "^7.8.10",
35
35
  "@microsoft/api-extractor": "^7.8.10",
36
- "gts": "^2.0.0",
36
+ "gts": "^3.1.1",
37
37
  "null-loader": "^4.0.0",
38
38
  "ts-loader": "^9.0.0",
39
- "typescript": "~3.7.0",
39
+ "typescript": "~4.8.4",
40
40
  "webpack": "^5.0.0",
41
- "webpack-cli": "^4.0.0"
41
+ "webpack-cli": "^5.0.0"
42
42
  }
43
43
  }
package/v2.ts CHANGED
@@ -125,18 +125,152 @@ export namespace verifiedaccess_v2 {
125
125
  }
126
126
 
127
127
  /**
128
- * Result message for VerifiedAccess.CreateChallenge.
128
+ * Result message for VerifiedAccess.GenerateChallenge.
129
129
  */
130
130
  export interface Schema$Challenge {
131
- /**
132
- * Challenge generated with the old signing key, the bytes representation of SignedData (this will only be present during key rotation).
133
- */
134
- alternativeChallenge?: string | null;
135
131
  /**
136
132
  * Generated challenge, the bytes representation of SignedData.
137
133
  */
138
134
  challenge?: string | null;
139
135
  }
136
+ /**
137
+ * Properties of the CrowdStrike agent installed on a device.
138
+ */
139
+ export interface Schema$CrowdStrikeAgent {
140
+ /**
141
+ * The Agent ID of the Crowdstrike agent.
142
+ */
143
+ agentId?: string | null;
144
+ /**
145
+ * The Customer ID to which the agent belongs to.
146
+ */
147
+ customerId?: string | null;
148
+ }
149
+ /**
150
+ * The device signals as reported by Chrome.
151
+ */
152
+ export interface Schema$DeviceSignals {
153
+ /**
154
+ * Value of the AllowScreenLock policy on the device. See https://chromeenterprise.google/policies/?policy=AllowScreenLock for more details.
155
+ */
156
+ allowScreenLock?: boolean | null;
157
+ /**
158
+ * Current version of the Chrome browser which generated this set of signals. Example value: "107.0.5286.0".
159
+ */
160
+ browserVersion?: string | null;
161
+ /**
162
+ * Whether Chrome's built-in DNS client is used. The OS DNS client is otherwise used. This value may be controlled by an enterprise policy: https://chromeenterprise.google/policies/#BuiltInDnsClientEnabled.
163
+ */
164
+ builtInDnsClientEnabled?: boolean | null;
165
+ /**
166
+ * Whether access to the Chrome Remote Desktop application is blocked via a policy.
167
+ */
168
+ chromeRemoteDesktopAppBlocked?: boolean | null;
169
+ /**
170
+ * Crowdstrike agent properties installed on the device, if any.
171
+ */
172
+ crowdStrikeAgent?: Schema$CrowdStrikeAgent;
173
+ /**
174
+ * Affiliation IDs of the organizations that are affiliated with the organization that is currently managing the device. When the sets of device and profile affiliation IDs overlap, it means that the organizations managing the device and user are affiliated. To learn more about user affiliation, visit https://support.google.com/chrome/a/answer/12801245?ref_topic=9027936.
175
+ */
176
+ deviceAffiliationIds?: string[] | null;
177
+ /**
178
+ * Enrollment domain of the customer which is currently managing the device.
179
+ */
180
+ deviceEnrollmentDomain?: string | null;
181
+ /**
182
+ * The name of the device's manufacturer.
183
+ */
184
+ deviceManufacturer?: string | null;
185
+ /**
186
+ * The name of the device's model.
187
+ */
188
+ deviceModel?: string | null;
189
+ /**
190
+ * The encryption state of the disk. On ChromeOS, the main disk is always ENCRYPTED.
191
+ */
192
+ diskEncryption?: string | null;
193
+ /**
194
+ * The display name of the device, as defined by the user.
195
+ */
196
+ displayName?: string | null;
197
+ /**
198
+ * Hostname of the device.
199
+ */
200
+ hostname?: string | null;
201
+ /**
202
+ * International Mobile Equipment Identity (IMEI) of the device.
203
+ */
204
+ imei?: string[] | null;
205
+ /**
206
+ * MAC addresses of the device.
207
+ */
208
+ macAddresses?: string[] | null;
209
+ /**
210
+ * Mobile Equipment Identifier (MEID) of the device.
211
+ */
212
+ meid?: string[] | null;
213
+ /**
214
+ * The type of the Operating System currently running on the device.
215
+ */
216
+ operatingSystem?: string | null;
217
+ /**
218
+ * The state of the OS level firewall. On ChromeOS, the value will always be ENABLED on regular devices and UNKNOWN on devices in developer mode.
219
+ */
220
+ osFirewall?: string | null;
221
+ /**
222
+ * The current version of the Operating System. On Windows and linux, the value will also include the security patch information.
223
+ */
224
+ osVersion?: string | null;
225
+ /**
226
+ * Whether the Password Protection Warning feature is enabled or not. Password protection alerts users when they reuse their protected password on potentially suspicious sites. This setting is controlled by an enterprise policy: https://chromeenterprise.google/policies/#PasswordProtectionWarningTrigger. Note that the policy unset does not have the same effects as having the policy explicitly set to `PASSWORD_PROTECTION_OFF`.
227
+ */
228
+ passwordProtectionWarningTrigger?: string | null;
229
+ /**
230
+ * Affiliation IDs of the organizations that are affiliated with the organization that is currently managing the Chrome Profile’s user or ChromeOS user.
231
+ */
232
+ profileAffiliationIds?: string[] | null;
233
+ /**
234
+ * Whether Enterprise-grade (i.e. custom) unsafe URL scanning is enabled or not. This setting may be controlled by an enterprise policy: https://chromeenterprise.google/policies/#EnterpriseRealTimeUrlCheckMode
235
+ */
236
+ realtimeUrlCheckMode?: string | null;
237
+ /**
238
+ * Safe Browsing Protection Level. That setting may be controlled by an enterprise policy: https://chromeenterprise.google/policies/#SafeBrowsingProtectionLevel.
239
+ */
240
+ safeBrowsingProtectionLevel?: string | null;
241
+ /**
242
+ * The state of the Screen Lock password protection. On ChromeOS, this value will always be ENABLED as there is not way to disable requiring a password or pin when unlocking the device.
243
+ */
244
+ screenLockSecured?: string | null;
245
+ /**
246
+ * Whether the device's startup software has its Secure Boot feature enabled.
247
+ */
248
+ secureBootMode?: string | null;
249
+ /**
250
+ * The serial number of the device. On Windows, this represents the BIOS's serial number.
251
+ */
252
+ serialNumber?: string | null;
253
+ /**
254
+ * Whether the Site Isolation (a.k.a Site Per Process) setting is enabled. That setting may be controlled by an enterprise policy: https://chromeenterprise.google/policies/#SitePerProcess
255
+ */
256
+ siteIsolationEnabled?: boolean | null;
257
+ /**
258
+ * List of the addesses of all OS level DNS servers configured in the device's network settings.
259
+ */
260
+ systemDnsServers?: string[] | null;
261
+ /**
262
+ * Whether Chrome is blocking third-party software injection or not. This setting may be controlled by an enterprise policy: https://chromeenterprise.google/policies/?policy=ThirdPartyBlockingEnabled
263
+ */
264
+ thirdPartyBlockingEnabled?: boolean | null;
265
+ /**
266
+ * Windows domain that the current machine has joined.
267
+ */
268
+ windowsMachineDomain?: string | null;
269
+ /**
270
+ * Windows domain for the current OS user.
271
+ */
272
+ windowsUserDomain?: string | null;
273
+ }
140
274
  /**
141
275
  * 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); \}
142
276
  */
@@ -158,14 +292,22 @@ export namespace verifiedaccess_v2 {
158
292
  * Result message for VerifiedAccess.VerifyChallengeResponse.
159
293
  */
160
294
  export interface Schema$VerifyChallengeResponseResult {
295
+ /**
296
+ * 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
297
+ */
298
+ customerId?: string | null;
161
299
  /**
162
300
  * Device permanent id is returned in this field (for the machine response only).
163
301
  */
164
302
  devicePermanentId?: string | null;
165
303
  /**
166
- * Device signal in json string representation.
304
+ * Deprecated. Device signal in json string representation. Prefer using `device_signals` instead.
167
305
  */
168
306
  deviceSignal?: string | null;
307
+ /**
308
+ * Device signals.
309
+ */
310
+ deviceSignals?: Schema$DeviceSignals;
169
311
  /**
170
312
  * Device attested key trust level.
171
313
  */
@@ -174,6 +316,10 @@ export namespace verifiedaccess_v2 {
174
316
  * 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)
175
317
  */
176
318
  signedPublicKeyAndChallenge?: string | null;
319
+ /**
320
+ * Virtual device id of the device. The definition of virtual device id is platform-specific.
321
+ */
322
+ virtualDeviceId?: string | null;
177
323
  }
178
324
 
179
325
  export class Resource$Challenge {
@@ -219,7 +365,6 @@ export namespace verifiedaccess_v2 {
219
365
  *
220
366
  * // Example response
221
367
  * // {
222
- * // "alternativeChallenge": "my_alternativeChallenge",
223
368
  * // "challenge": "my_challenge"
224
369
  * // }
225
370
  * }
@@ -356,10 +501,13 @@ export namespace verifiedaccess_v2 {
356
501
  *
357
502
  * // Example response
358
503
  * // {
504
+ * // "customerId": "my_customerId",
359
505
  * // "devicePermanentId": "my_devicePermanentId",
360
506
  * // "deviceSignal": "my_deviceSignal",
507
+ * // "deviceSignals": {},
361
508
  * // "keyTrustLevel": "my_keyTrustLevel",
362
- * // "signedPublicKeyAndChallenge": "my_signedPublicKeyAndChallenge"
509
+ * // "signedPublicKeyAndChallenge": "my_signedPublicKeyAndChallenge",
510
+ * // "virtualDeviceId": "my_virtualDeviceId"
363
511
  * // }
364
512
  * }
365
513
  *