google-api-client 0.29.0 → 0.29.2

Sign up to get free protection for your applications and to get access to all the features.
Files changed (489) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +122 -0
  3. data/README.md +1 -1
  4. data/bin/generate-api +4 -2
  5. data/generated/google/apis/abusiveexperiencereport_v1/service.rb +2 -2
  6. data/generated/google/apis/acceleratedmobilepageurl_v1/service.rb +1 -1
  7. data/generated/google/apis/accessapproval_v1beta1/classes.rb +27 -0
  8. data/generated/google/apis/accessapproval_v1beta1/representations.rb +15 -0
  9. data/generated/google/apis/accessapproval_v1beta1/service.rb +18 -18
  10. data/generated/google/apis/accessapproval_v1beta1.rb +1 -1
  11. data/generated/google/apis/accesscontextmanager_v1/classes.rb +1 -1
  12. data/generated/google/apis/accesscontextmanager_v1/service.rb +19 -19
  13. data/generated/google/apis/accesscontextmanager_v1.rb +1 -1
  14. data/generated/google/apis/accesscontextmanager_v1beta/classes.rb +1 -1
  15. data/generated/google/apis/accesscontextmanager_v1beta/service.rb +16 -16
  16. data/generated/google/apis/accesscontextmanager_v1beta.rb +1 -1
  17. data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +0 -69
  18. data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +0 -32
  19. data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +62 -62
  20. data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
  21. data/generated/google/apis/adexchangebuyer_v1_2/service.rb +7 -7
  22. data/generated/google/apis/adexchangebuyer_v1_3/service.rb +21 -21
  23. data/generated/google/apis/adexchangebuyer_v1_4/service.rb +38 -38
  24. data/generated/google/apis/adexperiencereport_v1/service.rb +2 -2
  25. data/generated/google/apis/admin_datatransfer_v1/service.rb +5 -5
  26. data/generated/google/apis/admin_directory_v1/service.rb +113 -113
  27. data/generated/google/apis/admin_reports_v1/service.rb +6 -6
  28. data/generated/google/apis/adsense_v1_4/service.rb +39 -39
  29. data/generated/google/apis/adsensehost_v4_1/service.rb +26 -26
  30. data/generated/google/apis/alertcenter_v1beta1/service.rb +8 -8
  31. data/generated/google/apis/analytics_v2_4/service.rb +6 -6
  32. data/generated/google/apis/analytics_v3/service.rb +88 -88
  33. data/generated/google/apis/analyticsreporting_v4/service.rb +2 -2
  34. data/generated/google/apis/androiddeviceprovisioning_v1/classes.rb +1 -1
  35. data/generated/google/apis/androiddeviceprovisioning_v1/service.rb +26 -26
  36. data/generated/google/apis/androiddeviceprovisioning_v1.rb +1 -1
  37. data/generated/google/apis/androidenterprise_v1/service.rb +85 -85
  38. data/generated/google/apis/androidmanagement_v1/classes.rb +111 -2
  39. data/generated/google/apis/androidmanagement_v1/representations.rb +48 -0
  40. data/generated/google/apis/androidmanagement_v1/service.rb +26 -26
  41. data/generated/google/apis/androidmanagement_v1.rb +1 -1
  42. data/generated/google/apis/androidpublisher_v1/service.rb +2 -2
  43. data/generated/google/apis/androidpublisher_v1_1/service.rb +3 -3
  44. data/generated/google/apis/androidpublisher_v2/service.rb +58 -58
  45. data/generated/google/apis/androidpublisher_v3/classes.rb +81 -0
  46. data/generated/google/apis/androidpublisher_v3/representations.rb +42 -0
  47. data/generated/google/apis/androidpublisher_v3/service.rb +228 -52
  48. data/generated/google/apis/androidpublisher_v3.rb +1 -1
  49. data/generated/google/apis/appengine_v1/classes.rb +2 -2
  50. data/generated/google/apis/appengine_v1/service.rb +38 -38
  51. data/generated/google/apis/appengine_v1.rb +1 -1
  52. data/generated/google/apis/appengine_v1alpha/classes.rb +2 -2
  53. data/generated/google/apis/appengine_v1alpha/service.rb +15 -15
  54. data/generated/google/apis/appengine_v1alpha.rb +1 -1
  55. data/generated/google/apis/appengine_v1beta/classes.rb +2 -2
  56. data/generated/google/apis/appengine_v1beta/service.rb +38 -38
  57. data/generated/google/apis/appengine_v1beta.rb +1 -1
  58. data/generated/google/apis/appengine_v1beta4/service.rb +20 -20
  59. data/generated/google/apis/appengine_v1beta5/service.rb +20 -20
  60. data/generated/google/apis/appsactivity_v1/service.rb +1 -1
  61. data/generated/google/apis/appsmarket_v2/service.rb +3 -3
  62. data/generated/google/apis/appstate_v1/service.rb +5 -5
  63. data/generated/google/apis/bigquery_v2/classes.rb +53 -33
  64. data/generated/google/apis/bigquery_v2/representations.rb +2 -0
  65. data/generated/google/apis/bigquery_v2/service.rb +26 -26
  66. data/generated/google/apis/bigquery_v2.rb +1 -1
  67. data/generated/google/apis/bigquerydatatransfer_v1/service.rb +30 -30
  68. data/generated/google/apis/bigtableadmin_v1/service.rb +2 -2
  69. data/generated/google/apis/bigtableadmin_v2/service.rb +34 -34
  70. data/generated/google/apis/binaryauthorization_v1beta1/service.rb +17 -13
  71. data/generated/google/apis/binaryauthorization_v1beta1.rb +1 -1
  72. data/generated/google/apis/blogger_v2/service.rb +9 -9
  73. data/generated/google/apis/blogger_v3/service.rb +33 -33
  74. data/generated/google/apis/books_v1/service.rb +51 -51
  75. data/generated/google/apis/calendar_v3/classes.rb +1 -1
  76. data/generated/google/apis/calendar_v3/service.rb +45 -45
  77. data/generated/google/apis/calendar_v3.rb +1 -1
  78. data/generated/google/apis/chat_v1/service.rb +8 -8
  79. data/generated/google/apis/civicinfo_v2/service.rb +5 -5
  80. data/generated/google/apis/classroom_v1/service.rb +57 -56
  81. data/generated/google/apis/classroom_v1.rb +1 -1
  82. data/generated/google/apis/cloudasset_v1/service.rb +3 -3
  83. data/generated/google/apis/cloudasset_v1beta1/service.rb +8 -8
  84. data/generated/google/apis/cloudbilling_v1/service.rb +12 -12
  85. data/generated/google/apis/cloudbuild_v1/classes.rb +7 -1
  86. data/generated/google/apis/cloudbuild_v1/representations.rb +1 -0
  87. data/generated/google/apis/cloudbuild_v1/service.rb +14 -14
  88. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  89. data/generated/google/apis/cloudbuild_v1alpha1/service.rb +5 -5
  90. data/generated/google/apis/clouddebugger_v2/service.rb +8 -8
  91. data/generated/google/apis/clouderrorreporting_v1beta1/service.rb +6 -6
  92. data/generated/google/apis/cloudfunctions_v1/classes.rb +1 -1
  93. data/generated/google/apis/cloudfunctions_v1/service.rb +14 -14
  94. data/generated/google/apis/cloudfunctions_v1.rb +1 -1
  95. data/generated/google/apis/cloudfunctions_v1beta2/classes.rb +1 -1
  96. data/generated/google/apis/cloudfunctions_v1beta2/service.rb +11 -11
  97. data/generated/google/apis/cloudfunctions_v1beta2.rb +1 -1
  98. data/generated/google/apis/cloudidentity_v1/classes.rb +1 -1
  99. data/generated/google/apis/cloudidentity_v1/service.rb +12 -12
  100. data/generated/google/apis/cloudidentity_v1.rb +1 -1
  101. data/generated/google/apis/cloudidentity_v1beta1/classes.rb +1 -1
  102. data/generated/google/apis/cloudidentity_v1beta1/service.rb +11 -11
  103. data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
  104. data/generated/google/apis/cloudiot_v1/service.rb +23 -330
  105. data/generated/google/apis/cloudiot_v1.rb +1 -1
  106. data/generated/google/apis/cloudkms_v1/service.rb +30 -30
  107. data/generated/google/apis/cloudprivatecatalog_v1beta1/service.rb +10 -10
  108. data/generated/google/apis/cloudprivatecatalog_v1beta1.rb +2 -2
  109. data/generated/google/apis/cloudprivatecatalogproducer_v1beta1/classes.rb +1 -1
  110. data/generated/google/apis/cloudprivatecatalogproducer_v1beta1/service.rb +30 -30
  111. data/generated/google/apis/cloudprivatecatalogproducer_v1beta1.rb +2 -2
  112. data/generated/google/apis/cloudprofiler_v2/service.rb +3 -3
  113. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +1 -1
  114. data/generated/google/apis/cloudresourcemanager_v1/service.rb +38 -38
  115. data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
  116. data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +16 -16
  117. data/generated/google/apis/cloudresourcemanager_v2/classes.rb +1 -1
  118. data/generated/google/apis/cloudresourcemanager_v2/service.rb +12 -12
  119. data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
  120. data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +1 -1
  121. data/generated/google/apis/cloudresourcemanager_v2beta1/service.rb +12 -12
  122. data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
  123. data/generated/google/apis/cloudscheduler_v1/service.rb +10 -10
  124. data/generated/google/apis/cloudscheduler_v1beta1/service.rb +10 -10
  125. data/generated/google/apis/cloudsearch_v1/classes.rb +1 -1
  126. data/generated/google/apis/cloudsearch_v1/service.rb +35 -35
  127. data/generated/google/apis/cloudsearch_v1.rb +1 -1
  128. data/generated/google/apis/cloudshell_v1/classes.rb +1 -1
  129. data/generated/google/apis/cloudshell_v1/service.rb +4 -4
  130. data/generated/google/apis/cloudshell_v1.rb +1 -1
  131. data/generated/google/apis/cloudshell_v1alpha1/classes.rb +1 -1
  132. data/generated/google/apis/cloudshell_v1alpha1/service.rb +6 -6
  133. data/generated/google/apis/cloudshell_v1alpha1.rb +1 -1
  134. data/generated/google/apis/cloudtasks_v2/classes.rb +22 -18
  135. data/generated/google/apis/cloudtasks_v2/service.rb +24 -24
  136. data/generated/google/apis/cloudtasks_v2.rb +1 -1
  137. data/generated/google/apis/cloudtasks_v2beta2/classes.rb +22 -14
  138. data/generated/google/apis/cloudtasks_v2beta2/service.rb +28 -28
  139. data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
  140. data/generated/google/apis/cloudtasks_v2beta3/classes.rb +266 -18
  141. data/generated/google/apis/cloudtasks_v2beta3/representations.rb +65 -0
  142. data/generated/google/apis/cloudtasks_v2beta3/service.rb +24 -24
  143. data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
  144. data/generated/google/apis/cloudtrace_v1/service.rb +3 -3
  145. data/generated/google/apis/cloudtrace_v2/service.rb +2 -2
  146. data/generated/google/apis/commentanalyzer_v1alpha1/service.rb +2 -2
  147. data/generated/google/apis/composer_v1/service.rb +9 -9
  148. data/generated/google/apis/composer_v1beta1/service.rb +9 -9
  149. data/generated/google/apis/compute_alpha/classes.rb +29 -0
  150. data/generated/google/apis/compute_alpha/representations.rb +15 -0
  151. data/generated/google/apis/compute_alpha/service.rb +625 -623
  152. data/generated/google/apis/compute_alpha.rb +1 -1
  153. data/generated/google/apis/compute_beta/service.rb +504 -503
  154. data/generated/google/apis/compute_beta.rb +1 -1
  155. data/generated/google/apis/compute_v1/service.rb +411 -410
  156. data/generated/google/apis/compute_v1.rb +1 -1
  157. data/generated/google/apis/container_v1/classes.rb +2 -1
  158. data/generated/google/apis/container_v1/service.rb +63 -63
  159. data/generated/google/apis/container_v1.rb +1 -1
  160. data/generated/google/apis/container_v1beta1/classes.rb +52 -4
  161. data/generated/google/apis/container_v1beta1/representations.rb +20 -0
  162. data/generated/google/apis/container_v1beta1/service.rb +64 -64
  163. data/generated/google/apis/container_v1beta1.rb +1 -1
  164. data/generated/google/apis/containeranalysis_v1alpha1/classes.rb +1 -1
  165. data/generated/google/apis/containeranalysis_v1alpha1/service.rb +33 -33
  166. data/generated/google/apis/containeranalysis_v1alpha1.rb +1 -1
  167. data/generated/google/apis/containeranalysis_v1beta1/service.rb +24 -24
  168. data/generated/google/apis/content_v2/classes.rb +9 -3
  169. data/generated/google/apis/content_v2/service.rb +101 -105
  170. data/generated/google/apis/content_v2.rb +1 -1
  171. data/generated/google/apis/content_v2_1/classes.rb +9 -3
  172. data/generated/google/apis/content_v2_1/service.rb +89 -93
  173. data/generated/google/apis/content_v2_1.rb +1 -1
  174. data/generated/google/apis/customsearch_v1/service.rb +2 -2
  175. data/generated/google/apis/dataflow_v1b3/classes.rb +22 -1
  176. data/generated/google/apis/dataflow_v1b3/representations.rb +3 -0
  177. data/generated/google/apis/dataflow_v1b3/service.rb +38 -38
  178. data/generated/google/apis/dataflow_v1b3.rb +1 -1
  179. data/generated/google/apis/datafusion_v1beta1/classes.rb +1 -1
  180. data/generated/google/apis/datafusion_v1beta1/service.rb +16 -16
  181. data/generated/google/apis/datafusion_v1beta1.rb +1 -1
  182. data/generated/google/apis/dataproc_v1/classes.rb +2 -2
  183. data/generated/google/apis/dataproc_v1/service.rb +261 -45
  184. data/generated/google/apis/dataproc_v1.rb +1 -1
  185. data/generated/google/apis/dataproc_v1beta2/classes.rb +2 -2
  186. data/generated/google/apis/dataproc_v1beta2/service.rb +62 -65
  187. data/generated/google/apis/dataproc_v1beta2.rb +1 -1
  188. data/generated/google/apis/datastore_v1/service.rb +15 -15
  189. data/generated/google/apis/datastore_v1.rb +1 -1
  190. data/generated/google/apis/datastore_v1beta1/service.rb +2 -2
  191. data/generated/google/apis/datastore_v1beta3/service.rb +7 -7
  192. data/generated/google/apis/datastore_v1beta3.rb +1 -1
  193. data/generated/google/apis/deploymentmanager_alpha/service.rb +37 -37
  194. data/generated/google/apis/deploymentmanager_v2/service.rb +18 -18
  195. data/generated/google/apis/deploymentmanager_v2beta/service.rb +32 -32
  196. data/generated/google/apis/dfareporting_v3_1/service.rb +206 -206
  197. data/generated/google/apis/dfareporting_v3_2/service.rb +206 -206
  198. data/generated/google/apis/dfareporting_v3_3/service.rb +204 -204
  199. data/generated/google/apis/dialogflow_v2/classes.rb +8 -8
  200. data/generated/google/apis/dialogflow_v2/service.rb +36 -36
  201. data/generated/google/apis/dialogflow_v2.rb +1 -1
  202. data/generated/google/apis/dialogflow_v2beta1/classes.rb +9 -9
  203. data/generated/google/apis/dialogflow_v2beta1/service.rb +114 -70
  204. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  205. data/generated/google/apis/digitalassetlinks_v1/service.rb +7 -6
  206. data/generated/google/apis/digitalassetlinks_v1.rb +1 -1
  207. data/generated/google/apis/discovery_v1/service.rb +2 -2
  208. data/generated/google/apis/dlp_v2/classes.rb +8 -2
  209. data/generated/google/apis/dlp_v2/service.rb +51 -46
  210. data/generated/google/apis/dlp_v2.rb +1 -1
  211. data/generated/google/apis/dns_v1/service.rb +15 -15
  212. data/generated/google/apis/dns_v1beta2/service.rb +21 -21
  213. data/generated/google/apis/dns_v2beta1/service.rb +16 -16
  214. data/generated/google/apis/dns_v2beta1.rb +1 -1
  215. data/generated/google/apis/docs_v1/classes.rb +137 -0
  216. data/generated/google/apis/docs_v1/representations.rb +57 -0
  217. data/generated/google/apis/docs_v1/service.rb +3 -3
  218. data/generated/google/apis/docs_v1.rb +1 -1
  219. data/generated/google/apis/doubleclickbidmanager_v1/service.rb +9 -9
  220. data/generated/google/apis/doubleclicksearch_v2/service.rb +10 -10
  221. data/generated/google/apis/drive_v2/classes.rb +10 -21
  222. data/generated/google/apis/drive_v2/service.rb +152 -100
  223. data/generated/google/apis/drive_v2.rb +1 -1
  224. data/generated/google/apis/drive_v3/classes.rb +9 -20
  225. data/generated/google/apis/drive_v3/service.rb +100 -64
  226. data/generated/google/apis/drive_v3.rb +1 -1
  227. data/generated/google/apis/driveactivity_v2/service.rb +1 -1
  228. data/generated/google/apis/factchecktools_v1alpha1/service.rb +6 -6
  229. data/generated/google/apis/fcm_v1/classes.rb +424 -0
  230. data/generated/google/apis/fcm_v1/representations.rb +167 -0
  231. data/generated/google/apis/fcm_v1/service.rb +97 -0
  232. data/generated/google/apis/fcm_v1.rb +35 -0
  233. data/generated/google/apis/file_v1/classes.rb +52 -1
  234. data/generated/google/apis/file_v1/representations.rb +16 -0
  235. data/generated/google/apis/file_v1/service.rb +11 -11
  236. data/generated/google/apis/file_v1.rb +1 -1
  237. data/generated/google/apis/file_v1beta1/classes.rb +52 -1
  238. data/generated/google/apis/file_v1beta1/representations.rb +16 -0
  239. data/generated/google/apis/file_v1beta1/service.rb +11 -11
  240. data/generated/google/apis/file_v1beta1.rb +1 -1
  241. data/generated/google/apis/firebasedynamiclinks_v1/service.rb +5 -5
  242. data/generated/google/apis/firebasehosting_v1beta1/service.rb +14 -14
  243. data/generated/google/apis/firebaserules_v1/service.rb +11 -11
  244. data/generated/google/apis/firestore_v1/service.rb +28 -28
  245. data/generated/google/apis/firestore_v1beta1/service.rb +19 -19
  246. data/generated/google/apis/firestore_v1beta2/service.rb +9 -9
  247. data/generated/google/apis/fitness_v1/service.rb +13 -13
  248. data/generated/google/apis/fusiontables_v1/service.rb +32 -32
  249. data/generated/google/apis/fusiontables_v2/service.rb +34 -34
  250. data/generated/google/apis/games_configuration_v1configuration/service.rb +13 -13
  251. data/generated/google/apis/games_management_v1management/service.rb +27 -27
  252. data/generated/google/apis/games_v1/service.rb +53 -53
  253. data/generated/google/apis/genomics_v1/service.rb +3 -3
  254. data/generated/google/apis/genomics_v1.rb +1 -1
  255. data/generated/google/apis/genomics_v1alpha2/classes.rb +2 -2
  256. data/generated/google/apis/genomics_v1alpha2/service.rb +10 -10
  257. data/generated/google/apis/genomics_v1alpha2.rb +1 -1
  258. data/generated/google/apis/genomics_v2alpha1/classes.rb +7 -0
  259. data/generated/google/apis/genomics_v2alpha1/representations.rb +1 -0
  260. data/generated/google/apis/genomics_v2alpha1/service.rb +5 -5
  261. data/generated/google/apis/genomics_v2alpha1.rb +1 -1
  262. data/generated/google/apis/gmail_v1/service.rb +68 -68
  263. data/generated/google/apis/groupsmigration_v1/service.rb +1 -1
  264. data/generated/google/apis/groupssettings_v1/service.rb +3 -3
  265. data/generated/google/apis/healthcare_v1alpha2/classes.rb +2849 -0
  266. data/generated/google/apis/healthcare_v1alpha2/representations.rb +1260 -0
  267. data/generated/google/apis/healthcare_v1alpha2/service.rb +4011 -0
  268. data/generated/google/apis/healthcare_v1alpha2.rb +34 -0
  269. data/generated/google/apis/healthcare_v1beta1/classes.rb +4 -2
  270. data/generated/google/apis/healthcare_v1beta1/service.rb +97 -87
  271. data/generated/google/apis/healthcare_v1beta1.rb +1 -1
  272. data/generated/google/apis/iam_v1/classes.rb +48 -0
  273. data/generated/google/apis/iam_v1/representations.rb +28 -0
  274. data/generated/google/apis/iam_v1/service.rb +59 -42
  275. data/generated/google/apis/iam_v1.rb +1 -1
  276. data/generated/google/apis/iamcredentials_v1/service.rb +5 -5
  277. data/generated/google/apis/iap_v1/service.rb +3 -3
  278. data/generated/google/apis/iap_v1beta1/service.rb +3 -3
  279. data/generated/google/apis/identitytoolkit_v3/service.rb +20 -20
  280. data/generated/google/apis/indexing_v3/service.rb +2 -2
  281. data/generated/google/apis/jobs_v2/service.rb +17 -17
  282. data/generated/google/apis/jobs_v3/service.rb +15 -15
  283. data/generated/google/apis/jobs_v3p1beta1/classes.rb +2 -2
  284. data/generated/google/apis/jobs_v3p1beta1/service.rb +16 -16
  285. data/generated/google/apis/jobs_v3p1beta1.rb +1 -1
  286. data/generated/google/apis/kgsearch_v1/service.rb +1 -1
  287. data/generated/google/apis/language_v1/service.rb +6 -6
  288. data/generated/google/apis/language_v1.rb +1 -1
  289. data/generated/google/apis/language_v1beta1/service.rb +4 -4
  290. data/generated/google/apis/language_v1beta2/service.rb +6 -6
  291. data/generated/google/apis/language_v1beta2.rb +1 -1
  292. data/generated/google/apis/libraryagent_v1/service.rb +6 -6
  293. data/generated/google/apis/licensing_v1/service.rb +7 -7
  294. data/generated/google/apis/logging_v2/classes.rb +6 -0
  295. data/generated/google/apis/logging_v2/representations.rb +1 -0
  296. data/generated/google/apis/logging_v2/service.rb +72 -72
  297. data/generated/google/apis/logging_v2.rb +1 -1
  298. data/generated/google/apis/manufacturers_v1/service.rb +4 -4
  299. data/generated/google/apis/mirror_v1/service.rb +24 -24
  300. data/generated/google/apis/ml_v1/classes.rb +73 -55
  301. data/generated/google/apis/ml_v1/service.rb +31 -31
  302. data/generated/google/apis/ml_v1.rb +1 -1
  303. data/generated/google/apis/monitoring_v3/classes.rb +14 -1
  304. data/generated/google/apis/monitoring_v3/representations.rb +2 -0
  305. data/generated/google/apis/monitoring_v3/service.rb +36 -36
  306. data/generated/google/apis/monitoring_v3.rb +1 -1
  307. data/generated/google/apis/oauth2_v1/service.rb +3 -3
  308. data/generated/google/apis/oauth2_v2/service.rb +4 -4
  309. data/generated/google/apis/oslogin_v1/service.rb +6 -6
  310. data/generated/google/apis/oslogin_v1alpha/service.rb +6 -6
  311. data/generated/google/apis/oslogin_v1beta/service.rb +6 -6
  312. data/generated/google/apis/pagespeedonline_v1/service.rb +1 -1
  313. data/generated/google/apis/pagespeedonline_v2/service.rb +1 -1
  314. data/generated/google/apis/pagespeedonline_v4/service.rb +1 -1
  315. data/generated/google/apis/pagespeedonline_v5/classes.rb +43 -0
  316. data/generated/google/apis/pagespeedonline_v5/representations.rb +18 -0
  317. data/generated/google/apis/pagespeedonline_v5/service.rb +1 -1
  318. data/generated/google/apis/pagespeedonline_v5.rb +1 -1
  319. data/generated/google/apis/people_v1/service.rb +13 -13
  320. data/generated/google/apis/people_v1.rb +1 -1
  321. data/generated/google/apis/playcustomapp_v1/service.rb +1 -1
  322. data/generated/google/apis/plus_domains_v1/service.rb +10 -10
  323. data/generated/google/apis/plus_v1/service.rb +9 -9
  324. data/generated/google/apis/poly_v1/service.rb +4 -4
  325. data/generated/google/apis/proximitybeacon_v1beta1/service.rb +17 -17
  326. data/generated/google/apis/pubsub_v1/service.rb +32 -32
  327. data/generated/google/apis/pubsub_v1.rb +1 -1
  328. data/generated/google/apis/pubsub_v1beta1a/service.rb +15 -15
  329. data/generated/google/apis/pubsub_v1beta2/service.rb +20 -20
  330. data/generated/google/apis/redis_v1/service.rb +19 -19
  331. data/generated/google/apis/redis_v1.rb +1 -1
  332. data/generated/google/apis/redis_v1beta1/classes.rb +1 -1
  333. data/generated/google/apis/redis_v1beta1/service.rb +15 -15
  334. data/generated/google/apis/redis_v1beta1.rb +1 -1
  335. data/generated/google/apis/remotebuildexecution_v1/classes.rb +1 -1
  336. data/generated/google/apis/remotebuildexecution_v1/service.rb +7 -7
  337. data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
  338. data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +1 -1
  339. data/generated/google/apis/remotebuildexecution_v1alpha/service.rb +10 -10
  340. data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
  341. data/generated/google/apis/remotebuildexecution_v2/classes.rb +1 -1
  342. data/generated/google/apis/remotebuildexecution_v2/service.rb +9 -9
  343. data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
  344. data/generated/google/apis/replicapool_v1beta1/service.rb +10 -10
  345. data/generated/google/apis/reseller_v1/service.rb +17 -17
  346. data/generated/google/apis/run_v1/service.rb +1 -1
  347. data/generated/google/apis/run_v1alpha1/classes.rb +427 -0
  348. data/generated/google/apis/run_v1alpha1/representations.rb +162 -0
  349. data/generated/google/apis/run_v1alpha1/service.rb +446 -38
  350. data/generated/google/apis/run_v1alpha1.rb +1 -1
  351. data/generated/google/apis/runtimeconfig_v1/classes.rb +1 -1
  352. data/generated/google/apis/runtimeconfig_v1/service.rb +3 -3
  353. data/generated/google/apis/runtimeconfig_v1.rb +1 -1
  354. data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +1 -1
  355. data/generated/google/apis/runtimeconfig_v1beta1/service.rb +22 -22
  356. data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
  357. data/generated/google/apis/safebrowsing_v4/service.rb +7 -7
  358. data/generated/google/apis/script_v1/classes.rb +167 -0
  359. data/generated/google/apis/script_v1/representations.rb +79 -0
  360. data/generated/google/apis/script_v1/service.rb +16 -16
  361. data/generated/google/apis/script_v1.rb +1 -1
  362. data/generated/google/apis/searchconsole_v1/service.rb +1 -1
  363. data/generated/google/apis/securitycenter_v1/classes.rb +1 -1
  364. data/generated/google/apis/securitycenter_v1/service.rb +23 -23
  365. data/generated/google/apis/securitycenter_v1.rb +1 -1
  366. data/generated/google/apis/securitycenter_v1beta1/classes.rb +1 -1
  367. data/generated/google/apis/securitycenter_v1beta1/service.rb +23 -23
  368. data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
  369. data/generated/google/apis/servicebroker_v1/service.rb +3 -3
  370. data/generated/google/apis/servicebroker_v1alpha1/service.rb +16 -16
  371. data/generated/google/apis/servicebroker_v1beta1/service.rb +21 -21
  372. data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +14 -60
  373. data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +2 -29
  374. data/generated/google/apis/serviceconsumermanagement_v1/service.rb +14 -14
  375. data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
  376. data/generated/google/apis/servicecontrol_v1/classes.rb +12 -0
  377. data/generated/google/apis/servicecontrol_v1/representations.rb +2 -0
  378. data/generated/google/apis/servicecontrol_v1/service.rb +3 -3
  379. data/generated/google/apis/servicecontrol_v1.rb +1 -1
  380. data/generated/google/apis/servicemanagement_v1/classes.rb +40 -60
  381. data/generated/google/apis/servicemanagement_v1/representations.rb +13 -26
  382. data/generated/google/apis/servicemanagement_v1/service.rb +24 -24
  383. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  384. data/generated/google/apis/servicenetworking_v1/classes.rb +14 -60
  385. data/generated/google/apis/servicenetworking_v1/representations.rb +2 -29
  386. data/generated/google/apis/servicenetworking_v1/service.rb +9 -9
  387. data/generated/google/apis/servicenetworking_v1.rb +1 -1
  388. data/generated/google/apis/servicenetworking_v1beta/classes.rb +14 -60
  389. data/generated/google/apis/servicenetworking_v1beta/representations.rb +2 -29
  390. data/generated/google/apis/servicenetworking_v1beta/service.rb +6 -6
  391. data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
  392. data/generated/google/apis/serviceusage_v1/classes.rb +14 -60
  393. data/generated/google/apis/serviceusage_v1/representations.rb +2 -29
  394. data/generated/google/apis/serviceusage_v1/service.rb +17 -19
  395. data/generated/google/apis/serviceusage_v1.rb +1 -1
  396. data/generated/google/apis/serviceusage_v1beta1/classes.rb +14 -60
  397. data/generated/google/apis/serviceusage_v1beta1/representations.rb +2 -29
  398. data/generated/google/apis/serviceusage_v1beta1/service.rb +7 -7
  399. data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
  400. data/generated/google/apis/sheets_v4/service.rb +17 -17
  401. data/generated/google/apis/sheets_v4.rb +1 -1
  402. data/generated/google/apis/site_verification_v1/service.rb +7 -7
  403. data/generated/google/apis/slides_v1/service.rb +5 -5
  404. data/generated/google/apis/sourcerepo_v1/service.rb +11 -11
  405. data/generated/google/apis/spanner_v1/classes.rb +51 -9
  406. data/generated/google/apis/spanner_v1/representations.rb +17 -0
  407. data/generated/google/apis/spanner_v1/service.rb +41 -41
  408. data/generated/google/apis/spanner_v1.rb +1 -1
  409. data/generated/google/apis/speech_v1/classes.rb +2 -2
  410. data/generated/google/apis/speech_v1/service.rb +7 -7
  411. data/generated/google/apis/speech_v1.rb +1 -1
  412. data/generated/google/apis/speech_v1p1beta1/classes.rb +2 -2
  413. data/generated/google/apis/speech_v1p1beta1/service.rb +7 -7
  414. data/generated/google/apis/speech_v1p1beta1.rb +1 -1
  415. data/generated/google/apis/sqladmin_v1beta4/classes.rb +12 -0
  416. data/generated/google/apis/sqladmin_v1beta4/representations.rb +2 -0
  417. data/generated/google/apis/sqladmin_v1beta4/service.rb +44 -44
  418. data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
  419. data/generated/google/apis/storage_v1/classes.rb +2 -2
  420. data/generated/google/apis/storage_v1/representations.rb +2 -1
  421. data/generated/google/apis/storage_v1/service.rb +52 -52
  422. data/generated/google/apis/storage_v1.rb +1 -1
  423. data/generated/google/apis/storage_v1beta1/service.rb +24 -24
  424. data/generated/google/apis/storage_v1beta2/service.rb +34 -34
  425. data/generated/google/apis/storagetransfer_v1/classes.rb +13 -20
  426. data/generated/google/apis/storagetransfer_v1/service.rb +31 -32
  427. data/generated/google/apis/storagetransfer_v1.rb +1 -1
  428. data/generated/google/apis/streetviewpublish_v1/classes.rb +1 -1
  429. data/generated/google/apis/streetviewpublish_v1/service.rb +9 -9
  430. data/generated/google/apis/streetviewpublish_v1.rb +1 -1
  431. data/generated/google/apis/surveys_v2/service.rb +8 -8
  432. data/generated/google/apis/tagmanager_v1/service.rb +49 -49
  433. data/generated/google/apis/tagmanager_v2/service.rb +74 -74
  434. data/generated/google/apis/tasks_v1/service.rb +14 -14
  435. data/generated/google/apis/testing_v1/classes.rb +25 -12
  436. data/generated/google/apis/testing_v1/representations.rb +2 -0
  437. data/generated/google/apis/testing_v1/service.rb +5 -5
  438. data/generated/google/apis/testing_v1.rb +1 -1
  439. data/generated/google/apis/texttospeech_v1/service.rb +2 -2
  440. data/generated/google/apis/texttospeech_v1beta1/service.rb +2 -2
  441. data/generated/google/apis/toolresults_v1beta3/classes.rb +8 -17
  442. data/generated/google/apis/toolresults_v1beta3/service.rb +26 -26
  443. data/generated/google/apis/toolresults_v1beta3.rb +1 -1
  444. data/generated/google/apis/tpu_v1/classes.rb +1 -1
  445. data/generated/google/apis/tpu_v1/service.rb +17 -17
  446. data/generated/google/apis/tpu_v1.rb +1 -1
  447. data/generated/google/apis/tpu_v1alpha1/classes.rb +1 -1
  448. data/generated/google/apis/tpu_v1alpha1/service.rb +17 -17
  449. data/generated/google/apis/tpu_v1alpha1.rb +1 -1
  450. data/generated/google/apis/translate_v2/service.rb +5 -5
  451. data/generated/google/apis/urlshortener_v1/service.rb +3 -3
  452. data/generated/google/apis/vault_v1/service.rb +28 -28
  453. data/generated/google/apis/videointelligence_v1/service.rb +5 -5
  454. data/generated/google/apis/videointelligence_v1beta2/service.rb +1 -1
  455. data/generated/google/apis/videointelligence_v1p1beta1/service.rb +1 -1
  456. data/generated/google/apis/videointelligence_v1p2beta1/service.rb +1 -1
  457. data/generated/google/apis/videointelligence_v1p3beta1/service.rb +1 -1
  458. data/generated/google/apis/vision_v1/classes.rb +2372 -73
  459. data/generated/google/apis/vision_v1/representations.rb +1643 -651
  460. data/generated/google/apis/vision_v1/service.rb +98 -35
  461. data/generated/google/apis/vision_v1.rb +1 -1
  462. data/generated/google/apis/vision_v1p1beta1/classes.rb +2371 -52
  463. data/generated/google/apis/vision_v1p1beta1/representations.rb +1733 -727
  464. data/generated/google/apis/vision_v1p1beta1/service.rb +73 -2
  465. data/generated/google/apis/vision_v1p1beta1.rb +1 -1
  466. data/generated/google/apis/vision_v1p2beta1/classes.rb +2371 -52
  467. data/generated/google/apis/vision_v1p2beta1/representations.rb +1733 -727
  468. data/generated/google/apis/vision_v1p2beta1/service.rb +73 -2
  469. data/generated/google/apis/vision_v1p2beta1.rb +1 -1
  470. data/generated/google/apis/webfonts_v1/service.rb +1 -1
  471. data/generated/google/apis/webmasters_v3/service.rb +9 -9
  472. data/generated/google/apis/websecurityscanner_v1alpha/service.rb +13 -13
  473. data/generated/google/apis/websecurityscanner_v1beta/service.rb +13 -13
  474. data/generated/google/apis/websecurityscanner_v1beta.rb +1 -1
  475. data/generated/google/apis/youtube_analytics_v1/service.rb +8 -8
  476. data/generated/google/apis/youtube_analytics_v1beta1/service.rb +8 -8
  477. data/generated/google/apis/youtube_analytics_v2/service.rb +8 -8
  478. data/generated/google/apis/youtube_partner_v1/service.rb +74 -74
  479. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  480. data/generated/google/apis/youtube_v3/service.rb +71 -71
  481. data/generated/google/apis/youtube_v3.rb +1 -1
  482. data/generated/google/apis/youtubereporting_v1/service.rb +8 -8
  483. data/google-api-client.gemspec +1 -1
  484. data/lib/google/apis/core/json_representation.rb +4 -0
  485. data/lib/google/apis/core/upload.rb +3 -3
  486. data/lib/google/apis/generator/templates/_method.tmpl +3 -3
  487. data/lib/google/apis/version.rb +1 -1
  488. metadata +13 -6
  489. data/samples/web/.env +0 -2
@@ -49,6 +49,41 @@ module Google
49
49
  @batch_path = 'batch'
50
50
  end
51
51
 
52
+ # Service that performs image detection and annotation for a batch of files.
53
+ # Now only "application/pdf", "image/tiff" and "image/gif" are supported.
54
+ # This service will extract at most 5 (customers can specify which 5 in
55
+ # AnnotateFileRequest.pages) frames (gif) or pages (pdf or tiff) from each
56
+ # file provided and perform detection and annotation for each image
57
+ # extracted.
58
+ # @param [Google::Apis::VisionV1::BatchAnnotateFilesRequest] batch_annotate_files_request_object
59
+ # @param [String] fields
60
+ # Selector specifying which fields to include in a partial response.
61
+ # @param [String] quota_user
62
+ # Available to use for quota purposes for server-side applications. Can be any
63
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
64
+ # @param [Google::Apis::RequestOptions] options
65
+ # Request-specific options
66
+ #
67
+ # @yield [result, err] Result & error if block supplied
68
+ # @yieldparam result [Google::Apis::VisionV1::BatchAnnotateFilesResponse] parsed result object
69
+ # @yieldparam err [StandardError] error object if request failed
70
+ #
71
+ # @return [Google::Apis::VisionV1::BatchAnnotateFilesResponse]
72
+ #
73
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
74
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
75
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
76
+ def annotate_file(batch_annotate_files_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
77
+ command = make_simple_command(:post, 'v1/files:annotate', options)
78
+ command.request_representation = Google::Apis::VisionV1::BatchAnnotateFilesRequest::Representation
79
+ command.request_object = batch_annotate_files_request_object
80
+ command.response_representation = Google::Apis::VisionV1::BatchAnnotateFilesResponse::Representation
81
+ command.response_class = Google::Apis::VisionV1::BatchAnnotateFilesResponse
82
+ command.query['fields'] = fields unless fields.nil?
83
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
84
+ execute_or_queue_command(command, &block)
85
+ end
86
+
52
87
  # Run asynchronous image detection and annotation for a list of generic
53
88
  # files, such as PDF files, which may contain multiple pages and multiple
54
89
  # images per page. Progress and results can be retrieved through the
@@ -74,7 +109,7 @@ module Google
74
109
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
75
110
  # @raise [Google::Apis::AuthorizationError] Authorization is required
76
111
  def async_batch_annotate_files(async_batch_annotate_files_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
77
- command = make_simple_command(:post, 'v1/files:asyncBatchAnnotate', options)
112
+ command = make_simple_command(:post, 'v1/files:asyncBatchAnnotate', options)
78
113
  command.request_representation = Google::Apis::VisionV1::AsyncBatchAnnotateFilesRequest::Representation
79
114
  command.request_object = async_batch_annotate_files_request_object
80
115
  command.response_representation = Google::Apis::VisionV1::Operation::Representation
@@ -104,7 +139,7 @@ module Google
104
139
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
105
140
  # @raise [Google::Apis::AuthorizationError] Authorization is required
106
141
  def annotate_image(batch_annotate_images_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
107
- command = make_simple_command(:post, 'v1/images:annotate', options)
142
+ command = make_simple_command(:post, 'v1/images:annotate', options)
108
143
  command.request_representation = Google::Apis::VisionV1::BatchAnnotateImagesRequest::Representation
109
144
  command.request_object = batch_annotate_images_request_object
110
145
  command.response_representation = Google::Apis::VisionV1::BatchAnnotateImagesResponse::Representation
@@ -114,6 +149,42 @@ module Google
114
149
  execute_or_queue_command(command, &block)
115
150
  end
116
151
 
152
+ # Run asynchronous image detection and annotation for a list of images.
153
+ # Progress and results can be retrieved through the
154
+ # `google.longrunning.Operations` interface.
155
+ # `Operation.metadata` contains `OperationMetadata` (metadata).
156
+ # `Operation.response` contains `AsyncBatchAnnotateImagesResponse` (results).
157
+ # This service will write image annotation outputs to json files in customer
158
+ # GCS bucket, each json file containing BatchAnnotateImagesResponse proto.
159
+ # @param [Google::Apis::VisionV1::AsyncBatchAnnotateImagesRequest] async_batch_annotate_images_request_object
160
+ # @param [String] fields
161
+ # Selector specifying which fields to include in a partial response.
162
+ # @param [String] quota_user
163
+ # Available to use for quota purposes for server-side applications. Can be any
164
+ # arbitrary string assigned to a user, but should not exceed 40 characters.
165
+ # @param [Google::Apis::RequestOptions] options
166
+ # Request-specific options
167
+ #
168
+ # @yield [result, err] Result & error if block supplied
169
+ # @yieldparam result [Google::Apis::VisionV1::Operation] parsed result object
170
+ # @yieldparam err [StandardError] error object if request failed
171
+ #
172
+ # @return [Google::Apis::VisionV1::Operation]
173
+ #
174
+ # @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
175
+ # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
176
+ # @raise [Google::Apis::AuthorizationError] Authorization is required
177
+ def async_batch_annotate_images(async_batch_annotate_images_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
178
+ command = make_simple_command(:post, 'v1/images:asyncBatchAnnotate', options)
179
+ command.request_representation = Google::Apis::VisionV1::AsyncBatchAnnotateImagesRequest::Representation
180
+ command.request_object = async_batch_annotate_images_request_object
181
+ command.response_representation = Google::Apis::VisionV1::Operation::Representation
182
+ command.response_class = Google::Apis::VisionV1::Operation
183
+ command.query['fields'] = fields unless fields.nil?
184
+ command.query['quotaUser'] = quota_user unless quota_user.nil?
185
+ execute_or_queue_command(command, &block)
186
+ end
187
+
117
188
  # Gets the latest state of a long-running operation. Clients can use this
118
189
  # method to poll the operation result at intervals as recommended by the API
119
190
  # service.
@@ -137,7 +208,7 @@ module Google
137
208
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
138
209
  # @raise [Google::Apis::AuthorizationError] Authorization is required
139
210
  def get_location_operation(name, fields: nil, quota_user: nil, options: nil, &block)
140
- command = make_simple_command(:get, 'v1/{+name}', options)
211
+ command = make_simple_command(:get, 'v1/{+name}', options)
141
212
  command.response_representation = Google::Apis::VisionV1::Operation::Representation
142
213
  command.response_class = Google::Apis::VisionV1::Operation
143
214
  command.params['name'] = name unless name.nil?
@@ -177,7 +248,7 @@ module Google
177
248
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
178
249
  # @raise [Google::Apis::AuthorizationError] Authorization is required
179
250
  def cancel_operation(name, cancel_operation_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
180
- command = make_simple_command(:post, 'v1/{+name}:cancel', options)
251
+ command = make_simple_command(:post, 'v1/{+name}:cancel', options)
181
252
  command.request_representation = Google::Apis::VisionV1::CancelOperationRequest::Representation
182
253
  command.request_object = cancel_operation_request_object
183
254
  command.response_representation = Google::Apis::VisionV1::Empty::Representation
@@ -212,7 +283,7 @@ module Google
212
283
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
213
284
  # @raise [Google::Apis::AuthorizationError] Authorization is required
214
285
  def delete_operation(name, fields: nil, quota_user: nil, options: nil, &block)
215
- command = make_simple_command(:delete, 'v1/{+name}', options)
286
+ command = make_simple_command(:delete, 'v1/{+name}', options)
216
287
  command.response_representation = Google::Apis::VisionV1::Empty::Representation
217
288
  command.response_class = Google::Apis::VisionV1::Empty
218
289
  command.params['name'] = name unless name.nil?
@@ -244,7 +315,7 @@ module Google
244
315
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
245
316
  # @raise [Google::Apis::AuthorizationError] Authorization is required
246
317
  def get_operation(name, fields: nil, quota_user: nil, options: nil, &block)
247
- command = make_simple_command(:get, 'v1/{+name}', options)
318
+ command = make_simple_command(:get, 'v1/{+name}', options)
248
319
  command.response_representation = Google::Apis::VisionV1::Operation::Representation
249
320
  command.response_class = Google::Apis::VisionV1::Operation
250
321
  command.params['name'] = name unless name.nil?
@@ -288,7 +359,7 @@ module Google
288
359
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
289
360
  # @raise [Google::Apis::AuthorizationError] Authorization is required
290
361
  def list_operations(name, filter: nil, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
291
- command = make_simple_command(:get, 'v1/{+name}', options)
362
+ command = make_simple_command(:get, 'v1/{+name}', options)
292
363
  command.response_representation = Google::Apis::VisionV1::ListOperationsResponse::Representation
293
364
  command.response_class = Google::Apis::VisionV1::ListOperationsResponse
294
365
  command.params['name'] = name unless name.nil?
@@ -323,7 +394,7 @@ module Google
323
394
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
324
395
  # @raise [Google::Apis::AuthorizationError] Authorization is required
325
396
  def get_project_location_operation(name, fields: nil, quota_user: nil, options: nil, &block)
326
- command = make_simple_command(:get, 'v1/{+name}', options)
397
+ command = make_simple_command(:get, 'v1/{+name}', options)
327
398
  command.response_representation = Google::Apis::VisionV1::Operation::Representation
328
399
  command.response_class = Google::Apis::VisionV1::Operation
329
400
  command.params['name'] = name unless name.nil?
@@ -360,7 +431,7 @@ module Google
360
431
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
361
432
  # @raise [Google::Apis::AuthorizationError] Authorization is required
362
433
  def add_product_to_product_set(name, add_product_to_product_set_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
363
- command = make_simple_command(:post, 'v1/{+name}:addProduct', options)
434
+ command = make_simple_command(:post, 'v1/{+name}:addProduct', options)
364
435
  command.request_representation = Google::Apis::VisionV1::AddProductToProductSetRequest::Representation
365
436
  command.request_object = add_product_to_product_set_request_object
366
437
  command.response_representation = Google::Apis::VisionV1::Empty::Representation
@@ -402,7 +473,7 @@ module Google
402
473
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
403
474
  # @raise [Google::Apis::AuthorizationError] Authorization is required
404
475
  def create_project_location_product_set(parent, product_set_object = nil, product_set_id: nil, fields: nil, quota_user: nil, options: nil, &block)
405
- command = make_simple_command(:post, 'v1/{+parent}/productSets', options)
476
+ command = make_simple_command(:post, 'v1/{+parent}/productSets', options)
406
477
  command.request_representation = Google::Apis::VisionV1::ProductSet::Representation
407
478
  command.request_object = product_set_object
408
479
  command.response_representation = Google::Apis::VisionV1::ProductSet::Representation
@@ -417,8 +488,6 @@ module Google
417
488
  # Permanently deletes a ProductSet. Products and ReferenceImages in the
418
489
  # ProductSet are not deleted.
419
490
  # The actual image files are not deleted from Google Cloud Storage.
420
- # Possible errors:
421
- # none
422
491
  # @param [String] name
423
492
  # Resource name of the ProductSet to delete.
424
493
  # Format is:
@@ -441,7 +510,7 @@ module Google
441
510
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
442
511
  # @raise [Google::Apis::AuthorizationError] Authorization is required
443
512
  def delete_project_location_product_set(name, fields: nil, quota_user: nil, options: nil, &block)
444
- command = make_simple_command(:delete, 'v1/{+name}', options)
513
+ command = make_simple_command(:delete, 'v1/{+name}', options)
445
514
  command.response_representation = Google::Apis::VisionV1::Empty::Representation
446
515
  command.response_class = Google::Apis::VisionV1::Empty
447
516
  command.params['name'] = name unless name.nil?
@@ -475,7 +544,7 @@ module Google
475
544
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
476
545
  # @raise [Google::Apis::AuthorizationError] Authorization is required
477
546
  def get_project_location_product_set(name, fields: nil, quota_user: nil, options: nil, &block)
478
- command = make_simple_command(:get, 'v1/{+name}', options)
547
+ command = make_simple_command(:get, 'v1/{+name}', options)
479
548
  command.response_representation = Google::Apis::VisionV1::ProductSet::Representation
480
549
  command.response_class = Google::Apis::VisionV1::ProductSet
481
550
  command.params['name'] = name unless name.nil?
@@ -515,7 +584,7 @@ module Google
515
584
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
516
585
  # @raise [Google::Apis::AuthorizationError] Authorization is required
517
586
  def import_product_sets(parent, import_product_sets_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
518
- command = make_simple_command(:post, 'v1/{+parent}/productSets:import', options)
587
+ command = make_simple_command(:post, 'v1/{+parent}/productSets:import', options)
519
588
  command.request_representation = Google::Apis::VisionV1::ImportProductSetsRequest::Representation
520
589
  command.request_object = import_product_sets_request_object
521
590
  command.response_representation = Google::Apis::VisionV1::Operation::Representation
@@ -555,7 +624,7 @@ module Google
555
624
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
556
625
  # @raise [Google::Apis::AuthorizationError] Authorization is required
557
626
  def list_project_location_product_sets(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
558
- command = make_simple_command(:get, 'v1/{+parent}/productSets', options)
627
+ command = make_simple_command(:get, 'v1/{+parent}/productSets', options)
559
628
  command.response_representation = Google::Apis::VisionV1::ListProductSetsResponse::Representation
560
629
  command.response_class = Google::Apis::VisionV1::ListProductSetsResponse
561
630
  command.params['parent'] = parent unless parent.nil?
@@ -601,7 +670,7 @@ module Google
601
670
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
602
671
  # @raise [Google::Apis::AuthorizationError] Authorization is required
603
672
  def patch_project_location_product_set(name, product_set_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
604
- command = make_simple_command(:patch, 'v1/{+name}', options)
673
+ command = make_simple_command(:patch, 'v1/{+name}', options)
605
674
  command.request_representation = Google::Apis::VisionV1::ProductSet::Representation
606
675
  command.request_object = product_set_object
607
676
  command.response_representation = Google::Apis::VisionV1::ProductSet::Representation
@@ -614,8 +683,6 @@ module Google
614
683
  end
615
684
 
616
685
  # Removes a Product from the specified ProductSet.
617
- # Possible errors:
618
- # none
619
686
  # @param [String] name
620
687
  # The resource name for the ProductSet to modify.
621
688
  # Format is:
@@ -639,7 +706,7 @@ module Google
639
706
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
640
707
  # @raise [Google::Apis::AuthorizationError] Authorization is required
641
708
  def remove_product_from_product_set(name, remove_product_from_product_set_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
642
- command = make_simple_command(:post, 'v1/{+name}:removeProduct', options)
709
+ command = make_simple_command(:post, 'v1/{+name}:removeProduct', options)
643
710
  command.request_representation = Google::Apis::VisionV1::RemoveProductFromProductSetRequest::Representation
644
711
  command.request_object = remove_product_from_product_set_request_object
645
712
  command.response_representation = Google::Apis::VisionV1::Empty::Representation
@@ -681,7 +748,7 @@ module Google
681
748
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
682
749
  # @raise [Google::Apis::AuthorizationError] Authorization is required
683
750
  def list_project_location_product_set_products(name, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
684
- command = make_simple_command(:get, 'v1/{+name}/products', options)
751
+ command = make_simple_command(:get, 'v1/{+name}/products', options)
685
752
  command.response_representation = Google::Apis::VisionV1::ListProductsInProductSetResponse::Representation
686
753
  command.response_class = Google::Apis::VisionV1::ListProductsInProductSetResponse
687
754
  command.params['name'] = name unless name.nil?
@@ -726,7 +793,7 @@ module Google
726
793
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
727
794
  # @raise [Google::Apis::AuthorizationError] Authorization is required
728
795
  def create_project_location_product(parent, product_object = nil, product_id: nil, fields: nil, quota_user: nil, options: nil, &block)
729
- command = make_simple_command(:post, 'v1/{+parent}/products', options)
796
+ command = make_simple_command(:post, 'v1/{+parent}/products', options)
730
797
  command.request_representation = Google::Apis::VisionV1::Product::Representation
731
798
  command.request_object = product_object
732
799
  command.response_representation = Google::Apis::VisionV1::Product::Representation
@@ -742,8 +809,6 @@ module Google
742
809
  # Metadata of the product and all its images will be deleted right away, but
743
810
  # search queries against ProductSets containing the product may still work
744
811
  # until all related caches are refreshed.
745
- # Possible errors:
746
- # none
747
812
  # @param [String] name
748
813
  # Resource name of product to delete.
749
814
  # Format is:
@@ -766,7 +831,7 @@ module Google
766
831
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
767
832
  # @raise [Google::Apis::AuthorizationError] Authorization is required
768
833
  def delete_project_location_product(name, fields: nil, quota_user: nil, options: nil, &block)
769
- command = make_simple_command(:delete, 'v1/{+name}', options)
834
+ command = make_simple_command(:delete, 'v1/{+name}', options)
770
835
  command.response_representation = Google::Apis::VisionV1::Empty::Representation
771
836
  command.response_class = Google::Apis::VisionV1::Empty
772
837
  command.params['name'] = name unless name.nil?
@@ -800,7 +865,7 @@ module Google
800
865
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
801
866
  # @raise [Google::Apis::AuthorizationError] Authorization is required
802
867
  def get_project_location_product(name, fields: nil, quota_user: nil, options: nil, &block)
803
- command = make_simple_command(:get, 'v1/{+name}', options)
868
+ command = make_simple_command(:get, 'v1/{+name}', options)
804
869
  command.response_representation = Google::Apis::VisionV1::Product::Representation
805
870
  command.response_class = Google::Apis::VisionV1::Product
806
871
  command.params['name'] = name unless name.nil?
@@ -838,7 +903,7 @@ module Google
838
903
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
839
904
  # @raise [Google::Apis::AuthorizationError] Authorization is required
840
905
  def list_project_location_products(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
841
- command = make_simple_command(:get, 'v1/{+parent}/products', options)
906
+ command = make_simple_command(:get, 'v1/{+parent}/products', options)
842
907
  command.response_representation = Google::Apis::VisionV1::ListProductsResponse::Representation
843
908
  command.response_class = Google::Apis::VisionV1::ListProductsResponse
844
909
  command.params['parent'] = parent unless parent.nil?
@@ -891,7 +956,7 @@ module Google
891
956
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
892
957
  # @raise [Google::Apis::AuthorizationError] Authorization is required
893
958
  def patch_project_location_product(name, product_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
894
- command = make_simple_command(:patch, 'v1/{+name}', options)
959
+ command = make_simple_command(:patch, 'v1/{+name}', options)
895
960
  command.request_representation = Google::Apis::VisionV1::Product::Representation
896
961
  command.request_object = product_object
897
962
  command.response_representation = Google::Apis::VisionV1::Product::Representation
@@ -946,7 +1011,7 @@ module Google
946
1011
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
947
1012
  # @raise [Google::Apis::AuthorizationError] Authorization is required
948
1013
  def create_project_location_product_reference_image(parent, reference_image_object = nil, reference_image_id: nil, fields: nil, quota_user: nil, options: nil, &block)
949
- command = make_simple_command(:post, 'v1/{+parent}/referenceImages', options)
1014
+ command = make_simple_command(:post, 'v1/{+parent}/referenceImages', options)
950
1015
  command.request_representation = Google::Apis::VisionV1::ReferenceImage::Representation
951
1016
  command.request_object = reference_image_object
952
1017
  command.response_representation = Google::Apis::VisionV1::ReferenceImage::Representation
@@ -963,8 +1028,6 @@ module Google
963
1028
  # against ProductSets containing the image may still work until all related
964
1029
  # caches are refreshed.
965
1030
  # The actual image files are not deleted from Google Cloud Storage.
966
- # Possible errors:
967
- # none
968
1031
  # @param [String] name
969
1032
  # The resource name of the reference image to delete.
970
1033
  # Format is:
@@ -988,7 +1051,7 @@ module Google
988
1051
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
989
1052
  # @raise [Google::Apis::AuthorizationError] Authorization is required
990
1053
  def delete_project_location_product_reference_image(name, fields: nil, quota_user: nil, options: nil, &block)
991
- command = make_simple_command(:delete, 'v1/{+name}', options)
1054
+ command = make_simple_command(:delete, 'v1/{+name}', options)
992
1055
  command.response_representation = Google::Apis::VisionV1::Empty::Representation
993
1056
  command.response_class = Google::Apis::VisionV1::Empty
994
1057
  command.params['name'] = name unless name.nil?
@@ -1023,7 +1086,7 @@ module Google
1023
1086
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1024
1087
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1025
1088
  def get_project_location_product_reference_image(name, fields: nil, quota_user: nil, options: nil, &block)
1026
- command = make_simple_command(:get, 'v1/{+name}', options)
1089
+ command = make_simple_command(:get, 'v1/{+name}', options)
1027
1090
  command.response_representation = Google::Apis::VisionV1::ReferenceImage::Representation
1028
1091
  command.response_class = Google::Apis::VisionV1::ReferenceImage
1029
1092
  command.params['name'] = name unless name.nil?
@@ -1065,7 +1128,7 @@ module Google
1065
1128
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1066
1129
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1067
1130
  def list_project_location_product_reference_images(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
1068
- command = make_simple_command(:get, 'v1/{+parent}/referenceImages', options)
1131
+ command = make_simple_command(:get, 'v1/{+parent}/referenceImages', options)
1069
1132
  command.response_representation = Google::Apis::VisionV1::ListReferenceImagesResponse::Representation
1070
1133
  command.response_class = Google::Apis::VisionV1::ListReferenceImagesResponse
1071
1134
  command.params['parent'] = parent unless parent.nil?
@@ -1099,7 +1162,7 @@ module Google
1099
1162
  # @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
1100
1163
  # @raise [Google::Apis::AuthorizationError] Authorization is required
1101
1164
  def get_project_operation(name, fields: nil, quota_user: nil, options: nil, &block)
1102
- command = make_simple_command(:get, 'v1/{+name}', options)
1165
+ command = make_simple_command(:get, 'v1/{+name}', options)
1103
1166
  command.response_representation = Google::Apis::VisionV1::Operation::Representation
1104
1167
  command.response_class = Google::Apis::VisionV1::Operation
1105
1168
  command.params['name'] = name unless name.nil?
@@ -27,7 +27,7 @@ module Google
27
27
  # @see https://cloud.google.com/vision/
28
28
  module VisionV1
29
29
  VERSION = 'V1'
30
- REVISION = '20190412'
30
+ REVISION = '20190503'
31
31
 
32
32
  # View and manage your data across Google Cloud Platform services
33
33
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'