google-api-client 0.24.3 → 0.25.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (262) hide show
  1. checksums.yaml +4 -4
  2. data/.travis.yml +0 -2
  3. data/CHANGELOG.md +99 -0
  4. data/Gemfile +1 -0
  5. data/generated/google/apis/abusiveexperiencereport_v1.rb +2 -2
  6. data/generated/google/apis/abusiveexperiencereport_v1/classes.rb +0 -1
  7. data/generated/google/apis/abusiveexperiencereport_v1/service.rb +1 -1
  8. data/generated/google/apis/{content_v2sandbox.rb → accesscontextmanager_v1beta.rb} +11 -12
  9. data/generated/google/apis/accesscontextmanager_v1beta/classes.rb +697 -0
  10. data/generated/google/apis/accesscontextmanager_v1beta/representations.rb +240 -0
  11. data/generated/google/apis/accesscontextmanager_v1beta/service.rb +666 -0
  12. data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
  13. data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +16 -0
  14. data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +2 -0
  15. data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +2 -2
  16. data/generated/google/apis/adexperiencereport_v1.rb +2 -2
  17. data/generated/google/apis/adexperiencereport_v1/service.rb +1 -1
  18. data/generated/google/apis/alertcenter_v1beta1.rb +4 -3
  19. data/generated/google/apis/alertcenter_v1beta1/classes.rb +9 -2
  20. data/generated/google/apis/alertcenter_v1beta1/representations.rb +1 -0
  21. data/generated/google/apis/alertcenter_v1beta1/service.rb +3 -2
  22. data/generated/google/apis/androiddeviceprovisioning_v1.rb +1 -1
  23. data/generated/google/apis/androiddeviceprovisioning_v1/service.rb +3 -2
  24. data/generated/google/apis/androidenterprise_v1.rb +1 -1
  25. data/generated/google/apis/androidenterprise_v1/classes.rb +68 -6
  26. data/generated/google/apis/androidenterprise_v1/representations.rb +20 -0
  27. data/generated/google/apis/androidmanagement_v1.rb +1 -1
  28. data/generated/google/apis/androidmanagement_v1/classes.rb +92 -0
  29. data/generated/google/apis/androidmanagement_v1/representations.rb +36 -0
  30. data/generated/google/apis/androidpublisher_v1.rb +2 -2
  31. data/generated/google/apis/androidpublisher_v1/service.rb +1 -1
  32. data/generated/google/apis/androidpublisher_v1_1.rb +2 -2
  33. data/generated/google/apis/androidpublisher_v1_1/service.rb +1 -1
  34. data/generated/google/apis/androidpublisher_v2.rb +2 -2
  35. data/generated/google/apis/androidpublisher_v2/service.rb +3 -2
  36. data/generated/google/apis/androidpublisher_v3.rb +2 -2
  37. data/generated/google/apis/androidpublisher_v3/service.rb +3 -2
  38. data/generated/google/apis/appengine_v1.rb +2 -3
  39. data/generated/google/apis/appengine_v1/service.rb +1 -2
  40. data/generated/google/apis/appengine_v1alpha.rb +2 -3
  41. data/generated/google/apis/appengine_v1alpha/service.rb +1 -2
  42. data/generated/google/apis/appengine_v1beta.rb +2 -3
  43. data/generated/google/apis/appengine_v1beta/service.rb +1 -2
  44. data/generated/google/apis/appengine_v1beta4.rb +2 -3
  45. data/generated/google/apis/appengine_v1beta4/service.rb +1 -2
  46. data/generated/google/apis/appengine_v1beta5.rb +2 -3
  47. data/generated/google/apis/appengine_v1beta5/service.rb +1 -2
  48. data/generated/google/apis/bigquery_v2.rb +1 -1
  49. data/generated/google/apis/bigquery_v2/classes.rb +98 -7
  50. data/generated/google/apis/bigquery_v2/representations.rb +35 -0
  51. data/generated/google/apis/bigquerydatatransfer_v1.rb +1 -1
  52. data/generated/google/apis/civicinfo_v2.rb +1 -1
  53. data/generated/google/apis/civicinfo_v2/classes.rb +18 -0
  54. data/generated/google/apis/civicinfo_v2/representations.rb +2 -0
  55. data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
  56. data/generated/google/apis/cloudasset_v1beta1/classes.rb +5 -5
  57. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  58. data/generated/google/apis/cloudbuild_v1/classes.rb +10 -1
  59. data/generated/google/apis/cloudbuild_v1/representations.rb +1 -0
  60. data/generated/google/apis/cloudfunctions_v1.rb +1 -1
  61. data/generated/google/apis/cloudfunctions_v1/classes.rb +418 -0
  62. data/generated/google/apis/cloudfunctions_v1/representations.rb +121 -0
  63. data/generated/google/apis/cloudfunctions_v1/service.rb +107 -0
  64. data/generated/google/apis/cloudfunctions_v1beta2.rb +1 -1
  65. data/generated/google/apis/cloudfunctions_v1beta2/classes.rb +16 -0
  66. data/generated/google/apis/cloudfunctions_v1beta2/representations.rb +1 -0
  67. data/generated/google/apis/cloudkms_v1.rb +1 -1
  68. data/generated/google/apis/cloudresourcemanager_v1.rb +3 -3
  69. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +2 -1
  70. data/generated/google/apis/cloudresourcemanager_v1/service.rb +2 -2
  71. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +3 -3
  72. data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +2 -1
  73. data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +2 -2
  74. data/generated/google/apis/cloudresourcemanager_v2.rb +3 -3
  75. data/generated/google/apis/cloudresourcemanager_v2/service.rb +2 -2
  76. data/generated/google/apis/cloudresourcemanager_v2beta1.rb +3 -3
  77. data/generated/google/apis/cloudresourcemanager_v2beta1/service.rb +2 -2
  78. data/generated/google/apis/cloudsearch_v1.rb +59 -0
  79. data/generated/google/apis/cloudsearch_v1/classes.rb +4697 -0
  80. data/generated/google/apis/cloudsearch_v1/representations.rb +2151 -0
  81. data/generated/google/apis/cloudsearch_v1/service.rb +1351 -0
  82. data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
  83. data/generated/google/apis/cloudtasks_v2beta2/classes.rb +34 -0
  84. data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
  85. data/generated/google/apis/cloudtasks_v2beta3/classes.rb +34 -30
  86. data/generated/google/apis/composer_v1beta1.rb +1 -1
  87. data/generated/google/apis/composer_v1beta1/classes.rb +5 -8
  88. data/generated/google/apis/compute_alpha.rb +1 -1
  89. data/generated/google/apis/compute_beta.rb +1 -1
  90. data/generated/google/apis/compute_v1.rb +1 -1
  91. data/generated/google/apis/content_v2.rb +1 -1
  92. data/generated/google/apis/content_v2/classes.rb +197 -69
  93. data/generated/google/apis/content_v2/representations.rb +64 -33
  94. data/generated/google/apis/content_v2/service.rb +1 -1
  95. data/generated/google/apis/dataflow_v1b3.rb +1 -1
  96. data/generated/google/apis/dataflow_v1b3/classes.rb +42 -0
  97. data/generated/google/apis/dataflow_v1b3/representations.rb +17 -0
  98. data/generated/google/apis/dataproc_v1.rb +1 -1
  99. data/generated/google/apis/dataproc_v1/classes.rb +19 -19
  100. data/generated/google/apis/dataproc_v1beta2.rb +1 -1
  101. data/generated/google/apis/dataproc_v1beta2/classes.rb +19 -19
  102. data/generated/google/apis/dialogflow_v2.rb +6 -3
  103. data/generated/google/apis/dialogflow_v2/classes.rb +112 -8
  104. data/generated/google/apis/dialogflow_v2/representations.rb +30 -0
  105. data/generated/google/apis/dialogflow_v2/service.rb +7 -2
  106. data/generated/google/apis/dialogflow_v2beta1.rb +6 -3
  107. data/generated/google/apis/dialogflow_v2beta1/classes.rb +116 -8
  108. data/generated/google/apis/dialogflow_v2beta1/representations.rb +30 -0
  109. data/generated/google/apis/dialogflow_v2beta1/service.rb +19 -8
  110. data/generated/google/apis/digitalassetlinks_v1.rb +2 -3
  111. data/generated/google/apis/digitalassetlinks_v1/service.rb +1 -2
  112. data/generated/google/apis/dlp_v2.rb +1 -1
  113. data/generated/google/apis/dlp_v2/classes.rb +17 -5
  114. data/generated/google/apis/dlp_v2/representations.rb +2 -0
  115. data/generated/google/apis/dns_v1beta2.rb +1 -1
  116. data/generated/google/apis/dns_v1beta2/classes.rb +81 -0
  117. data/generated/google/apis/dns_v1beta2/representations.rb +34 -0
  118. data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
  119. data/generated/google/apis/doubleclicksearch_v2/classes.rb +1 -1
  120. data/generated/google/apis/drive_v2.rb +1 -1
  121. data/generated/google/apis/drive_v2/classes.rb +3 -1
  122. data/generated/google/apis/firebaserules_v1.rb +1 -1
  123. data/generated/google/apis/firestore_v1.rb +1 -1
  124. data/generated/google/apis/firestore_v1/classes.rb +637 -0
  125. data/generated/google/apis/firestore_v1/representations.rb +260 -0
  126. data/generated/google/apis/firestore_v1/service.rb +377 -0
  127. data/generated/google/apis/firestore_v1beta2.rb +1 -1
  128. data/generated/google/apis/firestore_v1beta2/classes.rb +205 -0
  129. data/generated/google/apis/firestore_v1beta2/representations.rb +83 -0
  130. data/generated/google/apis/firestore_v1beta2/service.rb +79 -0
  131. data/generated/google/apis/genomics_v1.rb +2 -2
  132. data/generated/google/apis/genomics_v1/service.rb +1 -1
  133. data/generated/google/apis/genomics_v1alpha2.rb +2 -2
  134. data/generated/google/apis/genomics_v1alpha2/service.rb +1 -1
  135. data/generated/google/apis/genomics_v2alpha1.rb +2 -2
  136. data/generated/google/apis/genomics_v2alpha1/service.rb +1 -1
  137. data/generated/google/apis/iam_v1.rb +1 -1
  138. data/generated/google/apis/iam_v1/classes.rb +4 -3
  139. data/generated/google/apis/iamcredentials_v1.rb +2 -2
  140. data/generated/google/apis/iamcredentials_v1/service.rb +1 -1
  141. data/generated/google/apis/indexing_v3.rb +2 -3
  142. data/generated/google/apis/indexing_v3/service.rb +1 -2
  143. data/generated/google/apis/jobs_v2.rb +1 -1
  144. data/generated/google/apis/jobs_v2/classes.rb +2 -2
  145. data/generated/google/apis/jobs_v3.rb +1 -1
  146. data/generated/google/apis/jobs_v3/classes.rb +3 -3
  147. data/generated/google/apis/jobs_v3/service.rb +20 -2
  148. data/generated/google/apis/jobs_v3p1beta1.rb +1 -1
  149. data/generated/google/apis/jobs_v3p1beta1/classes.rb +3 -3
  150. data/generated/google/apis/jobs_v3p1beta1/service.rb +20 -2
  151. data/generated/google/apis/language_v1.rb +4 -4
  152. data/generated/google/apis/language_v1/service.rb +3 -3
  153. data/generated/google/apis/language_v1beta1.rb +4 -4
  154. data/generated/google/apis/language_v1beta1/service.rb +3 -3
  155. data/generated/google/apis/language_v1beta2.rb +4 -4
  156. data/generated/google/apis/language_v1beta2/service.rb +3 -3
  157. data/generated/google/apis/logging_v2.rb +1 -1
  158. data/generated/google/apis/logging_v2/classes.rb +2 -13
  159. data/generated/google/apis/logging_v2/representations.rb +0 -2
  160. data/generated/google/apis/logging_v2beta1.rb +1 -1
  161. data/generated/google/apis/logging_v2beta1/classes.rb +2 -41
  162. data/generated/google/apis/logging_v2beta1/representations.rb +0 -16
  163. data/generated/google/apis/logging_v2beta1/service.rb +0 -255
  164. data/generated/google/apis/monitoring_v3.rb +1 -1
  165. data/generated/google/apis/monitoring_v3/classes.rb +25 -15
  166. data/generated/google/apis/monitoring_v3/representations.rb +1 -0
  167. data/generated/google/apis/monitoring_v3/service.rb +366 -1
  168. data/generated/google/apis/oslogin_v1.rb +1 -1
  169. data/generated/google/apis/oslogin_v1/service.rb +7 -1
  170. data/generated/google/apis/oslogin_v1alpha.rb +1 -1
  171. data/generated/google/apis/oslogin_v1alpha/service.rb +10 -1
  172. data/generated/google/apis/oslogin_v1beta.rb +1 -1
  173. data/generated/google/apis/oslogin_v1beta/service.rb +7 -1
  174. data/generated/google/apis/redis_v1.rb +1 -1
  175. data/generated/google/apis/redis_v1/classes.rb +6 -0
  176. data/generated/google/apis/redis_v1/representations.rb +1 -0
  177. data/generated/google/apis/redis_v1beta1.rb +1 -1
  178. data/generated/google/apis/redis_v1beta1/classes.rb +6 -0
  179. data/generated/google/apis/redis_v1beta1/representations.rb +1 -0
  180. data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
  181. data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +7 -6
  182. data/generated/google/apis/script_v1.rb +2 -2
  183. data/generated/google/apis/script_v1/service.rb +7 -3
  184. data/generated/google/apis/serviceconsumermanagement_v1.rb +2 -3
  185. data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +7 -0
  186. data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +1 -0
  187. data/generated/google/apis/serviceconsumermanagement_v1/service.rb +1 -2
  188. data/generated/google/apis/servicecontrol_v1.rb +3 -3
  189. data/generated/google/apis/servicecontrol_v1/classes.rb +18 -230
  190. data/generated/google/apis/servicecontrol_v1/representations.rb +2 -99
  191. data/generated/google/apis/servicecontrol_v1/service.rb +2 -140
  192. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  193. data/generated/google/apis/servicemanagement_v1/classes.rb +1 -1
  194. data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
  195. data/generated/google/apis/servicenetworking_v1beta/classes.rb +24 -0
  196. data/generated/google/apis/servicenetworking_v1beta/representations.rb +3 -0
  197. data/generated/google/apis/serviceusage_v1.rb +1 -1
  198. data/generated/google/apis/serviceusage_v1/classes.rb +7 -0
  199. data/generated/google/apis/serviceusage_v1/representations.rb +1 -0
  200. data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
  201. data/generated/google/apis/serviceusage_v1beta1/classes.rb +7 -0
  202. data/generated/google/apis/serviceusage_v1beta1/representations.rb +1 -0
  203. data/generated/google/apis/slides_v1.rb +2 -2
  204. data/generated/google/apis/slides_v1/classes.rb +4 -3
  205. data/generated/google/apis/slides_v1/service.rb +1 -1
  206. data/generated/google/apis/storage_v1.rb +1 -1
  207. data/generated/google/apis/storage_v1/service.rb +2 -3
  208. data/generated/google/apis/testing_v1.rb +1 -1
  209. data/generated/google/apis/testing_v1/classes.rb +9 -0
  210. data/generated/google/apis/testing_v1/representations.rb +1 -0
  211. data/generated/google/apis/toolresults_v1beta3.rb +1 -1
  212. data/generated/google/apis/toolresults_v1beta3/service.rb +1 -1
  213. data/generated/google/apis/tpu_v1.rb +1 -1
  214. data/generated/google/apis/tpu_v1/classes.rb +6 -0
  215. data/generated/google/apis/tpu_v1/representations.rb +1 -0
  216. data/generated/google/apis/tpu_v1alpha1.rb +1 -1
  217. data/generated/google/apis/tpu_v1alpha1/classes.rb +6 -0
  218. data/generated/google/apis/tpu_v1alpha1/representations.rb +1 -0
  219. data/generated/google/apis/vault_v1.rb +1 -1
  220. data/generated/google/apis/vault_v1/classes.rb +7 -0
  221. data/generated/google/apis/vault_v1/representations.rb +1 -0
  222. data/generated/google/apis/videointelligence_v1.rb +3 -2
  223. data/generated/google/apis/videointelligence_v1/classes.rb +547 -12
  224. data/generated/google/apis/videointelligence_v1/representations.rb +190 -2
  225. data/generated/google/apis/videointelligence_v1/service.rb +2 -1
  226. data/generated/google/apis/videointelligence_v1beta2.rb +3 -2
  227. data/generated/google/apis/videointelligence_v1beta2/classes.rb +547 -12
  228. data/generated/google/apis/videointelligence_v1beta2/representations.rb +190 -2
  229. data/generated/google/apis/videointelligence_v1beta2/service.rb +2 -1
  230. data/generated/google/apis/videointelligence_v1p1beta1.rb +3 -2
  231. data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +418 -13
  232. data/generated/google/apis/videointelligence_v1p1beta1/representations.rb +153 -2
  233. data/generated/google/apis/videointelligence_v1p1beta1/service.rb +2 -1
  234. data/generated/google/apis/vision_v1.rb +1 -1
  235. data/generated/google/apis/vision_v1/classes.rb +1139 -54
  236. data/generated/google/apis/vision_v1/representations.rb +478 -0
  237. data/generated/google/apis/vision_v1/service.rb +744 -0
  238. data/generated/google/apis/vision_v1p1beta1.rb +1 -1
  239. data/generated/google/apis/vision_v1p1beta1/classes.rb +761 -16
  240. data/generated/google/apis/vision_v1p1beta1/representations.rb +333 -0
  241. data/generated/google/apis/vision_v1p2beta1.rb +1 -1
  242. data/generated/google/apis/vision_v1p2beta1/classes.rb +758 -13
  243. data/generated/google/apis/vision_v1p2beta1/representations.rb +333 -0
  244. data/generated/google/apis/websecurityscanner_v1alpha.rb +2 -2
  245. data/generated/google/apis/websecurityscanner_v1alpha/service.rb +1 -1
  246. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  247. data/generated/google/apis/youtube_v3.rb +1 -1
  248. data/lib/google/apis/core/http_command.rb +83 -10
  249. data/lib/google/apis/options.rb +5 -1
  250. data/lib/google/apis/version.rb +1 -1
  251. metadata +10 -14
  252. data/generated/google/apis/content_v2sandbox/classes.rb +0 -4436
  253. data/generated/google/apis/content_v2sandbox/representations.rb +0 -1956
  254. data/generated/google/apis/content_v2sandbox/service.rb +0 -1296
  255. data/generated/google/apis/dfareporting_v2_8.rb +0 -40
  256. data/generated/google/apis/dfareporting_v2_8/classes.rb +0 -12043
  257. data/generated/google/apis/dfareporting_v2_8/representations.rb +0 -4311
  258. data/generated/google/apis/dfareporting_v2_8/service.rb +0 -8727
  259. data/generated/google/apis/serviceuser_v1.rb +0 -42
  260. data/generated/google/apis/serviceuser_v1/classes.rb +0 -3472
  261. data/generated/google/apis/serviceuser_v1/representations.rb +0 -1030
  262. data/generated/google/apis/serviceuser_v1/service.rb +0 -215
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA1:
3
- metadata.gz: 6203edc58a65d21ca717cf1407bc10e94d75552a
4
- data.tar.gz: 20ce7fec037b5d2650948148586d7d651762fcee
3
+ metadata.gz: 574eda7a5a1e6c40f0d3acf37f9a356d28e9878e
4
+ data.tar.gz: ca6831bc29fb0862057c6cf29a15ed1cf4670421
5
5
  SHA512:
6
- metadata.gz: 095e6d0e0c79f07c1b5ca0f135268c3b86b0868561f450b0f19fbf56d861714fd84d539904519feee27c226b98d2ca29a33e9c0fe3a578c1a76cf92898877ace
7
- data.tar.gz: 2c92ce9c0f4a4c287b29d82c7a681b97177642ed17a97eb5f6f92df038b41f517531ee2bc961399e12171139cb96e4b5df63e9e6a0cf44ef860371c1c4d01b52
6
+ metadata.gz: cadf7c49133a5b5b8c4506aa48a224f39db725a920be4ab2aecde5979e2034a8274e2cc7d86f95549d55baaf1e3bacf60be85c671d9d31df96dce6cd40b4f38a
7
+ data.tar.gz: 62ec15ce5e15dd009d6953fa08a04eb6344febc0d9789bc8f311452e21cb9d8453bb7c512a6f7715fcd111ca1ecc1a9707138e9b3a04dd56d16579f4c1f1c4ef
@@ -1,8 +1,6 @@
1
1
  language: ruby
2
2
  sudo: false
3
3
  rvm:
4
- - 2.0
5
- - 2.1
6
4
  - 2.2
7
5
  - 2.3
8
6
  - 2.4
@@ -1,3 +1,102 @@
1
+ # 0.25.0
2
+ * Breaking changes:
3
+ * Deleted `dfareporting_v2_8`
4
+ * Deleted `serviceuser_v1`
5
+ * Backwards compatible changes:
6
+ * Added `cloudsearch_v1`
7
+ * Updated `abusiveexperiencereport_v1`
8
+ * Updated `adexchangebuyer2_v2beta1`
9
+ * Updated `adexperiencereport_v1`
10
+ * Updated `alertcenter_v1beta1`
11
+ * Updated `androiddeviceprovisioning_v1`
12
+ * Updated `androidenterprise_v1`
13
+ * Updated `androidmanagement_v1`
14
+ * Updated `androidpublisher_v1`
15
+ * Updated `androidpublisher_v1_1`
16
+ * Updated `androidpublisher_v2`
17
+ * Updated `androidpublisher_v3`
18
+ * Updated `appengine_v1`
19
+ * Updated `appengine_v1alpha`
20
+ * Updated `appengine_v1beta`
21
+ * Updated `appengine_v1beta4`
22
+ * Updated `appengine_v1beta5`
23
+ * Updated `bigquery_v2`
24
+ * Updated `bigquerydatatransfer_v1`
25
+ * Updated `civicinfo_v2`
26
+ * Updated `cloudasset_v1beta1`
27
+ * Updated `cloudbuild_v1`
28
+ * Updated `cloudfunctions_v1`
29
+ * Updated `cloudfunctions_v1beta2`
30
+ * Updated `cloudkms_v1`
31
+ * Updated `cloudresourcemanager_v1`
32
+ * Updated `cloudresourcemanager_v1beta1`
33
+ * Updated `cloudresourcemanager_v2`
34
+ * Updated `cloudresourcemanager_v2beta1`
35
+ * Updated `cloudtasks_v2beta2`
36
+ * Updated `cloudtasks_v2beta3`
37
+ * Updated `composer_v1beta1`
38
+ * Updated `compute_alpha`
39
+ * Updated `compute_beta`
40
+ * Updated `compute_v1`
41
+ * Updated `content_v2`
42
+ * Updated `dataflow_v1b3`
43
+ * Updated `dataproc_v1`
44
+ * Updated `dataproc_v1beta2`
45
+ * Updated `dialogflow_v2`
46
+ * Updated `dialogflow_v2beta1`
47
+ * Updated `digitalassetlinks_v1`
48
+ * Updated `dlp_v2`
49
+ * Updated `dns_v1beta2`
50
+ * Updated `doubleclicksearch_v2`
51
+ * Updated `drive_v2`
52
+ * Updated `firebaserules_v1`
53
+ * Updated `firestore_v1`
54
+ * Updated `firestore_v1beta2`
55
+ * Updated `genomics_v1`
56
+ * Updated `genomics_v1alpha2`
57
+ * Updated `genomics_v2alpha1`
58
+ * Updated `iam_v1`
59
+ * Updated `iamcredentials_v1`
60
+ * Updated `indexing_v3`
61
+ * Updated `jobs_v2`
62
+ * Updated `jobs_v3`
63
+ * Updated `jobs_v3p1beta1`
64
+ * Updated `language_v1`
65
+ * Updated `language_v1beta1`
66
+ * Updated `language_v1beta2`
67
+ * Updated `logging_v2`
68
+ * Updated `logging_v2beta1`
69
+ * Updated `monitoring_v3`
70
+ * Updated `oslogin_v1`
71
+ * Updated `oslogin_v1alpha`
72
+ * Updated `oslogin_v1beta`
73
+ * Updated `redis_v1`
74
+ * Updated `redis_v1beta1`
75
+ * Updated `runtimeconfig_v1beta1`
76
+ * Updated `script_v1`
77
+ * Updated `serviceconsumermanagement_v1`
78
+ * Updated `servicecontrol_v1`
79
+ * Updated `servicemanagement_v1`
80
+ * Updated `servicenetworking_v1beta`
81
+ * Updated `serviceusage_v1`
82
+ * Updated `serviceusage_v1beta1`
83
+ * Updated `slides_v1`
84
+ * Updated `storage_v1`
85
+ * Updated `testing_v1`
86
+ * Updated `toolresults_v1beta3`
87
+ * Updated `tpu_v1`
88
+ * Updated `tpu_v1alpha1`
89
+ * Updated `vault_v1`
90
+ * Updated `videointelligence_v1`
91
+ * Updated `videointelligence_v1beta2`
92
+ * Updated `videointelligence_v1p1beta1`
93
+ * Updated `vision_v1`
94
+ * Updated `vision_v1p1beta1`
95
+ * Updated `vision_v1p2beta1`
96
+ * Updated `websecurityscanner_v1alpha`
97
+ * Updated `youtube_partner_v1`
98
+ * Updated `youtube_v3`
99
+
1
100
  # 0.24.3
2
101
  * Backwards compatible changes:
3
102
  * Added `alertcenter_v1beta1`
data/Gemfile CHANGED
@@ -21,6 +21,7 @@ group :development do
21
21
  gem 'rmail', '~> 1.1'
22
22
  gem 'redis', '~> 3.2'
23
23
  gem 'logging', '~> 2.2'
24
+ gem 'opencensus', '~> 0.4'
24
25
  end
25
26
 
26
27
  platforms :jruby do
@@ -20,13 +20,13 @@ module Google
20
20
  module Apis
21
21
  # Abusive Experience Report API
22
22
  #
23
- # View Abusive Experience Report data, and get a list of sites that have a
23
+ # Views Abusive Experience Report data, and gets a list of sites that have a
24
24
  # significant number of abusive experiences.
25
25
  #
26
26
  # @see https://developers.google.com/abusive-experience-report/
27
27
  module AbusiveexperiencereportV1
28
28
  VERSION = 'V1'
29
- REVISION = '20180807'
29
+ REVISION = '20181017'
30
30
 
31
31
  # Test scope for access to the Zoo service
32
32
  AUTH_XAPI_ZOO = 'https://www.googleapis.com/auth/xapi.zoo'
@@ -23,7 +23,6 @@ module Google
23
23
  module AbusiveexperiencereportV1
24
24
 
25
25
  # Response message for GetSiteSummary.
26
- # Do not confuse with same message in google.ads.experiencereport.v1
27
26
  class SiteSummaryResponse
28
27
  include Google::Apis::Core::Hashable
29
28
 
@@ -22,7 +22,7 @@ module Google
22
22
  module AbusiveexperiencereportV1
23
23
  # Abusive Experience Report API
24
24
  #
25
- # View Abusive Experience Report data, and get a list of sites that have a
25
+ # Views Abusive Experience Report data, and gets a list of sites that have a
26
26
  # significant number of abusive experiences.
27
27
  #
28
28
  # @example
@@ -12,24 +12,23 @@
12
12
  # See the License for the specific language governing permissions and
13
13
  # limitations under the License.
14
14
 
15
- require 'google/apis/content_v2sandbox/service.rb'
16
- require 'google/apis/content_v2sandbox/classes.rb'
17
- require 'google/apis/content_v2sandbox/representations.rb'
15
+ require 'google/apis/accesscontextmanager_v1beta/service.rb'
16
+ require 'google/apis/accesscontextmanager_v1beta/classes.rb'
17
+ require 'google/apis/accesscontextmanager_v1beta/representations.rb'
18
18
 
19
19
  module Google
20
20
  module Apis
21
- # Content API for Shopping
21
+ # Access Context Manager API
22
22
  #
23
- # Manages product items, inventory, and Merchant Center accounts for Google
24
- # Shopping.
23
+ # An API for setting attribute based access control to requests to GCP services.
25
24
  #
26
- # @see https://developers.google.com/shopping-content
27
- module ContentV2sandbox
28
- VERSION = 'V2sandbox'
29
- REVISION = '20181002'
25
+ # @see https://cloud.google.com/access-context-manager/docs/reference/rest/
26
+ module AccesscontextmanagerV1beta
27
+ VERSION = 'V1beta'
28
+ REVISION = '20181013'
30
29
 
31
- # Manage your product listings and accounts for Google Shopping
32
- AUTH_CONTENT = 'https://www.googleapis.com/auth/content'
30
+ # View and manage your data across Google Cloud Platform services
31
+ AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
33
32
  end
34
33
  end
35
34
  end
@@ -0,0 +1,697 @@
1
+ # Copyright 2015 Google Inc.
2
+ #
3
+ # Licensed under the Apache License, Version 2.0 (the "License");
4
+ # you may not use this file except in compliance with the License.
5
+ # You may obtain a copy of the License at
6
+ #
7
+ # http://www.apache.org/licenses/LICENSE-2.0
8
+ #
9
+ # Unless required by applicable law or agreed to in writing, software
10
+ # distributed under the License is distributed on an "AS IS" BASIS,
11
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ # See the License for the specific language governing permissions and
13
+ # limitations under the License.
14
+
15
+ require 'date'
16
+ require 'google/apis/core/base_service'
17
+ require 'google/apis/core/json_representation'
18
+ require 'google/apis/core/hashable'
19
+ require 'google/apis/errors'
20
+
21
+ module Google
22
+ module Apis
23
+ module AccesscontextmanagerV1beta
24
+
25
+ # An `AccessLevel` is a label that can be applied to requests to GCP services,
26
+ # along with a list of requirements necessary for the label to be applied.
27
+ # `AccessLevels` can be referenced in `AccessZones` and in the `Cloud Org
28
+ # Policy` API.
29
+ class AccessLevel
30
+ include Google::Apis::Core::Hashable
31
+
32
+ # `BasicLevel` is an `AccessLevel` using a set of recommended features.
33
+ # Corresponds to the JSON property `basic`
34
+ # @return [Google::Apis::AccesscontextmanagerV1beta::BasicLevel]
35
+ attr_accessor :basic
36
+
37
+ # Output only. Time the `AccessLevel` was created in UTC.
38
+ # Corresponds to the JSON property `createTime`
39
+ # @return [String]
40
+ attr_accessor :create_time
41
+
42
+ # Description of the `AccessLevel` and its use. Does not affect behavior.
43
+ # Corresponds to the JSON property `description`
44
+ # @return [String]
45
+ attr_accessor :description
46
+
47
+ # Required. Resource name for the Access Level. The `short_name` component
48
+ # must begin with a letter and only include alphanumeric and '_'. Format:
49
+ # `accessPolicies/`policy_id`/accessLevels/`short_name``
50
+ # Corresponds to the JSON property `name`
51
+ # @return [String]
52
+ attr_accessor :name
53
+
54
+ # Human readable title. Must be unique within the Policy.
55
+ # Corresponds to the JSON property `title`
56
+ # @return [String]
57
+ attr_accessor :title
58
+
59
+ # Output only. Time the `AccessLevel` was updated in UTC.
60
+ # Corresponds to the JSON property `updateTime`
61
+ # @return [String]
62
+ attr_accessor :update_time
63
+
64
+ def initialize(**args)
65
+ update!(**args)
66
+ end
67
+
68
+ # Update properties of this object
69
+ def update!(**args)
70
+ @basic = args[:basic] if args.key?(:basic)
71
+ @create_time = args[:create_time] if args.key?(:create_time)
72
+ @description = args[:description] if args.key?(:description)
73
+ @name = args[:name] if args.key?(:name)
74
+ @title = args[:title] if args.key?(:title)
75
+ @update_time = args[:update_time] if args.key?(:update_time)
76
+ end
77
+ end
78
+
79
+ # `AccessPolicy` is a container for `AccessLevels` (which define the necessary
80
+ # attributes to use GCP services) and `ServicePerimeters` (which define regions
81
+ # of services able to freely pass data within a perimeter). An access policy is
82
+ # globally visible within an organization, and the restrictions it specifies
83
+ # apply to all projects within an organization.
84
+ class AccessPolicy
85
+ include Google::Apis::Core::Hashable
86
+
87
+ # Output only. Time the `AccessPolicy` was created in UTC.
88
+ # Corresponds to the JSON property `createTime`
89
+ # @return [String]
90
+ attr_accessor :create_time
91
+
92
+ # Output only. Resource name of the `AccessPolicy`. Format:
93
+ # `accessPolicies/`policy_id``
94
+ # Corresponds to the JSON property `name`
95
+ # @return [String]
96
+ attr_accessor :name
97
+
98
+ # Required. The parent of this `AccessPolicy` in the Cloud Resource
99
+ # Hierarchy. Currently immutable once created. Format:
100
+ # `organizations/`organization_id``
101
+ # Corresponds to the JSON property `parent`
102
+ # @return [String]
103
+ attr_accessor :parent
104
+
105
+ # Required. Human readable title. Does not affect behavior.
106
+ # Corresponds to the JSON property `title`
107
+ # @return [String]
108
+ attr_accessor :title
109
+
110
+ # Output only. Time the `AccessPolicy` was updated in UTC.
111
+ # Corresponds to the JSON property `updateTime`
112
+ # @return [String]
113
+ attr_accessor :update_time
114
+
115
+ def initialize(**args)
116
+ update!(**args)
117
+ end
118
+
119
+ # Update properties of this object
120
+ def update!(**args)
121
+ @create_time = args[:create_time] if args.key?(:create_time)
122
+ @name = args[:name] if args.key?(:name)
123
+ @parent = args[:parent] if args.key?(:parent)
124
+ @title = args[:title] if args.key?(:title)
125
+ @update_time = args[:update_time] if args.key?(:update_time)
126
+ end
127
+ end
128
+
129
+ # `BasicLevel` is an `AccessLevel` using a set of recommended features.
130
+ class BasicLevel
131
+ include Google::Apis::Core::Hashable
132
+
133
+ # How the `conditions` list should be combined to determine if a request is
134
+ # granted this `AccessLevel`. If AND is used, each `Condition` in
135
+ # `conditions` must be satisfied for the `AccessLevel` to be applied. If OR
136
+ # is used, at least one `Condition` in `conditions` must be satisfied for the
137
+ # `AccessLevel` to be applied. Default behavior is AND.
138
+ # Corresponds to the JSON property `combiningFunction`
139
+ # @return [String]
140
+ attr_accessor :combining_function
141
+
142
+ # Required. A list of requirements for the `AccessLevel` to be granted.
143
+ # Corresponds to the JSON property `conditions`
144
+ # @return [Array<Google::Apis::AccesscontextmanagerV1beta::Condition>]
145
+ attr_accessor :conditions
146
+
147
+ def initialize(**args)
148
+ update!(**args)
149
+ end
150
+
151
+ # Update properties of this object
152
+ def update!(**args)
153
+ @combining_function = args[:combining_function] if args.key?(:combining_function)
154
+ @conditions = args[:conditions] if args.key?(:conditions)
155
+ end
156
+ end
157
+
158
+ # A condition necessary for an `AccessLevel` to be granted. The Condition is an
159
+ # AND over its fields. So a Condition is true if: 1) the request IP is from one
160
+ # of the listed subnetworks AND 2) the originating device complies with the
161
+ # listed device policy AND 3) all listed access levels are granted AND 4) the
162
+ # request was sent at a time allowed by the DateTimeRestriction.
163
+ class Condition
164
+ include Google::Apis::Core::Hashable
165
+
166
+ # `DevicePolicy` specifies device specific restrictions necessary to acquire a
167
+ # given access level. A `DevicePolicy` specifies requirements for requests from
168
+ # devices to be granted access levels, it does not do any enforcement on the
169
+ # device. `DevicePolicy` acts as an AND over all specified fields, and each
170
+ # repeated field is an OR over its elements. Any unset fields are ignored. For
171
+ # example, if the proto is ` os_type : DESKTOP_WINDOWS, os_type :
172
+ # DESKTOP_LINUX, encryption_status: ENCRYPTED`, then the DevicePolicy will be
173
+ # true for requests originating from encrypted Linux desktops and encrypted
174
+ # Windows desktops.
175
+ # Corresponds to the JSON property `devicePolicy`
176
+ # @return [Google::Apis::AccesscontextmanagerV1beta::DevicePolicy]
177
+ attr_accessor :device_policy
178
+
179
+ # CIDR block IP subnetwork specification. May be IPv4 or IPv6. Note that for
180
+ # a CIDR IP address block, the specified IP address portion must be properly
181
+ # truncated (i.e. all the host bits must be zero) or the input is considered
182
+ # malformed. For example, "192.0.2.0/24" is accepted but "192.0.2.1/24" is
183
+ # not. Similarly, for IPv6, "2001:db8::/32" is accepted whereas
184
+ # "2001:db8::1/32" is not. The originating IP of a request must be in one of
185
+ # the listed subnets in order for this Condition to be true. If empty, all IP
186
+ # addresses are allowed.
187
+ # Corresponds to the JSON property `ipSubnetworks`
188
+ # @return [Array<String>]
189
+ attr_accessor :ip_subnetworks
190
+
191
+ # The signed-in user originating the request must be a part of one of the
192
+ # provided members.
193
+ # Syntax:
194
+ # `user:`emailid``
195
+ # `group:`emailid``
196
+ # `serviceAccount:`emailid``
197
+ # If not specified, a request may come from any user (logged in/not logged
198
+ # in, not present in any groups, etc.).
199
+ # Corresponds to the JSON property `members`
200
+ # @return [Array<String>]
201
+ attr_accessor :members
202
+
203
+ # Whether to negate the Condition. If true, the Condition becomes a NAND over
204
+ # its non-empty fields, each field must be false for the Condition overall to
205
+ # be satisfied. Defaults to false.
206
+ # Corresponds to the JSON property `negate`
207
+ # @return [Boolean]
208
+ attr_accessor :negate
209
+ alias_method :negate?, :negate
210
+
211
+ # A list of other access levels defined in the same `Policy`, referenced by
212
+ # resource name. Referencing an `AccessLevel` which does not exist is an
213
+ # error. All access levels listed must be granted for the Condition
214
+ # to be true. Example:
215
+ # "`accessPolicies/MY_POLICY/accessLevels/LEVEL_NAME"`
216
+ # Corresponds to the JSON property `requiredAccessLevels`
217
+ # @return [Array<String>]
218
+ attr_accessor :required_access_levels
219
+
220
+ def initialize(**args)
221
+ update!(**args)
222
+ end
223
+
224
+ # Update properties of this object
225
+ def update!(**args)
226
+ @device_policy = args[:device_policy] if args.key?(:device_policy)
227
+ @ip_subnetworks = args[:ip_subnetworks] if args.key?(:ip_subnetworks)
228
+ @members = args[:members] if args.key?(:members)
229
+ @negate = args[:negate] if args.key?(:negate)
230
+ @required_access_levels = args[:required_access_levels] if args.key?(:required_access_levels)
231
+ end
232
+ end
233
+
234
+ # `DevicePolicy` specifies device specific restrictions necessary to acquire a
235
+ # given access level. A `DevicePolicy` specifies requirements for requests from
236
+ # devices to be granted access levels, it does not do any enforcement on the
237
+ # device. `DevicePolicy` acts as an AND over all specified fields, and each
238
+ # repeated field is an OR over its elements. Any unset fields are ignored. For
239
+ # example, if the proto is ` os_type : DESKTOP_WINDOWS, os_type :
240
+ # DESKTOP_LINUX, encryption_status: ENCRYPTED`, then the DevicePolicy will be
241
+ # true for requests originating from encrypted Linux desktops and encrypted
242
+ # Windows desktops.
243
+ class DevicePolicy
244
+ include Google::Apis::Core::Hashable
245
+
246
+ # Allowed device management levels, an empty list allows all management
247
+ # levels.
248
+ # Corresponds to the JSON property `allowedDeviceManagementLevels`
249
+ # @return [Array<String>]
250
+ attr_accessor :allowed_device_management_levels
251
+
252
+ # Allowed encryptions statuses, an empty list allows all statuses.
253
+ # Corresponds to the JSON property `allowedEncryptionStatuses`
254
+ # @return [Array<String>]
255
+ attr_accessor :allowed_encryption_statuses
256
+
257
+ # Allowed OS versions, an empty list allows all types and all versions.
258
+ # Corresponds to the JSON property `osConstraints`
259
+ # @return [Array<Google::Apis::AccesscontextmanagerV1beta::OsConstraint>]
260
+ attr_accessor :os_constraints
261
+
262
+ # Whether or not screenlock is required for the DevicePolicy to be true.
263
+ # Defaults to `false`.
264
+ # Corresponds to the JSON property `requireScreenlock`
265
+ # @return [Boolean]
266
+ attr_accessor :require_screenlock
267
+ alias_method :require_screenlock?, :require_screenlock
268
+
269
+ def initialize(**args)
270
+ update!(**args)
271
+ end
272
+
273
+ # Update properties of this object
274
+ def update!(**args)
275
+ @allowed_device_management_levels = args[:allowed_device_management_levels] if args.key?(:allowed_device_management_levels)
276
+ @allowed_encryption_statuses = args[:allowed_encryption_statuses] if args.key?(:allowed_encryption_statuses)
277
+ @os_constraints = args[:os_constraints] if args.key?(:os_constraints)
278
+ @require_screenlock = args[:require_screenlock] if args.key?(:require_screenlock)
279
+ end
280
+ end
281
+
282
+ # A response to `ListAccessLevelsRequest`.
283
+ class ListAccessLevelsResponse
284
+ include Google::Apis::Core::Hashable
285
+
286
+ # List of the Access Level instances.
287
+ # Corresponds to the JSON property `accessLevels`
288
+ # @return [Array<Google::Apis::AccesscontextmanagerV1beta::AccessLevel>]
289
+ attr_accessor :access_levels
290
+
291
+ # The pagination token to retrieve the next page of results. If the value is
292
+ # empty, no further results remain.
293
+ # Corresponds to the JSON property `nextPageToken`
294
+ # @return [String]
295
+ attr_accessor :next_page_token
296
+
297
+ def initialize(**args)
298
+ update!(**args)
299
+ end
300
+
301
+ # Update properties of this object
302
+ def update!(**args)
303
+ @access_levels = args[:access_levels] if args.key?(:access_levels)
304
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
305
+ end
306
+ end
307
+
308
+ # A response to `ListAccessPoliciesRequest`.
309
+ class ListAccessPoliciesResponse
310
+ include Google::Apis::Core::Hashable
311
+
312
+ # List of the AccessPolicy instances.
313
+ # Corresponds to the JSON property `accessPolicies`
314
+ # @return [Array<Google::Apis::AccesscontextmanagerV1beta::AccessPolicy>]
315
+ attr_accessor :access_policies
316
+
317
+ # The pagination token to retrieve the next page of results. If the value is
318
+ # empty, no further results remain.
319
+ # Corresponds to the JSON property `nextPageToken`
320
+ # @return [String]
321
+ attr_accessor :next_page_token
322
+
323
+ def initialize(**args)
324
+ update!(**args)
325
+ end
326
+
327
+ # Update properties of this object
328
+ def update!(**args)
329
+ @access_policies = args[:access_policies] if args.key?(:access_policies)
330
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
331
+ end
332
+ end
333
+
334
+ # A response to `ListServicePerimetersRequest`.
335
+ class ListServicePerimetersResponse
336
+ include Google::Apis::Core::Hashable
337
+
338
+ # The pagination token to retrieve the next page of results. If the value is
339
+ # empty, no further results remain.
340
+ # Corresponds to the JSON property `nextPageToken`
341
+ # @return [String]
342
+ attr_accessor :next_page_token
343
+
344
+ # List of the Service Perimeter instances.
345
+ # Corresponds to the JSON property `servicePerimeters`
346
+ # @return [Array<Google::Apis::AccesscontextmanagerV1beta::ServicePerimeter>]
347
+ attr_accessor :service_perimeters
348
+
349
+ def initialize(**args)
350
+ update!(**args)
351
+ end
352
+
353
+ # Update properties of this object
354
+ def update!(**args)
355
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
356
+ @service_perimeters = args[:service_perimeters] if args.key?(:service_perimeters)
357
+ end
358
+ end
359
+
360
+ # This resource represents a long-running operation that is the result of a
361
+ # network API call.
362
+ class Operation
363
+ include Google::Apis::Core::Hashable
364
+
365
+ # If the value is `false`, it means the operation is still in progress.
366
+ # If `true`, the operation is completed, and either `error` or `response` is
367
+ # available.
368
+ # Corresponds to the JSON property `done`
369
+ # @return [Boolean]
370
+ attr_accessor :done
371
+ alias_method :done?, :done
372
+
373
+ # The `Status` type defines a logical error model that is suitable for different
374
+ # programming environments, including REST APIs and RPC APIs. It is used by
375
+ # [gRPC](https://github.com/grpc). The error model is designed to be:
376
+ # - Simple to use and understand for most users
377
+ # - Flexible enough to meet unexpected needs
378
+ # # Overview
379
+ # The `Status` message contains three pieces of data: error code, error message,
380
+ # and error details. The error code should be an enum value of
381
+ # google.rpc.Code, but it may accept additional error codes if needed. The
382
+ # error message should be a developer-facing English message that helps
383
+ # developers *understand* and *resolve* the error. If a localized user-facing
384
+ # error message is needed, put the localized message in the error details or
385
+ # localize it in the client. The optional error details may contain arbitrary
386
+ # information about the error. There is a predefined set of error detail types
387
+ # in the package `google.rpc` that can be used for common error conditions.
388
+ # # Language mapping
389
+ # The `Status` message is the logical representation of the error model, but it
390
+ # is not necessarily the actual wire format. When the `Status` message is
391
+ # exposed in different client libraries and different wire protocols, it can be
392
+ # mapped differently. For example, it will likely be mapped to some exceptions
393
+ # in Java, but more likely mapped to some error codes in C.
394
+ # # Other uses
395
+ # The error model and the `Status` message can be used in a variety of
396
+ # environments, either with or without APIs, to provide a
397
+ # consistent developer experience across different environments.
398
+ # Example uses of this error model include:
399
+ # - Partial errors. If a service needs to return partial errors to the client,
400
+ # it may embed the `Status` in the normal response to indicate the partial
401
+ # errors.
402
+ # - Workflow errors. A typical workflow has multiple steps. Each step may
403
+ # have a `Status` message for error reporting.
404
+ # - Batch operations. If a client uses batch request and batch response, the
405
+ # `Status` message should be used directly inside batch response, one for
406
+ # each error sub-response.
407
+ # - Asynchronous operations. If an API call embeds asynchronous operation
408
+ # results in its response, the status of those operations should be
409
+ # represented directly using the `Status` message.
410
+ # - Logging. If some API errors are stored in logs, the message `Status` could
411
+ # be used directly after any stripping needed for security/privacy reasons.
412
+ # Corresponds to the JSON property `error`
413
+ # @return [Google::Apis::AccesscontextmanagerV1beta::Status]
414
+ attr_accessor :error
415
+
416
+ # Service-specific metadata associated with the operation. It typically
417
+ # contains progress information and common metadata such as create time.
418
+ # Some services might not provide such metadata. Any method that returns a
419
+ # long-running operation should document the metadata type, if any.
420
+ # Corresponds to the JSON property `metadata`
421
+ # @return [Hash<String,Object>]
422
+ attr_accessor :metadata
423
+
424
+ # The server-assigned name, which is only unique within the same service that
425
+ # originally returns it. If you use the default HTTP mapping, the
426
+ # `name` should have the format of `operations/some/unique/name`.
427
+ # Corresponds to the JSON property `name`
428
+ # @return [String]
429
+ attr_accessor :name
430
+
431
+ # The normal response of the operation in case of success. If the original
432
+ # method returns no data on success, such as `Delete`, the response is
433
+ # `google.protobuf.Empty`. If the original method is standard
434
+ # `Get`/`Create`/`Update`, the response should be the resource. For other
435
+ # methods, the response should have the type `XxxResponse`, where `Xxx`
436
+ # is the original method name. For example, if the original method name
437
+ # is `TakeSnapshot()`, the inferred response type is
438
+ # `TakeSnapshotResponse`.
439
+ # Corresponds to the JSON property `response`
440
+ # @return [Hash<String,Object>]
441
+ attr_accessor :response
442
+
443
+ def initialize(**args)
444
+ update!(**args)
445
+ end
446
+
447
+ # Update properties of this object
448
+ def update!(**args)
449
+ @done = args[:done] if args.key?(:done)
450
+ @error = args[:error] if args.key?(:error)
451
+ @metadata = args[:metadata] if args.key?(:metadata)
452
+ @name = args[:name] if args.key?(:name)
453
+ @response = args[:response] if args.key?(:response)
454
+ end
455
+ end
456
+
457
+ # A restriction on the OS type and version of devices making requests.
458
+ class OsConstraint
459
+ include Google::Apis::Core::Hashable
460
+
461
+ # The minimum allowed OS version. If not set, any version of this OS
462
+ # satisfies the constraint. Format: `"major.minor.patch"`.
463
+ # Examples: `"10.5.301"`, `"9.2.1"`.
464
+ # Corresponds to the JSON property `minimumVersion`
465
+ # @return [String]
466
+ attr_accessor :minimum_version
467
+
468
+ # Required. The allowed OS type.
469
+ # Corresponds to the JSON property `osType`
470
+ # @return [String]
471
+ attr_accessor :os_type
472
+
473
+ def initialize(**args)
474
+ update!(**args)
475
+ end
476
+
477
+ # Update properties of this object
478
+ def update!(**args)
479
+ @minimum_version = args[:minimum_version] if args.key?(:minimum_version)
480
+ @os_type = args[:os_type] if args.key?(:os_type)
481
+ end
482
+ end
483
+
484
+ # `ServicePerimeter` describes a set of GCP resources which can freely import
485
+ # and export data amongst themselves, but not export outside of the
486
+ # `ServicePerimeter`. If a request with a source within this `ServicePerimeter`
487
+ # has a target outside of the `ServicePerimeter`, the request will be blocked.
488
+ # Otherwise the request is allowed. There are two types of Service Perimeter -
489
+ # Regular and Bridge. Regular Service Perimeters cannot overlap, a single GCP
490
+ # project can only belong to a single regular Service Perimeter. Service
491
+ # Perimeter Bridges can contain only GCP projects as members, a single GCP
492
+ # project may belong to multiple Service Perimeter Bridges.
493
+ class ServicePerimeter
494
+ include Google::Apis::Core::Hashable
495
+
496
+ # Output only. Time the `ServicePerimeter` was created in UTC.
497
+ # Corresponds to the JSON property `createTime`
498
+ # @return [String]
499
+ attr_accessor :create_time
500
+
501
+ # Description of the `ServicePerimeter` and its use. Does not affect
502
+ # behavior.
503
+ # Corresponds to the JSON property `description`
504
+ # @return [String]
505
+ attr_accessor :description
506
+
507
+ # Required. Resource name for the ServicePerimeter. The `short_name`
508
+ # component must begin with a letter and only include alphanumeric and '_'.
509
+ # Format: `accessPolicies/`policy_id`/servicePerimeters/`short_name``
510
+ # Corresponds to the JSON property `name`
511
+ # @return [String]
512
+ attr_accessor :name
513
+
514
+ # Perimeter type indicator. A single project is
515
+ # allowed to be a member of single regular perimeter, but multiple service
516
+ # perimeter bridges. A project cannot be a included in a perimeter bridge
517
+ # without being included in regular perimeter. For perimeter bridges,
518
+ # restricted/unrestricted service lists as well as access lists must be
519
+ # empty.
520
+ # Corresponds to the JSON property `perimeterType`
521
+ # @return [String]
522
+ attr_accessor :perimeter_type
523
+
524
+ # `ServicePerimeterConfig` specifies a set of GCP resources that describe
525
+ # specific Service Perimeter configuration.
526
+ # Corresponds to the JSON property `status`
527
+ # @return [Google::Apis::AccesscontextmanagerV1beta::ServicePerimeterConfig]
528
+ attr_accessor :status
529
+
530
+ # Human readable title. Must be unique within the Policy.
531
+ # Corresponds to the JSON property `title`
532
+ # @return [String]
533
+ attr_accessor :title
534
+
535
+ # Output only. Time the `ServicePerimeter` was updated in UTC.
536
+ # Corresponds to the JSON property `updateTime`
537
+ # @return [String]
538
+ attr_accessor :update_time
539
+
540
+ def initialize(**args)
541
+ update!(**args)
542
+ end
543
+
544
+ # Update properties of this object
545
+ def update!(**args)
546
+ @create_time = args[:create_time] if args.key?(:create_time)
547
+ @description = args[:description] if args.key?(:description)
548
+ @name = args[:name] if args.key?(:name)
549
+ @perimeter_type = args[:perimeter_type] if args.key?(:perimeter_type)
550
+ @status = args[:status] if args.key?(:status)
551
+ @title = args[:title] if args.key?(:title)
552
+ @update_time = args[:update_time] if args.key?(:update_time)
553
+ end
554
+ end
555
+
556
+ # `ServicePerimeterConfig` specifies a set of GCP resources that describe
557
+ # specific Service Perimeter configuration.
558
+ class ServicePerimeterConfig
559
+ include Google::Apis::Core::Hashable
560
+
561
+ # A list of `AccessLevel` resource names that allow resources within the
562
+ # `ServicePerimeter` to be accessed from the internet. `AccessLevels` listed
563
+ # must be in the same policy as this `ServicePerimeter`. Referencing a
564
+ # nonexistent `AccessLevel` is a syntax error. If no `AccessLevel` names are
565
+ # listed, resources within the perimeter can only be accessed via GCP calls with
566
+ # request origins within the perimeter. Example:
567
+ # `"accessPolicies/MY_POLICY/accessLevels/MY_LEVEL"`.
568
+ # For Service Perimeter Bridge, must be empty.
569
+ # Corresponds to the JSON property `accessLevels`
570
+ # @return [Array<String>]
571
+ attr_accessor :access_levels
572
+
573
+ # A list of GCP resources that are inside of the service perimeter.
574
+ # Currently only projects are allowed. Format: `projects/`project_number``
575
+ # Corresponds to the JSON property `resources`
576
+ # @return [Array<String>]
577
+ attr_accessor :resources
578
+
579
+ # GCP services that are subject to the Service Perimeter restrictions. May
580
+ # contain a list of services or a single wildcard "*". For example, if
581
+ # `storage.googleapis.com` is specified, access to the storage buckets
582
+ # inside the perimeter must meet the perimeter's access restrictions.
583
+ # Wildcard means that unless explicitly specified by "unrestricted_services"
584
+ # list, any service is treated as restricted. One of the fields
585
+ # "restricted_services", "unrestricted_services" must contain a wildcard "*",
586
+ # otherwise the Service Perimeter specification is invalid. It also means
587
+ # that both field being empty is invalid as well. "restricted_services" can
588
+ # be empty if and only if "unrestricted_services" list contains a "*"
589
+ # wildcard.
590
+ # Corresponds to the JSON property `restrictedServices`
591
+ # @return [Array<String>]
592
+ attr_accessor :restricted_services
593
+
594
+ # GCP services that are not subject to the Service Perimeter restrictions.
595
+ # May contain a list of services or a single wildcard "*". For example, if
596
+ # `logging.googleapis.com` is unrestricted, users can access logs inside the
597
+ # perimeter as if the perimeter doesn't exist, and it also means VMs inside the
598
+ # perimeter
599
+ # can access logs outside the perimeter.
600
+ # The wildcard means that unless explicitly specified by
601
+ # "restricted_services" list, any service is treated as unrestricted. One of
602
+ # the fields "restricted_services", "unrestricted_services" must contain a
603
+ # wildcard "*", otherwise the Service Perimeter specification is invalid. It
604
+ # also means that both field being empty is invalid as well.
605
+ # "unrestricted_services" can be empty if and only if "restricted_services"
606
+ # list contains a "*" wildcard.
607
+ # Corresponds to the JSON property `unrestrictedServices`
608
+ # @return [Array<String>]
609
+ attr_accessor :unrestricted_services
610
+
611
+ def initialize(**args)
612
+ update!(**args)
613
+ end
614
+
615
+ # Update properties of this object
616
+ def update!(**args)
617
+ @access_levels = args[:access_levels] if args.key?(:access_levels)
618
+ @resources = args[:resources] if args.key?(:resources)
619
+ @restricted_services = args[:restricted_services] if args.key?(:restricted_services)
620
+ @unrestricted_services = args[:unrestricted_services] if args.key?(:unrestricted_services)
621
+ end
622
+ end
623
+
624
+ # The `Status` type defines a logical error model that is suitable for different
625
+ # programming environments, including REST APIs and RPC APIs. It is used by
626
+ # [gRPC](https://github.com/grpc). The error model is designed to be:
627
+ # - Simple to use and understand for most users
628
+ # - Flexible enough to meet unexpected needs
629
+ # # Overview
630
+ # The `Status` message contains three pieces of data: error code, error message,
631
+ # and error details. The error code should be an enum value of
632
+ # google.rpc.Code, but it may accept additional error codes if needed. The
633
+ # error message should be a developer-facing English message that helps
634
+ # developers *understand* and *resolve* the error. If a localized user-facing
635
+ # error message is needed, put the localized message in the error details or
636
+ # localize it in the client. The optional error details may contain arbitrary
637
+ # information about the error. There is a predefined set of error detail types
638
+ # in the package `google.rpc` that can be used for common error conditions.
639
+ # # Language mapping
640
+ # The `Status` message is the logical representation of the error model, but it
641
+ # is not necessarily the actual wire format. When the `Status` message is
642
+ # exposed in different client libraries and different wire protocols, it can be
643
+ # mapped differently. For example, it will likely be mapped to some exceptions
644
+ # in Java, but more likely mapped to some error codes in C.
645
+ # # Other uses
646
+ # The error model and the `Status` message can be used in a variety of
647
+ # environments, either with or without APIs, to provide a
648
+ # consistent developer experience across different environments.
649
+ # Example uses of this error model include:
650
+ # - Partial errors. If a service needs to return partial errors to the client,
651
+ # it may embed the `Status` in the normal response to indicate the partial
652
+ # errors.
653
+ # - Workflow errors. A typical workflow has multiple steps. Each step may
654
+ # have a `Status` message for error reporting.
655
+ # - Batch operations. If a client uses batch request and batch response, the
656
+ # `Status` message should be used directly inside batch response, one for
657
+ # each error sub-response.
658
+ # - Asynchronous operations. If an API call embeds asynchronous operation
659
+ # results in its response, the status of those operations should be
660
+ # represented directly using the `Status` message.
661
+ # - Logging. If some API errors are stored in logs, the message `Status` could
662
+ # be used directly after any stripping needed for security/privacy reasons.
663
+ class Status
664
+ include Google::Apis::Core::Hashable
665
+
666
+ # The status code, which should be an enum value of google.rpc.Code.
667
+ # Corresponds to the JSON property `code`
668
+ # @return [Fixnum]
669
+ attr_accessor :code
670
+
671
+ # A list of messages that carry the error details. There is a common set of
672
+ # message types for APIs to use.
673
+ # Corresponds to the JSON property `details`
674
+ # @return [Array<Hash<String,Object>>]
675
+ attr_accessor :details
676
+
677
+ # A developer-facing error message, which should be in English. Any
678
+ # user-facing error message should be localized and sent in the
679
+ # google.rpc.Status.details field, or localized by the client.
680
+ # Corresponds to the JSON property `message`
681
+ # @return [String]
682
+ attr_accessor :message
683
+
684
+ def initialize(**args)
685
+ update!(**args)
686
+ end
687
+
688
+ # Update properties of this object
689
+ def update!(**args)
690
+ @code = args[:code] if args.key?(:code)
691
+ @details = args[:details] if args.key?(:details)
692
+ @message = args[:message] if args.key?(:message)
693
+ end
694
+ end
695
+ end
696
+ end
697
+ end