@googleapis/chromemanagement 24.1.0 → 25.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/build/v1.d.ts CHANGED
@@ -498,6 +498,19 @@ export declare namespace chromemanagement_v1 {
498
498
  */
499
499
  hostMatch?: string | null;
500
500
  }
501
+ /**
502
+ * Response containing the number of active devices.
503
+ */
504
+ export interface Schema$GoogleChromeManagementV1CountActiveDevicesResponse {
505
+ /**
506
+ * Number of active devices in the 7 days leading up to the date specified in the request.
507
+ */
508
+ sevenDaysCount?: string | null;
509
+ /**
510
+ * Number of active devices in the 30 days leading up to the date specified in the request.
511
+ */
512
+ thirtyDaysCount?: string | null;
513
+ }
501
514
  /**
502
515
  * Response containing summary of requested app installations.
503
516
  */
@@ -630,6 +643,60 @@ export declare namespace chromemanagement_v1 {
630
643
  */
631
644
  totalSize?: number | null;
632
645
  }
646
+ /**
647
+ * Response containing the number of devices with the given boot type.
648
+ */
649
+ export interface Schema$GoogleChromeManagementV1CountDevicesPerBootTypeResponse {
650
+ /**
651
+ * Number of devices with dev boot type.
652
+ */
653
+ devBootTypeCount?: string | null;
654
+ /**
655
+ * Number of devices with unreported boot type.
656
+ */
657
+ unreportedBootTypeCount?: string | null;
658
+ /**
659
+ * Number of devices with verified boot type.
660
+ */
661
+ verifiedBootTypeCount?: string | null;
662
+ }
663
+ /**
664
+ * Response containing the number of devices with the given channel.
665
+ */
666
+ export interface Schema$GoogleChromeManagementV1CountDevicesPerReleaseChannelResponse {
667
+ /**
668
+ * Number of devices with beta release channel.
669
+ */
670
+ betaChannelCount?: string | null;
671
+ /**
672
+ * Number of devices with canary release channel.
673
+ */
674
+ canaryChannelCount?: string | null;
675
+ /**
676
+ * Number of devices with dev release channel.
677
+ */
678
+ devChannelCount?: string | null;
679
+ /**
680
+ * Number of devices with ltc release channel.
681
+ */
682
+ ltcChannelCount?: string | null;
683
+ /**
684
+ * Number of devices with lts release channel.
685
+ */
686
+ ltsChannelCount?: string | null;
687
+ /**
688
+ * Number of devices with stable release channel.
689
+ */
690
+ stableChannelCount?: string | null;
691
+ /**
692
+ * Number of devices with an unreported release channel.
693
+ */
694
+ unreportedChannelCount?: string | null;
695
+ /**
696
+ * Number of devices with unsupported release channel.
697
+ */
698
+ unsupportedChannelCount?: string | null;
699
+ }
633
700
  /**
634
701
  * Response containing details of queried installed apps.
635
702
  */
@@ -2937,7 +3004,7 @@ export declare namespace chromemanagement_v1 {
2937
3004
  */
2938
3005
  operations?: Schema$GoogleLongrunningOperation[];
2939
3006
  /**
2940
- * Unordered list. Unreachable resources. Populated when the request sets `ListOperationsRequest.return_partial_success` and reads across collections e.g. when attempting to list all resources across all supported locations.
3007
+ * Unordered list. Unreachable resources. Populated when the request sets `ListOperationsRequest.return_partial_success` and reads across collections. For example, when attempting to list all resources across all supported locations.
2941
3008
  */
2942
3009
  unreachable?: string[] | null;
2943
3010
  }
@@ -4578,6 +4645,75 @@ export declare namespace chromemanagement_v1 {
4578
4645
  export class Resource$Customers$Reports {
4579
4646
  context: APIRequestContext;
4580
4647
  constructor(context: APIRequestContext);
4648
+ /**
4649
+ * Get a count of active devices per set time frames.
4650
+ * @example
4651
+ * ```js
4652
+ * // Before running the sample:
4653
+ * // - Enable the API at:
4654
+ * // https://console.developers.google.com/apis/api/chromemanagement.googleapis.com
4655
+ * // - Login into gcloud by running:
4656
+ * // ```sh
4657
+ * // $ gcloud auth application-default login
4658
+ * // ```
4659
+ * // - Install the npm module by running:
4660
+ * // ```sh
4661
+ * // $ npm install googleapis
4662
+ * // ```
4663
+ *
4664
+ * const {google} = require('googleapis');
4665
+ * const chromemanagement = google.chromemanagement('v1');
4666
+ *
4667
+ * async function main() {
4668
+ * const auth = new google.auth.GoogleAuth({
4669
+ * // Scopes can be specified either as an array or as a single, space-delimited string.
4670
+ * scopes: [
4671
+ * 'https://www.googleapis.com/auth/chrome.management.reports.readonly',
4672
+ * ],
4673
+ * });
4674
+ *
4675
+ * // Acquire an auth client, and bind it to all future calls
4676
+ * const authClient = await auth.getClient();
4677
+ * google.options({auth: authClient});
4678
+ *
4679
+ * // Do the magic
4680
+ * const res = await chromemanagement.customers.reports.countActiveDevices({
4681
+ * // Required. Obfuscated customer ID prefixed with "customers/C" or "customers/my_customer".
4682
+ * customer: 'customers/my-customer',
4683
+ * // 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.
4684
+ * 'date.day': 'placeholder-value',
4685
+ * // Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.
4686
+ * 'date.month': 'placeholder-value',
4687
+ * // Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.
4688
+ * 'date.year': 'placeholder-value',
4689
+ * });
4690
+ * console.log(res.data);
4691
+ *
4692
+ * // Example response
4693
+ * // {
4694
+ * // "sevenDaysCount": "my_sevenDaysCount",
4695
+ * // "thirtyDaysCount": "my_thirtyDaysCount"
4696
+ * // }
4697
+ * }
4698
+ *
4699
+ * main().catch(e => {
4700
+ * console.error(e);
4701
+ * throw e;
4702
+ * });
4703
+ *
4704
+ * ```
4705
+ *
4706
+ * @param params - Parameters for request
4707
+ * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
4708
+ * @param callback - Optional callback that handles the response.
4709
+ * @returns A promise if used with async/await, or void if used with a callback.
4710
+ */
4711
+ countActiveDevices(params: Params$Resource$Customers$Reports$Countactivedevices, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
4712
+ countActiveDevices(params?: Params$Resource$Customers$Reports$Countactivedevices, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$GoogleChromeManagementV1CountActiveDevicesResponse>>;
4713
+ countActiveDevices(params: Params$Resource$Customers$Reports$Countactivedevices, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
4714
+ countActiveDevices(params: Params$Resource$Customers$Reports$Countactivedevices, options: MethodOptions | BodyResponseCallback<Schema$GoogleChromeManagementV1CountActiveDevicesResponse>, callback: BodyResponseCallback<Schema$GoogleChromeManagementV1CountActiveDevicesResponse>): void;
4715
+ countActiveDevices(params: Params$Resource$Customers$Reports$Countactivedevices, callback: BodyResponseCallback<Schema$GoogleChromeManagementV1CountActiveDevicesResponse>): void;
4716
+ countActiveDevices(callback: BodyResponseCallback<Schema$GoogleChromeManagementV1CountActiveDevicesResponse>): void;
4581
4717
  /**
4582
4718
  * Count of Chrome Browsers that have been recently enrolled, have new policy to be synced, or have no recent activity.
4583
4719
  * @example
@@ -5001,6 +5137,152 @@ export declare namespace chromemanagement_v1 {
5001
5137
  countChromeVersions(params: Params$Resource$Customers$Reports$Countchromeversions, options: MethodOptions | BodyResponseCallback<Schema$GoogleChromeManagementV1CountChromeVersionsResponse>, callback: BodyResponseCallback<Schema$GoogleChromeManagementV1CountChromeVersionsResponse>): void;
5002
5138
  countChromeVersions(params: Params$Resource$Customers$Reports$Countchromeversions, callback: BodyResponseCallback<Schema$GoogleChromeManagementV1CountChromeVersionsResponse>): void;
5003
5139
  countChromeVersions(callback: BodyResponseCallback<Schema$GoogleChromeManagementV1CountChromeVersionsResponse>): void;
5140
+ /**
5141
+ * Get a count of devices per boot type.
5142
+ * @example
5143
+ * ```js
5144
+ * // Before running the sample:
5145
+ * // - Enable the API at:
5146
+ * // https://console.developers.google.com/apis/api/chromemanagement.googleapis.com
5147
+ * // - Login into gcloud by running:
5148
+ * // ```sh
5149
+ * // $ gcloud auth application-default login
5150
+ * // ```
5151
+ * // - Install the npm module by running:
5152
+ * // ```sh
5153
+ * // $ npm install googleapis
5154
+ * // ```
5155
+ *
5156
+ * const {google} = require('googleapis');
5157
+ * const chromemanagement = google.chromemanagement('v1');
5158
+ *
5159
+ * async function main() {
5160
+ * const auth = new google.auth.GoogleAuth({
5161
+ * // Scopes can be specified either as an array or as a single, space-delimited string.
5162
+ * scopes: [
5163
+ * 'https://www.googleapis.com/auth/chrome.management.reports.readonly',
5164
+ * ],
5165
+ * });
5166
+ *
5167
+ * // Acquire an auth client, and bind it to all future calls
5168
+ * const authClient = await auth.getClient();
5169
+ * google.options({auth: authClient});
5170
+ *
5171
+ * // Do the magic
5172
+ * const res = await chromemanagement.customers.reports.countDevicesPerBootType({
5173
+ * // Required. Obfuscated customer ID prefixed with "customers/C" or "customers/my_customer".
5174
+ * customer: 'customers/my-customer',
5175
+ * // 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.
5176
+ * 'date.day': 'placeholder-value',
5177
+ * // Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.
5178
+ * 'date.month': 'placeholder-value',
5179
+ * // Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.
5180
+ * 'date.year': 'placeholder-value',
5181
+ * });
5182
+ * console.log(res.data);
5183
+ *
5184
+ * // Example response
5185
+ * // {
5186
+ * // "devBootTypeCount": "my_devBootTypeCount",
5187
+ * // "unreportedBootTypeCount": "my_unreportedBootTypeCount",
5188
+ * // "verifiedBootTypeCount": "my_verifiedBootTypeCount"
5189
+ * // }
5190
+ * }
5191
+ *
5192
+ * main().catch(e => {
5193
+ * console.error(e);
5194
+ * throw e;
5195
+ * });
5196
+ *
5197
+ * ```
5198
+ *
5199
+ * @param params - Parameters for request
5200
+ * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
5201
+ * @param callback - Optional callback that handles the response.
5202
+ * @returns A promise if used with async/await, or void if used with a callback.
5203
+ */
5204
+ countDevicesPerBootType(params: Params$Resource$Customers$Reports$Countdevicesperboottype, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
5205
+ countDevicesPerBootType(params?: Params$Resource$Customers$Reports$Countdevicesperboottype, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$GoogleChromeManagementV1CountDevicesPerBootTypeResponse>>;
5206
+ countDevicesPerBootType(params: Params$Resource$Customers$Reports$Countdevicesperboottype, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
5207
+ countDevicesPerBootType(params: Params$Resource$Customers$Reports$Countdevicesperboottype, options: MethodOptions | BodyResponseCallback<Schema$GoogleChromeManagementV1CountDevicesPerBootTypeResponse>, callback: BodyResponseCallback<Schema$GoogleChromeManagementV1CountDevicesPerBootTypeResponse>): void;
5208
+ countDevicesPerBootType(params: Params$Resource$Customers$Reports$Countdevicesperboottype, callback: BodyResponseCallback<Schema$GoogleChromeManagementV1CountDevicesPerBootTypeResponse>): void;
5209
+ countDevicesPerBootType(callback: BodyResponseCallback<Schema$GoogleChromeManagementV1CountDevicesPerBootTypeResponse>): void;
5210
+ /**
5211
+ * Get a count of devices per channel.
5212
+ * @example
5213
+ * ```js
5214
+ * // Before running the sample:
5215
+ * // - Enable the API at:
5216
+ * // https://console.developers.google.com/apis/api/chromemanagement.googleapis.com
5217
+ * // - Login into gcloud by running:
5218
+ * // ```sh
5219
+ * // $ gcloud auth application-default login
5220
+ * // ```
5221
+ * // - Install the npm module by running:
5222
+ * // ```sh
5223
+ * // $ npm install googleapis
5224
+ * // ```
5225
+ *
5226
+ * const {google} = require('googleapis');
5227
+ * const chromemanagement = google.chromemanagement('v1');
5228
+ *
5229
+ * async function main() {
5230
+ * const auth = new google.auth.GoogleAuth({
5231
+ * // Scopes can be specified either as an array or as a single, space-delimited string.
5232
+ * scopes: [
5233
+ * 'https://www.googleapis.com/auth/chrome.management.reports.readonly',
5234
+ * ],
5235
+ * });
5236
+ *
5237
+ * // Acquire an auth client, and bind it to all future calls
5238
+ * const authClient = await auth.getClient();
5239
+ * google.options({auth: authClient});
5240
+ *
5241
+ * // Do the magic
5242
+ * const res =
5243
+ * await chromemanagement.customers.reports.countDevicesPerReleaseChannel({
5244
+ * // Required. Obfuscated customer ID prefixed with "customers/C" or "customers/my_customer".
5245
+ * customer: 'customers/my-customer',
5246
+ * // 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.
5247
+ * 'date.day': 'placeholder-value',
5248
+ * // Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.
5249
+ * 'date.month': 'placeholder-value',
5250
+ * // Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.
5251
+ * 'date.year': 'placeholder-value',
5252
+ * });
5253
+ * console.log(res.data);
5254
+ *
5255
+ * // Example response
5256
+ * // {
5257
+ * // "betaChannelCount": "my_betaChannelCount",
5258
+ * // "canaryChannelCount": "my_canaryChannelCount",
5259
+ * // "devChannelCount": "my_devChannelCount",
5260
+ * // "ltcChannelCount": "my_ltcChannelCount",
5261
+ * // "ltsChannelCount": "my_ltsChannelCount",
5262
+ * // "stableChannelCount": "my_stableChannelCount",
5263
+ * // "unreportedChannelCount": "my_unreportedChannelCount",
5264
+ * // "unsupportedChannelCount": "my_unsupportedChannelCount"
5265
+ * // }
5266
+ * }
5267
+ *
5268
+ * main().catch(e => {
5269
+ * console.error(e);
5270
+ * throw e;
5271
+ * });
5272
+ *
5273
+ * ```
5274
+ *
5275
+ * @param params - Parameters for request
5276
+ * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
5277
+ * @param callback - Optional callback that handles the response.
5278
+ * @returns A promise if used with async/await, or void if used with a callback.
5279
+ */
5280
+ countDevicesPerReleaseChannel(params: Params$Resource$Customers$Reports$Countdevicesperreleasechannel, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
5281
+ countDevicesPerReleaseChannel(params?: Params$Resource$Customers$Reports$Countdevicesperreleasechannel, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$GoogleChromeManagementV1CountDevicesPerReleaseChannelResponse>>;
5282
+ countDevicesPerReleaseChannel(params: Params$Resource$Customers$Reports$Countdevicesperreleasechannel, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
5283
+ countDevicesPerReleaseChannel(params: Params$Resource$Customers$Reports$Countdevicesperreleasechannel, options: MethodOptions | BodyResponseCallback<Schema$GoogleChromeManagementV1CountDevicesPerReleaseChannelResponse>, callback: BodyResponseCallback<Schema$GoogleChromeManagementV1CountDevicesPerReleaseChannelResponse>): void;
5284
+ countDevicesPerReleaseChannel(params: Params$Resource$Customers$Reports$Countdevicesperreleasechannel, callback: BodyResponseCallback<Schema$GoogleChromeManagementV1CountDevicesPerReleaseChannelResponse>): void;
5285
+ countDevicesPerReleaseChannel(callback: BodyResponseCallback<Schema$GoogleChromeManagementV1CountDevicesPerReleaseChannelResponse>): void;
5004
5286
  /**
5005
5287
  * Generate report of app installations.
5006
5288
  * @example
@@ -5376,6 +5658,24 @@ export declare namespace chromemanagement_v1 {
5376
5658
  findInstalledAppDevices(params: Params$Resource$Customers$Reports$Findinstalledappdevices, callback: BodyResponseCallback<Schema$GoogleChromeManagementV1FindInstalledAppDevicesResponse>): void;
5377
5659
  findInstalledAppDevices(callback: BodyResponseCallback<Schema$GoogleChromeManagementV1FindInstalledAppDevicesResponse>): void;
5378
5660
  }
5661
+ export interface Params$Resource$Customers$Reports$Countactivedevices extends StandardParameters {
5662
+ /**
5663
+ * Required. Obfuscated customer ID prefixed with "customers/C" or "customers/my_customer".
5664
+ */
5665
+ customer?: string;
5666
+ /**
5667
+ * 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.
5668
+ */
5669
+ 'date.day'?: number;
5670
+ /**
5671
+ * Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.
5672
+ */
5673
+ 'date.month'?: number;
5674
+ /**
5675
+ * Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.
5676
+ */
5677
+ 'date.year'?: number;
5678
+ }
5379
5679
  export interface Params$Resource$Customers$Reports$Countchromebrowsersneedingattention extends StandardParameters {
5380
5680
  /**
5381
5681
  * Required. The customer ID or "my_customer" prefixed with "customers/".
@@ -5472,6 +5772,42 @@ export declare namespace chromemanagement_v1 {
5472
5772
  */
5473
5773
  pageToken?: string;
5474
5774
  }
5775
+ export interface Params$Resource$Customers$Reports$Countdevicesperboottype extends StandardParameters {
5776
+ /**
5777
+ * Required. Obfuscated customer ID prefixed with "customers/C" or "customers/my_customer".
5778
+ */
5779
+ customer?: string;
5780
+ /**
5781
+ * 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.
5782
+ */
5783
+ 'date.day'?: number;
5784
+ /**
5785
+ * Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.
5786
+ */
5787
+ 'date.month'?: number;
5788
+ /**
5789
+ * Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.
5790
+ */
5791
+ 'date.year'?: number;
5792
+ }
5793
+ export interface Params$Resource$Customers$Reports$Countdevicesperreleasechannel extends StandardParameters {
5794
+ /**
5795
+ * Required. Obfuscated customer ID prefixed with "customers/C" or "customers/my_customer".
5796
+ */
5797
+ customer?: string;
5798
+ /**
5799
+ * 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.
5800
+ */
5801
+ 'date.day'?: number;
5802
+ /**
5803
+ * Month of a year. Must be from 1 to 12, or 0 to specify a year without a month and day.
5804
+ */
5805
+ 'date.month'?: number;
5806
+ /**
5807
+ * Year of the date. Must be from 1 to 9999, or 0 to specify a date without a year.
5808
+ */
5809
+ 'date.year'?: number;
5810
+ }
5475
5811
  export interface Params$Resource$Customers$Reports$Countinstalledapps extends StandardParameters {
5476
5812
  /**
5477
5813
  * Required. Customer id or "my_customer" to use the customer associated to the account making the request.
@@ -6575,7 +6911,7 @@ export declare namespace chromemanagement_v1 {
6575
6911
  * pageSize: 'placeholder-value',
6576
6912
  * // The standard list page token.
6577
6913
  * pageToken: 'placeholder-value',
6578
- * // When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `"projects/example/locations/-"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.
6914
+ * // When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `"projects/example/locations/-"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.
6579
6915
  * returnPartialSuccess: 'placeholder-value',
6580
6916
  * });
6581
6917
  * console.log(res.data);
@@ -6641,7 +6977,7 @@ export declare namespace chromemanagement_v1 {
6641
6977
  */
6642
6978
  pageToken?: string;
6643
6979
  /**
6644
- * When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the [ListOperationsResponse.unreachable] field. This can only be `true` when reading across collections e.g. when `parent` is set to `"projects/example/locations/-"`. This field is not by default supported and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.
6980
+ * When set to `true`, operations that are reachable are returned as normal, and those that are unreachable are returned in the ListOperationsResponse.unreachable field. This can only be `true` when reading across collections. For example, when `parent` is set to `"projects/example/locations/-"`. This field is not supported by default and will result in an `UNIMPLEMENTED` error if set unless explicitly documented otherwise in service or product specific documentation.
6645
6981
  */
6646
6982
  returnPartialSuccess?: boolean;
6647
6983
  }
package/build/v1.js CHANGED
@@ -723,6 +723,38 @@ var chromemanagement_v1;
723
723
  constructor(context) {
724
724
  this.context = context;
725
725
  }
726
+ countActiveDevices(paramsOrCallback, optionsOrCallback, callback) {
727
+ let params = (paramsOrCallback ||
728
+ {});
729
+ let options = (optionsOrCallback || {});
730
+ if (typeof paramsOrCallback === 'function') {
731
+ callback = paramsOrCallback;
732
+ params = {};
733
+ options = {};
734
+ }
735
+ if (typeof optionsOrCallback === 'function') {
736
+ callback = optionsOrCallback;
737
+ options = {};
738
+ }
739
+ const rootUrl = options.rootUrl || 'https://chromemanagement.googleapis.com/';
740
+ const parameters = {
741
+ options: Object.assign({
742
+ url: (rootUrl + '/v1/{+customer}/reports:countActiveDevices').replace(/([^:]\/)\/+/g, '$1'),
743
+ method: 'GET',
744
+ apiVersion: '',
745
+ }, options),
746
+ params,
747
+ requiredParams: ['customer'],
748
+ pathParams: ['customer'],
749
+ context: this.context,
750
+ };
751
+ if (callback) {
752
+ (0, googleapis_common_1.createAPIRequest)(parameters, callback);
753
+ }
754
+ else {
755
+ return (0, googleapis_common_1.createAPIRequest)(parameters);
756
+ }
757
+ }
726
758
  countChromeBrowsersNeedingAttention(paramsOrCallback, optionsOrCallback, callback) {
727
759
  let params = (paramsOrCallback ||
728
760
  {});
@@ -923,6 +955,72 @@ var chromemanagement_v1;
923
955
  return (0, googleapis_common_1.createAPIRequest)(parameters);
924
956
  }
925
957
  }
958
+ countDevicesPerBootType(paramsOrCallback, optionsOrCallback, callback) {
959
+ let params = (paramsOrCallback ||
960
+ {});
961
+ let options = (optionsOrCallback || {});
962
+ if (typeof paramsOrCallback === 'function') {
963
+ callback = paramsOrCallback;
964
+ params =
965
+ {};
966
+ options = {};
967
+ }
968
+ if (typeof optionsOrCallback === 'function') {
969
+ callback = optionsOrCallback;
970
+ options = {};
971
+ }
972
+ const rootUrl = options.rootUrl || 'https://chromemanagement.googleapis.com/';
973
+ const parameters = {
974
+ options: Object.assign({
975
+ url: (rootUrl + '/v1/{+customer}/reports:countDevicesPerBootType').replace(/([^:]\/)\/+/g, '$1'),
976
+ method: 'GET',
977
+ apiVersion: '',
978
+ }, options),
979
+ params,
980
+ requiredParams: ['customer'],
981
+ pathParams: ['customer'],
982
+ context: this.context,
983
+ };
984
+ if (callback) {
985
+ (0, googleapis_common_1.createAPIRequest)(parameters, callback);
986
+ }
987
+ else {
988
+ return (0, googleapis_common_1.createAPIRequest)(parameters);
989
+ }
990
+ }
991
+ countDevicesPerReleaseChannel(paramsOrCallback, optionsOrCallback, callback) {
992
+ let params = (paramsOrCallback ||
993
+ {});
994
+ let options = (optionsOrCallback || {});
995
+ if (typeof paramsOrCallback === 'function') {
996
+ callback = paramsOrCallback;
997
+ params =
998
+ {};
999
+ options = {};
1000
+ }
1001
+ if (typeof optionsOrCallback === 'function') {
1002
+ callback = optionsOrCallback;
1003
+ options = {};
1004
+ }
1005
+ const rootUrl = options.rootUrl || 'https://chromemanagement.googleapis.com/';
1006
+ const parameters = {
1007
+ options: Object.assign({
1008
+ url: (rootUrl + '/v1/{+customer}/reports:countDevicesPerReleaseChannel').replace(/([^:]\/)\/+/g, '$1'),
1009
+ method: 'GET',
1010
+ apiVersion: '',
1011
+ }, options),
1012
+ params,
1013
+ requiredParams: ['customer'],
1014
+ pathParams: ['customer'],
1015
+ context: this.context,
1016
+ };
1017
+ if (callback) {
1018
+ (0, googleapis_common_1.createAPIRequest)(parameters, callback);
1019
+ }
1020
+ else {
1021
+ return (0, googleapis_common_1.createAPIRequest)(parameters);
1022
+ }
1023
+ }
926
1024
  countInstalledApps(paramsOrCallback, optionsOrCallback, callback) {
927
1025
  let params = (paramsOrCallback ||
928
1026
  {});