google-api-client 0.31.0 → 0.32.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (295) hide show
  1. checksums.yaml +4 -4
  2. data/.kokoro/continuous/linux.cfg +11 -1
  3. data/.kokoro/continuous/osx.cfg +5 -0
  4. data/.kokoro/continuous/windows.cfg +10 -0
  5. data/.kokoro/presubmit/linux.cfg +11 -1
  6. data/.kokoro/presubmit/osx.cfg +5 -0
  7. data/.kokoro/presubmit/windows.cfg +10 -0
  8. data/CHANGELOG.md +107 -0
  9. data/generated/google/apis/androidmanagement_v1.rb +1 -1
  10. data/generated/google/apis/androidmanagement_v1/classes.rb +12 -1
  11. data/generated/google/apis/androidmanagement_v1/representations.rb +1 -0
  12. data/generated/google/apis/bigquery_v2.rb +1 -1
  13. data/generated/google/apis/bigquery_v2/classes.rb +241 -0
  14. data/generated/google/apis/bigquery_v2/representations.rb +115 -0
  15. data/generated/google/apis/bigqueryconnection_v1beta1.rb +1 -1
  16. data/generated/google/apis/bigqueryconnection_v1beta1/classes.rb +62 -29
  17. data/generated/google/apis/bigquerydatatransfer_v1.rb +1 -1
  18. data/generated/google/apis/bigquerydatatransfer_v1/classes.rb +2 -2
  19. data/generated/google/apis/bigquerydatatransfer_v1/service.rb +30 -26
  20. data/generated/google/apis/bigqueryreservation_v1.rb +1 -1
  21. data/generated/google/apis/bigqueryreservation_v1/classes.rb +7 -7
  22. data/generated/google/apis/bigqueryreservation_v1/representations.rb +3 -3
  23. data/generated/google/apis/bigqueryreservation_v1alpha2.rb +1 -1
  24. data/generated/google/apis/bigqueryreservation_v1alpha2/classes.rb +0 -175
  25. data/generated/google/apis/bigqueryreservation_v1alpha2/representations.rb +0 -65
  26. data/generated/google/apis/bigqueryreservation_v1alpha2/service.rb +0 -140
  27. data/generated/google/apis/bigqueryreservation_v1beta1.rb +37 -0
  28. data/generated/google/apis/bigqueryreservation_v1beta1/classes.rb +497 -0
  29. data/generated/google/apis/bigqueryreservation_v1beta1/representations.rb +236 -0
  30. data/generated/google/apis/bigqueryreservation_v1beta1/service.rb +713 -0
  31. data/generated/google/apis/binaryauthorization_v1.rb +1 -1
  32. data/generated/google/apis/binaryauthorization_v1/classes.rb +307 -0
  33. data/generated/google/apis/binaryauthorization_v1/representations.rb +88 -0
  34. data/generated/google/apis/binaryauthorization_v1/service.rb +230 -0
  35. data/generated/google/apis/binaryauthorization_v1beta1.rb +1 -1
  36. data/generated/google/apis/binaryauthorization_v1beta1/classes.rb +62 -29
  37. data/generated/google/apis/blogger_v3.rb +1 -1
  38. data/generated/google/apis/blogger_v3/service.rb +6 -6
  39. data/generated/google/apis/calendar_v3.rb +1 -1
  40. data/generated/google/apis/calendar_v3/classes.rb +1 -0
  41. data/generated/google/apis/cloudasset_v1.rb +1 -1
  42. data/generated/google/apis/cloudasset_v1/classes.rb +72 -29
  43. data/generated/google/apis/cloudasset_v1/representations.rb +1 -0
  44. data/generated/google/apis/cloudasset_v1/service.rb +1 -1
  45. data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
  46. data/generated/google/apis/cloudasset_v1beta1/classes.rb +62 -29
  47. data/generated/google/apis/cloudasset_v1beta1/service.rb +2 -2
  48. data/generated/google/apis/cloudfunctions_v1.rb +1 -1
  49. data/generated/google/apis/cloudfunctions_v1/classes.rb +7 -2
  50. data/generated/google/apis/cloudfunctions_v1/service.rb +10 -7
  51. data/generated/google/apis/cloudfunctions_v1beta2.rb +1 -1
  52. data/generated/google/apis/cloudfunctions_v1beta2/classes.rb +1 -1
  53. data/generated/google/apis/cloudfunctions_v1beta2/service.rb +7 -6
  54. data/generated/google/apis/cloudidentity_v1.rb +4 -1
  55. data/generated/google/apis/cloudidentity_v1beta1.rb +4 -1
  56. data/generated/google/apis/cloudiot_v1.rb +1 -1
  57. data/generated/google/apis/cloudiot_v1/classes.rb +68 -35
  58. data/generated/google/apis/cloudiot_v1/service.rb +18 -17
  59. data/generated/google/apis/cloudkms_v1.rb +1 -1
  60. data/generated/google/apis/cloudkms_v1/classes.rb +77 -35
  61. data/generated/google/apis/cloudkms_v1/service.rb +33 -27
  62. data/generated/google/apis/cloudprivatecatalogproducer_v1beta1.rb +1 -1
  63. data/generated/google/apis/cloudprivatecatalogproducer_v1beta1/classes.rb +62 -29
  64. data/generated/google/apis/cloudsearch_v1.rb +1 -1
  65. data/generated/google/apis/cloudsearch_v1/classes.rb +354 -0
  66. data/generated/google/apis/cloudsearch_v1/representations.rb +196 -0
  67. data/generated/google/apis/cloudsearch_v1/service.rb +314 -2
  68. data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
  69. data/generated/google/apis/cloudtasks_v2beta3/classes.rb +62 -29
  70. data/generated/google/apis/cloudtrace_v1.rb +1 -1
  71. data/generated/google/apis/cloudtrace_v1/classes.rb +1 -1
  72. data/generated/google/apis/cloudtrace_v1/service.rb +10 -10
  73. data/generated/google/apis/cloudtrace_v2.rb +1 -1
  74. data/generated/google/apis/cloudtrace_v2/classes.rb +3 -3
  75. data/generated/google/apis/commentanalyzer_v1alpha1.rb +1 -1
  76. data/generated/google/apis/commentanalyzer_v1alpha1/classes.rb +7 -10
  77. data/generated/google/apis/compute_alpha.rb +1 -1
  78. data/generated/google/apis/compute_alpha/classes.rb +38 -42
  79. data/generated/google/apis/compute_alpha/representations.rb +5 -16
  80. data/generated/google/apis/compute_beta.rb +1 -1
  81. data/generated/google/apis/compute_beta/classes.rb +10 -5
  82. data/generated/google/apis/compute_v1.rb +1 -1
  83. data/generated/google/apis/compute_v1/classes.rb +1327 -4
  84. data/generated/google/apis/compute_v1/representations.rb +439 -0
  85. data/generated/google/apis/container_v1.rb +1 -1
  86. data/generated/google/apis/container_v1/classes.rb +111 -0
  87. data/generated/google/apis/container_v1/representations.rb +51 -0
  88. data/generated/google/apis/containeranalysis_v1alpha1.rb +1 -1
  89. data/generated/google/apis/containeranalysis_v1alpha1/classes.rb +76 -30
  90. data/generated/google/apis/containeranalysis_v1alpha1/representations.rb +1 -0
  91. data/generated/google/apis/containeranalysis_v1beta1.rb +1 -1
  92. data/generated/google/apis/containeranalysis_v1beta1/classes.rb +70 -30
  93. data/generated/google/apis/content_v2.rb +1 -1
  94. data/generated/google/apis/content_v2/service.rb +0 -226
  95. data/generated/google/apis/dataflow_v1b3.rb +1 -1
  96. data/generated/google/apis/dataflow_v1b3/classes.rb +42 -0
  97. data/generated/google/apis/dataflow_v1b3/representations.rb +4 -0
  98. data/generated/google/apis/dataproc_v1.rb +1 -1
  99. data/generated/google/apis/dataproc_v1/classes.rb +324 -38
  100. data/generated/google/apis/dataproc_v1/representations.rb +97 -0
  101. data/generated/google/apis/dataproc_v1/service.rb +613 -1
  102. data/generated/google/apis/dataproc_v1beta2.rb +1 -1
  103. data/generated/google/apis/dataproc_v1beta2/classes.rb +100 -54
  104. data/generated/google/apis/dataproc_v1beta2/service.rb +29 -22
  105. data/generated/google/apis/dialogflow_v2.rb +1 -1
  106. data/generated/google/apis/dialogflow_v2/classes.rb +363 -167
  107. data/generated/google/apis/dialogflow_v2/representations.rb +160 -49
  108. data/generated/google/apis/dialogflow_v2/service.rb +1 -1
  109. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  110. data/generated/google/apis/dialogflow_v2beta1/classes.rb +433 -178
  111. data/generated/google/apis/dialogflow_v2beta1/representations.rb +199 -59
  112. data/generated/google/apis/dialogflow_v2beta1/service.rb +39 -0
  113. data/generated/google/apis/dlp_v2.rb +1 -1
  114. data/generated/google/apis/dlp_v2/classes.rb +3 -4
  115. data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
  116. data/generated/google/apis/drive_v2.rb +1 -1
  117. data/generated/google/apis/drive_v2/classes.rb +2 -2
  118. data/generated/google/apis/drive_v3.rb +1 -1
  119. data/generated/google/apis/drive_v3/classes.rb +2 -2
  120. data/generated/google/apis/fcm_v1.rb +1 -1
  121. data/generated/google/apis/fcm_v1/classes.rb +9 -4
  122. data/generated/google/apis/file_v1.rb +1 -1
  123. data/generated/google/apis/file_v1/classes.rb +8 -0
  124. data/generated/google/apis/file_v1/representations.rb +1 -0
  125. data/generated/google/apis/file_v1/service.rb +2 -0
  126. data/generated/google/apis/file_v1beta1.rb +1 -1
  127. data/generated/google/apis/file_v1beta1/classes.rb +8 -0
  128. data/generated/google/apis/file_v1beta1/representations.rb +1 -0
  129. data/generated/google/apis/file_v1beta1/service.rb +2 -0
  130. data/generated/google/apis/firebase_v1beta1.rb +1 -1
  131. data/generated/google/apis/firebase_v1beta1/classes.rb +41 -4
  132. data/generated/google/apis/firebase_v1beta1/representations.rb +2 -0
  133. data/generated/google/apis/firebase_v1beta1/service.rb +22 -14
  134. data/generated/google/apis/fitness_v1.rb +19 -19
  135. data/generated/google/apis/healthcare_v1beta1.rb +1 -1
  136. data/generated/google/apis/healthcare_v1beta1/classes.rb +136 -100
  137. data/generated/google/apis/healthcare_v1beta1/representations.rb +1 -1
  138. data/generated/google/apis/healthcare_v1beta1/service.rb +124 -119
  139. data/generated/google/apis/iam_v1.rb +1 -1
  140. data/generated/google/apis/iam_v1/classes.rb +87 -41
  141. data/generated/google/apis/iap_v1.rb +1 -1
  142. data/generated/google/apis/iap_v1/classes.rb +62 -29
  143. data/generated/google/apis/iap_v1beta1.rb +1 -1
  144. data/generated/google/apis/iap_v1beta1/classes.rb +62 -29
  145. data/generated/google/apis/ml_v1.rb +1 -1
  146. data/generated/google/apis/ml_v1/classes.rb +114 -49
  147. data/generated/google/apis/ml_v1/representations.rb +2 -0
  148. data/generated/google/apis/ml_v1/service.rb +12 -6
  149. data/generated/google/apis/monitoring_v3.rb +1 -1
  150. data/generated/google/apis/monitoring_v3/classes.rb +14 -10
  151. data/generated/google/apis/monitoring_v3/representations.rb +1 -0
  152. data/generated/google/apis/oslogin_v1.rb +1 -1
  153. data/generated/google/apis/oslogin_v1/classes.rb +12 -0
  154. data/generated/google/apis/oslogin_v1/representations.rb +2 -0
  155. data/generated/google/apis/oslogin_v1alpha.rb +1 -1
  156. data/generated/google/apis/oslogin_v1alpha/classes.rb +12 -0
  157. data/generated/google/apis/oslogin_v1alpha/representations.rb +2 -0
  158. data/generated/google/apis/oslogin_v1beta.rb +1 -1
  159. data/generated/google/apis/oslogin_v1beta/classes.rb +12 -0
  160. data/generated/google/apis/oslogin_v1beta/representations.rb +2 -0
  161. data/generated/google/apis/policytroubleshooter_v1beta.rb +34 -0
  162. data/generated/google/apis/policytroubleshooter_v1beta/classes.rb +621 -0
  163. data/generated/google/apis/policytroubleshooter_v1beta/representations.rb +203 -0
  164. data/generated/google/apis/policytroubleshooter_v1beta/service.rb +91 -0
  165. data/generated/google/apis/proximitybeacon_v1beta1.rb +1 -1
  166. data/generated/google/apis/proximitybeacon_v1beta1/classes.rb +7 -4
  167. data/generated/google/apis/proximitybeacon_v1beta1/service.rb +60 -58
  168. data/generated/google/apis/recommender_v1beta1.rb +34 -0
  169. data/generated/google/apis/recommender_v1beta1/classes.rb +502 -0
  170. data/generated/google/apis/recommender_v1beta1/representations.rb +232 -0
  171. data/generated/google/apis/recommender_v1beta1/service.rb +262 -0
  172. data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
  173. data/generated/google/apis/remotebuildexecution_v1/classes.rb +49 -1100
  174. data/generated/google/apis/remotebuildexecution_v1/representations.rb +1 -276
  175. data/generated/google/apis/remotebuildexecution_v1/service.rb +0 -77
  176. data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
  177. data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +12 -990
  178. data/generated/google/apis/remotebuildexecution_v1alpha/representations.rb +1 -245
  179. data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
  180. data/generated/google/apis/remotebuildexecution_v2/classes.rb +12 -990
  181. data/generated/google/apis/remotebuildexecution_v2/representations.rb +1 -245
  182. data/generated/google/apis/run_v1.rb +1 -1
  183. data/generated/google/apis/run_v1/classes.rb +3553 -33
  184. data/generated/google/apis/run_v1/representations.rb +1186 -4
  185. data/generated/google/apis/run_v1/service.rb +2509 -23
  186. data/generated/google/apis/run_v1alpha1.rb +1 -1
  187. data/generated/google/apis/run_v1alpha1/classes.rb +103 -140
  188. data/generated/google/apis/run_v1alpha1/representations.rb +5 -43
  189. data/generated/google/apis/run_v1beta1.rb +35 -0
  190. data/generated/google/apis/run_v1beta1/classes.rb +1209 -0
  191. data/generated/google/apis/run_v1beta1/representations.rb +421 -0
  192. data/generated/google/apis/run_v1beta1/service.rb +172 -0
  193. data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
  194. data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +62 -29
  195. data/generated/google/apis/safebrowsing_v4.rb +5 -2
  196. data/generated/google/apis/safebrowsing_v4/service.rb +4 -1
  197. data/generated/google/apis/securitycenter_v1.rb +1 -1
  198. data/generated/google/apis/securitycenter_v1/classes.rb +70 -35
  199. data/generated/google/apis/securitycenter_v1/service.rb +13 -12
  200. data/generated/google/apis/securitycenter_v1beta1.rb +1 -1
  201. data/generated/google/apis/securitycenter_v1beta1/classes.rb +71 -35
  202. data/generated/google/apis/securitycenter_v1beta1/service.rb +13 -12
  203. data/generated/google/apis/servicebroker_v1.rb +1 -1
  204. data/generated/google/apis/servicebroker_v1/classes.rb +62 -29
  205. data/generated/google/apis/servicebroker_v1alpha1.rb +1 -1
  206. data/generated/google/apis/servicebroker_v1alpha1/classes.rb +62 -29
  207. data/generated/google/apis/servicebroker_v1beta1.rb +1 -1
  208. data/generated/google/apis/servicebroker_v1beta1/classes.rb +62 -29
  209. data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
  210. data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +11 -2
  211. data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +1 -0
  212. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  213. data/generated/google/apis/servicemanagement_v1/classes.rb +63 -33
  214. data/generated/google/apis/servicenetworking_v1.rb +1 -1
  215. data/generated/google/apis/servicenetworking_v1/classes.rb +11 -2
  216. data/generated/google/apis/servicenetworking_v1/representations.rb +1 -0
  217. data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
  218. data/generated/google/apis/servicenetworking_v1beta/classes.rb +11 -2
  219. data/generated/google/apis/servicenetworking_v1beta/representations.rb +1 -0
  220. data/generated/google/apis/serviceusage_v1.rb +1 -1
  221. data/generated/google/apis/serviceusage_v1/classes.rb +11 -2
  222. data/generated/google/apis/serviceusage_v1/representations.rb +1 -0
  223. data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
  224. data/generated/google/apis/serviceusage_v1beta1/classes.rb +11 -2
  225. data/generated/google/apis/serviceusage_v1beta1/representations.rb +1 -0
  226. data/generated/google/apis/spanner_v1.rb +1 -1
  227. data/generated/google/apis/spanner_v1/classes.rb +78 -2
  228. data/generated/google/apis/spanner_v1/representations.rb +44 -0
  229. data/generated/google/apis/spanner_v1/service.rb +35 -0
  230. data/generated/google/apis/speech_v1.rb +1 -1
  231. data/generated/google/apis/speech_v1/classes.rb +73 -19
  232. data/generated/google/apis/speech_v1/representations.rb +18 -0
  233. data/generated/google/apis/speech_v1p1beta1.rb +1 -1
  234. data/generated/google/apis/speech_v1p1beta1/classes.rb +31 -35
  235. data/generated/google/apis/speech_v2beta.rb +1 -1
  236. data/generated/google/apis/speech_v2beta/classes.rb +6 -6
  237. data/generated/google/apis/speech_v2beta/representations.rb +2 -2
  238. data/generated/google/apis/storage_v1.rb +1 -1
  239. data/generated/google/apis/storage_v1/classes.rb +1 -1
  240. data/generated/google/apis/storage_v1/representations.rb +2 -1
  241. data/generated/google/apis/storage_v1beta1.rb +1 -1
  242. data/generated/google/apis/storage_v1beta2.rb +1 -1
  243. data/generated/google/apis/streetviewpublish_v1.rb +1 -1
  244. data/generated/google/apis/streetviewpublish_v1/classes.rb +1 -1
  245. data/generated/google/apis/streetviewpublish_v1/service.rb +9 -5
  246. data/generated/google/apis/testing_v1.rb +1 -1
  247. data/generated/google/apis/testing_v1/classes.rb +42 -0
  248. data/generated/google/apis/testing_v1/representations.rb +18 -0
  249. data/generated/google/apis/texttospeech_v1.rb +1 -1
  250. data/generated/google/apis/texttospeech_v1/classes.rb +6 -5
  251. data/generated/google/apis/texttospeech_v1/service.rb +1 -1
  252. data/generated/google/apis/texttospeech_v1beta1.rb +1 -1
  253. data/generated/google/apis/texttospeech_v1beta1/classes.rb +6 -5
  254. data/generated/google/apis/texttospeech_v1beta1/service.rb +1 -1
  255. data/generated/google/apis/toolresults_v1beta3.rb +1 -1
  256. data/generated/google/apis/toolresults_v1beta3/classes.rb +1 -1
  257. data/generated/google/apis/translate_v3beta1.rb +1 -1
  258. data/generated/google/apis/translate_v3beta1/classes.rb +22 -16
  259. data/generated/google/apis/translate_v3beta1/service.rb +31 -31
  260. data/generated/google/apis/videointelligence_v1.rb +1 -1
  261. data/generated/google/apis/videointelligence_v1/classes.rb +45 -10
  262. data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
  263. data/generated/google/apis/videointelligence_v1beta2/classes.rb +45 -10
  264. data/generated/google/apis/videointelligence_v1p1beta1.rb +1 -1
  265. data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +45 -10
  266. data/generated/google/apis/videointelligence_v1p2beta1.rb +1 -1
  267. data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +45 -10
  268. data/generated/google/apis/videointelligence_v1p3beta1.rb +1 -1
  269. data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +45 -10
  270. data/generated/google/apis/vision_v1.rb +1 -1
  271. data/generated/google/apis/vision_v1/classes.rb +6 -156
  272. data/generated/google/apis/vision_v1/representations.rb +0 -44
  273. data/generated/google/apis/vision_v1p1beta1.rb +1 -1
  274. data/generated/google/apis/vision_v1p1beta1/classes.rb +6 -156
  275. data/generated/google/apis/vision_v1p1beta1/representations.rb +0 -44
  276. data/generated/google/apis/vision_v1p2beta1.rb +1 -1
  277. data/generated/google/apis/vision_v1p2beta1/classes.rb +6 -156
  278. data/generated/google/apis/vision_v1p2beta1/representations.rb +0 -44
  279. data/generated/google/apis/websecurityscanner_v1.rb +1 -1
  280. data/generated/google/apis/websecurityscanner_v1alpha.rb +1 -1
  281. data/generated/google/apis/websecurityscanner_v1alpha/classes.rb +21 -31
  282. data/generated/google/apis/websecurityscanner_v1alpha/service.rb +1 -1
  283. data/generated/google/apis/websecurityscanner_v1beta.rb +1 -1
  284. data/generated/google/apis/websecurityscanner_v1beta/classes.rb +30 -42
  285. data/generated/google/apis/websecurityscanner_v1beta/service.rb +1 -1
  286. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  287. data/generated/google/apis/youtube_partner_v1/classes.rb +0 -83
  288. data/generated/google/apis/youtube_partner_v1/representations.rb +0 -35
  289. data/generated/google/apis/youtube_partner_v1/service.rb +0 -100
  290. data/lib/google/apis/version.rb +1 -1
  291. metadata +18 -6
  292. data/generated/google/apis/dfareporting_v3_1.rb +0 -40
  293. data/generated/google/apis/dfareporting_v3_1/classes.rb +0 -11998
  294. data/generated/google/apis/dfareporting_v3_1/representations.rb +0 -4313
  295. data/generated/google/apis/dfareporting_v3_1/service.rb +0 -8688
@@ -27,7 +27,7 @@ module Google
27
27
  # @see https://cloud.google.com/video-intelligence/docs/
28
28
  module VideointelligenceV1p2beta1
29
29
  VERSION = 'V1p2beta1'
30
- REVISION = '20190905'
30
+ REVISION = '20190916'
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'
@@ -684,7 +684,11 @@ module Google
684
684
  attr_accessor :segment_label_annotations
685
685
 
686
686
  # Presence label annotations on video level or user specified segment level.
687
- # There is exactly one element for each unique label.
687
+ # There is exactly one element for each unique label. Compared to the
688
+ # existing topical `segment_label_annotations`, this field presents more
689
+ # fine-grained, segment-level labels detected in video content and is made
690
+ # available only when the client sets `LabelDetectionConfig.model` to
691
+ # "builtin/latest" in the request.
688
692
  # Corresponds to the JSON property `segmentPresenceLabelAnnotations`
689
693
  # @return [Array<Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1LabelAnnotation>]
690
694
  attr_accessor :segment_presence_label_annotations
@@ -701,7 +705,10 @@ module Google
701
705
  attr_accessor :shot_label_annotations
702
706
 
703
707
  # Presence label annotations on shot level. There is exactly one element for
704
- # each unique label.
708
+ # each unique label. Compared to the existing topical
709
+ # `shot_label_annotations`, this field presents more fine-grained, shot-level
710
+ # labels detected in video content and is made available only when the client
711
+ # sets `LabelDetectionConfig.model` to "builtin/latest" in the request.
705
712
  # Corresponds to the JSON property `shotPresenceLabelAnnotations`
706
713
  # @return [Array<Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1LabelAnnotation>]
707
714
  attr_accessor :shot_presence_label_annotations
@@ -1488,7 +1495,11 @@ module Google
1488
1495
  attr_accessor :segment_label_annotations
1489
1496
 
1490
1497
  # Presence label annotations on video level or user specified segment level.
1491
- # There is exactly one element for each unique label.
1498
+ # There is exactly one element for each unique label. Compared to the
1499
+ # existing topical `segment_label_annotations`, this field presents more
1500
+ # fine-grained, segment-level labels detected in video content and is made
1501
+ # available only when the client sets `LabelDetectionConfig.model` to
1502
+ # "builtin/latest" in the request.
1492
1503
  # Corresponds to the JSON property `segmentPresenceLabelAnnotations`
1493
1504
  # @return [Array<Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1beta2LabelAnnotation>]
1494
1505
  attr_accessor :segment_presence_label_annotations
@@ -1505,7 +1516,10 @@ module Google
1505
1516
  attr_accessor :shot_label_annotations
1506
1517
 
1507
1518
  # Presence label annotations on shot level. There is exactly one element for
1508
- # each unique label.
1519
+ # each unique label. Compared to the existing topical
1520
+ # `shot_label_annotations`, this field presents more fine-grained, shot-level
1521
+ # labels detected in video content and is made available only when the client
1522
+ # sets `LabelDetectionConfig.model` to "builtin/latest" in the request.
1509
1523
  # Corresponds to the JSON property `shotPresenceLabelAnnotations`
1510
1524
  # @return [Array<Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1beta2LabelAnnotation>]
1511
1525
  attr_accessor :shot_presence_label_annotations
@@ -2292,7 +2306,11 @@ module Google
2292
2306
  attr_accessor :segment_label_annotations
2293
2307
 
2294
2308
  # Presence label annotations on video level or user specified segment level.
2295
- # There is exactly one element for each unique label.
2309
+ # There is exactly one element for each unique label. Compared to the
2310
+ # existing topical `segment_label_annotations`, this field presents more
2311
+ # fine-grained, segment-level labels detected in video content and is made
2312
+ # available only when the client sets `LabelDetectionConfig.model` to
2313
+ # "builtin/latest" in the request.
2296
2314
  # Corresponds to the JSON property `segmentPresenceLabelAnnotations`
2297
2315
  # @return [Array<Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p1beta1LabelAnnotation>]
2298
2316
  attr_accessor :segment_presence_label_annotations
@@ -2309,7 +2327,10 @@ module Google
2309
2327
  attr_accessor :shot_label_annotations
2310
2328
 
2311
2329
  # Presence label annotations on shot level. There is exactly one element for
2312
- # each unique label.
2330
+ # each unique label. Compared to the existing topical
2331
+ # `shot_label_annotations`, this field presents more fine-grained, shot-level
2332
+ # labels detected in video content and is made available only when the client
2333
+ # sets `LabelDetectionConfig.model` to "builtin/latest" in the request.
2313
2334
  # Corresponds to the JSON property `shotPresenceLabelAnnotations`
2314
2335
  # @return [Array<Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p1beta1LabelAnnotation>]
2315
2336
  attr_accessor :shot_presence_label_annotations
@@ -3441,7 +3462,11 @@ module Google
3441
3462
  attr_accessor :segment_label_annotations
3442
3463
 
3443
3464
  # Presence label annotations on video level or user specified segment level.
3444
- # There is exactly one element for each unique label.
3465
+ # There is exactly one element for each unique label. Compared to the
3466
+ # existing topical `segment_label_annotations`, this field presents more
3467
+ # fine-grained, segment-level labels detected in video content and is made
3468
+ # available only when the client sets `LabelDetectionConfig.model` to
3469
+ # "builtin/latest" in the request.
3445
3470
  # Corresponds to the JSON property `segmentPresenceLabelAnnotations`
3446
3471
  # @return [Array<Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p2beta1LabelAnnotation>]
3447
3472
  attr_accessor :segment_presence_label_annotations
@@ -3458,7 +3483,10 @@ module Google
3458
3483
  attr_accessor :shot_label_annotations
3459
3484
 
3460
3485
  # Presence label annotations on shot level. There is exactly one element for
3461
- # each unique label.
3486
+ # each unique label. Compared to the existing topical
3487
+ # `shot_label_annotations`, this field presents more fine-grained, shot-level
3488
+ # labels detected in video content and is made available only when the client
3489
+ # sets `LabelDetectionConfig.model` to "builtin/latest" in the request.
3462
3490
  # Corresponds to the JSON property `shotPresenceLabelAnnotations`
3463
3491
  # @return [Array<Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p2beta1LabelAnnotation>]
3464
3492
  attr_accessor :shot_presence_label_annotations
@@ -4529,7 +4557,11 @@ module Google
4529
4557
  attr_accessor :segment_label_annotations
4530
4558
 
4531
4559
  # Presence label annotations on video level or user specified segment level.
4532
- # There is exactly one element for each unique label.
4560
+ # There is exactly one element for each unique label. Compared to the
4561
+ # existing topical `segment_label_annotations`, this field presents more
4562
+ # fine-grained, segment-level labels detected in video content and is made
4563
+ # available only when the client sets `LabelDetectionConfig.model` to
4564
+ # "builtin/latest" in the request.
4533
4565
  # Corresponds to the JSON property `segmentPresenceLabelAnnotations`
4534
4566
  # @return [Array<Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p3beta1LabelAnnotation>]
4535
4567
  attr_accessor :segment_presence_label_annotations
@@ -4546,7 +4578,10 @@ module Google
4546
4578
  attr_accessor :shot_label_annotations
4547
4579
 
4548
4580
  # Presence label annotations on shot level. There is exactly one element for
4549
- # each unique label.
4581
+ # each unique label. Compared to the existing topical
4582
+ # `shot_label_annotations`, this field presents more fine-grained, shot-level
4583
+ # labels detected in video content and is made available only when the client
4584
+ # sets `LabelDetectionConfig.model` to "builtin/latest" in the request.
4550
4585
  # Corresponds to the JSON property `shotPresenceLabelAnnotations`
4551
4586
  # @return [Array<Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p3beta1LabelAnnotation>]
4552
4587
  attr_accessor :shot_presence_label_annotations
@@ -27,7 +27,7 @@ module Google
27
27
  # @see https://cloud.google.com/video-intelligence/docs/
28
28
  module VideointelligenceV1p3beta1
29
29
  VERSION = 'V1p3beta1'
30
- REVISION = '20190905'
30
+ REVISION = '20190916'
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'
@@ -684,7 +684,11 @@ module Google
684
684
  attr_accessor :segment_label_annotations
685
685
 
686
686
  # Presence label annotations on video level or user specified segment level.
687
- # There is exactly one element for each unique label.
687
+ # There is exactly one element for each unique label. Compared to the
688
+ # existing topical `segment_label_annotations`, this field presents more
689
+ # fine-grained, segment-level labels detected in video content and is made
690
+ # available only when the client sets `LabelDetectionConfig.model` to
691
+ # "builtin/latest" in the request.
688
692
  # Corresponds to the JSON property `segmentPresenceLabelAnnotations`
689
693
  # @return [Array<Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1LabelAnnotation>]
690
694
  attr_accessor :segment_presence_label_annotations
@@ -701,7 +705,10 @@ module Google
701
705
  attr_accessor :shot_label_annotations
702
706
 
703
707
  # Presence label annotations on shot level. There is exactly one element for
704
- # each unique label.
708
+ # each unique label. Compared to the existing topical
709
+ # `shot_label_annotations`, this field presents more fine-grained, shot-level
710
+ # labels detected in video content and is made available only when the client
711
+ # sets `LabelDetectionConfig.model` to "builtin/latest" in the request.
705
712
  # Corresponds to the JSON property `shotPresenceLabelAnnotations`
706
713
  # @return [Array<Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1LabelAnnotation>]
707
714
  attr_accessor :shot_presence_label_annotations
@@ -1488,7 +1495,11 @@ module Google
1488
1495
  attr_accessor :segment_label_annotations
1489
1496
 
1490
1497
  # Presence label annotations on video level or user specified segment level.
1491
- # There is exactly one element for each unique label.
1498
+ # There is exactly one element for each unique label. Compared to the
1499
+ # existing topical `segment_label_annotations`, this field presents more
1500
+ # fine-grained, segment-level labels detected in video content and is made
1501
+ # available only when the client sets `LabelDetectionConfig.model` to
1502
+ # "builtin/latest" in the request.
1492
1503
  # Corresponds to the JSON property `segmentPresenceLabelAnnotations`
1493
1504
  # @return [Array<Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1beta2LabelAnnotation>]
1494
1505
  attr_accessor :segment_presence_label_annotations
@@ -1505,7 +1516,10 @@ module Google
1505
1516
  attr_accessor :shot_label_annotations
1506
1517
 
1507
1518
  # Presence label annotations on shot level. There is exactly one element for
1508
- # each unique label.
1519
+ # each unique label. Compared to the existing topical
1520
+ # `shot_label_annotations`, this field presents more fine-grained, shot-level
1521
+ # labels detected in video content and is made available only when the client
1522
+ # sets `LabelDetectionConfig.model` to "builtin/latest" in the request.
1509
1523
  # Corresponds to the JSON property `shotPresenceLabelAnnotations`
1510
1524
  # @return [Array<Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1beta2LabelAnnotation>]
1511
1525
  attr_accessor :shot_presence_label_annotations
@@ -2292,7 +2306,11 @@ module Google
2292
2306
  attr_accessor :segment_label_annotations
2293
2307
 
2294
2308
  # Presence label annotations on video level or user specified segment level.
2295
- # There is exactly one element for each unique label.
2309
+ # There is exactly one element for each unique label. Compared to the
2310
+ # existing topical `segment_label_annotations`, this field presents more
2311
+ # fine-grained, segment-level labels detected in video content and is made
2312
+ # available only when the client sets `LabelDetectionConfig.model` to
2313
+ # "builtin/latest" in the request.
2296
2314
  # Corresponds to the JSON property `segmentPresenceLabelAnnotations`
2297
2315
  # @return [Array<Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p1beta1LabelAnnotation>]
2298
2316
  attr_accessor :segment_presence_label_annotations
@@ -2309,7 +2327,10 @@ module Google
2309
2327
  attr_accessor :shot_label_annotations
2310
2328
 
2311
2329
  # Presence label annotations on shot level. There is exactly one element for
2312
- # each unique label.
2330
+ # each unique label. Compared to the existing topical
2331
+ # `shot_label_annotations`, this field presents more fine-grained, shot-level
2332
+ # labels detected in video content and is made available only when the client
2333
+ # sets `LabelDetectionConfig.model` to "builtin/latest" in the request.
2313
2334
  # Corresponds to the JSON property `shotPresenceLabelAnnotations`
2314
2335
  # @return [Array<Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p1beta1LabelAnnotation>]
2315
2336
  attr_accessor :shot_presence_label_annotations
@@ -3096,7 +3117,11 @@ module Google
3096
3117
  attr_accessor :segment_label_annotations
3097
3118
 
3098
3119
  # Presence label annotations on video level or user specified segment level.
3099
- # There is exactly one element for each unique label.
3120
+ # There is exactly one element for each unique label. Compared to the
3121
+ # existing topical `segment_label_annotations`, this field presents more
3122
+ # fine-grained, segment-level labels detected in video content and is made
3123
+ # available only when the client sets `LabelDetectionConfig.model` to
3124
+ # "builtin/latest" in the request.
3100
3125
  # Corresponds to the JSON property `segmentPresenceLabelAnnotations`
3101
3126
  # @return [Array<Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p2beta1LabelAnnotation>]
3102
3127
  attr_accessor :segment_presence_label_annotations
@@ -3113,7 +3138,10 @@ module Google
3113
3138
  attr_accessor :shot_label_annotations
3114
3139
 
3115
3140
  # Presence label annotations on shot level. There is exactly one element for
3116
- # each unique label.
3141
+ # each unique label. Compared to the existing topical
3142
+ # `shot_label_annotations`, this field presents more fine-grained, shot-level
3143
+ # labels detected in video content and is made available only when the client
3144
+ # sets `LabelDetectionConfig.model` to "builtin/latest" in the request.
3117
3145
  # Corresponds to the JSON property `shotPresenceLabelAnnotations`
3118
3146
  # @return [Array<Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p2beta1LabelAnnotation>]
3119
3147
  attr_accessor :shot_presence_label_annotations
@@ -4472,7 +4500,11 @@ module Google
4472
4500
  attr_accessor :segment_label_annotations
4473
4501
 
4474
4502
  # Presence label annotations on video level or user specified segment level.
4475
- # There is exactly one element for each unique label.
4503
+ # There is exactly one element for each unique label. Compared to the
4504
+ # existing topical `segment_label_annotations`, this field presents more
4505
+ # fine-grained, segment-level labels detected in video content and is made
4506
+ # available only when the client sets `LabelDetectionConfig.model` to
4507
+ # "builtin/latest" in the request.
4476
4508
  # Corresponds to the JSON property `segmentPresenceLabelAnnotations`
4477
4509
  # @return [Array<Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p3beta1LabelAnnotation>]
4478
4510
  attr_accessor :segment_presence_label_annotations
@@ -4489,7 +4521,10 @@ module Google
4489
4521
  attr_accessor :shot_label_annotations
4490
4522
 
4491
4523
  # Presence label annotations on shot level. There is exactly one element for
4492
- # each unique label.
4524
+ # each unique label. Compared to the existing topical
4525
+ # `shot_label_annotations`, this field presents more fine-grained, shot-level
4526
+ # labels detected in video content and is made available only when the client
4527
+ # sets `LabelDetectionConfig.model` to "builtin/latest" in the request.
4493
4528
  # Corresponds to the JSON property `shotPresenceLabelAnnotations`
4494
4529
  # @return [Array<Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p3beta1LabelAnnotation>]
4495
4530
  attr_accessor :shot_presence_label_annotations
@@ -27,7 +27,7 @@ module Google
27
27
  # @see https://cloud.google.com/vision/
28
28
  module VisionV1
29
29
  VERSION = 'V1'
30
- REVISION = '20190907'
30
+ REVISION = '20190927'
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'
@@ -7005,11 +7005,6 @@ module Google
7005
7005
  # @return [Google::Apis::VisionV1::GoogleCloudVisionV1p4beta1ImageProperties]
7006
7006
  attr_accessor :image_properties_annotation
7007
7007
 
7008
- # Stores image quality scores, could be aesthetic quality or technical quality.
7009
- # Corresponds to the JSON property `imageQualityAnnotation`
7010
- # @return [Google::Apis::VisionV1::GoogleCloudVisionV1p4beta1ImageQuality]
7011
- attr_accessor :image_quality_annotation
7012
-
7013
7008
  # If present, label detection has completed successfully.
7014
7009
  # Corresponds to the JSON property `labelAnnotations`
7015
7010
  # @return [Array<Google::Apis::VisionV1::GoogleCloudVisionV1p4beta1EntityAnnotation>]
@@ -7036,11 +7031,6 @@ module Google
7036
7031
  # @return [Google::Apis::VisionV1::GoogleCloudVisionV1p4beta1ProductSearchResults]
7037
7032
  attr_accessor :product_search_results
7038
7033
 
7039
- # Stores enhanced image bytes.
7040
- # Corresponds to the JSON property `qualityOptimizationResult`
7041
- # @return [Google::Apis::VisionV1::GoogleCloudVisionV1p4beta1QualityOptimizationResult]
7042
- attr_accessor :quality_optimization_result
7043
-
7044
7034
  # Set of features pertaining to the image, computed by computer vision
7045
7035
  # methods over safe-search verticals (for example, adult, spoof, medical,
7046
7036
  # violence).
@@ -7070,13 +7060,11 @@ module Google
7070
7060
  @face_annotations = args[:face_annotations] if args.key?(:face_annotations)
7071
7061
  @full_text_annotation = args[:full_text_annotation] if args.key?(:full_text_annotation)
7072
7062
  @image_properties_annotation = args[:image_properties_annotation] if args.key?(:image_properties_annotation)
7073
- @image_quality_annotation = args[:image_quality_annotation] if args.key?(:image_quality_annotation)
7074
7063
  @label_annotations = args[:label_annotations] if args.key?(:label_annotations)
7075
7064
  @landmark_annotations = args[:landmark_annotations] if args.key?(:landmark_annotations)
7076
7065
  @localized_object_annotations = args[:localized_object_annotations] if args.key?(:localized_object_annotations)
7077
7066
  @logo_annotations = args[:logo_annotations] if args.key?(:logo_annotations)
7078
7067
  @product_search_results = args[:product_search_results] if args.key?(:product_search_results)
7079
- @quality_optimization_result = args[:quality_optimization_result] if args.key?(:quality_optimization_result)
7080
7068
  @safe_search_annotation = args[:safe_search_annotation] if args.key?(:safe_search_annotation)
7081
7069
  @text_annotations = args[:text_annotations] if args.key?(:text_annotations)
7082
7070
  @web_detection = args[:web_detection] if args.key?(:web_detection)
@@ -7788,28 +7776,6 @@ module Google
7788
7776
  end
7789
7777
  end
7790
7778
 
7791
- # Stores image quality scores, could be aesthetic quality or technical quality.
7792
- class GoogleCloudVisionV1p4beta1ImageQuality
7793
- include Google::Apis::Core::Hashable
7794
-
7795
- # A score representing the aesthetic/technical quality of the image. The
7796
- # score is in range [0, 1]. Higher value corresponds to more professional
7797
- # looking photos. 0 means the image looks very bad, 1 means the image with
7798
- # very high quality.
7799
- # Corresponds to the JSON property `qualityScore`
7800
- # @return [Float]
7801
- attr_accessor :quality_score
7802
-
7803
- def initialize(**args)
7804
- update!(**args)
7805
- end
7806
-
7807
- # Update properties of this object
7808
- def update!(**args)
7809
- @quality_score = args[:quality_score] if args.key?(:quality_score)
7810
- end
7811
- end
7812
-
7813
7779
  # Response message for the `ImportProductSets` method.
7814
7780
  # This message is returned by the
7815
7781
  # google.longrunning.Operations.GetOperation method in the returned
@@ -8412,38 +8378,6 @@ module Google
8412
8378
  end
8413
8379
  end
8414
8380
 
8415
- # Stores enhanced image bytes.
8416
- class GoogleCloudVisionV1p4beta1QualityOptimizationResult
8417
- include Google::Apis::Core::Hashable
8418
-
8419
- # Optimized image bytes.
8420
- # Corresponds to the JSON property `image`
8421
- # NOTE: Values are automatically base64 encoded/decoded in the client library.
8422
- # @return [String]
8423
- attr_accessor :image
8424
-
8425
- # Mime type of the output image.
8426
- # Corresponds to the JSON property `mimeType`
8427
- # @return [String]
8428
- attr_accessor :mime_type
8429
-
8430
- # Required optimization type.
8431
- # Corresponds to the JSON property `qualityOptimizationType`
8432
- # @return [String]
8433
- attr_accessor :quality_optimization_type
8434
-
8435
- def initialize(**args)
8436
- update!(**args)
8437
- end
8438
-
8439
- # Update properties of this object
8440
- def update!(**args)
8441
- @image = args[:image] if args.key?(:image)
8442
- @mime_type = args[:mime_type] if args.key?(:mime_type)
8443
- @quality_optimization_type = args[:quality_optimization_type] if args.key?(:quality_optimization_type)
8444
- end
8445
- end
8446
-
8447
8381
  # A `ReferenceImage` represents a product image and its associated metadata,
8448
8382
  # such as bounding boxes.
8449
8383
  class GoogleCloudVisionV1p4beta1ReferenceImage
@@ -8501,29 +8435,11 @@ module Google
8501
8435
  # @return [String]
8502
8436
  attr_accessor :adult
8503
8437
 
8504
- # Confidence of adult_score. Range [0, 1]. 0 means not confident, 1 means
8505
- # very confident.
8506
- # Corresponds to the JSON property `adultConfidence`
8507
- # @return [Float]
8508
- attr_accessor :adult_confidence
8509
-
8510
8438
  # Likelihood that this is a medical image.
8511
8439
  # Corresponds to the JSON property `medical`
8512
8440
  # @return [String]
8513
8441
  attr_accessor :medical
8514
8442
 
8515
- # Confidence of medical_score. Range [0, 1]. 0 means not confident, 1 means
8516
- # very confident.
8517
- # Corresponds to the JSON property `medicalConfidence`
8518
- # @return [Float]
8519
- attr_accessor :medical_confidence
8520
-
8521
- # Confidence of nsfw_score. Range [0, 1]. 0 means not confident, 1 means very
8522
- # confident.
8523
- # Corresponds to the JSON property `nsfwConfidence`
8524
- # @return [Float]
8525
- attr_accessor :nsfw_confidence
8526
-
8527
8443
  # Likelihood that the request image contains racy content. Racy content may
8528
8444
  # include (but is not limited to) skimpy or sheer clothing, strategically
8529
8445
  # covered nudity, lewd or provocative poses, or close-ups of sensitive
@@ -8532,12 +8448,6 @@ module Google
8532
8448
  # @return [String]
8533
8449
  attr_accessor :racy
8534
8450
 
8535
- # Confidence of racy_score. Range [0, 1]. 0 means not confident, 1 means very
8536
- # confident.
8537
- # Corresponds to the JSON property `racyConfidence`
8538
- # @return [Float]
8539
- attr_accessor :racy_confidence
8540
-
8541
8451
  # Spoof likelihood. The likelihood that an modification
8542
8452
  # was made to the image's canonical version to make it appear
8543
8453
  # funny or offensive.
@@ -8545,23 +8455,11 @@ module Google
8545
8455
  # @return [String]
8546
8456
  attr_accessor :spoof
8547
8457
 
8548
- # Confidence of spoof_score. Range [0, 1]. 0 means not confident, 1 means
8549
- # very confident.
8550
- # Corresponds to the JSON property `spoofConfidence`
8551
- # @return [Float]
8552
- attr_accessor :spoof_confidence
8553
-
8554
8458
  # Likelihood that this image contains violent content.
8555
8459
  # Corresponds to the JSON property `violence`
8556
8460
  # @return [String]
8557
8461
  attr_accessor :violence
8558
8462
 
8559
- # Confidence of violence_score. Range [0, 1]. 0 means not confident, 1 means
8560
- # very confident.
8561
- # Corresponds to the JSON property `violenceConfidence`
8562
- # @return [Float]
8563
- attr_accessor :violence_confidence
8564
-
8565
8463
  def initialize(**args)
8566
8464
  update!(**args)
8567
8465
  end
@@ -8569,16 +8467,10 @@ module Google
8569
8467
  # Update properties of this object
8570
8468
  def update!(**args)
8571
8469
  @adult = args[:adult] if args.key?(:adult)
8572
- @adult_confidence = args[:adult_confidence] if args.key?(:adult_confidence)
8573
8470
  @medical = args[:medical] if args.key?(:medical)
8574
- @medical_confidence = args[:medical_confidence] if args.key?(:medical_confidence)
8575
- @nsfw_confidence = args[:nsfw_confidence] if args.key?(:nsfw_confidence)
8576
8471
  @racy = args[:racy] if args.key?(:racy)
8577
- @racy_confidence = args[:racy_confidence] if args.key?(:racy_confidence)
8578
8472
  @spoof = args[:spoof] if args.key?(:spoof)
8579
- @spoof_confidence = args[:spoof_confidence] if args.key?(:spoof_confidence)
8580
8473
  @violence = args[:violence] if args.key?(:violence)
8581
- @violence_confidence = args[:violence_confidence] if args.key?(:violence_confidence)
8582
8474
  end
8583
8475
  end
8584
8476
 
@@ -10057,12 +9949,12 @@ module Google
10057
9949
  attr_accessor :filter
10058
9950
 
10059
9951
  # The list of product categories to search in. Currently, we only consider
10060
- # the first category, and either "homegoods-v2", "apparel-v2", or "toys-v2"
10061
- # should be specified. The legacy categories "homegoods", "apparel", and
10062
- # "toys" are still supported but will be deprecated. For new products, please
10063
- # use "homegoods-v2", "apparel-v2", or "toys-v2" for better product search
10064
- # accuracy. It is recommended to migrate existing products to these
10065
- # categories as well.
9952
+ # the first category, and either "homegoods-v2", "apparel-v2", "toys-v2",
9953
+ # "packagedgoods-v1", or "general-v1" should be specified. The legacy
9954
+ # categories "homegoods", "apparel", and "toys" are still supported but will
9955
+ # be deprecated. For new products, please use "homegoods-v2", "apparel-v2",
9956
+ # or "toys-v2" for better product search accuracy. It is recommended to
9957
+ # migrate existing products to these categories as well.
10066
9958
  # Corresponds to the JSON property `productCategories`
10067
9959
  # @return [Array<String>]
10068
9960
  attr_accessor :product_categories
@@ -10373,29 +10265,11 @@ module Google
10373
10265
  # @return [String]
10374
10266
  attr_accessor :adult
10375
10267
 
10376
- # Confidence of adult_score. Range [0, 1]. 0 means not confident, 1 means
10377
- # very confident.
10378
- # Corresponds to the JSON property `adultConfidence`
10379
- # @return [Float]
10380
- attr_accessor :adult_confidence
10381
-
10382
10268
  # Likelihood that this is a medical image.
10383
10269
  # Corresponds to the JSON property `medical`
10384
10270
  # @return [String]
10385
10271
  attr_accessor :medical
10386
10272
 
10387
- # Confidence of medical_score. Range [0, 1]. 0 means not confident, 1 means
10388
- # very confident.
10389
- # Corresponds to the JSON property `medicalConfidence`
10390
- # @return [Float]
10391
- attr_accessor :medical_confidence
10392
-
10393
- # Confidence of nsfw_score. Range [0, 1]. 0 means not confident, 1 means very
10394
- # confident.
10395
- # Corresponds to the JSON property `nsfwConfidence`
10396
- # @return [Float]
10397
- attr_accessor :nsfw_confidence
10398
-
10399
10273
  # Likelihood that the request image contains racy content. Racy content may
10400
10274
  # include (but is not limited to) skimpy or sheer clothing, strategically
10401
10275
  # covered nudity, lewd or provocative poses, or close-ups of sensitive
@@ -10404,12 +10278,6 @@ module Google
10404
10278
  # @return [String]
10405
10279
  attr_accessor :racy
10406
10280
 
10407
- # Confidence of racy_score. Range [0, 1]. 0 means not confident, 1 means very
10408
- # confident.
10409
- # Corresponds to the JSON property `racyConfidence`
10410
- # @return [Float]
10411
- attr_accessor :racy_confidence
10412
-
10413
10281
  # Spoof likelihood. The likelihood that an modification
10414
10282
  # was made to the image's canonical version to make it appear
10415
10283
  # funny or offensive.
@@ -10417,23 +10285,11 @@ module Google
10417
10285
  # @return [String]
10418
10286
  attr_accessor :spoof
10419
10287
 
10420
- # Confidence of spoof_score. Range [0, 1]. 0 means not confident, 1 means
10421
- # very confident.
10422
- # Corresponds to the JSON property `spoofConfidence`
10423
- # @return [Float]
10424
- attr_accessor :spoof_confidence
10425
-
10426
10288
  # Likelihood that this image contains violent content.
10427
10289
  # Corresponds to the JSON property `violence`
10428
10290
  # @return [String]
10429
10291
  attr_accessor :violence
10430
10292
 
10431
- # Confidence of violence_score. Range [0, 1]. 0 means not confident, 1 means
10432
- # very confident.
10433
- # Corresponds to the JSON property `violenceConfidence`
10434
- # @return [Float]
10435
- attr_accessor :violence_confidence
10436
-
10437
10293
  def initialize(**args)
10438
10294
  update!(**args)
10439
10295
  end
@@ -10441,16 +10297,10 @@ module Google
10441
10297
  # Update properties of this object
10442
10298
  def update!(**args)
10443
10299
  @adult = args[:adult] if args.key?(:adult)
10444
- @adult_confidence = args[:adult_confidence] if args.key?(:adult_confidence)
10445
10300
  @medical = args[:medical] if args.key?(:medical)
10446
- @medical_confidence = args[:medical_confidence] if args.key?(:medical_confidence)
10447
- @nsfw_confidence = args[:nsfw_confidence] if args.key?(:nsfw_confidence)
10448
10301
  @racy = args[:racy] if args.key?(:racy)
10449
- @racy_confidence = args[:racy_confidence] if args.key?(:racy_confidence)
10450
10302
  @spoof = args[:spoof] if args.key?(:spoof)
10451
- @spoof_confidence = args[:spoof_confidence] if args.key?(:spoof_confidence)
10452
10303
  @violence = args[:violence] if args.key?(:violence)
10453
- @violence_confidence = args[:violence_confidence] if args.key?(:violence_confidence)
10454
10304
  end
10455
10305
  end
10456
10306