google-apis-androidmanagement_v1 0.31.0 → 0.34.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +12 -0
- data/lib/google/apis/androidmanagement_v1/classes.rb +57 -9
- data/lib/google/apis/androidmanagement_v1/gem_version.rb +3 -3
- data/lib/google/apis/androidmanagement_v1/representations.rb +17 -0
- data/lib/google/apis/androidmanagement_v1/service.rb +15 -7
- metadata +6 -6
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: cd71b87c499079ae6f1939ca1cd362ed1aa8dd9244aa97cf9ae17fa0df73a084
|
4
|
+
data.tar.gz: 19bd8485a77e28559d0b5e6b005aedc8d0aa501cb90a8905f206a8e189d1a288
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3ed961b0ba4f2c72fcae5576ea910750b477c111cb0febfe2da9201ca380eef5e3e55ca8b266d3a54218b3e611d24e30326cc5e75662762c3086de1c8e5ead48
|
7
|
+
data.tar.gz: ad1785013b3a6fc3abec20441a079feb478ca44ecba5558ab2670099b75b1dec22a89861fdbb450551aaa509f611d78e38c26b4c1c4fec498eeff75d6d5cd487
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,17 @@
|
|
1
1
|
# Release history for google-apis-androidmanagement_v1
|
2
2
|
|
3
|
+
### v0.34.0 (2022-06-05)
|
4
|
+
|
5
|
+
* Regenerated using generator version 0.5.0
|
6
|
+
|
7
|
+
### v0.33.0 (2022-05-26)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20220524
|
10
|
+
|
11
|
+
### v0.32.0 (2022-04-13)
|
12
|
+
|
13
|
+
* Regenerated from discovery document revision 20220404
|
14
|
+
|
3
15
|
### v0.31.0 (2022-04-01)
|
4
16
|
|
5
17
|
* Regenerated from discovery document revision 20220330
|
@@ -161,14 +161,14 @@ module Google
|
|
161
161
|
class AppVersion
|
162
162
|
include Google::Apis::Core::Hashable
|
163
163
|
|
164
|
-
# True
|
164
|
+
# If the value is True, it indicates that this version is a production track.
|
165
165
|
# Corresponds to the JSON property `production`
|
166
166
|
# @return [Boolean]
|
167
167
|
attr_accessor :production
|
168
168
|
alias_method :production?, :production
|
169
169
|
|
170
|
-
# Track
|
171
|
-
# production track (see production instead).
|
170
|
+
# Track identifiers that the app version is published in. This does not include
|
171
|
+
# the production track (see production instead).
|
172
172
|
# Corresponds to the JSON property `trackIds`
|
173
173
|
# @return [Array<String>]
|
174
174
|
attr_accessor :track_ids
|
@@ -260,7 +260,7 @@ module Google
|
|
260
260
|
attr_accessor :full_description
|
261
261
|
|
262
262
|
# A link to an image that can be used as an icon for the app. This image is
|
263
|
-
# suitable for use
|
263
|
+
# suitable for use up to a pixel size of 512 x 512.
|
264
264
|
# Corresponds to the JSON property `iconUrl`
|
265
265
|
# @return [String]
|
266
266
|
attr_accessor :icon_url
|
@@ -302,7 +302,7 @@ module Google
|
|
302
302
|
attr_accessor :screenshot_urls
|
303
303
|
|
304
304
|
# A link to a smaller image that can be used as an icon for the app. This image
|
305
|
-
# is suitable for use
|
305
|
+
# is suitable for use up to a pixel size of 128 x 128.
|
306
306
|
# Corresponds to the JSON property `smallIconUrl`
|
307
307
|
# @return [String]
|
308
308
|
attr_accessor :small_icon_url
|
@@ -1578,9 +1578,9 @@ module Google
|
|
1578
1578
|
# @return [Fixnum]
|
1579
1579
|
attr_accessor :primary_color
|
1580
1580
|
|
1581
|
-
# The topic
|
1582
|
-
#
|
1583
|
-
#
|
1581
|
+
# The topic which Pub/Sub notifications are published to, in the form projects/`
|
1582
|
+
# project`/topics/`topic`. This field is only required if Pub/Sub notifications
|
1583
|
+
# are enabled.
|
1584
1584
|
# Corresponds to the JSON property `pubsubTopic`
|
1585
1585
|
# @return [String]
|
1586
1586
|
attr_accessor :pubsub_topic
|
@@ -1626,7 +1626,7 @@ module Google
|
|
1626
1626
|
# @return [String]
|
1627
1627
|
attr_accessor :notification_receiver
|
1628
1628
|
|
1629
|
-
# Hex-encoded
|
1629
|
+
# Hex-encoded SHA-256 hash of the signing certificate of the extension app. Only
|
1630
1630
|
# hexadecimal string representations of 64 characters are valid.If not specified,
|
1631
1631
|
# the signature for the corresponding package name is obtained from the Play
|
1632
1632
|
# Store instead.If this list is empty, the signature of the extension app on the
|
@@ -2658,6 +2658,16 @@ module Google
|
|
2658
2658
|
# @return [String]
|
2659
2659
|
attr_accessor :require_password_unlock
|
2660
2660
|
|
2661
|
+
# Controls whether a unified lock is allowed for the device and the work profile,
|
2662
|
+
# on devices running Android 9 and above with a work profile. This can be set
|
2663
|
+
# only if password_scope is set to SCOPE_PROFILE, the policy will be rejected
|
2664
|
+
# otherwise. If user has not set a separate work lock and this field is set to
|
2665
|
+
# REQUIRE_SEPARATE_WORK_LOCK, a NonComplianceDetail is reported with
|
2666
|
+
# nonComplianceReason set to USER_ACTION.
|
2667
|
+
# Corresponds to the JSON property `unifiedLockSettings`
|
2668
|
+
# @return [String]
|
2669
|
+
attr_accessor :unified_lock_settings
|
2670
|
+
|
2661
2671
|
def initialize(**args)
|
2662
2672
|
update!(**args)
|
2663
2673
|
end
|
@@ -2677,6 +2687,7 @@ module Google
|
|
2677
2687
|
@password_quality = args[:password_quality] if args.key?(:password_quality)
|
2678
2688
|
@password_scope = args[:password_scope] if args.key?(:password_scope)
|
2679
2689
|
@require_password_unlock = args[:require_password_unlock] if args.key?(:require_password_unlock)
|
2690
|
+
@unified_lock_settings = args[:unified_lock_settings] if args.key?(:unified_lock_settings)
|
2680
2691
|
end
|
2681
2692
|
end
|
2682
2693
|
|
@@ -3349,6 +3360,13 @@ module Google
|
|
3349
3360
|
attr_accessor :unmute_microphone_disabled
|
3350
3361
|
alias_method :unmute_microphone_disabled?, :unmute_microphone_disabled
|
3351
3362
|
|
3363
|
+
# Controls types of device activity logs collected from the device and reported
|
3364
|
+
# via Pub/Sub notification (https://developers.google.com/android/management/
|
3365
|
+
# notifications).
|
3366
|
+
# Corresponds to the JSON property `usageLog`
|
3367
|
+
# @return [Google::Apis::AndroidmanagementV1::UsageLog]
|
3368
|
+
attr_accessor :usage_log
|
3369
|
+
|
3352
3370
|
# Whether transferring files over USB is disabled.
|
3353
3371
|
# Corresponds to the JSON property `usbFileTransferDisabled`
|
3354
3372
|
# @return [Boolean]
|
@@ -3475,6 +3493,7 @@ module Google
|
|
3475
3493
|
@tethering_config_disabled = args[:tethering_config_disabled] if args.key?(:tethering_config_disabled)
|
3476
3494
|
@uninstall_apps_disabled = args[:uninstall_apps_disabled] if args.key?(:uninstall_apps_disabled)
|
3477
3495
|
@unmute_microphone_disabled = args[:unmute_microphone_disabled] if args.key?(:unmute_microphone_disabled)
|
3496
|
+
@usage_log = args[:usage_log] if args.key?(:usage_log)
|
3478
3497
|
@usb_file_transfer_disabled = args[:usb_file_transfer_disabled] if args.key?(:usb_file_transfer_disabled)
|
3479
3498
|
@usb_mass_storage_enabled = args[:usb_mass_storage_enabled] if args.key?(:usb_mass_storage_enabled)
|
3480
3499
|
@version = args[:version] if args.key?(:version)
|
@@ -4095,6 +4114,35 @@ module Google
|
|
4095
4114
|
end
|
4096
4115
|
end
|
4097
4116
|
|
4117
|
+
# Controls types of device activity logs collected from the device and reported
|
4118
|
+
# via Pub/Sub notification (https://developers.google.com/android/management/
|
4119
|
+
# notifications).
|
4120
|
+
class UsageLog
|
4121
|
+
include Google::Apis::Core::Hashable
|
4122
|
+
|
4123
|
+
# Specifies which log types are enabled. Note that users will receive on-device
|
4124
|
+
# messaging when usage logging is enabled.
|
4125
|
+
# Corresponds to the JSON property `enabledLogTypes`
|
4126
|
+
# @return [Array<String>]
|
4127
|
+
attr_accessor :enabled_log_types
|
4128
|
+
|
4129
|
+
# Specifies which of the enabled log types can be uploaded over mobile data. By
|
4130
|
+
# default logs are queued for upload when the device connects to WiFi.
|
4131
|
+
# Corresponds to the JSON property `uploadOnCellularAllowed`
|
4132
|
+
# @return [Array<String>]
|
4133
|
+
attr_accessor :upload_on_cellular_allowed
|
4134
|
+
|
4135
|
+
def initialize(**args)
|
4136
|
+
update!(**args)
|
4137
|
+
end
|
4138
|
+
|
4139
|
+
# Update properties of this object
|
4140
|
+
def update!(**args)
|
4141
|
+
@enabled_log_types = args[:enabled_log_types] if args.key?(:enabled_log_types)
|
4142
|
+
@upload_on_cellular_allowed = args[:upload_on_cellular_allowed] if args.key?(:upload_on_cellular_allowed)
|
4143
|
+
end
|
4144
|
+
end
|
4145
|
+
|
4098
4146
|
# A user belonging to an enterprise.
|
4099
4147
|
class User
|
4100
4148
|
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.34.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
|
-
GENERATOR_VERSION = "0.
|
22
|
+
GENERATOR_VERSION = "0.5.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20220524"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -454,6 +454,12 @@ module Google
|
|
454
454
|
include Google::Apis::Core::JsonObjectSupport
|
455
455
|
end
|
456
456
|
|
457
|
+
class UsageLog
|
458
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
459
|
+
|
460
|
+
include Google::Apis::Core::JsonObjectSupport
|
461
|
+
end
|
462
|
+
|
457
463
|
class User
|
458
464
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
459
465
|
|
@@ -1114,6 +1120,7 @@ module Google
|
|
1114
1120
|
property :password_quality, as: 'passwordQuality'
|
1115
1121
|
property :password_scope, as: 'passwordScope'
|
1116
1122
|
property :require_password_unlock, as: 'requirePasswordUnlock'
|
1123
|
+
property :unified_lock_settings, as: 'unifiedLockSettings'
|
1117
1124
|
end
|
1118
1125
|
end
|
1119
1126
|
|
@@ -1262,6 +1269,8 @@ module Google
|
|
1262
1269
|
property :tethering_config_disabled, as: 'tetheringConfigDisabled'
|
1263
1270
|
property :uninstall_apps_disabled, as: 'uninstallAppsDisabled'
|
1264
1271
|
property :unmute_microphone_disabled, as: 'unmuteMicrophoneDisabled'
|
1272
|
+
property :usage_log, as: 'usageLog', class: Google::Apis::AndroidmanagementV1::UsageLog, decorator: Google::Apis::AndroidmanagementV1::UsageLog::Representation
|
1273
|
+
|
1265
1274
|
property :usb_file_transfer_disabled, as: 'usbFileTransferDisabled'
|
1266
1275
|
property :usb_mass_storage_enabled, as: 'usbMassStorageEnabled'
|
1267
1276
|
property :version, :numeric_string => true, as: 'version'
|
@@ -1431,6 +1440,14 @@ module Google
|
|
1431
1440
|
end
|
1432
1441
|
end
|
1433
1442
|
|
1443
|
+
class UsageLog
|
1444
|
+
# @private
|
1445
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1446
|
+
collection :enabled_log_types, as: 'enabledLogTypes'
|
1447
|
+
collection :upload_on_cellular_allowed, as: 'uploadOnCellularAllowed'
|
1448
|
+
end
|
1449
|
+
end
|
1450
|
+
|
1434
1451
|
class User
|
1435
1452
|
# @private
|
1436
1453
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -54,17 +54,25 @@ module Google
|
|
54
54
|
# @param [Google::Apis::AndroidmanagementV1::Enterprise] enterprise_object
|
55
55
|
# @param [Boolean] agreement_accepted
|
56
56
|
# Whether the enterprise admin has seen and agreed to the managed Google Play
|
57
|
-
# Agreement (https://www.android.com/enterprise/terms/).
|
58
|
-
#
|
59
|
-
#
|
57
|
+
# Agreement (https://www.android.com/enterprise/terms/). Do not set this field
|
58
|
+
# for any customer-managed enterprise (https://developers.google.com/android/
|
59
|
+
# management/create-enterprise#customer-managed_enterprises). Set this to field
|
60
|
+
# to true for all EMM-managed enterprises (https://developers.google.com/android/
|
61
|
+
# management/create-enterprise#emm-managed_enterprises).
|
60
62
|
# @param [String] enterprise_token
|
61
|
-
# The enterprise token appended to the callback URL.
|
62
|
-
#
|
63
|
+
# The enterprise token appended to the callback URL. Set this when creating a
|
64
|
+
# customer-managed enterprise (https://developers.google.com/android/management/
|
65
|
+
# create-enterprise#customer-managed_enterprises) and not when creating a
|
66
|
+
# deprecated EMM-managed enterprise (https://developers.google.com/android/
|
67
|
+
# management/create-enterprise#emm-managed_enterprises).
|
63
68
|
# @param [String] project_id
|
64
69
|
# The ID of the Google Cloud Platform project which will own the enterprise.
|
65
70
|
# @param [String] signup_url_name
|
66
|
-
# The name of the SignupUrl used to sign up for the enterprise.
|
67
|
-
#
|
71
|
+
# The name of the SignupUrl used to sign up for the enterprise. Set this when
|
72
|
+
# creating a customer-managed enterprise (https://developers.google.com/android/
|
73
|
+
# management/create-enterprise#customer-managed_enterprises) and not when
|
74
|
+
# creating a deprecated EMM-managed enterprise (https://developers.google.com/
|
75
|
+
# android/management/create-enterprise#emm-managed_enterprises).
|
68
76
|
# @param [String] fields
|
69
77
|
# Selector specifying which fields to include in a partial response.
|
70
78
|
# @param [String] quota_user
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
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.34.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-06-06 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -16,7 +16,7 @@ dependencies:
|
|
16
16
|
requirements:
|
17
17
|
- - ">="
|
18
18
|
- !ruby/object:Gem::Version
|
19
|
-
version: '0.
|
19
|
+
version: '0.5'
|
20
20
|
- - "<"
|
21
21
|
- !ruby/object:Gem::Version
|
22
22
|
version: 2.a
|
@@ -26,7 +26,7 @@ dependencies:
|
|
26
26
|
requirements:
|
27
27
|
- - ">="
|
28
28
|
- !ruby/object:Gem::Version
|
29
|
-
version: '0.
|
29
|
+
version: '0.5'
|
30
30
|
- - "<"
|
31
31
|
- !ruby/object:Gem::Version
|
32
32
|
version: 2.a
|
@@ -58,7 +58,7 @@ licenses:
|
|
58
58
|
metadata:
|
59
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
60
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-androidmanagement_v1/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-androidmanagement_v1/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-androidmanagement_v1/v0.34.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-androidmanagement_v1
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
75
75
|
- !ruby/object:Gem::Version
|
76
76
|
version: '0'
|
77
77
|
requirements: []
|
78
|
-
rubygems_version: 3.3.
|
78
|
+
rubygems_version: 3.3.14
|
79
79
|
signing_key:
|
80
80
|
specification_version: 4
|
81
81
|
summary: Simple REST client for Android Management API V1
|