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/ApplicationPolicy.java
+18-3Lines changed: 18 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -105,7 +105,12 @@ public final class ApplicationPolicy extends com.google.api.client.json.GenericJ
105
105
106
106
/**
107
107
* Configuration to enable this app as an extension app, with the capability of interacting with
108
-
* Android Device Policy offline.This field can be set for at most one app.
108
+
* Android Device Policy offline.This field can be set for at most one app.The signing key
109
+
* certificate fingerprint of the app on the device must match one of the entries in
110
+
* ApplicationPolicy.signingKeyCerts or the signing key certificate fingerprints obtained from
111
+
* Play Store for the app to be able to communicate with Android Device Policy. If the app is not
112
+
* on Play Store and ApplicationPolicy.signingKeyCerts is not set, a NonComplianceDetail with
113
+
* INVALID_VALUE is reported.
109
114
* The value may be {@code null}.
110
115
*/
111
116
@com.google.api.client.util.Key
@@ -385,7 +390,12 @@ public ApplicationPolicy setDisabled(java.lang.Boolean disabled) {
385
390
386
391
/**
387
392
* Configuration to enable this app as an extension app, with the capability of interacting with
388
-
* Android Device Policy offline.This field can be set for at most one app.
393
+
* Android Device Policy offline.This field can be set for at most one app.The signing key
394
+
* certificate fingerprint of the app on the device must match one of the entries in
395
+
* ApplicationPolicy.signingKeyCerts or the signing key certificate fingerprints obtained from
396
+
* Play Store for the app to be able to communicate with Android Device Policy. If the app is not
397
+
* on Play Store and ApplicationPolicy.signingKeyCerts is not set, a NonComplianceDetail with
398
+
* INVALID_VALUE is reported.
389
399
* @return value or {@code null} for none
390
400
*/
391
401
publicExtensionConfiggetExtensionConfig() {
@@ -394,7 +404,12 @@ public ExtensionConfig getExtensionConfig() {
394
404
395
405
/**
396
406
* Configuration to enable this app as an extension app, with the capability of interacting with
397
-
* Android Device Policy offline.This field can be set for at most one app.
407
+
* Android Device Policy offline.This field can be set for at most one app.The signing key
408
+
* certificate fingerprint of the app on the device must match one of the entries in
409
+
* ApplicationPolicy.signingKeyCerts or the signing key certificate fingerprints obtained from
410
+
* Play Store for the app to be able to communicate with Android Device Policy. If the app is not
411
+
* on Play Store and ApplicationPolicy.signingKeyCerts is not set, a NonComplianceDetail with
412
+
* INVALID_VALUE is reported.
398
413
* @param extensionConfig extensionConfig 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/ExtensionConfig.java
+27-21Lines changed: 27 additions & 21 deletions
Original file line number
Diff line number
Diff line change
@@ -45,13 +45,15 @@ public final class ExtensionConfig extends com.google.api.client.json.GenericJso
45
45
privatejava.lang.StringnotificationReceiver;
46
46
47
47
/**
48
-
* Hex-encoded SHA-256 hash of the signing certificate of the extension app. Only hexadecimal
49
-
* string representations of 64 characters are valid.If not specified, the signature for the
50
-
* corresponding package name is obtained from the Play Store instead.If this list is empty, the
51
-
* signature of the extension app on the device must match the signature obtained from the Play
52
-
* Store for the app to be able to communicate with Android Device Policy.If this list is not
53
-
* empty, the signature of the extension app on the device must match one of the entries in this
54
-
* list for the app to be able to communicate with Android Device Policy.In production use cases,
48
+
* Hex-encoded SHA-256 hashes of the signing key certificates of the extension app. Only
49
+
* hexadecimal string representations of 64 characters are valid.The signing key certificate
50
+
* fingerprints are always obtained from the Play Store and this field is used to provide
51
+
* additional signing key certificate fingerprints. However, if the application is not available
52
+
* on the Play Store, this field needs to be set. A NonComplianceDetail with INVALID_VALUE is
53
+
* reported if this field is not set when the application is not available on the Play Store.The
54
+
* signing key certificate fingerprint of the extension app on the device must match one of the
55
+
* signing key certificate fingerprints obtained from the Play Store or the ones provided in this
56
+
* field for the app to be able to communicate with Android Device Policy.In production use cases,
55
57
* it is recommended to leave this empty.
56
58
* The value may be {@code null}.
57
59
*/
@@ -78,13 +80,15 @@ public ExtensionConfig setNotificationReceiver(java.lang.String notificationRece
78
80
}
79
81
80
82
/**
81
-
* Hex-encoded SHA-256 hash of the signing certificate of the extension app. Only hexadecimal
82
-
* string representations of 64 characters are valid.If not specified, the signature for the
83
-
* corresponding package name is obtained from the Play Store instead.If this list is empty, the
84
-
* signature of the extension app on the device must match the signature obtained from the Play
85
-
* Store for the app to be able to communicate with Android Device Policy.If this list is not
86
-
* empty, the signature of the extension app on the device must match one of the entries in this
87
-
* list for the app to be able to communicate with Android Device Policy.In production use cases,
83
+
* Hex-encoded SHA-256 hashes of the signing key certificates of the extension app. Only
84
+
* hexadecimal string representations of 64 characters are valid.The signing key certificate
85
+
* fingerprints are always obtained from the Play Store and this field is used to provide
86
+
* additional signing key certificate fingerprints. However, if the application is not available
87
+
* on the Play Store, this field needs to be set. A NonComplianceDetail with INVALID_VALUE is
88
+
* reported if this field is not set when the application is not available on the Play Store.The
89
+
* signing key certificate fingerprint of the extension app on the device must match one of the
90
+
* signing key certificate fingerprints obtained from the Play Store or the ones provided in this
91
+
* field for the app to be able to communicate with Android Device Policy.In production use cases,
88
92
* it is recommended to leave this empty.
89
93
* @return value or {@code null} for none
90
94
*/
@@ -93,13 +97,15 @@ public java.util.List<java.lang.String> getSigningKeyFingerprintsSha256() {
93
97
}
94
98
95
99
/**
96
-
* Hex-encoded SHA-256 hash of the signing certificate of the extension app. Only hexadecimal
97
-
* string representations of 64 characters are valid.If not specified, the signature for the
98
-
* corresponding package name is obtained from the Play Store instead.If this list is empty, the
99
-
* signature of the extension app on the device must match the signature obtained from the Play
100
-
* Store for the app to be able to communicate with Android Device Policy.If this list is not
101
-
* empty, the signature of the extension app on the device must match one of the entries in this
102
-
* list for the app to be able to communicate with Android Device Policy.In production use cases,
100
+
* Hex-encoded SHA-256 hashes of the signing key certificates of the extension app. Only
101
+
* hexadecimal string representations of 64 characters are valid.The signing key certificate
102
+
* fingerprints are always obtained from the Play Store and this field is used to provide
103
+
* additional signing key certificate fingerprints. However, if the application is not available
104
+
* on the Play Store, this field needs to be set. A NonComplianceDetail with INVALID_VALUE is
105
+
* reported if this field is not set when the application is not available on the Play Store.The
106
+
* signing key certificate fingerprint of the extension app on the device must match one of the
107
+
* signing key certificate fingerprints obtained from the Play Store or the ones provided in this
108
+
* field for the app to be able to communicate with Android Device Policy.In production use cases,
103
109
* it is recommended to leave this empty.
104
110
* @param signingKeyFingerprintsSha256 signingKeyFingerprintsSha256 or {@code null} for none
0 commit comments