Skip to content

Commit 99ae575

Browse files
feat: Automated regeneration of AndroidEnterprise client (#12809)
Auto-created at 2025-01-13 13:15:31 +0000 using the toys pull request generator.
1 parent b6be5f5 commit 99ae575

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

clients/android_enterprise/lib/google_api/android_enterprise/v1/api/enterprises.ex

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -374,7 +374,8 @@ defmodule GoogleApi.AndroidEnterprise.V1.Api.Enterprises do
374374
* `:quotaUser` (*type:* `String.t`) - Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.
375375
* `:uploadType` (*type:* `String.t`) - Legacy upload protocol for media (e.g. "media", "multipart").
376376
* `:upload_protocol` (*type:* `String.t`) - Upload protocol for media (e.g. "raw", "multipart").
377-
* `:adminEmail` (*type:* `String.t`) - 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.
377+
* `:adminEmail` (*type:* `String.t`) - 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. If `allowedDomains` is non-empty then this must belong to one of the `allowedDomains`.
378+
* `:allowedDomains` (*type:* `list(String.t)`) - 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.
378379
* `:callbackUrl` (*type:* `String.t`) - 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 "enterpriseToken" which will contain an opaque token to be used for the CompleteSignup request. Beware that this means that the URL will be parsed, the parameter added and then a new URL formatted, i.e. there may be some minor formatting changes and, more importantly, the URL must be well-formed so that it can be parsed.
379380
* `opts` (*type:* `keyword()`) - Call options
380381
@@ -410,6 +411,7 @@ defmodule GoogleApi.AndroidEnterprise.V1.Api.Enterprises do
410411
:uploadType => :query,
411412
:upload_protocol => :query,
412413
:adminEmail => :query,
414+
:allowedDomains => :query,
413415
:callbackUrl => :query
414416
}
415417

clients/android_enterprise/lib/google_api/android_enterprise/v1/metadata.ex

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ defmodule GoogleApi.AndroidEnterprise.V1 do
2020
API client metadata for GoogleApi.AndroidEnterprise.V1.
2121
"""
2222

23-
@discovery_revision "20250102"
23+
@discovery_revision "20250109"
2424

2525
def discovery_revision(), do: @discovery_revision
2626
end

0 commit comments

Comments
 (0)