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
@@ -76,6 +76,18 @@ module Google
76
76
  include Google::Apis::Core::JsonObjectSupport
77
77
  end
78
78
 
79
+ class GoogleCloudVideointelligenceV1FaceDetectionAnnotation
80
+ class Representation < Google::Apis::Core::JsonRepresentation; end
81
+
82
+ include Google::Apis::Core::JsonObjectSupport
83
+ end
84
+
85
+ class GoogleCloudVideointelligenceV1FaceDetectionConfig
86
+ class Representation < Google::Apis::Core::JsonRepresentation; end
87
+
88
+ include Google::Apis::Core::JsonObjectSupport
89
+ end
90
+
79
91
  class GoogleCloudVideointelligenceV1LabelAnnotation
80
92
  class Representation < Google::Apis::Core::JsonRepresentation; end
81
93
 
@@ -142,6 +154,18 @@ module Google
142
154
  include Google::Apis::Core::JsonObjectSupport
143
155
  end
144
156
 
157
+ class GoogleCloudVideointelligenceV1PersonDetectionAnnotation
158
+ class Representation < Google::Apis::Core::JsonRepresentation; end
159
+
160
+ include Google::Apis::Core::JsonObjectSupport
161
+ end
162
+
163
+ class GoogleCloudVideointelligenceV1PersonDetectionConfig
164
+ class Representation < Google::Apis::Core::JsonRepresentation; end
165
+
166
+ include Google::Apis::Core::JsonObjectSupport
167
+ end
168
+
145
169
  class GoogleCloudVideointelligenceV1ShotChangeDetectionConfig
146
170
  class Representation < Google::Apis::Core::JsonRepresentation; end
147
171
 
@@ -280,6 +304,12 @@ module Google
280
304
  include Google::Apis::Core::JsonObjectSupport
281
305
  end
282
306
 
307
+ class GoogleCloudVideointelligenceV1beta2FaceDetectionAnnotation
308
+ class Representation < Google::Apis::Core::JsonRepresentation; end
309
+
310
+ include Google::Apis::Core::JsonObjectSupport
311
+ end
312
+
283
313
  class GoogleCloudVideointelligenceV1beta2LabelAnnotation
284
314
  class Representation < Google::Apis::Core::JsonRepresentation; end
285
315
 
@@ -334,6 +364,12 @@ module Google
334
364
  include Google::Apis::Core::JsonObjectSupport
335
365
  end
336
366
 
367
+ class GoogleCloudVideointelligenceV1beta2PersonDetectionAnnotation
368
+ class Representation < Google::Apis::Core::JsonRepresentation; end
369
+
370
+ include Google::Apis::Core::JsonObjectSupport
371
+ end
372
+
337
373
  class GoogleCloudVideointelligenceV1beta2SpeechRecognitionAlternative
338
374
  class Representation < Google::Apis::Core::JsonRepresentation; end
339
375
 
@@ -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
 
@@ -1045,6 +1105,22 @@ module Google
1045
1105
  end
1046
1106
  end
1047
1107
 
1108
+ class GoogleCloudVideointelligenceV1FaceDetectionAnnotation
1109
+ # @private
1110
+ class Representation < Google::Apis::Core::JsonRepresentation
1111
+ property :version, as: 'version'
1112
+ end
1113
+ end
1114
+
1115
+ class GoogleCloudVideointelligenceV1FaceDetectionConfig
1116
+ # @private
1117
+ class Representation < Google::Apis::Core::JsonRepresentation
1118
+ property :include_attributes, as: 'includeAttributes'
1119
+ property :include_bounding_boxes, as: 'includeBoundingBoxes'
1120
+ property :model, as: 'model'
1121
+ end
1122
+ end
1123
+
1048
1124
  class GoogleCloudVideointelligenceV1LabelAnnotation
1049
1125
  # @private
1050
1126
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1157,6 +1233,24 @@ module Google
1157
1233
  end
1158
1234
  end
1159
1235
 
1236
+ class GoogleCloudVideointelligenceV1PersonDetectionAnnotation
1237
+ # @private
1238
+ class Representation < Google::Apis::Core::JsonRepresentation
1239
+ collection :tracks, as: 'tracks', class: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1Track, decorator: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1Track::Representation
1240
+
1241
+ property :version, as: 'version'
1242
+ end
1243
+ end
1244
+
1245
+ class GoogleCloudVideointelligenceV1PersonDetectionConfig
1246
+ # @private
1247
+ class Representation < Google::Apis::Core::JsonRepresentation
1248
+ property :include_attributes, as: 'includeAttributes'
1249
+ property :include_bounding_boxes, as: 'includeBoundingBoxes'
1250
+ property :include_pose_landmarks, as: 'includePoseLandmarks'
1251
+ end
1252
+ end
1253
+
1160
1254
  class GoogleCloudVideointelligenceV1ShotChangeDetectionConfig
1161
1255
  # @private
1162
1256
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1290,6 +1384,8 @@ module Google
1290
1384
 
1291
1385
  property :explicit_annotation, as: 'explicitAnnotation', class: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1ExplicitContentAnnotation, decorator: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1ExplicitContentAnnotation::Representation
1292
1386
 
1387
+ collection :face_detection_annotations, as: 'faceDetectionAnnotations', class: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1FaceDetectionAnnotation, decorator: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1FaceDetectionAnnotation::Representation
1388
+
1293
1389
  collection :frame_label_annotations, as: 'frameLabelAnnotations', class: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1LabelAnnotation, decorator: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1LabelAnnotation::Representation
1294
1390
 
1295
1391
  property :input_uri, as: 'inputUri'
@@ -1297,6 +1393,8 @@ module Google
1297
1393
 
1298
1394
  collection :object_annotations, as: 'objectAnnotations', class: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1ObjectTrackingAnnotation, decorator: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1ObjectTrackingAnnotation::Representation
1299
1395
 
1396
+ collection :person_detection_annotations, as: 'personDetectionAnnotations', class: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1PersonDetectionAnnotation, decorator: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1PersonDetectionAnnotation::Representation
1397
+
1300
1398
  property :segment, as: 'segment', class: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1VideoSegment, decorator: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1VideoSegment::Representation
1301
1399
 
1302
1400
  collection :segment_label_annotations, as: 'segmentLabelAnnotations', class: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1LabelAnnotation, decorator: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1LabelAnnotation::Representation
@@ -1321,10 +1419,14 @@ module Google
1321
1419
  class Representation < Google::Apis::Core::JsonRepresentation
1322
1420
  property :explicit_content_detection_config, as: 'explicitContentDetectionConfig', class: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1ExplicitContentDetectionConfig, decorator: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1ExplicitContentDetectionConfig::Representation
1323
1421
 
1422
+ property :face_detection_config, as: 'faceDetectionConfig', class: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1FaceDetectionConfig, decorator: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1FaceDetectionConfig::Representation
1423
+
1324
1424
  property :label_detection_config, as: 'labelDetectionConfig', class: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1LabelDetectionConfig, decorator: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1LabelDetectionConfig::Representation
1325
1425
 
1326
1426
  property :object_tracking_config, as: 'objectTrackingConfig', class: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1ObjectTrackingConfig, decorator: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1ObjectTrackingConfig::Representation
1327
1427
 
1428
+ property :person_detection_config, as: 'personDetectionConfig', class: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1PersonDetectionConfig, decorator: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1PersonDetectionConfig::Representation
1429
+
1328
1430
  collection :segments, as: 'segments', class: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1VideoSegment, decorator: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1VideoSegment::Representation
1329
1431
 
1330
1432
  property :shot_change_detection_config, as: 'shotChangeDetectionConfig', class: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1ShotChangeDetectionConfig, decorator: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1ShotChangeDetectionConfig::Representation
@@ -1416,6 +1518,13 @@ module Google
1416
1518
  end
1417
1519
  end
1418
1520
 
1521
+ class GoogleCloudVideointelligenceV1beta2FaceDetectionAnnotation
1522
+ # @private
1523
+ class Representation < Google::Apis::Core::JsonRepresentation
1524
+ property :version, as: 'version'
1525
+ end
1526
+ end
1527
+
1419
1528
  class GoogleCloudVideointelligenceV1beta2LabelAnnotation
1420
1529
  # @private
1421
1530
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1510,6 +1619,15 @@ module Google
1510
1619
  end
1511
1620
  end
1512
1621
 
1622
+ class GoogleCloudVideointelligenceV1beta2PersonDetectionAnnotation
1623
+ # @private
1624
+ class Representation < Google::Apis::Core::JsonRepresentation
1625
+ collection :tracks, as: 'tracks', class: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1beta2Track, decorator: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1beta2Track::Representation
1626
+
1627
+ property :version, as: 'version'
1628
+ end
1629
+ end
1630
+
1513
1631
  class GoogleCloudVideointelligenceV1beta2SpeechRecognitionAlternative
1514
1632
  # @private
1515
1633
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1605,6 +1723,8 @@ module Google
1605
1723
 
1606
1724
  property :explicit_annotation, as: 'explicitAnnotation', class: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1beta2ExplicitContentAnnotation, decorator: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1beta2ExplicitContentAnnotation::Representation
1607
1725
 
1726
+ collection :face_detection_annotations, as: 'faceDetectionAnnotations', class: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1beta2FaceDetectionAnnotation, decorator: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1beta2FaceDetectionAnnotation::Representation
1727
+
1608
1728
  collection :frame_label_annotations, as: 'frameLabelAnnotations', class: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1beta2LabelAnnotation, decorator: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1beta2LabelAnnotation::Representation
1609
1729
 
1610
1730
  property :input_uri, as: 'inputUri'
@@ -1612,6 +1732,8 @@ module Google
1612
1732
 
1613
1733
  collection :object_annotations, as: 'objectAnnotations', class: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1beta2ObjectTrackingAnnotation, decorator: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1beta2ObjectTrackingAnnotation::Representation
1614
1734
 
1735
+ collection :person_detection_annotations, as: 'personDetectionAnnotations', class: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1beta2PersonDetectionAnnotation, decorator: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1beta2PersonDetectionAnnotation::Representation
1736
+
1615
1737
  property :segment, as: 'segment', class: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1beta2VideoSegment, decorator: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1beta2VideoSegment::Representation
1616
1738
 
1617
1739
  collection :segment_label_annotations, as: 'segmentLabelAnnotations', class: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1beta2LabelAnnotation, decorator: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1beta2LabelAnnotation::Representation
@@ -1711,6 +1833,13 @@ module Google
1711
1833
  end
1712
1834
  end
1713
1835
 
1836
+ class GoogleCloudVideointelligenceV1p1beta1FaceDetectionAnnotation
1837
+ # @private
1838
+ class Representation < Google::Apis::Core::JsonRepresentation
1839
+ property :version, as: 'version'
1840
+ end
1841
+ end
1842
+
1714
1843
  class GoogleCloudVideointelligenceV1p1beta1LabelAnnotation
1715
1844
  # @private
1716
1845
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1805,6 +1934,15 @@ module Google
1805
1934
  end
1806
1935
  end
1807
1936
 
1937
+ class GoogleCloudVideointelligenceV1p1beta1PersonDetectionAnnotation
1938
+ # @private
1939
+ class Representation < Google::Apis::Core::JsonRepresentation
1940
+ collection :tracks, as: 'tracks', class: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p1beta1Track, decorator: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p1beta1Track::Representation
1941
+
1942
+ property :version, as: 'version'
1943
+ end
1944
+ end
1945
+
1808
1946
  class GoogleCloudVideointelligenceV1p1beta1SpeechRecognitionAlternative
1809
1947
  # @private
1810
1948
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -1900,6 +2038,8 @@ module Google
1900
2038
 
1901
2039
  property :explicit_annotation, as: 'explicitAnnotation', class: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p1beta1ExplicitContentAnnotation, decorator: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p1beta1ExplicitContentAnnotation::Representation
1902
2040
 
2041
+ collection :face_detection_annotations, as: 'faceDetectionAnnotations', class: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p1beta1FaceDetectionAnnotation, decorator: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p1beta1FaceDetectionAnnotation::Representation
2042
+
1903
2043
  collection :frame_label_annotations, as: 'frameLabelAnnotations', class: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p1beta1LabelAnnotation, decorator: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p1beta1LabelAnnotation::Representation
1904
2044
 
1905
2045
  property :input_uri, as: 'inputUri'
@@ -1907,6 +2047,8 @@ module Google
1907
2047
 
1908
2048
  collection :object_annotations, as: 'objectAnnotations', class: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p1beta1ObjectTrackingAnnotation, decorator: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p1beta1ObjectTrackingAnnotation::Representation
1909
2049
 
2050
+ collection :person_detection_annotations, as: 'personDetectionAnnotations', class: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p1beta1PersonDetectionAnnotation, decorator: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p1beta1PersonDetectionAnnotation::Representation
2051
+
1910
2052
  property :segment, as: 'segment', class: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p1beta1VideoSegment, decorator: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p1beta1VideoSegment::Representation
1911
2053
 
1912
2054
  collection :segment_label_annotations, as: 'segmentLabelAnnotations', class: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p1beta1LabelAnnotation, decorator: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p1beta1LabelAnnotation::Representation
@@ -2006,6 +2148,13 @@ module Google
2006
2148
  end
2007
2149
  end
2008
2150
 
2151
+ class GoogleCloudVideointelligenceV1p2beta1FaceDetectionAnnotation
2152
+ # @private
2153
+ class Representation < Google::Apis::Core::JsonRepresentation
2154
+ property :version, as: 'version'
2155
+ end
2156
+ end
2157
+
2009
2158
  class GoogleCloudVideointelligenceV1p2beta1LabelAnnotation
2010
2159
  # @private
2011
2160
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2100,6 +2249,15 @@ module Google
2100
2249
  end
2101
2250
  end
2102
2251
 
2252
+ class GoogleCloudVideointelligenceV1p2beta1PersonDetectionAnnotation
2253
+ # @private
2254
+ class Representation < Google::Apis::Core::JsonRepresentation
2255
+ collection :tracks, as: 'tracks', class: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p2beta1Track, decorator: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p2beta1Track::Representation
2256
+
2257
+ property :version, as: 'version'
2258
+ end
2259
+ end
2260
+
2103
2261
  class GoogleCloudVideointelligenceV1p2beta1SpeechRecognitionAlternative
2104
2262
  # @private
2105
2263
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -2195,6 +2353,8 @@ module Google
2195
2353
 
2196
2354
  property :explicit_annotation, as: 'explicitAnnotation', class: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p2beta1ExplicitContentAnnotation, decorator: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p2beta1ExplicitContentAnnotation::Representation
2197
2355
 
2356
+ collection :face_detection_annotations, as: 'faceDetectionAnnotations', class: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p2beta1FaceDetectionAnnotation, decorator: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p2beta1FaceDetectionAnnotation::Representation
2357
+
2198
2358
  collection :frame_label_annotations, as: 'frameLabelAnnotations', class: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p2beta1LabelAnnotation, decorator: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p2beta1LabelAnnotation::Representation
2199
2359
 
2200
2360
  property :input_uri, as: 'inputUri'
@@ -2202,6 +2362,8 @@ module Google
2202
2362
 
2203
2363
  collection :object_annotations, as: 'objectAnnotations', class: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p2beta1ObjectTrackingAnnotation, decorator: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p2beta1ObjectTrackingAnnotation::Representation
2204
2364
 
2365
+ collection :person_detection_annotations, as: 'personDetectionAnnotations', class: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p2beta1PersonDetectionAnnotation, decorator: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p2beta1PersonDetectionAnnotation::Representation
2366
+
2205
2367
  property :segment, as: 'segment', class: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p2beta1VideoSegment, decorator: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p2beta1VideoSegment::Representation
2206
2368
 
2207
2369
  collection :segment_label_annotations, as: 'segmentLabelAnnotations', class: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p2beta1LabelAnnotation, decorator: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p2beta1LabelAnnotation::Representation
@@ -2332,9 +2494,6 @@ module Google
2332
2494
  class GoogleCloudVideointelligenceV1p3beta1FaceDetectionAnnotation
2333
2495
  # @private
2334
2496
  class Representation < Google::Apis::Core::JsonRepresentation
2335
- property :thumbnail, :base64 => true, as: 'thumbnail'
2336
- collection :tracks, as: 'tracks', class: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p3beta1Track, decorator: Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p3beta1Track::Representation
2337
-
2338
2497
  property :version, as: 'version'
2339
2498
  end
2340
2499
  end
@@ -27,7 +27,7 @@ module Google
27
27
  # @see https://cloud.google.com/video-intelligence/docs/
28
28
  module VideointelligenceV1beta2
29
29
  VERSION = 'V1beta2'
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::VideointelligenceV1beta2::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::VideointelligenceV1beta2::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::VideointelligenceV1beta2::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::VideointelligenceV1beta2::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::VideointelligenceV1beta2::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::VideointelligenceV1beta2::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)
@@ -1293,6 +1349,60 @@ module Google
1293
1349
  end
1294
1350
  end
1295
1351
 
1352
+ # Face detection annotation.
1353
+ class GoogleCloudVideointelligenceV1beta2FaceDetectionAnnotation
1354
+ include Google::Apis::Core::Hashable
1355
+
1356
+ # Feature version.
1357
+ # Corresponds to the JSON property `version`
1358
+ # @return [String]
1359
+ attr_accessor :version
1360
+
1361
+ def initialize(**args)
1362
+ update!(**args)
1363
+ end
1364
+
1365
+ # Update properties of this object
1366
+ def update!(**args)
1367
+ @version = args[:version] if args.key?(:version)
1368
+ end
1369
+ end
1370
+
1371
+ # Config for FACE_DETECTION.
1372
+ class GoogleCloudVideointelligenceV1beta2FaceDetectionConfig
1373
+ include Google::Apis::Core::Hashable
1374
+
1375
+ # Whether to enable face attributes detection, such as glasses, dark_glasses,
1376
+ # mouth_open etc. Ignored if 'include_bounding_boxes' is set to false.
1377
+ # Corresponds to the JSON property `includeAttributes`
1378
+ # @return [Boolean]
1379
+ attr_accessor :include_attributes
1380
+ alias_method :include_attributes?, :include_attributes
1381
+
1382
+ # Whether bounding boxes are included in the face annotation output.
1383
+ # Corresponds to the JSON property `includeBoundingBoxes`
1384
+ # @return [Boolean]
1385
+ attr_accessor :include_bounding_boxes
1386
+ alias_method :include_bounding_boxes?, :include_bounding_boxes
1387
+
1388
+ # Model to use for face detection. Supported values: "builtin/stable" (the
1389
+ # default if unset) and "builtin/latest".
1390
+ # Corresponds to the JSON property `model`
1391
+ # @return [String]
1392
+ attr_accessor :model
1393
+
1394
+ def initialize(**args)
1395
+ update!(**args)
1396
+ end
1397
+
1398
+ # Update properties of this object
1399
+ def update!(**args)
1400
+ @include_attributes = args[:include_attributes] if args.key?(:include_attributes)
1401
+ @include_bounding_boxes = args[:include_bounding_boxes] if args.key?(:include_bounding_boxes)
1402
+ @model = args[:model] if args.key?(:model)
1403
+ end
1404
+ end
1405
+
1296
1406
  # Label annotation.
1297
1407
  class GoogleCloudVideointelligenceV1beta2LabelAnnotation
1298
1408
  include Google::Apis::Core::Hashable
@@ -1670,6 +1780,68 @@ module Google
1670
1780
  end
1671
1781
  end
1672
1782
 
1783
+ # Person detection annotation per video.
1784
+ class GoogleCloudVideointelligenceV1beta2PersonDetectionAnnotation
1785
+ include Google::Apis::Core::Hashable
1786
+
1787
+ # The detected tracks of a person.
1788
+ # Corresponds to the JSON property `tracks`
1789
+ # @return [Array<Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1beta2Track>]
1790
+ attr_accessor :tracks
1791
+
1792
+ # Feature version.
1793
+ # Corresponds to the JSON property `version`
1794
+ # @return [String]
1795
+ attr_accessor :version
1796
+
1797
+ def initialize(**args)
1798
+ update!(**args)
1799
+ end
1800
+
1801
+ # Update properties of this object
1802
+ def update!(**args)
1803
+ @tracks = args[:tracks] if args.key?(:tracks)
1804
+ @version = args[:version] if args.key?(:version)
1805
+ end
1806
+ end
1807
+
1808
+ # Config for PERSON_DETECTION.
1809
+ class GoogleCloudVideointelligenceV1beta2PersonDetectionConfig
1810
+ include Google::Apis::Core::Hashable
1811
+
1812
+ # Whether to enable person attributes detection, such as cloth color (black,
1813
+ # blue, etc), type (coat, dress, etc), pattern (plain, floral, etc), hair, etc.
1814
+ # Ignored if 'include_bounding_boxes' is set to false.
1815
+ # Corresponds to the JSON property `includeAttributes`
1816
+ # @return [Boolean]
1817
+ attr_accessor :include_attributes
1818
+ alias_method :include_attributes?, :include_attributes
1819
+
1820
+ # Whether bounding boxes are included in the person detection annotation output.
1821
+ # Corresponds to the JSON property `includeBoundingBoxes`
1822
+ # @return [Boolean]
1823
+ attr_accessor :include_bounding_boxes
1824
+ alias_method :include_bounding_boxes?, :include_bounding_boxes
1825
+
1826
+ # Whether to enable pose landmarks detection. Ignored if 'include_bounding_boxes'
1827
+ # is set to false.
1828
+ # Corresponds to the JSON property `includePoseLandmarks`
1829
+ # @return [Boolean]
1830
+ attr_accessor :include_pose_landmarks
1831
+ alias_method :include_pose_landmarks?, :include_pose_landmarks
1832
+
1833
+ def initialize(**args)
1834
+ update!(**args)
1835
+ end
1836
+
1837
+ # Update properties of this object
1838
+ def update!(**args)
1839
+ @include_attributes = args[:include_attributes] if args.key?(:include_attributes)
1840
+ @include_bounding_boxes = args[:include_bounding_boxes] if args.key?(:include_bounding_boxes)
1841
+ @include_pose_landmarks = args[:include_pose_landmarks] if args.key?(:include_pose_landmarks)
1842
+ end
1843
+ end
1844
+
1673
1845
  # Config for SHOT_CHANGE_DETECTION.
1674
1846
  class GoogleCloudVideointelligenceV1beta2ShotChangeDetectionConfig
1675
1847
  include Google::Apis::Core::Hashable
@@ -2154,6 +2326,11 @@ module Google
2154
2326
  # @return [Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1beta2ExplicitContentAnnotation]
2155
2327
  attr_accessor :explicit_annotation
2156
2328
 
2329
+ # Face detection annotations.
2330
+ # Corresponds to the JSON property `faceDetectionAnnotations`
2331
+ # @return [Array<Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1beta2FaceDetectionAnnotation>]
2332
+ attr_accessor :face_detection_annotations
2333
+
2157
2334
  # Label annotations on frame level. There is exactly one element for each unique
2158
2335
  # label.
2159
2336
  # Corresponds to the JSON property `frameLabelAnnotations`
@@ -2175,6 +2352,11 @@ module Google
2175
2352
  # @return [Array<Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1beta2ObjectTrackingAnnotation>]
2176
2353
  attr_accessor :object_annotations
2177
2354
 
2355
+ # Person detection annotations.
2356
+ # Corresponds to the JSON property `personDetectionAnnotations`
2357
+ # @return [Array<Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1beta2PersonDetectionAnnotation>]
2358
+ attr_accessor :person_detection_annotations
2359
+
2178
2360
  # Video segment.
2179
2361
  # Corresponds to the JSON property `segment`
2180
2362
  # @return [Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1beta2VideoSegment]
@@ -2235,10 +2417,12 @@ module Google
2235
2417
  def update!(**args)
2236
2418
  @error = args[:error] if args.key?(:error)
2237
2419
  @explicit_annotation = args[:explicit_annotation] if args.key?(:explicit_annotation)
2420
+ @face_detection_annotations = args[:face_detection_annotations] if args.key?(:face_detection_annotations)
2238
2421
  @frame_label_annotations = args[:frame_label_annotations] if args.key?(:frame_label_annotations)
2239
2422
  @input_uri = args[:input_uri] if args.key?(:input_uri)
2240
2423
  @logo_recognition_annotations = args[:logo_recognition_annotations] if args.key?(:logo_recognition_annotations)
2241
2424
  @object_annotations = args[:object_annotations] if args.key?(:object_annotations)
2425
+ @person_detection_annotations = args[:person_detection_annotations] if args.key?(:person_detection_annotations)
2242
2426
  @segment = args[:segment] if args.key?(:segment)
2243
2427
  @segment_label_annotations = args[:segment_label_annotations] if args.key?(:segment_label_annotations)
2244
2428
  @segment_presence_label_annotations = args[:segment_presence_label_annotations] if args.key?(:segment_presence_label_annotations)
@@ -2259,6 +2443,11 @@ module Google
2259
2443
  # @return [Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1beta2ExplicitContentDetectionConfig]
2260
2444
  attr_accessor :explicit_content_detection_config
2261
2445
 
2446
+ # Config for FACE_DETECTION.
2447
+ # Corresponds to the JSON property `faceDetectionConfig`
2448
+ # @return [Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1beta2FaceDetectionConfig]
2449
+ attr_accessor :face_detection_config
2450
+
2262
2451
  # Config for LABEL_DETECTION.
2263
2452
  # Corresponds to the JSON property `labelDetectionConfig`
2264
2453
  # @return [Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1beta2LabelDetectionConfig]
@@ -2269,6 +2458,11 @@ module Google
2269
2458
  # @return [Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1beta2ObjectTrackingConfig]
2270
2459
  attr_accessor :object_tracking_config
2271
2460
 
2461
+ # Config for PERSON_DETECTION.
2462
+ # Corresponds to the JSON property `personDetectionConfig`
2463
+ # @return [Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1beta2PersonDetectionConfig]
2464
+ attr_accessor :person_detection_config
2465
+
2272
2466
  # Video segments to annotate. The segments may overlap and are not required to
2273
2467
  # be contiguous or span the whole video. If unspecified, each video is treated
2274
2468
  # as a single segment.
@@ -2298,8 +2492,10 @@ module Google
2298
2492
  # Update properties of this object
2299
2493
  def update!(**args)
2300
2494
  @explicit_content_detection_config = args[:explicit_content_detection_config] if args.key?(:explicit_content_detection_config)
2495
+ @face_detection_config = args[:face_detection_config] if args.key?(:face_detection_config)
2301
2496
  @label_detection_config = args[:label_detection_config] if args.key?(:label_detection_config)
2302
2497
  @object_tracking_config = args[:object_tracking_config] if args.key?(:object_tracking_config)
2498
+ @person_detection_config = args[:person_detection_config] if args.key?(:person_detection_config)
2303
2499
  @segments = args[:segments] if args.key?(:segments)
2304
2500
  @shot_change_detection_config = args[:shot_change_detection_config] if args.key?(:shot_change_detection_config)
2305
2501
  @speech_transcription_config = args[:speech_transcription_config] if args.key?(:speech_transcription_config)
@@ -2586,6 +2782,25 @@ module Google
2586
2782
  end
2587
2783
  end
2588
2784
 
2785
+ # Face detection annotation.
2786
+ class GoogleCloudVideointelligenceV1p1beta1FaceDetectionAnnotation
2787
+ include Google::Apis::Core::Hashable
2788
+
2789
+ # Feature version.
2790
+ # Corresponds to the JSON property `version`
2791
+ # @return [String]
2792
+ attr_accessor :version
2793
+
2794
+ def initialize(**args)
2795
+ update!(**args)
2796
+ end
2797
+
2798
+ # Update properties of this object
2799
+ def update!(**args)
2800
+ @version = args[:version] if args.key?(:version)
2801
+ end
2802
+ end
2803
+
2589
2804
  # Label annotation.
2590
2805
  class GoogleCloudVideointelligenceV1p1beta1LabelAnnotation
2591
2806
  include Google::Apis::Core::Hashable
@@ -2887,6 +3102,31 @@ module Google
2887
3102
  end
2888
3103
  end
2889
3104
 
3105
+ # Person detection annotation per video.
3106
+ class GoogleCloudVideointelligenceV1p1beta1PersonDetectionAnnotation
3107
+ include Google::Apis::Core::Hashable
3108
+
3109
+ # The detected tracks of a person.
3110
+ # Corresponds to the JSON property `tracks`
3111
+ # @return [Array<Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p1beta1Track>]
3112
+ attr_accessor :tracks
3113
+
3114
+ # Feature version.
3115
+ # Corresponds to the JSON property `version`
3116
+ # @return [String]
3117
+ attr_accessor :version
3118
+
3119
+ def initialize(**args)
3120
+ update!(**args)
3121
+ end
3122
+
3123
+ # Update properties of this object
3124
+ def update!(**args)
3125
+ @tracks = args[:tracks] if args.key?(:tracks)
3126
+ @version = args[:version] if args.key?(:version)
3127
+ end
3128
+ end
3129
+
2890
3130
  # Alternative hypotheses (a.k.a. n-best list).
2891
3131
  class GoogleCloudVideointelligenceV1p1beta1SpeechRecognitionAlternative
2892
3132
  include Google::Apis::Core::Hashable
@@ -3202,6 +3442,11 @@ module Google
3202
3442
  # @return [Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p1beta1ExplicitContentAnnotation]
3203
3443
  attr_accessor :explicit_annotation
3204
3444
 
3445
+ # Face detection annotations.
3446
+ # Corresponds to the JSON property `faceDetectionAnnotations`
3447
+ # @return [Array<Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p1beta1FaceDetectionAnnotation>]
3448
+ attr_accessor :face_detection_annotations
3449
+
3205
3450
  # Label annotations on frame level. There is exactly one element for each unique
3206
3451
  # label.
3207
3452
  # Corresponds to the JSON property `frameLabelAnnotations`
@@ -3223,6 +3468,11 @@ module Google
3223
3468
  # @return [Array<Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p1beta1ObjectTrackingAnnotation>]
3224
3469
  attr_accessor :object_annotations
3225
3470
 
3471
+ # Person detection annotations.
3472
+ # Corresponds to the JSON property `personDetectionAnnotations`
3473
+ # @return [Array<Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p1beta1PersonDetectionAnnotation>]
3474
+ attr_accessor :person_detection_annotations
3475
+
3226
3476
  # Video segment.
3227
3477
  # Corresponds to the JSON property `segment`
3228
3478
  # @return [Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p1beta1VideoSegment]
@@ -3283,10 +3533,12 @@ module Google
3283
3533
  def update!(**args)
3284
3534
  @error = args[:error] if args.key?(:error)
3285
3535
  @explicit_annotation = args[:explicit_annotation] if args.key?(:explicit_annotation)
3536
+ @face_detection_annotations = args[:face_detection_annotations] if args.key?(:face_detection_annotations)
3286
3537
  @frame_label_annotations = args[:frame_label_annotations] if args.key?(:frame_label_annotations)
3287
3538
  @input_uri = args[:input_uri] if args.key?(:input_uri)
3288
3539
  @logo_recognition_annotations = args[:logo_recognition_annotations] if args.key?(:logo_recognition_annotations)
3289
3540
  @object_annotations = args[:object_annotations] if args.key?(:object_annotations)
3541
+ @person_detection_annotations = args[:person_detection_annotations] if args.key?(:person_detection_annotations)
3290
3542
  @segment = args[:segment] if args.key?(:segment)
3291
3543
  @segment_label_annotations = args[:segment_label_annotations] if args.key?(:segment_label_annotations)
3292
3544
  @segment_presence_label_annotations = args[:segment_presence_label_annotations] if args.key?(:segment_presence_label_annotations)
@@ -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::VideointelligenceV1beta2::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::VideointelligenceV1beta2::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::VideointelligenceV1beta2::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::VideointelligenceV1beta2::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::VideointelligenceV1beta2::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::VideointelligenceV1beta2::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::VideointelligenceV1beta2::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