google-apis-androidmanagement_v1 0.94.0 → 0.96.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: 5d519460861353abcfab475e42fd14690176d0e62b0d603a582cfbced9b27bac
4
- data.tar.gz: 3d6e3999dcba884a5c4ba29ecc077af6d0402f50264acca8a7ab6d27262f458e
3
+ metadata.gz: bf457cbe1cc6079e009bd6bcc3196ae936152a0f82a854c29581f97bba798eaf
4
+ data.tar.gz: 583339f36476a2231401951f2020a66b6ed2f3d3ac988de725c215a58311b3d9
5
5
  SHA512:
6
- metadata.gz: 1052acf0a8d035db87260bd2b8868da86d4376605abdb41364e9909d9b289453f619b5d4b263e5ed23e990701e8294a7078523a7eb426af2ee1db590b8855c5e
7
- data.tar.gz: 8bf1fcd365b9a612cf2231c55993c90f5e544531f4bcffb849182b4ee92acd40a4e35230cf7a3bc885337a6be07e0dd64b193ca0ee4fff93da7af7a78bfc8ac8
6
+ metadata.gz: 383b2a4e5e0076aba5d753b32e99c199b9f630e4a3a611036ab5b9cd6b4f6547420f1be342a5a31113672651bf4b7e2b9a467cd4c0bca36623450c4171bfd4ea
7
+ data.tar.gz: 89ce8ecd1e616d3a5eeb4e8c671a476423596c29009b80c248e3a157330efef77283fe48e852a0b910c164ca065c1e1b7aab68e1aa554809f4ff5c28e6717b3d
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-androidmanagement_v1
2
2
 
3
+ ### v0.96.0 (2025-07-06)
4
+
5
+ * Regenerated from discovery document revision 20250702
6
+
7
+ ### v0.95.0 (2025-06-29)
8
+
9
+ * Regenerated from discovery document revision 20250626
10
+
3
11
  ### v0.94.0 (2025-06-22)
4
12
 
5
13
  * Regenerated from discovery document revision 20250617
@@ -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 nonComplianceDetail with API_LEVEL is
223
- # reported if the Android version is less than 10. A nonComplianceDetail with
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 nonComplianceDetail with MANAGEMENT_MODE is reported for
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
- # nonComplianceDetail with INVALID_VALUE is reported if none of the APN types
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
- # nonComplianceDetail with API_LEVEL is reported if the Android version is less
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
- # nonComplianceDetail with API_LEVEL is reported if the Android version is less
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
- # Supported on Android 11 and above.
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
@@ -1508,6 +1509,11 @@ module Google
1508
1509
  # @return [String]
1509
1510
  attr_accessor :user_name
1510
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
+
1511
1517
  def initialize(**args)
1512
1518
  update!(**args)
1513
1519
  end
@@ -1532,6 +1538,7 @@ module Google
1532
1538
  @stop_lost_mode_status = args[:stop_lost_mode_status] if args.key?(:stop_lost_mode_status)
1533
1539
  @type = args[:type] if args.key?(:type)
1534
1540
  @user_name = args[:user_name] if args.key?(:user_name)
1541
+ @wipe_params = args[:wipe_params] if args.key?(:wipe_params)
1535
1542
  end
1536
1543
  end
1537
1544
 
@@ -1739,11 +1746,17 @@ module Google
1739
1746
  end
1740
1747
 
1741
1748
  # Controls the data from the work profile that can be accessed from the personal
1742
- # profile and vice versa. A nonComplianceDetail with MANAGEMENT_MODE is reported
1749
+ # profile and vice versa. A NonComplianceDetail with MANAGEMENT_MODE is reported
1743
1750
  # if the device does not have a work profile.
1744
1751
  class CrossProfilePolicies
1745
1752
  include Google::Apis::Core::Hashable
1746
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
+
1747
1760
  # Whether text copied from one profile (personal or work) can be pasted in the
1748
1761
  # other profile.
1749
1762
  # Corresponds to the JSON property `crossProfileCopyPaste`
@@ -1783,6 +1796,7 @@ module Google
1783
1796
 
1784
1797
  # Update properties of this object
1785
1798
  def update!(**args)
1799
+ @cross_profile_app_functions = args[:cross_profile_app_functions] if args.key?(:cross_profile_app_functions)
1786
1800
  @cross_profile_copy_paste = args[:cross_profile_copy_paste] if args.key?(:cross_profile_copy_paste)
1787
1801
  @cross_profile_data_sharing = args[:cross_profile_data_sharing] if args.key?(:cross_profile_data_sharing)
1788
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)
@@ -2844,7 +2858,13 @@ module Google
2844
2858
  include Google::Apis::Core::Hashable
2845
2859
 
2846
2860
  # Fully qualified class name of the receiver service class for Android Device
2847
- # Policy to notify the extension app of any local command status updates.
2861
+ # Policy to notify the extension app of any local command status updates. The
2862
+ # service must be exported in the extension app's AndroidManifest.xml and extend
2863
+ # NotificationReceiverService (https://developers.google.com/android/management/
2864
+ # reference/amapi/com/google/android/managementapi/notification/
2865
+ # NotificationReceiverService) (see Integrate with the AMAPI SDK (https://
2866
+ # developers.google.com/android/management/sdk-integration) guide for more
2867
+ # details).
2848
2868
  # Corresponds to the JSON property `notificationReceiver`
2849
2869
  # @return [String]
2850
2870
  attr_accessor :notification_receiver
@@ -2854,7 +2874,7 @@ module Google
2854
2874
  # signing key certificate fingerprints are always obtained from the Play Store
2855
2875
  # and this field is used to provide additional signing key certificate
2856
2876
  # fingerprints. However, if the application is not available on the Play Store,
2857
- # this field needs to be set. A nonComplianceDetail with INVALID_VALUE is
2877
+ # this field needs to be set. A NonComplianceDetail with INVALID_VALUE is
2858
2878
  # reported if this field is not set when the application is not available on the
2859
2879
  # Play Store.The signing key certificate fingerprint of the extension app on the
2860
2880
  # device must match one of the signing key certificate fingerprints obtained
@@ -4981,6 +5001,13 @@ module Google
4981
5001
  # @return [String]
4982
5002
  attr_accessor :app_auto_update_policy
4983
5003
 
5004
+ # Optional. Controls whether apps on the device for fully managed devices or in
5005
+ # the work profile for devices with work profiles are allowed to expose app
5006
+ # functions.
5007
+ # Corresponds to the JSON property `appFunctions`
5008
+ # @return [String]
5009
+ attr_accessor :app_functions
5010
+
4984
5011
  # Policy applied to apps. This can have at most 3,000 elements.
4985
5012
  # Corresponds to the JSON property `applications`
4986
5013
  # @return [Array<Google::Apis::AndroidmanagementV1::ApplicationPolicy>]
@@ -5097,7 +5124,7 @@ module Google
5097
5124
  alias_method :credentials_config_disabled?, :credentials_config_disabled
5098
5125
 
5099
5126
  # Controls the data from the work profile that can be accessed from the personal
5100
- # profile and vice versa. A nonComplianceDetail with MANAGEMENT_MODE is reported
5127
+ # profile and vice versa. A NonComplianceDetail with MANAGEMENT_MODE is reported
5101
5128
  # if the device does not have a work profile.
5102
5129
  # Corresponds to the JSON property `crossProfilePolicies`
5103
5130
  # @return [Google::Apis::AndroidmanagementV1::CrossProfilePolicies]
@@ -5600,6 +5627,7 @@ module Google
5600
5627
  @always_on_vpn_package = args[:always_on_vpn_package] if args.key?(:always_on_vpn_package)
5601
5628
  @android_device_policy_tracks = args[:android_device_policy_tracks] if args.key?(:android_device_policy_tracks)
5602
5629
  @app_auto_update_policy = args[:app_auto_update_policy] if args.key?(:app_auto_update_policy)
5630
+ @app_functions = args[:app_functions] if args.key?(:app_functions)
5603
5631
  @applications = args[:applications] if args.key?(:applications)
5604
5632
  @assist_content_policy = args[:assist_content_policy] if args.key?(:assist_content_policy)
5605
5633
  @auto_date_and_time_zone = args[:auto_date_and_time_zone] if args.key?(:auto_date_and_time_zone)
@@ -7427,9 +7455,9 @@ module Google
7427
7455
 
7428
7456
  # Optional. List of Wi-Fi SSIDs that should be applied in the policy. This field
7429
7457
  # must be non-empty when WifiSsidPolicyType is set to WIFI_SSID_ALLOWLIST. If
7430
- # this is set to a non-empty list, then a nonComplianceDetail detail with
7458
+ # this is set to a non-empty list, then a NonComplianceDetail detail with
7431
7459
  # API_LEVEL is reported if the Android version is less than 13 and a
7432
- # nonComplianceDetail with MANAGEMENT_MODE is reported for non-company-owned
7460
+ # NonComplianceDetail with MANAGEMENT_MODE is reported for non-company-owned
7433
7461
  # devices.
7434
7462
  # Corresponds to the JSON property `wifiSsids`
7435
7463
  # @return [Array<Google::Apis::AndroidmanagementV1::WifiSsid>]
@@ -7490,6 +7518,32 @@ module Google
7490
7518
  end
7491
7519
  end
7492
7520
 
7521
+ # Parameters associated with the WIPE command to wipe the device.
7522
+ class WipeParams
7523
+ include Google::Apis::Core::Hashable
7524
+
7525
+ # Optional. Flags to determine what data to wipe.
7526
+ # Corresponds to the JSON property `wipeDataFlags`
7527
+ # @return [Array<String>]
7528
+ attr_accessor :wipe_data_flags
7529
+
7530
+ # Provides a user-facing message with locale info. The maximum message length is
7531
+ # 4096 characters.
7532
+ # Corresponds to the JSON property `wipeReason`
7533
+ # @return [Google::Apis::AndroidmanagementV1::UserFacingMessage]
7534
+ attr_accessor :wipe_reason
7535
+
7536
+ def initialize(**args)
7537
+ update!(**args)
7538
+ end
7539
+
7540
+ # Update properties of this object
7541
+ def update!(**args)
7542
+ @wipe_data_flags = args[:wipe_data_flags] if args.key?(:wipe_data_flags)
7543
+ @wipe_reason = args[:wipe_reason] if args.key?(:wipe_reason)
7544
+ end
7545
+ end
7546
+
7493
7547
  # Controls the work account setup configuration, such as details of whether a
7494
7548
  # Google authenticated account is required.
7495
7549
  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.94.0"
19
+ GEM_VERSION = "0.96.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 = "20250617"
25
+ REVISION = "20250702"
26
26
  end
27
27
  end
28
28
  end
@@ -1000,6 +1000,12 @@ module Google
1000
1000
  include Google::Apis::Core::JsonObjectSupport
1001
1001
  end
1002
1002
 
1003
+ class WipeParams
1004
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1005
+
1006
+ include Google::Apis::Core::JsonObjectSupport
1007
+ end
1008
+
1003
1009
  class WorkAccountSetupConfig
1004
1010
  class Representation < Google::Apis::Core::JsonRepresentation; end
1005
1011
 
@@ -1354,6 +1360,8 @@ module Google
1354
1360
 
1355
1361
  property :type, as: 'type'
1356
1362
  property :user_name, as: 'userName'
1363
+ property :wipe_params, as: 'wipeParams', class: Google::Apis::AndroidmanagementV1::WipeParams, decorator: Google::Apis::AndroidmanagementV1::WipeParams::Representation
1364
+
1357
1365
  end
1358
1366
  end
1359
1367
 
@@ -1411,6 +1419,7 @@ module Google
1411
1419
  class CrossProfilePolicies
1412
1420
  # @private
1413
1421
  class Representation < Google::Apis::Core::JsonRepresentation
1422
+ property :cross_profile_app_functions, as: 'crossProfileAppFunctions'
1414
1423
  property :cross_profile_copy_paste, as: 'crossProfileCopyPaste'
1415
1424
  property :cross_profile_data_sharing, as: 'crossProfileDataSharing'
1416
1425
  property :exemptions_to_show_work_contacts_in_personal_profile, as: 'exemptionsToShowWorkContactsInPersonalProfile', class: Google::Apis::AndroidmanagementV1::PackageNameList, decorator: Google::Apis::AndroidmanagementV1::PackageNameList::Representation
@@ -2261,6 +2270,7 @@ module Google
2261
2270
 
2262
2271
  collection :android_device_policy_tracks, as: 'androidDevicePolicyTracks'
2263
2272
  property :app_auto_update_policy, as: 'appAutoUpdatePolicy'
2273
+ property :app_functions, as: 'appFunctions'
2264
2274
  collection :applications, as: 'applications', class: Google::Apis::AndroidmanagementV1::ApplicationPolicy, decorator: Google::Apis::AndroidmanagementV1::ApplicationPolicy::Representation
2265
2275
 
2266
2276
  property :assist_content_policy, as: 'assistContentPolicy'
@@ -2868,6 +2878,15 @@ module Google
2868
2878
  end
2869
2879
  end
2870
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
+
2871
2890
  class WorkAccountSetupConfig
2872
2891
  # @private
2873
2892
  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.94.0
4
+ version: 0.96.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.94.0
60
+ documentation_uri: https://googleapis.dev/ruby/google-apis-androidmanagement_v1/v0.96.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: