You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: clients/google-api-services-androidmanagement/v1/2.0.0/com/google/api/services/androidmanagement/v1/model/AdvancedSecurityOverrides.java
+3-3Lines changed: 3 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -56,7 +56,7 @@ public final class AdvancedSecurityOverrides extends com.google.api.client.json.
56
56
* Controls access to developer settings: developer options and safe boot. Replaces
57
57
* safeBootDisabled (deprecated) and debuggingFeaturesAllowed (deprecated). On personally-owned
58
58
* devices with a work profile, setting this policy will not disable safe boot. In this case, a
59
-
* NonComplianceDetail with ADMIN_TYPE is reported.
59
+
* NonComplianceDetail with MANAGEMENT_MODE is reported.
60
60
* The value may be {@code null}.
61
61
*/
62
62
@com.google.api.client.util.Key
@@ -151,7 +151,7 @@ public AdvancedSecurityOverrides setContentProtectionPolicy(java.lang.String con
151
151
* Controls access to developer settings: developer options and safe boot. Replaces
152
152
* safeBootDisabled (deprecated) and debuggingFeaturesAllowed (deprecated). On personally-owned
153
153
* devices with a work profile, setting this policy will not disable safe boot. In this case, a
154
-
* NonComplianceDetail with ADMIN_TYPE is reported.
154
+
* NonComplianceDetail with MANAGEMENT_MODE is reported.
155
155
* @return value or {@code null} for none
156
156
*/
157
157
publicjava.lang.StringgetDeveloperSettings() {
@@ -162,7 +162,7 @@ public java.lang.String getDeveloperSettings() {
162
162
* Controls access to developer settings: developer options and safe boot. Replaces
163
163
* safeBootDisabled (deprecated) and debuggingFeaturesAllowed (deprecated). On personally-owned
164
164
* devices with a work profile, setting this policy will not disable safe boot. In this case, a
165
-
* NonComplianceDetail with ADMIN_TYPE is reported.
165
+
* NonComplianceDetail with MANAGEMENT_MODE is reported.
166
166
* @param developerSettings developerSettings or {@code null} for none
Copy file name to clipboardExpand all lines: clients/google-api-services-androidmanagement/v1/2.0.0/com/google/api/services/androidmanagement/v1/model/ApplicationPolicy.java
+90-12Lines changed: 90 additions & 12 deletions
Original file line number
Diff line number
Diff line change
@@ -79,6 +79,14 @@ public final class ApplicationPolicy extends com.google.api.client.json.GenericJ
79
79
@com.google.api.client.util.Key
80
80
privatejava.lang.StringcredentialProviderPolicy;
81
81
82
+
/**
83
+
* Optional. Configuration for this custom app.install_type must be set to CUSTOM for this to be
84
+
* set.
85
+
* The value may be {@code null}.
86
+
*/
87
+
@com.google.api.client.util.Key
88
+
privateCustomAppConfigcustomAppConfig;
89
+
82
90
/**
83
91
* The default policy for all permissions requested by the app. If specified, this overrides the
84
92
* policy-level default_permission_policy which applies to all apps. It does not override the
@@ -107,10 +115,11 @@ public final class ApplicationPolicy extends com.google.api.client.json.GenericJ
107
115
* Configuration to enable this app as an extension app, with the capability of interacting with
108
116
* Android Device Policy offline.This field can be set for at most one app.The signing key
109
117
* certificate fingerprint of the app on the device must match one of the entries in
110
-
* signingKeyFingerprintsSha256 or the signing key certificate fingerprints obtained from Play
111
-
* Store for the app to be able to communicate with Android Device Policy. If the app is not on
112
-
* Play Store and signingKeyFingerprintsSha256 is not set, a NonComplianceDetail with
113
-
* INVALID_VALUE is reported.
118
+
* ApplicationPolicy.signingKeyCerts or ExtensionConfig.signingKeyFingerprintsSha256 (deprecated)
119
+
* or the signing key certificate fingerprints obtained from Play Store for the app to be able to
120
+
* communicate with Android Device Policy. If the app is not on Play Store and if
121
+
* ApplicationPolicy.signingKeyCerts and ExtensionConfig.signingKeyFingerprintsSha256 (deprecated)
122
+
* are not set, a NonComplianceDetail with INVALID_VALUE is reported.
114
123
* The value may be {@code null}.
115
124
*/
116
125
@com.google.api.client.util.Key
@@ -206,6 +215,21 @@ public final class ApplicationPolicy extends com.google.api.client.json.GenericJ
206
215
@com.google.api.client.util.Key
207
216
privatejava.lang.StringpreferentialNetworkId;
208
217
218
+
/**
219
+
* Optional. Signing key certificates of the app.This field is required in the following cases:
220
+
* The app has installType set to CUSTOM (i.e. a custom app). The app has extensionConfig set
221
+
* (i.e. an extension app) but ExtensionConfig.signingKeyFingerprintsSha256 (deprecated) is not
222
+
* set and the app does not exist on the Play Store.If this field is not set for a custom app, the
223
+
* policy is rejected. If it is not set when required for a non-custom app, a NonComplianceDetail
224
+
* with INVALID_VALUE is reported.For other cases, this field is optional and the signing key
225
+
* certificates obtained from Play Store are used.See following policy settings to see how this
226
+
* field is used: choosePrivateKeyRules ApplicationPolicy.InstallType.CUSTOM
0 commit comments