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
 
@@ -412,12 +448,30 @@ module Google
412
448
  include Google::Apis::Core::JsonObjectSupport
413
449
  end
414
450
 
451
+ class GoogleCloudVideointelligenceV1p1beta1FaceAnnotation
452
+ class Representation < Google::Apis::Core::JsonRepresentation; end
453
+
454
+ include Google::Apis::Core::JsonObjectSupport
455
+ end
456
+
415
457
  class GoogleCloudVideointelligenceV1p1beta1FaceDetectionAnnotation
416
458
  class Representation < Google::Apis::Core::JsonRepresentation; end
417
459
 
418
460
  include Google::Apis::Core::JsonObjectSupport
419
461
  end
420
462
 
463
+ class GoogleCloudVideointelligenceV1p1beta1FaceFrame
464
+ class Representation < Google::Apis::Core::JsonRepresentation; end
465
+
466
+ include Google::Apis::Core::JsonObjectSupport
467
+ end
468
+
469
+ class GoogleCloudVideointelligenceV1p1beta1FaceSegment
470
+ class Representation < Google::Apis::Core::JsonRepresentation; end
471
+
472
+ include Google::Apis::Core::JsonObjectSupport
473
+ end
474
+
421
475
  class GoogleCloudVideointelligenceV1p1beta1LabelAnnotation
422
476
  class Representation < Google::Apis::Core::JsonRepresentation; end
423
477
 
@@ -598,6 +652,12 @@ module Google
598
652
  include Google::Apis::Core::JsonObjectSupport
599
653
  end
600
654
 
655
+ class GoogleCloudVideointelligenceV1p2beta1FaceAnnotation
656
+ class Representation < Google::Apis::Core::JsonRepresentation; end
657
+
658
+ include Google::Apis::Core::JsonObjectSupport
659
+ end
660
+
601
661
  class GoogleCloudVideointelligenceV1p2beta1FaceDetectionAnnotation
602
662
  class Representation < Google::Apis::Core::JsonRepresentation; end
603
663
 
@@ -610,6 +670,18 @@ module Google
610
670
  include Google::Apis::Core::JsonObjectSupport
611
671
  end
612
672
 
673
+ class GoogleCloudVideointelligenceV1p2beta1FaceFrame
674
+ class Representation < Google::Apis::Core::JsonRepresentation; end
675
+
676
+ include Google::Apis::Core::JsonObjectSupport
677
+ end
678
+
679
+ class GoogleCloudVideointelligenceV1p2beta1FaceSegment
680
+ class Representation < Google::Apis::Core::JsonRepresentation; end
681
+
682
+ include Google::Apis::Core::JsonObjectSupport
683
+ end
684
+
613
685
  class GoogleCloudVideointelligenceV1p2beta1LabelAnnotation
614
686
  class Representation < Google::Apis::Core::JsonRepresentation; end
615
687
 
@@ -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::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1FaceFrame, decorator: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1FaceFrame::Representation
1164
+
1165
+ collection :segments, as: 'segments', class: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1FaceSegment, decorator: Google::Apis::VideointelligenceV1p2beta1::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::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1NormalizedBoundingBox, decorator: Google::Apis::VideointelligenceV1p2beta1::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::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1VideoSegment, decorator: Google::Apis::VideointelligenceV1p2beta1::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::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1ExplicitContentAnnotation, decorator: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1ExplicitContentAnnotation::Representation
1274
1392
 
1393
+ collection :face_annotations, as: 'faceAnnotations', class: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1FaceAnnotation, decorator: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1FaceAnnotation::Representation
1394
+
1275
1395
  collection :face_detection_annotations, as: 'faceDetectionAnnotations', class: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1FaceDetectionAnnotation, decorator: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1FaceDetectionAnnotation::Representation
1276
1396
 
1277
1397
  collection :frame_label_annotations, as: 'frameLabelAnnotations', class: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1LabelAnnotation, decorator: Google::Apis::VideointelligenceV1p2beta1::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::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1beta2FaceFrame, decorator: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1beta2FaceFrame::Representation
1509
+
1510
+ collection :segments, as: 'segments', class: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1beta2FaceSegment, decorator: Google::Apis::VideointelligenceV1p2beta1::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::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1beta2NormalizedBoundingBox, decorator: Google::Apis::VideointelligenceV1p2beta1::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::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1beta2VideoSegment, decorator: Google::Apis::VideointelligenceV1p2beta1::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::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1beta2ExplicitContentAnnotation, decorator: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1beta2ExplicitContentAnnotation::Representation
1589
1737
 
1738
+ collection :face_annotations, as: 'faceAnnotations', class: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1beta2FaceAnnotation, decorator: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1beta2FaceAnnotation::Representation
1739
+
1590
1740
  collection :face_detection_annotations, as: 'faceDetectionAnnotations', class: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1beta2FaceDetectionAnnotation, decorator: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1beta2FaceDetectionAnnotation::Representation
1591
1741
 
1592
1742
  collection :frame_label_annotations, as: 'frameLabelAnnotations', class: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1beta2LabelAnnotation, decorator: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1beta2LabelAnnotation::Representation
@@ -1697,6 +1847,17 @@ module Google
1697
1847
  end
1698
1848
  end
1699
1849
 
1850
+ class GoogleCloudVideointelligenceV1p1beta1FaceAnnotation
1851
+ # @private
1852
+ class Representation < Google::Apis::Core::JsonRepresentation
1853
+ collection :frames, as: 'frames', class: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p1beta1FaceFrame, decorator: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p1beta1FaceFrame::Representation
1854
+
1855
+ collection :segments, as: 'segments', class: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p1beta1FaceSegment, decorator: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p1beta1FaceSegment::Representation
1856
+
1857
+ property :thumbnail, :base64 => true, as: 'thumbnail'
1858
+ end
1859
+ end
1860
+
1700
1861
  class GoogleCloudVideointelligenceV1p1beta1FaceDetectionAnnotation
1701
1862
  # @private
1702
1863
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1704,6 +1865,23 @@ module Google
1704
1865
  end
1705
1866
  end
1706
1867
 
1868
+ class GoogleCloudVideointelligenceV1p1beta1FaceFrame
1869
+ # @private
1870
+ class Representation < Google::Apis::Core::JsonRepresentation
1871
+ collection :normalized_bounding_boxes, as: 'normalizedBoundingBoxes', class: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p1beta1NormalizedBoundingBox, decorator: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p1beta1NormalizedBoundingBox::Representation
1872
+
1873
+ property :time_offset, as: 'timeOffset'
1874
+ end
1875
+ end
1876
+
1877
+ class GoogleCloudVideointelligenceV1p1beta1FaceSegment
1878
+ # @private
1879
+ class Representation < Google::Apis::Core::JsonRepresentation
1880
+ property :segment, as: 'segment', class: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p1beta1VideoSegment, decorator: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p1beta1VideoSegment::Representation
1881
+
1882
+ end
1883
+ end
1884
+
1707
1885
  class GoogleCloudVideointelligenceV1p1beta1LabelAnnotation
1708
1886
  # @private
1709
1887
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1902,6 +2080,8 @@ module Google
1902
2080
 
1903
2081
  property :explicit_annotation, as: 'explicitAnnotation', class: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p1beta1ExplicitContentAnnotation, decorator: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p1beta1ExplicitContentAnnotation::Representation
1904
2082
 
2083
+ collection :face_annotations, as: 'faceAnnotations', class: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p1beta1FaceAnnotation, decorator: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p1beta1FaceAnnotation::Representation
2084
+
1905
2085
  collection :face_detection_annotations, as: 'faceDetectionAnnotations', class: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p1beta1FaceDetectionAnnotation, decorator: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p1beta1FaceDetectionAnnotation::Representation
1906
2086
 
1907
2087
  collection :frame_label_annotations, as: 'frameLabelAnnotations', class: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p1beta1LabelAnnotation, decorator: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p1beta1LabelAnnotation::Representation
@@ -2032,6 +2212,17 @@ module Google
2032
2212
  end
2033
2213
  end
2034
2214
 
2215
+ class GoogleCloudVideointelligenceV1p2beta1FaceAnnotation
2216
+ # @private
2217
+ class Representation < Google::Apis::Core::JsonRepresentation
2218
+ collection :frames, as: 'frames', class: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p2beta1FaceFrame, decorator: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p2beta1FaceFrame::Representation
2219
+
2220
+ collection :segments, as: 'segments', class: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p2beta1FaceSegment, decorator: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p2beta1FaceSegment::Representation
2221
+
2222
+ property :thumbnail, :base64 => true, as: 'thumbnail'
2223
+ end
2224
+ end
2225
+
2035
2226
  class GoogleCloudVideointelligenceV1p2beta1FaceDetectionAnnotation
2036
2227
  # @private
2037
2228
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2048,6 +2239,23 @@ module Google
2048
2239
  end
2049
2240
  end
2050
2241
 
2242
+ class GoogleCloudVideointelligenceV1p2beta1FaceFrame
2243
+ # @private
2244
+ class Representation < Google::Apis::Core::JsonRepresentation
2245
+ collection :normalized_bounding_boxes, as: 'normalizedBoundingBoxes', class: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p2beta1NormalizedBoundingBox, decorator: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p2beta1NormalizedBoundingBox::Representation
2246
+
2247
+ property :time_offset, as: 'timeOffset'
2248
+ end
2249
+ end
2250
+
2251
+ class GoogleCloudVideointelligenceV1p2beta1FaceSegment
2252
+ # @private
2253
+ class Representation < Google::Apis::Core::JsonRepresentation
2254
+ property :segment, as: 'segment', class: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p2beta1VideoSegment, decorator: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p2beta1VideoSegment::Representation
2255
+
2256
+ end
2257
+ end
2258
+
2051
2259
  class GoogleCloudVideointelligenceV1p2beta1LabelAnnotation
2052
2260
  # @private
2053
2261
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2311,6 +2519,8 @@ module Google
2311
2519
 
2312
2520
  property :explicit_annotation, as: 'explicitAnnotation', class: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p2beta1ExplicitContentAnnotation, decorator: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p2beta1ExplicitContentAnnotation::Representation
2313
2521
 
2522
+ collection :face_annotations, as: 'faceAnnotations', class: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p2beta1FaceAnnotation, decorator: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p2beta1FaceAnnotation::Representation
2523
+
2314
2524
  collection :face_detection_annotations, as: 'faceDetectionAnnotations', class: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p2beta1FaceDetectionAnnotation, decorator: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p2beta1FaceDetectionAnnotation::Representation
2315
2525
 
2316
2526
  collection :frame_label_annotations, as: 'frameLabelAnnotations', class: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p2beta1LabelAnnotation, decorator: Google::Apis::VideointelligenceV1p2beta1::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::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p3beta1FaceFrame, decorator: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p3beta1FaceFrame::Representation
2690
+
2691
+ collection :segments, as: 'segments', class: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p3beta1FaceSegment, decorator: Google::Apis::VideointelligenceV1p2beta1::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::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p3beta1NormalizedBoundingBox, decorator: Google::Apis::VideointelligenceV1p2beta1::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::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p3beta1VideoSegment, decorator: Google::Apis::VideointelligenceV1p2beta1::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::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p3beta1ExplicitContentAnnotation, decorator: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p3beta1ExplicitContentAnnotation::Representation
2629
2867
 
2868
+ property :frame_timestamp, as: 'frameTimestamp'
2630
2869
  collection :label_annotations, as: 'labelAnnotations', class: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p3beta1LabelAnnotation, decorator: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p3beta1LabelAnnotation::Representation
2631
2870
 
2632
2871
  collection :object_annotations, as: 'objectAnnotations', class: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p3beta1ObjectTrackingAnnotation, decorator: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p3beta1ObjectTrackingAnnotation::Representation
@@ -2714,6 +2953,8 @@ module Google
2714
2953
 
2715
2954
  property :explicit_annotation, as: 'explicitAnnotation', class: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p3beta1ExplicitContentAnnotation, decorator: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p3beta1ExplicitContentAnnotation::Representation
2716
2955
 
2956
+ collection :face_annotations, as: 'faceAnnotations', class: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p3beta1FaceAnnotation, decorator: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p3beta1FaceAnnotation::Representation
2957
+
2717
2958
  collection :face_detection_annotations, as: 'faceDetectionAnnotations', class: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p3beta1FaceDetectionAnnotation, decorator: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p3beta1FaceDetectionAnnotation::Representation
2718
2959
 
2719
2960
  collection :frame_label_annotations, as: 'frameLabelAnnotations', class: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p3beta1LabelAnnotation, decorator: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p3beta1LabelAnnotation::Representation
@@ -27,7 +27,7 @@ module Google
27
27
  # @see https://cloud.google.com/video-intelligence/docs/
28
28
  module VideointelligenceV1p3beta1
29
29
  VERSION = 'V1p3beta1'
30
- REVISION = '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::VideointelligenceV1p3beta1::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::VideointelligenceV1p3beta1::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::VideointelligenceV1p3beta1::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::VideointelligenceV1p3beta1::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::VideointelligenceV1p3beta1::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::VideointelligenceV1p3beta1::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::VideointelligenceV1p3beta1::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::VideointelligenceV1p3beta1::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::VideointelligenceV1p3beta1::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::VideointelligenceV1p3beta1::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::VideointelligenceV1p3beta1::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::VideointelligenceV1p3beta1::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::VideointelligenceV1p3beta1::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::VideointelligenceV1p3beta1::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::VideointelligenceV1p3beta1::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::VideointelligenceV1p3beta1::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::VideointelligenceV1p3beta1::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::VideointelligenceV1p3beta1::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::VideointelligenceV1p3beta1::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::VideointelligenceV1p3beta1::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::VideointelligenceV1p3beta1::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)
@@ -3356,6 +3608,38 @@ module Google
3356
3608
  end
3357
3609
  end
3358
3610
 
3611
+ # Deprecated. No effect.
3612
+ class GoogleCloudVideointelligenceV1p2beta1FaceAnnotation
3613
+ include Google::Apis::Core::Hashable
3614
+
3615
+ # All video frames where a face was detected.
3616
+ # Corresponds to the JSON property `frames`
3617
+ # @return [Array<Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p2beta1FaceFrame>]
3618
+ attr_accessor :frames
3619
+
3620
+ # All video segments where a face was detected.
3621
+ # Corresponds to the JSON property `segments`
3622
+ # @return [Array<Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p2beta1FaceSegment>]
3623
+ attr_accessor :segments
3624
+
3625
+ # Thumbnail of a representative face view (in JPEG format).
3626
+ # Corresponds to the JSON property `thumbnail`
3627
+ # NOTE: Values are automatically base64 encoded/decoded in the client library.
3628
+ # @return [String]
3629
+ attr_accessor :thumbnail
3630
+
3631
+ def initialize(**args)
3632
+ update!(**args)
3633
+ end
3634
+
3635
+ # Update properties of this object
3636
+ def update!(**args)
3637
+ @frames = args[:frames] if args.key?(:frames)
3638
+ @segments = args[:segments] if args.key?(:segments)
3639
+ @thumbnail = args[:thumbnail] if args.key?(:thumbnail)
3640
+ end
3641
+ end
3642
+
3359
3643
  # Face detection annotation.
3360
3644
  class GoogleCloudVideointelligenceV1p2beta1FaceDetectionAnnotation
3361
3645
  include Google::Apis::Core::Hashable
@@ -3375,6 +3659,52 @@ module Google
3375
3659
  end
3376
3660
  end
3377
3661
 
3662
+ # Deprecated. No effect.
3663
+ class GoogleCloudVideointelligenceV1p2beta1FaceFrame
3664
+ include Google::Apis::Core::Hashable
3665
+
3666
+ # Normalized Bounding boxes in a frame. There can be more than one boxes if the
3667
+ # same face is detected in multiple locations within the current frame.
3668
+ # Corresponds to the JSON property `normalizedBoundingBoxes`
3669
+ # @return [Array<Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p2beta1NormalizedBoundingBox>]
3670
+ attr_accessor :normalized_bounding_boxes
3671
+
3672
+ # Time-offset, relative to the beginning of the video, corresponding to the
3673
+ # video frame for this location.
3674
+ # Corresponds to the JSON property `timeOffset`
3675
+ # @return [String]
3676
+ attr_accessor :time_offset
3677
+
3678
+ def initialize(**args)
3679
+ update!(**args)
3680
+ end
3681
+
3682
+ # Update properties of this object
3683
+ def update!(**args)
3684
+ @normalized_bounding_boxes = args[:normalized_bounding_boxes] if args.key?(:normalized_bounding_boxes)
3685
+ @time_offset = args[:time_offset] if args.key?(:time_offset)
3686
+ end
3687
+ end
3688
+
3689
+ # Video segment level annotation results for face detection.
3690
+ class GoogleCloudVideointelligenceV1p2beta1FaceSegment
3691
+ include Google::Apis::Core::Hashable
3692
+
3693
+ # Video segment.
3694
+ # Corresponds to the JSON property `segment`
3695
+ # @return [Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p2beta1VideoSegment]
3696
+ attr_accessor :segment
3697
+
3698
+ def initialize(**args)
3699
+ update!(**args)
3700
+ end
3701
+
3702
+ # Update properties of this object
3703
+ def update!(**args)
3704
+ @segment = args[:segment] if args.key?(:segment)
3705
+ end
3706
+ end
3707
+
3378
3708
  # Label annotation.
3379
3709
  class GoogleCloudVideointelligenceV1p2beta1LabelAnnotation
3380
3710
  include Google::Apis::Core::Hashable
@@ -4016,6 +4346,11 @@ module Google
4016
4346
  # @return [Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p2beta1ExplicitContentAnnotation]
4017
4347
  attr_accessor :explicit_annotation
4018
4348
 
4349
+ # Deprecated. Please use `face_detection_annotations` instead.
4350
+ # Corresponds to the JSON property `faceAnnotations`
4351
+ # @return [Array<Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p2beta1FaceAnnotation>]
4352
+ attr_accessor :face_annotations
4353
+
4019
4354
  # Face detection annotations.
4020
4355
  # Corresponds to the JSON property `faceDetectionAnnotations`
4021
4356
  # @return [Array<Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p2beta1FaceDetectionAnnotation>]
@@ -4107,6 +4442,7 @@ module Google
4107
4442
  def update!(**args)
4108
4443
  @error = args[:error] if args.key?(:error)
4109
4444
  @explicit_annotation = args[:explicit_annotation] if args.key?(:explicit_annotation)
4445
+ @face_annotations = args[:face_annotations] if args.key?(:face_annotations)
4110
4446
  @face_detection_annotations = args[:face_detection_annotations] if args.key?(:face_detection_annotations)
4111
4447
  @frame_label_annotations = args[:frame_label_annotations] if args.key?(:frame_label_annotations)
4112
4448
  @input_uri = args[:input_uri] if args.key?(:input_uri)
@@ -4576,6 +4912,38 @@ module Google
4576
4912
  end
4577
4913
  end
4578
4914
 
4915
+ # Deprecated. No effect.
4916
+ class GoogleCloudVideointelligenceV1p3beta1FaceAnnotation
4917
+ include Google::Apis::Core::Hashable
4918
+
4919
+ # All video frames where a face was detected.
4920
+ # Corresponds to the JSON property `frames`
4921
+ # @return [Array<Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p3beta1FaceFrame>]
4922
+ attr_accessor :frames
4923
+
4924
+ # All video segments where a face was detected.
4925
+ # Corresponds to the JSON property `segments`
4926
+ # @return [Array<Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p3beta1FaceSegment>]
4927
+ attr_accessor :segments
4928
+
4929
+ # Thumbnail of a representative face view (in JPEG format).
4930
+ # Corresponds to the JSON property `thumbnail`
4931
+ # NOTE: Values are automatically base64 encoded/decoded in the client library.
4932
+ # @return [String]
4933
+ attr_accessor :thumbnail
4934
+
4935
+ def initialize(**args)
4936
+ update!(**args)
4937
+ end
4938
+
4939
+ # Update properties of this object
4940
+ def update!(**args)
4941
+ @frames = args[:frames] if args.key?(:frames)
4942
+ @segments = args[:segments] if args.key?(:segments)
4943
+ @thumbnail = args[:thumbnail] if args.key?(:thumbnail)
4944
+ end
4945
+ end
4946
+
4579
4947
  # Face detection annotation.
4580
4948
  class GoogleCloudVideointelligenceV1p3beta1FaceDetectionAnnotation
4581
4949
  include Google::Apis::Core::Hashable
@@ -4630,6 +4998,52 @@ module Google
4630
4998
  end
4631
4999
  end
4632
5000
 
5001
+ # Deprecated. No effect.
5002
+ class GoogleCloudVideointelligenceV1p3beta1FaceFrame
5003
+ include Google::Apis::Core::Hashable
5004
+
5005
+ # Normalized Bounding boxes in a frame. There can be more than one boxes if the
5006
+ # same face is detected in multiple locations within the current frame.
5007
+ # Corresponds to the JSON property `normalizedBoundingBoxes`
5008
+ # @return [Array<Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p3beta1NormalizedBoundingBox>]
5009
+ attr_accessor :normalized_bounding_boxes
5010
+
5011
+ # Time-offset, relative to the beginning of the video, corresponding to the
5012
+ # video frame for this location.
5013
+ # Corresponds to the JSON property `timeOffset`
5014
+ # @return [String]
5015
+ attr_accessor :time_offset
5016
+
5017
+ def initialize(**args)
5018
+ update!(**args)
5019
+ end
5020
+
5021
+ # Update properties of this object
5022
+ def update!(**args)
5023
+ @normalized_bounding_boxes = args[:normalized_bounding_boxes] if args.key?(:normalized_bounding_boxes)
5024
+ @time_offset = args[:time_offset] if args.key?(:time_offset)
5025
+ end
5026
+ end
5027
+
5028
+ # Video segment level annotation results for face detection.
5029
+ class GoogleCloudVideointelligenceV1p3beta1FaceSegment
5030
+ include Google::Apis::Core::Hashable
5031
+
5032
+ # Video segment.
5033
+ # Corresponds to the JSON property `segment`
5034
+ # @return [Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p3beta1VideoSegment]
5035
+ attr_accessor :segment
5036
+
5037
+ def initialize(**args)
5038
+ update!(**args)
5039
+ end
5040
+
5041
+ # Update properties of this object
5042
+ def update!(**args)
5043
+ @segment = args[:segment] if args.key?(:segment)
5044
+ end
5045
+ end
5046
+
4633
5047
  # Label annotation.
4634
5048
  class GoogleCloudVideointelligenceV1p3beta1LabelAnnotation
4635
5049
  include Google::Apis::Core::Hashable
@@ -5309,7 +5723,8 @@ module Google
5309
5723
  include Google::Apis::Core::Hashable
5310
5724
 
5311
5725
  # Streaming annotation results corresponding to a portion of the video that is
5312
- # currently being processed.
5726
+ # currently being processed. Only ONE type of annotation will be specified in
5727
+ # the response.
5313
5728
  # Corresponds to the JSON property `annotationResults`
5314
5729
  # @return [Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p3beta1StreamingVideoAnnotationResults]
5315
5730
  attr_accessor :annotation_results
@@ -5344,7 +5759,8 @@ module Google
5344
5759
  end
5345
5760
 
5346
5761
  # Streaming annotation results corresponding to a portion of the video that is
5347
- # currently being processed.
5762
+ # currently being processed. Only ONE type of annotation will be specified in
5763
+ # the response.
5348
5764
  class GoogleCloudVideointelligenceV1p3beta1StreamingVideoAnnotationResults
5349
5765
  include Google::Apis::Core::Hashable
5350
5766
 
@@ -5355,6 +5771,11 @@ module Google
5355
5771
  # @return [Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p3beta1ExplicitContentAnnotation]
5356
5772
  attr_accessor :explicit_annotation
5357
5773
 
5774
+ # Timestamp of the processed frame in microseconds.
5775
+ # Corresponds to the JSON property `frameTimestamp`
5776
+ # @return [String]
5777
+ attr_accessor :frame_timestamp
5778
+
5358
5779
  # Label annotation results.
5359
5780
  # Corresponds to the JSON property `labelAnnotations`
5360
5781
  # @return [Array<Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p3beta1LabelAnnotation>]
@@ -5377,6 +5798,7 @@ module Google
5377
5798
  # Update properties of this object
5378
5799
  def update!(**args)
5379
5800
  @explicit_annotation = args[:explicit_annotation] if args.key?(:explicit_annotation)
5801
+ @frame_timestamp = args[:frame_timestamp] if args.key?(:frame_timestamp)
5380
5802
  @label_annotations = args[:label_annotations] if args.key?(:label_annotations)
5381
5803
  @object_annotations = args[:object_annotations] if args.key?(:object_annotations)
5382
5804
  @shot_annotations = args[:shot_annotations] if args.key?(:shot_annotations)
@@ -5664,6 +6086,11 @@ module Google
5664
6086
  # @return [Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p3beta1ExplicitContentAnnotation]
5665
6087
  attr_accessor :explicit_annotation
5666
6088
 
6089
+ # Deprecated. Please use `face_detection_annotations` instead.
6090
+ # Corresponds to the JSON property `faceAnnotations`
6091
+ # @return [Array<Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p3beta1FaceAnnotation>]
6092
+ attr_accessor :face_annotations
6093
+
5667
6094
  # Face detection annotations.
5668
6095
  # Corresponds to the JSON property `faceDetectionAnnotations`
5669
6096
  # @return [Array<Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p3beta1FaceDetectionAnnotation>]
@@ -5756,6 +6183,7 @@ module Google
5756
6183
  @celebrity_recognition_annotations = args[:celebrity_recognition_annotations] if args.key?(:celebrity_recognition_annotations)
5757
6184
  @error = args[:error] if args.key?(:error)
5758
6185
  @explicit_annotation = args[:explicit_annotation] if args.key?(:explicit_annotation)
6186
+ @face_annotations = args[:face_annotations] if args.key?(:face_annotations)
5759
6187
  @face_detection_annotations = args[:face_detection_annotations] if args.key?(:face_detection_annotations)
5760
6188
  @frame_label_annotations = args[:frame_label_annotations] if args.key?(:frame_label_annotations)
5761
6189
  @input_uri = args[:input_uri] if args.key?(:input_uri)