google-api-client 0.17.3 → 0.17.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (72) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +26 -0
  3. data/generated/google/apis/androidenterprise_v1.rb +1 -1
  4. data/generated/google/apis/androidenterprise_v1/classes.rb +77 -2
  5. data/generated/google/apis/androidenterprise_v1/representations.rb +31 -0
  6. data/generated/google/apis/androidenterprise_v1/service.rb +100 -0
  7. data/generated/google/apis/androidmanagement_v1.rb +1 -1
  8. data/generated/google/apis/androidmanagement_v1/classes.rb +300 -0
  9. data/generated/google/apis/androidmanagement_v1/representations.rb +76 -0
  10. data/generated/google/apis/bigquerydatatransfer_v1.rb +1 -1
  11. data/generated/google/apis/bigquerydatatransfer_v1/classes.rb +5 -2
  12. data/generated/google/apis/bigquerydatatransfer_v1/service.rb +4 -8
  13. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  14. data/generated/google/apis/cloudkms_v1.rb +1 -1
  15. data/generated/google/apis/cloudkms_v1/classes.rb +1 -1
  16. data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
  17. data/generated/google/apis/cloudtasks_v2beta2/classes.rb +20 -10
  18. data/generated/google/apis/cloudtasks_v2beta2/representations.rb +1 -1
  19. data/generated/google/apis/cloudtasks_v2beta2/service.rb +11 -6
  20. data/generated/google/apis/compute_alpha.rb +1 -1
  21. data/generated/google/apis/compute_alpha/classes.rb +782 -111
  22. data/generated/google/apis/compute_alpha/representations.rb +282 -2
  23. data/generated/google/apis/compute_alpha/service.rb +611 -6
  24. data/generated/google/apis/compute_beta.rb +1 -1
  25. data/generated/google/apis/compute_beta/classes.rb +342 -43
  26. data/generated/google/apis/compute_beta/representations.rb +109 -0
  27. data/generated/google/apis/compute_beta/service.rb +225 -6
  28. data/generated/google/apis/compute_v1.rb +1 -1
  29. data/generated/google/apis/compute_v1/classes.rb +48 -43
  30. data/generated/google/apis/compute_v1/service.rb +6 -6
  31. data/generated/google/apis/container_v1beta1/classes.rb +17 -0
  32. data/generated/google/apis/container_v1beta1/representations.rb +1 -0
  33. data/generated/google/apis/content_v2.rb +1 -1
  34. data/generated/google/apis/content_v2/classes.rb +131 -9
  35. data/generated/google/apis/content_v2/representations.rb +38 -0
  36. data/generated/google/apis/content_v2/service.rb +35 -23
  37. data/generated/google/apis/content_v2sandbox.rb +1 -1
  38. data/generated/google/apis/content_v2sandbox/classes.rb +99 -9
  39. data/generated/google/apis/content_v2sandbox/representations.rb +22 -0
  40. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  41. data/generated/google/apis/dialogflow_v2beta1/service.rb +11 -11
  42. data/generated/google/apis/firestore_v1beta1.rb +1 -1
  43. data/generated/google/apis/firestore_v1beta1/classes.rb +1 -1
  44. data/generated/google/apis/fusiontables_v2.rb +1 -1
  45. data/generated/google/apis/fusiontables_v2/service.rb +37 -0
  46. data/generated/google/apis/ml_v1.rb +1 -1
  47. data/generated/google/apis/ml_v1/classes.rb +26 -177
  48. data/generated/google/apis/ml_v1/representations.rb +3 -0
  49. data/generated/google/apis/ml_v1/service.rb +3 -1
  50. data/generated/google/apis/monitoring_v3.rb +1 -1
  51. data/generated/google/apis/monitoring_v3/classes.rb +10 -1
  52. data/generated/google/apis/monitoring_v3/representations.rb +1 -0
  53. data/generated/google/apis/poly_v1.rb +32 -0
  54. data/generated/google/apis/poly_v1/classes.rb +426 -0
  55. data/generated/google/apis/poly_v1/representations.rb +194 -0
  56. data/generated/google/apis/poly_v1/service.rb +273 -0
  57. data/generated/google/apis/pubsub_v1.rb +1 -1
  58. data/generated/google/apis/pubsub_v1/classes.rb +243 -0
  59. data/generated/google/apis/pubsub_v1/representations.rb +115 -0
  60. data/generated/google/apis/pubsub_v1/service.rb +269 -1
  61. data/generated/google/apis/speech_v1.rb +4 -1
  62. data/generated/google/apis/speech_v1beta1.rb +4 -1
  63. data/generated/google/apis/testing_v1.rb +1 -1
  64. data/generated/google/apis/testing_v1/classes.rb +1 -1
  65. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  66. data/generated/google/apis/youtube_v3.rb +1 -1
  67. data/generated/google/apis/youtube_v3/classes.rb +13 -0
  68. data/generated/google/apis/youtube_v3/representations.rb +2 -0
  69. data/lib/google/apis/core/base_service.rb +4 -1
  70. data/lib/google/apis/options.rb +5 -1
  71. data/lib/google/apis/version.rb +1 -1
  72. metadata +6 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: b3394a765efa29b71d8aa38700ec331afe43d19a
4
- data.tar.gz: bcaf51ba202c0551abbcf7ff5d1598244437551e
3
+ metadata.gz: f0700dfe67489178f4f8b0fa23bbcffb45d438f9
4
+ data.tar.gz: b1cb53011e216cb7197e8cb53f776cb3e0e3b9ee
5
5
  SHA512:
6
- metadata.gz: 0b85f69117e8160799084b32df79425604ad71a6b46a7d35acb6cd69c5b38c7d303781c0d1b04f49036e35af0811f4709e216e920d4cdcd7bd2faf859c8dc7ae
7
- data.tar.gz: e4e0986033d976d5405749a122db6eba86411badf0cc1bd8a6d2afcc3cd90b15c2569897a2299a6516056728ac3409a9284b7080dac63b66a7a3cf570be6fe7e
6
+ metadata.gz: d0ecff6aaa71875490c48746a372e26f9af69cbe44716c34f8987ab12834e882ea61f17bba43f33cb1ae9d2c62a7356c4e0c0e1c90363049af4349dcf7d90315
7
+ data.tar.gz: d98cb8fef29e130c278bdcc7cf0d5d849fdb512409069600189fdcd49c42b1ebaab152f337de742a5802dfa0be07a1bb6cabfb5a72b0217fc04afeab7de29c1a
@@ -1,3 +1,29 @@
1
+ # 0.17.4
2
+ * Backwards compatible changes:
3
+ * Added `poly_v1`
4
+ * Updated `androidenterprise_v1`
5
+ * Updated `androidmanagement_v1`
6
+ * Updated `bigquerydatatransfer_v1`
7
+ * Updated `cloudbuild_v1`
8
+ * Updated `cloudkms_v1`
9
+ * Updated `cloudtasks_v2beta2`
10
+ * Updated `compute_alpha`
11
+ * Updated `compute_beta`
12
+ * Updated `compute_v1`
13
+ * Updated `content_v2`
14
+ * Updated `content_v2sandbox`
15
+ * Updated `dialogflow_v2beta1`
16
+ * Updated `firestore_v1beta1`
17
+ * Updated `fusiontables_v2`
18
+ * Updated `ml_v1`
19
+ * Updated `monitoring_v3`
20
+ * Updated `pubsub_v1`
21
+ * Updated `speech_v1`
22
+ * Updated `speech_v1beta1`
23
+ * Updated `testing_v1`
24
+ * Updated `youtube_partner_v1`
25
+ * Updated `youtube_v3`
26
+
1
27
  # 0.17.3
2
28
  * Backwards compatible changes:
3
29
  * Added `oslogin_v1`
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://developers.google.com/android/work/play/emm-api
26
26
  module AndroidenterpriseV1
27
27
  VERSION = 'V1'
28
- REVISION = '20171108'
28
+ REVISION = '20171123'
29
29
 
30
30
  # Manage corporate Android devices
31
31
  AUTH_ANDROIDENTERPRISE = 'https://www.googleapis.com/auth/androidenterprise'
@@ -446,8 +446,6 @@ module Google
446
446
 
447
447
  # A Devices resource represents a mobile device managed by the EMM and belonging
448
448
  # to a specific enterprise user.
449
- # This collection cannot be modified via the API. It is automatically populated
450
- # as devices are set up to be managed.
451
449
  class Device
452
450
  include Google::Apis::Core::Hashable
453
451
 
@@ -479,6 +477,11 @@ module Google
479
477
  # @return [String]
480
478
  attr_accessor :management_type
481
479
 
480
+ # The device policy for a given managed device.
481
+ # Corresponds to the JSON property `policy`
482
+ # @return [Google::Apis::AndroidenterpriseV1::Policy]
483
+ attr_accessor :policy
484
+
482
485
  def initialize(**args)
483
486
  update!(**args)
484
487
  end
@@ -488,6 +491,7 @@ module Google
488
491
  @android_id = args[:android_id] if args.key?(:android_id)
489
492
  @kind = args[:kind] if args.key?(:kind)
490
493
  @management_type = args[:management_type] if args.key?(:management_type)
494
+ @policy = args[:policy] if args.key?(:policy)
491
495
  end
492
496
  end
493
497
 
@@ -1570,6 +1574,39 @@ module Google
1570
1574
  end
1571
1575
  end
1572
1576
 
1577
+ # The device policy for a given managed device.
1578
+ class Policy
1579
+ include Google::Apis::Core::Hashable
1580
+
1581
+ # The availability granted to the device for the specified products. "all" gives
1582
+ # the device access to all products, regardless of approval status. "allApproved"
1583
+ # entitles the device to access all products that are approved for the
1584
+ # enterprise. "allApproved" and "all" do not enable automatic visibility of "
1585
+ # alpha" or "beta" tracks. "whitelist" grants the device access the products
1586
+ # specified in productPolicy[]. Only products that are approved or products that
1587
+ # were previously approved (products with revoked approval) by the enterprise
1588
+ # can be whitelisted. If no value is provided, the availability set at the user
1589
+ # level is applied by default.
1590
+ # Corresponds to the JSON property `productAvailabilityPolicy`
1591
+ # @return [String]
1592
+ attr_accessor :product_availability_policy
1593
+
1594
+ # The list of product policies.
1595
+ # Corresponds to the JSON property `productPolicy`
1596
+ # @return [Array<Google::Apis::AndroidenterpriseV1::ProductPolicy>]
1597
+ attr_accessor :product_policy
1598
+
1599
+ def initialize(**args)
1600
+ update!(**args)
1601
+ end
1602
+
1603
+ # Update properties of this object
1604
+ def update!(**args)
1605
+ @product_availability_policy = args[:product_availability_policy] if args.key?(:product_availability_policy)
1606
+ @product_policy = args[:product_policy] if args.key?(:product_policy)
1607
+ end
1608
+ end
1609
+
1573
1610
  # A Products resource represents an app in the Google Play store that is
1574
1611
  # available to at least some users in the enterprise. (Some apps are restricted
1575
1612
  # to a single enterprise, and no information about them is made available
@@ -1801,6 +1838,44 @@ module Google
1801
1838
  end
1802
1839
  end
1803
1840
 
1841
+ # The policy for a product.
1842
+ class ProductPolicy
1843
+ include Google::Apis::Core::Hashable
1844
+
1845
+ # The ID of the product. For example, "app:com.google.android.gm".
1846
+ # Corresponds to the JSON property `productId`
1847
+ # @return [String]
1848
+ attr_accessor :product_id
1849
+
1850
+ # Grants visibility to the specified track(s) of the product to the device. The
1851
+ # track available to the device is based on the following order of preference:
1852
+ # alpha, beta, production. For example, if an app has a prod version, a beta
1853
+ # version and an alpha version and the enterprise has been granted visibility to
1854
+ # both the alpha and beta tracks, if tracks is `"beta", "production"` then the
1855
+ # beta version of the app is made available to the device. If there are no app
1856
+ # versions in the specified track adding the "alpha" and "beta" values to the
1857
+ # list of tracks will have no effect. Note that the enterprise requires access
1858
+ # to alpha and/or beta tracks before users can be granted visibility to apps in
1859
+ # those tracks.
1860
+ # The allowed sets are: `` (considered equivalent to `"production"`) `"
1861
+ # production"` `"beta", "production"` `"alpha", "beta", "production"` The order
1862
+ # of elements is not relevant. Any other set of tracks will be rejected with an
1863
+ # error.
1864
+ # Corresponds to the JSON property `tracks`
1865
+ # @return [Array<String>]
1866
+ attr_accessor :tracks
1867
+
1868
+ def initialize(**args)
1869
+ update!(**args)
1870
+ end
1871
+
1872
+ # Update properties of this object
1873
+ def update!(**args)
1874
+ @product_id = args[:product_id] if args.key?(:product_id)
1875
+ @tracks = args[:tracks] if args.key?(:tracks)
1876
+ end
1877
+ end
1878
+
1804
1879
  # A set of products.
1805
1880
  class ProductSet
1806
1881
  include Google::Apis::Core::Hashable
@@ -274,6 +274,12 @@ module Google
274
274
  include Google::Apis::Core::JsonObjectSupport
275
275
  end
276
276
 
277
+ class Policy
278
+ class Representation < Google::Apis::Core::JsonRepresentation; end
279
+
280
+ include Google::Apis::Core::JsonObjectSupport
281
+ end
282
+
277
283
  class Product
278
284
  class Representation < Google::Apis::Core::JsonRepresentation; end
279
285
 
@@ -304,6 +310,12 @@ module Google
304
310
  include Google::Apis::Core::JsonObjectSupport
305
311
  end
306
312
 
313
+ class ProductPolicy
314
+ class Representation < Google::Apis::Core::JsonRepresentation; end
315
+
316
+ include Google::Apis::Core::JsonObjectSupport
317
+ end
318
+
307
319
  class ProductSet
308
320
  class Representation < Google::Apis::Core::JsonRepresentation; end
309
321
 
@@ -547,6 +559,8 @@ module Google
547
559
  property :android_id, as: 'androidId'
548
560
  property :kind, as: 'kind'
549
561
  property :management_type, as: 'managementType'
562
+ property :policy, as: 'policy', class: Google::Apis::AndroidenterpriseV1::Policy, decorator: Google::Apis::AndroidenterpriseV1::Policy::Representation
563
+
550
564
  end
551
565
  end
552
566
 
@@ -834,6 +848,15 @@ module Google
834
848
  end
835
849
  end
836
850
 
851
+ class Policy
852
+ # @private
853
+ class Representation < Google::Apis::Core::JsonRepresentation
854
+ property :product_availability_policy, as: 'productAvailabilityPolicy'
855
+ collection :product_policy, as: 'productPolicy', class: Google::Apis::AndroidenterpriseV1::ProductPolicy, decorator: Google::Apis::AndroidenterpriseV1::ProductPolicy::Representation
856
+
857
+ end
858
+ end
859
+
837
860
  class Product
838
861
  # @private
839
862
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -890,6 +913,14 @@ module Google
890
913
  end
891
914
  end
892
915
 
916
+ class ProductPolicy
917
+ # @private
918
+ class Representation < Google::Apis::Core::JsonRepresentation
919
+ property :product_id, as: 'productId'
920
+ collection :tracks, as: 'tracks'
921
+ end
922
+ end
923
+
893
924
  class ProductSet
894
925
  # @private
895
926
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -177,6 +177,56 @@ module Google
177
177
  execute_or_queue_command(command, &block)
178
178
  end
179
179
 
180
+ # Updates the device policy. This method supports patch semantics.
181
+ # @param [String] enterprise_id
182
+ # The ID of the enterprise.
183
+ # @param [String] user_id
184
+ # The ID of the user.
185
+ # @param [String] device_id
186
+ # The ID of the device.
187
+ # @param [Google::Apis::AndroidenterpriseV1::Device] device_object
188
+ # @param [String] update_mask
189
+ # Mask that identifies which fields to update. If not set, all modifiable fields
190
+ # will be modified.
191
+ # When set in a query parameter, this field should be specified as updateMask=<
192
+ # field1>,<field2>,...
193
+ # @param [String] fields
194
+ # Selector specifying which fields to include in a partial response.
195
+ # @param [String] quota_user
196
+ # Available to use for quota purposes for server-side applications. Can be any
197
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
198
+ # Overrides userIp if both are provided.
199
+ # @param [String] user_ip
200
+ # IP address of the site where the request originates. Use this if you want to
201
+ # enforce per-user limits.
202
+ # @param [Google::Apis::RequestOptions] options
203
+ # Request-specific options
204
+ #
205
+ # @yield [result, err] Result & error if block supplied
206
+ # @yieldparam result [Google::Apis::AndroidenterpriseV1::Device] parsed result object
207
+ # @yieldparam err [StandardError] error object if request failed
208
+ #
209
+ # @return [Google::Apis::AndroidenterpriseV1::Device]
210
+ #
211
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
212
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
213
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
214
+ def patch_device(enterprise_id, user_id, device_id, device_object = nil, update_mask: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
215
+ command = make_simple_command(:patch, 'enterprises/{enterpriseId}/users/{userId}/devices/{deviceId}', options)
216
+ command.request_representation = Google::Apis::AndroidenterpriseV1::Device::Representation
217
+ command.request_object = device_object
218
+ command.response_representation = Google::Apis::AndroidenterpriseV1::Device::Representation
219
+ command.response_class = Google::Apis::AndroidenterpriseV1::Device
220
+ command.params['enterpriseId'] = enterprise_id unless enterprise_id.nil?
221
+ command.params['userId'] = user_id unless user_id.nil?
222
+ command.params['deviceId'] = device_id unless device_id.nil?
223
+ command.query['updateMask'] = update_mask unless update_mask.nil?
224
+ command.query['fields'] = fields unless fields.nil?
225
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
226
+ command.query['userIp'] = user_ip unless user_ip.nil?
227
+ execute_or_queue_command(command, &block)
228
+ end
229
+
180
230
  # Sets whether a device's access to Google services is enabled or disabled. The
181
231
  # device state takes effect only if enforcing EMM policies on Android devices is
182
232
  # enabled in the Google Admin Console. Otherwise, the device state is ignored
@@ -225,6 +275,56 @@ module Google
225
275
  execute_or_queue_command(command, &block)
226
276
  end
227
277
 
278
+ # Updates the device policy
279
+ # @param [String] enterprise_id
280
+ # The ID of the enterprise.
281
+ # @param [String] user_id
282
+ # The ID of the user.
283
+ # @param [String] device_id
284
+ # The ID of the device.
285
+ # @param [Google::Apis::AndroidenterpriseV1::Device] device_object
286
+ # @param [String] update_mask
287
+ # Mask that identifies which fields to update. If not set, all modifiable fields
288
+ # will be modified.
289
+ # When set in a query parameter, this field should be specified as updateMask=<
290
+ # field1>,<field2>,...
291
+ # @param [String] fields
292
+ # Selector specifying which fields to include in a partial response.
293
+ # @param [String] quota_user
294
+ # Available to use for quota purposes for server-side applications. Can be any
295
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
296
+ # Overrides userIp if both are provided.
297
+ # @param [String] user_ip
298
+ # IP address of the site where the request originates. Use this if you want to
299
+ # enforce per-user limits.
300
+ # @param [Google::Apis::RequestOptions] options
301
+ # Request-specific options
302
+ #
303
+ # @yield [result, err] Result & error if block supplied
304
+ # @yieldparam result [Google::Apis::AndroidenterpriseV1::Device] parsed result object
305
+ # @yieldparam err [StandardError] error object if request failed
306
+ #
307
+ # @return [Google::Apis::AndroidenterpriseV1::Device]
308
+ #
309
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
310
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
311
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
312
+ def update_device(enterprise_id, user_id, device_id, device_object = nil, update_mask: nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
313
+ command = make_simple_command(:put, 'enterprises/{enterpriseId}/users/{userId}/devices/{deviceId}', options)
314
+ command.request_representation = Google::Apis::AndroidenterpriseV1::Device::Representation
315
+ command.request_object = device_object
316
+ command.response_representation = Google::Apis::AndroidenterpriseV1::Device::Representation
317
+ command.response_class = Google::Apis::AndroidenterpriseV1::Device
318
+ command.params['enterpriseId'] = enterprise_id unless enterprise_id.nil?
319
+ command.params['userId'] = user_id unless user_id.nil?
320
+ command.params['deviceId'] = device_id unless device_id.nil?
321
+ command.query['updateMask'] = update_mask unless update_mask.nil?
322
+ command.query['fields'] = fields unless fields.nil?
323
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
324
+ command.query['userIp'] = user_ip unless user_ip.nil?
325
+ execute_or_queue_command(command, &block)
326
+ end
327
+
228
328
  # Acknowledges notifications that were received from Enterprises.
229
329
  # PullNotificationSet to prevent subsequent calls from returning the same
230
330
  # notifications.
@@ -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 = '20171030'
29
+ REVISION = '20171127'
30
30
 
31
31
  # Manage Android devices and apps for your customers
32
32
  AUTH_ANDROIDMANAGEMENT = 'https://www.googleapis.com/auth/androidmanagement'
@@ -22,6 +22,32 @@ module Google
22
22
  module Apis
23
23
  module AndroidmanagementV1
24
24
 
25
+ # Configuration for an always-on VPN connection.
26
+ class AlwaysOnVpnPackage
27
+ include Google::Apis::Core::Hashable
28
+
29
+ # Disallows networking when the VPN is not connected.
30
+ # Corresponds to the JSON property `lockdownEnabled`
31
+ # @return [Boolean]
32
+ attr_accessor :lockdown_enabled
33
+ alias_method :lockdown_enabled?, :lockdown_enabled
34
+
35
+ # The package name of the VPN app.
36
+ # Corresponds to the JSON property `packageName`
37
+ # @return [String]
38
+ attr_accessor :package_name
39
+
40
+ def initialize(**args)
41
+ update!(**args)
42
+ end
43
+
44
+ # Update properties of this object
45
+ def update!(**args)
46
+ @lockdown_enabled = args[:lockdown_enabled] if args.key?(:lockdown_enabled)
47
+ @package_name = args[:package_name] if args.key?(:package_name)
48
+ end
49
+ end
50
+
25
51
  # A compliance rule condition which is satisfied if the Android Framework API
26
52
  # level on the device does not meet a minimum requirement. There can only be one
27
53
  # rule with this type of condition per policy.
@@ -1307,6 +1333,25 @@ module Google
1307
1333
  end
1308
1334
  end
1309
1335
 
1336
+ # A list of package names.
1337
+ class PackageNameList
1338
+ include Google::Apis::Core::Hashable
1339
+
1340
+ # A list of package names.
1341
+ # Corresponds to the JSON property `packageNames`
1342
+ # @return [Array<String>]
1343
+ attr_accessor :package_names
1344
+
1345
+ def initialize(**args)
1346
+ update!(**args)
1347
+ end
1348
+
1349
+ # Update properties of this object
1350
+ def update!(**args)
1351
+ @package_names = args[:package_names] if args.key?(:package_names)
1352
+ end
1353
+ end
1354
+
1310
1355
  # Requirements for the password used to unlock a device.
1311
1356
  class PasswordRequirements
1312
1357
  include Google::Apis::Core::Hashable
@@ -1466,6 +1511,12 @@ module Google
1466
1511
  class Policy
1467
1512
  include Google::Apis::Core::Hashable
1468
1513
 
1514
+ # Account types that cannot be managed by the user. <i>Requires the beta version
1515
+ # of Android Cloud Policy.</i>
1516
+ # Corresponds to the JSON property `accountTypesWithManagementDisabled`
1517
+ # @return [Array<String>]
1518
+ attr_accessor :account_types_with_management_disabled
1519
+
1469
1520
  # Whether adding new users and profiles is disabled.
1470
1521
  # Corresponds to the JSON property `addUserDisabled`
1471
1522
  # @return [Boolean]
@@ -1478,6 +1529,11 @@ module Google
1478
1529
  attr_accessor :adjust_volume_disabled
1479
1530
  alias_method :adjust_volume_disabled?, :adjust_volume_disabled
1480
1531
 
1532
+ # Configuration for an always-on VPN connection.
1533
+ # Corresponds to the JSON property `alwaysOnVpnPackage`
1534
+ # @return [Google::Apis::AndroidmanagementV1::AlwaysOnVpnPackage]
1535
+ attr_accessor :always_on_vpn_package
1536
+
1481
1537
  # Policy applied to apps.
1482
1538
  # Corresponds to the JSON property `applications`
1483
1539
  # @return [Array<Google::Apis::AndroidmanagementV1::ApplicationPolicy>]
@@ -1499,12 +1555,41 @@ module Google
1499
1555
  attr_accessor :block_applications_enabled
1500
1556
  alias_method :block_applications_enabled?, :block_applications_enabled
1501
1557
 
1558
+ # Whether configuring bluetooth is disabled. <i>Requires the beta version of
1559
+ # Android Cloud Policy.</i>
1560
+ # Corresponds to the JSON property `bluetoothConfigDisabled`
1561
+ # @return [Boolean]
1562
+ attr_accessor :bluetooth_config_disabled
1563
+ alias_method :bluetooth_config_disabled?, :bluetooth_config_disabled
1564
+
1565
+ # Whether bluetooth contact sharing is disabled. <i>Requires the beta version of
1566
+ # Android Cloud Policy.</i>
1567
+ # Corresponds to the JSON property `bluetoothContactSharingDisabled`
1568
+ # @return [Boolean]
1569
+ attr_accessor :bluetooth_contact_sharing_disabled
1570
+ alias_method :bluetooth_contact_sharing_disabled?, :bluetooth_contact_sharing_disabled
1571
+
1572
+ # Whether bluetooth is disabled. Prefer this setting over
1573
+ # bluetooth_config_disabled because bluetooth_config_disabled can be bypassed by
1574
+ # the user. <i>Requires the beta version of Android Cloud Policy.</i>
1575
+ # Corresponds to the JSON property `bluetoothDisabled`
1576
+ # @return [Boolean]
1577
+ attr_accessor :bluetooth_disabled
1578
+ alias_method :bluetooth_disabled?, :bluetooth_disabled
1579
+
1502
1580
  # Whether all cameras on the device are disabled.
1503
1581
  # Corresponds to the JSON property `cameraDisabled`
1504
1582
  # @return [Boolean]
1505
1583
  attr_accessor :camera_disabled
1506
1584
  alias_method :camera_disabled?, :camera_disabled
1507
1585
 
1586
+ # Whether configuring cell broadcast is disabled. <i>Requires the beta version
1587
+ # of Android Cloud Policy.</i>
1588
+ # Corresponds to the JSON property `cellBroadcastsConfigDisabled`
1589
+ # @return [Boolean]
1590
+ attr_accessor :cell_broadcasts_config_disabled
1591
+ alias_method :cell_broadcasts_config_disabled?, :cell_broadcasts_config_disabled
1592
+
1508
1593
  # Rules declaring which mitigating actions to take when a device is not
1509
1594
  # compliant with its policy. When the conditions for multiple rules are
1510
1595
  # satisfied, all of the mitigating actions for the rules are taken. There is a
@@ -1513,6 +1598,27 @@ module Google
1513
1598
  # @return [Array<Google::Apis::AndroidmanagementV1::ComplianceRule>]
1514
1599
  attr_accessor :compliance_rules
1515
1600
 
1601
+ # Whether creating windows besides app windows is disabled. <i>Requires the beta
1602
+ # version of Android Cloud Policy.</i>
1603
+ # Corresponds to the JSON property `createWindowsDisabled`
1604
+ # @return [Boolean]
1605
+ attr_accessor :create_windows_disabled
1606
+ alias_method :create_windows_disabled?, :create_windows_disabled
1607
+
1608
+ # Whether configuring user credentials is disabled. <i>Requires the beta version
1609
+ # of Android Cloud Policy.</i>
1610
+ # Corresponds to the JSON property `credentialsConfigDisabled`
1611
+ # @return [Boolean]
1612
+ attr_accessor :credentials_config_disabled
1613
+ alias_method :credentials_config_disabled?, :credentials_config_disabled
1614
+
1615
+ # Whether roaming data services are disabled. <i>Requires the beta version of
1616
+ # Android Cloud Policy.</i>
1617
+ # Corresponds to the JSON property `dataRoamingDisabled`
1618
+ # @return [Boolean]
1619
+ attr_accessor :data_roaming_disabled
1620
+ alias_method :data_roaming_disabled?, :data_roaming_disabled
1621
+
1516
1622
  # Whether the user is allowed to enable debugging features.
1517
1623
  # Corresponds to the JSON property `debuggingFeaturesAllowed`
1518
1624
  # @return [Boolean]
@@ -1524,6 +1630,13 @@ module Google
1524
1630
  # @return [String]
1525
1631
  attr_accessor :default_permission_policy
1526
1632
 
1633
+ # Whether application verification is forced to be enabled. <i>Requires the beta
1634
+ # version of Android Cloud Policy.</i>
1635
+ # Corresponds to the JSON property `ensureVerifyAppsEnabled`
1636
+ # @return [Boolean]
1637
+ attr_accessor :ensure_verify_apps_enabled
1638
+ alias_method :ensure_verify_apps_enabled?, :ensure_verify_apps_enabled
1639
+
1527
1640
  # Whether factory resetting from settings is disabled.
1528
1641
  # Corresponds to the JSON property `factoryResetDisabled`
1529
1642
  # @return [Boolean]
@@ -1545,6 +1658,13 @@ module Google
1545
1658
  attr_accessor :fun_disabled
1546
1659
  alias_method :fun_disabled?, :fun_disabled
1547
1660
 
1661
+ # Whether user installation of apps is disabled. <i>Requires the beta version of
1662
+ # Android Cloud Policy.</i>
1663
+ # Corresponds to the JSON property `installAppsDisabled`
1664
+ # @return [Boolean]
1665
+ attr_accessor :install_apps_disabled
1666
+ alias_method :install_apps_disabled?, :install_apps_disabled
1667
+
1548
1668
  # Whether the user is allowed to enable the "Unknown Sources" setting, which
1549
1669
  # allows installation of apps from unknown sources.
1550
1670
  # Corresponds to the JSON property `installUnknownSourcesAllowed`
@@ -1558,18 +1678,44 @@ module Google
1558
1678
  attr_accessor :keyguard_disabled
1559
1679
  alias_method :keyguard_disabled?, :keyguard_disabled
1560
1680
 
1681
+ # Disabled keyguard customizations, such as widgets. <i>Requires the beta
1682
+ # version of Android Cloud Policy.</i>
1683
+ # Corresponds to the JSON property `keyguardDisabledFeatures`
1684
+ # @return [Array<String>]
1685
+ attr_accessor :keyguard_disabled_features
1686
+
1687
+ # Provides user facing message with locale info. The maximum message length is
1688
+ # 4096 characters.
1689
+ # Corresponds to the JSON property `longSupportMessage`
1690
+ # @return [Google::Apis::AndroidmanagementV1::UserFacingMessage]
1691
+ attr_accessor :long_support_message
1692
+
1561
1693
  # Maximum time in milliseconds for user activity until the device will lock. A
1562
1694
  # value of 0 means there is no restriction.
1563
1695
  # Corresponds to the JSON property `maximumTimeToLock`
1564
1696
  # @return [Fixnum]
1565
1697
  attr_accessor :maximum_time_to_lock
1566
1698
 
1699
+ # Whether configuring mobile networks is disabled. <i>Requires the beta version
1700
+ # of Android Cloud Policy.</i>
1701
+ # Corresponds to the JSON property `mobileNetworksConfigDisabled`
1702
+ # @return [Boolean]
1703
+ attr_accessor :mobile_networks_config_disabled
1704
+ alias_method :mobile_networks_config_disabled?, :mobile_networks_config_disabled
1705
+
1567
1706
  # Whether adding or removing accounts is disabled.
1568
1707
  # Corresponds to the JSON property `modifyAccountsDisabled`
1569
1708
  # @return [Boolean]
1570
1709
  attr_accessor :modify_accounts_disabled
1571
1710
  alias_method :modify_accounts_disabled?, :modify_accounts_disabled
1572
1711
 
1712
+ # Whether the user mounting physical external media is disabled. <i>Requires the
1713
+ # beta version of Android Cloud Policy.</i>
1714
+ # Corresponds to the JSON property `mountPhysicalMediaDisabled`
1715
+ # @return [Boolean]
1716
+ attr_accessor :mount_physical_media_disabled
1717
+ alias_method :mount_physical_media_disabled?, :mount_physical_media_disabled
1718
+
1573
1719
  # The name of the policy in the form enterprises/`enterpriseId`/policies/`
1574
1720
  # policyId`
1575
1721
  # Corresponds to the JSON property `name`
@@ -1588,22 +1734,54 @@ module Google
1588
1734
  attr_accessor :network_escape_hatch_enabled
1589
1735
  alias_method :network_escape_hatch_enabled?, :network_escape_hatch_enabled
1590
1736
 
1737
+ # Whether resetting network settings is disabled. <i>Requires the beta version
1738
+ # of Android Cloud Policy.</i>
1739
+ # Corresponds to the JSON property `networkResetDisabled`
1740
+ # @return [Boolean]
1741
+ attr_accessor :network_reset_disabled
1742
+ alias_method :network_reset_disabled?, :network_reset_disabled
1743
+
1591
1744
  # Network configuration for the device. See configure networks for more
1592
1745
  # information.
1593
1746
  # Corresponds to the JSON property `openNetworkConfiguration`
1594
1747
  # @return [Hash<String,Object>]
1595
1748
  attr_accessor :open_network_configuration
1596
1749
 
1750
+ # Whether using NFC to beam out data from apps is disabled. <i>Requires the beta
1751
+ # version of Android Cloud Policy.</i>
1752
+ # Corresponds to the JSON property `outgoingBeamDisabled`
1753
+ # @return [Boolean]
1754
+ attr_accessor :outgoing_beam_disabled
1755
+ alias_method :outgoing_beam_disabled?, :outgoing_beam_disabled
1756
+
1757
+ # Whether outgoing calls are disabled. <i>Requires the beta version of Android
1758
+ # Cloud Policy.</i>
1759
+ # Corresponds to the JSON property `outgoingCallsDisabled`
1760
+ # @return [Boolean]
1761
+ attr_accessor :outgoing_calls_disabled
1762
+ alias_method :outgoing_calls_disabled?, :outgoing_calls_disabled
1763
+
1597
1764
  # Requirements for the password used to unlock a device.
1598
1765
  # Corresponds to the JSON property `passwordRequirements`
1599
1766
  # @return [Google::Apis::AndroidmanagementV1::PasswordRequirements]
1600
1767
  attr_accessor :password_requirements
1601
1768
 
1769
+ # A list of package names.
1770
+ # Corresponds to the JSON property `permittedInputMethods`
1771
+ # @return [Google::Apis::AndroidmanagementV1::PackageNameList]
1772
+ attr_accessor :permitted_input_methods
1773
+
1602
1774
  # Default intent handler activities.
1603
1775
  # Corresponds to the JSON property `persistentPreferredActivities`
1604
1776
  # @return [Array<Google::Apis::AndroidmanagementV1::PersistentPreferredActivity>]
1605
1777
  attr_accessor :persistent_preferred_activities
1606
1778
 
1779
+ # Configuration info for an HTTP proxy. For a direct proxy, set the host, port,
1780
+ # and excluded_hosts fields. For a PAC script proxy, set the pac_uri field.
1781
+ # Corresponds to the JSON property `recommendedGlobalProxy`
1782
+ # @return [Google::Apis::AndroidmanagementV1::ProxyInfo]
1783
+ attr_accessor :recommended_global_proxy
1784
+
1607
1785
  # Whether removing other users is disabled.
1608
1786
  # Corresponds to the JSON property `removeUserDisabled`
1609
1787
  # @return [Boolean]
@@ -1622,6 +1800,33 @@ module Google
1622
1800
  attr_accessor :screen_capture_disabled
1623
1801
  alias_method :screen_capture_disabled?, :screen_capture_disabled
1624
1802
 
1803
+ # Whether changing the user icon is disabled. <i>Requires the beta version of
1804
+ # Android Cloud Policy.</i>
1805
+ # Corresponds to the JSON property `setUserIconDisabled`
1806
+ # @return [Boolean]
1807
+ attr_accessor :set_user_icon_disabled
1808
+ alias_method :set_user_icon_disabled?, :set_user_icon_disabled
1809
+
1810
+ # Whether changing the wallpaper is disabled. <i>Requires the beta version of
1811
+ # Android Cloud Policy.</i>
1812
+ # Corresponds to the JSON property `setWallpaperDisabled`
1813
+ # @return [Boolean]
1814
+ attr_accessor :set_wallpaper_disabled
1815
+ alias_method :set_wallpaper_disabled?, :set_wallpaper_disabled
1816
+
1817
+ # Provides user facing message with locale info. The maximum message length is
1818
+ # 4096 characters.
1819
+ # Corresponds to the JSON property `shortSupportMessage`
1820
+ # @return [Google::Apis::AndroidmanagementV1::UserFacingMessage]
1821
+ attr_accessor :short_support_message
1822
+
1823
+ # Whether sending or receiving SMS messages is disabled. <i>Requires the beta
1824
+ # version of Android Cloud Policy.</i>
1825
+ # Corresponds to the JSON property `smsDisabled`
1826
+ # @return [Boolean]
1827
+ attr_accessor :sms_disabled
1828
+ alias_method :sms_disabled?, :sms_disabled
1829
+
1625
1830
  # Whether the status bar is disabled. This disables notifications, quick
1626
1831
  # settings and other screen overlays that allow escape from full-screen mode.
1627
1832
  # Corresponds to the JSON property `statusBarDisabled`
@@ -1646,18 +1851,46 @@ module Google
1646
1851
  # @return [Google::Apis::AndroidmanagementV1::SystemUpdate]
1647
1852
  attr_accessor :system_update
1648
1853
 
1854
+ # Whether configuring tethering and portable hotspots is disabled. <i>Requires
1855
+ # the beta version of Android Cloud Policy.</i>
1856
+ # Corresponds to the JSON property `tetheringConfigDisabled`
1857
+ # @return [Boolean]
1858
+ attr_accessor :tethering_config_disabled
1859
+ alias_method :tethering_config_disabled?, :tethering_config_disabled
1860
+
1861
+ # Whether user uninstallation of applications is disabled. <i>Requires the beta
1862
+ # version of Android Cloud Policy.</i>
1863
+ # Corresponds to the JSON property `uninstallAppsDisabled`
1864
+ # @return [Boolean]
1865
+ attr_accessor :uninstall_apps_disabled
1866
+ alias_method :uninstall_apps_disabled?, :uninstall_apps_disabled
1867
+
1649
1868
  # Whether the microphone is muted and adjusting microphone volume is disabled.
1650
1869
  # Corresponds to the JSON property `unmuteMicrophoneDisabled`
1651
1870
  # @return [Boolean]
1652
1871
  attr_accessor :unmute_microphone_disabled
1653
1872
  alias_method :unmute_microphone_disabled?, :unmute_microphone_disabled
1654
1873
 
1874
+ # Whether transferring files over USB is disabled. <i>Requires the beta version
1875
+ # of Android Cloud Policy.</i>
1876
+ # Corresponds to the JSON property `usbFileTransferDisabled`
1877
+ # @return [Boolean]
1878
+ attr_accessor :usb_file_transfer_disabled
1879
+ alias_method :usb_file_transfer_disabled?, :usb_file_transfer_disabled
1880
+
1655
1881
  # The version of the policy. This is a read-only field. The version is
1656
1882
  # incremented each time the policy is updated.
1657
1883
  # Corresponds to the JSON property `version`
1658
1884
  # @return [Fixnum]
1659
1885
  attr_accessor :version
1660
1886
 
1887
+ # Whether configuring VPN is disabled. <i>Requires the beta version of Android
1888
+ # Cloud Policy.</i>
1889
+ # Corresponds to the JSON property `vpnConfigDisabled`
1890
+ # @return [Boolean]
1891
+ attr_accessor :vpn_config_disabled
1892
+ alias_method :vpn_config_disabled?, :vpn_config_disabled
1893
+
1661
1894
  # Whether configuring WiFi access points is disabled.
1662
1895
  # Corresponds to the JSON property `wifiConfigDisabled`
1663
1896
  # @return [Boolean]
@@ -1677,36 +1910,64 @@ module Google
1677
1910
 
1678
1911
  # Update properties of this object
1679
1912
  def update!(**args)
1913
+ @account_types_with_management_disabled = args[:account_types_with_management_disabled] if args.key?(:account_types_with_management_disabled)
1680
1914
  @add_user_disabled = args[:add_user_disabled] if args.key?(:add_user_disabled)
1681
1915
  @adjust_volume_disabled = args[:adjust_volume_disabled] if args.key?(:adjust_volume_disabled)
1916
+ @always_on_vpn_package = args[:always_on_vpn_package] if args.key?(:always_on_vpn_package)
1682
1917
  @applications = args[:applications] if args.key?(:applications)
1683
1918
  @auto_time_required = args[:auto_time_required] if args.key?(:auto_time_required)
1684
1919
  @block_applications_enabled = args[:block_applications_enabled] if args.key?(:block_applications_enabled)
1920
+ @bluetooth_config_disabled = args[:bluetooth_config_disabled] if args.key?(:bluetooth_config_disabled)
1921
+ @bluetooth_contact_sharing_disabled = args[:bluetooth_contact_sharing_disabled] if args.key?(:bluetooth_contact_sharing_disabled)
1922
+ @bluetooth_disabled = args[:bluetooth_disabled] if args.key?(:bluetooth_disabled)
1685
1923
  @camera_disabled = args[:camera_disabled] if args.key?(:camera_disabled)
1924
+ @cell_broadcasts_config_disabled = args[:cell_broadcasts_config_disabled] if args.key?(:cell_broadcasts_config_disabled)
1686
1925
  @compliance_rules = args[:compliance_rules] if args.key?(:compliance_rules)
1926
+ @create_windows_disabled = args[:create_windows_disabled] if args.key?(:create_windows_disabled)
1927
+ @credentials_config_disabled = args[:credentials_config_disabled] if args.key?(:credentials_config_disabled)
1928
+ @data_roaming_disabled = args[:data_roaming_disabled] if args.key?(:data_roaming_disabled)
1687
1929
  @debugging_features_allowed = args[:debugging_features_allowed] if args.key?(:debugging_features_allowed)
1688
1930
  @default_permission_policy = args[:default_permission_policy] if args.key?(:default_permission_policy)
1931
+ @ensure_verify_apps_enabled = args[:ensure_verify_apps_enabled] if args.key?(:ensure_verify_apps_enabled)
1689
1932
  @factory_reset_disabled = args[:factory_reset_disabled] if args.key?(:factory_reset_disabled)
1690
1933
  @frp_admin_emails = args[:frp_admin_emails] if args.key?(:frp_admin_emails)
1691
1934
  @fun_disabled = args[:fun_disabled] if args.key?(:fun_disabled)
1935
+ @install_apps_disabled = args[:install_apps_disabled] if args.key?(:install_apps_disabled)
1692
1936
  @install_unknown_sources_allowed = args[:install_unknown_sources_allowed] if args.key?(:install_unknown_sources_allowed)
1693
1937
  @keyguard_disabled = args[:keyguard_disabled] if args.key?(:keyguard_disabled)
1938
+ @keyguard_disabled_features = args[:keyguard_disabled_features] if args.key?(:keyguard_disabled_features)
1939
+ @long_support_message = args[:long_support_message] if args.key?(:long_support_message)
1694
1940
  @maximum_time_to_lock = args[:maximum_time_to_lock] if args.key?(:maximum_time_to_lock)
1941
+ @mobile_networks_config_disabled = args[:mobile_networks_config_disabled] if args.key?(:mobile_networks_config_disabled)
1695
1942
  @modify_accounts_disabled = args[:modify_accounts_disabled] if args.key?(:modify_accounts_disabled)
1943
+ @mount_physical_media_disabled = args[:mount_physical_media_disabled] if args.key?(:mount_physical_media_disabled)
1696
1944
  @name = args[:name] if args.key?(:name)
1697
1945
  @network_escape_hatch_enabled = args[:network_escape_hatch_enabled] if args.key?(:network_escape_hatch_enabled)
1946
+ @network_reset_disabled = args[:network_reset_disabled] if args.key?(:network_reset_disabled)
1698
1947
  @open_network_configuration = args[:open_network_configuration] if args.key?(:open_network_configuration)
1948
+ @outgoing_beam_disabled = args[:outgoing_beam_disabled] if args.key?(:outgoing_beam_disabled)
1949
+ @outgoing_calls_disabled = args[:outgoing_calls_disabled] if args.key?(:outgoing_calls_disabled)
1699
1950
  @password_requirements = args[:password_requirements] if args.key?(:password_requirements)
1951
+ @permitted_input_methods = args[:permitted_input_methods] if args.key?(:permitted_input_methods)
1700
1952
  @persistent_preferred_activities = args[:persistent_preferred_activities] if args.key?(:persistent_preferred_activities)
1953
+ @recommended_global_proxy = args[:recommended_global_proxy] if args.key?(:recommended_global_proxy)
1701
1954
  @remove_user_disabled = args[:remove_user_disabled] if args.key?(:remove_user_disabled)
1702
1955
  @safe_boot_disabled = args[:safe_boot_disabled] if args.key?(:safe_boot_disabled)
1703
1956
  @screen_capture_disabled = args[:screen_capture_disabled] if args.key?(:screen_capture_disabled)
1957
+ @set_user_icon_disabled = args[:set_user_icon_disabled] if args.key?(:set_user_icon_disabled)
1958
+ @set_wallpaper_disabled = args[:set_wallpaper_disabled] if args.key?(:set_wallpaper_disabled)
1959
+ @short_support_message = args[:short_support_message] if args.key?(:short_support_message)
1960
+ @sms_disabled = args[:sms_disabled] if args.key?(:sms_disabled)
1704
1961
  @status_bar_disabled = args[:status_bar_disabled] if args.key?(:status_bar_disabled)
1705
1962
  @status_reporting_settings = args[:status_reporting_settings] if args.key?(:status_reporting_settings)
1706
1963
  @stay_on_plugged_modes = args[:stay_on_plugged_modes] if args.key?(:stay_on_plugged_modes)
1707
1964
  @system_update = args[:system_update] if args.key?(:system_update)
1965
+ @tethering_config_disabled = args[:tethering_config_disabled] if args.key?(:tethering_config_disabled)
1966
+ @uninstall_apps_disabled = args[:uninstall_apps_disabled] if args.key?(:uninstall_apps_disabled)
1708
1967
  @unmute_microphone_disabled = args[:unmute_microphone_disabled] if args.key?(:unmute_microphone_disabled)
1968
+ @usb_file_transfer_disabled = args[:usb_file_transfer_disabled] if args.key?(:usb_file_transfer_disabled)
1709
1969
  @version = args[:version] if args.key?(:version)
1970
+ @vpn_config_disabled = args[:vpn_config_disabled] if args.key?(:vpn_config_disabled)
1710
1971
  @wifi_config_disabled = args[:wifi_config_disabled] if args.key?(:wifi_config_disabled)
1711
1972
  @wifi_configs_lockdown_enabled = args[:wifi_configs_lockdown_enabled] if args.key?(:wifi_configs_lockdown_enabled)
1712
1973
  end
@@ -1743,6 +2004,45 @@ module Google
1743
2004
  end
1744
2005
  end
1745
2006
 
2007
+ # Configuration info for an HTTP proxy. For a direct proxy, set the host, port,
2008
+ # and excluded_hosts fields. For a PAC script proxy, set the pac_uri field.
2009
+ class ProxyInfo
2010
+ include Google::Apis::Core::Hashable
2011
+
2012
+ # For a direct proxy, the hosts for which the proxy is bypassed. The host names
2013
+ # may contain wildcards such as *.example.com.
2014
+ # Corresponds to the JSON property `excludedHosts`
2015
+ # @return [Array<String>]
2016
+ attr_accessor :excluded_hosts
2017
+
2018
+ # The host of the direct proxy.
2019
+ # Corresponds to the JSON property `host`
2020
+ # @return [String]
2021
+ attr_accessor :host
2022
+
2023
+ # The URI of the PAC script used to configure the proxy.
2024
+ # Corresponds to the JSON property `pacUri`
2025
+ # @return [String]
2026
+ attr_accessor :pac_uri
2027
+
2028
+ # The port of the direct proxy.
2029
+ # Corresponds to the JSON property `port`
2030
+ # @return [Fixnum]
2031
+ attr_accessor :port
2032
+
2033
+ def initialize(**args)
2034
+ update!(**args)
2035
+ end
2036
+
2037
+ # Update properties of this object
2038
+ def update!(**args)
2039
+ @excluded_hosts = args[:excluded_hosts] if args.key?(:excluded_hosts)
2040
+ @host = args[:host] if args.key?(:host)
2041
+ @pac_uri = args[:pac_uri] if args.key?(:pac_uri)
2042
+ @port = args[:port] if args.key?(:port)
2043
+ end
2044
+ end
2045
+
1746
2046
  # An enterprise signup URL.
1747
2047
  class SignupUrl
1748
2048
  include Google::Apis::Core::Hashable