google-api-client 0.36.1 → 0.36.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (131) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +45 -0
  3. data/generated/google/apis/androidenterprise_v1.rb +1 -1
  4. data/generated/google/apis/androidenterprise_v1/classes.rb +29 -58
  5. data/generated/google/apis/androidmanagement_v1.rb +1 -1
  6. data/generated/google/apis/androidmanagement_v1/classes.rb +188 -0
  7. data/generated/google/apis/androidmanagement_v1/representations.rb +67 -0
  8. data/generated/google/apis/androidmanagement_v1/service.rb +6 -1
  9. data/generated/google/apis/bigquery_v2.rb +1 -1
  10. data/generated/google/apis/bigquery_v2/classes.rb +6 -0
  11. data/generated/google/apis/bigquery_v2/representations.rb +1 -0
  12. data/generated/google/apis/bigquery_v2/service.rb +19 -2
  13. data/generated/google/apis/bigqueryreservation_v1alpha2.rb +1 -1
  14. data/generated/google/apis/bigqueryreservation_v1alpha2/classes.rb +6 -0
  15. data/generated/google/apis/bigqueryreservation_v1alpha2/representations.rb +1 -0
  16. data/generated/google/apis/bigqueryreservation_v1beta1.rb +1 -1
  17. data/generated/google/apis/bigqueryreservation_v1beta1/classes.rb +6 -0
  18. data/generated/google/apis/bigqueryreservation_v1beta1/representations.rb +1 -0
  19. data/generated/google/apis/binaryauthorization_v1.rb +1 -1
  20. data/generated/google/apis/cloudbuild_v1alpha1.rb +34 -0
  21. data/generated/google/apis/cloudbuild_v1alpha1/classes.rb +1174 -0
  22. data/generated/google/apis/cloudbuild_v1alpha1/representations.rb +435 -0
  23. data/generated/google/apis/cloudbuild_v1alpha1/service.rb +223 -0
  24. data/generated/google/apis/compute_alpha.rb +1 -1
  25. data/generated/google/apis/compute_alpha/classes.rb +234 -240
  26. data/generated/google/apis/compute_alpha/representations.rb +7 -47
  27. data/generated/google/apis/compute_alpha/service.rb +1233 -1068
  28. data/generated/google/apis/compute_beta.rb +1 -1
  29. data/generated/google/apis/compute_beta/classes.rb +936 -164
  30. data/generated/google/apis/compute_beta/representations.rb +371 -0
  31. data/generated/google/apis/compute_beta/service.rb +1394 -899
  32. data/generated/google/apis/compute_v1.rb +1 -1
  33. data/generated/google/apis/compute_v1/classes.rb +479 -147
  34. data/generated/google/apis/compute_v1/representations.rb +127 -0
  35. data/generated/google/apis/compute_v1/service.rb +813 -748
  36. data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
  37. data/generated/google/apis/datacatalog_v1beta1/classes.rb +9 -7
  38. data/generated/google/apis/datacatalog_v1beta1/representations.rb +1 -0
  39. data/generated/google/apis/datacatalog_v1beta1/service.rb +8 -3
  40. data/generated/google/apis/dataflow_v1b3.rb +1 -1
  41. data/generated/google/apis/dataflow_v1b3/classes.rb +69 -0
  42. data/generated/google/apis/dataflow_v1b3/representations.rb +34 -0
  43. data/generated/google/apis/dataproc_v1.rb +1 -1
  44. data/generated/google/apis/dataproc_v1/classes.rb +73 -43
  45. data/generated/google/apis/dataproc_v1beta2.rb +1 -1
  46. data/generated/google/apis/dataproc_v1beta2/classes.rb +73 -43
  47. data/generated/google/apis/dialogflow_v2.rb +1 -1
  48. data/generated/google/apis/dialogflow_v2/classes.rb +44 -11
  49. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  50. data/generated/google/apis/dialogflow_v2beta1/classes.rb +44 -11
  51. data/generated/google/apis/dialogflow_v2beta1/service.rb +20 -0
  52. data/generated/google/apis/dns_v1.rb +1 -1
  53. data/generated/google/apis/dns_v1/classes.rb +70 -0
  54. data/generated/google/apis/dns_v1/representations.rb +32 -0
  55. data/generated/google/apis/dns_v2beta1.rb +1 -1
  56. data/generated/google/apis/dns_v2beta1/classes.rb +70 -0
  57. data/generated/google/apis/dns_v2beta1/representations.rb +32 -0
  58. data/generated/google/apis/docs_v1.rb +1 -1
  59. data/generated/google/apis/docs_v1/classes.rb +152 -0
  60. data/generated/google/apis/docs_v1/representations.rb +56 -0
  61. data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
  62. data/generated/google/apis/doubleclickbidmanager_v1_1.rb +1 -1
  63. data/generated/google/apis/driveactivity_v2.rb +1 -1
  64. data/generated/google/apis/driveactivity_v2/classes.rb +6 -0
  65. data/generated/google/apis/driveactivity_v2/representations.rb +2 -0
  66. data/generated/google/apis/firebase_v1beta1.rb +1 -1
  67. data/generated/google/apis/firestore_v1.rb +1 -1
  68. data/generated/google/apis/firestore_v1/classes.rb +1 -1
  69. data/generated/google/apis/firestore_v1/service.rb +24 -22
  70. data/generated/google/apis/firestore_v1beta1.rb +1 -1
  71. data/generated/google/apis/firestore_v1beta1/classes.rb +1 -1
  72. data/generated/google/apis/firestore_v1beta1/service.rb +16 -14
  73. data/generated/google/apis/fitness_v1.rb +11 -11
  74. data/generated/google/apis/games_management_v1management.rb +1 -1
  75. data/generated/google/apis/games_management_v1management/service.rb +5 -7
  76. data/generated/google/apis/iam_v1.rb +1 -1
  77. data/generated/google/apis/iam_v1/classes.rb +83 -141
  78. data/generated/google/apis/iam_v1/representations.rb +0 -6
  79. data/generated/google/apis/iam_v1/service.rb +11 -21
  80. data/generated/google/apis/language_v1beta2.rb +1 -1
  81. data/generated/google/apis/language_v1beta2/classes.rb +15 -0
  82. data/generated/google/apis/language_v1beta2/representations.rb +2 -0
  83. data/generated/google/apis/logging_v2.rb +3 -2
  84. data/generated/google/apis/logging_v2/service.rb +2 -1
  85. data/generated/google/apis/{surveys_v2.rb → prod_tt_sasportal_v1alpha1.rb} +9 -15
  86. data/generated/google/apis/prod_tt_sasportal_v1alpha1/classes.rb +1084 -0
  87. data/generated/google/apis/prod_tt_sasportal_v1alpha1/representations.rb +503 -0
  88. data/generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb +1322 -0
  89. data/generated/google/apis/recommender_v1beta1.rb +1 -1
  90. data/generated/google/apis/recommender_v1beta1/classes.rb +6 -0
  91. data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
  92. data/generated/google/apis/remotebuildexecution_v1/classes.rb +1 -1
  93. data/generated/google/apis/run_v1alpha1.rb +1 -1
  94. data/generated/google/apis/run_v1alpha1/classes.rb +424 -0
  95. data/generated/google/apis/run_v1alpha1/representations.rb +161 -0
  96. data/generated/google/apis/run_v1alpha1/service.rb +862 -46
  97. data/generated/google/apis/run_v1beta1.rb +1 -1
  98. data/generated/google/apis/run_v1beta1/classes.rb +1 -1
  99. data/generated/google/apis/sasportal_v1alpha1.rb +34 -0
  100. data/generated/google/apis/sasportal_v1alpha1/classes.rb +1084 -0
  101. data/generated/google/apis/sasportal_v1alpha1/representations.rb +503 -0
  102. data/generated/google/apis/sasportal_v1alpha1/service.rb +1322 -0
  103. data/generated/google/apis/securitycenter_v1.rb +1 -1
  104. data/generated/google/apis/securitycenter_v1/classes.rb +18 -0
  105. data/generated/google/apis/securitycenter_v1/representations.rb +3 -0
  106. data/generated/google/apis/securitycenter_v1/service.rb +6 -0
  107. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  108. data/generated/google/apis/servicemanagement_v1/classes.rb +16 -1
  109. data/generated/google/apis/servicemanagement_v1/representations.rb +1 -0
  110. data/generated/google/apis/sheets_v4.rb +1 -1
  111. data/generated/google/apis/sheets_v4/classes.rb +187 -2
  112. data/generated/google/apis/sheets_v4/representations.rb +47 -0
  113. data/generated/google/apis/spanner_v1.rb +1 -1
  114. data/generated/google/apis/spanner_v1/classes.rb +104 -51
  115. data/generated/google/apis/spanner_v1/representations.rb +1 -0
  116. data/generated/google/apis/spanner_v1/service.rb +6 -1
  117. data/generated/google/apis/sql_v1beta4.rb +1 -1
  118. data/generated/google/apis/sql_v1beta4/classes.rb +75 -4
  119. data/generated/google/apis/sql_v1beta4/representations.rb +32 -0
  120. data/generated/google/apis/sql_v1beta4/service.rb +83 -2
  121. data/generated/google/apis/toolresults_v1.rb +31 -0
  122. data/generated/google/apis/toolresults_v1/classes.rb +696 -0
  123. data/generated/google/apis/toolresults_v1/representations.rb +438 -0
  124. data/generated/google/apis/toolresults_v1/service.rb +59 -0
  125. data/generated/google/apis/vision_v1.rb +1 -1
  126. data/generated/google/apis/vision_v1/service.rb +1 -1
  127. data/lib/google/apis/version.rb +1 -1
  128. metadata +19 -7
  129. data/generated/google/apis/surveys_v2/classes.rb +0 -691
  130. data/generated/google/apis/surveys_v2/representations.rb +0 -305
  131. data/generated/google/apis/surveys_v2/service.rb +0 -348
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 8afba385044b47e0448f7ed890c9949a5c02489f7c91e9b4f979046aae3ba4f0
4
- data.tar.gz: 503b2e317e6a7f74aeb0d4eef70c4c4b52e2967f4dbf88a4f08c02fdcc24311e
3
+ metadata.gz: 72abd264f0279c3c32f29cdca91379bc289738ac517311ff95f200a81905e3b7
4
+ data.tar.gz: c2d92e25eb32c4bc834e2489132b3e6badb88e7019f5ea7f085634bb8c6979eb
5
5
  SHA512:
6
- metadata.gz: 3c1d47a12e5e49d22eb91487f751b8b54f1de4b1474ceb82914dad17793e8366bce27ce18a9458199ebd9e4e6fdb4f902629aa3743ac3ed19d8bf8549600cfb9
7
- data.tar.gz: a11670ad33ac18298c8089f5aac60dc312a5e70ed6297fe0ead3b17da64c6eeb252fd592e59ec80a9cf7768325f186c45ff5f307c20e4ecbadfdfa9907fbd218
6
+ metadata.gz: 76892ddc859c0a570b8bee0250cc186a03ad20274fe3686f181a88845d6d887e1655f589cfd9c36ddcba4786f984081863e995be30fec783ad9d24558c7da09d
7
+ data.tar.gz: bb865b8246eab864f9e8fedf817b873a3fb94fdd4c069e7fa6b30b78f0b9fd815436a3755db36c64b401e253d8a7197d3be6d65e0d45079a8cf662c1a6065895
data/CHANGELOG.md CHANGED
@@ -1,3 +1,48 @@
1
+ # 0.36.2
2
+ * Backwards compatible changes:
3
+ * Added `cloudbuild_v1alpha1`
4
+ * Added `sasportal_v1alpha1`
5
+ * Added `toolresults_v1`
6
+ * Updated `androidenterprise_v1`
7
+ * Updated `androidmanagement_v1`
8
+ * Updated `bigquery_v2`
9
+ * Updated `bigqueryreservation_v1alpha2`
10
+ * Updated `bigqueryreservation_v1beta1`
11
+ * Updated `binaryauthorization_v1`
12
+ * Updated `compute_alpha`
13
+ * Updated `compute_beta`
14
+ * Updated `compute_v1`
15
+ * Updated `datacatalog_v1beta1`
16
+ * Updated `dataflow_v1b3`
17
+ * Updated `dataproc_v1`
18
+ * Updated `dataproc_v1beta2`
19
+ * Updated `dialogflow_v2`
20
+ * Updated `dialogflow_v2beta1`
21
+ * Updated `dns_v1`
22
+ * Updated `dns_v2beta1`
23
+ * Updated `docs_v1`
24
+ * Updated `doubleclickbidmanager_v1`
25
+ * Updated `doubleclickbidmanager_v1_1`
26
+ * Updated `driveactivity_v2`
27
+ * Updated `firebase_v1beta1`
28
+ * Updated `firestore_v1`
29
+ * Updated `firestore_v1beta1`
30
+ * Updated `fitness_v1`
31
+ * Updated `games_management_v1management`
32
+ * Updated `iam_v1`
33
+ * Updated `language_v1beta2`
34
+ * Updated `logging_v2`
35
+ * Updated `recommender_v1beta1`
36
+ * Updated `remotebuildexecution_v1`
37
+ * Updated `run_v1alpha1`
38
+ * Updated `run_v1beta1`
39
+ * Updated `securitycenter_v1`
40
+ * Updated `servicemanagement_v1`
41
+ * Updated `sheets_v4`
42
+ * Updated `spanner_v1`
43
+ * Updated `sql_v1beta4`
44
+ * Updated `vision_v1`
45
+
1
46
  # 0.36.1
2
47
  * Backwards compatible changes:
3
48
  * Updated `androidenterprise_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 = '20191201'
28
+ REVISION = '20191211'
29
29
 
30
30
  # Manage corporate Android devices
31
31
  AUTH_ANDROIDENTERPRISE = 'https://www.googleapis.com/auth/androidenterprise'
@@ -46,8 +46,7 @@ module Google
46
46
  class AdministratorWebToken
47
47
  include Google::Apis::Core::Hashable
48
48
 
49
- # Identifies what kind of resource this is. Value: the fixed string "
50
- # androidenterprise#administratorWebToken".
49
+ #
51
50
  # Corresponds to the JSON property `kind`
52
51
  # @return [String]
53
52
  attr_accessor :kind
@@ -74,8 +73,7 @@ module Google
74
73
  class AdministratorWebTokenSpec
75
74
  include Google::Apis::Core::Hashable
76
75
 
77
- # Identifies what kind of resource this is. Value: the fixed string "
78
- # androidenterprise#administratorWebTokenSpec".
76
+ #
79
77
  # Corresponds to the JSON property `kind`
80
78
  # @return [String]
81
79
  attr_accessor :kind
@@ -246,8 +244,7 @@ module Google
246
244
  class AppRestrictionsSchema
247
245
  include Google::Apis::Core::Hashable
248
246
 
249
- # Identifies what kind of resource this is. Value: the fixed string "
250
- # androidenterprise#appRestrictionsSchema".
247
+ #
251
248
  # Corresponds to the JSON property `kind`
252
249
  # @return [String]
253
250
  attr_accessor :kind
@@ -509,8 +506,7 @@ module Google
509
506
  # @return [String]
510
507
  attr_accessor :approval_url
511
508
 
512
- # Identifies what kind of resource this is. Value: the fixed string "
513
- # androidenterprise#approvalUrlInfo".
509
+ #
514
510
  # Corresponds to the JSON property `kind`
515
511
  # @return [String]
516
512
  attr_accessor :kind
@@ -531,8 +527,7 @@ module Google
531
527
  class AuthenticationToken
532
528
  include Google::Apis::Core::Hashable
533
529
 
534
- # Identifies what kind of resource this is. Value: the fixed string "
535
- # androidenterprise#authenticationToken".
530
+ #
536
531
  # Corresponds to the JSON property `kind`
537
532
  # @return [String]
538
533
  attr_accessor :kind
@@ -636,8 +631,7 @@ module Google
636
631
  class ConfigurationVariables
637
632
  include Google::Apis::Core::Hashable
638
633
 
639
- # Identifies what kind of resource this is. Value: the fixed string "
640
- # androidenterprise#configurationVariables".
634
+ #
641
635
  # Corresponds to the JSON property `kind`
642
636
  # @return [String]
643
637
  attr_accessor :kind
@@ -675,8 +669,7 @@ module Google
675
669
  # @return [String]
676
670
  attr_accessor :android_id
677
671
 
678
- # Identifies what kind of resource this is. Value: the fixed string "
679
- # androidenterprise#device".
672
+ #
680
673
  # Corresponds to the JSON property `kind`
681
674
  # @return [String]
682
675
  attr_accessor :kind
@@ -795,8 +788,7 @@ module Google
795
788
  # @return [String]
796
789
  attr_accessor :account_state
797
790
 
798
- # Identifies what kind of resource this is. Value: the fixed string "
799
- # androidenterprise#deviceState".
791
+ #
800
792
  # Corresponds to the JSON property `kind`
801
793
  # @return [String]
802
794
  attr_accessor :kind
@@ -864,8 +856,7 @@ module Google
864
856
  # @return [String]
865
857
  attr_accessor :id
866
858
 
867
- # Identifies what kind of resource this is. Value: the fixed string "
868
- # androidenterprise#enterprise".
859
+ #
869
860
  # Corresponds to the JSON property `kind`
870
861
  # @return [String]
871
862
  attr_accessor :kind
@@ -904,8 +895,7 @@ module Google
904
895
  # @return [String]
905
896
  attr_accessor :account_email
906
897
 
907
- # Identifies what kind of resource this is. Value: the fixed string "
908
- # androidenterprise#enterpriseAccount".
898
+ #
909
899
  # Corresponds to the JSON property `kind`
910
900
  # @return [String]
911
901
  attr_accessor :kind
@@ -996,8 +986,7 @@ module Google
996
986
  class Entitlement
997
987
  include Google::Apis::Core::Hashable
998
988
 
999
- # Identifies what kind of resource this is. Value: the fixed string "
1000
- # androidenterprise#entitlement".
989
+ #
1001
990
  # Corresponds to the JSON property `kind`
1002
991
  # @return [String]
1003
992
  attr_accessor :kind
@@ -1088,8 +1077,7 @@ module Google
1088
1077
  # @return [String]
1089
1078
  attr_accessor :approval
1090
1079
 
1091
- # Identifies what kind of resource this is. Value: the fixed string "
1092
- # androidenterprise#groupLicense".
1080
+ #
1093
1081
  # Corresponds to the JSON property `kind`
1094
1082
  # @return [String]
1095
1083
  attr_accessor :kind
@@ -1226,8 +1214,7 @@ module Google
1226
1214
  # @return [String]
1227
1215
  attr_accessor :install_state
1228
1216
 
1229
- # Identifies what kind of resource this is. Value: the fixed string "
1230
- # androidenterprise#install".
1217
+ #
1231
1218
  # Corresponds to the JSON property `kind`
1232
1219
  # @return [String]
1233
1220
  attr_accessor :kind
@@ -1446,8 +1433,7 @@ module Google
1446
1433
  # @return [Google::Apis::AndroidenterpriseV1::ConfigurationVariables]
1447
1434
  attr_accessor :configuration_variables
1448
1435
 
1449
- # Identifies what kind of resource this is. Value: the fixed string "
1450
- # androidenterprise#managedConfiguration".
1436
+ #
1451
1437
  # Corresponds to the JSON property `kind`
1452
1438
  # @return [String]
1453
1439
  attr_accessor :kind
@@ -1535,8 +1521,7 @@ module Google
1535
1521
  class ManagedConfigurationsSettings
1536
1522
  include Google::Apis::Core::Hashable
1537
1523
 
1538
- # Identifies what kind of resource this is. Value: the fixed string "
1539
- # androidenterprise#managedConfigurationsSettings".
1524
+ #
1540
1525
  # Corresponds to the JSON property `kind`
1541
1526
  # @return [String]
1542
1527
  attr_accessor :kind
@@ -1847,8 +1832,7 @@ module Google
1847
1832
  class NotificationSet
1848
1833
  include Google::Apis::Core::Hashable
1849
1834
 
1850
- # Identifies what kind of resource this is. Value: the fixed string "
1851
- # androidenterprise#notificationSet".
1835
+ #
1852
1836
  # Corresponds to the JSON property `kind`
1853
1837
  # @return [String]
1854
1838
  attr_accessor :kind
@@ -1924,8 +1908,7 @@ module Google
1924
1908
  # @return [String]
1925
1909
  attr_accessor :description
1926
1910
 
1927
- # Identifies what kind of resource this is. Value: the fixed string "
1928
- # androidenterprise#permission".
1911
+ #
1929
1912
  # Corresponds to the JSON property `kind`
1930
1913
  # @return [String]
1931
1914
  attr_accessor :kind
@@ -2078,8 +2061,7 @@ module Google
2078
2061
  # @return [String]
2079
2062
  attr_accessor :icon_url
2080
2063
 
2081
- # Identifies what kind of resource this is. Value: the fixed string "
2082
- # androidenterprise#product".
2064
+ #
2083
2065
  # Corresponds to the JSON property `kind`
2084
2066
  # @return [String]
2085
2067
  attr_accessor :kind
@@ -2270,8 +2252,7 @@ module Google
2270
2252
  class ProductPermissions
2271
2253
  include Google::Apis::Core::Hashable
2272
2254
 
2273
- # Identifies what kind of resource this is. Value: the fixed string "
2274
- # androidenterprise#productPermissions".
2255
+ #
2275
2256
  # Corresponds to the JSON property `kind`
2276
2257
  # @return [String]
2277
2258
  attr_accessor :kind
@@ -2350,8 +2331,7 @@ module Google
2350
2331
  class ProductSet
2351
2332
  include Google::Apis::Core::Hashable
2352
2333
 
2353
- # Identifies what kind of resource this is. Value: the fixed string "
2354
- # androidenterprise#productSet".
2334
+ #
2355
2335
  # Corresponds to the JSON property `kind`
2356
2336
  # @return [String]
2357
2337
  attr_accessor :kind
@@ -2563,8 +2543,7 @@ module Google
2563
2543
  # @return [Google::Apis::AndroidenterpriseV1::ServiceAccountKey]
2564
2544
  attr_accessor :key
2565
2545
 
2566
- # Identifies what kind of resource this is. Value: the fixed string "
2567
- # androidenterprise#serviceAccount".
2546
+ #
2568
2547
  # Corresponds to the JSON property `kind`
2569
2548
  # @return [String]
2570
2549
  attr_accessor :kind
@@ -2603,8 +2582,7 @@ module Google
2603
2582
  # @return [String]
2604
2583
  attr_accessor :id
2605
2584
 
2606
- # Identifies what kind of resource this is. Value: the fixed string "
2607
- # androidenterprise#serviceAccountKey".
2585
+ #
2608
2586
  # Corresponds to the JSON property `kind`
2609
2587
  # @return [String]
2610
2588
  attr_accessor :kind
@@ -2665,8 +2643,7 @@ module Google
2665
2643
  # @return [String]
2666
2644
  attr_accessor :completion_token
2667
2645
 
2668
- # Identifies what kind of resource this is. Value: the fixed string "
2669
- # androidenterprise#signupInfo".
2646
+ #
2670
2647
  # Corresponds to the JSON property `kind`
2671
2648
  # @return [String]
2672
2649
  attr_accessor :kind
@@ -2699,8 +2676,7 @@ module Google
2699
2676
  # @return [String]
2700
2677
  attr_accessor :id
2701
2678
 
2702
- # Identifies what kind of resource this is. Value: the fixed string "
2703
- # androidenterprise#storeCluster".
2679
+ #
2704
2680
  # Corresponds to the JSON property `kind`
2705
2681
  # @return [String]
2706
2682
  attr_accessor :kind
@@ -2755,8 +2731,7 @@ module Google
2755
2731
  # @return [String]
2756
2732
  attr_accessor :homepage_id
2757
2733
 
2758
- # Identifies what kind of resource this is. Value: the fixed string "
2759
- # androidenterprise#storeLayout".
2734
+ #
2760
2735
  # Corresponds to the JSON property `kind`
2761
2736
  # @return [String]
2762
2737
  attr_accessor :kind
@@ -2843,8 +2818,7 @@ module Google
2843
2818
  # @return [String]
2844
2819
  attr_accessor :id
2845
2820
 
2846
- # Identifies what kind of resource this is. Value: the fixed string "
2847
- # androidenterprise#storePage".
2821
+ #
2848
2822
  # Corresponds to the JSON property `kind`
2849
2823
  # @return [String]
2850
2824
  attr_accessor :kind
@@ -2971,8 +2945,7 @@ module Google
2971
2945
  # @return [String]
2972
2946
  attr_accessor :id
2973
2947
 
2974
- # Identifies what kind of resource this is. Value: the fixed string "
2975
- # androidenterprise#user".
2948
+ #
2976
2949
  # Corresponds to the JSON property `kind`
2977
2950
  # @return [String]
2978
2951
  attr_accessor :kind
@@ -3013,8 +2986,7 @@ module Google
3013
2986
  class UserToken
3014
2987
  include Google::Apis::Core::Hashable
3015
2988
 
3016
- # Identifies what kind of resource this is. Value: the fixed string "
3017
- # androidenterprise#userToken".
2989
+ #
3018
2990
  # Corresponds to the JSON property `kind`
3019
2991
  # @return [String]
3020
2992
  attr_accessor :kind
@@ -3075,8 +3047,7 @@ module Google
3075
3047
  class VariableSet
3076
3048
  include Google::Apis::Core::Hashable
3077
3049
 
3078
- # Identifies what kind of resource this is. Value: the fixed string "
3079
- # androidenterprise#variableSet".
3050
+ #
3080
3051
  # Corresponds to the JSON property `kind`
3081
3052
  # @return [String]
3082
3053
  attr_accessor :kind
@@ -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 = '20191207'
29
+ REVISION = '20191214'
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,28 @@ module Google
22
22
  module Apis
23
23
  module AndroidmanagementV1
24
24
 
25
+ # Security policies set to the most secure values by default. To maintain the
26
+ # security posture of a device, we don't recommend overriding any of the default
27
+ # values.
28
+ class AdvancedSecurityOverrides
29
+ include Google::Apis::Core::Hashable
30
+
31
+ # The policy for untrusted apps (apps from unknown sources) enforced on the
32
+ # device. Replaces install_unknown_sources_allowed (deprecated).
33
+ # Corresponds to the JSON property `untrustedAppsPolicy`
34
+ # @return [String]
35
+ attr_accessor :untrusted_apps_policy
36
+
37
+ def initialize(**args)
38
+ update!(**args)
39
+ end
40
+
41
+ # Update properties of this object
42
+ def update!(**args)
43
+ @untrusted_apps_policy = args[:untrusted_apps_policy] if args.key?(:untrusted_apps_policy)
44
+ end
45
+ end
46
+
25
47
  # Configuration for an always-on VPN connection.
26
48
  class AlwaysOnVpnPackage
27
49
  include Google::Apis::Core::Hashable
@@ -586,6 +608,47 @@ module Google
586
608
  end
587
609
  end
588
610
 
611
+ # Represents a whole or partial calendar date, e.g. a birthday. The time of day
612
+ # and time zone are either specified elsewhere or are not significant. The date
613
+ # is relative to the Proleptic Gregorian Calendar. This can represent:
614
+ # A full date, with non-zero year, month and day values
615
+ # A month and day value, with a zero year, e.g. an anniversary
616
+ # A year on its own, with zero month and day values
617
+ # A year and month value, with a zero day, e.g. a credit card expiration
618
+ # dateRelated types are google.type.TimeOfDay and google.protobuf.Timestamp.
619
+ class Date
620
+ include Google::Apis::Core::Hashable
621
+
622
+ # Day of month. Must be from 1 to 31 and valid for the year and month, or 0 if
623
+ # specifying a year by itself or a year and month where the day is not
624
+ # significant.
625
+ # Corresponds to the JSON property `day`
626
+ # @return [Fixnum]
627
+ attr_accessor :day
628
+
629
+ # Month of year. Must be from 1 to 12, or 0 if specifying a year without a month
630
+ # and day.
631
+ # Corresponds to the JSON property `month`
632
+ # @return [Fixnum]
633
+ attr_accessor :month
634
+
635
+ # Year of date. Must be from 1 to 9999, or 0 if specifying a date without a year.
636
+ # Corresponds to the JSON property `year`
637
+ # @return [Fixnum]
638
+ attr_accessor :year
639
+
640
+ def initialize(**args)
641
+ update!(**args)
642
+ end
643
+
644
+ # Update properties of this object
645
+ def update!(**args)
646
+ @day = args[:day] if args.key?(:day)
647
+ @month = args[:month] if args.key?(:month)
648
+ @year = args[:year] if args.key?(:year)
649
+ end
650
+ end
651
+
589
652
  # A device owned by an enterprise. Unless otherwise noted, all fields are read-
590
653
  # only and can't be modified by enterprises.devices.patch.
591
654
  class Device
@@ -1152,6 +1215,53 @@ module Google
1152
1215
  end
1153
1216
  end
1154
1217
 
1218
+ # A system freeze period. When a device’s clock is within the freeze period, all
1219
+ # incoming system updates (including security patches) are blocked and won’t be
1220
+ # installed. When a device is outside the freeze period, normal update behavior
1221
+ # applies. Leap years are ignored in freeze period calculations, in particular: *
1222
+ # If Feb. 29th is set as the start or end date of a freeze period, the freeze
1223
+ # period will start or end on Feb. 28th instead. * When a device’s system clock
1224
+ # reads Feb. 29th, it’s treated as Feb. 28th. * When calculating the number of
1225
+ # days in a freeze period or the time between two freeze periods, Feb. 29th is
1226
+ # ignored and not counted as a day.
1227
+ class FreezePeriod
1228
+ include Google::Apis::Core::Hashable
1229
+
1230
+ # Represents a whole or partial calendar date, e.g. a birthday. The time of day
1231
+ # and time zone are either specified elsewhere or are not significant. The date
1232
+ # is relative to the Proleptic Gregorian Calendar. This can represent:
1233
+ # A full date, with non-zero year, month and day values
1234
+ # A month and day value, with a zero year, e.g. an anniversary
1235
+ # A year on its own, with zero month and day values
1236
+ # A year and month value, with a zero day, e.g. a credit card expiration
1237
+ # dateRelated types are google.type.TimeOfDay and google.protobuf.Timestamp.
1238
+ # Corresponds to the JSON property `endDate`
1239
+ # @return [Google::Apis::AndroidmanagementV1::Date]
1240
+ attr_accessor :end_date
1241
+
1242
+ # Represents a whole or partial calendar date, e.g. a birthday. The time of day
1243
+ # and time zone are either specified elsewhere or are not significant. The date
1244
+ # is relative to the Proleptic Gregorian Calendar. This can represent:
1245
+ # A full date, with non-zero year, month and day values
1246
+ # A month and day value, with a zero year, e.g. an anniversary
1247
+ # A year on its own, with zero month and day values
1248
+ # A year and month value, with a zero day, e.g. a credit card expiration
1249
+ # dateRelated types are google.type.TimeOfDay and google.protobuf.Timestamp.
1250
+ # Corresponds to the JSON property `startDate`
1251
+ # @return [Google::Apis::AndroidmanagementV1::Date]
1252
+ attr_accessor :start_date
1253
+
1254
+ def initialize(**args)
1255
+ update!(**args)
1256
+ end
1257
+
1258
+ # Update properties of this object
1259
+ def update!(**args)
1260
+ @end_date = args[:end_date] if args.key?(:end_date)
1261
+ @start_date = args[:start_date] if args.key?(:start_date)
1262
+ end
1263
+ end
1264
+
1155
1265
  # Information about device hardware. The fields related to temperature
1156
1266
  # thresholds are only available if hardwareStatusEnabled is true in the device's
1157
1267
  # policy.
@@ -1367,6 +1477,49 @@ module Google
1367
1477
  end
1368
1478
  end
1369
1479
 
1480
+ # Settings controlling the behavior of a device in kiosk mode. To enable kiosk
1481
+ # mode, set kioskCustomLauncherEnabled to true or specify an app in the policy
1482
+ # with installType KIOSK.
1483
+ class KioskCustomization
1484
+ include Google::Apis::Core::Hashable
1485
+
1486
+ # Sets the behavior of a device in kiosk mode when a user presses and holds (
1487
+ # long-presses) the Power button.
1488
+ # Corresponds to the JSON property `powerButtonActions`
1489
+ # @return [String]
1490
+ attr_accessor :power_button_actions
1491
+
1492
+ # Specifies whether system info and notifications are disabled in kiosk mode.
1493
+ # Corresponds to the JSON property `statusBar`
1494
+ # @return [String]
1495
+ attr_accessor :status_bar
1496
+
1497
+ # Specifies whether system error dialogs for crashed or unresponsive apps are
1498
+ # blocked in kiosk mode. When blocked, the system will force-stop the app as if
1499
+ # the user chooses the "close app" option on the UI.
1500
+ # Corresponds to the JSON property `systemErrorWarnings`
1501
+ # @return [String]
1502
+ attr_accessor :system_error_warnings
1503
+
1504
+ # Specifies which navigation features are enabled (e.g. Home, Overview buttons)
1505
+ # in kiosk mode.
1506
+ # Corresponds to the JSON property `systemNavigation`
1507
+ # @return [String]
1508
+ attr_accessor :system_navigation
1509
+
1510
+ def initialize(**args)
1511
+ update!(**args)
1512
+ end
1513
+
1514
+ # Update properties of this object
1515
+ def update!(**args)
1516
+ @power_button_actions = args[:power_button_actions] if args.key?(:power_button_actions)
1517
+ @status_bar = args[:status_bar] if args.key?(:status_bar)
1518
+ @system_error_warnings = args[:system_error_warnings] if args.key?(:system_error_warnings)
1519
+ @system_navigation = args[:system_navigation] if args.key?(:system_navigation)
1520
+ end
1521
+ end
1522
+
1370
1523
  # An action to launch an app.
1371
1524
  class LaunchAppAction
1372
1525
  include Google::Apis::Core::Hashable
@@ -1945,6 +2098,15 @@ module Google
1945
2098
  # @return [String]
1946
2099
  attr_accessor :password_scope
1947
2100
 
2101
+ # The length of time after a device or work profile is unlocked using a strong
2102
+ # form of authentication (password, PIN, pattern) that it can be unlocked using
2103
+ # any other authentication method (e.g. fingerprint, trust agents, face). After
2104
+ # the specified time period elapses, only strong forms of authentication can be
2105
+ # used to unlock the device or work profile.
2106
+ # Corresponds to the JSON property `requirePasswordUnlock`
2107
+ # @return [String]
2108
+ attr_accessor :require_password_unlock
2109
+
1948
2110
  def initialize(**args)
1949
2111
  update!(**args)
1950
2112
  end
@@ -1963,6 +2125,7 @@ module Google
1963
2125
  @password_minimum_upper_case = args[:password_minimum_upper_case] if args.key?(:password_minimum_upper_case)
1964
2126
  @password_quality = args[:password_quality] if args.key?(:password_quality)
1965
2127
  @password_scope = args[:password_scope] if args.key?(:password_scope)
2128
+ @require_password_unlock = args[:require_password_unlock] if args.key?(:require_password_unlock)
1966
2129
  end
1967
2130
  end
1968
2131
 
@@ -2056,6 +2219,13 @@ module Google
2056
2219
  attr_accessor :adjust_volume_disabled
2057
2220
  alias_method :adjust_volume_disabled?, :adjust_volume_disabled
2058
2221
 
2222
+ # Security policies set to the most secure values by default. To maintain the
2223
+ # security posture of a device, we don't recommend overriding any of the default
2224
+ # values.
2225
+ # Corresponds to the JSON property `advancedSecurityOverrides`
2226
+ # @return [Google::Apis::AndroidmanagementV1::AdvancedSecurityOverrides]
2227
+ attr_accessor :advanced_security_overrides
2228
+
2059
2229
  # Configuration for an always-on VPN connection.
2060
2230
  # Corresponds to the JSON property `alwaysOnVpnPackage`
2061
2231
  # @return [Google::Apis::AndroidmanagementV1::AlwaysOnVpnPackage]
@@ -2243,6 +2413,13 @@ module Google
2243
2413
  attr_accessor :kiosk_custom_launcher_enabled
2244
2414
  alias_method :kiosk_custom_launcher_enabled?, :kiosk_custom_launcher_enabled
2245
2415
 
2416
+ # Settings controlling the behavior of a device in kiosk mode. To enable kiosk
2417
+ # mode, set kioskCustomLauncherEnabled to true or specify an app in the policy
2418
+ # with installType KIOSK.
2419
+ # Corresponds to the JSON property `kioskCustomization`
2420
+ # @return [Google::Apis::AndroidmanagementV1::KioskCustomization]
2421
+ attr_accessor :kiosk_customization
2422
+
2246
2423
  # The degree of location detection enabled. The user may change the value unless
2247
2424
  # the user is otherwise blocked from accessing device settings.
2248
2425
  # Corresponds to the JSON property `locationMode`
@@ -2534,6 +2711,7 @@ module Google
2534
2711
  @account_types_with_management_disabled = args[:account_types_with_management_disabled] if args.key?(:account_types_with_management_disabled)
2535
2712
  @add_user_disabled = args[:add_user_disabled] if args.key?(:add_user_disabled)
2536
2713
  @adjust_volume_disabled = args[:adjust_volume_disabled] if args.key?(:adjust_volume_disabled)
2714
+ @advanced_security_overrides = args[:advanced_security_overrides] if args.key?(:advanced_security_overrides)
2537
2715
  @always_on_vpn_package = args[:always_on_vpn_package] if args.key?(:always_on_vpn_package)
2538
2716
  @android_device_policy_tracks = args[:android_device_policy_tracks] if args.key?(:android_device_policy_tracks)
2539
2717
  @app_auto_update_policy = args[:app_auto_update_policy] if args.key?(:app_auto_update_policy)
@@ -2563,6 +2741,7 @@ module Google
2563
2741
  @keyguard_disabled = args[:keyguard_disabled] if args.key?(:keyguard_disabled)
2564
2742
  @keyguard_disabled_features = args[:keyguard_disabled_features] if args.key?(:keyguard_disabled_features)
2565
2743
  @kiosk_custom_launcher_enabled = args[:kiosk_custom_launcher_enabled] if args.key?(:kiosk_custom_launcher_enabled)
2744
+ @kiosk_customization = args[:kiosk_customization] if args.key?(:kiosk_customization)
2566
2745
  @location_mode = args[:location_mode] if args.key?(:location_mode)
2567
2746
  @long_support_message = args[:long_support_message] if args.key?(:long_support_message)
2568
2747
  @maximum_time_to_lock = args[:maximum_time_to_lock] if args.key?(:maximum_time_to_lock)
@@ -3085,6 +3264,14 @@ module Google
3085
3264
  # @return [Fixnum]
3086
3265
  attr_accessor :end_minutes
3087
3266
 
3267
+ # An annually repeating time period in which over-the-air (OTA) system updates
3268
+ # are postponed to freeze the OS version running on a device. To prevent
3269
+ # freezing the device indefinitely, each freeze period must be separated by at
3270
+ # least 60 days.
3271
+ # Corresponds to the JSON property `freezePeriods`
3272
+ # @return [Array<Google::Apis::AndroidmanagementV1::FreezePeriod>]
3273
+ attr_accessor :freeze_periods
3274
+
3088
3275
  # If the type is WINDOWED, the start of the maintenance window, measured as the
3089
3276
  # number of minutes after midnight in the device's local time. This value must
3090
3277
  # be between 0 and 1439, inclusive.
@@ -3104,6 +3291,7 @@ module Google
3104
3291
  # Update properties of this object
3105
3292
  def update!(**args)
3106
3293
  @end_minutes = args[:end_minutes] if args.key?(:end_minutes)
3294
+ @freeze_periods = args[:freeze_periods] if args.key?(:freeze_periods)
3107
3295
  @start_minutes = args[:start_minutes] if args.key?(:start_minutes)
3108
3296
  @type = args[:type] if args.key?(:type)
3109
3297
  end