google-apis-androidmanagement_v1 0.15.0 → 0.19.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: 03c90d60f4cdee1be308f4966f72299c023334c3d3b6861f15bd3450fe4e0180
4
- data.tar.gz: b4204709dc33de536aa2d5cc0167a9cf0d98ae8f015319a164b65aff3d615705
3
+ metadata.gz: 957878e24dd96e9910c3caf54ca60ee26ed7bcc9e1d4bc31d1e3a9cc43c07ae4
4
+ data.tar.gz: 49b6f90a44d7a627701ab34639f589e1f657f379d0c8bb0a61df44e6ad90023f
5
5
  SHA512:
6
- metadata.gz: 3631d3084928eee5b135974ff36afe2fbed75fad7c36d239f68e2721f3303bc3bbc14fe277a5c23f6bb84e45ae4ec9361fca17761475d5af8410b0e43182dd86
7
- data.tar.gz: c712411cb0931dd965b2c760c1e86bb2ddd13743e8c0cc34c3f9e5a3fce562c3bc4b8df096e3dcb48ccecb2c3683fe9fef4907ef926b7efe8352fdecb2f7415a
6
+ metadata.gz: fce196b099bfc4f16bcab8b9f44226c75cc6e4a11271e62c2b8c1df7769f660d6cebce0b16a6068c8b622426f65d66c95a9e280f1c3720bbbf0bd4720e59357c
7
+ data.tar.gz: 50a4c890e124caec1004f399cd8a1030c846a4fd767a33a82ffac2e292c7971f364ff3f9c7b77be6db72a822f1a4204f115b308193be99ed540c8932d31a595d
data/CHANGELOG.md CHANGED
@@ -1,5 +1,21 @@
1
1
  # Release history for google-apis-androidmanagement_v1
2
2
 
3
+ ### v0.19.0 (2021-10-07)
4
+
5
+ * Regenerated from discovery document revision 20210930
6
+
7
+ ### v0.18.0 (2021-09-17)
8
+
9
+ * Regenerated from discovery document revision 20210916
10
+
11
+ ### v0.17.0 (2021-09-01)
12
+
13
+ * Regenerated from discovery document revision 20210825
14
+
15
+ ### v0.16.0 (2021-08-26)
16
+
17
+ * Regenerated from discovery document revision 20210818
18
+
3
19
  ### v0.15.0 (2021-07-29)
4
20
 
5
21
  * Regenerated from discovery document revision 20210719
@@ -22,9 +22,8 @@ module Google
22
22
  module Apis
23
23
  module AndroidmanagementV1
24
24
 
25
- # Security policies set to the most secure values by default. To maintain the
26
- # security posture of a device, we don't recommend overriding any of the default
27
- # values.
25
+ # Security policies set to secure values by default. To maintain the security
26
+ # posture of a device, we don't recommend overriding any of the default values.
28
27
  class AdvancedSecurityOverrides
29
28
  include Google::Apis::Core::Hashable
30
29
 
@@ -53,6 +52,15 @@ module Google
53
52
  # @return [String]
54
53
  attr_accessor :google_play_protect_verify_apps
55
54
 
55
+ # Personal apps that can read work profile notifications using a
56
+ # NotificationListenerService (https://developer.android.com/reference/android/
57
+ # service/notification/NotificationListenerService). By default, no personal
58
+ # apps (aside from system apps) can read work notifications. Each value in the
59
+ # list must be a package name.
60
+ # Corresponds to the JSON property `personalAppsThatCanReadWorkNotifications`
61
+ # @return [Array<String>]
62
+ attr_accessor :personal_apps_that_can_read_work_notifications
63
+
56
64
  # The policy for untrusted apps (apps from unknown sources) enforced on the
57
65
  # device. Replaces install_unknown_sources_allowed (deprecated).
58
66
  # Corresponds to the JSON property `untrustedAppsPolicy`
@@ -68,6 +76,7 @@ module Google
68
76
  @common_criteria_mode = args[:common_criteria_mode] if args.key?(:common_criteria_mode)
69
77
  @developer_settings = args[:developer_settings] if args.key?(:developer_settings)
70
78
  @google_play_protect_verify_apps = args[:google_play_protect_verify_apps] if args.key?(:google_play_protect_verify_apps)
79
+ @personal_apps_that_can_read_work_notifications = args[:personal_apps_that_can_read_work_notifications] if args.key?(:personal_apps_that_can_read_work_notifications)
71
80
  @untrusted_apps_policy = args[:untrusted_apps_policy] if args.key?(:untrusted_apps_policy)
72
81
  end
73
82
  end
@@ -291,6 +300,12 @@ module Google
291
300
  attr_accessor :disabled
292
301
  alias_method :disabled?, :disabled
293
302
 
303
+ # Configuration to enable an app as an extension app, with the capability of
304
+ # interacting with Android Device Policy offline.
305
+ # Corresponds to the JSON property `extensionConfig`
306
+ # @return [Google::Apis::AndroidmanagementV1::ExtensionConfig]
307
+ attr_accessor :extension_config
308
+
294
309
  # The type of installation to perform.
295
310
  # Corresponds to the JSON property `installType`
296
311
  # @return [String]
@@ -354,6 +369,7 @@ module Google
354
369
  @default_permission_policy = args[:default_permission_policy] if args.key?(:default_permission_policy)
355
370
  @delegated_scopes = args[:delegated_scopes] if args.key?(:delegated_scopes)
356
371
  @disabled = args[:disabled] if args.key?(:disabled)
372
+ @extension_config = args[:extension_config] if args.key?(:extension_config)
357
373
  @install_type = args[:install_type] if args.key?(:install_type)
358
374
  @lock_task_allowed = args[:lock_task_allowed] if args.key?(:lock_task_allowed)
359
375
  @managed_configuration = args[:managed_configuration] if args.key?(:managed_configuration)
@@ -693,7 +709,7 @@ module Google
693
709
  end
694
710
  end
695
711
 
696
- # Contact details for LaForge enterprises.
712
+ # Contact details for managed Google Play enterprises.
697
713
  class ContactInfo
698
714
  include Google::Apis::Core::Hashable
699
715
 
@@ -783,6 +799,43 @@ module Google
783
799
  end
784
800
  end
785
801
 
802
+ # Cross-profile policies applied on the device.
803
+ class CrossProfilePolicies
804
+ include Google::Apis::Core::Hashable
805
+
806
+ # Whether text copied from one profile (personal or work) can be pasted in the
807
+ # other profile.
808
+ # Corresponds to the JSON property `crossProfileCopyPaste`
809
+ # @return [String]
810
+ attr_accessor :cross_profile_copy_paste
811
+
812
+ # Whether data from one profile (personal or work) can be shared with apps in
813
+ # the other profile. Specifically controls simple data sharing via intents.
814
+ # Management of other cross-profile communication channels, such as contact
815
+ # search, copy/paste, or connected work & personal apps, are configured
816
+ # separately.
817
+ # Corresponds to the JSON property `crossProfileDataSharing`
818
+ # @return [String]
819
+ attr_accessor :cross_profile_data_sharing
820
+
821
+ # Whether contacts stored in the work profile can be shown in personal profile
822
+ # contact searches and incoming calls.
823
+ # Corresponds to the JSON property `showWorkContactsInPersonalProfile`
824
+ # @return [String]
825
+ attr_accessor :show_work_contacts_in_personal_profile
826
+
827
+ def initialize(**args)
828
+ update!(**args)
829
+ end
830
+
831
+ # Update properties of this object
832
+ def update!(**args)
833
+ @cross_profile_copy_paste = args[:cross_profile_copy_paste] if args.key?(:cross_profile_copy_paste)
834
+ @cross_profile_data_sharing = args[:cross_profile_data_sharing] if args.key?(:cross_profile_data_sharing)
835
+ @show_work_contacts_in_personal_profile = args[:show_work_contacts_in_personal_profile] if args.key?(:show_work_contacts_in_personal_profile)
836
+ end
837
+ end
838
+
786
839
  # Represents a whole or partial calendar date, such as a birthday. The time of
787
840
  # day and time zone are either specified elsewhere or are insignificant. The
788
841
  # date is relative to the Gregorian Calendar. This can represent one of the
@@ -1328,7 +1381,7 @@ module Google
1328
1381
  attr_accessor :app_auto_approval_enabled
1329
1382
  alias_method :app_auto_approval_enabled?, :app_auto_approval_enabled
1330
1383
 
1331
- # Contact details for LaForge enterprises.
1384
+ # Contact details for managed Google Play enterprises.
1332
1385
  # Corresponds to the JSON property `contactInfo`
1333
1386
  # @return [Google::Apis::AndroidmanagementV1::ContactInfo]
1334
1387
  attr_accessor :contact_info
@@ -1400,6 +1453,41 @@ module Google
1400
1453
  end
1401
1454
  end
1402
1455
 
1456
+ # Configuration to enable an app as an extension app, with the capability of
1457
+ # interacting with Android Device Policy offline.
1458
+ class ExtensionConfig
1459
+ include Google::Apis::Core::Hashable
1460
+
1461
+ # Fully qualified class name of the receiver service class for Android Device
1462
+ # Policy to notify the extension app of any local command status updates.
1463
+ # Corresponds to the JSON property `notificationReceiver`
1464
+ # @return [String]
1465
+ attr_accessor :notification_receiver
1466
+
1467
+ # Hex-encoded SHA256 hash of the signing certificate of the extension app. Only
1468
+ # hexadecimal string representations of 64 characters are valid.If not specified,
1469
+ # the signature for the corresponding package name is obtained from the Play
1470
+ # Store instead.If this list is empty, the signature of the extension app on the
1471
+ # device must match the signature obtained from the Play Store for the app to be
1472
+ # able to communicate with Android Device Policy.If this list is not empty, the
1473
+ # signature of the extension app on the device must match one of the entries in
1474
+ # this list for the app to be able to communicate with Android Device Policy.In
1475
+ # production use cases, it is recommended to leave this empty.
1476
+ # Corresponds to the JSON property `signingKeyFingerprintsSha256`
1477
+ # @return [Array<String>]
1478
+ attr_accessor :signing_key_fingerprints_sha256
1479
+
1480
+ def initialize(**args)
1481
+ update!(**args)
1482
+ end
1483
+
1484
+ # Update properties of this object
1485
+ def update!(**args)
1486
+ @notification_receiver = args[:notification_receiver] if args.key?(:notification_receiver)
1487
+ @signing_key_fingerprints_sha256 = args[:signing_key_fingerprints_sha256] if args.key?(:signing_key_fingerprints_sha256)
1488
+ end
1489
+ end
1490
+
1403
1491
  # Data hosted at an external location. The data is to be downloaded by Android
1404
1492
  # Device Policy and verified against the hash.
1405
1493
  class ExternalData
@@ -2590,9 +2678,8 @@ module Google
2590
2678
  attr_accessor :adjust_volume_disabled
2591
2679
  alias_method :adjust_volume_disabled?, :adjust_volume_disabled
2592
2680
 
2593
- # Security policies set to the most secure values by default. To maintain the
2594
- # security posture of a device, we don't recommend overriding any of the default
2595
- # values.
2681
+ # Security policies set to secure values by default. To maintain the security
2682
+ # posture of a device, we don't recommend overriding any of the default values.
2596
2683
  # Corresponds to the JSON property `advancedSecurityOverrides`
2597
2684
  # @return [Google::Apis::AndroidmanagementV1::AdvancedSecurityOverrides]
2598
2685
  attr_accessor :advanced_security_overrides
@@ -2702,6 +2789,11 @@ module Google
2702
2789
  attr_accessor :credentials_config_disabled
2703
2790
  alias_method :credentials_config_disabled?, :credentials_config_disabled
2704
2791
 
2792
+ # Cross-profile policies applied on the device.
2793
+ # Corresponds to the JSON property `crossProfilePolicies`
2794
+ # @return [Google::Apis::AndroidmanagementV1::CrossProfilePolicies]
2795
+ attr_accessor :cross_profile_policies
2796
+
2705
2797
  # Whether roaming data services are disabled.
2706
2798
  # Corresponds to the JSON property `dataRoamingDisabled`
2707
2799
  # @return [Boolean]
@@ -3119,6 +3211,7 @@ module Google
3119
3211
  @compliance_rules = args[:compliance_rules] if args.key?(:compliance_rules)
3120
3212
  @create_windows_disabled = args[:create_windows_disabled] if args.key?(:create_windows_disabled)
3121
3213
  @credentials_config_disabled = args[:credentials_config_disabled] if args.key?(:credentials_config_disabled)
3214
+ @cross_profile_policies = args[:cross_profile_policies] if args.key?(:cross_profile_policies)
3122
3215
  @data_roaming_disabled = args[:data_roaming_disabled] if args.key?(:data_roaming_disabled)
3123
3216
  @debugging_features_allowed = args[:debugging_features_allowed] if args.key?(:debugging_features_allowed)
3124
3217
  @default_permission_policy = args[:default_permission_policy] if args.key?(:default_permission_policy)
@@ -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.15.0"
19
+ GEM_VERSION = "0.19.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
22
  GENERATOR_VERSION = "0.4.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20210719"
25
+ REVISION = "20210930"
26
26
  end
27
27
  end
28
28
  end
@@ -124,6 +124,12 @@ module Google
124
124
  include Google::Apis::Core::JsonObjectSupport
125
125
  end
126
126
 
127
+ class CrossProfilePolicies
128
+ class Representation < Google::Apis::Core::JsonRepresentation; end
129
+
130
+ include Google::Apis::Core::JsonObjectSupport
131
+ end
132
+
127
133
  class Date
128
134
  class Representation < Google::Apis::Core::JsonRepresentation; end
129
135
 
@@ -166,6 +172,12 @@ module Google
166
172
  include Google::Apis::Core::JsonObjectSupport
167
173
  end
168
174
 
175
+ class ExtensionConfig
176
+ class Representation < Google::Apis::Core::JsonRepresentation; end
177
+
178
+ include Google::Apis::Core::JsonObjectSupport
179
+ end
180
+
169
181
  class ExternalData
170
182
  class Representation < Google::Apis::Core::JsonRepresentation; end
171
183
 
@@ -478,6 +490,7 @@ module Google
478
490
  property :common_criteria_mode, as: 'commonCriteriaMode'
479
491
  property :developer_settings, as: 'developerSettings'
480
492
  property :google_play_protect_verify_apps, as: 'googlePlayProtectVerifyApps'
493
+ collection :personal_apps_that_can_read_work_notifications, as: 'personalAppsThatCanReadWorkNotifications'
481
494
  property :untrusted_apps_policy, as: 'untrustedAppsPolicy'
482
495
  end
483
496
  end
@@ -545,6 +558,8 @@ module Google
545
558
  property :default_permission_policy, as: 'defaultPermissionPolicy'
546
559
  collection :delegated_scopes, as: 'delegatedScopes'
547
560
  property :disabled, as: 'disabled'
561
+ property :extension_config, as: 'extensionConfig', class: Google::Apis::AndroidmanagementV1::ExtensionConfig, decorator: Google::Apis::AndroidmanagementV1::ExtensionConfig::Representation
562
+
548
563
  property :install_type, as: 'installType'
549
564
  property :lock_task_allowed, as: 'lockTaskAllowed'
550
565
  hash :managed_configuration, as: 'managedConfiguration'
@@ -654,6 +669,15 @@ module Google
654
669
  end
655
670
  end
656
671
 
672
+ class CrossProfilePolicies
673
+ # @private
674
+ class Representation < Google::Apis::Core::JsonRepresentation
675
+ property :cross_profile_copy_paste, as: 'crossProfileCopyPaste'
676
+ property :cross_profile_data_sharing, as: 'crossProfileDataSharing'
677
+ property :show_work_contacts_in_personal_profile, as: 'showWorkContactsInPersonalProfile'
678
+ end
679
+ end
680
+
657
681
  class Date
658
682
  # @private
659
683
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -789,6 +813,14 @@ module Google
789
813
  end
790
814
  end
791
815
 
816
+ class ExtensionConfig
817
+ # @private
818
+ class Representation < Google::Apis::Core::JsonRepresentation
819
+ property :notification_receiver, as: 'notificationReceiver'
820
+ collection :signing_key_fingerprints_sha256, as: 'signingKeyFingerprintsSha256'
821
+ end
822
+ end
823
+
792
824
  class ExternalData
793
825
  # @private
794
826
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1115,6 +1147,8 @@ module Google
1115
1147
 
1116
1148
  property :create_windows_disabled, as: 'createWindowsDisabled'
1117
1149
  property :credentials_config_disabled, as: 'credentialsConfigDisabled'
1150
+ property :cross_profile_policies, as: 'crossProfilePolicies', class: Google::Apis::AndroidmanagementV1::CrossProfilePolicies, decorator: Google::Apis::AndroidmanagementV1::CrossProfilePolicies::Representation
1151
+
1118
1152
  property :data_roaming_disabled, as: 'dataRoamingDisabled'
1119
1153
  property :debugging_features_allowed, as: 'debuggingFeaturesAllowed'
1120
1154
  property :default_permission_policy, as: 'defaultPermissionPolicy'
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.15.0
4
+ version: 0.19.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: 2021-08-02 00:00:00.000000000 Z
11
+ date: 2021-10-11 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/master/generated/google-apis-androidmanagement_v1/CHANGELOG.md
61
- documentation_uri: https://googleapis.dev/ruby/google-apis-androidmanagement_v1/v0.15.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-androidmanagement_v1/v0.19.0
62
62
  source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/master/generated/google-apis-androidmanagement_v1
63
63
  post_install_message:
64
64
  rdoc_options: []