google-api-client 0.40.2 → 0.41.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (154) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +66 -0
  3. data/generated/google/apis/androidmanagement_v1.rb +1 -1
  4. data/generated/google/apis/androidmanagement_v1/classes.rb +117 -0
  5. data/generated/google/apis/androidmanagement_v1/representations.rb +39 -0
  6. data/generated/google/apis/androidpublisher_v3.rb +1 -1
  7. data/generated/google/apis/appsmarket_v2.rb +1 -1
  8. data/generated/google/apis/artifactregistry_v1beta1.rb +1 -1
  9. data/generated/google/apis/artifactregistry_v1beta1/classes.rb +9 -0
  10. data/generated/google/apis/artifactregistry_v1beta1/representations.rb +1 -0
  11. data/generated/google/apis/bigquerydatatransfer_v1.rb +1 -1
  12. data/generated/google/apis/bigquerydatatransfer_v1/classes.rb +4 -4
  13. data/generated/google/apis/bigtableadmin_v1.rb +1 -1
  14. data/generated/google/apis/bigtableadmin_v1/classes.rb +5 -10
  15. data/generated/google/apis/bigtableadmin_v2.rb +1 -1
  16. data/generated/google/apis/bigtableadmin_v2/classes.rb +39 -31
  17. data/generated/google/apis/bigtableadmin_v2/service.rb +1 -5
  18. data/generated/google/apis/books_v1.rb +1 -1
  19. data/generated/google/apis/calendar_v3.rb +1 -1
  20. data/generated/google/apis/chat_v1.rb +1 -1
  21. data/generated/google/apis/chat_v1/classes.rb +2 -0
  22. data/generated/google/apis/cloudasset_v1.rb +1 -1
  23. data/generated/google/apis/cloudasset_v1/classes.rb +12 -3
  24. data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
  25. data/generated/google/apis/cloudasset_v1beta1/classes.rb +948 -36
  26. data/generated/google/apis/cloudasset_v1beta1/representations.rb +241 -0
  27. data/generated/google/apis/cloudasset_v1beta1/service.rb +4 -4
  28. data/generated/google/apis/cloudasset_v1p4beta1.rb +1 -1
  29. data/generated/google/apis/cloudasset_v1p4beta1/classes.rb +18 -19
  30. data/generated/google/apis/cloudasset_v1p4beta1/service.rb +10 -6
  31. data/generated/google/apis/clouderrorreporting_v1beta1.rb +1 -1
  32. data/generated/google/apis/clouderrorreporting_v1beta1/classes.rb +1 -1
  33. data/generated/google/apis/clouderrorreporting_v1beta1/service.rb +5 -6
  34. data/generated/google/apis/cloudidentity_v1.rb +1 -1
  35. data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
  36. data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
  37. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +14 -9
  38. data/generated/google/apis/cloudresourcemanager_v1/service.rb +15 -6
  39. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
  40. data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +4 -2
  41. data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
  42. data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
  43. data/generated/google/apis/compute_alpha.rb +1 -1
  44. data/generated/google/apis/compute_alpha/classes.rb +535 -43
  45. data/generated/google/apis/compute_alpha/representations.rb +167 -0
  46. data/generated/google/apis/compute_alpha/service.rb +922 -172
  47. data/generated/google/apis/compute_beta.rb +1 -1
  48. data/generated/google/apis/compute_beta/classes.rb +107 -42
  49. data/generated/google/apis/compute_beta/representations.rb +20 -0
  50. data/generated/google/apis/compute_v1.rb +1 -1
  51. data/generated/google/apis/compute_v1/classes.rb +22 -10
  52. data/generated/google/apis/compute_v1/representations.rb +1 -0
  53. data/generated/google/apis/container_v1beta1.rb +1 -1
  54. data/generated/google/apis/container_v1beta1/classes.rb +21 -7
  55. data/generated/google/apis/content_v2.rb +1 -1
  56. data/generated/google/apis/content_v2/classes.rb +7 -1
  57. data/generated/google/apis/content_v2/representations.rb +1 -0
  58. data/generated/google/apis/content_v2/service.rb +10 -5
  59. data/generated/google/apis/content_v2_1.rb +1 -1
  60. data/generated/google/apis/content_v2_1/classes.rb +93 -7
  61. data/generated/google/apis/content_v2_1/representations.rb +37 -0
  62. data/generated/google/apis/content_v2_1/service.rb +10 -5
  63. data/generated/google/apis/dataproc_v1.rb +1 -1
  64. data/generated/google/apis/dataproc_v1/classes.rb +46 -0
  65. data/generated/google/apis/dataproc_v1/representations.rb +17 -0
  66. data/generated/google/apis/dataproc_v1beta2.rb +1 -1
  67. data/generated/google/apis/dataproc_v1beta2/classes.rb +12 -0
  68. data/generated/google/apis/dataproc_v1beta2/representations.rb +1 -0
  69. data/generated/google/apis/dialogflow_v2.rb +1 -1
  70. data/generated/google/apis/dialogflow_v2/service.rb +14 -2
  71. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  72. data/generated/google/apis/dialogflow_v2beta1/service.rb +28 -4
  73. data/generated/google/apis/documentai_v1beta2.rb +36 -0
  74. data/generated/google/apis/documentai_v1beta2/classes.rb +3284 -0
  75. data/generated/google/apis/documentai_v1beta2/representations.rb +1344 -0
  76. data/generated/google/apis/documentai_v1beta2/service.rb +269 -0
  77. data/generated/google/apis/drive_v2.rb +1 -1
  78. data/generated/google/apis/drive_v2/service.rb +26 -78
  79. data/generated/google/apis/drive_v3.rb +1 -1
  80. data/generated/google/apis/drive_v3/service.rb +18 -54
  81. data/generated/google/apis/fcm_v1.rb +1 -1
  82. data/generated/google/apis/fcm_v1/classes.rb +6 -0
  83. data/generated/google/apis/firebase_v1beta1.rb +1 -1
  84. data/generated/google/apis/firebase_v1beta1/classes.rb +7 -6
  85. data/generated/google/apis/firebase_v1beta1/service.rb +53 -49
  86. data/generated/google/apis/healthcare_v1.rb +1 -1
  87. data/generated/google/apis/healthcare_v1/service.rb +2 -0
  88. data/generated/google/apis/healthcare_v1beta1.rb +1 -1
  89. data/generated/google/apis/healthcare_v1beta1/classes.rb +910 -43
  90. data/generated/google/apis/healthcare_v1beta1/representations.rb +404 -0
  91. data/generated/google/apis/healthcare_v1beta1/service.rb +517 -0
  92. data/generated/google/apis/iam_v1.rb +1 -1
  93. data/generated/google/apis/iam_v1/classes.rb +5 -0
  94. data/generated/google/apis/iam_v1/service.rb +4 -0
  95. data/generated/google/apis/iamcredentials_v1.rb +2 -2
  96. data/generated/google/apis/iamcredentials_v1/service.rb +1 -1
  97. data/generated/google/apis/lifesciences_v2beta.rb +1 -1
  98. data/generated/google/apis/lifesciences_v2beta/classes.rb +10 -0
  99. data/generated/google/apis/lifesciences_v2beta/representations.rb +1 -0
  100. data/generated/google/apis/monitoring_v3.rb +1 -1
  101. data/generated/google/apis/monitoring_v3/classes.rb +56 -17
  102. data/generated/google/apis/people_v1.rb +1 -1
  103. data/generated/google/apis/people_v1/classes.rb +4 -4
  104. data/generated/google/apis/people_v1/service.rb +6 -5
  105. data/generated/google/apis/run_v1.rb +1 -1
  106. data/generated/google/apis/run_v1/classes.rb +6 -6
  107. data/generated/google/apis/run_v1alpha1.rb +1 -1
  108. data/generated/google/apis/run_v1alpha1/classes.rb +6 -6
  109. data/generated/google/apis/run_v1beta1.rb +1 -1
  110. data/generated/google/apis/secretmanager_v1.rb +1 -1
  111. data/generated/google/apis/secretmanager_v1beta1.rb +1 -1
  112. data/generated/google/apis/securitycenter_v1.rb +1 -1
  113. data/generated/google/apis/securitycenter_v1/classes.rb +10 -10
  114. data/generated/google/apis/securitycenter_v1/service.rb +10 -10
  115. data/generated/google/apis/securitycenter_v1p1beta1.rb +1 -1
  116. data/generated/google/apis/securitycenter_v1p1beta1/classes.rb +10 -10
  117. data/generated/google/apis/securitycenter_v1p1beta1/service.rb +10 -10
  118. data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
  119. data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +21 -2
  120. data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +1 -0
  121. data/generated/google/apis/serviceconsumermanagement_v1beta1.rb +1 -1
  122. data/generated/google/apis/serviceconsumermanagement_v1beta1/classes.rb +21 -2
  123. data/generated/google/apis/serviceconsumermanagement_v1beta1/representations.rb +1 -0
  124. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  125. data/generated/google/apis/servicemanagement_v1/classes.rb +117 -37
  126. data/generated/google/apis/servicenetworking_v1.rb +1 -1
  127. data/generated/google/apis/servicenetworking_v1/classes.rb +13 -2
  128. data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
  129. data/generated/google/apis/servicenetworking_v1beta/classes.rb +13 -2
  130. data/generated/google/apis/serviceusage_v1.rb +1 -1
  131. data/generated/google/apis/serviceusage_v1/classes.rb +27 -2
  132. data/generated/google/apis/serviceusage_v1/representations.rb +2 -0
  133. data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
  134. data/generated/google/apis/serviceusage_v1beta1/classes.rb +72 -2
  135. data/generated/google/apis/serviceusage_v1beta1/representations.rb +30 -0
  136. data/generated/google/apis/serviceusage_v1beta1/service.rb +37 -0
  137. data/generated/google/apis/slides_v1.rb +1 -1
  138. data/generated/google/apis/slides_v1/classes.rb +4 -0
  139. data/generated/google/apis/vision_v1.rb +1 -1
  140. data/generated/google/apis/vision_v1/classes.rb +18 -0
  141. data/generated/google/apis/vision_v1p1beta1.rb +1 -1
  142. data/generated/google/apis/vision_v1p1beta1/classes.rb +18 -0
  143. data/generated/google/apis/vision_v1p2beta1.rb +1 -1
  144. data/generated/google/apis/vision_v1p2beta1/classes.rb +18 -0
  145. data/generated/google/apis/youtube_v3.rb +1 -1
  146. data/generated/google/apis/youtube_v3/classes.rb +38 -0
  147. data/generated/google/apis/youtube_v3/representations.rb +27 -0
  148. data/generated/google/apis/youtube_v3/service.rb +32 -0
  149. data/lib/google/apis/version.rb +1 -1
  150. metadata +7 -7
  151. data/generated/google/apis/customsearch_v1.rb +0 -31
  152. data/generated/google/apis/customsearch_v1/classes.rb +0 -1606
  153. data/generated/google/apis/customsearch_v1/representations.rb +0 -372
  154. data/generated/google/apis/customsearch_v1/service.rb +0 -608
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 85631843cd82c83065e06711a59cd3a6792d8bb9c15bef7eb7611c0348407ad5
4
- data.tar.gz: 21f40511a7bc7a35b19f2ee027f746e5f8ebaa77d18fc092073fe7af053d624a
3
+ metadata.gz: 6d6105a1ca747f50755c72ee1de0e6137b0f9d40e6d28c79301a3debb2c2dc8f
4
+ data.tar.gz: d1f811141cb8de3d8a583f2b6a655778489b6d6ff457076e5390332d9c2ae228
5
5
  SHA512:
6
- metadata.gz: a616d96437dcf882f74108ad9452f1fdce6be2edf7ca9bfb404a7a6850725df2165920d432eaa63c99aa6e739dda646c8890c914556d51ad821cced5789be493
7
- data.tar.gz: 30c2a47dac0b8f63da4bdc6b852d2dd3a6f8417b32606e98aef36efca23836650e7d47e4f25735481dd2bec672892904c4be05367c396bde9d1c522866251435
6
+ metadata.gz: cbf2f7c2ec3981b441e21fd55c9931a14f13fb415ff42bc3efc84aa311dc91bbd9c22c901a8412fea1c01ef63d95205ba6b59b6ac4307f7ca83fa06f3ae10503
7
+ data.tar.gz: 3cc33d1634ad012d44b0586837952ac5e33eb1300b48dcbd52cbcfa4630de6b9bfb5ef6ef700cebda7eeadf2294918db62319c4d79fa09eb4d0419ca81611b8c
@@ -1,3 +1,69 @@
1
+ # 0.41.0
2
+ * Breaking changes:
3
+ * Deleted `customsearch_v1`
4
+ * Backwards compatible changes:
5
+ * Added `documentai_v1beta2`
6
+ * Updated `androidmanagement_v1`
7
+ * Updated `androidpublisher_v3`
8
+ * Updated `appsmarket_v2`
9
+ * Updated `artifactregistry_v1beta1`
10
+ * Updated `bigquerydatatransfer_v1`
11
+ * Updated `bigtableadmin_v1`
12
+ * Updated `bigtableadmin_v2`
13
+ * Updated `books_v1`
14
+ * Updated `calendar_v3`
15
+ * Updated `chat_v1`
16
+ * Updated `cloudasset_v1`
17
+ * Updated `cloudasset_v1beta1`
18
+ * Updated `cloudasset_v1p4beta1`
19
+ * Updated `clouderrorreporting_v1beta1`
20
+ * Updated `cloudidentity_v1`
21
+ * Updated `cloudidentity_v1beta1`
22
+ * Updated `cloudresourcemanager_v1`
23
+ * Updated `cloudresourcemanager_v1beta1`
24
+ * Updated `cloudresourcemanager_v2`
25
+ * Updated `cloudresourcemanager_v2beta1`
26
+ * Updated `compute_alpha`
27
+ * Updated `compute_beta`
28
+ * Updated `compute_v1`
29
+ * Updated `container_v1beta1`
30
+ * Updated `content_v2`
31
+ * Updated `content_v2_1`
32
+ * Updated `dataproc_v1`
33
+ * Updated `dataproc_v1beta2`
34
+ * Updated `dialogflow_v2`
35
+ * Updated `dialogflow_v2beta1`
36
+ * Updated `drive_v2`
37
+ * Updated `drive_v3`
38
+ * Updated `fcm_v1`
39
+ * Updated `firebase_v1beta1`
40
+ * Updated `healthcare_v1`
41
+ * Updated `healthcare_v1beta1`
42
+ * Updated `iam_v1`
43
+ * Updated `iamcredentials_v1`
44
+ * Updated `lifesciences_v2beta`
45
+ * Updated `monitoring_v3`
46
+ * Updated `people_v1`
47
+ * Updated `run_v1`
48
+ * Updated `run_v1alpha1`
49
+ * Updated `run_v1beta1`
50
+ * Updated `secretmanager_v1`
51
+ * Updated `secretmanager_v1beta1`
52
+ * Updated `securitycenter_v1`
53
+ * Updated `securitycenter_v1p1beta1`
54
+ * Updated `serviceconsumermanagement_v1`
55
+ * Updated `serviceconsumermanagement_v1beta1`
56
+ * Updated `servicemanagement_v1`
57
+ * Updated `servicenetworking_v1`
58
+ * Updated `servicenetworking_v1beta`
59
+ * Updated `serviceusage_v1`
60
+ * Updated `serviceusage_v1beta1`
61
+ * Updated `slides_v1`
62
+ * Updated `vision_v1`
63
+ * Updated `vision_v1p1beta1`
64
+ * Updated `vision_v1p2beta1`
65
+ * Updated `youtube_v3`
66
+
1
67
  # 0.40.2
2
68
  * Backwards compatible changes:
3
69
  * Updated `androidenterprise_v1`
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://developers.google.com/android/management
27
27
  module AndroidmanagementV1
28
28
  VERSION = 'V1'
29
- REVISION = '20200330'
29
+ REVISION = '20200612'
30
30
 
31
31
  # Manage Android devices and apps for your customers
32
32
  AUTH_ANDROIDMANAGEMENT = 'https://www.googleapis.com/auth/androidmanagement'
@@ -446,6 +446,12 @@ module Google
446
446
  # @return [Fixnum]
447
447
  attr_accessor :block_after_days
448
448
 
449
+ # Specifies the scope of this BlockAction. Only applicable to devices that are
450
+ # company-owned.
451
+ # Corresponds to the JSON property `blockScope`
452
+ # @return [String]
453
+ attr_accessor :block_scope
454
+
449
455
  def initialize(**args)
450
456
  update!(**args)
451
457
  end
@@ -453,6 +459,7 @@ module Google
453
459
  # Update properties of this object
454
460
  def update!(**args)
455
461
  @block_after_days = args[:block_after_days] if args.key?(:block_after_days)
462
+ @block_scope = args[:block_scope] if args.key?(:block_scope)
456
463
  end
457
464
  end
458
465
 
@@ -776,6 +783,11 @@ module Google
776
783
  # @return [Array<Google::Apis::AndroidmanagementV1::NonComplianceDetail>]
777
784
  attr_accessor :non_compliance_details
778
785
 
786
+ # Ownership of the managed device.
787
+ # Corresponds to the JSON property `ownership`
788
+ # @return [String]
789
+ attr_accessor :ownership
790
+
779
791
  # Whether the device is compliant with its policy.
780
792
  # Corresponds to the JSON property `policyCompliant`
781
793
  # @return [Boolean]
@@ -872,6 +884,7 @@ module Google
872
884
  @name = args[:name] if args.key?(:name)
873
885
  @network_info = args[:network_info] if args.key?(:network_info)
874
886
  @non_compliance_details = args[:non_compliance_details] if args.key?(:non_compliance_details)
887
+ @ownership = args[:ownership] if args.key?(:ownership)
875
888
  @policy_compliant = args[:policy_compliant] if args.key?(:policy_compliant)
876
889
  @policy_name = args[:policy_name] if args.key?(:policy_name)
877
890
  @power_management_events = args[:power_management_events] if args.key?(:power_management_events)
@@ -1035,6 +1048,11 @@ module Google
1035
1048
  # @return [String]
1036
1049
  attr_accessor :additional_data
1037
1050
 
1051
+ # Controls personal usage on devices provisioned using this enrollment token.
1052
+ # Corresponds to the JSON property `allowPersonalUsage`
1053
+ # @return [String]
1054
+ attr_accessor :allow_personal_usage
1055
+
1038
1056
  # The length of time the enrollment token is valid, ranging from 1 minute to 30
1039
1057
  # days. If not specified, the default duration is 1 hour.
1040
1058
  # Corresponds to the JSON property `duration`
@@ -1098,6 +1116,7 @@ module Google
1098
1116
  # Update properties of this object
1099
1117
  def update!(**args)
1100
1118
  @additional_data = args[:additional_data] if args.key?(:additional_data)
1119
+ @allow_personal_usage = args[:allow_personal_usage] if args.key?(:allow_personal_usage)
1101
1120
  @duration = args[:duration] if args.key?(:duration)
1102
1121
  @expiration_timestamp = args[:expiration_timestamp] if args.key?(:expiration_timestamp)
1103
1122
  @name = args[:name] if args.key?(:name)
@@ -2203,6 +2222,84 @@ module Google
2203
2222
  end
2204
2223
  end
2205
2224
 
2225
+ # Policies for apps on the personal profile of a Corporate Owned Personally
2226
+ # Enabled device.
2227
+ class PersonalApplicationPolicy
2228
+ include Google::Apis::Core::Hashable
2229
+
2230
+ # The type of installation to perform.
2231
+ # Corresponds to the JSON property `installType`
2232
+ # @return [String]
2233
+ attr_accessor :install_type
2234
+
2235
+ # The package name of the application.
2236
+ # Corresponds to the JSON property `packageName`
2237
+ # @return [String]
2238
+ attr_accessor :package_name
2239
+
2240
+ def initialize(**args)
2241
+ update!(**args)
2242
+ end
2243
+
2244
+ # Update properties of this object
2245
+ def update!(**args)
2246
+ @install_type = args[:install_type] if args.key?(:install_type)
2247
+ @package_name = args[:package_name] if args.key?(:package_name)
2248
+ end
2249
+ end
2250
+
2251
+ # Policies controlling personal usage on a Corporate Owned Personally Enabled
2252
+ # device.
2253
+ class PersonalUsagePolicies
2254
+ include Google::Apis::Core::Hashable
2255
+
2256
+ # Account types that can't be managed by the user.
2257
+ # Corresponds to the JSON property `accountTypesWithManagementDisabled`
2258
+ # @return [Array<String>]
2259
+ attr_accessor :account_types_with_management_disabled
2260
+
2261
+ # Whether camera is disabled.
2262
+ # Corresponds to the JSON property `cameraDisabled`
2263
+ # @return [Boolean]
2264
+ attr_accessor :camera_disabled
2265
+ alias_method :camera_disabled?, :camera_disabled
2266
+
2267
+ # Controls how long the work profile can stay off.
2268
+ # Corresponds to the JSON property `maxDaysWithWorkOff`
2269
+ # @return [Fixnum]
2270
+ attr_accessor :max_days_with_work_off
2271
+
2272
+ # Policy applied to applications on the personal profile.
2273
+ # Corresponds to the JSON property `personalApplications`
2274
+ # @return [Array<Google::Apis::AndroidmanagementV1::PersonalApplicationPolicy>]
2275
+ attr_accessor :personal_applications
2276
+
2277
+ # Controls how apps on the personal profile are allowed or blocked.
2278
+ # Corresponds to the JSON property `personalPlayStoreMode`
2279
+ # @return [String]
2280
+ attr_accessor :personal_play_store_mode
2281
+
2282
+ # Whether screen capture is disabled.
2283
+ # Corresponds to the JSON property `screenCaptureDisabled`
2284
+ # @return [Boolean]
2285
+ attr_accessor :screen_capture_disabled
2286
+ alias_method :screen_capture_disabled?, :screen_capture_disabled
2287
+
2288
+ def initialize(**args)
2289
+ update!(**args)
2290
+ end
2291
+
2292
+ # Update properties of this object
2293
+ def update!(**args)
2294
+ @account_types_with_management_disabled = args[:account_types_with_management_disabled] if args.key?(:account_types_with_management_disabled)
2295
+ @camera_disabled = args[:camera_disabled] if args.key?(:camera_disabled)
2296
+ @max_days_with_work_off = args[:max_days_with_work_off] if args.key?(:max_days_with_work_off)
2297
+ @personal_applications = args[:personal_applications] if args.key?(:personal_applications)
2298
+ @personal_play_store_mode = args[:personal_play_store_mode] if args.key?(:personal_play_store_mode)
2299
+ @screen_capture_disabled = args[:screen_capture_disabled] if args.key?(:screen_capture_disabled)
2300
+ end
2301
+ end
2302
+
2206
2303
  # A policy resource represents a group of settings that govern the behavior of a
2207
2304
  # managed device and the apps installed on it.
2208
2305
  class Policy
@@ -2541,6 +2638,12 @@ module Google
2541
2638
  # @return [Array<Google::Apis::AndroidmanagementV1::PersistentPreferredActivity>]
2542
2639
  attr_accessor :persistent_preferred_activities
2543
2640
 
2641
+ # Policies controlling personal usage on a Corporate Owned Personally Enabled
2642
+ # device.
2643
+ # Corresponds to the JSON property `personalUsagePolicies`
2644
+ # @return [Google::Apis::AndroidmanagementV1::PersonalUsagePolicies]
2645
+ attr_accessor :personal_usage_policies
2646
+
2544
2647
  # This mode controls which apps are available to the user in the Play Store and
2545
2648
  # the behavior on the device when apps are removed from the policy.
2546
2649
  # Corresponds to the JSON property `playStoreMode`
@@ -2767,6 +2870,7 @@ module Google
2767
2870
  @permitted_accessibility_services = args[:permitted_accessibility_services] if args.key?(:permitted_accessibility_services)
2768
2871
  @permitted_input_methods = args[:permitted_input_methods] if args.key?(:permitted_input_methods)
2769
2872
  @persistent_preferred_activities = args[:persistent_preferred_activities] if args.key?(:persistent_preferred_activities)
2873
+ @personal_usage_policies = args[:personal_usage_policies] if args.key?(:personal_usage_policies)
2770
2874
  @play_store_mode = args[:play_store_mode] if args.key?(:play_store_mode)
2771
2875
  @policy_enforcement_rules = args[:policy_enforcement_rules] if args.key?(:policy_enforcement_rules)
2772
2876
  @private_key_selection_enabled = args[:private_key_selection_enabled] if args.key?(:private_key_selection_enabled)
@@ -2993,6 +3097,18 @@ module Google
2993
3097
  class SigninDetail
2994
3098
  include Google::Apis::Core::Hashable
2995
3099
 
3100
+ # Controls whether personal usage is allowed on a device provisioned with this
3101
+ # enrollment token.For company-owned devices:
3102
+ # Enabling personal usage allows the user to set up a work profile on the device.
3103
+ # Disabling personal usage requires the user provision the device as a fully
3104
+ # managed device.For personally-owned devices:
3105
+ # Enabling personal usage allows the user to set up a work profile on the device.
3106
+ # Disabling personal usage will prevent the device from provisioning. Personal
3107
+ # usage cannot be disabled on personally-owned device.
3108
+ # Corresponds to the JSON property `allowPersonalUsage`
3109
+ # @return [String]
3110
+ attr_accessor :allow_personal_usage
3111
+
2996
3112
  # A JSON string whose UTF-8 representation can be used to generate a QR code to
2997
3113
  # enroll a device with this enrollment token. To enroll a device using NFC, the
2998
3114
  # NFC record must contain a serialized java.util.Properties representation of
@@ -3022,6 +3138,7 @@ module Google
3022
3138
 
3023
3139
  # Update properties of this object
3024
3140
  def update!(**args)
3141
+ @allow_personal_usage = args[:allow_personal_usage] if args.key?(:allow_personal_usage)
3025
3142
  @qr_code = args[:qr_code] if args.key?(:qr_code)
3026
3143
  @signin_enrollment_token = args[:signin_enrollment_token] if args.key?(:signin_enrollment_token)
3027
3144
  @signin_url = args[:signin_url] if args.key?(:signin_url)
@@ -292,6 +292,18 @@ module Google
292
292
  include Google::Apis::Core::JsonObjectSupport
293
293
  end
294
294
 
295
+ class PersonalApplicationPolicy
296
+ class Representation < Google::Apis::Core::JsonRepresentation; end
297
+
298
+ include Google::Apis::Core::JsonObjectSupport
299
+ end
300
+
301
+ class PersonalUsagePolicies
302
+ class Representation < Google::Apis::Core::JsonRepresentation; end
303
+
304
+ include Google::Apis::Core::JsonObjectSupport
305
+ end
306
+
295
307
  class Policy
296
308
  class Representation < Google::Apis::Core::JsonRepresentation; end
297
309
 
@@ -522,6 +534,7 @@ module Google
522
534
  # @private
523
535
  class Representation < Google::Apis::Core::JsonRepresentation
524
536
  property :block_after_days, as: 'blockAfterDays'
537
+ property :block_scope, as: 'blockScope'
525
538
  end
526
539
  end
527
540
 
@@ -603,6 +616,7 @@ module Google
603
616
 
604
617
  collection :non_compliance_details, as: 'nonComplianceDetails', class: Google::Apis::AndroidmanagementV1::NonComplianceDetail, decorator: Google::Apis::AndroidmanagementV1::NonComplianceDetail::Representation
605
618
 
619
+ property :ownership, as: 'ownership'
606
620
  property :policy_compliant, as: 'policyCompliant'
607
621
  property :policy_name, as: 'policyName'
608
622
  collection :power_management_events, as: 'powerManagementEvents', class: Google::Apis::AndroidmanagementV1::PowerManagementEvent, decorator: Google::Apis::AndroidmanagementV1::PowerManagementEvent::Representation
@@ -656,6 +670,7 @@ module Google
656
670
  # @private
657
671
  class Representation < Google::Apis::Core::JsonRepresentation
658
672
  property :additional_data, as: 'additionalData'
673
+ property :allow_personal_usage, as: 'allowPersonalUsage'
659
674
  property :duration, as: 'duration'
660
675
  property :expiration_timestamp, as: 'expirationTimestamp'
661
676
  property :name, as: 'name'
@@ -937,6 +952,27 @@ module Google
937
952
  end
938
953
  end
939
954
 
955
+ class PersonalApplicationPolicy
956
+ # @private
957
+ class Representation < Google::Apis::Core::JsonRepresentation
958
+ property :install_type, as: 'installType'
959
+ property :package_name, as: 'packageName'
960
+ end
961
+ end
962
+
963
+ class PersonalUsagePolicies
964
+ # @private
965
+ class Representation < Google::Apis::Core::JsonRepresentation
966
+ collection :account_types_with_management_disabled, as: 'accountTypesWithManagementDisabled'
967
+ property :camera_disabled, as: 'cameraDisabled'
968
+ property :max_days_with_work_off, as: 'maxDaysWithWorkOff'
969
+ collection :personal_applications, as: 'personalApplications', class: Google::Apis::AndroidmanagementV1::PersonalApplicationPolicy, decorator: Google::Apis::AndroidmanagementV1::PersonalApplicationPolicy::Representation
970
+
971
+ property :personal_play_store_mode, as: 'personalPlayStoreMode'
972
+ property :screen_capture_disabled, as: 'screenCaptureDisabled'
973
+ end
974
+ end
975
+
940
976
  class Policy
941
977
  # @private
942
978
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1007,6 +1043,8 @@ module Google
1007
1043
 
1008
1044
  collection :persistent_preferred_activities, as: 'persistentPreferredActivities', class: Google::Apis::AndroidmanagementV1::PersistentPreferredActivity, decorator: Google::Apis::AndroidmanagementV1::PersistentPreferredActivity::Representation
1009
1045
 
1046
+ property :personal_usage_policies, as: 'personalUsagePolicies', class: Google::Apis::AndroidmanagementV1::PersonalUsagePolicies, decorator: Google::Apis::AndroidmanagementV1::PersonalUsagePolicies::Representation
1047
+
1010
1048
  property :play_store_mode, as: 'playStoreMode'
1011
1049
  collection :policy_enforcement_rules, as: 'policyEnforcementRules', class: Google::Apis::AndroidmanagementV1::PolicyEnforcementRule, decorator: Google::Apis::AndroidmanagementV1::PolicyEnforcementRule::Representation
1012
1050
 
@@ -1106,6 +1144,7 @@ module Google
1106
1144
  class SigninDetail
1107
1145
  # @private
1108
1146
  class Representation < Google::Apis::Core::JsonRepresentation
1147
+ property :allow_personal_usage, as: 'allowPersonalUsage'
1109
1148
  property :qr_code, as: 'qrCode'
1110
1149
  property :signin_enrollment_token, as: 'signinEnrollmentToken'
1111
1150
  property :signin_url, as: 'signinUrl'
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://developers.google.com/android-publisher
26
26
  module AndroidpublisherV3
27
27
  VERSION = 'V3'
28
- REVISION = '20200607'
28
+ REVISION = '20200616'
29
29
 
30
30
  # View and manage your Google Play Developer account
31
31
  AUTH_ANDROIDPUBLISHER = 'https://www.googleapis.com/auth/androidpublisher'
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://developers.google.com/apps-marketplace
27
27
  module AppsmarketV2
28
28
  VERSION = 'V2'
29
- REVISION = '20200609'
29
+ REVISION = '20200615'
30
30
 
31
31
  # View your installed application's licensing information
32
32
  AUTH_APPSMARKETPLACE_LICENSE = 'https://www.googleapis.com/auth/appsmarketplace.license'
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://cloud.google.com/artifacts/docs/
27
27
  module ArtifactregistryV1beta1
28
28
  VERSION = 'V1beta1'
29
- REVISION = '20200605'
29
+ REVISION = '20200612'
30
30
 
31
31
  # View and manage your data across Google Cloud Platform services
32
32
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -847,6 +847,14 @@ module Google
847
847
  # @return [String]
848
848
  attr_accessor :format
849
849
 
850
+ # The Cloud KMS resource name of the customer managed encryption key that’s
851
+ # used to encrypt the contents of the Repository. Has the form:
852
+ # `projects/my-project/locations/my-region/keyRings/my-kr/cryptoKeys/my-key`.
853
+ # This value may not be changed after the Repository has been created.
854
+ # Corresponds to the JSON property `kmsKeyName`
855
+ # @return [String]
856
+ attr_accessor :kms_key_name
857
+
850
858
  # Labels with user-defined metadata.
851
859
  # This field may contain up to 64 entries. Label keys and values may be no
852
860
  # longer than 63 characters. Label keys must begin with a lowercase letter
@@ -876,6 +884,7 @@ module Google
876
884
  @create_time = args[:create_time] if args.key?(:create_time)
877
885
  @description = args[:description] if args.key?(:description)
878
886
  @format = args[:format] if args.key?(:format)
887
+ @kms_key_name = args[:kms_key_name] if args.key?(:kms_key_name)
879
888
  @labels = args[:labels] if args.key?(:labels)
880
889
  @name = args[:name] if args.key?(:name)
881
890
  @update_time = args[:update_time] if args.key?(:update_time)
@@ -380,6 +380,7 @@ module Google
380
380
  property :create_time, as: 'createTime'
381
381
  property :description, as: 'description'
382
382
  property :format, as: 'format'
383
+ property :kms_key_name, as: 'kmsKeyName'
383
384
  hash :labels, as: 'labels'
384
385
  property :name, as: 'name'
385
386
  property :update_time, as: 'updateTime'
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://cloud.google.com/bigquery/
27
27
  module BigquerydatatransferV1
28
28
  VERSION = 'V1'
29
- REVISION = '20200313'
29
+ REVISION = '20200616'
30
30
 
31
31
  # View and manage your data in Google BigQuery
32
32
  AUTH_BIGQUERY = 'https://www.googleapis.com/auth/bigquery'
@@ -724,16 +724,16 @@ module Google
724
724
 
725
725
  # End time of the range of transfer runs. For example,
726
726
  # `"2017-05-30T00:00:00+00:00"`. The end_time must not be in the future.
727
- # Creates transfer runs where run_time is in the range betwen start_time
728
- # (inclusive) and end_time (exlusive).
727
+ # Creates transfer runs where run_time is in the range between start_time
728
+ # (inclusive) and end_time (exclusive).
729
729
  # Corresponds to the JSON property `endTime`
730
730
  # @return [String]
731
731
  attr_accessor :end_time
732
732
 
733
733
  # Start time of the range of transfer runs. For example,
734
734
  # `"2017-05-25T00:00:00+00:00"`. The start_time must be strictly less than
735
- # the end_time. Creates transfer runs where run_time is in the range betwen
736
- # start_time (inclusive) and end_time (exlusive).
735
+ # the end_time. Creates transfer runs where run_time is in the range
736
+ # between start_time (inclusive) and end_time (exclusive).
737
737
  # Corresponds to the JSON property `startTime`
738
738
  # @return [String]
739
739
  attr_accessor :start_time