google-apis-androidmanagement_v1 0.75.0 → 0.77.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 CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 06237fb69f569242d07ae66b4f9900660699f0097e7a71eeaceea5e468054a18
4
- data.tar.gz: 23f801754eb4e7fea6ee2f0c8399fe46a15644144d2c3cecb52953441877b886
3
+ metadata.gz: 6bb4951a03cf92a37baab840c761933f8f49ab5164832a52d538a6c1102f5e3f
4
+ data.tar.gz: 42ed3b308b8c168895ec2266cdff92e2e4e76a505a26d121a831e2bf7de8ff3e
5
5
  SHA512:
6
- metadata.gz: b6554f5fcf38e2f8a62f4f412206f3816171071ed1c17868ccc4cb7737311faa196c3eaeb646926b4012439283ecac76908dd33da6216da6d70cff52afb2008e
7
- data.tar.gz: 10757cd3421521eb19949a1adc2ea24fa9bf8a7f1f9be843eb2f4b2babc656464e5ded016f758dad025fd8903583010646142927eb4527b7fdef0ec18f170263
6
+ metadata.gz: f52a75a8bf8f256bc02d3d959e14f6fbf1a3cf7452fc5fcd0737c447a2f698893f02c32316c31d957373345632423e48b8147e27097a84715fd9e7b7f751803b
7
+ data.tar.gz: cd6be79b09e75cd2fd10cfbb9dd626a28899c14bb14036b04e36e0d821c82be456d594f74af10a019c7b407f611d3f004599045b1bdfc736f3b28675e466c5f6
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
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
+
7
+ ### v0.76.0 (2024-06-16)
8
+
9
+ * Regenerated from discovery document revision 20240606
10
+
3
11
  ### v0.75.0 (2024-05-26)
4
12
 
5
13
  * Regenerated from discovery document revision 20240516
@@ -670,6 +670,13 @@ module Google
670
670
  # @return [Array<Google::Apis::AndroidmanagementV1::PermissionGrant>]
671
671
  attr_accessor :permission_grants
672
672
 
673
+ # Optional. Specifies whether user control is permitted for the app. User
674
+ # control includes user actions like force-stopping and clearing app data.
675
+ # Supported on Android 11 and above.
676
+ # Corresponds to the JSON property `userControlSettings`
677
+ # @return [String]
678
+ attr_accessor :user_control_settings
679
+
673
680
  # Specifies whether the app installed in the work profile is allowed to add
674
681
  # widgets to the home screen.
675
682
  # Corresponds to the JSON property `workProfileWidgets`
@@ -700,6 +707,7 @@ module Google
700
707
  @minimum_version_code = args[:minimum_version_code] if args.key?(:minimum_version_code)
701
708
  @package_name = args[:package_name] if args.key?(:package_name)
702
709
  @permission_grants = args[:permission_grants] if args.key?(:permission_grants)
710
+ @user_control_settings = args[:user_control_settings] if args.key?(:user_control_settings)
703
711
  @work_profile_widgets = args[:work_profile_widgets] if args.key?(:work_profile_widgets)
704
712
  end
705
713
  end
@@ -1974,6 +1982,31 @@ module Google
1974
1982
  end
1975
1983
  end
1976
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
+
1977
2010
  # A DNS lookup event was initiated through the standard network stack.
1978
2011
  class DnsEvent
1979
2012
  include Google::Apis::Core::Hashable
@@ -2203,6 +2236,11 @@ module Google
2203
2236
  # @return [String]
2204
2237
  attr_accessor :enterprise_display_name
2205
2238
 
2239
+ # Contains settings for Google-provided user authentication.
2240
+ # Corresponds to the JSON property `googleAuthenticationSettings`
2241
+ # @return [Google::Apis::AndroidmanagementV1::GoogleAuthenticationSettings]
2242
+ attr_accessor :google_authentication_settings
2243
+
2206
2244
  # Data hosted at an external location. The data is to be downloaded by Android
2207
2245
  # Device Policy and verified against the hash.
2208
2246
  # Corresponds to the JSON property `logo`
@@ -2251,6 +2289,7 @@ module Google
2251
2289
  @contact_info = args[:contact_info] if args.key?(:contact_info)
2252
2290
  @enabled_notification_types = args[:enabled_notification_types] if args.key?(:enabled_notification_types)
2253
2291
  @enterprise_display_name = args[:enterprise_display_name] if args.key?(:enterprise_display_name)
2292
+ @google_authentication_settings = args[:google_authentication_settings] if args.key?(:google_authentication_settings)
2254
2293
  @logo = args[:logo] if args.key?(:logo)
2255
2294
  @name = args[:name] if args.key?(:name)
2256
2295
  @primary_color = args[:primary_color] if args.key?(:primary_color)
@@ -2419,6 +2458,31 @@ module Google
2419
2458
  end
2420
2459
  end
2421
2460
 
2461
+ # Contains settings for Google-provided user authentication.
2462
+ class GoogleAuthenticationSettings
2463
+ include Google::Apis::Core::Hashable
2464
+
2465
+ # Output only. Whether users need to be authenticated by Google during the
2466
+ # enrollment process. IT admin can specify if Google authentication is enabled
2467
+ # for the enterprise for knowledge worker devices. This value can be set only
2468
+ # via the Google Admin Console. Google authentication can be used with
2469
+ # signin_url In the case where Google authentication is required and a
2470
+ # signin_url is specified, Google authentication will be launched before
2471
+ # signin_url.
2472
+ # Corresponds to the JSON property `googleAuthenticationRequired`
2473
+ # @return [String]
2474
+ attr_accessor :google_authentication_required
2475
+
2476
+ def initialize(**args)
2477
+ update!(**args)
2478
+ end
2479
+
2480
+ # Update properties of this object
2481
+ def update!(**args)
2482
+ @google_authentication_required = args[:google_authentication_required] if args.key?(:google_authentication_required)
2483
+ end
2484
+ end
2485
+
2422
2486
  # Information about device hardware. The fields related to temperature
2423
2487
  # thresholds are only available if hardwareStatusEnabled is true in the device's
2424
2488
  # policy.
@@ -4366,6 +4430,11 @@ module Google
4366
4430
  # @return [Google::Apis::AndroidmanagementV1::DeviceRadioState]
4367
4431
  attr_accessor :device_radio_state
4368
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
+
4369
4438
  # Whether encryption is enabled
4370
4439
  # Corresponds to the JSON property `encryptionPolicy`
4371
4440
  # @return [String]
@@ -4822,6 +4891,7 @@ module Google
4822
4891
  @device_connectivity_management = args[:device_connectivity_management] if args.key?(:device_connectivity_management)
4823
4892
  @device_owner_lock_screen_info = args[:device_owner_lock_screen_info] if args.key?(:device_owner_lock_screen_info)
4824
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)
4825
4895
  @encryption_policy = args[:encryption_policy] if args.key?(:encryption_policy)
4826
4896
  @ensure_verify_apps_enabled = args[:ensure_verify_apps_enabled] if args.key?(:ensure_verify_apps_enabled)
4827
4897
  @factory_reset_disabled = args[:factory_reset_disabled] if args.key?(:factory_reset_disabled)
@@ -4996,6 +5066,12 @@ module Google
4996
5066
  # @return [Fixnum]
4997
5067
  attr_accessor :api_level
4998
5068
 
5069
+ # The email address of the authenticated user (only present for Google Account
5070
+ # provisioning method).
5071
+ # Corresponds to the JSON property `authenticatedUserEmail`
5072
+ # @return [String]
5073
+ attr_accessor :authenticated_user_email
5074
+
4999
5075
  # The brand of the device. For example, Google.
5000
5076
  # Corresponds to the JSON property `brand`
5001
5077
  # @return [String]
@@ -5050,6 +5126,7 @@ module Google
5050
5126
  # Update properties of this object
5051
5127
  def update!(**args)
5052
5128
  @api_level = args[:api_level] if args.key?(:api_level)
5129
+ @authenticated_user_email = args[:authenticated_user_email] if args.key?(:authenticated_user_email)
5053
5130
  @brand = args[:brand] if args.key?(:brand)
5054
5131
  @enterprise = args[:enterprise] if args.key?(:enterprise)
5055
5132
  @imei = args[:imei] if args.key?(:imei)
@@ -5132,6 +5209,70 @@ module Google
5132
5209
  end
5133
5210
  end
5134
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
+
5135
5276
  # The security posture of the device, as determined by the current device state
5136
5277
  # and the policies applied.
5137
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.75.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 = "20240516"
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
 
@@ -310,6 +316,12 @@ module Google
310
316
  include Google::Apis::Core::JsonObjectSupport
311
317
  end
312
318
 
319
+ class GoogleAuthenticationSettings
320
+ class Representation < Google::Apis::Core::JsonRepresentation; end
321
+
322
+ include Google::Apis::Core::JsonObjectSupport
323
+ end
324
+
313
325
  class HardwareInfo
314
326
  class Representation < Google::Apis::Core::JsonRepresentation; end
315
327
 
@@ -658,6 +670,18 @@ module Google
658
670
  include Google::Apis::Core::JsonObjectSupport
659
671
  end
660
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
+
661
685
  class SecurityPosture
662
686
  class Representation < Google::Apis::Core::JsonRepresentation; end
663
687
 
@@ -979,6 +1003,7 @@ module Google
979
1003
  property :package_name, as: 'packageName'
980
1004
  collection :permission_grants, as: 'permissionGrants', class: Google::Apis::AndroidmanagementV1::PermissionGrant, decorator: Google::Apis::AndroidmanagementV1::PermissionGrant::Representation
981
1005
 
1006
+ property :user_control_settings, as: 'userControlSettings'
982
1007
  property :work_profile_widgets, as: 'workProfileWidgets'
983
1008
  end
984
1009
  end
@@ -1289,6 +1314,16 @@ module Google
1289
1314
  end
1290
1315
  end
1291
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
+
1292
1327
  class DnsEvent
1293
1328
  # @private
1294
1329
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1344,6 +1379,8 @@ module Google
1344
1379
 
1345
1380
  collection :enabled_notification_types, as: 'enabledNotificationTypes'
1346
1381
  property :enterprise_display_name, as: 'enterpriseDisplayName'
1382
+ property :google_authentication_settings, as: 'googleAuthenticationSettings', class: Google::Apis::AndroidmanagementV1::GoogleAuthenticationSettings, decorator: Google::Apis::AndroidmanagementV1::GoogleAuthenticationSettings::Representation
1383
+
1347
1384
  property :logo, as: 'logo', class: Google::Apis::AndroidmanagementV1::ExternalData, decorator: Google::Apis::AndroidmanagementV1::ExternalData::Representation
1348
1385
 
1349
1386
  property :name, as: 'name'
@@ -1396,6 +1433,13 @@ module Google
1396
1433
  end
1397
1434
  end
1398
1435
 
1436
+ class GoogleAuthenticationSettings
1437
+ # @private
1438
+ class Representation < Google::Apis::Core::JsonRepresentation
1439
+ property :google_authentication_required, as: 'googleAuthenticationRequired'
1440
+ end
1441
+ end
1442
+
1399
1443
  class HardwareInfo
1400
1444
  # @private
1401
1445
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1913,6 +1957,8 @@ module Google
1913
1957
 
1914
1958
  property :device_radio_state, as: 'deviceRadioState', class: Google::Apis::AndroidmanagementV1::DeviceRadioState, decorator: Google::Apis::AndroidmanagementV1::DeviceRadioState::Representation
1915
1959
 
1960
+ property :display_settings, as: 'displaySettings', class: Google::Apis::AndroidmanagementV1::DisplaySettings, decorator: Google::Apis::AndroidmanagementV1::DisplaySettings::Representation
1961
+
1916
1962
  property :encryption_policy, as: 'encryptionPolicy'
1917
1963
  property :ensure_verify_apps_enabled, as: 'ensureVerifyAppsEnabled'
1918
1964
  property :factory_reset_disabled, as: 'factoryResetDisabled'
@@ -2029,6 +2075,7 @@ module Google
2029
2075
  # @private
2030
2076
  class Representation < Google::Apis::Core::JsonRepresentation
2031
2077
  property :api_level, as: 'apiLevel'
2078
+ property :authenticated_user_email, as: 'authenticatedUserEmail'
2032
2079
  property :brand, as: 'brand'
2033
2080
  property :enterprise, as: 'enterprise'
2034
2081
  property :imei, as: 'imei'
@@ -2060,6 +2107,22 @@ module Google
2060
2107
  end
2061
2108
  end
2062
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
+
2063
2126
  class SecurityPosture
2064
2127
  # @private
2065
2128
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -646,11 +646,12 @@ module Google
646
646
  execute_or_queue_command(command, &block)
647
647
  end
648
648
 
649
- # Gets an active, unexpired enrollment token. Only a partial view of
650
- # EnrollmentToken is returned: all the fields but name and expiration_timestamp
651
- # are empty. This method is meant to help manage active enrollment tokens
652
- # lifecycle. For security reasons, it's recommended to delete active enrollment
653
- # tokens as soon as they're not intended to be used anymore.
649
+ # Gets an active, unexpired enrollment token. A partial view of the enrollment
650
+ # token is returned. Only the following fields are populated: name,
651
+ # expirationTimestamp, allowPersonalUsage, value, qrCode. This method is meant
652
+ # to help manage active enrollment tokens lifecycle. For security reasons, it's
653
+ # recommended to delete active enrollment tokens as soon as they're not intended
654
+ # to be used anymore.
654
655
  # @param [String] name
655
656
  # Required. The name of the enrollment token in the form enterprises/`
656
657
  # enterpriseId`/enrollmentTokens/`enrollmentTokenId`.
@@ -682,10 +683,11 @@ module Google
682
683
  end
683
684
 
684
685
  # Lists active, unexpired enrollment tokens for a given enterprise. The list
685
- # items contain only a partial view of EnrollmentToken: all the fields but name
686
- # and expiration_timestamp are empty. This method is meant to help manage active
687
- # enrollment tokens lifecycle. For security reasons, it's recommended to delete
688
- # active enrollment tokens as soon as they're not intended to be used anymore.
686
+ # items contain only a partial view of EnrollmentToken object. Only the
687
+ # following fields are populated: name, expirationTimestamp, allowPersonalUsage,
688
+ # value, qrCode. This method is meant to help manage active enrollment tokens
689
+ # lifecycle. For security reasons, it's recommended to delete active enrollment
690
+ # tokens as soon as they're not intended to be used anymore.
689
691
  # @param [String] parent
690
692
  # Required. The name of the enterprise in the form enterprises/`enterpriseId`.
691
693
  # @param [Fixnum] page_size
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.75.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-05-26 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.75.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: []