google-api-client 0.30.8 → 0.30.9

Sign up to get free protection for your applications and to get access to all the features.
Files changed (329) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +108 -0
  3. data/README.md +1 -1
  4. data/api_names.yaml +16 -0
  5. data/generated/google/apis/accessapproval_v1beta1.rb +1 -1
  6. data/generated/google/apis/accessapproval_v1beta1/classes.rb +51 -0
  7. data/generated/google/apis/accessapproval_v1beta1/representations.rb +16 -0
  8. data/generated/google/apis/accessapproval_v1beta1/service.rb +30 -6
  9. data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
  10. data/generated/google/apis/adexperiencereport_v1.rb +1 -1
  11. data/generated/google/apis/adexperiencereport_v1/classes.rb +2 -0
  12. data/generated/google/apis/admin_directory_v1.rb +1 -1
  13. data/generated/google/apis/admin_directory_v1/classes.rb +55 -5
  14. data/generated/google/apis/admin_directory_v1/representations.rb +6 -0
  15. data/generated/google/apis/admin_directory_v1/service.rb +11 -10
  16. data/generated/google/apis/alertcenter_v1beta1.rb +1 -1
  17. data/generated/google/apis/alertcenter_v1beta1/classes.rb +235 -0
  18. data/generated/google/apis/alertcenter_v1beta1/representations.rb +95 -0
  19. data/generated/google/apis/alertcenter_v1beta1/service.rb +99 -1
  20. data/generated/google/apis/analytics_v3.rb +1 -1
  21. data/generated/google/apis/analytics_v3/classes.rb +6 -0
  22. data/generated/google/apis/analytics_v3/representations.rb +1 -0
  23. data/generated/google/apis/analyticsreporting_v4.rb +1 -1
  24. data/generated/google/apis/analyticsreporting_v4/classes.rb +3 -1
  25. data/generated/google/apis/androidenterprise_v1.rb +1 -1
  26. data/generated/google/apis/androidenterprise_v1/classes.rb +2 -1
  27. data/generated/google/apis/androidmanagement_v1.rb +1 -1
  28. data/generated/google/apis/androidmanagement_v1/classes.rb +65 -0
  29. data/generated/google/apis/androidmanagement_v1/representations.rb +33 -0
  30. data/generated/google/apis/androidpublisher_v2.rb +1 -1
  31. data/generated/google/apis/androidpublisher_v2/classes.rb +9 -2
  32. data/generated/google/apis/androidpublisher_v2/representations.rb +1 -0
  33. data/generated/google/apis/androidpublisher_v2/service.rb +12 -12
  34. data/generated/google/apis/androidpublisher_v3.rb +1 -1
  35. data/generated/google/apis/androidpublisher_v3/classes.rb +39 -2
  36. data/generated/google/apis/androidpublisher_v3/representations.rb +4 -0
  37. data/generated/google/apis/androidpublisher_v3/service.rb +25 -13
  38. data/generated/google/apis/bigquery_v2.rb +4 -1
  39. data/generated/google/apis/bigquery_v2/classes.rb +137 -5
  40. data/generated/google/apis/bigquery_v2/representations.rb +64 -0
  41. data/generated/google/apis/bigquery_v2/service.rb +5 -1
  42. data/generated/google/apis/bigquerydatatransfer_v1.rb +4 -1
  43. data/generated/google/apis/bigqueryreservation_v1.rb +37 -0
  44. data/generated/google/apis/bigqueryreservation_v1/classes.rb +216 -0
  45. data/generated/google/apis/bigqueryreservation_v1/representations.rb +112 -0
  46. data/generated/google/apis/bigqueryreservation_v1/service.rb +139 -0
  47. data/generated/google/apis/bigqueryreservation_v1alpha2.rb +37 -0
  48. data/generated/google/apis/bigqueryreservation_v1alpha2/classes.rb +514 -0
  49. data/generated/google/apis/bigqueryreservation_v1alpha2/representations.rb +237 -0
  50. data/generated/google/apis/bigqueryreservation_v1alpha2/service.rb +714 -0
  51. data/generated/google/apis/binaryauthorization_v1beta1.rb +1 -1
  52. data/generated/google/apis/binaryauthorization_v1beta1/classes.rb +2 -2
  53. data/generated/google/apis/binaryauthorization_v1beta1/service.rb +2 -2
  54. data/generated/google/apis/cloudasset_v1.rb +1 -1
  55. data/generated/google/apis/cloudasset_v1/classes.rb +0 -9
  56. data/generated/google/apis/cloudasset_v1/representations.rb +0 -1
  57. data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
  58. data/generated/google/apis/cloudasset_v1beta1/classes.rb +0 -9
  59. data/generated/google/apis/cloudasset_v1beta1/representations.rb +0 -1
  60. data/generated/google/apis/cloudbilling_v1.rb +1 -1
  61. data/generated/google/apis/cloudbilling_v1/service.rb +1 -1
  62. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  63. data/generated/google/apis/cloudbuild_v1/classes.rb +14 -4
  64. data/generated/google/apis/cloudbuild_v1/representations.rb +1 -0
  65. data/generated/google/apis/cloudbuild_v1alpha1.rb +1 -1
  66. data/generated/google/apis/cloudbuild_v1alpha1/classes.rb +6 -2
  67. data/generated/google/apis/cloudfunctions_v1.rb +1 -1
  68. data/generated/google/apis/cloudfunctions_v1/classes.rb +18 -22
  69. data/generated/google/apis/cloudfunctions_v1/service.rb +7 -1
  70. data/generated/google/apis/cloudfunctions_v1beta2.rb +1 -1
  71. data/generated/google/apis/cloudfunctions_v1beta2/classes.rb +8 -11
  72. data/generated/google/apis/cloudiot_v1.rb +1 -1
  73. data/generated/google/apis/cloudiot_v1/classes.rb +1 -1
  74. data/generated/google/apis/cloudkms_v1.rb +1 -1
  75. data/generated/google/apis/cloudkms_v1/classes.rb +26 -11
  76. data/generated/google/apis/cloudkms_v1/representations.rb +2 -0
  77. data/generated/google/apis/cloudkms_v1/service.rb +28 -16
  78. data/generated/google/apis/cloudprivatecatalogproducer_v1beta1.rb +1 -1
  79. data/generated/google/apis/cloudprivatecatalogproducer_v1beta1/classes.rb +0 -9
  80. data/generated/google/apis/cloudprivatecatalogproducer_v1beta1/representations.rb +0 -1
  81. data/generated/google/apis/cloudprivatecatalogproducer_v1beta1/service.rb +1 -1
  82. data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
  83. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +1 -1
  84. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
  85. data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +1 -1
  86. data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
  87. data/generated/google/apis/cloudresourcemanager_v2/classes.rb +1 -1
  88. data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
  89. data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +1 -1
  90. data/generated/google/apis/cloudscheduler_v1.rb +1 -1
  91. data/generated/google/apis/cloudscheduler_v1/classes.rb +2 -4
  92. data/generated/google/apis/cloudscheduler_v1/service.rb +7 -14
  93. data/generated/google/apis/cloudscheduler_v1beta1.rb +1 -1
  94. data/generated/google/apis/cloudscheduler_v1beta1/classes.rb +2 -4
  95. data/generated/google/apis/cloudscheduler_v1beta1/service.rb +7 -14
  96. data/generated/google/apis/cloudsearch_v1.rb +1 -1
  97. data/generated/google/apis/cloudsearch_v1/classes.rb +0 -18
  98. data/generated/google/apis/cloudsearch_v1/representations.rb +0 -2
  99. data/generated/google/apis/cloudsearch_v1/service.rb +17 -9
  100. data/generated/google/apis/cloudtasks_v2.rb +1 -1
  101. data/generated/google/apis/cloudtasks_v2/classes.rb +59 -17
  102. data/generated/google/apis/cloudtasks_v2/representations.rb +15 -0
  103. data/generated/google/apis/cloudtasks_v2/service.rb +12 -24
  104. data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
  105. data/generated/google/apis/cloudtasks_v2beta2/classes.rb +35 -12
  106. data/generated/google/apis/cloudtasks_v2beta2/representations.rb +15 -0
  107. data/generated/google/apis/cloudtasks_v2beta2/service.rb +16 -32
  108. data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
  109. data/generated/google/apis/cloudtasks_v2beta3/classes.rb +30 -2
  110. data/generated/google/apis/cloudtasks_v2beta3/representations.rb +15 -0
  111. data/generated/google/apis/cloudtasks_v2beta3/service.rb +12 -24
  112. data/generated/google/apis/compute_v1/service.rb +1 -1
  113. data/generated/google/apis/containeranalysis_v1alpha1.rb +1 -1
  114. data/generated/google/apis/containeranalysis_v1alpha1/classes.rb +138 -138
  115. data/generated/google/apis/containeranalysis_v1alpha1/representations.rb +54 -32
  116. data/generated/google/apis/containeranalysis_v1beta1.rb +1 -1
  117. data/generated/google/apis/containeranalysis_v1beta1/classes.rb +19 -135
  118. data/generated/google/apis/containeranalysis_v1beta1/representations.rb +2 -32
  119. data/generated/google/apis/content_v2.rb +1 -1
  120. data/generated/google/apis/content_v2/classes.rb +10 -5
  121. data/generated/google/apis/content_v2/service.rb +3 -2
  122. data/generated/google/apis/content_v2_1.rb +1 -1
  123. data/generated/google/apis/content_v2_1/classes.rb +618 -6
  124. data/generated/google/apis/content_v2_1/representations.rb +271 -0
  125. data/generated/google/apis/content_v2_1/service.rb +357 -2
  126. data/generated/google/apis/dataproc_v1.rb +1 -1
  127. data/generated/google/apis/dataproc_v1/classes.rb +69 -8
  128. data/generated/google/apis/dataproc_v1/representations.rb +18 -0
  129. data/generated/google/apis/dataproc_v1/service.rb +121 -57
  130. data/generated/google/apis/dataproc_v1beta2.rb +1 -1
  131. data/generated/google/apis/dataproc_v1beta2/classes.rb +35 -11
  132. data/generated/google/apis/dataproc_v1beta2/representations.rb +1 -0
  133. data/generated/google/apis/dataproc_v1beta2/service.rb +203 -97
  134. data/generated/google/apis/dialogflow_v2.rb +1 -1
  135. data/generated/google/apis/dialogflow_v2/service.rb +94 -0
  136. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  137. data/generated/google/apis/dialogflow_v2beta1/classes.rb +51 -0
  138. data/generated/google/apis/dialogflow_v2beta1/representations.rb +16 -0
  139. data/generated/google/apis/dialogflow_v2beta1/service.rb +1989 -0
  140. data/generated/google/apis/dlp_v2.rb +1 -1
  141. data/generated/google/apis/dlp_v2/classes.rb +1 -1
  142. data/generated/google/apis/docs_v1.rb +1 -1
  143. data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
  144. data/generated/google/apis/doubleclicksearch_v2.rb +2 -2
  145. data/generated/google/apis/doubleclicksearch_v2/classes.rb +1 -1
  146. data/generated/google/apis/doubleclicksearch_v2/service.rb +1 -1
  147. data/generated/google/apis/drive_v2/service.rb +6 -6
  148. data/generated/google/apis/drive_v3/service.rb +6 -6
  149. data/generated/google/apis/factchecktools_v1alpha1.rb +1 -1
  150. data/generated/google/apis/factchecktools_v1alpha1/classes.rb +6 -0
  151. data/generated/google/apis/factchecktools_v1alpha1/representations.rb +1 -0
  152. data/generated/google/apis/fcm_v1.rb +1 -1
  153. data/generated/google/apis/fcm_v1/classes.rb +419 -0
  154. data/generated/google/apis/fcm_v1/representations.rb +45 -0
  155. data/generated/google/apis/file_v1.rb +1 -1
  156. data/generated/google/apis/file_v1/classes.rb +12 -1
  157. data/generated/google/apis/file_v1/representations.rb +1 -0
  158. data/generated/google/apis/file_v1beta1.rb +1 -1
  159. data/generated/google/apis/file_v1beta1/classes.rb +12 -1
  160. data/generated/google/apis/file_v1beta1/representations.rb +1 -0
  161. data/generated/google/apis/firebase_v1beta1.rb +1 -1
  162. data/generated/google/apis/firebase_v1beta1/classes.rb +164 -4
  163. data/generated/google/apis/firebase_v1beta1/representations.rb +71 -0
  164. data/generated/google/apis/firebase_v1beta1/service.rb +165 -2
  165. data/generated/google/apis/firebasehosting_v1beta1.rb +1 -1
  166. data/generated/google/apis/firebasehosting_v1beta1/classes.rb +27 -6
  167. data/generated/google/apis/firebasehosting_v1beta1/representations.rb +3 -0
  168. data/generated/google/apis/firebaserules_v1.rb +1 -1
  169. data/generated/google/apis/firebaserules_v1/classes.rb +6 -0
  170. data/generated/google/apis/firebaserules_v1/representations.rb +1 -0
  171. data/generated/google/apis/games_management_v1management.rb +1 -1
  172. data/generated/google/apis/games_management_v1management/classes.rb +1 -2
  173. data/generated/google/apis/games_v1.rb +1 -1
  174. data/generated/google/apis/games_v1/classes.rb +1 -2
  175. data/generated/google/apis/genomics_v2alpha1.rb +1 -1
  176. data/generated/google/apis/genomics_v2alpha1/classes.rb +18 -7
  177. data/generated/google/apis/genomics_v2alpha1/service.rb +5 -1
  178. data/generated/google/apis/groupssettings_v1.rb +1 -1
  179. data/generated/google/apis/groupssettings_v1/classes.rb +367 -99
  180. data/generated/google/apis/groupssettings_v1/service.rb +3 -3
  181. data/generated/google/apis/healthcare_v1alpha2.rb +1 -1
  182. data/generated/google/apis/healthcare_v1alpha2/classes.rb +4 -21
  183. data/generated/google/apis/healthcare_v1alpha2/representations.rb +0 -2
  184. data/generated/google/apis/healthcare_v1alpha2/service.rb +101 -117
  185. data/generated/google/apis/healthcare_v1beta1.rb +1 -1
  186. data/generated/google/apis/healthcare_v1beta1/classes.rb +18 -13
  187. data/generated/google/apis/healthcare_v1beta1/representations.rb +1 -1
  188. data/generated/google/apis/healthcare_v1beta1/service.rb +90 -22
  189. data/generated/google/apis/iam_v1.rb +1 -1
  190. data/generated/google/apis/iam_v1/classes.rb +31 -1
  191. data/generated/google/apis/iam_v1/representations.rb +14 -0
  192. data/generated/google/apis/iam_v1/service.rb +45 -4
  193. data/generated/google/apis/iap_v1.rb +1 -1
  194. data/generated/google/apis/iap_v1/classes.rb +1 -1
  195. data/generated/google/apis/iap_v1beta1.rb +1 -1
  196. data/generated/google/apis/iap_v1beta1/classes.rb +1 -1
  197. data/generated/google/apis/jobs_v3.rb +1 -1
  198. data/generated/google/apis/jobs_v3/classes.rb +2 -1
  199. data/generated/google/apis/jobs_v3p1beta1.rb +1 -1
  200. data/generated/google/apis/jobs_v3p1beta1/classes.rb +2 -1
  201. data/generated/google/apis/libraryagent_v1.rb +1 -1
  202. data/generated/google/apis/libraryagent_v1/service.rb +5 -5
  203. data/generated/google/apis/logging_v2.rb +1 -1
  204. data/generated/google/apis/logging_v2/classes.rb +2 -2
  205. data/generated/google/apis/ml_v1.rb +1 -1
  206. data/generated/google/apis/ml_v1/classes.rb +63 -9
  207. data/generated/google/apis/ml_v1/representations.rb +16 -1
  208. data/generated/google/apis/ml_v1/service.rb +2 -2
  209. data/generated/google/apis/monitoring_v3.rb +1 -1
  210. data/generated/google/apis/monitoring_v3/classes.rb +29 -2
  211. data/generated/google/apis/monitoring_v3/representations.rb +4 -0
  212. data/generated/google/apis/pagespeedonline_v5.rb +1 -1
  213. data/generated/google/apis/people_v1.rb +1 -1
  214. data/generated/google/apis/people_v1/classes.rb +7 -0
  215. data/generated/google/apis/people_v1/representations.rb +1 -0
  216. data/generated/google/apis/people_v1/service.rb +5 -4
  217. data/generated/google/apis/pubsub_v1.rb +1 -1
  218. data/generated/google/apis/pubsub_v1/classes.rb +12 -11
  219. data/generated/google/apis/pubsub_v1/service.rb +3 -3
  220. data/generated/google/apis/pubsub_v1beta2.rb +1 -1
  221. data/generated/google/apis/pubsub_v1beta2/classes.rb +2 -2
  222. data/generated/google/apis/pubsub_v1beta2/service.rb +2 -2
  223. data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
  224. data/generated/google/apis/remotebuildexecution_v1/classes.rb +32 -0
  225. data/generated/google/apis/remotebuildexecution_v1/representations.rb +16 -0
  226. data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
  227. data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +32 -0
  228. data/generated/google/apis/remotebuildexecution_v1alpha/representations.rb +16 -0
  229. data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
  230. data/generated/google/apis/remotebuildexecution_v2/classes.rb +32 -0
  231. data/generated/google/apis/remotebuildexecution_v2/representations.rb +16 -0
  232. data/generated/google/apis/run_v1.rb +1 -1
  233. data/generated/google/apis/run_v1/classes.rb +25 -0
  234. data/generated/google/apis/run_v1/representations.rb +15 -0
  235. data/generated/google/apis/run_v1/service.rb +39 -0
  236. data/generated/google/apis/run_v1alpha1.rb +1 -1
  237. data/generated/google/apis/run_v1alpha1/classes.rb +338 -22
  238. data/generated/google/apis/run_v1alpha1/representations.rb +141 -1
  239. data/generated/google/apis/run_v1alpha1/service.rb +1 -1
  240. data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
  241. data/generated/google/apis/runtimeconfig_v1beta1/service.rb +1 -1
  242. data/generated/google/apis/securitycenter_v1.rb +1 -1
  243. data/generated/google/apis/securitycenter_v1/classes.rb +16 -13
  244. data/generated/google/apis/securitycenter_v1/representations.rb +0 -1
  245. data/generated/google/apis/securitycenter_v1/service.rb +19 -6
  246. data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
  247. data/generated/google/apis/securitycenter_v1beta1/classes.rb +1 -10
  248. data/generated/google/apis/securitycenter_v1beta1/representations.rb +0 -1
  249. data/generated/google/apis/servicebroker_v1.rb +1 -1
  250. data/generated/google/apis/servicebroker_v1/service.rb +1 -1
  251. data/generated/google/apis/servicebroker_v1alpha1.rb +1 -1
  252. data/generated/google/apis/servicebroker_v1alpha1/service.rb +1 -1
  253. data/generated/google/apis/servicebroker_v1beta1.rb +1 -1
  254. data/generated/google/apis/servicebroker_v1beta1/service.rb +1 -1
  255. data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
  256. data/generated/google/apis/serviceconsumermanagement_v1/service.rb +4 -0
  257. data/generated/google/apis/servicecontrol_v1.rb +1 -1
  258. data/generated/google/apis/servicecontrol_v1/classes.rb +54 -19
  259. data/generated/google/apis/servicecontrol_v1/representations.rb +17 -2
  260. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  261. data/generated/google/apis/servicemanagement_v1/classes.rb +11 -20
  262. data/generated/google/apis/servicemanagement_v1/representations.rb +0 -1
  263. data/generated/google/apis/serviceusage_v1.rb +1 -1
  264. data/generated/google/apis/serviceusage_v1/classes.rb +0 -2
  265. data/generated/google/apis/serviceusage_v1/service.rb +1 -0
  266. data/generated/google/apis/sheets_v4.rb +1 -1
  267. data/generated/google/apis/sheets_v4/classes.rb +53 -10
  268. data/generated/google/apis/sheets_v4/representations.rb +17 -0
  269. data/generated/google/apis/spanner_v1.rb +1 -1
  270. data/generated/google/apis/spanner_v1/classes.rb +50 -54
  271. data/generated/google/apis/spanner_v1/service.rb +8 -15
  272. data/generated/google/apis/speech_v1.rb +1 -1
  273. data/generated/google/apis/speech_v1/classes.rb +2 -1
  274. data/generated/google/apis/speech_v1p1beta1.rb +1 -1
  275. data/generated/google/apis/speech_v1p1beta1/classes.rb +9 -16
  276. data/generated/google/apis/{run_v1beta1.rb → speech_v2beta.rb} +9 -10
  277. data/generated/google/apis/speech_v2beta/classes.rb +355 -0
  278. data/generated/google/apis/speech_v2beta/representations.rb +152 -0
  279. data/generated/google/apis/speech_v2beta/service.rb +138 -0
  280. data/generated/google/apis/storagetransfer_v1.rb +1 -1
  281. data/generated/google/apis/storagetransfer_v1/classes.rb +14 -12
  282. data/generated/google/apis/toolresults_v1beta3.rb +1 -1
  283. data/generated/google/apis/toolresults_v1beta3/classes.rb +44 -9
  284. data/generated/google/apis/toolresults_v1beta3/representations.rb +2 -0
  285. data/generated/google/apis/toolresults_v1beta3/service.rb +3 -6
  286. data/generated/google/apis/tpu_v1.rb +1 -1
  287. data/generated/google/apis/tpu_v1/classes.rb +12 -0
  288. data/generated/google/apis/tpu_v1/representations.rb +2 -0
  289. data/generated/google/apis/tpu_v1alpha1.rb +1 -1
  290. data/generated/google/apis/tpu_v1alpha1/classes.rb +12 -0
  291. data/generated/google/apis/tpu_v1alpha1/representations.rb +2 -0
  292. data/generated/google/apis/translate_v3beta1.rb +1 -1
  293. data/generated/google/apis/translate_v3beta1/classes.rb +72 -0
  294. data/generated/google/apis/translate_v3beta1/representations.rb +32 -0
  295. data/generated/google/apis/translate_v3beta1/service.rb +82 -7
  296. data/generated/google/apis/vision_v1.rb +1 -1
  297. data/generated/google/apis/vision_v1/classes.rb +579 -0
  298. data/generated/google/apis/vision_v1/representations.rb +172 -0
  299. data/generated/google/apis/vision_v1/service.rb +404 -0
  300. data/generated/google/apis/vision_v1p1beta1.rb +1 -1
  301. data/generated/google/apis/vision_v1p1beta1/classes.rb +523 -0
  302. data/generated/google/apis/vision_v1p1beta1/representations.rb +143 -0
  303. data/generated/google/apis/vision_v1p1beta1/service.rb +352 -0
  304. data/generated/google/apis/vision_v1p2beta1.rb +1 -1
  305. data/generated/google/apis/vision_v1p2beta1/classes.rb +187 -0
  306. data/generated/google/apis/vision_v1p2beta1/representations.rb +23 -0
  307. data/generated/google/apis/vision_v1p2beta1/service.rb +352 -0
  308. data/generated/google/apis/websecurityscanner_v1.rb +4 -1
  309. data/generated/google/apis/websecurityscanner_v1/classes.rb +924 -0
  310. data/generated/google/apis/websecurityscanner_v1/representations.rb +426 -0
  311. data/generated/google/apis/websecurityscanner_v1/service.rb +487 -0
  312. data/generated/google/apis/websecurityscanner_v1beta.rb +1 -1
  313. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  314. data/generated/google/apis/youtube_partner_v1/service.rb +2 -3
  315. data/generated/google/apis/youtube_v3.rb +1 -1
  316. data/generated/google/apis/youtube_v3/classes.rb +322 -0
  317. data/generated/google/apis/youtube_v3/representations.rb +139 -0
  318. data/generated/google/apis/youtube_v3/service.rb +85 -0
  319. data/lib/google/api_client/client_secrets.rb +1 -2
  320. data/lib/google/apis/core/api_command.rb +12 -0
  321. data/lib/google/apis/core/batch.rb +2 -0
  322. data/lib/google/apis/core/http_command.rb +8 -1
  323. data/lib/google/apis/core/json_representation.rb +1 -1
  324. data/lib/google/apis/generator/annotator.rb +1 -0
  325. data/lib/google/apis/version.rb +1 -1
  326. metadata +14 -6
  327. data/generated/google/apis/run_v1beta1/classes.rb +0 -98
  328. data/generated/google/apis/run_v1beta1/representations.rb +0 -58
  329. data/generated/google/apis/run_v1beta1/service.rb +0 -99
@@ -27,7 +27,7 @@ module Google
27
27
  # @see https://cloud.google.com/vision/
28
28
  module VisionV1p1beta1
29
29
  VERSION = 'V1p1beta1'
30
- REVISION = '20190718'
30
+ REVISION = '20190823'
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'
@@ -27,6 +27,16 @@ module Google
27
27
  class AnnotateFileResponse
28
28
  include Google::Apis::Core::Hashable
29
29
 
30
+ # The `Status` type defines a logical error model that is suitable for
31
+ # different programming environments, including REST APIs and RPC APIs. It is
32
+ # used by [gRPC](https://github.com/grpc). Each `Status` message contains
33
+ # three pieces of data: error code, error message, and error details.
34
+ # You can find out more about this error model and how to work with it in the
35
+ # [API Design Guide](https://cloud.google.com/apis/design/errors).
36
+ # Corresponds to the JSON property `error`
37
+ # @return [Google::Apis::VisionV1p1beta1::Status]
38
+ attr_accessor :error
39
+
30
40
  # The desired input location and metadata.
31
41
  # Corresponds to the JSON property `inputConfig`
32
42
  # @return [Google::Apis::VisionV1p1beta1::InputConfig]
@@ -49,6 +59,7 @@ module Google
49
59
 
50
60
  # Update properties of this object
51
61
  def update!(**args)
62
+ @error = args[:error] if args.key?(:error)
52
63
  @input_config = args[:input_config] if args.key?(:input_config)
53
64
  @responses = args[:responses] if args.key?(:responses)
54
65
  @total_pages = args[:total_pages] if args.key?(:total_pages)
@@ -1050,6 +1061,16 @@ module Google
1050
1061
  class GoogleCloudVisionV1p1beta1AnnotateFileResponse
1051
1062
  include Google::Apis::Core::Hashable
1052
1063
 
1064
+ # The `Status` type defines a logical error model that is suitable for
1065
+ # different programming environments, including REST APIs and RPC APIs. It is
1066
+ # used by [gRPC](https://github.com/grpc). Each `Status` message contains
1067
+ # three pieces of data: error code, error message, and error details.
1068
+ # You can find out more about this error model and how to work with it in the
1069
+ # [API Design Guide](https://cloud.google.com/apis/design/errors).
1070
+ # Corresponds to the JSON property `error`
1071
+ # @return [Google::Apis::VisionV1p1beta1::Status]
1072
+ attr_accessor :error
1073
+
1053
1074
  # The desired input location and metadata.
1054
1075
  # Corresponds to the JSON property `inputConfig`
1055
1076
  # @return [Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1InputConfig]
@@ -1072,6 +1093,7 @@ module Google
1072
1093
 
1073
1094
  # Update properties of this object
1074
1095
  def update!(**args)
1096
+ @error = args[:error] if args.key?(:error)
1075
1097
  @input_config = args[:input_config] if args.key?(:input_config)
1076
1098
  @responses = args[:responses] if args.key?(:responses)
1077
1099
  @total_pages = args[:total_pages] if args.key?(:total_pages)
@@ -1283,6 +1305,18 @@ module Google
1283
1305
  class GoogleCloudVisionV1p1beta1AsyncBatchAnnotateFilesRequest
1284
1306
  include Google::Apis::Core::Hashable
1285
1307
 
1308
+ # Optional. Target project and location to make a call.
1309
+ # Format: `projects/`project-id`/locations/`location-id``.
1310
+ # If no parent is specified, a region will be chosen automatically.
1311
+ # Supported location-ids:
1312
+ # `us`: USA country only,
1313
+ # `asia`: East asia areas, like Japan, Taiwan,
1314
+ # `eu`: The European Union.
1315
+ # Example: `projects/project-A/locations/eu`.
1316
+ # Corresponds to the JSON property `parent`
1317
+ # @return [String]
1318
+ attr_accessor :parent
1319
+
1286
1320
  # Individual async file annotation requests for this batch.
1287
1321
  # Corresponds to the JSON property `requests`
1288
1322
  # @return [Array<Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1AsyncAnnotateFileRequest>]
@@ -1294,6 +1328,7 @@ module Google
1294
1328
 
1295
1329
  # Update properties of this object
1296
1330
  def update!(**args)
1331
+ @parent = args[:parent] if args.key?(:parent)
1297
1332
  @requests = args[:requests] if args.key?(:requests)
1298
1333
  end
1299
1334
  end
@@ -1327,6 +1362,18 @@ module Google
1327
1362
  # @return [Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1OutputConfig]
1328
1363
  attr_accessor :output_config
1329
1364
 
1365
+ # Optional. Target project and location to make a call.
1366
+ # Format: `projects/`project-id`/locations/`location-id``.
1367
+ # If no parent is specified, a region will be chosen automatically.
1368
+ # Supported location-ids:
1369
+ # `us`: USA country only,
1370
+ # `asia`: East asia areas, like Japan, Taiwan,
1371
+ # `eu`: The European Union.
1372
+ # Example: `projects/project-A/locations/eu`.
1373
+ # Corresponds to the JSON property `parent`
1374
+ # @return [String]
1375
+ attr_accessor :parent
1376
+
1330
1377
  # Individual image annotation requests for this batch.
1331
1378
  # Corresponds to the JSON property `requests`
1332
1379
  # @return [Array<Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1AnnotateImageRequest>]
@@ -1339,6 +1386,7 @@ module Google
1339
1386
  # Update properties of this object
1340
1387
  def update!(**args)
1341
1388
  @output_config = args[:output_config] if args.key?(:output_config)
1389
+ @parent = args[:parent] if args.key?(:parent)
1342
1390
  @requests = args[:requests] if args.key?(:requests)
1343
1391
  end
1344
1392
  end
@@ -1347,6 +1395,18 @@ module Google
1347
1395
  class GoogleCloudVisionV1p1beta1BatchAnnotateFilesRequest
1348
1396
  include Google::Apis::Core::Hashable
1349
1397
 
1398
+ # Optional. Target project and location to make a call.
1399
+ # Format: `projects/`project-id`/locations/`location-id``.
1400
+ # If no parent is specified, a region will be chosen automatically.
1401
+ # Supported location-ids:
1402
+ # `us`: USA country only,
1403
+ # `asia`: East asia areas, like Japan, Taiwan,
1404
+ # `eu`: The European Union.
1405
+ # Example: `projects/project-A/locations/eu`.
1406
+ # Corresponds to the JSON property `parent`
1407
+ # @return [String]
1408
+ attr_accessor :parent
1409
+
1350
1410
  # The list of file annotation requests. Right now we support only one
1351
1411
  # AnnotateFileRequest in BatchAnnotateFilesRequest.
1352
1412
  # Corresponds to the JSON property `requests`
@@ -1359,6 +1419,7 @@ module Google
1359
1419
 
1360
1420
  # Update properties of this object
1361
1421
  def update!(**args)
1422
+ @parent = args[:parent] if args.key?(:parent)
1362
1423
  @requests = args[:requests] if args.key?(:requests)
1363
1424
  end
1364
1425
  end
@@ -1387,6 +1448,18 @@ module Google
1387
1448
  class GoogleCloudVisionV1p1beta1BatchAnnotateImagesRequest
1388
1449
  include Google::Apis::Core::Hashable
1389
1450
 
1451
+ # Optional. Target project and location to make a call.
1452
+ # Format: `projects/`project-id`/locations/`location-id``.
1453
+ # If no parent is specified, a region will be chosen automatically.
1454
+ # Supported location-ids:
1455
+ # `us`: USA country only,
1456
+ # `asia`: East asia areas, like Japan, Taiwan,
1457
+ # `eu`: The European Union.
1458
+ # Example: `projects/project-A/locations/eu`.
1459
+ # Corresponds to the JSON property `parent`
1460
+ # @return [String]
1461
+ attr_accessor :parent
1462
+
1390
1463
  # Individual image annotation requests for this batch.
1391
1464
  # Corresponds to the JSON property `requests`
1392
1465
  # @return [Array<Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1AnnotateImageRequest>]
@@ -1398,6 +1471,7 @@ module Google
1398
1471
 
1399
1472
  # Update properties of this object
1400
1473
  def update!(**args)
1474
+ @parent = args[:parent] if args.key?(:parent)
1401
1475
  @requests = args[:requests] if args.key?(:requests)
1402
1476
  end
1403
1477
  end
@@ -2723,6 +2797,11 @@ module Google
2723
2797
  # @return [Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1BoundingPoly]
2724
2798
  attr_accessor :bounding_poly
2725
2799
 
2800
+ # List of generic predictions for the object in the bounding box.
2801
+ # Corresponds to the JSON property `objectAnnotations`
2802
+ # @return [Array<Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1ProductSearchResultsObjectAnnotation>]
2803
+ attr_accessor :object_annotations
2804
+
2726
2805
  # List of results, one for each product match.
2727
2806
  # Corresponds to the JSON property `results`
2728
2807
  # @return [Array<Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p1beta1ProductSearchResultsResult>]
@@ -2735,10 +2814,50 @@ module Google
2735
2814
  # Update properties of this object
2736
2815
  def update!(**args)
2737
2816
  @bounding_poly = args[:bounding_poly] if args.key?(:bounding_poly)
2817
+ @object_annotations = args[:object_annotations] if args.key?(:object_annotations)
2738
2818
  @results = args[:results] if args.key?(:results)
2739
2819
  end
2740
2820
  end
2741
2821
 
2822
+ # Prediction for what the object in the bounding box is.
2823
+ class GoogleCloudVisionV1p1beta1ProductSearchResultsObjectAnnotation
2824
+ include Google::Apis::Core::Hashable
2825
+
2826
+ # The BCP-47 language code, such as "en-US" or "sr-Latn". For more
2827
+ # information, see
2828
+ # http://www.unicode.org/reports/tr35/#Unicode_locale_identifier.
2829
+ # Corresponds to the JSON property `languageCode`
2830
+ # @return [String]
2831
+ attr_accessor :language_code
2832
+
2833
+ # Object ID that should align with EntityAnnotation mid.
2834
+ # Corresponds to the JSON property `mid`
2835
+ # @return [String]
2836
+ attr_accessor :mid
2837
+
2838
+ # Object name, expressed in its `language_code` language.
2839
+ # Corresponds to the JSON property `name`
2840
+ # @return [String]
2841
+ attr_accessor :name
2842
+
2843
+ # Score of the result. Range [0, 1].
2844
+ # Corresponds to the JSON property `score`
2845
+ # @return [Float]
2846
+ attr_accessor :score
2847
+
2848
+ def initialize(**args)
2849
+ update!(**args)
2850
+ end
2851
+
2852
+ # Update properties of this object
2853
+ def update!(**args)
2854
+ @language_code = args[:language_code] if args.key?(:language_code)
2855
+ @mid = args[:mid] if args.key?(:mid)
2856
+ @name = args[:name] if args.key?(:name)
2857
+ @score = args[:score] if args.key?(:score)
2858
+ end
2859
+ end
2860
+
2742
2861
  # Information about a product.
2743
2862
  class GoogleCloudVisionV1p1beta1ProductSearchResultsResult
2744
2863
  include Google::Apis::Core::Hashable
@@ -3274,6 +3393,16 @@ module Google
3274
3393
  class GoogleCloudVisionV1p2beta1AnnotateFileResponse
3275
3394
  include Google::Apis::Core::Hashable
3276
3395
 
3396
+ # The `Status` type defines a logical error model that is suitable for
3397
+ # different programming environments, including REST APIs and RPC APIs. It is
3398
+ # used by [gRPC](https://github.com/grpc). Each `Status` message contains
3399
+ # three pieces of data: error code, error message, and error details.
3400
+ # You can find out more about this error model and how to work with it in the
3401
+ # [API Design Guide](https://cloud.google.com/apis/design/errors).
3402
+ # Corresponds to the JSON property `error`
3403
+ # @return [Google::Apis::VisionV1p1beta1::Status]
3404
+ attr_accessor :error
3405
+
3277
3406
  # The desired input location and metadata.
3278
3407
  # Corresponds to the JSON property `inputConfig`
3279
3408
  # @return [Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p2beta1InputConfig]
@@ -3296,6 +3425,7 @@ module Google
3296
3425
 
3297
3426
  # Update properties of this object
3298
3427
  def update!(**args)
3428
+ @error = args[:error] if args.key?(:error)
3299
3429
  @input_config = args[:input_config] if args.key?(:input_config)
3300
3430
  @responses = args[:responses] if args.key?(:responses)
3301
3431
  @total_pages = args[:total_pages] if args.key?(:total_pages)
@@ -4491,6 +4621,11 @@ module Google
4491
4621
  # @return [Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p2beta1BoundingPoly]
4492
4622
  attr_accessor :bounding_poly
4493
4623
 
4624
+ # List of generic predictions for the object in the bounding box.
4625
+ # Corresponds to the JSON property `objectAnnotations`
4626
+ # @return [Array<Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p2beta1ProductSearchResultsObjectAnnotation>]
4627
+ attr_accessor :object_annotations
4628
+
4494
4629
  # List of results, one for each product match.
4495
4630
  # Corresponds to the JSON property `results`
4496
4631
  # @return [Array<Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p2beta1ProductSearchResultsResult>]
@@ -4503,10 +4638,50 @@ module Google
4503
4638
  # Update properties of this object
4504
4639
  def update!(**args)
4505
4640
  @bounding_poly = args[:bounding_poly] if args.key?(:bounding_poly)
4641
+ @object_annotations = args[:object_annotations] if args.key?(:object_annotations)
4506
4642
  @results = args[:results] if args.key?(:results)
4507
4643
  end
4508
4644
  end
4509
4645
 
4646
+ # Prediction for what the object in the bounding box is.
4647
+ class GoogleCloudVisionV1p2beta1ProductSearchResultsObjectAnnotation
4648
+ include Google::Apis::Core::Hashable
4649
+
4650
+ # The BCP-47 language code, such as "en-US" or "sr-Latn". For more
4651
+ # information, see
4652
+ # http://www.unicode.org/reports/tr35/#Unicode_locale_identifier.
4653
+ # Corresponds to the JSON property `languageCode`
4654
+ # @return [String]
4655
+ attr_accessor :language_code
4656
+
4657
+ # Object ID that should align with EntityAnnotation mid.
4658
+ # Corresponds to the JSON property `mid`
4659
+ # @return [String]
4660
+ attr_accessor :mid
4661
+
4662
+ # Object name, expressed in its `language_code` language.
4663
+ # Corresponds to the JSON property `name`
4664
+ # @return [String]
4665
+ attr_accessor :name
4666
+
4667
+ # Score of the result. Range [0, 1].
4668
+ # Corresponds to the JSON property `score`
4669
+ # @return [Float]
4670
+ attr_accessor :score
4671
+
4672
+ def initialize(**args)
4673
+ update!(**args)
4674
+ end
4675
+
4676
+ # Update properties of this object
4677
+ def update!(**args)
4678
+ @language_code = args[:language_code] if args.key?(:language_code)
4679
+ @mid = args[:mid] if args.key?(:mid)
4680
+ @name = args[:name] if args.key?(:name)
4681
+ @score = args[:score] if args.key?(:score)
4682
+ end
4683
+ end
4684
+
4510
4685
  # Information about a product.
4511
4686
  class GoogleCloudVisionV1p2beta1ProductSearchResultsResult
4512
4687
  include Google::Apis::Core::Hashable
@@ -5022,6 +5197,16 @@ module Google
5022
5197
  class GoogleCloudVisionV1p3beta1AnnotateFileResponse
5023
5198
  include Google::Apis::Core::Hashable
5024
5199
 
5200
+ # The `Status` type defines a logical error model that is suitable for
5201
+ # different programming environments, including REST APIs and RPC APIs. It is
5202
+ # used by [gRPC](https://github.com/grpc). Each `Status` message contains
5203
+ # three pieces of data: error code, error message, and error details.
5204
+ # You can find out more about this error model and how to work with it in the
5205
+ # [API Design Guide](https://cloud.google.com/apis/design/errors).
5206
+ # Corresponds to the JSON property `error`
5207
+ # @return [Google::Apis::VisionV1p1beta1::Status]
5208
+ attr_accessor :error
5209
+
5025
5210
  # The desired input location and metadata.
5026
5211
  # Corresponds to the JSON property `inputConfig`
5027
5212
  # @return [Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p3beta1InputConfig]
@@ -5044,6 +5229,7 @@ module Google
5044
5229
 
5045
5230
  # Update properties of this object
5046
5231
  def update!(**args)
5232
+ @error = args[:error] if args.key?(:error)
5047
5233
  @input_config = args[:input_config] if args.key?(:input_config)
5048
5234
  @responses = args[:responses] if args.key?(:responses)
5049
5235
  @total_pages = args[:total_pages] if args.key?(:total_pages)
@@ -6305,6 +6491,11 @@ module Google
6305
6491
  # @return [Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p3beta1BoundingPoly]
6306
6492
  attr_accessor :bounding_poly
6307
6493
 
6494
+ # List of generic predictions for the object in the bounding box.
6495
+ # Corresponds to the JSON property `objectAnnotations`
6496
+ # @return [Array<Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p3beta1ProductSearchResultsObjectAnnotation>]
6497
+ attr_accessor :object_annotations
6498
+
6308
6499
  # List of results, one for each product match.
6309
6500
  # Corresponds to the JSON property `results`
6310
6501
  # @return [Array<Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p3beta1ProductSearchResultsResult>]
@@ -6317,10 +6508,50 @@ module Google
6317
6508
  # Update properties of this object
6318
6509
  def update!(**args)
6319
6510
  @bounding_poly = args[:bounding_poly] if args.key?(:bounding_poly)
6511
+ @object_annotations = args[:object_annotations] if args.key?(:object_annotations)
6320
6512
  @results = args[:results] if args.key?(:results)
6321
6513
  end
6322
6514
  end
6323
6515
 
6516
+ # Prediction for what the object in the bounding box is.
6517
+ class GoogleCloudVisionV1p3beta1ProductSearchResultsObjectAnnotation
6518
+ include Google::Apis::Core::Hashable
6519
+
6520
+ # The BCP-47 language code, such as "en-US" or "sr-Latn". For more
6521
+ # information, see
6522
+ # http://www.unicode.org/reports/tr35/#Unicode_locale_identifier.
6523
+ # Corresponds to the JSON property `languageCode`
6524
+ # @return [String]
6525
+ attr_accessor :language_code
6526
+
6527
+ # Object ID that should align with EntityAnnotation mid.
6528
+ # Corresponds to the JSON property `mid`
6529
+ # @return [String]
6530
+ attr_accessor :mid
6531
+
6532
+ # Object name, expressed in its `language_code` language.
6533
+ # Corresponds to the JSON property `name`
6534
+ # @return [String]
6535
+ attr_accessor :name
6536
+
6537
+ # Score of the result. Range [0, 1].
6538
+ # Corresponds to the JSON property `score`
6539
+ # @return [Float]
6540
+ attr_accessor :score
6541
+
6542
+ def initialize(**args)
6543
+ update!(**args)
6544
+ end
6545
+
6546
+ # Update properties of this object
6547
+ def update!(**args)
6548
+ @language_code = args[:language_code] if args.key?(:language_code)
6549
+ @mid = args[:mid] if args.key?(:mid)
6550
+ @name = args[:name] if args.key?(:name)
6551
+ @score = args[:score] if args.key?(:score)
6552
+ end
6553
+ end
6554
+
6324
6555
  # Information about a product.
6325
6556
  class GoogleCloudVisionV1p3beta1ProductSearchResultsResult
6326
6557
  include Google::Apis::Core::Hashable
@@ -6880,6 +7111,16 @@ module Google
6880
7111
  class GoogleCloudVisionV1p4beta1AnnotateFileResponse
6881
7112
  include Google::Apis::Core::Hashable
6882
7113
 
7114
+ # The `Status` type defines a logical error model that is suitable for
7115
+ # different programming environments, including REST APIs and RPC APIs. It is
7116
+ # used by [gRPC](https://github.com/grpc). Each `Status` message contains
7117
+ # three pieces of data: error code, error message, and error details.
7118
+ # You can find out more about this error model and how to work with it in the
7119
+ # [API Design Guide](https://cloud.google.com/apis/design/errors).
7120
+ # Corresponds to the JSON property `error`
7121
+ # @return [Google::Apis::VisionV1p1beta1::Status]
7122
+ attr_accessor :error
7123
+
6883
7124
  # The desired input location and metadata.
6884
7125
  # Corresponds to the JSON property `inputConfig`
6885
7126
  # @return [Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p4beta1InputConfig]
@@ -6902,6 +7143,7 @@ module Google
6902
7143
 
6903
7144
  # Update properties of this object
6904
7145
  def update!(**args)
7146
+ @error = args[:error] if args.key?(:error)
6905
7147
  @input_config = args[:input_config] if args.key?(:input_config)
6906
7148
  @responses = args[:responses] if args.key?(:responses)
6907
7149
  @total_pages = args[:total_pages] if args.key?(:total_pages)
@@ -7741,12 +7983,21 @@ module Google
7741
7983
  class GoogleCloudVisionV1p4beta1ImageQuality
7742
7984
  include Google::Apis::Core::Hashable
7743
7985
 
7986
+ # A score representing the aesthetic/technical quality of the image. The
7987
+ # score is in range [0, 1]. Higher value corresponds to more professional
7988
+ # looking photos. 0 means the image looks very bad, 1 means the image with
7989
+ # very high quality.
7990
+ # Corresponds to the JSON property `qualityScore`
7991
+ # @return [Float]
7992
+ attr_accessor :quality_score
7993
+
7744
7994
  def initialize(**args)
7745
7995
  update!(**args)
7746
7996
  end
7747
7997
 
7748
7998
  # Update properties of this object
7749
7999
  def update!(**args)
8000
+ @quality_score = args[:quality_score] if args.key?(:quality_score)
7750
8001
  end
7751
8002
  end
7752
8003
 
@@ -8227,6 +8478,11 @@ module Google
8227
8478
  # @return [Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p4beta1BoundingPoly]
8228
8479
  attr_accessor :bounding_poly
8229
8480
 
8481
+ # List of generic predictions for the object in the bounding box.
8482
+ # Corresponds to the JSON property `objectAnnotations`
8483
+ # @return [Array<Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p4beta1ProductSearchResultsObjectAnnotation>]
8484
+ attr_accessor :object_annotations
8485
+
8230
8486
  # List of results, one for each product match.
8231
8487
  # Corresponds to the JSON property `results`
8232
8488
  # @return [Array<Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p4beta1ProductSearchResultsResult>]
@@ -8239,10 +8495,50 @@ module Google
8239
8495
  # Update properties of this object
8240
8496
  def update!(**args)
8241
8497
  @bounding_poly = args[:bounding_poly] if args.key?(:bounding_poly)
8498
+ @object_annotations = args[:object_annotations] if args.key?(:object_annotations)
8242
8499
  @results = args[:results] if args.key?(:results)
8243
8500
  end
8244
8501
  end
8245
8502
 
8503
+ # Prediction for what the object in the bounding box is.
8504
+ class GoogleCloudVisionV1p4beta1ProductSearchResultsObjectAnnotation
8505
+ include Google::Apis::Core::Hashable
8506
+
8507
+ # The BCP-47 language code, such as "en-US" or "sr-Latn". For more
8508
+ # information, see
8509
+ # http://www.unicode.org/reports/tr35/#Unicode_locale_identifier.
8510
+ # Corresponds to the JSON property `languageCode`
8511
+ # @return [String]
8512
+ attr_accessor :language_code
8513
+
8514
+ # Object ID that should align with EntityAnnotation mid.
8515
+ # Corresponds to the JSON property `mid`
8516
+ # @return [String]
8517
+ attr_accessor :mid
8518
+
8519
+ # Object name, expressed in its `language_code` language.
8520
+ # Corresponds to the JSON property `name`
8521
+ # @return [String]
8522
+ attr_accessor :name
8523
+
8524
+ # Score of the result. Range [0, 1].
8525
+ # Corresponds to the JSON property `score`
8526
+ # @return [Float]
8527
+ attr_accessor :score
8528
+
8529
+ def initialize(**args)
8530
+ update!(**args)
8531
+ end
8532
+
8533
+ # Update properties of this object
8534
+ def update!(**args)
8535
+ @language_code = args[:language_code] if args.key?(:language_code)
8536
+ @mid = args[:mid] if args.key?(:mid)
8537
+ @name = args[:name] if args.key?(:name)
8538
+ @score = args[:score] if args.key?(:score)
8539
+ end
8540
+ end
8541
+
8246
8542
  # Information about a product.
8247
8543
  class GoogleCloudVisionV1p4beta1ProductSearchResultsResult
8248
8544
  include Google::Apis::Core::Hashable
@@ -8396,11 +8692,29 @@ module Google
8396
8692
  # @return [String]
8397
8693
  attr_accessor :adult
8398
8694
 
8695
+ # Confidence of adult_score. Range [0, 1]. 0 means not confident, 1 means
8696
+ # very confident.
8697
+ # Corresponds to the JSON property `adultConfidence`
8698
+ # @return [Float]
8699
+ attr_accessor :adult_confidence
8700
+
8399
8701
  # Likelihood that this is a medical image.
8400
8702
  # Corresponds to the JSON property `medical`
8401
8703
  # @return [String]
8402
8704
  attr_accessor :medical
8403
8705
 
8706
+ # Confidence of medical_score. Range [0, 1]. 0 means not confident, 1 means
8707
+ # very confident.
8708
+ # Corresponds to the JSON property `medicalConfidence`
8709
+ # @return [Float]
8710
+ attr_accessor :medical_confidence
8711
+
8712
+ # Confidence of nsfw_score. Range [0, 1]. 0 means not confident, 1 means very
8713
+ # confident.
8714
+ # Corresponds to the JSON property `nsfwConfidence`
8715
+ # @return [Float]
8716
+ attr_accessor :nsfw_confidence
8717
+
8404
8718
  # Likelihood that the request image contains racy content. Racy content may
8405
8719
  # include (but is not limited to) skimpy or sheer clothing, strategically
8406
8720
  # covered nudity, lewd or provocative poses, or close-ups of sensitive
@@ -8409,6 +8723,12 @@ module Google
8409
8723
  # @return [String]
8410
8724
  attr_accessor :racy
8411
8725
 
8726
+ # Confidence of racy_score. Range [0, 1]. 0 means not confident, 1 means very
8727
+ # confident.
8728
+ # Corresponds to the JSON property `racyConfidence`
8729
+ # @return [Float]
8730
+ attr_accessor :racy_confidence
8731
+
8412
8732
  # Spoof likelihood. The likelihood that an modification
8413
8733
  # was made to the image's canonical version to make it appear
8414
8734
  # funny or offensive.
@@ -8416,11 +8736,23 @@ module Google
8416
8736
  # @return [String]
8417
8737
  attr_accessor :spoof
8418
8738
 
8739
+ # Confidence of spoof_score. Range [0, 1]. 0 means not confident, 1 means
8740
+ # very confident.
8741
+ # Corresponds to the JSON property `spoofConfidence`
8742
+ # @return [Float]
8743
+ attr_accessor :spoof_confidence
8744
+
8419
8745
  # Likelihood that this image contains violent content.
8420
8746
  # Corresponds to the JSON property `violence`
8421
8747
  # @return [String]
8422
8748
  attr_accessor :violence
8423
8749
 
8750
+ # Confidence of violence_score. Range [0, 1]. 0 means not confident, 1 means
8751
+ # very confident.
8752
+ # Corresponds to the JSON property `violenceConfidence`
8753
+ # @return [Float]
8754
+ attr_accessor :violence_confidence
8755
+
8424
8756
  def initialize(**args)
8425
8757
  update!(**args)
8426
8758
  end
@@ -8428,10 +8760,16 @@ module Google
8428
8760
  # Update properties of this object
8429
8761
  def update!(**args)
8430
8762
  @adult = args[:adult] if args.key?(:adult)
8763
+ @adult_confidence = args[:adult_confidence] if args.key?(:adult_confidence)
8431
8764
  @medical = args[:medical] if args.key?(:medical)
8765
+ @medical_confidence = args[:medical_confidence] if args.key?(:medical_confidence)
8766
+ @nsfw_confidence = args[:nsfw_confidence] if args.key?(:nsfw_confidence)
8432
8767
  @racy = args[:racy] if args.key?(:racy)
8768
+ @racy_confidence = args[:racy_confidence] if args.key?(:racy_confidence)
8433
8769
  @spoof = args[:spoof] if args.key?(:spoof)
8770
+ @spoof_confidence = args[:spoof_confidence] if args.key?(:spoof_confidence)
8434
8771
  @violence = args[:violence] if args.key?(:violence)
8772
+ @violence_confidence = args[:violence_confidence] if args.key?(:violence_confidence)
8435
8773
  end
8436
8774
  end
8437
8775
 
@@ -8834,6 +9172,16 @@ module Google
8834
9172
  class GoogleCloudVisionV1p5beta1AnnotateFileResponse
8835
9173
  include Google::Apis::Core::Hashable
8836
9174
 
9175
+ # The `Status` type defines a logical error model that is suitable for
9176
+ # different programming environments, including REST APIs and RPC APIs. It is
9177
+ # used by [gRPC](https://github.com/grpc). Each `Status` message contains
9178
+ # three pieces of data: error code, error message, and error details.
9179
+ # You can find out more about this error model and how to work with it in the
9180
+ # [API Design Guide](https://cloud.google.com/apis/design/errors).
9181
+ # Corresponds to the JSON property `error`
9182
+ # @return [Google::Apis::VisionV1p1beta1::Status]
9183
+ attr_accessor :error
9184
+
8837
9185
  # The desired input location and metadata.
8838
9186
  # Corresponds to the JSON property `inputConfig`
8839
9187
  # @return [Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p5beta1InputConfig]
@@ -8856,6 +9204,7 @@ module Google
8856
9204
 
8857
9205
  # Update properties of this object
8858
9206
  def update!(**args)
9207
+ @error = args[:error] if args.key?(:error)
8859
9208
  @input_config = args[:input_config] if args.key?(:input_config)
8860
9209
  @responses = args[:responses] if args.key?(:responses)
8861
9210
  @total_pages = args[:total_pages] if args.key?(:total_pages)
@@ -10243,6 +10592,11 @@ module Google
10243
10592
  # @return [Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p5beta1BoundingPoly]
10244
10593
  attr_accessor :bounding_poly
10245
10594
 
10595
+ # List of generic predictions for the object in the bounding box.
10596
+ # Corresponds to the JSON property `objectAnnotations`
10597
+ # @return [Array<Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p5beta1ProductSearchResultsObjectAnnotation>]
10598
+ attr_accessor :object_annotations
10599
+
10246
10600
  # List of results, one for each product match.
10247
10601
  # Corresponds to the JSON property `results`
10248
10602
  # @return [Array<Google::Apis::VisionV1p1beta1::GoogleCloudVisionV1p5beta1ProductSearchResultsResult>]
@@ -10255,10 +10609,50 @@ module Google
10255
10609
  # Update properties of this object
10256
10610
  def update!(**args)
10257
10611
  @bounding_poly = args[:bounding_poly] if args.key?(:bounding_poly)
10612
+ @object_annotations = args[:object_annotations] if args.key?(:object_annotations)
10258
10613
  @results = args[:results] if args.key?(:results)
10259
10614
  end
10260
10615
  end
10261
10616
 
10617
+ # Prediction for what the object in the bounding box is.
10618
+ class GoogleCloudVisionV1p5beta1ProductSearchResultsObjectAnnotation
10619
+ include Google::Apis::Core::Hashable
10620
+
10621
+ # The BCP-47 language code, such as "en-US" or "sr-Latn". For more
10622
+ # information, see
10623
+ # http://www.unicode.org/reports/tr35/#Unicode_locale_identifier.
10624
+ # Corresponds to the JSON property `languageCode`
10625
+ # @return [String]
10626
+ attr_accessor :language_code
10627
+
10628
+ # Object ID that should align with EntityAnnotation mid.
10629
+ # Corresponds to the JSON property `mid`
10630
+ # @return [String]
10631
+ attr_accessor :mid
10632
+
10633
+ # Object name, expressed in its `language_code` language.
10634
+ # Corresponds to the JSON property `name`
10635
+ # @return [String]
10636
+ attr_accessor :name
10637
+
10638
+ # Score of the result. Range [0, 1].
10639
+ # Corresponds to the JSON property `score`
10640
+ # @return [Float]
10641
+ attr_accessor :score
10642
+
10643
+ def initialize(**args)
10644
+ update!(**args)
10645
+ end
10646
+
10647
+ # Update properties of this object
10648
+ def update!(**args)
10649
+ @language_code = args[:language_code] if args.key?(:language_code)
10650
+ @mid = args[:mid] if args.key?(:mid)
10651
+ @name = args[:name] if args.key?(:name)
10652
+ @score = args[:score] if args.key?(:score)
10653
+ end
10654
+ end
10655
+
10262
10656
  # Information about a product.
10263
10657
  class GoogleCloudVisionV1p5beta1ProductSearchResultsResult
10264
10658
  include Google::Apis::Core::Hashable
@@ -10380,11 +10774,29 @@ module Google
10380
10774
  # @return [String]
10381
10775
  attr_accessor :adult
10382
10776
 
10777
+ # Confidence of adult_score. Range [0, 1]. 0 means not confident, 1 means
10778
+ # very confident.
10779
+ # Corresponds to the JSON property `adultConfidence`
10780
+ # @return [Float]
10781
+ attr_accessor :adult_confidence
10782
+
10383
10783
  # Likelihood that this is a medical image.
10384
10784
  # Corresponds to the JSON property `medical`
10385
10785
  # @return [String]
10386
10786
  attr_accessor :medical
10387
10787
 
10788
+ # Confidence of medical_score. Range [0, 1]. 0 means not confident, 1 means
10789
+ # very confident.
10790
+ # Corresponds to the JSON property `medicalConfidence`
10791
+ # @return [Float]
10792
+ attr_accessor :medical_confidence
10793
+
10794
+ # Confidence of nsfw_score. Range [0, 1]. 0 means not confident, 1 means very
10795
+ # confident.
10796
+ # Corresponds to the JSON property `nsfwConfidence`
10797
+ # @return [Float]
10798
+ attr_accessor :nsfw_confidence
10799
+
10388
10800
  # Likelihood that the request image contains racy content. Racy content may
10389
10801
  # include (but is not limited to) skimpy or sheer clothing, strategically
10390
10802
  # covered nudity, lewd or provocative poses, or close-ups of sensitive
@@ -10393,6 +10805,12 @@ module Google
10393
10805
  # @return [String]
10394
10806
  attr_accessor :racy
10395
10807
 
10808
+ # Confidence of racy_score. Range [0, 1]. 0 means not confident, 1 means very
10809
+ # confident.
10810
+ # Corresponds to the JSON property `racyConfidence`
10811
+ # @return [Float]
10812
+ attr_accessor :racy_confidence
10813
+
10396
10814
  # Spoof likelihood. The likelihood that an modification
10397
10815
  # was made to the image's canonical version to make it appear
10398
10816
  # funny or offensive.
@@ -10400,11 +10818,23 @@ module Google
10400
10818
  # @return [String]
10401
10819
  attr_accessor :spoof
10402
10820
 
10821
+ # Confidence of spoof_score. Range [0, 1]. 0 means not confident, 1 means
10822
+ # very confident.
10823
+ # Corresponds to the JSON property `spoofConfidence`
10824
+ # @return [Float]
10825
+ attr_accessor :spoof_confidence
10826
+
10403
10827
  # Likelihood that this image contains violent content.
10404
10828
  # Corresponds to the JSON property `violence`
10405
10829
  # @return [String]
10406
10830
  attr_accessor :violence
10407
10831
 
10832
+ # Confidence of violence_score. Range [0, 1]. 0 means not confident, 1 means
10833
+ # very confident.
10834
+ # Corresponds to the JSON property `violenceConfidence`
10835
+ # @return [Float]
10836
+ attr_accessor :violence_confidence
10837
+
10408
10838
  def initialize(**args)
10409
10839
  update!(**args)
10410
10840
  end
@@ -10412,10 +10842,16 @@ module Google
10412
10842
  # Update properties of this object
10413
10843
  def update!(**args)
10414
10844
  @adult = args[:adult] if args.key?(:adult)
10845
+ @adult_confidence = args[:adult_confidence] if args.key?(:adult_confidence)
10415
10846
  @medical = args[:medical] if args.key?(:medical)
10847
+ @medical_confidence = args[:medical_confidence] if args.key?(:medical_confidence)
10848
+ @nsfw_confidence = args[:nsfw_confidence] if args.key?(:nsfw_confidence)
10416
10849
  @racy = args[:racy] if args.key?(:racy)
10850
+ @racy_confidence = args[:racy_confidence] if args.key?(:racy_confidence)
10417
10851
  @spoof = args[:spoof] if args.key?(:spoof)
10852
+ @spoof_confidence = args[:spoof_confidence] if args.key?(:spoof_confidence)
10418
10853
  @violence = args[:violence] if args.key?(:violence)
10854
+ @violence_confidence = args[:violence_confidence] if args.key?(:violence_confidence)
10419
10855
  end
10420
10856
  end
10421
10857
 
@@ -10912,6 +11348,11 @@ module Google
10912
11348
  # @return [Google::Apis::VisionV1p1beta1::BoundingPoly]
10913
11349
  attr_accessor :bounding_poly
10914
11350
 
11351
+ # List of generic predictions for the object in the bounding box.
11352
+ # Corresponds to the JSON property `objectAnnotations`
11353
+ # @return [Array<Google::Apis::VisionV1p1beta1::ObjectAnnotation>]
11354
+ attr_accessor :object_annotations
11355
+
10915
11356
  # List of results, one for each product match.
10916
11357
  # Corresponds to the JSON property `results`
10917
11358
  # @return [Array<Google::Apis::VisionV1p1beta1::Result>]
@@ -10924,6 +11365,7 @@ module Google
10924
11365
  # Update properties of this object
10925
11366
  def update!(**args)
10926
11367
  @bounding_poly = args[:bounding_poly] if args.key?(:bounding_poly)
11368
+ @object_annotations = args[:object_annotations] if args.key?(:object_annotations)
10927
11369
  @results = args[:results] if args.key?(:results)
10928
11370
  end
10929
11371
  end
@@ -11221,6 +11663,45 @@ module Google
11221
11663
  end
11222
11664
  end
11223
11665
 
11666
+ # Prediction for what the object in the bounding box is.
11667
+ class ObjectAnnotation
11668
+ include Google::Apis::Core::Hashable
11669
+
11670
+ # The BCP-47 language code, such as "en-US" or "sr-Latn". For more
11671
+ # information, see
11672
+ # http://www.unicode.org/reports/tr35/#Unicode_locale_identifier.
11673
+ # Corresponds to the JSON property `languageCode`
11674
+ # @return [String]
11675
+ attr_accessor :language_code
11676
+
11677
+ # Object ID that should align with EntityAnnotation mid.
11678
+ # Corresponds to the JSON property `mid`
11679
+ # @return [String]
11680
+ attr_accessor :mid
11681
+
11682
+ # Object name, expressed in its `language_code` language.
11683
+ # Corresponds to the JSON property `name`
11684
+ # @return [String]
11685
+ attr_accessor :name
11686
+
11687
+ # Score of the result. Range [0, 1].
11688
+ # Corresponds to the JSON property `score`
11689
+ # @return [Float]
11690
+ attr_accessor :score
11691
+
11692
+ def initialize(**args)
11693
+ update!(**args)
11694
+ end
11695
+
11696
+ # Update properties of this object
11697
+ def update!(**args)
11698
+ @language_code = args[:language_code] if args.key?(:language_code)
11699
+ @mid = args[:mid] if args.key?(:mid)
11700
+ @name = args[:name] if args.key?(:name)
11701
+ @score = args[:score] if args.key?(:score)
11702
+ end
11703
+ end
11704
+
11224
11705
  # This resource represents a long-running operation that is the result of a
11225
11706
  # network API call.
11226
11707
  class Operation
@@ -11682,11 +12163,29 @@ module Google
11682
12163
  # @return [String]
11683
12164
  attr_accessor :adult
11684
12165
 
12166
+ # Confidence of adult_score. Range [0, 1]. 0 means not confident, 1 means
12167
+ # very confident.
12168
+ # Corresponds to the JSON property `adultConfidence`
12169
+ # @return [Float]
12170
+ attr_accessor :adult_confidence
12171
+
11685
12172
  # Likelihood that this is a medical image.
11686
12173
  # Corresponds to the JSON property `medical`
11687
12174
  # @return [String]
11688
12175
  attr_accessor :medical
11689
12176
 
12177
+ # Confidence of medical_score. Range [0, 1]. 0 means not confident, 1 means
12178
+ # very confident.
12179
+ # Corresponds to the JSON property `medicalConfidence`
12180
+ # @return [Float]
12181
+ attr_accessor :medical_confidence
12182
+
12183
+ # Confidence of nsfw_score. Range [0, 1]. 0 means not confident, 1 means very
12184
+ # confident.
12185
+ # Corresponds to the JSON property `nsfwConfidence`
12186
+ # @return [Float]
12187
+ attr_accessor :nsfw_confidence
12188
+
11690
12189
  # Likelihood that the request image contains racy content. Racy content may
11691
12190
  # include (but is not limited to) skimpy or sheer clothing, strategically
11692
12191
  # covered nudity, lewd or provocative poses, or close-ups of sensitive
@@ -11695,6 +12194,12 @@ module Google
11695
12194
  # @return [String]
11696
12195
  attr_accessor :racy
11697
12196
 
12197
+ # Confidence of racy_score. Range [0, 1]. 0 means not confident, 1 means very
12198
+ # confident.
12199
+ # Corresponds to the JSON property `racyConfidence`
12200
+ # @return [Float]
12201
+ attr_accessor :racy_confidence
12202
+
11698
12203
  # Spoof likelihood. The likelihood that an modification
11699
12204
  # was made to the image's canonical version to make it appear
11700
12205
  # funny or offensive.
@@ -11702,11 +12207,23 @@ module Google
11702
12207
  # @return [String]
11703
12208
  attr_accessor :spoof
11704
12209
 
12210
+ # Confidence of spoof_score. Range [0, 1]. 0 means not confident, 1 means
12211
+ # very confident.
12212
+ # Corresponds to the JSON property `spoofConfidence`
12213
+ # @return [Float]
12214
+ attr_accessor :spoof_confidence
12215
+
11705
12216
  # Likelihood that this image contains violent content.
11706
12217
  # Corresponds to the JSON property `violence`
11707
12218
  # @return [String]
11708
12219
  attr_accessor :violence
11709
12220
 
12221
+ # Confidence of violence_score. Range [0, 1]. 0 means not confident, 1 means
12222
+ # very confident.
12223
+ # Corresponds to the JSON property `violenceConfidence`
12224
+ # @return [Float]
12225
+ attr_accessor :violence_confidence
12226
+
11710
12227
  def initialize(**args)
11711
12228
  update!(**args)
11712
12229
  end
@@ -11714,10 +12231,16 @@ module Google
11714
12231
  # Update properties of this object
11715
12232
  def update!(**args)
11716
12233
  @adult = args[:adult] if args.key?(:adult)
12234
+ @adult_confidence = args[:adult_confidence] if args.key?(:adult_confidence)
11717
12235
  @medical = args[:medical] if args.key?(:medical)
12236
+ @medical_confidence = args[:medical_confidence] if args.key?(:medical_confidence)
12237
+ @nsfw_confidence = args[:nsfw_confidence] if args.key?(:nsfw_confidence)
11718
12238
  @racy = args[:racy] if args.key?(:racy)
12239
+ @racy_confidence = args[:racy_confidence] if args.key?(:racy_confidence)
11719
12240
  @spoof = args[:spoof] if args.key?(:spoof)
12241
+ @spoof_confidence = args[:spoof_confidence] if args.key?(:spoof_confidence)
11720
12242
  @violence = args[:violence] if args.key?(:violence)
12243
+ @violence_confidence = args[:violence_confidence] if args.key?(:violence_confidence)
11721
12244
  end
11722
12245
  end
11723
12246