google-api-client 0.28.7 → 0.29.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 (358) hide show
  1. checksums.yaml +4 -4
  2. data/.kokoro/build.bat +9 -6
  3. data/.kokoro/build.sh +2 -32
  4. data/.kokoro/continuous/common.cfg +6 -1
  5. data/.kokoro/continuous/windows.cfg +17 -1
  6. data/.kokoro/osx.sh +2 -33
  7. data/.kokoro/presubmit/common.cfg +6 -1
  8. data/.kokoro/presubmit/windows.cfg +17 -1
  9. data/.kokoro/trampoline.bat +10 -0
  10. data/.kokoro/trampoline.sh +3 -23
  11. data/CHANGELOG.md +138 -0
  12. data/Rakefile +31 -0
  13. data/generated/google/apis/accessapproval_v1beta1.rb +34 -0
  14. data/generated/google/apis/accessapproval_v1beta1/classes.rb +306 -0
  15. data/generated/google/apis/accessapproval_v1beta1/representations.rb +159 -0
  16. data/generated/google/apis/accessapproval_v1beta1/service.rb +728 -0
  17. data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
  18. data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +96 -131
  19. data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +2 -42
  20. data/generated/google/apis/admin_reports_v1.rb +1 -1
  21. data/generated/google/apis/alertcenter_v1beta1.rb +1 -1
  22. data/generated/google/apis/alertcenter_v1beta1/classes.rb +98 -0
  23. data/generated/google/apis/alertcenter_v1beta1/representations.rb +25 -0
  24. data/generated/google/apis/alertcenter_v1beta1/service.rb +2 -1
  25. data/generated/google/apis/androiddeviceprovisioning_v1.rb +1 -1
  26. data/generated/google/apis/androiddeviceprovisioning_v1/classes.rb +40 -0
  27. data/generated/google/apis/androiddeviceprovisioning_v1/representations.rb +6 -0
  28. data/generated/google/apis/androidenterprise_v1.rb +1 -1
  29. data/generated/google/apis/androidenterprise_v1/classes.rb +0 -26
  30. data/generated/google/apis/androidenterprise_v1/representations.rb +0 -14
  31. data/generated/google/apis/androidenterprise_v1/service.rb +0 -36
  32. data/generated/google/apis/androidmanagement_v1.rb +1 -1
  33. data/generated/google/apis/androidmanagement_v1/classes.rb +188 -0
  34. data/generated/google/apis/androidmanagement_v1/representations.rb +82 -0
  35. data/generated/google/apis/androidmanagement_v1/service.rb +170 -0
  36. data/generated/google/apis/androidpublisher_v2.rb +1 -1
  37. data/generated/google/apis/androidpublisher_v2/service.rb +6 -12
  38. data/generated/google/apis/androidpublisher_v3.rb +1 -1
  39. data/generated/google/apis/androidpublisher_v3/service.rb +6 -12
  40. data/generated/google/apis/appengine_v1.rb +1 -1
  41. data/generated/google/apis/appengine_v1/service.rb +7 -1
  42. data/generated/google/apis/appengine_v1beta.rb +1 -1
  43. data/generated/google/apis/appengine_v1beta/classes.rb +2 -1
  44. data/generated/google/apis/appengine_v1beta/service.rb +7 -1
  45. data/generated/google/apis/appsactivity_v1.rb +1 -1
  46. data/generated/google/apis/appsactivity_v1/service.rb +4 -3
  47. data/generated/google/apis/bigquery_v2.rb +1 -1
  48. data/generated/google/apis/bigquery_v2/classes.rb +28 -4
  49. data/generated/google/apis/bigquery_v2/representations.rb +13 -0
  50. data/generated/google/apis/bigtableadmin_v1.rb +2 -2
  51. data/generated/google/apis/bigtableadmin_v1/service.rb +1 -1
  52. data/generated/google/apis/bigtableadmin_v2.rb +2 -2
  53. data/generated/google/apis/bigtableadmin_v2/classes.rb +10 -10
  54. data/generated/google/apis/bigtableadmin_v2/service.rb +111 -2
  55. data/generated/google/apis/binaryauthorization_v1beta1.rb +1 -1
  56. data/generated/google/apis/calendar_v3.rb +1 -1
  57. data/generated/google/apis/calendar_v3/service.rb +16 -16
  58. data/generated/google/apis/classroom_v1.rb +7 -1
  59. data/generated/google/apis/classroom_v1/classes.rb +77 -0
  60. data/generated/google/apis/classroom_v1/representations.rb +32 -0
  61. data/generated/google/apis/classroom_v1/service.rb +224 -0
  62. data/generated/google/apis/cloudasset_v1.rb +1 -1
  63. data/generated/google/apis/cloudasset_v1/classes.rb +15 -2
  64. data/generated/google/apis/cloudasset_v1/representations.rb +1 -0
  65. data/generated/google/apis/cloudasset_v1/service.rb +3 -2
  66. data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
  67. data/generated/google/apis/cloudasset_v1beta1/classes.rb +13 -0
  68. data/generated/google/apis/cloudasset_v1beta1/representations.rb +1 -0
  69. data/generated/google/apis/cloudbilling_v1.rb +1 -1
  70. data/generated/google/apis/cloudbilling_v1/service.rb +2 -2
  71. data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
  72. data/generated/google/apis/cloudbuild_v1alpha1/classes.rb +1 -1
  73. data/generated/google/apis/clouderrorreporting_v1beta1.rb +1 -1
  74. data/generated/google/apis/clouderrorreporting_v1beta1/classes.rb +19 -16
  75. data/generated/google/apis/clouderrorreporting_v1beta1/service.rb +6 -5
  76. data/generated/google/apis/cloudfunctions_v1.rb +1 -1
  77. data/generated/google/apis/cloudfunctions_v1/classes.rb +7 -10
  78. data/generated/google/apis/cloudfunctions_v1beta2.rb +1 -1
  79. data/generated/google/apis/cloudfunctions_v1beta2/classes.rb +7 -4
  80. data/generated/google/apis/cloudiot_v1.rb +1 -1
  81. data/generated/google/apis/cloudkms_v1.rb +1 -1
  82. data/generated/google/apis/cloudprivatecatalogproducer_v1beta1.rb +1 -1
  83. data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
  84. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +6 -5
  85. data/generated/google/apis/cloudresourcemanager_v1/service.rb +30 -21
  86. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
  87. data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +37 -26
  88. data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
  89. data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
  90. data/generated/google/apis/cloudscheduler_v1.rb +34 -0
  91. data/generated/google/apis/cloudscheduler_v1/classes.rb +994 -0
  92. data/generated/google/apis/cloudscheduler_v1/representations.rb +297 -0
  93. data/generated/google/apis/cloudscheduler_v1/service.rb +448 -0
  94. data/generated/google/apis/cloudscheduler_v1beta1.rb +1 -1
  95. data/generated/google/apis/cloudscheduler_v1beta1/classes.rb +2 -2
  96. data/generated/google/apis/cloudsearch_v1.rb +1 -1
  97. data/generated/google/apis/cloudsearch_v1/classes.rb +25 -11
  98. data/generated/google/apis/cloudsearch_v1/service.rb +36 -32
  99. data/generated/google/apis/cloudtasks_v2.rb +1 -1
  100. data/generated/google/apis/cloudtasks_v2/service.rb +13 -13
  101. data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
  102. data/generated/google/apis/cloudtasks_v2beta2/service.rb +13 -13
  103. data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
  104. data/generated/google/apis/cloudtasks_v2beta3/service.rb +13 -13
  105. data/generated/google/apis/commentanalyzer_v1alpha1.rb +39 -0
  106. data/generated/google/apis/commentanalyzer_v1alpha1/classes.rb +484 -0
  107. data/generated/google/apis/commentanalyzer_v1alpha1/representations.rb +210 -0
  108. data/generated/google/apis/commentanalyzer_v1alpha1/service.rb +124 -0
  109. data/generated/google/apis/compute_alpha.rb +1 -1
  110. data/generated/google/apis/compute_alpha/classes.rb +328 -25
  111. data/generated/google/apis/compute_alpha/representations.rb +134 -0
  112. data/generated/google/apis/compute_alpha/service.rb +465 -0
  113. data/generated/google/apis/compute_beta.rb +1 -1
  114. data/generated/google/apis/compute_beta/classes.rb +86 -20
  115. data/generated/google/apis/compute_beta/representations.rb +7 -0
  116. data/generated/google/apis/compute_v1.rb +1 -1
  117. data/generated/google/apis/compute_v1/classes.rb +994 -103
  118. data/generated/google/apis/compute_v1/representations.rb +346 -0
  119. data/generated/google/apis/compute_v1/service.rb +533 -0
  120. data/generated/google/apis/container_v1.rb +1 -1
  121. data/generated/google/apis/container_v1/classes.rb +167 -21
  122. data/generated/google/apis/container_v1/representations.rb +66 -0
  123. data/generated/google/apis/container_v1/service.rb +85 -36
  124. data/generated/google/apis/container_v1beta1.rb +1 -1
  125. data/generated/google/apis/container_v1beta1/classes.rb +86 -21
  126. data/generated/google/apis/container_v1beta1/representations.rb +32 -0
  127. data/generated/google/apis/container_v1beta1/service.rb +38 -38
  128. data/generated/google/apis/containeranalysis_v1alpha1.rb +1 -1
  129. data/generated/google/apis/containeranalysis_v1beta1.rb +1 -1
  130. data/generated/google/apis/containeranalysis_v1beta1/classes.rb +95 -6
  131. data/generated/google/apis/containeranalysis_v1beta1/representations.rb +25 -0
  132. data/generated/google/apis/content_v2.rb +1 -1
  133. data/generated/google/apis/content_v2/classes.rb +5 -5
  134. data/generated/google/apis/content_v2/service.rb +6 -6
  135. data/generated/google/apis/content_v2_1.rb +1 -1
  136. data/generated/google/apis/content_v2_1/classes.rb +18 -4
  137. data/generated/google/apis/content_v2_1/representations.rb +2 -0
  138. data/generated/google/apis/content_v2_1/service.rb +6 -6
  139. data/generated/google/apis/dataflow_v1b3.rb +1 -1
  140. data/generated/google/apis/dataflow_v1b3/classes.rb +56 -1
  141. data/generated/google/apis/dataflow_v1b3/representations.rb +39 -0
  142. data/generated/google/apis/dataflow_v1b3/service.rb +251 -0
  143. data/generated/google/apis/datafusion_v1beta1.rb +43 -0
  144. data/generated/google/apis/datafusion_v1beta1/classes.rb +1304 -0
  145. data/generated/google/apis/datafusion_v1beta1/representations.rb +469 -0
  146. data/generated/google/apis/datafusion_v1beta1/service.rb +657 -0
  147. data/generated/google/apis/dataproc_v1.rb +1 -1
  148. data/generated/google/apis/dataproc_v1/classes.rb +5 -5
  149. data/generated/google/apis/dataproc_v1beta2.rb +1 -1
  150. data/generated/google/apis/dataproc_v1beta2/classes.rb +37 -24
  151. data/generated/google/apis/datastore_v1.rb +1 -1
  152. data/generated/google/apis/datastore_v1/classes.rb +20 -16
  153. data/generated/google/apis/datastore_v1beta1.rb +1 -1
  154. data/generated/google/apis/datastore_v1beta1/classes.rb +10 -10
  155. data/generated/google/apis/datastore_v1beta3.rb +1 -1
  156. data/generated/google/apis/datastore_v1beta3/classes.rb +10 -6
  157. data/generated/google/apis/dialogflow_v2.rb +1 -1
  158. data/generated/google/apis/dialogflow_v2/classes.rb +236 -0
  159. data/generated/google/apis/dialogflow_v2/representations.rb +99 -0
  160. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  161. data/generated/google/apis/dialogflow_v2beta1/classes.rb +64 -2
  162. data/generated/google/apis/dialogflow_v2beta1/representations.rb +31 -0
  163. data/generated/google/apis/dlp_v2.rb +1 -1
  164. data/generated/google/apis/dlp_v2/classes.rb +19 -2
  165. data/generated/google/apis/dns_v1.rb +1 -1
  166. data/generated/google/apis/dns_v1/classes.rb +202 -93
  167. data/generated/google/apis/dns_v1/service.rb +110 -15
  168. data/generated/google/apis/dns_v1beta2.rb +1 -1
  169. data/generated/google/apis/dns_v1beta2/classes.rb +262 -122
  170. data/generated/google/apis/dns_v1beta2/service.rb +141 -21
  171. data/generated/google/apis/dns_v2beta1.rb +1 -1
  172. data/generated/google/apis/dns_v2beta1/classes.rb +202 -93
  173. data/generated/google/apis/dns_v2beta1/service.rb +110 -15
  174. data/generated/google/apis/docs_v1.rb +1 -1
  175. data/generated/google/apis/docs_v1/classes.rb +10 -0
  176. data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
  177. data/generated/google/apis/doubleclickbidmanager_v1/classes.rb +6 -4
  178. data/generated/google/apis/drive_v2.rb +1 -1
  179. data/generated/google/apis/drive_v2/classes.rb +601 -69
  180. data/generated/google/apis/drive_v2/representations.rb +152 -0
  181. data/generated/google/apis/drive_v2/service.rb +452 -96
  182. data/generated/google/apis/drive_v3.rb +1 -1
  183. data/generated/google/apis/drive_v3/classes.rb +591 -64
  184. data/generated/google/apis/drive_v3/representations.rb +151 -0
  185. data/generated/google/apis/drive_v3/service.rb +407 -77
  186. data/generated/google/apis/driveactivity_v2.rb +1 -1
  187. data/generated/google/apis/driveactivity_v2/classes.rb +149 -17
  188. data/generated/google/apis/driveactivity_v2/representations.rb +69 -0
  189. data/generated/google/apis/file_v1.rb +1 -1
  190. data/generated/google/apis/file_v1/classes.rb +399 -8
  191. data/generated/google/apis/file_v1/representations.rb +121 -0
  192. data/generated/google/apis/file_v1beta1.rb +1 -1
  193. data/generated/google/apis/file_v1beta1/classes.rb +399 -8
  194. data/generated/google/apis/file_v1beta1/representations.rb +121 -0
  195. data/generated/google/apis/firebasedynamiclinks_v1.rb +1 -1
  196. data/generated/google/apis/firebasedynamiclinks_v1/classes.rb +28 -4
  197. data/generated/google/apis/firebasedynamiclinks_v1/representations.rb +4 -0
  198. data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
  199. data/generated/google/apis/firebasehosting_v1beta1/classes.rb +13 -13
  200. data/generated/google/apis/firebaserules_v1.rb +1 -1
  201. data/generated/google/apis/firebaserules_v1/classes.rb +10 -2
  202. data/generated/google/apis/firestore_v1.rb +1 -1
  203. data/generated/google/apis/firestore_v1/classes.rb +15 -15
  204. data/generated/google/apis/firestore_v1beta1.rb +1 -1
  205. data/generated/google/apis/firestore_v1beta1/classes.rb +15 -15
  206. data/generated/google/apis/firestore_v1beta2.rb +1 -1
  207. data/generated/google/apis/firestore_v1beta2/classes.rb +10 -10
  208. data/generated/google/apis/fitness_v1.rb +1 -1
  209. data/generated/google/apis/fitness_v1/classes.rb +1 -1
  210. data/generated/google/apis/games_v1.rb +2 -2
  211. data/generated/google/apis/gmail_v1.rb +1 -1
  212. data/generated/google/apis/gmail_v1/classes.rb +29 -0
  213. data/generated/google/apis/gmail_v1/representations.rb +13 -0
  214. data/generated/google/apis/gmail_v1/service.rb +76 -0
  215. data/generated/google/apis/healthcare_v1beta1.rb +34 -0
  216. data/generated/google/apis/healthcare_v1beta1/classes.rb +2462 -0
  217. data/generated/google/apis/healthcare_v1beta1/representations.rb +1042 -0
  218. data/generated/google/apis/healthcare_v1beta1/service.rb +3403 -0
  219. data/generated/google/apis/iap_v1.rb +1 -1
  220. data/generated/google/apis/iap_v1beta1.rb +1 -1
  221. data/generated/google/apis/jobs_v2.rb +1 -1
  222. data/generated/google/apis/jobs_v2/classes.rb +9 -8
  223. data/generated/google/apis/jobs_v3.rb +1 -1
  224. data/generated/google/apis/jobs_v3/classes.rb +13 -7
  225. data/generated/google/apis/jobs_v3/service.rb +1 -2
  226. data/generated/google/apis/jobs_v3p1beta1.rb +1 -1
  227. data/generated/google/apis/jobs_v3p1beta1/classes.rb +13 -7
  228. data/generated/google/apis/jobs_v3p1beta1/service.rb +1 -2
  229. data/generated/google/apis/language_v1.rb +1 -1
  230. data/generated/google/apis/language_v1/classes.rb +3 -2
  231. data/generated/google/apis/language_v1beta2.rb +1 -1
  232. data/generated/google/apis/language_v1beta2/classes.rb +3 -2
  233. data/generated/google/apis/ml_v1.rb +1 -1
  234. data/generated/google/apis/ml_v1/classes.rb +64 -16
  235. data/generated/google/apis/ml_v1/representations.rb +2 -0
  236. data/generated/google/apis/ml_v1/service.rb +5 -5
  237. data/generated/google/apis/monitoring_v3.rb +1 -1
  238. data/generated/google/apis/monitoring_v3/classes.rb +0 -10
  239. data/generated/google/apis/monitoring_v3/representations.rb +0 -1
  240. data/generated/google/apis/oauth2_v1.rb +1 -1
  241. data/generated/google/apis/oauth2_v2.rb +1 -1
  242. data/generated/google/apis/oslogin_v1.rb +3 -2
  243. data/generated/google/apis/oslogin_v1/service.rb +2 -1
  244. data/generated/google/apis/oslogin_v1alpha.rb +3 -2
  245. data/generated/google/apis/oslogin_v1alpha/service.rb +2 -1
  246. data/generated/google/apis/oslogin_v1beta.rb +3 -2
  247. data/generated/google/apis/oslogin_v1beta/service.rb +2 -1
  248. data/generated/google/apis/people_v1.rb +1 -4
  249. data/generated/google/apis/people_v1/classes.rb +19 -11
  250. data/generated/google/apis/people_v1/representations.rb +1 -0
  251. data/generated/google/apis/people_v1/service.rb +1 -0
  252. data/generated/google/apis/plus_domains_v1.rb +2 -5
  253. data/generated/google/apis/plus_domains_v1/service.rb +8 -90
  254. data/generated/google/apis/plus_v1.rb +2 -2
  255. data/generated/google/apis/plus_v1/service.rb +7 -7
  256. data/generated/google/apis/poly_v1.rb +1 -1
  257. data/generated/google/apis/poly_v1/classes.rb +3 -2
  258. data/generated/google/apis/poly_v1/service.rb +11 -8
  259. data/generated/google/apis/pubsub_v1.rb +1 -1
  260. data/generated/google/apis/pubsub_v1/classes.rb +2 -1
  261. data/generated/google/apis/pubsub_v1/service.rb +8 -8
  262. data/generated/google/apis/pubsub_v1beta2.rb +1 -1
  263. data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
  264. data/generated/google/apis/remotebuildexecution_v1/classes.rb +7 -6
  265. data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
  266. data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +5 -4
  267. data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
  268. data/generated/google/apis/remotebuildexecution_v2/classes.rb +5 -4
  269. data/generated/google/apis/run_v1alpha1.rb +1 -1
  270. data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
  271. data/generated/google/apis/securitycenter_v1.rb +35 -0
  272. data/generated/google/apis/securitycenter_v1/classes.rb +1627 -0
  273. data/generated/google/apis/securitycenter_v1/representations.rb +569 -0
  274. data/generated/google/apis/securitycenter_v1/service.rb +1110 -0
  275. data/generated/google/apis/securitycenter_v1beta1.rb +35 -0
  276. data/generated/google/apis/securitycenter_v1beta1/classes.rb +1514 -0
  277. data/generated/google/apis/securitycenter_v1beta1/representations.rb +548 -0
  278. data/generated/google/apis/securitycenter_v1beta1/service.rb +1035 -0
  279. data/generated/google/apis/servicebroker_v1.rb +1 -1
  280. data/generated/google/apis/servicebroker_v1alpha1.rb +1 -1
  281. data/generated/google/apis/servicebroker_v1beta1.rb +1 -1
  282. data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
  283. data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +324 -13
  284. data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +174 -0
  285. data/generated/google/apis/serviceconsumermanagement_v1/service.rb +5 -0
  286. data/generated/google/apis/servicecontrol_v1.rb +1 -1
  287. data/generated/google/apis/servicecontrol_v1/classes.rb +2 -1
  288. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  289. data/generated/google/apis/servicemanagement_v1/classes.rb +101 -20
  290. data/generated/google/apis/servicenetworking_v1.rb +1 -1
  291. data/generated/google/apis/servicenetworking_v1/classes.rb +16 -13
  292. data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
  293. data/generated/google/apis/servicenetworking_v1beta/classes.rb +16 -13
  294. data/generated/google/apis/serviceusage_v1.rb +1 -1
  295. data/generated/google/apis/serviceusage_v1/classes.rb +110 -13
  296. data/generated/google/apis/serviceusage_v1/representations.rb +43 -0
  297. data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
  298. data/generated/google/apis/serviceusage_v1beta1/classes.rb +110 -13
  299. data/generated/google/apis/serviceusage_v1beta1/representations.rb +43 -0
  300. data/generated/google/apis/sourcerepo_v1.rb +1 -1
  301. data/generated/google/apis/sourcerepo_v1/classes.rb +182 -0
  302. data/generated/google/apis/sourcerepo_v1/representations.rb +45 -0
  303. data/generated/google/apis/sourcerepo_v1/service.rb +35 -0
  304. data/generated/google/apis/spanner_v1.rb +1 -1
  305. data/generated/google/apis/spanner_v1/classes.rb +20 -19
  306. data/generated/google/apis/spanner_v1/service.rb +1 -1
  307. data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
  308. data/generated/google/apis/sqladmin_v1beta4/classes.rb +9 -2
  309. data/generated/google/apis/sqladmin_v1beta4/representations.rb +1 -0
  310. data/generated/google/apis/storage_v1.rb +1 -1
  311. data/generated/google/apis/storage_v1/classes.rb +144 -0
  312. data/generated/google/apis/storage_v1/representations.rb +56 -0
  313. data/generated/google/apis/storage_v1/service.rb +441 -46
  314. data/generated/google/apis/storagetransfer_v1.rb +1 -1
  315. data/generated/google/apis/storagetransfer_v1/classes.rb +3 -3
  316. data/generated/google/apis/testing_v1.rb +1 -1
  317. data/generated/google/apis/testing_v1/classes.rb +6 -0
  318. data/generated/google/apis/testing_v1/representations.rb +1 -0
  319. data/generated/google/apis/texttospeech_v1beta1.rb +1 -1
  320. data/generated/google/apis/toolresults_v1beta3.rb +1 -1
  321. data/generated/google/apis/toolresults_v1beta3/classes.rb +240 -0
  322. data/generated/google/apis/toolresults_v1beta3/representations.rb +43 -0
  323. data/generated/google/apis/toolresults_v1beta3/service.rb +116 -0
  324. data/generated/google/apis/tpu_v1.rb +1 -1
  325. data/generated/google/apis/tpu_v1/classes.rb +10 -4
  326. data/generated/google/apis/tpu_v1/representations.rb +1 -0
  327. data/generated/google/apis/tpu_v1alpha1.rb +1 -1
  328. data/generated/google/apis/tpu_v1alpha1/classes.rb +10 -4
  329. data/generated/google/apis/tpu_v1alpha1/representations.rb +1 -0
  330. data/generated/google/apis/vault_v1.rb +1 -1
  331. data/generated/google/apis/vault_v1/classes.rb +37 -18
  332. data/generated/google/apis/vault_v1/representations.rb +3 -0
  333. data/generated/google/apis/vision_v1.rb +1 -1
  334. data/generated/google/apis/vision_v1/classes.rb +84 -47
  335. data/generated/google/apis/vision_v1/service.rb +68 -4
  336. data/generated/google/apis/vision_v1p1beta1.rb +1 -1
  337. data/generated/google/apis/vision_v1p1beta1/classes.rb +84 -47
  338. data/generated/google/apis/vision_v1p2beta1.rb +1 -1
  339. data/generated/google/apis/vision_v1p2beta1/classes.rb +84 -47
  340. data/generated/google/apis/webmasters_v3.rb +1 -1
  341. data/generated/google/apis/webmasters_v3/classes.rb +0 -166
  342. data/generated/google/apis/webmasters_v3/representations.rb +0 -93
  343. data/generated/google/apis/webmasters_v3/service.rb +0 -171
  344. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  345. data/generated/google/apis/youtube_partner_v1/classes.rb +15 -34
  346. data/generated/google/apis/youtube_partner_v1/representations.rb +4 -17
  347. data/generated/google/apis/youtube_v3.rb +1 -1
  348. data/generated/google/apis/youtubereporting_v1.rb +1 -1
  349. data/generated/google/apis/youtubereporting_v1/classes.rb +2 -2
  350. data/google-api-client.gemspec +1 -1
  351. data/lib/google/apis/version.rb +1 -1
  352. metadata +31 -9
  353. data/.kokoro/common.cfg +0 -22
  354. data/.kokoro/windows.sh +0 -32
  355. data/generated/google/apis/logging_v2beta1.rb +0 -46
  356. data/generated/google/apis/logging_v2beta1/classes.rb +0 -1764
  357. data/generated/google/apis/logging_v2beta1/representations.rb +0 -537
  358. data/generated/google/apis/logging_v2beta1/service.rb +0 -570
@@ -112,6 +112,12 @@ module Google
112
112
  include Google::Apis::Core::JsonObjectSupport
113
113
  end
114
114
 
115
+ class CvsSv3
116
+ class Representation < Google::Apis::Core::JsonRepresentation; end
117
+
118
+ include Google::Apis::Core::JsonObjectSupport
119
+ end
120
+
115
121
  class CloudRepoSourceContext
116
122
  class Representation < Google::Apis::Core::JsonRepresentation; end
117
123
 
@@ -610,6 +616,23 @@ module Google
610
616
  end
611
617
  end
612
618
 
619
+ class CvsSv3
620
+ # @private
621
+ class Representation < Google::Apis::Core::JsonRepresentation
622
+ property :attack_complexity, as: 'attackComplexity'
623
+ property :attack_vector, as: 'attackVector'
624
+ property :availability_impact, as: 'availabilityImpact'
625
+ property :base_score, as: 'baseScore'
626
+ property :confidentiality_impact, as: 'confidentialityImpact'
627
+ property :exploitability_score, as: 'exploitabilityScore'
628
+ property :impact_score, as: 'impactScore'
629
+ property :integrity_impact, as: 'integrityImpact'
630
+ property :privileges_required, as: 'privilegesRequired'
631
+ property :scope, as: 'scope'
632
+ property :user_interaction, as: 'userInteraction'
633
+ end
634
+ end
635
+
613
636
  class CloudRepoSourceContext
614
637
  # @private
615
638
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1177,6 +1200,8 @@ module Google
1177
1200
  # @private
1178
1201
  class Representation < Google::Apis::Core::JsonRepresentation
1179
1202
  property :cvss_score, as: 'cvssScore'
1203
+ property :cvss_v3, as: 'cvssV3', class: Google::Apis::ContaineranalysisV1beta1::CvsSv3, decorator: Google::Apis::ContaineranalysisV1beta1::CvsSv3::Representation
1204
+
1180
1205
  collection :details, as: 'details', class: Google::Apis::ContaineranalysisV1beta1::Detail, decorator: Google::Apis::ContaineranalysisV1beta1::Detail::Representation
1181
1206
 
1182
1207
  property :severity, as: 'severity'
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://developers.google.com/shopping-content
27
27
  module ContentV2
28
28
  VERSION = 'V2'
29
- REVISION = '20190315'
29
+ REVISION = '20190423'
30
30
 
31
31
  # Manage your product listings and accounts for Google Shopping
32
32
  AUTH_CONTENT = 'https://www.googleapis.com/auth/content'
@@ -8510,7 +8510,7 @@ module Google
8510
8510
  # @return [Array<String>]
8511
8511
  attr_accessor :additional_image_links
8512
8512
 
8513
- # Additional categories of the item (formatted as in products feed specification)
8513
+ # Additional categories of the item (formatted as in products data specification)
8514
8514
  # .
8515
8515
  # Corresponds to the JSON property `additionalProductTypes`
8516
8516
  # @return [Array<String>]
@@ -8591,8 +8591,8 @@ module Google
8591
8591
 
8592
8592
  # A list of custom (merchant-provided) attributes. It can also be used for
8593
8593
  # submitting any attribute of the feed specification in its generic form (e.g., `
8594
- # "name": "size type", "type": "text", "value": "regular" `). This is useful
8595
- # for submitting attributes not explicitly exposed by the API.
8594
+ # "name": "size type", "value": "regular" `). This is useful for submitting
8595
+ # attributes not explicitly exposed by the API.
8596
8596
  # Corresponds to the JSON property `customAttributes`
8597
8597
  # @return [Array<Google::Apis::ContentV2::CustomAttribute>]
8598
8598
  attr_accessor :custom_attributes
@@ -8810,7 +8810,7 @@ module Google
8810
8810
  # @return [Google::Apis::ContentV2::Price]
8811
8811
  attr_accessor :price
8812
8812
 
8813
- # Your category of the item (formatted as in products feed specification).
8813
+ # Your category of the item (formatted as in products data specification).
8814
8814
  # Corresponds to the JSON property `productType`
8815
8815
  # @return [String]
8816
8816
  attr_accessor :product_type
@@ -8825,7 +8825,7 @@ module Google
8825
8825
  # @return [Google::Apis::ContentV2::Price]
8826
8826
  attr_accessor :sale_price
8827
8827
 
8828
- # Date range during which the item is on sale (see products feed specification).
8828
+ # Date range during which the item is on sale (see products data specification).
8829
8829
  # Corresponds to the JSON property `salePriceEffectiveDate`
8830
8830
  # @return [String]
8831
8831
  attr_accessor :sale_price_effective_date
@@ -283,8 +283,8 @@ module Google
283
283
  execute_or_queue_command(command, &block)
284
284
  end
285
285
 
286
- # Performs an action on a link between a Merchant Center account and another
287
- # account.
286
+ # Performs an action on a link between two Merchant Center accounts, namely
287
+ # accountId and linkedAccountId.
288
288
  # @param [Fixnum] merchant_id
289
289
  # The ID of the managing account. If this parameter is not the same as accountId,
290
290
  # then this account must be a multi-client account and accountId must be the ID
@@ -1769,7 +1769,7 @@ module Google
1769
1769
  end
1770
1770
 
1771
1771
  # Creates a charge invoice for a shipment group, and triggers a charge capture
1772
- # for non-facilitated payment orders.
1772
+ # for orderinvoice enabled orders.
1773
1773
  # @param [Fixnum] merchant_id
1774
1774
  # The ID of the account that manages the order. This cannot be a multi-client
1775
1775
  # account.
@@ -1810,9 +1810,9 @@ module Google
1810
1810
  end
1811
1811
 
1812
1812
  # Creates a refund invoice for one or more shipment groups, and triggers a
1813
- # refund for non-facilitated payment orders. This can only be used for line
1814
- # items that have previously been charged using createChargeInvoice. All amounts
1815
- # (except for the summary) are incremental with respect to the previous invoice.
1813
+ # refund for orderinvoice enabled orders. This can only be used for line items
1814
+ # that have previously been charged using createChargeInvoice. All amounts (
1815
+ # except for the summary) are incremental with respect to the previous invoice.
1816
1816
  # @param [Fixnum] merchant_id
1817
1817
  # The ID of the account that manages the order. This cannot be a multi-client
1818
1818
  # account.
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://developers.google.com/shopping-content
27
27
  module ContentV2_1
28
28
  VERSION = 'V2_1'
29
- REVISION = '20190315'
29
+ REVISION = '20190423'
30
30
 
31
31
  # Manage your product listings and accounts for Google Shopping
32
32
  AUTH_CONTENT = 'https://www.googleapis.com/auth/content'
@@ -6741,8 +6741,8 @@ module Google
6741
6741
 
6742
6742
  # A list of custom (merchant-provided) attributes. It can also be used for
6743
6743
  # submitting any attribute of the feed specification in its generic form (e.g., `
6744
- # "name": "size type", "type": "text", "value": "regular" `). This is useful
6745
- # for submitting attributes not explicitly exposed by the API.
6744
+ # "name": "size type", "value": "regular" `). This is useful for submitting
6745
+ # attributes not explicitly exposed by the API.
6746
6746
  # Corresponds to the JSON property `customAttributes`
6747
6747
  # @return [Array<Google::Apis::ContentV2_1::CustomAttribute>]
6748
6748
  attr_accessor :custom_attributes
@@ -6957,7 +6957,7 @@ module Google
6957
6957
  # @return [Google::Apis::ContentV2_1::Price]
6958
6958
  attr_accessor :price
6959
6959
 
6960
- # Categories of the item (formatted as in products feed specification).
6960
+ # Categories of the item (formatted as in products data specification).
6961
6961
  # Corresponds to the JSON property `productTypes`
6962
6962
  # @return [Array<String>]
6963
6963
  attr_accessor :product_types
@@ -6972,7 +6972,7 @@ module Google
6972
6972
  # @return [Google::Apis::ContentV2_1::Price]
6973
6973
  attr_accessor :sale_price
6974
6974
 
6975
- # Date range during which the item is on sale (see products feed specification).
6975
+ # Date range during which the item is on sale (see products data specification).
6976
6976
  # Corresponds to the JSON property `salePriceEffectiveDate`
6977
6977
  # @return [String]
6978
6978
  attr_accessor :sale_price_effective_date
@@ -7039,6 +7039,12 @@ module Google
7039
7039
  # @return [String]
7040
7040
  attr_accessor :target_country
7041
7041
 
7042
+ # The tax category of the product, used to configure detailed tax nexus in
7043
+ # account-level tax settings.
7044
+ # Corresponds to the JSON property `taxCategory`
7045
+ # @return [String]
7046
+ attr_accessor :tax_category
7047
+
7042
7048
  # Tax information.
7043
7049
  # Corresponds to the JSON property `taxes`
7044
7050
  # @return [Array<Google::Apis::ContentV2_1::ProductTax>]
@@ -7049,6 +7055,12 @@ module Google
7049
7055
  # @return [String]
7050
7056
  attr_accessor :title
7051
7057
 
7058
+ # The transit time label of the product, used to group product in account-level
7059
+ # transit time tables.
7060
+ # Corresponds to the JSON property `transitTimeLabel`
7061
+ # @return [String]
7062
+ attr_accessor :transit_time_label
7063
+
7052
7064
  # The preference of the denominator of the unit price.
7053
7065
  # Corresponds to the JSON property `unitPricingBaseMeasure`
7054
7066
  # @return [Google::Apis::ContentV2_1::ProductUnitPricingBaseMeasure]
@@ -7134,8 +7146,10 @@ module Google
7134
7146
  @sizes = args[:sizes] if args.key?(:sizes)
7135
7147
  @source = args[:source] if args.key?(:source)
7136
7148
  @target_country = args[:target_country] if args.key?(:target_country)
7149
+ @tax_category = args[:tax_category] if args.key?(:tax_category)
7137
7150
  @taxes = args[:taxes] if args.key?(:taxes)
7138
7151
  @title = args[:title] if args.key?(:title)
7152
+ @transit_time_label = args[:transit_time_label] if args.key?(:transit_time_label)
7139
7153
  @unit_pricing_base_measure = args[:unit_pricing_base_measure] if args.key?(:unit_pricing_base_measure)
7140
7154
  @unit_pricing_measure = args[:unit_pricing_measure] if args.key?(:unit_pricing_measure)
7141
7155
  end
@@ -3350,9 +3350,11 @@ module Google
3350
3350
  collection :sizes, as: 'sizes'
3351
3351
  property :source, as: 'source'
3352
3352
  property :target_country, as: 'targetCountry'
3353
+ property :tax_category, as: 'taxCategory'
3353
3354
  collection :taxes, as: 'taxes', class: Google::Apis::ContentV2_1::ProductTax, decorator: Google::Apis::ContentV2_1::ProductTax::Representation
3354
3355
 
3355
3356
  property :title, as: 'title'
3357
+ property :transit_time_label, as: 'transitTimeLabel'
3356
3358
  property :unit_pricing_base_measure, as: 'unitPricingBaseMeasure', class: Google::Apis::ContentV2_1::ProductUnitPricingBaseMeasure, decorator: Google::Apis::ContentV2_1::ProductUnitPricingBaseMeasure::Representation
3357
3359
 
3358
3360
  property :unit_pricing_measure, as: 'unitPricingMeasure', class: Google::Apis::ContentV2_1::ProductUnitPricingMeasure, decorator: Google::Apis::ContentV2_1::ProductUnitPricingMeasure::Representation
@@ -271,8 +271,8 @@ module Google
271
271
  execute_or_queue_command(command, &block)
272
272
  end
273
273
 
274
- # Performs an action on a link between a Merchant Center account and another
275
- # account.
274
+ # Performs an action on a link between two Merchant Center accounts, namely
275
+ # accountId and linkedAccountId.
276
276
  # @param [Fixnum] merchant_id
277
277
  # The ID of the managing account. If this parameter is not the same as accountId,
278
278
  # then this account must be a multi-client account and accountId must be the ID
@@ -1451,7 +1451,7 @@ module Google
1451
1451
  end
1452
1452
 
1453
1453
  # Creates a charge invoice for a shipment group, and triggers a charge capture
1454
- # for non-facilitated payment orders.
1454
+ # for orderinvoice enabled orders.
1455
1455
  # @param [Fixnum] merchant_id
1456
1456
  # The ID of the account that manages the order. This cannot be a multi-client
1457
1457
  # account.
@@ -1492,9 +1492,9 @@ module Google
1492
1492
  end
1493
1493
 
1494
1494
  # Creates a refund invoice for one or more shipment groups, and triggers a
1495
- # refund for non-facilitated payment orders. This can only be used for line
1496
- # items that have previously been charged using createChargeInvoice. All amounts
1497
- # (except for the summary) are incremental with respect to the previous invoice.
1495
+ # refund for orderinvoice enabled orders. This can only be used for line items
1496
+ # that have previously been charged using createChargeInvoice. All amounts (
1497
+ # except for the summary) are incremental with respect to the previous invoice.
1498
1498
  # @param [Fixnum] merchant_id
1499
1499
  # The ID of the account that manages the order. This cannot be a multi-client
1500
1500
  # account.
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://cloud.google.com/dataflow
26
26
  module DataflowV1b3
27
27
  VERSION = 'V1b3'
28
- REVISION = '20190322'
28
+ REVISION = '20190419'
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'
@@ -836,6 +836,19 @@ module Google
836
836
  end
837
837
  end
838
838
 
839
+ # Response from deleting a snapshot.
840
+ class DeleteSnapshotResponse
841
+ include Google::Apis::Core::Hashable
842
+
843
+ def initialize(**args)
844
+ update!(**args)
845
+ end
846
+
847
+ # Update properties of this object
848
+ def update!(**args)
849
+ end
850
+ end
851
+
839
852
  # Specification of one of the bundles produced as a result of splitting
840
853
  # a Source (e.g. when executing a SourceSplitRequest, or when
841
854
  # splitting an active task using WorkItemStatus.dynamic_source_split),
@@ -2377,6 +2390,25 @@ module Google
2377
2390
  end
2378
2391
  end
2379
2392
 
2393
+ # List of snapshots.
2394
+ class ListSnapshotsResponse
2395
+ include Google::Apis::Core::Hashable
2396
+
2397
+ # Returned snapshots.
2398
+ # Corresponds to the JSON property `snapshots`
2399
+ # @return [Array<Google::Apis::DataflowV1b3::Snapshot>]
2400
+ attr_accessor :snapshots
2401
+
2402
+ def initialize(**args)
2403
+ update!(**args)
2404
+ end
2405
+
2406
+ # Update properties of this object
2407
+ def update!(**args)
2408
+ @snapshots = args[:snapshots] if args.key?(:snapshots)
2409
+ end
2410
+ end
2411
+
2380
2412
  # MapTask consists of an ordered set of instructions, each of which
2381
2413
  # describes one particular low-level operation for the worker to
2382
2414
  # perform in order to accomplish the MapTask's WorkItem.
@@ -3283,7 +3315,11 @@ module Google
3283
3315
  # @return [Array<String>]
3284
3316
  attr_accessor :additional_experiments
3285
3317
 
3286
- # Additional user labels attached to the job.
3318
+ # Additional user labels to be specified for the job.
3319
+ # Keys and values should follow the restrictions specified in the [labeling
3320
+ # restrictions](https://cloud.google.com/compute/docs/labeling-resources#
3321
+ # restrictions)
3322
+ # page.
3287
3323
  # Corresponds to the JSON property `additionalUserLabels`
3288
3324
  # @return [Hash<String,String>]
3289
3325
  attr_accessor :additional_user_labels
@@ -4999,6 +5035,25 @@ module Google
4999
5035
  end
5000
5036
  end
5001
5037
 
5038
+ # Response to the validation request.
5039
+ class ValidateResponse
5040
+ include Google::Apis::Core::Hashable
5041
+
5042
+ # Will be empty if validation succeeds.
5043
+ # Corresponds to the JSON property `errorMessage`
5044
+ # @return [String]
5045
+ attr_accessor :error_message
5046
+
5047
+ def initialize(**args)
5048
+ update!(**args)
5049
+ end
5050
+
5051
+ # Update properties of this object
5052
+ def update!(**args)
5053
+ @error_message = args[:error_message] if args.key?(:error_message)
5054
+ end
5055
+ end
5056
+
5002
5057
  # WorkItem represents basic information about a WorkItem to be executed
5003
5058
  # in the cloud.
5004
5059
  class WorkItem
@@ -142,6 +142,12 @@ module Google
142
142
  include Google::Apis::Core::JsonObjectSupport
143
143
  end
144
144
 
145
+ class DeleteSnapshotResponse
146
+ class Representation < Google::Apis::Core::JsonRepresentation; end
147
+
148
+ include Google::Apis::Core::JsonObjectSupport
149
+ end
150
+
145
151
  class DerivedSource
146
152
  class Representation < Google::Apis::Core::JsonRepresentation; end
147
153
 
@@ -358,6 +364,12 @@ module Google
358
364
  include Google::Apis::Core::JsonObjectSupport
359
365
  end
360
366
 
367
+ class ListSnapshotsResponse
368
+ class Representation < Google::Apis::Core::JsonRepresentation; end
369
+
370
+ include Google::Apis::Core::JsonObjectSupport
371
+ end
372
+
361
373
  class MapTask
362
374
  class Representation < Google::Apis::Core::JsonRepresentation; end
363
375
 
@@ -766,6 +778,12 @@ module Google
766
778
  include Google::Apis::Core::JsonObjectSupport
767
779
  end
768
780
 
781
+ class ValidateResponse
782
+ class Representation < Google::Apis::Core::JsonRepresentation; end
783
+
784
+ include Google::Apis::Core::JsonObjectSupport
785
+ end
786
+
769
787
  class WorkItem
770
788
  class Representation < Google::Apis::Core::JsonRepresentation; end
771
789
 
@@ -1077,6 +1095,12 @@ module Google
1077
1095
  end
1078
1096
  end
1079
1097
 
1098
+ class DeleteSnapshotResponse
1099
+ # @private
1100
+ class Representation < Google::Apis::Core::JsonRepresentation
1101
+ end
1102
+ end
1103
+
1080
1104
  class DerivedSource
1081
1105
  # @private
1082
1106
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1476,6 +1500,14 @@ module Google
1476
1500
  end
1477
1501
  end
1478
1502
 
1503
+ class ListSnapshotsResponse
1504
+ # @private
1505
+ class Representation < Google::Apis::Core::JsonRepresentation
1506
+ collection :snapshots, as: 'snapshots', class: Google::Apis::DataflowV1b3::Snapshot, decorator: Google::Apis::DataflowV1b3::Snapshot::Representation
1507
+
1508
+ end
1509
+ end
1510
+
1479
1511
  class MapTask
1480
1512
  # @private
1481
1513
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2183,6 +2215,13 @@ module Google
2183
2215
  end
2184
2216
  end
2185
2217
 
2218
+ class ValidateResponse
2219
+ # @private
2220
+ class Representation < Google::Apis::Core::JsonRepresentation
2221
+ property :error_message, as: 'errorMessage'
2222
+ end
2223
+ end
2224
+
2186
2225
  class WorkItem
2187
2226
  # @private
2188
2227
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -47,6 +47,42 @@ module Google
47
47
  @batch_path = 'batch'
48
48
  end
49
49
 
50
+ # Deletes a snapshot.
51
+ # @param [String] project_id
52
+ # The ID of the Cloud Platform project that the snapshot belongs to.
53
+ # @param [String] location
54
+ # The location that contains this snapshot.
55
+ # @param [String] snapshot_id
56
+ # The ID of the snapshot.
57
+ # @param [String] fields
58
+ # Selector specifying which fields to include in a partial response.
59
+ # @param [String] quota_user
60
+ # Available to use for quota purposes for server-side applications. Can be any
61
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
62
+ # @param [Google::Apis::RequestOptions] options
63
+ # Request-specific options
64
+ #
65
+ # @yield [result, err] Result & error if block supplied
66
+ # @yieldparam result [Google::Apis::DataflowV1b3::DeleteSnapshotResponse] parsed result object
67
+ # @yieldparam err [StandardError] error object if request failed
68
+ #
69
+ # @return [Google::Apis::DataflowV1b3::DeleteSnapshotResponse]
70
+ #
71
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
72
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
73
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
74
+ def delete_project_snapshots(project_id, location: nil, snapshot_id: nil, fields: nil, quota_user: nil, options: nil, &block)
75
+ command = make_simple_command(:delete, 'v1b3/projects/{projectId}/snapshots', options)
76
+ command.response_representation = Google::Apis::DataflowV1b3::DeleteSnapshotResponse::Representation
77
+ command.response_class = Google::Apis::DataflowV1b3::DeleteSnapshotResponse
78
+ command.params['projectId'] = project_id unless project_id.nil?
79
+ command.query['location'] = location unless location.nil?
80
+ command.query['snapshotId'] = snapshot_id unless snapshot_id.nil?
81
+ command.query['fields'] = fields unless fields.nil?
82
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
83
+ execute_or_queue_command(command, &block)
84
+ end
85
+
50
86
  # Send a worker_message to the service.
51
87
  # @param [String] project_id
52
88
  # The project to send the WorkerMessages to.
@@ -1167,6 +1203,152 @@ module Google
1167
1203
  execute_or_queue_command(command, &block)
1168
1204
  end
1169
1205
 
1206
+ # Deletes a snapshot.
1207
+ # @param [String] project_id
1208
+ # The ID of the Cloud Platform project that the snapshot belongs to.
1209
+ # @param [String] location
1210
+ # The location that contains this snapshot.
1211
+ # @param [String] snapshot_id
1212
+ # The ID of the snapshot.
1213
+ # @param [String] fields
1214
+ # Selector specifying which fields to include in a partial response.
1215
+ # @param [String] quota_user
1216
+ # Available to use for quota purposes for server-side applications. Can be any
1217
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1218
+ # @param [Google::Apis::RequestOptions] options
1219
+ # Request-specific options
1220
+ #
1221
+ # @yield [result, err] Result & error if block supplied
1222
+ # @yieldparam result [Google::Apis::DataflowV1b3::DeleteSnapshotResponse] parsed result object
1223
+ # @yieldparam err [StandardError] error object if request failed
1224
+ #
1225
+ # @return [Google::Apis::DataflowV1b3::DeleteSnapshotResponse]
1226
+ #
1227
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1228
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1229
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1230
+ def delete_project_location_snapshot(project_id, location, snapshot_id, fields: nil, quota_user: nil, options: nil, &block)
1231
+ command = make_simple_command(:delete, 'v1b3/projects/{projectId}/locations/{location}/snapshots/{snapshotId}', options)
1232
+ command.response_representation = Google::Apis::DataflowV1b3::DeleteSnapshotResponse::Representation
1233
+ command.response_class = Google::Apis::DataflowV1b3::DeleteSnapshotResponse
1234
+ command.params['projectId'] = project_id unless project_id.nil?
1235
+ command.params['location'] = location unless location.nil?
1236
+ command.params['snapshotId'] = snapshot_id unless snapshot_id.nil?
1237
+ command.query['fields'] = fields unless fields.nil?
1238
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1239
+ execute_or_queue_command(command, &block)
1240
+ end
1241
+
1242
+ # Gets information about a snapshot.
1243
+ # @param [String] project_id
1244
+ # The ID of the Cloud Platform project that the snapshot belongs to.
1245
+ # @param [String] location
1246
+ # The location that contains this snapshot.
1247
+ # @param [String] snapshot_id
1248
+ # The ID of the snapshot.
1249
+ # @param [String] fields
1250
+ # Selector specifying which fields to include in a partial response.
1251
+ # @param [String] quota_user
1252
+ # Available to use for quota purposes for server-side applications. Can be any
1253
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1254
+ # @param [Google::Apis::RequestOptions] options
1255
+ # Request-specific options
1256
+ #
1257
+ # @yield [result, err] Result & error if block supplied
1258
+ # @yieldparam result [Google::Apis::DataflowV1b3::Snapshot] parsed result object
1259
+ # @yieldparam err [StandardError] error object if request failed
1260
+ #
1261
+ # @return [Google::Apis::DataflowV1b3::Snapshot]
1262
+ #
1263
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1264
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1265
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1266
+ def get_project_location_snapshot(project_id, location, snapshot_id, fields: nil, quota_user: nil, options: nil, &block)
1267
+ command = make_simple_command(:get, 'v1b3/projects/{projectId}/locations/{location}/snapshots/{snapshotId}', options)
1268
+ command.response_representation = Google::Apis::DataflowV1b3::Snapshot::Representation
1269
+ command.response_class = Google::Apis::DataflowV1b3::Snapshot
1270
+ command.params['projectId'] = project_id unless project_id.nil?
1271
+ command.params['location'] = location unless location.nil?
1272
+ command.params['snapshotId'] = snapshot_id unless snapshot_id.nil?
1273
+ command.query['fields'] = fields unless fields.nil?
1274
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1275
+ execute_or_queue_command(command, &block)
1276
+ end
1277
+
1278
+ # Lists snapshots.
1279
+ # @param [String] project_id
1280
+ # The project ID to list snapshots for.
1281
+ # @param [String] location
1282
+ # The location to list snapshots in.
1283
+ # @param [String] fields
1284
+ # Selector specifying which fields to include in a partial response.
1285
+ # @param [String] quota_user
1286
+ # Available to use for quota purposes for server-side applications. Can be any
1287
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1288
+ # @param [Google::Apis::RequestOptions] options
1289
+ # Request-specific options
1290
+ #
1291
+ # @yield [result, err] Result & error if block supplied
1292
+ # @yieldparam result [Google::Apis::DataflowV1b3::ListSnapshotsResponse] parsed result object
1293
+ # @yieldparam err [StandardError] error object if request failed
1294
+ #
1295
+ # @return [Google::Apis::DataflowV1b3::ListSnapshotsResponse]
1296
+ #
1297
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1298
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1299
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1300
+ def list_project_location_snapshots(project_id, location, fields: nil, quota_user: nil, options: nil, &block)
1301
+ command = make_simple_command(:get, 'v1b3/projects/{projectId}/locations/{location}/snapshots', options)
1302
+ command.response_representation = Google::Apis::DataflowV1b3::ListSnapshotsResponse::Representation
1303
+ command.response_class = Google::Apis::DataflowV1b3::ListSnapshotsResponse
1304
+ command.params['projectId'] = project_id unless project_id.nil?
1305
+ command.params['location'] = location unless location.nil?
1306
+ command.query['fields'] = fields unless fields.nil?
1307
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1308
+ execute_or_queue_command(command, &block)
1309
+ end
1310
+
1311
+ # Validates a GoogleSQL query for Cloud Dataflow syntax. Will always
1312
+ # confirm the given query parses correctly, and if able to look up
1313
+ # schema information from DataCatalog, will validate that the query
1314
+ # analyzes properly as well.
1315
+ # @param [String] project_id
1316
+ # Required. The ID of the Cloud Platform project that the job belongs to.
1317
+ # @param [String] location
1318
+ # The [regional endpoint]
1319
+ # (https://cloud.google.com/dataflow/docs/concepts/regional-endpoints) to
1320
+ # which to direct the request.
1321
+ # @param [String] query
1322
+ # The sql query to validate.
1323
+ # @param [String] fields
1324
+ # Selector specifying which fields to include in a partial response.
1325
+ # @param [String] quota_user
1326
+ # Available to use for quota purposes for server-side applications. Can be any
1327
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1328
+ # @param [Google::Apis::RequestOptions] options
1329
+ # Request-specific options
1330
+ #
1331
+ # @yield [result, err] Result & error if block supplied
1332
+ # @yieldparam result [Google::Apis::DataflowV1b3::ValidateResponse] parsed result object
1333
+ # @yieldparam err [StandardError] error object if request failed
1334
+ #
1335
+ # @return [Google::Apis::DataflowV1b3::ValidateResponse]
1336
+ #
1337
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1338
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1339
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1340
+ def validate_project_location_sql(project_id, location, query: nil, fields: nil, quota_user: nil, options: nil, &block)
1341
+ command = make_simple_command(:get, 'v1b3/projects/{projectId}/locations/{location}/sql:validate', options)
1342
+ command.response_representation = Google::Apis::DataflowV1b3::ValidateResponse::Representation
1343
+ command.response_class = Google::Apis::DataflowV1b3::ValidateResponse
1344
+ command.params['projectId'] = project_id unless project_id.nil?
1345
+ command.params['location'] = location unless location.nil?
1346
+ command.query['query'] = query unless query.nil?
1347
+ command.query['fields'] = fields unless fields.nil?
1348
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1349
+ execute_or_queue_command(command, &block)
1350
+ end
1351
+
1170
1352
  # Creates a Cloud Dataflow job from a template.
1171
1353
  # @param [String] project_id
1172
1354
  # Required. The ID of the Cloud Platform project that the job belongs to.
@@ -1303,6 +1485,75 @@ module Google
1303
1485
  execute_or_queue_command(command, &block)
1304
1486
  end
1305
1487
 
1488
+ # Gets information about a snapshot.
1489
+ # @param [String] project_id
1490
+ # The ID of the Cloud Platform project that the snapshot belongs to.
1491
+ # @param [String] snapshot_id
1492
+ # The ID of the snapshot.
1493
+ # @param [String] location
1494
+ # The location that contains this snapshot.
1495
+ # @param [String] fields
1496
+ # Selector specifying which fields to include in a partial response.
1497
+ # @param [String] quota_user
1498
+ # Available to use for quota purposes for server-side applications. Can be any
1499
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1500
+ # @param [Google::Apis::RequestOptions] options
1501
+ # Request-specific options
1502
+ #
1503
+ # @yield [result, err] Result & error if block supplied
1504
+ # @yieldparam result [Google::Apis::DataflowV1b3::Snapshot] parsed result object
1505
+ # @yieldparam err [StandardError] error object if request failed
1506
+ #
1507
+ # @return [Google::Apis::DataflowV1b3::Snapshot]
1508
+ #
1509
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1510
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1511
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1512
+ def get_project_snapshot(project_id, snapshot_id, location: nil, fields: nil, quota_user: nil, options: nil, &block)
1513
+ command = make_simple_command(:get, 'v1b3/projects/{projectId}/snapshots/{snapshotId}', options)
1514
+ command.response_representation = Google::Apis::DataflowV1b3::Snapshot::Representation
1515
+ command.response_class = Google::Apis::DataflowV1b3::Snapshot
1516
+ command.params['projectId'] = project_id unless project_id.nil?
1517
+ command.params['snapshotId'] = snapshot_id unless snapshot_id.nil?
1518
+ command.query['location'] = location unless location.nil?
1519
+ command.query['fields'] = fields unless fields.nil?
1520
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1521
+ execute_or_queue_command(command, &block)
1522
+ end
1523
+
1524
+ # Lists snapshots.
1525
+ # @param [String] project_id
1526
+ # The project ID to list snapshots for.
1527
+ # @param [String] location
1528
+ # The location to list snapshots in.
1529
+ # @param [String] fields
1530
+ # Selector specifying which fields to include in a partial response.
1531
+ # @param [String] quota_user
1532
+ # Available to use for quota purposes for server-side applications. Can be any
1533
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
1534
+ # @param [Google::Apis::RequestOptions] options
1535
+ # Request-specific options
1536
+ #
1537
+ # @yield [result, err] Result & error if block supplied
1538
+ # @yieldparam result [Google::Apis::DataflowV1b3::ListSnapshotsResponse] parsed result object
1539
+ # @yieldparam err [StandardError] error object if request failed
1540
+ #
1541
+ # @return [Google::Apis::DataflowV1b3::ListSnapshotsResponse]
1542
+ #
1543
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
1544
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1545
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
1546
+ def list_project_snapshots(project_id, location: nil, fields: nil, quota_user: nil, options: nil, &block)
1547
+ command = make_simple_command(:get, 'v1b3/projects/{projectId}/snapshots', options)
1548
+ command.response_representation = Google::Apis::DataflowV1b3::ListSnapshotsResponse::Representation
1549
+ command.response_class = Google::Apis::DataflowV1b3::ListSnapshotsResponse
1550
+ command.params['projectId'] = project_id unless project_id.nil?
1551
+ command.query['location'] = location unless location.nil?
1552
+ command.query['fields'] = fields unless fields.nil?
1553
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
1554
+ execute_or_queue_command(command, &block)
1555
+ end
1556
+
1306
1557
  # Creates a Cloud Dataflow job from a template.
1307
1558
  # @param [String] project_id
1308
1559
  # Required. The ID of the Cloud Platform project that the job belongs to.