google-apis-androidmanagement_v1 0.12.0 → 0.16.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: cfbd76396fa4336a4d928e4dc3ef75acfae0fec452166f339a4fa50df693a91b
4
- data.tar.gz: d6814b7152f6ad56f7a437e7e3d75ac1d5642d65a60bf7c4b46aa7a8863eb828
3
+ metadata.gz: 1acb88d3c8b6955450f04c4fc1d184f237f65eb231f760adf213c6024f39658e
4
+ data.tar.gz: 5cfe64d1e1e3f7a95866e5bf37fe531cfe02f0e9333bcf2c5366ed8d410d9232
5
5
  SHA512:
6
- metadata.gz: 07e89b1c74ff5ce13a42927c70783ce4c382e806ece74b22ca8543907be03db9189fcd590a659d01595888ff8f3733c2797bf2bedd228451e1232ec48fd5df41
7
- data.tar.gz: ba7a4d582a9e0b3371990de0668f7865e5ff60ceb3078036fdbd6db4ee12cd52fceb1c35165496ce349e64a3026161808aa823bf158a22eb4860f01a0fff3979
6
+ metadata.gz: 304c017b2e9a11057e5a75c0d00de4a08aed928a09aa489f3b05b896853ab2d5f6f7c125d1b135be4aaaae8e3e1d6c73c24ff1dcde6b92d1f6fec85a6823651c
7
+ data.tar.gz: 23a937576deb4775c6872523e0329a36385564291040715e40a669bdc8d7c3a0e3acb6314af82ce776e292e48b0c925a5b17ec2553a1be521abd2a84e045511e
data/CHANGELOG.md CHANGED
@@ -1,5 +1,21 @@
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
+
7
+ ### v0.15.0 (2021-07-29)
8
+
9
+ * Regenerated from discovery document revision 20210719
10
+
11
+ ### v0.14.0 (2021-07-15)
12
+
13
+ * Regenerated from discovery document revision 20210713
14
+
15
+ ### v0.13.0 (2021-06-29)
16
+
17
+ * Regenerated using generator version 0.4.0
18
+
3
19
  ### v0.12.0 (2021-06-24)
4
20
 
5
21
  * Unspecified changes
@@ -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
@@ -1798,18 +1845,16 @@ module Google
1798
1845
  end
1799
1846
  end
1800
1847
 
1801
- # This feature is not generally available yet. Response to a request to list
1802
- # enterprises.
1848
+ # Response to a request to list enterprises.
1803
1849
  class ListEnterprisesResponse
1804
1850
  include Google::Apis::Core::Hashable
1805
1851
 
1806
- # This feature is not generally available yet. The list of enterprises.
1852
+ # The list of enterprises.
1807
1853
  # Corresponds to the JSON property `enterprises`
1808
1854
  # @return [Array<Google::Apis::AndroidmanagementV1::Enterprise>]
1809
1855
  attr_accessor :enterprises
1810
1856
 
1811
- # This feature is not generally available yet. If there are more results, a
1812
- # token to retrieve next page of results.
1857
+ # If there are more results, a token to retrieve next page of results.
1813
1858
  # Corresponds to the JSON property `nextPageToken`
1814
1859
  # @return [String]
1815
1860
  attr_accessor :next_page_token
@@ -2704,6 +2749,11 @@ module Google
2704
2749
  attr_accessor :credentials_config_disabled
2705
2750
  alias_method :credentials_config_disabled?, :credentials_config_disabled
2706
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
+
2707
2757
  # Whether roaming data services are disabled.
2708
2758
  # Corresponds to the JSON property `dataRoamingDisabled`
2709
2759
  # @return [Boolean]
@@ -3121,6 +3171,7 @@ module Google
3121
3171
  @compliance_rules = args[:compliance_rules] if args.key?(:compliance_rules)
3122
3172
  @create_windows_disabled = args[:create_windows_disabled] if args.key?(:create_windows_disabled)
3123
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)
3124
3175
  @data_roaming_disabled = args[:data_roaming_disabled] if args.key?(:data_roaming_disabled)
3125
3176
  @debugging_features_allowed = args[:debugging_features_allowed] if args.key?(:debugging_features_allowed)
3126
3177
  @default_permission_policy = args[:default_permission_policy] if args.key?(:default_permission_policy)
@@ -3620,7 +3671,7 @@ module Google
3620
3671
  attr_accessor :hardware_status_enabled
3621
3672
  alias_method :hardware_status_enabled?, :hardware_status_enabled
3622
3673
 
3623
- # Whether memory reporting is enabled.
3674
+ # Whether memory event reporting is enabled.
3624
3675
  # Corresponds to the JSON property `memoryInfoEnabled`
3625
3676
  # @return [Boolean]
3626
3677
  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.12.0"
19
+ GEM_VERSION = "0.16.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.3.0"
22
+ GENERATOR_VERSION = "0.4.0"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20210607"
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'
@@ -53,14 +53,18 @@ module Google
53
53
  # Creates an enterprise. This is the last step in the enterprise signup flow.
54
54
  # @param [Google::Apis::AndroidmanagementV1::Enterprise] enterprise_object
55
55
  # @param [Boolean] agreement_accepted
56
- # This feature is not generally available yet. Whether the managed Google Play
57
- # Agreement is presented and agreed.
56
+ # Whether the enterprise admin has seen and agreed to the managed Google Play
57
+ # Agreement (https://www.android.com/enterprise/terms/). Always set this to true
58
+ # when creating an EMM-managed enterprise. Do not create the enterprise until
59
+ # the admin has viewed and accepted the agreement.
58
60
  # @param [String] enterprise_token
59
- # The enterprise token appended to the callback URL.
61
+ # The enterprise token appended to the callback URL. Only set this when creating
62
+ # a customer-managed enterprise.
60
63
  # @param [String] project_id
61
64
  # The ID of the Google Cloud Platform project which will own the enterprise.
62
65
  # @param [String] signup_url_name
63
- # The name of the SignupUrl used to sign up for the enterprise.
66
+ # The name of the SignupUrl used to sign up for the enterprise. Only set this
67
+ # when creating a customer-managed enterprise.
64
68
  # @param [String] fields
65
69
  # Selector specifying which fields to include in a partial response.
66
70
  # @param [String] quota_user
@@ -93,10 +97,9 @@ module Google
93
97
  execute_or_queue_command(command, &block)
94
98
  end
95
99
 
96
- # This feature is not generally available yet. Deletes an enterprise.
100
+ # Deletes an enterprise. Only available for EMM-managed enterprises.
97
101
  # @param [String] name
98
- # This feature is not generally available yet. The name of the enterprise in the
99
- # form enterprises/`enterpriseId`.
102
+ # The name of the enterprise in the form enterprises/`enterpriseId`.
100
103
  # @param [String] fields
101
104
  # Selector specifying which fields to include in a partial response.
102
105
  # @param [String] quota_user
@@ -154,20 +157,16 @@ module Google
154
157
  execute_or_queue_command(command, &block)
155
158
  end
156
159
 
157
- # This feature is not generally available yet. Lists enterprises that are
158
- # managed by an EMM. Only partial views are returned.
160
+ # Lists EMM-managed enterprises. Only BASIC fields are returned.
159
161
  # @param [Fixnum] page_size
160
- # This feature is not generally available yet. The requested page size. The
161
- # actual page size may be fixed to a min or max value.
162
+ # The requested page size. The actual page size may be fixed to a min or max
163
+ # value.
162
164
  # @param [String] page_token
163
- # This feature is not generally available yet. A token identifying a page of
164
- # results returned by the server.
165
+ # A token identifying a page of results returned by the server.
165
166
  # @param [String] project_id
166
- # Required. This feature is not generally available yet. The ID of the Cloud
167
- # project of the EMM the enterprises belongs to.
167
+ # Required. The Cloud project ID of the EMM managing the enterprises.
168
168
  # @param [String] view
169
- # This feature is not generally available yet. View that specify that partial
170
- # response should be returned.
169
+ # Specifies which Enterprise fields to return. This method only supports BASIC.
171
170
  # @param [String] fields
172
171
  # Selector specifying which fields to include in a partial response.
173
172
  # @param [String] quota_user
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.12.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-06-28 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
@@ -16,7 +16,7 @@ dependencies:
16
16
  requirements:
17
17
  - - ">="
18
18
  - !ruby/object:Gem::Version
19
- version: '0.3'
19
+ version: '0.4'
20
20
  - - "<"
21
21
  - !ruby/object:Gem::Version
22
22
  version: 2.a
@@ -26,7 +26,7 @@ dependencies:
26
26
  requirements:
27
27
  - - ">="
28
28
  - !ruby/object:Gem::Version
29
- version: '0.3'
29
+ version: '0.4'
30
30
  - - "<"
31
31
  - !ruby/object:Gem::Version
32
32
  version: 2.a
@@ -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.12.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: []