google-apis-firebaseml_v2beta 0.6.0 → 0.8.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -22,205 +22,262 @@ module Google
22
22
  module Apis
23
23
  module FirebasemlV2beta
24
24
 
25
- class Blob
25
+ class Date
26
26
  class Representation < Google::Apis::Core::JsonRepresentation; end
27
27
 
28
28
  include Google::Apis::Core::JsonObjectSupport
29
29
  end
30
30
 
31
- class Candidate
31
+ class GoogleCloudAiplatformV1beta1Blob
32
32
  class Representation < Google::Apis::Core::JsonRepresentation; end
33
33
 
34
34
  include Google::Apis::Core::JsonObjectSupport
35
35
  end
36
36
 
37
- class Citation
37
+ class GoogleCloudAiplatformV1beta1Candidate
38
38
  class Representation < Google::Apis::Core::JsonRepresentation; end
39
39
 
40
40
  include Google::Apis::Core::JsonObjectSupport
41
41
  end
42
42
 
43
- class CitationMetadata
43
+ class GoogleCloudAiplatformV1beta1Citation
44
44
  class Representation < Google::Apis::Core::JsonRepresentation; end
45
45
 
46
46
  include Google::Apis::Core::JsonObjectSupport
47
47
  end
48
48
 
49
- class Content
49
+ class GoogleCloudAiplatformV1beta1CitationMetadata
50
50
  class Representation < Google::Apis::Core::JsonRepresentation; end
51
51
 
52
52
  include Google::Apis::Core::JsonObjectSupport
53
53
  end
54
54
 
55
- class CountTokensRequest
55
+ class GoogleCloudAiplatformV1beta1Content
56
56
  class Representation < Google::Apis::Core::JsonRepresentation; end
57
57
 
58
58
  include Google::Apis::Core::JsonObjectSupport
59
59
  end
60
60
 
61
- class CountTokensResponse
61
+ class GoogleCloudAiplatformV1beta1CountTokensRequest
62
62
  class Representation < Google::Apis::Core::JsonRepresentation; end
63
63
 
64
64
  include Google::Apis::Core::JsonObjectSupport
65
65
  end
66
66
 
67
- class Date
67
+ class GoogleCloudAiplatformV1beta1CountTokensResponse
68
68
  class Representation < Google::Apis::Core::JsonRepresentation; end
69
69
 
70
70
  include Google::Apis::Core::JsonObjectSupport
71
71
  end
72
72
 
73
- class FileData
73
+ class GoogleCloudAiplatformV1beta1FileData
74
74
  class Representation < Google::Apis::Core::JsonRepresentation; end
75
75
 
76
76
  include Google::Apis::Core::JsonObjectSupport
77
77
  end
78
78
 
79
- class FunctionCall
79
+ class GoogleCloudAiplatformV1beta1FunctionCall
80
80
  class Representation < Google::Apis::Core::JsonRepresentation; end
81
81
 
82
82
  include Google::Apis::Core::JsonObjectSupport
83
83
  end
84
84
 
85
- class FunctionCallingConfig
85
+ class GoogleCloudAiplatformV1beta1FunctionCallingConfig
86
86
  class Representation < Google::Apis::Core::JsonRepresentation; end
87
87
 
88
88
  include Google::Apis::Core::JsonObjectSupport
89
89
  end
90
90
 
91
- class FunctionDeclaration
91
+ class GoogleCloudAiplatformV1beta1FunctionDeclaration
92
92
  class Representation < Google::Apis::Core::JsonRepresentation; end
93
93
 
94
94
  include Google::Apis::Core::JsonObjectSupport
95
95
  end
96
96
 
97
- class FunctionResponse
97
+ class GoogleCloudAiplatformV1beta1FunctionResponse
98
98
  class Representation < Google::Apis::Core::JsonRepresentation; end
99
99
 
100
100
  include Google::Apis::Core::JsonObjectSupport
101
101
  end
102
102
 
103
- class GenerateContentRequest
103
+ class GoogleCloudAiplatformV1beta1GenerateContentRequest
104
104
  class Representation < Google::Apis::Core::JsonRepresentation; end
105
105
 
106
106
  include Google::Apis::Core::JsonObjectSupport
107
107
  end
108
108
 
109
- class GenerateContentResponse
109
+ class GoogleCloudAiplatformV1beta1GenerateContentResponse
110
110
  class Representation < Google::Apis::Core::JsonRepresentation; end
111
111
 
112
112
  include Google::Apis::Core::JsonObjectSupport
113
113
  end
114
114
 
115
- class GenerationConfig
115
+ class GoogleCloudAiplatformV1beta1GenerateContentResponsePromptFeedback
116
116
  class Representation < Google::Apis::Core::JsonRepresentation; end
117
117
 
118
118
  include Google::Apis::Core::JsonObjectSupport
119
119
  end
120
120
 
121
- class GoogleSearchRetrieval
121
+ class GoogleCloudAiplatformV1beta1GenerateContentResponseUsageMetadata
122
122
  class Representation < Google::Apis::Core::JsonRepresentation; end
123
123
 
124
124
  include Google::Apis::Core::JsonObjectSupport
125
125
  end
126
126
 
127
- class GroundingMetadata
127
+ class GoogleCloudAiplatformV1beta1GenerationConfig
128
128
  class Representation < Google::Apis::Core::JsonRepresentation; end
129
129
 
130
130
  include Google::Apis::Core::JsonObjectSupport
131
131
  end
132
132
 
133
- class ModelOperationMetadata
133
+ class GoogleCloudAiplatformV1beta1GoogleSearchRetrieval
134
+ class Representation < Google::Apis::Core::JsonRepresentation; end
135
+
136
+ include Google::Apis::Core::JsonObjectSupport
137
+ end
138
+
139
+ class GoogleCloudAiplatformV1beta1GroundingAttribution
140
+ class Representation < Google::Apis::Core::JsonRepresentation; end
141
+
142
+ include Google::Apis::Core::JsonObjectSupport
143
+ end
144
+
145
+ class GoogleCloudAiplatformV1beta1GroundingAttributionRetrievedContext
146
+ class Representation < Google::Apis::Core::JsonRepresentation; end
147
+
148
+ include Google::Apis::Core::JsonObjectSupport
149
+ end
150
+
151
+ class GoogleCloudAiplatformV1beta1GroundingAttributionWeb
134
152
  class Representation < Google::Apis::Core::JsonRepresentation; end
135
153
 
136
154
  include Google::Apis::Core::JsonObjectSupport
137
155
  end
138
156
 
139
- class Part
157
+ class GoogleCloudAiplatformV1beta1GroundingChunk
140
158
  class Representation < Google::Apis::Core::JsonRepresentation; end
141
159
 
142
160
  include Google::Apis::Core::JsonObjectSupport
143
161
  end
144
162
 
145
- class PromptFeedback
163
+ class GoogleCloudAiplatformV1beta1GroundingChunkRetrievedContext
146
164
  class Representation < Google::Apis::Core::JsonRepresentation; end
147
165
 
148
166
  include Google::Apis::Core::JsonObjectSupport
149
167
  end
150
168
 
151
- class RagResource
169
+ class GoogleCloudAiplatformV1beta1GroundingChunkWeb
152
170
  class Representation < Google::Apis::Core::JsonRepresentation; end
153
171
 
154
172
  include Google::Apis::Core::JsonObjectSupport
155
173
  end
156
174
 
157
- class Retrieval
175
+ class GoogleCloudAiplatformV1beta1GroundingMetadata
158
176
  class Representation < Google::Apis::Core::JsonRepresentation; end
159
177
 
160
178
  include Google::Apis::Core::JsonObjectSupport
161
179
  end
162
180
 
163
- class SafetyRating
181
+ class GoogleCloudAiplatformV1beta1GroundingSupport
164
182
  class Representation < Google::Apis::Core::JsonRepresentation; end
165
183
 
166
184
  include Google::Apis::Core::JsonObjectSupport
167
185
  end
168
186
 
169
- class SafetySetting
187
+ class GoogleCloudAiplatformV1beta1Part
170
188
  class Representation < Google::Apis::Core::JsonRepresentation; end
171
189
 
172
190
  include Google::Apis::Core::JsonObjectSupport
173
191
  end
174
192
 
175
- class Schema
193
+ class GoogleCloudAiplatformV1beta1Retrieval
176
194
  class Representation < Google::Apis::Core::JsonRepresentation; end
177
195
 
178
196
  include Google::Apis::Core::JsonObjectSupport
179
197
  end
180
198
 
181
- class SearchEntryPoint
199
+ class GoogleCloudAiplatformV1beta1SafetyRating
182
200
  class Representation < Google::Apis::Core::JsonRepresentation; end
183
201
 
184
202
  include Google::Apis::Core::JsonObjectSupport
185
203
  end
186
204
 
187
- class Tool
205
+ class GoogleCloudAiplatformV1beta1SafetySetting
188
206
  class Representation < Google::Apis::Core::JsonRepresentation; end
189
207
 
190
208
  include Google::Apis::Core::JsonObjectSupport
191
209
  end
192
210
 
193
- class ToolConfig
211
+ class GoogleCloudAiplatformV1beta1Schema
194
212
  class Representation < Google::Apis::Core::JsonRepresentation; end
195
213
 
196
214
  include Google::Apis::Core::JsonObjectSupport
197
215
  end
198
216
 
199
- class UsageMetadata
217
+ class GoogleCloudAiplatformV1beta1SearchEntryPoint
200
218
  class Representation < Google::Apis::Core::JsonRepresentation; end
201
219
 
202
220
  include Google::Apis::Core::JsonObjectSupport
203
221
  end
204
222
 
205
- class VertexAiSearch
223
+ class GoogleCloudAiplatformV1beta1Segment
206
224
  class Representation < Google::Apis::Core::JsonRepresentation; end
207
225
 
208
226
  include Google::Apis::Core::JsonObjectSupport
209
227
  end
210
228
 
211
- class VertexRagStore
229
+ class GoogleCloudAiplatformV1beta1Tool
212
230
  class Representation < Google::Apis::Core::JsonRepresentation; end
213
231
 
214
232
  include Google::Apis::Core::JsonObjectSupport
215
233
  end
216
234
 
217
- class VideoMetadata
235
+ class GoogleCloudAiplatformV1beta1ToolConfig
218
236
  class Representation < Google::Apis::Core::JsonRepresentation; end
219
237
 
220
238
  include Google::Apis::Core::JsonObjectSupport
221
239
  end
222
240
 
223
- class Blob
241
+ class GoogleCloudAiplatformV1beta1VertexAiSearch
242
+ class Representation < Google::Apis::Core::JsonRepresentation; end
243
+
244
+ include Google::Apis::Core::JsonObjectSupport
245
+ end
246
+
247
+ class GoogleCloudAiplatformV1beta1VertexRagStore
248
+ class Representation < Google::Apis::Core::JsonRepresentation; end
249
+
250
+ include Google::Apis::Core::JsonObjectSupport
251
+ end
252
+
253
+ class GoogleCloudAiplatformV1beta1VertexRagStoreRagResource
254
+ class Representation < Google::Apis::Core::JsonRepresentation; end
255
+
256
+ include Google::Apis::Core::JsonObjectSupport
257
+ end
258
+
259
+ class GoogleCloudAiplatformV1beta1VideoMetadata
260
+ class Representation < Google::Apis::Core::JsonRepresentation; end
261
+
262
+ include Google::Apis::Core::JsonObjectSupport
263
+ end
264
+
265
+ class ModelOperationMetadata
266
+ class Representation < Google::Apis::Core::JsonRepresentation; end
267
+
268
+ include Google::Apis::Core::JsonObjectSupport
269
+ end
270
+
271
+ class Date
272
+ # @private
273
+ class Representation < Google::Apis::Core::JsonRepresentation
274
+ property :day, as: 'day'
275
+ property :month, as: 'month'
276
+ property :year, as: 'year'
277
+ end
278
+ end
279
+
280
+ class GoogleCloudAiplatformV1beta1Blob
224
281
  # @private
225
282
  class Representation < Google::Apis::Core::JsonRepresentation
226
283
  property :data, :base64 => true, as: 'data'
@@ -228,24 +285,24 @@ module Google
228
285
  end
229
286
  end
230
287
 
231
- class Candidate
288
+ class GoogleCloudAiplatformV1beta1Candidate
232
289
  # @private
233
290
  class Representation < Google::Apis::Core::JsonRepresentation
234
- property :citation_metadata, as: 'citationMetadata', class: Google::Apis::FirebasemlV2beta::CitationMetadata, decorator: Google::Apis::FirebasemlV2beta::CitationMetadata::Representation
291
+ property :citation_metadata, as: 'citationMetadata', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1CitationMetadata, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1CitationMetadata::Representation
235
292
 
236
- property :content, as: 'content', class: Google::Apis::FirebasemlV2beta::Content, decorator: Google::Apis::FirebasemlV2beta::Content::Representation
293
+ property :content, as: 'content', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1Content, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1Content::Representation
237
294
 
238
295
  property :finish_message, as: 'finishMessage'
239
296
  property :finish_reason, as: 'finishReason'
240
- property :grounding_metadata, as: 'groundingMetadata', class: Google::Apis::FirebasemlV2beta::GroundingMetadata, decorator: Google::Apis::FirebasemlV2beta::GroundingMetadata::Representation
297
+ property :grounding_metadata, as: 'groundingMetadata', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1GroundingMetadata, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1GroundingMetadata::Representation
241
298
 
242
299
  property :index, as: 'index'
243
- collection :safety_ratings, as: 'safetyRatings', class: Google::Apis::FirebasemlV2beta::SafetyRating, decorator: Google::Apis::FirebasemlV2beta::SafetyRating::Representation
300
+ collection :safety_ratings, as: 'safetyRatings', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1SafetyRating, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1SafetyRating::Representation
244
301
 
245
302
  end
246
303
  end
247
304
 
248
- class Citation
305
+ class GoogleCloudAiplatformV1beta1Citation
249
306
  # @private
250
307
  class Representation < Google::Apis::Core::JsonRepresentation
251
308
  property :end_index, as: 'endIndex'
@@ -258,34 +315,34 @@ module Google
258
315
  end
259
316
  end
260
317
 
261
- class CitationMetadata
318
+ class GoogleCloudAiplatformV1beta1CitationMetadata
262
319
  # @private
263
320
  class Representation < Google::Apis::Core::JsonRepresentation
264
- collection :citations, as: 'citations', class: Google::Apis::FirebasemlV2beta::Citation, decorator: Google::Apis::FirebasemlV2beta::Citation::Representation
321
+ collection :citations, as: 'citations', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1Citation, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1Citation::Representation
265
322
 
266
323
  end
267
324
  end
268
325
 
269
- class Content
326
+ class GoogleCloudAiplatformV1beta1Content
270
327
  # @private
271
328
  class Representation < Google::Apis::Core::JsonRepresentation
272
- collection :parts, as: 'parts', class: Google::Apis::FirebasemlV2beta::Part, decorator: Google::Apis::FirebasemlV2beta::Part::Representation
329
+ collection :parts, as: 'parts', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1Part, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1Part::Representation
273
330
 
274
331
  property :role, as: 'role'
275
332
  end
276
333
  end
277
334
 
278
- class CountTokensRequest
335
+ class GoogleCloudAiplatformV1beta1CountTokensRequest
279
336
  # @private
280
337
  class Representation < Google::Apis::Core::JsonRepresentation
281
- collection :contents, as: 'contents', class: Google::Apis::FirebasemlV2beta::Content, decorator: Google::Apis::FirebasemlV2beta::Content::Representation
338
+ collection :contents, as: 'contents', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1Content, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1Content::Representation
282
339
 
283
340
  collection :instances, as: 'instances'
284
341
  property :model, as: 'model'
285
342
  end
286
343
  end
287
344
 
288
- class CountTokensResponse
345
+ class GoogleCloudAiplatformV1beta1CountTokensResponse
289
346
  # @private
290
347
  class Representation < Google::Apis::Core::JsonRepresentation
291
348
  property :total_billable_characters, as: 'totalBillableCharacters'
@@ -293,16 +350,7 @@ module Google
293
350
  end
294
351
  end
295
352
 
296
- class Date
297
- # @private
298
- class Representation < Google::Apis::Core::JsonRepresentation
299
- property :day, as: 'day'
300
- property :month, as: 'month'
301
- property :year, as: 'year'
302
- end
303
- end
304
-
305
- class FileData
353
+ class GoogleCloudAiplatformV1beta1FileData
306
354
  # @private
307
355
  class Representation < Google::Apis::Core::JsonRepresentation
308
356
  property :file_uri, as: 'fileUri'
@@ -310,7 +358,7 @@ module Google
310
358
  end
311
359
  end
312
360
 
313
- class FunctionCall
361
+ class GoogleCloudAiplatformV1beta1FunctionCall
314
362
  # @private
315
363
  class Representation < Google::Apis::Core::JsonRepresentation
316
364
  hash :args, as: 'args'
@@ -318,7 +366,7 @@ module Google
318
366
  end
319
367
  end
320
368
 
321
- class FunctionCallingConfig
369
+ class GoogleCloudAiplatformV1beta1FunctionCallingConfig
322
370
  # @private
323
371
  class Representation < Google::Apis::Core::JsonRepresentation
324
372
  collection :allowed_function_names, as: 'allowedFunctionNames'
@@ -326,19 +374,19 @@ module Google
326
374
  end
327
375
  end
328
376
 
329
- class FunctionDeclaration
377
+ class GoogleCloudAiplatformV1beta1FunctionDeclaration
330
378
  # @private
331
379
  class Representation < Google::Apis::Core::JsonRepresentation
332
380
  property :description, as: 'description'
333
381
  property :name, as: 'name'
334
- property :parameters, as: 'parameters', class: Google::Apis::FirebasemlV2beta::Schema, decorator: Google::Apis::FirebasemlV2beta::Schema::Representation
382
+ property :parameters, as: 'parameters', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1Schema, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1Schema::Representation
335
383
 
336
- property :response, as: 'response', class: Google::Apis::FirebasemlV2beta::Schema, decorator: Google::Apis::FirebasemlV2beta::Schema::Representation
384
+ property :response, as: 'response', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1Schema, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1Schema::Representation
337
385
 
338
386
  end
339
387
  end
340
388
 
341
- class FunctionResponse
389
+ class GoogleCloudAiplatformV1beta1FunctionResponse
342
390
  # @private
343
391
  class Representation < Google::Apis::Core::JsonRepresentation
344
392
  property :name, as: 'name'
@@ -346,38 +394,57 @@ module Google
346
394
  end
347
395
  end
348
396
 
349
- class GenerateContentRequest
397
+ class GoogleCloudAiplatformV1beta1GenerateContentRequest
350
398
  # @private
351
399
  class Representation < Google::Apis::Core::JsonRepresentation
352
400
  property :cached_content, as: 'cachedContent'
353
- collection :contents, as: 'contents', class: Google::Apis::FirebasemlV2beta::Content, decorator: Google::Apis::FirebasemlV2beta::Content::Representation
401
+ collection :contents, as: 'contents', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1Content, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1Content::Representation
354
402
 
355
- property :generation_config, as: 'generationConfig', class: Google::Apis::FirebasemlV2beta::GenerationConfig, decorator: Google::Apis::FirebasemlV2beta::GenerationConfig::Representation
403
+ property :generation_config, as: 'generationConfig', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1GenerationConfig, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1GenerationConfig::Representation
356
404
 
357
- collection :safety_settings, as: 'safetySettings', class: Google::Apis::FirebasemlV2beta::SafetySetting, decorator: Google::Apis::FirebasemlV2beta::SafetySetting::Representation
405
+ collection :safety_settings, as: 'safetySettings', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1SafetySetting, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1SafetySetting::Representation
358
406
 
359
- property :system_instruction, as: 'systemInstruction', class: Google::Apis::FirebasemlV2beta::Content, decorator: Google::Apis::FirebasemlV2beta::Content::Representation
407
+ property :system_instruction, as: 'systemInstruction', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1Content, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1Content::Representation
360
408
 
361
- property :tool_config, as: 'toolConfig', class: Google::Apis::FirebasemlV2beta::ToolConfig, decorator: Google::Apis::FirebasemlV2beta::ToolConfig::Representation
409
+ property :tool_config, as: 'toolConfig', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1ToolConfig, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1ToolConfig::Representation
362
410
 
363
- collection :tools, as: 'tools', class: Google::Apis::FirebasemlV2beta::Tool, decorator: Google::Apis::FirebasemlV2beta::Tool::Representation
411
+ collection :tools, as: 'tools', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1Tool, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1Tool::Representation
364
412
 
365
413
  end
366
414
  end
367
415
 
368
- class GenerateContentResponse
416
+ class GoogleCloudAiplatformV1beta1GenerateContentResponse
369
417
  # @private
370
418
  class Representation < Google::Apis::Core::JsonRepresentation
371
- collection :candidates, as: 'candidates', class: Google::Apis::FirebasemlV2beta::Candidate, decorator: Google::Apis::FirebasemlV2beta::Candidate::Representation
419
+ collection :candidates, as: 'candidates', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1Candidate, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1Candidate::Representation
420
+
421
+ property :prompt_feedback, as: 'promptFeedback', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1GenerateContentResponsePromptFeedback, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1GenerateContentResponsePromptFeedback::Representation
372
422
 
373
- property :prompt_feedback, as: 'promptFeedback', class: Google::Apis::FirebasemlV2beta::PromptFeedback, decorator: Google::Apis::FirebasemlV2beta::PromptFeedback::Representation
423
+ property :usage_metadata, as: 'usageMetadata', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1GenerateContentResponseUsageMetadata, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1GenerateContentResponseUsageMetadata::Representation
374
424
 
375
- property :usage_metadata, as: 'usageMetadata', class: Google::Apis::FirebasemlV2beta::UsageMetadata, decorator: Google::Apis::FirebasemlV2beta::UsageMetadata::Representation
425
+ end
426
+ end
376
427
 
428
+ class GoogleCloudAiplatformV1beta1GenerateContentResponsePromptFeedback
429
+ # @private
430
+ class Representation < Google::Apis::Core::JsonRepresentation
431
+ property :block_reason, as: 'blockReason'
432
+ property :block_reason_message, as: 'blockReasonMessage'
433
+ collection :safety_ratings, as: 'safetyRatings', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1SafetyRating, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1SafetyRating::Representation
434
+
435
+ end
436
+ end
437
+
438
+ class GoogleCloudAiplatformV1beta1GenerateContentResponseUsageMetadata
439
+ # @private
440
+ class Representation < Google::Apis::Core::JsonRepresentation
441
+ property :candidates_token_count, as: 'candidatesTokenCount'
442
+ property :prompt_token_count, as: 'promptTokenCount'
443
+ property :total_token_count, as: 'totalTokenCount'
377
444
  end
378
445
  end
379
446
 
380
- class GenerationConfig
447
+ class GoogleCloudAiplatformV1beta1GenerationConfig
381
448
  # @private
382
449
  class Representation < Google::Apis::Core::JsonRepresentation
383
450
  property :candidate_count, as: 'candidateCount'
@@ -385,7 +452,7 @@ module Google
385
452
  property :max_output_tokens, as: 'maxOutputTokens'
386
453
  property :presence_penalty, as: 'presencePenalty'
387
454
  property :response_mime_type, as: 'responseMimeType'
388
- property :response_schema, as: 'responseSchema', class: Google::Apis::FirebasemlV2beta::Schema, decorator: Google::Apis::FirebasemlV2beta::Schema::Representation
455
+ property :response_schema, as: 'responseSchema', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1Schema, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1Schema::Representation
389
456
 
390
457
  collection :stop_sequences, as: 'stopSequences'
391
458
  property :temperature, as: 'temperature'
@@ -394,77 +461,122 @@ module Google
394
461
  end
395
462
  end
396
463
 
397
- class GoogleSearchRetrieval
464
+ class GoogleCloudAiplatformV1beta1GoogleSearchRetrieval
398
465
  # @private
399
466
  class Representation < Google::Apis::Core::JsonRepresentation
400
467
  end
401
468
  end
402
469
 
403
- class GroundingMetadata
470
+ class GoogleCloudAiplatformV1beta1GroundingAttribution
404
471
  # @private
405
472
  class Representation < Google::Apis::Core::JsonRepresentation
406
- collection :retrieval_queries, as: 'retrievalQueries'
407
- property :search_entry_point, as: 'searchEntryPoint', class: Google::Apis::FirebasemlV2beta::SearchEntryPoint, decorator: Google::Apis::FirebasemlV2beta::SearchEntryPoint::Representation
473
+ property :confidence_score, as: 'confidenceScore'
474
+ property :retrieved_context, as: 'retrievedContext', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1GroundingAttributionRetrievedContext, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1GroundingAttributionRetrievedContext::Representation
475
+
476
+ property :segment, as: 'segment', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1Segment, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1Segment::Representation
477
+
478
+ property :web, as: 'web', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1GroundingAttributionWeb, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1GroundingAttributionWeb::Representation
408
479
 
409
- collection :web_search_queries, as: 'webSearchQueries'
410
480
  end
411
481
  end
412
482
 
413
- class ModelOperationMetadata
483
+ class GoogleCloudAiplatformV1beta1GroundingAttributionRetrievedContext
414
484
  # @private
415
485
  class Representation < Google::Apis::Core::JsonRepresentation
416
- property :basic_operation_status, as: 'basicOperationStatus'
417
- property :name, as: 'name'
486
+ property :title, as: 'title'
487
+ property :uri, as: 'uri'
418
488
  end
419
489
  end
420
490
 
421
- class Part
491
+ class GoogleCloudAiplatformV1beta1GroundingAttributionWeb
422
492
  # @private
423
493
  class Representation < Google::Apis::Core::JsonRepresentation
424
- property :file_data, as: 'fileData', class: Google::Apis::FirebasemlV2beta::FileData, decorator: Google::Apis::FirebasemlV2beta::FileData::Representation
494
+ property :title, as: 'title'
495
+ property :uri, as: 'uri'
496
+ end
497
+ end
425
498
 
426
- property :function_call, as: 'functionCall', class: Google::Apis::FirebasemlV2beta::FunctionCall, decorator: Google::Apis::FirebasemlV2beta::FunctionCall::Representation
499
+ class GoogleCloudAiplatformV1beta1GroundingChunk
500
+ # @private
501
+ class Representation < Google::Apis::Core::JsonRepresentation
502
+ property :retrieved_context, as: 'retrievedContext', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1GroundingChunkRetrievedContext, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1GroundingChunkRetrievedContext::Representation
427
503
 
428
- property :function_response, as: 'functionResponse', class: Google::Apis::FirebasemlV2beta::FunctionResponse, decorator: Google::Apis::FirebasemlV2beta::FunctionResponse::Representation
504
+ property :web, as: 'web', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1GroundingChunkWeb, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1GroundingChunkWeb::Representation
429
505
 
430
- property :inline_data, as: 'inlineData', class: Google::Apis::FirebasemlV2beta::Blob, decorator: Google::Apis::FirebasemlV2beta::Blob::Representation
506
+ end
507
+ end
431
508
 
432
- property :text, as: 'text'
433
- property :video_metadata, as: 'videoMetadata', class: Google::Apis::FirebasemlV2beta::VideoMetadata, decorator: Google::Apis::FirebasemlV2beta::VideoMetadata::Representation
509
+ class GoogleCloudAiplatformV1beta1GroundingChunkRetrievedContext
510
+ # @private
511
+ class Representation < Google::Apis::Core::JsonRepresentation
512
+ property :title, as: 'title'
513
+ property :uri, as: 'uri'
514
+ end
515
+ end
434
516
 
517
+ class GoogleCloudAiplatformV1beta1GroundingChunkWeb
518
+ # @private
519
+ class Representation < Google::Apis::Core::JsonRepresentation
520
+ property :title, as: 'title'
521
+ property :uri, as: 'uri'
435
522
  end
436
523
  end
437
524
 
438
- class PromptFeedback
525
+ class GoogleCloudAiplatformV1beta1GroundingMetadata
439
526
  # @private
440
527
  class Representation < Google::Apis::Core::JsonRepresentation
441
- property :block_reason, as: 'blockReason'
442
- property :block_reason_message, as: 'blockReasonMessage'
443
- collection :safety_ratings, as: 'safetyRatings', class: Google::Apis::FirebasemlV2beta::SafetyRating, decorator: Google::Apis::FirebasemlV2beta::SafetyRating::Representation
528
+ collection :grounding_attributions, as: 'groundingAttributions', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1GroundingAttribution, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1GroundingAttribution::Representation
529
+
530
+ collection :grounding_chunks, as: 'groundingChunks', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1GroundingChunk, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1GroundingChunk::Representation
531
+
532
+ collection :grounding_supports, as: 'groundingSupports', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1GroundingSupport, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1GroundingSupport::Representation
533
+
534
+ collection :retrieval_queries, as: 'retrievalQueries'
535
+ property :search_entry_point, as: 'searchEntryPoint', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1SearchEntryPoint, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1SearchEntryPoint::Representation
444
536
 
537
+ collection :web_search_queries, as: 'webSearchQueries'
445
538
  end
446
539
  end
447
540
 
448
- class RagResource
541
+ class GoogleCloudAiplatformV1beta1GroundingSupport
449
542
  # @private
450
543
  class Representation < Google::Apis::Core::JsonRepresentation
451
- property :rag_corpus, as: 'ragCorpus'
452
- collection :rag_file_ids, as: 'ragFileIds'
544
+ collection :confidence_scores, as: 'confidenceScores'
545
+ collection :grounding_chunk_indices, as: 'groundingChunkIndices'
546
+ property :segment, as: 'segment', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1Segment, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1Segment::Representation
547
+
453
548
  end
454
549
  end
455
550
 
456
- class Retrieval
551
+ class GoogleCloudAiplatformV1beta1Part
552
+ # @private
553
+ class Representation < Google::Apis::Core::JsonRepresentation
554
+ property :file_data, as: 'fileData', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1FileData, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1FileData::Representation
555
+
556
+ property :function_call, as: 'functionCall', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1FunctionCall, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1FunctionCall::Representation
557
+
558
+ property :function_response, as: 'functionResponse', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1FunctionResponse, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1FunctionResponse::Representation
559
+
560
+ property :inline_data, as: 'inlineData', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1Blob, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1Blob::Representation
561
+
562
+ property :text, as: 'text'
563
+ property :video_metadata, as: 'videoMetadata', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1VideoMetadata, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1VideoMetadata::Representation
564
+
565
+ end
566
+ end
567
+
568
+ class GoogleCloudAiplatformV1beta1Retrieval
457
569
  # @private
458
570
  class Representation < Google::Apis::Core::JsonRepresentation
459
571
  property :disable_attribution, as: 'disableAttribution'
460
- property :vertex_ai_search, as: 'vertexAiSearch', class: Google::Apis::FirebasemlV2beta::VertexAiSearch, decorator: Google::Apis::FirebasemlV2beta::VertexAiSearch::Representation
572
+ property :vertex_ai_search, as: 'vertexAiSearch', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1VertexAiSearch, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1VertexAiSearch::Representation
461
573
 
462
- property :vertex_rag_store, as: 'vertexRagStore', class: Google::Apis::FirebasemlV2beta::VertexRagStore, decorator: Google::Apis::FirebasemlV2beta::VertexRagStore::Representation
574
+ property :vertex_rag_store, as: 'vertexRagStore', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1VertexRagStore, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1VertexRagStore::Representation
463
575
 
464
576
  end
465
577
  end
466
578
 
467
- class SafetyRating
579
+ class GoogleCloudAiplatformV1beta1SafetyRating
468
580
  # @private
469
581
  class Representation < Google::Apis::Core::JsonRepresentation
470
582
  property :blocked, as: 'blocked'
@@ -476,7 +588,7 @@ module Google
476
588
  end
477
589
  end
478
590
 
479
- class SafetySetting
591
+ class GoogleCloudAiplatformV1beta1SafetySetting
480
592
  # @private
481
593
  class Representation < Google::Apis::Core::JsonRepresentation
482
594
  property :category, as: 'category'
@@ -485,7 +597,7 @@ module Google
485
597
  end
486
598
  end
487
599
 
488
- class Schema
600
+ class GoogleCloudAiplatformV1beta1Schema
489
601
  # @private
490
602
  class Representation < Google::Apis::Core::JsonRepresentation
491
603
  property :default, as: 'default'
@@ -493,7 +605,7 @@ module Google
493
605
  collection :enum, as: 'enum'
494
606
  property :example, as: 'example'
495
607
  property :format, as: 'format'
496
- property :items, as: 'items', class: Google::Apis::FirebasemlV2beta::Schema, decorator: Google::Apis::FirebasemlV2beta::Schema::Representation
608
+ property :items, as: 'items', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1Schema, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1Schema::Representation
497
609
 
498
610
  property :max_items, :numeric_string => true, as: 'maxItems'
499
611
  property :max_length, :numeric_string => true, as: 'maxLength'
@@ -505,7 +617,7 @@ module Google
505
617
  property :minimum, as: 'minimum'
506
618
  property :nullable, as: 'nullable'
507
619
  property :pattern, as: 'pattern'
508
- hash :properties, as: 'properties', class: Google::Apis::FirebasemlV2beta::Schema, decorator: Google::Apis::FirebasemlV2beta::Schema::Representation
620
+ hash :properties, as: 'properties', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1Schema, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1Schema::Representation
509
621
 
510
622
  collection :required, as: 'required'
511
623
  property :title, as: 'title'
@@ -513,7 +625,7 @@ module Google
513
625
  end
514
626
  end
515
627
 
516
- class SearchEntryPoint
628
+ class GoogleCloudAiplatformV1beta1SearchEntryPoint
517
629
  # @private
518
630
  class Representation < Google::Apis::Core::JsonRepresentation
519
631
  property :rendered_content, as: 'renderedContent'
@@ -521,60 +633,77 @@ module Google
521
633
  end
522
634
  end
523
635
 
524
- class Tool
636
+ class GoogleCloudAiplatformV1beta1Segment
525
637
  # @private
526
638
  class Representation < Google::Apis::Core::JsonRepresentation
527
- collection :function_declarations, as: 'functionDeclarations', class: Google::Apis::FirebasemlV2beta::FunctionDeclaration, decorator: Google::Apis::FirebasemlV2beta::FunctionDeclaration::Representation
528
-
529
- property :google_search_retrieval, as: 'googleSearchRetrieval', class: Google::Apis::FirebasemlV2beta::GoogleSearchRetrieval, decorator: Google::Apis::FirebasemlV2beta::GoogleSearchRetrieval::Representation
530
-
531
- property :retrieval, as: 'retrieval', class: Google::Apis::FirebasemlV2beta::Retrieval, decorator: Google::Apis::FirebasemlV2beta::Retrieval::Representation
532
-
639
+ property :end_index, as: 'endIndex'
640
+ property :part_index, as: 'partIndex'
641
+ property :start_index, as: 'startIndex'
642
+ property :text, as: 'text'
533
643
  end
534
644
  end
535
645
 
536
- class ToolConfig
646
+ class GoogleCloudAiplatformV1beta1Tool
537
647
  # @private
538
648
  class Representation < Google::Apis::Core::JsonRepresentation
539
- property :function_calling_config, as: 'functionCallingConfig', class: Google::Apis::FirebasemlV2beta::FunctionCallingConfig, decorator: Google::Apis::FirebasemlV2beta::FunctionCallingConfig::Representation
649
+ collection :function_declarations, as: 'functionDeclarations', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1FunctionDeclaration, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1FunctionDeclaration::Representation
650
+
651
+ property :google_search_retrieval, as: 'googleSearchRetrieval', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1GoogleSearchRetrieval, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1GoogleSearchRetrieval::Representation
652
+
653
+ property :retrieval, as: 'retrieval', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1Retrieval, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1Retrieval::Representation
540
654
 
541
655
  end
542
656
  end
543
657
 
544
- class UsageMetadata
658
+ class GoogleCloudAiplatformV1beta1ToolConfig
545
659
  # @private
546
660
  class Representation < Google::Apis::Core::JsonRepresentation
547
- property :candidates_token_count, as: 'candidatesTokenCount'
548
- property :prompt_token_count, as: 'promptTokenCount'
549
- property :total_token_count, as: 'totalTokenCount'
661
+ property :function_calling_config, as: 'functionCallingConfig', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1FunctionCallingConfig, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1FunctionCallingConfig::Representation
662
+
550
663
  end
551
664
  end
552
665
 
553
- class VertexAiSearch
666
+ class GoogleCloudAiplatformV1beta1VertexAiSearch
554
667
  # @private
555
668
  class Representation < Google::Apis::Core::JsonRepresentation
556
669
  property :datastore, as: 'datastore'
557
670
  end
558
671
  end
559
672
 
560
- class VertexRagStore
673
+ class GoogleCloudAiplatformV1beta1VertexRagStore
561
674
  # @private
562
675
  class Representation < Google::Apis::Core::JsonRepresentation
563
676
  collection :rag_corpora, as: 'ragCorpora'
564
- collection :rag_resources, as: 'ragResources', class: Google::Apis::FirebasemlV2beta::RagResource, decorator: Google::Apis::FirebasemlV2beta::RagResource::Representation
677
+ collection :rag_resources, as: 'ragResources', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1VertexRagStoreRagResource, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1VertexRagStoreRagResource::Representation
565
678
 
566
679
  property :similarity_top_k, as: 'similarityTopK'
567
680
  property :vector_distance_threshold, as: 'vectorDistanceThreshold'
568
681
  end
569
682
  end
570
683
 
571
- class VideoMetadata
684
+ class GoogleCloudAiplatformV1beta1VertexRagStoreRagResource
685
+ # @private
686
+ class Representation < Google::Apis::Core::JsonRepresentation
687
+ property :rag_corpus, as: 'ragCorpus'
688
+ collection :rag_file_ids, as: 'ragFileIds'
689
+ end
690
+ end
691
+
692
+ class GoogleCloudAiplatformV1beta1VideoMetadata
572
693
  # @private
573
694
  class Representation < Google::Apis::Core::JsonRepresentation
574
695
  property :end_offset, as: 'endOffset'
575
696
  property :start_offset, as: 'startOffset'
576
697
  end
577
698
  end
699
+
700
+ class ModelOperationMetadata
701
+ # @private
702
+ class Representation < Google::Apis::Core::JsonRepresentation
703
+ property :basic_operation_status, as: 'basicOperationStatus'
704
+ property :name, as: 'name'
705
+ end
706
+ end
578
707
  end
579
708
  end
580
709
  end