google-apis-androidmanagement_v1 0.93.0 → 0.95.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 +169 -12
- data/lib/google/apis/androidmanagement_v1/gem_version.rb +2 -2
- data/lib/google/apis/androidmanagement_v1/representations.rb +89 -0
- data/lib/google/apis/androidmanagement_v1/service.rb +68 -0
- metadata +2 -2
checksums.yaml
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
---
|
2
2
|
SHA256:
|
3
|
-
metadata.gz:
|
4
|
-
data.tar.gz:
|
3
|
+
metadata.gz: 2889a84d19e4bab81b6f6df113f3854698f425fc25614ddea62e5154f64401f8
|
4
|
+
data.tar.gz: f42ef1a705335653bad0d31edd49d490465a2ccac6085554b78d57af44f1c70a
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: 40f154474f780c1ff4f54c15d717ef254ff501ddfb196146652a4336a6b65400672316d0fe259fc79fb4d4bb2bee5a1f71d4db58ebacb311bd3711ee73812f39
|
7
|
+
data.tar.gz: 883ef101d8f131cf57e619ac3304e4ebf951ea05ef530828b0d3bf4c999a27eab41acf018689d963f0c0cbf8a0bc4f859f6e1bfbad5876e29e87d218e67e76ee
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-androidmanagement_v1
|
2
2
|
|
3
|
+
### v0.95.0 (2025-06-29)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20250626
|
6
|
+
|
7
|
+
### v0.94.0 (2025-06-22)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20250617
|
10
|
+
|
3
11
|
### v0.93.0 (2025-06-15)
|
4
12
|
|
5
13
|
* Regenerated from discovery document revision 20250610
|
@@ -219,8 +219,8 @@ module Google
|
|
219
219
|
# some of the APN settings result in non-compliance of INVALID_VALUE , they will
|
220
220
|
# be ignored. This can be set on fully managed devices on Android 10 and above.
|
221
221
|
# This can also be set on work profiles on Android 13 and above and only with
|
222
|
-
# ApnSetting's with ENTERPRISE APN type. A
|
223
|
-
# reported if the Android version is less than 10. A
|
222
|
+
# ApnSetting's with ENTERPRISE APN type. A NonComplianceDetail with API_LEVEL is
|
223
|
+
# reported if the Android version is less than 10. A NonComplianceDetail with
|
224
224
|
# MANAGEMENT_MODE is reported for work profiles on Android versions less than 13.
|
225
225
|
# Corresponds to the JSON property `apnSettings`
|
226
226
|
# @return [Array<Google::Apis::AndroidmanagementV1::ApnSetting>]
|
@@ -268,11 +268,11 @@ module Google
|
|
268
268
|
# Required. Usage categories for the APN. Policy will be rejected if this field
|
269
269
|
# is empty or contains APN_TYPE_UNSPECIFIED or duplicates. Multiple APN types
|
270
270
|
# can be set on fully managed devices. ENTERPRISE is the only allowed APN type
|
271
|
-
# on work profiles. A
|
271
|
+
# on work profiles. A NonComplianceDetail with MANAGEMENT_MODE is reported for
|
272
272
|
# any other value on work profiles. APN types that are not supported on the
|
273
273
|
# device or management mode will be ignored. If this results in the empty list,
|
274
274
|
# the APN setting will be ignored, because apnTypes is a required field. A
|
275
|
-
#
|
275
|
+
# NonComplianceDetail with INVALID_VALUE is reported if none of the APN types
|
276
276
|
# are supported on the device or management mode.
|
277
277
|
# Corresponds to the JSON property `apnTypes`
|
278
278
|
# @return [Array<String>]
|
@@ -315,7 +315,7 @@ module Google
|
|
315
315
|
# Optional. The default MTU (Maximum Transmission Unit) size in bytes of the
|
316
316
|
# IPv4 routes brought up by this APN setting. A value of 0 (default) means not
|
317
317
|
# set and negative values are rejected. Supported on Android 13 and above. A
|
318
|
-
#
|
318
|
+
# NonComplianceDetail with API_LEVEL is reported if the Android version is less
|
319
319
|
# than 13.
|
320
320
|
# Corresponds to the JSON property `mtuV4`
|
321
321
|
# @return [Fixnum]
|
@@ -324,7 +324,7 @@ module Google
|
|
324
324
|
# Optional. The MTU (Maximum Transmission Unit) size of the IPv6 mobile
|
325
325
|
# interface to which the APN connected. A value of 0 (default) means not set and
|
326
326
|
# negative values are rejected. Supported on Android 13 and above. A
|
327
|
-
#
|
327
|
+
# NonComplianceDetail with API_LEVEL is reported if the Android version is less
|
328
328
|
# than 13.
|
329
329
|
# Corresponds to the JSON property `mtuV6`
|
330
330
|
# @return [Fixnum]
|
@@ -922,7 +922,8 @@ module Google
|
|
922
922
|
|
923
923
|
# Optional. Specifies whether user control is permitted for the app. User
|
924
924
|
# control includes user actions like force-stopping and clearing app data.
|
925
|
-
#
|
925
|
+
# Certain types of apps have special treatment, see
|
926
|
+
# USER_CONTROL_SETTINGS_UNSPECIFIED and USER_CONTROL_ALLOWED for more details.
|
926
927
|
# Corresponds to the JSON property `userControlSettings`
|
927
928
|
# @return [String]
|
928
929
|
attr_accessor :user_control_settings
|
@@ -963,6 +964,34 @@ module Google
|
|
963
964
|
end
|
964
965
|
end
|
965
966
|
|
967
|
+
# A change to be made to a single ApplicationPolicy object.
|
968
|
+
class ApplicationPolicyChange
|
969
|
+
include Google::Apis::Core::Hashable
|
970
|
+
|
971
|
+
# Policy for an individual app. Note: Application availability on a given device
|
972
|
+
# cannot be changed using this policy if installAppsDisabled is enabled. The
|
973
|
+
# maximum number of applications that you can specify per policy is 3,000.
|
974
|
+
# Corresponds to the JSON property `application`
|
975
|
+
# @return [Google::Apis::AndroidmanagementV1::ApplicationPolicy]
|
976
|
+
attr_accessor :application
|
977
|
+
|
978
|
+
# The field mask indicating the fields to update. If omitted, all modifiable
|
979
|
+
# fields are updated.
|
980
|
+
# Corresponds to the JSON property `updateMask`
|
981
|
+
# @return [String]
|
982
|
+
attr_accessor :update_mask
|
983
|
+
|
984
|
+
def initialize(**args)
|
985
|
+
update!(**args)
|
986
|
+
end
|
987
|
+
|
988
|
+
# Update properties of this object
|
989
|
+
def update!(**args)
|
990
|
+
@application = args[:application] if args.key?(:application)
|
991
|
+
@update_mask = args[:update_mask] if args.key?(:update_mask)
|
992
|
+
end
|
993
|
+
end
|
994
|
+
|
966
995
|
# Information reported about an installed app.
|
967
996
|
class ApplicationReport
|
968
997
|
include Google::Apis::Core::Hashable
|
@@ -1480,6 +1509,11 @@ module Google
|
|
1480
1509
|
# @return [String]
|
1481
1510
|
attr_accessor :user_name
|
1482
1511
|
|
1512
|
+
# Parameters associated with the WIPE command to wipe the device.
|
1513
|
+
# Corresponds to the JSON property `wipeParams`
|
1514
|
+
# @return [Google::Apis::AndroidmanagementV1::WipeParams]
|
1515
|
+
attr_accessor :wipe_params
|
1516
|
+
|
1483
1517
|
def initialize(**args)
|
1484
1518
|
update!(**args)
|
1485
1519
|
end
|
@@ -1504,6 +1538,7 @@ module Google
|
|
1504
1538
|
@stop_lost_mode_status = args[:stop_lost_mode_status] if args.key?(:stop_lost_mode_status)
|
1505
1539
|
@type = args[:type] if args.key?(:type)
|
1506
1540
|
@user_name = args[:user_name] if args.key?(:user_name)
|
1541
|
+
@wipe_params = args[:wipe_params] if args.key?(:wipe_params)
|
1507
1542
|
end
|
1508
1543
|
end
|
1509
1544
|
|
@@ -1711,11 +1746,17 @@ module Google
|
|
1711
1746
|
end
|
1712
1747
|
|
1713
1748
|
# Controls the data from the work profile that can be accessed from the personal
|
1714
|
-
# profile and vice versa. A
|
1749
|
+
# profile and vice versa. A NonComplianceDetail with MANAGEMENT_MODE is reported
|
1715
1750
|
# if the device does not have a work profile.
|
1716
1751
|
class CrossProfilePolicies
|
1717
1752
|
include Google::Apis::Core::Hashable
|
1718
1753
|
|
1754
|
+
# Optional. Controls whether personal profile apps can invoke app functions
|
1755
|
+
# exposed by apps in the work profile.
|
1756
|
+
# Corresponds to the JSON property `crossProfileAppFunctions`
|
1757
|
+
# @return [String]
|
1758
|
+
attr_accessor :cross_profile_app_functions
|
1759
|
+
|
1719
1760
|
# Whether text copied from one profile (personal or work) can be pasted in the
|
1720
1761
|
# other profile.
|
1721
1762
|
# Corresponds to the JSON property `crossProfileCopyPaste`
|
@@ -1755,6 +1796,7 @@ module Google
|
|
1755
1796
|
|
1756
1797
|
# Update properties of this object
|
1757
1798
|
def update!(**args)
|
1799
|
+
@cross_profile_app_functions = args[:cross_profile_app_functions] if args.key?(:cross_profile_app_functions)
|
1758
1800
|
@cross_profile_copy_paste = args[:cross_profile_copy_paste] if args.key?(:cross_profile_copy_paste)
|
1759
1801
|
@cross_profile_data_sharing = args[:cross_profile_data_sharing] if args.key?(:cross_profile_data_sharing)
|
1760
1802
|
@exemptions_to_show_work_contacts_in_personal_profile = args[:exemptions_to_show_work_contacts_in_personal_profile] if args.key?(:exemptions_to_show_work_contacts_in_personal_profile)
|
@@ -2826,7 +2868,7 @@ module Google
|
|
2826
2868
|
# signing key certificate fingerprints are always obtained from the Play Store
|
2827
2869
|
# and this field is used to provide additional signing key certificate
|
2828
2870
|
# fingerprints. However, if the application is not available on the Play Store,
|
2829
|
-
# this field needs to be set. A
|
2871
|
+
# this field needs to be set. A NonComplianceDetail with INVALID_VALUE is
|
2830
2872
|
# reported if this field is not set when the application is not available on the
|
2831
2873
|
# Play Store.The signing key certificate fingerprint of the extension app on the
|
2832
2874
|
# device must match one of the signing key certificate fingerprints obtained
|
@@ -4228,6 +4270,47 @@ module Google
|
|
4228
4270
|
end
|
4229
4271
|
end
|
4230
4272
|
|
4273
|
+
# Request to update or create ApplicationPolicy objects in the given Policy.
|
4274
|
+
class ModifyPolicyApplicationsRequest
|
4275
|
+
include Google::Apis::Core::Hashable
|
4276
|
+
|
4277
|
+
# Required. The changes to be made to the ApplicationPolicy objects. There must
|
4278
|
+
# be at least one ApplicationPolicyChange.
|
4279
|
+
# Corresponds to the JSON property `changes`
|
4280
|
+
# @return [Array<Google::Apis::AndroidmanagementV1::ApplicationPolicyChange>]
|
4281
|
+
attr_accessor :changes
|
4282
|
+
|
4283
|
+
def initialize(**args)
|
4284
|
+
update!(**args)
|
4285
|
+
end
|
4286
|
+
|
4287
|
+
# Update properties of this object
|
4288
|
+
def update!(**args)
|
4289
|
+
@changes = args[:changes] if args.key?(:changes)
|
4290
|
+
end
|
4291
|
+
end
|
4292
|
+
|
4293
|
+
# Response to a request to update or create ApplicationPolicy objects in the
|
4294
|
+
# given policy.
|
4295
|
+
class ModifyPolicyApplicationsResponse
|
4296
|
+
include Google::Apis::Core::Hashable
|
4297
|
+
|
4298
|
+
# A policy resource represents a group of settings that govern the behavior of a
|
4299
|
+
# managed device and the apps installed on it.
|
4300
|
+
# Corresponds to the JSON property `policy`
|
4301
|
+
# @return [Google::Apis::AndroidmanagementV1::Policy]
|
4302
|
+
attr_accessor :policy
|
4303
|
+
|
4304
|
+
def initialize(**args)
|
4305
|
+
update!(**args)
|
4306
|
+
end
|
4307
|
+
|
4308
|
+
# Update properties of this object
|
4309
|
+
def update!(**args)
|
4310
|
+
@policy = args[:policy] if args.key?(:policy)
|
4311
|
+
end
|
4312
|
+
end
|
4313
|
+
|
4231
4314
|
# Device network info.
|
4232
4315
|
class NetworkInfo
|
4233
4316
|
include Google::Apis::Core::Hashable
|
@@ -4912,6 +4995,13 @@ module Google
|
|
4912
4995
|
# @return [String]
|
4913
4996
|
attr_accessor :app_auto_update_policy
|
4914
4997
|
|
4998
|
+
# Optional. Controls whether apps on the device for fully managed devices or in
|
4999
|
+
# the work profile for devices with work profiles are allowed to expose app
|
5000
|
+
# functions.
|
5001
|
+
# Corresponds to the JSON property `appFunctions`
|
5002
|
+
# @return [String]
|
5003
|
+
attr_accessor :app_functions
|
5004
|
+
|
4915
5005
|
# Policy applied to apps. This can have at most 3,000 elements.
|
4916
5006
|
# Corresponds to the JSON property `applications`
|
4917
5007
|
# @return [Array<Google::Apis::AndroidmanagementV1::ApplicationPolicy>]
|
@@ -5028,7 +5118,7 @@ module Google
|
|
5028
5118
|
alias_method :credentials_config_disabled?, :credentials_config_disabled
|
5029
5119
|
|
5030
5120
|
# Controls the data from the work profile that can be accessed from the personal
|
5031
|
-
# profile and vice versa. A
|
5121
|
+
# profile and vice versa. A NonComplianceDetail with MANAGEMENT_MODE is reported
|
5032
5122
|
# if the device does not have a work profile.
|
5033
5123
|
# Corresponds to the JSON property `crossProfilePolicies`
|
5034
5124
|
# @return [Google::Apis::AndroidmanagementV1::CrossProfilePolicies]
|
@@ -5531,6 +5621,7 @@ module Google
|
|
5531
5621
|
@always_on_vpn_package = args[:always_on_vpn_package] if args.key?(:always_on_vpn_package)
|
5532
5622
|
@android_device_policy_tracks = args[:android_device_policy_tracks] if args.key?(:android_device_policy_tracks)
|
5533
5623
|
@app_auto_update_policy = args[:app_auto_update_policy] if args.key?(:app_auto_update_policy)
|
5624
|
+
@app_functions = args[:app_functions] if args.key?(:app_functions)
|
5534
5625
|
@applications = args[:applications] if args.key?(:applications)
|
5535
5626
|
@assist_content_policy = args[:assist_content_policy] if args.key?(:assist_content_policy)
|
5536
5627
|
@auto_date_and_time_zone = args[:auto_date_and_time_zone] if args.key?(:auto_date_and_time_zone)
|
@@ -5977,6 +6068,46 @@ module Google
|
|
5977
6068
|
end
|
5978
6069
|
end
|
5979
6070
|
|
6071
|
+
# Request to remove ApplicationPolicy objects in the given policy.
|
6072
|
+
class RemovePolicyApplicationsRequest
|
6073
|
+
include Google::Apis::Core::Hashable
|
6074
|
+
|
6075
|
+
# Required. Package names to be removed. Entries that are not found are ignored.
|
6076
|
+
# There must be at least one entry in package_names.
|
6077
|
+
# Corresponds to the JSON property `packageNames`
|
6078
|
+
# @return [Array<String>]
|
6079
|
+
attr_accessor :package_names
|
6080
|
+
|
6081
|
+
def initialize(**args)
|
6082
|
+
update!(**args)
|
6083
|
+
end
|
6084
|
+
|
6085
|
+
# Update properties of this object
|
6086
|
+
def update!(**args)
|
6087
|
+
@package_names = args[:package_names] if args.key?(:package_names)
|
6088
|
+
end
|
6089
|
+
end
|
6090
|
+
|
6091
|
+
# Response to a request to remove ApplicationPolicy objects in the given policy.
|
6092
|
+
class RemovePolicyApplicationsResponse
|
6093
|
+
include Google::Apis::Core::Hashable
|
6094
|
+
|
6095
|
+
# A policy resource represents a group of settings that govern the behavior of a
|
6096
|
+
# managed device and the apps installed on it.
|
6097
|
+
# Corresponds to the JSON property `policy`
|
6098
|
+
# @return [Google::Apis::AndroidmanagementV1::Policy]
|
6099
|
+
attr_accessor :policy
|
6100
|
+
|
6101
|
+
def initialize(**args)
|
6102
|
+
update!(**args)
|
6103
|
+
end
|
6104
|
+
|
6105
|
+
# Update properties of this object
|
6106
|
+
def update!(**args)
|
6107
|
+
@policy = args[:policy] if args.key?(:policy)
|
6108
|
+
end
|
6109
|
+
end
|
6110
|
+
|
5980
6111
|
# Parameters associated with the REQUEST_DEVICE_INFO command to get device
|
5981
6112
|
# related information.
|
5982
6113
|
class RequestDeviceInfoParams
|
@@ -7318,9 +7449,9 @@ module Google
|
|
7318
7449
|
|
7319
7450
|
# Optional. List of Wi-Fi SSIDs that should be applied in the policy. This field
|
7320
7451
|
# must be non-empty when WifiSsidPolicyType is set to WIFI_SSID_ALLOWLIST. If
|
7321
|
-
# this is set to a non-empty list, then a
|
7452
|
+
# this is set to a non-empty list, then a NonComplianceDetail detail with
|
7322
7453
|
# API_LEVEL is reported if the Android version is less than 13 and a
|
7323
|
-
#
|
7454
|
+
# NonComplianceDetail with MANAGEMENT_MODE is reported for non-company-owned
|
7324
7455
|
# devices.
|
7325
7456
|
# Corresponds to the JSON property `wifiSsids`
|
7326
7457
|
# @return [Array<Google::Apis::AndroidmanagementV1::WifiSsid>]
|
@@ -7381,6 +7512,32 @@ module Google
|
|
7381
7512
|
end
|
7382
7513
|
end
|
7383
7514
|
|
7515
|
+
# Parameters associated with the WIPE command to wipe the device.
|
7516
|
+
class WipeParams
|
7517
|
+
include Google::Apis::Core::Hashable
|
7518
|
+
|
7519
|
+
# Optional. Flags to determine what data to wipe.
|
7520
|
+
# Corresponds to the JSON property `wipeDataFlags`
|
7521
|
+
# @return [Array<String>]
|
7522
|
+
attr_accessor :wipe_data_flags
|
7523
|
+
|
7524
|
+
# Provides a user-facing message with locale info. The maximum message length is
|
7525
|
+
# 4096 characters.
|
7526
|
+
# Corresponds to the JSON property `wipeReason`
|
7527
|
+
# @return [Google::Apis::AndroidmanagementV1::UserFacingMessage]
|
7528
|
+
attr_accessor :wipe_reason
|
7529
|
+
|
7530
|
+
def initialize(**args)
|
7531
|
+
update!(**args)
|
7532
|
+
end
|
7533
|
+
|
7534
|
+
# Update properties of this object
|
7535
|
+
def update!(**args)
|
7536
|
+
@wipe_data_flags = args[:wipe_data_flags] if args.key?(:wipe_data_flags)
|
7537
|
+
@wipe_reason = args[:wipe_reason] if args.key?(:wipe_reason)
|
7538
|
+
end
|
7539
|
+
end
|
7540
|
+
|
7384
7541
|
# Controls the work account setup configuration, such as details of whether a
|
7385
7542
|
# Google authenticated account is required.
|
7386
7543
|
class WorkAccountSetupConfig
|
@@ -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.95.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.18.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20250626"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -118,6 +118,12 @@ module Google
|
|
118
118
|
include Google::Apis::Core::JsonObjectSupport
|
119
119
|
end
|
120
120
|
|
121
|
+
class ApplicationPolicyChange
|
122
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
123
|
+
|
124
|
+
include Google::Apis::Core::JsonObjectSupport
|
125
|
+
end
|
126
|
+
|
121
127
|
class ApplicationReport
|
122
128
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
123
129
|
|
@@ -610,6 +616,18 @@ module Google
|
|
610
616
|
include Google::Apis::Core::JsonObjectSupport
|
611
617
|
end
|
612
618
|
|
619
|
+
class ModifyPolicyApplicationsRequest
|
620
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
621
|
+
|
622
|
+
include Google::Apis::Core::JsonObjectSupport
|
623
|
+
end
|
624
|
+
|
625
|
+
class ModifyPolicyApplicationsResponse
|
626
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
627
|
+
|
628
|
+
include Google::Apis::Core::JsonObjectSupport
|
629
|
+
end
|
630
|
+
|
613
631
|
class NetworkInfo
|
614
632
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
615
633
|
|
@@ -766,6 +784,18 @@ module Google
|
|
766
784
|
include Google::Apis::Core::JsonObjectSupport
|
767
785
|
end
|
768
786
|
|
787
|
+
class RemovePolicyApplicationsRequest
|
788
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
789
|
+
|
790
|
+
include Google::Apis::Core::JsonObjectSupport
|
791
|
+
end
|
792
|
+
|
793
|
+
class RemovePolicyApplicationsResponse
|
794
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
795
|
+
|
796
|
+
include Google::Apis::Core::JsonObjectSupport
|
797
|
+
end
|
798
|
+
|
769
799
|
class RequestDeviceInfoParams
|
770
800
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
771
801
|
|
@@ -970,6 +1000,12 @@ module Google
|
|
970
1000
|
include Google::Apis::Core::JsonObjectSupport
|
971
1001
|
end
|
972
1002
|
|
1003
|
+
class WipeParams
|
1004
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
1005
|
+
|
1006
|
+
include Google::Apis::Core::JsonObjectSupport
|
1007
|
+
end
|
1008
|
+
|
973
1009
|
class WorkAccountSetupConfig
|
974
1010
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
975
1011
|
|
@@ -1179,6 +1215,15 @@ module Google
|
|
1179
1215
|
end
|
1180
1216
|
end
|
1181
1217
|
|
1218
|
+
class ApplicationPolicyChange
|
1219
|
+
# @private
|
1220
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1221
|
+
property :application, as: 'application', class: Google::Apis::AndroidmanagementV1::ApplicationPolicy, decorator: Google::Apis::AndroidmanagementV1::ApplicationPolicy::Representation
|
1222
|
+
|
1223
|
+
property :update_mask, as: 'updateMask'
|
1224
|
+
end
|
1225
|
+
end
|
1226
|
+
|
1182
1227
|
class ApplicationReport
|
1183
1228
|
# @private
|
1184
1229
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1315,6 +1360,8 @@ module Google
|
|
1315
1360
|
|
1316
1361
|
property :type, as: 'type'
|
1317
1362
|
property :user_name, as: 'userName'
|
1363
|
+
property :wipe_params, as: 'wipeParams', class: Google::Apis::AndroidmanagementV1::WipeParams, decorator: Google::Apis::AndroidmanagementV1::WipeParams::Representation
|
1364
|
+
|
1318
1365
|
end
|
1319
1366
|
end
|
1320
1367
|
|
@@ -1372,6 +1419,7 @@ module Google
|
|
1372
1419
|
class CrossProfilePolicies
|
1373
1420
|
# @private
|
1374
1421
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1422
|
+
property :cross_profile_app_functions, as: 'crossProfileAppFunctions'
|
1375
1423
|
property :cross_profile_copy_paste, as: 'crossProfileCopyPaste'
|
1376
1424
|
property :cross_profile_data_sharing, as: 'crossProfileDataSharing'
|
1377
1425
|
property :exemptions_to_show_work_contacts_in_personal_profile, as: 'exemptionsToShowWorkContactsInPersonalProfile', class: Google::Apis::AndroidmanagementV1::PackageNameList, decorator: Google::Apis::AndroidmanagementV1::PackageNameList::Representation
|
@@ -2035,6 +2083,22 @@ module Google
|
|
2035
2083
|
end
|
2036
2084
|
end
|
2037
2085
|
|
2086
|
+
class ModifyPolicyApplicationsRequest
|
2087
|
+
# @private
|
2088
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2089
|
+
collection :changes, as: 'changes', class: Google::Apis::AndroidmanagementV1::ApplicationPolicyChange, decorator: Google::Apis::AndroidmanagementV1::ApplicationPolicyChange::Representation
|
2090
|
+
|
2091
|
+
end
|
2092
|
+
end
|
2093
|
+
|
2094
|
+
class ModifyPolicyApplicationsResponse
|
2095
|
+
# @private
|
2096
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2097
|
+
property :policy, as: 'policy', class: Google::Apis::AndroidmanagementV1::Policy, decorator: Google::Apis::AndroidmanagementV1::Policy::Representation
|
2098
|
+
|
2099
|
+
end
|
2100
|
+
end
|
2101
|
+
|
2038
2102
|
class NetworkInfo
|
2039
2103
|
# @private
|
2040
2104
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -2206,6 +2270,7 @@ module Google
|
|
2206
2270
|
|
2207
2271
|
collection :android_device_policy_tracks, as: 'androidDevicePolicyTracks'
|
2208
2272
|
property :app_auto_update_policy, as: 'appAutoUpdatePolicy'
|
2273
|
+
property :app_functions, as: 'appFunctions'
|
2209
2274
|
collection :applications, as: 'applications', class: Google::Apis::AndroidmanagementV1::ApplicationPolicy, decorator: Google::Apis::AndroidmanagementV1::ApplicationPolicy::Representation
|
2210
2275
|
|
2211
2276
|
property :assist_content_policy, as: 'assistContentPolicy'
|
@@ -2415,6 +2480,21 @@ module Google
|
|
2415
2480
|
end
|
2416
2481
|
end
|
2417
2482
|
|
2483
|
+
class RemovePolicyApplicationsRequest
|
2484
|
+
# @private
|
2485
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2486
|
+
collection :package_names, as: 'packageNames'
|
2487
|
+
end
|
2488
|
+
end
|
2489
|
+
|
2490
|
+
class RemovePolicyApplicationsResponse
|
2491
|
+
# @private
|
2492
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2493
|
+
property :policy, as: 'policy', class: Google::Apis::AndroidmanagementV1::Policy, decorator: Google::Apis::AndroidmanagementV1::Policy::Representation
|
2494
|
+
|
2495
|
+
end
|
2496
|
+
end
|
2497
|
+
|
2418
2498
|
class RequestDeviceInfoParams
|
2419
2499
|
# @private
|
2420
2500
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -2798,6 +2878,15 @@ module Google
|
|
2798
2878
|
end
|
2799
2879
|
end
|
2800
2880
|
|
2881
|
+
class WipeParams
|
2882
|
+
# @private
|
2883
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2884
|
+
collection :wipe_data_flags, as: 'wipeDataFlags'
|
2885
|
+
property :wipe_reason, as: 'wipeReason', class: Google::Apis::AndroidmanagementV1::UserFacingMessage, decorator: Google::Apis::AndroidmanagementV1::UserFacingMessage::Representation
|
2886
|
+
|
2887
|
+
end
|
2888
|
+
end
|
2889
|
+
|
2801
2890
|
class WorkAccountSetupConfig
|
2802
2891
|
# @private
|
2803
2892
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -970,6 +970,40 @@ module Google
|
|
970
970
|
execute_or_queue_command(command, &block)
|
971
971
|
end
|
972
972
|
|
973
|
+
# Updates or creates applications in a policy.
|
974
|
+
# @param [String] name
|
975
|
+
# Required. The name of the Policy containing the ApplicationPolicy objects to
|
976
|
+
# be updated, in the form enterprises/`enterpriseId`/policies/`policyId`.
|
977
|
+
# @param [Google::Apis::AndroidmanagementV1::ModifyPolicyApplicationsRequest] modify_policy_applications_request_object
|
978
|
+
# @param [String] fields
|
979
|
+
# Selector specifying which fields to include in a partial response.
|
980
|
+
# @param [String] quota_user
|
981
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
982
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
983
|
+
# @param [Google::Apis::RequestOptions] options
|
984
|
+
# Request-specific options
|
985
|
+
#
|
986
|
+
# @yield [result, err] Result & error if block supplied
|
987
|
+
# @yieldparam result [Google::Apis::AndroidmanagementV1::ModifyPolicyApplicationsResponse] parsed result object
|
988
|
+
# @yieldparam err [StandardError] error object if request failed
|
989
|
+
#
|
990
|
+
# @return [Google::Apis::AndroidmanagementV1::ModifyPolicyApplicationsResponse]
|
991
|
+
#
|
992
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
993
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
994
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
995
|
+
def modify_policy_applications(name, modify_policy_applications_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
996
|
+
command = make_simple_command(:post, 'v1/{+name}:modifyPolicyApplications', options)
|
997
|
+
command.request_representation = Google::Apis::AndroidmanagementV1::ModifyPolicyApplicationsRequest::Representation
|
998
|
+
command.request_object = modify_policy_applications_request_object
|
999
|
+
command.response_representation = Google::Apis::AndroidmanagementV1::ModifyPolicyApplicationsResponse::Representation
|
1000
|
+
command.response_class = Google::Apis::AndroidmanagementV1::ModifyPolicyApplicationsResponse
|
1001
|
+
command.params['name'] = name unless name.nil?
|
1002
|
+
command.query['fields'] = fields unless fields.nil?
|
1003
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1004
|
+
execute_or_queue_command(command, &block)
|
1005
|
+
end
|
1006
|
+
|
973
1007
|
# Updates or creates a policy.
|
974
1008
|
# @param [String] name
|
975
1009
|
# The name of the policy in the form enterprises/`enterpriseId`/policies/`
|
@@ -1008,6 +1042,40 @@ module Google
|
|
1008
1042
|
execute_or_queue_command(command, &block)
|
1009
1043
|
end
|
1010
1044
|
|
1045
|
+
# Removes applications in a policy.
|
1046
|
+
# @param [String] name
|
1047
|
+
# Required. The name of the policy containing the ApplicationPolicy objects to
|
1048
|
+
# be removed, in the form enterprises/`enterpriseId`/policies/`policyId`.
|
1049
|
+
# @param [Google::Apis::AndroidmanagementV1::RemovePolicyApplicationsRequest] remove_policy_applications_request_object
|
1050
|
+
# @param [String] fields
|
1051
|
+
# Selector specifying which fields to include in a partial response.
|
1052
|
+
# @param [String] quota_user
|
1053
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
1054
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
1055
|
+
# @param [Google::Apis::RequestOptions] options
|
1056
|
+
# Request-specific options
|
1057
|
+
#
|
1058
|
+
# @yield [result, err] Result & error if block supplied
|
1059
|
+
# @yieldparam result [Google::Apis::AndroidmanagementV1::RemovePolicyApplicationsResponse] parsed result object
|
1060
|
+
# @yieldparam err [StandardError] error object if request failed
|
1061
|
+
#
|
1062
|
+
# @return [Google::Apis::AndroidmanagementV1::RemovePolicyApplicationsResponse]
|
1063
|
+
#
|
1064
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
1065
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
1066
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
1067
|
+
def remove_policy_applications(name, remove_policy_applications_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
1068
|
+
command = make_simple_command(:post, 'v1/{+name}:removePolicyApplications', options)
|
1069
|
+
command.request_representation = Google::Apis::AndroidmanagementV1::RemovePolicyApplicationsRequest::Representation
|
1070
|
+
command.request_object = remove_policy_applications_request_object
|
1071
|
+
command.response_representation = Google::Apis::AndroidmanagementV1::RemovePolicyApplicationsResponse::Representation
|
1072
|
+
command.response_class = Google::Apis::AndroidmanagementV1::RemovePolicyApplicationsResponse
|
1073
|
+
command.params['name'] = name unless name.nil?
|
1074
|
+
command.query['fields'] = fields unless fields.nil?
|
1075
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
1076
|
+
execute_or_queue_command(command, &block)
|
1077
|
+
end
|
1078
|
+
|
1011
1079
|
# Creates a web app.
|
1012
1080
|
# @param [String] parent
|
1013
1081
|
# The name of the enterprise in the form enterprises/`enterpriseId`.
|
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.95.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.95.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:
|