google-apis-androidmanagement_v1 0.125.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: d824a6bc7a5490d51eb235da4c8deeca8b2f28b8a50576713da8ba37ccfb5734
4
- data.tar.gz: 45a23005ab90e89c85d1e3f74755b84ce34988d7b33c9a0f5fc13ec81b690c3d
3
+ metadata.gz: e25a39fc1a5e97cc7c2a6b4a880fdf9f88ac9669634db3ab0acb99316103f82c
4
+ data.tar.gz: 85f654a203f7891eacb4b11f0f4c53a27e5733e21f0f2f902faa1b441fbaeb5e
5
5
  SHA512:
6
- metadata.gz: 678eddc9421a092d82ff968e1f37170d43657a1bd5b78c0d71f6156f8f18da03e4b67d2485af0f72d045866d82c1715d6532a16814c1c2354fe7302de9825f65
7
- data.tar.gz: 2fed5bc81a0be04b75b0b44f0de32e880ff3e3bc283f02e60a313ee87c81108742f9284c5a6727a7bba0bdcefd5c3ab9705052dbb2096851a9c62fc8e40ad763
6
+ metadata.gz: c96d8b3e7f2413b6d6a6ac214512cb612c1de528bec1ca5d132f86747d8235344ac7c7765997ea8667f9b7243bb276464bd69e646a91a6a636a0027bf691ac3a
7
+ data.tar.gz: c4b7abfa3710fbcb896c0ee214d833cdcc3a2179aaed60c983569eac4596716d47a4f646021dd28156b2a35ac5552e4d722651a5572b49deb7201b077ed81355
data/CHANGELOG.md CHANGED
@@ -1,5 +1,14 @@
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
+
8
+ ### v0.126.0 (2026-11-01)
9
+
10
+ * Regenerated from discovery document revision 20261028
11
+
3
12
  ### v0.125.0 (2026-10-21)
4
13
 
5
14
  * Regenerated from discovery document revision 20261021
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
@@ -3260,6 +3311,27 @@ module Google
3260
3311
  end
3261
3312
  end
3262
3313
 
3314
+ # Extra capabilities for a role.
3315
+ class ExtraCapabilities
3316
+ include Google::Apis::Core::Hashable
3317
+
3318
+ # Optional. Controls whether the companion app can perform local device wipe (
3319
+ # https://developers.google.com/android/management/sdk-local-commands) using
3320
+ # AMAPI SDK (https://developers.google.com/android/management/sdk-integration).
3321
+ # Corresponds to the JSON property `localDeviceWipeCommand`
3322
+ # @return [String]
3323
+ attr_accessor :local_device_wipe_command
3324
+
3325
+ def initialize(**args)
3326
+ update!(**args)
3327
+ end
3328
+
3329
+ # Update properties of this object
3330
+ def update!(**args)
3331
+ @local_device_wipe_command = args[:local_device_wipe_command] if args.key?(:local_device_wipe_command)
3332
+ end
3333
+ end
3334
+
3263
3335
  # A file was downloaded from the device.
3264
3336
  class FilePulledEvent
3265
3337
  include Google::Apis::Core::Hashable
@@ -4707,7 +4779,11 @@ module Google
4707
4779
  class NetworkInfo
4708
4780
  include Google::Apis::Core::Hashable
4709
4781
 
4710
- # 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.
4711
4787
  # Corresponds to the JSON property `imei`
4712
4788
  # @return [String]
4713
4789
  attr_accessor :imei
@@ -5000,6 +5076,25 @@ module Google
5000
5076
  end
5001
5077
  end
5002
5078
 
5079
+ # Determines how to proceed with the update.
5080
+ class Outcome
5081
+ include Google::Apis::Core::Hashable
5082
+
5083
+ # Optional. Determines how to proceed with the update.
5084
+ # Corresponds to the JSON property `outcomeType`
5085
+ # @return [String]
5086
+ attr_accessor :outcome_type
5087
+
5088
+ def initialize(**args)
5089
+ update!(**args)
5090
+ end
5091
+
5092
+ # Update properties of this object
5093
+ def update!(**args)
5094
+ @outcome_type = args[:outcome_type] if args.key?(:outcome_type)
5095
+ end
5096
+ end
5097
+
5003
5098
  # A list of package names.
5004
5099
  class PackageNameList
5005
5100
  include Google::Apis::Core::Hashable
@@ -5607,6 +5702,11 @@ module Google
5607
5702
  # @return [Google::Apis::AndroidmanagementV1::DeviceRadioState]
5608
5703
  attr_accessor :device_radio_state
5609
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
+
5610
5710
  # Controls for the display settings.
5611
5711
  # Corresponds to the JSON property `displaySettings`
5612
5712
  # @return [Google::Apis::AndroidmanagementV1::DisplaySettings]
@@ -5980,6 +6080,12 @@ module Google
5980
6080
  attr_accessor :tethering_config_disabled
5981
6081
  alias_method :tethering_config_disabled?, :tethering_config_disabled
5982
6082
 
6083
+ # The Unified Update Control policy, for controlling updates of software
6084
+ # components on the device (see Target). Supported only on company-owned devices.
6085
+ # Corresponds to the JSON property `unifiedUpdatePolicy`
6086
+ # @return [Google::Apis::AndroidmanagementV1::UnifiedUpdatePolicy]
6087
+ attr_accessor :unified_update_policy
6088
+
5983
6089
  # Whether user uninstallation of applications is disabled. This prevents apps
5984
6090
  # from being uninstalled, even those removed using applications
5985
6091
  # Corresponds to the JSON property `uninstallAppsDisabled`
@@ -6105,6 +6211,7 @@ module Google
6105
6211
  @device_connectivity_management = args[:device_connectivity_management] if args.key?(:device_connectivity_management)
6106
6212
  @device_owner_lock_screen_info = args[:device_owner_lock_screen_info] if args.key?(:device_owner_lock_screen_info)
6107
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)
6108
6215
  @display_settings = args[:display_settings] if args.key?(:display_settings)
6109
6216
  @encryption_policy = args[:encryption_policy] if args.key?(:encryption_policy)
6110
6217
  @ensure_verify_apps_enabled = args[:ensure_verify_apps_enabled] if args.key?(:ensure_verify_apps_enabled)
@@ -6161,6 +6268,7 @@ module Google
6161
6268
  @stay_on_plugged_modes = args[:stay_on_plugged_modes] if args.key?(:stay_on_plugged_modes)
6162
6269
  @system_update = args[:system_update] if args.key?(:system_update)
6163
6270
  @tethering_config_disabled = args[:tethering_config_disabled] if args.key?(:tethering_config_disabled)
6271
+ @unified_update_policy = args[:unified_update_policy] if args.key?(:unified_update_policy)
6164
6272
  @uninstall_apps_disabled = args[:uninstall_apps_disabled] if args.key?(:uninstall_apps_disabled)
6165
6273
  @unmute_microphone_disabled = args[:unmute_microphone_disabled] if args.key?(:unmute_microphone_disabled)
6166
6274
  @usage_log = args[:usage_log] if args.key?(:usage_log)
@@ -6274,6 +6382,87 @@ module Google
6274
6382
  end
6275
6383
  end
6276
6384
 
6385
+ # A predicate is something that can be evaluated on a device at any point of
6386
+ # time, to return true or false. This is the conjunction (logical AND) of all
6387
+ # the individual conditions defined here. An empty Predicate always evaluates to
6388
+ # true.
6389
+ class Predicate
6390
+ include Google::Apis::Core::Hashable
6391
+
6392
+ # Represents a whole or partial calendar date, such as a birthday. The time of
6393
+ # day and time zone are either specified elsewhere or are insignificant. The
6394
+ # date is relative to the Gregorian Calendar. This can represent one of the
6395
+ # following: A full date, with non-zero year, month, and day values. A month and
6396
+ # day, with a zero year (for example, an anniversary). A year on its own, with a
6397
+ # zero month and a zero day. A year and month, with a zero day (for example, a
6398
+ # credit card expiration date).Related types: google.type.TimeOfDay google.type.
6399
+ # DateTime google.protobuf.Timestamp
6400
+ # Corresponds to the JSON property `dateLowerBound`
6401
+ # @return [Google::Apis::AndroidmanagementV1::Date]
6402
+ attr_accessor :date_lower_bound
6403
+
6404
+ # Represents a whole or partial calendar date, such as a birthday. The time of
6405
+ # day and time zone are either specified elsewhere or are insignificant. The
6406
+ # date is relative to the Gregorian Calendar. This can represent one of the
6407
+ # following: A full date, with non-zero year, month, and day values. A month and
6408
+ # day, with a zero year (for example, an anniversary). A year on its own, with a
6409
+ # zero month and a zero day. A year and month, with a zero day (for example, a
6410
+ # credit card expiration date).Related types: google.type.TimeOfDay google.type.
6411
+ # DateTime google.protobuf.Timestamp
6412
+ # Corresponds to the JSON property `dateUpperBound`
6413
+ # @return [Google::Apis::AndroidmanagementV1::Date]
6414
+ attr_accessor :date_upper_bound
6415
+
6416
+ # Optional. Evaluates to true if this list is empty or if the current day of the
6417
+ # week in the device's local time is in this list.
6418
+ # Corresponds to the JSON property `daysOfWeek`
6419
+ # @return [Array<String>]
6420
+ attr_accessor :days_of_week
6421
+
6422
+ # Represents a time of day. The date and time zone are either not significant or
6423
+ # are specified elsewhere. An API may choose to allow leap seconds. Related
6424
+ # types are google.type.Date and google.protobuf.Timestamp.
6425
+ # Corresponds to the JSON property `timeOfDayLowerBound`
6426
+ # @return [Google::Apis::AndroidmanagementV1::TimeOfDay]
6427
+ attr_accessor :time_of_day_lower_bound
6428
+
6429
+ # Represents a time of day. The date and time zone are either not significant or
6430
+ # are specified elsewhere. An API may choose to allow leap seconds. Related
6431
+ # types are google.type.Date and google.protobuf.Timestamp.
6432
+ # Corresponds to the JSON property `timeOfDayUpperBound`
6433
+ # @return [Google::Apis::AndroidmanagementV1::TimeOfDay]
6434
+ attr_accessor :time_of_day_upper_bound
6435
+
6436
+ # Optional. A lower bound on the amount of time for which the update (that is,
6437
+ # the specific build or version) has been available to the device. This must be
6438
+ # a multiple of 24 hours.
6439
+ # Corresponds to the JSON property `updateAgeLowerBound`
6440
+ # @return [String]
6441
+ attr_accessor :update_age_lower_bound
6442
+
6443
+ # Optional. An upper bound on the amount of time for which the update has been
6444
+ # available. If not set or set to zero, always evaluates to true. This must be a
6445
+ # multiple of 24 hours.
6446
+ # Corresponds to the JSON property `updateAgeUpperBound`
6447
+ # @return [String]
6448
+ attr_accessor :update_age_upper_bound
6449
+
6450
+ def initialize(**args)
6451
+ update!(**args)
6452
+ end
6453
+
6454
+ # Update properties of this object
6455
+ def update!(**args)
6456
+ @date_lower_bound = args[:date_lower_bound] if args.key?(:date_lower_bound)
6457
+ @date_upper_bound = args[:date_upper_bound] if args.key?(:date_upper_bound)
6458
+ @days_of_week = args[:days_of_week] if args.key?(:days_of_week)
6459
+ @time_of_day_lower_bound = args[:time_of_day_lower_bound] if args.key?(:time_of_day_lower_bound)
6460
+ @time_of_day_upper_bound = args[:time_of_day_upper_bound] if args.key?(:time_of_day_upper_bound)
6461
+ @update_age_lower_bound = args[:update_age_lower_bound] if args.key?(:update_age_lower_bound)
6462
+ @update_age_upper_bound = args[:update_age_upper_bound] if args.key?(:update_age_upper_bound)
6463
+ end
6464
+ end
6465
+
6277
6466
  # Individual preferential network service configuration.
6278
6467
  class PreferentialNetworkServiceConfig
6279
6468
  include Google::Apis::Core::Hashable
@@ -6653,6 +6842,11 @@ module Google
6653
6842
  class Role
6654
6843
  include Google::Apis::Core::Hashable
6655
6844
 
6845
+ # Extra capabilities for a role.
6846
+ # Corresponds to the JSON property `extraCapabilities`
6847
+ # @return [Google::Apis::AndroidmanagementV1::ExtraCapabilities]
6848
+ attr_accessor :extra_capabilities
6849
+
6656
6850
  # Required. The type of the role an app can have.
6657
6851
  # Corresponds to the JSON property `roleType`
6658
6852
  # @return [String]
@@ -6664,10 +6858,67 @@ module Google
6664
6858
 
6665
6859
  # Update properties of this object
6666
6860
  def update!(**args)
6861
+ @extra_capabilities = args[:extra_capabilities] if args.key?(:extra_capabilities)
6667
6862
  @role_type = args[:role_type] if args.key?(:role_type)
6668
6863
  end
6669
6864
  end
6670
6865
 
6866
+ # A rule as a part of the Unified Update Control policy. See rules for how this
6867
+ # is used.
6868
+ class Rule
6869
+ include Google::Apis::Core::Hashable
6870
+
6871
+ # Required. An EMM-defined identifier for this rule, of length at most 64
6872
+ # characters. This must not be empty. Within a UnifiedUpdatePolicy, different
6873
+ # rules must have different ids.
6874
+ # Corresponds to the JSON property `id`
6875
+ # @return [String]
6876
+ attr_accessor :id
6877
+
6878
+ # Determines how to proceed with the update.
6879
+ # Corresponds to the JSON property `outcome`
6880
+ # @return [Google::Apis::AndroidmanagementV1::Outcome]
6881
+ attr_accessor :outcome
6882
+
6883
+ # A predicate is something that can be evaluated on a device at any point of
6884
+ # time, to return true or false. This is the conjunction (logical AND) of all
6885
+ # the individual conditions defined here. An empty Predicate always evaluates to
6886
+ # true.
6887
+ # Corresponds to the JSON property `predicate`
6888
+ # @return [Google::Apis::AndroidmanagementV1::Predicate]
6889
+ attr_accessor :predicate
6890
+
6891
+ # Optional. The stages at which the rule is evaluated. If this list is empty,
6892
+ # the rule is evaluated at all stages. Specifying stages is supported only for
6893
+ # OS_UPDATE_WITHOUT_API_LEVEL_CHANGE and OS_UPDATE_WITH_API_LEVEL_CHANGE. For
6894
+ # SINGLE_APP, GOOGLE_SYSTEM_SERVICES, and GOOGLE_PLAY_SYSTEM_UPDATE, this field
6895
+ # is ignored and the rule is evaluated at all stages.
6896
+ # Corresponds to the JSON property `stages`
6897
+ # @return [Array<String>]
6898
+ attr_accessor :stages
6899
+
6900
+ # Required. Targets that this rule applies to. This can have multiple targets
6901
+ # here for convenience, and that is equivalent to having multiple rules in
6902
+ # sequence each having one target, in the same order in which targets are listed
6903
+ # here. This list must not be empty and must not have duplicates.
6904
+ # Corresponds to the JSON property `targets`
6905
+ # @return [Array<Google::Apis::AndroidmanagementV1::Target>]
6906
+ attr_accessor :targets
6907
+
6908
+ def initialize(**args)
6909
+ update!(**args)
6910
+ end
6911
+
6912
+ # Update properties of this object
6913
+ def update!(**args)
6914
+ @id = args[:id] if args.key?(:id)
6915
+ @outcome = args[:outcome] if args.key?(:outcome)
6916
+ @predicate = args[:predicate] if args.key?(:predicate)
6917
+ @stages = args[:stages] if args.key?(:stages)
6918
+ @targets = args[:targets] if args.key?(:targets)
6919
+ end
6920
+ end
6921
+
6671
6922
  # Controls for the screen brightness settings.
6672
6923
  class ScreenBrightnessSettings
6673
6924
  include Google::Apis::Core::Hashable
@@ -6943,6 +7194,26 @@ module Google
6943
7194
  end
6944
7195
  end
6945
7196
 
7197
+ # Details of an app on Google System services.
7198
+ class SingleApp
7199
+ include Google::Apis::Core::Hashable
7200
+
7201
+ # Required. The package name of the app. This can only be an app which is a part
7202
+ # of GOOGLE_SYSTEM_SERVICES.
7203
+ # Corresponds to the JSON property `packageName`
7204
+ # @return [String]
7205
+ attr_accessor :package_name
7206
+
7207
+ def initialize(**args)
7208
+ update!(**args)
7209
+ end
7210
+
7211
+ # Update properties of this object
7212
+ def update!(**args)
7213
+ @package_name = args[:package_name] if args.key?(:package_name)
7214
+ end
7215
+ end
7216
+
6946
7217
  # Information about device software.
6947
7218
  class SoftwareInfo
6948
7219
  include Google::Apis::Core::Hashable
@@ -7394,6 +7665,31 @@ module Google
7394
7665
  end
7395
7666
  end
7396
7667
 
7668
+ # A software component that can be updated.
7669
+ class Target
7670
+ include Google::Apis::Core::Hashable
7671
+
7672
+ # Details of an app on Google System services.
7673
+ # Corresponds to the JSON property `singleApp`
7674
+ # @return [Google::Apis::AndroidmanagementV1::SingleApp]
7675
+ attr_accessor :single_app
7676
+
7677
+ # Required. The type of software component that can be updated.
7678
+ # Corresponds to the JSON property `targetType`
7679
+ # @return [String]
7680
+ attr_accessor :target_type
7681
+
7682
+ def initialize(**args)
7683
+ update!(**args)
7684
+ end
7685
+
7686
+ # Update properties of this object
7687
+ def update!(**args)
7688
+ @single_app = args[:single_app] if args.key?(:single_app)
7689
+ @target_type = args[:target_type] if args.key?(:target_type)
7690
+ end
7691
+ end
7692
+
7397
7693
  # Telephony information associated with a given SIM card on the device. This is
7398
7694
  # supported for all SIM cards on fully managed devices on Android 6 and above.
7399
7695
  # In addition, this is supported for admin-added eSIMs on all devices for
@@ -7473,6 +7769,80 @@ module Google
7473
7769
  end
7474
7770
  end
7475
7771
 
7772
+ # Represents a time of day. The date and time zone are either not significant or
7773
+ # are specified elsewhere. An API may choose to allow leap seconds. Related
7774
+ # types are google.type.Date and google.protobuf.Timestamp.
7775
+ class TimeOfDay
7776
+ include Google::Apis::Core::Hashable
7777
+
7778
+ # Hours of a day in 24 hour format. Must be greater than or equal to 0 and
7779
+ # typically must be less than or equal to 23. An API may choose to allow the
7780
+ # value "24:00:00" for scenarios like business closing time.
7781
+ # Corresponds to the JSON property `hours`
7782
+ # @return [Fixnum]
7783
+ attr_accessor :hours
7784
+
7785
+ # Minutes of an hour. Must be greater than or equal to 0 and less than or equal
7786
+ # to 59.
7787
+ # Corresponds to the JSON property `minutes`
7788
+ # @return [Fixnum]
7789
+ attr_accessor :minutes
7790
+
7791
+ # Fractions of seconds, in nanoseconds. Must be greater than or equal to 0 and
7792
+ # less than or equal to 999,999,999.
7793
+ # Corresponds to the JSON property `nanos`
7794
+ # @return [Fixnum]
7795
+ attr_accessor :nanos
7796
+
7797
+ # Seconds of a minute. Must be greater than or equal to 0 and typically must be
7798
+ # less than or equal to 59. An API may allow the value 60 if it allows leap-
7799
+ # seconds.
7800
+ # Corresponds to the JSON property `seconds`
7801
+ # @return [Fixnum]
7802
+ attr_accessor :seconds
7803
+
7804
+ def initialize(**args)
7805
+ update!(**args)
7806
+ end
7807
+
7808
+ # Update properties of this object
7809
+ def update!(**args)
7810
+ @hours = args[:hours] if args.key?(:hours)
7811
+ @minutes = args[:minutes] if args.key?(:minutes)
7812
+ @nanos = args[:nanos] if args.key?(:nanos)
7813
+ @seconds = args[:seconds] if args.key?(:seconds)
7814
+ end
7815
+ end
7816
+
7817
+ # The Unified Update Control policy, for controlling updates of software
7818
+ # components on the device (see Target). Supported only on company-owned devices.
7819
+ class UnifiedUpdatePolicy
7820
+ include Google::Apis::Core::Hashable
7821
+
7822
+ # Optional. When the policy is evaluated for a given target, all rules which
7823
+ # refer to that target are evaluated in sequence. The first rule for which the
7824
+ # predicate evaluates to true is considered, and its outcome is used. If no rule
7825
+ # matches, the default update behavior applies. In other words, this behaves
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.
7832
+ # Corresponds to the JSON property `rules`
7833
+ # @return [Array<Google::Apis::AndroidmanagementV1::Rule>]
7834
+ attr_accessor :rules
7835
+
7836
+ def initialize(**args)
7837
+ update!(**args)
7838
+ end
7839
+
7840
+ # Update properties of this object
7841
+ def update!(**args)
7842
+ @rules = args[:rules] if args.key?(:rules)
7843
+ end
7844
+ end
7845
+
7476
7846
  # Controls types of device activity logs collected from the device and reported
7477
7847
  # via Pub/Sub notification (https://developers.google.com/android/management/
7478
7848
  # notifications).
@@ -8005,7 +8375,8 @@ module Google
8005
8375
 
8006
8376
  # Restrictions on which Wi-Fi SSIDs the device can connect to. Note that this
8007
8377
  # does not affect which networks can be configured on the device. Supported on
8008
- # 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.
8009
8380
  class WifiSsidPolicy
8010
8381
  include Google::Apis::Core::Hashable
8011
8382
 
@@ -8015,11 +8386,7 @@ module Google
8015
8386
  attr_accessor :wifi_ssid_policy_type
8016
8387
 
8017
8388
  # Optional. List of Wi-Fi SSIDs that should be applied in the policy. This field
8018
- # must be non-empty when WifiSsidPolicyType is set to WIFI_SSID_ALLOWLIST. If
8019
- # this is set to a non-empty list, then a NonComplianceDetail detail with
8020
- # API_LEVEL is reported if the Android version is less than 13 and a
8021
- # NonComplianceDetail with MANAGEMENT_MODE is reported for non-company-owned
8022
- # devices.
8389
+ # must be non-empty when wifiSsidPolicyType is set to WIFI_SSID_ALLOWLIST.
8023
8390
  # Corresponds to the JSON property `wifiSsids`
8024
8391
  # @return [Array<Google::Apis::AndroidmanagementV1::WifiSsid>]
8025
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.125.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 = "20261021"
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
 
@@ -412,6 +424,12 @@ module Google
412
424
  include Google::Apis::Core::JsonObjectSupport
413
425
  end
414
426
 
427
+ class ExtraCapabilities
428
+ class Representation < Google::Apis::Core::JsonRepresentation; end
429
+
430
+ include Google::Apis::Core::JsonObjectSupport
431
+ end
432
+
415
433
  class FilePulledEvent
416
434
  class Representation < Google::Apis::Core::JsonRepresentation; end
417
435
 
@@ -730,6 +748,12 @@ module Google
730
748
  include Google::Apis::Core::JsonObjectSupport
731
749
  end
732
750
 
751
+ class Outcome
752
+ class Representation < Google::Apis::Core::JsonRepresentation; end
753
+
754
+ include Google::Apis::Core::JsonObjectSupport
755
+ end
756
+
733
757
  class PackageNameList
734
758
  class Representation < Google::Apis::Core::JsonRepresentation; end
735
759
 
@@ -808,6 +832,12 @@ module Google
808
832
  include Google::Apis::Core::JsonObjectSupport
809
833
  end
810
834
 
835
+ class Predicate
836
+ class Representation < Google::Apis::Core::JsonRepresentation; end
837
+
838
+ include Google::Apis::Core::JsonObjectSupport
839
+ end
840
+
811
841
  class PreferentialNetworkServiceConfig
812
842
  class Representation < Google::Apis::Core::JsonRepresentation; end
813
843
 
@@ -880,6 +910,12 @@ module Google
880
910
  include Google::Apis::Core::JsonObjectSupport
881
911
  end
882
912
 
913
+ class Rule
914
+ class Representation < Google::Apis::Core::JsonRepresentation; end
915
+
916
+ include Google::Apis::Core::JsonObjectSupport
917
+ end
918
+
883
919
  class ScreenBrightnessSettings
884
920
  class Representation < Google::Apis::Core::JsonRepresentation; end
885
921
 
@@ -922,6 +958,12 @@ module Google
922
958
  include Google::Apis::Core::JsonObjectSupport
923
959
  end
924
960
 
961
+ class SingleApp
962
+ class Representation < Google::Apis::Core::JsonRepresentation; end
963
+
964
+ include Google::Apis::Core::JsonObjectSupport
965
+ end
966
+
925
967
  class SoftwareInfo
926
968
  class Representation < Google::Apis::Core::JsonRepresentation; end
927
969
 
@@ -988,6 +1030,12 @@ module Google
988
1030
  include Google::Apis::Core::JsonObjectSupport
989
1031
  end
990
1032
 
1033
+ class Target
1034
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1035
+
1036
+ include Google::Apis::Core::JsonObjectSupport
1037
+ end
1038
+
991
1039
  class TelephonyInfo
992
1040
  class Representation < Google::Apis::Core::JsonRepresentation; end
993
1041
 
@@ -1000,6 +1048,18 @@ module Google
1000
1048
  include Google::Apis::Core::JsonObjectSupport
1001
1049
  end
1002
1050
 
1051
+ class TimeOfDay
1052
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1053
+
1054
+ include Google::Apis::Core::JsonObjectSupport
1055
+ end
1056
+
1057
+ class UnifiedUpdatePolicy
1058
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1059
+
1060
+ include Google::Apis::Core::JsonObjectSupport
1061
+ end
1062
+
1003
1063
  class UsageLog
1004
1064
  class Representation < Google::Apis::Core::JsonRepresentation; end
1005
1065
 
@@ -1684,6 +1744,7 @@ module Google
1684
1744
  property :airplane_mode_state, as: 'airplaneModeState'
1685
1745
  property :cellular_two_g_state, as: 'cellularTwoGState'
1686
1746
  property :minimum_wifi_security_level, as: 'minimumWifiSecurityLevel'
1747
+ property :nfc, as: 'nfc'
1687
1748
  property :ultra_wideband_state, as: 'ultraWidebandState'
1688
1749
  property :user_initiated_add_esim_settings, as: 'userInitiatedAddEsimSettings'
1689
1750
  property :wifi_state, as: 'wifiState'
@@ -1703,6 +1764,21 @@ module Google
1703
1764
  end
1704
1765
  end
1705
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
+
1706
1782
  class DisplayProp
1707
1783
  # @private
1708
1784
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1864,6 +1940,13 @@ module Google
1864
1940
  end
1865
1941
  end
1866
1942
 
1943
+ class ExtraCapabilities
1944
+ # @private
1945
+ class Representation < Google::Apis::Core::JsonRepresentation
1946
+ property :local_device_wipe_command, as: 'localDeviceWipeCommand'
1947
+ end
1948
+ end
1949
+
1867
1950
  class FilePulledEvent
1868
1951
  # @private
1869
1952
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2344,6 +2427,13 @@ module Google
2344
2427
  end
2345
2428
  end
2346
2429
 
2430
+ class Outcome
2431
+ # @private
2432
+ class Representation < Google::Apis::Core::JsonRepresentation
2433
+ property :outcome_type, as: 'outcomeType'
2434
+ end
2435
+ end
2436
+
2347
2437
  class PackageNameList
2348
2438
  # @private
2349
2439
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2483,6 +2573,8 @@ module Google
2483
2573
 
2484
2574
  property :device_radio_state, as: 'deviceRadioState', class: Google::Apis::AndroidmanagementV1::DeviceRadioState, decorator: Google::Apis::AndroidmanagementV1::DeviceRadioState::Representation
2485
2575
 
2576
+ property :device_wide_policies, as: 'deviceWidePolicies', class: Google::Apis::AndroidmanagementV1::DeviceWidePolicies, decorator: Google::Apis::AndroidmanagementV1::DeviceWidePolicies::Representation
2577
+
2486
2578
  property :display_settings, as: 'displaySettings', class: Google::Apis::AndroidmanagementV1::DisplaySettings, decorator: Google::Apis::AndroidmanagementV1::DisplaySettings::Representation
2487
2579
 
2488
2580
  property :encryption_policy, as: 'encryptionPolicy'
@@ -2556,6 +2648,8 @@ module Google
2556
2648
  property :system_update, as: 'systemUpdate', class: Google::Apis::AndroidmanagementV1::SystemUpdate, decorator: Google::Apis::AndroidmanagementV1::SystemUpdate::Representation
2557
2649
 
2558
2650
  property :tethering_config_disabled, as: 'tetheringConfigDisabled'
2651
+ property :unified_update_policy, as: 'unifiedUpdatePolicy', class: Google::Apis::AndroidmanagementV1::UnifiedUpdatePolicy, decorator: Google::Apis::AndroidmanagementV1::UnifiedUpdatePolicy::Representation
2652
+
2559
2653
  property :uninstall_apps_disabled, as: 'uninstallAppsDisabled'
2560
2654
  property :unmute_microphone_disabled, as: 'unmuteMicrophoneDisabled'
2561
2655
  property :usage_log, as: 'usageLog', class: Google::Apis::AndroidmanagementV1::UsageLog, decorator: Google::Apis::AndroidmanagementV1::UsageLog::Representation
@@ -2601,6 +2695,23 @@ module Google
2601
2695
  end
2602
2696
  end
2603
2697
 
2698
+ class Predicate
2699
+ # @private
2700
+ class Representation < Google::Apis::Core::JsonRepresentation
2701
+ property :date_lower_bound, as: 'dateLowerBound', class: Google::Apis::AndroidmanagementV1::Date, decorator: Google::Apis::AndroidmanagementV1::Date::Representation
2702
+
2703
+ property :date_upper_bound, as: 'dateUpperBound', class: Google::Apis::AndroidmanagementV1::Date, decorator: Google::Apis::AndroidmanagementV1::Date::Representation
2704
+
2705
+ collection :days_of_week, as: 'daysOfWeek'
2706
+ property :time_of_day_lower_bound, as: 'timeOfDayLowerBound', class: Google::Apis::AndroidmanagementV1::TimeOfDay, decorator: Google::Apis::AndroidmanagementV1::TimeOfDay::Representation
2707
+
2708
+ property :time_of_day_upper_bound, as: 'timeOfDayUpperBound', class: Google::Apis::AndroidmanagementV1::TimeOfDay, decorator: Google::Apis::AndroidmanagementV1::TimeOfDay::Representation
2709
+
2710
+ property :update_age_lower_bound, as: 'updateAgeLowerBound'
2711
+ property :update_age_upper_bound, as: 'updateAgeUpperBound'
2712
+ end
2713
+ end
2714
+
2604
2715
  class PreferentialNetworkServiceConfig
2605
2716
  # @private
2606
2717
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2704,10 +2815,26 @@ module Google
2704
2815
  class Role
2705
2816
  # @private
2706
2817
  class Representation < Google::Apis::Core::JsonRepresentation
2818
+ property :extra_capabilities, as: 'extraCapabilities', class: Google::Apis::AndroidmanagementV1::ExtraCapabilities, decorator: Google::Apis::AndroidmanagementV1::ExtraCapabilities::Representation
2819
+
2707
2820
  property :role_type, as: 'roleType'
2708
2821
  end
2709
2822
  end
2710
2823
 
2824
+ class Rule
2825
+ # @private
2826
+ class Representation < Google::Apis::Core::JsonRepresentation
2827
+ property :id, as: 'id'
2828
+ property :outcome, as: 'outcome', class: Google::Apis::AndroidmanagementV1::Outcome, decorator: Google::Apis::AndroidmanagementV1::Outcome::Representation
2829
+
2830
+ property :predicate, as: 'predicate', class: Google::Apis::AndroidmanagementV1::Predicate, decorator: Google::Apis::AndroidmanagementV1::Predicate::Representation
2831
+
2832
+ collection :stages, as: 'stages'
2833
+ collection :targets, as: 'targets', class: Google::Apis::AndroidmanagementV1::Target, decorator: Google::Apis::AndroidmanagementV1::Target::Representation
2834
+
2835
+ end
2836
+ end
2837
+
2711
2838
  class ScreenBrightnessSettings
2712
2839
  # @private
2713
2840
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2774,6 +2901,13 @@ module Google
2774
2901
  end
2775
2902
  end
2776
2903
 
2904
+ class SingleApp
2905
+ # @private
2906
+ class Representation < Google::Apis::Core::JsonRepresentation
2907
+ property :package_name, as: 'packageName'
2908
+ end
2909
+ end
2910
+
2777
2911
  class SoftwareInfo
2778
2912
  # @private
2779
2913
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2893,6 +3027,15 @@ module Google
2893
3027
  end
2894
3028
  end
2895
3029
 
3030
+ class Target
3031
+ # @private
3032
+ class Representation < Google::Apis::Core::JsonRepresentation
3033
+ property :single_app, as: 'singleApp', class: Google::Apis::AndroidmanagementV1::SingleApp, decorator: Google::Apis::AndroidmanagementV1::SingleApp::Representation
3034
+
3035
+ property :target_type, as: 'targetType'
3036
+ end
3037
+ end
3038
+
2896
3039
  class TelephonyInfo
2897
3040
  # @private
2898
3041
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2914,6 +3057,24 @@ module Google
2914
3057
  end
2915
3058
  end
2916
3059
 
3060
+ class TimeOfDay
3061
+ # @private
3062
+ class Representation < Google::Apis::Core::JsonRepresentation
3063
+ property :hours, as: 'hours'
3064
+ property :minutes, as: 'minutes'
3065
+ property :nanos, as: 'nanos'
3066
+ property :seconds, as: 'seconds'
3067
+ end
3068
+ end
3069
+
3070
+ class UnifiedUpdatePolicy
3071
+ # @private
3072
+ class Representation < Google::Apis::Core::JsonRepresentation
3073
+ collection :rules, as: 'rules', class: Google::Apis::AndroidmanagementV1::Rule, decorator: Google::Apis::AndroidmanagementV1::Rule::Representation
3074
+
3075
+ end
3076
+ end
3077
+
2917
3078
  class UsageLog
2918
3079
  # @private
2919
3080
  class Representation < Google::Apis::Core::JsonRepresentation
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.125.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.125.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: