google-apis-androidmanagement_v1 0.87.0 → 0.88.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 32a81ecf32d1abd7233fe976e88e1cd022d3384f748a85e65262ee2ed68cf601
4
- data.tar.gz: b2d8dfba70771118b5b8397571e259ace8290f1827ed3709ba9a36daeccd21c1
3
+ metadata.gz: 7abb71feff73566a2aff623f4358137fe67f592afd6b200154ecd254280e4091
4
+ data.tar.gz: 20162c99179d572ff94f09314dbfacc4a158f823a78f41b3a3192f19c43e80ac
5
5
  SHA512:
6
- metadata.gz: cb5d4816fd837906e60feea6d400d3d487c7458d6c75c79a7312fcf0602622fa5c4fd10f783318d0ee655f6643c6b6fbc8dd53d2af921d3828e3149f043059ce
7
- data.tar.gz: 4ef9d26b7bee733e054827e17a04e97ff09e41b4baefc32494ca32cc62e9e28cf3a3ac8b806cb922fcb5682484d904eb97b53be284de95f3293a6567c5575d3e
6
+ metadata.gz: df33696557c0ae10573fb527ebd696ac9c1069be55368b00e1fcdb86c28d4c7ad48b7c80f6ec0463f5cebd761331cd776dd7abed01378170561cd962e3832c3d
7
+ data.tar.gz: fed5290c6ab462c422d11053d2c06e774b6959f8186de899389f133390511bec0a4adb7494a0197723140b9e4ad1b3a4afc8e8c40b0d55baec01bab5c60b128b
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-androidmanagement_v1
2
2
 
3
+ ### v0.88.0 (2025-03-09)
4
+
5
+ * Regenerated from discovery document revision 20250306
6
+
3
7
  ### v0.87.0 (2025-02-26)
4
8
 
5
9
  * Regenerated from discovery document revision 20250213
@@ -2497,6 +2497,63 @@ module Google
2497
2497
  end
2498
2498
  end
2499
2499
 
2500
+ # Request message for generating a URL to upgrade an existing managed Google
2501
+ # Play Accounts enterprise to a managed Google domain.Note: This feature is not
2502
+ # generally available.
2503
+ class GenerateEnterpriseUpgradeUrlRequest
2504
+ include Google::Apis::Core::Hashable
2505
+
2506
+ # Optional. Email address used to prefill the admin field of the enterprise
2507
+ # signup form as part of the upgrade process. This value is a hint only and can
2508
+ # be altered by the user. Personal email addresses are not allowed. If
2509
+ # allowedDomains is non-empty then this must belong to one of the allowedDomains.
2510
+ # Corresponds to the JSON property `adminEmail`
2511
+ # @return [String]
2512
+ attr_accessor :admin_email
2513
+
2514
+ # Optional. A list of domains that are permitted for the admin email. The IT
2515
+ # admin cannot enter an email address with a domain name that is not in this
2516
+ # list. Subdomains of domains in this list are not allowed but can be allowed by
2517
+ # adding a second entry which has *. prefixed to the domain name (e.g. *.example.
2518
+ # com). If the field is not present or is an empty list then the IT admin is
2519
+ # free to use any valid domain name. Personal email domains are not allowed.
2520
+ # Corresponds to the JSON property `allowedDomains`
2521
+ # @return [Array<String>]
2522
+ attr_accessor :allowed_domains
2523
+
2524
+ def initialize(**args)
2525
+ update!(**args)
2526
+ end
2527
+
2528
+ # Update properties of this object
2529
+ def update!(**args)
2530
+ @admin_email = args[:admin_email] if args.key?(:admin_email)
2531
+ @allowed_domains = args[:allowed_domains] if args.key?(:allowed_domains)
2532
+ end
2533
+ end
2534
+
2535
+ # Response message for generating a URL to upgrade an existing managed Google
2536
+ # Play Accounts enterprise to a managed Google domain.Note: This feature is not
2537
+ # generally available.
2538
+ class GenerateEnterpriseUpgradeUrlResponse
2539
+ include Google::Apis::Core::Hashable
2540
+
2541
+ # A URL for an enterprise admin to upgrade their enterprise. The page can't be
2542
+ # rendered in an iframe.
2543
+ # Corresponds to the JSON property `url`
2544
+ # @return [String]
2545
+ attr_accessor :url
2546
+
2547
+ def initialize(**args)
2548
+ update!(**args)
2549
+ end
2550
+
2551
+ # Update properties of this object
2552
+ def update!(**args)
2553
+ @url = args[:url] if args.key?(:url)
2554
+ end
2555
+ end
2556
+
2500
2557
  # Contains settings for Google-provided user authentication.
2501
2558
  class GoogleAuthenticationSettings
2502
2559
  include Google::Apis::Core::Hashable
@@ -16,13 +16,13 @@ module Google
16
16
  module Apis
17
17
  module AndroidmanagementV1
18
18
  # Version of the google-apis-androidmanagement_v1 gem
19
- GEM_VERSION = "0.87.0"
19
+ GEM_VERSION = "0.88.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.16.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20250213"
25
+ REVISION = "20250306"
26
26
  end
27
27
  end
28
28
  end
@@ -316,6 +316,18 @@ module Google
316
316
  include Google::Apis::Core::JsonObjectSupport
317
317
  end
318
318
 
319
+ class GenerateEnterpriseUpgradeUrlRequest
320
+ class Representation < Google::Apis::Core::JsonRepresentation; end
321
+
322
+ include Google::Apis::Core::JsonObjectSupport
323
+ end
324
+
325
+ class GenerateEnterpriseUpgradeUrlResponse
326
+ class Representation < Google::Apis::Core::JsonRepresentation; end
327
+
328
+ include Google::Apis::Core::JsonObjectSupport
329
+ end
330
+
319
331
  class GoogleAuthenticationSettings
320
332
  class Representation < Google::Apis::Core::JsonRepresentation; end
321
333
 
@@ -1452,6 +1464,21 @@ module Google
1452
1464
  end
1453
1465
  end
1454
1466
 
1467
+ class GenerateEnterpriseUpgradeUrlRequest
1468
+ # @private
1469
+ class Representation < Google::Apis::Core::JsonRepresentation
1470
+ property :admin_email, as: 'adminEmail'
1471
+ collection :allowed_domains, as: 'allowedDomains'
1472
+ end
1473
+ end
1474
+
1475
+ class GenerateEnterpriseUpgradeUrlResponse
1476
+ # @private
1477
+ class Representation < Google::Apis::Core::JsonRepresentation
1478
+ property :url, as: 'url'
1479
+ end
1480
+ end
1481
+
1455
1482
  class GoogleAuthenticationSettings
1456
1483
  # @private
1457
1484
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -141,6 +141,42 @@ module Google
141
141
  execute_or_queue_command(command, &block)
142
142
  end
143
143
 
144
+ # Generates an enterprise upgrade URL to upgrade an existing managed Google Play
145
+ # Accounts enterprise to a managed Google domain.Note: This feature is not
146
+ # generally available.
147
+ # @param [String] name
148
+ # Required. The name of the enterprise to be upgraded in the form enterprises/`
149
+ # enterpriseId`.
150
+ # @param [Google::Apis::AndroidmanagementV1::GenerateEnterpriseUpgradeUrlRequest] generate_enterprise_upgrade_url_request_object
151
+ # @param [String] fields
152
+ # Selector specifying which fields to include in a partial response.
153
+ # @param [String] quota_user
154
+ # Available to use for quota purposes for server-side applications. Can be any
155
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
156
+ # @param [Google::Apis::RequestOptions] options
157
+ # Request-specific options
158
+ #
159
+ # @yield [result, err] Result & error if block supplied
160
+ # @yieldparam result [Google::Apis::AndroidmanagementV1::GenerateEnterpriseUpgradeUrlResponse] parsed result object
161
+ # @yieldparam err [StandardError] error object if request failed
162
+ #
163
+ # @return [Google::Apis::AndroidmanagementV1::GenerateEnterpriseUpgradeUrlResponse]
164
+ #
165
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
166
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
167
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
168
+ def generate_enterprise_upgrade_url(name, generate_enterprise_upgrade_url_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
169
+ command = make_simple_command(:post, 'v1/{+name}:generateEnterpriseUpgradeUrl', options)
170
+ command.request_representation = Google::Apis::AndroidmanagementV1::GenerateEnterpriseUpgradeUrlRequest::Representation
171
+ command.request_object = generate_enterprise_upgrade_url_request_object
172
+ command.response_representation = Google::Apis::AndroidmanagementV1::GenerateEnterpriseUpgradeUrlResponse::Representation
173
+ command.response_class = Google::Apis::AndroidmanagementV1::GenerateEnterpriseUpgradeUrlResponse
174
+ command.params['name'] = name unless name.nil?
175
+ command.query['fields'] = fields unless fields.nil?
176
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
177
+ execute_or_queue_command(command, &block)
178
+ end
179
+
144
180
  # Gets an enterprise.
145
181
  # @param [String] name
146
182
  # The name of the enterprise in the form enterprises/`enterpriseId`.
metadata CHANGED
@@ -1,13 +1,13 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-androidmanagement_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.87.0
4
+ version: 0.88.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
8
8
  bindir: bin
9
9
  cert_chain: []
10
- date: 2025-03-02 00:00:00.000000000 Z
10
+ date: 2025-03-09 00:00:00.000000000 Z
11
11
  dependencies:
12
12
  - !ruby/object:Gem::Dependency
13
13
  name: google-apis-core
@@ -57,7 +57,7 @@ licenses:
57
57
  metadata:
58
58
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
59
59
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-androidmanagement_v1/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-androidmanagement_v1/v0.87.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-androidmanagement_v1/v0.88.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-androidmanagement_v1
62
62
  rdoc_options: []
63
63
  require_paths: