google-api-client 0.45.1 → 0.46.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (154) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +61 -0
  3. data/generated/google/apis/accessapproval_v1.rb +1 -1
  4. data/generated/google/apis/accessapproval_v1/classes.rb +25 -16
  5. data/generated/google/apis/accessapproval_v1/service.rb +27 -27
  6. data/generated/google/apis/androidmanagement_v1.rb +1 -1
  7. data/generated/google/apis/androidpublisher_v3.rb +1 -1
  8. data/generated/google/apis/androidpublisher_v3/classes.rb +7 -0
  9. data/generated/google/apis/androidpublisher_v3/representations.rb +1 -0
  10. data/generated/google/apis/apigee_v1.rb +1 -1
  11. data/generated/google/apis/apigee_v1/classes.rb +5 -5
  12. data/generated/google/apis/apigee_v1/service.rb +21 -19
  13. data/generated/google/apis/appsmarket_v2.rb +1 -1
  14. data/generated/google/apis/assuredworkloads_v1beta1.rb +1 -1
  15. data/generated/google/apis/assuredworkloads_v1beta1/classes.rb +264 -0
  16. data/generated/google/apis/assuredworkloads_v1beta1/representations.rb +129 -0
  17. data/generated/google/apis/bigquery_v2.rb +1 -1
  18. data/generated/google/apis/bigquery_v2/classes.rb +38 -18
  19. data/generated/google/apis/bigquery_v2/representations.rb +2 -0
  20. data/generated/google/apis/books_v1.rb +1 -1
  21. data/generated/google/apis/books_v1/service.rb +2 -2
  22. data/generated/google/apis/cloudidentity_v1.rb +1 -1
  23. data/generated/google/apis/cloudidentity_v1/classes.rb +78 -64
  24. data/generated/google/apis/cloudidentity_v1/service.rb +85 -69
  25. data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
  26. data/generated/google/apis/cloudidentity_v1beta1/classes.rb +3 -0
  27. data/generated/google/apis/cloudidentity_v1beta1/service.rb +26 -11
  28. data/generated/google/apis/composer_v1beta1.rb +1 -1
  29. data/generated/google/apis/composer_v1beta1/classes.rb +2 -1
  30. data/generated/google/apis/compute_alpha.rb +1 -1
  31. data/generated/google/apis/compute_alpha/classes.rb +513 -131
  32. data/generated/google/apis/compute_alpha/representations.rb +124 -8
  33. data/generated/google/apis/compute_alpha/service.rb +1685 -762
  34. data/generated/google/apis/compute_beta.rb +1 -1
  35. data/generated/google/apis/compute_beta/classes.rb +491 -83
  36. data/generated/google/apis/compute_beta/representations.rb +96 -1
  37. data/generated/google/apis/compute_beta/service.rb +802 -133
  38. data/generated/google/apis/compute_v1.rb +1 -1
  39. data/generated/google/apis/compute_v1/classes.rb +308 -45
  40. data/generated/google/apis/compute_v1/representations.rb +54 -1
  41. data/generated/google/apis/compute_v1/service.rb +736 -130
  42. data/generated/google/apis/content_v2.rb +1 -1
  43. data/generated/google/apis/content_v2/classes.rb +2 -1
  44. data/generated/google/apis/content_v2_1.rb +1 -1
  45. data/generated/google/apis/content_v2_1/classes.rb +2 -1
  46. data/generated/google/apis/datafusion_v1.rb +1 -1
  47. data/generated/google/apis/dataproc_v1.rb +1 -1
  48. data/generated/google/apis/dataproc_v1/classes.rb +28 -2
  49. data/generated/google/apis/dataproc_v1/representations.rb +15 -0
  50. data/generated/google/apis/dataproc_v1beta2.rb +1 -1
  51. data/generated/google/apis/dataproc_v1beta2/classes.rb +28 -2
  52. data/generated/google/apis/dataproc_v1beta2/representations.rb +15 -0
  53. data/generated/google/apis/dialogflow_v2.rb +1 -1
  54. data/generated/google/apis/dialogflow_v2/classes.rb +87 -0
  55. data/generated/google/apis/dialogflow_v2/representations.rb +45 -0
  56. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  57. data/generated/google/apis/dialogflow_v2beta1/classes.rb +94 -8
  58. data/generated/google/apis/dialogflow_v2beta1/representations.rb +45 -0
  59. data/generated/google/apis/dialogflow_v3beta1.rb +1 -1
  60. data/generated/google/apis/dialogflow_v3beta1/classes.rb +87 -0
  61. data/generated/google/apis/dialogflow_v3beta1/representations.rb +45 -0
  62. data/generated/google/apis/file_v1.rb +1 -1
  63. data/generated/google/apis/file_v1/classes.rb +1 -1
  64. data/generated/google/apis/file_v1beta1.rb +1 -1
  65. data/generated/google/apis/file_v1beta1/classes.rb +1 -1
  66. data/generated/google/apis/genomics_v2alpha1.rb +1 -1
  67. data/generated/google/apis/genomics_v2alpha1/classes.rb +104 -0
  68. data/generated/google/apis/genomics_v2alpha1/representations.rb +47 -0
  69. data/generated/google/apis/jobs_v2.rb +1 -1
  70. data/generated/google/apis/jobs_v2/classes.rb +798 -0
  71. data/generated/google/apis/jobs_v2/representations.rb +272 -0
  72. data/generated/google/apis/jobs_v3.rb +1 -1
  73. data/generated/google/apis/jobs_v3/classes.rb +798 -0
  74. data/generated/google/apis/jobs_v3/representations.rb +272 -0
  75. data/generated/google/apis/jobs_v3p1beta1.rb +1 -1
  76. data/generated/google/apis/jobs_v3p1beta1/classes.rb +759 -0
  77. data/generated/google/apis/jobs_v3p1beta1/representations.rb +257 -0
  78. data/generated/google/apis/managedidentities_v1.rb +1 -1
  79. data/generated/google/apis/managedidentities_v1/classes.rb +7 -0
  80. data/generated/google/apis/managedidentities_v1/representations.rb +1 -0
  81. data/generated/google/apis/managedidentities_v1alpha1.rb +1 -1
  82. data/generated/google/apis/managedidentities_v1alpha1/classes.rb +7 -0
  83. data/generated/google/apis/managedidentities_v1alpha1/representations.rb +1 -0
  84. data/generated/google/apis/managedidentities_v1beta1.rb +1 -1
  85. data/generated/google/apis/managedidentities_v1beta1/classes.rb +7 -0
  86. data/generated/google/apis/managedidentities_v1beta1/representations.rb +1 -0
  87. data/generated/google/apis/memcache_v1beta2.rb +1 -1
  88. data/generated/google/apis/memcache_v1beta2/service.rb +5 -5
  89. data/generated/google/apis/monitoring_v3.rb +1 -1
  90. data/generated/google/apis/monitoring_v3/classes.rb +7 -7
  91. data/generated/google/apis/monitoring_v3/service.rb +5 -5
  92. data/generated/google/apis/osconfig_v1.rb +3 -3
  93. data/generated/google/apis/osconfig_v1/service.rb +4 -4
  94. data/generated/google/apis/osconfig_v1beta.rb +3 -3
  95. data/generated/google/apis/osconfig_v1beta/service.rb +4 -4
  96. data/generated/google/apis/pubsublite_v1.rb +1 -1
  97. data/generated/google/apis/pubsublite_v1/classes.rb +2 -2
  98. data/generated/google/apis/recommender_v1.rb +1 -1
  99. data/generated/google/apis/recommender_v1/service.rb +4 -2
  100. data/generated/google/apis/recommender_v1beta1.rb +1 -1
  101. data/generated/google/apis/recommender_v1beta1/service.rb +4 -2
  102. data/generated/google/apis/redis_v1.rb +1 -1
  103. data/generated/google/apis/redis_v1/classes.rb +5 -5
  104. data/generated/google/apis/redis_v1/service.rb +2 -2
  105. data/generated/google/apis/redis_v1beta1.rb +1 -1
  106. data/generated/google/apis/redis_v1beta1/classes.rb +33 -5
  107. data/generated/google/apis/redis_v1beta1/representations.rb +14 -0
  108. data/generated/google/apis/redis_v1beta1/service.rb +36 -2
  109. data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
  110. data/generated/google/apis/serviceconsumermanagement_v1/service.rb +1 -1
  111. data/generated/google/apis/sheets_v4.rb +1 -1
  112. data/generated/google/apis/sheets_v4/classes.rb +174 -84
  113. data/generated/google/apis/storage_v1.rb +1 -1
  114. data/generated/google/apis/storage_v1/classes.rb +2 -10
  115. data/generated/google/apis/storage_v1/representations.rb +0 -1
  116. data/generated/google/apis/storage_v1/service.rb +3 -2
  117. data/generated/google/apis/storagetransfer_v1.rb +1 -1
  118. data/generated/google/apis/storagetransfer_v1/service.rb +1 -1
  119. data/generated/google/apis/texttospeech_v1beta1.rb +1 -1
  120. data/generated/google/apis/toolresults_v1beta3.rb +1 -1
  121. data/generated/google/apis/translate_v3.rb +1 -1
  122. data/generated/google/apis/translate_v3/classes.rb +2 -2
  123. data/generated/google/apis/videointelligence_v1.rb +1 -1
  124. data/generated/google/apis/videointelligence_v1/classes.rb +308 -13
  125. data/generated/google/apis/videointelligence_v1/representations.rb +162 -3
  126. data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
  127. data/generated/google/apis/videointelligence_v1beta2/classes.rb +308 -13
  128. data/generated/google/apis/videointelligence_v1beta2/representations.rb +162 -3
  129. data/generated/google/apis/videointelligence_v1p1beta1.rb +1 -1
  130. data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +308 -13
  131. data/generated/google/apis/videointelligence_v1p1beta1/representations.rb +162 -3
  132. data/generated/google/apis/videointelligence_v1p2beta1.rb +1 -1
  133. data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +308 -13
  134. data/generated/google/apis/videointelligence_v1p2beta1/representations.rb +162 -3
  135. data/generated/google/apis/videointelligence_v1p3beta1.rb +1 -1
  136. data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +224 -13
  137. data/generated/google/apis/videointelligence_v1p3beta1/representations.rb +128 -3
  138. data/generated/google/apis/youtube_partner_v1.rb +1 -1
  139. data/generated/google/apis/youtube_v3.rb +1 -1
  140. data/generated/google/apis/youtube_v3/service.rb +2 -2
  141. data/lib/google/apis/version.rb +1 -1
  142. metadata +3 -15
  143. data/generated/google/apis/apigateway_v1alpha1.rb +0 -34
  144. data/generated/google/apis/apigateway_v1alpha1/classes.rb +0 -633
  145. data/generated/google/apis/apigateway_v1alpha1/representations.rb +0 -250
  146. data/generated/google/apis/apigateway_v1alpha1/service.rb +0 -623
  147. data/generated/google/apis/apigateway_v1alpha2.rb +0 -34
  148. data/generated/google/apis/apigateway_v1alpha2/classes.rb +0 -633
  149. data/generated/google/apis/apigateway_v1alpha2/representations.rb +0 -250
  150. data/generated/google/apis/apigateway_v1alpha2/service.rb +0 -623
  151. data/generated/google/apis/appsactivity_v1.rb +0 -34
  152. data/generated/google/apis/appsactivity_v1/classes.rb +0 -415
  153. data/generated/google/apis/appsactivity_v1/representations.rb +0 -209
  154. data/generated/google/apis/appsactivity_v1/service.rb +0 -126
@@ -64,6 +64,12 @@ module Google
64
64
  include Google::Apis::Core::JsonObjectSupport
65
65
  end
66
66
 
67
+ class GoogleCloudVideointelligenceV1FaceDetectionAnnotation
68
+ class Representation < Google::Apis::Core::JsonRepresentation; end
69
+
70
+ include Google::Apis::Core::JsonObjectSupport
71
+ end
72
+
67
73
  class GoogleCloudVideointelligenceV1LabelAnnotation
68
74
  class Representation < Google::Apis::Core::JsonRepresentation; end
69
75
 
@@ -118,6 +124,12 @@ module Google
118
124
  include Google::Apis::Core::JsonObjectSupport
119
125
  end
120
126
 
127
+ class GoogleCloudVideointelligenceV1PersonDetectionAnnotation
128
+ class Representation < Google::Apis::Core::JsonRepresentation; end
129
+
130
+ include Google::Apis::Core::JsonObjectSupport
131
+ end
132
+
121
133
  class GoogleCloudVideointelligenceV1SpeechRecognitionAlternative
122
134
  class Representation < Google::Apis::Core::JsonRepresentation; end
123
135
 
@@ -226,6 +238,12 @@ module Google
226
238
  include Google::Apis::Core::JsonObjectSupport
227
239
  end
228
240
 
241
+ class GoogleCloudVideointelligenceV1beta2FaceDetectionAnnotation
242
+ class Representation < Google::Apis::Core::JsonRepresentation; end
243
+
244
+ include Google::Apis::Core::JsonObjectSupport
245
+ end
246
+
229
247
  class GoogleCloudVideointelligenceV1beta2LabelAnnotation
230
248
  class Representation < Google::Apis::Core::JsonRepresentation; end
231
249
 
@@ -280,6 +298,12 @@ module Google
280
298
  include Google::Apis::Core::JsonObjectSupport
281
299
  end
282
300
 
301
+ class GoogleCloudVideointelligenceV1beta2PersonDetectionAnnotation
302
+ class Representation < Google::Apis::Core::JsonRepresentation; end
303
+
304
+ include Google::Apis::Core::JsonObjectSupport
305
+ end
306
+
283
307
  class GoogleCloudVideointelligenceV1beta2SpeechRecognitionAlternative
284
308
  class Representation < Google::Apis::Core::JsonRepresentation; end
285
309
 
@@ -388,6 +412,12 @@ module Google
388
412
  include Google::Apis::Core::JsonObjectSupport
389
413
  end
390
414
 
415
+ class GoogleCloudVideointelligenceV1p1beta1FaceDetectionAnnotation
416
+ class Representation < Google::Apis::Core::JsonRepresentation; end
417
+
418
+ include Google::Apis::Core::JsonObjectSupport
419
+ end
420
+
391
421
  class GoogleCloudVideointelligenceV1p1beta1LabelAnnotation
392
422
  class Representation < Google::Apis::Core::JsonRepresentation; end
393
423
 
@@ -442,6 +472,12 @@ module Google
442
472
  include Google::Apis::Core::JsonObjectSupport
443
473
  end
444
474
 
475
+ class GoogleCloudVideointelligenceV1p1beta1PersonDetectionAnnotation
476
+ class Representation < Google::Apis::Core::JsonRepresentation; end
477
+
478
+ include Google::Apis::Core::JsonObjectSupport
479
+ end
480
+
445
481
  class GoogleCloudVideointelligenceV1p1beta1SpeechRecognitionAlternative
446
482
  class Representation < Google::Apis::Core::JsonRepresentation; end
447
483
 
@@ -562,6 +598,18 @@ module Google
562
598
  include Google::Apis::Core::JsonObjectSupport
563
599
  end
564
600
 
601
+ class GoogleCloudVideointelligenceV1p2beta1FaceDetectionAnnotation
602
+ class Representation < Google::Apis::Core::JsonRepresentation; end
603
+
604
+ include Google::Apis::Core::JsonObjectSupport
605
+ end
606
+
607
+ class GoogleCloudVideointelligenceV1p2beta1FaceDetectionConfig
608
+ class Representation < Google::Apis::Core::JsonRepresentation; end
609
+
610
+ include Google::Apis::Core::JsonObjectSupport
611
+ end
612
+
565
613
  class GoogleCloudVideointelligenceV1p2beta1LabelAnnotation
566
614
  class Representation < Google::Apis::Core::JsonRepresentation; end
567
615
 
@@ -628,6 +676,18 @@ module Google
628
676
  include Google::Apis::Core::JsonObjectSupport
629
677
  end
630
678
 
679
+ class GoogleCloudVideointelligenceV1p2beta1PersonDetectionAnnotation
680
+ class Representation < Google::Apis::Core::JsonRepresentation; end
681
+
682
+ include Google::Apis::Core::JsonObjectSupport
683
+ end
684
+
685
+ class GoogleCloudVideointelligenceV1p2beta1PersonDetectionConfig
686
+ class Representation < Google::Apis::Core::JsonRepresentation; end
687
+
688
+ include Google::Apis::Core::JsonObjectSupport
689
+ end
690
+
631
691
  class GoogleCloudVideointelligenceV1p2beta1ShotChangeDetectionConfig
632
692
  class Representation < Google::Apis::Core::JsonRepresentation; end
633
693
 
@@ -1007,6 +1067,13 @@ module Google
1007
1067
  end
1008
1068
  end
1009
1069
 
1070
+ class GoogleCloudVideointelligenceV1FaceDetectionAnnotation
1071
+ # @private
1072
+ class Representation < Google::Apis::Core::JsonRepresentation
1073
+ property :version, as: 'version'
1074
+ end
1075
+ end
1076
+
1010
1077
  class GoogleCloudVideointelligenceV1LabelAnnotation
1011
1078
  # @private
1012
1079
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1101,6 +1168,15 @@ module Google
1101
1168
  end
1102
1169
  end
1103
1170
 
1171
+ class GoogleCloudVideointelligenceV1PersonDetectionAnnotation
1172
+ # @private
1173
+ class Representation < Google::Apis::Core::JsonRepresentation
1174
+ collection :tracks, as: 'tracks', class: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1Track, decorator: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1Track::Representation
1175
+
1176
+ property :version, as: 'version'
1177
+ end
1178
+ end
1179
+
1104
1180
  class GoogleCloudVideointelligenceV1SpeechRecognitionAlternative
1105
1181
  # @private
1106
1182
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1196,6 +1272,8 @@ module Google
1196
1272
 
1197
1273
  property :explicit_annotation, as: 'explicitAnnotation', class: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1ExplicitContentAnnotation, decorator: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1ExplicitContentAnnotation::Representation
1198
1274
 
1275
+ collection :face_detection_annotations, as: 'faceDetectionAnnotations', class: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1FaceDetectionAnnotation, decorator: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1FaceDetectionAnnotation::Representation
1276
+
1199
1277
  collection :frame_label_annotations, as: 'frameLabelAnnotations', class: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1LabelAnnotation, decorator: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1LabelAnnotation::Representation
1200
1278
 
1201
1279
  property :input_uri, as: 'inputUri'
@@ -1203,6 +1281,8 @@ module Google
1203
1281
 
1204
1282
  collection :object_annotations, as: 'objectAnnotations', class: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1ObjectTrackingAnnotation, decorator: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1ObjectTrackingAnnotation::Representation
1205
1283
 
1284
+ collection :person_detection_annotations, as: 'personDetectionAnnotations', class: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1PersonDetectionAnnotation, decorator: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1PersonDetectionAnnotation::Representation
1285
+
1206
1286
  property :segment, as: 'segment', class: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1VideoSegment, decorator: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1VideoSegment::Representation
1207
1287
 
1208
1288
  collection :segment_label_annotations, as: 'segmentLabelAnnotations', class: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1LabelAnnotation, decorator: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1LabelAnnotation::Representation
@@ -1302,6 +1382,13 @@ module Google
1302
1382
  end
1303
1383
  end
1304
1384
 
1385
+ class GoogleCloudVideointelligenceV1beta2FaceDetectionAnnotation
1386
+ # @private
1387
+ class Representation < Google::Apis::Core::JsonRepresentation
1388
+ property :version, as: 'version'
1389
+ end
1390
+ end
1391
+
1305
1392
  class GoogleCloudVideointelligenceV1beta2LabelAnnotation
1306
1393
  # @private
1307
1394
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1396,6 +1483,15 @@ module Google
1396
1483
  end
1397
1484
  end
1398
1485
 
1486
+ class GoogleCloudVideointelligenceV1beta2PersonDetectionAnnotation
1487
+ # @private
1488
+ class Representation < Google::Apis::Core::JsonRepresentation
1489
+ collection :tracks, as: 'tracks', class: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1beta2Track, decorator: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1beta2Track::Representation
1490
+
1491
+ property :version, as: 'version'
1492
+ end
1493
+ end
1494
+
1399
1495
  class GoogleCloudVideointelligenceV1beta2SpeechRecognitionAlternative
1400
1496
  # @private
1401
1497
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1491,6 +1587,8 @@ module Google
1491
1587
 
1492
1588
  property :explicit_annotation, as: 'explicitAnnotation', class: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1beta2ExplicitContentAnnotation, decorator: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1beta2ExplicitContentAnnotation::Representation
1493
1589
 
1590
+ collection :face_detection_annotations, as: 'faceDetectionAnnotations', class: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1beta2FaceDetectionAnnotation, decorator: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1beta2FaceDetectionAnnotation::Representation
1591
+
1494
1592
  collection :frame_label_annotations, as: 'frameLabelAnnotations', class: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1beta2LabelAnnotation, decorator: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1beta2LabelAnnotation::Representation
1495
1593
 
1496
1594
  property :input_uri, as: 'inputUri'
@@ -1498,6 +1596,8 @@ module Google
1498
1596
 
1499
1597
  collection :object_annotations, as: 'objectAnnotations', class: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1beta2ObjectTrackingAnnotation, decorator: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1beta2ObjectTrackingAnnotation::Representation
1500
1598
 
1599
+ collection :person_detection_annotations, as: 'personDetectionAnnotations', class: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1beta2PersonDetectionAnnotation, decorator: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1beta2PersonDetectionAnnotation::Representation
1600
+
1501
1601
  property :segment, as: 'segment', class: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1beta2VideoSegment, decorator: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1beta2VideoSegment::Representation
1502
1602
 
1503
1603
  collection :segment_label_annotations, as: 'segmentLabelAnnotations', class: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1beta2LabelAnnotation, decorator: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1beta2LabelAnnotation::Representation
@@ -1597,6 +1697,13 @@ module Google
1597
1697
  end
1598
1698
  end
1599
1699
 
1700
+ class GoogleCloudVideointelligenceV1p1beta1FaceDetectionAnnotation
1701
+ # @private
1702
+ class Representation < Google::Apis::Core::JsonRepresentation
1703
+ property :version, as: 'version'
1704
+ end
1705
+ end
1706
+
1600
1707
  class GoogleCloudVideointelligenceV1p1beta1LabelAnnotation
1601
1708
  # @private
1602
1709
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1691,6 +1798,15 @@ module Google
1691
1798
  end
1692
1799
  end
1693
1800
 
1801
+ class GoogleCloudVideointelligenceV1p1beta1PersonDetectionAnnotation
1802
+ # @private
1803
+ class Representation < Google::Apis::Core::JsonRepresentation
1804
+ collection :tracks, as: 'tracks', class: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p1beta1Track, decorator: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p1beta1Track::Representation
1805
+
1806
+ property :version, as: 'version'
1807
+ end
1808
+ end
1809
+
1694
1810
  class GoogleCloudVideointelligenceV1p1beta1SpeechRecognitionAlternative
1695
1811
  # @private
1696
1812
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1786,6 +1902,8 @@ module Google
1786
1902
 
1787
1903
  property :explicit_annotation, as: 'explicitAnnotation', class: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p1beta1ExplicitContentAnnotation, decorator: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p1beta1ExplicitContentAnnotation::Representation
1788
1904
 
1905
+ collection :face_detection_annotations, as: 'faceDetectionAnnotations', class: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p1beta1FaceDetectionAnnotation, decorator: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p1beta1FaceDetectionAnnotation::Representation
1906
+
1789
1907
  collection :frame_label_annotations, as: 'frameLabelAnnotations', class: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p1beta1LabelAnnotation, decorator: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p1beta1LabelAnnotation::Representation
1790
1908
 
1791
1909
  property :input_uri, as: 'inputUri'
@@ -1793,6 +1911,8 @@ module Google
1793
1911
 
1794
1912
  collection :object_annotations, as: 'objectAnnotations', class: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p1beta1ObjectTrackingAnnotation, decorator: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p1beta1ObjectTrackingAnnotation::Representation
1795
1913
 
1914
+ collection :person_detection_annotations, as: 'personDetectionAnnotations', class: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p1beta1PersonDetectionAnnotation, decorator: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p1beta1PersonDetectionAnnotation::Representation
1915
+
1796
1916
  property :segment, as: 'segment', class: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p1beta1VideoSegment, decorator: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p1beta1VideoSegment::Representation
1797
1917
 
1798
1918
  collection :segment_label_annotations, as: 'segmentLabelAnnotations', class: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p1beta1LabelAnnotation, decorator: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p1beta1LabelAnnotation::Representation
@@ -1912,6 +2032,22 @@ module Google
1912
2032
  end
1913
2033
  end
1914
2034
 
2035
+ class GoogleCloudVideointelligenceV1p2beta1FaceDetectionAnnotation
2036
+ # @private
2037
+ class Representation < Google::Apis::Core::JsonRepresentation
2038
+ property :version, as: 'version'
2039
+ end
2040
+ end
2041
+
2042
+ class GoogleCloudVideointelligenceV1p2beta1FaceDetectionConfig
2043
+ # @private
2044
+ class Representation < Google::Apis::Core::JsonRepresentation
2045
+ property :include_attributes, as: 'includeAttributes'
2046
+ property :include_bounding_boxes, as: 'includeBoundingBoxes'
2047
+ property :model, as: 'model'
2048
+ end
2049
+ end
2050
+
1915
2051
  class GoogleCloudVideointelligenceV1p2beta1LabelAnnotation
1916
2052
  # @private
1917
2053
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2024,6 +2160,24 @@ module Google
2024
2160
  end
2025
2161
  end
2026
2162
 
2163
+ class GoogleCloudVideointelligenceV1p2beta1PersonDetectionAnnotation
2164
+ # @private
2165
+ class Representation < Google::Apis::Core::JsonRepresentation
2166
+ collection :tracks, as: 'tracks', class: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p2beta1Track, decorator: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p2beta1Track::Representation
2167
+
2168
+ property :version, as: 'version'
2169
+ end
2170
+ end
2171
+
2172
+ class GoogleCloudVideointelligenceV1p2beta1PersonDetectionConfig
2173
+ # @private
2174
+ class Representation < Google::Apis::Core::JsonRepresentation
2175
+ property :include_attributes, as: 'includeAttributes'
2176
+ property :include_bounding_boxes, as: 'includeBoundingBoxes'
2177
+ property :include_pose_landmarks, as: 'includePoseLandmarks'
2178
+ end
2179
+ end
2180
+
2027
2181
  class GoogleCloudVideointelligenceV1p2beta1ShotChangeDetectionConfig
2028
2182
  # @private
2029
2183
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2157,6 +2311,8 @@ module Google
2157
2311
 
2158
2312
  property :explicit_annotation, as: 'explicitAnnotation', class: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p2beta1ExplicitContentAnnotation, decorator: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p2beta1ExplicitContentAnnotation::Representation
2159
2313
 
2314
+ collection :face_detection_annotations, as: 'faceDetectionAnnotations', class: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p2beta1FaceDetectionAnnotation, decorator: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p2beta1FaceDetectionAnnotation::Representation
2315
+
2160
2316
  collection :frame_label_annotations, as: 'frameLabelAnnotations', class: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p2beta1LabelAnnotation, decorator: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p2beta1LabelAnnotation::Representation
2161
2317
 
2162
2318
  property :input_uri, as: 'inputUri'
@@ -2164,6 +2320,8 @@ module Google
2164
2320
 
2165
2321
  collection :object_annotations, as: 'objectAnnotations', class: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p2beta1ObjectTrackingAnnotation, decorator: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p2beta1ObjectTrackingAnnotation::Representation
2166
2322
 
2323
+ collection :person_detection_annotations, as: 'personDetectionAnnotations', class: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p2beta1PersonDetectionAnnotation, decorator: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p2beta1PersonDetectionAnnotation::Representation
2324
+
2167
2325
  property :segment, as: 'segment', class: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p2beta1VideoSegment, decorator: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p2beta1VideoSegment::Representation
2168
2326
 
2169
2327
  collection :segment_label_annotations, as: 'segmentLabelAnnotations', class: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p2beta1LabelAnnotation, decorator: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p2beta1LabelAnnotation::Representation
@@ -2188,10 +2346,14 @@ module Google
2188
2346
  class Representation < Google::Apis::Core::JsonRepresentation
2189
2347
  property :explicit_content_detection_config, as: 'explicitContentDetectionConfig', class: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p2beta1ExplicitContentDetectionConfig, decorator: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p2beta1ExplicitContentDetectionConfig::Representation
2190
2348
 
2349
+ property :face_detection_config, as: 'faceDetectionConfig', class: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p2beta1FaceDetectionConfig, decorator: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p2beta1FaceDetectionConfig::Representation
2350
+
2191
2351
  property :label_detection_config, as: 'labelDetectionConfig', class: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p2beta1LabelDetectionConfig, decorator: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p2beta1LabelDetectionConfig::Representation
2192
2352
 
2193
2353
  property :object_tracking_config, as: 'objectTrackingConfig', class: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p2beta1ObjectTrackingConfig, decorator: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p2beta1ObjectTrackingConfig::Representation
2194
2354
 
2355
+ property :person_detection_config, as: 'personDetectionConfig', class: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p2beta1PersonDetectionConfig, decorator: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p2beta1PersonDetectionConfig::Representation
2356
+
2195
2357
  collection :segments, as: 'segments', class: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p2beta1VideoSegment, decorator: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p2beta1VideoSegment::Representation
2196
2358
 
2197
2359
  property :shot_change_detection_config, as: 'shotChangeDetectionConfig', class: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p2beta1ShotChangeDetectionConfig, decorator: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p2beta1ShotChangeDetectionConfig::Representation
@@ -2314,9 +2476,6 @@ module Google
2314
2476
  class GoogleCloudVideointelligenceV1p3beta1FaceDetectionAnnotation
2315
2477
  # @private
2316
2478
  class Representation < Google::Apis::Core::JsonRepresentation
2317
- property :thumbnail, :base64 => true, as: 'thumbnail'
2318
- collection :tracks, as: 'tracks', class: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p3beta1Track, decorator: Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p3beta1Track::Representation
2319
-
2320
2479
  property :version, as: 'version'
2321
2480
  end
2322
2481
  end
@@ -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 = '20200824'
30
+ REVISION = '20200921'
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,25 @@ module Google
215
215
  end
216
216
  end
217
217
 
218
+ # Face detection annotation.
219
+ class GoogleCloudVideointelligenceV1FaceDetectionAnnotation
220
+ include Google::Apis::Core::Hashable
221
+
222
+ # Feature version.
223
+ # Corresponds to the JSON property `version`
224
+ # @return [String]
225
+ attr_accessor :version
226
+
227
+ def initialize(**args)
228
+ update!(**args)
229
+ end
230
+
231
+ # Update properties of this object
232
+ def update!(**args)
233
+ @version = args[:version] if args.key?(:version)
234
+ end
235
+ end
236
+
218
237
  # Label annotation.
219
238
  class GoogleCloudVideointelligenceV1LabelAnnotation
220
239
  include Google::Apis::Core::Hashable
@@ -516,6 +535,31 @@ module Google
516
535
  end
517
536
  end
518
537
 
538
+ # Person detection annotation per video.
539
+ class GoogleCloudVideointelligenceV1PersonDetectionAnnotation
540
+ include Google::Apis::Core::Hashable
541
+
542
+ # The detected tracks of a person.
543
+ # Corresponds to the JSON property `tracks`
544
+ # @return [Array<Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1Track>]
545
+ attr_accessor :tracks
546
+
547
+ # Feature version.
548
+ # Corresponds to the JSON property `version`
549
+ # @return [String]
550
+ attr_accessor :version
551
+
552
+ def initialize(**args)
553
+ update!(**args)
554
+ end
555
+
556
+ # Update properties of this object
557
+ def update!(**args)
558
+ @tracks = args[:tracks] if args.key?(:tracks)
559
+ @version = args[:version] if args.key?(:version)
560
+ end
561
+ end
562
+
519
563
  # Alternative hypotheses (a.k.a. n-best list).
520
564
  class GoogleCloudVideointelligenceV1SpeechRecognitionAlternative
521
565
  include Google::Apis::Core::Hashable
@@ -831,6 +875,11 @@ module Google
831
875
  # @return [Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1ExplicitContentAnnotation]
832
876
  attr_accessor :explicit_annotation
833
877
 
878
+ # Face detection annotations.
879
+ # Corresponds to the JSON property `faceDetectionAnnotations`
880
+ # @return [Array<Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1FaceDetectionAnnotation>]
881
+ attr_accessor :face_detection_annotations
882
+
834
883
  # Label annotations on frame level. There is exactly one element for each unique
835
884
  # label.
836
885
  # Corresponds to the JSON property `frameLabelAnnotations`
@@ -852,6 +901,11 @@ module Google
852
901
  # @return [Array<Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1ObjectTrackingAnnotation>]
853
902
  attr_accessor :object_annotations
854
903
 
904
+ # Person detection annotations.
905
+ # Corresponds to the JSON property `personDetectionAnnotations`
906
+ # @return [Array<Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1PersonDetectionAnnotation>]
907
+ attr_accessor :person_detection_annotations
908
+
855
909
  # Video segment.
856
910
  # Corresponds to the JSON property `segment`
857
911
  # @return [Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1VideoSegment]
@@ -912,10 +966,12 @@ module Google
912
966
  def update!(**args)
913
967
  @error = args[:error] if args.key?(:error)
914
968
  @explicit_annotation = args[:explicit_annotation] if args.key?(:explicit_annotation)
969
+ @face_detection_annotations = args[:face_detection_annotations] if args.key?(:face_detection_annotations)
915
970
  @frame_label_annotations = args[:frame_label_annotations] if args.key?(:frame_label_annotations)
916
971
  @input_uri = args[:input_uri] if args.key?(:input_uri)
917
972
  @logo_recognition_annotations = args[:logo_recognition_annotations] if args.key?(:logo_recognition_annotations)
918
973
  @object_annotations = args[:object_annotations] if args.key?(:object_annotations)
974
+ @person_detection_annotations = args[:person_detection_annotations] if args.key?(:person_detection_annotations)
919
975
  @segment = args[:segment] if args.key?(:segment)
920
976
  @segment_label_annotations = args[:segment_label_annotations] if args.key?(:segment_label_annotations)
921
977
  @segment_presence_label_annotations = args[:segment_presence_label_annotations] if args.key?(:segment_presence_label_annotations)
@@ -1206,6 +1262,25 @@ module Google
1206
1262
  end
1207
1263
  end
1208
1264
 
1265
+ # Face detection annotation.
1266
+ class GoogleCloudVideointelligenceV1beta2FaceDetectionAnnotation
1267
+ include Google::Apis::Core::Hashable
1268
+
1269
+ # Feature version.
1270
+ # Corresponds to the JSON property `version`
1271
+ # @return [String]
1272
+ attr_accessor :version
1273
+
1274
+ def initialize(**args)
1275
+ update!(**args)
1276
+ end
1277
+
1278
+ # Update properties of this object
1279
+ def update!(**args)
1280
+ @version = args[:version] if args.key?(:version)
1281
+ end
1282
+ end
1283
+
1209
1284
  # Label annotation.
1210
1285
  class GoogleCloudVideointelligenceV1beta2LabelAnnotation
1211
1286
  include Google::Apis::Core::Hashable
@@ -1507,6 +1582,31 @@ module Google
1507
1582
  end
1508
1583
  end
1509
1584
 
1585
+ # Person detection annotation per video.
1586
+ class GoogleCloudVideointelligenceV1beta2PersonDetectionAnnotation
1587
+ include Google::Apis::Core::Hashable
1588
+
1589
+ # The detected tracks of a person.
1590
+ # Corresponds to the JSON property `tracks`
1591
+ # @return [Array<Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1beta2Track>]
1592
+ attr_accessor :tracks
1593
+
1594
+ # Feature version.
1595
+ # Corresponds to the JSON property `version`
1596
+ # @return [String]
1597
+ attr_accessor :version
1598
+
1599
+ def initialize(**args)
1600
+ update!(**args)
1601
+ end
1602
+
1603
+ # Update properties of this object
1604
+ def update!(**args)
1605
+ @tracks = args[:tracks] if args.key?(:tracks)
1606
+ @version = args[:version] if args.key?(:version)
1607
+ end
1608
+ end
1609
+
1510
1610
  # Alternative hypotheses (a.k.a. n-best list).
1511
1611
  class GoogleCloudVideointelligenceV1beta2SpeechRecognitionAlternative
1512
1612
  include Google::Apis::Core::Hashable
@@ -1822,6 +1922,11 @@ module Google
1822
1922
  # @return [Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1beta2ExplicitContentAnnotation]
1823
1923
  attr_accessor :explicit_annotation
1824
1924
 
1925
+ # Face detection annotations.
1926
+ # Corresponds to the JSON property `faceDetectionAnnotations`
1927
+ # @return [Array<Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1beta2FaceDetectionAnnotation>]
1928
+ attr_accessor :face_detection_annotations
1929
+
1825
1930
  # Label annotations on frame level. There is exactly one element for each unique
1826
1931
  # label.
1827
1932
  # Corresponds to the JSON property `frameLabelAnnotations`
@@ -1843,6 +1948,11 @@ module Google
1843
1948
  # @return [Array<Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1beta2ObjectTrackingAnnotation>]
1844
1949
  attr_accessor :object_annotations
1845
1950
 
1951
+ # Person detection annotations.
1952
+ # Corresponds to the JSON property `personDetectionAnnotations`
1953
+ # @return [Array<Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1beta2PersonDetectionAnnotation>]
1954
+ attr_accessor :person_detection_annotations
1955
+
1846
1956
  # Video segment.
1847
1957
  # Corresponds to the JSON property `segment`
1848
1958
  # @return [Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1beta2VideoSegment]
@@ -1903,10 +2013,12 @@ module Google
1903
2013
  def update!(**args)
1904
2014
  @error = args[:error] if args.key?(:error)
1905
2015
  @explicit_annotation = args[:explicit_annotation] if args.key?(:explicit_annotation)
2016
+ @face_detection_annotations = args[:face_detection_annotations] if args.key?(:face_detection_annotations)
1906
2017
  @frame_label_annotations = args[:frame_label_annotations] if args.key?(:frame_label_annotations)
1907
2018
  @input_uri = args[:input_uri] if args.key?(:input_uri)
1908
2019
  @logo_recognition_annotations = args[:logo_recognition_annotations] if args.key?(:logo_recognition_annotations)
1909
2020
  @object_annotations = args[:object_annotations] if args.key?(:object_annotations)
2021
+ @person_detection_annotations = args[:person_detection_annotations] if args.key?(:person_detection_annotations)
1910
2022
  @segment = args[:segment] if args.key?(:segment)
1911
2023
  @segment_label_annotations = args[:segment_label_annotations] if args.key?(:segment_label_annotations)
1912
2024
  @segment_presence_label_annotations = args[:segment_presence_label_annotations] if args.key?(:segment_presence_label_annotations)
@@ -2197,6 +2309,25 @@ module Google
2197
2309
  end
2198
2310
  end
2199
2311
 
2312
+ # Face detection annotation.
2313
+ class GoogleCloudVideointelligenceV1p1beta1FaceDetectionAnnotation
2314
+ include Google::Apis::Core::Hashable
2315
+
2316
+ # Feature version.
2317
+ # Corresponds to the JSON property `version`
2318
+ # @return [String]
2319
+ attr_accessor :version
2320
+
2321
+ def initialize(**args)
2322
+ update!(**args)
2323
+ end
2324
+
2325
+ # Update properties of this object
2326
+ def update!(**args)
2327
+ @version = args[:version] if args.key?(:version)
2328
+ end
2329
+ end
2330
+
2200
2331
  # Label annotation.
2201
2332
  class GoogleCloudVideointelligenceV1p1beta1LabelAnnotation
2202
2333
  include Google::Apis::Core::Hashable
@@ -2498,6 +2629,31 @@ module Google
2498
2629
  end
2499
2630
  end
2500
2631
 
2632
+ # Person detection annotation per video.
2633
+ class GoogleCloudVideointelligenceV1p1beta1PersonDetectionAnnotation
2634
+ include Google::Apis::Core::Hashable
2635
+
2636
+ # The detected tracks of a person.
2637
+ # Corresponds to the JSON property `tracks`
2638
+ # @return [Array<Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p1beta1Track>]
2639
+ attr_accessor :tracks
2640
+
2641
+ # Feature version.
2642
+ # Corresponds to the JSON property `version`
2643
+ # @return [String]
2644
+ attr_accessor :version
2645
+
2646
+ def initialize(**args)
2647
+ update!(**args)
2648
+ end
2649
+
2650
+ # Update properties of this object
2651
+ def update!(**args)
2652
+ @tracks = args[:tracks] if args.key?(:tracks)
2653
+ @version = args[:version] if args.key?(:version)
2654
+ end
2655
+ end
2656
+
2501
2657
  # Alternative hypotheses (a.k.a. n-best list).
2502
2658
  class GoogleCloudVideointelligenceV1p1beta1SpeechRecognitionAlternative
2503
2659
  include Google::Apis::Core::Hashable
@@ -2813,6 +2969,11 @@ module Google
2813
2969
  # @return [Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p1beta1ExplicitContentAnnotation]
2814
2970
  attr_accessor :explicit_annotation
2815
2971
 
2972
+ # Face detection annotations.
2973
+ # Corresponds to the JSON property `faceDetectionAnnotations`
2974
+ # @return [Array<Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p1beta1FaceDetectionAnnotation>]
2975
+ attr_accessor :face_detection_annotations
2976
+
2816
2977
  # Label annotations on frame level. There is exactly one element for each unique
2817
2978
  # label.
2818
2979
  # Corresponds to the JSON property `frameLabelAnnotations`
@@ -2834,6 +2995,11 @@ module Google
2834
2995
  # @return [Array<Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p1beta1ObjectTrackingAnnotation>]
2835
2996
  attr_accessor :object_annotations
2836
2997
 
2998
+ # Person detection annotations.
2999
+ # Corresponds to the JSON property `personDetectionAnnotations`
3000
+ # @return [Array<Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p1beta1PersonDetectionAnnotation>]
3001
+ attr_accessor :person_detection_annotations
3002
+
2837
3003
  # Video segment.
2838
3004
  # Corresponds to the JSON property `segment`
2839
3005
  # @return [Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p1beta1VideoSegment]
@@ -2894,10 +3060,12 @@ module Google
2894
3060
  def update!(**args)
2895
3061
  @error = args[:error] if args.key?(:error)
2896
3062
  @explicit_annotation = args[:explicit_annotation] if args.key?(:explicit_annotation)
3063
+ @face_detection_annotations = args[:face_detection_annotations] if args.key?(:face_detection_annotations)
2897
3064
  @frame_label_annotations = args[:frame_label_annotations] if args.key?(:frame_label_annotations)
2898
3065
  @input_uri = args[:input_uri] if args.key?(:input_uri)
2899
3066
  @logo_recognition_annotations = args[:logo_recognition_annotations] if args.key?(:logo_recognition_annotations)
2900
3067
  @object_annotations = args[:object_annotations] if args.key?(:object_annotations)
3068
+ @person_detection_annotations = args[:person_detection_annotations] if args.key?(:person_detection_annotations)
2901
3069
  @segment = args[:segment] if args.key?(:segment)
2902
3070
  @segment_label_annotations = args[:segment_label_annotations] if args.key?(:segment_label_annotations)
2903
3071
  @segment_presence_label_annotations = args[:segment_presence_label_annotations] if args.key?(:segment_presence_label_annotations)
@@ -3188,6 +3356,25 @@ module Google
3188
3356
  end
3189
3357
  end
3190
3358
 
3359
+ # Face detection annotation.
3360
+ class GoogleCloudVideointelligenceV1p2beta1FaceDetectionAnnotation
3361
+ include Google::Apis::Core::Hashable
3362
+
3363
+ # Feature version.
3364
+ # Corresponds to the JSON property `version`
3365
+ # @return [String]
3366
+ attr_accessor :version
3367
+
3368
+ def initialize(**args)
3369
+ update!(**args)
3370
+ end
3371
+
3372
+ # Update properties of this object
3373
+ def update!(**args)
3374
+ @version = args[:version] if args.key?(:version)
3375
+ end
3376
+ end
3377
+
3191
3378
  # Label annotation.
3192
3379
  class GoogleCloudVideointelligenceV1p2beta1LabelAnnotation
3193
3380
  include Google::Apis::Core::Hashable
@@ -3489,6 +3676,31 @@ module Google
3489
3676
  end
3490
3677
  end
3491
3678
 
3679
+ # Person detection annotation per video.
3680
+ class GoogleCloudVideointelligenceV1p2beta1PersonDetectionAnnotation
3681
+ include Google::Apis::Core::Hashable
3682
+
3683
+ # The detected tracks of a person.
3684
+ # Corresponds to the JSON property `tracks`
3685
+ # @return [Array<Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p2beta1Track>]
3686
+ attr_accessor :tracks
3687
+
3688
+ # Feature version.
3689
+ # Corresponds to the JSON property `version`
3690
+ # @return [String]
3691
+ attr_accessor :version
3692
+
3693
+ def initialize(**args)
3694
+ update!(**args)
3695
+ end
3696
+
3697
+ # Update properties of this object
3698
+ def update!(**args)
3699
+ @tracks = args[:tracks] if args.key?(:tracks)
3700
+ @version = args[:version] if args.key?(:version)
3701
+ end
3702
+ end
3703
+
3492
3704
  # Alternative hypotheses (a.k.a. n-best list).
3493
3705
  class GoogleCloudVideointelligenceV1p2beta1SpeechRecognitionAlternative
3494
3706
  include Google::Apis::Core::Hashable
@@ -3804,6 +4016,11 @@ module Google
3804
4016
  # @return [Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p2beta1ExplicitContentAnnotation]
3805
4017
  attr_accessor :explicit_annotation
3806
4018
 
4019
+ # Face detection annotations.
4020
+ # Corresponds to the JSON property `faceDetectionAnnotations`
4021
+ # @return [Array<Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p2beta1FaceDetectionAnnotation>]
4022
+ attr_accessor :face_detection_annotations
4023
+
3807
4024
  # Label annotations on frame level. There is exactly one element for each unique
3808
4025
  # label.
3809
4026
  # Corresponds to the JSON property `frameLabelAnnotations`
@@ -3825,6 +4042,11 @@ module Google
3825
4042
  # @return [Array<Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p2beta1ObjectTrackingAnnotation>]
3826
4043
  attr_accessor :object_annotations
3827
4044
 
4045
+ # Person detection annotations.
4046
+ # Corresponds to the JSON property `personDetectionAnnotations`
4047
+ # @return [Array<Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p2beta1PersonDetectionAnnotation>]
4048
+ attr_accessor :person_detection_annotations
4049
+
3828
4050
  # Video segment.
3829
4051
  # Corresponds to the JSON property `segment`
3830
4052
  # @return [Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p2beta1VideoSegment]
@@ -3885,10 +4107,12 @@ module Google
3885
4107
  def update!(**args)
3886
4108
  @error = args[:error] if args.key?(:error)
3887
4109
  @explicit_annotation = args[:explicit_annotation] if args.key?(:explicit_annotation)
4110
+ @face_detection_annotations = args[:face_detection_annotations] if args.key?(:face_detection_annotations)
3888
4111
  @frame_label_annotations = args[:frame_label_annotations] if args.key?(:frame_label_annotations)
3889
4112
  @input_uri = args[:input_uri] if args.key?(:input_uri)
3890
4113
  @logo_recognition_annotations = args[:logo_recognition_annotations] if args.key?(:logo_recognition_annotations)
3891
4114
  @object_annotations = args[:object_annotations] if args.key?(:object_annotations)
4115
+ @person_detection_annotations = args[:person_detection_annotations] if args.key?(:person_detection_annotations)
3892
4116
  @segment = args[:segment] if args.key?(:segment)
3893
4117
  @segment_label_annotations = args[:segment_label_annotations] if args.key?(:segment_label_annotations)
3894
4118
  @segment_presence_label_annotations = args[:segment_presence_label_annotations] if args.key?(:segment_presence_label_annotations)
@@ -4356,17 +4580,6 @@ module Google
4356
4580
  class GoogleCloudVideointelligenceV1p3beta1FaceDetectionAnnotation
4357
4581
  include Google::Apis::Core::Hashable
4358
4582
 
4359
- # The thumbnail of a person's face.
4360
- # Corresponds to the JSON property `thumbnail`
4361
- # NOTE: Values are automatically base64 encoded/decoded in the client library.
4362
- # @return [String]
4363
- attr_accessor :thumbnail
4364
-
4365
- # The face tracks with attributes.
4366
- # Corresponds to the JSON property `tracks`
4367
- # @return [Array<Google::Apis::VideointelligenceV1p3beta1::GoogleCloudVideointelligenceV1p3beta1Track>]
4368
- attr_accessor :tracks
4369
-
4370
4583
  # Feature version.
4371
4584
  # Corresponds to the JSON property `version`
4372
4585
  # @return [String]
@@ -4378,8 +4591,6 @@ module Google
4378
4591
 
4379
4592
  # Update properties of this object
4380
4593
  def update!(**args)
4381
- @thumbnail = args[:thumbnail] if args.key?(:thumbnail)
4382
- @tracks = args[:tracks] if args.key?(:tracks)
4383
4594
  @version = args[:version] if args.key?(:version)
4384
4595
  end
4385
4596
  end