google-api-client 0.30.3 → 0.30.4

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.
Files changed (110) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +43 -0
  3. data/generated/google/apis/admin_directory_v1/classes.rb +1 -1
  4. data/generated/google/apis/admin_reports_v1/classes.rb +1 -1
  5. data/generated/google/apis/bigquery_v2.rb +1 -1
  6. data/generated/google/apis/bigquery_v2/classes.rb +22 -7
  7. data/generated/google/apis/bigquery_v2/representations.rb +3 -0
  8. data/generated/google/apis/bigquery_v2/service.rb +4 -2
  9. data/generated/google/apis/calendar_v3.rb +1 -1
  10. data/generated/google/apis/calendar_v3/classes.rb +1 -1
  11. data/generated/google/apis/cloudasset_v1.rb +1 -1
  12. data/generated/google/apis/cloudasset_v1/classes.rb +345 -0
  13. data/generated/google/apis/cloudasset_v1/representations.rb +66 -0
  14. data/generated/google/apis/cloudbuild_v1.rb +1 -1
  15. data/generated/google/apis/cloudbuild_v1/classes.rb +1 -22
  16. data/generated/google/apis/cloudbuild_v1/representations.rb +0 -14
  17. data/generated/google/apis/cloudkms_v1.rb +1 -1
  18. data/generated/google/apis/cloudkms_v1/classes.rb +239 -1
  19. data/generated/google/apis/cloudkms_v1/representations.rb +71 -0
  20. data/generated/google/apis/cloudkms_v1/service.rb +215 -7
  21. data/generated/google/apis/cloudsearch_v1.rb +2 -2
  22. data/generated/google/apis/cloudsearch_v1/service.rb +1 -1
  23. data/generated/google/apis/compute_alpha.rb +1 -1
  24. data/generated/google/apis/compute_alpha/classes.rb +15 -13
  25. data/generated/google/apis/compute_alpha/service.rb +3 -2
  26. data/generated/google/apis/compute_beta.rb +1 -1
  27. data/generated/google/apis/compute_beta/classes.rb +15 -13
  28. data/generated/google/apis/compute_beta/service.rb +2 -1
  29. data/generated/google/apis/compute_v1.rb +1 -1
  30. data/generated/google/apis/compute_v1/classes.rb +15 -13
  31. data/generated/google/apis/compute_v1/service.rb +2 -1
  32. data/generated/google/apis/containeranalysis_v1alpha1.rb +1 -1
  33. data/generated/google/apis/dialogflow_v2.rb +1 -1
  34. data/generated/google/apis/dialogflow_v2/classes.rb +16 -0
  35. data/generated/google/apis/dialogflow_v2/representations.rb +1 -0
  36. data/generated/google/apis/dialogflow_v2beta1.rb +1 -1
  37. data/generated/google/apis/dialogflow_v2beta1/classes.rb +16 -0
  38. data/generated/google/apis/dialogflow_v2beta1/representations.rb +1 -0
  39. data/generated/google/apis/dialogflow_v2beta1/service.rb +2 -2
  40. data/generated/google/apis/dns_v1.rb +1 -1
  41. data/generated/google/apis/dns_v1/classes.rb +2 -2
  42. data/generated/google/apis/dns_v1/service.rb +1 -1
  43. data/generated/google/apis/dns_v1beta2.rb +1 -1
  44. data/generated/google/apis/dns_v1beta2/classes.rb +6 -7
  45. data/generated/google/apis/dns_v2beta1.rb +1 -1
  46. data/generated/google/apis/dns_v2beta1/classes.rb +2 -2
  47. data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
  48. data/generated/google/apis/drive_v2.rb +1 -1
  49. data/generated/google/apis/drive_v2/classes.rb +1 -1
  50. data/generated/google/apis/drive_v2/service.rb +1 -1
  51. data/generated/google/apis/drive_v3.rb +1 -1
  52. data/generated/google/apis/drive_v3/classes.rb +1 -1
  53. data/generated/google/apis/drive_v3/service.rb +1 -1
  54. data/generated/google/apis/fcm_v1.rb +1 -1
  55. data/generated/google/apis/fcm_v1/classes.rb +3 -3
  56. data/generated/google/apis/firebase_v1beta1.rb +1 -1
  57. data/generated/google/apis/firebase_v1beta1/classes.rb +117 -24
  58. data/generated/google/apis/firebase_v1beta1/representations.rb +41 -0
  59. data/generated/google/apis/firebase_v1beta1/service.rb +139 -0
  60. data/generated/google/apis/genomics_v2alpha1.rb +1 -1
  61. data/generated/google/apis/genomics_v2alpha1/classes.rb +1 -0
  62. data/generated/google/apis/healthcare_v1alpha2.rb +1 -1
  63. data/generated/google/apis/healthcare_v1alpha2/classes.rb +28 -0
  64. data/generated/google/apis/healthcare_v1alpha2/representations.rb +15 -0
  65. data/generated/google/apis/healthcare_v1alpha2/service.rb +35 -5
  66. data/generated/google/apis/healthcare_v1beta1.rb +1 -1
  67. data/generated/google/apis/healthcare_v1beta1/service.rb +28 -4
  68. data/generated/google/apis/jobs_v3.rb +1 -1
  69. data/generated/google/apis/jobs_v3/classes.rb +10 -10
  70. data/generated/google/apis/jobs_v3p1beta1.rb +1 -1
  71. data/generated/google/apis/jobs_v3p1beta1/classes.rb +34 -98
  72. data/generated/google/apis/monitoring_v3.rb +1 -1
  73. data/generated/google/apis/monitoring_v3/classes.rb +30 -12
  74. data/generated/google/apis/pubsub_v1.rb +1 -1
  75. data/generated/google/apis/pubsub_v1/classes.rb +6 -10
  76. data/generated/google/apis/redis_v1.rb +1 -1
  77. data/generated/google/apis/redis_v1/classes.rb +8 -1
  78. data/generated/google/apis/redis_v1beta1.rb +1 -1
  79. data/generated/google/apis/redis_v1beta1/classes.rb +22 -2
  80. data/generated/google/apis/redis_v1beta1/representations.rb +13 -0
  81. data/generated/google/apis/redis_v1beta1/service.rb +36 -0
  82. data/generated/google/apis/run_v1alpha1.rb +1 -1
  83. data/generated/google/apis/run_v1alpha1/classes.rb +32 -4
  84. data/generated/google/apis/run_v1alpha1/representations.rb +3 -0
  85. data/generated/google/apis/sourcerepo_v1.rb +1 -1
  86. data/generated/google/apis/sourcerepo_v1/classes.rb +48 -75
  87. data/generated/google/apis/sourcerepo_v1/representations.rb +16 -0
  88. data/generated/google/apis/speech_v1.rb +1 -1
  89. data/generated/google/apis/speech_v1/service.rb +0 -32
  90. data/generated/google/apis/speech_v1p1beta1.rb +1 -1
  91. data/generated/google/apis/speech_v1p1beta1/service.rb +0 -32
  92. data/generated/google/apis/storage_v1.rb +1 -1
  93. data/generated/google/apis/storage_v1/classes.rb +41 -6
  94. data/generated/google/apis/storage_v1/representations.rb +17 -0
  95. data/generated/google/apis/storage_v1beta2.rb +1 -1
  96. data/generated/google/apis/storage_v1beta2/classes.rb +1 -1
  97. data/generated/google/apis/texttospeech_v1.rb +1 -1
  98. data/generated/google/apis/texttospeech_v1/classes.rb +3 -3
  99. data/generated/google/apis/texttospeech_v1beta1.rb +1 -1
  100. data/generated/google/apis/texttospeech_v1beta1/classes.rb +3 -3
  101. data/generated/google/apis/vault_v1.rb +1 -1
  102. data/generated/google/apis/vault_v1/classes.rb +8 -74
  103. data/generated/google/apis/videointelligence_v1beta2.rb +1 -1
  104. data/generated/google/apis/videointelligence_v1beta2/classes.rb +45 -35
  105. data/generated/google/apis/websecurityscanner_v1.rb +31 -0
  106. data/generated/google/apis/websecurityscanner_v1/classes.rb +26 -0
  107. data/generated/google/apis/websecurityscanner_v1/representations.rb +26 -0
  108. data/generated/google/apis/websecurityscanner_v1/service.rb +59 -0
  109. data/lib/google/apis/version.rb +1 -1
  110. metadata +6 -2
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://developers.google.com/storage/docs/json_api/
26
26
  module StorageV1
27
27
  VERSION = 'V1'
28
- REVISION = '20190523'
28
+ REVISION = '20190624'
29
29
 
30
30
  # View and manage your data across Google Cloud Platform services
31
31
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -312,6 +312,11 @@ module Google
312
312
  # @return [Google::Apis::StorageV1::Bucket::IamConfiguration::BucketPolicyOnly]
313
313
  attr_accessor :bucket_policy_only
314
314
 
315
+ # The bucket's uniform bucket-level access configuration.
316
+ # Corresponds to the JSON property `uniformBucketLevelAccess`
317
+ # @return [Google::Apis::StorageV1::Bucket::IamConfiguration::UniformBucketLevelAccess]
318
+ attr_accessor :uniform_bucket_level_access
319
+
315
320
  def initialize(**args)
316
321
  update!(**args)
317
322
  end
@@ -319,22 +324,52 @@ module Google
319
324
  # Update properties of this object
320
325
  def update!(**args)
321
326
  @bucket_policy_only = args[:bucket_policy_only] if args.key?(:bucket_policy_only)
327
+ @uniform_bucket_level_access = args[:uniform_bucket_level_access] if args.key?(:uniform_bucket_level_access)
322
328
  end
323
329
 
324
330
  # The bucket's Bucket Policy Only configuration.
325
331
  class BucketPolicyOnly
326
332
  include Google::Apis::Core::Hashable
327
333
 
328
- # If set, access checks only use bucket-level IAM policies or above.
334
+ # If set, access is controlled only by bucket-level or above IAM policies.
335
+ # Corresponds to the JSON property `enabled`
336
+ # @return [Boolean]
337
+ attr_accessor :enabled
338
+ alias_method :enabled?, :enabled
339
+
340
+ # The deadline for changing iamConfiguration.bucketPolicyOnly.enabled from true
341
+ # to false in RFC 3339 format. iamConfiguration.bucketPolicyOnly.enabled may be
342
+ # changed from true to false until the locked time, after which the field is
343
+ # immutable.
344
+ # Corresponds to the JSON property `lockedTime`
345
+ # @return [DateTime]
346
+ attr_accessor :locked_time
347
+
348
+ def initialize(**args)
349
+ update!(**args)
350
+ end
351
+
352
+ # Update properties of this object
353
+ def update!(**args)
354
+ @enabled = args[:enabled] if args.key?(:enabled)
355
+ @locked_time = args[:locked_time] if args.key?(:locked_time)
356
+ end
357
+ end
358
+
359
+ # The bucket's uniform bucket-level access configuration.
360
+ class UniformBucketLevelAccess
361
+ include Google::Apis::Core::Hashable
362
+
363
+ # If set, access is controlled only by bucket-level or above IAM policies.
329
364
  # Corresponds to the JSON property `enabled`
330
365
  # @return [Boolean]
331
366
  attr_accessor :enabled
332
367
  alias_method :enabled?, :enabled
333
368
 
334
- # The deadline time for changing iamConfiguration.bucketPolicyOnly.enabled from
335
- # true to false in RFC 3339 format. iamConfiguration.bucketPolicyOnly.enabled
336
- # may be changed from true to false until the locked time, after which the field
337
- # is immutable.
369
+ # The deadline for changing iamConfiguration.uniformBucketLevelAccess.enabled
370
+ # from true to false in RFC 3339 format. iamConfiguration.
371
+ # uniformBucketLevelAccess.enabled may be changed from true to false until the
372
+ # locked time, after which the field is immutable.
338
373
  # Corresponds to the JSON property `lockedTime`
339
374
  # @return [DateTime]
340
375
  attr_accessor :locked_time
@@ -828,7 +863,7 @@ module Google
828
863
  attr_accessor :id
829
864
 
830
865
  # Identifies this as a notification channel used to watch for changes to a
831
- # resource. Value: the fixed string "api#channel".
866
+ # resource, which is "api#channel".
832
867
  # Corresponds to the JSON property `kind`
833
868
  # @return [String]
834
869
  attr_accessor :kind
@@ -51,6 +51,12 @@ module Google
51
51
 
52
52
  include Google::Apis::Core::JsonObjectSupport
53
53
  end
54
+
55
+ class UniformBucketLevelAccess
56
+ class Representation < Google::Apis::Core::JsonRepresentation; end
57
+
58
+ include Google::Apis::Core::JsonObjectSupport
59
+ end
54
60
 
55
61
  include Google::Apis::Core::JsonObjectSupport
56
62
  end
@@ -342,6 +348,8 @@ module Google
342
348
  class Representation < Google::Apis::Core::JsonRepresentation
343
349
  property :bucket_policy_only, as: 'bucketPolicyOnly', class: Google::Apis::StorageV1::Bucket::IamConfiguration::BucketPolicyOnly, decorator: Google::Apis::StorageV1::Bucket::IamConfiguration::BucketPolicyOnly::Representation
344
350
 
351
+ property :uniform_bucket_level_access, as: 'uniformBucketLevelAccess', class: Google::Apis::StorageV1::Bucket::IamConfiguration::UniformBucketLevelAccess, decorator: Google::Apis::StorageV1::Bucket::IamConfiguration::UniformBucketLevelAccess::Representation
352
+
345
353
  end
346
354
 
347
355
  class BucketPolicyOnly
@@ -352,6 +360,15 @@ module Google
352
360
 
353
361
  end
354
362
  end
363
+
364
+ class UniformBucketLevelAccess
365
+ # @private
366
+ class Representation < Google::Apis::Core::JsonRepresentation
367
+ property :enabled, as: 'enabled'
368
+ property :locked_time, as: 'lockedTime', type: DateTime
369
+
370
+ end
371
+ end
355
372
  end
356
373
 
357
374
  class Lifecycle
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://developers.google.com/storage/docs/json_api/
26
26
  module StorageV1beta2
27
27
  VERSION = 'V1beta2'
28
- REVISION = '20180905'
28
+ REVISION = '20190620'
29
29
 
30
30
  # Manage your data and permissions in Google Cloud Storage
31
31
  AUTH_DEVSTORAGE_FULL_CONTROL = 'https://www.googleapis.com/auth/devstorage.full_control'
@@ -556,7 +556,7 @@ module Google
556
556
  attr_accessor :id
557
557
 
558
558
  # Identifies this as a notification channel used to watch for changes to a
559
- # resource. Value: the fixed string "api#channel".
559
+ # resource, which is "api#channel".
560
560
  # Corresponds to the JSON property `kind`
561
561
  # @return [String]
562
562
  attr_accessor :kind
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://cloud.google.com/text-to-speech/
26
26
  module TexttospeechV1
27
27
  VERSION = 'V1'
28
- REVISION = '20190614'
28
+ REVISION = '20190621'
29
29
 
30
30
  # View and manage your data across Google Cloud Platform services
31
31
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -34,9 +34,9 @@ module Google
34
34
  # Input only. Optional. An identifier which selects 'audio effects' profiles
35
35
  # that are applied on (post synthesized) text to speech. Effects are applied
36
36
  # on top of each other in the order they are given. See
37
- # [audio-profiles](https:
38
- # //cloud.google.com/text-to-speech/docs/audio-profiles)
39
- # for current supported profile ids.
37
+ # [audio
38
+ # profiles](https://cloud.google.com/text-to-speech/docs/audio-profiles) for
39
+ # current supported profile ids.
40
40
  # Corresponds to the JSON property `effectsProfileId`
41
41
  # @return [Array<String>]
42
42
  attr_accessor :effects_profile_id
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://cloud.google.com/text-to-speech/
26
26
  module TexttospeechV1beta1
27
27
  VERSION = 'V1beta1'
28
- REVISION = '20190614'
28
+ REVISION = '20190621'
29
29
 
30
30
  # View and manage your data across Google Cloud Platform services
31
31
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -34,9 +34,9 @@ module Google
34
34
  # Input only. Optional. An identifier which selects 'audio effects' profiles
35
35
  # that are applied on (post synthesized) text to speech. Effects are applied
36
36
  # on top of each other in the order they are given. See
37
- # [audio-profiles](https:
38
- # //cloud.google.com/text-to-speech/docs/audio-profiles)
39
- # for current supported profile ids.
37
+ # [audio
38
+ # profiles](https://cloud.google.com/text-to-speech/docs/audio-profiles) for
39
+ # current supported profile ids.
40
40
  # Corresponds to the JSON property `effectsProfileId`
41
41
  # @return [Array<String>]
42
42
  attr_accessor :effects_profile_id
@@ -25,7 +25,7 @@ module Google
25
25
  # @see https://developers.google.com/vault
26
26
  module VaultV1
27
27
  VERSION = 'V1'
28
- REVISION = '20190610'
28
+ REVISION = '20190614'
29
29
 
30
30
  # Manage your eDiscovery data
31
31
  AUTH_EDISCOVERY = 'https://www.googleapis.com/auth/ediscovery'
@@ -54,43 +54,10 @@ module Google
54
54
 
55
55
  # The `Status` type defines a logical error model that is suitable for
56
56
  # different programming environments, including REST APIs and RPC APIs. It is
57
- # used by [gRPC](https://github.com/grpc). The error model is designed to be:
58
- # - Simple to use and understand for most users
59
- # - Flexible enough to meet unexpected needs
60
- # # Overview
61
- # The `Status` message contains three pieces of data: error code, error
62
- # message, and error details. The error code should be an enum value of
63
- # google.rpc.Code, but it may accept additional error codes if needed. The
64
- # error message should be a developer-facing English message that helps
65
- # developers *understand* and *resolve* the error. If a localized user-facing
66
- # error message is needed, put the localized message in the error details or
67
- # localize it in the client. The optional error details may contain arbitrary
68
- # information about the error. There is a predefined set of error detail types
69
- # in the package `google.rpc` that can be used for common error conditions.
70
- # # Language mapping
71
- # The `Status` message is the logical representation of the error model, but it
72
- # is not necessarily the actual wire format. When the `Status` message is
73
- # exposed in different client libraries and different wire protocols, it can be
74
- # mapped differently. For example, it will likely be mapped to some exceptions
75
- # in Java, but more likely mapped to some error codes in C.
76
- # # Other uses
77
- # The error model and the `Status` message can be used in a variety of
78
- # environments, either with or without APIs, to provide a
79
- # consistent developer experience across different environments.
80
- # Example uses of this error model include:
81
- # - Partial errors. If a service needs to return partial errors to the client,
82
- # it may embed the `Status` in the normal response to indicate the partial
83
- # errors.
84
- # - Workflow errors. A typical workflow has multiple steps. Each step may
85
- # have a `Status` message for error reporting.
86
- # - Batch operations. If a client uses batch request and batch response, the
87
- # `Status` message should be used directly inside batch response, one for
88
- # each error sub-response.
89
- # - Asynchronous operations. If an API call embeds asynchronous operation
90
- # results in its response, the status of those operations should be
91
- # represented directly using the `Status` message.
92
- # - Logging. If some API errors are stored in logs, the message `Status` could
93
- # be used directly after any stripping needed for security/privacy reasons.
57
+ # used by [gRPC](https://github.com/grpc). Each `Status` message contains
58
+ # three pieces of data: error code, error message, and error details.
59
+ # You can find out more about this error model and how to work with it in the
60
+ # [API Design Guide](https://cloud.google.com/apis/design/errors).
94
61
  # Corresponds to the JSON property `status`
95
62
  # @return [Google::Apis::VaultV1::Status]
96
63
  attr_accessor :status
@@ -1404,43 +1371,10 @@ module Google
1404
1371
 
1405
1372
  # The `Status` type defines a logical error model that is suitable for
1406
1373
  # different programming environments, including REST APIs and RPC APIs. It is
1407
- # used by [gRPC](https://github.com/grpc). The error model is designed to be:
1408
- # - Simple to use and understand for most users
1409
- # - Flexible enough to meet unexpected needs
1410
- # # Overview
1411
- # The `Status` message contains three pieces of data: error code, error
1412
- # message, and error details. The error code should be an enum value of
1413
- # google.rpc.Code, but it may accept additional error codes if needed. The
1414
- # error message should be a developer-facing English message that helps
1415
- # developers *understand* and *resolve* the error. If a localized user-facing
1416
- # error message is needed, put the localized message in the error details or
1417
- # localize it in the client. The optional error details may contain arbitrary
1418
- # information about the error. There is a predefined set of error detail types
1419
- # in the package `google.rpc` that can be used for common error conditions.
1420
- # # Language mapping
1421
- # The `Status` message is the logical representation of the error model, but it
1422
- # is not necessarily the actual wire format. When the `Status` message is
1423
- # exposed in different client libraries and different wire protocols, it can be
1424
- # mapped differently. For example, it will likely be mapped to some exceptions
1425
- # in Java, but more likely mapped to some error codes in C.
1426
- # # Other uses
1427
- # The error model and the `Status` message can be used in a variety of
1428
- # environments, either with or without APIs, to provide a
1429
- # consistent developer experience across different environments.
1430
- # Example uses of this error model include:
1431
- # - Partial errors. If a service needs to return partial errors to the client,
1432
- # it may embed the `Status` in the normal response to indicate the partial
1433
- # errors.
1434
- # - Workflow errors. A typical workflow has multiple steps. Each step may
1435
- # have a `Status` message for error reporting.
1436
- # - Batch operations. If a client uses batch request and batch response, the
1437
- # `Status` message should be used directly inside batch response, one for
1438
- # each error sub-response.
1439
- # - Asynchronous operations. If an API call embeds asynchronous operation
1440
- # results in its response, the status of those operations should be
1441
- # represented directly using the `Status` message.
1442
- # - Logging. If some API errors are stored in logs, the message `Status` could
1443
- # be used directly after any stripping needed for security/privacy reasons.
1374
+ # used by [gRPC](https://github.com/grpc). Each `Status` message contains
1375
+ # three pieces of data: error code, error message, and error details.
1376
+ # You can find out more about this error model and how to work with it in the
1377
+ # [API Design Guide](https://cloud.google.com/apis/design/errors).
1444
1378
  class Status
1445
1379
  include Google::Apis::Core::Hashable
1446
1380
 
@@ -27,7 +27,7 @@ module Google
27
27
  # @see https://cloud.google.com/video-intelligence/docs/
28
28
  module VideointelligenceV1beta2
29
29
  VERSION = 'V1beta2'
30
- REVISION = '20190603'
30
+ REVISION = '20190618'
31
31
 
32
32
  # View and manage your data across Google Cloud Platform services
33
33
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -417,11 +417,11 @@ module Google
417
417
  class GoogleCloudVideointelligenceV1SpeechRecognitionAlternative
418
418
  include Google::Apis::Core::Hashable
419
419
 
420
- # The confidence estimate between 0.0 and 1.0. A higher number
420
+ # Output only. The confidence estimate between 0.0 and 1.0. A higher number
421
421
  # indicates an estimated greater likelihood that the recognized words are
422
- # correct. This field is typically provided only for the top hypothesis, and
423
- # only for `is_final=true` results. Clients should not rely on the
424
- # `confidence` field as it is not guaranteed to be accurate or consistent.
422
+ # correct. This field is set only for the top alternative.
423
+ # This field is not guaranteed to be accurate and users should not rely on it
424
+ # to be always provided.
425
425
  # The default of 0.0 is a sentinel value indicating `confidence` was not set.
426
426
  # Corresponds to the JSON property `confidence`
427
427
  # @return [Float]
@@ -432,7 +432,9 @@ module Google
432
432
  # @return [String]
433
433
  attr_accessor :transcript
434
434
 
435
- # A list of word-specific information for each recognized word.
435
+ # Output only. A list of word-specific information for each recognized word.
436
+ # Note: When `enable_speaker_diarization` is true, you will see all the words
437
+ # from the beginning of the audio.
436
438
  # Corresponds to the JSON property `words`
437
439
  # @return [Array<Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1WordInfo>]
438
440
  attr_accessor :words
@@ -670,7 +672,7 @@ module Google
670
672
  # @return [Array<Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1ObjectTrackingAnnotation>]
671
673
  attr_accessor :object_annotations
672
674
 
673
- # Label annotations on video level or user specified segment level.
675
+ # Topical label annotations on video level or user specified segment level.
674
676
  # There is exactly one element for each unique label.
675
677
  # Corresponds to the JSON property `segmentLabelAnnotations`
676
678
  # @return [Array<Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1LabelAnnotation>]
@@ -681,7 +683,7 @@ module Google
681
683
  # @return [Array<Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1VideoSegment>]
682
684
  attr_accessor :shot_annotations
683
685
 
684
- # Label annotations on shot level.
686
+ # Topical label annotations on shot level.
685
687
  # There is exactly one element for each unique label.
686
688
  # Corresponds to the JSON property `shotLabelAnnotations`
687
689
  # @return [Array<Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1LabelAnnotation>]
@@ -1415,11 +1417,11 @@ module Google
1415
1417
  class GoogleCloudVideointelligenceV1beta2SpeechRecognitionAlternative
1416
1418
  include Google::Apis::Core::Hashable
1417
1419
 
1418
- # The confidence estimate between 0.0 and 1.0. A higher number
1420
+ # Output only. The confidence estimate between 0.0 and 1.0. A higher number
1419
1421
  # indicates an estimated greater likelihood that the recognized words are
1420
- # correct. This field is typically provided only for the top hypothesis, and
1421
- # only for `is_final=true` results. Clients should not rely on the
1422
- # `confidence` field as it is not guaranteed to be accurate or consistent.
1422
+ # correct. This field is set only for the top alternative.
1423
+ # This field is not guaranteed to be accurate and users should not rely on it
1424
+ # to be always provided.
1423
1425
  # The default of 0.0 is a sentinel value indicating `confidence` was not set.
1424
1426
  # Corresponds to the JSON property `confidence`
1425
1427
  # @return [Float]
@@ -1430,7 +1432,9 @@ module Google
1430
1432
  # @return [String]
1431
1433
  attr_accessor :transcript
1432
1434
 
1433
- # A list of word-specific information for each recognized word.
1435
+ # Output only. A list of word-specific information for each recognized word.
1436
+ # Note: When `enable_speaker_diarization` is true, you will see all the words
1437
+ # from the beginning of the audio.
1434
1438
  # Corresponds to the JSON property `words`
1435
1439
  # @return [Array<Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1beta2WordInfo>]
1436
1440
  attr_accessor :words
@@ -1797,7 +1801,7 @@ module Google
1797
1801
  # @return [Array<Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1beta2ObjectTrackingAnnotation>]
1798
1802
  attr_accessor :object_annotations
1799
1803
 
1800
- # Label annotations on video level or user specified segment level.
1804
+ # Topical label annotations on video level or user specified segment level.
1801
1805
  # There is exactly one element for each unique label.
1802
1806
  # Corresponds to the JSON property `segmentLabelAnnotations`
1803
1807
  # @return [Array<Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1beta2LabelAnnotation>]
@@ -1808,7 +1812,7 @@ module Google
1808
1812
  # @return [Array<Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1beta2VideoSegment>]
1809
1813
  attr_accessor :shot_annotations
1810
1814
 
1811
- # Label annotations on shot level.
1815
+ # Topical label annotations on shot level.
1812
1816
  # There is exactly one element for each unique label.
1813
1817
  # Corresponds to the JSON property `shotLabelAnnotations`
1814
1818
  # @return [Array<Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1beta2LabelAnnotation>]
@@ -2383,11 +2387,11 @@ module Google
2383
2387
  class GoogleCloudVideointelligenceV1p1beta1SpeechRecognitionAlternative
2384
2388
  include Google::Apis::Core::Hashable
2385
2389
 
2386
- # 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
2387
2391
  # indicates an estimated greater likelihood that the recognized words are
2388
- # correct. This field is typically provided only for the top hypothesis, and
2389
- # only for `is_final=true` results. Clients should not rely on the
2390
- # `confidence` field as it is not guaranteed to be accurate or consistent.
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.
2391
2395
  # The default of 0.0 is a sentinel value indicating `confidence` was not set.
2392
2396
  # Corresponds to the JSON property `confidence`
2393
2397
  # @return [Float]
@@ -2398,7 +2402,9 @@ module Google
2398
2402
  # @return [String]
2399
2403
  attr_accessor :transcript
2400
2404
 
2401
- # 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.
2402
2408
  # Corresponds to the JSON property `words`
2403
2409
  # @return [Array<Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p1beta1WordInfo>]
2404
2410
  attr_accessor :words
@@ -2636,7 +2642,7 @@ module Google
2636
2642
  # @return [Array<Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p1beta1ObjectTrackingAnnotation>]
2637
2643
  attr_accessor :object_annotations
2638
2644
 
2639
- # Label annotations on video level or user specified segment level.
2645
+ # Topical label annotations on video level or user specified segment level.
2640
2646
  # There is exactly one element for each unique label.
2641
2647
  # Corresponds to the JSON property `segmentLabelAnnotations`
2642
2648
  # @return [Array<Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p1beta1LabelAnnotation>]
@@ -2647,7 +2653,7 @@ module Google
2647
2653
  # @return [Array<Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p1beta1VideoSegment>]
2648
2654
  attr_accessor :shot_annotations
2649
2655
 
2650
- # Label annotations on shot level.
2656
+ # Topical label annotations on shot level.
2651
2657
  # There is exactly one element for each unique label.
2652
2658
  # Corresponds to the JSON property `shotLabelAnnotations`
2653
2659
  # @return [Array<Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p1beta1LabelAnnotation>]
@@ -3165,11 +3171,11 @@ module Google
3165
3171
  class GoogleCloudVideointelligenceV1p2beta1SpeechRecognitionAlternative
3166
3172
  include Google::Apis::Core::Hashable
3167
3173
 
3168
- # 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
3169
3175
  # indicates an estimated greater likelihood that the recognized words are
3170
- # correct. This field is typically provided only for the top hypothesis, and
3171
- # only for `is_final=true` results. Clients should not rely on the
3172
- # `confidence` field as it is not guaranteed to be accurate or consistent.
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.
3173
3179
  # The default of 0.0 is a sentinel value indicating `confidence` was not set.
3174
3180
  # Corresponds to the JSON property `confidence`
3175
3181
  # @return [Float]
@@ -3180,7 +3186,9 @@ module Google
3180
3186
  # @return [String]
3181
3187
  attr_accessor :transcript
3182
3188
 
3183
- # 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.
3184
3192
  # Corresponds to the JSON property `words`
3185
3193
  # @return [Array<Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p2beta1WordInfo>]
3186
3194
  attr_accessor :words
@@ -3418,7 +3426,7 @@ module Google
3418
3426
  # @return [Array<Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p2beta1ObjectTrackingAnnotation>]
3419
3427
  attr_accessor :object_annotations
3420
3428
 
3421
- # Label annotations on video level or user specified segment level.
3429
+ # Topical label annotations on video level or user specified segment level.
3422
3430
  # There is exactly one element for each unique label.
3423
3431
  # Corresponds to the JSON property `segmentLabelAnnotations`
3424
3432
  # @return [Array<Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p2beta1LabelAnnotation>]
@@ -3429,7 +3437,7 @@ module Google
3429
3437
  # @return [Array<Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p2beta1VideoSegment>]
3430
3438
  attr_accessor :shot_annotations
3431
3439
 
3432
- # Label annotations on shot level.
3440
+ # Topical label annotations on shot level.
3433
3441
  # There is exactly one element for each unique label.
3434
3442
  # Corresponds to the JSON property `shotLabelAnnotations`
3435
3443
  # @return [Array<Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p2beta1LabelAnnotation>]
@@ -4013,11 +4021,11 @@ module Google
4013
4021
  class GoogleCloudVideointelligenceV1p3beta1SpeechRecognitionAlternative
4014
4022
  include Google::Apis::Core::Hashable
4015
4023
 
4016
- # 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
4017
4025
  # indicates an estimated greater likelihood that the recognized words are
4018
- # correct. This field is typically provided only for the top hypothesis, and
4019
- # only for `is_final=true` results. Clients should not rely on the
4020
- # `confidence` field as it is not guaranteed to be accurate or consistent.
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.
4021
4029
  # The default of 0.0 is a sentinel value indicating `confidence` was not set.
4022
4030
  # Corresponds to the JSON property `confidence`
4023
4031
  # @return [Float]
@@ -4028,7 +4036,9 @@ module Google
4028
4036
  # @return [String]
4029
4037
  attr_accessor :transcript
4030
4038
 
4031
- # 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.
4032
4042
  # Corresponds to the JSON property `words`
4033
4043
  # @return [Array<Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p3beta1WordInfo>]
4034
4044
  attr_accessor :words
@@ -4427,7 +4437,7 @@ module Google
4427
4437
  # @return [Array<Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p3beta1ObjectTrackingAnnotation>]
4428
4438
  attr_accessor :object_annotations
4429
4439
 
4430
- # Label annotations on video level or user specified segment level.
4440
+ # Topical label annotations on video level or user specified segment level.
4431
4441
  # There is exactly one element for each unique label.
4432
4442
  # Corresponds to the JSON property `segmentLabelAnnotations`
4433
4443
  # @return [Array<Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p3beta1LabelAnnotation>]
@@ -4438,7 +4448,7 @@ module Google
4438
4448
  # @return [Array<Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p3beta1VideoSegment>]
4439
4449
  attr_accessor :shot_annotations
4440
4450
 
4441
- # Label annotations on shot level.
4451
+ # Topical label annotations on shot level.
4442
4452
  # There is exactly one element for each unique label.
4443
4453
  # Corresponds to the JSON property `shotLabelAnnotations`
4444
4454
  # @return [Array<Google::Apis::VideointelligenceV1beta2::GoogleCloudVideointelligenceV1p3beta1LabelAnnotation>]