Skip to content

Commit

Permalink
feat(androidenterprise): update the API
Browse files Browse the repository at this point in the history
#### androidenterprise:v1

The following keys were added:
- schemas.Enterprise.properties.googleAuthenticationSettings.$ref
- schemas.Enterprise.properties.googleAuthenticationSettings.description
- schemas.Enterprise.properties.googleAuthenticationSettings.readOnly
- schemas.GoogleAuthenticationSettings.description
- schemas.GoogleAuthenticationSettings.id
- schemas.GoogleAuthenticationSettings.properties.dedicatedDevicesAllowed.description
- schemas.GoogleAuthenticationSettings.properties.dedicatedDevicesAllowed.enum
- schemas.GoogleAuthenticationSettings.properties.dedicatedDevicesAllowed.enumDescriptions
- schemas.GoogleAuthenticationSettings.properties.dedicatedDevicesAllowed.type
- schemas.GoogleAuthenticationSettings.properties.googleAuthenticationRequired.description
- schemas.GoogleAuthenticationSettings.properties.googleAuthenticationRequired.enum
- schemas.GoogleAuthenticationSettings.properties.googleAuthenticationRequired.enumDescriptions
- schemas.GoogleAuthenticationSettings.properties.googleAuthenticationRequired.type
- schemas.GoogleAuthenticationSettings.type
  • Loading branch information
yoshi-automation authored and sofisl committed Feb 2, 2023
1 parent a9ca643 commit bd0d5e5
Show file tree
Hide file tree
Showing 2 changed files with 62 additions and 1 deletion.
42 changes: 41 additions & 1 deletion discovery/androidenterprise-v1.json
Original file line number Diff line number Diff line change
Expand Up @@ -2649,7 +2649,7 @@
}
}
},
"revision": "20221214",
"revision": "20230131",
"rootUrl": "https://androidenterprise.googleapis.com/",
"schemas": {
"Administrator": {
Expand Down Expand Up @@ -3265,6 +3265,11 @@
},
"type": "array"
},
"googleAuthenticationSettings": {
"$ref": "GoogleAuthenticationSettings",
"description": "Output only. Settings for Google-provided user authentication.",
"readOnly": true
},
"id": {
"description": "The unique ID for the enterprise.",
"type": "string"
Expand Down Expand Up @@ -3367,6 +3372,41 @@
},
"type": "object"
},
"GoogleAuthenticationSettings": {
"description": "Contains settings for Google-provided user authentication.",
"id": "GoogleAuthenticationSettings",
"properties": {
"dedicatedDevicesAllowed": {
"description": "Whether dedicated devices are allowed.",
"enum": [
"dedicatedDevicesAllowedUnspecified",
"disallowed",
"allowed"
],
"enumDescriptions": [
"This value is unused.",
"Dedicated devices are not allowed.",
"Dedicated devices are allowed."
],
"type": "string"
},
"googleAuthenticationRequired": {
"description": "Whether Google authentication is required.",
"enum": [
"googleAuthenticationRequiredUnspecified",
"notRequired",
"required"
],
"enumDescriptions": [
"This value is unused.",
"Google authentication is not required.",
"User is required to be successfully authenticated by Google."
],
"type": "string"
}
},
"type": "object"
},
"GroupLicense": {
"description": "Group license objects allow you to keep track of licenses (called entitlements) for both free and paid apps. For a free app, a group license is created when an enterprise admin first approves the product in Google Play or when the first entitlement for the product is created for a user via the API. For a paid app, a group license object is only created when an enterprise admin purchases the product in Google Play for the first time. Use the API to query group licenses. A Grouplicenses resource includes the total number of licenses purchased (paid apps only) and the total number of licenses currently in use. In other words, the total number of Entitlements that exist for the product. Only one group license object is created per product and group license objects are never deleted. If a product is unapproved, its group license remains. This allows enterprise admins to keep track of any remaining entitlements for the product.",
"id": "GroupLicense",
Expand Down
21 changes: 21 additions & 0 deletions src/apis/androidenterprise/v1.ts
Original file line number Diff line number Diff line change
Expand Up @@ -532,6 +532,10 @@ export namespace androidenterprise_v1 {
* Admins of the enterprise. This is only supported for enterprises created via the EMM-initiated flow.
*/
administrator?: Schema$Administrator[];
/**
* Output only. Settings for Google-provided user authentication.
*/
googleAuthenticationSettings?: Schema$GoogleAuthenticationSettings;
/**
* The unique ID for the enterprise.
*/
Expand Down Expand Up @@ -598,6 +602,19 @@ export namespace androidenterprise_v1 {
*/
entitlement?: Schema$Entitlement[];
}
/**
* Contains settings for Google-provided user authentication.
*/
export interface Schema$GoogleAuthenticationSettings {
/**
* Whether dedicated devices are allowed.
*/
dedicatedDevicesAllowed?: string | null;
/**
* Whether Google authentication is required.
*/
googleAuthenticationRequired?: string | null;
}
/**
* Group license objects allow you to keep track of licenses (called entitlements) for both free and paid apps. For a free app, a group license is created when an enterprise admin first approves the product in Google Play or when the first entitlement for the product is created for a user via the API. For a paid app, a group license object is only created when an enterprise admin purchases the product in Google Play for the first time. Use the API to query group licenses. A Grouplicenses resource includes the total number of licenses purchased (paid apps only) and the total number of licenses currently in use. In other words, the total number of Entitlements that exist for the product. Only one group license object is created per product and group license objects are never deleted. If a product is unapproved, its group license remains. This allows enterprise admins to keep track of any remaining entitlements for the product.
*/
Expand Down Expand Up @@ -2588,6 +2605,7 @@ export namespace androidenterprise_v1 {
* // Example response
* // {
* // "administrator": [],
* // "googleAuthenticationSettings": {},
* // "id": "my_id",
* // "name": "my_name",
* // "primaryDomain": "my_primaryDomain"
Expand Down Expand Up @@ -3013,6 +3031,7 @@ export namespace androidenterprise_v1 {
* // request body parameters
* // {
* // "administrator": [],
* // "googleAuthenticationSettings": {},
* // "id": "my_id",
* // "name": "my_name",
* // "primaryDomain": "my_primaryDomain"
Expand All @@ -3024,6 +3043,7 @@ export namespace androidenterprise_v1 {
* // Example response
* // {
* // "administrator": [],
* // "googleAuthenticationSettings": {},
* // "id": "my_id",
* // "name": "my_name",
* // "primaryDomain": "my_primaryDomain"
Expand Down Expand Up @@ -3288,6 +3308,7 @@ export namespace androidenterprise_v1 {
* // Example response
* // {
* // "administrator": [],
* // "googleAuthenticationSettings": {},
* // "id": "my_id",
* // "name": "my_name",
* // "primaryDomain": "my_primaryDomain"
Expand Down

0 comments on commit bd0d5e5

Please sign in to comment.