google-apis-androidmanagement_v1 0.15.0 → 0.16.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: 03c90d60f4cdee1be308f4966f72299c023334c3d3b6861f15bd3450fe4e0180
4
- data.tar.gz: b4204709dc33de536aa2d5cc0167a9cf0d98ae8f015319a164b65aff3d615705
3
+ metadata.gz: 1acb88d3c8b6955450f04c4fc1d184f237f65eb231f760adf213c6024f39658e
4
+ data.tar.gz: 5cfe64d1e1e3f7a95866e5bf37fe531cfe02f0e9333bcf2c5366ed8d410d9232
5
5
  SHA512:
6
- metadata.gz: 3631d3084928eee5b135974ff36afe2fbed75fad7c36d239f68e2721f3303bc3bbc14fe277a5c23f6bb84e45ae4ec9361fca17761475d5af8410b0e43182dd86
7
- data.tar.gz: c712411cb0931dd965b2c760c1e86bb2ddd13743e8c0cc34c3f9e5a3fce562c3bc4b8df096e3dcb48ccecb2c3683fe9fef4907ef926b7efe8352fdecb2f7415a
6
+ metadata.gz: 304c017b2e9a11057e5a75c0d00de4a08aed928a09aa489f3b05b896853ab2d5f6f7c125d1b135be4aaaae8e3e1d6c73c24ff1dcde6b92d1f6fec85a6823651c
7
+ data.tar.gz: 23a937576deb4775c6872523e0329a36385564291040715e40a669bdc8d7c3a0e3acb6314af82ce776e292e48b0c925a5b17ec2553a1be521abd2a84e045511e
data/CHANGELOG.md CHANGED
@@ -1,5 +1,9 @@
1
1
  # Release history for google-apis-androidmanagement_v1
2
2
 
3
+ ### v0.16.0 (2021-08-26)
4
+
5
+ * Regenerated from discovery document revision 20210818
6
+
3
7
  ### v0.15.0 (2021-07-29)
4
8
 
5
9
  * Regenerated from discovery document revision 20210719
@@ -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
@@ -783,6 +793,43 @@ module Google
783
793
  end
784
794
  end
785
795
 
796
+ # Cross-profile policies applied on the device.
797
+ class CrossProfilePolicies
798
+ include Google::Apis::Core::Hashable
799
+
800
+ # Whether text copied from one profile (personal or work) can be pasted in the
801
+ # other profile.
802
+ # Corresponds to the JSON property `crossProfileCopyPaste`
803
+ # @return [String]
804
+ attr_accessor :cross_profile_copy_paste
805
+
806
+ # Whether data from one profile (personal or work) can be shared with apps in
807
+ # the other profile. Specifically controls simple data sharing via intents.
808
+ # Management of other cross-profile communication channels, such as contact
809
+ # search, copy/paste, or connected work & personal apps, are configured
810
+ # separately.
811
+ # Corresponds to the JSON property `crossProfileDataSharing`
812
+ # @return [String]
813
+ attr_accessor :cross_profile_data_sharing
814
+
815
+ # Whether contacts stored in the work profile can be shown in personal profile
816
+ # contact searches and incoming calls.
817
+ # Corresponds to the JSON property `showWorkContactsInPersonalProfile`
818
+ # @return [String]
819
+ attr_accessor :show_work_contacts_in_personal_profile
820
+
821
+ def initialize(**args)
822
+ update!(**args)
823
+ end
824
+
825
+ # Update properties of this object
826
+ def update!(**args)
827
+ @cross_profile_copy_paste = args[:cross_profile_copy_paste] if args.key?(:cross_profile_copy_paste)
828
+ @cross_profile_data_sharing = args[:cross_profile_data_sharing] if args.key?(:cross_profile_data_sharing)
829
+ @show_work_contacts_in_personal_profile = args[:show_work_contacts_in_personal_profile] if args.key?(:show_work_contacts_in_personal_profile)
830
+ end
831
+ end
832
+
786
833
  # Represents a whole or partial calendar date, such as a birthday. The time of
787
834
  # day and time zone are either specified elsewhere or are insignificant. The
788
835
  # date is relative to the Gregorian Calendar. This can represent one of the
@@ -2702,6 +2749,11 @@ module Google
2702
2749
  attr_accessor :credentials_config_disabled
2703
2750
  alias_method :credentials_config_disabled?, :credentials_config_disabled
2704
2751
 
2752
+ # Cross-profile policies applied on the device.
2753
+ # Corresponds to the JSON property `crossProfilePolicies`
2754
+ # @return [Google::Apis::AndroidmanagementV1::CrossProfilePolicies]
2755
+ attr_accessor :cross_profile_policies
2756
+
2705
2757
  # Whether roaming data services are disabled.
2706
2758
  # Corresponds to the JSON property `dataRoamingDisabled`
2707
2759
  # @return [Boolean]
@@ -3119,6 +3171,7 @@ module Google
3119
3171
  @compliance_rules = args[:compliance_rules] if args.key?(:compliance_rules)
3120
3172
  @create_windows_disabled = args[:create_windows_disabled] if args.key?(:create_windows_disabled)
3121
3173
  @credentials_config_disabled = args[:credentials_config_disabled] if args.key?(:credentials_config_disabled)
3174
+ @cross_profile_policies = args[:cross_profile_policies] if args.key?(:cross_profile_policies)
3122
3175
  @data_roaming_disabled = args[:data_roaming_disabled] if args.key?(:data_roaming_disabled)
3123
3176
  @debugging_features_allowed = args[:debugging_features_allowed] if args.key?(:debugging_features_allowed)
3124
3177
  @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.16.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 = "20210818"
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
 
@@ -478,6 +484,7 @@ module Google
478
484
  property :common_criteria_mode, as: 'commonCriteriaMode'
479
485
  property :developer_settings, as: 'developerSettings'
480
486
  property :google_play_protect_verify_apps, as: 'googlePlayProtectVerifyApps'
487
+ collection :personal_apps_that_can_read_work_notifications, as: 'personalAppsThatCanReadWorkNotifications'
481
488
  property :untrusted_apps_policy, as: 'untrustedAppsPolicy'
482
489
  end
483
490
  end
@@ -654,6 +661,15 @@ module Google
654
661
  end
655
662
  end
656
663
 
664
+ class CrossProfilePolicies
665
+ # @private
666
+ class Representation < Google::Apis::Core::JsonRepresentation
667
+ property :cross_profile_copy_paste, as: 'crossProfileCopyPaste'
668
+ property :cross_profile_data_sharing, as: 'crossProfileDataSharing'
669
+ property :show_work_contacts_in_personal_profile, as: 'showWorkContactsInPersonalProfile'
670
+ end
671
+ end
672
+
657
673
  class Date
658
674
  # @private
659
675
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1115,6 +1131,8 @@ module Google
1115
1131
 
1116
1132
  property :create_windows_disabled, as: 'createWindowsDisabled'
1117
1133
  property :credentials_config_disabled, as: 'credentialsConfigDisabled'
1134
+ property :cross_profile_policies, as: 'crossProfilePolicies', class: Google::Apis::AndroidmanagementV1::CrossProfilePolicies, decorator: Google::Apis::AndroidmanagementV1::CrossProfilePolicies::Representation
1135
+
1118
1136
  property :data_roaming_disabled, as: 'dataRoamingDisabled'
1119
1137
  property :debugging_features_allowed, as: 'debuggingFeaturesAllowed'
1120
1138
  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.16.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-08-30 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.16.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: []