google-api-client 0.30.2 → 0.30.3
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +90 -0
- data/README.md +17 -1
- data/generated/google/apis/accesscontextmanager_v1beta.rb +1 -1
- data/generated/google/apis/accesscontextmanager_v1beta/classes.rb +108 -0
- data/generated/google/apis/accesscontextmanager_v1beta/representations.rb +48 -0
- data/generated/google/apis/adexchangebuyer_v1_3.rb +1 -1
- data/generated/google/apis/adexchangebuyer_v1_3/classes.rb +32 -6
- data/generated/google/apis/adexchangebuyer_v1_3/representations.rb +16 -1
- data/generated/google/apis/adexchangebuyer_v1_4.rb +1 -1
- data/generated/google/apis/adexchangebuyer_v1_4/classes.rb +32 -6
- data/generated/google/apis/adexchangebuyer_v1_4/representations.rb +16 -1
- data/generated/google/apis/analytics_v3.rb +1 -1
- data/generated/google/apis/analytics_v3/classes.rb +1 -1
- data/generated/google/apis/analytics_v3/service.rb +1 -1
- data/generated/google/apis/androidmanagement_v1.rb +1 -1
- data/generated/google/apis/androidmanagement_v1/classes.rb +8 -64
- data/generated/google/apis/androidpublisher_v1_1.rb +1 -1
- data/generated/google/apis/androidpublisher_v1_1/classes.rb +1 -0
- data/generated/google/apis/androidpublisher_v2.rb +1 -1
- data/generated/google/apis/androidpublisher_v2/classes.rb +6 -4
- data/generated/google/apis/androidpublisher_v3.rb +1 -1
- data/generated/google/apis/androidpublisher_v3/classes.rb +6 -4
- data/generated/google/apis/bigquery_v2.rb +1 -1
- data/generated/google/apis/bigquery_v2/classes.rb +243 -5
- data/generated/google/apis/bigquery_v2/representations.rb +77 -0
- data/generated/google/apis/bigquery_v2/service.rb +206 -0
- data/generated/google/apis/bigquerydatatransfer_v1.rb +1 -1
- data/generated/google/apis/bigquerydatatransfer_v1/classes.rb +18 -76
- data/generated/google/apis/bigquerydatatransfer_v1/representations.rb +1 -0
- data/generated/google/apis/bigquerydatatransfer_v1/service.rb +4 -4
- data/generated/google/apis/bigtableadmin_v1.rb +1 -1
- data/generated/google/apis/bigtableadmin_v1/classes.rb +0 -72
- data/generated/google/apis/bigtableadmin_v1/representations.rb +0 -32
- data/generated/google/apis/bigtableadmin_v1/service.rb +0 -69
- data/generated/google/apis/bigtableadmin_v2.rb +1 -1
- data/generated/google/apis/bigtableadmin_v2/classes.rb +72 -0
- data/generated/google/apis/bigtableadmin_v2/representations.rb +32 -0
- data/generated/google/apis/bigtableadmin_v2/service.rb +69 -0
- data/generated/google/apis/cloudasset_v1.rb +1 -1
- data/generated/google/apis/cloudasset_v1/classes.rb +9 -75
- data/generated/google/apis/cloudasset_v1beta1.rb +1 -1
- data/generated/google/apis/cloudasset_v1beta1/classes.rb +9 -75
- data/generated/google/apis/cloudfunctions_v1.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1/classes.rb +8 -74
- data/generated/google/apis/cloudfunctions_v1beta2.rb +1 -1
- data/generated/google/apis/cloudfunctions_v1beta2/classes.rb +8 -74
- data/generated/google/apis/cloudiot_v1.rb +1 -1
- data/generated/google/apis/cloudiot_v1/classes.rb +8 -74
- data/generated/google/apis/cloudresourcemanager_v1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1/classes.rb +4 -8
- data/generated/google/apis/cloudresourcemanager_v1beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v1beta1/service.rb +4 -5
- data/generated/google/apis/cloudresourcemanager_v2.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2/classes.rb +11 -9
- data/generated/google/apis/cloudresourcemanager_v2beta1.rb +1 -1
- data/generated/google/apis/cloudresourcemanager_v2beta1/classes.rb +11 -9
- data/generated/google/apis/cloudscheduler_v1.rb +1 -1
- data/generated/google/apis/cloudscheduler_v1/classes.rb +20 -84
- data/generated/google/apis/cloudscheduler_v1beta1.rb +1 -1
- data/generated/google/apis/cloudscheduler_v1beta1/classes.rb +20 -84
- data/generated/google/apis/cloudsearch_v1.rb +1 -1
- data/generated/google/apis/cloudsearch_v1/classes.rb +8 -74
- data/generated/google/apis/cloudshell_v1.rb +1 -1
- data/generated/google/apis/cloudshell_v1/classes.rb +8 -74
- data/generated/google/apis/cloudshell_v1alpha1.rb +1 -1
- data/generated/google/apis/cloudshell_v1alpha1/classes.rb +8 -74
- data/generated/google/apis/cloudtasks_v2beta2.rb +1 -1
- data/generated/google/apis/cloudtasks_v2beta2/classes.rb +8 -0
- data/generated/google/apis/cloudtrace_v2.rb +1 -1
- data/generated/google/apis/cloudtrace_v2/classes.rb +8 -74
- data/generated/google/apis/commentanalyzer_v1alpha1.rb +2 -2
- data/generated/google/apis/commentanalyzer_v1alpha1/service.rb +1 -1
- data/generated/google/apis/composer_v1.rb +1 -1
- data/generated/google/apis/composer_v1/classes.rb +8 -74
- data/generated/google/apis/composer_v1beta1.rb +1 -1
- data/generated/google/apis/composer_v1beta1/classes.rb +8 -74
- data/generated/google/apis/compute_alpha.rb +1 -1
- data/generated/google/apis/compute_alpha/classes.rb +1991 -700
- data/generated/google/apis/compute_alpha/representations.rb +604 -154
- data/generated/google/apis/compute_alpha/service.rb +693 -89
- data/generated/google/apis/compute_beta.rb +1 -1
- data/generated/google/apis/compute_beta/classes.rb +375 -230
- data/generated/google/apis/compute_beta/representations.rb +2 -0
- data/generated/google/apis/compute_beta/service.rb +92 -6
- data/generated/google/apis/compute_v1.rb +1 -1
- data/generated/google/apis/compute_v1/classes.rb +1827 -239
- data/generated/google/apis/compute_v1/representations.rb +669 -2
- data/generated/google/apis/compute_v1/service.rb +1150 -6
- data/generated/google/apis/container_v1.rb +1 -1
- data/generated/google/apis/container_v1/classes.rb +104 -0
- data/generated/google/apis/container_v1/representations.rb +48 -0
- data/generated/google/apis/container_v1beta1.rb +1 -1
- data/generated/google/apis/container_v1beta1/classes.rb +67 -2
- data/generated/google/apis/container_v1beta1/representations.rb +31 -0
- data/generated/google/apis/content_v2.rb +1 -1
- data/generated/google/apis/content_v2/classes.rb +4 -0
- data/generated/google/apis/content_v2_1.rb +1 -1
- data/generated/google/apis/content_v2_1/classes.rb +41 -0
- data/generated/google/apis/content_v2_1/representations.rb +19 -0
- data/generated/google/apis/dataflow_v1b3.rb +1 -1
- data/generated/google/apis/dataflow_v1b3/classes.rb +46 -74
- data/generated/google/apis/dataflow_v1b3/representations.rb +17 -0
- data/generated/google/apis/datafusion_v1beta1.rb +1 -1
- data/generated/google/apis/datafusion_v1beta1/classes.rb +8 -74
- data/generated/google/apis/dataproc_v1.rb +1 -1
- data/generated/google/apis/dataproc_v1/classes.rb +147 -64
- data/generated/google/apis/dataproc_v1/representations.rb +42 -0
- data/generated/google/apis/dataproc_v1beta2.rb +1 -1
- data/generated/google/apis/dataproc_v1beta2/classes.rb +8 -64
- data/generated/google/apis/dataproc_v1beta2/service.rb +4 -2
- data/generated/google/apis/dialogflow_v2.rb +2 -2
- data/generated/google/apis/dialogflow_v2/classes.rb +32 -32
- data/generated/google/apis/dialogflow_v2/representations.rb +2 -0
- data/generated/google/apis/dialogflow_v2/service.rb +77 -17
- data/generated/google/apis/dialogflow_v2beta1.rb +2 -2
- data/generated/google/apis/dialogflow_v2beta1/classes.rb +32 -32
- data/generated/google/apis/dialogflow_v2beta1/representations.rb +2 -0
- data/generated/google/apis/dialogflow_v2beta1/service.rb +79 -19
- data/generated/google/apis/dlp_v2.rb +1 -1
- data/generated/google/apis/dlp_v2/classes.rb +4 -3
- data/generated/google/apis/dns_v1beta2.rb +1 -1
- data/generated/google/apis/dns_v1beta2/service.rb +1 -1
- data/generated/google/apis/docs_v1.rb +1 -1
- data/generated/google/apis/docs_v1/classes.rb +0 -10
- data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
- data/generated/google/apis/file_v1.rb +1 -1
- data/generated/google/apis/file_v1/classes.rb +17 -74
- data/generated/google/apis/file_v1/representations.rb +1 -0
- data/generated/google/apis/file_v1beta1.rb +1 -1
- data/generated/google/apis/file_v1beta1/classes.rb +17 -74
- data/generated/google/apis/file_v1beta1/representations.rb +1 -0
- data/generated/google/apis/firebase_v1beta1.rb +44 -0
- data/generated/google/apis/firebase_v1beta1/classes.rb +1063 -0
- data/generated/google/apis/firebase_v1beta1/representations.rb +432 -0
- data/generated/google/apis/firebase_v1beta1/service.rb +1105 -0
- data/generated/google/apis/healthcare_v1alpha2.rb +1 -1
- data/generated/google/apis/healthcare_v1alpha2/service.rb +43 -61
- data/generated/google/apis/healthcare_v1beta1.rb +1 -1
- data/generated/google/apis/healthcare_v1beta1/service.rb +43 -61
- data/generated/google/apis/iam_v1.rb +1 -1
- data/generated/google/apis/iam_v1/classes.rb +6 -0
- data/generated/google/apis/iam_v1/representations.rb +1 -0
- data/generated/google/apis/logging_v2.rb +1 -1
- data/generated/google/apis/ml_v1.rb +1 -1
- data/generated/google/apis/ml_v1/classes.rb +18 -0
- data/generated/google/apis/ml_v1/representations.rb +3 -0
- data/generated/google/apis/monitoring_v3.rb +1 -1
- data/generated/google/apis/monitoring_v3/classes.rb +1 -1
- data/generated/google/apis/people_v1.rb +1 -1
- data/generated/google/apis/people_v1/classes.rb +12 -111
- data/generated/google/apis/pubsub_v1.rb +1 -1
- data/generated/google/apis/pubsub_v1/classes.rb +43 -0
- data/generated/google/apis/pubsub_v1/representations.rb +16 -0
- data/generated/google/apis/remotebuildexecution_v1.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1/classes.rb +89 -26
- data/generated/google/apis/remotebuildexecution_v1/representations.rb +3 -0
- data/generated/google/apis/remotebuildexecution_v1alpha.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v1alpha/classes.rb +89 -26
- data/generated/google/apis/remotebuildexecution_v1alpha/representations.rb +3 -0
- data/generated/google/apis/remotebuildexecution_v1alpha/service.rb +15 -1
- data/generated/google/apis/remotebuildexecution_v2.rb +1 -1
- data/generated/google/apis/remotebuildexecution_v2/classes.rb +103 -30
- data/generated/google/apis/remotebuildexecution_v2/representations.rb +3 -0
- data/generated/google/apis/remotebuildexecution_v2/service.rb +29 -2
- data/generated/google/apis/serviceconsumermanagement_v1.rb +1 -1
- data/generated/google/apis/serviceconsumermanagement_v1/classes.rb +0 -1
- data/generated/google/apis/servicecontrol_v1.rb +1 -1
- data/generated/google/apis/servicecontrol_v1/classes.rb +64 -148
- data/generated/google/apis/servicecontrol_v1/representations.rb +17 -0
- data/generated/google/apis/servicemanagement_v1.rb +1 -1
- data/generated/google/apis/servicemanagement_v1/classes.rb +8 -74
- data/generated/google/apis/servicemanagement_v1/service.rb +9 -1
- data/generated/google/apis/servicenetworking_v1.rb +1 -1
- data/generated/google/apis/servicenetworking_v1/classes.rb +0 -1
- data/generated/google/apis/servicenetworking_v1beta.rb +1 -1
- data/generated/google/apis/servicenetworking_v1beta/classes.rb +0 -1
- data/generated/google/apis/serviceusage_v1.rb +1 -1
- data/generated/google/apis/serviceusage_v1/classes.rb +0 -1
- data/generated/google/apis/serviceusage_v1beta1.rb +1 -1
- data/generated/google/apis/serviceusage_v1beta1/classes.rb +0 -1
- data/generated/google/apis/spanner_v1.rb +1 -1
- data/generated/google/apis/spanner_v1/classes.rb +12 -111
- data/generated/google/apis/speech_v1.rb +1 -1
- data/generated/google/apis/speech_v1/classes.rb +13 -74
- data/generated/google/apis/speech_v1p1beta1.rb +1 -1
- data/generated/google/apis/speech_v1p1beta1/classes.rb +13 -74
- data/generated/google/apis/sqladmin_v1beta4.rb +1 -1
- data/generated/google/apis/sqladmin_v1beta4/classes.rb +10 -3
- data/generated/google/apis/sqladmin_v1beta4/representations.rb +1 -0
- data/generated/google/apis/tagmanager_v1.rb +4 -3
- data/generated/google/apis/tagmanager_v1/classes.rb +237 -70
- data/generated/google/apis/tagmanager_v1/service.rb +223 -374
- data/generated/google/apis/tagmanager_v2.rb +4 -3
- data/generated/google/apis/tagmanager_v2/classes.rb +221 -208
- data/generated/google/apis/tagmanager_v2/representations.rb +1 -16
- data/generated/google/apis/tagmanager_v2/service.rb +608 -757
- data/generated/google/apis/texttospeech_v1.rb +1 -1
- data/generated/google/apis/texttospeech_v1/classes.rb +28 -27
- data/generated/google/apis/texttospeech_v1beta1.rb +1 -1
- data/generated/google/apis/texttospeech_v1beta1/classes.rb +28 -27
- data/generated/google/apis/toolresults_v1beta3.rb +1 -1
- data/generated/google/apis/toolresults_v1beta3/classes.rb +35 -0
- data/generated/google/apis/toolresults_v1beta3/representations.rb +2 -0
- data/generated/google/apis/tpu_v1.rb +1 -1
- data/generated/google/apis/tpu_v1/classes.rb +17 -88
- data/generated/google/apis/tpu_v1alpha1.rb +1 -1
- data/generated/google/apis/tpu_v1alpha1/classes.rb +17 -88
- data/generated/google/apis/vault_v1.rb +1 -1
- data/generated/google/apis/vault_v1/classes.rb +49 -0
- data/generated/google/apis/vault_v1/representations.rb +18 -0
- data/generated/google/apis/videointelligence_v1.rb +1 -1
- data/generated/google/apis/videointelligence_v1/classes.rb +324 -332
- data/generated/google/apis/videointelligence_v1/representations.rb +102 -0
- data/generated/google/apis/videointelligence_v1/service.rb +217 -9
- data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
- data/generated/google/apis/videointelligence_v1beta2/classes.rb +279 -297
- data/generated/google/apis/videointelligence_v1beta2/representations.rb +102 -0
- data/generated/google/apis/videointelligence_v1p1beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p1beta1/classes.rb +324 -332
- data/generated/google/apis/videointelligence_v1p1beta1/representations.rb +102 -0
- data/generated/google/apis/videointelligence_v1p2beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p2beta1/classes.rb +324 -332
- data/generated/google/apis/videointelligence_v1p2beta1/representations.rb +102 -0
- data/generated/google/apis/videointelligence_v1p3beta1.rb +1 -1
- data/generated/google/apis/videointelligence_v1p3beta1/classes.rb +324 -332
- data/generated/google/apis/videointelligence_v1p3beta1/representations.rb +102 -0
- data/generated/google/apis/youtube_partner_v1.rb +1 -1
- data/lib/google/apis/version.rb +1 -1
- metadata +6 -2
@@ -244,6 +244,12 @@ module Google
|
|
244
244
|
include Google::Apis::Core::JsonObjectSupport
|
245
245
|
end
|
246
246
|
|
247
|
+
class GoogleCloudVideointelligenceV1beta2ObjectTrackingConfig
|
248
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
249
|
+
|
250
|
+
include Google::Apis::Core::JsonObjectSupport
|
251
|
+
end
|
252
|
+
|
247
253
|
class GoogleCloudVideointelligenceV1beta2ObjectTrackingFrame
|
248
254
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
249
255
|
|
@@ -610,6 +616,12 @@ module Google
|
|
610
616
|
include Google::Apis::Core::JsonObjectSupport
|
611
617
|
end
|
612
618
|
|
619
|
+
class GoogleCloudVideointelligenceV1p3beta1DetectedAttribute
|
620
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
621
|
+
|
622
|
+
include Google::Apis::Core::JsonObjectSupport
|
623
|
+
end
|
624
|
+
|
613
625
|
class GoogleCloudVideointelligenceV1p3beta1Entity
|
614
626
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
615
627
|
|
@@ -646,6 +658,12 @@ module Google
|
|
646
658
|
include Google::Apis::Core::JsonObjectSupport
|
647
659
|
end
|
648
660
|
|
661
|
+
class GoogleCloudVideointelligenceV1p3beta1LogoRecognitionAnnotation
|
662
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
663
|
+
|
664
|
+
include Google::Apis::Core::JsonObjectSupport
|
665
|
+
end
|
666
|
+
|
649
667
|
class GoogleCloudVideointelligenceV1p3beta1NormalizedBoundingBox
|
650
668
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
651
669
|
|
@@ -718,6 +736,18 @@ module Google
|
|
718
736
|
include Google::Apis::Core::JsonObjectSupport
|
719
737
|
end
|
720
738
|
|
739
|
+
class GoogleCloudVideointelligenceV1p3beta1TimestampedObject
|
740
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
741
|
+
|
742
|
+
include Google::Apis::Core::JsonObjectSupport
|
743
|
+
end
|
744
|
+
|
745
|
+
class GoogleCloudVideointelligenceV1p3beta1Track
|
746
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
747
|
+
|
748
|
+
include Google::Apis::Core::JsonObjectSupport
|
749
|
+
end
|
750
|
+
|
721
751
|
class GoogleCloudVideointelligenceV1p3beta1VideoAnnotationProgress
|
722
752
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
723
753
|
|
@@ -926,8 +956,11 @@ module Google
|
|
926
956
|
class GoogleCloudVideointelligenceV1VideoAnnotationProgress
|
927
957
|
# @private
|
928
958
|
class Representation < Google::Apis::Core::JsonRepresentation
|
959
|
+
property :feature, as: 'feature'
|
929
960
|
property :input_uri, as: 'inputUri'
|
930
961
|
property :progress_percent, as: 'progressPercent'
|
962
|
+
property :segment, as: 'segment', class: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1VideoSegment, decorator: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1VideoSegment::Representation
|
963
|
+
|
931
964
|
property :start_time, as: 'startTime'
|
932
965
|
property :update_time, as: 'updateTime'
|
933
966
|
end
|
@@ -1120,6 +1153,13 @@ module Google
|
|
1120
1153
|
end
|
1121
1154
|
end
|
1122
1155
|
|
1156
|
+
class GoogleCloudVideointelligenceV1beta2ObjectTrackingConfig
|
1157
|
+
# @private
|
1158
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1159
|
+
property :model, as: 'model'
|
1160
|
+
end
|
1161
|
+
end
|
1162
|
+
|
1123
1163
|
class GoogleCloudVideointelligenceV1beta2ObjectTrackingFrame
|
1124
1164
|
# @private
|
1125
1165
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1191,6 +1231,7 @@ module Google
|
|
1191
1231
|
# @private
|
1192
1232
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1193
1233
|
collection :language_hints, as: 'languageHints'
|
1234
|
+
property :model, as: 'model'
|
1194
1235
|
end
|
1195
1236
|
end
|
1196
1237
|
|
@@ -1217,8 +1258,11 @@ module Google
|
|
1217
1258
|
class GoogleCloudVideointelligenceV1beta2VideoAnnotationProgress
|
1218
1259
|
# @private
|
1219
1260
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1261
|
+
property :feature, as: 'feature'
|
1220
1262
|
property :input_uri, as: 'inputUri'
|
1221
1263
|
property :progress_percent, as: 'progressPercent'
|
1264
|
+
property :segment, as: 'segment', class: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1beta2VideoSegment, decorator: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1beta2VideoSegment::Representation
|
1265
|
+
|
1222
1266
|
property :start_time, as: 'startTime'
|
1223
1267
|
property :update_time, as: 'updateTime'
|
1224
1268
|
end
|
@@ -1256,6 +1300,8 @@ module Google
|
|
1256
1300
|
|
1257
1301
|
property :label_detection_config, as: 'labelDetectionConfig', class: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1beta2LabelDetectionConfig, decorator: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1beta2LabelDetectionConfig::Representation
|
1258
1302
|
|
1303
|
+
property :object_tracking_config, as: 'objectTrackingConfig', class: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1beta2ObjectTrackingConfig, decorator: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1beta2ObjectTrackingConfig::Representation
|
1304
|
+
|
1259
1305
|
collection :segments, as: 'segments', class: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1beta2VideoSegment, decorator: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1beta2VideoSegment::Representation
|
1260
1306
|
|
1261
1307
|
property :shot_change_detection_config, as: 'shotChangeDetectionConfig', class: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1beta2ShotChangeDetectionConfig, decorator: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1beta2ShotChangeDetectionConfig::Representation
|
@@ -1458,8 +1504,11 @@ module Google
|
|
1458
1504
|
class GoogleCloudVideointelligenceV1p1beta1VideoAnnotationProgress
|
1459
1505
|
# @private
|
1460
1506
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1507
|
+
property :feature, as: 'feature'
|
1461
1508
|
property :input_uri, as: 'inputUri'
|
1462
1509
|
property :progress_percent, as: 'progressPercent'
|
1510
|
+
property :segment, as: 'segment', class: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p1beta1VideoSegment, decorator: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p1beta1VideoSegment::Representation
|
1511
|
+
|
1463
1512
|
property :start_time, as: 'startTime'
|
1464
1513
|
property :update_time, as: 'updateTime'
|
1465
1514
|
end
|
@@ -1681,8 +1730,11 @@ module Google
|
|
1681
1730
|
class GoogleCloudVideointelligenceV1p2beta1VideoAnnotationProgress
|
1682
1731
|
# @private
|
1683
1732
|
class Representation < Google::Apis::Core::JsonRepresentation
|
1733
|
+
property :feature, as: 'feature'
|
1684
1734
|
property :input_uri, as: 'inputUri'
|
1685
1735
|
property :progress_percent, as: 'progressPercent'
|
1736
|
+
property :segment, as: 'segment', class: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p2beta1VideoSegment, decorator: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p2beta1VideoSegment::Representation
|
1737
|
+
|
1686
1738
|
property :start_time, as: 'startTime'
|
1687
1739
|
property :update_time, as: 'updateTime'
|
1688
1740
|
end
|
@@ -1748,6 +1800,15 @@ module Google
|
|
1748
1800
|
end
|
1749
1801
|
end
|
1750
1802
|
|
1803
|
+
class GoogleCloudVideointelligenceV1p3beta1DetectedAttribute
|
1804
|
+
# @private
|
1805
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1806
|
+
property :confidence, as: 'confidence'
|
1807
|
+
property :name, as: 'name'
|
1808
|
+
property :value, as: 'value'
|
1809
|
+
end
|
1810
|
+
end
|
1811
|
+
|
1751
1812
|
class GoogleCloudVideointelligenceV1p3beta1Entity
|
1752
1813
|
# @private
|
1753
1814
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1804,6 +1865,18 @@ module Google
|
|
1804
1865
|
end
|
1805
1866
|
end
|
1806
1867
|
|
1868
|
+
class GoogleCloudVideointelligenceV1p3beta1LogoRecognitionAnnotation
|
1869
|
+
# @private
|
1870
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
1871
|
+
property :entity, as: 'entity', class: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p3beta1Entity, decorator: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p3beta1Entity::Representation
|
1872
|
+
|
1873
|
+
collection :segments, as: 'segments', class: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p3beta1VideoSegment, decorator: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p3beta1VideoSegment::Representation
|
1874
|
+
|
1875
|
+
collection :tracks, as: 'tracks', class: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p3beta1Track, decorator: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p3beta1Track::Representation
|
1876
|
+
|
1877
|
+
end
|
1878
|
+
end
|
1879
|
+
|
1807
1880
|
class GoogleCloudVideointelligenceV1p3beta1NormalizedBoundingBox
|
1808
1881
|
# @private
|
1809
1882
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -1926,11 +1999,38 @@ module Google
|
|
1926
1999
|
end
|
1927
2000
|
end
|
1928
2001
|
|
2002
|
+
class GoogleCloudVideointelligenceV1p3beta1TimestampedObject
|
2003
|
+
# @private
|
2004
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2005
|
+
collection :attributes, as: 'attributes', class: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p3beta1DetectedAttribute, decorator: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p3beta1DetectedAttribute::Representation
|
2006
|
+
|
2007
|
+
property :normalized_bounding_box, as: 'normalizedBoundingBox', class: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p3beta1NormalizedBoundingBox, decorator: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p3beta1NormalizedBoundingBox::Representation
|
2008
|
+
|
2009
|
+
property :time_offset, as: 'timeOffset'
|
2010
|
+
end
|
2011
|
+
end
|
2012
|
+
|
2013
|
+
class GoogleCloudVideointelligenceV1p3beta1Track
|
2014
|
+
# @private
|
2015
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
2016
|
+
collection :attributes, as: 'attributes', class: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p3beta1DetectedAttribute, decorator: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p3beta1DetectedAttribute::Representation
|
2017
|
+
|
2018
|
+
property :confidence, as: 'confidence'
|
2019
|
+
property :segment, as: 'segment', class: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p3beta1VideoSegment, decorator: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p3beta1VideoSegment::Representation
|
2020
|
+
|
2021
|
+
collection :timestamped_objects, as: 'timestampedObjects', class: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p3beta1TimestampedObject, decorator: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p3beta1TimestampedObject::Representation
|
2022
|
+
|
2023
|
+
end
|
2024
|
+
end
|
2025
|
+
|
1929
2026
|
class GoogleCloudVideointelligenceV1p3beta1VideoAnnotationProgress
|
1930
2027
|
# @private
|
1931
2028
|
class Representation < Google::Apis::Core::JsonRepresentation
|
2029
|
+
property :feature, as: 'feature'
|
1932
2030
|
property :input_uri, as: 'inputUri'
|
1933
2031
|
property :progress_percent, as: 'progressPercent'
|
2032
|
+
property :segment, as: 'segment', class: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p3beta1VideoSegment, decorator: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p3beta1VideoSegment::Representation
|
2033
|
+
|
1934
2034
|
property :start_time, as: 'startTime'
|
1935
2035
|
property :update_time, as: 'updateTime'
|
1936
2036
|
end
|
@@ -1946,6 +2046,8 @@ module Google
|
|
1946
2046
|
collection :frame_label_annotations, as: 'frameLabelAnnotations', class: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p3beta1LabelAnnotation, decorator: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p3beta1LabelAnnotation::Representation
|
1947
2047
|
|
1948
2048
|
property :input_uri, as: 'inputUri'
|
2049
|
+
collection :logo_recognition_annotations, as: 'logoRecognitionAnnotations', class: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p3beta1LogoRecognitionAnnotation, decorator: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p3beta1LogoRecognitionAnnotation::Representation
|
2050
|
+
|
1949
2051
|
collection :object_annotations, as: 'objectAnnotations', class: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p3beta1ObjectTrackingAnnotation, decorator: Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p3beta1ObjectTrackingAnnotation::Representation
|
1950
2052
|
|
1951
2053
|
collection :segment_label_annotations, as: 'segmentLabelAnnotations', 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 = '20190618'
|
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'
|
@@ -417,11 +417,11 @@ module Google
|
|
417
417
|
class GoogleCloudVideointelligenceV1SpeechRecognitionAlternative
|
418
418
|
include Google::Apis::Core::Hashable
|
419
419
|
|
420
|
-
# The confidence estimate between 0.0 and 1.0. A higher number
|
420
|
+
# Output only. The confidence estimate between 0.0 and 1.0. A higher number
|
421
421
|
# indicates an estimated greater likelihood that the recognized words are
|
422
|
-
# correct. This field is
|
423
|
-
#
|
424
|
-
#
|
422
|
+
# correct. This field is set only for the top alternative.
|
423
|
+
# This field is not guaranteed to be accurate and users should not rely on it
|
424
|
+
# to be always provided.
|
425
425
|
# The default of 0.0 is a sentinel value indicating `confidence` was not set.
|
426
426
|
# Corresponds to the JSON property `confidence`
|
427
427
|
# @return [Float]
|
@@ -432,7 +432,9 @@ module Google
|
|
432
432
|
# @return [String]
|
433
433
|
attr_accessor :transcript
|
434
434
|
|
435
|
-
# A list of word-specific information for each recognized word.
|
435
|
+
# Output only. A list of word-specific information for each recognized word.
|
436
|
+
# Note: When `enable_speaker_diarization` is true, you will see all the words
|
437
|
+
# from the beginning of the audio.
|
436
438
|
# Corresponds to the JSON property `words`
|
437
439
|
# @return [Array<Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1WordInfo>]
|
438
440
|
attr_accessor :words
|
@@ -584,6 +586,12 @@ module Google
|
|
584
586
|
class GoogleCloudVideointelligenceV1VideoAnnotationProgress
|
585
587
|
include Google::Apis::Core::Hashable
|
586
588
|
|
589
|
+
# Specifies which feature is being tracked if the request contains more than
|
590
|
+
# one features.
|
591
|
+
# Corresponds to the JSON property `feature`
|
592
|
+
# @return [String]
|
593
|
+
attr_accessor :feature
|
594
|
+
|
587
595
|
# Video file location in
|
588
596
|
# [Google Cloud Storage](https://cloud.google.com/storage/).
|
589
597
|
# Corresponds to the JSON property `inputUri`
|
@@ -596,6 +604,11 @@ module Google
|
|
596
604
|
# @return [Fixnum]
|
597
605
|
attr_accessor :progress_percent
|
598
606
|
|
607
|
+
# Video segment.
|
608
|
+
# Corresponds to the JSON property `segment`
|
609
|
+
# @return [Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1VideoSegment]
|
610
|
+
attr_accessor :segment
|
611
|
+
|
599
612
|
# Time when the request was received.
|
600
613
|
# Corresponds to the JSON property `startTime`
|
601
614
|
# @return [String]
|
@@ -612,8 +625,10 @@ module Google
|
|
612
625
|
|
613
626
|
# Update properties of this object
|
614
627
|
def update!(**args)
|
628
|
+
@feature = args[:feature] if args.key?(:feature)
|
615
629
|
@input_uri = args[:input_uri] if args.key?(:input_uri)
|
616
630
|
@progress_percent = args[:progress_percent] if args.key?(:progress_percent)
|
631
|
+
@segment = args[:segment] if args.key?(:segment)
|
617
632
|
@start_time = args[:start_time] if args.key?(:start_time)
|
618
633
|
@update_time = args[:update_time] if args.key?(:update_time)
|
619
634
|
end
|
@@ -625,43 +640,10 @@ module Google
|
|
625
640
|
|
626
641
|
# The `Status` type defines a logical error model that is suitable for
|
627
642
|
# different programming environments, including REST APIs and RPC APIs. It is
|
628
|
-
# used by [gRPC](https://github.com/grpc).
|
629
|
-
#
|
630
|
-
#
|
631
|
-
#
|
632
|
-
# The `Status` message contains three pieces of data: error code, error
|
633
|
-
# message, and error details. The error code should be an enum value of
|
634
|
-
# google.rpc.Code, but it may accept additional error codes if needed. The
|
635
|
-
# error message should be a developer-facing English message that helps
|
636
|
-
# developers *understand* and *resolve* the error. If a localized user-facing
|
637
|
-
# error message is needed, put the localized message in the error details or
|
638
|
-
# localize it in the client. The optional error details may contain arbitrary
|
639
|
-
# information about the error. There is a predefined set of error detail types
|
640
|
-
# in the package `google.rpc` that can be used for common error conditions.
|
641
|
-
# # Language mapping
|
642
|
-
# The `Status` message is the logical representation of the error model, but it
|
643
|
-
# is not necessarily the actual wire format. When the `Status` message is
|
644
|
-
# exposed in different client libraries and different wire protocols, it can be
|
645
|
-
# mapped differently. For example, it will likely be mapped to some exceptions
|
646
|
-
# in Java, but more likely mapped to some error codes in C.
|
647
|
-
# # Other uses
|
648
|
-
# The error model and the `Status` message can be used in a variety of
|
649
|
-
# environments, either with or without APIs, to provide a
|
650
|
-
# consistent developer experience across different environments.
|
651
|
-
# Example uses of this error model include:
|
652
|
-
# - Partial errors. If a service needs to return partial errors to the client,
|
653
|
-
# it may embed the `Status` in the normal response to indicate the partial
|
654
|
-
# errors.
|
655
|
-
# - Workflow errors. A typical workflow has multiple steps. Each step may
|
656
|
-
# have a `Status` message for error reporting.
|
657
|
-
# - Batch operations. If a client uses batch request and batch response, the
|
658
|
-
# `Status` message should be used directly inside batch response, one for
|
659
|
-
# each error sub-response.
|
660
|
-
# - Asynchronous operations. If an API call embeds asynchronous operation
|
661
|
-
# results in its response, the status of those operations should be
|
662
|
-
# represented directly using the `Status` message.
|
663
|
-
# - Logging. If some API errors are stored in logs, the message `Status` could
|
664
|
-
# be used directly after any stripping needed for security/privacy reasons.
|
643
|
+
# used by [gRPC](https://github.com/grpc). Each `Status` message contains
|
644
|
+
# three pieces of data: error code, error message, and error details.
|
645
|
+
# You can find out more about this error model and how to work with it in the
|
646
|
+
# [API Design Guide](https://cloud.google.com/apis/design/errors).
|
665
647
|
# Corresponds to the JSON property `error`
|
666
648
|
# @return [Google::Apis::VideointelligenceV1p1beta1::GoogleRpcStatus]
|
667
649
|
attr_accessor :error
|
@@ -690,7 +672,7 @@ module Google
|
|
690
672
|
# @return [Array<Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1ObjectTrackingAnnotation>]
|
691
673
|
attr_accessor :object_annotations
|
692
674
|
|
693
|
-
#
|
675
|
+
# Topical label annotations on video level or user specified segment level.
|
694
676
|
# There is exactly one element for each unique label.
|
695
677
|
# Corresponds to the JSON property `segmentLabelAnnotations`
|
696
678
|
# @return [Array<Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1LabelAnnotation>]
|
@@ -701,7 +683,7 @@ module Google
|
|
701
683
|
# @return [Array<Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1VideoSegment>]
|
702
684
|
attr_accessor :shot_annotations
|
703
685
|
|
704
|
-
#
|
686
|
+
# Topical label annotations on shot level.
|
705
687
|
# There is exactly one element for each unique label.
|
706
688
|
# Corresponds to the JSON property `shotLabelAnnotations`
|
707
689
|
# @return [Array<Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1LabelAnnotation>]
|
@@ -1219,11 +1201,11 @@ module Google
|
|
1219
1201
|
class GoogleCloudVideointelligenceV1beta2SpeechRecognitionAlternative
|
1220
1202
|
include Google::Apis::Core::Hashable
|
1221
1203
|
|
1222
|
-
# The confidence estimate between 0.0 and 1.0. A higher number
|
1204
|
+
# Output only. The confidence estimate between 0.0 and 1.0. A higher number
|
1223
1205
|
# indicates an estimated greater likelihood that the recognized words are
|
1224
|
-
# correct. This field is
|
1225
|
-
#
|
1226
|
-
#
|
1206
|
+
# correct. This field is set only for the top alternative.
|
1207
|
+
# This field is not guaranteed to be accurate and users should not rely on it
|
1208
|
+
# to be always provided.
|
1227
1209
|
# The default of 0.0 is a sentinel value indicating `confidence` was not set.
|
1228
1210
|
# Corresponds to the JSON property `confidence`
|
1229
1211
|
# @return [Float]
|
@@ -1234,7 +1216,9 @@ module Google
|
|
1234
1216
|
# @return [String]
|
1235
1217
|
attr_accessor :transcript
|
1236
1218
|
|
1237
|
-
# A list of word-specific information for each recognized word.
|
1219
|
+
# Output only. A list of word-specific information for each recognized word.
|
1220
|
+
# Note: When `enable_speaker_diarization` is true, you will see all the words
|
1221
|
+
# from the beginning of the audio.
|
1238
1222
|
# Corresponds to the JSON property `words`
|
1239
1223
|
# @return [Array<Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1beta2WordInfo>]
|
1240
1224
|
attr_accessor :words
|
@@ -1386,6 +1370,12 @@ module Google
|
|
1386
1370
|
class GoogleCloudVideointelligenceV1beta2VideoAnnotationProgress
|
1387
1371
|
include Google::Apis::Core::Hashable
|
1388
1372
|
|
1373
|
+
# Specifies which feature is being tracked if the request contains more than
|
1374
|
+
# one features.
|
1375
|
+
# Corresponds to the JSON property `feature`
|
1376
|
+
# @return [String]
|
1377
|
+
attr_accessor :feature
|
1378
|
+
|
1389
1379
|
# Video file location in
|
1390
1380
|
# [Google Cloud Storage](https://cloud.google.com/storage/).
|
1391
1381
|
# Corresponds to the JSON property `inputUri`
|
@@ -1398,6 +1388,11 @@ module Google
|
|
1398
1388
|
# @return [Fixnum]
|
1399
1389
|
attr_accessor :progress_percent
|
1400
1390
|
|
1391
|
+
# Video segment.
|
1392
|
+
# Corresponds to the JSON property `segment`
|
1393
|
+
# @return [Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1beta2VideoSegment]
|
1394
|
+
attr_accessor :segment
|
1395
|
+
|
1401
1396
|
# Time when the request was received.
|
1402
1397
|
# Corresponds to the JSON property `startTime`
|
1403
1398
|
# @return [String]
|
@@ -1414,8 +1409,10 @@ module Google
|
|
1414
1409
|
|
1415
1410
|
# Update properties of this object
|
1416
1411
|
def update!(**args)
|
1412
|
+
@feature = args[:feature] if args.key?(:feature)
|
1417
1413
|
@input_uri = args[:input_uri] if args.key?(:input_uri)
|
1418
1414
|
@progress_percent = args[:progress_percent] if args.key?(:progress_percent)
|
1415
|
+
@segment = args[:segment] if args.key?(:segment)
|
1419
1416
|
@start_time = args[:start_time] if args.key?(:start_time)
|
1420
1417
|
@update_time = args[:update_time] if args.key?(:update_time)
|
1421
1418
|
end
|
@@ -1427,43 +1424,10 @@ module Google
|
|
1427
1424
|
|
1428
1425
|
# The `Status` type defines a logical error model that is suitable for
|
1429
1426
|
# different programming environments, including REST APIs and RPC APIs. It is
|
1430
|
-
# used by [gRPC](https://github.com/grpc).
|
1431
|
-
#
|
1432
|
-
#
|
1433
|
-
#
|
1434
|
-
# The `Status` message contains three pieces of data: error code, error
|
1435
|
-
# message, and error details. The error code should be an enum value of
|
1436
|
-
# google.rpc.Code, but it may accept additional error codes if needed. The
|
1437
|
-
# error message should be a developer-facing English message that helps
|
1438
|
-
# developers *understand* and *resolve* the error. If a localized user-facing
|
1439
|
-
# error message is needed, put the localized message in the error details or
|
1440
|
-
# localize it in the client. The optional error details may contain arbitrary
|
1441
|
-
# information about the error. There is a predefined set of error detail types
|
1442
|
-
# in the package `google.rpc` that can be used for common error conditions.
|
1443
|
-
# # Language mapping
|
1444
|
-
# The `Status` message is the logical representation of the error model, but it
|
1445
|
-
# is not necessarily the actual wire format. When the `Status` message is
|
1446
|
-
# exposed in different client libraries and different wire protocols, it can be
|
1447
|
-
# mapped differently. For example, it will likely be mapped to some exceptions
|
1448
|
-
# in Java, but more likely mapped to some error codes in C.
|
1449
|
-
# # Other uses
|
1450
|
-
# The error model and the `Status` message can be used in a variety of
|
1451
|
-
# environments, either with or without APIs, to provide a
|
1452
|
-
# consistent developer experience across different environments.
|
1453
|
-
# Example uses of this error model include:
|
1454
|
-
# - Partial errors. If a service needs to return partial errors to the client,
|
1455
|
-
# it may embed the `Status` in the normal response to indicate the partial
|
1456
|
-
# errors.
|
1457
|
-
# - Workflow errors. A typical workflow has multiple steps. Each step may
|
1458
|
-
# have a `Status` message for error reporting.
|
1459
|
-
# - Batch operations. If a client uses batch request and batch response, the
|
1460
|
-
# `Status` message should be used directly inside batch response, one for
|
1461
|
-
# each error sub-response.
|
1462
|
-
# - Asynchronous operations. If an API call embeds asynchronous operation
|
1463
|
-
# results in its response, the status of those operations should be
|
1464
|
-
# represented directly using the `Status` message.
|
1465
|
-
# - Logging. If some API errors are stored in logs, the message `Status` could
|
1466
|
-
# be used directly after any stripping needed for security/privacy reasons.
|
1427
|
+
# used by [gRPC](https://github.com/grpc). Each `Status` message contains
|
1428
|
+
# three pieces of data: error code, error message, and error details.
|
1429
|
+
# You can find out more about this error model and how to work with it in the
|
1430
|
+
# [API Design Guide](https://cloud.google.com/apis/design/errors).
|
1467
1431
|
# Corresponds to the JSON property `error`
|
1468
1432
|
# @return [Google::Apis::VideointelligenceV1p1beta1::GoogleRpcStatus]
|
1469
1433
|
attr_accessor :error
|
@@ -1492,7 +1456,7 @@ module Google
|
|
1492
1456
|
# @return [Array<Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1beta2ObjectTrackingAnnotation>]
|
1493
1457
|
attr_accessor :object_annotations
|
1494
1458
|
|
1495
|
-
#
|
1459
|
+
# Topical label annotations on video level or user specified segment level.
|
1496
1460
|
# There is exactly one element for each unique label.
|
1497
1461
|
# Corresponds to the JSON property `segmentLabelAnnotations`
|
1498
1462
|
# @return [Array<Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1beta2LabelAnnotation>]
|
@@ -1503,7 +1467,7 @@ module Google
|
|
1503
1467
|
# @return [Array<Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1beta2VideoSegment>]
|
1504
1468
|
attr_accessor :shot_annotations
|
1505
1469
|
|
1506
|
-
#
|
1470
|
+
# Topical label annotations on shot level.
|
1507
1471
|
# There is exactly one element for each unique label.
|
1508
1472
|
# Corresponds to the JSON property `shotLabelAnnotations`
|
1509
1473
|
# @return [Array<Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1beta2LabelAnnotation>]
|
@@ -2138,6 +2102,27 @@ module Google
|
|
2138
2102
|
end
|
2139
2103
|
end
|
2140
2104
|
|
2105
|
+
# Config for OBJECT_TRACKING.
|
2106
|
+
class GoogleCloudVideointelligenceV1p1beta1ObjectTrackingConfig
|
2107
|
+
include Google::Apis::Core::Hashable
|
2108
|
+
|
2109
|
+
# Model to use for object tracking.
|
2110
|
+
# Supported values: "builtin/stable" (the default if unset) and
|
2111
|
+
# "builtin/latest".
|
2112
|
+
# Corresponds to the JSON property `model`
|
2113
|
+
# @return [String]
|
2114
|
+
attr_accessor :model
|
2115
|
+
|
2116
|
+
def initialize(**args)
|
2117
|
+
update!(**args)
|
2118
|
+
end
|
2119
|
+
|
2120
|
+
# Update properties of this object
|
2121
|
+
def update!(**args)
|
2122
|
+
@model = args[:model] if args.key?(:model)
|
2123
|
+
end
|
2124
|
+
end
|
2125
|
+
|
2141
2126
|
# Video frame level annotations for object detection and tracking. This field
|
2142
2127
|
# stores per frame location, time offset, and confidence.
|
2143
2128
|
class GoogleCloudVideointelligenceV1p1beta1ObjectTrackingFrame
|
@@ -2216,11 +2201,11 @@ module Google
|
|
2216
2201
|
class GoogleCloudVideointelligenceV1p1beta1SpeechRecognitionAlternative
|
2217
2202
|
include Google::Apis::Core::Hashable
|
2218
2203
|
|
2219
|
-
# The confidence estimate between 0.0 and 1.0. A higher number
|
2204
|
+
# Output only. The confidence estimate between 0.0 and 1.0. A higher number
|
2220
2205
|
# indicates an estimated greater likelihood that the recognized words are
|
2221
|
-
# correct. This field is
|
2222
|
-
#
|
2223
|
-
#
|
2206
|
+
# correct. This field is set only for the top alternative.
|
2207
|
+
# This field is not guaranteed to be accurate and users should not rely on it
|
2208
|
+
# to be always provided.
|
2224
2209
|
# The default of 0.0 is a sentinel value indicating `confidence` was not set.
|
2225
2210
|
# Corresponds to the JSON property `confidence`
|
2226
2211
|
# @return [Float]
|
@@ -2231,7 +2216,9 @@ module Google
|
|
2231
2216
|
# @return [String]
|
2232
2217
|
attr_accessor :transcript
|
2233
2218
|
|
2234
|
-
# A list of word-specific information for each recognized word.
|
2219
|
+
# Output only. A list of word-specific information for each recognized word.
|
2220
|
+
# Note: When `enable_speaker_diarization` is true, you will see all the words
|
2221
|
+
# from the beginning of the audio.
|
2235
2222
|
# Corresponds to the JSON property `words`
|
2236
2223
|
# @return [Array<Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p1beta1WordInfo>]
|
2237
2224
|
attr_accessor :words
|
@@ -2417,6 +2404,13 @@ module Google
|
|
2417
2404
|
# @return [Array<String>]
|
2418
2405
|
attr_accessor :language_hints
|
2419
2406
|
|
2407
|
+
# Model to use for text detection.
|
2408
|
+
# Supported values: "builtin/stable" (the default if unset) and
|
2409
|
+
# "builtin/latest".
|
2410
|
+
# Corresponds to the JSON property `model`
|
2411
|
+
# @return [String]
|
2412
|
+
attr_accessor :model
|
2413
|
+
|
2420
2414
|
def initialize(**args)
|
2421
2415
|
update!(**args)
|
2422
2416
|
end
|
@@ -2424,6 +2418,7 @@ module Google
|
|
2424
2418
|
# Update properties of this object
|
2425
2419
|
def update!(**args)
|
2426
2420
|
@language_hints = args[:language_hints] if args.key?(:language_hints)
|
2421
|
+
@model = args[:model] if args.key?(:model)
|
2427
2422
|
end
|
2428
2423
|
end
|
2429
2424
|
|
@@ -2504,6 +2499,12 @@ module Google
|
|
2504
2499
|
class GoogleCloudVideointelligenceV1p1beta1VideoAnnotationProgress
|
2505
2500
|
include Google::Apis::Core::Hashable
|
2506
2501
|
|
2502
|
+
# Specifies which feature is being tracked if the request contains more than
|
2503
|
+
# one features.
|
2504
|
+
# Corresponds to the JSON property `feature`
|
2505
|
+
# @return [String]
|
2506
|
+
attr_accessor :feature
|
2507
|
+
|
2507
2508
|
# Video file location in
|
2508
2509
|
# [Google Cloud Storage](https://cloud.google.com/storage/).
|
2509
2510
|
# Corresponds to the JSON property `inputUri`
|
@@ -2516,6 +2517,11 @@ module Google
|
|
2516
2517
|
# @return [Fixnum]
|
2517
2518
|
attr_accessor :progress_percent
|
2518
2519
|
|
2520
|
+
# Video segment.
|
2521
|
+
# Corresponds to the JSON property `segment`
|
2522
|
+
# @return [Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p1beta1VideoSegment]
|
2523
|
+
attr_accessor :segment
|
2524
|
+
|
2519
2525
|
# Time when the request was received.
|
2520
2526
|
# Corresponds to the JSON property `startTime`
|
2521
2527
|
# @return [String]
|
@@ -2532,8 +2538,10 @@ module Google
|
|
2532
2538
|
|
2533
2539
|
# Update properties of this object
|
2534
2540
|
def update!(**args)
|
2541
|
+
@feature = args[:feature] if args.key?(:feature)
|
2535
2542
|
@input_uri = args[:input_uri] if args.key?(:input_uri)
|
2536
2543
|
@progress_percent = args[:progress_percent] if args.key?(:progress_percent)
|
2544
|
+
@segment = args[:segment] if args.key?(:segment)
|
2537
2545
|
@start_time = args[:start_time] if args.key?(:start_time)
|
2538
2546
|
@update_time = args[:update_time] if args.key?(:update_time)
|
2539
2547
|
end
|
@@ -2545,43 +2553,10 @@ module Google
|
|
2545
2553
|
|
2546
2554
|
# The `Status` type defines a logical error model that is suitable for
|
2547
2555
|
# different programming environments, including REST APIs and RPC APIs. It is
|
2548
|
-
# used by [gRPC](https://github.com/grpc).
|
2549
|
-
#
|
2550
|
-
#
|
2551
|
-
#
|
2552
|
-
# The `Status` message contains three pieces of data: error code, error
|
2553
|
-
# message, and error details. The error code should be an enum value of
|
2554
|
-
# google.rpc.Code, but it may accept additional error codes if needed. The
|
2555
|
-
# error message should be a developer-facing English message that helps
|
2556
|
-
# developers *understand* and *resolve* the error. If a localized user-facing
|
2557
|
-
# error message is needed, put the localized message in the error details or
|
2558
|
-
# localize it in the client. The optional error details may contain arbitrary
|
2559
|
-
# information about the error. There is a predefined set of error detail types
|
2560
|
-
# in the package `google.rpc` that can be used for common error conditions.
|
2561
|
-
# # Language mapping
|
2562
|
-
# The `Status` message is the logical representation of the error model, but it
|
2563
|
-
# is not necessarily the actual wire format. When the `Status` message is
|
2564
|
-
# exposed in different client libraries and different wire protocols, it can be
|
2565
|
-
# mapped differently. For example, it will likely be mapped to some exceptions
|
2566
|
-
# in Java, but more likely mapped to some error codes in C.
|
2567
|
-
# # Other uses
|
2568
|
-
# The error model and the `Status` message can be used in a variety of
|
2569
|
-
# environments, either with or without APIs, to provide a
|
2570
|
-
# consistent developer experience across different environments.
|
2571
|
-
# Example uses of this error model include:
|
2572
|
-
# - Partial errors. If a service needs to return partial errors to the client,
|
2573
|
-
# it may embed the `Status` in the normal response to indicate the partial
|
2574
|
-
# errors.
|
2575
|
-
# - Workflow errors. A typical workflow has multiple steps. Each step may
|
2576
|
-
# have a `Status` message for error reporting.
|
2577
|
-
# - Batch operations. If a client uses batch request and batch response, the
|
2578
|
-
# `Status` message should be used directly inside batch response, one for
|
2579
|
-
# each error sub-response.
|
2580
|
-
# - Asynchronous operations. If an API call embeds asynchronous operation
|
2581
|
-
# results in its response, the status of those operations should be
|
2582
|
-
# represented directly using the `Status` message.
|
2583
|
-
# - Logging. If some API errors are stored in logs, the message `Status` could
|
2584
|
-
# be used directly after any stripping needed for security/privacy reasons.
|
2556
|
+
# used by [gRPC](https://github.com/grpc). Each `Status` message contains
|
2557
|
+
# three pieces of data: error code, error message, and error details.
|
2558
|
+
# You can find out more about this error model and how to work with it in the
|
2559
|
+
# [API Design Guide](https://cloud.google.com/apis/design/errors).
|
2585
2560
|
# Corresponds to the JSON property `error`
|
2586
2561
|
# @return [Google::Apis::VideointelligenceV1p1beta1::GoogleRpcStatus]
|
2587
2562
|
attr_accessor :error
|
@@ -2610,7 +2585,7 @@ module Google
|
|
2610
2585
|
# @return [Array<Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p1beta1ObjectTrackingAnnotation>]
|
2611
2586
|
attr_accessor :object_annotations
|
2612
2587
|
|
2613
|
-
#
|
2588
|
+
# Topical label annotations on video level or user specified segment level.
|
2614
2589
|
# There is exactly one element for each unique label.
|
2615
2590
|
# Corresponds to the JSON property `segmentLabelAnnotations`
|
2616
2591
|
# @return [Array<Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p1beta1LabelAnnotation>]
|
@@ -2621,7 +2596,7 @@ module Google
|
|
2621
2596
|
# @return [Array<Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p1beta1VideoSegment>]
|
2622
2597
|
attr_accessor :shot_annotations
|
2623
2598
|
|
2624
|
-
#
|
2599
|
+
# Topical label annotations on shot level.
|
2625
2600
|
# There is exactly one element for each unique label.
|
2626
2601
|
# Corresponds to the JSON property `shotLabelAnnotations`
|
2627
2602
|
# @return [Array<Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p1beta1LabelAnnotation>]
|
@@ -2672,6 +2647,11 @@ module Google
|
|
2672
2647
|
# @return [Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p1beta1LabelDetectionConfig]
|
2673
2648
|
attr_accessor :label_detection_config
|
2674
2649
|
|
2650
|
+
# Config for OBJECT_TRACKING.
|
2651
|
+
# Corresponds to the JSON property `objectTrackingConfig`
|
2652
|
+
# @return [Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p1beta1ObjectTrackingConfig]
|
2653
|
+
attr_accessor :object_tracking_config
|
2654
|
+
|
2675
2655
|
# Video segments to annotate. The segments may overlap and are not required
|
2676
2656
|
# to be contiguous or span the whole video. If unspecified, each video is
|
2677
2657
|
# treated as a single segment.
|
@@ -2702,6 +2682,7 @@ module Google
|
|
2702
2682
|
def update!(**args)
|
2703
2683
|
@explicit_content_detection_config = args[:explicit_content_detection_config] if args.key?(:explicit_content_detection_config)
|
2704
2684
|
@label_detection_config = args[:label_detection_config] if args.key?(:label_detection_config)
|
2685
|
+
@object_tracking_config = args[:object_tracking_config] if args.key?(:object_tracking_config)
|
2705
2686
|
@segments = args[:segments] if args.key?(:segments)
|
2706
2687
|
@shot_change_detection_config = args[:shot_change_detection_config] if args.key?(:shot_change_detection_config)
|
2707
2688
|
@speech_transcription_config = args[:speech_transcription_config] if args.key?(:speech_transcription_config)
|
@@ -3190,11 +3171,11 @@ module Google
|
|
3190
3171
|
class GoogleCloudVideointelligenceV1p2beta1SpeechRecognitionAlternative
|
3191
3172
|
include Google::Apis::Core::Hashable
|
3192
3173
|
|
3193
|
-
# The confidence estimate between 0.0 and 1.0. A higher number
|
3174
|
+
# Output only. The confidence estimate between 0.0 and 1.0. A higher number
|
3194
3175
|
# indicates an estimated greater likelihood that the recognized words are
|
3195
|
-
# correct. This field is
|
3196
|
-
#
|
3197
|
-
#
|
3176
|
+
# correct. This field is set only for the top alternative.
|
3177
|
+
# This field is not guaranteed to be accurate and users should not rely on it
|
3178
|
+
# to be always provided.
|
3198
3179
|
# The default of 0.0 is a sentinel value indicating `confidence` was not set.
|
3199
3180
|
# Corresponds to the JSON property `confidence`
|
3200
3181
|
# @return [Float]
|
@@ -3205,7 +3186,9 @@ module Google
|
|
3205
3186
|
# @return [String]
|
3206
3187
|
attr_accessor :transcript
|
3207
3188
|
|
3208
|
-
# A list of word-specific information for each recognized word.
|
3189
|
+
# Output only. A list of word-specific information for each recognized word.
|
3190
|
+
# Note: When `enable_speaker_diarization` is true, you will see all the words
|
3191
|
+
# from the beginning of the audio.
|
3209
3192
|
# Corresponds to the JSON property `words`
|
3210
3193
|
# @return [Array<Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p2beta1WordInfo>]
|
3211
3194
|
attr_accessor :words
|
@@ -3357,6 +3340,12 @@ module Google
|
|
3357
3340
|
class GoogleCloudVideointelligenceV1p2beta1VideoAnnotationProgress
|
3358
3341
|
include Google::Apis::Core::Hashable
|
3359
3342
|
|
3343
|
+
# Specifies which feature is being tracked if the request contains more than
|
3344
|
+
# one features.
|
3345
|
+
# Corresponds to the JSON property `feature`
|
3346
|
+
# @return [String]
|
3347
|
+
attr_accessor :feature
|
3348
|
+
|
3360
3349
|
# Video file location in
|
3361
3350
|
# [Google Cloud Storage](https://cloud.google.com/storage/).
|
3362
3351
|
# Corresponds to the JSON property `inputUri`
|
@@ -3369,6 +3358,11 @@ module Google
|
|
3369
3358
|
# @return [Fixnum]
|
3370
3359
|
attr_accessor :progress_percent
|
3371
3360
|
|
3361
|
+
# Video segment.
|
3362
|
+
# Corresponds to the JSON property `segment`
|
3363
|
+
# @return [Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p2beta1VideoSegment]
|
3364
|
+
attr_accessor :segment
|
3365
|
+
|
3372
3366
|
# Time when the request was received.
|
3373
3367
|
# Corresponds to the JSON property `startTime`
|
3374
3368
|
# @return [String]
|
@@ -3385,8 +3379,10 @@ module Google
|
|
3385
3379
|
|
3386
3380
|
# Update properties of this object
|
3387
3381
|
def update!(**args)
|
3382
|
+
@feature = args[:feature] if args.key?(:feature)
|
3388
3383
|
@input_uri = args[:input_uri] if args.key?(:input_uri)
|
3389
3384
|
@progress_percent = args[:progress_percent] if args.key?(:progress_percent)
|
3385
|
+
@segment = args[:segment] if args.key?(:segment)
|
3390
3386
|
@start_time = args[:start_time] if args.key?(:start_time)
|
3391
3387
|
@update_time = args[:update_time] if args.key?(:update_time)
|
3392
3388
|
end
|
@@ -3398,43 +3394,10 @@ module Google
|
|
3398
3394
|
|
3399
3395
|
# The `Status` type defines a logical error model that is suitable for
|
3400
3396
|
# different programming environments, including REST APIs and RPC APIs. It is
|
3401
|
-
# used by [gRPC](https://github.com/grpc).
|
3402
|
-
#
|
3403
|
-
#
|
3404
|
-
#
|
3405
|
-
# The `Status` message contains three pieces of data: error code, error
|
3406
|
-
# message, and error details. The error code should be an enum value of
|
3407
|
-
# google.rpc.Code, but it may accept additional error codes if needed. The
|
3408
|
-
# error message should be a developer-facing English message that helps
|
3409
|
-
# developers *understand* and *resolve* the error. If a localized user-facing
|
3410
|
-
# error message is needed, put the localized message in the error details or
|
3411
|
-
# localize it in the client. The optional error details may contain arbitrary
|
3412
|
-
# information about the error. There is a predefined set of error detail types
|
3413
|
-
# in the package `google.rpc` that can be used for common error conditions.
|
3414
|
-
# # Language mapping
|
3415
|
-
# The `Status` message is the logical representation of the error model, but it
|
3416
|
-
# is not necessarily the actual wire format. When the `Status` message is
|
3417
|
-
# exposed in different client libraries and different wire protocols, it can be
|
3418
|
-
# mapped differently. For example, it will likely be mapped to some exceptions
|
3419
|
-
# in Java, but more likely mapped to some error codes in C.
|
3420
|
-
# # Other uses
|
3421
|
-
# The error model and the `Status` message can be used in a variety of
|
3422
|
-
# environments, either with or without APIs, to provide a
|
3423
|
-
# consistent developer experience across different environments.
|
3424
|
-
# Example uses of this error model include:
|
3425
|
-
# - Partial errors. If a service needs to return partial errors to the client,
|
3426
|
-
# it may embed the `Status` in the normal response to indicate the partial
|
3427
|
-
# errors.
|
3428
|
-
# - Workflow errors. A typical workflow has multiple steps. Each step may
|
3429
|
-
# have a `Status` message for error reporting.
|
3430
|
-
# - Batch operations. If a client uses batch request and batch response, the
|
3431
|
-
# `Status` message should be used directly inside batch response, one for
|
3432
|
-
# each error sub-response.
|
3433
|
-
# - Asynchronous operations. If an API call embeds asynchronous operation
|
3434
|
-
# results in its response, the status of those operations should be
|
3435
|
-
# represented directly using the `Status` message.
|
3436
|
-
# - Logging. If some API errors are stored in logs, the message `Status` could
|
3437
|
-
# be used directly after any stripping needed for security/privacy reasons.
|
3397
|
+
# used by [gRPC](https://github.com/grpc). Each `Status` message contains
|
3398
|
+
# three pieces of data: error code, error message, and error details.
|
3399
|
+
# You can find out more about this error model and how to work with it in the
|
3400
|
+
# [API Design Guide](https://cloud.google.com/apis/design/errors).
|
3438
3401
|
# Corresponds to the JSON property `error`
|
3439
3402
|
# @return [Google::Apis::VideointelligenceV1p1beta1::GoogleRpcStatus]
|
3440
3403
|
attr_accessor :error
|
@@ -3463,7 +3426,7 @@ module Google
|
|
3463
3426
|
# @return [Array<Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p2beta1ObjectTrackingAnnotation>]
|
3464
3427
|
attr_accessor :object_annotations
|
3465
3428
|
|
3466
|
-
#
|
3429
|
+
# Topical label annotations on video level or user specified segment level.
|
3467
3430
|
# There is exactly one element for each unique label.
|
3468
3431
|
# Corresponds to the JSON property `segmentLabelAnnotations`
|
3469
3432
|
# @return [Array<Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p2beta1LabelAnnotation>]
|
@@ -3474,7 +3437,7 @@ module Google
|
|
3474
3437
|
# @return [Array<Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p2beta1VideoSegment>]
|
3475
3438
|
attr_accessor :shot_annotations
|
3476
3439
|
|
3477
|
-
#
|
3440
|
+
# Topical label annotations on shot level.
|
3478
3441
|
# There is exactly one element for each unique label.
|
3479
3442
|
# Corresponds to the JSON property `shotLabelAnnotations`
|
3480
3443
|
# @return [Array<Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p2beta1LabelAnnotation>]
|
@@ -3639,6 +3602,39 @@ module Google
|
|
3639
3602
|
end
|
3640
3603
|
end
|
3641
3604
|
|
3605
|
+
# A generic detected attribute represented by name in string format.
|
3606
|
+
class GoogleCloudVideointelligenceV1p3beta1DetectedAttribute
|
3607
|
+
include Google::Apis::Core::Hashable
|
3608
|
+
|
3609
|
+
# Detected attribute confidence. Range [0, 1].
|
3610
|
+
# Corresponds to the JSON property `confidence`
|
3611
|
+
# @return [Float]
|
3612
|
+
attr_accessor :confidence
|
3613
|
+
|
3614
|
+
# The name of the attribute, i.e. glasses, dark_glasses, mouth_open etc.
|
3615
|
+
# A full list of supported type names will be provided in the document.
|
3616
|
+
# Corresponds to the JSON property `name`
|
3617
|
+
# @return [String]
|
3618
|
+
attr_accessor :name
|
3619
|
+
|
3620
|
+
# Text value of the detection result. For example, the value for "HairColor"
|
3621
|
+
# can be "black", "blonde", etc.
|
3622
|
+
# Corresponds to the JSON property `value`
|
3623
|
+
# @return [String]
|
3624
|
+
attr_accessor :value
|
3625
|
+
|
3626
|
+
def initialize(**args)
|
3627
|
+
update!(**args)
|
3628
|
+
end
|
3629
|
+
|
3630
|
+
# Update properties of this object
|
3631
|
+
def update!(**args)
|
3632
|
+
@confidence = args[:confidence] if args.key?(:confidence)
|
3633
|
+
@name = args[:name] if args.key?(:name)
|
3634
|
+
@value = args[:value] if args.key?(:value)
|
3635
|
+
end
|
3636
|
+
end
|
3637
|
+
|
3642
3638
|
# Detected entity from video analysis.
|
3643
3639
|
class GoogleCloudVideointelligenceV1p3beta1Entity
|
3644
3640
|
include Google::Apis::Core::Hashable
|
@@ -3810,6 +3806,39 @@ module Google
|
|
3810
3806
|
end
|
3811
3807
|
end
|
3812
3808
|
|
3809
|
+
# Annotation corresponding to one detected, tracked and recognized logo class.
|
3810
|
+
class GoogleCloudVideointelligenceV1p3beta1LogoRecognitionAnnotation
|
3811
|
+
include Google::Apis::Core::Hashable
|
3812
|
+
|
3813
|
+
# Detected entity from video analysis.
|
3814
|
+
# Corresponds to the JSON property `entity`
|
3815
|
+
# @return [Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p3beta1Entity]
|
3816
|
+
attr_accessor :entity
|
3817
|
+
|
3818
|
+
# All video segments where the recognized logo appears. There might be
|
3819
|
+
# multiple instances of the same logo class appearing in one VideoSegment.
|
3820
|
+
# Corresponds to the JSON property `segments`
|
3821
|
+
# @return [Array<Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p3beta1VideoSegment>]
|
3822
|
+
attr_accessor :segments
|
3823
|
+
|
3824
|
+
# All logo tracks where the recognized logo appears. Each track corresponds
|
3825
|
+
# to one logo instance appearing in consecutive frames.
|
3826
|
+
# Corresponds to the JSON property `tracks`
|
3827
|
+
# @return [Array<Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p3beta1Track>]
|
3828
|
+
attr_accessor :tracks
|
3829
|
+
|
3830
|
+
def initialize(**args)
|
3831
|
+
update!(**args)
|
3832
|
+
end
|
3833
|
+
|
3834
|
+
# Update properties of this object
|
3835
|
+
def update!(**args)
|
3836
|
+
@entity = args[:entity] if args.key?(:entity)
|
3837
|
+
@segments = args[:segments] if args.key?(:segments)
|
3838
|
+
@tracks = args[:tracks] if args.key?(:tracks)
|
3839
|
+
end
|
3840
|
+
end
|
3841
|
+
|
3813
3842
|
# Normalized bounding box.
|
3814
3843
|
# The normalized vertex coordinates are relative to the original image.
|
3815
3844
|
# Range: [0, 1].
|
@@ -3992,11 +4021,11 @@ module Google
|
|
3992
4021
|
class GoogleCloudVideointelligenceV1p3beta1SpeechRecognitionAlternative
|
3993
4022
|
include Google::Apis::Core::Hashable
|
3994
4023
|
|
3995
|
-
# The confidence estimate between 0.0 and 1.0. A higher number
|
4024
|
+
# Output only. The confidence estimate between 0.0 and 1.0. A higher number
|
3996
4025
|
# indicates an estimated greater likelihood that the recognized words are
|
3997
|
-
# correct. This field is
|
3998
|
-
#
|
3999
|
-
#
|
4026
|
+
# correct. This field is set only for the top alternative.
|
4027
|
+
# This field is not guaranteed to be accurate and users should not rely on it
|
4028
|
+
# to be always provided.
|
4000
4029
|
# The default of 0.0 is a sentinel value indicating `confidence` was not set.
|
4001
4030
|
# Corresponds to the JSON property `confidence`
|
4002
4031
|
# @return [Float]
|
@@ -4007,7 +4036,9 @@ module Google
|
|
4007
4036
|
# @return [String]
|
4008
4037
|
attr_accessor :transcript
|
4009
4038
|
|
4010
|
-
# A list of word-specific information for each recognized word.
|
4039
|
+
# Output only. A list of word-specific information for each recognized word.
|
4040
|
+
# Note: When `enable_speaker_diarization` is true, you will see all the words
|
4041
|
+
# from the beginning of the audio.
|
4011
4042
|
# Corresponds to the JSON property `words`
|
4012
4043
|
# @return [Array<Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p3beta1WordInfo>]
|
4013
4044
|
attr_accessor :words
|
@@ -4077,43 +4108,10 @@ module Google
|
|
4077
4108
|
|
4078
4109
|
# The `Status` type defines a logical error model that is suitable for
|
4079
4110
|
# different programming environments, including REST APIs and RPC APIs. It is
|
4080
|
-
# used by [gRPC](https://github.com/grpc).
|
4081
|
-
#
|
4082
|
-
#
|
4083
|
-
#
|
4084
|
-
# The `Status` message contains three pieces of data: error code, error
|
4085
|
-
# message, and error details. The error code should be an enum value of
|
4086
|
-
# google.rpc.Code, but it may accept additional error codes if needed. The
|
4087
|
-
# error message should be a developer-facing English message that helps
|
4088
|
-
# developers *understand* and *resolve* the error. If a localized user-facing
|
4089
|
-
# error message is needed, put the localized message in the error details or
|
4090
|
-
# localize it in the client. The optional error details may contain arbitrary
|
4091
|
-
# information about the error. There is a predefined set of error detail types
|
4092
|
-
# in the package `google.rpc` that can be used for common error conditions.
|
4093
|
-
# # Language mapping
|
4094
|
-
# The `Status` message is the logical representation of the error model, but it
|
4095
|
-
# is not necessarily the actual wire format. When the `Status` message is
|
4096
|
-
# exposed in different client libraries and different wire protocols, it can be
|
4097
|
-
# mapped differently. For example, it will likely be mapped to some exceptions
|
4098
|
-
# in Java, but more likely mapped to some error codes in C.
|
4099
|
-
# # Other uses
|
4100
|
-
# The error model and the `Status` message can be used in a variety of
|
4101
|
-
# environments, either with or without APIs, to provide a
|
4102
|
-
# consistent developer experience across different environments.
|
4103
|
-
# Example uses of this error model include:
|
4104
|
-
# - Partial errors. If a service needs to return partial errors to the client,
|
4105
|
-
# it may embed the `Status` in the normal response to indicate the partial
|
4106
|
-
# errors.
|
4107
|
-
# - Workflow errors. A typical workflow has multiple steps. Each step may
|
4108
|
-
# have a `Status` message for error reporting.
|
4109
|
-
# - Batch operations. If a client uses batch request and batch response, the
|
4110
|
-
# `Status` message should be used directly inside batch response, one for
|
4111
|
-
# each error sub-response.
|
4112
|
-
# - Asynchronous operations. If an API call embeds asynchronous operation
|
4113
|
-
# results in its response, the status of those operations should be
|
4114
|
-
# represented directly using the `Status` message.
|
4115
|
-
# - Logging. If some API errors are stored in logs, the message `Status` could
|
4116
|
-
# be used directly after any stripping needed for security/privacy reasons.
|
4111
|
+
# used by [gRPC](https://github.com/grpc). Each `Status` message contains
|
4112
|
+
# three pieces of data: error code, error message, and error details.
|
4113
|
+
# You can find out more about this error model and how to work with it in the
|
4114
|
+
# [API Design Guide](https://cloud.google.com/apis/design/errors).
|
4117
4115
|
# Corresponds to the JSON property `error`
|
4118
4116
|
# @return [Google::Apis::VideointelligenceV1p1beta1::GoogleRpcStatus]
|
4119
4117
|
attr_accessor :error
|
@@ -4270,10 +4268,90 @@ module Google
|
|
4270
4268
|
end
|
4271
4269
|
end
|
4272
4270
|
|
4271
|
+
# For tracking related features, such as LOGO_RECOGNITION, FACE_DETECTION,
|
4272
|
+
# CELEBRITY_RECOGNITION, PERSON_DETECTION.
|
4273
|
+
# An object at time_offset with attributes, and located with
|
4274
|
+
# normalized_bounding_box.
|
4275
|
+
class GoogleCloudVideointelligenceV1p3beta1TimestampedObject
|
4276
|
+
include Google::Apis::Core::Hashable
|
4277
|
+
|
4278
|
+
# Optional. The attributes of the object in the bounding box.
|
4279
|
+
# Corresponds to the JSON property `attributes`
|
4280
|
+
# @return [Array<Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p3beta1DetectedAttribute>]
|
4281
|
+
attr_accessor :attributes
|
4282
|
+
|
4283
|
+
# Normalized bounding box.
|
4284
|
+
# The normalized vertex coordinates are relative to the original image.
|
4285
|
+
# Range: [0, 1].
|
4286
|
+
# Corresponds to the JSON property `normalizedBoundingBox`
|
4287
|
+
# @return [Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p3beta1NormalizedBoundingBox]
|
4288
|
+
attr_accessor :normalized_bounding_box
|
4289
|
+
|
4290
|
+
# Time-offset, relative to the beginning of the video,
|
4291
|
+
# corresponding to the video frame for this object.
|
4292
|
+
# Corresponds to the JSON property `timeOffset`
|
4293
|
+
# @return [String]
|
4294
|
+
attr_accessor :time_offset
|
4295
|
+
|
4296
|
+
def initialize(**args)
|
4297
|
+
update!(**args)
|
4298
|
+
end
|
4299
|
+
|
4300
|
+
# Update properties of this object
|
4301
|
+
def update!(**args)
|
4302
|
+
@attributes = args[:attributes] if args.key?(:attributes)
|
4303
|
+
@normalized_bounding_box = args[:normalized_bounding_box] if args.key?(:normalized_bounding_box)
|
4304
|
+
@time_offset = args[:time_offset] if args.key?(:time_offset)
|
4305
|
+
end
|
4306
|
+
end
|
4307
|
+
|
4308
|
+
# A track of an object instance.
|
4309
|
+
class GoogleCloudVideointelligenceV1p3beta1Track
|
4310
|
+
include Google::Apis::Core::Hashable
|
4311
|
+
|
4312
|
+
# Optional. Attributes in the track level.
|
4313
|
+
# Corresponds to the JSON property `attributes`
|
4314
|
+
# @return [Array<Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p3beta1DetectedAttribute>]
|
4315
|
+
attr_accessor :attributes
|
4316
|
+
|
4317
|
+
# Optional. The confidence score of the tracked object.
|
4318
|
+
# Corresponds to the JSON property `confidence`
|
4319
|
+
# @return [Float]
|
4320
|
+
attr_accessor :confidence
|
4321
|
+
|
4322
|
+
# Video segment.
|
4323
|
+
# Corresponds to the JSON property `segment`
|
4324
|
+
# @return [Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p3beta1VideoSegment]
|
4325
|
+
attr_accessor :segment
|
4326
|
+
|
4327
|
+
# The object with timestamp and attributes per frame in the track.
|
4328
|
+
# Corresponds to the JSON property `timestampedObjects`
|
4329
|
+
# @return [Array<Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p3beta1TimestampedObject>]
|
4330
|
+
attr_accessor :timestamped_objects
|
4331
|
+
|
4332
|
+
def initialize(**args)
|
4333
|
+
update!(**args)
|
4334
|
+
end
|
4335
|
+
|
4336
|
+
# Update properties of this object
|
4337
|
+
def update!(**args)
|
4338
|
+
@attributes = args[:attributes] if args.key?(:attributes)
|
4339
|
+
@confidence = args[:confidence] if args.key?(:confidence)
|
4340
|
+
@segment = args[:segment] if args.key?(:segment)
|
4341
|
+
@timestamped_objects = args[:timestamped_objects] if args.key?(:timestamped_objects)
|
4342
|
+
end
|
4343
|
+
end
|
4344
|
+
|
4273
4345
|
# Annotation progress for a single video.
|
4274
4346
|
class GoogleCloudVideointelligenceV1p3beta1VideoAnnotationProgress
|
4275
4347
|
include Google::Apis::Core::Hashable
|
4276
4348
|
|
4349
|
+
# Specifies which feature is being tracked if the request contains more than
|
4350
|
+
# one features.
|
4351
|
+
# Corresponds to the JSON property `feature`
|
4352
|
+
# @return [String]
|
4353
|
+
attr_accessor :feature
|
4354
|
+
|
4277
4355
|
# Video file location in
|
4278
4356
|
# [Google Cloud Storage](https://cloud.google.com/storage/).
|
4279
4357
|
# Corresponds to the JSON property `inputUri`
|
@@ -4286,6 +4364,11 @@ module Google
|
|
4286
4364
|
# @return [Fixnum]
|
4287
4365
|
attr_accessor :progress_percent
|
4288
4366
|
|
4367
|
+
# Video segment.
|
4368
|
+
# Corresponds to the JSON property `segment`
|
4369
|
+
# @return [Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p3beta1VideoSegment]
|
4370
|
+
attr_accessor :segment
|
4371
|
+
|
4289
4372
|
# Time when the request was received.
|
4290
4373
|
# Corresponds to the JSON property `startTime`
|
4291
4374
|
# @return [String]
|
@@ -4302,8 +4385,10 @@ module Google
|
|
4302
4385
|
|
4303
4386
|
# Update properties of this object
|
4304
4387
|
def update!(**args)
|
4388
|
+
@feature = args[:feature] if args.key?(:feature)
|
4305
4389
|
@input_uri = args[:input_uri] if args.key?(:input_uri)
|
4306
4390
|
@progress_percent = args[:progress_percent] if args.key?(:progress_percent)
|
4391
|
+
@segment = args[:segment] if args.key?(:segment)
|
4307
4392
|
@start_time = args[:start_time] if args.key?(:start_time)
|
4308
4393
|
@update_time = args[:update_time] if args.key?(:update_time)
|
4309
4394
|
end
|
@@ -4315,43 +4400,10 @@ module Google
|
|
4315
4400
|
|
4316
4401
|
# The `Status` type defines a logical error model that is suitable for
|
4317
4402
|
# different programming environments, including REST APIs and RPC APIs. It is
|
4318
|
-
# used by [gRPC](https://github.com/grpc).
|
4319
|
-
#
|
4320
|
-
#
|
4321
|
-
#
|
4322
|
-
# The `Status` message contains three pieces of data: error code, error
|
4323
|
-
# message, and error details. The error code should be an enum value of
|
4324
|
-
# google.rpc.Code, but it may accept additional error codes if needed. The
|
4325
|
-
# error message should be a developer-facing English message that helps
|
4326
|
-
# developers *understand* and *resolve* the error. If a localized user-facing
|
4327
|
-
# error message is needed, put the localized message in the error details or
|
4328
|
-
# localize it in the client. The optional error details may contain arbitrary
|
4329
|
-
# information about the error. There is a predefined set of error detail types
|
4330
|
-
# in the package `google.rpc` that can be used for common error conditions.
|
4331
|
-
# # Language mapping
|
4332
|
-
# The `Status` message is the logical representation of the error model, but it
|
4333
|
-
# is not necessarily the actual wire format. When the `Status` message is
|
4334
|
-
# exposed in different client libraries and different wire protocols, it can be
|
4335
|
-
# mapped differently. For example, it will likely be mapped to some exceptions
|
4336
|
-
# in Java, but more likely mapped to some error codes in C.
|
4337
|
-
# # Other uses
|
4338
|
-
# The error model and the `Status` message can be used in a variety of
|
4339
|
-
# environments, either with or without APIs, to provide a
|
4340
|
-
# consistent developer experience across different environments.
|
4341
|
-
# Example uses of this error model include:
|
4342
|
-
# - Partial errors. If a service needs to return partial errors to the client,
|
4343
|
-
# it may embed the `Status` in the normal response to indicate the partial
|
4344
|
-
# errors.
|
4345
|
-
# - Workflow errors. A typical workflow has multiple steps. Each step may
|
4346
|
-
# have a `Status` message for error reporting.
|
4347
|
-
# - Batch operations. If a client uses batch request and batch response, the
|
4348
|
-
# `Status` message should be used directly inside batch response, one for
|
4349
|
-
# each error sub-response.
|
4350
|
-
# - Asynchronous operations. If an API call embeds asynchronous operation
|
4351
|
-
# results in its response, the status of those operations should be
|
4352
|
-
# represented directly using the `Status` message.
|
4353
|
-
# - Logging. If some API errors are stored in logs, the message `Status` could
|
4354
|
-
# be used directly after any stripping needed for security/privacy reasons.
|
4403
|
+
# used by [gRPC](https://github.com/grpc). Each `Status` message contains
|
4404
|
+
# three pieces of data: error code, error message, and error details.
|
4405
|
+
# You can find out more about this error model and how to work with it in the
|
4406
|
+
# [API Design Guide](https://cloud.google.com/apis/design/errors).
|
4355
4407
|
# Corresponds to the JSON property `error`
|
4356
4408
|
# @return [Google::Apis::VideointelligenceV1p1beta1::GoogleRpcStatus]
|
4357
4409
|
attr_accessor :error
|
@@ -4375,12 +4427,17 @@ module Google
|
|
4375
4427
|
# @return [String]
|
4376
4428
|
attr_accessor :input_uri
|
4377
4429
|
|
4430
|
+
# Annotations for list of logos detected, tracked and recognized in video.
|
4431
|
+
# Corresponds to the JSON property `logoRecognitionAnnotations`
|
4432
|
+
# @return [Array<Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p3beta1LogoRecognitionAnnotation>]
|
4433
|
+
attr_accessor :logo_recognition_annotations
|
4434
|
+
|
4378
4435
|
# Annotations for list of objects detected and tracked in video.
|
4379
4436
|
# Corresponds to the JSON property `objectAnnotations`
|
4380
4437
|
# @return [Array<Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p3beta1ObjectTrackingAnnotation>]
|
4381
4438
|
attr_accessor :object_annotations
|
4382
4439
|
|
4383
|
-
#
|
4440
|
+
# Topical label annotations on video level or user specified segment level.
|
4384
4441
|
# There is exactly one element for each unique label.
|
4385
4442
|
# Corresponds to the JSON property `segmentLabelAnnotations`
|
4386
4443
|
# @return [Array<Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p3beta1LabelAnnotation>]
|
@@ -4391,7 +4448,7 @@ module Google
|
|
4391
4448
|
# @return [Array<Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p3beta1VideoSegment>]
|
4392
4449
|
attr_accessor :shot_annotations
|
4393
4450
|
|
4394
|
-
#
|
4451
|
+
# Topical label annotations on shot level.
|
4395
4452
|
# There is exactly one element for each unique label.
|
4396
4453
|
# Corresponds to the JSON property `shotLabelAnnotations`
|
4397
4454
|
# @return [Array<Google::Apis::VideointelligenceV1p1beta1::GoogleCloudVideointelligenceV1p3beta1LabelAnnotation>]
|
@@ -4419,6 +4476,7 @@ module Google
|
|
4419
4476
|
@explicit_annotation = args[:explicit_annotation] if args.key?(:explicit_annotation)
|
4420
4477
|
@frame_label_annotations = args[:frame_label_annotations] if args.key?(:frame_label_annotations)
|
4421
4478
|
@input_uri = args[:input_uri] if args.key?(:input_uri)
|
4479
|
+
@logo_recognition_annotations = args[:logo_recognition_annotations] if args.key?(:logo_recognition_annotations)
|
4422
4480
|
@object_annotations = args[:object_annotations] if args.key?(:object_annotations)
|
4423
4481
|
@segment_label_annotations = args[:segment_label_annotations] if args.key?(:segment_label_annotations)
|
4424
4482
|
@shot_annotations = args[:shot_annotations] if args.key?(:shot_annotations)
|
@@ -4529,43 +4587,10 @@ module Google
|
|
4529
4587
|
|
4530
4588
|
# The `Status` type defines a logical error model that is suitable for
|
4531
4589
|
# different programming environments, including REST APIs and RPC APIs. It is
|
4532
|
-
# used by [gRPC](https://github.com/grpc).
|
4533
|
-
#
|
4534
|
-
#
|
4535
|
-
#
|
4536
|
-
# The `Status` message contains three pieces of data: error code, error
|
4537
|
-
# message, and error details. The error code should be an enum value of
|
4538
|
-
# google.rpc.Code, but it may accept additional error codes if needed. The
|
4539
|
-
# error message should be a developer-facing English message that helps
|
4540
|
-
# developers *understand* and *resolve* the error. If a localized user-facing
|
4541
|
-
# error message is needed, put the localized message in the error details or
|
4542
|
-
# localize it in the client. The optional error details may contain arbitrary
|
4543
|
-
# information about the error. There is a predefined set of error detail types
|
4544
|
-
# in the package `google.rpc` that can be used for common error conditions.
|
4545
|
-
# # Language mapping
|
4546
|
-
# The `Status` message is the logical representation of the error model, but it
|
4547
|
-
# is not necessarily the actual wire format. When the `Status` message is
|
4548
|
-
# exposed in different client libraries and different wire protocols, it can be
|
4549
|
-
# mapped differently. For example, it will likely be mapped to some exceptions
|
4550
|
-
# in Java, but more likely mapped to some error codes in C.
|
4551
|
-
# # Other uses
|
4552
|
-
# The error model and the `Status` message can be used in a variety of
|
4553
|
-
# environments, either with or without APIs, to provide a
|
4554
|
-
# consistent developer experience across different environments.
|
4555
|
-
# Example uses of this error model include:
|
4556
|
-
# - Partial errors. If a service needs to return partial errors to the client,
|
4557
|
-
# it may embed the `Status` in the normal response to indicate the partial
|
4558
|
-
# errors.
|
4559
|
-
# - Workflow errors. A typical workflow has multiple steps. Each step may
|
4560
|
-
# have a `Status` message for error reporting.
|
4561
|
-
# - Batch operations. If a client uses batch request and batch response, the
|
4562
|
-
# `Status` message should be used directly inside batch response, one for
|
4563
|
-
# each error sub-response.
|
4564
|
-
# - Asynchronous operations. If an API call embeds asynchronous operation
|
4565
|
-
# results in its response, the status of those operations should be
|
4566
|
-
# represented directly using the `Status` message.
|
4567
|
-
# - Logging. If some API errors are stored in logs, the message `Status` could
|
4568
|
-
# be used directly after any stripping needed for security/privacy reasons.
|
4590
|
+
# used by [gRPC](https://github.com/grpc). Each `Status` message contains
|
4591
|
+
# three pieces of data: error code, error message, and error details.
|
4592
|
+
# You can find out more about this error model and how to work with it in the
|
4593
|
+
# [API Design Guide](https://cloud.google.com/apis/design/errors).
|
4569
4594
|
# Corresponds to the JSON property `error`
|
4570
4595
|
# @return [Google::Apis::VideointelligenceV1p1beta1::GoogleRpcStatus]
|
4571
4596
|
attr_accessor :error
|
@@ -4580,7 +4605,7 @@ module Google
|
|
4580
4605
|
|
4581
4606
|
# The server-assigned name, which is only unique within the same service that
|
4582
4607
|
# originally returns it. If you use the default HTTP mapping, the
|
4583
|
-
# `name` should
|
4608
|
+
# `name` should be a resource name ending with `operations/`unique_id``.
|
4584
4609
|
# Corresponds to the JSON property `name`
|
4585
4610
|
# @return [String]
|
4586
4611
|
attr_accessor :name
|
@@ -4613,43 +4638,10 @@ module Google
|
|
4613
4638
|
|
4614
4639
|
# The `Status` type defines a logical error model that is suitable for
|
4615
4640
|
# different programming environments, including REST APIs and RPC APIs. It is
|
4616
|
-
# used by [gRPC](https://github.com/grpc).
|
4617
|
-
#
|
4618
|
-
#
|
4619
|
-
#
|
4620
|
-
# The `Status` message contains three pieces of data: error code, error
|
4621
|
-
# message, and error details. The error code should be an enum value of
|
4622
|
-
# google.rpc.Code, but it may accept additional error codes if needed. The
|
4623
|
-
# error message should be a developer-facing English message that helps
|
4624
|
-
# developers *understand* and *resolve* the error. If a localized user-facing
|
4625
|
-
# error message is needed, put the localized message in the error details or
|
4626
|
-
# localize it in the client. The optional error details may contain arbitrary
|
4627
|
-
# information about the error. There is a predefined set of error detail types
|
4628
|
-
# in the package `google.rpc` that can be used for common error conditions.
|
4629
|
-
# # Language mapping
|
4630
|
-
# The `Status` message is the logical representation of the error model, but it
|
4631
|
-
# is not necessarily the actual wire format. When the `Status` message is
|
4632
|
-
# exposed in different client libraries and different wire protocols, it can be
|
4633
|
-
# mapped differently. For example, it will likely be mapped to some exceptions
|
4634
|
-
# in Java, but more likely mapped to some error codes in C.
|
4635
|
-
# # Other uses
|
4636
|
-
# The error model and the `Status` message can be used in a variety of
|
4637
|
-
# environments, either with or without APIs, to provide a
|
4638
|
-
# consistent developer experience across different environments.
|
4639
|
-
# Example uses of this error model include:
|
4640
|
-
# - Partial errors. If a service needs to return partial errors to the client,
|
4641
|
-
# it may embed the `Status` in the normal response to indicate the partial
|
4642
|
-
# errors.
|
4643
|
-
# - Workflow errors. A typical workflow has multiple steps. Each step may
|
4644
|
-
# have a `Status` message for error reporting.
|
4645
|
-
# - Batch operations. If a client uses batch request and batch response, the
|
4646
|
-
# `Status` message should be used directly inside batch response, one for
|
4647
|
-
# each error sub-response.
|
4648
|
-
# - Asynchronous operations. If an API call embeds asynchronous operation
|
4649
|
-
# results in its response, the status of those operations should be
|
4650
|
-
# represented directly using the `Status` message.
|
4651
|
-
# - Logging. If some API errors are stored in logs, the message `Status` could
|
4652
|
-
# be used directly after any stripping needed for security/privacy reasons.
|
4641
|
+
# used by [gRPC](https://github.com/grpc). Each `Status` message contains
|
4642
|
+
# three pieces of data: error code, error message, and error details.
|
4643
|
+
# You can find out more about this error model and how to work with it in the
|
4644
|
+
# [API Design Guide](https://cloud.google.com/apis/design/errors).
|
4653
4645
|
class GoogleRpcStatus
|
4654
4646
|
include Google::Apis::Core::Hashable
|
4655
4647
|
|