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
 
@@ -238,6 +250,18 @@ module Google
238
250
  include Google::Apis::Core::JsonObjectSupport
239
251
  end
240
252
 
253
+ class GoogleCloudVideointelligenceV1beta2FaceDetectionAnnotation
254
+ class Representation < Google::Apis::Core::JsonRepresentation; end
255
+
256
+ include Google::Apis::Core::JsonObjectSupport
257
+ end
258
+
259
+ class GoogleCloudVideointelligenceV1beta2FaceDetectionConfig
260
+ class Representation < Google::Apis::Core::JsonRepresentation; end
261
+
262
+ include Google::Apis::Core::JsonObjectSupport
263
+ end
264
+
241
265
  class GoogleCloudVideointelligenceV1beta2LabelAnnotation
242
266
  class Representation < Google::Apis::Core::JsonRepresentation; end
243
267
 
@@ -304,6 +328,18 @@ module Google
304
328
  include Google::Apis::Core::JsonObjectSupport
305
329
  end
306
330
 
331
+ class GoogleCloudVideointelligenceV1beta2PersonDetectionAnnotation
332
+ class Representation < Google::Apis::Core::JsonRepresentation; end
333
+
334
+ include Google::Apis::Core::JsonObjectSupport
335
+ end
336
+
337
+ class GoogleCloudVideointelligenceV1beta2PersonDetectionConfig
338
+ class Representation < Google::Apis::Core::JsonRepresentation; end
339
+
340
+ include Google::Apis::Core::JsonObjectSupport
341
+ end
342
+
307
343
  class GoogleCloudVideointelligenceV1beta2ShotChangeDetectionConfig
308
344
  class Representation < Google::Apis::Core::JsonRepresentation; end
309
345
 
@@ -442,6 +478,12 @@ module Google
442
478
  include Google::Apis::Core::JsonObjectSupport
443
479
  end
444
480
 
481
+ class GoogleCloudVideointelligenceV1p1beta1FaceDetectionAnnotation
482
+ class Representation < Google::Apis::Core::JsonRepresentation; end
483
+
484
+ include Google::Apis::Core::JsonObjectSupport
485
+ end
486
+
445
487
  class GoogleCloudVideointelligenceV1p1beta1LabelAnnotation
446
488
  class Representation < Google::Apis::Core::JsonRepresentation; end
447
489
 
@@ -496,6 +538,12 @@ module Google
496
538
  include Google::Apis::Core::JsonObjectSupport
497
539
  end
498
540
 
541
+ class GoogleCloudVideointelligenceV1p1beta1PersonDetectionAnnotation
542
+ class Representation < Google::Apis::Core::JsonRepresentation; end
543
+
544
+ include Google::Apis::Core::JsonObjectSupport
545
+ end
546
+
499
547
  class GoogleCloudVideointelligenceV1p1beta1SpeechRecognitionAlternative
500
548
  class Representation < Google::Apis::Core::JsonRepresentation; end
501
549
 
@@ -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::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1Track, decorator: Google::Apis::VideointelligenceV1beta2::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::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1ExplicitContentAnnotation, decorator: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1ExplicitContentAnnotation::Representation
1198
1274
 
1275
+ collection :face_detection_annotations, as: 'faceDetectionAnnotations', class: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1FaceDetectionAnnotation, decorator: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1FaceDetectionAnnotation::Representation
1276
+
1199
1277
  collection :frame_label_annotations, as: 'frameLabelAnnotations', class: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1LabelAnnotation, decorator: Google::Apis::VideointelligenceV1beta2::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::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1ObjectTrackingAnnotation, decorator: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1ObjectTrackingAnnotation::Representation
1205
1283
 
1284
+ collection :person_detection_annotations, as: 'personDetectionAnnotations', class: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1PersonDetectionAnnotation, decorator: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1PersonDetectionAnnotation::Representation
1285
+
1206
1286
  property :segment, as: 'segment', class: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1VideoSegment, decorator: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1VideoSegment::Representation
1207
1287
 
1208
1288
  collection :segment_label_annotations, as: 'segmentLabelAnnotations', class: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1LabelAnnotation, decorator: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1LabelAnnotation::Representation
@@ -1322,6 +1402,22 @@ module Google
1322
1402
  end
1323
1403
  end
1324
1404
 
1405
+ class GoogleCloudVideointelligenceV1beta2FaceDetectionAnnotation
1406
+ # @private
1407
+ class Representation < Google::Apis::Core::JsonRepresentation
1408
+ property :version, as: 'version'
1409
+ end
1410
+ end
1411
+
1412
+ class GoogleCloudVideointelligenceV1beta2FaceDetectionConfig
1413
+ # @private
1414
+ class Representation < Google::Apis::Core::JsonRepresentation
1415
+ property :include_attributes, as: 'includeAttributes'
1416
+ property :include_bounding_boxes, as: 'includeBoundingBoxes'
1417
+ property :model, as: 'model'
1418
+ end
1419
+ end
1420
+
1325
1421
  class GoogleCloudVideointelligenceV1beta2LabelAnnotation
1326
1422
  # @private
1327
1423
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1434,6 +1530,24 @@ module Google
1434
1530
  end
1435
1531
  end
1436
1532
 
1533
+ class GoogleCloudVideointelligenceV1beta2PersonDetectionAnnotation
1534
+ # @private
1535
+ class Representation < Google::Apis::Core::JsonRepresentation
1536
+ collection :tracks, as: 'tracks', class: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1beta2Track, decorator: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1beta2Track::Representation
1537
+
1538
+ property :version, as: 'version'
1539
+ end
1540
+ end
1541
+
1542
+ class GoogleCloudVideointelligenceV1beta2PersonDetectionConfig
1543
+ # @private
1544
+ class Representation < Google::Apis::Core::JsonRepresentation
1545
+ property :include_attributes, as: 'includeAttributes'
1546
+ property :include_bounding_boxes, as: 'includeBoundingBoxes'
1547
+ property :include_pose_landmarks, as: 'includePoseLandmarks'
1548
+ end
1549
+ end
1550
+
1437
1551
  class GoogleCloudVideointelligenceV1beta2ShotChangeDetectionConfig
1438
1552
  # @private
1439
1553
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1567,6 +1681,8 @@ module Google
1567
1681
 
1568
1682
  property :explicit_annotation, as: 'explicitAnnotation', class: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1beta2ExplicitContentAnnotation, decorator: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1beta2ExplicitContentAnnotation::Representation
1569
1683
 
1684
+ collection :face_detection_annotations, as: 'faceDetectionAnnotations', class: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1beta2FaceDetectionAnnotation, decorator: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1beta2FaceDetectionAnnotation::Representation
1685
+
1570
1686
  collection :frame_label_annotations, as: 'frameLabelAnnotations', class: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1beta2LabelAnnotation, decorator: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1beta2LabelAnnotation::Representation
1571
1687
 
1572
1688
  property :input_uri, as: 'inputUri'
@@ -1574,6 +1690,8 @@ module Google
1574
1690
 
1575
1691
  collection :object_annotations, as: 'objectAnnotations', class: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1beta2ObjectTrackingAnnotation, decorator: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1beta2ObjectTrackingAnnotation::Representation
1576
1692
 
1693
+ collection :person_detection_annotations, as: 'personDetectionAnnotations', class: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1beta2PersonDetectionAnnotation, decorator: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1beta2PersonDetectionAnnotation::Representation
1694
+
1577
1695
  property :segment, as: 'segment', class: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1beta2VideoSegment, decorator: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1beta2VideoSegment::Representation
1578
1696
 
1579
1697
  collection :segment_label_annotations, as: 'segmentLabelAnnotations', class: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1beta2LabelAnnotation, decorator: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1beta2LabelAnnotation::Representation
@@ -1598,10 +1716,14 @@ module Google
1598
1716
  class Representation < Google::Apis::Core::JsonRepresentation
1599
1717
  property :explicit_content_detection_config, as: 'explicitContentDetectionConfig', class: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1beta2ExplicitContentDetectionConfig, decorator: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1beta2ExplicitContentDetectionConfig::Representation
1600
1718
 
1719
+ property :face_detection_config, as: 'faceDetectionConfig', class: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1beta2FaceDetectionConfig, decorator: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1beta2FaceDetectionConfig::Representation
1720
+
1601
1721
  property :label_detection_config, as: 'labelDetectionConfig', class: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1beta2LabelDetectionConfig, decorator: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1beta2LabelDetectionConfig::Representation
1602
1722
 
1603
1723
  property :object_tracking_config, as: 'objectTrackingConfig', class: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1beta2ObjectTrackingConfig, decorator: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1beta2ObjectTrackingConfig::Representation
1604
1724
 
1725
+ property :person_detection_config, as: 'personDetectionConfig', class: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1beta2PersonDetectionConfig, decorator: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1beta2PersonDetectionConfig::Representation
1726
+
1605
1727
  collection :segments, as: 'segments', class: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1beta2VideoSegment, decorator: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1beta2VideoSegment::Representation
1606
1728
 
1607
1729
  property :shot_change_detection_config, as: 'shotChangeDetectionConfig', class: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1beta2ShotChangeDetectionConfig, decorator: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1beta2ShotChangeDetectionConfig::Representation
@@ -1693,6 +1815,13 @@ module Google
1693
1815
  end
1694
1816
  end
1695
1817
 
1818
+ class GoogleCloudVideointelligenceV1p1beta1FaceDetectionAnnotation
1819
+ # @private
1820
+ class Representation < Google::Apis::Core::JsonRepresentation
1821
+ property :version, as: 'version'
1822
+ end
1823
+ end
1824
+
1696
1825
  class GoogleCloudVideointelligenceV1p1beta1LabelAnnotation
1697
1826
  # @private
1698
1827
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1787,6 +1916,15 @@ module Google
1787
1916
  end
1788
1917
  end
1789
1918
 
1919
+ class GoogleCloudVideointelligenceV1p1beta1PersonDetectionAnnotation
1920
+ # @private
1921
+ class Representation < Google::Apis::Core::JsonRepresentation
1922
+ collection :tracks, as: 'tracks', class: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p1beta1Track, decorator: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p1beta1Track::Representation
1923
+
1924
+ property :version, as: 'version'
1925
+ end
1926
+ end
1927
+
1790
1928
  class GoogleCloudVideointelligenceV1p1beta1SpeechRecognitionAlternative
1791
1929
  # @private
1792
1930
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1882,6 +2020,8 @@ module Google
1882
2020
 
1883
2021
  property :explicit_annotation, as: 'explicitAnnotation', class: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p1beta1ExplicitContentAnnotation, decorator: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p1beta1ExplicitContentAnnotation::Representation
1884
2022
 
2023
+ collection :face_detection_annotations, as: 'faceDetectionAnnotations', class: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p1beta1FaceDetectionAnnotation, decorator: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p1beta1FaceDetectionAnnotation::Representation
2024
+
1885
2025
  collection :frame_label_annotations, as: 'frameLabelAnnotations', class: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p1beta1LabelAnnotation, decorator: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p1beta1LabelAnnotation::Representation
1886
2026
 
1887
2027
  property :input_uri, as: 'inputUri'
@@ -1889,6 +2029,8 @@ module Google
1889
2029
 
1890
2030
  collection :object_annotations, as: 'objectAnnotations', class: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p1beta1ObjectTrackingAnnotation, decorator: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p1beta1ObjectTrackingAnnotation::Representation
1891
2031
 
2032
+ collection :person_detection_annotations, as: 'personDetectionAnnotations', class: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p1beta1PersonDetectionAnnotation, decorator: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p1beta1PersonDetectionAnnotation::Representation
2033
+
1892
2034
  property :segment, as: 'segment', class: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p1beta1VideoSegment, decorator: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p1beta1VideoSegment::Representation
1893
2035
 
1894
2036
  collection :segment_label_annotations, as: 'segmentLabelAnnotations', class: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p1beta1LabelAnnotation, decorator: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p1beta1LabelAnnotation::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::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p2beta1Track, decorator: Google::Apis::VideointelligenceV1beta2::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::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p2beta1ExplicitContentAnnotation, decorator: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p2beta1ExplicitContentAnnotation::Representation
2179
2337
 
2338
+ collection :face_detection_annotations, as: 'faceDetectionAnnotations', class: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p2beta1FaceDetectionAnnotation, decorator: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p2beta1FaceDetectionAnnotation::Representation
2339
+
2180
2340
  collection :frame_label_annotations, as: 'frameLabelAnnotations', class: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p2beta1LabelAnnotation, decorator: Google::Apis::VideointelligenceV1beta2::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::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p2beta1ObjectTrackingAnnotation, decorator: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p2beta1ObjectTrackingAnnotation::Representation
2186
2346
 
2347
+ collection :person_detection_annotations, as: 'personDetectionAnnotations', class: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p2beta1PersonDetectionAnnotation, decorator: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p2beta1PersonDetectionAnnotation::Representation
2348
+
2187
2349
  property :segment, as: 'segment', class: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p2beta1VideoSegment, decorator: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p2beta1VideoSegment::Representation
2188
2350
 
2189
2351
  collection :segment_label_annotations, as: 'segmentLabelAnnotations', class: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p2beta1LabelAnnotation, decorator: Google::Apis::VideointelligenceV1beta2::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::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p3beta1Track, decorator: Google::Apis::VideointelligenceV1beta2::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 VideointelligenceV1p1beta1
29
29
  VERSION = 'V1p1beta1'
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::VideointelligenceV1p1beta1::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::VideointelligenceV1p1beta1::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::VideointelligenceV1p1beta1::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::VideointelligenceV1p1beta1::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::VideointelligenceV1p1beta1::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::VideointelligenceV1p1beta1::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::VideointelligenceV1p1beta1::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::VideointelligenceV1p1beta1::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::VideointelligenceV1p1beta1::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::VideointelligenceV1p1beta1::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::VideointelligenceV1p1beta1::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::VideointelligenceV1p1beta1::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)
@@ -2284,6 +2396,60 @@ module Google
2284
2396
  end
2285
2397
  end
2286
2398
 
2399
+ # Face detection annotation.
2400
+ class GoogleCloudVideointelligenceV1p1beta1FaceDetectionAnnotation
2401
+ include Google::Apis::Core::Hashable
2402
+
2403
+ # Feature version.
2404
+ # Corresponds to the JSON property `version`
2405
+ # @return [String]
2406
+ attr_accessor :version
2407
+
2408
+ def initialize(**args)
2409
+ update!(**args)
2410
+ end
2411
+
2412
+ # Update properties of this object
2413
+ def update!(**args)
2414
+ @version = args[:version] if args.key?(:version)
2415
+ end
2416
+ end
2417
+
2418
+ # Config for FACE_DETECTION.
2419
+ class GoogleCloudVideointelligenceV1p1beta1FaceDetectionConfig
2420
+ include Google::Apis::Core::Hashable
2421
+
2422
+ # Whether to enable face attributes detection, such as glasses, dark_glasses,
2423
+ # mouth_open etc. Ignored if 'include_bounding_boxes' is set to false.
2424
+ # Corresponds to the JSON property `includeAttributes`
2425
+ # @return [Boolean]
2426
+ attr_accessor :include_attributes
2427
+ alias_method :include_attributes?, :include_attributes
2428
+
2429
+ # Whether bounding boxes are included in the face annotation output.
2430
+ # Corresponds to the JSON property `includeBoundingBoxes`
2431
+ # @return [Boolean]
2432
+ attr_accessor :include_bounding_boxes
2433
+ alias_method :include_bounding_boxes?, :include_bounding_boxes
2434
+
2435
+ # Model to use for face detection. Supported values: "builtin/stable" (the
2436
+ # default if unset) and "builtin/latest".
2437
+ # Corresponds to the JSON property `model`
2438
+ # @return [String]
2439
+ attr_accessor :model
2440
+
2441
+ def initialize(**args)
2442
+ update!(**args)
2443
+ end
2444
+
2445
+ # Update properties of this object
2446
+ def update!(**args)
2447
+ @include_attributes = args[:include_attributes] if args.key?(:include_attributes)
2448
+ @include_bounding_boxes = args[:include_bounding_boxes] if args.key?(:include_bounding_boxes)
2449
+ @model = args[:model] if args.key?(:model)
2450
+ end
2451
+ end
2452
+
2287
2453
  # Label annotation.
2288
2454
  class GoogleCloudVideointelligenceV1p1beta1LabelAnnotation
2289
2455
  include Google::Apis::Core::Hashable
@@ -2661,6 +2827,68 @@ module Google
2661
2827
  end
2662
2828
  end
2663
2829
 
2830
+ # Person detection annotation per video.
2831
+ class GoogleCloudVideointelligenceV1p1beta1PersonDetectionAnnotation
2832
+ include Google::Apis::Core::Hashable
2833
+
2834
+ # The detected tracks of a person.
2835
+ # Corresponds to the JSON property `tracks`
2836
+ # @return [Array<Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p1beta1Track>]
2837
+ attr_accessor :tracks
2838
+
2839
+ # Feature version.
2840
+ # Corresponds to the JSON property `version`
2841
+ # @return [String]
2842
+ attr_accessor :version
2843
+
2844
+ def initialize(**args)
2845
+ update!(**args)
2846
+ end
2847
+
2848
+ # Update properties of this object
2849
+ def update!(**args)
2850
+ @tracks = args[:tracks] if args.key?(:tracks)
2851
+ @version = args[:version] if args.key?(:version)
2852
+ end
2853
+ end
2854
+
2855
+ # Config for PERSON_DETECTION.
2856
+ class GoogleCloudVideointelligenceV1p1beta1PersonDetectionConfig
2857
+ include Google::Apis::Core::Hashable
2858
+
2859
+ # Whether to enable person attributes detection, such as cloth color (black,
2860
+ # blue, etc), type (coat, dress, etc), pattern (plain, floral, etc), hair, etc.
2861
+ # Ignored if 'include_bounding_boxes' is set to false.
2862
+ # Corresponds to the JSON property `includeAttributes`
2863
+ # @return [Boolean]
2864
+ attr_accessor :include_attributes
2865
+ alias_method :include_attributes?, :include_attributes
2866
+
2867
+ # Whether bounding boxes are included in the person detection annotation output.
2868
+ # Corresponds to the JSON property `includeBoundingBoxes`
2869
+ # @return [Boolean]
2870
+ attr_accessor :include_bounding_boxes
2871
+ alias_method :include_bounding_boxes?, :include_bounding_boxes
2872
+
2873
+ # Whether to enable pose landmarks detection. Ignored if 'include_bounding_boxes'
2874
+ # is set to false.
2875
+ # Corresponds to the JSON property `includePoseLandmarks`
2876
+ # @return [Boolean]
2877
+ attr_accessor :include_pose_landmarks
2878
+ alias_method :include_pose_landmarks?, :include_pose_landmarks
2879
+
2880
+ def initialize(**args)
2881
+ update!(**args)
2882
+ end
2883
+
2884
+ # Update properties of this object
2885
+ def update!(**args)
2886
+ @include_attributes = args[:include_attributes] if args.key?(:include_attributes)
2887
+ @include_bounding_boxes = args[:include_bounding_boxes] if args.key?(:include_bounding_boxes)
2888
+ @include_pose_landmarks = args[:include_pose_landmarks] if args.key?(:include_pose_landmarks)
2889
+ end
2890
+ end
2891
+
2664
2892
  # Config for SHOT_CHANGE_DETECTION.
2665
2893
  class GoogleCloudVideointelligenceV1p1beta1ShotChangeDetectionConfig
2666
2894
  include Google::Apis::Core::Hashable
@@ -3145,6 +3373,11 @@ module Google
3145
3373
  # @return [Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p1beta1ExplicitContentAnnotation]
3146
3374
  attr_accessor :explicit_annotation
3147
3375
 
3376
+ # Face detection annotations.
3377
+ # Corresponds to the JSON property `faceDetectionAnnotations`
3378
+ # @return [Array<Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p1beta1FaceDetectionAnnotation>]
3379
+ attr_accessor :face_detection_annotations
3380
+
3148
3381
  # Label annotations on frame level. There is exactly one element for each unique
3149
3382
  # label.
3150
3383
  # Corresponds to the JSON property `frameLabelAnnotations`
@@ -3166,6 +3399,11 @@ module Google
3166
3399
  # @return [Array<Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p1beta1ObjectTrackingAnnotation>]
3167
3400
  attr_accessor :object_annotations
3168
3401
 
3402
+ # Person detection annotations.
3403
+ # Corresponds to the JSON property `personDetectionAnnotations`
3404
+ # @return [Array<Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p1beta1PersonDetectionAnnotation>]
3405
+ attr_accessor :person_detection_annotations
3406
+
3169
3407
  # Video segment.
3170
3408
  # Corresponds to the JSON property `segment`
3171
3409
  # @return [Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p1beta1VideoSegment]
@@ -3226,10 +3464,12 @@ module Google
3226
3464
  def update!(**args)
3227
3465
  @error = args[:error] if args.key?(:error)
3228
3466
  @explicit_annotation = args[:explicit_annotation] if args.key?(:explicit_annotation)
3467
+ @face_detection_annotations = args[:face_detection_annotations] if args.key?(:face_detection_annotations)
3229
3468
  @frame_label_annotations = args[:frame_label_annotations] if args.key?(:frame_label_annotations)
3230
3469
  @input_uri = args[:input_uri] if args.key?(:input_uri)
3231
3470
  @logo_recognition_annotations = args[:logo_recognition_annotations] if args.key?(:logo_recognition_annotations)
3232
3471
  @object_annotations = args[:object_annotations] if args.key?(:object_annotations)
3472
+ @person_detection_annotations = args[:person_detection_annotations] if args.key?(:person_detection_annotations)
3233
3473
  @segment = args[:segment] if args.key?(:segment)
3234
3474
  @segment_label_annotations = args[:segment_label_annotations] if args.key?(:segment_label_annotations)
3235
3475
  @segment_presence_label_annotations = args[:segment_presence_label_annotations] if args.key?(:segment_presence_label_annotations)
@@ -3250,6 +3490,11 @@ module Google
3250
3490
  # @return [Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p1beta1ExplicitContentDetectionConfig]
3251
3491
  attr_accessor :explicit_content_detection_config
3252
3492
 
3493
+ # Config for FACE_DETECTION.
3494
+ # Corresponds to the JSON property `faceDetectionConfig`
3495
+ # @return [Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p1beta1FaceDetectionConfig]
3496
+ attr_accessor :face_detection_config
3497
+
3253
3498
  # Config for LABEL_DETECTION.
3254
3499
  # Corresponds to the JSON property `labelDetectionConfig`
3255
3500
  # @return [Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p1beta1LabelDetectionConfig]
@@ -3260,6 +3505,11 @@ module Google
3260
3505
  # @return [Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p1beta1ObjectTrackingConfig]
3261
3506
  attr_accessor :object_tracking_config
3262
3507
 
3508
+ # Config for PERSON_DETECTION.
3509
+ # Corresponds to the JSON property `personDetectionConfig`
3510
+ # @return [Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p1beta1PersonDetectionConfig]
3511
+ attr_accessor :person_detection_config
3512
+
3263
3513
  # Video segments to annotate. The segments may overlap and are not required to
3264
3514
  # be contiguous or span the whole video. If unspecified, each video is treated
3265
3515
  # as a single segment.
@@ -3289,8 +3539,10 @@ module Google
3289
3539
  # Update properties of this object
3290
3540
  def update!(**args)
3291
3541
  @explicit_content_detection_config = args[:explicit_content_detection_config] if args.key?(:explicit_content_detection_config)
3542
+ @face_detection_config = args[:face_detection_config] if args.key?(:face_detection_config)
3292
3543
  @label_detection_config = args[:label_detection_config] if args.key?(:label_detection_config)
3293
3544
  @object_tracking_config = args[:object_tracking_config] if args.key?(:object_tracking_config)
3545
+ @person_detection_config = args[:person_detection_config] if args.key?(:person_detection_config)
3294
3546
  @segments = args[:segments] if args.key?(:segments)
3295
3547
  @shot_change_detection_config = args[:shot_change_detection_config] if args.key?(:shot_change_detection_config)
3296
3548
  @speech_transcription_config = args[:speech_transcription_config] if args.key?(:speech_transcription_config)
@@ -3577,6 +3829,25 @@ module Google
3577
3829
  end
3578
3830
  end
3579
3831
 
3832
+ # Face detection annotation.
3833
+ class GoogleCloudVideointelligenceV1p2beta1FaceDetectionAnnotation
3834
+ include Google::Apis::Core::Hashable
3835
+
3836
+ # Feature version.
3837
+ # Corresponds to the JSON property `version`
3838
+ # @return [String]
3839
+ attr_accessor :version
3840
+
3841
+ def initialize(**args)
3842
+ update!(**args)
3843
+ end
3844
+
3845
+ # Update properties of this object
3846
+ def update!(**args)
3847
+ @version = args[:version] if args.key?(:version)
3848
+ end
3849
+ end
3850
+
3580
3851
  # Label annotation.
3581
3852
  class GoogleCloudVideointelligenceV1p2beta1LabelAnnotation
3582
3853
  include Google::Apis::Core::Hashable
@@ -3878,6 +4149,31 @@ module Google
3878
4149
  end
3879
4150
  end
3880
4151
 
4152
+ # Person detection annotation per video.
4153
+ class GoogleCloudVideointelligenceV1p2beta1PersonDetectionAnnotation
4154
+ include Google::Apis::Core::Hashable
4155
+
4156
+ # The detected tracks of a person.
4157
+ # Corresponds to the JSON property `tracks`
4158
+ # @return [Array<Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p2beta1Track>]
4159
+ attr_accessor :tracks
4160
+
4161
+ # Feature version.
4162
+ # Corresponds to the JSON property `version`
4163
+ # @return [String]
4164
+ attr_accessor :version
4165
+
4166
+ def initialize(**args)
4167
+ update!(**args)
4168
+ end
4169
+
4170
+ # Update properties of this object
4171
+ def update!(**args)
4172
+ @tracks = args[:tracks] if args.key?(:tracks)
4173
+ @version = args[:version] if args.key?(:version)
4174
+ end
4175
+ end
4176
+
3881
4177
  # Alternative hypotheses (a.k.a. n-best list).
3882
4178
  class GoogleCloudVideointelligenceV1p2beta1SpeechRecognitionAlternative
3883
4179
  include Google::Apis::Core::Hashable
@@ -4193,6 +4489,11 @@ module Google
4193
4489
  # @return [Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p2beta1ExplicitContentAnnotation]
4194
4490
  attr_accessor :explicit_annotation
4195
4491
 
4492
+ # Face detection annotations.
4493
+ # Corresponds to the JSON property `faceDetectionAnnotations`
4494
+ # @return [Array<Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p2beta1FaceDetectionAnnotation>]
4495
+ attr_accessor :face_detection_annotations
4496
+
4196
4497
  # Label annotations on frame level. There is exactly one element for each unique
4197
4498
  # label.
4198
4499
  # Corresponds to the JSON property `frameLabelAnnotations`
@@ -4214,6 +4515,11 @@ module Google
4214
4515
  # @return [Array<Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p2beta1ObjectTrackingAnnotation>]
4215
4516
  attr_accessor :object_annotations
4216
4517
 
4518
+ # Person detection annotations.
4519
+ # Corresponds to the JSON property `personDetectionAnnotations`
4520
+ # @return [Array<Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p2beta1PersonDetectionAnnotation>]
4521
+ attr_accessor :person_detection_annotations
4522
+
4217
4523
  # Video segment.
4218
4524
  # Corresponds to the JSON property `segment`
4219
4525
  # @return [Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p2beta1VideoSegment]
@@ -4274,10 +4580,12 @@ module Google
4274
4580
  def update!(**args)
4275
4581
  @error = args[:error] if args.key?(:error)
4276
4582
  @explicit_annotation = args[:explicit_annotation] if args.key?(:explicit_annotation)
4583
+ @face_detection_annotations = args[:face_detection_annotations] if args.key?(:face_detection_annotations)
4277
4584
  @frame_label_annotations = args[:frame_label_annotations] if args.key?(:frame_label_annotations)
4278
4585
  @input_uri = args[:input_uri] if args.key?(:input_uri)
4279
4586
  @logo_recognition_annotations = args[:logo_recognition_annotations] if args.key?(:logo_recognition_annotations)
4280
4587
  @object_annotations = args[:object_annotations] if args.key?(:object_annotations)
4588
+ @person_detection_annotations = args[:person_detection_annotations] if args.key?(:person_detection_annotations)
4281
4589
  @segment = args[:segment] if args.key?(:segment)
4282
4590
  @segment_label_annotations = args[:segment_label_annotations] if args.key?(:segment_label_annotations)
4283
4591
  @segment_presence_label_annotations = args[:segment_presence_label_annotations] if args.key?(:segment_presence_label_annotations)
@@ -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::VideointelligenceV1p1beta1::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