Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Regenerate androidenterprise client #6084

Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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