google-apis-aiplatform_v1 0.94.0 → 0.96.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 +4 -4
- data/CHANGELOG.md +8 -0
- data/lib/google/apis/aiplatform_v1/classes.rb +263 -26
- data/lib/google/apis/aiplatform_v1/gem_version.rb +2 -2
- data/lib/google/apis/aiplatform_v1/representations.rb +121 -2
- data/lib/google/apis/aiplatform_v1/service.rb +635 -6
- data/lib/google/apis/aiplatform_v1.rb +3 -0
- metadata +2 -2
checksums.yaml
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
---
|
|
2
2
|
SHA256:
|
|
3
|
-
metadata.gz:
|
|
4
|
-
data.tar.gz:
|
|
3
|
+
metadata.gz: f3030797d8493cb5ab58a7560d5313760df1121794692711a03ebaaaed6f337d
|
|
4
|
+
data.tar.gz: e3c7711bac22f0ebf806f91c6355b351bafe2941850c528ba5ba65d12ba91d76
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 4638bd0fb2ef58703d494a7b5a7569e6ddede0919ca17fbe9eb1ee1c4c0adc8d71ab4cfc8c8ecc3f695dad32796e20f64217d28cacfdb1451f7e790040e2f4ad
|
|
7
|
+
data.tar.gz: e696b48f316ab778ac93841ed8ca2e8a3f235fac7ee16e0c10e199c578fca58445d5bf0fda89dc97847ad788e4e1b094027d59f53ba474081bd1435fb7d64eb4
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# Release history for google-apis-aiplatform_v1
|
|
2
2
|
|
|
3
|
+
### v0.96.0 (2026-09-20)
|
|
4
|
+
|
|
5
|
+
* Regenerated from discovery document revision 20260912
|
|
6
|
+
|
|
7
|
+
### v0.95.0 (2026-09-06)
|
|
8
|
+
|
|
9
|
+
* Regenerated from discovery document revision 20260831
|
|
10
|
+
|
|
3
11
|
### v0.94.0 (2026-08-23)
|
|
4
12
|
|
|
5
13
|
* Regenerated from discovery document revision 20260815
|
|
@@ -22,10 +22,56 @@ module Google
|
|
|
22
22
|
module Apis
|
|
23
23
|
module AiplatformV1
|
|
24
24
|
|
|
25
|
+
# Experimental response metadata for video generation.
|
|
26
|
+
class CloudAiLargeModelsVisionExperimentsResponse
|
|
27
|
+
include Google::Apis::Core::Hashable
|
|
28
|
+
|
|
29
|
+
# Result metadata from a Pro Edit operation.
|
|
30
|
+
# Corresponds to the JSON property `proEditResult`
|
|
31
|
+
# @return [Google::Apis::AiplatformV1::CloudAiLargeModelsVisionExperimentsResponseProEditResult]
|
|
32
|
+
attr_accessor :pro_edit_result
|
|
33
|
+
|
|
34
|
+
def initialize(**args)
|
|
35
|
+
update!(**args)
|
|
36
|
+
end
|
|
37
|
+
|
|
38
|
+
# Update properties of this object
|
|
39
|
+
def update!(**args)
|
|
40
|
+
@pro_edit_result = args[:pro_edit_result] if args.key?(:pro_edit_result)
|
|
41
|
+
end
|
|
42
|
+
end
|
|
43
|
+
|
|
44
|
+
# Result metadata from a Pro Edit operation.
|
|
45
|
+
class CloudAiLargeModelsVisionExperimentsResponseProEditResult
|
|
46
|
+
include Google::Apis::Core::Hashable
|
|
47
|
+
|
|
48
|
+
# The output structured prompt produced by this edit.
|
|
49
|
+
# Corresponds to the JSON property `structuredPrompt`
|
|
50
|
+
# @return [Hash<String,Object>]
|
|
51
|
+
attr_accessor :structured_prompt
|
|
52
|
+
|
|
53
|
+
def initialize(**args)
|
|
54
|
+
update!(**args)
|
|
55
|
+
end
|
|
56
|
+
|
|
57
|
+
# Update properties of this object
|
|
58
|
+
def update!(**args)
|
|
59
|
+
@structured_prompt = args[:structured_prompt] if args.key?(:structured_prompt)
|
|
60
|
+
end
|
|
61
|
+
end
|
|
62
|
+
|
|
25
63
|
# Experimental parameters for video generation.
|
|
26
64
|
class CloudAiLargeModelsVisionGenerateVideoExperiments
|
|
27
65
|
include Google::Apis::Core::Hashable
|
|
28
66
|
|
|
67
|
+
# If false, when a non-subscription customer tries to call an experimental
|
|
68
|
+
# feature, the request will be rejected. This field has no effect for
|
|
69
|
+
# subscription customers.
|
|
70
|
+
# Corresponds to the JSON property `allowMeteredBilling`
|
|
71
|
+
# @return [Boolean]
|
|
72
|
+
attr_accessor :allow_metered_billing
|
|
73
|
+
alias_method :allow_metered_billing?, :allow_metered_billing
|
|
74
|
+
|
|
29
75
|
# Optional. If true, anchors the last frame in video generation by generating a
|
|
30
76
|
# custom border mask.
|
|
31
77
|
# Corresponds to the JSON property `anchorLastFrame`
|
|
@@ -75,6 +121,12 @@ module Google
|
|
|
75
121
|
# @return [Google::Apis::AiplatformV1::CloudAiLargeModelsVisionHumanPose]
|
|
76
122
|
attr_accessor :human_pose
|
|
77
123
|
|
|
124
|
+
# Optional. BNS override for model backend. Enabled only for local and autopush
|
|
125
|
+
# environments by the flag `lvm_allow_model_zoo_bns_override`.
|
|
126
|
+
# Corresponds to the JSON property `modelEndpointOverride`
|
|
127
|
+
# @return [String]
|
|
128
|
+
attr_accessor :model_endpoint_override
|
|
129
|
+
|
|
78
130
|
# Model names, as defined in: xyz
|
|
79
131
|
# Corresponds to the JSON property `modelName`
|
|
80
132
|
# @return [String]
|
|
@@ -103,6 +155,11 @@ module Google
|
|
|
103
155
|
# @return [Google::Apis::AiplatformV1::CloudAiLargeModelsVisionGenerateVideoExperimentsOutpaintConfig]
|
|
104
156
|
attr_accessor :outpaint_config
|
|
105
157
|
|
|
158
|
+
# Configuration for Pro Edit.
|
|
159
|
+
# Corresponds to the JSON property `proEdit`
|
|
160
|
+
# @return [Google::Apis::AiplatformV1::CloudAiLargeModelsVisionGenerateVideoExperimentsProEditConfig]
|
|
161
|
+
attr_accessor :pro_edit
|
|
162
|
+
|
|
106
163
|
# "Direct" prompting for Experimental Video Generation. These will be sent
|
|
107
164
|
# directly to the LDM without being rewritten.
|
|
108
165
|
# Corresponds to the JSON property `promptInputs`
|
|
@@ -163,6 +220,7 @@ module Google
|
|
|
163
220
|
|
|
164
221
|
# Update properties of this object
|
|
165
222
|
def update!(**args)
|
|
223
|
+
@allow_metered_billing = args[:allow_metered_billing] if args.key?(:allow_metered_billing)
|
|
166
224
|
@anchor_last_frame = args[:anchor_last_frame] if args.key?(:anchor_last_frame)
|
|
167
225
|
@audio_control = args[:audio_control] if args.key?(:audio_control)
|
|
168
226
|
@cfg_scale = args[:cfg_scale] if args.key?(:cfg_scale)
|
|
@@ -172,11 +230,13 @@ module Google
|
|
|
172
230
|
@custom_parameters = args[:custom_parameters] if args.key?(:custom_parameters)
|
|
173
231
|
@exr_color_space_override = args[:exr_color_space_override] if args.key?(:exr_color_space_override)
|
|
174
232
|
@human_pose = args[:human_pose] if args.key?(:human_pose)
|
|
233
|
+
@model_endpoint_override = args[:model_endpoint_override] if args.key?(:model_endpoint_override)
|
|
175
234
|
@model_name = args[:model_name] if args.key?(:model_name)
|
|
176
235
|
@num_diffusion_steps = args[:num_diffusion_steps] if args.key?(:num_diffusion_steps)
|
|
177
236
|
@omni_rewriter = args[:omni_rewriter] if args.key?(:omni_rewriter)
|
|
178
237
|
@original_request_json = args[:original_request_json] if args.key?(:original_request_json)
|
|
179
238
|
@outpaint_config = args[:outpaint_config] if args.key?(:outpaint_config)
|
|
239
|
+
@pro_edit = args[:pro_edit] if args.key?(:pro_edit)
|
|
180
240
|
@prompt_inputs = args[:prompt_inputs] if args.key?(:prompt_inputs)
|
|
181
241
|
@request_origin_tag = args[:request_origin_tag] if args.key?(:request_origin_tag)
|
|
182
242
|
@scheduling_config = args[:scheduling_config] if args.key?(:scheduling_config)
|
|
@@ -348,6 +408,40 @@ module Google
|
|
|
348
408
|
end
|
|
349
409
|
end
|
|
350
410
|
|
|
411
|
+
# Configuration for Pro Edit.
|
|
412
|
+
class CloudAiLargeModelsVisionGenerateVideoExperimentsProEditConfig
|
|
413
|
+
include Google::Apis::Core::Hashable
|
|
414
|
+
|
|
415
|
+
# A text string containing the user's edit instruction. Will be applied to the
|
|
416
|
+
# original URF.
|
|
417
|
+
# Corresponds to the JSON property `editInstructionPrompt`
|
|
418
|
+
# @return [String]
|
|
419
|
+
attr_accessor :edit_instruction_prompt
|
|
420
|
+
|
|
421
|
+
# Required. The operation_id from a previous omni-cine generation whose OF and
|
|
422
|
+
# URF should be retrieved for editing.
|
|
423
|
+
# Corresponds to the JSON property `fromOperationId`
|
|
424
|
+
# @return [String]
|
|
425
|
+
attr_accessor :from_operation_id
|
|
426
|
+
|
|
427
|
+
# A JSON object containing the user's modified URF. The URF Editing Preamble
|
|
428
|
+
# will diff this against the original URF to determine what changed.
|
|
429
|
+
# Corresponds to the JSON property `structuredPrompt`
|
|
430
|
+
# @return [Hash<String,Object>]
|
|
431
|
+
attr_accessor :structured_prompt
|
|
432
|
+
|
|
433
|
+
def initialize(**args)
|
|
434
|
+
update!(**args)
|
|
435
|
+
end
|
|
436
|
+
|
|
437
|
+
# Update properties of this object
|
|
438
|
+
def update!(**args)
|
|
439
|
+
@edit_instruction_prompt = args[:edit_instruction_prompt] if args.key?(:edit_instruction_prompt)
|
|
440
|
+
@from_operation_id = args[:from_operation_id] if args.key?(:from_operation_id)
|
|
441
|
+
@structured_prompt = args[:structured_prompt] if args.key?(:structured_prompt)
|
|
442
|
+
end
|
|
443
|
+
end
|
|
444
|
+
|
|
351
445
|
# Configuration for spatial alignment.
|
|
352
446
|
class CloudAiLargeModelsVisionGenerateVideoExperimentsSpatialAlignmentConfig
|
|
353
447
|
include Google::Apis::Core::Hashable
|
|
@@ -585,6 +679,11 @@ module Google
|
|
|
585
679
|
# @return [Google::Apis::AiplatformV1::CloudAiLargeModelsVisionGenerateVideoExperiments]
|
|
586
680
|
attr_accessor :experiments_metadata
|
|
587
681
|
|
|
682
|
+
# Experimental response metadata for video generation.
|
|
683
|
+
# Corresponds to the JSON property `experimentsResponse`
|
|
684
|
+
# @return [Google::Apis::AiplatformV1::CloudAiLargeModelsVisionExperimentsResponse]
|
|
685
|
+
attr_accessor :experiments_response
|
|
686
|
+
|
|
588
687
|
# Cloud Storage URI where the generated video is written.
|
|
589
688
|
# Corresponds to the JSON property `gcsUri`
|
|
590
689
|
# @return [String]
|
|
@@ -603,6 +702,7 @@ module Google
|
|
|
603
702
|
def update!(**args)
|
|
604
703
|
@bytes_base64_encoded = args[:bytes_base64_encoded] if args.key?(:bytes_base64_encoded)
|
|
605
704
|
@experiments_metadata = args[:experiments_metadata] if args.key?(:experiments_metadata)
|
|
705
|
+
@experiments_response = args[:experiments_response] if args.key?(:experiments_response)
|
|
606
706
|
@gcs_uri = args[:gcs_uri] if args.key?(:gcs_uri)
|
|
607
707
|
@mime_type = args[:mime_type] if args.key?(:mime_type)
|
|
608
708
|
end
|
|
@@ -1474,6 +1574,11 @@ module Google
|
|
|
1474
1574
|
# @return [String]
|
|
1475
1575
|
attr_accessor :object
|
|
1476
1576
|
|
|
1577
|
+
# Observability settings for one agent's sessions.
|
|
1578
|
+
# Corresponds to the JSON property `observabilityConfig`
|
|
1579
|
+
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ObservabilityConfig]
|
|
1580
|
+
attr_accessor :observability_config
|
|
1581
|
+
|
|
1477
1582
|
# Optional. The instructions for the agent to follow. These instructions are
|
|
1478
1583
|
# passed to the LLM as a system instruction.
|
|
1479
1584
|
# Corresponds to the JSON property `system_instruction`
|
|
@@ -1504,6 +1609,7 @@ module Google
|
|
|
1504
1609
|
@metadata = args[:metadata] if args.key?(:metadata)
|
|
1505
1610
|
@name = args[:name] if args.key?(:name)
|
|
1506
1611
|
@object = args[:object] if args.key?(:object)
|
|
1612
|
+
@observability_config = args[:observability_config] if args.key?(:observability_config)
|
|
1507
1613
|
@system_instruction = args[:system_instruction] if args.key?(:system_instruction)
|
|
1508
1614
|
@tools = args[:tools] if args.key?(:tools)
|
|
1509
1615
|
@updated = args[:updated] if args.key?(:updated)
|
|
@@ -1644,6 +1750,29 @@ module Google
|
|
|
1644
1750
|
end
|
|
1645
1751
|
end
|
|
1646
1752
|
|
|
1753
|
+
# Customizes the agent's response to the end user when a `
|
|
1754
|
+
# SemanticGovernancePolicy` is evaluated (for example, with a custom message
|
|
1755
|
+
# shown on denial).
|
|
1756
|
+
class GoogleCloudAiplatformV1AgentResponseCustomization
|
|
1757
|
+
include Google::Apis::Core::Hashable
|
|
1758
|
+
|
|
1759
|
+
# Optional. Custom message shown to the end user when the policy check results
|
|
1760
|
+
# in a denial. Use this to explain the rationale to the user. Max 1000
|
|
1761
|
+
# characters.
|
|
1762
|
+
# Corresponds to the JSON property `denialMessage`
|
|
1763
|
+
# @return [String]
|
|
1764
|
+
attr_accessor :denial_message
|
|
1765
|
+
|
|
1766
|
+
def initialize(**args)
|
|
1767
|
+
update!(**args)
|
|
1768
|
+
end
|
|
1769
|
+
|
|
1770
|
+
# Update properties of this object
|
|
1771
|
+
def update!(**args)
|
|
1772
|
+
@denial_message = args[:denial_message] if args.key?(:denial_message)
|
|
1773
|
+
end
|
|
1774
|
+
end
|
|
1775
|
+
|
|
1647
1776
|
# A tool provides a list of actions available to the Agent during the process of
|
|
1648
1777
|
# executing a task.
|
|
1649
1778
|
class GoogleCloudAiplatformV1AgentTool
|
|
@@ -1655,20 +1784,27 @@ module Google
|
|
|
1655
1784
|
# @return [Hash<String,String>]
|
|
1656
1785
|
attr_accessor :headers
|
|
1657
1786
|
|
|
1658
|
-
# Optional. The
|
|
1659
|
-
# mcp_server
|
|
1787
|
+
# Optional. The tool's Google Cloud resource name, used to resolve the tool.
|
|
1788
|
+
# Applicable when `type` is `mcp_server` or `endpoint` (a tool registered in
|
|
1789
|
+
# Agent Registry), for example `projects/`project`/locations/`location`/.../
|
|
1790
|
+
# mcpServers/`id`` or `projects/`project`/locations/`location`/.../endpoints/`id`
|
|
1791
|
+
# `.
|
|
1660
1792
|
# Corresponds to the JSON property `name`
|
|
1661
1793
|
# @return [String]
|
|
1662
1794
|
attr_accessor :name
|
|
1663
1795
|
|
|
1664
1796
|
# Required. The type of the tool. Supported types: * `code_execution` * `
|
|
1665
|
-
# filesystem` * `google_search` * `mcp_server` * `url_context`
|
|
1797
|
+
# endpoint` * `filesystem` * `google_search` * `mcp_server` * `url_context`
|
|
1666
1798
|
# Corresponds to the JSON property `type`
|
|
1667
1799
|
# @return [String]
|
|
1668
1800
|
attr_accessor :type
|
|
1669
1801
|
|
|
1670
|
-
# Optional.
|
|
1671
|
-
# mcp_server
|
|
1802
|
+
# Optional. Temporary: the tool's runtime reference, consumed by CreateAgent to
|
|
1803
|
+
# create the downstream AI App. Applicable when `type` is `mcp_server` or `
|
|
1804
|
+
# endpoint`. It is duplicated here (the resource name is already in `name`) only
|
|
1805
|
+
# because the Agent service is not yet connected to Agent Registry to derive it
|
|
1806
|
+
# from `name`; the Task Service instead resolves it from Agent Registry (
|
|
1807
|
+
# GetMcpServer / GetEndpoint) at task creation.
|
|
1672
1808
|
# Corresponds to the JSON property `url`
|
|
1673
1809
|
# @return [String]
|
|
1674
1810
|
attr_accessor :url
|
|
@@ -2425,16 +2561,6 @@ module Google
|
|
|
2425
2561
|
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1AudioTranscriptionConfigLanguageHints]
|
|
2426
2562
|
attr_accessor :language_hints
|
|
2427
2563
|
|
|
2428
|
-
# Optional. Configures transcription mode. Supported values: `VERBATIM`, `SMART`.
|
|
2429
|
-
# If unspecified, defaults to `VERBATIM` transcription. In `SMART` mode, the
|
|
2430
|
-
# model performs disfluency removal (eliminating filler words, repetitions, and
|
|
2431
|
-
# false starts), light grammatical cleanup, automatic formatting (paragraphs,
|
|
2432
|
-
# bullet points, numbered lists), and minor user edits (inline self-corrections).
|
|
2433
|
-
# Timestamps and diarization are incompatible with mode `SMART`.
|
|
2434
|
-
# Corresponds to the JSON property `mode`
|
|
2435
|
-
# @return [String]
|
|
2436
|
-
attr_accessor :mode
|
|
2437
|
-
|
|
2438
2564
|
# Optional. Configures word-level timestamp generation.
|
|
2439
2565
|
# Corresponds to the JSON property `wordTimestamp`
|
|
2440
2566
|
# @return [Boolean]
|
|
@@ -2453,7 +2579,6 @@ module Google
|
|
|
2453
2579
|
@language_auto = args[:language_auto] if args.key?(:language_auto)
|
|
2454
2580
|
@language_codes = args[:language_codes] if args.key?(:language_codes)
|
|
2455
2581
|
@language_hints = args[:language_hints] if args.key?(:language_hints)
|
|
2456
|
-
@mode = args[:mode] if args.key?(:mode)
|
|
2457
2582
|
@word_timestamp = args[:word_timestamp] if args.key?(:word_timestamp)
|
|
2458
2583
|
end
|
|
2459
2584
|
end
|
|
@@ -2811,6 +2936,35 @@ module Google
|
|
|
2811
2936
|
end
|
|
2812
2937
|
end
|
|
2813
2938
|
|
|
2939
|
+
# Request message for SandboxEnvironmentExecutionService.
|
|
2940
|
+
# AuthorizeSandboxEnvironmentAccess.
|
|
2941
|
+
class GoogleCloudAiplatformV1AuthorizeSandboxEnvironmentAccessRequest
|
|
2942
|
+
include Google::Apis::Core::Hashable
|
|
2943
|
+
|
|
2944
|
+
def initialize(**args)
|
|
2945
|
+
update!(**args)
|
|
2946
|
+
end
|
|
2947
|
+
|
|
2948
|
+
# Update properties of this object
|
|
2949
|
+
def update!(**args)
|
|
2950
|
+
end
|
|
2951
|
+
end
|
|
2952
|
+
|
|
2953
|
+
# Response message for SandboxEnvironmentExecutionService.
|
|
2954
|
+
# AuthorizeSandboxEnvironmentAccess. Intentionally empty: a successful response
|
|
2955
|
+
# is the authorization result.
|
|
2956
|
+
class GoogleCloudAiplatformV1AuthorizeSandboxEnvironmentAccessResponse
|
|
2957
|
+
include Google::Apis::Core::Hashable
|
|
2958
|
+
|
|
2959
|
+
def initialize(**args)
|
|
2960
|
+
update!(**args)
|
|
2961
|
+
end
|
|
2962
|
+
|
|
2963
|
+
# Update properties of this object
|
|
2964
|
+
def update!(**args)
|
|
2965
|
+
end
|
|
2966
|
+
end
|
|
2967
|
+
|
|
2814
2968
|
# A description of resources that to large degree are decided by Agent Platform,
|
|
2815
2969
|
# and require only a modest additional configuration. Each Model supporting
|
|
2816
2970
|
# these resources documents its specific guidelines.
|
|
@@ -18623,6 +18777,11 @@ module Google
|
|
|
18623
18777
|
# @return [Float]
|
|
18624
18778
|
attr_accessor :top_p
|
|
18625
18779
|
|
|
18780
|
+
# Config for translation features.
|
|
18781
|
+
# Corresponds to the JSON property `translationConfig`
|
|
18782
|
+
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1TranslationConfig]
|
|
18783
|
+
attr_accessor :translation_config
|
|
18784
|
+
|
|
18626
18785
|
def initialize(**args)
|
|
18627
18786
|
update!(**args)
|
|
18628
18787
|
end
|
|
@@ -18653,6 +18812,7 @@ module Google
|
|
|
18653
18812
|
@thinking_config = args[:thinking_config] if args.key?(:thinking_config)
|
|
18654
18813
|
@top_k = args[:top_k] if args.key?(:top_k)
|
|
18655
18814
|
@top_p = args[:top_p] if args.key?(:top_p)
|
|
18815
|
+
@translation_config = args[:translation_config] if args.key?(:translation_config)
|
|
18656
18816
|
end
|
|
18657
18817
|
end
|
|
18658
18818
|
|
|
@@ -23783,6 +23943,11 @@ module Google
|
|
|
23783
23943
|
class GoogleCloudAiplatformV1Memory
|
|
23784
23944
|
include Google::Apis::Core::Hashable
|
|
23785
23945
|
|
|
23946
|
+
# Optional. Represents the context of the memory.
|
|
23947
|
+
# Corresponds to the JSON property `context`
|
|
23948
|
+
# @return [String]
|
|
23949
|
+
attr_accessor :context
|
|
23950
|
+
|
|
23786
23951
|
# Output only. Represents the timestamp when this Memory was created.
|
|
23787
23952
|
# Corresponds to the JSON property `createTime`
|
|
23788
23953
|
# @return [String]
|
|
@@ -23880,6 +24045,7 @@ module Google
|
|
|
23880
24045
|
|
|
23881
24046
|
# Update properties of this object
|
|
23882
24047
|
def update!(**args)
|
|
24048
|
+
@context = args[:context] if args.key?(:context)
|
|
23883
24049
|
@create_time = args[:create_time] if args.key?(:create_time)
|
|
23884
24050
|
@description = args[:description] if args.key?(:description)
|
|
23885
24051
|
@disable_memory_revisions = args[:disable_memory_revisions] if args.key?(:disable_memory_revisions)
|
|
@@ -24311,6 +24477,12 @@ module Google
|
|
|
24311
24477
|
class GoogleCloudAiplatformV1MemoryRevision
|
|
24312
24478
|
include Google::Apis::Core::Hashable
|
|
24313
24479
|
|
|
24480
|
+
# Output only. Represents the context of the Memory Revision. The context may
|
|
24481
|
+
# include context from both the historical revisions and the extracted content.
|
|
24482
|
+
# Corresponds to the JSON property `context`
|
|
24483
|
+
# @return [String]
|
|
24484
|
+
attr_accessor :context
|
|
24485
|
+
|
|
24314
24486
|
# Output only. Represents the timestamp when this Memory Revision was created.
|
|
24315
24487
|
# Corresponds to the JSON property `createTime`
|
|
24316
24488
|
# @return [String]
|
|
@@ -24361,6 +24533,7 @@ module Google
|
|
|
24361
24533
|
|
|
24362
24534
|
# Update properties of this object
|
|
24363
24535
|
def update!(**args)
|
|
24536
|
+
@context = args[:context] if args.key?(:context)
|
|
24364
24537
|
@create_time = args[:create_time] if args.key?(:create_time)
|
|
24365
24538
|
@expire_time = args[:expire_time] if args.key?(:expire_time)
|
|
24366
24539
|
@extracted_memories = args[:extracted_memories] if args.key?(:extracted_memories)
|
|
@@ -29143,6 +29316,39 @@ module Google
|
|
|
29143
29316
|
end
|
|
29144
29317
|
end
|
|
29145
29318
|
|
|
29319
|
+
# Observability settings for one agent's sessions.
|
|
29320
|
+
class GoogleCloudAiplatformV1ObservabilityConfig
|
|
29321
|
+
include Google::Apis::Core::Hashable
|
|
29322
|
+
|
|
29323
|
+
# Optional. Enables observability for this agent's sessions: OpenTelemetry span
|
|
29324
|
+
# emission covering tool names, model names, token counts, latencies and status.
|
|
29325
|
+
# If `false`, the other fields here are ignored.
|
|
29326
|
+
# Corresponds to the JSON property `observabilityEnabled`
|
|
29327
|
+
# @return [Boolean]
|
|
29328
|
+
attr_accessor :observability_enabled
|
|
29329
|
+
alias_method :observability_enabled?, :observability_enabled
|
|
29330
|
+
|
|
29331
|
+
# Optional. Enables sensitive logging. Sensitive logging includes customer core
|
|
29332
|
+
# content (prompts, model completions, tool argument payloads and tool responses)
|
|
29333
|
+
# . If `false`, those are sanitized and only structural attributes are recorded.
|
|
29334
|
+
# No effect unless `observability_enabled` is true. Not yet enforced: `
|
|
29335
|
+
# CreateAgent` and `UpdateAgent` currently reject setting this to `true`.
|
|
29336
|
+
# Corresponds to the JSON property `sensitiveLoggingEnabled`
|
|
29337
|
+
# @return [Boolean]
|
|
29338
|
+
attr_accessor :sensitive_logging_enabled
|
|
29339
|
+
alias_method :sensitive_logging_enabled?, :sensitive_logging_enabled
|
|
29340
|
+
|
|
29341
|
+
def initialize(**args)
|
|
29342
|
+
update!(**args)
|
|
29343
|
+
end
|
|
29344
|
+
|
|
29345
|
+
# Update properties of this object
|
|
29346
|
+
def update!(**args)
|
|
29347
|
+
@observability_enabled = args[:observability_enabled] if args.key?(:observability_enabled)
|
|
29348
|
+
@sensitive_logging_enabled = args[:sensitive_logging_enabled] if args.key?(:sensitive_logging_enabled)
|
|
29349
|
+
end
|
|
29350
|
+
end
|
|
29351
|
+
|
|
29146
29352
|
# An OnlineEvaluator contains the configuration for an Online Evaluation.
|
|
29147
29353
|
class GoogleCloudAiplatformV1OnlineEvaluator
|
|
29148
29354
|
include Google::Apis::Core::Hashable
|
|
@@ -29236,8 +29442,8 @@ module Google
|
|
|
29236
29442
|
class GoogleCloudAiplatformV1OnlineEvaluatorCloudObservability
|
|
29237
29443
|
include Google::Apis::Core::Hashable
|
|
29238
29444
|
|
|
29239
|
-
# Optional. Optional log view that will be used to query logs. If empty, the
|
|
29240
|
-
#
|
|
29445
|
+
# Optional. Optional log view that will be used to query logs. If empty, the
|
|
29446
|
+
# project's default view (`projects/`project_id``) will be used.
|
|
29241
29447
|
# Corresponds to the JSON property `logView`
|
|
29242
29448
|
# @return [String]
|
|
29243
29449
|
attr_accessor :log_view
|
|
@@ -29260,8 +29466,8 @@ module Google
|
|
|
29260
29466
|
attr_accessor :trace_scope
|
|
29261
29467
|
|
|
29262
29468
|
# Optional. Optional trace view that will be used to query traces. If empty, the
|
|
29263
|
-
# `
|
|
29264
|
-
#
|
|
29469
|
+
# `_AllSpans` view from `_Trace` US bucket will be used, i.e. `projects/`
|
|
29470
|
+
# project_id`/locations/us/buckets/_Trace/datasets/Spans/views/_AllSpans`.
|
|
29265
29471
|
# Corresponds to the JSON property `traceView`
|
|
29266
29472
|
# @return [String]
|
|
29267
29473
|
attr_accessor :trace_view
|
|
@@ -37867,11 +38073,6 @@ module Google
|
|
|
37867
38073
|
class GoogleCloudAiplatformV1SandboxEnvironmentTemplateEgressControlConfig
|
|
37868
38074
|
include Google::Apis::Core::Hashable
|
|
37869
38075
|
|
|
37870
|
-
# Optional. The customer VPC network that sandbox egress is routed into.
|
|
37871
|
-
# Corresponds to the JSON property `customerVpcNetwork`
|
|
37872
|
-
# @return [String]
|
|
37873
|
-
attr_accessor :customer_vpc_network
|
|
37874
|
-
|
|
37875
38076
|
# Optional. DNS peering configurations that allow sandbox egress to resolve
|
|
37876
38077
|
# customer-internal domains via the customer VPC.
|
|
37877
38078
|
# Corresponds to the JSON property `dnsPeeringConfigs`
|
|
@@ -37896,7 +38097,6 @@ module Google
|
|
|
37896
38097
|
|
|
37897
38098
|
# Update properties of this object
|
|
37898
38099
|
def update!(**args)
|
|
37899
|
-
@customer_vpc_network = args[:customer_vpc_network] if args.key?(:customer_vpc_network)
|
|
37900
38100
|
@dns_peering_configs = args[:dns_peering_configs] if args.key?(:dns_peering_configs)
|
|
37901
38101
|
@internet_access = args[:internet_access] if args.key?(:internet_access)
|
|
37902
38102
|
@network_attachment = args[:network_attachment] if args.key?(:network_attachment)
|
|
@@ -45715,6 +45915,13 @@ module Google
|
|
|
45715
45915
|
# @return [String]
|
|
45716
45916
|
attr_accessor :agent_identity
|
|
45717
45917
|
|
|
45918
|
+
# Customizes the agent's response to the end user when a `
|
|
45919
|
+
# SemanticGovernancePolicy` is evaluated (for example, with a custom message
|
|
45920
|
+
# shown on denial).
|
|
45921
|
+
# Corresponds to the JSON property `agentResponseCustomization`
|
|
45922
|
+
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1AgentResponseCustomization]
|
|
45923
|
+
attr_accessor :agent_response_customization
|
|
45924
|
+
|
|
45718
45925
|
# Output only. Timestamp when this SemanticGovernancePolicy was created.
|
|
45719
45926
|
# Corresponds to the JSON property `createTime`
|
|
45720
45927
|
# @return [String]
|
|
@@ -45765,6 +45972,7 @@ module Google
|
|
|
45765
45972
|
def update!(**args)
|
|
45766
45973
|
@agent = args[:agent] if args.key?(:agent)
|
|
45767
45974
|
@agent_identity = args[:agent_identity] if args.key?(:agent_identity)
|
|
45975
|
+
@agent_response_customization = args[:agent_response_customization] if args.key?(:agent_response_customization)
|
|
45768
45976
|
@create_time = args[:create_time] if args.key?(:create_time)
|
|
45769
45977
|
@description = args[:description] if args.key?(:description)
|
|
45770
45978
|
@display_name = args[:display_name] if args.key?(:display_name)
|
|
@@ -50799,6 +51007,35 @@ module Google
|
|
|
50799
51007
|
end
|
|
50800
51008
|
end
|
|
50801
51009
|
|
|
51010
|
+
# Config for translation features.
|
|
51011
|
+
class GoogleCloudAiplatformV1TranslationConfig
|
|
51012
|
+
include Google::Apis::Core::Hashable
|
|
51013
|
+
|
|
51014
|
+
# Optional. If `true`, the model will generate audio when the target language is
|
|
51015
|
+
# spoken, essentially it will parrot the input. If `false`, we will not produce
|
|
51016
|
+
# audio for the target language.
|
|
51017
|
+
# Corresponds to the JSON property `echoTargetLanguage`
|
|
51018
|
+
# @return [Boolean]
|
|
51019
|
+
attr_accessor :echo_target_language
|
|
51020
|
+
alias_method :echo_target_language?, :echo_target_language
|
|
51021
|
+
|
|
51022
|
+
# Required. The target language for translation. Supported values are BCP-47
|
|
51023
|
+
# language codes (e.g. "en", "es", "fr").
|
|
51024
|
+
# Corresponds to the JSON property `targetLanguageCode`
|
|
51025
|
+
# @return [String]
|
|
51026
|
+
attr_accessor :target_language_code
|
|
51027
|
+
|
|
51028
|
+
def initialize(**args)
|
|
51029
|
+
update!(**args)
|
|
51030
|
+
end
|
|
51031
|
+
|
|
51032
|
+
# Update properties of this object
|
|
51033
|
+
def update!(**args)
|
|
51034
|
+
@echo_target_language = args[:echo_target_language] if args.key?(:echo_target_language)
|
|
51035
|
+
@target_language_code = args[:target_language_code] if args.key?(:target_language_code)
|
|
51036
|
+
end
|
|
51037
|
+
end
|
|
51038
|
+
|
|
50802
51039
|
# A message representing a Trial. A Trial contains a unique set of Parameters
|
|
50803
51040
|
# that has been or will be evaluated, along with the objective metrics got by
|
|
50804
51041
|
# running the Trial.
|
|
@@ -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.96.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 = "20260912"
|
|
26
26
|
end
|
|
27
27
|
end
|
|
28
28
|
end
|