google-api-client 0.46.0 → 0.46.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (160) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +59 -0
  3. data/generated/google/apis/accesscontextmanager_v1.rb +1 -1
  4. data/generated/google/apis/accesscontextmanager_v1/classes.rb +68 -0
  5. data/generated/google/apis/accesscontextmanager_v1/representations.rb +30 -0
  6. data/generated/google/apis/accesscontextmanager_v1/service.rb +180 -0
  7. data/generated/google/apis/adexchangebuyer_v1_4.rb +1 -1
  8. data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +25 -0
  9. data/generated/google/apis/adexchangebuyer_v1_4/representations.rb +15 -0
  10. data/generated/google/apis/admob_v1.rb +3 -2
  11. data/generated/google/apis/admob_v1/service.rb +2 -1
  12. data/generated/google/apis/adsense_v1_4.rb +1 -1
  13. data/generated/google/apis/adsense_v1_4/service.rb +4 -1
  14. data/generated/google/apis/analyticsdata_v1alpha.rb +1 -1
  15. data/generated/google/apis/analyticsdata_v1alpha/classes.rb +31 -0
  16. data/generated/google/apis/analyticsdata_v1alpha/representations.rb +17 -0
  17. data/generated/google/apis/analyticsdata_v1alpha/service.rb +39 -0
  18. data/generated/google/apis/androidpublisher_v3.rb +1 -1
  19. data/generated/google/apis/androidpublisher_v3/service.rb +2 -5
  20. data/generated/google/apis/apigee_v1.rb +1 -1
  21. data/generated/google/apis/apigee_v1/classes.rb +231 -1
  22. data/generated/google/apis/apigee_v1/representations.rb +87 -0
  23. data/generated/google/apis/apigee_v1/service.rb +201 -1
  24. data/generated/google/apis/appsmarket_v2.rb +1 -1
  25. data/generated/google/apis/billingbudgets_v1.rb +38 -0
  26. data/generated/google/apis/billingbudgets_v1/classes.rb +362 -0
  27. data/generated/google/apis/billingbudgets_v1/representations.rb +170 -0
  28. data/generated/google/apis/billingbudgets_v1/service.rb +249 -0
  29. data/generated/google/apis/cloudasset_v1p4beta1.rb +1 -1
  30. data/generated/google/apis/cloudasset_v1p4beta1/classes.rb +3 -3
  31. data/generated/google/apis/cloudsearch_v1.rb +1 -1
  32. data/generated/google/apis/cloudsearch_v1/classes.rb +2 -1
  33. data/generated/google/apis/cloudshell_v1.rb +1 -1
  34. data/generated/google/apis/cloudshell_v1/classes.rb +342 -0
  35. data/generated/google/apis/cloudshell_v1/representations.rb +200 -0
  36. data/generated/google/apis/cloudshell_v1/service.rb +177 -0
  37. data/generated/google/apis/composer_v1.rb +1 -1
  38. data/generated/google/apis/composer_v1/classes.rb +2 -3
  39. data/generated/google/apis/composer_v1beta1.rb +1 -1
  40. data/generated/google/apis/composer_v1beta1/classes.rb +2 -3
  41. data/generated/google/apis/composer_v1beta1/service.rb +37 -35
  42. data/generated/google/apis/compute_alpha.rb +1 -1
  43. data/generated/google/apis/compute_alpha/classes.rb +126 -21
  44. data/generated/google/apis/compute_alpha/representations.rb +7 -0
  45. data/generated/google/apis/compute_alpha/service.rb +62 -3
  46. data/generated/google/apis/compute_beta.rb +1 -1
  47. data/generated/google/apis/compute_beta/classes.rb +83 -19
  48. data/generated/google/apis/compute_beta/representations.rb +4 -0
  49. data/generated/google/apis/compute_beta/service.rb +3 -3
  50. data/generated/google/apis/compute_v1.rb +1 -1
  51. data/generated/google/apis/compute_v1/classes.rb +28 -8
  52. data/generated/google/apis/compute_v1/representations.rb +3 -0
  53. data/generated/google/apis/compute_v1/service.rb +3 -3
  54. data/generated/google/apis/container_v1beta1.rb +1 -1
  55. data/generated/google/apis/content_v2.rb +1 -1
  56. data/generated/google/apis/content_v2_1.rb +1 -1
  57. data/generated/google/apis/content_v2_1/classes.rb +99 -0
  58. data/generated/google/apis/content_v2_1/representations.rb +47 -0
  59. data/generated/google/apis/content_v2_1/service.rb +37 -0
  60. data/generated/google/apis/dialogflow_v2.rb +1 -1
  61. data/generated/google/apis/dialogflow_v2/classes.rb +50 -32
  62. data/generated/google/apis/dialogflow_v2/representations.rb +28 -13
  63. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  64. data/generated/google/apis/dialogflow_v2beta1/classes.rb +50 -32
  65. data/generated/google/apis/dialogflow_v2beta1/representations.rb +28 -13
  66. data/generated/google/apis/dialogflow_v2beta1/service.rb +54 -4
  67. data/generated/google/apis/dialogflow_v3beta1.rb +1 -1
  68. data/generated/google/apis/dialogflow_v3beta1/classes.rb +66 -35
  69. data/generated/google/apis/dialogflow_v3beta1/representations.rb +29 -13
  70. data/generated/google/apis/dialogflow_v3beta1/service.rb +22 -9
  71. data/generated/google/apis/displayvideo_v1.rb +1 -1
  72. data/generated/google/apis/displayvideo_v1/service.rb +13 -10
  73. data/generated/google/apis/dns_v1.rb +1 -1
  74. data/generated/google/apis/dns_v1/service.rb +10 -10
  75. data/generated/google/apis/dns_v1beta2.rb +1 -1
  76. data/generated/google/apis/dns_v1beta2/service.rb +10 -10
  77. data/generated/google/apis/documentai_v1beta3.rb +36 -0
  78. data/generated/google/apis/documentai_v1beta3/classes.rb +6149 -0
  79. data/generated/google/apis/documentai_v1beta3/representations.rb +2666 -0
  80. data/generated/google/apis/documentai_v1beta3/service.rb +263 -0
  81. data/generated/google/apis/doubleclickbidmanager_v1_1.rb +1 -1
  82. data/generated/google/apis/doubleclickbidmanager_v1_1/classes.rb +2 -2
  83. data/generated/google/apis/drive_v2.rb +1 -1
  84. data/generated/google/apis/drive_v2/classes.rb +2 -1
  85. data/generated/google/apis/fitness_v1.rb +13 -1
  86. data/generated/google/apis/healthcare_v1beta1.rb +1 -1
  87. data/generated/google/apis/healthcare_v1beta1/classes.rb +116 -289
  88. data/generated/google/apis/healthcare_v1beta1/representations.rb +45 -81
  89. data/generated/google/apis/healthcare_v1beta1/service.rb +65 -61
  90. data/generated/google/apis/licensing_v1.rb +1 -1
  91. data/generated/google/apis/licensing_v1/service.rb +2 -2
  92. data/generated/google/apis/lifesciences_v2beta.rb +1 -1
  93. data/generated/google/apis/lifesciences_v2beta/classes.rb +104 -0
  94. data/generated/google/apis/lifesciences_v2beta/representations.rb +47 -0
  95. data/generated/google/apis/memcache_v1beta2.rb +1 -1
  96. data/generated/google/apis/memcache_v1beta2/classes.rb +1 -1
  97. data/generated/google/apis/monitoring_v3.rb +1 -1
  98. data/generated/google/apis/monitoring_v3/classes.rb +48 -0
  99. data/generated/google/apis/monitoring_v3/representations.rb +18 -0
  100. data/generated/google/apis/oauth2_v2.rb +40 -0
  101. data/generated/google/apis/oauth2_v2/classes.rb +165 -0
  102. data/generated/google/apis/oauth2_v2/representations.rb +68 -0
  103. data/generated/google/apis/oauth2_v2/service.rb +158 -0
  104. data/generated/google/apis/people_v1.rb +1 -1
  105. data/generated/google/apis/people_v1/classes.rb +3 -2
  106. data/generated/google/apis/people_v1/service.rb +4 -4
  107. data/generated/google/apis/realtimebidding_v1.rb +1 -1
  108. data/generated/google/apis/realtimebidding_v1/classes.rb +55 -94
  109. data/generated/google/apis/realtimebidding_v1/representations.rb +18 -32
  110. data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
  111. data/generated/google/apis/remotebuildexecution_v1/classes.rb +6 -0
  112. data/generated/google/apis/remotebuildexecution_v1/representations.rb +1 -0
  113. data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
  114. data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +6 -0
  115. data/generated/google/apis/remotebuildexecution_v1alpha/representations.rb +1 -0
  116. data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
  117. data/generated/google/apis/remotebuildexecution_v2/classes.rb +6 -0
  118. data/generated/google/apis/remotebuildexecution_v2/representations.rb +1 -0
  119. data/generated/google/apis/run_v1.rb +1 -1
  120. data/generated/google/apis/run_v1/classes.rb +5 -2
  121. data/generated/google/apis/smartdevicemanagement_v1.rb +1 -1
  122. data/generated/google/apis/smartdevicemanagement_v1/classes.rb +4 -10
  123. data/generated/google/apis/smartdevicemanagement_v1/representations.rb +0 -1
  124. data/generated/google/apis/smartdevicemanagement_v1/service.rb +1 -4
  125. data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
  126. data/generated/google/apis/sqladmin_v1beta4/classes.rb +49 -5
  127. data/generated/google/apis/sqladmin_v1beta4/representations.rb +17 -0
  128. data/generated/google/apis/storagetransfer_v1.rb +1 -1
  129. data/generated/google/apis/storagetransfer_v1/classes.rb +13 -0
  130. data/generated/google/apis/storagetransfer_v1/representations.rb +12 -0
  131. data/generated/google/apis/storagetransfer_v1/service.rb +5 -2
  132. data/generated/google/apis/sts_v1.rb +1 -1
  133. data/generated/google/apis/sts_v1/classes.rb +10 -9
  134. data/generated/google/apis/sts_v1beta.rb +1 -1
  135. data/generated/google/apis/sts_v1beta/classes.rb +66 -70
  136. data/generated/google/apis/sts_v1beta/service.rb +2 -2
  137. data/generated/google/apis/testing_v1.rb +1 -1
  138. data/generated/google/apis/testing_v1/classes.rb +47 -0
  139. data/generated/google/apis/testing_v1/representations.rb +20 -0
  140. data/generated/google/apis/videointelligence_v1.rb +1 -1
  141. data/generated/google/apis/videointelligence_v1/classes.rb +430 -2
  142. data/generated/google/apis/videointelligence_v1/representations.rb +241 -0
  143. data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
  144. data/generated/google/apis/videointelligence_v1beta2/classes.rb +430 -2
  145. data/generated/google/apis/videointelligence_v1beta2/representations.rb +241 -0
  146. data/generated/google/apis/videointelligence_v1p1beta1.rb +1 -1
  147. data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +430 -2
  148. data/generated/google/apis/videointelligence_v1p1beta1/representations.rb +241 -0
  149. data/generated/google/apis/videointelligence_v1p2beta1.rb +1 -1
  150. data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +430 -2
  151. data/generated/google/apis/videointelligence_v1p2beta1/representations.rb +241 -0
  152. data/generated/google/apis/videointelligence_v1p3beta1.rb +1 -1
  153. data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +430 -2
  154. data/generated/google/apis/videointelligence_v1p3beta1/representations.rb +241 -0
  155. data/generated/google/apis/workflows_v1beta.rb +3 -2
  156. data/generated/google/apis/workflows_v1beta/service.rb +2 -1
  157. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  158. data/generated/google/apis/youtube_v3.rb +1 -1
  159. data/lib/google/apis/version.rb +1 -1
  160. metadata +15 -3
@@ -76,6 +76,12 @@ module Google
76
76
  include Google::Apis::Core::JsonObjectSupport
77
77
  end
78
78
 
79
+ class GoogleCloudVideointelligenceV1FaceAnnotation
80
+ class Representation < Google::Apis::Core::JsonRepresentation; end
81
+
82
+ include Google::Apis::Core::JsonObjectSupport
83
+ end
84
+
79
85
  class GoogleCloudVideointelligenceV1FaceDetectionAnnotation
80
86
  class Representation < Google::Apis::Core::JsonRepresentation; end
81
87
 
@@ -88,6 +94,18 @@ module Google
88
94
  include Google::Apis::Core::JsonObjectSupport
89
95
  end
90
96
 
97
+ class GoogleCloudVideointelligenceV1FaceFrame
98
+ class Representation < Google::Apis::Core::JsonRepresentation; end
99
+
100
+ include Google::Apis::Core::JsonObjectSupport
101
+ end
102
+
103
+ class GoogleCloudVideointelligenceV1FaceSegment
104
+ class Representation < Google::Apis::Core::JsonRepresentation; end
105
+
106
+ include Google::Apis::Core::JsonObjectSupport
107
+ end
108
+
91
109
  class GoogleCloudVideointelligenceV1LabelAnnotation
92
110
  class Representation < Google::Apis::Core::JsonRepresentation; end
93
111
 
@@ -304,12 +322,30 @@ module Google
304
322
  include Google::Apis::Core::JsonObjectSupport
305
323
  end
306
324
 
325
+ class GoogleCloudVideointelligenceV1beta2FaceAnnotation
326
+ class Representation < Google::Apis::Core::JsonRepresentation; end
327
+
328
+ include Google::Apis::Core::JsonObjectSupport
329
+ end
330
+
307
331
  class GoogleCloudVideointelligenceV1beta2FaceDetectionAnnotation
308
332
  class Representation < Google::Apis::Core::JsonRepresentation; end
309
333
 
310
334
  include Google::Apis::Core::JsonObjectSupport
311
335
  end
312
336
 
337
+ class GoogleCloudVideointelligenceV1beta2FaceFrame
338
+ class Representation < Google::Apis::Core::JsonRepresentation; end
339
+
340
+ include Google::Apis::Core::JsonObjectSupport
341
+ end
342
+
343
+ class GoogleCloudVideointelligenceV1beta2FaceSegment
344
+ class Representation < Google::Apis::Core::JsonRepresentation; end
345
+
346
+ include Google::Apis::Core::JsonObjectSupport
347
+ end
348
+
313
349
  class GoogleCloudVideointelligenceV1beta2LabelAnnotation
314
350
  class Representation < Google::Apis::Core::JsonRepresentation; end
315
351
 
@@ -478,12 +514,30 @@ module Google
478
514
  include Google::Apis::Core::JsonObjectSupport
479
515
  end
480
516
 
517
+ class GoogleCloudVideointelligenceV1p1beta1FaceAnnotation
518
+ class Representation < Google::Apis::Core::JsonRepresentation; end
519
+
520
+ include Google::Apis::Core::JsonObjectSupport
521
+ end
522
+
481
523
  class GoogleCloudVideointelligenceV1p1beta1FaceDetectionAnnotation
482
524
  class Representation < Google::Apis::Core::JsonRepresentation; end
483
525
 
484
526
  include Google::Apis::Core::JsonObjectSupport
485
527
  end
486
528
 
529
+ class GoogleCloudVideointelligenceV1p1beta1FaceFrame
530
+ class Representation < Google::Apis::Core::JsonRepresentation; end
531
+
532
+ include Google::Apis::Core::JsonObjectSupport
533
+ end
534
+
535
+ class GoogleCloudVideointelligenceV1p1beta1FaceSegment
536
+ class Representation < Google::Apis::Core::JsonRepresentation; end
537
+
538
+ include Google::Apis::Core::JsonObjectSupport
539
+ end
540
+
487
541
  class GoogleCloudVideointelligenceV1p1beta1LabelAnnotation
488
542
  class Representation < Google::Apis::Core::JsonRepresentation; end
489
543
 
@@ -652,12 +706,30 @@ module Google
652
706
  include Google::Apis::Core::JsonObjectSupport
653
707
  end
654
708
 
709
+ class GoogleCloudVideointelligenceV1p2beta1FaceAnnotation
710
+ class Representation < Google::Apis::Core::JsonRepresentation; end
711
+
712
+ include Google::Apis::Core::JsonObjectSupport
713
+ end
714
+
655
715
  class GoogleCloudVideointelligenceV1p2beta1FaceDetectionAnnotation
656
716
  class Representation < Google::Apis::Core::JsonRepresentation; end
657
717
 
658
718
  include Google::Apis::Core::JsonObjectSupport
659
719
  end
660
720
 
721
+ class GoogleCloudVideointelligenceV1p2beta1FaceFrame
722
+ class Representation < Google::Apis::Core::JsonRepresentation; end
723
+
724
+ include Google::Apis::Core::JsonObjectSupport
725
+ end
726
+
727
+ class GoogleCloudVideointelligenceV1p2beta1FaceSegment
728
+ class Representation < Google::Apis::Core::JsonRepresentation; end
729
+
730
+ include Google::Apis::Core::JsonObjectSupport
731
+ end
732
+
661
733
  class GoogleCloudVideointelligenceV1p2beta1LabelAnnotation
662
734
  class Representation < Google::Apis::Core::JsonRepresentation; end
663
735
 
@@ -844,12 +916,30 @@ module Google
844
916
  include Google::Apis::Core::JsonObjectSupport
845
917
  end
846
918
 
919
+ class GoogleCloudVideointelligenceV1p3beta1FaceAnnotation
920
+ class Representation < Google::Apis::Core::JsonRepresentation; end
921
+
922
+ include Google::Apis::Core::JsonObjectSupport
923
+ end
924
+
847
925
  class GoogleCloudVideointelligenceV1p3beta1FaceDetectionAnnotation
848
926
  class Representation < Google::Apis::Core::JsonRepresentation; end
849
927
 
850
928
  include Google::Apis::Core::JsonObjectSupport
851
929
  end
852
930
 
931
+ class GoogleCloudVideointelligenceV1p3beta1FaceFrame
932
+ class Representation < Google::Apis::Core::JsonRepresentation; end
933
+
934
+ include Google::Apis::Core::JsonObjectSupport
935
+ end
936
+
937
+ class GoogleCloudVideointelligenceV1p3beta1FaceSegment
938
+ class Representation < Google::Apis::Core::JsonRepresentation; end
939
+
940
+ include Google::Apis::Core::JsonObjectSupport
941
+ end
942
+
853
943
  class GoogleCloudVideointelligenceV1p3beta1LabelAnnotation
854
944
  class Representation < Google::Apis::Core::JsonRepresentation; end
855
945
 
@@ -1105,6 +1195,17 @@ module Google
1105
1195
  end
1106
1196
  end
1107
1197
 
1198
+ class GoogleCloudVideointelligenceV1FaceAnnotation
1199
+ # @private
1200
+ class Representation < Google::Apis::Core::JsonRepresentation
1201
+ collection :frames, as: 'frames', class: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1FaceFrame, decorator: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1FaceFrame::Representation
1202
+
1203
+ collection :segments, as: 'segments', class: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1FaceSegment, decorator: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1FaceSegment::Representation
1204
+
1205
+ property :thumbnail, :base64 => true, as: 'thumbnail'
1206
+ end
1207
+ end
1208
+
1108
1209
  class GoogleCloudVideointelligenceV1FaceDetectionAnnotation
1109
1210
  # @private
1110
1211
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1121,6 +1222,23 @@ module Google
1121
1222
  end
1122
1223
  end
1123
1224
 
1225
+ class GoogleCloudVideointelligenceV1FaceFrame
1226
+ # @private
1227
+ class Representation < Google::Apis::Core::JsonRepresentation
1228
+ collection :normalized_bounding_boxes, as: 'normalizedBoundingBoxes', class: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1NormalizedBoundingBox, decorator: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1NormalizedBoundingBox::Representation
1229
+
1230
+ property :time_offset, as: 'timeOffset'
1231
+ end
1232
+ end
1233
+
1234
+ class GoogleCloudVideointelligenceV1FaceSegment
1235
+ # @private
1236
+ class Representation < Google::Apis::Core::JsonRepresentation
1237
+ property :segment, as: 'segment', class: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1VideoSegment, decorator: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1VideoSegment::Representation
1238
+
1239
+ end
1240
+ end
1241
+
1124
1242
  class GoogleCloudVideointelligenceV1LabelAnnotation
1125
1243
  # @private
1126
1244
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1384,6 +1502,8 @@ module Google
1384
1502
 
1385
1503
  property :explicit_annotation, as: 'explicitAnnotation', class: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1ExplicitContentAnnotation, decorator: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1ExplicitContentAnnotation::Representation
1386
1504
 
1505
+ collection :face_annotations, as: 'faceAnnotations', class: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1FaceAnnotation, decorator: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1FaceAnnotation::Representation
1506
+
1387
1507
  collection :face_detection_annotations, as: 'faceDetectionAnnotations', class: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1FaceDetectionAnnotation, decorator: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1FaceDetectionAnnotation::Representation
1388
1508
 
1389
1509
  collection :frame_label_annotations, as: 'frameLabelAnnotations', class: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1LabelAnnotation, decorator: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1LabelAnnotation::Representation
@@ -1518,6 +1638,17 @@ module Google
1518
1638
  end
1519
1639
  end
1520
1640
 
1641
+ class GoogleCloudVideointelligenceV1beta2FaceAnnotation
1642
+ # @private
1643
+ class Representation < Google::Apis::Core::JsonRepresentation
1644
+ collection :frames, as: 'frames', class: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1beta2FaceFrame, decorator: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1beta2FaceFrame::Representation
1645
+
1646
+ collection :segments, as: 'segments', class: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1beta2FaceSegment, decorator: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1beta2FaceSegment::Representation
1647
+
1648
+ property :thumbnail, :base64 => true, as: 'thumbnail'
1649
+ end
1650
+ end
1651
+
1521
1652
  class GoogleCloudVideointelligenceV1beta2FaceDetectionAnnotation
1522
1653
  # @private
1523
1654
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1525,6 +1656,23 @@ module Google
1525
1656
  end
1526
1657
  end
1527
1658
 
1659
+ class GoogleCloudVideointelligenceV1beta2FaceFrame
1660
+ # @private
1661
+ class Representation < Google::Apis::Core::JsonRepresentation
1662
+ collection :normalized_bounding_boxes, as: 'normalizedBoundingBoxes', class: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1beta2NormalizedBoundingBox, decorator: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1beta2NormalizedBoundingBox::Representation
1663
+
1664
+ property :time_offset, as: 'timeOffset'
1665
+ end
1666
+ end
1667
+
1668
+ class GoogleCloudVideointelligenceV1beta2FaceSegment
1669
+ # @private
1670
+ class Representation < Google::Apis::Core::JsonRepresentation
1671
+ property :segment, as: 'segment', class: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1beta2VideoSegment, decorator: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1beta2VideoSegment::Representation
1672
+
1673
+ end
1674
+ end
1675
+
1528
1676
  class GoogleCloudVideointelligenceV1beta2LabelAnnotation
1529
1677
  # @private
1530
1678
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1723,6 +1871,8 @@ module Google
1723
1871
 
1724
1872
  property :explicit_annotation, as: 'explicitAnnotation', class: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1beta2ExplicitContentAnnotation, decorator: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1beta2ExplicitContentAnnotation::Representation
1725
1873
 
1874
+ collection :face_annotations, as: 'faceAnnotations', class: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1beta2FaceAnnotation, decorator: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1beta2FaceAnnotation::Representation
1875
+
1726
1876
  collection :face_detection_annotations, as: 'faceDetectionAnnotations', class: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1beta2FaceDetectionAnnotation, decorator: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1beta2FaceDetectionAnnotation::Representation
1727
1877
 
1728
1878
  collection :frame_label_annotations, as: 'frameLabelAnnotations', class: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1beta2LabelAnnotation, decorator: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1beta2LabelAnnotation::Representation
@@ -1833,6 +1983,17 @@ module Google
1833
1983
  end
1834
1984
  end
1835
1985
 
1986
+ class GoogleCloudVideointelligenceV1p1beta1FaceAnnotation
1987
+ # @private
1988
+ class Representation < Google::Apis::Core::JsonRepresentation
1989
+ collection :frames, as: 'frames', class: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p1beta1FaceFrame, decorator: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p1beta1FaceFrame::Representation
1990
+
1991
+ collection :segments, as: 'segments', class: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p1beta1FaceSegment, decorator: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p1beta1FaceSegment::Representation
1992
+
1993
+ property :thumbnail, :base64 => true, as: 'thumbnail'
1994
+ end
1995
+ end
1996
+
1836
1997
  class GoogleCloudVideointelligenceV1p1beta1FaceDetectionAnnotation
1837
1998
  # @private
1838
1999
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1840,6 +2001,23 @@ module Google
1840
2001
  end
1841
2002
  end
1842
2003
 
2004
+ class GoogleCloudVideointelligenceV1p1beta1FaceFrame
2005
+ # @private
2006
+ class Representation < Google::Apis::Core::JsonRepresentation
2007
+ collection :normalized_bounding_boxes, as: 'normalizedBoundingBoxes', class: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p1beta1NormalizedBoundingBox, decorator: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p1beta1NormalizedBoundingBox::Representation
2008
+
2009
+ property :time_offset, as: 'timeOffset'
2010
+ end
2011
+ end
2012
+
2013
+ class GoogleCloudVideointelligenceV1p1beta1FaceSegment
2014
+ # @private
2015
+ class Representation < Google::Apis::Core::JsonRepresentation
2016
+ property :segment, as: 'segment', class: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p1beta1VideoSegment, decorator: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p1beta1VideoSegment::Representation
2017
+
2018
+ end
2019
+ end
2020
+
1843
2021
  class GoogleCloudVideointelligenceV1p1beta1LabelAnnotation
1844
2022
  # @private
1845
2023
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2038,6 +2216,8 @@ module Google
2038
2216
 
2039
2217
  property :explicit_annotation, as: 'explicitAnnotation', class: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p1beta1ExplicitContentAnnotation, decorator: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p1beta1ExplicitContentAnnotation::Representation
2040
2218
 
2219
+ collection :face_annotations, as: 'faceAnnotations', class: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p1beta1FaceAnnotation, decorator: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p1beta1FaceAnnotation::Representation
2220
+
2041
2221
  collection :face_detection_annotations, as: 'faceDetectionAnnotations', class: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p1beta1FaceDetectionAnnotation, decorator: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p1beta1FaceDetectionAnnotation::Representation
2042
2222
 
2043
2223
  collection :frame_label_annotations, as: 'frameLabelAnnotations', class: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p1beta1LabelAnnotation, decorator: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p1beta1LabelAnnotation::Representation
@@ -2148,6 +2328,17 @@ module Google
2148
2328
  end
2149
2329
  end
2150
2330
 
2331
+ class GoogleCloudVideointelligenceV1p2beta1FaceAnnotation
2332
+ # @private
2333
+ class Representation < Google::Apis::Core::JsonRepresentation
2334
+ collection :frames, as: 'frames', class: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p2beta1FaceFrame, decorator: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p2beta1FaceFrame::Representation
2335
+
2336
+ collection :segments, as: 'segments', class: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p2beta1FaceSegment, decorator: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p2beta1FaceSegment::Representation
2337
+
2338
+ property :thumbnail, :base64 => true, as: 'thumbnail'
2339
+ end
2340
+ end
2341
+
2151
2342
  class GoogleCloudVideointelligenceV1p2beta1FaceDetectionAnnotation
2152
2343
  # @private
2153
2344
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2155,6 +2346,23 @@ module Google
2155
2346
  end
2156
2347
  end
2157
2348
 
2349
+ class GoogleCloudVideointelligenceV1p2beta1FaceFrame
2350
+ # @private
2351
+ class Representation < Google::Apis::Core::JsonRepresentation
2352
+ collection :normalized_bounding_boxes, as: 'normalizedBoundingBoxes', class: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p2beta1NormalizedBoundingBox, decorator: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p2beta1NormalizedBoundingBox::Representation
2353
+
2354
+ property :time_offset, as: 'timeOffset'
2355
+ end
2356
+ end
2357
+
2358
+ class GoogleCloudVideointelligenceV1p2beta1FaceSegment
2359
+ # @private
2360
+ class Representation < Google::Apis::Core::JsonRepresentation
2361
+ property :segment, as: 'segment', class: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p2beta1VideoSegment, decorator: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p2beta1VideoSegment::Representation
2362
+
2363
+ end
2364
+ end
2365
+
2158
2366
  class GoogleCloudVideointelligenceV1p2beta1LabelAnnotation
2159
2367
  # @private
2160
2368
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2353,6 +2561,8 @@ module Google
2353
2561
 
2354
2562
  property :explicit_annotation, as: 'explicitAnnotation', class: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p2beta1ExplicitContentAnnotation, decorator: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p2beta1ExplicitContentAnnotation::Representation
2355
2563
 
2564
+ collection :face_annotations, as: 'faceAnnotations', class: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p2beta1FaceAnnotation, decorator: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p2beta1FaceAnnotation::Representation
2565
+
2356
2566
  collection :face_detection_annotations, as: 'faceDetectionAnnotations', class: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p2beta1FaceDetectionAnnotation, decorator: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p2beta1FaceDetectionAnnotation::Representation
2357
2567
 
2358
2568
  collection :frame_label_annotations, as: 'frameLabelAnnotations', class: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p2beta1LabelAnnotation, decorator: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p2beta1LabelAnnotation::Representation
@@ -2491,6 +2701,17 @@ module Google
2491
2701
  end
2492
2702
  end
2493
2703
 
2704
+ class GoogleCloudVideointelligenceV1p3beta1FaceAnnotation
2705
+ # @private
2706
+ class Representation < Google::Apis::Core::JsonRepresentation
2707
+ collection :frames, as: 'frames', class: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p3beta1FaceFrame, decorator: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p3beta1FaceFrame::Representation
2708
+
2709
+ collection :segments, as: 'segments', class: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p3beta1FaceSegment, decorator: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p3beta1FaceSegment::Representation
2710
+
2711
+ property :thumbnail, :base64 => true, as: 'thumbnail'
2712
+ end
2713
+ end
2714
+
2494
2715
  class GoogleCloudVideointelligenceV1p3beta1FaceDetectionAnnotation
2495
2716
  # @private
2496
2717
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2498,6 +2719,23 @@ module Google
2498
2719
  end
2499
2720
  end
2500
2721
 
2722
+ class GoogleCloudVideointelligenceV1p3beta1FaceFrame
2723
+ # @private
2724
+ class Representation < Google::Apis::Core::JsonRepresentation
2725
+ collection :normalized_bounding_boxes, as: 'normalizedBoundingBoxes', class: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p3beta1NormalizedBoundingBox, decorator: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p3beta1NormalizedBoundingBox::Representation
2726
+
2727
+ property :time_offset, as: 'timeOffset'
2728
+ end
2729
+ end
2730
+
2731
+ class GoogleCloudVideointelligenceV1p3beta1FaceSegment
2732
+ # @private
2733
+ class Representation < Google::Apis::Core::JsonRepresentation
2734
+ property :segment, as: 'segment', class: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p3beta1VideoSegment, decorator: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p3beta1VideoSegment::Representation
2735
+
2736
+ end
2737
+ end
2738
+
2501
2739
  class GoogleCloudVideointelligenceV1p3beta1LabelAnnotation
2502
2740
  # @private
2503
2741
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2645,6 +2883,7 @@ module Google
2645
2883
  class Representation < Google::Apis::Core::JsonRepresentation
2646
2884
  property :explicit_annotation, as: 'explicitAnnotation', class: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p3beta1ExplicitContentAnnotation, decorator: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p3beta1ExplicitContentAnnotation::Representation
2647
2885
 
2886
+ property :frame_timestamp, as: 'frameTimestamp'
2648
2887
  collection :label_annotations, as: 'labelAnnotations', class: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p3beta1LabelAnnotation, decorator: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p3beta1LabelAnnotation::Representation
2649
2888
 
2650
2889
  collection :object_annotations, as: 'objectAnnotations', class: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p3beta1ObjectTrackingAnnotation, decorator: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p3beta1ObjectTrackingAnnotation::Representation
@@ -2732,6 +2971,8 @@ module Google
2732
2971
 
2733
2972
  property :explicit_annotation, as: 'explicitAnnotation', class: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p3beta1ExplicitContentAnnotation, decorator: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p3beta1ExplicitContentAnnotation::Representation
2734
2973
 
2974
+ collection :face_annotations, as: 'faceAnnotations', class: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p3beta1FaceAnnotation, decorator: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p3beta1FaceAnnotation::Representation
2975
+
2735
2976
  collection :face_detection_annotations, as: 'faceDetectionAnnotations', class: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p3beta1FaceDetectionAnnotation, decorator: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p3beta1FaceDetectionAnnotation::Representation
2736
2977
 
2737
2978
  collection :frame_label_annotations, as: 'frameLabelAnnotations', class: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p3beta1LabelAnnotation, decorator: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p3beta1LabelAnnotation::Representation
@@ -27,7 +27,7 @@ module Google
27
27
  # @see https://cloud.google.com/video-intelligence/docs/
28
28
  module VideointelligenceV1beta2
29
29
  VERSION = 'V1beta2'
30
- REVISION = '20200921'
30
+ REVISION = '20201002'
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'
@@ -215,6 +215,38 @@ module Google
215
215
  end
216
216
  end
217
217
 
218
+ # Deprecated. No effect.
219
+ class GoogleCloudVideointelligenceV1FaceAnnotation
220
+ include Google::Apis::Core::Hashable
221
+
222
+ # All video frames where a face was detected.
223
+ # Corresponds to the JSON property `frames`
224
+ # @return [Array<Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1FaceFrame>]
225
+ attr_accessor :frames
226
+
227
+ # All video segments where a face was detected.
228
+ # Corresponds to the JSON property `segments`
229
+ # @return [Array<Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1FaceSegment>]
230
+ attr_accessor :segments
231
+
232
+ # Thumbnail of a representative face view (in JPEG format).
233
+ # Corresponds to the JSON property `thumbnail`
234
+ # NOTE: Values are automatically base64 encoded/decoded in the client library.
235
+ # @return [String]
236
+ attr_accessor :thumbnail
237
+
238
+ def initialize(**args)
239
+ update!(**args)
240
+ end
241
+
242
+ # Update properties of this object
243
+ def update!(**args)
244
+ @frames = args[:frames] if args.key?(:frames)
245
+ @segments = args[:segments] if args.key?(:segments)
246
+ @thumbnail = args[:thumbnail] if args.key?(:thumbnail)
247
+ end
248
+ end
249
+
218
250
  # Face detection annotation.
219
251
  class GoogleCloudVideointelligenceV1FaceDetectionAnnotation
220
252
  include Google::Apis::Core::Hashable
@@ -234,6 +266,52 @@ module Google
234
266
  end
235
267
  end
236
268
 
269
+ # Deprecated. No effect.
270
+ class GoogleCloudVideointelligenceV1FaceFrame
271
+ include Google::Apis::Core::Hashable
272
+
273
+ # Normalized Bounding boxes in a frame. There can be more than one boxes if the
274
+ # same face is detected in multiple locations within the current frame.
275
+ # Corresponds to the JSON property `normalizedBoundingBoxes`
276
+ # @return [Array<Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1NormalizedBoundingBox>]
277
+ attr_accessor :normalized_bounding_boxes
278
+
279
+ # Time-offset, relative to the beginning of the video, corresponding to the
280
+ # video frame for this location.
281
+ # Corresponds to the JSON property `timeOffset`
282
+ # @return [String]
283
+ attr_accessor :time_offset
284
+
285
+ def initialize(**args)
286
+ update!(**args)
287
+ end
288
+
289
+ # Update properties of this object
290
+ def update!(**args)
291
+ @normalized_bounding_boxes = args[:normalized_bounding_boxes] if args.key?(:normalized_bounding_boxes)
292
+ @time_offset = args[:time_offset] if args.key?(:time_offset)
293
+ end
294
+ end
295
+
296
+ # Video segment level annotation results for face detection.
297
+ class GoogleCloudVideointelligenceV1FaceSegment
298
+ include Google::Apis::Core::Hashable
299
+
300
+ # Video segment.
301
+ # Corresponds to the JSON property `segment`
302
+ # @return [Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1VideoSegment]
303
+ attr_accessor :segment
304
+
305
+ def initialize(**args)
306
+ update!(**args)
307
+ end
308
+
309
+ # Update properties of this object
310
+ def update!(**args)
311
+ @segment = args[:segment] if args.key?(:segment)
312
+ end
313
+ end
314
+
237
315
  # Label annotation.
238
316
  class GoogleCloudVideointelligenceV1LabelAnnotation
239
317
  include Google::Apis::Core::Hashable
@@ -875,6 +953,11 @@ module Google
875
953
  # @return [Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1ExplicitContentAnnotation]
876
954
  attr_accessor :explicit_annotation
877
955
 
956
+ # Deprecated. Please use `face_detection_annotations` instead.
957
+ # Corresponds to the JSON property `faceAnnotations`
958
+ # @return [Array<Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1FaceAnnotation>]
959
+ attr_accessor :face_annotations
960
+
878
961
  # Face detection annotations.
879
962
  # Corresponds to the JSON property `faceDetectionAnnotations`
880
963
  # @return [Array<Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1FaceDetectionAnnotation>]
@@ -966,6 +1049,7 @@ module Google
966
1049
  def update!(**args)
967
1050
  @error = args[:error] if args.key?(:error)
968
1051
  @explicit_annotation = args[:explicit_annotation] if args.key?(:explicit_annotation)
1052
+ @face_annotations = args[:face_annotations] if args.key?(:face_annotations)
969
1053
  @face_detection_annotations = args[:face_detection_annotations] if args.key?(:face_detection_annotations)
970
1054
  @frame_label_annotations = args[:frame_label_annotations] if args.key?(:frame_label_annotations)
971
1055
  @input_uri = args[:input_uri] if args.key?(:input_uri)
@@ -1349,6 +1433,38 @@ module Google
1349
1433
  end
1350
1434
  end
1351
1435
 
1436
+ # Deprecated. No effect.
1437
+ class GoogleCloudVideointelligenceV1beta2FaceAnnotation
1438
+ include Google::Apis::Core::Hashable
1439
+
1440
+ # All video frames where a face was detected.
1441
+ # Corresponds to the JSON property `frames`
1442
+ # @return [Array<Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1beta2FaceFrame>]
1443
+ attr_accessor :frames
1444
+
1445
+ # All video segments where a face was detected.
1446
+ # Corresponds to the JSON property `segments`
1447
+ # @return [Array<Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1beta2FaceSegment>]
1448
+ attr_accessor :segments
1449
+
1450
+ # Thumbnail of a representative face view (in JPEG format).
1451
+ # Corresponds to the JSON property `thumbnail`
1452
+ # NOTE: Values are automatically base64 encoded/decoded in the client library.
1453
+ # @return [String]
1454
+ attr_accessor :thumbnail
1455
+
1456
+ def initialize(**args)
1457
+ update!(**args)
1458
+ end
1459
+
1460
+ # Update properties of this object
1461
+ def update!(**args)
1462
+ @frames = args[:frames] if args.key?(:frames)
1463
+ @segments = args[:segments] if args.key?(:segments)
1464
+ @thumbnail = args[:thumbnail] if args.key?(:thumbnail)
1465
+ end
1466
+ end
1467
+
1352
1468
  # Face detection annotation.
1353
1469
  class GoogleCloudVideointelligenceV1beta2FaceDetectionAnnotation
1354
1470
  include Google::Apis::Core::Hashable
@@ -1403,6 +1519,52 @@ module Google
1403
1519
  end
1404
1520
  end
1405
1521
 
1522
+ # Deprecated. No effect.
1523
+ class GoogleCloudVideointelligenceV1beta2FaceFrame
1524
+ include Google::Apis::Core::Hashable
1525
+
1526
+ # Normalized Bounding boxes in a frame. There can be more than one boxes if the
1527
+ # same face is detected in multiple locations within the current frame.
1528
+ # Corresponds to the JSON property `normalizedBoundingBoxes`
1529
+ # @return [Array<Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1beta2NormalizedBoundingBox>]
1530
+ attr_accessor :normalized_bounding_boxes
1531
+
1532
+ # Time-offset, relative to the beginning of the video, corresponding to the
1533
+ # video frame for this location.
1534
+ # Corresponds to the JSON property `timeOffset`
1535
+ # @return [String]
1536
+ attr_accessor :time_offset
1537
+
1538
+ def initialize(**args)
1539
+ update!(**args)
1540
+ end
1541
+
1542
+ # Update properties of this object
1543
+ def update!(**args)
1544
+ @normalized_bounding_boxes = args[:normalized_bounding_boxes] if args.key?(:normalized_bounding_boxes)
1545
+ @time_offset = args[:time_offset] if args.key?(:time_offset)
1546
+ end
1547
+ end
1548
+
1549
+ # Video segment level annotation results for face detection.
1550
+ class GoogleCloudVideointelligenceV1beta2FaceSegment
1551
+ include Google::Apis::Core::Hashable
1552
+
1553
+ # Video segment.
1554
+ # Corresponds to the JSON property `segment`
1555
+ # @return [Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1beta2VideoSegment]
1556
+ attr_accessor :segment
1557
+
1558
+ def initialize(**args)
1559
+ update!(**args)
1560
+ end
1561
+
1562
+ # Update properties of this object
1563
+ def update!(**args)
1564
+ @segment = args[:segment] if args.key?(:segment)
1565
+ end
1566
+ end
1567
+
1406
1568
  # Label annotation.
1407
1569
  class GoogleCloudVideointelligenceV1beta2LabelAnnotation
1408
1570
  include Google::Apis::Core::Hashable
@@ -2326,6 +2488,11 @@ module Google
2326
2488
  # @return [Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1beta2ExplicitContentAnnotation]
2327
2489
  attr_accessor :explicit_annotation
2328
2490
 
2491
+ # Deprecated. Please use `face_detection_annotations` instead.
2492
+ # Corresponds to the JSON property `faceAnnotations`
2493
+ # @return [Array<Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1beta2FaceAnnotation>]
2494
+ attr_accessor :face_annotations
2495
+
2329
2496
  # Face detection annotations.
2330
2497
  # Corresponds to the JSON property `faceDetectionAnnotations`
2331
2498
  # @return [Array<Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1beta2FaceDetectionAnnotation>]
@@ -2417,6 +2584,7 @@ module Google
2417
2584
  def update!(**args)
2418
2585
  @error = args[:error] if args.key?(:error)
2419
2586
  @explicit_annotation = args[:explicit_annotation] if args.key?(:explicit_annotation)
2587
+ @face_annotations = args[:face_annotations] if args.key?(:face_annotations)
2420
2588
  @face_detection_annotations = args[:face_detection_annotations] if args.key?(:face_detection_annotations)
2421
2589
  @frame_label_annotations = args[:frame_label_annotations] if args.key?(:frame_label_annotations)
2422
2590
  @input_uri = args[:input_uri] if args.key?(:input_uri)
@@ -2782,6 +2950,38 @@ module Google
2782
2950
  end
2783
2951
  end
2784
2952
 
2953
+ # Deprecated. No effect.
2954
+ class GoogleCloudVideointelligenceV1p1beta1FaceAnnotation
2955
+ include Google::Apis::Core::Hashable
2956
+
2957
+ # All video frames where a face was detected.
2958
+ # Corresponds to the JSON property `frames`
2959
+ # @return [Array<Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p1beta1FaceFrame>]
2960
+ attr_accessor :frames
2961
+
2962
+ # All video segments where a face was detected.
2963
+ # Corresponds to the JSON property `segments`
2964
+ # @return [Array<Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p1beta1FaceSegment>]
2965
+ attr_accessor :segments
2966
+
2967
+ # Thumbnail of a representative face view (in JPEG format).
2968
+ # Corresponds to the JSON property `thumbnail`
2969
+ # NOTE: Values are automatically base64 encoded/decoded in the client library.
2970
+ # @return [String]
2971
+ attr_accessor :thumbnail
2972
+
2973
+ def initialize(**args)
2974
+ update!(**args)
2975
+ end
2976
+
2977
+ # Update properties of this object
2978
+ def update!(**args)
2979
+ @frames = args[:frames] if args.key?(:frames)
2980
+ @segments = args[:segments] if args.key?(:segments)
2981
+ @thumbnail = args[:thumbnail] if args.key?(:thumbnail)
2982
+ end
2983
+ end
2984
+
2785
2985
  # Face detection annotation.
2786
2986
  class GoogleCloudVideointelligenceV1p1beta1FaceDetectionAnnotation
2787
2987
  include Google::Apis::Core::Hashable
@@ -2801,6 +3001,52 @@ module Google
2801
3001
  end
2802
3002
  end
2803
3003
 
3004
+ # Deprecated. No effect.
3005
+ class GoogleCloudVideointelligenceV1p1beta1FaceFrame
3006
+ include Google::Apis::Core::Hashable
3007
+
3008
+ # Normalized Bounding boxes in a frame. There can be more than one boxes if the
3009
+ # same face is detected in multiple locations within the current frame.
3010
+ # Corresponds to the JSON property `normalizedBoundingBoxes`
3011
+ # @return [Array<Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p1beta1NormalizedBoundingBox>]
3012
+ attr_accessor :normalized_bounding_boxes
3013
+
3014
+ # Time-offset, relative to the beginning of the video, corresponding to the
3015
+ # video frame for this location.
3016
+ # Corresponds to the JSON property `timeOffset`
3017
+ # @return [String]
3018
+ attr_accessor :time_offset
3019
+
3020
+ def initialize(**args)
3021
+ update!(**args)
3022
+ end
3023
+
3024
+ # Update properties of this object
3025
+ def update!(**args)
3026
+ @normalized_bounding_boxes = args[:normalized_bounding_boxes] if args.key?(:normalized_bounding_boxes)
3027
+ @time_offset = args[:time_offset] if args.key?(:time_offset)
3028
+ end
3029
+ end
3030
+
3031
+ # Video segment level annotation results for face detection.
3032
+ class GoogleCloudVideointelligenceV1p1beta1FaceSegment
3033
+ include Google::Apis::Core::Hashable
3034
+
3035
+ # Video segment.
3036
+ # Corresponds to the JSON property `segment`
3037
+ # @return [Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p1beta1VideoSegment]
3038
+ attr_accessor :segment
3039
+
3040
+ def initialize(**args)
3041
+ update!(**args)
3042
+ end
3043
+
3044
+ # Update properties of this object
3045
+ def update!(**args)
3046
+ @segment = args[:segment] if args.key?(:segment)
3047
+ end
3048
+ end
3049
+
2804
3050
  # Label annotation.
2805
3051
  class GoogleCloudVideointelligenceV1p1beta1LabelAnnotation
2806
3052
  include Google::Apis::Core::Hashable
@@ -3442,6 +3688,11 @@ module Google
3442
3688
  # @return [Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p1beta1ExplicitContentAnnotation]
3443
3689
  attr_accessor :explicit_annotation
3444
3690
 
3691
+ # Deprecated. Please use `face_detection_annotations` instead.
3692
+ # Corresponds to the JSON property `faceAnnotations`
3693
+ # @return [Array<Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p1beta1FaceAnnotation>]
3694
+ attr_accessor :face_annotations
3695
+
3445
3696
  # Face detection annotations.
3446
3697
  # Corresponds to the JSON property `faceDetectionAnnotations`
3447
3698
  # @return [Array<Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p1beta1FaceDetectionAnnotation>]
@@ -3533,6 +3784,7 @@ module Google
3533
3784
  def update!(**args)
3534
3785
  @error = args[:error] if args.key?(:error)
3535
3786
  @explicit_annotation = args[:explicit_annotation] if args.key?(:explicit_annotation)
3787
+ @face_annotations = args[:face_annotations] if args.key?(:face_annotations)
3536
3788
  @face_detection_annotations = args[:face_detection_annotations] if args.key?(:face_detection_annotations)
3537
3789
  @frame_label_annotations = args[:frame_label_annotations] if args.key?(:frame_label_annotations)
3538
3790
  @input_uri = args[:input_uri] if args.key?(:input_uri)
@@ -3829,6 +4081,38 @@ module Google
3829
4081
  end
3830
4082
  end
3831
4083
 
4084
+ # Deprecated. No effect.
4085
+ class GoogleCloudVideointelligenceV1p2beta1FaceAnnotation
4086
+ include Google::Apis::Core::Hashable
4087
+
4088
+ # All video frames where a face was detected.
4089
+ # Corresponds to the JSON property `frames`
4090
+ # @return [Array<Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p2beta1FaceFrame>]
4091
+ attr_accessor :frames
4092
+
4093
+ # All video segments where a face was detected.
4094
+ # Corresponds to the JSON property `segments`
4095
+ # @return [Array<Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p2beta1FaceSegment>]
4096
+ attr_accessor :segments
4097
+
4098
+ # Thumbnail of a representative face view (in JPEG format).
4099
+ # Corresponds to the JSON property `thumbnail`
4100
+ # NOTE: Values are automatically base64 encoded/decoded in the client library.
4101
+ # @return [String]
4102
+ attr_accessor :thumbnail
4103
+
4104
+ def initialize(**args)
4105
+ update!(**args)
4106
+ end
4107
+
4108
+ # Update properties of this object
4109
+ def update!(**args)
4110
+ @frames = args[:frames] if args.key?(:frames)
4111
+ @segments = args[:segments] if args.key?(:segments)
4112
+ @thumbnail = args[:thumbnail] if args.key?(:thumbnail)
4113
+ end
4114
+ end
4115
+
3832
4116
  # Face detection annotation.
3833
4117
  class GoogleCloudVideointelligenceV1p2beta1FaceDetectionAnnotation
3834
4118
  include Google::Apis::Core::Hashable
@@ -3848,6 +4132,52 @@ module Google
3848
4132
  end
3849
4133
  end
3850
4134
 
4135
+ # Deprecated. No effect.
4136
+ class GoogleCloudVideointelligenceV1p2beta1FaceFrame
4137
+ include Google::Apis::Core::Hashable
4138
+
4139
+ # Normalized Bounding boxes in a frame. There can be more than one boxes if the
4140
+ # same face is detected in multiple locations within the current frame.
4141
+ # Corresponds to the JSON property `normalizedBoundingBoxes`
4142
+ # @return [Array<Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p2beta1NormalizedBoundingBox>]
4143
+ attr_accessor :normalized_bounding_boxes
4144
+
4145
+ # Time-offset, relative to the beginning of the video, corresponding to the
4146
+ # video frame for this location.
4147
+ # Corresponds to the JSON property `timeOffset`
4148
+ # @return [String]
4149
+ attr_accessor :time_offset
4150
+
4151
+ def initialize(**args)
4152
+ update!(**args)
4153
+ end
4154
+
4155
+ # Update properties of this object
4156
+ def update!(**args)
4157
+ @normalized_bounding_boxes = args[:normalized_bounding_boxes] if args.key?(:normalized_bounding_boxes)
4158
+ @time_offset = args[:time_offset] if args.key?(:time_offset)
4159
+ end
4160
+ end
4161
+
4162
+ # Video segment level annotation results for face detection.
4163
+ class GoogleCloudVideointelligenceV1p2beta1FaceSegment
4164
+ include Google::Apis::Core::Hashable
4165
+
4166
+ # Video segment.
4167
+ # Corresponds to the JSON property `segment`
4168
+ # @return [Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p2beta1VideoSegment]
4169
+ attr_accessor :segment
4170
+
4171
+ def initialize(**args)
4172
+ update!(**args)
4173
+ end
4174
+
4175
+ # Update properties of this object
4176
+ def update!(**args)
4177
+ @segment = args[:segment] if args.key?(:segment)
4178
+ end
4179
+ end
4180
+
3851
4181
  # Label annotation.
3852
4182
  class GoogleCloudVideointelligenceV1p2beta1LabelAnnotation
3853
4183
  include Google::Apis::Core::Hashable
@@ -4489,6 +4819,11 @@ module Google
4489
4819
  # @return [Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p2beta1ExplicitContentAnnotation]
4490
4820
  attr_accessor :explicit_annotation
4491
4821
 
4822
+ # Deprecated. Please use `face_detection_annotations` instead.
4823
+ # Corresponds to the JSON property `faceAnnotations`
4824
+ # @return [Array<Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p2beta1FaceAnnotation>]
4825
+ attr_accessor :face_annotations
4826
+
4492
4827
  # Face detection annotations.
4493
4828
  # Corresponds to the JSON property `faceDetectionAnnotations`
4494
4829
  # @return [Array<Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p2beta1FaceDetectionAnnotation>]
@@ -4580,6 +4915,7 @@ module Google
4580
4915
  def update!(**args)
4581
4916
  @error = args[:error] if args.key?(:error)
4582
4917
  @explicit_annotation = args[:explicit_annotation] if args.key?(:explicit_annotation)
4918
+ @face_annotations = args[:face_annotations] if args.key?(:face_annotations)
4583
4919
  @face_detection_annotations = args[:face_detection_annotations] if args.key?(:face_detection_annotations)
4584
4920
  @frame_label_annotations = args[:frame_label_annotations] if args.key?(:frame_label_annotations)
4585
4921
  @input_uri = args[:input_uri] if args.key?(:input_uri)
@@ -4962,6 +5298,38 @@ module Google
4962
5298
  end
4963
5299
  end
4964
5300
 
5301
+ # Deprecated. No effect.
5302
+ class GoogleCloudVideointelligenceV1p3beta1FaceAnnotation
5303
+ include Google::Apis::Core::Hashable
5304
+
5305
+ # All video frames where a face was detected.
5306
+ # Corresponds to the JSON property `frames`
5307
+ # @return [Array<Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p3beta1FaceFrame>]
5308
+ attr_accessor :frames
5309
+
5310
+ # All video segments where a face was detected.
5311
+ # Corresponds to the JSON property `segments`
5312
+ # @return [Array<Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p3beta1FaceSegment>]
5313
+ attr_accessor :segments
5314
+
5315
+ # Thumbnail of a representative face view (in JPEG format).
5316
+ # Corresponds to the JSON property `thumbnail`
5317
+ # NOTE: Values are automatically base64 encoded/decoded in the client library.
5318
+ # @return [String]
5319
+ attr_accessor :thumbnail
5320
+
5321
+ def initialize(**args)
5322
+ update!(**args)
5323
+ end
5324
+
5325
+ # Update properties of this object
5326
+ def update!(**args)
5327
+ @frames = args[:frames] if args.key?(:frames)
5328
+ @segments = args[:segments] if args.key?(:segments)
5329
+ @thumbnail = args[:thumbnail] if args.key?(:thumbnail)
5330
+ end
5331
+ end
5332
+
4965
5333
  # Face detection annotation.
4966
5334
  class GoogleCloudVideointelligenceV1p3beta1FaceDetectionAnnotation
4967
5335
  include Google::Apis::Core::Hashable
@@ -4981,6 +5349,52 @@ module Google
4981
5349
  end
4982
5350
  end
4983
5351
 
5352
+ # Deprecated. No effect.
5353
+ class GoogleCloudVideointelligenceV1p3beta1FaceFrame
5354
+ include Google::Apis::Core::Hashable
5355
+
5356
+ # Normalized Bounding boxes in a frame. There can be more than one boxes if the
5357
+ # same face is detected in multiple locations within the current frame.
5358
+ # Corresponds to the JSON property `normalizedBoundingBoxes`
5359
+ # @return [Array<Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p3beta1NormalizedBoundingBox>]
5360
+ attr_accessor :normalized_bounding_boxes
5361
+
5362
+ # Time-offset, relative to the beginning of the video, corresponding to the
5363
+ # video frame for this location.
5364
+ # Corresponds to the JSON property `timeOffset`
5365
+ # @return [String]
5366
+ attr_accessor :time_offset
5367
+
5368
+ def initialize(**args)
5369
+ update!(**args)
5370
+ end
5371
+
5372
+ # Update properties of this object
5373
+ def update!(**args)
5374
+ @normalized_bounding_boxes = args[:normalized_bounding_boxes] if args.key?(:normalized_bounding_boxes)
5375
+ @time_offset = args[:time_offset] if args.key?(:time_offset)
5376
+ end
5377
+ end
5378
+
5379
+ # Video segment level annotation results for face detection.
5380
+ class GoogleCloudVideointelligenceV1p3beta1FaceSegment
5381
+ include Google::Apis::Core::Hashable
5382
+
5383
+ # Video segment.
5384
+ # Corresponds to the JSON property `segment`
5385
+ # @return [Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p3beta1VideoSegment]
5386
+ attr_accessor :segment
5387
+
5388
+ def initialize(**args)
5389
+ update!(**args)
5390
+ end
5391
+
5392
+ # Update properties of this object
5393
+ def update!(**args)
5394
+ @segment = args[:segment] if args.key?(:segment)
5395
+ end
5396
+ end
5397
+
4984
5398
  # Label annotation.
4985
5399
  class GoogleCloudVideointelligenceV1p3beta1LabelAnnotation
4986
5400
  include Google::Apis::Core::Hashable
@@ -5407,7 +5821,8 @@ module Google
5407
5821
  include Google::Apis::Core::Hashable
5408
5822
 
5409
5823
  # Streaming annotation results corresponding to a portion of the video that is
5410
- # currently being processed.
5824
+ # currently being processed. Only ONE type of annotation will be specified in
5825
+ # the response.
5411
5826
  # Corresponds to the JSON property `annotationResults`
5412
5827
  # @return [Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p3beta1StreamingVideoAnnotationResults]
5413
5828
  attr_accessor :annotation_results
@@ -5442,7 +5857,8 @@ module Google
5442
5857
  end
5443
5858
 
5444
5859
  # Streaming annotation results corresponding to a portion of the video that is
5445
- # currently being processed.
5860
+ # currently being processed. Only ONE type of annotation will be specified in
5861
+ # the response.
5446
5862
  class GoogleCloudVideointelligenceV1p3beta1StreamingVideoAnnotationResults
5447
5863
  include Google::Apis::Core::Hashable
5448
5864
 
@@ -5453,6 +5869,11 @@ module Google
5453
5869
  # @return [Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p3beta1ExplicitContentAnnotation]
5454
5870
  attr_accessor :explicit_annotation
5455
5871
 
5872
+ # Timestamp of the processed frame in microseconds.
5873
+ # Corresponds to the JSON property `frameTimestamp`
5874
+ # @return [String]
5875
+ attr_accessor :frame_timestamp
5876
+
5456
5877
  # Label annotation results.
5457
5878
  # Corresponds to the JSON property `labelAnnotations`
5458
5879
  # @return [Array<Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p3beta1LabelAnnotation>]
@@ -5475,6 +5896,7 @@ module Google
5475
5896
  # Update properties of this object
5476
5897
  def update!(**args)
5477
5898
  @explicit_annotation = args[:explicit_annotation] if args.key?(:explicit_annotation)
5899
+ @frame_timestamp = args[:frame_timestamp] if args.key?(:frame_timestamp)
5478
5900
  @label_annotations = args[:label_annotations] if args.key?(:label_annotations)
5479
5901
  @object_annotations = args[:object_annotations] if args.key?(:object_annotations)
5480
5902
  @shot_annotations = args[:shot_annotations] if args.key?(:shot_annotations)
@@ -5733,6 +6155,11 @@ module Google
5733
6155
  # @return [Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p3beta1ExplicitContentAnnotation]
5734
6156
  attr_accessor :explicit_annotation
5735
6157
 
6158
+ # Deprecated. Please use `face_detection_annotations` instead.
6159
+ # Corresponds to the JSON property `faceAnnotations`
6160
+ # @return [Array<Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p3beta1FaceAnnotation>]
6161
+ attr_accessor :face_annotations
6162
+
5736
6163
  # Face detection annotations.
5737
6164
  # Corresponds to the JSON property `faceDetectionAnnotations`
5738
6165
  # @return [Array<Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p3beta1FaceDetectionAnnotation>]
@@ -5825,6 +6252,7 @@ module Google
5825
6252
  @celebrity_recognition_annotations = args[:celebrity_recognition_annotations] if args.key?(:celebrity_recognition_annotations)
5826
6253
  @error = args[:error] if args.key?(:error)
5827
6254
  @explicit_annotation = args[:explicit_annotation] if args.key?(:explicit_annotation)
6255
+ @face_annotations = args[:face_annotations] if args.key?(:face_annotations)
5828
6256
  @face_detection_annotations = args[:face_detection_annotations] if args.key?(:face_detection_annotations)
5829
6257
  @frame_label_annotations = args[:frame_label_annotations] if args.key?(:frame_label_annotations)
5830
6258
  @input_uri = args[:input_uri] if args.key?(:input_uri)