google-apis-androidmanagement_v1 0.31.0 → 0.32.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 +4 -0
- data/lib/google/apis/androidmanagement_v1/classes.rb +46 -9
- data/lib/google/apis/androidmanagement_v1/gem_version.rb +2 -2
- data/lib/google/apis/androidmanagement_v1/representations.rb +16 -0
- data/lib/google/apis/androidmanagement_v1/service.rb +15 -7
- 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: 1459cddd8171e6dea25225977a7faf207928933fb442cd97500eba8d54d6e33d
|
4
|
+
data.tar.gz: c0ec4213d8d69cbb72b7f64e78a14cafc1e8220d3e9bfbb35e698bc5a3f50d98
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 75b323cb3b603b1c03495c85cda77c4a4877f7ba97ee9f1d69886c3f26ba2ec74c5da2e8ec2d9d2a89a0370bb0869f26ee88eae96adee188b4004a852a6df279
|
7
|
+
data.tar.gz: c0247e42433f9ff80472042f596f425f4ed04acf505967c8ed437682133d1ce0348f202af8c5bc035cb3ff2837b617e2f1df758eebe8ca133543ae33d1a65a28
|
data/CHANGELOG.md
CHANGED
@@ -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
|
@@ -3349,6 +3349,13 @@ module Google
|
|
3349
3349
|
attr_accessor :unmute_microphone_disabled
|
3350
3350
|
alias_method :unmute_microphone_disabled?, :unmute_microphone_disabled
|
3351
3351
|
|
3352
|
+
# Controls types of device activity logs collected from the device and reported
|
3353
|
+
# via Pub/Sub notification (https://developers.google.com/android/management/
|
3354
|
+
# notifications).
|
3355
|
+
# Corresponds to the JSON property `usageLog`
|
3356
|
+
# @return [Google::Apis::AndroidmanagementV1::UsageLog]
|
3357
|
+
attr_accessor :usage_log
|
3358
|
+
|
3352
3359
|
# Whether transferring files over USB is disabled.
|
3353
3360
|
# Corresponds to the JSON property `usbFileTransferDisabled`
|
3354
3361
|
# @return [Boolean]
|
@@ -3475,6 +3482,7 @@ module Google
|
|
3475
3482
|
@tethering_config_disabled = args[:tethering_config_disabled] if args.key?(:tethering_config_disabled)
|
3476
3483
|
@uninstall_apps_disabled = args[:uninstall_apps_disabled] if args.key?(:uninstall_apps_disabled)
|
3477
3484
|
@unmute_microphone_disabled = args[:unmute_microphone_disabled] if args.key?(:unmute_microphone_disabled)
|
3485
|
+
@usage_log = args[:usage_log] if args.key?(:usage_log)
|
3478
3486
|
@usb_file_transfer_disabled = args[:usb_file_transfer_disabled] if args.key?(:usb_file_transfer_disabled)
|
3479
3487
|
@usb_mass_storage_enabled = args[:usb_mass_storage_enabled] if args.key?(:usb_mass_storage_enabled)
|
3480
3488
|
@version = args[:version] if args.key?(:version)
|
@@ -4095,6 +4103,35 @@ module Google
|
|
4095
4103
|
end
|
4096
4104
|
end
|
4097
4105
|
|
4106
|
+
# Controls types of device activity logs collected from the device and reported
|
4107
|
+
# via Pub/Sub notification (https://developers.google.com/android/management/
|
4108
|
+
# notifications).
|
4109
|
+
class UsageLog
|
4110
|
+
include Google::Apis::Core::Hashable
|
4111
|
+
|
4112
|
+
# Specifies which log types are enabled. Note that users will receive on-device
|
4113
|
+
# messaging when usage logging is enabled.
|
4114
|
+
# Corresponds to the JSON property `enabledLogTypes`
|
4115
|
+
# @return [Array<String>]
|
4116
|
+
attr_accessor :enabled_log_types
|
4117
|
+
|
4118
|
+
# Specifies which of the enabled log types can be uploaded over mobile data. By
|
4119
|
+
# default logs are queued for upload when the device connects to WiFi.
|
4120
|
+
# Corresponds to the JSON property `uploadOnCellularAllowed`
|
4121
|
+
# @return [Array<String>]
|
4122
|
+
attr_accessor :upload_on_cellular_allowed
|
4123
|
+
|
4124
|
+
def initialize(**args)
|
4125
|
+
update!(**args)
|
4126
|
+
end
|
4127
|
+
|
4128
|
+
# Update properties of this object
|
4129
|
+
def update!(**args)
|
4130
|
+
@enabled_log_types = args[:enabled_log_types] if args.key?(:enabled_log_types)
|
4131
|
+
@upload_on_cellular_allowed = args[:upload_on_cellular_allowed] if args.key?(:upload_on_cellular_allowed)
|
4132
|
+
end
|
4133
|
+
end
|
4134
|
+
|
4098
4135
|
# A user belonging to an enterprise.
|
4099
4136
|
class User
|
4100
4137
|
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.32.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.4.1"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20220404"
|
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
|
|
@@ -1262,6 +1268,8 @@ module Google
|
|
1262
1268
|
property :tethering_config_disabled, as: 'tetheringConfigDisabled'
|
1263
1269
|
property :uninstall_apps_disabled, as: 'uninstallAppsDisabled'
|
1264
1270
|
property :unmute_microphone_disabled, as: 'unmuteMicrophoneDisabled'
|
1271
|
+
property :usage_log, as: 'usageLog', class: Google::Apis::AndroidmanagementV1::UsageLog, decorator: Google::Apis::AndroidmanagementV1::UsageLog::Representation
|
1272
|
+
|
1265
1273
|
property :usb_file_transfer_disabled, as: 'usbFileTransferDisabled'
|
1266
1274
|
property :usb_mass_storage_enabled, as: 'usbMassStorageEnabled'
|
1267
1275
|
property :version, :numeric_string => true, as: 'version'
|
@@ -1431,6 +1439,14 @@ module Google
|
|
1431
1439
|
end
|
1432
1440
|
end
|
1433
1441
|
|
1442
|
+
class UsageLog
|
1443
|
+
# @private
|
1444
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1445
|
+
collection :enabled_log_types, as: 'enabledLogTypes'
|
1446
|
+
collection :upload_on_cellular_allowed, as: 'uploadOnCellularAllowed'
|
1447
|
+
end
|
1448
|
+
end
|
1449
|
+
|
1434
1450
|
class User
|
1435
1451
|
# @private
|
1436
1452
|
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.32.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-04-
|
11
|
+
date: 2022-04-18 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -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.32.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: []
|