google-apis-androidmanagement_v1 0.124.0 → 0.126.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:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 0f848253a5f54419d3351bcf8a8d65469a2b69cf496e6473982fd63052b4e3e3
|
|
4
|
+
data.tar.gz: 13cf19b2ea64087d770d31b68c02e17f0abde862e45f37d268cfa35e2d394b96
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: db22e0de6da3940f98d25d867594d08dcab1b95b8c7b284143e93fc1a8686431aa8ecb5770527c9754ae23919d41d6578ff0249f61061c8e3c488e7d2689abfe
|
|
7
|
+
data.tar.gz: 2f49a125b45f8ee6be2a43aefa05b7fcb1c2ec81ee609eb1d3b6fc1faa6f7ffefc68a1cb37528c17cff4ad530e91a94a0842b8785a39addcdcc927fd72813de3
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,14 @@
|
|
|
1
1
|
# Release history for google-apis-androidmanagement_v1
|
|
2
2
|
|
|
3
|
+
### v0.126.0 (2026-11-01)
|
|
4
|
+
|
|
5
|
+
* Regenerated from discovery document revision 20261028
|
|
6
|
+
|
|
7
|
+
### v0.125.0 (2026-10-21)
|
|
8
|
+
|
|
9
|
+
* Regenerated from discovery document revision 20261021
|
|
10
|
+
* Regenerated using generator version 0.19.1
|
|
11
|
+
|
|
3
12
|
### v0.124.0 (2026-10-04)
|
|
4
13
|
|
|
5
14
|
* Regenerated from discovery document revision 20261001
|
|
@@ -2459,8 +2459,8 @@ module Google
|
|
|
2459
2459
|
# @return [String]
|
|
2460
2460
|
attr_accessor :bluetooth_sharing
|
|
2461
2461
|
|
|
2462
|
-
# Controls Wi-Fi configuring privileges. Based on the option set, user
|
|
2463
|
-
# either full or limited or no control in configuring Wi-Fi networks.
|
|
2462
|
+
# Optional. Controls Wi-Fi configuring privileges. Based on the option set, user
|
|
2463
|
+
# will have either full or limited or no control in configuring Wi-Fi networks.
|
|
2464
2464
|
# Corresponds to the JSON property `configureWifi`
|
|
2465
2465
|
# @return [String]
|
|
2466
2466
|
attr_accessor :configure_wifi
|
|
@@ -2475,20 +2475,20 @@ module Google
|
|
|
2475
2475
|
# @return [Google::Apis::AndroidmanagementV1::PrivateDnsSettings]
|
|
2476
2476
|
attr_accessor :private_dns_settings
|
|
2477
2477
|
|
|
2478
|
-
# Controls tethering settings. Based on the value set, the user is
|
|
2479
|
-
# fully disallowed from using different forms of tethering.
|
|
2478
|
+
# Optional. Controls tethering settings. Based on the value set, the user is
|
|
2479
|
+
# partially or fully disallowed from using different forms of tethering.
|
|
2480
2480
|
# Corresponds to the JSON property `tetheringSettings`
|
|
2481
2481
|
# @return [String]
|
|
2482
2482
|
attr_accessor :tethering_settings
|
|
2483
2483
|
|
|
2484
|
-
# Controls what files and/or data can be transferred via USB.
|
|
2485
|
-
# company-owned devices.
|
|
2484
|
+
# Optional. Controls what files and/or data can be transferred via USB.
|
|
2485
|
+
# Supported only on company-owned devices.
|
|
2486
2486
|
# Corresponds to the JSON property `usbDataAccess`
|
|
2487
2487
|
# @return [String]
|
|
2488
2488
|
attr_accessor :usb_data_access
|
|
2489
2489
|
|
|
2490
|
-
# Controls configuring and using Wi-Fi direct settings. Supported on
|
|
2491
|
-
# owned devices running Android 13 and above.
|
|
2490
|
+
# Optional. Controls configuring and using Wi-Fi direct settings. Supported on
|
|
2491
|
+
# company-owned devices running Android 13 and above.
|
|
2492
2492
|
# Corresponds to the JSON property `wifiDirectSettings`
|
|
2493
2493
|
# @return [String]
|
|
2494
2494
|
attr_accessor :wifi_direct_settings
|
|
@@ -3260,6 +3260,27 @@ module Google
|
|
|
3260
3260
|
end
|
|
3261
3261
|
end
|
|
3262
3262
|
|
|
3263
|
+
# Extra capabilities for a role.
|
|
3264
|
+
class ExtraCapabilities
|
|
3265
|
+
include Google::Apis::Core::Hashable
|
|
3266
|
+
|
|
3267
|
+
# Optional. Controls whether the companion app can perform local device wipe (
|
|
3268
|
+
# https://developers.google.com/android/management/sdk-local-commands) using
|
|
3269
|
+
# AMAPI SDK (https://developers.google.com/android/management/sdk-integration).
|
|
3270
|
+
# Corresponds to the JSON property `localDeviceWipeCommand`
|
|
3271
|
+
# @return [String]
|
|
3272
|
+
attr_accessor :local_device_wipe_command
|
|
3273
|
+
|
|
3274
|
+
def initialize(**args)
|
|
3275
|
+
update!(**args)
|
|
3276
|
+
end
|
|
3277
|
+
|
|
3278
|
+
# Update properties of this object
|
|
3279
|
+
def update!(**args)
|
|
3280
|
+
@local_device_wipe_command = args[:local_device_wipe_command] if args.key?(:local_device_wipe_command)
|
|
3281
|
+
end
|
|
3282
|
+
end
|
|
3283
|
+
|
|
3263
3284
|
# A file was downloaded from the device.
|
|
3264
3285
|
class FilePulledEvent
|
|
3265
3286
|
include Google::Apis::Core::Hashable
|
|
@@ -3983,7 +4004,7 @@ module Google
|
|
|
3983
4004
|
|
|
3984
4005
|
# Settings controlling the behavior of a device in kiosk mode. To enable kiosk
|
|
3985
4006
|
# mode, set kioskCustomLauncherEnabled to true or specify an app in the policy
|
|
3986
|
-
# with
|
|
4007
|
+
# with the KIOSK role.
|
|
3987
4008
|
class KioskCustomization
|
|
3988
4009
|
include Google::Apis::Core::Hashable
|
|
3989
4010
|
|
|
@@ -5000,6 +5021,25 @@ module Google
|
|
|
5000
5021
|
end
|
|
5001
5022
|
end
|
|
5002
5023
|
|
|
5024
|
+
# Determines how to proceed with the update.
|
|
5025
|
+
class Outcome
|
|
5026
|
+
include Google::Apis::Core::Hashable
|
|
5027
|
+
|
|
5028
|
+
# Optional. Determines how to proceed with the update.
|
|
5029
|
+
# Corresponds to the JSON property `outcomeType`
|
|
5030
|
+
# @return [String]
|
|
5031
|
+
attr_accessor :outcome_type
|
|
5032
|
+
|
|
5033
|
+
def initialize(**args)
|
|
5034
|
+
update!(**args)
|
|
5035
|
+
end
|
|
5036
|
+
|
|
5037
|
+
# Update properties of this object
|
|
5038
|
+
def update!(**args)
|
|
5039
|
+
@outcome_type = args[:outcome_type] if args.key?(:outcome_type)
|
|
5040
|
+
end
|
|
5041
|
+
end
|
|
5042
|
+
|
|
5003
5043
|
# A list of package names.
|
|
5004
5044
|
class PackageNameList
|
|
5005
5045
|
include Google::Apis::Core::Hashable
|
|
@@ -5686,7 +5726,7 @@ module Google
|
|
|
5686
5726
|
|
|
5687
5727
|
# Settings controlling the behavior of a device in kiosk mode. To enable kiosk
|
|
5688
5728
|
# mode, set kioskCustomLauncherEnabled to true or specify an app in the policy
|
|
5689
|
-
# with
|
|
5729
|
+
# with the KIOSK role.
|
|
5690
5730
|
# Corresponds to the JSON property `kioskCustomization`
|
|
5691
5731
|
# @return [Google::Apis::AndroidmanagementV1::KioskCustomization]
|
|
5692
5732
|
attr_accessor :kiosk_customization
|
|
@@ -5714,7 +5754,9 @@ module Google
|
|
|
5714
5754
|
# @return [String]
|
|
5715
5755
|
attr_accessor :microphone_access
|
|
5716
5756
|
|
|
5717
|
-
# The minimum allowed Android API level.
|
|
5757
|
+
# The minimum allowed Android API level. A NonComplianceDetail with
|
|
5758
|
+
# OS_NOT_PERMITTED is reported if the Android API level of the device is lower
|
|
5759
|
+
# than this value.
|
|
5718
5760
|
# Corresponds to the JSON property `minimumApiLevel`
|
|
5719
5761
|
# @return [Fixnum]
|
|
5720
5762
|
attr_accessor :minimum_api_level
|
|
@@ -5978,6 +6020,12 @@ module Google
|
|
|
5978
6020
|
attr_accessor :tethering_config_disabled
|
|
5979
6021
|
alias_method :tethering_config_disabled?, :tethering_config_disabled
|
|
5980
6022
|
|
|
6023
|
+
# The Unified Update Control policy, for controlling updates of software
|
|
6024
|
+
# components on the device (see Target). Supported only on company-owned devices.
|
|
6025
|
+
# Corresponds to the JSON property `unifiedUpdatePolicy`
|
|
6026
|
+
# @return [Google::Apis::AndroidmanagementV1::UnifiedUpdatePolicy]
|
|
6027
|
+
attr_accessor :unified_update_policy
|
|
6028
|
+
|
|
5981
6029
|
# Whether user uninstallation of applications is disabled. This prevents apps
|
|
5982
6030
|
# from being uninstalled, even those removed using applications
|
|
5983
6031
|
# Corresponds to the JSON property `uninstallAppsDisabled`
|
|
@@ -6159,6 +6207,7 @@ module Google
|
|
|
6159
6207
|
@stay_on_plugged_modes = args[:stay_on_plugged_modes] if args.key?(:stay_on_plugged_modes)
|
|
6160
6208
|
@system_update = args[:system_update] if args.key?(:system_update)
|
|
6161
6209
|
@tethering_config_disabled = args[:tethering_config_disabled] if args.key?(:tethering_config_disabled)
|
|
6210
|
+
@unified_update_policy = args[:unified_update_policy] if args.key?(:unified_update_policy)
|
|
6162
6211
|
@uninstall_apps_disabled = args[:uninstall_apps_disabled] if args.key?(:uninstall_apps_disabled)
|
|
6163
6212
|
@unmute_microphone_disabled = args[:unmute_microphone_disabled] if args.key?(:unmute_microphone_disabled)
|
|
6164
6213
|
@usage_log = args[:usage_log] if args.key?(:usage_log)
|
|
@@ -6272,6 +6321,87 @@ module Google
|
|
|
6272
6321
|
end
|
|
6273
6322
|
end
|
|
6274
6323
|
|
|
6324
|
+
# A predicate is something that can be evaluated on a device at any point of
|
|
6325
|
+
# time, to return true or false. This is the conjunction (logical AND) of all
|
|
6326
|
+
# the individual conditions defined here. An empty Predicate always evaluates to
|
|
6327
|
+
# true.
|
|
6328
|
+
class Predicate
|
|
6329
|
+
include Google::Apis::Core::Hashable
|
|
6330
|
+
|
|
6331
|
+
# Represents a whole or partial calendar date, such as a birthday. The time of
|
|
6332
|
+
# day and time zone are either specified elsewhere or are insignificant. The
|
|
6333
|
+
# date is relative to the Gregorian Calendar. This can represent one of the
|
|
6334
|
+
# following: A full date, with non-zero year, month, and day values. A month and
|
|
6335
|
+
# day, with a zero year (for example, an anniversary). A year on its own, with a
|
|
6336
|
+
# zero month and a zero day. A year and month, with a zero day (for example, a
|
|
6337
|
+
# credit card expiration date).Related types: google.type.TimeOfDay google.type.
|
|
6338
|
+
# DateTime google.protobuf.Timestamp
|
|
6339
|
+
# Corresponds to the JSON property `dateLowerBound`
|
|
6340
|
+
# @return [Google::Apis::AndroidmanagementV1::Date]
|
|
6341
|
+
attr_accessor :date_lower_bound
|
|
6342
|
+
|
|
6343
|
+
# Represents a whole or partial calendar date, such as a birthday. The time of
|
|
6344
|
+
# day and time zone are either specified elsewhere or are insignificant. The
|
|
6345
|
+
# date is relative to the Gregorian Calendar. This can represent one of the
|
|
6346
|
+
# following: A full date, with non-zero year, month, and day values. A month and
|
|
6347
|
+
# day, with a zero year (for example, an anniversary). A year on its own, with a
|
|
6348
|
+
# zero month and a zero day. A year and month, with a zero day (for example, a
|
|
6349
|
+
# credit card expiration date).Related types: google.type.TimeOfDay google.type.
|
|
6350
|
+
# DateTime google.protobuf.Timestamp
|
|
6351
|
+
# Corresponds to the JSON property `dateUpperBound`
|
|
6352
|
+
# @return [Google::Apis::AndroidmanagementV1::Date]
|
|
6353
|
+
attr_accessor :date_upper_bound
|
|
6354
|
+
|
|
6355
|
+
# Optional. Evaluates to true if this list is empty or if the current day of the
|
|
6356
|
+
# week in the device's local time is in this list.
|
|
6357
|
+
# Corresponds to the JSON property `daysOfWeek`
|
|
6358
|
+
# @return [Array<String>]
|
|
6359
|
+
attr_accessor :days_of_week
|
|
6360
|
+
|
|
6361
|
+
# Represents a time of day. The date and time zone are either not significant or
|
|
6362
|
+
# are specified elsewhere. An API may choose to allow leap seconds. Related
|
|
6363
|
+
# types are google.type.Date and google.protobuf.Timestamp.
|
|
6364
|
+
# Corresponds to the JSON property `timeOfDayLowerBound`
|
|
6365
|
+
# @return [Google::Apis::AndroidmanagementV1::TimeOfDay]
|
|
6366
|
+
attr_accessor :time_of_day_lower_bound
|
|
6367
|
+
|
|
6368
|
+
# Represents a time of day. The date and time zone are either not significant or
|
|
6369
|
+
# are specified elsewhere. An API may choose to allow leap seconds. Related
|
|
6370
|
+
# types are google.type.Date and google.protobuf.Timestamp.
|
|
6371
|
+
# Corresponds to the JSON property `timeOfDayUpperBound`
|
|
6372
|
+
# @return [Google::Apis::AndroidmanagementV1::TimeOfDay]
|
|
6373
|
+
attr_accessor :time_of_day_upper_bound
|
|
6374
|
+
|
|
6375
|
+
# Optional. A lower bound on the amount of time for which the update (that is,
|
|
6376
|
+
# the specific build or version) has been available to the device. This must be
|
|
6377
|
+
# a multiple of 24 hours.
|
|
6378
|
+
# Corresponds to the JSON property `updateAgeLowerBound`
|
|
6379
|
+
# @return [String]
|
|
6380
|
+
attr_accessor :update_age_lower_bound
|
|
6381
|
+
|
|
6382
|
+
# Optional. An upper bound on the amount of time for which the update has been
|
|
6383
|
+
# available. If not set or set to zero, always evaluates to true. This must be a
|
|
6384
|
+
# multiple of 24 hours.
|
|
6385
|
+
# Corresponds to the JSON property `updateAgeUpperBound`
|
|
6386
|
+
# @return [String]
|
|
6387
|
+
attr_accessor :update_age_upper_bound
|
|
6388
|
+
|
|
6389
|
+
def initialize(**args)
|
|
6390
|
+
update!(**args)
|
|
6391
|
+
end
|
|
6392
|
+
|
|
6393
|
+
# Update properties of this object
|
|
6394
|
+
def update!(**args)
|
|
6395
|
+
@date_lower_bound = args[:date_lower_bound] if args.key?(:date_lower_bound)
|
|
6396
|
+
@date_upper_bound = args[:date_upper_bound] if args.key?(:date_upper_bound)
|
|
6397
|
+
@days_of_week = args[:days_of_week] if args.key?(:days_of_week)
|
|
6398
|
+
@time_of_day_lower_bound = args[:time_of_day_lower_bound] if args.key?(:time_of_day_lower_bound)
|
|
6399
|
+
@time_of_day_upper_bound = args[:time_of_day_upper_bound] if args.key?(:time_of_day_upper_bound)
|
|
6400
|
+
@update_age_lower_bound = args[:update_age_lower_bound] if args.key?(:update_age_lower_bound)
|
|
6401
|
+
@update_age_upper_bound = args[:update_age_upper_bound] if args.key?(:update_age_upper_bound)
|
|
6402
|
+
end
|
|
6403
|
+
end
|
|
6404
|
+
|
|
6275
6405
|
# Individual preferential network service configuration.
|
|
6276
6406
|
class PreferentialNetworkServiceConfig
|
|
6277
6407
|
include Google::Apis::Core::Hashable
|
|
@@ -6651,6 +6781,11 @@ module Google
|
|
|
6651
6781
|
class Role
|
|
6652
6782
|
include Google::Apis::Core::Hashable
|
|
6653
6783
|
|
|
6784
|
+
# Extra capabilities for a role.
|
|
6785
|
+
# Corresponds to the JSON property `extraCapabilities`
|
|
6786
|
+
# @return [Google::Apis::AndroidmanagementV1::ExtraCapabilities]
|
|
6787
|
+
attr_accessor :extra_capabilities
|
|
6788
|
+
|
|
6654
6789
|
# Required. The type of the role an app can have.
|
|
6655
6790
|
# Corresponds to the JSON property `roleType`
|
|
6656
6791
|
# @return [String]
|
|
@@ -6662,10 +6797,67 @@ module Google
|
|
|
6662
6797
|
|
|
6663
6798
|
# Update properties of this object
|
|
6664
6799
|
def update!(**args)
|
|
6800
|
+
@extra_capabilities = args[:extra_capabilities] if args.key?(:extra_capabilities)
|
|
6665
6801
|
@role_type = args[:role_type] if args.key?(:role_type)
|
|
6666
6802
|
end
|
|
6667
6803
|
end
|
|
6668
6804
|
|
|
6805
|
+
# A rule as a part of the Unified Update Control policy. See rules for how this
|
|
6806
|
+
# is used.
|
|
6807
|
+
class Rule
|
|
6808
|
+
include Google::Apis::Core::Hashable
|
|
6809
|
+
|
|
6810
|
+
# Required. An EMM-defined identifier for this rule, of length at most 64
|
|
6811
|
+
# characters. This must not be empty. Within a UnifiedUpdatePolicy, different
|
|
6812
|
+
# rules must have different ids.
|
|
6813
|
+
# Corresponds to the JSON property `id`
|
|
6814
|
+
# @return [String]
|
|
6815
|
+
attr_accessor :id
|
|
6816
|
+
|
|
6817
|
+
# Determines how to proceed with the update.
|
|
6818
|
+
# Corresponds to the JSON property `outcome`
|
|
6819
|
+
# @return [Google::Apis::AndroidmanagementV1::Outcome]
|
|
6820
|
+
attr_accessor :outcome
|
|
6821
|
+
|
|
6822
|
+
# A predicate is something that can be evaluated on a device at any point of
|
|
6823
|
+
# time, to return true or false. This is the conjunction (logical AND) of all
|
|
6824
|
+
# the individual conditions defined here. An empty Predicate always evaluates to
|
|
6825
|
+
# true.
|
|
6826
|
+
# Corresponds to the JSON property `predicate`
|
|
6827
|
+
# @return [Google::Apis::AndroidmanagementV1::Predicate]
|
|
6828
|
+
attr_accessor :predicate
|
|
6829
|
+
|
|
6830
|
+
# Optional. The stages at which the rule is evaluated. If this list is empty,
|
|
6831
|
+
# the rule is evaluated at all stages. Specifying stages is supported only for
|
|
6832
|
+
# OS_UPDATE_WITHOUT_API_LEVEL_CHANGE and OS_UPDATE_WITH_API_LEVEL_CHANGE. For
|
|
6833
|
+
# SINGLE_APP, GOOGLE_SYSTEM_SERVICES, and GOOGLE_PLAY_SYSTEM_UPDATE, this field
|
|
6834
|
+
# is ignored and the rule is evaluated at all stages.
|
|
6835
|
+
# Corresponds to the JSON property `stages`
|
|
6836
|
+
# @return [Array<String>]
|
|
6837
|
+
attr_accessor :stages
|
|
6838
|
+
|
|
6839
|
+
# Required. Targets that this rule applies to. This can have multiple targets
|
|
6840
|
+
# here for convenience, and that is equivalent to having multiple rules in
|
|
6841
|
+
# sequence each having one target, in the same order in which targets are listed
|
|
6842
|
+
# here. This list must not be empty and must not have duplicates.
|
|
6843
|
+
# Corresponds to the JSON property `targets`
|
|
6844
|
+
# @return [Array<Google::Apis::AndroidmanagementV1::Target>]
|
|
6845
|
+
attr_accessor :targets
|
|
6846
|
+
|
|
6847
|
+
def initialize(**args)
|
|
6848
|
+
update!(**args)
|
|
6849
|
+
end
|
|
6850
|
+
|
|
6851
|
+
# Update properties of this object
|
|
6852
|
+
def update!(**args)
|
|
6853
|
+
@id = args[:id] if args.key?(:id)
|
|
6854
|
+
@outcome = args[:outcome] if args.key?(:outcome)
|
|
6855
|
+
@predicate = args[:predicate] if args.key?(:predicate)
|
|
6856
|
+
@stages = args[:stages] if args.key?(:stages)
|
|
6857
|
+
@targets = args[:targets] if args.key?(:targets)
|
|
6858
|
+
end
|
|
6859
|
+
end
|
|
6860
|
+
|
|
6669
6861
|
# Controls for the screen brightness settings.
|
|
6670
6862
|
class ScreenBrightnessSettings
|
|
6671
6863
|
include Google::Apis::Core::Hashable
|
|
@@ -6941,6 +7133,26 @@ module Google
|
|
|
6941
7133
|
end
|
|
6942
7134
|
end
|
|
6943
7135
|
|
|
7136
|
+
# Details of an app on Google System services.
|
|
7137
|
+
class SingleApp
|
|
7138
|
+
include Google::Apis::Core::Hashable
|
|
7139
|
+
|
|
7140
|
+
# Required. The package name of the app. This can only be an app which is a part
|
|
7141
|
+
# of GOOGLE_SYSTEM_SERVICES.
|
|
7142
|
+
# Corresponds to the JSON property `packageName`
|
|
7143
|
+
# @return [String]
|
|
7144
|
+
attr_accessor :package_name
|
|
7145
|
+
|
|
7146
|
+
def initialize(**args)
|
|
7147
|
+
update!(**args)
|
|
7148
|
+
end
|
|
7149
|
+
|
|
7150
|
+
# Update properties of this object
|
|
7151
|
+
def update!(**args)
|
|
7152
|
+
@package_name = args[:package_name] if args.key?(:package_name)
|
|
7153
|
+
end
|
|
7154
|
+
end
|
|
7155
|
+
|
|
6944
7156
|
# Information about device software.
|
|
6945
7157
|
class SoftwareInfo
|
|
6946
7158
|
include Google::Apis::Core::Hashable
|
|
@@ -7392,6 +7604,31 @@ module Google
|
|
|
7392
7604
|
end
|
|
7393
7605
|
end
|
|
7394
7606
|
|
|
7607
|
+
# A software component that can be updated.
|
|
7608
|
+
class Target
|
|
7609
|
+
include Google::Apis::Core::Hashable
|
|
7610
|
+
|
|
7611
|
+
# Details of an app on Google System services.
|
|
7612
|
+
# Corresponds to the JSON property `singleApp`
|
|
7613
|
+
# @return [Google::Apis::AndroidmanagementV1::SingleApp]
|
|
7614
|
+
attr_accessor :single_app
|
|
7615
|
+
|
|
7616
|
+
# Required. The type of software component that can be updated.
|
|
7617
|
+
# Corresponds to the JSON property `targetType`
|
|
7618
|
+
# @return [String]
|
|
7619
|
+
attr_accessor :target_type
|
|
7620
|
+
|
|
7621
|
+
def initialize(**args)
|
|
7622
|
+
update!(**args)
|
|
7623
|
+
end
|
|
7624
|
+
|
|
7625
|
+
# Update properties of this object
|
|
7626
|
+
def update!(**args)
|
|
7627
|
+
@single_app = args[:single_app] if args.key?(:single_app)
|
|
7628
|
+
@target_type = args[:target_type] if args.key?(:target_type)
|
|
7629
|
+
end
|
|
7630
|
+
end
|
|
7631
|
+
|
|
7395
7632
|
# Telephony information associated with a given SIM card on the device. This is
|
|
7396
7633
|
# supported for all SIM cards on fully managed devices on Android 6 and above.
|
|
7397
7634
|
# In addition, this is supported for admin-added eSIMs on all devices for
|
|
@@ -7471,6 +7708,77 @@ module Google
|
|
|
7471
7708
|
end
|
|
7472
7709
|
end
|
|
7473
7710
|
|
|
7711
|
+
# Represents a time of day. The date and time zone are either not significant or
|
|
7712
|
+
# are specified elsewhere. An API may choose to allow leap seconds. Related
|
|
7713
|
+
# types are google.type.Date and google.protobuf.Timestamp.
|
|
7714
|
+
class TimeOfDay
|
|
7715
|
+
include Google::Apis::Core::Hashable
|
|
7716
|
+
|
|
7717
|
+
# Hours of a day in 24 hour format. Must be greater than or equal to 0 and
|
|
7718
|
+
# typically must be less than or equal to 23. An API may choose to allow the
|
|
7719
|
+
# value "24:00:00" for scenarios like business closing time.
|
|
7720
|
+
# Corresponds to the JSON property `hours`
|
|
7721
|
+
# @return [Fixnum]
|
|
7722
|
+
attr_accessor :hours
|
|
7723
|
+
|
|
7724
|
+
# Minutes of an hour. Must be greater than or equal to 0 and less than or equal
|
|
7725
|
+
# to 59.
|
|
7726
|
+
# Corresponds to the JSON property `minutes`
|
|
7727
|
+
# @return [Fixnum]
|
|
7728
|
+
attr_accessor :minutes
|
|
7729
|
+
|
|
7730
|
+
# Fractions of seconds, in nanoseconds. Must be greater than or equal to 0 and
|
|
7731
|
+
# less than or equal to 999,999,999.
|
|
7732
|
+
# Corresponds to the JSON property `nanos`
|
|
7733
|
+
# @return [Fixnum]
|
|
7734
|
+
attr_accessor :nanos
|
|
7735
|
+
|
|
7736
|
+
# Seconds of a minute. Must be greater than or equal to 0 and typically must be
|
|
7737
|
+
# less than or equal to 59. An API may allow the value 60 if it allows leap-
|
|
7738
|
+
# seconds.
|
|
7739
|
+
# Corresponds to the JSON property `seconds`
|
|
7740
|
+
# @return [Fixnum]
|
|
7741
|
+
attr_accessor :seconds
|
|
7742
|
+
|
|
7743
|
+
def initialize(**args)
|
|
7744
|
+
update!(**args)
|
|
7745
|
+
end
|
|
7746
|
+
|
|
7747
|
+
# Update properties of this object
|
|
7748
|
+
def update!(**args)
|
|
7749
|
+
@hours = args[:hours] if args.key?(:hours)
|
|
7750
|
+
@minutes = args[:minutes] if args.key?(:minutes)
|
|
7751
|
+
@nanos = args[:nanos] if args.key?(:nanos)
|
|
7752
|
+
@seconds = args[:seconds] if args.key?(:seconds)
|
|
7753
|
+
end
|
|
7754
|
+
end
|
|
7755
|
+
|
|
7756
|
+
# The Unified Update Control policy, for controlling updates of software
|
|
7757
|
+
# components on the device (see Target). Supported only on company-owned devices.
|
|
7758
|
+
class UnifiedUpdatePolicy
|
|
7759
|
+
include Google::Apis::Core::Hashable
|
|
7760
|
+
|
|
7761
|
+
# Optional. When the policy is evaluated for a given target, all rules which
|
|
7762
|
+
# refer to that target are evaluated in sequence. The first rule for which the
|
|
7763
|
+
# predicate evaluates to true is considered, and its outcome is used. If no rule
|
|
7764
|
+
# 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.
|
|
7768
|
+
# Corresponds to the JSON property `rules`
|
|
7769
|
+
# @return [Array<Google::Apis::AndroidmanagementV1::Rule>]
|
|
7770
|
+
attr_accessor :rules
|
|
7771
|
+
|
|
7772
|
+
def initialize(**args)
|
|
7773
|
+
update!(**args)
|
|
7774
|
+
end
|
|
7775
|
+
|
|
7776
|
+
# Update properties of this object
|
|
7777
|
+
def update!(**args)
|
|
7778
|
+
@rules = args[:rules] if args.key?(:rules)
|
|
7779
|
+
end
|
|
7780
|
+
end
|
|
7781
|
+
|
|
7474
7782
|
# Controls types of device activity logs collected from the device and reported
|
|
7475
7783
|
# via Pub/Sub notification (https://developers.google.com/android/management/
|
|
7476
7784
|
# notifications).
|
|
@@ -8007,7 +8315,7 @@ module Google
|
|
|
8007
8315
|
class WifiSsidPolicy
|
|
8008
8316
|
include Google::Apis::Core::Hashable
|
|
8009
8317
|
|
|
8010
|
-
# Type of the Wi-Fi SSID policy to be applied.
|
|
8318
|
+
# Optional. Type of the Wi-Fi SSID policy to be applied.
|
|
8011
8319
|
# Corresponds to the JSON property `wifiSsidPolicyType`
|
|
8012
8320
|
# @return [String]
|
|
8013
8321
|
attr_accessor :wifi_ssid_policy_type
|
|
@@ -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.126.0"
|
|
20
20
|
|
|
21
21
|
# Version of the code generator used to generate this client
|
|
22
|
-
GENERATOR_VERSION = "0.19.
|
|
22
|
+
GENERATOR_VERSION = "0.19.1"
|
|
23
23
|
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
|
25
|
-
REVISION = "
|
|
25
|
+
REVISION = "20261028"
|
|
26
26
|
end
|
|
27
27
|
end
|
|
28
28
|
end
|
|
@@ -412,6 +412,12 @@ module Google
|
|
|
412
412
|
include Google::Apis::Core::JsonObjectSupport
|
|
413
413
|
end
|
|
414
414
|
|
|
415
|
+
class ExtraCapabilities
|
|
416
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
417
|
+
|
|
418
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
419
|
+
end
|
|
420
|
+
|
|
415
421
|
class FilePulledEvent
|
|
416
422
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
417
423
|
|
|
@@ -730,6 +736,12 @@ module Google
|
|
|
730
736
|
include Google::Apis::Core::JsonObjectSupport
|
|
731
737
|
end
|
|
732
738
|
|
|
739
|
+
class Outcome
|
|
740
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
741
|
+
|
|
742
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
743
|
+
end
|
|
744
|
+
|
|
733
745
|
class PackageNameList
|
|
734
746
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
735
747
|
|
|
@@ -808,6 +820,12 @@ module Google
|
|
|
808
820
|
include Google::Apis::Core::JsonObjectSupport
|
|
809
821
|
end
|
|
810
822
|
|
|
823
|
+
class Predicate
|
|
824
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
825
|
+
|
|
826
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
827
|
+
end
|
|
828
|
+
|
|
811
829
|
class PreferentialNetworkServiceConfig
|
|
812
830
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
813
831
|
|
|
@@ -880,6 +898,12 @@ module Google
|
|
|
880
898
|
include Google::Apis::Core::JsonObjectSupport
|
|
881
899
|
end
|
|
882
900
|
|
|
901
|
+
class Rule
|
|
902
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
903
|
+
|
|
904
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
905
|
+
end
|
|
906
|
+
|
|
883
907
|
class ScreenBrightnessSettings
|
|
884
908
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
885
909
|
|
|
@@ -922,6 +946,12 @@ module Google
|
|
|
922
946
|
include Google::Apis::Core::JsonObjectSupport
|
|
923
947
|
end
|
|
924
948
|
|
|
949
|
+
class SingleApp
|
|
950
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
951
|
+
|
|
952
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
953
|
+
end
|
|
954
|
+
|
|
925
955
|
class SoftwareInfo
|
|
926
956
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
927
957
|
|
|
@@ -988,6 +1018,12 @@ module Google
|
|
|
988
1018
|
include Google::Apis::Core::JsonObjectSupport
|
|
989
1019
|
end
|
|
990
1020
|
|
|
1021
|
+
class Target
|
|
1022
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
1023
|
+
|
|
1024
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
1025
|
+
end
|
|
1026
|
+
|
|
991
1027
|
class TelephonyInfo
|
|
992
1028
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
993
1029
|
|
|
@@ -1000,6 +1036,18 @@ module Google
|
|
|
1000
1036
|
include Google::Apis::Core::JsonObjectSupport
|
|
1001
1037
|
end
|
|
1002
1038
|
|
|
1039
|
+
class TimeOfDay
|
|
1040
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
1041
|
+
|
|
1042
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
1043
|
+
end
|
|
1044
|
+
|
|
1045
|
+
class UnifiedUpdatePolicy
|
|
1046
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
1047
|
+
|
|
1048
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
1049
|
+
end
|
|
1050
|
+
|
|
1003
1051
|
class UsageLog
|
|
1004
1052
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
1005
1053
|
|
|
@@ -1864,6 +1912,13 @@ module Google
|
|
|
1864
1912
|
end
|
|
1865
1913
|
end
|
|
1866
1914
|
|
|
1915
|
+
class ExtraCapabilities
|
|
1916
|
+
# @private
|
|
1917
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1918
|
+
property :local_device_wipe_command, as: 'localDeviceWipeCommand'
|
|
1919
|
+
end
|
|
1920
|
+
end
|
|
1921
|
+
|
|
1867
1922
|
class FilePulledEvent
|
|
1868
1923
|
# @private
|
|
1869
1924
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -2344,6 +2399,13 @@ module Google
|
|
|
2344
2399
|
end
|
|
2345
2400
|
end
|
|
2346
2401
|
|
|
2402
|
+
class Outcome
|
|
2403
|
+
# @private
|
|
2404
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
2405
|
+
property :outcome_type, as: 'outcomeType'
|
|
2406
|
+
end
|
|
2407
|
+
end
|
|
2408
|
+
|
|
2347
2409
|
class PackageNameList
|
|
2348
2410
|
# @private
|
|
2349
2411
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -2556,6 +2618,8 @@ module Google
|
|
|
2556
2618
|
property :system_update, as: 'systemUpdate', class: Google::Apis::AndroidmanagementV1::SystemUpdate, decorator: Google::Apis::AndroidmanagementV1::SystemUpdate::Representation
|
|
2557
2619
|
|
|
2558
2620
|
property :tethering_config_disabled, as: 'tetheringConfigDisabled'
|
|
2621
|
+
property :unified_update_policy, as: 'unifiedUpdatePolicy', class: Google::Apis::AndroidmanagementV1::UnifiedUpdatePolicy, decorator: Google::Apis::AndroidmanagementV1::UnifiedUpdatePolicy::Representation
|
|
2622
|
+
|
|
2559
2623
|
property :uninstall_apps_disabled, as: 'uninstallAppsDisabled'
|
|
2560
2624
|
property :unmute_microphone_disabled, as: 'unmuteMicrophoneDisabled'
|
|
2561
2625
|
property :usage_log, as: 'usageLog', class: Google::Apis::AndroidmanagementV1::UsageLog, decorator: Google::Apis::AndroidmanagementV1::UsageLog::Representation
|
|
@@ -2601,6 +2665,23 @@ module Google
|
|
|
2601
2665
|
end
|
|
2602
2666
|
end
|
|
2603
2667
|
|
|
2668
|
+
class Predicate
|
|
2669
|
+
# @private
|
|
2670
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
2671
|
+
property :date_lower_bound, as: 'dateLowerBound', class: Google::Apis::AndroidmanagementV1::Date, decorator: Google::Apis::AndroidmanagementV1::Date::Representation
|
|
2672
|
+
|
|
2673
|
+
property :date_upper_bound, as: 'dateUpperBound', class: Google::Apis::AndroidmanagementV1::Date, decorator: Google::Apis::AndroidmanagementV1::Date::Representation
|
|
2674
|
+
|
|
2675
|
+
collection :days_of_week, as: 'daysOfWeek'
|
|
2676
|
+
property :time_of_day_lower_bound, as: 'timeOfDayLowerBound', class: Google::Apis::AndroidmanagementV1::TimeOfDay, decorator: Google::Apis::AndroidmanagementV1::TimeOfDay::Representation
|
|
2677
|
+
|
|
2678
|
+
property :time_of_day_upper_bound, as: 'timeOfDayUpperBound', class: Google::Apis::AndroidmanagementV1::TimeOfDay, decorator: Google::Apis::AndroidmanagementV1::TimeOfDay::Representation
|
|
2679
|
+
|
|
2680
|
+
property :update_age_lower_bound, as: 'updateAgeLowerBound'
|
|
2681
|
+
property :update_age_upper_bound, as: 'updateAgeUpperBound'
|
|
2682
|
+
end
|
|
2683
|
+
end
|
|
2684
|
+
|
|
2604
2685
|
class PreferentialNetworkServiceConfig
|
|
2605
2686
|
# @private
|
|
2606
2687
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -2704,10 +2785,26 @@ module Google
|
|
|
2704
2785
|
class Role
|
|
2705
2786
|
# @private
|
|
2706
2787
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
2788
|
+
property :extra_capabilities, as: 'extraCapabilities', class: Google::Apis::AndroidmanagementV1::ExtraCapabilities, decorator: Google::Apis::AndroidmanagementV1::ExtraCapabilities::Representation
|
|
2789
|
+
|
|
2707
2790
|
property :role_type, as: 'roleType'
|
|
2708
2791
|
end
|
|
2709
2792
|
end
|
|
2710
2793
|
|
|
2794
|
+
class Rule
|
|
2795
|
+
# @private
|
|
2796
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
2797
|
+
property :id, as: 'id'
|
|
2798
|
+
property :outcome, as: 'outcome', class: Google::Apis::AndroidmanagementV1::Outcome, decorator: Google::Apis::AndroidmanagementV1::Outcome::Representation
|
|
2799
|
+
|
|
2800
|
+
property :predicate, as: 'predicate', class: Google::Apis::AndroidmanagementV1::Predicate, decorator: Google::Apis::AndroidmanagementV1::Predicate::Representation
|
|
2801
|
+
|
|
2802
|
+
collection :stages, as: 'stages'
|
|
2803
|
+
collection :targets, as: 'targets', class: Google::Apis::AndroidmanagementV1::Target, decorator: Google::Apis::AndroidmanagementV1::Target::Representation
|
|
2804
|
+
|
|
2805
|
+
end
|
|
2806
|
+
end
|
|
2807
|
+
|
|
2711
2808
|
class ScreenBrightnessSettings
|
|
2712
2809
|
# @private
|
|
2713
2810
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -2774,6 +2871,13 @@ module Google
|
|
|
2774
2871
|
end
|
|
2775
2872
|
end
|
|
2776
2873
|
|
|
2874
|
+
class SingleApp
|
|
2875
|
+
# @private
|
|
2876
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
2877
|
+
property :package_name, as: 'packageName'
|
|
2878
|
+
end
|
|
2879
|
+
end
|
|
2880
|
+
|
|
2777
2881
|
class SoftwareInfo
|
|
2778
2882
|
# @private
|
|
2779
2883
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -2893,6 +2997,15 @@ module Google
|
|
|
2893
2997
|
end
|
|
2894
2998
|
end
|
|
2895
2999
|
|
|
3000
|
+
class Target
|
|
3001
|
+
# @private
|
|
3002
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
3003
|
+
property :single_app, as: 'singleApp', class: Google::Apis::AndroidmanagementV1::SingleApp, decorator: Google::Apis::AndroidmanagementV1::SingleApp::Representation
|
|
3004
|
+
|
|
3005
|
+
property :target_type, as: 'targetType'
|
|
3006
|
+
end
|
|
3007
|
+
end
|
|
3008
|
+
|
|
2896
3009
|
class TelephonyInfo
|
|
2897
3010
|
# @private
|
|
2898
3011
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -2914,6 +3027,24 @@ module Google
|
|
|
2914
3027
|
end
|
|
2915
3028
|
end
|
|
2916
3029
|
|
|
3030
|
+
class TimeOfDay
|
|
3031
|
+
# @private
|
|
3032
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
3033
|
+
property :hours, as: 'hours'
|
|
3034
|
+
property :minutes, as: 'minutes'
|
|
3035
|
+
property :nanos, as: 'nanos'
|
|
3036
|
+
property :seconds, as: 'seconds'
|
|
3037
|
+
end
|
|
3038
|
+
end
|
|
3039
|
+
|
|
3040
|
+
class UnifiedUpdatePolicy
|
|
3041
|
+
# @private
|
|
3042
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
3043
|
+
collection :rules, as: 'rules', class: Google::Apis::AndroidmanagementV1::Rule, decorator: Google::Apis::AndroidmanagementV1::Rule::Representation
|
|
3044
|
+
|
|
3045
|
+
end
|
|
3046
|
+
end
|
|
3047
|
+
|
|
2917
3048
|
class UsageLog
|
|
2918
3049
|
# @private
|
|
2919
3050
|
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.
|
|
4
|
+
version: 0.126.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.
|
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-androidmanagement_v1/v0.126.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:
|