Update the JSON schemas

The command executed was as follows:
rm -f .api.deps .cli.deps && FETCH_APIS=1 make update-json -j8
This commit is contained in:
Ivan Ukhov
2024-04-22 09:26:00 +02:00
parent fe6fdb1985
commit 74c049924f
333 changed files with 31683 additions and 1587 deletions

View File

@@ -703,7 +703,7 @@
"migrationTokens": {
"methods": {
"create": {
"description": "Creates a migration token, to migrate an existing device from being managed by the EMM's Device Policy Controller (DPC) to being managed by the Android Management API.",
"description": "Creates a migration token, to migrate an existing device from being managed by the EMM's Device Policy Controller (DPC) to being managed by the Android Management API. See the guide (https://developers.google.com/android/management/dpc-migration) for more details.",
"flatPath": "v1/enterprises/{enterprisesId}/migrationTokens",
"httpMethod": "POST",
"id": "androidmanagement.enterprises.migrationTokens.create",
@@ -712,7 +712,7 @@
],
"parameters": {
"parent": {
"description": "Required. The enterprise in which this migration token will be created. Format: enterprises/{enterprise}",
"description": "Required. The enterprise in which this migration token is created. This must be the same enterprise which already manages the device in the Play EMM API. Format: enterprises/{enterprise}",
"location": "path",
"pattern": "^enterprises/[^/]+$",
"required": true,
@@ -1163,7 +1163,7 @@
}
}
},
"revision": "20240221",
"revision": "20240416",
"rootUrl": "https://androidmanagement.googleapis.com/",
"schemas": {
"AdbShellCommandEvent": {
@@ -1654,7 +1654,7 @@
"Unspecified. Defaults to AUTO_UPDATE_DEFAULT.",
"The default update mode.The app is automatically updated with low priority to minimize the impact on the user.The app is updated when all of the following constraints are met: The device is not actively used. The device is connected to an unmetered network. The device is charging. The app to be updated is not running in the foreground.The device is notified about a new update within 24 hours after it is published by the developer, after which the app is updated the next time the constraints above are met.",
"The app is not automatically updated for a maximum of 90 days after the app becomes out of date.90 days after the app becomes out of date, the latest available version is installed automatically with low priority (see AUTO_UPDATE_DEFAULT). After the app is updated it is not automatically updated again until 90 days after it becomes out of date again.The user can still manually update the app from the Play Store at any time.",
"The app is updated as soon as possible. No constraints are applied.The device is notified immediately about a new update after it becomes available."
"The app is updated as soon as possible. No constraints are applied.The device is notified as soon as possible about a new update after it becomes available."
],
"type": "string"
},
@@ -2716,7 +2716,7 @@
"DISALLOW_USB_DATA_TRANSFER"
],
"enumDescriptions": [
"Unspecified. Defaults to ALLOW_USB_DATA_TRANSFER, unless usbFileTransferDisabled is set to true. If usbFileTransferDisabled is set to true, this is equivalent to DISALLOW_USB_FILE_TRANSFER.",
"Unspecified. Defaults to DISALLOW_USB_FILE_TRANSFER.",
"All types of USB data transfers are allowed. usbFileTransferDisabled is ignored.",
"Transferring files over USB is disallowed. Other types of USB data connections, such as mouse and keyboard connection, are allowed. usbFileTransferDisabled is ignored.",
"When set, all types of USB data transfers are prohibited. Supported for devices running Android 12 or above with USB HAL 1.3 or above. If the setting is not supported, DISALLOW_USB_FILE_TRANSFER will be set. A nonComplianceDetail with API_LEVEL is reported if the Android version is less than 12. A nonComplianceDetail with DEVICE_INCOMPATIBLE is reported if the device does not have USB HAL 1.3 or above. usbFileTransferDisabled is ignored."
@@ -2778,13 +2778,15 @@
"MINIMUM_WIFI_SECURITY_LEVEL_UNSPECIFIED",
"OPEN_NETWORK_SECURITY",
"PERSONAL_NETWORK_SECURITY",
"ENTERPRISE_NETWORK_SECURITY"
"ENTERPRISE_NETWORK_SECURITY",
"ENTERPRISE_BIT192_NETWORK_SECURITY"
],
"enumDescriptions": [
"Defaults to OPEN_NETWORK_SECURITY, which means the device will be able to connect to all types of Wi-Fi networks.",
"The device will be able to connect to all types of Wi-Fi networks.",
"A personal network such as WEP, WPA2-PSK is the minimum required security. The device will not be able to connect to open wifi networks. This is stricter than OPEN_NETWORK_SECURITY. A nonComplianceDetail with API_LEVEL is reported if the Android version is less than 13.",
"An enterprise EAP network is the minimum required security level. The device will not be able to connect to Wi-Fi network below this security level. This is stricter than PERSONAL_NETWORK_SECURITY. A nonComplianceDetail with API_LEVEL is reported if the Android version is less than 13."
"An enterprise EAP network is the minimum required security level. The device will not be able to connect to Wi-Fi network below this security level. This is stricter than PERSONAL_NETWORK_SECURITY. A nonComplianceDetail with API_LEVEL is reported if the Android version is less than 13.",
"A 192-bit enterprise network is the minimum required security level. The device will not be able to connect to Wi-Fi network below this security level. This is stricter than ENTERPRISE_NETWORK_SECURITY. A nonComplianceDetail with API_LEVEL is reported if the Android version is less than 13."
],
"type": "string"
},
@@ -3034,7 +3036,8 @@
},
"user": {
"$ref": "User",
"description": "The user associated with this enrollment token. If it's specified when the enrollment token is created and the user does not exist, the user will be created. This field must not contain personally identifiable information. Only the account_identifier field needs to be set."
"deprecated": true,
"description": "This field is deprecated and the value is ignored."
},
"value": {
"description": "The token value that's passed to the device and authorizes the device to enroll. This is a read-only field generated by the server.",
@@ -3126,7 +3129,7 @@
"type": "object"
},
"ExtensionConfig": {
"description": "Configuration to enable an app as an extension app, with the capability of interacting with Android Device Policy offline. For Android versions 13 and above, extension apps are exempt from battery restrictions so will not be placed into the restricted App Standby Bucket (https://developer.android.com/topic/performance/appstandby#restricted-bucket). Extensions apps are also protected against users clearing their data or force-closing the application, although admins can continue to use the clear app data command (https://developer.android.com/management/reference/rest/v1/enterprises.devices/issueCommand#CommandType) on extension apps if needed for Android 13 and above.",
"description": "Configuration to enable an app as an extension app, with the capability of interacting with Android Device Policy offline. For Android versions 13 and above, extension apps are exempt from battery restrictions so will not be placed into the restricted App Standby Bucket (https://developer.android.com/topic/performance/appstandby#restricted-bucket). Extensions apps are also protected against users clearing their data or force-closing the application, although admins can continue to use the clear app data command on extension apps if needed for Android 13 and above.",
"id": "ExtensionConfig",
"properties": {
"notificationReceiver": {
@@ -4012,7 +4015,7 @@
"type": "object"
},
"MigrationToken": {
"description": "A token to initiate the migration of a device from being managed by a third-party DPC to being managed by Android Management API. A migration token is valid only for a single device.",
"description": "A token to initiate the migration of a device from being managed by a third-party DPC to being managed by Android Management API. A migration token is valid only for a single device. See the guide (https://developers.google.com/android/management/dpc-migration) for more details.",
"id": "MigrationToken",
"properties": {
"additionalData": {
@@ -5448,6 +5451,10 @@
"description": "The name of the enterprise in the form enterprises/{enterprise}.",
"type": "string"
},
"imei": {
"description": "IMEI number of the GSM device. For example, A1000031212.",
"type": "string"
},
"managementMode": {
"description": "The management mode of the device or profile.",
"enum": [
@@ -5462,6 +5469,10 @@
],
"type": "string"
},
"meid": {
"description": "MEID number of the CDMA device. For example, A00000292788E1.",
"type": "string"
},
"model": {
"description": "The model of the device. For example, Asus Nexus 7.",
"type": "string"
@@ -5483,6 +5494,10 @@
"Device is personally-owned."
],
"type": "string"
},
"serialNumber": {
"description": "The device serial number.",
"type": "string"
}
},
"type": "object"
@@ -5722,7 +5737,7 @@
},
"lostPhoneNumber": {
"$ref": "UserFacingMessage",
"description": "The phone number displayed to the user when the device is in lost mode."
"description": "The phone number that will be called when the device is in lost mode and the call owner button is tapped."
},
"lostStreetAddress": {
"$ref": "UserFacingMessage",
@@ -6111,7 +6126,9 @@
"STOP_LOST_MODE_USER_ATTEMPT",
"LOST_MODE_OUTGOING_PHONE_CALL",
"LOST_MODE_LOCATION",
"ENROLLMENT_COMPLETE"
"ENROLLMENT_COMPLETE",
"MAX_DEVICES_REGISTRATION_QUOTA_WARNING",
"MAX_DEVICES_REGISTRATION_QUOTA_EXHAUSTED"
],
"enumDescriptions": [
"This value is not used",
@@ -6145,7 +6162,9 @@
"Indicates stopLostModeUserAttemptEvent has been set.",
"Indicates lostModeOutgoingPhoneCallEvent has been set.",
"Indicates lostModeLocationEvent has been set.",
"Indicates enrollment_complete_event has been set."
"Indicates enrollment_complete_event has been set.",
"Indicates max_devices_registration_quota_warning_event has been set.",
"Indicates max_devices_registration_quota_exhausted_event has been set."
],
"type": "string"
},