google-api-client 0.21.2 → 0.22.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (85) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +35 -0
  3. data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
  4. data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +1 -1
  5. data/generated/google/apis/androidmanagement_v1.rb +1 -1
  6. data/generated/google/apis/androidmanagement_v1/classes.rb +181 -0
  7. data/generated/google/apis/androidmanagement_v1/representations.rb +59 -0
  8. data/generated/google/apis/androidpublisher_v3.rb +1 -1
  9. data/generated/google/apis/androidpublisher_v3/service.rb +42 -0
  10. data/generated/google/apis/bigquery_v2.rb +1 -1
  11. data/generated/google/apis/bigquery_v2/classes.rb +31 -0
  12. data/generated/google/apis/bigquery_v2/representations.rb +16 -0
  13. data/generated/google/apis/bigquery_v2/service.rb +6 -3
  14. data/generated/google/apis/bigquerydatatransfer_v1.rb +1 -1
  15. data/generated/google/apis/bigquerydatatransfer_v1/classes.rb +4 -5
  16. data/generated/google/apis/cloudiot_v1.rb +1 -1
  17. data/generated/google/apis/cloudiot_v1/service.rb +0 -56
  18. data/generated/google/apis/cloudkms_v1.rb +1 -1
  19. data/generated/google/apis/cloudkms_v1/service.rb +1 -1
  20. data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
  21. data/generated/google/apis/cloudresourcemanager_v1/service.rb +4 -0
  22. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
  23. data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +4 -0
  24. data/generated/google/apis/container_v1beta1.rb +1 -1
  25. data/generated/google/apis/container_v1beta1/classes.rb +33 -0
  26. data/generated/google/apis/container_v1beta1/representations.rb +17 -0
  27. data/generated/google/apis/content_v2.rb +1 -1
  28. data/generated/google/apis/content_v2/classes.rb +2 -2
  29. data/generated/google/apis/content_v2sandbox.rb +1 -1
  30. data/generated/google/apis/content_v2sandbox/classes.rb +2 -2
  31. data/generated/google/apis/dataproc_v1beta2.rb +1 -1
  32. data/generated/google/apis/dataproc_v1beta2/classes.rb +146 -0
  33. data/generated/google/apis/dataproc_v1beta2/representations.rb +62 -0
  34. data/generated/google/apis/dlp_v2.rb +1 -1
  35. data/generated/google/apis/dlp_v2/classes.rb +19 -9
  36. data/generated/google/apis/firebasedynamiclinks_v1.rb +1 -1
  37. data/generated/google/apis/firebasedynamiclinks_v1/classes.rb +6 -0
  38. data/generated/google/apis/firebasedynamiclinks_v1/representations.rb +1 -0
  39. data/generated/google/apis/ml_v1.rb +1 -1
  40. data/generated/google/apis/ml_v1/classes.rb +27 -15
  41. data/generated/google/apis/monitoring_v3.rb +1 -1
  42. data/generated/google/apis/monitoring_v3/classes.rb +48 -0
  43. data/generated/google/apis/monitoring_v3/representations.rb +17 -0
  44. data/generated/google/apis/people_v1.rb +1 -1
  45. data/generated/google/apis/people_v1/classes.rb +76 -28
  46. data/generated/google/apis/people_v1/representations.rb +19 -0
  47. data/generated/google/apis/people_v1/service.rb +4 -0
  48. data/generated/google/apis/proximitybeacon_v1beta1.rb +1 -1
  49. data/generated/google/apis/proximitybeacon_v1beta1/classes.rb +2 -1
  50. data/generated/google/apis/pubsub_v1.rb +1 -1
  51. data/generated/google/apis/pubsub_v1/classes.rb +45 -12
  52. data/generated/google/apis/pubsub_v1/service.rb +41 -20
  53. data/generated/google/apis/servicebroker_v1alpha1.rb +1 -1
  54. data/generated/google/apis/servicebroker_v1alpha1/classes.rb +8 -0
  55. data/generated/google/apis/servicebroker_v1alpha1/representations.rb +1 -0
  56. data/generated/google/apis/servicebroker_v1beta1.rb +1 -1
  57. data/generated/google/apis/servicebroker_v1beta1/classes.rb +41 -0
  58. data/generated/google/apis/servicebroker_v1beta1/representations.rb +5 -0
  59. data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
  60. data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +0 -27
  61. data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +0 -15
  62. data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
  63. data/generated/google/apis/serviceusage_v1beta1/classes.rb +0 -27
  64. data/generated/google/apis/serviceusage_v1beta1/representations.rb +0 -15
  65. data/generated/google/apis/sheets_v4.rb +1 -1
  66. data/generated/google/apis/sheets_v4/classes.rb +41 -41
  67. data/generated/google/apis/slides_v1.rb +1 -1
  68. data/generated/google/apis/slides_v1/classes.rb +4 -2
  69. data/generated/google/apis/storage_v1.rb +1 -1
  70. data/generated/google/apis/storage_v1/classes.rb +44 -38
  71. data/generated/google/apis/storage_v1/service.rb +10 -2
  72. data/generated/google/apis/testing_v1.rb +1 -1
  73. data/generated/google/apis/testing_v1/classes.rb +26 -0
  74. data/generated/google/apis/testing_v1/representations.rb +15 -0
  75. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  76. data/lib/google/apis/version.rb +1 -1
  77. metadata +2 -10
  78. data/generated/google/apis/resourceviews_v1beta1.rb +0 -50
  79. data/generated/google/apis/resourceviews_v1beta1/classes.rb +0 -338
  80. data/generated/google/apis/resourceviews_v1beta1/representations.rb +0 -201
  81. data/generated/google/apis/resourceviews_v1beta1/service.rb +0 -637
  82. data/generated/google/apis/resourceviews_v1beta2.rb +0 -50
  83. data/generated/google/apis/resourceviews_v1beta2/classes.rb +0 -660
  84. data/generated/google/apis/resourceviews_v1beta2/representations.rb +0 -301
  85. data/generated/google/apis/resourceviews_v1beta2/service.rb +0 -540
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 01333d45474dc427f053561b2d53a61d1d8d95c1
4
- data.tar.gz: 52a3094bc02c6608707c56d42d37199e72efc95f
3
+ metadata.gz: 22866da5c1ecb8543d71368e4876570b4266fa22
4
+ data.tar.gz: 99be65b9a0049ff7342242557d43429176f6add1
5
5
  SHA512:
6
- metadata.gz: 0575d0460a3498749fa55b207b32c6a51cc552afa36bb2737b7158d891a22794125b3c772dad2b4bc2908a59da9be12d4793fa5dd706cc32b2fe16b1fb551b91
7
- data.tar.gz: e398a3c203f457814ae238773ec9ee2a2e0bdd81177d3d853b787a1966c52abe2c3cb51ea88126acd35ac196e525895eeb4a9548994ecd7111626a6c1589491c
6
+ metadata.gz: c970fb490afcae519b2041d73395c353f5f925ba6723631550002ba92b5959084194d0d4ef6458c823bb2871d1885b0d1e633c1201c5c48911f5161d1c5c3d97
7
+ data.tar.gz: b94ff0ba92293f5e8b57bf13ee832001d29dd03cc9f1c354ad6416ee7e8f171f0a70bb6272c6fa31a8878f8e8d9d16687e5432d946c7ebdff9afd6702f7e21d9
@@ -1,3 +1,38 @@
1
+ # 0.22.0
2
+ * Breaking changes:
3
+ * Deleted `resourceviews_v1beta1`
4
+ * Deleted `resourceviews_v1beta2`
5
+ * Backwards compatible changes:
6
+ * Updated `adexchangebuyer2_v2beta1`
7
+ * Updated `androidmanagement_v1`
8
+ * Updated `androidpublisher_v3`
9
+ * Updated `bigquery_v2`
10
+ * Updated `bigquerydatatransfer_v1`
11
+ * Updated `cloudiot_v1`
12
+ * Updated `cloudkms_v1`
13
+ * Updated `cloudresourcemanager_v1`
14
+ * Updated `cloudresourcemanager_v1beta1`
15
+ * Updated `container_v1beta1`
16
+ * Updated `content_v2`
17
+ * Updated `content_v2sandbox`
18
+ * Updated `dataproc_v1beta2`
19
+ * Updated `dlp_v2`
20
+ * Updated `firebasedynamiclinks_v1`
21
+ * Updated `ml_v1`
22
+ * Updated `monitoring_v3`
23
+ * Updated `people_v1`
24
+ * Updated `proximitybeacon_v1beta1`
25
+ * Updated `pubsub_v1`
26
+ * Updated `servicebroker_v1alpha1`
27
+ * Updated `servicebroker_v1beta1`
28
+ * Updated `serviceconsumermanagement_v1`
29
+ * Updated `serviceusage_v1beta1`
30
+ * Updated `sheets_v4`
31
+ * Updated `slides_v1`
32
+ * Updated `storage_v1`
33
+ * Updated `testing_v1`
34
+ * Updated `youtube_partner_v1`
35
+
1
36
  # 0.21.2
2
37
  * Backwards compatible changes:
3
38
  * Added `dfareporting_v3_1`
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://developers.google.com/ad-exchange/buyer-rest/reference/rest/
27
27
  module Adexchangebuyer2V2beta1
28
28
  VERSION = 'V2beta1'
29
- REVISION = '20180508'
29
+ REVISION = '20180524'
30
30
 
31
31
  # Manage your Ad Exchange buyer account configuration
32
32
  AUTH_ADEXCHANGE_BUYER = 'https://www.googleapis.com/auth/adexchange.buyer'
@@ -542,7 +542,7 @@ module Google
542
542
  # @param [String] query
543
543
  # An optional query string to filter creatives. If no filter is specified,
544
544
  # all active creatives will be returned.
545
- # Supported queries are:
545
+ # <p>Supported queries are:
546
546
  # <ul>
547
547
  # <li>accountId=<i>account_id_string</i>
548
548
  # <li>creativeId=<i>creative_id_string</i>
@@ -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 = '20180423'
29
+ REVISION = '20180524'
30
30
 
31
31
  # Manage Android devices and apps for your customers
32
32
  AUTH_ANDROIDMANAGEMENT = 'https://www.googleapis.com/auth/androidmanagement'
@@ -109,6 +109,31 @@ module Google
109
109
  end
110
110
  end
111
111
 
112
+ # An app-related event.
113
+ class ApplicationEvent
114
+ include Google::Apis::Core::Hashable
115
+
116
+ # The creation time of the event.
117
+ # Corresponds to the JSON property `createTime`
118
+ # @return [String]
119
+ attr_accessor :create_time
120
+
121
+ # App event type.
122
+ # Corresponds to the JSON property `eventType`
123
+ # @return [String]
124
+ attr_accessor :event_type
125
+
126
+ def initialize(**args)
127
+ update!(**args)
128
+ end
129
+
130
+ # Update properties of this object
131
+ def update!(**args)
132
+ @create_time = args[:create_time] if args.key?(:create_time)
133
+ @event_type = args[:event_type] if args.key?(:event_type)
134
+ end
135
+ end
136
+
112
137
  # A permission required by the app.
113
138
  class ApplicationPermission
114
139
  include Google::Apis::Core::Hashable
@@ -157,6 +182,12 @@ module Google
157
182
  # @return [Array<String>]
158
183
  attr_accessor :delegated_scopes
159
184
 
185
+ # Whether the app should be disabled, but app data is preserved.
186
+ # Corresponds to the JSON property `disabled`
187
+ # @return [Boolean]
188
+ attr_accessor :disabled
189
+ alias_method :disabled?, :disabled
190
+
160
191
  # The type of installation to perform.
161
192
  # Corresponds to the JSON property `installType`
162
193
  # @return [String]
@@ -212,6 +243,7 @@ module Google
212
243
  def update!(**args)
213
244
  @default_permission_policy = args[:default_permission_policy] if args.key?(:default_permission_policy)
214
245
  @delegated_scopes = args[:delegated_scopes] if args.key?(:delegated_scopes)
246
+ @disabled = args[:disabled] if args.key?(:disabled)
215
247
  @install_type = args[:install_type] if args.key?(:install_type)
216
248
  @lock_task_allowed = args[:lock_task_allowed] if args.key?(:lock_task_allowed)
217
249
  @managed_configuration = args[:managed_configuration] if args.key?(:managed_configuration)
@@ -221,6 +253,123 @@ module Google
221
253
  end
222
254
  end
223
255
 
256
+ # Information reported about an installed app.
257
+ class ApplicationReport
258
+ include Google::Apis::Core::Hashable
259
+
260
+ # The source of the package.
261
+ # Corresponds to the JSON property `applicationSource`
262
+ # @return [String]
263
+ attr_accessor :application_source
264
+
265
+ # The display name of the app.
266
+ # Corresponds to the JSON property `displayName`
267
+ # @return [String]
268
+ attr_accessor :display_name
269
+
270
+ # List of app events. The most recent 20 events are stored in the list.
271
+ # Corresponds to the JSON property `events`
272
+ # @return [Array<Google::Apis::AndroidmanagementV1::ApplicationEvent>]
273
+ attr_accessor :events
274
+
275
+ # The package name of the app that installed this app.
276
+ # Corresponds to the JSON property `installerPackageName`
277
+ # @return [String]
278
+ attr_accessor :installer_package_name
279
+
280
+ # Package name of the app.
281
+ # Corresponds to the JSON property `packageName`
282
+ # @return [String]
283
+ attr_accessor :package_name
284
+
285
+ # The SHA-256 hash of the app's APK file, which can be used to verify the app
286
+ # hasn't been modified. Each byte of the hash value is represented as a two-
287
+ # digit hexadecimal number.
288
+ # Corresponds to the JSON property `packageSha256Hash`
289
+ # @return [String]
290
+ attr_accessor :package_sha256_hash
291
+
292
+ # The SHA-1 hash of each android.content.pm.Signature (https://developer.android.
293
+ # com/reference/android/content/pm/Signature.html) associated with the app
294
+ # package. Each byte of each hash value is represented as a two-digit
295
+ # hexadecimal number.
296
+ # Corresponds to the JSON property `signingKeyCertFingerprints`
297
+ # @return [Array<String>]
298
+ attr_accessor :signing_key_cert_fingerprints
299
+
300
+ # Application state.
301
+ # Corresponds to the JSON property `state`
302
+ # @return [String]
303
+ attr_accessor :state
304
+
305
+ # The app version code, which can be used to determine whether one version is
306
+ # more recent than another.
307
+ # Corresponds to the JSON property `versionCode`
308
+ # @return [Fixnum]
309
+ attr_accessor :version_code
310
+
311
+ # The app version as displayed to the user.
312
+ # Corresponds to the JSON property `versionName`
313
+ # @return [String]
314
+ attr_accessor :version_name
315
+
316
+ def initialize(**args)
317
+ update!(**args)
318
+ end
319
+
320
+ # Update properties of this object
321
+ def update!(**args)
322
+ @application_source = args[:application_source] if args.key?(:application_source)
323
+ @display_name = args[:display_name] if args.key?(:display_name)
324
+ @events = args[:events] if args.key?(:events)
325
+ @installer_package_name = args[:installer_package_name] if args.key?(:installer_package_name)
326
+ @package_name = args[:package_name] if args.key?(:package_name)
327
+ @package_sha256_hash = args[:package_sha256_hash] if args.key?(:package_sha256_hash)
328
+ @signing_key_cert_fingerprints = args[:signing_key_cert_fingerprints] if args.key?(:signing_key_cert_fingerprints)
329
+ @state = args[:state] if args.key?(:state)
330
+ @version_code = args[:version_code] if args.key?(:version_code)
331
+ @version_name = args[:version_name] if args.key?(:version_name)
332
+ end
333
+ end
334
+
335
+ # A rule for automatically choosing a private key and certificate to
336
+ # authenticate the device to a server.
337
+ class ChoosePrivateKeyRule
338
+ include Google::Apis::Core::Hashable
339
+
340
+ # The package names for which outgoing requests are subject to this rule. If no
341
+ # package names are specified, then the rule applies to all packages. For each
342
+ # package name listed, the rule applies to that package and all other packages
343
+ # that shared the same Android UID. The SHA256 hash of the signing key
344
+ # signatures of each package_name will be verified against those provided by
345
+ # Play
346
+ # Corresponds to the JSON property `packageNames`
347
+ # @return [Array<String>]
348
+ attr_accessor :package_names
349
+
350
+ # The alias of the private key to be used.
351
+ # Corresponds to the JSON property `privateKeyAlias`
352
+ # @return [String]
353
+ attr_accessor :private_key_alias
354
+
355
+ # The URL pattern to match against the URL of the outgoing request. The pattern
356
+ # may contain asterisk (*) wildcards. Any URL is matched if unspecified.
357
+ # Corresponds to the JSON property `urlPattern`
358
+ # @return [String]
359
+ attr_accessor :url_pattern
360
+
361
+ def initialize(**args)
362
+ update!(**args)
363
+ end
364
+
365
+ # Update properties of this object
366
+ def update!(**args)
367
+ @package_names = args[:package_names] if args.key?(:package_names)
368
+ @private_key_alias = args[:private_key_alias] if args.key?(:private_key_alias)
369
+ @url_pattern = args[:url_pattern] if args.key?(:url_pattern)
370
+ end
371
+ end
372
+
224
373
  # A command.
225
374
  class Command
226
375
  include Google::Apis::Core::Hashable
@@ -338,6 +487,12 @@ module Google
338
487
  # @return [Fixnum]
339
488
  attr_accessor :api_level
340
489
 
490
+ # Reports for apps installed on the device. This information is only available
491
+ # when application_reports_enabled is true in the device's policy.
492
+ # Corresponds to the JSON property `applicationReports`
493
+ # @return [Array<Google::Apis::AndroidmanagementV1::ApplicationReport>]
494
+ attr_accessor :application_reports
495
+
341
496
  # The name of the policy currently applied to the device.
342
497
  # Corresponds to the JSON property `appliedPolicyName`
343
498
  # @return [String]
@@ -500,6 +655,7 @@ module Google
500
655
  # Update properties of this object
501
656
  def update!(**args)
502
657
  @api_level = args[:api_level] if args.key?(:api_level)
658
+ @application_reports = args[:application_reports] if args.key?(:application_reports)
503
659
  @applied_policy_name = args[:applied_policy_name] if args.key?(:applied_policy_name)
504
660
  @applied_policy_version = args[:applied_policy_version] if args.key?(:applied_policy_version)
505
661
  @applied_state = args[:applied_state] if args.key?(:applied_state)
@@ -1707,6 +1863,14 @@ module Google
1707
1863
  attr_accessor :cell_broadcasts_config_disabled
1708
1864
  alias_method :cell_broadcasts_config_disabled?, :cell_broadcasts_config_disabled
1709
1865
 
1866
+ # Rules for automatically choosing a private key and certificate to authenticate
1867
+ # the device to a server. The rules are ordered by increasing precedence, so if
1868
+ # an outgoing request matches more than one rule, the last rule defines which
1869
+ # private key to use.
1870
+ # Corresponds to the JSON property `choosePrivateKeyRules`
1871
+ # @return [Array<Google::Apis::AndroidmanagementV1::ChoosePrivateKeyRule>]
1872
+ attr_accessor :choose_private_key_rules
1873
+
1710
1874
  # Rules declaring which mitigating actions to take when a device is not
1711
1875
  # compliant with its policy. When the conditions for multiple rules are
1712
1876
  # satisfied, all of the mitigating actions for the rules are taken. There is a
@@ -1909,6 +2073,14 @@ module Google
1909
2073
  # @return [Array<Google::Apis::AndroidmanagementV1::PersistentPreferredActivity>]
1910
2074
  attr_accessor :persistent_preferred_activities
1911
2075
 
2076
+ # Allows showing UI on a device for a user to choose a private key alias if
2077
+ # there are no matching rules in ChoosePrivateKeyRules. For devices below
2078
+ # Android P, setting this may leave enterprise keys vulnerable.
2079
+ # Corresponds to the JSON property `privateKeySelectionEnabled`
2080
+ # @return [Boolean]
2081
+ attr_accessor :private_key_selection_enabled
2082
+ alias_method :private_key_selection_enabled?, :private_key_selection_enabled
2083
+
1912
2084
  # Configuration info for an HTTP proxy. For a direct proxy, set the host, port,
1913
2085
  # and excluded_hosts fields. For a PAC script proxy, set the pac_uri field.
1914
2086
  # Corresponds to the JSON property `recommendedGlobalProxy`
@@ -2071,6 +2243,7 @@ module Google
2071
2243
  @bluetooth_disabled = args[:bluetooth_disabled] if args.key?(:bluetooth_disabled)
2072
2244
  @camera_disabled = args[:camera_disabled] if args.key?(:camera_disabled)
2073
2245
  @cell_broadcasts_config_disabled = args[:cell_broadcasts_config_disabled] if args.key?(:cell_broadcasts_config_disabled)
2246
+ @choose_private_key_rules = args[:choose_private_key_rules] if args.key?(:choose_private_key_rules)
2074
2247
  @compliance_rules = args[:compliance_rules] if args.key?(:compliance_rules)
2075
2248
  @create_windows_disabled = args[:create_windows_disabled] if args.key?(:create_windows_disabled)
2076
2249
  @credentials_config_disabled = args[:credentials_config_disabled] if args.key?(:credentials_config_disabled)
@@ -2103,6 +2276,7 @@ module Google
2103
2276
  @password_requirements = args[:password_requirements] if args.key?(:password_requirements)
2104
2277
  @permitted_input_methods = args[:permitted_input_methods] if args.key?(:permitted_input_methods)
2105
2278
  @persistent_preferred_activities = args[:persistent_preferred_activities] if args.key?(:persistent_preferred_activities)
2279
+ @private_key_selection_enabled = args[:private_key_selection_enabled] if args.key?(:private_key_selection_enabled)
2106
2280
  @recommended_global_proxy = args[:recommended_global_proxy] if args.key?(:recommended_global_proxy)
2107
2281
  @remove_user_disabled = args[:remove_user_disabled] if args.key?(:remove_user_disabled)
2108
2282
  @safe_boot_disabled = args[:safe_boot_disabled] if args.key?(:safe_boot_disabled)
@@ -2368,6 +2542,12 @@ module Google
2368
2542
  class StatusReportingSettings
2369
2543
  include Google::Apis::Core::Hashable
2370
2544
 
2545
+ # Whether app reports are enabled.
2546
+ # Corresponds to the JSON property `applicationReportsEnabled`
2547
+ # @return [Boolean]
2548
+ attr_accessor :application_reports_enabled
2549
+ alias_method :application_reports_enabled?, :application_reports_enabled
2550
+
2371
2551
  # Whether device settings reporting is enabled.
2372
2552
  # Corresponds to the JSON property `deviceSettingsEnabled`
2373
2553
  # @return [Boolean]
@@ -2416,6 +2596,7 @@ module Google
2416
2596
 
2417
2597
  # Update properties of this object
2418
2598
  def update!(**args)
2599
+ @application_reports_enabled = args[:application_reports_enabled] if args.key?(:application_reports_enabled)
2419
2600
  @device_settings_enabled = args[:device_settings_enabled] if args.key?(:device_settings_enabled)
2420
2601
  @display_info_enabled = args[:display_info_enabled] if args.key?(:display_info_enabled)
2421
2602
  @hardware_status_enabled = args[:hardware_status_enabled] if args.key?(:hardware_status_enabled)
@@ -40,6 +40,12 @@ module Google
40
40
  include Google::Apis::Core::JsonObjectSupport
41
41
  end
42
42
 
43
+ class ApplicationEvent
44
+ class Representation < Google::Apis::Core::JsonRepresentation; end
45
+
46
+ include Google::Apis::Core::JsonObjectSupport
47
+ end
48
+
43
49
  class ApplicationPermission
44
50
  class Representation < Google::Apis::Core::JsonRepresentation; end
45
51
 
@@ -52,6 +58,18 @@ module Google
52
58
  include Google::Apis::Core::JsonObjectSupport
53
59
  end
54
60
 
61
+ class ApplicationReport
62
+ class Representation < Google::Apis::Core::JsonRepresentation; end
63
+
64
+ include Google::Apis::Core::JsonObjectSupport
65
+ end
66
+
67
+ class ChoosePrivateKeyRule
68
+ class Representation < Google::Apis::Core::JsonRepresentation; end
69
+
70
+ include Google::Apis::Core::JsonObjectSupport
71
+ end
72
+
55
73
  class Command
56
74
  class Representation < Google::Apis::Core::JsonRepresentation; end
57
75
 
@@ -301,6 +319,14 @@ module Google
301
319
  end
302
320
  end
303
321
 
322
+ class ApplicationEvent
323
+ # @private
324
+ class Representation < Google::Apis::Core::JsonRepresentation
325
+ property :create_time, as: 'createTime'
326
+ property :event_type, as: 'eventType'
327
+ end
328
+ end
329
+
304
330
  class ApplicationPermission
305
331
  # @private
306
332
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -315,6 +341,7 @@ module Google
315
341
  class Representation < Google::Apis::Core::JsonRepresentation
316
342
  property :default_permission_policy, as: 'defaultPermissionPolicy'
317
343
  collection :delegated_scopes, as: 'delegatedScopes'
344
+ property :disabled, as: 'disabled'
318
345
  property :install_type, as: 'installType'
319
346
  property :lock_task_allowed, as: 'lockTaskAllowed'
320
347
  hash :managed_configuration, as: 'managedConfiguration'
@@ -325,6 +352,32 @@ module Google
325
352
  end
326
353
  end
327
354
 
355
+ class ApplicationReport
356
+ # @private
357
+ class Representation < Google::Apis::Core::JsonRepresentation
358
+ property :application_source, as: 'applicationSource'
359
+ property :display_name, as: 'displayName'
360
+ collection :events, as: 'events', class: Google::Apis::AndroidmanagementV1::ApplicationEvent, decorator: Google::Apis::AndroidmanagementV1::ApplicationEvent::Representation
361
+
362
+ property :installer_package_name, as: 'installerPackageName'
363
+ property :package_name, as: 'packageName'
364
+ property :package_sha256_hash, as: 'packageSha256Hash'
365
+ collection :signing_key_cert_fingerprints, as: 'signingKeyCertFingerprints'
366
+ property :state, as: 'state'
367
+ property :version_code, as: 'versionCode'
368
+ property :version_name, as: 'versionName'
369
+ end
370
+ end
371
+
372
+ class ChoosePrivateKeyRule
373
+ # @private
374
+ class Representation < Google::Apis::Core::JsonRepresentation
375
+ collection :package_names, as: 'packageNames'
376
+ property :private_key_alias, as: 'privateKeyAlias'
377
+ property :url_pattern, as: 'urlPattern'
378
+ end
379
+ end
380
+
328
381
  class Command
329
382
  # @private
330
383
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -353,6 +406,8 @@ module Google
353
406
  # @private
354
407
  class Representation < Google::Apis::Core::JsonRepresentation
355
408
  property :api_level, as: 'apiLevel'
409
+ collection :application_reports, as: 'applicationReports', class: Google::Apis::AndroidmanagementV1::ApplicationReport, decorator: Google::Apis::AndroidmanagementV1::ApplicationReport::Representation
410
+
356
411
  property :applied_policy_name, as: 'appliedPolicyName'
357
412
  property :applied_policy_version, :numeric_string => true, as: 'appliedPolicyVersion'
358
413
  property :applied_state, as: 'appliedState'
@@ -665,6 +720,8 @@ module Google
665
720
  property :bluetooth_disabled, as: 'bluetoothDisabled'
666
721
  property :camera_disabled, as: 'cameraDisabled'
667
722
  property :cell_broadcasts_config_disabled, as: 'cellBroadcastsConfigDisabled'
723
+ collection :choose_private_key_rules, as: 'choosePrivateKeyRules', class: Google::Apis::AndroidmanagementV1::ChoosePrivateKeyRule, decorator: Google::Apis::AndroidmanagementV1::ChoosePrivateKeyRule::Representation
724
+
668
725
  collection :compliance_rules, as: 'complianceRules', class: Google::Apis::AndroidmanagementV1::ComplianceRule, decorator: Google::Apis::AndroidmanagementV1::ComplianceRule::Representation
669
726
 
670
727
  property :create_windows_disabled, as: 'createWindowsDisabled'
@@ -703,6 +760,7 @@ module Google
703
760
 
704
761
  collection :persistent_preferred_activities, as: 'persistentPreferredActivities', class: Google::Apis::AndroidmanagementV1::PersistentPreferredActivity, decorator: Google::Apis::AndroidmanagementV1::PersistentPreferredActivity::Representation
705
762
 
763
+ property :private_key_selection_enabled, as: 'privateKeySelectionEnabled'
706
764
  property :recommended_global_proxy, as: 'recommendedGlobalProxy', class: Google::Apis::AndroidmanagementV1::ProxyInfo, decorator: Google::Apis::AndroidmanagementV1::ProxyInfo::Representation
707
765
 
708
766
  property :remove_user_disabled, as: 'removeUserDisabled'
@@ -787,6 +845,7 @@ module Google
787
845
  class StatusReportingSettings
788
846
  # @private
789
847
  class Representation < Google::Apis::Core::JsonRepresentation
848
+ property :application_reports_enabled, as: 'applicationReportsEnabled'
790
849
  property :device_settings_enabled, as: 'deviceSettingsEnabled'
791
850
  property :display_info_enabled, as: 'displayInfoEnabled'
792
851
  property :hardware_status_enabled, as: 'hardwareStatusEnabled'