google-apis-androidmanagement_v1 0.72.0 → 0.74.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +8 -0
- data/lib/google/apis/androidmanagement_v1/classes.rb +93 -9
- data/lib/google/apis/androidmanagement_v1/gem_version.rb +2 -2
- data/lib/google/apis/androidmanagement_v1/representations.rb +33 -0
- data/lib/google/apis/androidmanagement_v1/service.rb +5 -3
- metadata +3 -3
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 05f921442f8ceb705bfe1763de118bb11de418d2add522850d412008cfcf43fe
|
4
|
+
data.tar.gz: e44eaf79ca45448cc3d6642419dcf7d649408b945e6daace1ca00bf8961ecd60
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: b00a3fa3c149909d26960ef7e941a16bc42b854d083245073cb577039ddd5edbcb75d40082b66afd36aa0a4ddb289b9b125cff240d13419edd261f5a6b7b3061
|
7
|
+
data.tar.gz: 044c0dfaf705de8eb148d0631e72399c8d95db20db67c7d97c585033ddcda26bd4560dc1131573a4456d622dd7055062cd8983ae3ba86d54f093304af5a6fca4
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-androidmanagement_v1
|
2
2
|
|
3
|
+
### v0.74.0 (2024-05-05)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20240425
|
6
|
+
|
7
|
+
### v0.73.0 (2024-04-21)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20240416
|
10
|
+
|
3
11
|
### v0.72.0 (2024-03-03)
|
4
12
|
|
5
13
|
* Regenerated from discovery document revision 20240221
|
@@ -598,9 +598,8 @@ module Google
|
|
598
598
|
# placed into the restricted App Standby Bucket (https://developer.android.com/
|
599
599
|
# topic/performance/appstandby#restricted-bucket). Extensions apps are also
|
600
600
|
# protected against users clearing their data or force-closing the application,
|
601
|
-
# although admins can continue to use the clear app data command
|
602
|
-
#
|
603
|
-
# issueCommand#CommandType) on extension apps if needed for Android 13 and above.
|
601
|
+
# although admins can continue to use the clear app data command on extension
|
602
|
+
# apps if needed for Android 13 and above.
|
604
603
|
# Corresponds to the JSON property `extensionConfig`
|
605
604
|
# @return [Google::Apis::AndroidmanagementV1::ExtensionConfig]
|
606
605
|
attr_accessor :extension_config
|
@@ -1791,6 +1790,13 @@ module Google
|
|
1791
1790
|
# @return [String]
|
1792
1791
|
attr_accessor :wifi_direct_settings
|
1793
1792
|
|
1793
|
+
# Restrictions on which Wi-Fi SSIDs the device can connect to. Note that this
|
1794
|
+
# does not affect which networks can be configured on the device. Supported on
|
1795
|
+
# company-owned devices running Android 13 and above.
|
1796
|
+
# Corresponds to the JSON property `wifiSsidPolicy`
|
1797
|
+
# @return [Google::Apis::AndroidmanagementV1::WifiSsidPolicy]
|
1798
|
+
attr_accessor :wifi_ssid_policy
|
1799
|
+
|
1794
1800
|
def initialize(**args)
|
1795
1801
|
update!(**args)
|
1796
1802
|
end
|
@@ -1801,6 +1807,7 @@ module Google
|
|
1801
1807
|
@tethering_settings = args[:tethering_settings] if args.key?(:tethering_settings)
|
1802
1808
|
@usb_data_access = args[:usb_data_access] if args.key?(:usb_data_access)
|
1803
1809
|
@wifi_direct_settings = args[:wifi_direct_settings] if args.key?(:wifi_direct_settings)
|
1810
|
+
@wifi_ssid_policy = args[:wifi_ssid_policy] if args.key?(:wifi_ssid_policy)
|
1804
1811
|
end
|
1805
1812
|
end
|
1806
1813
|
|
@@ -2259,9 +2266,8 @@ module Google
|
|
2259
2266
|
# placed into the restricted App Standby Bucket (https://developer.android.com/
|
2260
2267
|
# topic/performance/appstandby#restricted-bucket). Extensions apps are also
|
2261
2268
|
# protected against users clearing their data or force-closing the application,
|
2262
|
-
# although admins can continue to use the clear app data command
|
2263
|
-
#
|
2264
|
-
# issueCommand#CommandType) on extension apps if needed for Android 13 and above.
|
2269
|
+
# although admins can continue to use the clear app data command on extension
|
2270
|
+
# apps if needed for Android 13 and above.
|
2265
2271
|
class ExtensionConfig
|
2266
2272
|
include Google::Apis::Core::Hashable
|
2267
2273
|
|
@@ -3446,7 +3452,8 @@ module Google
|
|
3446
3452
|
|
3447
3453
|
# A token to initiate the migration of a device from being managed by a third-
|
3448
3454
|
# party DPC to being managed by Android Management API. A migration token is
|
3449
|
-
# valid only for a single device.
|
3455
|
+
# valid only for a single device. See the guide (https://developers.google.com/
|
3456
|
+
# android/management/dpc-migration) for more details.
|
3450
3457
|
class MigrationToken
|
3451
3458
|
include Google::Apis::Core::Hashable
|
3452
3459
|
|
@@ -4693,7 +4700,11 @@ module Google
|
|
4693
4700
|
# @return [Array<String>]
|
4694
4701
|
attr_accessor :stay_on_plugged_modes
|
4695
4702
|
|
4696
|
-
# Configuration for managing system updates
|
4703
|
+
# Configuration for managing system updatesNote: Google Play system updates (
|
4704
|
+
# https://source.android.com/docs/core/ota/modular-system) (also called Mainline
|
4705
|
+
# updates) are automatically downloaded but require a device reboot to be
|
4706
|
+
# installed. Refer to the mainline section in Manage system updates (https://
|
4707
|
+
# developer.android.com/work/dpc/system-updates#mainline) for further details.
|
4697
4708
|
# Corresponds to the JSON property `systemUpdate`
|
4698
4709
|
# @return [Google::Apis::AndroidmanagementV1::SystemUpdate]
|
4699
4710
|
attr_accessor :system_update
|
@@ -4995,11 +5006,21 @@ module Google
|
|
4995
5006
|
# @return [String]
|
4996
5007
|
attr_accessor :enterprise
|
4997
5008
|
|
5009
|
+
# IMEI number of the GSM device. For example, A1000031212.
|
5010
|
+
# Corresponds to the JSON property `imei`
|
5011
|
+
# @return [String]
|
5012
|
+
attr_accessor :imei
|
5013
|
+
|
4998
5014
|
# The management mode of the device or profile.
|
4999
5015
|
# Corresponds to the JSON property `managementMode`
|
5000
5016
|
# @return [String]
|
5001
5017
|
attr_accessor :management_mode
|
5002
5018
|
|
5019
|
+
# MEID number of the CDMA device. For example, A00000292788E1.
|
5020
|
+
# Corresponds to the JSON property `meid`
|
5021
|
+
# @return [String]
|
5022
|
+
attr_accessor :meid
|
5023
|
+
|
5003
5024
|
# The model of the device. For example, Asus Nexus 7.
|
5004
5025
|
# Corresponds to the JSON property `model`
|
5005
5026
|
# @return [String]
|
@@ -5015,6 +5036,11 @@ module Google
|
|
5015
5036
|
# @return [String]
|
5016
5037
|
attr_accessor :ownership
|
5017
5038
|
|
5039
|
+
# The device serial number.
|
5040
|
+
# Corresponds to the JSON property `serialNumber`
|
5041
|
+
# @return [String]
|
5042
|
+
attr_accessor :serial_number
|
5043
|
+
|
5018
5044
|
def initialize(**args)
|
5019
5045
|
update!(**args)
|
5020
5046
|
end
|
@@ -5024,10 +5050,13 @@ module Google
|
|
5024
5050
|
@api_level = args[:api_level] if args.key?(:api_level)
|
5025
5051
|
@brand = args[:brand] if args.key?(:brand)
|
5026
5052
|
@enterprise = args[:enterprise] if args.key?(:enterprise)
|
5053
|
+
@imei = args[:imei] if args.key?(:imei)
|
5027
5054
|
@management_mode = args[:management_mode] if args.key?(:management_mode)
|
5055
|
+
@meid = args[:meid] if args.key?(:meid)
|
5028
5056
|
@model = args[:model] if args.key?(:model)
|
5029
5057
|
@name = args[:name] if args.key?(:name)
|
5030
5058
|
@ownership = args[:ownership] if args.key?(:ownership)
|
5059
|
+
@serial_number = args[:serial_number] if args.key?(:serial_number)
|
5031
5060
|
end
|
5032
5061
|
end
|
5033
5062
|
|
@@ -5618,7 +5647,11 @@ module Google
|
|
5618
5647
|
end
|
5619
5648
|
end
|
5620
5649
|
|
5621
|
-
# Configuration for managing system updates
|
5650
|
+
# Configuration for managing system updatesNote: Google Play system updates (
|
5651
|
+
# https://source.android.com/docs/core/ota/modular-system) (also called Mainline
|
5652
|
+
# updates) are automatically downloaded but require a device reboot to be
|
5653
|
+
# installed. Refer to the mainline section in Manage system updates (https://
|
5654
|
+
# developer.android.com/work/dpc/system-updates#mainline) for further details.
|
5622
5655
|
class SystemUpdate
|
5623
5656
|
include Google::Apis::Core::Hashable
|
5624
5657
|
|
@@ -6205,6 +6238,57 @@ module Google
|
|
6205
6238
|
end
|
6206
6239
|
end
|
6207
6240
|
|
6241
|
+
# Represents a Wi-Fi SSID.
|
6242
|
+
class WifiSsid
|
6243
|
+
include Google::Apis::Core::Hashable
|
6244
|
+
|
6245
|
+
# Required. Wi-Fi SSID represented as a string.
|
6246
|
+
# Corresponds to the JSON property `wifiSsid`
|
6247
|
+
# @return [String]
|
6248
|
+
attr_accessor :wifi_ssid
|
6249
|
+
|
6250
|
+
def initialize(**args)
|
6251
|
+
update!(**args)
|
6252
|
+
end
|
6253
|
+
|
6254
|
+
# Update properties of this object
|
6255
|
+
def update!(**args)
|
6256
|
+
@wifi_ssid = args[:wifi_ssid] if args.key?(:wifi_ssid)
|
6257
|
+
end
|
6258
|
+
end
|
6259
|
+
|
6260
|
+
# Restrictions on which Wi-Fi SSIDs the device can connect to. Note that this
|
6261
|
+
# does not affect which networks can be configured on the device. Supported on
|
6262
|
+
# company-owned devices running Android 13 and above.
|
6263
|
+
class WifiSsidPolicy
|
6264
|
+
include Google::Apis::Core::Hashable
|
6265
|
+
|
6266
|
+
# Type of the Wi-Fi SSID policy to be applied.
|
6267
|
+
# Corresponds to the JSON property `wifiSsidPolicyType`
|
6268
|
+
# @return [String]
|
6269
|
+
attr_accessor :wifi_ssid_policy_type
|
6270
|
+
|
6271
|
+
# Optional. List of Wi-Fi SSIDs that should be applied in the policy. This field
|
6272
|
+
# must be non-empty when WifiSsidPolicyType is set to WIFI_SSID_ALLOWLIST. If
|
6273
|
+
# this is set to a non-empty list, then a nonComplianceDetail detail with
|
6274
|
+
# API_LEVEL is reported if the Android version is less than 13 and a
|
6275
|
+
# nonComplianceDetail with MANAGEMENT_MODE is reported for non-company-owned
|
6276
|
+
# devices.
|
6277
|
+
# Corresponds to the JSON property `wifiSsids`
|
6278
|
+
# @return [Array<Google::Apis::AndroidmanagementV1::WifiSsid>]
|
6279
|
+
attr_accessor :wifi_ssids
|
6280
|
+
|
6281
|
+
def initialize(**args)
|
6282
|
+
update!(**args)
|
6283
|
+
end
|
6284
|
+
|
6285
|
+
# Update properties of this object
|
6286
|
+
def update!(**args)
|
6287
|
+
@wifi_ssid_policy_type = args[:wifi_ssid_policy_type] if args.key?(:wifi_ssid_policy_type)
|
6288
|
+
@wifi_ssids = args[:wifi_ssids] if args.key?(:wifi_ssids)
|
6289
|
+
end
|
6290
|
+
end
|
6291
|
+
|
6208
6292
|
# An action to reset a company owned device or delete a work profile. Note:
|
6209
6293
|
# blockAction must also be specified.
|
6210
6294
|
class WipeAction
|
@@ -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.74.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.14.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20240425"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -802,6 +802,18 @@ module Google
|
|
802
802
|
include Google::Apis::Core::JsonObjectSupport
|
803
803
|
end
|
804
804
|
|
805
|
+
class WifiSsid
|
806
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
807
|
+
|
808
|
+
include Google::Apis::Core::JsonObjectSupport
|
809
|
+
end
|
810
|
+
|
811
|
+
class WifiSsidPolicy
|
812
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
813
|
+
|
814
|
+
include Google::Apis::Core::JsonObjectSupport
|
815
|
+
end
|
816
|
+
|
805
817
|
class WipeAction
|
806
818
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
807
819
|
|
@@ -1235,6 +1247,8 @@ module Google
|
|
1235
1247
|
property :tethering_settings, as: 'tetheringSettings'
|
1236
1248
|
property :usb_data_access, as: 'usbDataAccess'
|
1237
1249
|
property :wifi_direct_settings, as: 'wifiDirectSettings'
|
1250
|
+
property :wifi_ssid_policy, as: 'wifiSsidPolicy', class: Google::Apis::AndroidmanagementV1::WifiSsidPolicy, decorator: Google::Apis::AndroidmanagementV1::WifiSsidPolicy::Representation
|
1251
|
+
|
1238
1252
|
end
|
1239
1253
|
end
|
1240
1254
|
|
@@ -2017,10 +2031,13 @@ module Google
|
|
2017
2031
|
property :api_level, as: 'apiLevel'
|
2018
2032
|
property :brand, as: 'brand'
|
2019
2033
|
property :enterprise, as: 'enterprise'
|
2034
|
+
property :imei, as: 'imei'
|
2020
2035
|
property :management_mode, as: 'managementMode'
|
2036
|
+
property :meid, as: 'meid'
|
2021
2037
|
property :model, as: 'model'
|
2022
2038
|
property :name, as: 'name'
|
2023
2039
|
property :ownership, as: 'ownership'
|
2040
|
+
property :serial_number, as: 'serialNumber'
|
2024
2041
|
end
|
2025
2042
|
end
|
2026
2043
|
|
@@ -2342,6 +2359,22 @@ module Google
|
|
2342
2359
|
end
|
2343
2360
|
end
|
2344
2361
|
|
2362
|
+
class WifiSsid
|
2363
|
+
# @private
|
2364
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2365
|
+
property :wifi_ssid, as: 'wifiSsid'
|
2366
|
+
end
|
2367
|
+
end
|
2368
|
+
|
2369
|
+
class WifiSsidPolicy
|
2370
|
+
# @private
|
2371
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2372
|
+
property :wifi_ssid_policy_type, as: 'wifiSsidPolicyType'
|
2373
|
+
collection :wifi_ssids, as: 'wifiSsids', class: Google::Apis::AndroidmanagementV1::WifiSsid, decorator: Google::Apis::AndroidmanagementV1::WifiSsid::Representation
|
2374
|
+
|
2375
|
+
end
|
2376
|
+
end
|
2377
|
+
|
2345
2378
|
class WipeAction
|
2346
2379
|
# @private
|
2347
2380
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -725,10 +725,12 @@ module Google
|
|
725
725
|
|
726
726
|
# Creates a migration token, to migrate an existing device from being managed by
|
727
727
|
# the EMM's Device Policy Controller (DPC) to being managed by the Android
|
728
|
-
# Management API.
|
728
|
+
# Management API. See the guide (https://developers.google.com/android/
|
729
|
+
# management/dpc-migration) for more details.
|
729
730
|
# @param [String] parent
|
730
|
-
# Required. The enterprise in which this migration token
|
731
|
-
#
|
731
|
+
# Required. The enterprise in which this migration token is created. This must
|
732
|
+
# be the same enterprise which already manages the device in the Play EMM API.
|
733
|
+
# Format: enterprises/`enterprise`
|
732
734
|
# @param [Google::Apis::AndroidmanagementV1::MigrationToken] migration_token_object
|
733
735
|
# @param [String] fields
|
734
736
|
# Selector specifying which fields to include in a partial response.
|
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.
|
4
|
+
version: 0.74.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-
|
11
|
+
date: 2024-05-05 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.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-androidmanagement_v1/v0.74.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: []
|