google-api-client 0.30.2 → 0.30.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- 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
|
@@ -292,8 +292,7 @@ module Google
|
|
|
292
292
|
# @return [String]
|
|
293
293
|
attr_accessor :cidr_block
|
|
294
294
|
|
|
295
|
-
# Output only.
|
|
296
|
-
# The time when the node was created.
|
|
295
|
+
# Output only. The time when the node was created.
|
|
297
296
|
# Corresponds to the JSON property `createTime`
|
|
298
297
|
# @return [String]
|
|
299
298
|
attr_accessor :create_time
|
|
@@ -308,15 +307,14 @@ module Google
|
|
|
308
307
|
# @return [String]
|
|
309
308
|
attr_accessor :health
|
|
310
309
|
|
|
311
|
-
# Output only.
|
|
312
|
-
#
|
|
310
|
+
# Output only. If this field is populated, it contains a description of why the
|
|
311
|
+
# TPU Node
|
|
313
312
|
# is unhealthy.
|
|
314
313
|
# Corresponds to the JSON property `healthDescription`
|
|
315
314
|
# @return [String]
|
|
316
315
|
attr_accessor :health_description
|
|
317
316
|
|
|
318
|
-
# Output only.
|
|
319
|
-
# DEPRECATED! Use network_endpoints instead.
|
|
317
|
+
# Output only. DEPRECATED! Use network_endpoints instead.
|
|
320
318
|
# The network address for the TPU Node as visible to Compute Engine
|
|
321
319
|
# instances.
|
|
322
320
|
# Corresponds to the JSON property `ipAddress`
|
|
@@ -328,8 +326,7 @@ module Google
|
|
|
328
326
|
# @return [Hash<String,String>]
|
|
329
327
|
attr_accessor :labels
|
|
330
328
|
|
|
331
|
-
# Output only.
|
|
332
|
-
# The immutable name of the TPU
|
|
329
|
+
# Output only. The immutable name of the TPU
|
|
333
330
|
# Corresponds to the JSON property `name`
|
|
334
331
|
# @return [String]
|
|
335
332
|
attr_accessor :name
|
|
@@ -348,8 +345,7 @@ module Google
|
|
|
348
345
|
# @return [Array<Google::Apis::TpuV1alpha1::NetworkEndpoint>]
|
|
349
346
|
attr_accessor :network_endpoints
|
|
350
347
|
|
|
351
|
-
# Output only.
|
|
352
|
-
# DEPRECATED! Use network_endpoints instead.
|
|
348
|
+
# Output only. DEPRECATED! Use network_endpoints instead.
|
|
353
349
|
# The network port for the TPU Node as visible to Compute Engine instances.
|
|
354
350
|
# Corresponds to the JSON property `port`
|
|
355
351
|
# @return [String]
|
|
@@ -360,8 +356,8 @@ module Google
|
|
|
360
356
|
# @return [Google::Apis::TpuV1alpha1::SchedulingConfig]
|
|
361
357
|
attr_accessor :scheduling_config
|
|
362
358
|
|
|
363
|
-
# Output only.
|
|
364
|
-
#
|
|
359
|
+
# Output only. The service account used to run the tensor flow services within
|
|
360
|
+
# the node.
|
|
365
361
|
# To share resources, including Google Cloud Storage data, with the
|
|
366
362
|
# Tensorflow job running in the Node, this account must have permissions to
|
|
367
363
|
# that data.
|
|
@@ -369,8 +365,7 @@ module Google
|
|
|
369
365
|
# @return [String]
|
|
370
366
|
attr_accessor :service_account
|
|
371
367
|
|
|
372
|
-
# Output only.
|
|
373
|
-
# The current state for the TPU Node.
|
|
368
|
+
# Output only. The current state for the TPU Node.
|
|
374
369
|
# Corresponds to the JSON property `state`
|
|
375
370
|
# @return [String]
|
|
376
371
|
attr_accessor :state
|
|
@@ -421,43 +416,10 @@ module Google
|
|
|
421
416
|
|
|
422
417
|
# The `Status` type defines a logical error model that is suitable for
|
|
423
418
|
# different programming environments, including REST APIs and RPC APIs. It is
|
|
424
|
-
# used by [gRPC](https://github.com/grpc).
|
|
425
|
-
#
|
|
426
|
-
#
|
|
427
|
-
#
|
|
428
|
-
# The `Status` message contains three pieces of data: error code, error
|
|
429
|
-
# message, and error details. The error code should be an enum value of
|
|
430
|
-
# google.rpc.Code, but it may accept additional error codes if needed. The
|
|
431
|
-
# error message should be a developer-facing English message that helps
|
|
432
|
-
# developers *understand* and *resolve* the error. If a localized user-facing
|
|
433
|
-
# error message is needed, put the localized message in the error details or
|
|
434
|
-
# localize it in the client. The optional error details may contain arbitrary
|
|
435
|
-
# information about the error. There is a predefined set of error detail types
|
|
436
|
-
# in the package `google.rpc` that can be used for common error conditions.
|
|
437
|
-
# # Language mapping
|
|
438
|
-
# The `Status` message is the logical representation of the error model, but it
|
|
439
|
-
# is not necessarily the actual wire format. When the `Status` message is
|
|
440
|
-
# exposed in different client libraries and different wire protocols, it can be
|
|
441
|
-
# mapped differently. For example, it will likely be mapped to some exceptions
|
|
442
|
-
# in Java, but more likely mapped to some error codes in C.
|
|
443
|
-
# # Other uses
|
|
444
|
-
# The error model and the `Status` message can be used in a variety of
|
|
445
|
-
# environments, either with or without APIs, to provide a
|
|
446
|
-
# consistent developer experience across different environments.
|
|
447
|
-
# Example uses of this error model include:
|
|
448
|
-
# - Partial errors. If a service needs to return partial errors to the client,
|
|
449
|
-
# it may embed the `Status` in the normal response to indicate the partial
|
|
450
|
-
# errors.
|
|
451
|
-
# - Workflow errors. A typical workflow has multiple steps. Each step may
|
|
452
|
-
# have a `Status` message for error reporting.
|
|
453
|
-
# - Batch operations. If a client uses batch request and batch response, the
|
|
454
|
-
# `Status` message should be used directly inside batch response, one for
|
|
455
|
-
# each error sub-response.
|
|
456
|
-
# - Asynchronous operations. If an API call embeds asynchronous operation
|
|
457
|
-
# results in its response, the status of those operations should be
|
|
458
|
-
# represented directly using the `Status` message.
|
|
459
|
-
# - Logging. If some API errors are stored in logs, the message `Status` could
|
|
460
|
-
# be used directly after any stripping needed for security/privacy reasons.
|
|
419
|
+
# used by [gRPC](https://github.com/grpc). Each `Status` message contains
|
|
420
|
+
# three pieces of data: error code, error message, and error details.
|
|
421
|
+
# You can find out more about this error model and how to work with it in the
|
|
422
|
+
# [API Design Guide](https://cloud.google.com/apis/design/errors).
|
|
461
423
|
# Corresponds to the JSON property `error`
|
|
462
424
|
# @return [Google::Apis::TpuV1alpha1::Status]
|
|
463
425
|
attr_accessor :error
|
|
@@ -623,43 +585,10 @@ module Google
|
|
|
623
585
|
|
|
624
586
|
# The `Status` type defines a logical error model that is suitable for
|
|
625
587
|
# different programming environments, including REST APIs and RPC APIs. It is
|
|
626
|
-
# used by [gRPC](https://github.com/grpc).
|
|
627
|
-
#
|
|
628
|
-
#
|
|
629
|
-
#
|
|
630
|
-
# The `Status` message contains three pieces of data: error code, error
|
|
631
|
-
# message, and error details. The error code should be an enum value of
|
|
632
|
-
# google.rpc.Code, but it may accept additional error codes if needed. The
|
|
633
|
-
# error message should be a developer-facing English message that helps
|
|
634
|
-
# developers *understand* and *resolve* the error. If a localized user-facing
|
|
635
|
-
# error message is needed, put the localized message in the error details or
|
|
636
|
-
# localize it in the client. The optional error details may contain arbitrary
|
|
637
|
-
# information about the error. There is a predefined set of error detail types
|
|
638
|
-
# in the package `google.rpc` that can be used for common error conditions.
|
|
639
|
-
# # Language mapping
|
|
640
|
-
# The `Status` message is the logical representation of the error model, but it
|
|
641
|
-
# is not necessarily the actual wire format. When the `Status` message is
|
|
642
|
-
# exposed in different client libraries and different wire protocols, it can be
|
|
643
|
-
# mapped differently. For example, it will likely be mapped to some exceptions
|
|
644
|
-
# in Java, but more likely mapped to some error codes in C.
|
|
645
|
-
# # Other uses
|
|
646
|
-
# The error model and the `Status` message can be used in a variety of
|
|
647
|
-
# environments, either with or without APIs, to provide a
|
|
648
|
-
# consistent developer experience across different environments.
|
|
649
|
-
# Example uses of this error model include:
|
|
650
|
-
# - Partial errors. If a service needs to return partial errors to the client,
|
|
651
|
-
# it may embed the `Status` in the normal response to indicate the partial
|
|
652
|
-
# errors.
|
|
653
|
-
# - Workflow errors. A typical workflow has multiple steps. Each step may
|
|
654
|
-
# have a `Status` message for error reporting.
|
|
655
|
-
# - Batch operations. If a client uses batch request and batch response, the
|
|
656
|
-
# `Status` message should be used directly inside batch response, one for
|
|
657
|
-
# each error sub-response.
|
|
658
|
-
# - Asynchronous operations. If an API call embeds asynchronous operation
|
|
659
|
-
# results in its response, the status of those operations should be
|
|
660
|
-
# represented directly using the `Status` message.
|
|
661
|
-
# - Logging. If some API errors are stored in logs, the message `Status` could
|
|
662
|
-
# be used directly after any stripping needed for security/privacy reasons.
|
|
588
|
+
# used by [gRPC](https://github.com/grpc). Each `Status` message contains
|
|
589
|
+
# three pieces of data: error code, error message, and error details.
|
|
590
|
+
# You can find out more about this error model and how to work with it in the
|
|
591
|
+
# [API Design Guide](https://cloud.google.com/apis/design/errors).
|
|
663
592
|
class Status
|
|
664
593
|
include Google::Apis::Core::Hashable
|
|
665
594
|
|
|
@@ -346,6 +346,12 @@ module Google
|
|
|
346
346
|
class DriveOptions
|
|
347
347
|
include Google::Apis::Core::Hashable
|
|
348
348
|
|
|
349
|
+
# Set to true to include shared drive.
|
|
350
|
+
# Corresponds to the JSON property `includeSharedDrives`
|
|
351
|
+
# @return [Boolean]
|
|
352
|
+
attr_accessor :include_shared_drives
|
|
353
|
+
alias_method :include_shared_drives?, :include_shared_drives
|
|
354
|
+
|
|
349
355
|
# Set to true to include Team Drive.
|
|
350
356
|
# Corresponds to the JSON property `includeTeamDrives`
|
|
351
357
|
# @return [Boolean]
|
|
@@ -365,6 +371,7 @@ module Google
|
|
|
365
371
|
|
|
366
372
|
# Update properties of this object
|
|
367
373
|
def update!(**args)
|
|
374
|
+
@include_shared_drives = args[:include_shared_drives] if args.key?(:include_shared_drives)
|
|
368
375
|
@include_team_drives = args[:include_team_drives] if args.key?(:include_team_drives)
|
|
369
376
|
@version_date = args[:version_date] if args.key?(:version_date)
|
|
370
377
|
end
|
|
@@ -663,6 +670,12 @@ module Google
|
|
|
663
670
|
class HeldDriveQuery
|
|
664
671
|
include Google::Apis::Core::Hashable
|
|
665
672
|
|
|
673
|
+
# If true, include files in shared drives in the hold.
|
|
674
|
+
# Corresponds to the JSON property `includeSharedDriveFiles`
|
|
675
|
+
# @return [Boolean]
|
|
676
|
+
attr_accessor :include_shared_drive_files
|
|
677
|
+
alias_method :include_shared_drive_files?, :include_shared_drive_files
|
|
678
|
+
|
|
666
679
|
# If true, include files in Team Drives in the hold.
|
|
667
680
|
# Corresponds to the JSON property `includeTeamDriveFiles`
|
|
668
681
|
# @return [Boolean]
|
|
@@ -675,6 +688,7 @@ module Google
|
|
|
675
688
|
|
|
676
689
|
# Update properties of this object
|
|
677
690
|
def update!(**args)
|
|
691
|
+
@include_shared_drive_files = args[:include_shared_drive_files] if args.key?(:include_shared_drive_files)
|
|
678
692
|
@include_team_drive_files = args[:include_team_drive_files] if args.key?(:include_team_drive_files)
|
|
679
693
|
end
|
|
680
694
|
end
|
|
@@ -1157,6 +1171,14 @@ module Google
|
|
|
1157
1171
|
# @return [Google::Apis::VaultV1::MailOptions]
|
|
1158
1172
|
attr_accessor :mail_options
|
|
1159
1173
|
|
|
1174
|
+
# The search method to use. This field is similar to the search_method field
|
|
1175
|
+
# but is introduced to support shared drives. It supports all
|
|
1176
|
+
# search method types. In case the search_method is TEAM_DRIVE the response
|
|
1177
|
+
# of this field will be SHARED_DRIVE only.
|
|
1178
|
+
# Corresponds to the JSON property `method`
|
|
1179
|
+
# @return [String]
|
|
1180
|
+
attr_accessor :method_prop
|
|
1181
|
+
|
|
1160
1182
|
# Org Unit to search
|
|
1161
1183
|
# Corresponds to the JSON property `orgUnitInfo`
|
|
1162
1184
|
# @return [Google::Apis::VaultV1::OrgUnitInfo]
|
|
@@ -1167,6 +1189,11 @@ module Google
|
|
|
1167
1189
|
# @return [String]
|
|
1168
1190
|
attr_accessor :search_method
|
|
1169
1191
|
|
|
1192
|
+
# Shared drives to search
|
|
1193
|
+
# Corresponds to the JSON property `sharedDriveInfo`
|
|
1194
|
+
# @return [Google::Apis::VaultV1::SharedDriveInfo]
|
|
1195
|
+
attr_accessor :shared_drive_info
|
|
1196
|
+
|
|
1170
1197
|
# The start time range for the search query. These timestamps are in GMT and
|
|
1171
1198
|
# rounded down to the start of the given date.
|
|
1172
1199
|
# Corresponds to the JSON property `startTime`
|
|
@@ -1208,8 +1235,10 @@ module Google
|
|
|
1208
1235
|
@hangouts_chat_info = args[:hangouts_chat_info] if args.key?(:hangouts_chat_info)
|
|
1209
1236
|
@hangouts_chat_options = args[:hangouts_chat_options] if args.key?(:hangouts_chat_options)
|
|
1210
1237
|
@mail_options = args[:mail_options] if args.key?(:mail_options)
|
|
1238
|
+
@method_prop = args[:method_prop] if args.key?(:method_prop)
|
|
1211
1239
|
@org_unit_info = args[:org_unit_info] if args.key?(:org_unit_info)
|
|
1212
1240
|
@search_method = args[:search_method] if args.key?(:search_method)
|
|
1241
|
+
@shared_drive_info = args[:shared_drive_info] if args.key?(:shared_drive_info)
|
|
1213
1242
|
@start_time = args[:start_time] if args.key?(:start_time)
|
|
1214
1243
|
@team_drive_info = args[:team_drive_info] if args.key?(:team_drive_info)
|
|
1215
1244
|
@terms = args[:terms] if args.key?(:terms)
|
|
@@ -1353,6 +1382,26 @@ module Google
|
|
|
1353
1382
|
end
|
|
1354
1383
|
end
|
|
1355
1384
|
|
|
1385
|
+
# Shared drives to search
|
|
1386
|
+
class SharedDriveInfo
|
|
1387
|
+
include Google::Apis::Core::Hashable
|
|
1388
|
+
|
|
1389
|
+
# List of Shared drive ids, as provided by <a
|
|
1390
|
+
# href="https://developers.google.com/drive">Drive API</a>.
|
|
1391
|
+
# Corresponds to the JSON property `sharedDriveIds`
|
|
1392
|
+
# @return [Array<String>]
|
|
1393
|
+
attr_accessor :shared_drive_ids
|
|
1394
|
+
|
|
1395
|
+
def initialize(**args)
|
|
1396
|
+
update!(**args)
|
|
1397
|
+
end
|
|
1398
|
+
|
|
1399
|
+
# Update properties of this object
|
|
1400
|
+
def update!(**args)
|
|
1401
|
+
@shared_drive_ids = args[:shared_drive_ids] if args.key?(:shared_drive_ids)
|
|
1402
|
+
end
|
|
1403
|
+
end
|
|
1404
|
+
|
|
1356
1405
|
# The `Status` type defines a logical error model that is suitable for
|
|
1357
1406
|
# different programming environments, including REST APIs and RPC APIs. It is
|
|
1358
1407
|
# used by [gRPC](https://github.com/grpc). The error model is designed to be:
|
|
@@ -286,6 +286,12 @@ module Google
|
|
|
286
286
|
include Google::Apis::Core::JsonObjectSupport
|
|
287
287
|
end
|
|
288
288
|
|
|
289
|
+
class SharedDriveInfo
|
|
290
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
291
|
+
|
|
292
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
293
|
+
end
|
|
294
|
+
|
|
289
295
|
class Status
|
|
290
296
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
291
297
|
|
|
@@ -409,6 +415,7 @@ module Google
|
|
|
409
415
|
class DriveOptions
|
|
410
416
|
# @private
|
|
411
417
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
418
|
+
property :include_shared_drives, as: 'includeSharedDrives'
|
|
412
419
|
property :include_team_drives, as: 'includeTeamDrives'
|
|
413
420
|
property :version_date, as: 'versionDate'
|
|
414
421
|
end
|
|
@@ -507,6 +514,7 @@ module Google
|
|
|
507
514
|
class HeldDriveQuery
|
|
508
515
|
# @private
|
|
509
516
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
517
|
+
property :include_shared_drive_files, as: 'includeSharedDriveFiles'
|
|
510
518
|
property :include_team_drive_files, as: 'includeTeamDriveFiles'
|
|
511
519
|
end
|
|
512
520
|
end
|
|
@@ -662,9 +670,12 @@ module Google
|
|
|
662
670
|
|
|
663
671
|
property :mail_options, as: 'mailOptions', class: Google::Apis::VaultV1::MailOptions, decorator: Google::Apis::VaultV1::MailOptions::Representation
|
|
664
672
|
|
|
673
|
+
property :method_prop, as: 'method'
|
|
665
674
|
property :org_unit_info, as: 'orgUnitInfo', class: Google::Apis::VaultV1::OrgUnitInfo, decorator: Google::Apis::VaultV1::OrgUnitInfo::Representation
|
|
666
675
|
|
|
667
676
|
property :search_method, as: 'searchMethod'
|
|
677
|
+
property :shared_drive_info, as: 'sharedDriveInfo', class: Google::Apis::VaultV1::SharedDriveInfo, decorator: Google::Apis::VaultV1::SharedDriveInfo::Representation
|
|
678
|
+
|
|
668
679
|
property :start_time, as: 'startTime'
|
|
669
680
|
property :team_drive_info, as: 'teamDriveInfo', class: Google::Apis::VaultV1::TeamDriveInfo, decorator: Google::Apis::VaultV1::TeamDriveInfo::Representation
|
|
670
681
|
|
|
@@ -721,6 +732,13 @@ module Google
|
|
|
721
732
|
end
|
|
722
733
|
end
|
|
723
734
|
|
|
735
|
+
class SharedDriveInfo
|
|
736
|
+
# @private
|
|
737
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
738
|
+
collection :shared_drive_ids, as: 'sharedDriveIds'
|
|
739
|
+
end
|
|
740
|
+
end
|
|
741
|
+
|
|
724
742
|
class Status
|
|
725
743
|
# @private
|
|
726
744
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -27,7 +27,7 @@ module Google
|
|
|
27
27
|
# @see https://cloud.google.com/video-intelligence/docs/
|
|
28
28
|
module VideointelligenceV1
|
|
29
29
|
VERSION = 'V1'
|
|
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'
|
|
@@ -534,6 +534,27 @@ module Google
|
|
|
534
534
|
end
|
|
535
535
|
end
|
|
536
536
|
|
|
537
|
+
# Config for OBJECT_TRACKING.
|
|
538
|
+
class GoogleCloudVideointelligenceV1ObjectTrackingConfig
|
|
539
|
+
include Google::Apis::Core::Hashable
|
|
540
|
+
|
|
541
|
+
# Model to use for object tracking.
|
|
542
|
+
# Supported values: "builtin/stable" (the default if unset) and
|
|
543
|
+
# "builtin/latest".
|
|
544
|
+
# Corresponds to the JSON property `model`
|
|
545
|
+
# @return [String]
|
|
546
|
+
attr_accessor :model
|
|
547
|
+
|
|
548
|
+
def initialize(**args)
|
|
549
|
+
update!(**args)
|
|
550
|
+
end
|
|
551
|
+
|
|
552
|
+
# Update properties of this object
|
|
553
|
+
def update!(**args)
|
|
554
|
+
@model = args[:model] if args.key?(:model)
|
|
555
|
+
end
|
|
556
|
+
end
|
|
557
|
+
|
|
537
558
|
# Video frame level annotations for object detection and tracking. This field
|
|
538
559
|
# stores per frame location, time offset, and confidence.
|
|
539
560
|
class GoogleCloudVideointelligenceV1ObjectTrackingFrame
|
|
@@ -612,11 +633,11 @@ module Google
|
|
|
612
633
|
class GoogleCloudVideointelligenceV1SpeechRecognitionAlternative
|
|
613
634
|
include Google::Apis::Core::Hashable
|
|
614
635
|
|
|
615
|
-
# The confidence estimate between 0.0 and 1.0. A higher number
|
|
636
|
+
# Output only. The confidence estimate between 0.0 and 1.0. A higher number
|
|
616
637
|
# indicates an estimated greater likelihood that the recognized words are
|
|
617
|
-
# correct. This field is
|
|
618
|
-
#
|
|
619
|
-
#
|
|
638
|
+
# correct. This field is set only for the top alternative.
|
|
639
|
+
# This field is not guaranteed to be accurate and users should not rely on it
|
|
640
|
+
# to be always provided.
|
|
620
641
|
# The default of 0.0 is a sentinel value indicating `confidence` was not set.
|
|
621
642
|
# Corresponds to the JSON property `confidence`
|
|
622
643
|
# @return [Float]
|
|
@@ -627,7 +648,9 @@ module Google
|
|
|
627
648
|
# @return [String]
|
|
628
649
|
attr_accessor :transcript
|
|
629
650
|
|
|
630
|
-
# A list of word-specific information for each recognized word.
|
|
651
|
+
# Output only. A list of word-specific information for each recognized word.
|
|
652
|
+
# Note: When `enable_speaker_diarization` is true, you will see all the words
|
|
653
|
+
# from the beginning of the audio.
|
|
631
654
|
# Corresponds to the JSON property `words`
|
|
632
655
|
# @return [Array<Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1WordInfo>]
|
|
633
656
|
attr_accessor :words
|
|
@@ -813,6 +836,13 @@ module Google
|
|
|
813
836
|
# @return [Array<String>]
|
|
814
837
|
attr_accessor :language_hints
|
|
815
838
|
|
|
839
|
+
# Model to use for text detection.
|
|
840
|
+
# Supported values: "builtin/stable" (the default if unset) and
|
|
841
|
+
# "builtin/latest".
|
|
842
|
+
# Corresponds to the JSON property `model`
|
|
843
|
+
# @return [String]
|
|
844
|
+
attr_accessor :model
|
|
845
|
+
|
|
816
846
|
def initialize(**args)
|
|
817
847
|
update!(**args)
|
|
818
848
|
end
|
|
@@ -820,6 +850,7 @@ module Google
|
|
|
820
850
|
# Update properties of this object
|
|
821
851
|
def update!(**args)
|
|
822
852
|
@language_hints = args[:language_hints] if args.key?(:language_hints)
|
|
853
|
+
@model = args[:model] if args.key?(:model)
|
|
823
854
|
end
|
|
824
855
|
end
|
|
825
856
|
|
|
@@ -900,6 +931,12 @@ module Google
|
|
|
900
931
|
class GoogleCloudVideointelligenceV1VideoAnnotationProgress
|
|
901
932
|
include Google::Apis::Core::Hashable
|
|
902
933
|
|
|
934
|
+
# Specifies which feature is being tracked if the request contains more than
|
|
935
|
+
# one features.
|
|
936
|
+
# Corresponds to the JSON property `feature`
|
|
937
|
+
# @return [String]
|
|
938
|
+
attr_accessor :feature
|
|
939
|
+
|
|
903
940
|
# Video file location in
|
|
904
941
|
# [Google Cloud Storage](https://cloud.google.com/storage/).
|
|
905
942
|
# Corresponds to the JSON property `inputUri`
|
|
@@ -912,6 +949,11 @@ module Google
|
|
|
912
949
|
# @return [Fixnum]
|
|
913
950
|
attr_accessor :progress_percent
|
|
914
951
|
|
|
952
|
+
# Video segment.
|
|
953
|
+
# Corresponds to the JSON property `segment`
|
|
954
|
+
# @return [Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1VideoSegment]
|
|
955
|
+
attr_accessor :segment
|
|
956
|
+
|
|
915
957
|
# Time when the request was received.
|
|
916
958
|
# Corresponds to the JSON property `startTime`
|
|
917
959
|
# @return [String]
|
|
@@ -928,8 +970,10 @@ module Google
|
|
|
928
970
|
|
|
929
971
|
# Update properties of this object
|
|
930
972
|
def update!(**args)
|
|
973
|
+
@feature = args[:feature] if args.key?(:feature)
|
|
931
974
|
@input_uri = args[:input_uri] if args.key?(:input_uri)
|
|
932
975
|
@progress_percent = args[:progress_percent] if args.key?(:progress_percent)
|
|
976
|
+
@segment = args[:segment] if args.key?(:segment)
|
|
933
977
|
@start_time = args[:start_time] if args.key?(:start_time)
|
|
934
978
|
@update_time = args[:update_time] if args.key?(:update_time)
|
|
935
979
|
end
|
|
@@ -941,43 +985,10 @@ module Google
|
|
|
941
985
|
|
|
942
986
|
# The `Status` type defines a logical error model that is suitable for
|
|
943
987
|
# different programming environments, including REST APIs and RPC APIs. It is
|
|
944
|
-
# used by [gRPC](https://github.com/grpc).
|
|
945
|
-
#
|
|
946
|
-
#
|
|
947
|
-
#
|
|
948
|
-
# The `Status` message contains three pieces of data: error code, error
|
|
949
|
-
# message, and error details. The error code should be an enum value of
|
|
950
|
-
# google.rpc.Code, but it may accept additional error codes if needed. The
|
|
951
|
-
# error message should be a developer-facing English message that helps
|
|
952
|
-
# developers *understand* and *resolve* the error. If a localized user-facing
|
|
953
|
-
# error message is needed, put the localized message in the error details or
|
|
954
|
-
# localize it in the client. The optional error details may contain arbitrary
|
|
955
|
-
# information about the error. There is a predefined set of error detail types
|
|
956
|
-
# in the package `google.rpc` that can be used for common error conditions.
|
|
957
|
-
# # Language mapping
|
|
958
|
-
# The `Status` message is the logical representation of the error model, but it
|
|
959
|
-
# is not necessarily the actual wire format. When the `Status` message is
|
|
960
|
-
# exposed in different client libraries and different wire protocols, it can be
|
|
961
|
-
# mapped differently. For example, it will likely be mapped to some exceptions
|
|
962
|
-
# in Java, but more likely mapped to some error codes in C.
|
|
963
|
-
# # Other uses
|
|
964
|
-
# The error model and the `Status` message can be used in a variety of
|
|
965
|
-
# environments, either with or without APIs, to provide a
|
|
966
|
-
# consistent developer experience across different environments.
|
|
967
|
-
# Example uses of this error model include:
|
|
968
|
-
# - Partial errors. If a service needs to return partial errors to the client,
|
|
969
|
-
# it may embed the `Status` in the normal response to indicate the partial
|
|
970
|
-
# errors.
|
|
971
|
-
# - Workflow errors. A typical workflow has multiple steps. Each step may
|
|
972
|
-
# have a `Status` message for error reporting.
|
|
973
|
-
# - Batch operations. If a client uses batch request and batch response, the
|
|
974
|
-
# `Status` message should be used directly inside batch response, one for
|
|
975
|
-
# each error sub-response.
|
|
976
|
-
# - Asynchronous operations. If an API call embeds asynchronous operation
|
|
977
|
-
# results in its response, the status of those operations should be
|
|
978
|
-
# represented directly using the `Status` message.
|
|
979
|
-
# - Logging. If some API errors are stored in logs, the message `Status` could
|
|
980
|
-
# be used directly after any stripping needed for security/privacy reasons.
|
|
988
|
+
# used by [gRPC](https://github.com/grpc). Each `Status` message contains
|
|
989
|
+
# three pieces of data: error code, error message, and error details.
|
|
990
|
+
# You can find out more about this error model and how to work with it in the
|
|
991
|
+
# [API Design Guide](https://cloud.google.com/apis/design/errors).
|
|
981
992
|
# Corresponds to the JSON property `error`
|
|
982
993
|
# @return [Google::Apis::VideointelligenceV1::GoogleRpcStatus]
|
|
983
994
|
attr_accessor :error
|
|
@@ -1006,7 +1017,7 @@ module Google
|
|
|
1006
1017
|
# @return [Array<Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1ObjectTrackingAnnotation>]
|
|
1007
1018
|
attr_accessor :object_annotations
|
|
1008
1019
|
|
|
1009
|
-
#
|
|
1020
|
+
# Topical label annotations on video level or user specified segment level.
|
|
1010
1021
|
# There is exactly one element for each unique label.
|
|
1011
1022
|
# Corresponds to the JSON property `segmentLabelAnnotations`
|
|
1012
1023
|
# @return [Array<Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1LabelAnnotation>]
|
|
@@ -1017,7 +1028,7 @@ module Google
|
|
|
1017
1028
|
# @return [Array<Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1VideoSegment>]
|
|
1018
1029
|
attr_accessor :shot_annotations
|
|
1019
1030
|
|
|
1020
|
-
#
|
|
1031
|
+
# Topical label annotations on shot level.
|
|
1021
1032
|
# There is exactly one element for each unique label.
|
|
1022
1033
|
# Corresponds to the JSON property `shotLabelAnnotations`
|
|
1023
1034
|
# @return [Array<Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1LabelAnnotation>]
|
|
@@ -1068,6 +1079,11 @@ module Google
|
|
|
1068
1079
|
# @return [Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1LabelDetectionConfig]
|
|
1069
1080
|
attr_accessor :label_detection_config
|
|
1070
1081
|
|
|
1082
|
+
# Config for OBJECT_TRACKING.
|
|
1083
|
+
# Corresponds to the JSON property `objectTrackingConfig`
|
|
1084
|
+
# @return [Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1ObjectTrackingConfig]
|
|
1085
|
+
attr_accessor :object_tracking_config
|
|
1086
|
+
|
|
1071
1087
|
# Video segments to annotate. The segments may overlap and are not required
|
|
1072
1088
|
# to be contiguous or span the whole video. If unspecified, each video is
|
|
1073
1089
|
# treated as a single segment.
|
|
@@ -1098,6 +1114,7 @@ module Google
|
|
|
1098
1114
|
def update!(**args)
|
|
1099
1115
|
@explicit_content_detection_config = args[:explicit_content_detection_config] if args.key?(:explicit_content_detection_config)
|
|
1100
1116
|
@label_detection_config = args[:label_detection_config] if args.key?(:label_detection_config)
|
|
1117
|
+
@object_tracking_config = args[:object_tracking_config] if args.key?(:object_tracking_config)
|
|
1101
1118
|
@segments = args[:segments] if args.key?(:segments)
|
|
1102
1119
|
@shot_change_detection_config = args[:shot_change_detection_config] if args.key?(:shot_change_detection_config)
|
|
1103
1120
|
@speech_transcription_config = args[:speech_transcription_config] if args.key?(:speech_transcription_config)
|
|
@@ -1586,11 +1603,11 @@ module Google
|
|
|
1586
1603
|
class GoogleCloudVideointelligenceV1beta2SpeechRecognitionAlternative
|
|
1587
1604
|
include Google::Apis::Core::Hashable
|
|
1588
1605
|
|
|
1589
|
-
# The confidence estimate between 0.0 and 1.0. A higher number
|
|
1606
|
+
# Output only. The confidence estimate between 0.0 and 1.0. A higher number
|
|
1590
1607
|
# indicates an estimated greater likelihood that the recognized words are
|
|
1591
|
-
# correct. This field is
|
|
1592
|
-
#
|
|
1593
|
-
#
|
|
1608
|
+
# correct. This field is set only for the top alternative.
|
|
1609
|
+
# This field is not guaranteed to be accurate and users should not rely on it
|
|
1610
|
+
# to be always provided.
|
|
1594
1611
|
# The default of 0.0 is a sentinel value indicating `confidence` was not set.
|
|
1595
1612
|
# Corresponds to the JSON property `confidence`
|
|
1596
1613
|
# @return [Float]
|
|
@@ -1601,7 +1618,9 @@ module Google
|
|
|
1601
1618
|
# @return [String]
|
|
1602
1619
|
attr_accessor :transcript
|
|
1603
1620
|
|
|
1604
|
-
# A list of word-specific information for each recognized word.
|
|
1621
|
+
# Output only. A list of word-specific information for each recognized word.
|
|
1622
|
+
# Note: When `enable_speaker_diarization` is true, you will see all the words
|
|
1623
|
+
# from the beginning of the audio.
|
|
1605
1624
|
# Corresponds to the JSON property `words`
|
|
1606
1625
|
# @return [Array<Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1beta2WordInfo>]
|
|
1607
1626
|
attr_accessor :words
|
|
@@ -1753,6 +1772,12 @@ module Google
|
|
|
1753
1772
|
class GoogleCloudVideointelligenceV1beta2VideoAnnotationProgress
|
|
1754
1773
|
include Google::Apis::Core::Hashable
|
|
1755
1774
|
|
|
1775
|
+
# Specifies which feature is being tracked if the request contains more than
|
|
1776
|
+
# one features.
|
|
1777
|
+
# Corresponds to the JSON property `feature`
|
|
1778
|
+
# @return [String]
|
|
1779
|
+
attr_accessor :feature
|
|
1780
|
+
|
|
1756
1781
|
# Video file location in
|
|
1757
1782
|
# [Google Cloud Storage](https://cloud.google.com/storage/).
|
|
1758
1783
|
# Corresponds to the JSON property `inputUri`
|
|
@@ -1765,6 +1790,11 @@ module Google
|
|
|
1765
1790
|
# @return [Fixnum]
|
|
1766
1791
|
attr_accessor :progress_percent
|
|
1767
1792
|
|
|
1793
|
+
# Video segment.
|
|
1794
|
+
# Corresponds to the JSON property `segment`
|
|
1795
|
+
# @return [Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1beta2VideoSegment]
|
|
1796
|
+
attr_accessor :segment
|
|
1797
|
+
|
|
1768
1798
|
# Time when the request was received.
|
|
1769
1799
|
# Corresponds to the JSON property `startTime`
|
|
1770
1800
|
# @return [String]
|
|
@@ -1781,8 +1811,10 @@ module Google
|
|
|
1781
1811
|
|
|
1782
1812
|
# Update properties of this object
|
|
1783
1813
|
def update!(**args)
|
|
1814
|
+
@feature = args[:feature] if args.key?(:feature)
|
|
1784
1815
|
@input_uri = args[:input_uri] if args.key?(:input_uri)
|
|
1785
1816
|
@progress_percent = args[:progress_percent] if args.key?(:progress_percent)
|
|
1817
|
+
@segment = args[:segment] if args.key?(:segment)
|
|
1786
1818
|
@start_time = args[:start_time] if args.key?(:start_time)
|
|
1787
1819
|
@update_time = args[:update_time] if args.key?(:update_time)
|
|
1788
1820
|
end
|
|
@@ -1794,43 +1826,10 @@ module Google
|
|
|
1794
1826
|
|
|
1795
1827
|
# The `Status` type defines a logical error model that is suitable for
|
|
1796
1828
|
# different programming environments, including REST APIs and RPC APIs. It is
|
|
1797
|
-
# used by [gRPC](https://github.com/grpc).
|
|
1798
|
-
#
|
|
1799
|
-
#
|
|
1800
|
-
#
|
|
1801
|
-
# The `Status` message contains three pieces of data: error code, error
|
|
1802
|
-
# message, and error details. The error code should be an enum value of
|
|
1803
|
-
# google.rpc.Code, but it may accept additional error codes if needed. The
|
|
1804
|
-
# error message should be a developer-facing English message that helps
|
|
1805
|
-
# developers *understand* and *resolve* the error. If a localized user-facing
|
|
1806
|
-
# error message is needed, put the localized message in the error details or
|
|
1807
|
-
# localize it in the client. The optional error details may contain arbitrary
|
|
1808
|
-
# information about the error. There is a predefined set of error detail types
|
|
1809
|
-
# in the package `google.rpc` that can be used for common error conditions.
|
|
1810
|
-
# # Language mapping
|
|
1811
|
-
# The `Status` message is the logical representation of the error model, but it
|
|
1812
|
-
# is not necessarily the actual wire format. When the `Status` message is
|
|
1813
|
-
# exposed in different client libraries and different wire protocols, it can be
|
|
1814
|
-
# mapped differently. For example, it will likely be mapped to some exceptions
|
|
1815
|
-
# in Java, but more likely mapped to some error codes in C.
|
|
1816
|
-
# # Other uses
|
|
1817
|
-
# The error model and the `Status` message can be used in a variety of
|
|
1818
|
-
# environments, either with or without APIs, to provide a
|
|
1819
|
-
# consistent developer experience across different environments.
|
|
1820
|
-
# Example uses of this error model include:
|
|
1821
|
-
# - Partial errors. If a service needs to return partial errors to the client,
|
|
1822
|
-
# it may embed the `Status` in the normal response to indicate the partial
|
|
1823
|
-
# errors.
|
|
1824
|
-
# - Workflow errors. A typical workflow has multiple steps. Each step may
|
|
1825
|
-
# have a `Status` message for error reporting.
|
|
1826
|
-
# - Batch operations. If a client uses batch request and batch response, the
|
|
1827
|
-
# `Status` message should be used directly inside batch response, one for
|
|
1828
|
-
# each error sub-response.
|
|
1829
|
-
# - Asynchronous operations. If an API call embeds asynchronous operation
|
|
1830
|
-
# results in its response, the status of those operations should be
|
|
1831
|
-
# represented directly using the `Status` message.
|
|
1832
|
-
# - Logging. If some API errors are stored in logs, the message `Status` could
|
|
1833
|
-
# be used directly after any stripping needed for security/privacy reasons.
|
|
1829
|
+
# used by [gRPC](https://github.com/grpc). Each `Status` message contains
|
|
1830
|
+
# three pieces of data: error code, error message, and error details.
|
|
1831
|
+
# You can find out more about this error model and how to work with it in the
|
|
1832
|
+
# [API Design Guide](https://cloud.google.com/apis/design/errors).
|
|
1834
1833
|
# Corresponds to the JSON property `error`
|
|
1835
1834
|
# @return [Google::Apis::VideointelligenceV1::GoogleRpcStatus]
|
|
1836
1835
|
attr_accessor :error
|
|
@@ -1859,7 +1858,7 @@ module Google
|
|
|
1859
1858
|
# @return [Array<Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1beta2ObjectTrackingAnnotation>]
|
|
1860
1859
|
attr_accessor :object_annotations
|
|
1861
1860
|
|
|
1862
|
-
#
|
|
1861
|
+
# Topical label annotations on video level or user specified segment level.
|
|
1863
1862
|
# There is exactly one element for each unique label.
|
|
1864
1863
|
# Corresponds to the JSON property `segmentLabelAnnotations`
|
|
1865
1864
|
# @return [Array<Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1beta2LabelAnnotation>]
|
|
@@ -1870,7 +1869,7 @@ module Google
|
|
|
1870
1869
|
# @return [Array<Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1beta2VideoSegment>]
|
|
1871
1870
|
attr_accessor :shot_annotations
|
|
1872
1871
|
|
|
1873
|
-
#
|
|
1872
|
+
# Topical label annotations on shot level.
|
|
1874
1873
|
# There is exactly one element for each unique label.
|
|
1875
1874
|
# Corresponds to the JSON property `shotLabelAnnotations`
|
|
1876
1875
|
# @return [Array<Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1beta2LabelAnnotation>]
|
|
@@ -2388,11 +2387,11 @@ module Google
|
|
|
2388
2387
|
class GoogleCloudVideointelligenceV1p1beta1SpeechRecognitionAlternative
|
|
2389
2388
|
include Google::Apis::Core::Hashable
|
|
2390
2389
|
|
|
2391
|
-
# The confidence estimate between 0.0 and 1.0. A higher number
|
|
2390
|
+
# Output only. The confidence estimate between 0.0 and 1.0. A higher number
|
|
2392
2391
|
# indicates an estimated greater likelihood that the recognized words are
|
|
2393
|
-
# correct. This field is
|
|
2394
|
-
#
|
|
2395
|
-
#
|
|
2392
|
+
# correct. This field is set only for the top alternative.
|
|
2393
|
+
# This field is not guaranteed to be accurate and users should not rely on it
|
|
2394
|
+
# to be always provided.
|
|
2396
2395
|
# The default of 0.0 is a sentinel value indicating `confidence` was not set.
|
|
2397
2396
|
# Corresponds to the JSON property `confidence`
|
|
2398
2397
|
# @return [Float]
|
|
@@ -2403,7 +2402,9 @@ module Google
|
|
|
2403
2402
|
# @return [String]
|
|
2404
2403
|
attr_accessor :transcript
|
|
2405
2404
|
|
|
2406
|
-
# A list of word-specific information for each recognized word.
|
|
2405
|
+
# Output only. A list of word-specific information for each recognized word.
|
|
2406
|
+
# Note: When `enable_speaker_diarization` is true, you will see all the words
|
|
2407
|
+
# from the beginning of the audio.
|
|
2407
2408
|
# Corresponds to the JSON property `words`
|
|
2408
2409
|
# @return [Array<Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p1beta1WordInfo>]
|
|
2409
2410
|
attr_accessor :words
|
|
@@ -2555,6 +2556,12 @@ module Google
|
|
|
2555
2556
|
class GoogleCloudVideointelligenceV1p1beta1VideoAnnotationProgress
|
|
2556
2557
|
include Google::Apis::Core::Hashable
|
|
2557
2558
|
|
|
2559
|
+
# Specifies which feature is being tracked if the request contains more than
|
|
2560
|
+
# one features.
|
|
2561
|
+
# Corresponds to the JSON property `feature`
|
|
2562
|
+
# @return [String]
|
|
2563
|
+
attr_accessor :feature
|
|
2564
|
+
|
|
2558
2565
|
# Video file location in
|
|
2559
2566
|
# [Google Cloud Storage](https://cloud.google.com/storage/).
|
|
2560
2567
|
# Corresponds to the JSON property `inputUri`
|
|
@@ -2567,6 +2574,11 @@ module Google
|
|
|
2567
2574
|
# @return [Fixnum]
|
|
2568
2575
|
attr_accessor :progress_percent
|
|
2569
2576
|
|
|
2577
|
+
# Video segment.
|
|
2578
|
+
# Corresponds to the JSON property `segment`
|
|
2579
|
+
# @return [Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p1beta1VideoSegment]
|
|
2580
|
+
attr_accessor :segment
|
|
2581
|
+
|
|
2570
2582
|
# Time when the request was received.
|
|
2571
2583
|
# Corresponds to the JSON property `startTime`
|
|
2572
2584
|
# @return [String]
|
|
@@ -2583,8 +2595,10 @@ module Google
|
|
|
2583
2595
|
|
|
2584
2596
|
# Update properties of this object
|
|
2585
2597
|
def update!(**args)
|
|
2598
|
+
@feature = args[:feature] if args.key?(:feature)
|
|
2586
2599
|
@input_uri = args[:input_uri] if args.key?(:input_uri)
|
|
2587
2600
|
@progress_percent = args[:progress_percent] if args.key?(:progress_percent)
|
|
2601
|
+
@segment = args[:segment] if args.key?(:segment)
|
|
2588
2602
|
@start_time = args[:start_time] if args.key?(:start_time)
|
|
2589
2603
|
@update_time = args[:update_time] if args.key?(:update_time)
|
|
2590
2604
|
end
|
|
@@ -2596,43 +2610,10 @@ module Google
|
|
|
2596
2610
|
|
|
2597
2611
|
# The `Status` type defines a logical error model that is suitable for
|
|
2598
2612
|
# different programming environments, including REST APIs and RPC APIs. It is
|
|
2599
|
-
# used by [gRPC](https://github.com/grpc).
|
|
2600
|
-
#
|
|
2601
|
-
#
|
|
2602
|
-
#
|
|
2603
|
-
# The `Status` message contains three pieces of data: error code, error
|
|
2604
|
-
# message, and error details. The error code should be an enum value of
|
|
2605
|
-
# google.rpc.Code, but it may accept additional error codes if needed. The
|
|
2606
|
-
# error message should be a developer-facing English message that helps
|
|
2607
|
-
# developers *understand* and *resolve* the error. If a localized user-facing
|
|
2608
|
-
# error message is needed, put the localized message in the error details or
|
|
2609
|
-
# localize it in the client. The optional error details may contain arbitrary
|
|
2610
|
-
# information about the error. There is a predefined set of error detail types
|
|
2611
|
-
# in the package `google.rpc` that can be used for common error conditions.
|
|
2612
|
-
# # Language mapping
|
|
2613
|
-
# The `Status` message is the logical representation of the error model, but it
|
|
2614
|
-
# is not necessarily the actual wire format. When the `Status` message is
|
|
2615
|
-
# exposed in different client libraries and different wire protocols, it can be
|
|
2616
|
-
# mapped differently. For example, it will likely be mapped to some exceptions
|
|
2617
|
-
# in Java, but more likely mapped to some error codes in C.
|
|
2618
|
-
# # Other uses
|
|
2619
|
-
# The error model and the `Status` message can be used in a variety of
|
|
2620
|
-
# environments, either with or without APIs, to provide a
|
|
2621
|
-
# consistent developer experience across different environments.
|
|
2622
|
-
# Example uses of this error model include:
|
|
2623
|
-
# - Partial errors. If a service needs to return partial errors to the client,
|
|
2624
|
-
# it may embed the `Status` in the normal response to indicate the partial
|
|
2625
|
-
# errors.
|
|
2626
|
-
# - Workflow errors. A typical workflow has multiple steps. Each step may
|
|
2627
|
-
# have a `Status` message for error reporting.
|
|
2628
|
-
# - Batch operations. If a client uses batch request and batch response, the
|
|
2629
|
-
# `Status` message should be used directly inside batch response, one for
|
|
2630
|
-
# each error sub-response.
|
|
2631
|
-
# - Asynchronous operations. If an API call embeds asynchronous operation
|
|
2632
|
-
# results in its response, the status of those operations should be
|
|
2633
|
-
# represented directly using the `Status` message.
|
|
2634
|
-
# - Logging. If some API errors are stored in logs, the message `Status` could
|
|
2635
|
-
# be used directly after any stripping needed for security/privacy reasons.
|
|
2613
|
+
# used by [gRPC](https://github.com/grpc). Each `Status` message contains
|
|
2614
|
+
# three pieces of data: error code, error message, and error details.
|
|
2615
|
+
# You can find out more about this error model and how to work with it in the
|
|
2616
|
+
# [API Design Guide](https://cloud.google.com/apis/design/errors).
|
|
2636
2617
|
# Corresponds to the JSON property `error`
|
|
2637
2618
|
# @return [Google::Apis::VideointelligenceV1::GoogleRpcStatus]
|
|
2638
2619
|
attr_accessor :error
|
|
@@ -2661,7 +2642,7 @@ module Google
|
|
|
2661
2642
|
# @return [Array<Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p1beta1ObjectTrackingAnnotation>]
|
|
2662
2643
|
attr_accessor :object_annotations
|
|
2663
2644
|
|
|
2664
|
-
#
|
|
2645
|
+
# Topical label annotations on video level or user specified segment level.
|
|
2665
2646
|
# There is exactly one element for each unique label.
|
|
2666
2647
|
# Corresponds to the JSON property `segmentLabelAnnotations`
|
|
2667
2648
|
# @return [Array<Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p1beta1LabelAnnotation>]
|
|
@@ -2672,7 +2653,7 @@ module Google
|
|
|
2672
2653
|
# @return [Array<Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p1beta1VideoSegment>]
|
|
2673
2654
|
attr_accessor :shot_annotations
|
|
2674
2655
|
|
|
2675
|
-
#
|
|
2656
|
+
# Topical label annotations on shot level.
|
|
2676
2657
|
# There is exactly one element for each unique label.
|
|
2677
2658
|
# Corresponds to the JSON property `shotLabelAnnotations`
|
|
2678
2659
|
# @return [Array<Google::Apis::VideointelligenceV1::GoogleCloudVideointelligenceV1p1beta1LabelAnnotation>]
|
|
@@ -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::VideointelligenceV1::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::VideointelligenceV1::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::VideointelligenceV1::GoogleRpcStatus]
|
|
3440
3403
|
attr_accessor :error
|
|
@@ -3463,7 +3426,7 @@ module Google
|
|
|
3463
3426
|
# @return [Array<Google::Apis::VideointelligenceV1::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::VideointelligenceV1::GoogleCloudVideointelligenceV1p2beta1LabelAnnotation>]
|
|
@@ -3474,7 +3437,7 @@ module Google
|
|
|
3474
3437
|
# @return [Array<Google::Apis::VideointelligenceV1::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::VideointelligenceV1::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::VideointelligenceV1::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::VideointelligenceV1::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::VideointelligenceV1::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::VideointelligenceV1::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::VideointelligenceV1::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::VideointelligenceV1::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::VideointelligenceV1::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::VideointelligenceV1::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::VideointelligenceV1::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::VideointelligenceV1::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::VideointelligenceV1::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::VideointelligenceV1::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::VideointelligenceV1::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::VideointelligenceV1::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::VideointelligenceV1::GoogleCloudVideointelligenceV1p3beta1LabelAnnotation>]
|
|
@@ -4391,7 +4448,7 @@ module Google
|
|
|
4391
4448
|
# @return [Array<Google::Apis::VideointelligenceV1::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::VideointelligenceV1::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)
|
|
@@ -4567,43 +4625,10 @@ module Google
|
|
|
4567
4625
|
|
|
4568
4626
|
# The `Status` type defines a logical error model that is suitable for
|
|
4569
4627
|
# different programming environments, including REST APIs and RPC APIs. It is
|
|
4570
|
-
# used by [gRPC](https://github.com/grpc).
|
|
4571
|
-
#
|
|
4572
|
-
#
|
|
4573
|
-
#
|
|
4574
|
-
# The `Status` message contains three pieces of data: error code, error
|
|
4575
|
-
# message, and error details. The error code should be an enum value of
|
|
4576
|
-
# google.rpc.Code, but it may accept additional error codes if needed. The
|
|
4577
|
-
# error message should be a developer-facing English message that helps
|
|
4578
|
-
# developers *understand* and *resolve* the error. If a localized user-facing
|
|
4579
|
-
# error message is needed, put the localized message in the error details or
|
|
4580
|
-
# localize it in the client. The optional error details may contain arbitrary
|
|
4581
|
-
# information about the error. There is a predefined set of error detail types
|
|
4582
|
-
# in the package `google.rpc` that can be used for common error conditions.
|
|
4583
|
-
# # Language mapping
|
|
4584
|
-
# The `Status` message is the logical representation of the error model, but it
|
|
4585
|
-
# is not necessarily the actual wire format. When the `Status` message is
|
|
4586
|
-
# exposed in different client libraries and different wire protocols, it can be
|
|
4587
|
-
# mapped differently. For example, it will likely be mapped to some exceptions
|
|
4588
|
-
# in Java, but more likely mapped to some error codes in C.
|
|
4589
|
-
# # Other uses
|
|
4590
|
-
# The error model and the `Status` message can be used in a variety of
|
|
4591
|
-
# environments, either with or without APIs, to provide a
|
|
4592
|
-
# consistent developer experience across different environments.
|
|
4593
|
-
# Example uses of this error model include:
|
|
4594
|
-
# - Partial errors. If a service needs to return partial errors to the client,
|
|
4595
|
-
# it may embed the `Status` in the normal response to indicate the partial
|
|
4596
|
-
# errors.
|
|
4597
|
-
# - Workflow errors. A typical workflow has multiple steps. Each step may
|
|
4598
|
-
# have a `Status` message for error reporting.
|
|
4599
|
-
# - Batch operations. If a client uses batch request and batch response, the
|
|
4600
|
-
# `Status` message should be used directly inside batch response, one for
|
|
4601
|
-
# each error sub-response.
|
|
4602
|
-
# - Asynchronous operations. If an API call embeds asynchronous operation
|
|
4603
|
-
# results in its response, the status of those operations should be
|
|
4604
|
-
# represented directly using the `Status` message.
|
|
4605
|
-
# - Logging. If some API errors are stored in logs, the message `Status` could
|
|
4606
|
-
# be used directly after any stripping needed for security/privacy reasons.
|
|
4628
|
+
# used by [gRPC](https://github.com/grpc). Each `Status` message contains
|
|
4629
|
+
# three pieces of data: error code, error message, and error details.
|
|
4630
|
+
# You can find out more about this error model and how to work with it in the
|
|
4631
|
+
# [API Design Guide](https://cloud.google.com/apis/design/errors).
|
|
4607
4632
|
# Corresponds to the JSON property `error`
|
|
4608
4633
|
# @return [Google::Apis::VideointelligenceV1::GoogleRpcStatus]
|
|
4609
4634
|
attr_accessor :error
|
|
@@ -4618,7 +4643,7 @@ module Google
|
|
|
4618
4643
|
|
|
4619
4644
|
# The server-assigned name, which is only unique within the same service that
|
|
4620
4645
|
# originally returns it. If you use the default HTTP mapping, the
|
|
4621
|
-
# `name` should
|
|
4646
|
+
# `name` should be a resource name ending with `operations/`unique_id``.
|
|
4622
4647
|
# Corresponds to the JSON property `name`
|
|
4623
4648
|
# @return [String]
|
|
4624
4649
|
attr_accessor :name
|
|
@@ -4670,43 +4695,10 @@ module Google
|
|
|
4670
4695
|
|
|
4671
4696
|
# The `Status` type defines a logical error model that is suitable for
|
|
4672
4697
|
# different programming environments, including REST APIs and RPC APIs. It is
|
|
4673
|
-
# used by [gRPC](https://github.com/grpc).
|
|
4674
|
-
#
|
|
4675
|
-
#
|
|
4676
|
-
#
|
|
4677
|
-
# The `Status` message contains three pieces of data: error code, error
|
|
4678
|
-
# message, and error details. The error code should be an enum value of
|
|
4679
|
-
# google.rpc.Code, but it may accept additional error codes if needed. The
|
|
4680
|
-
# error message should be a developer-facing English message that helps
|
|
4681
|
-
# developers *understand* and *resolve* the error. If a localized user-facing
|
|
4682
|
-
# error message is needed, put the localized message in the error details or
|
|
4683
|
-
# localize it in the client. The optional error details may contain arbitrary
|
|
4684
|
-
# information about the error. There is a predefined set of error detail types
|
|
4685
|
-
# in the package `google.rpc` that can be used for common error conditions.
|
|
4686
|
-
# # Language mapping
|
|
4687
|
-
# The `Status` message is the logical representation of the error model, but it
|
|
4688
|
-
# is not necessarily the actual wire format. When the `Status` message is
|
|
4689
|
-
# exposed in different client libraries and different wire protocols, it can be
|
|
4690
|
-
# mapped differently. For example, it will likely be mapped to some exceptions
|
|
4691
|
-
# in Java, but more likely mapped to some error codes in C.
|
|
4692
|
-
# # Other uses
|
|
4693
|
-
# The error model and the `Status` message can be used in a variety of
|
|
4694
|
-
# environments, either with or without APIs, to provide a
|
|
4695
|
-
# consistent developer experience across different environments.
|
|
4696
|
-
# Example uses of this error model include:
|
|
4697
|
-
# - Partial errors. If a service needs to return partial errors to the client,
|
|
4698
|
-
# it may embed the `Status` in the normal response to indicate the partial
|
|
4699
|
-
# errors.
|
|
4700
|
-
# - Workflow errors. A typical workflow has multiple steps. Each step may
|
|
4701
|
-
# have a `Status` message for error reporting.
|
|
4702
|
-
# - Batch operations. If a client uses batch request and batch response, the
|
|
4703
|
-
# `Status` message should be used directly inside batch response, one for
|
|
4704
|
-
# each error sub-response.
|
|
4705
|
-
# - Asynchronous operations. If an API call embeds asynchronous operation
|
|
4706
|
-
# results in its response, the status of those operations should be
|
|
4707
|
-
# represented directly using the `Status` message.
|
|
4708
|
-
# - Logging. If some API errors are stored in logs, the message `Status` could
|
|
4709
|
-
# be used directly after any stripping needed for security/privacy reasons.
|
|
4698
|
+
# used by [gRPC](https://github.com/grpc). Each `Status` message contains
|
|
4699
|
+
# three pieces of data: error code, error message, and error details.
|
|
4700
|
+
# You can find out more about this error model and how to work with it in the
|
|
4701
|
+
# [API Design Guide](https://cloud.google.com/apis/design/errors).
|
|
4710
4702
|
class GoogleRpcStatus
|
|
4711
4703
|
include Google::Apis::Core::Hashable
|
|
4712
4704
|
|