google-apis-androidmanagement_v1 0.126.0 → 0.127.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: 0f848253a5f54419d3351bcf8a8d65469a2b69cf496e6473982fd63052b4e3e3
4
- data.tar.gz: 13cf19b2ea64087d770d31b68c02e17f0abde862e45f37d268cfa35e2d394b96
3
+ metadata.gz: e25a39fc1a5e97cc7c2a6b4a880fdf9f88ac9669634db3ab0acb99316103f82c
4
+ data.tar.gz: 85f654a203f7891eacb4b11f0f4c53a27e5733e21f0f2f902faa1b441fbaeb5e
5
5
  SHA512:
6
- metadata.gz: db22e0de6da3940f98d25d867594d08dcab1b95b8c7b284143e93fc1a8686431aa8ecb5770527c9754ae23919d41d6578ff0249f61061c8e3c488e7d2689abfe
7
- data.tar.gz: 2f49a125b45f8ee6be2a43aefa05b7fcb1c2ec81ee609eb1d3b6fc1faa6f7ffefc68a1cb37528c17cff4ad530e91a94a0842b8785a39addcdcc927fd72813de3
6
+ metadata.gz: c96d8b3e7f2413b6d6a6ac214512cb612c1de528bec1ca5d132f86747d8235344ac7c7765997ea8667f9b7243bb276464bd69e646a91a6a636a0027bf691ac3a
7
+ data.tar.gz: c4b7abfa3710fbcb896c0ee214d833cdcc3a2179aaed60c983569eac4596716d47a4f646021dd28156b2a35ac5552e4d722651a5572b49deb7201b077ed81355
data/CHANGELOG.md CHANGED
@@ -1,5 +1,10 @@
1
1
  # Release history for google-apis-androidmanagement_v1
2
2
 
3
+ ### v0.127.0 (2026-11-29)
4
+
5
+ * Regenerated from discovery document revision 20261119
6
+ * Regenerated using generator version 0.19.3
7
+
3
8
  ### v0.126.0 (2026-11-01)
4
9
 
5
10
  * Regenerated from discovery document revision 20261028
data/OVERVIEW.md CHANGED
@@ -85,7 +85,7 @@ The [product documentation](https://developers.google.com/android/management) ma
85
85
 
86
86
  This library is supported on Ruby 3.2+.
87
87
 
88
- Google provides official support for Ruby versions that are actively supported by Ruby Core -- that is, Ruby versions that are either in normal maintenance or in security maintenance, and not end of life. Older versions of Ruby _may_ still work, but are unsupported and not recommended. See https://www.ruby-lang.org/en/downloads/branches/ for details about the Ruby support schedule.
88
+ Google provides official support for Ruby versions as described in the [Supported Ruby versions](https://docs.cloud.google.com/ruby/getting-started/supported-ruby-versions) policy. Older versions of Ruby _may_ still work, but are unsupported and not recommended.
89
89
 
90
90
  ## License
91
91
 
@@ -2500,7 +2500,8 @@ module Google
2500
2500
 
2501
2501
  # Restrictions on which Wi-Fi SSIDs the device can connect to. Note that this
2502
2502
  # does not affect which networks can be configured on the device. Supported on
2503
- # company-owned devices running Android 13 and above.
2503
+ # Android 13 (API level 33) and higher on fully managed devices and work
2504
+ # profiles on company-owned devices.
2504
2505
  # Corresponds to the JSON property `wifiSsidPolicy`
2505
2506
  # @return [Google::Apis::AndroidmanagementV1::WifiSsidPolicy]
2506
2507
  attr_accessor :wifi_ssid_policy
@@ -2545,6 +2546,14 @@ module Google
2545
2546
  # @return [String]
2546
2547
  attr_accessor :minimum_wifi_security_level
2547
2548
 
2549
+ # Optional. Controls whether NFC is disabled on the device and if the user can
2550
+ # toggle NFC between enabled and disabled. This is for fully managed devices. To
2551
+ # control NFC on work profiles on company-owned devices, use deviceWidePolicies.
2552
+ # deviceRadioState.nfc instead.
2553
+ # Corresponds to the JSON property `nfc`
2554
+ # @return [String]
2555
+ attr_accessor :nfc
2556
+
2548
2557
  # Optional. Controls the state of the ultra wideband setting and whether the
2549
2558
  # user can toggle it on or off.
2550
2559
  # Corresponds to the JSON property `ultraWidebandState`
@@ -2570,6 +2579,7 @@ module Google
2570
2579
  @airplane_mode_state = args[:airplane_mode_state] if args.key?(:airplane_mode_state)
2571
2580
  @cellular_two_g_state = args[:cellular_two_g_state] if args.key?(:cellular_two_g_state)
2572
2581
  @minimum_wifi_security_level = args[:minimum_wifi_security_level] if args.key?(:minimum_wifi_security_level)
2582
+ @nfc = args[:nfc] if args.key?(:nfc)
2573
2583
  @ultra_wideband_state = args[:ultra_wideband_state] if args.key?(:ultra_wideband_state)
2574
2584
  @user_initiated_add_esim_settings = args[:user_initiated_add_esim_settings] if args.key?(:user_initiated_add_esim_settings)
2575
2585
  @wifi_state = args[:wifi_state] if args.key?(:wifi_state)
@@ -2639,6 +2649,47 @@ module Google
2639
2649
  end
2640
2650
  end
2641
2651
 
2652
+ # Policies controlling the device on company-owned devices.
2653
+ class DeviceWidePolicies
2654
+ include Google::Apis::Core::Hashable
2655
+
2656
+ # Controls for device radio settings.
2657
+ # Corresponds to the JSON property `deviceRadioState`
2658
+ # @return [Google::Apis::AndroidmanagementV1::DeviceWideRadioState]
2659
+ attr_accessor :device_radio_state
2660
+
2661
+ def initialize(**args)
2662
+ update!(**args)
2663
+ end
2664
+
2665
+ # Update properties of this object
2666
+ def update!(**args)
2667
+ @device_radio_state = args[:device_radio_state] if args.key?(:device_radio_state)
2668
+ end
2669
+ end
2670
+
2671
+ # Controls for device radio settings.
2672
+ class DeviceWideRadioState
2673
+ include Google::Apis::Core::Hashable
2674
+
2675
+ # Optional. Controls whether NFC is disabled on the device and if the user can
2676
+ # toggle NFC between enabled and disabled. This is for work profiles on company-
2677
+ # owned devices. To control NFC on fully managed devices, use deviceRadioState.
2678
+ # nfc instead.
2679
+ # Corresponds to the JSON property `nfc`
2680
+ # @return [String]
2681
+ attr_accessor :nfc
2682
+
2683
+ def initialize(**args)
2684
+ update!(**args)
2685
+ end
2686
+
2687
+ # Update properties of this object
2688
+ def update!(**args)
2689
+ @nfc = args[:nfc] if args.key?(:nfc)
2690
+ end
2691
+ end
2692
+
2642
2693
  # Device display information.
2643
2694
  class DisplayProp
2644
2695
  include Google::Apis::Core::Hashable
@@ -4728,7 +4779,11 @@ module Google
4728
4779
  class NetworkInfo
4729
4780
  include Google::Apis::Core::Hashable
4730
4781
 
4731
- # IMEI number of the GSM device. For example, A1000031212.
4782
+ # IMEI number of the GSM device. For example, A1000031212. This value
4783
+ # corresponds to the result of TelephonyManager.getImei()(https://developer.
4784
+ # android.com/reference/android/telephony/TelephonyManager#getImei()). On dual-
4785
+ # SIM devices, reports the IMEI associated with the default active subscription,
4786
+ # such as the IMEI of the eSIM slot when only an eSIM is active.
4732
4787
  # Corresponds to the JSON property `imei`
4733
4788
  # @return [String]
4734
4789
  attr_accessor :imei
@@ -5647,6 +5702,11 @@ module Google
5647
5702
  # @return [Google::Apis::AndroidmanagementV1::DeviceRadioState]
5648
5703
  attr_accessor :device_radio_state
5649
5704
 
5705
+ # Policies controlling the device on company-owned devices.
5706
+ # Corresponds to the JSON property `deviceWidePolicies`
5707
+ # @return [Google::Apis::AndroidmanagementV1::DeviceWidePolicies]
5708
+ attr_accessor :device_wide_policies
5709
+
5650
5710
  # Controls for the display settings.
5651
5711
  # Corresponds to the JSON property `displaySettings`
5652
5712
  # @return [Google::Apis::AndroidmanagementV1::DisplaySettings]
@@ -6151,6 +6211,7 @@ module Google
6151
6211
  @device_connectivity_management = args[:device_connectivity_management] if args.key?(:device_connectivity_management)
6152
6212
  @device_owner_lock_screen_info = args[:device_owner_lock_screen_info] if args.key?(:device_owner_lock_screen_info)
6153
6213
  @device_radio_state = args[:device_radio_state] if args.key?(:device_radio_state)
6214
+ @device_wide_policies = args[:device_wide_policies] if args.key?(:device_wide_policies)
6154
6215
  @display_settings = args[:display_settings] if args.key?(:display_settings)
6155
6216
  @encryption_policy = args[:encryption_policy] if args.key?(:encryption_policy)
6156
6217
  @ensure_verify_apps_enabled = args[:ensure_verify_apps_enabled] if args.key?(:ensure_verify_apps_enabled)
@@ -7762,9 +7823,12 @@ module Google
7762
7823
  # refer to that target are evaluated in sequence. The first rule for which the
7763
7824
  # predicate evaluates to true is considered, and its outcome is used. If no rule
7764
7825
  # matches, the default update behavior applies. In other words, this behaves
7765
- # like a chained if-else statement.However, if an update has been available for
7766
- # more than a certain amount of time, any outcome of BLOCK is automatically
7767
- # changed to the default update behavior. At most 100 rules are allowed.
7826
+ # like a chained if-else statement.However, each update can only be deferred for
7827
+ # a limited time. After an update has been available for longer than its maximum
7828
+ # deferral period, rules with an outcome of BLOCK or USER_PROMPT no longer delay
7829
+ # it. The update then follows a matching rule with an outcome of FORCE or the
7830
+ # default update behavior. The maximum deferral period depends on the target
7831
+ # type and, for OS updates, the management mode.At most 100 rules are allowed.
7768
7832
  # Corresponds to the JSON property `rules`
7769
7833
  # @return [Array<Google::Apis::AndroidmanagementV1::Rule>]
7770
7834
  attr_accessor :rules
@@ -8311,7 +8375,8 @@ module Google
8311
8375
 
8312
8376
  # Restrictions on which Wi-Fi SSIDs the device can connect to. Note that this
8313
8377
  # does not affect which networks can be configured on the device. Supported on
8314
- # company-owned devices running Android 13 and above.
8378
+ # Android 13 (API level 33) and higher on fully managed devices and work
8379
+ # profiles on company-owned devices.
8315
8380
  class WifiSsidPolicy
8316
8381
  include Google::Apis::Core::Hashable
8317
8382
 
@@ -8321,11 +8386,7 @@ module Google
8321
8386
  attr_accessor :wifi_ssid_policy_type
8322
8387
 
8323
8388
  # Optional. List of Wi-Fi SSIDs that should be applied in the policy. This field
8324
- # must be non-empty when WifiSsidPolicyType is set to WIFI_SSID_ALLOWLIST. If
8325
- # this is set to a non-empty list, then a NonComplianceDetail detail with
8326
- # API_LEVEL is reported if the Android version is less than 13 and a
8327
- # NonComplianceDetail with MANAGEMENT_MODE is reported for non-company-owned
8328
- # devices.
8389
+ # must be non-empty when wifiSsidPolicyType is set to WIFI_SSID_ALLOWLIST.
8329
8390
  # Corresponds to the JSON property `wifiSsids`
8330
8391
  # @return [Array<Google::Apis::AndroidmanagementV1::WifiSsid>]
8331
8392
  attr_accessor :wifi_ssids
@@ -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.126.0"
19
+ GEM_VERSION = "0.127.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.19.1"
22
+ GENERATOR_VERSION = "0.19.3"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20261028"
25
+ REVISION = "20261119"
26
26
  end
27
27
  end
28
28
  end
@@ -316,6 +316,18 @@ module Google
316
316
  include Google::Apis::Core::JsonObjectSupport
317
317
  end
318
318
 
319
+ class DeviceWidePolicies
320
+ class Representation < Google::Apis::Core::JsonRepresentation; end
321
+
322
+ include Google::Apis::Core::JsonObjectSupport
323
+ end
324
+
325
+ class DeviceWideRadioState
326
+ class Representation < Google::Apis::Core::JsonRepresentation; end
327
+
328
+ include Google::Apis::Core::JsonObjectSupport
329
+ end
330
+
319
331
  class DisplayProp
320
332
  class Representation < Google::Apis::Core::JsonRepresentation; end
321
333
 
@@ -1732,6 +1744,7 @@ module Google
1732
1744
  property :airplane_mode_state, as: 'airplaneModeState'
1733
1745
  property :cellular_two_g_state, as: 'cellularTwoGState'
1734
1746
  property :minimum_wifi_security_level, as: 'minimumWifiSecurityLevel'
1747
+ property :nfc, as: 'nfc'
1735
1748
  property :ultra_wideband_state, as: 'ultraWidebandState'
1736
1749
  property :user_initiated_add_esim_settings, as: 'userInitiatedAddEsimSettings'
1737
1750
  property :wifi_state, as: 'wifiState'
@@ -1751,6 +1764,21 @@ module Google
1751
1764
  end
1752
1765
  end
1753
1766
 
1767
+ class DeviceWidePolicies
1768
+ # @private
1769
+ class Representation < Google::Apis::Core::JsonRepresentation
1770
+ property :device_radio_state, as: 'deviceRadioState', class: Google::Apis::AndroidmanagementV1::DeviceWideRadioState, decorator: Google::Apis::AndroidmanagementV1::DeviceWideRadioState::Representation
1771
+
1772
+ end
1773
+ end
1774
+
1775
+ class DeviceWideRadioState
1776
+ # @private
1777
+ class Representation < Google::Apis::Core::JsonRepresentation
1778
+ property :nfc, as: 'nfc'
1779
+ end
1780
+ end
1781
+
1754
1782
  class DisplayProp
1755
1783
  # @private
1756
1784
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2545,6 +2573,8 @@ module Google
2545
2573
 
2546
2574
  property :device_radio_state, as: 'deviceRadioState', class: Google::Apis::AndroidmanagementV1::DeviceRadioState, decorator: Google::Apis::AndroidmanagementV1::DeviceRadioState::Representation
2547
2575
 
2576
+ property :device_wide_policies, as: 'deviceWidePolicies', class: Google::Apis::AndroidmanagementV1::DeviceWidePolicies, decorator: Google::Apis::AndroidmanagementV1::DeviceWidePolicies::Representation
2577
+
2548
2578
  property :display_settings, as: 'displaySettings', class: Google::Apis::AndroidmanagementV1::DisplaySettings, decorator: Google::Apis::AndroidmanagementV1::DisplaySettings::Representation
2549
2579
 
2550
2580
  property :encryption_policy, as: 'encryptionPolicy'
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-apis-androidmanagement_v1
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.126.0
4
+ version: 0.127.0
5
5
  platform: ruby
6
6
  authors:
7
7
  - Google LLC
@@ -57,7 +57,7 @@ licenses:
57
57
  metadata:
58
58
  bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
59
59
  changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-androidmanagement_v1/CHANGELOG.md
60
- documentation_uri: https://googleapis.dev/ruby/google-apis-androidmanagement_v1/v0.126.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-androidmanagement_v1/v0.127.0
61
61
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-androidmanagement_v1
62
62
  rdoc_options: []
63
63
  require_paths: