google-api-client 0.20.1 → 0.21.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (451) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +140 -0
  3. data/README.md +3 -12
  4. data/generated/google/apis/abusiveexperiencereport_v1.rb +2 -2
  5. data/generated/google/apis/abusiveexperiencereport_v1/classes.rb +1 -0
  6. data/generated/google/apis/abusiveexperiencereport_v1/service.rb +1 -1
  7. data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
  8. data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +11 -1
  9. data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +1 -0
  10. data/generated/google/apis/adexchangebuyer_v1_2.rb +1 -1
  11. data/generated/google/apis/adexchangebuyer_v1_2/service.rb +24 -40
  12. data/generated/google/apis/adexchangebuyer_v1_3.rb +1 -1
  13. data/generated/google/apis/adexchangebuyer_v1_3/service.rb +66 -110
  14. data/generated/google/apis/adexchangebuyer_v1_4/service.rb +117 -195
  15. data/generated/google/apis/adexchangeseller_v1.rb +1 -1
  16. data/generated/google/apis/adexchangeseller_v1/service.rb +36 -60
  17. data/generated/google/apis/adexchangeseller_v1_1.rb +1 -1
  18. data/generated/google/apis/adexchangeseller_v1_1/service.rb +54 -90
  19. data/generated/google/apis/adexchangeseller_v2_0.rb +1 -1
  20. data/generated/google/apis/adexchangeseller_v2_0/service.rb +45 -75
  21. data/generated/google/apis/adexperiencereport_v1.rb +2 -2
  22. data/generated/google/apis/adexperiencereport_v1/classes.rb +1 -0
  23. data/generated/google/apis/adexperiencereport_v1/service.rb +1 -1
  24. data/generated/google/apis/admin_datatransfer_v1/service.rb +18 -30
  25. data/generated/google/apis/admin_directory_v1.rb +3 -3
  26. data/generated/google/apis/admin_directory_v1/classes.rb +18 -0
  27. data/generated/google/apis/admin_directory_v1/representations.rb +3 -0
  28. data/generated/google/apis/admin_directory_v1/service.rb +363 -577
  29. data/generated/google/apis/admin_reports_v1.rb +1 -1
  30. data/generated/google/apis/admin_reports_v1/service.rb +21 -35
  31. data/generated/google/apis/adsense_v1_4.rb +1 -1
  32. data/generated/google/apis/adsense_v1_4/service.rb +117 -195
  33. data/generated/google/apis/adsensehost_v4_1.rb +1 -1
  34. data/generated/google/apis/adsensehost_v4_1/service.rb +81 -135
  35. data/generated/google/apis/analytics_v2_4.rb +1 -1
  36. data/generated/google/apis/analytics_v2_4/service.rb +21 -35
  37. data/generated/google/apis/analytics_v3.rb +1 -1
  38. data/generated/google/apis/analytics_v3/classes.rb +32 -60
  39. data/generated/google/apis/analytics_v3/representations.rb +8 -12
  40. data/generated/google/apis/analytics_v3/service.rb +261 -435
  41. data/generated/google/apis/androiddeviceprovisioning_v1.rb +1 -1
  42. data/generated/google/apis/androiddeviceprovisioning_v1/classes.rb +2 -1
  43. data/generated/google/apis/androidenterprise_v1.rb +1 -1
  44. data/generated/google/apis/androidenterprise_v1/classes.rb +8 -12
  45. data/generated/google/apis/androidenterprise_v1/service.rb +254 -425
  46. data/generated/google/apis/androidmanagement_v1.rb +1 -1
  47. data/generated/google/apis/androidmanagement_v1/classes.rb +38 -6
  48. data/generated/google/apis/androidmanagement_v1/representations.rb +18 -0
  49. data/generated/google/apis/androidpublisher_v1.rb +1 -1
  50. data/generated/google/apis/androidpublisher_v1/service.rb +9 -15
  51. data/generated/google/apis/androidpublisher_v1_1.rb +1 -1
  52. data/generated/google/apis/androidpublisher_v1_1/service.rb +12 -20
  53. data/generated/google/apis/androidpublisher_v2.rb +1 -1
  54. data/generated/google/apis/androidpublisher_v2/classes.rb +102 -1
  55. data/generated/google/apis/androidpublisher_v2/representations.rb +46 -0
  56. data/generated/google/apis/androidpublisher_v2/service.rb +255 -286
  57. data/generated/google/apis/androidpublisher_v3.rb +34 -0
  58. data/generated/google/apis/androidpublisher_v3/classes.rb +1899 -0
  59. data/generated/google/apis/androidpublisher_v3/representations.rb +882 -0
  60. data/generated/google/apis/androidpublisher_v3/service.rb +2208 -0
  61. data/generated/google/apis/appsactivity_v1.rb +1 -1
  62. data/generated/google/apis/appsactivity_v1/service.rb +6 -10
  63. data/generated/google/apis/appsmarket_v2/service.rb +12 -20
  64. data/generated/google/apis/appstate_v1.rb +1 -1
  65. data/generated/google/apis/appstate_v1/service.rb +18 -30
  66. data/generated/google/apis/bigquery_v2.rb +1 -1
  67. data/generated/google/apis/bigquery_v2/classes.rb +67 -9
  68. data/generated/google/apis/bigquery_v2/representations.rb +22 -0
  69. data/generated/google/apis/bigquery_v2/service.rb +69 -115
  70. data/generated/google/apis/bigquerydatatransfer_v1.rb +1 -1
  71. data/generated/google/apis/bigquerydatatransfer_v1/classes.rb +1 -2
  72. data/generated/google/apis/bigquerydatatransfer_v1/service.rb +2 -2
  73. data/generated/google/apis/blogger_v2/service.rb +30 -50
  74. data/generated/google/apis/blogger_v3/service.rb +102 -170
  75. data/generated/google/apis/books_v1.rb +1 -1
  76. data/generated/google/apis/books_v1/service.rb +156 -260
  77. data/generated/google/apis/calendar_v3.rb +1 -1
  78. data/generated/google/apis/calendar_v3/service.rb +114 -190
  79. data/generated/google/apis/chat_v1.rb +1 -1
  80. data/generated/google/apis/chat_v1/classes.rb +6 -0
  81. data/generated/google/apis/chat_v1/representations.rb +1 -0
  82. data/generated/google/apis/civicinfo_v2/service.rb +18 -30
  83. data/generated/google/apis/classroom_v1.rb +1 -1
  84. data/generated/google/apis/classroom_v1/classes.rb +0 -69
  85. data/generated/google/apis/classroom_v1/representations.rb +0 -31
  86. data/generated/google/apis/classroom_v1/service.rb +0 -88
  87. data/generated/google/apis/cloudbilling_v1.rb +1 -1
  88. data/generated/google/apis/cloudbilling_v1/classes.rb +0 -1
  89. data/generated/google/apis/cloudbilling_v1/service.rb +2 -1
  90. data/generated/google/apis/cloudfunctions_v1.rb +3 -4
  91. data/generated/google/apis/cloudfunctions_v1/classes.rb +14 -0
  92. data/generated/google/apis/cloudfunctions_v1/representations.rb +2 -0
  93. data/generated/google/apis/cloudfunctions_v1/service.rb +3 -4
  94. data/generated/google/apis/cloudfunctions_v1beta2.rb +3 -4
  95. data/generated/google/apis/cloudfunctions_v1beta2/classes.rb +14 -0
  96. data/generated/google/apis/cloudfunctions_v1beta2/representations.rb +2 -0
  97. data/generated/google/apis/cloudfunctions_v1beta2/service.rb +3 -4
  98. data/generated/google/apis/cloudiot_v1.rb +1 -1
  99. data/generated/google/apis/cloudiot_v1/classes.rb +29 -7
  100. data/generated/google/apis/cloudiot_v1/service.rb +398 -1
  101. data/generated/google/apis/cloudkms_v1.rb +2 -2
  102. data/generated/google/apis/cloudkms_v1/classes.rb +29 -7
  103. data/generated/google/apis/cloudkms_v1/service.rb +1 -1
  104. data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
  105. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +30 -8
  106. data/generated/google/apis/cloudresourcemanager_v1/service.rb +5 -3
  107. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
  108. data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +29 -7
  109. data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
  110. data/generated/google/apis/cloudresourcemanager_v2/classes.rb +29 -7
  111. data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
  112. data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +29 -7
  113. data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
  114. data/generated/google/apis/cloudtasks_v2beta2/classes.rb +39 -10
  115. data/generated/google/apis/cloudtasks_v2beta2/service.rb +9 -11
  116. data/generated/google/apis/cloudtrace_v1.rb +1 -1
  117. data/generated/google/apis/cloudtrace_v1/classes.rb +1 -1
  118. data/generated/google/apis/{dlp_v2beta1.rb → composer_v1beta1.rb} +9 -11
  119. data/generated/google/apis/composer_v1beta1/classes.rb +643 -0
  120. data/generated/google/apis/composer_v1beta1/representations.rb +195 -0
  121. data/generated/google/apis/composer_v1beta1/service.rb +462 -0
  122. data/generated/google/apis/compute_alpha.rb +1 -1
  123. data/generated/google/apis/compute_alpha/classes.rb +3939 -2239
  124. data/generated/google/apis/compute_alpha/representations.rb +1063 -335
  125. data/generated/google/apis/compute_alpha/service.rb +3532 -3368
  126. data/generated/google/apis/compute_beta.rb +1 -1
  127. data/generated/google/apis/compute_beta/classes.rb +150 -53
  128. data/generated/google/apis/compute_beta/representations.rb +23 -0
  129. data/generated/google/apis/compute_beta/service.rb +1269 -2077
  130. data/generated/google/apis/compute_v1.rb +1 -1
  131. data/generated/google/apis/compute_v1/classes.rb +46 -43
  132. data/generated/google/apis/compute_v1/service.rb +1022 -1666
  133. data/generated/google/apis/container_v1.rb +2 -2
  134. data/generated/google/apis/container_v1/classes.rb +20 -15
  135. data/generated/google/apis/container_v1/representations.rb +1 -0
  136. data/generated/google/apis/container_v1/service.rb +33 -31
  137. data/generated/google/apis/container_v1beta1.rb +2 -2
  138. data/generated/google/apis/container_v1beta1/classes.rb +186 -14
  139. data/generated/google/apis/container_v1beta1/representations.rb +77 -0
  140. data/generated/google/apis/container_v1beta1/service.rb +111 -31
  141. data/generated/google/apis/content_v2.rb +1 -1
  142. data/generated/google/apis/content_v2/classes.rb +173 -8
  143. data/generated/google/apis/content_v2/representations.rb +71 -0
  144. data/generated/google/apis/content_v2/service.rb +246 -410
  145. data/generated/google/apis/content_v2sandbox.rb +1 -1
  146. data/generated/google/apis/content_v2sandbox/classes.rb +75 -8
  147. data/generated/google/apis/content_v2sandbox/representations.rb +33 -0
  148. data/generated/google/apis/content_v2sandbox/service.rb +63 -105
  149. data/generated/google/apis/customsearch_v1.rb +1 -1
  150. data/generated/google/apis/customsearch_v1/service.rb +9 -15
  151. data/generated/google/apis/dataflow_v1b3.rb +1 -1
  152. data/generated/google/apis/dataflow_v1b3/classes.rb +15 -0
  153. data/generated/google/apis/dataflow_v1b3/representations.rb +2 -0
  154. data/generated/google/apis/dataproc_v1.rb +2 -2
  155. data/generated/google/apis/dataproc_v1/classes.rb +6 -6
  156. data/generated/google/apis/dataproc_v1/service.rb +1 -1
  157. data/generated/google/apis/dataproc_v1beta2.rb +2 -2
  158. data/generated/google/apis/dataproc_v1beta2/classes.rb +48 -13
  159. data/generated/google/apis/dataproc_v1beta2/representations.rb +12 -0
  160. data/generated/google/apis/dataproc_v1beta2/service.rb +1 -1
  161. data/generated/google/apis/datastore_v1.rb +2 -2
  162. data/generated/google/apis/datastore_v1/service.rb +1 -1
  163. data/generated/google/apis/datastore_v1beta1.rb +2 -2
  164. data/generated/google/apis/datastore_v1beta1/service.rb +1 -1
  165. data/generated/google/apis/datastore_v1beta3.rb +2 -2
  166. data/generated/google/apis/datastore_v1beta3/service.rb +1 -1
  167. data/generated/google/apis/deploymentmanager_alpha.rb +1 -1
  168. data/generated/google/apis/deploymentmanager_alpha/classes.rb +60 -5
  169. data/generated/google/apis/deploymentmanager_alpha/representations.rb +17 -0
  170. data/generated/google/apis/deploymentmanager_alpha/service.rb +118 -194
  171. data/generated/google/apis/deploymentmanager_v2.rb +1 -1
  172. data/generated/google/apis/deploymentmanager_v2/classes.rb +60 -5
  173. data/generated/google/apis/deploymentmanager_v2/representations.rb +17 -0
  174. data/generated/google/apis/deploymentmanager_v2/service.rb +61 -99
  175. data/generated/google/apis/deploymentmanager_v2beta.rb +1 -1
  176. data/generated/google/apis/deploymentmanager_v2beta/classes.rb +60 -5
  177. data/generated/google/apis/deploymentmanager_v2beta/representations.rb +17 -0
  178. data/generated/google/apis/deploymentmanager_v2beta/service.rb +103 -169
  179. data/generated/google/apis/dfareporting_v2_8/service.rb +618 -1030
  180. data/generated/google/apis/dfareporting_v3_0/service.rb +615 -1025
  181. data/generated/google/apis/dialogflow_v2.rb +1 -1
  182. data/generated/google/apis/dialogflow_v2/classes.rb +94 -24
  183. data/generated/google/apis/dialogflow_v2/representations.rb +13 -0
  184. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  185. data/generated/google/apis/dialogflow_v2beta1/classes.rb +94 -24
  186. data/generated/google/apis/dialogflow_v2beta1/representations.rb +13 -0
  187. data/generated/google/apis/discovery_v1/service.rb +9 -15
  188. data/generated/google/apis/dlp_v2.rb +1 -1
  189. data/generated/google/apis/dlp_v2/classes.rb +116 -1572
  190. data/generated/google/apis/dlp_v2/representations.rb +673 -1405
  191. data/generated/google/apis/dlp_v2/service.rb +24 -24
  192. data/generated/google/apis/dns_v1.rb +1 -1
  193. data/generated/google/apis/dns_v1/classes.rb +7 -0
  194. data/generated/google/apis/dns_v1/representations.rb +1 -0
  195. data/generated/google/apis/dns_v1/service.rb +49 -81
  196. data/generated/google/apis/dns_v1beta2.rb +1 -1
  197. data/generated/google/apis/dns_v1beta2/classes.rb +7 -0
  198. data/generated/google/apis/dns_v1beta2/representations.rb +1 -0
  199. data/generated/google/apis/dns_v1beta2/service.rb +49 -81
  200. data/generated/google/apis/dns_v2beta1.rb +1 -1
  201. data/generated/google/apis/dns_v2beta1/classes.rb +7 -0
  202. data/generated/google/apis/dns_v2beta1/representations.rb +1 -0
  203. data/generated/google/apis/dns_v2beta1/service.rb +49 -81
  204. data/generated/google/apis/doubleclickbidmanager_v1/service.rb +30 -50
  205. data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
  206. data/generated/google/apis/doubleclicksearch_v2/service.rb +33 -55
  207. data/generated/google/apis/drive_v2.rb +1 -1
  208. data/generated/google/apis/drive_v2/service.rb +205 -341
  209. data/generated/google/apis/drive_v3.rb +1 -1
  210. data/generated/google/apis/drive_v3/service.rb +120 -200
  211. data/generated/google/apis/firebasedynamiclinks_v1.rb +1 -1
  212. data/generated/google/apis/firebasedynamiclinks_v1/service.rb +1 -1
  213. data/generated/google/apis/firestore_v1beta1.rb +2 -2
  214. data/generated/google/apis/firestore_v1beta1/service.rb +1 -1
  215. data/generated/google/apis/fitness_v1/service.rb +45 -75
  216. data/generated/google/apis/fusiontables_v1.rb +1 -1
  217. data/generated/google/apis/fusiontables_v1/service.rb +99 -165
  218. data/generated/google/apis/fusiontables_v2/service.rb +105 -175
  219. data/generated/google/apis/games_configuration_v1configuration.rb +1 -1
  220. data/generated/google/apis/games_configuration_v1configuration/service.rb +42 -70
  221. data/generated/google/apis/games_management_v1management.rb +1 -1
  222. data/generated/google/apis/games_management_v1management/service.rb +84 -140
  223. data/generated/google/apis/games_v1.rb +1 -1
  224. data/generated/google/apis/games_v1/service.rb +162 -270
  225. data/generated/google/apis/genomics_v1.rb +1 -1
  226. data/generated/google/apis/genomics_v1/classes.rb +41 -7
  227. data/generated/google/apis/genomics_v1/representations.rb +1 -0
  228. data/generated/google/apis/genomics_v1alpha2.rb +1 -1
  229. data/generated/google/apis/genomics_v1alpha2/classes.rb +12 -0
  230. data/generated/google/apis/genomics_v1alpha2/representations.rb +1 -0
  231. data/generated/google/apis/genomics_v2alpha1.rb +1 -1
  232. data/generated/google/apis/genomics_v2alpha1/classes.rb +70 -0
  233. data/generated/google/apis/genomics_v2alpha1/representations.rb +20 -0
  234. data/generated/google/apis/gmail_v1/service.rb +189 -315
  235. data/generated/google/apis/groupsmigration_v1/service.rb +6 -10
  236. data/generated/google/apis/groupssettings_v1/service.rb +12 -20
  237. data/generated/google/apis/iam_v1.rb +2 -2
  238. data/generated/google/apis/iam_v1/classes.rb +29 -7
  239. data/generated/google/apis/iam_v1/service.rb +1 -1
  240. data/generated/google/apis/identitytoolkit_v3.rb +1 -1
  241. data/generated/google/apis/identitytoolkit_v3/service.rb +63 -105
  242. data/generated/google/apis/jobs_v2.rb +38 -0
  243. data/generated/google/apis/jobs_v2/classes.rb +3378 -0
  244. data/generated/google/apis/jobs_v2/representations.rb +1067 -0
  245. data/generated/google/apis/jobs_v2/service.rb +754 -0
  246. data/generated/google/apis/licensing_v1/service.rb +24 -40
  247. data/generated/google/apis/logging_v2.rb +1 -1
  248. data/generated/google/apis/logging_v2/classes.rb +55 -5
  249. data/generated/google/apis/logging_v2/representations.rb +16 -0
  250. data/generated/google/apis/logging_v2/service.rb +6 -4
  251. data/generated/google/apis/logging_v2beta1.rb +1 -1
  252. data/generated/google/apis/logging_v2beta1/classes.rb +55 -5
  253. data/generated/google/apis/logging_v2beta1/representations.rb +16 -0
  254. data/generated/google/apis/logging_v2beta1/service.rb +6 -4
  255. data/generated/google/apis/mirror_v1.rb +1 -1
  256. data/generated/google/apis/mirror_v1/service.rb +75 -125
  257. data/generated/google/apis/ml_v1.rb +1 -1
  258. data/generated/google/apis/ml_v1/classes.rb +65 -28
  259. data/generated/google/apis/ml_v1/representations.rb +1 -0
  260. data/generated/google/apis/ml_v1/service.rb +2 -2
  261. data/generated/google/apis/oauth2_v1.rb +1 -1
  262. data/generated/google/apis/oauth2_v1/service.rb +27 -45
  263. data/generated/google/apis/oauth2_v2.rb +1 -1
  264. data/generated/google/apis/oauth2_v2/service.rb +15 -25
  265. data/generated/google/apis/oslogin_v1.rb +1 -1
  266. data/generated/google/apis/oslogin_v1/classes.rb +6 -0
  267. data/generated/google/apis/oslogin_v1/representations.rb +1 -0
  268. data/generated/google/apis/oslogin_v1alpha.rb +1 -1
  269. data/generated/google/apis/oslogin_v1alpha/classes.rb +7 -1
  270. data/generated/google/apis/oslogin_v1alpha/representations.rb +1 -0
  271. data/generated/google/apis/oslogin_v1alpha/service.rb +4 -1
  272. data/generated/google/apis/oslogin_v1beta.rb +1 -1
  273. data/generated/google/apis/oslogin_v1beta/classes.rb +6 -0
  274. data/generated/google/apis/oslogin_v1beta/representations.rb +1 -0
  275. data/generated/google/apis/pagespeedonline_v1.rb +1 -1
  276. data/generated/google/apis/pagespeedonline_v1/service.rb +6 -10
  277. data/generated/google/apis/pagespeedonline_v2.rb +1 -1
  278. data/generated/google/apis/pagespeedonline_v2/service.rb +6 -10
  279. data/generated/google/apis/pagespeedonline_v4/service.rb +6 -10
  280. data/generated/google/apis/photoslibrary_v1.rb +49 -0
  281. data/generated/google/apis/photoslibrary_v1/classes.rb +1330 -0
  282. data/generated/google/apis/photoslibrary_v1/representations.rb +625 -0
  283. data/generated/google/apis/photoslibrary_v1/service.rb +399 -0
  284. data/generated/google/apis/playcustomapp_v1/service.rb +6 -10
  285. data/generated/google/apis/plus_domains_v1.rb +1 -1
  286. data/generated/google/apis/plus_domains_v1/service.rb +63 -105
  287. data/generated/google/apis/plus_v1.rb +1 -1
  288. data/generated/google/apis/plus_v1/service.rb +30 -50
  289. data/generated/google/apis/pubsub_v1.rb +2 -2
  290. data/generated/google/apis/pubsub_v1/classes.rb +29 -7
  291. data/generated/google/apis/pubsub_v1/service.rb +1 -1
  292. data/generated/google/apis/pubsub_v1beta1a.rb +2 -2
  293. data/generated/google/apis/pubsub_v1beta1a/service.rb +1 -1
  294. data/generated/google/apis/pubsub_v1beta2.rb +2 -2
  295. data/generated/google/apis/pubsub_v1beta2/classes.rb +29 -7
  296. data/generated/google/apis/pubsub_v1beta2/service.rb +1 -1
  297. data/generated/google/apis/{dlp_v2beta2.rb → redis_v1beta1.rb} +10 -11
  298. data/generated/google/apis/redis_v1beta1/classes.rb +681 -0
  299. data/generated/google/apis/redis_v1beta1/representations.rb +240 -0
  300. data/generated/google/apis/redis_v1beta1/service.rb +426 -0
  301. data/generated/google/apis/replicapool_v1beta1/service.rb +33 -55
  302. data/generated/google/apis/replicapool_v1beta2/service.rb +39 -65
  303. data/generated/google/apis/replicapoolupdater_v1beta1/service.rb +33 -55
  304. data/generated/google/apis/reseller_v1/service.rb +54 -90
  305. data/generated/google/apis/resourceviews_v1beta1/service.rb +45 -75
  306. data/generated/google/apis/resourceviews_v1beta2/service.rb +36 -60
  307. data/generated/google/apis/runtimeconfig_v1.rb +2 -2
  308. data/generated/google/apis/runtimeconfig_v1/service.rb +1 -1
  309. data/generated/google/apis/runtimeconfig_v1beta1.rb +2 -2
  310. data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +28 -6
  311. data/generated/google/apis/runtimeconfig_v1beta1/service.rb +1 -1
  312. data/generated/google/apis/script_v1.rb +8 -2
  313. data/generated/google/apis/script_v1/classes.rb +3 -3
  314. data/generated/google/apis/script_v1/service.rb +8 -2
  315. data/generated/google/apis/servicebroker_v1.rb +36 -0
  316. data/generated/google/apis/servicebroker_v1/classes.rb +240 -0
  317. data/generated/google/apis/servicebroker_v1/representations.rb +96 -0
  318. data/generated/google/apis/servicebroker_v1/service.rb +168 -0
  319. data/generated/google/apis/servicebroker_v1alpha1.rb +36 -0
  320. data/generated/google/apis/servicebroker_v1alpha1/classes.rb +939 -0
  321. data/generated/google/apis/servicebroker_v1alpha1/representations.rb +348 -0
  322. data/generated/google/apis/servicebroker_v1alpha1/service.rb +728 -0
  323. data/generated/google/apis/servicebroker_v1beta1.rb +36 -0
  324. data/generated/google/apis/servicebroker_v1beta1/classes.rb +1046 -0
  325. data/generated/google/apis/servicebroker_v1beta1/representations.rb +393 -0
  326. data/generated/google/apis/servicebroker_v1beta1/service.rb +917 -0
  327. data/generated/google/apis/servicecontrol_v1.rb +2 -2
  328. data/generated/google/apis/servicecontrol_v1/classes.rb +1 -0
  329. data/generated/google/apis/servicecontrol_v1/service.rb +1 -1
  330. data/generated/google/apis/servicemanagement_v1.rb +2 -2
  331. data/generated/google/apis/servicemanagement_v1/classes.rb +29 -7
  332. data/generated/google/apis/servicemanagement_v1/service.rb +1 -1
  333. data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
  334. data/generated/google/apis/serviceusage_v1beta1/classes.rb +299 -0
  335. data/generated/google/apis/serviceusage_v1beta1/representations.rb +101 -0
  336. data/generated/google/apis/sheets_v4.rb +1 -1
  337. data/generated/google/apis/sheets_v4/classes.rb +421 -0
  338. data/generated/google/apis/sheets_v4/representations.rb +120 -0
  339. data/generated/google/apis/site_verification_v1/service.rb +24 -40
  340. data/generated/google/apis/slides_v1.rb +1 -1
  341. data/generated/google/apis/slides_v1/classes.rb +6 -2
  342. data/generated/google/apis/spanner_v1.rb +1 -1
  343. data/generated/google/apis/spanner_v1/classes.rb +39 -12
  344. data/generated/google/apis/spanner_v1/service.rb +2 -2
  345. data/generated/google/apis/spectrum_v1explorer.rb +1 -1
  346. data/generated/google/apis/spectrum_v1explorer/service.rb +21 -35
  347. data/generated/google/apis/speech_v1.rb +1 -1
  348. data/generated/google/apis/speech_v1/classes.rb +12 -0
  349. data/generated/google/apis/speech_v1/representations.rb +1 -0
  350. data/generated/google/apis/sqladmin_v1beta3.rb +1 -1
  351. data/generated/google/apis/sqladmin_v1beta3/service.rb +75 -125
  352. data/generated/google/apis/sqladmin_v1beta4/service.rb +126 -210
  353. data/generated/google/apis/storage_v1.rb +1 -1
  354. data/generated/google/apis/storage_v1/classes.rb +3 -6
  355. data/generated/google/apis/storage_v1/service.rb +144 -240
  356. data/generated/google/apis/storage_v1beta1.rb +1 -1
  357. data/generated/google/apis/storage_v1beta1/service.rb +75 -125
  358. data/generated/google/apis/storage_v1beta2.rb +1 -1
  359. data/generated/google/apis/storage_v1beta2/service.rb +105 -175
  360. data/generated/google/apis/storagetransfer_v1.rb +1 -1
  361. data/generated/google/apis/storagetransfer_v1/classes.rb +4 -3
  362. data/generated/google/apis/surveys_v2.rb +1 -1
  363. data/generated/google/apis/surveys_v2/classes.rb +19 -122
  364. data/generated/google/apis/surveys_v2/representations.rb +0 -38
  365. data/generated/google/apis/surveys_v2/service.rb +27 -157
  366. data/generated/google/apis/tagmanager_v1/service.rb +153 -255
  367. data/generated/google/apis/tagmanager_v2/service.rb +222 -370
  368. data/generated/google/apis/tasks_v1/service.rb +45 -75
  369. data/generated/google/apis/texttospeech_v1beta1.rb +2 -2
  370. data/generated/google/apis/texttospeech_v1beta1/service.rb +1 -1
  371. data/generated/google/apis/toolresults_v1beta3.rb +1 -1
  372. data/generated/google/apis/toolresults_v1beta3/service.rb +75 -125
  373. data/generated/google/apis/tpu_v1alpha1.rb +1 -1
  374. data/generated/google/apis/urlshortener_v1/service.rb +12 -20
  375. data/generated/google/apis/vault_v1.rb +2 -2
  376. data/generated/google/apis/vault_v1/service.rb +1 -1
  377. data/generated/google/apis/videointelligence_v1.rb +34 -0
  378. data/generated/google/apis/videointelligence_v1/classes.rb +2149 -0
  379. data/generated/google/apis/videointelligence_v1/representations.rb +972 -0
  380. data/generated/google/apis/videointelligence_v1/service.rb +246 -0
  381. data/generated/google/apis/videointelligence_v1beta1.rb +1 -1
  382. data/generated/google/apis/videointelligence_v1beta1/classes.rb +18 -18
  383. data/generated/google/apis/{taskqueue_v1beta2.rb → videointelligence_v1beta2.rb} +10 -13
  384. data/generated/google/apis/videointelligence_v1beta2/classes.rb +2092 -0
  385. data/generated/google/apis/videointelligence_v1beta2/representations.rb +933 -0
  386. data/generated/google/apis/videointelligence_v1beta2/service.rb +92 -0
  387. data/generated/google/apis/vision_v1.rb +1 -1
  388. data/generated/google/apis/vision_v1/classes.rb +1441 -62
  389. data/generated/google/apis/vision_v1/representations.rb +582 -0
  390. data/generated/google/apis/vision_v1p1beta1.rb +1 -1
  391. data/generated/google/apis/vision_v1p1beta1/classes.rb +1441 -62
  392. data/generated/google/apis/vision_v1p1beta1/representations.rb +582 -0
  393. data/generated/google/apis/vision_v1p2beta1.rb +1 -1
  394. data/generated/google/apis/vision_v1p2beta1/classes.rb +63 -3
  395. data/generated/google/apis/vision_v1p2beta1/representations.rb +32 -0
  396. data/generated/google/apis/webfonts_v1/service.rb +6 -10
  397. data/generated/google/apis/webmasters_v3/service.rb +42 -70
  398. data/generated/google/apis/websecurityscanner_v1alpha.rb +34 -0
  399. data/generated/google/apis/websecurityscanner_v1alpha/classes.rb +760 -0
  400. data/generated/google/apis/websecurityscanner_v1alpha/representations.rb +354 -0
  401. data/generated/google/apis/websecurityscanner_v1alpha/service.rb +548 -0
  402. data/generated/google/apis/youtube_analytics_v1.rb +1 -1
  403. data/generated/google/apis/youtube_analytics_v1/service.rb +27 -45
  404. data/generated/google/apis/youtube_analytics_v1beta1.rb +1 -1
  405. data/generated/google/apis/youtube_analytics_v1beta1/service.rb +27 -45
  406. data/generated/google/apis/youtube_analytics_v2.rb +46 -0
  407. data/generated/google/apis/youtube_analytics_v2/classes.rb +532 -0
  408. data/generated/google/apis/youtube_analytics_v2/representations.rb +232 -0
  409. data/generated/google/apis/youtube_analytics_v2/service.rb +478 -0
  410. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  411. data/generated/google/apis/youtube_partner_v1/service.rb +225 -375
  412. data/generated/google/apis/youtube_v3.rb +1 -1
  413. data/generated/google/apis/youtube_v3/classes.rb +0 -168
  414. data/generated/google/apis/youtube_v3/representations.rb +0 -62
  415. data/generated/google/apis/youtube_v3/service.rb +216 -415
  416. data/lib/google/apis/generator/helpers.rb +3 -1
  417. data/lib/google/apis/version.rb +1 -1
  418. metadata +50 -38
  419. data/generated/google/apis/dlp_v2beta1/classes.rb +0 -3820
  420. data/generated/google/apis/dlp_v2beta1/representations.rb +0 -1879
  421. data/generated/google/apis/dlp_v2beta1/service.rb +0 -603
  422. data/generated/google/apis/dlp_v2beta2/classes.rb +0 -6386
  423. data/generated/google/apis/dlp_v2beta2/representations.rb +0 -3085
  424. data/generated/google/apis/dlp_v2beta2/service.rb +0 -1332
  425. data/generated/google/apis/prediction_v1_2.rb +0 -44
  426. data/generated/google/apis/prediction_v1_2/classes.rb +0 -237
  427. data/generated/google/apis/prediction_v1_2/representations.rb +0 -133
  428. data/generated/google/apis/prediction_v1_2/service.rb +0 -287
  429. data/generated/google/apis/prediction_v1_3.rb +0 -44
  430. data/generated/google/apis/prediction_v1_3/classes.rb +0 -286
  431. data/generated/google/apis/prediction_v1_3/representations.rb +0 -139
  432. data/generated/google/apis/prediction_v1_3/service.rb +0 -284
  433. data/generated/google/apis/prediction_v1_4.rb +0 -44
  434. data/generated/google/apis/prediction_v1_4/classes.rb +0 -336
  435. data/generated/google/apis/prediction_v1_4/representations.rb +0 -158
  436. data/generated/google/apis/prediction_v1_4/service.rb +0 -284
  437. data/generated/google/apis/prediction_v1_5.rb +0 -44
  438. data/generated/google/apis/prediction_v1_5/classes.rb +0 -708
  439. data/generated/google/apis/prediction_v1_5/representations.rb +0 -352
  440. data/generated/google/apis/prediction_v1_5/service.rb +0 -357
  441. data/generated/google/apis/prediction_v1_6.rb +0 -47
  442. data/generated/google/apis/prediction_v1_6/classes.rb +0 -751
  443. data/generated/google/apis/prediction_v1_6/representations.rb +0 -369
  444. data/generated/google/apis/prediction_v1_6/service.rb +0 -381
  445. data/generated/google/apis/taskqueue_v1beta1.rb +0 -37
  446. data/generated/google/apis/taskqueue_v1beta1/classes.rb +0 -242
  447. data/generated/google/apis/taskqueue_v1beta1/representations.rb +0 -124
  448. data/generated/google/apis/taskqueue_v1beta1/service.rb +0 -269
  449. data/generated/google/apis/taskqueue_v1beta2/classes.rb +0 -254
  450. data/generated/google/apis/taskqueue_v1beta2/representations.rb +0 -126
  451. data/generated/google/apis/taskqueue_v1beta2/service.rb +0 -409
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://cloud.google.com/cloud-tasks/
27
27
  module CloudtasksV2beta2
28
28
  VERSION = 'V2beta2'
29
- REVISION = '20180302'
29
+ REVISION = '20180503'
30
30
 
31
31
  # View and manage your data across Google Cloud Platform services
32
32
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -435,7 +435,7 @@ module Google
435
435
  # * `allAuthenticatedUsers`: A special identifier that represents anyone
436
436
  # who is authenticated with a Google account or a service account.
437
437
  # * `user:`emailid``: An email address that represents a specific Google
438
- # account. For example, `alice@gmail.com` or `joe@example.com`.
438
+ # account. For example, `alice@gmail.com` .
439
439
  # * `serviceAccount:`emailid``: An email address that represents a service
440
440
  # account. For example, `my-other-app@appspot.gserviceaccount.com`.
441
441
  # * `group:`emailid``: An email address that represents a Google group.
@@ -580,7 +580,8 @@ module Google
580
580
  # tag is equal to `<my-tag>`. `<my-tag>` must be
581
581
  # less than 500 characters.
582
582
  # When `filter` is set to `tag_function=oldest_tag()`, only tasks which have
583
- # the same tag as the task with the oldest schedule_time will be returned.
583
+ # the same tag as the task with the oldest
584
+ # schedule_time will be returned.
584
585
  # Grammar Syntax:
585
586
  # * `filter = "tag=" tag | "tag_function=" function`
586
587
  # * `tag = string`
@@ -809,11 +810,11 @@ module Google
809
810
 
810
811
  # Defines an Identity and Access Management (IAM) policy. It is used to
811
812
  # specify access control policies for Cloud Platform resources.
812
- # A `Policy` consists of a list of `bindings`. A `Binding` binds a list of
813
+ # A `Policy` consists of a list of `bindings`. A `binding` binds a list of
813
814
  # `members` to a `role`, where the members can be user accounts, Google groups,
814
815
  # Google domains, and service accounts. A `role` is a named list of permissions
815
816
  # defined by IAM.
816
- # **Example**
817
+ # **JSON Example**
817
818
  # `
818
819
  # "bindings": [
819
820
  # `
@@ -822,7 +823,7 @@ module Google
822
823
  # "user:mike@example.com",
823
824
  # "group:admins@example.com",
824
825
  # "domain:google.com",
825
- # "serviceAccount:my-other-app@appspot.gserviceaccount.com",
826
+ # "serviceAccount:my-other-app@appspot.gserviceaccount.com"
826
827
  # ]
827
828
  # `,
828
829
  # `
@@ -831,6 +832,17 @@ module Google
831
832
  # `
832
833
  # ]
833
834
  # `
835
+ # **YAML Example**
836
+ # bindings:
837
+ # - members:
838
+ # - user:mike@example.com
839
+ # - group:admins@example.com
840
+ # - domain:google.com
841
+ # - serviceAccount:my-other-app@appspot.gserviceaccount.com
842
+ # role: roles/owner
843
+ # - members:
844
+ # - user:sean@example.com
845
+ # role: roles/viewer
834
846
  # For a description of IAM and its features, see the
835
847
  # [IAM developer's guide](https://cloud.google.com/iam/docs).
836
848
  class Policy
@@ -1003,6 +1015,8 @@ module Google
1003
1015
  # Rate limits.
1004
1016
  # This message determines the maximum rate that tasks can be dispatched by a
1005
1017
  # queue, regardless of whether the dispatch is a first task attempt or a retry.
1018
+ # Note: The debugging command, RunTask, will run a task
1019
+ # even if the queue has reached its RateLimits.
1006
1020
  # Corresponds to the JSON property `rateLimits`
1007
1021
  # @return [Google::Apis::CloudtasksV2beta2::RateLimits]
1008
1022
  attr_accessor :rate_limits
@@ -1042,6 +1056,8 @@ module Google
1042
1056
  # Rate limits.
1043
1057
  # This message determines the maximum rate that tasks can be dispatched by a
1044
1058
  # queue, regardless of whether the dispatch is a first task attempt or a retry.
1059
+ # Note: The debugging command, RunTask, will run a task
1060
+ # even if the queue has reached its RateLimits.
1045
1061
  class RateLimits
1046
1062
  include Google::Apis::Core::Hashable
1047
1063
 
@@ -1083,9 +1099,11 @@ module Google
1083
1099
  # concurrent requests decreases.
1084
1100
  # If unspecified when the queue is created, Cloud Tasks will pick the
1085
1101
  # default.
1086
- # The maximum allowed value is 5,000. -1 indicates no limit.
1102
+ # The maximum allowed value is 5,000.
1087
1103
  # This field is output only for
1088
- # [pull queues](google.cloud.tasks.v2beta2.PullTarget).
1104
+ # [pull queues](google.cloud.tasks.v2beta2.PullTarget) and always -1, which
1105
+ # indicates no limit. No other queue types can have `max_concurrent_tasks`
1106
+ # set to -1.
1089
1107
  # This field has the same meaning as
1090
1108
  # [max_concurrent_requests in queue.yaml/xml](/appengine/docs/standard/python/
1091
1109
  # config/queueref#max_concurrent_requests).
@@ -1331,11 +1349,11 @@ module Google
1331
1349
 
1332
1350
  # Defines an Identity and Access Management (IAM) policy. It is used to
1333
1351
  # specify access control policies for Cloud Platform resources.
1334
- # A `Policy` consists of a list of `bindings`. A `Binding` binds a list of
1352
+ # A `Policy` consists of a list of `bindings`. A `binding` binds a list of
1335
1353
  # `members` to a `role`, where the members can be user accounts, Google groups,
1336
1354
  # Google domains, and service accounts. A `role` is a named list of permissions
1337
1355
  # defined by IAM.
1338
- # **Example**
1356
+ # **JSON Example**
1339
1357
  # `
1340
1358
  # "bindings": [
1341
1359
  # `
@@ -1344,7 +1362,7 @@ module Google
1344
1362
  # "user:mike@example.com",
1345
1363
  # "group:admins@example.com",
1346
1364
  # "domain:google.com",
1347
- # "serviceAccount:my-other-app@appspot.gserviceaccount.com",
1365
+ # "serviceAccount:my-other-app@appspot.gserviceaccount.com"
1348
1366
  # ]
1349
1367
  # `,
1350
1368
  # `
@@ -1353,6 +1371,17 @@ module Google
1353
1371
  # `
1354
1372
  # ]
1355
1373
  # `
1374
+ # **YAML Example**
1375
+ # bindings:
1376
+ # - members:
1377
+ # - user:mike@example.com
1378
+ # - group:admins@example.com
1379
+ # - domain:google.com
1380
+ # - serviceAccount:my-other-app@appspot.gserviceaccount.com
1381
+ # role: roles/owner
1382
+ # - members:
1383
+ # - user:sean@example.com
1384
+ # role: roles/viewer
1356
1385
  # For a description of IAM and its features, see the
1357
1386
  # [IAM developer's guide](https://cloud.google.com/iam/docs).
1358
1387
  # Corresponds to the JSON property `policy`
@@ -48,7 +48,7 @@ module Google
48
48
  @batch_path = 'batch'
49
49
  end
50
50
 
51
- # Get information about a location.
51
+ # Gets information about a location.
52
52
  # @param [String] name
53
53
  # Resource name for the location.
54
54
  # @param [String] fields
@@ -975,28 +975,26 @@ module Google
975
975
  end
976
976
 
977
977
  # Forces a task to run now.
978
+ # When this method is called, Cloud Tasks will dispatch the task, even if
979
+ # the task is already running, the queue has reached its RateLimits or
980
+ # is PAUSED.
978
981
  # This command is meant to be used for manual debugging. For
979
982
  # example, RunTask can be used to retry a failed
980
983
  # task after a fix has been made or to manually force a task to be
981
984
  # dispatched now.
982
- # When this method is called, Cloud Tasks will dispatch the task to its
983
- # target, even if the queue is PAUSED.
984
985
  # The dispatched task is returned. That is, the task that is returned
985
986
  # contains the status after the task is dispatched but
986
987
  # before the task is received by its target.
987
988
  # If Cloud Tasks receives a successful response from the task's
988
- # handler, then the task will be deleted; otherwise the task's
989
+ # target, then the task will be deleted; otherwise the task's
989
990
  # schedule_time will be reset to the time that
990
991
  # RunTask was called plus the retry delay specified
991
- # in the queue and task's RetryConfig.
992
+ # in the queue's RetryConfig.
992
993
  # RunTask returns
993
994
  # NOT_FOUND when it is called on a
994
- # task that has already succeeded or permanently
995
- # failed. FAILED_PRECONDITION
996
- # is returned when RunTask is called on task
997
- # that is dispatched or already running.
998
- # RunTask cannot be called on
999
- # pull tasks.
995
+ # task that has already succeeded or permanently failed.
996
+ # RunTask cannot be called on a
997
+ # pull task.
1000
998
  # @param [String] name
1001
999
  # Required.
1002
1000
  # The task name. For example:
@@ -27,7 +27,7 @@ module Google
27
27
  # @see https://cloud.google.com/trace
28
28
  module CloudtraceV1
29
29
  VERSION = 'V1'
30
- REVISION = '20180312'
30
+ REVISION = '20180430'
31
31
 
32
32
  # View and manage your data across Google Cloud Platform services
33
33
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -52,7 +52,7 @@ module Google
52
52
  # @return [String]
53
53
  attr_accessor :next_page_token
54
54
 
55
- # List of trace records returned.
55
+ # List of trace records as specified by the view parameter.
56
56
  # Corresponds to the JSON property `traces`
57
57
  # @return [Array<Google::Apis::CloudtraceV1::Trace>]
58
58
  attr_accessor :traces
@@ -12,22 +12,20 @@
12
12
  # See the License for the specific language governing permissions and
13
13
  # limitations under the License.
14
14
 
15
- require 'google/apis/dlp_v2beta1/service.rb'
16
- require 'google/apis/dlp_v2beta1/classes.rb'
17
- require 'google/apis/dlp_v2beta1/representations.rb'
15
+ require 'google/apis/composer_v1beta1/service.rb'
16
+ require 'google/apis/composer_v1beta1/classes.rb'
17
+ require 'google/apis/composer_v1beta1/representations.rb'
18
18
 
19
19
  module Google
20
20
  module Apis
21
- # Cloud Data Loss Prevention (DLP) API
21
+ # Cloud Composer API
22
22
  #
23
- # Provides methods for detection, risk analysis, and de-identification of
24
- # privacy-sensitive fragments in text, images, and Google Cloud Platform storage
25
- # repositories.
23
+ # Manages Apache Airflow environments on Google Cloud Platform.
26
24
  #
27
- # @see https://cloud.google.com/dlp/docs/
28
- module DlpV2beta1
29
- VERSION = 'V2beta1'
30
- REVISION = '20180404'
25
+ # @see https://cloud.google.com/composer/
26
+ module ComposerV1beta1
27
+ VERSION = 'V1beta1'
28
+ REVISION = '20180430'
31
29
 
32
30
  # View and manage your data across Google Cloud Platform services
33
31
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -0,0 +1,643 @@
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 ComposerV1beta1
24
+
25
+ # A generic empty message that you can re-use to avoid defining duplicated
26
+ # empty messages in your APIs. A typical example is to use it as the request
27
+ # or the response type of an API method. For instance:
28
+ # service Foo `
29
+ # rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);
30
+ # `
31
+ # The JSON representation for `Empty` is empty JSON object ````.
32
+ class Empty
33
+ include Google::Apis::Core::Hashable
34
+
35
+ def initialize(**args)
36
+ update!(**args)
37
+ end
38
+
39
+ # Update properties of this object
40
+ def update!(**args)
41
+ end
42
+ end
43
+
44
+ # An environment for running orchestration tasks.
45
+ class Environment
46
+ include Google::Apis::Core::Hashable
47
+
48
+ # Configuration information for an environment.
49
+ # Corresponds to the JSON property `config`
50
+ # @return [Google::Apis::ComposerV1beta1::EnvironmentConfig]
51
+ attr_accessor :config
52
+
53
+ # Output only.
54
+ # The time at which this environment was created.
55
+ # Corresponds to the JSON property `createTime`
56
+ # @return [String]
57
+ attr_accessor :create_time
58
+
59
+ # Optional. User-defined labels for this environment.
60
+ # The labels map can contain no more than 64 entries. Entries of the labels
61
+ # map are UTF8 strings that comply with the following restrictions:
62
+ # * Keys must conform to regexp: \p`Ll`\p`Lo``0,62`
63
+ # * Values must conform to regexp: [\p`Ll`\p`Lo`\p`N`_-]`0,63`
64
+ # * Both keys and values are additionally constrained to be <= 128 bytes in
65
+ # size.
66
+ # Corresponds to the JSON property `labels`
67
+ # @return [Hash<String,String>]
68
+ attr_accessor :labels
69
+
70
+ # The resource name of the environment, in the form:
71
+ # `projects/`projectId`/locations/`locationId`/environments/`environmentId``
72
+ # Corresponds to the JSON property `name`
73
+ # @return [String]
74
+ attr_accessor :name
75
+
76
+ # The current state of the environment.
77
+ # Corresponds to the JSON property `state`
78
+ # @return [String]
79
+ attr_accessor :state
80
+
81
+ # Output only.
82
+ # The time at which this environment was last modified.
83
+ # Corresponds to the JSON property `updateTime`
84
+ # @return [String]
85
+ attr_accessor :update_time
86
+
87
+ # Output only.
88
+ # The UUID (Universally Unique IDentifier) associated with this environment.
89
+ # This value is generated when the environment is created.
90
+ # Corresponds to the JSON property `uuid`
91
+ # @return [String]
92
+ attr_accessor :uuid
93
+
94
+ def initialize(**args)
95
+ update!(**args)
96
+ end
97
+
98
+ # Update properties of this object
99
+ def update!(**args)
100
+ @config = args[:config] if args.key?(:config)
101
+ @create_time = args[:create_time] if args.key?(:create_time)
102
+ @labels = args[:labels] if args.key?(:labels)
103
+ @name = args[:name] if args.key?(:name)
104
+ @state = args[:state] if args.key?(:state)
105
+ @update_time = args[:update_time] if args.key?(:update_time)
106
+ @uuid = args[:uuid] if args.key?(:uuid)
107
+ end
108
+ end
109
+
110
+ # Configuration information for an environment.
111
+ class EnvironmentConfig
112
+ include Google::Apis::Core::Hashable
113
+
114
+ # The URI of the Apache Airflow Web UI hosted within this environment (see
115
+ # [Airflow web interface](/composer/docs/how-to/accessing/airflow-web-interface))
116
+ # .
117
+ # Corresponds to the JSON property `airflowUri`
118
+ # @return [String]
119
+ attr_accessor :airflow_uri
120
+
121
+ # Output only.
122
+ # The Cloud Storage prefix of the DAGs for this environment. Although Cloud
123
+ # Storage objects reside in a flat namespace, a hierarchical file tree
124
+ # can be simulated using "/"-delimited object name prefixes. DAG objects for
125
+ # this environment reside in a simulated directory with the given prefix.
126
+ # Corresponds to the JSON property `dagGcsPrefix`
127
+ # @return [String]
128
+ attr_accessor :dag_gcs_prefix
129
+
130
+ # Output only.
131
+ # The Kubernetes Engine cluster used to run this environment.
132
+ # Corresponds to the JSON property `gkeCluster`
133
+ # @return [String]
134
+ attr_accessor :gke_cluster
135
+
136
+ # The configuration information for the Container Engine nodes running
137
+ # the Apache Airflow software.
138
+ # Corresponds to the JSON property `nodeConfig`
139
+ # @return [Google::Apis::ComposerV1beta1::NodeConfig]
140
+ attr_accessor :node_config
141
+
142
+ # The number of nodes in the Container Engine cluster that will be
143
+ # used to run this environment.
144
+ # Corresponds to the JSON property `nodeCount`
145
+ # @return [Fixnum]
146
+ attr_accessor :node_count
147
+
148
+ # Specifies the selection and config of software inside the environment.
149
+ # Corresponds to the JSON property `softwareConfig`
150
+ # @return [Google::Apis::ComposerV1beta1::SoftwareConfig]
151
+ attr_accessor :software_config
152
+
153
+ def initialize(**args)
154
+ update!(**args)
155
+ end
156
+
157
+ # Update properties of this object
158
+ def update!(**args)
159
+ @airflow_uri = args[:airflow_uri] if args.key?(:airflow_uri)
160
+ @dag_gcs_prefix = args[:dag_gcs_prefix] if args.key?(:dag_gcs_prefix)
161
+ @gke_cluster = args[:gke_cluster] if args.key?(:gke_cluster)
162
+ @node_config = args[:node_config] if args.key?(:node_config)
163
+ @node_count = args[:node_count] if args.key?(:node_count)
164
+ @software_config = args[:software_config] if args.key?(:software_config)
165
+ end
166
+ end
167
+
168
+ # The environments in a project and location.
169
+ class ListEnvironmentsResponse
170
+ include Google::Apis::Core::Hashable
171
+
172
+ # The list of environments returned by a ListEnvironmentsRequest.
173
+ # Corresponds to the JSON property `environments`
174
+ # @return [Array<Google::Apis::ComposerV1beta1::Environment>]
175
+ attr_accessor :environments
176
+
177
+ # The page token used to query for the next page if one exists
178
+ # Corresponds to the JSON property `nextPageToken`
179
+ # @return [String]
180
+ attr_accessor :next_page_token
181
+
182
+ def initialize(**args)
183
+ update!(**args)
184
+ end
185
+
186
+ # Update properties of this object
187
+ def update!(**args)
188
+ @environments = args[:environments] if args.key?(:environments)
189
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
190
+ end
191
+ end
192
+
193
+ # The response message for Operations.ListOperations.
194
+ class ListOperationsResponse
195
+ include Google::Apis::Core::Hashable
196
+
197
+ # The standard List next-page token.
198
+ # Corresponds to the JSON property `nextPageToken`
199
+ # @return [String]
200
+ attr_accessor :next_page_token
201
+
202
+ # A list of operations that matches the specified filter in the request.
203
+ # Corresponds to the JSON property `operations`
204
+ # @return [Array<Google::Apis::ComposerV1beta1::Operation>]
205
+ attr_accessor :operations
206
+
207
+ def initialize(**args)
208
+ update!(**args)
209
+ end
210
+
211
+ # Update properties of this object
212
+ def update!(**args)
213
+ @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
214
+ @operations = args[:operations] if args.key?(:operations)
215
+ end
216
+ end
217
+
218
+ # The configuration information for the Container Engine nodes running
219
+ # the Apache Airflow software.
220
+ class NodeConfig
221
+ include Google::Apis::Core::Hashable
222
+
223
+ # Optional. The disk size in GB used for node VMs. Minimum is 10GB.
224
+ # If unspecified, defaults to 100GB. Cannot be updated.
225
+ # Corresponds to the JSON property `diskSizeGb`
226
+ # @return [Fixnum]
227
+ attr_accessor :disk_size_gb
228
+
229
+ # Optional. The Compute Engine [zone](/compute/docs/regions-zones) in which
230
+ # to deploy the VMs used to run the Apache Airflow software, specified as a
231
+ # relative resource name](https://cloud.google.com/apis/design/resource_names#
232
+ # relative_resource_name).
233
+ # For example: `projects/`projectId`/zones/`zoneId``.
234
+ # This `location` must belong to the enclosing environment's project and
235
+ # location. If both this field and `nodeConfig.machineType` are specified,
236
+ # `nodeConfig.machineType` must belong to this `location`; if both are
237
+ # unspecified, the service will pick a zone in the Compute Engine region
238
+ # corresponding to the Cloud Composer location and propagate that choice to
239
+ # both fields. If exactly one of this field and `nodeConfig.machineType` is
240
+ # specified, the location information from the specified field will be
241
+ # propagated to the unspecified field.
242
+ # Corresponds to the JSON property `location`
243
+ # @return [String]
244
+ attr_accessor :location
245
+
246
+ # Optional. The Google Compute Engine [machine type](
247
+ # /compute/docs/machine-types) used for cluster instances, specified as a
248
+ # [relative resource name](
249
+ # https://cloud.google.com/apis/design/resource_names#relative_resource_name).
250
+ # For example:
251
+ # `projects/`projectId`/zones/`zoneId`/machineTypes/`machineTypeId``.
252
+ # The `machineType` must belong to the enclosing environment's project and
253
+ # location. If both this field and `nodeConfig.location` are specified,
254
+ # this `machineType` must belong to the `nodeConfig.location`; if both are
255
+ # unspecified, the service will pick a zone in the Compute Engine region
256
+ # corresponding to the Cloud Composer location and propagate that choice to
257
+ # both fields. If exactly one of this field and `nodeConfig.location` is
258
+ # specified, the location information from the specified field will be
259
+ # propagated to the unspecified field.
260
+ # Furthermore, if this field is unspecified, the `machineTypeId` defaults
261
+ # to `n1-standard-1`.
262
+ # Corresponds to the JSON property `machineType`
263
+ # @return [String]
264
+ attr_accessor :machine_type
265
+
266
+ # Optional. The Compute Engine network to be used for machine
267
+ # communications, specified as a [relative resource name](
268
+ # https://cloud.google.com/apis/design/resource_names#relative_resource_name).
269
+ # For example: `projects/`projectId`/global/networks/`networkId``.
270
+ # [Shared VPC](/vpc/docs/shared-vpc) is not currently supported. The
271
+ # network must belong to the environment's project. If unspecified, the
272
+ # "default" network ID in the environment's project is used. If a "Custom
273
+ # Subnet Network" (see [Using Subnetworks](/compute/docs/subnetworks) for
274
+ # more information) is provided, `nodeConfig.subnetwork` must also be provided.
275
+ # Corresponds to the JSON property `network`
276
+ # @return [String]
277
+ attr_accessor :network
278
+
279
+ # Optional. The set of Google API scopes to be made available on all of the
280
+ # node VMs. If `oauth_scopes` is empty, defaults to
281
+ # ["https://www.googleapis.com/auth/cloud-platform"]. Cannot be updated.
282
+ # Corresponds to the JSON property `oauthScopes`
283
+ # @return [Array<String>]
284
+ attr_accessor :oauth_scopes
285
+
286
+ # Optional. The Google Cloud Platform Service Account to be used by the node
287
+ # VMs. If a service account is not specified, the "default" Compute Engine
288
+ # service account is used. Cannot be updated.
289
+ # Corresponds to the JSON property `serviceAccount`
290
+ # @return [String]
291
+ attr_accessor :service_account
292
+
293
+ # Optional. The Compute Engine subnetwork to be used for machine
294
+ # communications, specified as a [relative resource name](
295
+ # https://cloud.google.com/apis/design/resource_names#relative_resource_name).
296
+ # For example:
297
+ # `projects/`projectId`/regions/`regionId`/subnetworks/`subnetworkId``
298
+ # If a subnetwork is provided, `nodeConfig.network` must also be provided,
299
+ # and the subnetwork must belong to the enclosing environment's project and
300
+ # location.
301
+ # Corresponds to the JSON property `subnetwork`
302
+ # @return [String]
303
+ attr_accessor :subnetwork
304
+
305
+ # Optional. The list of instance tags applied to all node VMs. Tags are used
306
+ # to identify valid sources or targets for network firewalls. Each tag within
307
+ # the list must comply with [RFC1035](https://www.ietf.org/rfc/rfc1035.txt).
308
+ # Cannot be updated.
309
+ # Corresponds to the JSON property `tags`
310
+ # @return [Array<String>]
311
+ attr_accessor :tags
312
+
313
+ def initialize(**args)
314
+ update!(**args)
315
+ end
316
+
317
+ # Update properties of this object
318
+ def update!(**args)
319
+ @disk_size_gb = args[:disk_size_gb] if args.key?(:disk_size_gb)
320
+ @location = args[:location] if args.key?(:location)
321
+ @machine_type = args[:machine_type] if args.key?(:machine_type)
322
+ @network = args[:network] if args.key?(:network)
323
+ @oauth_scopes = args[:oauth_scopes] if args.key?(:oauth_scopes)
324
+ @service_account = args[:service_account] if args.key?(:service_account)
325
+ @subnetwork = args[:subnetwork] if args.key?(:subnetwork)
326
+ @tags = args[:tags] if args.key?(:tags)
327
+ end
328
+ end
329
+
330
+ # This resource represents a long-running operation that is the result of a
331
+ # network API call.
332
+ class Operation
333
+ include Google::Apis::Core::Hashable
334
+
335
+ # If the value is `false`, it means the operation is still in progress.
336
+ # If `true`, the operation is completed, and either `error` or `response` is
337
+ # available.
338
+ # Corresponds to the JSON property `done`
339
+ # @return [Boolean]
340
+ attr_accessor :done
341
+ alias_method :done?, :done
342
+
343
+ # The `Status` type defines a logical error model that is suitable for different
344
+ # programming environments, including REST APIs and RPC APIs. It is used by
345
+ # [gRPC](https://github.com/grpc). The error model is designed to be:
346
+ # - Simple to use and understand for most users
347
+ # - Flexible enough to meet unexpected needs
348
+ # # Overview
349
+ # The `Status` message contains three pieces of data: error code, error message,
350
+ # and error details. The error code should be an enum value of
351
+ # google.rpc.Code, but it may accept additional error codes if needed. The
352
+ # error message should be a developer-facing English message that helps
353
+ # developers *understand* and *resolve* the error. If a localized user-facing
354
+ # error message is needed, put the localized message in the error details or
355
+ # localize it in the client. The optional error details may contain arbitrary
356
+ # information about the error. There is a predefined set of error detail types
357
+ # in the package `google.rpc` that can be used for common error conditions.
358
+ # # Language mapping
359
+ # The `Status` message is the logical representation of the error model, but it
360
+ # is not necessarily the actual wire format. When the `Status` message is
361
+ # exposed in different client libraries and different wire protocols, it can be
362
+ # mapped differently. For example, it will likely be mapped to some exceptions
363
+ # in Java, but more likely mapped to some error codes in C.
364
+ # # Other uses
365
+ # The error model and the `Status` message can be used in a variety of
366
+ # environments, either with or without APIs, to provide a
367
+ # consistent developer experience across different environments.
368
+ # Example uses of this error model include:
369
+ # - Partial errors. If a service needs to return partial errors to the client,
370
+ # it may embed the `Status` in the normal response to indicate the partial
371
+ # errors.
372
+ # - Workflow errors. A typical workflow has multiple steps. Each step may
373
+ # have a `Status` message for error reporting.
374
+ # - Batch operations. If a client uses batch request and batch response, the
375
+ # `Status` message should be used directly inside batch response, one for
376
+ # each error sub-response.
377
+ # - Asynchronous operations. If an API call embeds asynchronous operation
378
+ # results in its response, the status of those operations should be
379
+ # represented directly using the `Status` message.
380
+ # - Logging. If some API errors are stored in logs, the message `Status` could
381
+ # be used directly after any stripping needed for security/privacy reasons.
382
+ # Corresponds to the JSON property `error`
383
+ # @return [Google::Apis::ComposerV1beta1::Status]
384
+ attr_accessor :error
385
+
386
+ # Service-specific metadata associated with the operation. It typically
387
+ # contains progress information and common metadata such as create time.
388
+ # Some services might not provide such metadata. Any method that returns a
389
+ # long-running operation should document the metadata type, if any.
390
+ # Corresponds to the JSON property `metadata`
391
+ # @return [Hash<String,Object>]
392
+ attr_accessor :metadata
393
+
394
+ # The server-assigned name, which is only unique within the same service that
395
+ # originally returns it. If you use the default HTTP mapping, the
396
+ # `name` should have the format of `operations/some/unique/name`.
397
+ # Corresponds to the JSON property `name`
398
+ # @return [String]
399
+ attr_accessor :name
400
+
401
+ # The normal response of the operation in case of success. If the original
402
+ # method returns no data on success, such as `Delete`, the response is
403
+ # `google.protobuf.Empty`. If the original method is standard
404
+ # `Get`/`Create`/`Update`, the response should be the resource. For other
405
+ # methods, the response should have the type `XxxResponse`, where `Xxx`
406
+ # is the original method name. For example, if the original method name
407
+ # is `TakeSnapshot()`, the inferred response type is
408
+ # `TakeSnapshotResponse`.
409
+ # Corresponds to the JSON property `response`
410
+ # @return [Hash<String,Object>]
411
+ attr_accessor :response
412
+
413
+ def initialize(**args)
414
+ update!(**args)
415
+ end
416
+
417
+ # Update properties of this object
418
+ def update!(**args)
419
+ @done = args[:done] if args.key?(:done)
420
+ @error = args[:error] if args.key?(:error)
421
+ @metadata = args[:metadata] if args.key?(:metadata)
422
+ @name = args[:name] if args.key?(:name)
423
+ @response = args[:response] if args.key?(:response)
424
+ end
425
+ end
426
+
427
+ # Metadata describing an operation.
428
+ class OperationMetadata
429
+ include Google::Apis::Core::Hashable
430
+
431
+ # Output only.
432
+ # The time the operation was submitted to the server.
433
+ # Corresponds to the JSON property `createTime`
434
+ # @return [String]
435
+ attr_accessor :create_time
436
+
437
+ # Output only.
438
+ # The time when the operation terminated, regardless of its success.
439
+ # This field is unset if the operation is still ongoing.
440
+ # Corresponds to the JSON property `endTime`
441
+ # @return [String]
442
+ attr_accessor :end_time
443
+
444
+ # Output only.
445
+ # The type of operation being performed.
446
+ # Corresponds to the JSON property `operationType`
447
+ # @return [String]
448
+ attr_accessor :operation_type
449
+
450
+ # Output only.
451
+ # The resource being operated on, as a [relative resource name](
452
+ # /apis/design/resource_names#relative_resource_name).
453
+ # Corresponds to the JSON property `resource`
454
+ # @return [String]
455
+ attr_accessor :resource
456
+
457
+ # Output only.
458
+ # The UUID of the resource being operated on.
459
+ # Corresponds to the JSON property `resourceUuid`
460
+ # @return [String]
461
+ attr_accessor :resource_uuid
462
+
463
+ # Output only.
464
+ # The current operation state.
465
+ # Corresponds to the JSON property `state`
466
+ # @return [String]
467
+ attr_accessor :state
468
+
469
+ def initialize(**args)
470
+ update!(**args)
471
+ end
472
+
473
+ # Update properties of this object
474
+ def update!(**args)
475
+ @create_time = args[:create_time] if args.key?(:create_time)
476
+ @end_time = args[:end_time] if args.key?(:end_time)
477
+ @operation_type = args[:operation_type] if args.key?(:operation_type)
478
+ @resource = args[:resource] if args.key?(:resource)
479
+ @resource_uuid = args[:resource_uuid] if args.key?(:resource_uuid)
480
+ @state = args[:state] if args.key?(:state)
481
+ end
482
+ end
483
+
484
+ # Specifies the selection and config of software inside the environment.
485
+ class SoftwareConfig
486
+ include Google::Apis::Core::Hashable
487
+
488
+ # Optional. Apache Airflow configuration properties to override.
489
+ # Property keys contain the section and property name, separated by a hyphen,
490
+ # for example `core-dags_are_paused_at_creation`. Sections must not
491
+ # contain hyphens ("-"), opening square brackets ("["), or closing square
492
+ # brackets ("]"). The name must be non-empty and must not contain an equals
493
+ # sign ("=") or semicolon (";"). The section as well as the name must not
494
+ # contain a period ("."). Apache Airflow configuration property names must be
495
+ # written in
496
+ # [snake_case](https://www.google.com/url?sa=D&q=https%3A%2F%2Fen.wikipedia.org%
497
+ # 2Fwiki%2FSnake_case).
498
+ # Property values can contain any character and be written in any lower/upper
499
+ # case format.
500
+ # Certain Apache Airflow configuration property values are
501
+ # [blacklisted](/composer/docs/how-to/managing/setting-airflow-configurations#
502
+ # airflow_configuration_blacklists) and
503
+ # cannot be overridden.
504
+ # Corresponds to the JSON property `airflowConfigOverrides`
505
+ # @return [Hash<String,String>]
506
+ attr_accessor :airflow_config_overrides
507
+
508
+ # Optional. Additional environment variables to provide to the Apache Airflow
509
+ # scheduler, worker, and webserver processes.
510
+ # Environment variable names must match the regular expression
511
+ # `a-zA-Z_*`. Furthermore, they cannot specify Apache Airflow
512
+ # software configuration overrides (i.e., match the regular expression
513
+ # `AIRFLOW__[A-Z0-9_]+__[A-Z0-9_]+`); nor can they take any of the following
514
+ # reserved values:
515
+ # * `AIRFLOW_HOME`
516
+ # * `C_FORCE_ROOT`
517
+ # * `CONTAINER_NAME`
518
+ # * `DAGS_FOLDER`
519
+ # * `GCP_PROJECT`
520
+ # * `GCS_BUCKET`
521
+ # * `GKE_CLUSTER_NAME`
522
+ # * `SQL_DATABASE`
523
+ # * `SQL_INSTANCE`
524
+ # * `SQL_PASSWORD`
525
+ # * `SQL_PROJECT`
526
+ # * `SQL_REGION`
527
+ # * `SQL_USER`
528
+ # Corresponds to the JSON property `envVariables`
529
+ # @return [Hash<String,String>]
530
+ attr_accessor :env_variables
531
+
532
+ # Output only.
533
+ # The version of the software running in the environment.
534
+ # This encapsulates both the version of Cloud Composer functionality and the
535
+ # version of Apache Airflow. It must match the regular expression
536
+ # `composer-[0-9]+\.[0-9]+(\.[0-9]+)?-airflow-[0-9]+\.[0-9]+(\.[0-9]+.*)?`.
537
+ # The Cloud Composer portion of the version is a [semantic
538
+ # version](https://semver.org). The portion of the image version following
539
+ # <em>airflow-</em> is an official Apache Airflow repository [release
540
+ # name](https://github.com/apache/incubator-airflow/releases).
541
+ # See also [Release Notes](/composer/docs/release-notes).
542
+ # Corresponds to the JSON property `imageVersion`
543
+ # @return [String]
544
+ attr_accessor :image_version
545
+
546
+ # Optional. Custom Python Package Index (PyPI) packages to be installed in
547
+ # the environment.
548
+ # Keys refer to the lowercase package name such as `numpy`
549
+ # and values are the lowercase extras and version specifier such as
550
+ # `==1.12.0`, `[devel,gcp_api]`, or `[devel]>=1.8.2, <1.9.2`. To specify a
551
+ # package without pinning it to a version specifier, use the empty string as
552
+ # the value.
553
+ # Corresponds to the JSON property `pypiPackages`
554
+ # @return [Hash<String,String>]
555
+ attr_accessor :pypi_packages
556
+
557
+ def initialize(**args)
558
+ update!(**args)
559
+ end
560
+
561
+ # Update properties of this object
562
+ def update!(**args)
563
+ @airflow_config_overrides = args[:airflow_config_overrides] if args.key?(:airflow_config_overrides)
564
+ @env_variables = args[:env_variables] if args.key?(:env_variables)
565
+ @image_version = args[:image_version] if args.key?(:image_version)
566
+ @pypi_packages = args[:pypi_packages] if args.key?(:pypi_packages)
567
+ end
568
+ end
569
+
570
+ # The `Status` type defines a logical error model that is suitable for different
571
+ # programming environments, including REST APIs and RPC APIs. It is used by
572
+ # [gRPC](https://github.com/grpc). The error model is designed to be:
573
+ # - Simple to use and understand for most users
574
+ # - Flexible enough to meet unexpected needs
575
+ # # Overview
576
+ # The `Status` message contains three pieces of data: error code, error message,
577
+ # and error details. The error code should be an enum value of
578
+ # google.rpc.Code, but it may accept additional error codes if needed. The
579
+ # error message should be a developer-facing English message that helps
580
+ # developers *understand* and *resolve* the error. If a localized user-facing
581
+ # error message is needed, put the localized message in the error details or
582
+ # localize it in the client. The optional error details may contain arbitrary
583
+ # information about the error. There is a predefined set of error detail types
584
+ # in the package `google.rpc` that can be used for common error conditions.
585
+ # # Language mapping
586
+ # The `Status` message is the logical representation of the error model, but it
587
+ # is not necessarily the actual wire format. When the `Status` message is
588
+ # exposed in different client libraries and different wire protocols, it can be
589
+ # mapped differently. For example, it will likely be mapped to some exceptions
590
+ # in Java, but more likely mapped to some error codes in C.
591
+ # # Other uses
592
+ # The error model and the `Status` message can be used in a variety of
593
+ # environments, either with or without APIs, to provide a
594
+ # consistent developer experience across different environments.
595
+ # Example uses of this error model include:
596
+ # - Partial errors. If a service needs to return partial errors to the client,
597
+ # it may embed the `Status` in the normal response to indicate the partial
598
+ # errors.
599
+ # - Workflow errors. A typical workflow has multiple steps. Each step may
600
+ # have a `Status` message for error reporting.
601
+ # - Batch operations. If a client uses batch request and batch response, the
602
+ # `Status` message should be used directly inside batch response, one for
603
+ # each error sub-response.
604
+ # - Asynchronous operations. If an API call embeds asynchronous operation
605
+ # results in its response, the status of those operations should be
606
+ # represented directly using the `Status` message.
607
+ # - Logging. If some API errors are stored in logs, the message `Status` could
608
+ # be used directly after any stripping needed for security/privacy reasons.
609
+ class Status
610
+ include Google::Apis::Core::Hashable
611
+
612
+ # The status code, which should be an enum value of google.rpc.Code.
613
+ # Corresponds to the JSON property `code`
614
+ # @return [Fixnum]
615
+ attr_accessor :code
616
+
617
+ # A list of messages that carry the error details. There is a common set of
618
+ # message types for APIs to use.
619
+ # Corresponds to the JSON property `details`
620
+ # @return [Array<Hash<String,Object>>]
621
+ attr_accessor :details
622
+
623
+ # A developer-facing error message, which should be in English. Any
624
+ # user-facing error message should be localized and sent in the
625
+ # google.rpc.Status.details field, or localized by the client.
626
+ # Corresponds to the JSON property `message`
627
+ # @return [String]
628
+ attr_accessor :message
629
+
630
+ def initialize(**args)
631
+ update!(**args)
632
+ end
633
+
634
+ # Update properties of this object
635
+ def update!(**args)
636
+ @code = args[:code] if args.key?(:code)
637
+ @details = args[:details] if args.key?(:details)
638
+ @message = args[:message] if args.key?(:message)
639
+ end
640
+ end
641
+ end
642
+ end
643
+ end