google-apis-androidmanagement_v1 0.76.0 → 0.78.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 +8 -0
- data/lib/google/apis/androidmanagement_v1/classes.rb +95 -0
- data/lib/google/apis/androidmanagement_v1/gem_version.rb +2 -2
- data/lib/google/apis/androidmanagement_v1/representations.rb +46 -0
- data/lib/google/apis/androidmanagement_v1/service.rb +1 -4
- 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: 87b33047cfcaaaf77af06d87d67875eb19e5b0c3a71b7e4a62b4f6c87ed11fc8
|
4
|
+
data.tar.gz: 395fc7ac3d5e062c670a07cada3aa1579bb02a3a8f498aff13525829d9d6885b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: ff7657bd9e07913ca4d577ef0aff28c31953a2cacac259df71815a0554dd7878b143895568c4f31fd7512624e791932d3509509259b3508867a1015192e8a1a9
|
7
|
+
data.tar.gz: fcd41043e0ed8806a2612a88645b76bddd805c264b1f8d3f64fcf5e4bc8f25e5dbd72abc30d839f3a4d27a78e03d4c6b18775e818ce06f56184292c9b783a17e
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-androidmanagement_v1
|
2
2
|
|
3
|
+
### v0.78.0 (2024-07-25)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20240724
|
6
|
+
|
7
|
+
### v0.77.0 (2024-06-23)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20240618
|
10
|
+
|
3
11
|
### v0.76.0 (2024-06-16)
|
4
12
|
|
5
13
|
* Regenerated from discovery document revision 20240606
|
@@ -1982,6 +1982,31 @@ module Google
|
|
1982
1982
|
end
|
1983
1983
|
end
|
1984
1984
|
|
1985
|
+
# Controls for the display settings.
|
1986
|
+
class DisplaySettings
|
1987
|
+
include Google::Apis::Core::Hashable
|
1988
|
+
|
1989
|
+
# Controls for the screen brightness settings.
|
1990
|
+
# Corresponds to the JSON property `screenBrightnessSettings`
|
1991
|
+
# @return [Google::Apis::AndroidmanagementV1::ScreenBrightnessSettings]
|
1992
|
+
attr_accessor :screen_brightness_settings
|
1993
|
+
|
1994
|
+
# Controls the screen timeout settings.
|
1995
|
+
# Corresponds to the JSON property `screenTimeoutSettings`
|
1996
|
+
# @return [Google::Apis::AndroidmanagementV1::ScreenTimeoutSettings]
|
1997
|
+
attr_accessor :screen_timeout_settings
|
1998
|
+
|
1999
|
+
def initialize(**args)
|
2000
|
+
update!(**args)
|
2001
|
+
end
|
2002
|
+
|
2003
|
+
# Update properties of this object
|
2004
|
+
def update!(**args)
|
2005
|
+
@screen_brightness_settings = args[:screen_brightness_settings] if args.key?(:screen_brightness_settings)
|
2006
|
+
@screen_timeout_settings = args[:screen_timeout_settings] if args.key?(:screen_timeout_settings)
|
2007
|
+
end
|
2008
|
+
end
|
2009
|
+
|
1985
2010
|
# A DNS lookup event was initiated through the standard network stack.
|
1986
2011
|
class DnsEvent
|
1987
2012
|
include Google::Apis::Core::Hashable
|
@@ -4405,6 +4430,11 @@ module Google
|
|
4405
4430
|
# @return [Google::Apis::AndroidmanagementV1::DeviceRadioState]
|
4406
4431
|
attr_accessor :device_radio_state
|
4407
4432
|
|
4433
|
+
# Controls for the display settings.
|
4434
|
+
# Corresponds to the JSON property `displaySettings`
|
4435
|
+
# @return [Google::Apis::AndroidmanagementV1::DisplaySettings]
|
4436
|
+
attr_accessor :display_settings
|
4437
|
+
|
4408
4438
|
# Whether encryption is enabled
|
4409
4439
|
# Corresponds to the JSON property `encryptionPolicy`
|
4410
4440
|
# @return [String]
|
@@ -4861,6 +4891,7 @@ module Google
|
|
4861
4891
|
@device_connectivity_management = args[:device_connectivity_management] if args.key?(:device_connectivity_management)
|
4862
4892
|
@device_owner_lock_screen_info = args[:device_owner_lock_screen_info] if args.key?(:device_owner_lock_screen_info)
|
4863
4893
|
@device_radio_state = args[:device_radio_state] if args.key?(:device_radio_state)
|
4894
|
+
@display_settings = args[:display_settings] if args.key?(:display_settings)
|
4864
4895
|
@encryption_policy = args[:encryption_policy] if args.key?(:encryption_policy)
|
4865
4896
|
@ensure_verify_apps_enabled = args[:ensure_verify_apps_enabled] if args.key?(:ensure_verify_apps_enabled)
|
4866
4897
|
@factory_reset_disabled = args[:factory_reset_disabled] if args.key?(:factory_reset_disabled)
|
@@ -5178,6 +5209,70 @@ module Google
|
|
5178
5209
|
end
|
5179
5210
|
end
|
5180
5211
|
|
5212
|
+
# Controls for the screen brightness settings.
|
5213
|
+
class ScreenBrightnessSettings
|
5214
|
+
include Google::Apis::Core::Hashable
|
5215
|
+
|
5216
|
+
# Optional. The screen brightness between 1 and 255 where 1 is the lowest and
|
5217
|
+
# 255 is the highest brightness. A value of 0 (default) means no screen
|
5218
|
+
# brightness set. Any other value is rejected. screenBrightnessMode must be
|
5219
|
+
# either BRIGHTNESS_AUTOMATIC or BRIGHTNESS_FIXED to set this. Supported on
|
5220
|
+
# Android 9 and above on fully managed devices. A NonComplianceDetail with
|
5221
|
+
# API_LEVEL is reported if the Android version is less than 9.
|
5222
|
+
# Corresponds to the JSON property `screenBrightness`
|
5223
|
+
# @return [Fixnum]
|
5224
|
+
attr_accessor :screen_brightness
|
5225
|
+
|
5226
|
+
# Optional. Controls the screen brightness mode.
|
5227
|
+
# Corresponds to the JSON property `screenBrightnessMode`
|
5228
|
+
# @return [String]
|
5229
|
+
attr_accessor :screen_brightness_mode
|
5230
|
+
|
5231
|
+
def initialize(**args)
|
5232
|
+
update!(**args)
|
5233
|
+
end
|
5234
|
+
|
5235
|
+
# Update properties of this object
|
5236
|
+
def update!(**args)
|
5237
|
+
@screen_brightness = args[:screen_brightness] if args.key?(:screen_brightness)
|
5238
|
+
@screen_brightness_mode = args[:screen_brightness_mode] if args.key?(:screen_brightness_mode)
|
5239
|
+
end
|
5240
|
+
end
|
5241
|
+
|
5242
|
+
# Controls the screen timeout settings.
|
5243
|
+
class ScreenTimeoutSettings
|
5244
|
+
include Google::Apis::Core::Hashable
|
5245
|
+
|
5246
|
+
# Optional. Controls the screen timeout duration. The screen timeout duration
|
5247
|
+
# must be greater than 0, otherwise it is rejected. Additionally, it should not
|
5248
|
+
# be greater than maximumTimeToLock, otherwise the screen timeout is set to
|
5249
|
+
# maximumTimeToLock and a NonComplianceDetail with INVALID_VALUE reason and
|
5250
|
+
# SCREEN_TIMEOUT_GREATER_THAN_MAXIMUM_TIME_TO_LOCK specific reason is reported.
|
5251
|
+
# If the screen timeout is less than a certain lower bound, it is set to the
|
5252
|
+
# lower bound. The lower bound may vary across devices. If this is set,
|
5253
|
+
# screenTimeoutMode must be SCREEN_TIMEOUT_ENFORCED. Supported on Android 9 and
|
5254
|
+
# above on fully managed devices. A NonComplianceDetail with API_LEVEL is
|
5255
|
+
# reported if the Android version is less than 9.
|
5256
|
+
# Corresponds to the JSON property `screenTimeout`
|
5257
|
+
# @return [String]
|
5258
|
+
attr_accessor :screen_timeout
|
5259
|
+
|
5260
|
+
# Optional. Controls whether the user is allowed to configure the screen timeout.
|
5261
|
+
# Corresponds to the JSON property `screenTimeoutMode`
|
5262
|
+
# @return [String]
|
5263
|
+
attr_accessor :screen_timeout_mode
|
5264
|
+
|
5265
|
+
def initialize(**args)
|
5266
|
+
update!(**args)
|
5267
|
+
end
|
5268
|
+
|
5269
|
+
# Update properties of this object
|
5270
|
+
def update!(**args)
|
5271
|
+
@screen_timeout = args[:screen_timeout] if args.key?(:screen_timeout)
|
5272
|
+
@screen_timeout_mode = args[:screen_timeout_mode] if args.key?(:screen_timeout_mode)
|
5273
|
+
end
|
5274
|
+
end
|
5275
|
+
|
5181
5276
|
# The security posture of the device, as determined by the current device state
|
5182
5277
|
# and the policies applied.
|
5183
5278
|
class SecurityPosture
|
@@ -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.78.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.15.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20240724"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -244,6 +244,12 @@ module Google
|
|
244
244
|
include Google::Apis::Core::JsonObjectSupport
|
245
245
|
end
|
246
246
|
|
247
|
+
class DisplaySettings
|
248
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
249
|
+
|
250
|
+
include Google::Apis::Core::JsonObjectSupport
|
251
|
+
end
|
252
|
+
|
247
253
|
class DnsEvent
|
248
254
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
249
255
|
|
@@ -664,6 +670,18 @@ module Google
|
|
664
670
|
include Google::Apis::Core::JsonObjectSupport
|
665
671
|
end
|
666
672
|
|
673
|
+
class ScreenBrightnessSettings
|
674
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
675
|
+
|
676
|
+
include Google::Apis::Core::JsonObjectSupport
|
677
|
+
end
|
678
|
+
|
679
|
+
class ScreenTimeoutSettings
|
680
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
681
|
+
|
682
|
+
include Google::Apis::Core::JsonObjectSupport
|
683
|
+
end
|
684
|
+
|
667
685
|
class SecurityPosture
|
668
686
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
669
687
|
|
@@ -1296,6 +1314,16 @@ module Google
|
|
1296
1314
|
end
|
1297
1315
|
end
|
1298
1316
|
|
1317
|
+
class DisplaySettings
|
1318
|
+
# @private
|
1319
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1320
|
+
property :screen_brightness_settings, as: 'screenBrightnessSettings', class: Google::Apis::AndroidmanagementV1::ScreenBrightnessSettings, decorator: Google::Apis::AndroidmanagementV1::ScreenBrightnessSettings::Representation
|
1321
|
+
|
1322
|
+
property :screen_timeout_settings, as: 'screenTimeoutSettings', class: Google::Apis::AndroidmanagementV1::ScreenTimeoutSettings, decorator: Google::Apis::AndroidmanagementV1::ScreenTimeoutSettings::Representation
|
1323
|
+
|
1324
|
+
end
|
1325
|
+
end
|
1326
|
+
|
1299
1327
|
class DnsEvent
|
1300
1328
|
# @private
|
1301
1329
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1929,6 +1957,8 @@ module Google
|
|
1929
1957
|
|
1930
1958
|
property :device_radio_state, as: 'deviceRadioState', class: Google::Apis::AndroidmanagementV1::DeviceRadioState, decorator: Google::Apis::AndroidmanagementV1::DeviceRadioState::Representation
|
1931
1959
|
|
1960
|
+
property :display_settings, as: 'displaySettings', class: Google::Apis::AndroidmanagementV1::DisplaySettings, decorator: Google::Apis::AndroidmanagementV1::DisplaySettings::Representation
|
1961
|
+
|
1932
1962
|
property :encryption_policy, as: 'encryptionPolicy'
|
1933
1963
|
property :ensure_verify_apps_enabled, as: 'ensureVerifyAppsEnabled'
|
1934
1964
|
property :factory_reset_disabled, as: 'factoryResetDisabled'
|
@@ -2077,6 +2107,22 @@ module Google
|
|
2077
2107
|
end
|
2078
2108
|
end
|
2079
2109
|
|
2110
|
+
class ScreenBrightnessSettings
|
2111
|
+
# @private
|
2112
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2113
|
+
property :screen_brightness, as: 'screenBrightness'
|
2114
|
+
property :screen_brightness_mode, as: 'screenBrightnessMode'
|
2115
|
+
end
|
2116
|
+
end
|
2117
|
+
|
2118
|
+
class ScreenTimeoutSettings
|
2119
|
+
# @private
|
2120
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2121
|
+
property :screen_timeout, as: 'screenTimeout'
|
2122
|
+
property :screen_timeout_mode, as: 'screenTimeoutMode'
|
2123
|
+
end
|
2124
|
+
end
|
2125
|
+
|
2080
2126
|
class SecurityPosture
|
2081
2127
|
# @private
|
2082
2128
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -578,10 +578,7 @@ module Google
|
|
578
578
|
|
579
579
|
# Creates an enrollment token for a given enterprise. It's up to the caller's
|
580
580
|
# responsibility to manage the lifecycle of newly created tokens and deleting
|
581
|
-
# them when they're not intended to be used anymore.
|
582
|
-
# has been created, it's not possible to retrieve the token's content anymore
|
583
|
-
# using AM API. It is recommended for EMMs to securely store the token if it's
|
584
|
-
# intended to be reused.
|
581
|
+
# them when they're not intended to be used anymore.
|
585
582
|
# @param [String] parent
|
586
583
|
# The name of the enterprise in the form enterprises/`enterpriseId`.
|
587
584
|
# @param [Google::Apis::AndroidmanagementV1::EnrollmentToken] enrollment_token_object
|
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.78.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: 2024-
|
11
|
+
date: 2024-07-25 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.78.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: []
|