google-apis-androidmanagement_v1 0.47.0 → 0.48.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: e940c8cceebc9e1b35fd0f575ee5862f4e99643d46a6755005a1f44469e33636
4
- data.tar.gz: 0cf15c47590dc994d8d8abfcb287ce0f3f3344a12d0dbcbdb08c75e79dc5517f
3
+ metadata.gz: 385fbd2cfa4318c5c19c8cbcda648db78426f3f3b79c3f4ad41b64e6a06c426b
4
+ data.tar.gz: 55d827ebb332d3a16300a03e29ad886d1c3281e9a02e80336dd424b883c6975e
5
5
  SHA512:
6
- metadata.gz: 0610e69227b45d307e8997a107c44fc064544d43eeb0733b2336b7511be784ed686c1c11e027c644c59ea80445b101d2db99c4c3b893feffa1de3b01f04c8c9c
7
- data.tar.gz: 73c6ac1b4268b973e39fcae8cda579ddeb9dc4b375aa708f81c606b6e7e6fc2a1dcf06a7ab88f710c412ba765a7be5465a4fc1d69e2b776e8f7889e955923153
6
+ metadata.gz: 8fad54366ad0a6bd4681a2514b66e2604b9363c20557c1b6539909b35293cb7cb5c316e33eed754b0221b6503566d076aef997fa2950ff734f3778e8b428bf56
7
+ data.tar.gz: 295409d84c383ecf8b1340889f2097ef20cf75c913cc519beaf247e05f1a0c96cd931a6e7e5389eb610b434765d501ed5ed0717ed92ccc0781c051f5b3fb958b
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-androidmanagement_v1
2
2
 
3
+ ### v0.48.0 (2022-11-25)
4
+
5
+ * Regenerated from discovery document revision 20221118
6
+
3
7
  ### v0.47.0 (2022-11-01)
4
8
 
5
9
  * Regenerated from discovery document revision 20221024
@@ -577,7 +577,14 @@ module Google
577
577
  alias_method :disabled?, :disabled
578
578
 
579
579
  # Configuration to enable an app as an extension app, with the capability of
580
- # interacting with Android Device Policy offline.
580
+ # interacting with Android Device Policy offline. For Android versions 13 and
581
+ # above, extension apps are exempt from battery restrictions so will not be
582
+ # placed into the restricted App Standby Bucket (https://developer.android.com/
583
+ # topic/performance/appstandby#restricted-bucket). Extensions apps are also
584
+ # protected against users clearing their data or force-closing the application,
585
+ # although admins can continue to use the clear app data command (https://
586
+ # developer.android.com/management/reference/rest/v1/enterprises.devices/
587
+ # issueCommand#CommandType) on extension apps if needed for Android 13 and above.
581
588
  # Corresponds to the JSON property `extensionConfig`
582
589
  # @return [Google::Apis::AndroidmanagementV1::ExtensionConfig]
583
590
  attr_accessor :extension_config
@@ -588,7 +595,7 @@ module Google
588
595
  attr_accessor :install_type
589
596
 
590
597
  # Whether the app is allowed to lock itself in full-screen mode. DEPRECATED. Use
591
- # InstallType KIOSK or kioskCustomLauncherEnabled to to configure a dedicated
598
+ # InstallType KIOSK or kioskCustomLauncherEnabled to configure a dedicated
592
599
  # device.
593
600
  # Corresponds to the JSON property `lockTaskAllowed`
594
601
  # @return [Boolean]
@@ -633,6 +640,12 @@ module Google
633
640
  # @return [Array<Google::Apis::AndroidmanagementV1::PermissionGrant>]
634
641
  attr_accessor :permission_grants
635
642
 
643
+ # Specifies whether the app installed in the work profile is allowed to add
644
+ # widgets to the home screen.
645
+ # Corresponds to the JSON property `workProfileWidgets`
646
+ # @return [String]
647
+ attr_accessor :work_profile_widgets
648
+
636
649
  def initialize(**args)
637
650
  update!(**args)
638
651
  end
@@ -654,6 +667,7 @@ module Google
654
667
  @minimum_version_code = args[:minimum_version_code] if args.key?(:minimum_version_code)
655
668
  @package_name = args[:package_name] if args.key?(:package_name)
656
669
  @permission_grants = args[:permission_grants] if args.key?(:permission_grants)
670
+ @work_profile_widgets = args[:work_profile_widgets] if args.key?(:work_profile_widgets)
657
671
  end
658
672
  end
659
673
 
@@ -1320,6 +1334,13 @@ module Google
1320
1334
  # @return [String]
1321
1335
  attr_accessor :show_work_contacts_in_personal_profile
1322
1336
 
1337
+ # Specifies the default behaviour for work profile widgets. If the policy does
1338
+ # not specify work_profile_widgets for a specific application, it will behave
1339
+ # according to the value specified here.
1340
+ # Corresponds to the JSON property `workProfileWidgetsDefault`
1341
+ # @return [String]
1342
+ attr_accessor :work_profile_widgets_default
1343
+
1323
1344
  def initialize(**args)
1324
1345
  update!(**args)
1325
1346
  end
@@ -1329,6 +1350,7 @@ module Google
1329
1350
  @cross_profile_copy_paste = args[:cross_profile_copy_paste] if args.key?(:cross_profile_copy_paste)
1330
1351
  @cross_profile_data_sharing = args[:cross_profile_data_sharing] if args.key?(:cross_profile_data_sharing)
1331
1352
  @show_work_contacts_in_personal_profile = args[:show_work_contacts_in_personal_profile] if args.key?(:show_work_contacts_in_personal_profile)
1353
+ @work_profile_widgets_default = args[:work_profile_widgets_default] if args.key?(:work_profile_widgets_default)
1332
1354
  end
1333
1355
  end
1334
1356
 
@@ -2016,7 +2038,14 @@ module Google
2016
2038
  end
2017
2039
 
2018
2040
  # Configuration to enable an app as an extension app, with the capability of
2019
- # interacting with Android Device Policy offline.
2041
+ # interacting with Android Device Policy offline. For Android versions 13 and
2042
+ # above, extension apps are exempt from battery restrictions so will not be
2043
+ # placed into the restricted App Standby Bucket (https://developer.android.com/
2044
+ # topic/performance/appstandby#restricted-bucket). Extensions apps are also
2045
+ # protected against users clearing their data or force-closing the application,
2046
+ # although admins can continue to use the clear app data command (https://
2047
+ # developer.android.com/management/reference/rest/v1/enterprises.devices/
2048
+ # issueCommand#CommandType) on extension apps if needed for Android 13 and above.
2020
2049
  class ExtensionConfig
2021
2050
  include Google::Apis::Core::Hashable
2022
2051
 
@@ -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.47.0"
19
+ GEM_VERSION = "0.48.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.11.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20221024"
25
+ REVISION = "20221118"
26
26
  end
27
27
  end
28
28
  end
@@ -866,6 +866,7 @@ module Google
866
866
  property :package_name, as: 'packageName'
867
867
  collection :permission_grants, as: 'permissionGrants', class: Google::Apis::AndroidmanagementV1::PermissionGrant, decorator: Google::Apis::AndroidmanagementV1::PermissionGrant::Representation
868
868
 
869
+ property :work_profile_widgets, as: 'workProfileWidgets'
869
870
  end
870
871
  end
871
872
 
@@ -1036,6 +1037,7 @@ module Google
1036
1037
  property :cross_profile_copy_paste, as: 'crossProfileCopyPaste'
1037
1038
  property :cross_profile_data_sharing, as: 'crossProfileDataSharing'
1038
1039
  property :show_work_contacts_in_personal_profile, as: 'showWorkContactsInPersonalProfile'
1040
+ property :work_profile_widgets_default, as: 'workProfileWidgetsDefault'
1039
1041
  end
1040
1042
  end
1041
1043
 
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.47.0
4
+ version: 0.48.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: 2022-11-07 00:00:00.000000000 Z
11
+ date: 2022-12-12 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.47.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-androidmanagement_v1/v0.48.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: []