google-apis-androidmanagement_v1 0.87.0 → 0.89.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 +8 -0
- data/lib/google/apis/androidmanagement_v1/classes.rb +84 -0
- data/lib/google/apis/androidmanagement_v1/gem_version.rb +2 -2
- data/lib/google/apis/androidmanagement_v1/representations.rb +41 -0
- data/lib/google/apis/androidmanagement_v1/service.rb +36 -0
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 83dc5a58928172973e5b99260bda0a7210d40a1b5b56816509536bc2a6278bd7
|
4
|
+
data.tar.gz: 2d4a49e89e70571c1eeb7fbcc143112f68f19400c1c9a844aa9db0563aa741fa
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 2973fe71178cd1549bae98e23b7570213a87bb4e9b26ccc13ba80044ab252c311b25d7c863dcdd92e2d7e2fe0436a23473d12b39828c4bd7c1371b5aa38ec6cd
|
7
|
+
data.tar.gz: e7cb84278b354dc8057cc55e17efd92eaa86856af4d6ee6fe654d1b1bc3c03b7364c0297bdb242524b233e7346028c469cecdce5145fe1819ac6a33886a5b512
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-androidmanagement_v1
|
2
2
|
|
3
|
+
### v0.89.0 (2025-04-06)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20250402
|
6
|
+
|
7
|
+
### v0.88.0 (2025-03-09)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20250306
|
10
|
+
|
3
11
|
### v0.87.0 (2025-02-26)
|
4
12
|
|
5
13
|
* Regenerated from discovery document revision 20250213
|
@@ -2338,6 +2338,33 @@ module Google
|
|
2338
2338
|
end
|
2339
2339
|
end
|
2340
2340
|
|
2341
|
+
# An event sent for an enterprise upgrade. An enterprise upgrade is a process
|
2342
|
+
# that upgrades a managed Google Play Accounts enterprise to a managed Google
|
2343
|
+
# domain.
|
2344
|
+
class EnterpriseUpgradeEvent
|
2345
|
+
include Google::Apis::Core::Hashable
|
2346
|
+
|
2347
|
+
# The name of upgraded enterprise in the format "enterprises/`enterprise`"
|
2348
|
+
# Corresponds to the JSON property `enterprise`
|
2349
|
+
# @return [String]
|
2350
|
+
attr_accessor :enterprise
|
2351
|
+
|
2352
|
+
# Output only. The upgrade state of the enterprise.
|
2353
|
+
# Corresponds to the JSON property `upgradeState`
|
2354
|
+
# @return [String]
|
2355
|
+
attr_accessor :upgrade_state
|
2356
|
+
|
2357
|
+
def initialize(**args)
|
2358
|
+
update!(**args)
|
2359
|
+
end
|
2360
|
+
|
2361
|
+
# Update properties of this object
|
2362
|
+
def update!(**args)
|
2363
|
+
@enterprise = args[:enterprise] if args.key?(:enterprise)
|
2364
|
+
@upgrade_state = args[:upgrade_state] if args.key?(:upgrade_state)
|
2365
|
+
end
|
2366
|
+
end
|
2367
|
+
|
2341
2368
|
# Configuration to enable an app as an extension app, with the capability of
|
2342
2369
|
# interacting with Android Device Policy offline. For Android versions 11 and
|
2343
2370
|
# above, extension apps are exempt from battery restrictions so will not be
|
@@ -2497,6 +2524,63 @@ module Google
|
|
2497
2524
|
end
|
2498
2525
|
end
|
2499
2526
|
|
2527
|
+
# Request message for generating a URL to upgrade an existing managed Google
|
2528
|
+
# Play Accounts enterprise to a managed Google domain.Note: This feature is not
|
2529
|
+
# generally available.
|
2530
|
+
class GenerateEnterpriseUpgradeUrlRequest
|
2531
|
+
include Google::Apis::Core::Hashable
|
2532
|
+
|
2533
|
+
# Optional. Email address used to prefill the admin field of the enterprise
|
2534
|
+
# signup form as part of the upgrade process. This value is a hint only and can
|
2535
|
+
# be altered by the user. Personal email addresses are not allowed. If
|
2536
|
+
# allowedDomains is non-empty then this must belong to one of the allowedDomains.
|
2537
|
+
# Corresponds to the JSON property `adminEmail`
|
2538
|
+
# @return [String]
|
2539
|
+
attr_accessor :admin_email
|
2540
|
+
|
2541
|
+
# Optional. A list of domains that are permitted for the admin email. The IT
|
2542
|
+
# admin cannot enter an email address with a domain name that is not in this
|
2543
|
+
# list. Subdomains of domains in this list are not allowed but can be allowed by
|
2544
|
+
# adding a second entry which has *. prefixed to the domain name (e.g. *.example.
|
2545
|
+
# com). If the field is not present or is an empty list then the IT admin is
|
2546
|
+
# free to use any valid domain name. Personal email domains are not allowed.
|
2547
|
+
# Corresponds to the JSON property `allowedDomains`
|
2548
|
+
# @return [Array<String>]
|
2549
|
+
attr_accessor :allowed_domains
|
2550
|
+
|
2551
|
+
def initialize(**args)
|
2552
|
+
update!(**args)
|
2553
|
+
end
|
2554
|
+
|
2555
|
+
# Update properties of this object
|
2556
|
+
def update!(**args)
|
2557
|
+
@admin_email = args[:admin_email] if args.key?(:admin_email)
|
2558
|
+
@allowed_domains = args[:allowed_domains] if args.key?(:allowed_domains)
|
2559
|
+
end
|
2560
|
+
end
|
2561
|
+
|
2562
|
+
# Response message for generating a URL to upgrade an existing managed Google
|
2563
|
+
# Play Accounts enterprise to a managed Google domain.Note: This feature is not
|
2564
|
+
# generally available.
|
2565
|
+
class GenerateEnterpriseUpgradeUrlResponse
|
2566
|
+
include Google::Apis::Core::Hashable
|
2567
|
+
|
2568
|
+
# A URL for an enterprise admin to upgrade their enterprise. The page can't be
|
2569
|
+
# rendered in an iframe.
|
2570
|
+
# Corresponds to the JSON property `url`
|
2571
|
+
# @return [String]
|
2572
|
+
attr_accessor :url
|
2573
|
+
|
2574
|
+
def initialize(**args)
|
2575
|
+
update!(**args)
|
2576
|
+
end
|
2577
|
+
|
2578
|
+
# Update properties of this object
|
2579
|
+
def update!(**args)
|
2580
|
+
@url = args[:url] if args.key?(:url)
|
2581
|
+
end
|
2582
|
+
end
|
2583
|
+
|
2500
2584
|
# Contains settings for Google-provided user authentication.
|
2501
2585
|
class GoogleAuthenticationSettings
|
2502
2586
|
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.
|
19
|
+
GEM_VERSION = "0.89.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 = "
|
25
|
+
REVISION = "20250402"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -286,6 +286,12 @@ module Google
|
|
286
286
|
include Google::Apis::Core::JsonObjectSupport
|
287
287
|
end
|
288
288
|
|
289
|
+
class EnterpriseUpgradeEvent
|
290
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
291
|
+
|
292
|
+
include Google::Apis::Core::JsonObjectSupport
|
293
|
+
end
|
294
|
+
|
289
295
|
class ExtensionConfig
|
290
296
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
291
297
|
|
@@ -316,6 +322,18 @@ module Google
|
|
316
322
|
include Google::Apis::Core::JsonObjectSupport
|
317
323
|
end
|
318
324
|
|
325
|
+
class GenerateEnterpriseUpgradeUrlRequest
|
326
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
327
|
+
|
328
|
+
include Google::Apis::Core::JsonObjectSupport
|
329
|
+
end
|
330
|
+
|
331
|
+
class GenerateEnterpriseUpgradeUrlResponse
|
332
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
333
|
+
|
334
|
+
include Google::Apis::Core::JsonObjectSupport
|
335
|
+
end
|
336
|
+
|
319
337
|
class GoogleAuthenticationSettings
|
320
338
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
321
339
|
|
@@ -1412,6 +1430,14 @@ module Google
|
|
1412
1430
|
end
|
1413
1431
|
end
|
1414
1432
|
|
1433
|
+
class EnterpriseUpgradeEvent
|
1434
|
+
# @private
|
1435
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1436
|
+
property :enterprise, as: 'enterprise'
|
1437
|
+
property :upgrade_state, as: 'upgradeState'
|
1438
|
+
end
|
1439
|
+
end
|
1440
|
+
|
1415
1441
|
class ExtensionConfig
|
1416
1442
|
# @private
|
1417
1443
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1452,6 +1478,21 @@ module Google
|
|
1452
1478
|
end
|
1453
1479
|
end
|
1454
1480
|
|
1481
|
+
class GenerateEnterpriseUpgradeUrlRequest
|
1482
|
+
# @private
|
1483
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1484
|
+
property :admin_email, as: 'adminEmail'
|
1485
|
+
collection :allowed_domains, as: 'allowedDomains'
|
1486
|
+
end
|
1487
|
+
end
|
1488
|
+
|
1489
|
+
class GenerateEnterpriseUpgradeUrlResponse
|
1490
|
+
# @private
|
1491
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1492
|
+
property :url, as: 'url'
|
1493
|
+
end
|
1494
|
+
end
|
1495
|
+
|
1455
1496
|
class GoogleAuthenticationSettings
|
1456
1497
|
# @private
|
1457
1498
|
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.
|
4
|
+
version: 0.89.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
bindir: bin
|
9
9
|
cert_chain: []
|
10
|
-
date: 2025-
|
10
|
+
date: 2025-04-16 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.
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-androidmanagement_v1/v0.89.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:
|