google-apis-firebaseml_v2beta 0.10.0 → 0.12.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: d8084a85b7c3174e3e27e46ef1f98d9ce300e847d95da1eef177394cc4e03739
|
4
|
+
data.tar.gz: 7526e21defb2f8468f63ae22a43385ed2e3a1cd654380cb5823f15cfd58338a9
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: a54faf1f31515916c4c3b31e4bc47f4c3f1545605f6174a4122ee8c5bd49aaf0a523967c515538abb44541e7303bf371b63d8502192fcdf99b8c7295a0a5adea
|
7
|
+
data.tar.gz: 238cbb156dca3214dda1b191d134669c68b37d40856f2e08f519ba724c0226ea73515105512255d8f9a3d2aa7fc13a926f3884dc43a21138a9fd354ebd28e4f2
|
data/CHANGELOG.md
CHANGED
@@ -1,5 +1,13 @@
|
|
1
1
|
# Release history for google-apis-firebaseml_v2beta
|
2
2
|
|
3
|
+
### v0.12.0 (2024-12-15)
|
4
|
+
|
5
|
+
* Regenerated from discovery document revision 20241211
|
6
|
+
|
7
|
+
### v0.11.0 (2024-12-08)
|
8
|
+
|
9
|
+
* Regenerated from discovery document revision 20241204
|
10
|
+
|
3
11
|
### v0.10.0 (2024-12-02)
|
4
12
|
|
5
13
|
* Regenerated from discovery document revision 20241117
|
@@ -63,7 +63,7 @@ module Google
|
|
63
63
|
end
|
64
64
|
end
|
65
65
|
|
66
|
-
# Content blob.
|
66
|
+
# Content blob.
|
67
67
|
class GoogleCloudAiplatformV1beta1Blob
|
68
68
|
include Google::Apis::Core::Hashable
|
69
69
|
|
@@ -808,6 +808,11 @@ module Google
|
|
808
808
|
# @return [Fixnum]
|
809
809
|
attr_accessor :max_output_tokens
|
810
810
|
|
811
|
+
# Optional. If specified, the media resolution specified will be used.
|
812
|
+
# Corresponds to the JSON property `mediaResolution`
|
813
|
+
# @return [String]
|
814
|
+
attr_accessor :media_resolution
|
815
|
+
|
811
816
|
# Optional. Positive penalties.
|
812
817
|
# Corresponds to the JSON property `presencePenalty`
|
813
818
|
# @return [Float]
|
@@ -828,6 +833,11 @@ module Google
|
|
828
833
|
# @return [String]
|
829
834
|
attr_accessor :response_mime_type
|
830
835
|
|
836
|
+
# Optional. The modalities of the response.
|
837
|
+
# Corresponds to the JSON property `responseModalities`
|
838
|
+
# @return [Array<String>]
|
839
|
+
attr_accessor :response_modalities
|
840
|
+
|
831
841
|
# Schema is used to define the format of input/output data. Represents a select
|
832
842
|
# subset of an [OpenAPI 3.0 schema object](https://spec.openapis.org/oas/v3.0.3#
|
833
843
|
# schema-object). More fields may be added in the future as needed.
|
@@ -845,6 +855,11 @@ module Google
|
|
845
855
|
# @return [Fixnum]
|
846
856
|
attr_accessor :seed
|
847
857
|
|
858
|
+
# The speech generation config.
|
859
|
+
# Corresponds to the JSON property `speechConfig`
|
860
|
+
# @return [Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1SpeechConfig]
|
861
|
+
attr_accessor :speech_config
|
862
|
+
|
848
863
|
# Optional. Stop sequences.
|
849
864
|
# Corresponds to the JSON property `stopSequences`
|
850
865
|
# @return [Array<String>]
|
@@ -876,12 +891,15 @@ module Google
|
|
876
891
|
@frequency_penalty = args[:frequency_penalty] if args.key?(:frequency_penalty)
|
877
892
|
@logprobs = args[:logprobs] if args.key?(:logprobs)
|
878
893
|
@max_output_tokens = args[:max_output_tokens] if args.key?(:max_output_tokens)
|
894
|
+
@media_resolution = args[:media_resolution] if args.key?(:media_resolution)
|
879
895
|
@presence_penalty = args[:presence_penalty] if args.key?(:presence_penalty)
|
880
896
|
@response_logprobs = args[:response_logprobs] if args.key?(:response_logprobs)
|
881
897
|
@response_mime_type = args[:response_mime_type] if args.key?(:response_mime_type)
|
898
|
+
@response_modalities = args[:response_modalities] if args.key?(:response_modalities)
|
882
899
|
@response_schema = args[:response_schema] if args.key?(:response_schema)
|
883
900
|
@routing_config = args[:routing_config] if args.key?(:routing_config)
|
884
901
|
@seed = args[:seed] if args.key?(:seed)
|
902
|
+
@speech_config = args[:speech_config] if args.key?(:speech_config)
|
885
903
|
@stop_sequences = args[:stop_sequences] if args.key?(:stop_sequences)
|
886
904
|
@temperature = args[:temperature] if args.key?(:temperature)
|
887
905
|
@top_k = args[:top_k] if args.key?(:top_k)
|
@@ -1256,7 +1274,7 @@ module Google
|
|
1256
1274
|
# @return [Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1FunctionResponse]
|
1257
1275
|
attr_accessor :function_response
|
1258
1276
|
|
1259
|
-
# Content blob.
|
1277
|
+
# Content blob.
|
1260
1278
|
# Corresponds to the JSON property `inlineData`
|
1261
1279
|
# @return [Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1Blob]
|
1262
1280
|
attr_accessor :inline_data
|
@@ -1288,6 +1306,25 @@ module Google
|
|
1288
1306
|
end
|
1289
1307
|
end
|
1290
1308
|
|
1309
|
+
# The configuration for the prebuilt speaker to use.
|
1310
|
+
class GoogleCloudAiplatformV1beta1PrebuiltVoiceConfig
|
1311
|
+
include Google::Apis::Core::Hashable
|
1312
|
+
|
1313
|
+
# The name of the preset voice to use.
|
1314
|
+
# Corresponds to the JSON property `voiceName`
|
1315
|
+
# @return [String]
|
1316
|
+
attr_accessor :voice_name
|
1317
|
+
|
1318
|
+
def initialize(**args)
|
1319
|
+
update!(**args)
|
1320
|
+
end
|
1321
|
+
|
1322
|
+
# Update properties of this object
|
1323
|
+
def update!(**args)
|
1324
|
+
@voice_name = args[:voice_name] if args.key?(:voice_name)
|
1325
|
+
end
|
1326
|
+
end
|
1327
|
+
|
1291
1328
|
# Specifies the context retrieval config.
|
1292
1329
|
class GoogleCloudAiplatformV1beta1RagRetrievalConfig
|
1293
1330
|
include Google::Apis::Core::Hashable
|
@@ -1809,6 +1846,25 @@ module Google
|
|
1809
1846
|
end
|
1810
1847
|
end
|
1811
1848
|
|
1849
|
+
# The speech generation config.
|
1850
|
+
class GoogleCloudAiplatformV1beta1SpeechConfig
|
1851
|
+
include Google::Apis::Core::Hashable
|
1852
|
+
|
1853
|
+
# The configuration for the voice to use.
|
1854
|
+
# Corresponds to the JSON property `voiceConfig`
|
1855
|
+
# @return [Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1VoiceConfig]
|
1856
|
+
attr_accessor :voice_config
|
1857
|
+
|
1858
|
+
def initialize(**args)
|
1859
|
+
update!(**args)
|
1860
|
+
end
|
1861
|
+
|
1862
|
+
# Update properties of this object
|
1863
|
+
def update!(**args)
|
1864
|
+
@voice_config = args[:voice_config] if args.key?(:voice_config)
|
1865
|
+
end
|
1866
|
+
end
|
1867
|
+
|
1812
1868
|
# Tool details that the model may use to generate response. A `Tool` is a piece
|
1813
1869
|
# of code that enables the system to interact with external systems to perform
|
1814
1870
|
# an action, or set of actions, outside of knowledge and scope of the model. A
|
@@ -1834,6 +1890,12 @@ module Google
|
|
1834
1890
|
# @return [Array<Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1FunctionDeclaration>]
|
1835
1891
|
attr_accessor :function_declarations
|
1836
1892
|
|
1893
|
+
# GoogleSearch tool type. Tool to support Google Search in Model. Powered by
|
1894
|
+
# Google.
|
1895
|
+
# Corresponds to the JSON property `googleSearch`
|
1896
|
+
# @return [Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1ToolGoogleSearch]
|
1897
|
+
attr_accessor :google_search
|
1898
|
+
|
1837
1899
|
# Tool to retrieve public web data for grounding, powered by Google.
|
1838
1900
|
# Corresponds to the JSON property `googleSearchRetrieval`
|
1839
1901
|
# @return [Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1GoogleSearchRetrieval]
|
@@ -1852,6 +1914,7 @@ module Google
|
|
1852
1914
|
def update!(**args)
|
1853
1915
|
@code_execution = args[:code_execution] if args.key?(:code_execution)
|
1854
1916
|
@function_declarations = args[:function_declarations] if args.key?(:function_declarations)
|
1917
|
+
@google_search = args[:google_search] if args.key?(:google_search)
|
1855
1918
|
@google_search_retrieval = args[:google_search_retrieval] if args.key?(:google_search_retrieval)
|
1856
1919
|
@retrieval = args[:retrieval] if args.key?(:retrieval)
|
1857
1920
|
end
|
@@ -1891,6 +1954,20 @@ module Google
|
|
1891
1954
|
end
|
1892
1955
|
end
|
1893
1956
|
|
1957
|
+
# GoogleSearch tool type. Tool to support Google Search in Model. Powered by
|
1958
|
+
# Google.
|
1959
|
+
class GoogleCloudAiplatformV1beta1ToolGoogleSearch
|
1960
|
+
include Google::Apis::Core::Hashable
|
1961
|
+
|
1962
|
+
def initialize(**args)
|
1963
|
+
update!(**args)
|
1964
|
+
end
|
1965
|
+
|
1966
|
+
# Update properties of this object
|
1967
|
+
def update!(**args)
|
1968
|
+
end
|
1969
|
+
end
|
1970
|
+
|
1894
1971
|
# Retrieve from Vertex AI Search datastore for grounding. See https://cloud.
|
1895
1972
|
# google.com/products/agent-builder
|
1896
1973
|
class GoogleCloudAiplatformV1beta1VertexAiSearch
|
@@ -2010,6 +2087,25 @@ module Google
|
|
2010
2087
|
end
|
2011
2088
|
end
|
2012
2089
|
|
2090
|
+
# The configuration for the voice to use.
|
2091
|
+
class GoogleCloudAiplatformV1beta1VoiceConfig
|
2092
|
+
include Google::Apis::Core::Hashable
|
2093
|
+
|
2094
|
+
# The configuration for the prebuilt speaker to use.
|
2095
|
+
# Corresponds to the JSON property `prebuiltVoiceConfig`
|
2096
|
+
# @return [Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1PrebuiltVoiceConfig]
|
2097
|
+
attr_accessor :prebuilt_voice_config
|
2098
|
+
|
2099
|
+
def initialize(**args)
|
2100
|
+
update!(**args)
|
2101
|
+
end
|
2102
|
+
|
2103
|
+
# Update properties of this object
|
2104
|
+
def update!(**args)
|
2105
|
+
@prebuilt_voice_config = args[:prebuilt_voice_config] if args.key?(:prebuilt_voice_config)
|
2106
|
+
end
|
2107
|
+
end
|
2108
|
+
|
2013
2109
|
# This is returned in the longrunning operations for create/update.
|
2014
2110
|
class ModelOperationMetadata
|
2015
2111
|
include Google::Apis::Core::Hashable
|
@@ -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.12.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.15.1"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20241211"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -226,6 +226,12 @@ module Google
|
|
226
226
|
include Google::Apis::Core::JsonObjectSupport
|
227
227
|
end
|
228
228
|
|
229
|
+
class GoogleCloudAiplatformV1beta1PrebuiltVoiceConfig
|
230
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
231
|
+
|
232
|
+
include Google::Apis::Core::JsonObjectSupport
|
233
|
+
end
|
234
|
+
|
229
235
|
class GoogleCloudAiplatformV1beta1RagRetrievalConfig
|
230
236
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
231
237
|
|
@@ -304,6 +310,12 @@ module Google
|
|
304
310
|
include Google::Apis::Core::JsonObjectSupport
|
305
311
|
end
|
306
312
|
|
313
|
+
class GoogleCloudAiplatformV1beta1SpeechConfig
|
314
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
315
|
+
|
316
|
+
include Google::Apis::Core::JsonObjectSupport
|
317
|
+
end
|
318
|
+
|
307
319
|
class GoogleCloudAiplatformV1beta1Tool
|
308
320
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
309
321
|
|
@@ -322,6 +334,12 @@ module Google
|
|
322
334
|
include Google::Apis::Core::JsonObjectSupport
|
323
335
|
end
|
324
336
|
|
337
|
+
class GoogleCloudAiplatformV1beta1ToolGoogleSearch
|
338
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
339
|
+
|
340
|
+
include Google::Apis::Core::JsonObjectSupport
|
341
|
+
end
|
342
|
+
|
325
343
|
class GoogleCloudAiplatformV1beta1VertexAiSearch
|
326
344
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
327
345
|
|
@@ -346,6 +364,12 @@ module Google
|
|
346
364
|
include Google::Apis::Core::JsonObjectSupport
|
347
365
|
end
|
348
366
|
|
367
|
+
class GoogleCloudAiplatformV1beta1VoiceConfig
|
368
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
369
|
+
|
370
|
+
include Google::Apis::Core::JsonObjectSupport
|
371
|
+
end
|
372
|
+
|
349
373
|
class ModelOperationMetadata
|
350
374
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
351
375
|
|
@@ -572,14 +596,18 @@ module Google
|
|
572
596
|
property :frequency_penalty, as: 'frequencyPenalty'
|
573
597
|
property :logprobs, as: 'logprobs'
|
574
598
|
property :max_output_tokens, as: 'maxOutputTokens'
|
599
|
+
property :media_resolution, as: 'mediaResolution'
|
575
600
|
property :presence_penalty, as: 'presencePenalty'
|
576
601
|
property :response_logprobs, as: 'responseLogprobs'
|
577
602
|
property :response_mime_type, as: 'responseMimeType'
|
603
|
+
collection :response_modalities, as: 'responseModalities'
|
578
604
|
property :response_schema, as: 'responseSchema', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1Schema, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1Schema::Representation
|
579
605
|
|
580
606
|
property :routing_config, as: 'routingConfig', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1GenerationConfigRoutingConfig, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1GenerationConfigRoutingConfig::Representation
|
581
607
|
|
582
608
|
property :seed, as: 'seed'
|
609
|
+
property :speech_config, as: 'speechConfig', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1SpeechConfig, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1SpeechConfig::Representation
|
610
|
+
|
583
611
|
collection :stop_sequences, as: 'stopSequences'
|
584
612
|
property :temperature, as: 'temperature'
|
585
613
|
property :top_k, as: 'topK'
|
@@ -720,6 +748,13 @@ module Google
|
|
720
748
|
end
|
721
749
|
end
|
722
750
|
|
751
|
+
class GoogleCloudAiplatformV1beta1PrebuiltVoiceConfig
|
752
|
+
# @private
|
753
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
754
|
+
property :voice_name, as: 'voiceName'
|
755
|
+
end
|
756
|
+
end
|
757
|
+
|
723
758
|
class GoogleCloudAiplatformV1beta1RagRetrievalConfig
|
724
759
|
# @private
|
725
760
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -861,6 +896,14 @@ module Google
|
|
861
896
|
end
|
862
897
|
end
|
863
898
|
|
899
|
+
class GoogleCloudAiplatformV1beta1SpeechConfig
|
900
|
+
# @private
|
901
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
902
|
+
property :voice_config, as: 'voiceConfig', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1VoiceConfig, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1VoiceConfig::Representation
|
903
|
+
|
904
|
+
end
|
905
|
+
end
|
906
|
+
|
864
907
|
class GoogleCloudAiplatformV1beta1Tool
|
865
908
|
# @private
|
866
909
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -868,6 +911,8 @@ module Google
|
|
868
911
|
|
869
912
|
collection :function_declarations, as: 'functionDeclarations', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1FunctionDeclaration, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1FunctionDeclaration::Representation
|
870
913
|
|
914
|
+
property :google_search, as: 'googleSearch', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1ToolGoogleSearch, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1ToolGoogleSearch::Representation
|
915
|
+
|
871
916
|
property :google_search_retrieval, as: 'googleSearchRetrieval', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1GoogleSearchRetrieval, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1GoogleSearchRetrieval::Representation
|
872
917
|
|
873
918
|
property :retrieval, as: 'retrieval', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1Retrieval, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1Retrieval::Representation
|
@@ -889,6 +934,12 @@ module Google
|
|
889
934
|
end
|
890
935
|
end
|
891
936
|
|
937
|
+
class GoogleCloudAiplatformV1beta1ToolGoogleSearch
|
938
|
+
# @private
|
939
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
940
|
+
end
|
941
|
+
end
|
942
|
+
|
892
943
|
class GoogleCloudAiplatformV1beta1VertexAiSearch
|
893
944
|
# @private
|
894
945
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -925,6 +976,14 @@ module Google
|
|
925
976
|
end
|
926
977
|
end
|
927
978
|
|
979
|
+
class GoogleCloudAiplatformV1beta1VoiceConfig
|
980
|
+
# @private
|
981
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
982
|
+
property :prebuilt_voice_config, as: 'prebuiltVoiceConfig', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1PrebuiltVoiceConfig, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1PrebuiltVoiceConfig::Representation
|
983
|
+
|
984
|
+
end
|
985
|
+
end
|
986
|
+
|
928
987
|
class ModelOperationMetadata
|
929
988
|
# @private
|
930
989
|
class Representation < Google::Apis::Core::JsonRepresentation
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
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.12.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2024-12-
|
11
|
+
date: 2024-12-15 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: google-apis-core
|
@@ -58,7 +58,7 @@ licenses:
|
|
58
58
|
metadata:
|
59
59
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
60
60
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-firebaseml_v2beta/CHANGELOG.md
|
61
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-firebaseml_v2beta/v0.
|
61
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-firebaseml_v2beta/v0.12.0
|
62
62
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-firebaseml_v2beta
|
63
63
|
post_install_message:
|
64
64
|
rdoc_options: []
|
@@ -75,7 +75,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
75
75
|
- !ruby/object:Gem::Version
|
76
76
|
version: '0'
|
77
77
|
requirements: []
|
78
|
-
rubygems_version: 3.5.
|
78
|
+
rubygems_version: 3.5.23
|
79
79
|
signing_key:
|
80
80
|
specification_version: 4
|
81
81
|
summary: Simple REST client for Firebase ML API V2beta
|