@@ -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