google-api-client 0.33.0 → 0.33.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (95) hide show
  1. checksums.yaml +4 -4
  2. data/CHANGELOG.md +35 -0
  3. data/generated/google/apis/accessapproval_v1beta1.rb +1 -1
  4. data/generated/google/apis/accessapproval_v1beta1/classes.rb +19 -0
  5. data/generated/google/apis/accessapproval_v1beta1/representations.rb +12 -0
  6. data/generated/google/apis/accessapproval_v1beta1/service.rb +105 -0
  7. data/generated/google/apis/accesscontextmanager_v1.rb +1 -1
  8. data/generated/google/apis/accesscontextmanager_v1/classes.rb +1 -1
  9. data/generated/google/apis/accesscontextmanager_v1beta.rb +1 -1
  10. data/generated/google/apis/accesscontextmanager_v1beta/classes.rb +1 -1
  11. data/generated/google/apis/adexchangebuyer2_v2beta1.rb +1 -1
  12. data/generated/google/apis/androidpublisher_v3.rb +1 -1
  13. data/generated/google/apis/androidpublisher_v3/classes.rb +6 -0
  14. data/generated/google/apis/androidpublisher_v3/representations.rb +1 -0
  15. data/generated/google/apis/bigquery_v2.rb +1 -1
  16. data/generated/google/apis/bigquery_v2/classes.rb +6 -0
  17. data/generated/google/apis/bigquery_v2/representations.rb +2 -0
  18. data/generated/google/apis/bigqueryconnection_v1beta1.rb +1 -1
  19. data/generated/google/apis/bigqueryconnection_v1beta1/service.rb +1 -1
  20. data/generated/google/apis/binaryauthorization_v1.rb +1 -1
  21. data/generated/google/apis/binaryauthorization_v1/service.rb +2 -0
  22. data/generated/google/apis/binaryauthorization_v1beta1.rb +1 -1
  23. data/generated/google/apis/binaryauthorization_v1beta1/service.rb +2 -0
  24. data/generated/google/apis/cloudasset_v1.rb +1 -1
  25. data/generated/google/apis/cloudasset_v1/classes.rb +14 -15
  26. data/generated/google/apis/cloudasset_v1/service.rb +1 -2
  27. data/generated/google/apis/clouddebugger_v2.rb +1 -1
  28. data/generated/google/apis/clouddebugger_v2/service.rb +14 -14
  29. data/generated/google/apis/cloudidentity_v1.rb +1 -1
  30. data/generated/google/apis/cloudidentity_v1/classes.rb +11 -8
  31. data/generated/google/apis/cloudidentity_v1/service.rb +2 -1
  32. data/generated/google/apis/cloudidentity_v1beta1.rb +1 -1
  33. data/generated/google/apis/cloudidentity_v1beta1/classes.rb +11 -8
  34. data/generated/google/apis/cloudidentity_v1beta1/service.rb +2 -1
  35. data/generated/google/apis/cloudsearch_v1.rb +1 -1
  36. data/generated/google/apis/cloudsearch_v1/classes.rb +5 -2
  37. data/generated/google/apis/cloudsearch_v1/service.rb +5 -2
  38. data/generated/google/apis/cloudshell_v1.rb +1 -1
  39. data/generated/google/apis/cloudshell_v1/classes.rb +15 -0
  40. data/generated/google/apis/cloudshell_v1/representations.rb +2 -0
  41. data/generated/google/apis/cloudshell_v1alpha1.rb +1 -1
  42. data/generated/google/apis/cloudshell_v1alpha1/classes.rb +15 -0
  43. data/generated/google/apis/cloudshell_v1alpha1/representations.rb +2 -0
  44. data/generated/google/apis/compute_alpha.rb +1 -1
  45. data/generated/google/apis/compute_alpha/classes.rb +481 -126
  46. data/generated/google/apis/compute_alpha/representations.rb +107 -2
  47. data/generated/google/apis/compute_alpha/service.rb +1035 -640
  48. data/generated/google/apis/compute_beta.rb +1 -1
  49. data/generated/google/apis/compute_beta/classes.rb +986 -241
  50. data/generated/google/apis/compute_beta/representations.rb +284 -0
  51. data/generated/google/apis/compute_beta/service.rb +1242 -532
  52. data/generated/google/apis/compute_v1.rb +1 -1
  53. data/generated/google/apis/compute_v1/classes.rb +252 -99
  54. data/generated/google/apis/compute_v1/representations.rb +24 -0
  55. data/generated/google/apis/compute_v1/service.rb +749 -472
  56. data/generated/google/apis/docs_v1.rb +1 -1
  57. data/generated/google/apis/docs_v1/classes.rb +63 -0
  58. data/generated/google/apis/docs_v1/representations.rb +17 -0
  59. data/generated/google/apis/doubleclickbidmanager_v1.rb +1 -1
  60. data/generated/google/apis/healthcare_v1beta1.rb +1 -1
  61. data/generated/google/apis/healthcare_v1beta1/classes.rb +203 -8
  62. data/generated/google/apis/healthcare_v1beta1/representations.rb +101 -0
  63. data/generated/google/apis/healthcare_v1beta1/service.rb +100 -3
  64. data/generated/google/apis/iam_v1.rb +1 -1
  65. data/generated/google/apis/iam_v1/classes.rb +1 -1
  66. data/generated/google/apis/iap_v1.rb +1 -1
  67. data/generated/google/apis/iap_v1/classes.rb +185 -0
  68. data/generated/google/apis/iap_v1/representations.rb +102 -0
  69. data/generated/google/apis/iap_v1/service.rb +72 -0
  70. data/generated/google/apis/{speech_v2beta.rb → lifesciences_v2beta.rb} +9 -8
  71. data/generated/google/apis/lifesciences_v2beta/classes.rb +1328 -0
  72. data/generated/google/apis/lifesciences_v2beta/representations.rb +533 -0
  73. data/generated/google/apis/lifesciences_v2beta/service.rb +303 -0
  74. data/generated/google/apis/monitoring_v1.rb +36 -0
  75. data/generated/google/apis/monitoring_v1/classes.rb +260 -0
  76. data/generated/google/apis/monitoring_v1/representations.rb +123 -0
  77. data/generated/google/apis/monitoring_v1/service.rb +64 -0
  78. data/generated/google/apis/policytroubleshooter_v1beta.rb +1 -1
  79. data/generated/google/apis/run_v1.rb +1 -1
  80. data/generated/google/apis/run_v1/classes.rb +0 -7
  81. data/generated/google/apis/run_v1/service.rb +156 -94
  82. data/generated/google/apis/sql_v1beta4.rb +37 -0
  83. data/generated/google/apis/sql_v1beta4/classes.rb +2689 -0
  84. data/generated/google/apis/sql_v1beta4/representations.rb +1099 -0
  85. data/generated/google/apis/sql_v1beta4/service.rb +1660 -0
  86. data/generated/google/apis/testing_v1.rb +1 -1
  87. data/generated/google/apis/testing_v1/classes.rb +1 -1
  88. data/generated/google/apis/vision_v1.rb +1 -1
  89. data/generated/google/apis/vision_v1p1beta1.rb +1 -1
  90. data/generated/google/apis/vision_v1p2beta1.rb +1 -1
  91. data/lib/google/apis/version.rb +1 -1
  92. metadata +14 -6
  93. data/generated/google/apis/speech_v2beta/classes.rb +0 -355
  94. data/generated/google/apis/speech_v2beta/representations.rb +0 -152
  95. data/generated/google/apis/speech_v2beta/service.rb +0 -138
@@ -26,7 +26,7 @@ module Google
26
26
  # @see https://developers.google.com/cloud-test-lab/
27
27
  module TestingV1
28
28
  VERSION = 'V1'
29
- REVISION = '20190924'
29
+ REVISION = '20191013'
30
30
 
31
31
  # View and manage your data across Google Cloud Platform services
32
32
  AUTH_CLOUD_PLATFORM = 'https://www.googleapis.com/auth/cloud-platform'
@@ -1197,7 +1197,7 @@ module Google
1197
1197
  end
1198
1198
 
1199
1199
  # A description of an iOS device tests may be run on.
1200
- # Next tag: 10
1200
+ # Next tag: 11
1201
1201
  class IosModel
1202
1202
  include Google::Apis::Core::Hashable
1203
1203
 
@@ -27,7 +27,7 @@ module Google
27
27
  # @see https://cloud.google.com/vision/
28
28
  module VisionV1
29
29
  VERSION = 'V1'
30
- REVISION = '20190927'
30
+ REVISION = '20191011'
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'
@@ -27,7 +27,7 @@ module Google
27
27
  # @see https://cloud.google.com/vision/
28
28
  module VisionV1p1beta1
29
29
  VERSION = 'V1p1beta1'
30
- REVISION = '20190927'
30
+ REVISION = '20191011'
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'
@@ -27,7 +27,7 @@ module Google
27
27
  # @see https://cloud.google.com/vision/
28
28
  module VisionV1p2beta1
29
29
  VERSION = 'V1p2beta1'
30
- REVISION = '20190927'
30
+ REVISION = '20191011'
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'
@@ -15,7 +15,7 @@
15
15
  module Google
16
16
  module Apis
17
17
  # Client library version
18
- VERSION = '0.33.0'.freeze
18
+ VERSION = '0.33.1'.freeze
19
19
 
20
20
  # Current operating system
21
21
  # @private
metadata CHANGED
@@ -1,7 +1,7 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: google-api-client
3
3
  version: !ruby/object:Gem::Version
4
- version: 0.33.0
4
+ version: 0.33.1
5
5
  platform: ruby
6
6
  authors:
7
7
  - Steven Bazyl
@@ -11,7 +11,7 @@ authors:
11
11
  autorequire:
12
12
  bindir: bin
13
13
  cert_chain: []
14
- date: 2019-10-14 00:00:00.000000000 Z
14
+ date: 2019-10-21 00:00:00.000000000 Z
15
15
  dependencies:
16
16
  - !ruby/object:Gem::Dependency
17
17
  name: representable
@@ -842,6 +842,10 @@ files:
842
842
  - generated/google/apis/licensing_v1/classes.rb
843
843
  - generated/google/apis/licensing_v1/representations.rb
844
844
  - generated/google/apis/licensing_v1/service.rb
845
+ - generated/google/apis/lifesciences_v2beta.rb
846
+ - generated/google/apis/lifesciences_v2beta/classes.rb
847
+ - generated/google/apis/lifesciences_v2beta/representations.rb
848
+ - generated/google/apis/lifesciences_v2beta/service.rb
845
849
  - generated/google/apis/logging_v2.rb
846
850
  - generated/google/apis/logging_v2/classes.rb
847
851
  - generated/google/apis/logging_v2/representations.rb
@@ -858,6 +862,10 @@ files:
858
862
  - generated/google/apis/ml_v1/classes.rb
859
863
  - generated/google/apis/ml_v1/representations.rb
860
864
  - generated/google/apis/ml_v1/service.rb
865
+ - generated/google/apis/monitoring_v1.rb
866
+ - generated/google/apis/monitoring_v1/classes.rb
867
+ - generated/google/apis/monitoring_v1/representations.rb
868
+ - generated/google/apis/monitoring_v1/service.rb
861
869
  - generated/google/apis/monitoring_v3.rb
862
870
  - generated/google/apis/monitoring_v3/classes.rb
863
871
  - generated/google/apis/monitoring_v3/representations.rb
@@ -1082,10 +1090,10 @@ files:
1082
1090
  - generated/google/apis/speech_v1p1beta1/classes.rb
1083
1091
  - generated/google/apis/speech_v1p1beta1/representations.rb
1084
1092
  - generated/google/apis/speech_v1p1beta1/service.rb
1085
- - generated/google/apis/speech_v2beta.rb
1086
- - generated/google/apis/speech_v2beta/classes.rb
1087
- - generated/google/apis/speech_v2beta/representations.rb
1088
- - generated/google/apis/speech_v2beta/service.rb
1093
+ - generated/google/apis/sql_v1beta4.rb
1094
+ - generated/google/apis/sql_v1beta4/classes.rb
1095
+ - generated/google/apis/sql_v1beta4/representations.rb
1096
+ - generated/google/apis/sql_v1beta4/service.rb
1089
1097
  - generated/google/apis/sqladmin_v1beta4.rb
1090
1098
  - generated/google/apis/sqladmin_v1beta4/classes.rb
1091
1099
  - generated/google/apis/sqladmin_v1beta4/representations.rb
@@ -1,355 +0,0 @@
1
- # Copyright 2015 Google Inc.
2
- #
3
- # Licensed under the Apache License, Version 2.0 (the "License");
4
- # you may not use this file except in compliance with the License.
5
- # You may obtain a copy of the License at
6
- #
7
- # http://www.apache.org/licenses/LICENSE-2.0
8
- #
9
- # Unless required by applicable law or agreed to in writing, software
10
- # distributed under the License is distributed on an "AS IS" BASIS,
11
- # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
- # See the License for the specific language governing permissions and
13
- # limitations under the License.
14
-
15
- require 'date'
16
- require 'google/apis/core/base_service'
17
- require 'google/apis/core/json_representation'
18
- require 'google/apis/core/hashable'
19
- require 'google/apis/errors'
20
-
21
- module Google
22
- module Apis
23
- module SpeechV2beta
24
-
25
- # The response message for Operations.ListOperations.
26
- class ListOperationsResponse
27
- include Google::Apis::Core::Hashable
28
-
29
- # The standard List next-page token.
30
- # Corresponds to the JSON property `nextPageToken`
31
- # @return [String]
32
- attr_accessor :next_page_token
33
-
34
- # A list of operations that matches the specified filter in the request.
35
- # Corresponds to the JSON property `operations`
36
- # @return [Array<Google::Apis::SpeechV2beta::Operation>]
37
- attr_accessor :operations
38
-
39
- def initialize(**args)
40
- update!(**args)
41
- end
42
-
43
- # Update properties of this object
44
- def update!(**args)
45
- @next_page_token = args[:next_page_token] if args.key?(:next_page_token)
46
- @operations = args[:operations] if args.key?(:operations)
47
- end
48
- end
49
-
50
- # Describes the progress of a long-running `LongRunningRecognize` call. It is
51
- # included in the `metadata` field of the `Operation` returned by the
52
- # `GetOperation` call of the `google::longrunning::Operations` service.
53
- class LongRunningRecognizeMetadata
54
- include Google::Apis::Core::Hashable
55
-
56
- # Output only. Time of the most recent processing update.
57
- # Corresponds to the JSON property `lastUpdateTime`
58
- # @return [String]
59
- attr_accessor :last_update_time
60
-
61
- # Output only. Approximate percentage of audio processed thus far. Guaranteed to
62
- # be 100
63
- # when the audio is fully processed and the results are available.
64
- # Corresponds to the JSON property `progressPercent`
65
- # @return [Fixnum]
66
- attr_accessor :progress_percent
67
-
68
- # Output only. Time when the request was received.
69
- # Corresponds to the JSON property `startTime`
70
- # @return [String]
71
- attr_accessor :start_time
72
-
73
- def initialize(**args)
74
- update!(**args)
75
- end
76
-
77
- # Update properties of this object
78
- def update!(**args)
79
- @last_update_time = args[:last_update_time] if args.key?(:last_update_time)
80
- @progress_percent = args[:progress_percent] if args.key?(:progress_percent)
81
- @start_time = args[:start_time] if args.key?(:start_time)
82
- end
83
- end
84
-
85
- # The only message returned to the client by the `LongRunningRecognize` method.
86
- # It contains the result as zero or more sequential SpeechRecognitionResult
87
- # messages. It is included in the `result.response` field of the `Operation`
88
- # returned by the `GetOperation` call of the `google::longrunning::Operations`
89
- # service.
90
- class LongRunningRecognizeResponse
91
- include Google::Apis::Core::Hashable
92
-
93
- # Output only. Sequential list of transcription results corresponding to
94
- # sequential portions of audio.
95
- # Corresponds to the JSON property `results`
96
- # @return [Array<Google::Apis::SpeechV2beta::SpeechRecognitionResult>]
97
- attr_accessor :results
98
-
99
- def initialize(**args)
100
- update!(**args)
101
- end
102
-
103
- # Update properties of this object
104
- def update!(**args)
105
- @results = args[:results] if args.key?(:results)
106
- end
107
- end
108
-
109
- # This resource represents a long-running operation that is the result of a
110
- # network API call.
111
- class Operation
112
- include Google::Apis::Core::Hashable
113
-
114
- # If the value is `false`, it means the operation is still in progress.
115
- # If `true`, the operation is completed, and either `error` or `response` is
116
- # available.
117
- # Corresponds to the JSON property `done`
118
- # @return [Boolean]
119
- attr_accessor :done
120
- alias_method :done?, :done
121
-
122
- # The `Status` type defines a logical error model that is suitable for
123
- # different programming environments, including REST APIs and RPC APIs. It is
124
- # used by [gRPC](https://github.com/grpc). Each `Status` message contains
125
- # three pieces of data: error code, error message, and error details.
126
- # You can find out more about this error model and how to work with it in the
127
- # [API Design Guide](https://cloud.google.com/apis/design/errors).
128
- # Corresponds to the JSON property `error`
129
- # @return [Google::Apis::SpeechV2beta::Status]
130
- attr_accessor :error
131
-
132
- # Service-specific metadata associated with the operation. It typically
133
- # contains progress information and common metadata such as create time.
134
- # Some services might not provide such metadata. Any method that returns a
135
- # long-running operation should document the metadata type, if any.
136
- # Corresponds to the JSON property `metadata`
137
- # @return [Hash<String,Object>]
138
- attr_accessor :metadata
139
-
140
- # The server-assigned name, which is only unique within the same service that
141
- # originally returns it. If you use the default HTTP mapping, the
142
- # `name` should be a resource name ending with `operations/`unique_id``.
143
- # Corresponds to the JSON property `name`
144
- # @return [String]
145
- attr_accessor :name
146
-
147
- # The normal response of the operation in case of success. If the original
148
- # method returns no data on success, such as `Delete`, the response is
149
- # `google.protobuf.Empty`. If the original method is standard
150
- # `Get`/`Create`/`Update`, the response should be the resource. For other
151
- # methods, the response should have the type `XxxResponse`, where `Xxx`
152
- # is the original method name. For example, if the original method name
153
- # is `TakeSnapshot()`, the inferred response type is
154
- # `TakeSnapshotResponse`.
155
- # Corresponds to the JSON property `response`
156
- # @return [Hash<String,Object>]
157
- attr_accessor :response
158
-
159
- def initialize(**args)
160
- update!(**args)
161
- end
162
-
163
- # Update properties of this object
164
- def update!(**args)
165
- @done = args[:done] if args.key?(:done)
166
- @error = args[:error] if args.key?(:error)
167
- @metadata = args[:metadata] if args.key?(:metadata)
168
- @name = args[:name] if args.key?(:name)
169
- @response = args[:response] if args.key?(:response)
170
- end
171
- end
172
-
173
- # Alternative hypotheses (a.k.a. n-best list).
174
- class SpeechRecognitionAlternative
175
- include Google::Apis::Core::Hashable
176
-
177
- # Output only. The confidence estimate between 0.0 and 1.0. A higher number
178
- # indicates an estimated greater likelihood that the recognized words are
179
- # correct. This field is set only for the top alternative of a non-streaming
180
- # result or, of a streaming result where `is_final=true`.
181
- # This field is not guaranteed to be accurate and users should not rely on it
182
- # to be always provided.
183
- # The default of 0.0 is a sentinel value indicating `confidence` was not set.
184
- # Corresponds to the JSON property `confidence`
185
- # @return [Float]
186
- attr_accessor :confidence
187
-
188
- # Output only. Transcript text representing the words that the user spoke.
189
- # Corresponds to the JSON property `transcript`
190
- # @return [String]
191
- attr_accessor :transcript
192
-
193
- # Output only. A list of word-specific information for each recognized word.
194
- # Note: When `enable_speaker_diarization` is true, you will see all the words
195
- # from the beginning of the audio.
196
- # Corresponds to the JSON property `words`
197
- # @return [Array<Google::Apis::SpeechV2beta::WordInfo>]
198
- attr_accessor :words
199
-
200
- def initialize(**args)
201
- update!(**args)
202
- end
203
-
204
- # Update properties of this object
205
- def update!(**args)
206
- @confidence = args[:confidence] if args.key?(:confidence)
207
- @transcript = args[:transcript] if args.key?(:transcript)
208
- @words = args[:words] if args.key?(:words)
209
- end
210
- end
211
-
212
- # A speech recognition result corresponding to a portion of the audio.
213
- class SpeechRecognitionResult
214
- include Google::Apis::Core::Hashable
215
-
216
- # Output only. May contain one or more recognition hypotheses (up to the
217
- # maximum specified in `max_alternatives`).
218
- # These alternatives are ordered in terms of accuracy, with the top (first)
219
- # alternative being the most probable, as ranked by the recognizer.
220
- # Corresponds to the JSON property `alternatives`
221
- # @return [Array<Google::Apis::SpeechV2beta::SpeechRecognitionAlternative>]
222
- attr_accessor :alternatives
223
-
224
- # Output only. For multi-channel audio, this is the channel number corresponding
225
- # to the
226
- # recognized result for the audio from that channel.
227
- # For `audio_channel_count` = N, its output values can range from `1` to `N`.
228
- # Corresponds to the JSON property `channelTag`
229
- # @return [Fixnum]
230
- attr_accessor :channel_tag
231
-
232
- # Output only. The
233
- # [BCP-47](https://www.rfc-editor.org/rfc/bcp/bcp47.txt) language tag of the
234
- # language in this result. This language code was detected to have the most
235
- # likelihood of being spoken in the audio.
236
- # Corresponds to the JSON property `languageCode`
237
- # @return [String]
238
- attr_accessor :language_code
239
-
240
- def initialize(**args)
241
- update!(**args)
242
- end
243
-
244
- # Update properties of this object
245
- def update!(**args)
246
- @alternatives = args[:alternatives] if args.key?(:alternatives)
247
- @channel_tag = args[:channel_tag] if args.key?(:channel_tag)
248
- @language_code = args[:language_code] if args.key?(:language_code)
249
- end
250
- end
251
-
252
- # The `Status` type defines a logical error model that is suitable for
253
- # different programming environments, including REST APIs and RPC APIs. It is
254
- # used by [gRPC](https://github.com/grpc). Each `Status` message contains
255
- # three pieces of data: error code, error message, and error details.
256
- # You can find out more about this error model and how to work with it in the
257
- # [API Design Guide](https://cloud.google.com/apis/design/errors).
258
- class Status
259
- include Google::Apis::Core::Hashable
260
-
261
- # The status code, which should be an enum value of google.rpc.Code.
262
- # Corresponds to the JSON property `code`
263
- # @return [Fixnum]
264
- attr_accessor :code
265
-
266
- # A list of messages that carry the error details. There is a common set of
267
- # message types for APIs to use.
268
- # Corresponds to the JSON property `details`
269
- # @return [Array<Hash<String,Object>>]
270
- attr_accessor :details
271
-
272
- # A developer-facing error message, which should be in English. Any
273
- # user-facing error message should be localized and sent in the
274
- # google.rpc.Status.details field, or localized by the client.
275
- # Corresponds to the JSON property `message`
276
- # @return [String]
277
- attr_accessor :message
278
-
279
- def initialize(**args)
280
- update!(**args)
281
- end
282
-
283
- # Update properties of this object
284
- def update!(**args)
285
- @code = args[:code] if args.key?(:code)
286
- @details = args[:details] if args.key?(:details)
287
- @message = args[:message] if args.key?(:message)
288
- end
289
- end
290
-
291
- # Word-specific information for recognized words.
292
- class WordInfo
293
- include Google::Apis::Core::Hashable
294
-
295
- # Output only. The confidence estimate between 0.0 and 1.0. A higher number
296
- # indicates an estimated greater likelihood that the recognized words are
297
- # correct. This field is set only for the top alternative of a non-streaming
298
- # result or, of a streaming result where `is_final=true`.
299
- # This field is not guaranteed to be accurate and users should not rely on it
300
- # to be always provided.
301
- # The default of 0.0 is a sentinel value indicating `confidence` was not set.
302
- # Corresponds to the JSON property `confidence`
303
- # @return [Float]
304
- attr_accessor :confidence
305
-
306
- # Output only. Time offset relative to the beginning of the audio,
307
- # and corresponding to the end of the spoken word.
308
- # This field is only set if `enable_word_time_offsets=true` and only
309
- # in the top hypothesis.
310
- # This is an experimental feature and the accuracy of the time offset can
311
- # vary.
312
- # Corresponds to the JSON property `endOffset`
313
- # @return [String]
314
- attr_accessor :end_offset
315
-
316
- # Output only. A distinct integer value is assigned for every speaker within
317
- # the audio. This field specifies which one of those speakers was detected to
318
- # have spoken this word. Value ranges from `1` to
319
- # `diarization_speaker_count`. speaker_tag is set if
320
- # `enable_speaker_diarization` = `true` and only in the top alternative.
321
- # Corresponds to the JSON property `speakerTag`
322
- # @return [Fixnum]
323
- attr_accessor :speaker_tag
324
-
325
- # Output only. Time offset relative to the beginning of the audio,
326
- # and corresponding to the start of the spoken word.
327
- # This field is only set if `enable_word_time_offsets=true` and only
328
- # in the top hypothesis.
329
- # This is an experimental feature and the accuracy of the time offset can
330
- # vary.
331
- # Corresponds to the JSON property `startOffset`
332
- # @return [String]
333
- attr_accessor :start_offset
334
-
335
- # Output only. The word corresponding to this set of information.
336
- # Corresponds to the JSON property `word`
337
- # @return [String]
338
- attr_accessor :word
339
-
340
- def initialize(**args)
341
- update!(**args)
342
- end
343
-
344
- # Update properties of this object
345
- def update!(**args)
346
- @confidence = args[:confidence] if args.key?(:confidence)
347
- @end_offset = args[:end_offset] if args.key?(:end_offset)
348
- @speaker_tag = args[:speaker_tag] if args.key?(:speaker_tag)
349
- @start_offset = args[:start_offset] if args.key?(:start_offset)
350
- @word = args[:word] if args.key?(:word)
351
- end
352
- end
353
- end
354
- end
355
- end