google-api-client 0.19.3 → 0.19.4

Sign up to get free protection for your applications and to get access to all the features.
Files changed (104) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +39 -0
  3. data/generated/google/apis/analytics_v3.rb +1 -1
  4. data/generated/google/apis/analytics_v3/classes.rb +212 -0
  5. data/generated/google/apis/analytics_v3/representations.rb +77 -0
  6. data/generated/google/apis/analytics_v3/service.rb +35 -0
  7. data/generated/google/apis/androiddeviceprovisioning_v1.rb +1 -1
  8. data/generated/google/apis/androiddeviceprovisioning_v1/service.rb +2 -2
  9. data/generated/google/apis/androidenterprise_v1.rb +1 -1
  10. data/generated/google/apis/androidenterprise_v1/classes.rb +10 -98
  11. data/generated/google/apis/androidenterprise_v1/representations.rb +1 -46
  12. data/generated/google/apis/androidenterprise_v1/service.rb +0 -229
  13. data/generated/google/apis/androidmanagement_v1.rb +1 -1
  14. data/generated/google/apis/androidmanagement_v1/classes.rb +28 -49
  15. data/generated/google/apis/androidpublisher_v2.rb +1 -1
  16. data/generated/google/apis/androidpublisher_v2/classes.rb +1 -1
  17. data/generated/google/apis/androidpublisher_v2/service.rb +12 -3
  18. data/generated/google/apis/appengine_v1beta.rb +1 -1
  19. data/generated/google/apis/bigquery_v2.rb +1 -1
  20. data/generated/google/apis/bigquery_v2/classes.rb +12 -14
  21. data/generated/google/apis/cloudbilling_v1.rb +1 -1
  22. data/generated/google/apis/cloudbilling_v1/classes.rb +10 -3
  23. data/generated/google/apis/cloudkms_v1.rb +1 -1
  24. data/generated/google/apis/cloudkms_v1/classes.rb +0 -69
  25. data/generated/google/apis/cloudkms_v1/representations.rb +0 -20
  26. data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
  27. data/generated/google/apis/cloudtasks_v2beta2/classes.rb +37 -20
  28. data/generated/google/apis/cloudtasks_v2beta2/representations.rb +1 -1
  29. data/generated/google/apis/compute_alpha.rb +1 -1
  30. data/generated/google/apis/compute_alpha/classes.rb +161 -13
  31. data/generated/google/apis/compute_alpha/representations.rb +55 -1
  32. data/generated/google/apis/compute_alpha/service.rb +3 -4
  33. data/generated/google/apis/compute_beta.rb +1 -1
  34. data/generated/google/apis/compute_beta/classes.rb +102 -12
  35. data/generated/google/apis/compute_beta/representations.rb +14 -1
  36. data/generated/google/apis/compute_beta/service.rb +102 -4
  37. data/generated/google/apis/compute_v1.rb +1 -1
  38. data/generated/google/apis/compute_v1/classes.rb +12 -5
  39. data/generated/google/apis/compute_v1/representations.rb +1 -0
  40. data/generated/google/apis/compute_v1/service.rb +3 -4
  41. data/generated/google/apis/container_v1.rb +1 -1
  42. data/generated/google/apis/container_v1/classes.rb +10 -2
  43. data/generated/google/apis/container_v1beta1.rb +1 -1
  44. data/generated/google/apis/container_v1beta1/classes.rb +10 -2
  45. data/generated/google/apis/content_v2.rb +1 -1
  46. data/generated/google/apis/content_v2/classes.rb +428 -0
  47. data/generated/google/apis/content_v2/representations.rb +169 -0
  48. data/generated/google/apis/content_v2/service.rb +128 -1
  49. data/generated/google/apis/content_v2sandbox.rb +1 -1
  50. data/generated/google/apis/content_v2sandbox/classes.rb +428 -0
  51. data/generated/google/apis/content_v2sandbox/representations.rb +169 -0
  52. data/generated/google/apis/content_v2sandbox/service.rb +127 -0
  53. data/generated/google/apis/dataproc_v1beta2.rb +1 -1
  54. data/generated/google/apis/dataproc_v1beta2/classes.rb +3 -2
  55. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  56. data/generated/google/apis/dialogflow_v2beta1/classes.rb +6 -3
  57. data/generated/google/apis/genomics_v1.rb +1 -1
  58. data/generated/google/apis/genomics_v1/classes.rb +3 -3
  59. data/generated/google/apis/genomics_v1alpha2.rb +1 -1
  60. data/generated/google/apis/logging_v2.rb +1 -1
  61. data/generated/google/apis/logging_v2/classes.rb +9 -0
  62. data/generated/google/apis/logging_v2/representations.rb +1 -0
  63. data/generated/google/apis/logging_v2beta1.rb +1 -1
  64. data/generated/google/apis/logging_v2beta1/classes.rb +9 -0
  65. data/generated/google/apis/logging_v2beta1/representations.rb +1 -0
  66. data/generated/google/apis/ml_v1.rb +1 -1
  67. data/generated/google/apis/ml_v1/classes.rb +0 -136
  68. data/generated/google/apis/ml_v1/representations.rb +0 -33
  69. data/generated/google/apis/monitoring_v3.rb +1 -1
  70. data/generated/google/apis/monitoring_v3/classes.rb +6 -6
  71. data/generated/google/apis/monitoring_v3/service.rb +2 -2
  72. data/generated/google/apis/oslogin_v1.rb +1 -1
  73. data/generated/google/apis/oslogin_v1/classes.rb +1 -9
  74. data/generated/google/apis/oslogin_v1/representations.rb +0 -1
  75. data/generated/google/apis/oslogin_v1alpha.rb +1 -1
  76. data/generated/google/apis/oslogin_v1alpha/classes.rb +2 -9
  77. data/generated/google/apis/oslogin_v1alpha/representations.rb +0 -1
  78. data/generated/google/apis/oslogin_v1beta.rb +1 -1
  79. data/generated/google/apis/oslogin_v1beta/classes.rb +1 -9
  80. data/generated/google/apis/oslogin_v1beta/representations.rb +0 -1
  81. data/generated/google/apis/people_v1.rb +1 -1
  82. data/generated/google/apis/people_v1/service.rb +5 -2
  83. data/generated/google/apis/script_v1.rb +2 -2
  84. data/generated/google/apis/script_v1/service.rb +1 -1
  85. data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
  86. data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +1 -0
  87. data/generated/google/apis/serviceconsumermanagement_v1/service.rb +1 -0
  88. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  89. data/generated/google/apis/servicemanagement_v1/classes.rb +0 -146
  90. data/generated/google/apis/servicemanagement_v1/representations.rb +0 -34
  91. data/generated/google/apis/serviceuser_v1.rb +1 -1
  92. data/generated/google/apis/serviceuser_v1/classes.rb +0 -10
  93. data/generated/google/apis/serviceuser_v1/representations.rb +0 -1
  94. data/generated/google/apis/speech_v1.rb +1 -1
  95. data/generated/google/apis/speech_v1/classes.rb +0 -65
  96. data/generated/google/apis/speech_v1/representations.rb +0 -40
  97. data/generated/google/apis/speech_v1/service.rb +0 -122
  98. data/generated/google/apis/speech_v1beta1.rb +1 -1
  99. data/generated/google/apis/speech_v1beta1/classes.rb +0 -44
  100. data/generated/google/apis/speech_v1beta1/representations.rb +0 -27
  101. data/generated/google/apis/speech_v1beta1/service.rb +0 -119
  102. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  103. data/lib/google/apis/version.rb +1 -1
  104. metadata +2 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 5c92da357ec452fd7360dcfe146c681ce3e69d53
4
- data.tar.gz: de903474c7cb5c7e62cfdf244354b934aa2d68ba
3
+ metadata.gz: 0b6eab94986229ff3f168bbc750789d3c323a127
4
+ data.tar.gz: ea0a8b91d3f89b1c736b50f2286eb296da0b205c
5
5
  SHA512:
6
- metadata.gz: 982d64d75411cc7aece16fb51d20bb9da13890d00df888fe87ad7a7c0600290a3c1ace1d4b3b556504dbfd688daac85f5cbb9e79050e8b02c8102212dcda23fa
7
- data.tar.gz: 68b2a3fe349c5685bab71a6ace527d14182bea4d4682dbf15404306d0c6bc206386f1f468a92fab21714ff1dbbe6979ca8996614990d10d95a5d4e8d6c9c7c46
6
+ metadata.gz: cd52c71002d8523254d8779c5c3e3feab33376c1a65368458c0654e3b8f88dcd7beaf732c2e95cb6554c4b315b9d3fbafbe378b4d155f0991f2cf73a936dae09
7
+ data.tar.gz: 08d99e15dafbbe21c952e1d663d6980ddfa0b871c676e504dd8d32b5c7c8f30d6f8f808a56870db5b130221d0a4ed2f57caaf3c6ba6042316e9bbec641ffe745
@@ -1,3 +1,42 @@
1
+ # 0.19.4
2
+ * Backwards compatible changes:
3
+ * Updated `analytics_v3`
4
+ * Updated `androiddeviceprovisioning_v1`
5
+ * Updated `androidenterprise_v1`
6
+ * Updated `androidmanagement_v1`
7
+ * Updated `androidpublisher_v2`
8
+ * Updated `appengine_v1beta`
9
+ * Updated `bigquery_v2`
10
+ * Updated `cloudbilling_v1`
11
+ * Updated `cloudkms_v1`
12
+ * Updated `cloudtasks_v2beta2`
13
+ * Updated `compute_alpha`
14
+ * Updated `compute_beta`
15
+ * Updated `compute_v1`
16
+ * Updated `container_v1`
17
+ * Updated `container_v1beta1`
18
+ * Updated `content_v2`
19
+ * Updated `content_v2sandbox`
20
+ * Updated `dataproc_v1beta2`
21
+ * Updated `dialogflow_v2beta1`
22
+ * Updated `genomics_v1`
23
+ * Updated `genomics_v1alpha2`
24
+ * Updated `logging_v2`
25
+ * Updated `logging_v2beta1`
26
+ * Updated `ml_v1`
27
+ * Updated `monitoring_v3`
28
+ * Updated `oslogin_v1`
29
+ * Updated `oslogin_v1alpha`
30
+ * Updated `oslogin_v1beta`
31
+ * Updated `people_v1`
32
+ * Updated `script_v1`
33
+ * Updated `serviceconsumermanagement_v1`
34
+ * Updated `servicemanagement_v1`
35
+ * Updated `serviceuser_v1`
36
+ * Updated `speech_v1`
37
+ * Updated `speech_v1beta1`
38
+ * Updated `youtube_partner_v1`
39
+
1
40
  # 0.19.3
2
41
  * Backwards compatible changes:
3
42
  * Updated `admin_reports_v1`
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://developers.google.com/analytics/
26
26
  module AnalyticsV3
27
27
  VERSION = 'V3'
28
- REVISION = '20170807'
28
+ REVISION = '20171211'
29
29
 
30
30
  # View and manage your Google Analytics data
31
31
  AUTH_ANALYTICS = 'https://www.googleapis.com/auth/analytics'
@@ -338,6 +338,218 @@ module Google
338
338
  end
339
339
  end
340
340
 
341
+ # JSON template for an Analytics account tree requests. The account tree request
342
+ # is used in the provisioning api to create an account, property, and view (
343
+ # profile). It contains the basic information required to make these fields.
344
+ class AccountTreeRequest
345
+ include Google::Apis::Core::Hashable
346
+
347
+ #
348
+ # Corresponds to the JSON property `accountName`
349
+ # @return [String]
350
+ attr_accessor :account_name
351
+
352
+ #
353
+ # Corresponds to the JSON property `accountSettings`
354
+ # @return [Google::Apis::AnalyticsV3::AccountTreeRequest::AccountSettings]
355
+ attr_accessor :account_settings
356
+
357
+ # Resource type for account ticket.
358
+ # Corresponds to the JSON property `kind`
359
+ # @return [String]
360
+ attr_accessor :kind
361
+
362
+ #
363
+ # Corresponds to the JSON property `profileName`
364
+ # @return [String]
365
+ attr_accessor :profile_name
366
+
367
+ #
368
+ # Corresponds to the JSON property `timezone`
369
+ # @return [String]
370
+ attr_accessor :timezone
371
+
372
+ #
373
+ # Corresponds to the JSON property `webpropertyName`
374
+ # @return [String]
375
+ attr_accessor :webproperty_name
376
+
377
+ #
378
+ # Corresponds to the JSON property `websiteUrl`
379
+ # @return [String]
380
+ attr_accessor :website_url
381
+
382
+ def initialize(**args)
383
+ update!(**args)
384
+ end
385
+
386
+ # Update properties of this object
387
+ def update!(**args)
388
+ @account_name = args[:account_name] if args.key?(:account_name)
389
+ @account_settings = args[:account_settings] if args.key?(:account_settings)
390
+ @kind = args[:kind] if args.key?(:kind)
391
+ @profile_name = args[:profile_name] if args.key?(:profile_name)
392
+ @timezone = args[:timezone] if args.key?(:timezone)
393
+ @webproperty_name = args[:webproperty_name] if args.key?(:webproperty_name)
394
+ @website_url = args[:website_url] if args.key?(:website_url)
395
+ end
396
+
397
+ #
398
+ class AccountSettings
399
+ include Google::Apis::Core::Hashable
400
+
401
+ #
402
+ # Corresponds to the JSON property `admobReporting`
403
+ # @return [Boolean]
404
+ attr_accessor :admob_reporting
405
+ alias_method :admob_reporting?, :admob_reporting
406
+
407
+ #
408
+ # Corresponds to the JSON property `sharingWithGoogleAnySales`
409
+ # @return [Boolean]
410
+ attr_accessor :sharing_with_google_any_sales
411
+ alias_method :sharing_with_google_any_sales?, :sharing_with_google_any_sales
412
+
413
+ #
414
+ # Corresponds to the JSON property `sharingWithGoogleProducts`
415
+ # @return [Boolean]
416
+ attr_accessor :sharing_with_google_products
417
+ alias_method :sharing_with_google_products?, :sharing_with_google_products
418
+
419
+ #
420
+ # Corresponds to the JSON property `sharingWithGoogleSales`
421
+ # @return [Boolean]
422
+ attr_accessor :sharing_with_google_sales
423
+ alias_method :sharing_with_google_sales?, :sharing_with_google_sales
424
+
425
+ #
426
+ # Corresponds to the JSON property `sharingWithGoogleSupport`
427
+ # @return [Boolean]
428
+ attr_accessor :sharing_with_google_support
429
+ alias_method :sharing_with_google_support?, :sharing_with_google_support
430
+
431
+ #
432
+ # Corresponds to the JSON property `sharingWithOthers`
433
+ # @return [Boolean]
434
+ attr_accessor :sharing_with_others
435
+ alias_method :sharing_with_others?, :sharing_with_others
436
+
437
+ def initialize(**args)
438
+ update!(**args)
439
+ end
440
+
441
+ # Update properties of this object
442
+ def update!(**args)
443
+ @admob_reporting = args[:admob_reporting] if args.key?(:admob_reporting)
444
+ @sharing_with_google_any_sales = args[:sharing_with_google_any_sales] if args.key?(:sharing_with_google_any_sales)
445
+ @sharing_with_google_products = args[:sharing_with_google_products] if args.key?(:sharing_with_google_products)
446
+ @sharing_with_google_sales = args[:sharing_with_google_sales] if args.key?(:sharing_with_google_sales)
447
+ @sharing_with_google_support = args[:sharing_with_google_support] if args.key?(:sharing_with_google_support)
448
+ @sharing_with_others = args[:sharing_with_others] if args.key?(:sharing_with_others)
449
+ end
450
+ end
451
+ end
452
+
453
+ # JSON template for an Analytics account tree response. The account tree
454
+ # response is used in the provisioning api to return the result of creating an
455
+ # account, property, and view (profile).
456
+ class AccountTreeResponse
457
+ include Google::Apis::Core::Hashable
458
+
459
+ # JSON template for Analytics account entry.
460
+ # Corresponds to the JSON property `account`
461
+ # @return [Google::Apis::AnalyticsV3::Account]
462
+ attr_accessor :account
463
+
464
+ #
465
+ # Corresponds to the JSON property `accountSettings`
466
+ # @return [Google::Apis::AnalyticsV3::AccountTreeResponse::AccountSettings]
467
+ attr_accessor :account_settings
468
+
469
+ # Resource type for account ticket.
470
+ # Corresponds to the JSON property `kind`
471
+ # @return [String]
472
+ attr_accessor :kind
473
+
474
+ # JSON template for an Analytics view (profile).
475
+ # Corresponds to the JSON property `profile`
476
+ # @return [Google::Apis::AnalyticsV3::Profile]
477
+ attr_accessor :profile
478
+
479
+ # JSON template for an Analytics web property.
480
+ # Corresponds to the JSON property `webproperty`
481
+ # @return [Google::Apis::AnalyticsV3::Webproperty]
482
+ attr_accessor :webproperty
483
+
484
+ def initialize(**args)
485
+ update!(**args)
486
+ end
487
+
488
+ # Update properties of this object
489
+ def update!(**args)
490
+ @account = args[:account] if args.key?(:account)
491
+ @account_settings = args[:account_settings] if args.key?(:account_settings)
492
+ @kind = args[:kind] if args.key?(:kind)
493
+ @profile = args[:profile] if args.key?(:profile)
494
+ @webproperty = args[:webproperty] if args.key?(:webproperty)
495
+ end
496
+
497
+ #
498
+ class AccountSettings
499
+ include Google::Apis::Core::Hashable
500
+
501
+ #
502
+ # Corresponds to the JSON property `admobReporting`
503
+ # @return [Boolean]
504
+ attr_accessor :admob_reporting
505
+ alias_method :admob_reporting?, :admob_reporting
506
+
507
+ #
508
+ # Corresponds to the JSON property `sharingWithGoogleAnySales`
509
+ # @return [Boolean]
510
+ attr_accessor :sharing_with_google_any_sales
511
+ alias_method :sharing_with_google_any_sales?, :sharing_with_google_any_sales
512
+
513
+ #
514
+ # Corresponds to the JSON property `sharingWithGoogleProducts`
515
+ # @return [Boolean]
516
+ attr_accessor :sharing_with_google_products
517
+ alias_method :sharing_with_google_products?, :sharing_with_google_products
518
+
519
+ #
520
+ # Corresponds to the JSON property `sharingWithGoogleSales`
521
+ # @return [Boolean]
522
+ attr_accessor :sharing_with_google_sales
523
+ alias_method :sharing_with_google_sales?, :sharing_with_google_sales
524
+
525
+ #
526
+ # Corresponds to the JSON property `sharingWithGoogleSupport`
527
+ # @return [Boolean]
528
+ attr_accessor :sharing_with_google_support
529
+ alias_method :sharing_with_google_support?, :sharing_with_google_support
530
+
531
+ #
532
+ # Corresponds to the JSON property `sharingWithOthers`
533
+ # @return [Boolean]
534
+ attr_accessor :sharing_with_others
535
+ alias_method :sharing_with_others?, :sharing_with_others
536
+
537
+ def initialize(**args)
538
+ update!(**args)
539
+ end
540
+
541
+ # Update properties of this object
542
+ def update!(**args)
543
+ @admob_reporting = args[:admob_reporting] if args.key?(:admob_reporting)
544
+ @sharing_with_google_any_sales = args[:sharing_with_google_any_sales] if args.key?(:sharing_with_google_any_sales)
545
+ @sharing_with_google_products = args[:sharing_with_google_products] if args.key?(:sharing_with_google_products)
546
+ @sharing_with_google_sales = args[:sharing_with_google_sales] if args.key?(:sharing_with_google_sales)
547
+ @sharing_with_google_support = args[:sharing_with_google_support] if args.key?(:sharing_with_google_support)
548
+ @sharing_with_others = args[:sharing_with_others] if args.key?(:sharing_with_others)
549
+ end
550
+ end
551
+ end
552
+
341
553
  # An account collection provides a list of Analytics accounts to which a user
342
554
  # has access. The account collection is the entry point to all management
343
555
  # information. Each resource in the collection corresponds to a single Analytics
@@ -64,6 +64,30 @@ module Google
64
64
  include Google::Apis::Core::JsonObjectSupport
65
65
  end
66
66
 
67
+ class AccountTreeRequest
68
+ class Representation < Google::Apis::Core::JsonRepresentation; end
69
+
70
+ class AccountSettings
71
+ class Representation < Google::Apis::Core::JsonRepresentation; end
72
+
73
+ include Google::Apis::Core::JsonObjectSupport
74
+ end
75
+
76
+ include Google::Apis::Core::JsonObjectSupport
77
+ end
78
+
79
+ class AccountTreeResponse
80
+ class Representation < Google::Apis::Core::JsonRepresentation; end
81
+
82
+ class AccountSettings
83
+ class Representation < Google::Apis::Core::JsonRepresentation; end
84
+
85
+ include Google::Apis::Core::JsonObjectSupport
86
+ end
87
+
88
+ include Google::Apis::Core::JsonObjectSupport
89
+ end
90
+
67
91
  class Accounts
68
92
  class Representation < Google::Apis::Core::JsonRepresentation; end
69
93
 
@@ -714,6 +738,59 @@ module Google
714
738
  end
715
739
  end
716
740
 
741
+ class AccountTreeRequest
742
+ # @private
743
+ class Representation < Google::Apis::Core::JsonRepresentation
744
+ property :account_name, as: 'accountName'
745
+ property :account_settings, as: 'accountSettings', class: Google::Apis::AnalyticsV3::AccountTreeRequest::AccountSettings, decorator: Google::Apis::AnalyticsV3::AccountTreeRequest::AccountSettings::Representation
746
+
747
+ property :kind, as: 'kind'
748
+ property :profile_name, as: 'profileName'
749
+ property :timezone, as: 'timezone'
750
+ property :webproperty_name, as: 'webpropertyName'
751
+ property :website_url, as: 'websiteUrl'
752
+ end
753
+
754
+ class AccountSettings
755
+ # @private
756
+ class Representation < Google::Apis::Core::JsonRepresentation
757
+ property :admob_reporting, as: 'admobReporting'
758
+ property :sharing_with_google_any_sales, as: 'sharingWithGoogleAnySales'
759
+ property :sharing_with_google_products, as: 'sharingWithGoogleProducts'
760
+ property :sharing_with_google_sales, as: 'sharingWithGoogleSales'
761
+ property :sharing_with_google_support, as: 'sharingWithGoogleSupport'
762
+ property :sharing_with_others, as: 'sharingWithOthers'
763
+ end
764
+ end
765
+ end
766
+
767
+ class AccountTreeResponse
768
+ # @private
769
+ class Representation < Google::Apis::Core::JsonRepresentation
770
+ property :account, as: 'account', class: Google::Apis::AnalyticsV3::Account, decorator: Google::Apis::AnalyticsV3::Account::Representation
771
+
772
+ property :account_settings, as: 'accountSettings', class: Google::Apis::AnalyticsV3::AccountTreeResponse::AccountSettings, decorator: Google::Apis::AnalyticsV3::AccountTreeResponse::AccountSettings::Representation
773
+
774
+ property :kind, as: 'kind'
775
+ property :profile, as: 'profile', class: Google::Apis::AnalyticsV3::Profile, decorator: Google::Apis::AnalyticsV3::Profile::Representation
776
+
777
+ property :webproperty, as: 'webproperty', class: Google::Apis::AnalyticsV3::Webproperty, decorator: Google::Apis::AnalyticsV3::Webproperty::Representation
778
+
779
+ end
780
+
781
+ class AccountSettings
782
+ # @private
783
+ class Representation < Google::Apis::Core::JsonRepresentation
784
+ property :admob_reporting, as: 'admobReporting'
785
+ property :sharing_with_google_any_sales, as: 'sharingWithGoogleAnySales'
786
+ property :sharing_with_google_products, as: 'sharingWithGoogleProducts'
787
+ property :sharing_with_google_sales, as: 'sharingWithGoogleSales'
788
+ property :sharing_with_google_support, as: 'sharingWithGoogleSupport'
789
+ property :sharing_with_others, as: 'sharingWithOthers'
790
+ end
791
+ end
792
+ end
793
+
717
794
  class Accounts
718
795
  # @private
719
796
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -3811,6 +3811,41 @@ module Google
3811
3811
  command.query['userIp'] = user_ip unless user_ip.nil?
3812
3812
  execute_or_queue_command(command, &block)
3813
3813
  end
3814
+
3815
+ # Provision account.
3816
+ # @param [Google::Apis::AnalyticsV3::AccountTreeRequest] account_tree_request_object
3817
+ # @param [String] fields
3818
+ # Selector specifying which fields to include in a partial response.
3819
+ # @param [String] quota_user
3820
+ # Available to use for quota purposes for server-side applications. Can be any
3821
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
3822
+ # Overrides userIp if both are provided.
3823
+ # @param [String] user_ip
3824
+ # IP address of the site where the request originates. Use this if you want to
3825
+ # enforce per-user limits.
3826
+ # @param [Google::Apis::RequestOptions] options
3827
+ # Request-specific options
3828
+ #
3829
+ # @yield [result, err] Result & error if block supplied
3830
+ # @yieldparam result [Google::Apis::AnalyticsV3::AccountTreeResponse] parsed result object
3831
+ # @yieldparam err [StandardError] error object if request failed
3832
+ #
3833
+ # @return [Google::Apis::AnalyticsV3::AccountTreeResponse]
3834
+ #
3835
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
3836
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
3837
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
3838
+ def create_provisioning_account_tree(account_tree_request_object = nil, fields: nil, quota_user: nil, user_ip: nil, options: nil, &block)
3839
+ command = make_simple_command(:post, 'provisioning/createAccount', options)
3840
+ command.request_representation = Google::Apis::AnalyticsV3::AccountTreeRequest::Representation
3841
+ command.request_object = account_tree_request_object
3842
+ command.response_representation = Google::Apis::AnalyticsV3::AccountTreeResponse::Representation
3843
+ command.response_class = Google::Apis::AnalyticsV3::AccountTreeResponse
3844
+ command.query['fields'] = fields unless fields.nil?
3845
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
3846
+ command.query['userIp'] = user_ip unless user_ip.nil?
3847
+ execute_or_queue_command(command, &block)
3848
+ end
3814
3849
 
3815
3850
  protected
3816
3851
 
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://developers.google.com/zero-touch/
27
27
  module AndroiddeviceprovisioningV1
28
28
  VERSION = 'V1'
29
- REVISION = '20171216'
29
+ REVISION = '20180114'
30
30
  end
31
31
  end
32
32
  end
@@ -324,8 +324,8 @@ module Google
324
324
  # Required. The customer managing the devices. An API resource name in the
325
325
  # format `customers/[CUSTOMER_ID]`.
326
326
  # @param [Fixnum] page_size
327
- # The maximum number of devices to show in a page of results. The default
328
- # value returns all the devices in a single page.
327
+ # The maximum number of devices to show in a page of results.
328
+ # Must be between 1 and 100 inclusive.
329
329
  # @param [String] page_token
330
330
  # A token specifying which result page to return.
331
331
  # @param [String] fields
@@ -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 = '20180103'
28
+ REVISION = '20180111'
29
29
 
30
30
  # Manage corporate Android devices
31
31
  AUTH_ANDROIDENTERPRISE = 'https://www.googleapis.com/auth/androidenterprise'
@@ -1321,6 +1321,11 @@ module Google
1321
1321
  # @return [String]
1322
1322
  attr_accessor :device_id
1323
1323
 
1324
+ # Policy app on the device.
1325
+ # Corresponds to the JSON property `dpcPackageName`
1326
+ # @return [String]
1327
+ attr_accessor :dpc_package_name
1328
+
1324
1329
  # Identifies the extent to which the device is controlled by an Android EMM in
1325
1330
  # various deployment configurations.
1326
1331
  # Possible values include:
@@ -1342,6 +1347,7 @@ module Google
1342
1347
  # Update properties of this object
1343
1348
  def update!(**args)
1344
1349
  @device_id = args[:device_id] if args.key?(:device_id)
1350
+ @dpc_package_name = args[:dpc_package_name] if args.key?(:dpc_package_name)
1345
1351
  @management_type = args[:management_type] if args.key?(:management_type)
1346
1352
  @user_id = args[:user_id] if args.key?(:user_id)
1347
1353
  end
@@ -1647,7 +1653,7 @@ module Google
1647
1653
  # @return [String]
1648
1654
  attr_accessor :content_rating
1649
1655
 
1650
- # A localized promotional description, if available.
1656
+ # The localized promotional description, if available.
1651
1657
  # Corresponds to the JSON property `description`
1652
1658
  # @return [String]
1653
1659
  attr_accessor :description
@@ -1679,8 +1685,8 @@ module Google
1679
1685
  # @return [String]
1680
1686
  attr_accessor :kind
1681
1687
 
1682
- # The time (in milliseconds since epoch) when application was last published. (
1683
- # Timestamp is approximate within 7 days of actual publish time.)
1688
+ # The approximate time (within 7 days) the app was last published, expressed in
1689
+ # milliseconds since epoch.
1684
1690
  # Corresponds to the JSON property `lastUpdatedTimestampMillis`
1685
1691
  # @return [Fixnum]
1686
1692
  attr_accessor :last_updated_timestamp_millis
@@ -1690,7 +1696,7 @@ module Google
1690
1696
  # @return [Fixnum]
1691
1697
  attr_accessor :min_android_sdk_version
1692
1698
 
1693
- # The permissions required for this app.
1699
+ # A list of permissions required by the app.
1694
1700
  # Corresponds to the JSON property `permissions`
1695
1701
  # @return [Array<Google::Apis::AndroidenterpriseV1::ProductPermission>]
1696
1702
  attr_accessor :permissions
@@ -2666,100 +2672,6 @@ module Google
2666
2672
  @user_value = args[:user_value] if args.key?(:user_value)
2667
2673
  end
2668
2674
  end
2669
-
2670
- # WebApp resource info.
2671
- class WebApp
2672
- include Google::Apis::Core::Hashable
2673
-
2674
- # A list of icons representing this website. Must have at least one element.
2675
- # Corresponds to the JSON property `icons`
2676
- # @return [Array<Google::Apis::AndroidenterpriseV1::WebAppImage>]
2677
- attr_accessor :icons
2678
-
2679
- # The name of the web application as it is usually displayed to the user (e.g.,
2680
- # amongst a list of other applications, or as a label for an icon). Required.
2681
- # Corresponds to the JSON property `name`
2682
- # @return [String]
2683
- attr_accessor :name
2684
-
2685
- # String that represents the start URL, i.e. the URL that should load when the
2686
- # user opens the application. Required.
2687
- # Corresponds to the JSON property `startUrl`
2688
- # @return [String]
2689
- attr_accessor :start_url
2690
-
2691
- # The ID of the application.
2692
- # Corresponds to the JSON property `webAppId`
2693
- # @return [String]
2694
- attr_accessor :web_app_id
2695
-
2696
- def initialize(**args)
2697
- update!(**args)
2698
- end
2699
-
2700
- # Update properties of this object
2701
- def update!(**args)
2702
- @icons = args[:icons] if args.key?(:icons)
2703
- @name = args[:name] if args.key?(:name)
2704
- @start_url = args[:start_url] if args.key?(:start_url)
2705
- @web_app_id = args[:web_app_id] if args.key?(:web_app_id)
2706
- end
2707
- end
2708
-
2709
- # Each image object represents an image that is used as part of a web
2710
- # application, suitable to use in various contexts depending on the semantics of
2711
- # the member that is using the object (e.g., an icon that is part of an
2712
- # application menu, etc.).
2713
- class WebAppImage
2714
- include Google::Apis::Core::Hashable
2715
-
2716
- # The actual bytes of the image.
2717
- # Corresponds to the JSON property `imageData`
2718
- # NOTE: Values are automatically base64 encoded/decoded in the client library.
2719
- # @return [String]
2720
- attr_accessor :image_data
2721
-
2722
- # The purposes this image may be used for. Optional.
2723
- # Corresponds to the JSON property `purposes`
2724
- # @return [Array<String>]
2725
- attr_accessor :purposes
2726
-
2727
- def initialize(**args)
2728
- update!(**args)
2729
- end
2730
-
2731
- # Update properties of this object
2732
- def update!(**args)
2733
- @image_data = args[:image_data] if args.key?(:image_data)
2734
- @purposes = args[:purposes] if args.key?(:purposes)
2735
- end
2736
- end
2737
-
2738
- # The web app details for an enterprise.
2739
- class WebAppsListResponse
2740
- include Google::Apis::Core::Hashable
2741
-
2742
- # Identifies what kind of resource this is. Value: the fixed string "
2743
- # androidenterprise#webAppsListResponse".
2744
- # Corresponds to the JSON property `kind`
2745
- # @return [String]
2746
- attr_accessor :kind
2747
-
2748
- # The manifest describing a web app.
2749
- # Corresponds to the JSON property `webApp`
2750
- # @return [Array<Google::Apis::AndroidenterpriseV1::WebApp>]
2751
- attr_accessor :web_app
2752
-
2753
- def initialize(**args)
2754
- update!(**args)
2755
- end
2756
-
2757
- # Update properties of this object
2758
- def update!(**args)
2759
- @kind = args[:kind] if args.key?(:kind)
2760
- @web_app = args[:web_app] if args.key?(:web_app)
2761
- end
2762
- end
2763
2675
  end
2764
2676
  end
2765
2677
  end