google-apis-firebaseml_v2beta 0.9.0 → 0.11.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.
@@ -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.9.0"
19
+ GEM_VERSION = "0.11.0"
20
20
 
21
21
  # Version of the code generator used to generate this client
22
- GENERATOR_VERSION = "0.15.0"
22
+ GENERATOR_VERSION = "0.15.1"
23
23
 
24
24
  # Revision of the discovery document this client was generated from
25
- REVISION = "20240722"
25
+ REVISION = "20241204"
26
26
  end
27
27
  end
28
28
  end
@@ -52,6 +52,12 @@ module Google
52
52
  include Google::Apis::Core::JsonObjectSupport
53
53
  end
54
54
 
55
+ class GoogleCloudAiplatformV1beta1CodeExecutionResult
56
+ class Representation < Google::Apis::Core::JsonRepresentation; end
57
+
58
+ include Google::Apis::Core::JsonObjectSupport
59
+ end
60
+
55
61
  class GoogleCloudAiplatformV1beta1Content
56
62
  class Representation < Google::Apis::Core::JsonRepresentation; end
57
63
 
@@ -70,6 +76,18 @@ module Google
70
76
  include Google::Apis::Core::JsonObjectSupport
71
77
  end
72
78
 
79
+ class GoogleCloudAiplatformV1beta1DynamicRetrievalConfig
80
+ class Representation < Google::Apis::Core::JsonRepresentation; end
81
+
82
+ include Google::Apis::Core::JsonObjectSupport
83
+ end
84
+
85
+ class GoogleCloudAiplatformV1beta1ExecutableCode
86
+ class Representation < Google::Apis::Core::JsonRepresentation; end
87
+
88
+ include Google::Apis::Core::JsonObjectSupport
89
+ end
90
+
73
91
  class GoogleCloudAiplatformV1beta1FileData
74
92
  class Representation < Google::Apis::Core::JsonRepresentation; end
75
93
 
@@ -130,6 +148,24 @@ module Google
130
148
  include Google::Apis::Core::JsonObjectSupport
131
149
  end
132
150
 
151
+ class GoogleCloudAiplatformV1beta1GenerationConfigRoutingConfig
152
+ class Representation < Google::Apis::Core::JsonRepresentation; end
153
+
154
+ include Google::Apis::Core::JsonObjectSupport
155
+ end
156
+
157
+ class GoogleCloudAiplatformV1beta1GenerationConfigRoutingConfigAutoRoutingMode
158
+ class Representation < Google::Apis::Core::JsonRepresentation; end
159
+
160
+ include Google::Apis::Core::JsonObjectSupport
161
+ end
162
+
163
+ class GoogleCloudAiplatformV1beta1GenerationConfigRoutingConfigManualRoutingMode
164
+ class Representation < Google::Apis::Core::JsonRepresentation; end
165
+
166
+ include Google::Apis::Core::JsonObjectSupport
167
+ end
168
+
133
169
  class GoogleCloudAiplatformV1beta1GoogleSearchRetrieval
134
170
  class Representation < Google::Apis::Core::JsonRepresentation; end
135
171
 
@@ -166,18 +202,84 @@ module Google
166
202
  include Google::Apis::Core::JsonObjectSupport
167
203
  end
168
204
 
205
+ class GoogleCloudAiplatformV1beta1LogprobsResult
206
+ class Representation < Google::Apis::Core::JsonRepresentation; end
207
+
208
+ include Google::Apis::Core::JsonObjectSupport
209
+ end
210
+
211
+ class GoogleCloudAiplatformV1beta1LogprobsResultCandidate
212
+ class Representation < Google::Apis::Core::JsonRepresentation; end
213
+
214
+ include Google::Apis::Core::JsonObjectSupport
215
+ end
216
+
217
+ class GoogleCloudAiplatformV1beta1LogprobsResultTopCandidates
218
+ class Representation < Google::Apis::Core::JsonRepresentation; end
219
+
220
+ include Google::Apis::Core::JsonObjectSupport
221
+ end
222
+
169
223
  class GoogleCloudAiplatformV1beta1Part
170
224
  class Representation < Google::Apis::Core::JsonRepresentation; end
171
225
 
172
226
  include Google::Apis::Core::JsonObjectSupport
173
227
  end
174
228
 
229
+ class GoogleCloudAiplatformV1beta1PrebuiltVoiceConfig
230
+ class Representation < Google::Apis::Core::JsonRepresentation; end
231
+
232
+ include Google::Apis::Core::JsonObjectSupport
233
+ end
234
+
235
+ class GoogleCloudAiplatformV1beta1RagRetrievalConfig
236
+ class Representation < Google::Apis::Core::JsonRepresentation; end
237
+
238
+ include Google::Apis::Core::JsonObjectSupport
239
+ end
240
+
241
+ class GoogleCloudAiplatformV1beta1RagRetrievalConfigFilter
242
+ class Representation < Google::Apis::Core::JsonRepresentation; end
243
+
244
+ include Google::Apis::Core::JsonObjectSupport
245
+ end
246
+
247
+ class GoogleCloudAiplatformV1beta1RagRetrievalConfigHybridSearch
248
+ class Representation < Google::Apis::Core::JsonRepresentation; end
249
+
250
+ include Google::Apis::Core::JsonObjectSupport
251
+ end
252
+
253
+ class GoogleCloudAiplatformV1beta1RagRetrievalConfigRanking
254
+ class Representation < Google::Apis::Core::JsonRepresentation; end
255
+
256
+ include Google::Apis::Core::JsonObjectSupport
257
+ end
258
+
259
+ class GoogleCloudAiplatformV1beta1RagRetrievalConfigRankingLlmRanker
260
+ class Representation < Google::Apis::Core::JsonRepresentation; end
261
+
262
+ include Google::Apis::Core::JsonObjectSupport
263
+ end
264
+
265
+ class GoogleCloudAiplatformV1beta1RagRetrievalConfigRankingRankService
266
+ class Representation < Google::Apis::Core::JsonRepresentation; end
267
+
268
+ include Google::Apis::Core::JsonObjectSupport
269
+ end
270
+
175
271
  class GoogleCloudAiplatformV1beta1Retrieval
176
272
  class Representation < Google::Apis::Core::JsonRepresentation; end
177
273
 
178
274
  include Google::Apis::Core::JsonObjectSupport
179
275
  end
180
276
 
277
+ class GoogleCloudAiplatformV1beta1RetrievalMetadata
278
+ class Representation < Google::Apis::Core::JsonRepresentation; end
279
+
280
+ include Google::Apis::Core::JsonObjectSupport
281
+ end
282
+
181
283
  class GoogleCloudAiplatformV1beta1SafetyRating
182
284
  class Representation < Google::Apis::Core::JsonRepresentation; end
183
285
 
@@ -208,18 +310,36 @@ module Google
208
310
  include Google::Apis::Core::JsonObjectSupport
209
311
  end
210
312
 
313
+ class GoogleCloudAiplatformV1beta1SpeechConfig
314
+ class Representation < Google::Apis::Core::JsonRepresentation; end
315
+
316
+ include Google::Apis::Core::JsonObjectSupport
317
+ end
318
+
211
319
  class GoogleCloudAiplatformV1beta1Tool
212
320
  class Representation < Google::Apis::Core::JsonRepresentation; end
213
321
 
214
322
  include Google::Apis::Core::JsonObjectSupport
215
323
  end
216
324
 
325
+ class GoogleCloudAiplatformV1beta1ToolCodeExecution
326
+ class Representation < Google::Apis::Core::JsonRepresentation; end
327
+
328
+ include Google::Apis::Core::JsonObjectSupport
329
+ end
330
+
217
331
  class GoogleCloudAiplatformV1beta1ToolConfig
218
332
  class Representation < Google::Apis::Core::JsonRepresentation; end
219
333
 
220
334
  include Google::Apis::Core::JsonObjectSupport
221
335
  end
222
336
 
337
+ class GoogleCloudAiplatformV1beta1ToolGoogleSearch
338
+ class Representation < Google::Apis::Core::JsonRepresentation; end
339
+
340
+ include Google::Apis::Core::JsonObjectSupport
341
+ end
342
+
223
343
  class GoogleCloudAiplatformV1beta1VertexAiSearch
224
344
  class Representation < Google::Apis::Core::JsonRepresentation; end
225
345
 
@@ -244,6 +364,12 @@ module Google
244
364
  include Google::Apis::Core::JsonObjectSupport
245
365
  end
246
366
 
367
+ class GoogleCloudAiplatformV1beta1VoiceConfig
368
+ class Representation < Google::Apis::Core::JsonRepresentation; end
369
+
370
+ include Google::Apis::Core::JsonObjectSupport
371
+ end
372
+
247
373
  class ModelOperationMetadata
248
374
  class Representation < Google::Apis::Core::JsonRepresentation; end
249
375
 
@@ -270,6 +396,7 @@ module Google
270
396
  class GoogleCloudAiplatformV1beta1Candidate
271
397
  # @private
272
398
  class Representation < Google::Apis::Core::JsonRepresentation
399
+ property :avg_logprobs, as: 'avgLogprobs'
273
400
  property :citation_metadata, as: 'citationMetadata', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1CitationMetadata, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1CitationMetadata::Representation
274
401
 
275
402
  property :content, as: 'content', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1Content, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1Content::Representation
@@ -279,6 +406,8 @@ module Google
279
406
  property :grounding_metadata, as: 'groundingMetadata', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1GroundingMetadata, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1GroundingMetadata::Representation
280
407
 
281
408
  property :index, as: 'index'
409
+ property :logprobs_result, as: 'logprobsResult', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1LogprobsResult, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1LogprobsResult::Representation
410
+
282
411
  collection :safety_ratings, as: 'safetyRatings', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1SafetyRating, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1SafetyRating::Representation
283
412
 
284
413
  end
@@ -305,6 +434,14 @@ module Google
305
434
  end
306
435
  end
307
436
 
437
+ class GoogleCloudAiplatformV1beta1CodeExecutionResult
438
+ # @private
439
+ class Representation < Google::Apis::Core::JsonRepresentation
440
+ property :outcome, as: 'outcome'
441
+ property :output, as: 'output'
442
+ end
443
+ end
444
+
308
445
  class GoogleCloudAiplatformV1beta1Content
309
446
  # @private
310
447
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -319,6 +456,8 @@ module Google
319
456
  class Representation < Google::Apis::Core::JsonRepresentation
320
457
  collection :contents, as: 'contents', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1Content, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1Content::Representation
321
458
 
459
+ property :generation_config, as: 'generationConfig', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1GenerationConfig, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1GenerationConfig::Representation
460
+
322
461
  collection :instances, as: 'instances'
323
462
  property :model, as: 'model'
324
463
  property :system_instruction, as: 'systemInstruction', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1Content, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1Content::Representation
@@ -336,6 +475,22 @@ module Google
336
475
  end
337
476
  end
338
477
 
478
+ class GoogleCloudAiplatformV1beta1DynamicRetrievalConfig
479
+ # @private
480
+ class Representation < Google::Apis::Core::JsonRepresentation
481
+ property :dynamic_threshold, as: 'dynamicThreshold'
482
+ property :mode, as: 'mode'
483
+ end
484
+ end
485
+
486
+ class GoogleCloudAiplatformV1beta1ExecutableCode
487
+ # @private
488
+ class Representation < Google::Apis::Core::JsonRepresentation
489
+ property :code, as: 'code'
490
+ property :language, as: 'language'
491
+ end
492
+ end
493
+
339
494
  class GoogleCloudAiplatformV1beta1FileData
340
495
  # @private
341
496
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -388,6 +543,7 @@ module Google
388
543
 
389
544
  property :generation_config, as: 'generationConfig', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1GenerationConfig, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1GenerationConfig::Representation
390
545
 
546
+ hash :labels, as: 'labels'
391
547
  collection :safety_settings, as: 'safetySettings', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1SafetySetting, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1SafetySetting::Representation
392
548
 
393
549
  property :system_instruction, as: 'systemInstruction', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1Content, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1Content::Representation
@@ -404,6 +560,7 @@ module Google
404
560
  class Representation < Google::Apis::Core::JsonRepresentation
405
561
  collection :candidates, as: 'candidates', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1Candidate, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1Candidate::Representation
406
562
 
563
+ property :model_version, as: 'modelVersion'
407
564
  property :prompt_feedback, as: 'promptFeedback', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1GenerateContentResponsePromptFeedback, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1GenerateContentResponsePromptFeedback::Representation
408
565
 
409
566
  property :usage_metadata, as: 'usageMetadata', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1GenerateContentResponseUsageMetadata, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1GenerateContentResponseUsageMetadata::Representation
@@ -424,6 +581,7 @@ module Google
424
581
  class GoogleCloudAiplatformV1beta1GenerateContentResponseUsageMetadata
425
582
  # @private
426
583
  class Representation < Google::Apis::Core::JsonRepresentation
584
+ property :cached_content_token_count, as: 'cachedContentTokenCount'
427
585
  property :candidates_token_count, as: 'candidatesTokenCount'
428
586
  property :prompt_token_count, as: 'promptTokenCount'
429
587
  property :total_token_count, as: 'totalTokenCount'
@@ -433,13 +591,23 @@ module Google
433
591
  class GoogleCloudAiplatformV1beta1GenerationConfig
434
592
  # @private
435
593
  class Representation < Google::Apis::Core::JsonRepresentation
594
+ property :audio_timestamp, as: 'audioTimestamp'
436
595
  property :candidate_count, as: 'candidateCount'
437
596
  property :frequency_penalty, as: 'frequencyPenalty'
597
+ property :logprobs, as: 'logprobs'
438
598
  property :max_output_tokens, as: 'maxOutputTokens'
599
+ property :media_resolution, as: 'mediaResolution'
439
600
  property :presence_penalty, as: 'presencePenalty'
601
+ property :response_logprobs, as: 'responseLogprobs'
440
602
  property :response_mime_type, as: 'responseMimeType'
603
+ collection :response_modalities, as: 'responseModalities'
441
604
  property :response_schema, as: 'responseSchema', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1Schema, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1Schema::Representation
442
605
 
606
+ property :routing_config, as: 'routingConfig', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1GenerationConfigRoutingConfig, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1GenerationConfigRoutingConfig::Representation
607
+
608
+ property :seed, as: 'seed'
609
+ property :speech_config, as: 'speechConfig', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1SpeechConfig, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1SpeechConfig::Representation
610
+
443
611
  collection :stop_sequences, as: 'stopSequences'
444
612
  property :temperature, as: 'temperature'
445
613
  property :top_k, as: 'topK'
@@ -447,9 +615,35 @@ module Google
447
615
  end
448
616
  end
449
617
 
618
+ class GoogleCloudAiplatformV1beta1GenerationConfigRoutingConfig
619
+ # @private
620
+ class Representation < Google::Apis::Core::JsonRepresentation
621
+ property :auto_mode, as: 'autoMode', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1GenerationConfigRoutingConfigAutoRoutingMode, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1GenerationConfigRoutingConfigAutoRoutingMode::Representation
622
+
623
+ property :manual_mode, as: 'manualMode', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1GenerationConfigRoutingConfigManualRoutingMode, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1GenerationConfigRoutingConfigManualRoutingMode::Representation
624
+
625
+ end
626
+ end
627
+
628
+ class GoogleCloudAiplatformV1beta1GenerationConfigRoutingConfigAutoRoutingMode
629
+ # @private
630
+ class Representation < Google::Apis::Core::JsonRepresentation
631
+ property :model_routing_preference, as: 'modelRoutingPreference'
632
+ end
633
+ end
634
+
635
+ class GoogleCloudAiplatformV1beta1GenerationConfigRoutingConfigManualRoutingMode
636
+ # @private
637
+ class Representation < Google::Apis::Core::JsonRepresentation
638
+ property :model_name, as: 'modelName'
639
+ end
640
+ end
641
+
450
642
  class GoogleCloudAiplatformV1beta1GoogleSearchRetrieval
451
643
  # @private
452
644
  class Representation < Google::Apis::Core::JsonRepresentation
645
+ property :dynamic_retrieval_config, as: 'dynamicRetrievalConfig', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1DynamicRetrievalConfig, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1DynamicRetrievalConfig::Representation
646
+
453
647
  end
454
648
  end
455
649
 
@@ -466,6 +660,7 @@ module Google
466
660
  class GoogleCloudAiplatformV1beta1GroundingChunkRetrievedContext
467
661
  # @private
468
662
  class Representation < Google::Apis::Core::JsonRepresentation
663
+ property :text, as: 'text'
469
664
  property :title, as: 'title'
470
665
  property :uri, as: 'uri'
471
666
  end
@@ -486,6 +681,8 @@ module Google
486
681
 
487
682
  collection :grounding_supports, as: 'groundingSupports', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1GroundingSupport, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1GroundingSupport::Representation
488
683
 
684
+ property :retrieval_metadata, as: 'retrievalMetadata', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1RetrievalMetadata, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1RetrievalMetadata::Representation
685
+
489
686
  collection :retrieval_queries, as: 'retrievalQueries'
490
687
  property :search_entry_point, as: 'searchEntryPoint', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1SearchEntryPoint, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1SearchEntryPoint::Representation
491
688
 
@@ -503,9 +700,40 @@ module Google
503
700
  end
504
701
  end
505
702
 
703
+ class GoogleCloudAiplatformV1beta1LogprobsResult
704
+ # @private
705
+ class Representation < Google::Apis::Core::JsonRepresentation
706
+ collection :chosen_candidates, as: 'chosenCandidates', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1LogprobsResultCandidate, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1LogprobsResultCandidate::Representation
707
+
708
+ collection :top_candidates, as: 'topCandidates', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1LogprobsResultTopCandidates, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1LogprobsResultTopCandidates::Representation
709
+
710
+ end
711
+ end
712
+
713
+ class GoogleCloudAiplatformV1beta1LogprobsResultCandidate
714
+ # @private
715
+ class Representation < Google::Apis::Core::JsonRepresentation
716
+ property :log_probability, as: 'logProbability'
717
+ property :token, as: 'token'
718
+ property :token_id, as: 'tokenId'
719
+ end
720
+ end
721
+
722
+ class GoogleCloudAiplatformV1beta1LogprobsResultTopCandidates
723
+ # @private
724
+ class Representation < Google::Apis::Core::JsonRepresentation
725
+ collection :candidates, as: 'candidates', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1LogprobsResultCandidate, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1LogprobsResultCandidate::Representation
726
+
727
+ end
728
+ end
729
+
506
730
  class GoogleCloudAiplatformV1beta1Part
507
731
  # @private
508
732
  class Representation < Google::Apis::Core::JsonRepresentation
733
+ property :code_execution_result, as: 'codeExecutionResult', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1CodeExecutionResult, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1CodeExecutionResult::Representation
734
+
735
+ property :executable_code, as: 'executableCode', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1ExecutableCode, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1ExecutableCode::Representation
736
+
509
737
  property :file_data, as: 'fileData', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1FileData, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1FileData::Representation
510
738
 
511
739
  property :function_call, as: 'functionCall', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1FunctionCall, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1FunctionCall::Representation
@@ -520,6 +748,66 @@ module Google
520
748
  end
521
749
  end
522
750
 
751
+ class GoogleCloudAiplatformV1beta1PrebuiltVoiceConfig
752
+ # @private
753
+ class Representation < Google::Apis::Core::JsonRepresentation
754
+ property :voice_name, as: 'voiceName'
755
+ end
756
+ end
757
+
758
+ class GoogleCloudAiplatformV1beta1RagRetrievalConfig
759
+ # @private
760
+ class Representation < Google::Apis::Core::JsonRepresentation
761
+ property :filter, as: 'filter', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1RagRetrievalConfigFilter, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1RagRetrievalConfigFilter::Representation
762
+
763
+ property :hybrid_search, as: 'hybridSearch', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1RagRetrievalConfigHybridSearch, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1RagRetrievalConfigHybridSearch::Representation
764
+
765
+ property :ranking, as: 'ranking', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1RagRetrievalConfigRanking, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1RagRetrievalConfigRanking::Representation
766
+
767
+ property :top_k, as: 'topK'
768
+ end
769
+ end
770
+
771
+ class GoogleCloudAiplatformV1beta1RagRetrievalConfigFilter
772
+ # @private
773
+ class Representation < Google::Apis::Core::JsonRepresentation
774
+ property :metadata_filter, as: 'metadataFilter'
775
+ property :vector_distance_threshold, as: 'vectorDistanceThreshold'
776
+ property :vector_similarity_threshold, as: 'vectorSimilarityThreshold'
777
+ end
778
+ end
779
+
780
+ class GoogleCloudAiplatformV1beta1RagRetrievalConfigHybridSearch
781
+ # @private
782
+ class Representation < Google::Apis::Core::JsonRepresentation
783
+ property :alpha, as: 'alpha'
784
+ end
785
+ end
786
+
787
+ class GoogleCloudAiplatformV1beta1RagRetrievalConfigRanking
788
+ # @private
789
+ class Representation < Google::Apis::Core::JsonRepresentation
790
+ property :llm_ranker, as: 'llmRanker', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1RagRetrievalConfigRankingLlmRanker, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1RagRetrievalConfigRankingLlmRanker::Representation
791
+
792
+ property :rank_service, as: 'rankService', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1RagRetrievalConfigRankingRankService, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1RagRetrievalConfigRankingRankService::Representation
793
+
794
+ end
795
+ end
796
+
797
+ class GoogleCloudAiplatformV1beta1RagRetrievalConfigRankingLlmRanker
798
+ # @private
799
+ class Representation < Google::Apis::Core::JsonRepresentation
800
+ property :model_name, as: 'modelName'
801
+ end
802
+ end
803
+
804
+ class GoogleCloudAiplatformV1beta1RagRetrievalConfigRankingRankService
805
+ # @private
806
+ class Representation < Google::Apis::Core::JsonRepresentation
807
+ property :model_name, as: 'modelName'
808
+ end
809
+ end
810
+
523
811
  class GoogleCloudAiplatformV1beta1Retrieval
524
812
  # @private
525
813
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -531,6 +819,13 @@ module Google
531
819
  end
532
820
  end
533
821
 
822
+ class GoogleCloudAiplatformV1beta1RetrievalMetadata
823
+ # @private
824
+ class Representation < Google::Apis::Core::JsonRepresentation
825
+ property :google_search_dynamic_retrieval_score, as: 'googleSearchDynamicRetrievalScore'
826
+ end
827
+ end
828
+
534
829
  class GoogleCloudAiplatformV1beta1SafetyRating
535
830
  # @private
536
831
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -555,6 +850,8 @@ module Google
555
850
  class GoogleCloudAiplatformV1beta1Schema
556
851
  # @private
557
852
  class Representation < Google::Apis::Core::JsonRepresentation
853
+ collection :any_of, as: 'anyOf', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1Schema, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1Schema::Representation
854
+
558
855
  property :default, as: 'default'
559
856
  property :description, as: 'description'
560
857
  collection :enum, as: 'enum'
@@ -574,6 +871,7 @@ module Google
574
871
  property :pattern, as: 'pattern'
575
872
  hash :properties, as: 'properties', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1Schema, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1Schema::Representation
576
873
 
874
+ collection :property_ordering, as: 'propertyOrdering'
577
875
  collection :required, as: 'required'
578
876
  property :title, as: 'title'
579
877
  property :type, as: 'type'
@@ -598,11 +896,23 @@ module Google
598
896
  end
599
897
  end
600
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
+
601
907
  class GoogleCloudAiplatformV1beta1Tool
602
908
  # @private
603
909
  class Representation < Google::Apis::Core::JsonRepresentation
910
+ property :code_execution, as: 'codeExecution', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1ToolCodeExecution, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1ToolCodeExecution::Representation
911
+
604
912
  collection :function_declarations, as: 'functionDeclarations', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1FunctionDeclaration, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1FunctionDeclaration::Representation
605
913
 
914
+ property :google_search, as: 'googleSearch', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1ToolGoogleSearch, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1ToolGoogleSearch::Representation
915
+
606
916
  property :google_search_retrieval, as: 'googleSearchRetrieval', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1GoogleSearchRetrieval, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1GoogleSearchRetrieval::Representation
607
917
 
608
918
  property :retrieval, as: 'retrieval', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1Retrieval, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1Retrieval::Representation
@@ -610,6 +920,12 @@ module Google
610
920
  end
611
921
  end
612
922
 
923
+ class GoogleCloudAiplatformV1beta1ToolCodeExecution
924
+ # @private
925
+ class Representation < Google::Apis::Core::JsonRepresentation
926
+ end
927
+ end
928
+
613
929
  class GoogleCloudAiplatformV1beta1ToolConfig
614
930
  # @private
615
931
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -618,6 +934,12 @@ module Google
618
934
  end
619
935
  end
620
936
 
937
+ class GoogleCloudAiplatformV1beta1ToolGoogleSearch
938
+ # @private
939
+ class Representation < Google::Apis::Core::JsonRepresentation
940
+ end
941
+ end
942
+
621
943
  class GoogleCloudAiplatformV1beta1VertexAiSearch
622
944
  # @private
623
945
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -631,6 +953,8 @@ module Google
631
953
  collection :rag_corpora, as: 'ragCorpora'
632
954
  collection :rag_resources, as: 'ragResources', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1VertexRagStoreRagResource, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1VertexRagStoreRagResource::Representation
633
955
 
956
+ property :rag_retrieval_config, as: 'ragRetrievalConfig', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1RagRetrievalConfig, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1RagRetrievalConfig::Representation
957
+
634
958
  property :similarity_top_k, as: 'similarityTopK'
635
959
  property :vector_distance_threshold, as: 'vectorDistanceThreshold'
636
960
  end
@@ -652,6 +976,14 @@ module Google
652
976
  end
653
977
  end
654
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
+
655
987
  class ModelOperationMetadata
656
988
  # @private
657
989
  class Representation < Google::Apis::Core::JsonRepresentation
@@ -87,8 +87,10 @@ module Google
87
87
 
88
88
  # Generate content with multimodal inputs.
89
89
  # @param [String] model
90
- # Required. The name of the publisher model requested to serve the prediction.
91
- # Format: `projects/`project`/locations/`location`/publishers/*/models/*`
90
+ # Required. The fully qualified name of the publisher model or tuned model
91
+ # endpoint to use. Publisher model format: `projects/`project`/locations/`
92
+ # location`/publishers/*/models/*` Tuned model endpoint format: `projects/`
93
+ # project`/locations/`location`/endpoints/`endpoint``
92
94
  # @param [Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1GenerateContentRequest] google_cloud_aiplatform_v1beta1_generate_content_request_object
93
95
  # @param [String] fields
94
96
  # Selector specifying which fields to include in a partial response.
@@ -121,8 +123,10 @@ module Google
121
123
 
122
124
  # Generate content with multimodal inputs with streaming support.
123
125
  # @param [String] model
124
- # Required. The name of the publisher model requested to serve the prediction.
125
- # Format: `projects/`project`/locations/`location`/publishers/*/models/*`
126
+ # Required. The fully qualified name of the publisher model or tuned model
127
+ # endpoint to use. Publisher model format: `projects/`project`/locations/`
128
+ # location`/publishers/*/models/*` Tuned model endpoint format: `projects/`
129
+ # project`/locations/`location`/endpoints/`endpoint``
126
130
  # @param [Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1GenerateContentRequest] google_cloud_aiplatform_v1beta1_generate_content_request_object
127
131
  # @param [String] fields
128
132
  # Selector specifying which fields to include in a partial response.
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.9.0
4
+ version: 0.11.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-07-25 00:00:00.000000000 Z
11
+ date: 2024-12-08 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.9.0
61
+ documentation_uri: https://googleapis.dev/ruby/google-apis-firebaseml_v2beta/v0.11.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.6
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