google-apis-firebaseml_v2beta 0.41.0 → 0.42.0
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
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: 223d960a2ce998ce013f1907cfa751b9c17b3432548fc81337c7461ae54f8222
|
|
4
|
+
data.tar.gz: d0874c8a9b0c5d68c812b0c8b8c9a98cec1409467a588c3b4052df3e72a503cf
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: c668924c1e3316774c60dafdcf13e80f0f92b8397234f399bd8d74f25b5342319a834569f7d312cf8658e79c06164c7dd57613af866cbd044c727b3e23b76842
|
|
7
|
+
data.tar.gz: e666bba4f7755a1796942f31713eff18b20fc87ee94414f84dfe76a38cf5d80b68ff3c4c89c40156082941f2f8dc7acf34eafccb5d8b46ec21d6812341d75cd9
|
data/CHANGELOG.md
CHANGED
|
@@ -147,6 +147,156 @@ module Google
|
|
|
147
147
|
end
|
|
148
148
|
end
|
|
149
149
|
|
|
150
|
+
# The transcription of an audio part. For multi-speaker audio, each speaker
|
|
151
|
+
# segment is a separate Part with its own AudioTranscription carrying the
|
|
152
|
+
# speaker_label.
|
|
153
|
+
class GoogleCloudAiplatformV1beta1AudioTranscription
|
|
154
|
+
include Google::Apis::Core::Hashable
|
|
155
|
+
|
|
156
|
+
# Optional. A label identifying the speaker of this audio segment (e.g. "spk_1",
|
|
157
|
+
# "spk_2"). Present when diarization is set.
|
|
158
|
+
# Corresponds to the JSON property `speakerLabel`
|
|
159
|
+
# @return [String]
|
|
160
|
+
attr_accessor :speaker_label
|
|
161
|
+
|
|
162
|
+
# Required. The transcription text of this audio segment.
|
|
163
|
+
# Corresponds to the JSON property `text`
|
|
164
|
+
# @return [String]
|
|
165
|
+
attr_accessor :text
|
|
166
|
+
|
|
167
|
+
# Optional. Detailed word-level transcriptions and timing details. Present when
|
|
168
|
+
# word_timestamp is set.
|
|
169
|
+
# Corresponds to the JSON property `words`
|
|
170
|
+
# @return [Array<Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1AudioTranscriptionWordInfo>]
|
|
171
|
+
attr_accessor :words
|
|
172
|
+
|
|
173
|
+
def initialize(**args)
|
|
174
|
+
update!(**args)
|
|
175
|
+
end
|
|
176
|
+
|
|
177
|
+
# Update properties of this object
|
|
178
|
+
def update!(**args)
|
|
179
|
+
@speaker_label = args[:speaker_label] if args.key?(:speaker_label)
|
|
180
|
+
@text = args[:text] if args.key?(:text)
|
|
181
|
+
@words = args[:words] if args.key?(:words)
|
|
182
|
+
end
|
|
183
|
+
end
|
|
184
|
+
|
|
185
|
+
# Configuration for speech recognition (transcription).
|
|
186
|
+
class GoogleCloudAiplatformV1beta1AudioTranscriptionConfig
|
|
187
|
+
include Google::Apis::Core::Hashable
|
|
188
|
+
|
|
189
|
+
# Optional. A list of phrases to bias the ASR model towards.
|
|
190
|
+
# Corresponds to the JSON property `adaptationPhrases`
|
|
191
|
+
# @return [Array<String>]
|
|
192
|
+
attr_accessor :adaptation_phrases
|
|
193
|
+
|
|
194
|
+
# Optional. A list of custom vocabulary phrases to bias the speech recognition
|
|
195
|
+
# model toward recognizing specific terms.
|
|
196
|
+
# Corresponds to the JSON property `customVocabulary`
|
|
197
|
+
# @return [Array<String>]
|
|
198
|
+
attr_accessor :custom_vocabulary
|
|
199
|
+
|
|
200
|
+
# Optional. Configures speaker diarization.
|
|
201
|
+
# Corresponds to the JSON property `diarization`
|
|
202
|
+
# @return [Boolean]
|
|
203
|
+
attr_accessor :diarization
|
|
204
|
+
alias_method :diarization?, :diarization
|
|
205
|
+
|
|
206
|
+
# Indicates the language of the audio should be automatically detected.
|
|
207
|
+
# Corresponds to the JSON property `languageAuto`
|
|
208
|
+
# @return [Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1AudioTranscriptionConfigLanguageAuto]
|
|
209
|
+
attr_accessor :language_auto
|
|
210
|
+
|
|
211
|
+
# Provides hints to the model about possible languages present in the audio.
|
|
212
|
+
# Corresponds to the JSON property `languageHints`
|
|
213
|
+
# @return [Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1AudioTranscriptionConfigLanguageHints]
|
|
214
|
+
attr_accessor :language_hints
|
|
215
|
+
|
|
216
|
+
# Optional. Configures word-level timestamp generation.
|
|
217
|
+
# Corresponds to the JSON property `wordTimestamp`
|
|
218
|
+
# @return [Boolean]
|
|
219
|
+
attr_accessor :word_timestamp
|
|
220
|
+
alias_method :word_timestamp?, :word_timestamp
|
|
221
|
+
|
|
222
|
+
def initialize(**args)
|
|
223
|
+
update!(**args)
|
|
224
|
+
end
|
|
225
|
+
|
|
226
|
+
# Update properties of this object
|
|
227
|
+
def update!(**args)
|
|
228
|
+
@adaptation_phrases = args[:adaptation_phrases] if args.key?(:adaptation_phrases)
|
|
229
|
+
@custom_vocabulary = args[:custom_vocabulary] if args.key?(:custom_vocabulary)
|
|
230
|
+
@diarization = args[:diarization] if args.key?(:diarization)
|
|
231
|
+
@language_auto = args[:language_auto] if args.key?(:language_auto)
|
|
232
|
+
@language_hints = args[:language_hints] if args.key?(:language_hints)
|
|
233
|
+
@word_timestamp = args[:word_timestamp] if args.key?(:word_timestamp)
|
|
234
|
+
end
|
|
235
|
+
end
|
|
236
|
+
|
|
237
|
+
# Indicates the language of the audio should be automatically detected.
|
|
238
|
+
class GoogleCloudAiplatformV1beta1AudioTranscriptionConfigLanguageAuto
|
|
239
|
+
include Google::Apis::Core::Hashable
|
|
240
|
+
|
|
241
|
+
def initialize(**args)
|
|
242
|
+
update!(**args)
|
|
243
|
+
end
|
|
244
|
+
|
|
245
|
+
# Update properties of this object
|
|
246
|
+
def update!(**args)
|
|
247
|
+
end
|
|
248
|
+
end
|
|
249
|
+
|
|
250
|
+
# Provides hints to the model about possible languages present in the audio.
|
|
251
|
+
class GoogleCloudAiplatformV1beta1AudioTranscriptionConfigLanguageHints
|
|
252
|
+
include Google::Apis::Core::Hashable
|
|
253
|
+
|
|
254
|
+
# Required. BCP-47 language codes. At least one must be specified.
|
|
255
|
+
# Corresponds to the JSON property `languageCodes`
|
|
256
|
+
# @return [Array<String>]
|
|
257
|
+
attr_accessor :language_codes
|
|
258
|
+
|
|
259
|
+
def initialize(**args)
|
|
260
|
+
update!(**args)
|
|
261
|
+
end
|
|
262
|
+
|
|
263
|
+
# Update properties of this object
|
|
264
|
+
def update!(**args)
|
|
265
|
+
@language_codes = args[:language_codes] if args.key?(:language_codes)
|
|
266
|
+
end
|
|
267
|
+
end
|
|
268
|
+
|
|
269
|
+
# Information about a single recognized word.
|
|
270
|
+
class GoogleCloudAiplatformV1beta1AudioTranscriptionWordInfo
|
|
271
|
+
include Google::Apis::Core::Hashable
|
|
272
|
+
|
|
273
|
+
# Optional. End offset in time of the word relative to the start of the audio.
|
|
274
|
+
# Corresponds to the JSON property `endOffset`
|
|
275
|
+
# @return [String]
|
|
276
|
+
attr_accessor :end_offset
|
|
277
|
+
|
|
278
|
+
# Optional. Start offset in time of the word relative to the start of the audio.
|
|
279
|
+
# Corresponds to the JSON property `startOffset`
|
|
280
|
+
# @return [String]
|
|
281
|
+
attr_accessor :start_offset
|
|
282
|
+
|
|
283
|
+
# Required. Transcript of the word.
|
|
284
|
+
# Corresponds to the JSON property `word`
|
|
285
|
+
# @return [String]
|
|
286
|
+
attr_accessor :word
|
|
287
|
+
|
|
288
|
+
def initialize(**args)
|
|
289
|
+
update!(**args)
|
|
290
|
+
end
|
|
291
|
+
|
|
292
|
+
# Update properties of this object
|
|
293
|
+
def update!(**args)
|
|
294
|
+
@end_offset = args[:end_offset] if args.key?(:end_offset)
|
|
295
|
+
@start_offset = args[:start_offset] if args.key?(:start_offset)
|
|
296
|
+
@word = args[:word] if args.key?(:word)
|
|
297
|
+
end
|
|
298
|
+
end
|
|
299
|
+
|
|
150
300
|
# Auth configuration to run the extension.
|
|
151
301
|
class GoogleCloudAiplatformV1beta1AuthConfig
|
|
152
302
|
include Google::Apis::Core::Hashable
|
|
@@ -559,6 +709,12 @@ module Google
|
|
|
559
709
|
class GoogleCloudAiplatformV1beta1CodeExecutionResult
|
|
560
710
|
include Google::Apis::Core::Hashable
|
|
561
711
|
|
|
712
|
+
# Optional. The identifier of the `ExecutableCode` part this result is for. Only
|
|
713
|
+
# populated if the corresponding `ExecutableCode` has an id.
|
|
714
|
+
# Corresponds to the JSON property `id`
|
|
715
|
+
# @return [String]
|
|
716
|
+
attr_accessor :id
|
|
717
|
+
|
|
562
718
|
# Required. Outcome of the code execution.
|
|
563
719
|
# Corresponds to the JSON property `outcome`
|
|
564
720
|
# @return [String]
|
|
@@ -576,6 +732,7 @@ module Google
|
|
|
576
732
|
|
|
577
733
|
# Update properties of this object
|
|
578
734
|
def update!(**args)
|
|
735
|
+
@id = args[:id] if args.key?(:id)
|
|
579
736
|
@outcome = args[:outcome] if args.key?(:outcome)
|
|
580
737
|
@output = args[:output] if args.key?(:output)
|
|
581
738
|
end
|
|
@@ -767,6 +924,12 @@ module Google
|
|
|
767
924
|
# @return [String]
|
|
768
925
|
attr_accessor :code
|
|
769
926
|
|
|
927
|
+
# Optional. Unique identifier of the `ExecutableCode` part. The server returns
|
|
928
|
+
# the `CodeExecutionResult` with the matching `id`.
|
|
929
|
+
# Corresponds to the JSON property `id`
|
|
930
|
+
# @return [String]
|
|
931
|
+
attr_accessor :id
|
|
932
|
+
|
|
770
933
|
# Required. Programming language of the `code`.
|
|
771
934
|
# Corresponds to the JSON property `language`
|
|
772
935
|
# @return [String]
|
|
@@ -779,6 +942,7 @@ module Google
|
|
|
779
942
|
# Update properties of this object
|
|
780
943
|
def update!(**args)
|
|
781
944
|
@code = args[:code] if args.key?(:code)
|
|
945
|
+
@id = args[:id] if args.key?(:id)
|
|
782
946
|
@language = args[:language] if args.key?(:language)
|
|
783
947
|
end
|
|
784
948
|
end
|
|
@@ -1513,6 +1677,11 @@ module Google
|
|
|
1513
1677
|
attr_accessor :audio_timestamp
|
|
1514
1678
|
alias_method :audio_timestamp?, :audio_timestamp
|
|
1515
1679
|
|
|
1680
|
+
# Configuration for speech recognition (transcription).
|
|
1681
|
+
# Corresponds to the JSON property `audioTranscriptionConfig`
|
|
1682
|
+
# @return [Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1AudioTranscriptionConfig]
|
|
1683
|
+
attr_accessor :audio_transcription_config
|
|
1684
|
+
|
|
1516
1685
|
# Optional. The number of candidate responses to generate. A higher `
|
|
1517
1686
|
# candidate_count` can provide more options to choose from, but it also consumes
|
|
1518
1687
|
# more resources. This can be useful for generating a variety of responses and
|
|
@@ -1699,6 +1868,7 @@ module Google
|
|
|
1699
1868
|
# Update properties of this object
|
|
1700
1869
|
def update!(**args)
|
|
1701
1870
|
@audio_timestamp = args[:audio_timestamp] if args.key?(:audio_timestamp)
|
|
1871
|
+
@audio_transcription_config = args[:audio_transcription_config] if args.key?(:audio_transcription_config)
|
|
1702
1872
|
@candidate_count = args[:candidate_count] if args.key?(:candidate_count)
|
|
1703
1873
|
@enable_affective_dialog = args[:enable_affective_dialog] if args.key?(:enable_affective_dialog)
|
|
1704
1874
|
@frequency_penalty = args[:frequency_penalty] if args.key?(:frequency_penalty)
|
|
@@ -1869,6 +2039,12 @@ module Google
|
|
|
1869
2039
|
attr_accessor :enable_widget
|
|
1870
2040
|
alias_method :enable_widget?, :enable_widget
|
|
1871
2041
|
|
|
2042
|
+
# Defines the types of Google Maps grounding that can be enabled and their
|
|
2043
|
+
# configurations.
|
|
2044
|
+
# Corresponds to the JSON property `groundingTypes`
|
|
2045
|
+
# @return [Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1GoogleMapsGroundingTypes]
|
|
2046
|
+
attr_accessor :grounding_types
|
|
2047
|
+
|
|
1872
2048
|
def initialize(**args)
|
|
1873
2049
|
update!(**args)
|
|
1874
2050
|
end
|
|
@@ -1876,6 +2052,61 @@ module Google
|
|
|
1876
2052
|
# Update properties of this object
|
|
1877
2053
|
def update!(**args)
|
|
1878
2054
|
@enable_widget = args[:enable_widget] if args.key?(:enable_widget)
|
|
2055
|
+
@grounding_types = args[:grounding_types] if args.key?(:grounding_types)
|
|
2056
|
+
end
|
|
2057
|
+
end
|
|
2058
|
+
|
|
2059
|
+
# Defines the types of Google Maps grounding that can be enabled and their
|
|
2060
|
+
# configurations.
|
|
2061
|
+
class GoogleCloudAiplatformV1beta1GoogleMapsGroundingTypes
|
|
2062
|
+
include Google::Apis::Core::Hashable
|
|
2063
|
+
|
|
2064
|
+
# Grounding with Google Maps Places data (e.g. QueryPlaces). This is the default
|
|
2065
|
+
# Google Maps grounding type when no other type is specified.
|
|
2066
|
+
# Corresponds to the JSON property `places`
|
|
2067
|
+
# @return [Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1GoogleMapsPlaces]
|
|
2068
|
+
attr_accessor :places
|
|
2069
|
+
|
|
2070
|
+
# Grounding with Google Maps Routing APIs (ComputeRoutes and SearchAlongRoute).
|
|
2071
|
+
# Corresponds to the JSON property `routing`
|
|
2072
|
+
# @return [Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1GoogleMapsRouting]
|
|
2073
|
+
attr_accessor :routing
|
|
2074
|
+
|
|
2075
|
+
def initialize(**args)
|
|
2076
|
+
update!(**args)
|
|
2077
|
+
end
|
|
2078
|
+
|
|
2079
|
+
# Update properties of this object
|
|
2080
|
+
def update!(**args)
|
|
2081
|
+
@places = args[:places] if args.key?(:places)
|
|
2082
|
+
@routing = args[:routing] if args.key?(:routing)
|
|
2083
|
+
end
|
|
2084
|
+
end
|
|
2085
|
+
|
|
2086
|
+
# Grounding with Google Maps Places data (e.g. QueryPlaces). This is the default
|
|
2087
|
+
# Google Maps grounding type when no other type is specified.
|
|
2088
|
+
class GoogleCloudAiplatformV1beta1GoogleMapsPlaces
|
|
2089
|
+
include Google::Apis::Core::Hashable
|
|
2090
|
+
|
|
2091
|
+
def initialize(**args)
|
|
2092
|
+
update!(**args)
|
|
2093
|
+
end
|
|
2094
|
+
|
|
2095
|
+
# Update properties of this object
|
|
2096
|
+
def update!(**args)
|
|
2097
|
+
end
|
|
2098
|
+
end
|
|
2099
|
+
|
|
2100
|
+
# Grounding with Google Maps Routing APIs (ComputeRoutes and SearchAlongRoute).
|
|
2101
|
+
class GoogleCloudAiplatformV1beta1GoogleMapsRouting
|
|
2102
|
+
include Google::Apis::Core::Hashable
|
|
2103
|
+
|
|
2104
|
+
def initialize(**args)
|
|
2105
|
+
update!(**args)
|
|
2106
|
+
end
|
|
2107
|
+
|
|
2108
|
+
# Update properties of this object
|
|
2109
|
+
def update!(**args)
|
|
1879
2110
|
end
|
|
1880
2111
|
end
|
|
1881
2112
|
|
|
@@ -2669,6 +2900,13 @@ module Google
|
|
|
2669
2900
|
class GoogleCloudAiplatformV1beta1Part
|
|
2670
2901
|
include Google::Apis::Core::Hashable
|
|
2671
2902
|
|
|
2903
|
+
# The transcription of an audio part. For multi-speaker audio, each speaker
|
|
2904
|
+
# segment is a separate Part with its own AudioTranscription carrying the
|
|
2905
|
+
# speaker_label.
|
|
2906
|
+
# Corresponds to the JSON property `audioTranscription`
|
|
2907
|
+
# @return [Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1AudioTranscription]
|
|
2908
|
+
attr_accessor :audio_transcription
|
|
2909
|
+
|
|
2672
2910
|
# Result of executing the ExecutableCode. Generated only when the `CodeExecution`
|
|
2673
2911
|
# tool is used.
|
|
2674
2912
|
# Corresponds to the JSON property `codeExecutionResult`
|
|
@@ -2750,6 +2988,7 @@ module Google
|
|
|
2750
2988
|
|
|
2751
2989
|
# Update properties of this object
|
|
2752
2990
|
def update!(**args)
|
|
2991
|
+
@audio_transcription = args[:audio_transcription] if args.key?(:audio_transcription)
|
|
2753
2992
|
@code_execution_result = args[:code_execution_result] if args.key?(:code_execution_result)
|
|
2754
2993
|
@executable_code = args[:executable_code] if args.key?(:executable_code)
|
|
2755
2994
|
@file_data = args[:file_data] if args.key?(:file_data)
|
|
@@ -16,13 +16,13 @@ module Google
|
|
|
16
16
|
module Apis
|
|
17
17
|
module FirebasemlV2beta
|
|
18
18
|
# Version of the google-apis-firebaseml_v2beta gem
|
|
19
|
-
GEM_VERSION = "0.
|
|
19
|
+
GEM_VERSION = "0.42.0"
|
|
20
20
|
|
|
21
21
|
# Version of the code generator used to generate this client
|
|
22
22
|
GENERATOR_VERSION = "0.19.0"
|
|
23
23
|
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
|
25
|
-
REVISION = "
|
|
25
|
+
REVISION = "20260726"
|
|
26
26
|
end
|
|
27
27
|
end
|
|
28
28
|
end
|
|
@@ -46,6 +46,36 @@ module Google
|
|
|
46
46
|
include Google::Apis::Core::JsonObjectSupport
|
|
47
47
|
end
|
|
48
48
|
|
|
49
|
+
class GoogleCloudAiplatformV1beta1AudioTranscription
|
|
50
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
51
|
+
|
|
52
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
53
|
+
end
|
|
54
|
+
|
|
55
|
+
class GoogleCloudAiplatformV1beta1AudioTranscriptionConfig
|
|
56
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
57
|
+
|
|
58
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
59
|
+
end
|
|
60
|
+
|
|
61
|
+
class GoogleCloudAiplatformV1beta1AudioTranscriptionConfigLanguageAuto
|
|
62
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
63
|
+
|
|
64
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
65
|
+
end
|
|
66
|
+
|
|
67
|
+
class GoogleCloudAiplatformV1beta1AudioTranscriptionConfigLanguageHints
|
|
68
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
69
|
+
|
|
70
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
71
|
+
end
|
|
72
|
+
|
|
73
|
+
class GoogleCloudAiplatformV1beta1AudioTranscriptionWordInfo
|
|
74
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
75
|
+
|
|
76
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
77
|
+
end
|
|
78
|
+
|
|
49
79
|
class GoogleCloudAiplatformV1beta1AuthConfig
|
|
50
80
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
51
81
|
|
|
@@ -280,6 +310,24 @@ module Google
|
|
|
280
310
|
include Google::Apis::Core::JsonObjectSupport
|
|
281
311
|
end
|
|
282
312
|
|
|
313
|
+
class GoogleCloudAiplatformV1beta1GoogleMapsGroundingTypes
|
|
314
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
315
|
+
|
|
316
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
317
|
+
end
|
|
318
|
+
|
|
319
|
+
class GoogleCloudAiplatformV1beta1GoogleMapsPlaces
|
|
320
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
321
|
+
|
|
322
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
323
|
+
end
|
|
324
|
+
|
|
325
|
+
class GoogleCloudAiplatformV1beta1GoogleMapsRouting
|
|
326
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
327
|
+
|
|
328
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
329
|
+
end
|
|
330
|
+
|
|
283
331
|
class GoogleCloudAiplatformV1beta1GoogleSearchRetrieval
|
|
284
332
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
285
333
|
|
|
@@ -723,6 +771,52 @@ module Google
|
|
|
723
771
|
end
|
|
724
772
|
end
|
|
725
773
|
|
|
774
|
+
class GoogleCloudAiplatformV1beta1AudioTranscription
|
|
775
|
+
# @private
|
|
776
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
777
|
+
property :speaker_label, as: 'speakerLabel'
|
|
778
|
+
property :text, as: 'text'
|
|
779
|
+
collection :words, as: 'words', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1AudioTranscriptionWordInfo, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1AudioTranscriptionWordInfo::Representation
|
|
780
|
+
|
|
781
|
+
end
|
|
782
|
+
end
|
|
783
|
+
|
|
784
|
+
class GoogleCloudAiplatformV1beta1AudioTranscriptionConfig
|
|
785
|
+
# @private
|
|
786
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
787
|
+
collection :adaptation_phrases, as: 'adaptationPhrases'
|
|
788
|
+
collection :custom_vocabulary, as: 'customVocabulary'
|
|
789
|
+
property :diarization, as: 'diarization'
|
|
790
|
+
property :language_auto, as: 'languageAuto', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1AudioTranscriptionConfigLanguageAuto, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1AudioTranscriptionConfigLanguageAuto::Representation
|
|
791
|
+
|
|
792
|
+
property :language_hints, as: 'languageHints', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1AudioTranscriptionConfigLanguageHints, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1AudioTranscriptionConfigLanguageHints::Representation
|
|
793
|
+
|
|
794
|
+
property :word_timestamp, as: 'wordTimestamp'
|
|
795
|
+
end
|
|
796
|
+
end
|
|
797
|
+
|
|
798
|
+
class GoogleCloudAiplatformV1beta1AudioTranscriptionConfigLanguageAuto
|
|
799
|
+
# @private
|
|
800
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
801
|
+
end
|
|
802
|
+
end
|
|
803
|
+
|
|
804
|
+
class GoogleCloudAiplatformV1beta1AudioTranscriptionConfigLanguageHints
|
|
805
|
+
# @private
|
|
806
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
807
|
+
collection :language_codes, as: 'languageCodes'
|
|
808
|
+
end
|
|
809
|
+
end
|
|
810
|
+
|
|
811
|
+
class GoogleCloudAiplatformV1beta1AudioTranscriptionWordInfo
|
|
812
|
+
# @private
|
|
813
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
814
|
+
property :end_offset, as: 'endOffset'
|
|
815
|
+
property :start_offset, as: 'startOffset'
|
|
816
|
+
property :word, as: 'word'
|
|
817
|
+
end
|
|
818
|
+
end
|
|
819
|
+
|
|
726
820
|
class GoogleCloudAiplatformV1beta1AuthConfig
|
|
727
821
|
# @private
|
|
728
822
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -835,6 +929,7 @@ module Google
|
|
|
835
929
|
class GoogleCloudAiplatformV1beta1CodeExecutionResult
|
|
836
930
|
# @private
|
|
837
931
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
932
|
+
property :id, as: 'id'
|
|
838
933
|
property :outcome, as: 'outcome'
|
|
839
934
|
property :output, as: 'output'
|
|
840
935
|
end
|
|
@@ -895,6 +990,7 @@ module Google
|
|
|
895
990
|
# @private
|
|
896
991
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
897
992
|
property :code, as: 'code'
|
|
993
|
+
property :id, as: 'id'
|
|
898
994
|
property :language, as: 'language'
|
|
899
995
|
end
|
|
900
996
|
end
|
|
@@ -1087,6 +1183,8 @@ module Google
|
|
|
1087
1183
|
# @private
|
|
1088
1184
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1089
1185
|
property :audio_timestamp, as: 'audioTimestamp'
|
|
1186
|
+
property :audio_transcription_config, as: 'audioTranscriptionConfig', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1AudioTranscriptionConfig, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1AudioTranscriptionConfig::Representation
|
|
1187
|
+
|
|
1090
1188
|
property :candidate_count, as: 'candidateCount'
|
|
1091
1189
|
property :enable_affective_dialog, as: 'enableAffectiveDialog'
|
|
1092
1190
|
property :frequency_penalty, as: 'frequencyPenalty'
|
|
@@ -1164,6 +1262,30 @@ module Google
|
|
|
1164
1262
|
# @private
|
|
1165
1263
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1166
1264
|
property :enable_widget, as: 'enableWidget'
|
|
1265
|
+
property :grounding_types, as: 'groundingTypes', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1GoogleMapsGroundingTypes, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1GoogleMapsGroundingTypes::Representation
|
|
1266
|
+
|
|
1267
|
+
end
|
|
1268
|
+
end
|
|
1269
|
+
|
|
1270
|
+
class GoogleCloudAiplatformV1beta1GoogleMapsGroundingTypes
|
|
1271
|
+
# @private
|
|
1272
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1273
|
+
property :places, as: 'places', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1GoogleMapsPlaces, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1GoogleMapsPlaces::Representation
|
|
1274
|
+
|
|
1275
|
+
property :routing, as: 'routing', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1GoogleMapsRouting, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1GoogleMapsRouting::Representation
|
|
1276
|
+
|
|
1277
|
+
end
|
|
1278
|
+
end
|
|
1279
|
+
|
|
1280
|
+
class GoogleCloudAiplatformV1beta1GoogleMapsPlaces
|
|
1281
|
+
# @private
|
|
1282
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1283
|
+
end
|
|
1284
|
+
end
|
|
1285
|
+
|
|
1286
|
+
class GoogleCloudAiplatformV1beta1GoogleMapsRouting
|
|
1287
|
+
# @private
|
|
1288
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1167
1289
|
end
|
|
1168
1290
|
end
|
|
1169
1291
|
|
|
@@ -1383,6 +1505,8 @@ module Google
|
|
|
1383
1505
|
class GoogleCloudAiplatformV1beta1Part
|
|
1384
1506
|
# @private
|
|
1385
1507
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
1508
|
+
property :audio_transcription, as: 'audioTranscription', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1AudioTranscription, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1AudioTranscription::Representation
|
|
1509
|
+
|
|
1386
1510
|
property :code_execution_result, as: 'codeExecutionResult', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1CodeExecutionResult, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1CodeExecutionResult::Representation
|
|
1387
1511
|
|
|
1388
1512
|
property :executable_code, as: 'executableCode', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1ExecutableCode, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1ExecutableCode::Representation
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: google-apis-firebaseml_v2beta
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.42.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Google LLC
|
|
@@ -57,7 +57,7 @@ licenses:
|
|
|
57
57
|
metadata:
|
|
58
58
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
|
59
59
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-firebaseml_v2beta/CHANGELOG.md
|
|
60
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-firebaseml_v2beta/v0.
|
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-firebaseml_v2beta/v0.42.0
|
|
61
61
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-firebaseml_v2beta
|
|
62
62
|
rdoc_options: []
|
|
63
63
|
require_paths:
|