Skip to content

Commit 975ea48

Browse files
feat(androidmanagement): update the api
#### androidmanagement:v1 The following keys were added: - schemas.Policy.properties.cameraAccess.type (Total Keys: 1) - schemas.Policy.properties.microphoneAccess.type (Total Keys: 1)
1 parent fc05e4f commit 975ea48

File tree

3 files changed

+43
-3
lines changed

3 files changed

+43
-3
lines changed

docs/dyn/androidmanagement_v1.enterprises.applications.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -126,7 +126,7 @@ <h3>Method Details</h3>
126126
&quot;type&quot;: &quot;A String&quot;, # The type of the property.
127127
},
128128
],
129-
&quot;name&quot;: &quot;A String&quot;, # The name of the app in the form enterprises/{enterpriseId}/applications/{package_name}.
129+
&quot;name&quot;: &quot;A String&quot;, # The name of the app in the form enterprises/{enterprise}/applications/{package_name}.
130130
&quot;permissions&quot;: [ # The permissions required by the app.
131131
{ # A permission required by the app.
132132
&quot;description&quot;: &quot;A String&quot;, # A longer description of the permission, providing more detail on what it affects. Localized.

docs/dyn/androidmanagement_v1.enterprises.policies.html

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -198,6 +198,7 @@ <h3>Method Details</h3>
198198
&quot;bluetoothConfigDisabled&quot;: True or False, # Whether configuring bluetooth is disabled.
199199
&quot;bluetoothContactSharingDisabled&quot;: True or False, # Whether bluetooth contact sharing is disabled.
200200
&quot;bluetoothDisabled&quot;: True or False, # Whether bluetooth is disabled. Prefer this setting over bluetooth_config_disabled because bluetooth_config_disabled can be bypassed by the user.
201+
&quot;cameraAccess&quot;: &quot;A String&quot;, # Controls the use of the camera and whether the user has access to the camera access toggle.
201202
&quot;cameraDisabled&quot;: True or False, # Whether all cameras on the device are disabled.
202203
&quot;cellBroadcastsConfigDisabled&quot;: True or False, # Whether configuring cell broadcast is disabled.
203204
&quot;choosePrivateKeyRules&quot;: [ # Rules for determining apps&#x27; access to private keys. See ChoosePrivateKeyRule for details.
@@ -270,6 +271,7 @@ <h3>Method Details</h3>
270271
},
271272
},
272273
&quot;maximumTimeToLock&quot;: &quot;A String&quot;, # Maximum time in milliseconds for user activity until the device locks. A value of 0 means there is no restriction.
274+
&quot;microphoneAccess&quot;: &quot;A String&quot;, # Controls the use of the microphone and whether the user has access to the microphone access toggle. This applies only on fully managed devices.
273275
&quot;minimumApiLevel&quot;: 42, # The minimum allowed Android API level.
274276
&quot;mobileNetworksConfigDisabled&quot;: True or False, # Whether configuring mobile networks is disabled.
275277
&quot;modifyAccountsDisabled&quot;: True or False, # Whether adding or removing accounts is disabled.
@@ -564,6 +566,7 @@ <h3>Method Details</h3>
564566
&quot;bluetoothConfigDisabled&quot;: True or False, # Whether configuring bluetooth is disabled.
565567
&quot;bluetoothContactSharingDisabled&quot;: True or False, # Whether bluetooth contact sharing is disabled.
566568
&quot;bluetoothDisabled&quot;: True or False, # Whether bluetooth is disabled. Prefer this setting over bluetooth_config_disabled because bluetooth_config_disabled can be bypassed by the user.
569+
&quot;cameraAccess&quot;: &quot;A String&quot;, # Controls the use of the camera and whether the user has access to the camera access toggle.
567570
&quot;cameraDisabled&quot;: True or False, # Whether all cameras on the device are disabled.
568571
&quot;cellBroadcastsConfigDisabled&quot;: True or False, # Whether configuring cell broadcast is disabled.
569572
&quot;choosePrivateKeyRules&quot;: [ # Rules for determining apps&#x27; access to private keys. See ChoosePrivateKeyRule for details.
@@ -636,6 +639,7 @@ <h3>Method Details</h3>
636639
},
637640
},
638641
&quot;maximumTimeToLock&quot;: &quot;A String&quot;, # Maximum time in milliseconds for user activity until the device locks. A value of 0 means there is no restriction.
642+
&quot;microphoneAccess&quot;: &quot;A String&quot;, # Controls the use of the microphone and whether the user has access to the microphone access toggle. This applies only on fully managed devices.
639643
&quot;minimumApiLevel&quot;: 42, # The minimum allowed Android API level.
640644
&quot;mobileNetworksConfigDisabled&quot;: True or False, # Whether configuring mobile networks is disabled.
641645
&quot;modifyAccountsDisabled&quot;: True or False, # Whether adding or removing accounts is disabled.
@@ -936,6 +940,7 @@ <h3>Method Details</h3>
936940
&quot;bluetoothConfigDisabled&quot;: True or False, # Whether configuring bluetooth is disabled.
937941
&quot;bluetoothContactSharingDisabled&quot;: True or False, # Whether bluetooth contact sharing is disabled.
938942
&quot;bluetoothDisabled&quot;: True or False, # Whether bluetooth is disabled. Prefer this setting over bluetooth_config_disabled because bluetooth_config_disabled can be bypassed by the user.
943+
&quot;cameraAccess&quot;: &quot;A String&quot;, # Controls the use of the camera and whether the user has access to the camera access toggle.
939944
&quot;cameraDisabled&quot;: True or False, # Whether all cameras on the device are disabled.
940945
&quot;cellBroadcastsConfigDisabled&quot;: True or False, # Whether configuring cell broadcast is disabled.
941946
&quot;choosePrivateKeyRules&quot;: [ # Rules for determining apps&#x27; access to private keys. See ChoosePrivateKeyRule for details.
@@ -1008,6 +1013,7 @@ <h3>Method Details</h3>
10081013
},
10091014
},
10101015
&quot;maximumTimeToLock&quot;: &quot;A String&quot;, # Maximum time in milliseconds for user activity until the device locks. A value of 0 means there is no restriction.
1016+
&quot;microphoneAccess&quot;: &quot;A String&quot;, # Controls the use of the microphone and whether the user has access to the microphone access toggle. This applies only on fully managed devices.
10111017
&quot;minimumApiLevel&quot;: 42, # The minimum allowed Android API level.
10121018
&quot;mobileNetworksConfigDisabled&quot;: True or False, # Whether configuring mobile networks is disabled.
10131019
&quot;modifyAccountsDisabled&quot;: True or False, # Whether adding or removing accounts is disabled.
@@ -1291,6 +1297,7 @@ <h3>Method Details</h3>
12911297
&quot;bluetoothConfigDisabled&quot;: True or False, # Whether configuring bluetooth is disabled.
12921298
&quot;bluetoothContactSharingDisabled&quot;: True or False, # Whether bluetooth contact sharing is disabled.
12931299
&quot;bluetoothDisabled&quot;: True or False, # Whether bluetooth is disabled. Prefer this setting over bluetooth_config_disabled because bluetooth_config_disabled can be bypassed by the user.
1300+
&quot;cameraAccess&quot;: &quot;A String&quot;, # Controls the use of the camera and whether the user has access to the camera access toggle.
12941301
&quot;cameraDisabled&quot;: True or False, # Whether all cameras on the device are disabled.
12951302
&quot;cellBroadcastsConfigDisabled&quot;: True or False, # Whether configuring cell broadcast is disabled.
12961303
&quot;choosePrivateKeyRules&quot;: [ # Rules for determining apps&#x27; access to private keys. See ChoosePrivateKeyRule for details.
@@ -1363,6 +1370,7 @@ <h3>Method Details</h3>
13631370
},
13641371
},
13651372
&quot;maximumTimeToLock&quot;: &quot;A String&quot;, # Maximum time in milliseconds for user activity until the device locks. A value of 0 means there is no restriction.
1373+
&quot;microphoneAccess&quot;: &quot;A String&quot;, # Controls the use of the microphone and whether the user has access to the microphone access toggle. This applies only on fully managed devices.
13661374
&quot;minimumApiLevel&quot;: 42, # The minimum allowed Android API level.
13671375
&quot;mobileNetworksConfigDisabled&quot;: True or False, # Whether configuring mobile networks is disabled.
13681376
&quot;modifyAccountsDisabled&quot;: True or False, # Whether adding or removing accounts is disabled.

googleapiclient/discovery_cache/documents/androidmanagement.v1.json

Lines changed: 34 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1004,7 +1004,7 @@
10041004
}
10051005
}
10061006
},
1007-
"revision": "20211129",
1007+
"revision": "20220104",
10081008
"rootUrl": "https://androidmanagement.googleapis.com/",
10091009
"schemas": {
10101010
"AdvancedSecurityOverrides": {
@@ -1140,7 +1140,7 @@
11401140
"type": "array"
11411141
},
11421142
"name": {
1143-
"description": "The name of the app in the form enterprises/{enterpriseId}/applications/{package_name}.",
1143+
"description": "The name of the app in the form enterprises/{enterprise}/applications/{package_name}.",
11441144
"type": "string"
11451145
},
11461146
"permissions": {
@@ -3392,6 +3392,22 @@
33923392
"description": "Whether bluetooth is disabled. Prefer this setting over bluetooth_config_disabled because bluetooth_config_disabled can be bypassed by the user.",
33933393
"type": "boolean"
33943394
},
3395+
"cameraAccess": {
3396+
"description": "Controls the use of the camera and whether the user has access to the camera access toggle.",
3397+
"enum": [
3398+
"CAMERA_ACCESS_UNSPECIFIED",
3399+
"CAMERA_ACCESS_USER_CHOICE",
3400+
"CAMERA_ACCESS_DISABLED",
3401+
"CAMERA_ACCESS_ENFORCED"
3402+
],
3403+
"enumDescriptions": [
3404+
"If camera_disabled is true, this is equivalent to CAMERA_ACCESS_DISABLED. Otherwise, this is equivalent to CAMERA_ACCESS_USER_CHOICE.",
3405+
"The field camera_disabled(google.android.devicemanagement.v1.Policy.camera_disabled] is ignored. This is the default device behaviour: all cameras on the device are available. On Android 12 and above, the user can use the camera access toggle.",
3406+
"The field camera_disabled(google.android.devicemanagement.v1.Policy.camera_disabled] is ignored. All cameras on the device are disabled (for fully managed devices, this applies device-wide and for work profiles this applies only to the work profile).There are no explicit restrictions placed on the camera access toggle on Android 12 and above: on fully managed devices, the camera access toggle has no effect as all cameras are disabled. On devices with a work profile, this toggle has no effect on apps in the work profile, but it affects apps outside the work profile.",
3407+
"The field camera_disabled(google.android.devicemanagement.v1.Policy.camera_disabled] is ignored. All cameras on the device are available. On fully managed devices running Android 12 and above, the user is unable to use the camera access toggle. On devices which are not fully managed or which run Android 11 or below, this is equivalent to CAMERA_ACCESS_USER_CHOICE."
3408+
],
3409+
"type": "string"
3410+
},
33953411
"cameraDisabled": {
33963412
"description": "Whether all cameras on the device are disabled.",
33973413
"type": "boolean"
@@ -3573,6 +3589,22 @@
35733589
"format": "int64",
35743590
"type": "string"
35753591
},
3592+
"microphoneAccess": {
3593+
"description": "Controls the use of the microphone and whether the user has access to the microphone access toggle. This applies only on fully managed devices.",
3594+
"enum": [
3595+
"MICROPHONE_ACCESS_UNSPECIFIED",
3596+
"MICROPHONE_ACCESS_USER_CHOICE",
3597+
"MICROPHONE_ACCESS_DISABLED",
3598+
"MICROPHONE_ACCESS_ENFORCED"
3599+
],
3600+
"enumDescriptions": [
3601+
"If unmute_microphone_disabled is true, this is equivalent to MICROPHONE_ACCESS_DISABLED. Otherwise, this is equivalent to MICROPHONE_ACCESS_USER_CHOICE.",
3602+
"The field unmute_microphone_disabled(google.android.devicemanagement.v1.Policy.unmute_microphone_disabled] is ignored. This is the default device behaviour: the microphone on the device is available. On Android 12 and above, the user can use the microphone access toggle.",
3603+
"The field unmute_microphone_disabled(google.android.devicemanagement.v1.Policy.unmute_microphone_disabled] is ignored. The microphone on the device is disabled (for fully managed devices, this applies device-wide).The microphone access toggle has no effect as the microphone is disabled.",
3604+
"The field unmute_microphone_disabled(google.android.devicemanagement.v1.Policy.unmute_microphone_disabled] is ignored. The microphone on the device is available. On devices running Android 12 and above, the user is unable to use the microphone access toggle. On devices which run Android 11 or below, this is equivalent to MICROPHONE_ACCESS_USER_CHOICE."
3605+
],
3606+
"type": "string"
3607+
},
35763608
"minimumApiLevel": {
35773609
"description": "The minimum allowed Android API level.",
35783610
"format": "int32",

0 commit comments

Comments
 (0)