google-apis-aiplatform_v1 0.92.0 → 0.93.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: ad22917e229af3290aeb7d38ac3bf2ce2733e4aad7fb19f65695628c0c3a0a82
|
|
4
|
+
data.tar.gz: 8d850d2ac1f4e8101397d54e43ef5a4c5e3d11335b556066c2f081420dc1b72b
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 1b186c6d4dc28772a9474b743220eb6ed10b6267c8cd6d2d6b6797f3730517a5f87b3d3857c23cbe5fd2c77668d80cb440f73f30585784adc8bd25ffe8f317c3
|
|
7
|
+
data.tar.gz: d283b4c597e43bdaea7e12fbfc633617381c27d0df3e17f5b13ad7027231351482a6ddcb9b10974f312ca273ee4b8d15d6203ebc946ec334af932858873498a6
|
data/CHANGELOG.md
CHANGED
|
@@ -33,6 +33,11 @@ module Google
|
|
|
33
33
|
attr_accessor :anchor_last_frame
|
|
34
34
|
alias_method :anchor_last_frame?, :anchor_last_frame
|
|
35
35
|
|
|
36
|
+
# Configuration for audio control.
|
|
37
|
+
# Corresponds to the JSON property `audioControl`
|
|
38
|
+
# @return [Google::Apis::AiplatformV1::CloudAiLargeModelsVisionGenerateVideoExperimentsAudioControlConfig]
|
|
39
|
+
attr_accessor :audio_control
|
|
40
|
+
|
|
36
41
|
# CFG scale for video-transform, perf-generation, a2v, video-textures models.
|
|
37
42
|
# Corresponds to the JSON property `cfgScale`
|
|
38
43
|
# @return [Float]
|
|
@@ -93,6 +98,11 @@ module Google
|
|
|
93
98
|
# @return [String]
|
|
94
99
|
attr_accessor :original_request_json
|
|
95
100
|
|
|
101
|
+
# Config for Outpainting task.
|
|
102
|
+
# Corresponds to the JSON property `outpaintConfig`
|
|
103
|
+
# @return [Google::Apis::AiplatformV1::CloudAiLargeModelsVisionGenerateVideoExperimentsOutpaintConfig]
|
|
104
|
+
attr_accessor :outpaint_config
|
|
105
|
+
|
|
96
106
|
# "Direct" prompting for Experimental Video Generation. These will be sent
|
|
97
107
|
# directly to the LDM without being rewritten.
|
|
98
108
|
# Corresponds to the JSON property `promptInputs`
|
|
@@ -131,6 +141,11 @@ module Google
|
|
|
131
141
|
attr_accessor :truncate_input_video
|
|
132
142
|
alias_method :truncate_input_video?, :truncate_input_video
|
|
133
143
|
|
|
144
|
+
# Video transform configuration for omni editing models.
|
|
145
|
+
# Corresponds to the JSON property `videoTransform`
|
|
146
|
+
# @return [Google::Apis::AiplatformV1::CloudAiLargeModelsVisionGenerateVideoExperimentsVideoTransform]
|
|
147
|
+
attr_accessor :video_transform
|
|
148
|
+
|
|
134
149
|
# GCS URI of the grayscale video mask for Differential Diffusion. Maps to
|
|
135
150
|
# sdedit_video_tmax_scale_map
|
|
136
151
|
# Corresponds to the JSON property `videoTransformMaskGcsUri`
|
|
@@ -149,6 +164,7 @@ module Google
|
|
|
149
164
|
# Update properties of this object
|
|
150
165
|
def update!(**args)
|
|
151
166
|
@anchor_last_frame = args[:anchor_last_frame] if args.key?(:anchor_last_frame)
|
|
167
|
+
@audio_control = args[:audio_control] if args.key?(:audio_control)
|
|
152
168
|
@cfg_scale = args[:cfg_scale] if args.key?(:cfg_scale)
|
|
153
169
|
@codec = args[:codec] if args.key?(:codec)
|
|
154
170
|
@color_alignment = args[:color_alignment] if args.key?(:color_alignment)
|
|
@@ -160,17 +176,47 @@ module Google
|
|
|
160
176
|
@num_diffusion_steps = args[:num_diffusion_steps] if args.key?(:num_diffusion_steps)
|
|
161
177
|
@omni_rewriter = args[:omni_rewriter] if args.key?(:omni_rewriter)
|
|
162
178
|
@original_request_json = args[:original_request_json] if args.key?(:original_request_json)
|
|
179
|
+
@outpaint_config = args[:outpaint_config] if args.key?(:outpaint_config)
|
|
163
180
|
@prompt_inputs = args[:prompt_inputs] if args.key?(:prompt_inputs)
|
|
164
181
|
@request_origin_tag = args[:request_origin_tag] if args.key?(:request_origin_tag)
|
|
165
182
|
@scheduling_config = args[:scheduling_config] if args.key?(:scheduling_config)
|
|
166
183
|
@seamless = args[:seamless] if args.key?(:seamless)
|
|
167
184
|
@spatial_alignment = args[:spatial_alignment] if args.key?(:spatial_alignment)
|
|
168
185
|
@truncate_input_video = args[:truncate_input_video] if args.key?(:truncate_input_video)
|
|
186
|
+
@video_transform = args[:video_transform] if args.key?(:video_transform)
|
|
169
187
|
@video_transform_mask_gcs_uri = args[:video_transform_mask_gcs_uri] if args.key?(:video_transform_mask_gcs_uri)
|
|
170
188
|
@video_transform_strength = args[:video_transform_strength] if args.key?(:video_transform_strength)
|
|
171
189
|
end
|
|
172
190
|
end
|
|
173
191
|
|
|
192
|
+
# Configuration for audio control.
|
|
193
|
+
class CloudAiLargeModelsVisionGenerateVideoExperimentsAudioControlConfig
|
|
194
|
+
include Google::Apis::Core::Hashable
|
|
195
|
+
|
|
196
|
+
# The raw bytes or Cloud Storage URI for an audio input.
|
|
197
|
+
# Corresponds to the JSON property `targetAudio`
|
|
198
|
+
# @return [Google::Apis::AiplatformV1::CloudAiLargeModelsVisionGenerateVideoRequestAudio]
|
|
199
|
+
attr_accessor :target_audio
|
|
200
|
+
|
|
201
|
+
# Optional. When true, uses the audio track from the input video as the target
|
|
202
|
+
# audio instead of regenerating it. Mutually exclusive with `target_audio` below.
|
|
203
|
+
# Requires the input to be a video file, not an image sequence.
|
|
204
|
+
# Corresponds to the JSON property `useTargetAudioFromVideo`
|
|
205
|
+
# @return [Boolean]
|
|
206
|
+
attr_accessor :use_target_audio_from_video
|
|
207
|
+
alias_method :use_target_audio_from_video?, :use_target_audio_from_video
|
|
208
|
+
|
|
209
|
+
def initialize(**args)
|
|
210
|
+
update!(**args)
|
|
211
|
+
end
|
|
212
|
+
|
|
213
|
+
# Update properties of this object
|
|
214
|
+
def update!(**args)
|
|
215
|
+
@target_audio = args[:target_audio] if args.key?(:target_audio)
|
|
216
|
+
@use_target_audio_from_video = args[:use_target_audio_from_video] if args.key?(:use_target_audio_from_video)
|
|
217
|
+
end
|
|
218
|
+
end
|
|
219
|
+
|
|
174
220
|
# Configuration for color alignment.
|
|
175
221
|
class CloudAiLargeModelsVisionGenerateVideoExperimentsColorAlignmentConfig
|
|
176
222
|
include Google::Apis::Core::Hashable
|
|
@@ -241,6 +287,67 @@ module Google
|
|
|
241
287
|
end
|
|
242
288
|
end
|
|
243
289
|
|
|
290
|
+
# Config for Outpainting task.
|
|
291
|
+
class CloudAiLargeModelsVisionGenerateVideoExperimentsOutpaintConfig
|
|
292
|
+
include Google::Apis::Core::Hashable
|
|
293
|
+
|
|
294
|
+
# The input frames for outpainting. Required.
|
|
295
|
+
# Corresponds to the JSON property `inputFrames`
|
|
296
|
+
# @return [Array<Google::Apis::AiplatformV1::CloudAiLargeModelsVisionGenerateVideoExperimentsOutpaintConfigFrameSource>]
|
|
297
|
+
attr_accessor :input_frames
|
|
298
|
+
|
|
299
|
+
# The output specification (defines target resolution and frame count). Required.
|
|
300
|
+
# Corresponds to the JSON property `outputSpec`
|
|
301
|
+
# @return [String]
|
|
302
|
+
attr_accessor :output_spec
|
|
303
|
+
|
|
304
|
+
def initialize(**args)
|
|
305
|
+
update!(**args)
|
|
306
|
+
end
|
|
307
|
+
|
|
308
|
+
# Update properties of this object
|
|
309
|
+
def update!(**args)
|
|
310
|
+
@input_frames = args[:input_frames] if args.key?(:input_frames)
|
|
311
|
+
@output_spec = args[:output_spec] if args.key?(:output_spec)
|
|
312
|
+
end
|
|
313
|
+
end
|
|
314
|
+
|
|
315
|
+
# The input frame(s). It can be a full path or a glob pattern to images. The
|
|
316
|
+
# proto can be extended in the future for alternative ways to specify source of
|
|
317
|
+
# frames.
|
|
318
|
+
class CloudAiLargeModelsVisionGenerateVideoExperimentsOutpaintConfigFrameSource
|
|
319
|
+
include Google::Apis::Core::Hashable
|
|
320
|
+
|
|
321
|
+
#
|
|
322
|
+
# Corresponds to the JSON property `globPattern`
|
|
323
|
+
# @return [String]
|
|
324
|
+
attr_accessor :glob_pattern
|
|
325
|
+
|
|
326
|
+
# Horizontal offset in pixels to shift the input frame from center. Positive
|
|
327
|
+
# values shift right, negative values shift left. Optional. Default is 0 (
|
|
328
|
+
# centered).
|
|
329
|
+
# Corresponds to the JSON property `horizontalOffset`
|
|
330
|
+
# @return [Fixnum]
|
|
331
|
+
attr_accessor :horizontal_offset
|
|
332
|
+
|
|
333
|
+
# Vertical offset in pixels to shift the input frame from center. Positive
|
|
334
|
+
# values shift down, negative values shift up. Optional. Default is 0 (centered).
|
|
335
|
+
# Corresponds to the JSON property `verticalOffset`
|
|
336
|
+
# @return [Fixnum]
|
|
337
|
+
attr_accessor :vertical_offset
|
|
338
|
+
|
|
339
|
+
def initialize(**args)
|
|
340
|
+
update!(**args)
|
|
341
|
+
end
|
|
342
|
+
|
|
343
|
+
# Update properties of this object
|
|
344
|
+
def update!(**args)
|
|
345
|
+
@glob_pattern = args[:glob_pattern] if args.key?(:glob_pattern)
|
|
346
|
+
@horizontal_offset = args[:horizontal_offset] if args.key?(:horizontal_offset)
|
|
347
|
+
@vertical_offset = args[:vertical_offset] if args.key?(:vertical_offset)
|
|
348
|
+
end
|
|
349
|
+
end
|
|
350
|
+
|
|
244
351
|
# Configuration for spatial alignment.
|
|
245
352
|
class CloudAiLargeModelsVisionGenerateVideoExperimentsSpatialAlignmentConfig
|
|
246
353
|
include Google::Apis::Core::Hashable
|
|
@@ -281,6 +388,76 @@ module Google
|
|
|
281
388
|
end
|
|
282
389
|
end
|
|
283
390
|
|
|
391
|
+
#
|
|
392
|
+
class CloudAiLargeModelsVisionGenerateVideoExperimentsVideoTransform
|
|
393
|
+
include Google::Apis::Core::Hashable
|
|
394
|
+
|
|
395
|
+
# Optional. Input for video transform (sdedit, diffdiff). Note the input video
|
|
396
|
+
# from the main GenerateVideoRequest will be used as the conditioning.
|
|
397
|
+
# Corresponds to the JSON property `initializationVideo`
|
|
398
|
+
# @return [Google::Apis::AiplatformV1::CloudAiLargeModelsVisionGenerateVideoRequestVideo]
|
|
399
|
+
attr_accessor :initialization_video
|
|
400
|
+
|
|
401
|
+
# Optional. Mask for video transform (diffdiff).
|
|
402
|
+
# Corresponds to the JSON property `mask`
|
|
403
|
+
# @return [Google::Apis::AiplatformV1::CloudAiLargeModelsVisionGenerateVideoRequestVideo]
|
|
404
|
+
attr_accessor :mask
|
|
405
|
+
|
|
406
|
+
# Optional. Noise strength for video transform.
|
|
407
|
+
# Corresponds to the JSON property `noiseStrength`
|
|
408
|
+
# @return [Float]
|
|
409
|
+
attr_accessor :noise_strength
|
|
410
|
+
|
|
411
|
+
def initialize(**args)
|
|
412
|
+
update!(**args)
|
|
413
|
+
end
|
|
414
|
+
|
|
415
|
+
# Update properties of this object
|
|
416
|
+
def update!(**args)
|
|
417
|
+
@initialization_video = args[:initialization_video] if args.key?(:initialization_video)
|
|
418
|
+
@mask = args[:mask] if args.key?(:mask)
|
|
419
|
+
@noise_strength = args[:noise_strength] if args.key?(:noise_strength)
|
|
420
|
+
end
|
|
421
|
+
end
|
|
422
|
+
|
|
423
|
+
# The raw bytes or Cloud Storage URI for an audio input.
|
|
424
|
+
class CloudAiLargeModelsVisionGenerateVideoRequestAudio
|
|
425
|
+
include Google::Apis::Core::Hashable
|
|
426
|
+
|
|
427
|
+
# Blob ID of the audio. This is used for storing the large audio in the request.
|
|
428
|
+
# Corresponds to the JSON property `blobId`
|
|
429
|
+
# @return [String]
|
|
430
|
+
attr_accessor :blob_id
|
|
431
|
+
|
|
432
|
+
# Base64 encoded bytes string representing the audio.
|
|
433
|
+
# Corresponds to the JSON property `bytesBase64Encoded`
|
|
434
|
+
# @return [String]
|
|
435
|
+
attr_accessor :bytes_base64_encoded
|
|
436
|
+
|
|
437
|
+
#
|
|
438
|
+
# Corresponds to the JSON property `gcsUri`
|
|
439
|
+
# @return [String]
|
|
440
|
+
attr_accessor :gcs_uri
|
|
441
|
+
|
|
442
|
+
# The MIME type of the content of the audio. Only audio in below listed MIME
|
|
443
|
+
# types are supported. - audio/wav - audio/mp3 - audio/mpeg
|
|
444
|
+
# Corresponds to the JSON property `mimeType`
|
|
445
|
+
# @return [String]
|
|
446
|
+
attr_accessor :mime_type
|
|
447
|
+
|
|
448
|
+
def initialize(**args)
|
|
449
|
+
update!(**args)
|
|
450
|
+
end
|
|
451
|
+
|
|
452
|
+
# Update properties of this object
|
|
453
|
+
def update!(**args)
|
|
454
|
+
@blob_id = args[:blob_id] if args.key?(:blob_id)
|
|
455
|
+
@bytes_base64_encoded = args[:bytes_base64_encoded] if args.key?(:bytes_base64_encoded)
|
|
456
|
+
@gcs_uri = args[:gcs_uri] if args.key?(:gcs_uri)
|
|
457
|
+
@mime_type = args[:mime_type] if args.key?(:mime_type)
|
|
458
|
+
end
|
|
459
|
+
end
|
|
460
|
+
|
|
284
461
|
# The image bytes or Cloud Storage URI to make the prediction on.
|
|
285
462
|
class CloudAiLargeModelsVisionGenerateVideoRequestImage
|
|
286
463
|
include Google::Apis::Core::Hashable
|
|
@@ -319,6 +496,44 @@ module Google
|
|
|
319
496
|
end
|
|
320
497
|
end
|
|
321
498
|
|
|
499
|
+
#
|
|
500
|
+
class CloudAiLargeModelsVisionGenerateVideoRequestVideo
|
|
501
|
+
include Google::Apis::Core::Hashable
|
|
502
|
+
|
|
503
|
+
# Blob ID of the video. This is used for storing large videos in the request.
|
|
504
|
+
# Corresponds to the JSON property `blobId`
|
|
505
|
+
# @return [String]
|
|
506
|
+
attr_accessor :blob_id
|
|
507
|
+
|
|
508
|
+
# Base64 encoded bytes string representing the video.
|
|
509
|
+
# Corresponds to the JSON property `bytesBase64Encoded`
|
|
510
|
+
# @return [String]
|
|
511
|
+
attr_accessor :bytes_base64_encoded
|
|
512
|
+
|
|
513
|
+
#
|
|
514
|
+
# Corresponds to the JSON property `gcsUri`
|
|
515
|
+
# @return [String]
|
|
516
|
+
attr_accessor :gcs_uri
|
|
517
|
+
|
|
518
|
+
# The MIME type of the content of the video. Only the video in the below listed
|
|
519
|
+
# MIME types are supported. - video/mp4
|
|
520
|
+
# Corresponds to the JSON property `mimeType`
|
|
521
|
+
# @return [String]
|
|
522
|
+
attr_accessor :mime_type
|
|
523
|
+
|
|
524
|
+
def initialize(**args)
|
|
525
|
+
update!(**args)
|
|
526
|
+
end
|
|
527
|
+
|
|
528
|
+
# Update properties of this object
|
|
529
|
+
def update!(**args)
|
|
530
|
+
@blob_id = args[:blob_id] if args.key?(:blob_id)
|
|
531
|
+
@bytes_base64_encoded = args[:bytes_base64_encoded] if args.key?(:bytes_base64_encoded)
|
|
532
|
+
@gcs_uri = args[:gcs_uri] if args.key?(:gcs_uri)
|
|
533
|
+
@mime_type = args[:mime_type] if args.key?(:mime_type)
|
|
534
|
+
end
|
|
535
|
+
end
|
|
536
|
+
|
|
322
537
|
# Generate video response.
|
|
323
538
|
class CloudAiLargeModelsVisionGenerateVideoResponse
|
|
324
539
|
include Google::Apis::Core::Hashable
|
|
@@ -2132,13 +2347,13 @@ module Google
|
|
|
2132
2347
|
end
|
|
2133
2348
|
|
|
2134
2349
|
# The transcription of an audio part. For multi-speaker audio, each speaker
|
|
2135
|
-
# segment is a separate Part with its own AudioTranscription carrying the
|
|
2136
|
-
# speaker_label
|
|
2350
|
+
# segment is a separate `Part` with its own `AudioTranscription` carrying the `
|
|
2351
|
+
# speaker_label`.
|
|
2137
2352
|
class GoogleCloudAiplatformV1AudioTranscription
|
|
2138
2353
|
include Google::Apis::Core::Hashable
|
|
2139
2354
|
|
|
2140
|
-
# Optional. A label identifying the speaker of this audio segment (e.g.
|
|
2141
|
-
#
|
|
2355
|
+
# Optional. A label identifying the speaker of this audio segment (e.g. `spk_1`,
|
|
2356
|
+
# `spk_2`). Present when `diarization` is set.
|
|
2142
2357
|
# Corresponds to the JSON property `speakerLabel`
|
|
2143
2358
|
# @return [String]
|
|
2144
2359
|
attr_accessor :speaker_label
|
|
@@ -2148,8 +2363,8 @@ module Google
|
|
|
2148
2363
|
# @return [String]
|
|
2149
2364
|
attr_accessor :text
|
|
2150
2365
|
|
|
2151
|
-
# Optional. Detailed word-level transcriptions and timing details. Present when
|
|
2152
|
-
# word_timestamp is set.
|
|
2366
|
+
# Optional. Detailed word-level transcriptions and timing details. Present when `
|
|
2367
|
+
# word_timestamp` is set.
|
|
2153
2368
|
# Corresponds to the JSON property `words`
|
|
2154
2369
|
# @return [Array<Google::Apis::AiplatformV1::GoogleCloudAiplatformV1AudioTranscriptionWordInfo>]
|
|
2155
2370
|
attr_accessor :words
|
|
@@ -2170,7 +2385,8 @@ module Google
|
|
|
2170
2385
|
class GoogleCloudAiplatformV1AudioTranscriptionConfig
|
|
2171
2386
|
include Google::Apis::Core::Hashable
|
|
2172
2387
|
|
|
2173
|
-
# Optional. A list of phrases to
|
|
2388
|
+
# Optional. Deprecated: Use `custom_vocabulary` instead. A list of phrases to
|
|
2389
|
+
# bias the speech recognition model towards.
|
|
2174
2390
|
# Corresponds to the JSON property `adaptationPhrases`
|
|
2175
2391
|
# @return [Array<String>]
|
|
2176
2392
|
attr_accessor :adaptation_phrases
|
|
@@ -2187,12 +2403,20 @@ module Google
|
|
|
2187
2403
|
attr_accessor :diarization
|
|
2188
2404
|
alias_method :diarization?, :diarization
|
|
2189
2405
|
|
|
2190
|
-
#
|
|
2406
|
+
# Deprecated: Use top-level `language_codes` instead. Indicates the language of
|
|
2407
|
+
# the audio should be automatically detected.
|
|
2191
2408
|
# Corresponds to the JSON property `languageAuto`
|
|
2192
2409
|
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1AudioTranscriptionConfigLanguageAuto]
|
|
2193
2410
|
attr_accessor :language_auto
|
|
2194
2411
|
|
|
2195
|
-
#
|
|
2412
|
+
# Optional. BCP-47 language codes providing hints about the languages present in
|
|
2413
|
+
# the audio. If omitted or empty, defaults to automatic language detection.
|
|
2414
|
+
# Corresponds to the JSON property `languageCodes`
|
|
2415
|
+
# @return [Array<String>]
|
|
2416
|
+
attr_accessor :language_codes
|
|
2417
|
+
|
|
2418
|
+
# Deprecated: Use top-level `language_codes` instead. Provides hints to the
|
|
2419
|
+
# model about possible languages present in the audio.
|
|
2196
2420
|
# Corresponds to the JSON property `languageHints`
|
|
2197
2421
|
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1AudioTranscriptionConfigLanguageHints]
|
|
2198
2422
|
attr_accessor :language_hints
|
|
@@ -2213,12 +2437,14 @@ module Google
|
|
|
2213
2437
|
@custom_vocabulary = args[:custom_vocabulary] if args.key?(:custom_vocabulary)
|
|
2214
2438
|
@diarization = args[:diarization] if args.key?(:diarization)
|
|
2215
2439
|
@language_auto = args[:language_auto] if args.key?(:language_auto)
|
|
2440
|
+
@language_codes = args[:language_codes] if args.key?(:language_codes)
|
|
2216
2441
|
@language_hints = args[:language_hints] if args.key?(:language_hints)
|
|
2217
2442
|
@word_timestamp = args[:word_timestamp] if args.key?(:word_timestamp)
|
|
2218
2443
|
end
|
|
2219
2444
|
end
|
|
2220
2445
|
|
|
2221
|
-
#
|
|
2446
|
+
# Deprecated: Use top-level `language_codes` instead. Indicates the language of
|
|
2447
|
+
# the audio should be automatically detected.
|
|
2222
2448
|
class GoogleCloudAiplatformV1AudioTranscriptionConfigLanguageAuto
|
|
2223
2449
|
include Google::Apis::Core::Hashable
|
|
2224
2450
|
|
|
@@ -2231,11 +2457,13 @@ module Google
|
|
|
2231
2457
|
end
|
|
2232
2458
|
end
|
|
2233
2459
|
|
|
2234
|
-
#
|
|
2460
|
+
# Deprecated: Use top-level `language_codes` instead. Provides hints to the
|
|
2461
|
+
# model about possible languages present in the audio.
|
|
2235
2462
|
class GoogleCloudAiplatformV1AudioTranscriptionConfigLanguageHints
|
|
2236
2463
|
include Google::Apis::Core::Hashable
|
|
2237
2464
|
|
|
2238
|
-
# Required.
|
|
2465
|
+
# Required. Deprecated: Use top-level `language_codes` instead. BCP-47 language
|
|
2466
|
+
# codes. At least one must be specified.
|
|
2239
2467
|
# Corresponds to the JSON property `languageCodes`
|
|
2240
2468
|
# @return [Array<String>]
|
|
2241
2469
|
attr_accessor :language_codes
|
|
@@ -5154,6 +5382,108 @@ module Google
|
|
|
5154
5382
|
end
|
|
5155
5383
|
end
|
|
5156
5384
|
|
|
5385
|
+
# Request message for SessionService.CompactSession.
|
|
5386
|
+
class GoogleCloudAiplatformV1CompactSessionRequest
|
|
5387
|
+
include Google::Apis::Core::Hashable
|
|
5388
|
+
|
|
5389
|
+
# Configuration for session compaction. Compaction has two independent
|
|
5390
|
+
# categories that may be enabled individually or together. When both are enabled
|
|
5391
|
+
# they run as a stackable pipeline (deterministic event editing first, then
|
|
5392
|
+
# summarization if the session is still above the target). At least one category
|
|
5393
|
+
# must be enabled; a config with neither is rejected (enforced server-side).
|
|
5394
|
+
# This message is standalone so it can be reused across surfaces (e.g. on the
|
|
5395
|
+
# compact request today, and on session creation for a future reactive trigger).
|
|
5396
|
+
# Corresponds to the JSON property `compaction`
|
|
5397
|
+
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1CompactionConfig]
|
|
5398
|
+
attr_accessor :compaction
|
|
5399
|
+
|
|
5400
|
+
def initialize(**args)
|
|
5401
|
+
update!(**args)
|
|
5402
|
+
end
|
|
5403
|
+
|
|
5404
|
+
# Update properties of this object
|
|
5405
|
+
def update!(**args)
|
|
5406
|
+
@compaction = args[:compaction] if args.key?(:compaction)
|
|
5407
|
+
end
|
|
5408
|
+
end
|
|
5409
|
+
|
|
5410
|
+
# Configuration for session compaction. Compaction has two independent
|
|
5411
|
+
# categories that may be enabled individually or together. When both are enabled
|
|
5412
|
+
# they run as a stackable pipeline (deterministic event editing first, then
|
|
5413
|
+
# summarization if the session is still above the target). At least one category
|
|
5414
|
+
# must be enabled; a config with neither is rejected (enforced server-side).
|
|
5415
|
+
# This message is standalone so it can be reused across surfaces (e.g. on the
|
|
5416
|
+
# compact request today, and on session creation for a future reactive trigger).
|
|
5417
|
+
class GoogleCloudAiplatformV1CompactionConfig
|
|
5418
|
+
include Google::Apis::Core::Hashable
|
|
5419
|
+
|
|
5420
|
+
# Configuration for event-history editing-based compaction. When set, the event
|
|
5421
|
+
# history is rewritten in place using deterministic rules (e.g. truncating/
|
|
5422
|
+
# masking oversized tool responses, stripping model thoughts).
|
|
5423
|
+
# Corresponds to the JSON property `eventEditing`
|
|
5424
|
+
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1CompactionConfigEventEditingConfig]
|
|
5425
|
+
attr_accessor :event_editing
|
|
5426
|
+
|
|
5427
|
+
# Configuration for LLM summarization-based compaction. When set, the session
|
|
5428
|
+
# context is summarized with an LLM once it exceeds the summarizer target
|
|
5429
|
+
# threshold.
|
|
5430
|
+
# Corresponds to the JSON property `summarization`
|
|
5431
|
+
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1CompactionConfigLlmSummarizationConfig]
|
|
5432
|
+
attr_accessor :summarization
|
|
5433
|
+
|
|
5434
|
+
def initialize(**args)
|
|
5435
|
+
update!(**args)
|
|
5436
|
+
end
|
|
5437
|
+
|
|
5438
|
+
# Update properties of this object
|
|
5439
|
+
def update!(**args)
|
|
5440
|
+
@event_editing = args[:event_editing] if args.key?(:event_editing)
|
|
5441
|
+
@summarization = args[:summarization] if args.key?(:summarization)
|
|
5442
|
+
end
|
|
5443
|
+
end
|
|
5444
|
+
|
|
5445
|
+
# Configuration for event-history editing-based compaction. When set, the event
|
|
5446
|
+
# history is rewritten in place using deterministic rules (e.g. truncating/
|
|
5447
|
+
# masking oversized tool responses, stripping model thoughts).
|
|
5448
|
+
class GoogleCloudAiplatformV1CompactionConfigEventEditingConfig
|
|
5449
|
+
include Google::Apis::Core::Hashable
|
|
5450
|
+
|
|
5451
|
+
# Required. The event-editing mode. Only `AUTO` is supported for MVP.
|
|
5452
|
+
# Corresponds to the JSON property `mode`
|
|
5453
|
+
# @return [String]
|
|
5454
|
+
attr_accessor :mode
|
|
5455
|
+
|
|
5456
|
+
def initialize(**args)
|
|
5457
|
+
update!(**args)
|
|
5458
|
+
end
|
|
5459
|
+
|
|
5460
|
+
# Update properties of this object
|
|
5461
|
+
def update!(**args)
|
|
5462
|
+
@mode = args[:mode] if args.key?(:mode)
|
|
5463
|
+
end
|
|
5464
|
+
end
|
|
5465
|
+
|
|
5466
|
+
# Configuration for LLM summarization-based compaction. When set, the session
|
|
5467
|
+
# context is summarized with an LLM once it exceeds the summarizer target
|
|
5468
|
+
# threshold.
|
|
5469
|
+
class GoogleCloudAiplatformV1CompactionConfigLlmSummarizationConfig
|
|
5470
|
+
include Google::Apis::Core::Hashable
|
|
5471
|
+
|
|
5472
|
+
# Required. The summarization mode. Only `AUTO` is supported for MVP.
|
|
5473
|
+
# Corresponds to the JSON property `mode`
|
|
5474
|
+
# @return [String]
|
|
5475
|
+
attr_accessor :mode
|
|
5476
|
+
|
|
5477
|
+
def initialize(**args)
|
|
5478
|
+
update!(**args)
|
|
5479
|
+
end
|
|
5480
|
+
|
|
5481
|
+
# Update properties of this object
|
|
5482
|
+
def update!(**args)
|
|
5483
|
+
@mode = args[:mode] if args.key?(:mode)
|
|
5484
|
+
end
|
|
5485
|
+
end
|
|
5486
|
+
|
|
5157
5487
|
# Request message for VizierService.CompleteTrial.
|
|
5158
5488
|
class GoogleCloudAiplatformV1CompleteTrialRequest
|
|
5159
5489
|
include Google::Apis::Core::Hashable
|
|
@@ -10473,6 +10803,11 @@ module Google
|
|
|
10473
10803
|
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1EvaluationInstanceDeprecatedAgentData]
|
|
10474
10804
|
attr_accessor :agent_data
|
|
10475
10805
|
|
|
10806
|
+
# Source for populating `AgentData` from an Interactions API interaction.
|
|
10807
|
+
# Corresponds to the JSON property `interactionsDataSource`
|
|
10808
|
+
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1EvaluationInstanceInteractionsDataSource]
|
|
10809
|
+
attr_accessor :interactions_data_source
|
|
10810
|
+
|
|
10476
10811
|
# Instance data specified as a map.
|
|
10477
10812
|
# Corresponds to the JSON property `otherData`
|
|
10478
10813
|
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1EvaluationInstanceMapInstance]
|
|
@@ -10507,6 +10842,7 @@ module Google
|
|
|
10507
10842
|
# Update properties of this object
|
|
10508
10843
|
def update!(**args)
|
|
10509
10844
|
@agent_data = args[:agent_data] if args.key?(:agent_data)
|
|
10845
|
+
@interactions_data_source = args[:interactions_data_source] if args.key?(:interactions_data_source)
|
|
10510
10846
|
@other_data = args[:other_data] if args.key?(:other_data)
|
|
10511
10847
|
@prompt = args[:prompt] if args.key?(:prompt)
|
|
10512
10848
|
@reference = args[:reference] if args.key?(:reference)
|
|
@@ -10821,6 +11157,33 @@ module Google
|
|
|
10821
11157
|
end
|
|
10822
11158
|
end
|
|
10823
11159
|
|
|
11160
|
+
# Source for populating `AgentData` from an Interactions API interaction.
|
|
11161
|
+
class GoogleCloudAiplatformV1EvaluationInstanceInteractionsDataSource
|
|
11162
|
+
include Google::Apis::Core::Hashable
|
|
11163
|
+
|
|
11164
|
+
# Config for scraping a Gemini Agent (a Vertex AI Agent resource scraped via the
|
|
11165
|
+
# Vertex Interactions API).
|
|
11166
|
+
# Corresponds to the JSON property `geminiAgentConfig`
|
|
11167
|
+
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1GeminiAgentConfig]
|
|
11168
|
+
attr_accessor :gemini_agent_config
|
|
11169
|
+
|
|
11170
|
+
# Required. The interaction to evaluate. Format: `projects/`project`/locations/`
|
|
11171
|
+
# location`/interactions/`interaction``.
|
|
11172
|
+
# Corresponds to the JSON property `interaction`
|
|
11173
|
+
# @return [String]
|
|
11174
|
+
attr_accessor :interaction
|
|
11175
|
+
|
|
11176
|
+
def initialize(**args)
|
|
11177
|
+
update!(**args)
|
|
11178
|
+
end
|
|
11179
|
+
|
|
11180
|
+
# Update properties of this object
|
|
11181
|
+
def update!(**args)
|
|
11182
|
+
@gemini_agent_config = args[:gemini_agent_config] if args.key?(:gemini_agent_config)
|
|
11183
|
+
@interaction = args[:interaction] if args.key?(:interaction)
|
|
11184
|
+
end
|
|
11185
|
+
end
|
|
11186
|
+
|
|
10824
11187
|
# Instance data specified as a map.
|
|
10825
11188
|
class GoogleCloudAiplatformV1EvaluationInstanceMapInstance
|
|
10826
11189
|
include Google::Apis::Core::Hashable
|
|
@@ -11327,6 +11690,12 @@ module Google
|
|
|
11327
11690
|
# @return [String]
|
|
11328
11691
|
attr_accessor :display_name
|
|
11329
11692
|
|
|
11693
|
+
# Represents a customer-managed encryption key specification that can be applied
|
|
11694
|
+
# to a Vertex AI resource.
|
|
11695
|
+
# Corresponds to the JSON property `encryptionSpec`
|
|
11696
|
+
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1EncryptionSpec]
|
|
11697
|
+
attr_accessor :encryption_spec
|
|
11698
|
+
|
|
11330
11699
|
# The `Status` type defines a logical error model that is suitable for different
|
|
11331
11700
|
# programming environments, including REST APIs and RPC APIs. It is used by [
|
|
11332
11701
|
# gRPC](https://github.com/grpc). Each `Status` message contains three pieces of
|
|
@@ -11394,6 +11763,7 @@ module Google
|
|
|
11394
11763
|
@create_time = args[:create_time] if args.key?(:create_time)
|
|
11395
11764
|
@data_source = args[:data_source] if args.key?(:data_source)
|
|
11396
11765
|
@display_name = args[:display_name] if args.key?(:display_name)
|
|
11766
|
+
@encryption_spec = args[:encryption_spec] if args.key?(:encryption_spec)
|
|
11397
11767
|
@error = args[:error] if args.key?(:error)
|
|
11398
11768
|
@evaluation_config = args[:evaluation_config] if args.key?(:evaluation_config)
|
|
11399
11769
|
@evaluation_results = args[:evaluation_results] if args.key?(:evaluation_results)
|
|
@@ -11668,6 +12038,12 @@ module Google
|
|
|
11668
12038
|
# @return [String]
|
|
11669
12039
|
attr_accessor :agent_engine
|
|
11670
12040
|
|
|
12041
|
+
# Config for scraping a Gemini Agent (a Vertex AI Agent resource scraped via the
|
|
12042
|
+
# Vertex Interactions API).
|
|
12043
|
+
# Corresponds to the JSON property `geminiAgentConfig`
|
|
12044
|
+
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1GeminiAgentConfig]
|
|
12045
|
+
attr_accessor :gemini_agent_config
|
|
12046
|
+
|
|
11671
12047
|
# Session input to run an Agent.
|
|
11672
12048
|
# Corresponds to the JSON property `sessionInput`
|
|
11673
12049
|
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1EvaluationRunInferenceConfigSessionInput]
|
|
@@ -11686,6 +12062,7 @@ module Google
|
|
|
11686
12062
|
# Update properties of this object
|
|
11687
12063
|
def update!(**args)
|
|
11688
12064
|
@agent_engine = args[:agent_engine] if args.key?(:agent_engine)
|
|
12065
|
+
@gemini_agent_config = args[:gemini_agent_config] if args.key?(:gemini_agent_config)
|
|
11689
12066
|
@session_input = args[:session_input] if args.key?(:session_input)
|
|
11690
12067
|
@user_simulator_config = args[:user_simulator_config] if args.key?(:user_simulator_config)
|
|
11691
12068
|
end
|
|
@@ -16928,7 +17305,7 @@ module Google
|
|
|
16928
17305
|
# gateway's `network` project. Each listed project is VPC-SC enforced: it must
|
|
16929
17306
|
# be within the caller's service perimeter. The owning
|
|
16930
17307
|
# SemanticGovernancePolicyEngine's own project is always permitted implicitly
|
|
16931
|
-
# and need not be listed. Format: project ID or number.
|
|
17308
|
+
# and need not be listed. Format: `projects/`project`` (ID or number).
|
|
16932
17309
|
# Corresponds to the JSON property `allowedProjects`
|
|
16933
17310
|
# @return [Array<String>]
|
|
16934
17311
|
attr_accessor :allowed_projects
|
|
@@ -17053,6 +17430,28 @@ module Google
|
|
|
17053
17430
|
end
|
|
17054
17431
|
end
|
|
17055
17432
|
|
|
17433
|
+
# Config for scraping a Gemini Agent (a Vertex AI Agent resource scraped via the
|
|
17434
|
+
# Vertex Interactions API).
|
|
17435
|
+
class GoogleCloudAiplatformV1GeminiAgentConfig
|
|
17436
|
+
include Google::Apis::Core::Hashable
|
|
17437
|
+
|
|
17438
|
+
# Required. The resource name of the Gemini Agent. Format: `projects/`project`/
|
|
17439
|
+
# locations/`location`/agents/`agent``. For example: `projects/123/locations/us-
|
|
17440
|
+
# central1/agents/my-agent`.
|
|
17441
|
+
# Corresponds to the JSON property `geminiAgent`
|
|
17442
|
+
# @return [String]
|
|
17443
|
+
attr_accessor :gemini_agent
|
|
17444
|
+
|
|
17445
|
+
def initialize(**args)
|
|
17446
|
+
update!(**args)
|
|
17447
|
+
end
|
|
17448
|
+
|
|
17449
|
+
# Update properties of this object
|
|
17450
|
+
def update!(**args)
|
|
17451
|
+
@gemini_agent = args[:gemini_agent] if args.key?(:gemini_agent)
|
|
17452
|
+
end
|
|
17453
|
+
end
|
|
17454
|
+
|
|
17056
17455
|
# Input example for preference optimization.
|
|
17057
17456
|
class GoogleCloudAiplatformV1GeminiPreferenceExample
|
|
17058
17457
|
include Google::Apis::Core::Hashable
|
|
@@ -17891,6 +18290,12 @@ module Google
|
|
|
17891
18290
|
attr_accessor :allow_cross_region_model
|
|
17892
18291
|
alias_method :allow_cross_region_model?, :allow_cross_region_model
|
|
17893
18292
|
|
|
18293
|
+
# Config for scraping a Gemini Agent (a Vertex AI Agent resource scraped via the
|
|
18294
|
+
# Vertex Interactions API).
|
|
18295
|
+
# Corresponds to the JSON property `geminiAgentConfig`
|
|
18296
|
+
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1GeminiAgentConfig]
|
|
18297
|
+
attr_accessor :gemini_agent_config
|
|
18298
|
+
|
|
17894
18299
|
# Optional. The agent id to identify the root agent. Required unless `
|
|
17895
18300
|
# gemini_agent_config` is set, in which case it is derived from the referenced
|
|
17896
18301
|
# Gemini Agent.
|
|
@@ -17911,6 +18316,7 @@ module Google
|
|
|
17911
18316
|
def update!(**args)
|
|
17912
18317
|
@agents = args[:agents] if args.key?(:agents)
|
|
17913
18318
|
@allow_cross_region_model = args[:allow_cross_region_model] if args.key?(:allow_cross_region_model)
|
|
18319
|
+
@gemini_agent_config = args[:gemini_agent_config] if args.key?(:gemini_agent_config)
|
|
17914
18320
|
@root_agent_id = args[:root_agent_id] if args.key?(:root_agent_id)
|
|
17915
18321
|
@user_scenario_generation_config = args[:user_scenario_generation_config] if args.key?(:user_scenario_generation_config)
|
|
17916
18322
|
end
|
|
@@ -19537,6 +19943,13 @@ module Google
|
|
|
19537
19943
|
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ImportEvaluationSetRequestInlineSource]
|
|
19538
19944
|
attr_accessor :inline_source
|
|
19539
19945
|
|
|
19946
|
+
# Source for importing interactions from the Interactions API into an
|
|
19947
|
+
# EvaluationSet. The agent identity is specified once, with a list of
|
|
19948
|
+
# interaction IDs to import.
|
|
19949
|
+
# Corresponds to the JSON property `interactionsSource`
|
|
19950
|
+
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ImportEvaluationSetRequestInteractionsSource]
|
|
19951
|
+
attr_accessor :interactions_source
|
|
19952
|
+
|
|
19540
19953
|
def initialize(**args)
|
|
19541
19954
|
update!(**args)
|
|
19542
19955
|
end
|
|
@@ -19550,6 +19963,7 @@ module Google
|
|
|
19550
19963
|
@gcs_destination = args[:gcs_destination] if args.key?(:gcs_destination)
|
|
19551
19964
|
@gcs_source = args[:gcs_source] if args.key?(:gcs_source)
|
|
19552
19965
|
@inline_source = args[:inline_source] if args.key?(:inline_source)
|
|
19966
|
+
@interactions_source = args[:interactions_source] if args.key?(:interactions_source)
|
|
19553
19967
|
end
|
|
19554
19968
|
end
|
|
19555
19969
|
|
|
@@ -19698,6 +20112,35 @@ module Google
|
|
|
19698
20112
|
end
|
|
19699
20113
|
end
|
|
19700
20114
|
|
|
20115
|
+
# Source for importing interactions from the Interactions API into an
|
|
20116
|
+
# EvaluationSet. The agent identity is specified once, with a list of
|
|
20117
|
+
# interaction IDs to import.
|
|
20118
|
+
class GoogleCloudAiplatformV1ImportEvaluationSetRequestInteractionsSource
|
|
20119
|
+
include Google::Apis::Core::Hashable
|
|
20120
|
+
|
|
20121
|
+
# Config for scraping a Gemini Agent (a Vertex AI Agent resource scraped via the
|
|
20122
|
+
# Vertex Interactions API).
|
|
20123
|
+
# Corresponds to the JSON property `geminiAgentConfig`
|
|
20124
|
+
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1GeminiAgentConfig]
|
|
20125
|
+
attr_accessor :gemini_agent_config
|
|
20126
|
+
|
|
20127
|
+
# Required. The interactions to import. Format: `projects/`project`/locations/`
|
|
20128
|
+
# location`/interactions/`interaction``.
|
|
20129
|
+
# Corresponds to the JSON property `interactions`
|
|
20130
|
+
# @return [Array<String>]
|
|
20131
|
+
attr_accessor :interactions
|
|
20132
|
+
|
|
20133
|
+
def initialize(**args)
|
|
20134
|
+
update!(**args)
|
|
20135
|
+
end
|
|
20136
|
+
|
|
20137
|
+
# Update properties of this object
|
|
20138
|
+
def update!(**args)
|
|
20139
|
+
@gemini_agent_config = args[:gemini_agent_config] if args.key?(:gemini_agent_config)
|
|
20140
|
+
@interactions = args[:interactions] if args.key?(:interactions)
|
|
20141
|
+
end
|
|
20142
|
+
end
|
|
20143
|
+
|
|
19701
20144
|
# Details of operations that perform import Feature values.
|
|
19702
20145
|
class GoogleCloudAiplatformV1ImportFeatureValuesOperationMetadata
|
|
19703
20146
|
include Google::Apis::Core::Hashable
|
|
@@ -29486,8 +29929,8 @@ module Google
|
|
|
29486
29929
|
include Google::Apis::Core::Hashable
|
|
29487
29930
|
|
|
29488
29931
|
# The transcription of an audio part. For multi-speaker audio, each speaker
|
|
29489
|
-
# segment is a separate Part with its own AudioTranscription carrying the
|
|
29490
|
-
# speaker_label
|
|
29932
|
+
# segment is a separate `Part` with its own `AudioTranscription` carrying the `
|
|
29933
|
+
# speaker_label`.
|
|
29491
29934
|
# Corresponds to the JSON property `audioTranscription`
|
|
29492
29935
|
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1AudioTranscription]
|
|
29493
29936
|
attr_accessor :audio_transcription
|
|
@@ -32383,7 +32826,7 @@ module Google
|
|
|
32383
32826
|
end
|
|
32384
32827
|
end
|
|
32385
32828
|
|
|
32386
|
-
# Request message for ReasoningEngineExecutionService.
|
|
32829
|
+
# Request message for ReasoningEngineExecutionService.QueryReasoningEngine.
|
|
32387
32830
|
class GoogleCloudAiplatformV1QueryReasoningEngineRequest
|
|
32388
32831
|
include Google::Apis::Core::Hashable
|
|
32389
32832
|
|
|
@@ -32410,7 +32853,7 @@ module Google
|
|
|
32410
32853
|
end
|
|
32411
32854
|
end
|
|
32412
32855
|
|
|
32413
|
-
# Response message for ReasoningEngineExecutionService.
|
|
32856
|
+
# Response message for ReasoningEngineExecutionService.QueryReasoningEngine.
|
|
32414
32857
|
class GoogleCloudAiplatformV1QueryReasoningEngineResponse
|
|
32415
32858
|
include Google::Apis::Core::Hashable
|
|
32416
32859
|
|
|
@@ -35403,7 +35846,8 @@ module Google
|
|
|
35403
35846
|
attr_accessor :reservation_affinity_type
|
|
35404
35847
|
|
|
35405
35848
|
# Optional. Corresponds to the label values of a reservation resource. This must
|
|
35406
|
-
# be the
|
|
35849
|
+
# be the resource name of the reservation, reservation block, or reservation sub-
|
|
35850
|
+
# block.
|
|
35407
35851
|
# Corresponds to the JSON property `values`
|
|
35408
35852
|
# @return [Array<String>]
|
|
35409
35853
|
attr_accessor :values
|
|
@@ -36905,6 +37349,14 @@ module Google
|
|
|
36905
37349
|
# @return [String]
|
|
36906
37350
|
attr_accessor :sandbox_internal_ip
|
|
36907
37351
|
|
|
37352
|
+
# Output only. The name of the PSC-E service attachment created for private
|
|
37353
|
+
# ingress to this SandboxEnvironment. Only populated when the template enables
|
|
37354
|
+
# private ingress (see SandboxEnvironmentTemplate.ingress_control_config). VPC-
|
|
37355
|
+
# SC customers use this to create a PSC endpoint in their VPC.
|
|
37356
|
+
# Corresponds to the JSON property `serviceAttachment`
|
|
37357
|
+
# @return [String]
|
|
37358
|
+
attr_accessor :service_attachment
|
|
37359
|
+
|
|
36908
37360
|
def initialize(**args)
|
|
36909
37361
|
update!(**args)
|
|
36910
37362
|
end
|
|
@@ -36915,6 +37367,7 @@ module Google
|
|
|
36915
37367
|
@load_balancer_ip = args[:load_balancer_ip] if args.key?(:load_balancer_ip)
|
|
36916
37368
|
@routing_token = args[:routing_token] if args.key?(:routing_token)
|
|
36917
37369
|
@sandbox_internal_ip = args[:sandbox_internal_ip] if args.key?(:sandbox_internal_ip)
|
|
37370
|
+
@service_attachment = args[:service_attachment] if args.key?(:service_attachment)
|
|
36918
37371
|
end
|
|
36919
37372
|
end
|
|
36920
37373
|
|
|
@@ -37084,6 +37537,11 @@ module Google
|
|
|
37084
37537
|
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1SandboxEnvironmentTemplateEgressControlConfig]
|
|
37085
37538
|
attr_accessor :egress_control_config
|
|
37086
37539
|
|
|
37540
|
+
# Represents configuration for private service connect.
|
|
37541
|
+
# Corresponds to the JSON property `ingressControlConfig`
|
|
37542
|
+
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1PrivateServiceConnectConfig]
|
|
37543
|
+
attr_accessor :ingress_control_config
|
|
37544
|
+
|
|
37087
37545
|
# Identifier. The resource name of the SandboxEnvironmentTemplate. Format: `
|
|
37088
37546
|
# projects/`project`/locations/`location`/reasoningEngines/`reasoning_engine`/
|
|
37089
37547
|
# sandboxEnvironmentTemplates/`sandbox_environment_template``
|
|
@@ -37113,6 +37571,7 @@ module Google
|
|
|
37113
37571
|
@default_container_environment = args[:default_container_environment] if args.key?(:default_container_environment)
|
|
37114
37572
|
@display_name = args[:display_name] if args.key?(:display_name)
|
|
37115
37573
|
@egress_control_config = args[:egress_control_config] if args.key?(:egress_control_config)
|
|
37574
|
+
@ingress_control_config = args[:ingress_control_config] if args.key?(:ingress_control_config)
|
|
37116
37575
|
@name = args[:name] if args.key?(:name)
|
|
37117
37576
|
@state = args[:state] if args.key?(:state)
|
|
37118
37577
|
@update_time = args[:update_time] if args.key?(:update_time)
|
|
@@ -37219,7 +37678,7 @@ module Google
|
|
|
37219
37678
|
attr_accessor :internet_access
|
|
37220
37679
|
alias_method :internet_access?, :internet_access
|
|
37221
37680
|
|
|
37222
|
-
# Optional. The name of the customer VPC NetworkAttachment used to draw a PSC
|
|
37681
|
+
# Optional. The name of the customer VPC `NetworkAttachment` used to draw a PSC
|
|
37223
37682
|
# interface IP into the customer VPC for sandbox egress.
|
|
37224
37683
|
# Corresponds to the JSON property `networkAttachment`
|
|
37225
37684
|
# @return [String]
|
|
@@ -37250,13 +37709,13 @@ module Google
|
|
|
37250
37709
|
attr_accessor :domain
|
|
37251
37710
|
|
|
37252
37711
|
# Required. The VPC network name in the target_project where the DNS zone
|
|
37253
|
-
# specified by
|
|
37712
|
+
# specified by `domain` is visible.
|
|
37254
37713
|
# Corresponds to the JSON property `targetNetwork`
|
|
37255
37714
|
# @return [String]
|
|
37256
37715
|
attr_accessor :target_network
|
|
37257
37716
|
|
|
37258
|
-
# Required. The project ID hosting the Cloud DNS managed zone that contains the
|
|
37259
|
-
# domain
|
|
37717
|
+
# Required. The project ID hosting the Cloud DNS managed zone that contains the `
|
|
37718
|
+
# domain`. The Vertex AI Service Agent requires the dns.peer role on this
|
|
37260
37719
|
# project.
|
|
37261
37720
|
# Corresponds to the JSON property `targetProject`
|
|
37262
37721
|
# @return [String]
|
|
@@ -45925,7 +46384,7 @@ module Google
|
|
|
45925
46384
|
end
|
|
45926
46385
|
end
|
|
45927
46386
|
|
|
45928
|
-
# Request message for ReasoningEngineExecutionService.
|
|
46387
|
+
# Request message for ReasoningEngineExecutionService.StreamQueryReasoningEngine.
|
|
45929
46388
|
class GoogleCloudAiplatformV1StreamQueryReasoningEngineRequest
|
|
45930
46389
|
include Google::Apis::Core::Hashable
|
|
45931
46390
|
|
|
@@ -51873,6 +52332,12 @@ module Google
|
|
|
51873
52332
|
# @return [String]
|
|
51874
52333
|
attr_accessor :gcs_uri
|
|
51875
52334
|
|
|
52335
|
+
# Optional. The video output resolution. Supported values: "360p", "720p", "
|
|
52336
|
+
# 1080p", "4k".
|
|
52337
|
+
# Corresponds to the JSON property `resolution`
|
|
52338
|
+
# @return [String]
|
|
52339
|
+
attr_accessor :resolution
|
|
52340
|
+
|
|
51876
52341
|
def initialize(**args)
|
|
51877
52342
|
update!(**args)
|
|
51878
52343
|
end
|
|
@@ -51883,6 +52348,7 @@ module Google
|
|
|
51883
52348
|
@delivery = args[:delivery] if args.key?(:delivery)
|
|
51884
52349
|
@duration = args[:duration] if args.key?(:duration)
|
|
51885
52350
|
@gcs_uri = args[:gcs_uri] if args.key?(:gcs_uri)
|
|
52351
|
+
@resolution = args[:resolution] if args.key?(:resolution)
|
|
51886
52352
|
end
|
|
51887
52353
|
end
|
|
51888
52354
|
|
|
@@ -16,13 +16,13 @@ module Google
|
|
|
16
16
|
module Apis
|
|
17
17
|
module AiplatformV1
|
|
18
18
|
# Version of the google-apis-aiplatform_v1 gem
|
|
19
|
-
GEM_VERSION = "0.
|
|
19
|
+
GEM_VERSION = "0.93.0"
|
|
20
20
|
|
|
21
21
|
# Version of the code generator used to generate this client
|
|
22
22
|
GENERATOR_VERSION = "0.19.0"
|
|
23
23
|
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
|
25
|
-
REVISION = "
|
|
25
|
+
REVISION = "20260808"
|
|
26
26
|
end
|
|
27
27
|
end
|
|
28
28
|
end
|
|
@@ -28,6 +28,12 @@ module Google
|
|
|
28
28
|
include Google::Apis::Core::JsonObjectSupport
|
|
29
29
|
end
|
|
30
30
|
|
|
31
|
+
class CloudAiLargeModelsVisionGenerateVideoExperimentsAudioControlConfig
|
|
32
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
33
|
+
|
|
34
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
35
|
+
end
|
|
36
|
+
|
|
31
37
|
class CloudAiLargeModelsVisionGenerateVideoExperimentsColorAlignmentConfig
|
|
32
38
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
33
39
|
|
|
@@ -46,6 +52,18 @@ module Google
|
|
|
46
52
|
include Google::Apis::Core::JsonObjectSupport
|
|
47
53
|
end
|
|
48
54
|
|
|
55
|
+
class CloudAiLargeModelsVisionGenerateVideoExperimentsOutpaintConfig
|
|
56
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
57
|
+
|
|
58
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
59
|
+
end
|
|
60
|
+
|
|
61
|
+
class CloudAiLargeModelsVisionGenerateVideoExperimentsOutpaintConfigFrameSource
|
|
62
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
63
|
+
|
|
64
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
65
|
+
end
|
|
66
|
+
|
|
49
67
|
class CloudAiLargeModelsVisionGenerateVideoExperimentsSpatialAlignmentConfig
|
|
50
68
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
51
69
|
|
|
@@ -58,12 +76,30 @@ module Google
|
|
|
58
76
|
include Google::Apis::Core::JsonObjectSupport
|
|
59
77
|
end
|
|
60
78
|
|
|
79
|
+
class CloudAiLargeModelsVisionGenerateVideoExperimentsVideoTransform
|
|
80
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
81
|
+
|
|
82
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
83
|
+
end
|
|
84
|
+
|
|
85
|
+
class CloudAiLargeModelsVisionGenerateVideoRequestAudio
|
|
86
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
87
|
+
|
|
88
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
89
|
+
end
|
|
90
|
+
|
|
61
91
|
class CloudAiLargeModelsVisionGenerateVideoRequestImage
|
|
62
92
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
63
93
|
|
|
64
94
|
include Google::Apis::Core::JsonObjectSupport
|
|
65
95
|
end
|
|
66
96
|
|
|
97
|
+
class CloudAiLargeModelsVisionGenerateVideoRequestVideo
|
|
98
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
99
|
+
|
|
100
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
101
|
+
end
|
|
102
|
+
|
|
67
103
|
class CloudAiLargeModelsVisionGenerateVideoResponse
|
|
68
104
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
69
105
|
|
|
@@ -940,6 +976,30 @@ module Google
|
|
|
940
976
|
include Google::Apis::Core::JsonObjectSupport
|
|
941
977
|
end
|
|
942
978
|
|
|
979
|
+
class GoogleCloudAiplatformV1CompactSessionRequest
|
|
980
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
981
|
+
|
|
982
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
983
|
+
end
|
|
984
|
+
|
|
985
|
+
class GoogleCloudAiplatformV1CompactionConfig
|
|
986
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
987
|
+
|
|
988
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
989
|
+
end
|
|
990
|
+
|
|
991
|
+
class GoogleCloudAiplatformV1CompactionConfigEventEditingConfig
|
|
992
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
993
|
+
|
|
994
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
995
|
+
end
|
|
996
|
+
|
|
997
|
+
class GoogleCloudAiplatformV1CompactionConfigLlmSummarizationConfig
|
|
998
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
999
|
+
|
|
1000
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
1001
|
+
end
|
|
1002
|
+
|
|
943
1003
|
class GoogleCloudAiplatformV1CompleteTrialRequest
|
|
944
1004
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
945
1005
|
|
|
@@ -1762,6 +1822,12 @@ module Google
|
|
|
1762
1822
|
include Google::Apis::Core::JsonObjectSupport
|
|
1763
1823
|
end
|
|
1764
1824
|
|
|
1825
|
+
class GoogleCloudAiplatformV1EvaluationInstanceInteractionsDataSource
|
|
1826
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
1827
|
+
|
|
1828
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
1829
|
+
end
|
|
1830
|
+
|
|
1765
1831
|
class GoogleCloudAiplatformV1EvaluationInstanceMapInstance
|
|
1766
1832
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
1767
1833
|
|
|
@@ -2746,6 +2812,12 @@ module Google
|
|
|
2746
2812
|
include Google::Apis::Core::JsonObjectSupport
|
|
2747
2813
|
end
|
|
2748
2814
|
|
|
2815
|
+
class GoogleCloudAiplatformV1GeminiAgentConfig
|
|
2816
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
2817
|
+
|
|
2818
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
2819
|
+
end
|
|
2820
|
+
|
|
2749
2821
|
class GoogleCloudAiplatformV1GeminiPreferenceExample
|
|
2750
2822
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
2751
2823
|
|
|
@@ -3166,6 +3238,12 @@ module Google
|
|
|
3166
3238
|
include Google::Apis::Core::JsonObjectSupport
|
|
3167
3239
|
end
|
|
3168
3240
|
|
|
3241
|
+
class GoogleCloudAiplatformV1ImportEvaluationSetRequestInteractionsSource
|
|
3242
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
3243
|
+
|
|
3244
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
3245
|
+
end
|
|
3246
|
+
|
|
3169
3247
|
class GoogleCloudAiplatformV1ImportFeatureValuesOperationMetadata
|
|
3170
3248
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
3171
3249
|
|
|
@@ -8798,6 +8876,8 @@ module Google
|
|
|
8798
8876
|
# @private
|
|
8799
8877
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
8800
8878
|
property :anchor_last_frame, as: 'anchorLastFrame'
|
|
8879
|
+
property :audio_control, as: 'audioControl', class: Google::Apis::AiplatformV1::CloudAiLargeModelsVisionGenerateVideoExperimentsAudioControlConfig, decorator: Google::Apis::AiplatformV1::CloudAiLargeModelsVisionGenerateVideoExperimentsAudioControlConfig::Representation
|
|
8880
|
+
|
|
8801
8881
|
property :cfg_scale, as: 'cfgScale'
|
|
8802
8882
|
property :codec, as: 'codec'
|
|
8803
8883
|
property :color_alignment, as: 'colorAlignment', class: Google::Apis::AiplatformV1::CloudAiLargeModelsVisionGenerateVideoExperimentsColorAlignmentConfig, decorator: Google::Apis::AiplatformV1::CloudAiLargeModelsVisionGenerateVideoExperimentsColorAlignmentConfig::Representation
|
|
@@ -8813,6 +8893,8 @@ module Google
|
|
|
8813
8893
|
property :omni_rewriter, as: 'omniRewriter', class: Google::Apis::AiplatformV1::CloudAiLargeModelsVisionGenerateVideoExperimentsOmniRewriterConfig, decorator: Google::Apis::AiplatformV1::CloudAiLargeModelsVisionGenerateVideoExperimentsOmniRewriterConfig::Representation
|
|
8814
8894
|
|
|
8815
8895
|
property :original_request_json, as: 'originalRequestJson'
|
|
8896
|
+
property :outpaint_config, as: 'outpaintConfig', class: Google::Apis::AiplatformV1::CloudAiLargeModelsVisionGenerateVideoExperimentsOutpaintConfig, decorator: Google::Apis::AiplatformV1::CloudAiLargeModelsVisionGenerateVideoExperimentsOutpaintConfig::Representation
|
|
8897
|
+
|
|
8816
8898
|
property :prompt_inputs, as: 'promptInputs', class: Google::Apis::AiplatformV1::CloudAiLargeModelsVisionPromptInputs, decorator: Google::Apis::AiplatformV1::CloudAiLargeModelsVisionPromptInputs::Representation
|
|
8817
8899
|
|
|
8818
8900
|
property :request_origin_tag, as: 'requestOriginTag'
|
|
@@ -8823,11 +8905,22 @@ module Google
|
|
|
8823
8905
|
property :spatial_alignment, as: 'spatialAlignment', class: Google::Apis::AiplatformV1::CloudAiLargeModelsVisionGenerateVideoExperimentsSpatialAlignmentConfig, decorator: Google::Apis::AiplatformV1::CloudAiLargeModelsVisionGenerateVideoExperimentsSpatialAlignmentConfig::Representation
|
|
8824
8906
|
|
|
8825
8907
|
property :truncate_input_video, as: 'truncateInputVideo'
|
|
8908
|
+
property :video_transform, as: 'videoTransform', class: Google::Apis::AiplatformV1::CloudAiLargeModelsVisionGenerateVideoExperimentsVideoTransform, decorator: Google::Apis::AiplatformV1::CloudAiLargeModelsVisionGenerateVideoExperimentsVideoTransform::Representation
|
|
8909
|
+
|
|
8826
8910
|
property :video_transform_mask_gcs_uri, as: 'videoTransformMaskGcsUri'
|
|
8827
8911
|
property :video_transform_strength, as: 'videoTransformStrength'
|
|
8828
8912
|
end
|
|
8829
8913
|
end
|
|
8830
8914
|
|
|
8915
|
+
class CloudAiLargeModelsVisionGenerateVideoExperimentsAudioControlConfig
|
|
8916
|
+
# @private
|
|
8917
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
8918
|
+
property :target_audio, as: 'targetAudio', class: Google::Apis::AiplatformV1::CloudAiLargeModelsVisionGenerateVideoRequestAudio, decorator: Google::Apis::AiplatformV1::CloudAiLargeModelsVisionGenerateVideoRequestAudio::Representation
|
|
8919
|
+
|
|
8920
|
+
property :use_target_audio_from_video, as: 'useTargetAudioFromVideo'
|
|
8921
|
+
end
|
|
8922
|
+
end
|
|
8923
|
+
|
|
8831
8924
|
class CloudAiLargeModelsVisionGenerateVideoExperimentsColorAlignmentConfig
|
|
8832
8925
|
# @private
|
|
8833
8926
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -8852,6 +8945,24 @@ module Google
|
|
|
8852
8945
|
end
|
|
8853
8946
|
end
|
|
8854
8947
|
|
|
8948
|
+
class CloudAiLargeModelsVisionGenerateVideoExperimentsOutpaintConfig
|
|
8949
|
+
# @private
|
|
8950
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
8951
|
+
collection :input_frames, as: 'inputFrames', class: Google::Apis::AiplatformV1::CloudAiLargeModelsVisionGenerateVideoExperimentsOutpaintConfigFrameSource, decorator: Google::Apis::AiplatformV1::CloudAiLargeModelsVisionGenerateVideoExperimentsOutpaintConfigFrameSource::Representation
|
|
8952
|
+
|
|
8953
|
+
property :output_spec, as: 'outputSpec'
|
|
8954
|
+
end
|
|
8955
|
+
end
|
|
8956
|
+
|
|
8957
|
+
class CloudAiLargeModelsVisionGenerateVideoExperimentsOutpaintConfigFrameSource
|
|
8958
|
+
# @private
|
|
8959
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
8960
|
+
property :glob_pattern, as: 'globPattern'
|
|
8961
|
+
property :horizontal_offset, as: 'horizontalOffset'
|
|
8962
|
+
property :vertical_offset, as: 'verticalOffset'
|
|
8963
|
+
end
|
|
8964
|
+
end
|
|
8965
|
+
|
|
8855
8966
|
class CloudAiLargeModelsVisionGenerateVideoExperimentsSpatialAlignmentConfig
|
|
8856
8967
|
# @private
|
|
8857
8968
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -8866,6 +8977,27 @@ module Google
|
|
|
8866
8977
|
end
|
|
8867
8978
|
end
|
|
8868
8979
|
|
|
8980
|
+
class CloudAiLargeModelsVisionGenerateVideoExperimentsVideoTransform
|
|
8981
|
+
# @private
|
|
8982
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
8983
|
+
property :initialization_video, as: 'initializationVideo', class: Google::Apis::AiplatformV1::CloudAiLargeModelsVisionGenerateVideoRequestVideo, decorator: Google::Apis::AiplatformV1::CloudAiLargeModelsVisionGenerateVideoRequestVideo::Representation
|
|
8984
|
+
|
|
8985
|
+
property :mask, as: 'mask', class: Google::Apis::AiplatformV1::CloudAiLargeModelsVisionGenerateVideoRequestVideo, decorator: Google::Apis::AiplatformV1::CloudAiLargeModelsVisionGenerateVideoRequestVideo::Representation
|
|
8986
|
+
|
|
8987
|
+
property :noise_strength, as: 'noiseStrength'
|
|
8988
|
+
end
|
|
8989
|
+
end
|
|
8990
|
+
|
|
8991
|
+
class CloudAiLargeModelsVisionGenerateVideoRequestAudio
|
|
8992
|
+
# @private
|
|
8993
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
8994
|
+
property :blob_id, as: 'blobId'
|
|
8995
|
+
property :bytes_base64_encoded, as: 'bytesBase64Encoded'
|
|
8996
|
+
property :gcs_uri, as: 'gcsUri'
|
|
8997
|
+
property :mime_type, as: 'mimeType'
|
|
8998
|
+
end
|
|
8999
|
+
end
|
|
9000
|
+
|
|
8869
9001
|
class CloudAiLargeModelsVisionGenerateVideoRequestImage
|
|
8870
9002
|
# @private
|
|
8871
9003
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -8876,6 +9008,16 @@ module Google
|
|
|
8876
9008
|
end
|
|
8877
9009
|
end
|
|
8878
9010
|
|
|
9011
|
+
class CloudAiLargeModelsVisionGenerateVideoRequestVideo
|
|
9012
|
+
# @private
|
|
9013
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
9014
|
+
property :blob_id, as: 'blobId'
|
|
9015
|
+
property :bytes_base64_encoded, as: 'bytesBase64Encoded'
|
|
9016
|
+
property :gcs_uri, as: 'gcsUri'
|
|
9017
|
+
property :mime_type, as: 'mimeType'
|
|
9018
|
+
end
|
|
9019
|
+
end
|
|
9020
|
+
|
|
8879
9021
|
class CloudAiLargeModelsVisionGenerateVideoResponse
|
|
8880
9022
|
# @private
|
|
8881
9023
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -9397,6 +9539,7 @@ module Google
|
|
|
9397
9539
|
property :diarization, as: 'diarization'
|
|
9398
9540
|
property :language_auto, as: 'languageAuto', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1AudioTranscriptionConfigLanguageAuto, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1AudioTranscriptionConfigLanguageAuto::Representation
|
|
9399
9541
|
|
|
9542
|
+
collection :language_codes, as: 'languageCodes'
|
|
9400
9543
|
property :language_hints, as: 'languageHints', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1AudioTranscriptionConfigLanguageHints, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1AudioTranscriptionConfigLanguageHints::Representation
|
|
9401
9544
|
|
|
9402
9545
|
property :word_timestamp, as: 'wordTimestamp'
|
|
@@ -10290,6 +10433,38 @@ module Google
|
|
|
10290
10433
|
end
|
|
10291
10434
|
end
|
|
10292
10435
|
|
|
10436
|
+
class GoogleCloudAiplatformV1CompactSessionRequest
|
|
10437
|
+
# @private
|
|
10438
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
10439
|
+
property :compaction, as: 'compaction', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1CompactionConfig, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1CompactionConfig::Representation
|
|
10440
|
+
|
|
10441
|
+
end
|
|
10442
|
+
end
|
|
10443
|
+
|
|
10444
|
+
class GoogleCloudAiplatformV1CompactionConfig
|
|
10445
|
+
# @private
|
|
10446
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
10447
|
+
property :event_editing, as: 'eventEditing', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1CompactionConfigEventEditingConfig, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1CompactionConfigEventEditingConfig::Representation
|
|
10448
|
+
|
|
10449
|
+
property :summarization, as: 'summarization', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1CompactionConfigLlmSummarizationConfig, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1CompactionConfigLlmSummarizationConfig::Representation
|
|
10450
|
+
|
|
10451
|
+
end
|
|
10452
|
+
end
|
|
10453
|
+
|
|
10454
|
+
class GoogleCloudAiplatformV1CompactionConfigEventEditingConfig
|
|
10455
|
+
# @private
|
|
10456
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
10457
|
+
property :mode, as: 'mode'
|
|
10458
|
+
end
|
|
10459
|
+
end
|
|
10460
|
+
|
|
10461
|
+
class GoogleCloudAiplatformV1CompactionConfigLlmSummarizationConfig
|
|
10462
|
+
# @private
|
|
10463
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
10464
|
+
property :mode, as: 'mode'
|
|
10465
|
+
end
|
|
10466
|
+
end
|
|
10467
|
+
|
|
10293
10468
|
class GoogleCloudAiplatformV1CompleteTrialRequest
|
|
10294
10469
|
# @private
|
|
10295
10470
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -11767,6 +11942,8 @@ module Google
|
|
|
11767
11942
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
11768
11943
|
property :agent_data, as: 'agentData', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1EvaluationInstanceDeprecatedAgentData, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1EvaluationInstanceDeprecatedAgentData::Representation
|
|
11769
11944
|
|
|
11945
|
+
property :interactions_data_source, as: 'interactionsDataSource', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1EvaluationInstanceInteractionsDataSource, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1EvaluationInstanceInteractionsDataSource::Representation
|
|
11946
|
+
|
|
11770
11947
|
property :other_data, as: 'otherData', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1EvaluationInstanceMapInstance, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1EvaluationInstanceMapInstance::Representation
|
|
11771
11948
|
|
|
11772
11949
|
property :prompt, as: 'prompt', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1EvaluationInstanceInstanceData, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1EvaluationInstanceInstanceData::Representation
|
|
@@ -11878,6 +12055,15 @@ module Google
|
|
|
11878
12055
|
end
|
|
11879
12056
|
end
|
|
11880
12057
|
|
|
12058
|
+
class GoogleCloudAiplatformV1EvaluationInstanceInteractionsDataSource
|
|
12059
|
+
# @private
|
|
12060
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
12061
|
+
property :gemini_agent_config, as: 'geminiAgentConfig', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1GeminiAgentConfig, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1GeminiAgentConfig::Representation
|
|
12062
|
+
|
|
12063
|
+
property :interaction, as: 'interaction'
|
|
12064
|
+
end
|
|
12065
|
+
end
|
|
12066
|
+
|
|
11881
12067
|
class GoogleCloudAiplatformV1EvaluationInstanceMapInstance
|
|
11882
12068
|
# @private
|
|
11883
12069
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -12023,6 +12209,8 @@ module Google
|
|
|
12023
12209
|
property :data_source, as: 'dataSource', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1EvaluationRunDataSource, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1EvaluationRunDataSource::Representation
|
|
12024
12210
|
|
|
12025
12211
|
property :display_name, as: 'displayName'
|
|
12212
|
+
property :encryption_spec, as: 'encryptionSpec', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1EncryptionSpec, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1EncryptionSpec::Representation
|
|
12213
|
+
|
|
12026
12214
|
property :error, as: 'error', class: Google::Apis::AiplatformV1::GoogleRpcStatus, decorator: Google::Apis::AiplatformV1::GoogleRpcStatus::Representation
|
|
12027
12215
|
|
|
12028
12216
|
property :evaluation_config, as: 'evaluationConfig', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1EvaluationRunEvaluationConfig, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1EvaluationRunEvaluationConfig::Representation
|
|
@@ -12118,6 +12306,8 @@ module Google
|
|
|
12118
12306
|
# @private
|
|
12119
12307
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
12120
12308
|
property :agent_engine, as: 'agentEngine'
|
|
12309
|
+
property :gemini_agent_config, as: 'geminiAgentConfig', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1GeminiAgentConfig, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1GeminiAgentConfig::Representation
|
|
12310
|
+
|
|
12121
12311
|
property :session_input, as: 'sessionInput', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1EvaluationRunInferenceConfigSessionInput, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1EvaluationRunInferenceConfigSessionInput::Representation
|
|
12122
12312
|
|
|
12123
12313
|
property :user_simulator_config, as: 'userSimulatorConfig', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1EvaluationRunInferenceConfigAgentRunConfigUserSimulatorConfig, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1EvaluationRunInferenceConfigAgentRunConfigUserSimulatorConfig::Representation
|
|
@@ -13599,6 +13789,13 @@ module Google
|
|
|
13599
13789
|
end
|
|
13600
13790
|
end
|
|
13601
13791
|
|
|
13792
|
+
class GoogleCloudAiplatformV1GeminiAgentConfig
|
|
13793
|
+
# @private
|
|
13794
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
13795
|
+
property :gemini_agent, as: 'geminiAgent'
|
|
13796
|
+
end
|
|
13797
|
+
end
|
|
13798
|
+
|
|
13602
13799
|
class GoogleCloudAiplatformV1GeminiPreferenceExample
|
|
13603
13800
|
# @private
|
|
13604
13801
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -13850,6 +14047,8 @@ module Google
|
|
|
13850
14047
|
hash :agents, as: 'agents', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1AgentConfig, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1AgentConfig::Representation
|
|
13851
14048
|
|
|
13852
14049
|
property :allow_cross_region_model, as: 'allowCrossRegionModel'
|
|
14050
|
+
property :gemini_agent_config, as: 'geminiAgentConfig', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1GeminiAgentConfig, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1GeminiAgentConfig::Representation
|
|
14051
|
+
|
|
13853
14052
|
property :root_agent_id, as: 'rootAgentId'
|
|
13854
14053
|
property :user_scenario_generation_config, as: 'userScenarioGenerationConfig', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1UserScenarioGenerationConfig, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1UserScenarioGenerationConfig::Representation
|
|
13855
14054
|
|
|
@@ -14300,6 +14499,8 @@ module Google
|
|
|
14300
14499
|
|
|
14301
14500
|
property :inline_source, as: 'inlineSource', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ImportEvaluationSetRequestInlineSource, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ImportEvaluationSetRequestInlineSource::Representation
|
|
14302
14501
|
|
|
14502
|
+
property :interactions_source, as: 'interactionsSource', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ImportEvaluationSetRequestInteractionsSource, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ImportEvaluationSetRequestInteractionsSource::Representation
|
|
14503
|
+
|
|
14303
14504
|
end
|
|
14304
14505
|
end
|
|
14305
14506
|
|
|
@@ -14348,6 +14549,15 @@ module Google
|
|
|
14348
14549
|
end
|
|
14349
14550
|
end
|
|
14350
14551
|
|
|
14552
|
+
class GoogleCloudAiplatformV1ImportEvaluationSetRequestInteractionsSource
|
|
14553
|
+
# @private
|
|
14554
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
14555
|
+
property :gemini_agent_config, as: 'geminiAgentConfig', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1GeminiAgentConfig, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1GeminiAgentConfig::Representation
|
|
14556
|
+
|
|
14557
|
+
collection :interactions, as: 'interactions'
|
|
14558
|
+
end
|
|
14559
|
+
end
|
|
14560
|
+
|
|
14351
14561
|
class GoogleCloudAiplatformV1ImportFeatureValuesOperationMetadata
|
|
14352
14562
|
# @private
|
|
14353
14563
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -19312,6 +19522,7 @@ module Google
|
|
|
19312
19522
|
property :load_balancer_ip, as: 'loadBalancerIp'
|
|
19313
19523
|
property :routing_token, as: 'routingToken'
|
|
19314
19524
|
property :sandbox_internal_ip, as: 'sandboxInternalIp'
|
|
19525
|
+
property :service_attachment, as: 'serviceAttachment'
|
|
19315
19526
|
end
|
|
19316
19527
|
end
|
|
19317
19528
|
|
|
@@ -19359,6 +19570,8 @@ module Google
|
|
|
19359
19570
|
property :display_name, as: 'displayName'
|
|
19360
19571
|
property :egress_control_config, as: 'egressControlConfig', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1SandboxEnvironmentTemplateEgressControlConfig, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1SandboxEnvironmentTemplateEgressControlConfig::Representation
|
|
19361
19572
|
|
|
19573
|
+
property :ingress_control_config, as: 'ingressControlConfig', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1PrivateServiceConnectConfig, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1PrivateServiceConnectConfig::Representation
|
|
19574
|
+
|
|
19362
19575
|
property :name, as: 'name'
|
|
19363
19576
|
property :state, as: 'state'
|
|
19364
19577
|
property :update_time, as: 'updateTime'
|
|
@@ -23523,6 +23736,7 @@ module Google
|
|
|
23523
23736
|
property :delivery, as: 'delivery'
|
|
23524
23737
|
property :duration, as: 'duration'
|
|
23525
23738
|
property :gcs_uri, as: 'gcsUri'
|
|
23739
|
+
property :resolution, as: 'resolution'
|
|
23526
23740
|
end
|
|
23527
23741
|
end
|
|
23528
23742
|
|
|
@@ -8474,7 +8474,10 @@ module Google
|
|
|
8474
8474
|
execute_or_queue_command(command, &block)
|
|
8475
8475
|
end
|
|
8476
8476
|
|
|
8477
|
-
# Lists agents in a location.
|
|
8477
|
+
# Lists the agents in a location that belong to the caller. An agent belongs to
|
|
8478
|
+
# the end user recorded as its owner when it was created, so the response holds
|
|
8479
|
+
# that caller's agents and no others. It is empty for a caller that is not an
|
|
8480
|
+
# end user, and an agent with no recorded owner is listed for nobody.
|
|
8478
8481
|
# @param [String] parent
|
|
8479
8482
|
# Required. The resource name of the location to list agents from. Format: `
|
|
8480
8483
|
# projects/`project`/locations/`location``.
|
|
@@ -31067,6 +31070,45 @@ module Google
|
|
|
31067
31070
|
execute_or_queue_command(command, &block)
|
|
31068
31071
|
end
|
|
31069
31072
|
|
|
31073
|
+
# Compacts the event history of a given Session, which may run an LLM
|
|
31074
|
+
# summarization call and rewrite the full event history. Compaction is a storage-
|
|
31075
|
+
# side rewrite that can apply a stackable pipeline of rules (event-horizon
|
|
31076
|
+
# preservation, tool-response truncation, thought stripping, and LLM
|
|
31077
|
+
# summarization etc.)
|
|
31078
|
+
# @param [String] name
|
|
31079
|
+
# Required. The resource name of the session to compact. Format: `projects/`
|
|
31080
|
+
# project`/locations/`location`/reasoningEngines/`reasoning_engine`/sessions/`
|
|
31081
|
+
# session``
|
|
31082
|
+
# @param [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1CompactSessionRequest] google_cloud_aiplatform_v1_compact_session_request_object
|
|
31083
|
+
# @param [String] fields
|
|
31084
|
+
# Selector specifying which fields to include in a partial response.
|
|
31085
|
+
# @param [String] quota_user
|
|
31086
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
31087
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
31088
|
+
# @param [Google::Apis::RequestOptions] options
|
|
31089
|
+
# Request-specific options
|
|
31090
|
+
#
|
|
31091
|
+
# @yield [result, err] Result & error if block supplied
|
|
31092
|
+
# @yieldparam result [Google::Apis::AiplatformV1::GoogleLongrunningOperation] parsed result object
|
|
31093
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
31094
|
+
#
|
|
31095
|
+
# @return [Google::Apis::AiplatformV1::GoogleLongrunningOperation]
|
|
31096
|
+
#
|
|
31097
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
31098
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
31099
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
31100
|
+
def compact_project_location_reasoning_engine_session(name, google_cloud_aiplatform_v1_compact_session_request_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
31101
|
+
command = make_simple_command(:post, 'v1/{+name}:compact', options)
|
|
31102
|
+
command.request_representation = Google::Apis::AiplatformV1::GoogleCloudAiplatformV1CompactSessionRequest::Representation
|
|
31103
|
+
command.request_object = google_cloud_aiplatform_v1_compact_session_request_object
|
|
31104
|
+
command.response_representation = Google::Apis::AiplatformV1::GoogleLongrunningOperation::Representation
|
|
31105
|
+
command.response_class = Google::Apis::AiplatformV1::GoogleLongrunningOperation
|
|
31106
|
+
command.params['name'] = name unless name.nil?
|
|
31107
|
+
command.query['fields'] = fields unless fields.nil?
|
|
31108
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
31109
|
+
execute_or_queue_command(command, &block)
|
|
31110
|
+
end
|
|
31111
|
+
|
|
31070
31112
|
# Creates a new Session.
|
|
31071
31113
|
# @param [String] parent
|
|
31072
31114
|
# Required. The resource name of the location to create the session in. Format: `
|
metadata
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
|
2
2
|
name: google-apis-aiplatform_v1
|
|
3
3
|
version: !ruby/object:Gem::Version
|
|
4
|
-
version: 0.
|
|
4
|
+
version: 0.93.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Google LLC
|
|
@@ -57,7 +57,7 @@ licenses:
|
|
|
57
57
|
metadata:
|
|
58
58
|
bug_tracker_uri: https://github.com/googleapis/google-api-ruby-client/issues
|
|
59
59
|
changelog_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-aiplatform_v1/CHANGELOG.md
|
|
60
|
-
documentation_uri: https://googleapis.dev/ruby/google-apis-aiplatform_v1/v0.
|
|
60
|
+
documentation_uri: https://googleapis.dev/ruby/google-apis-aiplatform_v1/v0.93.0
|
|
61
61
|
source_code_uri: https://github.com/googleapis/google-api-ruby-client/tree/main/generated/google-apis-aiplatform_v1
|
|
62
62
|
rdoc_options: []
|
|
63
63
|
require_paths:
|