google-apis-firebaseml_v2beta 0.1.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.
@@ -0,0 +1,28 @@
1
+ # Copyright 2020 Google LLC
2
+ #
3
+ # Licensed under the Apache License, Version 2.0 (the "License");
4
+ # you may not use this file except in compliance with the License.
5
+ # You may obtain a copy of the License at
6
+ #
7
+ # http://www.apache.org/licenses/LICENSE-2.0
8
+ #
9
+ # Unless required by applicable law or agreed to in writing, software
10
+ # distributed under the License is distributed on an "AS IS" BASIS,
11
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ # See the License for the specific language governing permissions and
13
+ # limitations under the License.
14
+
15
+ module Google
16
+ module Apis
17
+ module FirebasemlV2beta
18
+ # Version of the google-apis-firebaseml_v2beta gem
19
+ GEM_VERSION = "0.1.0"
20
+
21
+ # Version of the code generator used to generate this client
22
+ GENERATOR_VERSION = "0.14.0"
23
+
24
+ # Revision of the discovery document this client was generated from
25
+ REVISION = "20240404"
26
+ end
27
+ end
28
+ end
@@ -0,0 +1,595 @@
1
+ # Copyright 2020 Google LLC
2
+ #
3
+ # Licensed under the Apache License, Version 2.0 (the "License");
4
+ # you may not use this file except in compliance with the License.
5
+ # You may obtain a copy of the License at
6
+ #
7
+ # http://www.apache.org/licenses/LICENSE-2.0
8
+ #
9
+ # Unless required by applicable law or agreed to in writing, software
10
+ # distributed under the License is distributed on an "AS IS" BASIS,
11
+ # WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12
+ # See the License for the specific language governing permissions and
13
+ # limitations under the License.
14
+
15
+ require 'date'
16
+ require 'google/apis/core/base_service'
17
+ require 'google/apis/core/json_representation'
18
+ require 'google/apis/core/hashable'
19
+ require 'google/apis/errors'
20
+
21
+ module Google
22
+ module Apis
23
+ module FirebasemlV2beta
24
+
25
+ class Blob
26
+ class Representation < Google::Apis::Core::JsonRepresentation; end
27
+
28
+ include Google::Apis::Core::JsonObjectSupport
29
+ end
30
+
31
+ class Candidate
32
+ class Representation < Google::Apis::Core::JsonRepresentation; end
33
+
34
+ include Google::Apis::Core::JsonObjectSupport
35
+ end
36
+
37
+ class Citation
38
+ class Representation < Google::Apis::Core::JsonRepresentation; end
39
+
40
+ include Google::Apis::Core::JsonObjectSupport
41
+ end
42
+
43
+ class CitationMetadata
44
+ class Representation < Google::Apis::Core::JsonRepresentation; end
45
+
46
+ include Google::Apis::Core::JsonObjectSupport
47
+ end
48
+
49
+ class Content
50
+ class Representation < Google::Apis::Core::JsonRepresentation; end
51
+
52
+ include Google::Apis::Core::JsonObjectSupport
53
+ end
54
+
55
+ class CountTokensRequest
56
+ class Representation < Google::Apis::Core::JsonRepresentation; end
57
+
58
+ include Google::Apis::Core::JsonObjectSupport
59
+ end
60
+
61
+ class CountTokensResponse
62
+ class Representation < Google::Apis::Core::JsonRepresentation; end
63
+
64
+ include Google::Apis::Core::JsonObjectSupport
65
+ end
66
+
67
+ class Date
68
+ class Representation < Google::Apis::Core::JsonRepresentation; end
69
+
70
+ include Google::Apis::Core::JsonObjectSupport
71
+ end
72
+
73
+ class FileData
74
+ class Representation < Google::Apis::Core::JsonRepresentation; end
75
+
76
+ include Google::Apis::Core::JsonObjectSupport
77
+ end
78
+
79
+ class FunctionCall
80
+ class Representation < Google::Apis::Core::JsonRepresentation; end
81
+
82
+ include Google::Apis::Core::JsonObjectSupport
83
+ end
84
+
85
+ class FunctionCallingConfig
86
+ class Representation < Google::Apis::Core::JsonRepresentation; end
87
+
88
+ include Google::Apis::Core::JsonObjectSupport
89
+ end
90
+
91
+ class FunctionDeclaration
92
+ class Representation < Google::Apis::Core::JsonRepresentation; end
93
+
94
+ include Google::Apis::Core::JsonObjectSupport
95
+ end
96
+
97
+ class FunctionResponse
98
+ class Representation < Google::Apis::Core::JsonRepresentation; end
99
+
100
+ include Google::Apis::Core::JsonObjectSupport
101
+ end
102
+
103
+ class GenerateContentRequest
104
+ class Representation < Google::Apis::Core::JsonRepresentation; end
105
+
106
+ include Google::Apis::Core::JsonObjectSupport
107
+ end
108
+
109
+ class GenerateContentResponse
110
+ class Representation < Google::Apis::Core::JsonRepresentation; end
111
+
112
+ include Google::Apis::Core::JsonObjectSupport
113
+ end
114
+
115
+ class GenerationConfig
116
+ class Representation < Google::Apis::Core::JsonRepresentation; end
117
+
118
+ include Google::Apis::Core::JsonObjectSupport
119
+ end
120
+
121
+ class GroundingAttribution
122
+ class Representation < Google::Apis::Core::JsonRepresentation; end
123
+
124
+ include Google::Apis::Core::JsonObjectSupport
125
+ end
126
+
127
+ class GroundingMetadata
128
+ class Representation < Google::Apis::Core::JsonRepresentation; end
129
+
130
+ include Google::Apis::Core::JsonObjectSupport
131
+ end
132
+
133
+ class ModelOperationMetadata
134
+ class Representation < Google::Apis::Core::JsonRepresentation; end
135
+
136
+ include Google::Apis::Core::JsonObjectSupport
137
+ end
138
+
139
+ class Part
140
+ class Representation < Google::Apis::Core::JsonRepresentation; end
141
+
142
+ include Google::Apis::Core::JsonObjectSupport
143
+ end
144
+
145
+ class PromptFeedback
146
+ class Representation < Google::Apis::Core::JsonRepresentation; end
147
+
148
+ include Google::Apis::Core::JsonObjectSupport
149
+ end
150
+
151
+ class Retrieval
152
+ class Representation < Google::Apis::Core::JsonRepresentation; end
153
+
154
+ include Google::Apis::Core::JsonObjectSupport
155
+ end
156
+
157
+ class RetrievedContext
158
+ class Representation < Google::Apis::Core::JsonRepresentation; end
159
+
160
+ include Google::Apis::Core::JsonObjectSupport
161
+ end
162
+
163
+ class SafetyRating
164
+ class Representation < Google::Apis::Core::JsonRepresentation; end
165
+
166
+ include Google::Apis::Core::JsonObjectSupport
167
+ end
168
+
169
+ class SafetySetting
170
+ class Representation < Google::Apis::Core::JsonRepresentation; end
171
+
172
+ include Google::Apis::Core::JsonObjectSupport
173
+ end
174
+
175
+ class Schema
176
+ class Representation < Google::Apis::Core::JsonRepresentation; end
177
+
178
+ include Google::Apis::Core::JsonObjectSupport
179
+ end
180
+
181
+ class Segment
182
+ class Representation < Google::Apis::Core::JsonRepresentation; end
183
+
184
+ include Google::Apis::Core::JsonObjectSupport
185
+ end
186
+
187
+ class Tool
188
+ class Representation < Google::Apis::Core::JsonRepresentation; end
189
+
190
+ include Google::Apis::Core::JsonObjectSupport
191
+ end
192
+
193
+ class ToolConfig
194
+ class Representation < Google::Apis::Core::JsonRepresentation; end
195
+
196
+ include Google::Apis::Core::JsonObjectSupport
197
+ end
198
+
199
+ class UsageMetadata
200
+ class Representation < Google::Apis::Core::JsonRepresentation; end
201
+
202
+ include Google::Apis::Core::JsonObjectSupport
203
+ end
204
+
205
+ class VertexAiSearch
206
+ class Representation < Google::Apis::Core::JsonRepresentation; end
207
+
208
+ include Google::Apis::Core::JsonObjectSupport
209
+ end
210
+
211
+ class VertexRagStore
212
+ class Representation < Google::Apis::Core::JsonRepresentation; end
213
+
214
+ include Google::Apis::Core::JsonObjectSupport
215
+ end
216
+
217
+ class VideoMetadata
218
+ class Representation < Google::Apis::Core::JsonRepresentation; end
219
+
220
+ include Google::Apis::Core::JsonObjectSupport
221
+ end
222
+
223
+ class Web
224
+ class Representation < Google::Apis::Core::JsonRepresentation; end
225
+
226
+ include Google::Apis::Core::JsonObjectSupport
227
+ end
228
+
229
+ class Blob
230
+ # @private
231
+ class Representation < Google::Apis::Core::JsonRepresentation
232
+ property :data, :base64 => true, as: 'data'
233
+ property :mime_type, as: 'mimeType'
234
+ end
235
+ end
236
+
237
+ class Candidate
238
+ # @private
239
+ class Representation < Google::Apis::Core::JsonRepresentation
240
+ property :citation_metadata, as: 'citationMetadata', class: Google::Apis::FirebasemlV2beta::CitationMetadata, decorator: Google::Apis::FirebasemlV2beta::CitationMetadata::Representation
241
+
242
+ property :content, as: 'content', class: Google::Apis::FirebasemlV2beta::Content, decorator: Google::Apis::FirebasemlV2beta::Content::Representation
243
+
244
+ property :finish_message, as: 'finishMessage'
245
+ property :finish_reason, as: 'finishReason'
246
+ property :grounding_metadata, as: 'groundingMetadata', class: Google::Apis::FirebasemlV2beta::GroundingMetadata, decorator: Google::Apis::FirebasemlV2beta::GroundingMetadata::Representation
247
+
248
+ property :index, as: 'index'
249
+ collection :safety_ratings, as: 'safetyRatings', class: Google::Apis::FirebasemlV2beta::SafetyRating, decorator: Google::Apis::FirebasemlV2beta::SafetyRating::Representation
250
+
251
+ end
252
+ end
253
+
254
+ class Citation
255
+ # @private
256
+ class Representation < Google::Apis::Core::JsonRepresentation
257
+ property :end_index, as: 'endIndex'
258
+ property :license, as: 'license'
259
+ property :publication_date, as: 'publicationDate', class: Google::Apis::FirebasemlV2beta::Date, decorator: Google::Apis::FirebasemlV2beta::Date::Representation
260
+
261
+ property :start_index, as: 'startIndex'
262
+ property :title, as: 'title'
263
+ property :uri, as: 'uri'
264
+ end
265
+ end
266
+
267
+ class CitationMetadata
268
+ # @private
269
+ class Representation < Google::Apis::Core::JsonRepresentation
270
+ collection :citations, as: 'citations', class: Google::Apis::FirebasemlV2beta::Citation, decorator: Google::Apis::FirebasemlV2beta::Citation::Representation
271
+
272
+ end
273
+ end
274
+
275
+ class Content
276
+ # @private
277
+ class Representation < Google::Apis::Core::JsonRepresentation
278
+ collection :parts, as: 'parts', class: Google::Apis::FirebasemlV2beta::Part, decorator: Google::Apis::FirebasemlV2beta::Part::Representation
279
+
280
+ property :role, as: 'role'
281
+ end
282
+ end
283
+
284
+ class CountTokensRequest
285
+ # @private
286
+ class Representation < Google::Apis::Core::JsonRepresentation
287
+ collection :contents, as: 'contents', class: Google::Apis::FirebasemlV2beta::Content, decorator: Google::Apis::FirebasemlV2beta::Content::Representation
288
+
289
+ collection :instances, as: 'instances'
290
+ property :model, as: 'model'
291
+ end
292
+ end
293
+
294
+ class CountTokensResponse
295
+ # @private
296
+ class Representation < Google::Apis::Core::JsonRepresentation
297
+ property :total_billable_characters, as: 'totalBillableCharacters'
298
+ property :total_tokens, as: 'totalTokens'
299
+ end
300
+ end
301
+
302
+ class Date
303
+ # @private
304
+ class Representation < Google::Apis::Core::JsonRepresentation
305
+ property :day, as: 'day'
306
+ property :month, as: 'month'
307
+ property :year, as: 'year'
308
+ end
309
+ end
310
+
311
+ class FileData
312
+ # @private
313
+ class Representation < Google::Apis::Core::JsonRepresentation
314
+ property :file_uri, as: 'fileUri'
315
+ property :mime_type, as: 'mimeType'
316
+ end
317
+ end
318
+
319
+ class FunctionCall
320
+ # @private
321
+ class Representation < Google::Apis::Core::JsonRepresentation
322
+ hash :args, as: 'args'
323
+ property :name, as: 'name'
324
+ end
325
+ end
326
+
327
+ class FunctionCallingConfig
328
+ # @private
329
+ class Representation < Google::Apis::Core::JsonRepresentation
330
+ collection :allowed_function_names, as: 'allowedFunctionNames'
331
+ property :mode, as: 'mode'
332
+ end
333
+ end
334
+
335
+ class FunctionDeclaration
336
+ # @private
337
+ class Representation < Google::Apis::Core::JsonRepresentation
338
+ property :description, as: 'description'
339
+ property :name, as: 'name'
340
+ property :parameters, as: 'parameters', class: Google::Apis::FirebasemlV2beta::Schema, decorator: Google::Apis::FirebasemlV2beta::Schema::Representation
341
+
342
+ property :response, as: 'response', class: Google::Apis::FirebasemlV2beta::Schema, decorator: Google::Apis::FirebasemlV2beta::Schema::Representation
343
+
344
+ end
345
+ end
346
+
347
+ class FunctionResponse
348
+ # @private
349
+ class Representation < Google::Apis::Core::JsonRepresentation
350
+ property :name, as: 'name'
351
+ hash :response, as: 'response'
352
+ end
353
+ end
354
+
355
+ class GenerateContentRequest
356
+ # @private
357
+ class Representation < Google::Apis::Core::JsonRepresentation
358
+ collection :contents, as: 'contents', class: Google::Apis::FirebasemlV2beta::Content, decorator: Google::Apis::FirebasemlV2beta::Content::Representation
359
+
360
+ property :generation_config, as: 'generationConfig', class: Google::Apis::FirebasemlV2beta::GenerationConfig, decorator: Google::Apis::FirebasemlV2beta::GenerationConfig::Representation
361
+
362
+ collection :safety_settings, as: 'safetySettings', class: Google::Apis::FirebasemlV2beta::SafetySetting, decorator: Google::Apis::FirebasemlV2beta::SafetySetting::Representation
363
+
364
+ property :system_instruction, as: 'systemInstruction', class: Google::Apis::FirebasemlV2beta::Content, decorator: Google::Apis::FirebasemlV2beta::Content::Representation
365
+
366
+ property :tool_config, as: 'toolConfig', class: Google::Apis::FirebasemlV2beta::ToolConfig, decorator: Google::Apis::FirebasemlV2beta::ToolConfig::Representation
367
+
368
+ collection :tools, as: 'tools', class: Google::Apis::FirebasemlV2beta::Tool, decorator: Google::Apis::FirebasemlV2beta::Tool::Representation
369
+
370
+ end
371
+ end
372
+
373
+ class GenerateContentResponse
374
+ # @private
375
+ class Representation < Google::Apis::Core::JsonRepresentation
376
+ collection :candidates, as: 'candidates', class: Google::Apis::FirebasemlV2beta::Candidate, decorator: Google::Apis::FirebasemlV2beta::Candidate::Representation
377
+
378
+ property :prompt_feedback, as: 'promptFeedback', class: Google::Apis::FirebasemlV2beta::PromptFeedback, decorator: Google::Apis::FirebasemlV2beta::PromptFeedback::Representation
379
+
380
+ property :usage_metadata, as: 'usageMetadata', class: Google::Apis::FirebasemlV2beta::UsageMetadata, decorator: Google::Apis::FirebasemlV2beta::UsageMetadata::Representation
381
+
382
+ end
383
+ end
384
+
385
+ class GenerationConfig
386
+ # @private
387
+ class Representation < Google::Apis::Core::JsonRepresentation
388
+ property :candidate_count, as: 'candidateCount'
389
+ property :frequency_penalty, as: 'frequencyPenalty'
390
+ property :max_output_tokens, as: 'maxOutputTokens'
391
+ property :presence_penalty, as: 'presencePenalty'
392
+ property :response_mime_type, as: 'responseMimeType'
393
+ collection :stop_sequences, as: 'stopSequences'
394
+ property :temperature, as: 'temperature'
395
+ property :top_k, as: 'topK'
396
+ property :top_p, as: 'topP'
397
+ end
398
+ end
399
+
400
+ class GroundingAttribution
401
+ # @private
402
+ class Representation < Google::Apis::Core::JsonRepresentation
403
+ property :confidence_score, as: 'confidenceScore'
404
+ property :retrieved_context, as: 'retrievedContext', class: Google::Apis::FirebasemlV2beta::RetrievedContext, decorator: Google::Apis::FirebasemlV2beta::RetrievedContext::Representation
405
+
406
+ property :segment, as: 'segment', class: Google::Apis::FirebasemlV2beta::Segment, decorator: Google::Apis::FirebasemlV2beta::Segment::Representation
407
+
408
+ property :web, as: 'web', class: Google::Apis::FirebasemlV2beta::Web, decorator: Google::Apis::FirebasemlV2beta::Web::Representation
409
+
410
+ end
411
+ end
412
+
413
+ class GroundingMetadata
414
+ # @private
415
+ class Representation < Google::Apis::Core::JsonRepresentation
416
+ collection :grounding_attributions, as: 'groundingAttributions', class: Google::Apis::FirebasemlV2beta::GroundingAttribution, decorator: Google::Apis::FirebasemlV2beta::GroundingAttribution::Representation
417
+
418
+ collection :retrieval_queries, as: 'retrievalQueries'
419
+ collection :web_search_queries, as: 'webSearchQueries'
420
+ end
421
+ end
422
+
423
+ class ModelOperationMetadata
424
+ # @private
425
+ class Representation < Google::Apis::Core::JsonRepresentation
426
+ property :basic_operation_status, as: 'basicOperationStatus'
427
+ property :name, as: 'name'
428
+ end
429
+ end
430
+
431
+ class Part
432
+ # @private
433
+ class Representation < Google::Apis::Core::JsonRepresentation
434
+ property :file_data, as: 'fileData', class: Google::Apis::FirebasemlV2beta::FileData, decorator: Google::Apis::FirebasemlV2beta::FileData::Representation
435
+
436
+ property :function_call, as: 'functionCall', class: Google::Apis::FirebasemlV2beta::FunctionCall, decorator: Google::Apis::FirebasemlV2beta::FunctionCall::Representation
437
+
438
+ property :function_response, as: 'functionResponse', class: Google::Apis::FirebasemlV2beta::FunctionResponse, decorator: Google::Apis::FirebasemlV2beta::FunctionResponse::Representation
439
+
440
+ property :inline_data, as: 'inlineData', class: Google::Apis::FirebasemlV2beta::Blob, decorator: Google::Apis::FirebasemlV2beta::Blob::Representation
441
+
442
+ property :text, as: 'text'
443
+ property :video_metadata, as: 'videoMetadata', class: Google::Apis::FirebasemlV2beta::VideoMetadata, decorator: Google::Apis::FirebasemlV2beta::VideoMetadata::Representation
444
+
445
+ end
446
+ end
447
+
448
+ class PromptFeedback
449
+ # @private
450
+ class Representation < Google::Apis::Core::JsonRepresentation
451
+ property :block_reason, as: 'blockReason'
452
+ property :block_reason_message, as: 'blockReasonMessage'
453
+ collection :safety_ratings, as: 'safetyRatings', class: Google::Apis::FirebasemlV2beta::SafetyRating, decorator: Google::Apis::FirebasemlV2beta::SafetyRating::Representation
454
+
455
+ end
456
+ end
457
+
458
+ class Retrieval
459
+ # @private
460
+ class Representation < Google::Apis::Core::JsonRepresentation
461
+ property :disable_attribution, as: 'disableAttribution'
462
+ property :vertex_ai_search, as: 'vertexAiSearch', class: Google::Apis::FirebasemlV2beta::VertexAiSearch, decorator: Google::Apis::FirebasemlV2beta::VertexAiSearch::Representation
463
+
464
+ property :vertex_rag_store, as: 'vertexRagStore', class: Google::Apis::FirebasemlV2beta::VertexRagStore, decorator: Google::Apis::FirebasemlV2beta::VertexRagStore::Representation
465
+
466
+ end
467
+ end
468
+
469
+ class RetrievedContext
470
+ # @private
471
+ class Representation < Google::Apis::Core::JsonRepresentation
472
+ property :title, as: 'title'
473
+ property :uri, as: 'uri'
474
+ end
475
+ end
476
+
477
+ class SafetyRating
478
+ # @private
479
+ class Representation < Google::Apis::Core::JsonRepresentation
480
+ property :blocked, as: 'blocked'
481
+ property :category, as: 'category'
482
+ property :probability, as: 'probability'
483
+ property :probability_score, as: 'probabilityScore'
484
+ property :severity, as: 'severity'
485
+ property :severity_score, as: 'severityScore'
486
+ end
487
+ end
488
+
489
+ class SafetySetting
490
+ # @private
491
+ class Representation < Google::Apis::Core::JsonRepresentation
492
+ property :category, as: 'category'
493
+ property :method_prop, as: 'method'
494
+ property :threshold, as: 'threshold'
495
+ end
496
+ end
497
+
498
+ class Schema
499
+ # @private
500
+ class Representation < Google::Apis::Core::JsonRepresentation
501
+ property :default, as: 'default'
502
+ property :description, as: 'description'
503
+ collection :enum, as: 'enum'
504
+ property :example, as: 'example'
505
+ property :format, as: 'format'
506
+ property :items, as: 'items', class: Google::Apis::FirebasemlV2beta::Schema, decorator: Google::Apis::FirebasemlV2beta::Schema::Representation
507
+
508
+ property :max_items, :numeric_string => true, as: 'maxItems'
509
+ property :max_length, :numeric_string => true, as: 'maxLength'
510
+ property :max_properties, :numeric_string => true, as: 'maxProperties'
511
+ property :maximum, as: 'maximum'
512
+ property :min_items, :numeric_string => true, as: 'minItems'
513
+ property :min_length, :numeric_string => true, as: 'minLength'
514
+ property :min_properties, :numeric_string => true, as: 'minProperties'
515
+ property :minimum, as: 'minimum'
516
+ property :nullable, as: 'nullable'
517
+ property :pattern, as: 'pattern'
518
+ hash :properties, as: 'properties', class: Google::Apis::FirebasemlV2beta::Schema, decorator: Google::Apis::FirebasemlV2beta::Schema::Representation
519
+
520
+ collection :required, as: 'required'
521
+ property :title, as: 'title'
522
+ property :type, as: 'type'
523
+ end
524
+ end
525
+
526
+ class Segment
527
+ # @private
528
+ class Representation < Google::Apis::Core::JsonRepresentation
529
+ property :end_index, as: 'endIndex'
530
+ property :part_index, as: 'partIndex'
531
+ property :start_index, as: 'startIndex'
532
+ end
533
+ end
534
+
535
+ class Tool
536
+ # @private
537
+ class Representation < Google::Apis::Core::JsonRepresentation
538
+ collection :function_declarations, as: 'functionDeclarations', class: Google::Apis::FirebasemlV2beta::FunctionDeclaration, decorator: Google::Apis::FirebasemlV2beta::FunctionDeclaration::Representation
539
+
540
+ property :retrieval, as: 'retrieval', class: Google::Apis::FirebasemlV2beta::Retrieval, decorator: Google::Apis::FirebasemlV2beta::Retrieval::Representation
541
+
542
+ end
543
+ end
544
+
545
+ class ToolConfig
546
+ # @private
547
+ class Representation < Google::Apis::Core::JsonRepresentation
548
+ property :function_calling_config, as: 'functionCallingConfig', class: Google::Apis::FirebasemlV2beta::FunctionCallingConfig, decorator: Google::Apis::FirebasemlV2beta::FunctionCallingConfig::Representation
549
+
550
+ end
551
+ end
552
+
553
+ class UsageMetadata
554
+ # @private
555
+ class Representation < Google::Apis::Core::JsonRepresentation
556
+ property :candidates_token_count, as: 'candidatesTokenCount'
557
+ property :prompt_token_count, as: 'promptTokenCount'
558
+ property :total_token_count, as: 'totalTokenCount'
559
+ end
560
+ end
561
+
562
+ class VertexAiSearch
563
+ # @private
564
+ class Representation < Google::Apis::Core::JsonRepresentation
565
+ property :datastore, as: 'datastore'
566
+ end
567
+ end
568
+
569
+ class VertexRagStore
570
+ # @private
571
+ class Representation < Google::Apis::Core::JsonRepresentation
572
+ collection :rag_corpora, as: 'ragCorpora'
573
+ property :similarity_top_k, as: 'similarityTopK'
574
+ property :vector_distance_threshold, as: 'vectorDistanceThreshold'
575
+ end
576
+ end
577
+
578
+ class VideoMetadata
579
+ # @private
580
+ class Representation < Google::Apis::Core::JsonRepresentation
581
+ property :end_offset, as: 'endOffset'
582
+ property :start_offset, as: 'startOffset'
583
+ end
584
+ end
585
+
586
+ class Web
587
+ # @private
588
+ class Representation < Google::Apis::Core::JsonRepresentation
589
+ property :title, as: 'title'
590
+ property :uri, as: 'uri'
591
+ end
592
+ end
593
+ end
594
+ end
595
+ end