google-apis-firebaseml_v2beta 0.6.0 → 0.7.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/CHANGELOG.md +4 -0
- data/lib/google/apis/firebaseml_v2beta/classes.rb +218 -218
- data/lib/google/apis/firebaseml_v2beta/gem_version.rb +2 -2
- data/lib/google/apis/firebaseml_v2beta/representations.rb +139 -139
- data/lib/google/apis/firebaseml_v2beta/service.rb +24 -24
- metadata +3 -3
@@ -22,205 +22,214 @@ module Google
|
|
22
22
|
module Apis
|
23
23
|
module FirebasemlV2beta
|
24
24
|
|
25
|
-
class
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
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
|
240
|
+
class GoogleCloudAiplatformV1beta1Candidate
|
232
241
|
# @private
|
233
242
|
class Representation < Google::Apis::Core::JsonRepresentation
|
234
|
-
property :citation_metadata, as: 'citationMetadata', class: Google::Apis::FirebasemlV2beta::
|
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::
|
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::
|
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::
|
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
|
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
|
270
|
+
class GoogleCloudAiplatformV1beta1CitationMetadata
|
262
271
|
# @private
|
263
272
|
class Representation < Google::Apis::Core::JsonRepresentation
|
264
|
-
collection :citations, as: 'citations', class: Google::Apis::FirebasemlV2beta::
|
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
|
278
|
+
class GoogleCloudAiplatformV1beta1Content
|
270
279
|
# @private
|
271
280
|
class Representation < Google::Apis::Core::JsonRepresentation
|
272
|
-
collection :parts, as: 'parts', class: Google::Apis::FirebasemlV2beta::
|
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
|
287
|
+
class GoogleCloudAiplatformV1beta1CountTokensRequest
|
279
288
|
# @private
|
280
289
|
class Representation < Google::Apis::Core::JsonRepresentation
|
281
|
-
collection :contents, as: 'contents', class: Google::Apis::FirebasemlV2beta::
|
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
|
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
|
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
|
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
|
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
|
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::
|
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::
|
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
|
341
|
+
class GoogleCloudAiplatformV1beta1FunctionResponse
|
342
342
|
# @private
|
343
343
|
class Representation < Google::Apis::Core::JsonRepresentation
|
344
344
|
property :name, as: 'name'
|
@@ -346,38 +346,57 @@ module Google
|
|
346
346
|
end
|
347
347
|
end
|
348
348
|
|
349
|
-
class
|
349
|
+
class GoogleCloudAiplatformV1beta1GenerateContentRequest
|
350
350
|
# @private
|
351
351
|
class Representation < Google::Apis::Core::JsonRepresentation
|
352
352
|
property :cached_content, as: 'cachedContent'
|
353
|
-
collection :contents, as: 'contents', class: Google::Apis::FirebasemlV2beta::
|
353
|
+
collection :contents, as: 'contents', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1Content, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1Content::Representation
|
354
354
|
|
355
|
-
property :generation_config, as: 'generationConfig', class: Google::Apis::FirebasemlV2beta::
|
355
|
+
property :generation_config, as: 'generationConfig', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1GenerationConfig, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1GenerationConfig::Representation
|
356
356
|
|
357
|
-
collection :safety_settings, as: 'safetySettings', class: Google::Apis::FirebasemlV2beta::
|
357
|
+
collection :safety_settings, as: 'safetySettings', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1SafetySetting, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1SafetySetting::Representation
|
358
358
|
|
359
|
-
property :system_instruction, as: 'systemInstruction', class: Google::Apis::FirebasemlV2beta::
|
359
|
+
property :system_instruction, as: 'systemInstruction', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1Content, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1Content::Representation
|
360
360
|
|
361
|
-
property :tool_config, as: 'toolConfig', class: Google::Apis::FirebasemlV2beta::
|
361
|
+
property :tool_config, as: 'toolConfig', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1ToolConfig, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1ToolConfig::Representation
|
362
362
|
|
363
|
-
collection :tools, as: 'tools', class: Google::Apis::FirebasemlV2beta::
|
363
|
+
collection :tools, as: 'tools', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1Tool, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1Tool::Representation
|
364
364
|
|
365
365
|
end
|
366
366
|
end
|
367
367
|
|
368
|
-
class
|
368
|
+
class GoogleCloudAiplatformV1beta1GenerateContentResponse
|
369
369
|
# @private
|
370
370
|
class Representation < Google::Apis::Core::JsonRepresentation
|
371
|
-
collection :candidates, as: 'candidates', class: Google::Apis::FirebasemlV2beta::
|
371
|
+
collection :candidates, as: 'candidates', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1Candidate, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1Candidate::Representation
|
372
372
|
|
373
|
-
property :prompt_feedback, as: 'promptFeedback', class: Google::Apis::FirebasemlV2beta::
|
373
|
+
property :prompt_feedback, as: 'promptFeedback', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1GenerateContentResponsePromptFeedback, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1GenerateContentResponsePromptFeedback::Representation
|
374
374
|
|
375
|
-
property :usage_metadata, as: 'usageMetadata', class: Google::Apis::FirebasemlV2beta::
|
375
|
+
property :usage_metadata, as: 'usageMetadata', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1GenerateContentResponseUsageMetadata, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1GenerateContentResponseUsageMetadata::Representation
|
376
376
|
|
377
377
|
end
|
378
378
|
end
|
379
379
|
|
380
|
-
class
|
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
|
381
400
|
# @private
|
382
401
|
class Representation < Google::Apis::Core::JsonRepresentation
|
383
402
|
property :candidate_count, as: 'candidateCount'
|
@@ -385,7 +404,7 @@ module Google
|
|
385
404
|
property :max_output_tokens, as: 'maxOutputTokens'
|
386
405
|
property :presence_penalty, as: 'presencePenalty'
|
387
406
|
property :response_mime_type, as: 'responseMimeType'
|
388
|
-
property :response_schema, as: 'responseSchema', class: Google::Apis::FirebasemlV2beta::
|
407
|
+
property :response_schema, as: 'responseSchema', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1Schema, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1Schema::Representation
|
389
408
|
|
390
409
|
collection :stop_sequences, as: 'stopSequences'
|
391
410
|
property :temperature, as: 'temperature'
|
@@ -394,77 +413,51 @@ module Google
|
|
394
413
|
end
|
395
414
|
end
|
396
415
|
|
397
|
-
class
|
416
|
+
class GoogleCloudAiplatformV1beta1GoogleSearchRetrieval
|
398
417
|
# @private
|
399
418
|
class Representation < Google::Apis::Core::JsonRepresentation
|
400
419
|
end
|
401
420
|
end
|
402
421
|
|
403
|
-
class
|
422
|
+
class GoogleCloudAiplatformV1beta1GroundingMetadata
|
404
423
|
# @private
|
405
424
|
class Representation < Google::Apis::Core::JsonRepresentation
|
406
425
|
collection :retrieval_queries, as: 'retrievalQueries'
|
407
|
-
property :search_entry_point, as: 'searchEntryPoint', class: Google::Apis::FirebasemlV2beta::
|
426
|
+
property :search_entry_point, as: 'searchEntryPoint', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1SearchEntryPoint, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1SearchEntryPoint::Representation
|
408
427
|
|
409
428
|
collection :web_search_queries, as: 'webSearchQueries'
|
410
429
|
end
|
411
430
|
end
|
412
431
|
|
413
|
-
class
|
414
|
-
# @private
|
415
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
416
|
-
property :basic_operation_status, as: 'basicOperationStatus'
|
417
|
-
property :name, as: 'name'
|
418
|
-
end
|
419
|
-
end
|
420
|
-
|
421
|
-
class Part
|
432
|
+
class GoogleCloudAiplatformV1beta1Part
|
422
433
|
# @private
|
423
434
|
class Representation < Google::Apis::Core::JsonRepresentation
|
424
|
-
property :file_data, as: 'fileData', class: Google::Apis::FirebasemlV2beta::
|
435
|
+
property :file_data, as: 'fileData', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1FileData, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1FileData::Representation
|
425
436
|
|
426
|
-
property :function_call, as: 'functionCall', class: Google::Apis::FirebasemlV2beta::
|
437
|
+
property :function_call, as: 'functionCall', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1FunctionCall, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1FunctionCall::Representation
|
427
438
|
|
428
|
-
property :function_response, as: 'functionResponse', class: Google::Apis::FirebasemlV2beta::
|
439
|
+
property :function_response, as: 'functionResponse', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1FunctionResponse, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1FunctionResponse::Representation
|
429
440
|
|
430
|
-
property :inline_data, as: 'inlineData', class: Google::Apis::FirebasemlV2beta::
|
441
|
+
property :inline_data, as: 'inlineData', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1Blob, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1Blob::Representation
|
431
442
|
|
432
443
|
property :text, as: 'text'
|
433
|
-
property :video_metadata, as: 'videoMetadata', class: Google::Apis::FirebasemlV2beta::
|
444
|
+
property :video_metadata, as: 'videoMetadata', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1VideoMetadata, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1VideoMetadata::Representation
|
434
445
|
|
435
446
|
end
|
436
447
|
end
|
437
448
|
|
438
|
-
class
|
439
|
-
# @private
|
440
|
-
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
|
444
|
-
|
445
|
-
end
|
446
|
-
end
|
447
|
-
|
448
|
-
class RagResource
|
449
|
-
# @private
|
450
|
-
class Representation < Google::Apis::Core::JsonRepresentation
|
451
|
-
property :rag_corpus, as: 'ragCorpus'
|
452
|
-
collection :rag_file_ids, as: 'ragFileIds'
|
453
|
-
end
|
454
|
-
end
|
455
|
-
|
456
|
-
class Retrieval
|
449
|
+
class GoogleCloudAiplatformV1beta1Retrieval
|
457
450
|
# @private
|
458
451
|
class Representation < Google::Apis::Core::JsonRepresentation
|
459
452
|
property :disable_attribution, as: 'disableAttribution'
|
460
|
-
property :vertex_ai_search, as: 'vertexAiSearch', class: Google::Apis::FirebasemlV2beta::
|
453
|
+
property :vertex_ai_search, as: 'vertexAiSearch', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1VertexAiSearch, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1VertexAiSearch::Representation
|
461
454
|
|
462
|
-
property :vertex_rag_store, as: 'vertexRagStore', class: Google::Apis::FirebasemlV2beta::
|
455
|
+
property :vertex_rag_store, as: 'vertexRagStore', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1VertexRagStore, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1VertexRagStore::Representation
|
463
456
|
|
464
457
|
end
|
465
458
|
end
|
466
459
|
|
467
|
-
class
|
460
|
+
class GoogleCloudAiplatformV1beta1SafetyRating
|
468
461
|
# @private
|
469
462
|
class Representation < Google::Apis::Core::JsonRepresentation
|
470
463
|
property :blocked, as: 'blocked'
|
@@ -476,7 +469,7 @@ module Google
|
|
476
469
|
end
|
477
470
|
end
|
478
471
|
|
479
|
-
class
|
472
|
+
class GoogleCloudAiplatformV1beta1SafetySetting
|
480
473
|
# @private
|
481
474
|
class Representation < Google::Apis::Core::JsonRepresentation
|
482
475
|
property :category, as: 'category'
|
@@ -485,7 +478,7 @@ module Google
|
|
485
478
|
end
|
486
479
|
end
|
487
480
|
|
488
|
-
class
|
481
|
+
class GoogleCloudAiplatformV1beta1Schema
|
489
482
|
# @private
|
490
483
|
class Representation < Google::Apis::Core::JsonRepresentation
|
491
484
|
property :default, as: 'default'
|
@@ -493,7 +486,7 @@ module Google
|
|
493
486
|
collection :enum, as: 'enum'
|
494
487
|
property :example, as: 'example'
|
495
488
|
property :format, as: 'format'
|
496
|
-
property :items, as: 'items', class: Google::Apis::FirebasemlV2beta::
|
489
|
+
property :items, as: 'items', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1Schema, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1Schema::Representation
|
497
490
|
|
498
491
|
property :max_items, :numeric_string => true, as: 'maxItems'
|
499
492
|
property :max_length, :numeric_string => true, as: 'maxLength'
|
@@ -505,7 +498,7 @@ module Google
|
|
505
498
|
property :minimum, as: 'minimum'
|
506
499
|
property :nullable, as: 'nullable'
|
507
500
|
property :pattern, as: 'pattern'
|
508
|
-
hash :properties, as: 'properties', class: Google::Apis::FirebasemlV2beta::
|
501
|
+
hash :properties, as: 'properties', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1Schema, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1Schema::Representation
|
509
502
|
|
510
503
|
collection :required, as: 'required'
|
511
504
|
property :title, as: 'title'
|
@@ -513,7 +506,7 @@ module Google
|
|
513
506
|
end
|
514
507
|
end
|
515
508
|
|
516
|
-
class
|
509
|
+
class GoogleCloudAiplatformV1beta1SearchEntryPoint
|
517
510
|
# @private
|
518
511
|
class Representation < Google::Apis::Core::JsonRepresentation
|
519
512
|
property :rendered_content, as: 'renderedContent'
|
@@ -521,60 +514,67 @@ module Google
|
|
521
514
|
end
|
522
515
|
end
|
523
516
|
|
524
|
-
class
|
517
|
+
class GoogleCloudAiplatformV1beta1Tool
|
525
518
|
# @private
|
526
519
|
class Representation < Google::Apis::Core::JsonRepresentation
|
527
|
-
collection :function_declarations, as: 'functionDeclarations', class: Google::Apis::FirebasemlV2beta::
|
520
|
+
collection :function_declarations, as: 'functionDeclarations', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1FunctionDeclaration, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1FunctionDeclaration::Representation
|
528
521
|
|
529
|
-
property :google_search_retrieval, as: 'googleSearchRetrieval', class: Google::Apis::FirebasemlV2beta::
|
522
|
+
property :google_search_retrieval, as: 'googleSearchRetrieval', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1GoogleSearchRetrieval, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1GoogleSearchRetrieval::Representation
|
530
523
|
|
531
|
-
property :retrieval, as: 'retrieval', class: Google::Apis::FirebasemlV2beta::
|
524
|
+
property :retrieval, as: 'retrieval', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1Retrieval, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1Retrieval::Representation
|
532
525
|
|
533
526
|
end
|
534
527
|
end
|
535
528
|
|
536
|
-
class
|
529
|
+
class GoogleCloudAiplatformV1beta1ToolConfig
|
537
530
|
# @private
|
538
531
|
class Representation < Google::Apis::Core::JsonRepresentation
|
539
|
-
property :function_calling_config, as: 'functionCallingConfig', class: Google::Apis::FirebasemlV2beta::
|
540
|
-
|
541
|
-
end
|
542
|
-
end
|
532
|
+
property :function_calling_config, as: 'functionCallingConfig', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1FunctionCallingConfig, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1FunctionCallingConfig::Representation
|
543
533
|
|
544
|
-
class UsageMetadata
|
545
|
-
# @private
|
546
|
-
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'
|
550
534
|
end
|
551
535
|
end
|
552
536
|
|
553
|
-
class
|
537
|
+
class GoogleCloudAiplatformV1beta1VertexAiSearch
|
554
538
|
# @private
|
555
539
|
class Representation < Google::Apis::Core::JsonRepresentation
|
556
540
|
property :datastore, as: 'datastore'
|
557
541
|
end
|
558
542
|
end
|
559
543
|
|
560
|
-
class
|
544
|
+
class GoogleCloudAiplatformV1beta1VertexRagStore
|
561
545
|
# @private
|
562
546
|
class Representation < Google::Apis::Core::JsonRepresentation
|
563
547
|
collection :rag_corpora, as: 'ragCorpora'
|
564
|
-
collection :rag_resources, as: 'ragResources', class: Google::Apis::FirebasemlV2beta::
|
548
|
+
collection :rag_resources, as: 'ragResources', class: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1VertexRagStoreRagResource, decorator: Google::Apis::FirebasemlV2beta::GoogleCloudAiplatformV1beta1VertexRagStoreRagResource::Representation
|
565
549
|
|
566
550
|
property :similarity_top_k, as: 'similarityTopK'
|
567
551
|
property :vector_distance_threshold, as: 'vectorDistanceThreshold'
|
568
552
|
end
|
569
553
|
end
|
570
554
|
|
571
|
-
class
|
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
|
572
564
|
# @private
|
573
565
|
class Representation < Google::Apis::Core::JsonRepresentation
|
574
566
|
property :end_offset, as: 'endOffset'
|
575
567
|
property :start_offset, as: 'startOffset'
|
576
568
|
end
|
577
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
|
578
578
|
end
|
579
579
|
end
|
580
580
|
end
|