google-apis-androidenterprise_v1 0.39.0 → 0.41.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/CHANGELOG.md +9 -0
- data/lib/google/apis/androidenterprise_v1/classes.rb +61 -0
- data/lib/google/apis/androidenterprise_v1/gem_version.rb +3 -3
- data/lib/google/apis/androidenterprise_v1/representations.rb +30 -0
- data/lib/google/apis/androidenterprise_v1/service.rb +98 -38
- metadata +4 -7
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: e88a8ea31839d3b87474362a223811b8be4d548aca912a5aed1bbbb0469b4e6e
|
4
|
+
data.tar.gz: fa87e89fc8fb886a8f7b952e827bdc6a0417f6b6cfea7c1441463859eb394941
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 71b45ada7b013e6a912c46f5f42ba93102de342e61939960a9da46cb0692bf0ebc779519d4e59decbaa43f7981e45c6e30a8279e92dd0a68fa2867aa6220cb1c
|
7
|
+
data.tar.gz: a889e7ee6b025baf768571df18681d8781cdee9f571c192d7f6b2b9213d3474a0529ce137c0a614c91b9e7fb9ffb3b4cf8d6310ccce37f7634fb0d682cd5ecc1
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,14 @@
|
|
1
1
|
# Release history for google-apis-androidenterprise_v1
|
2
2
|
|
3
|
+
### v0.41.0 (2025-03-09)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20250302
|
6
|
+
|
7
|
+
### v0.40.0 (2025-02-26)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20250213
|
10
|
+
* Regenerated using generator version 0.16.0
|
11
|
+
|
3
12
|
### v0.39.0 (2025-01-05)
|
4
13
|
|
5
14
|
* Regenerated from discovery document revision 20250102
|
@@ -911,6 +911,11 @@ module Google
|
|
911
911
|
# @return [Array<Google::Apis::AndroidenterpriseV1::Administrator>]
|
912
912
|
attr_accessor :administrator
|
913
913
|
|
914
|
+
# The type of the enterprise.
|
915
|
+
# Corresponds to the JSON property `enterpriseType`
|
916
|
+
# @return [String]
|
917
|
+
attr_accessor :enterprise_type
|
918
|
+
|
914
919
|
# Contains settings for Google-provided user authentication.
|
915
920
|
# Corresponds to the JSON property `googleAuthenticationSettings`
|
916
921
|
# @return [Google::Apis::AndroidenterpriseV1::GoogleAuthenticationSettings]
|
@@ -921,6 +926,11 @@ module Google
|
|
921
926
|
# @return [String]
|
922
927
|
attr_accessor :id
|
923
928
|
|
929
|
+
# The type of managed Google domain
|
930
|
+
# Corresponds to the JSON property `managedGoogleDomainType`
|
931
|
+
# @return [String]
|
932
|
+
attr_accessor :managed_google_domain_type
|
933
|
+
|
924
934
|
# The name of the enterprise, for example, "Example, Inc".
|
925
935
|
# Corresponds to the JSON property `name`
|
926
936
|
# @return [String]
|
@@ -938,8 +948,10 @@ module Google
|
|
938
948
|
# Update properties of this object
|
939
949
|
def update!(**args)
|
940
950
|
@administrator = args[:administrator] if args.key?(:administrator)
|
951
|
+
@enterprise_type = args[:enterprise_type] if args.key?(:enterprise_type)
|
941
952
|
@google_authentication_settings = args[:google_authentication_settings] if args.key?(:google_authentication_settings)
|
942
953
|
@id = args[:id] if args.key?(:id)
|
954
|
+
@managed_google_domain_type = args[:managed_google_domain_type] if args.key?(:managed_google_domain_type)
|
943
955
|
@name = args[:name] if args.key?(:name)
|
944
956
|
@primary_domain = args[:primary_domain] if args.key?(:primary_domain)
|
945
957
|
end
|
@@ -985,6 +997,26 @@ module Google
|
|
985
997
|
end
|
986
998
|
end
|
987
999
|
|
1000
|
+
# An event generated when an enterprise is upgraded. **Note:** This feature is
|
1001
|
+
# not generally available.
|
1002
|
+
class EnterpriseUpgradeEvent
|
1003
|
+
include Google::Apis::Core::Hashable
|
1004
|
+
|
1005
|
+
# The upgrade state.
|
1006
|
+
# Corresponds to the JSON property `upgradeState`
|
1007
|
+
# @return [String]
|
1008
|
+
attr_accessor :upgrade_state
|
1009
|
+
|
1010
|
+
def initialize(**args)
|
1011
|
+
update!(**args)
|
1012
|
+
end
|
1013
|
+
|
1014
|
+
# Update properties of this object
|
1015
|
+
def update!(**args)
|
1016
|
+
@upgrade_state = args[:upgrade_state] if args.key?(:upgrade_state)
|
1017
|
+
end
|
1018
|
+
end
|
1019
|
+
|
988
1020
|
#
|
989
1021
|
class ListEnterprisesResponse
|
990
1022
|
include Google::Apis::Core::Hashable
|
@@ -1080,6 +1112,28 @@ module Google
|
|
1080
1112
|
end
|
1081
1113
|
end
|
1082
1114
|
|
1115
|
+
# Response message for generating a URL to upgrade an existing managed Google
|
1116
|
+
# Play Accounts enterprise to a managed Google domain. **Note:** This feature is
|
1117
|
+
# not generally available.
|
1118
|
+
class GenerateEnterpriseUpgradeUrlResponse
|
1119
|
+
include Google::Apis::Core::Hashable
|
1120
|
+
|
1121
|
+
# A URL for an enterprise admin to upgrade their enterprise. The page can't be
|
1122
|
+
# rendered in an iframe.
|
1123
|
+
# Corresponds to the JSON property `url`
|
1124
|
+
# @return [String]
|
1125
|
+
attr_accessor :url
|
1126
|
+
|
1127
|
+
def initialize(**args)
|
1128
|
+
update!(**args)
|
1129
|
+
end
|
1130
|
+
|
1131
|
+
# Update properties of this object
|
1132
|
+
def update!(**args)
|
1133
|
+
@url = args[:url] if args.key?(:url)
|
1134
|
+
end
|
1135
|
+
end
|
1136
|
+
|
1083
1137
|
# Contains settings for Google-provided user authentication.
|
1084
1138
|
class GoogleAuthenticationSettings
|
1085
1139
|
include Google::Apis::Core::Hashable
|
@@ -1753,6 +1807,12 @@ module Google
|
|
1753
1807
|
# @return [String]
|
1754
1808
|
attr_accessor :enterprise_id
|
1755
1809
|
|
1810
|
+
# An event generated when an enterprise is upgraded. **Note:** This feature is
|
1811
|
+
# not generally available.
|
1812
|
+
# Corresponds to the JSON property `enterpriseUpgradeEvent`
|
1813
|
+
# @return [Google::Apis::AndroidenterpriseV1::EnterpriseUpgradeEvent]
|
1814
|
+
attr_accessor :enterprise_upgrade_event
|
1815
|
+
|
1756
1816
|
# An event generated when an app installation failed on a device
|
1757
1817
|
# Corresponds to the JSON property `installFailureEvent`
|
1758
1818
|
# @return [Google::Apis::AndroidenterpriseV1::InstallFailureEvent]
|
@@ -1799,6 +1859,7 @@ module Google
|
|
1799
1859
|
@app_update_event = args[:app_update_event] if args.key?(:app_update_event)
|
1800
1860
|
@device_report_update_event = args[:device_report_update_event] if args.key?(:device_report_update_event)
|
1801
1861
|
@enterprise_id = args[:enterprise_id] if args.key?(:enterprise_id)
|
1862
|
+
@enterprise_upgrade_event = args[:enterprise_upgrade_event] if args.key?(:enterprise_upgrade_event)
|
1802
1863
|
@install_failure_event = args[:install_failure_event] if args.key?(:install_failure_event)
|
1803
1864
|
@new_device_event = args[:new_device_event] if args.key?(:new_device_event)
|
1804
1865
|
@new_permissions_event = args[:new_permissions_event] if args.key?(:new_permissions_event)
|
@@ -16,13 +16,13 @@ module Google
|
|
16
16
|
module Apis
|
17
17
|
module AndroidenterpriseV1
|
18
18
|
# Version of the google-apis-androidenterprise_v1 gem
|
19
|
-
GEM_VERSION = "0.
|
19
|
+
GEM_VERSION = "0.41.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.16.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20250302"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -202,6 +202,12 @@ module Google
|
|
202
202
|
include Google::Apis::Core::JsonObjectSupport
|
203
203
|
end
|
204
204
|
|
205
|
+
class EnterpriseUpgradeEvent
|
206
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
207
|
+
|
208
|
+
include Google::Apis::Core::JsonObjectSupport
|
209
|
+
end
|
210
|
+
|
205
211
|
class ListEnterprisesResponse
|
206
212
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
207
213
|
|
@@ -226,6 +232,12 @@ module Google
|
|
226
232
|
include Google::Apis::Core::JsonObjectSupport
|
227
233
|
end
|
228
234
|
|
235
|
+
class GenerateEnterpriseUpgradeUrlResponse
|
236
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
237
|
+
|
238
|
+
include Google::Apis::Core::JsonObjectSupport
|
239
|
+
end
|
240
|
+
|
229
241
|
class GoogleAuthenticationSettings
|
230
242
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
231
243
|
|
@@ -802,9 +814,11 @@ module Google
|
|
802
814
|
class Representation < Google::Apis::Core::JsonRepresentation
|
803
815
|
collection :administrator, as: 'administrator', class: Google::Apis::AndroidenterpriseV1::Administrator, decorator: Google::Apis::AndroidenterpriseV1::Administrator::Representation
|
804
816
|
|
817
|
+
property :enterprise_type, as: 'enterpriseType'
|
805
818
|
property :google_authentication_settings, as: 'googleAuthenticationSettings', class: Google::Apis::AndroidenterpriseV1::GoogleAuthenticationSettings, decorator: Google::Apis::AndroidenterpriseV1::GoogleAuthenticationSettings::Representation
|
806
819
|
|
807
820
|
property :id, as: 'id'
|
821
|
+
property :managed_google_domain_type, as: 'managedGoogleDomainType'
|
808
822
|
property :name, as: 'name'
|
809
823
|
property :primary_domain, as: 'primaryDomain'
|
810
824
|
end
|
@@ -824,6 +838,13 @@ module Google
|
|
824
838
|
end
|
825
839
|
end
|
826
840
|
|
841
|
+
class EnterpriseUpgradeEvent
|
842
|
+
# @private
|
843
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
844
|
+
property :upgrade_state, as: 'upgradeState'
|
845
|
+
end
|
846
|
+
end
|
847
|
+
|
827
848
|
class ListEnterprisesResponse
|
828
849
|
# @private
|
829
850
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -856,6 +877,13 @@ module Google
|
|
856
877
|
end
|
857
878
|
end
|
858
879
|
|
880
|
+
class GenerateEnterpriseUpgradeUrlResponse
|
881
|
+
# @private
|
882
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
883
|
+
property :url, as: 'url'
|
884
|
+
end
|
885
|
+
end
|
886
|
+
|
859
887
|
class GoogleAuthenticationSettings
|
860
888
|
# @private
|
861
889
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1044,6 +1072,8 @@ module Google
|
|
1044
1072
|
property :device_report_update_event, as: 'deviceReportUpdateEvent', class: Google::Apis::AndroidenterpriseV1::DeviceReportUpdateEvent, decorator: Google::Apis::AndroidenterpriseV1::DeviceReportUpdateEvent::Representation
|
1045
1073
|
|
1046
1074
|
property :enterprise_id, as: 'enterpriseId'
|
1075
|
+
property :enterprise_upgrade_event, as: 'enterpriseUpgradeEvent', class: Google::Apis::AndroidenterpriseV1::EnterpriseUpgradeEvent, decorator: Google::Apis::AndroidenterpriseV1::EnterpriseUpgradeEvent::Representation
|
1076
|
+
|
1047
1077
|
property :install_failure_event, as: 'installFailureEvent', class: Google::Apis::AndroidenterpriseV1::InstallFailureEvent, decorator: Google::Apis::AndroidenterpriseV1::InstallFailureEvent::Representation
|
1048
1078
|
|
1049
1079
|
property :new_device_event, as: 'newDeviceEvent', class: Google::Apis::AndroidenterpriseV1::NewDeviceEvent, decorator: Google::Apis::AndroidenterpriseV1::NewDeviceEvent::Representation
|
@@ -290,6 +290,42 @@ module Google
|
|
290
290
|
execute_or_queue_command(command, &block)
|
291
291
|
end
|
292
292
|
|
293
|
+
# Returns a token for device enrollment. The DPC can encode this token within
|
294
|
+
# the QR/NFC/zero-touch enrollment payload or fetch it before calling the on-
|
295
|
+
# device API to authenticate the user. The token can be generated for each
|
296
|
+
# device or reused across multiple devices.
|
297
|
+
# @param [String] enterprise_id
|
298
|
+
# Required. The ID of the enterprise.
|
299
|
+
# @param [Google::Apis::AndroidenterpriseV1::EnrollmentToken] enrollment_token_object
|
300
|
+
# @param [String] fields
|
301
|
+
# Selector specifying which fields to include in a partial response.
|
302
|
+
# @param [String] quota_user
|
303
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
304
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
305
|
+
# @param [Google::Apis::RequestOptions] options
|
306
|
+
# Request-specific options
|
307
|
+
#
|
308
|
+
# @yield [result, err] Result & error if block supplied
|
309
|
+
# @yieldparam result [Google::Apis::AndroidenterpriseV1::EnrollmentToken] parsed result object
|
310
|
+
# @yieldparam err [StandardError] error object if request failed
|
311
|
+
#
|
312
|
+
# @return [Google::Apis::AndroidenterpriseV1::EnrollmentToken]
|
313
|
+
#
|
314
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
315
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
316
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
317
|
+
def create_enrollment_token(enterprise_id, enrollment_token_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
318
|
+
command = make_simple_command(:post, 'androidenterprise/v1/enterprises/{enterpriseId}/enrollmentTokens', options)
|
319
|
+
command.request_representation = Google::Apis::AndroidenterpriseV1::EnrollmentToken::Representation
|
320
|
+
command.request_object = enrollment_token_object
|
321
|
+
command.response_representation = Google::Apis::AndroidenterpriseV1::EnrollmentToken::Representation
|
322
|
+
command.response_class = Google::Apis::AndroidenterpriseV1::EnrollmentToken
|
323
|
+
command.params['enterpriseId'] = enterprise_id unless enterprise_id.nil?
|
324
|
+
command.query['fields'] = fields unless fields.nil?
|
325
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
326
|
+
execute_or_queue_command(command, &block)
|
327
|
+
end
|
328
|
+
|
293
329
|
# Acknowledges notifications that were received from Enterprises.
|
294
330
|
# PullNotificationSet to prevent subsequent calls from returning the same
|
295
331
|
# notifications.
|
@@ -356,42 +392,6 @@ module Google
|
|
356
392
|
execute_or_queue_command(command, &block)
|
357
393
|
end
|
358
394
|
|
359
|
-
# Returns a token for device enrollment. The DPC can encode this token within
|
360
|
-
# the QR/NFC/zero-touch enrollment payload or fetch it before calling the on-
|
361
|
-
# device API to authenticate the user. The token can be generated for each
|
362
|
-
# device or reused across multiple devices.
|
363
|
-
# @param [String] enterprise_id
|
364
|
-
# Required. The ID of the enterprise.
|
365
|
-
# @param [Google::Apis::AndroidenterpriseV1::EnrollmentToken] enrollment_token_object
|
366
|
-
# @param [String] fields
|
367
|
-
# Selector specifying which fields to include in a partial response.
|
368
|
-
# @param [String] quota_user
|
369
|
-
# Available to use for quota purposes for server-side applications. Can be any
|
370
|
-
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
371
|
-
# @param [Google::Apis::RequestOptions] options
|
372
|
-
# Request-specific options
|
373
|
-
#
|
374
|
-
# @yield [result, err] Result & error if block supplied
|
375
|
-
# @yieldparam result [Google::Apis::AndroidenterpriseV1::EnrollmentToken] parsed result object
|
376
|
-
# @yieldparam err [StandardError] error object if request failed
|
377
|
-
#
|
378
|
-
# @return [Google::Apis::AndroidenterpriseV1::EnrollmentToken]
|
379
|
-
#
|
380
|
-
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
381
|
-
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
382
|
-
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
383
|
-
def create_enterprise_enrollment_token(enterprise_id, enrollment_token_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
384
|
-
command = make_simple_command(:post, 'androidenterprise/v1/enterprises/{enterpriseId}/createEnrollmentToken', options)
|
385
|
-
command.request_representation = Google::Apis::AndroidenterpriseV1::EnrollmentToken::Representation
|
386
|
-
command.request_object = enrollment_token_object
|
387
|
-
command.response_representation = Google::Apis::AndroidenterpriseV1::EnrollmentToken::Representation
|
388
|
-
command.response_class = Google::Apis::AndroidenterpriseV1::EnrollmentToken
|
389
|
-
command.params['enterpriseId'] = enterprise_id unless enterprise_id.nil?
|
390
|
-
command.query['fields'] = fields unless fields.nil?
|
391
|
-
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
392
|
-
execute_or_queue_command(command, &block)
|
393
|
-
end
|
394
|
-
|
395
395
|
# Returns a unique token to access an embeddable UI. To generate a web UI, pass
|
396
396
|
# the generated token into the managed Google Play javascript API. Each token
|
397
397
|
# may only be used to start one UI session. See the JavaScript API documentation
|
@@ -461,10 +461,69 @@ module Google
|
|
461
461
|
execute_or_queue_command(command, &block)
|
462
462
|
end
|
463
463
|
|
464
|
+
# Generates an enterprise upgrade URL to upgrade an existing managed Google Play
|
465
|
+
# Accounts enterprise to a managed Google domain. **Note:** This feature is not
|
466
|
+
# generally available.
|
467
|
+
# @param [String] enterprise_id
|
468
|
+
# Required. The ID of the enterprise.
|
469
|
+
# @param [String] admin_email
|
470
|
+
# Optional. Email address used to prefill the admin field of the enterprise
|
471
|
+
# signup form as part of the upgrade process. This value is a hint only and can
|
472
|
+
# be altered by the user. Personal email addresses are not allowed. If `
|
473
|
+
# allowedDomains` is non-empty then this must belong to one of the `
|
474
|
+
# allowedDomains`.
|
475
|
+
# @param [Array<String>, String] allowed_domains
|
476
|
+
# Optional. A list of domains that are permitted for the admin email. The IT
|
477
|
+
# admin cannot enter an email address with a domain name that is not in this
|
478
|
+
# list. Subdomains of domains in this list are not allowed but can be allowed by
|
479
|
+
# adding a second entry which has `*.` prefixed to the domain name (e.g. *.
|
480
|
+
# example.com). If the field is not present or is an empty list then the IT
|
481
|
+
# admin is free to use any valid domain name. Personal email domains are not
|
482
|
+
# allowed.
|
483
|
+
# @param [String] fields
|
484
|
+
# Selector specifying which fields to include in a partial response.
|
485
|
+
# @param [String] quota_user
|
486
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
487
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
488
|
+
# @param [Google::Apis::RequestOptions] options
|
489
|
+
# Request-specific options
|
490
|
+
#
|
491
|
+
# @yield [result, err] Result & error if block supplied
|
492
|
+
# @yieldparam result [Google::Apis::AndroidenterpriseV1::GenerateEnterpriseUpgradeUrlResponse] parsed result object
|
493
|
+
# @yieldparam err [StandardError] error object if request failed
|
494
|
+
#
|
495
|
+
# @return [Google::Apis::AndroidenterpriseV1::GenerateEnterpriseUpgradeUrlResponse]
|
496
|
+
#
|
497
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
498
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
499
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
500
|
+
def generate_enterprise_enterprise_upgrade_url(enterprise_id, admin_email: nil, allowed_domains: nil, fields: nil, quota_user: nil, options: nil, &block)
|
501
|
+
command = make_simple_command(:post, 'androidenterprise/v1/enterprises/{enterpriseId}/generateEnterpriseUpgradeUrl', options)
|
502
|
+
command.response_representation = Google::Apis::AndroidenterpriseV1::GenerateEnterpriseUpgradeUrlResponse::Representation
|
503
|
+
command.response_class = Google::Apis::AndroidenterpriseV1::GenerateEnterpriseUpgradeUrlResponse
|
504
|
+
command.params['enterpriseId'] = enterprise_id unless enterprise_id.nil?
|
505
|
+
command.query['adminEmail'] = admin_email unless admin_email.nil?
|
506
|
+
command.query['allowedDomains'] = allowed_domains unless allowed_domains.nil?
|
507
|
+
command.query['fields'] = fields unless fields.nil?
|
508
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
509
|
+
execute_or_queue_command(command, &block)
|
510
|
+
end
|
511
|
+
|
464
512
|
# Generates a sign-up URL.
|
465
513
|
# @param [String] admin_email
|
466
514
|
# Optional. Email address used to prefill the admin field of the enterprise
|
467
|
-
# signup form. This value is a hint only and can be altered by the user.
|
515
|
+
# signup form. This value is a hint only and can be altered by the user. If `
|
516
|
+
# allowedDomains` is non-empty then this must belong to one of the `
|
517
|
+
# allowedDomains`.
|
518
|
+
# @param [Array<String>, String] allowed_domains
|
519
|
+
# Optional. A list of domains that are permitted for the admin email. The IT
|
520
|
+
# admin cannot enter an email address with a domain name that is not in this
|
521
|
+
# list. Subdomains of domains in this list are not allowed but can be allowed by
|
522
|
+
# adding a second entry which has `*.` prefixed to the domain name (e.g. *.
|
523
|
+
# example.com). If the field is not present or is an empty list then the IT
|
524
|
+
# admin is free to use any valid domain name. Personal email domains are always
|
525
|
+
# allowed, but will result in the creation of a managed Google Play Accounts
|
526
|
+
# enterprise.
|
468
527
|
# @param [String] callback_url
|
469
528
|
# The callback URL to which the Admin will be redirected after successfully
|
470
529
|
# creating an enterprise. Before redirecting there the system will add a single
|
@@ -490,11 +549,12 @@ module Google
|
|
490
549
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
491
550
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
492
551
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
493
|
-
def generate_enterprise_signup_url(admin_email: nil, callback_url: nil, fields: nil, quota_user: nil, options: nil, &block)
|
552
|
+
def generate_enterprise_signup_url(admin_email: nil, allowed_domains: nil, callback_url: nil, fields: nil, quota_user: nil, options: nil, &block)
|
494
553
|
command = make_simple_command(:post, 'androidenterprise/v1/enterprises/signupUrl', options)
|
495
554
|
command.response_representation = Google::Apis::AndroidenterpriseV1::SignupInfo::Representation
|
496
555
|
command.response_class = Google::Apis::AndroidenterpriseV1::SignupInfo
|
497
556
|
command.query['adminEmail'] = admin_email unless admin_email.nil?
|
557
|
+
command.query['allowedDomains'] = allowed_domains unless allowed_domains.nil?
|
498
558
|
command.query['callbackUrl'] = callback_url unless callback_url.nil?
|
499
559
|
command.query['fields'] = fields unless fields.nil?
|
500
560
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
metadata
CHANGED
@@ -1,14 +1,13 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-apis-androidenterprise_v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.41.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
|
-
autorequire:
|
9
8
|
bindir: bin
|
10
9
|
cert_chain: []
|
11
|
-
date: 2025-
|
10
|
+
date: 2025-03-09 00:00:00.000000000 Z
|
12
11
|
dependencies:
|
13
12
|
- !ruby/object:Gem::Dependency
|
14
13
|
name: google-apis-core
|
@@ -58,9 +57,8 @@ licenses:
|
|
58
57
|
metadata:
|
59
58
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
59
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-androidenterprise_v1/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-androidenterprise_v1/v0.
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-androidenterprise_v1/v0.41.0
|
62
61
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-androidenterprise_v1
|
63
|
-
post_install_message:
|
64
62
|
rdoc_options: []
|
65
63
|
require_paths:
|
66
64
|
- lib
|
@@ -75,8 +73,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
75
73
|
- !ruby/object:Gem::Version
|
76
74
|
version: '0'
|
77
75
|
requirements: []
|
78
|
-
rubygems_version: 3.5
|
79
|
-
signing_key:
|
76
|
+
rubygems_version: 3.6.5
|
80
77
|
specification_version: 4
|
81
78
|
summary: Simple REST client for Google Play EMM API V1
|
82
79
|
test_files: []
|