google-apis-androidmanagement_v1 0.54.0 → 0.56.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 +4 -4
- data/CHANGELOG.md +8 -0
- data/lib/google/apis/androidmanagement_v1/classes.rb +126 -6
- data/lib/google/apis/androidmanagement_v1/gem_version.rb +2 -2
- data/lib/google/apis/androidmanagement_v1/representations.rb +39 -0
- data/lib/google/apis/androidmanagement_v1/service.rb +32 -0
- 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: b9a05fbb9b86f3de7e618144fa3262572b5c62ee5724eff55c63f5e809be7410
|
4
|
+
data.tar.gz: 07e8a126ef9474d6f7a4b99e244b589f17c9b7b74d86553cc526211b2486ac5b
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 3a4dc5368d0c65aad56da0acb14eee33797f6c4304a87b839b758becd5d5f93eac393a99964504681f33e85347cfe6034aa892a81589641ca9e8ddb982db3447
|
7
|
+
data.tar.gz: 7f278269107407aa624db6f8c8cb16e9dea5792090d949044fe7b9abacefa74cfa0ff8d9e2db023f7107bd9b5d7e367f972701ca3a0e277e18342a1d588f49cc
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-androidmanagement_v1
|
2
2
|
|
3
|
+
### v0.56.0 (2023-07-16)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20230705
|
6
|
+
|
7
|
+
### v0.55.0 (2023-07-09)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20230628
|
10
|
+
|
3
11
|
### v0.54.0 (2023-06-11)
|
4
12
|
|
5
13
|
* Regenerated from discovery document revision 20230529
|
@@ -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.
|
4315
|
-
#
|
4316
|
-
#
|
4317
|
-
#
|
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)
|
@@ -4523,6 +4581,68 @@ module Google
|
|
4523
4581
|
end
|
4524
4582
|
end
|
4525
4583
|
|
4584
|
+
# Information about a device that is available during setup.
|
4585
|
+
class ProvisioningInfo
|
4586
|
+
include Google::Apis::Core::Hashable
|
4587
|
+
|
4588
|
+
# The API level of the Android platform version running on the device.
|
4589
|
+
# Corresponds to the JSON property `apiLevel`
|
4590
|
+
# @return [Fixnum]
|
4591
|
+
attr_accessor :api_level
|
4592
|
+
|
4593
|
+
# The email address of the authenticated user (only present for Google Account
|
4594
|
+
# provisioning method).
|
4595
|
+
# Corresponds to the JSON property `authenticatedUserEmail`
|
4596
|
+
# @return [String]
|
4597
|
+
attr_accessor :authenticated_user_email
|
4598
|
+
|
4599
|
+
# Brand of the device. For example, Google.
|
4600
|
+
# Corresponds to the JSON property `brand`
|
4601
|
+
# @return [String]
|
4602
|
+
attr_accessor :brand
|
4603
|
+
|
4604
|
+
# The name of the enterprise in the form enterprises/`enterprise`.
|
4605
|
+
# Corresponds to the JSON property `enterprise`
|
4606
|
+
# @return [String]
|
4607
|
+
attr_accessor :enterprise
|
4608
|
+
|
4609
|
+
# The management mode of the device or profile.
|
4610
|
+
# Corresponds to the JSON property `managementMode`
|
4611
|
+
# @return [String]
|
4612
|
+
attr_accessor :management_mode
|
4613
|
+
|
4614
|
+
# The model of the device. For example, Asus Nexus 7.
|
4615
|
+
# Corresponds to the JSON property `model`
|
4616
|
+
# @return [String]
|
4617
|
+
attr_accessor :model
|
4618
|
+
|
4619
|
+
# The name of this resource in the form provisioningInfo/`provisioning_info`.
|
4620
|
+
# Corresponds to the JSON property `name`
|
4621
|
+
# @return [String]
|
4622
|
+
attr_accessor :name
|
4623
|
+
|
4624
|
+
# Ownership of the managed device.
|
4625
|
+
# Corresponds to the JSON property `ownership`
|
4626
|
+
# @return [String]
|
4627
|
+
attr_accessor :ownership
|
4628
|
+
|
4629
|
+
def initialize(**args)
|
4630
|
+
update!(**args)
|
4631
|
+
end
|
4632
|
+
|
4633
|
+
# Update properties of this object
|
4634
|
+
def update!(**args)
|
4635
|
+
@api_level = args[:api_level] if args.key?(:api_level)
|
4636
|
+
@authenticated_user_email = args[:authenticated_user_email] if args.key?(:authenticated_user_email)
|
4637
|
+
@brand = args[:brand] if args.key?(:brand)
|
4638
|
+
@enterprise = args[:enterprise] if args.key?(:enterprise)
|
4639
|
+
@management_mode = args[:management_mode] if args.key?(:management_mode)
|
4640
|
+
@model = args[:model] if args.key?(:model)
|
4641
|
+
@name = args[:name] if args.key?(:name)
|
4642
|
+
@ownership = args[:ownership] if args.key?(:ownership)
|
4643
|
+
end
|
4644
|
+
end
|
4645
|
+
|
4526
4646
|
# Configuration info for an HTTP proxy. For a direct proxy, set the host, port,
|
4527
4647
|
# and excluded_hosts fields. For a PAC script proxy, set the pac_uri field.
|
4528
4648
|
class ProxyInfo
|
@@ -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.56.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 = "
|
25
|
+
REVISION = "20230705"
|
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
|
|
@@ -586,6 +592,12 @@ module Google
|
|
586
592
|
include Google::Apis::Core::JsonObjectSupport
|
587
593
|
end
|
588
594
|
|
595
|
+
class ProvisioningInfo
|
596
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
597
|
+
|
598
|
+
include Google::Apis::Core::JsonObjectSupport
|
599
|
+
end
|
600
|
+
|
589
601
|
class ProxyInfo
|
590
602
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
591
603
|
|
@@ -890,6 +902,7 @@ module Google
|
|
890
902
|
property :package_sha256_hash, as: 'packageSha256Hash'
|
891
903
|
collection :signing_key_cert_fingerprints, as: 'signingKeyCertFingerprints'
|
892
904
|
property :state, as: 'state'
|
905
|
+
property :user_facing_type, as: 'userFacingType'
|
893
906
|
property :version_code, as: 'versionCode'
|
894
907
|
property :version_name, as: 'versionName'
|
895
908
|
end
|
@@ -1123,7 +1136,17 @@ module Google
|
|
1123
1136
|
class DeviceConnectivityManagement
|
1124
1137
|
# @private
|
1125
1138
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1139
|
+
property :configure_wifi, as: 'configureWifi'
|
1140
|
+
property :tethering_settings, as: 'tetheringSettings'
|
1126
1141
|
property :usb_data_access, as: 'usbDataAccess'
|
1142
|
+
property :wifi_direct_settings, as: 'wifiDirectSettings'
|
1143
|
+
end
|
1144
|
+
end
|
1145
|
+
|
1146
|
+
class DeviceRadioState
|
1147
|
+
# @private
|
1148
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1149
|
+
property :wifi_state, as: 'wifiState'
|
1127
1150
|
end
|
1128
1151
|
end
|
1129
1152
|
|
@@ -1702,6 +1725,8 @@ module Google
|
|
1702
1725
|
|
1703
1726
|
property :device_owner_lock_screen_info, as: 'deviceOwnerLockScreenInfo', class: Google::Apis::AndroidmanagementV1::UserFacingMessage, decorator: Google::Apis::AndroidmanagementV1::UserFacingMessage::Representation
|
1704
1727
|
|
1728
|
+
property :device_radio_state, as: 'deviceRadioState', class: Google::Apis::AndroidmanagementV1::DeviceRadioState, decorator: Google::Apis::AndroidmanagementV1::DeviceRadioState::Representation
|
1729
|
+
|
1705
1730
|
property :encryption_policy, as: 'encryptionPolicy'
|
1706
1731
|
property :ensure_verify_apps_enabled, as: 'ensureVerifyAppsEnabled'
|
1707
1732
|
property :factory_reset_disabled, as: 'factoryResetDisabled'
|
@@ -1813,6 +1838,20 @@ module Google
|
|
1813
1838
|
end
|
1814
1839
|
end
|
1815
1840
|
|
1841
|
+
class ProvisioningInfo
|
1842
|
+
# @private
|
1843
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1844
|
+
property :api_level, as: 'apiLevel'
|
1845
|
+
property :authenticated_user_email, as: 'authenticatedUserEmail'
|
1846
|
+
property :brand, as: 'brand'
|
1847
|
+
property :enterprise, as: 'enterprise'
|
1848
|
+
property :management_mode, as: 'managementMode'
|
1849
|
+
property :model, as: 'model'
|
1850
|
+
property :name, as: 'name'
|
1851
|
+
property :ownership, as: 'ownership'
|
1852
|
+
end
|
1853
|
+
end
|
1854
|
+
|
1816
1855
|
class ProxyInfo
|
1817
1856
|
# @private
|
1818
1857
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1093,6 +1093,38 @@ module Google
|
|
1093
1093
|
execute_or_queue_command(command, &block)
|
1094
1094
|
end
|
1095
1095
|
|
1096
|
+
# Get the device provisioning info by the identifier provided via the sign-in
|
1097
|
+
# url.
|
1098
|
+
# @param [String] name
|
1099
|
+
# Required. The identifier that Android Device Policy passes to the 3P sign-in
|
1100
|
+
# page in the form of provisioningInfo/`provisioning_info`.
|
1101
|
+
# @param [String] fields
|
1102
|
+
# Selector specifying which fields to include in a partial response.
|
1103
|
+
# @param [String] quota_user
|
1104
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1105
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1106
|
+
# @param [Google::Apis::RequestOptions] options
|
1107
|
+
# Request-specific options
|
1108
|
+
#
|
1109
|
+
# @yield [result, err] Result & error if block supplied
|
1110
|
+
# @yieldparam result [Google::Apis::AndroidmanagementV1::ProvisioningInfo] parsed result object
|
1111
|
+
# @yieldparam err [StandardError] error object if request failed
|
1112
|
+
#
|
1113
|
+
# @return [Google::Apis::AndroidmanagementV1::ProvisioningInfo]
|
1114
|
+
#
|
1115
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1116
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1117
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1118
|
+
def get_provisioning_info(name, fields: nil, quota_user: nil, options: nil, &block)
|
1119
|
+
command = make_simple_command(:get, 'v1/{+name}', options)
|
1120
|
+
command.response_representation = Google::Apis::AndroidmanagementV1::ProvisioningInfo::Representation
|
1121
|
+
command.response_class = Google::Apis::AndroidmanagementV1::ProvisioningInfo
|
1122
|
+
command.params['name'] = name unless name.nil?
|
1123
|
+
command.query['fields'] = fields unless fields.nil?
|
1124
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1125
|
+
execute_or_queue_command(command, &block)
|
1126
|
+
end
|
1127
|
+
|
1096
1128
|
# Creates an enterprise signup URL.
|
1097
1129
|
# @param [String] callback_url
|
1098
1130
|
# The callback URL that the admin will be redirected to after successfully
|
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.56.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-
|
11
|
+
date: 2023-07-16 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.56.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: []
|