@googleapis/chromemanagement 10.0.0 → 10.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/v1.ts CHANGED
@@ -1699,60 +1699,6 @@ export namespace chromemanagement_v1 {
1699
1699
 
1700
1700
  /**
1701
1701
  * Generate summary of app installation requests.
1702
- * @example
1703
- * ```js
1704
- * // Before running the sample:
1705
- * // - Enable the API at:
1706
- * // https://console.developers.google.com/apis/api/chromemanagement.googleapis.com
1707
- * // - Login into gcloud by running:
1708
- * // `$ gcloud auth application-default login`
1709
- * // - Install the npm module by running:
1710
- * // `$ npm install googleapis`
1711
- *
1712
- * const {google} = require('googleapis');
1713
- * const chromemanagement = google.chromemanagement('v1');
1714
- *
1715
- * async function main() {
1716
- * const auth = new google.auth.GoogleAuth({
1717
- * // Scopes can be specified either as an array or as a single, space-delimited string.
1718
- * scopes: [
1719
- * 'https://www.googleapis.com/auth/chrome.management.appdetails.readonly',
1720
- * ],
1721
- * });
1722
- *
1723
- * // Acquire an auth client, and bind it to all future calls
1724
- * const authClient = await auth.getClient();
1725
- * google.options({auth: authClient});
1726
- *
1727
- * // Do the magic
1728
- * const res = await chromemanagement.customers.apps.countChromeAppRequests({
1729
- * // Required. Customer id or "my_customer" to use the customer associated to the account making the request.
1730
- * customer: 'customers/my-customer',
1731
- * // Field used to order results. Supported fields: * request_count * latest_request_time
1732
- * orderBy: 'placeholder-value',
1733
- * // The ID of the organizational unit.
1734
- * orgUnitId: 'placeholder-value',
1735
- * // Maximum number of results to return. Maximum and default are 50, anything above will be coerced to 50.
1736
- * pageSize: 'placeholder-value',
1737
- * // Token to specify the page of the request to be returned.
1738
- * pageToken: 'placeholder-value',
1739
- * });
1740
- * console.log(res.data);
1741
- *
1742
- * // Example response
1743
- * // {
1744
- * // "nextPageToken": "my_nextPageToken",
1745
- * // "requestedApps": [],
1746
- * // "totalSize": 0
1747
- * // }
1748
- * }
1749
- *
1750
- * main().catch(e => {
1751
- * console.error(e);
1752
- * throw e;
1753
- * });
1754
- *
1755
- * ```
1756
1702
  *
1757
1703
  * @param params - Parameters for request
1758
1704
  * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
@@ -1880,68 +1826,6 @@ export namespace chromemanagement_v1 {
1880
1826
 
1881
1827
  /**
1882
1828
  * Get a specific app for a customer by its resource name.
1883
- * @example
1884
- * ```js
1885
- * // Before running the sample:
1886
- * // - Enable the API at:
1887
- * // https://console.developers.google.com/apis/api/chromemanagement.googleapis.com
1888
- * // - Login into gcloud by running:
1889
- * // `$ gcloud auth application-default login`
1890
- * // - Install the npm module by running:
1891
- * // `$ npm install googleapis`
1892
- *
1893
- * const {google} = require('googleapis');
1894
- * const chromemanagement = google.chromemanagement('v1');
1895
- *
1896
- * async function main() {
1897
- * const auth = new google.auth.GoogleAuth({
1898
- * // Scopes can be specified either as an array or as a single, space-delimited string.
1899
- * scopes: [
1900
- * 'https://www.googleapis.com/auth/chrome.management.appdetails.readonly',
1901
- * ],
1902
- * });
1903
- *
1904
- * // Acquire an auth client, and bind it to all future calls
1905
- * const authClient = await auth.getClient();
1906
- * google.options({auth: authClient});
1907
- *
1908
- * // Do the magic
1909
- * const res = await chromemanagement.customers.apps.android.get({
1910
- * // Required. The app for which details are being queried. Examples: "customers/my_customer/apps/chrome/gmbmikajjgmnabiglmofipeabaddhgne@2.1.2" for the Save to Google Drive Chrome extension version 2.1.2, "customers/my_customer/apps/android/com.google.android.apps.docs" for the Google Drive Android app's latest version.
1911
- * name: 'customers/my-customer/apps/android/[^/]+',
1912
- * });
1913
- * console.log(res.data);
1914
- *
1915
- * // Example response
1916
- * // {
1917
- * // "androidAppInfo": {},
1918
- * // "appId": "my_appId",
1919
- * // "chromeAppInfo": {},
1920
- * // "description": "my_description",
1921
- * // "detailUri": "my_detailUri",
1922
- * // "displayName": "my_displayName",
1923
- * // "firstPublishTime": "my_firstPublishTime",
1924
- * // "homepageUri": "my_homepageUri",
1925
- * // "iconUri": "my_iconUri",
1926
- * // "isPaidApp": false,
1927
- * // "latestPublishTime": "my_latestPublishTime",
1928
- * // "name": "my_name",
1929
- * // "privacyPolicyUri": "my_privacyPolicyUri",
1930
- * // "publisher": "my_publisher",
1931
- * // "reviewNumber": "my_reviewNumber",
1932
- * // "reviewRating": {},
1933
- * // "revisionId": "my_revisionId",
1934
- * // "serviceError": {},
1935
- * // "type": "my_type"
1936
- * // }
1937
- * }
1938
- *
1939
- * main().catch(e => {
1940
- * console.error(e);
1941
- * throw e;
1942
- * });
1943
- *
1944
- * ```
1945
1829
  *
1946
1830
  * @param params - Parameters for request
1947
1831
  * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
@@ -2051,68 +1935,6 @@ export namespace chromemanagement_v1 {
2051
1935
 
2052
1936
  /**
2053
1937
  * Get a specific app for a customer by its resource name.
2054
- * @example
2055
- * ```js
2056
- * // Before running the sample:
2057
- * // - Enable the API at:
2058
- * // https://console.developers.google.com/apis/api/chromemanagement.googleapis.com
2059
- * // - Login into gcloud by running:
2060
- * // `$ gcloud auth application-default login`
2061
- * // - Install the npm module by running:
2062
- * // `$ npm install googleapis`
2063
- *
2064
- * const {google} = require('googleapis');
2065
- * const chromemanagement = google.chromemanagement('v1');
2066
- *
2067
- * async function main() {
2068
- * const auth = new google.auth.GoogleAuth({
2069
- * // Scopes can be specified either as an array or as a single, space-delimited string.
2070
- * scopes: [
2071
- * 'https://www.googleapis.com/auth/chrome.management.appdetails.readonly',
2072
- * ],
2073
- * });
2074
- *
2075
- * // Acquire an auth client, and bind it to all future calls
2076
- * const authClient = await auth.getClient();
2077
- * google.options({auth: authClient});
2078
- *
2079
- * // Do the magic
2080
- * const res = await chromemanagement.customers.apps.chrome.get({
2081
- * // Required. The app for which details are being queried. Examples: "customers/my_customer/apps/chrome/gmbmikajjgmnabiglmofipeabaddhgne@2.1.2" for the Save to Google Drive Chrome extension version 2.1.2, "customers/my_customer/apps/android/com.google.android.apps.docs" for the Google Drive Android app's latest version.
2082
- * name: 'customers/my-customer/apps/chrome/[^/]+',
2083
- * });
2084
- * console.log(res.data);
2085
- *
2086
- * // Example response
2087
- * // {
2088
- * // "androidAppInfo": {},
2089
- * // "appId": "my_appId",
2090
- * // "chromeAppInfo": {},
2091
- * // "description": "my_description",
2092
- * // "detailUri": "my_detailUri",
2093
- * // "displayName": "my_displayName",
2094
- * // "firstPublishTime": "my_firstPublishTime",
2095
- * // "homepageUri": "my_homepageUri",
2096
- * // "iconUri": "my_iconUri",
2097
- * // "isPaidApp": false,
2098
- * // "latestPublishTime": "my_latestPublishTime",
2099
- * // "name": "my_name",
2100
- * // "privacyPolicyUri": "my_privacyPolicyUri",
2101
- * // "publisher": "my_publisher",
2102
- * // "reviewNumber": "my_reviewNumber",
2103
- * // "reviewRating": {},
2104
- * // "revisionId": "my_revisionId",
2105
- * // "serviceError": {},
2106
- * // "type": "my_type"
2107
- * // }
2108
- * }
2109
- *
2110
- * main().catch(e => {
2111
- * console.error(e);
2112
- * throw e;
2113
- * });
2114
- *
2115
- * ```
2116
1938
  *
2117
1939
  * @param params - Parameters for request
2118
1940
  * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
@@ -2222,68 +2044,6 @@ export namespace chromemanagement_v1 {
2222
2044
 
2223
2045
  /**
2224
2046
  * Get a specific app for a customer by its resource name.
2225
- * @example
2226
- * ```js
2227
- * // Before running the sample:
2228
- * // - Enable the API at:
2229
- * // https://console.developers.google.com/apis/api/chromemanagement.googleapis.com
2230
- * // - Login into gcloud by running:
2231
- * // `$ gcloud auth application-default login`
2232
- * // - Install the npm module by running:
2233
- * // `$ npm install googleapis`
2234
- *
2235
- * const {google} = require('googleapis');
2236
- * const chromemanagement = google.chromemanagement('v1');
2237
- *
2238
- * async function main() {
2239
- * const auth = new google.auth.GoogleAuth({
2240
- * // Scopes can be specified either as an array or as a single, space-delimited string.
2241
- * scopes: [
2242
- * 'https://www.googleapis.com/auth/chrome.management.appdetails.readonly',
2243
- * ],
2244
- * });
2245
- *
2246
- * // Acquire an auth client, and bind it to all future calls
2247
- * const authClient = await auth.getClient();
2248
- * google.options({auth: authClient});
2249
- *
2250
- * // Do the magic
2251
- * const res = await chromemanagement.customers.apps.web.get({
2252
- * // Required. The app for which details are being queried. Examples: "customers/my_customer/apps/chrome/gmbmikajjgmnabiglmofipeabaddhgne@2.1.2" for the Save to Google Drive Chrome extension version 2.1.2, "customers/my_customer/apps/android/com.google.android.apps.docs" for the Google Drive Android app's latest version.
2253
- * name: 'customers/my-customer/apps/web/[^/]+',
2254
- * });
2255
- * console.log(res.data);
2256
- *
2257
- * // Example response
2258
- * // {
2259
- * // "androidAppInfo": {},
2260
- * // "appId": "my_appId",
2261
- * // "chromeAppInfo": {},
2262
- * // "description": "my_description",
2263
- * // "detailUri": "my_detailUri",
2264
- * // "displayName": "my_displayName",
2265
- * // "firstPublishTime": "my_firstPublishTime",
2266
- * // "homepageUri": "my_homepageUri",
2267
- * // "iconUri": "my_iconUri",
2268
- * // "isPaidApp": false,
2269
- * // "latestPublishTime": "my_latestPublishTime",
2270
- * // "name": "my_name",
2271
- * // "privacyPolicyUri": "my_privacyPolicyUri",
2272
- * // "publisher": "my_publisher",
2273
- * // "reviewNumber": "my_reviewNumber",
2274
- * // "reviewRating": {},
2275
- * // "revisionId": "my_revisionId",
2276
- * // "serviceError": {},
2277
- * // "type": "my_type"
2278
- * // }
2279
- * }
2280
- *
2281
- * main().catch(e => {
2282
- * console.error(e);
2283
- * throw e;
2284
- * });
2285
- *
2286
- * ```
2287
2047
  *
2288
2048
  * @param params - Parameters for request
2289
2049
  * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
@@ -2393,57 +2153,6 @@ export namespace chromemanagement_v1 {
2393
2153
 
2394
2154
  /**
2395
2155
  * Count of Chrome Browsers that have been recently enrolled, have new policy to be synced, or have no recent activity.
2396
- * @example
2397
- * ```js
2398
- * // Before running the sample:
2399
- * // - Enable the API at:
2400
- * // https://console.developers.google.com/apis/api/chromemanagement.googleapis.com
2401
- * // - Login into gcloud by running:
2402
- * // `$ gcloud auth application-default login`
2403
- * // - Install the npm module by running:
2404
- * // `$ npm install googleapis`
2405
- *
2406
- * const {google} = require('googleapis');
2407
- * const chromemanagement = google.chromemanagement('v1');
2408
- *
2409
- * async function main() {
2410
- * const auth = new google.auth.GoogleAuth({
2411
- * // Scopes can be specified either as an array or as a single, space-delimited string.
2412
- * scopes: [
2413
- * 'https://www.googleapis.com/auth/chrome.management.reports.readonly',
2414
- * ],
2415
- * });
2416
- *
2417
- * // Acquire an auth client, and bind it to all future calls
2418
- * const authClient = await auth.getClient();
2419
- * google.options({auth: authClient});
2420
- *
2421
- * // Do the magic
2422
- * const res =
2423
- * await chromemanagement.customers.reports.countChromeBrowsersNeedingAttention(
2424
- * {
2425
- * // Required. The customer ID or "my_customer" prefixed with "customers/".
2426
- * customer: 'customers/my-customer',
2427
- * // Optional. The ID of the organizational unit. If omitted, all data will be returned.
2428
- * orgUnitId: 'placeholder-value',
2429
- * }
2430
- * );
2431
- * console.log(res.data);
2432
- *
2433
- * // Example response
2434
- * // {
2435
- * // "noRecentActivityCount": "my_noRecentActivityCount",
2436
- * // "pendingBrowserUpdateCount": "my_pendingBrowserUpdateCount",
2437
- * // "recentlyEnrolledCount": "my_recentlyEnrolledCount"
2438
- * // }
2439
- * }
2440
- *
2441
- * main().catch(e => {
2442
- * console.error(e);
2443
- * throw e;
2444
- * });
2445
- *
2446
- * ```
2447
2156
  *
2448
2157
  * @param params - Parameters for request
2449
2158
  * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
@@ -2542,59 +2251,6 @@ export namespace chromemanagement_v1 {
2542
2251
 
2543
2252
  /**
2544
2253
  * Generate report of the number of devices expiring in each month of the selected time frame. Devices are grouped by auto update expiration date and model. Further information can be found [here](https://support.google.com/chrome/a/answer/10564947).
2545
- * @example
2546
- * ```js
2547
- * // Before running the sample:
2548
- * // - Enable the API at:
2549
- * // https://console.developers.google.com/apis/api/chromemanagement.googleapis.com
2550
- * // - Login into gcloud by running:
2551
- * // `$ gcloud auth application-default login`
2552
- * // - Install the npm module by running:
2553
- * // `$ npm install googleapis`
2554
- *
2555
- * const {google} = require('googleapis');
2556
- * const chromemanagement = google.chromemanagement('v1');
2557
- *
2558
- * async function main() {
2559
- * const auth = new google.auth.GoogleAuth({
2560
- * // Scopes can be specified either as an array or as a single, space-delimited string.
2561
- * scopes: [
2562
- * 'https://www.googleapis.com/auth/chrome.management.reports.readonly',
2563
- * ],
2564
- * });
2565
- *
2566
- * // Acquire an auth client, and bind it to all future calls
2567
- * const authClient = await auth.getClient();
2568
- * google.options({auth: authClient});
2569
- *
2570
- * // Do the magic
2571
- * const res =
2572
- * await chromemanagement.customers.reports.countChromeDevicesReachingAutoExpirationDate(
2573
- * {
2574
- * // Required. The customer ID or "my_customer" prefixed with "customers/".
2575
- * customer: 'customers/my-customer',
2576
- * // Optional. Maximum expiration date in format yyyy-mm-dd in UTC timezone. If included returns all devices that have already expired and devices with auto expiration date equal to or earlier than the maximum date.
2577
- * maxAueDate: 'placeholder-value',
2578
- * // Optional. Maximum expiration date in format yyyy-mm-dd in UTC timezone. If included returns all devices that have already expired and devices with auto expiration date equal to or later than the minimum date.
2579
- * minAueDate: 'placeholder-value',
2580
- * // Optional. The organizational unit ID, if omitted, will return data for all organizational units.
2581
- * orgUnitId: 'placeholder-value',
2582
- * }
2583
- * );
2584
- * console.log(res.data);
2585
- *
2586
- * // Example response
2587
- * // {
2588
- * // "deviceAueCountReports": []
2589
- * // }
2590
- * }
2591
- *
2592
- * main().catch(e => {
2593
- * console.error(e);
2594
- * throw e;
2595
- * });
2596
- *
2597
- * ```
2598
2254
  *
2599
2255
  * @param params - Parameters for request
2600
2256
  * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
@@ -2693,61 +2349,6 @@ export namespace chromemanagement_v1 {
2693
2349
 
2694
2350
  /**
2695
2351
  * Counts of ChromeOS devices that have not synced policies or have lacked user activity in the past 28 days, are out of date, or are not complaint. Further information can be found here https://support.google.com/chrome/a/answer/10564947
2696
- * @example
2697
- * ```js
2698
- * // Before running the sample:
2699
- * // - Enable the API at:
2700
- * // https://console.developers.google.com/apis/api/chromemanagement.googleapis.com
2701
- * // - Login into gcloud by running:
2702
- * // `$ gcloud auth application-default login`
2703
- * // - Install the npm module by running:
2704
- * // `$ npm install googleapis`
2705
- *
2706
- * const {google} = require('googleapis');
2707
- * const chromemanagement = google.chromemanagement('v1');
2708
- *
2709
- * async function main() {
2710
- * const auth = new google.auth.GoogleAuth({
2711
- * // Scopes can be specified either as an array or as a single, space-delimited string.
2712
- * scopes: [
2713
- * 'https://www.googleapis.com/auth/chrome.management.reports.readonly',
2714
- * ],
2715
- * });
2716
- *
2717
- * // Acquire an auth client, and bind it to all future calls
2718
- * const authClient = await auth.getClient();
2719
- * google.options({auth: authClient});
2720
- *
2721
- * // Do the magic
2722
- * const res =
2723
- * await chromemanagement.customers.reports.countChromeDevicesThatNeedAttention(
2724
- * {
2725
- * // Required. The customer ID or "my_customer" prefixed with "customers/".
2726
- * customer: 'customers/my-customer',
2727
- * // Optional. The ID of the organizational unit. If omitted, all data will be returned.
2728
- * orgUnitId: 'placeholder-value',
2729
- * // Required. Mask of the fields that should be populated in the returned report.
2730
- * readMask: 'placeholder-value',
2731
- * }
2732
- * );
2733
- * console.log(res.data);
2734
- *
2735
- * // Example response
2736
- * // {
2737
- * // "noRecentPolicySyncCount": "my_noRecentPolicySyncCount",
2738
- * // "noRecentUserActivityCount": "my_noRecentUserActivityCount",
2739
- * // "osVersionNotCompliantCount": "my_osVersionNotCompliantCount",
2740
- * // "pendingUpdate": "my_pendingUpdate",
2741
- * // "unsupportedPolicyCount": "my_unsupportedPolicyCount"
2742
- * // }
2743
- * }
2744
- *
2745
- * main().catch(e => {
2746
- * console.error(e);
2747
- * throw e;
2748
- * });
2749
- *
2750
- * ```
2751
2352
  *
2752
2353
  * @param params - Parameters for request
2753
2354
  * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
@@ -2846,58 +2447,6 @@ export namespace chromemanagement_v1 {
2846
2447
 
2847
2448
  /**
2848
2449
  * Counts of devices with a specific hardware specification from the requested hardware type (for example model name, processor type). Further information can be found here https://support.google.com/chrome/a/answer/10564947
2849
- * @example
2850
- * ```js
2851
- * // Before running the sample:
2852
- * // - Enable the API at:
2853
- * // https://console.developers.google.com/apis/api/chromemanagement.googleapis.com
2854
- * // - Login into gcloud by running:
2855
- * // `$ gcloud auth application-default login`
2856
- * // - Install the npm module by running:
2857
- * // `$ npm install googleapis`
2858
- *
2859
- * const {google} = require('googleapis');
2860
- * const chromemanagement = google.chromemanagement('v1');
2861
- *
2862
- * async function main() {
2863
- * const auth = new google.auth.GoogleAuth({
2864
- * // Scopes can be specified either as an array or as a single, space-delimited string.
2865
- * scopes: [
2866
- * 'https://www.googleapis.com/auth/chrome.management.reports.readonly',
2867
- * ],
2868
- * });
2869
- *
2870
- * // Acquire an auth client, and bind it to all future calls
2871
- * const authClient = await auth.getClient();
2872
- * google.options({auth: authClient});
2873
- *
2874
- * // Do the magic
2875
- * const res =
2876
- * await chromemanagement.customers.reports.countChromeHardwareFleetDevices({
2877
- * // Required. The customer ID or "my_customer".
2878
- * customer: 'customers/my-customer',
2879
- * // Optional. The ID of the organizational unit. If omitted, all data will be returned.
2880
- * orgUnitId: 'placeholder-value',
2881
- * // Required. Mask of the fields that should be populated in the returned report.
2882
- * readMask: 'placeholder-value',
2883
- * });
2884
- * console.log(res.data);
2885
- *
2886
- * // Example response
2887
- * // {
2888
- * // "cpuReports": [],
2889
- * // "memoryReports": [],
2890
- * // "modelReports": [],
2891
- * // "storageReports": []
2892
- * // }
2893
- * }
2894
- *
2895
- * main().catch(e => {
2896
- * console.error(e);
2897
- * throw e;
2898
- * });
2899
- *
2900
- * ```
2901
2450
  *
2902
2451
  * @param params - Parameters for request
2903
2452
  * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
@@ -2996,60 +2545,6 @@ export namespace chromemanagement_v1 {
2996
2545
 
2997
2546
  /**
2998
2547
  * Generate report of installed Chrome versions.
2999
- * @example
3000
- * ```js
3001
- * // Before running the sample:
3002
- * // - Enable the API at:
3003
- * // https://console.developers.google.com/apis/api/chromemanagement.googleapis.com
3004
- * // - Login into gcloud by running:
3005
- * // `$ gcloud auth application-default login`
3006
- * // - Install the npm module by running:
3007
- * // `$ npm install googleapis`
3008
- *
3009
- * const {google} = require('googleapis');
3010
- * const chromemanagement = google.chromemanagement('v1');
3011
- *
3012
- * async function main() {
3013
- * const auth = new google.auth.GoogleAuth({
3014
- * // Scopes can be specified either as an array or as a single, space-delimited string.
3015
- * scopes: [
3016
- * 'https://www.googleapis.com/auth/chrome.management.reports.readonly',
3017
- * ],
3018
- * });
3019
- *
3020
- * // Acquire an auth client, and bind it to all future calls
3021
- * const authClient = await auth.getClient();
3022
- * google.options({auth: authClient});
3023
- *
3024
- * // Do the magic
3025
- * const res = await chromemanagement.customers.reports.countChromeVersions({
3026
- * // Required. Customer id or "my_customer" to use the customer associated to the account making the request.
3027
- * customer: 'customers/my-customer',
3028
- * // 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
3029
- * filter: 'placeholder-value',
3030
- * // The ID of the organizational unit.
3031
- * orgUnitId: 'placeholder-value',
3032
- * // Maximum number of results to return. Maximum and default are 100.
3033
- * pageSize: 'placeholder-value',
3034
- * // Token to specify the page of the request to be returned.
3035
- * pageToken: 'placeholder-value',
3036
- * });
3037
- * console.log(res.data);
3038
- *
3039
- * // Example response
3040
- * // {
3041
- * // "browserVersions": [],
3042
- * // "nextPageToken": "my_nextPageToken",
3043
- * // "totalSize": 0
3044
- * // }
3045
- * }
3046
- *
3047
- * main().catch(e => {
3048
- * console.error(e);
3049
- * throw e;
3050
- * });
3051
- *
3052
- * ```
3053
2548
  *
3054
2549
  * @param params - Parameters for request
3055
2550
  * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
@@ -3146,62 +2641,6 @@ export namespace chromemanagement_v1 {
3146
2641
 
3147
2642
  /**
3148
2643
  * Generate report of app installations.
3149
- * @example
3150
- * ```js
3151
- * // Before running the sample:
3152
- * // - Enable the API at:
3153
- * // https://console.developers.google.com/apis/api/chromemanagement.googleapis.com
3154
- * // - Login into gcloud by running:
3155
- * // `$ gcloud auth application-default login`
3156
- * // - Install the npm module by running:
3157
- * // `$ npm install googleapis`
3158
- *
3159
- * const {google} = require('googleapis');
3160
- * const chromemanagement = google.chromemanagement('v1');
3161
- *
3162
- * async function main() {
3163
- * const auth = new google.auth.GoogleAuth({
3164
- * // Scopes can be specified either as an array or as a single, space-delimited string.
3165
- * scopes: [
3166
- * 'https://www.googleapis.com/auth/chrome.management.reports.readonly',
3167
- * ],
3168
- * });
3169
- *
3170
- * // Acquire an auth client, and bind it to all future calls
3171
- * const authClient = await auth.getClient();
3172
- * google.options({auth: authClient});
3173
- *
3174
- * // Do the magic
3175
- * const res = await chromemanagement.customers.reports.countInstalledApps({
3176
- * // Required. Customer id or "my_customer" to use the customer associated to the account making the request.
3177
- * customer: 'customers/my-customer',
3178
- * // Query string to filter results, AND-separated fields in EBNF syntax. Note: OR operations are not supported in this filter. Supported filter fields: * app_name * app_type * install_type * number_of_permissions * total_install_count * latest_profile_active_date * permission_name * app_id
3179
- * filter: 'placeholder-value',
3180
- * // Field used to order results. Supported order by fields: * app_name * app_type * install_type * number_of_permissions * total_install_count * app_id
3181
- * orderBy: 'placeholder-value',
3182
- * // The ID of the organizational unit.
3183
- * orgUnitId: 'placeholder-value',
3184
- * // Maximum number of results to return. Maximum and default are 100.
3185
- * pageSize: 'placeholder-value',
3186
- * // Token to specify the page of the request to be returned.
3187
- * pageToken: 'placeholder-value',
3188
- * });
3189
- * console.log(res.data);
3190
- *
3191
- * // Example response
3192
- * // {
3193
- * // "installedApps": [],
3194
- * // "nextPageToken": "my_nextPageToken",
3195
- * // "totalSize": 0
3196
- * // }
3197
- * }
3198
- *
3199
- * main().catch(e => {
3200
- * console.error(e);
3201
- * throw e;
3202
- * });
3203
- *
3204
- * ```
3205
2644
  *
3206
2645
  * @param params - Parameters for request
3207
2646
  * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
@@ -3298,66 +2737,6 @@ export namespace chromemanagement_v1 {
3298
2737
 
3299
2738
  /**
3300
2739
  * Generate report of managed Chrome browser devices that have a specified app installed.
3301
- * @example
3302
- * ```js
3303
- * // Before running the sample:
3304
- * // - Enable the API at:
3305
- * // https://console.developers.google.com/apis/api/chromemanagement.googleapis.com
3306
- * // - Login into gcloud by running:
3307
- * // `$ gcloud auth application-default login`
3308
- * // - Install the npm module by running:
3309
- * // `$ npm install googleapis`
3310
- *
3311
- * const {google} = require('googleapis');
3312
- * const chromemanagement = google.chromemanagement('v1');
3313
- *
3314
- * async function main() {
3315
- * const auth = new google.auth.GoogleAuth({
3316
- * // Scopes can be specified either as an array or as a single, space-delimited string.
3317
- * scopes: [
3318
- * 'https://www.googleapis.com/auth/chrome.management.reports.readonly',
3319
- * ],
3320
- * });
3321
- *
3322
- * // Acquire an auth client, and bind it to all future calls
3323
- * const authClient = await auth.getClient();
3324
- * google.options({auth: authClient});
3325
- *
3326
- * // Do the magic
3327
- * const res = await chromemanagement.customers.reports.findInstalledAppDevices({
3328
- * // 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).
3329
- * appId: 'placeholder-value',
3330
- * // Type of the app.
3331
- * appType: 'placeholder-value',
3332
- * // Required. Customer id or "my_customer" to use the customer associated to the account making the request.
3333
- * customer: 'customers/my-customer',
3334
- * // 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
3335
- * filter: 'placeholder-value',
3336
- * // Field used to order results. Supported order by fields: * machine * device_id
3337
- * orderBy: 'placeholder-value',
3338
- * // The ID of the organizational unit.
3339
- * orgUnitId: 'placeholder-value',
3340
- * // Maximum number of results to return. Maximum and default are 100.
3341
- * pageSize: 'placeholder-value',
3342
- * // Token to specify the page of the request to be returned.
3343
- * pageToken: 'placeholder-value',
3344
- * });
3345
- * console.log(res.data);
3346
- *
3347
- * // Example response
3348
- * // {
3349
- * // "devices": [],
3350
- * // "nextPageToken": "my_nextPageToken",
3351
- * // "totalSize": 0
3352
- * // }
3353
- * }
3354
- *
3355
- * main().catch(e => {
3356
- * console.error(e);
3357
- * throw e;
3358
- * });
3359
- *
3360
- * ```
3361
2740
  *
3362
2741
  * @param params - Parameters for request
3363
2742
  * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
@@ -3621,76 +3000,6 @@ export namespace chromemanagement_v1 {
3621
3000
 
3622
3001
  /**
3623
3002
  * Get telemetry device.
3624
- * @example
3625
- * ```js
3626
- * // Before running the sample:
3627
- * // - Enable the API at:
3628
- * // https://console.developers.google.com/apis/api/chromemanagement.googleapis.com
3629
- * // - Login into gcloud by running:
3630
- * // `$ gcloud auth application-default login`
3631
- * // - Install the npm module by running:
3632
- * // `$ npm install googleapis`
3633
- *
3634
- * const {google} = require('googleapis');
3635
- * const chromemanagement = google.chromemanagement('v1');
3636
- *
3637
- * async function main() {
3638
- * const auth = new google.auth.GoogleAuth({
3639
- * // Scopes can be specified either as an array or as a single, space-delimited string.
3640
- * scopes: [
3641
- * 'https://www.googleapis.com/auth/chrome.management.telemetry.readonly',
3642
- * ],
3643
- * });
3644
- *
3645
- * // Acquire an auth client, and bind it to all future calls
3646
- * const authClient = await auth.getClient();
3647
- * google.options({auth: authClient});
3648
- *
3649
- * // Do the magic
3650
- * const res = await chromemanagement.customers.telemetry.devices.get({
3651
- * // Required. Name of the `TelemetryDevice` to return.
3652
- * name: 'customers/my-customer/telemetry/devices/my-device',
3653
- * // Required. Read mask to specify which fields to return.
3654
- * readMask: 'placeholder-value',
3655
- * });
3656
- * console.log(res.data);
3657
- *
3658
- * // Example response
3659
- * // {
3660
- * // "audioStatusReport": [],
3661
- * // "batteryInfo": [],
3662
- * // "batteryStatusReport": [],
3663
- * // "bootPerformanceReport": [],
3664
- * // "cpuInfo": [],
3665
- * // "cpuStatusReport": [],
3666
- * // "customer": "my_customer",
3667
- * // "deviceId": "my_deviceId",
3668
- * // "graphicsInfo": {},
3669
- * // "graphicsStatusReport": [],
3670
- * // "heartbeatStatusReport": [],
3671
- * // "kioskAppStatusReport": [],
3672
- * // "memoryInfo": {},
3673
- * // "memoryStatusReport": [],
3674
- * // "name": "my_name",
3675
- * // "networkDiagnosticsReport": [],
3676
- * // "networkInfo": {},
3677
- * // "networkStatusReport": [],
3678
- * // "orgUnitId": "my_orgUnitId",
3679
- * // "osUpdateStatus": [],
3680
- * // "peripheralsReport": [],
3681
- * // "serialNumber": "my_serialNumber",
3682
- * // "storageInfo": {},
3683
- * // "storageStatusReport": [],
3684
- * // "thunderboltInfo": []
3685
- * // }
3686
- * }
3687
- *
3688
- * main().catch(e => {
3689
- * console.error(e);
3690
- * throw e;
3691
- * });
3692
- *
3693
- * ```
3694
3003
  *
3695
3004
  * @param params - Parameters for request
3696
3005
  * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
@@ -3785,59 +3094,6 @@ export namespace chromemanagement_v1 {
3785
3094
 
3786
3095
  /**
3787
3096
  * List all telemetry devices.
3788
- * @example
3789
- * ```js
3790
- * // Before running the sample:
3791
- * // - Enable the API at:
3792
- * // https://console.developers.google.com/apis/api/chromemanagement.googleapis.com
3793
- * // - Login into gcloud by running:
3794
- * // `$ gcloud auth application-default login`
3795
- * // - Install the npm module by running:
3796
- * // `$ npm install googleapis`
3797
- *
3798
- * const {google} = require('googleapis');
3799
- * const chromemanagement = google.chromemanagement('v1');
3800
- *
3801
- * async function main() {
3802
- * const auth = new google.auth.GoogleAuth({
3803
- * // Scopes can be specified either as an array or as a single, space-delimited string.
3804
- * scopes: [
3805
- * 'https://www.googleapis.com/auth/chrome.management.telemetry.readonly',
3806
- * ],
3807
- * });
3808
- *
3809
- * // Acquire an auth client, and bind it to all future calls
3810
- * const authClient = await auth.getClient();
3811
- * google.options({auth: authClient});
3812
- *
3813
- * // Do the magic
3814
- * const res = await chromemanagement.customers.telemetry.devices.list({
3815
- * // Optional. Only include resources that match the filter. Supported filter fields: - org_unit_id - serial_number - device_id - reports_timestamp The "reports_timestamp" filter accepts either the Unix Epoch milliseconds format or the RFC3339 UTC "Zulu" format with nanosecond resolution and up to nine fractional digits. Both formats should be surrounded by simple double quotes. Examples: "2014-10-02T15:01:23Z", "2014-10-02T15:01:23.045123456Z", "1679283943823".
3816
- * filter: 'placeholder-value',
3817
- * // Maximum number of results to return. Default value is 100. Maximum value is 1000.
3818
- * pageSize: 'placeholder-value',
3819
- * // Token to specify next page in the list.
3820
- * pageToken: 'placeholder-value',
3821
- * // Required. Customer id or "my_customer" to use the customer associated to the account making the request.
3822
- * parent: 'customers/my-customer',
3823
- * // Required. Read mask to specify which fields to return.
3824
- * readMask: 'placeholder-value',
3825
- * });
3826
- * console.log(res.data);
3827
- *
3828
- * // Example response
3829
- * // {
3830
- * // "devices": [],
3831
- * // "nextPageToken": "my_nextPageToken"
3832
- * // }
3833
- * }
3834
- *
3835
- * main().catch(e => {
3836
- * console.error(e);
3837
- * throw e;
3838
- * });
3839
- *
3840
- * ```
3841
3097
  *
3842
3098
  * @param params - Parameters for request
3843
3099
  * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
@@ -3977,59 +3233,6 @@ export namespace chromemanagement_v1 {
3977
3233
 
3978
3234
  /**
3979
3235
  * List telemetry events.
3980
- * @example
3981
- * ```js
3982
- * // Before running the sample:
3983
- * // - Enable the API at:
3984
- * // https://console.developers.google.com/apis/api/chromemanagement.googleapis.com
3985
- * // - Login into gcloud by running:
3986
- * // `$ gcloud auth application-default login`
3987
- * // - Install the npm module by running:
3988
- * // `$ npm install googleapis`
3989
- *
3990
- * const {google} = require('googleapis');
3991
- * const chromemanagement = google.chromemanagement('v1');
3992
- *
3993
- * async function main() {
3994
- * const auth = new google.auth.GoogleAuth({
3995
- * // Scopes can be specified either as an array or as a single, space-delimited string.
3996
- * scopes: [
3997
- * 'https://www.googleapis.com/auth/chrome.management.telemetry.readonly',
3998
- * ],
3999
- * });
4000
- *
4001
- * // Acquire an auth client, and bind it to all future calls
4002
- * const authClient = await auth.getClient();
4003
- * google.options({auth: authClient});
4004
- *
4005
- * // Do the magic
4006
- * const res = await chromemanagement.customers.telemetry.events.list({
4007
- * // Optional. Only include resources that match the filter. Although this parameter is currently optional, this parameter will be required- please specify at least 1 event type. Supported filter fields: - device_id - user_id - device_org_unit_id - user_org_unit_id - timestamp - event_type The "timestamp" filter accepts either the Unix Epoch milliseconds format or the RFC3339 UTC "Zulu" format with nanosecond resolution and up to nine fractional digits. Both formats should be surrounded by simple double quotes. Examples: "2014-10-02T15:01:23Z", "2014-10-02T15:01:23.045123456Z", "1679283943823".
4008
- * filter: 'placeholder-value',
4009
- * // Optional. Maximum number of results to return. Default value is 100. Maximum value is 1000.
4010
- * pageSize: 'placeholder-value',
4011
- * // Optional. Token to specify next page in the list.
4012
- * pageToken: 'placeholder-value',
4013
- * // Required. Customer id or "my_customer" to use the customer associated to the account making the request.
4014
- * parent: 'customers/my-customer',
4015
- * // Required. Read mask to specify which fields to return. Although currently required, this field will become optional, while the filter parameter with an event type will be come required.
4016
- * readMask: 'placeholder-value',
4017
- * });
4018
- * console.log(res.data);
4019
- *
4020
- * // Example response
4021
- * // {
4022
- * // "nextPageToken": "my_nextPageToken",
4023
- * // "telemetryEvents": []
4024
- * // }
4025
- * }
4026
- *
4027
- * main().catch(e => {
4028
- * console.error(e);
4029
- * throw e;
4030
- * });
4031
- *
4032
- * ```
4033
3236
  *
4034
3237
  * @param params - Parameters for request
4035
3238
  * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
@@ -4158,57 +3361,6 @@ export namespace chromemanagement_v1 {
4158
3361
 
4159
3362
  /**
4160
3363
  * Get telemetry user.
4161
- * @example
4162
- * ```js
4163
- * // Before running the sample:
4164
- * // - Enable the API at:
4165
- * // https://console.developers.google.com/apis/api/chromemanagement.googleapis.com
4166
- * // - Login into gcloud by running:
4167
- * // `$ gcloud auth application-default login`
4168
- * // - Install the npm module by running:
4169
- * // `$ npm install googleapis`
4170
- *
4171
- * const {google} = require('googleapis');
4172
- * const chromemanagement = google.chromemanagement('v1');
4173
- *
4174
- * async function main() {
4175
- * const auth = new google.auth.GoogleAuth({
4176
- * // Scopes can be specified either as an array or as a single, space-delimited string.
4177
- * scopes: [
4178
- * 'https://www.googleapis.com/auth/chrome.management.telemetry.readonly',
4179
- * ],
4180
- * });
4181
- *
4182
- * // Acquire an auth client, and bind it to all future calls
4183
- * const authClient = await auth.getClient();
4184
- * google.options({auth: authClient});
4185
- *
4186
- * // Do the magic
4187
- * const res = await chromemanagement.customers.telemetry.users.get({
4188
- * // Required. Name of the `TelemetryUser` to return.
4189
- * name: 'customers/my-customer/telemetry/users/my-user',
4190
- * // Read mask to specify which fields to return.
4191
- * readMask: 'placeholder-value',
4192
- * });
4193
- * console.log(res.data);
4194
- *
4195
- * // Example response
4196
- * // {
4197
- * // "customer": "my_customer",
4198
- * // "name": "my_name",
4199
- * // "orgUnitId": "my_orgUnitId",
4200
- * // "userDevice": [],
4201
- * // "userEmail": "my_userEmail",
4202
- * // "userId": "my_userId"
4203
- * // }
4204
- * }
4205
- *
4206
- * main().catch(e => {
4207
- * console.error(e);
4208
- * throw e;
4209
- * });
4210
- *
4211
- * ```
4212
3364
  *
4213
3365
  * @param params - Parameters for request
4214
3366
  * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
@@ -4303,59 +3455,6 @@ export namespace chromemanagement_v1 {
4303
3455
 
4304
3456
  /**
4305
3457
  * List all telemetry users.
4306
- * @example
4307
- * ```js
4308
- * // Before running the sample:
4309
- * // - Enable the API at:
4310
- * // https://console.developers.google.com/apis/api/chromemanagement.googleapis.com
4311
- * // - Login into gcloud by running:
4312
- * // `$ gcloud auth application-default login`
4313
- * // - Install the npm module by running:
4314
- * // `$ npm install googleapis`
4315
- *
4316
- * const {google} = require('googleapis');
4317
- * const chromemanagement = google.chromemanagement('v1');
4318
- *
4319
- * async function main() {
4320
- * const auth = new google.auth.GoogleAuth({
4321
- * // Scopes can be specified either as an array or as a single, space-delimited string.
4322
- * scopes: [
4323
- * 'https://www.googleapis.com/auth/chrome.management.telemetry.readonly',
4324
- * ],
4325
- * });
4326
- *
4327
- * // Acquire an auth client, and bind it to all future calls
4328
- * const authClient = await auth.getClient();
4329
- * google.options({auth: authClient});
4330
- *
4331
- * // Do the magic
4332
- * const res = await chromemanagement.customers.telemetry.users.list({
4333
- * // Only include resources that match the filter. Supported filter fields: - user_id - user_org_unit_id
4334
- * filter: 'placeholder-value',
4335
- * // Maximum number of results to return. Default value is 100. Maximum value is 1000.
4336
- * pageSize: 'placeholder-value',
4337
- * // Token to specify next page in the list.
4338
- * pageToken: 'placeholder-value',
4339
- * // Required. Customer id or "my_customer" to use the customer associated to the account making the request.
4340
- * parent: 'customers/my-customer',
4341
- * // Read mask to specify which fields to return.
4342
- * readMask: 'placeholder-value',
4343
- * });
4344
- * console.log(res.data);
4345
- *
4346
- * // Example response
4347
- * // {
4348
- * // "nextPageToken": "my_nextPageToken",
4349
- * // "telemetryUsers": []
4350
- * // }
4351
- * }
4352
- *
4353
- * main().catch(e => {
4354
- * console.error(e);
4355
- * throw e;
4356
- * });
4357
- *
4358
- * ```
4359
3458
  *
4360
3459
  * @param params - Parameters for request
4361
3460
  * @param options - Optionally override request options, such as `url`, `method`, and `encoding`.