google-apis-firebaseml_v2beta 0.5.0 → 0.7.0

Sign up to get free protection for your applications and to get access to all the features.
@@ -22,205 +22,214 @@ 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
134
  class Representation < Google::Apis::Core::JsonRepresentation; end
135
135
 
136
136
  include Google::Apis::Core::JsonObjectSupport
137
137
  end
138
138
 
139
- class Part
139
+ class GoogleCloudAiplatformV1beta1GroundingMetadata
140
140
  class Representation < Google::Apis::Core::JsonRepresentation; end
141
141
 
142
142
  include Google::Apis::Core::JsonObjectSupport
143
143
  end
144
144
 
145
- class PromptFeedback
145
+ class GoogleCloudAiplatformV1beta1Part
146
146
  class Representation < Google::Apis::Core::JsonRepresentation; end
147
147
 
148
148
  include Google::Apis::Core::JsonObjectSupport
149
149
  end
150
150
 
151
- class RagResource
151
+ class GoogleCloudAiplatformV1beta1Retrieval
152
152
  class Representation < Google::Apis::Core::JsonRepresentation; end
153
153
 
154
154
  include Google::Apis::Core::JsonObjectSupport
155
155
  end
156
156
 
157
- class Retrieval
157
+ class GoogleCloudAiplatformV1beta1SafetyRating
158
158
  class Representation < Google::Apis::Core::JsonRepresentation; end
159
159
 
160
160
  include Google::Apis::Core::JsonObjectSupport
161
161
  end
162
162
 
163
- class SafetyRating
163
+ class GoogleCloudAiplatformV1beta1SafetySetting
164
164
  class Representation < Google::Apis::Core::JsonRepresentation; end
165
165
 
166
166
  include Google::Apis::Core::JsonObjectSupport
167
167
  end
168
168
 
169
- class SafetySetting
169
+ class GoogleCloudAiplatformV1beta1Schema
170
170
  class Representation < Google::Apis::Core::JsonRepresentation; end
171
171
 
172
172
  include Google::Apis::Core::JsonObjectSupport
173
173
  end
174
174
 
175
- class Schema
175
+ class GoogleCloudAiplatformV1beta1SearchEntryPoint
176
176
  class Representation < Google::Apis::Core::JsonRepresentation; end
177
177
 
178
178
  include Google::Apis::Core::JsonObjectSupport
179
179
  end
180
180
 
181
- class SearchEntryPoint
181
+ class GoogleCloudAiplatformV1beta1Tool
182
182
  class Representation < Google::Apis::Core::JsonRepresentation; end
183
183
 
184
184
  include Google::Apis::Core::JsonObjectSupport
185
185
  end
186
186
 
187
- class Tool
187
+ class GoogleCloudAiplatformV1beta1ToolConfig
188
188
  class Representation < Google::Apis::Core::JsonRepresentation; end
189
189
 
190
190
  include Google::Apis::Core::JsonObjectSupport
191
191
  end
192
192
 
193
- class ToolConfig
193
+ class GoogleCloudAiplatformV1beta1VertexAiSearch
194
194
  class Representation < Google::Apis::Core::JsonRepresentation; end
195
195
 
196
196
  include Google::Apis::Core::JsonObjectSupport
197
197
  end
198
198
 
199
- class UsageMetadata
199
+ class GoogleCloudAiplatformV1beta1VertexRagStore
200
200
  class Representation < Google::Apis::Core::JsonRepresentation; end
201
201
 
202
202
  include Google::Apis::Core::JsonObjectSupport
203
203
  end
204
204
 
205
- class VertexAiSearch
205
+ class GoogleCloudAiplatformV1beta1VertexRagStoreRagResource
206
206
  class Representation < Google::Apis::Core::JsonRepresentation; end
207
207
 
208
208
  include Google::Apis::Core::JsonObjectSupport
209
209
  end
210
210
 
211
- class VertexRagStore
211
+ class GoogleCloudAiplatformV1beta1VideoMetadata
212
212
  class Representation < Google::Apis::Core::JsonRepresentation; end
213
213
 
214
214
  include Google::Apis::Core::JsonObjectSupport
215
215
  end
216
216
 
217
- class VideoMetadata
217
+ class ModelOperationMetadata
218
218
  class Representation < Google::Apis::Core::JsonRepresentation; end
219
219
 
220
220
  include Google::Apis::Core::JsonObjectSupport
221
221
  end
222
222
 
223
- class Blob
223
+ class Date
224
+ # @private
225
+ class Representation < Google::Apis::Core::JsonRepresentation
226
+ property :day, as: 'day'
227
+ property :month, as: 'month'
228
+ property :year, as: 'year'
229
+ end
230
+ end
231
+
232
+ class GoogleCloudAiplatformV1beta1Blob
224
233
  # @private
225
234
  class Representation < Google::Apis::Core::JsonRepresentation
226
235
  property :data, :base64 => true, as: 'data'
@@ -228,24 +237,24 @@ module Google
228
237
  end
229
238
  end
230
239
 
231
- class Candidate
240
+ class GoogleCloudAiplatformV1beta1Candidate
232
241
  # @private
233
242
  class Representation < Google::Apis::Core::JsonRepresentation
234
- property :citation_metadata, as: 'citationMetadata', class: Google::Apis::FirebasemlV2beta::CitationMetadata, decorator: Google::Apis::FirebasemlV2beta::CitationMetadata::Representation
243
+ property :citation_metadata, as: 'citationMetadata', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1CitationMetadata, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1CitationMetadata::Representation
235
244
 
236
- property :content, as: 'content', class: Google::Apis::FirebasemlV2beta::Content, decorator: Google::Apis::FirebasemlV2beta::Content::Representation
245
+ property :content, as: 'content', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1Content, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1Content::Representation
237
246
 
238
247
  property :finish_message, as: 'finishMessage'
239
248
  property :finish_reason, as: 'finishReason'
240
- property :grounding_metadata, as: 'groundingMetadata', class: Google::Apis::FirebasemlV2beta::GroundingMetadata, decorator: Google::Apis::FirebasemlV2beta::GroundingMetadata::Representation
249
+ property :grounding_metadata, as: 'groundingMetadata', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1GroundingMetadata, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1GroundingMetadata::Representation
241
250
 
242
251
  property :index, as: 'index'
243
- collection :safety_ratings, as: 'safetyRatings', class: Google::Apis::FirebasemlV2beta::SafetyRating, decorator: Google::Apis::FirebasemlV2beta::SafetyRating::Representation
252
+ collection :safety_ratings, as: 'safetyRatings', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1SafetyRating, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1SafetyRating::Representation
244
253
 
245
254
  end
246
255
  end
247
256
 
248
- class Citation
257
+ class GoogleCloudAiplatformV1beta1Citation
249
258
  # @private
250
259
  class Representation < Google::Apis::Core::JsonRepresentation
251
260
  property :end_index, as: 'endIndex'
@@ -258,34 +267,34 @@ module Google
258
267
  end
259
268
  end
260
269
 
261
- class CitationMetadata
270
+ class GoogleCloudAiplatformV1beta1CitationMetadata
262
271
  # @private
263
272
  class Representation < Google::Apis::Core::JsonRepresentation
264
- collection :citations, as: 'citations', class: Google::Apis::FirebasemlV2beta::Citation, decorator: Google::Apis::FirebasemlV2beta::Citation::Representation
273
+ collection :citations, as: 'citations', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1Citation, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1Citation::Representation
265
274
 
266
275
  end
267
276
  end
268
277
 
269
- class Content
278
+ class GoogleCloudAiplatformV1beta1Content
270
279
  # @private
271
280
  class Representation < Google::Apis::Core::JsonRepresentation
272
- collection :parts, as: 'parts', class: Google::Apis::FirebasemlV2beta::Part, decorator: Google::Apis::FirebasemlV2beta::Part::Representation
281
+ collection :parts, as: 'parts', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1Part, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1Part::Representation
273
282
 
274
283
  property :role, as: 'role'
275
284
  end
276
285
  end
277
286
 
278
- class CountTokensRequest
287
+ class GoogleCloudAiplatformV1beta1CountTokensRequest
279
288
  # @private
280
289
  class Representation < Google::Apis::Core::JsonRepresentation
281
- collection :contents, as: 'contents', class: Google::Apis::FirebasemlV2beta::Content, decorator: Google::Apis::FirebasemlV2beta::Content::Representation
290
+ collection :contents, as: 'contents', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1Content, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1Content::Representation
282
291
 
283
292
  collection :instances, as: 'instances'
284
293
  property :model, as: 'model'
285
294
  end
286
295
  end
287
296
 
288
- class CountTokensResponse
297
+ class GoogleCloudAiplatformV1beta1CountTokensResponse
289
298
  # @private
290
299
  class Representation < Google::Apis::Core::JsonRepresentation
291
300
  property :total_billable_characters, as: 'totalBillableCharacters'
@@ -293,16 +302,7 @@ module Google
293
302
  end
294
303
  end
295
304
 
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
305
+ class GoogleCloudAiplatformV1beta1FileData
306
306
  # @private
307
307
  class Representation < Google::Apis::Core::JsonRepresentation
308
308
  property :file_uri, as: 'fileUri'
@@ -310,7 +310,7 @@ module Google
310
310
  end
311
311
  end
312
312
 
313
- class FunctionCall
313
+ class GoogleCloudAiplatformV1beta1FunctionCall
314
314
  # @private
315
315
  class Representation < Google::Apis::Core::JsonRepresentation
316
316
  hash :args, as: 'args'
@@ -318,7 +318,7 @@ module Google
318
318
  end
319
319
  end
320
320
 
321
- class FunctionCallingConfig
321
+ class GoogleCloudAiplatformV1beta1FunctionCallingConfig
322
322
  # @private
323
323
  class Representation < Google::Apis::Core::JsonRepresentation
324
324
  collection :allowed_function_names, as: 'allowedFunctionNames'
@@ -326,19 +326,19 @@ module Google
326
326
  end
327
327
  end
328
328
 
329
- class FunctionDeclaration
329
+ class GoogleCloudAiplatformV1beta1FunctionDeclaration
330
330
  # @private
331
331
  class Representation < Google::Apis::Core::JsonRepresentation
332
332
  property :description, as: 'description'
333
333
  property :name, as: 'name'
334
- property :parameters, as: 'parameters', class: Google::Apis::FirebasemlV2beta::Schema, decorator: Google::Apis::FirebasemlV2beta::Schema::Representation
334
+ property :parameters, as: 'parameters', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1Schema, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1Schema::Representation
335
335
 
336
- property :response, as: 'response', class: Google::Apis::FirebasemlV2beta::Schema, decorator: Google::Apis::FirebasemlV2beta::Schema::Representation
336
+ property :response, as: 'response', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1Schema, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1Schema::Representation
337
337
 
338
338
  end
339
339
  end
340
340
 
341
- class FunctionResponse
341
+ class GoogleCloudAiplatformV1beta1FunctionResponse
342
342
  # @private
343
343
  class Representation < Google::Apis::Core::JsonRepresentation
344
344
  property :name, as: 'name'
@@ -346,37 +346,57 @@ module Google
346
346
  end
347
347
  end
348
348
 
349
- class GenerateContentRequest
349
+ class GoogleCloudAiplatformV1beta1GenerateContentRequest
350
350
  # @private
351
351
  class Representation < Google::Apis::Core::JsonRepresentation
352
- collection :contents, as: 'contents', class: Google::Apis::FirebasemlV2beta::Content, decorator: Google::Apis::FirebasemlV2beta::Content::Representation
352
+ property :cached_content, as: 'cachedContent'
353
+ collection :contents, as: 'contents', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1Content, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1Content::Representation
353
354
 
354
- property :generation_config, as: 'generationConfig', class: Google::Apis::FirebasemlV2beta::GenerationConfig, decorator: Google::Apis::FirebasemlV2beta::GenerationConfig::Representation
355
+ property :generation_config, as: 'generationConfig', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1GenerationConfig, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1GenerationConfig::Representation
355
356
 
356
- collection :safety_settings, as: 'safetySettings', class: Google::Apis::FirebasemlV2beta::SafetySetting, decorator: Google::Apis::FirebasemlV2beta::SafetySetting::Representation
357
+ collection :safety_settings, as: 'safetySettings', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1SafetySetting, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1SafetySetting::Representation
357
358
 
358
- property :system_instruction, as: 'systemInstruction', class: Google::Apis::FirebasemlV2beta::Content, decorator: Google::Apis::FirebasemlV2beta::Content::Representation
359
+ property :system_instruction, as: 'systemInstruction', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1Content, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1Content::Representation
359
360
 
360
- property :tool_config, as: 'toolConfig', class: Google::Apis::FirebasemlV2beta::ToolConfig, decorator: Google::Apis::FirebasemlV2beta::ToolConfig::Representation
361
+ property :tool_config, as: 'toolConfig', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1ToolConfig, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1ToolConfig::Representation
361
362
 
362
- collection :tools, as: 'tools', class: Google::Apis::FirebasemlV2beta::Tool, decorator: Google::Apis::FirebasemlV2beta::Tool::Representation
363
+ collection :tools, as: 'tools', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1Tool, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1Tool::Representation
363
364
 
364
365
  end
365
366
  end
366
367
 
367
- class GenerateContentResponse
368
+ class GoogleCloudAiplatformV1beta1GenerateContentResponse
368
369
  # @private
369
370
  class Representation < Google::Apis::Core::JsonRepresentation
370
- collection :candidates, as: 'candidates', class: Google::Apis::FirebasemlV2beta::Candidate, decorator: Google::Apis::FirebasemlV2beta::Candidate::Representation
371
+ collection :candidates, as: 'candidates', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1Candidate, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1Candidate::Representation
371
372
 
372
- property :prompt_feedback, as: 'promptFeedback', class: Google::Apis::FirebasemlV2beta::PromptFeedback, decorator: Google::Apis::FirebasemlV2beta::PromptFeedback::Representation
373
+ property :prompt_feedback, as: 'promptFeedback', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1GenerateContentResponsePromptFeedback, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1GenerateContentResponsePromptFeedback::Representation
373
374
 
374
- property :usage_metadata, as: 'usageMetadata', class: Google::Apis::FirebasemlV2beta::UsageMetadata, decorator: Google::Apis::FirebasemlV2beta::UsageMetadata::Representation
375
+ property :usage_metadata, as: 'usageMetadata', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1GenerateContentResponseUsageMetadata, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1GenerateContentResponseUsageMetadata::Representation
375
376
 
376
377
  end
377
378
  end
378
379
 
379
- class GenerationConfig
380
+ class GoogleCloudAiplatformV1beta1GenerateContentResponsePromptFeedback
381
+ # @private
382
+ class Representation < Google::Apis::Core::JsonRepresentation
383
+ property :block_reason, as: 'blockReason'
384
+ property :block_reason_message, as: 'blockReasonMessage'
385
+ collection :safety_ratings, as: 'safetyRatings', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1SafetyRating, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1SafetyRating::Representation
386
+
387
+ end
388
+ end
389
+
390
+ class GoogleCloudAiplatformV1beta1GenerateContentResponseUsageMetadata
391
+ # @private
392
+ class Representation < Google::Apis::Core::JsonRepresentation
393
+ property :candidates_token_count, as: 'candidatesTokenCount'
394
+ property :prompt_token_count, as: 'promptTokenCount'
395
+ property :total_token_count, as: 'totalTokenCount'
396
+ end
397
+ end
398
+
399
+ class GoogleCloudAiplatformV1beta1GenerationConfig
380
400
  # @private
381
401
  class Representation < Google::Apis::Core::JsonRepresentation
382
402
  property :candidate_count, as: 'candidateCount'
@@ -384,7 +404,7 @@ module Google
384
404
  property :max_output_tokens, as: 'maxOutputTokens'
385
405
  property :presence_penalty, as: 'presencePenalty'
386
406
  property :response_mime_type, as: 'responseMimeType'
387
- property :response_schema, as: 'responseSchema', class: Google::Apis::FirebasemlV2beta::Schema, decorator: Google::Apis::FirebasemlV2beta::Schema::Representation
407
+ property :response_schema, as: 'responseSchema', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1Schema, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1Schema::Representation
388
408
 
389
409
  collection :stop_sequences, as: 'stopSequences'
390
410
  property :temperature, as: 'temperature'
@@ -393,77 +413,51 @@ module Google
393
413
  end
394
414
  end
395
415
 
396
- class GoogleSearchRetrieval
416
+ class GoogleCloudAiplatformV1beta1GoogleSearchRetrieval
397
417
  # @private
398
418
  class Representation < Google::Apis::Core::JsonRepresentation
399
419
  end
400
420
  end
401
421
 
402
- class GroundingMetadata
422
+ class GoogleCloudAiplatformV1beta1GroundingMetadata
403
423
  # @private
404
424
  class Representation < Google::Apis::Core::JsonRepresentation
405
425
  collection :retrieval_queries, as: 'retrievalQueries'
406
- property :search_entry_point, as: 'searchEntryPoint', class: Google::Apis::FirebasemlV2beta::SearchEntryPoint, decorator: Google::Apis::FirebasemlV2beta::SearchEntryPoint::Representation
426
+ property :search_entry_point, as: 'searchEntryPoint', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1SearchEntryPoint, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1SearchEntryPoint::Representation
407
427
 
408
428
  collection :web_search_queries, as: 'webSearchQueries'
409
429
  end
410
430
  end
411
431
 
412
- class ModelOperationMetadata
413
- # @private
414
- class Representation < Google::Apis::Core::JsonRepresentation
415
- property :basic_operation_status, as: 'basicOperationStatus'
416
- property :name, as: 'name'
417
- end
418
- end
419
-
420
- class Part
432
+ class GoogleCloudAiplatformV1beta1Part
421
433
  # @private
422
434
  class Representation < Google::Apis::Core::JsonRepresentation
423
- property :file_data, as: 'fileData', class: Google::Apis::FirebasemlV2beta::FileData, decorator: Google::Apis::FirebasemlV2beta::FileData::Representation
435
+ property :file_data, as: 'fileData', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1FileData, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1FileData::Representation
424
436
 
425
- property :function_call, as: 'functionCall', class: Google::Apis::FirebasemlV2beta::FunctionCall, decorator: Google::Apis::FirebasemlV2beta::FunctionCall::Representation
437
+ property :function_call, as: 'functionCall', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1FunctionCall, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1FunctionCall::Representation
426
438
 
427
- property :function_response, as: 'functionResponse', class: Google::Apis::FirebasemlV2beta::FunctionResponse, decorator: Google::Apis::FirebasemlV2beta::FunctionResponse::Representation
439
+ property :function_response, as: 'functionResponse', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1FunctionResponse, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1FunctionResponse::Representation
428
440
 
429
- property :inline_data, as: 'inlineData', class: Google::Apis::FirebasemlV2beta::Blob, decorator: Google::Apis::FirebasemlV2beta::Blob::Representation
441
+ property :inline_data, as: 'inlineData', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1Blob, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1Blob::Representation
430
442
 
431
443
  property :text, as: 'text'
432
- property :video_metadata, as: 'videoMetadata', class: Google::Apis::FirebasemlV2beta::VideoMetadata, decorator: Google::Apis::FirebasemlV2beta::VideoMetadata::Representation
444
+ property :video_metadata, as: 'videoMetadata', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1VideoMetadata, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1VideoMetadata::Representation
433
445
 
434
446
  end
435
447
  end
436
448
 
437
- class PromptFeedback
438
- # @private
439
- class Representation < Google::Apis::Core::JsonRepresentation
440
- property :block_reason, as: 'blockReason'
441
- property :block_reason_message, as: 'blockReasonMessage'
442
- collection :safety_ratings, as: 'safetyRatings', class: Google::Apis::FirebasemlV2beta::SafetyRating, decorator: Google::Apis::FirebasemlV2beta::SafetyRating::Representation
443
-
444
- end
445
- end
446
-
447
- class RagResource
448
- # @private
449
- class Representation < Google::Apis::Core::JsonRepresentation
450
- property :rag_corpus, as: 'ragCorpus'
451
- collection :rag_file_ids, as: 'ragFileIds'
452
- end
453
- end
454
-
455
- class Retrieval
449
+ class GoogleCloudAiplatformV1beta1Retrieval
456
450
  # @private
457
451
  class Representation < Google::Apis::Core::JsonRepresentation
458
452
  property :disable_attribution, as: 'disableAttribution'
459
- property :vertex_ai_search, as: 'vertexAiSearch', class: Google::Apis::FirebasemlV2beta::VertexAiSearch, decorator: Google::Apis::FirebasemlV2beta::VertexAiSearch::Representation
453
+ property :vertex_ai_search, as: 'vertexAiSearch', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1VertexAiSearch, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1VertexAiSearch::Representation
460
454
 
461
- property :vertex_rag_store, as: 'vertexRagStore', class: Google::Apis::FirebasemlV2beta::VertexRagStore, decorator: Google::Apis::FirebasemlV2beta::VertexRagStore::Representation
455
+ property :vertex_rag_store, as: 'vertexRagStore', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1VertexRagStore, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1VertexRagStore::Representation
462
456
 
463
457
  end
464
458
  end
465
459
 
466
- class SafetyRating
460
+ class GoogleCloudAiplatformV1beta1SafetyRating
467
461
  # @private
468
462
  class Representation < Google::Apis::Core::JsonRepresentation
469
463
  property :blocked, as: 'blocked'
@@ -475,7 +469,7 @@ module Google
475
469
  end
476
470
  end
477
471
 
478
- class SafetySetting
472
+ class GoogleCloudAiplatformV1beta1SafetySetting
479
473
  # @private
480
474
  class Representation < Google::Apis::Core::JsonRepresentation
481
475
  property :category, as: 'category'
@@ -484,7 +478,7 @@ module Google
484
478
  end
485
479
  end
486
480
 
487
- class Schema
481
+ class GoogleCloudAiplatformV1beta1Schema
488
482
  # @private
489
483
  class Representation < Google::Apis::Core::JsonRepresentation
490
484
  property :default, as: 'default'
@@ -492,7 +486,7 @@ module Google
492
486
  collection :enum, as: 'enum'
493
487
  property :example, as: 'example'
494
488
  property :format, as: 'format'
495
- property :items, as: 'items', class: Google::Apis::FirebasemlV2beta::Schema, decorator: Google::Apis::FirebasemlV2beta::Schema::Representation
489
+ property :items, as: 'items', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1Schema, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1Schema::Representation
496
490
 
497
491
  property :max_items, :numeric_string => true, as: 'maxItems'
498
492
  property :max_length, :numeric_string => true, as: 'maxLength'
@@ -504,7 +498,7 @@ module Google
504
498
  property :minimum, as: 'minimum'
505
499
  property :nullable, as: 'nullable'
506
500
  property :pattern, as: 'pattern'
507
- hash :properties, as: 'properties', class: Google::Apis::FirebasemlV2beta::Schema, decorator: Google::Apis::FirebasemlV2beta::Schema::Representation
501
+ hash :properties, as: 'properties', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1Schema, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1Schema::Representation
508
502
 
509
503
  collection :required, as: 'required'
510
504
  property :title, as: 'title'
@@ -512,7 +506,7 @@ module Google
512
506
  end
513
507
  end
514
508
 
515
- class SearchEntryPoint
509
+ class GoogleCloudAiplatformV1beta1SearchEntryPoint
516
510
  # @private
517
511
  class Representation < Google::Apis::Core::JsonRepresentation
518
512
  property :rendered_content, as: 'renderedContent'
@@ -520,60 +514,67 @@ module Google
520
514
  end
521
515
  end
522
516
 
523
- class Tool
517
+ class GoogleCloudAiplatformV1beta1Tool
524
518
  # @private
525
519
  class Representation < Google::Apis::Core::JsonRepresentation
526
- collection :function_declarations, as: 'functionDeclarations', class: Google::Apis::FirebasemlV2beta::FunctionDeclaration, decorator: Google::Apis::FirebasemlV2beta::FunctionDeclaration::Representation
520
+ collection :function_declarations, as: 'functionDeclarations', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1FunctionDeclaration, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1FunctionDeclaration::Representation
527
521
 
528
- property :google_search_retrieval, as: 'googleSearchRetrieval', class: Google::Apis::FirebasemlV2beta::GoogleSearchRetrieval, decorator: Google::Apis::FirebasemlV2beta::GoogleSearchRetrieval::Representation
522
+ property :google_search_retrieval, as: 'googleSearchRetrieval', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1GoogleSearchRetrieval, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1GoogleSearchRetrieval::Representation
529
523
 
530
- property :retrieval, as: 'retrieval', class: Google::Apis::FirebasemlV2beta::Retrieval, decorator: Google::Apis::FirebasemlV2beta::Retrieval::Representation
524
+ property :retrieval, as: 'retrieval', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1Retrieval, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1Retrieval::Representation
531
525
 
532
526
  end
533
527
  end
534
528
 
535
- class ToolConfig
529
+ class GoogleCloudAiplatformV1beta1ToolConfig
536
530
  # @private
537
531
  class Representation < Google::Apis::Core::JsonRepresentation
538
- property :function_calling_config, as: 'functionCallingConfig', class: Google::Apis::FirebasemlV2beta::FunctionCallingConfig, decorator: Google::Apis::FirebasemlV2beta::FunctionCallingConfig::Representation
539
-
540
- end
541
- end
532
+ property :function_calling_config, as: 'functionCallingConfig', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1FunctionCallingConfig, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1FunctionCallingConfig::Representation
542
533
 
543
- class UsageMetadata
544
- # @private
545
- class Representation < Google::Apis::Core::JsonRepresentation
546
- property :candidates_token_count, as: 'candidatesTokenCount'
547
- property :prompt_token_count, as: 'promptTokenCount'
548
- property :total_token_count, as: 'totalTokenCount'
549
534
  end
550
535
  end
551
536
 
552
- class VertexAiSearch
537
+ class GoogleCloudAiplatformV1beta1VertexAiSearch
553
538
  # @private
554
539
  class Representation < Google::Apis::Core::JsonRepresentation
555
540
  property :datastore, as: 'datastore'
556
541
  end
557
542
  end
558
543
 
559
- class VertexRagStore
544
+ class GoogleCloudAiplatformV1beta1VertexRagStore
560
545
  # @private
561
546
  class Representation < Google::Apis::Core::JsonRepresentation
562
547
  collection :rag_corpora, as: 'ragCorpora'
563
- collection :rag_resources, as: 'ragResources', class: Google::Apis::FirebasemlV2beta::RagResource, decorator: Google::Apis::FirebasemlV2beta::RagResource::Representation
548
+ collection :rag_resources, as: 'ragResources', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1VertexRagStoreRagResource, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1VertexRagStoreRagResource::Representation
564
549
 
565
550
  property :similarity_top_k, as: 'similarityTopK'
566
551
  property :vector_distance_threshold, as: 'vectorDistanceThreshold'
567
552
  end
568
553
  end
569
554
 
570
- class VideoMetadata
555
+ class GoogleCloudAiplatformV1beta1VertexRagStoreRagResource
556
+ # @private
557
+ class Representation < Google::Apis::Core::JsonRepresentation
558
+ property :rag_corpus, as: 'ragCorpus'
559
+ collection :rag_file_ids, as: 'ragFileIds'
560
+ end
561
+ end
562
+
563
+ class GoogleCloudAiplatformV1beta1VideoMetadata
571
564
  # @private
572
565
  class Representation < Google::Apis::Core::JsonRepresentation
573
566
  property :end_offset, as: 'endOffset'
574
567
  property :start_offset, as: 'startOffset'
575
568
  end
576
569
  end
570
+
571
+ class ModelOperationMetadata
572
+ # @private
573
+ class Representation < Google::Apis::Core::JsonRepresentation
574
+ property :basic_operation_status, as: 'basicOperationStatus'
575
+ property :name, as: 'name'
576
+ end
577
+ end
577
578
  end
578
579
  end
579
580
  end