Skip to content

Commit 77910d9

Browse files
feat: Automated regeneration of firebaseml v2beta client (googleapis#20955)
Auto-created at 2024-12-08 10:30:05 +0000 using the toys pull request generator.
1 parent cffd44e commit 77910d9

File tree

5 files changed

+173
-2
lines changed

5 files changed

+173
-2
lines changed

api_names_out.yaml

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -224140,12 +224140,16 @@
224140224140
"/firebaseml:v2beta/GoogleCloudAiplatformV1beta1GenerationConfig/frequencyPenalty": frequency_penalty
224141224141
"/firebaseml:v2beta/GoogleCloudAiplatformV1beta1GenerationConfig/logprobs": logprobs
224142224142
"/firebaseml:v2beta/GoogleCloudAiplatformV1beta1GenerationConfig/maxOutputTokens": max_output_tokens
224143+
"/firebaseml:v2beta/GoogleCloudAiplatformV1beta1GenerationConfig/mediaResolution": media_resolution
224143224144
"/firebaseml:v2beta/GoogleCloudAiplatformV1beta1GenerationConfig/presencePenalty": presence_penalty
224144224145
"/firebaseml:v2beta/GoogleCloudAiplatformV1beta1GenerationConfig/responseLogprobs": response_logprobs
224145224146
"/firebaseml:v2beta/GoogleCloudAiplatformV1beta1GenerationConfig/responseMimeType": response_mime_type
224147+
"/firebaseml:v2beta/GoogleCloudAiplatformV1beta1GenerationConfig/responseModalities": response_modalities
224148+
"/firebaseml:v2beta/GoogleCloudAiplatformV1beta1GenerationConfig/responseModalities/response_modality": response_modality
224146224149
"/firebaseml:v2beta/GoogleCloudAiplatformV1beta1GenerationConfig/responseSchema": response_schema
224147224150
"/firebaseml:v2beta/GoogleCloudAiplatformV1beta1GenerationConfig/routingConfig": routing_config
224148224151
"/firebaseml:v2beta/GoogleCloudAiplatformV1beta1GenerationConfig/seed": seed
224152+
"/firebaseml:v2beta/GoogleCloudAiplatformV1beta1GenerationConfig/speechConfig": speech_config
224149224153
"/firebaseml:v2beta/GoogleCloudAiplatformV1beta1GenerationConfig/stopSequences": stop_sequences
224150224154
"/firebaseml:v2beta/GoogleCloudAiplatformV1beta1GenerationConfig/stopSequences/stop_sequence": stop_sequence
224151224155
"/firebaseml:v2beta/GoogleCloudAiplatformV1beta1GenerationConfig/temperature": temperature
@@ -224221,6 +224225,8 @@
224221224225
"/firebaseml:v2beta/GoogleCloudAiplatformV1beta1Part/inlineData": inline_data
224222224226
"/firebaseml:v2beta/GoogleCloudAiplatformV1beta1Part/text": text
224223224227
"/firebaseml:v2beta/GoogleCloudAiplatformV1beta1Part/videoMetadata": video_metadata
224228+
"/firebaseml:v2beta/GoogleCloudAiplatformV1beta1PrebuiltVoiceConfig": google_cloud_aiplatform_v1beta1_prebuilt_voice_config
224229+
"/firebaseml:v2beta/GoogleCloudAiplatformV1beta1PrebuiltVoiceConfig/voiceName": voice_name
224224224230
"/firebaseml:v2beta/GoogleCloudAiplatformV1beta1RagRetrievalConfig": google_cloud_aiplatform_v1beta1_rag_retrieval_config
224225224231
"/firebaseml:v2beta/GoogleCloudAiplatformV1beta1RagRetrievalConfig/filter": filter
224226224232
"/firebaseml:v2beta/GoogleCloudAiplatformV1beta1RagRetrievalConfig/hybridSearch": hybrid_search
@@ -224292,15 +224298,19 @@
224292224298
"/firebaseml:v2beta/GoogleCloudAiplatformV1beta1Segment/partIndex": part_index
224293224299
"/firebaseml:v2beta/GoogleCloudAiplatformV1beta1Segment/startIndex": start_index
224294224300
"/firebaseml:v2beta/GoogleCloudAiplatformV1beta1Segment/text": text
224301+
"/firebaseml:v2beta/GoogleCloudAiplatformV1beta1SpeechConfig": google_cloud_aiplatform_v1beta1_speech_config
224302+
"/firebaseml:v2beta/GoogleCloudAiplatformV1beta1SpeechConfig/voiceConfig": voice_config
224295224303
"/firebaseml:v2beta/GoogleCloudAiplatformV1beta1Tool": google_cloud_aiplatform_v1beta1_tool
224296224304
"/firebaseml:v2beta/GoogleCloudAiplatformV1beta1Tool/codeExecution": code_execution
224297224305
"/firebaseml:v2beta/GoogleCloudAiplatformV1beta1Tool/functionDeclarations": function_declarations
224298224306
"/firebaseml:v2beta/GoogleCloudAiplatformV1beta1Tool/functionDeclarations/function_declaration": function_declaration
224307+
"/firebaseml:v2beta/GoogleCloudAiplatformV1beta1Tool/googleSearch": google_search
224299224308
"/firebaseml:v2beta/GoogleCloudAiplatformV1beta1Tool/googleSearchRetrieval": google_search_retrieval
224300224309
"/firebaseml:v2beta/GoogleCloudAiplatformV1beta1Tool/retrieval": retrieval
224301224310
"/firebaseml:v2beta/GoogleCloudAiplatformV1beta1ToolCodeExecution": google_cloud_aiplatform_v1beta1_tool_code_execution
224302224311
"/firebaseml:v2beta/GoogleCloudAiplatformV1beta1ToolConfig": google_cloud_aiplatform_v1beta1_tool_config
224303224312
"/firebaseml:v2beta/GoogleCloudAiplatformV1beta1ToolConfig/functionCallingConfig": function_calling_config
224313+
"/firebaseml:v2beta/GoogleCloudAiplatformV1beta1ToolGoogleSearch": google_cloud_aiplatform_v1beta1_tool_google_search
224304224314
"/firebaseml:v2beta/GoogleCloudAiplatformV1beta1VertexAISearch": google_cloud_aiplatform_v1beta1_vertex_ai_search
224305224315
"/firebaseml:v2beta/GoogleCloudAiplatformV1beta1VertexAISearch/datastore": datastore
224306224316
"/firebaseml:v2beta/GoogleCloudAiplatformV1beta1VertexRagStore": google_cloud_aiplatform_v1beta1_vertex_rag_store
@@ -224318,6 +224328,8 @@
224318224328
"/firebaseml:v2beta/GoogleCloudAiplatformV1beta1VideoMetadata": google_cloud_aiplatform_v1beta1_video_metadata
224319224329
"/firebaseml:v2beta/GoogleCloudAiplatformV1beta1VideoMetadata/endOffset": end_offset
224320224330
"/firebaseml:v2beta/GoogleCloudAiplatformV1beta1VideoMetadata/startOffset": start_offset
224331+
"/firebaseml:v2beta/GoogleCloudAiplatformV1beta1VoiceConfig": google_cloud_aiplatform_v1beta1_voice_config
224332+
"/firebaseml:v2beta/GoogleCloudAiplatformV1beta1VoiceConfig/prebuiltVoiceConfig": prebuilt_voice_config
224321224333
"/firebaseml:v2beta/GoogleSearchRetrieval": google_search_retrieval
224322224334
"/firebaseml:v2beta/GroundingAttribution": grounding_attribution
224323224335
"/firebaseml:v2beta/GroundingAttribution/confidenceScore": confidence_score

generated/google-apis-firebaseml_v2beta/CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
# Release history for google-apis-firebaseml_v2beta
22

3+
### v0.11.0 (2024-12-08)
4+
5+
* Regenerated from discovery document revision 20241204
6+
37
### v0.10.0 (2024-12-02)
48

59
* Regenerated from discovery document revision 20241117

generated/google-apis-firebaseml_v2beta/lib/google/apis/firebaseml_v2beta/classes.rb

Lines changed: 96 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -808,6 +808,11 @@ class GoogleCloudAiplatformV1beta1GenerationConfig
808808
# @return [Fixnum]
809809
attr_accessor :max_output_tokens
810810

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+
811816
# Optional. Positive penalties.
812817
# Corresponds to the JSON property `presencePenalty`
813818
# @return [Float]
@@ -828,6 +833,11 @@ class GoogleCloudAiplatformV1beta1GenerationConfig
828833
# @return [String]
829834
attr_accessor :response_mime_type
830835

836+
# Optional. The modalities of the response.
837+
# Corresponds to the JSON property `responseModalities`
838+
# @return [Array<String>]
839+
attr_accessor :response_modalities
840+
831841
# Schema is used to define the format of input/output data. Represents a select
832842
# subset of an [OpenAPI 3.0 schema object](https://spec.openapis.org/oas/v3.0.3#
833843
# schema-object). More fields may be added in the future as needed.
@@ -845,6 +855,11 @@ class GoogleCloudAiplatformV1beta1GenerationConfig
845855
# @return [Fixnum]
846856
attr_accessor :seed
847857

858+
# The speech generation config.
859+
# Corresponds to the JSON property `speechConfig`
860+
# @return [Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1SpeechConfig]
861+
attr_accessor :speech_config
862+
848863
# Optional. Stop sequences.
849864
# Corresponds to the JSON property `stopSequences`
850865
# @return [Array<String>]
@@ -876,12 +891,15 @@ def update!(**args)
876891
@frequency_penalty = args[:frequency_penalty] if args.key?(:frequency_penalty)
877892
@logprobs = args[:logprobs] if args.key?(:logprobs)
878893
@max_output_tokens = args[:max_output_tokens] if args.key?(:max_output_tokens)
894+
@media_resolution = args[:media_resolution] if args.key?(:media_resolution)
879895
@presence_penalty = args[:presence_penalty] if args.key?(:presence_penalty)
880896
@response_logprobs = args[:response_logprobs] if args.key?(:response_logprobs)
881897
@response_mime_type = args[:response_mime_type] if args.key?(:response_mime_type)
898+
@response_modalities = args[:response_modalities] if args.key?(:response_modalities)
882899
@response_schema = args[:response_schema] if args.key?(:response_schema)
883900
@routing_config = args[:routing_config] if args.key?(:routing_config)
884901
@seed = args[:seed] if args.key?(:seed)
902+
@speech_config = args[:speech_config] if args.key?(:speech_config)
885903
@stop_sequences = args[:stop_sequences] if args.key?(:stop_sequences)
886904
@temperature = args[:temperature] if args.key?(:temperature)
887905
@top_k = args[:top_k] if args.key?(:top_k)
@@ -1288,6 +1306,25 @@ def update!(**args)
12881306
end
12891307
end
12901308

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+
12911328
# Specifies the context retrieval config.
12921329
class GoogleCloudAiplatformV1beta1RagRetrievalConfig
12931330
include Google::Apis::Core::Hashable
@@ -1809,6 +1846,25 @@ def update!(**args)
18091846
end
18101847
end
18111848

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+
18121868
# Tool details that the model may use to generate response. A `Tool` is a piece
18131869
# of code that enables the system to interact with external systems to perform
18141870
# an action, or set of actions, outside of knowledge and scope of the model. A
@@ -1834,6 +1890,12 @@ class GoogleCloudAiplatformV1beta1Tool
18341890
# @return [Array<Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1FunctionDeclaration>]
18351891
attr_accessor :function_declarations
18361892

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+
18371899
# Tool to retrieve public web data for grounding, powered by Google.
18381900
# Corresponds to the JSON property `googleSearchRetrieval`
18391901
# @return [Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1GoogleSearchRetrieval]
@@ -1852,6 +1914,7 @@ def initialize(**args)
18521914
def update!(**args)
18531915
@code_execution = args[:code_execution] if args.key?(:code_execution)
18541916
@function_declarations = args[:function_declarations] if args.key?(:function_declarations)
1917+
@google_search = args[:google_search] if args.key?(:google_search)
18551918
@google_search_retrieval = args[:google_search_retrieval] if args.key?(:google_search_retrieval)
18561919
@retrieval = args[:retrieval] if args.key?(:retrieval)
18571920
end
@@ -1891,6 +1954,20 @@ def update!(**args)
18911954
end
18921955
end
18931956

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+
18941971
# Retrieve from Vertex AI Search datastore for grounding. See https://cloud.
18951972
# google.com/products/agent-builder
18961973
class GoogleCloudAiplatformV1beta1VertexAiSearch
@@ -2010,6 +2087,25 @@ def update!(**args)
20102087
end
20112088
end
20122089

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+
20132109
# This is returned in the longrunning operations for create/update.
20142110
class ModelOperationMetadata
20152111
include Google::Apis::Core::Hashable

generated/google-apis-firebaseml_v2beta/lib/google/apis/firebaseml_v2beta/gem_version.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,13 +16,13 @@ module Google
1616
module Apis
1717
module FirebasemlV2beta
1818
# Version of the google-apis-firebaseml_v2beta gem
19-
GEM_VERSION = "0.10.0"
19+
GEM_VERSION = "0.11.0"
2020

2121
# Version of the code generator used to generate this client
2222
GENERATOR_VERSION = "0.15.1"
2323

2424
# Revision of the discovery document this client was generated from
25-
REVISION = "20241117"
25+
REVISION = "20241204"
2626
end
2727
end
2828
end

0 commit comments

Comments
 (0)