google-apis-androidmanagement_v1 0.13.0 → 0.17.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: 8e7a67fa94bac577f12fe26183b5c13798ec4165b76d568660398db0ed15376d
4
- data.tar.gz: 80c84a78be58e88bbdac1a00b979b5c0f29c58d0cd265b43cbbb3513f4b496f8
3
+ metadata.gz: 9777f322f7217b98daac1d5ef583111b57555b2c1dd68f660aa3aae2f1b13681
4
+ data.tar.gz: b7fbb01c415889c723a6ca15d2ffeec5cc320d7011bf5bf3139beabb2823585e
5
5
  SHA512:
6
- metadata.gz: 7541f79396e5e55a23ac0c3e72ad70fada6678c3ffbf742b990eb3044d64b4a3a4052e2301ea30565965c7146620cf0a0ed13c981595b949f174928c78f07124
7
- data.tar.gz: 596d9396d7ebd4424d51916a8fe04d2e1a9773ba42a11392a025632ed353045fc303d0a5a35795016444a8f4d5639d9f873ba67abc87a22575792bb132996581
6
+ metadata.gz: 2864720fc1d403a388781a0fb3a7c812586597527e001765f530b81718edf6ab276cb81d946730935268b9dd80b2fc74de2b9cae823da86c13d86ef292da2fcf
7
+ data.tar.gz: 6bac7beb61b54545bdb14d7928380d84dc15cc4dd14116ede89daec0e6cf6f60753928079e5b4e0797c260d1a55cd855587eadd4ef8e70b23e1cfc32cc92c69c
data/CHANGELOG.md CHANGED
@@ -1,5 +1,21 @@
1
1
  # Release history for google-apis-androidmanagement_v1
2
2
 
3
+ ### v0.17.0 (2021-09-01)
4
+
5
+ * Regenerated from discovery document revision 20210825
6
+
7
+ ### v0.16.0 (2021-08-26)
8
+
9
+ * Regenerated from discovery document revision 20210818
10
+
11
+ ### v0.15.0 (2021-07-29)
12
+
13
+ * Regenerated from discovery document revision 20210719
14
+
15
+ ### v0.14.0 (2021-07-15)
16
+
17
+ * Regenerated from discovery document revision 20210713
18
+
3
19
  ### v0.13.0 (2021-06-29)
4
20
 
5
21
  * Regenerated using generator version 0.4.0
@@ -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
@@ -693,7 +703,7 @@ module Google
693
703
  end
694
704
  end
695
705
 
696
- # Contact details for LaForge enterprises.
706
+ # Contact details for managed Google Play enterprises.
697
707
  class ContactInfo
698
708
  include Google::Apis::Core::Hashable
699
709
 
@@ -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
@@ -1328,7 +1375,7 @@ module Google
1328
1375
  attr_accessor :app_auto_approval_enabled
1329
1376
  alias_method :app_auto_approval_enabled?, :app_auto_approval_enabled
1330
1377
 
1331
- # Contact details for LaForge enterprises.
1378
+ # Contact details for managed Google Play enterprises.
1332
1379
  # Corresponds to the JSON property `contactInfo`
1333
1380
  # @return [Google::Apis::AndroidmanagementV1::ContactInfo]
1334
1381
  attr_accessor :contact_info
@@ -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.13.0"
19
+ GEM_VERSION = "0.17.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 = "20210607"
25
+ REVISION = "20210825"
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.13.0
4
+ version: 0.17.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-05 00:00:00.000000000 Z
11
+ date: 2021-09-06 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.13.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-androidmanagement_v1/v0.17.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: []