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
@@ -64,12 +64,30 @@ module Google
64
64
  include Google::Apis::Core::JsonObjectSupport
65
65
  end
66
66
 
67
+ class GoogleCloudVideointelligenceV1FaceAnnotation
68
+ class Representation < Google::Apis::Core::JsonRepresentation; end
69
+
70
+ include Google::Apis::Core::JsonObjectSupport
71
+ end
72
+
67
73
  class GoogleCloudVideointelligenceV1FaceDetectionAnnotation
68
74
  class Representation < Google::Apis::Core::JsonRepresentation; end
69
75
 
70
76
  include Google::Apis::Core::JsonObjectSupport
71
77
  end
72
78
 
79
+ class GoogleCloudVideointelligenceV1FaceFrame
80
+ class Representation < Google::Apis::Core::JsonRepresentation; end
81
+
82
+ include Google::Apis::Core::JsonObjectSupport
83
+ end
84
+
85
+ class GoogleCloudVideointelligenceV1FaceSegment
86
+ class Representation < Google::Apis::Core::JsonRepresentation; end
87
+
88
+ include Google::Apis::Core::JsonObjectSupport
89
+ end
90
+
73
91
  class GoogleCloudVideointelligenceV1LabelAnnotation
74
92
  class Representation < Google::Apis::Core::JsonRepresentation; end
75
93
 
@@ -238,12 +256,30 @@ module Google
238
256
  include Google::Apis::Core::JsonObjectSupport
239
257
  end
240
258
 
259
+ class GoogleCloudVideointelligenceV1beta2FaceAnnotation
260
+ class Representation < Google::Apis::Core::JsonRepresentation; end
261
+
262
+ include Google::Apis::Core::JsonObjectSupport
263
+ end
264
+
241
265
  class GoogleCloudVideointelligenceV1beta2FaceDetectionAnnotation
242
266
  class Representation < Google::Apis::Core::JsonRepresentation; end
243
267
 
244
268
  include Google::Apis::Core::JsonObjectSupport
245
269
  end
246
270
 
271
+ class GoogleCloudVideointelligenceV1beta2FaceFrame
272
+ class Representation < Google::Apis::Core::JsonRepresentation; end
273
+
274
+ include Google::Apis::Core::JsonObjectSupport
275
+ end
276
+
277
+ class GoogleCloudVideointelligenceV1beta2FaceSegment
278
+ class Representation < Google::Apis::Core::JsonRepresentation; end
279
+
280
+ include Google::Apis::Core::JsonObjectSupport
281
+ end
282
+
247
283
  class GoogleCloudVideointelligenceV1beta2LabelAnnotation
248
284
  class Representation < Google::Apis::Core::JsonRepresentation; end
249
285
 
@@ -424,6 +460,12 @@ module Google
424
460
  include Google::Apis::Core::JsonObjectSupport
425
461
  end
426
462
 
463
+ class GoogleCloudVideointelligenceV1p1beta1FaceAnnotation
464
+ class Representation < Google::Apis::Core::JsonRepresentation; end
465
+
466
+ include Google::Apis::Core::JsonObjectSupport
467
+ end
468
+
427
469
  class GoogleCloudVideointelligenceV1p1beta1FaceDetectionAnnotation
428
470
  class Representation < Google::Apis::Core::JsonRepresentation; end
429
471
 
@@ -436,6 +478,18 @@ module Google
436
478
  include Google::Apis::Core::JsonObjectSupport
437
479
  end
438
480
 
481
+ class GoogleCloudVideointelligenceV1p1beta1FaceFrame
482
+ class Representation < Google::Apis::Core::JsonRepresentation; end
483
+
484
+ include Google::Apis::Core::JsonObjectSupport
485
+ end
486
+
487
+ class GoogleCloudVideointelligenceV1p1beta1FaceSegment
488
+ class Representation < Google::Apis::Core::JsonRepresentation; end
489
+
490
+ include Google::Apis::Core::JsonObjectSupport
491
+ end
492
+
439
493
  class GoogleCloudVideointelligenceV1p1beta1LabelAnnotation
440
494
  class Representation < Google::Apis::Core::JsonRepresentation; end
441
495
 
@@ -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
 
@@ -1067,6 +1157,17 @@ module Google
1067
1157
  end
1068
1158
  end
1069
1159
 
1160
+ class GoogleCloudVideointelligenceV1FaceAnnotation
1161
+ # @private
1162
+ class Representation < Google::Apis::Core::JsonRepresentation
1163
+ collection :frames, as: 'frames', class: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1FaceFrame, decorator: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1FaceFrame::Representation
1164
+
1165
+ collection :segments, as: 'segments', class: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1FaceSegment, decorator: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1FaceSegment::Representation
1166
+
1167
+ property :thumbnail, :base64 => true, as: 'thumbnail'
1168
+ end
1169
+ end
1170
+
1070
1171
  class GoogleCloudVideointelligenceV1FaceDetectionAnnotation
1071
1172
  # @private
1072
1173
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1074,6 +1175,23 @@ module Google
1074
1175
  end
1075
1176
  end
1076
1177
 
1178
+ class GoogleCloudVideointelligenceV1FaceFrame
1179
+ # @private
1180
+ class Representation < Google::Apis::Core::JsonRepresentation
1181
+ collection :normalized_bounding_boxes, as: 'normalizedBoundingBoxes', class: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1NormalizedBoundingBox, decorator: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1NormalizedBoundingBox::Representation
1182
+
1183
+ property :time_offset, as: 'timeOffset'
1184
+ end
1185
+ end
1186
+
1187
+ class GoogleCloudVideointelligenceV1FaceSegment
1188
+ # @private
1189
+ class Representation < Google::Apis::Core::JsonRepresentation
1190
+ property :segment, as: 'segment', class: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1VideoSegment, decorator: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1VideoSegment::Representation
1191
+
1192
+ end
1193
+ end
1194
+
1077
1195
  class GoogleCloudVideointelligenceV1LabelAnnotation
1078
1196
  # @private
1079
1197
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1272,6 +1390,8 @@ module Google
1272
1390
 
1273
1391
  property :explicit_annotation, as: 'explicitAnnotation', class: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1ExplicitContentAnnotation, decorator: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1ExplicitContentAnnotation::Representation
1274
1392
 
1393
+ collection :face_annotations, as: 'faceAnnotations', class: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1FaceAnnotation, decorator: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1FaceAnnotation::Representation
1394
+
1275
1395
  collection :face_detection_annotations, as: 'faceDetectionAnnotations', class: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1FaceDetectionAnnotation, decorator: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1FaceDetectionAnnotation::Representation
1276
1396
 
1277
1397
  collection :frame_label_annotations, as: 'frameLabelAnnotations', class: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1LabelAnnotation, decorator: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1LabelAnnotation::Representation
@@ -1382,6 +1502,17 @@ module Google
1382
1502
  end
1383
1503
  end
1384
1504
 
1505
+ class GoogleCloudVideointelligenceV1beta2FaceAnnotation
1506
+ # @private
1507
+ class Representation < Google::Apis::Core::JsonRepresentation
1508
+ collection :frames, as: 'frames', class: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1beta2FaceFrame, decorator: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1beta2FaceFrame::Representation
1509
+
1510
+ collection :segments, as: 'segments', class: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1beta2FaceSegment, decorator: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1beta2FaceSegment::Representation
1511
+
1512
+ property :thumbnail, :base64 => true, as: 'thumbnail'
1513
+ end
1514
+ end
1515
+
1385
1516
  class GoogleCloudVideointelligenceV1beta2FaceDetectionAnnotation
1386
1517
  # @private
1387
1518
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1389,6 +1520,23 @@ module Google
1389
1520
  end
1390
1521
  end
1391
1522
 
1523
+ class GoogleCloudVideointelligenceV1beta2FaceFrame
1524
+ # @private
1525
+ class Representation < Google::Apis::Core::JsonRepresentation
1526
+ collection :normalized_bounding_boxes, as: 'normalizedBoundingBoxes', class: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1beta2NormalizedBoundingBox, decorator: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1beta2NormalizedBoundingBox::Representation
1527
+
1528
+ property :time_offset, as: 'timeOffset'
1529
+ end
1530
+ end
1531
+
1532
+ class GoogleCloudVideointelligenceV1beta2FaceSegment
1533
+ # @private
1534
+ class Representation < Google::Apis::Core::JsonRepresentation
1535
+ property :segment, as: 'segment', class: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1beta2VideoSegment, decorator: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1beta2VideoSegment::Representation
1536
+
1537
+ end
1538
+ end
1539
+
1392
1540
  class GoogleCloudVideointelligenceV1beta2LabelAnnotation
1393
1541
  # @private
1394
1542
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1587,6 +1735,8 @@ module Google
1587
1735
 
1588
1736
  property :explicit_annotation, as: 'explicitAnnotation', class: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1beta2ExplicitContentAnnotation, decorator: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1beta2ExplicitContentAnnotation::Representation
1589
1737
 
1738
+ collection :face_annotations, as: 'faceAnnotations', class: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1beta2FaceAnnotation, decorator: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1beta2FaceAnnotation::Representation
1739
+
1590
1740
  collection :face_detection_annotations, as: 'faceDetectionAnnotations', class: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1beta2FaceDetectionAnnotation, decorator: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1beta2FaceDetectionAnnotation::Representation
1591
1741
 
1592
1742
  collection :frame_label_annotations, as: 'frameLabelAnnotations', class: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1beta2LabelAnnotation, decorator: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1beta2LabelAnnotation::Representation
@@ -1717,6 +1867,17 @@ module Google
1717
1867
  end
1718
1868
  end
1719
1869
 
1870
+ class GoogleCloudVideointelligenceV1p1beta1FaceAnnotation
1871
+ # @private
1872
+ class Representation < Google::Apis::Core::JsonRepresentation
1873
+ collection :frames, as: 'frames', class: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p1beta1FaceFrame, decorator: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p1beta1FaceFrame::Representation
1874
+
1875
+ collection :segments, as: 'segments', class: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p1beta1FaceSegment, decorator: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p1beta1FaceSegment::Representation
1876
+
1877
+ property :thumbnail, :base64 => true, as: 'thumbnail'
1878
+ end
1879
+ end
1880
+
1720
1881
  class GoogleCloudVideointelligenceV1p1beta1FaceDetectionAnnotation
1721
1882
  # @private
1722
1883
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1733,6 +1894,23 @@ module Google
1733
1894
  end
1734
1895
  end
1735
1896
 
1897
+ class GoogleCloudVideointelligenceV1p1beta1FaceFrame
1898
+ # @private
1899
+ class Representation < Google::Apis::Core::JsonRepresentation
1900
+ collection :normalized_bounding_boxes, as: 'normalizedBoundingBoxes', class: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p1beta1NormalizedBoundingBox, decorator: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p1beta1NormalizedBoundingBox::Representation
1901
+
1902
+ property :time_offset, as: 'timeOffset'
1903
+ end
1904
+ end
1905
+
1906
+ class GoogleCloudVideointelligenceV1p1beta1FaceSegment
1907
+ # @private
1908
+ class Representation < Google::Apis::Core::JsonRepresentation
1909
+ property :segment, as: 'segment', class: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p1beta1VideoSegment, decorator: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p1beta1VideoSegment::Representation
1910
+
1911
+ end
1912
+ end
1913
+
1736
1914
  class GoogleCloudVideointelligenceV1p1beta1LabelAnnotation
1737
1915
  # @private
1738
1916
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1996,6 +2174,8 @@ module Google
1996
2174
 
1997
2175
  property :explicit_annotation, as: 'explicitAnnotation', class: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p1beta1ExplicitContentAnnotation, decorator: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p1beta1ExplicitContentAnnotation::Representation
1998
2176
 
2177
+ collection :face_annotations, as: 'faceAnnotations', class: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p1beta1FaceAnnotation, decorator: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p1beta1FaceAnnotation::Representation
2178
+
1999
2179
  collection :face_detection_annotations, as: 'faceDetectionAnnotations', class: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p1beta1FaceDetectionAnnotation, decorator: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p1beta1FaceDetectionAnnotation::Representation
2000
2180
 
2001
2181
  collection :frame_label_annotations, as: 'frameLabelAnnotations', class: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p1beta1LabelAnnotation, decorator: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p1beta1LabelAnnotation::Representation
@@ -2130,6 +2310,17 @@ module Google
2130
2310
  end
2131
2311
  end
2132
2312
 
2313
+ class GoogleCloudVideointelligenceV1p2beta1FaceAnnotation
2314
+ # @private
2315
+ class Representation < Google::Apis::Core::JsonRepresentation
2316
+ collection :frames, as: 'frames', class: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p2beta1FaceFrame, decorator: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p2beta1FaceFrame::Representation
2317
+
2318
+ collection :segments, as: 'segments', class: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p2beta1FaceSegment, decorator: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p2beta1FaceSegment::Representation
2319
+
2320
+ property :thumbnail, :base64 => true, as: 'thumbnail'
2321
+ end
2322
+ end
2323
+
2133
2324
  class GoogleCloudVideointelligenceV1p2beta1FaceDetectionAnnotation
2134
2325
  # @private
2135
2326
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2137,6 +2328,23 @@ module Google
2137
2328
  end
2138
2329
  end
2139
2330
 
2331
+ class GoogleCloudVideointelligenceV1p2beta1FaceFrame
2332
+ # @private
2333
+ class Representation < Google::Apis::Core::JsonRepresentation
2334
+ collection :normalized_bounding_boxes, as: 'normalizedBoundingBoxes', class: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p2beta1NormalizedBoundingBox, decorator: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p2beta1NormalizedBoundingBox::Representation
2335
+
2336
+ property :time_offset, as: 'timeOffset'
2337
+ end
2338
+ end
2339
+
2340
+ class GoogleCloudVideointelligenceV1p2beta1FaceSegment
2341
+ # @private
2342
+ class Representation < Google::Apis::Core::JsonRepresentation
2343
+ property :segment, as: 'segment', class: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p2beta1VideoSegment, decorator: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p2beta1VideoSegment::Representation
2344
+
2345
+ end
2346
+ end
2347
+
2140
2348
  class GoogleCloudVideointelligenceV1p2beta1LabelAnnotation
2141
2349
  # @private
2142
2350
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2335,6 +2543,8 @@ module Google
2335
2543
 
2336
2544
  property :explicit_annotation, as: 'explicitAnnotation', class: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p2beta1ExplicitContentAnnotation, decorator: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p2beta1ExplicitContentAnnotation::Representation
2337
2545
 
2546
+ collection :face_annotations, as: 'faceAnnotations', class: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p2beta1FaceAnnotation, decorator: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p2beta1FaceAnnotation::Representation
2547
+
2338
2548
  collection :face_detection_annotations, as: 'faceDetectionAnnotations', class: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p2beta1FaceDetectionAnnotation, decorator: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p2beta1FaceDetectionAnnotation::Representation
2339
2549
 
2340
2550
  collection :frame_label_annotations, as: 'frameLabelAnnotations', class: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p2beta1LabelAnnotation, decorator: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p2beta1LabelAnnotation::Representation
@@ -2473,6 +2683,17 @@ module Google
2473
2683
  end
2474
2684
  end
2475
2685
 
2686
+ class GoogleCloudVideointelligenceV1p3beta1FaceAnnotation
2687
+ # @private
2688
+ class Representation < Google::Apis::Core::JsonRepresentation
2689
+ collection :frames, as: 'frames', class: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p3beta1FaceFrame, decorator: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p3beta1FaceFrame::Representation
2690
+
2691
+ collection :segments, as: 'segments', class: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p3beta1FaceSegment, decorator: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p3beta1FaceSegment::Representation
2692
+
2693
+ property :thumbnail, :base64 => true, as: 'thumbnail'
2694
+ end
2695
+ end
2696
+
2476
2697
  class GoogleCloudVideointelligenceV1p3beta1FaceDetectionAnnotation
2477
2698
  # @private
2478
2699
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2480,6 +2701,23 @@ module Google
2480
2701
  end
2481
2702
  end
2482
2703
 
2704
+ class GoogleCloudVideointelligenceV1p3beta1FaceFrame
2705
+ # @private
2706
+ class Representation < Google::Apis::Core::JsonRepresentation
2707
+ collection :normalized_bounding_boxes, as: 'normalizedBoundingBoxes', class: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p3beta1NormalizedBoundingBox, decorator: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p3beta1NormalizedBoundingBox::Representation
2708
+
2709
+ property :time_offset, as: 'timeOffset'
2710
+ end
2711
+ end
2712
+
2713
+ class GoogleCloudVideointelligenceV1p3beta1FaceSegment
2714
+ # @private
2715
+ class Representation < Google::Apis::Core::JsonRepresentation
2716
+ property :segment, as: 'segment', class: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p3beta1VideoSegment, decorator: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p3beta1VideoSegment::Representation
2717
+
2718
+ end
2719
+ end
2720
+
2483
2721
  class GoogleCloudVideointelligenceV1p3beta1LabelAnnotation
2484
2722
  # @private
2485
2723
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2627,6 +2865,7 @@ module Google
2627
2865
  class Representation < Google::Apis::Core::JsonRepresentation
2628
2866
  property :explicit_annotation, as: 'explicitAnnotation', class: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p3beta1ExplicitContentAnnotation, decorator: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p3beta1ExplicitContentAnnotation::Representation
2629
2867
 
2868
+ property :frame_timestamp, as: 'frameTimestamp'
2630
2869
  collection :label_annotations, as: 'labelAnnotations', class: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p3beta1LabelAnnotation, decorator: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p3beta1LabelAnnotation::Representation
2631
2870
 
2632
2871
  collection :object_annotations, as: 'objectAnnotations', class: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p3beta1ObjectTrackingAnnotation, decorator: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p3beta1ObjectTrackingAnnotation::Representation
@@ -2714,6 +2953,8 @@ module Google
2714
2953
 
2715
2954
  property :explicit_annotation, as: 'explicitAnnotation', class: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p3beta1ExplicitContentAnnotation, decorator: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p3beta1ExplicitContentAnnotation::Representation
2716
2955
 
2956
+ collection :face_annotations, as: 'faceAnnotations', class: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p3beta1FaceAnnotation, decorator: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p3beta1FaceAnnotation::Representation
2957
+
2717
2958
  collection :face_detection_annotations, as: 'faceDetectionAnnotations', class: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p3beta1FaceDetectionAnnotation, decorator: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p3beta1FaceDetectionAnnotation::Representation
2718
2959
 
2719
2960
  collection :frame_label_annotations, as: 'frameLabelAnnotations', class: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p3beta1LabelAnnotation, decorator: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p3beta1LabelAnnotation::Representation
@@ -27,7 +27,7 @@ module Google
27
27
  # @see https://cloud.google.com/video-intelligence/docs/
28
28
  module VideointelligenceV1p2beta1
29
29
  VERSION = 'V1p2beta1'
30
- REVISION = '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::VideointelligenceV1p2beta1::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::VideointelligenceV1p2beta1::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::VideointelligenceV1p2beta1::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::VideointelligenceV1p2beta1::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::VideointelligenceV1p2beta1::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::VideointelligenceV1p2beta1::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::VideointelligenceV1p2beta1::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)
@@ -1262,6 +1346,38 @@ module Google
1262
1346
  end
1263
1347
  end
1264
1348
 
1349
+ # Deprecated. No effect.
1350
+ class GoogleCloudVideointelligenceV1beta2FaceAnnotation
1351
+ include Google::Apis::Core::Hashable
1352
+
1353
+ # All video frames where a face was detected.
1354
+ # Corresponds to the JSON property `frames`
1355
+ # @return [Array<Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1beta2FaceFrame>]
1356
+ attr_accessor :frames
1357
+
1358
+ # All video segments where a face was detected.
1359
+ # Corresponds to the JSON property `segments`
1360
+ # @return [Array<Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1beta2FaceSegment>]
1361
+ attr_accessor :segments
1362
+
1363
+ # Thumbnail of a representative face view (in JPEG format).
1364
+ # Corresponds to the JSON property `thumbnail`
1365
+ # NOTE: Values are automatically base64 encoded/decoded in the client library.
1366
+ # @return [String]
1367
+ attr_accessor :thumbnail
1368
+
1369
+ def initialize(**args)
1370
+ update!(**args)
1371
+ end
1372
+
1373
+ # Update properties of this object
1374
+ def update!(**args)
1375
+ @frames = args[:frames] if args.key?(:frames)
1376
+ @segments = args[:segments] if args.key?(:segments)
1377
+ @thumbnail = args[:thumbnail] if args.key?(:thumbnail)
1378
+ end
1379
+ end
1380
+
1265
1381
  # Face detection annotation.
1266
1382
  class GoogleCloudVideointelligenceV1beta2FaceDetectionAnnotation
1267
1383
  include Google::Apis::Core::Hashable
@@ -1281,6 +1397,52 @@ module Google
1281
1397
  end
1282
1398
  end
1283
1399
 
1400
+ # Deprecated. No effect.
1401
+ class GoogleCloudVideointelligenceV1beta2FaceFrame
1402
+ include Google::Apis::Core::Hashable
1403
+
1404
+ # Normalized Bounding boxes in a frame. There can be more than one boxes if the
1405
+ # same face is detected in multiple locations within the current frame.
1406
+ # Corresponds to the JSON property `normalizedBoundingBoxes`
1407
+ # @return [Array<Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1beta2NormalizedBoundingBox>]
1408
+ attr_accessor :normalized_bounding_boxes
1409
+
1410
+ # Time-offset, relative to the beginning of the video, corresponding to the
1411
+ # video frame for this location.
1412
+ # Corresponds to the JSON property `timeOffset`
1413
+ # @return [String]
1414
+ attr_accessor :time_offset
1415
+
1416
+ def initialize(**args)
1417
+ update!(**args)
1418
+ end
1419
+
1420
+ # Update properties of this object
1421
+ def update!(**args)
1422
+ @normalized_bounding_boxes = args[:normalized_bounding_boxes] if args.key?(:normalized_bounding_boxes)
1423
+ @time_offset = args[:time_offset] if args.key?(:time_offset)
1424
+ end
1425
+ end
1426
+
1427
+ # Video segment level annotation results for face detection.
1428
+ class GoogleCloudVideointelligenceV1beta2FaceSegment
1429
+ include Google::Apis::Core::Hashable
1430
+
1431
+ # Video segment.
1432
+ # Corresponds to the JSON property `segment`
1433
+ # @return [Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1beta2VideoSegment]
1434
+ attr_accessor :segment
1435
+
1436
+ def initialize(**args)
1437
+ update!(**args)
1438
+ end
1439
+
1440
+ # Update properties of this object
1441
+ def update!(**args)
1442
+ @segment = args[:segment] if args.key?(:segment)
1443
+ end
1444
+ end
1445
+
1284
1446
  # Label annotation.
1285
1447
  class GoogleCloudVideointelligenceV1beta2LabelAnnotation
1286
1448
  include Google::Apis::Core::Hashable
@@ -1922,6 +2084,11 @@ module Google
1922
2084
  # @return [Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1beta2ExplicitContentAnnotation]
1923
2085
  attr_accessor :explicit_annotation
1924
2086
 
2087
+ # Deprecated. Please use `face_detection_annotations` instead.
2088
+ # Corresponds to the JSON property `faceAnnotations`
2089
+ # @return [Array<Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1beta2FaceAnnotation>]
2090
+ attr_accessor :face_annotations
2091
+
1925
2092
  # Face detection annotations.
1926
2093
  # Corresponds to the JSON property `faceDetectionAnnotations`
1927
2094
  # @return [Array<Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1beta2FaceDetectionAnnotation>]
@@ -2013,6 +2180,7 @@ module Google
2013
2180
  def update!(**args)
2014
2181
  @error = args[:error] if args.key?(:error)
2015
2182
  @explicit_annotation = args[:explicit_annotation] if args.key?(:explicit_annotation)
2183
+ @face_annotations = args[:face_annotations] if args.key?(:face_annotations)
2016
2184
  @face_detection_annotations = args[:face_detection_annotations] if args.key?(:face_detection_annotations)
2017
2185
  @frame_label_annotations = args[:frame_label_annotations] if args.key?(:frame_label_annotations)
2018
2186
  @input_uri = args[:input_uri] if args.key?(:input_uri)
@@ -2309,6 +2477,38 @@ module Google
2309
2477
  end
2310
2478
  end
2311
2479
 
2480
+ # Deprecated. No effect.
2481
+ class GoogleCloudVideointelligenceV1p1beta1FaceAnnotation
2482
+ include Google::Apis::Core::Hashable
2483
+
2484
+ # All video frames where a face was detected.
2485
+ # Corresponds to the JSON property `frames`
2486
+ # @return [Array<Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p1beta1FaceFrame>]
2487
+ attr_accessor :frames
2488
+
2489
+ # All video segments where a face was detected.
2490
+ # Corresponds to the JSON property `segments`
2491
+ # @return [Array<Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p1beta1FaceSegment>]
2492
+ attr_accessor :segments
2493
+
2494
+ # Thumbnail of a representative face view (in JPEG format).
2495
+ # Corresponds to the JSON property `thumbnail`
2496
+ # NOTE: Values are automatically base64 encoded/decoded in the client library.
2497
+ # @return [String]
2498
+ attr_accessor :thumbnail
2499
+
2500
+ def initialize(**args)
2501
+ update!(**args)
2502
+ end
2503
+
2504
+ # Update properties of this object
2505
+ def update!(**args)
2506
+ @frames = args[:frames] if args.key?(:frames)
2507
+ @segments = args[:segments] if args.key?(:segments)
2508
+ @thumbnail = args[:thumbnail] if args.key?(:thumbnail)
2509
+ end
2510
+ end
2511
+
2312
2512
  # Face detection annotation.
2313
2513
  class GoogleCloudVideointelligenceV1p1beta1FaceDetectionAnnotation
2314
2514
  include Google::Apis::Core::Hashable
@@ -2328,6 +2528,52 @@ module Google
2328
2528
  end
2329
2529
  end
2330
2530
 
2531
+ # Deprecated. No effect.
2532
+ class GoogleCloudVideointelligenceV1p1beta1FaceFrame
2533
+ include Google::Apis::Core::Hashable
2534
+
2535
+ # Normalized Bounding boxes in a frame. There can be more than one boxes if the
2536
+ # same face is detected in multiple locations within the current frame.
2537
+ # Corresponds to the JSON property `normalizedBoundingBoxes`
2538
+ # @return [Array<Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p1beta1NormalizedBoundingBox>]
2539
+ attr_accessor :normalized_bounding_boxes
2540
+
2541
+ # Time-offset, relative to the beginning of the video, corresponding to the
2542
+ # video frame for this location.
2543
+ # Corresponds to the JSON property `timeOffset`
2544
+ # @return [String]
2545
+ attr_accessor :time_offset
2546
+
2547
+ def initialize(**args)
2548
+ update!(**args)
2549
+ end
2550
+
2551
+ # Update properties of this object
2552
+ def update!(**args)
2553
+ @normalized_bounding_boxes = args[:normalized_bounding_boxes] if args.key?(:normalized_bounding_boxes)
2554
+ @time_offset = args[:time_offset] if args.key?(:time_offset)
2555
+ end
2556
+ end
2557
+
2558
+ # Video segment level annotation results for face detection.
2559
+ class GoogleCloudVideointelligenceV1p1beta1FaceSegment
2560
+ include Google::Apis::Core::Hashable
2561
+
2562
+ # Video segment.
2563
+ # Corresponds to the JSON property `segment`
2564
+ # @return [Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p1beta1VideoSegment]
2565
+ attr_accessor :segment
2566
+
2567
+ def initialize(**args)
2568
+ update!(**args)
2569
+ end
2570
+
2571
+ # Update properties of this object
2572
+ def update!(**args)
2573
+ @segment = args[:segment] if args.key?(:segment)
2574
+ end
2575
+ end
2576
+
2331
2577
  # Label annotation.
2332
2578
  class GoogleCloudVideointelligenceV1p1beta1LabelAnnotation
2333
2579
  include Google::Apis::Core::Hashable
@@ -2969,6 +3215,11 @@ module Google
2969
3215
  # @return [Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p1beta1ExplicitContentAnnotation]
2970
3216
  attr_accessor :explicit_annotation
2971
3217
 
3218
+ # Deprecated. Please use `face_detection_annotations` instead.
3219
+ # Corresponds to the JSON property `faceAnnotations`
3220
+ # @return [Array<Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p1beta1FaceAnnotation>]
3221
+ attr_accessor :face_annotations
3222
+
2972
3223
  # Face detection annotations.
2973
3224
  # Corresponds to the JSON property `faceDetectionAnnotations`
2974
3225
  # @return [Array<Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p1beta1FaceDetectionAnnotation>]
@@ -3060,6 +3311,7 @@ module Google
3060
3311
  def update!(**args)
3061
3312
  @error = args[:error] if args.key?(:error)
3062
3313
  @explicit_annotation = args[:explicit_annotation] if args.key?(:explicit_annotation)
3314
+ @face_annotations = args[:face_annotations] if args.key?(:face_annotations)
3063
3315
  @face_detection_annotations = args[:face_detection_annotations] if args.key?(:face_detection_annotations)
3064
3316
  @frame_label_annotations = args[:frame_label_annotations] if args.key?(:frame_label_annotations)
3065
3317
  @input_uri = args[:input_uri] if args.key?(:input_uri)
@@ -3443,6 +3695,38 @@ module Google
3443
3695
  end
3444
3696
  end
3445
3697
 
3698
+ # Deprecated. No effect.
3699
+ class GoogleCloudVideointelligenceV1p2beta1FaceAnnotation
3700
+ include Google::Apis::Core::Hashable
3701
+
3702
+ # All video frames where a face was detected.
3703
+ # Corresponds to the JSON property `frames`
3704
+ # @return [Array<Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p2beta1FaceFrame>]
3705
+ attr_accessor :frames
3706
+
3707
+ # All video segments where a face was detected.
3708
+ # Corresponds to the JSON property `segments`
3709
+ # @return [Array<Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p2beta1FaceSegment>]
3710
+ attr_accessor :segments
3711
+
3712
+ # Thumbnail of a representative face view (in JPEG format).
3713
+ # Corresponds to the JSON property `thumbnail`
3714
+ # NOTE: Values are automatically base64 encoded/decoded in the client library.
3715
+ # @return [String]
3716
+ attr_accessor :thumbnail
3717
+
3718
+ def initialize(**args)
3719
+ update!(**args)
3720
+ end
3721
+
3722
+ # Update properties of this object
3723
+ def update!(**args)
3724
+ @frames = args[:frames] if args.key?(:frames)
3725
+ @segments = args[:segments] if args.key?(:segments)
3726
+ @thumbnail = args[:thumbnail] if args.key?(:thumbnail)
3727
+ end
3728
+ end
3729
+
3446
3730
  # Face detection annotation.
3447
3731
  class GoogleCloudVideointelligenceV1p2beta1FaceDetectionAnnotation
3448
3732
  include Google::Apis::Core::Hashable
@@ -3497,6 +3781,52 @@ module Google
3497
3781
  end
3498
3782
  end
3499
3783
 
3784
+ # Deprecated. No effect.
3785
+ class GoogleCloudVideointelligenceV1p2beta1FaceFrame
3786
+ include Google::Apis::Core::Hashable
3787
+
3788
+ # Normalized Bounding boxes in a frame. There can be more than one boxes if the
3789
+ # same face is detected in multiple locations within the current frame.
3790
+ # Corresponds to the JSON property `normalizedBoundingBoxes`
3791
+ # @return [Array<Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p2beta1NormalizedBoundingBox>]
3792
+ attr_accessor :normalized_bounding_boxes
3793
+
3794
+ # Time-offset, relative to the beginning of the video, corresponding to the
3795
+ # video frame for this location.
3796
+ # Corresponds to the JSON property `timeOffset`
3797
+ # @return [String]
3798
+ attr_accessor :time_offset
3799
+
3800
+ def initialize(**args)
3801
+ update!(**args)
3802
+ end
3803
+
3804
+ # Update properties of this object
3805
+ def update!(**args)
3806
+ @normalized_bounding_boxes = args[:normalized_bounding_boxes] if args.key?(:normalized_bounding_boxes)
3807
+ @time_offset = args[:time_offset] if args.key?(:time_offset)
3808
+ end
3809
+ end
3810
+
3811
+ # Video segment level annotation results for face detection.
3812
+ class GoogleCloudVideointelligenceV1p2beta1FaceSegment
3813
+ include Google::Apis::Core::Hashable
3814
+
3815
+ # Video segment.
3816
+ # Corresponds to the JSON property `segment`
3817
+ # @return [Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p2beta1VideoSegment]
3818
+ attr_accessor :segment
3819
+
3820
+ def initialize(**args)
3821
+ update!(**args)
3822
+ end
3823
+
3824
+ # Update properties of this object
3825
+ def update!(**args)
3826
+ @segment = args[:segment] if args.key?(:segment)
3827
+ end
3828
+ end
3829
+
3500
3830
  # Label annotation.
3501
3831
  class GoogleCloudVideointelligenceV1p2beta1LabelAnnotation
3502
3832
  include Google::Apis::Core::Hashable
@@ -4420,6 +4750,11 @@ module Google
4420
4750
  # @return [Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p2beta1ExplicitContentAnnotation]
4421
4751
  attr_accessor :explicit_annotation
4422
4752
 
4753
+ # Deprecated. Please use `face_detection_annotations` instead.
4754
+ # Corresponds to the JSON property `faceAnnotations`
4755
+ # @return [Array<Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p2beta1FaceAnnotation>]
4756
+ attr_accessor :face_annotations
4757
+
4423
4758
  # Face detection annotations.
4424
4759
  # Corresponds to the JSON property `faceDetectionAnnotations`
4425
4760
  # @return [Array<Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p2beta1FaceDetectionAnnotation>]
@@ -4511,6 +4846,7 @@ module Google
4511
4846
  def update!(**args)
4512
4847
  @error = args[:error] if args.key?(:error)
4513
4848
  @explicit_annotation = args[:explicit_annotation] if args.key?(:explicit_annotation)
4849
+ @face_annotations = args[:face_annotations] if args.key?(:face_annotations)
4514
4850
  @face_detection_annotations = args[:face_detection_annotations] if args.key?(:face_detection_annotations)
4515
4851
  @frame_label_annotations = args[:frame_label_annotations] if args.key?(:frame_label_annotations)
4516
4852
  @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::VideointelligenceV1p2beta1::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::VideointelligenceV1p2beta1::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::VideointelligenceV1p2beta1::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::VideointelligenceV1p2beta1::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::VideointelligenceV1p2beta1::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::VideointelligenceV1p2beta1::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::VideointelligenceV1p2beta1::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::VideointelligenceV1p2beta1::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::VideointelligenceV1p2beta1::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::VideointelligenceV1p2beta1::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)