@googleapis/chromemanagement 26.0.0 → 30.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/CHANGELOG.md +98 -0
- package/build/tsconfig.tsbuildinfo +1 -1
- package/build/v1.d.ts +1137 -47
- package/build/v1.js +265 -0
- package/build/v1.js.map +1 -1
- package/package.json +3 -3
- package/v1.ts +2832 -1038
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
|
*/
|
|
@@ -1108,6 +1125,57 @@ export declare namespace chromemanagement_v1 {
|
|
|
1108
1125
|
*/
|
|
1109
1126
|
totalSize?: number | null;
|
|
1110
1127
|
}
|
|
1128
|
+
/**
|
|
1129
|
+
* Response to `FindSaasUsageBrowsers` method.
|
|
1130
|
+
*/
|
|
1131
|
+
export interface Schema$GoogleChromeManagementV1FindSaasUsageBrowsersResponse {
|
|
1132
|
+
/**
|
|
1133
|
+
* A token, which can be sent as `page_token` to retrieve the next page.
|
|
1134
|
+
*/
|
|
1135
|
+
nextPageToken?: string | null;
|
|
1136
|
+
/**
|
|
1137
|
+
* The list of SaaS usage browser reports.
|
|
1138
|
+
*/
|
|
1139
|
+
saasUsageBrowsers?: Schema$GoogleChromeManagementV1SaasUsageBrowser[];
|
|
1140
|
+
/**
|
|
1141
|
+
* Total number of SaaS usage browser reports that match the request.
|
|
1142
|
+
*/
|
|
1143
|
+
totalSize?: string | null;
|
|
1144
|
+
}
|
|
1145
|
+
/**
|
|
1146
|
+
* Response to `FindSaasUsageProfiles` method.
|
|
1147
|
+
*/
|
|
1148
|
+
export interface Schema$GoogleChromeManagementV1FindSaasUsageProfilesResponse {
|
|
1149
|
+
/**
|
|
1150
|
+
* A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.
|
|
1151
|
+
*/
|
|
1152
|
+
nextPageToken?: string | null;
|
|
1153
|
+
/**
|
|
1154
|
+
* The list of SaaS usage profile reports.
|
|
1155
|
+
*/
|
|
1156
|
+
profileReports?: Schema$GoogleChromeManagementV1SaasUsageProfileReport[];
|
|
1157
|
+
/**
|
|
1158
|
+
* Total number of SaaS usage profile reports that match the request.
|
|
1159
|
+
*/
|
|
1160
|
+
totalSize?: string | null;
|
|
1161
|
+
}
|
|
1162
|
+
/**
|
|
1163
|
+
* Response to `FindSaasUsage` method.
|
|
1164
|
+
*/
|
|
1165
|
+
export interface Schema$GoogleChromeManagementV1FindSaasUsageReportsResponse {
|
|
1166
|
+
/**
|
|
1167
|
+
* A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.
|
|
1168
|
+
*/
|
|
1169
|
+
nextPageToken?: string | null;
|
|
1170
|
+
/**
|
|
1171
|
+
* The list of SaaS usage reports.
|
|
1172
|
+
*/
|
|
1173
|
+
saasReports?: Schema$GoogleChromeManagementV1SaasUsageReport[];
|
|
1174
|
+
/**
|
|
1175
|
+
* Total number of SaaS usage reports that match the request.
|
|
1176
|
+
*/
|
|
1177
|
+
totalSize?: string | null;
|
|
1178
|
+
}
|
|
1111
1179
|
/**
|
|
1112
1180
|
* Information of a graphics adapter (GPU).
|
|
1113
1181
|
*/
|
|
@@ -1233,6 +1301,10 @@ export declare namespace chromemanagement_v1 {
|
|
|
1233
1301
|
* Output only. Permissions of the installed app.
|
|
1234
1302
|
*/
|
|
1235
1303
|
permissions?: string[] | null;
|
|
1304
|
+
/**
|
|
1305
|
+
* Output only. Count of Chrome Profiles with this app installed.
|
|
1306
|
+
*/
|
|
1307
|
+
profileCount?: string | null;
|
|
1236
1308
|
/**
|
|
1237
1309
|
* Output only. If available, the risk assessment data about this extension.
|
|
1238
1310
|
*/
|
|
@@ -1704,6 +1776,146 @@ export declare namespace chromemanagement_v1 {
|
|
|
1704
1776
|
*/
|
|
1705
1777
|
uptimeRuntimeDuration?: string | null;
|
|
1706
1778
|
}
|
|
1779
|
+
/**
|
|
1780
|
+
* Details of a SaaS usage browser.
|
|
1781
|
+
*/
|
|
1782
|
+
export interface Schema$GoogleChromeManagementV1SaasUsageBrowser {
|
|
1783
|
+
/**
|
|
1784
|
+
* Output only. The device permanent ID.
|
|
1785
|
+
*/
|
|
1786
|
+
devicePermanentId?: string | null;
|
|
1787
|
+
/**
|
|
1788
|
+
* Output only. The timestamp when the application was first navigated to by this browser.
|
|
1789
|
+
*/
|
|
1790
|
+
firstNavigationTime?: string | null;
|
|
1791
|
+
/**
|
|
1792
|
+
* Output only. The timestamp when the application was last navigated to by this browser.
|
|
1793
|
+
*/
|
|
1794
|
+
lastNavigationTime?: string | null;
|
|
1795
|
+
/**
|
|
1796
|
+
* Output only. The machine name.
|
|
1797
|
+
*/
|
|
1798
|
+
machine?: string | null;
|
|
1799
|
+
/**
|
|
1800
|
+
* Output only. The ID of the organizational unit.
|
|
1801
|
+
*/
|
|
1802
|
+
orgUnitId?: string | null;
|
|
1803
|
+
/**
|
|
1804
|
+
* Output only. The OS platform.
|
|
1805
|
+
*/
|
|
1806
|
+
osPlatform?: string | null;
|
|
1807
|
+
/**
|
|
1808
|
+
* Output only. The OS version.
|
|
1809
|
+
*/
|
|
1810
|
+
osVersion?: string | null;
|
|
1811
|
+
}
|
|
1812
|
+
/**
|
|
1813
|
+
* Represents a single SaaS report entry grouped by profile.
|
|
1814
|
+
*/
|
|
1815
|
+
export interface Schema$GoogleChromeManagementV1SaasUsageProfileReport {
|
|
1816
|
+
/**
|
|
1817
|
+
* Output only. The email of the user.
|
|
1818
|
+
*/
|
|
1819
|
+
email?: string | null;
|
|
1820
|
+
/**
|
|
1821
|
+
* Output only. The timestamp when the application was first navigated to by this profile.
|
|
1822
|
+
*/
|
|
1823
|
+
firstNavigationTime?: string | null;
|
|
1824
|
+
/**
|
|
1825
|
+
* Output only. The timestamp when the application was last navigated to by this profile.
|
|
1826
|
+
*/
|
|
1827
|
+
lastNavigationTime?: string | null;
|
|
1828
|
+
/**
|
|
1829
|
+
* Output only. The ID of the organizational unit.
|
|
1830
|
+
*/
|
|
1831
|
+
orgUnitId?: string | null;
|
|
1832
|
+
/**
|
|
1833
|
+
* Output only. The OS platform.
|
|
1834
|
+
*/
|
|
1835
|
+
osPlatform?: string | null;
|
|
1836
|
+
/**
|
|
1837
|
+
* Output only. The OS version.
|
|
1838
|
+
*/
|
|
1839
|
+
osVersion?: string | null;
|
|
1840
|
+
/**
|
|
1841
|
+
* Output only. The permanent ID of the profile.
|
|
1842
|
+
*/
|
|
1843
|
+
profilePermanentId?: string | null;
|
|
1844
|
+
}
|
|
1845
|
+
/**
|
|
1846
|
+
* Represents a single SaaS report entry.
|
|
1847
|
+
*/
|
|
1848
|
+
export interface Schema$GoogleChromeManagementV1SaasUsageReport {
|
|
1849
|
+
/**
|
|
1850
|
+
* Output only. The name of the application.
|
|
1851
|
+
*/
|
|
1852
|
+
app?: string | null;
|
|
1853
|
+
/**
|
|
1854
|
+
* Output only. The category of the application.
|
|
1855
|
+
*/
|
|
1856
|
+
category?: string | null;
|
|
1857
|
+
/**
|
|
1858
|
+
* Output only. Provides information about content transfer events, if available.
|
|
1859
|
+
*/
|
|
1860
|
+
contentTransferDetails?: Schema$GoogleChromeManagementV1SaasUsageReportContentTransferDetails;
|
|
1861
|
+
/**
|
|
1862
|
+
* Output only. Number of distinct browsers that visited the application.
|
|
1863
|
+
*/
|
|
1864
|
+
distinctBrowsersCount?: string | null;
|
|
1865
|
+
/**
|
|
1866
|
+
* Output only. Number of distinct users who visited the application.
|
|
1867
|
+
*/
|
|
1868
|
+
distinctUsersCount?: string | null;
|
|
1869
|
+
/**
|
|
1870
|
+
* Output only. A list of domains and subdomains associated with the application.
|
|
1871
|
+
*/
|
|
1872
|
+
domains?: string[] | null;
|
|
1873
|
+
/**
|
|
1874
|
+
* Output only. A list of encryption protocols used to access the application.
|
|
1875
|
+
*/
|
|
1876
|
+
encryptionProtocols?: string[] | null;
|
|
1877
|
+
/**
|
|
1878
|
+
* Output only. The timestamp when the application was first navigated to.
|
|
1879
|
+
*/
|
|
1880
|
+
firstNavigationTime?: string | null;
|
|
1881
|
+
/**
|
|
1882
|
+
* Output only. The year the organization was founded.
|
|
1883
|
+
*/
|
|
1884
|
+
foundedYear?: number | null;
|
|
1885
|
+
/**
|
|
1886
|
+
* Output only. The headquarters location of the organization.
|
|
1887
|
+
*/
|
|
1888
|
+
headquarters?: string | null;
|
|
1889
|
+
/**
|
|
1890
|
+
* Output only. The timestamp when the application was last navigated to.
|
|
1891
|
+
*/
|
|
1892
|
+
lastNavigationTime?: string | null;
|
|
1893
|
+
/**
|
|
1894
|
+
* Output only. The organization that develops the application.
|
|
1895
|
+
*/
|
|
1896
|
+
organization?: string | null;
|
|
1897
|
+
/**
|
|
1898
|
+
* Output only. The ID of the organizational unit.
|
|
1899
|
+
*/
|
|
1900
|
+
orgUnitId?: string | null;
|
|
1901
|
+
/**
|
|
1902
|
+
* Output only. The primary domain of the application.
|
|
1903
|
+
*/
|
|
1904
|
+
primaryDomain?: string | null;
|
|
1905
|
+
/**
|
|
1906
|
+
* Output only. Total number of visits to the application.
|
|
1907
|
+
*/
|
|
1908
|
+
visitsCount?: string | null;
|
|
1909
|
+
}
|
|
1910
|
+
/**
|
|
1911
|
+
* Provides information about content transfer events, if available.
|
|
1912
|
+
*/
|
|
1913
|
+
export interface Schema$GoogleChromeManagementV1SaasUsageReportContentTransferDetails {
|
|
1914
|
+
/**
|
|
1915
|
+
* Output only. Total number of content transfers associated with the application.
|
|
1916
|
+
*/
|
|
1917
|
+
contentTransferCount?: string | null;
|
|
1918
|
+
}
|
|
1707
1919
|
/**
|
|
1708
1920
|
* Status data for storage. * This field is telemetry information and this will change over time as the device is utilized. * Data for this field is controlled via policy: [ReportDeviceStorageStatus](https://chromeenterprise.google/policies/#ReportDeviceStorageStatus) * Data Collection Frequency: Only at Upload * Default Data Reporting Frequency: 3 hours - Policy Controlled: Yes * Cache: If the device is offline, the collected data is stored locally, and will be reported when the device is next online: No * Reported for affiliated users only: N/A * Granular permission needed: TELEMETRY_API_STORAGE_INFO
|
|
1709
1921
|
*/
|
|
@@ -2769,6 +2981,40 @@ export declare namespace chromemanagement_v1 {
|
|
|
2769
2981
|
*/
|
|
2770
2982
|
updateTime?: string | null;
|
|
2771
2983
|
}
|
|
2984
|
+
/**
|
|
2985
|
+
* A content transfers summary for a given breakdown dimension.
|
|
2986
|
+
*/
|
|
2987
|
+
export interface Schema$GoogleChromeManagementVersionsV1ContentTransfersBreakdown {
|
|
2988
|
+
/**
|
|
2989
|
+
* The content category of the content transfers.
|
|
2990
|
+
*/
|
|
2991
|
+
contentCategory?: string | null;
|
|
2992
|
+
/**
|
|
2993
|
+
* The event domain of the content transfers.
|
|
2994
|
+
*/
|
|
2995
|
+
eventDomain?: string | null;
|
|
2996
|
+
/**
|
|
2997
|
+
* The summary of content transfers for the breakdown dimension.
|
|
2998
|
+
*/
|
|
2999
|
+
summary?: Schema$GoogleChromeManagementVersionsV1ContentTransfersSummary;
|
|
3000
|
+
/**
|
|
3001
|
+
* The user that transferred the content.
|
|
3002
|
+
*/
|
|
3003
|
+
user?: string | null;
|
|
3004
|
+
}
|
|
3005
|
+
/**
|
|
3006
|
+
* Summary of content transfers for a given metric.
|
|
3007
|
+
*/
|
|
3008
|
+
export interface Schema$GoogleChromeManagementVersionsV1ContentTransfersSummary {
|
|
3009
|
+
/**
|
|
3010
|
+
* The count of the content transfers metric.
|
|
3011
|
+
*/
|
|
3012
|
+
count?: string | null;
|
|
3013
|
+
/**
|
|
3014
|
+
* The type of content transfers metric.
|
|
3015
|
+
*/
|
|
3016
|
+
metric?: string | null;
|
|
3017
|
+
}
|
|
2772
3018
|
/**
|
|
2773
3019
|
* CrowdStrike connector config.
|
|
2774
3020
|
*/
|
|
@@ -3050,6 +3296,50 @@ export declare namespace chromemanagement_v1 {
|
|
|
3050
3296
|
*/
|
|
3051
3297
|
xdrSettings?: Schema$GoogleChromeManagementVersionsV1XdrSettings;
|
|
3052
3298
|
}
|
|
3299
|
+
/**
|
|
3300
|
+
* Response message for QueryContentTransfersBreakdowns.
|
|
3301
|
+
*/
|
|
3302
|
+
export interface Schema$GoogleChromeManagementVersionsV1QueryContentTransfersBreakdownsResponse {
|
|
3303
|
+
/**
|
|
3304
|
+
* The content transfer breakdowns from the specified insight.
|
|
3305
|
+
*/
|
|
3306
|
+
contentTransfersBreakdowns?: Schema$GoogleChromeManagementVersionsV1ContentTransfersBreakdown[];
|
|
3307
|
+
/**
|
|
3308
|
+
* A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.
|
|
3309
|
+
*/
|
|
3310
|
+
nextPageToken?: string | null;
|
|
3311
|
+
}
|
|
3312
|
+
/**
|
|
3313
|
+
* Response message for QueryContentTransfers.
|
|
3314
|
+
*/
|
|
3315
|
+
export interface Schema$GoogleChromeManagementVersionsV1QueryContentTransfersResponse {
|
|
3316
|
+
/**
|
|
3317
|
+
* A collection of summaries for various content transfers metrics.
|
|
3318
|
+
*/
|
|
3319
|
+
summaries?: Schema$GoogleChromeManagementVersionsV1ContentTransfersSummary[];
|
|
3320
|
+
}
|
|
3321
|
+
/**
|
|
3322
|
+
* Response message for QueryUrlVisitsBreakdowns.
|
|
3323
|
+
*/
|
|
3324
|
+
export interface Schema$GoogleChromeManagementVersionsV1QueryUrlVisitsBreakdownsResponse {
|
|
3325
|
+
/**
|
|
3326
|
+
* A token, which can be sent as `page_token` to retrieve the next page. If this field is omitted, there are no subsequent pages.
|
|
3327
|
+
*/
|
|
3328
|
+
nextPageToken?: string | null;
|
|
3329
|
+
/**
|
|
3330
|
+
* The URL visit breakdowns from the specified insight.
|
|
3331
|
+
*/
|
|
3332
|
+
urlVisitsBreakdowns?: Schema$GoogleChromeManagementVersionsV1UrlVisitsBreakdown[];
|
|
3333
|
+
}
|
|
3334
|
+
/**
|
|
3335
|
+
* Response message for QueryUrlVisits.
|
|
3336
|
+
*/
|
|
3337
|
+
export interface Schema$GoogleChromeManagementVersionsV1QueryUrlVisitsResponse {
|
|
3338
|
+
/**
|
|
3339
|
+
* A collection of summaries for various URL visit metrics.
|
|
3340
|
+
*/
|
|
3341
|
+
summaries?: Schema$GoogleChromeManagementVersionsV1UrlVisitsSummary[];
|
|
3342
|
+
}
|
|
3053
3343
|
/**
|
|
3054
3344
|
* Reporting data of a Chrome browser profile.
|
|
3055
3345
|
*/
|
|
@@ -3360,6 +3650,36 @@ export declare namespace chromemanagement_v1 {
|
|
|
3360
3650
|
*/
|
|
3361
3651
|
export interface Schema$GoogleChromeManagementVersionsV1UploadCertificateResponse {
|
|
3362
3652
|
}
|
|
3653
|
+
/**
|
|
3654
|
+
* A URL visits summary for a given breakdown dimension.
|
|
3655
|
+
*/
|
|
3656
|
+
export interface Schema$GoogleChromeManagementVersionsV1UrlVisitsBreakdown {
|
|
3657
|
+
/**
|
|
3658
|
+
* The event domain of the URL visits.
|
|
3659
|
+
*/
|
|
3660
|
+
eventDomain?: string | null;
|
|
3661
|
+
/**
|
|
3662
|
+
* The summary of URL visits for the breakdown dimension.
|
|
3663
|
+
*/
|
|
3664
|
+
summary?: Schema$GoogleChromeManagementVersionsV1UrlVisitsSummary;
|
|
3665
|
+
/**
|
|
3666
|
+
* The user that visited the URL.
|
|
3667
|
+
*/
|
|
3668
|
+
user?: string | null;
|
|
3669
|
+
}
|
|
3670
|
+
/**
|
|
3671
|
+
* Summary of URL visits for a given metric.
|
|
3672
|
+
*/
|
|
3673
|
+
export interface Schema$GoogleChromeManagementVersionsV1UrlVisitsSummary {
|
|
3674
|
+
/**
|
|
3675
|
+
* The count of the URL visits metric.
|
|
3676
|
+
*/
|
|
3677
|
+
count?: string | null;
|
|
3678
|
+
/**
|
|
3679
|
+
* The type of URL visits metric.
|
|
3680
|
+
*/
|
|
3681
|
+
metric?: string | null;
|
|
3682
|
+
}
|
|
3363
3683
|
/**
|
|
3364
3684
|
* XDR settings for connector configs.
|
|
3365
3685
|
*/
|
|
@@ -4553,7 +4873,7 @@ export declare namespace chromemanagement_v1 {
|
|
|
4553
4873
|
*
|
|
4554
4874
|
* // Do the magic
|
|
4555
4875
|
* 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-
|
|
4876
|
+
* // 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
4877
|
* connectorConfigId: 'placeholder-value',
|
|
4558
4878
|
* // Required. Format: customers/{customer\}
|
|
4559
4879
|
* parent: 'customers/my-customer',
|
|
@@ -4868,7 +5188,7 @@ export declare namespace chromemanagement_v1 {
|
|
|
4868
5188
|
}
|
|
4869
5189
|
export interface Params$Resource$Customers$Connectorconfigs$Create extends StandardParameters {
|
|
4870
5190
|
/**
|
|
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-
|
|
5191
|
+
* 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
5192
|
*/
|
|
4873
5193
|
connectorConfigId?: string;
|
|
4874
5194
|
/**
|
|
@@ -4950,7 +5270,10 @@ export declare namespace chromemanagement_v1 {
|
|
|
4950
5270
|
* async function main() {
|
|
4951
5271
|
* const auth = new google.auth.GoogleAuth({
|
|
4952
5272
|
* // Scopes can be specified either as an array or as a single, space-delimited string.
|
|
4953
|
-
* scopes: [
|
|
5273
|
+
* scopes: [
|
|
5274
|
+
* 'https://www.googleapis.com/auth/chrome.management.securityinsights',
|
|
5275
|
+
* 'https://www.googleapis.com/auth/chrome.management.securityinsights.readonly',
|
|
5276
|
+
* ],
|
|
4954
5277
|
* });
|
|
4955
5278
|
*
|
|
4956
5279
|
* // Acquire an auth client, and bind it to all future calls
|
|
@@ -5013,7 +5336,9 @@ export declare namespace chromemanagement_v1 {
|
|
|
5013
5336
|
* async function main() {
|
|
5014
5337
|
* const auth = new google.auth.GoogleAuth({
|
|
5015
5338
|
* // Scopes can be specified either as an array or as a single, space-delimited string.
|
|
5016
|
-
* scopes: [
|
|
5339
|
+
* scopes: [
|
|
5340
|
+
* 'https://www.googleapis.com/auth/chrome.management.securityinsights',
|
|
5341
|
+
* ],
|
|
5017
5342
|
* });
|
|
5018
5343
|
*
|
|
5019
5344
|
* // Acquire an auth client, and bind it to all future calls
|
|
@@ -5080,7 +5405,9 @@ export declare namespace chromemanagement_v1 {
|
|
|
5080
5405
|
* async function main() {
|
|
5081
5406
|
* const auth = new google.auth.GoogleAuth({
|
|
5082
5407
|
* // Scopes can be specified either as an array or as a single, space-delimited string.
|
|
5083
|
-
* scopes: [
|
|
5408
|
+
* scopes: [
|
|
5409
|
+
* 'https://www.googleapis.com/auth/chrome.management.securityinsights',
|
|
5410
|
+
* ],
|
|
5084
5411
|
* });
|
|
5085
5412
|
*
|
|
5086
5413
|
* // Acquire an auth client, and bind it to all future calls
|
|
@@ -5127,39 +5454,8 @@ export declare namespace chromemanagement_v1 {
|
|
|
5127
5454
|
enable(params: Params$Resource$Customers$Enterprise$Securityinsights$Enable, options: MethodOptions | BodyResponseCallback<Schema$GoogleChromeManagementVersionsV1EnableInsightsResponse>, callback: BodyResponseCallback<Schema$GoogleChromeManagementVersionsV1EnableInsightsResponse>): void;
|
|
5128
5455
|
enable(params: Params$Resource$Customers$Enterprise$Securityinsights$Enable, callback: BodyResponseCallback<Schema$GoogleChromeManagementVersionsV1EnableInsightsResponse>): void;
|
|
5129
5456
|
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
5457
|
/**
|
|
5162
|
-
*
|
|
5458
|
+
* Returns a high-level summary of content transfers for a given customer.
|
|
5163
5459
|
* @example
|
|
5164
5460
|
* ```js
|
|
5165
5461
|
* // Before running the sample:
|
|
@@ -5180,7 +5476,10 @@ export declare namespace chromemanagement_v1 {
|
|
|
5180
5476
|
* async function main() {
|
|
5181
5477
|
* const auth = new google.auth.GoogleAuth({
|
|
5182
5478
|
* // Scopes can be specified either as an array or as a single, space-delimited string.
|
|
5183
|
-
* scopes: [
|
|
5479
|
+
* scopes: [
|
|
5480
|
+
* 'https://www.googleapis.com/auth/chrome.management.securityinsights',
|
|
5481
|
+
* 'https://www.googleapis.com/auth/chrome.management.securityinsights.readonly',
|
|
5482
|
+
* ],
|
|
5184
5483
|
* });
|
|
5185
5484
|
*
|
|
5186
5485
|
* // Acquire an auth client, and bind it to all future calls
|
|
@@ -5188,14 +5487,21 @@ export declare namespace chromemanagement_v1 {
|
|
|
5188
5487
|
* google.options({auth: authClient});
|
|
5189
5488
|
*
|
|
5190
5489
|
* // Do the magic
|
|
5191
|
-
* const res =
|
|
5192
|
-
*
|
|
5193
|
-
*
|
|
5194
|
-
*
|
|
5490
|
+
* const res =
|
|
5491
|
+
* await chromemanagement.customers.enterprise.securityInsights.queryContentTransfers(
|
|
5492
|
+
* {
|
|
5493
|
+
* // Required. The customer ID in the format "customers/{customer_id\}".
|
|
5494
|
+
* customer: 'customers/my-customer',
|
|
5495
|
+
* // 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"`
|
|
5496
|
+
* filter: 'placeholder-value',
|
|
5497
|
+
* },
|
|
5498
|
+
* );
|
|
5195
5499
|
* console.log(res.data);
|
|
5196
5500
|
*
|
|
5197
5501
|
* // Example response
|
|
5198
|
-
* // {
|
|
5502
|
+
* // {
|
|
5503
|
+
* // "summaries": []
|
|
5504
|
+
* // }
|
|
5199
5505
|
* }
|
|
5200
5506
|
*
|
|
5201
5507
|
* main().catch(e => {
|
|
@@ -5210,10 +5516,405 @@ export declare namespace chromemanagement_v1 {
|
|
|
5210
5516
|
* @param callback - Optional callback that handles the response.
|
|
5211
5517
|
* @returns A promise if used with async/await, or void if used with a callback.
|
|
5212
5518
|
*/
|
|
5213
|
-
|
|
5214
|
-
|
|
5215
|
-
|
|
5216
|
-
|
|
5519
|
+
queryContentTransfers(params: Params$Resource$Customers$Enterprise$Securityinsights$Querycontenttransfers, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
5520
|
+
queryContentTransfers(params?: Params$Resource$Customers$Enterprise$Securityinsights$Querycontenttransfers, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$GoogleChromeManagementVersionsV1QueryContentTransfersResponse>>;
|
|
5521
|
+
queryContentTransfers(params: Params$Resource$Customers$Enterprise$Securityinsights$Querycontenttransfers, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
5522
|
+
queryContentTransfers(params: Params$Resource$Customers$Enterprise$Securityinsights$Querycontenttransfers, options: MethodOptions | BodyResponseCallback<Schema$GoogleChromeManagementVersionsV1QueryContentTransfersResponse>, callback: BodyResponseCallback<Schema$GoogleChromeManagementVersionsV1QueryContentTransfersResponse>): void;
|
|
5523
|
+
queryContentTransfers(params: Params$Resource$Customers$Enterprise$Securityinsights$Querycontenttransfers, callback: BodyResponseCallback<Schema$GoogleChromeManagementVersionsV1QueryContentTransfersResponse>): void;
|
|
5524
|
+
queryContentTransfers(callback: BodyResponseCallback<Schema$GoogleChromeManagementVersionsV1QueryContentTransfersResponse>): void;
|
|
5525
|
+
/**
|
|
5526
|
+
* Returns summaries of content transfers for a given metric and breakdown dimension.
|
|
5527
|
+
* @example
|
|
5528
|
+
* ```js
|
|
5529
|
+
* // Before running the sample:
|
|
5530
|
+
* // - Enable the API at:
|
|
5531
|
+
* // https://console.developers.google.com/apis/api/chromemanagement.googleapis.com
|
|
5532
|
+
* // - Login into gcloud by running:
|
|
5533
|
+
* // ```sh
|
|
5534
|
+
* // $ gcloud auth application-default login
|
|
5535
|
+
* // ```
|
|
5536
|
+
* // - Install the npm module by running:
|
|
5537
|
+
* // ```sh
|
|
5538
|
+
* // $ npm install googleapis
|
|
5539
|
+
* // ```
|
|
5540
|
+
*
|
|
5541
|
+
* const {google} = require('googleapis');
|
|
5542
|
+
* const chromemanagement = google.chromemanagement('v1');
|
|
5543
|
+
*
|
|
5544
|
+
* async function main() {
|
|
5545
|
+
* const auth = new google.auth.GoogleAuth({
|
|
5546
|
+
* // Scopes can be specified either as an array or as a single, space-delimited string.
|
|
5547
|
+
* scopes: [
|
|
5548
|
+
* 'https://www.googleapis.com/auth/chrome.management.securityinsights',
|
|
5549
|
+
* 'https://www.googleapis.com/auth/chrome.management.securityinsights.readonly',
|
|
5550
|
+
* ],
|
|
5551
|
+
* });
|
|
5552
|
+
*
|
|
5553
|
+
* // Acquire an auth client, and bind it to all future calls
|
|
5554
|
+
* const authClient = await auth.getClient();
|
|
5555
|
+
* google.options({auth: authClient});
|
|
5556
|
+
*
|
|
5557
|
+
* // Do the magic
|
|
5558
|
+
* const res =
|
|
5559
|
+
* await chromemanagement.customers.enterprise.securityInsights.queryContentTransfersBreakdowns(
|
|
5560
|
+
* {
|
|
5561
|
+
* // Optional. The dimension to break down the content transfers by. Defaults to USER.
|
|
5562
|
+
* breakdown: 'placeholder-value',
|
|
5563
|
+
* // Required. The customer ID in the format "customers/{customer_id\}".
|
|
5564
|
+
* customer: 'customers/my-customer',
|
|
5565
|
+
* // 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"`
|
|
5566
|
+
* filter: 'placeholder-value',
|
|
5567
|
+
* // 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.
|
|
5568
|
+
* fixedTimeRange: 'placeholder-value',
|
|
5569
|
+
* // Optional. The metric to return the breakdowns for. Defaults to CONTENT_TRANSFERS_METRIC_TOTAL_TRANSFERS.
|
|
5570
|
+
* metric: 'placeholder-value',
|
|
5571
|
+
* // 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.
|
|
5572
|
+
* pageSize: 'placeholder-value',
|
|
5573
|
+
* // 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.
|
|
5574
|
+
* pageToken: 'placeholder-value',
|
|
5575
|
+
* },
|
|
5576
|
+
* );
|
|
5577
|
+
* console.log(res.data);
|
|
5578
|
+
*
|
|
5579
|
+
* // Example response
|
|
5580
|
+
* // {
|
|
5581
|
+
* // "contentTransfersBreakdowns": [],
|
|
5582
|
+
* // "nextPageToken": "my_nextPageToken"
|
|
5583
|
+
* // }
|
|
5584
|
+
* }
|
|
5585
|
+
*
|
|
5586
|
+
* main().catch(e => {
|
|
5587
|
+
* console.error(e);
|
|
5588
|
+
* throw e;
|
|
5589
|
+
* });
|
|
5590
|
+
*
|
|
5591
|
+
* ```
|
|
5592
|
+
*
|
|
5593
|
+
* @param params - Parameters for request
|
|
5594
|
+
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
5595
|
+
* @param callback - Optional callback that handles the response.
|
|
5596
|
+
* @returns A promise if used with async/await, or void if used with a callback.
|
|
5597
|
+
*/
|
|
5598
|
+
queryContentTransfersBreakdowns(params: Params$Resource$Customers$Enterprise$Securityinsights$Querycontenttransfersbreakdowns, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
5599
|
+
queryContentTransfersBreakdowns(params?: Params$Resource$Customers$Enterprise$Securityinsights$Querycontenttransfersbreakdowns, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$GoogleChromeManagementVersionsV1QueryContentTransfersBreakdownsResponse>>;
|
|
5600
|
+
queryContentTransfersBreakdowns(params: Params$Resource$Customers$Enterprise$Securityinsights$Querycontenttransfersbreakdowns, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
5601
|
+
queryContentTransfersBreakdowns(params: Params$Resource$Customers$Enterprise$Securityinsights$Querycontenttransfersbreakdowns, options: MethodOptions | BodyResponseCallback<Schema$GoogleChromeManagementVersionsV1QueryContentTransfersBreakdownsResponse>, callback: BodyResponseCallback<Schema$GoogleChromeManagementVersionsV1QueryContentTransfersBreakdownsResponse>): void;
|
|
5602
|
+
queryContentTransfersBreakdowns(params: Params$Resource$Customers$Enterprise$Securityinsights$Querycontenttransfersbreakdowns, callback: BodyResponseCallback<Schema$GoogleChromeManagementVersionsV1QueryContentTransfersBreakdownsResponse>): void;
|
|
5603
|
+
queryContentTransfersBreakdowns(callback: BodyResponseCallback<Schema$GoogleChromeManagementVersionsV1QueryContentTransfersBreakdownsResponse>): void;
|
|
5604
|
+
/**
|
|
5605
|
+
* 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.
|
|
5606
|
+
* @example
|
|
5607
|
+
* ```js
|
|
5608
|
+
* // Before running the sample:
|
|
5609
|
+
* // - Enable the API at:
|
|
5610
|
+
* // https://console.developers.google.com/apis/api/chromemanagement.googleapis.com
|
|
5611
|
+
* // - Login into gcloud by running:
|
|
5612
|
+
* // ```sh
|
|
5613
|
+
* // $ gcloud auth application-default login
|
|
5614
|
+
* // ```
|
|
5615
|
+
* // - Install the npm module by running:
|
|
5616
|
+
* // ```sh
|
|
5617
|
+
* // $ npm install googleapis
|
|
5618
|
+
* // ```
|
|
5619
|
+
*
|
|
5620
|
+
* const {google} = require('googleapis');
|
|
5621
|
+
* const chromemanagement = google.chromemanagement('v1');
|
|
5622
|
+
*
|
|
5623
|
+
* async function main() {
|
|
5624
|
+
* const auth = new google.auth.GoogleAuth({
|
|
5625
|
+
* // Scopes can be specified either as an array or as a single, space-delimited string.
|
|
5626
|
+
* scopes: [
|
|
5627
|
+
* 'https://www.googleapis.com/auth/chrome.management.securityinsights',
|
|
5628
|
+
* 'https://www.googleapis.com/auth/chrome.management.securityinsights.readonly',
|
|
5629
|
+
* ],
|
|
5630
|
+
* });
|
|
5631
|
+
*
|
|
5632
|
+
* // Acquire an auth client, and bind it to all future calls
|
|
5633
|
+
* const authClient = await auth.getClient();
|
|
5634
|
+
* google.options({auth: authClient});
|
|
5635
|
+
*
|
|
5636
|
+
* // Do the magic
|
|
5637
|
+
* const res =
|
|
5638
|
+
* await chromemanagement.customers.enterprise.securityInsights.queryUrlVisits(
|
|
5639
|
+
* {
|
|
5640
|
+
* // Required. The customer ID in the format "customers/{customer_id\}".
|
|
5641
|
+
* customer: 'customers/my-customer',
|
|
5642
|
+
* // 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"`
|
|
5643
|
+
* filter: 'placeholder-value',
|
|
5644
|
+
* },
|
|
5645
|
+
* );
|
|
5646
|
+
* console.log(res.data);
|
|
5647
|
+
*
|
|
5648
|
+
* // Example response
|
|
5649
|
+
* // {
|
|
5650
|
+
* // "summaries": []
|
|
5651
|
+
* // }
|
|
5652
|
+
* }
|
|
5653
|
+
*
|
|
5654
|
+
* main().catch(e => {
|
|
5655
|
+
* console.error(e);
|
|
5656
|
+
* throw e;
|
|
5657
|
+
* });
|
|
5658
|
+
*
|
|
5659
|
+
* ```
|
|
5660
|
+
*
|
|
5661
|
+
* @param params - Parameters for request
|
|
5662
|
+
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
5663
|
+
* @param callback - Optional callback that handles the response.
|
|
5664
|
+
* @returns A promise if used with async/await, or void if used with a callback.
|
|
5665
|
+
*/
|
|
5666
|
+
queryUrlVisits(params: Params$Resource$Customers$Enterprise$Securityinsights$Queryurlvisits, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
5667
|
+
queryUrlVisits(params?: Params$Resource$Customers$Enterprise$Securityinsights$Queryurlvisits, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$GoogleChromeManagementVersionsV1QueryUrlVisitsResponse>>;
|
|
5668
|
+
queryUrlVisits(params: Params$Resource$Customers$Enterprise$Securityinsights$Queryurlvisits, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
5669
|
+
queryUrlVisits(params: Params$Resource$Customers$Enterprise$Securityinsights$Queryurlvisits, options: MethodOptions | BodyResponseCallback<Schema$GoogleChromeManagementVersionsV1QueryUrlVisitsResponse>, callback: BodyResponseCallback<Schema$GoogleChromeManagementVersionsV1QueryUrlVisitsResponse>): void;
|
|
5670
|
+
queryUrlVisits(params: Params$Resource$Customers$Enterprise$Securityinsights$Queryurlvisits, callback: BodyResponseCallback<Schema$GoogleChromeManagementVersionsV1QueryUrlVisitsResponse>): void;
|
|
5671
|
+
queryUrlVisits(callback: BodyResponseCallback<Schema$GoogleChromeManagementVersionsV1QueryUrlVisitsResponse>): void;
|
|
5672
|
+
/**
|
|
5673
|
+
* 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.
|
|
5674
|
+
* @example
|
|
5675
|
+
* ```js
|
|
5676
|
+
* // Before running the sample:
|
|
5677
|
+
* // - Enable the API at:
|
|
5678
|
+
* // https://console.developers.google.com/apis/api/chromemanagement.googleapis.com
|
|
5679
|
+
* // - Login into gcloud by running:
|
|
5680
|
+
* // ```sh
|
|
5681
|
+
* // $ gcloud auth application-default login
|
|
5682
|
+
* // ```
|
|
5683
|
+
* // - Install the npm module by running:
|
|
5684
|
+
* // ```sh
|
|
5685
|
+
* // $ npm install googleapis
|
|
5686
|
+
* // ```
|
|
5687
|
+
*
|
|
5688
|
+
* const {google} = require('googleapis');
|
|
5689
|
+
* const chromemanagement = google.chromemanagement('v1');
|
|
5690
|
+
*
|
|
5691
|
+
* async function main() {
|
|
5692
|
+
* const auth = new google.auth.GoogleAuth({
|
|
5693
|
+
* // Scopes can be specified either as an array or as a single, space-delimited string.
|
|
5694
|
+
* scopes: [
|
|
5695
|
+
* 'https://www.googleapis.com/auth/chrome.management.securityinsights',
|
|
5696
|
+
* 'https://www.googleapis.com/auth/chrome.management.securityinsights.readonly',
|
|
5697
|
+
* ],
|
|
5698
|
+
* });
|
|
5699
|
+
*
|
|
5700
|
+
* // Acquire an auth client, and bind it to all future calls
|
|
5701
|
+
* const authClient = await auth.getClient();
|
|
5702
|
+
* google.options({auth: authClient});
|
|
5703
|
+
*
|
|
5704
|
+
* // Do the magic
|
|
5705
|
+
* const res =
|
|
5706
|
+
* await chromemanagement.customers.enterprise.securityInsights.queryUrlVisitsBreakdowns(
|
|
5707
|
+
* {
|
|
5708
|
+
* // Optional. The dimension to break down the URL visits by. Defaults to USER.
|
|
5709
|
+
* breakdown: 'placeholder-value',
|
|
5710
|
+
* // Required. The customer ID in the format "customers/{customer_id\}".
|
|
5711
|
+
* customer: 'customers/my-customer',
|
|
5712
|
+
* // 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"`
|
|
5713
|
+
* filter: 'placeholder-value',
|
|
5714
|
+
* // 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.
|
|
5715
|
+
* fixedTimeRange: 'placeholder-value',
|
|
5716
|
+
* // Optional. The metric to return the breakdowns for. Defaults to URL_VISITS_METRIC_TOTAL_SUSPICIOUS_URL_VISITS.
|
|
5717
|
+
* metric: 'placeholder-value',
|
|
5718
|
+
* // 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.
|
|
5719
|
+
* pageSize: 'placeholder-value',
|
|
5720
|
+
* // 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.
|
|
5721
|
+
* pageToken: 'placeholder-value',
|
|
5722
|
+
* },
|
|
5723
|
+
* );
|
|
5724
|
+
* console.log(res.data);
|
|
5725
|
+
*
|
|
5726
|
+
* // Example response
|
|
5727
|
+
* // {
|
|
5728
|
+
* // "nextPageToken": "my_nextPageToken",
|
|
5729
|
+
* // "urlVisitsBreakdowns": []
|
|
5730
|
+
* // }
|
|
5731
|
+
* }
|
|
5732
|
+
*
|
|
5733
|
+
* main().catch(e => {
|
|
5734
|
+
* console.error(e);
|
|
5735
|
+
* throw e;
|
|
5736
|
+
* });
|
|
5737
|
+
*
|
|
5738
|
+
* ```
|
|
5739
|
+
*
|
|
5740
|
+
* @param params - Parameters for request
|
|
5741
|
+
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
5742
|
+
* @param callback - Optional callback that handles the response.
|
|
5743
|
+
* @returns A promise if used with async/await, or void if used with a callback.
|
|
5744
|
+
*/
|
|
5745
|
+
queryUrlVisitsBreakdowns(params: Params$Resource$Customers$Enterprise$Securityinsights$Queryurlvisitsbreakdowns, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
5746
|
+
queryUrlVisitsBreakdowns(params?: Params$Resource$Customers$Enterprise$Securityinsights$Queryurlvisitsbreakdowns, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$GoogleChromeManagementVersionsV1QueryUrlVisitsBreakdownsResponse>>;
|
|
5747
|
+
queryUrlVisitsBreakdowns(params: Params$Resource$Customers$Enterprise$Securityinsights$Queryurlvisitsbreakdowns, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
5748
|
+
queryUrlVisitsBreakdowns(params: Params$Resource$Customers$Enterprise$Securityinsights$Queryurlvisitsbreakdowns, options: MethodOptions | BodyResponseCallback<Schema$GoogleChromeManagementVersionsV1QueryUrlVisitsBreakdownsResponse>, callback: BodyResponseCallback<Schema$GoogleChromeManagementVersionsV1QueryUrlVisitsBreakdownsResponse>): void;
|
|
5749
|
+
queryUrlVisitsBreakdowns(params: Params$Resource$Customers$Enterprise$Securityinsights$Queryurlvisitsbreakdowns, callback: BodyResponseCallback<Schema$GoogleChromeManagementVersionsV1QueryUrlVisitsBreakdownsResponse>): void;
|
|
5750
|
+
queryUrlVisitsBreakdowns(callback: BodyResponseCallback<Schema$GoogleChromeManagementVersionsV1QueryUrlVisitsBreakdownsResponse>): void;
|
|
5751
|
+
}
|
|
5752
|
+
export interface Params$Resource$Customers$Enterprise$Securityinsights$Checkenablementstatus extends StandardParameters {
|
|
5753
|
+
/**
|
|
5754
|
+
* Required. The customer to check the enablement status for. Format: customers/{customer_id\}
|
|
5755
|
+
*/
|
|
5756
|
+
customer?: string;
|
|
5757
|
+
}
|
|
5758
|
+
export interface Params$Resource$Customers$Enterprise$Securityinsights$Disable extends StandardParameters {
|
|
5759
|
+
/**
|
|
5760
|
+
* Required. The customer to disable insights for. Format: customers/{customer\}
|
|
5761
|
+
*/
|
|
5762
|
+
customer?: string;
|
|
5763
|
+
/**
|
|
5764
|
+
* Request body metadata
|
|
5765
|
+
*/
|
|
5766
|
+
requestBody?: Schema$GoogleChromeManagementVersionsV1DisableInsightsRequest;
|
|
5767
|
+
}
|
|
5768
|
+
export interface Params$Resource$Customers$Enterprise$Securityinsights$Enable extends StandardParameters {
|
|
5769
|
+
/**
|
|
5770
|
+
* Required. The customer to enable insights for. Format: customers/{customer\}
|
|
5771
|
+
*/
|
|
5772
|
+
customer?: string;
|
|
5773
|
+
/**
|
|
5774
|
+
* Request body metadata
|
|
5775
|
+
*/
|
|
5776
|
+
requestBody?: Schema$GoogleChromeManagementVersionsV1EnableInsightsRequest;
|
|
5777
|
+
}
|
|
5778
|
+
export interface Params$Resource$Customers$Enterprise$Securityinsights$Querycontenttransfers extends StandardParameters {
|
|
5779
|
+
/**
|
|
5780
|
+
* Required. The customer ID in the format "customers/{customer_id\}".
|
|
5781
|
+
*/
|
|
5782
|
+
customer?: string;
|
|
5783
|
+
/**
|
|
5784
|
+
* 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"`
|
|
5785
|
+
*/
|
|
5786
|
+
filter?: string;
|
|
5787
|
+
}
|
|
5788
|
+
export interface Params$Resource$Customers$Enterprise$Securityinsights$Querycontenttransfersbreakdowns extends StandardParameters {
|
|
5789
|
+
/**
|
|
5790
|
+
* Optional. The dimension to break down the content transfers by. Defaults to USER.
|
|
5791
|
+
*/
|
|
5792
|
+
breakdown?: string;
|
|
5793
|
+
/**
|
|
5794
|
+
* Required. The customer ID in the format "customers/{customer_id\}".
|
|
5795
|
+
*/
|
|
5796
|
+
customer?: string;
|
|
5797
|
+
/**
|
|
5798
|
+
* 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"`
|
|
5799
|
+
*/
|
|
5800
|
+
filter?: string;
|
|
5801
|
+
/**
|
|
5802
|
+
* 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.
|
|
5803
|
+
*/
|
|
5804
|
+
fixedTimeRange?: string;
|
|
5805
|
+
/**
|
|
5806
|
+
* Optional. The metric to return the breakdowns for. Defaults to CONTENT_TRANSFERS_METRIC_TOTAL_TRANSFERS.
|
|
5807
|
+
*/
|
|
5808
|
+
metric?: string;
|
|
5809
|
+
/**
|
|
5810
|
+
* 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.
|
|
5811
|
+
*/
|
|
5812
|
+
pageSize?: number;
|
|
5813
|
+
/**
|
|
5814
|
+
* 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.
|
|
5815
|
+
*/
|
|
5816
|
+
pageToken?: string;
|
|
5817
|
+
}
|
|
5818
|
+
export interface Params$Resource$Customers$Enterprise$Securityinsights$Queryurlvisits extends StandardParameters {
|
|
5819
|
+
/**
|
|
5820
|
+
* Required. The customer ID in the format "customers/{customer_id\}".
|
|
5821
|
+
*/
|
|
5822
|
+
customer?: string;
|
|
5823
|
+
/**
|
|
5824
|
+
* 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"`
|
|
5825
|
+
*/
|
|
5826
|
+
filter?: string;
|
|
5827
|
+
}
|
|
5828
|
+
export interface Params$Resource$Customers$Enterprise$Securityinsights$Queryurlvisitsbreakdowns extends StandardParameters {
|
|
5829
|
+
/**
|
|
5830
|
+
* Optional. The dimension to break down the URL visits by. Defaults to USER.
|
|
5831
|
+
*/
|
|
5832
|
+
breakdown?: string;
|
|
5833
|
+
/**
|
|
5834
|
+
* Required. The customer ID in the format "customers/{customer_id\}".
|
|
5835
|
+
*/
|
|
5836
|
+
customer?: string;
|
|
5837
|
+
/**
|
|
5838
|
+
* 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"`
|
|
5839
|
+
*/
|
|
5840
|
+
filter?: string;
|
|
5841
|
+
/**
|
|
5842
|
+
* 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.
|
|
5843
|
+
*/
|
|
5844
|
+
fixedTimeRange?: string;
|
|
5845
|
+
/**
|
|
5846
|
+
* Optional. The metric to return the breakdowns for. Defaults to URL_VISITS_METRIC_TOTAL_SUSPICIOUS_URL_VISITS.
|
|
5847
|
+
*/
|
|
5848
|
+
metric?: string;
|
|
5849
|
+
/**
|
|
5850
|
+
* 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.
|
|
5851
|
+
*/
|
|
5852
|
+
pageSize?: number;
|
|
5853
|
+
/**
|
|
5854
|
+
* 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.
|
|
5855
|
+
*/
|
|
5856
|
+
pageToken?: string;
|
|
5857
|
+
}
|
|
5858
|
+
export class Resource$Customers$Profiles {
|
|
5859
|
+
context: APIRequestContext;
|
|
5860
|
+
commands: Resource$Customers$Profiles$Commands;
|
|
5861
|
+
constructor(context: APIRequestContext);
|
|
5862
|
+
/**
|
|
5863
|
+
* Deletes the data collected from a Chrome browser profile.
|
|
5864
|
+
* @example
|
|
5865
|
+
* ```js
|
|
5866
|
+
* // Before running the sample:
|
|
5867
|
+
* // - Enable the API at:
|
|
5868
|
+
* // https://console.developers.google.com/apis/api/chromemanagement.googleapis.com
|
|
5869
|
+
* // - Login into gcloud by running:
|
|
5870
|
+
* // ```sh
|
|
5871
|
+
* // $ gcloud auth application-default login
|
|
5872
|
+
* // ```
|
|
5873
|
+
* // - Install the npm module by running:
|
|
5874
|
+
* // ```sh
|
|
5875
|
+
* // $ npm install googleapis
|
|
5876
|
+
* // ```
|
|
5877
|
+
*
|
|
5878
|
+
* const {google} = require('googleapis');
|
|
5879
|
+
* const chromemanagement = google.chromemanagement('v1');
|
|
5880
|
+
*
|
|
5881
|
+
* async function main() {
|
|
5882
|
+
* const auth = new google.auth.GoogleAuth({
|
|
5883
|
+
* // Scopes can be specified either as an array or as a single, space-delimited string.
|
|
5884
|
+
* scopes: ['https://www.googleapis.com/auth/chrome.management.profiles'],
|
|
5885
|
+
* });
|
|
5886
|
+
*
|
|
5887
|
+
* // Acquire an auth client, and bind it to all future calls
|
|
5888
|
+
* const authClient = await auth.getClient();
|
|
5889
|
+
* google.options({auth: authClient});
|
|
5890
|
+
*
|
|
5891
|
+
* // Do the magic
|
|
5892
|
+
* const res = await chromemanagement.customers.profiles.delete({
|
|
5893
|
+
* // Required. Format: customers/{customer_id\}/profiles/{profile_permanent_id\}
|
|
5894
|
+
* name: 'customers/my-customer/profiles/my-profile',
|
|
5895
|
+
* });
|
|
5896
|
+
* console.log(res.data);
|
|
5897
|
+
*
|
|
5898
|
+
* // Example response
|
|
5899
|
+
* // {}
|
|
5900
|
+
* }
|
|
5901
|
+
*
|
|
5902
|
+
* main().catch(e => {
|
|
5903
|
+
* console.error(e);
|
|
5904
|
+
* throw e;
|
|
5905
|
+
* });
|
|
5906
|
+
*
|
|
5907
|
+
* ```
|
|
5908
|
+
*
|
|
5909
|
+
* @param params - Parameters for request
|
|
5910
|
+
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
5911
|
+
* @param callback - Optional callback that handles the response.
|
|
5912
|
+
* @returns A promise if used with async/await, or void if used with a callback.
|
|
5913
|
+
*/
|
|
5914
|
+
delete(params: Params$Resource$Customers$Profiles$Delete, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
5915
|
+
delete(params?: Params$Resource$Customers$Profiles$Delete, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$GoogleProtobufEmpty>>;
|
|
5916
|
+
delete(params: Params$Resource$Customers$Profiles$Delete, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
5917
|
+
delete(params: Params$Resource$Customers$Profiles$Delete, options: MethodOptions | BodyResponseCallback<Schema$GoogleProtobufEmpty>, callback: BodyResponseCallback<Schema$GoogleProtobufEmpty>): void;
|
|
5217
5918
|
delete(params: Params$Resource$Customers$Profiles$Delete, callback: BodyResponseCallback<Schema$GoogleProtobufEmpty>): void;
|
|
5218
5919
|
delete(callback: BodyResponseCallback<Schema$GoogleProtobufEmpty>): void;
|
|
5219
5920
|
/**
|
|
@@ -6088,6 +6789,79 @@ export declare namespace chromemanagement_v1 {
|
|
|
6088
6789
|
countChromeHardwareFleetDevices(params: Params$Resource$Customers$Reports$Countchromehardwarefleetdevices, options: MethodOptions | BodyResponseCallback<Schema$GoogleChromeManagementV1CountChromeHardwareFleetDevicesResponse>, callback: BodyResponseCallback<Schema$GoogleChromeManagementV1CountChromeHardwareFleetDevicesResponse>): void;
|
|
6089
6790
|
countChromeHardwareFleetDevices(params: Params$Resource$Customers$Reports$Countchromehardwarefleetdevices, callback: BodyResponseCallback<Schema$GoogleChromeManagementV1CountChromeHardwareFleetDevicesResponse>): void;
|
|
6090
6791
|
countChromeHardwareFleetDevices(callback: BodyResponseCallback<Schema$GoogleChromeManagementV1CountChromeHardwareFleetDevicesResponse>): void;
|
|
6792
|
+
/**
|
|
6793
|
+
* Generate report of installed Chrome versions on managed profiles.
|
|
6794
|
+
* @example
|
|
6795
|
+
* ```js
|
|
6796
|
+
* // Before running the sample:
|
|
6797
|
+
* // - Enable the API at:
|
|
6798
|
+
* // https://console.developers.google.com/apis/api/chromemanagement.googleapis.com
|
|
6799
|
+
* // - Login into gcloud by running:
|
|
6800
|
+
* // ```sh
|
|
6801
|
+
* // $ gcloud auth application-default login
|
|
6802
|
+
* // ```
|
|
6803
|
+
* // - Install the npm module by running:
|
|
6804
|
+
* // ```sh
|
|
6805
|
+
* // $ npm install googleapis
|
|
6806
|
+
* // ```
|
|
6807
|
+
*
|
|
6808
|
+
* const {google} = require('googleapis');
|
|
6809
|
+
* const chromemanagement = google.chromemanagement('v1');
|
|
6810
|
+
*
|
|
6811
|
+
* async function main() {
|
|
6812
|
+
* const auth = new google.auth.GoogleAuth({
|
|
6813
|
+
* // Scopes can be specified either as an array or as a single, space-delimited string.
|
|
6814
|
+
* scopes: [
|
|
6815
|
+
* 'https://www.googleapis.com/auth/chrome.management.reports.readonly',
|
|
6816
|
+
* ],
|
|
6817
|
+
* });
|
|
6818
|
+
*
|
|
6819
|
+
* // Acquire an auth client, and bind it to all future calls
|
|
6820
|
+
* const authClient = await auth.getClient();
|
|
6821
|
+
* google.options({auth: authClient});
|
|
6822
|
+
*
|
|
6823
|
+
* // Do the magic
|
|
6824
|
+
* const res =
|
|
6825
|
+
* await chromemanagement.customers.reports.countChromeProfileVersions({
|
|
6826
|
+
* // Required. Customer id or "my_customer" to use the customer associated to the account making the request.
|
|
6827
|
+
* customer: 'customers/my-customer',
|
|
6828
|
+
* // 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
|
|
6829
|
+
* filter: 'placeholder-value',
|
|
6830
|
+
* // The ID of the organizational unit. If omitted, all data will be returned.
|
|
6831
|
+
* orgUnitId: 'placeholder-value',
|
|
6832
|
+
* // Optional. Maximum number of results to return. Maximum and default are 100.
|
|
6833
|
+
* pageSize: 'placeholder-value',
|
|
6834
|
+
* // Optional. Token to specify the page of the request to be returned.
|
|
6835
|
+
* pageToken: 'placeholder-value',
|
|
6836
|
+
* });
|
|
6837
|
+
* console.log(res.data);
|
|
6838
|
+
*
|
|
6839
|
+
* // Example response
|
|
6840
|
+
* // {
|
|
6841
|
+
* // "nextPageToken": "my_nextPageToken",
|
|
6842
|
+
* // "profileBrowserVersions": [],
|
|
6843
|
+
* // "totalSize": 0
|
|
6844
|
+
* // }
|
|
6845
|
+
* }
|
|
6846
|
+
*
|
|
6847
|
+
* main().catch(e => {
|
|
6848
|
+
* console.error(e);
|
|
6849
|
+
* throw e;
|
|
6850
|
+
* });
|
|
6851
|
+
*
|
|
6852
|
+
* ```
|
|
6853
|
+
*
|
|
6854
|
+
* @param params - Parameters for request
|
|
6855
|
+
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
6856
|
+
* @param callback - Optional callback that handles the response.
|
|
6857
|
+
* @returns A promise if used with async/await, or void if used with a callback.
|
|
6858
|
+
*/
|
|
6859
|
+
countChromeProfileVersions(params: Params$Resource$Customers$Reports$Countchromeprofileversions, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
6860
|
+
countChromeProfileVersions(params?: Params$Resource$Customers$Reports$Countchromeprofileversions, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$GoogleChromeManagementV1CountChromeProfileVersionsResponse>>;
|
|
6861
|
+
countChromeProfileVersions(params: Params$Resource$Customers$Reports$Countchromeprofileversions, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
6862
|
+
countChromeProfileVersions(params: Params$Resource$Customers$Reports$Countchromeprofileversions, options: MethodOptions | BodyResponseCallback<Schema$GoogleChromeManagementV1CountChromeProfileVersionsResponse>, callback: BodyResponseCallback<Schema$GoogleChromeManagementV1CountChromeProfileVersionsResponse>): void;
|
|
6863
|
+
countChromeProfileVersions(params: Params$Resource$Customers$Reports$Countchromeprofileversions, callback: BodyResponseCallback<Schema$GoogleChromeManagementV1CountChromeProfileVersionsResponse>): void;
|
|
6864
|
+
countChromeProfileVersions(callback: BodyResponseCallback<Schema$GoogleChromeManagementV1CountChromeProfileVersionsResponse>): void;
|
|
6091
6865
|
/**
|
|
6092
6866
|
* Generate report of installed Chrome versions.
|
|
6093
6867
|
* @example
|
|
@@ -6760,6 +7534,226 @@ export declare namespace chromemanagement_v1 {
|
|
|
6760
7534
|
findInstalledAppProfiles(params: Params$Resource$Customers$Reports$Findinstalledappprofiles, options: MethodOptions | BodyResponseCallback<Schema$GoogleChromeManagementV1FindInstalledAppProfilesResponse>, callback: BodyResponseCallback<Schema$GoogleChromeManagementV1FindInstalledAppProfilesResponse>): void;
|
|
6761
7535
|
findInstalledAppProfiles(params: Params$Resource$Customers$Reports$Findinstalledappprofiles, callback: BodyResponseCallback<Schema$GoogleChromeManagementV1FindInstalledAppProfilesResponse>): void;
|
|
6762
7536
|
findInstalledAppProfiles(callback: BodyResponseCallback<Schema$GoogleChromeManagementV1FindInstalledAppProfilesResponse>): void;
|
|
7537
|
+
/**
|
|
7538
|
+
* Find SaaS usage reports of a customer based on the given search and sorting criteria.
|
|
7539
|
+
* @example
|
|
7540
|
+
* ```js
|
|
7541
|
+
* // Before running the sample:
|
|
7542
|
+
* // - Enable the API at:
|
|
7543
|
+
* // https://console.developers.google.com/apis/api/chromemanagement.googleapis.com
|
|
7544
|
+
* // - Login into gcloud by running:
|
|
7545
|
+
* // ```sh
|
|
7546
|
+
* // $ gcloud auth application-default login
|
|
7547
|
+
* // ```
|
|
7548
|
+
* // - Install the npm module by running:
|
|
7549
|
+
* // ```sh
|
|
7550
|
+
* // $ npm install googleapis
|
|
7551
|
+
* // ```
|
|
7552
|
+
*
|
|
7553
|
+
* const {google} = require('googleapis');
|
|
7554
|
+
* const chromemanagement = google.chromemanagement('v1');
|
|
7555
|
+
*
|
|
7556
|
+
* async function main() {
|
|
7557
|
+
* const auth = new google.auth.GoogleAuth({
|
|
7558
|
+
* // Scopes can be specified either as an array or as a single, space-delimited string.
|
|
7559
|
+
* scopes: [
|
|
7560
|
+
* 'https://www.googleapis.com/auth/chrome.management.reports.readonly',
|
|
7561
|
+
* ],
|
|
7562
|
+
* });
|
|
7563
|
+
*
|
|
7564
|
+
* // Acquire an auth client, and bind it to all future calls
|
|
7565
|
+
* const authClient = await auth.getClient();
|
|
7566
|
+
* google.options({auth: authClient});
|
|
7567
|
+
*
|
|
7568
|
+
* // Do the magic
|
|
7569
|
+
* const res = await chromemanagement.customers.reports.findSaasUsage({
|
|
7570
|
+
* // Required. Obfuscated customer ID prefixed with "customers/C" or "customers/my_customer".
|
|
7571
|
+
* customer: 'customers/my-customer',
|
|
7572
|
+
* // Optional. The filter expression to narrow down the SaaS reports to return. Supported operators are: =, !=, <, <=, \>, \>=, :. Logical operators AND, OR, and NOT are supported. Supported fields: * app * org_unit_id * first_navigation_time * last_navigation_time * category * organization * founded_year * headquarters * primary_domain * domains * encryption_protocols * visits_count * distinct_users_count * distinct_browsers_count * content_transfer_count Example: `(first_navigation_time < "2026-01-31T00:00:00Z" AND last_navigation_time \> "2026-01-01T00:00:00Z") AND visits_count \> 100`
|
|
7573
|
+
* filter: 'placeholder-value',
|
|
7574
|
+
* // Optional. The order by expression to sort the SaaS reports. Supported fields: * app * category * organization * founded_year * headquarters * primary_domain * visits_count * distinct_users_count * distinct_browsers_count * content_transfer_count Default order is ascending. To specify descending order for a field, append " desc". Example: `visits_count desc`
|
|
7575
|
+
* orderBy: 'placeholder-value',
|
|
7576
|
+
* // Optional. The maximum number of reports to return. The service may return fewer than this value. If unspecified, at most 100 reports will be returned. The maximum value is 200; values above 200 will be coerced to 200.
|
|
7577
|
+
* pageSize: 'placeholder-value',
|
|
7578
|
+
* // Optional. A page token, received from a previous `FindSaasUsageReports` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `FindSaasUsageReports` must match the call that provided the page token.
|
|
7579
|
+
* pageToken: 'placeholder-value',
|
|
7580
|
+
* });
|
|
7581
|
+
* console.log(res.data);
|
|
7582
|
+
*
|
|
7583
|
+
* // Example response
|
|
7584
|
+
* // {
|
|
7585
|
+
* // "nextPageToken": "my_nextPageToken",
|
|
7586
|
+
* // "saasReports": [],
|
|
7587
|
+
* // "totalSize": "my_totalSize"
|
|
7588
|
+
* // }
|
|
7589
|
+
* }
|
|
7590
|
+
*
|
|
7591
|
+
* main().catch(e => {
|
|
7592
|
+
* console.error(e);
|
|
7593
|
+
* throw e;
|
|
7594
|
+
* });
|
|
7595
|
+
*
|
|
7596
|
+
* ```
|
|
7597
|
+
*
|
|
7598
|
+
* @param params - Parameters for request
|
|
7599
|
+
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
7600
|
+
* @param callback - Optional callback that handles the response.
|
|
7601
|
+
* @returns A promise if used with async/await, or void if used with a callback.
|
|
7602
|
+
*/
|
|
7603
|
+
findSaasUsage(params: Params$Resource$Customers$Reports$Findsaasusage, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
7604
|
+
findSaasUsage(params?: Params$Resource$Customers$Reports$Findsaasusage, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$GoogleChromeManagementV1FindSaasUsageReportsResponse>>;
|
|
7605
|
+
findSaasUsage(params: Params$Resource$Customers$Reports$Findsaasusage, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
7606
|
+
findSaasUsage(params: Params$Resource$Customers$Reports$Findsaasusage, options: MethodOptions | BodyResponseCallback<Schema$GoogleChromeManagementV1FindSaasUsageReportsResponse>, callback: BodyResponseCallback<Schema$GoogleChromeManagementV1FindSaasUsageReportsResponse>): void;
|
|
7607
|
+
findSaasUsage(params: Params$Resource$Customers$Reports$Findsaasusage, callback: BodyResponseCallback<Schema$GoogleChromeManagementV1FindSaasUsageReportsResponse>): void;
|
|
7608
|
+
findSaasUsage(callback: BodyResponseCallback<Schema$GoogleChromeManagementV1FindSaasUsageReportsResponse>): void;
|
|
7609
|
+
/**
|
|
7610
|
+
* Find SaaS usage reports of a customer grouped by browsers based on the given search and sorting criteria.
|
|
7611
|
+
* @example
|
|
7612
|
+
* ```js
|
|
7613
|
+
* // Before running the sample:
|
|
7614
|
+
* // - Enable the API at:
|
|
7615
|
+
* // https://console.developers.google.com/apis/api/chromemanagement.googleapis.com
|
|
7616
|
+
* // - Login into gcloud by running:
|
|
7617
|
+
* // ```sh
|
|
7618
|
+
* // $ gcloud auth application-default login
|
|
7619
|
+
* // ```
|
|
7620
|
+
* // - Install the npm module by running:
|
|
7621
|
+
* // ```sh
|
|
7622
|
+
* // $ npm install googleapis
|
|
7623
|
+
* // ```
|
|
7624
|
+
*
|
|
7625
|
+
* const {google} = require('googleapis');
|
|
7626
|
+
* const chromemanagement = google.chromemanagement('v1');
|
|
7627
|
+
*
|
|
7628
|
+
* async function main() {
|
|
7629
|
+
* const auth = new google.auth.GoogleAuth({
|
|
7630
|
+
* // Scopes can be specified either as an array or as a single, space-delimited string.
|
|
7631
|
+
* scopes: [
|
|
7632
|
+
* 'https://www.googleapis.com/auth/chrome.management.reports.readonly',
|
|
7633
|
+
* ],
|
|
7634
|
+
* });
|
|
7635
|
+
*
|
|
7636
|
+
* // Acquire an auth client, and bind it to all future calls
|
|
7637
|
+
* const authClient = await auth.getClient();
|
|
7638
|
+
* google.options({auth: authClient});
|
|
7639
|
+
*
|
|
7640
|
+
* // Do the magic
|
|
7641
|
+
* const res = await chromemanagement.customers.reports.findSaasUsageBrowsers({
|
|
7642
|
+
* // Required. The name of the SaaS application (e.g., `ChatGPT`, `Gemini`).
|
|
7643
|
+
* app: 'placeholder-value',
|
|
7644
|
+
* // Required. Obfuscated customer ID prefixed with "customers/C" or "customers/my_customer".
|
|
7645
|
+
* customer: 'customers/my-customer',
|
|
7646
|
+
* // Optional. The filter expression to narrow down the SaaS browser reports to return. Supported operators are: =, !=, <, <=, \>, \>=, :. Logical operators AND, OR, and NOT are supported. Supported fields: * machine * os_platform * first_navigation_time * last_navigation_time * org_unit_id
|
|
7647
|
+
* filter: 'placeholder-value',
|
|
7648
|
+
* // Optional. The order by expression to sort the SaaS browser reports. Supported fields: * machine * os_platform * first_navigation_time * last_navigation_time Default order is ascending. To specify descending order for a field, append " desc".
|
|
7649
|
+
* orderBy: 'placeholder-value',
|
|
7650
|
+
* // Optional. The maximum number of browsers to return. The service may return fewer than this value. If unspecified, at most 100 browsers will be returned. The maximum value is 200; values above 200 will be coerced to 200.
|
|
7651
|
+
* pageSize: 'placeholder-value',
|
|
7652
|
+
* // Optional. A page token, received from a previous `FindSaasUsageBrowsers` call. Provide this to retrieve the subsequent page.
|
|
7653
|
+
* pageToken: 'placeholder-value',
|
|
7654
|
+
* });
|
|
7655
|
+
* console.log(res.data);
|
|
7656
|
+
*
|
|
7657
|
+
* // Example response
|
|
7658
|
+
* // {
|
|
7659
|
+
* // "nextPageToken": "my_nextPageToken",
|
|
7660
|
+
* // "saasUsageBrowsers": [],
|
|
7661
|
+
* // "totalSize": "my_totalSize"
|
|
7662
|
+
* // }
|
|
7663
|
+
* }
|
|
7664
|
+
*
|
|
7665
|
+
* main().catch(e => {
|
|
7666
|
+
* console.error(e);
|
|
7667
|
+
* throw e;
|
|
7668
|
+
* });
|
|
7669
|
+
*
|
|
7670
|
+
* ```
|
|
7671
|
+
*
|
|
7672
|
+
* @param params - Parameters for request
|
|
7673
|
+
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
7674
|
+
* @param callback - Optional callback that handles the response.
|
|
7675
|
+
* @returns A promise if used with async/await, or void if used with a callback.
|
|
7676
|
+
*/
|
|
7677
|
+
findSaasUsageBrowsers(params: Params$Resource$Customers$Reports$Findsaasusagebrowsers, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
7678
|
+
findSaasUsageBrowsers(params?: Params$Resource$Customers$Reports$Findsaasusagebrowsers, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$GoogleChromeManagementV1FindSaasUsageBrowsersResponse>>;
|
|
7679
|
+
findSaasUsageBrowsers(params: Params$Resource$Customers$Reports$Findsaasusagebrowsers, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
7680
|
+
findSaasUsageBrowsers(params: Params$Resource$Customers$Reports$Findsaasusagebrowsers, options: MethodOptions | BodyResponseCallback<Schema$GoogleChromeManagementV1FindSaasUsageBrowsersResponse>, callback: BodyResponseCallback<Schema$GoogleChromeManagementV1FindSaasUsageBrowsersResponse>): void;
|
|
7681
|
+
findSaasUsageBrowsers(params: Params$Resource$Customers$Reports$Findsaasusagebrowsers, callback: BodyResponseCallback<Schema$GoogleChromeManagementV1FindSaasUsageBrowsersResponse>): void;
|
|
7682
|
+
findSaasUsageBrowsers(callback: BodyResponseCallback<Schema$GoogleChromeManagementV1FindSaasUsageBrowsersResponse>): void;
|
|
7683
|
+
/**
|
|
7684
|
+
* Find SaaS usage reports of a customer grouped by profiles based on the given search and sorting criteria.
|
|
7685
|
+
* @example
|
|
7686
|
+
* ```js
|
|
7687
|
+
* // Before running the sample:
|
|
7688
|
+
* // - Enable the API at:
|
|
7689
|
+
* // https://console.developers.google.com/apis/api/chromemanagement.googleapis.com
|
|
7690
|
+
* // - Login into gcloud by running:
|
|
7691
|
+
* // ```sh
|
|
7692
|
+
* // $ gcloud auth application-default login
|
|
7693
|
+
* // ```
|
|
7694
|
+
* // - Install the npm module by running:
|
|
7695
|
+
* // ```sh
|
|
7696
|
+
* // $ npm install googleapis
|
|
7697
|
+
* // ```
|
|
7698
|
+
*
|
|
7699
|
+
* const {google} = require('googleapis');
|
|
7700
|
+
* const chromemanagement = google.chromemanagement('v1');
|
|
7701
|
+
*
|
|
7702
|
+
* async function main() {
|
|
7703
|
+
* const auth = new google.auth.GoogleAuth({
|
|
7704
|
+
* // Scopes can be specified either as an array or as a single, space-delimited string.
|
|
7705
|
+
* scopes: [
|
|
7706
|
+
* 'https://www.googleapis.com/auth/chrome.management.reports.readonly',
|
|
7707
|
+
* ],
|
|
7708
|
+
* });
|
|
7709
|
+
*
|
|
7710
|
+
* // Acquire an auth client, and bind it to all future calls
|
|
7711
|
+
* const authClient = await auth.getClient();
|
|
7712
|
+
* google.options({auth: authClient});
|
|
7713
|
+
*
|
|
7714
|
+
* // Do the magic
|
|
7715
|
+
* const res = await chromemanagement.customers.reports.findSaasUsageProfiles({
|
|
7716
|
+
* // Required. The name of the SaaS application (e.g., `ChatGPT`, `Gemini`).
|
|
7717
|
+
* app: 'placeholder-value',
|
|
7718
|
+
* // Required. Obfuscated customer ID prefixed with "customers/C" or "customers/my_customer".
|
|
7719
|
+
* customer: 'customers/my-customer',
|
|
7720
|
+
* // Optional. The filter expression to narrow down the SaaS profile reports to return. Supported operators are: =, !=, <, <=, \>, \>=, :. Logical operators AND, OR, and NOT are supported. Supported fields: * email * org_unit_id * os_platform * first_navigation_time * last_navigation_time
|
|
7721
|
+
* filter: 'placeholder-value',
|
|
7722
|
+
* // Optional. The order by expression to sort the SaaS profile reports. Supported fields: * email * os_platform * first_navigation_time * last_navigation_time Default order is ascending. To specify descending order for a field, append " desc".
|
|
7723
|
+
* orderBy: 'placeholder-value',
|
|
7724
|
+
* // Optional. The maximum number of reports to return. The service may return fewer than this value. If unspecified, at most 100 reports will be returned. The maximum value is 200; values above 200 will be coerced to 200.
|
|
7725
|
+
* pageSize: 'placeholder-value',
|
|
7726
|
+
* // Optional. A page token, received from a previous `FindSaasUsageProfiles` call. Provide this to retrieve the subsequent page.
|
|
7727
|
+
* pageToken: 'placeholder-value',
|
|
7728
|
+
* });
|
|
7729
|
+
* console.log(res.data);
|
|
7730
|
+
*
|
|
7731
|
+
* // Example response
|
|
7732
|
+
* // {
|
|
7733
|
+
* // "nextPageToken": "my_nextPageToken",
|
|
7734
|
+
* // "profileReports": [],
|
|
7735
|
+
* // "totalSize": "my_totalSize"
|
|
7736
|
+
* // }
|
|
7737
|
+
* }
|
|
7738
|
+
*
|
|
7739
|
+
* main().catch(e => {
|
|
7740
|
+
* console.error(e);
|
|
7741
|
+
* throw e;
|
|
7742
|
+
* });
|
|
7743
|
+
*
|
|
7744
|
+
* ```
|
|
7745
|
+
*
|
|
7746
|
+
* @param params - Parameters for request
|
|
7747
|
+
* @param options - Optionally override request options, such as `url`, `method`, and `encoding`.
|
|
7748
|
+
* @param callback - Optional callback that handles the response.
|
|
7749
|
+
* @returns A promise if used with async/await, or void if used with a callback.
|
|
7750
|
+
*/
|
|
7751
|
+
findSaasUsageProfiles(params: Params$Resource$Customers$Reports$Findsaasusageprofiles, options: StreamMethodOptions): Promise<GaxiosResponseWithHTTP2<Readable>>;
|
|
7752
|
+
findSaasUsageProfiles(params?: Params$Resource$Customers$Reports$Findsaasusageprofiles, options?: MethodOptions): Promise<GaxiosResponseWithHTTP2<Schema$GoogleChromeManagementV1FindSaasUsageProfilesResponse>>;
|
|
7753
|
+
findSaasUsageProfiles(params: Params$Resource$Customers$Reports$Findsaasusageprofiles, options: StreamMethodOptions | BodyResponseCallback<Readable>, callback: BodyResponseCallback<Readable>): void;
|
|
7754
|
+
findSaasUsageProfiles(params: Params$Resource$Customers$Reports$Findsaasusageprofiles, options: MethodOptions | BodyResponseCallback<Schema$GoogleChromeManagementV1FindSaasUsageProfilesResponse>, callback: BodyResponseCallback<Schema$GoogleChromeManagementV1FindSaasUsageProfilesResponse>): void;
|
|
7755
|
+
findSaasUsageProfiles(params: Params$Resource$Customers$Reports$Findsaasusageprofiles, callback: BodyResponseCallback<Schema$GoogleChromeManagementV1FindSaasUsageProfilesResponse>): void;
|
|
7756
|
+
findSaasUsageProfiles(callback: BodyResponseCallback<Schema$GoogleChromeManagementV1FindSaasUsageProfilesResponse>): void;
|
|
6763
7757
|
}
|
|
6764
7758
|
export interface Params$Resource$Customers$Reports$Countactivedevices extends StandardParameters {
|
|
6765
7759
|
/**
|
|
@@ -6853,6 +7847,28 @@ export declare namespace chromemanagement_v1 {
|
|
|
6853
7847
|
*/
|
|
6854
7848
|
readMask?: string;
|
|
6855
7849
|
}
|
|
7850
|
+
export interface Params$Resource$Customers$Reports$Countchromeprofileversions extends StandardParameters {
|
|
7851
|
+
/**
|
|
7852
|
+
* Required. Customer id or "my_customer" to use the customer associated to the account making the request.
|
|
7853
|
+
*/
|
|
7854
|
+
customer?: string;
|
|
7855
|
+
/**
|
|
7856
|
+
* 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
|
|
7857
|
+
*/
|
|
7858
|
+
filter?: string;
|
|
7859
|
+
/**
|
|
7860
|
+
* The ID of the organizational unit. If omitted, all data will be returned.
|
|
7861
|
+
*/
|
|
7862
|
+
orgUnitId?: string;
|
|
7863
|
+
/**
|
|
7864
|
+
* Optional. Maximum number of results to return. Maximum and default are 100.
|
|
7865
|
+
*/
|
|
7866
|
+
pageSize?: number;
|
|
7867
|
+
/**
|
|
7868
|
+
* Optional. Token to specify the page of the request to be returned.
|
|
7869
|
+
*/
|
|
7870
|
+
pageToken?: string;
|
|
7871
|
+
}
|
|
6856
7872
|
export interface Params$Resource$Customers$Reports$Countchromeversions extends StandardParameters {
|
|
6857
7873
|
/**
|
|
6858
7874
|
* Required. Customer id or "my_customer" to use the customer associated to the account making the request.
|
|
@@ -7083,6 +8099,80 @@ export declare namespace chromemanagement_v1 {
|
|
|
7083
8099
|
*/
|
|
7084
8100
|
pageToken?: string;
|
|
7085
8101
|
}
|
|
8102
|
+
export interface Params$Resource$Customers$Reports$Findsaasusage extends StandardParameters {
|
|
8103
|
+
/**
|
|
8104
|
+
* Required. Obfuscated customer ID prefixed with "customers/C" or "customers/my_customer".
|
|
8105
|
+
*/
|
|
8106
|
+
customer?: string;
|
|
8107
|
+
/**
|
|
8108
|
+
* Optional. The filter expression to narrow down the SaaS reports to return. Supported operators are: =, !=, <, <=, \>, \>=, :. Logical operators AND, OR, and NOT are supported. Supported fields: * app * org_unit_id * first_navigation_time * last_navigation_time * category * organization * founded_year * headquarters * primary_domain * domains * encryption_protocols * visits_count * distinct_users_count * distinct_browsers_count * content_transfer_count Example: `(first_navigation_time < "2026-01-31T00:00:00Z" AND last_navigation_time \> "2026-01-01T00:00:00Z") AND visits_count \> 100`
|
|
8109
|
+
*/
|
|
8110
|
+
filter?: string;
|
|
8111
|
+
/**
|
|
8112
|
+
* Optional. The order by expression to sort the SaaS reports. Supported fields: * app * category * organization * founded_year * headquarters * primary_domain * visits_count * distinct_users_count * distinct_browsers_count * content_transfer_count Default order is ascending. To specify descending order for a field, append " desc". Example: `visits_count desc`
|
|
8113
|
+
*/
|
|
8114
|
+
orderBy?: string;
|
|
8115
|
+
/**
|
|
8116
|
+
* Optional. The maximum number of reports to return. The service may return fewer than this value. If unspecified, at most 100 reports will be returned. The maximum value is 200; values above 200 will be coerced to 200.
|
|
8117
|
+
*/
|
|
8118
|
+
pageSize?: number;
|
|
8119
|
+
/**
|
|
8120
|
+
* Optional. A page token, received from a previous `FindSaasUsageReports` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `FindSaasUsageReports` must match the call that provided the page token.
|
|
8121
|
+
*/
|
|
8122
|
+
pageToken?: string;
|
|
8123
|
+
}
|
|
8124
|
+
export interface Params$Resource$Customers$Reports$Findsaasusagebrowsers extends StandardParameters {
|
|
8125
|
+
/**
|
|
8126
|
+
* Required. The name of the SaaS application (e.g., `ChatGPT`, `Gemini`).
|
|
8127
|
+
*/
|
|
8128
|
+
app?: string;
|
|
8129
|
+
/**
|
|
8130
|
+
* Required. Obfuscated customer ID prefixed with "customers/C" or "customers/my_customer".
|
|
8131
|
+
*/
|
|
8132
|
+
customer?: string;
|
|
8133
|
+
/**
|
|
8134
|
+
* Optional. The filter expression to narrow down the SaaS browser reports to return. Supported operators are: =, !=, <, <=, \>, \>=, :. Logical operators AND, OR, and NOT are supported. Supported fields: * machine * os_platform * first_navigation_time * last_navigation_time * org_unit_id
|
|
8135
|
+
*/
|
|
8136
|
+
filter?: string;
|
|
8137
|
+
/**
|
|
8138
|
+
* Optional. The order by expression to sort the SaaS browser reports. Supported fields: * machine * os_platform * first_navigation_time * last_navigation_time Default order is ascending. To specify descending order for a field, append " desc".
|
|
8139
|
+
*/
|
|
8140
|
+
orderBy?: string;
|
|
8141
|
+
/**
|
|
8142
|
+
* Optional. The maximum number of browsers to return. The service may return fewer than this value. If unspecified, at most 100 browsers will be returned. The maximum value is 200; values above 200 will be coerced to 200.
|
|
8143
|
+
*/
|
|
8144
|
+
pageSize?: number;
|
|
8145
|
+
/**
|
|
8146
|
+
* Optional. A page token, received from a previous `FindSaasUsageBrowsers` call. Provide this to retrieve the subsequent page.
|
|
8147
|
+
*/
|
|
8148
|
+
pageToken?: string;
|
|
8149
|
+
}
|
|
8150
|
+
export interface Params$Resource$Customers$Reports$Findsaasusageprofiles extends StandardParameters {
|
|
8151
|
+
/**
|
|
8152
|
+
* Required. The name of the SaaS application (e.g., `ChatGPT`, `Gemini`).
|
|
8153
|
+
*/
|
|
8154
|
+
app?: string;
|
|
8155
|
+
/**
|
|
8156
|
+
* Required. Obfuscated customer ID prefixed with "customers/C" or "customers/my_customer".
|
|
8157
|
+
*/
|
|
8158
|
+
customer?: string;
|
|
8159
|
+
/**
|
|
8160
|
+
* Optional. The filter expression to narrow down the SaaS profile reports to return. Supported operators are: =, !=, <, <=, \>, \>=, :. Logical operators AND, OR, and NOT are supported. Supported fields: * email * org_unit_id * os_platform * first_navigation_time * last_navigation_time
|
|
8161
|
+
*/
|
|
8162
|
+
filter?: string;
|
|
8163
|
+
/**
|
|
8164
|
+
* Optional. The order by expression to sort the SaaS profile reports. Supported fields: * email * os_platform * first_navigation_time * last_navigation_time Default order is ascending. To specify descending order for a field, append " desc".
|
|
8165
|
+
*/
|
|
8166
|
+
orderBy?: string;
|
|
8167
|
+
/**
|
|
8168
|
+
* Optional. The maximum number of reports to return. The service may return fewer than this value. If unspecified, at most 100 reports will be returned. The maximum value is 200; values above 200 will be coerced to 200.
|
|
8169
|
+
*/
|
|
8170
|
+
pageSize?: number;
|
|
8171
|
+
/**
|
|
8172
|
+
* Optional. A page token, received from a previous `FindSaasUsageProfiles` call. Provide this to retrieve the subsequent page.
|
|
8173
|
+
*/
|
|
8174
|
+
pageToken?: string;
|
|
8175
|
+
}
|
|
7086
8176
|
export class Resource$Customers$Telemetry {
|
|
7087
8177
|
context: APIRequestContext;
|
|
7088
8178
|
devices: Resource$Customers$Telemetry$Devices;
|