@googleapis/chromemanagement 31.1.0 → 31.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/build/v1.d.ts CHANGED
@@ -2611,6 +2611,56 @@ export declare namespace chromemanagement_v1 {
2611
2611
  */
2612
2612
  publicKey?: string | null;
2613
2613
  }
2614
+ /**
2615
+ * A specific installation of Chrome on a device with managed Chrome browsers.
2616
+ */
2617
+ export interface Schema$GoogleChromeManagementVersionsV1Browser {
2618
+ /**
2619
+ * Output only. Browser version installed.
2620
+ */
2621
+ browserVersion?: string | null;
2622
+ /**
2623
+ * Output only. The channel of the browser installed.
2624
+ */
2625
+ channel?: string | null;
2626
+ /**
2627
+ * Output only. The path to the Chrome.exe executable for this browser.
2628
+ */
2629
+ executablePath?: string | null;
2630
+ /**
2631
+ * Output only. The time when the last request to fetch policies succeeded on this Chrome browser.
2632
+ */
2633
+ lastPolicyFetchTime?: string | null;
2634
+ /**
2635
+ * Output only. The time when the last report was received from this Chrome browser.
2636
+ */
2637
+ lastStatusReportTime?: string | null;
2638
+ /**
2639
+ * Output only. Pending version of a browser is installed. This field is only set when the current active browser has a different version as in "browser_version".
2640
+ */
2641
+ pendingInstallVersion?: string | null;
2642
+ /**
2643
+ * Output only. List of all plugins installed on this Chrome browser.
2644
+ */
2645
+ plugins?: Schema$GoogleChromeManagementVersionsV1Plugin[];
2646
+ /**
2647
+ * Output only. The list of profiles for this browser.
2648
+ */
2649
+ profiles?: Schema$GoogleChromeManagementVersionsV1Profile[];
2650
+ }
2651
+ /**
2652
+ * A Chrome browser user.
2653
+ */
2654
+ export interface Schema$GoogleChromeManagementVersionsV1BrowserUser {
2655
+ /**
2656
+ * Output only. The time when this user info last reported a status.
2657
+ */
2658
+ lastStatusReportTime?: string | null;
2659
+ /**
2660
+ * Output only. The user name of the user that signed into chrome.
2661
+ */
2662
+ userName?: string | null;
2663
+ }
2614
2664
  /**
2615
2665
  * A certificate provisioning process.
2616
2666
  */
@@ -2685,6 +2735,127 @@ export declare namespace chromemanagement_v1 {
2685
2735
  */
2686
2736
  insightsState?: string | null;
2687
2737
  }
2738
+ /**
2739
+ * A device with managed Chrome Browsers.
2740
+ */
2741
+ export interface Schema$GoogleChromeManagementVersionsV1ChromeBrowser {
2742
+ /**
2743
+ * Optional. Asset identifier as annotated by the administrator or specified during enrollment.
2744
+ */
2745
+ annotatedAssetId?: string | null;
2746
+ /**
2747
+ * Optional. Address or location of the device as annotated by the administrator.
2748
+ */
2749
+ annotatedLocation?: string | null;
2750
+ /**
2751
+ * Optional. Notes about this device as annotated by the administrator.
2752
+ */
2753
+ annotatedNotes?: string | null;
2754
+ /**
2755
+ * Optional. User of the device as annotated by the administrator.
2756
+ */
2757
+ annotatedUser?: string | null;
2758
+ /**
2759
+ * Output only. The attestation credential used for Device Trust Connector.
2760
+ */
2761
+ attestationCredential?: Schema$GoogleChromeManagementVersionsV1AttestationCredential;
2762
+ /**
2763
+ * Output only. Unique identifier of Chrome Browser.
2764
+ */
2765
+ browserPermanentId?: string | null;
2766
+ /**
2767
+ * Output only. List of Chrome browsers installed on this device.
2768
+ */
2769
+ browsers?: Schema$GoogleChromeManagementVersionsV1Browser[];
2770
+ /**
2771
+ * Output only. List of all browser versions installed on this device.
2772
+ */
2773
+ browserVersions?: string[] | null;
2774
+ /**
2775
+ * Output only. The history of identifiers reported to this device.
2776
+ */
2777
+ deviceIdentifiersHistory?: Schema$GoogleChromeManagementVersionsV1DeviceIdentifiersHistory;
2778
+ /**
2779
+ * Output only. The number of distinct extensions installed on all the Chrome browsers of this device.
2780
+ */
2781
+ extensionCount?: string | null;
2782
+ /**
2783
+ * Output only. The time of the last activity on the device device either from reporting, policy fetching or registration.
2784
+ */
2785
+ lastActivityTime?: string | null;
2786
+ /**
2787
+ * Output only. The last user who logged into a Chrome browser on this device.
2788
+ */
2789
+ lastDeviceUser?: string | null;
2790
+ /**
2791
+ * Output only. List of recent browser users, in descending order by last report time.
2792
+ */
2793
+ lastDeviceUsers?: Schema$GoogleChromeManagementVersionsV1BrowserUser[];
2794
+ /**
2795
+ * Output only. The time the last policy fetch succeeded on this device.
2796
+ */
2797
+ lastPolicyFetchTime?: string | null;
2798
+ /**
2799
+ * Output only. The time the device last tried to register.
2800
+ */
2801
+ lastRegistrationTime?: string | null;
2802
+ /**
2803
+ * Output only. The time the device last sent a status report.
2804
+ */
2805
+ lastStatusReportTime?: string | null;
2806
+ /**
2807
+ * Output only. The list of all device level policies set for extensions installed in Chrome on this device.
2808
+ */
2809
+ machineExtensionPolicies?: Schema$GoogleChromeManagementVersionsV1ExtensionPolicy[];
2810
+ /**
2811
+ * Output only. Machine name.
2812
+ */
2813
+ machineName?: string | null;
2814
+ /**
2815
+ * Output only. The list of all device level policies set for Chrome browsers on this device.
2816
+ */
2817
+ machinePolicies?: Schema$GoogleChromeManagementVersionsV1Policy[];
2818
+ /**
2819
+ * Identifier. Format: customers/{customer_id\}/chromeBrowsers/{browser_permanent_id\}
2820
+ */
2821
+ name?: string | null;
2822
+ /**
2823
+ * Output only. Recent policy fetch activity by Omaha. Not necessarily the last fetch since this field is only updated daily.
2824
+ */
2825
+ omahaRecentFetchTime?: string | null;
2826
+ /**
2827
+ * Output only. The obfuscated organizational unit ID of the browser.
2828
+ */
2829
+ orgUnitId?: string | null;
2830
+ /**
2831
+ * Output only. Device CPU architecture.
2832
+ */
2833
+ osArchitecture?: string | null;
2834
+ /**
2835
+ * Output only. Device Os platform.
2836
+ */
2837
+ osPlatform?: string | null;
2838
+ /**
2839
+ * Output only. Device Os platform and version combined.
2840
+ */
2841
+ osPlatformVersion?: string | null;
2842
+ /**
2843
+ * Output only. Device Os Version.
2844
+ */
2845
+ osVersion?: string | null;
2846
+ /**
2847
+ * Output only. The number of distinct policies set on all the Chrome browsers of this device.
2848
+ */
2849
+ policyCount?: string | null;
2850
+ /**
2851
+ * Output only. The device's serial number.
2852
+ */
2853
+ serialNumber?: string | null;
2854
+ /**
2855
+ * Output only. The initial device id sent by the first Chrome browser that enrolled this device.
2856
+ */
2857
+ virtualDeviceId?: string | null;
2858
+ }
2688
2859
  /**
2689
2860
  * A representation of a Chrome browser profile.
2690
2861
  */
@@ -2903,7 +3074,7 @@ export declare namespace chromemanagement_v1 {
2903
3074
  */
2904
3075
  details?: Schema$GoogleChromeManagementVersionsV1ConnectorConfigDetails;
2905
3076
  /**
2906
- * Required. The display name of the config.
3077
+ * Required. The display name of the config. Must be at most 100 characters.
2907
3078
  */
2908
3079
  displayName?: string | null;
2909
3080
  /**
@@ -3024,11 +3195,11 @@ export declare namespace chromemanagement_v1 {
3024
3195
  */
3025
3196
  export interface Schema$GoogleChromeManagementVersionsV1CrowdStrikeConfig {
3026
3197
  /**
3027
- * Required. Input only. API key to use on the ingestion API.
3198
+ * Required. Input only. API key to use on the ingestion API. Must be at most 50 characters.
3028
3199
  */
3029
3200
  apiKey?: string | null;
3030
3201
  /**
3031
- * Required. Host to identify the customer specific server to receive the events.
3202
+ * Required. Host to identify the customer specific server to receive the events. Must be at most 256 characters.
3032
3203
  */
3033
3204
  host?: string | null;
3034
3205
  /**
@@ -3041,11 +3212,11 @@ export declare namespace chromemanagement_v1 {
3041
3212
  */
3042
3213
  export interface Schema$GoogleChromeManagementVersionsV1CrowdStrikeFalconNextGenConfig {
3043
3214
  /**
3044
- * Required. Input only. API key to use on the ingestion API.
3215
+ * Required. Input only. API key to use on the ingestion API. Must be at most 50 characters.
3045
3216
  */
3046
3217
  apiKey?: string | null;
3047
3218
  /**
3048
- * Required. Host to identify the customer specific server to receive the events.
3219
+ * Required. Host to identify the customer specific server to receive the events. Must be at most 256 characters.
3049
3220
  */
3050
3221
  host?: string | null;
3051
3222
  /**
@@ -3058,11 +3229,11 @@ export declare namespace chromemanagement_v1 {
3058
3229
  */
3059
3230
  export interface Schema$GoogleChromeManagementVersionsV1CrowdStrikeXdrConfig {
3060
3231
  /**
3061
- * Required. Input only. API key to use on the ingestion API.
3232
+ * Required. Input only. API key to use on the ingestion API. Must be at most 256 characters.
3062
3233
  */
3063
3234
  apiKey?: string | null;
3064
3235
  /**
3065
- * Required. Host to identify the customer specific server to receive the events.
3236
+ * Required. Host to identify the customer specific server to receive the events. Must be at most 256 characters.
3066
3237
  */
3067
3238
  host?: string | null;
3068
3239
  /**
@@ -3070,6 +3241,57 @@ export declare namespace chromemanagement_v1 {
3070
3241
  */
3071
3242
  xdrSettings?: Schema$GoogleChromeManagementVersionsV1XdrSettings;
3072
3243
  }
3244
+ /**
3245
+ * Collection of device identifiers.
3246
+ */
3247
+ export interface Schema$GoogleChromeManagementVersionsV1DeviceIdentifiers {
3248
+ /**
3249
+ * Output only. The device's host name.
3250
+ */
3251
+ hostName?: string | null;
3252
+ /**
3253
+ * Output only. The name of the machine associated with the device.
3254
+ */
3255
+ machineName?: string | null;
3256
+ /**
3257
+ * Output only. The device's serial number.
3258
+ */
3259
+ serialNumber?: string | null;
3260
+ }
3261
+ /**
3262
+ * History of device identifiers reported from a device.
3263
+ */
3264
+ export interface Schema$GoogleChromeManagementVersionsV1DeviceIdentifiersHistory {
3265
+ /**
3266
+ * Output only. The device id is potentially being used by multiple devices.
3267
+ */
3268
+ deviceIdCollision?: boolean | null;
3269
+ /**
3270
+ * Output only. The last time we detected the device id collision.
3271
+ */
3272
+ lastDeviceIdCollisionDetectionTime?: string | null;
3273
+ /**
3274
+ * Output only. List of device identifiers sent by this device. In descending order by last_activity_time.
3275
+ */
3276
+ records?: Schema$GoogleChromeManagementVersionsV1DeviceIdentifiersRecord[];
3277
+ }
3278
+ /**
3279
+ * Record of the device identifiers and when they were reported.
3280
+ */
3281
+ export interface Schema$GoogleChromeManagementVersionsV1DeviceIdentifiersRecord {
3282
+ /**
3283
+ * Output only. The first time these identifiers were reported.
3284
+ */
3285
+ firstRecordTime?: string | null;
3286
+ /**
3287
+ * Output only. Device identifiers.
3288
+ */
3289
+ identifiers?: Schema$GoogleChromeManagementVersionsV1DeviceIdentifiers;
3290
+ /**
3291
+ * Output only. The time of the last activity of these identifiers either from reporting, policy fetching or registration.
3292
+ */
3293
+ lastActivityTime?: string | null;
3294
+ }
3073
3295
  /**
3074
3296
  * Information of a device that runs a Chrome browser profile.
3075
3297
  */
@@ -3144,6 +3366,138 @@ export declare namespace chromemanagement_v1 {
3144
3366
  */
3145
3367
  insightsState?: string | null;
3146
3368
  }
3369
+ /**
3370
+ * Enrollment token for a chrome device.
3371
+ */
3372
+ export interface Schema$GoogleChromeManagementVersionsV1EnrollmentToken {
3373
+ /**
3374
+ * Output only. The creation time of the token.
3375
+ */
3376
+ createTime?: string | null;
3377
+ /**
3378
+ * Output only. The id of the user who created the token.
3379
+ */
3380
+ creatorId?: string | null;
3381
+ /**
3382
+ * Output only. The obfuscated ID of the customer to whom this token is associated.
3383
+ */
3384
+ customerId?: string | null;
3385
+ /**
3386
+ * Identifier. The resource name of the enrollment token. Format: customers/{customer\}/enrollmentTokens/{token_permanent_id\}
3387
+ */
3388
+ name?: string | null;
3389
+ /**
3390
+ * Optional. Obfuscated ID of the organization unit this token is associated with. If not set, the token is created for the root organization unit.
3391
+ */
3392
+ orgUnitId?: string | null;
3393
+ /**
3394
+ * Output only. The id of the user who revoked the token, null if the token is not revoked.
3395
+ */
3396
+ revokerId?: string | null;
3397
+ /**
3398
+ * Output only. The revocation time of the token, null if the token is not revoked.
3399
+ */
3400
+ revokeTime?: string | null;
3401
+ /**
3402
+ * Output only. The state of the token.
3403
+ */
3404
+ state?: string | null;
3405
+ /**
3406
+ * Output only. The value of the token stored on the device and used to identify it to the management service handling the enrollment request.
3407
+ */
3408
+ token?: string | null;
3409
+ /**
3410
+ * Output only. Unique identifier of the enrollment token used to access information on tokens.
3411
+ */
3412
+ tokenPermanentId?: string | null;
3413
+ /**
3414
+ * Optional. The device type this token is used for. If not set, defaults to `ENROLLMENT_TOKEN_TYPE_CHROME_BROWSER`.
3415
+ */
3416
+ tokenType?: string | null;
3417
+ }
3418
+ /**
3419
+ * Information about extensions installed on profile reported on an installed Chrome on a device with managed chrome browsers.
3420
+ */
3421
+ export interface Schema$GoogleChromeManagementVersionsV1Extension {
3422
+ /**
3423
+ * Output only. The type of the extension.
3424
+ */
3425
+ appType?: string | null;
3426
+ /**
3427
+ * Output only. If the extension is controlled by a browser policy.
3428
+ */
3429
+ configuredAppPolicy?: string | null;
3430
+ /**
3431
+ * Output only. The localized description of this extension.
3432
+ */
3433
+ description?: string | null;
3434
+ /**
3435
+ * Output only. Whether the extension is disabled.
3436
+ */
3437
+ disabled?: boolean | null;
3438
+ /**
3439
+ * Output only. The id of the extension.
3440
+ */
3441
+ extensionId?: string | null;
3442
+ /**
3443
+ * Output only. The localized name of this extension as reported by Chrome.
3444
+ */
3445
+ extensionName?: string | null;
3446
+ /**
3447
+ * Output only. The URL of the homepage for this extension.
3448
+ */
3449
+ homepageUri?: string | null;
3450
+ /**
3451
+ * Output only. The list of icons available for this extension.
3452
+ */
3453
+ icons?: Schema$GoogleChromeManagementVersionsV1ExtensionIcon[];
3454
+ /**
3455
+ * Output only. The way the extension was installed.
3456
+ */
3457
+ installType?: string | null;
3458
+ /**
3459
+ * Output only. The manifest version of this extension.
3460
+ */
3461
+ manifestVersion?: number | null;
3462
+ /**
3463
+ * Output only. The list of permissions required for this extension.
3464
+ */
3465
+ permissions?: string[] | null;
3466
+ /**
3467
+ * Output only. The version of the extension.
3468
+ */
3469
+ version?: string | null;
3470
+ }
3471
+ /**
3472
+ * An icon of a Chrome browser extension.
3473
+ */
3474
+ export interface Schema$GoogleChromeManagementVersionsV1ExtensionIcon {
3475
+ /**
3476
+ * Output only. The size of the extension icon.
3477
+ */
3478
+ size?: number | null;
3479
+ /**
3480
+ * Output only. The URL to the extension icon.
3481
+ */
3482
+ uri?: string | null;
3483
+ }
3484
+ /**
3485
+ * The reported policies applied to an extension installed on a Chrome profile.
3486
+ */
3487
+ export interface Schema$GoogleChromeManagementVersionsV1ExtensionPolicy {
3488
+ /**
3489
+ * Output only. The id of the extension the policies are applied to.
3490
+ */
3491
+ extensionId?: string | null;
3492
+ /**
3493
+ * Output only. The name of the extension the policies are applied to.
3494
+ */
3495
+ extensionName?: string | null;
3496
+ /**
3497
+ * Output only. List of policies applied to this extension.
3498
+ */
3499
+ policies?: Schema$GoogleChromeManagementVersionsV1Policy[];
3500
+ }
3147
3501
  /**
3148
3502
  * Describes a generic Certificate Authority Connection.
3149
3503
  */
@@ -3167,11 +3521,11 @@ export declare namespace chromemanagement_v1 {
3167
3521
  */
3168
3522
  export interface Schema$GoogleChromeManagementVersionsV1GoogleSecOpsConfig {
3169
3523
  /**
3170
- * Required. Input only. API key to use on the ingestion API.
3524
+ * Required. Input only. API key to use on the ingestion API. Must be 39 characters.
3171
3525
  */
3172
3526
  apiKey?: string | null;
3173
3527
  /**
3174
- * Required. Host of ingestion API endpoint. Allows customer to upload events to servers in specific geographical regions. Existing configs that don't have this setting default to US.
3528
+ * Required. Host of ingestion API endpoint. Allows customer to upload events to servers in specific geographical regions. Existing configs that don't have this setting default to US. Must be at most 256 characters.
3175
3529
  */
3176
3530
  host?: string | null;
3177
3531
  /**
@@ -3213,6 +3567,19 @@ export declare namespace chromemanagement_v1 {
3213
3567
  */
3214
3568
  totalSize?: string | null;
3215
3569
  }
3570
+ /**
3571
+ * Response to ListChromeBrowsers method.
3572
+ */
3573
+ export interface Schema$GoogleChromeManagementVersionsV1ListChromeBrowsersResponse {
3574
+ /**
3575
+ * List of Chrome Browser device objects.
3576
+ */
3577
+ chromeBrowsers?: Schema$GoogleChromeManagementVersionsV1ChromeBrowser[];
3578
+ /**
3579
+ * Token used to access next page of this result.
3580
+ */
3581
+ nextPageToken?: string | null;
3582
+ }
3216
3583
  /**
3217
3584
  * Response to ListConnectorConfigs method.
3218
3585
  */
@@ -3226,6 +3593,19 @@ export declare namespace chromemanagement_v1 {
3226
3593
  */
3227
3594
  nextPageToken?: string | null;
3228
3595
  }
3596
+ /**
3597
+ * Response that contains a list of tokens.
3598
+ */
3599
+ export interface Schema$GoogleChromeManagementVersionsV1ListEnrollmentTokensResponse {
3600
+ /**
3601
+ * List of Chrome device enrollment tokens.
3602
+ */
3603
+ enrollmentTokens?: Schema$GoogleChromeManagementVersionsV1EnrollmentToken[];
3604
+ /**
3605
+ * Token to retrieve the next page of results, or empty if there are no more results in the list.
3606
+ */
3607
+ nextPageToken?: string | null;
3608
+ }
3229
3609
  /**
3230
3610
  * MIP label connector config.
3231
3611
  */
@@ -3239,6 +3619,24 @@ export declare namespace chromemanagement_v1 {
3239
3619
  */
3240
3620
  microsoftTenantId?: string | null;
3241
3621
  }
3622
+ /**
3623
+ * Request to MoveChromeBrowsers method.
3624
+ */
3625
+ export interface Schema$GoogleChromeManagementVersionsV1MoveChromeBrowsersRequest {
3626
+ /**
3627
+ * Required. ID of the destination organizational unit.
3628
+ */
3629
+ destinationOrgUnitId?: string | null;
3630
+ /**
3631
+ * Required. List of resource IDs of Chrome Browser Devices to move. A maximum of 600 browsers may be moved per request.
3632
+ */
3633
+ resourceIds?: string[] | null;
3634
+ }
3635
+ /**
3636
+ * Response to MoveChromeBrowsers method.
3637
+ */
3638
+ export interface Schema$GoogleChromeManagementVersionsV1MoveChromeBrowsersResponse {
3639
+ }
3242
3640
  /**
3243
3641
  * Request to MoveThirdPartyProfileUser method.
3244
3642
  */
@@ -3262,11 +3660,11 @@ export declare namespace chromemanagement_v1 {
3262
3660
  */
3263
3661
  export interface Schema$GoogleChromeManagementVersionsV1PaloAltoNetworksConfig {
3264
3662
  /**
3265
- * Required. Input only. API key to use on the ingestion API.
3663
+ * Required. Input only. API key to use on the ingestion API. Must be at most 256 characters.
3266
3664
  */
3267
3665
  apiKey?: string | null;
3268
3666
  /**
3269
- * Required. Host to identify the customer specific server to receive the events.
3667
+ * Required. Host to identify the customer specific server to receive the events. Must be at most 256 characters.
3270
3668
  */
3271
3669
  host?: string | null;
3272
3670
  /**
@@ -3275,26 +3673,113 @@ export declare namespace chromemanagement_v1 {
3275
3673
  reportingSettings?: Schema$GoogleChromeManagementVersionsV1ReportingSettings;
3276
3674
  }
3277
3675
  /**
3278
- * Pub/Sub connector config.
3676
+ * Information about a Chrome browser plugin installed on a reported Chrome installation on a device with managed Chrome browsers.
3279
3677
  */
3280
- export interface Schema$GoogleChromeManagementVersionsV1PubSubConfig {
3678
+ export interface Schema$GoogleChromeManagementVersionsV1Plugin {
3281
3679
  /**
3282
- * Required. The reporting settings for the Pub/Sub config.
3680
+ * Output only. The description of the installed plugin.
3283
3681
  */
3284
- reportingSettings?: Schema$GoogleChromeManagementVersionsV1ReportingSettings;
3682
+ description?: string | null;
3285
3683
  /**
3286
- * Required. The full path to the topic to send the event to.
3684
+ * Output only. The filename of the installed plugin.
3287
3685
  */
3288
- topicFullPath?: string | null;
3686
+ filename?: string | null;
3687
+ /**
3688
+ * Output only. The name of the installed plugin.
3689
+ */
3690
+ pluginName?: string | null;
3289
3691
  }
3290
3692
  /**
3291
- * Pub/Sub XDR connector config.
3693
+ * The applied policy reported by a managed Chrome browser. The policy can be applied at various scopes (machine, profile, extension).
3292
3694
  */
3293
- export interface Schema$GoogleChromeManagementVersionsV1PubSubXdrConfig {
3695
+ export interface Schema$GoogleChromeManagementVersionsV1Policy {
3294
3696
  /**
3295
- * Required. The full path to the topic to send the event to.
3697
+ * Output only. A localized string with all the errors reported when trying to apply this policy, if any.
3296
3698
  */
3297
- topicFullPath?: string | null;
3699
+ error?: string | null;
3700
+ /**
3701
+ * Output only. The name of the policy.
3702
+ */
3703
+ policyName?: string | null;
3704
+ /**
3705
+ * Output only. The source of the policy.
3706
+ */
3707
+ source?: string | null;
3708
+ /**
3709
+ * Output only. The value of the policy.
3710
+ */
3711
+ value?: string | null;
3712
+ }
3713
+ /**
3714
+ * A profile reported on an installation of Chrome on a device with managed chrome browsers.
3715
+ */
3716
+ export interface Schema$GoogleChromeManagementVersionsV1Profile {
3717
+ /**
3718
+ * Output only. The email of the user signed in to this profile, if any.
3719
+ */
3720
+ chromeSignedInUserEmail?: string | null;
3721
+ /**
3722
+ * Output only. The list of extensions with applied extension policies.
3723
+ */
3724
+ extensionPolicies?: Schema$GoogleChromeManagementVersionsV1ExtensionPolicy[];
3725
+ /**
3726
+ * Output only. The list of extensions installed for this profile.
3727
+ */
3728
+ extensions?: Schema$GoogleChromeManagementVersionsV1Extension[];
3729
+ /**
3730
+ * Output only. A unique ID for this profile.
3731
+ */
3732
+ id?: string | null;
3733
+ /**
3734
+ * Output only. The time when the last request to fetch policies succeeded for this profile.
3735
+ */
3736
+ lastPolicyFetchTime?: string | null;
3737
+ /**
3738
+ * Output only. The time when the last report was received from this profile.
3739
+ */
3740
+ lastStatusReportTime?: string | null;
3741
+ /**
3742
+ * Output only. The name given to this profile.
3743
+ */
3744
+ profileName?: string | null;
3745
+ /**
3746
+ * Output only. The number of safe browsing warnings that were shown on this profile.
3747
+ */
3748
+ safeBrowsingWarnings?: string | null;
3749
+ /**
3750
+ * Output only. The number of safe browsing warnings that were clicked through on this profile.
3751
+ */
3752
+ safeBrowsingWarningsClickThroughs?: string | null;
3753
+ /**
3754
+ * Output only. The last time the safe browsing warning info was reset to 0.
3755
+ */
3756
+ safeBrowsingWarningsResetTime?: string | null;
3757
+ /**
3758
+ * Output only. The list of Chrome browser policies applied to this profile.
3759
+ */
3760
+ userPolicies?: Schema$GoogleChromeManagementVersionsV1Policy[];
3761
+ }
3762
+ /**
3763
+ * Pub/Sub connector config.
3764
+ */
3765
+ export interface Schema$GoogleChromeManagementVersionsV1PubSubConfig {
3766
+ /**
3767
+ * Required. The reporting settings for the Pub/Sub config.
3768
+ */
3769
+ reportingSettings?: Schema$GoogleChromeManagementVersionsV1ReportingSettings;
3770
+ /**
3771
+ * Required. The full path to the topic to send the event to. Must be at most 1000 characters.
3772
+ */
3773
+ topicFullPath?: string | null;
3774
+ }
3775
+ /**
3776
+ * Pub/Sub XDR connector config.
3777
+ */
3778
+ export interface Schema$GoogleChromeManagementVersionsV1PubSubXdrConfig {
3779
+ /**
3780
+ * Required. The full path to the topic to send the event to. Must be at most 1000 characters.
3781
+ */
3782
+ topicFullPath?: string | null;
3298
3783
  /**
3299
3784
  * Required. The XDR settings for the Pub/Sub XDR config.
3300
3785
  */
@@ -3490,6 +3975,11 @@ export declare namespace chromemanagement_v1 {
3490
3975
  */
3491
3976
  enabledOptInEvents?: string[] | null;
3492
3977
  }
3978
+ /**
3979
+ * Request to revoke a token.
3980
+ */
3981
+ export interface Schema$GoogleChromeManagementVersionsV1RevokeEnrollmentTokenRequest {
3982
+ }
3493
3983
  /**
3494
3984
  * Describes a SCEP Certificate Authority Connection.
3495
3985
  */
@@ -3549,7 +4039,7 @@ export declare namespace chromemanagement_v1 {
3549
4039
  */
3550
4040
  enabledPlatforms?: string[] | null;
3551
4041
  /**
3552
- * Required. The resource ID of the secure gateway connector config.
4042
+ * Required. The resource ID of the secure gateway connector config. Must be at most 256 characters.
3553
4043
  */
3554
4044
  resourceId?: string | null;
3555
4045
  }
@@ -3603,11 +4093,11 @@ export declare namespace chromemanagement_v1 {
3603
4093
  */
3604
4094
  export interface Schema$GoogleChromeManagementVersionsV1SplunkConfig {
3605
4095
  /**
3606
- * Required. Input only. The data input's HTTP Event Collector token to use as an Authorization header.
4096
+ * Required. Input only. The data input's HTTP Event Collector token to use as an Authorization header. Must be at most 50 characters.
3607
4097
  */
3608
4098
  hecToken?: string | null;
3609
4099
  /**
3610
- * Required. Host to identify the customer specific server to receive the events.
4100
+ * Required. Host to identify the customer specific server to receive the events. Must be at most 256 characters.
3611
4101
  */
3612
4102
  host?: string | null;
3613
4103
  /**
@@ -3619,7 +4109,7 @@ export declare namespace chromemanagement_v1 {
3619
4109
  */
3620
4110
  reportingSettings?: Schema$GoogleChromeManagementVersionsV1ReportingSettings;
3621
4111
  /**
3622
- * Optional. Optional source name to override the default one set in the Splunk admin console.
4112
+ * Optional. Optional source name to override the default one set in the Splunk admin console. Must be at most 100 characters.
3623
4113
  */
3624
4114
  source?: string | null;
3625
4115
  /**
@@ -3802,7 +4292,9 @@ export declare namespace chromemanagement_v1 {
3802
4292
  context: APIRequestContext;
3803
4293
  apps: Resource$Customers$Apps;
3804
4294
  certificateProvisioningProcesses: Resource$Customers$Certificateprovisioningprocesses;
4295
+ chromeBrowsers: Resource$Customers$Chromebrowsers;
3805
4296
  connectorConfigs: Resource$Customers$Connectorconfigs;
4297
+ enrollmentTokens: Resource$Customers$Enrollmenttokens;
3806
4298
  enterprise: Resource$Customers$Enterprise;
3807
4299
  profiles: Resource$Customers$Profiles;
3808
4300
  reports: Resource$Customers$Reports;
@@ -4856,11 +5348,11 @@ export declare namespace chromemanagement_v1 {
4856
5348
  */
4857
5349
  name?: string;
4858
5350
  }
4859
- export class Resource$Customers$Connectorconfigs {
5351
+ export class Resource$Customers$Chromebrowsers {
4860
5352
  context: APIRequestContext;
4861
5353
  constructor(context: APIRequestContext);
4862
5354
  /**
4863
- * Creates a connector config.
5355
+ * Deletes the data collected from a Chrome browser profile.
4864
5356
  * @example
4865
5357
  * ```js
4866
5358
  * // Before running the sample:
@@ -4889,34 +5381,14 @@ export declare namespace chromemanagement_v1 {
4889
5381
  * google.options({auth: authClient});
4890
5382
  *
4891
5383
  * // Do the magic
4892
- * const res = await chromemanagement.customers.connectorConfigs.create({
4893
- * // Optional. ID to use for the connector config, which becomes the final component of the connector config's resource name. If provided, the ID must be 1-36 characters long, and contain only lowercase letters, digits, and hyphens. It must start with a letter, and end with a letter or number. If not provided, the connector config will be assigned a random UUID.
4894
- * connectorConfigId: 'placeholder-value',
4895
- * // Required. Format: customers/{customer\}
4896
- * parent: 'customers/my-customer',
4897
- *
4898
- * // Request body metadata
4899
- * requestBody: {
4900
- * // request body parameters
4901
- * // {
4902
- * // "details": {},
4903
- * // "displayName": "my_displayName",
4904
- * // "name": "my_name",
4905
- * // "status": {},
4906
- * // "type": "my_type"
4907
- * // }
4908
- * },
5384
+ * const res = await chromemanagement.customers.chromeBrowsers.delete({
5385
+ * // Required. Format: customers/{customer_id\}/chromeBrowsers/{browser_permanent_id\}
5386
+ * name: 'customers/my-customer/chromeBrowsers/my-chromeBrowser',
4909
5387
  * });
4910
5388
  * console.log(res.data);
4911
5389
  *
4912
5390
  * // Example response
4913
- * // {
4914
- * // "details": {},
4915
- * // "displayName": "my_displayName",
4916
- * // "name": "my_name",
4917
- * // "status": {},
4918
- * // "type": "my_type"
4919
- * // }
5391
+ * // {}
4920
5392
  * }
4921
5393
  *
4922
5394
  * main().catch(e => {
@@ -4931,14 +5403,14 @@ export declare namespace chromemanagement_v1 {
4931
5403
  * @param callback - Optional callback that handles the response.
4932
5404
  * @returns A promise if used with async/await, or void if used with a callback.
4933
5405
  */
4934
- create(params: Params$Resource$Customers$Connectorconfigs$Create, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
4935
- create(params?: Params$Resource$Customers$Connectorconfigs$Create, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$GoogleChromeManagementVersionsV1ConnectorConfig>>;
4936
- create(params: Params$Resource$Customers$Connectorconfigs$Create, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
4937
- create(params: Params$Resource$Customers$Connectorconfigs$Create, options: MethodOptions | BodyResponseCallback<Schema$GoogleChromeManagementVersionsV1ConnectorConfig>, callback: BodyResponseCallback<Schema$GoogleChromeManagementVersionsV1ConnectorConfig>): void;
4938
- create(params: Params$Resource$Customers$Connectorconfigs$Create, callback: BodyResponseCallback<Schema$GoogleChromeManagementVersionsV1ConnectorConfig>): void;
4939
- create(callback: BodyResponseCallback<Schema$GoogleChromeManagementVersionsV1ConnectorConfig>): void;
5406
+ delete(params: Params$Resource$Customers$Chromebrowsers$Delete, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
5407
+ delete(params?: Params$Resource$Customers$Chromebrowsers$Delete, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$GoogleProtobufEmpty>>;
5408
+ delete(params: Params$Resource$Customers$Chromebrowsers$Delete, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
5409
+ delete(params: Params$Resource$Customers$Chromebrowsers$Delete, options: MethodOptions | BodyResponseCallback<Schema$GoogleProtobufEmpty>, callback: BodyResponseCallback<Schema$GoogleProtobufEmpty>): void;
5410
+ delete(params: Params$Resource$Customers$Chromebrowsers$Delete, callback: BodyResponseCallback<Schema$GoogleProtobufEmpty>): void;
5411
+ delete(callback: BodyResponseCallback<Schema$GoogleProtobufEmpty>): void;
4940
5412
  /**
4941
- * Deletes a connector config.
5413
+ * Retrieves a single Chrome Browser identified by its customer ID and resource ID.
4942
5414
  * @example
4943
5415
  * ```js
4944
5416
  * // Before running the sample:
@@ -4967,14 +5439,44 @@ export declare namespace chromemanagement_v1 {
4967
5439
  * google.options({auth: authClient});
4968
5440
  *
4969
5441
  * // Do the magic
4970
- * const res = await chromemanagement.customers.connectorConfigs.delete({
4971
- * // Required. Format: customers/{customer\}/connectorConfigs/{connector_config\}
4972
- * name: 'customers/my-customer/connectorConfigs/my-connectorConfig',
5442
+ * const res = await chromemanagement.customers.chromeBrowsers.get({
5443
+ * // Required. Format: customers/{customer_id\}/chromeBrowsers/{browser_permanent_id\}
5444
+ * name: 'customers/my-customer/chromeBrowsers/my-chromeBrowser',
4973
5445
  * });
4974
5446
  * console.log(res.data);
4975
5447
  *
4976
5448
  * // Example response
4977
- * // {}
5449
+ * // {
5450
+ * // "annotatedAssetId": "my_annotatedAssetId",
5451
+ * // "annotatedLocation": "my_annotatedLocation",
5452
+ * // "annotatedNotes": "my_annotatedNotes",
5453
+ * // "annotatedUser": "my_annotatedUser",
5454
+ * // "attestationCredential": {},
5455
+ * // "browserPermanentId": "my_browserPermanentId",
5456
+ * // "browserVersions": [],
5457
+ * // "browsers": [],
5458
+ * // "deviceIdentifiersHistory": {},
5459
+ * // "extensionCount": "my_extensionCount",
5460
+ * // "lastActivityTime": "my_lastActivityTime",
5461
+ * // "lastDeviceUser": "my_lastDeviceUser",
5462
+ * // "lastDeviceUsers": [],
5463
+ * // "lastPolicyFetchTime": "my_lastPolicyFetchTime",
5464
+ * // "lastRegistrationTime": "my_lastRegistrationTime",
5465
+ * // "lastStatusReportTime": "my_lastStatusReportTime",
5466
+ * // "machineExtensionPolicies": [],
5467
+ * // "machineName": "my_machineName",
5468
+ * // "machinePolicies": [],
5469
+ * // "name": "my_name",
5470
+ * // "omahaRecentFetchTime": "my_omahaRecentFetchTime",
5471
+ * // "orgUnitId": "my_orgUnitId",
5472
+ * // "osArchitecture": "my_osArchitecture",
5473
+ * // "osPlatform": "my_osPlatform",
5474
+ * // "osPlatformVersion": "my_osPlatformVersion",
5475
+ * // "osVersion": "my_osVersion",
5476
+ * // "policyCount": "my_policyCount",
5477
+ * // "serialNumber": "my_serialNumber",
5478
+ * // "virtualDeviceId": "my_virtualDeviceId"
5479
+ * // }
4978
5480
  * }
4979
5481
  *
4980
5482
  * main().catch(e => {
@@ -4989,14 +5491,14 @@ export declare namespace chromemanagement_v1 {
4989
5491
  * @param callback - Optional callback that handles the response.
4990
5492
  * @returns A promise if used with async/await, or void if used with a callback.
4991
5493
  */
4992
- delete(params: Params$Resource$Customers$Connectorconfigs$Delete, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
4993
- delete(params?: Params$Resource$Customers$Connectorconfigs$Delete, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$GoogleProtobufEmpty>>;
4994
- delete(params: Params$Resource$Customers$Connectorconfigs$Delete, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
4995
- delete(params: Params$Resource$Customers$Connectorconfigs$Delete, options: MethodOptions | BodyResponseCallback<Schema$GoogleProtobufEmpty>, callback: BodyResponseCallback<Schema$GoogleProtobufEmpty>): void;
4996
- delete(params: Params$Resource$Customers$Connectorconfigs$Delete, callback: BodyResponseCallback<Schema$GoogleProtobufEmpty>): void;
4997
- delete(callback: BodyResponseCallback<Schema$GoogleProtobufEmpty>): void;
5494
+ get(params: Params$Resource$Customers$Chromebrowsers$Get, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
5495
+ get(params?: Params$Resource$Customers$Chromebrowsers$Get, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$GoogleChromeManagementVersionsV1ChromeBrowser>>;
5496
+ get(params: Params$Resource$Customers$Chromebrowsers$Get, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
5497
+ get(params: Params$Resource$Customers$Chromebrowsers$Get, options: MethodOptions | BodyResponseCallback<Schema$GoogleChromeManagementVersionsV1ChromeBrowser>, callback: BodyResponseCallback<Schema$GoogleChromeManagementVersionsV1ChromeBrowser>): void;
5498
+ get(params: Params$Resource$Customers$Chromebrowsers$Get, callback: BodyResponseCallback<Schema$GoogleChromeManagementVersionsV1ChromeBrowser>): void;
5499
+ get(callback: BodyResponseCallback<Schema$GoogleChromeManagementVersionsV1ChromeBrowser>): void;
4998
5500
  /**
4999
- * Gets a connector config with customer ID and config ID.
5501
+ * Retrieves all Chrome Browsers of a customer (paginated).
5000
5502
  * @example
5001
5503
  * ```js
5002
5504
  * // Before running the sample:
@@ -5025,19 +5527,24 @@ export declare namespace chromemanagement_v1 {
5025
5527
  * google.options({auth: authClient});
5026
5528
  *
5027
5529
  * // Do the magic
5028
- * const res = await chromemanagement.customers.connectorConfigs.get({
5029
- * // Required. Format: customers/{customer\}/connectorConfigs/{connector_config\}
5030
- * name: 'customers/my-customer/connectorConfigs/my-connectorConfig',
5530
+ * const res = await chromemanagement.customers.chromeBrowsers.list({
5531
+ * // Optional. The filter used to filter browsers. The following fields can be used in the filter: * `browser_permanent_id` * `last_policy_fetch_time` * `os_platform` * `os_architecture` * `os_version` * `machine_name` * `annotated_location` * `annotated_user` * `annotated_asset_id` * `annotated_note` * `org_unit_path` * `org_unit_id` * `last_registration_time` * `os_platform_version` * `browser_version` * `last_status_report_time` * `extension_count` * `policy_count` * `last_device_user` * `last_activity_time` * `device_id_collision` The following functions can be used in the filter: * `in_group(string)`: Filters browsers that belong to the specified Cloud Identity group resource name (e.g. `in_group("groups/{group_id\}")`). Any of the above fields or functions can be used to specify a filter, and filtering by multiple fields or functions is supported with AND operator. String type, Integer type fields and enum type fields support `=` and `:` operators. The timestamp type fields support `=`, `<=` and `\>=` operators. Timestamps expect an RFC-3339 formatted string (e.g. 2012-04-21T11:30:00-04:00). Wildcard `*` is only supported for `machine_name`, `annotated_asset_id`, and `browser_version`. In addition, global string literal filtering without a field name is supported: a single term (e.g., `ABC`) matches if any indexed string field contains `ABC`, and multiple terms joined by `AND` or whitespace (e.g., `machine AND 73` or `machine 73`) match browsers where every term appears in at least one indexed string field (whereas a single quoted phrase like `"machine 73"` matches the contiguous phrase within a single field).
5532
+ * filter: 'placeholder-value',
5533
+ * // Optional. The fields used to specify the ordering of the results. The supported fields are: * `browser_permanent_id` * `last_sync` * `annotated_user` * `annotated_location` * `annotated_asset_id` * `annotated_notes` * `org_unit_path` * `os_version` * `enrollment_date` * `extension_count` * `policy_count` * `last_signed_in_user` * `machine_name` * `browser_version_channel` * `os_platform_version` * `last_activity_time` * `browser_version` By default, sorting is in ascending order, to specify descending order for a field, a suffix ` desc` should be added to the field name. The default ordering is the descending order of `last_status_report_time`.
5534
+ * orderBy: 'placeholder-value',
5535
+ * // Optional. Maximum number of results to return. Maximum and default are 100.
5536
+ * pageSize: 'placeholder-value',
5537
+ * // Optional. Token to specify next page in the list.
5538
+ * pageToken: 'placeholder-value',
5539
+ * // Required. Format: customers/{customer_id\}
5540
+ * parent: 'customers/my-customer',
5031
5541
  * });
5032
5542
  * console.log(res.data);
5033
5543
  *
5034
5544
  * // Example response
5035
5545
  * // {
5036
- * // "details": {},
5037
- * // "displayName": "my_displayName",
5038
- * // "name": "my_name",
5039
- * // "status": {},
5040
- * // "type": "my_type"
5546
+ * // "chromeBrowsers": [],
5547
+ * // "nextPageToken": "my_nextPageToken"
5041
5548
  * // }
5042
5549
  * }
5043
5550
  *
@@ -5053,14 +5560,14 @@ export declare namespace chromemanagement_v1 {
5053
5560
  * @param callback - Optional callback that handles the response.
5054
5561
  * @returns A promise if used with async/await, or void if used with a callback.
5055
5562
  */
5056
- get(params: Params$Resource$Customers$Connectorconfigs$Get, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
5057
- get(params?: Params$Resource$Customers$Connectorconfigs$Get, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$GoogleChromeManagementVersionsV1ConnectorConfig>>;
5058
- get(params: Params$Resource$Customers$Connectorconfigs$Get, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
5059
- get(params: Params$Resource$Customers$Connectorconfigs$Get, options: MethodOptions | BodyResponseCallback<Schema$GoogleChromeManagementVersionsV1ConnectorConfig>, callback: BodyResponseCallback<Schema$GoogleChromeManagementVersionsV1ConnectorConfig>): void;
5060
- get(params: Params$Resource$Customers$Connectorconfigs$Get, callback: BodyResponseCallback<Schema$GoogleChromeManagementVersionsV1ConnectorConfig>): void;
5061
- get(callback: BodyResponseCallback<Schema$GoogleChromeManagementVersionsV1ConnectorConfig>): void;
5563
+ list(params: Params$Resource$Customers$Chromebrowsers$List, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
5564
+ list(params?: Params$Resource$Customers$Chromebrowsers$List, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$GoogleChromeManagementVersionsV1ListChromeBrowsersResponse>>;
5565
+ list(params: Params$Resource$Customers$Chromebrowsers$List, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
5566
+ list(params: Params$Resource$Customers$Chromebrowsers$List, options: MethodOptions | BodyResponseCallback<Schema$GoogleChromeManagementVersionsV1ListChromeBrowsersResponse>, callback: BodyResponseCallback<Schema$GoogleChromeManagementVersionsV1ListChromeBrowsersResponse>): void;
5567
+ list(params: Params$Resource$Customers$Chromebrowsers$List, callback: BodyResponseCallback<Schema$GoogleChromeManagementVersionsV1ListChromeBrowsersResponse>): void;
5568
+ list(callback: BodyResponseCallback<Schema$GoogleChromeManagementVersionsV1ListChromeBrowsersResponse>): void;
5062
5569
  /**
5063
- * Lists connector configs of a customer.
5570
+ * Moves managed Chrome Browsers to a new Organizational Unit (OU). If there is an error while moving any of the browsers, none of the browsers will be moved.
5064
5571
  * @example
5065
5572
  * ```js
5066
5573
  * // Before running the sample:
@@ -5089,21 +5596,23 @@ export declare namespace chromemanagement_v1 {
5089
5596
  * google.options({auth: authClient});
5090
5597
  *
5091
5598
  * // Do the magic
5092
- * const res = await chromemanagement.customers.connectorConfigs.list({
5093
- * // Optional. The maximum number of connector configs to return. The default page size is 50 if page_size is unspecified, and the maximum page size allowed is 100. Values above 100 will be capped at 100.
5094
- * pageSize: 'placeholder-value',
5095
- * // Optional. A page token, received from a previous `ListConnectorConfigs` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListConnectorConfigs` must match the call that provided the page token.
5096
- * pageToken: 'placeholder-value',
5097
- * // Required. Format: customers/{customer\}
5599
+ * const res = await chromemanagement.customers.chromeBrowsers.move({
5600
+ * // Required. Format: customers/{customer_id\}
5098
5601
  * parent: 'customers/my-customer',
5602
+ *
5603
+ * // Request body metadata
5604
+ * requestBody: {
5605
+ * // request body parameters
5606
+ * // {
5607
+ * // "destinationOrgUnitId": "my_destinationOrgUnitId",
5608
+ * // "resourceIds": []
5609
+ * // }
5610
+ * },
5099
5611
  * });
5100
5612
  * console.log(res.data);
5101
5613
  *
5102
5614
  * // Example response
5103
- * // {
5104
- * // "connectorConfigs": [],
5105
- * // "nextPageToken": "my_nextPageToken"
5106
- * // }
5615
+ * // {}
5107
5616
  * }
5108
5617
  *
5109
5618
  * main().catch(e => {
@@ -5118,14 +5627,14 @@ export declare namespace chromemanagement_v1 {
5118
5627
  * @param callback - Optional callback that handles the response.
5119
5628
  * @returns A promise if used with async/await, or void if used with a callback.
5120
5629
  */
5121
- list(params: Params$Resource$Customers$Connectorconfigs$List, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
5122
- list(params?: Params$Resource$Customers$Connectorconfigs$List, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$GoogleChromeManagementVersionsV1ListConnectorConfigsResponse>>;
5123
- list(params: Params$Resource$Customers$Connectorconfigs$List, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
5124
- list(params: Params$Resource$Customers$Connectorconfigs$List, options: MethodOptions | BodyResponseCallback<Schema$GoogleChromeManagementVersionsV1ListConnectorConfigsResponse>, callback: BodyResponseCallback<Schema$GoogleChromeManagementVersionsV1ListConnectorConfigsResponse>): void;
5125
- list(params: Params$Resource$Customers$Connectorconfigs$List, callback: BodyResponseCallback<Schema$GoogleChromeManagementVersionsV1ListConnectorConfigsResponse>): void;
5126
- list(callback: BodyResponseCallback<Schema$GoogleChromeManagementVersionsV1ListConnectorConfigsResponse>): void;
5630
+ move(params: Params$Resource$Customers$Chromebrowsers$Move, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
5631
+ move(params?: Params$Resource$Customers$Chromebrowsers$Move, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$GoogleChromeManagementVersionsV1MoveChromeBrowsersResponse>>;
5632
+ move(params: Params$Resource$Customers$Chromebrowsers$Move, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
5633
+ move(params: Params$Resource$Customers$Chromebrowsers$Move, options: MethodOptions | BodyResponseCallback<Schema$GoogleChromeManagementVersionsV1MoveChromeBrowsersResponse>, callback: BodyResponseCallback<Schema$GoogleChromeManagementVersionsV1MoveChromeBrowsersResponse>): void;
5634
+ move(params: Params$Resource$Customers$Chromebrowsers$Move, callback: BodyResponseCallback<Schema$GoogleChromeManagementVersionsV1MoveChromeBrowsersResponse>): void;
5635
+ move(callback: BodyResponseCallback<Schema$GoogleChromeManagementVersionsV1MoveChromeBrowsersResponse>): void;
5127
5636
  /**
5128
- * Updates a connector config.
5637
+ * Updates annotation information for a Chrome Browser.
5129
5638
  * @example
5130
5639
  * ```js
5131
5640
  * // Before running the sample:
@@ -5154,9 +5663,9 @@ export declare namespace chromemanagement_v1 {
5154
5663
  * google.options({auth: authClient});
5155
5664
  *
5156
5665
  * // Do the magic
5157
- * const res = await chromemanagement.customers.connectorConfigs.patch({
5158
- * // Identifier. Format: customers/{customer\}/connectorConfigs/{connector_config\}
5159
- * name: 'customers/my-customer/connectorConfigs/my-connectorConfig',
5666
+ * const res = await chromemanagement.customers.chromeBrowsers.patch({
5667
+ * // Identifier. Format: customers/{customer_id\}/chromeBrowsers/{browser_permanent_id\}
5668
+ * name: 'customers/my-customer/chromeBrowsers/my-chromeBrowser',
5160
5669
  * // Optional. The update mask that can be used to specify which fields to update.
5161
5670
  * updateMask: 'placeholder-value',
5162
5671
  *
@@ -5164,11 +5673,35 @@ export declare namespace chromemanagement_v1 {
5164
5673
  * requestBody: {
5165
5674
  * // request body parameters
5166
5675
  * // {
5167
- * // "details": {},
5168
- * // "displayName": "my_displayName",
5676
+ * // "annotatedAssetId": "my_annotatedAssetId",
5677
+ * // "annotatedLocation": "my_annotatedLocation",
5678
+ * // "annotatedNotes": "my_annotatedNotes",
5679
+ * // "annotatedUser": "my_annotatedUser",
5680
+ * // "attestationCredential": {},
5681
+ * // "browserPermanentId": "my_browserPermanentId",
5682
+ * // "browserVersions": [],
5683
+ * // "browsers": [],
5684
+ * // "deviceIdentifiersHistory": {},
5685
+ * // "extensionCount": "my_extensionCount",
5686
+ * // "lastActivityTime": "my_lastActivityTime",
5687
+ * // "lastDeviceUser": "my_lastDeviceUser",
5688
+ * // "lastDeviceUsers": [],
5689
+ * // "lastPolicyFetchTime": "my_lastPolicyFetchTime",
5690
+ * // "lastRegistrationTime": "my_lastRegistrationTime",
5691
+ * // "lastStatusReportTime": "my_lastStatusReportTime",
5692
+ * // "machineExtensionPolicies": [],
5693
+ * // "machineName": "my_machineName",
5694
+ * // "machinePolicies": [],
5169
5695
  * // "name": "my_name",
5170
- * // "status": {},
5171
- * // "type": "my_type"
5696
+ * // "omahaRecentFetchTime": "my_omahaRecentFetchTime",
5697
+ * // "orgUnitId": "my_orgUnitId",
5698
+ * // "osArchitecture": "my_osArchitecture",
5699
+ * // "osPlatform": "my_osPlatform",
5700
+ * // "osPlatformVersion": "my_osPlatformVersion",
5701
+ * // "osVersion": "my_osVersion",
5702
+ * // "policyCount": "my_policyCount",
5703
+ * // "serialNumber": "my_serialNumber",
5704
+ * // "virtualDeviceId": "my_virtualDeviceId"
5172
5705
  * // }
5173
5706
  * },
5174
5707
  * });
@@ -5176,11 +5709,35 @@ export declare namespace chromemanagement_v1 {
5176
5709
  *
5177
5710
  * // Example response
5178
5711
  * // {
5179
- * // "details": {},
5180
- * // "displayName": "my_displayName",
5712
+ * // "annotatedAssetId": "my_annotatedAssetId",
5713
+ * // "annotatedLocation": "my_annotatedLocation",
5714
+ * // "annotatedNotes": "my_annotatedNotes",
5715
+ * // "annotatedUser": "my_annotatedUser",
5716
+ * // "attestationCredential": {},
5717
+ * // "browserPermanentId": "my_browserPermanentId",
5718
+ * // "browserVersions": [],
5719
+ * // "browsers": [],
5720
+ * // "deviceIdentifiersHistory": {},
5721
+ * // "extensionCount": "my_extensionCount",
5722
+ * // "lastActivityTime": "my_lastActivityTime",
5723
+ * // "lastDeviceUser": "my_lastDeviceUser",
5724
+ * // "lastDeviceUsers": [],
5725
+ * // "lastPolicyFetchTime": "my_lastPolicyFetchTime",
5726
+ * // "lastRegistrationTime": "my_lastRegistrationTime",
5727
+ * // "lastStatusReportTime": "my_lastStatusReportTime",
5728
+ * // "machineExtensionPolicies": [],
5729
+ * // "machineName": "my_machineName",
5730
+ * // "machinePolicies": [],
5181
5731
  * // "name": "my_name",
5182
- * // "status": {},
5183
- * // "type": "my_type"
5732
+ * // "omahaRecentFetchTime": "my_omahaRecentFetchTime",
5733
+ * // "orgUnitId": "my_orgUnitId",
5734
+ * // "osArchitecture": "my_osArchitecture",
5735
+ * // "osPlatform": "my_osPlatform",
5736
+ * // "osPlatformVersion": "my_osPlatformVersion",
5737
+ * // "osVersion": "my_osVersion",
5738
+ * // "policyCount": "my_policyCount",
5739
+ * // "serialNumber": "my_serialNumber",
5740
+ * // "virtualDeviceId": "my_virtualDeviceId"
5184
5741
  * // }
5185
5742
  * }
5186
5743
  *
@@ -5196,56 +5753,60 @@ export declare namespace chromemanagement_v1 {
5196
5753
  * @param callback - Optional callback that handles the response.
5197
5754
  * @returns A promise if used with async/await, or void if used with a callback.
5198
5755
  */
5199
- patch(params: Params$Resource$Customers$Connectorconfigs$Patch, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
5200
- patch(params?: Params$Resource$Customers$Connectorconfigs$Patch, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$GoogleChromeManagementVersionsV1ConnectorConfig>>;
5201
- patch(params: Params$Resource$Customers$Connectorconfigs$Patch, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
5202
- patch(params: Params$Resource$Customers$Connectorconfigs$Patch, options: MethodOptions | BodyResponseCallback<Schema$GoogleChromeManagementVersionsV1ConnectorConfig>, callback: BodyResponseCallback<Schema$GoogleChromeManagementVersionsV1ConnectorConfig>): void;
5203
- patch(params: Params$Resource$Customers$Connectorconfigs$Patch, callback: BodyResponseCallback<Schema$GoogleChromeManagementVersionsV1ConnectorConfig>): void;
5204
- patch(callback: BodyResponseCallback<Schema$GoogleChromeManagementVersionsV1ConnectorConfig>): void;
5756
+ patch(params: Params$Resource$Customers$Chromebrowsers$Patch, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
5757
+ patch(params?: Params$Resource$Customers$Chromebrowsers$Patch, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$GoogleChromeManagementVersionsV1ChromeBrowser>>;
5758
+ patch(params: Params$Resource$Customers$Chromebrowsers$Patch, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
5759
+ patch(params: Params$Resource$Customers$Chromebrowsers$Patch, options: MethodOptions | BodyResponseCallback<Schema$GoogleChromeManagementVersionsV1ChromeBrowser>, callback: BodyResponseCallback<Schema$GoogleChromeManagementVersionsV1ChromeBrowser>): void;
5760
+ patch(params: Params$Resource$Customers$Chromebrowsers$Patch, callback: BodyResponseCallback<Schema$GoogleChromeManagementVersionsV1ChromeBrowser>): void;
5761
+ patch(callback: BodyResponseCallback<Schema$GoogleChromeManagementVersionsV1ChromeBrowser>): void;
5205
5762
  }
5206
- export interface Params$Resource$Customers$Connectorconfigs$Create extends StandardParameters {
5207
- /**
5208
- * Optional. ID to use for the connector config, which becomes the final component of the connector config's resource name. If provided, the ID must be 1-36 characters long, and contain only lowercase letters, digits, and hyphens. It must start with a letter, and end with a letter or number. If not provided, the connector config will be assigned a random UUID.
5209
- */
5210
- connectorConfigId?: string;
5211
- /**
5212
- * Required. Format: customers/{customer\}
5213
- */
5214
- parent?: string;
5763
+ export interface Params$Resource$Customers$Chromebrowsers$Delete extends StandardParameters {
5215
5764
  /**
5216
- * Request body metadata
5765
+ * Required. Format: customers/{customer_id\}/chromeBrowsers/{browser_permanent_id\}
5217
5766
  */
5218
- requestBody?: Schema$GoogleChromeManagementVersionsV1ConnectorConfig;
5767
+ name?: string;
5219
5768
  }
5220
- export interface Params$Resource$Customers$Connectorconfigs$Delete extends StandardParameters {
5769
+ export interface Params$Resource$Customers$Chromebrowsers$Get extends StandardParameters {
5221
5770
  /**
5222
- * Required. Format: customers/{customer\}/connectorConfigs/{connector_config\}
5771
+ * Required. Format: customers/{customer_id\}/chromeBrowsers/{browser_permanent_id\}
5223
5772
  */
5224
5773
  name?: string;
5225
5774
  }
5226
- export interface Params$Resource$Customers$Connectorconfigs$Get extends StandardParameters {
5775
+ export interface Params$Resource$Customers$Chromebrowsers$List extends StandardParameters {
5227
5776
  /**
5228
- * Required. Format: customers/{customer\}/connectorConfigs/{connector_config\}
5777
+ * Optional. The filter used to filter browsers. The following fields can be used in the filter: * `browser_permanent_id` * `last_policy_fetch_time` * `os_platform` * `os_architecture` * `os_version` * `machine_name` * `annotated_location` * `annotated_user` * `annotated_asset_id` * `annotated_note` * `org_unit_path` * `org_unit_id` * `last_registration_time` * `os_platform_version` * `browser_version` * `last_status_report_time` * `extension_count` * `policy_count` * `last_device_user` * `last_activity_time` * `device_id_collision` The following functions can be used in the filter: * `in_group(string)`: Filters browsers that belong to the specified Cloud Identity group resource name (e.g. `in_group("groups/{group_id\}")`). Any of the above fields or functions can be used to specify a filter, and filtering by multiple fields or functions is supported with AND operator. String type, Integer type fields and enum type fields support `=` and `:` operators. The timestamp type fields support `=`, `<=` and `\>=` operators. Timestamps expect an RFC-3339 formatted string (e.g. 2012-04-21T11:30:00-04:00). Wildcard `*` is only supported for `machine_name`, `annotated_asset_id`, and `browser_version`. In addition, global string literal filtering without a field name is supported: a single term (e.g., `ABC`) matches if any indexed string field contains `ABC`, and multiple terms joined by `AND` or whitespace (e.g., `machine AND 73` or `machine 73`) match browsers where every term appears in at least one indexed string field (whereas a single quoted phrase like `"machine 73"` matches the contiguous phrase within a single field).
5229
5778
  */
5230
- name?: string;
5231
- }
5232
- export interface Params$Resource$Customers$Connectorconfigs$List extends StandardParameters {
5779
+ filter?: string;
5233
5780
  /**
5234
- * Optional. The maximum number of connector configs to return. The default page size is 50 if page_size is unspecified, and the maximum page size allowed is 100. Values above 100 will be capped at 100.
5781
+ * Optional. The fields used to specify the ordering of the results. The supported fields are: * `browser_permanent_id` * `last_sync` * `annotated_user` * `annotated_location` * `annotated_asset_id` * `annotated_notes` * `org_unit_path` * `os_version` * `enrollment_date` * `extension_count` * `policy_count` * `last_signed_in_user` * `machine_name` * `browser_version_channel` * `os_platform_version` * `last_activity_time` * `browser_version` By default, sorting is in ascending order, to specify descending order for a field, a suffix ` desc` should be added to the field name. The default ordering is the descending order of `last_status_report_time`.
5782
+ */
5783
+ orderBy?: string;
5784
+ /**
5785
+ * Optional. Maximum number of results to return. Maximum and default are 100.
5235
5786
  */
5236
5787
  pageSize?: number;
5237
5788
  /**
5238
- * Optional. A page token, received from a previous `ListConnectorConfigs` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListConnectorConfigs` must match the call that provided the page token.
5789
+ * Optional. Token to specify next page in the list.
5239
5790
  */
5240
5791
  pageToken?: string;
5241
5792
  /**
5242
- * Required. Format: customers/{customer\}
5793
+ * Required. Format: customers/{customer_id\}
5243
5794
  */
5244
5795
  parent?: string;
5245
5796
  }
5246
- export interface Params$Resource$Customers$Connectorconfigs$Patch extends StandardParameters {
5797
+ export interface Params$Resource$Customers$Chromebrowsers$Move extends StandardParameters {
5247
5798
  /**
5248
- * Identifier. Format: customers/{customer\}/connectorConfigs/{connector_config\}
5799
+ * Required. Format: customers/{customer_id\}
5800
+ */
5801
+ parent?: string;
5802
+ /**
5803
+ * Request body metadata
5804
+ */
5805
+ requestBody?: Schema$GoogleChromeManagementVersionsV1MoveChromeBrowsersRequest;
5806
+ }
5807
+ export interface Params$Resource$Customers$Chromebrowsers$Patch extends StandardParameters {
5808
+ /**
5809
+ * Identifier. Format: customers/{customer_id\}/chromeBrowsers/{browser_permanent_id\}
5249
5810
  */
5250
5811
  name?: string;
5251
5812
  /**
@@ -5255,7 +5816,763 @@ export declare namespace chromemanagement_v1 {
5255
5816
  /**
5256
5817
  * Request body metadata
5257
5818
  */
5258
- requestBody?: Schema$GoogleChromeManagementVersionsV1ConnectorConfig;
5819
+ requestBody?: Schema$GoogleChromeManagementVersionsV1ChromeBrowser;
5820
+ }
5821
+ export class Resource$Customers$Connectorconfigs {
5822
+ context: APIRequestContext;
5823
+ constructor(context: APIRequestContext);
5824
+ /**
5825
+ * Creates a connector config.
5826
+ * @example
5827
+ * ```js
5828
+ * // Before running the sample:
5829
+ * // - Enable the API at:
5830
+ * // https://console.developers.google.com/apis/api/chromemanagement.googleapis.com
5831
+ * // - Login into gcloud by running:
5832
+ * // ```sh
5833
+ * // $ gcloud auth application-default login
5834
+ * // ```
5835
+ * // - Install the npm module by running:
5836
+ * // ```sh
5837
+ * // $ npm install googleapis
5838
+ * // ```
5839
+ *
5840
+ * const {google} = require('googleapis');
5841
+ * const chromemanagement = google.chromemanagement('v1');
5842
+ *
5843
+ * async function main() {
5844
+ * const auth = new google.auth.GoogleAuth({
5845
+ * // Scopes can be specified either as an array or as a single, space-delimited string.
5846
+ * scopes: [],
5847
+ * });
5848
+ *
5849
+ * // Acquire an auth client, and bind it to all future calls
5850
+ * const authClient = await auth.getClient();
5851
+ * google.options({auth: authClient});
5852
+ *
5853
+ * // Do the magic
5854
+ * const res = await chromemanagement.customers.connectorConfigs.create({
5855
+ * // Optional. ID to use for the connector config, which becomes the final component of the connector config's resource name. If provided, the ID must be 1-36 characters long, and contain only lowercase letters, digits, and hyphens. It must start with a letter, and end with a letter or number. If not provided, the connector config will be assigned a random UUID.
5856
+ * connectorConfigId: 'placeholder-value',
5857
+ * // Required. Format: customers/{customer\}
5858
+ * parent: 'customers/my-customer',
5859
+ *
5860
+ * // Request body metadata
5861
+ * requestBody: {
5862
+ * // request body parameters
5863
+ * // {
5864
+ * // "details": {},
5865
+ * // "displayName": "my_displayName",
5866
+ * // "name": "my_name",
5867
+ * // "status": {},
5868
+ * // "type": "my_type"
5869
+ * // }
5870
+ * },
5871
+ * });
5872
+ * console.log(res.data);
5873
+ *
5874
+ * // Example response
5875
+ * // {
5876
+ * // "details": {},
5877
+ * // "displayName": "my_displayName",
5878
+ * // "name": "my_name",
5879
+ * // "status": {},
5880
+ * // "type": "my_type"
5881
+ * // }
5882
+ * }
5883
+ *
5884
+ * main().catch(e => {
5885
+ * console.error(e);
5886
+ * throw e;
5887
+ * });
5888
+ *
5889
+ * ```
5890
+ *
5891
+ * @param params - Parameters for request
5892
+ * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
5893
+ * @param callback - Optional callback that handles the response.
5894
+ * @returns A promise if used with async/await, or void if used with a callback.
5895
+ */
5896
+ create(params: Params$Resource$Customers$Connectorconfigs$Create, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
5897
+ create(params?: Params$Resource$Customers$Connectorconfigs$Create, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$GoogleChromeManagementVersionsV1ConnectorConfig>>;
5898
+ create(params: Params$Resource$Customers$Connectorconfigs$Create, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
5899
+ create(params: Params$Resource$Customers$Connectorconfigs$Create, options: MethodOptions | BodyResponseCallback<Schema$GoogleChromeManagementVersionsV1ConnectorConfig>, callback: BodyResponseCallback<Schema$GoogleChromeManagementVersionsV1ConnectorConfig>): void;
5900
+ create(params: Params$Resource$Customers$Connectorconfigs$Create, callback: BodyResponseCallback<Schema$GoogleChromeManagementVersionsV1ConnectorConfig>): void;
5901
+ create(callback: BodyResponseCallback<Schema$GoogleChromeManagementVersionsV1ConnectorConfig>): void;
5902
+ /**
5903
+ * Deletes a connector config.
5904
+ * @example
5905
+ * ```js
5906
+ * // Before running the sample:
5907
+ * // - Enable the API at:
5908
+ * // https://console.developers.google.com/apis/api/chromemanagement.googleapis.com
5909
+ * // - Login into gcloud by running:
5910
+ * // ```sh
5911
+ * // $ gcloud auth application-default login
5912
+ * // ```
5913
+ * // - Install the npm module by running:
5914
+ * // ```sh
5915
+ * // $ npm install googleapis
5916
+ * // ```
5917
+ *
5918
+ * const {google} = require('googleapis');
5919
+ * const chromemanagement = google.chromemanagement('v1');
5920
+ *
5921
+ * async function main() {
5922
+ * const auth = new google.auth.GoogleAuth({
5923
+ * // Scopes can be specified either as an array or as a single, space-delimited string.
5924
+ * scopes: [],
5925
+ * });
5926
+ *
5927
+ * // Acquire an auth client, and bind it to all future calls
5928
+ * const authClient = await auth.getClient();
5929
+ * google.options({auth: authClient});
5930
+ *
5931
+ * // Do the magic
5932
+ * const res = await chromemanagement.customers.connectorConfigs.delete({
5933
+ * // Required. Format: customers/{customer\}/connectorConfigs/{connector_config\}
5934
+ * name: 'customers/my-customer/connectorConfigs/my-connectorConfig',
5935
+ * });
5936
+ * console.log(res.data);
5937
+ *
5938
+ * // Example response
5939
+ * // {}
5940
+ * }
5941
+ *
5942
+ * main().catch(e => {
5943
+ * console.error(e);
5944
+ * throw e;
5945
+ * });
5946
+ *
5947
+ * ```
5948
+ *
5949
+ * @param params - Parameters for request
5950
+ * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
5951
+ * @param callback - Optional callback that handles the response.
5952
+ * @returns A promise if used with async/await, or void if used with a callback.
5953
+ */
5954
+ delete(params: Params$Resource$Customers$Connectorconfigs$Delete, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
5955
+ delete(params?: Params$Resource$Customers$Connectorconfigs$Delete, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$GoogleProtobufEmpty>>;
5956
+ delete(params: Params$Resource$Customers$Connectorconfigs$Delete, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
5957
+ delete(params: Params$Resource$Customers$Connectorconfigs$Delete, options: MethodOptions | BodyResponseCallback<Schema$GoogleProtobufEmpty>, callback: BodyResponseCallback<Schema$GoogleProtobufEmpty>): void;
5958
+ delete(params: Params$Resource$Customers$Connectorconfigs$Delete, callback: BodyResponseCallback<Schema$GoogleProtobufEmpty>): void;
5959
+ delete(callback: BodyResponseCallback<Schema$GoogleProtobufEmpty>): void;
5960
+ /**
5961
+ * Gets a connector config with customer ID and config ID.
5962
+ * @example
5963
+ * ```js
5964
+ * // Before running the sample:
5965
+ * // - Enable the API at:
5966
+ * // https://console.developers.google.com/apis/api/chromemanagement.googleapis.com
5967
+ * // - Login into gcloud by running:
5968
+ * // ```sh
5969
+ * // $ gcloud auth application-default login
5970
+ * // ```
5971
+ * // - Install the npm module by running:
5972
+ * // ```sh
5973
+ * // $ npm install googleapis
5974
+ * // ```
5975
+ *
5976
+ * const {google} = require('googleapis');
5977
+ * const chromemanagement = google.chromemanagement('v1');
5978
+ *
5979
+ * async function main() {
5980
+ * const auth = new google.auth.GoogleAuth({
5981
+ * // Scopes can be specified either as an array or as a single, space-delimited string.
5982
+ * scopes: [],
5983
+ * });
5984
+ *
5985
+ * // Acquire an auth client, and bind it to all future calls
5986
+ * const authClient = await auth.getClient();
5987
+ * google.options({auth: authClient});
5988
+ *
5989
+ * // Do the magic
5990
+ * const res = await chromemanagement.customers.connectorConfigs.get({
5991
+ * // Required. Format: customers/{customer\}/connectorConfigs/{connector_config\}
5992
+ * name: 'customers/my-customer/connectorConfigs/my-connectorConfig',
5993
+ * });
5994
+ * console.log(res.data);
5995
+ *
5996
+ * // Example response
5997
+ * // {
5998
+ * // "details": {},
5999
+ * // "displayName": "my_displayName",
6000
+ * // "name": "my_name",
6001
+ * // "status": {},
6002
+ * // "type": "my_type"
6003
+ * // }
6004
+ * }
6005
+ *
6006
+ * main().catch(e => {
6007
+ * console.error(e);
6008
+ * throw e;
6009
+ * });
6010
+ *
6011
+ * ```
6012
+ *
6013
+ * @param params - Parameters for request
6014
+ * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
6015
+ * @param callback - Optional callback that handles the response.
6016
+ * @returns A promise if used with async/await, or void if used with a callback.
6017
+ */
6018
+ get(params: Params$Resource$Customers$Connectorconfigs$Get, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
6019
+ get(params?: Params$Resource$Customers$Connectorconfigs$Get, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$GoogleChromeManagementVersionsV1ConnectorConfig>>;
6020
+ get(params: Params$Resource$Customers$Connectorconfigs$Get, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
6021
+ get(params: Params$Resource$Customers$Connectorconfigs$Get, options: MethodOptions | BodyResponseCallback<Schema$GoogleChromeManagementVersionsV1ConnectorConfig>, callback: BodyResponseCallback<Schema$GoogleChromeManagementVersionsV1ConnectorConfig>): void;
6022
+ get(params: Params$Resource$Customers$Connectorconfigs$Get, callback: BodyResponseCallback<Schema$GoogleChromeManagementVersionsV1ConnectorConfig>): void;
6023
+ get(callback: BodyResponseCallback<Schema$GoogleChromeManagementVersionsV1ConnectorConfig>): void;
6024
+ /**
6025
+ * Lists connector configs of a customer.
6026
+ * @example
6027
+ * ```js
6028
+ * // Before running the sample:
6029
+ * // - Enable the API at:
6030
+ * // https://console.developers.google.com/apis/api/chromemanagement.googleapis.com
6031
+ * // - Login into gcloud by running:
6032
+ * // ```sh
6033
+ * // $ gcloud auth application-default login
6034
+ * // ```
6035
+ * // - Install the npm module by running:
6036
+ * // ```sh
6037
+ * // $ npm install googleapis
6038
+ * // ```
6039
+ *
6040
+ * const {google} = require('googleapis');
6041
+ * const chromemanagement = google.chromemanagement('v1');
6042
+ *
6043
+ * async function main() {
6044
+ * const auth = new google.auth.GoogleAuth({
6045
+ * // Scopes can be specified either as an array or as a single, space-delimited string.
6046
+ * scopes: [],
6047
+ * });
6048
+ *
6049
+ * // Acquire an auth client, and bind it to all future calls
6050
+ * const authClient = await auth.getClient();
6051
+ * google.options({auth: authClient});
6052
+ *
6053
+ * // Do the magic
6054
+ * const res = await chromemanagement.customers.connectorConfigs.list({
6055
+ * // Optional. The maximum number of connector configs to return. The default page size is 50 if page_size is unspecified, and the maximum page size allowed is 100. Values above 100 will be capped at 100.
6056
+ * pageSize: 'placeholder-value',
6057
+ * // Optional. A page token, received from a previous `ListConnectorConfigs` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListConnectorConfigs` must match the call that provided the page token.
6058
+ * pageToken: 'placeholder-value',
6059
+ * // Required. Format: customers/{customer\}
6060
+ * parent: 'customers/my-customer',
6061
+ * });
6062
+ * console.log(res.data);
6063
+ *
6064
+ * // Example response
6065
+ * // {
6066
+ * // "connectorConfigs": [],
6067
+ * // "nextPageToken": "my_nextPageToken"
6068
+ * // }
6069
+ * }
6070
+ *
6071
+ * main().catch(e => {
6072
+ * console.error(e);
6073
+ * throw e;
6074
+ * });
6075
+ *
6076
+ * ```
6077
+ *
6078
+ * @param params - Parameters for request
6079
+ * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
6080
+ * @param callback - Optional callback that handles the response.
6081
+ * @returns A promise if used with async/await, or void if used with a callback.
6082
+ */
6083
+ list(params: Params$Resource$Customers$Connectorconfigs$List, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
6084
+ list(params?: Params$Resource$Customers$Connectorconfigs$List, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$GoogleChromeManagementVersionsV1ListConnectorConfigsResponse>>;
6085
+ list(params: Params$Resource$Customers$Connectorconfigs$List, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
6086
+ list(params: Params$Resource$Customers$Connectorconfigs$List, options: MethodOptions | BodyResponseCallback<Schema$GoogleChromeManagementVersionsV1ListConnectorConfigsResponse>, callback: BodyResponseCallback<Schema$GoogleChromeManagementVersionsV1ListConnectorConfigsResponse>): void;
6087
+ list(params: Params$Resource$Customers$Connectorconfigs$List, callback: BodyResponseCallback<Schema$GoogleChromeManagementVersionsV1ListConnectorConfigsResponse>): void;
6088
+ list(callback: BodyResponseCallback<Schema$GoogleChromeManagementVersionsV1ListConnectorConfigsResponse>): void;
6089
+ /**
6090
+ * Updates a connector config.
6091
+ * @example
6092
+ * ```js
6093
+ * // Before running the sample:
6094
+ * // - Enable the API at:
6095
+ * // https://console.developers.google.com/apis/api/chromemanagement.googleapis.com
6096
+ * // - Login into gcloud by running:
6097
+ * // ```sh
6098
+ * // $ gcloud auth application-default login
6099
+ * // ```
6100
+ * // - Install the npm module by running:
6101
+ * // ```sh
6102
+ * // $ npm install googleapis
6103
+ * // ```
6104
+ *
6105
+ * const {google} = require('googleapis');
6106
+ * const chromemanagement = google.chromemanagement('v1');
6107
+ *
6108
+ * async function main() {
6109
+ * const auth = new google.auth.GoogleAuth({
6110
+ * // Scopes can be specified either as an array or as a single, space-delimited string.
6111
+ * scopes: [],
6112
+ * });
6113
+ *
6114
+ * // Acquire an auth client, and bind it to all future calls
6115
+ * const authClient = await auth.getClient();
6116
+ * google.options({auth: authClient});
6117
+ *
6118
+ * // Do the magic
6119
+ * const res = await chromemanagement.customers.connectorConfigs.patch({
6120
+ * // Identifier. Format: customers/{customer\}/connectorConfigs/{connector_config\}
6121
+ * name: 'customers/my-customer/connectorConfigs/my-connectorConfig',
6122
+ * // Optional. The update mask that can be used to specify which fields to update.
6123
+ * updateMask: 'placeholder-value',
6124
+ *
6125
+ * // Request body metadata
6126
+ * requestBody: {
6127
+ * // request body parameters
6128
+ * // {
6129
+ * // "details": {},
6130
+ * // "displayName": "my_displayName",
6131
+ * // "name": "my_name",
6132
+ * // "status": {},
6133
+ * // "type": "my_type"
6134
+ * // }
6135
+ * },
6136
+ * });
6137
+ * console.log(res.data);
6138
+ *
6139
+ * // Example response
6140
+ * // {
6141
+ * // "details": {},
6142
+ * // "displayName": "my_displayName",
6143
+ * // "name": "my_name",
6144
+ * // "status": {},
6145
+ * // "type": "my_type"
6146
+ * // }
6147
+ * }
6148
+ *
6149
+ * main().catch(e => {
6150
+ * console.error(e);
6151
+ * throw e;
6152
+ * });
6153
+ *
6154
+ * ```
6155
+ *
6156
+ * @param params - Parameters for request
6157
+ * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
6158
+ * @param callback - Optional callback that handles the response.
6159
+ * @returns A promise if used with async/await, or void if used with a callback.
6160
+ */
6161
+ patch(params: Params$Resource$Customers$Connectorconfigs$Patch, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
6162
+ patch(params?: Params$Resource$Customers$Connectorconfigs$Patch, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$GoogleChromeManagementVersionsV1ConnectorConfig>>;
6163
+ patch(params: Params$Resource$Customers$Connectorconfigs$Patch, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
6164
+ patch(params: Params$Resource$Customers$Connectorconfigs$Patch, options: MethodOptions | BodyResponseCallback<Schema$GoogleChromeManagementVersionsV1ConnectorConfig>, callback: BodyResponseCallback<Schema$GoogleChromeManagementVersionsV1ConnectorConfig>): void;
6165
+ patch(params: Params$Resource$Customers$Connectorconfigs$Patch, callback: BodyResponseCallback<Schema$GoogleChromeManagementVersionsV1ConnectorConfig>): void;
6166
+ patch(callback: BodyResponseCallback<Schema$GoogleChromeManagementVersionsV1ConnectorConfig>): void;
6167
+ }
6168
+ export interface Params$Resource$Customers$Connectorconfigs$Create extends StandardParameters {
6169
+ /**
6170
+ * Optional. ID to use for the connector config, which becomes the final component of the connector config's resource name. If provided, the ID must be 1-36 characters long, and contain only lowercase letters, digits, and hyphens. It must start with a letter, and end with a letter or number. If not provided, the connector config will be assigned a random UUID.
6171
+ */
6172
+ connectorConfigId?: string;
6173
+ /**
6174
+ * Required. Format: customers/{customer\}
6175
+ */
6176
+ parent?: string;
6177
+ /**
6178
+ * Request body metadata
6179
+ */
6180
+ requestBody?: Schema$GoogleChromeManagementVersionsV1ConnectorConfig;
6181
+ }
6182
+ export interface Params$Resource$Customers$Connectorconfigs$Delete extends StandardParameters {
6183
+ /**
6184
+ * Required. Format: customers/{customer\}/connectorConfigs/{connector_config\}
6185
+ */
6186
+ name?: string;
6187
+ }
6188
+ export interface Params$Resource$Customers$Connectorconfigs$Get extends StandardParameters {
6189
+ /**
6190
+ * Required. Format: customers/{customer\}/connectorConfigs/{connector_config\}
6191
+ */
6192
+ name?: string;
6193
+ }
6194
+ export interface Params$Resource$Customers$Connectorconfigs$List extends StandardParameters {
6195
+ /**
6196
+ * Optional. The maximum number of connector configs to return. The default page size is 50 if page_size is unspecified, and the maximum page size allowed is 100. Values above 100 will be capped at 100.
6197
+ */
6198
+ pageSize?: number;
6199
+ /**
6200
+ * Optional. A page token, received from a previous `ListConnectorConfigs` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListConnectorConfigs` must match the call that provided the page token.
6201
+ */
6202
+ pageToken?: string;
6203
+ /**
6204
+ * Required. Format: customers/{customer\}
6205
+ */
6206
+ parent?: string;
6207
+ }
6208
+ export interface Params$Resource$Customers$Connectorconfigs$Patch extends StandardParameters {
6209
+ /**
6210
+ * Identifier. Format: customers/{customer\}/connectorConfigs/{connector_config\}
6211
+ */
6212
+ name?: string;
6213
+ /**
6214
+ * Optional. The update mask that can be used to specify which fields to update.
6215
+ */
6216
+ updateMask?: string;
6217
+ /**
6218
+ * Request body metadata
6219
+ */
6220
+ requestBody?: Schema$GoogleChromeManagementVersionsV1ConnectorConfig;
6221
+ }
6222
+ export class Resource$Customers$Enrollmenttokens {
6223
+ context: APIRequestContext;
6224
+ constructor(context: APIRequestContext);
6225
+ /**
6226
+ * Creates a new enrollment token for a browser device. Creation fails if there is already an active token for this customer under the same org unit.
6227
+ * @example
6228
+ * ```js
6229
+ * // Before running the sample:
6230
+ * // - Enable the API at:
6231
+ * // https://console.developers.google.com/apis/api/chromemanagement.googleapis.com
6232
+ * // - Login into gcloud by running:
6233
+ * // ```sh
6234
+ * // $ gcloud auth application-default login
6235
+ * // ```
6236
+ * // - Install the npm module by running:
6237
+ * // ```sh
6238
+ * // $ npm install googleapis
6239
+ * // ```
6240
+ *
6241
+ * const {google} = require('googleapis');
6242
+ * const chromemanagement = google.chromemanagement('v1');
6243
+ *
6244
+ * async function main() {
6245
+ * const auth = new google.auth.GoogleAuth({
6246
+ * // Scopes can be specified either as an array or as a single, space-delimited string.
6247
+ * scopes: [],
6248
+ * });
6249
+ *
6250
+ * // Acquire an auth client, and bind it to all future calls
6251
+ * const authClient = await auth.getClient();
6252
+ * google.options({auth: authClient});
6253
+ *
6254
+ * // Do the magic
6255
+ * const res = await chromemanagement.customers.enrollmentTokens.create({
6256
+ * // Optional. The ID to use for the enrollment token, which will become the final component of the enrollment token's resource name. This value must be local-unique under the customer and is optional. If not provided, it will be auto-generated. If provided, it must be 1-63 characters long and match the regular expression `[a-zA-Z0-9._-]+`.
6257
+ * enrollmentTokenId: 'placeholder-value',
6258
+ * // Required. The parent resource where this enrollment token will be created. Format: customers/{customer\}
6259
+ * parent: 'customers/my-customer',
6260
+ *
6261
+ * // Request body metadata
6262
+ * requestBody: {
6263
+ * // request body parameters
6264
+ * // {
6265
+ * // "createTime": "my_createTime",
6266
+ * // "creatorId": "my_creatorId",
6267
+ * // "customerId": "my_customerId",
6268
+ * // "name": "my_name",
6269
+ * // "orgUnitId": "my_orgUnitId",
6270
+ * // "revokeTime": "my_revokeTime",
6271
+ * // "revokerId": "my_revokerId",
6272
+ * // "state": "my_state",
6273
+ * // "token": "my_token",
6274
+ * // "tokenPermanentId": "my_tokenPermanentId",
6275
+ * // "tokenType": "my_tokenType"
6276
+ * // }
6277
+ * },
6278
+ * });
6279
+ * console.log(res.data);
6280
+ *
6281
+ * // Example response
6282
+ * // {
6283
+ * // "createTime": "my_createTime",
6284
+ * // "creatorId": "my_creatorId",
6285
+ * // "customerId": "my_customerId",
6286
+ * // "name": "my_name",
6287
+ * // "orgUnitId": "my_orgUnitId",
6288
+ * // "revokeTime": "my_revokeTime",
6289
+ * // "revokerId": "my_revokerId",
6290
+ * // "state": "my_state",
6291
+ * // "token": "my_token",
6292
+ * // "tokenPermanentId": "my_tokenPermanentId",
6293
+ * // "tokenType": "my_tokenType"
6294
+ * // }
6295
+ * }
6296
+ *
6297
+ * main().catch(e => {
6298
+ * console.error(e);
6299
+ * throw e;
6300
+ * });
6301
+ *
6302
+ * ```
6303
+ *
6304
+ * @param params - Parameters for request
6305
+ * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
6306
+ * @param callback - Optional callback that handles the response.
6307
+ * @returns A promise if used with async/await, or void if used with a callback.
6308
+ */
6309
+ create(params: Params$Resource$Customers$Enrollmenttokens$Create, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
6310
+ create(params?: Params$Resource$Customers$Enrollmenttokens$Create, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$GoogleChromeManagementVersionsV1EnrollmentToken>>;
6311
+ create(params: Params$Resource$Customers$Enrollmenttokens$Create, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
6312
+ create(params: Params$Resource$Customers$Enrollmenttokens$Create, options: MethodOptions | BodyResponseCallback<Schema$GoogleChromeManagementVersionsV1EnrollmentToken>, callback: BodyResponseCallback<Schema$GoogleChromeManagementVersionsV1EnrollmentToken>): void;
6313
+ create(params: Params$Resource$Customers$Enrollmenttokens$Create, callback: BodyResponseCallback<Schema$GoogleChromeManagementVersionsV1EnrollmentToken>): void;
6314
+ create(callback: BodyResponseCallback<Schema$GoogleChromeManagementVersionsV1EnrollmentToken>): void;
6315
+ /**
6316
+ * Gets a browser device enrollment token.
6317
+ * @example
6318
+ * ```js
6319
+ * // Before running the sample:
6320
+ * // - Enable the API at:
6321
+ * // https://console.developers.google.com/apis/api/chromemanagement.googleapis.com
6322
+ * // - Login into gcloud by running:
6323
+ * // ```sh
6324
+ * // $ gcloud auth application-default login
6325
+ * // ```
6326
+ * // - Install the npm module by running:
6327
+ * // ```sh
6328
+ * // $ npm install googleapis
6329
+ * // ```
6330
+ *
6331
+ * const {google} = require('googleapis');
6332
+ * const chromemanagement = google.chromemanagement('v1');
6333
+ *
6334
+ * async function main() {
6335
+ * const auth = new google.auth.GoogleAuth({
6336
+ * // Scopes can be specified either as an array or as a single, space-delimited string.
6337
+ * scopes: [],
6338
+ * });
6339
+ *
6340
+ * // Acquire an auth client, and bind it to all future calls
6341
+ * const authClient = await auth.getClient();
6342
+ * google.options({auth: authClient});
6343
+ *
6344
+ * // Do the magic
6345
+ * const res = await chromemanagement.customers.enrollmentTokens.get({
6346
+ * // Required. The name of the enrollment token to retrieve. Format: customers/{customer\}/enrollmentTokens/{token_permanent_id\}
6347
+ * name: 'customers/my-customer/enrollmentTokens/my-enrollmentToken',
6348
+ * });
6349
+ * console.log(res.data);
6350
+ *
6351
+ * // Example response
6352
+ * // {
6353
+ * // "createTime": "my_createTime",
6354
+ * // "creatorId": "my_creatorId",
6355
+ * // "customerId": "my_customerId",
6356
+ * // "name": "my_name",
6357
+ * // "orgUnitId": "my_orgUnitId",
6358
+ * // "revokeTime": "my_revokeTime",
6359
+ * // "revokerId": "my_revokerId",
6360
+ * // "state": "my_state",
6361
+ * // "token": "my_token",
6362
+ * // "tokenPermanentId": "my_tokenPermanentId",
6363
+ * // "tokenType": "my_tokenType"
6364
+ * // }
6365
+ * }
6366
+ *
6367
+ * main().catch(e => {
6368
+ * console.error(e);
6369
+ * throw e;
6370
+ * });
6371
+ *
6372
+ * ```
6373
+ *
6374
+ * @param params - Parameters for request
6375
+ * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
6376
+ * @param callback - Optional callback that handles the response.
6377
+ * @returns A promise if used with async/await, or void if used with a callback.
6378
+ */
6379
+ get(params: Params$Resource$Customers$Enrollmenttokens$Get, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
6380
+ get(params?: Params$Resource$Customers$Enrollmenttokens$Get, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$GoogleChromeManagementVersionsV1EnrollmentToken>>;
6381
+ get(params: Params$Resource$Customers$Enrollmenttokens$Get, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
6382
+ get(params: Params$Resource$Customers$Enrollmenttokens$Get, options: MethodOptions | BodyResponseCallback<Schema$GoogleChromeManagementVersionsV1EnrollmentToken>, callback: BodyResponseCallback<Schema$GoogleChromeManagementVersionsV1EnrollmentToken>): void;
6383
+ get(params: Params$Resource$Customers$Enrollmenttokens$Get, callback: BodyResponseCallback<Schema$GoogleChromeManagementVersionsV1EnrollmentToken>): void;
6384
+ get(callback: BodyResponseCallback<Schema$GoogleChromeManagementVersionsV1EnrollmentToken>): void;
6385
+ /**
6386
+ * Lists all browser device enrollment tokens.
6387
+ * @example
6388
+ * ```js
6389
+ * // Before running the sample:
6390
+ * // - Enable the API at:
6391
+ * // https://console.developers.google.com/apis/api/chromemanagement.googleapis.com
6392
+ * // - Login into gcloud by running:
6393
+ * // ```sh
6394
+ * // $ gcloud auth application-default login
6395
+ * // ```
6396
+ * // - Install the npm module by running:
6397
+ * // ```sh
6398
+ * // $ npm install googleapis
6399
+ * // ```
6400
+ *
6401
+ * const {google} = require('googleapis');
6402
+ * const chromemanagement = google.chromemanagement('v1');
6403
+ *
6404
+ * async function main() {
6405
+ * const auth = new google.auth.GoogleAuth({
6406
+ * // Scopes can be specified either as an array or as a single, space-delimited string.
6407
+ * scopes: [],
6408
+ * });
6409
+ *
6410
+ * // Acquire an auth client, and bind it to all future calls
6411
+ * const authClient = await auth.getClient();
6412
+ * google.options({auth: authClient});
6413
+ *
6414
+ * // Do the magic
6415
+ * const res = await chromemanagement.customers.enrollmentTokens.list({
6416
+ * // Optional. Filter to apply to list results. The following fields can be used in the filter: * device_type (currently only 'CHROME_BROWSER' is supported) * token_state (supported values: 'ACTIVE', 'EXPIRED', 'REVOKED') * org_unit_path The full path of the org unit, such as /Montreal/Sales. * org_unit_id The obfuscated id of the org unit, not the full path.
6417
+ * filter: 'placeholder-value',
6418
+ * // Optional. Maximum number of results to return. Maximum and default are 100.
6419
+ * pageSize: 'placeholder-value',
6420
+ * // Optional. Token to specify next page in the list.
6421
+ * pageToken: 'placeholder-value',
6422
+ * // Required. The parent resource where this enrollment token will be created. Format: customers/{customer\}
6423
+ * parent: 'customers/my-customer',
6424
+ * });
6425
+ * console.log(res.data);
6426
+ *
6427
+ * // Example response
6428
+ * // {
6429
+ * // "enrollmentTokens": [],
6430
+ * // "nextPageToken": "my_nextPageToken"
6431
+ * // }
6432
+ * }
6433
+ *
6434
+ * main().catch(e => {
6435
+ * console.error(e);
6436
+ * throw e;
6437
+ * });
6438
+ *
6439
+ * ```
6440
+ *
6441
+ * @param params - Parameters for request
6442
+ * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
6443
+ * @param callback - Optional callback that handles the response.
6444
+ * @returns A promise if used with async/await, or void if used with a callback.
6445
+ */
6446
+ list(params: Params$Resource$Customers$Enrollmenttokens$List, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
6447
+ list(params?: Params$Resource$Customers$Enrollmenttokens$List, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$GoogleChromeManagementVersionsV1ListEnrollmentTokensResponse>>;
6448
+ list(params: Params$Resource$Customers$Enrollmenttokens$List, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
6449
+ list(params: Params$Resource$Customers$Enrollmenttokens$List, options: MethodOptions | BodyResponseCallback<Schema$GoogleChromeManagementVersionsV1ListEnrollmentTokensResponse>, callback: BodyResponseCallback<Schema$GoogleChromeManagementVersionsV1ListEnrollmentTokensResponse>): void;
6450
+ list(params: Params$Resource$Customers$Enrollmenttokens$List, callback: BodyResponseCallback<Schema$GoogleChromeManagementVersionsV1ListEnrollmentTokensResponse>): void;
6451
+ list(callback: BodyResponseCallback<Schema$GoogleChromeManagementVersionsV1ListEnrollmentTokensResponse>): void;
6452
+ /**
6453
+ * Revokes a browser device enrollment token.
6454
+ * @example
6455
+ * ```js
6456
+ * // Before running the sample:
6457
+ * // - Enable the API at:
6458
+ * // https://console.developers.google.com/apis/api/chromemanagement.googleapis.com
6459
+ * // - Login into gcloud by running:
6460
+ * // ```sh
6461
+ * // $ gcloud auth application-default login
6462
+ * // ```
6463
+ * // - Install the npm module by running:
6464
+ * // ```sh
6465
+ * // $ npm install googleapis
6466
+ * // ```
6467
+ *
6468
+ * const {google} = require('googleapis');
6469
+ * const chromemanagement = google.chromemanagement('v1');
6470
+ *
6471
+ * async function main() {
6472
+ * const auth = new google.auth.GoogleAuth({
6473
+ * // Scopes can be specified either as an array or as a single, space-delimited string.
6474
+ * scopes: [],
6475
+ * });
6476
+ *
6477
+ * // Acquire an auth client, and bind it to all future calls
6478
+ * const authClient = await auth.getClient();
6479
+ * google.options({auth: authClient});
6480
+ *
6481
+ * // Do the magic
6482
+ * const res = await chromemanagement.customers.enrollmentTokens.revoke({
6483
+ * // Required. The name of the enrollment token to revoke. Format: customers/{customer\}/enrollmentTokens/{token_permanent_id\}
6484
+ * name: 'customers/my-customer/enrollmentTokens/my-enrollmentToken',
6485
+ *
6486
+ * // Request body metadata
6487
+ * requestBody: {
6488
+ * // request body parameters
6489
+ * // {}
6490
+ * },
6491
+ * });
6492
+ * console.log(res.data);
6493
+ *
6494
+ * // Example response
6495
+ * // {
6496
+ * // "createTime": "my_createTime",
6497
+ * // "creatorId": "my_creatorId",
6498
+ * // "customerId": "my_customerId",
6499
+ * // "name": "my_name",
6500
+ * // "orgUnitId": "my_orgUnitId",
6501
+ * // "revokeTime": "my_revokeTime",
6502
+ * // "revokerId": "my_revokerId",
6503
+ * // "state": "my_state",
6504
+ * // "token": "my_token",
6505
+ * // "tokenPermanentId": "my_tokenPermanentId",
6506
+ * // "tokenType": "my_tokenType"
6507
+ * // }
6508
+ * }
6509
+ *
6510
+ * main().catch(e => {
6511
+ * console.error(e);
6512
+ * throw e;
6513
+ * });
6514
+ *
6515
+ * ```
6516
+ *
6517
+ * @param params - Parameters for request
6518
+ * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
6519
+ * @param callback - Optional callback that handles the response.
6520
+ * @returns A promise if used with async/await, or void if used with a callback.
6521
+ */
6522
+ revoke(params: Params$Resource$Customers$Enrollmenttokens$Revoke, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
6523
+ revoke(params?: Params$Resource$Customers$Enrollmenttokens$Revoke, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$GoogleChromeManagementVersionsV1EnrollmentToken>>;
6524
+ revoke(params: Params$Resource$Customers$Enrollmenttokens$Revoke, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
6525
+ revoke(params: Params$Resource$Customers$Enrollmenttokens$Revoke, options: MethodOptions | BodyResponseCallback<Schema$GoogleChromeManagementVersionsV1EnrollmentToken>, callback: BodyResponseCallback<Schema$GoogleChromeManagementVersionsV1EnrollmentToken>): void;
6526
+ revoke(params: Params$Resource$Customers$Enrollmenttokens$Revoke, callback: BodyResponseCallback<Schema$GoogleChromeManagementVersionsV1EnrollmentToken>): void;
6527
+ revoke(callback: BodyResponseCallback<Schema$GoogleChromeManagementVersionsV1EnrollmentToken>): void;
6528
+ }
6529
+ export interface Params$Resource$Customers$Enrollmenttokens$Create extends StandardParameters {
6530
+ /**
6531
+ * Optional. The ID to use for the enrollment token, which will become the final component of the enrollment token's resource name. This value must be local-unique under the customer and is optional. If not provided, it will be auto-generated. If provided, it must be 1-63 characters long and match the regular expression `[a-zA-Z0-9._-]+`.
6532
+ */
6533
+ enrollmentTokenId?: string;
6534
+ /**
6535
+ * Required. The parent resource where this enrollment token will be created. Format: customers/{customer\}
6536
+ */
6537
+ parent?: string;
6538
+ /**
6539
+ * Request body metadata
6540
+ */
6541
+ requestBody?: Schema$GoogleChromeManagementVersionsV1EnrollmentToken;
6542
+ }
6543
+ export interface Params$Resource$Customers$Enrollmenttokens$Get extends StandardParameters {
6544
+ /**
6545
+ * Required. The name of the enrollment token to retrieve. Format: customers/{customer\}/enrollmentTokens/{token_permanent_id\}
6546
+ */
6547
+ name?: string;
6548
+ }
6549
+ export interface Params$Resource$Customers$Enrollmenttokens$List extends StandardParameters {
6550
+ /**
6551
+ * Optional. Filter to apply to list results. The following fields can be used in the filter: * device_type (currently only 'CHROME_BROWSER' is supported) * token_state (supported values: 'ACTIVE', 'EXPIRED', 'REVOKED') * org_unit_path The full path of the org unit, such as /Montreal/Sales. * org_unit_id The obfuscated id of the org unit, not the full path.
6552
+ */
6553
+ filter?: string;
6554
+ /**
6555
+ * Optional. Maximum number of results to return. Maximum and default are 100.
6556
+ */
6557
+ pageSize?: number;
6558
+ /**
6559
+ * Optional. Token to specify next page in the list.
6560
+ */
6561
+ pageToken?: string;
6562
+ /**
6563
+ * Required. The parent resource where this enrollment token will be created. Format: customers/{customer\}
6564
+ */
6565
+ parent?: string;
6566
+ }
6567
+ export interface Params$Resource$Customers$Enrollmenttokens$Revoke extends StandardParameters {
6568
+ /**
6569
+ * Required. The name of the enrollment token to revoke. Format: customers/{customer\}/enrollmentTokens/{token_permanent_id\}
6570
+ */
6571
+ name?: string;
6572
+ /**
6573
+ * Request body metadata
6574
+ */
6575
+ requestBody?: Schema$GoogleChromeManagementVersionsV1RevokeEnrollmentTokenRequest;
5259
6576
  }
5260
6577
  export class Resource$Customers$Enterprise {
5261
6578
  context: APIRequestContext;