google-api-client 0.32.1 → 0.36.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (491) hide show
  1. checksums.yaml +5 -5
  2. data/.kokoro/continuous/linux.cfg +2 -2
  3. data/.kokoro/continuous/post.cfg +30 -0
  4. data/.kokoro/presubmit/linux.cfg +1 -1
  5. data/.kokoro/release.cfg +94 -0
  6. data/.repo-metadata.json +5 -0
  7. data/.rubocop.yml +5 -0
  8. data/.yardopts +16 -3
  9. data/CHANGELOG.md +327 -0
  10. data/Gemfile +1 -0
  11. data/OVERVIEW.md +36 -0
  12. data/README.md +50 -2
  13. data/Rakefile +71 -2
  14. data/docs/api-keys.md +20 -0
  15. data/docs/auth.md +53 -0
  16. data/docs/client-secrets.md +69 -0
  17. data/docs/getting-started.md +340 -0
  18. data/docs/installation.md +0 -0
  19. data/docs/logging.md +34 -0
  20. data/docs/media-upload.md +25 -0
  21. data/docs/oauth-installed.md +191 -0
  22. data/docs/oauth-server.md +135 -0
  23. data/docs/oauth-web.md +280 -0
  24. data/docs/oauth.md +268 -0
  25. data/docs/pagination.md +29 -0
  26. data/docs/performance.md +25 -0
  27. data/generated/google/apis/accessapproval_v1beta1/classes.rb +35 -2
  28. data/generated/google/apis/accessapproval_v1beta1/representations.rb +13 -0
  29. data/generated/google/apis/accessapproval_v1beta1/service.rb +108 -6
  30. data/generated/google/apis/accessapproval_v1beta1.rb +1 -1
  31. data/generated/google/apis/accesscontextmanager_v1/classes.rb +1 -1
  32. data/generated/google/apis/accesscontextmanager_v1.rb +1 -1
  33. data/generated/google/apis/accesscontextmanager_v1beta/classes.rb +1 -73
  34. data/generated/google/apis/accesscontextmanager_v1beta/representations.rb +0 -32
  35. data/generated/google/apis/accesscontextmanager_v1beta.rb +1 -1
  36. data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
  37. data/generated/google/apis/adexchangebuyer_v1_3/classes.rb +24 -2
  38. data/generated/google/apis/adexchangebuyer_v1_3/representations.rb +1 -0
  39. data/generated/google/apis/adexchangebuyer_v1_3.rb +1 -1
  40. data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +25 -3
  41. data/generated/google/apis/adexchangebuyer_v1_4/representations.rb +1 -0
  42. data/generated/google/apis/adexchangebuyer_v1_4.rb +1 -1
  43. data/generated/google/apis/admin_datatransfer_v1/classes.rb +5 -5
  44. data/generated/google/apis/admin_datatransfer_v1/service.rb +2 -2
  45. data/generated/google/apis/admin_datatransfer_v1.rb +1 -1
  46. data/generated/google/apis/admin_directory_v1/classes.rb +4 -3
  47. data/generated/google/apis/admin_directory_v1.rb +4 -1
  48. data/generated/google/apis/admin_reports_v1/classes.rb +87 -44
  49. data/generated/google/apis/admin_reports_v1/service.rb +310 -64
  50. data/generated/google/apis/admin_reports_v1.rb +2 -2
  51. data/generated/google/apis/androidmanagement_v1.rb +1 -1
  52. data/generated/google/apis/androidpublisher_v3/classes.rb +105 -0
  53. data/generated/google/apis/androidpublisher_v3/representations.rb +51 -0
  54. data/generated/google/apis/androidpublisher_v3.rb +1 -1
  55. data/generated/google/apis/appengine_v1/service.rb +10 -6
  56. data/generated/google/apis/appengine_v1.rb +1 -1
  57. data/generated/google/apis/appengine_v1beta/service.rb +10 -6
  58. data/generated/google/apis/appengine_v1beta.rb +1 -1
  59. data/generated/google/apis/appsmarket_v2.rb +1 -1
  60. data/generated/google/apis/bigquery_v2/classes.rb +104 -23
  61. data/generated/google/apis/bigquery_v2/representations.rb +37 -0
  62. data/generated/google/apis/bigquery_v2/service.rb +1 -5
  63. data/generated/google/apis/bigquery_v2.rb +1 -1
  64. data/generated/google/apis/bigqueryconnection_v1beta1/classes.rb +6 -5
  65. data/generated/google/apis/bigqueryconnection_v1beta1/service.rb +3 -2
  66. data/generated/google/apis/bigqueryconnection_v1beta1.rb +1 -1
  67. data/generated/google/apis/bigquerydatatransfer_v1/service.rb +30 -4
  68. data/generated/google/apis/bigquerydatatransfer_v1.rb +1 -1
  69. data/generated/google/apis/bigqueryreservation_v1/classes.rb +0 -21
  70. data/generated/google/apis/bigqueryreservation_v1/representations.rb +0 -13
  71. data/generated/google/apis/bigqueryreservation_v1.rb +1 -1
  72. data/generated/google/apis/bigqueryreservation_v1alpha2/classes.rb +116 -1
  73. data/generated/google/apis/bigqueryreservation_v1alpha2/representations.rb +35 -0
  74. data/generated/google/apis/bigqueryreservation_v1alpha2/service.rb +71 -0
  75. data/generated/google/apis/bigqueryreservation_v1alpha2.rb +1 -1
  76. data/generated/google/apis/bigqueryreservation_v1beta1/classes.rb +61 -77
  77. data/generated/google/apis/bigqueryreservation_v1beta1/representations.rb +16 -17
  78. data/generated/google/apis/bigqueryreservation_v1beta1/service.rb +116 -78
  79. data/generated/google/apis/bigqueryreservation_v1beta1.rb +1 -1
  80. data/generated/google/apis/bigtableadmin_v1/classes.rb +1 -1
  81. data/generated/google/apis/bigtableadmin_v1.rb +1 -1
  82. data/generated/google/apis/bigtableadmin_v2/classes.rb +63 -30
  83. data/generated/google/apis/bigtableadmin_v2/service.rb +1 -1
  84. data/generated/google/apis/bigtableadmin_v2.rb +1 -1
  85. data/generated/google/apis/billingbudgets_v1beta1/classes.rb +392 -0
  86. data/generated/google/apis/billingbudgets_v1beta1/representations.rb +191 -0
  87. data/generated/google/apis/billingbudgets_v1beta1/service.rb +233 -0
  88. data/generated/google/apis/billingbudgets_v1beta1.rb +35 -0
  89. data/generated/google/apis/binaryauthorization_v1/classes.rb +6 -5
  90. data/generated/google/apis/binaryauthorization_v1/service.rb +2 -0
  91. data/generated/google/apis/binaryauthorization_v1.rb +1 -1
  92. data/generated/google/apis/binaryauthorization_v1beta1/classes.rb +6 -5
  93. data/generated/google/apis/binaryauthorization_v1beta1/service.rb +2 -0
  94. data/generated/google/apis/binaryauthorization_v1beta1.rb +1 -1
  95. data/generated/google/apis/books_v1/classes.rb +20 -0
  96. data/generated/google/apis/books_v1/representations.rb +3 -0
  97. data/generated/google/apis/books_v1.rb +1 -1
  98. data/generated/google/apis/calendar_v3/classes.rb +1 -1
  99. data/generated/google/apis/calendar_v3/service.rb +18 -30
  100. data/generated/google/apis/calendar_v3.rb +1 -1
  101. data/generated/google/apis/civicinfo_v2/classes.rb +0 -156
  102. data/generated/google/apis/civicinfo_v2/representations.rb +2 -60
  103. data/generated/google/apis/civicinfo_v2.rb +1 -1
  104. data/generated/google/apis/cloudasset_v1/classes.rb +89 -55
  105. data/generated/google/apis/cloudasset_v1/service.rb +1 -2
  106. data/generated/google/apis/cloudasset_v1.rb +1 -1
  107. data/generated/google/apis/cloudasset_v1beta1/classes.rb +75 -40
  108. data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
  109. data/generated/google/apis/cloudbilling_v1/classes.rb +82 -36
  110. data/generated/google/apis/cloudbilling_v1/representations.rb +0 -1
  111. data/generated/google/apis/cloudbilling_v1/service.rb +5 -3
  112. data/generated/google/apis/cloudbilling_v1.rb +1 -1
  113. data/generated/google/apis/cloudbuild_v1/classes.rb +8 -2
  114. data/generated/google/apis/cloudbuild_v1/representations.rb +1 -0
  115. data/generated/google/apis/cloudbuild_v1/service.rb +18 -18
  116. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  117. data/generated/google/apis/clouddebugger_v2/service.rb +14 -14
  118. data/generated/google/apis/clouddebugger_v2.rb +1 -1
  119. data/generated/google/apis/cloudfunctions_v1/classes.rb +13 -5
  120. data/generated/google/apis/cloudfunctions_v1/representations.rb +1 -0
  121. data/generated/google/apis/cloudfunctions_v1/service.rb +10 -4
  122. data/generated/google/apis/cloudfunctions_v1.rb +1 -1
  123. data/generated/google/apis/cloudfunctions_v1beta2/classes.rb +7 -0
  124. data/generated/google/apis/cloudfunctions_v1beta2/representations.rb +1 -0
  125. data/generated/google/apis/cloudfunctions_v1beta2/service.rb +10 -4
  126. data/generated/google/apis/cloudfunctions_v1beta2.rb +1 -1
  127. data/generated/google/apis/cloudidentity_v1/classes.rb +11 -8
  128. data/generated/google/apis/cloudidentity_v1/service.rb +2 -1
  129. data/generated/google/apis/cloudidentity_v1.rb +1 -1
  130. data/generated/google/apis/cloudidentity_v1beta1/classes.rb +13 -10
  131. data/generated/google/apis/cloudidentity_v1beta1/service.rb +2 -1
  132. data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
  133. data/generated/google/apis/cloudiot_v1/classes.rb +6 -5
  134. data/generated/google/apis/cloudiot_v1.rb +1 -1
  135. data/generated/google/apis/cloudkms_v1/classes.rb +6 -5
  136. data/generated/google/apis/cloudkms_v1/service.rb +3 -0
  137. data/generated/google/apis/cloudkms_v1.rb +1 -1
  138. data/generated/google/apis/cloudprivatecatalogproducer_v1beta1/classes.rb +75 -40
  139. data/generated/google/apis/cloudprivatecatalogproducer_v1beta1.rb +1 -1
  140. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +18 -17
  141. data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
  142. data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +6 -5
  143. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
  144. data/generated/google/apis/cloudresourcemanager_v2/classes.rb +10 -13
  145. data/generated/google/apis/cloudresourcemanager_v2/service.rb +11 -13
  146. data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
  147. data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +10 -13
  148. data/generated/google/apis/cloudresourcemanager_v2beta1/service.rb +11 -13
  149. data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
  150. data/generated/google/apis/cloudscheduler_v1/classes.rb +2 -1
  151. data/generated/google/apis/cloudscheduler_v1.rb +1 -1
  152. data/generated/google/apis/cloudscheduler_v1beta1/classes.rb +2 -1
  153. data/generated/google/apis/cloudscheduler_v1beta1.rb +1 -1
  154. data/generated/google/apis/cloudsearch_v1/classes.rb +10 -132
  155. data/generated/google/apis/cloudsearch_v1/representations.rb +0 -75
  156. data/generated/google/apis/cloudsearch_v1/service.rb +47 -9
  157. data/generated/google/apis/cloudsearch_v1.rb +8 -8
  158. data/generated/google/apis/cloudshell_v1/classes.rb +24 -1
  159. data/generated/google/apis/cloudshell_v1/representations.rb +3 -0
  160. data/generated/google/apis/cloudshell_v1.rb +1 -1
  161. data/generated/google/apis/cloudshell_v1alpha1/classes.rb +24 -1
  162. data/generated/google/apis/cloudshell_v1alpha1/representations.rb +3 -0
  163. data/generated/google/apis/cloudshell_v1alpha1.rb +1 -1
  164. data/generated/google/apis/cloudtasks_v2/classes.rb +212 -5
  165. data/generated/google/apis/cloudtasks_v2/representations.rb +50 -0
  166. data/generated/google/apis/cloudtasks_v2.rb +1 -1
  167. data/generated/google/apis/cloudtasks_v2beta2/classes.rb +6 -5
  168. data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
  169. data/generated/google/apis/cloudtasks_v2beta3/classes.rb +6 -5
  170. data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
  171. data/generated/google/apis/commentanalyzer_v1alpha1/classes.rb +14 -19
  172. data/generated/google/apis/commentanalyzer_v1alpha1.rb +1 -1
  173. data/generated/google/apis/compute_alpha/classes.rb +594 -164
  174. data/generated/google/apis/compute_alpha/representations.rb +110 -2
  175. data/generated/google/apis/compute_alpha/service.rb +1035 -640
  176. data/generated/google/apis/compute_alpha.rb +1 -1
  177. data/generated/google/apis/compute_beta/classes.rb +1070 -276
  178. data/generated/google/apis/compute_beta/representations.rb +284 -0
  179. data/generated/google/apis/compute_beta/service.rb +1242 -532
  180. data/generated/google/apis/compute_beta.rb +1 -1
  181. data/generated/google/apis/compute_v1/classes.rb +335 -133
  182. data/generated/google/apis/compute_v1/representations.rb +24 -0
  183. data/generated/google/apis/compute_v1/service.rb +759 -473
  184. data/generated/google/apis/compute_v1.rb +1 -1
  185. data/generated/google/apis/container_v1/classes.rb +410 -83
  186. data/generated/google/apis/container_v1/representations.rb +134 -0
  187. data/generated/google/apis/container_v1/service.rb +119 -119
  188. data/generated/google/apis/container_v1.rb +1 -1
  189. data/generated/google/apis/container_v1beta1/classes.rb +157 -3
  190. data/generated/google/apis/container_v1beta1/representations.rb +38 -0
  191. data/generated/google/apis/container_v1beta1.rb +1 -1
  192. data/generated/google/apis/containeranalysis_v1alpha1/classes.rb +6 -5
  193. data/generated/google/apis/containeranalysis_v1alpha1.rb +1 -1
  194. data/generated/google/apis/containeranalysis_v1beta1/classes.rb +6 -5
  195. data/generated/google/apis/containeranalysis_v1beta1.rb +1 -1
  196. data/generated/google/apis/content_v2/classes.rb +35 -223
  197. data/generated/google/apis/content_v2/representations.rb +0 -115
  198. data/generated/google/apis/content_v2/service.rb +0 -160
  199. data/generated/google/apis/content_v2.rb +1 -1
  200. data/generated/google/apis/content_v2_1/classes.rb +69 -21
  201. data/generated/google/apis/content_v2_1/representations.rb +3 -0
  202. data/generated/google/apis/content_v2_1.rb +1 -1
  203. data/generated/google/apis/datacatalog_v1beta1/classes.rb +1646 -0
  204. data/generated/google/apis/datacatalog_v1beta1/representations.rb +700 -0
  205. data/generated/google/apis/datacatalog_v1beta1/service.rb +1982 -0
  206. data/generated/google/apis/{cloudbuild_v1alpha1.rb → datacatalog_v1beta1.rb} +10 -9
  207. data/generated/google/apis/dataflow_v1b3/classes.rb +6 -9
  208. data/generated/google/apis/dataflow_v1b3/representations.rb +1 -1
  209. data/generated/google/apis/dataflow_v1b3.rb +1 -1
  210. data/generated/google/apis/datafusion_v1beta1/classes.rb +156 -46
  211. data/generated/google/apis/datafusion_v1beta1/representations.rb +33 -0
  212. data/generated/google/apis/datafusion_v1beta1/service.rb +10 -1
  213. data/generated/google/apis/datafusion_v1beta1.rb +1 -1
  214. data/generated/google/apis/dataproc_v1/classes.rb +119 -11
  215. data/generated/google/apis/dataproc_v1/representations.rb +39 -0
  216. data/generated/google/apis/dataproc_v1/service.rb +14 -7
  217. data/generated/google/apis/dataproc_v1.rb +1 -1
  218. data/generated/google/apis/dataproc_v1beta2/classes.rb +9 -11
  219. data/generated/google/apis/dataproc_v1beta2/service.rb +26 -19
  220. data/generated/google/apis/dataproc_v1beta2.rb +1 -1
  221. data/generated/google/apis/datastore_v1/service.rb +85 -1
  222. data/generated/google/apis/datastore_v1.rb +1 -1
  223. data/generated/google/apis/datastore_v1beta3/service.rb +1 -1
  224. data/generated/google/apis/datastore_v1beta3.rb +1 -1
  225. data/generated/google/apis/dfareporting_v3_3/classes.rb +21 -1
  226. data/generated/google/apis/dfareporting_v3_3/service.rb +6 -6
  227. data/generated/google/apis/dfareporting_v3_3.rb +1 -1
  228. data/generated/google/apis/{dfareporting_v3_2 → dfareporting_v3_4}/classes.rb +1215 -797
  229. data/generated/google/apis/{dfareporting_v3_2 → dfareporting_v3_4}/representations.rb +593 -395
  230. data/generated/google/apis/{dfareporting_v3_2 → dfareporting_v3_4}/service.rb +966 -1074
  231. data/generated/google/apis/{dfareporting_v3_2.rb → dfareporting_v3_4.rb} +6 -6
  232. data/generated/google/apis/dialogflow_v2/classes.rb +509 -8
  233. data/generated/google/apis/dialogflow_v2/representations.rb +222 -0
  234. data/generated/google/apis/dialogflow_v2.rb +1 -1
  235. data/generated/google/apis/dialogflow_v2beta1/classes.rb +530 -8
  236. data/generated/google/apis/dialogflow_v2beta1/representations.rb +224 -0
  237. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  238. data/generated/google/apis/dlp_v2/classes.rb +109 -33
  239. data/generated/google/apis/dlp_v2/representations.rb +23 -3
  240. data/generated/google/apis/dlp_v2/service.rb +1996 -209
  241. data/generated/google/apis/dlp_v2.rb +1 -1
  242. data/generated/google/apis/dns_v1beta2/classes.rb +47 -0
  243. data/generated/google/apis/dns_v1beta2/representations.rb +17 -0
  244. data/generated/google/apis/dns_v1beta2.rb +1 -1
  245. data/generated/google/apis/docs_v1/classes.rb +175 -0
  246. data/generated/google/apis/docs_v1/representations.rb +77 -0
  247. data/generated/google/apis/docs_v1.rb +1 -1
  248. data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
  249. data/generated/google/apis/doubleclickbidmanager_v1_1/classes.rb +826 -0
  250. data/generated/google/apis/doubleclickbidmanager_v1_1/representations.rb +372 -0
  251. data/generated/google/apis/doubleclickbidmanager_v1_1/service.rb +371 -0
  252. data/generated/google/apis/{urlshortener_v1.rb → doubleclickbidmanager_v1_1.rb} +11 -11
  253. data/generated/google/apis/drive_v2/classes.rb +2 -1
  254. data/generated/google/apis/drive_v2/service.rb +3 -3
  255. data/generated/google/apis/drive_v2.rb +1 -1
  256. data/generated/google/apis/drive_v3/classes.rb +12 -3
  257. data/generated/google/apis/drive_v3.rb +1 -1
  258. data/generated/google/apis/fcm_v1/classes.rb +15 -0
  259. data/generated/google/apis/fcm_v1/representations.rb +2 -0
  260. data/generated/google/apis/fcm_v1.rb +1 -1
  261. data/generated/google/apis/firebase_v1beta1/classes.rb +18 -4
  262. data/generated/google/apis/firebase_v1beta1/representations.rb +2 -0
  263. data/generated/google/apis/firebase_v1beta1/service.rb +6 -6
  264. data/generated/google/apis/firebase_v1beta1.rb +1 -1
  265. data/generated/google/apis/firebasehosting_v1beta1/classes.rb +62 -0
  266. data/generated/google/apis/firebasehosting_v1beta1/representations.rb +31 -0
  267. data/generated/google/apis/firebasehosting_v1beta1/service.rb +47 -0
  268. data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
  269. data/generated/google/apis/firebaserules_v1/classes.rb +26 -0
  270. data/generated/google/apis/firebaserules_v1/representations.rb +15 -0
  271. data/generated/google/apis/firebaserules_v1.rb +1 -1
  272. data/generated/google/apis/firestore_v1.rb +1 -1
  273. data/generated/google/apis/firestore_v1beta1.rb +1 -1
  274. data/generated/google/apis/fitness_v1/service.rb +1 -1
  275. data/generated/google/apis/fitness_v1.rb +1 -1
  276. data/generated/google/apis/games_management_v1management/classes.rb +6 -26
  277. data/generated/google/apis/games_management_v1management/representations.rb +1 -14
  278. data/generated/google/apis/games_management_v1management/service.rb +0 -158
  279. data/generated/google/apis/games_management_v1management.rb +1 -1
  280. data/generated/google/apis/games_v1/classes.rb +6 -292
  281. data/generated/google/apis/games_v1/representations.rb +1 -98
  282. data/generated/google/apis/games_v1/service.rb +0 -123
  283. data/generated/google/apis/games_v1.rb +1 -1
  284. data/generated/google/apis/genomics_v2alpha1/classes.rb +32 -0
  285. data/generated/google/apis/genomics_v2alpha1/representations.rb +16 -0
  286. data/generated/google/apis/genomics_v2alpha1.rb +1 -1
  287. data/generated/google/apis/healthcare_v1beta1/classes.rb +213 -16
  288. data/generated/google/apis/healthcare_v1beta1/representations.rb +101 -0
  289. data/generated/google/apis/healthcare_v1beta1/service.rb +207 -116
  290. data/generated/google/apis/healthcare_v1beta1.rb +1 -1
  291. data/generated/google/apis/homegraph_v1/classes.rb +15 -1
  292. data/generated/google/apis/homegraph_v1/representations.rb +2 -1
  293. data/generated/google/apis/homegraph_v1.rb +1 -1
  294. data/generated/google/apis/iam_v1/classes.rb +15 -7
  295. data/generated/google/apis/iam_v1/representations.rb +1 -0
  296. data/generated/google/apis/iam_v1.rb +1 -1
  297. data/generated/google/apis/iap_v1/classes.rb +187 -2
  298. data/generated/google/apis/iap_v1/representations.rb +102 -0
  299. data/generated/google/apis/iap_v1/service.rb +72 -0
  300. data/generated/google/apis/iap_v1.rb +1 -1
  301. data/generated/google/apis/iap_v1beta1/classes.rb +2 -2
  302. data/generated/google/apis/iap_v1beta1.rb +1 -1
  303. data/generated/google/apis/jobs_v2/classes.rb +167 -0
  304. data/generated/google/apis/jobs_v2/representations.rb +40 -0
  305. data/generated/google/apis/jobs_v2.rb +1 -1
  306. data/generated/google/apis/jobs_v3/classes.rb +179 -0
  307. data/generated/google/apis/jobs_v3/representations.rb +41 -0
  308. data/generated/google/apis/jobs_v3.rb +1 -1
  309. data/generated/google/apis/jobs_v3p1beta1/classes.rb +179 -0
  310. data/generated/google/apis/jobs_v3p1beta1/representations.rb +41 -0
  311. data/generated/google/apis/jobs_v3p1beta1.rb +1 -1
  312. data/generated/google/apis/licensing_v1/classes.rb +15 -7
  313. data/generated/google/apis/licensing_v1/service.rb +81 -37
  314. data/generated/google/apis/licensing_v1.rb +4 -4
  315. data/generated/google/apis/lifesciences_v2beta/classes.rb +1329 -0
  316. data/generated/google/apis/lifesciences_v2beta/representations.rb +533 -0
  317. data/generated/google/apis/lifesciences_v2beta/service.rb +303 -0
  318. data/generated/google/apis/lifesciences_v2beta.rb +35 -0
  319. data/generated/google/apis/logging_v2/classes.rb +30 -2
  320. data/generated/google/apis/logging_v2/representations.rb +4 -0
  321. data/generated/google/apis/logging_v2/service.rb +10 -5
  322. data/generated/google/apis/logging_v2.rb +1 -1
  323. data/generated/google/apis/ml_v1/classes.rb +308 -155
  324. data/generated/google/apis/ml_v1/representations.rb +59 -0
  325. data/generated/google/apis/ml_v1/service.rb +44 -3
  326. data/generated/google/apis/ml_v1.rb +2 -2
  327. data/generated/google/apis/monitoring_v1/classes.rb +1153 -0
  328. data/generated/google/apis/monitoring_v1/representations.rb +528 -0
  329. data/generated/google/apis/{cloudbuild_v1alpha1 → monitoring_v1}/service.rb +86 -63
  330. data/generated/google/apis/monitoring_v1.rb +48 -0
  331. data/generated/google/apis/monitoring_v3/classes.rb +836 -60
  332. data/generated/google/apis/monitoring_v3/representations.rb +348 -0
  333. data/generated/google/apis/monitoring_v3/service.rb +384 -2
  334. data/generated/google/apis/monitoring_v3.rb +1 -1
  335. data/generated/google/apis/oslogin_v1/classes.rb +1 -1
  336. data/generated/google/apis/oslogin_v1/service.rb +10 -6
  337. data/generated/google/apis/oslogin_v1.rb +1 -1
  338. data/generated/google/apis/oslogin_v1beta/classes.rb +1 -1
  339. data/generated/google/apis/oslogin_v1beta/service.rb +9 -5
  340. data/generated/google/apis/oslogin_v1beta.rb +1 -1
  341. data/generated/google/apis/pagespeedonline_v5/classes.rb +8 -0
  342. data/generated/google/apis/pagespeedonline_v5/representations.rb +1 -0
  343. data/generated/google/apis/pagespeedonline_v5.rb +1 -1
  344. data/generated/google/apis/people_v1/classes.rb +67 -63
  345. data/generated/google/apis/people_v1/service.rb +53 -44
  346. data/generated/google/apis/people_v1.rb +1 -1
  347. data/generated/google/apis/policytroubleshooter_v1beta/classes.rb +168 -90
  348. data/generated/google/apis/policytroubleshooter_v1beta/service.rb +2 -3
  349. data/generated/google/apis/policytroubleshooter_v1beta.rb +1 -1
  350. data/generated/google/apis/pubsub_v1/classes.rb +8 -6
  351. data/generated/google/apis/pubsub_v1/service.rb +9 -7
  352. data/generated/google/apis/pubsub_v1.rb +1 -1
  353. data/generated/google/apis/pubsub_v1beta2/classes.rb +6 -5
  354. data/generated/google/apis/pubsub_v1beta2/service.rb +2 -0
  355. data/generated/google/apis/pubsub_v1beta2.rb +1 -1
  356. data/generated/google/apis/recommender_v1beta1/classes.rb +1 -1
  357. data/generated/google/apis/recommender_v1beta1/service.rb +10 -8
  358. data/generated/google/apis/recommender_v1beta1.rb +1 -1
  359. data/generated/google/apis/redis_v1/classes.rb +11 -11
  360. data/generated/google/apis/redis_v1/service.rb +5 -5
  361. data/generated/google/apis/redis_v1.rb +1 -1
  362. data/generated/google/apis/redis_v1beta1/classes.rb +11 -11
  363. data/generated/google/apis/redis_v1beta1/service.rb +5 -5
  364. data/generated/google/apis/redis_v1beta1.rb +1 -1
  365. data/generated/google/apis/remotebuildexecution_v1/classes.rb +113 -0
  366. data/generated/google/apis/remotebuildexecution_v1/representations.rb +50 -0
  367. data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
  368. data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +113 -0
  369. data/generated/google/apis/remotebuildexecution_v1alpha/representations.rb +50 -0
  370. data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
  371. data/generated/google/apis/remotebuildexecution_v2/classes.rb +113 -0
  372. data/generated/google/apis/remotebuildexecution_v2/representations.rb +50 -0
  373. data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
  374. data/generated/google/apis/reseller_v1/service.rb +1 -1
  375. data/generated/google/apis/reseller_v1.rb +1 -1
  376. data/generated/google/apis/run_v1/classes.rb +8 -176
  377. data/generated/google/apis/run_v1/representations.rb +0 -71
  378. data/generated/google/apis/run_v1/service.rb +209 -1125
  379. data/generated/google/apis/run_v1.rb +1 -1
  380. data/generated/google/apis/run_v1alpha1/classes.rb +328 -9
  381. data/generated/google/apis/run_v1alpha1/representations.rb +126 -0
  382. data/generated/google/apis/run_v1alpha1/service.rb +408 -0
  383. data/generated/google/apis/run_v1alpha1.rb +1 -1
  384. data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +75 -40
  385. data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
  386. data/generated/google/apis/securitycenter_v1/classes.rb +159 -66
  387. data/generated/google/apis/securitycenter_v1/representations.rb +19 -0
  388. data/generated/google/apis/securitycenter_v1/service.rb +14 -12
  389. data/generated/google/apis/securitycenter_v1.rb +1 -1
  390. data/generated/google/apis/securitycenter_v1beta1/classes.rb +95 -57
  391. data/generated/google/apis/securitycenter_v1beta1/service.rb +14 -12
  392. data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
  393. data/generated/google/apis/servicebroker_v1/classes.rb +75 -40
  394. data/generated/google/apis/servicebroker_v1.rb +1 -1
  395. data/generated/google/apis/servicebroker_v1alpha1/classes.rb +75 -40
  396. data/generated/google/apis/servicebroker_v1alpha1.rb +1 -1
  397. data/generated/google/apis/servicebroker_v1beta1/classes.rb +75 -40
  398. data/generated/google/apis/servicebroker_v1beta1.rb +1 -1
  399. data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +95 -43
  400. data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +30 -0
  401. data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
  402. data/generated/google/apis/servicecontrol_v1/classes.rb +8 -12
  403. data/generated/google/apis/servicecontrol_v1/representations.rb +1 -1
  404. data/generated/google/apis/servicecontrol_v1.rb +1 -1
  405. data/generated/google/apis/servicemanagement_v1/classes.rb +142 -91
  406. data/generated/google/apis/servicemanagement_v1/representations.rb +24 -0
  407. data/generated/google/apis/servicemanagement_v1/service.rb +32 -26
  408. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  409. data/generated/google/apis/servicenetworking_v1/classes.rb +181 -54
  410. data/generated/google/apis/servicenetworking_v1/representations.rb +71 -0
  411. data/generated/google/apis/servicenetworking_v1/service.rb +77 -3
  412. data/generated/google/apis/servicenetworking_v1.rb +1 -1
  413. data/generated/google/apis/servicenetworking_v1beta/classes.rb +32 -43
  414. data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
  415. data/generated/google/apis/serviceusage_v1/classes.rb +87 -43
  416. data/generated/google/apis/serviceusage_v1/representations.rb +29 -0
  417. data/generated/google/apis/serviceusage_v1.rb +1 -1
  418. data/generated/google/apis/serviceusage_v1beta1/classes.rb +87 -43
  419. data/generated/google/apis/serviceusage_v1beta1/representations.rb +29 -0
  420. data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
  421. data/generated/google/apis/sheets_v4/classes.rb +1371 -232
  422. data/generated/google/apis/sheets_v4/representations.rb +180 -0
  423. data/generated/google/apis/sheets_v4.rb +1 -1
  424. data/generated/google/apis/spanner_v1/classes.rb +70 -30
  425. data/generated/google/apis/spanner_v1/service.rb +270 -0
  426. data/generated/google/apis/spanner_v1.rb +1 -1
  427. data/generated/google/apis/speech_v1/classes.rb +6 -0
  428. data/generated/google/apis/speech_v1/representations.rb +1 -0
  429. data/generated/google/apis/speech_v1.rb +1 -1
  430. data/generated/google/apis/speech_v1p1beta1/classes.rb +6 -0
  431. data/generated/google/apis/speech_v1p1beta1/representations.rb +1 -0
  432. data/generated/google/apis/speech_v1p1beta1.rb +1 -1
  433. data/generated/google/apis/{speech_v2beta → speech_v2beta1}/classes.rb +9 -8
  434. data/generated/google/apis/{speech_v2beta → speech_v2beta1}/representations.rb +6 -6
  435. data/generated/google/apis/{speech_v2beta → speech_v2beta1}/service.rb +13 -13
  436. data/generated/google/apis/{speech_v2beta.rb → speech_v2beta1.rb} +6 -6
  437. data/generated/google/apis/{sqladmin_v1beta4 → sql_v1beta4}/classes.rb +499 -380
  438. data/generated/google/apis/{sqladmin_v1beta4 → sql_v1beta4}/representations.rb +125 -104
  439. data/generated/google/apis/{sqladmin_v1beta4 → sql_v1beta4}/service.rb +637 -590
  440. data/generated/google/apis/{sqladmin_v1beta4.rb → sql_v1beta4.rb} +7 -8
  441. data/generated/google/apis/storage_v1.rb +1 -1
  442. data/generated/google/apis/storagetransfer_v1.rb +1 -1
  443. data/generated/google/apis/streetviewpublish_v1/classes.rb +1 -1
  444. data/generated/google/apis/streetviewpublish_v1.rb +1 -1
  445. data/generated/google/apis/testing_v1/classes.rb +142 -1
  446. data/generated/google/apis/testing_v1/representations.rb +76 -0
  447. data/generated/google/apis/testing_v1.rb +1 -1
  448. data/generated/google/apis/videointelligence_v1/classes.rb +147 -36
  449. data/generated/google/apis/videointelligence_v1/representations.rb +62 -0
  450. data/generated/google/apis/videointelligence_v1.rb +1 -1
  451. data/generated/google/apis/videointelligence_v1beta2/classes.rb +147 -36
  452. data/generated/google/apis/videointelligence_v1beta2/representations.rb +62 -0
  453. data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
  454. data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +147 -36
  455. data/generated/google/apis/videointelligence_v1p1beta1/representations.rb +62 -0
  456. data/generated/google/apis/videointelligence_v1p1beta1.rb +1 -1
  457. data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +147 -36
  458. data/generated/google/apis/videointelligence_v1p2beta1/representations.rb +62 -0
  459. data/generated/google/apis/videointelligence_v1p2beta1.rb +1 -1
  460. data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +147 -36
  461. data/generated/google/apis/videointelligence_v1p3beta1/representations.rb +62 -0
  462. data/generated/google/apis/videointelligence_v1p3beta1.rb +1 -1
  463. data/generated/google/apis/vision_v1/classes.rb +66 -0
  464. data/generated/google/apis/vision_v1/representations.rb +32 -0
  465. data/generated/google/apis/vision_v1.rb +1 -1
  466. data/generated/google/apis/vision_v1p1beta1/classes.rb +66 -0
  467. data/generated/google/apis/vision_v1p1beta1/representations.rb +32 -0
  468. data/generated/google/apis/vision_v1p1beta1.rb +1 -1
  469. data/generated/google/apis/vision_v1p2beta1/classes.rb +66 -0
  470. data/generated/google/apis/vision_v1p2beta1/representations.rb +32 -0
  471. data/generated/google/apis/vision_v1p2beta1.rb +1 -1
  472. data/generated/google/apis/youtube_partner_v1/service.rb +2 -2
  473. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  474. data/google-api-client.gemspec +6 -3
  475. data/lib/google/apis/core/api_command.rb +3 -0
  476. data/lib/google/apis/core/http_command.rb +10 -8
  477. data/lib/google/apis/core/upload.rb +4 -0
  478. data/lib/google/apis/version.rb +1 -1
  479. data/rakelib/devsite/devsite_builder.rb +126 -0
  480. data/rakelib/devsite/link_checker.rb +64 -0
  481. data/rakelib/devsite/repo_metadata.rb +56 -0
  482. metadata +64 -42
  483. data/generated/google/apis/cloudbuild_v1alpha1/classes.rb +0 -1168
  484. data/generated/google/apis/cloudbuild_v1alpha1/representations.rb +0 -434
  485. data/generated/google/apis/storage_v1beta1/classes.rb +0 -616
  486. data/generated/google/apis/storage_v1beta1/representations.rb +0 -249
  487. data/generated/google/apis/storage_v1beta1/service.rb +0 -1032
  488. data/generated/google/apis/storage_v1beta1.rb +0 -40
  489. data/generated/google/apis/urlshortener_v1/classes.rb +0 -246
  490. data/generated/google/apis/urlshortener_v1/representations.rb +0 -121
  491. data/generated/google/apis/urlshortener_v1/service.rb +0 -169
@@ -32,16 +32,18 @@ module Google
32
32
  # @return [String]
33
33
  attr_accessor :asset_type
34
34
 
35
- # Defines an Identity and Access Management (IAM) policy. It is used to
36
- # specify access control policies for Cloud Platform resources.
35
+ # An Identity and Access Management (IAM) policy, which specifies access
36
+ # controls for Google Cloud resources.
37
37
  # A `Policy` is a collection of `bindings`. A `binding` binds one or more
38
38
  # `members` to a single `role`. Members can be user accounts, service accounts,
39
39
  # Google groups, and domains (such as G Suite). A `role` is a named list of
40
- # permissions (defined by IAM or configured by users). A `binding` can
41
- # optionally specify a `condition`, which is a logic expression that further
42
- # constrains the role binding based on attributes about the request and/or
43
- # target resource.
44
- # **JSON Example**
40
+ # permissions; each `role` can be an IAM predefined role or a user-created
41
+ # custom role.
42
+ # Optionally, a `binding` can specify a `condition`, which is a logical
43
+ # expression that allows access to a resource only if the expression evaluates
44
+ # to `true`. A condition can add constraints based on attributes of the
45
+ # request, the resource, or both.
46
+ # **JSON example:**
45
47
  # `
46
48
  # "bindings": [
47
49
  # `
@@ -59,13 +61,15 @@ module Google
59
61
  # "condition": `
60
62
  # "title": "expirable access",
61
63
  # "description": "Does not grant access after Sep 2020",
62
- # "expression": "request.time <
63
- # timestamp('2020-10-01T00:00:00.000Z')",
64
+ # "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')
65
+ # ",
64
66
  # `
65
67
  # `
66
- # ]
68
+ # ],
69
+ # "etag": "BwWWja0YfJA=",
70
+ # "version": 3
67
71
  # `
68
- # **YAML Example**
72
+ # **YAML example:**
69
73
  # bindings:
70
74
  # - members:
71
75
  # - user:mike@example.com
@@ -80,8 +84,10 @@ module Google
80
84
  # title: expirable access
81
85
  # description: Does not grant access after Sep 2020
82
86
  # expression: request.time < timestamp('2020-10-01T00:00:00.000Z')
87
+ # - etag: BwWWja0YfJA=
88
+ # - version: 3
83
89
  # For a description of IAM and its features, see the
84
- # [IAM developer's guide](https://cloud.google.com/iam/docs).
90
+ # [IAM documentation](https://cloud.google.com/iam/docs/).
85
91
  # Corresponds to the JSON property `iamPolicy`
86
92
  # @return [Google::Apis::CloudassetV1beta1::Policy]
87
93
  attr_accessor :iam_policy
@@ -273,6 +279,23 @@ module Google
273
279
  # account. For example, `my-other-app@appspot.gserviceaccount.com`.
274
280
  # * `group:`emailid``: An email address that represents a Google group.
275
281
  # For example, `admins@example.com`.
282
+ # * `deleted:user:`emailid`?uid=`uniqueid``: An email address (plus unique
283
+ # identifier) representing a user that has been recently deleted. For
284
+ # example, `alice@example.com?uid=123456789012345678901`. If the user is
285
+ # recovered, this value reverts to `user:`emailid`` and the recovered user
286
+ # retains the role in the binding.
287
+ # * `deleted:serviceAccount:`emailid`?uid=`uniqueid``: An email address (plus
288
+ # unique identifier) representing a service account that has been recently
289
+ # deleted. For example,
290
+ # `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`.
291
+ # If the service account is undeleted, this value reverts to
292
+ # `serviceAccount:`emailid`` and the undeleted service account retains the
293
+ # role in the binding.
294
+ # * `deleted:group:`emailid`?uid=`uniqueid``: An email address (plus unique
295
+ # identifier) representing a Google group that has been recently
296
+ # deleted. For example, `admins@example.com?uid=123456789012345678901`. If
297
+ # the group is recovered, this value reverts to `group:`emailid`` and the
298
+ # recovered group retains the role in the binding.
276
299
  # * `domain:`domain``: The G Suite domain (primary) that represents all the
277
300
  # users of that domain. For example, `google.com` or `example.com`.
278
301
  # Corresponds to the JSON property `members`
@@ -510,16 +533,18 @@ module Google
510
533
  end
511
534
  end
512
535
 
513
- # Defines an Identity and Access Management (IAM) policy. It is used to
514
- # specify access control policies for Cloud Platform resources.
536
+ # An Identity and Access Management (IAM) policy, which specifies access
537
+ # controls for Google Cloud resources.
515
538
  # A `Policy` is a collection of `bindings`. A `binding` binds one or more
516
539
  # `members` to a single `role`. Members can be user accounts, service accounts,
517
540
  # Google groups, and domains (such as G Suite). A `role` is a named list of
518
- # permissions (defined by IAM or configured by users). A `binding` can
519
- # optionally specify a `condition`, which is a logic expression that further
520
- # constrains the role binding based on attributes about the request and/or
521
- # target resource.
522
- # **JSON Example**
541
+ # permissions; each `role` can be an IAM predefined role or a user-created
542
+ # custom role.
543
+ # Optionally, a `binding` can specify a `condition`, which is a logical
544
+ # expression that allows access to a resource only if the expression evaluates
545
+ # to `true`. A condition can add constraints based on attributes of the
546
+ # request, the resource, or both.
547
+ # **JSON example:**
523
548
  # `
524
549
  # "bindings": [
525
550
  # `
@@ -537,13 +562,15 @@ module Google
537
562
  # "condition": `
538
563
  # "title": "expirable access",
539
564
  # "description": "Does not grant access after Sep 2020",
540
- # "expression": "request.time <
541
- # timestamp('2020-10-01T00:00:00.000Z')",
565
+ # "expression": "request.time < timestamp('2020-10-01T00:00:00.000Z')
566
+ # ",
542
567
  # `
543
568
  # `
544
- # ]
569
+ # ],
570
+ # "etag": "BwWWja0YfJA=",
571
+ # "version": 3
545
572
  # `
546
- # **YAML Example**
573
+ # **YAML example:**
547
574
  # bindings:
548
575
  # - members:
549
576
  # - user:mike@example.com
@@ -558,8 +585,10 @@ module Google
558
585
  # title: expirable access
559
586
  # description: Does not grant access after Sep 2020
560
587
  # expression: request.time < timestamp('2020-10-01T00:00:00.000Z')
588
+ # - etag: BwWWja0YfJA=
589
+ # - version: 3
561
590
  # For a description of IAM and its features, see the
562
- # [IAM developer's guide](https://cloud.google.com/iam/docs).
591
+ # [IAM documentation](https://cloud.google.com/iam/docs/).
563
592
  class Policy
564
593
  include Google::Apis::Core::Hashable
565
594
 
@@ -568,9 +597,9 @@ module Google
568
597
  # @return [Array<Google::Apis::CloudassetV1beta1::AuditConfig>]
569
598
  attr_accessor :audit_configs
570
599
 
571
- # Associates a list of `members` to a `role`. Optionally may specify a
572
- # `condition` that determines when binding is in effect.
573
- # `bindings` with no members will result in an error.
600
+ # Associates a list of `members` to a `role`. Optionally, may specify a
601
+ # `condition` that determines how and when the `bindings` are applied. Each
602
+ # of the `bindings` must contain at least one member.
574
603
  # Corresponds to the JSON property `bindings`
575
604
  # @return [Array<Google::Apis::CloudassetV1beta1::Binding>]
576
605
  attr_accessor :bindings
@@ -582,25 +611,31 @@ module Google
582
611
  # conditions: An `etag` is returned in the response to `getIamPolicy`, and
583
612
  # systems are expected to put that etag in the request to `setIamPolicy` to
584
613
  # ensure that their change will be applied to the same version of the policy.
585
- # If no `etag` is provided in the call to `setIamPolicy`, then the existing
586
- # policy is overwritten. Due to blind-set semantics of an etag-less policy,
587
- # 'setIamPolicy' will not fail even if either of incoming or stored policy
588
- # does not meet the version requirements.
614
+ # **Important:** If you use IAM Conditions, you must include the `etag` field
615
+ # whenever you call `setIamPolicy`. If you omit this field, then IAM allows
616
+ # you to overwrite a version `3` policy with a version `1` policy, and all of
617
+ # the conditions in the version `3` policy are lost.
589
618
  # Corresponds to the JSON property `etag`
590
619
  # NOTE: Values are automatically base64 encoded/decoded in the client library.
591
620
  # @return [String]
592
621
  attr_accessor :etag
593
622
 
594
623
  # Specifies the format of the policy.
595
- # Valid values are 0, 1, and 3. Requests specifying an invalid value will be
596
- # rejected.
597
- # Operations affecting conditional bindings must specify version 3. This can
598
- # be either setting a conditional policy, modifying a conditional binding,
599
- # or removing a conditional binding from the stored conditional policy.
600
- # Operations on non-conditional policies may specify any valid value or
601
- # leave the field unset.
602
- # If no etag is provided in the call to `setIamPolicy`, any version
603
- # compliance checks on the incoming and/or stored policy is skipped.
624
+ # Valid values are `0`, `1`, and `3`. Requests that specify an invalid value
625
+ # are rejected.
626
+ # Any operation that affects conditional role bindings must specify version
627
+ # `3`. This requirement applies to the following operations:
628
+ # * Getting a policy that includes a conditional role binding
629
+ # * Adding a conditional role binding to a policy
630
+ # * Changing a conditional role binding in a policy
631
+ # * Removing any role binding, with or without a condition, from a policy
632
+ # that includes conditions
633
+ # **Important:** If you use IAM Conditions, you must include the `etag` field
634
+ # whenever you call `setIamPolicy`. If you omit this field, then IAM allows
635
+ # you to overwrite a version `3` policy with a version `1` policy, and all of
636
+ # the conditions in the version `3` policy are lost.
637
+ # If a policy does not include any conditions, operations on that policy may
638
+ # specify any valid version or leave the field unset.
604
639
  # Corresponds to the JSON property `version`
605
640
  # @return [Fixnum]
606
641
  attr_accessor :version
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://cloud.google.com/resource-manager/docs/cloud-asset-inventory/quickstart-cloud-asset-inventory
26
26
  module CloudassetV1beta1
27
27
  VERSION = 'V1beta1'
28
- REVISION = '20190928'
28
+ REVISION = '20191130'
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'
@@ -155,14 +155,6 @@ module Google
155
155
  # @return [Array<String>]
156
156
  attr_accessor :exempted_members
157
157
 
158
- # Specifies whether principals can be exempted for the same LogType in
159
- # lower-level resource policies. If true, any lower-level exemptions will
160
- # be ignored.
161
- # Corresponds to the JSON property `ignoreChildExemptions`
162
- # @return [Boolean]
163
- attr_accessor :ignore_child_exemptions
164
- alias_method :ignore_child_exemptions?, :ignore_child_exemptions
165
-
166
158
  # The log type that this config enables.
167
159
  # Corresponds to the JSON property `logType`
168
160
  # @return [String]
@@ -175,7 +167,6 @@ module Google
175
167
  # Update properties of this object
176
168
  def update!(**args)
177
169
  @exempted_members = args[:exempted_members] if args.key?(:exempted_members)
178
- @ignore_child_exemptions = args[:ignore_child_exemptions] if args.key?(:ignore_child_exemptions)
179
170
  @log_type = args[:log_type] if args.key?(:log_type)
180
171
  end
181
172
  end
@@ -253,6 +244,23 @@ module Google
253
244
  # account. For example, `my-other-app@appspot.gserviceaccount.com`.
254
245
  # * `group:`emailid``: An email address that represents a Google group.
255
246
  # For example, `admins@example.com`.
247
+ # * `deleted:user:`emailid`?uid=`uniqueid``: An email address (plus unique
248
+ # identifier) representing a user that has been recently deleted. For
249
+ # example,`alice@example.com?uid=123456789012345678901`. If the user is
250
+ # recovered, this value reverts to `user:`emailid`` and the recovered user
251
+ # retains the role in the binding.
252
+ # * `deleted:serviceAccount:`emailid`?uid=`uniqueid``: An email address (plus
253
+ # unique identifier) representing a service account that has been recently
254
+ # deleted. For example,
255
+ # `my-other-app@appspot.gserviceaccount.com?uid=123456789012345678901`.
256
+ # If the service account is undeleted, this value reverts to
257
+ # `serviceAccount:`emailid`` and the undeleted service account retains the
258
+ # role in the binding.
259
+ # * `deleted:group:`emailid`?uid=`uniqueid``: An email address (plus unique
260
+ # identifier) representing a Google group that has been recently
261
+ # deleted. For example, `admins@example.com?uid=123456789012345678901`. If
262
+ # the group is recovered, this value reverts to `group:`emailid`` and the
263
+ # recovered group retains the role in the binding.
256
264
  # * `domain:`domain``: The G Suite domain (primary) that represents all the
257
265
  # users of that domain. For example, `google.com` or `example.com`.
258
266
  # Corresponds to the JSON property `members`
@@ -512,25 +520,34 @@ module Google
512
520
 
513
521
  # Defines an Identity and Access Management (IAM) policy. It is used to
514
522
  # specify access control policies for Cloud Platform resources.
515
- # A `Policy` consists of a list of `bindings`. A `binding` binds a list of
516
- # `members` to a `role`, where the members can be user accounts, Google groups,
517
- # Google domains, and service accounts. A `role` is a named list of permissions
518
- # defined by IAM.
523
+ # A `Policy` is a collection of `bindings`. A `binding` binds one or more
524
+ # `members` to a single `role`. Members can be user accounts, service accounts,
525
+ # Google groups, and domains (such as G Suite). A `role` is a named list of
526
+ # permissions (defined by IAM or configured by users). A `binding` can
527
+ # optionally specify a `condition`, which is a logic expression that further
528
+ # constrains the role binding based on attributes about the request and/or
529
+ # target resource.
519
530
  # **JSON Example**
520
531
  # `
521
532
  # "bindings": [
522
533
  # `
523
- # "role": "roles/owner",
534
+ # "role": "roles/resourcemanager.organizationAdmin",
524
535
  # "members": [
525
536
  # "user:mike@example.com",
526
537
  # "group:admins@example.com",
527
538
  # "domain:google.com",
528
- # "serviceAccount:my-other-app@appspot.gserviceaccount.com"
539
+ # "serviceAccount:my-project-id@appspot.gserviceaccount.com"
529
540
  # ]
530
541
  # `,
531
542
  # `
532
- # "role": "roles/viewer",
533
- # "members": ["user:sean@example.com"]
543
+ # "role": "roles/resourcemanager.organizationViewer",
544
+ # "members": ["user:eve@example.com"],
545
+ # "condition": `
546
+ # "title": "expirable access",
547
+ # "description": "Does not grant access after Sep 2020",
548
+ # "expression": "request.time <
549
+ # timestamp('2020-10-01T00:00:00.000Z')",
550
+ # `
534
551
  # `
535
552
  # ]
536
553
  # `
@@ -540,11 +557,15 @@ module Google
540
557
  # - user:mike@example.com
541
558
  # - group:admins@example.com
542
559
  # - domain:google.com
543
- # - serviceAccount:my-other-app@appspot.gserviceaccount.com
544
- # role: roles/owner
560
+ # - serviceAccount:my-project-id@appspot.gserviceaccount.com
561
+ # role: roles/resourcemanager.organizationAdmin
545
562
  # - members:
546
- # - user:sean@example.com
547
- # role: roles/viewer
563
+ # - user:eve@example.com
564
+ # role: roles/resourcemanager.organizationViewer
565
+ # condition:
566
+ # title: expirable access
567
+ # description: Does not grant access after Sep 2020
568
+ # expression: request.time < timestamp('2020-10-01T00:00:00.000Z')
548
569
  # For a description of IAM and its features, see the
549
570
  # [IAM developer's guide](https://cloud.google.com/iam/docs).
550
571
  class Policy
@@ -555,7 +576,8 @@ module Google
555
576
  # @return [Array<Google::Apis::CloudbillingV1::AuditConfig>]
556
577
  attr_accessor :audit_configs
557
578
 
558
- # Associates a list of `members` to a `role`.
579
+ # Associates a list of `members` to a `role`. Optionally may specify a
580
+ # `condition` that determines when binding is in effect.
559
581
  # `bindings` with no members will result in an error.
560
582
  # Corresponds to the JSON property `bindings`
561
583
  # @return [Array<Google::Apis::CloudbillingV1::Binding>]
@@ -569,13 +591,24 @@ module Google
569
591
  # systems are expected to put that etag in the request to `setIamPolicy` to
570
592
  # ensure that their change will be applied to the same version of the policy.
571
593
  # If no `etag` is provided in the call to `setIamPolicy`, then the existing
572
- # policy is overwritten.
594
+ # policy is overwritten. Due to blind-set semantics of an etag-less policy,
595
+ # 'setIamPolicy' will not fail even if either of incoming or stored policy
596
+ # does not meet the version requirements.
573
597
  # Corresponds to the JSON property `etag`
574
598
  # NOTE: Values are automatically base64 encoded/decoded in the client library.
575
599
  # @return [String]
576
600
  attr_accessor :etag
577
601
 
578
- # Deprecated.
602
+ # Specifies the format of the policy.
603
+ # Valid values are 0, 1, and 3. Requests specifying an invalid value will be
604
+ # rejected.
605
+ # Operations affecting conditional bindings must specify version 3. This can
606
+ # be either setting a conditional policy, modifying a conditional binding,
607
+ # or removing a conditional binding from the stored conditional policy.
608
+ # Operations on non-conditional policies may specify any valid value or
609
+ # leave the field unset.
610
+ # If no etag is provided in the call to `setIamPolicy`, any version
611
+ # compliance checks on the incoming and/or stored policy is skipped.
579
612
  # Corresponds to the JSON property `version`
580
613
  # @return [Fixnum]
581
614
  attr_accessor :version
@@ -827,25 +860,34 @@ module Google
827
860
 
828
861
  # Defines an Identity and Access Management (IAM) policy. It is used to
829
862
  # specify access control policies for Cloud Platform resources.
830
- # A `Policy` consists of a list of `bindings`. A `binding` binds a list of
831
- # `members` to a `role`, where the members can be user accounts, Google groups,
832
- # Google domains, and service accounts. A `role` is a named list of permissions
833
- # defined by IAM.
863
+ # A `Policy` is a collection of `bindings`. A `binding` binds one or more
864
+ # `members` to a single `role`. Members can be user accounts, service accounts,
865
+ # Google groups, and domains (such as G Suite). A `role` is a named list of
866
+ # permissions (defined by IAM or configured by users). A `binding` can
867
+ # optionally specify a `condition`, which is a logic expression that further
868
+ # constrains the role binding based on attributes about the request and/or
869
+ # target resource.
834
870
  # **JSON Example**
835
871
  # `
836
872
  # "bindings": [
837
873
  # `
838
- # "role": "roles/owner",
874
+ # "role": "roles/resourcemanager.organizationAdmin",
839
875
  # "members": [
840
876
  # "user:mike@example.com",
841
877
  # "group:admins@example.com",
842
878
  # "domain:google.com",
843
- # "serviceAccount:my-other-app@appspot.gserviceaccount.com"
879
+ # "serviceAccount:my-project-id@appspot.gserviceaccount.com"
844
880
  # ]
845
881
  # `,
846
882
  # `
847
- # "role": "roles/viewer",
848
- # "members": ["user:sean@example.com"]
883
+ # "role": "roles/resourcemanager.organizationViewer",
884
+ # "members": ["user:eve@example.com"],
885
+ # "condition": `
886
+ # "title": "expirable access",
887
+ # "description": "Does not grant access after Sep 2020",
888
+ # "expression": "request.time <
889
+ # timestamp('2020-10-01T00:00:00.000Z')",
890
+ # `
849
891
  # `
850
892
  # ]
851
893
  # `
@@ -855,11 +897,15 @@ module Google
855
897
  # - user:mike@example.com
856
898
  # - group:admins@example.com
857
899
  # - domain:google.com
858
- # - serviceAccount:my-other-app@appspot.gserviceaccount.com
859
- # role: roles/owner
900
+ # - serviceAccount:my-project-id@appspot.gserviceaccount.com
901
+ # role: roles/resourcemanager.organizationAdmin
860
902
  # - members:
861
- # - user:sean@example.com
862
- # role: roles/viewer
903
+ # - user:eve@example.com
904
+ # role: roles/resourcemanager.organizationViewer
905
+ # condition:
906
+ # title: expirable access
907
+ # description: Does not grant access after Sep 2020
908
+ # expression: request.time < timestamp('2020-10-01T00:00:00.000Z')
863
909
  # For a description of IAM and its features, see the
864
910
  # [IAM developer's guide](https://cloud.google.com/iam/docs).
865
911
  # Corresponds to the JSON property `policy`
@@ -176,7 +176,6 @@ module Google
176
176
  # @private
177
177
  class Representation < Google::Apis::Core::JsonRepresentation
178
178
  collection :exempted_members, as: 'exemptedMembers'
179
- property :ignore_child_exemptions, as: 'ignoreChildExemptions'
180
179
  property :log_type, as: 'logType'
181
180
  end
182
181
  end
@@ -129,9 +129,11 @@ module Google
129
129
  # See the operation documentation for the appropriate value for this field.
130
130
  # @param [Fixnum] options_requested_policy_version
131
131
  # Optional. The policy format version to be returned.
132
- # Acceptable values are 0, 1, and 3.
133
- # If the value is 0, or the field is omitted, policy format version 1 will be
134
- # returned.
132
+ # Valid values are 0, 1, and 3. Requests specifying an invalid value will be
133
+ # rejected.
134
+ # Requests for policies with any conditional bindings must specify version 3.
135
+ # Policies without any conditional bindings may specify any valid value or
136
+ # leave the field unset.
135
137
  # @param [String] fields
136
138
  # Selector specifying which fields to include in a partial response.
137
139
  # @param [String] quota_user
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://cloud.google.com/billing/
27
27
  module CloudbillingV1
28
28
  VERSION = 'V1'
29
- REVISION = '20190805'
29
+ REVISION = '20191111'
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'
@@ -1089,12 +1089,17 @@ module Google
1089
1089
  # @return [String]
1090
1090
  attr_accessor :project_id
1091
1091
 
1092
- # Name of the Cloud Source Repository. If omitted, the name "default" is
1093
- # assumed.
1092
+ # Required. Name of the Cloud Source Repository.
1094
1093
  # Corresponds to the JSON property `repoName`
1095
1094
  # @return [String]
1096
1095
  attr_accessor :repo_name
1097
1096
 
1097
+ # Substitutions to use in a triggered build.
1098
+ # Should only be used with RunBuildTrigger
1099
+ # Corresponds to the JSON property `substitutions`
1100
+ # @return [Hash<String,String>]
1101
+ attr_accessor :substitutions
1102
+
1098
1103
  # Regex matching tags to build.
1099
1104
  # The syntax of the regular expressions accepted is the syntax accepted by
1100
1105
  # RE2 and described at https://github.com/google/re2/wiki/Syntax
@@ -1113,6 +1118,7 @@ module Google
1113
1118
  @dir = args[:dir] if args.key?(:dir)
1114
1119
  @project_id = args[:project_id] if args.key?(:project_id)
1115
1120
  @repo_name = args[:repo_name] if args.key?(:repo_name)
1121
+ @substitutions = args[:substitutions] if args.key?(:substitutions)
1116
1122
  @tag_name = args[:tag_name] if args.key?(:tag_name)
1117
1123
  end
1118
1124
  end
@@ -462,6 +462,7 @@ module Google
462
462
  property :dir, as: 'dir'
463
463
  property :project_id, as: 'projectId'
464
464
  property :repo_name, as: 'repoName'
465
+ hash :substitutions, as: 'substitutions'
465
466
  property :tag_name, as: 'tagName'
466
467
  end
467
468
  end
@@ -170,9 +170,9 @@ module Google
170
170
 
171
171
  # Cancels a build in progress.
172
172
  # @param [String] project_id
173
- # ID of the project.
173
+ # Required. ID of the project.
174
174
  # @param [String] id
175
- # ID of the build.
175
+ # Required. ID of the build.
176
176
  # @param [Google::Apis::CloudbuildV1::CancelBuildRequest] cancel_build_request_object
177
177
  # @param [String] fields
178
178
  # Selector specifying which fields to include in a partial response.
@@ -209,7 +209,7 @@ module Google
209
209
  # ID. Pass the build ID to `GetBuild` to determine the build status (such as
210
210
  # `SUCCESS` or `FAILURE`).
211
211
  # @param [String] project_id
212
- # ID of the project.
212
+ # Required. ID of the project.
213
213
  # @param [Google::Apis::CloudbuildV1::Build] build_object
214
214
  # @param [String] fields
215
215
  # Selector specifying which fields to include in a partial response.
@@ -244,9 +244,9 @@ module Google
244
244
  # The `Build` that is returned includes its status (such as `SUCCESS`,
245
245
  # `FAILURE`, or `WORKING`), and timing information.
246
246
  # @param [String] project_id
247
- # ID of the project.
247
+ # Required. ID of the project.
248
248
  # @param [String] id
249
- # ID of the build.
249
+ # Required. ID of the build.
250
250
  # @param [String] fields
251
251
  # Selector specifying which fields to include in a partial response.
252
252
  # @param [String] quota_user
@@ -279,7 +279,7 @@ module Google
279
279
  # Previously requested builds may still be in-progress, or may have finished
280
280
  # successfully or unsuccessfully.
281
281
  # @param [String] project_id
282
- # ID of the project.
282
+ # Required. ID of the project.
283
283
  # @param [String] filter
284
284
  # The raw filter text to constrain the results.
285
285
  # @param [Fixnum] page_size
@@ -337,9 +337,9 @@ module Google
337
337
  # object, which may or may not be available depending on the bucket's
338
338
  # lifecycle management settings.
339
339
  # @param [String] project_id
340
- # ID of the project.
340
+ # Required. ID of the project.
341
341
  # @param [String] id
342
- # Build ID of the original build.
342
+ # Required. Build ID of the original build.
343
343
  # @param [Google::Apis::CloudbuildV1::RetryBuildRequest] retry_build_request_object
344
344
  # @param [String] fields
345
345
  # Selector specifying which fields to include in a partial response.
@@ -374,7 +374,7 @@ module Google
374
374
  # Creates a new `BuildTrigger`.
375
375
  # This API is experimental.
376
376
  # @param [String] project_id
377
- # ID of the project for which to configure automatic builds.
377
+ # Required. ID of the project for which to configure automatic builds.
378
378
  # @param [Google::Apis::CloudbuildV1::BuildTrigger] build_trigger_object
379
379
  # @param [String] fields
380
380
  # Selector specifying which fields to include in a partial response.
@@ -408,9 +408,9 @@ module Google
408
408
  # Deletes a `BuildTrigger` by its project ID and trigger ID.
409
409
  # This API is experimental.
410
410
  # @param [String] project_id
411
- # ID of the project that owns the trigger.
411
+ # Required. ID of the project that owns the trigger.
412
412
  # @param [String] trigger_id
413
- # ID of the `BuildTrigger` to delete.
413
+ # Required. ID of the `BuildTrigger` to delete.
414
414
  # @param [String] fields
415
415
  # Selector specifying which fields to include in a partial response.
416
416
  # @param [String] quota_user
@@ -442,9 +442,9 @@ module Google
442
442
  # Returns information about a `BuildTrigger`.
443
443
  # This API is experimental.
444
444
  # @param [String] project_id
445
- # ID of the project that owns the trigger.
445
+ # Required. ID of the project that owns the trigger.
446
446
  # @param [String] trigger_id
447
- # ID of the `BuildTrigger` to get.
447
+ # Required. Identifier (`id` or `name`) of the `BuildTrigger` to get.
448
448
  # @param [String] fields
449
449
  # Selector specifying which fields to include in a partial response.
450
450
  # @param [String] quota_user
@@ -476,7 +476,7 @@ module Google
476
476
  # Lists existing `BuildTrigger`s.
477
477
  # This API is experimental.
478
478
  # @param [String] project_id
479
- # ID of the project for which to list BuildTriggers.
479
+ # Required. ID of the project for which to list BuildTriggers.
480
480
  # @param [Fixnum] page_size
481
481
  # Number of results to return in the list.
482
482
  # @param [String] page_token
@@ -513,9 +513,9 @@ module Google
513
513
  # Updates a `BuildTrigger` by its project ID and trigger ID.
514
514
  # This API is experimental.
515
515
  # @param [String] project_id
516
- # ID of the project that owns the trigger.
516
+ # Required. ID of the project that owns the trigger.
517
517
  # @param [String] trigger_id
518
- # ID of the `BuildTrigger` to update.
518
+ # Required. ID of the `BuildTrigger` to update.
519
519
  # @param [Google::Apis::CloudbuildV1::BuildTrigger] build_trigger_object
520
520
  # @param [String] fields
521
521
  # Selector specifying which fields to include in a partial response.
@@ -549,9 +549,9 @@ module Google
549
549
 
550
550
  # Runs a `BuildTrigger` at a particular source revision.
551
551
  # @param [String] project_id
552
- # ID of the project.
552
+ # Required. ID of the project.
553
553
  # @param [String] trigger_id
554
- # ID of the trigger.
554
+ # Required. ID of the trigger.
555
555
  # @param [Google::Apis::CloudbuildV1::RepoSource] repo_source_object
556
556
  # @param [String] fields
557
557
  # Selector specifying which fields to include in a partial response.
@@ -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 = '20190824'
28
+ REVISION = '20191109'
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'