Skip to content

Commit 9979291

Browse files
feat: Automated regeneration of androidmanagement v1 client (googleapis#21307)
Auto-created at 2025-01-08 00:58:48 +0000 using the toys pull request generator.
1 parent c79f565 commit 9979291

File tree

4 files changed

+17
-3
lines changed

4 files changed

+17
-3
lines changed

api_names_out.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30825,6 +30825,7 @@
3082530825
"/androidmanagement:v1/androidmanagement.provisioningInfo.get/name": name
3082630826
"/androidmanagement:v1/androidmanagement.signupUrls.create": create_signup_url
3082730827
"/androidmanagement:v1/androidmanagement.signupUrls.create/adminEmail": admin_email
30828+
"/androidmanagement:v1/androidmanagement.signupUrls.create/allowedDomains": allowed_domains
3082830829
"/androidmanagement:v1/androidmanagement.signupUrls.create/callbackUrl": callback_url
3082930830
"/androidmanagement:v1/androidmanagement.signupUrls.create/projectId": project_id
3083030831
"/androidmanagement:v1/fields": fields

generated/google-apis-androidmanagement_v1/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Release history for google-apis-androidmanagement_v1
22

3+
### v0.86.0 (2025-01-08)
4+
5+
* Regenerated from discovery document revision 20250106
6+
37
### v0.85.0 (2024-12-08)
48

59
* Regenerated from discovery document revision 20241204

generated/google-apis-androidmanagement_v1/lib/google/apis/androidmanagement_v1/gem_version.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@ module Google
1616
module Apis
1717
module AndroidmanagementV1
1818
# Version of the google-apis-androidmanagement_v1 gem
19-
GEM_VERSION = "0.85.0"
19+
GEM_VERSION = "0.86.0"
2020

2121
# Version of the code generator used to generate this client
2222
GENERATOR_VERSION = "0.15.1"
2323

2424
# Revision of the discovery document this client was generated from
25-
REVISION = "20241204"
25+
REVISION = "20250106"
2626
end
2727
end
2828
end

generated/google-apis-androidmanagement_v1/lib/google/apis/androidmanagement_v1/service.rb

Lines changed: 10 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1210,6 +1210,14 @@ def get_provisioning_info(name, fields: nil, quota_user: nil, options: nil, &blo
12101210
# @param [String] admin_email
12111211
# Optional. Email address used to prefill the admin field of the enterprise
12121212
# signup form. This value is a hint only and can be altered by the user.
1213+
# @param [Array<String>, String] allowed_domains
1214+
# Optional. A list of domains that are permitted for the admin email. The IT
1215+
# admin cannot enter an email address with a domain name that is not in this
1216+
# list. Subdomains of domains in this list are not allowed but can be allowed by
1217+
# adding a second entry which has *. prefixed to the domain name (e.g. *.example.
1218+
# com). If the field is not present or is an empty list then the IT admin is
1219+
# free to use any valid domain name. Personal email domains are always allowed,
1220+
# but will result in the creation of a managed Google Play Accounts enterprise.
12131221
# @param [String] callback_url
12141222
# The callback URL that the admin will be redirected to after successfully
12151223
# creating an enterprise. Before redirecting there the system will add a query
@@ -1236,11 +1244,12 @@ def get_provisioning_info(name, fields: nil, quota_user: nil, options: nil, &blo
12361244
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
12371245
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
12381246
# @raise [Google::Apis::AuthorizationError] Authorization is required
1239-
def create_signup_url(admin_email: nil, callback_url: nil, project_id: nil, fields: nil, quota_user: nil, options: nil, &block)
1247+
def create_signup_url(admin_email: nil, allowed_domains: nil, callback_url: nil, project_id: nil, fields: nil, quota_user: nil, options: nil, &block)
12401248
command = make_simple_command(:post, 'v1/signupUrls', options)
12411249
command.response_representation = Google::Apis::AndroidmanagementV1::SignupUrl::Representation
12421250
command.response_class = Google::Apis::AndroidmanagementV1::SignupUrl
12431251
command.query['adminEmail'] = admin_email unless admin_email.nil?
1252+
command.query['allowedDomains'] = allowed_domains unless allowed_domains.nil?
12441253
command.query['callbackUrl'] = callback_url unless callback_url.nil?
12451254
command.query['projectId'] = project_id unless project_id.nil?
12461255
command.query['fields'] = fields unless fields.nil?

0 commit comments

Comments
 (0)