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
 
@@ -400,6 +424,18 @@ module Google
400
424
  include Google::Apis::Core::JsonObjectSupport
401
425
  end
402
426
 
427
+ class GoogleCloudVideointelligenceV1p1beta1FaceDetectionAnnotation
428
+ class Representation < Google::Apis::Core::JsonRepresentation; end
429
+
430
+ include Google::Apis::Core::JsonObjectSupport
431
+ end
432
+
433
+ class GoogleCloudVideointelligenceV1p1beta1FaceDetectionConfig
434
+ class Representation < Google::Apis::Core::JsonRepresentation; end
435
+
436
+ include Google::Apis::Core::JsonObjectSupport
437
+ end
438
+
403
439
  class GoogleCloudVideointelligenceV1p1beta1LabelAnnotation
404
440
  class Representation < Google::Apis::Core::JsonRepresentation; end
405
441
 
@@ -466,6 +502,18 @@ module Google
466
502
  include Google::Apis::Core::JsonObjectSupport
467
503
  end
468
504
 
505
+ class GoogleCloudVideointelligenceV1p1beta1PersonDetectionAnnotation
506
+ class Representation < Google::Apis::Core::JsonRepresentation; end
507
+
508
+ include Google::Apis::Core::JsonObjectSupport
509
+ end
510
+
511
+ class GoogleCloudVideointelligenceV1p1beta1PersonDetectionConfig
512
+ class Representation < Google::Apis::Core::JsonRepresentation; end
513
+
514
+ include Google::Apis::Core::JsonObjectSupport
515
+ end
516
+
469
517
  class GoogleCloudVideointelligenceV1p1beta1ShotChangeDetectionConfig
470
518
  class Representation < Google::Apis::Core::JsonRepresentation; end
471
519
 
@@ -604,6 +652,12 @@ module Google
604
652
  include Google::Apis::Core::JsonObjectSupport
605
653
  end
606
654
 
655
+ class GoogleCloudVideointelligenceV1p2beta1FaceDetectionAnnotation
656
+ class Representation < Google::Apis::Core::JsonRepresentation; end
657
+
658
+ include Google::Apis::Core::JsonObjectSupport
659
+ end
660
+
607
661
  class GoogleCloudVideointelligenceV1p2beta1LabelAnnotation
608
662
  class Representation < Google::Apis::Core::JsonRepresentation; end
609
663
 
@@ -658,6 +712,12 @@ module Google
658
712
  include Google::Apis::Core::JsonObjectSupport
659
713
  end
660
714
 
715
+ class GoogleCloudVideointelligenceV1p2beta1PersonDetectionAnnotation
716
+ class Representation < Google::Apis::Core::JsonRepresentation; end
717
+
718
+ include Google::Apis::Core::JsonObjectSupport
719
+ end
720
+
661
721
  class GoogleCloudVideointelligenceV1p2beta1SpeechRecognitionAlternative
662
722
  class Representation < Google::Apis::Core::JsonRepresentation; end
663
723
 
@@ -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::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1Track, decorator: Google::Apis::VideointelligenceV1p1beta1::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::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1ExplicitContentAnnotation, decorator: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1ExplicitContentAnnotation::Representation
1198
1274
 
1275
+ collection :face_detection_annotations, as: 'faceDetectionAnnotations', class: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1FaceDetectionAnnotation, decorator: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1FaceDetectionAnnotation::Representation
1276
+
1199
1277
  collection :frame_label_annotations, as: 'frameLabelAnnotations', class: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1LabelAnnotation, decorator: Google::Apis::VideointelligenceV1p1beta1::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::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1ObjectTrackingAnnotation, decorator: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1ObjectTrackingAnnotation::Representation
1205
1283
 
1284
+ collection :person_detection_annotations, as: 'personDetectionAnnotations', class: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1PersonDetectionAnnotation, decorator: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1PersonDetectionAnnotation::Representation
1285
+
1206
1286
  property :segment, as: 'segment', class: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1VideoSegment, decorator: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1VideoSegment::Representation
1207
1287
 
1208
1288
  collection :segment_label_annotations, as: 'segmentLabelAnnotations', class: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1LabelAnnotation, decorator: Google::Apis::VideointelligenceV1p1beta1::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::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1beta2Track, decorator: Google::Apis::VideointelligenceV1p1beta1::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::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1beta2ExplicitContentAnnotation, decorator: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1beta2ExplicitContentAnnotation::Representation
1493
1589
 
1590
+ collection :face_detection_annotations, as: 'faceDetectionAnnotations', class: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1beta2FaceDetectionAnnotation, decorator: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1beta2FaceDetectionAnnotation::Representation
1591
+
1494
1592
  collection :frame_label_annotations, as: 'frameLabelAnnotations', class: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1beta2LabelAnnotation, decorator: Google::Apis::VideointelligenceV1p1beta1::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::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1beta2ObjectTrackingAnnotation, decorator: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1beta2ObjectTrackingAnnotation::Representation
1500
1598
 
1599
+ collection :person_detection_annotations, as: 'personDetectionAnnotations', class: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1beta2PersonDetectionAnnotation, decorator: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1beta2PersonDetectionAnnotation::Representation
1600
+
1501
1601
  property :segment, as: 'segment', class: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1beta2VideoSegment, decorator: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1beta2VideoSegment::Representation
1502
1602
 
1503
1603
  collection :segment_label_annotations, as: 'segmentLabelAnnotations', class: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1beta2LabelAnnotation, decorator: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1beta2LabelAnnotation::Representation
@@ -1617,6 +1717,22 @@ module Google
1617
1717
  end
1618
1718
  end
1619
1719
 
1720
+ class GoogleCloudVideointelligenceV1p1beta1FaceDetectionAnnotation
1721
+ # @private
1722
+ class Representation < Google::Apis::Core::JsonRepresentation
1723
+ property :version, as: 'version'
1724
+ end
1725
+ end
1726
+
1727
+ class GoogleCloudVideointelligenceV1p1beta1FaceDetectionConfig
1728
+ # @private
1729
+ class Representation < Google::Apis::Core::JsonRepresentation
1730
+ property :include_attributes, as: 'includeAttributes'
1731
+ property :include_bounding_boxes, as: 'includeBoundingBoxes'
1732
+ property :model, as: 'model'
1733
+ end
1734
+ end
1735
+
1620
1736
  class GoogleCloudVideointelligenceV1p1beta1LabelAnnotation
1621
1737
  # @private
1622
1738
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1729,6 +1845,24 @@ module Google
1729
1845
  end
1730
1846
  end
1731
1847
 
1848
+ class GoogleCloudVideointelligenceV1p1beta1PersonDetectionAnnotation
1849
+ # @private
1850
+ class Representation < Google::Apis::Core::JsonRepresentation
1851
+ collection :tracks, as: 'tracks', class: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p1beta1Track, decorator: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p1beta1Track::Representation
1852
+
1853
+ property :version, as: 'version'
1854
+ end
1855
+ end
1856
+
1857
+ class GoogleCloudVideointelligenceV1p1beta1PersonDetectionConfig
1858
+ # @private
1859
+ class Representation < Google::Apis::Core::JsonRepresentation
1860
+ property :include_attributes, as: 'includeAttributes'
1861
+ property :include_bounding_boxes, as: 'includeBoundingBoxes'
1862
+ property :include_pose_landmarks, as: 'includePoseLandmarks'
1863
+ end
1864
+ end
1865
+
1732
1866
  class GoogleCloudVideointelligenceV1p1beta1ShotChangeDetectionConfig
1733
1867
  # @private
1734
1868
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1862,6 +1996,8 @@ module Google
1862
1996
 
1863
1997
  property :explicit_annotation, as: 'explicitAnnotation', class: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p1beta1ExplicitContentAnnotation, decorator: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p1beta1ExplicitContentAnnotation::Representation
1864
1998
 
1999
+ collection :face_detection_annotations, as: 'faceDetectionAnnotations', class: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p1beta1FaceDetectionAnnotation, decorator: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p1beta1FaceDetectionAnnotation::Representation
2000
+
1865
2001
  collection :frame_label_annotations, as: 'frameLabelAnnotations', class: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p1beta1LabelAnnotation, decorator: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p1beta1LabelAnnotation::Representation
1866
2002
 
1867
2003
  property :input_uri, as: 'inputUri'
@@ -1869,6 +2005,8 @@ module Google
1869
2005
 
1870
2006
  collection :object_annotations, as: 'objectAnnotations', class: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p1beta1ObjectTrackingAnnotation, decorator: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p1beta1ObjectTrackingAnnotation::Representation
1871
2007
 
2008
+ collection :person_detection_annotations, as: 'personDetectionAnnotations', class: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p1beta1PersonDetectionAnnotation, decorator: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p1beta1PersonDetectionAnnotation::Representation
2009
+
1872
2010
  property :segment, as: 'segment', class: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p1beta1VideoSegment, decorator: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p1beta1VideoSegment::Representation
1873
2011
 
1874
2012
  collection :segment_label_annotations, as: 'segmentLabelAnnotations', class: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p1beta1LabelAnnotation, decorator: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p1beta1LabelAnnotation::Representation
@@ -1893,10 +2031,14 @@ module Google
1893
2031
  class Representation < Google::Apis::Core::JsonRepresentation
1894
2032
  property :explicit_content_detection_config, as: 'explicitContentDetectionConfig', class: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p1beta1ExplicitContentDetectionConfig, decorator: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p1beta1ExplicitContentDetectionConfig::Representation
1895
2033
 
2034
+ property :face_detection_config, as: 'faceDetectionConfig', class: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p1beta1FaceDetectionConfig, decorator: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p1beta1FaceDetectionConfig::Representation
2035
+
1896
2036
  property :label_detection_config, as: 'labelDetectionConfig', class: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p1beta1LabelDetectionConfig, decorator: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p1beta1LabelDetectionConfig::Representation
1897
2037
 
1898
2038
  property :object_tracking_config, as: 'objectTrackingConfig', class: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p1beta1ObjectTrackingConfig, decorator: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p1beta1ObjectTrackingConfig::Representation
1899
2039
 
2040
+ property :person_detection_config, as: 'personDetectionConfig', class: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p1beta1PersonDetectionConfig, decorator: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p1beta1PersonDetectionConfig::Representation
2041
+
1900
2042
  collection :segments, as: 'segments', class: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p1beta1VideoSegment, decorator: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p1beta1VideoSegment::Representation
1901
2043
 
1902
2044
  property :shot_change_detection_config, as: 'shotChangeDetectionConfig', class: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p1beta1ShotChangeDetectionConfig, decorator: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p1beta1ShotChangeDetectionConfig::Representation
@@ -1988,6 +2130,13 @@ module Google
1988
2130
  end
1989
2131
  end
1990
2132
 
2133
+ class GoogleCloudVideointelligenceV1p2beta1FaceDetectionAnnotation
2134
+ # @private
2135
+ class Representation < Google::Apis::Core::JsonRepresentation
2136
+ property :version, as: 'version'
2137
+ end
2138
+ end
2139
+
1991
2140
  class GoogleCloudVideointelligenceV1p2beta1LabelAnnotation
1992
2141
  # @private
1993
2142
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2082,6 +2231,15 @@ module Google
2082
2231
  end
2083
2232
  end
2084
2233
 
2234
+ class GoogleCloudVideointelligenceV1p2beta1PersonDetectionAnnotation
2235
+ # @private
2236
+ class Representation < Google::Apis::Core::JsonRepresentation
2237
+ collection :tracks, as: 'tracks', class: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p2beta1Track, decorator: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p2beta1Track::Representation
2238
+
2239
+ property :version, as: 'version'
2240
+ end
2241
+ end
2242
+
2085
2243
  class GoogleCloudVideointelligenceV1p2beta1SpeechRecognitionAlternative
2086
2244
  # @private
2087
2245
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2177,6 +2335,8 @@ module Google
2177
2335
 
2178
2336
  property :explicit_annotation, as: 'explicitAnnotation', class: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p2beta1ExplicitContentAnnotation, decorator: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p2beta1ExplicitContentAnnotation::Representation
2179
2337
 
2338
+ collection :face_detection_annotations, as: 'faceDetectionAnnotations', class: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p2beta1FaceDetectionAnnotation, decorator: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p2beta1FaceDetectionAnnotation::Representation
2339
+
2180
2340
  collection :frame_label_annotations, as: 'frameLabelAnnotations', class: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p2beta1LabelAnnotation, decorator: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p2beta1LabelAnnotation::Representation
2181
2341
 
2182
2342
  property :input_uri, as: 'inputUri'
@@ -2184,6 +2344,8 @@ module Google
2184
2344
 
2185
2345
  collection :object_annotations, as: 'objectAnnotations', class: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p2beta1ObjectTrackingAnnotation, decorator: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p2beta1ObjectTrackingAnnotation::Representation
2186
2346
 
2347
+ collection :person_detection_annotations, as: 'personDetectionAnnotations', class: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p2beta1PersonDetectionAnnotation, decorator: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p2beta1PersonDetectionAnnotation::Representation
2348
+
2187
2349
  property :segment, as: 'segment', class: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p2beta1VideoSegment, decorator: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p2beta1VideoSegment::Representation
2188
2350
 
2189
2351
  collection :segment_label_annotations, as: 'segmentLabelAnnotations', class: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p2beta1LabelAnnotation, decorator: Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p2beta1LabelAnnotation::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::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p3beta1Track, decorator: Google::Apis::VideointelligenceV1p1beta1::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 VideointelligenceV1p2beta1
29
29
  VERSION = 'V1p2beta1'
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::VideointelligenceV1p2beta1::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::VideointelligenceV1p2beta1::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::VideointelligenceV1p2beta1::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::VideointelligenceV1p2beta1::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::VideointelligenceV1p2beta1::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::VideointelligenceV1p2beta1::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::VideointelligenceV1p2beta1::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::VideointelligenceV1p2beta1::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::VideointelligenceV1p2beta1::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::VideointelligenceV1p2beta1::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::VideointelligenceV1p2beta1::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::VideointelligenceV1p2beta1::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::VideointelligenceV1p2beta1::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::VideointelligenceV1p2beta1::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::VideointelligenceV1p2beta1::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::VideointelligenceV1p2beta1::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::VideointelligenceV1p2beta1::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::VideointelligenceV1p2beta1::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)
@@ -3275,6 +3443,60 @@ module Google
3275
3443
  end
3276
3444
  end
3277
3445
 
3446
+ # Face detection annotation.
3447
+ class GoogleCloudVideointelligenceV1p2beta1FaceDetectionAnnotation
3448
+ include Google::Apis::Core::Hashable
3449
+
3450
+ # Feature version.
3451
+ # Corresponds to the JSON property `version`
3452
+ # @return [String]
3453
+ attr_accessor :version
3454
+
3455
+ def initialize(**args)
3456
+ update!(**args)
3457
+ end
3458
+
3459
+ # Update properties of this object
3460
+ def update!(**args)
3461
+ @version = args[:version] if args.key?(:version)
3462
+ end
3463
+ end
3464
+
3465
+ # Config for FACE_DETECTION.
3466
+ class GoogleCloudVideointelligenceV1p2beta1FaceDetectionConfig
3467
+ include Google::Apis::Core::Hashable
3468
+
3469
+ # Whether to enable face attributes detection, such as glasses, dark_glasses,
3470
+ # mouth_open etc. Ignored if 'include_bounding_boxes' is set to false.
3471
+ # Corresponds to the JSON property `includeAttributes`
3472
+ # @return [Boolean]
3473
+ attr_accessor :include_attributes
3474
+ alias_method :include_attributes?, :include_attributes
3475
+
3476
+ # Whether bounding boxes are included in the face annotation output.
3477
+ # Corresponds to the JSON property `includeBoundingBoxes`
3478
+ # @return [Boolean]
3479
+ attr_accessor :include_bounding_boxes
3480
+ alias_method :include_bounding_boxes?, :include_bounding_boxes
3481
+
3482
+ # Model to use for face detection. Supported values: "builtin/stable" (the
3483
+ # default if unset) and "builtin/latest".
3484
+ # Corresponds to the JSON property `model`
3485
+ # @return [String]
3486
+ attr_accessor :model
3487
+
3488
+ def initialize(**args)
3489
+ update!(**args)
3490
+ end
3491
+
3492
+ # Update properties of this object
3493
+ def update!(**args)
3494
+ @include_attributes = args[:include_attributes] if args.key?(:include_attributes)
3495
+ @include_bounding_boxes = args[:include_bounding_boxes] if args.key?(:include_bounding_boxes)
3496
+ @model = args[:model] if args.key?(:model)
3497
+ end
3498
+ end
3499
+
3278
3500
  # Label annotation.
3279
3501
  class GoogleCloudVideointelligenceV1p2beta1LabelAnnotation
3280
3502
  include Google::Apis::Core::Hashable
@@ -3652,6 +3874,68 @@ module Google
3652
3874
  end
3653
3875
  end
3654
3876
 
3877
+ # Person detection annotation per video.
3878
+ class GoogleCloudVideointelligenceV1p2beta1PersonDetectionAnnotation
3879
+ include Google::Apis::Core::Hashable
3880
+
3881
+ # The detected tracks of a person.
3882
+ # Corresponds to the JSON property `tracks`
3883
+ # @return [Array<Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p2beta1Track>]
3884
+ attr_accessor :tracks
3885
+
3886
+ # Feature version.
3887
+ # Corresponds to the JSON property `version`
3888
+ # @return [String]
3889
+ attr_accessor :version
3890
+
3891
+ def initialize(**args)
3892
+ update!(**args)
3893
+ end
3894
+
3895
+ # Update properties of this object
3896
+ def update!(**args)
3897
+ @tracks = args[:tracks] if args.key?(:tracks)
3898
+ @version = args[:version] if args.key?(:version)
3899
+ end
3900
+ end
3901
+
3902
+ # Config for PERSON_DETECTION.
3903
+ class GoogleCloudVideointelligenceV1p2beta1PersonDetectionConfig
3904
+ include Google::Apis::Core::Hashable
3905
+
3906
+ # Whether to enable person attributes detection, such as cloth color (black,
3907
+ # blue, etc), type (coat, dress, etc), pattern (plain, floral, etc), hair, etc.
3908
+ # Ignored if 'include_bounding_boxes' is set to false.
3909
+ # Corresponds to the JSON property `includeAttributes`
3910
+ # @return [Boolean]
3911
+ attr_accessor :include_attributes
3912
+ alias_method :include_attributes?, :include_attributes
3913
+
3914
+ # Whether bounding boxes are included in the person detection annotation output.
3915
+ # Corresponds to the JSON property `includeBoundingBoxes`
3916
+ # @return [Boolean]
3917
+ attr_accessor :include_bounding_boxes
3918
+ alias_method :include_bounding_boxes?, :include_bounding_boxes
3919
+
3920
+ # Whether to enable pose landmarks detection. Ignored if 'include_bounding_boxes'
3921
+ # is set to false.
3922
+ # Corresponds to the JSON property `includePoseLandmarks`
3923
+ # @return [Boolean]
3924
+ attr_accessor :include_pose_landmarks
3925
+ alias_method :include_pose_landmarks?, :include_pose_landmarks
3926
+
3927
+ def initialize(**args)
3928
+ update!(**args)
3929
+ end
3930
+
3931
+ # Update properties of this object
3932
+ def update!(**args)
3933
+ @include_attributes = args[:include_attributes] if args.key?(:include_attributes)
3934
+ @include_bounding_boxes = args[:include_bounding_boxes] if args.key?(:include_bounding_boxes)
3935
+ @include_pose_landmarks = args[:include_pose_landmarks] if args.key?(:include_pose_landmarks)
3936
+ end
3937
+ end
3938
+
3655
3939
  # Config for SHOT_CHANGE_DETECTION.
3656
3940
  class GoogleCloudVideointelligenceV1p2beta1ShotChangeDetectionConfig
3657
3941
  include Google::Apis::Core::Hashable
@@ -4136,6 +4420,11 @@ module Google
4136
4420
  # @return [Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p2beta1ExplicitContentAnnotation]
4137
4421
  attr_accessor :explicit_annotation
4138
4422
 
4423
+ # Face detection annotations.
4424
+ # Corresponds to the JSON property `faceDetectionAnnotations`
4425
+ # @return [Array<Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p2beta1FaceDetectionAnnotation>]
4426
+ attr_accessor :face_detection_annotations
4427
+
4139
4428
  # Label annotations on frame level. There is exactly one element for each unique
4140
4429
  # label.
4141
4430
  # Corresponds to the JSON property `frameLabelAnnotations`
@@ -4157,6 +4446,11 @@ module Google
4157
4446
  # @return [Array<Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p2beta1ObjectTrackingAnnotation>]
4158
4447
  attr_accessor :object_annotations
4159
4448
 
4449
+ # Person detection annotations.
4450
+ # Corresponds to the JSON property `personDetectionAnnotations`
4451
+ # @return [Array<Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p2beta1PersonDetectionAnnotation>]
4452
+ attr_accessor :person_detection_annotations
4453
+
4160
4454
  # Video segment.
4161
4455
  # Corresponds to the JSON property `segment`
4162
4456
  # @return [Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p2beta1VideoSegment]
@@ -4217,10 +4511,12 @@ module Google
4217
4511
  def update!(**args)
4218
4512
  @error = args[:error] if args.key?(:error)
4219
4513
  @explicit_annotation = args[:explicit_annotation] if args.key?(:explicit_annotation)
4514
+ @face_detection_annotations = args[:face_detection_annotations] if args.key?(:face_detection_annotations)
4220
4515
  @frame_label_annotations = args[:frame_label_annotations] if args.key?(:frame_label_annotations)
4221
4516
  @input_uri = args[:input_uri] if args.key?(:input_uri)
4222
4517
  @logo_recognition_annotations = args[:logo_recognition_annotations] if args.key?(:logo_recognition_annotations)
4223
4518
  @object_annotations = args[:object_annotations] if args.key?(:object_annotations)
4519
+ @person_detection_annotations = args[:person_detection_annotations] if args.key?(:person_detection_annotations)
4224
4520
  @segment = args[:segment] if args.key?(:segment)
4225
4521
  @segment_label_annotations = args[:segment_label_annotations] if args.key?(:segment_label_annotations)
4226
4522
  @segment_presence_label_annotations = args[:segment_presence_label_annotations] if args.key?(:segment_presence_label_annotations)
@@ -4241,6 +4537,11 @@ module Google
4241
4537
  # @return [Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p2beta1ExplicitContentDetectionConfig]
4242
4538
  attr_accessor :explicit_content_detection_config
4243
4539
 
4540
+ # Config for FACE_DETECTION.
4541
+ # Corresponds to the JSON property `faceDetectionConfig`
4542
+ # @return [Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p2beta1FaceDetectionConfig]
4543
+ attr_accessor :face_detection_config
4544
+
4244
4545
  # Config for LABEL_DETECTION.
4245
4546
  # Corresponds to the JSON property `labelDetectionConfig`
4246
4547
  # @return [Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p2beta1LabelDetectionConfig]
@@ -4251,6 +4552,11 @@ module Google
4251
4552
  # @return [Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p2beta1ObjectTrackingConfig]
4252
4553
  attr_accessor :object_tracking_config
4253
4554
 
4555
+ # Config for PERSON_DETECTION.
4556
+ # Corresponds to the JSON property `personDetectionConfig`
4557
+ # @return [Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p2beta1PersonDetectionConfig]
4558
+ attr_accessor :person_detection_config
4559
+
4254
4560
  # Video segments to annotate. The segments may overlap and are not required to
4255
4561
  # be contiguous or span the whole video. If unspecified, each video is treated
4256
4562
  # as a single segment.
@@ -4280,8 +4586,10 @@ module Google
4280
4586
  # Update properties of this object
4281
4587
  def update!(**args)
4282
4588
  @explicit_content_detection_config = args[:explicit_content_detection_config] if args.key?(:explicit_content_detection_config)
4589
+ @face_detection_config = args[:face_detection_config] if args.key?(:face_detection_config)
4283
4590
  @label_detection_config = args[:label_detection_config] if args.key?(:label_detection_config)
4284
4591
  @object_tracking_config = args[:object_tracking_config] if args.key?(:object_tracking_config)
4592
+ @person_detection_config = args[:person_detection_config] if args.key?(:person_detection_config)
4285
4593
  @segments = args[:segments] if args.key?(:segments)
4286
4594
  @shot_change_detection_config = args[:shot_change_detection_config] if args.key?(:shot_change_detection_config)
4287
4595
  @speech_transcription_config = args[:speech_transcription_config] if args.key?(:speech_transcription_config)
@@ -4658,17 +4966,6 @@ module Google
4658
4966
  class GoogleCloudVideointelligenceV1p3beta1FaceDetectionAnnotation
4659
4967
  include Google::Apis::Core::Hashable
4660
4968
 
4661
- # The thumbnail of a person's face.
4662
- # Corresponds to the JSON property `thumbnail`
4663
- # NOTE: Values are automatically base64 encoded/decoded in the client library.
4664
- # @return [String]
4665
- attr_accessor :thumbnail
4666
-
4667
- # The face tracks with attributes.
4668
- # Corresponds to the JSON property `tracks`
4669
- # @return [Array<Google::Apis::VideointelligenceV1p2beta1::GoogleCloudVideointelligenceV1p3beta1Track>]
4670
- attr_accessor :tracks
4671
-
4672
4969
  # Feature version.
4673
4970
  # Corresponds to the JSON property `version`
4674
4971
  # @return [String]
@@ -4680,8 +4977,6 @@ module Google
4680
4977
 
4681
4978
  # Update properties of this object
4682
4979
  def update!(**args)
4683
- @thumbnail = args[:thumbnail] if args.key?(:thumbnail)
4684
- @tracks = args[:tracks] if args.key?(:tracks)
4685
4980
  @version = args[:version] if args.key?(:version)
4686
4981
  end
4687
4982
  end