@maxim_mazurok/gapi.client.androidmanagement-v1 0.3.20260611 → 0.3.20260616
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 +21 -1
- 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: 20260616
|
|
13
13
|
|
|
14
14
|
/// <reference types="gapi.client" />
|
|
15
15
|
|
|
@@ -1010,6 +1010,8 @@ declare namespace gapi.client {
|
|
|
1010
1010
|
duration?: string;
|
|
1011
1011
|
/** The expiration time of the token. This is a read-only field generated by the server. */
|
|
1012
1012
|
expirationTimestamp?: string;
|
|
1013
|
+
/** Optional. Options related to Google authentication during the enrollment. */
|
|
1014
|
+
googleAuthenticationOptions?: GoogleAuthenticationOptions;
|
|
1013
1015
|
/** The name of the enrollment token, which is generated by the server during creation, in the form enterprises/{enterpriseId}/enrollmentTokens/{enrollmentTokenId}. */
|
|
1014
1016
|
name?: string;
|
|
1015
1017
|
/** Whether the enrollment token is for one time use only. If the flag is set to true, only one device can use it for registration. */
|
|
@@ -1136,6 +1138,15 @@ declare namespace gapi.client {
|
|
|
1136
1138
|
/** A URL for an enterprise admin to upgrade their enterprise. The page can't be rendered in an iframe. */
|
|
1137
1139
|
url?: string;
|
|
1138
1140
|
}
|
|
1141
|
+
interface GoogleAuthenticationOptions {
|
|
1142
|
+
/** Optional. Specifies whether user should authenticate with Google during enrollment. If this is set to any value other than AUTHENTICATION_REQUIREMENT_UNSPECIFIED, the enterprise-level setting googleAuthenticationSettings is ignored for devices enrolled with this token. */
|
|
1143
|
+
authenticationRequirement?:
|
|
1144
|
+
| 'AUTHENTICATION_REQUIREMENT_UNSPECIFIED'
|
|
1145
|
+
| 'OPTIONAL'
|
|
1146
|
+
| 'REQUIRED';
|
|
1147
|
+
/** Optional. Specifies the managed Google account that the user must use during enrollment. This field can only be set if AuthenticationRequirement is set to REQUIRED. */
|
|
1148
|
+
requiredAccountEmail?: string;
|
|
1149
|
+
}
|
|
1139
1150
|
interface GoogleAuthenticationSettings {
|
|
1140
1151
|
/** 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. */
|
|
1141
1152
|
googleAuthenticationRequired?:
|
|
@@ -2232,6 +2243,8 @@ declare namespace gapi.client {
|
|
|
2232
2243
|
| 'SIGNIN_DETAIL_DEFAULT_STATUS_UNSPECIFIED'
|
|
2233
2244
|
| 'SIGNIN_DETAIL_IS_DEFAULT'
|
|
2234
2245
|
| 'SIGNIN_DETAIL_IS_NOT_DEFAULT';
|
|
2246
|
+
/** Optional. Options related to Google authentication during the enrollment. */
|
|
2247
|
+
googleAuthenticationOptions?: SigninDetailGoogleAuthenticationOptions;
|
|
2235
2248
|
/** 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. */
|
|
2236
2249
|
qrCode?: string;
|
|
2237
2250
|
/** An enterprise wide enrollment token used to trigger custom sign-in flow. This is a read-only field generated by the server. */
|
|
@@ -2241,6 +2254,13 @@ declare namespace gapi.client {
|
|
|
2241
2254
|
/** An EMM-specified metadata to distinguish between instances of SigninDetail. */
|
|
2242
2255
|
tokenTag?: string;
|
|
2243
2256
|
}
|
|
2257
|
+
interface SigninDetailGoogleAuthenticationOptions {
|
|
2258
|
+
/** Optional. Specifies whether user should authenticate with Google during enrollment. If this is set to any value other than AUTHENTICATION_REQUIREMENT_UNSPECIFIED, the enterprise-level setting googleAuthenticationSettings is ignored for devices enrolled with this sign-in detail. */
|
|
2259
|
+
authenticationRequirement?:
|
|
2260
|
+
| 'AUTHENTICATION_REQUIREMENT_UNSPECIFIED'
|
|
2261
|
+
| 'OPTIONAL'
|
|
2262
|
+
| 'REQUIRED';
|
|
2263
|
+
}
|
|
2244
2264
|
interface SignupUrl {
|
|
2245
2265
|
/** The name of the resource. Use this value in the signupUrl field when calling enterprises.create to complete the enterprise signup flow. */
|
|
2246
2266
|
name?: string;
|