google-apis-androidmanagement_v1 0.53.0 → 0.55.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: 9f9e338bdb2ff2f4d0a279c73746551dfead74a19ac197184d96f335d2938e44
4
- data.tar.gz: 6eb4dc866cb18e2665a44e653010a007d7cc1824b88d2030df8d13520ae6a94c
3
+ metadata.gz: f6876e64ea25843568ad106a8991f3abbe5bbe72e53d10c15ac8600c558b8ff9
4
+ data.tar.gz: 2c9ce93caf53d4f4e87d0dae4721f24f7aa198e09c5b1c2f5e5dfa4b8434dd04
5
5
  SHA512:
6
- metadata.gz: 01267263f7c4a587d94d6e718dccafbd9ce96949e5c0de8985b90aa2630a50d2a556388c62222f93c7dbbd9ea13aa8b700e04e9ae478ef124c739eff6c1d7d36
7
- data.tar.gz: 3beb43e6e870dba42f6a5b890332bfa095fce9b92a994826bc1216fe1059058c5bae1e36934f3862dc62ef05f898874175683d63565e2d02e52227e264c1f1bd
6
+ metadata.gz: 87727c63aab08d682d648cb64d09e71407de8f4420f174f818de914714815f7579fedf936fa9b6da2273cf0ead9ad4275edea80bda9bc875a6d94086a40f2bb2
7
+ data.tar.gz: ea4eff8edc7da2b449b765429ba8562133d9d12d069f49b17df496209e026823c4ef349c2031638c228b9963edeae8168fa4ac25770e8c39384e0d328796ccb7
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-androidmanagement_v1
2
2
 
3
+ ### v0.55.0 (2023-07-09)
4
+
5
+ * Regenerated from discovery document revision 20230628
6
+
7
+ ### v0.54.0 (2023-06-11)
8
+
9
+ * Regenerated from discovery document revision 20230529
10
+
3
11
  ### v0.53.0 (2023-05-28)
4
12
 
5
13
  * Regenerated from discovery document revision 20230516
@@ -726,6 +726,11 @@ module Google
726
726
  # @return [String]
727
727
  attr_accessor :state
728
728
 
729
+ # Whether the app is user facing.
730
+ # Corresponds to the JSON property `userFacingType`
731
+ # @return [String]
732
+ attr_accessor :user_facing_type
733
+
729
734
  # The app version code, which can be used to determine whether one version is
730
735
  # more recent than another.
731
736
  # Corresponds to the JSON property `versionCode`
@@ -752,6 +757,7 @@ module Google
752
757
  @package_sha256_hash = args[:package_sha256_hash] if args.key?(:package_sha256_hash)
753
758
  @signing_key_cert_fingerprints = args[:signing_key_cert_fingerprints] if args.key?(:signing_key_cert_fingerprints)
754
759
  @state = args[:state] if args.key?(:state)
760
+ @user_facing_type = args[:user_facing_type] if args.key?(:user_facing_type)
755
761
  @version_code = args[:version_code] if args.key?(:version_code)
756
762
  @version_name = args[:version_name] if args.key?(:version_name)
757
763
  end
@@ -1683,19 +1689,59 @@ module Google
1683
1689
  class DeviceConnectivityManagement
1684
1690
  include Google::Apis::Core::Hashable
1685
1691
 
1692
+ # Controls Wi-Fi configuring privileges. Based on the option set, user will have
1693
+ # either full or limited or no control in configuring Wi-Fi networks.
1694
+ # Corresponds to the JSON property `configureWifi`
1695
+ # @return [String]
1696
+ attr_accessor :configure_wifi
1697
+
1698
+ # Controls tethering settings. Based on the value set, the user is partially or
1699
+ # fully disallowed from using different forms of tethering.
1700
+ # Corresponds to the JSON property `tetheringSettings`
1701
+ # @return [String]
1702
+ attr_accessor :tethering_settings
1703
+
1686
1704
  # Controls what files and/or data can be transferred via USB. Supported only on
1687
1705
  # company-owned devices.
1688
1706
  # Corresponds to the JSON property `usbDataAccess`
1689
1707
  # @return [String]
1690
1708
  attr_accessor :usb_data_access
1691
1709
 
1710
+ # Controls configuring and using Wi-Fi direct settings. Supported on company-
1711
+ # owned devices running Android 13 and above.
1712
+ # Corresponds to the JSON property `wifiDirectSettings`
1713
+ # @return [String]
1714
+ attr_accessor :wifi_direct_settings
1715
+
1692
1716
  def initialize(**args)
1693
1717
  update!(**args)
1694
1718
  end
1695
1719
 
1696
1720
  # Update properties of this object
1697
1721
  def update!(**args)
1722
+ @configure_wifi = args[:configure_wifi] if args.key?(:configure_wifi)
1723
+ @tethering_settings = args[:tethering_settings] if args.key?(:tethering_settings)
1698
1724
  @usb_data_access = args[:usb_data_access] if args.key?(:usb_data_access)
1725
+ @wifi_direct_settings = args[:wifi_direct_settings] if args.key?(:wifi_direct_settings)
1726
+ end
1727
+ end
1728
+
1729
+ # Controls for device radio settings.
1730
+ class DeviceRadioState
1731
+ include Google::Apis::Core::Hashable
1732
+
1733
+ # Controls current state of Wi-Fi and if user can change its state.
1734
+ # Corresponds to the JSON property `wifiState`
1735
+ # @return [String]
1736
+ attr_accessor :wifi_state
1737
+
1738
+ def initialize(**args)
1739
+ update!(**args)
1740
+ end
1741
+
1742
+ # Update properties of this object
1743
+ def update!(**args)
1744
+ @wifi_state = args[:wifi_state] if args.key?(:wifi_state)
1699
1745
  end
1700
1746
  end
1701
1747
 
@@ -3922,6 +3968,11 @@ module Google
3922
3968
  # @return [Google::Apis::AndroidmanagementV1::UserFacingMessage]
3923
3969
  attr_accessor :device_owner_lock_screen_info
3924
3970
 
3971
+ # Controls for device radio settings.
3972
+ # Corresponds to the JSON property `deviceRadioState`
3973
+ # @return [Google::Apis::AndroidmanagementV1::DeviceRadioState]
3974
+ attr_accessor :device_radio_state
3975
+
3925
3976
  # Whether encryption is enabled
3926
3977
  # Corresponds to the JSON property `encryptionPolicy`
3927
3978
  # @return [String]
@@ -4054,7 +4105,10 @@ module Google
4054
4105
  # in the last policy and the device boots into an app in lock task mode, or the
4055
4106
  # user is otherwise unable to reach device settings.Note: Setting
4056
4107
  # wifiConfigDisabled to true will override this setting under specific
4057
- # circumstances. Please see wifiConfigDisabled for further details.
4108
+ # circumstances. Please see wifiConfigDisabled for further details. Setting
4109
+ # configureWifi to DISALLOW_CONFIGURING_WIFI will override this setting under
4110
+ # specific circumstances. Please see DISALLOW_CONFIGURING_WIFI for further
4111
+ # details.
4058
4112
  # Corresponds to the JSON property `networkEscapeHatchEnabled`
4059
4113
  # @return [Boolean]
4060
4114
  attr_accessor :network_escape_hatch_enabled
@@ -4251,7 +4305,9 @@ module Google
4251
4305
  # @return [Google::Apis::AndroidmanagementV1::SystemUpdate]
4252
4306
  attr_accessor :system_update
4253
4307
 
4254
- # Whether configuring tethering and portable hotspots is disabled.
4308
+ # Whether configuring tethering and portable hotspots is disabled. If
4309
+ # tetheringSettings is set to anything other than TETHERING_SETTINGS_UNSPECIFIED,
4310
+ # this setting is ignored.
4255
4311
  # Corresponds to the JSON property `tetheringConfigDisabled`
4256
4312
  # @return [Boolean]
4257
4313
  attr_accessor :tethering_config_disabled
@@ -4311,10 +4367,11 @@ module Google
4311
4367
  # setting this to true removes all configured networks and retains only the
4312
4368
  # networks configured using openNetworkConfiguration. For work profiles on
4313
4369
  # company-owned devices, existing configured networks are not affected and the
4314
- # user is not allowed to add, remove, or modify Wi-Fi networks. Note: If a
4315
- # network connection can't be made at boot time and configuring Wi-Fi is
4316
- # disabled then network escape hatch will be shown in order to refresh the
4317
- # device policy (see networkEscapeHatchEnabled).
4370
+ # user is not allowed to add, remove, or modify Wi-Fi networks. If configureWifi
4371
+ # is set to anything other than CONFIGURE_WIFI_UNSPECIFIED, this setting is
4372
+ # ignored. Note: If a network connection can't be made at boot time and
4373
+ # configuring Wi-Fi is disabled then network escape hatch will be shown in order
4374
+ # to refresh the device policy (see networkEscapeHatchEnabled).
4318
4375
  # Corresponds to the JSON property `wifiConfigDisabled`
4319
4376
  # @return [Boolean]
4320
4377
  attr_accessor :wifi_config_disabled
@@ -4359,6 +4416,7 @@ module Google
4359
4416
  @default_permission_policy = args[:default_permission_policy] if args.key?(:default_permission_policy)
4360
4417
  @device_connectivity_management = args[:device_connectivity_management] if args.key?(:device_connectivity_management)
4361
4418
  @device_owner_lock_screen_info = args[:device_owner_lock_screen_info] if args.key?(:device_owner_lock_screen_info)
4419
+ @device_radio_state = args[:device_radio_state] if args.key?(:device_radio_state)
4362
4420
  @encryption_policy = args[:encryption_policy] if args.key?(:encryption_policy)
4363
4421
  @ensure_verify_apps_enabled = args[:ensure_verify_apps_enabled] if args.key?(:ensure_verify_apps_enabled)
4364
4422
  @factory_reset_disabled = args[:factory_reset_disabled] if args.key?(:factory_reset_disabled)
@@ -4425,7 +4483,12 @@ module Google
4425
4483
  end
4426
4484
 
4427
4485
  # A rule that defines the actions to take if a device or work profile is not
4428
- # compliant with the policy specified in settingName.
4486
+ # compliant with the policy specified in settingName. In the case of multiple
4487
+ # matching or multiple triggered enforcement rules, a merge will occur with the
4488
+ # most severe action being taken. However, all triggered rules are still kept
4489
+ # track of: this includes initial trigger time and all associated non-compliance
4490
+ # details. In the situation where the most severe enforcement rule is satisfied,
4491
+ # the next most appropriate action is applied.
4429
4492
  class PolicyEnforcementRule
4430
4493
  include Google::Apis::Core::Hashable
4431
4494
 
@@ -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.53.0"
19
+ GEM_VERSION = "0.55.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.12.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20230516"
25
+ REVISION = "20230628"
26
26
  end
27
27
  end
28
28
  end
@@ -226,6 +226,12 @@ module Google
226
226
  include Google::Apis::Core::JsonObjectSupport
227
227
  end
228
228
 
229
+ class DeviceRadioState
230
+ class Representation < Google::Apis::Core::JsonRepresentation; end
231
+
232
+ include Google::Apis::Core::JsonObjectSupport
233
+ end
234
+
229
235
  class DeviceSettings
230
236
  class Representation < Google::Apis::Core::JsonRepresentation; end
231
237
 
@@ -890,6 +896,7 @@ module Google
890
896
  property :package_sha256_hash, as: 'packageSha256Hash'
891
897
  collection :signing_key_cert_fingerprints, as: 'signingKeyCertFingerprints'
892
898
  property :state, as: 'state'
899
+ property :user_facing_type, as: 'userFacingType'
893
900
  property :version_code, as: 'versionCode'
894
901
  property :version_name, as: 'versionName'
895
902
  end
@@ -1123,7 +1130,17 @@ module Google
1123
1130
  class DeviceConnectivityManagement
1124
1131
  # @private
1125
1132
  class Representation < Google::Apis::Core::JsonRepresentation
1133
+ property :configure_wifi, as: 'configureWifi'
1134
+ property :tethering_settings, as: 'tetheringSettings'
1126
1135
  property :usb_data_access, as: 'usbDataAccess'
1136
+ property :wifi_direct_settings, as: 'wifiDirectSettings'
1137
+ end
1138
+ end
1139
+
1140
+ class DeviceRadioState
1141
+ # @private
1142
+ class Representation < Google::Apis::Core::JsonRepresentation
1143
+ property :wifi_state, as: 'wifiState'
1127
1144
  end
1128
1145
  end
1129
1146
 
@@ -1702,6 +1719,8 @@ module Google
1702
1719
 
1703
1720
  property :device_owner_lock_screen_info, as: 'deviceOwnerLockScreenInfo', class: Google::Apis::AndroidmanagementV1::UserFacingMessage, decorator: Google::Apis::AndroidmanagementV1::UserFacingMessage::Representation
1704
1721
 
1722
+ property :device_radio_state, as: 'deviceRadioState', class: Google::Apis::AndroidmanagementV1::DeviceRadioState, decorator: Google::Apis::AndroidmanagementV1::DeviceRadioState::Representation
1723
+
1705
1724
  property :encryption_policy, as: 'encryptionPolicy'
1706
1725
  property :ensure_verify_apps_enabled, as: 'ensureVerifyAppsEnabled'
1707
1726
  property :factory_reset_disabled, as: 'factoryResetDisabled'
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.53.0
4
+ version: 0.55.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: 2023-05-28 00:00:00.000000000 Z
11
+ date: 2023-07-09 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.53.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-androidmanagement_v1/v0.55.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: []