@googleapis/chromemanagement 24.1.0 → 25.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/v1.ts CHANGED
@@ -553,6 +553,19 @@ export namespace chromemanagement_v1 {
553
553
  */
554
554
  hostMatch?: string | null;
555
555
  }
556
+ /**
557
+ * Response containing the number of active devices.
558
+ */
559
+ export interface Schema$GoogleChromeManagementV1CountActiveDevicesResponse {
560
+ /**
561
+ * Number of active devices in the 7 days leading up to the date specified in the request.
562
+ */
563
+ sevenDaysCount?: string | null;
564
+ /**
565
+ * Number of active devices in the 30 days leading up to the date specified in the request.
566
+ */
567
+ thirtyDaysCount?: string | null;
568
+ }
556
569
  /**
557
570
  * Response containing summary of requested app installations.
558
571
  */
@@ -685,6 +698,60 @@ export namespace chromemanagement_v1 {
685
698
  */
686
699
  totalSize?: number | null;
687
700
  }
701
+ /**
702
+ * Response containing the number of devices with the given boot type.
703
+ */
704
+ export interface Schema$GoogleChromeManagementV1CountDevicesPerBootTypeResponse {
705
+ /**
706
+ * Number of devices with dev boot type.
707
+ */
708
+ devBootTypeCount?: string | null;
709
+ /**
710
+ * Number of devices with unreported boot type.
711
+ */
712
+ unreportedBootTypeCount?: string | null;
713
+ /**
714
+ * Number of devices with verified boot type.
715
+ */
716
+ verifiedBootTypeCount?: string | null;
717
+ }
718
+ /**
719
+ * Response containing the number of devices with the given channel.
720
+ */
721
+ export interface Schema$GoogleChromeManagementV1CountDevicesPerReleaseChannelResponse {
722
+ /**
723
+ * Number of devices with beta release channel.
724
+ */
725
+ betaChannelCount?: string | null;
726
+ /**
727
+ * Number of devices with canary release channel.
728
+ */
729
+ canaryChannelCount?: string | null;
730
+ /**
731
+ * Number of devices with dev release channel.
732
+ */
733
+ devChannelCount?: string | null;
734
+ /**
735
+ * Number of devices with ltc release channel.
736
+ */
737
+ ltcChannelCount?: string | null;
738
+ /**
739
+ * Number of devices with lts release channel.
740
+ */
741
+ ltsChannelCount?: string | null;
742
+ /**
743
+ * Number of devices with stable release channel.
744
+ */
745
+ stableChannelCount?: string | null;
746
+ /**
747
+ * Number of devices with an unreported release channel.
748
+ */
749
+ unreportedChannelCount?: string | null;
750
+ /**
751
+ * Number of devices with unsupported release channel.
752
+ */
753
+ unsupportedChannelCount?: string | null;
754
+ }
688
755
  /**
689
756
  * Response containing details of queried installed apps.
690
757
  */
@@ -6237,6 +6304,162 @@ export namespace chromemanagement_v1 {
6237
6304
  this.context = context;
6238
6305
  }
6239
6306
 
6307
+ /**
6308
+ * Get a count of active devices per set time frames.
6309
+ * @example
6310
+ * ```js
6311
+ * // Before running the sample:
6312
+ * // - Enable the API at:
6313
+ * // https://console.developers.google.com/apis/api/chromemanagement.googleapis.com
6314
+ * // - Login into gcloud by running:
6315
+ * // ```sh
6316
+ * // $ gcloud auth application-default login
6317
+ * // ```
6318
+ * // - Install the npm module by running:
6319
+ * // ```sh
6320
+ * // $ npm install googleapis
6321
+ * // ```
6322
+ *
6323
+ * const {google} = require('googleapis');
6324
+ * const chromemanagement = google.chromemanagement('v1');
6325
+ *
6326
+ * async function main() {
6327
+ * const auth = new google.auth.GoogleAuth({
6328
+ * // Scopes can be specified either as an array or as a single, space-delimited string.
6329
+ * scopes: [
6330
+ * 'https://www.googleapis.com/auth/chrome.management.reports.readonly',
6331
+ * ],
6332
+ * });
6333
+ *
6334
+ * // Acquire an auth client, and bind it to all future calls
6335
+ * const authClient = await auth.getClient();
6336
+ * google.options({auth: authClient});
6337
+ *
6338
+ * // Do the magic
6339
+ * const res = await chromemanagement.customers.reports.countActiveDevices({
6340
+ * // Required. Obfuscated customer ID prefixed with "customers/C" or "customers/my_customer".
6341
+ * customer: 'customers/my-customer',
6342
+ * // Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn't significant.
6343
+ * 'date.day': 'placeholder-value',
6344
+ * // Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.
6345
+ * 'date.month': 'placeholder-value',
6346
+ * // Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.
6347
+ * 'date.year': 'placeholder-value',
6348
+ * });
6349
+ * console.log(res.data);
6350
+ *
6351
+ * // Example response
6352
+ * // {
6353
+ * // "sevenDaysCount": "my_sevenDaysCount",
6354
+ * // "thirtyDaysCount": "my_thirtyDaysCount"
6355
+ * // }
6356
+ * }
6357
+ *
6358
+ * main().catch(e => {
6359
+ * console.error(e);
6360
+ * throw e;
6361
+ * });
6362
+ *
6363
+ * ```
6364
+ *
6365
+ * @param params - Parameters for request
6366
+ * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
6367
+ * @param callback - Optional callback that handles the response.
6368
+ * @returns A promise if used with async/await, or void if used with a callback.
6369
+ */
6370
+ countActiveDevices(
6371
+ params: Params$Resource$Customers$Reports$Countactivedevices,
6372
+ options: StreamMethodOptions
6373
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
6374
+ countActiveDevices(
6375
+ params?: Params$Resource$Customers$Reports$Countactivedevices,
6376
+ options?: MethodOptions
6377
+ ): Promise<
6378
+ GaxiosResponseWithHTTP2<Schema$GoogleChromeManagementV1CountActiveDevicesResponse>
6379
+ >;
6380
+ countActiveDevices(
6381
+ params: Params$Resource$Customers$Reports$Countactivedevices,
6382
+ options: StreamMethodOptions | BodyResponseCallback<Readable>,
6383
+ callback: BodyResponseCallback<Readable>
6384
+ ): void;
6385
+ countActiveDevices(
6386
+ params: Params$Resource$Customers$Reports$Countactivedevices,
6387
+ options:
6388
+ | MethodOptions
6389
+ | BodyResponseCallback<Schema$GoogleChromeManagementV1CountActiveDevicesResponse>,
6390
+ callback: BodyResponseCallback<Schema$GoogleChromeManagementV1CountActiveDevicesResponse>
6391
+ ): void;
6392
+ countActiveDevices(
6393
+ params: Params$Resource$Customers$Reports$Countactivedevices,
6394
+ callback: BodyResponseCallback<Schema$GoogleChromeManagementV1CountActiveDevicesResponse>
6395
+ ): void;
6396
+ countActiveDevices(
6397
+ callback: BodyResponseCallback<Schema$GoogleChromeManagementV1CountActiveDevicesResponse>
6398
+ ): void;
6399
+ countActiveDevices(
6400
+ paramsOrCallback?:
6401
+ | Params$Resource$Customers$Reports$Countactivedevices
6402
+ | BodyResponseCallback<Schema$GoogleChromeManagementV1CountActiveDevicesResponse>
6403
+ | BodyResponseCallback<Readable>,
6404
+ optionsOrCallback?:
6405
+ | MethodOptions
6406
+ | StreamMethodOptions
6407
+ | BodyResponseCallback<Schema$GoogleChromeManagementV1CountActiveDevicesResponse>
6408
+ | BodyResponseCallback<Readable>,
6409
+ callback?:
6410
+ | BodyResponseCallback<Schema$GoogleChromeManagementV1CountActiveDevicesResponse>
6411
+ | BodyResponseCallback<Readable>
6412
+ ):
6413
+ | void
6414
+ | Promise<
6415
+ GaxiosResponseWithHTTP2<Schema$GoogleChromeManagementV1CountActiveDevicesResponse>
6416
+ >
6417
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
6418
+ let params = (paramsOrCallback ||
6419
+ {}) as Params$Resource$Customers$Reports$Countactivedevices;
6420
+ let options = (optionsOrCallback || {}) as MethodOptions;
6421
+
6422
+ if (typeof paramsOrCallback === 'function') {
6423
+ callback = paramsOrCallback;
6424
+ params = {} as Params$Resource$Customers$Reports$Countactivedevices;
6425
+ options = {};
6426
+ }
6427
+
6428
+ if (typeof optionsOrCallback === 'function') {
6429
+ callback = optionsOrCallback;
6430
+ options = {};
6431
+ }
6432
+
6433
+ const rootUrl =
6434
+ options.rootUrl || 'https://chromemanagement.googleapis.com/';
6435
+ const parameters = {
6436
+ options: Object.assign(
6437
+ {
6438
+ url: (
6439
+ rootUrl + '/v1/{+customer}/reports:countActiveDevices'
6440
+ ).replace(/([^:]\/)\/+/g, '$1'),
6441
+ method: 'GET',
6442
+ apiVersion: '',
6443
+ },
6444
+ options
6445
+ ),
6446
+ params,
6447
+ requiredParams: ['customer'],
6448
+ pathParams: ['customer'],
6449
+ context: this.context,
6450
+ };
6451
+ if (callback) {
6452
+ createAPIRequest<Schema$GoogleChromeManagementV1CountActiveDevicesResponse>(
6453
+ parameters,
6454
+ callback as BodyResponseCallback<unknown>
6455
+ );
6456
+ } else {
6457
+ return createAPIRequest<Schema$GoogleChromeManagementV1CountActiveDevicesResponse>(
6458
+ parameters
6459
+ );
6460
+ }
6461
+ }
6462
+
6240
6463
  /**
6241
6464
  * Count of Chrome Browsers that have been recently enrolled, have new policy to be synced, or have no recent activity.
6242
6465
  * @example
@@ -7190,6 +7413,328 @@ export namespace chromemanagement_v1 {
7190
7413
  }
7191
7414
  }
7192
7415
 
7416
+ /**
7417
+ * Get a count of devices per boot type.
7418
+ * @example
7419
+ * ```js
7420
+ * // Before running the sample:
7421
+ * // - Enable the API at:
7422
+ * // https://console.developers.google.com/apis/api/chromemanagement.googleapis.com
7423
+ * // - Login into gcloud by running:
7424
+ * // ```sh
7425
+ * // $ gcloud auth application-default login
7426
+ * // ```
7427
+ * // - Install the npm module by running:
7428
+ * // ```sh
7429
+ * // $ npm install googleapis
7430
+ * // ```
7431
+ *
7432
+ * const {google} = require('googleapis');
7433
+ * const chromemanagement = google.chromemanagement('v1');
7434
+ *
7435
+ * async function main() {
7436
+ * const auth = new google.auth.GoogleAuth({
7437
+ * // Scopes can be specified either as an array or as a single, space-delimited string.
7438
+ * scopes: [
7439
+ * 'https://www.googleapis.com/auth/chrome.management.reports.readonly',
7440
+ * ],
7441
+ * });
7442
+ *
7443
+ * // Acquire an auth client, and bind it to all future calls
7444
+ * const authClient = await auth.getClient();
7445
+ * google.options({auth: authClient});
7446
+ *
7447
+ * // Do the magic
7448
+ * const res = await chromemanagement.customers.reports.countDevicesPerBootType({
7449
+ * // Required. Obfuscated customer ID prefixed with "customers/C" or "customers/my_customer".
7450
+ * customer: 'customers/my-customer',
7451
+ * // Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn't significant.
7452
+ * 'date.day': 'placeholder-value',
7453
+ * // Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.
7454
+ * 'date.month': 'placeholder-value',
7455
+ * // Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.
7456
+ * 'date.year': 'placeholder-value',
7457
+ * });
7458
+ * console.log(res.data);
7459
+ *
7460
+ * // Example response
7461
+ * // {
7462
+ * // "devBootTypeCount": "my_devBootTypeCount",
7463
+ * // "unreportedBootTypeCount": "my_unreportedBootTypeCount",
7464
+ * // "verifiedBootTypeCount": "my_verifiedBootTypeCount"
7465
+ * // }
7466
+ * }
7467
+ *
7468
+ * main().catch(e => {
7469
+ * console.error(e);
7470
+ * throw e;
7471
+ * });
7472
+ *
7473
+ * ```
7474
+ *
7475
+ * @param params - Parameters for request
7476
+ * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
7477
+ * @param callback - Optional callback that handles the response.
7478
+ * @returns A promise if used with async/await, or void if used with a callback.
7479
+ */
7480
+ countDevicesPerBootType(
7481
+ params: Params$Resource$Customers$Reports$Countdevicesperboottype,
7482
+ options: StreamMethodOptions
7483
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
7484
+ countDevicesPerBootType(
7485
+ params?: Params$Resource$Customers$Reports$Countdevicesperboottype,
7486
+ options?: MethodOptions
7487
+ ): Promise<
7488
+ GaxiosResponseWithHTTP2<Schema$GoogleChromeManagementV1CountDevicesPerBootTypeResponse>
7489
+ >;
7490
+ countDevicesPerBootType(
7491
+ params: Params$Resource$Customers$Reports$Countdevicesperboottype,
7492
+ options: StreamMethodOptions | BodyResponseCallback<Readable>,
7493
+ callback: BodyResponseCallback<Readable>
7494
+ ): void;
7495
+ countDevicesPerBootType(
7496
+ params: Params$Resource$Customers$Reports$Countdevicesperboottype,
7497
+ options:
7498
+ | MethodOptions
7499
+ | BodyResponseCallback<Schema$GoogleChromeManagementV1CountDevicesPerBootTypeResponse>,
7500
+ callback: BodyResponseCallback<Schema$GoogleChromeManagementV1CountDevicesPerBootTypeResponse>
7501
+ ): void;
7502
+ countDevicesPerBootType(
7503
+ params: Params$Resource$Customers$Reports$Countdevicesperboottype,
7504
+ callback: BodyResponseCallback<Schema$GoogleChromeManagementV1CountDevicesPerBootTypeResponse>
7505
+ ): void;
7506
+ countDevicesPerBootType(
7507
+ callback: BodyResponseCallback<Schema$GoogleChromeManagementV1CountDevicesPerBootTypeResponse>
7508
+ ): void;
7509
+ countDevicesPerBootType(
7510
+ paramsOrCallback?:
7511
+ | Params$Resource$Customers$Reports$Countdevicesperboottype
7512
+ | BodyResponseCallback<Schema$GoogleChromeManagementV1CountDevicesPerBootTypeResponse>
7513
+ | BodyResponseCallback<Readable>,
7514
+ optionsOrCallback?:
7515
+ | MethodOptions
7516
+ | StreamMethodOptions
7517
+ | BodyResponseCallback<Schema$GoogleChromeManagementV1CountDevicesPerBootTypeResponse>
7518
+ | BodyResponseCallback<Readable>,
7519
+ callback?:
7520
+ | BodyResponseCallback<Schema$GoogleChromeManagementV1CountDevicesPerBootTypeResponse>
7521
+ | BodyResponseCallback<Readable>
7522
+ ):
7523
+ | void
7524
+ | Promise<
7525
+ GaxiosResponseWithHTTP2<Schema$GoogleChromeManagementV1CountDevicesPerBootTypeResponse>
7526
+ >
7527
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
7528
+ let params = (paramsOrCallback ||
7529
+ {}) as Params$Resource$Customers$Reports$Countdevicesperboottype;
7530
+ let options = (optionsOrCallback || {}) as MethodOptions;
7531
+
7532
+ if (typeof paramsOrCallback === 'function') {
7533
+ callback = paramsOrCallback;
7534
+ params =
7535
+ {} as Params$Resource$Customers$Reports$Countdevicesperboottype;
7536
+ options = {};
7537
+ }
7538
+
7539
+ if (typeof optionsOrCallback === 'function') {
7540
+ callback = optionsOrCallback;
7541
+ options = {};
7542
+ }
7543
+
7544
+ const rootUrl =
7545
+ options.rootUrl || 'https://chromemanagement.googleapis.com/';
7546
+ const parameters = {
7547
+ options: Object.assign(
7548
+ {
7549
+ url: (
7550
+ rootUrl + '/v1/{+customer}/reports:countDevicesPerBootType'
7551
+ ).replace(/([^:]\/)\/+/g, '$1'),
7552
+ method: 'GET',
7553
+ apiVersion: '',
7554
+ },
7555
+ options
7556
+ ),
7557
+ params,
7558
+ requiredParams: ['customer'],
7559
+ pathParams: ['customer'],
7560
+ context: this.context,
7561
+ };
7562
+ if (callback) {
7563
+ createAPIRequest<Schema$GoogleChromeManagementV1CountDevicesPerBootTypeResponse>(
7564
+ parameters,
7565
+ callback as BodyResponseCallback<unknown>
7566
+ );
7567
+ } else {
7568
+ return createAPIRequest<Schema$GoogleChromeManagementV1CountDevicesPerBootTypeResponse>(
7569
+ parameters
7570
+ );
7571
+ }
7572
+ }
7573
+
7574
+ /**
7575
+ * Get a count of devices per channel.
7576
+ * @example
7577
+ * ```js
7578
+ * // Before running the sample:
7579
+ * // - Enable the API at:
7580
+ * // https://console.developers.google.com/apis/api/chromemanagement.googleapis.com
7581
+ * // - Login into gcloud by running:
7582
+ * // ```sh
7583
+ * // $ gcloud auth application-default login
7584
+ * // ```
7585
+ * // - Install the npm module by running:
7586
+ * // ```sh
7587
+ * // $ npm install googleapis
7588
+ * // ```
7589
+ *
7590
+ * const {google} = require('googleapis');
7591
+ * const chromemanagement = google.chromemanagement('v1');
7592
+ *
7593
+ * async function main() {
7594
+ * const auth = new google.auth.GoogleAuth({
7595
+ * // Scopes can be specified either as an array or as a single, space-delimited string.
7596
+ * scopes: [
7597
+ * 'https://www.googleapis.com/auth/chrome.management.reports.readonly',
7598
+ * ],
7599
+ * });
7600
+ *
7601
+ * // Acquire an auth client, and bind it to all future calls
7602
+ * const authClient = await auth.getClient();
7603
+ * google.options({auth: authClient});
7604
+ *
7605
+ * // Do the magic
7606
+ * const res =
7607
+ * await chromemanagement.customers.reports.countDevicesPerReleaseChannel({
7608
+ * // Required. Obfuscated customer ID prefixed with "customers/C" or "customers/my_customer".
7609
+ * customer: 'customers/my-customer',
7610
+ * // Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn't significant.
7611
+ * 'date.day': 'placeholder-value',
7612
+ * // Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.
7613
+ * 'date.month': 'placeholder-value',
7614
+ * // Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.
7615
+ * 'date.year': 'placeholder-value',
7616
+ * });
7617
+ * console.log(res.data);
7618
+ *
7619
+ * // Example response
7620
+ * // {
7621
+ * // "betaChannelCount": "my_betaChannelCount",
7622
+ * // "canaryChannelCount": "my_canaryChannelCount",
7623
+ * // "devChannelCount": "my_devChannelCount",
7624
+ * // "ltcChannelCount": "my_ltcChannelCount",
7625
+ * // "ltsChannelCount": "my_ltsChannelCount",
7626
+ * // "stableChannelCount": "my_stableChannelCount",
7627
+ * // "unreportedChannelCount": "my_unreportedChannelCount",
7628
+ * // "unsupportedChannelCount": "my_unsupportedChannelCount"
7629
+ * // }
7630
+ * }
7631
+ *
7632
+ * main().catch(e => {
7633
+ * console.error(e);
7634
+ * throw e;
7635
+ * });
7636
+ *
7637
+ * ```
7638
+ *
7639
+ * @param params - Parameters for request
7640
+ * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
7641
+ * @param callback - Optional callback that handles the response.
7642
+ * @returns A promise if used with async/await, or void if used with a callback.
7643
+ */
7644
+ countDevicesPerReleaseChannel(
7645
+ params: Params$Resource$Customers$Reports$Countdevicesperreleasechannel,
7646
+ options: StreamMethodOptions
7647
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
7648
+ countDevicesPerReleaseChannel(
7649
+ params?: Params$Resource$Customers$Reports$Countdevicesperreleasechannel,
7650
+ options?: MethodOptions
7651
+ ): Promise<
7652
+ GaxiosResponseWithHTTP2<Schema$GoogleChromeManagementV1CountDevicesPerReleaseChannelResponse>
7653
+ >;
7654
+ countDevicesPerReleaseChannel(
7655
+ params: Params$Resource$Customers$Reports$Countdevicesperreleasechannel,
7656
+ options: StreamMethodOptions | BodyResponseCallback<Readable>,
7657
+ callback: BodyResponseCallback<Readable>
7658
+ ): void;
7659
+ countDevicesPerReleaseChannel(
7660
+ params: Params$Resource$Customers$Reports$Countdevicesperreleasechannel,
7661
+ options:
7662
+ | MethodOptions
7663
+ | BodyResponseCallback<Schema$GoogleChromeManagementV1CountDevicesPerReleaseChannelResponse>,
7664
+ callback: BodyResponseCallback<Schema$GoogleChromeManagementV1CountDevicesPerReleaseChannelResponse>
7665
+ ): void;
7666
+ countDevicesPerReleaseChannel(
7667
+ params: Params$Resource$Customers$Reports$Countdevicesperreleasechannel,
7668
+ callback: BodyResponseCallback<Schema$GoogleChromeManagementV1CountDevicesPerReleaseChannelResponse>
7669
+ ): void;
7670
+ countDevicesPerReleaseChannel(
7671
+ callback: BodyResponseCallback<Schema$GoogleChromeManagementV1CountDevicesPerReleaseChannelResponse>
7672
+ ): void;
7673
+ countDevicesPerReleaseChannel(
7674
+ paramsOrCallback?:
7675
+ | Params$Resource$Customers$Reports$Countdevicesperreleasechannel
7676
+ | BodyResponseCallback<Schema$GoogleChromeManagementV1CountDevicesPerReleaseChannelResponse>
7677
+ | BodyResponseCallback<Readable>,
7678
+ optionsOrCallback?:
7679
+ | MethodOptions
7680
+ | StreamMethodOptions
7681
+ | BodyResponseCallback<Schema$GoogleChromeManagementV1CountDevicesPerReleaseChannelResponse>
7682
+ | BodyResponseCallback<Readable>,
7683
+ callback?:
7684
+ | BodyResponseCallback<Schema$GoogleChromeManagementV1CountDevicesPerReleaseChannelResponse>
7685
+ | BodyResponseCallback<Readable>
7686
+ ):
7687
+ | void
7688
+ | Promise<
7689
+ GaxiosResponseWithHTTP2<Schema$GoogleChromeManagementV1CountDevicesPerReleaseChannelResponse>
7690
+ >
7691
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
7692
+ let params = (paramsOrCallback ||
7693
+ {}) as Params$Resource$Customers$Reports$Countdevicesperreleasechannel;
7694
+ let options = (optionsOrCallback || {}) as MethodOptions;
7695
+
7696
+ if (typeof paramsOrCallback === 'function') {
7697
+ callback = paramsOrCallback;
7698
+ params =
7699
+ {} as Params$Resource$Customers$Reports$Countdevicesperreleasechannel;
7700
+ options = {};
7701
+ }
7702
+
7703
+ if (typeof optionsOrCallback === 'function') {
7704
+ callback = optionsOrCallback;
7705
+ options = {};
7706
+ }
7707
+
7708
+ const rootUrl =
7709
+ options.rootUrl || 'https://chromemanagement.googleapis.com/';
7710
+ const parameters = {
7711
+ options: Object.assign(
7712
+ {
7713
+ url: (
7714
+ rootUrl + '/v1/{+customer}/reports:countDevicesPerReleaseChannel'
7715
+ ).replace(/([^:]\/)\/+/g, '$1'),
7716
+ method: 'GET',
7717
+ apiVersion: '',
7718
+ },
7719
+ options
7720
+ ),
7721
+ params,
7722
+ requiredParams: ['customer'],
7723
+ pathParams: ['customer'],
7724
+ context: this.context,
7725
+ };
7726
+ if (callback) {
7727
+ createAPIRequest<Schema$GoogleChromeManagementV1CountDevicesPerReleaseChannelResponse>(
7728
+ parameters,
7729
+ callback as BodyResponseCallback<unknown>
7730
+ );
7731
+ } else {
7732
+ return createAPIRequest<Schema$GoogleChromeManagementV1CountDevicesPerReleaseChannelResponse>(
7733
+ parameters
7734
+ );
7735
+ }
7736
+ }
7737
+
7193
7738
  /**
7194
7739
  * Generate report of app installations.
7195
7740
  * @example
@@ -8002,6 +8547,25 @@ export namespace chromemanagement_v1 {
8002
8547
  }
8003
8548
  }
8004
8549
 
8550
+ export interface Params$Resource$Customers$Reports$Countactivedevices
8551
+ extends StandardParameters {
8552
+ /**
8553
+ * Required. Obfuscated customer ID prefixed with "customers/C" or "customers/my_customer".
8554
+ */
8555
+ customer?: string;
8556
+ /**
8557
+ * Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn't significant.
8558
+ */
8559
+ 'date.day'?: number;
8560
+ /**
8561
+ * Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.
8562
+ */
8563
+ 'date.month'?: number;
8564
+ /**
8565
+ * Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.
8566
+ */
8567
+ 'date.year'?: number;
8568
+ }
8005
8569
  export interface Params$Resource$Customers$Reports$Countchromebrowsersneedingattention
8006
8570
  extends StandardParameters {
8007
8571
  /**
@@ -8104,6 +8668,44 @@ export namespace chromemanagement_v1 {
8104
8668
  */
8105
8669
  pageToken?: string;
8106
8670
  }
8671
+ export interface Params$Resource$Customers$Reports$Countdevicesperboottype
8672
+ extends StandardParameters {
8673
+ /**
8674
+ * Required. Obfuscated customer ID prefixed with "customers/C" or "customers/my_customer".
8675
+ */
8676
+ customer?: string;
8677
+ /**
8678
+ * Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn't significant.
8679
+ */
8680
+ 'date.day'?: number;
8681
+ /**
8682
+ * Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.
8683
+ */
8684
+ 'date.month'?: number;
8685
+ /**
8686
+ * Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.
8687
+ */
8688
+ 'date.year'?: number;
8689
+ }
8690
+ export interface Params$Resource$Customers$Reports$Countdevicesperreleasechannel
8691
+ extends StandardParameters {
8692
+ /**
8693
+ * Required. Obfuscated customer ID prefixed with "customers/C" or "customers/my_customer".
8694
+ */
8695
+ customer?: string;
8696
+ /**
8697
+ * Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn't significant.
8698
+ */
8699
+ 'date.day'?: number;
8700
+ /**
8701
+ * Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.
8702
+ */
8703
+ 'date.month'?: number;
8704
+ /**
8705
+ * Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.
8706
+ */
8707
+ 'date.year'?: number;
8708
+ }
8107
8709
  export interface Params$Resource$Customers$Reports$Countinstalledapps
8108
8710
  extends StandardParameters {
8109
8711
  /**