Skip to content

Commit

Permalink
Regenerate androidenterprise client (#6084)
Browse files Browse the repository at this point in the history
  • Loading branch information
yoshi-code-bot authored Jan 14, 2025
1 parent 2c1ff37 commit 7a1a3e7
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 1 deletion.
5 changes: 5 additions & 0 deletions src/AndroidEnterprise.php
Original file line number Diff line number Diff line change
Expand Up @@ -268,6 +268,11 @@ public function __construct($clientOrConfig = [], $rootUrl = null)
'location' => 'query',
'type' => 'string',
],
'allowedDomains' => [
'location' => 'query',
'type' => 'string',
'repeated' => true,
],
'callbackUrl' => [
'location' => 'query',
'type' => 'string',
Expand Down
11 changes: 10 additions & 1 deletion src/AndroidEnterprise/Resource/Enterprises.php
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,16 @@ public function enroll($token, Enterprise $postBody, $optParams = [])
*
* @opt_param string adminEmail 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.
* be altered by the user. If `allowedDomains` is non-empty then this must
* belong to one of the `allowedDomains`.
* @opt_param string allowedDomains 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.
* @opt_param string callbackUrl The callback URL to which the Admin will be
* redirected after successfully creating an enterprise. Before redirecting
* there the system will add a single query parameter to this URL named
Expand Down

0 comments on commit 7a1a3e7

Please sign in to comment.