@googleapis/chromemanagement 26.0.0 → 27.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
@@ -630,6 +630,23 @@ export declare namespace chromemanagement_v1 {
630
630
  */
631
631
  storageReports?: Schema$GoogleChromeManagementV1DeviceHardwareCountReport[];
632
632
  }
633
+ /**
634
+ * Response containing requested managed profile versions details and counts.
635
+ */
636
+ export interface Schema$GoogleChromeManagementV1CountChromeProfileVersionsResponse {
637
+ /**
638
+ * Token to specify the next page of the request.
639
+ */
640
+ nextPageToken?: string | null;
641
+ /**
642
+ * List of all browser versions reported for profiles and their install counts.
643
+ */
644
+ profileBrowserVersions?: Schema$GoogleChromeManagementV1BrowserVersion[];
645
+ /**
646
+ * Total number browser versions matching request.
647
+ */
648
+ totalSize?: number | null;
649
+ }
633
650
  /**
634
651
  * Response containing requested browser versions details and counts.
635
652
  */
@@ -1233,6 +1250,10 @@ export declare namespace chromemanagement_v1 {
1233
1250
  * Output only. Permissions of the installed app.
1234
1251
  */
1235
1252
  permissions?: string[] | null;
1253
+ /**
1254
+ * Output only. Count of Chrome Profiles with this app installed.
1255
+ */
1256
+ profileCount?: string | null;
1236
1257
  /**
1237
1258
  * Output only. If available, the risk assessment data about this extension.
1238
1259
  */
@@ -2769,6 +2790,40 @@ export declare namespace chromemanagement_v1 {
2769
2790
  */
2770
2791
  updateTime?: string | null;
2771
2792
  }
2793
+ /**
2794
+ * A content transfers summary for a given breakdown dimension.
2795
+ */
2796
+ export interface Schema$GoogleChromeManagementVersionsV1ContentTransfersBreakdown {
2797
+ /**
2798
+ * The content category of the content transfers.
2799
+ */
2800
+ contentCategory?: string | null;
2801
+ /**
2802
+ * The event domain of the content transfers.
2803
+ */
2804
+ eventDomain?: string | null;
2805
+ /**
2806
+ * The summary of content transfers for the breakdown dimension.
2807
+ */
2808
+ summary?: Schema$GoogleChromeManagementVersionsV1ContentTransfersSummary;
2809
+ /**
2810
+ * The user that transferred the content.
2811
+ */
2812
+ user?: string | null;
2813
+ }
2814
+ /**
2815
+ * Summary of content transfers for a given metric.
2816
+ */
2817
+ export interface Schema$GoogleChromeManagementVersionsV1ContentTransfersSummary {
2818
+ /**
2819
+ * The count of the content transfers metric.
2820
+ */
2821
+ count?: string | null;
2822
+ /**
2823
+ * The type of content transfers metric.
2824
+ */
2825
+ metric?: string | null;
2826
+ }
2772
2827
  /**
2773
2828
  * CrowdStrike connector config.
2774
2829
  */
@@ -3050,6 +3105,50 @@ export declare namespace chromemanagement_v1 {
3050
3105
  */
3051
3106
  xdrSettings?: Schema$GoogleChromeManagementVersionsV1XdrSettings;
3052
3107
  }
3108
+ /**
3109
+ * Response message for QueryContentTransfersBreakdowns.
3110
+ */
3111
+ export interface Schema$GoogleChromeManagementVersionsV1QueryContentTransfersBreakdownsResponse {
3112
+ /**
3113
+ * The content transfer breakdowns from the specified insight.
3114
+ */
3115
+ contentTransfersBreakdowns?: Schema$GoogleChromeManagementVersionsV1ContentTransfersBreakdown[];
3116
+ /**
3117
+ * A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.
3118
+ */
3119
+ nextPageToken?: string | null;
3120
+ }
3121
+ /**
3122
+ * Response message for QueryContentTransfers.
3123
+ */
3124
+ export interface Schema$GoogleChromeManagementVersionsV1QueryContentTransfersResponse {
3125
+ /**
3126
+ * A collection of summaries for various content transfers metrics.
3127
+ */
3128
+ summaries?: Schema$GoogleChromeManagementVersionsV1ContentTransfersSummary[];
3129
+ }
3130
+ /**
3131
+ * Response message for QueryUrlVisitsBreakdowns.
3132
+ */
3133
+ export interface Schema$GoogleChromeManagementVersionsV1QueryUrlVisitsBreakdownsResponse {
3134
+ /**
3135
+ * A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.
3136
+ */
3137
+ nextPageToken?: string | null;
3138
+ /**
3139
+ * The URL visit breakdowns from the specified insight.
3140
+ */
3141
+ urlVisitsBreakdowns?: Schema$GoogleChromeManagementVersionsV1UrlVisitsBreakdown[];
3142
+ }
3143
+ /**
3144
+ * Response message for QueryUrlVisits.
3145
+ */
3146
+ export interface Schema$GoogleChromeManagementVersionsV1QueryUrlVisitsResponse {
3147
+ /**
3148
+ * A collection of summaries for various URL visit metrics.
3149
+ */
3150
+ summaries?: Schema$GoogleChromeManagementVersionsV1UrlVisitsSummary[];
3151
+ }
3053
3152
  /**
3054
3153
  * Reporting data of a Chrome browser profile.
3055
3154
  */
@@ -3360,6 +3459,36 @@ export declare namespace chromemanagement_v1 {
3360
3459
  */
3361
3460
  export interface Schema$GoogleChromeManagementVersionsV1UploadCertificateResponse {
3362
3461
  }
3462
+ /**
3463
+ * A URL visits summary for a given breakdown dimension.
3464
+ */
3465
+ export interface Schema$GoogleChromeManagementVersionsV1UrlVisitsBreakdown {
3466
+ /**
3467
+ * The event domain of the URL visits.
3468
+ */
3469
+ eventDomain?: string | null;
3470
+ /**
3471
+ * The summary of URL visits for the breakdown dimension.
3472
+ */
3473
+ summary?: Schema$GoogleChromeManagementVersionsV1UrlVisitsSummary;
3474
+ /**
3475
+ * The user that visited the URL.
3476
+ */
3477
+ user?: string | null;
3478
+ }
3479
+ /**
3480
+ * Summary of URL visits for a given metric.
3481
+ */
3482
+ export interface Schema$GoogleChromeManagementVersionsV1UrlVisitsSummary {
3483
+ /**
3484
+ * The count of the URL visits metric.
3485
+ */
3486
+ count?: string | null;
3487
+ /**
3488
+ * The type of URL visits metric.
3489
+ */
3490
+ metric?: string | null;
3491
+ }
3363
3492
  /**
3364
3493
  * XDR settings for connector configs.
3365
3494
  */
@@ -4553,7 +4682,7 @@ export declare namespace chromemanagement_v1 {
4553
4682
  *
4554
4683
  * // Do the magic
4555
4684
  * 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.
4685
+ * // 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.
4557
4686
  * connectorConfigId: 'placeholder-value',
4558
4687
  * // Required. Format: customers/{customer\}
4559
4688
  * parent: 'customers/my-customer',
@@ -4868,7 +4997,7 @@ export declare namespace chromemanagement_v1 {
4868
4997
  }
4869
4998
  export interface Params$Resource$Customers$Connectorconfigs$Create extends StandardParameters {
4870
4999
  /**
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.
5000
+ * 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.
4872
5001
  */
4873
5002
  connectorConfigId?: string;
4874
5003
  /**
@@ -4950,7 +5079,10 @@ export declare namespace chromemanagement_v1 {
4950
5079
  * async function main() {
4951
5080
  * const auth = new google.auth.GoogleAuth({
4952
5081
  * // Scopes can be specified either as an array or as a single, space-delimited string.
4953
- * scopes: [],
5082
+ * scopes: [
5083
+ * 'https://www.googleapis.com/auth/chrome.management.securityinsights',
5084
+ * 'https://www.googleapis.com/auth/chrome.management.securityinsights.readonly',
5085
+ * ],
4954
5086
  * });
4955
5087
  *
4956
5088
  * // Acquire an auth client, and bind it to all future calls
@@ -5013,7 +5145,9 @@ export declare namespace chromemanagement_v1 {
5013
5145
  * async function main() {
5014
5146
  * const auth = new google.auth.GoogleAuth({
5015
5147
  * // Scopes can be specified either as an array or as a single, space-delimited string.
5016
- * scopes: [],
5148
+ * scopes: [
5149
+ * 'https://www.googleapis.com/auth/chrome.management.securityinsights',
5150
+ * ],
5017
5151
  * });
5018
5152
  *
5019
5153
  * // Acquire an auth client, and bind it to all future calls
@@ -5080,7 +5214,9 @@ export declare namespace chromemanagement_v1 {
5080
5214
  * async function main() {
5081
5215
  * const auth = new google.auth.GoogleAuth({
5082
5216
  * // Scopes can be specified either as an array or as a single, space-delimited string.
5083
- * scopes: [],
5217
+ * scopes: [
5218
+ * 'https://www.googleapis.com/auth/chrome.management.securityinsights',
5219
+ * ],
5084
5220
  * });
5085
5221
  *
5086
5222
  * // Acquire an auth client, and bind it to all future calls
@@ -5127,6 +5263,300 @@ export declare namespace chromemanagement_v1 {
5127
5263
  enable(params: Params$Resource$Customers$Enterprise$Securityinsights$Enable, options: MethodOptions | BodyResponseCallback<Schema$GoogleChromeManagementVersionsV1EnableInsightsResponse>, callback: BodyResponseCallback<Schema$GoogleChromeManagementVersionsV1EnableInsightsResponse>): void;
5128
5264
  enable(params: Params$Resource$Customers$Enterprise$Securityinsights$Enable, callback: BodyResponseCallback<Schema$GoogleChromeManagementVersionsV1EnableInsightsResponse>): void;
5129
5265
  enable(callback: BodyResponseCallback<Schema$GoogleChromeManagementVersionsV1EnableInsightsResponse>): void;
5266
+ /**
5267
+ * Returns a high-level summary of content transfers for a given customer.
5268
+ * @example
5269
+ * ```js
5270
+ * // Before running the sample:
5271
+ * // - Enable the API at:
5272
+ * // https://console.developers.google.com/apis/api/chromemanagement.googleapis.com
5273
+ * // - Login into gcloud by running:
5274
+ * // ```sh
5275
+ * // $ gcloud auth application-default login
5276
+ * // ```
5277
+ * // - Install the npm module by running:
5278
+ * // ```sh
5279
+ * // $ npm install googleapis
5280
+ * // ```
5281
+ *
5282
+ * const {google} = require('googleapis');
5283
+ * const chromemanagement = google.chromemanagement('v1');
5284
+ *
5285
+ * async function main() {
5286
+ * const auth = new google.auth.GoogleAuth({
5287
+ * // Scopes can be specified either as an array or as a single, space-delimited string.
5288
+ * scopes: [
5289
+ * 'https://www.googleapis.com/auth/chrome.management.securityinsights',
5290
+ * 'https://www.googleapis.com/auth/chrome.management.securityinsights.readonly',
5291
+ * ],
5292
+ * });
5293
+ *
5294
+ * // Acquire an auth client, and bind it to all future calls
5295
+ * const authClient = await auth.getClient();
5296
+ * google.options({auth: authClient});
5297
+ *
5298
+ * // Do the magic
5299
+ * const res =
5300
+ * await chromemanagement.customers.enterprise.securityInsights.queryContentTransfers(
5301
+ * {
5302
+ * // Required. The customer ID in the format "customers/{customer_id\}".
5303
+ * customer: 'customers/my-customer',
5304
+ * // Optional. The filter to apply to the request. For syntax, see AIP-160. Data is not available for events older than 180 days, and may be unavailable or inaccurate for time ranges less than 4 hours. If `event_time` is not specified, results will be returned for the last 30 days. Supported fields for filtering: - `event_time` Supported operators: - `\>=` and `<=` for `event_time` Supported conjunctions: - `AND` Example: `event_time \>= "2024-01-01T00:00:00Z" AND event_time <= "2024-01-02T00:00:00Z"`
5305
+ * filter: 'placeholder-value',
5306
+ * },
5307
+ * );
5308
+ * console.log(res.data);
5309
+ *
5310
+ * // Example response
5311
+ * // {
5312
+ * // "summaries": []
5313
+ * // }
5314
+ * }
5315
+ *
5316
+ * main().catch(e => {
5317
+ * console.error(e);
5318
+ * throw e;
5319
+ * });
5320
+ *
5321
+ * ```
5322
+ *
5323
+ * @param params - Parameters for request
5324
+ * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
5325
+ * @param callback - Optional callback that handles the response.
5326
+ * @returns A promise if used with async/await, or void if used with a callback.
5327
+ */
5328
+ queryContentTransfers(params: Params$Resource$Customers$Enterprise$Securityinsights$Querycontenttransfers, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
5329
+ queryContentTransfers(params?: Params$Resource$Customers$Enterprise$Securityinsights$Querycontenttransfers, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$GoogleChromeManagementVersionsV1QueryContentTransfersResponse>>;
5330
+ queryContentTransfers(params: Params$Resource$Customers$Enterprise$Securityinsights$Querycontenttransfers, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
5331
+ queryContentTransfers(params: Params$Resource$Customers$Enterprise$Securityinsights$Querycontenttransfers, options: MethodOptions | BodyResponseCallback<Schema$GoogleChromeManagementVersionsV1QueryContentTransfersResponse>, callback: BodyResponseCallback<Schema$GoogleChromeManagementVersionsV1QueryContentTransfersResponse>): void;
5332
+ queryContentTransfers(params: Params$Resource$Customers$Enterprise$Securityinsights$Querycontenttransfers, callback: BodyResponseCallback<Schema$GoogleChromeManagementVersionsV1QueryContentTransfersResponse>): void;
5333
+ queryContentTransfers(callback: BodyResponseCallback<Schema$GoogleChromeManagementVersionsV1QueryContentTransfersResponse>): void;
5334
+ /**
5335
+ * Returns summaries of content transfers for a given metric and breakdown dimension.
5336
+ * @example
5337
+ * ```js
5338
+ * // Before running the sample:
5339
+ * // - Enable the API at:
5340
+ * // https://console.developers.google.com/apis/api/chromemanagement.googleapis.com
5341
+ * // - Login into gcloud by running:
5342
+ * // ```sh
5343
+ * // $ gcloud auth application-default login
5344
+ * // ```
5345
+ * // - Install the npm module by running:
5346
+ * // ```sh
5347
+ * // $ npm install googleapis
5348
+ * // ```
5349
+ *
5350
+ * const {google} = require('googleapis');
5351
+ * const chromemanagement = google.chromemanagement('v1');
5352
+ *
5353
+ * async function main() {
5354
+ * const auth = new google.auth.GoogleAuth({
5355
+ * // Scopes can be specified either as an array or as a single, space-delimited string.
5356
+ * scopes: [
5357
+ * 'https://www.googleapis.com/auth/chrome.management.securityinsights',
5358
+ * 'https://www.googleapis.com/auth/chrome.management.securityinsights.readonly',
5359
+ * ],
5360
+ * });
5361
+ *
5362
+ * // Acquire an auth client, and bind it to all future calls
5363
+ * const authClient = await auth.getClient();
5364
+ * google.options({auth: authClient});
5365
+ *
5366
+ * // Do the magic
5367
+ * const res =
5368
+ * await chromemanagement.customers.enterprise.securityInsights.queryContentTransfersBreakdowns(
5369
+ * {
5370
+ * // Optional. The dimension to break down the content transfers by. Defaults to USER.
5371
+ * breakdown: 'placeholder-value',
5372
+ * // Required. The customer ID in the format "customers/{customer_id\}".
5373
+ * customer: 'customers/my-customer',
5374
+ * // Optional. The filter to apply to the request. For syntax, see AIP-160. Data is not available for events older than 180 days or more recent than 48 hours ago. If `event_time` is not specified, results will end 48 hours ago. Supported fields for filtering: - `user` - `event_domain` - `content_category` - `event_time` Filtering by `user` or `event_domain` requires the `breakdown` dimension to be set to the corresponding value (e.g., you must set `breakdown = USER` to filter by `user`). Supported operators: - `=` for `user`, `event_domain`, and `content_category`. - `<=` for `event_time`. Supported conjunctions: - `AND` Example: `user = "testuser" AND event_time <= "2024-01-02T00:00:00Z"`
5375
+ * filter: 'placeholder-value',
5376
+ * // Optional. The fixed time range to return the breakdowns for. Defaults to FIXED_TIME_RANGE_FOUR_WEEKS. Fixed time ranges are used to allow for precomputation and optimize response times.
5377
+ * fixedTimeRange: 'placeholder-value',
5378
+ * // Optional. The metric to return the breakdowns for. Defaults to CONTENT_TRANSFERS_METRIC_TOTAL_TRANSFERS.
5379
+ * metric: 'placeholder-value',
5380
+ * // Optional. The maximum number of breakdowns to return. The service may return fewer than this value. If unspecified, at most 50 breakdowns will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.
5381
+ * pageSize: 'placeholder-value',
5382
+ * // Optional. A page token, received from a previous `QueryContentTransfersBreakdowns` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `QueryContentTransfersBreakdowns` must match the call that provided the page token.
5383
+ * pageToken: 'placeholder-value',
5384
+ * },
5385
+ * );
5386
+ * console.log(res.data);
5387
+ *
5388
+ * // Example response
5389
+ * // {
5390
+ * // "contentTransfersBreakdowns": [],
5391
+ * // "nextPageToken": "my_nextPageToken"
5392
+ * // }
5393
+ * }
5394
+ *
5395
+ * main().catch(e => {
5396
+ * console.error(e);
5397
+ * throw e;
5398
+ * });
5399
+ *
5400
+ * ```
5401
+ *
5402
+ * @param params - Parameters for request
5403
+ * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
5404
+ * @param callback - Optional callback that handles the response.
5405
+ * @returns A promise if used with async/await, or void if used with a callback.
5406
+ */
5407
+ queryContentTransfersBreakdowns(params: Params$Resource$Customers$Enterprise$Securityinsights$Querycontenttransfersbreakdowns, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
5408
+ queryContentTransfersBreakdowns(params?: Params$Resource$Customers$Enterprise$Securityinsights$Querycontenttransfersbreakdowns, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$GoogleChromeManagementVersionsV1QueryContentTransfersBreakdownsResponse>>;
5409
+ queryContentTransfersBreakdowns(params: Params$Resource$Customers$Enterprise$Securityinsights$Querycontenttransfersbreakdowns, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
5410
+ queryContentTransfersBreakdowns(params: Params$Resource$Customers$Enterprise$Securityinsights$Querycontenttransfersbreakdowns, options: MethodOptions | BodyResponseCallback<Schema$GoogleChromeManagementVersionsV1QueryContentTransfersBreakdownsResponse>, callback: BodyResponseCallback<Schema$GoogleChromeManagementVersionsV1QueryContentTransfersBreakdownsResponse>): void;
5411
+ queryContentTransfersBreakdowns(params: Params$Resource$Customers$Enterprise$Securityinsights$Querycontenttransfersbreakdowns, callback: BodyResponseCallback<Schema$GoogleChromeManagementVersionsV1QueryContentTransfersBreakdownsResponse>): void;
5412
+ queryContentTransfersBreakdowns(callback: BodyResponseCallback<Schema$GoogleChromeManagementVersionsV1QueryContentTransfersBreakdownsResponse>): void;
5413
+ /**
5414
+ * Returns a high-level summary of URL visits for a given customer. Requires a Chrome Enterprise Premium subscription. If the customer does not have this subscription, query results will be empty.
5415
+ * @example
5416
+ * ```js
5417
+ * // Before running the sample:
5418
+ * // - Enable the API at:
5419
+ * // https://console.developers.google.com/apis/api/chromemanagement.googleapis.com
5420
+ * // - Login into gcloud by running:
5421
+ * // ```sh
5422
+ * // $ gcloud auth application-default login
5423
+ * // ```
5424
+ * // - Install the npm module by running:
5425
+ * // ```sh
5426
+ * // $ npm install googleapis
5427
+ * // ```
5428
+ *
5429
+ * const {google} = require('googleapis');
5430
+ * const chromemanagement = google.chromemanagement('v1');
5431
+ *
5432
+ * async function main() {
5433
+ * const auth = new google.auth.GoogleAuth({
5434
+ * // Scopes can be specified either as an array or as a single, space-delimited string.
5435
+ * scopes: [
5436
+ * 'https://www.googleapis.com/auth/chrome.management.securityinsights',
5437
+ * 'https://www.googleapis.com/auth/chrome.management.securityinsights.readonly',
5438
+ * ],
5439
+ * });
5440
+ *
5441
+ * // Acquire an auth client, and bind it to all future calls
5442
+ * const authClient = await auth.getClient();
5443
+ * google.options({auth: authClient});
5444
+ *
5445
+ * // Do the magic
5446
+ * const res =
5447
+ * await chromemanagement.customers.enterprise.securityInsights.queryUrlVisits(
5448
+ * {
5449
+ * // Required. The customer ID in the format "customers/{customer_id\}".
5450
+ * customer: 'customers/my-customer',
5451
+ * // Optional. The filter to apply to the request. For syntax, see AIP-160. Data is not available for events older than 180 days, and may be unavailable or inaccurate for time ranges less than 4 hours. If `event_time` is not specified, results will be returned for the last 30 days. Supported fields for filtering: - `event_time` Supported operators: - `\>=` and `<=` for `event_time` Supported conjunctions: - `AND` Example: `event_time \>= "2024-01-01T00:00:00Z" AND event_time <= "2024-01-02T00:00:00Z"`
5452
+ * filter: 'placeholder-value',
5453
+ * },
5454
+ * );
5455
+ * console.log(res.data);
5456
+ *
5457
+ * // Example response
5458
+ * // {
5459
+ * // "summaries": []
5460
+ * // }
5461
+ * }
5462
+ *
5463
+ * main().catch(e => {
5464
+ * console.error(e);
5465
+ * throw e;
5466
+ * });
5467
+ *
5468
+ * ```
5469
+ *
5470
+ * @param params - Parameters for request
5471
+ * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
5472
+ * @param callback - Optional callback that handles the response.
5473
+ * @returns A promise if used with async/await, or void if used with a callback.
5474
+ */
5475
+ queryUrlVisits(params: Params$Resource$Customers$Enterprise$Securityinsights$Queryurlvisits, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
5476
+ queryUrlVisits(params?: Params$Resource$Customers$Enterprise$Securityinsights$Queryurlvisits, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$GoogleChromeManagementVersionsV1QueryUrlVisitsResponse>>;
5477
+ queryUrlVisits(params: Params$Resource$Customers$Enterprise$Securityinsights$Queryurlvisits, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
5478
+ queryUrlVisits(params: Params$Resource$Customers$Enterprise$Securityinsights$Queryurlvisits, options: MethodOptions | BodyResponseCallback<Schema$GoogleChromeManagementVersionsV1QueryUrlVisitsResponse>, callback: BodyResponseCallback<Schema$GoogleChromeManagementVersionsV1QueryUrlVisitsResponse>): void;
5479
+ queryUrlVisits(params: Params$Resource$Customers$Enterprise$Securityinsights$Queryurlvisits, callback: BodyResponseCallback<Schema$GoogleChromeManagementVersionsV1QueryUrlVisitsResponse>): void;
5480
+ queryUrlVisits(callback: BodyResponseCallback<Schema$GoogleChromeManagementVersionsV1QueryUrlVisitsResponse>): void;
5481
+ /**
5482
+ * Returns summaries of URL visits for a given metric and breakdown dimension. Requires a Chrome Enterprise Premium subscription. If the customer does not have this subscription, query results will be empty.
5483
+ * @example
5484
+ * ```js
5485
+ * // Before running the sample:
5486
+ * // - Enable the API at:
5487
+ * // https://console.developers.google.com/apis/api/chromemanagement.googleapis.com
5488
+ * // - Login into gcloud by running:
5489
+ * // ```sh
5490
+ * // $ gcloud auth application-default login
5491
+ * // ```
5492
+ * // - Install the npm module by running:
5493
+ * // ```sh
5494
+ * // $ npm install googleapis
5495
+ * // ```
5496
+ *
5497
+ * const {google} = require('googleapis');
5498
+ * const chromemanagement = google.chromemanagement('v1');
5499
+ *
5500
+ * async function main() {
5501
+ * const auth = new google.auth.GoogleAuth({
5502
+ * // Scopes can be specified either as an array or as a single, space-delimited string.
5503
+ * scopes: [
5504
+ * 'https://www.googleapis.com/auth/chrome.management.securityinsights',
5505
+ * 'https://www.googleapis.com/auth/chrome.management.securityinsights.readonly',
5506
+ * ],
5507
+ * });
5508
+ *
5509
+ * // Acquire an auth client, and bind it to all future calls
5510
+ * const authClient = await auth.getClient();
5511
+ * google.options({auth: authClient});
5512
+ *
5513
+ * // Do the magic
5514
+ * const res =
5515
+ * await chromemanagement.customers.enterprise.securityInsights.queryUrlVisitsBreakdowns(
5516
+ * {
5517
+ * // Optional. The dimension to break down the URL visits by. Defaults to USER.
5518
+ * breakdown: 'placeholder-value',
5519
+ * // Required. The customer ID in the format "customers/{customer_id\}".
5520
+ * customer: 'customers/my-customer',
5521
+ * // Optional. The filter to apply to the request. For syntax, see AIP-160. Data is not available for events older than 180 days or more recent than 48 hours ago. If `event_time` is not specified, results will end 48 hours ago. Supported fields for filtering: - `user` - `event_domain` - `event_time` Filtering by `user` or `event_domain` requires the `breakdown` dimension to be set to the corresponding value (e.g., you must set `breakdown = USER` to filter by `user`). Supported operators: - `=` for `user` and `event_domain`. - `<=` for `event_time`. Supported conjunctions: - `AND` Example: `user = "testuser" AND event_time <= "2024-01-02T00:00:00Z"`
5522
+ * filter: 'placeholder-value',
5523
+ * // Optional. The fixed time range to return the breakdowns for. Defaults to FIXED_TIME_RANGE_FOUR_WEEKS. Fixed time ranges are used to allow for precomputation and optimize response times.
5524
+ * fixedTimeRange: 'placeholder-value',
5525
+ * // Optional. The metric to return the breakdowns for. Defaults to URL_VISITS_METRIC_TOTAL_SUSPICIOUS_URL_VISITS.
5526
+ * metric: 'placeholder-value',
5527
+ * // Optional. The maximum number of breakdowns to return. The service may return fewer than this value. If unspecified, at most 50 breakdowns will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.
5528
+ * pageSize: 'placeholder-value',
5529
+ * // Optional. A page token, received from a previous `QueryUrlVisitsBreakdowns` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `QueryUrlVisitsBreakdowns` must match the call that provided the page token.
5530
+ * pageToken: 'placeholder-value',
5531
+ * },
5532
+ * );
5533
+ * console.log(res.data);
5534
+ *
5535
+ * // Example response
5536
+ * // {
5537
+ * // "nextPageToken": "my_nextPageToken",
5538
+ * // "urlVisitsBreakdowns": []
5539
+ * // }
5540
+ * }
5541
+ *
5542
+ * main().catch(e => {
5543
+ * console.error(e);
5544
+ * throw e;
5545
+ * });
5546
+ *
5547
+ * ```
5548
+ *
5549
+ * @param params - Parameters for request
5550
+ * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
5551
+ * @param callback - Optional callback that handles the response.
5552
+ * @returns A promise if used with async/await, or void if used with a callback.
5553
+ */
5554
+ queryUrlVisitsBreakdowns(params: Params$Resource$Customers$Enterprise$Securityinsights$Queryurlvisitsbreakdowns, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
5555
+ queryUrlVisitsBreakdowns(params?: Params$Resource$Customers$Enterprise$Securityinsights$Queryurlvisitsbreakdowns, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$GoogleChromeManagementVersionsV1QueryUrlVisitsBreakdownsResponse>>;
5556
+ queryUrlVisitsBreakdowns(params: Params$Resource$Customers$Enterprise$Securityinsights$Queryurlvisitsbreakdowns, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
5557
+ queryUrlVisitsBreakdowns(params: Params$Resource$Customers$Enterprise$Securityinsights$Queryurlvisitsbreakdowns, options: MethodOptions | BodyResponseCallback<Schema$GoogleChromeManagementVersionsV1QueryUrlVisitsBreakdownsResponse>, callback: BodyResponseCallback<Schema$GoogleChromeManagementVersionsV1QueryUrlVisitsBreakdownsResponse>): void;
5558
+ queryUrlVisitsBreakdowns(params: Params$Resource$Customers$Enterprise$Securityinsights$Queryurlvisitsbreakdowns, callback: BodyResponseCallback<Schema$GoogleChromeManagementVersionsV1QueryUrlVisitsBreakdownsResponse>): void;
5559
+ queryUrlVisitsBreakdowns(callback: BodyResponseCallback<Schema$GoogleChromeManagementVersionsV1QueryUrlVisitsBreakdownsResponse>): void;
5130
5560
  }
5131
5561
  export interface Params$Resource$Customers$Enterprise$Securityinsights$Checkenablementstatus extends StandardParameters {
5132
5562
  /**
@@ -5154,6 +5584,86 @@ export declare namespace chromemanagement_v1 {
5154
5584
  */
5155
5585
  requestBody?: Schema$GoogleChromeManagementVersionsV1EnableInsightsRequest;
5156
5586
  }
5587
+ export interface Params$Resource$Customers$Enterprise$Securityinsights$Querycontenttransfers extends StandardParameters {
5588
+ /**
5589
+ * Required. The customer ID in the format "customers/{customer_id\}".
5590
+ */
5591
+ customer?: string;
5592
+ /**
5593
+ * Optional. The filter to apply to the request. For syntax, see AIP-160. Data is not available for events older than 180 days, and may be unavailable or inaccurate for time ranges less than 4 hours. If `event_time` is not specified, results will be returned for the last 30 days. Supported fields for filtering: - `event_time` Supported operators: - `\>=` and `<=` for `event_time` Supported conjunctions: - `AND` Example: `event_time \>= "2024-01-01T00:00:00Z" AND event_time <= "2024-01-02T00:00:00Z"`
5594
+ */
5595
+ filter?: string;
5596
+ }
5597
+ export interface Params$Resource$Customers$Enterprise$Securityinsights$Querycontenttransfersbreakdowns extends StandardParameters {
5598
+ /**
5599
+ * Optional. The dimension to break down the content transfers by. Defaults to USER.
5600
+ */
5601
+ breakdown?: string;
5602
+ /**
5603
+ * Required. The customer ID in the format "customers/{customer_id\}".
5604
+ */
5605
+ customer?: string;
5606
+ /**
5607
+ * Optional. The filter to apply to the request. For syntax, see AIP-160. Data is not available for events older than 180 days or more recent than 48 hours ago. If `event_time` is not specified, results will end 48 hours ago. Supported fields for filtering: - `user` - `event_domain` - `content_category` - `event_time` Filtering by `user` or `event_domain` requires the `breakdown` dimension to be set to the corresponding value (e.g., you must set `breakdown = USER` to filter by `user`). Supported operators: - `=` for `user`, `event_domain`, and `content_category`. - `<=` for `event_time`. Supported conjunctions: - `AND` Example: `user = "testuser" AND event_time <= "2024-01-02T00:00:00Z"`
5608
+ */
5609
+ filter?: string;
5610
+ /**
5611
+ * Optional. The fixed time range to return the breakdowns for. Defaults to FIXED_TIME_RANGE_FOUR_WEEKS. Fixed time ranges are used to allow for precomputation and optimize response times.
5612
+ */
5613
+ fixedTimeRange?: string;
5614
+ /**
5615
+ * Optional. The metric to return the breakdowns for. Defaults to CONTENT_TRANSFERS_METRIC_TOTAL_TRANSFERS.
5616
+ */
5617
+ metric?: string;
5618
+ /**
5619
+ * Optional. The maximum number of breakdowns to return. The service may return fewer than this value. If unspecified, at most 50 breakdowns will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.
5620
+ */
5621
+ pageSize?: number;
5622
+ /**
5623
+ * Optional. A page token, received from a previous `QueryContentTransfersBreakdowns` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `QueryContentTransfersBreakdowns` must match the call that provided the page token.
5624
+ */
5625
+ pageToken?: string;
5626
+ }
5627
+ export interface Params$Resource$Customers$Enterprise$Securityinsights$Queryurlvisits extends StandardParameters {
5628
+ /**
5629
+ * Required. The customer ID in the format "customers/{customer_id\}".
5630
+ */
5631
+ customer?: string;
5632
+ /**
5633
+ * Optional. The filter to apply to the request. For syntax, see AIP-160. Data is not available for events older than 180 days, and may be unavailable or inaccurate for time ranges less than 4 hours. If `event_time` is not specified, results will be returned for the last 30 days. Supported fields for filtering: - `event_time` Supported operators: - `\>=` and `<=` for `event_time` Supported conjunctions: - `AND` Example: `event_time \>= "2024-01-01T00:00:00Z" AND event_time <= "2024-01-02T00:00:00Z"`
5634
+ */
5635
+ filter?: string;
5636
+ }
5637
+ export interface Params$Resource$Customers$Enterprise$Securityinsights$Queryurlvisitsbreakdowns extends StandardParameters {
5638
+ /**
5639
+ * Optional. The dimension to break down the URL visits by. Defaults to USER.
5640
+ */
5641
+ breakdown?: string;
5642
+ /**
5643
+ * Required. The customer ID in the format "customers/{customer_id\}".
5644
+ */
5645
+ customer?: string;
5646
+ /**
5647
+ * Optional. The filter to apply to the request. For syntax, see AIP-160. Data is not available for events older than 180 days or more recent than 48 hours ago. If `event_time` is not specified, results will end 48 hours ago. Supported fields for filtering: - `user` - `event_domain` - `event_time` Filtering by `user` or `event_domain` requires the `breakdown` dimension to be set to the corresponding value (e.g., you must set `breakdown = USER` to filter by `user`). Supported operators: - `=` for `user` and `event_domain`. - `<=` for `event_time`. Supported conjunctions: - `AND` Example: `user = "testuser" AND event_time <= "2024-01-02T00:00:00Z"`
5648
+ */
5649
+ filter?: string;
5650
+ /**
5651
+ * Optional. The fixed time range to return the breakdowns for. Defaults to FIXED_TIME_RANGE_FOUR_WEEKS. Fixed time ranges are used to allow for precomputation and optimize response times.
5652
+ */
5653
+ fixedTimeRange?: string;
5654
+ /**
5655
+ * Optional. The metric to return the breakdowns for. Defaults to URL_VISITS_METRIC_TOTAL_SUSPICIOUS_URL_VISITS.
5656
+ */
5657
+ metric?: string;
5658
+ /**
5659
+ * Optional. The maximum number of breakdowns to return. The service may return fewer than this value. If unspecified, at most 50 breakdowns will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.
5660
+ */
5661
+ pageSize?: number;
5662
+ /**
5663
+ * Optional. A page token, received from a previous `QueryUrlVisitsBreakdowns` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `QueryUrlVisitsBreakdowns` must match the call that provided the page token.
5664
+ */
5665
+ pageToken?: string;
5666
+ }
5157
5667
  export class Resource$Customers$Profiles {
5158
5668
  context: APIRequestContext;
5159
5669
  commands: Resource$Customers$Profiles$Commands;
@@ -6088,6 +6598,79 @@ export declare namespace chromemanagement_v1 {
6088
6598
  countChromeHardwareFleetDevices(params: Params$Resource$Customers$Reports$Countchromehardwarefleetdevices, options: MethodOptions | BodyResponseCallback<Schema$GoogleChromeManagementV1CountChromeHardwareFleetDevicesResponse>, callback: BodyResponseCallback<Schema$GoogleChromeManagementV1CountChromeHardwareFleetDevicesResponse>): void;
6089
6599
  countChromeHardwareFleetDevices(params: Params$Resource$Customers$Reports$Countchromehardwarefleetdevices, callback: BodyResponseCallback<Schema$GoogleChromeManagementV1CountChromeHardwareFleetDevicesResponse>): void;
6090
6600
  countChromeHardwareFleetDevices(callback: BodyResponseCallback<Schema$GoogleChromeManagementV1CountChromeHardwareFleetDevicesResponse>): void;
6601
+ /**
6602
+ * Generate report of installed Chrome versions on managed profiles.
6603
+ * @example
6604
+ * ```js
6605
+ * // Before running the sample:
6606
+ * // - Enable the API at:
6607
+ * // https://console.developers.google.com/apis/api/chromemanagement.googleapis.com
6608
+ * // - Login into gcloud by running:
6609
+ * // ```sh
6610
+ * // $ gcloud auth application-default login
6611
+ * // ```
6612
+ * // - Install the npm module by running:
6613
+ * // ```sh
6614
+ * // $ npm install googleapis
6615
+ * // ```
6616
+ *
6617
+ * const {google} = require('googleapis');
6618
+ * const chromemanagement = google.chromemanagement('v1');
6619
+ *
6620
+ * async function main() {
6621
+ * const auth = new google.auth.GoogleAuth({
6622
+ * // Scopes can be specified either as an array or as a single, space-delimited string.
6623
+ * scopes: [
6624
+ * 'https://www.googleapis.com/auth/chrome.management.reports.readonly',
6625
+ * ],
6626
+ * });
6627
+ *
6628
+ * // Acquire an auth client, and bind it to all future calls
6629
+ * const authClient = await auth.getClient();
6630
+ * google.options({auth: authClient});
6631
+ *
6632
+ * // Do the magic
6633
+ * const res =
6634
+ * await chromemanagement.customers.reports.countChromeProfileVersions({
6635
+ * // Required. Customer id or "my_customer" to use the customer associated to the account making the request.
6636
+ * customer: 'customers/my-customer',
6637
+ * // 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
6638
+ * filter: 'placeholder-value',
6639
+ * // The ID of the organizational unit. If omitted, all data will be returned.
6640
+ * orgUnitId: 'placeholder-value',
6641
+ * // Optional. Maximum number of results to return. Maximum and default are 100.
6642
+ * pageSize: 'placeholder-value',
6643
+ * // Optional. Token to specify the page of the request to be returned.
6644
+ * pageToken: 'placeholder-value',
6645
+ * });
6646
+ * console.log(res.data);
6647
+ *
6648
+ * // Example response
6649
+ * // {
6650
+ * // "nextPageToken": "my_nextPageToken",
6651
+ * // "profileBrowserVersions": [],
6652
+ * // "totalSize": 0
6653
+ * // }
6654
+ * }
6655
+ *
6656
+ * main().catch(e => {
6657
+ * console.error(e);
6658
+ * throw e;
6659
+ * });
6660
+ *
6661
+ * ```
6662
+ *
6663
+ * @param params - Parameters for request
6664
+ * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
6665
+ * @param callback - Optional callback that handles the response.
6666
+ * @returns A promise if used with async/await, or void if used with a callback.
6667
+ */
6668
+ countChromeProfileVersions(params: Params$Resource$Customers$Reports$Countchromeprofileversions, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
6669
+ countChromeProfileVersions(params?: Params$Resource$Customers$Reports$Countchromeprofileversions, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$GoogleChromeManagementV1CountChromeProfileVersionsResponse>>;
6670
+ countChromeProfileVersions(params: Params$Resource$Customers$Reports$Countchromeprofileversions, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
6671
+ countChromeProfileVersions(params: Params$Resource$Customers$Reports$Countchromeprofileversions, options: MethodOptions | BodyResponseCallback<Schema$GoogleChromeManagementV1CountChromeProfileVersionsResponse>, callback: BodyResponseCallback<Schema$GoogleChromeManagementV1CountChromeProfileVersionsResponse>): void;
6672
+ countChromeProfileVersions(params: Params$Resource$Customers$Reports$Countchromeprofileversions, callback: BodyResponseCallback<Schema$GoogleChromeManagementV1CountChromeProfileVersionsResponse>): void;
6673
+ countChromeProfileVersions(callback: BodyResponseCallback<Schema$GoogleChromeManagementV1CountChromeProfileVersionsResponse>): void;
6091
6674
  /**
6092
6675
  * Generate report of installed Chrome versions.
6093
6676
  * @example
@@ -6853,6 +7436,28 @@ export declare namespace chromemanagement_v1 {
6853
7436
  */
6854
7437
  readMask?: string;
6855
7438
  }
7439
+ export interface Params$Resource$Customers$Reports$Countchromeprofileversions extends StandardParameters {
7440
+ /**
7441
+ * Required. Customer id or "my_customer" to use the customer associated to the account making the request.
7442
+ */
7443
+ customer?: string;
7444
+ /**
7445
+ * 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
7446
+ */
7447
+ filter?: string;
7448
+ /**
7449
+ * The ID of the organizational unit. If omitted, all data will be returned.
7450
+ */
7451
+ orgUnitId?: string;
7452
+ /**
7453
+ * Optional. Maximum number of results to return. Maximum and default are 100.
7454
+ */
7455
+ pageSize?: number;
7456
+ /**
7457
+ * Optional. Token to specify the page of the request to be returned.
7458
+ */
7459
+ pageToken?: string;
7460
+ }
6856
7461
  export interface Params$Resource$Customers$Reports$Countchromeversions extends StandardParameters {
6857
7462
  /**
6858
7463
  * Required. Customer id or "my_customer" to use the customer associated to the account making the request.