google-api-client 0.36.4 → 0.37.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (481) hide show
  1. checksums.yaml +4 -4
  2. data/.yardopts +1 -0
  3. data/CHANGELOG.md +184 -0
  4. data/generated/google/apis/abusiveexperiencereport_v1.rb +1 -4
  5. data/generated/google/apis/acceleratedmobilepageurl_v1.rb +1 -1
  6. data/generated/google/apis/{servicebroker_v1.rb → accessapproval_v1.rb} +8 -10
  7. data/generated/google/apis/accessapproval_v1/classes.rb +417 -0
  8. data/generated/google/apis/accessapproval_v1/representations.rb +203 -0
  9. data/generated/google/apis/accessapproval_v1/service.rb +869 -0
  10. data/generated/google/apis/accesscontextmanager_v1.rb +1 -1
  11. data/generated/google/apis/accesscontextmanager_v1/classes.rb +113 -0
  12. data/generated/google/apis/accesscontextmanager_v1/representations.rb +32 -0
  13. data/generated/google/apis/accesscontextmanager_v1beta.rb +1 -1
  14. data/generated/google/apis/accesscontextmanager_v1beta/classes.rb +151 -0
  15. data/generated/google/apis/accesscontextmanager_v1beta/representations.rb +48 -0
  16. data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
  17. data/generated/google/apis/adexperiencereport_v1.rb +1 -4
  18. data/generated/google/apis/{analytics_v2_4/classes.rb → admob_v1.rb} +11 -6
  19. data/generated/google/apis/admob_v1/classes.rb +951 -0
  20. data/generated/google/apis/admob_v1/representations.rb +378 -0
  21. data/generated/google/apis/admob_v1/service.rb +196 -0
  22. data/generated/google/apis/alertcenter_v1beta1.rb +1 -1
  23. data/generated/google/apis/alertcenter_v1beta1/classes.rb +252 -0
  24. data/generated/google/apis/alertcenter_v1beta1/representations.rb +126 -0
  25. data/generated/google/apis/analyticsreporting_v4.rb +1 -1
  26. data/generated/google/apis/androiddeviceprovisioning_v1.rb +1 -1
  27. data/generated/google/apis/androidenterprise_v1.rb +1 -1
  28. data/generated/google/apis/androidenterprise_v1/classes.rb +7 -1
  29. data/generated/google/apis/androidenterprise_v1/representations.rb +1 -0
  30. data/generated/google/apis/androidenterprise_v1/service.rb +0 -403
  31. data/generated/google/apis/androidmanagement_v1.rb +1 -1
  32. data/generated/google/apis/androidmanagement_v1/classes.rb +8 -2
  33. data/generated/google/apis/androidmanagement_v1/representations.rb +1 -0
  34. data/generated/google/apis/androidpublisher_v2.rb +1 -1
  35. data/generated/google/apis/androidpublisher_v2/classes.rb +1 -94
  36. data/generated/google/apis/androidpublisher_v2/representations.rb +0 -50
  37. data/generated/google/apis/androidpublisher_v3.rb +1 -1
  38. data/generated/google/apis/androidpublisher_v3/classes.rb +134 -94
  39. data/generated/google/apis/androidpublisher_v3/representations.rb +63 -50
  40. data/generated/google/apis/androidpublisher_v3/service.rb +158 -0
  41. data/generated/google/apis/appengine_v1beta.rb +1 -1
  42. data/generated/google/apis/appengine_v1beta/classes.rb +0 -38
  43. data/generated/google/apis/appengine_v1beta/representations.rb +0 -17
  44. data/generated/google/apis/appsactivity_v1.rb +1 -1
  45. data/generated/google/apis/bigqueryconnection_v1beta1.rb +1 -1
  46. data/generated/google/apis/bigqueryconnection_v1beta1/classes.rb +49 -15
  47. data/generated/google/apis/bigquerydatatransfer_v1.rb +1 -1
  48. data/generated/google/apis/bigquerydatatransfer_v1/classes.rb +49 -0
  49. data/generated/google/apis/bigquerydatatransfer_v1/representations.rb +19 -0
  50. data/generated/google/apis/bigqueryreservation_v1.rb +1 -1
  51. data/generated/google/apis/bigqueryreservation_v1/classes.rb +0 -22
  52. data/generated/google/apis/bigqueryreservation_v1/representations.rb +0 -13
  53. data/generated/google/apis/bigqueryreservation_v1alpha2.rb +1 -1
  54. data/generated/google/apis/bigqueryreservation_v1alpha2/classes.rb +0 -22
  55. data/generated/google/apis/bigqueryreservation_v1alpha2/representations.rb +0 -13
  56. data/generated/google/apis/bigqueryreservation_v1beta1.rb +1 -1
  57. data/generated/google/apis/bigqueryreservation_v1beta1/classes.rb +5 -99
  58. data/generated/google/apis/bigqueryreservation_v1beta1/representations.rb +0 -45
  59. data/generated/google/apis/bigqueryreservation_v1beta1/service.rb +1 -70
  60. data/generated/google/apis/bigtableadmin_v2.rb +1 -1
  61. data/generated/google/apis/bigtableadmin_v2/classes.rb +49 -15
  62. data/generated/google/apis/bigtableadmin_v2/service.rb +76 -4
  63. data/generated/google/apis/binaryauthorization_v1.rb +1 -1
  64. data/generated/google/apis/binaryauthorization_v1/classes.rb +49 -15
  65. data/generated/google/apis/binaryauthorization_v1beta1.rb +1 -1
  66. data/generated/google/apis/binaryauthorization_v1beta1/classes.rb +49 -15
  67. data/generated/google/apis/chat_v1.rb +1 -1
  68. data/generated/google/apis/classroom_v1.rb +1 -1
  69. data/generated/google/apis/cloudasset_v1.rb +2 -2
  70. data/generated/google/apis/cloudasset_v1/classes.rb +103 -20
  71. data/generated/google/apis/cloudasset_v1/representations.rb +16 -0
  72. data/generated/google/apis/cloudasset_v1/service.rb +1 -1
  73. data/generated/google/apis/cloudasset_v1beta1.rb +2 -2
  74. data/generated/google/apis/cloudasset_v1beta1/classes.rb +49 -15
  75. data/generated/google/apis/cloudasset_v1beta1/service.rb +1 -1
  76. data/generated/google/apis/cloudbilling_v1.rb +1 -1
  77. data/generated/google/apis/cloudbilling_v1/classes.rb +51 -16
  78. data/generated/google/apis/cloudbilling_v1/service.rb +8 -6
  79. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  80. data/generated/google/apis/cloudbuild_v1/classes.rb +1 -1
  81. data/generated/google/apis/{servicebroker_v1beta1.rb → cloudbuild_v1alpha2.rb} +9 -11
  82. data/generated/google/apis/cloudbuild_v1alpha2/classes.rb +1124 -0
  83. data/generated/google/apis/cloudbuild_v1alpha2/representations.rb +429 -0
  84. data/generated/google/apis/cloudbuild_v1alpha2/service.rb +232 -0
  85. data/generated/google/apis/clouddebugger_v2.rb +1 -1
  86. data/generated/google/apis/clouderrorreporting_v1beta1.rb +1 -1
  87. data/generated/google/apis/clouderrorreporting_v1beta1/classes.rb +1 -1
  88. data/generated/google/apis/clouderrorreporting_v1beta1/service.rb +12 -12
  89. data/generated/google/apis/cloudfunctions_v1.rb +1 -1
  90. data/generated/google/apis/cloudfunctions_v1/classes.rb +63 -15
  91. data/generated/google/apis/cloudfunctions_v1/representations.rb +2 -0
  92. data/generated/google/apis/cloudidentity_v1.rb +1 -1
  93. data/generated/google/apis/cloudidentity_v1/classes.rb +560 -0
  94. data/generated/google/apis/cloudidentity_v1/representations.rb +226 -0
  95. data/generated/google/apis/cloudidentity_v1/service.rb +20 -13
  96. data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
  97. data/generated/google/apis/cloudidentity_v1beta1/classes.rb +765 -72
  98. data/generated/google/apis/cloudidentity_v1beta1/representations.rb +289 -0
  99. data/generated/google/apis/cloudidentity_v1beta1/service.rb +189 -79
  100. data/generated/google/apis/cloudiot_v1.rb +1 -1
  101. data/generated/google/apis/cloudiot_v1/classes.rb +49 -15
  102. data/generated/google/apis/cloudkms_v1.rb +1 -1
  103. data/generated/google/apis/cloudkms_v1/classes.rb +64 -21
  104. data/generated/google/apis/cloudkms_v1/representations.rb +1 -0
  105. data/generated/google/apis/cloudprivatecatalog_v1beta1.rb +1 -1
  106. data/generated/google/apis/cloudprivatecatalogproducer_v1beta1.rb +1 -1
  107. data/generated/google/apis/cloudprivatecatalogproducer_v1beta1/classes.rb +49 -15
  108. data/generated/google/apis/cloudprofiler_v2.rb +1 -1
  109. data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
  110. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +49 -15
  111. data/generated/google/apis/cloudresourcemanager_v1/service.rb +3 -3
  112. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
  113. data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +49 -15
  114. data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
  115. data/generated/google/apis/cloudresourcemanager_v2/classes.rb +49 -15
  116. data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
  117. data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +49 -15
  118. data/generated/google/apis/cloudscheduler_v1.rb +1 -1
  119. data/generated/google/apis/cloudscheduler_v1beta1.rb +1 -1
  120. data/generated/google/apis/cloudsearch_v1.rb +1 -1
  121. data/generated/google/apis/cloudsearch_v1/classes.rb +8 -0
  122. data/generated/google/apis/cloudsearch_v1/representations.rb +1 -0
  123. data/generated/google/apis/cloudshell_v1.rb +1 -1
  124. data/generated/google/apis/cloudshell_v1alpha1.rb +1 -1
  125. data/generated/google/apis/cloudtasks_v2.rb +1 -1
  126. data/generated/google/apis/cloudtasks_v2/classes.rb +49 -15
  127. data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
  128. data/generated/google/apis/cloudtasks_v2beta2/classes.rb +49 -15
  129. data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
  130. data/generated/google/apis/cloudtasks_v2beta3/classes.rb +49 -15
  131. data/generated/google/apis/cloudtrace_v1.rb +1 -1
  132. data/generated/google/apis/cloudtrace_v1/service.rb +6 -0
  133. data/generated/google/apis/cloudtrace_v2.rb +1 -1
  134. data/generated/google/apis/cloudtrace_v2/service.rb +4 -0
  135. data/generated/google/apis/commentanalyzer_v1alpha1.rb +1 -1
  136. data/generated/google/apis/composer_v1.rb +1 -1
  137. data/generated/google/apis/composer_v1/classes.rb +2 -0
  138. data/generated/google/apis/composer_v1beta1.rb +1 -1
  139. data/generated/google/apis/composer_v1beta1/classes.rb +59 -0
  140. data/generated/google/apis/composer_v1beta1/representations.rb +30 -0
  141. data/generated/google/apis/compute_alpha.rb +1 -1
  142. data/generated/google/apis/compute_alpha/classes.rb +429 -237
  143. data/generated/google/apis/compute_alpha/representations.rb +42 -3
  144. data/generated/google/apis/compute_alpha/service.rb +99 -32
  145. data/generated/google/apis/compute_beta.rb +1 -1
  146. data/generated/google/apis/compute_beta/classes.rb +1054 -235
  147. data/generated/google/apis/compute_beta/representations.rb +266 -0
  148. data/generated/google/apis/compute_beta/service.rb +5821 -4671
  149. data/generated/google/apis/compute_v1.rb +1 -1
  150. data/generated/google/apis/compute_v1/classes.rb +1118 -314
  151. data/generated/google/apis/compute_v1/representations.rb +313 -0
  152. data/generated/google/apis/compute_v1/service.rb +612 -24
  153. data/generated/google/apis/container_v1.rb +1 -1
  154. data/generated/google/apis/container_v1/classes.rb +247 -3
  155. data/generated/google/apis/container_v1/representations.rb +74 -0
  156. data/generated/google/apis/container_v1/service.rb +8 -0
  157. data/generated/google/apis/container_v1beta1.rb +1 -1
  158. data/generated/google/apis/container_v1beta1/classes.rb +284 -80
  159. data/generated/google/apis/container_v1beta1/representations.rb +85 -0
  160. data/generated/google/apis/container_v1beta1/service.rb +129 -121
  161. data/generated/google/apis/containeranalysis_v1alpha1.rb +1 -1
  162. data/generated/google/apis/containeranalysis_v1alpha1/classes.rb +49 -15
  163. data/generated/google/apis/containeranalysis_v1beta1.rb +1 -1
  164. data/generated/google/apis/containeranalysis_v1beta1/classes.rb +49 -15
  165. data/generated/google/apis/content_v2.rb +1 -1
  166. data/generated/google/apis/content_v2/classes.rb +97 -0
  167. data/generated/google/apis/content_v2/representations.rb +47 -0
  168. data/generated/google/apis/content_v2/service.rb +33 -0
  169. data/generated/google/apis/content_v2_1.rb +1 -1
  170. data/generated/google/apis/content_v2_1/classes.rb +191 -0
  171. data/generated/google/apis/content_v2_1/representations.rb +94 -0
  172. data/generated/google/apis/content_v2_1/service.rb +77 -0
  173. data/generated/google/apis/datacatalog_v1beta1.rb +1 -1
  174. data/generated/google/apis/datacatalog_v1beta1/classes.rb +157 -24
  175. data/generated/google/apis/datacatalog_v1beta1/representations.rb +33 -0
  176. data/generated/google/apis/datacatalog_v1beta1/service.rb +151 -66
  177. data/generated/google/apis/dataflow_v1b3.rb +1 -1
  178. data/generated/google/apis/dataflow_v1b3/classes.rb +120 -2
  179. data/generated/google/apis/dataflow_v1b3/representations.rb +63 -0
  180. data/generated/google/apis/dataflow_v1b3/service.rb +38 -0
  181. data/generated/google/apis/datafusion_v1beta1.rb +1 -1
  182. data/generated/google/apis/datafusion_v1beta1/classes.rb +134 -387
  183. data/generated/google/apis/datafusion_v1beta1/representations.rb +1 -132
  184. data/generated/google/apis/datafusion_v1beta1/service.rb +5 -1
  185. data/generated/google/apis/dataproc_v1.rb +1 -1
  186. data/generated/google/apis/dataproc_v1/classes.rb +156 -122
  187. data/generated/google/apis/dataproc_v1/service.rb +16 -14
  188. data/generated/google/apis/dataproc_v1beta2.rb +1 -1
  189. data/generated/google/apis/dataproc_v1beta2/classes.rb +155 -121
  190. data/generated/google/apis/dataproc_v1beta2/service.rb +28 -26
  191. data/generated/google/apis/dialogflow_v2.rb +1 -1
  192. data/generated/google/apis/dialogflow_v2/classes.rb +506 -9
  193. data/generated/google/apis/dialogflow_v2/representations.rb +191 -0
  194. data/generated/google/apis/dialogflow_v2/service.rb +477 -0
  195. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  196. data/generated/google/apis/dialogflow_v2beta1/classes.rb +404 -9
  197. data/generated/google/apis/dialogflow_v2beta1/representations.rb +160 -0
  198. data/generated/google/apis/dialogflow_v2beta1/service.rb +919 -45
  199. data/generated/google/apis/dlp_v2.rb +1 -1
  200. data/generated/google/apis/dlp_v2/classes.rb +101 -92
  201. data/generated/google/apis/dlp_v2/service.rb +56 -56
  202. data/generated/google/apis/docs_v1.rb +1 -1
  203. data/generated/google/apis/docs_v1/classes.rb +275 -18
  204. data/generated/google/apis/docs_v1/representations.rb +75 -0
  205. data/generated/google/apis/doubleclickbidmanager_v1_1.rb +1 -1
  206. data/generated/google/apis/doubleclickbidmanager_v1_1/classes.rb +34 -0
  207. data/generated/google/apis/doubleclickbidmanager_v1_1/representations.rb +16 -0
  208. data/generated/google/apis/drive_v2.rb +1 -1
  209. data/generated/google/apis/drive_v2/classes.rb +1 -2
  210. data/generated/google/apis/drive_v2/service.rb +0 -92
  211. data/generated/google/apis/driveactivity_v2.rb +1 -1
  212. data/generated/google/apis/factchecktools_v1alpha1.rb +1 -1
  213. data/generated/google/apis/fcm_v1.rb +1 -1
  214. data/generated/google/apis/file_v1.rb +1 -1
  215. data/generated/google/apis/file_v1beta1.rb +1 -1
  216. data/generated/google/apis/file_v1beta1/classes.rb +1 -1
  217. data/generated/google/apis/firebase_v1beta1.rb +1 -1
  218. data/generated/google/apis/firebasedynamiclinks_v1.rb +1 -1
  219. data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
  220. data/generated/google/apis/firebasehosting_v1beta1/classes.rb +161 -0
  221. data/generated/google/apis/firebasehosting_v1beta1/representations.rb +64 -0
  222. data/generated/google/apis/firebasehosting_v1beta1/service.rb +67 -0
  223. data/generated/google/apis/firebaserules_v1.rb +1 -1
  224. data/generated/google/apis/firebaserules_v1/classes.rb +12 -0
  225. data/generated/google/apis/firebaserules_v1/representations.rb +2 -0
  226. data/generated/google/apis/firestore_v1.rb +1 -1
  227. data/generated/google/apis/firestore_v1/classes.rb +4 -2
  228. data/generated/google/apis/firestore_v1beta1.rb +1 -1
  229. data/generated/google/apis/firestore_v1beta1/classes.rb +4 -2
  230. data/generated/google/apis/fitness_v1.rb +1 -1
  231. data/generated/google/apis/fitness_v1/classes.rb +8 -4
  232. data/generated/google/apis/fitness_v1/service.rb +26 -8
  233. data/generated/google/apis/genomics_v1.rb +1 -1
  234. data/generated/google/apis/genomics_v1alpha2.rb +1 -1
  235. data/generated/google/apis/genomics_v2alpha1.rb +1 -1
  236. data/generated/google/apis/gmail_v1.rb +13 -1
  237. data/generated/google/apis/gmail_v1/service.rb +1 -1
  238. data/generated/google/apis/healthcare_v1beta1.rb +1 -1
  239. data/generated/google/apis/healthcare_v1beta1/classes.rb +113 -35
  240. data/generated/google/apis/healthcare_v1beta1/representations.rb +3 -0
  241. data/generated/google/apis/healthcare_v1beta1/service.rb +68 -36
  242. data/generated/google/apis/homegraph_v1.rb +1 -1
  243. data/generated/google/apis/iam_v1.rb +1 -1
  244. data/generated/google/apis/iam_v1/classes.rb +93 -23
  245. data/generated/google/apis/iap_v1.rb +1 -1
  246. data/generated/google/apis/iap_v1/classes.rb +66 -17
  247. data/generated/google/apis/iap_v1/representations.rb +1 -0
  248. data/generated/google/apis/iap_v1/service.rb +31 -33
  249. data/generated/google/apis/iap_v1beta1.rb +1 -1
  250. data/generated/google/apis/iap_v1beta1/classes.rb +49 -15
  251. data/generated/google/apis/jobs_v3.rb +1 -1
  252. data/generated/google/apis/jobs_v3/classes.rb +1 -0
  253. data/generated/google/apis/jobs_v3p1beta1.rb +1 -1
  254. data/generated/google/apis/jobs_v3p1beta1/classes.rb +8 -2
  255. data/generated/google/apis/kgsearch_v1.rb +1 -1
  256. data/generated/google/apis/language_v1.rb +1 -1
  257. data/generated/google/apis/language_v1beta1.rb +1 -1
  258. data/generated/google/apis/language_v1beta2.rb +1 -1
  259. data/generated/google/apis/libraryagent_v1.rb +1 -1
  260. data/generated/google/apis/logging_v2.rb +1 -1
  261. data/generated/google/apis/logging_v2/classes.rb +106 -4
  262. data/generated/google/apis/logging_v2/representations.rb +16 -0
  263. data/generated/google/apis/logging_v2/service.rb +184 -0
  264. data/generated/google/apis/manufacturers_v1.rb +1 -1
  265. data/generated/google/apis/ml_v1.rb +4 -1
  266. data/generated/google/apis/ml_v1/classes.rb +131 -26
  267. data/generated/google/apis/ml_v1/representations.rb +15 -0
  268. data/generated/google/apis/ml_v1/service.rb +2 -7
  269. data/generated/google/apis/monitoring_v1.rb +1 -1
  270. data/generated/google/apis/monitoring_v1/classes.rb +144 -109
  271. data/generated/google/apis/monitoring_v1/representations.rb +0 -18
  272. data/generated/google/apis/monitoring_v1/service.rb +11 -10
  273. data/generated/google/apis/monitoring_v3.rb +1 -1
  274. data/generated/google/apis/monitoring_v3/classes.rb +211 -99
  275. data/generated/google/apis/monitoring_v3/representations.rb +18 -0
  276. data/generated/google/apis/monitoring_v3/service.rb +178 -153
  277. data/generated/google/apis/{servicebroker_v1alpha1.rb → osconfig_v1beta.rb} +10 -11
  278. data/generated/google/apis/osconfig_v1beta/classes.rb +2357 -0
  279. data/generated/google/apis/osconfig_v1beta/representations.rb +966 -0
  280. data/generated/google/apis/osconfig_v1beta/service.rb +605 -0
  281. data/generated/google/apis/oslogin_v1.rb +1 -2
  282. data/generated/google/apis/oslogin_v1/service.rb +0 -1
  283. data/generated/google/apis/oslogin_v1alpha.rb +1 -2
  284. data/generated/google/apis/oslogin_v1alpha/service.rb +0 -1
  285. data/generated/google/apis/oslogin_v1beta.rb +1 -2
  286. data/generated/google/apis/oslogin_v1beta/service.rb +0 -1
  287. data/generated/google/apis/pagespeedonline_v5.rb +9 -4
  288. data/generated/google/apis/pagespeedonline_v5/classes.rb +529 -498
  289. data/generated/google/apis/pagespeedonline_v5/representations.rb +225 -221
  290. data/generated/google/apis/pagespeedonline_v5/service.rb +22 -24
  291. data/generated/google/apis/people_v1.rb +1 -1
  292. data/generated/google/apis/people_v1/classes.rb +14 -13
  293. data/generated/google/apis/people_v1/service.rb +12 -16
  294. data/generated/google/apis/policytroubleshooter_v1.rb +1 -1
  295. data/generated/google/apis/policytroubleshooter_v1/classes.rb +71 -19
  296. data/generated/google/apis/policytroubleshooter_v1beta.rb +1 -1
  297. data/generated/google/apis/policytroubleshooter_v1beta/classes.rb +71 -19
  298. data/generated/google/apis/poly_v1.rb +1 -1
  299. data/generated/google/apis/prod_tt_sasportal_v1alpha1.rb +1 -1
  300. data/generated/google/apis/prod_tt_sasportal_v1alpha1/classes.rb +39 -0
  301. data/generated/google/apis/prod_tt_sasportal_v1alpha1/representations.rb +27 -0
  302. data/generated/google/apis/prod_tt_sasportal_v1alpha1/service.rb +66 -0
  303. data/generated/google/apis/pubsub_v1.rb +1 -1
  304. data/generated/google/apis/pubsub_v1/classes.rb +119 -15
  305. data/generated/google/apis/pubsub_v1/representations.rb +17 -0
  306. data/generated/google/apis/pubsub_v1beta2.rb +1 -1
  307. data/generated/google/apis/pubsub_v1beta2/classes.rb +49 -15
  308. data/generated/google/apis/recommender_v1beta1.rb +1 -1
  309. data/generated/google/apis/recommender_v1beta1/classes.rb +2 -5
  310. data/generated/google/apis/recommender_v1beta1/service.rb +13 -11
  311. data/generated/google/apis/redis_v1.rb +1 -1
  312. data/generated/google/apis/redis_v1/classes.rb +10 -3
  313. data/generated/google/apis/redis_v1/representations.rb +1 -0
  314. data/generated/google/apis/redis_v1beta1.rb +1 -1
  315. data/generated/google/apis/redis_v1beta1/classes.rb +29 -3
  316. data/generated/google/apis/redis_v1beta1/representations.rb +14 -0
  317. data/generated/google/apis/redis_v1beta1/service.rb +36 -0
  318. data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
  319. data/generated/google/apis/remotebuildexecution_v1/classes.rb +6 -0
  320. data/generated/google/apis/remotebuildexecution_v1/representations.rb +1 -0
  321. data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
  322. data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +6 -0
  323. data/generated/google/apis/remotebuildexecution_v1alpha/representations.rb +1 -0
  324. data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
  325. data/generated/google/apis/remotebuildexecution_v2/classes.rb +6 -0
  326. data/generated/google/apis/remotebuildexecution_v2/representations.rb +1 -0
  327. data/generated/google/apis/run_v1.rb +1 -1
  328. data/generated/google/apis/run_v1/classes.rb +49 -15
  329. data/generated/google/apis/run_v1/service.rb +0 -30
  330. data/generated/google/apis/run_v1alpha1.rb +1 -1
  331. data/generated/google/apis/run_v1alpha1/classes.rb +278 -572
  332. data/generated/google/apis/run_v1alpha1/representations.rb +82 -223
  333. data/generated/google/apis/run_v1alpha1/service.rb +272 -682
  334. data/generated/google/apis/run_v1beta1.rb +4 -1
  335. data/generated/google/apis/runtimeconfig_v1.rb +1 -1
  336. data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
  337. data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +49 -15
  338. data/generated/google/apis/safebrowsing_v4.rb +1 -1
  339. data/generated/google/apis/safebrowsing_v4/classes.rb +2 -2
  340. data/generated/google/apis/sasportal_v1alpha1.rb +1 -1
  341. data/generated/google/apis/sasportal_v1alpha1/classes.rb +39 -0
  342. data/generated/google/apis/sasportal_v1alpha1/representations.rb +27 -0
  343. data/generated/google/apis/sasportal_v1alpha1/service.rb +66 -0
  344. data/generated/google/apis/script_v1.rb +1 -1
  345. data/generated/google/apis/searchconsole_v1.rb +1 -1
  346. data/generated/google/apis/secretmanager_v1beta1.rb +3 -2
  347. data/generated/google/apis/secretmanager_v1beta1/classes.rb +49 -15
  348. data/generated/google/apis/secretmanager_v1beta1/service.rb +2 -1
  349. data/generated/google/apis/securitycenter_v1.rb +1 -1
  350. data/generated/google/apis/securitycenter_v1/classes.rb +449 -15
  351. data/generated/google/apis/securitycenter_v1/representations.rb +138 -0
  352. data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
  353. data/generated/google/apis/securitycenter_v1beta1/classes.rb +442 -15
  354. data/generated/google/apis/securitycenter_v1beta1/representations.rb +138 -0
  355. data/generated/google/apis/securitycenter_v1p1alpha1.rb +1 -1
  356. data/generated/google/apis/securitycenter_v1p1alpha1/classes.rb +393 -0
  357. data/generated/google/apis/securitycenter_v1p1alpha1/representations.rb +138 -0
  358. data/generated/google/apis/securitycenter_v1p1beta1.rb +35 -0
  359. data/generated/google/apis/securitycenter_v1p1beta1/classes.rb +1999 -0
  360. data/generated/google/apis/securitycenter_v1p1beta1/representations.rb +699 -0
  361. data/generated/google/apis/securitycenter_v1p1beta1/service.rb +1315 -0
  362. data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
  363. data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +101 -5
  364. data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +19 -0
  365. data/generated/google/apis/servicecontrol_v1.rb +1 -1
  366. data/generated/google/apis/servicecontrol_v1/classes.rb +238 -0
  367. data/generated/google/apis/servicecontrol_v1/representations.rb +86 -0
  368. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  369. data/generated/google/apis/servicemanagement_v1/classes.rb +156 -20
  370. data/generated/google/apis/servicemanagement_v1/representations.rb +18 -0
  371. data/generated/google/apis/servicenetworking_v1.rb +1 -1
  372. data/generated/google/apis/servicenetworking_v1/classes.rb +101 -5
  373. data/generated/google/apis/servicenetworking_v1/representations.rb +19 -0
  374. data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
  375. data/generated/google/apis/servicenetworking_v1beta/classes.rb +101 -5
  376. data/generated/google/apis/servicenetworking_v1beta/representations.rb +19 -0
  377. data/generated/google/apis/serviceusage_v1.rb +1 -1
  378. data/generated/google/apis/serviceusage_v1/classes.rb +101 -5
  379. data/generated/google/apis/serviceusage_v1/representations.rb +19 -0
  380. data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
  381. data/generated/google/apis/serviceusage_v1beta1/classes.rb +101 -5
  382. data/generated/google/apis/serviceusage_v1beta1/representations.rb +19 -0
  383. data/generated/google/apis/sheets_v4.rb +1 -1
  384. data/generated/google/apis/sheets_v4/classes.rb +195 -31
  385. data/generated/google/apis/sheets_v4/representations.rb +56 -0
  386. data/generated/google/apis/sheets_v4/service.rb +9 -11
  387. data/generated/google/apis/sourcerepo_v1.rb +1 -1
  388. data/generated/google/apis/sourcerepo_v1/classes.rb +172 -65
  389. data/generated/google/apis/sourcerepo_v1/service.rb +9 -1
  390. data/generated/google/apis/spanner_v1.rb +1 -1
  391. data/generated/google/apis/spanner_v1/classes.rb +49 -15
  392. data/generated/google/apis/spanner_v1/service.rb +1 -1
  393. data/generated/google/apis/speech_v1.rb +1 -1
  394. data/generated/google/apis/speech_v1/classes.rb +1 -8
  395. data/generated/google/apis/speech_v1/representations.rb +0 -1
  396. data/generated/google/apis/speech_v1p1beta1.rb +1 -1
  397. data/generated/google/apis/speech_v1p1beta1/classes.rb +3 -8
  398. data/generated/google/apis/speech_v1p1beta1/representations.rb +0 -1
  399. data/generated/google/apis/sql_v1beta4.rb +1 -1
  400. data/generated/google/apis/sql_v1beta4/classes.rb +130 -2
  401. data/generated/google/apis/sql_v1beta4/representations.rb +52 -0
  402. data/generated/google/apis/sql_v1beta4/service.rb +190 -9
  403. data/generated/google/apis/storage_v1.rb +1 -1
  404. data/generated/google/apis/storage_v1/classes.rb +16 -7
  405. data/generated/google/apis/storage_v1/service.rb +1 -1
  406. data/generated/google/apis/storage_v1beta2.rb +1 -1
  407. data/generated/google/apis/storage_v1beta2/service.rb +1 -1
  408. data/generated/google/apis/storagetransfer_v1.rb +1 -1
  409. data/generated/google/apis/storagetransfer_v1/classes.rb +13 -4
  410. data/generated/google/apis/storagetransfer_v1/service.rb +0 -30
  411. data/generated/google/apis/streetviewpublish_v1.rb +1 -1
  412. data/generated/google/apis/tagmanager_v1.rb +1 -1
  413. data/generated/google/apis/tagmanager_v1/classes.rb +2 -0
  414. data/generated/google/apis/tagmanager_v2.rb +1 -1
  415. data/generated/google/apis/tagmanager_v2/classes.rb +170 -0
  416. data/generated/google/apis/tagmanager_v2/representations.rb +49 -0
  417. data/generated/google/apis/tasks_v1.rb +1 -1
  418. data/generated/google/apis/tasks_v1/service.rb +4 -1
  419. data/generated/google/apis/toolresults_v1.rb +1 -1
  420. data/generated/google/apis/tpu_v1.rb +1 -1
  421. data/generated/google/apis/tpu_v1/classes.rb +0 -1
  422. data/generated/google/apis/tpu_v1alpha1.rb +1 -1
  423. data/generated/google/apis/tpu_v1alpha1/classes.rb +0 -1
  424. data/generated/google/apis/translate_v3.rb +37 -0
  425. data/generated/google/apis/translate_v3/classes.rb +943 -0
  426. data/generated/google/apis/translate_v3/representations.rb +439 -0
  427. data/generated/google/apis/translate_v3/service.rb +781 -0
  428. data/generated/google/apis/videointelligence_v1.rb +1 -1
  429. data/generated/google/apis/videointelligence_v1/classes.rb +97 -0
  430. data/generated/google/apis/videointelligence_v1/representations.rb +51 -0
  431. data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
  432. data/generated/google/apis/videointelligence_v1beta2/classes.rb +97 -0
  433. data/generated/google/apis/videointelligence_v1beta2/representations.rb +51 -0
  434. data/generated/google/apis/videointelligence_v1p1beta1.rb +1 -1
  435. data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +97 -0
  436. data/generated/google/apis/videointelligence_v1p1beta1/representations.rb +51 -0
  437. data/generated/google/apis/videointelligence_v1p2beta1.rb +1 -1
  438. data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +97 -0
  439. data/generated/google/apis/videointelligence_v1p2beta1/representations.rb +51 -0
  440. data/generated/google/apis/videointelligence_v1p3beta1.rb +1 -1
  441. data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +184 -0
  442. data/generated/google/apis/videointelligence_v1p3beta1/representations.rb +85 -0
  443. data/generated/google/apis/websecurityscanner_v1.rb +1 -1
  444. data/generated/google/apis/websecurityscanner_v1/classes.rb +63 -0
  445. data/generated/google/apis/websecurityscanner_v1/representations.rb +31 -0
  446. data/generated/google/apis/websecurityscanner_v1alpha.rb +1 -1
  447. data/generated/google/apis/websecurityscanner_v1beta.rb +1 -1
  448. data/generated/google/apis/websecurityscanner_v1beta/classes.rb +63 -0
  449. data/generated/google/apis/websecurityscanner_v1beta/representations.rb +31 -0
  450. data/generated/google/apis/youtube_analytics_v1.rb +1 -1
  451. data/generated/google/apis/youtube_analytics_v2.rb +1 -1
  452. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  453. data/generated/google/apis/youtube_v3.rb +1 -1
  454. data/generated/google/apis/youtube_v3/classes.rb +61 -9
  455. data/generated/google/apis/youtube_v3/representations.rb +8 -1
  456. data/generated/google/apis/youtube_v3/service.rb +8 -2
  457. data/generated/google/apis/youtubereporting_v1.rb +1 -1
  458. data/lib/google/apis/core/base_service.rb +1 -1
  459. data/lib/google/apis/core/http_command.rb +1 -2
  460. data/lib/google/apis/version.rb +1 -1
  461. metadata +27 -27
  462. data/generated/google/apis/analytics_v2_4.rb +0 -37
  463. data/generated/google/apis/analytics_v2_4/representations.rb +0 -26
  464. data/generated/google/apis/analytics_v2_4/service.rb +0 -331
  465. data/generated/google/apis/plus_domains_v1.rb +0 -55
  466. data/generated/google/apis/plus_domains_v1/classes.rb +0 -2609
  467. data/generated/google/apis/plus_domains_v1/representations.rb +0 -1111
  468. data/generated/google/apis/plus_domains_v1/service.rb +0 -489
  469. data/generated/google/apis/replicapool_v1beta1.rb +0 -50
  470. data/generated/google/apis/replicapool_v1beta1/classes.rb +0 -918
  471. data/generated/google/apis/replicapool_v1beta1/representations.rb +0 -409
  472. data/generated/google/apis/replicapool_v1beta1/service.rb +0 -489
  473. data/generated/google/apis/servicebroker_v1/classes.rb +0 -368
  474. data/generated/google/apis/servicebroker_v1/representations.rb +0 -114
  475. data/generated/google/apis/servicebroker_v1/service.rb +0 -177
  476. data/generated/google/apis/servicebroker_v1alpha1/classes.rb +0 -1072
  477. data/generated/google/apis/servicebroker_v1alpha1/representations.rb +0 -367
  478. data/generated/google/apis/servicebroker_v1alpha1/service.rb +0 -737
  479. data/generated/google/apis/servicebroker_v1beta1/classes.rb +0 -1208
  480. data/generated/google/apis/servicebroker_v1beta1/representations.rb +0 -416
  481. data/generated/google/apis/servicebroker_v1beta1/service.rb +0 -926
@@ -30,7 +30,7 @@ module Google
30
30
  # Cloudasset = Google::Apis::CloudassetV1 # Alias the module
31
31
  # service = Cloudasset::CloudAssetService.new
32
32
  #
33
- # @see https://cloud.google.com/resource-manager/docs/cloud-asset-inventory/quickstart-cloud-asset-inventory
33
+ # @see https://cloud.google.com/asset-inventory/docs/quickstart
34
34
  class CloudAssetService < Google::Apis::Core::BaseService
35
35
  # @return [String]
36
36
  # API key. Your API key identifies your project and provides you with API access,
@@ -22,10 +22,10 @@ module Google
22
22
  #
23
23
  # The cloud asset API manages the history and inventory of cloud resources.
24
24
  #
25
- # @see https://cloud.google.com/resource-manager/docs/cloud-asset-inventory/quickstart-cloud-asset-inventory
25
+ # @see https://cloud.google.com/asset-inventory/docs/quickstart
26
26
  module CloudassetV1beta1
27
27
  VERSION = 'V1beta1'
28
- REVISION = '20191130'
28
+ REVISION = '20200209'
29
29
 
30
30
  # View and manage your data across Google Cloud Platform services
31
31
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -259,10 +259,28 @@ module Google
259
259
  class Binding
260
260
  include Google::Apis::Core::Hashable
261
261
 
262
- # Represents an expression text. Example:
263
- # title: "User account presence"
264
- # description: "Determines whether the request has a user account"
265
- # expression: "size(request.user) > 0"
262
+ # Represents a textual expression in the Common Expression Language (CEL)
263
+ # syntax. CEL is a C-like expression language. The syntax and semantics of CEL
264
+ # are documented at https://github.com/google/cel-spec.
265
+ # Example (Comparison):
266
+ # title: "Summary size limit"
267
+ # description: "Determines if a summary is less than 100 chars"
268
+ # expression: "document.summary.size() < 100"
269
+ # Example (Equality):
270
+ # title: "Requestor is owner"
271
+ # description: "Determines if requestor is the document owner"
272
+ # expression: "document.owner == request.auth.claims.email"
273
+ # Example (Logic):
274
+ # title: "Public documents"
275
+ # description: "Determine whether the document should be publicly visible"
276
+ # expression: "document.type != 'private' && document.type != 'internal'"
277
+ # Example (Data Manipulation):
278
+ # title: "Notification string"
279
+ # description: "Create a notification string with a timestamp."
280
+ # expression: "'New message received at ' + string(document.create_time)"
281
+ # The exact variables and functions that may be referenced within an expression
282
+ # are determined by the service that evaluates it. See the service
283
+ # documentation for additional information.
266
284
  # Corresponds to the JSON property `condition`
267
285
  # @return [Google::Apis::CloudassetV1beta1::Expr]
268
286
  attr_accessor :condition
@@ -367,34 +385,50 @@ module Google
367
385
  end
368
386
  end
369
387
 
370
- # Represents an expression text. Example:
371
- # title: "User account presence"
372
- # description: "Determines whether the request has a user account"
373
- # expression: "size(request.user) > 0"
388
+ # Represents a textual expression in the Common Expression Language (CEL)
389
+ # syntax. CEL is a C-like expression language. The syntax and semantics of CEL
390
+ # are documented at https://github.com/google/cel-spec.
391
+ # Example (Comparison):
392
+ # title: "Summary size limit"
393
+ # description: "Determines if a summary is less than 100 chars"
394
+ # expression: "document.summary.size() < 100"
395
+ # Example (Equality):
396
+ # title: "Requestor is owner"
397
+ # description: "Determines if requestor is the document owner"
398
+ # expression: "document.owner == request.auth.claims.email"
399
+ # Example (Logic):
400
+ # title: "Public documents"
401
+ # description: "Determine whether the document should be publicly visible"
402
+ # expression: "document.type != 'private' && document.type != 'internal'"
403
+ # Example (Data Manipulation):
404
+ # title: "Notification string"
405
+ # description: "Create a notification string with a timestamp."
406
+ # expression: "'New message received at ' + string(document.create_time)"
407
+ # The exact variables and functions that may be referenced within an expression
408
+ # are determined by the service that evaluates it. See the service
409
+ # documentation for additional information.
374
410
  class Expr
375
411
  include Google::Apis::Core::Hashable
376
412
 
377
- # An optional description of the expression. This is a longer text which
413
+ # Optional. Description of the expression. This is a longer text which
378
414
  # describes the expression, e.g. when hovered over it in a UI.
379
415
  # Corresponds to the JSON property `description`
380
416
  # @return [String]
381
417
  attr_accessor :description
382
418
 
383
- # Textual representation of an expression in
384
- # Common Expression Language syntax.
385
- # The application context of the containing message determines which
386
- # well-known feature set of CEL is supported.
419
+ # Textual representation of an expression in Common Expression Language
420
+ # syntax.
387
421
  # Corresponds to the JSON property `expression`
388
422
  # @return [String]
389
423
  attr_accessor :expression
390
424
 
391
- # An optional string indicating the location of the expression for error
425
+ # Optional. String indicating the location of the expression for error
392
426
  # reporting, e.g. a file name and a position in the file.
393
427
  # Corresponds to the JSON property `location`
394
428
  # @return [String]
395
429
  attr_accessor :location
396
430
 
397
- # An optional title for the expression, i.e. a short string describing
431
+ # Optional. Title for the expression, i.e. a short string describing
398
432
  # its purpose. This can be used e.g. in UIs which allow to enter the
399
433
  # expression.
400
434
  # Corresponds to the JSON property `title`
@@ -30,7 +30,7 @@ module Google
30
30
  # Cloudasset = Google::Apis::CloudassetV1beta1 # Alias the module
31
31
  # service = Cloudasset::CloudAssetService.new
32
32
  #
33
- # @see https://cloud.google.com/resource-manager/docs/cloud-asset-inventory/quickstart-cloud-asset-inventory
33
+ # @see https://cloud.google.com/asset-inventory/docs/quickstart
34
34
  class CloudAssetService < Google::Apis::Core::BaseService
35
35
  # @return [String]
36
36
  # API key. Your API key identifies your project and provides you with API access,
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://cloud.google.com/billing/
27
27
  module CloudbillingV1
28
28
  VERSION = 'V1'
29
- REVISION = '20191206'
29
+ REVISION = '20200210'
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'
@@ -199,7 +199,8 @@ module Google
199
199
  # @return [String]
200
200
  attr_accessor :name
201
201
 
202
- # True if the billing account is open, and will therefore be charged for any
202
+ # Output only. True if the billing account is open, and will therefore be
203
+ # charged for any
203
204
  # usage on associated projects. False if the billing account is closed, and
204
205
  # therefore projects associated with it will be unable to use paid services.
205
206
  # Corresponds to the JSON property `open`
@@ -224,10 +225,28 @@ module Google
224
225
  class Binding
225
226
  include Google::Apis::Core::Hashable
226
227
 
227
- # Represents an expression text. Example:
228
- # title: "User account presence"
229
- # description: "Determines whether the request has a user account"
230
- # expression: "size(request.user) > 0"
228
+ # Represents a textual expression in the Common Expression Language (CEL)
229
+ # syntax. CEL is a C-like expression language. The syntax and semantics of CEL
230
+ # are documented at https://github.com/google/cel-spec.
231
+ # Example (Comparison):
232
+ # title: "Summary size limit"
233
+ # description: "Determines if a summary is less than 100 chars"
234
+ # expression: "document.summary.size() < 100"
235
+ # Example (Equality):
236
+ # title: "Requestor is owner"
237
+ # description: "Determines if requestor is the document owner"
238
+ # expression: "document.owner == request.auth.claims.email"
239
+ # Example (Logic):
240
+ # title: "Public documents"
241
+ # description: "Determine whether the document should be publicly visible"
242
+ # expression: "document.type != 'private' && document.type != 'internal'"
243
+ # Example (Data Manipulation):
244
+ # title: "Notification string"
245
+ # description: "Create a notification string with a timestamp."
246
+ # expression: "'New message received at ' + string(document.create_time)"
247
+ # The exact variables and functions that may be referenced within an expression
248
+ # are determined by the service that evaluates it. See the service
249
+ # documentation for additional information.
231
250
  # Corresponds to the JSON property `condition`
232
251
  # @return [Google::Apis::CloudbillingV1::Expr]
233
252
  attr_accessor :condition
@@ -325,34 +344,50 @@ module Google
325
344
  end
326
345
  end
327
346
 
328
- # Represents an expression text. Example:
329
- # title: "User account presence"
330
- # description: "Determines whether the request has a user account"
331
- # expression: "size(request.user) > 0"
347
+ # Represents a textual expression in the Common Expression Language (CEL)
348
+ # syntax. CEL is a C-like expression language. The syntax and semantics of CEL
349
+ # are documented at https://github.com/google/cel-spec.
350
+ # Example (Comparison):
351
+ # title: "Summary size limit"
352
+ # description: "Determines if a summary is less than 100 chars"
353
+ # expression: "document.summary.size() < 100"
354
+ # Example (Equality):
355
+ # title: "Requestor is owner"
356
+ # description: "Determines if requestor is the document owner"
357
+ # expression: "document.owner == request.auth.claims.email"
358
+ # Example (Logic):
359
+ # title: "Public documents"
360
+ # description: "Determine whether the document should be publicly visible"
361
+ # expression: "document.type != 'private' && document.type != 'internal'"
362
+ # Example (Data Manipulation):
363
+ # title: "Notification string"
364
+ # description: "Create a notification string with a timestamp."
365
+ # expression: "'New message received at ' + string(document.create_time)"
366
+ # The exact variables and functions that may be referenced within an expression
367
+ # are determined by the service that evaluates it. See the service
368
+ # documentation for additional information.
332
369
  class Expr
333
370
  include Google::Apis::Core::Hashable
334
371
 
335
- # An optional description of the expression. This is a longer text which
372
+ # Optional. Description of the expression. This is a longer text which
336
373
  # describes the expression, e.g. when hovered over it in a UI.
337
374
  # Corresponds to the JSON property `description`
338
375
  # @return [String]
339
376
  attr_accessor :description
340
377
 
341
- # Textual representation of an expression in
342
- # Common Expression Language syntax.
343
- # The application context of the containing message determines which
344
- # well-known feature set of CEL is supported.
378
+ # Textual representation of an expression in Common Expression Language
379
+ # syntax.
345
380
  # Corresponds to the JSON property `expression`
346
381
  # @return [String]
347
382
  attr_accessor :expression
348
383
 
349
- # An optional string indicating the location of the expression for error
384
+ # Optional. String indicating the location of the expression for error
350
385
  # reporting, e.g. a file name and a position in the file.
351
386
  # Corresponds to the JSON property `location`
352
387
  # @return [String]
353
388
  attr_accessor :location
354
389
 
355
- # An optional title for the expression, i.e. a short string describing
390
+ # Optional. Title for the expression, i.e. a short string describing
356
391
  # its purpose. This can be used e.g. in UIs which allow to enter the
357
392
  # expression.
358
393
  # Corresponds to the JSON property `title`
@@ -91,7 +91,7 @@ module Google
91
91
  # must be a [viewer of the billing
92
92
  # account](https://cloud.google.com/billing/docs/how-to/billing-access).
93
93
  # @param [String] name
94
- # The resource name of the billing account to retrieve. For example,
94
+ # Required. The resource name of the billing account to retrieve. For example,
95
95
  # `billingAccounts/012345-567890-ABCDEF`.
96
96
  # @param [String] fields
97
97
  # Selector specifying which fields to include in a partial response.
@@ -215,7 +215,7 @@ module Google
215
215
  # [administrator](https://cloud.google.com/billing/docs/how-to/billing-access)
216
216
  # of the billing account.
217
217
  # @param [String] name
218
- # The name of the billing account resource to be updated.
218
+ # Required. The name of the billing account resource to be updated.
219
219
  # @param [Google::Apis::CloudbillingV1::BillingAccount] billing_account_object
220
220
  # @param [String] update_mask
221
221
  # The update mask applied to the resource.
@@ -329,7 +329,8 @@ module Google
329
329
  # permission, which is often given to billing account
330
330
  # [viewers](https://cloud.google.com/billing/docs/how-to/billing-access).
331
331
  # @param [String] name
332
- # The resource name of the billing account associated with the projects that
332
+ # Required. The resource name of the billing account associated with the
333
+ # projects that
333
334
  # you want to list. For example, `billingAccounts/012345-567890-ABCDEF`.
334
335
  # @param [Fixnum] page_size
335
336
  # Requested page size. The maximum page size is 100; this is also the
@@ -372,7 +373,7 @@ module Google
372
373
  # project](https://cloud.google.com/docs/permissions-overview#h.bgs0oxofvnoo
373
374
  # ).
374
375
  # @param [String] name
375
- # The resource name of the project for which billing information is
376
+ # Required. The resource name of the project for which billing information is
376
377
  # retrieved. For example, `projects/tokyo-rain-123`.
377
378
  # @param [String] fields
378
379
  # Selector specifying which fields to include in a partial response.
@@ -429,7 +430,8 @@ module Google
429
430
  # disable billing, you should always call this method with the name of an
430
431
  # *open* billing account.
431
432
  # @param [String] name
432
- # The resource name of the project associated with the billing information
433
+ # Required. The resource name of the project associated with the billing
434
+ # information
433
435
  # that you want to update. For example, `projects/tokyo-rain-123`.
434
436
  # @param [Google::Apis::CloudbillingV1::ProjectBillingInfo] project_billing_info_object
435
437
  # @param [String] fields
@@ -498,7 +500,7 @@ module Google
498
500
 
499
501
  # Lists all publicly available SKUs for a given cloud service.
500
502
  # @param [String] parent
501
- # The name of the service.
503
+ # Required. The name of the service.
502
504
  # Example: "services/DA34-426B-A397"
503
505
  # @param [String] currency_code
504
506
  # The ISO 4217 currency code for the pricing info in the response proto.
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://cloud.google.com/cloud-build/docs/
26
26
  module CloudbuildV1
27
27
  VERSION = 'V1'
28
- REVISION = '20191207'
28
+ REVISION = '20200123'
29
29
 
30
30
  # View and manage your data across Google Cloud Platform services
31
31
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -628,7 +628,7 @@ module Google
628
628
  attr_accessor :id
629
629
 
630
630
  # ignored_files and included_files are file glob matches using
631
- # http://godoc/pkg/path/filepath#Match extended with support for "**".
631
+ # https://golang.org/pkg/path/filepath/#Match extended with support for "**".
632
632
  # If ignored_files and changed files are both empty, then they are
633
633
  # not used to determine whether or not to trigger a build.
634
634
  # If ignored_files is not empty, then we ignore any files that match
@@ -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/servicebroker_v1beta1/service.rb'
16
- require 'google/apis/servicebroker_v1beta1/classes.rb'
17
- require 'google/apis/servicebroker_v1beta1/representations.rb'
15
+ require 'google/apis/cloudbuild_v1alpha2/service.rb'
16
+ require 'google/apis/cloudbuild_v1alpha2/classes.rb'
17
+ require 'google/apis/cloudbuild_v1alpha2/representations.rb'
18
18
 
19
19
  module Google
20
20
  module Apis
21
- # Service Broker API
21
+ # Cloud Build API
22
22
  #
23
- # The Google Cloud Platform Service Broker API provides Google hosted
24
- # implementation of the Open Service Broker API
25
- # (https://www.openservicebrokerapi.org/).
23
+ # Creates and manages builds on Google Cloud Platform.
26
24
  #
27
- # @see https://cloud.google.com/kubernetes-engine/docs/concepts/add-on/service-broker
28
- module ServicebrokerV1beta1
29
- VERSION = 'V1beta1'
30
- REVISION = '20191202'
25
+ # @see https://cloud.google.com/cloud-build/docs/
26
+ module CloudbuildV1alpha2
27
+ VERSION = 'V1alpha2'
28
+ REVISION = '20200108'
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,1124 @@
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 CloudbuildV1alpha2
24
+
25
+ # Files in the workspace to upload to Cloud Storage upon successful
26
+ # completion of all build steps.
27
+ class ArtifactObjects
28
+ include Google::Apis::Core::Hashable
29
+
30
+ # Cloud Storage bucket and optional object path, in the form
31
+ # "gs://bucket/path/to/somewhere/". (see [Bucket Name
32
+ # Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)
33
+ # ).
34
+ # Files in the workspace matching any path pattern will be uploaded to
35
+ # Cloud Storage with this location as a prefix.
36
+ # Corresponds to the JSON property `location`
37
+ # @return [String]
38
+ attr_accessor :location
39
+
40
+ # Path globs used to match files in the build's workspace.
41
+ # Corresponds to the JSON property `paths`
42
+ # @return [Array<String>]
43
+ attr_accessor :paths
44
+
45
+ # Start and end times for a build execution phase.
46
+ # Corresponds to the JSON property `timing`
47
+ # @return [Google::Apis::CloudbuildV1alpha2::TimeSpan]
48
+ attr_accessor :timing
49
+
50
+ def initialize(**args)
51
+ update!(**args)
52
+ end
53
+
54
+ # Update properties of this object
55
+ def update!(**args)
56
+ @location = args[:location] if args.key?(:location)
57
+ @paths = args[:paths] if args.key?(:paths)
58
+ @timing = args[:timing] if args.key?(:timing)
59
+ end
60
+ end
61
+
62
+ # An artifact that was uploaded during a build. This
63
+ # is a single record in the artifact manifest JSON file.
64
+ class ArtifactResult
65
+ include Google::Apis::Core::Hashable
66
+
67
+ # The file hash of the artifact.
68
+ # Corresponds to the JSON property `fileHash`
69
+ # @return [Array<Google::Apis::CloudbuildV1alpha2::FileHashes>]
70
+ attr_accessor :file_hash
71
+
72
+ # The path of an artifact in a Google Cloud Storage bucket, with the
73
+ # generation number. For example,
74
+ # `gs://mybucket/path/to/output.jar#generation`.
75
+ # Corresponds to the JSON property `location`
76
+ # @return [String]
77
+ attr_accessor :location
78
+
79
+ def initialize(**args)
80
+ update!(**args)
81
+ end
82
+
83
+ # Update properties of this object
84
+ def update!(**args)
85
+ @file_hash = args[:file_hash] if args.key?(:file_hash)
86
+ @location = args[:location] if args.key?(:location)
87
+ end
88
+ end
89
+
90
+ # Artifacts produced by a build that should be uploaded upon
91
+ # successful completion of all build steps.
92
+ class Artifacts
93
+ include Google::Apis::Core::Hashable
94
+
95
+ # A list of images to be pushed upon the successful completion of all build
96
+ # steps.
97
+ # The images will be pushed using the builder service account's credentials.
98
+ # The digests of the pushed images will be stored in the Build resource's
99
+ # results field.
100
+ # If any of the images fail to be pushed, the build is marked FAILURE.
101
+ # Corresponds to the JSON property `images`
102
+ # @return [Array<String>]
103
+ attr_accessor :images
104
+
105
+ # Files in the workspace to upload to Cloud Storage upon successful
106
+ # completion of all build steps.
107
+ # Corresponds to the JSON property `objects`
108
+ # @return [Google::Apis::CloudbuildV1alpha2::ArtifactObjects]
109
+ attr_accessor :objects
110
+
111
+ def initialize(**args)
112
+ update!(**args)
113
+ end
114
+
115
+ # Update properties of this object
116
+ def update!(**args)
117
+ @images = args[:images] if args.key?(:images)
118
+ @objects = args[:objects] if args.key?(:objects)
119
+ end
120
+ end
121
+
122
+ # A build resource in the Cloud Build API.
123
+ # At a high level, a `Build` describes where to find source code, how to build
124
+ # it (for example, the builder image to run on the source), and where to store
125
+ # the built artifacts.
126
+ # Fields can include the following variables, which will be expanded when the
127
+ # build is created:
128
+ # - $PROJECT_ID: the project ID of the build.
129
+ # - $BUILD_ID: the autogenerated ID of the build.
130
+ # - $REPO_NAME: the source repository name specified by RepoSource.
131
+ # - $BRANCH_NAME: the branch name specified by RepoSource.
132
+ # - $TAG_NAME: the tag name specified by RepoSource.
133
+ # - $REVISION_ID or $COMMIT_SHA: the commit SHA specified by RepoSource or
134
+ # resolved from the specified branch or tag.
135
+ # - $SHORT_SHA: first 7 characters of $REVISION_ID or $COMMIT_SHA.
136
+ class Build
137
+ include Google::Apis::Core::Hashable
138
+
139
+ # Artifacts produced by a build that should be uploaded upon
140
+ # successful completion of all build steps.
141
+ # Corresponds to the JSON property `artifacts`
142
+ # @return [Google::Apis::CloudbuildV1alpha2::Artifacts]
143
+ attr_accessor :artifacts
144
+
145
+ # Output only. The ID of the `BuildTrigger` that triggered this build, if it
146
+ # was triggered automatically.
147
+ # Corresponds to the JSON property `buildTriggerId`
148
+ # @return [String]
149
+ attr_accessor :build_trigger_id
150
+
151
+ # Output only. Time at which the request to create the build was received.
152
+ # Corresponds to the JSON property `createTime`
153
+ # @return [String]
154
+ attr_accessor :create_time
155
+
156
+ # Output only. Time at which execution of the build was finished.
157
+ # The difference between finish_time and start_time is the duration of the
158
+ # build's execution.
159
+ # Corresponds to the JSON property `finishTime`
160
+ # @return [String]
161
+ attr_accessor :finish_time
162
+
163
+ # Output only. Unique identifier of the build.
164
+ # Corresponds to the JSON property `id`
165
+ # @return [String]
166
+ attr_accessor :id
167
+
168
+ # A list of images to be pushed upon the successful completion of all build
169
+ # steps.
170
+ # The images are pushed using the builder service account's credentials.
171
+ # The digests of the pushed images will be stored in the `Build` resource's
172
+ # results field.
173
+ # If any of the images fail to be pushed, the build status is marked
174
+ # `FAILURE`.
175
+ # Corresponds to the JSON property `images`
176
+ # @return [Array<String>]
177
+ attr_accessor :images
178
+
179
+ # Output only. URL to logs for this build in Google Cloud Console.
180
+ # Corresponds to the JSON property `logUrl`
181
+ # @return [String]
182
+ attr_accessor :log_url
183
+
184
+ # Google Cloud Storage bucket where logs should be written (see
185
+ # [Bucket Name
186
+ # Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)
187
+ # ).
188
+ # Logs file names will be of the format `$`logs_bucket`/log-$`build_id`.txt`.
189
+ # Corresponds to the JSON property `logsBucket`
190
+ # @return [String]
191
+ attr_accessor :logs_bucket
192
+
193
+ # Optional arguments to enable specific features of builds.
194
+ # Corresponds to the JSON property `options`
195
+ # @return [Google::Apis::CloudbuildV1alpha2::BuildOptions]
196
+ attr_accessor :options
197
+
198
+ # Output only. ID of the project.
199
+ # Corresponds to the JSON property `projectId`
200
+ # @return [String]
201
+ attr_accessor :project_id
202
+
203
+ # Artifacts created by the build pipeline.
204
+ # Corresponds to the JSON property `results`
205
+ # @return [Google::Apis::CloudbuildV1alpha2::Results]
206
+ attr_accessor :results
207
+
208
+ # Secrets to decrypt using Cloud Key Management Service.
209
+ # Corresponds to the JSON property `secrets`
210
+ # @return [Array<Google::Apis::CloudbuildV1alpha2::Secret>]
211
+ attr_accessor :secrets
212
+
213
+ # Location of the source in a supported storage service.
214
+ # Corresponds to the JSON property `source`
215
+ # @return [Google::Apis::CloudbuildV1alpha2::Source]
216
+ attr_accessor :source
217
+
218
+ # Provenance of the source. Ways to find the original source, or verify that
219
+ # some source was used for this build.
220
+ # Corresponds to the JSON property `sourceProvenance`
221
+ # @return [Google::Apis::CloudbuildV1alpha2::SourceProvenance]
222
+ attr_accessor :source_provenance
223
+
224
+ # Output only. Time at which execution of the build was started.
225
+ # Corresponds to the JSON property `startTime`
226
+ # @return [String]
227
+ attr_accessor :start_time
228
+
229
+ # Output only. Status of the build.
230
+ # Corresponds to the JSON property `status`
231
+ # @return [String]
232
+ attr_accessor :status
233
+
234
+ # Output only. Customer-readable message about the current status.
235
+ # Corresponds to the JSON property `statusDetail`
236
+ # @return [String]
237
+ attr_accessor :status_detail
238
+
239
+ # Required. The operations to be performed on the workspace.
240
+ # Corresponds to the JSON property `steps`
241
+ # @return [Array<Google::Apis::CloudbuildV1alpha2::BuildStep>]
242
+ attr_accessor :steps
243
+
244
+ # Substitutions data for `Build` resource.
245
+ # Corresponds to the JSON property `substitutions`
246
+ # @return [Hash<String,String>]
247
+ attr_accessor :substitutions
248
+
249
+ # Tags for annotation of a `Build`. These are not docker tags.
250
+ # Corresponds to the JSON property `tags`
251
+ # @return [Array<String>]
252
+ attr_accessor :tags
253
+
254
+ # Amount of time that this build should be allowed to run, to second
255
+ # granularity. If this amount of time elapses, work on the build will cease
256
+ # and the build status will be `TIMEOUT`.
257
+ # Default time is ten minutes.
258
+ # Corresponds to the JSON property `timeout`
259
+ # @return [String]
260
+ attr_accessor :timeout
261
+
262
+ # Output only. Stores timing information for phases of the build. Valid keys
263
+ # are:
264
+ # * BUILD: time to execute all build steps
265
+ # * PUSH: time to push all specified images.
266
+ # * FETCHSOURCE: time to fetch source.
267
+ # If the build does not specify source or images,
268
+ # these keys will not be included.
269
+ # Corresponds to the JSON property `timing`
270
+ # @return [Hash<String,Google::Apis::CloudbuildV1alpha2::TimeSpan>]
271
+ attr_accessor :timing
272
+
273
+ def initialize(**args)
274
+ update!(**args)
275
+ end
276
+
277
+ # Update properties of this object
278
+ def update!(**args)
279
+ @artifacts = args[:artifacts] if args.key?(:artifacts)
280
+ @build_trigger_id = args[:build_trigger_id] if args.key?(:build_trigger_id)
281
+ @create_time = args[:create_time] if args.key?(:create_time)
282
+ @finish_time = args[:finish_time] if args.key?(:finish_time)
283
+ @id = args[:id] if args.key?(:id)
284
+ @images = args[:images] if args.key?(:images)
285
+ @log_url = args[:log_url] if args.key?(:log_url)
286
+ @logs_bucket = args[:logs_bucket] if args.key?(:logs_bucket)
287
+ @options = args[:options] if args.key?(:options)
288
+ @project_id = args[:project_id] if args.key?(:project_id)
289
+ @results = args[:results] if args.key?(:results)
290
+ @secrets = args[:secrets] if args.key?(:secrets)
291
+ @source = args[:source] if args.key?(:source)
292
+ @source_provenance = args[:source_provenance] if args.key?(:source_provenance)
293
+ @start_time = args[:start_time] if args.key?(:start_time)
294
+ @status = args[:status] if args.key?(:status)
295
+ @status_detail = args[:status_detail] if args.key?(:status_detail)
296
+ @steps = args[:steps] if args.key?(:steps)
297
+ @substitutions = args[:substitutions] if args.key?(:substitutions)
298
+ @tags = args[:tags] if args.key?(:tags)
299
+ @timeout = args[:timeout] if args.key?(:timeout)
300
+ @timing = args[:timing] if args.key?(:timing)
301
+ end
302
+ end
303
+
304
+ # Metadata for build operations.
305
+ class BuildOperationMetadata
306
+ include Google::Apis::Core::Hashable
307
+
308
+ # A build resource in the Cloud Build API.
309
+ # At a high level, a `Build` describes where to find source code, how to build
310
+ # it (for example, the builder image to run on the source), and where to store
311
+ # the built artifacts.
312
+ # Fields can include the following variables, which will be expanded when the
313
+ # build is created:
314
+ # - $PROJECT_ID: the project ID of the build.
315
+ # - $BUILD_ID: the autogenerated ID of the build.
316
+ # - $REPO_NAME: the source repository name specified by RepoSource.
317
+ # - $BRANCH_NAME: the branch name specified by RepoSource.
318
+ # - $TAG_NAME: the tag name specified by RepoSource.
319
+ # - $REVISION_ID or $COMMIT_SHA: the commit SHA specified by RepoSource or
320
+ # resolved from the specified branch or tag.
321
+ # - $SHORT_SHA: first 7 characters of $REVISION_ID or $COMMIT_SHA.
322
+ # Corresponds to the JSON property `build`
323
+ # @return [Google::Apis::CloudbuildV1alpha2::Build]
324
+ attr_accessor :build
325
+
326
+ def initialize(**args)
327
+ update!(**args)
328
+ end
329
+
330
+ # Update properties of this object
331
+ def update!(**args)
332
+ @build = args[:build] if args.key?(:build)
333
+ end
334
+ end
335
+
336
+ # Optional arguments to enable specific features of builds.
337
+ class BuildOptions
338
+ include Google::Apis::Core::Hashable
339
+
340
+ # Requested disk size for the VM that runs the build. Note that this is *NOT*
341
+ # "disk free"; some of the space will be used by the operating system and
342
+ # build utilities. Also note that this is the minimum disk size that will be
343
+ # allocated for the build -- the build may run with a larger disk than
344
+ # requested. At present, the maximum disk size is 1000GB; builds that request
345
+ # more than the maximum are rejected with an error.
346
+ # Corresponds to the JSON property `diskSizeGb`
347
+ # @return [Fixnum]
348
+ attr_accessor :disk_size_gb
349
+
350
+ # A list of global environment variable definitions that will exist for all
351
+ # build steps in this build. If a variable is defined in both globally and in
352
+ # a build step, the variable will use the build step value.
353
+ # The elements are of the form "KEY=VALUE" for the environment variable "KEY"
354
+ # being given the value "VALUE".
355
+ # Corresponds to the JSON property `env`
356
+ # @return [Array<String>]
357
+ attr_accessor :env
358
+
359
+ # Option to define build log streaming behavior to Google Cloud
360
+ # Storage.
361
+ # Corresponds to the JSON property `logStreamingOption`
362
+ # @return [String]
363
+ attr_accessor :log_streaming_option
364
+
365
+ # Option to specify the logging mode, which determines where the logs are
366
+ # stored.
367
+ # Corresponds to the JSON property `logging`
368
+ # @return [String]
369
+ attr_accessor :logging
370
+
371
+ # Compute Engine machine type on which to run the build.
372
+ # Corresponds to the JSON property `machineType`
373
+ # @return [String]
374
+ attr_accessor :machine_type
375
+
376
+ # Requested verifiability options.
377
+ # Corresponds to the JSON property `requestedVerifyOption`
378
+ # @return [String]
379
+ attr_accessor :requested_verify_option
380
+
381
+ # A list of global environment variables, which are encrypted using a Cloud
382
+ # Key Management Service crypto key. These values must be specified in the
383
+ # build's `Secret`. These variables will be available to all build steps
384
+ # in this build.
385
+ # Corresponds to the JSON property `secretEnv`
386
+ # @return [Array<String>]
387
+ attr_accessor :secret_env
388
+
389
+ # Requested hash for SourceProvenance.
390
+ # Corresponds to the JSON property `sourceProvenanceHash`
391
+ # @return [Array<String>]
392
+ attr_accessor :source_provenance_hash
393
+
394
+ # Option to specify behavior when there is an error in the substitution
395
+ # checks.
396
+ # Corresponds to the JSON property `substitutionOption`
397
+ # @return [String]
398
+ attr_accessor :substitution_option
399
+
400
+ # Global list of volumes to mount for ALL build steps
401
+ # Each volume is created as an empty volume prior to starting the build
402
+ # process. Upon completion of the build, volumes and their contents are
403
+ # discarded. Global volume names and paths cannot conflict with the volumes
404
+ # defined a build step.
405
+ # Using a global volume in a build with only one step is not valid as
406
+ # it is indicative of a build request with an incorrect configuration.
407
+ # Corresponds to the JSON property `volumes`
408
+ # @return [Array<Google::Apis::CloudbuildV1alpha2::Volume>]
409
+ attr_accessor :volumes
410
+
411
+ # Option to specify a `WorkerPool` for the build.
412
+ # Format: projects/`project`/workerPools/`workerPool`
413
+ # This field is experimental.
414
+ # Corresponds to the JSON property `workerPool`
415
+ # @return [String]
416
+ attr_accessor :worker_pool
417
+
418
+ def initialize(**args)
419
+ update!(**args)
420
+ end
421
+
422
+ # Update properties of this object
423
+ def update!(**args)
424
+ @disk_size_gb = args[:disk_size_gb] if args.key?(:disk_size_gb)
425
+ @env = args[:env] if args.key?(:env)
426
+ @log_streaming_option = args[:log_streaming_option] if args.key?(:log_streaming_option)
427
+ @logging = args[:logging] if args.key?(:logging)
428
+ @machine_type = args[:machine_type] if args.key?(:machine_type)
429
+ @requested_verify_option = args[:requested_verify_option] if args.key?(:requested_verify_option)
430
+ @secret_env = args[:secret_env] if args.key?(:secret_env)
431
+ @source_provenance_hash = args[:source_provenance_hash] if args.key?(:source_provenance_hash)
432
+ @substitution_option = args[:substitution_option] if args.key?(:substitution_option)
433
+ @volumes = args[:volumes] if args.key?(:volumes)
434
+ @worker_pool = args[:worker_pool] if args.key?(:worker_pool)
435
+ end
436
+ end
437
+
438
+ # A step in the build pipeline.
439
+ class BuildStep
440
+ include Google::Apis::Core::Hashable
441
+
442
+ # A list of arguments that will be presented to the step when it is started.
443
+ # If the image used to run the step's container has an entrypoint, the `args`
444
+ # are used as arguments to that entrypoint. If the image does not define
445
+ # an entrypoint, the first element in args is used as the entrypoint,
446
+ # and the remainder will be used as arguments.
447
+ # Corresponds to the JSON property `args`
448
+ # @return [Array<String>]
449
+ attr_accessor :args
450
+
451
+ # Working directory to use when running this step's container.
452
+ # If this value is a relative path, it is relative to the build's working
453
+ # directory. If this value is absolute, it may be outside the build's working
454
+ # directory, in which case the contents of the path may not be persisted
455
+ # across build step executions, unless a `volume` for that path is specified.
456
+ # If the build specifies a `RepoSource` with `dir` and a step with a `dir`,
457
+ # which specifies an absolute path, the `RepoSource` `dir` is ignored for
458
+ # the step's execution.
459
+ # Corresponds to the JSON property `dir`
460
+ # @return [String]
461
+ attr_accessor :dir
462
+
463
+ # Entrypoint to be used instead of the build step image's default entrypoint.
464
+ # If unset, the image's default entrypoint is used.
465
+ # Corresponds to the JSON property `entrypoint`
466
+ # @return [String]
467
+ attr_accessor :entrypoint
468
+
469
+ # A list of environment variable definitions to be used when running a step.
470
+ # The elements are of the form "KEY=VALUE" for the environment variable "KEY"
471
+ # being given the value "VALUE".
472
+ # Corresponds to the JSON property `env`
473
+ # @return [Array<String>]
474
+ attr_accessor :env
475
+
476
+ # Unique identifier for this build step, used in `wait_for` to
477
+ # reference this build step as a dependency.
478
+ # Corresponds to the JSON property `id`
479
+ # @return [String]
480
+ attr_accessor :id
481
+
482
+ # Required. The name of the container image that will run this particular
483
+ # build step.
484
+ # If the image is available in the host's Docker daemon's cache, it
485
+ # will be run directly. If not, the host will attempt to pull the image
486
+ # first, using the builder service account's credentials if necessary.
487
+ # The Docker daemon's cache will already have the latest versions of all of
488
+ # the officially supported build steps
489
+ # ([https://github.com/GoogleCloudPlatform/cloud-builders](https://github.com/
490
+ # GoogleCloudPlatform/cloud-builders)).
491
+ # The Docker daemon will also have cached many of the layers for some popular
492
+ # images, like "ubuntu", "debian", but they will be refreshed at the time you
493
+ # attempt to use them.
494
+ # If you built an image in a previous build step, it will be stored in the
495
+ # host's Docker daemon's cache and is available to use as the name for a
496
+ # later build step.
497
+ # Corresponds to the JSON property `name`
498
+ # @return [String]
499
+ attr_accessor :name
500
+
501
+ # Start and end times for a build execution phase.
502
+ # Corresponds to the JSON property `pullTiming`
503
+ # @return [Google::Apis::CloudbuildV1alpha2::TimeSpan]
504
+ attr_accessor :pull_timing
505
+
506
+ # A list of environment variables which are encrypted using a Cloud Key
507
+ # Management Service crypto key. These values must be specified in the
508
+ # build's `Secret`.
509
+ # Corresponds to the JSON property `secretEnv`
510
+ # @return [Array<String>]
511
+ attr_accessor :secret_env
512
+
513
+ # Output only. Status of the build step. At this time, build step status is
514
+ # only updated on build completion; step status is not updated in real-time
515
+ # as the build progresses.
516
+ # Corresponds to the JSON property `status`
517
+ # @return [String]
518
+ attr_accessor :status
519
+
520
+ # Time limit for executing this build step. If not defined, the step has no
521
+ # time limit and will be allowed to continue to run until either it completes
522
+ # or the build itself times out.
523
+ # Corresponds to the JSON property `timeout`
524
+ # @return [String]
525
+ attr_accessor :timeout
526
+
527
+ # Start and end times for a build execution phase.
528
+ # Corresponds to the JSON property `timing`
529
+ # @return [Google::Apis::CloudbuildV1alpha2::TimeSpan]
530
+ attr_accessor :timing
531
+
532
+ # List of volumes to mount into the build step.
533
+ # Each volume is created as an empty volume prior to execution of the
534
+ # build step. Upon completion of the build, volumes and their contents are
535
+ # discarded.
536
+ # Using a named volume in only one step is not valid as it is indicative
537
+ # of a build request with an incorrect configuration.
538
+ # Corresponds to the JSON property `volumes`
539
+ # @return [Array<Google::Apis::CloudbuildV1alpha2::Volume>]
540
+ attr_accessor :volumes
541
+
542
+ # The ID(s) of the step(s) that this build step depends on.
543
+ # This build step will not start until all the build steps in `wait_for`
544
+ # have completed successfully. If `wait_for` is empty, this build step will
545
+ # start when all previous build steps in the `Build.Steps` list have
546
+ # completed successfully.
547
+ # Corresponds to the JSON property `waitFor`
548
+ # @return [Array<String>]
549
+ attr_accessor :wait_for
550
+
551
+ def initialize(**args)
552
+ update!(**args)
553
+ end
554
+
555
+ # Update properties of this object
556
+ def update!(**args)
557
+ @args = args[:args] if args.key?(:args)
558
+ @dir = args[:dir] if args.key?(:dir)
559
+ @entrypoint = args[:entrypoint] if args.key?(:entrypoint)
560
+ @env = args[:env] if args.key?(:env)
561
+ @id = args[:id] if args.key?(:id)
562
+ @name = args[:name] if args.key?(:name)
563
+ @pull_timing = args[:pull_timing] if args.key?(:pull_timing)
564
+ @secret_env = args[:secret_env] if args.key?(:secret_env)
565
+ @status = args[:status] if args.key?(:status)
566
+ @timeout = args[:timeout] if args.key?(:timeout)
567
+ @timing = args[:timing] if args.key?(:timing)
568
+ @volumes = args[:volumes] if args.key?(:volumes)
569
+ @wait_for = args[:wait_for] if args.key?(:wait_for)
570
+ end
571
+ end
572
+
573
+ # An image built by the pipeline.
574
+ class BuiltImage
575
+ include Google::Apis::Core::Hashable
576
+
577
+ # Docker Registry 2.0 digest.
578
+ # Corresponds to the JSON property `digest`
579
+ # @return [String]
580
+ attr_accessor :digest
581
+
582
+ # Name used to push the container image to Google Container Registry, as
583
+ # presented to `docker push`.
584
+ # Corresponds to the JSON property `name`
585
+ # @return [String]
586
+ attr_accessor :name
587
+
588
+ # Start and end times for a build execution phase.
589
+ # Corresponds to the JSON property `pushTiming`
590
+ # @return [Google::Apis::CloudbuildV1alpha2::TimeSpan]
591
+ attr_accessor :push_timing
592
+
593
+ def initialize(**args)
594
+ update!(**args)
595
+ end
596
+
597
+ # Update properties of this object
598
+ def update!(**args)
599
+ @digest = args[:digest] if args.key?(:digest)
600
+ @name = args[:name] if args.key?(:name)
601
+ @push_timing = args[:push_timing] if args.key?(:push_timing)
602
+ end
603
+ end
604
+
605
+ # A generic empty message that you can re-use to avoid defining duplicated
606
+ # empty messages in your APIs. A typical example is to use it as the request
607
+ # or the response type of an API method. For instance:
608
+ # service Foo `
609
+ # rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty);
610
+ # `
611
+ # The JSON representation for `Empty` is empty JSON object ````.
612
+ class Empty
613
+ include Google::Apis::Core::Hashable
614
+
615
+ def initialize(**args)
616
+ update!(**args)
617
+ end
618
+
619
+ # Update properties of this object
620
+ def update!(**args)
621
+ end
622
+ end
623
+
624
+ # Container message for hashes of byte content of files, used in
625
+ # SourceProvenance messages to verify integrity of source input to the build.
626
+ class FileHashes
627
+ include Google::Apis::Core::Hashable
628
+
629
+ # Collection of file hashes.
630
+ # Corresponds to the JSON property `fileHash`
631
+ # @return [Array<Google::Apis::CloudbuildV1alpha2::HashProp>]
632
+ attr_accessor :file_hash
633
+
634
+ def initialize(**args)
635
+ update!(**args)
636
+ end
637
+
638
+ # Update properties of this object
639
+ def update!(**args)
640
+ @file_hash = args[:file_hash] if args.key?(:file_hash)
641
+ end
642
+ end
643
+
644
+ # Container message for hash values.
645
+ class HashProp
646
+ include Google::Apis::Core::Hashable
647
+
648
+ # The type of hash that was performed.
649
+ # Corresponds to the JSON property `type`
650
+ # @return [String]
651
+ attr_accessor :type
652
+
653
+ # The hash value.
654
+ # Corresponds to the JSON property `value`
655
+ # NOTE: Values are automatically base64 encoded/decoded in the client library.
656
+ # @return [String]
657
+ attr_accessor :value
658
+
659
+ def initialize(**args)
660
+ update!(**args)
661
+ end
662
+
663
+ # Update properties of this object
664
+ def update!(**args)
665
+ @type = args[:type] if args.key?(:type)
666
+ @value = args[:value] if args.key?(:value)
667
+ end
668
+ end
669
+
670
+ # Response containing existing `WorkerPools`.
671
+ class ListWorkerPoolsResponse
672
+ include Google::Apis::Core::Hashable
673
+
674
+ # `WorkerPools` for the specified project.
675
+ # Corresponds to the JSON property `workerPools`
676
+ # @return [Array<Google::Apis::CloudbuildV1alpha2::WorkerPool>]
677
+ attr_accessor :worker_pools
678
+
679
+ def initialize(**args)
680
+ update!(**args)
681
+ end
682
+
683
+ # Update properties of this object
684
+ def update!(**args)
685
+ @worker_pools = args[:worker_pools] if args.key?(:worker_pools)
686
+ end
687
+ end
688
+
689
+ # Network describes the network configuration for a `WorkerPool`.
690
+ class NetworkConfig
691
+ include Google::Apis::Core::Hashable
692
+
693
+ # Required. Immutable. The network definition that the workers are peered to.
694
+ # If this section is left empty, the workers will be peered to
695
+ # WorkerPool.project_id on the default network. Must be in the format
696
+ # `projects/`project`/global/networks/`network``, where `project`
697
+ # is a project number, such as `12345`, and `network` is the name of a
698
+ # VPC network in the project.
699
+ # Corresponds to the JSON property `peeredNetwork`
700
+ # @return [String]
701
+ attr_accessor :peered_network
702
+
703
+ def initialize(**args)
704
+ update!(**args)
705
+ end
706
+
707
+ # Update properties of this object
708
+ def update!(**args)
709
+ @peered_network = args[:peered_network] if args.key?(:peered_network)
710
+ end
711
+ end
712
+
713
+ # Location of the source in a Google Cloud Source Repository.
714
+ class RepoSource
715
+ include Google::Apis::Core::Hashable
716
+
717
+ # Regex matching branches to build.
718
+ # The syntax of the regular expressions accepted is the syntax accepted by
719
+ # RE2 and described at https://github.com/google/re2/wiki/Syntax
720
+ # Corresponds to the JSON property `branchName`
721
+ # @return [String]
722
+ attr_accessor :branch_name
723
+
724
+ # Explicit commit SHA to build.
725
+ # Corresponds to the JSON property `commitSha`
726
+ # @return [String]
727
+ attr_accessor :commit_sha
728
+
729
+ # Directory, relative to the source root, in which to run the build.
730
+ # This must be a relative path. If a step's `dir` is specified and is an
731
+ # absolute path, this value is ignored for that step's execution.
732
+ # Corresponds to the JSON property `dir`
733
+ # @return [String]
734
+ attr_accessor :dir
735
+
736
+ # ID of the project that owns the Cloud Source Repository. If omitted, the
737
+ # project ID requesting the build is assumed.
738
+ # Corresponds to the JSON property `projectId`
739
+ # @return [String]
740
+ attr_accessor :project_id
741
+
742
+ # Required. Name of the Cloud Source Repository.
743
+ # Corresponds to the JSON property `repoName`
744
+ # @return [String]
745
+ attr_accessor :repo_name
746
+
747
+ # Substitutions to use in a triggered build.
748
+ # Should only be used with RunBuildTrigger
749
+ # Corresponds to the JSON property `substitutions`
750
+ # @return [Hash<String,String>]
751
+ attr_accessor :substitutions
752
+
753
+ # Regex matching tags to build.
754
+ # The syntax of the regular expressions accepted is the syntax accepted by
755
+ # RE2 and described at https://github.com/google/re2/wiki/Syntax
756
+ # Corresponds to the JSON property `tagName`
757
+ # @return [String]
758
+ attr_accessor :tag_name
759
+
760
+ def initialize(**args)
761
+ update!(**args)
762
+ end
763
+
764
+ # Update properties of this object
765
+ def update!(**args)
766
+ @branch_name = args[:branch_name] if args.key?(:branch_name)
767
+ @commit_sha = args[:commit_sha] if args.key?(:commit_sha)
768
+ @dir = args[:dir] if args.key?(:dir)
769
+ @project_id = args[:project_id] if args.key?(:project_id)
770
+ @repo_name = args[:repo_name] if args.key?(:repo_name)
771
+ @substitutions = args[:substitutions] if args.key?(:substitutions)
772
+ @tag_name = args[:tag_name] if args.key?(:tag_name)
773
+ end
774
+ end
775
+
776
+ # Artifacts created by the build pipeline.
777
+ class Results
778
+ include Google::Apis::Core::Hashable
779
+
780
+ # Path to the artifact manifest. Only populated when artifacts are uploaded.
781
+ # Corresponds to the JSON property `artifactManifest`
782
+ # @return [String]
783
+ attr_accessor :artifact_manifest
784
+
785
+ # Start and end times for a build execution phase.
786
+ # Corresponds to the JSON property `artifactTiming`
787
+ # @return [Google::Apis::CloudbuildV1alpha2::TimeSpan]
788
+ attr_accessor :artifact_timing
789
+
790
+ # List of build step digests, in the order corresponding to build step
791
+ # indices.
792
+ # Corresponds to the JSON property `buildStepImages`
793
+ # @return [Array<String>]
794
+ attr_accessor :build_step_images
795
+
796
+ # List of build step outputs, produced by builder images, in the order
797
+ # corresponding to build step indices.
798
+ # [Cloud Builders](https://cloud.google.com/cloud-build/docs/cloud-builders)
799
+ # can produce this output by writing to `$BUILDER_OUTPUT/output`.
800
+ # Only the first 4KB of data is stored.
801
+ # Corresponds to the JSON property `buildStepOutputs`
802
+ # @return [Array<String>]
803
+ attr_accessor :build_step_outputs
804
+
805
+ # Container images that were built as a part of the build.
806
+ # Corresponds to the JSON property `images`
807
+ # @return [Array<Google::Apis::CloudbuildV1alpha2::BuiltImage>]
808
+ attr_accessor :images
809
+
810
+ # Number of artifacts uploaded. Only populated when artifacts are uploaded.
811
+ # Corresponds to the JSON property `numArtifacts`
812
+ # @return [Fixnum]
813
+ attr_accessor :num_artifacts
814
+
815
+ def initialize(**args)
816
+ update!(**args)
817
+ end
818
+
819
+ # Update properties of this object
820
+ def update!(**args)
821
+ @artifact_manifest = args[:artifact_manifest] if args.key?(:artifact_manifest)
822
+ @artifact_timing = args[:artifact_timing] if args.key?(:artifact_timing)
823
+ @build_step_images = args[:build_step_images] if args.key?(:build_step_images)
824
+ @build_step_outputs = args[:build_step_outputs] if args.key?(:build_step_outputs)
825
+ @images = args[:images] if args.key?(:images)
826
+ @num_artifacts = args[:num_artifacts] if args.key?(:num_artifacts)
827
+ end
828
+ end
829
+
830
+ # Pairs a set of secret environment variables containing encrypted
831
+ # values with the Cloud KMS key to use to decrypt the value.
832
+ class Secret
833
+ include Google::Apis::Core::Hashable
834
+
835
+ # Cloud KMS key name to use to decrypt these envs.
836
+ # Corresponds to the JSON property `kmsKeyName`
837
+ # @return [String]
838
+ attr_accessor :kms_key_name
839
+
840
+ # Map of environment variable name to its encrypted value.
841
+ # Secret environment variables must be unique across all of a build's
842
+ # secrets, and must be used by at least one build step. Values can be at most
843
+ # 64 KB in size. There can be at most 100 secret values across all of a
844
+ # build's secrets.
845
+ # Corresponds to the JSON property `secretEnv`
846
+ # @return [Hash<String,String>]
847
+ attr_accessor :secret_env
848
+
849
+ def initialize(**args)
850
+ update!(**args)
851
+ end
852
+
853
+ # Update properties of this object
854
+ def update!(**args)
855
+ @kms_key_name = args[:kms_key_name] if args.key?(:kms_key_name)
856
+ @secret_env = args[:secret_env] if args.key?(:secret_env)
857
+ end
858
+ end
859
+
860
+ # Location of the source in a supported storage service.
861
+ class Source
862
+ include Google::Apis::Core::Hashable
863
+
864
+ # Location of the source in a Google Cloud Source Repository.
865
+ # Corresponds to the JSON property `repoSource`
866
+ # @return [Google::Apis::CloudbuildV1alpha2::RepoSource]
867
+ attr_accessor :repo_source
868
+
869
+ # Location of the source in an archive file in Google Cloud Storage.
870
+ # Corresponds to the JSON property `storageSource`
871
+ # @return [Google::Apis::CloudbuildV1alpha2::StorageSource]
872
+ attr_accessor :storage_source
873
+
874
+ def initialize(**args)
875
+ update!(**args)
876
+ end
877
+
878
+ # Update properties of this object
879
+ def update!(**args)
880
+ @repo_source = args[:repo_source] if args.key?(:repo_source)
881
+ @storage_source = args[:storage_source] if args.key?(:storage_source)
882
+ end
883
+ end
884
+
885
+ # Provenance of the source. Ways to find the original source, or verify that
886
+ # some source was used for this build.
887
+ class SourceProvenance
888
+ include Google::Apis::Core::Hashable
889
+
890
+ # Output only. Hash(es) of the build source, which can be used to verify that
891
+ # the original source integrity was maintained in the build. Note that
892
+ # `FileHashes` will only be populated if `BuildOptions` has requested a
893
+ # `SourceProvenanceHash`.
894
+ # The keys to this map are file paths used as build source and the values
895
+ # contain the hash values for those files.
896
+ # If the build source came in a single package such as a gzipped tarfile
897
+ # (`.tar.gz`), the `FileHash` will be for the single path to that file.
898
+ # Corresponds to the JSON property `fileHashes`
899
+ # @return [Hash<String,Google::Apis::CloudbuildV1alpha2::FileHashes>]
900
+ attr_accessor :file_hashes
901
+
902
+ # Location of the source in a Google Cloud Source Repository.
903
+ # Corresponds to the JSON property `resolvedRepoSource`
904
+ # @return [Google::Apis::CloudbuildV1alpha2::RepoSource]
905
+ attr_accessor :resolved_repo_source
906
+
907
+ # Location of the source in an archive file in Google Cloud Storage.
908
+ # Corresponds to the JSON property `resolvedStorageSource`
909
+ # @return [Google::Apis::CloudbuildV1alpha2::StorageSource]
910
+ attr_accessor :resolved_storage_source
911
+
912
+ def initialize(**args)
913
+ update!(**args)
914
+ end
915
+
916
+ # Update properties of this object
917
+ def update!(**args)
918
+ @file_hashes = args[:file_hashes] if args.key?(:file_hashes)
919
+ @resolved_repo_source = args[:resolved_repo_source] if args.key?(:resolved_repo_source)
920
+ @resolved_storage_source = args[:resolved_storage_source] if args.key?(:resolved_storage_source)
921
+ end
922
+ end
923
+
924
+ # Location of the source in an archive file in Google Cloud Storage.
925
+ class StorageSource
926
+ include Google::Apis::Core::Hashable
927
+
928
+ # Google Cloud Storage bucket containing the source (see
929
+ # [Bucket Name
930
+ # Requirements](https://cloud.google.com/storage/docs/bucket-naming#requirements)
931
+ # ).
932
+ # Corresponds to the JSON property `bucket`
933
+ # @return [String]
934
+ attr_accessor :bucket
935
+
936
+ # Google Cloud Storage generation for the object. If the generation is
937
+ # omitted, the latest generation will be used.
938
+ # Corresponds to the JSON property `generation`
939
+ # @return [Fixnum]
940
+ attr_accessor :generation
941
+
942
+ # Google Cloud Storage object containing the source.
943
+ # This object must be a gzipped archive file (`.tar.gz`) containing source to
944
+ # build.
945
+ # Corresponds to the JSON property `object`
946
+ # @return [String]
947
+ attr_accessor :object
948
+
949
+ def initialize(**args)
950
+ update!(**args)
951
+ end
952
+
953
+ # Update properties of this object
954
+ def update!(**args)
955
+ @bucket = args[:bucket] if args.key?(:bucket)
956
+ @generation = args[:generation] if args.key?(:generation)
957
+ @object = args[:object] if args.key?(:object)
958
+ end
959
+ end
960
+
961
+ # Start and end times for a build execution phase.
962
+ class TimeSpan
963
+ include Google::Apis::Core::Hashable
964
+
965
+ # End of time span.
966
+ # Corresponds to the JSON property `endTime`
967
+ # @return [String]
968
+ attr_accessor :end_time
969
+
970
+ # Start of time span.
971
+ # Corresponds to the JSON property `startTime`
972
+ # @return [String]
973
+ attr_accessor :start_time
974
+
975
+ def initialize(**args)
976
+ update!(**args)
977
+ end
978
+
979
+ # Update properties of this object
980
+ def update!(**args)
981
+ @end_time = args[:end_time] if args.key?(:end_time)
982
+ @start_time = args[:start_time] if args.key?(:start_time)
983
+ end
984
+ end
985
+
986
+ # Volume describes a Docker container volume which is mounted into build steps
987
+ # in order to persist files across build step execution.
988
+ class Volume
989
+ include Google::Apis::Core::Hashable
990
+
991
+ # Name of the volume to mount.
992
+ # Volume names must be unique per build step and must be valid names for
993
+ # Docker volumes. Each named volume must be used by at least two build steps.
994
+ # Corresponds to the JSON property `name`
995
+ # @return [String]
996
+ attr_accessor :name
997
+
998
+ # Path at which to mount the volume.
999
+ # Paths must be absolute and cannot conflict with other volume paths on the
1000
+ # same build step or with certain reserved volume paths.
1001
+ # Corresponds to the JSON property `path`
1002
+ # @return [String]
1003
+ attr_accessor :path
1004
+
1005
+ def initialize(**args)
1006
+ update!(**args)
1007
+ end
1008
+
1009
+ # Update properties of this object
1010
+ def update!(**args)
1011
+ @name = args[:name] if args.key?(:name)
1012
+ @path = args[:path] if args.key?(:path)
1013
+ end
1014
+ end
1015
+
1016
+ # WorkerConfig defines the configuration to be used for a creating workers in
1017
+ # the pool.
1018
+ class WorkerConfig
1019
+ include Google::Apis::Core::Hashable
1020
+
1021
+ # Size of the disk attached to the worker, in GB.
1022
+ # See https://cloud.google.com/compute/docs/disks/
1023
+ # If `0` is specified, Cloud Build will use a standard disk size.
1024
+ # Corresponds to the JSON property `diskSizeGb`
1025
+ # @return [Fixnum]
1026
+ attr_accessor :disk_size_gb
1027
+
1028
+ # Machine Type of the worker, such as n1-standard-1.
1029
+ # See https://cloud.google.com/compute/docs/machine-types.
1030
+ # If left blank, Cloud Build will use a standard unspecified machine to
1031
+ # create the worker pool.
1032
+ # Corresponds to the JSON property `machineType`
1033
+ # @return [String]
1034
+ attr_accessor :machine_type
1035
+
1036
+ def initialize(**args)
1037
+ update!(**args)
1038
+ end
1039
+
1040
+ # Update properties of this object
1041
+ def update!(**args)
1042
+ @disk_size_gb = args[:disk_size_gb] if args.key?(:disk_size_gb)
1043
+ @machine_type = args[:machine_type] if args.key?(:machine_type)
1044
+ end
1045
+ end
1046
+
1047
+ # Configuration for a WorkerPool to run the builds.
1048
+ # Workers are machines that Cloud Build uses to run your builds. By default,
1049
+ # all workers run in a project owned by Cloud Build. To have full control over
1050
+ # the workers that execute your builds -- such as enabling them to access
1051
+ # private resources on your private network -- you can request Cloud Build to
1052
+ # run the workers in your own project by creating a custom workers pool.
1053
+ class WorkerPool
1054
+ include Google::Apis::Core::Hashable
1055
+
1056
+ # Output only. Time at which the request to create the `WorkerPool` was
1057
+ # received.
1058
+ # Corresponds to the JSON property `createTime`
1059
+ # @return [String]
1060
+ attr_accessor :create_time
1061
+
1062
+ # Output only. Time at which the request to delete the `WorkerPool` was
1063
+ # received.
1064
+ # Corresponds to the JSON property `deleteTime`
1065
+ # @return [String]
1066
+ attr_accessor :delete_time
1067
+
1068
+ # Output only. The resource name of the `WorkerPool`.
1069
+ # Format of the name is `projects/`project_id`/workerPools/`worker_pool_id``,
1070
+ # where the value of `worker_pool_id` is provided in the CreateWorkerPool
1071
+ # request.
1072
+ # Corresponds to the JSON property `name`
1073
+ # @return [String]
1074
+ attr_accessor :name
1075
+
1076
+ # Network describes the network configuration for a `WorkerPool`.
1077
+ # Corresponds to the JSON property `networkConfig`
1078
+ # @return [Google::Apis::CloudbuildV1alpha2::NetworkConfig]
1079
+ attr_accessor :network_config
1080
+
1081
+ # Required. Immutable. The region where the `WorkerPool` runs. Only "us-central1"
1082
+ # is currently
1083
+ # supported.
1084
+ # Note that `region` cannot be changed once the `WorkerPool` is created.
1085
+ # Corresponds to the JSON property `region`
1086
+ # @return [String]
1087
+ attr_accessor :region
1088
+
1089
+ # Output only. WorkerPool state.
1090
+ # Corresponds to the JSON property `state`
1091
+ # @return [String]
1092
+ attr_accessor :state
1093
+
1094
+ # Output only. Time at which the request to update the `WorkerPool` was
1095
+ # received.
1096
+ # Corresponds to the JSON property `updateTime`
1097
+ # @return [String]
1098
+ attr_accessor :update_time
1099
+
1100
+ # WorkerConfig defines the configuration to be used for a creating workers in
1101
+ # the pool.
1102
+ # Corresponds to the JSON property `workerConfig`
1103
+ # @return [Google::Apis::CloudbuildV1alpha2::WorkerConfig]
1104
+ attr_accessor :worker_config
1105
+
1106
+ def initialize(**args)
1107
+ update!(**args)
1108
+ end
1109
+
1110
+ # Update properties of this object
1111
+ def update!(**args)
1112
+ @create_time = args[:create_time] if args.key?(:create_time)
1113
+ @delete_time = args[:delete_time] if args.key?(:delete_time)
1114
+ @name = args[:name] if args.key?(:name)
1115
+ @network_config = args[:network_config] if args.key?(:network_config)
1116
+ @region = args[:region] if args.key?(:region)
1117
+ @state = args[:state] if args.key?(:state)
1118
+ @update_time = args[:update_time] if args.key?(:update_time)
1119
+ @worker_config = args[:worker_config] if args.key?(:worker_config)
1120
+ end
1121
+ end
1122
+ end
1123
+ end
1124
+ end