google-apis-androidmanagement_v1 0.86.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 +4 -4
- data/CHANGELOG.md +8 -0
- data/lib/google/apis/androidmanagement_v1/classes.rb +79 -2
- data/lib/google/apis/androidmanagement_v1/gem_version.rb +2 -2
- data/lib/google/apis/androidmanagement_v1/representations.rb +30 -0
- data/lib/google/apis/androidmanagement_v1/service.rb +36 -0
- metadata +4 -4
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 7abb71feff73566a2aff623f4358137fe67f592afd6b200154ecd254280e4091
|
4
|
+
data.tar.gz: 20162c99179d572ff94f09314dbfacc4a158f823a78f41b3a3192f19c43e80ac
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: df33696557c0ae10573fb527ebd696ac9c1069be55368b00e1fcdb86c28d4c7ad48b7c80f6ec0463f5cebd761331cd776dd7abed01378170561cd962e3832c3d
|
7
|
+
data.tar.gz: fed5290c6ab462c422d11053d2c06e774b6959f8186de899389f133390511bec0a4adb7494a0197723140b9e4ad1b3a4afc8e8c40b0d55baec01bab5c60b128b
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
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
|
+
|
7
|
+
### v0.87.0 (2025-02-26)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20250213
|
10
|
+
|
3
11
|
### v0.86.0 (2025-01-12)
|
4
12
|
|
5
13
|
* Regenerated from discovery document revision 20250109
|
@@ -2257,6 +2257,11 @@ module Google
|
|
2257
2257
|
# @return [String]
|
2258
2258
|
attr_accessor :enterprise_display_name
|
2259
2259
|
|
2260
|
+
# Output only. The type of the enterprise.
|
2261
|
+
# Corresponds to the JSON property `enterpriseType`
|
2262
|
+
# @return [String]
|
2263
|
+
attr_accessor :enterprise_type
|
2264
|
+
|
2260
2265
|
# Contains settings for Google-provided user authentication.
|
2261
2266
|
# Corresponds to the JSON property `googleAuthenticationSettings`
|
2262
2267
|
# @return [Google::Apis::AndroidmanagementV1::GoogleAuthenticationSettings]
|
@@ -2268,6 +2273,16 @@ module Google
|
|
2268
2273
|
# @return [Google::Apis::AndroidmanagementV1::ExternalData]
|
2269
2274
|
attr_accessor :logo
|
2270
2275
|
|
2276
|
+
# Output only. The type of managed Google domain.
|
2277
|
+
# Corresponds to the JSON property `managedGoogleDomainType`
|
2278
|
+
# @return [String]
|
2279
|
+
attr_accessor :managed_google_domain_type
|
2280
|
+
|
2281
|
+
# Output only. The type of a managed Google Play Accounts enterprise.
|
2282
|
+
# Corresponds to the JSON property `managedGooglePlayAccountsEnterpriseType`
|
2283
|
+
# @return [String]
|
2284
|
+
attr_accessor :managed_google_play_accounts_enterprise_type
|
2285
|
+
|
2271
2286
|
# The name of the enterprise which is generated by the server during creation,
|
2272
2287
|
# in the form enterprises/`enterpriseId`.
|
2273
2288
|
# Corresponds to the JSON property `name`
|
@@ -2310,8 +2325,11 @@ module Google
|
|
2310
2325
|
@contact_info = args[:contact_info] if args.key?(:contact_info)
|
2311
2326
|
@enabled_notification_types = args[:enabled_notification_types] if args.key?(:enabled_notification_types)
|
2312
2327
|
@enterprise_display_name = args[:enterprise_display_name] if args.key?(:enterprise_display_name)
|
2328
|
+
@enterprise_type = args[:enterprise_type] if args.key?(:enterprise_type)
|
2313
2329
|
@google_authentication_settings = args[:google_authentication_settings] if args.key?(:google_authentication_settings)
|
2314
2330
|
@logo = args[:logo] if args.key?(:logo)
|
2331
|
+
@managed_google_domain_type = args[:managed_google_domain_type] if args.key?(:managed_google_domain_type)
|
2332
|
+
@managed_google_play_accounts_enterprise_type = args[:managed_google_play_accounts_enterprise_type] if args.key?(:managed_google_play_accounts_enterprise_type)
|
2315
2333
|
@name = args[:name] if args.key?(:name)
|
2316
2334
|
@primary_color = args[:primary_color] if args.key?(:primary_color)
|
2317
2335
|
@pubsub_topic = args[:pubsub_topic] if args.key?(:pubsub_topic)
|
@@ -2479,6 +2497,63 @@ module Google
|
|
2479
2497
|
end
|
2480
2498
|
end
|
2481
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
|
+
|
2482
2557
|
# Contains settings for Google-provided user authentication.
|
2483
2558
|
class GoogleAuthenticationSettings
|
2484
2559
|
include Google::Apis::Core::Hashable
|
@@ -4282,7 +4357,8 @@ module Google
|
|
4282
4357
|
attr_accessor :add_user_disabled
|
4283
4358
|
alias_method :add_user_disabled?, :add_user_disabled
|
4284
4359
|
|
4285
|
-
# Whether adjusting the master volume is disabled. Also mutes the device.
|
4360
|
+
# Whether adjusting the master volume is disabled. Also mutes the device. The
|
4361
|
+
# setting has effect only on fully managed devices.
|
4286
4362
|
# Corresponds to the JSON property `adjustVolumeDisabled`
|
4287
4363
|
# @return [Boolean]
|
4288
4364
|
attr_accessor :adjust_volume_disabled
|
@@ -4743,7 +4819,8 @@ module Google
|
|
4743
4819
|
attr_accessor :screen_capture_disabled
|
4744
4820
|
alias_method :screen_capture_disabled?, :screen_capture_disabled
|
4745
4821
|
|
4746
|
-
# Whether changing the user icon is disabled.
|
4822
|
+
# Whether changing the user icon is disabled. The setting has effect only on
|
4823
|
+
# fully managed devices.
|
4747
4824
|
# Corresponds to the JSON property `setUserIconDisabled`
|
4748
4825
|
# @return [Boolean]
|
4749
4826
|
attr_accessor :set_user_icon_disabled
|
@@ -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.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 = "
|
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
|
|
@@ -1395,10 +1407,13 @@ module Google
|
|
1395
1407
|
|
1396
1408
|
collection :enabled_notification_types, as: 'enabledNotificationTypes'
|
1397
1409
|
property :enterprise_display_name, as: 'enterpriseDisplayName'
|
1410
|
+
property :enterprise_type, as: 'enterpriseType'
|
1398
1411
|
property :google_authentication_settings, as: 'googleAuthenticationSettings', class: Google::Apis::AndroidmanagementV1::GoogleAuthenticationSettings, decorator: Google::Apis::AndroidmanagementV1::GoogleAuthenticationSettings::Representation
|
1399
1412
|
|
1400
1413
|
property :logo, as: 'logo', class: Google::Apis::AndroidmanagementV1::ExternalData, decorator: Google::Apis::AndroidmanagementV1::ExternalData::Representation
|
1401
1414
|
|
1415
|
+
property :managed_google_domain_type, as: 'managedGoogleDomainType'
|
1416
|
+
property :managed_google_play_accounts_enterprise_type, as: 'managedGooglePlayAccountsEnterpriseType'
|
1402
1417
|
property :name, as: 'name'
|
1403
1418
|
property :primary_color, as: 'primaryColor'
|
1404
1419
|
property :pubsub_topic, as: 'pubsubTopic'
|
@@ -1449,6 +1464,21 @@ module Google
|
|
1449
1464
|
end
|
1450
1465
|
end
|
1451
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
|
+
|
1452
1482
|
class GoogleAuthenticationSettings
|
1453
1483
|
# @private
|
1454
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.
|
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-
|
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.
|
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:
|
@@ -73,7 +73,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
73
73
|
- !ruby/object:Gem::Version
|
74
74
|
version: '0'
|
75
75
|
requirements: []
|
76
|
-
rubygems_version: 3.6.
|
76
|
+
rubygems_version: 3.6.5
|
77
77
|
specification_version: 4
|
78
78
|
summary: Simple REST client for Android Management API V1
|
79
79
|
test_files: []
|