@maxim_mazurok/gapi.client.androidmanagement-v1 0.2.20260317 → 0.3.20260318
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/index.d.ts +1011 -260
- package/package.json +1 -1
package/index.d.ts
CHANGED
|
@@ -9,7 +9,7 @@
|
|
|
9
9
|
// This file was generated by https://github.com/Maxim-Mazurok/google-api-typings-generator. Please do not edit it manually.
|
|
10
10
|
// In case of any problems please post issue to https://github.com/Maxim-Mazurok/google-api-typings-generator
|
|
11
11
|
// Generated from: https://androidmanagement.googleapis.com/$discovery/rest?version=v1
|
|
12
|
-
// Revision:
|
|
12
|
+
// Revision: 20260318
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -37,23 +37,47 @@ declare namespace gapi.client {
|
|
|
37
37
|
/** Required. The activation code for the eSIM profile. */
|
|
38
38
|
activationCode?: string;
|
|
39
39
|
/** Required. The activation state of the eSIM profile once it is downloaded. */
|
|
40
|
-
activationState?:
|
|
40
|
+
activationState?:
|
|
41
|
+
| 'ACTIVATION_STATE_UNSPECIFIED'
|
|
42
|
+
| 'ACTIVATED'
|
|
43
|
+
| 'NOT_ACTIVATED';
|
|
41
44
|
}
|
|
42
45
|
interface AdvancedSecurityOverrides {
|
|
43
46
|
/** Controls Common Criteria Mode—security standards defined in the Common Criteria for Information Technology Security Evaluation (https://www.commoncriteriaportal.org/) (CC). Enabling Common Criteria Mode increases certain security components on a device, see CommonCriteriaMode for details.Warning: Common Criteria Mode enforces a strict security model typically only required for IT products used in national security systems and other highly sensitive organizations. Standard device use may be affected. Only enabled if required. If Common Criteria Mode is turned off after being enabled previously, all user-configured Wi-Fi networks may be lost and any enterprise-configured Wi-Fi networks that require user input may need to be reconfigured. */
|
|
44
|
-
commonCriteriaMode?:
|
|
47
|
+
commonCriteriaMode?:
|
|
48
|
+
| 'COMMON_CRITERIA_MODE_UNSPECIFIED'
|
|
49
|
+
| 'COMMON_CRITERIA_MODE_DISABLED'
|
|
50
|
+
| 'COMMON_CRITERIA_MODE_ENABLED';
|
|
45
51
|
/** Optional. Controls whether content protection, which scans for deceptive apps, is enabled. This is supported on Android 15 and above. */
|
|
46
|
-
contentProtectionPolicy?:
|
|
52
|
+
contentProtectionPolicy?:
|
|
53
|
+
| 'CONTENT_PROTECTION_POLICY_UNSPECIFIED'
|
|
54
|
+
| 'CONTENT_PROTECTION_DISABLED'
|
|
55
|
+
| 'CONTENT_PROTECTION_ENFORCED'
|
|
56
|
+
| 'CONTENT_PROTECTION_USER_CHOICE';
|
|
47
57
|
/** Controls access to developer settings: developer options and safe boot. Replaces safeBootDisabled (deprecated) and debuggingFeaturesAllowed (deprecated). On personally-owned devices with a work profile, setting this policy will not disable safe boot. In this case, a NonComplianceDetail with MANAGEMENT_MODE is reported. */
|
|
48
|
-
developerSettings?:
|
|
58
|
+
developerSettings?:
|
|
59
|
+
| 'DEVELOPER_SETTINGS_UNSPECIFIED'
|
|
60
|
+
| 'DEVELOPER_SETTINGS_DISABLED'
|
|
61
|
+
| 'DEVELOPER_SETTINGS_ALLOWED';
|
|
49
62
|
/** Whether Google Play Protect verification (https://support.google.com/accounts/answer/2812853) is enforced. Replaces ensureVerifyAppsEnabled (deprecated). */
|
|
50
|
-
googlePlayProtectVerifyApps?:
|
|
63
|
+
googlePlayProtectVerifyApps?:
|
|
64
|
+
| 'GOOGLE_PLAY_PROTECT_VERIFY_APPS_UNSPECIFIED'
|
|
65
|
+
| 'VERIFY_APPS_ENFORCED'
|
|
66
|
+
| 'VERIFY_APPS_USER_CHOICE';
|
|
51
67
|
/** Optional. Controls Memory Tagging Extension (MTE) (https://source.android.com/docs/security/test/memory-safety/arm-mte) on the device. The device needs to be rebooted to apply changes to the MTE policy. On Android 15 and above, a NonComplianceDetail with PENDING is reported if the policy change is pending a device reboot. */
|
|
52
|
-
mtePolicy?:
|
|
68
|
+
mtePolicy?:
|
|
69
|
+
| 'MTE_POLICY_UNSPECIFIED'
|
|
70
|
+
| 'MTE_USER_CHOICE'
|
|
71
|
+
| 'MTE_ENFORCED'
|
|
72
|
+
| 'MTE_DISABLED';
|
|
53
73
|
/** Personal apps that can read work profile notifications using a NotificationListenerService (https://developer.android.com/reference/android/service/notification/NotificationListenerService). By default, no personal apps (aside from system apps) can read work notifications. Each value in the list must be a package name. */
|
|
54
74
|
personalAppsThatCanReadWorkNotifications?: string[];
|
|
55
75
|
/** The policy for untrusted apps (apps from unknown sources) enforced on the device. Replaces install_unknown_sources_allowed (deprecated). */
|
|
56
|
-
untrustedAppsPolicy?:
|
|
76
|
+
untrustedAppsPolicy?:
|
|
77
|
+
| 'UNTRUSTED_APPS_POLICY_UNSPECIFIED'
|
|
78
|
+
| 'DISALLOW_INSTALL'
|
|
79
|
+
| 'ALLOW_INSTALL_IN_PERSONAL_PROFILE_ONLY'
|
|
80
|
+
| 'ALLOW_INSTALL_DEVICE_WIDE';
|
|
57
81
|
}
|
|
58
82
|
interface AlwaysOnVpnPackage {
|
|
59
83
|
/** Disallows networking when the VPN is not connected. */
|
|
@@ -69,17 +93,45 @@ declare namespace gapi.client {
|
|
|
69
93
|
/** Optional. APN settings for override APNs. There must not be any conflict between any of APN settings provided, otherwise the policy will be rejected. Two ApnSettings are considered to conflict when all of the following fields match on both: numericOperatorId, apn, proxyAddress, proxyPort, mmsProxyAddress, mmsProxyPort, mmsc, mvnoType, protocol, roamingProtocol. If some of the APN settings result in non-compliance of INVALID_VALUE , they will be ignored. This can be set on fully managed devices on Android 10 and above. This can also be set on work profiles on Android 13 and above and only with ApnSetting's with ENTERPRISE APN type. A NonComplianceDetail with API_LEVEL is reported if the Android version is less than 10. A NonComplianceDetail with MANAGEMENT_MODE is reported for work profiles on Android versions less than 13. */
|
|
70
94
|
apnSettings?: ApnSetting[];
|
|
71
95
|
/** Optional. Whether override APNs are disabled or enabled. See DevicePolicyManager.setOverrideApnsEnabled (https://developer.android.com/reference/android/app/admin/DevicePolicyManager#setOverrideApnsEnabled) for more details. */
|
|
72
|
-
overrideApns?:
|
|
96
|
+
overrideApns?:
|
|
97
|
+
| 'OVERRIDE_APNS_UNSPECIFIED'
|
|
98
|
+
| 'OVERRIDE_APNS_DISABLED'
|
|
99
|
+
| 'OVERRIDE_APNS_ENABLED';
|
|
73
100
|
}
|
|
74
101
|
interface ApnSetting {
|
|
75
102
|
/** Optional. Whether User Plane resources have to be activated during every transition from CM-IDLE mode to CM-CONNECTED state for this APN. See 3GPP TS 23.501 section 5.6.13. */
|
|
76
|
-
alwaysOnSetting?:
|
|
103
|
+
alwaysOnSetting?:
|
|
104
|
+
| 'ALWAYS_ON_SETTING_UNSPECIFIED'
|
|
105
|
+
| 'NOT_ALWAYS_ON'
|
|
106
|
+
| 'ALWAYS_ON';
|
|
77
107
|
/** Required. Name of the APN. Policy will be rejected if this field is empty. */
|
|
78
108
|
apn?: string;
|
|
79
109
|
/** Required. Usage categories for the APN. Policy will be rejected if this field is empty or contains APN_TYPE_UNSPECIFIED or duplicates. Multiple APN types can be set on fully managed devices. ENTERPRISE is the only allowed APN type on work profiles. A NonComplianceDetail with MANAGEMENT_MODE is reported for any other value on work profiles. APN types that are not supported on the device or management mode will be ignored. If this results in the empty list, the APN setting will be ignored, because apnTypes is a required field. A NonComplianceDetail with INVALID_VALUE is reported if none of the APN types are supported on the device or management mode. */
|
|
80
|
-
apnTypes?:
|
|
110
|
+
apnTypes?:
|
|
111
|
+
| 'APN_TYPE_UNSPECIFIED'
|
|
112
|
+
| 'ENTERPRISE'
|
|
113
|
+
| 'BIP'
|
|
114
|
+
| 'CBS'
|
|
115
|
+
| 'DEFAULT'
|
|
116
|
+
| 'DUN'
|
|
117
|
+
| 'EMERGENCY'
|
|
118
|
+
| 'FOTA'
|
|
119
|
+
| 'HIPRI'
|
|
120
|
+
| 'IA'
|
|
121
|
+
| 'IMS'
|
|
122
|
+
| 'MCX'
|
|
123
|
+
| 'MMS'
|
|
124
|
+
| 'RCS'
|
|
125
|
+
| 'SUPL'
|
|
126
|
+
| 'VSIM'
|
|
127
|
+
| 'XCAP'[];
|
|
81
128
|
/** Optional. Authentication type of the APN. */
|
|
82
|
-
authType?:
|
|
129
|
+
authType?:
|
|
130
|
+
| 'AUTH_TYPE_UNSPECIFIED'
|
|
131
|
+
| 'NONE'
|
|
132
|
+
| 'PAP'
|
|
133
|
+
| 'CHAP'
|
|
134
|
+
| 'PAP_OR_CHAP';
|
|
83
135
|
/** Optional. Carrier ID for the APN. A value of 0 (default) means not set and negative values are rejected. */
|
|
84
136
|
carrierId?: number;
|
|
85
137
|
/** Required. Human-readable name that describes the APN. Policy will be rejected if this field is empty. */
|
|
@@ -95,27 +147,58 @@ declare namespace gapi.client {
|
|
|
95
147
|
/** Optional. The MTU (Maximum Transmission Unit) size of the IPv6 mobile interface to which the APN connected. A value of 0 (default) means not set and negative values are rejected. Supported on Android 13 and above. A NonComplianceDetail with API_LEVEL is reported if the Android version is less than 13. */
|
|
96
148
|
mtuV6?: number;
|
|
97
149
|
/** Optional. MVNO match type for the APN. */
|
|
98
|
-
mvnoType?:
|
|
150
|
+
mvnoType?: 'MVNO_TYPE_UNSPECIFIED' | 'GID' | 'ICCID' | 'IMSI' | 'SPN';
|
|
99
151
|
/** Optional. Radio technologies (network types) the APN may use. Policy will be rejected if this field contains NETWORK_TYPE_UNSPECIFIED or duplicates. */
|
|
100
|
-
networkTypes?:
|
|
152
|
+
networkTypes?:
|
|
153
|
+
| 'NETWORK_TYPE_UNSPECIFIED'
|
|
154
|
+
| 'EDGE'
|
|
155
|
+
| 'GPRS'
|
|
156
|
+
| 'GSM'
|
|
157
|
+
| 'HSDPA'
|
|
158
|
+
| 'HSPA'
|
|
159
|
+
| 'HSPAP'
|
|
160
|
+
| 'HSUPA'
|
|
161
|
+
| 'IWLAN'
|
|
162
|
+
| 'LTE'
|
|
163
|
+
| 'NR'
|
|
164
|
+
| 'TD_SCDMA'
|
|
165
|
+
| 'UMTS'[];
|
|
101
166
|
/** Optional. The numeric operator ID of the APN. Numeric operator ID is defined as MCC (Mobile Country Code) + MNC (Mobile Network Code). */
|
|
102
167
|
numericOperatorId?: string;
|
|
103
168
|
/** Optional. APN password of the APN. */
|
|
104
169
|
password?: string;
|
|
105
170
|
/** Optional. The protocol to use to connect to this APN. */
|
|
106
|
-
protocol?:
|
|
171
|
+
protocol?:
|
|
172
|
+
| 'PROTOCOL_UNSPECIFIED'
|
|
173
|
+
| 'IP'
|
|
174
|
+
| 'IPV4V6'
|
|
175
|
+
| 'IPV6'
|
|
176
|
+
| 'NON_IP'
|
|
177
|
+
| 'PPP'
|
|
178
|
+
| 'UNSTRUCTURED';
|
|
107
179
|
/** Optional. The proxy address of the APN. */
|
|
108
180
|
proxyAddress?: string;
|
|
109
181
|
/** Optional. The proxy port of the APN. A value of 0 (default) means not set and negative values are rejected. */
|
|
110
182
|
proxyPort?: number;
|
|
111
183
|
/** Optional. The protocol to use to connect to this APN while the device is roaming. */
|
|
112
|
-
roamingProtocol?:
|
|
184
|
+
roamingProtocol?:
|
|
185
|
+
| 'PROTOCOL_UNSPECIFIED'
|
|
186
|
+
| 'IP'
|
|
187
|
+
| 'IPV4V6'
|
|
188
|
+
| 'IPV6'
|
|
189
|
+
| 'NON_IP'
|
|
190
|
+
| 'PPP'
|
|
191
|
+
| 'UNSTRUCTURED';
|
|
113
192
|
/** Optional. APN username of the APN. */
|
|
114
193
|
username?: string;
|
|
115
194
|
}
|
|
116
195
|
interface Application {
|
|
117
196
|
/** Whether this app is free, free with in-app purchases, or paid. If the pricing is unspecified, this means the app is not generally available anymore (even though it might still be available to people who own it). */
|
|
118
|
-
appPricing?:
|
|
197
|
+
appPricing?:
|
|
198
|
+
| 'APP_PRICING_UNSPECIFIED'
|
|
199
|
+
| 'FREE'
|
|
200
|
+
| 'FREE_WITH_IN_APP_PURCHASE'
|
|
201
|
+
| 'PAID';
|
|
119
202
|
/** Application tracks visible to the enterprise. */
|
|
120
203
|
appTracks?: AppTrackInfo[];
|
|
121
204
|
/** Versions currently available for this app. */
|
|
@@ -127,13 +210,23 @@ declare namespace gapi.client {
|
|
|
127
210
|
/** The app category (e.g. RACING, SOCIAL, etc.) */
|
|
128
211
|
category?: string;
|
|
129
212
|
/** The content rating for this app. */
|
|
130
|
-
contentRating?:
|
|
213
|
+
contentRating?:
|
|
214
|
+
| 'CONTENT_RATING_UNSPECIFIED'
|
|
215
|
+
| 'THREE_YEARS'
|
|
216
|
+
| 'SEVEN_YEARS'
|
|
217
|
+
| 'TWELVE_YEARS'
|
|
218
|
+
| 'SIXTEEN_YEARS'
|
|
219
|
+
| 'EIGHTEEN_YEARS';
|
|
131
220
|
/** The localized promotional description, if available. */
|
|
132
221
|
description?: string;
|
|
133
222
|
/** How and to whom the package is made available. */
|
|
134
|
-
distributionChannel?:
|
|
223
|
+
distributionChannel?:
|
|
224
|
+
| 'DISTRIBUTION_CHANNEL_UNSPECIFIED'
|
|
225
|
+
| 'PUBLIC_GOOGLE_HOSTED'
|
|
226
|
+
| 'PRIVATE_GOOGLE_HOSTED'
|
|
227
|
+
| 'PRIVATE_SELF_HOSTED';
|
|
135
228
|
/** Noteworthy features (if any) of this app. */
|
|
136
|
-
features?:
|
|
229
|
+
features?: 'APP_FEATURE_UNSPECIFIED' | 'VPN_APP'[];
|
|
137
230
|
/** Full app description, if available. */
|
|
138
231
|
fullDescription?: string;
|
|
139
232
|
/** A link to an image that can be used as an icon for the app. This image is suitable for use up to a pixel size of 512 x 512. */
|
|
@@ -163,7 +256,16 @@ declare namespace gapi.client {
|
|
|
163
256
|
/** The creation time of the event. */
|
|
164
257
|
createTime?: string;
|
|
165
258
|
/** App event type. */
|
|
166
|
-
eventType?:
|
|
259
|
+
eventType?:
|
|
260
|
+
| 'APPLICATION_EVENT_TYPE_UNSPECIFIED'
|
|
261
|
+
| 'INSTALLED'
|
|
262
|
+
| 'CHANGED'
|
|
263
|
+
| 'DATA_CLEARED'
|
|
264
|
+
| 'REMOVED'
|
|
265
|
+
| 'REPLACED'
|
|
266
|
+
| 'RESTARTED'
|
|
267
|
+
| 'PINNED'
|
|
268
|
+
| 'UNPINNED';
|
|
167
269
|
}
|
|
168
270
|
interface ApplicationPermission {
|
|
169
271
|
/** A longer description of the permission, providing more detail on what it affects. Localized. */
|
|
@@ -177,19 +279,45 @@ declare namespace gapi.client {
|
|
|
177
279
|
/** List of the app’s track IDs that a device belonging to the enterprise can access. If the list contains multiple track IDs, devices receive the latest version among all accessible tracks. If the list contains no track IDs, devices only have access to the app’s production track. More details about each track are available in AppTrackInfo. */
|
|
178
280
|
accessibleTrackIds?: string[];
|
|
179
281
|
/** Specifies whether the app is allowed networking when the VPN is not connected and alwaysOnVpnPackage.lockdownEnabled is enabled. If set to VPN_LOCKDOWN_ENFORCED, the app is not allowed networking, and if set to VPN_LOCKDOWN_EXEMPTION, the app is allowed networking. Only supported on devices running Android 10 and above. If this is not supported by the device, the device will contain a NonComplianceDetail with non_compliance_reason set to API_LEVEL and a fieldPath. If this is not applicable to the app, the device will contain a NonComplianceDetail with non_compliance_reason set to UNSUPPORTED and a fieldPath. The fieldPath is set to applications[i].alwaysOnVpnLockdownExemption, where i is the index of the package in the applications policy. */
|
|
180
|
-
alwaysOnVpnLockdownExemption?:
|
|
282
|
+
alwaysOnVpnLockdownExemption?:
|
|
283
|
+
| 'ALWAYS_ON_VPN_LOCKDOWN_EXEMPTION_UNSPECIFIED'
|
|
284
|
+
| 'VPN_LOCKDOWN_ENFORCED'
|
|
285
|
+
| 'VPN_LOCKDOWN_EXEMPTION';
|
|
181
286
|
/** Controls the auto-update mode for the app. */
|
|
182
|
-
autoUpdateMode?:
|
|
287
|
+
autoUpdateMode?:
|
|
288
|
+
| 'AUTO_UPDATE_MODE_UNSPECIFIED'
|
|
289
|
+
| 'AUTO_UPDATE_DEFAULT'
|
|
290
|
+
| 'AUTO_UPDATE_POSTPONED'
|
|
291
|
+
| 'AUTO_UPDATE_HIGH_PRIORITY';
|
|
183
292
|
/** Controls whether the app can communicate with itself across a device’s work and personal profiles, subject to user consent. */
|
|
184
|
-
connectedWorkAndPersonalApp?:
|
|
293
|
+
connectedWorkAndPersonalApp?:
|
|
294
|
+
| 'CONNECTED_WORK_AND_PERSONAL_APP_UNSPECIFIED'
|
|
295
|
+
| 'CONNECTED_WORK_AND_PERSONAL_APP_DISALLOWED'
|
|
296
|
+
| 'CONNECTED_WORK_AND_PERSONAL_APP_ALLOWED';
|
|
185
297
|
/** Optional. Whether the app is allowed to act as a credential provider on Android 14 and above. */
|
|
186
|
-
credentialProviderPolicy?:
|
|
298
|
+
credentialProviderPolicy?:
|
|
299
|
+
| 'CREDENTIAL_PROVIDER_POLICY_UNSPECIFIED'
|
|
300
|
+
| 'CREDENTIAL_PROVIDER_ALLOWED';
|
|
187
301
|
/** Optional. Configuration for this custom app.install_type must be set to CUSTOM for this to be set. */
|
|
188
302
|
customAppConfig?: CustomAppConfig;
|
|
189
303
|
/** The default policy for all permissions requested by the app. If specified, this overrides the policy-level default_permission_policy which applies to all apps. It does not override the permission_grants which applies to all apps. */
|
|
190
|
-
defaultPermissionPolicy?:
|
|
304
|
+
defaultPermissionPolicy?:
|
|
305
|
+
| 'PERMISSION_POLICY_UNSPECIFIED'
|
|
306
|
+
| 'PROMPT'
|
|
307
|
+
| 'GRANT'
|
|
308
|
+
| 'DENY';
|
|
191
309
|
/** The scopes delegated to the app from Android Device Policy. These provide additional privileges for the applications they are applied to. */
|
|
192
|
-
delegatedScopes?:
|
|
310
|
+
delegatedScopes?:
|
|
311
|
+
| 'DELEGATED_SCOPE_UNSPECIFIED'
|
|
312
|
+
| 'CERT_INSTALL'
|
|
313
|
+
| 'MANAGED_CONFIGURATIONS'
|
|
314
|
+
| 'BLOCK_UNINSTALL'
|
|
315
|
+
| 'PERMISSION_GRANT'
|
|
316
|
+
| 'PACKAGE_ACCESS'
|
|
317
|
+
| 'ENABLE_SYSTEM_APP'
|
|
318
|
+
| 'NETWORK_ACTIVITY_LOGS'
|
|
319
|
+
| 'SECURITY_LOGS'
|
|
320
|
+
| 'CERT_SELECTION'[];
|
|
193
321
|
/** Whether the app is disabled. When disabled, the app data is still preserved. */
|
|
194
322
|
disabled?: boolean;
|
|
195
323
|
/** Configuration to enable this app as an extension app, with the capability of interacting with Android Device Policy offline.This field can be set for at most one app. If there is any app with COMPANION_APP role, this field cannot be set.The signing key certificate fingerprint of the app on the device must match one of the entries in ApplicationPolicy.signingKeyCerts or ExtensionConfig.signingKeyFingerprintsSha256 (deprecated) or the signing key certificate fingerprints obtained from Play Store for the app to be able to communicate with Android Device Policy. If the app is not on Play Store and if ApplicationPolicy.signingKeyCerts and ExtensionConfig.signingKeyFingerprintsSha256 (deprecated) are not set, a NonComplianceDetail with INVALID_VALUE is reported. */
|
|
@@ -199,7 +327,15 @@ declare namespace gapi.client {
|
|
|
199
327
|
/** Optional. Amongst apps with installType set to: FORCE_INSTALLED PREINSTALLEDthis controls the relative priority of installation. A value of 0 (default) means this app has no priority over other apps. For values between 1 and 10,000, a lower value means a higher priority. Values outside of the range 0 to 10,000 inclusive are rejected. */
|
|
200
328
|
installPriority?: number;
|
|
201
329
|
/** The type of installation to perform. */
|
|
202
|
-
installType?:
|
|
330
|
+
installType?:
|
|
331
|
+
| 'INSTALL_TYPE_UNSPECIFIED'
|
|
332
|
+
| 'PREINSTALLED'
|
|
333
|
+
| 'FORCE_INSTALLED'
|
|
334
|
+
| 'BLOCKED'
|
|
335
|
+
| 'AVAILABLE'
|
|
336
|
+
| 'REQUIRED_FOR_SETUP'
|
|
337
|
+
| 'KIOSK'
|
|
338
|
+
| 'CUSTOM';
|
|
203
339
|
/** Whether the app is allowed to lock itself in full-screen mode. DEPRECATED. Use InstallType KIOSK or kioskCustomLauncherEnabled to configure a dedicated device. */
|
|
204
340
|
lockTaskAllowed?: boolean;
|
|
205
341
|
/** Managed configuration applied to the app. The format for the configuration is dictated by the ManagedProperty values supported by the app. Each field name in the managed configuration must match the key field of the ManagedProperty. The field value must be compatible with the type of the ManagedProperty: *type* *JSON value* BOOL true or false STRING string INTEGER number CHOICE string MULTISELECT array of strings HIDDEN string BUNDLE_ARRAY array of objects Note: string values cannot be longer than 65535 characters. */
|
|
@@ -213,15 +349,28 @@ declare namespace gapi.client {
|
|
|
213
349
|
/** Explicit permission grants or denials for the app. These values override the default_permission_policy and permission_grants which apply to all apps. */
|
|
214
350
|
permissionGrants?: PermissionGrant[];
|
|
215
351
|
/** Optional. ID of the preferential network the application uses. There must be a configuration for the specified network ID in preferentialNetworkServiceConfigs. If set to PREFERENTIAL_NETWORK_ID_UNSPECIFIED, the application will use the default network ID specified in defaultPreferentialNetworkId. See the documentation of defaultPreferentialNetworkId for the list of apps excluded from this defaulting. This applies on both work profiles and fully managed devices on Android 13 and above. */
|
|
216
|
-
preferentialNetworkId?:
|
|
352
|
+
preferentialNetworkId?:
|
|
353
|
+
| 'PREFERENTIAL_NETWORK_ID_UNSPECIFIED'
|
|
354
|
+
| 'NO_PREFERENTIAL_NETWORK'
|
|
355
|
+
| 'PREFERENTIAL_NETWORK_ID_ONE'
|
|
356
|
+
| 'PREFERENTIAL_NETWORK_ID_TWO'
|
|
357
|
+
| 'PREFERENTIAL_NETWORK_ID_THREE'
|
|
358
|
+
| 'PREFERENTIAL_NETWORK_ID_FOUR'
|
|
359
|
+
| 'PREFERENTIAL_NETWORK_ID_FIVE';
|
|
217
360
|
/** Optional. Roles the app has.Apps having certain roles can be exempted from power and background execution restrictions, suspension and hibernation on Android 14 and above. The user control can also be disallowed for apps with certain roles on Android 11 and above. Refer to the documentation of each RoleType for more details.The app is notified about the roles that are set for it if the app has a notification receiver service with . The app is notified whenever its roles are updated or after the app is installed when it has nonempty list of roles. The app can use this notification to bootstrap itself after the installation. See Integrate with the AMAPI SDK (https://developers.google.com/android/management/sdk-integration) and Manage app roles (https://developers.google.com/android/management/app-roles) guides for more details on the requirements for the service.For the exemptions to be applied and the app to be notified about the roles, the signing key certificate fingerprint of the app on the device must match one of the signing key certificate fingerprints obtained from Play Store or one of the entries in ApplicationPolicy.signingKeyCerts. Otherwise, a NonComplianceDetail with APP_SIGNING_CERT_MISMATCH is reported.There must not be duplicate roles with the same roleType. Multiple apps cannot hold a role with the same roleType. A role with type ROLE_TYPE_UNSPECIFIED is not allowed. */
|
|
218
361
|
roles?: Role[];
|
|
219
362
|
/** Optional. Signing key certificates of the app.This field is required in the following cases: The app has installType set to CUSTOM (i.e. a custom app). The app has roles set to a nonempty list and the app does not exist on the Play Store. The app has extensionConfig set (i.e. an extension app) but ExtensionConfig.signingKeyFingerprintsSha256 (deprecated) is not set and the app does not exist on the Play Store.If this field is not set for a custom app, the policy is rejected. If it is not set when required for a non-custom app, a NonComplianceDetail with INVALID_VALUE is reported.For other cases, this field is optional and the signing key certificates obtained from Play Store are used.See following policy settings to see how this field is used: choosePrivateKeyRules ApplicationPolicy.InstallType.CUSTOM ApplicationPolicy.extensionConfig ApplicationPolicy.roles */
|
|
220
363
|
signingKeyCerts?: ApplicationSigningKeyCert[];
|
|
221
364
|
/** Optional. Specifies whether user control is permitted for the app. User control includes user actions like force-stopping and clearing app data. Certain types of apps have special treatment, see USER_CONTROL_SETTINGS_UNSPECIFIED and USER_CONTROL_ALLOWED for more details. */
|
|
222
|
-
userControlSettings?:
|
|
365
|
+
userControlSettings?:
|
|
366
|
+
| 'USER_CONTROL_SETTINGS_UNSPECIFIED'
|
|
367
|
+
| 'USER_CONTROL_ALLOWED'
|
|
368
|
+
| 'USER_CONTROL_DISALLOWED';
|
|
223
369
|
/** Specifies whether the app installed in the work profile is allowed to add widgets to the home screen. */
|
|
224
|
-
workProfileWidgets?:
|
|
370
|
+
workProfileWidgets?:
|
|
371
|
+
| 'WORK_PROFILE_WIDGETS_UNSPECIFIED'
|
|
372
|
+
| 'WORK_PROFILE_WIDGETS_ALLOWED'
|
|
373
|
+
| 'WORK_PROFILE_WIDGETS_DISALLOWED';
|
|
225
374
|
}
|
|
226
375
|
interface ApplicationPolicyChange {
|
|
227
376
|
/** If ApplicationPolicy.packageName matches an existing ApplicationPolicy object within the Policy being modified, then that object will be updated. Otherwise, it will be added to the end of the Policy.applications. */
|
|
@@ -231,7 +380,12 @@ declare namespace gapi.client {
|
|
|
231
380
|
}
|
|
232
381
|
interface ApplicationReport {
|
|
233
382
|
/** The source of the package. */
|
|
234
|
-
applicationSource?:
|
|
383
|
+
applicationSource?:
|
|
384
|
+
| 'APPLICATION_SOURCE_UNSPECIFIED'
|
|
385
|
+
| 'SYSTEM_APP_FACTORY_VERSION'
|
|
386
|
+
| 'SYSTEM_APP_UPDATED_VERSION'
|
|
387
|
+
| 'INSTALLED_FROM_PLAY_STORE'
|
|
388
|
+
| 'CUSTOM';
|
|
235
389
|
/** The display name of the app. */
|
|
236
390
|
displayName?: string;
|
|
237
391
|
/** The list of app events which have occurred in the last 30 hours. */
|
|
@@ -247,9 +401,12 @@ declare namespace gapi.client {
|
|
|
247
401
|
/** The SHA-1 hash of each android.content.pm.Signature (https://developer.android.com/reference/android/content/pm/Signature.html) associated with the app package. Each byte of each hash value is represented as a two-digit hexadecimal number. */
|
|
248
402
|
signingKeyCertFingerprints?: string[];
|
|
249
403
|
/** Application state. */
|
|
250
|
-
state?:
|
|
404
|
+
state?: 'APPLICATION_STATE_UNSPECIFIED' | 'REMOVED' | 'INSTALLED';
|
|
251
405
|
/** Whether the app is user facing. */
|
|
252
|
-
userFacingType?:
|
|
406
|
+
userFacingType?:
|
|
407
|
+
| 'USER_FACING_TYPE_UNSPECIFIED'
|
|
408
|
+
| 'NOT_USER_FACING'
|
|
409
|
+
| 'USER_FACING';
|
|
253
410
|
/** The app version code, which can be used to determine whether one version is more recent than another. */
|
|
254
411
|
versionCode?: number;
|
|
255
412
|
/** The app version as displayed to the user. */
|
|
@@ -305,7 +462,10 @@ declare namespace gapi.client {
|
|
|
305
462
|
/** User ID of the admin app from the which the change was requested. */
|
|
306
463
|
adminUserId?: number;
|
|
307
464
|
/** Whether the backup service is enabled */
|
|
308
|
-
backupServiceState?:
|
|
465
|
+
backupServiceState?:
|
|
466
|
+
| 'BACKUP_SERVICE_STATE_UNSPECIFIED'
|
|
467
|
+
| 'BACKUP_SERVICE_DISABLED'
|
|
468
|
+
| 'BACKUP_SERVICE_ENABLED';
|
|
309
469
|
}
|
|
310
470
|
interface BatchUsageLogEvents {
|
|
311
471
|
/** If present, the name of the device in the form ‘enterprises/{enterpriseId}/devices/{deviceId}’ */
|
|
@@ -321,7 +481,10 @@ declare namespace gapi.client {
|
|
|
321
481
|
/** Number of days the policy is non-compliant before the device or work profile is blocked. To block access immediately, set to 0. blockAfterDays must be less than wipeAfterDays. */
|
|
322
482
|
blockAfterDays?: number;
|
|
323
483
|
/** Specifies the scope of this BlockAction. Only applicable to devices that are company-owned. */
|
|
324
|
-
blockScope?:
|
|
484
|
+
blockScope?:
|
|
485
|
+
| 'BLOCK_SCOPE_UNSPECIFIED'
|
|
486
|
+
| 'BLOCK_SCOPE_WORK_PROFILE'
|
|
487
|
+
| 'BLOCK_SCOPE_DEVICE';
|
|
325
488
|
}
|
|
326
489
|
interface CertAuthorityInstalledEvent {
|
|
327
490
|
/** Subject of the certificate. */
|
|
@@ -371,7 +534,13 @@ declare namespace gapi.client {
|
|
|
371
534
|
/** The duration for which the command is valid. The command will expire if not executed by the device during this time. The default duration if unspecified is ten minutes. There is no maximum duration. */
|
|
372
535
|
duration?: string;
|
|
373
536
|
/** If the command failed, an error code explaining the failure. This is not set when the command is cancelled by the caller. For reasoning about command errors, prefer fields in the following order (most preferred first): 1. Command-specific fields like clearAppsDataStatus, startLostModeStatus, or similar, if they exist. 2. This field, if set. 3. The generic error field in the Operation that wraps the command. */
|
|
374
|
-
errorCode?:
|
|
537
|
+
errorCode?:
|
|
538
|
+
| 'COMMAND_ERROR_CODE_UNSPECIFIED'
|
|
539
|
+
| 'UNKNOWN'
|
|
540
|
+
| 'API_LEVEL'
|
|
541
|
+
| 'MANAGEMENT_MODE'
|
|
542
|
+
| 'INVALID_VALUE'
|
|
543
|
+
| 'UNSUPPORTED';
|
|
375
544
|
/** Output only. Status of an ADD_ESIM or REMOVE_ESIM command. */
|
|
376
545
|
esimStatus?: EsimCommandStatus;
|
|
377
546
|
/** For commands of type RESET_PASSWORD, optionally specifies the new password. Note: The new password must be at least 6 characters long if it is numeric in case of Android 14 devices. Else the command will fail with INVALID_VALUE. */
|
|
@@ -383,7 +552,11 @@ declare namespace gapi.client {
|
|
|
383
552
|
/** Output only. Status of the REQUEST_DEVICE_INFO command. */
|
|
384
553
|
requestDeviceInfoStatus?: RequestDeviceInfoStatus;
|
|
385
554
|
/** For commands of type RESET_PASSWORD, optionally specifies flags. */
|
|
386
|
-
resetPasswordFlags?:
|
|
555
|
+
resetPasswordFlags?:
|
|
556
|
+
| 'RESET_PASSWORD_FLAG_UNSPECIFIED'
|
|
557
|
+
| 'REQUIRE_ENTRY'
|
|
558
|
+
| 'DO_NOT_ASK_CREDENTIALS_ON_BOOT'
|
|
559
|
+
| 'LOCK_NOW'[];
|
|
387
560
|
/** Parameters for the START_LOST_MODE command to put the device into lost mode. See StartLostModeParams. If this is set, then it is suggested that type should not be set. In this case, the server automatically sets it to START_LOST_MODE. It is also acceptable to explicitly set type to START_LOST_MODE. */
|
|
388
561
|
startLostModeParams?: StartLostModeParams;
|
|
389
562
|
/** Output only. Status of the START_LOST_MODE command to put the device into lost mode. See StartLostModeStatus. */
|
|
@@ -393,7 +566,19 @@ declare namespace gapi.client {
|
|
|
393
566
|
/** Output only. Status of the STOP_LOST_MODE command to take the device out of lost mode. See StopLostModeStatus. */
|
|
394
567
|
stopLostModeStatus?: StopLostModeStatus;
|
|
395
568
|
/** The type of the command. */
|
|
396
|
-
type?:
|
|
569
|
+
type?:
|
|
570
|
+
| 'COMMAND_TYPE_UNSPECIFIED'
|
|
571
|
+
| 'LOCK'
|
|
572
|
+
| 'RESET_PASSWORD'
|
|
573
|
+
| 'REBOOT'
|
|
574
|
+
| 'RELINQUISH_OWNERSHIP'
|
|
575
|
+
| 'CLEAR_APP_DATA'
|
|
576
|
+
| 'START_LOST_MODE'
|
|
577
|
+
| 'STOP_LOST_MODE'
|
|
578
|
+
| 'ADD_ESIM'
|
|
579
|
+
| 'REMOVE_ESIM'
|
|
580
|
+
| 'REQUEST_DEVICE_INFO'
|
|
581
|
+
| 'WIPE';
|
|
397
582
|
/** The resource name of the user that owns the device in the form enterprises/{enterpriseId}/users/{userId}. This is automatically generated by the server based on the device the command is sent to. */
|
|
398
583
|
userName?: string;
|
|
399
584
|
/** Optional. Parameters for the WIPE command to wipe the device. If this is set, then it is suggested that type should not be set. In this case, the server automatically sets it to WIPE. It is also acceptable to explicitly set type to WIPE. */
|
|
@@ -401,9 +586,17 @@ declare namespace gapi.client {
|
|
|
401
586
|
}
|
|
402
587
|
interface CommonCriteriaModeInfo {
|
|
403
588
|
/** Whether Common Criteria Mode is enabled. */
|
|
404
|
-
commonCriteriaModeStatus?:
|
|
589
|
+
commonCriteriaModeStatus?:
|
|
590
|
+
| 'COMMON_CRITERIA_MODE_STATUS_UNKNOWN'
|
|
591
|
+
| 'COMMON_CRITERIA_MODE_DISABLED'
|
|
592
|
+
| 'COMMON_CRITERIA_MODE_ENABLED';
|
|
405
593
|
/** Output only. The status of policy signature verification. */
|
|
406
|
-
policySignatureVerificationStatus?:
|
|
594
|
+
policySignatureVerificationStatus?:
|
|
595
|
+
| 'POLICY_SIGNATURE_VERIFICATION_STATUS_UNSPECIFIED'
|
|
596
|
+
| 'POLICY_SIGNATURE_VERIFICATION_DISABLED'
|
|
597
|
+
| 'POLICY_SIGNATURE_VERIFICATION_SUCCEEDED'
|
|
598
|
+
| 'POLICY_SIGNATURE_VERIFICATION_NOT_SUPPORTED'
|
|
599
|
+
| 'POLICY_SIGNATURE_VERIFICATION_FAILED';
|
|
407
600
|
}
|
|
408
601
|
interface ComplianceRule {
|
|
409
602
|
/** A condition which is satisfied if the Android Framework API level on the device doesn't meet a minimum requirement. */
|
|
@@ -449,17 +642,34 @@ declare namespace gapi.client {
|
|
|
449
642
|
}
|
|
450
643
|
interface CrossProfilePolicies {
|
|
451
644
|
/** Optional. Controls whether personal profile apps can invoke app functions exposed by apps in the work profile. */
|
|
452
|
-
crossProfileAppFunctions?:
|
|
645
|
+
crossProfileAppFunctions?:
|
|
646
|
+
| 'CROSS_PROFILE_APP_FUNCTIONS_UNSPECIFIED'
|
|
647
|
+
| 'CROSS_PROFILE_APP_FUNCTIONS_DISALLOWED'
|
|
648
|
+
| 'CROSS_PROFILE_APP_FUNCTIONS_ALLOWED';
|
|
453
649
|
/** Whether text copied from one profile (personal or work) can be pasted in the other profile. */
|
|
454
|
-
crossProfileCopyPaste?:
|
|
650
|
+
crossProfileCopyPaste?:
|
|
651
|
+
| 'CROSS_PROFILE_COPY_PASTE_UNSPECIFIED'
|
|
652
|
+
| 'COPY_FROM_WORK_TO_PERSONAL_DISALLOWED'
|
|
653
|
+
| 'CROSS_PROFILE_COPY_PASTE_ALLOWED';
|
|
455
654
|
/** Whether data from one profile (personal or work) can be shared with apps in the other profile. Specifically controls simple data sharing via intents. Management of other cross-profile communication channels, such as contact search, copy/paste, or connected work & personal apps, are configured separately. */
|
|
456
|
-
crossProfileDataSharing?:
|
|
655
|
+
crossProfileDataSharing?:
|
|
656
|
+
| 'CROSS_PROFILE_DATA_SHARING_UNSPECIFIED'
|
|
657
|
+
| 'CROSS_PROFILE_DATA_SHARING_DISALLOWED'
|
|
658
|
+
| 'DATA_SHARING_FROM_WORK_TO_PERSONAL_DISALLOWED'
|
|
659
|
+
| 'CROSS_PROFILE_DATA_SHARING_ALLOWED';
|
|
457
660
|
/** List of apps which are excluded from the ShowWorkContactsInPersonalProfile setting. For this to be set, ShowWorkContactsInPersonalProfile must be set to one of the following values: SHOW_WORK_CONTACTS_IN_PERSONAL_PROFILE_ALLOWED. In this case, these exemptions act as a blocklist. SHOW_WORK_CONTACTS_IN_PERSONAL_PROFILE_DISALLOWED. In this case, these exemptions act as an allowlist. SHOW_WORK_CONTACTS_IN_PERSONAL_PROFILE_DISALLOWED_EXCEPT_SYSTEM. In this case, these exemptions act as an allowlist, in addition to the already allowlisted system apps.Supported on Android 14 and above. A NonComplianceDetail with API_LEVEL is reported if the Android version is less than 14. */
|
|
458
661
|
exemptionsToShowWorkContactsInPersonalProfile?: PackageNameList;
|
|
459
662
|
/** Whether personal apps can access contacts stored in the work profile.See also exemptions_to_show_work_contacts_in_personal_profile. */
|
|
460
|
-
showWorkContactsInPersonalProfile?:
|
|
663
|
+
showWorkContactsInPersonalProfile?:
|
|
664
|
+
| 'SHOW_WORK_CONTACTS_IN_PERSONAL_PROFILE_UNSPECIFIED'
|
|
665
|
+
| 'SHOW_WORK_CONTACTS_IN_PERSONAL_PROFILE_DISALLOWED'
|
|
666
|
+
| 'SHOW_WORK_CONTACTS_IN_PERSONAL_PROFILE_ALLOWED'
|
|
667
|
+
| 'SHOW_WORK_CONTACTS_IN_PERSONAL_PROFILE_DISALLOWED_EXCEPT_SYSTEM';
|
|
461
668
|
/** Specifies the default behaviour for work profile widgets. If the policy does not specify work_profile_widgets for a specific application, it will behave according to the value specified here. */
|
|
462
|
-
workProfileWidgetsDefault?:
|
|
669
|
+
workProfileWidgetsDefault?:
|
|
670
|
+
| 'WORK_PROFILE_WIDGETS_DEFAULT_UNSPECIFIED'
|
|
671
|
+
| 'WORK_PROFILE_WIDGETS_DEFAULT_ALLOWED'
|
|
672
|
+
| 'WORK_PROFILE_WIDGETS_DEFAULT_DISALLOWED';
|
|
463
673
|
}
|
|
464
674
|
interface CryptoSelfTestCompletedEvent {
|
|
465
675
|
/** Whether the test succeeded. */
|
|
@@ -467,7 +677,10 @@ declare namespace gapi.client {
|
|
|
467
677
|
}
|
|
468
678
|
interface CustomAppConfig {
|
|
469
679
|
/** Optional. User uninstall settings of the custom app. */
|
|
470
|
-
userUninstallSettings?:
|
|
680
|
+
userUninstallSettings?:
|
|
681
|
+
| 'USER_UNINSTALL_SETTINGS_UNSPECIFIED'
|
|
682
|
+
| 'DISALLOW_UNINSTALL_BY_USER'
|
|
683
|
+
| 'ALLOW_UNINSTALL_BY_USER';
|
|
471
684
|
}
|
|
472
685
|
interface Date {
|
|
473
686
|
/** Day of a month. Must be from 1 to 31 and valid for the year and month, or 0 to specify a year by itself or a year and month where the day isn't significant. */
|
|
@@ -483,13 +696,26 @@ declare namespace gapi.client {
|
|
|
483
696
|
}
|
|
484
697
|
interface DefaultApplicationContext {
|
|
485
698
|
/** Output only. The scope of non-compliant default application setting. */
|
|
486
|
-
defaultApplicationScope?:
|
|
699
|
+
defaultApplicationScope?:
|
|
700
|
+
| 'DEFAULT_APPLICATION_SCOPE_UNSPECIFIED'
|
|
701
|
+
| 'SCOPE_FULLY_MANAGED'
|
|
702
|
+
| 'SCOPE_WORK_PROFILE'
|
|
703
|
+
| 'SCOPE_PERSONAL_PROFILE';
|
|
487
704
|
}
|
|
488
705
|
interface DefaultApplicationInfo {
|
|
489
706
|
/** Output only. Details on the default application setting attempts, in the same order as listed in defaultApplications. */
|
|
490
707
|
defaultApplicationSettingAttempts?: DefaultApplicationSettingAttempt[];
|
|
491
708
|
/** Output only. The default application type. */
|
|
492
|
-
defaultApplicationType?:
|
|
709
|
+
defaultApplicationType?:
|
|
710
|
+
| 'DEFAULT_APPLICATION_TYPE_UNSPECIFIED'
|
|
711
|
+
| 'DEFAULT_ASSISTANT'
|
|
712
|
+
| 'DEFAULT_BROWSER'
|
|
713
|
+
| 'DEFAULT_CALL_REDIRECTION'
|
|
714
|
+
| 'DEFAULT_CALL_SCREENING'
|
|
715
|
+
| 'DEFAULT_DIALER'
|
|
716
|
+
| 'DEFAULT_HOME'
|
|
717
|
+
| 'DEFAULT_SMS'
|
|
718
|
+
| 'DEFAULT_WALLET';
|
|
493
719
|
/** Output only. The package name of the current default application. */
|
|
494
720
|
packageName?: string;
|
|
495
721
|
}
|
|
@@ -497,13 +723,31 @@ declare namespace gapi.client {
|
|
|
497
723
|
/** Required. The list of applications that can be set as the default app for a given type. This list must not be empty or contain duplicates. The first app in the list that is installed and qualified for the defaultApplicationType (e.g. SMS app for DEFAULT_SMS) is set as the default app. The signing key certificate fingerprint of the app on the device must also match one of the signing key certificate fingerprints obtained from Play Store or one of the entries in ApplicationPolicy.signingKeyCerts in order to be set as the default.If the defaultApplicationScopes contains SCOPE_FULLY_MANAGED or SCOPE_WORK_PROFILE, the app must have an entry in applications with installType set to a value other than BLOCKED.A NonComplianceDetail with APP_NOT_INSTALLED reason and DEFAULT_APPLICATION_SETTING_FAILED_FOR_SCOPE specific reason is reported if none of the apps in the list are installed. A NonComplianceDetail with INVALID_VALUE reason and DEFAULT_APPLICATION_SETTING_FAILED_FOR_SCOPE specific reason is reported if at least one app is installed but the policy fails to apply due to other reasons (e.g. the app is not of the right type).When applying to SCOPE_PERSONAL_PROFILE on a company-owned device with a work profile, only pre-installed system apps can be set as the default. A NonComplianceDetail with INVALID_VALUE reason and DEFAULT_APPLICATION_SETTING_FAILED_FOR_SCOPE specific reason is reported if the policy fails to apply to the personal profile. */
|
|
498
724
|
defaultApplications?: DefaultApplication[];
|
|
499
725
|
/** Required. The scopes to which the policy should be applied. This list must not be empty or contain duplicates.A NonComplianceDetail with MANAGEMENT_MODE reason and DEFAULT_APPLICATION_SETTING_UNSUPPORTED_SCOPES specific reason is reported if none of the specified scopes can be applied to the management mode (e.g. a fully managed device receives a policy with only SCOPE_PERSONAL_PROFILE in the list). */
|
|
500
|
-
defaultApplicationScopes?:
|
|
726
|
+
defaultApplicationScopes?:
|
|
727
|
+
| 'DEFAULT_APPLICATION_SCOPE_UNSPECIFIED'
|
|
728
|
+
| 'SCOPE_FULLY_MANAGED'
|
|
729
|
+
| 'SCOPE_WORK_PROFILE'
|
|
730
|
+
| 'SCOPE_PERSONAL_PROFILE'[];
|
|
501
731
|
/** Required. The app type to set the default application. */
|
|
502
|
-
defaultApplicationType?:
|
|
732
|
+
defaultApplicationType?:
|
|
733
|
+
| 'DEFAULT_APPLICATION_TYPE_UNSPECIFIED'
|
|
734
|
+
| 'DEFAULT_ASSISTANT'
|
|
735
|
+
| 'DEFAULT_BROWSER'
|
|
736
|
+
| 'DEFAULT_CALL_REDIRECTION'
|
|
737
|
+
| 'DEFAULT_CALL_SCREENING'
|
|
738
|
+
| 'DEFAULT_DIALER'
|
|
739
|
+
| 'DEFAULT_HOME'
|
|
740
|
+
| 'DEFAULT_SMS'
|
|
741
|
+
| 'DEFAULT_WALLET';
|
|
503
742
|
}
|
|
504
743
|
interface DefaultApplicationSettingAttempt {
|
|
505
744
|
/** Output only. The outcome of setting the app as the default. */
|
|
506
|
-
attemptOutcome?:
|
|
745
|
+
attemptOutcome?:
|
|
746
|
+
| 'ATTEMPT_OUTCOME_UNSPECIFIED'
|
|
747
|
+
| 'SUCCESS'
|
|
748
|
+
| 'APP_NOT_INSTALLED'
|
|
749
|
+
| 'APP_SIGNING_CERT_MISMATCH'
|
|
750
|
+
| 'OTHER_FAILURE';
|
|
507
751
|
/** Output only. The package name of the attempted application. */
|
|
508
752
|
packageName?: string;
|
|
509
753
|
}
|
|
@@ -519,7 +763,15 @@ declare namespace gapi.client {
|
|
|
519
763
|
/** The version of the policy currently applied to the device. */
|
|
520
764
|
appliedPolicyVersion?: string;
|
|
521
765
|
/** The state currently applied to the device. */
|
|
522
|
-
appliedState?:
|
|
766
|
+
appliedState?:
|
|
767
|
+
| 'DEVICE_STATE_UNSPECIFIED'
|
|
768
|
+
| 'ACTIVE'
|
|
769
|
+
| 'DISABLED'
|
|
770
|
+
| 'DELETED'
|
|
771
|
+
| 'PROVISIONING'
|
|
772
|
+
| 'LOST'
|
|
773
|
+
| 'PREPARING_FOR_MIGRATION'
|
|
774
|
+
| 'DEACTIVATED_BY_DEVICE_FINANCE';
|
|
523
775
|
/** Information about Common Criteria Mode—security standards defined in the Common Criteria for Information Technology Security Evaluation (https://www.commoncriteriaportal.org/) (CC).This information is only available if statusReportingSettings.commonCriteriaModeEnabled is true in the device's policy the device is company-owned. */
|
|
524
776
|
commonCriteriaModeInfo?: CommonCriteriaModeInfo;
|
|
525
777
|
/** Output only. The default application information for the DefaultApplicationType. This information is only available if defaultApplicationInfoReportingEnabled is true in the device's policy. Available on Android 16 and above.All app types are reported on fully managed devices. DEFAULT_BROWSER, DEFAULT_CALL_REDIRECTION, DEFAULT_CALL_SCREENING and DEFAULT_DIALER types are reported for the work profiles on company-owned devices with a work profile and personally-owned devices. DEFAULT_WALLET is also reported for company-owned devices with a work profile, but will only include work profile information. */
|
|
@@ -549,7 +801,10 @@ declare namespace gapi.client {
|
|
|
549
801
|
/** The last time the device sent a status report. */
|
|
550
802
|
lastStatusReportTime?: string;
|
|
551
803
|
/** The type of management mode Android Device Policy takes on the device. This influences which policy settings are supported. */
|
|
552
|
-
managementMode?:
|
|
804
|
+
managementMode?:
|
|
805
|
+
| 'MANAGEMENT_MODE_UNSPECIFIED'
|
|
806
|
+
| 'DEVICE_OWNER'
|
|
807
|
+
| 'PROFILE_OWNER';
|
|
553
808
|
/** Events related to memory and storage measurements in chronological order. This information is only available if memoryInfoEnabled is true in the device's policy.Events are retained for a certain period of time and old events are deleted. */
|
|
554
809
|
memoryEvents?: MemoryEvent[];
|
|
555
810
|
/** Memory information: contains information about device memory and storage. */
|
|
@@ -561,7 +816,10 @@ declare namespace gapi.client {
|
|
|
561
816
|
/** Details about policy settings that the device is not compliant with. */
|
|
562
817
|
nonComplianceDetails?: NonComplianceDetail[];
|
|
563
818
|
/** Ownership of the managed device. */
|
|
564
|
-
ownership?:
|
|
819
|
+
ownership?:
|
|
820
|
+
| 'OWNERSHIP_UNSPECIFIED'
|
|
821
|
+
| 'COMPANY_OWNED'
|
|
822
|
+
| 'PERSONALLY_OWNED';
|
|
565
823
|
/** Whether the device is compliant with its policy. */
|
|
566
824
|
policyCompliant?: boolean;
|
|
567
825
|
/** The name of the policy applied to the device, in the form enterprises/{enterpriseId}/policies/{policyId}. If not specified, the policy_name for the device's user is applied. This field can be modified by a patch request. You can specify only the policyId when calling enterprises.devices.patch, as long as the policyId doesn’t contain any slashes. The rest of the policy name is inferred. */
|
|
@@ -575,7 +833,15 @@ declare namespace gapi.client {
|
|
|
575
833
|
/** Detailed information about the device software. This information is only available if softwareInfoEnabled is true in the device's policy. */
|
|
576
834
|
softwareInfo?: SoftwareInfo;
|
|
577
835
|
/** The state to be applied to the device. This field can be modified by a patch request. Note that when calling enterprises.devices.patch, ACTIVE and DISABLED are the only allowable values. To enter the device into a DELETED state, call enterprises.devices.delete. */
|
|
578
|
-
state?:
|
|
836
|
+
state?:
|
|
837
|
+
| 'DEVICE_STATE_UNSPECIFIED'
|
|
838
|
+
| 'ACTIVE'
|
|
839
|
+
| 'DISABLED'
|
|
840
|
+
| 'DELETED'
|
|
841
|
+
| 'PROVISIONING'
|
|
842
|
+
| 'LOST'
|
|
843
|
+
| 'PREPARING_FOR_MIGRATION'
|
|
844
|
+
| 'DEACTIVATED_BY_DEVICE_FINANCE';
|
|
579
845
|
/** Map of selected system properties name and value related to the device. This information is only available if systemPropertiesEnabled is true in the device's policy. */
|
|
580
846
|
systemProperties?: {[P in string]: string};
|
|
581
847
|
/** The user who owns the device. */
|
|
@@ -587,19 +853,37 @@ declare namespace gapi.client {
|
|
|
587
853
|
/** Optional. Access Point Name (APN) policy. Configuration for Access Point Names (APNs) which may override any other APNs on the device. See OVERRIDE_APNS_ENABLED and overrideApns for details. */
|
|
588
854
|
apnPolicy?: ApnPolicy;
|
|
589
855
|
/** Optional. Controls whether Bluetooth sharing is allowed. */
|
|
590
|
-
bluetoothSharing?:
|
|
856
|
+
bluetoothSharing?:
|
|
857
|
+
| 'BLUETOOTH_SHARING_UNSPECIFIED'
|
|
858
|
+
| 'BLUETOOTH_SHARING_ALLOWED'
|
|
859
|
+
| 'BLUETOOTH_SHARING_DISALLOWED';
|
|
591
860
|
/** Controls Wi-Fi configuring privileges. Based on the option set, user will have either full or limited or no control in configuring Wi-Fi networks. */
|
|
592
|
-
configureWifi?:
|
|
861
|
+
configureWifi?:
|
|
862
|
+
| 'CONFIGURE_WIFI_UNSPECIFIED'
|
|
863
|
+
| 'ALLOW_CONFIGURING_WIFI'
|
|
864
|
+
| 'DISALLOW_ADD_WIFI_CONFIG'
|
|
865
|
+
| 'DISALLOW_CONFIGURING_WIFI';
|
|
593
866
|
/** Optional. Preferential network service configuration. Setting this field will override preferentialNetworkService. This can be set on both work profiles and fully managed devices on Android 13 and above. See 5G network slicing (https://developers.google.com/android/management/5g-network-slicing) guide for more details. */
|
|
594
867
|
preferentialNetworkServiceSettings?: PreferentialNetworkServiceSettings;
|
|
595
868
|
/** Optional. The global private DNS settings. */
|
|
596
869
|
privateDnsSettings?: PrivateDnsSettings;
|
|
597
870
|
/** Controls tethering settings. Based on the value set, the user is partially or fully disallowed from using different forms of tethering. */
|
|
598
|
-
tetheringSettings?:
|
|
871
|
+
tetheringSettings?:
|
|
872
|
+
| 'TETHERING_SETTINGS_UNSPECIFIED'
|
|
873
|
+
| 'ALLOW_ALL_TETHERING'
|
|
874
|
+
| 'DISALLOW_WIFI_TETHERING'
|
|
875
|
+
| 'DISALLOW_ALL_TETHERING';
|
|
599
876
|
/** Controls what files and/or data can be transferred via USB. Supported only on company-owned devices. */
|
|
600
|
-
usbDataAccess?:
|
|
877
|
+
usbDataAccess?:
|
|
878
|
+
| 'USB_DATA_ACCESS_UNSPECIFIED'
|
|
879
|
+
| 'ALLOW_USB_DATA_TRANSFER'
|
|
880
|
+
| 'DISALLOW_USB_FILE_TRANSFER'
|
|
881
|
+
| 'DISALLOW_USB_DATA_TRANSFER';
|
|
601
882
|
/** Controls configuring and using Wi-Fi direct settings. Supported on company-owned devices running Android 13 and above. */
|
|
602
|
-
wifiDirectSettings?:
|
|
883
|
+
wifiDirectSettings?:
|
|
884
|
+
| 'WIFI_DIRECT_SETTINGS_UNSPECIFIED'
|
|
885
|
+
| 'ALLOW_WIFI_DIRECT'
|
|
886
|
+
| 'DISALLOW_WIFI_DIRECT';
|
|
603
887
|
/** Optional. Wi-Fi roaming policy. */
|
|
604
888
|
wifiRoamingPolicy?: WifiRoamingPolicy;
|
|
605
889
|
/** Restrictions on which Wi-Fi SSIDs the device can connect to. Note that this does not affect which networks can be configured on the device. Supported on company-owned devices running Android 13 and above. */
|
|
@@ -607,17 +891,38 @@ declare namespace gapi.client {
|
|
|
607
891
|
}
|
|
608
892
|
interface DeviceRadioState {
|
|
609
893
|
/** Controls whether airplane mode can be toggled by the user or not. */
|
|
610
|
-
airplaneModeState?:
|
|
894
|
+
airplaneModeState?:
|
|
895
|
+
| 'AIRPLANE_MODE_STATE_UNSPECIFIED'
|
|
896
|
+
| 'AIRPLANE_MODE_USER_CHOICE'
|
|
897
|
+
| 'AIRPLANE_MODE_DISABLED';
|
|
611
898
|
/** Controls whether cellular 2G setting can be toggled by the user or not. */
|
|
612
|
-
cellularTwoGState?:
|
|
899
|
+
cellularTwoGState?:
|
|
900
|
+
| 'CELLULAR_TWO_G_STATE_UNSPECIFIED'
|
|
901
|
+
| 'CELLULAR_TWO_G_USER_CHOICE'
|
|
902
|
+
| 'CELLULAR_TWO_G_DISABLED';
|
|
613
903
|
/** The minimum required security level of Wi-Fi networks that the device can connect to. */
|
|
614
|
-
minimumWifiSecurityLevel?:
|
|
904
|
+
minimumWifiSecurityLevel?:
|
|
905
|
+
| 'MINIMUM_WIFI_SECURITY_LEVEL_UNSPECIFIED'
|
|
906
|
+
| 'OPEN_NETWORK_SECURITY'
|
|
907
|
+
| 'PERSONAL_NETWORK_SECURITY'
|
|
908
|
+
| 'ENTERPRISE_NETWORK_SECURITY'
|
|
909
|
+
| 'ENTERPRISE_BIT192_NETWORK_SECURITY';
|
|
615
910
|
/** Controls the state of the ultra wideband setting and whether the user can toggle it on or off. */
|
|
616
|
-
ultraWidebandState?:
|
|
911
|
+
ultraWidebandState?:
|
|
912
|
+
| 'ULTRA_WIDEBAND_STATE_UNSPECIFIED'
|
|
913
|
+
| 'ULTRA_WIDEBAND_USER_CHOICE'
|
|
914
|
+
| 'ULTRA_WIDEBAND_DISABLED';
|
|
617
915
|
/** Optional. Controls whether the user is allowed to add eSIM profiles. */
|
|
618
|
-
userInitiatedAddEsimSettings?:
|
|
916
|
+
userInitiatedAddEsimSettings?:
|
|
917
|
+
| 'USER_INITIATED_ADD_ESIM_SETTINGS_UNSPECIFIED'
|
|
918
|
+
| 'USER_INITIATED_ADD_ESIM_ALLOWED'
|
|
919
|
+
| 'USER_INITIATED_ADD_ESIM_DISALLOWED';
|
|
619
920
|
/** Controls current state of Wi-Fi and if user can change its state. */
|
|
620
|
-
wifiState?:
|
|
921
|
+
wifiState?:
|
|
922
|
+
| 'WIFI_STATE_UNSPECIFIED'
|
|
923
|
+
| 'WIFI_STATE_USER_CHOICE'
|
|
924
|
+
| 'WIFI_ENABLED'
|
|
925
|
+
| 'WIFI_DISABLED';
|
|
621
926
|
}
|
|
622
927
|
interface DeviceSettings {
|
|
623
928
|
/** Whether ADB (https://developer.android.com/studio/command-line/adb.html) is enabled on the device. */
|
|
@@ -625,7 +930,14 @@ declare namespace gapi.client {
|
|
|
625
930
|
/** Whether developer mode is enabled on the device. */
|
|
626
931
|
developmentSettingsEnabled?: boolean;
|
|
627
932
|
/** Encryption status from DevicePolicyManager. */
|
|
628
|
-
encryptionStatus?:
|
|
933
|
+
encryptionStatus?:
|
|
934
|
+
| 'ENCRYPTION_STATUS_UNSPECIFIED'
|
|
935
|
+
| 'UNSUPPORTED'
|
|
936
|
+
| 'INACTIVE'
|
|
937
|
+
| 'ACTIVATING'
|
|
938
|
+
| 'ACTIVE'
|
|
939
|
+
| 'ACTIVE_DEFAULT_KEY'
|
|
940
|
+
| 'ACTIVE_PER_USER';
|
|
629
941
|
/** Whether the device is secured with PIN/password. */
|
|
630
942
|
isDeviceSecure?: boolean;
|
|
631
943
|
/** Whether the storage encryption is enabled. */
|
|
@@ -647,7 +959,7 @@ declare namespace gapi.client {
|
|
|
647
959
|
/** Refresh rate of the display in frames per second. */
|
|
648
960
|
refreshRate?: number;
|
|
649
961
|
/** State of the display. */
|
|
650
|
-
state?:
|
|
962
|
+
state?: 'DISPLAY_STATE_UNSPECIFIED' | 'OFF' | 'ON' | 'DOZE' | 'SUSPENDED';
|
|
651
963
|
/** Display width in pixels. */
|
|
652
964
|
width?: number;
|
|
653
965
|
}
|
|
@@ -687,7 +999,11 @@ declare namespace gapi.client {
|
|
|
687
999
|
/** Optional, arbitrary data associated with the enrollment token. This could contain, for example, the ID of an org unit the device is assigned to after enrollment. After a device enrolls with the token, this data will be exposed in the enrollment_token_data field of the Device resource. The data must be 1024 characters or less; otherwise, the creation request will fail. */
|
|
688
1000
|
additionalData?: string;
|
|
689
1001
|
/** Controls whether personal usage is allowed on a device provisioned with this enrollment token.For company-owned devices: Enabling personal usage allows the user to set up a work profile on the device. Disabling personal usage requires the user provision the device as a fully managed device.For personally-owned devices: Enabling personal usage allows the user to set up a work profile on the device. Disabling personal usage will prevent the device from provisioning. Personal usage cannot be disabled on personally-owned device. */
|
|
690
|
-
allowPersonalUsage?:
|
|
1002
|
+
allowPersonalUsage?:
|
|
1003
|
+
| 'ALLOW_PERSONAL_USAGE_UNSPECIFIED'
|
|
1004
|
+
| 'PERSONAL_USAGE_ALLOWED'
|
|
1005
|
+
| 'PERSONAL_USAGE_DISALLOWED'
|
|
1006
|
+
| 'PERSONAL_USAGE_DISALLOWED_USERLESS';
|
|
691
1007
|
/** The length of time the enrollment token is valid, ranging from 1 minute to Durations.MAX_VALUE (https://developers.google.com/protocol-buffers/docs/reference/java/com/google/protobuf/util/Durations.html#MAX_VALUE), approximately 10,000 years. If not specified, the default duration is 1 hour. Please note that if requested duration causes the resulting expiration_timestamp to exceed Timestamps.MAX_VALUE (https://developers.google.com/protocol-buffers/docs/reference/java/com/google/protobuf/util/Timestamps.html#MAX_VALUE), then expiration_timestamp is coerced to Timestamps.MAX_VALUE. */
|
|
692
1008
|
duration?: string;
|
|
693
1009
|
/** The expiration time of the token. This is a read-only field generated by the server. */
|
|
@@ -711,19 +1027,35 @@ declare namespace gapi.client {
|
|
|
711
1027
|
/** The enterprise contact info of an EMM-managed enterprise. */
|
|
712
1028
|
contactInfo?: ContactInfo;
|
|
713
1029
|
/** The types of Google Pub/Sub notifications enabled for the enterprise. */
|
|
714
|
-
enabledNotificationTypes?:
|
|
1030
|
+
enabledNotificationTypes?:
|
|
1031
|
+
| 'NOTIFICATION_TYPE_UNSPECIFIED'
|
|
1032
|
+
| 'ENROLLMENT'
|
|
1033
|
+
| 'COMPLIANCE_REPORT'
|
|
1034
|
+
| 'STATUS_REPORT'
|
|
1035
|
+
| 'COMMAND'
|
|
1036
|
+
| 'USAGE_LOGS'
|
|
1037
|
+
| 'ENTERPRISE_UPGRADE'[];
|
|
715
1038
|
/** The name of the enterprise displayed to users. This field has a maximum length of 100 characters. */
|
|
716
1039
|
enterpriseDisplayName?: string;
|
|
717
1040
|
/** Output only. The type of the enterprise. */
|
|
718
|
-
enterpriseType?:
|
|
1041
|
+
enterpriseType?:
|
|
1042
|
+
| 'ENTERPRISE_TYPE_UNSPECIFIED'
|
|
1043
|
+
| 'MANAGED_GOOGLE_DOMAIN'
|
|
1044
|
+
| 'MANAGED_GOOGLE_PLAY_ACCOUNTS_ENTERPRISE';
|
|
719
1045
|
/** Settings for Google-provided user authentication. */
|
|
720
1046
|
googleAuthenticationSettings?: GoogleAuthenticationSettings;
|
|
721
1047
|
/** An image displayed as a logo during device provisioning. Supported types are: image/bmp, image/gif, image/x-ico, image/jpeg, image/png, image/webp, image/vnd.wap.wbmp, image/x-adobe-dng. */
|
|
722
1048
|
logo?: ExternalData;
|
|
723
1049
|
/** Output only. The type of managed Google domain. */
|
|
724
|
-
managedGoogleDomainType?:
|
|
1050
|
+
managedGoogleDomainType?:
|
|
1051
|
+
| 'MANAGED_GOOGLE_DOMAIN_TYPE_UNSPECIFIED'
|
|
1052
|
+
| 'TYPE_TEAM'
|
|
1053
|
+
| 'TYPE_DOMAIN';
|
|
725
1054
|
/** Output only. The type of a managed Google Play Accounts enterprise. */
|
|
726
|
-
managedGooglePlayAccountsEnterpriseType?:
|
|
1055
|
+
managedGooglePlayAccountsEnterpriseType?:
|
|
1056
|
+
| 'MANAGED_GOOGLE_PLAY_ACCOUNTS_ENTERPRISE_TYPE_UNSPECIFIED'
|
|
1057
|
+
| 'CUSTOMER_MANAGED'
|
|
1058
|
+
| 'EMM_MANAGED';
|
|
727
1059
|
/** The name of the enterprise which is generated by the server during creation, in the form enterprises/{enterpriseId}. */
|
|
728
1060
|
name?: string;
|
|
729
1061
|
/** A color in RGB format that indicates the predominant color to display in the device management app UI. The color components are stored as follows: (red << 16) | (green << 8) | blue, where the value of each component is between 0 and 255, inclusive. */
|
|
@@ -739,7 +1071,7 @@ declare namespace gapi.client {
|
|
|
739
1071
|
/** The name of upgraded enterprise in the format "enterprises/{enterprise}" */
|
|
740
1072
|
enterprise?: string;
|
|
741
1073
|
/** Output only. The upgrade state of the enterprise. */
|
|
742
|
-
upgradeState?:
|
|
1074
|
+
upgradeState?: 'UPGRADE_STATE_UNSPECIFIED' | 'UPGRADE_STATE_SUCCEEDED';
|
|
743
1075
|
}
|
|
744
1076
|
interface EsimCommandStatus {
|
|
745
1077
|
/** Output only. Information about the eSIM added or removed. This is populated only when the eSIM operation status is SUCCESS. */
|
|
@@ -747,7 +1079,16 @@ declare namespace gapi.client {
|
|
|
747
1079
|
/** Output only. Details of the error if the status is set to INTERNAL_ERROR. */
|
|
748
1080
|
internalErrorDetails?: InternalErrorDetails;
|
|
749
1081
|
/** Output only. Status of an ADD_ESIM or REMOVE_ESIM command. */
|
|
750
|
-
status?:
|
|
1082
|
+
status?:
|
|
1083
|
+
| 'STATUS_UNSPECIFIED'
|
|
1084
|
+
| 'SUCCESS'
|
|
1085
|
+
| 'IN_PROGRESS'
|
|
1086
|
+
| 'PENDING_USER_ACTION'
|
|
1087
|
+
| 'ERROR_SETUP_IN_PROGRESS'
|
|
1088
|
+
| 'ERROR_USER_DENIED'
|
|
1089
|
+
| 'INTERNAL_ERROR'
|
|
1090
|
+
| 'ERROR_ICC_ID_NOT_FOUND'
|
|
1091
|
+
| 'ERROR_MULTIPLE_ACTIVE_ESIMS_NO_AVAILABLE_SLOT';
|
|
751
1092
|
}
|
|
752
1093
|
interface EsimInfo {
|
|
753
1094
|
/** Output only. ICC ID of the eSIM. */
|
|
@@ -795,7 +1136,10 @@ declare namespace gapi.client {
|
|
|
795
1136
|
}
|
|
796
1137
|
interface GoogleAuthenticationSettings {
|
|
797
1138
|
/** Output only. Whether users need to be authenticated by Google during the enrollment process. IT admin can specify if Google authentication is enabled for the enterprise for knowledge worker devices. This value can be set only via the Google Admin Console. Google authentication can be used with signin_url In the case where Google authentication is required and a signin_url is specified, Google authentication will be launched before signin_url. This value is overridden by EnrollmentToken.googleAuthenticationOptions and SigninDetail.googleAuthenticationOptions, if they are set. */
|
|
798
|
-
googleAuthenticationRequired?:
|
|
1139
|
+
googleAuthenticationRequired?:
|
|
1140
|
+
| 'GOOGLE_AUTHENTICATION_REQUIRED_UNSPECIFIED'
|
|
1141
|
+
| 'NOT_REQUIRED'
|
|
1142
|
+
| 'REQUIRED';
|
|
799
1143
|
}
|
|
800
1144
|
interface HardwareInfo {
|
|
801
1145
|
/** Battery shutdown temperature thresholds in Celsius for each battery on the device. */
|
|
@@ -849,21 +1193,61 @@ declare namespace gapi.client {
|
|
|
849
1193
|
}
|
|
850
1194
|
interface InstallConstraint {
|
|
851
1195
|
/** Optional. Charging constraint. */
|
|
852
|
-
chargingConstraint?:
|
|
1196
|
+
chargingConstraint?:
|
|
1197
|
+
| 'CHARGING_CONSTRAINT_UNSPECIFIED'
|
|
1198
|
+
| 'CHARGING_NOT_REQUIRED'
|
|
1199
|
+
| 'INSTALL_ONLY_WHEN_CHARGING';
|
|
853
1200
|
/** Optional. Device idle constraint. */
|
|
854
|
-
deviceIdleConstraint?:
|
|
1201
|
+
deviceIdleConstraint?:
|
|
1202
|
+
| 'DEVICE_IDLE_CONSTRAINT_UNSPECIFIED'
|
|
1203
|
+
| 'DEVICE_IDLE_NOT_REQUIRED'
|
|
1204
|
+
| 'INSTALL_ONLY_WHEN_DEVICE_IDLE';
|
|
855
1205
|
/** Optional. Network type constraint. */
|
|
856
|
-
networkTypeConstraint?:
|
|
1206
|
+
networkTypeConstraint?:
|
|
1207
|
+
| 'NETWORK_TYPE_CONSTRAINT_UNSPECIFIED'
|
|
1208
|
+
| 'INSTALL_ON_ANY_NETWORK'
|
|
1209
|
+
| 'INSTALL_ONLY_ON_UNMETERED_NETWORK';
|
|
857
1210
|
}
|
|
858
1211
|
interface InternalErrorDetails {
|
|
859
1212
|
/** Output only. Integer representation of the error code as specified here (https://developer.android.com/reference/android/telephony/euicc/EuiccManager#EXTRA_EMBEDDED_SUBSCRIPTION_DETAILED_CODE). See also, OPERATION_SMDX_SUBJECT_REASON_CODE. See error_code_detail for more details. */
|
|
860
1213
|
errorCode?: string;
|
|
861
1214
|
/** Output only. The error code detail corresponding to the error_code. */
|
|
862
|
-
errorCodeDetail?:
|
|
1215
|
+
errorCodeDetail?:
|
|
1216
|
+
| 'ERROR_CODE_DETAIL_UNSPECIFIED'
|
|
1217
|
+
| 'ERROR_TIME_OUT'
|
|
1218
|
+
| 'ERROR_EUICC_MISSING'
|
|
1219
|
+
| 'ERROR_UNSUPPORTED_VERSION'
|
|
1220
|
+
| 'ERROR_ADDRESS_MISSING'
|
|
1221
|
+
| 'ERROR_INVALID_CONFIRMATION_CODE'
|
|
1222
|
+
| 'ERROR_CERTIFICATE_ERROR'
|
|
1223
|
+
| 'ERROR_NO_PROFILES_AVAILABLE'
|
|
1224
|
+
| 'ERROR_CONNECTION_ERROR'
|
|
1225
|
+
| 'ERROR_INVALID_RESPONSE'
|
|
1226
|
+
| 'ERROR_CARRIER_LOCKED'
|
|
1227
|
+
| 'ERROR_DISALLOWED_BY_PPR'
|
|
1228
|
+
| 'ERROR_INVALID_ACTIVATION_CODE'
|
|
1229
|
+
| 'ERROR_INCOMPATIBLE_CARRIER'
|
|
1230
|
+
| 'ERROR_OPERATION_BUSY'
|
|
1231
|
+
| 'ERROR_INSTALL_PROFILE'
|
|
1232
|
+
| 'ERROR_EUICC_INSUFFICIENT_MEMORY'
|
|
1233
|
+
| 'ERROR_INVALID_PORT'
|
|
1234
|
+
| 'ERROR_SIM_MISSING';
|
|
863
1235
|
/** Output only. Integer representation of the operation code as specified here (https://developer.android.com/reference/android/telephony/euicc/EuiccManager#EXTRA_EMBEDDED_SUBSCRIPTION_DETAILED_CODE). See operation_code_detail for more details. */
|
|
864
1236
|
operationCode?: string;
|
|
865
1237
|
/** Output only. The operation code detail corresponding to the operation_code. */
|
|
866
|
-
operationCodeDetail?:
|
|
1238
|
+
operationCodeDetail?:
|
|
1239
|
+
| 'OPERATION_CODE_DETAIL_UNSPECIFIED'
|
|
1240
|
+
| 'OPERATION_SYSTEM'
|
|
1241
|
+
| 'OPERATION_SIM_SLOT'
|
|
1242
|
+
| 'OPERATION_EUICC_CARD'
|
|
1243
|
+
| 'OPERATION_SMDX'
|
|
1244
|
+
| 'OPERATION_SWITCH'
|
|
1245
|
+
| 'OPERATION_DOWNLOAD'
|
|
1246
|
+
| 'OPERATION_METADATA'
|
|
1247
|
+
| 'OPERATION_EUICC_GSMA'
|
|
1248
|
+
| 'OPERATION_APDU'
|
|
1249
|
+
| 'OPERATION_SMDX_SUBJECT_REASON_CODE'
|
|
1250
|
+
| 'OPERATION_HTTP';
|
|
867
1251
|
}
|
|
868
1252
|
interface IssueCommandResponse {}
|
|
869
1253
|
interface KeyDestructionEvent {
|
|
@@ -886,7 +1270,7 @@ declare namespace gapi.client {
|
|
|
886
1270
|
/** Optionally, a free-form message string to explain the app state. If the state was triggered by a particular value (e.g. a managed configuration value), it should be included in the message. */
|
|
887
1271
|
message?: string;
|
|
888
1272
|
/** The severity of the app state. */
|
|
889
|
-
severity?:
|
|
1273
|
+
severity?: 'SEVERITY_UNSPECIFIED' | 'INFO' | 'ERROR';
|
|
890
1274
|
}
|
|
891
1275
|
interface KeyGeneratedEvent {
|
|
892
1276
|
/** UID of the application which generated the key. */
|
|
@@ -920,15 +1304,32 @@ declare namespace gapi.client {
|
|
|
920
1304
|
}
|
|
921
1305
|
interface KioskCustomization {
|
|
922
1306
|
/** Specifies whether the Settings app is allowed in kiosk mode. */
|
|
923
|
-
deviceSettings?:
|
|
1307
|
+
deviceSettings?:
|
|
1308
|
+
| 'DEVICE_SETTINGS_UNSPECIFIED'
|
|
1309
|
+
| 'SETTINGS_ACCESS_ALLOWED'
|
|
1310
|
+
| 'SETTINGS_ACCESS_BLOCKED';
|
|
924
1311
|
/** Sets the behavior of a device in kiosk mode when a user presses and holds (long-presses) the Power button. */
|
|
925
|
-
powerButtonActions?:
|
|
1312
|
+
powerButtonActions?:
|
|
1313
|
+
| 'POWER_BUTTON_ACTIONS_UNSPECIFIED'
|
|
1314
|
+
| 'POWER_BUTTON_AVAILABLE'
|
|
1315
|
+
| 'POWER_BUTTON_BLOCKED';
|
|
926
1316
|
/** Specifies whether system info and notifications are disabled in kiosk mode. */
|
|
927
|
-
statusBar?:
|
|
1317
|
+
statusBar?:
|
|
1318
|
+
| 'STATUS_BAR_UNSPECIFIED'
|
|
1319
|
+
| 'NOTIFICATIONS_AND_SYSTEM_INFO_ENABLED'
|
|
1320
|
+
| 'NOTIFICATIONS_AND_SYSTEM_INFO_DISABLED'
|
|
1321
|
+
| 'SYSTEM_INFO_ONLY';
|
|
928
1322
|
/** Specifies whether system error dialogs for crashed or unresponsive apps are blocked in kiosk mode. When blocked, the system will force-stop the app as if the user chooses the "close app" option on the UI. */
|
|
929
|
-
systemErrorWarnings?:
|
|
1323
|
+
systemErrorWarnings?:
|
|
1324
|
+
| 'SYSTEM_ERROR_WARNINGS_UNSPECIFIED'
|
|
1325
|
+
| 'ERROR_AND_WARNINGS_ENABLED'
|
|
1326
|
+
| 'ERROR_AND_WARNINGS_MUTED';
|
|
930
1327
|
/** Specifies which navigation features are enabled (e.g. Home, Overview buttons) in kiosk mode. */
|
|
931
|
-
systemNavigation?:
|
|
1328
|
+
systemNavigation?:
|
|
1329
|
+
| 'SYSTEM_NAVIGATION_UNSPECIFIED'
|
|
1330
|
+
| 'NAVIGATION_ENABLED'
|
|
1331
|
+
| 'NAVIGATION_DISABLED'
|
|
1332
|
+
| 'HOME_BUTTON_ONLY';
|
|
932
1333
|
}
|
|
933
1334
|
interface LaunchAppAction {
|
|
934
1335
|
/** Package name of app to be launched */
|
|
@@ -1014,7 +1415,16 @@ declare namespace gapi.client {
|
|
|
1014
1415
|
/** The name of the property. Localized. */
|
|
1015
1416
|
title?: string;
|
|
1016
1417
|
/** The type of the property. */
|
|
1017
|
-
type?:
|
|
1418
|
+
type?:
|
|
1419
|
+
| 'MANAGED_PROPERTY_TYPE_UNSPECIFIED'
|
|
1420
|
+
| 'BOOL'
|
|
1421
|
+
| 'STRING'
|
|
1422
|
+
| 'INTEGER'
|
|
1423
|
+
| 'CHOICE'
|
|
1424
|
+
| 'MULTISELECT'
|
|
1425
|
+
| 'HIDDEN'
|
|
1426
|
+
| 'BUNDLE'
|
|
1427
|
+
| 'BUNDLE_ARRAY';
|
|
1018
1428
|
}
|
|
1019
1429
|
interface ManagedPropertyEntry {
|
|
1020
1430
|
/** The human-readable name of the value. Localized. */
|
|
@@ -1040,7 +1450,13 @@ declare namespace gapi.client {
|
|
|
1040
1450
|
/** The creation time of the event. */
|
|
1041
1451
|
createTime?: string;
|
|
1042
1452
|
/** Event type. */
|
|
1043
|
-
eventType?:
|
|
1453
|
+
eventType?:
|
|
1454
|
+
| 'MEMORY_EVENT_TYPE_UNSPECIFIED'
|
|
1455
|
+
| 'RAM_MEASURED'
|
|
1456
|
+
| 'INTERNAL_STORAGE_MEASURED'
|
|
1457
|
+
| 'EXTERNAL_STORAGE_DETECTED'
|
|
1458
|
+
| 'EXTERNAL_STORAGE_REMOVED'
|
|
1459
|
+
| 'EXTERNAL_STORAGE_MEASURED';
|
|
1044
1460
|
}
|
|
1045
1461
|
interface MemoryInfo {
|
|
1046
1462
|
/** Total internal storage on device in bytes. */
|
|
@@ -1060,7 +1476,11 @@ declare namespace gapi.client {
|
|
|
1060
1476
|
/** Immutable. The time when this migration token expires. This can be at most seven days from the time of creation. The migration token is deleted seven days after it expires. */
|
|
1061
1477
|
expireTime?: string;
|
|
1062
1478
|
/** Required. Immutable. The management mode of the device or profile being migrated. */
|
|
1063
|
-
managementMode?:
|
|
1479
|
+
managementMode?:
|
|
1480
|
+
| 'MANAGEMENT_MODE_UNSPECIFIED'
|
|
1481
|
+
| 'WORK_PROFILE_PERSONALLY_OWNED'
|
|
1482
|
+
| 'WORK_PROFILE_COMPANY_OWNED'
|
|
1483
|
+
| 'FULLY_MANAGED';
|
|
1064
1484
|
/** Output only. The name of the migration token, which is generated by the server during creation, in the form enterprises/{enterprise}/migrationTokens/{migration_token}. */
|
|
1065
1485
|
name?: string;
|
|
1066
1486
|
/** Required. Immutable. The name of the policy initially applied to the enrolled device, in the form enterprises/{enterprise}/policies/{policy}. */
|
|
@@ -1098,9 +1518,36 @@ declare namespace gapi.client {
|
|
|
1098
1518
|
/** For settings with nested fields, if a particular nested field is out of compliance, this specifies the full path to the offending field. The path is formatted in the same way the policy JSON field would be referenced in JavaScript, that is: 1) For object-typed fields, the field name is followed by a dot then by a subfield name. 2) For array-typed fields, the field name is followed by the array index enclosed in brackets. For example, to indicate a problem with the url field in the externalData field in the 3rd application, the path would be applications[2].externalData.url */
|
|
1099
1519
|
fieldPath?: string;
|
|
1100
1520
|
/** If package_name is set and the non-compliance reason is APP_NOT_INSTALLED or APP_NOT_UPDATED, the detailed reason the app can't be installed or updated. */
|
|
1101
|
-
installationFailureReason?:
|
|
1521
|
+
installationFailureReason?:
|
|
1522
|
+
| 'INSTALLATION_FAILURE_REASON_UNSPECIFIED'
|
|
1523
|
+
| 'INSTALLATION_FAILURE_REASON_UNKNOWN'
|
|
1524
|
+
| 'IN_PROGRESS'
|
|
1525
|
+
| 'NOT_FOUND'
|
|
1526
|
+
| 'NOT_COMPATIBLE_WITH_DEVICE'
|
|
1527
|
+
| 'NOT_APPROVED'
|
|
1528
|
+
| 'PERMISSIONS_NOT_ACCEPTED'
|
|
1529
|
+
| 'NOT_AVAILABLE_IN_COUNTRY'
|
|
1530
|
+
| 'NO_LICENSES_REMAINING'
|
|
1531
|
+
| 'NOT_ENROLLED'
|
|
1532
|
+
| 'USER_INVALID'
|
|
1533
|
+
| 'NETWORK_ERROR_UNRELIABLE_CONNECTION'
|
|
1534
|
+
| 'INSUFFICIENT_STORAGE';
|
|
1102
1535
|
/** The reason the device is not in compliance with the setting. */
|
|
1103
|
-
nonComplianceReason?:
|
|
1536
|
+
nonComplianceReason?:
|
|
1537
|
+
| 'NON_COMPLIANCE_REASON_UNSPECIFIED'
|
|
1538
|
+
| 'API_LEVEL'
|
|
1539
|
+
| 'MANAGEMENT_MODE'
|
|
1540
|
+
| 'USER_ACTION'
|
|
1541
|
+
| 'INVALID_VALUE'
|
|
1542
|
+
| 'APP_NOT_INSTALLED'
|
|
1543
|
+
| 'UNSUPPORTED'
|
|
1544
|
+
| 'APP_INSTALLED'
|
|
1545
|
+
| 'PENDING'
|
|
1546
|
+
| 'APP_INCOMPATIBLE'
|
|
1547
|
+
| 'APP_NOT_UPDATED'
|
|
1548
|
+
| 'DEVICE_INCOMPATIBLE'
|
|
1549
|
+
| 'APP_SIGNING_CERT_MISMATCH'
|
|
1550
|
+
| 'PROJECT_NOT_PERMITTED';
|
|
1104
1551
|
/** The package name indicating which app is out of compliance, if applicable. */
|
|
1105
1552
|
packageName?: string;
|
|
1106
1553
|
/** The name of the policy setting. This is the JSON field name of a top-level Policy field. */
|
|
@@ -1108,11 +1555,40 @@ declare namespace gapi.client {
|
|
|
1108
1555
|
/** Additional context for specific_non_compliance_reason. */
|
|
1109
1556
|
specificNonComplianceContext?: SpecificNonComplianceContext;
|
|
1110
1557
|
/** The policy-specific reason the device is not in compliance with the setting. */
|
|
1111
|
-
specificNonComplianceReason?:
|
|
1558
|
+
specificNonComplianceReason?:
|
|
1559
|
+
| 'SPECIFIC_NON_COMPLIANCE_REASON_UNSPECIFIED'
|
|
1560
|
+
| 'PASSWORD_POLICIES_USER_CREDENTIALS_CONFIRMATION_REQUIRED'
|
|
1561
|
+
| 'PASSWORD_POLICIES_PASSWORD_EXPIRED'
|
|
1562
|
+
| 'PASSWORD_POLICIES_PASSWORD_NOT_SUFFICIENT'
|
|
1563
|
+
| 'ONC_WIFI_INVALID_VALUE'
|
|
1564
|
+
| 'ONC_WIFI_API_LEVEL'
|
|
1565
|
+
| 'ONC_WIFI_INVALID_ENTERPRISE_CONFIG'
|
|
1566
|
+
| 'ONC_WIFI_USER_SHOULD_REMOVE_NETWORK'
|
|
1567
|
+
| 'ONC_WIFI_KEY_PAIR_ALIAS_NOT_CORRESPONDING_TO_EXISTING_KEY'
|
|
1568
|
+
| 'PERMISSIBLE_USAGE_RESTRICTION'
|
|
1569
|
+
| 'REQUIRED_ACCOUNT_NOT_IN_ENTERPRISE'
|
|
1570
|
+
| 'NEW_ACCOUNT_NOT_IN_ENTERPRISE'
|
|
1571
|
+
| 'DEFAULT_APPLICATION_SETTING_UNSUPPORTED_SCOPES'
|
|
1572
|
+
| 'DEFAULT_APPLICATION_SETTING_FAILED_FOR_SCOPE'
|
|
1573
|
+
| 'PRIVATE_DNS_HOST_NOT_SERVING';
|
|
1112
1574
|
}
|
|
1113
1575
|
interface NonComplianceDetailCondition {
|
|
1114
1576
|
/** The reason the device is not in compliance with the setting. If not set, then this condition matches any reason. */
|
|
1115
|
-
nonComplianceReason?:
|
|
1577
|
+
nonComplianceReason?:
|
|
1578
|
+
| 'NON_COMPLIANCE_REASON_UNSPECIFIED'
|
|
1579
|
+
| 'API_LEVEL'
|
|
1580
|
+
| 'MANAGEMENT_MODE'
|
|
1581
|
+
| 'USER_ACTION'
|
|
1582
|
+
| 'INVALID_VALUE'
|
|
1583
|
+
| 'APP_NOT_INSTALLED'
|
|
1584
|
+
| 'UNSUPPORTED'
|
|
1585
|
+
| 'APP_INSTALLED'
|
|
1586
|
+
| 'PENDING'
|
|
1587
|
+
| 'APP_INCOMPATIBLE'
|
|
1588
|
+
| 'APP_NOT_UPDATED'
|
|
1589
|
+
| 'DEVICE_INCOMPATIBLE'
|
|
1590
|
+
| 'APP_SIGNING_CERT_MISMATCH'
|
|
1591
|
+
| 'PROJECT_NOT_PERMITTED';
|
|
1116
1592
|
/** The package name of the app that's out of compliance. If not set, then this condition matches any package name. */
|
|
1117
1593
|
packageName?: string;
|
|
1118
1594
|
/** The name of the policy setting. This is the JSON field name of a top-level Policy field. If not set, then this condition matches any setting name. */
|
|
@@ -1143,9 +1619,17 @@ declare namespace gapi.client {
|
|
|
1143
1619
|
interface OsShutdownEvent {}
|
|
1144
1620
|
interface OsStartupEvent {
|
|
1145
1621
|
/** Verified Boot state. */
|
|
1146
|
-
verifiedBootState?:
|
|
1622
|
+
verifiedBootState?:
|
|
1623
|
+
| 'VERIFIED_BOOT_STATE_UNSPECIFIED'
|
|
1624
|
+
| 'GREEN'
|
|
1625
|
+
| 'YELLOW'
|
|
1626
|
+
| 'ORANGE';
|
|
1147
1627
|
/** dm-verity mode. */
|
|
1148
|
-
verityMode?:
|
|
1628
|
+
verityMode?:
|
|
1629
|
+
| 'DM_VERITY_MODE_UNSPECIFIED'
|
|
1630
|
+
| 'ENFORCING'
|
|
1631
|
+
| 'IO_ERROR'
|
|
1632
|
+
| 'DISABLED';
|
|
1149
1633
|
}
|
|
1150
1634
|
interface PackageNameList {
|
|
1151
1635
|
/** A list of package names. */
|
|
@@ -1153,7 +1637,10 @@ declare namespace gapi.client {
|
|
|
1153
1637
|
}
|
|
1154
1638
|
interface PasswordPoliciesContext {
|
|
1155
1639
|
/** The scope of non-compliant password. */
|
|
1156
|
-
passwordPolicyScope?:
|
|
1640
|
+
passwordPolicyScope?:
|
|
1641
|
+
| 'SCOPE_UNSPECIFIED'
|
|
1642
|
+
| 'SCOPE_DEVICE'
|
|
1643
|
+
| 'SCOPE_PROFILE';
|
|
1157
1644
|
}
|
|
1158
1645
|
interface PasswordRequirements {
|
|
1159
1646
|
/** Number of incorrect device-unlock passwords that can be entered before a device is wiped. A value of 0 means there is no restriction. */
|
|
@@ -1177,23 +1664,45 @@ declare namespace gapi.client {
|
|
|
1177
1664
|
/** Minimum number of upper case letters required in the password. Only enforced when password_quality is COMPLEX. */
|
|
1178
1665
|
passwordMinimumUpperCase?: number;
|
|
1179
1666
|
/** The required password quality. */
|
|
1180
|
-
passwordQuality?:
|
|
1667
|
+
passwordQuality?:
|
|
1668
|
+
| 'PASSWORD_QUALITY_UNSPECIFIED'
|
|
1669
|
+
| 'BIOMETRIC_WEAK'
|
|
1670
|
+
| 'SOMETHING'
|
|
1671
|
+
| 'NUMERIC'
|
|
1672
|
+
| 'NUMERIC_COMPLEX'
|
|
1673
|
+
| 'ALPHABETIC'
|
|
1674
|
+
| 'ALPHANUMERIC'
|
|
1675
|
+
| 'COMPLEX'
|
|
1676
|
+
| 'COMPLEXITY_LOW'
|
|
1677
|
+
| 'COMPLEXITY_MEDIUM'
|
|
1678
|
+
| 'COMPLEXITY_HIGH';
|
|
1181
1679
|
/** The scope that the password requirement applies to. */
|
|
1182
|
-
passwordScope?:
|
|
1680
|
+
passwordScope?: 'SCOPE_UNSPECIFIED' | 'SCOPE_DEVICE' | 'SCOPE_PROFILE';
|
|
1183
1681
|
/** The length of time after a device or work profile is unlocked using a strong form of authentication (password, PIN, pattern) that it can be unlocked using any other authentication method (e.g. fingerprint, trust agents, face). After the specified time period elapses, only strong forms of authentication can be used to unlock the device or work profile. */
|
|
1184
|
-
requirePasswordUnlock?:
|
|
1682
|
+
requirePasswordUnlock?:
|
|
1683
|
+
| 'REQUIRE_PASSWORD_UNLOCK_UNSPECIFIED'
|
|
1684
|
+
| 'USE_DEFAULT_DEVICE_TIMEOUT'
|
|
1685
|
+
| 'REQUIRE_EVERY_DAY';
|
|
1185
1686
|
/** Controls whether a unified lock is allowed for the device and the work profile, on devices running Android 9 and above with a work profile. This can be set only if password_scope is set to SCOPE_PROFILE, the policy will be rejected otherwise. If user has not set a separate work lock and this field is set to REQUIRE_SEPARATE_WORK_LOCK, a NonComplianceDetail is reported with nonComplianceReason set to USER_ACTION. */
|
|
1186
|
-
unifiedLockSettings?:
|
|
1687
|
+
unifiedLockSettings?:
|
|
1688
|
+
| 'UNIFIED_LOCK_SETTINGS_UNSPECIFIED'
|
|
1689
|
+
| 'ALLOW_UNIFIED_WORK_AND_PERSONAL_LOCK'
|
|
1690
|
+
| 'REQUIRE_SEPARATE_WORK_LOCK';
|
|
1187
1691
|
}
|
|
1188
1692
|
interface PerAppResult {
|
|
1189
1693
|
/** The result of an attempt to clear the data of a single app. */
|
|
1190
|
-
clearingResult?:
|
|
1694
|
+
clearingResult?:
|
|
1695
|
+
| 'CLEARING_RESULT_UNSPECIFIED'
|
|
1696
|
+
| 'SUCCESS'
|
|
1697
|
+
| 'APP_NOT_FOUND'
|
|
1698
|
+
| 'APP_PROTECTED'
|
|
1699
|
+
| 'API_LEVEL';
|
|
1191
1700
|
}
|
|
1192
1701
|
interface PermissionGrant {
|
|
1193
1702
|
/** The Android permission or group, e.g. android.permission.READ_CALENDAR or android.permission_group.CALENDAR. */
|
|
1194
1703
|
permission?: string;
|
|
1195
1704
|
/** The policy for granting the permission. */
|
|
1196
|
-
policy?:
|
|
1705
|
+
policy?: 'PERMISSION_POLICY_UNSPECIFIED' | 'PROMPT' | 'GRANT' | 'DENY';
|
|
1197
1706
|
}
|
|
1198
1707
|
interface PersistentPreferredActivity {
|
|
1199
1708
|
/** The intent actions to match in the filter. If any actions are included in the filter, then an intent's action must be one of those values for it to match. If no actions are included, the intent action is ignored. */
|
|
@@ -1205,7 +1714,7 @@ declare namespace gapi.client {
|
|
|
1205
1714
|
}
|
|
1206
1715
|
interface PersonalApplicationPolicy {
|
|
1207
1716
|
/** The type of installation to perform. */
|
|
1208
|
-
installType?:
|
|
1717
|
+
installType?: 'INSTALL_TYPE_UNSPECIFIED' | 'BLOCKED' | 'AVAILABLE';
|
|
1209
1718
|
/** The package name of the application. */
|
|
1210
1719
|
packageName?: string;
|
|
1211
1720
|
}
|
|
@@ -1213,7 +1722,10 @@ declare namespace gapi.client {
|
|
|
1213
1722
|
/** Account types that can't be managed by the user. */
|
|
1214
1723
|
accountTypesWithManagementDisabled?: string[];
|
|
1215
1724
|
/** Optional. Whether bluetooth sharing is allowed. */
|
|
1216
|
-
bluetoothSharing?:
|
|
1725
|
+
bluetoothSharing?:
|
|
1726
|
+
| 'BLUETOOTH_SHARING_UNSPECIFIED'
|
|
1727
|
+
| 'BLUETOOTH_SHARING_ALLOWED'
|
|
1728
|
+
| 'BLUETOOTH_SHARING_DISALLOWED';
|
|
1217
1729
|
/** If true, the camera is disabled on the personal profile. */
|
|
1218
1730
|
cameraDisabled?: boolean;
|
|
1219
1731
|
/** Controls how long the work profile can stay off. The minimum duration must be at least 3 days. Other details are as follows: - If the duration is set to 0, the feature is turned off. - If the duration is set to a value smaller than the minimum duration, the feature returns an error. *Note:* If you want to avoid personal profiles being suspended during long periods of off-time, you can temporarily set a large value for this parameter. */
|
|
@@ -1221,9 +1733,16 @@ declare namespace gapi.client {
|
|
|
1221
1733
|
/** Policy applied to applications in the personal profile. */
|
|
1222
1734
|
personalApplications?: PersonalApplicationPolicy[];
|
|
1223
1735
|
/** Used together with personalApplications to control how apps in the personal profile are allowed or blocked. */
|
|
1224
|
-
personalPlayStoreMode?:
|
|
1736
|
+
personalPlayStoreMode?:
|
|
1737
|
+
| 'PLAY_STORE_MODE_UNSPECIFIED'
|
|
1738
|
+
| 'BLACKLIST'
|
|
1739
|
+
| 'BLOCKLIST'
|
|
1740
|
+
| 'ALLOWLIST';
|
|
1225
1741
|
/** Optional. Controls whether a private space is allowed on the device. */
|
|
1226
|
-
privateSpacePolicy?:
|
|
1742
|
+
privateSpacePolicy?:
|
|
1743
|
+
| 'PRIVATE_SPACE_POLICY_UNSPECIFIED'
|
|
1744
|
+
| 'PRIVATE_SPACE_ALLOWED'
|
|
1745
|
+
| 'PRIVATE_SPACE_DISALLOWED';
|
|
1227
1746
|
/** If true, screen capture is disabled for all users. This also blocks Circle to Search (https://support.google.com/android/answer/14508957). */
|
|
1228
1747
|
screenCaptureDisabled?: boolean;
|
|
1229
1748
|
}
|
|
@@ -1239,17 +1758,34 @@ declare namespace gapi.client {
|
|
|
1239
1758
|
/** Configuration for an always-on VPN connection. Use with vpn_config_disabled to prevent modification of this setting. */
|
|
1240
1759
|
alwaysOnVpnPackage?: AlwaysOnVpnPackage;
|
|
1241
1760
|
/** This setting is not supported. Any value is ignored. */
|
|
1242
|
-
androidDevicePolicyTracks?:
|
|
1761
|
+
androidDevicePolicyTracks?:
|
|
1762
|
+
| 'APP_TRACK_UNSPECIFIED'
|
|
1763
|
+
| 'PRODUCTION'
|
|
1764
|
+
| 'BETA'[];
|
|
1243
1765
|
/** Recommended alternative: autoUpdateMode which is set per app, provides greater flexibility around update frequency.When autoUpdateMode is set to AUTO_UPDATE_POSTPONED or AUTO_UPDATE_HIGH_PRIORITY, this field has no effect.The app auto update policy, which controls when automatic app updates can be applied. */
|
|
1244
|
-
appAutoUpdatePolicy?:
|
|
1766
|
+
appAutoUpdatePolicy?:
|
|
1767
|
+
| 'APP_AUTO_UPDATE_POLICY_UNSPECIFIED'
|
|
1768
|
+
| 'CHOICE_TO_THE_USER'
|
|
1769
|
+
| 'NEVER'
|
|
1770
|
+
| 'WIFI_ONLY'
|
|
1771
|
+
| 'ALWAYS';
|
|
1245
1772
|
/** Optional. Controls whether apps on the device for fully managed devices or in the work profile for devices with work profiles are allowed to expose app functions. */
|
|
1246
|
-
appFunctions?:
|
|
1773
|
+
appFunctions?:
|
|
1774
|
+
| 'APP_FUNCTIONS_UNSPECIFIED'
|
|
1775
|
+
| 'APP_FUNCTIONS_DISALLOWED'
|
|
1776
|
+
| 'APP_FUNCTIONS_ALLOWED';
|
|
1247
1777
|
/** Policy applied to apps. This can have at most 3,000 elements. */
|
|
1248
1778
|
applications?: ApplicationPolicy[];
|
|
1249
1779
|
/** Optional. Controls whether AssistContent (https://developer.android.com/reference/android/app/assist/AssistContent) is allowed to be sent to a privileged app such as an assistant app. AssistContent includes screenshots and information about an app, such as package name. This is supported on Android 15 and above. */
|
|
1250
|
-
assistContentPolicy?:
|
|
1780
|
+
assistContentPolicy?:
|
|
1781
|
+
| 'ASSIST_CONTENT_POLICY_UNSPECIFIED'
|
|
1782
|
+
| 'ASSIST_CONTENT_DISALLOWED'
|
|
1783
|
+
| 'ASSIST_CONTENT_ALLOWED';
|
|
1251
1784
|
/** Whether auto date, time, and time zone are enabled on a company-owned device. If this is set, then autoTimeRequired is ignored. */
|
|
1252
|
-
autoDateAndTimeZone?:
|
|
1785
|
+
autoDateAndTimeZone?:
|
|
1786
|
+
| 'AUTO_DATE_AND_TIME_ZONE_UNSPECIFIED'
|
|
1787
|
+
| 'AUTO_DATE_AND_TIME_ZONE_USER_CHOICE'
|
|
1788
|
+
| 'AUTO_DATE_AND_TIME_ZONE_ENFORCED';
|
|
1253
1789
|
/** Whether auto time is required, which prevents the user from manually setting the date and time. If autoDateAndTimeZone is set, this field is ignored. */
|
|
1254
1790
|
autoTimeRequired?: boolean;
|
|
1255
1791
|
/** This field has no effect. */
|
|
@@ -1261,7 +1797,11 @@ declare namespace gapi.client {
|
|
|
1261
1797
|
/** Whether bluetooth is disabled. Prefer this setting over bluetooth_config_disabled because bluetooth_config_disabled can be bypassed by the user. */
|
|
1262
1798
|
bluetoothDisabled?: boolean;
|
|
1263
1799
|
/** Controls the use of the camera and whether the user has access to the camera access toggle. */
|
|
1264
|
-
cameraAccess?:
|
|
1800
|
+
cameraAccess?:
|
|
1801
|
+
| 'CAMERA_ACCESS_UNSPECIFIED'
|
|
1802
|
+
| 'CAMERA_ACCESS_USER_CHOICE'
|
|
1803
|
+
| 'CAMERA_ACCESS_DISABLED'
|
|
1804
|
+
| 'CAMERA_ACCESS_ENFORCED';
|
|
1265
1805
|
/** If camera_access is set to any value other than CAMERA_ACCESS_UNSPECIFIED, this has no effect. Otherwise this field controls whether cameras are disabled: If true, all cameras are disabled, otherwise they are available. For fully managed devices this field applies for all apps on the device. For work profiles, this field applies only to apps in the work profile, and the camera access of apps outside the work profile is unaffected. */
|
|
1266
1806
|
cameraDisabled?: boolean;
|
|
1267
1807
|
/** Whether configuring cell broadcast is disabled. */
|
|
@@ -1273,7 +1813,10 @@ declare namespace gapi.client {
|
|
|
1273
1813
|
/** Whether creating windows besides app windows is disabled. */
|
|
1274
1814
|
createWindowsDisabled?: boolean;
|
|
1275
1815
|
/** Controls which apps are allowed to act as credential providers on Android 14 and above. These apps store credentials, see this (https://developer.android.com/training/sign-in/passkeys) and this (https://developer.android.com/reference/androidx/credentials/CredentialManager) for details. See also credentialProviderPolicy. */
|
|
1276
|
-
credentialProviderPolicyDefault?:
|
|
1816
|
+
credentialProviderPolicyDefault?:
|
|
1817
|
+
| 'CREDENTIAL_PROVIDER_POLICY_DEFAULT_UNSPECIFIED'
|
|
1818
|
+
| 'CREDENTIAL_PROVIDER_DEFAULT_DISALLOWED'
|
|
1819
|
+
| 'CREDENTIAL_PROVIDER_DEFAULT_DISALLOWED_EXCEPT_SYSTEM';
|
|
1277
1820
|
/** Whether configuring user credentials is disabled. */
|
|
1278
1821
|
credentialsConfigDisabled?: boolean;
|
|
1279
1822
|
/** Cross-profile policies applied on the device. */
|
|
@@ -1285,7 +1828,11 @@ declare namespace gapi.client {
|
|
|
1285
1828
|
/** Optional. The default application setting for supported types. If the default application is successfully set for at least one app type on a profile, users are prevented from changing any default applications on that profile.Only one DefaultApplicationSetting is allowed for each DefaultApplicationType.See Default application settings (https://developers.google.com/android/management/default-application-settings) guide for more details. */
|
|
1286
1829
|
defaultApplicationSettings?: DefaultApplicationSetting[];
|
|
1287
1830
|
/** The default permission policy for runtime permission requests. */
|
|
1288
|
-
defaultPermissionPolicy?:
|
|
1831
|
+
defaultPermissionPolicy?:
|
|
1832
|
+
| 'PERMISSION_POLICY_UNSPECIFIED'
|
|
1833
|
+
| 'PROMPT'
|
|
1834
|
+
| 'GRANT'
|
|
1835
|
+
| 'DENY';
|
|
1289
1836
|
/** Covers controls for device connectivity such as Wi-Fi, USB data access, keyboard/mouse connections, and more. */
|
|
1290
1837
|
deviceConnectivityManagement?: DeviceConnectivityManagement;
|
|
1291
1838
|
/** The device owner information to be shown on the lock screen. */
|
|
@@ -1295,11 +1842,17 @@ declare namespace gapi.client {
|
|
|
1295
1842
|
/** Optional. Controls for the display settings. */
|
|
1296
1843
|
displaySettings?: DisplaySettings;
|
|
1297
1844
|
/** Whether encryption is enabled */
|
|
1298
|
-
encryptionPolicy?:
|
|
1845
|
+
encryptionPolicy?:
|
|
1846
|
+
| 'ENCRYPTION_POLICY_UNSPECIFIED'
|
|
1847
|
+
| 'ENABLED_WITHOUT_PASSWORD'
|
|
1848
|
+
| 'ENABLED_WITH_PASSWORD';
|
|
1299
1849
|
/** Whether app verification is force-enabled. */
|
|
1300
1850
|
ensureVerifyAppsEnabled?: boolean;
|
|
1301
1851
|
/** Optional. Controls whether the enterpriseDisplayName is visible on the device (e.g. lock screen message on company-owned devices). */
|
|
1302
|
-
enterpriseDisplayNameVisibility?:
|
|
1852
|
+
enterpriseDisplayNameVisibility?:
|
|
1853
|
+
| 'ENTERPRISE_DISPLAY_NAME_VISIBILITY_UNSPECIFIED'
|
|
1854
|
+
| 'ENTERPRISE_DISPLAY_NAME_VISIBLE'
|
|
1855
|
+
| 'ENTERPRISE_DISPLAY_NAME_HIDDEN';
|
|
1303
1856
|
/** Whether factory resetting from settings is disabled. */
|
|
1304
1857
|
factoryResetDisabled?: boolean;
|
|
1305
1858
|
/** Email addresses of device administrators for factory reset protection. When the device is factory reset, it will require one of these admins to log in with the Google account email and password to unlock the device. If no admins are specified, the device won't provide factory reset protection. */
|
|
@@ -1313,19 +1866,43 @@ declare namespace gapi.client {
|
|
|
1313
1866
|
/** If true, this disables the Lock Screen (https://source.android.com/docs/core/display/multi_display/lock-screen) for primary and/or secondary displays. This policy is supported only in dedicated device management mode. */
|
|
1314
1867
|
keyguardDisabled?: boolean;
|
|
1315
1868
|
/** Disabled keyguard customizations, such as widgets. */
|
|
1316
|
-
keyguardDisabledFeatures?:
|
|
1869
|
+
keyguardDisabledFeatures?:
|
|
1870
|
+
| 'KEYGUARD_DISABLED_FEATURE_UNSPECIFIED'
|
|
1871
|
+
| 'CAMERA'
|
|
1872
|
+
| 'NOTIFICATIONS'
|
|
1873
|
+
| 'UNREDACTED_NOTIFICATIONS'
|
|
1874
|
+
| 'TRUST_AGENTS'
|
|
1875
|
+
| 'DISABLE_FINGERPRINT'
|
|
1876
|
+
| 'DISABLE_REMOTE_INPUT'
|
|
1877
|
+
| 'FACE'
|
|
1878
|
+
| 'IRIS'
|
|
1879
|
+
| 'BIOMETRICS'
|
|
1880
|
+
| 'SHORTCUTS'
|
|
1881
|
+
| 'ALL_FEATURES'[];
|
|
1317
1882
|
/** Settings controlling the behavior of a device in kiosk mode. To enable kiosk mode, set kioskCustomLauncherEnabled to true or specify an app in the policy with installType KIOSK. */
|
|
1318
1883
|
kioskCustomization?: KioskCustomization;
|
|
1319
1884
|
/** Whether the kiosk custom launcher is enabled. This replaces the home screen with a launcher that locks down the device to the apps installed via the applications setting. Apps appear on a single page in alphabetical order. Use kioskCustomization to further configure the kiosk device behavior. */
|
|
1320
1885
|
kioskCustomLauncherEnabled?: boolean;
|
|
1321
1886
|
/** The degree of location detection enabled. */
|
|
1322
|
-
locationMode?:
|
|
1887
|
+
locationMode?:
|
|
1888
|
+
| 'LOCATION_MODE_UNSPECIFIED'
|
|
1889
|
+
| 'HIGH_ACCURACY'
|
|
1890
|
+
| 'SENSORS_ONLY'
|
|
1891
|
+
| 'BATTERY_SAVING'
|
|
1892
|
+
| 'OFF'
|
|
1893
|
+
| 'LOCATION_USER_CHOICE'
|
|
1894
|
+
| 'LOCATION_ENFORCED'
|
|
1895
|
+
| 'LOCATION_DISABLED';
|
|
1323
1896
|
/** A message displayed to the user in the device administators settings screen. */
|
|
1324
1897
|
longSupportMessage?: UserFacingMessage;
|
|
1325
1898
|
/** Maximum time in milliseconds for user activity until the device locks. A value of 0 means there is no restriction. */
|
|
1326
1899
|
maximumTimeToLock?: string;
|
|
1327
1900
|
/** Controls the use of the microphone and whether the user has access to the microphone access toggle. This applies only on fully managed devices. */
|
|
1328
|
-
microphoneAccess?:
|
|
1901
|
+
microphoneAccess?:
|
|
1902
|
+
| 'MICROPHONE_ACCESS_UNSPECIFIED'
|
|
1903
|
+
| 'MICROPHONE_ACCESS_USER_CHOICE'
|
|
1904
|
+
| 'MICROPHONE_ACCESS_DISABLED'
|
|
1905
|
+
| 'MICROPHONE_ACCESS_ENFORCED';
|
|
1329
1906
|
/** The minimum allowed Android API level. */
|
|
1330
1907
|
minimumApiLevel?: number;
|
|
1331
1908
|
/** Whether configuring mobile networks is disabled. */
|
|
@@ -1363,13 +1940,19 @@ declare namespace gapi.client {
|
|
|
1363
1940
|
/** Policies managing personal usage on a company-owned device. */
|
|
1364
1941
|
personalUsagePolicies?: PersonalUsagePolicies;
|
|
1365
1942
|
/** This mode controls which apps are available to the user in the Play Store and the behavior on the device when apps are removed from the policy. */
|
|
1366
|
-
playStoreMode?:
|
|
1943
|
+
playStoreMode?: 'PLAY_STORE_MODE_UNSPECIFIED' | 'WHITELIST' | 'BLACKLIST';
|
|
1367
1944
|
/** Rules that define the behavior when a particular policy can not be applied on device */
|
|
1368
1945
|
policyEnforcementRules?: PolicyEnforcementRule[];
|
|
1369
1946
|
/** Controls whether preferential network service is enabled on the work profile or on fully managed devices. For example, an organization may have an agreement with a carrier that all of the work data from its employees' devices will be sent via a network service dedicated for enterprise use. An example of a supported preferential network service is the enterprise slice on 5G networks. This policy has no effect if preferentialNetworkServiceSettings or ApplicationPolicy.preferentialNetworkId is set on devices running Android 13 or above. */
|
|
1370
|
-
preferentialNetworkService?:
|
|
1947
|
+
preferentialNetworkService?:
|
|
1948
|
+
| 'PREFERENTIAL_NETWORK_SERVICE_UNSPECIFIED'
|
|
1949
|
+
| 'PREFERENTIAL_NETWORK_SERVICE_DISABLED'
|
|
1950
|
+
| 'PREFERENTIAL_NETWORK_SERVICE_ENABLED';
|
|
1371
1951
|
/** Optional. Controls whether printing is allowed. This is supported on devices running Android 9 and above. . */
|
|
1372
|
-
printingPolicy?:
|
|
1952
|
+
printingPolicy?:
|
|
1953
|
+
| 'PRINTING_POLICY_UNSPECIFIED'
|
|
1954
|
+
| 'PRINTING_DISALLOWED'
|
|
1955
|
+
| 'PRINTING_ALLOWED';
|
|
1373
1956
|
/** Allows showing UI on a device for a user to choose a private key alias if there are no matching rules in ChoosePrivateKeyRules. For devices below Android P, setting this may leave enterprise keys vulnerable. This value will have no effect if any application has CERT_SELECTION delegation scope. */
|
|
1374
1957
|
privateKeySelectionEnabled?: boolean;
|
|
1375
1958
|
/** The network-independent global HTTP proxy. Typically proxies should be configured per-network in open_network_configuration. However for unusual configurations like general internal filtering a global HTTP proxy may be useful. If the proxy is not accessible, network access may break. The global proxy is only a recommendation and some apps may ignore it. */
|
|
@@ -1399,7 +1982,11 @@ declare namespace gapi.client {
|
|
|
1399
1982
|
/** Status reporting settings */
|
|
1400
1983
|
statusReportingSettings?: StatusReportingSettings;
|
|
1401
1984
|
/** The battery plugged in modes for which the device stays on. When using this setting, it is recommended to clear maximum_time_to_lock so that the device doesn't lock itself while it stays on. */
|
|
1402
|
-
stayOnPluggedModes?:
|
|
1985
|
+
stayOnPluggedModes?:
|
|
1986
|
+
| 'BATTERY_PLUGGED_MODE_UNSPECIFIED'
|
|
1987
|
+
| 'AC'
|
|
1988
|
+
| 'USB'
|
|
1989
|
+
| 'WIRELESS'[];
|
|
1403
1990
|
/** The system update policy, which controls how OS updates are applied. If the update type is WINDOWED, the update window will automatically apply to Play app updates as well.Note: Google Play system updates (https://source.android.com/docs/core/ota/modular-system) (also called Mainline updates) are automatically downloaded and require a device reboot to be installed. Refer to the mainline section in Manage system updates (https://developer.android.com/work/dpc/system-updates#mainline) for further details. */
|
|
1404
1991
|
systemUpdate?: SystemUpdate;
|
|
1405
1992
|
/** Whether configuring tethering and portable hotspots is disabled. If tetheringSettings is set to anything other than TETHERING_SETTINGS_UNSPECIFIED, this setting is ignored. */
|
|
@@ -1423,7 +2010,7 @@ declare namespace gapi.client {
|
|
|
1423
2010
|
/** This is deprecated. */
|
|
1424
2011
|
wifiConfigsLockdownEnabled?: boolean;
|
|
1425
2012
|
/** Optional. Wipe flags to indicate what data is wiped when a device or profile wipe is triggered due to any reason (for example, non-compliance). This does not apply to the enterprises.devices.delete method. . This list must not have duplicates. */
|
|
1426
|
-
wipeDataFlags?:
|
|
2013
|
+
wipeDataFlags?: 'WIPE_DATA_FLAG_UNSPECIFIED' | 'WIPE_ESIMS'[];
|
|
1427
2014
|
/** Optional. Controls the work account setup configuration, such as details of whether a Google authenticated account is required. */
|
|
1428
2015
|
workAccountSetupConfig?: WorkAccountSetupConfig;
|
|
1429
2016
|
}
|
|
@@ -1439,7 +2026,11 @@ declare namespace gapi.client {
|
|
|
1439
2026
|
/** Corresponding admin-facing advice to mitigate this security risk and improve the security posture of the device. */
|
|
1440
2027
|
advice?: UserFacingMessage[];
|
|
1441
2028
|
/** A specific security risk that negatively affects the security posture of the device. */
|
|
1442
|
-
securityRisk?:
|
|
2029
|
+
securityRisk?:
|
|
2030
|
+
| 'SECURITY_RISK_UNSPECIFIED'
|
|
2031
|
+
| 'UNKNOWN_OS'
|
|
2032
|
+
| 'COMPROMISED_OS'
|
|
2033
|
+
| 'HARDWARE_BACKED_EVALUATION_FAILED';
|
|
1443
2034
|
}
|
|
1444
2035
|
interface PowerManagementEvent {
|
|
1445
2036
|
/** For BATTERY_LEVEL_COLLECTED events, the battery level as a percentage. */
|
|
@@ -1447,19 +2038,47 @@ declare namespace gapi.client {
|
|
|
1447
2038
|
/** The creation time of the event. */
|
|
1448
2039
|
createTime?: string;
|
|
1449
2040
|
/** Event type. */
|
|
1450
|
-
eventType?:
|
|
2041
|
+
eventType?:
|
|
2042
|
+
| 'POWER_MANAGEMENT_EVENT_TYPE_UNSPECIFIED'
|
|
2043
|
+
| 'BATTERY_LEVEL_COLLECTED'
|
|
2044
|
+
| 'POWER_CONNECTED'
|
|
2045
|
+
| 'POWER_DISCONNECTED'
|
|
2046
|
+
| 'BATTERY_LOW'
|
|
2047
|
+
| 'BATTERY_OKAY'
|
|
2048
|
+
| 'BOOT_COMPLETED'
|
|
2049
|
+
| 'SHUTDOWN';
|
|
1451
2050
|
}
|
|
1452
2051
|
interface PreferentialNetworkServiceConfig {
|
|
1453
2052
|
/** Optional. Whether fallback to the device-wide default network is allowed. If this is set to FALLBACK_TO_DEFAULT_CONNECTION_ALLOWED, then nonMatchingNetworks must not be set to NON_MATCHING_NETWORKS_DISALLOWED, the policy will be rejected otherwise. Note: If this is set to FALLBACK_TO_DEFAULT_CONNECTION_DISALLOWED, applications are not able to access the internet if the 5G slice is not available. */
|
|
1454
|
-
fallbackToDefaultConnection?:
|
|
2053
|
+
fallbackToDefaultConnection?:
|
|
2054
|
+
| 'FALLBACK_TO_DEFAULT_CONNECTION_UNSPECIFIED'
|
|
2055
|
+
| 'FALLBACK_TO_DEFAULT_CONNECTION_ALLOWED'
|
|
2056
|
+
| 'FALLBACK_TO_DEFAULT_CONNECTION_DISALLOWED';
|
|
1455
2057
|
/** Optional. Whether apps this configuration applies to are blocked from using networks other than the preferential service. If this is set to NON_MATCHING_NETWORKS_DISALLOWED, then fallbackToDefaultConnection must be set to FALLBACK_TO_DEFAULT_CONNECTION_DISALLOWED. */
|
|
1456
|
-
nonMatchingNetworks?:
|
|
2058
|
+
nonMatchingNetworks?:
|
|
2059
|
+
| 'NON_MATCHING_NETWORKS_UNSPECIFIED'
|
|
2060
|
+
| 'NON_MATCHING_NETWORKS_ALLOWED'
|
|
2061
|
+
| 'NON_MATCHING_NETWORKS_DISALLOWED';
|
|
1457
2062
|
/** Required. Preferential network identifier. This must not be set to NO_PREFERENTIAL_NETWORK or PREFERENTIAL_NETWORK_ID_UNSPECIFIED, the policy will be rejected otherwise. */
|
|
1458
|
-
preferentialNetworkId?:
|
|
2063
|
+
preferentialNetworkId?:
|
|
2064
|
+
| 'PREFERENTIAL_NETWORK_ID_UNSPECIFIED'
|
|
2065
|
+
| 'NO_PREFERENTIAL_NETWORK'
|
|
2066
|
+
| 'PREFERENTIAL_NETWORK_ID_ONE'
|
|
2067
|
+
| 'PREFERENTIAL_NETWORK_ID_TWO'
|
|
2068
|
+
| 'PREFERENTIAL_NETWORK_ID_THREE'
|
|
2069
|
+
| 'PREFERENTIAL_NETWORK_ID_FOUR'
|
|
2070
|
+
| 'PREFERENTIAL_NETWORK_ID_FIVE';
|
|
1459
2071
|
}
|
|
1460
2072
|
interface PreferentialNetworkServiceSettings {
|
|
1461
2073
|
/** Required. Default preferential network ID for the applications that are not in applications or if ApplicationPolicy.preferentialNetworkId is set to PREFERENTIAL_NETWORK_ID_UNSPECIFIED. There must be a configuration for the specified network ID in preferentialNetworkServiceConfigs, unless this is set to NO_PREFERENTIAL_NETWORK. If set to PREFERENTIAL_NETWORK_ID_UNSPECIFIED or unset, this defaults to NO_PREFERENTIAL_NETWORK. Note: If the default preferential network is misconfigured, applications with no ApplicationPolicy.preferentialNetworkId set are not able to access the internet. This setting does not apply to the following critical apps: com.google.android.apps.work.clouddpc com.google.android.gmsApplicationPolicy.preferentialNetworkId can still be used to configure the preferential network for them. */
|
|
1462
|
-
defaultPreferentialNetworkId?:
|
|
2074
|
+
defaultPreferentialNetworkId?:
|
|
2075
|
+
| 'PREFERENTIAL_NETWORK_ID_UNSPECIFIED'
|
|
2076
|
+
| 'NO_PREFERENTIAL_NETWORK'
|
|
2077
|
+
| 'PREFERENTIAL_NETWORK_ID_ONE'
|
|
2078
|
+
| 'PREFERENTIAL_NETWORK_ID_TWO'
|
|
2079
|
+
| 'PREFERENTIAL_NETWORK_ID_THREE'
|
|
2080
|
+
| 'PREFERENTIAL_NETWORK_ID_FOUR'
|
|
2081
|
+
| 'PREFERENTIAL_NETWORK_ID_FIVE';
|
|
1463
2082
|
/** Required. Preferential network service configurations which enables having multiple enterprise slices. There must not be multiple configurations with the same preferentialNetworkId. If a configuration is not referenced by any application by setting ApplicationPolicy.preferentialNetworkId or by setting defaultPreferentialNetworkId, it will be ignored. For devices on 4G networks, enterprise APN needs to be configured additionally to set up data call for preferential network service. These APNs can be added using apnPolicy. */
|
|
1464
2083
|
preferentialNetworkServiceConfigs?: PreferentialNetworkServiceConfig[];
|
|
1465
2084
|
}
|
|
@@ -1467,7 +2086,11 @@ declare namespace gapi.client {
|
|
|
1467
2086
|
/** Optional. The hostname of the DNS server. This must be set if and only if private_dns_mode is set to PRIVATE_DNS_SPECIFIED_HOST. Supported on Android 10 and above on fully managed devices. A NonComplianceDetail with MANAGEMENT_MODE is reported on other management modes. A NonComplianceDetail with API_LEVEL is reported if the Android version is less than 10. A NonComplianceDetail with PENDING is reported if the device is not connected to a network. A NonComplianceDetail with nonComplianceReason INVALID_VALUE and specificNonComplianceReason PRIVATE_DNS_HOST_NOT_SERVING is reported if the specified host is not a DNS server or not supported on Android. A NonComplianceDetail with INVALID_VALUE is reported if applying this setting fails for any other reason. */
|
|
1468
2087
|
privateDnsHost?: string;
|
|
1469
2088
|
/** Optional. The configuration mode for device's global private DNS settings. If this is set to PRIVATE_DNS_SPECIFIED_HOST, then private_dns_host must be set. */
|
|
1470
|
-
privateDnsMode?:
|
|
2089
|
+
privateDnsMode?:
|
|
2090
|
+
| 'PRIVATE_DNS_MODE_UNSPECIFIED'
|
|
2091
|
+
| 'PRIVATE_DNS_USER_CHOICE'
|
|
2092
|
+
| 'PRIVATE_DNS_AUTOMATIC'
|
|
2093
|
+
| 'PRIVATE_DNS_SPECIFIED_HOST';
|
|
1471
2094
|
}
|
|
1472
2095
|
interface ProvisioningInfo {
|
|
1473
2096
|
/** The API level of the Android platform version running on the device. */
|
|
@@ -1481,7 +2104,10 @@ declare namespace gapi.client {
|
|
|
1481
2104
|
/** For corporate-owned devices, IMEI number of the GSM device. For example, A1000031212. */
|
|
1482
2105
|
imei?: string;
|
|
1483
2106
|
/** The management mode of the device or profile. */
|
|
1484
|
-
managementMode?:
|
|
2107
|
+
managementMode?:
|
|
2108
|
+
| 'MANAGEMENT_MODE_UNSPECIFIED'
|
|
2109
|
+
| 'DEVICE_OWNER'
|
|
2110
|
+
| 'PROFILE_OWNER';
|
|
1485
2111
|
/** For corporate-owned devices, MEID number of the CDMA device. For example, A00000292788E1. */
|
|
1486
2112
|
meid?: string;
|
|
1487
2113
|
/** The model of the device. For example, Asus Nexus 7. */
|
|
@@ -1489,7 +2115,10 @@ declare namespace gapi.client {
|
|
|
1489
2115
|
/** The name of this resource in the form provisioningInfo/{provisioning_info}. */
|
|
1490
2116
|
name?: string;
|
|
1491
2117
|
/** Ownership of the managed device. */
|
|
1492
|
-
ownership?:
|
|
2118
|
+
ownership?:
|
|
2119
|
+
| 'OWNERSHIP_UNSPECIFIED'
|
|
2120
|
+
| 'COMPANY_OWNED'
|
|
2121
|
+
| 'PERSONALLY_OWNED';
|
|
1493
2122
|
/** For corporate-owned devices, The device serial number. */
|
|
1494
2123
|
serialNumber?: string;
|
|
1495
2124
|
}
|
|
@@ -1525,33 +2154,54 @@ declare namespace gapi.client {
|
|
|
1525
2154
|
}
|
|
1526
2155
|
interface RequestDeviceInfoParams {
|
|
1527
2156
|
/** Required. Type of device information to be requested. */
|
|
1528
|
-
deviceInfo?:
|
|
2157
|
+
deviceInfo?: 'DEVICE_INFO_UNSPECIFIED' | 'EID';
|
|
1529
2158
|
}
|
|
1530
2159
|
interface RequestDeviceInfoStatus {
|
|
1531
2160
|
/** Information related to the EIDs of the device. */
|
|
1532
2161
|
eidInfo?: EidInfo;
|
|
1533
2162
|
/** Output only. Status of a REQUEST_DEVICE_INFO command. */
|
|
1534
|
-
status?:
|
|
2163
|
+
status?:
|
|
2164
|
+
| 'STATUS_UNSPECIFIED'
|
|
2165
|
+
| 'SUCCEEDED'
|
|
2166
|
+
| 'PENDING_USER_ACTION'
|
|
2167
|
+
| 'USER_DECLINED'
|
|
2168
|
+
| 'UNSUPPORTED';
|
|
1535
2169
|
}
|
|
1536
2170
|
interface Role {
|
|
1537
2171
|
/** Required. The type of the role an app can have. */
|
|
1538
|
-
roleType?:
|
|
2172
|
+
roleType?:
|
|
2173
|
+
| 'ROLE_TYPE_UNSPECIFIED'
|
|
2174
|
+
| 'COMPANION_APP'
|
|
2175
|
+
| 'KIOSK'
|
|
2176
|
+
| 'MOBILE_THREAT_DEFENSE_ENDPOINT_DETECTION_RESPONSE'
|
|
2177
|
+
| 'SYSTEM_HEALTH_MONITORING';
|
|
1539
2178
|
}
|
|
1540
2179
|
interface ScreenBrightnessSettings {
|
|
1541
2180
|
/** Optional. The screen brightness between 1 and 255 where 1 is the lowest and 255 is the highest brightness. A value of 0 (default) means no screen brightness set. Any other value is rejected. screenBrightnessMode must be either BRIGHTNESS_AUTOMATIC or BRIGHTNESS_FIXED to set this. Supported on Android 9 and above on fully managed devices. A NonComplianceDetail with API_LEVEL is reported if the Android version is less than 9. Supported on work profiles on company-owned devices on Android 15 and above. */
|
|
1542
2181
|
screenBrightness?: number;
|
|
1543
2182
|
/** Optional. Controls the screen brightness mode. */
|
|
1544
|
-
screenBrightnessMode?:
|
|
2183
|
+
screenBrightnessMode?:
|
|
2184
|
+
| 'SCREEN_BRIGHTNESS_MODE_UNSPECIFIED'
|
|
2185
|
+
| 'BRIGHTNESS_USER_CHOICE'
|
|
2186
|
+
| 'BRIGHTNESS_AUTOMATIC'
|
|
2187
|
+
| 'BRIGHTNESS_FIXED';
|
|
1545
2188
|
}
|
|
1546
2189
|
interface ScreenTimeoutSettings {
|
|
1547
2190
|
/** Optional. Controls the screen timeout duration. The screen timeout duration must be greater than 0, otherwise it is rejected. Additionally, it should not be greater than maximumTimeToLock, otherwise the screen timeout is set to maximumTimeToLock and a NonComplianceDetail with INVALID_VALUE reason and SCREEN_TIMEOUT_GREATER_THAN_MAXIMUM_TIME_TO_LOCK specific reason is reported. If the screen timeout is less than a certain lower bound, it is set to the lower bound. The lower bound may vary across devices. If this is set, screenTimeoutMode must be SCREEN_TIMEOUT_ENFORCED. Supported on Android 9 and above on fully managed devices. A NonComplianceDetail with API_LEVEL is reported if the Android version is less than 9. Supported on work profiles on company-owned devices on Android 15 and above. */
|
|
1548
2191
|
screenTimeout?: string;
|
|
1549
2192
|
/** Optional. Controls whether the user is allowed to configure the screen timeout. */
|
|
1550
|
-
screenTimeoutMode?:
|
|
2193
|
+
screenTimeoutMode?:
|
|
2194
|
+
| 'SCREEN_TIMEOUT_MODE_UNSPECIFIED'
|
|
2195
|
+
| 'SCREEN_TIMEOUT_USER_CHOICE'
|
|
2196
|
+
| 'SCREEN_TIMEOUT_ENFORCED';
|
|
1551
2197
|
}
|
|
1552
2198
|
interface SecurityPosture {
|
|
1553
2199
|
/** Device's security posture value. */
|
|
1554
|
-
devicePosture?:
|
|
2200
|
+
devicePosture?:
|
|
2201
|
+
| 'POSTURE_UNSPECIFIED'
|
|
2202
|
+
| 'SECURE'
|
|
2203
|
+
| 'AT_RISK'
|
|
2204
|
+
| 'POTENTIALLY_COMPROMISED';
|
|
1555
2205
|
/** Additional details regarding the security posture of the device. */
|
|
1556
2206
|
postureDetails?: PostureDetail[];
|
|
1557
2207
|
}
|
|
@@ -1565,9 +2215,16 @@ declare namespace gapi.client {
|
|
|
1565
2215
|
}
|
|
1566
2216
|
interface SigninDetail {
|
|
1567
2217
|
/** Controls whether personal usage is allowed on a device provisioned with this enrollment token.For company-owned devices: Enabling personal usage allows the user to set up a work profile on the device. Disabling personal usage requires the user provision the device as a fully managed device.For personally-owned devices: Enabling personal usage allows the user to set up a work profile on the device. Disabling personal usage will prevent the device from provisioning. Personal usage cannot be disabled on personally-owned device. */
|
|
1568
|
-
allowPersonalUsage?:
|
|
2218
|
+
allowPersonalUsage?:
|
|
2219
|
+
| 'ALLOW_PERSONAL_USAGE_UNSPECIFIED'
|
|
2220
|
+
| 'PERSONAL_USAGE_ALLOWED'
|
|
2221
|
+
| 'PERSONAL_USAGE_DISALLOWED'
|
|
2222
|
+
| 'PERSONAL_USAGE_DISALLOWED_USERLESS';
|
|
1569
2223
|
/** Optional. Whether the sign-in URL should be used by default for the enterprise. The SigninDetail with defaultStatus set to SIGNIN_DETAIL_IS_DEFAULT is used for Google account enrollment method. Only one of an enterprise's signinDetails can have defaultStatus set to SIGNIN_DETAIL_IS_DEFAULT. If an Enterprise has at least one signinDetails and none of them have defaultStatus set to SIGNIN_DETAIL_IS_DEFAULT then the first one from the list is selected and has set defaultStatus to SIGNIN_DETAIL_IS_DEFAULT. If no signinDetails specified for the Enterprise then the Google Account device enrollment will fail. */
|
|
1570
|
-
defaultStatus?:
|
|
2224
|
+
defaultStatus?:
|
|
2225
|
+
| 'SIGNIN_DETAIL_DEFAULT_STATUS_UNSPECIFIED'
|
|
2226
|
+
| 'SIGNIN_DETAIL_IS_DEFAULT'
|
|
2227
|
+
| 'SIGNIN_DETAIL_IS_NOT_DEFAULT';
|
|
1571
2228
|
/** A JSON string whose UTF-8 representation can be used to generate a QR code to enroll a device with this enrollment token. To enroll a device using NFC, the NFC record must contain a serialized java.util.Properties representation of the properties in the JSON. This is a read-only field generated by the server. */
|
|
1572
2229
|
qrCode?: string;
|
|
1573
2230
|
/** An enterprise wide enrollment token used to trigger custom sign-in flow. This is a read-only field generated by the server. */
|
|
@@ -1629,7 +2286,12 @@ declare namespace gapi.client {
|
|
|
1629
2286
|
}
|
|
1630
2287
|
interface StartLostModeStatus {
|
|
1631
2288
|
/** The status. See StartLostModeStatus. */
|
|
1632
|
-
status?:
|
|
2289
|
+
status?:
|
|
2290
|
+
| 'STATUS_UNSPECIFIED'
|
|
2291
|
+
| 'SUCCESS'
|
|
2292
|
+
| 'RESET_PASSWORD_RECENTLY'
|
|
2293
|
+
| 'USER_EXIT_LOST_MODE_RECENTLY'
|
|
2294
|
+
| 'ALREADY_IN_LOST_MODE';
|
|
1633
2295
|
}
|
|
1634
2296
|
interface Status {
|
|
1635
2297
|
/** The status code, which should be an enum value of google.rpc.Code. */
|
|
@@ -1668,11 +2330,11 @@ declare namespace gapi.client {
|
|
|
1668
2330
|
interface StopLostModeParams {}
|
|
1669
2331
|
interface StopLostModeStatus {
|
|
1670
2332
|
/** The status. See StopLostModeStatus. */
|
|
1671
|
-
status?:
|
|
2333
|
+
status?: 'STATUS_UNSPECIFIED' | 'SUCCESS' | 'NOT_IN_LOST_MODE';
|
|
1672
2334
|
}
|
|
1673
2335
|
interface StopLostModeUserAttemptEvent {
|
|
1674
2336
|
/** The status of the attempt to stop lost mode. */
|
|
1675
|
-
status?:
|
|
2337
|
+
status?: 'STATUS_UNSPECIFIED' | 'ATTEMPT_SUCCEEDED' | 'ATTEMPT_FAILED';
|
|
1676
2338
|
}
|
|
1677
2339
|
interface SystemUpdate {
|
|
1678
2340
|
/** If the type is WINDOWED, the end of the maintenance window, measured as the number of minutes after midnight in device's local time. This value must be between 0 and 1439, inclusive. If this value is less than start_minutes, then the maintenance window spans midnight. If the maintenance window specified is smaller than 30 minutes, the actual window is extended to 30 minutes beyond the start time. */
|
|
@@ -1682,21 +2344,36 @@ declare namespace gapi.client {
|
|
|
1682
2344
|
/** If the type is WINDOWED, the start of the maintenance window, measured as the number of minutes after midnight in the device's local time. This value must be between 0 and 1439, inclusive. */
|
|
1683
2345
|
startMinutes?: number;
|
|
1684
2346
|
/** The type of system update to configure. */
|
|
1685
|
-
type?:
|
|
2347
|
+
type?:
|
|
2348
|
+
| 'SYSTEM_UPDATE_TYPE_UNSPECIFIED'
|
|
2349
|
+
| 'AUTOMATIC'
|
|
2350
|
+
| 'WINDOWED'
|
|
2351
|
+
| 'POSTPONE';
|
|
1686
2352
|
}
|
|
1687
2353
|
interface SystemUpdateInfo {
|
|
1688
2354
|
/** The time when the update was first available. A zero value indicates that this field is not set. This field is set only if an update is available (that is, updateStatus is neither UPDATE_STATUS_UNKNOWN nor UP_TO_DATE). */
|
|
1689
2355
|
updateReceivedTime?: string;
|
|
1690
2356
|
/** The status of an update: whether an update exists and what type it is. */
|
|
1691
|
-
updateStatus?:
|
|
2357
|
+
updateStatus?:
|
|
2358
|
+
| 'UPDATE_STATUS_UNKNOWN'
|
|
2359
|
+
| 'UP_TO_DATE'
|
|
2360
|
+
| 'UNKNOWN_UPDATE_AVAILABLE'
|
|
2361
|
+
| 'SECURITY_UPDATE_AVAILABLE'
|
|
2362
|
+
| 'OS_UPDATE_AVAILABLE';
|
|
1692
2363
|
}
|
|
1693
2364
|
interface TelephonyInfo {
|
|
1694
2365
|
/** Output only. Activation state of the SIM card on the device. This is applicable for eSIMs only. This is supported on all devices for Android 15 and above. This is always ACTIVATION_STATE_UNSPECIFIED for physical SIMs and for devices below Android 15. */
|
|
1695
|
-
activationState?:
|
|
2366
|
+
activationState?:
|
|
2367
|
+
| 'ACTIVATION_STATE_UNSPECIFIED'
|
|
2368
|
+
| 'ACTIVATED'
|
|
2369
|
+
| 'NOT_ACTIVATED';
|
|
1696
2370
|
/** The carrier name associated with this SIM card. */
|
|
1697
2371
|
carrierName?: string;
|
|
1698
2372
|
/** Output only. The configuration mode of the SIM card on the device. This is applicable for eSIMs only. This is supported on all devices for Android 15 and above. This is always CONFIG_MODE_UNSPECIFIED for physical SIMs and for devices below Android 15. */
|
|
1699
|
-
configMode?:
|
|
2373
|
+
configMode?:
|
|
2374
|
+
| 'CONFIG_MODE_UNSPECIFIED'
|
|
2375
|
+
| 'ADMIN_CONFIGURED'
|
|
2376
|
+
| 'USER_CONFIGURED';
|
|
1700
2377
|
/** Output only. The ICCID associated with this SIM card. */
|
|
1701
2378
|
iccId?: string;
|
|
1702
2379
|
/** The phone number associated with this SIM card. */
|
|
@@ -1710,9 +2387,15 @@ declare namespace gapi.client {
|
|
|
1710
2387
|
}
|
|
1711
2388
|
interface UsageLog {
|
|
1712
2389
|
/** Specifies which log types are enabled. Note that users will receive on-device messaging when usage logging is enabled. */
|
|
1713
|
-
enabledLogTypes?:
|
|
2390
|
+
enabledLogTypes?:
|
|
2391
|
+
| 'LOG_TYPE_UNSPECIFIED'
|
|
2392
|
+
| 'SECURITY_LOGS'
|
|
2393
|
+
| 'NETWORK_ACTIVITY_LOGS'[];
|
|
1714
2394
|
/** Specifies which of the enabled log types can be uploaded over mobile data. By default logs are queued for upload when the device connects to WiFi. */
|
|
1715
|
-
uploadOnCellularAllowed?:
|
|
2395
|
+
uploadOnCellularAllowed?:
|
|
2396
|
+
| 'LOG_TYPE_UNSPECIFIED'
|
|
2397
|
+
| 'SECURITY_LOGS'
|
|
2398
|
+
| 'NETWORK_ACTIVITY_LOGS'[];
|
|
1716
2399
|
}
|
|
1717
2400
|
interface UsageLogEvent {
|
|
1718
2401
|
/** A shell command was issued over ADB via “adb shell command”. Part of SECURITY_LOGS. */
|
|
@@ -1742,7 +2425,40 @@ declare namespace gapi.client {
|
|
|
1742
2425
|
/** Device timestamp when the event was logged. */
|
|
1743
2426
|
eventTime?: string;
|
|
1744
2427
|
/** The particular usage log event type that was reported on the device. Use this to determine which event field to access. */
|
|
1745
|
-
eventType?:
|
|
2428
|
+
eventType?:
|
|
2429
|
+
| 'EVENT_TYPE_UNSPECIFIED'
|
|
2430
|
+
| 'ADB_SHELL_COMMAND'
|
|
2431
|
+
| 'ADB_SHELL_INTERACTIVE'
|
|
2432
|
+
| 'APP_PROCESS_START'
|
|
2433
|
+
| 'KEYGUARD_DISMISSED'
|
|
2434
|
+
| 'KEYGUARD_DISMISS_AUTH_ATTEMPT'
|
|
2435
|
+
| 'KEYGUARD_SECURED'
|
|
2436
|
+
| 'FILE_PULLED'
|
|
2437
|
+
| 'FILE_PUSHED'
|
|
2438
|
+
| 'CERT_AUTHORITY_INSTALLED'
|
|
2439
|
+
| 'CERT_AUTHORITY_REMOVED'
|
|
2440
|
+
| 'CERT_VALIDATION_FAILURE'
|
|
2441
|
+
| 'CRYPTO_SELF_TEST_COMPLETED'
|
|
2442
|
+
| 'KEY_DESTRUCTION'
|
|
2443
|
+
| 'KEY_GENERATED'
|
|
2444
|
+
| 'KEY_IMPORT'
|
|
2445
|
+
| 'KEY_INTEGRITY_VIOLATION'
|
|
2446
|
+
| 'LOGGING_STARTED'
|
|
2447
|
+
| 'LOGGING_STOPPED'
|
|
2448
|
+
| 'LOG_BUFFER_SIZE_CRITICAL'
|
|
2449
|
+
| 'MEDIA_MOUNT'
|
|
2450
|
+
| 'MEDIA_UNMOUNT'
|
|
2451
|
+
| 'OS_SHUTDOWN'
|
|
2452
|
+
| 'OS_STARTUP'
|
|
2453
|
+
| 'REMOTE_LOCK'
|
|
2454
|
+
| 'WIPE_FAILURE'
|
|
2455
|
+
| 'CONNECT'
|
|
2456
|
+
| 'DNS'
|
|
2457
|
+
| 'STOP_LOST_MODE_USER_ATTEMPT'
|
|
2458
|
+
| 'LOST_MODE_OUTGOING_PHONE_CALL'
|
|
2459
|
+
| 'LOST_MODE_LOCATION'
|
|
2460
|
+
| 'ENROLLMENT_COMPLETE'
|
|
2461
|
+
| 'BACKUP_SERVICE_TOGGLED';
|
|
1746
2462
|
/** A file was downloaded from the device. Part of SECURITY_LOGS. */
|
|
1747
2463
|
filePulledEvent?: FilePulledEvent;
|
|
1748
2464
|
/** A file was uploaded onto the device. Part of SECURITY_LOGS. */
|
|
@@ -1798,7 +2514,11 @@ declare namespace gapi.client {
|
|
|
1798
2514
|
}
|
|
1799
2515
|
interface WebApp {
|
|
1800
2516
|
/** The display mode of the web app. */
|
|
1801
|
-
displayMode?:
|
|
2517
|
+
displayMode?:
|
|
2518
|
+
| 'DISPLAY_MODE_UNSPECIFIED'
|
|
2519
|
+
| 'MINIMAL_UI'
|
|
2520
|
+
| 'STANDALONE'
|
|
2521
|
+
| 'FULL_SCREEN';
|
|
1802
2522
|
/** A list of icons for the web app. Must have at least one element. */
|
|
1803
2523
|
icons?: WebAppIcon[];
|
|
1804
2524
|
/** The name of the web app, which is generated by the server during creation in the form enterprises/{enterpriseId}/webApps/{packageName}. */
|
|
@@ -1816,13 +2536,20 @@ declare namespace gapi.client {
|
|
|
1816
2536
|
}
|
|
1817
2537
|
interface WebToken {
|
|
1818
2538
|
/** The features to enable. Use this if you want to control exactly which feature(s) will be activated; leave empty to allow all features.Restrictions / things to note: - If no features are listed here, all features are enabled — this is the default behavior where you give access to all features to your admins. - This must not contain any FEATURE_UNSPECIFIED values. - Repeated values are ignored */
|
|
1819
|
-
enabledFeatures?:
|
|
2539
|
+
enabledFeatures?:
|
|
2540
|
+
| 'FEATURE_UNSPECIFIED'
|
|
2541
|
+
| 'PLAY_SEARCH'
|
|
2542
|
+
| 'PRIVATE_APPS'
|
|
2543
|
+
| 'WEB_APPS'
|
|
2544
|
+
| 'STORE_BUILDER'
|
|
2545
|
+
| 'MANAGED_CONFIGURATIONS'
|
|
2546
|
+
| 'ZERO_TOUCH_CUSTOMER_MANAGEMENT'[];
|
|
1820
2547
|
/** The name of the web token, which is generated by the server during creation in the form enterprises/{enterpriseId}/webTokens/{webTokenId}. */
|
|
1821
2548
|
name?: string;
|
|
1822
2549
|
/** The URL of the parent frame hosting the iframe with the embedded UI. To prevent XSS, the iframe may not be hosted at other URLs. The URL must use the https scheme. */
|
|
1823
2550
|
parentFrameUrl?: string;
|
|
1824
2551
|
/** Permissions available to an admin in the embedded UI. An admin must have all of these permissions in order to view the UI. This field is deprecated. */
|
|
1825
|
-
permissions?:
|
|
2552
|
+
permissions?: 'WEB_TOKEN_PERMISSION_UNSPECIFIED' | 'APPROVE_APPS'[];
|
|
1826
2553
|
/** The token value which is used in the hosting page to generate the iframe with the embedded UI. This is a read-only field generated by the server. */
|
|
1827
2554
|
value?: string;
|
|
1828
2555
|
}
|
|
@@ -1832,7 +2559,11 @@ declare namespace gapi.client {
|
|
|
1832
2559
|
}
|
|
1833
2560
|
interface WifiRoamingSetting {
|
|
1834
2561
|
/** Required. Wi-Fi roaming mode for the specified SSID. */
|
|
1835
|
-
wifiRoamingMode?:
|
|
2562
|
+
wifiRoamingMode?:
|
|
2563
|
+
| 'WIFI_ROAMING_MODE_UNSPECIFIED'
|
|
2564
|
+
| 'WIFI_ROAMING_DISABLED'
|
|
2565
|
+
| 'WIFI_ROAMING_DEFAULT'
|
|
2566
|
+
| 'WIFI_ROAMING_AGGRESSIVE';
|
|
1836
2567
|
/** Required. SSID of the Wi-Fi network. */
|
|
1837
2568
|
wifiSsid?: string;
|
|
1838
2569
|
}
|
|
@@ -1842,7 +2573,10 @@ declare namespace gapi.client {
|
|
|
1842
2573
|
}
|
|
1843
2574
|
interface WifiSsidPolicy {
|
|
1844
2575
|
/** Type of the Wi-Fi SSID policy to be applied. */
|
|
1845
|
-
wifiSsidPolicyType?:
|
|
2576
|
+
wifiSsidPolicyType?:
|
|
2577
|
+
| 'WIFI_SSID_POLICY_TYPE_UNSPECIFIED'
|
|
2578
|
+
| 'WIFI_SSID_DENYLIST'
|
|
2579
|
+
| 'WIFI_SSID_ALLOWLIST';
|
|
1846
2580
|
/** Optional. List of Wi-Fi SSIDs that should be applied in the policy. This field must be non-empty when WifiSsidPolicyType is set to WIFI_SSID_ALLOWLIST. If this is set to a non-empty list, then a NonComplianceDetail detail with API_LEVEL is reported if the Android version is less than 13 and a NonComplianceDetail with MANAGEMENT_MODE is reported for non-company-owned devices. */
|
|
1847
2581
|
wifiSsids?: WifiSsid[];
|
|
1848
2582
|
}
|
|
@@ -1855,13 +2589,20 @@ declare namespace gapi.client {
|
|
|
1855
2589
|
interface WipeFailureEvent {}
|
|
1856
2590
|
interface WipeParams {
|
|
1857
2591
|
/** Optional. Flags to determine what data to wipe. */
|
|
1858
|
-
wipeDataFlags?:
|
|
2592
|
+
wipeDataFlags?:
|
|
2593
|
+
| 'WIPE_DATA_FLAG_UNSPECIFIED'
|
|
2594
|
+
| 'PRESERVE_RESET_PROTECTION_DATA'
|
|
2595
|
+
| 'WIPE_EXTERNAL_STORAGE'
|
|
2596
|
+
| 'WIPE_ESIMS'[];
|
|
1859
2597
|
/** Optional. A short message displayed to the user before wiping the work profile on personal devices. This has no effect on company owned devices. The maximum message length is 200 characters. */
|
|
1860
2598
|
wipeReason?: UserFacingMessage;
|
|
1861
2599
|
}
|
|
1862
2600
|
interface WorkAccountSetupConfig {
|
|
1863
2601
|
/** Optional. The authentication type of the user on the device. */
|
|
1864
|
-
authenticationType?:
|
|
2602
|
+
authenticationType?:
|
|
2603
|
+
| 'AUTHENTICATION_TYPE_UNSPECIFIED'
|
|
2604
|
+
| 'AUTHENTICATION_TYPE_NOT_ENFORCED'
|
|
2605
|
+
| 'GOOGLE_AUTHENTICATED';
|
|
1865
2606
|
/** Optional. The specific google work account email address to be added. This field is only relevant if authenticationType is GOOGLE_AUTHENTICATED. This must be an enterprise account and not a consumer account. Once set and a Google authenticated account is added to the device, changing this field will have no effect, and thus recommended to be set only once. */
|
|
1866
2607
|
requiredAccountEmail?: string;
|
|
1867
2608
|
}
|
|
@@ -1869,11 +2610,11 @@ declare namespace gapi.client {
|
|
|
1869
2610
|
/** Gets info about an application. */
|
|
1870
2611
|
get(request?: {
|
|
1871
2612
|
/** V1 error format. */
|
|
1872
|
-
'$.xgafv'?:
|
|
2613
|
+
'$.xgafv'?: '1' | '2';
|
|
1873
2614
|
/** OAuth access token. */
|
|
1874
2615
|
access_token?: string;
|
|
1875
2616
|
/** Data format for response. */
|
|
1876
|
-
alt?:
|
|
2617
|
+
alt?: 'json' | 'media' | 'proto';
|
|
1877
2618
|
/** JSONP */
|
|
1878
2619
|
callback?: string;
|
|
1879
2620
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -1900,11 +2641,11 @@ declare namespace gapi.client {
|
|
|
1900
2641
|
/** Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns google.rpc.Code.UNIMPLEMENTED. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of 1, corresponding to Code.CANCELLED. */
|
|
1901
2642
|
cancel(request?: {
|
|
1902
2643
|
/** V1 error format. */
|
|
1903
|
-
'$.xgafv'?:
|
|
2644
|
+
'$.xgafv'?: '1' | '2';
|
|
1904
2645
|
/** OAuth access token. */
|
|
1905
2646
|
access_token?: string;
|
|
1906
2647
|
/** Data format for response. */
|
|
1907
|
-
alt?:
|
|
2648
|
+
alt?: 'json' | 'media' | 'proto';
|
|
1908
2649
|
/** JSONP */
|
|
1909
2650
|
callback?: string;
|
|
1910
2651
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -1927,11 +2668,11 @@ declare namespace gapi.client {
|
|
|
1927
2668
|
/** Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service. */
|
|
1928
2669
|
get(request?: {
|
|
1929
2670
|
/** V1 error format. */
|
|
1930
|
-
'$.xgafv'?:
|
|
2671
|
+
'$.xgafv'?: '1' | '2';
|
|
1931
2672
|
/** OAuth access token. */
|
|
1932
2673
|
access_token?: string;
|
|
1933
2674
|
/** Data format for response. */
|
|
1934
|
-
alt?:
|
|
2675
|
+
alt?: 'json' | 'media' | 'proto';
|
|
1935
2676
|
/** JSONP */
|
|
1936
2677
|
callback?: string;
|
|
1937
2678
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -1954,11 +2695,11 @@ declare namespace gapi.client {
|
|
|
1954
2695
|
/** Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns UNIMPLEMENTED. */
|
|
1955
2696
|
list(request?: {
|
|
1956
2697
|
/** V1 error format. */
|
|
1957
|
-
'$.xgafv'?:
|
|
2698
|
+
'$.xgafv'?: '1' | '2';
|
|
1958
2699
|
/** OAuth access token. */
|
|
1959
2700
|
access_token?: string;
|
|
1960
2701
|
/** Data format for response. */
|
|
1961
|
-
alt?:
|
|
2702
|
+
alt?: 'json' | 'media' | 'proto';
|
|
1962
2703
|
/** JSONP */
|
|
1963
2704
|
callback?: string;
|
|
1964
2705
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -1991,11 +2732,11 @@ declare namespace gapi.client {
|
|
|
1991
2732
|
/** Deletes a device. This operation attempts to wipe the device but this is not guaranteed to succeed if the device is offline for an extended period. Deleted devices do not show up in enterprises.devices.list calls and a 404 is returned from enterprises.devices.get. */
|
|
1992
2733
|
delete(request?: {
|
|
1993
2734
|
/** V1 error format. */
|
|
1994
|
-
'$.xgafv'?:
|
|
2735
|
+
'$.xgafv'?: '1' | '2';
|
|
1995
2736
|
/** OAuth access token. */
|
|
1996
2737
|
access_token?: string;
|
|
1997
2738
|
/** Data format for response. */
|
|
1998
|
-
alt?:
|
|
2739
|
+
alt?: 'json' | 'media' | 'proto';
|
|
1999
2740
|
/** JSONP */
|
|
2000
2741
|
callback?: string;
|
|
2001
2742
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -2015,18 +2756,28 @@ declare namespace gapi.client {
|
|
|
2015
2756
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
2016
2757
|
uploadType?: string;
|
|
2017
2758
|
/** Optional flags that control the device wiping behavior. */
|
|
2018
|
-
wipeDataFlags?:
|
|
2759
|
+
wipeDataFlags?:
|
|
2760
|
+
| 'WIPE_DATA_FLAG_UNSPECIFIED'
|
|
2761
|
+
| 'PRESERVE_RESET_PROTECTION_DATA'
|
|
2762
|
+
| 'WIPE_EXTERNAL_STORAGE'
|
|
2763
|
+
| 'WIPE_ESIMS'
|
|
2764
|
+
| (
|
|
2765
|
+
| 'WIPE_DATA_FLAG_UNSPECIFIED'
|
|
2766
|
+
| 'PRESERVE_RESET_PROTECTION_DATA'
|
|
2767
|
+
| 'WIPE_EXTERNAL_STORAGE'
|
|
2768
|
+
| 'WIPE_ESIMS'
|
|
2769
|
+
)[];
|
|
2019
2770
|
/** Optional. A short message displayed to the user before wiping the work profile on personal devices. This has no effect on company owned devices. The maximum message length is 200 characters. */
|
|
2020
2771
|
wipeReasonMessage?: string;
|
|
2021
2772
|
}): Request<{}>;
|
|
2022
2773
|
/** Gets a device. Deleted devices will respond with a 404 error. */
|
|
2023
2774
|
get(request?: {
|
|
2024
2775
|
/** V1 error format. */
|
|
2025
|
-
'$.xgafv'?:
|
|
2776
|
+
'$.xgafv'?: '1' | '2';
|
|
2026
2777
|
/** OAuth access token. */
|
|
2027
2778
|
access_token?: string;
|
|
2028
2779
|
/** Data format for response. */
|
|
2029
|
-
alt?:
|
|
2780
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2030
2781
|
/** JSONP */
|
|
2031
2782
|
callback?: string;
|
|
2032
2783
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -2049,11 +2800,11 @@ declare namespace gapi.client {
|
|
|
2049
2800
|
/** Issues a command to a device. The Operation resource returned contains a Command in its metadata field. Use the get operation method to get the status of the command. */
|
|
2050
2801
|
issueCommand(request: {
|
|
2051
2802
|
/** V1 error format. */
|
|
2052
|
-
'$.xgafv'?:
|
|
2803
|
+
'$.xgafv'?: '1' | '2';
|
|
2053
2804
|
/** OAuth access token. */
|
|
2054
2805
|
access_token?: string;
|
|
2055
2806
|
/** Data format for response. */
|
|
2056
|
-
alt?:
|
|
2807
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2057
2808
|
/** JSONP */
|
|
2058
2809
|
callback?: string;
|
|
2059
2810
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -2078,11 +2829,11 @@ declare namespace gapi.client {
|
|
|
2078
2829
|
issueCommand(
|
|
2079
2830
|
request: {
|
|
2080
2831
|
/** V1 error format. */
|
|
2081
|
-
'$.xgafv'?:
|
|
2832
|
+
'$.xgafv'?: '1' | '2';
|
|
2082
2833
|
/** OAuth access token. */
|
|
2083
2834
|
access_token?: string;
|
|
2084
2835
|
/** Data format for response. */
|
|
2085
|
-
alt?:
|
|
2836
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2086
2837
|
/** JSONP */
|
|
2087
2838
|
callback?: string;
|
|
2088
2839
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -2107,11 +2858,11 @@ declare namespace gapi.client {
|
|
|
2107
2858
|
/** Lists devices for a given enterprise. Deleted devices are not returned in the response. */
|
|
2108
2859
|
list(request?: {
|
|
2109
2860
|
/** V1 error format. */
|
|
2110
|
-
'$.xgafv'?:
|
|
2861
|
+
'$.xgafv'?: '1' | '2';
|
|
2111
2862
|
/** OAuth access token. */
|
|
2112
2863
|
access_token?: string;
|
|
2113
2864
|
/** Data format for response. */
|
|
2114
|
-
alt?:
|
|
2865
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2115
2866
|
/** JSONP */
|
|
2116
2867
|
callback?: string;
|
|
2117
2868
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -2138,11 +2889,11 @@ declare namespace gapi.client {
|
|
|
2138
2889
|
/** Updates a device. */
|
|
2139
2890
|
patch(request: {
|
|
2140
2891
|
/** V1 error format. */
|
|
2141
|
-
'$.xgafv'?:
|
|
2892
|
+
'$.xgafv'?: '1' | '2';
|
|
2142
2893
|
/** OAuth access token. */
|
|
2143
2894
|
access_token?: string;
|
|
2144
2895
|
/** Data format for response. */
|
|
2145
|
-
alt?:
|
|
2896
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2146
2897
|
/** JSONP */
|
|
2147
2898
|
callback?: string;
|
|
2148
2899
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -2169,11 +2920,11 @@ declare namespace gapi.client {
|
|
|
2169
2920
|
patch(
|
|
2170
2921
|
request: {
|
|
2171
2922
|
/** V1 error format. */
|
|
2172
|
-
'$.xgafv'?:
|
|
2923
|
+
'$.xgafv'?: '1' | '2';
|
|
2173
2924
|
/** OAuth access token. */
|
|
2174
2925
|
access_token?: string;
|
|
2175
2926
|
/** Data format for response. */
|
|
2176
|
-
alt?:
|
|
2927
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2177
2928
|
/** JSONP */
|
|
2178
2929
|
callback?: string;
|
|
2179
2930
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -2203,11 +2954,11 @@ declare namespace gapi.client {
|
|
|
2203
2954
|
/** Creates an enrollment token for a given enterprise. It's up to the caller's responsibility to manage the lifecycle of newly created tokens and deleting them when they're not intended to be used anymore. */
|
|
2204
2955
|
create(request: {
|
|
2205
2956
|
/** V1 error format. */
|
|
2206
|
-
'$.xgafv'?:
|
|
2957
|
+
'$.xgafv'?: '1' | '2';
|
|
2207
2958
|
/** OAuth access token. */
|
|
2208
2959
|
access_token?: string;
|
|
2209
2960
|
/** Data format for response. */
|
|
2210
|
-
alt?:
|
|
2961
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2211
2962
|
/** JSONP */
|
|
2212
2963
|
callback?: string;
|
|
2213
2964
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -2232,11 +2983,11 @@ declare namespace gapi.client {
|
|
|
2232
2983
|
create(
|
|
2233
2984
|
request: {
|
|
2234
2985
|
/** V1 error format. */
|
|
2235
|
-
'$.xgafv'?:
|
|
2986
|
+
'$.xgafv'?: '1' | '2';
|
|
2236
2987
|
/** OAuth access token. */
|
|
2237
2988
|
access_token?: string;
|
|
2238
2989
|
/** Data format for response. */
|
|
2239
|
-
alt?:
|
|
2990
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2240
2991
|
/** JSONP */
|
|
2241
2992
|
callback?: string;
|
|
2242
2993
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -2261,11 +3012,11 @@ declare namespace gapi.client {
|
|
|
2261
3012
|
/** Deletes an enrollment token. This operation invalidates the token, preventing its future use. */
|
|
2262
3013
|
delete(request?: {
|
|
2263
3014
|
/** V1 error format. */
|
|
2264
|
-
'$.xgafv'?:
|
|
3015
|
+
'$.xgafv'?: '1' | '2';
|
|
2265
3016
|
/** OAuth access token. */
|
|
2266
3017
|
access_token?: string;
|
|
2267
3018
|
/** Data format for response. */
|
|
2268
|
-
alt?:
|
|
3019
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2269
3020
|
/** JSONP */
|
|
2270
3021
|
callback?: string;
|
|
2271
3022
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -2288,11 +3039,11 @@ declare namespace gapi.client {
|
|
|
2288
3039
|
/** Gets an active, unexpired enrollment token. A partial view of the enrollment token is returned. Only the following fields are populated: name, expirationTimestamp, allowPersonalUsage, value, qrCode. This method is meant to help manage active enrollment tokens lifecycle. For security reasons, it's recommended to delete active enrollment tokens as soon as they're not intended to be used anymore. */
|
|
2289
3040
|
get(request?: {
|
|
2290
3041
|
/** V1 error format. */
|
|
2291
|
-
'$.xgafv'?:
|
|
3042
|
+
'$.xgafv'?: '1' | '2';
|
|
2292
3043
|
/** OAuth access token. */
|
|
2293
3044
|
access_token?: string;
|
|
2294
3045
|
/** Data format for response. */
|
|
2295
|
-
alt?:
|
|
3046
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2296
3047
|
/** JSONP */
|
|
2297
3048
|
callback?: string;
|
|
2298
3049
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -2315,11 +3066,11 @@ declare namespace gapi.client {
|
|
|
2315
3066
|
/** Lists active, unexpired enrollment tokens for a given enterprise. The list items contain only a partial view of EnrollmentToken object. Only the following fields are populated: name, expirationTimestamp, allowPersonalUsage, value, qrCode. This method is meant to help manage active enrollment tokens lifecycle. For security reasons, it's recommended to delete active enrollment tokens as soon as they're not intended to be used anymore. */
|
|
2316
3067
|
list(request?: {
|
|
2317
3068
|
/** V1 error format. */
|
|
2318
|
-
'$.xgafv'?:
|
|
3069
|
+
'$.xgafv'?: '1' | '2';
|
|
2319
3070
|
/** OAuth access token. */
|
|
2320
3071
|
access_token?: string;
|
|
2321
3072
|
/** Data format for response. */
|
|
2322
|
-
alt?:
|
|
3073
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2323
3074
|
/** JSONP */
|
|
2324
3075
|
callback?: string;
|
|
2325
3076
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -2348,11 +3099,11 @@ declare namespace gapi.client {
|
|
|
2348
3099
|
/** 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. */
|
|
2349
3100
|
create(request: {
|
|
2350
3101
|
/** V1 error format. */
|
|
2351
|
-
'$.xgafv'?:
|
|
3102
|
+
'$.xgafv'?: '1' | '2';
|
|
2352
3103
|
/** OAuth access token. */
|
|
2353
3104
|
access_token?: string;
|
|
2354
3105
|
/** Data format for response. */
|
|
2355
|
-
alt?:
|
|
3106
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2356
3107
|
/** JSONP */
|
|
2357
3108
|
callback?: string;
|
|
2358
3109
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -2377,11 +3128,11 @@ declare namespace gapi.client {
|
|
|
2377
3128
|
create(
|
|
2378
3129
|
request: {
|
|
2379
3130
|
/** V1 error format. */
|
|
2380
|
-
'$.xgafv'?:
|
|
3131
|
+
'$.xgafv'?: '1' | '2';
|
|
2381
3132
|
/** OAuth access token. */
|
|
2382
3133
|
access_token?: string;
|
|
2383
3134
|
/** Data format for response. */
|
|
2384
|
-
alt?:
|
|
3135
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2385
3136
|
/** JSONP */
|
|
2386
3137
|
callback?: string;
|
|
2387
3138
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -2406,11 +3157,11 @@ declare namespace gapi.client {
|
|
|
2406
3157
|
/** Gets a migration token. */
|
|
2407
3158
|
get(request?: {
|
|
2408
3159
|
/** V1 error format. */
|
|
2409
|
-
'$.xgafv'?:
|
|
3160
|
+
'$.xgafv'?: '1' | '2';
|
|
2410
3161
|
/** OAuth access token. */
|
|
2411
3162
|
access_token?: string;
|
|
2412
3163
|
/** Data format for response. */
|
|
2413
|
-
alt?:
|
|
3164
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2414
3165
|
/** JSONP */
|
|
2415
3166
|
callback?: string;
|
|
2416
3167
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -2433,11 +3184,11 @@ declare namespace gapi.client {
|
|
|
2433
3184
|
/** Lists migration tokens. */
|
|
2434
3185
|
list(request?: {
|
|
2435
3186
|
/** V1 error format. */
|
|
2436
|
-
'$.xgafv'?:
|
|
3187
|
+
'$.xgafv'?: '1' | '2';
|
|
2437
3188
|
/** OAuth access token. */
|
|
2438
3189
|
access_token?: string;
|
|
2439
3190
|
/** Data format for response. */
|
|
2440
|
-
alt?:
|
|
3191
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2441
3192
|
/** JSONP */
|
|
2442
3193
|
callback?: string;
|
|
2443
3194
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -2466,11 +3217,11 @@ declare namespace gapi.client {
|
|
|
2466
3217
|
/** Deletes a policy. This operation is only permitted if no devices are currently referencing the policy. */
|
|
2467
3218
|
delete(request?: {
|
|
2468
3219
|
/** V1 error format. */
|
|
2469
|
-
'$.xgafv'?:
|
|
3220
|
+
'$.xgafv'?: '1' | '2';
|
|
2470
3221
|
/** OAuth access token. */
|
|
2471
3222
|
access_token?: string;
|
|
2472
3223
|
/** Data format for response. */
|
|
2473
|
-
alt?:
|
|
3224
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2474
3225
|
/** JSONP */
|
|
2475
3226
|
callback?: string;
|
|
2476
3227
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -2493,11 +3244,11 @@ declare namespace gapi.client {
|
|
|
2493
3244
|
/** Gets a policy. */
|
|
2494
3245
|
get(request?: {
|
|
2495
3246
|
/** V1 error format. */
|
|
2496
|
-
'$.xgafv'?:
|
|
3247
|
+
'$.xgafv'?: '1' | '2';
|
|
2497
3248
|
/** OAuth access token. */
|
|
2498
3249
|
access_token?: string;
|
|
2499
3250
|
/** Data format for response. */
|
|
2500
|
-
alt?:
|
|
3251
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2501
3252
|
/** JSONP */
|
|
2502
3253
|
callback?: string;
|
|
2503
3254
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -2520,11 +3271,11 @@ declare namespace gapi.client {
|
|
|
2520
3271
|
/** Lists policies for a given enterprise. */
|
|
2521
3272
|
list(request?: {
|
|
2522
3273
|
/** V1 error format. */
|
|
2523
|
-
'$.xgafv'?:
|
|
3274
|
+
'$.xgafv'?: '1' | '2';
|
|
2524
3275
|
/** OAuth access token. */
|
|
2525
3276
|
access_token?: string;
|
|
2526
3277
|
/** Data format for response. */
|
|
2527
|
-
alt?:
|
|
3278
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2528
3279
|
/** JSONP */
|
|
2529
3280
|
callback?: string;
|
|
2530
3281
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -2551,11 +3302,11 @@ declare namespace gapi.client {
|
|
|
2551
3302
|
/** Updates or creates applications in a policy. */
|
|
2552
3303
|
modifyPolicyApplications(request: {
|
|
2553
3304
|
/** V1 error format. */
|
|
2554
|
-
'$.xgafv'?:
|
|
3305
|
+
'$.xgafv'?: '1' | '2';
|
|
2555
3306
|
/** OAuth access token. */
|
|
2556
3307
|
access_token?: string;
|
|
2557
3308
|
/** Data format for response. */
|
|
2558
|
-
alt?:
|
|
3309
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2559
3310
|
/** JSONP */
|
|
2560
3311
|
callback?: string;
|
|
2561
3312
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -2580,11 +3331,11 @@ declare namespace gapi.client {
|
|
|
2580
3331
|
modifyPolicyApplications(
|
|
2581
3332
|
request: {
|
|
2582
3333
|
/** V1 error format. */
|
|
2583
|
-
'$.xgafv'?:
|
|
3334
|
+
'$.xgafv'?: '1' | '2';
|
|
2584
3335
|
/** OAuth access token. */
|
|
2585
3336
|
access_token?: string;
|
|
2586
3337
|
/** Data format for response. */
|
|
2587
|
-
alt?:
|
|
3338
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2588
3339
|
/** JSONP */
|
|
2589
3340
|
callback?: string;
|
|
2590
3341
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -2609,11 +3360,11 @@ declare namespace gapi.client {
|
|
|
2609
3360
|
/** Updates or creates a policy. */
|
|
2610
3361
|
patch(request: {
|
|
2611
3362
|
/** V1 error format. */
|
|
2612
|
-
'$.xgafv'?:
|
|
3363
|
+
'$.xgafv'?: '1' | '2';
|
|
2613
3364
|
/** OAuth access token. */
|
|
2614
3365
|
access_token?: string;
|
|
2615
3366
|
/** Data format for response. */
|
|
2616
|
-
alt?:
|
|
3367
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2617
3368
|
/** JSONP */
|
|
2618
3369
|
callback?: string;
|
|
2619
3370
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -2640,11 +3391,11 @@ declare namespace gapi.client {
|
|
|
2640
3391
|
patch(
|
|
2641
3392
|
request: {
|
|
2642
3393
|
/** V1 error format. */
|
|
2643
|
-
'$.xgafv'?:
|
|
3394
|
+
'$.xgafv'?: '1' | '2';
|
|
2644
3395
|
/** OAuth access token. */
|
|
2645
3396
|
access_token?: string;
|
|
2646
3397
|
/** Data format for response. */
|
|
2647
|
-
alt?:
|
|
3398
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2648
3399
|
/** JSONP */
|
|
2649
3400
|
callback?: string;
|
|
2650
3401
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -2671,11 +3422,11 @@ declare namespace gapi.client {
|
|
|
2671
3422
|
/** Removes applications in a policy. */
|
|
2672
3423
|
removePolicyApplications(request: {
|
|
2673
3424
|
/** V1 error format. */
|
|
2674
|
-
'$.xgafv'?:
|
|
3425
|
+
'$.xgafv'?: '1' | '2';
|
|
2675
3426
|
/** OAuth access token. */
|
|
2676
3427
|
access_token?: string;
|
|
2677
3428
|
/** Data format for response. */
|
|
2678
|
-
alt?:
|
|
3429
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2679
3430
|
/** JSONP */
|
|
2680
3431
|
callback?: string;
|
|
2681
3432
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -2700,11 +3451,11 @@ declare namespace gapi.client {
|
|
|
2700
3451
|
removePolicyApplications(
|
|
2701
3452
|
request: {
|
|
2702
3453
|
/** V1 error format. */
|
|
2703
|
-
'$.xgafv'?:
|
|
3454
|
+
'$.xgafv'?: '1' | '2';
|
|
2704
3455
|
/** OAuth access token. */
|
|
2705
3456
|
access_token?: string;
|
|
2706
3457
|
/** Data format for response. */
|
|
2707
|
-
alt?:
|
|
3458
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2708
3459
|
/** JSONP */
|
|
2709
3460
|
callback?: string;
|
|
2710
3461
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -2731,11 +3482,11 @@ declare namespace gapi.client {
|
|
|
2731
3482
|
/** Creates a web app. */
|
|
2732
3483
|
create(request: {
|
|
2733
3484
|
/** V1 error format. */
|
|
2734
|
-
'$.xgafv'?:
|
|
3485
|
+
'$.xgafv'?: '1' | '2';
|
|
2735
3486
|
/** OAuth access token. */
|
|
2736
3487
|
access_token?: string;
|
|
2737
3488
|
/** Data format for response. */
|
|
2738
|
-
alt?:
|
|
3489
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2739
3490
|
/** JSONP */
|
|
2740
3491
|
callback?: string;
|
|
2741
3492
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -2760,11 +3511,11 @@ declare namespace gapi.client {
|
|
|
2760
3511
|
create(
|
|
2761
3512
|
request: {
|
|
2762
3513
|
/** V1 error format. */
|
|
2763
|
-
'$.xgafv'?:
|
|
3514
|
+
'$.xgafv'?: '1' | '2';
|
|
2764
3515
|
/** OAuth access token. */
|
|
2765
3516
|
access_token?: string;
|
|
2766
3517
|
/** Data format for response. */
|
|
2767
|
-
alt?:
|
|
3518
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2768
3519
|
/** JSONP */
|
|
2769
3520
|
callback?: string;
|
|
2770
3521
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -2789,11 +3540,11 @@ declare namespace gapi.client {
|
|
|
2789
3540
|
/** Deletes a web app. */
|
|
2790
3541
|
delete(request?: {
|
|
2791
3542
|
/** V1 error format. */
|
|
2792
|
-
'$.xgafv'?:
|
|
3543
|
+
'$.xgafv'?: '1' | '2';
|
|
2793
3544
|
/** OAuth access token. */
|
|
2794
3545
|
access_token?: string;
|
|
2795
3546
|
/** Data format for response. */
|
|
2796
|
-
alt?:
|
|
3547
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2797
3548
|
/** JSONP */
|
|
2798
3549
|
callback?: string;
|
|
2799
3550
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -2816,11 +3567,11 @@ declare namespace gapi.client {
|
|
|
2816
3567
|
/** Gets a web app. */
|
|
2817
3568
|
get(request?: {
|
|
2818
3569
|
/** V1 error format. */
|
|
2819
|
-
'$.xgafv'?:
|
|
3570
|
+
'$.xgafv'?: '1' | '2';
|
|
2820
3571
|
/** OAuth access token. */
|
|
2821
3572
|
access_token?: string;
|
|
2822
3573
|
/** Data format for response. */
|
|
2823
|
-
alt?:
|
|
3574
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2824
3575
|
/** JSONP */
|
|
2825
3576
|
callback?: string;
|
|
2826
3577
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -2843,11 +3594,11 @@ declare namespace gapi.client {
|
|
|
2843
3594
|
/** Lists web apps for a given enterprise. */
|
|
2844
3595
|
list(request?: {
|
|
2845
3596
|
/** V1 error format. */
|
|
2846
|
-
'$.xgafv'?:
|
|
3597
|
+
'$.xgafv'?: '1' | '2';
|
|
2847
3598
|
/** OAuth access token. */
|
|
2848
3599
|
access_token?: string;
|
|
2849
3600
|
/** Data format for response. */
|
|
2850
|
-
alt?:
|
|
3601
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2851
3602
|
/** JSONP */
|
|
2852
3603
|
callback?: string;
|
|
2853
3604
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -2874,11 +3625,11 @@ declare namespace gapi.client {
|
|
|
2874
3625
|
/** Updates a web app. */
|
|
2875
3626
|
patch(request: {
|
|
2876
3627
|
/** V1 error format. */
|
|
2877
|
-
'$.xgafv'?:
|
|
3628
|
+
'$.xgafv'?: '1' | '2';
|
|
2878
3629
|
/** OAuth access token. */
|
|
2879
3630
|
access_token?: string;
|
|
2880
3631
|
/** Data format for response. */
|
|
2881
|
-
alt?:
|
|
3632
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2882
3633
|
/** JSONP */
|
|
2883
3634
|
callback?: string;
|
|
2884
3635
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -2905,11 +3656,11 @@ declare namespace gapi.client {
|
|
|
2905
3656
|
patch(
|
|
2906
3657
|
request: {
|
|
2907
3658
|
/** V1 error format. */
|
|
2908
|
-
'$.xgafv'?:
|
|
3659
|
+
'$.xgafv'?: '1' | '2';
|
|
2909
3660
|
/** OAuth access token. */
|
|
2910
3661
|
access_token?: string;
|
|
2911
3662
|
/** Data format for response. */
|
|
2912
|
-
alt?:
|
|
3663
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2913
3664
|
/** JSONP */
|
|
2914
3665
|
callback?: string;
|
|
2915
3666
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -2938,11 +3689,11 @@ declare namespace gapi.client {
|
|
|
2938
3689
|
/** Creates a web token to access an embeddable managed Google Play web UI for a given enterprise. */
|
|
2939
3690
|
create(request: {
|
|
2940
3691
|
/** V1 error format. */
|
|
2941
|
-
'$.xgafv'?:
|
|
3692
|
+
'$.xgafv'?: '1' | '2';
|
|
2942
3693
|
/** OAuth access token. */
|
|
2943
3694
|
access_token?: string;
|
|
2944
3695
|
/** Data format for response. */
|
|
2945
|
-
alt?:
|
|
3696
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2946
3697
|
/** JSONP */
|
|
2947
3698
|
callback?: string;
|
|
2948
3699
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -2967,11 +3718,11 @@ declare namespace gapi.client {
|
|
|
2967
3718
|
create(
|
|
2968
3719
|
request: {
|
|
2969
3720
|
/** V1 error format. */
|
|
2970
|
-
'$.xgafv'?:
|
|
3721
|
+
'$.xgafv'?: '1' | '2';
|
|
2971
3722
|
/** OAuth access token. */
|
|
2972
3723
|
access_token?: string;
|
|
2973
3724
|
/** Data format for response. */
|
|
2974
|
-
alt?:
|
|
3725
|
+
alt?: 'json' | 'media' | 'proto';
|
|
2975
3726
|
/** JSONP */
|
|
2976
3727
|
callback?: string;
|
|
2977
3728
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -2998,13 +3749,13 @@ declare namespace gapi.client {
|
|
|
2998
3749
|
/** Creates an enterprise. This is the last step in the enterprise signup flow. See also: SigninDetail */
|
|
2999
3750
|
create(request: {
|
|
3000
3751
|
/** V1 error format. */
|
|
3001
|
-
'$.xgafv'?:
|
|
3752
|
+
'$.xgafv'?: '1' | '2';
|
|
3002
3753
|
/** OAuth access token. */
|
|
3003
3754
|
access_token?: string;
|
|
3004
3755
|
/** Whether the enterprise admin has seen and agreed to the managed Google Play Agreement (https://www.android.com/enterprise/terms/). Do not set this field for any customer-managed enterprise (https://developers.google.com/android/management/create-enterprise#customer-managed_enterprises). Set this to field to true for all EMM-managed enterprises (https://developers.google.com/android/management/create-enterprise#emm-managed_enterprises). */
|
|
3005
3756
|
agreementAccepted?: boolean;
|
|
3006
3757
|
/** Data format for response. */
|
|
3007
|
-
alt?:
|
|
3758
|
+
alt?: 'json' | 'media' | 'proto';
|
|
3008
3759
|
/** JSONP */
|
|
3009
3760
|
callback?: string;
|
|
3010
3761
|
/** The enterprise token appended to the callback URL. Set this when creating a customer-managed enterprise (https://developers.google.com/android/management/create-enterprise#customer-managed_enterprises) and not when creating a deprecated EMM-managed enterprise (https://developers.google.com/android/management/create-enterprise#emm-managed_enterprises). */
|
|
@@ -3033,13 +3784,13 @@ declare namespace gapi.client {
|
|
|
3033
3784
|
create(
|
|
3034
3785
|
request: {
|
|
3035
3786
|
/** V1 error format. */
|
|
3036
|
-
'$.xgafv'?:
|
|
3787
|
+
'$.xgafv'?: '1' | '2';
|
|
3037
3788
|
/** OAuth access token. */
|
|
3038
3789
|
access_token?: string;
|
|
3039
3790
|
/** Whether the enterprise admin has seen and agreed to the managed Google Play Agreement (https://www.android.com/enterprise/terms/). Do not set this field for any customer-managed enterprise (https://developers.google.com/android/management/create-enterprise#customer-managed_enterprises). Set this to field to true for all EMM-managed enterprises (https://developers.google.com/android/management/create-enterprise#emm-managed_enterprises). */
|
|
3040
3791
|
agreementAccepted?: boolean;
|
|
3041
3792
|
/** Data format for response. */
|
|
3042
|
-
alt?:
|
|
3793
|
+
alt?: 'json' | 'media' | 'proto';
|
|
3043
3794
|
/** JSONP */
|
|
3044
3795
|
callback?: string;
|
|
3045
3796
|
/** The enterprise token appended to the callback URL. Set this when creating a customer-managed enterprise (https://developers.google.com/android/management/create-enterprise#customer-managed_enterprises) and not when creating a deprecated EMM-managed enterprise (https://developers.google.com/android/management/create-enterprise#emm-managed_enterprises). */
|
|
@@ -3068,11 +3819,11 @@ declare namespace gapi.client {
|
|
|
3068
3819
|
/** Permanently deletes an enterprise and all accounts and data associated with it. Warning: this will result in a cascaded deletion of all AM API devices associated with the deleted enterprise. Only available for EMM-managed enterprises. */
|
|
3069
3820
|
delete(request?: {
|
|
3070
3821
|
/** V1 error format. */
|
|
3071
|
-
'$.xgafv'?:
|
|
3822
|
+
'$.xgafv'?: '1' | '2';
|
|
3072
3823
|
/** OAuth access token. */
|
|
3073
3824
|
access_token?: string;
|
|
3074
3825
|
/** Data format for response. */
|
|
3075
|
-
alt?:
|
|
3826
|
+
alt?: 'json' | 'media' | 'proto';
|
|
3076
3827
|
/** JSONP */
|
|
3077
3828
|
callback?: string;
|
|
3078
3829
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -3095,11 +3846,11 @@ declare namespace gapi.client {
|
|
|
3095
3846
|
/** Generates an enterprise upgrade URL to upgrade an existing managed Google Play Accounts enterprise to a managed Google domain. See the guide (https://developers.google.com/android/management/upgrade-an-enterprise) for more details. */
|
|
3096
3847
|
generateEnterpriseUpgradeUrl(request: {
|
|
3097
3848
|
/** V1 error format. */
|
|
3098
|
-
'$.xgafv'?:
|
|
3849
|
+
'$.xgafv'?: '1' | '2';
|
|
3099
3850
|
/** OAuth access token. */
|
|
3100
3851
|
access_token?: string;
|
|
3101
3852
|
/** Data format for response. */
|
|
3102
|
-
alt?:
|
|
3853
|
+
alt?: 'json' | 'media' | 'proto';
|
|
3103
3854
|
/** JSONP */
|
|
3104
3855
|
callback?: string;
|
|
3105
3856
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -3124,11 +3875,11 @@ declare namespace gapi.client {
|
|
|
3124
3875
|
generateEnterpriseUpgradeUrl(
|
|
3125
3876
|
request: {
|
|
3126
3877
|
/** V1 error format. */
|
|
3127
|
-
'$.xgafv'?:
|
|
3878
|
+
'$.xgafv'?: '1' | '2';
|
|
3128
3879
|
/** OAuth access token. */
|
|
3129
3880
|
access_token?: string;
|
|
3130
3881
|
/** Data format for response. */
|
|
3131
|
-
alt?:
|
|
3882
|
+
alt?: 'json' | 'media' | 'proto';
|
|
3132
3883
|
/** JSONP */
|
|
3133
3884
|
callback?: string;
|
|
3134
3885
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -3153,11 +3904,11 @@ declare namespace gapi.client {
|
|
|
3153
3904
|
/** Gets an enterprise. */
|
|
3154
3905
|
get(request?: {
|
|
3155
3906
|
/** V1 error format. */
|
|
3156
|
-
'$.xgafv'?:
|
|
3907
|
+
'$.xgafv'?: '1' | '2';
|
|
3157
3908
|
/** OAuth access token. */
|
|
3158
3909
|
access_token?: string;
|
|
3159
3910
|
/** Data format for response. */
|
|
3160
|
-
alt?:
|
|
3911
|
+
alt?: 'json' | 'media' | 'proto';
|
|
3161
3912
|
/** JSONP */
|
|
3162
3913
|
callback?: string;
|
|
3163
3914
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -3180,11 +3931,11 @@ declare namespace gapi.client {
|
|
|
3180
3931
|
/** Lists EMM-managed enterprises. Only BASIC fields are returned. */
|
|
3181
3932
|
list(request?: {
|
|
3182
3933
|
/** V1 error format. */
|
|
3183
|
-
'$.xgafv'?:
|
|
3934
|
+
'$.xgafv'?: '1' | '2';
|
|
3184
3935
|
/** OAuth access token. */
|
|
3185
3936
|
access_token?: string;
|
|
3186
3937
|
/** Data format for response. */
|
|
3187
|
-
alt?:
|
|
3938
|
+
alt?: 'json' | 'media' | 'proto';
|
|
3188
3939
|
/** JSONP */
|
|
3189
3940
|
callback?: string;
|
|
3190
3941
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -3208,16 +3959,16 @@ declare namespace gapi.client {
|
|
|
3208
3959
|
/** Legacy upload protocol for media (e.g. "media", "multipart"). */
|
|
3209
3960
|
uploadType?: string;
|
|
3210
3961
|
/** Specifies which Enterprise fields to return. This method only supports BASIC. */
|
|
3211
|
-
view?:
|
|
3962
|
+
view?: 'ENTERPRISE_VIEW_UNSPECIFIED' | 'BASIC';
|
|
3212
3963
|
}): Request<ListEnterprisesResponse>;
|
|
3213
3964
|
/** Updates an enterprise. See also: SigninDetail */
|
|
3214
3965
|
patch(request: {
|
|
3215
3966
|
/** V1 error format. */
|
|
3216
|
-
'$.xgafv'?:
|
|
3967
|
+
'$.xgafv'?: '1' | '2';
|
|
3217
3968
|
/** OAuth access token. */
|
|
3218
3969
|
access_token?: string;
|
|
3219
3970
|
/** Data format for response. */
|
|
3220
|
-
alt?:
|
|
3971
|
+
alt?: 'json' | 'media' | 'proto';
|
|
3221
3972
|
/** JSONP */
|
|
3222
3973
|
callback?: string;
|
|
3223
3974
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -3244,11 +3995,11 @@ declare namespace gapi.client {
|
|
|
3244
3995
|
patch(
|
|
3245
3996
|
request: {
|
|
3246
3997
|
/** V1 error format. */
|
|
3247
|
-
'$.xgafv'?:
|
|
3998
|
+
'$.xgafv'?: '1' | '2';
|
|
3248
3999
|
/** OAuth access token. */
|
|
3249
4000
|
access_token?: string;
|
|
3250
4001
|
/** Data format for response. */
|
|
3251
|
-
alt?:
|
|
4002
|
+
alt?: 'json' | 'media' | 'proto';
|
|
3252
4003
|
/** JSONP */
|
|
3253
4004
|
callback?: string;
|
|
3254
4005
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -3284,11 +4035,11 @@ declare namespace gapi.client {
|
|
|
3284
4035
|
/** Get the device provisioning information by the identifier provided in the sign-in url. */
|
|
3285
4036
|
get(request?: {
|
|
3286
4037
|
/** V1 error format. */
|
|
3287
|
-
'$.xgafv'?:
|
|
4038
|
+
'$.xgafv'?: '1' | '2';
|
|
3288
4039
|
/** OAuth access token. */
|
|
3289
4040
|
access_token?: string;
|
|
3290
4041
|
/** Data format for response. */
|
|
3291
|
-
alt?:
|
|
4042
|
+
alt?: 'json' | 'media' | 'proto';
|
|
3292
4043
|
/** JSONP */
|
|
3293
4044
|
callback?: string;
|
|
3294
4045
|
/** Selector specifying which fields to include in a partial response. */
|
|
@@ -3313,7 +4064,7 @@ declare namespace gapi.client {
|
|
|
3313
4064
|
/** Creates an enterprise signup URL. */
|
|
3314
4065
|
create(request?: {
|
|
3315
4066
|
/** V1 error format. */
|
|
3316
|
-
'$.xgafv'?:
|
|
4067
|
+
'$.xgafv'?: '1' | '2';
|
|
3317
4068
|
/** OAuth access token. */
|
|
3318
4069
|
access_token?: string;
|
|
3319
4070
|
/** Optional. Email address used to prefill the admin field of the enterprise signup form. This value is a hint only and can be altered by the user. If allowedDomains is non-empty then this must belong to one of the allowedDomains. */
|
|
@@ -3321,7 +4072,7 @@ declare namespace gapi.client {
|
|
|
3321
4072
|
/** Optional. A list of domains that are permitted for the admin email. The IT admin cannot enter an email address with a domain name that is not in this list. Subdomains of domains in this list are not allowed but can be allowed by adding a second entry which has *. prefixed to the domain name (e.g. *.example.com). If the field is not present or is an empty list then the IT admin is free to use any valid domain name. Personal email domains are always allowed, but will result in the creation of a managed Google Play Accounts enterprise. */
|
|
3322
4073
|
allowedDomains?: string | string[];
|
|
3323
4074
|
/** Data format for response. */
|
|
3324
|
-
alt?:
|
|
4075
|
+
alt?: 'json' | 'media' | 'proto';
|
|
3325
4076
|
/** JSONP */
|
|
3326
4077
|
callback?: string;
|
|
3327
4078
|
/** The callback URL that the admin will be redirected to after successfully creating an enterprise. Before redirecting there the system will add a query parameter to this URL named enterpriseToken which will contain an opaque token to be used for the create enterprise request. The URL will be parsed then reformatted in order to add the enterpriseToken parameter, so there may be some minor formatting changes. */
|