@googleapis/chromemanagement 11.0.0 → 12.0.1
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 +22 -0
- package/build/v1.d.ts +196 -6
- package/build/v1.js +120 -0
- package/build/v1.js.map +1 -1
- package/package.json +1 -1
- package/v1.ts +472 -6
package/v1.ts
CHANGED
|
@@ -547,6 +547,32 @@ export namespace chromemanagement_v1 {
|
|
|
547
547
|
*/
|
|
548
548
|
recentlyEnrolledCount?: string | null;
|
|
549
549
|
}
|
|
550
|
+
/**
|
|
551
|
+
* Response contains a list of CrashEventCountByVersionPerDay which count the chrome crash at the certain date.
|
|
552
|
+
*/
|
|
553
|
+
export interface Schema$GoogleChromeManagementV1CountChromeCrashEventsResponse {
|
|
554
|
+
/**
|
|
555
|
+
* Crash event counts grouped by date and browser version.
|
|
556
|
+
*/
|
|
557
|
+
crashEventCounts?: Schema$GoogleChromeManagementV1CountChromeCrashEventsResponseCrashEventCount[];
|
|
558
|
+
}
|
|
559
|
+
/**
|
|
560
|
+
* The `count` of the Chrome crash events at the `date`.
|
|
561
|
+
*/
|
|
562
|
+
export interface Schema$GoogleChromeManagementV1CountChromeCrashEventsResponseCrashEventCount {
|
|
563
|
+
/**
|
|
564
|
+
* Browser version this is counting.
|
|
565
|
+
*/
|
|
566
|
+
browserVersion?: string | null;
|
|
567
|
+
/**
|
|
568
|
+
* Total count of crash events.
|
|
569
|
+
*/
|
|
570
|
+
count?: string | null;
|
|
571
|
+
/**
|
|
572
|
+
* Date of the crash event.
|
|
573
|
+
*/
|
|
574
|
+
date?: Schema$GoogleTypeDate;
|
|
575
|
+
}
|
|
550
576
|
/**
|
|
551
577
|
* Response containing a list of devices expiring in each month of a selected time frame. Counts are grouped by model and Auto Update Expiration date.
|
|
552
578
|
*/
|
|
@@ -793,6 +819,19 @@ export namespace chromemanagement_v1 {
|
|
|
793
819
|
*/
|
|
794
820
|
count?: string | null;
|
|
795
821
|
}
|
|
822
|
+
/**
|
|
823
|
+
* Details of a device requesting an extension, including the name of the device and the justification of the request.
|
|
824
|
+
*/
|
|
825
|
+
export interface Schema$GoogleChromeManagementV1DeviceRequestingExtensionDetails {
|
|
826
|
+
/**
|
|
827
|
+
* The name of a device that has requested the extension.
|
|
828
|
+
*/
|
|
829
|
+
deviceName?: string | null;
|
|
830
|
+
/**
|
|
831
|
+
* Request justification as entered by the user.
|
|
832
|
+
*/
|
|
833
|
+
justification?: string | null;
|
|
834
|
+
}
|
|
796
835
|
/**
|
|
797
836
|
* Status of the single storage device.
|
|
798
837
|
*/
|
|
@@ -929,6 +968,40 @@ export namespace chromemanagement_v1 {
|
|
|
929
968
|
*/
|
|
930
969
|
totalSize?: string | null;
|
|
931
970
|
}
|
|
971
|
+
/**
|
|
972
|
+
* Response containing a list of devices that have requested the queried extension.
|
|
973
|
+
*/
|
|
974
|
+
export interface Schema$GoogleChromeManagementV1FetchDevicesRequestingExtensionResponse {
|
|
975
|
+
/**
|
|
976
|
+
* Details of devices that have requested the queried extension.
|
|
977
|
+
*/
|
|
978
|
+
deviceDetails?: Schema$GoogleChromeManagementV1DeviceRequestingExtensionDetails[];
|
|
979
|
+
/**
|
|
980
|
+
* Optional. Token to specify the next page in the list. Token expires after 1 day.
|
|
981
|
+
*/
|
|
982
|
+
nextPageToken?: string | null;
|
|
983
|
+
/**
|
|
984
|
+
* Optional. Total number of devices in response.
|
|
985
|
+
*/
|
|
986
|
+
totalSize?: number | null;
|
|
987
|
+
}
|
|
988
|
+
/**
|
|
989
|
+
* Response containing a list of users that have requested the queried extension.
|
|
990
|
+
*/
|
|
991
|
+
export interface Schema$GoogleChromeManagementV1FetchUsersRequestingExtensionResponse {
|
|
992
|
+
/**
|
|
993
|
+
* Token to specify the next page in the list.
|
|
994
|
+
*/
|
|
995
|
+
nextPageToken?: string | null;
|
|
996
|
+
/**
|
|
997
|
+
* Total number of users in response.
|
|
998
|
+
*/
|
|
999
|
+
totalSize?: number | null;
|
|
1000
|
+
/**
|
|
1001
|
+
* Details of users that have requested the queried extension.
|
|
1002
|
+
*/
|
|
1003
|
+
userDetails?: Schema$GoogleChromeManagementV1UserRequestingExtensionDetails[];
|
|
1004
|
+
}
|
|
932
1005
|
/**
|
|
933
1006
|
* Response containing a list of devices with queried app installed.
|
|
934
1007
|
*/
|
|
@@ -1972,6 +2045,19 @@ export namespace chromemanagement_v1 {
|
|
|
1972
2045
|
*/
|
|
1973
2046
|
userId?: string | null;
|
|
1974
2047
|
}
|
|
2048
|
+
/**
|
|
2049
|
+
* Details of a user requesting an extension, including the email and the justification.
|
|
2050
|
+
*/
|
|
2051
|
+
export interface Schema$GoogleChromeManagementV1UserRequestingExtensionDetails {
|
|
2052
|
+
/**
|
|
2053
|
+
* The e-mail address of a user that has requested the extension.
|
|
2054
|
+
*/
|
|
2055
|
+
email?: string | null;
|
|
2056
|
+
/**
|
|
2057
|
+
* Request justification as entered by the user.
|
|
2058
|
+
*/
|
|
2059
|
+
justification?: string | null;
|
|
2060
|
+
}
|
|
1975
2061
|
/**
|
|
1976
2062
|
* 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); \}
|
|
1977
2063
|
*/
|
|
@@ -2112,6 +2198,7 @@ export namespace chromemanagement_v1 {
|
|
|
2112
2198
|
rootUrl + '/v1/{+customer}/apps:countChromeAppRequests'
|
|
2113
2199
|
).replace(/([^:]\/)\/+/g, '$1'),
|
|
2114
2200
|
method: 'GET',
|
|
2201
|
+
apiVersion: '',
|
|
2115
2202
|
},
|
|
2116
2203
|
options
|
|
2117
2204
|
),
|
|
@@ -2131,6 +2218,202 @@ export namespace chromemanagement_v1 {
|
|
|
2131
2218
|
);
|
|
2132
2219
|
}
|
|
2133
2220
|
}
|
|
2221
|
+
|
|
2222
|
+
/**
|
|
2223
|
+
* Get a list of devices that have requested to install an extension.
|
|
2224
|
+
*
|
|
2225
|
+
* @param params - Parameters for request
|
|
2226
|
+
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
2227
|
+
* @param callback - Optional callback that handles the response.
|
|
2228
|
+
* @returns A promise if used with async/await, or void if used with a callback.
|
|
2229
|
+
*/
|
|
2230
|
+
fetchDevicesRequestingExtension(
|
|
2231
|
+
params: Params$Resource$Customers$Apps$Fetchdevicesrequestingextension,
|
|
2232
|
+
options: StreamMethodOptions
|
|
2233
|
+
): GaxiosPromise<Readable>;
|
|
2234
|
+
fetchDevicesRequestingExtension(
|
|
2235
|
+
params?: Params$Resource$Customers$Apps$Fetchdevicesrequestingextension,
|
|
2236
|
+
options?: MethodOptions
|
|
2237
|
+
): GaxiosPromise<Schema$GoogleChromeManagementV1FetchDevicesRequestingExtensionResponse>;
|
|
2238
|
+
fetchDevicesRequestingExtension(
|
|
2239
|
+
params: Params$Resource$Customers$Apps$Fetchdevicesrequestingextension,
|
|
2240
|
+
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
2241
|
+
callback: BodyResponseCallback<Readable>
|
|
2242
|
+
): void;
|
|
2243
|
+
fetchDevicesRequestingExtension(
|
|
2244
|
+
params: Params$Resource$Customers$Apps$Fetchdevicesrequestingextension,
|
|
2245
|
+
options:
|
|
2246
|
+
| MethodOptions
|
|
2247
|
+
| BodyResponseCallback<Schema$GoogleChromeManagementV1FetchDevicesRequestingExtensionResponse>,
|
|
2248
|
+
callback: BodyResponseCallback<Schema$GoogleChromeManagementV1FetchDevicesRequestingExtensionResponse>
|
|
2249
|
+
): void;
|
|
2250
|
+
fetchDevicesRequestingExtension(
|
|
2251
|
+
params: Params$Resource$Customers$Apps$Fetchdevicesrequestingextension,
|
|
2252
|
+
callback: BodyResponseCallback<Schema$GoogleChromeManagementV1FetchDevicesRequestingExtensionResponse>
|
|
2253
|
+
): void;
|
|
2254
|
+
fetchDevicesRequestingExtension(
|
|
2255
|
+
callback: BodyResponseCallback<Schema$GoogleChromeManagementV1FetchDevicesRequestingExtensionResponse>
|
|
2256
|
+
): void;
|
|
2257
|
+
fetchDevicesRequestingExtension(
|
|
2258
|
+
paramsOrCallback?:
|
|
2259
|
+
| Params$Resource$Customers$Apps$Fetchdevicesrequestingextension
|
|
2260
|
+
| BodyResponseCallback<Schema$GoogleChromeManagementV1FetchDevicesRequestingExtensionResponse>
|
|
2261
|
+
| BodyResponseCallback<Readable>,
|
|
2262
|
+
optionsOrCallback?:
|
|
2263
|
+
| MethodOptions
|
|
2264
|
+
| StreamMethodOptions
|
|
2265
|
+
| BodyResponseCallback<Schema$GoogleChromeManagementV1FetchDevicesRequestingExtensionResponse>
|
|
2266
|
+
| BodyResponseCallback<Readable>,
|
|
2267
|
+
callback?:
|
|
2268
|
+
| BodyResponseCallback<Schema$GoogleChromeManagementV1FetchDevicesRequestingExtensionResponse>
|
|
2269
|
+
| BodyResponseCallback<Readable>
|
|
2270
|
+
):
|
|
2271
|
+
| void
|
|
2272
|
+
| GaxiosPromise<Schema$GoogleChromeManagementV1FetchDevicesRequestingExtensionResponse>
|
|
2273
|
+
| GaxiosPromise<Readable> {
|
|
2274
|
+
let params = (paramsOrCallback ||
|
|
2275
|
+
{}) as Params$Resource$Customers$Apps$Fetchdevicesrequestingextension;
|
|
2276
|
+
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
2277
|
+
|
|
2278
|
+
if (typeof paramsOrCallback === 'function') {
|
|
2279
|
+
callback = paramsOrCallback;
|
|
2280
|
+
params =
|
|
2281
|
+
{} as Params$Resource$Customers$Apps$Fetchdevicesrequestingextension;
|
|
2282
|
+
options = {};
|
|
2283
|
+
}
|
|
2284
|
+
|
|
2285
|
+
if (typeof optionsOrCallback === 'function') {
|
|
2286
|
+
callback = optionsOrCallback;
|
|
2287
|
+
options = {};
|
|
2288
|
+
}
|
|
2289
|
+
|
|
2290
|
+
const rootUrl =
|
|
2291
|
+
options.rootUrl || 'https://chromemanagement.googleapis.com/';
|
|
2292
|
+
const parameters = {
|
|
2293
|
+
options: Object.assign(
|
|
2294
|
+
{
|
|
2295
|
+
url: (
|
|
2296
|
+
rootUrl + '/v1/{+customer}/apps:fetchDevicesRequestingExtension'
|
|
2297
|
+
).replace(/([^:]\/)\/+/g, '$1'),
|
|
2298
|
+
method: 'GET',
|
|
2299
|
+
apiVersion: '',
|
|
2300
|
+
},
|
|
2301
|
+
options
|
|
2302
|
+
),
|
|
2303
|
+
params,
|
|
2304
|
+
requiredParams: ['customer'],
|
|
2305
|
+
pathParams: ['customer'],
|
|
2306
|
+
context: this.context,
|
|
2307
|
+
};
|
|
2308
|
+
if (callback) {
|
|
2309
|
+
createAPIRequest<Schema$GoogleChromeManagementV1FetchDevicesRequestingExtensionResponse>(
|
|
2310
|
+
parameters,
|
|
2311
|
+
callback as BodyResponseCallback<unknown>
|
|
2312
|
+
);
|
|
2313
|
+
} else {
|
|
2314
|
+
return createAPIRequest<Schema$GoogleChromeManagementV1FetchDevicesRequestingExtensionResponse>(
|
|
2315
|
+
parameters
|
|
2316
|
+
);
|
|
2317
|
+
}
|
|
2318
|
+
}
|
|
2319
|
+
|
|
2320
|
+
/**
|
|
2321
|
+
* Get a list of users that have requested to install an extension.
|
|
2322
|
+
*
|
|
2323
|
+
* @param params - Parameters for request
|
|
2324
|
+
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
2325
|
+
* @param callback - Optional callback that handles the response.
|
|
2326
|
+
* @returns A promise if used with async/await, or void if used with a callback.
|
|
2327
|
+
*/
|
|
2328
|
+
fetchUsersRequestingExtension(
|
|
2329
|
+
params: Params$Resource$Customers$Apps$Fetchusersrequestingextension,
|
|
2330
|
+
options: StreamMethodOptions
|
|
2331
|
+
): GaxiosPromise<Readable>;
|
|
2332
|
+
fetchUsersRequestingExtension(
|
|
2333
|
+
params?: Params$Resource$Customers$Apps$Fetchusersrequestingextension,
|
|
2334
|
+
options?: MethodOptions
|
|
2335
|
+
): GaxiosPromise<Schema$GoogleChromeManagementV1FetchUsersRequestingExtensionResponse>;
|
|
2336
|
+
fetchUsersRequestingExtension(
|
|
2337
|
+
params: Params$Resource$Customers$Apps$Fetchusersrequestingextension,
|
|
2338
|
+
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
2339
|
+
callback: BodyResponseCallback<Readable>
|
|
2340
|
+
): void;
|
|
2341
|
+
fetchUsersRequestingExtension(
|
|
2342
|
+
params: Params$Resource$Customers$Apps$Fetchusersrequestingextension,
|
|
2343
|
+
options:
|
|
2344
|
+
| MethodOptions
|
|
2345
|
+
| BodyResponseCallback<Schema$GoogleChromeManagementV1FetchUsersRequestingExtensionResponse>,
|
|
2346
|
+
callback: BodyResponseCallback<Schema$GoogleChromeManagementV1FetchUsersRequestingExtensionResponse>
|
|
2347
|
+
): void;
|
|
2348
|
+
fetchUsersRequestingExtension(
|
|
2349
|
+
params: Params$Resource$Customers$Apps$Fetchusersrequestingextension,
|
|
2350
|
+
callback: BodyResponseCallback<Schema$GoogleChromeManagementV1FetchUsersRequestingExtensionResponse>
|
|
2351
|
+
): void;
|
|
2352
|
+
fetchUsersRequestingExtension(
|
|
2353
|
+
callback: BodyResponseCallback<Schema$GoogleChromeManagementV1FetchUsersRequestingExtensionResponse>
|
|
2354
|
+
): void;
|
|
2355
|
+
fetchUsersRequestingExtension(
|
|
2356
|
+
paramsOrCallback?:
|
|
2357
|
+
| Params$Resource$Customers$Apps$Fetchusersrequestingextension
|
|
2358
|
+
| BodyResponseCallback<Schema$GoogleChromeManagementV1FetchUsersRequestingExtensionResponse>
|
|
2359
|
+
| BodyResponseCallback<Readable>,
|
|
2360
|
+
optionsOrCallback?:
|
|
2361
|
+
| MethodOptions
|
|
2362
|
+
| StreamMethodOptions
|
|
2363
|
+
| BodyResponseCallback<Schema$GoogleChromeManagementV1FetchUsersRequestingExtensionResponse>
|
|
2364
|
+
| BodyResponseCallback<Readable>,
|
|
2365
|
+
callback?:
|
|
2366
|
+
| BodyResponseCallback<Schema$GoogleChromeManagementV1FetchUsersRequestingExtensionResponse>
|
|
2367
|
+
| BodyResponseCallback<Readable>
|
|
2368
|
+
):
|
|
2369
|
+
| void
|
|
2370
|
+
| GaxiosPromise<Schema$GoogleChromeManagementV1FetchUsersRequestingExtensionResponse>
|
|
2371
|
+
| GaxiosPromise<Readable> {
|
|
2372
|
+
let params = (paramsOrCallback ||
|
|
2373
|
+
{}) as Params$Resource$Customers$Apps$Fetchusersrequestingextension;
|
|
2374
|
+
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
2375
|
+
|
|
2376
|
+
if (typeof paramsOrCallback === 'function') {
|
|
2377
|
+
callback = paramsOrCallback;
|
|
2378
|
+
params =
|
|
2379
|
+
{} as Params$Resource$Customers$Apps$Fetchusersrequestingextension;
|
|
2380
|
+
options = {};
|
|
2381
|
+
}
|
|
2382
|
+
|
|
2383
|
+
if (typeof optionsOrCallback === 'function') {
|
|
2384
|
+
callback = optionsOrCallback;
|
|
2385
|
+
options = {};
|
|
2386
|
+
}
|
|
2387
|
+
|
|
2388
|
+
const rootUrl =
|
|
2389
|
+
options.rootUrl || 'https://chromemanagement.googleapis.com/';
|
|
2390
|
+
const parameters = {
|
|
2391
|
+
options: Object.assign(
|
|
2392
|
+
{
|
|
2393
|
+
url: (
|
|
2394
|
+
rootUrl + '/v1/{+customer}/apps:fetchUsersRequestingExtension'
|
|
2395
|
+
).replace(/([^:]\/)\/+/g, '$1'),
|
|
2396
|
+
method: 'GET',
|
|
2397
|
+
apiVersion: '',
|
|
2398
|
+
},
|
|
2399
|
+
options
|
|
2400
|
+
),
|
|
2401
|
+
params,
|
|
2402
|
+
requiredParams: ['customer'],
|
|
2403
|
+
pathParams: ['customer'],
|
|
2404
|
+
context: this.context,
|
|
2405
|
+
};
|
|
2406
|
+
if (callback) {
|
|
2407
|
+
createAPIRequest<Schema$GoogleChromeManagementV1FetchUsersRequestingExtensionResponse>(
|
|
2408
|
+
parameters,
|
|
2409
|
+
callback as BodyResponseCallback<unknown>
|
|
2410
|
+
);
|
|
2411
|
+
} else {
|
|
2412
|
+
return createAPIRequest<Schema$GoogleChromeManagementV1FetchUsersRequestingExtensionResponse>(
|
|
2413
|
+
parameters
|
|
2414
|
+
);
|
|
2415
|
+
}
|
|
2416
|
+
}
|
|
2134
2417
|
}
|
|
2135
2418
|
|
|
2136
2419
|
export interface Params$Resource$Customers$Apps$Countchromeapprequests
|
|
@@ -2156,6 +2439,52 @@ export namespace chromemanagement_v1 {
|
|
|
2156
2439
|
*/
|
|
2157
2440
|
pageToken?: string;
|
|
2158
2441
|
}
|
|
2442
|
+
export interface Params$Resource$Customers$Apps$Fetchdevicesrequestingextension
|
|
2443
|
+
extends StandardParameters {
|
|
2444
|
+
/**
|
|
2445
|
+
* Required. The customer ID or "my_customer" prefixed with "customers/".
|
|
2446
|
+
*/
|
|
2447
|
+
customer?: string;
|
|
2448
|
+
/**
|
|
2449
|
+
* Required. The extension for which we want to find requesting devices.
|
|
2450
|
+
*/
|
|
2451
|
+
extensionId?: string;
|
|
2452
|
+
/**
|
|
2453
|
+
* The ID of the organizational unit. Only consider devices that directly belong to this org unit, i.e. sub-orgunits are not counted. If omitted, all data will be returned.
|
|
2454
|
+
*/
|
|
2455
|
+
orgUnitId?: string;
|
|
2456
|
+
/**
|
|
2457
|
+
* Optional. Maximum number of results to return. Maximum and default are 50. Any page size larger than 50 will be coerced to 50.
|
|
2458
|
+
*/
|
|
2459
|
+
pageSize?: number;
|
|
2460
|
+
/**
|
|
2461
|
+
* Optional. Token to specify the page of the request to be returned. Token expires after 1 day.
|
|
2462
|
+
*/
|
|
2463
|
+
pageToken?: string;
|
|
2464
|
+
}
|
|
2465
|
+
export interface Params$Resource$Customers$Apps$Fetchusersrequestingextension
|
|
2466
|
+
extends StandardParameters {
|
|
2467
|
+
/**
|
|
2468
|
+
* Required. The customer ID or "my_customer" prefixed with "customers/".
|
|
2469
|
+
*/
|
|
2470
|
+
customer?: string;
|
|
2471
|
+
/**
|
|
2472
|
+
* Required. The extension for which we want to find the requesting users.
|
|
2473
|
+
*/
|
|
2474
|
+
extensionId?: string;
|
|
2475
|
+
/**
|
|
2476
|
+
* The ID of the organizational unit. Only consider devices that directly belong to this org unit, i.e. sub-orgunits are not counted. If omitted, all data will be returned.
|
|
2477
|
+
*/
|
|
2478
|
+
orgUnitId?: string;
|
|
2479
|
+
/**
|
|
2480
|
+
* Optional. Maximum number of results to return. Maximum and default are 50. Any page size larger than 50 will be coerced to 50.
|
|
2481
|
+
*/
|
|
2482
|
+
pageSize?: number;
|
|
2483
|
+
/**
|
|
2484
|
+
* Optional. Token to specify the page of the request to be returned. Token expires after 1 day.
|
|
2485
|
+
*/
|
|
2486
|
+
pageToken?: string;
|
|
2487
|
+
}
|
|
2159
2488
|
|
|
2160
2489
|
export class Resource$Customers$Apps$Android {
|
|
2161
2490
|
context: APIRequestContext;
|
|
@@ -2237,6 +2566,7 @@ export namespace chromemanagement_v1 {
|
|
|
2237
2566
|
{
|
|
2238
2567
|
url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'),
|
|
2239
2568
|
method: 'GET',
|
|
2569
|
+
apiVersion: '',
|
|
2240
2570
|
},
|
|
2241
2571
|
options
|
|
2242
2572
|
),
|
|
@@ -2346,6 +2676,7 @@ export namespace chromemanagement_v1 {
|
|
|
2346
2676
|
{
|
|
2347
2677
|
url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'),
|
|
2348
2678
|
method: 'GET',
|
|
2679
|
+
apiVersion: '',
|
|
2349
2680
|
},
|
|
2350
2681
|
options
|
|
2351
2682
|
),
|
|
@@ -2455,6 +2786,7 @@ export namespace chromemanagement_v1 {
|
|
|
2455
2786
|
{
|
|
2456
2787
|
url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'),
|
|
2457
2788
|
method: 'GET',
|
|
2789
|
+
apiVersion: '',
|
|
2458
2790
|
},
|
|
2459
2791
|
options
|
|
2460
2792
|
),
|
|
@@ -2568,6 +2900,7 @@ export namespace chromemanagement_v1 {
|
|
|
2568
2900
|
'/v1/{+customer}/reports:countChromeBrowsersNeedingAttention'
|
|
2569
2901
|
).replace(/([^:]\/)\/+/g, '$1'),
|
|
2570
2902
|
method: 'GET',
|
|
2903
|
+
apiVersion: '',
|
|
2571
2904
|
},
|
|
2572
2905
|
options
|
|
2573
2906
|
),
|
|
@@ -2588,6 +2921,103 @@ export namespace chromemanagement_v1 {
|
|
|
2588
2921
|
}
|
|
2589
2922
|
}
|
|
2590
2923
|
|
|
2924
|
+
/**
|
|
2925
|
+
* Get a count of Chrome crash events.
|
|
2926
|
+
*
|
|
2927
|
+
* @param params - Parameters for request
|
|
2928
|
+
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
2929
|
+
* @param callback - Optional callback that handles the response.
|
|
2930
|
+
* @returns A promise if used with async/await, or void if used with a callback.
|
|
2931
|
+
*/
|
|
2932
|
+
countChromeCrashEvents(
|
|
2933
|
+
params: Params$Resource$Customers$Reports$Countchromecrashevents,
|
|
2934
|
+
options: StreamMethodOptions
|
|
2935
|
+
): GaxiosPromise<Readable>;
|
|
2936
|
+
countChromeCrashEvents(
|
|
2937
|
+
params?: Params$Resource$Customers$Reports$Countchromecrashevents,
|
|
2938
|
+
options?: MethodOptions
|
|
2939
|
+
): GaxiosPromise<Schema$GoogleChromeManagementV1CountChromeCrashEventsResponse>;
|
|
2940
|
+
countChromeCrashEvents(
|
|
2941
|
+
params: Params$Resource$Customers$Reports$Countchromecrashevents,
|
|
2942
|
+
options: StreamMethodOptions | BodyResponseCallback<Readable>,
|
|
2943
|
+
callback: BodyResponseCallback<Readable>
|
|
2944
|
+
): void;
|
|
2945
|
+
countChromeCrashEvents(
|
|
2946
|
+
params: Params$Resource$Customers$Reports$Countchromecrashevents,
|
|
2947
|
+
options:
|
|
2948
|
+
| MethodOptions
|
|
2949
|
+
| BodyResponseCallback<Schema$GoogleChromeManagementV1CountChromeCrashEventsResponse>,
|
|
2950
|
+
callback: BodyResponseCallback<Schema$GoogleChromeManagementV1CountChromeCrashEventsResponse>
|
|
2951
|
+
): void;
|
|
2952
|
+
countChromeCrashEvents(
|
|
2953
|
+
params: Params$Resource$Customers$Reports$Countchromecrashevents,
|
|
2954
|
+
callback: BodyResponseCallback<Schema$GoogleChromeManagementV1CountChromeCrashEventsResponse>
|
|
2955
|
+
): void;
|
|
2956
|
+
countChromeCrashEvents(
|
|
2957
|
+
callback: BodyResponseCallback<Schema$GoogleChromeManagementV1CountChromeCrashEventsResponse>
|
|
2958
|
+
): void;
|
|
2959
|
+
countChromeCrashEvents(
|
|
2960
|
+
paramsOrCallback?:
|
|
2961
|
+
| Params$Resource$Customers$Reports$Countchromecrashevents
|
|
2962
|
+
| BodyResponseCallback<Schema$GoogleChromeManagementV1CountChromeCrashEventsResponse>
|
|
2963
|
+
| BodyResponseCallback<Readable>,
|
|
2964
|
+
optionsOrCallback?:
|
|
2965
|
+
| MethodOptions
|
|
2966
|
+
| StreamMethodOptions
|
|
2967
|
+
| BodyResponseCallback<Schema$GoogleChromeManagementV1CountChromeCrashEventsResponse>
|
|
2968
|
+
| BodyResponseCallback<Readable>,
|
|
2969
|
+
callback?:
|
|
2970
|
+
| BodyResponseCallback<Schema$GoogleChromeManagementV1CountChromeCrashEventsResponse>
|
|
2971
|
+
| BodyResponseCallback<Readable>
|
|
2972
|
+
):
|
|
2973
|
+
| void
|
|
2974
|
+
| GaxiosPromise<Schema$GoogleChromeManagementV1CountChromeCrashEventsResponse>
|
|
2975
|
+
| GaxiosPromise<Readable> {
|
|
2976
|
+
let params = (paramsOrCallback ||
|
|
2977
|
+
{}) as Params$Resource$Customers$Reports$Countchromecrashevents;
|
|
2978
|
+
let options = (optionsOrCallback || {}) as MethodOptions;
|
|
2979
|
+
|
|
2980
|
+
if (typeof paramsOrCallback === 'function') {
|
|
2981
|
+
callback = paramsOrCallback;
|
|
2982
|
+
params = {} as Params$Resource$Customers$Reports$Countchromecrashevents;
|
|
2983
|
+
options = {};
|
|
2984
|
+
}
|
|
2985
|
+
|
|
2986
|
+
if (typeof optionsOrCallback === 'function') {
|
|
2987
|
+
callback = optionsOrCallback;
|
|
2988
|
+
options = {};
|
|
2989
|
+
}
|
|
2990
|
+
|
|
2991
|
+
const rootUrl =
|
|
2992
|
+
options.rootUrl || 'https://chromemanagement.googleapis.com/';
|
|
2993
|
+
const parameters = {
|
|
2994
|
+
options: Object.assign(
|
|
2995
|
+
{
|
|
2996
|
+
url: (
|
|
2997
|
+
rootUrl + '/v1/{+customer}/reports:countChromeCrashEvents'
|
|
2998
|
+
).replace(/([^:]\/)\/+/g, '$1'),
|
|
2999
|
+
method: 'GET',
|
|
3000
|
+
apiVersion: '',
|
|
3001
|
+
},
|
|
3002
|
+
options
|
|
3003
|
+
),
|
|
3004
|
+
params,
|
|
3005
|
+
requiredParams: ['customer'],
|
|
3006
|
+
pathParams: ['customer'],
|
|
3007
|
+
context: this.context,
|
|
3008
|
+
};
|
|
3009
|
+
if (callback) {
|
|
3010
|
+
createAPIRequest<Schema$GoogleChromeManagementV1CountChromeCrashEventsResponse>(
|
|
3011
|
+
parameters,
|
|
3012
|
+
callback as BodyResponseCallback<unknown>
|
|
3013
|
+
);
|
|
3014
|
+
} else {
|
|
3015
|
+
return createAPIRequest<Schema$GoogleChromeManagementV1CountChromeCrashEventsResponse>(
|
|
3016
|
+
parameters
|
|
3017
|
+
);
|
|
3018
|
+
}
|
|
3019
|
+
}
|
|
3020
|
+
|
|
2591
3021
|
/**
|
|
2592
3022
|
* Generate report of the number of devices expiring in each month of the selected time frame. Devices are grouped by auto update expiration date and model. Further information can be found [here](https://support.google.com/chrome/a/answer/10564947).
|
|
2593
3023
|
*
|
|
@@ -2666,6 +3096,7 @@ export namespace chromemanagement_v1 {
|
|
|
2666
3096
|
'/v1/{+customer}/reports:countChromeDevicesReachingAutoExpirationDate'
|
|
2667
3097
|
).replace(/([^:]\/)\/+/g, '$1'),
|
|
2668
3098
|
method: 'GET',
|
|
3099
|
+
apiVersion: '',
|
|
2669
3100
|
},
|
|
2670
3101
|
options
|
|
2671
3102
|
),
|
|
@@ -2764,6 +3195,7 @@ export namespace chromemanagement_v1 {
|
|
|
2764
3195
|
'/v1/{+customer}/reports:countChromeDevicesThatNeedAttention'
|
|
2765
3196
|
).replace(/([^:]\/)\/+/g, '$1'),
|
|
2766
3197
|
method: 'GET',
|
|
3198
|
+
apiVersion: '',
|
|
2767
3199
|
},
|
|
2768
3200
|
options
|
|
2769
3201
|
),
|
|
@@ -2862,6 +3294,7 @@ export namespace chromemanagement_v1 {
|
|
|
2862
3294
|
'/v1/{+customer}/reports:countChromeHardwareFleetDevices'
|
|
2863
3295
|
).replace(/([^:]\/)\/+/g, '$1'),
|
|
2864
3296
|
method: 'GET',
|
|
3297
|
+
apiVersion: '',
|
|
2865
3298
|
},
|
|
2866
3299
|
options
|
|
2867
3300
|
),
|
|
@@ -2958,6 +3391,7 @@ export namespace chromemanagement_v1 {
|
|
|
2958
3391
|
rootUrl + '/v1/{+customer}/reports:countChromeVersions'
|
|
2959
3392
|
).replace(/([^:]\/)\/+/g, '$1'),
|
|
2960
3393
|
method: 'GET',
|
|
3394
|
+
apiVersion: '',
|
|
2961
3395
|
},
|
|
2962
3396
|
options
|
|
2963
3397
|
),
|
|
@@ -3054,6 +3488,7 @@ export namespace chromemanagement_v1 {
|
|
|
3054
3488
|
rootUrl + '/v1/{+customer}/reports:countInstalledApps'
|
|
3055
3489
|
).replace(/([^:]\/)\/+/g, '$1'),
|
|
3056
3490
|
method: 'GET',
|
|
3491
|
+
apiVersion: '',
|
|
3057
3492
|
},
|
|
3058
3493
|
options
|
|
3059
3494
|
),
|
|
@@ -3151,6 +3586,7 @@ export namespace chromemanagement_v1 {
|
|
|
3151
3586
|
rootUrl + '/v1/{+customer}/reports:countPrintJobsByPrinter'
|
|
3152
3587
|
).replace(/([^:]\/)\/+/g, '$1'),
|
|
3153
3588
|
method: 'GET',
|
|
3589
|
+
apiVersion: '',
|
|
3154
3590
|
},
|
|
3155
3591
|
options
|
|
3156
3592
|
),
|
|
@@ -3247,6 +3683,7 @@ export namespace chromemanagement_v1 {
|
|
|
3247
3683
|
rootUrl + '/v1/{+customer}/reports:countPrintJobsByUser'
|
|
3248
3684
|
).replace(/([^:]\/)\/+/g, '$1'),
|
|
3249
3685
|
method: 'GET',
|
|
3686
|
+
apiVersion: '',
|
|
3250
3687
|
},
|
|
3251
3688
|
options
|
|
3252
3689
|
),
|
|
@@ -3343,6 +3780,7 @@ export namespace chromemanagement_v1 {
|
|
|
3343
3780
|
rootUrl + '/v1/{+customer}/reports:enumeratePrintJobs'
|
|
3344
3781
|
).replace(/([^:]\/)\/+/g, '$1'),
|
|
3345
3782
|
method: 'GET',
|
|
3783
|
+
apiVersion: '',
|
|
3346
3784
|
},
|
|
3347
3785
|
options
|
|
3348
3786
|
),
|
|
@@ -3440,6 +3878,7 @@ export namespace chromemanagement_v1 {
|
|
|
3440
3878
|
rootUrl + '/v1/{+customer}/reports:findInstalledAppDevices'
|
|
3441
3879
|
).replace(/([^:]\/)\/+/g, '$1'),
|
|
3442
3880
|
method: 'GET',
|
|
3881
|
+
apiVersion: '',
|
|
3443
3882
|
},
|
|
3444
3883
|
options
|
|
3445
3884
|
),
|
|
@@ -3472,6 +3911,25 @@ export namespace chromemanagement_v1 {
|
|
|
3472
3911
|
*/
|
|
3473
3912
|
orgUnitId?: string;
|
|
3474
3913
|
}
|
|
3914
|
+
export interface Params$Resource$Customers$Reports$Countchromecrashevents
|
|
3915
|
+
extends StandardParameters {
|
|
3916
|
+
/**
|
|
3917
|
+
* Customer ID.
|
|
3918
|
+
*/
|
|
3919
|
+
customer?: string;
|
|
3920
|
+
/**
|
|
3921
|
+
* Query string to filter results, AND-separated fields in EBNF syntax. Supported filter fields: * major_browser_version * minor_browser_version * browser_channel * device_platform * past_number_days Example: `major_browser_version = 'M115' AND past_number_days = '28'`.
|
|
3922
|
+
*/
|
|
3923
|
+
filter?: string;
|
|
3924
|
+
/**
|
|
3925
|
+
* Field used to order results. Supported order by fields: * browser_version * count * date
|
|
3926
|
+
*/
|
|
3927
|
+
orderBy?: string;
|
|
3928
|
+
/**
|
|
3929
|
+
* If specified, only count the number of crash events of the devices in this organizational unit.
|
|
3930
|
+
*/
|
|
3931
|
+
orgUnitId?: string;
|
|
3932
|
+
}
|
|
3475
3933
|
export interface Params$Resource$Customers$Reports$Countchromedevicesreachingautoexpirationdate
|
|
3476
3934
|
extends StandardParameters {
|
|
3477
3935
|
/**
|
|
@@ -3784,6 +4242,7 @@ export namespace chromemanagement_v1 {
|
|
|
3784
4242
|
{
|
|
3785
4243
|
url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'),
|
|
3786
4244
|
method: 'GET',
|
|
4245
|
+
apiVersion: '',
|
|
3787
4246
|
},
|
|
3788
4247
|
options
|
|
3789
4248
|
),
|
|
@@ -3881,6 +4340,7 @@ export namespace chromemanagement_v1 {
|
|
|
3881
4340
|
'$1'
|
|
3882
4341
|
),
|
|
3883
4342
|
method: 'GET',
|
|
4343
|
+
apiVersion: '',
|
|
3884
4344
|
},
|
|
3885
4345
|
options
|
|
3886
4346
|
),
|
|
@@ -3909,14 +4369,14 @@ export namespace chromemanagement_v1 {
|
|
|
3909
4369
|
*/
|
|
3910
4370
|
name?: string;
|
|
3911
4371
|
/**
|
|
3912
|
-
* Required. Read mask to specify which fields to return.
|
|
4372
|
+
* Required. Read mask to specify which fields to return. Supported read_mask paths are: - name - org_unit_id - device_id - serial_number - cpu_info - cpu_status_report - memory_info - memory_status_report - network_info - network_diagnostics_report - network_status_report - os_update_status - graphics_info - graphics_status_report - battery_info - battery_status_report - storage_info - storage_status_report - thunderbolt_info - audio_status_report - boot_performance_report - heartbeat_status_report - network_bandwidth_report - peripherals_report - kiosk_app_status_report - app_report - runtime_counters_report
|
|
3913
4373
|
*/
|
|
3914
4374
|
readMask?: string;
|
|
3915
4375
|
}
|
|
3916
4376
|
export interface Params$Resource$Customers$Telemetry$Devices$List
|
|
3917
4377
|
extends StandardParameters {
|
|
3918
4378
|
/**
|
|
3919
|
-
* Optional. Only include resources that match the filter. Supported filter fields: - org_unit_id - serial_number - device_id - reports_timestamp The "reports_timestamp" filter accepts either the Unix Epoch milliseconds format or the RFC3339 UTC "Zulu" format with nanosecond resolution and up to nine fractional digits. Both formats should be surrounded by simple double quotes. Examples: "2014-10-02T15:01:23Z", "2014-10-02T15:01:23.045123456Z", "1679283943823".
|
|
4379
|
+
* Optional. Only include resources that match the filter. Requests that don't specify a "reports_timestamp" value will default to returning only recent reports. Specify "reports_timestamp\>=0" to get all report data. Supported filter fields: - org_unit_id - serial_number - device_id - reports_timestamp The "reports_timestamp" filter accepts either the Unix Epoch milliseconds format or the RFC3339 UTC "Zulu" format with nanosecond resolution and up to nine fractional digits. Both formats should be surrounded by simple double quotes. Examples: "2014-10-02T15:01:23Z", "2014-10-02T15:01:23.045123456Z", "1679283943823".
|
|
3920
4380
|
*/
|
|
3921
4381
|
filter?: string;
|
|
3922
4382
|
/**
|
|
@@ -3932,7 +4392,7 @@ export namespace chromemanagement_v1 {
|
|
|
3932
4392
|
*/
|
|
3933
4393
|
parent?: string;
|
|
3934
4394
|
/**
|
|
3935
|
-
* Required. Read mask to specify which fields to return.
|
|
4395
|
+
* Required. Read mask to specify which fields to return. Supported read_mask paths are: - name - org_unit_id - device_id - serial_number - cpu_info - cpu_status_report - memory_info - memory_status_report - network_info - network_diagnostics_report - network_status_report - os_update_status - graphics_info - graphics_status_report - battery_info - battery_status_report - storage_info - storage_status_report - thunderbolt_info - audio_status_report - boot_performance_report - heartbeat_status_report - network_bandwidth_report - peripherals_report - kiosk_app_status_report - app_report - runtime_counters_report
|
|
3936
4396
|
*/
|
|
3937
4397
|
readMask?: string;
|
|
3938
4398
|
}
|
|
@@ -4020,6 +4480,7 @@ export namespace chromemanagement_v1 {
|
|
|
4020
4480
|
'$1'
|
|
4021
4481
|
),
|
|
4022
4482
|
method: 'GET',
|
|
4483
|
+
apiVersion: '',
|
|
4023
4484
|
},
|
|
4024
4485
|
options
|
|
4025
4486
|
),
|
|
@@ -4060,7 +4521,7 @@ export namespace chromemanagement_v1 {
|
|
|
4060
4521
|
*/
|
|
4061
4522
|
parent?: string;
|
|
4062
4523
|
/**
|
|
4063
|
-
* Required. Read mask to specify which fields to return. Although currently required, this field will become optional, while the filter parameter with an event type will be come required.
|
|
4524
|
+
* Required. Read mask to specify which fields to return. Although currently required, this field will become optional, while the filter parameter with an event type will be come required. Supported read_mask paths are: - device - user - audio_severe_underrun_event - usb_peripherals_event - https_latency_change_event - network_state_change_event - wifi_signal_strength_event - vpn_connection_state_change_event - app_install_event - app_uninstall_event - app_launch_event
|
|
4064
4525
|
*/
|
|
4065
4526
|
readMask?: string;
|
|
4066
4527
|
}
|
|
@@ -4148,6 +4609,7 @@ export namespace chromemanagement_v1 {
|
|
|
4148
4609
|
rootUrl + '/v1/{+parent}/telemetry/notificationConfigs'
|
|
4149
4610
|
).replace(/([^:]\/)\/+/g, '$1'),
|
|
4150
4611
|
method: 'POST',
|
|
4612
|
+
apiVersion: '',
|
|
4151
4613
|
},
|
|
4152
4614
|
options
|
|
4153
4615
|
),
|
|
@@ -4239,6 +4701,7 @@ export namespace chromemanagement_v1 {
|
|
|
4239
4701
|
{
|
|
4240
4702
|
url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'),
|
|
4241
4703
|
method: 'DELETE',
|
|
4704
|
+
apiVersion: '',
|
|
4242
4705
|
},
|
|
4243
4706
|
options
|
|
4244
4707
|
),
|
|
@@ -4334,6 +4797,7 @@ export namespace chromemanagement_v1 {
|
|
|
4334
4797
|
rootUrl + '/v1/{+parent}/telemetry/notificationConfigs'
|
|
4335
4798
|
).replace(/([^:]\/)\/+/g, '$1'),
|
|
4336
4799
|
method: 'GET',
|
|
4800
|
+
apiVersion: '',
|
|
4337
4801
|
},
|
|
4338
4802
|
options
|
|
4339
4803
|
),
|
|
@@ -4470,6 +4934,7 @@ export namespace chromemanagement_v1 {
|
|
|
4470
4934
|
{
|
|
4471
4935
|
url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'),
|
|
4472
4936
|
method: 'GET',
|
|
4937
|
+
apiVersion: '',
|
|
4473
4938
|
},
|
|
4474
4939
|
options
|
|
4475
4940
|
),
|
|
@@ -4567,6 +5032,7 @@ export namespace chromemanagement_v1 {
|
|
|
4567
5032
|
'$1'
|
|
4568
5033
|
),
|
|
4569
5034
|
method: 'GET',
|
|
5035
|
+
apiVersion: '',
|
|
4570
5036
|
},
|
|
4571
5037
|
options
|
|
4572
5038
|
),
|
|
@@ -4595,7 +5061,7 @@ export namespace chromemanagement_v1 {
|
|
|
4595
5061
|
*/
|
|
4596
5062
|
name?: string;
|
|
4597
5063
|
/**
|
|
4598
|
-
* Read mask to specify which fields to return.
|
|
5064
|
+
* Read mask to specify which fields to return. Supported read_mask paths are: - name - org_unit_id - user_id - user_email - user_device.device_id - user_device.audio_status_report - user_device.device_activity_report - user_device.network_bandwidth_report - user_device.peripherals_report
|
|
4599
5065
|
*/
|
|
4600
5066
|
readMask?: string;
|
|
4601
5067
|
}
|
|
@@ -4618,7 +5084,7 @@ export namespace chromemanagement_v1 {
|
|
|
4618
5084
|
*/
|
|
4619
5085
|
parent?: string;
|
|
4620
5086
|
/**
|
|
4621
|
-
* Read mask to specify which fields to return.
|
|
5087
|
+
* Read mask to specify which fields to return. Supported read_mask paths are: - name - org_unit_id - user_id - user_email - user_device.device_id - user_device.audio_status_report - user_device.device_activity_report - user_device.network_bandwidth_report - user_device.peripherals_report
|
|
4622
5088
|
*/
|
|
4623
5089
|
readMask?: string;
|
|
4624
5090
|
}
|