google-api-client 0.46.0 → 0.46.1
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +59 -0
- data/generated/google/apis/accesscontextmanager_v1.rb +1 -1
- data/generated/google/apis/accesscontextmanager_v1/classes.rb +68 -0
- data/generated/google/apis/accesscontextmanager_v1/representations.rb +30 -0
- data/generated/google/apis/accesscontextmanager_v1/service.rb +180 -0
- data/generated/google/apis/adexchangebuyer_v1_4.rb +1 -1
- data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +25 -0
- data/generated/google/apis/adexchangebuyer_v1_4/representations.rb +15 -0
- data/generated/google/apis/admob_v1.rb +3 -2
- data/generated/google/apis/admob_v1/service.rb +2 -1
- data/generated/google/apis/adsense_v1_4.rb +1 -1
- data/generated/google/apis/adsense_v1_4/service.rb +4 -1
- data/generated/google/apis/analyticsdata_v1alpha.rb +1 -1
- data/generated/google/apis/analyticsdata_v1alpha/classes.rb +31 -0
- data/generated/google/apis/analyticsdata_v1alpha/representations.rb +17 -0
- data/generated/google/apis/analyticsdata_v1alpha/service.rb +39 -0
- data/generated/google/apis/androidpublisher_v3.rb +1 -1
- data/generated/google/apis/androidpublisher_v3/service.rb +2 -5
- data/generated/google/apis/apigee_v1.rb +1 -1
- data/generated/google/apis/apigee_v1/classes.rb +231 -1
- data/generated/google/apis/apigee_v1/representations.rb +87 -0
- data/generated/google/apis/apigee_v1/service.rb +201 -1
- data/generated/google/apis/appsmarket_v2.rb +1 -1
- data/generated/google/apis/billingbudgets_v1.rb +38 -0
- data/generated/google/apis/billingbudgets_v1/classes.rb +362 -0
- data/generated/google/apis/billingbudgets_v1/representations.rb +170 -0
- data/generated/google/apis/billingbudgets_v1/service.rb +249 -0
- data/generated/google/apis/cloudasset_v1p4beta1.rb +1 -1
- data/generated/google/apis/cloudasset_v1p4beta1/classes.rb +3 -3
- data/generated/google/apis/cloudsearch_v1.rb +1 -1
- data/generated/google/apis/cloudsearch_v1/classes.rb +2 -1
- data/generated/google/apis/cloudshell_v1.rb +1 -1
- data/generated/google/apis/cloudshell_v1/classes.rb +342 -0
- data/generated/google/apis/cloudshell_v1/representations.rb +200 -0
- data/generated/google/apis/cloudshell_v1/service.rb +177 -0
- data/generated/google/apis/composer_v1.rb +1 -1
- data/generated/google/apis/composer_v1/classes.rb +2 -3
- data/generated/google/apis/composer_v1beta1.rb +1 -1
- data/generated/google/apis/composer_v1beta1/classes.rb +2 -3
- data/generated/google/apis/composer_v1beta1/service.rb +37 -35
- data/generated/google/apis/compute_alpha.rb +1 -1
- data/generated/google/apis/compute_alpha/classes.rb +126 -21
- data/generated/google/apis/compute_alpha/representations.rb +7 -0
- data/generated/google/apis/compute_alpha/service.rb +62 -3
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +83 -19
- data/generated/google/apis/compute_beta/representations.rb +4 -0
- data/generated/google/apis/compute_beta/service.rb +3 -3
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +28 -8
- data/generated/google/apis/compute_v1/representations.rb +3 -0
- data/generated/google/apis/compute_v1/service.rb +3 -3
- data/generated/google/apis/container_v1beta1.rb +1 -1
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2_1.rb +1 -1
- data/generated/google/apis/content_v2_1/classes.rb +99 -0
- data/generated/google/apis/content_v2_1/representations.rb +47 -0
- data/generated/google/apis/content_v2_1/service.rb +37 -0
- data/generated/google/apis/dialogflow_v2.rb +1 -1
- data/generated/google/apis/dialogflow_v2/classes.rb +50 -32
- data/generated/google/apis/dialogflow_v2/representations.rb +28 -13
- data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +50 -32
- data/generated/google/apis/dialogflow_v2beta1/representations.rb +28 -13
- data/generated/google/apis/dialogflow_v2beta1/service.rb +54 -4
- data/generated/google/apis/dialogflow_v3beta1.rb +1 -1
- data/generated/google/apis/dialogflow_v3beta1/classes.rb +66 -35
- data/generated/google/apis/dialogflow_v3beta1/representations.rb +29 -13
- data/generated/google/apis/dialogflow_v3beta1/service.rb +22 -9
- data/generated/google/apis/displayvideo_v1.rb +1 -1
- data/generated/google/apis/displayvideo_v1/service.rb +13 -10
- data/generated/google/apis/dns_v1.rb +1 -1
- data/generated/google/apis/dns_v1/service.rb +10 -10
- data/generated/google/apis/dns_v1beta2.rb +1 -1
- data/generated/google/apis/dns_v1beta2/service.rb +10 -10
- data/generated/google/apis/documentai_v1beta3.rb +36 -0
- data/generated/google/apis/documentai_v1beta3/classes.rb +6149 -0
- data/generated/google/apis/documentai_v1beta3/representations.rb +2666 -0
- data/generated/google/apis/documentai_v1beta3/service.rb +263 -0
- data/generated/google/apis/doubleclickbidmanager_v1_1.rb +1 -1
- data/generated/google/apis/doubleclickbidmanager_v1_1/classes.rb +2 -2
- data/generated/google/apis/drive_v2.rb +1 -1
- data/generated/google/apis/drive_v2/classes.rb +2 -1
- data/generated/google/apis/fitness_v1.rb +13 -1
- data/generated/google/apis/healthcare_v1beta1.rb +1 -1
- data/generated/google/apis/healthcare_v1beta1/classes.rb +116 -289
- data/generated/google/apis/healthcare_v1beta1/representations.rb +45 -81
- data/generated/google/apis/healthcare_v1beta1/service.rb +65 -61
- data/generated/google/apis/licensing_v1.rb +1 -1
- data/generated/google/apis/licensing_v1/service.rb +2 -2
- data/generated/google/apis/lifesciences_v2beta.rb +1 -1
- data/generated/google/apis/lifesciences_v2beta/classes.rb +104 -0
- data/generated/google/apis/lifesciences_v2beta/representations.rb +47 -0
- data/generated/google/apis/memcache_v1beta2.rb +1 -1
- data/generated/google/apis/memcache_v1beta2/classes.rb +1 -1
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +48 -0
- data/generated/google/apis/monitoring_v3/representations.rb +18 -0
- data/generated/google/apis/oauth2_v2.rb +40 -0
- data/generated/google/apis/oauth2_v2/classes.rb +165 -0
- data/generated/google/apis/oauth2_v2/representations.rb +68 -0
- data/generated/google/apis/oauth2_v2/service.rb +158 -0
- data/generated/google/apis/people_v1.rb +1 -1
- data/generated/google/apis/people_v1/classes.rb +3 -2
- data/generated/google/apis/people_v1/service.rb +4 -4
- data/generated/google/apis/realtimebidding_v1.rb +1 -1
- data/generated/google/apis/realtimebidding_v1/classes.rb +55 -94
- data/generated/google/apis/realtimebidding_v1/representations.rb +18 -32
- data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1/classes.rb +6 -0
- data/generated/google/apis/remotebuildexecution_v1/representations.rb +1 -0
- data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +6 -0
- data/generated/google/apis/remotebuildexecution_v1alpha/representations.rb +1 -0
- data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v2/classes.rb +6 -0
- data/generated/google/apis/remotebuildexecution_v2/representations.rb +1 -0
- data/generated/google/apis/run_v1.rb +1 -1
- data/generated/google/apis/run_v1/classes.rb +5 -2
- data/generated/google/apis/smartdevicemanagement_v1.rb +1 -1
- data/generated/google/apis/smartdevicemanagement_v1/classes.rb +4 -10
- data/generated/google/apis/smartdevicemanagement_v1/representations.rb +0 -1
- data/generated/google/apis/smartdevicemanagement_v1/service.rb +1 -4
- data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
- data/generated/google/apis/sqladmin_v1beta4/classes.rb +49 -5
- data/generated/google/apis/sqladmin_v1beta4/representations.rb +17 -0
- data/generated/google/apis/storagetransfer_v1.rb +1 -1
- data/generated/google/apis/storagetransfer_v1/classes.rb +13 -0
- data/generated/google/apis/storagetransfer_v1/representations.rb +12 -0
- data/generated/google/apis/storagetransfer_v1/service.rb +5 -2
- data/generated/google/apis/sts_v1.rb +1 -1
- data/generated/google/apis/sts_v1/classes.rb +10 -9
- data/generated/google/apis/sts_v1beta.rb +1 -1
- data/generated/google/apis/sts_v1beta/classes.rb +66 -70
- data/generated/google/apis/sts_v1beta/service.rb +2 -2
- data/generated/google/apis/testing_v1.rb +1 -1
- data/generated/google/apis/testing_v1/classes.rb +47 -0
- data/generated/google/apis/testing_v1/representations.rb +20 -0
- data/generated/google/apis/videointelligence_v1.rb +1 -1
- data/generated/google/apis/videointelligence_v1/classes.rb +430 -2
- data/generated/google/apis/videointelligence_v1/representations.rb +241 -0
- data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
- data/generated/google/apis/videointelligence_v1beta2/classes.rb +430 -2
- data/generated/google/apis/videointelligence_v1beta2/representations.rb +241 -0
- data/generated/google/apis/videointelligence_v1p1beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +430 -2
- data/generated/google/apis/videointelligence_v1p1beta1/representations.rb +241 -0
- data/generated/google/apis/videointelligence_v1p2beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +430 -2
- data/generated/google/apis/videointelligence_v1p2beta1/representations.rb +241 -0
- data/generated/google/apis/videointelligence_v1p3beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +430 -2
- data/generated/google/apis/videointelligence_v1p3beta1/representations.rb +241 -0
- data/generated/google/apis/workflows_v1beta.rb +3 -2
- data/generated/google/apis/workflows_v1beta/service.rb +2 -1
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/generated/google/apis/youtube_v3.rb +1 -1
- data/lib/google/apis/version.rb +1 -1
- metadata +15 -3
@@ -64,12 +64,30 @@ module Google
|
|
64
64
|
include Google::Apis::Core::JsonObjectSupport
|
65
65
|
end
|
66
66
|
|
67
|
+
class GoogleCloudVideointelligenceV1FaceAnnotation
|
68
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
69
|
+
|
70
|
+
include Google::Apis::Core::JsonObjectSupport
|
71
|
+
end
|
72
|
+
|
67
73
|
class GoogleCloudVideointelligenceV1FaceDetectionAnnotation
|
68
74
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
69
75
|
|
70
76
|
include Google::Apis::Core::JsonObjectSupport
|
71
77
|
end
|
72
78
|
|
79
|
+
class GoogleCloudVideointelligenceV1FaceFrame
|
80
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
81
|
+
|
82
|
+
include Google::Apis::Core::JsonObjectSupport
|
83
|
+
end
|
84
|
+
|
85
|
+
class GoogleCloudVideointelligenceV1FaceSegment
|
86
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
87
|
+
|
88
|
+
include Google::Apis::Core::JsonObjectSupport
|
89
|
+
end
|
90
|
+
|
73
91
|
class GoogleCloudVideointelligenceV1LabelAnnotation
|
74
92
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
75
93
|
|
@@ -250,6 +268,12 @@ module Google
|
|
250
268
|
include Google::Apis::Core::JsonObjectSupport
|
251
269
|
end
|
252
270
|
|
271
|
+
class GoogleCloudVideointelligenceV1beta2FaceAnnotation
|
272
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
273
|
+
|
274
|
+
include Google::Apis::Core::JsonObjectSupport
|
275
|
+
end
|
276
|
+
|
253
277
|
class GoogleCloudVideointelligenceV1beta2FaceDetectionAnnotation
|
254
278
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
255
279
|
|
@@ -262,6 +286,18 @@ module Google
|
|
262
286
|
include Google::Apis::Core::JsonObjectSupport
|
263
287
|
end
|
264
288
|
|
289
|
+
class GoogleCloudVideointelligenceV1beta2FaceFrame
|
290
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
291
|
+
|
292
|
+
include Google::Apis::Core::JsonObjectSupport
|
293
|
+
end
|
294
|
+
|
295
|
+
class GoogleCloudVideointelligenceV1beta2FaceSegment
|
296
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
297
|
+
|
298
|
+
include Google::Apis::Core::JsonObjectSupport
|
299
|
+
end
|
300
|
+
|
265
301
|
class GoogleCloudVideointelligenceV1beta2LabelAnnotation
|
266
302
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
267
303
|
|
@@ -478,12 +514,30 @@ module Google
|
|
478
514
|
include Google::Apis::Core::JsonObjectSupport
|
479
515
|
end
|
480
516
|
|
517
|
+
class GoogleCloudVideointelligenceV1p1beta1FaceAnnotation
|
518
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
519
|
+
|
520
|
+
include Google::Apis::Core::JsonObjectSupport
|
521
|
+
end
|
522
|
+
|
481
523
|
class GoogleCloudVideointelligenceV1p1beta1FaceDetectionAnnotation
|
482
524
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
483
525
|
|
484
526
|
include Google::Apis::Core::JsonObjectSupport
|
485
527
|
end
|
486
528
|
|
529
|
+
class GoogleCloudVideointelligenceV1p1beta1FaceFrame
|
530
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
531
|
+
|
532
|
+
include Google::Apis::Core::JsonObjectSupport
|
533
|
+
end
|
534
|
+
|
535
|
+
class GoogleCloudVideointelligenceV1p1beta1FaceSegment
|
536
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
537
|
+
|
538
|
+
include Google::Apis::Core::JsonObjectSupport
|
539
|
+
end
|
540
|
+
|
487
541
|
class GoogleCloudVideointelligenceV1p1beta1LabelAnnotation
|
488
542
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
489
543
|
|
@@ -652,12 +706,30 @@ module Google
|
|
652
706
|
include Google::Apis::Core::JsonObjectSupport
|
653
707
|
end
|
654
708
|
|
709
|
+
class GoogleCloudVideointelligenceV1p2beta1FaceAnnotation
|
710
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
711
|
+
|
712
|
+
include Google::Apis::Core::JsonObjectSupport
|
713
|
+
end
|
714
|
+
|
655
715
|
class GoogleCloudVideointelligenceV1p2beta1FaceDetectionAnnotation
|
656
716
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
657
717
|
|
658
718
|
include Google::Apis::Core::JsonObjectSupport
|
659
719
|
end
|
660
720
|
|
721
|
+
class GoogleCloudVideointelligenceV1p2beta1FaceFrame
|
722
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
723
|
+
|
724
|
+
include Google::Apis::Core::JsonObjectSupport
|
725
|
+
end
|
726
|
+
|
727
|
+
class GoogleCloudVideointelligenceV1p2beta1FaceSegment
|
728
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
729
|
+
|
730
|
+
include Google::Apis::Core::JsonObjectSupport
|
731
|
+
end
|
732
|
+
|
661
733
|
class GoogleCloudVideointelligenceV1p2beta1LabelAnnotation
|
662
734
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
663
735
|
|
@@ -844,12 +916,30 @@ module Google
|
|
844
916
|
include Google::Apis::Core::JsonObjectSupport
|
845
917
|
end
|
846
918
|
|
919
|
+
class GoogleCloudVideointelligenceV1p3beta1FaceAnnotation
|
920
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
921
|
+
|
922
|
+
include Google::Apis::Core::JsonObjectSupport
|
923
|
+
end
|
924
|
+
|
847
925
|
class GoogleCloudVideointelligenceV1p3beta1FaceDetectionAnnotation
|
848
926
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
849
927
|
|
850
928
|
include Google::Apis::Core::JsonObjectSupport
|
851
929
|
end
|
852
930
|
|
931
|
+
class GoogleCloudVideointelligenceV1p3beta1FaceFrame
|
932
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
933
|
+
|
934
|
+
include Google::Apis::Core::JsonObjectSupport
|
935
|
+
end
|
936
|
+
|
937
|
+
class GoogleCloudVideointelligenceV1p3beta1FaceSegment
|
938
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
939
|
+
|
940
|
+
include Google::Apis::Core::JsonObjectSupport
|
941
|
+
end
|
942
|
+
|
853
943
|
class GoogleCloudVideointelligenceV1p3beta1LabelAnnotation
|
854
944
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
855
945
|
|
@@ -1067,6 +1157,17 @@ module Google
|
|
1067
1157
|
end
|
1068
1158
|
end
|
1069
1159
|
|
1160
|
+
class GoogleCloudVideointelligenceV1FaceAnnotation
|
1161
|
+
# @private
|
1162
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1163
|
+
collection :frames, as: 'frames', class: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1FaceFrame, decorator: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1FaceFrame::Representation
|
1164
|
+
|
1165
|
+
collection :segments, as: 'segments', class: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1FaceSegment, decorator: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1FaceSegment::Representation
|
1166
|
+
|
1167
|
+
property :thumbnail, :base64 => true, as: 'thumbnail'
|
1168
|
+
end
|
1169
|
+
end
|
1170
|
+
|
1070
1171
|
class GoogleCloudVideointelligenceV1FaceDetectionAnnotation
|
1071
1172
|
# @private
|
1072
1173
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1074,6 +1175,23 @@ module Google
|
|
1074
1175
|
end
|
1075
1176
|
end
|
1076
1177
|
|
1178
|
+
class GoogleCloudVideointelligenceV1FaceFrame
|
1179
|
+
# @private
|
1180
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1181
|
+
collection :normalized_bounding_boxes, as: 'normalizedBoundingBoxes', class: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1NormalizedBoundingBox, decorator: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1NormalizedBoundingBox::Representation
|
1182
|
+
|
1183
|
+
property :time_offset, as: 'timeOffset'
|
1184
|
+
end
|
1185
|
+
end
|
1186
|
+
|
1187
|
+
class GoogleCloudVideointelligenceV1FaceSegment
|
1188
|
+
# @private
|
1189
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1190
|
+
property :segment, as: 'segment', class: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1VideoSegment, decorator: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1VideoSegment::Representation
|
1191
|
+
|
1192
|
+
end
|
1193
|
+
end
|
1194
|
+
|
1077
1195
|
class GoogleCloudVideointelligenceV1LabelAnnotation
|
1078
1196
|
# @private
|
1079
1197
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1272,6 +1390,8 @@ module Google
|
|
1272
1390
|
|
1273
1391
|
property :explicit_annotation, as: 'explicitAnnotation', class: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1ExplicitContentAnnotation, decorator: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1ExplicitContentAnnotation::Representation
|
1274
1392
|
|
1393
|
+
collection :face_annotations, as: 'faceAnnotations', class: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1FaceAnnotation, decorator: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1FaceAnnotation::Representation
|
1394
|
+
|
1275
1395
|
collection :face_detection_annotations, as: 'faceDetectionAnnotations', class: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1FaceDetectionAnnotation, decorator: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1FaceDetectionAnnotation::Representation
|
1276
1396
|
|
1277
1397
|
collection :frame_label_annotations, as: 'frameLabelAnnotations', class: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1LabelAnnotation, decorator: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1LabelAnnotation::Representation
|
@@ -1402,6 +1522,17 @@ module Google
|
|
1402
1522
|
end
|
1403
1523
|
end
|
1404
1524
|
|
1525
|
+
class GoogleCloudVideointelligenceV1beta2FaceAnnotation
|
1526
|
+
# @private
|
1527
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1528
|
+
collection :frames, as: 'frames', class: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1beta2FaceFrame, decorator: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1beta2FaceFrame::Representation
|
1529
|
+
|
1530
|
+
collection :segments, as: 'segments', class: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1beta2FaceSegment, decorator: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1beta2FaceSegment::Representation
|
1531
|
+
|
1532
|
+
property :thumbnail, :base64 => true, as: 'thumbnail'
|
1533
|
+
end
|
1534
|
+
end
|
1535
|
+
|
1405
1536
|
class GoogleCloudVideointelligenceV1beta2FaceDetectionAnnotation
|
1406
1537
|
# @private
|
1407
1538
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1418,6 +1549,23 @@ module Google
|
|
1418
1549
|
end
|
1419
1550
|
end
|
1420
1551
|
|
1552
|
+
class GoogleCloudVideointelligenceV1beta2FaceFrame
|
1553
|
+
# @private
|
1554
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1555
|
+
collection :normalized_bounding_boxes, as: 'normalizedBoundingBoxes', class: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1beta2NormalizedBoundingBox, decorator: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1beta2NormalizedBoundingBox::Representation
|
1556
|
+
|
1557
|
+
property :time_offset, as: 'timeOffset'
|
1558
|
+
end
|
1559
|
+
end
|
1560
|
+
|
1561
|
+
class GoogleCloudVideointelligenceV1beta2FaceSegment
|
1562
|
+
# @private
|
1563
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1564
|
+
property :segment, as: 'segment', class: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1beta2VideoSegment, decorator: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1beta2VideoSegment::Representation
|
1565
|
+
|
1566
|
+
end
|
1567
|
+
end
|
1568
|
+
|
1421
1569
|
class GoogleCloudVideointelligenceV1beta2LabelAnnotation
|
1422
1570
|
# @private
|
1423
1571
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1681,6 +1829,8 @@ module Google
|
|
1681
1829
|
|
1682
1830
|
property :explicit_annotation, as: 'explicitAnnotation', class: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1beta2ExplicitContentAnnotation, decorator: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1beta2ExplicitContentAnnotation::Representation
|
1683
1831
|
|
1832
|
+
collection :face_annotations, as: 'faceAnnotations', class: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1beta2FaceAnnotation, decorator: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1beta2FaceAnnotation::Representation
|
1833
|
+
|
1684
1834
|
collection :face_detection_annotations, as: 'faceDetectionAnnotations', class: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1beta2FaceDetectionAnnotation, decorator: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1beta2FaceDetectionAnnotation::Representation
|
1685
1835
|
|
1686
1836
|
collection :frame_label_annotations, as: 'frameLabelAnnotations', class: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1beta2LabelAnnotation, decorator: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1beta2LabelAnnotation::Representation
|
@@ -1815,6 +1965,17 @@ module Google
|
|
1815
1965
|
end
|
1816
1966
|
end
|
1817
1967
|
|
1968
|
+
class GoogleCloudVideointelligenceV1p1beta1FaceAnnotation
|
1969
|
+
# @private
|
1970
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1971
|
+
collection :frames, as: 'frames', class: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p1beta1FaceFrame, decorator: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p1beta1FaceFrame::Representation
|
1972
|
+
|
1973
|
+
collection :segments, as: 'segments', class: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p1beta1FaceSegment, decorator: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p1beta1FaceSegment::Representation
|
1974
|
+
|
1975
|
+
property :thumbnail, :base64 => true, as: 'thumbnail'
|
1976
|
+
end
|
1977
|
+
end
|
1978
|
+
|
1818
1979
|
class GoogleCloudVideointelligenceV1p1beta1FaceDetectionAnnotation
|
1819
1980
|
# @private
|
1820
1981
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1822,6 +1983,23 @@ module Google
|
|
1822
1983
|
end
|
1823
1984
|
end
|
1824
1985
|
|
1986
|
+
class GoogleCloudVideointelligenceV1p1beta1FaceFrame
|
1987
|
+
# @private
|
1988
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1989
|
+
collection :normalized_bounding_boxes, as: 'normalizedBoundingBoxes', class: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p1beta1NormalizedBoundingBox, decorator: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p1beta1NormalizedBoundingBox::Representation
|
1990
|
+
|
1991
|
+
property :time_offset, as: 'timeOffset'
|
1992
|
+
end
|
1993
|
+
end
|
1994
|
+
|
1995
|
+
class GoogleCloudVideointelligenceV1p1beta1FaceSegment
|
1996
|
+
# @private
|
1997
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1998
|
+
property :segment, as: 'segment', class: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p1beta1VideoSegment, decorator: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p1beta1VideoSegment::Representation
|
1999
|
+
|
2000
|
+
end
|
2001
|
+
end
|
2002
|
+
|
1825
2003
|
class GoogleCloudVideointelligenceV1p1beta1LabelAnnotation
|
1826
2004
|
# @private
|
1827
2005
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -2020,6 +2198,8 @@ module Google
|
|
2020
2198
|
|
2021
2199
|
property :explicit_annotation, as: 'explicitAnnotation', class: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p1beta1ExplicitContentAnnotation, decorator: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p1beta1ExplicitContentAnnotation::Representation
|
2022
2200
|
|
2201
|
+
collection :face_annotations, as: 'faceAnnotations', class: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p1beta1FaceAnnotation, decorator: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p1beta1FaceAnnotation::Representation
|
2202
|
+
|
2023
2203
|
collection :face_detection_annotations, as: 'faceDetectionAnnotations', class: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p1beta1FaceDetectionAnnotation, decorator: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p1beta1FaceDetectionAnnotation::Representation
|
2024
2204
|
|
2025
2205
|
collection :frame_label_annotations, as: 'frameLabelAnnotations', class: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p1beta1LabelAnnotation, decorator: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p1beta1LabelAnnotation::Representation
|
@@ -2130,6 +2310,17 @@ module Google
|
|
2130
2310
|
end
|
2131
2311
|
end
|
2132
2312
|
|
2313
|
+
class GoogleCloudVideointelligenceV1p2beta1FaceAnnotation
|
2314
|
+
# @private
|
2315
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2316
|
+
collection :frames, as: 'frames', class: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p2beta1FaceFrame, decorator: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p2beta1FaceFrame::Representation
|
2317
|
+
|
2318
|
+
collection :segments, as: 'segments', class: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p2beta1FaceSegment, decorator: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p2beta1FaceSegment::Representation
|
2319
|
+
|
2320
|
+
property :thumbnail, :base64 => true, as: 'thumbnail'
|
2321
|
+
end
|
2322
|
+
end
|
2323
|
+
|
2133
2324
|
class GoogleCloudVideointelligenceV1p2beta1FaceDetectionAnnotation
|
2134
2325
|
# @private
|
2135
2326
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -2137,6 +2328,23 @@ module Google
|
|
2137
2328
|
end
|
2138
2329
|
end
|
2139
2330
|
|
2331
|
+
class GoogleCloudVideointelligenceV1p2beta1FaceFrame
|
2332
|
+
# @private
|
2333
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2334
|
+
collection :normalized_bounding_boxes, as: 'normalizedBoundingBoxes', class: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p2beta1NormalizedBoundingBox, decorator: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p2beta1NormalizedBoundingBox::Representation
|
2335
|
+
|
2336
|
+
property :time_offset, as: 'timeOffset'
|
2337
|
+
end
|
2338
|
+
end
|
2339
|
+
|
2340
|
+
class GoogleCloudVideointelligenceV1p2beta1FaceSegment
|
2341
|
+
# @private
|
2342
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2343
|
+
property :segment, as: 'segment', class: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p2beta1VideoSegment, decorator: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p2beta1VideoSegment::Representation
|
2344
|
+
|
2345
|
+
end
|
2346
|
+
end
|
2347
|
+
|
2140
2348
|
class GoogleCloudVideointelligenceV1p2beta1LabelAnnotation
|
2141
2349
|
# @private
|
2142
2350
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -2335,6 +2543,8 @@ module Google
|
|
2335
2543
|
|
2336
2544
|
property :explicit_annotation, as: 'explicitAnnotation', class: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p2beta1ExplicitContentAnnotation, decorator: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p2beta1ExplicitContentAnnotation::Representation
|
2337
2545
|
|
2546
|
+
collection :face_annotations, as: 'faceAnnotations', class: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p2beta1FaceAnnotation, decorator: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p2beta1FaceAnnotation::Representation
|
2547
|
+
|
2338
2548
|
collection :face_detection_annotations, as: 'faceDetectionAnnotations', class: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p2beta1FaceDetectionAnnotation, decorator: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p2beta1FaceDetectionAnnotation::Representation
|
2339
2549
|
|
2340
2550
|
collection :frame_label_annotations, as: 'frameLabelAnnotations', class: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p2beta1LabelAnnotation, decorator: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p2beta1LabelAnnotation::Representation
|
@@ -2473,6 +2683,17 @@ module Google
|
|
2473
2683
|
end
|
2474
2684
|
end
|
2475
2685
|
|
2686
|
+
class GoogleCloudVideointelligenceV1p3beta1FaceAnnotation
|
2687
|
+
# @private
|
2688
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2689
|
+
collection :frames, as: 'frames', class: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p3beta1FaceFrame, decorator: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p3beta1FaceFrame::Representation
|
2690
|
+
|
2691
|
+
collection :segments, as: 'segments', class: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p3beta1FaceSegment, decorator: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p3beta1FaceSegment::Representation
|
2692
|
+
|
2693
|
+
property :thumbnail, :base64 => true, as: 'thumbnail'
|
2694
|
+
end
|
2695
|
+
end
|
2696
|
+
|
2476
2697
|
class GoogleCloudVideointelligenceV1p3beta1FaceDetectionAnnotation
|
2477
2698
|
# @private
|
2478
2699
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -2480,6 +2701,23 @@ module Google
|
|
2480
2701
|
end
|
2481
2702
|
end
|
2482
2703
|
|
2704
|
+
class GoogleCloudVideointelligenceV1p3beta1FaceFrame
|
2705
|
+
# @private
|
2706
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2707
|
+
collection :normalized_bounding_boxes, as: 'normalizedBoundingBoxes', class: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p3beta1NormalizedBoundingBox, decorator: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p3beta1NormalizedBoundingBox::Representation
|
2708
|
+
|
2709
|
+
property :time_offset, as: 'timeOffset'
|
2710
|
+
end
|
2711
|
+
end
|
2712
|
+
|
2713
|
+
class GoogleCloudVideointelligenceV1p3beta1FaceSegment
|
2714
|
+
# @private
|
2715
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2716
|
+
property :segment, as: 'segment', class: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p3beta1VideoSegment, decorator: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p3beta1VideoSegment::Representation
|
2717
|
+
|
2718
|
+
end
|
2719
|
+
end
|
2720
|
+
|
2483
2721
|
class GoogleCloudVideointelligenceV1p3beta1LabelAnnotation
|
2484
2722
|
# @private
|
2485
2723
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -2627,6 +2865,7 @@ module Google
|
|
2627
2865
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2628
2866
|
property :explicit_annotation, as: 'explicitAnnotation', class: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p3beta1ExplicitContentAnnotation, decorator: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p3beta1ExplicitContentAnnotation::Representation
|
2629
2867
|
|
2868
|
+
property :frame_timestamp, as: 'frameTimestamp'
|
2630
2869
|
collection :label_annotations, as: 'labelAnnotations', class: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p3beta1LabelAnnotation, decorator: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p3beta1LabelAnnotation::Representation
|
2631
2870
|
|
2632
2871
|
collection :object_annotations, as: 'objectAnnotations', class: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p3beta1ObjectTrackingAnnotation, decorator: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p3beta1ObjectTrackingAnnotation::Representation
|
@@ -2714,6 +2953,8 @@ module Google
|
|
2714
2953
|
|
2715
2954
|
property :explicit_annotation, as: 'explicitAnnotation', class: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p3beta1ExplicitContentAnnotation, decorator: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p3beta1ExplicitContentAnnotation::Representation
|
2716
2955
|
|
2956
|
+
collection :face_annotations, as: 'faceAnnotations', class: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p3beta1FaceAnnotation, decorator: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p3beta1FaceAnnotation::Representation
|
2957
|
+
|
2717
2958
|
collection :face_detection_annotations, as: 'faceDetectionAnnotations', class: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p3beta1FaceDetectionAnnotation, decorator: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p3beta1FaceDetectionAnnotation::Representation
|
2718
2959
|
|
2719
2960
|
collection :frame_label_annotations, as: 'frameLabelAnnotations', class: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p3beta1LabelAnnotation, decorator: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p3beta1LabelAnnotation::Representation
|
@@ -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 = '
|
30
|
+
REVISION = '20201002'
|
31
31
|
|
32
32
|
# View and manage your data across Google Cloud Platform services
|
33
33
|
AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
|
@@ -215,6 +215,38 @@ module Google
|
|
215
215
|
end
|
216
216
|
end
|
217
217
|
|
218
|
+
# Deprecated. No effect.
|
219
|
+
class GoogleCloudVideointelligenceV1FaceAnnotation
|
220
|
+
include Google::Apis::Core::Hashable
|
221
|
+
|
222
|
+
# All video frames where a face was detected.
|
223
|
+
# Corresponds to the JSON property `frames`
|
224
|
+
# @return [Array<Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1FaceFrame>]
|
225
|
+
attr_accessor :frames
|
226
|
+
|
227
|
+
# All video segments where a face was detected.
|
228
|
+
# Corresponds to the JSON property `segments`
|
229
|
+
# @return [Array<Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1FaceSegment>]
|
230
|
+
attr_accessor :segments
|
231
|
+
|
232
|
+
# Thumbnail of a representative face view (in JPEG format).
|
233
|
+
# Corresponds to the JSON property `thumbnail`
|
234
|
+
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
235
|
+
# @return [String]
|
236
|
+
attr_accessor :thumbnail
|
237
|
+
|
238
|
+
def initialize(**args)
|
239
|
+
update!(**args)
|
240
|
+
end
|
241
|
+
|
242
|
+
# Update properties of this object
|
243
|
+
def update!(**args)
|
244
|
+
@frames = args[:frames] if args.key?(:frames)
|
245
|
+
@segments = args[:segments] if args.key?(:segments)
|
246
|
+
@thumbnail = args[:thumbnail] if args.key?(:thumbnail)
|
247
|
+
end
|
248
|
+
end
|
249
|
+
|
218
250
|
# Face detection annotation.
|
219
251
|
class GoogleCloudVideointelligenceV1FaceDetectionAnnotation
|
220
252
|
include Google::Apis::Core::Hashable
|
@@ -234,6 +266,52 @@ module Google
|
|
234
266
|
end
|
235
267
|
end
|
236
268
|
|
269
|
+
# Deprecated. No effect.
|
270
|
+
class GoogleCloudVideointelligenceV1FaceFrame
|
271
|
+
include Google::Apis::Core::Hashable
|
272
|
+
|
273
|
+
# Normalized Bounding boxes in a frame. There can be more than one boxes if the
|
274
|
+
# same face is detected in multiple locations within the current frame.
|
275
|
+
# Corresponds to the JSON property `normalizedBoundingBoxes`
|
276
|
+
# @return [Array<Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1NormalizedBoundingBox>]
|
277
|
+
attr_accessor :normalized_bounding_boxes
|
278
|
+
|
279
|
+
# Time-offset, relative to the beginning of the video, corresponding to the
|
280
|
+
# video frame for this location.
|
281
|
+
# Corresponds to the JSON property `timeOffset`
|
282
|
+
# @return [String]
|
283
|
+
attr_accessor :time_offset
|
284
|
+
|
285
|
+
def initialize(**args)
|
286
|
+
update!(**args)
|
287
|
+
end
|
288
|
+
|
289
|
+
# Update properties of this object
|
290
|
+
def update!(**args)
|
291
|
+
@normalized_bounding_boxes = args[:normalized_bounding_boxes] if args.key?(:normalized_bounding_boxes)
|
292
|
+
@time_offset = args[:time_offset] if args.key?(:time_offset)
|
293
|
+
end
|
294
|
+
end
|
295
|
+
|
296
|
+
# Video segment level annotation results for face detection.
|
297
|
+
class GoogleCloudVideointelligenceV1FaceSegment
|
298
|
+
include Google::Apis::Core::Hashable
|
299
|
+
|
300
|
+
# Video segment.
|
301
|
+
# Corresponds to the JSON property `segment`
|
302
|
+
# @return [Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1VideoSegment]
|
303
|
+
attr_accessor :segment
|
304
|
+
|
305
|
+
def initialize(**args)
|
306
|
+
update!(**args)
|
307
|
+
end
|
308
|
+
|
309
|
+
# Update properties of this object
|
310
|
+
def update!(**args)
|
311
|
+
@segment = args[:segment] if args.key?(:segment)
|
312
|
+
end
|
313
|
+
end
|
314
|
+
|
237
315
|
# Label annotation.
|
238
316
|
class GoogleCloudVideointelligenceV1LabelAnnotation
|
239
317
|
include Google::Apis::Core::Hashable
|
@@ -875,6 +953,11 @@ module Google
|
|
875
953
|
# @return [Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1ExplicitContentAnnotation]
|
876
954
|
attr_accessor :explicit_annotation
|
877
955
|
|
956
|
+
# Deprecated. Please use `face_detection_annotations` instead.
|
957
|
+
# Corresponds to the JSON property `faceAnnotations`
|
958
|
+
# @return [Array<Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1FaceAnnotation>]
|
959
|
+
attr_accessor :face_annotations
|
960
|
+
|
878
961
|
# Face detection annotations.
|
879
962
|
# Corresponds to the JSON property `faceDetectionAnnotations`
|
880
963
|
# @return [Array<Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1FaceDetectionAnnotation>]
|
@@ -966,6 +1049,7 @@ module Google
|
|
966
1049
|
def update!(**args)
|
967
1050
|
@error = args[:error] if args.key?(:error)
|
968
1051
|
@explicit_annotation = args[:explicit_annotation] if args.key?(:explicit_annotation)
|
1052
|
+
@face_annotations = args[:face_annotations] if args.key?(:face_annotations)
|
969
1053
|
@face_detection_annotations = args[:face_detection_annotations] if args.key?(:face_detection_annotations)
|
970
1054
|
@frame_label_annotations = args[:frame_label_annotations] if args.key?(:frame_label_annotations)
|
971
1055
|
@input_uri = args[:input_uri] if args.key?(:input_uri)
|
@@ -1262,6 +1346,38 @@ module Google
|
|
1262
1346
|
end
|
1263
1347
|
end
|
1264
1348
|
|
1349
|
+
# Deprecated. No effect.
|
1350
|
+
class GoogleCloudVideointelligenceV1beta2FaceAnnotation
|
1351
|
+
include Google::Apis::Core::Hashable
|
1352
|
+
|
1353
|
+
# All video frames where a face was detected.
|
1354
|
+
# Corresponds to the JSON property `frames`
|
1355
|
+
# @return [Array<Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1beta2FaceFrame>]
|
1356
|
+
attr_accessor :frames
|
1357
|
+
|
1358
|
+
# All video segments where a face was detected.
|
1359
|
+
# Corresponds to the JSON property `segments`
|
1360
|
+
# @return [Array<Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1beta2FaceSegment>]
|
1361
|
+
attr_accessor :segments
|
1362
|
+
|
1363
|
+
# Thumbnail of a representative face view (in JPEG format).
|
1364
|
+
# Corresponds to the JSON property `thumbnail`
|
1365
|
+
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
1366
|
+
# @return [String]
|
1367
|
+
attr_accessor :thumbnail
|
1368
|
+
|
1369
|
+
def initialize(**args)
|
1370
|
+
update!(**args)
|
1371
|
+
end
|
1372
|
+
|
1373
|
+
# Update properties of this object
|
1374
|
+
def update!(**args)
|
1375
|
+
@frames = args[:frames] if args.key?(:frames)
|
1376
|
+
@segments = args[:segments] if args.key?(:segments)
|
1377
|
+
@thumbnail = args[:thumbnail] if args.key?(:thumbnail)
|
1378
|
+
end
|
1379
|
+
end
|
1380
|
+
|
1265
1381
|
# Face detection annotation.
|
1266
1382
|
class GoogleCloudVideointelligenceV1beta2FaceDetectionAnnotation
|
1267
1383
|
include Google::Apis::Core::Hashable
|
@@ -1281,6 +1397,52 @@ module Google
|
|
1281
1397
|
end
|
1282
1398
|
end
|
1283
1399
|
|
1400
|
+
# Deprecated. No effect.
|
1401
|
+
class GoogleCloudVideointelligenceV1beta2FaceFrame
|
1402
|
+
include Google::Apis::Core::Hashable
|
1403
|
+
|
1404
|
+
# Normalized Bounding boxes in a frame. There can be more than one boxes if the
|
1405
|
+
# same face is detected in multiple locations within the current frame.
|
1406
|
+
# Corresponds to the JSON property `normalizedBoundingBoxes`
|
1407
|
+
# @return [Array<Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1beta2NormalizedBoundingBox>]
|
1408
|
+
attr_accessor :normalized_bounding_boxes
|
1409
|
+
|
1410
|
+
# Time-offset, relative to the beginning of the video, corresponding to the
|
1411
|
+
# video frame for this location.
|
1412
|
+
# Corresponds to the JSON property `timeOffset`
|
1413
|
+
# @return [String]
|
1414
|
+
attr_accessor :time_offset
|
1415
|
+
|
1416
|
+
def initialize(**args)
|
1417
|
+
update!(**args)
|
1418
|
+
end
|
1419
|
+
|
1420
|
+
# Update properties of this object
|
1421
|
+
def update!(**args)
|
1422
|
+
@normalized_bounding_boxes = args[:normalized_bounding_boxes] if args.key?(:normalized_bounding_boxes)
|
1423
|
+
@time_offset = args[:time_offset] if args.key?(:time_offset)
|
1424
|
+
end
|
1425
|
+
end
|
1426
|
+
|
1427
|
+
# Video segment level annotation results for face detection.
|
1428
|
+
class GoogleCloudVideointelligenceV1beta2FaceSegment
|
1429
|
+
include Google::Apis::Core::Hashable
|
1430
|
+
|
1431
|
+
# Video segment.
|
1432
|
+
# Corresponds to the JSON property `segment`
|
1433
|
+
# @return [Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1beta2VideoSegment]
|
1434
|
+
attr_accessor :segment
|
1435
|
+
|
1436
|
+
def initialize(**args)
|
1437
|
+
update!(**args)
|
1438
|
+
end
|
1439
|
+
|
1440
|
+
# Update properties of this object
|
1441
|
+
def update!(**args)
|
1442
|
+
@segment = args[:segment] if args.key?(:segment)
|
1443
|
+
end
|
1444
|
+
end
|
1445
|
+
|
1284
1446
|
# Label annotation.
|
1285
1447
|
class GoogleCloudVideointelligenceV1beta2LabelAnnotation
|
1286
1448
|
include Google::Apis::Core::Hashable
|
@@ -1922,6 +2084,11 @@ module Google
|
|
1922
2084
|
# @return [Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1beta2ExplicitContentAnnotation]
|
1923
2085
|
attr_accessor :explicit_annotation
|
1924
2086
|
|
2087
|
+
# Deprecated. Please use `face_detection_annotations` instead.
|
2088
|
+
# Corresponds to the JSON property `faceAnnotations`
|
2089
|
+
# @return [Array<Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1beta2FaceAnnotation>]
|
2090
|
+
attr_accessor :face_annotations
|
2091
|
+
|
1925
2092
|
# Face detection annotations.
|
1926
2093
|
# Corresponds to the JSON property `faceDetectionAnnotations`
|
1927
2094
|
# @return [Array<Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1beta2FaceDetectionAnnotation>]
|
@@ -2013,6 +2180,7 @@ module Google
|
|
2013
2180
|
def update!(**args)
|
2014
2181
|
@error = args[:error] if args.key?(:error)
|
2015
2182
|
@explicit_annotation = args[:explicit_annotation] if args.key?(:explicit_annotation)
|
2183
|
+
@face_annotations = args[:face_annotations] if args.key?(:face_annotations)
|
2016
2184
|
@face_detection_annotations = args[:face_detection_annotations] if args.key?(:face_detection_annotations)
|
2017
2185
|
@frame_label_annotations = args[:frame_label_annotations] if args.key?(:frame_label_annotations)
|
2018
2186
|
@input_uri = args[:input_uri] if args.key?(:input_uri)
|
@@ -2396,6 +2564,38 @@ module Google
|
|
2396
2564
|
end
|
2397
2565
|
end
|
2398
2566
|
|
2567
|
+
# Deprecated. No effect.
|
2568
|
+
class GoogleCloudVideointelligenceV1p1beta1FaceAnnotation
|
2569
|
+
include Google::Apis::Core::Hashable
|
2570
|
+
|
2571
|
+
# All video frames where a face was detected.
|
2572
|
+
# Corresponds to the JSON property `frames`
|
2573
|
+
# @return [Array<Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p1beta1FaceFrame>]
|
2574
|
+
attr_accessor :frames
|
2575
|
+
|
2576
|
+
# All video segments where a face was detected.
|
2577
|
+
# Corresponds to the JSON property `segments`
|
2578
|
+
# @return [Array<Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p1beta1FaceSegment>]
|
2579
|
+
attr_accessor :segments
|
2580
|
+
|
2581
|
+
# Thumbnail of a representative face view (in JPEG format).
|
2582
|
+
# Corresponds to the JSON property `thumbnail`
|
2583
|
+
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
2584
|
+
# @return [String]
|
2585
|
+
attr_accessor :thumbnail
|
2586
|
+
|
2587
|
+
def initialize(**args)
|
2588
|
+
update!(**args)
|
2589
|
+
end
|
2590
|
+
|
2591
|
+
# Update properties of this object
|
2592
|
+
def update!(**args)
|
2593
|
+
@frames = args[:frames] if args.key?(:frames)
|
2594
|
+
@segments = args[:segments] if args.key?(:segments)
|
2595
|
+
@thumbnail = args[:thumbnail] if args.key?(:thumbnail)
|
2596
|
+
end
|
2597
|
+
end
|
2598
|
+
|
2399
2599
|
# Face detection annotation.
|
2400
2600
|
class GoogleCloudVideointelligenceV1p1beta1FaceDetectionAnnotation
|
2401
2601
|
include Google::Apis::Core::Hashable
|
@@ -2450,6 +2650,52 @@ module Google
|
|
2450
2650
|
end
|
2451
2651
|
end
|
2452
2652
|
|
2653
|
+
# Deprecated. No effect.
|
2654
|
+
class GoogleCloudVideointelligenceV1p1beta1FaceFrame
|
2655
|
+
include Google::Apis::Core::Hashable
|
2656
|
+
|
2657
|
+
# Normalized Bounding boxes in a frame. There can be more than one boxes if the
|
2658
|
+
# same face is detected in multiple locations within the current frame.
|
2659
|
+
# Corresponds to the JSON property `normalizedBoundingBoxes`
|
2660
|
+
# @return [Array<Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p1beta1NormalizedBoundingBox>]
|
2661
|
+
attr_accessor :normalized_bounding_boxes
|
2662
|
+
|
2663
|
+
# Time-offset, relative to the beginning of the video, corresponding to the
|
2664
|
+
# video frame for this location.
|
2665
|
+
# Corresponds to the JSON property `timeOffset`
|
2666
|
+
# @return [String]
|
2667
|
+
attr_accessor :time_offset
|
2668
|
+
|
2669
|
+
def initialize(**args)
|
2670
|
+
update!(**args)
|
2671
|
+
end
|
2672
|
+
|
2673
|
+
# Update properties of this object
|
2674
|
+
def update!(**args)
|
2675
|
+
@normalized_bounding_boxes = args[:normalized_bounding_boxes] if args.key?(:normalized_bounding_boxes)
|
2676
|
+
@time_offset = args[:time_offset] if args.key?(:time_offset)
|
2677
|
+
end
|
2678
|
+
end
|
2679
|
+
|
2680
|
+
# Video segment level annotation results for face detection.
|
2681
|
+
class GoogleCloudVideointelligenceV1p1beta1FaceSegment
|
2682
|
+
include Google::Apis::Core::Hashable
|
2683
|
+
|
2684
|
+
# Video segment.
|
2685
|
+
# Corresponds to the JSON property `segment`
|
2686
|
+
# @return [Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p1beta1VideoSegment]
|
2687
|
+
attr_accessor :segment
|
2688
|
+
|
2689
|
+
def initialize(**args)
|
2690
|
+
update!(**args)
|
2691
|
+
end
|
2692
|
+
|
2693
|
+
# Update properties of this object
|
2694
|
+
def update!(**args)
|
2695
|
+
@segment = args[:segment] if args.key?(:segment)
|
2696
|
+
end
|
2697
|
+
end
|
2698
|
+
|
2453
2699
|
# Label annotation.
|
2454
2700
|
class GoogleCloudVideointelligenceV1p1beta1LabelAnnotation
|
2455
2701
|
include Google::Apis::Core::Hashable
|
@@ -3373,6 +3619,11 @@ module Google
|
|
3373
3619
|
# @return [Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p1beta1ExplicitContentAnnotation]
|
3374
3620
|
attr_accessor :explicit_annotation
|
3375
3621
|
|
3622
|
+
# Deprecated. Please use `face_detection_annotations` instead.
|
3623
|
+
# Corresponds to the JSON property `faceAnnotations`
|
3624
|
+
# @return [Array<Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p1beta1FaceAnnotation>]
|
3625
|
+
attr_accessor :face_annotations
|
3626
|
+
|
3376
3627
|
# Face detection annotations.
|
3377
3628
|
# Corresponds to the JSON property `faceDetectionAnnotations`
|
3378
3629
|
# @return [Array<Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p1beta1FaceDetectionAnnotation>]
|
@@ -3464,6 +3715,7 @@ module Google
|
|
3464
3715
|
def update!(**args)
|
3465
3716
|
@error = args[:error] if args.key?(:error)
|
3466
3717
|
@explicit_annotation = args[:explicit_annotation] if args.key?(:explicit_annotation)
|
3718
|
+
@face_annotations = args[:face_annotations] if args.key?(:face_annotations)
|
3467
3719
|
@face_detection_annotations = args[:face_detection_annotations] if args.key?(:face_detection_annotations)
|
3468
3720
|
@frame_label_annotations = args[:frame_label_annotations] if args.key?(:frame_label_annotations)
|
3469
3721
|
@input_uri = args[:input_uri] if args.key?(:input_uri)
|
@@ -3829,6 +4081,38 @@ module Google
|
|
3829
4081
|
end
|
3830
4082
|
end
|
3831
4083
|
|
4084
|
+
# Deprecated. No effect.
|
4085
|
+
class GoogleCloudVideointelligenceV1p2beta1FaceAnnotation
|
4086
|
+
include Google::Apis::Core::Hashable
|
4087
|
+
|
4088
|
+
# All video frames where a face was detected.
|
4089
|
+
# Corresponds to the JSON property `frames`
|
4090
|
+
# @return [Array<Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p2beta1FaceFrame>]
|
4091
|
+
attr_accessor :frames
|
4092
|
+
|
4093
|
+
# All video segments where a face was detected.
|
4094
|
+
# Corresponds to the JSON property `segments`
|
4095
|
+
# @return [Array<Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p2beta1FaceSegment>]
|
4096
|
+
attr_accessor :segments
|
4097
|
+
|
4098
|
+
# Thumbnail of a representative face view (in JPEG format).
|
4099
|
+
# Corresponds to the JSON property `thumbnail`
|
4100
|
+
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
4101
|
+
# @return [String]
|
4102
|
+
attr_accessor :thumbnail
|
4103
|
+
|
4104
|
+
def initialize(**args)
|
4105
|
+
update!(**args)
|
4106
|
+
end
|
4107
|
+
|
4108
|
+
# Update properties of this object
|
4109
|
+
def update!(**args)
|
4110
|
+
@frames = args[:frames] if args.key?(:frames)
|
4111
|
+
@segments = args[:segments] if args.key?(:segments)
|
4112
|
+
@thumbnail = args[:thumbnail] if args.key?(:thumbnail)
|
4113
|
+
end
|
4114
|
+
end
|
4115
|
+
|
3832
4116
|
# Face detection annotation.
|
3833
4117
|
class GoogleCloudVideointelligenceV1p2beta1FaceDetectionAnnotation
|
3834
4118
|
include Google::Apis::Core::Hashable
|
@@ -3848,6 +4132,52 @@ module Google
|
|
3848
4132
|
end
|
3849
4133
|
end
|
3850
4134
|
|
4135
|
+
# Deprecated. No effect.
|
4136
|
+
class GoogleCloudVideointelligenceV1p2beta1FaceFrame
|
4137
|
+
include Google::Apis::Core::Hashable
|
4138
|
+
|
4139
|
+
# Normalized Bounding boxes in a frame. There can be more than one boxes if the
|
4140
|
+
# same face is detected in multiple locations within the current frame.
|
4141
|
+
# Corresponds to the JSON property `normalizedBoundingBoxes`
|
4142
|
+
# @return [Array<Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p2beta1NormalizedBoundingBox>]
|
4143
|
+
attr_accessor :normalized_bounding_boxes
|
4144
|
+
|
4145
|
+
# Time-offset, relative to the beginning of the video, corresponding to the
|
4146
|
+
# video frame for this location.
|
4147
|
+
# Corresponds to the JSON property `timeOffset`
|
4148
|
+
# @return [String]
|
4149
|
+
attr_accessor :time_offset
|
4150
|
+
|
4151
|
+
def initialize(**args)
|
4152
|
+
update!(**args)
|
4153
|
+
end
|
4154
|
+
|
4155
|
+
# Update properties of this object
|
4156
|
+
def update!(**args)
|
4157
|
+
@normalized_bounding_boxes = args[:normalized_bounding_boxes] if args.key?(:normalized_bounding_boxes)
|
4158
|
+
@time_offset = args[:time_offset] if args.key?(:time_offset)
|
4159
|
+
end
|
4160
|
+
end
|
4161
|
+
|
4162
|
+
# Video segment level annotation results for face detection.
|
4163
|
+
class GoogleCloudVideointelligenceV1p2beta1FaceSegment
|
4164
|
+
include Google::Apis::Core::Hashable
|
4165
|
+
|
4166
|
+
# Video segment.
|
4167
|
+
# Corresponds to the JSON property `segment`
|
4168
|
+
# @return [Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p2beta1VideoSegment]
|
4169
|
+
attr_accessor :segment
|
4170
|
+
|
4171
|
+
def initialize(**args)
|
4172
|
+
update!(**args)
|
4173
|
+
end
|
4174
|
+
|
4175
|
+
# Update properties of this object
|
4176
|
+
def update!(**args)
|
4177
|
+
@segment = args[:segment] if args.key?(:segment)
|
4178
|
+
end
|
4179
|
+
end
|
4180
|
+
|
3851
4181
|
# Label annotation.
|
3852
4182
|
class GoogleCloudVideointelligenceV1p2beta1LabelAnnotation
|
3853
4183
|
include Google::Apis::Core::Hashable
|
@@ -4489,6 +4819,11 @@ module Google
|
|
4489
4819
|
# @return [Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p2beta1ExplicitContentAnnotation]
|
4490
4820
|
attr_accessor :explicit_annotation
|
4491
4821
|
|
4822
|
+
# Deprecated. Please use `face_detection_annotations` instead.
|
4823
|
+
# Corresponds to the JSON property `faceAnnotations`
|
4824
|
+
# @return [Array<Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p2beta1FaceAnnotation>]
|
4825
|
+
attr_accessor :face_annotations
|
4826
|
+
|
4492
4827
|
# Face detection annotations.
|
4493
4828
|
# Corresponds to the JSON property `faceDetectionAnnotations`
|
4494
4829
|
# @return [Array<Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p2beta1FaceDetectionAnnotation>]
|
@@ -4580,6 +4915,7 @@ module Google
|
|
4580
4915
|
def update!(**args)
|
4581
4916
|
@error = args[:error] if args.key?(:error)
|
4582
4917
|
@explicit_annotation = args[:explicit_annotation] if args.key?(:explicit_annotation)
|
4918
|
+
@face_annotations = args[:face_annotations] if args.key?(:face_annotations)
|
4583
4919
|
@face_detection_annotations = args[:face_detection_annotations] if args.key?(:face_detection_annotations)
|
4584
4920
|
@frame_label_annotations = args[:frame_label_annotations] if args.key?(:frame_label_annotations)
|
4585
4921
|
@input_uri = args[:input_uri] if args.key?(:input_uri)
|
@@ -4962,6 +5298,38 @@ module Google
|
|
4962
5298
|
end
|
4963
5299
|
end
|
4964
5300
|
|
5301
|
+
# Deprecated. No effect.
|
5302
|
+
class GoogleCloudVideointelligenceV1p3beta1FaceAnnotation
|
5303
|
+
include Google::Apis::Core::Hashable
|
5304
|
+
|
5305
|
+
# All video frames where a face was detected.
|
5306
|
+
# Corresponds to the JSON property `frames`
|
5307
|
+
# @return [Array<Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p3beta1FaceFrame>]
|
5308
|
+
attr_accessor :frames
|
5309
|
+
|
5310
|
+
# All video segments where a face was detected.
|
5311
|
+
# Corresponds to the JSON property `segments`
|
5312
|
+
# @return [Array<Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p3beta1FaceSegment>]
|
5313
|
+
attr_accessor :segments
|
5314
|
+
|
5315
|
+
# Thumbnail of a representative face view (in JPEG format).
|
5316
|
+
# Corresponds to the JSON property `thumbnail`
|
5317
|
+
# NOTE: Values are automatically base64 encoded/decoded in the client library.
|
5318
|
+
# @return [String]
|
5319
|
+
attr_accessor :thumbnail
|
5320
|
+
|
5321
|
+
def initialize(**args)
|
5322
|
+
update!(**args)
|
5323
|
+
end
|
5324
|
+
|
5325
|
+
# Update properties of this object
|
5326
|
+
def update!(**args)
|
5327
|
+
@frames = args[:frames] if args.key?(:frames)
|
5328
|
+
@segments = args[:segments] if args.key?(:segments)
|
5329
|
+
@thumbnail = args[:thumbnail] if args.key?(:thumbnail)
|
5330
|
+
end
|
5331
|
+
end
|
5332
|
+
|
4965
5333
|
# Face detection annotation.
|
4966
5334
|
class GoogleCloudVideointelligenceV1p3beta1FaceDetectionAnnotation
|
4967
5335
|
include Google::Apis::Core::Hashable
|
@@ -4981,6 +5349,52 @@ module Google
|
|
4981
5349
|
end
|
4982
5350
|
end
|
4983
5351
|
|
5352
|
+
# Deprecated. No effect.
|
5353
|
+
class GoogleCloudVideointelligenceV1p3beta1FaceFrame
|
5354
|
+
include Google::Apis::Core::Hashable
|
5355
|
+
|
5356
|
+
# Normalized Bounding boxes in a frame. There can be more than one boxes if the
|
5357
|
+
# same face is detected in multiple locations within the current frame.
|
5358
|
+
# Corresponds to the JSON property `normalizedBoundingBoxes`
|
5359
|
+
# @return [Array<Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p3beta1NormalizedBoundingBox>]
|
5360
|
+
attr_accessor :normalized_bounding_boxes
|
5361
|
+
|
5362
|
+
# Time-offset, relative to the beginning of the video, corresponding to the
|
5363
|
+
# video frame for this location.
|
5364
|
+
# Corresponds to the JSON property `timeOffset`
|
5365
|
+
# @return [String]
|
5366
|
+
attr_accessor :time_offset
|
5367
|
+
|
5368
|
+
def initialize(**args)
|
5369
|
+
update!(**args)
|
5370
|
+
end
|
5371
|
+
|
5372
|
+
# Update properties of this object
|
5373
|
+
def update!(**args)
|
5374
|
+
@normalized_bounding_boxes = args[:normalized_bounding_boxes] if args.key?(:normalized_bounding_boxes)
|
5375
|
+
@time_offset = args[:time_offset] if args.key?(:time_offset)
|
5376
|
+
end
|
5377
|
+
end
|
5378
|
+
|
5379
|
+
# Video segment level annotation results for face detection.
|
5380
|
+
class GoogleCloudVideointelligenceV1p3beta1FaceSegment
|
5381
|
+
include Google::Apis::Core::Hashable
|
5382
|
+
|
5383
|
+
# Video segment.
|
5384
|
+
# Corresponds to the JSON property `segment`
|
5385
|
+
# @return [Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p3beta1VideoSegment]
|
5386
|
+
attr_accessor :segment
|
5387
|
+
|
5388
|
+
def initialize(**args)
|
5389
|
+
update!(**args)
|
5390
|
+
end
|
5391
|
+
|
5392
|
+
# Update properties of this object
|
5393
|
+
def update!(**args)
|
5394
|
+
@segment = args[:segment] if args.key?(:segment)
|
5395
|
+
end
|
5396
|
+
end
|
5397
|
+
|
4984
5398
|
# Label annotation.
|
4985
5399
|
class GoogleCloudVideointelligenceV1p3beta1LabelAnnotation
|
4986
5400
|
include Google::Apis::Core::Hashable
|
@@ -5407,7 +5821,8 @@ module Google
|
|
5407
5821
|
include Google::Apis::Core::Hashable
|
5408
5822
|
|
5409
5823
|
# Streaming annotation results corresponding to a portion of the video that is
|
5410
|
-
# currently being processed.
|
5824
|
+
# currently being processed. Only ONE type of annotation will be specified in
|
5825
|
+
# the response.
|
5411
5826
|
# Corresponds to the JSON property `annotationResults`
|
5412
5827
|
# @return [Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p3beta1StreamingVideoAnnotationResults]
|
5413
5828
|
attr_accessor :annotation_results
|
@@ -5442,7 +5857,8 @@ module Google
|
|
5442
5857
|
end
|
5443
5858
|
|
5444
5859
|
# Streaming annotation results corresponding to a portion of the video that is
|
5445
|
-
# currently being processed.
|
5860
|
+
# currently being processed. Only ONE type of annotation will be specified in
|
5861
|
+
# the response.
|
5446
5862
|
class GoogleCloudVideointelligenceV1p3beta1StreamingVideoAnnotationResults
|
5447
5863
|
include Google::Apis::Core::Hashable
|
5448
5864
|
|
@@ -5453,6 +5869,11 @@ module Google
|
|
5453
5869
|
# @return [Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p3beta1ExplicitContentAnnotation]
|
5454
5870
|
attr_accessor :explicit_annotation
|
5455
5871
|
|
5872
|
+
# Timestamp of the processed frame in microseconds.
|
5873
|
+
# Corresponds to the JSON property `frameTimestamp`
|
5874
|
+
# @return [String]
|
5875
|
+
attr_accessor :frame_timestamp
|
5876
|
+
|
5456
5877
|
# Label annotation results.
|
5457
5878
|
# Corresponds to the JSON property `labelAnnotations`
|
5458
5879
|
# @return [Array<Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p3beta1LabelAnnotation>]
|
@@ -5475,6 +5896,7 @@ module Google
|
|
5475
5896
|
# Update properties of this object
|
5476
5897
|
def update!(**args)
|
5477
5898
|
@explicit_annotation = args[:explicit_annotation] if args.key?(:explicit_annotation)
|
5899
|
+
@frame_timestamp = args[:frame_timestamp] if args.key?(:frame_timestamp)
|
5478
5900
|
@label_annotations = args[:label_annotations] if args.key?(:label_annotations)
|
5479
5901
|
@object_annotations = args[:object_annotations] if args.key?(:object_annotations)
|
5480
5902
|
@shot_annotations = args[:shot_annotations] if args.key?(:shot_annotations)
|
@@ -5733,6 +6155,11 @@ module Google
|
|
5733
6155
|
# @return [Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p3beta1ExplicitContentAnnotation]
|
5734
6156
|
attr_accessor :explicit_annotation
|
5735
6157
|
|
6158
|
+
# Deprecated. Please use `face_detection_annotations` instead.
|
6159
|
+
# Corresponds to the JSON property `faceAnnotations`
|
6160
|
+
# @return [Array<Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p3beta1FaceAnnotation>]
|
6161
|
+
attr_accessor :face_annotations
|
6162
|
+
|
5736
6163
|
# Face detection annotations.
|
5737
6164
|
# Corresponds to the JSON property `faceDetectionAnnotations`
|
5738
6165
|
# @return [Array<Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p3beta1FaceDetectionAnnotation>]
|
@@ -5825,6 +6252,7 @@ module Google
|
|
5825
6252
|
@celebrity_recognition_annotations = args[:celebrity_recognition_annotations] if args.key?(:celebrity_recognition_annotations)
|
5826
6253
|
@error = args[:error] if args.key?(:error)
|
5827
6254
|
@explicit_annotation = args[:explicit_annotation] if args.key?(:explicit_annotation)
|
6255
|
+
@face_annotations = args[:face_annotations] if args.key?(:face_annotations)
|
5828
6256
|
@face_detection_annotations = args[:face_detection_annotations] if args.key?(:face_detection_annotations)
|
5829
6257
|
@frame_label_annotations = args[:frame_label_annotations] if args.key?(:frame_label_annotations)
|
5830
6258
|
@input_uri = args[:input_uri] if args.key?(:input_uri)
|