google-api-client 0.28.4 → 0.28.5

Sign up to get free protection for your applications and to get access to all the features.
Files changed (426) hide show
  1. checksums.yaml +5 -5
  2. data/.kokoro/build.sh +3 -5
  3. data/.kokoro/continuous/linux.cfg +1 -1
  4. data/.kokoro/presubmit/linux.cfg +1 -1
  5. data/CHANGELOG.md +147 -0
  6. data/generated/google/apis/accesscontextmanager_v1.rb +34 -0
  7. data/generated/google/apis/accesscontextmanager_v1/classes.rb +755 -0
  8. data/generated/google/apis/accesscontextmanager_v1/representations.rb +282 -0
  9. data/generated/google/apis/accesscontextmanager_v1/service.rb +788 -0
  10. data/generated/google/apis/accesscontextmanager_v1beta.rb +1 -1
  11. data/generated/google/apis/accesscontextmanager_v1beta/classes.rb +46 -30
  12. data/generated/google/apis/accesscontextmanager_v1beta/representations.rb +4 -0
  13. data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
  14. data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +2 -2
  15. data/generated/google/apis/admin_directory_v1.rb +1 -1
  16. data/generated/google/apis/admin_directory_v1/classes.rb +5 -50
  17. data/generated/google/apis/admin_directory_v1/representations.rb +0 -2
  18. data/generated/google/apis/alertcenter_v1beta1.rb +1 -1
  19. data/generated/google/apis/alertcenter_v1beta1/classes.rb +3 -2
  20. data/generated/google/apis/alertcenter_v1beta1/service.rb +7 -7
  21. data/generated/google/apis/analyticsreporting_v4.rb +1 -1
  22. data/generated/google/apis/analyticsreporting_v4/classes.rb +638 -0
  23. data/generated/google/apis/analyticsreporting_v4/representations.rb +248 -0
  24. data/generated/google/apis/analyticsreporting_v4/service.rb +30 -0
  25. data/generated/google/apis/androiddeviceprovisioning_v1.rb +1 -1
  26. data/generated/google/apis/androiddeviceprovisioning_v1/classes.rb +10 -10
  27. data/generated/google/apis/androidenterprise_v1.rb +1 -1
  28. data/generated/google/apis/androidenterprise_v1/classes.rb +8 -0
  29. data/generated/google/apis/androidenterprise_v1/representations.rb +2 -0
  30. data/generated/google/apis/androidmanagement_v1.rb +1 -1
  31. data/generated/google/apis/androidmanagement_v1/classes.rb +59 -2
  32. data/generated/google/apis/androidmanagement_v1/representations.rb +33 -0
  33. data/generated/google/apis/appengine_v1.rb +1 -1
  34. data/generated/google/apis/appengine_v1/classes.rb +43 -98
  35. data/generated/google/apis/appengine_v1/representations.rb +17 -35
  36. data/generated/google/apis/appengine_v1alpha.rb +1 -1
  37. data/generated/google/apis/appengine_v1alpha/classes.rb +0 -97
  38. data/generated/google/apis/appengine_v1alpha/representations.rb +0 -35
  39. data/generated/google/apis/appengine_v1beta.rb +1 -1
  40. data/generated/google/apis/appengine_v1beta/classes.rb +3 -99
  41. data/generated/google/apis/appengine_v1beta/representations.rb +0 -35
  42. data/generated/google/apis/bigquery_v2.rb +1 -1
  43. data/generated/google/apis/bigquery_v2/classes.rb +244 -173
  44. data/generated/google/apis/bigquery_v2/representations.rb +79 -58
  45. data/generated/google/apis/bigquerydatatransfer_v1.rb +3 -3
  46. data/generated/google/apis/bigquerydatatransfer_v1/classes.rb +10 -10
  47. data/generated/google/apis/bigquerydatatransfer_v1/service.rb +38 -6
  48. data/generated/google/apis/bigtableadmin_v2.rb +1 -1
  49. data/generated/google/apis/bigtableadmin_v2/classes.rb +4 -4
  50. data/generated/google/apis/binaryauthorization_v1beta1.rb +1 -1
  51. data/generated/google/apis/binaryauthorization_v1beta1/classes.rb +66 -6
  52. data/generated/google/apis/binaryauthorization_v1beta1/representations.rb +17 -0
  53. data/generated/google/apis/cloudasset_v1.rb +34 -0
  54. data/generated/google/apis/cloudasset_v1/classes.rb +805 -0
  55. data/generated/google/apis/cloudasset_v1/representations.rb +263 -0
  56. data/generated/google/apis/cloudasset_v1/service.rb +190 -0
  57. data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
  58. data/generated/google/apis/cloudasset_v1beta1/classes.rb +20 -18
  59. data/generated/google/apis/cloudasset_v1beta1/service.rb +4 -4
  60. data/generated/google/apis/cloudbilling_v1.rb +1 -1
  61. data/generated/google/apis/cloudbilling_v1/classes.rb +1 -1
  62. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  63. data/generated/google/apis/cloudbuild_v1/classes.rb +149 -10
  64. data/generated/google/apis/cloudbuild_v1/representations.rb +65 -0
  65. data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
  66. data/generated/google/apis/cloudbuild_v1alpha1/classes.rb +6 -0
  67. data/generated/google/apis/cloudbuild_v1alpha1/representations.rb +2 -0
  68. data/generated/google/apis/cloudbuild_v1alpha1/service.rb +1 -1
  69. data/generated/google/apis/cloudfunctions_v1.rb +1 -1
  70. data/generated/google/apis/cloudfunctions_v1/classes.rb +11 -4
  71. data/generated/google/apis/cloudfunctions_v1/service.rb +8 -2
  72. data/generated/google/apis/cloudfunctions_v1beta2.rb +1 -1
  73. data/generated/google/apis/cloudfunctions_v1beta2/classes.rb +2 -1
  74. data/generated/google/apis/cloudfunctions_v1beta2/service.rb +6 -0
  75. data/generated/google/apis/cloudidentity_v1.rb +7 -1
  76. data/generated/google/apis/cloudidentity_v1/classes.rb +13 -13
  77. data/generated/google/apis/cloudidentity_v1/service.rb +6 -15
  78. data/generated/google/apis/cloudidentity_v1beta1.rb +7 -1
  79. data/generated/google/apis/cloudidentity_v1beta1/classes.rb +10 -10
  80. data/generated/google/apis/cloudidentity_v1beta1/service.rb +4 -10
  81. data/generated/google/apis/cloudiot_v1.rb +1 -1
  82. data/generated/google/apis/cloudiot_v1/classes.rb +11 -11
  83. data/generated/google/apis/cloudkms_v1.rb +1 -1
  84. data/generated/google/apis/cloudkms_v1/classes.rb +7 -3
  85. data/generated/google/apis/cloudprivatecatalog_v1beta1.rb +35 -0
  86. data/generated/google/apis/cloudprivatecatalog_v1beta1/classes.rb +358 -0
  87. data/generated/google/apis/cloudprivatecatalog_v1beta1/representations.rb +123 -0
  88. data/generated/google/apis/cloudprivatecatalog_v1beta1/service.rb +486 -0
  89. data/generated/google/apis/cloudprivatecatalogproducer_v1beta1.rb +35 -0
  90. data/generated/google/apis/cloudprivatecatalogproducer_v1beta1/classes.rb +1212 -0
  91. data/generated/google/apis/cloudprivatecatalogproducer_v1beta1/representations.rb +399 -0
  92. data/generated/google/apis/cloudprivatecatalogproducer_v1beta1/service.rb +1073 -0
  93. data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
  94. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +17 -16
  95. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
  96. data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +3 -3
  97. data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
  98. data/generated/google/apis/cloudresourcemanager_v2/classes.rb +14 -15
  99. data/generated/google/apis/cloudresourcemanager_v2/service.rb +1 -1
  100. data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
  101. data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +14 -15
  102. data/generated/google/apis/cloudresourcemanager_v2beta1/service.rb +1 -1
  103. data/generated/google/apis/cloudscheduler_v1beta1.rb +1 -1
  104. data/generated/google/apis/cloudscheduler_v1beta1/classes.rb +60 -44
  105. data/generated/google/apis/cloudscheduler_v1beta1/service.rb +5 -2
  106. data/generated/google/apis/cloudsearch_v1.rb +1 -1
  107. data/generated/google/apis/cloudsearch_v1/classes.rb +220 -48
  108. data/generated/google/apis/cloudsearch_v1/representations.rb +91 -0
  109. data/generated/google/apis/cloudsearch_v1/service.rb +15 -13
  110. data/generated/google/apis/cloudshell_v1.rb +1 -1
  111. data/generated/google/apis/cloudshell_v1/classes.rb +10 -10
  112. data/generated/google/apis/cloudshell_v1alpha1.rb +1 -1
  113. data/generated/google/apis/cloudshell_v1alpha1/classes.rb +17 -10
  114. data/generated/google/apis/cloudshell_v1alpha1/representations.rb +1 -0
  115. data/generated/google/apis/{partners_v2.rb → cloudtasks_v2.rb} +11 -9
  116. data/generated/google/apis/cloudtasks_v2/classes.rb +1432 -0
  117. data/generated/google/apis/cloudtasks_v2/representations.rb +408 -0
  118. data/generated/google/apis/cloudtasks_v2/service.rb +856 -0
  119. data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
  120. data/generated/google/apis/cloudtasks_v2beta2/classes.rb +119 -88
  121. data/generated/google/apis/cloudtasks_v2beta2/service.rb +3 -2
  122. data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
  123. data/generated/google/apis/cloudtasks_v2beta3/classes.rb +122 -90
  124. data/generated/google/apis/cloudtasks_v2beta3/service.rb +3 -2
  125. data/generated/google/apis/cloudtrace_v2.rb +1 -1
  126. data/generated/google/apis/cloudtrace_v2/classes.rb +10 -10
  127. data/generated/google/apis/composer_v1.rb +1 -1
  128. data/generated/google/apis/composer_v1/classes.rb +21 -15
  129. data/generated/google/apis/composer_v1beta1.rb +1 -1
  130. data/generated/google/apis/composer_v1beta1/classes.rb +165 -29
  131. data/generated/google/apis/composer_v1beta1/representations.rb +50 -0
  132. data/generated/google/apis/compute_alpha.rb +1 -1
  133. data/generated/google/apis/compute_alpha/classes.rb +7147 -4656
  134. data/generated/google/apis/compute_alpha/representations.rb +1205 -236
  135. data/generated/google/apis/compute_alpha/service.rb +4338 -3274
  136. data/generated/google/apis/compute_beta.rb +1 -1
  137. data/generated/google/apis/compute_beta/classes.rb +5974 -4567
  138. data/generated/google/apis/compute_beta/representations.rb +846 -283
  139. data/generated/google/apis/compute_beta/service.rb +4274 -3153
  140. data/generated/google/apis/compute_v1.rb +1 -1
  141. data/generated/google/apis/compute_v1/classes.rb +325 -50
  142. data/generated/google/apis/compute_v1/representations.rb +104 -1
  143. data/generated/google/apis/compute_v1/service.rb +153 -2
  144. data/generated/google/apis/container_v1.rb +1 -1
  145. data/generated/google/apis/container_v1/classes.rb +1 -0
  146. data/generated/google/apis/container_v1/service.rb +4 -4
  147. data/generated/google/apis/container_v1beta1.rb +1 -1
  148. data/generated/google/apis/container_v1beta1/classes.rb +7 -0
  149. data/generated/google/apis/container_v1beta1/representations.rb +2 -0
  150. data/generated/google/apis/container_v1beta1/service.rb +4 -4
  151. data/generated/google/apis/containeranalysis_v1alpha1.rb +1 -1
  152. data/generated/google/apis/containeranalysis_v1alpha1/classes.rb +25 -17
  153. data/generated/google/apis/containeranalysis_v1alpha1/representations.rb +1 -0
  154. data/generated/google/apis/containeranalysis_v1beta1.rb +1 -1
  155. data/generated/google/apis/containeranalysis_v1beta1/classes.rb +137 -12
  156. data/generated/google/apis/containeranalysis_v1beta1/representations.rb +33 -0
  157. data/generated/google/apis/content_v2.rb +1 -1
  158. data/generated/google/apis/content_v2/classes.rb +204 -93
  159. data/generated/google/apis/content_v2/representations.rb +49 -0
  160. data/generated/google/apis/content_v2/service.rb +82 -41
  161. data/generated/google/apis/content_v2_1.rb +1 -1
  162. data/generated/google/apis/content_v2_1/classes.rb +360 -209
  163. data/generated/google/apis/content_v2_1/representations.rb +129 -56
  164. data/generated/google/apis/content_v2_1/service.rb +97 -10
  165. data/generated/google/apis/dataflow_v1b3.rb +1 -1
  166. data/generated/google/apis/dataflow_v1b3/classes.rb +51 -19
  167. data/generated/google/apis/dataflow_v1b3/representations.rb +2 -0
  168. data/generated/google/apis/dataflow_v1b3/service.rb +133 -25
  169. data/generated/google/apis/dataproc_v1.rb +1 -1
  170. data/generated/google/apis/dataproc_v1/classes.rb +20 -15
  171. data/generated/google/apis/dataproc_v1/representations.rb +1 -0
  172. data/generated/google/apis/dataproc_v1beta2.rb +1 -1
  173. data/generated/google/apis/dataproc_v1beta2/classes.rb +516 -45
  174. data/generated/google/apis/dataproc_v1beta2/representations.rb +185 -7
  175. data/generated/google/apis/dataproc_v1beta2/service.rb +575 -6
  176. data/generated/google/apis/dfareporting_v3_3.rb +1 -1
  177. data/generated/google/apis/dfareporting_v3_3/classes.rb +3 -3
  178. data/generated/google/apis/dialogflow_v2.rb +1 -1
  179. data/generated/google/apis/dialogflow_v2/classes.rb +126 -77
  180. data/generated/google/apis/dialogflow_v2/service.rb +40 -24
  181. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  182. data/generated/google/apis/dialogflow_v2beta1/classes.rb +126 -77
  183. data/generated/google/apis/dialogflow_v2beta1/service.rb +40 -24
  184. data/generated/google/apis/dlp_v2.rb +1 -1
  185. data/generated/google/apis/dlp_v2/classes.rb +44 -41
  186. data/generated/google/apis/dlp_v2/representations.rb +12 -0
  187. data/generated/google/apis/dlp_v2/service.rb +35 -0
  188. data/generated/google/apis/dns_v1.rb +1 -1
  189. data/generated/google/apis/dns_v1/classes.rb +163 -190
  190. data/generated/google/apis/dns_v1/representations.rb +34 -0
  191. data/generated/google/apis/dns_v1/service.rb +15 -110
  192. data/generated/google/apis/dns_v1beta2.rb +1 -1
  193. data/generated/google/apis/dns_v1beta2/classes.rb +117 -248
  194. data/generated/google/apis/dns_v1beta2/service.rb +21 -141
  195. data/generated/google/apis/dns_v2beta1.rb +1 -1
  196. data/generated/google/apis/dns_v2beta1/classes.rb +163 -190
  197. data/generated/google/apis/dns_v2beta1/representations.rb +34 -0
  198. data/generated/google/apis/dns_v2beta1/service.rb +15 -110
  199. data/generated/google/apis/docs_v1.rb +1 -1
  200. data/generated/google/apis/docs_v1/classes.rb +118 -47
  201. data/generated/google/apis/docs_v1/representations.rb +39 -0
  202. data/generated/google/apis/drive_v2.rb +1 -1
  203. data/generated/google/apis/drive_v2/service.rb +3 -1
  204. data/generated/google/apis/drive_v3.rb +1 -1
  205. data/generated/google/apis/drive_v3/service.rb +3 -2
  206. data/generated/google/apis/factchecktools_v1alpha1.rb +34 -0
  207. data/generated/google/apis/factchecktools_v1alpha1/classes.rb +459 -0
  208. data/generated/google/apis/factchecktools_v1alpha1/representations.rb +207 -0
  209. data/generated/google/apis/factchecktools_v1alpha1/service.rb +300 -0
  210. data/generated/google/apis/file_v1.rb +1 -1
  211. data/generated/google/apis/file_v1/classes.rb +203 -10
  212. data/generated/google/apis/file_v1/representations.rb +70 -0
  213. data/generated/google/apis/file_v1/service.rb +190 -0
  214. data/generated/google/apis/file_v1beta1.rb +1 -1
  215. data/generated/google/apis/file_v1beta1/classes.rb +10 -10
  216. data/generated/google/apis/firebasedynamiclinks_v1.rb +1 -1
  217. data/generated/google/apis/firebasedynamiclinks_v1/classes.rb +13 -10
  218. data/generated/google/apis/firebaserules_v1.rb +1 -1
  219. data/generated/google/apis/firebaserules_v1/service.rb +1 -1
  220. data/generated/google/apis/fitness_v1.rb +1 -1
  221. data/generated/google/apis/fitness_v1/classes.rb +3 -0
  222. data/generated/google/apis/fitness_v1/service.rb +1 -45
  223. data/generated/google/apis/games_management_v1management.rb +2 -2
  224. data/generated/google/apis/games_v1.rb +2 -2
  225. data/generated/google/apis/genomics_v1.rb +1 -10
  226. data/generated/google/apis/genomics_v1/classes.rb +190 -3321
  227. data/generated/google/apis/genomics_v1/representations.rb +128 -1265
  228. data/generated/google/apis/genomics_v1/service.rb +75 -1982
  229. data/generated/google/apis/genomics_v1alpha2.rb +1 -1
  230. data/generated/google/apis/genomics_v1alpha2/classes.rb +11 -51
  231. data/generated/google/apis/genomics_v1alpha2/representations.rb +0 -26
  232. data/generated/google/apis/genomics_v1alpha2/service.rb +1 -2
  233. data/generated/google/apis/genomics_v2alpha1.rb +1 -1
  234. data/generated/google/apis/genomics_v2alpha1/classes.rb +19 -58
  235. data/generated/google/apis/genomics_v2alpha1/representations.rb +0 -26
  236. data/generated/google/apis/genomics_v2alpha1/service.rb +1 -2
  237. data/generated/google/apis/groupssettings_v1.rb +2 -2
  238. data/generated/google/apis/groupssettings_v1/classes.rb +126 -1
  239. data/generated/google/apis/groupssettings_v1/representations.rb +18 -0
  240. data/generated/google/apis/groupssettings_v1/service.rb +1 -1
  241. data/generated/google/apis/iam_v1.rb +1 -1
  242. data/generated/google/apis/iam_v1/classes.rb +123 -1
  243. data/generated/google/apis/iam_v1/representations.rb +67 -0
  244. data/generated/google/apis/iam_v1/service.rb +198 -5
  245. data/generated/google/apis/iamcredentials_v1.rb +1 -1
  246. data/generated/google/apis/iamcredentials_v1/classes.rb +8 -4
  247. data/generated/google/apis/iamcredentials_v1/service.rb +10 -5
  248. data/generated/google/apis/iap_v1.rb +1 -1
  249. data/generated/google/apis/iap_v1/classes.rb +1 -1
  250. data/generated/google/apis/iap_v1beta1.rb +1 -1
  251. data/generated/google/apis/iap_v1beta1/classes.rb +1 -1
  252. data/generated/google/apis/jobs_v2.rb +1 -1
  253. data/generated/google/apis/jobs_v2/classes.rb +7 -9
  254. data/generated/google/apis/jobs_v3.rb +1 -1
  255. data/generated/google/apis/jobs_v3/classes.rb +1 -1
  256. data/generated/google/apis/jobs_v3p1beta1.rb +1 -1
  257. data/generated/google/apis/jobs_v3p1beta1/classes.rb +11 -11
  258. data/generated/google/apis/language_v1.rb +1 -1
  259. data/generated/google/apis/language_v1/classes.rb +5 -5
  260. data/generated/google/apis/language_v1beta1.rb +1 -1
  261. data/generated/google/apis/language_v1beta1/classes.rb +5 -5
  262. data/generated/google/apis/language_v1beta2.rb +1 -1
  263. data/generated/google/apis/language_v1beta2/classes.rb +5 -5
  264. data/generated/google/apis/logging_v2.rb +1 -1
  265. data/generated/google/apis/logging_v2/classes.rb +2 -3
  266. data/generated/google/apis/logging_v2beta1.rb +1 -1
  267. data/generated/google/apis/logging_v2beta1/classes.rb +2 -3
  268. data/generated/google/apis/ml_v1.rb +1 -1
  269. data/generated/google/apis/ml_v1/classes.rb +158 -36
  270. data/generated/google/apis/ml_v1/representations.rb +23 -2
  271. data/generated/google/apis/monitoring_v3.rb +1 -1
  272. data/generated/google/apis/monitoring_v3/classes.rb +8 -7
  273. data/generated/google/apis/monitoring_v3/service.rb +6 -1
  274. data/generated/google/apis/oauth2_v1.rb +2 -5
  275. data/generated/google/apis/oauth2_v1/classes.rb +0 -124
  276. data/generated/google/apis/oauth2_v1/representations.rb +0 -62
  277. data/generated/google/apis/oauth2_v1/service.rb +0 -159
  278. data/generated/google/apis/oauth2_v2.rb +2 -5
  279. data/generated/google/apis/people_v1.rb +3 -3
  280. data/generated/google/apis/people_v1/classes.rb +19 -18
  281. data/generated/google/apis/people_v1/service.rb +4 -0
  282. data/generated/google/apis/plus_domains_v1.rb +3 -3
  283. data/generated/google/apis/plus_v1.rb +3 -3
  284. data/generated/google/apis/poly_v1.rb +1 -1
  285. data/generated/google/apis/poly_v1/classes.rb +5 -4
  286. data/generated/google/apis/proximitybeacon_v1beta1.rb +1 -1
  287. data/generated/google/apis/proximitybeacon_v1beta1/classes.rb +8 -6
  288. data/generated/google/apis/pubsub_v1.rb +1 -1
  289. data/generated/google/apis/pubsub_v1/classes.rb +53 -38
  290. data/generated/google/apis/pubsub_v1/representations.rb +16 -0
  291. data/generated/google/apis/pubsub_v1/service.rb +6 -29
  292. data/generated/google/apis/pubsub_v1beta2.rb +1 -1
  293. data/generated/google/apis/pubsub_v1beta2/classes.rb +45 -1
  294. data/generated/google/apis/pubsub_v1beta2/representations.rb +16 -0
  295. data/generated/google/apis/redis_v1.rb +1 -1
  296. data/generated/google/apis/redis_v1beta1.rb +1 -1
  297. data/generated/google/apis/redis_v1beta1/classes.rb +0 -10
  298. data/generated/google/apis/redis_v1beta1/representations.rb +0 -1
  299. data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
  300. data/generated/google/apis/remotebuildexecution_v1/classes.rb +42 -28
  301. data/generated/google/apis/remotebuildexecution_v1/representations.rb +2 -0
  302. data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
  303. data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +42 -28
  304. data/generated/google/apis/remotebuildexecution_v1alpha/representations.rb +2 -0
  305. data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
  306. data/generated/google/apis/remotebuildexecution_v2/classes.rb +52 -38
  307. data/generated/google/apis/remotebuildexecution_v2/representations.rb +2 -0
  308. data/generated/google/apis/reseller_v1.rb +1 -1
  309. data/generated/google/apis/reseller_v1/classes.rb +32 -39
  310. data/generated/google/apis/reseller_v1/service.rb +1 -1
  311. data/generated/google/apis/runtimeconfig_v1.rb +1 -1
  312. data/generated/google/apis/runtimeconfig_v1/classes.rb +10 -10
  313. data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
  314. data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +25 -24
  315. data/generated/google/apis/script_v1.rb +1 -1
  316. data/generated/google/apis/script_v1/classes.rb +0 -6
  317. data/generated/google/apis/script_v1/representations.rb +0 -1
  318. data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
  319. data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +73 -151
  320. data/generated/google/apis/serviceconsumermanagement_v1/service.rb +48 -50
  321. data/generated/google/apis/servicecontrol_v1.rb +1 -1
  322. data/generated/google/apis/servicecontrol_v1/classes.rb +108 -24
  323. data/generated/google/apis/servicecontrol_v1/representations.rb +45 -0
  324. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  325. data/generated/google/apis/servicemanagement_v1/classes.rb +35 -113
  326. data/generated/google/apis/servicemanagement_v1/service.rb +6 -3
  327. data/generated/google/apis/servicenetworking_v1.rb +38 -0
  328. data/generated/google/apis/servicenetworking_v1/classes.rb +3591 -0
  329. data/generated/google/apis/servicenetworking_v1/representations.rb +1082 -0
  330. data/generated/google/apis/servicenetworking_v1/service.rb +440 -0
  331. data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
  332. data/generated/google/apis/servicenetworking_v1beta/classes.rb +32 -110
  333. data/generated/google/apis/serviceusage_v1.rb +1 -1
  334. data/generated/google/apis/serviceusage_v1/classes.rb +33 -150
  335. data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
  336. data/generated/google/apis/serviceusage_v1beta1/classes.rb +34 -190
  337. data/generated/google/apis/sheets_v4.rb +1 -1
  338. data/generated/google/apis/sheets_v4/classes.rb +115 -26
  339. data/generated/google/apis/slides_v1.rb +1 -1
  340. data/generated/google/apis/slides_v1/classes.rb +2 -2
  341. data/generated/google/apis/sourcerepo_v1.rb +1 -1
  342. data/generated/google/apis/sourcerepo_v1/classes.rb +1 -1
  343. data/generated/google/apis/spanner_v1.rb +1 -1
  344. data/generated/google/apis/spanner_v1/classes.rb +171 -0
  345. data/generated/google/apis/spanner_v1/representations.rb +49 -0
  346. data/generated/google/apis/spanner_v1/service.rb +51 -1
  347. data/generated/google/apis/speech_v1.rb +1 -1
  348. data/generated/google/apis/speech_v1/classes.rb +107 -10
  349. data/generated/google/apis/speech_v1/representations.rb +24 -0
  350. data/generated/google/apis/speech_v1p1beta1.rb +1 -1
  351. data/generated/google/apis/speech_v1p1beta1/classes.rb +16 -10
  352. data/generated/google/apis/speech_v1p1beta1/representations.rb +1 -0
  353. data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
  354. data/generated/google/apis/sqladmin_v1beta4/classes.rb +11 -15
  355. data/generated/google/apis/sqladmin_v1beta4/representations.rb +1 -0
  356. data/generated/google/apis/storage_v1.rb +1 -1
  357. data/generated/google/apis/storage_v1/classes.rb +57 -4
  358. data/generated/google/apis/storage_v1/representations.rb +19 -1
  359. data/generated/google/apis/storagetransfer_v1.rb +2 -2
  360. data/generated/google/apis/storagetransfer_v1/classes.rb +28 -21
  361. data/generated/google/apis/storagetransfer_v1/service.rb +4 -4
  362. data/generated/google/apis/streetviewpublish_v1.rb +1 -1
  363. data/generated/google/apis/streetviewpublish_v1/classes.rb +26 -26
  364. data/generated/google/apis/streetviewpublish_v1/service.rb +27 -31
  365. data/generated/google/apis/tagmanager_v1.rb +1 -1
  366. data/generated/google/apis/tagmanager_v1/service.rb +0 -46
  367. data/generated/google/apis/tagmanager_v2.rb +1 -1
  368. data/generated/google/apis/tagmanager_v2/classes.rb +197 -292
  369. data/generated/google/apis/tagmanager_v2/representations.rb +62 -103
  370. data/generated/google/apis/tagmanager_v2/service.rb +219 -181
  371. data/generated/google/apis/tasks_v1.rb +2 -2
  372. data/generated/google/apis/tasks_v1/service.rb +5 -5
  373. data/generated/google/apis/testing_v1.rb +1 -1
  374. data/generated/google/apis/testing_v1/classes.rb +13 -13
  375. data/generated/google/apis/toolresults_v1beta3.rb +1 -1
  376. data/generated/google/apis/toolresults_v1beta3/classes.rb +92 -0
  377. data/generated/google/apis/toolresults_v1beta3/representations.rb +47 -0
  378. data/generated/google/apis/tpu_v1.rb +1 -1
  379. data/generated/google/apis/tpu_v1/classes.rb +10 -10
  380. data/generated/google/apis/tpu_v1alpha1.rb +1 -1
  381. data/generated/google/apis/tpu_v1alpha1/classes.rb +10 -10
  382. data/generated/google/apis/vault_v1.rb +1 -1
  383. data/generated/google/apis/vault_v1/classes.rb +7 -0
  384. data/generated/google/apis/vault_v1/representations.rb +1 -0
  385. data/generated/google/apis/videointelligence_v1.rb +3 -2
  386. data/generated/google/apis/videointelligence_v1/classes.rb +2193 -350
  387. data/generated/google/apis/videointelligence_v1/representations.rb +805 -6
  388. data/generated/google/apis/videointelligence_v1/service.rb +2 -1
  389. data/generated/google/apis/videointelligence_v1beta2.rb +3 -2
  390. data/generated/google/apis/videointelligence_v1beta2/classes.rb +2448 -605
  391. data/generated/google/apis/videointelligence_v1beta2/representations.rb +806 -7
  392. data/generated/google/apis/videointelligence_v1beta2/service.rb +2 -1
  393. data/generated/google/apis/videointelligence_v1p1beta1.rb +3 -2
  394. data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +2422 -579
  395. data/generated/google/apis/videointelligence_v1p1beta1/representations.rb +806 -7
  396. data/generated/google/apis/videointelligence_v1p1beta1/service.rb +2 -1
  397. data/generated/google/apis/videointelligence_v1p2beta1.rb +3 -2
  398. data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +2645 -830
  399. data/generated/google/apis/videointelligence_v1p2beta1/representations.rb +796 -12
  400. data/generated/google/apis/videointelligence_v1p2beta1/service.rb +2 -1
  401. data/generated/google/apis/videointelligence_v1p3beta1.rb +36 -0
  402. data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +4687 -0
  403. data/generated/google/apis/videointelligence_v1p3beta1/representations.rb +2005 -0
  404. data/generated/google/apis/videointelligence_v1p3beta1/service.rb +94 -0
  405. data/generated/google/apis/vision_v1.rb +1 -1
  406. data/generated/google/apis/vision_v1/classes.rb +1977 -40
  407. data/generated/google/apis/vision_v1/representations.rb +833 -0
  408. data/generated/google/apis/vision_v1p1beta1.rb +1 -1
  409. data/generated/google/apis/vision_v1p1beta1/classes.rb +1972 -35
  410. data/generated/google/apis/vision_v1p1beta1/representations.rb +833 -0
  411. data/generated/google/apis/vision_v1p2beta1.rb +1 -1
  412. data/generated/google/apis/vision_v1p2beta1/classes.rb +1972 -35
  413. data/generated/google/apis/vision_v1p2beta1/representations.rb +833 -0
  414. data/generated/google/apis/websecurityscanner_v1beta.rb +34 -0
  415. data/generated/google/apis/websecurityscanner_v1beta/classes.rb +973 -0
  416. data/generated/google/apis/websecurityscanner_v1beta/representations.rb +452 -0
  417. data/generated/google/apis/websecurityscanner_v1beta/service.rb +548 -0
  418. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  419. data/generated/google/apis/youtubereporting_v1.rb +1 -1
  420. data/lib/google/apis/core/http_command.rb +1 -0
  421. data/lib/google/apis/generator/model.rb +1 -1
  422. data/lib/google/apis/version.rb +1 -1
  423. metadata +39 -8
  424. data/generated/google/apis/partners_v2/classes.rb +0 -2260
  425. data/generated/google/apis/partners_v2/representations.rb +0 -905
  426. data/generated/google/apis/partners_v2/service.rb +0 -1077
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
- SHA1:
3
- metadata.gz: 69b2a89c626fc56dc17f5899b01549e93fcf4877
4
- data.tar.gz: dcc65867c8c214919168ce9d23d03b81bda54fad
2
+ SHA256:
3
+ metadata.gz: 97161a6643d2f7c67c9330e27b3a6989c23a64e6f20a7151097a9769ce9ee882
4
+ data.tar.gz: 2f38b43591719bf1680495f8b68d9e8670cb76930647b9553121869f59e0f7e9
5
5
  SHA512:
6
- metadata.gz: b7af896a27a1093777b470c884884f8eba2a4634ce89424a7abb4dacccf87cfc7845f4920508fad78bc5be296b39ac9a95224c23c078af3c902c47be24d0d189
7
- data.tar.gz: 1630641e918580ee6089de66793817967721eacfd1b1c486dc17022e9533c125a063623c2d9ef2a44b853fcd61b5a0691beeedacb635207b4270a1fb6b8f1672
6
+ metadata.gz: f852b1a25dfb1b13813df083d1e904d42721a8bd24a78b08c20fe7250b6ef4f790eaca3afa5b1ff9d8d988f68f62fcff19770be50674852e051a700d37f3f359
7
+ data.tar.gz: 84cf49303aaafe5f960b1fce5f87417d35900bc09a11bcefdb0ad04389c8a48ce5ab22867b470188a946ea69642a7ff445f9fbb997bb0d96578fbc97ea1220b6
data/.kokoro/build.sh CHANGED
@@ -13,23 +13,21 @@ env | grep KOKORO
13
13
 
14
14
  cd github/google-api-ruby-client/
15
15
 
16
- # Print out Ruby version
17
- ruby --version
16
+ versions=($RUBY_VERSIONS)
18
17
 
19
18
  # Temporary workaround for a known bundler+docker issue:
20
19
  # https://github.com/bundler/bundler/issues/6154
21
20
  export BUNDLE_GEMFILE=
22
21
 
23
- RUBY_VERSIONS=("2.3.8" "2.4.5" "2.5.3" "2.6.0")
24
-
25
22
  # Capture failures
26
23
  EXIT_STATUS=0 # everything passed
27
24
  function set_failed_status {
28
25
  EXIT_STATUS=1
29
26
  }
30
27
 
31
- for version in "${RUBY_VERSIONS[@]}"; do
28
+ for version in "${versions[@]}"; do
32
29
  rbenv global "$version"
30
+ echo "Using Ruby $version"
33
31
  (bundle update && bundle exec rake) || set_failed_status
34
32
  done
35
33
 
@@ -6,7 +6,7 @@ build_file: "google-api-ruby-client/.kokoro/trampoline.sh"
6
6
  # Dockerfile is maintained at https://github.com/googleapis/google-cloud-ruby/tree/master/.kokoro/docker/ruby-multi
7
7
  env_vars: {
8
8
  key: "TRAMPOLINE_IMAGE"
9
- value: "gcr.io/cloud-devrel-kokoro-resources/google-cloud-ruby/ruby-multi-ubuntu"
9
+ value: "gcr.io/cloud-devrel-kokoro-resources/yoshi-ruby/ruby-multi"
10
10
  }
11
11
 
12
12
  env_vars: {
@@ -5,7 +5,7 @@ build_file: "google-api-ruby-client/.kokoro/trampoline.sh"
5
5
  # Configure the docker image for kokoro-trampoline.
6
6
  env_vars: {
7
7
  key: "TRAMPOLINE_IMAGE"
8
- value: "gcr.io/cloud-devrel-kokoro-resources/google-cloud-ruby/ruby-multi-ubuntu"
8
+ value: "gcr.io/cloud-devrel-kokoro-resources/yoshi-ruby/ruby-multi"
9
9
  }
10
10
 
11
11
  env_vars: {
data/CHANGELOG.md CHANGED
@@ -1,3 +1,150 @@
1
+ # 0.28.5
2
+ * Backwards compatible changes:
3
+ * Added `accesscontextmanager_v1`
4
+ * Added `cloudasset_v1`
5
+ * Added `cloudprivatecatalog_v1beta1`
6
+ * Added `cloudprivatecatalogproducer_v1beta1`
7
+ * Added `factchecktools_v1alpha1`
8
+ * Added `servicenetworking_v1`
9
+ * Added `videointelligence_v1p3beta1`
10
+ * Added `websecurityscanner_v1beta`
11
+ * Updated `accesscontextmanager_v1beta`
12
+ * Updated `adexchangebuyer2_v2beta1`
13
+ * Updated `admin_directory_v1`
14
+ * Updated `alertcenter_v1beta1`
15
+ * Updated `analyticsreporting_v4`
16
+ * Updated `androiddeviceprovisioning_v1`
17
+ * Updated `androidenterprise_v1`
18
+ * Updated `androidmanagement_v1`
19
+ * Updated `appengine_v1`
20
+ * Updated `appengine_v1alpha`
21
+ * Updated `appengine_v1beta`
22
+ * Updated `bigquery_v2`
23
+ * Updated `bigquerydatatransfer_v1`
24
+ * Updated `bigtableadmin_v2`
25
+ * Updated `binaryauthorization_v1beta1`
26
+ * Updated `cloudasset_v1beta1`
27
+ * Updated `cloudbilling_v1`
28
+ * Updated `cloudbuild_v1`
29
+ * Updated `cloudbuild_v1alpha1`
30
+ * Updated `cloudfunctions_v1`
31
+ * Updated `cloudfunctions_v1beta2`
32
+ * Updated `cloudidentity_v1`
33
+ * Updated `cloudidentity_v1beta1`
34
+ * Updated `cloudiot_v1`
35
+ * Updated `cloudkms_v1`
36
+ * Updated `cloudresourcemanager_v1`
37
+ * Updated `cloudresourcemanager_v1beta1`
38
+ * Updated `cloudresourcemanager_v2`
39
+ * Updated `cloudresourcemanager_v2beta1`
40
+ * Updated `cloudscheduler_v1beta1`
41
+ * Updated `cloudsearch_v1`
42
+ * Updated `cloudshell_v1`
43
+ * Updated `cloudshell_v1alpha1`
44
+ * Updated `cloudtasks_v2beta2`
45
+ * Updated `cloudtasks_v2beta3`
46
+ * Updated `cloudtrace_v2`
47
+ * Updated `composer_v1`
48
+ * Updated `composer_v1beta1`
49
+ * Updated `compute_alpha`
50
+ * Updated `compute_beta`
51
+ * Updated `compute_v1`
52
+ * Updated `container_v1`
53
+ * Updated `container_v1beta1`
54
+ * Updated `containeranalysis_v1alpha1`
55
+ * Updated `containeranalysis_v1beta1`
56
+ * Updated `content_v2`
57
+ * Updated `content_v2_1`
58
+ * Updated `dataflow_v1b3`
59
+ * Updated `dataproc_v1`
60
+ * Updated `dataproc_v1beta2`
61
+ * Updated `dfareporting_v3_3`
62
+ * Updated `dialogflow_v2`
63
+ * Updated `dialogflow_v2beta1`
64
+ * Updated `dlp_v2`
65
+ * Updated `dns_v1`
66
+ * Updated `dns_v1beta2`
67
+ * Updated `dns_v2beta1`
68
+ * Updated `docs_v1`
69
+ * Updated `drive_v2`
70
+ * Updated `drive_v3`
71
+ * Updated `file_v1`
72
+ * Updated `file_v1beta1`
73
+ * Updated `firebasedynamiclinks_v1`
74
+ * Updated `firebaserules_v1`
75
+ * Updated `fitness_v1`
76
+ * Updated `games_management_v1management`
77
+ * Updated `games_v1`
78
+ * Updated `genomics_v1`
79
+ * Updated `genomics_v1alpha2`
80
+ * Updated `genomics_v2alpha1`
81
+ * Updated `groupssettings_v1`
82
+ * Updated `iam_v1`
83
+ * Updated `iamcredentials_v1`
84
+ * Updated `iap_v1`
85
+ * Updated `iap_v1beta1`
86
+ * Updated `jobs_v2`
87
+ * Updated `jobs_v3`
88
+ * Updated `jobs_v3p1beta1`
89
+ * Updated `language_v1`
90
+ * Updated `language_v1beta1`
91
+ * Updated `language_v1beta2`
92
+ * Updated `logging_v2`
93
+ * Updated `logging_v2beta1`
94
+ * Updated `ml_v1`
95
+ * Updated `monitoring_v3`
96
+ * Updated `oauth2_v1`
97
+ * Updated `oauth2_v2`
98
+ * Updated `people_v1`
99
+ * Updated `plus_domains_v1`
100
+ * Updated `plus_v1`
101
+ * Updated `poly_v1`
102
+ * Updated `proximitybeacon_v1beta1`
103
+ * Updated `pubsub_v1`
104
+ * Updated `pubsub_v1beta2`
105
+ * Updated `redis_v1`
106
+ * Updated `redis_v1beta1`
107
+ * Updated `remotebuildexecution_v1`
108
+ * Updated `remotebuildexecution_v1alpha`
109
+ * Updated `remotebuildexecution_v2`
110
+ * Updated `reseller_v1`
111
+ * Updated `runtimeconfig_v1`
112
+ * Updated `runtimeconfig_v1beta1`
113
+ * Updated `script_v1`
114
+ * Updated `serviceconsumermanagement_v1`
115
+ * Updated `servicecontrol_v1`
116
+ * Updated `servicemanagement_v1`
117
+ * Updated `servicenetworking_v1beta`
118
+ * Updated `serviceusage_v1`
119
+ * Updated `serviceusage_v1beta1`
120
+ * Updated `sheets_v4`
121
+ * Updated `slides_v1`
122
+ * Updated `sourcerepo_v1`
123
+ * Updated `spanner_v1`
124
+ * Updated `speech_v1`
125
+ * Updated `speech_v1p1beta1`
126
+ * Updated `sqladmin_v1beta4`
127
+ * Updated `storage_v1`
128
+ * Updated `storagetransfer_v1`
129
+ * Updated `streetviewpublish_v1`
130
+ * Updated `tagmanager_v1`
131
+ * Updated `tagmanager_v2`
132
+ * Updated `tasks_v1`
133
+ * Updated `testing_v1`
134
+ * Updated `toolresults_v1beta3`
135
+ * Updated `tpu_v1`
136
+ * Updated `tpu_v1alpha1`
137
+ * Updated `vault_v1`
138
+ * Updated `videointelligence_v1`
139
+ * Updated `videointelligence_v1beta2`
140
+ * Updated `videointelligence_v1p1beta1`
141
+ * Updated `videointelligence_v1p2beta1`
142
+ * Updated `vision_v1`
143
+ * Updated `vision_v1p1beta1`
144
+ * Updated `vision_v1p2beta1`
145
+ * Updated `youtube_partner_v1`
146
+ * Updated `youtubereporting_v1`
147
+
1
148
  # 0.28.4
2
149
  * Backwards compatible changes:
3
150
  * Added `bigtableadmin_v1`
@@ -0,0 +1,34 @@
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 'google/apis/accesscontextmanager_v1/service.rb'
16
+ require 'google/apis/accesscontextmanager_v1/classes.rb'
17
+ require 'google/apis/accesscontextmanager_v1/representations.rb'
18
+
19
+ module Google
20
+ module Apis
21
+ # Access Context Manager API
22
+ #
23
+ # An API for setting attribute based access control to requests to GCP services.
24
+ #
25
+ # @see https://cloud.google.com/access-context-manager/docs/reference/rest/
26
+ module AccesscontextmanagerV1
27
+ VERSION = 'V1'
28
+ REVISION = '20190307'
29
+
30
+ # View and manage your data across Google Cloud Platform services
31
+ AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
32
+ end
33
+ end
34
+ end
@@ -0,0 +1,755 @@
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 AccesscontextmanagerV1
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
+ class AccessLevel
28
+ include Google::Apis::Core::Hashable
29
+
30
+ # `BasicLevel` is an `AccessLevel` using a set of recommended features.
31
+ # Corresponds to the JSON property `basic`
32
+ # @return [Google::Apis::AccesscontextmanagerV1::BasicLevel]
33
+ attr_accessor :basic
34
+
35
+ # Output only. Time the `AccessLevel` was created in UTC.
36
+ # Corresponds to the JSON property `createTime`
37
+ # @return [String]
38
+ attr_accessor :create_time
39
+
40
+ # Description of the `AccessLevel` and its use. Does not affect behavior.
41
+ # Corresponds to the JSON property `description`
42
+ # @return [String]
43
+ attr_accessor :description
44
+
45
+ # Required. Resource name for the Access Level. The `short_name` component
46
+ # must begin with a letter and only include alphanumeric and '_'. Format:
47
+ # `accessPolicies/`policy_id`/accessLevels/`short_name``
48
+ # Corresponds to the JSON property `name`
49
+ # @return [String]
50
+ attr_accessor :name
51
+
52
+ # Human readable title. Must be unique within the Policy.
53
+ # Corresponds to the JSON property `title`
54
+ # @return [String]
55
+ attr_accessor :title
56
+
57
+ # Output only. Time the `AccessLevel` was updated in UTC.
58
+ # Corresponds to the JSON property `updateTime`
59
+ # @return [String]
60
+ attr_accessor :update_time
61
+
62
+ def initialize(**args)
63
+ update!(**args)
64
+ end
65
+
66
+ # Update properties of this object
67
+ def update!(**args)
68
+ @basic = args[:basic] if args.key?(:basic)
69
+ @create_time = args[:create_time] if args.key?(:create_time)
70
+ @description = args[:description] if args.key?(:description)
71
+ @name = args[:name] if args.key?(:name)
72
+ @title = args[:title] if args.key?(:title)
73
+ @update_time = args[:update_time] if args.key?(:update_time)
74
+ end
75
+ end
76
+
77
+ # `AccessPolicy` is a container for `AccessLevels` (which define the necessary
78
+ # attributes to use GCP services) and `ServicePerimeters` (which define regions
79
+ # of services able to freely pass data within a perimeter). An access policy is
80
+ # globally visible within an organization, and the restrictions it specifies
81
+ # apply to all projects within an organization.
82
+ class AccessPolicy
83
+ include Google::Apis::Core::Hashable
84
+
85
+ # Output only. Time the `AccessPolicy` was created in UTC.
86
+ # Corresponds to the JSON property `createTime`
87
+ # @return [String]
88
+ attr_accessor :create_time
89
+
90
+ # Output only. Resource name of the `AccessPolicy`. Format:
91
+ # `accessPolicies/`policy_id``
92
+ # Corresponds to the JSON property `name`
93
+ # @return [String]
94
+ attr_accessor :name
95
+
96
+ # Required. The parent of this `AccessPolicy` in the Cloud Resource
97
+ # Hierarchy. Currently immutable once created. Format:
98
+ # `organizations/`organization_id``
99
+ # Corresponds to the JSON property `parent`
100
+ # @return [String]
101
+ attr_accessor :parent
102
+
103
+ # Required. Human readable title. Does not affect behavior.
104
+ # Corresponds to the JSON property `title`
105
+ # @return [String]
106
+ attr_accessor :title
107
+
108
+ # Output only. Time the `AccessPolicy` was updated in UTC.
109
+ # Corresponds to the JSON property `updateTime`
110
+ # @return [String]
111
+ attr_accessor :update_time
112
+
113
+ def initialize(**args)
114
+ update!(**args)
115
+ end
116
+
117
+ # Update properties of this object
118
+ def update!(**args)
119
+ @create_time = args[:create_time] if args.key?(:create_time)
120
+ @name = args[:name] if args.key?(:name)
121
+ @parent = args[:parent] if args.key?(:parent)
122
+ @title = args[:title] if args.key?(:title)
123
+ @update_time = args[:update_time] if args.key?(:update_time)
124
+ end
125
+ end
126
+
127
+ # `BasicLevel` is an `AccessLevel` using a set of recommended features.
128
+ class BasicLevel
129
+ include Google::Apis::Core::Hashable
130
+
131
+ # How the `conditions` list should be combined to determine if a request is
132
+ # granted this `AccessLevel`. If AND is used, each `Condition` in
133
+ # `conditions` must be satisfied for the `AccessLevel` to be applied. If OR
134
+ # is used, at least one `Condition` in `conditions` must be satisfied for the
135
+ # `AccessLevel` to be applied. Default behavior is AND.
136
+ # Corresponds to the JSON property `combiningFunction`
137
+ # @return [String]
138
+ attr_accessor :combining_function
139
+
140
+ # Required. A list of requirements for the `AccessLevel` to be granted.
141
+ # Corresponds to the JSON property `conditions`
142
+ # @return [Array<Google::Apis::AccesscontextmanagerV1::Condition>]
143
+ attr_accessor :conditions
144
+
145
+ def initialize(**args)
146
+ update!(**args)
147
+ end
148
+
149
+ # Update properties of this object
150
+ def update!(**args)
151
+ @combining_function = args[:combining_function] if args.key?(:combining_function)
152
+ @conditions = args[:conditions] if args.key?(:conditions)
153
+ end
154
+ end
155
+
156
+ # The request message for Operations.CancelOperation.
157
+ class CancelOperationRequest
158
+ include Google::Apis::Core::Hashable
159
+
160
+ def initialize(**args)
161
+ update!(**args)
162
+ end
163
+
164
+ # Update properties of this object
165
+ def update!(**args)
166
+ end
167
+ end
168
+
169
+ # A condition necessary for an `AccessLevel` to be granted. The Condition is an
170
+ # AND over its fields. So a Condition is true if: 1) the request IP is from one
171
+ # of the listed subnetworks AND 2) the originating device complies with the
172
+ # listed device policy AND 3) all listed access levels are granted AND 4) the
173
+ # request was sent at a time allowed by the DateTimeRestriction.
174
+ class Condition
175
+ include Google::Apis::Core::Hashable
176
+
177
+ # `DevicePolicy` specifies device specific restrictions necessary to acquire a
178
+ # given access level. A `DevicePolicy` specifies requirements for requests from
179
+ # devices to be granted access levels, it does not do any enforcement on the
180
+ # device. `DevicePolicy` acts as an AND over all specified fields, and each
181
+ # repeated field is an OR over its elements. Any unset fields are ignored. For
182
+ # example, if the proto is ` os_type : DESKTOP_WINDOWS, os_type :
183
+ # DESKTOP_LINUX, encryption_status: ENCRYPTED`, then the DevicePolicy will be
184
+ # true for requests originating from encrypted Linux desktops and encrypted
185
+ # Windows desktops.
186
+ # Corresponds to the JSON property `devicePolicy`
187
+ # @return [Google::Apis::AccesscontextmanagerV1::DevicePolicy]
188
+ attr_accessor :device_policy
189
+
190
+ # CIDR block IP subnetwork specification. May be IPv4 or IPv6. Note that for
191
+ # a CIDR IP address block, the specified IP address portion must be properly
192
+ # truncated (i.e. all the host bits must be zero) or the input is considered
193
+ # malformed. For example, "192.0.2.0/24" is accepted but "192.0.2.1/24" is
194
+ # not. Similarly, for IPv6, "2001:db8::/32" is accepted whereas
195
+ # "2001:db8::1/32" is not. The originating IP of a request must be in one of
196
+ # the listed subnets in order for this Condition to be true. If empty, all IP
197
+ # addresses are allowed.
198
+ # Corresponds to the JSON property `ipSubnetworks`
199
+ # @return [Array<String>]
200
+ attr_accessor :ip_subnetworks
201
+
202
+ # The request must be made by one of the provided user or service
203
+ # accounts. Groups are not supported.
204
+ # Syntax:
205
+ # `user:`emailid``
206
+ # `serviceAccount:`emailid``
207
+ # If not specified, a request may come from any user.
208
+ # Corresponds to the JSON property `members`
209
+ # @return [Array<String>]
210
+ attr_accessor :members
211
+
212
+ # Whether to negate the Condition. If true, the Condition becomes a NAND over
213
+ # its non-empty fields, each field must be false for the Condition overall to
214
+ # be satisfied. Defaults to false.
215
+ # Corresponds to the JSON property `negate`
216
+ # @return [Boolean]
217
+ attr_accessor :negate
218
+ alias_method :negate?, :negate
219
+
220
+ # The request must originate from one of the provided countries/regions.
221
+ # Must be valid ISO 3166-1 alpha-2 codes.
222
+ # Corresponds to the JSON property `regions`
223
+ # @return [Array<String>]
224
+ attr_accessor :regions
225
+
226
+ # A list of other access levels defined in the same `Policy`, referenced by
227
+ # resource name. Referencing an `AccessLevel` which does not exist is an
228
+ # error. All access levels listed must be granted for the Condition
229
+ # to be true. Example:
230
+ # "`accessPolicies/MY_POLICY/accessLevels/LEVEL_NAME"`
231
+ # Corresponds to the JSON property `requiredAccessLevels`
232
+ # @return [Array<String>]
233
+ attr_accessor :required_access_levels
234
+
235
+ def initialize(**args)
236
+ update!(**args)
237
+ end
238
+
239
+ # Update properties of this object
240
+ def update!(**args)
241
+ @device_policy = args[:device_policy] if args.key?(:device_policy)
242
+ @ip_subnetworks = args[:ip_subnetworks] if args.key?(:ip_subnetworks)
243
+ @members = args[:members] if args.key?(:members)
244
+ @negate = args[:negate] if args.key?(:negate)
245
+ @regions = args[:regions] if args.key?(:regions)
246
+ @required_access_levels = args[:required_access_levels] if args.key?(:required_access_levels)
247
+ end
248
+ end
249
+
250
+ # `DevicePolicy` specifies device specific restrictions necessary to acquire a
251
+ # given access level. A `DevicePolicy` specifies requirements for requests from
252
+ # devices to be granted access levels, it does not do any enforcement on the
253
+ # device. `DevicePolicy` acts as an AND over all specified fields, and each
254
+ # repeated field is an OR over its elements. Any unset fields are ignored. For
255
+ # example, if the proto is ` os_type : DESKTOP_WINDOWS, os_type :
256
+ # DESKTOP_LINUX, encryption_status: ENCRYPTED`, then the DevicePolicy will be
257
+ # true for requests originating from encrypted Linux desktops and encrypted
258
+ # Windows desktops.
259
+ class DevicePolicy
260
+ include Google::Apis::Core::Hashable
261
+
262
+ # Allowed device management levels, an empty list allows all management
263
+ # levels.
264
+ # Corresponds to the JSON property `allowedDeviceManagementLevels`
265
+ # @return [Array<String>]
266
+ attr_accessor :allowed_device_management_levels
267
+
268
+ # Allowed encryptions statuses, an empty list allows all statuses.
269
+ # Corresponds to the JSON property `allowedEncryptionStatuses`
270
+ # @return [Array<String>]
271
+ attr_accessor :allowed_encryption_statuses
272
+
273
+ # Allowed OS versions, an empty list allows all types and all versions.
274
+ # Corresponds to the JSON property `osConstraints`
275
+ # @return [Array<Google::Apis::AccesscontextmanagerV1::OsConstraint>]
276
+ attr_accessor :os_constraints
277
+
278
+ # Whether the device needs to be approved by the customer admin.
279
+ # Corresponds to the JSON property `requireAdminApproval`
280
+ # @return [Boolean]
281
+ attr_accessor :require_admin_approval
282
+ alias_method :require_admin_approval?, :require_admin_approval
283
+
284
+ # Whether the device needs to be corp owned.
285
+ # Corresponds to the JSON property `requireCorpOwned`
286
+ # @return [Boolean]
287
+ attr_accessor :require_corp_owned
288
+ alias_method :require_corp_owned?, :require_corp_owned
289
+
290
+ # Whether or not screenlock is required for the DevicePolicy to be true.
291
+ # Defaults to `false`.
292
+ # Corresponds to the JSON property `requireScreenlock`
293
+ # @return [Boolean]
294
+ attr_accessor :require_screenlock
295
+ alias_method :require_screenlock?, :require_screenlock
296
+
297
+ def initialize(**args)
298
+ update!(**args)
299
+ end
300
+
301
+ # Update properties of this object
302
+ def update!(**args)
303
+ @allowed_device_management_levels = args[:allowed_device_management_levels] if args.key?(:allowed_device_management_levels)
304
+ @allowed_encryption_statuses = args[:allowed_encryption_statuses] if args.key?(:allowed_encryption_statuses)
305
+ @os_constraints = args[:os_constraints] if args.key?(:os_constraints)
306
+ @require_admin_approval = args[:require_admin_approval] if args.key?(:require_admin_approval)
307
+ @require_corp_owned = args[:require_corp_owned] if args.key?(:require_corp_owned)
308
+ @require_screenlock = args[:require_screenlock] if args.key?(:require_screenlock)
309
+ end
310
+ end
311
+
312
+ # A generic empty message that you can re-use to avoid defining duplicated
313
+ # empty messages in your APIs. A typical example is to use it as the request
314
+ # or the response type of an API method. For instance:
315
+ # service Foo `
316
+ # rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);
317
+ # `
318
+ # The JSON representation for `Empty` is empty JSON object ````.
319
+ class Empty
320
+ include Google::Apis::Core::Hashable
321
+
322
+ def initialize(**args)
323
+ update!(**args)
324
+ end
325
+
326
+ # Update properties of this object
327
+ def update!(**args)
328
+ end
329
+ end
330
+
331
+ # A response to `ListAccessLevelsRequest`.
332
+ class ListAccessLevelsResponse
333
+ include Google::Apis::Core::Hashable
334
+
335
+ # List of the Access Level instances.
336
+ # Corresponds to the JSON property `accessLevels`
337
+ # @return [Array<Google::Apis::AccesscontextmanagerV1::AccessLevel>]
338
+ attr_accessor :access_levels
339
+
340
+ # The pagination token to retrieve the next page of results. If the value is
341
+ # empty, no further results remain.
342
+ # Corresponds to the JSON property `nextPageToken`
343
+ # @return [String]
344
+ attr_accessor :next_page_token
345
+
346
+ def initialize(**args)
347
+ update!(**args)
348
+ end
349
+
350
+ # Update properties of this object
351
+ def update!(**args)
352
+ @access_levels = args[:access_levels] if args.key?(:access_levels)
353
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
354
+ end
355
+ end
356
+
357
+ # A response to `ListAccessPoliciesRequest`.
358
+ class ListAccessPoliciesResponse
359
+ include Google::Apis::Core::Hashable
360
+
361
+ # List of the AccessPolicy instances.
362
+ # Corresponds to the JSON property `accessPolicies`
363
+ # @return [Array<Google::Apis::AccesscontextmanagerV1::AccessPolicy>]
364
+ attr_accessor :access_policies
365
+
366
+ # The pagination token to retrieve the next page of results. If the value is
367
+ # empty, no further results remain.
368
+ # Corresponds to the JSON property `nextPageToken`
369
+ # @return [String]
370
+ attr_accessor :next_page_token
371
+
372
+ def initialize(**args)
373
+ update!(**args)
374
+ end
375
+
376
+ # Update properties of this object
377
+ def update!(**args)
378
+ @access_policies = args[:access_policies] if args.key?(:access_policies)
379
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
380
+ end
381
+ end
382
+
383
+ # The response message for Operations.ListOperations.
384
+ class ListOperationsResponse
385
+ include Google::Apis::Core::Hashable
386
+
387
+ # The standard List next-page token.
388
+ # Corresponds to the JSON property `nextPageToken`
389
+ # @return [String]
390
+ attr_accessor :next_page_token
391
+
392
+ # A list of operations that matches the specified filter in the request.
393
+ # Corresponds to the JSON property `operations`
394
+ # @return [Array<Google::Apis::AccesscontextmanagerV1::Operation>]
395
+ attr_accessor :operations
396
+
397
+ def initialize(**args)
398
+ update!(**args)
399
+ end
400
+
401
+ # Update properties of this object
402
+ def update!(**args)
403
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
404
+ @operations = args[:operations] if args.key?(:operations)
405
+ end
406
+ end
407
+
408
+ # A response to `ListServicePerimetersRequest`.
409
+ class ListServicePerimetersResponse
410
+ include Google::Apis::Core::Hashable
411
+
412
+ # The pagination token to retrieve the next page of results. If the value is
413
+ # empty, no further results remain.
414
+ # Corresponds to the JSON property `nextPageToken`
415
+ # @return [String]
416
+ attr_accessor :next_page_token
417
+
418
+ # List of the Service Perimeter instances.
419
+ # Corresponds to the JSON property `servicePerimeters`
420
+ # @return [Array<Google::Apis::AccesscontextmanagerV1::ServicePerimeter>]
421
+ attr_accessor :service_perimeters
422
+
423
+ def initialize(**args)
424
+ update!(**args)
425
+ end
426
+
427
+ # Update properties of this object
428
+ def update!(**args)
429
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
430
+ @service_perimeters = args[:service_perimeters] if args.key?(:service_perimeters)
431
+ end
432
+ end
433
+
434
+ # This resource represents a long-running operation that is the result of a
435
+ # network API call.
436
+ class Operation
437
+ include Google::Apis::Core::Hashable
438
+
439
+ # If the value is `false`, it means the operation is still in progress.
440
+ # If `true`, the operation is completed, and either `error` or `response` is
441
+ # available.
442
+ # Corresponds to the JSON property `done`
443
+ # @return [Boolean]
444
+ attr_accessor :done
445
+ alias_method :done?, :done
446
+
447
+ # The `Status` type defines a logical error model that is suitable for
448
+ # different programming environments, including REST APIs and RPC APIs. It is
449
+ # used by [gRPC](https://github.com/grpc). The error model is designed to be:
450
+ # - Simple to use and understand for most users
451
+ # - Flexible enough to meet unexpected needs
452
+ # # Overview
453
+ # The `Status` message contains three pieces of data: error code, error
454
+ # message, and error details. The error code should be an enum value of
455
+ # google.rpc.Code, but it may accept additional error codes if needed. The
456
+ # error message should be a developer-facing English message that helps
457
+ # developers *understand* and *resolve* the error. If a localized user-facing
458
+ # error message is needed, put the localized message in the error details or
459
+ # localize it in the client. The optional error details may contain arbitrary
460
+ # information about the error. There is a predefined set of error detail types
461
+ # in the package `google.rpc` that can be used for common error conditions.
462
+ # # Language mapping
463
+ # The `Status` message is the logical representation of the error model, but it
464
+ # is not necessarily the actual wire format. When the `Status` message is
465
+ # exposed in different client libraries and different wire protocols, it can be
466
+ # mapped differently. For example, it will likely be mapped to some exceptions
467
+ # in Java, but more likely mapped to some error codes in C.
468
+ # # Other uses
469
+ # The error model and the `Status` message can be used in a variety of
470
+ # environments, either with or without APIs, to provide a
471
+ # consistent developer experience across different environments.
472
+ # Example uses of this error model include:
473
+ # - Partial errors. If a service needs to return partial errors to the client,
474
+ # it may embed the `Status` in the normal response to indicate the partial
475
+ # errors.
476
+ # - Workflow errors. A typical workflow has multiple steps. Each step may
477
+ # have a `Status` message for error reporting.
478
+ # - Batch operations. If a client uses batch request and batch response, the
479
+ # `Status` message should be used directly inside batch response, one for
480
+ # each error sub-response.
481
+ # - Asynchronous operations. If an API call embeds asynchronous operation
482
+ # results in its response, the status of those operations should be
483
+ # represented directly using the `Status` message.
484
+ # - Logging. If some API errors are stored in logs, the message `Status` could
485
+ # be used directly after any stripping needed for security/privacy reasons.
486
+ # Corresponds to the JSON property `error`
487
+ # @return [Google::Apis::AccesscontextmanagerV1::Status]
488
+ attr_accessor :error
489
+
490
+ # Service-specific metadata associated with the operation. It typically
491
+ # contains progress information and common metadata such as create time.
492
+ # Some services might not provide such metadata. Any method that returns a
493
+ # long-running operation should document the metadata type, if any.
494
+ # Corresponds to the JSON property `metadata`
495
+ # @return [Hash<String,Object>]
496
+ attr_accessor :metadata
497
+
498
+ # The server-assigned name, which is only unique within the same service that
499
+ # originally returns it. If you use the default HTTP mapping, the
500
+ # `name` should have the format of `operations/some/unique/name`.
501
+ # Corresponds to the JSON property `name`
502
+ # @return [String]
503
+ attr_accessor :name
504
+
505
+ # The normal response of the operation in case of success. If the original
506
+ # method returns no data on success, such as `Delete`, the response is
507
+ # `google.protobuf.Empty`. If the original method is standard
508
+ # `Get`/`Create`/`Update`, the response should be the resource. For other
509
+ # methods, the response should have the type `XxxResponse`, where `Xxx`
510
+ # is the original method name. For example, if the original method name
511
+ # is `TakeSnapshot()`, the inferred response type is
512
+ # `TakeSnapshotResponse`.
513
+ # Corresponds to the JSON property `response`
514
+ # @return [Hash<String,Object>]
515
+ attr_accessor :response
516
+
517
+ def initialize(**args)
518
+ update!(**args)
519
+ end
520
+
521
+ # Update properties of this object
522
+ def update!(**args)
523
+ @done = args[:done] if args.key?(:done)
524
+ @error = args[:error] if args.key?(:error)
525
+ @metadata = args[:metadata] if args.key?(:metadata)
526
+ @name = args[:name] if args.key?(:name)
527
+ @response = args[:response] if args.key?(:response)
528
+ end
529
+ end
530
+
531
+ # A restriction on the OS type and version of devices making requests.
532
+ class OsConstraint
533
+ include Google::Apis::Core::Hashable
534
+
535
+ # The minimum allowed OS version. If not set, any version of this OS
536
+ # satisfies the constraint. Format: `"major.minor.patch"`.
537
+ # Examples: `"10.5.301"`, `"9.2.1"`.
538
+ # Corresponds to the JSON property `minimumVersion`
539
+ # @return [String]
540
+ attr_accessor :minimum_version
541
+
542
+ # Required. The allowed OS type.
543
+ # Corresponds to the JSON property `osType`
544
+ # @return [String]
545
+ attr_accessor :os_type
546
+
547
+ # Only allows requests from devices with a verified Chrome OS.
548
+ # Verifications includes requirements that the device is enterprise-managed,
549
+ # conformant to Dasher domain policies, and the caller has permission to call
550
+ # the API targeted by the request.
551
+ # Corresponds to the JSON property `requireVerifiedChromeOs`
552
+ # @return [Boolean]
553
+ attr_accessor :require_verified_chrome_os
554
+ alias_method :require_verified_chrome_os?, :require_verified_chrome_os
555
+
556
+ def initialize(**args)
557
+ update!(**args)
558
+ end
559
+
560
+ # Update properties of this object
561
+ def update!(**args)
562
+ @minimum_version = args[:minimum_version] if args.key?(:minimum_version)
563
+ @os_type = args[:os_type] if args.key?(:os_type)
564
+ @require_verified_chrome_os = args[:require_verified_chrome_os] if args.key?(:require_verified_chrome_os)
565
+ end
566
+ end
567
+
568
+ # `ServicePerimeter` describes a set of GCP resources which can freely import
569
+ # and export data amongst themselves, but not export outside of the
570
+ # `ServicePerimeter`. If a request with a source within this `ServicePerimeter`
571
+ # has a target outside of the `ServicePerimeter`, the request will be blocked.
572
+ # Otherwise the request is allowed. There are two types of Service Perimeter -
573
+ # Regular and Bridge. Regular Service Perimeters cannot overlap, a single GCP
574
+ # project can only belong to a single regular Service Perimeter. Service
575
+ # Perimeter Bridges can contain only GCP projects as members, a single GCP
576
+ # project may belong to multiple Service Perimeter Bridges.
577
+ class ServicePerimeter
578
+ include Google::Apis::Core::Hashable
579
+
580
+ # Output only. Time the `ServicePerimeter` was created in UTC.
581
+ # Corresponds to the JSON property `createTime`
582
+ # @return [String]
583
+ attr_accessor :create_time
584
+
585
+ # Description of the `ServicePerimeter` and its use. Does not affect
586
+ # behavior.
587
+ # Corresponds to the JSON property `description`
588
+ # @return [String]
589
+ attr_accessor :description
590
+
591
+ # Required. Resource name for the ServicePerimeter. The `short_name`
592
+ # component must begin with a letter and only include alphanumeric and '_'.
593
+ # Format: `accessPolicies/`policy_id`/servicePerimeters/`short_name``
594
+ # Corresponds to the JSON property `name`
595
+ # @return [String]
596
+ attr_accessor :name
597
+
598
+ # Perimeter type indicator. A single project is
599
+ # allowed to be a member of single regular perimeter, but multiple service
600
+ # perimeter bridges. A project cannot be a included in a perimeter bridge
601
+ # without being included in regular perimeter. For perimeter bridges,
602
+ # the restricted service list as well as access level lists must be
603
+ # empty.
604
+ # Corresponds to the JSON property `perimeterType`
605
+ # @return [String]
606
+ attr_accessor :perimeter_type
607
+
608
+ # `ServicePerimeterConfig` specifies a set of GCP resources that describe
609
+ # specific Service Perimeter configuration.
610
+ # Corresponds to the JSON property `status`
611
+ # @return [Google::Apis::AccesscontextmanagerV1::ServicePerimeterConfig]
612
+ attr_accessor :status
613
+
614
+ # Human readable title. Must be unique within the Policy.
615
+ # Corresponds to the JSON property `title`
616
+ # @return [String]
617
+ attr_accessor :title
618
+
619
+ # Output only. Time the `ServicePerimeter` was updated in UTC.
620
+ # Corresponds to the JSON property `updateTime`
621
+ # @return [String]
622
+ attr_accessor :update_time
623
+
624
+ def initialize(**args)
625
+ update!(**args)
626
+ end
627
+
628
+ # Update properties of this object
629
+ def update!(**args)
630
+ @create_time = args[:create_time] if args.key?(:create_time)
631
+ @description = args[:description] if args.key?(:description)
632
+ @name = args[:name] if args.key?(:name)
633
+ @perimeter_type = args[:perimeter_type] if args.key?(:perimeter_type)
634
+ @status = args[:status] if args.key?(:status)
635
+ @title = args[:title] if args.key?(:title)
636
+ @update_time = args[:update_time] if args.key?(:update_time)
637
+ end
638
+ end
639
+
640
+ # `ServicePerimeterConfig` specifies a set of GCP resources that describe
641
+ # specific Service Perimeter configuration.
642
+ class ServicePerimeterConfig
643
+ include Google::Apis::Core::Hashable
644
+
645
+ # A list of `AccessLevel` resource names that allow resources within the
646
+ # `ServicePerimeter` to be accessed from the internet. `AccessLevels` listed
647
+ # must be in the same policy as this `ServicePerimeter`. Referencing a
648
+ # nonexistent `AccessLevel` is a syntax error. If no `AccessLevel` names are
649
+ # listed, resources within the perimeter can only be accessed via GCP calls
650
+ # with request origins within the perimeter. Example:
651
+ # `"accessPolicies/MY_POLICY/accessLevels/MY_LEVEL"`.
652
+ # For Service Perimeter Bridge, must be empty.
653
+ # Corresponds to the JSON property `accessLevels`
654
+ # @return [Array<String>]
655
+ attr_accessor :access_levels
656
+
657
+ # A list of GCP resources that are inside of the service perimeter.
658
+ # Currently only projects are allowed. Format: `projects/`project_number``
659
+ # Corresponds to the JSON property `resources`
660
+ # @return [Array<String>]
661
+ attr_accessor :resources
662
+
663
+ # GCP services that are subject to the Service Perimeter restrictions. For
664
+ # example, if `storage.googleapis.com` is specified, access to the storage
665
+ # buckets inside the perimeter must meet the perimeter's access restrictions.
666
+ # Corresponds to the JSON property `restrictedServices`
667
+ # @return [Array<String>]
668
+ attr_accessor :restricted_services
669
+
670
+ def initialize(**args)
671
+ update!(**args)
672
+ end
673
+
674
+ # Update properties of this object
675
+ def update!(**args)
676
+ @access_levels = args[:access_levels] if args.key?(:access_levels)
677
+ @resources = args[:resources] if args.key?(:resources)
678
+ @restricted_services = args[:restricted_services] if args.key?(:restricted_services)
679
+ end
680
+ end
681
+
682
+ # The `Status` type defines a logical error model that is suitable for
683
+ # different programming environments, including REST APIs and RPC APIs. It is
684
+ # used by [gRPC](https://github.com/grpc). The error model is designed to be:
685
+ # - Simple to use and understand for most users
686
+ # - Flexible enough to meet unexpected needs
687
+ # # Overview
688
+ # The `Status` message contains three pieces of data: error code, error
689
+ # message, and error details. The error code should be an enum value of
690
+ # google.rpc.Code, but it may accept additional error codes if needed. The
691
+ # error message should be a developer-facing English message that helps
692
+ # developers *understand* and *resolve* the error. If a localized user-facing
693
+ # error message is needed, put the localized message in the error details or
694
+ # localize it in the client. The optional error details may contain arbitrary
695
+ # information about the error. There is a predefined set of error detail types
696
+ # in the package `google.rpc` that can be used for common error conditions.
697
+ # # Language mapping
698
+ # The `Status` message is the logical representation of the error model, but it
699
+ # is not necessarily the actual wire format. When the `Status` message is
700
+ # exposed in different client libraries and different wire protocols, it can be
701
+ # mapped differently. For example, it will likely be mapped to some exceptions
702
+ # in Java, but more likely mapped to some error codes in C.
703
+ # # Other uses
704
+ # The error model and the `Status` message can be used in a variety of
705
+ # environments, either with or without APIs, to provide a
706
+ # consistent developer experience across different environments.
707
+ # Example uses of this error model include:
708
+ # - Partial errors. If a service needs to return partial errors to the client,
709
+ # it may embed the `Status` in the normal response to indicate the partial
710
+ # errors.
711
+ # - Workflow errors. A typical workflow has multiple steps. Each step may
712
+ # have a `Status` message for error reporting.
713
+ # - Batch operations. If a client uses batch request and batch response, the
714
+ # `Status` message should be used directly inside batch response, one for
715
+ # each error sub-response.
716
+ # - Asynchronous operations. If an API call embeds asynchronous operation
717
+ # results in its response, the status of those operations should be
718
+ # represented directly using the `Status` message.
719
+ # - Logging. If some API errors are stored in logs, the message `Status` could
720
+ # be used directly after any stripping needed for security/privacy reasons.
721
+ class Status
722
+ include Google::Apis::Core::Hashable
723
+
724
+ # The status code, which should be an enum value of google.rpc.Code.
725
+ # Corresponds to the JSON property `code`
726
+ # @return [Fixnum]
727
+ attr_accessor :code
728
+
729
+ # A list of messages that carry the error details. There is a common set of
730
+ # message types for APIs to use.
731
+ # Corresponds to the JSON property `details`
732
+ # @return [Array<Hash<String,Object>>]
733
+ attr_accessor :details
734
+
735
+ # A developer-facing error message, which should be in English. Any
736
+ # user-facing error message should be localized and sent in the
737
+ # google.rpc.Status.details field, or localized by the client.
738
+ # Corresponds to the JSON property `message`
739
+ # @return [String]
740
+ attr_accessor :message
741
+
742
+ def initialize(**args)
743
+ update!(**args)
744
+ end
745
+
746
+ # Update properties of this object
747
+ def update!(**args)
748
+ @code = args[:code] if args.key?(:code)
749
+ @details = args[:details] if args.key?(:details)
750
+ @message = args[:message] if args.key?(:message)
751
+ end
752
+ end
753
+ end
754
+ end
755
+ end