google-apis-androidmanagement_v1 0.76.0 → 0.77.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 50e972de2746734c5bf6dc81053d84a98ce30f8468cba75b8fd176cad020645e
4
- data.tar.gz: 8458df5db9c09a38d1a19595bd26a64eedb29ff5bf3825a87563d52aa87c4616
3
+ metadata.gz: 6bb4951a03cf92a37baab840c761933f8f49ab5164832a52d538a6c1102f5e3f
4
+ data.tar.gz: 42ed3b308b8c168895ec2266cdff92e2e4e76a505a26d121a831e2bf7de8ff3e
5
5
  SHA512:
6
- metadata.gz: 6df3d096bdf0931970ecb0bc16098238a19c69611c056349774e895a405e9cef5b44a2c0a8a5e4ea46f028e7e3acf260714db4edd43cc4e91b3bee7a1c9d0afb
7
- data.tar.gz: 7a07c6db264caf6a0dd9ad856749900ba38f711abe0d073880ebb76fb93a244460df0be3ac1c5f7eec188f7fabb7fd561bebaaea303c922bcde71154827b6941
6
+ metadata.gz: f52a75a8bf8f256bc02d3d959e14f6fbf1a3cf7452fc5fcd0737c447a2f698893f02c32316c31d957373345632423e48b8147e27097a84715fd9e7b7f751803b
7
+ data.tar.gz: cd6be79b09e75cd2fd10cfbb9dd626a28899c14bb14036b04e36e0d821c82be456d594f74af10a019c7b407f611d3f004599045b1bdfc736f3b28675e466c5f6
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-androidmanagement_v1
2
2
 
3
+ ### v0.77.0 (2024-06-23)
4
+
5
+ * Regenerated from discovery document revision 20240618
6
+
3
7
  ### v0.76.0 (2024-06-16)
4
8
 
5
9
  * 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.76.0"
19
+ GEM_VERSION = "0.77.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 = "20240606"
25
+ REVISION = "20240618"
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
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.76.0
4
+ version: 0.77.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-06-16 00:00:00.000000000 Z
11
+ date: 2024-06-23 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.76.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-androidmanagement_v1/v0.77.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: []