Skip to content

Commit 5afc401

Browse files
feat(androidmanagement): update the api
#### androidmanagement:v1 The following keys were added: - schemas.ApplicationPolicy.properties.userControlSettings.type (Total Keys: 1) - schemas.Enterprise.properties.googleAuthenticationSettings.$ref (Total Keys: 1) - schemas.GoogleAuthenticationSettings (Total Keys: 4)
1 parent 494a29d commit 5afc401

File tree

3 files changed

+71
-5
lines changed

3 files changed

+71
-5
lines changed

docs/dyn/androidmanagement_v1.enterprises.html

Lines changed: 18 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -159,6 +159,9 @@ <h3>Method Details</h3>
159159
&quot;A String&quot;,
160160
],
161161
&quot;enterpriseDisplayName&quot;: &quot;A String&quot;, # The name of the enterprise displayed to users. This field has a maximum length of 100 characters.
162+
&quot;googleAuthenticationSettings&quot;: { # Contains settings for Google-provided user authentication. # Settings for Google-provided user authentication.
163+
&quot;googleAuthenticationRequired&quot;: &quot;A String&quot;, # 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.
164+
},
162165
&quot;logo&quot;: { # Data hosted at an external location. The data is to be downloaded by Android Device Policy and verified against the hash. # 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.
163166
&quot;sha256Hash&quot;: &quot;A String&quot;, # The base-64 encoded SHA-256 hash of the content hosted at url. If the content doesn&#x27;t match this hash, Android Device Policy won&#x27;t use the data.
164167
&quot;url&quot;: &quot;A String&quot;, # The absolute URL to the data, which must use either the http or https scheme. Android Device Policy doesn&#x27;t provide any credentials in the GET request, so the URL must be publicly accessible. Including a long, random component in the URL may be used to prevent attackers from discovering the URL.
@@ -220,6 +223,9 @@ <h3>Method Details</h3>
220223
&quot;A String&quot;,
221224
],
222225
&quot;enterpriseDisplayName&quot;: &quot;A String&quot;, # The name of the enterprise displayed to users. This field has a maximum length of 100 characters.
226+
&quot;googleAuthenticationSettings&quot;: { # Contains settings for Google-provided user authentication. # Settings for Google-provided user authentication.
227+
&quot;googleAuthenticationRequired&quot;: &quot;A String&quot;, # 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.
228+
},
223229
&quot;logo&quot;: { # Data hosted at an external location. The data is to be downloaded by Android Device Policy and verified against the hash. # 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.
224230
&quot;sha256Hash&quot;: &quot;A String&quot;, # The base-64 encoded SHA-256 hash of the content hosted at url. If the content doesn&#x27;t match this hash, Android Device Policy won&#x27;t use the data.
225231
&quot;url&quot;: &quot;A String&quot;, # The absolute URL to the data, which must use either the http or https scheme. Android Device Policy doesn&#x27;t provide any credentials in the GET request, so the URL must be publicly accessible. Including a long, random component in the URL may be used to prevent attackers from discovering the URL.
@@ -302,6 +308,9 @@ <h3>Method Details</h3>
302308
&quot;A String&quot;,
303309
],
304310
&quot;enterpriseDisplayName&quot;: &quot;A String&quot;, # The name of the enterprise displayed to users. This field has a maximum length of 100 characters.
311+
&quot;googleAuthenticationSettings&quot;: { # Contains settings for Google-provided user authentication. # Settings for Google-provided user authentication.
312+
&quot;googleAuthenticationRequired&quot;: &quot;A String&quot;, # 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.
313+
},
305314
&quot;logo&quot;: { # Data hosted at an external location. The data is to be downloaded by Android Device Policy and verified against the hash. # 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.
306315
&quot;sha256Hash&quot;: &quot;A String&quot;, # The base-64 encoded SHA-256 hash of the content hosted at url. If the content doesn&#x27;t match this hash, Android Device Policy won&#x27;t use the data.
307316
&quot;url&quot;: &quot;A String&quot;, # The absolute URL to the data, which must use either the http or https scheme. Android Device Policy doesn&#x27;t provide any credentials in the GET request, so the URL must be publicly accessible. Including a long, random component in the URL may be used to prevent attackers from discovering the URL.
@@ -374,6 +383,9 @@ <h3>Method Details</h3>
374383
&quot;A String&quot;,
375384
],
376385
&quot;enterpriseDisplayName&quot;: &quot;A String&quot;, # The name of the enterprise displayed to users. This field has a maximum length of 100 characters.
386+
&quot;googleAuthenticationSettings&quot;: { # Contains settings for Google-provided user authentication. # Settings for Google-provided user authentication.
387+
&quot;googleAuthenticationRequired&quot;: &quot;A String&quot;, # 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.
388+
},
377389
&quot;logo&quot;: { # Data hosted at an external location. The data is to be downloaded by Android Device Policy and verified against the hash. # 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.
378390
&quot;sha256Hash&quot;: &quot;A String&quot;, # The base-64 encoded SHA-256 hash of the content hosted at url. If the content doesn&#x27;t match this hash, Android Device Policy won&#x27;t use the data.
379391
&quot;url&quot;: &quot;A String&quot;, # The absolute URL to the data, which must use either the http or https scheme. Android Device Policy doesn&#x27;t provide any credentials in the GET request, so the URL must be publicly accessible. Including a long, random component in the URL may be used to prevent attackers from discovering the URL.
@@ -450,6 +462,9 @@ <h3>Method Details</h3>
450462
&quot;A String&quot;,
451463
],
452464
&quot;enterpriseDisplayName&quot;: &quot;A String&quot;, # The name of the enterprise displayed to users. This field has a maximum length of 100 characters.
465+
&quot;googleAuthenticationSettings&quot;: { # Contains settings for Google-provided user authentication. # Settings for Google-provided user authentication.
466+
&quot;googleAuthenticationRequired&quot;: &quot;A String&quot;, # 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.
467+
},
453468
&quot;logo&quot;: { # Data hosted at an external location. The data is to be downloaded by Android Device Policy and verified against the hash. # 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.
454469
&quot;sha256Hash&quot;: &quot;A String&quot;, # The base-64 encoded SHA-256 hash of the content hosted at url. If the content doesn&#x27;t match this hash, Android Device Policy won&#x27;t use the data.
455470
&quot;url&quot;: &quot;A String&quot;, # The absolute URL to the data, which must use either the http or https scheme. Android Device Policy doesn&#x27;t provide any credentials in the GET request, so the URL must be publicly accessible. Including a long, random component in the URL may be used to prevent attackers from discovering the URL.
@@ -508,6 +523,9 @@ <h3>Method Details</h3>
508523
&quot;A String&quot;,
509524
],
510525
&quot;enterpriseDisplayName&quot;: &quot;A String&quot;, # The name of the enterprise displayed to users. This field has a maximum length of 100 characters.
526+
&quot;googleAuthenticationSettings&quot;: { # Contains settings for Google-provided user authentication. # Settings for Google-provided user authentication.
527+
&quot;googleAuthenticationRequired&quot;: &quot;A String&quot;, # 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.
528+
},
511529
&quot;logo&quot;: { # Data hosted at an external location. The data is to be downloaded by Android Device Policy and verified against the hash. # 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.
512530
&quot;sha256Hash&quot;: &quot;A String&quot;, # The base-64 encoded SHA-256 hash of the content hosted at url. If the content doesn&#x27;t match this hash, Android Device Policy won&#x27;t use the data.
513531
&quot;url&quot;: &quot;A String&quot;, # The absolute URL to the data, which must use either the http or https scheme. Android Device Policy doesn&#x27;t provide any credentials in the GET request, so the URL must be publicly accessible. Including a long, random component in the URL may be used to prevent attackers from discovering the URL.

docs/dyn/androidmanagement_v1.enterprises.policies.html

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -201,6 +201,7 @@ <h3>Method Details</h3>
201201
&quot;policy&quot;: &quot;A String&quot;, # The policy for granting the permission.
202202
},
203203
],
204+
&quot;userControlSettings&quot;: &quot;A String&quot;, # Optional. Specifies whether user control is permitted for the app. User control includes user actions like force-stopping and clearing app data. Supported on Android 11 and above.
204205
&quot;workProfileWidgets&quot;: &quot;A String&quot;, # Specifies whether the app installed in the work profile is allowed to add widgets to the home screen.
205206
},
206207
],
@@ -620,6 +621,7 @@ <h3>Method Details</h3>
620621
&quot;policy&quot;: &quot;A String&quot;, # The policy for granting the permission.
621622
},
622623
],
624+
&quot;userControlSettings&quot;: &quot;A String&quot;, # Optional. Specifies whether user control is permitted for the app. User control includes user actions like force-stopping and clearing app data. Supported on Android 11 and above.
623625
&quot;workProfileWidgets&quot;: &quot;A String&quot;, # Specifies whether the app installed in the work profile is allowed to add widgets to the home screen.
624626
},
625627
],
@@ -1045,6 +1047,7 @@ <h3>Method Details</h3>
10451047
&quot;policy&quot;: &quot;A String&quot;, # The policy for granting the permission.
10461048
},
10471049
],
1050+
&quot;userControlSettings&quot;: &quot;A String&quot;, # Optional. Specifies whether user control is permitted for the app. User control includes user actions like force-stopping and clearing app data. Supported on Android 11 and above.
10481051
&quot;workProfileWidgets&quot;: &quot;A String&quot;, # Specifies whether the app installed in the work profile is allowed to add widgets to the home screen.
10491052
},
10501053
],
@@ -1453,6 +1456,7 @@ <h3>Method Details</h3>
14531456
&quot;policy&quot;: &quot;A String&quot;, # The policy for granting the permission.
14541457
},
14551458
],
1459+
&quot;userControlSettings&quot;: &quot;A String&quot;, # Optional. Specifies whether user control is permitted for the app. User control includes user actions like force-stopping and clearing app data. Supported on Android 11 and above.
14561460
&quot;workProfileWidgets&quot;: &quot;A String&quot;, # Specifies whether the app installed in the work profile is allowed to add widgets to the home screen.
14571461
},
14581462
],

googleapiclient/discovery_cache/documents/androidmanagement.v1.json

Lines changed: 49 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1168,7 +1168,7 @@
11681168
}
11691169
}
11701170
},
1171-
"revision": "20240516",
1171+
"revision": "20240531",
11721172
"rootUrl": "https://androidmanagement.googleapis.com/",
11731173
"schemas": {
11741174
"AdbShellCommandEvent": {
@@ -1811,6 +1811,20 @@
18111811
},
18121812
"type": "array"
18131813
},
1814+
"userControlSettings": {
1815+
"description": "Optional. Specifies whether user control is permitted for the app. User control includes user actions like force-stopping and clearing app data. Supported on Android 11 and above.",
1816+
"enum": [
1817+
"USER_CONTROL_SETTINGS_UNSPECIFIED",
1818+
"USER_CONTROL_ALLOWED",
1819+
"USER_CONTROL_DISALLOWED"
1820+
],
1821+
"enumDescriptions": [
1822+
"Uses the default behaviour of the app to determine if user control is allowed or disallowed. For most apps, user control is allowed by default, but for some critical apps such as companion apps (extensionConfig set to true), kiosk apps and other critical system apps, user control is disallowed.",
1823+
"User control is allowed for the app. Kiosk apps can use this to allow user control.",
1824+
"User control is disallowed for the app. API_LEVEL is reported if the Android version is less than 11."
1825+
],
1826+
"type": "string"
1827+
},
18141828
"workProfileWidgets": {
18151829
"description": "Specifies whether the app installed in the work profile is allowed to add widgets to the home screen.",
18161830
"enum": [
@@ -3012,12 +3026,14 @@
30123026
"enum": [
30133027
"ALLOW_PERSONAL_USAGE_UNSPECIFIED",
30143028
"PERSONAL_USAGE_ALLOWED",
3015-
"PERSONAL_USAGE_DISALLOWED"
3029+
"PERSONAL_USAGE_DISALLOWED",
3030+
"PERSONAL_USAGE_DISALLOWED_USERLESS"
30163031
],
30173032
"enumDescriptions": [
30183033
"Personal usage restriction is not specified",
30193034
"Personal usage is allowed",
3020-
"Personal usage is disallowed"
3035+
"Personal usage is disallowed",
3036+
"Device is not associated with a single user, and thus both personal usage and corporate identity authentication are not expected."
30213037
],
30223038
"type": "string"
30233039
},
@@ -3107,6 +3123,10 @@ false
31073123
"description": "The name of the enterprise displayed to users. This field has a maximum length of 100 characters.",
31083124
"type": "string"
31093125
},
3126+
"googleAuthenticationSettings": {
3127+
"$ref": "GoogleAuthenticationSettings",
3128+
"description": "Settings for Google-provided user authentication."
3129+
},
31103130
"logo": {
31113131
"$ref": "ExternalData",
31123132
"description": "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."
@@ -3211,6 +3231,28 @@ false
32113231
},
32123232
"type": "object"
32133233
},
3234+
"GoogleAuthenticationSettings": {
3235+
"description": "Contains settings for Google-provided user authentication.",
3236+
"id": "GoogleAuthenticationSettings",
3237+
"properties": {
3238+
"googleAuthenticationRequired": {
3239+
"description": "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.",
3240+
"enum": [
3241+
"GOOGLE_AUTHENTICATION_REQUIRED_UNSPECIFIED",
3242+
"NOT_REQUIRED",
3243+
"REQUIRED"
3244+
],
3245+
"enumDescriptions": [
3246+
"This value is not used.",
3247+
"Google authentication is not required.",
3248+
"User is required to be successfully authenticated by Google."
3249+
],
3250+
"readOnly": true,
3251+
"type": "string"
3252+
}
3253+
},
3254+
"type": "object"
3255+
},
32143256
"HardwareInfo": {
32153257
"description": "Information about device hardware. The fields related to temperature thresholds are only available if hardwareStatusEnabled is true in the device's policy.",
32163258
"id": "HardwareInfo",
@@ -5621,12 +5663,14 @@ false
56215663
"enum": [
56225664
"ALLOW_PERSONAL_USAGE_UNSPECIFIED",
56235665
"PERSONAL_USAGE_ALLOWED",
5624-
"PERSONAL_USAGE_DISALLOWED"
5666+
"PERSONAL_USAGE_DISALLOWED",
5667+
"PERSONAL_USAGE_DISALLOWED_USERLESS"
56255668
],
56265669
"enumDescriptions": [
56275670
"Personal usage restriction is not specified",
56285671
"Personal usage is allowed",
5629-
"Personal usage is disallowed"
5672+
"Personal usage is disallowed",
5673+
"Device is not associated with a single user, and thus both personal usage and corporate identity authentication are not expected."
56305674
],
56315675
"type": "string"
56325676
},

0 commit comments

Comments
 (0)