google-apis-androidmanagement_v1 0.14.0 → 0.18.0

Sign up to get free protection for your applications and to get access to all the features.
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 24ca84fac522fa43b0ec67b49a4e1053a74db5209578ce4e90ff05c186376a46
4
- data.tar.gz: 84b1e5fb65ed736bc3af2488c991d597a7b98529cfd568d32b784a2b62f70812
3
+ metadata.gz: c7b1bea816775baaef6ad67d632214e5df24f67d5da36ad119156b8ddfb46d85
4
+ data.tar.gz: f9eab61ff75175ffec8ff3e7c5e2ec8510d89cfa5c3ab10df8ae189c701b5c10
5
5
  SHA512:
6
- metadata.gz: e02b2d4c74269f4ca4dcac72c80f18e967bb66016a3bb4a4ba75daf6175bdda4f61222d2bbd71337f4555674d812dc24f964b22c1fc024c6f06afc1535e28e01
7
- data.tar.gz: c4ecdf98fea5c8c3f86e62a60f74aa255f781616ac9e7c7c1fec1e9e5f77204eefec2252de11621e88a5994bf4b7b8fb2356cc7adb7d70b8d92d2ec387ddab42
6
+ metadata.gz: 86b0871328693425c6122eea89095eff2fb35df6cb7b355c65ade7c502c2764704dd74c4f459845871bb37103ca7835132e918d48639737f92affb33341c97fd
7
+ data.tar.gz: 1392be72259de02934fe1e0750ccda412cca0a46717fa69db810948c200a72b963ffff1c735fee8dd5285b1143a75f2c4af257fe52afd7ce0cc0c74ff6730a40
data/CHANGELOG.md CHANGED
@@ -1,5 +1,21 @@
1
1
  # Release history for google-apis-androidmanagement_v1
2
2
 
3
+ ### v0.18.0 (2021-09-17)
4
+
5
+ * Regenerated from discovery document revision 20210916
6
+
7
+ ### v0.17.0 (2021-09-01)
8
+
9
+ * Regenerated from discovery document revision 20210825
10
+
11
+ ### v0.16.0 (2021-08-26)
12
+
13
+ * Regenerated from discovery document revision 20210818
14
+
15
+ ### v0.15.0 (2021-07-29)
16
+
17
+ * Regenerated from discovery document revision 20210719
18
+
3
19
  ### v0.14.0 (2021-07-15)
4
20
 
5
21
  * Regenerated from discovery document revision 20210713
@@ -53,6 +53,15 @@ module Google
53
53
  # @return [String]
54
54
  attr_accessor :google_play_protect_verify_apps
55
55
 
56
+ # Personal apps that can read work profile notifications using a
57
+ # NotificationListenerService (https://developer.android.com/reference/android/
58
+ # service/notification/NotificationListenerService). By default, no personal
59
+ # apps (aside from system apps) can read work notifications. Each value in the
60
+ # list must be a package name.
61
+ # Corresponds to the JSON property `personalAppsThatCanReadWorkNotifications`
62
+ # @return [Array<String>]
63
+ attr_accessor :personal_apps_that_can_read_work_notifications
64
+
56
65
  # The policy for untrusted apps (apps from unknown sources) enforced on the
57
66
  # device. Replaces install_unknown_sources_allowed (deprecated).
58
67
  # Corresponds to the JSON property `untrustedAppsPolicy`
@@ -68,6 +77,7 @@ module Google
68
77
  @common_criteria_mode = args[:common_criteria_mode] if args.key?(:common_criteria_mode)
69
78
  @developer_settings = args[:developer_settings] if args.key?(:developer_settings)
70
79
  @google_play_protect_verify_apps = args[:google_play_protect_verify_apps] if args.key?(:google_play_protect_verify_apps)
80
+ @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
81
  @untrusted_apps_policy = args[:untrusted_apps_policy] if args.key?(:untrusted_apps_policy)
72
82
  end
73
83
  end
@@ -291,6 +301,12 @@ module Google
291
301
  attr_accessor :disabled
292
302
  alias_method :disabled?, :disabled
293
303
 
304
+ # Configuration to enable an app as an extension app, with the capability of
305
+ # interacting with Android Device Policy offline.
306
+ # Corresponds to the JSON property `extensionConfig`
307
+ # @return [Google::Apis::AndroidmanagementV1::ExtensionConfig]
308
+ attr_accessor :extension_config
309
+
294
310
  # The type of installation to perform.
295
311
  # Corresponds to the JSON property `installType`
296
312
  # @return [String]
@@ -354,6 +370,7 @@ module Google
354
370
  @default_permission_policy = args[:default_permission_policy] if args.key?(:default_permission_policy)
355
371
  @delegated_scopes = args[:delegated_scopes] if args.key?(:delegated_scopes)
356
372
  @disabled = args[:disabled] if args.key?(:disabled)
373
+ @extension_config = args[:extension_config] if args.key?(:extension_config)
357
374
  @install_type = args[:install_type] if args.key?(:install_type)
358
375
  @lock_task_allowed = args[:lock_task_allowed] if args.key?(:lock_task_allowed)
359
376
  @managed_configuration = args[:managed_configuration] if args.key?(:managed_configuration)
@@ -693,7 +710,7 @@ module Google
693
710
  end
694
711
  end
695
712
 
696
- # Contact details for LaForge enterprises.
713
+ # Contact details for managed Google Play enterprises.
697
714
  class ContactInfo
698
715
  include Google::Apis::Core::Hashable
699
716
 
@@ -783,6 +800,43 @@ module Google
783
800
  end
784
801
  end
785
802
 
803
+ # Cross-profile policies applied on the device.
804
+ class CrossProfilePolicies
805
+ include Google::Apis::Core::Hashable
806
+
807
+ # Whether text copied from one profile (personal or work) can be pasted in the
808
+ # other profile.
809
+ # Corresponds to the JSON property `crossProfileCopyPaste`
810
+ # @return [String]
811
+ attr_accessor :cross_profile_copy_paste
812
+
813
+ # Whether data from one profile (personal or work) can be shared with apps in
814
+ # the other profile. Specifically controls simple data sharing via intents.
815
+ # Management of other cross-profile communication channels, such as contact
816
+ # search, copy/paste, or connected work & personal apps, are configured
817
+ # separately.
818
+ # Corresponds to the JSON property `crossProfileDataSharing`
819
+ # @return [String]
820
+ attr_accessor :cross_profile_data_sharing
821
+
822
+ # Whether contacts stored in the work profile can be shown in personal profile
823
+ # contact searches and incoming calls.
824
+ # Corresponds to the JSON property `showWorkContactsInPersonalProfile`
825
+ # @return [String]
826
+ attr_accessor :show_work_contacts_in_personal_profile
827
+
828
+ def initialize(**args)
829
+ update!(**args)
830
+ end
831
+
832
+ # Update properties of this object
833
+ def update!(**args)
834
+ @cross_profile_copy_paste = args[:cross_profile_copy_paste] if args.key?(:cross_profile_copy_paste)
835
+ @cross_profile_data_sharing = args[:cross_profile_data_sharing] if args.key?(:cross_profile_data_sharing)
836
+ @show_work_contacts_in_personal_profile = args[:show_work_contacts_in_personal_profile] if args.key?(:show_work_contacts_in_personal_profile)
837
+ end
838
+ end
839
+
786
840
  # Represents a whole or partial calendar date, such as a birthday. The time of
787
841
  # day and time zone are either specified elsewhere or are insignificant. The
788
842
  # date is relative to the Gregorian Calendar. This can represent one of the
@@ -1328,7 +1382,7 @@ module Google
1328
1382
  attr_accessor :app_auto_approval_enabled
1329
1383
  alias_method :app_auto_approval_enabled?, :app_auto_approval_enabled
1330
1384
 
1331
- # Contact details for LaForge enterprises.
1385
+ # Contact details for managed Google Play enterprises.
1332
1386
  # Corresponds to the JSON property `contactInfo`
1333
1387
  # @return [Google::Apis::AndroidmanagementV1::ContactInfo]
1334
1388
  attr_accessor :contact_info
@@ -1400,6 +1454,41 @@ module Google
1400
1454
  end
1401
1455
  end
1402
1456
 
1457
+ # Configuration to enable an app as an extension app, with the capability of
1458
+ # interacting with Android Device Policy offline.
1459
+ class ExtensionConfig
1460
+ include Google::Apis::Core::Hashable
1461
+
1462
+ # Fully qualified class name of the receiver service class for Android Device
1463
+ # Policy to notify the extension app of any local command status updates.
1464
+ # Corresponds to the JSON property `notificationReceiver`
1465
+ # @return [String]
1466
+ attr_accessor :notification_receiver
1467
+
1468
+ # Hex-encoded SHA256 hash of the signing certificate of the extension app. Only
1469
+ # hexadecimal string representations of 64 characters are valid.If not specified,
1470
+ # the signature for the corresponding package name is obtained from the Play
1471
+ # Store instead.If this list is empty, the signature of the extension app on the
1472
+ # device must match the signature obtained from the Play Store for the app to be
1473
+ # able to communicate with Android Device Policy.If this list is not empty, the
1474
+ # signature of the extension app on the device must match one of the entries in
1475
+ # this list for the app to be able to communicate with Android Device Policy.In
1476
+ # production use cases, it is recommended to leave this empty.
1477
+ # Corresponds to the JSON property `signingKeyFingerprintsSha256`
1478
+ # @return [Array<String>]
1479
+ attr_accessor :signing_key_fingerprints_sha256
1480
+
1481
+ def initialize(**args)
1482
+ update!(**args)
1483
+ end
1484
+
1485
+ # Update properties of this object
1486
+ def update!(**args)
1487
+ @notification_receiver = args[:notification_receiver] if args.key?(:notification_receiver)
1488
+ @signing_key_fingerprints_sha256 = args[:signing_key_fingerprints_sha256] if args.key?(:signing_key_fingerprints_sha256)
1489
+ end
1490
+ end
1491
+
1403
1492
  # Data hosted at an external location. The data is to be downloaded by Android
1404
1493
  # Device Policy and verified against the hash.
1405
1494
  class ExternalData
@@ -2702,6 +2791,11 @@ module Google
2702
2791
  attr_accessor :credentials_config_disabled
2703
2792
  alias_method :credentials_config_disabled?, :credentials_config_disabled
2704
2793
 
2794
+ # Cross-profile policies applied on the device.
2795
+ # Corresponds to the JSON property `crossProfilePolicies`
2796
+ # @return [Google::Apis::AndroidmanagementV1::CrossProfilePolicies]
2797
+ attr_accessor :cross_profile_policies
2798
+
2705
2799
  # Whether roaming data services are disabled.
2706
2800
  # Corresponds to the JSON property `dataRoamingDisabled`
2707
2801
  # @return [Boolean]
@@ -3119,6 +3213,7 @@ module Google
3119
3213
  @compliance_rules = args[:compliance_rules] if args.key?(:compliance_rules)
3120
3214
  @create_windows_disabled = args[:create_windows_disabled] if args.key?(:create_windows_disabled)
3121
3215
  @credentials_config_disabled = args[:credentials_config_disabled] if args.key?(:credentials_config_disabled)
3216
+ @cross_profile_policies = args[:cross_profile_policies] if args.key?(:cross_profile_policies)
3122
3217
  @data_roaming_disabled = args[:data_roaming_disabled] if args.key?(:data_roaming_disabled)
3123
3218
  @debugging_features_allowed = args[:debugging_features_allowed] if args.key?(:debugging_features_allowed)
3124
3219
  @default_permission_policy = args[:default_permission_policy] if args.key?(:default_permission_policy)
@@ -3618,7 +3713,7 @@ module Google
3618
3713
  attr_accessor :hardware_status_enabled
3619
3714
  alias_method :hardware_status_enabled?, :hardware_status_enabled
3620
3715
 
3621
- # Whether memory reporting is enabled.
3716
+ # Whether memory event reporting is enabled.
3622
3717
  # Corresponds to the JSON property `memoryInfoEnabled`
3623
3718
  # @return [Boolean]
3624
3719
  attr_accessor :memory_info_enabled
@@ -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.14.0"
19
+ GEM_VERSION = "0.18.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 = "20210713"
25
+ REVISION = "20210916"
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.14.0
4
+ version: 0.18.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-07-19 00:00:00.000000000 Z
11
+ date: 2021-09-20 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.14.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-androidmanagement_v1/v0.18.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: []