@googleapis/chromemanagement 21.0.1 → 21.2.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
@@ -467,6 +467,10 @@ export namespace chromemanagement_v1 {
467
467
  * Output only. Whether this app is enabled for Kiosk mode on ChromeOS devices
468
468
  */
469
469
  kioskEnabled?: boolean | null;
470
+ /**
471
+ * Output only. The version of this extension's manifest.
472
+ */
473
+ manifestVersion?: string | null;
470
474
  /**
471
475
  * Output only. The minimum number of users using this app.
472
476
  */
@@ -939,6 +943,10 @@ export namespace chromemanagement_v1 {
939
943
  * Output only. Display width in millimeters.
940
944
  */
941
945
  displayWidthMm?: number | null;
946
+ /**
947
+ * Output only. EDID version.
948
+ */
949
+ edidVersion?: string | null;
942
950
  /**
943
951
  * Output only. Is display internal or not.
944
952
  */
@@ -955,6 +963,10 @@ export namespace chromemanagement_v1 {
955
963
  * Output only. Manufacturer product code.
956
964
  */
957
965
  modelId?: number | null;
966
+ /**
967
+ * Output only. Serial number.
968
+ */
969
+ serialNumber?: number | null;
958
970
  }
959
971
  /**
960
972
  * Information for a display.
@@ -968,6 +980,10 @@ export namespace chromemanagement_v1 {
968
980
  * Output only. Display device name.
969
981
  */
970
982
  displayName?: string | null;
983
+ /**
984
+ * Output only. EDID version.
985
+ */
986
+ edidVersion?: string | null;
971
987
  /**
972
988
  * Output only. Indicates if display is internal or not.
973
989
  */
@@ -984,6 +1000,10 @@ export namespace chromemanagement_v1 {
984
1000
  * Output only. Resolution width in pixels.
985
1001
  */
986
1002
  resolutionWidth?: number | null;
1003
+ /**
1004
+ * Output only. Serial number.
1005
+ */
1006
+ serialNumber?: number | null;
987
1007
  }
988
1008
  /**
989
1009
  * Response containing a list of print jobs.
@@ -2430,6 +2450,56 @@ export namespace chromemanagement_v1 {
2430
2450
  */
2431
2451
  userId?: string | null;
2432
2452
  }
2453
+ /**
2454
+ * A representation of a remote command for a Chrome browser profile.
2455
+ */
2456
+ export interface Schema$GoogleChromeManagementVersionsV1ChromeBrowserProfileCommand {
2457
+ /**
2458
+ * Output only. Result of the remote command.
2459
+ */
2460
+ commandResult?: Schema$GoogleChromeManagementVersionsV1ChromeBrowserProfileCommandCommandResult;
2461
+ /**
2462
+ * Output only. State of the remote command.
2463
+ */
2464
+ commandState?: string | null;
2465
+ /**
2466
+ * Required. Type of the remote command. The only supported command_type is "clearBrowsingData".
2467
+ */
2468
+ commandType?: string | null;
2469
+ /**
2470
+ * Output only. Timestamp of the issurance of the remote command.
2471
+ */
2472
+ issueTime?: string | null;
2473
+ /**
2474
+ * Identifier. Format: customers/{customer_id\}/profiles/{profile_permanent_id\}/commands/{command_id\}
2475
+ */
2476
+ name?: string | null;
2477
+ /**
2478
+ * Required. Payload of the remote command. The payload for "clearBrowsingData" command supports: - fields "clearCache" and "clearCookies" - values of boolean type.
2479
+ */
2480
+ payload?: {[key: string]: any} | null;
2481
+ /**
2482
+ * Output only. Valid duration of the remote command.
2483
+ */
2484
+ validDuration?: string | null;
2485
+ }
2486
+ /**
2487
+ * Result of the execution of a command.
2488
+ */
2489
+ export interface Schema$GoogleChromeManagementVersionsV1ChromeBrowserProfileCommandCommandResult {
2490
+ /**
2491
+ * Output only. Timestamp of the client execution of the remote command.
2492
+ */
2493
+ clientExecutionTime?: string | null;
2494
+ /**
2495
+ * Output only. Result code that indicates the type of error or success of the command.
2496
+ */
2497
+ resultCode?: string | null;
2498
+ /**
2499
+ * Output only. Result type of the remote command.
2500
+ */
2501
+ resultType?: string | null;
2502
+ }
2433
2503
  /**
2434
2504
  * Describes the ChromeOS device that a `CertificateProvisioningProcess` belongs to.
2435
2505
  */
@@ -2499,6 +2569,23 @@ export namespace chromemanagement_v1 {
2499
2569
  */
2500
2570
  profileAdapterConfigReference?: string | null;
2501
2571
  }
2572
+ /**
2573
+ * Response to ListChromeBrowserProfileCommands method.
2574
+ */
2575
+ export interface Schema$GoogleChromeManagementVersionsV1ListChromeBrowserProfileCommandsResponse {
2576
+ /**
2577
+ * The list of commands returned.
2578
+ */
2579
+ chromeBrowserProfileCommands?: Schema$GoogleChromeManagementVersionsV1ChromeBrowserProfileCommand[];
2580
+ /**
2581
+ * The pagination token that can be used to list the next page.
2582
+ */
2583
+ nextPageToken?: string | null;
2584
+ /**
2585
+ * Total size represents an estimated number of resources returned.
2586
+ */
2587
+ totalSize?: string | null;
2588
+ }
2502
2589
  /**
2503
2590
  * Response to ListChromeBrowserProfiles method.
2504
2591
  */
@@ -3823,8 +3910,10 @@ export namespace chromemanagement_v1 {
3823
3910
 
3824
3911
  export class Resource$Customers$Profiles {
3825
3912
  context: APIRequestContext;
3913
+ commands: Resource$Customers$Profiles$Commands;
3826
3914
  constructor(context: APIRequestContext) {
3827
3915
  this.context = context;
3916
+ this.commands = new Resource$Customers$Profiles$Commands(this.context);
3828
3917
  }
3829
3918
 
3830
3919
  /**
@@ -4333,6 +4422,527 @@ export namespace chromemanagement_v1 {
4333
4422
  parent?: string;
4334
4423
  }
4335
4424
 
4425
+ export class Resource$Customers$Profiles$Commands {
4426
+ context: APIRequestContext;
4427
+ constructor(context: APIRequestContext) {
4428
+ this.context = context;
4429
+ }
4430
+
4431
+ /**
4432
+ * Creates a Chrome browser profile remote command.
4433
+ * @example
4434
+ * ```js
4435
+ * // Before running the sample:
4436
+ * // - Enable the API at:
4437
+ * // https://console.developers.google.com/apis/api/chromemanagement.googleapis.com
4438
+ * // - Login into gcloud by running:
4439
+ * // ```sh
4440
+ * // $ gcloud auth application-default login
4441
+ * // ```
4442
+ * // - Install the npm module by running:
4443
+ * // ```sh
4444
+ * // $ npm install googleapis
4445
+ * // ```
4446
+ *
4447
+ * const {google} = require('googleapis');
4448
+ * const chromemanagement = google.chromemanagement('v1');
4449
+ *
4450
+ * async function main() {
4451
+ * const auth = new google.auth.GoogleAuth({
4452
+ * // Scopes can be specified either as an array or as a single, space-delimited string.
4453
+ * scopes: ['https://www.googleapis.com/auth/chrome.management.profiles'],
4454
+ * });
4455
+ *
4456
+ * // Acquire an auth client, and bind it to all future calls
4457
+ * const authClient = await auth.getClient();
4458
+ * google.options({auth: authClient});
4459
+ *
4460
+ * // Do the magic
4461
+ * const res = await chromemanagement.customers.profiles.commands.create({
4462
+ * // Required. Format: customers/{customer_id\}/profiles/{profile_permanent_id\}
4463
+ * parent: 'customers/my-customer/profiles/my-profile',
4464
+ *
4465
+ * // Request body metadata
4466
+ * requestBody: {
4467
+ * // request body parameters
4468
+ * // {
4469
+ * // "commandResult": {},
4470
+ * // "commandState": "my_commandState",
4471
+ * // "commandType": "my_commandType",
4472
+ * // "issueTime": "my_issueTime",
4473
+ * // "name": "my_name",
4474
+ * // "payload": {},
4475
+ * // "validDuration": "my_validDuration"
4476
+ * // }
4477
+ * },
4478
+ * });
4479
+ * console.log(res.data);
4480
+ *
4481
+ * // Example response
4482
+ * // {
4483
+ * // "commandResult": {},
4484
+ * // "commandState": "my_commandState",
4485
+ * // "commandType": "my_commandType",
4486
+ * // "issueTime": "my_issueTime",
4487
+ * // "name": "my_name",
4488
+ * // "payload": {},
4489
+ * // "validDuration": "my_validDuration"
4490
+ * // }
4491
+ * }
4492
+ *
4493
+ * main().catch(e => {
4494
+ * console.error(e);
4495
+ * throw e;
4496
+ * });
4497
+ *
4498
+ * ```
4499
+ *
4500
+ * @param params - Parameters for request
4501
+ * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
4502
+ * @param callback - Optional callback that handles the response.
4503
+ * @returns A promise if used with async/await, or void if used with a callback.
4504
+ */
4505
+ create(
4506
+ params: Params$Resource$Customers$Profiles$Commands$Create,
4507
+ options: StreamMethodOptions
4508
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
4509
+ create(
4510
+ params?: Params$Resource$Customers$Profiles$Commands$Create,
4511
+ options?: MethodOptions
4512
+ ): Promise<
4513
+ GaxiosResponseWithHTTP2<Schema$GoogleChromeManagementVersionsV1ChromeBrowserProfileCommand>
4514
+ >;
4515
+ create(
4516
+ params: Params$Resource$Customers$Profiles$Commands$Create,
4517
+ options: StreamMethodOptions | BodyResponseCallback<Readable>,
4518
+ callback: BodyResponseCallback<Readable>
4519
+ ): void;
4520
+ create(
4521
+ params: Params$Resource$Customers$Profiles$Commands$Create,
4522
+ options:
4523
+ | MethodOptions
4524
+ | BodyResponseCallback<Schema$GoogleChromeManagementVersionsV1ChromeBrowserProfileCommand>,
4525
+ callback: BodyResponseCallback<Schema$GoogleChromeManagementVersionsV1ChromeBrowserProfileCommand>
4526
+ ): void;
4527
+ create(
4528
+ params: Params$Resource$Customers$Profiles$Commands$Create,
4529
+ callback: BodyResponseCallback<Schema$GoogleChromeManagementVersionsV1ChromeBrowserProfileCommand>
4530
+ ): void;
4531
+ create(
4532
+ callback: BodyResponseCallback<Schema$GoogleChromeManagementVersionsV1ChromeBrowserProfileCommand>
4533
+ ): void;
4534
+ create(
4535
+ paramsOrCallback?:
4536
+ | Params$Resource$Customers$Profiles$Commands$Create
4537
+ | BodyResponseCallback<Schema$GoogleChromeManagementVersionsV1ChromeBrowserProfileCommand>
4538
+ | BodyResponseCallback<Readable>,
4539
+ optionsOrCallback?:
4540
+ | MethodOptions
4541
+ | StreamMethodOptions
4542
+ | BodyResponseCallback<Schema$GoogleChromeManagementVersionsV1ChromeBrowserProfileCommand>
4543
+ | BodyResponseCallback<Readable>,
4544
+ callback?:
4545
+ | BodyResponseCallback<Schema$GoogleChromeManagementVersionsV1ChromeBrowserProfileCommand>
4546
+ | BodyResponseCallback<Readable>
4547
+ ):
4548
+ | void
4549
+ | Promise<
4550
+ GaxiosResponseWithHTTP2<Schema$GoogleChromeManagementVersionsV1ChromeBrowserProfileCommand>
4551
+ >
4552
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
4553
+ let params = (paramsOrCallback ||
4554
+ {}) as Params$Resource$Customers$Profiles$Commands$Create;
4555
+ let options = (optionsOrCallback || {}) as MethodOptions;
4556
+
4557
+ if (typeof paramsOrCallback === 'function') {
4558
+ callback = paramsOrCallback;
4559
+ params = {} as Params$Resource$Customers$Profiles$Commands$Create;
4560
+ options = {};
4561
+ }
4562
+
4563
+ if (typeof optionsOrCallback === 'function') {
4564
+ callback = optionsOrCallback;
4565
+ options = {};
4566
+ }
4567
+
4568
+ const rootUrl =
4569
+ options.rootUrl || 'https://chromemanagement.googleapis.com/';
4570
+ const parameters = {
4571
+ options: Object.assign(
4572
+ {
4573
+ url: (rootUrl + '/v1/{+parent}/commands').replace(
4574
+ /([^:]\/)\/+/g,
4575
+ '$1'
4576
+ ),
4577
+ method: 'POST',
4578
+ apiVersion: '',
4579
+ },
4580
+ options
4581
+ ),
4582
+ params,
4583
+ requiredParams: ['parent'],
4584
+ pathParams: ['parent'],
4585
+ context: this.context,
4586
+ };
4587
+ if (callback) {
4588
+ createAPIRequest<Schema$GoogleChromeManagementVersionsV1ChromeBrowserProfileCommand>(
4589
+ parameters,
4590
+ callback as BodyResponseCallback<unknown>
4591
+ );
4592
+ } else {
4593
+ return createAPIRequest<Schema$GoogleChromeManagementVersionsV1ChromeBrowserProfileCommand>(
4594
+ parameters
4595
+ );
4596
+ }
4597
+ }
4598
+
4599
+ /**
4600
+ * Gets a Chrome browser profile remote command.
4601
+ * @example
4602
+ * ```js
4603
+ * // Before running the sample:
4604
+ * // - Enable the API at:
4605
+ * // https://console.developers.google.com/apis/api/chromemanagement.googleapis.com
4606
+ * // - Login into gcloud by running:
4607
+ * // ```sh
4608
+ * // $ gcloud auth application-default login
4609
+ * // ```
4610
+ * // - Install the npm module by running:
4611
+ * // ```sh
4612
+ * // $ npm install googleapis
4613
+ * // ```
4614
+ *
4615
+ * const {google} = require('googleapis');
4616
+ * const chromemanagement = google.chromemanagement('v1');
4617
+ *
4618
+ * async function main() {
4619
+ * const auth = new google.auth.GoogleAuth({
4620
+ * // Scopes can be specified either as an array or as a single, space-delimited string.
4621
+ * scopes: [
4622
+ * 'https://www.googleapis.com/auth/chrome.management.profiles',
4623
+ * 'https://www.googleapis.com/auth/chrome.management.profiles.readonly',
4624
+ * ],
4625
+ * });
4626
+ *
4627
+ * // Acquire an auth client, and bind it to all future calls
4628
+ * const authClient = await auth.getClient();
4629
+ * google.options({auth: authClient});
4630
+ *
4631
+ * // Do the magic
4632
+ * const res = await chromemanagement.customers.profiles.commands.get({
4633
+ * // Required. Format: customers/{customer_id\}/profiles/{profile_permanent_id\}/commands/{command_id\}
4634
+ * name: 'customers/my-customer/profiles/my-profile/commands/my-command',
4635
+ * });
4636
+ * console.log(res.data);
4637
+ *
4638
+ * // Example response
4639
+ * // {
4640
+ * // "commandResult": {},
4641
+ * // "commandState": "my_commandState",
4642
+ * // "commandType": "my_commandType",
4643
+ * // "issueTime": "my_issueTime",
4644
+ * // "name": "my_name",
4645
+ * // "payload": {},
4646
+ * // "validDuration": "my_validDuration"
4647
+ * // }
4648
+ * }
4649
+ *
4650
+ * main().catch(e => {
4651
+ * console.error(e);
4652
+ * throw e;
4653
+ * });
4654
+ *
4655
+ * ```
4656
+ *
4657
+ * @param params - Parameters for request
4658
+ * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
4659
+ * @param callback - Optional callback that handles the response.
4660
+ * @returns A promise if used with async/await, or void if used with a callback.
4661
+ */
4662
+ get(
4663
+ params: Params$Resource$Customers$Profiles$Commands$Get,
4664
+ options: StreamMethodOptions
4665
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
4666
+ get(
4667
+ params?: Params$Resource$Customers$Profiles$Commands$Get,
4668
+ options?: MethodOptions
4669
+ ): Promise<
4670
+ GaxiosResponseWithHTTP2<Schema$GoogleChromeManagementVersionsV1ChromeBrowserProfileCommand>
4671
+ >;
4672
+ get(
4673
+ params: Params$Resource$Customers$Profiles$Commands$Get,
4674
+ options: StreamMethodOptions | BodyResponseCallback<Readable>,
4675
+ callback: BodyResponseCallback<Readable>
4676
+ ): void;
4677
+ get(
4678
+ params: Params$Resource$Customers$Profiles$Commands$Get,
4679
+ options:
4680
+ | MethodOptions
4681
+ | BodyResponseCallback<Schema$GoogleChromeManagementVersionsV1ChromeBrowserProfileCommand>,
4682
+ callback: BodyResponseCallback<Schema$GoogleChromeManagementVersionsV1ChromeBrowserProfileCommand>
4683
+ ): void;
4684
+ get(
4685
+ params: Params$Resource$Customers$Profiles$Commands$Get,
4686
+ callback: BodyResponseCallback<Schema$GoogleChromeManagementVersionsV1ChromeBrowserProfileCommand>
4687
+ ): void;
4688
+ get(
4689
+ callback: BodyResponseCallback<Schema$GoogleChromeManagementVersionsV1ChromeBrowserProfileCommand>
4690
+ ): void;
4691
+ get(
4692
+ paramsOrCallback?:
4693
+ | Params$Resource$Customers$Profiles$Commands$Get
4694
+ | BodyResponseCallback<Schema$GoogleChromeManagementVersionsV1ChromeBrowserProfileCommand>
4695
+ | BodyResponseCallback<Readable>,
4696
+ optionsOrCallback?:
4697
+ | MethodOptions
4698
+ | StreamMethodOptions
4699
+ | BodyResponseCallback<Schema$GoogleChromeManagementVersionsV1ChromeBrowserProfileCommand>
4700
+ | BodyResponseCallback<Readable>,
4701
+ callback?:
4702
+ | BodyResponseCallback<Schema$GoogleChromeManagementVersionsV1ChromeBrowserProfileCommand>
4703
+ | BodyResponseCallback<Readable>
4704
+ ):
4705
+ | void
4706
+ | Promise<
4707
+ GaxiosResponseWithHTTP2<Schema$GoogleChromeManagementVersionsV1ChromeBrowserProfileCommand>
4708
+ >
4709
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
4710
+ let params = (paramsOrCallback ||
4711
+ {}) as Params$Resource$Customers$Profiles$Commands$Get;
4712
+ let options = (optionsOrCallback || {}) as MethodOptions;
4713
+
4714
+ if (typeof paramsOrCallback === 'function') {
4715
+ callback = paramsOrCallback;
4716
+ params = {} as Params$Resource$Customers$Profiles$Commands$Get;
4717
+ options = {};
4718
+ }
4719
+
4720
+ if (typeof optionsOrCallback === 'function') {
4721
+ callback = optionsOrCallback;
4722
+ options = {};
4723
+ }
4724
+
4725
+ const rootUrl =
4726
+ options.rootUrl || 'https://chromemanagement.googleapis.com/';
4727
+ const parameters = {
4728
+ options: Object.assign(
4729
+ {
4730
+ url: (rootUrl + '/v1/{+name}').replace(/([^:]\/)\/+/g, '$1'),
4731
+ method: 'GET',
4732
+ apiVersion: '',
4733
+ },
4734
+ options
4735
+ ),
4736
+ params,
4737
+ requiredParams: ['name'],
4738
+ pathParams: ['name'],
4739
+ context: this.context,
4740
+ };
4741
+ if (callback) {
4742
+ createAPIRequest<Schema$GoogleChromeManagementVersionsV1ChromeBrowserProfileCommand>(
4743
+ parameters,
4744
+ callback as BodyResponseCallback<unknown>
4745
+ );
4746
+ } else {
4747
+ return createAPIRequest<Schema$GoogleChromeManagementVersionsV1ChromeBrowserProfileCommand>(
4748
+ parameters
4749
+ );
4750
+ }
4751
+ }
4752
+
4753
+ /**
4754
+ * Lists remote commands of a Chrome browser profile.
4755
+ * @example
4756
+ * ```js
4757
+ * // Before running the sample:
4758
+ * // - Enable the API at:
4759
+ * // https://console.developers.google.com/apis/api/chromemanagement.googleapis.com
4760
+ * // - Login into gcloud by running:
4761
+ * // ```sh
4762
+ * // $ gcloud auth application-default login
4763
+ * // ```
4764
+ * // - Install the npm module by running:
4765
+ * // ```sh
4766
+ * // $ npm install googleapis
4767
+ * // ```
4768
+ *
4769
+ * const {google} = require('googleapis');
4770
+ * const chromemanagement = google.chromemanagement('v1');
4771
+ *
4772
+ * async function main() {
4773
+ * const auth = new google.auth.GoogleAuth({
4774
+ * // Scopes can be specified either as an array or as a single, space-delimited string.
4775
+ * scopes: [
4776
+ * 'https://www.googleapis.com/auth/chrome.management.profiles',
4777
+ * 'https://www.googleapis.com/auth/chrome.management.profiles.readonly',
4778
+ * ],
4779
+ * });
4780
+ *
4781
+ * // Acquire an auth client, and bind it to all future calls
4782
+ * const authClient = await auth.getClient();
4783
+ * google.options({auth: authClient});
4784
+ *
4785
+ * // Do the magic
4786
+ * const res = await chromemanagement.customers.profiles.commands.list({
4787
+ * // Optional. The maximum number of commands to return. The default page size is 100 if page_size is unspecified, and the maximum page size allowed is 100.
4788
+ * pageSize: 'placeholder-value',
4789
+ * // Optional. The page token used to retrieve a specific page of the listing request.
4790
+ * pageToken: 'placeholder-value',
4791
+ * // Required. Format: customers/{customer_id\}/profiles/{profile_permanent_id\}
4792
+ * parent: 'customers/my-customer/profiles/my-profile',
4793
+ * });
4794
+ * console.log(res.data);
4795
+ *
4796
+ * // Example response
4797
+ * // {
4798
+ * // "chromeBrowserProfileCommands": [],
4799
+ * // "nextPageToken": "my_nextPageToken",
4800
+ * // "totalSize": "my_totalSize"
4801
+ * // }
4802
+ * }
4803
+ *
4804
+ * main().catch(e => {
4805
+ * console.error(e);
4806
+ * throw e;
4807
+ * });
4808
+ *
4809
+ * ```
4810
+ *
4811
+ * @param params - Parameters for request
4812
+ * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
4813
+ * @param callback - Optional callback that handles the response.
4814
+ * @returns A promise if used with async/await, or void if used with a callback.
4815
+ */
4816
+ list(
4817
+ params: Params$Resource$Customers$Profiles$Commands$List,
4818
+ options: StreamMethodOptions
4819
+ ): Promise<GaxiosResponseWithHTTP2<Readable>>;
4820
+ list(
4821
+ params?: Params$Resource$Customers$Profiles$Commands$List,
4822
+ options?: MethodOptions
4823
+ ): Promise<
4824
+ GaxiosResponseWithHTTP2<Schema$GoogleChromeManagementVersionsV1ListChromeBrowserProfileCommandsResponse>
4825
+ >;
4826
+ list(
4827
+ params: Params$Resource$Customers$Profiles$Commands$List,
4828
+ options: StreamMethodOptions | BodyResponseCallback<Readable>,
4829
+ callback: BodyResponseCallback<Readable>
4830
+ ): void;
4831
+ list(
4832
+ params: Params$Resource$Customers$Profiles$Commands$List,
4833
+ options:
4834
+ | MethodOptions
4835
+ | BodyResponseCallback<Schema$GoogleChromeManagementVersionsV1ListChromeBrowserProfileCommandsResponse>,
4836
+ callback: BodyResponseCallback<Schema$GoogleChromeManagementVersionsV1ListChromeBrowserProfileCommandsResponse>
4837
+ ): void;
4838
+ list(
4839
+ params: Params$Resource$Customers$Profiles$Commands$List,
4840
+ callback: BodyResponseCallback<Schema$GoogleChromeManagementVersionsV1ListChromeBrowserProfileCommandsResponse>
4841
+ ): void;
4842
+ list(
4843
+ callback: BodyResponseCallback<Schema$GoogleChromeManagementVersionsV1ListChromeBrowserProfileCommandsResponse>
4844
+ ): void;
4845
+ list(
4846
+ paramsOrCallback?:
4847
+ | Params$Resource$Customers$Profiles$Commands$List
4848
+ | BodyResponseCallback<Schema$GoogleChromeManagementVersionsV1ListChromeBrowserProfileCommandsResponse>
4849
+ | BodyResponseCallback<Readable>,
4850
+ optionsOrCallback?:
4851
+ | MethodOptions
4852
+ | StreamMethodOptions
4853
+ | BodyResponseCallback<Schema$GoogleChromeManagementVersionsV1ListChromeBrowserProfileCommandsResponse>
4854
+ | BodyResponseCallback<Readable>,
4855
+ callback?:
4856
+ | BodyResponseCallback<Schema$GoogleChromeManagementVersionsV1ListChromeBrowserProfileCommandsResponse>
4857
+ | BodyResponseCallback<Readable>
4858
+ ):
4859
+ | void
4860
+ | Promise<
4861
+ GaxiosResponseWithHTTP2<Schema$GoogleChromeManagementVersionsV1ListChromeBrowserProfileCommandsResponse>
4862
+ >
4863
+ | Promise<GaxiosResponseWithHTTP2<Readable>> {
4864
+ let params = (paramsOrCallback ||
4865
+ {}) as Params$Resource$Customers$Profiles$Commands$List;
4866
+ let options = (optionsOrCallback || {}) as MethodOptions;
4867
+
4868
+ if (typeof paramsOrCallback === 'function') {
4869
+ callback = paramsOrCallback;
4870
+ params = {} as Params$Resource$Customers$Profiles$Commands$List;
4871
+ options = {};
4872
+ }
4873
+
4874
+ if (typeof optionsOrCallback === 'function') {
4875
+ callback = optionsOrCallback;
4876
+ options = {};
4877
+ }
4878
+
4879
+ const rootUrl =
4880
+ options.rootUrl || 'https://chromemanagement.googleapis.com/';
4881
+ const parameters = {
4882
+ options: Object.assign(
4883
+ {
4884
+ url: (rootUrl + '/v1/{+parent}/commands').replace(
4885
+ /([^:]\/)\/+/g,
4886
+ '$1'
4887
+ ),
4888
+ method: 'GET',
4889
+ apiVersion: '',
4890
+ },
4891
+ options
4892
+ ),
4893
+ params,
4894
+ requiredParams: ['parent'],
4895
+ pathParams: ['parent'],
4896
+ context: this.context,
4897
+ };
4898
+ if (callback) {
4899
+ createAPIRequest<Schema$GoogleChromeManagementVersionsV1ListChromeBrowserProfileCommandsResponse>(
4900
+ parameters,
4901
+ callback as BodyResponseCallback<unknown>
4902
+ );
4903
+ } else {
4904
+ return createAPIRequest<Schema$GoogleChromeManagementVersionsV1ListChromeBrowserProfileCommandsResponse>(
4905
+ parameters
4906
+ );
4907
+ }
4908
+ }
4909
+ }
4910
+
4911
+ export interface Params$Resource$Customers$Profiles$Commands$Create
4912
+ extends StandardParameters {
4913
+ /**
4914
+ * Required. Format: customers/{customer_id\}/profiles/{profile_permanent_id\}
4915
+ */
4916
+ parent?: string;
4917
+
4918
+ /**
4919
+ * Request body metadata
4920
+ */
4921
+ requestBody?: Schema$GoogleChromeManagementVersionsV1ChromeBrowserProfileCommand;
4922
+ }
4923
+ export interface Params$Resource$Customers$Profiles$Commands$Get
4924
+ extends StandardParameters {
4925
+ /**
4926
+ * Required. Format: customers/{customer_id\}/profiles/{profile_permanent_id\}/commands/{command_id\}
4927
+ */
4928
+ name?: string;
4929
+ }
4930
+ export interface Params$Resource$Customers$Profiles$Commands$List
4931
+ extends StandardParameters {
4932
+ /**
4933
+ * Optional. The maximum number of commands to return. The default page size is 100 if page_size is unspecified, and the maximum page size allowed is 100.
4934
+ */
4935
+ pageSize?: number;
4936
+ /**
4937
+ * Optional. The page token used to retrieve a specific page of the listing request.
4938
+ */
4939
+ pageToken?: string;
4940
+ /**
4941
+ * Required. Format: customers/{customer_id\}/profiles/{profile_permanent_id\}
4942
+ */
4943
+ parent?: string;
4944
+ }
4945
+
4336
4946
  export class Resource$Customers$Reports {
4337
4947
  context: APIRequestContext;
4338
4948
  constructor(context: APIRequestContext) {
@@ -6790,7 +7400,7 @@ export namespace chromemanagement_v1 {
6790
7400
  * pageToken: 'placeholder-value',
6791
7401
  * // Required. Customer id or "my_customer" to use the customer associated to the account making the request.
6792
7402
  * parent: 'customers/my-customer',
6793
- * // 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 - os_crash_event
7403
+ * // 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 - os_crash_event - external_displays_event
6794
7404
  * readMask: 'placeholder-value',
6795
7405
  * });
6796
7406
  * console.log(res.data);
@@ -6928,7 +7538,7 @@ export namespace chromemanagement_v1 {
6928
7538
  */
6929
7539
  parent?: string;
6930
7540
  /**
6931
- * 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 - os_crash_event
7541
+ * 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 - os_crash_event - external_displays_event
6932
7542
  */
6933
7543
  readMask?: string;
6934
7544
  }