@googleapis/chromemanagement 25.1.0 → 26.0.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/build/v1.d.ts CHANGED
@@ -101,6 +101,10 @@ export declare namespace chromemanagement_v1 {
101
101
  * Output only. Unique store identifier for the item. Examples: "gmbmikajjgmnabiglmofipeabaddhgne" for the Save to Google Drive Chrome extension, "com.google.android.apps.docs" for the Google Drive Android app.
102
102
  */
103
103
  appId?: string | null;
104
+ /**
105
+ * Output only. The category IDs of the app, which are the same as stored in the Web Store item. It's expected that there is only one category ID.
106
+ */
107
+ categoryIds?: string[] | null;
104
108
  /**
105
109
  * Output only. Chrome Web Store app information.
106
110
  */
@@ -1087,6 +1091,23 @@ export declare namespace chromemanagement_v1 {
1087
1091
  */
1088
1092
  totalSize?: number | null;
1089
1093
  }
1094
+ /**
1095
+ * Response containing a list of profiles with queried app installed.
1096
+ */
1097
+ export interface Schema$GoogleChromeManagementV1FindInstalledAppProfilesResponse {
1098
+ /**
1099
+ * Token to specify the next page of the request.
1100
+ */
1101
+ nextPageToken?: string | null;
1102
+ /**
1103
+ * A list of profiles which have the app installed. Sorted in ascending alphabetical order on the profile.Email field.
1104
+ */
1105
+ profiles?: Schema$GoogleChromeManagementV1ProfileAppInstallInstance[];
1106
+ /**
1107
+ * Total number of profiles matching request.
1108
+ */
1109
+ totalSize?: number | null;
1110
+ }
1090
1111
  /**
1091
1112
  * Information of a graphics adapter (GPU).
1092
1113
  */
@@ -1590,6 +1611,27 @@ export declare namespace chromemanagement_v1 {
1590
1611
  */
1591
1612
  userId?: string | null;
1592
1613
  }
1614
+ /**
1615
+ * Describes a profile reporting Chrome Profile information.
1616
+ */
1617
+ export interface Schema$GoogleChromeManagementV1ProfileAppInstallInstance {
1618
+ /**
1619
+ * Output only. The email of the profile.
1620
+ */
1621
+ email?: string | null;
1622
+ /**
1623
+ * Output only. The Chrome client side profile ID.
1624
+ */
1625
+ profileId?: string | null;
1626
+ /**
1627
+ * Output only. The organizational unit id of the profile.
1628
+ */
1629
+ profileOrgUnitId?: string | null;
1630
+ /**
1631
+ * Output only. Profile permanent ID is the unique identifier of a profile within one customer.
1632
+ */
1633
+ profilePermanentId?: string | null;
1634
+ }
1593
1635
  /**
1594
1636
  * Risk assessment for a Chrome extension.
1595
1637
  */
@@ -2422,6 +2464,15 @@ export declare namespace chromemanagement_v1 {
2422
2464
  */
2423
2465
  subjectPublicKeyInfo?: string | null;
2424
2466
  }
2467
+ /**
2468
+ * Response from checking the enablement status of insights for the customer.
2469
+ */
2470
+ export interface Schema$GoogleChromeManagementVersionsV1CheckEnablementStatusResponse {
2471
+ /**
2472
+ * The state of the insights feature.
2473
+ */
2474
+ insightsState?: string | null;
2475
+ }
2425
2476
  /**
2426
2477
  * A representation of a Chrome browser profile.
2427
2478
  */
@@ -2631,6 +2682,144 @@ export declare namespace chromemanagement_v1 {
2631
2682
  */
2632
2683
  export interface Schema$GoogleChromeManagementVersionsV1ClaimCertificateProvisioningProcessResponse {
2633
2684
  }
2685
+ /**
2686
+ * A representation of a connector config.
2687
+ */
2688
+ export interface Schema$GoogleChromeManagementVersionsV1ConnectorConfig {
2689
+ /**
2690
+ * Required. The details of the connector config.
2691
+ */
2692
+ details?: Schema$GoogleChromeManagementVersionsV1ConnectorConfigDetails;
2693
+ /**
2694
+ * Required. The display name of the config.
2695
+ */
2696
+ displayName?: string | null;
2697
+ /**
2698
+ * Identifier. Format: customers/{customer\}/connectorConfigs/{connector_config\}
2699
+ */
2700
+ name?: string | null;
2701
+ /**
2702
+ * Output only. The status of the connector config.
2703
+ */
2704
+ status?: Schema$GoogleChromeManagementVersionsV1ConnectorConfigStatus;
2705
+ /**
2706
+ * Required. The type of the connector.
2707
+ */
2708
+ type?: string | null;
2709
+ }
2710
+ /**
2711
+ * The details of the connector config.
2712
+ */
2713
+ export interface Schema$GoogleChromeManagementVersionsV1ConnectorConfigDetails {
2714
+ /**
2715
+ * CrowdStrike connector config.
2716
+ */
2717
+ crowdStrikeConfig?: Schema$GoogleChromeManagementVersionsV1CrowdStrikeConfig;
2718
+ /**
2719
+ * CrowdStrike Falcon Next Gen connector config.
2720
+ */
2721
+ crowdStrikeFalconNextGenConfig?: Schema$GoogleChromeManagementVersionsV1CrowdStrikeFalconNextGenConfig;
2722
+ /**
2723
+ * CrowdStrike XDR connector config.
2724
+ */
2725
+ crowdStrikeXdrConfig?: Schema$GoogleChromeManagementVersionsV1CrowdStrikeXdrConfig;
2726
+ /**
2727
+ * Device trust connector config.
2728
+ */
2729
+ deviceTrustConfig?: Schema$GoogleChromeManagementVersionsV1DeviceTrustConfig;
2730
+ /**
2731
+ * Google SecOps connector config.
2732
+ */
2733
+ googleSecOpsConfig?: Schema$GoogleChromeManagementVersionsV1GoogleSecOpsConfig;
2734
+ /**
2735
+ * MIP label connector config.
2736
+ */
2737
+ mipLabelConfig?: Schema$GoogleChromeManagementVersionsV1MipLabelConfig;
2738
+ /**
2739
+ * Palo Alto Networks connector config.
2740
+ */
2741
+ paloAltoNetworksConfig?: Schema$GoogleChromeManagementVersionsV1PaloAltoNetworksConfig;
2742
+ /**
2743
+ * Pub/Sub connector config.
2744
+ */
2745
+ pubSubConfig?: Schema$GoogleChromeManagementVersionsV1PubSubConfig;
2746
+ /**
2747
+ * Pub/Sub XDR connector config.
2748
+ */
2749
+ pubSubXdrConfig?: Schema$GoogleChromeManagementVersionsV1PubSubXdrConfig;
2750
+ /**
2751
+ * Splunk connector config.
2752
+ */
2753
+ splunkConfig?: Schema$GoogleChromeManagementVersionsV1SplunkConfig;
2754
+ }
2755
+ /**
2756
+ * The status of the connector config.
2757
+ */
2758
+ export interface Schema$GoogleChromeManagementVersionsV1ConnectorConfigStatus {
2759
+ /**
2760
+ * Output only. Field recording time of the earliest failure since the last success event. This field is only set when the state is `DISABLED_BY_FAILURES`.
2761
+ */
2762
+ failureStartTime?: string | null;
2763
+ /**
2764
+ * Output only. The state of the connector config. The connector state is disabled if the connector has not successfully sent an event in the last 24 hours.
2765
+ */
2766
+ state?: string | null;
2767
+ /**
2768
+ * Output only. Field recording time of most recent modification of the status. For `ENABLED`, this is the time the status was changed to `ENABLED`. For `DISABLED_BY_FAILURES`, this is the time of the most recent failed attempt to send an event to this config.
2769
+ */
2770
+ updateTime?: string | null;
2771
+ }
2772
+ /**
2773
+ * CrowdStrike connector config.
2774
+ */
2775
+ export interface Schema$GoogleChromeManagementVersionsV1CrowdStrikeConfig {
2776
+ /**
2777
+ * Required. Input only. API key to use on the ingestion API.
2778
+ */
2779
+ apiKey?: string | null;
2780
+ /**
2781
+ * Required. Host to identify the customer specific server to receive the events.
2782
+ */
2783
+ host?: string | null;
2784
+ /**
2785
+ * Required. The reporting settings for the CrowdStrike config.
2786
+ */
2787
+ reportingSettings?: Schema$GoogleChromeManagementVersionsV1ReportingSettings;
2788
+ }
2789
+ /**
2790
+ * CrowdStrike Falcon Next Gen connector config.
2791
+ */
2792
+ export interface Schema$GoogleChromeManagementVersionsV1CrowdStrikeFalconNextGenConfig {
2793
+ /**
2794
+ * Required. Input only. API key to use on the ingestion API.
2795
+ */
2796
+ apiKey?: string | null;
2797
+ /**
2798
+ * Required. Host to identify the customer specific server to receive the events.
2799
+ */
2800
+ host?: string | null;
2801
+ /**
2802
+ * Required. The reporting settings for the CrowdStrike Falcon Next Gen config.
2803
+ */
2804
+ reportingSettings?: Schema$GoogleChromeManagementVersionsV1ReportingSettings;
2805
+ }
2806
+ /**
2807
+ * CrowdStrike XDR connector config.
2808
+ */
2809
+ export interface Schema$GoogleChromeManagementVersionsV1CrowdStrikeXdrConfig {
2810
+ /**
2811
+ * Required. Input only. API key to use on the ingestion API.
2812
+ */
2813
+ apiKey?: string | null;
2814
+ /**
2815
+ * Required. Host to identify the customer specific server to receive the events.
2816
+ */
2817
+ host?: string | null;
2818
+ /**
2819
+ * Required. The XDR settings for the CrowdStrike XDR config.
2820
+ */
2821
+ xdrSettings?: Schema$GoogleChromeManagementVersionsV1XdrSettings;
2822
+ }
2634
2823
  /**
2635
2824
  * Information of a device that runs a Chrome browser profile.
2636
2825
  */
@@ -2652,6 +2841,59 @@ export declare namespace chromemanagement_v1 {
2652
2841
  */
2653
2842
  machine?: string | null;
2654
2843
  }
2844
+ /**
2845
+ * Device trust config for device trust connectors.
2846
+ */
2847
+ export interface Schema$GoogleChromeManagementVersionsV1DeviceTrustConfig {
2848
+ /**
2849
+ * Required. The scope at which this configuration will be applied. Note that this only applies to Chrome browser, as in ChromeOS it's always applied.
2850
+ */
2851
+ scope?: string | null;
2852
+ /**
2853
+ * Required. A list of email addresses of the service accounts which are allowed to call the Verified Access API with full access.
2854
+ */
2855
+ serviceAccounts?: string[] | null;
2856
+ /**
2857
+ * Optional. The service provider for the device trust connector.
2858
+ */
2859
+ serviceProvider?: string | null;
2860
+ /**
2861
+ * Required. List of URLs allowed to be part of the attestation flow to get the set of signals from the machine. URLs must have HTTPS scheme, e.g. "https://example.com". Wildcards, *, are allowed. For detailed information on valid URL patterns, please see https://cloud.google.com/docs/chrome-enterprise/policies/url-patterns.
2862
+ */
2863
+ urlMatchers?: string[] | null;
2864
+ }
2865
+ /**
2866
+ * Request to disable insights for the customer.
2867
+ */
2868
+ export interface Schema$GoogleChromeManagementVersionsV1DisableInsightsRequest {
2869
+ }
2870
+ /**
2871
+ * Response from disabling insights for the customer.
2872
+ */
2873
+ export interface Schema$GoogleChromeManagementVersionsV1DisableInsightsResponse {
2874
+ /**
2875
+ * The state of the insights feature.
2876
+ */
2877
+ insightsState?: string | null;
2878
+ }
2879
+ /**
2880
+ * Request to enable insights for the customer.
2881
+ */
2882
+ export interface Schema$GoogleChromeManagementVersionsV1EnableInsightsRequest {
2883
+ /**
2884
+ * Optional. The Organizational Units to set up required connectors for. Organizational Units are provided as paths relative to root. If this field is not set, connectors will be set up at root OU (as if it were set to ["/"]). Example: ["/corp/sales", "/eng"]
2885
+ */
2886
+ targetOus?: string[] | null;
2887
+ }
2888
+ /**
2889
+ * Response from enabling insights for the customer.
2890
+ */
2891
+ export interface Schema$GoogleChromeManagementVersionsV1EnableInsightsResponse {
2892
+ /**
2893
+ * The state of the insights feature.
2894
+ */
2895
+ insightsState?: string | null;
2896
+ }
2655
2897
  /**
2656
2898
  * Describes a generic Certificate Authority Connection.
2657
2899
  */
@@ -2670,6 +2912,23 @@ export declare namespace chromemanagement_v1 {
2670
2912
  */
2671
2913
  profileAdapterConfigReference?: string | null;
2672
2914
  }
2915
+ /**
2916
+ * Google SecOps connector config.
2917
+ */
2918
+ export interface Schema$GoogleChromeManagementVersionsV1GoogleSecOpsConfig {
2919
+ /**
2920
+ * Required. Input only. API key to use on the ingestion API.
2921
+ */
2922
+ apiKey?: string | null;
2923
+ /**
2924
+ * 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.
2925
+ */
2926
+ host?: string | null;
2927
+ /**
2928
+ * Required. The reporting settings for the Google SecOps config.
2929
+ */
2930
+ reportingSettings?: Schema$GoogleChromeManagementVersionsV1ReportingSettings;
2931
+ }
2673
2932
  /**
2674
2933
  * Response to ListChromeBrowserProfileCommands method.
2675
2934
  */
@@ -2704,6 +2963,32 @@ export declare namespace chromemanagement_v1 {
2704
2963
  */
2705
2964
  totalSize?: string | null;
2706
2965
  }
2966
+ /**
2967
+ * Response to ListConnectorConfigs method.
2968
+ */
2969
+ export interface Schema$GoogleChromeManagementVersionsV1ListConnectorConfigsResponse {
2970
+ /**
2971
+ * The list of connector configs returned.
2972
+ */
2973
+ connectorConfigs?: Schema$GoogleChromeManagementVersionsV1ConnectorConfig[];
2974
+ /**
2975
+ * The page token used to retrieve the next page of the listing request. If the token is empty, there are no more pages to retrieve.
2976
+ */
2977
+ nextPageToken?: string | null;
2978
+ }
2979
+ /**
2980
+ * MIP label connector config.
2981
+ */
2982
+ export interface Schema$GoogleChromeManagementVersionsV1MipLabelConfig {
2983
+ /**
2984
+ * Optional. Domain can be used optionally for the corner case where one Dasher customer ID maps to multiple Microsoft tenant ID. Each domain can be verified with at most one Microsoft tenant.
2985
+ */
2986
+ domains?: string[] | null;
2987
+ /**
2988
+ * Required. Microsoft tenant ID.
2989
+ */
2990
+ microsoftTenantId?: string | null;
2991
+ }
2707
2992
  /**
2708
2993
  * Request to MoveThirdPartyProfileUser method.
2709
2994
  */
@@ -2722,6 +3007,49 @@ export declare namespace chromemanagement_v1 {
2722
3007
  */
2723
3008
  thirdPartyProfileUser?: Schema$GoogleChromeManagementVersionsV1ThirdPartyProfileUser;
2724
3009
  }
3010
+ /**
3011
+ * Palo Alto Networks connector config.
3012
+ */
3013
+ export interface Schema$GoogleChromeManagementVersionsV1PaloAltoNetworksConfig {
3014
+ /**
3015
+ * Required. Input only. API key to use on the ingestion API.
3016
+ */
3017
+ apiKey?: string | null;
3018
+ /**
3019
+ * Required. Host to identify the customer specific server to receive the events.
3020
+ */
3021
+ host?: string | null;
3022
+ /**
3023
+ * Required. The reporting settings for the Palo Alto Networks config.
3024
+ */
3025
+ reportingSettings?: Schema$GoogleChromeManagementVersionsV1ReportingSettings;
3026
+ }
3027
+ /**
3028
+ * Pub/Sub connector config.
3029
+ */
3030
+ export interface Schema$GoogleChromeManagementVersionsV1PubSubConfig {
3031
+ /**
3032
+ * Required. The reporting settings for the Pub/Sub config.
3033
+ */
3034
+ reportingSettings?: Schema$GoogleChromeManagementVersionsV1ReportingSettings;
3035
+ /**
3036
+ * Required. The full path to the topic to send the event to.
3037
+ */
3038
+ topicFullPath?: string | null;
3039
+ }
3040
+ /**
3041
+ * Pub/Sub XDR connector config.
3042
+ */
3043
+ export interface Schema$GoogleChromeManagementVersionsV1PubSubXdrConfig {
3044
+ /**
3045
+ * Required. The full path to the topic to send the event to.
3046
+ */
3047
+ topicFullPath?: string | null;
3048
+ /**
3049
+ * Required. The XDR settings for the Pub/Sub XDR config.
3050
+ */
3051
+ xdrSettings?: Schema$GoogleChromeManagementVersionsV1XdrSettings;
3052
+ }
2725
3053
  /**
2726
3054
  * Reporting data of a Chrome browser profile.
2727
3055
  */
@@ -2851,6 +3179,23 @@ export declare namespace chromemanagement_v1 {
2851
3179
  */
2852
3180
  value?: string | null;
2853
3181
  }
3182
+ /**
3183
+ * Reporting settings for connector configs.
3184
+ */
3185
+ export interface Schema$GoogleChromeManagementVersionsV1ReportingSettings {
3186
+ /**
3187
+ * Optional. The list of user and browser events that are enabled for this connector. An empty list disables all default events, and using `ALL_DEFAULT_EVENTS` will enable all default events.
3188
+ */
3189
+ enabledDefaultEvents?: string[] | null;
3190
+ /**
3191
+ * Optional. The list of device events that are enabled for this config. An empty list disables all device events, and using `ALL_DEVICE_EVENTS` will enable all device events.
3192
+ */
3193
+ enabledDeviceEvents?: string[] | null;
3194
+ /**
3195
+ * Optional. The list of opt-in events that are enabled for this config. An empty list disables all opt-in events, and using `ALL_OPT_IN_EVENTS` will enable all opt-in events.
3196
+ */
3197
+ enabledOptInEvents?: string[] | null;
3198
+ }
2854
3199
  /**
2855
3200
  * Describes a SCEP Certificate Authority Connection.
2856
3201
  */
@@ -2946,6 +3291,35 @@ export declare namespace chromemanagement_v1 {
2946
3291
  */
2947
3292
  certificateProvisioningProcess?: Schema$GoogleChromeManagementVersionsV1CertificateProvisioningProcess;
2948
3293
  }
3294
+ /**
3295
+ * Splunk connector config.
3296
+ */
3297
+ export interface Schema$GoogleChromeManagementVersionsV1SplunkConfig {
3298
+ /**
3299
+ * Required. Input only. The data input's HTTP Event Collector token to use as an Authorization header.
3300
+ */
3301
+ hecToken?: string | null;
3302
+ /**
3303
+ * Required. Host to identify the customer specific server to receive the events.
3304
+ */
3305
+ host?: string | null;
3306
+ /**
3307
+ * Optional. The port number to use. If not set, the default Splunk port is used.
3308
+ */
3309
+ portNumber?: number | null;
3310
+ /**
3311
+ * Required. The reporting settings for the Splunk config.
3312
+ */
3313
+ reportingSettings?: Schema$GoogleChromeManagementVersionsV1ReportingSettings;
3314
+ /**
3315
+ * Optional. Optional source name to override the default one set in the Splunk admin console.
3316
+ */
3317
+ source?: string | null;
3318
+ /**
3319
+ * Optional. Whether to use an unsecure HTTP scheme. Defaults to false (HTTPS).
3320
+ */
3321
+ unsecureScheme?: boolean | null;
3322
+ }
2949
3323
  /**
2950
3324
  * Describes a subject alternative name.
2951
3325
  */
@@ -2986,6 +3360,15 @@ export declare namespace chromemanagement_v1 {
2986
3360
  */
2987
3361
  export interface Schema$GoogleChromeManagementVersionsV1UploadCertificateResponse {
2988
3362
  }
3363
+ /**
3364
+ * XDR settings for connector configs.
3365
+ */
3366
+ export interface Schema$GoogleChromeManagementVersionsV1XdrSettings {
3367
+ /**
3368
+ * Required. Whether to enable all XDR events.
3369
+ */
3370
+ enableAllXdrEvents?: boolean | null;
3371
+ }
2989
3372
  /**
2990
3373
  * The request message for Operations.CancelOperation.
2991
3374
  */
@@ -3082,6 +3465,8 @@ export declare namespace chromemanagement_v1 {
3082
3465
  context: APIRequestContext;
3083
3466
  apps: Resource$Customers$Apps;
3084
3467
  certificateProvisioningProcesses: Resource$Customers$Certificateprovisioningprocesses;
3468
+ connectorConfigs: Resource$Customers$Connectorconfigs;
3469
+ enterprise: Resource$Customers$Enterprise;
3085
3470
  profiles: Resource$Customers$Profiles;
3086
3471
  reports: Resource$Customers$Reports;
3087
3472
  telemetry: Resource$Customers$Telemetry;
@@ -3424,6 +3809,7 @@ export declare namespace chromemanagement_v1 {
3424
3809
  * // {
3425
3810
  * // "androidAppInfo": {},
3426
3811
  * // "appId": "my_appId",
3812
+ * // "categoryIds": [],
3427
3813
  * // "chromeAppInfo": {},
3428
3814
  * // "description": "my_description",
3429
3815
  * // "detailUri": "my_detailUri",
@@ -3514,6 +3900,7 @@ export declare namespace chromemanagement_v1 {
3514
3900
  * // {
3515
3901
  * // "androidAppInfo": {},
3516
3902
  * // "appId": "my_appId",
3903
+ * // "categoryIds": [],
3517
3904
  * // "chromeAppInfo": {},
3518
3905
  * // "description": "my_description",
3519
3906
  * // "detailUri": "my_detailUri",
@@ -3604,6 +3991,7 @@ export declare namespace chromemanagement_v1 {
3604
3991
  * // {
3605
3992
  * // "androidAppInfo": {},
3606
3993
  * // "appId": "my_appId",
3994
+ * // "categoryIds": [],
3607
3995
  * // "chromeAppInfo": {},
3608
3996
  * // "description": "my_description",
3609
3997
  * // "detailUri": "my_detailUri",
@@ -4131,12 +4519,11 @@ export declare namespace chromemanagement_v1 {
4131
4519
  */
4132
4520
  name?: string;
4133
4521
  }
4134
- export class Resource$Customers$Profiles {
4522
+ export class Resource$Customers$Connectorconfigs {
4135
4523
  context: APIRequestContext;
4136
- commands: Resource$Customers$Profiles$Commands;
4137
4524
  constructor(context: APIRequestContext);
4138
4525
  /**
4139
- * Deletes the data collected from a Chrome browser profile.
4526
+ * Creates a connector config.
4140
4527
  * @example
4141
4528
  * ```js
4142
4529
  * // Before running the sample:
@@ -4157,7 +4544,7 @@ export declare namespace chromemanagement_v1 {
4157
4544
  * async function main() {
4158
4545
  * const auth = new google.auth.GoogleAuth({
4159
4546
  * // Scopes can be specified either as an array or as a single, space-delimited string.
4160
- * scopes: ['https://www.googleapis.com/auth/chrome.management.profiles'],
4547
+ * scopes: [],
4161
4548
  * });
4162
4549
  *
4163
4550
  * // Acquire an auth client, and bind it to all future calls
@@ -4165,14 +4552,34 @@ export declare namespace chromemanagement_v1 {
4165
4552
  * google.options({auth: authClient});
4166
4553
  *
4167
4554
  * // Do the magic
4168
- * const res = await chromemanagement.customers.profiles.delete({
4169
- * // Required. Format: customers/{customer_id\}/profiles/{profile_permanent_id\}
4170
- * name: 'customers/my-customer/profiles/my-profile',
4555
+ * const res = await chromemanagement.customers.connectorConfigs.create({
4556
+ * // 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-63 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.
4557
+ * connectorConfigId: 'placeholder-value',
4558
+ * // Required. Format: customers/{customer\}
4559
+ * parent: 'customers/my-customer',
4560
+ *
4561
+ * // Request body metadata
4562
+ * requestBody: {
4563
+ * // request body parameters
4564
+ * // {
4565
+ * // "details": {},
4566
+ * // "displayName": "my_displayName",
4567
+ * // "name": "my_name",
4568
+ * // "status": {},
4569
+ * // "type": "my_type"
4570
+ * // }
4571
+ * },
4171
4572
  * });
4172
4573
  * console.log(res.data);
4173
4574
  *
4174
4575
  * // Example response
4175
- * // {}
4576
+ * // {
4577
+ * // "details": {},
4578
+ * // "displayName": "my_displayName",
4579
+ * // "name": "my_name",
4580
+ * // "status": {},
4581
+ * // "type": "my_type"
4582
+ * // }
4176
4583
  * }
4177
4584
  *
4178
4585
  * main().catch(e => {
@@ -4187,14 +4594,14 @@ export declare namespace chromemanagement_v1 {
4187
4594
  * @param callback - Optional callback that handles the response.
4188
4595
  * @returns A promise if used with async/await, or void if used with a callback.
4189
4596
  */
4190
- delete(params: Params$Resource$Customers$Profiles$Delete, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
4191
- delete(params?: Params$Resource$Customers$Profiles$Delete, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$GoogleProtobufEmpty>>;
4192
- delete(params: Params$Resource$Customers$Profiles$Delete, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
4193
- delete(params: Params$Resource$Customers$Profiles$Delete, options: MethodOptions | BodyResponseCallback<Schema$GoogleProtobufEmpty>, callback: BodyResponseCallback<Schema$GoogleProtobufEmpty>): void;
4194
- delete(params: Params$Resource$Customers$Profiles$Delete, callback: BodyResponseCallback<Schema$GoogleProtobufEmpty>): void;
4195
- delete(callback: BodyResponseCallback<Schema$GoogleProtobufEmpty>): void;
4597
+ create(params: Params$Resource$Customers$Connectorconfigs$Create, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
4598
+ create(params?: Params$Resource$Customers$Connectorconfigs$Create, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$GoogleChromeManagementVersionsV1ConnectorConfig>>;
4599
+ create(params: Params$Resource$Customers$Connectorconfigs$Create, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
4600
+ create(params: Params$Resource$Customers$Connectorconfigs$Create, options: MethodOptions | BodyResponseCallback<Schema$GoogleChromeManagementVersionsV1ConnectorConfig>, callback: BodyResponseCallback<Schema$GoogleChromeManagementVersionsV1ConnectorConfig>): void;
4601
+ create(params: Params$Resource$Customers$Connectorconfigs$Create, callback: BodyResponseCallback<Schema$GoogleChromeManagementVersionsV1ConnectorConfig>): void;
4602
+ create(callback: BodyResponseCallback<Schema$GoogleChromeManagementVersionsV1ConnectorConfig>): void;
4196
4603
  /**
4197
- * Gets a Chrome browser profile with customer ID and profile permanent ID.
4604
+ * Deletes a connector config.
4198
4605
  * @example
4199
4606
  * ```js
4200
4607
  * // Before running the sample:
@@ -4215,10 +4622,7 @@ export declare namespace chromemanagement_v1 {
4215
4622
  * async function main() {
4216
4623
  * const auth = new google.auth.GoogleAuth({
4217
4624
  * // Scopes can be specified either as an array or as a single, space-delimited string.
4218
- * scopes: [
4219
- * 'https://www.googleapis.com/auth/chrome.management.profiles',
4220
- * 'https://www.googleapis.com/auth/chrome.management.profiles.readonly',
4221
- * ],
4625
+ * scopes: [],
4222
4626
  * });
4223
4627
  *
4224
4628
  * // Acquire an auth client, and bind it to all future calls
@@ -4226,15 +4630,634 @@ export declare namespace chromemanagement_v1 {
4226
4630
  * google.options({auth: authClient});
4227
4631
  *
4228
4632
  * // Do the magic
4229
- * const res = await chromemanagement.customers.profiles.get({
4230
- * // Required. Format: customers/{customer_id\}/profiles/{profile_permanent_id\}
4231
- * name: 'customers/my-customer/profiles/my-profile',
4633
+ * const res = await chromemanagement.customers.connectorConfigs.delete({
4634
+ * // Required. Format: customers/{customer\}/connectorConfigs/{connector_config\}
4635
+ * name: 'customers/my-customer/connectorConfigs/my-connectorConfig',
4232
4636
  * });
4233
4637
  * console.log(res.data);
4234
4638
  *
4235
4639
  * // Example response
4236
- * // {
4237
- * // "affiliationState": "my_affiliationState",
4640
+ * // {}
4641
+ * }
4642
+ *
4643
+ * main().catch(e => {
4644
+ * console.error(e);
4645
+ * throw e;
4646
+ * });
4647
+ *
4648
+ * ```
4649
+ *
4650
+ * @param params - Parameters for request
4651
+ * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
4652
+ * @param callback - Optional callback that handles the response.
4653
+ * @returns A promise if used with async/await, or void if used with a callback.
4654
+ */
4655
+ delete(params: Params$Resource$Customers$Connectorconfigs$Delete, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
4656
+ delete(params?: Params$Resource$Customers$Connectorconfigs$Delete, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$GoogleProtobufEmpty>>;
4657
+ delete(params: Params$Resource$Customers$Connectorconfigs$Delete, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
4658
+ delete(params: Params$Resource$Customers$Connectorconfigs$Delete, options: MethodOptions | BodyResponseCallback<Schema$GoogleProtobufEmpty>, callback: BodyResponseCallback<Schema$GoogleProtobufEmpty>): void;
4659
+ delete(params: Params$Resource$Customers$Connectorconfigs$Delete, callback: BodyResponseCallback<Schema$GoogleProtobufEmpty>): void;
4660
+ delete(callback: BodyResponseCallback<Schema$GoogleProtobufEmpty>): void;
4661
+ /**
4662
+ * Gets a connector config with customer ID and config ID.
4663
+ * @example
4664
+ * ```js
4665
+ * // Before running the sample:
4666
+ * // - Enable the API at:
4667
+ * // https://console.developers.google.com/apis/api/chromemanagement.googleapis.com
4668
+ * // - Login into gcloud by running:
4669
+ * // ```sh
4670
+ * // $ gcloud auth application-default login
4671
+ * // ```
4672
+ * // - Install the npm module by running:
4673
+ * // ```sh
4674
+ * // $ npm install googleapis
4675
+ * // ```
4676
+ *
4677
+ * const {google} = require('googleapis');
4678
+ * const chromemanagement = google.chromemanagement('v1');
4679
+ *
4680
+ * async function main() {
4681
+ * const auth = new google.auth.GoogleAuth({
4682
+ * // Scopes can be specified either as an array or as a single, space-delimited string.
4683
+ * scopes: [],
4684
+ * });
4685
+ *
4686
+ * // Acquire an auth client, and bind it to all future calls
4687
+ * const authClient = await auth.getClient();
4688
+ * google.options({auth: authClient});
4689
+ *
4690
+ * // Do the magic
4691
+ * const res = await chromemanagement.customers.connectorConfigs.get({
4692
+ * // Required. Format: customers/{customer\}/connectorConfigs/{connector_config\}
4693
+ * name: 'customers/my-customer/connectorConfigs/my-connectorConfig',
4694
+ * });
4695
+ * console.log(res.data);
4696
+ *
4697
+ * // Example response
4698
+ * // {
4699
+ * // "details": {},
4700
+ * // "displayName": "my_displayName",
4701
+ * // "name": "my_name",
4702
+ * // "status": {},
4703
+ * // "type": "my_type"
4704
+ * // }
4705
+ * }
4706
+ *
4707
+ * main().catch(e => {
4708
+ * console.error(e);
4709
+ * throw e;
4710
+ * });
4711
+ *
4712
+ * ```
4713
+ *
4714
+ * @param params - Parameters for request
4715
+ * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
4716
+ * @param callback - Optional callback that handles the response.
4717
+ * @returns A promise if used with async/await, or void if used with a callback.
4718
+ */
4719
+ get(params: Params$Resource$Customers$Connectorconfigs$Get, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
4720
+ get(params?: Params$Resource$Customers$Connectorconfigs$Get, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$GoogleChromeManagementVersionsV1ConnectorConfig>>;
4721
+ get(params: Params$Resource$Customers$Connectorconfigs$Get, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
4722
+ get(params: Params$Resource$Customers$Connectorconfigs$Get, options: MethodOptions | BodyResponseCallback<Schema$GoogleChromeManagementVersionsV1ConnectorConfig>, callback: BodyResponseCallback<Schema$GoogleChromeManagementVersionsV1ConnectorConfig>): void;
4723
+ get(params: Params$Resource$Customers$Connectorconfigs$Get, callback: BodyResponseCallback<Schema$GoogleChromeManagementVersionsV1ConnectorConfig>): void;
4724
+ get(callback: BodyResponseCallback<Schema$GoogleChromeManagementVersionsV1ConnectorConfig>): void;
4725
+ /**
4726
+ * Lists connector configs of a customer.
4727
+ * @example
4728
+ * ```js
4729
+ * // Before running the sample:
4730
+ * // - Enable the API at:
4731
+ * // https://console.developers.google.com/apis/api/chromemanagement.googleapis.com
4732
+ * // - Login into gcloud by running:
4733
+ * // ```sh
4734
+ * // $ gcloud auth application-default login
4735
+ * // ```
4736
+ * // - Install the npm module by running:
4737
+ * // ```sh
4738
+ * // $ npm install googleapis
4739
+ * // ```
4740
+ *
4741
+ * const {google} = require('googleapis');
4742
+ * const chromemanagement = google.chromemanagement('v1');
4743
+ *
4744
+ * async function main() {
4745
+ * const auth = new google.auth.GoogleAuth({
4746
+ * // Scopes can be specified either as an array or as a single, space-delimited string.
4747
+ * scopes: [],
4748
+ * });
4749
+ *
4750
+ * // Acquire an auth client, and bind it to all future calls
4751
+ * const authClient = await auth.getClient();
4752
+ * google.options({auth: authClient});
4753
+ *
4754
+ * // Do the magic
4755
+ * const res = await chromemanagement.customers.connectorConfigs.list({
4756
+ * // 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.
4757
+ * pageSize: 'placeholder-value',
4758
+ * // 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.
4759
+ * pageToken: 'placeholder-value',
4760
+ * // Required. Format: customers/{customer\}
4761
+ * parent: 'customers/my-customer',
4762
+ * });
4763
+ * console.log(res.data);
4764
+ *
4765
+ * // Example response
4766
+ * // {
4767
+ * // "connectorConfigs": [],
4768
+ * // "nextPageToken": "my_nextPageToken"
4769
+ * // }
4770
+ * }
4771
+ *
4772
+ * main().catch(e => {
4773
+ * console.error(e);
4774
+ * throw e;
4775
+ * });
4776
+ *
4777
+ * ```
4778
+ *
4779
+ * @param params - Parameters for request
4780
+ * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
4781
+ * @param callback - Optional callback that handles the response.
4782
+ * @returns A promise if used with async/await, or void if used with a callback.
4783
+ */
4784
+ list(params: Params$Resource$Customers$Connectorconfigs$List, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
4785
+ list(params?: Params$Resource$Customers$Connectorconfigs$List, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$GoogleChromeManagementVersionsV1ListConnectorConfigsResponse>>;
4786
+ list(params: Params$Resource$Customers$Connectorconfigs$List, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
4787
+ list(params: Params$Resource$Customers$Connectorconfigs$List, options: MethodOptions | BodyResponseCallback<Schema$GoogleChromeManagementVersionsV1ListConnectorConfigsResponse>, callback: BodyResponseCallback<Schema$GoogleChromeManagementVersionsV1ListConnectorConfigsResponse>): void;
4788
+ list(params: Params$Resource$Customers$Connectorconfigs$List, callback: BodyResponseCallback<Schema$GoogleChromeManagementVersionsV1ListConnectorConfigsResponse>): void;
4789
+ list(callback: BodyResponseCallback<Schema$GoogleChromeManagementVersionsV1ListConnectorConfigsResponse>): void;
4790
+ /**
4791
+ * Updates a connector config.
4792
+ * @example
4793
+ * ```js
4794
+ * // Before running the sample:
4795
+ * // - Enable the API at:
4796
+ * // https://console.developers.google.com/apis/api/chromemanagement.googleapis.com
4797
+ * // - Login into gcloud by running:
4798
+ * // ```sh
4799
+ * // $ gcloud auth application-default login
4800
+ * // ```
4801
+ * // - Install the npm module by running:
4802
+ * // ```sh
4803
+ * // $ npm install googleapis
4804
+ * // ```
4805
+ *
4806
+ * const {google} = require('googleapis');
4807
+ * const chromemanagement = google.chromemanagement('v1');
4808
+ *
4809
+ * async function main() {
4810
+ * const auth = new google.auth.GoogleAuth({
4811
+ * // Scopes can be specified either as an array or as a single, space-delimited string.
4812
+ * scopes: [],
4813
+ * });
4814
+ *
4815
+ * // Acquire an auth client, and bind it to all future calls
4816
+ * const authClient = await auth.getClient();
4817
+ * google.options({auth: authClient});
4818
+ *
4819
+ * // Do the magic
4820
+ * const res = await chromemanagement.customers.connectorConfigs.patch({
4821
+ * // Identifier. Format: customers/{customer\}/connectorConfigs/{connector_config\}
4822
+ * name: 'customers/my-customer/connectorConfigs/my-connectorConfig',
4823
+ * // Optional. The update mask that can be used to specify which fields to update.
4824
+ * updateMask: 'placeholder-value',
4825
+ *
4826
+ * // Request body metadata
4827
+ * requestBody: {
4828
+ * // request body parameters
4829
+ * // {
4830
+ * // "details": {},
4831
+ * // "displayName": "my_displayName",
4832
+ * // "name": "my_name",
4833
+ * // "status": {},
4834
+ * // "type": "my_type"
4835
+ * // }
4836
+ * },
4837
+ * });
4838
+ * console.log(res.data);
4839
+ *
4840
+ * // Example response
4841
+ * // {
4842
+ * // "details": {},
4843
+ * // "displayName": "my_displayName",
4844
+ * // "name": "my_name",
4845
+ * // "status": {},
4846
+ * // "type": "my_type"
4847
+ * // }
4848
+ * }
4849
+ *
4850
+ * main().catch(e => {
4851
+ * console.error(e);
4852
+ * throw e;
4853
+ * });
4854
+ *
4855
+ * ```
4856
+ *
4857
+ * @param params - Parameters for request
4858
+ * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
4859
+ * @param callback - Optional callback that handles the response.
4860
+ * @returns A promise if used with async/await, or void if used with a callback.
4861
+ */
4862
+ patch(params: Params$Resource$Customers$Connectorconfigs$Patch, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
4863
+ patch(params?: Params$Resource$Customers$Connectorconfigs$Patch, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$GoogleChromeManagementVersionsV1ConnectorConfig>>;
4864
+ patch(params: Params$Resource$Customers$Connectorconfigs$Patch, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
4865
+ patch(params: Params$Resource$Customers$Connectorconfigs$Patch, options: MethodOptions | BodyResponseCallback<Schema$GoogleChromeManagementVersionsV1ConnectorConfig>, callback: BodyResponseCallback<Schema$GoogleChromeManagementVersionsV1ConnectorConfig>): void;
4866
+ patch(params: Params$Resource$Customers$Connectorconfigs$Patch, callback: BodyResponseCallback<Schema$GoogleChromeManagementVersionsV1ConnectorConfig>): void;
4867
+ patch(callback: BodyResponseCallback<Schema$GoogleChromeManagementVersionsV1ConnectorConfig>): void;
4868
+ }
4869
+ export interface Params$Resource$Customers$Connectorconfigs$Create extends StandardParameters {
4870
+ /**
4871
+ * 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-63 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.
4872
+ */
4873
+ connectorConfigId?: string;
4874
+ /**
4875
+ * Required. Format: customers/{customer\}
4876
+ */
4877
+ parent?: string;
4878
+ /**
4879
+ * Request body metadata
4880
+ */
4881
+ requestBody?: Schema$GoogleChromeManagementVersionsV1ConnectorConfig;
4882
+ }
4883
+ export interface Params$Resource$Customers$Connectorconfigs$Delete extends StandardParameters {
4884
+ /**
4885
+ * Required. Format: customers/{customer\}/connectorConfigs/{connector_config\}
4886
+ */
4887
+ name?: string;
4888
+ }
4889
+ export interface Params$Resource$Customers$Connectorconfigs$Get extends StandardParameters {
4890
+ /**
4891
+ * Required. Format: customers/{customer\}/connectorConfigs/{connector_config\}
4892
+ */
4893
+ name?: string;
4894
+ }
4895
+ export interface Params$Resource$Customers$Connectorconfigs$List extends StandardParameters {
4896
+ /**
4897
+ * 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.
4898
+ */
4899
+ pageSize?: number;
4900
+ /**
4901
+ * 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.
4902
+ */
4903
+ pageToken?: string;
4904
+ /**
4905
+ * Required. Format: customers/{customer\}
4906
+ */
4907
+ parent?: string;
4908
+ }
4909
+ export interface Params$Resource$Customers$Connectorconfigs$Patch extends StandardParameters {
4910
+ /**
4911
+ * Identifier. Format: customers/{customer\}/connectorConfigs/{connector_config\}
4912
+ */
4913
+ name?: string;
4914
+ /**
4915
+ * Optional. The update mask that can be used to specify which fields to update.
4916
+ */
4917
+ updateMask?: string;
4918
+ /**
4919
+ * Request body metadata
4920
+ */
4921
+ requestBody?: Schema$GoogleChromeManagementVersionsV1ConnectorConfig;
4922
+ }
4923
+ export class Resource$Customers$Enterprise {
4924
+ context: APIRequestContext;
4925
+ securityInsights: Resource$Customers$Enterprise$Securityinsights;
4926
+ constructor(context: APIRequestContext);
4927
+ }
4928
+ export class Resource$Customers$Enterprise$Securityinsights {
4929
+ context: APIRequestContext;
4930
+ constructor(context: APIRequestContext);
4931
+ /**
4932
+ * Gets the setting state of the insights feature for the customer.
4933
+ * @example
4934
+ * ```js
4935
+ * // Before running the sample:
4936
+ * // - Enable the API at:
4937
+ * // https://console.developers.google.com/apis/api/chromemanagement.googleapis.com
4938
+ * // - Login into gcloud by running:
4939
+ * // ```sh
4940
+ * // $ gcloud auth application-default login
4941
+ * // ```
4942
+ * // - Install the npm module by running:
4943
+ * // ```sh
4944
+ * // $ npm install googleapis
4945
+ * // ```
4946
+ *
4947
+ * const {google} = require('googleapis');
4948
+ * const chromemanagement = google.chromemanagement('v1');
4949
+ *
4950
+ * async function main() {
4951
+ * const auth = new google.auth.GoogleAuth({
4952
+ * // Scopes can be specified either as an array or as a single, space-delimited string.
4953
+ * scopes: [],
4954
+ * });
4955
+ *
4956
+ * // Acquire an auth client, and bind it to all future calls
4957
+ * const authClient = await auth.getClient();
4958
+ * google.options({auth: authClient});
4959
+ *
4960
+ * // Do the magic
4961
+ * const res =
4962
+ * await chromemanagement.customers.enterprise.securityInsights.checkEnablementStatus(
4963
+ * {
4964
+ * // Required. The customer to check the enablement status for. Format: customers/{customer_id\}
4965
+ * customer: 'customers/my-customer',
4966
+ * },
4967
+ * );
4968
+ * console.log(res.data);
4969
+ *
4970
+ * // Example response
4971
+ * // {
4972
+ * // "insightsState": "my_insightsState"
4973
+ * // }
4974
+ * }
4975
+ *
4976
+ * main().catch(e => {
4977
+ * console.error(e);
4978
+ * throw e;
4979
+ * });
4980
+ *
4981
+ * ```
4982
+ *
4983
+ * @param params - Parameters for request
4984
+ * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
4985
+ * @param callback - Optional callback that handles the response.
4986
+ * @returns A promise if used with async/await, or void if used with a callback.
4987
+ */
4988
+ checkEnablementStatus(params: Params$Resource$Customers$Enterprise$Securityinsights$Checkenablementstatus, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
4989
+ checkEnablementStatus(params?: Params$Resource$Customers$Enterprise$Securityinsights$Checkenablementstatus, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$GoogleChromeManagementVersionsV1CheckEnablementStatusResponse>>;
4990
+ checkEnablementStatus(params: Params$Resource$Customers$Enterprise$Securityinsights$Checkenablementstatus, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
4991
+ checkEnablementStatus(params: Params$Resource$Customers$Enterprise$Securityinsights$Checkenablementstatus, options: MethodOptions | BodyResponseCallback<Schema$GoogleChromeManagementVersionsV1CheckEnablementStatusResponse>, callback: BodyResponseCallback<Schema$GoogleChromeManagementVersionsV1CheckEnablementStatusResponse>): void;
4992
+ checkEnablementStatus(params: Params$Resource$Customers$Enterprise$Securityinsights$Checkenablementstatus, callback: BodyResponseCallback<Schema$GoogleChromeManagementVersionsV1CheckEnablementStatusResponse>): void;
4993
+ checkEnablementStatus(callback: BodyResponseCallback<Schema$GoogleChromeManagementVersionsV1CheckEnablementStatusResponse>): void;
4994
+ /**
4995
+ * Disables insights for the customer.
4996
+ * @example
4997
+ * ```js
4998
+ * // Before running the sample:
4999
+ * // - Enable the API at:
5000
+ * // https://console.developers.google.com/apis/api/chromemanagement.googleapis.com
5001
+ * // - Login into gcloud by running:
5002
+ * // ```sh
5003
+ * // $ gcloud auth application-default login
5004
+ * // ```
5005
+ * // - Install the npm module by running:
5006
+ * // ```sh
5007
+ * // $ npm install googleapis
5008
+ * // ```
5009
+ *
5010
+ * const {google} = require('googleapis');
5011
+ * const chromemanagement = google.chromemanagement('v1');
5012
+ *
5013
+ * async function main() {
5014
+ * const auth = new google.auth.GoogleAuth({
5015
+ * // Scopes can be specified either as an array or as a single, space-delimited string.
5016
+ * scopes: [],
5017
+ * });
5018
+ *
5019
+ * // Acquire an auth client, and bind it to all future calls
5020
+ * const authClient = await auth.getClient();
5021
+ * google.options({auth: authClient});
5022
+ *
5023
+ * // Do the magic
5024
+ * const res =
5025
+ * await chromemanagement.customers.enterprise.securityInsights.disable({
5026
+ * // Required. The customer to disable insights for. Format: customers/{customer\}
5027
+ * customer: 'customers/my-customer',
5028
+ *
5029
+ * // Request body metadata
5030
+ * requestBody: {
5031
+ * // request body parameters
5032
+ * // {}
5033
+ * },
5034
+ * });
5035
+ * console.log(res.data);
5036
+ *
5037
+ * // Example response
5038
+ * // {
5039
+ * // "insightsState": "my_insightsState"
5040
+ * // }
5041
+ * }
5042
+ *
5043
+ * main().catch(e => {
5044
+ * console.error(e);
5045
+ * throw e;
5046
+ * });
5047
+ *
5048
+ * ```
5049
+ *
5050
+ * @param params - Parameters for request
5051
+ * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
5052
+ * @param callback - Optional callback that handles the response.
5053
+ * @returns A promise if used with async/await, or void if used with a callback.
5054
+ */
5055
+ disable(params: Params$Resource$Customers$Enterprise$Securityinsights$Disable, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
5056
+ disable(params?: Params$Resource$Customers$Enterprise$Securityinsights$Disable, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$GoogleChromeManagementVersionsV1DisableInsightsResponse>>;
5057
+ disable(params: Params$Resource$Customers$Enterprise$Securityinsights$Disable, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
5058
+ disable(params: Params$Resource$Customers$Enterprise$Securityinsights$Disable, options: MethodOptions | BodyResponseCallback<Schema$GoogleChromeManagementVersionsV1DisableInsightsResponse>, callback: BodyResponseCallback<Schema$GoogleChromeManagementVersionsV1DisableInsightsResponse>): void;
5059
+ disable(params: Params$Resource$Customers$Enterprise$Securityinsights$Disable, callback: BodyResponseCallback<Schema$GoogleChromeManagementVersionsV1DisableInsightsResponse>): void;
5060
+ disable(callback: BodyResponseCallback<Schema$GoogleChromeManagementVersionsV1DisableInsightsResponse>): void;
5061
+ /**
5062
+ * Enables insights for the customer and sets up required chrome connectors.
5063
+ * @example
5064
+ * ```js
5065
+ * // Before running the sample:
5066
+ * // - Enable the API at:
5067
+ * // https://console.developers.google.com/apis/api/chromemanagement.googleapis.com
5068
+ * // - Login into gcloud by running:
5069
+ * // ```sh
5070
+ * // $ gcloud auth application-default login
5071
+ * // ```
5072
+ * // - Install the npm module by running:
5073
+ * // ```sh
5074
+ * // $ npm install googleapis
5075
+ * // ```
5076
+ *
5077
+ * const {google} = require('googleapis');
5078
+ * const chromemanagement = google.chromemanagement('v1');
5079
+ *
5080
+ * async function main() {
5081
+ * const auth = new google.auth.GoogleAuth({
5082
+ * // Scopes can be specified either as an array or as a single, space-delimited string.
5083
+ * scopes: [],
5084
+ * });
5085
+ *
5086
+ * // Acquire an auth client, and bind it to all future calls
5087
+ * const authClient = await auth.getClient();
5088
+ * google.options({auth: authClient});
5089
+ *
5090
+ * // Do the magic
5091
+ * const res =
5092
+ * await chromemanagement.customers.enterprise.securityInsights.enable({
5093
+ * // Required. The customer to enable insights for. Format: customers/{customer\}
5094
+ * customer: 'customers/my-customer',
5095
+ *
5096
+ * // Request body metadata
5097
+ * requestBody: {
5098
+ * // request body parameters
5099
+ * // {
5100
+ * // "targetOus": []
5101
+ * // }
5102
+ * },
5103
+ * });
5104
+ * console.log(res.data);
5105
+ *
5106
+ * // Example response
5107
+ * // {
5108
+ * // "insightsState": "my_insightsState"
5109
+ * // }
5110
+ * }
5111
+ *
5112
+ * main().catch(e => {
5113
+ * console.error(e);
5114
+ * throw e;
5115
+ * });
5116
+ *
5117
+ * ```
5118
+ *
5119
+ * @param params - Parameters for request
5120
+ * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
5121
+ * @param callback - Optional callback that handles the response.
5122
+ * @returns A promise if used with async/await, or void if used with a callback.
5123
+ */
5124
+ enable(params: Params$Resource$Customers$Enterprise$Securityinsights$Enable, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
5125
+ enable(params?: Params$Resource$Customers$Enterprise$Securityinsights$Enable, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$GoogleChromeManagementVersionsV1EnableInsightsResponse>>;
5126
+ enable(params: Params$Resource$Customers$Enterprise$Securityinsights$Enable, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
5127
+ enable(params: Params$Resource$Customers$Enterprise$Securityinsights$Enable, options: MethodOptions | BodyResponseCallback<Schema$GoogleChromeManagementVersionsV1EnableInsightsResponse>, callback: BodyResponseCallback<Schema$GoogleChromeManagementVersionsV1EnableInsightsResponse>): void;
5128
+ enable(params: Params$Resource$Customers$Enterprise$Securityinsights$Enable, callback: BodyResponseCallback<Schema$GoogleChromeManagementVersionsV1EnableInsightsResponse>): void;
5129
+ enable(callback: BodyResponseCallback<Schema$GoogleChromeManagementVersionsV1EnableInsightsResponse>): void;
5130
+ }
5131
+ export interface Params$Resource$Customers$Enterprise$Securityinsights$Checkenablementstatus extends StandardParameters {
5132
+ /**
5133
+ * Required. The customer to check the enablement status for. Format: customers/{customer_id\}
5134
+ */
5135
+ customer?: string;
5136
+ }
5137
+ export interface Params$Resource$Customers$Enterprise$Securityinsights$Disable extends StandardParameters {
5138
+ /**
5139
+ * Required. The customer to disable insights for. Format: customers/{customer\}
5140
+ */
5141
+ customer?: string;
5142
+ /**
5143
+ * Request body metadata
5144
+ */
5145
+ requestBody?: Schema$GoogleChromeManagementVersionsV1DisableInsightsRequest;
5146
+ }
5147
+ export interface Params$Resource$Customers$Enterprise$Securityinsights$Enable extends StandardParameters {
5148
+ /**
5149
+ * Required. The customer to enable insights for. Format: customers/{customer\}
5150
+ */
5151
+ customer?: string;
5152
+ /**
5153
+ * Request body metadata
5154
+ */
5155
+ requestBody?: Schema$GoogleChromeManagementVersionsV1EnableInsightsRequest;
5156
+ }
5157
+ export class Resource$Customers$Profiles {
5158
+ context: APIRequestContext;
5159
+ commands: Resource$Customers$Profiles$Commands;
5160
+ constructor(context: APIRequestContext);
5161
+ /**
5162
+ * Deletes the data collected from a Chrome browser profile.
5163
+ * @example
5164
+ * ```js
5165
+ * // Before running the sample:
5166
+ * // - Enable the API at:
5167
+ * // https://console.developers.google.com/apis/api/chromemanagement.googleapis.com
5168
+ * // - Login into gcloud by running:
5169
+ * // ```sh
5170
+ * // $ gcloud auth application-default login
5171
+ * // ```
5172
+ * // - Install the npm module by running:
5173
+ * // ```sh
5174
+ * // $ npm install googleapis
5175
+ * // ```
5176
+ *
5177
+ * const {google} = require('googleapis');
5178
+ * const chromemanagement = google.chromemanagement('v1');
5179
+ *
5180
+ * async function main() {
5181
+ * const auth = new google.auth.GoogleAuth({
5182
+ * // Scopes can be specified either as an array or as a single, space-delimited string.
5183
+ * scopes: ['https://www.googleapis.com/auth/chrome.management.profiles'],
5184
+ * });
5185
+ *
5186
+ * // Acquire an auth client, and bind it to all future calls
5187
+ * const authClient = await auth.getClient();
5188
+ * google.options({auth: authClient});
5189
+ *
5190
+ * // Do the magic
5191
+ * const res = await chromemanagement.customers.profiles.delete({
5192
+ * // Required. Format: customers/{customer_id\}/profiles/{profile_permanent_id\}
5193
+ * name: 'customers/my-customer/profiles/my-profile',
5194
+ * });
5195
+ * console.log(res.data);
5196
+ *
5197
+ * // Example response
5198
+ * // {}
5199
+ * }
5200
+ *
5201
+ * main().catch(e => {
5202
+ * console.error(e);
5203
+ * throw e;
5204
+ * });
5205
+ *
5206
+ * ```
5207
+ *
5208
+ * @param params - Parameters for request
5209
+ * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
5210
+ * @param callback - Optional callback that handles the response.
5211
+ * @returns A promise if used with async/await, or void if used with a callback.
5212
+ */
5213
+ delete(params: Params$Resource$Customers$Profiles$Delete, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
5214
+ delete(params?: Params$Resource$Customers$Profiles$Delete, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$GoogleProtobufEmpty>>;
5215
+ delete(params: Params$Resource$Customers$Profiles$Delete, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
5216
+ delete(params: Params$Resource$Customers$Profiles$Delete, options: MethodOptions | BodyResponseCallback<Schema$GoogleProtobufEmpty>, callback: BodyResponseCallback<Schema$GoogleProtobufEmpty>): void;
5217
+ delete(params: Params$Resource$Customers$Profiles$Delete, callback: BodyResponseCallback<Schema$GoogleProtobufEmpty>): void;
5218
+ delete(callback: BodyResponseCallback<Schema$GoogleProtobufEmpty>): void;
5219
+ /**
5220
+ * Gets a Chrome browser profile with customer ID and profile permanent ID.
5221
+ * @example
5222
+ * ```js
5223
+ * // Before running the sample:
5224
+ * // - Enable the API at:
5225
+ * // https://console.developers.google.com/apis/api/chromemanagement.googleapis.com
5226
+ * // - Login into gcloud by running:
5227
+ * // ```sh
5228
+ * // $ gcloud auth application-default login
5229
+ * // ```
5230
+ * // - Install the npm module by running:
5231
+ * // ```sh
5232
+ * // $ npm install googleapis
5233
+ * // ```
5234
+ *
5235
+ * const {google} = require('googleapis');
5236
+ * const chromemanagement = google.chromemanagement('v1');
5237
+ *
5238
+ * async function main() {
5239
+ * const auth = new google.auth.GoogleAuth({
5240
+ * // Scopes can be specified either as an array or as a single, space-delimited string.
5241
+ * scopes: [
5242
+ * 'https://www.googleapis.com/auth/chrome.management.profiles',
5243
+ * 'https://www.googleapis.com/auth/chrome.management.profiles.readonly',
5244
+ * ],
5245
+ * });
5246
+ *
5247
+ * // Acquire an auth client, and bind it to all future calls
5248
+ * const authClient = await auth.getClient();
5249
+ * google.options({auth: authClient});
5250
+ *
5251
+ * // Do the magic
5252
+ * const res = await chromemanagement.customers.profiles.get({
5253
+ * // Required. Format: customers/{customer_id\}/profiles/{profile_permanent_id\}
5254
+ * name: 'customers/my-customer/profiles/my-profile',
5255
+ * });
5256
+ * console.log(res.data);
5257
+ *
5258
+ * // Example response
5259
+ * // {
5260
+ * // "affiliationState": "my_affiliationState",
4238
5261
  * // "annotatedLocation": "my_annotatedLocation",
4239
5262
  * // "annotatedUser": "my_annotatedUser",
4240
5263
  * // "attestationCredential": {},
@@ -5657,6 +6680,86 @@ export declare namespace chromemanagement_v1 {
5657
6680
  findInstalledAppDevices(params: Params$Resource$Customers$Reports$Findinstalledappdevices, options: MethodOptions | BodyResponseCallback<Schema$GoogleChromeManagementV1FindInstalledAppDevicesResponse>, callback: BodyResponseCallback<Schema$GoogleChromeManagementV1FindInstalledAppDevicesResponse>): void;
5658
6681
  findInstalledAppDevices(params: Params$Resource$Customers$Reports$Findinstalledappdevices, callback: BodyResponseCallback<Schema$GoogleChromeManagementV1FindInstalledAppDevicesResponse>): void;
5659
6682
  findInstalledAppDevices(callback: BodyResponseCallback<Schema$GoogleChromeManagementV1FindInstalledAppDevicesResponse>): void;
6683
+ /**
6684
+ * Generate report of managed Chrome profiles that have a specified app installed.
6685
+ * @example
6686
+ * ```js
6687
+ * // Before running the sample:
6688
+ * // - Enable the API at:
6689
+ * // https://console.developers.google.com/apis/api/chromemanagement.googleapis.com
6690
+ * // - Login into gcloud by running:
6691
+ * // ```sh
6692
+ * // $ gcloud auth application-default login
6693
+ * // ```
6694
+ * // - Install the npm module by running:
6695
+ * // ```sh
6696
+ * // $ npm install googleapis
6697
+ * // ```
6698
+ *
6699
+ * const {google} = require('googleapis');
6700
+ * const chromemanagement = google.chromemanagement('v1');
6701
+ *
6702
+ * async function main() {
6703
+ * const auth = new google.auth.GoogleAuth({
6704
+ * // Scopes can be specified either as an array or as a single, space-delimited string.
6705
+ * scopes: [
6706
+ * 'https://www.googleapis.com/auth/chrome.management.reports.readonly',
6707
+ * ],
6708
+ * });
6709
+ *
6710
+ * // Acquire an auth client, and bind it to all future calls
6711
+ * const authClient = await auth.getClient();
6712
+ * google.options({auth: authClient});
6713
+ *
6714
+ * // Do the magic
6715
+ * const res = await chromemanagement.customers.reports.findInstalledAppProfiles(
6716
+ * {
6717
+ * // Required. Unique identifier of the app. For Chrome apps and extensions, the 32-character id (e.g. ehoadneljpdggcbbknedodolkkjodefl). For Android apps, the package name (e.g. com.evernote).
6718
+ * appId: 'placeholder-value',
6719
+ * // Type of the app. Optional. If not provided, an app type will be inferred from the format of the app ID.
6720
+ * appType: 'placeholder-value',
6721
+ * // Required. Customer id or "my_customer" to use the customer associated to the account making the request.
6722
+ * customer: 'customers/my-customer',
6723
+ * // Optional. Query string to filter results, AND-separated fields in EBNF syntax. Note: OR operations are not supported in this filter. Supported filter fields: * last_active_date
6724
+ * filter: 'placeholder-value',
6725
+ * // Optional. Field used to order results. Supported order by fields: * email * profile_id * profile_permanent_id
6726
+ * orderBy: 'placeholder-value',
6727
+ * // Optional. The ID of the organizational unit.
6728
+ * orgUnitId: 'placeholder-value',
6729
+ * // Optional. Maximum number of results to return. Maximum and default are 100.
6730
+ * pageSize: 'placeholder-value',
6731
+ * // Optional. Token to specify the page of the request to be returned.
6732
+ * pageToken: 'placeholder-value',
6733
+ * },
6734
+ * );
6735
+ * console.log(res.data);
6736
+ *
6737
+ * // Example response
6738
+ * // {
6739
+ * // "nextPageToken": "my_nextPageToken",
6740
+ * // "profiles": [],
6741
+ * // "totalSize": 0
6742
+ * // }
6743
+ * }
6744
+ *
6745
+ * main().catch(e => {
6746
+ * console.error(e);
6747
+ * throw e;
6748
+ * });
6749
+ *
6750
+ * ```
6751
+ *
6752
+ * @param params - Parameters for request
6753
+ * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
6754
+ * @param callback - Optional callback that handles the response.
6755
+ * @returns A promise if used with async/await, or void if used with a callback.
6756
+ */
6757
+ findInstalledAppProfiles(params: Params$Resource$Customers$Reports$Findinstalledappprofiles, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
6758
+ findInstalledAppProfiles(params?: Params$Resource$Customers$Reports$Findinstalledappprofiles, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$GoogleChromeManagementV1FindInstalledAppProfilesResponse>>;
6759
+ findInstalledAppProfiles(params: Params$Resource$Customers$Reports$Findinstalledappprofiles, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
6760
+ findInstalledAppProfiles(params: Params$Resource$Customers$Reports$Findinstalledappprofiles, options: MethodOptions | BodyResponseCallback<Schema$GoogleChromeManagementV1FindInstalledAppProfilesResponse>, callback: BodyResponseCallback<Schema$GoogleChromeManagementV1FindInstalledAppProfilesResponse>): void;
6761
+ findInstalledAppProfiles(params: Params$Resource$Customers$Reports$Findinstalledappprofiles, callback: BodyResponseCallback<Schema$GoogleChromeManagementV1FindInstalledAppProfilesResponse>): void;
6762
+ findInstalledAppProfiles(callback: BodyResponseCallback<Schema$GoogleChromeManagementV1FindInstalledAppProfilesResponse>): void;
5660
6763
  }
5661
6764
  export interface Params$Resource$Customers$Reports$Countactivedevices extends StandardParameters {
5662
6765
  /**
@@ -5946,6 +7049,40 @@ export declare namespace chromemanagement_v1 {
5946
7049
  */
5947
7050
  pageToken?: string;
5948
7051
  }
7052
+ export interface Params$Resource$Customers$Reports$Findinstalledappprofiles extends StandardParameters {
7053
+ /**
7054
+ * Required. Unique identifier of the app. For Chrome apps and extensions, the 32-character id (e.g. ehoadneljpdggcbbknedodolkkjodefl). For Android apps, the package name (e.g. com.evernote).
7055
+ */
7056
+ appId?: string;
7057
+ /**
7058
+ * Type of the app. Optional. If not provided, an app type will be inferred from the format of the app ID.
7059
+ */
7060
+ appType?: string;
7061
+ /**
7062
+ * Required. Customer id or "my_customer" to use the customer associated to the account making the request.
7063
+ */
7064
+ customer?: string;
7065
+ /**
7066
+ * Optional. Query string to filter results, AND-separated fields in EBNF syntax. Note: OR operations are not supported in this filter. Supported filter fields: * last_active_date
7067
+ */
7068
+ filter?: string;
7069
+ /**
7070
+ * Optional. Field used to order results. Supported order by fields: * email * profile_id * profile_permanent_id
7071
+ */
7072
+ orderBy?: string;
7073
+ /**
7074
+ * Optional. The ID of the organizational unit.
7075
+ */
7076
+ orgUnitId?: string;
7077
+ /**
7078
+ * Optional. Maximum number of results to return. Maximum and default are 100.
7079
+ */
7080
+ pageSize?: number;
7081
+ /**
7082
+ * Optional. Token to specify the page of the request to be returned.
7083
+ */
7084
+ pageToken?: string;
7085
+ }
5949
7086
  export class Resource$Customers$Telemetry {
5950
7087
  context: APIRequestContext;
5951
7088
  devices: Resource$Customers$Telemetry$Devices;