Anthonios Partheniou | 10f4b67 | 2021-04-13 14:47:53 -0400 | [diff] [blame] | 1 | { |
| 2 | "auth": { |
| 3 | "oauth2": { |
| 4 | "scopes": { |
| 5 | "https://www.googleapis.com/auth/chrome.management.reports.readonly": { |
| 6 | "description": "See reports about devices and Chrome browsers managed within your organization" |
| 7 | } |
| 8 | } |
| 9 | } |
| 10 | }, |
| 11 | "basePath": "", |
| 12 | "baseUrl": "https://chromemanagement.googleapis.com/", |
| 13 | "batchPath": "batch", |
| 14 | "canonicalName": "Chrome Management", |
| 15 | "description": "The Chrome Management API is a suite of services that allows Chrome administrators to view, manage and gain insights on their Chrome OS and Chrome Browser devices.", |
| 16 | "discoveryVersion": "v1", |
| 17 | "documentationLink": "http://developers.google.com/chrome/management/", |
| 18 | "fullyEncodeReservedExpansion": true, |
| 19 | "icons": { |
| 20 | "x16": "http://www.google.com/images/icons/product/search-16.gif", |
| 21 | "x32": "http://www.google.com/images/icons/product/search-32.gif" |
| 22 | }, |
| 23 | "id": "chromemanagement:v1", |
| 24 | "kind": "discovery#restDescription", |
| 25 | "mtlsRootUrl": "https://chromemanagement.mtls.googleapis.com/", |
| 26 | "name": "chromemanagement", |
| 27 | "ownerDomain": "google.com", |
| 28 | "ownerName": "Google", |
| 29 | "parameters": { |
| 30 | "$.xgafv": { |
| 31 | "description": "V1 error format.", |
| 32 | "enum": [ |
| 33 | "1", |
| 34 | "2" |
| 35 | ], |
| 36 | "enumDescriptions": [ |
| 37 | "v1 error format", |
| 38 | "v2 error format" |
| 39 | ], |
| 40 | "location": "query", |
| 41 | "type": "string" |
| 42 | }, |
| 43 | "access_token": { |
| 44 | "description": "OAuth access token.", |
| 45 | "location": "query", |
| 46 | "type": "string" |
| 47 | }, |
| 48 | "alt": { |
| 49 | "default": "json", |
| 50 | "description": "Data format for response.", |
| 51 | "enum": [ |
| 52 | "json", |
| 53 | "media", |
| 54 | "proto" |
| 55 | ], |
| 56 | "enumDescriptions": [ |
| 57 | "Responses with Content-Type of application/json", |
| 58 | "Media download with context-dependent Content-Type", |
| 59 | "Responses with Content-Type of application/x-protobuf" |
| 60 | ], |
| 61 | "location": "query", |
| 62 | "type": "string" |
| 63 | }, |
| 64 | "callback": { |
| 65 | "description": "JSONP", |
| 66 | "location": "query", |
| 67 | "type": "string" |
| 68 | }, |
| 69 | "fields": { |
| 70 | "description": "Selector specifying which fields to include in a partial response.", |
| 71 | "location": "query", |
| 72 | "type": "string" |
| 73 | }, |
| 74 | "key": { |
| 75 | "description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", |
| 76 | "location": "query", |
| 77 | "type": "string" |
| 78 | }, |
| 79 | "oauth_token": { |
| 80 | "description": "OAuth 2.0 token for the current user.", |
| 81 | "location": "query", |
| 82 | "type": "string" |
| 83 | }, |
| 84 | "prettyPrint": { |
| 85 | "default": "true", |
| 86 | "description": "Returns response with indentations and line breaks.", |
| 87 | "location": "query", |
| 88 | "type": "boolean" |
| 89 | }, |
| 90 | "quotaUser": { |
| 91 | "description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", |
| 92 | "location": "query", |
| 93 | "type": "string" |
| 94 | }, |
| 95 | "uploadType": { |
| 96 | "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", |
| 97 | "location": "query", |
| 98 | "type": "string" |
| 99 | }, |
| 100 | "upload_protocol": { |
| 101 | "description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", |
| 102 | "location": "query", |
| 103 | "type": "string" |
| 104 | } |
| 105 | }, |
| 106 | "protocol": "rest", |
| 107 | "resources": { |
| 108 | "customers": { |
| 109 | "resources": { |
| 110 | "reports": { |
| 111 | "methods": { |
| 112 | "countChromeVersions": { |
| 113 | "description": "Generate report of installed Chrome versions.", |
| 114 | "flatPath": "v1/customers/{customersId}/reports:countChromeVersions", |
| 115 | "httpMethod": "GET", |
| 116 | "id": "chromemanagement.customers.reports.countChromeVersions", |
| 117 | "parameterOrder": [ |
| 118 | "customer" |
| 119 | ], |
| 120 | "parameters": { |
| 121 | "customer": { |
| 122 | "description": "Required. Customer id or \"my_customer\" to use the customer associated to the account making the request.", |
| 123 | "location": "path", |
| 124 | "pattern": "^customers/[^/]+$", |
| 125 | "required": true, |
| 126 | "type": "string" |
| 127 | }, |
| 128 | "filter": { |
| 129 | "description": "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", |
| 130 | "location": "query", |
| 131 | "type": "string" |
| 132 | }, |
| 133 | "orgUnitId": { |
| 134 | "description": "The ID of the organizational unit.", |
| 135 | "location": "query", |
| 136 | "type": "string" |
| 137 | }, |
| 138 | "pageSize": { |
| 139 | "description": "Maximum number of results to return. Maximum and default are 100.", |
| 140 | "format": "int32", |
| 141 | "location": "query", |
| 142 | "type": "integer" |
| 143 | }, |
| 144 | "pageToken": { |
yoshi-code-bot | c2cd326 | 2021-05-16 02:16:04 -0700 | [diff] [blame] | 145 | "description": "Token to specify the page of the request to be returned.", |
Anthonios Partheniou | 10f4b67 | 2021-04-13 14:47:53 -0400 | [diff] [blame] | 146 | "location": "query", |
| 147 | "type": "string" |
| 148 | } |
| 149 | }, |
| 150 | "path": "v1/{+customer}/reports:countChromeVersions", |
| 151 | "response": { |
| 152 | "$ref": "GoogleChromeManagementV1CountChromeVersionsResponse" |
| 153 | }, |
| 154 | "scopes": [ |
| 155 | "https://www.googleapis.com/auth/chrome.management.reports.readonly" |
| 156 | ] |
| 157 | }, |
| 158 | "countInstalledApps": { |
| 159 | "description": "Generate report of app installations.", |
| 160 | "flatPath": "v1/customers/{customersId}/reports:countInstalledApps", |
| 161 | "httpMethod": "GET", |
| 162 | "id": "chromemanagement.customers.reports.countInstalledApps", |
| 163 | "parameterOrder": [ |
| 164 | "customer" |
| 165 | ], |
| 166 | "parameters": { |
| 167 | "customer": { |
| 168 | "description": "Required. Customer id or \"my_customer\" to use the customer associated to the account making the request.", |
| 169 | "location": "path", |
| 170 | "pattern": "^customers/[^/]+$", |
| 171 | "required": true, |
| 172 | "type": "string" |
| 173 | }, |
| 174 | "filter": { |
| 175 | "description": "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", |
| 176 | "location": "query", |
| 177 | "type": "string" |
| 178 | }, |
| 179 | "orderBy": { |
| 180 | "description": "Field used to order results. Supported order by fields: * app_name * app_type * install_type * number_of_permissions * total_install_count", |
| 181 | "location": "query", |
| 182 | "type": "string" |
| 183 | }, |
| 184 | "orgUnitId": { |
| 185 | "description": "The ID of the organizational unit.", |
| 186 | "location": "query", |
| 187 | "type": "string" |
| 188 | }, |
| 189 | "pageSize": { |
| 190 | "description": "Maximum number of results to return. Maximum and default are 100.", |
| 191 | "format": "int32", |
| 192 | "location": "query", |
| 193 | "type": "integer" |
| 194 | }, |
| 195 | "pageToken": { |
yoshi-code-bot | c2cd326 | 2021-05-16 02:16:04 -0700 | [diff] [blame] | 196 | "description": "Token to specify the page of the request to be returned.", |
Anthonios Partheniou | 10f4b67 | 2021-04-13 14:47:53 -0400 | [diff] [blame] | 197 | "location": "query", |
| 198 | "type": "string" |
| 199 | } |
| 200 | }, |
| 201 | "path": "v1/{+customer}/reports:countInstalledApps", |
| 202 | "response": { |
| 203 | "$ref": "GoogleChromeManagementV1CountInstalledAppsResponse" |
| 204 | }, |
| 205 | "scopes": [ |
| 206 | "https://www.googleapis.com/auth/chrome.management.reports.readonly" |
| 207 | ] |
| 208 | }, |
| 209 | "findInstalledAppDevices": { |
| 210 | "description": "Generate report of devices that have a specified app installed.", |
| 211 | "flatPath": "v1/customers/{customersId}/reports:findInstalledAppDevices", |
| 212 | "httpMethod": "GET", |
| 213 | "id": "chromemanagement.customers.reports.findInstalledAppDevices", |
| 214 | "parameterOrder": [ |
| 215 | "customer" |
| 216 | ], |
| 217 | "parameters": { |
| 218 | "appId": { |
| 219 | "description": "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).", |
| 220 | "location": "query", |
| 221 | "type": "string" |
| 222 | }, |
| 223 | "appType": { |
| 224 | "description": "Type of the app.", |
| 225 | "enum": [ |
| 226 | "APP_TYPE_UNSPECIFIED", |
| 227 | "EXTENSION", |
| 228 | "APP", |
| 229 | "THEME", |
| 230 | "HOSTED_APP", |
| 231 | "ANDROID_APP" |
| 232 | ], |
| 233 | "enumDescriptions": [ |
| 234 | "App type not specified.", |
| 235 | "Chrome extension.", |
| 236 | "Chrome app.", |
| 237 | "Chrome theme.", |
| 238 | "Chrome hosted app.", |
| 239 | "ARC++ app." |
| 240 | ], |
| 241 | "location": "query", |
| 242 | "type": "string" |
| 243 | }, |
| 244 | "customer": { |
| 245 | "description": "Required. Customer id or \"my_customer\" to use the customer associated to the account making the request.", |
| 246 | "location": "path", |
| 247 | "pattern": "^customers/[^/]+$", |
| 248 | "required": true, |
| 249 | "type": "string" |
| 250 | }, |
| 251 | "filter": { |
| 252 | "description": "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", |
| 253 | "location": "query", |
| 254 | "type": "string" |
| 255 | }, |
| 256 | "orderBy": { |
| 257 | "description": "Field used to order results. Supported order by fields: * machine * device_id", |
| 258 | "location": "query", |
| 259 | "type": "string" |
| 260 | }, |
| 261 | "orgUnitId": { |
| 262 | "description": "The ID of the organizational unit.", |
| 263 | "location": "query", |
| 264 | "type": "string" |
| 265 | }, |
| 266 | "pageSize": { |
| 267 | "description": "Maximum number of results to return. Maximum and default are 100.", |
| 268 | "format": "int32", |
| 269 | "location": "query", |
| 270 | "type": "integer" |
| 271 | }, |
| 272 | "pageToken": { |
yoshi-code-bot | c2cd326 | 2021-05-16 02:16:04 -0700 | [diff] [blame] | 273 | "description": "Token to specify the page of the request to be returned.", |
Anthonios Partheniou | 10f4b67 | 2021-04-13 14:47:53 -0400 | [diff] [blame] | 274 | "location": "query", |
| 275 | "type": "string" |
| 276 | } |
| 277 | }, |
| 278 | "path": "v1/{+customer}/reports:findInstalledAppDevices", |
| 279 | "response": { |
| 280 | "$ref": "GoogleChromeManagementV1FindInstalledAppDevicesResponse" |
| 281 | }, |
| 282 | "scopes": [ |
| 283 | "https://www.googleapis.com/auth/chrome.management.reports.readonly" |
| 284 | ] |
| 285 | } |
| 286 | } |
| 287 | } |
| 288 | } |
| 289 | } |
| 290 | }, |
yoshi-code-bot | 26aa9e2 | 2021-06-10 00:24:06 -0700 | [diff] [blame^] | 291 | "revision": "20210608", |
Anthonios Partheniou | 10f4b67 | 2021-04-13 14:47:53 -0400 | [diff] [blame] | 292 | "rootUrl": "https://chromemanagement.googleapis.com/", |
| 293 | "schemas": { |
| 294 | "GoogleChromeManagementV1BrowserVersion": { |
| 295 | "description": "Describes a browser version and its install count.", |
| 296 | "id": "GoogleChromeManagementV1BrowserVersion", |
| 297 | "properties": { |
| 298 | "channel": { |
| 299 | "description": "Output only. The release channel of the installed browser.", |
| 300 | "enum": [ |
| 301 | "RELEASE_CHANNEL_UNSPECIFIED", |
| 302 | "CANARY", |
| 303 | "DEV", |
| 304 | "BETA", |
| 305 | "STABLE" |
| 306 | ], |
| 307 | "enumDescriptions": [ |
| 308 | "No release channel specified.", |
| 309 | "Canary release channel.", |
| 310 | "Dev release channel.", |
| 311 | "Beta release channel.", |
| 312 | "Stable release channel." |
| 313 | ], |
| 314 | "readOnly": true, |
| 315 | "type": "string" |
| 316 | }, |
| 317 | "count": { |
| 318 | "description": "Output only. Count grouped by device_system and major version", |
| 319 | "format": "int64", |
| 320 | "readOnly": true, |
| 321 | "type": "string" |
| 322 | }, |
| 323 | "deviceOsVersion": { |
| 324 | "description": "Output only. Version of the system-specified operating system.", |
| 325 | "readOnly": true, |
| 326 | "type": "string" |
| 327 | }, |
| 328 | "system": { |
| 329 | "description": "Output only. The device operating system.", |
| 330 | "enum": [ |
| 331 | "DEVICE_SYSTEM_UNSPECIFIED", |
| 332 | "SYSTEM_OTHER", |
| 333 | "SYSTEM_ANDROID", |
| 334 | "SYSTEM_IOS", |
| 335 | "SYSTEM_CROS", |
| 336 | "SYSTEM_WINDOWS", |
| 337 | "SYSTEM_MAC", |
| 338 | "SYSTEM_LINUX" |
| 339 | ], |
| 340 | "enumDescriptions": [ |
| 341 | "No operating system specified.", |
| 342 | "Other operating system.", |
| 343 | "Android operating system.", |
| 344 | "Apple iOS operating system.", |
| 345 | "Chrome OS operating system.", |
| 346 | "Microsoft Windows operating system.", |
| 347 | "Apple macOS operating system.", |
| 348 | "Linux operating system." |
| 349 | ], |
| 350 | "readOnly": true, |
| 351 | "type": "string" |
| 352 | }, |
| 353 | "version": { |
| 354 | "description": "Output only. The full version of the installed browser.", |
| 355 | "readOnly": true, |
| 356 | "type": "string" |
| 357 | } |
| 358 | }, |
| 359 | "type": "object" |
| 360 | }, |
| 361 | "GoogleChromeManagementV1CountChromeVersionsResponse": { |
| 362 | "description": "Response containing requested browser versions details and counts.", |
| 363 | "id": "GoogleChromeManagementV1CountChromeVersionsResponse", |
| 364 | "properties": { |
| 365 | "browserVersions": { |
| 366 | "description": "List of all browser versions and their install counts.", |
| 367 | "items": { |
| 368 | "$ref": "GoogleChromeManagementV1BrowserVersion" |
| 369 | }, |
| 370 | "type": "array" |
| 371 | }, |
| 372 | "nextPageToken": { |
yoshi-code-bot | c2cd326 | 2021-05-16 02:16:04 -0700 | [diff] [blame] | 373 | "description": "Token to specify the next page of the request.", |
Anthonios Partheniou | 10f4b67 | 2021-04-13 14:47:53 -0400 | [diff] [blame] | 374 | "type": "string" |
| 375 | }, |
| 376 | "totalSize": { |
| 377 | "description": "Total number browser versions matching request.", |
| 378 | "format": "int32", |
| 379 | "type": "integer" |
| 380 | } |
| 381 | }, |
| 382 | "type": "object" |
| 383 | }, |
| 384 | "GoogleChromeManagementV1CountInstalledAppsResponse": { |
| 385 | "description": "Response containing details of queried installed apps.", |
| 386 | "id": "GoogleChromeManagementV1CountInstalledAppsResponse", |
| 387 | "properties": { |
| 388 | "installedApps": { |
| 389 | "description": "List of installed apps matching request.", |
| 390 | "items": { |
| 391 | "$ref": "GoogleChromeManagementV1InstalledApp" |
| 392 | }, |
| 393 | "type": "array" |
| 394 | }, |
| 395 | "nextPageToken": { |
yoshi-code-bot | c2cd326 | 2021-05-16 02:16:04 -0700 | [diff] [blame] | 396 | "description": "Token to specify the next page of the request.", |
Anthonios Partheniou | 10f4b67 | 2021-04-13 14:47:53 -0400 | [diff] [blame] | 397 | "type": "string" |
| 398 | }, |
| 399 | "totalSize": { |
| 400 | "description": "Total number of installed apps matching request.", |
| 401 | "format": "int32", |
| 402 | "type": "integer" |
| 403 | } |
| 404 | }, |
| 405 | "type": "object" |
| 406 | }, |
| 407 | "GoogleChromeManagementV1Device": { |
| 408 | "description": "Describes a device reporting Chrome browser information.", |
| 409 | "id": "GoogleChromeManagementV1Device", |
| 410 | "properties": { |
| 411 | "deviceId": { |
| 412 | "description": "Output only. The ID of the device that reported this Chrome browser information.", |
| 413 | "readOnly": true, |
| 414 | "type": "string" |
| 415 | }, |
| 416 | "machine": { |
| 417 | "description": "Output only. The name of the machine within its local network.", |
| 418 | "readOnly": true, |
| 419 | "type": "string" |
| 420 | } |
| 421 | }, |
| 422 | "type": "object" |
| 423 | }, |
| 424 | "GoogleChromeManagementV1FindInstalledAppDevicesResponse": { |
| 425 | "description": "Response containing a list of devices with queried app installed.", |
| 426 | "id": "GoogleChromeManagementV1FindInstalledAppDevicesResponse", |
| 427 | "properties": { |
| 428 | "devices": { |
| 429 | "description": "A list of devices which have the app installed. Sorted in ascending alphabetical order on the Device.machine field.", |
| 430 | "items": { |
| 431 | "$ref": "GoogleChromeManagementV1Device" |
| 432 | }, |
| 433 | "type": "array" |
| 434 | }, |
| 435 | "nextPageToken": { |
yoshi-code-bot | c2cd326 | 2021-05-16 02:16:04 -0700 | [diff] [blame] | 436 | "description": "Token to specify the next page of the request.", |
Anthonios Partheniou | 10f4b67 | 2021-04-13 14:47:53 -0400 | [diff] [blame] | 437 | "type": "string" |
| 438 | }, |
| 439 | "totalSize": { |
| 440 | "description": "Total number of devices matching request.", |
| 441 | "format": "int32", |
| 442 | "type": "integer" |
| 443 | } |
| 444 | }, |
| 445 | "type": "object" |
| 446 | }, |
| 447 | "GoogleChromeManagementV1InstalledApp": { |
| 448 | "description": "Describes an installed app.", |
| 449 | "id": "GoogleChromeManagementV1InstalledApp", |
| 450 | "properties": { |
| 451 | "appId": { |
| 452 | "description": "Output only. 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).", |
| 453 | "readOnly": true, |
| 454 | "type": "string" |
| 455 | }, |
| 456 | "appInstallType": { |
| 457 | "description": "Output only. How the app was installed.", |
| 458 | "enum": [ |
| 459 | "APP_INSTALL_TYPE_UNSPECIFIED", |
| 460 | "MULTIPLE", |
| 461 | "NORMAL", |
| 462 | "ADMIN", |
| 463 | "DEVELOPMENT", |
| 464 | "SIDELOAD", |
| 465 | "OTHER" |
| 466 | ], |
| 467 | "enumDescriptions": [ |
| 468 | "Application install type not specified.", |
| 469 | "Multiple app install types.", |
| 470 | "Normal app install type.", |
| 471 | "Administrator app install type.", |
| 472 | "Development app install type.", |
| 473 | "Sideloaded app install type.", |
| 474 | "Other app install type." |
| 475 | ], |
| 476 | "readOnly": true, |
| 477 | "type": "string" |
| 478 | }, |
| 479 | "appSource": { |
| 480 | "description": "Output only. Source of the installed app.", |
| 481 | "enum": [ |
| 482 | "APP_SOURCE_UNSPECIFIED", |
| 483 | "CHROME_WEBSTORE", |
| 484 | "PLAY_STORE" |
| 485 | ], |
| 486 | "enumDescriptions": [ |
| 487 | "Application source not specified.", |
| 488 | "Generally for extensions and Chrome apps.", |
| 489 | "Play Store app." |
| 490 | ], |
| 491 | "readOnly": true, |
| 492 | "type": "string" |
| 493 | }, |
| 494 | "appType": { |
| 495 | "description": "Output only. Type of the app.", |
| 496 | "enum": [ |
| 497 | "APP_TYPE_UNSPECIFIED", |
| 498 | "EXTENSION", |
| 499 | "APP", |
| 500 | "THEME", |
| 501 | "HOSTED_APP", |
| 502 | "ANDROID_APP" |
| 503 | ], |
| 504 | "enumDescriptions": [ |
| 505 | "App type not specified.", |
| 506 | "Chrome extension.", |
| 507 | "Chrome app.", |
| 508 | "Chrome theme.", |
| 509 | "Chrome hosted app.", |
| 510 | "ARC++ app." |
| 511 | ], |
| 512 | "readOnly": true, |
| 513 | "type": "string" |
| 514 | }, |
| 515 | "browserDeviceCount": { |
| 516 | "description": "Output only. Count of browser devices with this app installed.", |
| 517 | "format": "int64", |
| 518 | "readOnly": true, |
| 519 | "type": "string" |
| 520 | }, |
| 521 | "description": { |
| 522 | "description": "Output only. Description of the installed app.", |
| 523 | "readOnly": true, |
| 524 | "type": "string" |
| 525 | }, |
| 526 | "disabled": { |
| 527 | "description": "Output only. Whether the app is disabled.", |
| 528 | "readOnly": true, |
| 529 | "type": "boolean" |
| 530 | }, |
| 531 | "displayName": { |
| 532 | "description": "Output only. Name of the installed app.", |
| 533 | "readOnly": true, |
| 534 | "type": "string" |
| 535 | }, |
| 536 | "homepageUri": { |
| 537 | "description": "Output only. Homepage uri of the installed app.", |
| 538 | "readOnly": true, |
| 539 | "type": "string" |
| 540 | }, |
| 541 | "osUserCount": { |
| 542 | "description": "Output only. Count of ChromeOS users with this app installed.", |
| 543 | "format": "int64", |
| 544 | "readOnly": true, |
| 545 | "type": "string" |
| 546 | }, |
| 547 | "permissions": { |
| 548 | "description": "Output only. Permissions of the installed app.", |
| 549 | "items": { |
| 550 | "type": "string" |
| 551 | }, |
| 552 | "readOnly": true, |
| 553 | "type": "array" |
| 554 | } |
| 555 | }, |
| 556 | "type": "object" |
| 557 | } |
| 558 | }, |
| 559 | "servicePath": "", |
| 560 | "title": "Chrome Management API", |
| 561 | "version": "v1", |
| 562 | "version_module": true |
| 563 | } |