google-api-client 0.24.3 → 0.25.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (262) hide show
  1. checksums.yaml +4 -4
  2. data/.travis.yml +0 -2
  3. data/CHANGELOG.md +99 -0
  4. data/Gemfile +1 -0
  5. data/generated/google/apis/abusiveexperiencereport_v1.rb +2 -2
  6. data/generated/google/apis/abusiveexperiencereport_v1/classes.rb +0 -1
  7. data/generated/google/apis/abusiveexperiencereport_v1/service.rb +1 -1
  8. data/generated/google/apis/{content_v2sandbox.rb → accesscontextmanager_v1beta.rb} +11 -12
  9. data/generated/google/apis/accesscontextmanager_v1beta/classes.rb +697 -0
  10. data/generated/google/apis/accesscontextmanager_v1beta/representations.rb +240 -0
  11. data/generated/google/apis/accesscontextmanager_v1beta/service.rb +666 -0
  12. data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
  13. data/generated/google/apis/adexchangebuyer2_v2beta1/classes.rb +16 -0
  14. data/generated/google/apis/adexchangebuyer2_v2beta1/representations.rb +2 -0
  15. data/generated/google/apis/adexchangebuyer2_v2beta1/service.rb +2 -2
  16. data/generated/google/apis/adexperiencereport_v1.rb +2 -2
  17. data/generated/google/apis/adexperiencereport_v1/service.rb +1 -1
  18. data/generated/google/apis/alertcenter_v1beta1.rb +4 -3
  19. data/generated/google/apis/alertcenter_v1beta1/classes.rb +9 -2
  20. data/generated/google/apis/alertcenter_v1beta1/representations.rb +1 -0
  21. data/generated/google/apis/alertcenter_v1beta1/service.rb +3 -2
  22. data/generated/google/apis/androiddeviceprovisioning_v1.rb +1 -1
  23. data/generated/google/apis/androiddeviceprovisioning_v1/service.rb +3 -2
  24. data/generated/google/apis/androidenterprise_v1.rb +1 -1
  25. data/generated/google/apis/androidenterprise_v1/classes.rb +68 -6
  26. data/generated/google/apis/androidenterprise_v1/representations.rb +20 -0
  27. data/generated/google/apis/androidmanagement_v1.rb +1 -1
  28. data/generated/google/apis/androidmanagement_v1/classes.rb +92 -0
  29. data/generated/google/apis/androidmanagement_v1/representations.rb +36 -0
  30. data/generated/google/apis/androidpublisher_v1.rb +2 -2
  31. data/generated/google/apis/androidpublisher_v1/service.rb +1 -1
  32. data/generated/google/apis/androidpublisher_v1_1.rb +2 -2
  33. data/generated/google/apis/androidpublisher_v1_1/service.rb +1 -1
  34. data/generated/google/apis/androidpublisher_v2.rb +2 -2
  35. data/generated/google/apis/androidpublisher_v2/service.rb +3 -2
  36. data/generated/google/apis/androidpublisher_v3.rb +2 -2
  37. data/generated/google/apis/androidpublisher_v3/service.rb +3 -2
  38. data/generated/google/apis/appengine_v1.rb +2 -3
  39. data/generated/google/apis/appengine_v1/service.rb +1 -2
  40. data/generated/google/apis/appengine_v1alpha.rb +2 -3
  41. data/generated/google/apis/appengine_v1alpha/service.rb +1 -2
  42. data/generated/google/apis/appengine_v1beta.rb +2 -3
  43. data/generated/google/apis/appengine_v1beta/service.rb +1 -2
  44. data/generated/google/apis/appengine_v1beta4.rb +2 -3
  45. data/generated/google/apis/appengine_v1beta4/service.rb +1 -2
  46. data/generated/google/apis/appengine_v1beta5.rb +2 -3
  47. data/generated/google/apis/appengine_v1beta5/service.rb +1 -2
  48. data/generated/google/apis/bigquery_v2.rb +1 -1
  49. data/generated/google/apis/bigquery_v2/classes.rb +98 -7
  50. data/generated/google/apis/bigquery_v2/representations.rb +35 -0
  51. data/generated/google/apis/bigquerydatatransfer_v1.rb +1 -1
  52. data/generated/google/apis/civicinfo_v2.rb +1 -1
  53. data/generated/google/apis/civicinfo_v2/classes.rb +18 -0
  54. data/generated/google/apis/civicinfo_v2/representations.rb +2 -0
  55. data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
  56. data/generated/google/apis/cloudasset_v1beta1/classes.rb +5 -5
  57. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  58. data/generated/google/apis/cloudbuild_v1/classes.rb +10 -1
  59. data/generated/google/apis/cloudbuild_v1/representations.rb +1 -0
  60. data/generated/google/apis/cloudfunctions_v1.rb +1 -1
  61. data/generated/google/apis/cloudfunctions_v1/classes.rb +418 -0
  62. data/generated/google/apis/cloudfunctions_v1/representations.rb +121 -0
  63. data/generated/google/apis/cloudfunctions_v1/service.rb +107 -0
  64. data/generated/google/apis/cloudfunctions_v1beta2.rb +1 -1
  65. data/generated/google/apis/cloudfunctions_v1beta2/classes.rb +16 -0
  66. data/generated/google/apis/cloudfunctions_v1beta2/representations.rb +1 -0
  67. data/generated/google/apis/cloudkms_v1.rb +1 -1
  68. data/generated/google/apis/cloudresourcemanager_v1.rb +3 -3
  69. data/generated/google/apis/cloudresourcemanager_v1/classes.rb +2 -1
  70. data/generated/google/apis/cloudresourcemanager_v1/service.rb +2 -2
  71. data/generated/google/apis/cloudresourcemanager_v1beta1.rb +3 -3
  72. data/generated/google/apis/cloudresourcemanager_v1beta1/classes.rb +2 -1
  73. data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +2 -2
  74. data/generated/google/apis/cloudresourcemanager_v2.rb +3 -3
  75. data/generated/google/apis/cloudresourcemanager_v2/service.rb +2 -2
  76. data/generated/google/apis/cloudresourcemanager_v2beta1.rb +3 -3
  77. data/generated/google/apis/cloudresourcemanager_v2beta1/service.rb +2 -2
  78. data/generated/google/apis/cloudsearch_v1.rb +59 -0
  79. data/generated/google/apis/cloudsearch_v1/classes.rb +4697 -0
  80. data/generated/google/apis/cloudsearch_v1/representations.rb +2151 -0
  81. data/generated/google/apis/cloudsearch_v1/service.rb +1351 -0
  82. data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
  83. data/generated/google/apis/cloudtasks_v2beta2/classes.rb +34 -0
  84. data/generated/google/apis/cloudtasks_v2beta3.rb +1 -1
  85. data/generated/google/apis/cloudtasks_v2beta3/classes.rb +34 -30
  86. data/generated/google/apis/composer_v1beta1.rb +1 -1
  87. data/generated/google/apis/composer_v1beta1/classes.rb +5 -8
  88. data/generated/google/apis/compute_alpha.rb +1 -1
  89. data/generated/google/apis/compute_beta.rb +1 -1
  90. data/generated/google/apis/compute_v1.rb +1 -1
  91. data/generated/google/apis/content_v2.rb +1 -1
  92. data/generated/google/apis/content_v2/classes.rb +197 -69
  93. data/generated/google/apis/content_v2/representations.rb +64 -33
  94. data/generated/google/apis/content_v2/service.rb +1 -1
  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 +17 -0
  98. data/generated/google/apis/dataproc_v1.rb +1 -1
  99. data/generated/google/apis/dataproc_v1/classes.rb +19 -19
  100. data/generated/google/apis/dataproc_v1beta2.rb +1 -1
  101. data/generated/google/apis/dataproc_v1beta2/classes.rb +19 -19
  102. data/generated/google/apis/dialogflow_v2.rb +6 -3
  103. data/generated/google/apis/dialogflow_v2/classes.rb +112 -8
  104. data/generated/google/apis/dialogflow_v2/representations.rb +30 -0
  105. data/generated/google/apis/dialogflow_v2/service.rb +7 -2
  106. data/generated/google/apis/dialogflow_v2beta1.rb +6 -3
  107. data/generated/google/apis/dialogflow_v2beta1/classes.rb +116 -8
  108. data/generated/google/apis/dialogflow_v2beta1/representations.rb +30 -0
  109. data/generated/google/apis/dialogflow_v2beta1/service.rb +19 -8
  110. data/generated/google/apis/digitalassetlinks_v1.rb +2 -3
  111. data/generated/google/apis/digitalassetlinks_v1/service.rb +1 -2
  112. data/generated/google/apis/dlp_v2.rb +1 -1
  113. data/generated/google/apis/dlp_v2/classes.rb +17 -5
  114. data/generated/google/apis/dlp_v2/representations.rb +2 -0
  115. data/generated/google/apis/dns_v1beta2.rb +1 -1
  116. data/generated/google/apis/dns_v1beta2/classes.rb +81 -0
  117. data/generated/google/apis/dns_v1beta2/representations.rb +34 -0
  118. data/generated/google/apis/doubleclicksearch_v2.rb +1 -1
  119. data/generated/google/apis/doubleclicksearch_v2/classes.rb +1 -1
  120. data/generated/google/apis/drive_v2.rb +1 -1
  121. data/generated/google/apis/drive_v2/classes.rb +3 -1
  122. data/generated/google/apis/firebaserules_v1.rb +1 -1
  123. data/generated/google/apis/firestore_v1.rb +1 -1
  124. data/generated/google/apis/firestore_v1/classes.rb +637 -0
  125. data/generated/google/apis/firestore_v1/representations.rb +260 -0
  126. data/generated/google/apis/firestore_v1/service.rb +377 -0
  127. data/generated/google/apis/firestore_v1beta2.rb +1 -1
  128. data/generated/google/apis/firestore_v1beta2/classes.rb +205 -0
  129. data/generated/google/apis/firestore_v1beta2/representations.rb +83 -0
  130. data/generated/google/apis/firestore_v1beta2/service.rb +79 -0
  131. data/generated/google/apis/genomics_v1.rb +2 -2
  132. data/generated/google/apis/genomics_v1/service.rb +1 -1
  133. data/generated/google/apis/genomics_v1alpha2.rb +2 -2
  134. data/generated/google/apis/genomics_v1alpha2/service.rb +1 -1
  135. data/generated/google/apis/genomics_v2alpha1.rb +2 -2
  136. data/generated/google/apis/genomics_v2alpha1/service.rb +1 -1
  137. data/generated/google/apis/iam_v1.rb +1 -1
  138. data/generated/google/apis/iam_v1/classes.rb +4 -3
  139. data/generated/google/apis/iamcredentials_v1.rb +2 -2
  140. data/generated/google/apis/iamcredentials_v1/service.rb +1 -1
  141. data/generated/google/apis/indexing_v3.rb +2 -3
  142. data/generated/google/apis/indexing_v3/service.rb +1 -2
  143. data/generated/google/apis/jobs_v2.rb +1 -1
  144. data/generated/google/apis/jobs_v2/classes.rb +2 -2
  145. data/generated/google/apis/jobs_v3.rb +1 -1
  146. data/generated/google/apis/jobs_v3/classes.rb +3 -3
  147. data/generated/google/apis/jobs_v3/service.rb +20 -2
  148. data/generated/google/apis/jobs_v3p1beta1.rb +1 -1
  149. data/generated/google/apis/jobs_v3p1beta1/classes.rb +3 -3
  150. data/generated/google/apis/jobs_v3p1beta1/service.rb +20 -2
  151. data/generated/google/apis/language_v1.rb +4 -4
  152. data/generated/google/apis/language_v1/service.rb +3 -3
  153. data/generated/google/apis/language_v1beta1.rb +4 -4
  154. data/generated/google/apis/language_v1beta1/service.rb +3 -3
  155. data/generated/google/apis/language_v1beta2.rb +4 -4
  156. data/generated/google/apis/language_v1beta2/service.rb +3 -3
  157. data/generated/google/apis/logging_v2.rb +1 -1
  158. data/generated/google/apis/logging_v2/classes.rb +2 -13
  159. data/generated/google/apis/logging_v2/representations.rb +0 -2
  160. data/generated/google/apis/logging_v2beta1.rb +1 -1
  161. data/generated/google/apis/logging_v2beta1/classes.rb +2 -41
  162. data/generated/google/apis/logging_v2beta1/representations.rb +0 -16
  163. data/generated/google/apis/logging_v2beta1/service.rb +0 -255
  164. data/generated/google/apis/monitoring_v3.rb +1 -1
  165. data/generated/google/apis/monitoring_v3/classes.rb +25 -15
  166. data/generated/google/apis/monitoring_v3/representations.rb +1 -0
  167. data/generated/google/apis/monitoring_v3/service.rb +366 -1
  168. data/generated/google/apis/oslogin_v1.rb +1 -1
  169. data/generated/google/apis/oslogin_v1/service.rb +7 -1
  170. data/generated/google/apis/oslogin_v1alpha.rb +1 -1
  171. data/generated/google/apis/oslogin_v1alpha/service.rb +10 -1
  172. data/generated/google/apis/oslogin_v1beta.rb +1 -1
  173. data/generated/google/apis/oslogin_v1beta/service.rb +7 -1
  174. data/generated/google/apis/redis_v1.rb +1 -1
  175. data/generated/google/apis/redis_v1/classes.rb +6 -0
  176. data/generated/google/apis/redis_v1/representations.rb +1 -0
  177. data/generated/google/apis/redis_v1beta1.rb +1 -1
  178. data/generated/google/apis/redis_v1beta1/classes.rb +6 -0
  179. data/generated/google/apis/redis_v1beta1/representations.rb +1 -0
  180. data/generated/google/apis/runtimeconfig_v1beta1.rb +1 -1
  181. data/generated/google/apis/runtimeconfig_v1beta1/classes.rb +7 -6
  182. data/generated/google/apis/script_v1.rb +2 -2
  183. data/generated/google/apis/script_v1/service.rb +7 -3
  184. data/generated/google/apis/serviceconsumermanagement_v1.rb +2 -3
  185. data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +7 -0
  186. data/generated/google/apis/serviceconsumermanagement_v1/representations.rb +1 -0
  187. data/generated/google/apis/serviceconsumermanagement_v1/service.rb +1 -2
  188. data/generated/google/apis/servicecontrol_v1.rb +3 -3
  189. data/generated/google/apis/servicecontrol_v1/classes.rb +18 -230
  190. data/generated/google/apis/servicecontrol_v1/representations.rb +2 -99
  191. data/generated/google/apis/servicecontrol_v1/service.rb +2 -140
  192. data/generated/google/apis/servicemanagement_v1.rb +1 -1
  193. data/generated/google/apis/servicemanagement_v1/classes.rb +1 -1
  194. data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
  195. data/generated/google/apis/servicenetworking_v1beta/classes.rb +24 -0
  196. data/generated/google/apis/servicenetworking_v1beta/representations.rb +3 -0
  197. data/generated/google/apis/serviceusage_v1.rb +1 -1
  198. data/generated/google/apis/serviceusage_v1/classes.rb +7 -0
  199. data/generated/google/apis/serviceusage_v1/representations.rb +1 -0
  200. data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
  201. data/generated/google/apis/serviceusage_v1beta1/classes.rb +7 -0
  202. data/generated/google/apis/serviceusage_v1beta1/representations.rb +1 -0
  203. data/generated/google/apis/slides_v1.rb +2 -2
  204. data/generated/google/apis/slides_v1/classes.rb +4 -3
  205. data/generated/google/apis/slides_v1/service.rb +1 -1
  206. data/generated/google/apis/storage_v1.rb +1 -1
  207. data/generated/google/apis/storage_v1/service.rb +2 -3
  208. data/generated/google/apis/testing_v1.rb +1 -1
  209. data/generated/google/apis/testing_v1/classes.rb +9 -0
  210. data/generated/google/apis/testing_v1/representations.rb +1 -0
  211. data/generated/google/apis/toolresults_v1beta3.rb +1 -1
  212. data/generated/google/apis/toolresults_v1beta3/service.rb +1 -1
  213. data/generated/google/apis/tpu_v1.rb +1 -1
  214. data/generated/google/apis/tpu_v1/classes.rb +6 -0
  215. data/generated/google/apis/tpu_v1/representations.rb +1 -0
  216. data/generated/google/apis/tpu_v1alpha1.rb +1 -1
  217. data/generated/google/apis/tpu_v1alpha1/classes.rb +6 -0
  218. data/generated/google/apis/tpu_v1alpha1/representations.rb +1 -0
  219. data/generated/google/apis/vault_v1.rb +1 -1
  220. data/generated/google/apis/vault_v1/classes.rb +7 -0
  221. data/generated/google/apis/vault_v1/representations.rb +1 -0
  222. data/generated/google/apis/videointelligence_v1.rb +3 -2
  223. data/generated/google/apis/videointelligence_v1/classes.rb +547 -12
  224. data/generated/google/apis/videointelligence_v1/representations.rb +190 -2
  225. data/generated/google/apis/videointelligence_v1/service.rb +2 -1
  226. data/generated/google/apis/videointelligence_v1beta2.rb +3 -2
  227. data/generated/google/apis/videointelligence_v1beta2/classes.rb +547 -12
  228. data/generated/google/apis/videointelligence_v1beta2/representations.rb +190 -2
  229. data/generated/google/apis/videointelligence_v1beta2/service.rb +2 -1
  230. data/generated/google/apis/videointelligence_v1p1beta1.rb +3 -2
  231. data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +418 -13
  232. data/generated/google/apis/videointelligence_v1p1beta1/representations.rb +153 -2
  233. data/generated/google/apis/videointelligence_v1p1beta1/service.rb +2 -1
  234. data/generated/google/apis/vision_v1.rb +1 -1
  235. data/generated/google/apis/vision_v1/classes.rb +1139 -54
  236. data/generated/google/apis/vision_v1/representations.rb +478 -0
  237. data/generated/google/apis/vision_v1/service.rb +744 -0
  238. data/generated/google/apis/vision_v1p1beta1.rb +1 -1
  239. data/generated/google/apis/vision_v1p1beta1/classes.rb +761 -16
  240. data/generated/google/apis/vision_v1p1beta1/representations.rb +333 -0
  241. data/generated/google/apis/vision_v1p2beta1.rb +1 -1
  242. data/generated/google/apis/vision_v1p2beta1/classes.rb +758 -13
  243. data/generated/google/apis/vision_v1p2beta1/representations.rb +333 -0
  244. data/generated/google/apis/websecurityscanner_v1alpha.rb +2 -2
  245. data/generated/google/apis/websecurityscanner_v1alpha/service.rb +1 -1
  246. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  247. data/generated/google/apis/youtube_v3.rb +1 -1
  248. data/lib/google/apis/core/http_command.rb +83 -10
  249. data/lib/google/apis/options.rb +5 -1
  250. data/lib/google/apis/version.rb +1 -1
  251. metadata +10 -14
  252. data/generated/google/apis/content_v2sandbox/classes.rb +0 -4436
  253. data/generated/google/apis/content_v2sandbox/representations.rb +0 -1956
  254. data/generated/google/apis/content_v2sandbox/service.rb +0 -1296
  255. data/generated/google/apis/dfareporting_v2_8.rb +0 -40
  256. data/generated/google/apis/dfareporting_v2_8/classes.rb +0 -12043
  257. data/generated/google/apis/dfareporting_v2_8/representations.rb +0 -4311
  258. data/generated/google/apis/dfareporting_v2_8/service.rb +0 -8727
  259. data/generated/google/apis/serviceuser_v1.rb +0 -42
  260. data/generated/google/apis/serviceuser_v1/classes.rb +0 -3472
  261. data/generated/google/apis/serviceuser_v1/representations.rb +0 -1030
  262. data/generated/google/apis/serviceuser_v1/service.rb +0 -215
@@ -22,6 +22,12 @@ module Google
22
22
  module Apis
23
23
  module VisionV1
24
24
 
25
+ class AddProductToProductSetRequest
26
+ class Representation < Google::Apis::Core::JsonRepresentation; end
27
+
28
+ include Google::Apis::Core::JsonObjectSupport
29
+ end
30
+
25
31
  class AnnotateFileResponse
26
32
  class Representation < Google::Apis::Core::JsonRepresentation; end
27
33
 
@@ -76,6 +82,12 @@ module Google
76
82
  include Google::Apis::Core::JsonObjectSupport
77
83
  end
78
84
 
85
+ class BatchOperationMetadata
86
+ class Representation < Google::Apis::Core::JsonRepresentation; end
87
+
88
+ include Google::Apis::Core::JsonObjectSupport
89
+ end
90
+
79
91
  class Block
80
92
  class Representation < Google::Apis::Core::JsonRepresentation; end
81
93
 
@@ -328,6 +340,36 @@ module Google
328
340
  include Google::Apis::Core::JsonObjectSupport
329
341
  end
330
342
 
343
+ class GoogleCloudVisionV1p1beta1Product
344
+ class Representation < Google::Apis::Core::JsonRepresentation; end
345
+
346
+ include Google::Apis::Core::JsonObjectSupport
347
+ end
348
+
349
+ class GoogleCloudVisionV1p1beta1ProductKeyValue
350
+ class Representation < Google::Apis::Core::JsonRepresentation; end
351
+
352
+ include Google::Apis::Core::JsonObjectSupport
353
+ end
354
+
355
+ class GoogleCloudVisionV1p1beta1ProductSearchResults
356
+ class Representation < Google::Apis::Core::JsonRepresentation; end
357
+
358
+ include Google::Apis::Core::JsonObjectSupport
359
+ end
360
+
361
+ class GoogleCloudVisionV1p1beta1ProductSearchResultsGroupedResult
362
+ class Representation < Google::Apis::Core::JsonRepresentation; end
363
+
364
+ include Google::Apis::Core::JsonObjectSupport
365
+ end
366
+
367
+ class GoogleCloudVisionV1p1beta1ProductSearchResultsResult
368
+ class Representation < Google::Apis::Core::JsonRepresentation; end
369
+
370
+ include Google::Apis::Core::JsonObjectSupport
371
+ end
372
+
331
373
  class GoogleCloudVisionV1p1beta1Property
332
374
  class Representation < Google::Apis::Core::JsonRepresentation; end
333
375
 
@@ -568,6 +610,36 @@ module Google
568
610
  include Google::Apis::Core::JsonObjectSupport
569
611
  end
570
612
 
613
+ class GoogleCloudVisionV1p2beta1Product
614
+ class Representation < Google::Apis::Core::JsonRepresentation; end
615
+
616
+ include Google::Apis::Core::JsonObjectSupport
617
+ end
618
+
619
+ class GoogleCloudVisionV1p2beta1ProductKeyValue
620
+ class Representation < Google::Apis::Core::JsonRepresentation; end
621
+
622
+ include Google::Apis::Core::JsonObjectSupport
623
+ end
624
+
625
+ class GoogleCloudVisionV1p2beta1ProductSearchResults
626
+ class Representation < Google::Apis::Core::JsonRepresentation; end
627
+
628
+ include Google::Apis::Core::JsonObjectSupport
629
+ end
630
+
631
+ class GoogleCloudVisionV1p2beta1ProductSearchResultsGroupedResult
632
+ class Representation < Google::Apis::Core::JsonRepresentation; end
633
+
634
+ include Google::Apis::Core::JsonObjectSupport
635
+ end
636
+
637
+ class GoogleCloudVisionV1p2beta1ProductSearchResultsResult
638
+ class Representation < Google::Apis::Core::JsonRepresentation; end
639
+
640
+ include Google::Apis::Core::JsonObjectSupport
641
+ end
642
+
571
643
  class GoogleCloudVisionV1p2beta1Property
572
644
  class Representation < Google::Apis::Core::JsonRepresentation; end
573
645
 
@@ -838,6 +910,12 @@ module Google
838
910
  include Google::Apis::Core::JsonObjectSupport
839
911
  end
840
912
 
913
+ class GoogleCloudVisionV1p3beta1ProductSearchResultsGroupedResult
914
+ class Representation < Google::Apis::Core::JsonRepresentation; end
915
+
916
+ include Google::Apis::Core::JsonObjectSupport
917
+ end
918
+
841
919
  class GoogleCloudVisionV1p3beta1ProductSearchResultsResult
842
920
  class Representation < Google::Apis::Core::JsonRepresentation; end
843
921
 
@@ -934,6 +1012,12 @@ module Google
934
1012
  include Google::Apis::Core::JsonObjectSupport
935
1013
  end
936
1014
 
1015
+ class GroupedResult
1016
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1017
+
1018
+ include Google::Apis::Core::JsonObjectSupport
1019
+ end
1020
+
937
1021
  class Image
938
1022
  class Representation < Google::Apis::Core::JsonRepresentation; end
939
1023
 
@@ -964,12 +1048,42 @@ module Google
964
1048
  include Google::Apis::Core::JsonObjectSupport
965
1049
  end
966
1050
 
1051
+ class ImportProductSetsGcsSource
1052
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1053
+
1054
+ include Google::Apis::Core::JsonObjectSupport
1055
+ end
1056
+
1057
+ class ImportProductSetsInputConfig
1058
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1059
+
1060
+ include Google::Apis::Core::JsonObjectSupport
1061
+ end
1062
+
1063
+ class ImportProductSetsRequest
1064
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1065
+
1066
+ include Google::Apis::Core::JsonObjectSupport
1067
+ end
1068
+
1069
+ class ImportProductSetsResponse
1070
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1071
+
1072
+ include Google::Apis::Core::JsonObjectSupport
1073
+ end
1074
+
967
1075
  class InputConfig
968
1076
  class Representation < Google::Apis::Core::JsonRepresentation; end
969
1077
 
970
1078
  include Google::Apis::Core::JsonObjectSupport
971
1079
  end
972
1080
 
1081
+ class KeyValue
1082
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1083
+
1084
+ include Google::Apis::Core::JsonObjectSupport
1085
+ end
1086
+
973
1087
  class Landmark
974
1088
  class Representation < Google::Apis::Core::JsonRepresentation; end
975
1089
 
@@ -994,6 +1108,30 @@ module Google
994
1108
  include Google::Apis::Core::JsonObjectSupport
995
1109
  end
996
1110
 
1111
+ class ListProductSetsResponse
1112
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1113
+
1114
+ include Google::Apis::Core::JsonObjectSupport
1115
+ end
1116
+
1117
+ class ListProductsInProductSetResponse
1118
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1119
+
1120
+ include Google::Apis::Core::JsonObjectSupport
1121
+ end
1122
+
1123
+ class ListProductsResponse
1124
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1125
+
1126
+ include Google::Apis::Core::JsonObjectSupport
1127
+ end
1128
+
1129
+ class ListReferenceImagesResponse
1130
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1131
+
1132
+ include Google::Apis::Core::JsonObjectSupport
1133
+ end
1134
+
997
1135
  class LocalizedObjectAnnotation
998
1136
  class Representation < Google::Apis::Core::JsonRepresentation; end
999
1137
 
@@ -1048,12 +1186,54 @@ module Google
1048
1186
  include Google::Apis::Core::JsonObjectSupport
1049
1187
  end
1050
1188
 
1189
+ class Product
1190
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1191
+
1192
+ include Google::Apis::Core::JsonObjectSupport
1193
+ end
1194
+
1195
+ class ProductSearchParams
1196
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1197
+
1198
+ include Google::Apis::Core::JsonObjectSupport
1199
+ end
1200
+
1201
+ class ProductSearchResults
1202
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1203
+
1204
+ include Google::Apis::Core::JsonObjectSupport
1205
+ end
1206
+
1207
+ class ProductSet
1208
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1209
+
1210
+ include Google::Apis::Core::JsonObjectSupport
1211
+ end
1212
+
1051
1213
  class Property
1052
1214
  class Representation < Google::Apis::Core::JsonRepresentation; end
1053
1215
 
1054
1216
  include Google::Apis::Core::JsonObjectSupport
1055
1217
  end
1056
1218
 
1219
+ class ReferenceImage
1220
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1221
+
1222
+ include Google::Apis::Core::JsonObjectSupport
1223
+ end
1224
+
1225
+ class RemoveProductFromProductSetRequest
1226
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1227
+
1228
+ include Google::Apis::Core::JsonObjectSupport
1229
+ end
1230
+
1231
+ class Result
1232
+ class Representation < Google::Apis::Core::JsonRepresentation; end
1233
+
1234
+ include Google::Apis::Core::JsonObjectSupport
1235
+ end
1236
+
1057
1237
  class SafeSearchAnnotation
1058
1238
  class Representation < Google::Apis::Core::JsonRepresentation; end
1059
1239
 
@@ -1132,6 +1312,13 @@ module Google
1132
1312
  include Google::Apis::Core::JsonObjectSupport
1133
1313
  end
1134
1314
 
1315
+ class AddProductToProductSetRequest
1316
+ # @private
1317
+ class Representation < Google::Apis::Core::JsonRepresentation
1318
+ property :product, as: 'product'
1319
+ end
1320
+ end
1321
+
1135
1322
  class AnnotateFileResponse
1136
1323
  # @private
1137
1324
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1177,6 +1364,8 @@ module Google
1177
1364
 
1178
1365
  collection :logo_annotations, as: 'logoAnnotations', class: Google::Apis::VisionV1::EntityAnnotation, decorator: Google::Apis::VisionV1::EntityAnnotation::Representation
1179
1366
 
1367
+ property :product_search_results, as: 'productSearchResults', class: Google::Apis::VisionV1::ProductSearchResults, decorator: Google::Apis::VisionV1::ProductSearchResults::Representation
1368
+
1180
1369
  property :safe_search_annotation, as: 'safeSearchAnnotation', class: Google::Apis::VisionV1::SafeSearchAnnotation, decorator: Google::Apis::VisionV1::SafeSearchAnnotation::Representation
1181
1370
 
1182
1371
  collection :text_annotations, as: 'textAnnotations', class: Google::Apis::VisionV1::EntityAnnotation, decorator: Google::Apis::VisionV1::EntityAnnotation::Representation
@@ -1240,6 +1429,15 @@ module Google
1240
1429
  end
1241
1430
  end
1242
1431
 
1432
+ class BatchOperationMetadata
1433
+ # @private
1434
+ class Representation < Google::Apis::Core::JsonRepresentation
1435
+ property :end_time, as: 'endTime'
1436
+ property :state, as: 'state'
1437
+ property :submit_time, as: 'submitTime'
1438
+ end
1439
+ end
1440
+
1243
1441
  class Block
1244
1442
  # @private
1245
1443
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1443,6 +1641,8 @@ module Google
1443
1641
 
1444
1642
  collection :logo_annotations, as: 'logoAnnotations', class: Google::Apis::VisionV1::GoogleCloudVisionV1p1beta1EntityAnnotation, decorator: Google::Apis::VisionV1::GoogleCloudVisionV1p1beta1EntityAnnotation::Representation
1445
1643
 
1644
+ property :product_search_results, as: 'productSearchResults', class: Google::Apis::VisionV1::GoogleCloudVisionV1p1beta1ProductSearchResults, decorator: Google::Apis::VisionV1::GoogleCloudVisionV1p1beta1ProductSearchResults::Representation
1645
+
1446
1646
  property :safe_search_annotation, as: 'safeSearchAnnotation', class: Google::Apis::VisionV1::GoogleCloudVisionV1p1beta1SafeSearchAnnotation, decorator: Google::Apis::VisionV1::GoogleCloudVisionV1p1beta1SafeSearchAnnotation::Representation
1447
1647
 
1448
1648
  collection :text_annotations, as: 'textAnnotations', class: Google::Apis::VisionV1::GoogleCloudVisionV1p1beta1EntityAnnotation, decorator: Google::Apis::VisionV1::GoogleCloudVisionV1p1beta1EntityAnnotation::Representation
@@ -1689,6 +1889,57 @@ module Google
1689
1889
  end
1690
1890
  end
1691
1891
 
1892
+ class GoogleCloudVisionV1p1beta1Product
1893
+ # @private
1894
+ class Representation < Google::Apis::Core::JsonRepresentation
1895
+ property :description, as: 'description'
1896
+ property :display_name, as: 'displayName'
1897
+ property :name, as: 'name'
1898
+ property :product_category, as: 'productCategory'
1899
+ collection :product_labels, as: 'productLabels', class: Google::Apis::VisionV1::GoogleCloudVisionV1p1beta1ProductKeyValue, decorator: Google::Apis::VisionV1::GoogleCloudVisionV1p1beta1ProductKeyValue::Representation
1900
+
1901
+ end
1902
+ end
1903
+
1904
+ class GoogleCloudVisionV1p1beta1ProductKeyValue
1905
+ # @private
1906
+ class Representation < Google::Apis::Core::JsonRepresentation
1907
+ property :key, as: 'key'
1908
+ property :value, as: 'value'
1909
+ end
1910
+ end
1911
+
1912
+ class GoogleCloudVisionV1p1beta1ProductSearchResults
1913
+ # @private
1914
+ class Representation < Google::Apis::Core::JsonRepresentation
1915
+ property :index_time, as: 'indexTime'
1916
+ collection :product_grouped_results, as: 'productGroupedResults', class: Google::Apis::VisionV1::GoogleCloudVisionV1p1beta1ProductSearchResultsGroupedResult, decorator: Google::Apis::VisionV1::GoogleCloudVisionV1p1beta1ProductSearchResultsGroupedResult::Representation
1917
+
1918
+ collection :results, as: 'results', class: Google::Apis::VisionV1::GoogleCloudVisionV1p1beta1ProductSearchResultsResult, decorator: Google::Apis::VisionV1::GoogleCloudVisionV1p1beta1ProductSearchResultsResult::Representation
1919
+
1920
+ end
1921
+ end
1922
+
1923
+ class GoogleCloudVisionV1p1beta1ProductSearchResultsGroupedResult
1924
+ # @private
1925
+ class Representation < Google::Apis::Core::JsonRepresentation
1926
+ property :bounding_poly, as: 'boundingPoly', class: Google::Apis::VisionV1::GoogleCloudVisionV1p1beta1BoundingPoly, decorator: Google::Apis::VisionV1::GoogleCloudVisionV1p1beta1BoundingPoly::Representation
1927
+
1928
+ collection :results, as: 'results', class: Google::Apis::VisionV1::GoogleCloudVisionV1p1beta1ProductSearchResultsResult, decorator: Google::Apis::VisionV1::GoogleCloudVisionV1p1beta1ProductSearchResultsResult::Representation
1929
+
1930
+ end
1931
+ end
1932
+
1933
+ class GoogleCloudVisionV1p1beta1ProductSearchResultsResult
1934
+ # @private
1935
+ class Representation < Google::Apis::Core::JsonRepresentation
1936
+ property :image, as: 'image'
1937
+ property :product, as: 'product', class: Google::Apis::VisionV1::GoogleCloudVisionV1p1beta1Product, decorator: Google::Apis::VisionV1::GoogleCloudVisionV1p1beta1Product::Representation
1938
+
1939
+ property :score, as: 'score'
1940
+ end
1941
+ end
1942
+
1692
1943
  class GoogleCloudVisionV1p1beta1Property
1693
1944
  # @private
1694
1945
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1866,6 +2117,8 @@ module Google
1866
2117
 
1867
2118
  collection :logo_annotations, as: 'logoAnnotations', class: Google::Apis::VisionV1::GoogleCloudVisionV1p2beta1EntityAnnotation, decorator: Google::Apis::VisionV1::GoogleCloudVisionV1p2beta1EntityAnnotation::Representation
1868
2119
 
2120
+ property :product_search_results, as: 'productSearchResults', class: Google::Apis::VisionV1::GoogleCloudVisionV1p2beta1ProductSearchResults, decorator: Google::Apis::VisionV1::GoogleCloudVisionV1p2beta1ProductSearchResults::Representation
2121
+
1869
2122
  property :safe_search_annotation, as: 'safeSearchAnnotation', class: Google::Apis::VisionV1::GoogleCloudVisionV1p2beta1SafeSearchAnnotation, decorator: Google::Apis::VisionV1::GoogleCloudVisionV1p2beta1SafeSearchAnnotation::Representation
1870
2123
 
1871
2124
  collection :text_annotations, as: 'textAnnotations', class: Google::Apis::VisionV1::GoogleCloudVisionV1p2beta1EntityAnnotation, decorator: Google::Apis::VisionV1::GoogleCloudVisionV1p2beta1EntityAnnotation::Representation
@@ -2122,6 +2375,57 @@ module Google
2122
2375
  end
2123
2376
  end
2124
2377
 
2378
+ class GoogleCloudVisionV1p2beta1Product
2379
+ # @private
2380
+ class Representation < Google::Apis::Core::JsonRepresentation
2381
+ property :description, as: 'description'
2382
+ property :display_name, as: 'displayName'
2383
+ property :name, as: 'name'
2384
+ property :product_category, as: 'productCategory'
2385
+ collection :product_labels, as: 'productLabels', class: Google::Apis::VisionV1::GoogleCloudVisionV1p2beta1ProductKeyValue, decorator: Google::Apis::VisionV1::GoogleCloudVisionV1p2beta1ProductKeyValue::Representation
2386
+
2387
+ end
2388
+ end
2389
+
2390
+ class GoogleCloudVisionV1p2beta1ProductKeyValue
2391
+ # @private
2392
+ class Representation < Google::Apis::Core::JsonRepresentation
2393
+ property :key, as: 'key'
2394
+ property :value, as: 'value'
2395
+ end
2396
+ end
2397
+
2398
+ class GoogleCloudVisionV1p2beta1ProductSearchResults
2399
+ # @private
2400
+ class Representation < Google::Apis::Core::JsonRepresentation
2401
+ property :index_time, as: 'indexTime'
2402
+ collection :product_grouped_results, as: 'productGroupedResults', class: Google::Apis::VisionV1::GoogleCloudVisionV1p2beta1ProductSearchResultsGroupedResult, decorator: Google::Apis::VisionV1::GoogleCloudVisionV1p2beta1ProductSearchResultsGroupedResult::Representation
2403
+
2404
+ collection :results, as: 'results', class: Google::Apis::VisionV1::GoogleCloudVisionV1p2beta1ProductSearchResultsResult, decorator: Google::Apis::VisionV1::GoogleCloudVisionV1p2beta1ProductSearchResultsResult::Representation
2405
+
2406
+ end
2407
+ end
2408
+
2409
+ class GoogleCloudVisionV1p2beta1ProductSearchResultsGroupedResult
2410
+ # @private
2411
+ class Representation < Google::Apis::Core::JsonRepresentation
2412
+ property :bounding_poly, as: 'boundingPoly', class: Google::Apis::VisionV1::GoogleCloudVisionV1p2beta1BoundingPoly, decorator: Google::Apis::VisionV1::GoogleCloudVisionV1p2beta1BoundingPoly::Representation
2413
+
2414
+ collection :results, as: 'results', class: Google::Apis::VisionV1::GoogleCloudVisionV1p2beta1ProductSearchResultsResult, decorator: Google::Apis::VisionV1::GoogleCloudVisionV1p2beta1ProductSearchResultsResult::Representation
2415
+
2416
+ end
2417
+ end
2418
+
2419
+ class GoogleCloudVisionV1p2beta1ProductSearchResultsResult
2420
+ # @private
2421
+ class Representation < Google::Apis::Core::JsonRepresentation
2422
+ property :image, as: 'image'
2423
+ property :product, as: 'product', class: Google::Apis::VisionV1::GoogleCloudVisionV1p2beta1Product, decorator: Google::Apis::VisionV1::GoogleCloudVisionV1p2beta1Product::Representation
2424
+
2425
+ property :score, as: 'score'
2426
+ end
2427
+ end
2428
+
2125
2429
  class GoogleCloudVisionV1p2beta1Property
2126
2430
  # @private
2127
2431
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2600,6 +2904,18 @@ module Google
2600
2904
  # @private
2601
2905
  class Representation < Google::Apis::Core::JsonRepresentation
2602
2906
  property :index_time, as: 'indexTime'
2907
+ collection :product_grouped_results, as: 'productGroupedResults', class: Google::Apis::VisionV1::GoogleCloudVisionV1p3beta1ProductSearchResultsGroupedResult, decorator: Google::Apis::VisionV1::GoogleCloudVisionV1p3beta1ProductSearchResultsGroupedResult::Representation
2908
+
2909
+ collection :results, as: 'results', class: Google::Apis::VisionV1::GoogleCloudVisionV1p3beta1ProductSearchResultsResult, decorator: Google::Apis::VisionV1::GoogleCloudVisionV1p3beta1ProductSearchResultsResult::Representation
2910
+
2911
+ end
2912
+ end
2913
+
2914
+ class GoogleCloudVisionV1p3beta1ProductSearchResultsGroupedResult
2915
+ # @private
2916
+ class Representation < Google::Apis::Core::JsonRepresentation
2917
+ property :bounding_poly, as: 'boundingPoly', class: Google::Apis::VisionV1::GoogleCloudVisionV1p3beta1BoundingPoly, decorator: Google::Apis::VisionV1::GoogleCloudVisionV1p3beta1BoundingPoly::Representation
2918
+
2603
2919
  collection :results, as: 'results', class: Google::Apis::VisionV1::GoogleCloudVisionV1p3beta1ProductSearchResultsResult, decorator: Google::Apis::VisionV1::GoogleCloudVisionV1p3beta1ProductSearchResultsResult::Representation
2604
2920
 
2605
2921
  end
@@ -2769,6 +3085,16 @@ module Google
2769
3085
  end
2770
3086
  end
2771
3087
 
3088
+ class GroupedResult
3089
+ # @private
3090
+ class Representation < Google::Apis::Core::JsonRepresentation
3091
+ property :bounding_poly, as: 'boundingPoly', class: Google::Apis::VisionV1::BoundingPoly, decorator: Google::Apis::VisionV1::BoundingPoly::Representation
3092
+
3093
+ collection :results, as: 'results', class: Google::Apis::VisionV1::Result, decorator: Google::Apis::VisionV1::Result::Representation
3094
+
3095
+ end
3096
+ end
3097
+
2772
3098
  class Image
2773
3099
  # @private
2774
3100
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2794,6 +3120,8 @@ module Google
2794
3120
  collection :language_hints, as: 'languageHints'
2795
3121
  property :lat_long_rect, as: 'latLongRect', class: Google::Apis::VisionV1::LatLongRect, decorator: Google::Apis::VisionV1::LatLongRect::Representation
2796
3122
 
3123
+ property :product_search_params, as: 'productSearchParams', class: Google::Apis::VisionV1::ProductSearchParams, decorator: Google::Apis::VisionV1::ProductSearchParams::Representation
3124
+
2797
3125
  property :web_detection_params, as: 'webDetectionParams', class: Google::Apis::VisionV1::WebDetectionParams, decorator: Google::Apis::VisionV1::WebDetectionParams::Representation
2798
3126
 
2799
3127
  end
@@ -2815,6 +3143,39 @@ module Google
2815
3143
  end
2816
3144
  end
2817
3145
 
3146
+ class ImportProductSetsGcsSource
3147
+ # @private
3148
+ class Representation < Google::Apis::Core::JsonRepresentation
3149
+ property :csv_file_uri, as: 'csvFileUri'
3150
+ end
3151
+ end
3152
+
3153
+ class ImportProductSetsInputConfig
3154
+ # @private
3155
+ class Representation < Google::Apis::Core::JsonRepresentation
3156
+ property :gcs_source, as: 'gcsSource', class: Google::Apis::VisionV1::ImportProductSetsGcsSource, decorator: Google::Apis::VisionV1::ImportProductSetsGcsSource::Representation
3157
+
3158
+ end
3159
+ end
3160
+
3161
+ class ImportProductSetsRequest
3162
+ # @private
3163
+ class Representation < Google::Apis::Core::JsonRepresentation
3164
+ property :input_config, as: 'inputConfig', class: Google::Apis::VisionV1::ImportProductSetsInputConfig, decorator: Google::Apis::VisionV1::ImportProductSetsInputConfig::Representation
3165
+
3166
+ end
3167
+ end
3168
+
3169
+ class ImportProductSetsResponse
3170
+ # @private
3171
+ class Representation < Google::Apis::Core::JsonRepresentation
3172
+ collection :reference_images, as: 'referenceImages', class: Google::Apis::VisionV1::ReferenceImage, decorator: Google::Apis::VisionV1::ReferenceImage::Representation
3173
+
3174
+ collection :statuses, as: 'statuses', class: Google::Apis::VisionV1::Status, decorator: Google::Apis::VisionV1::Status::Representation
3175
+
3176
+ end
3177
+ end
3178
+
2818
3179
  class InputConfig
2819
3180
  # @private
2820
3181
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2824,6 +3185,14 @@ module Google
2824
3185
  end
2825
3186
  end
2826
3187
 
3188
+ class KeyValue
3189
+ # @private
3190
+ class Representation < Google::Apis::Core::JsonRepresentation
3191
+ property :key, as: 'key'
3192
+ property :value, as: 'value'
3193
+ end
3194
+ end
3195
+
2827
3196
  class Landmark
2828
3197
  # @private
2829
3198
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2860,6 +3229,43 @@ module Google
2860
3229
  end
2861
3230
  end
2862
3231
 
3232
+ class ListProductSetsResponse
3233
+ # @private
3234
+ class Representation < Google::Apis::Core::JsonRepresentation
3235
+ property :next_page_token, as: 'nextPageToken'
3236
+ collection :product_sets, as: 'productSets', class: Google::Apis::VisionV1::ProductSet, decorator: Google::Apis::VisionV1::ProductSet::Representation
3237
+
3238
+ end
3239
+ end
3240
+
3241
+ class ListProductsInProductSetResponse
3242
+ # @private
3243
+ class Representation < Google::Apis::Core::JsonRepresentation
3244
+ property :next_page_token, as: 'nextPageToken'
3245
+ collection :products, as: 'products', class: Google::Apis::VisionV1::Product, decorator: Google::Apis::VisionV1::Product::Representation
3246
+
3247
+ end
3248
+ end
3249
+
3250
+ class ListProductsResponse
3251
+ # @private
3252
+ class Representation < Google::Apis::Core::JsonRepresentation
3253
+ property :next_page_token, as: 'nextPageToken'
3254
+ collection :products, as: 'products', class: Google::Apis::VisionV1::Product, decorator: Google::Apis::VisionV1::Product::Representation
3255
+
3256
+ end
3257
+ end
3258
+
3259
+ class ListReferenceImagesResponse
3260
+ # @private
3261
+ class Representation < Google::Apis::Core::JsonRepresentation
3262
+ property :next_page_token, as: 'nextPageToken'
3263
+ property :page_size, as: 'pageSize'
3264
+ collection :reference_images, as: 'referenceImages', class: Google::Apis::VisionV1::ReferenceImage, decorator: Google::Apis::VisionV1::ReferenceImage::Representation
3265
+
3266
+ end
3267
+ end
3268
+
2863
3269
  class LocalizedObjectAnnotation
2864
3270
  # @private
2865
3271
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2953,6 +3359,51 @@ module Google
2953
3359
  end
2954
3360
  end
2955
3361
 
3362
+ class Product
3363
+ # @private
3364
+ class Representation < Google::Apis::Core::JsonRepresentation
3365
+ property :description, as: 'description'
3366
+ property :display_name, as: 'displayName'
3367
+ property :name, as: 'name'
3368
+ property :product_category, as: 'productCategory'
3369
+ collection :product_labels, as: 'productLabels', class: Google::Apis::VisionV1::KeyValue, decorator: Google::Apis::VisionV1::KeyValue::Representation
3370
+
3371
+ end
3372
+ end
3373
+
3374
+ class ProductSearchParams
3375
+ # @private
3376
+ class Representation < Google::Apis::Core::JsonRepresentation
3377
+ property :bounding_poly, as: 'boundingPoly', class: Google::Apis::VisionV1::BoundingPoly, decorator: Google::Apis::VisionV1::BoundingPoly::Representation
3378
+
3379
+ property :filter, as: 'filter'
3380
+ collection :product_categories, as: 'productCategories'
3381
+ property :product_set, as: 'productSet'
3382
+ end
3383
+ end
3384
+
3385
+ class ProductSearchResults
3386
+ # @private
3387
+ class Representation < Google::Apis::Core::JsonRepresentation
3388
+ property :index_time, as: 'indexTime'
3389
+ collection :product_grouped_results, as: 'productGroupedResults', class: Google::Apis::VisionV1::GroupedResult, decorator: Google::Apis::VisionV1::GroupedResult::Representation
3390
+
3391
+ collection :results, as: 'results', class: Google::Apis::VisionV1::Result, decorator: Google::Apis::VisionV1::Result::Representation
3392
+
3393
+ end
3394
+ end
3395
+
3396
+ class ProductSet
3397
+ # @private
3398
+ class Representation < Google::Apis::Core::JsonRepresentation
3399
+ property :display_name, as: 'displayName'
3400
+ property :index_error, as: 'indexError', class: Google::Apis::VisionV1::Status, decorator: Google::Apis::VisionV1::Status::Representation
3401
+
3402
+ property :index_time, as: 'indexTime'
3403
+ property :name, as: 'name'
3404
+ end
3405
+ end
3406
+
2956
3407
  class Property
2957
3408
  # @private
2958
3409
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2962,6 +3413,33 @@ module Google
2962
3413
  end
2963
3414
  end
2964
3415
 
3416
+ class ReferenceImage
3417
+ # @private
3418
+ class Representation < Google::Apis::Core::JsonRepresentation
3419
+ collection :bounding_polys, as: 'boundingPolys', class: Google::Apis::VisionV1::BoundingPoly, decorator: Google::Apis::VisionV1::BoundingPoly::Representation
3420
+
3421
+ property :name, as: 'name'
3422
+ property :uri, as: 'uri'
3423
+ end
3424
+ end
3425
+
3426
+ class RemoveProductFromProductSetRequest
3427
+ # @private
3428
+ class Representation < Google::Apis::Core::JsonRepresentation
3429
+ property :product, as: 'product'
3430
+ end
3431
+ end
3432
+
3433
+ class Result
3434
+ # @private
3435
+ class Representation < Google::Apis::Core::JsonRepresentation
3436
+ property :image, as: 'image'
3437
+ property :product, as: 'product', class: Google::Apis::VisionV1::Product, decorator: Google::Apis::VisionV1::Product::Representation
3438
+
3439
+ property :score, as: 'score'
3440
+ end
3441
+ end
3442
+
2965
3443
  class SafeSearchAnnotation
2966
3444
  # @private
2967
3445
  class Representation < Google::Apis::Core::JsonRepresentation