google-apis-aiplatform_v1 0.95.0 → 0.97.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: 2f5535ba6baec9d06f5a320dd23c5c322db94d2054312cf6453ac23168b777e9
|
|
4
|
+
data.tar.gz: 40a38eaaa98a91392ca087430ab142532eb17f0432fcf81e2f9146597b4877aa
|
|
5
5
|
SHA512:
|
|
6
|
-
metadata.gz:
|
|
7
|
-
data.tar.gz:
|
|
6
|
+
metadata.gz: 4280d20b133c5cc6c06d16eba4a86b90993bd76315b0dd05beaf511be53e40f8ac0efa4199c6b16251354663aa2a3acb22bc14a28f220ec531a79f1142084c51
|
|
7
|
+
data.tar.gz: 5c088a1ec58a3f76fe0098bd52a940337e92f23ff2b1abf0c7c43743eabfc1753e47eb164e57d32ca5f85f74cac40b46c8a2a61de86702d9c07b42a64a9242b9
|
data/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,13 @@
|
|
|
1
1
|
# Release history for google-apis-aiplatform_v1
|
|
2
2
|
|
|
3
|
+
### v0.97.0 (2026-10-04)
|
|
4
|
+
|
|
5
|
+
* Regenerated from discovery document revision 20260930
|
|
6
|
+
|
|
7
|
+
### v0.96.0 (2026-09-20)
|
|
8
|
+
|
|
9
|
+
* Regenerated from discovery document revision 20260912
|
|
10
|
+
|
|
3
11
|
### v0.95.0 (2026-09-06)
|
|
4
12
|
|
|
5
13
|
* Regenerated from discovery document revision 20260831
|
|
@@ -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 (JSON string) produced by this edit.
|
|
49
|
+
# Corresponds to the JSON property `structuredPrompt`
|
|
50
|
+
# @return [String]
|
|
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`
|
|
@@ -109,6 +155,11 @@ module Google
|
|
|
109
155
|
# @return [Google::Apis::AiplatformV1::CloudAiLargeModelsVisionGenerateVideoExperimentsOutpaintConfig]
|
|
110
156
|
attr_accessor :outpaint_config
|
|
111
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
|
+
|
|
112
163
|
# "Direct" prompting for Experimental Video Generation. These will be sent
|
|
113
164
|
# directly to the LDM without being rewritten.
|
|
114
165
|
# Corresponds to the JSON property `promptInputs`
|
|
@@ -169,6 +220,7 @@ module Google
|
|
|
169
220
|
|
|
170
221
|
# Update properties of this object
|
|
171
222
|
def update!(**args)
|
|
223
|
+
@allow_metered_billing = args[:allow_metered_billing] if args.key?(:allow_metered_billing)
|
|
172
224
|
@anchor_last_frame = args[:anchor_last_frame] if args.key?(:anchor_last_frame)
|
|
173
225
|
@audio_control = args[:audio_control] if args.key?(:audio_control)
|
|
174
226
|
@cfg_scale = args[:cfg_scale] if args.key?(:cfg_scale)
|
|
@@ -184,6 +236,7 @@ module Google
|
|
|
184
236
|
@omni_rewriter = args[:omni_rewriter] if args.key?(:omni_rewriter)
|
|
185
237
|
@original_request_json = args[:original_request_json] if args.key?(:original_request_json)
|
|
186
238
|
@outpaint_config = args[:outpaint_config] if args.key?(:outpaint_config)
|
|
239
|
+
@pro_edit = args[:pro_edit] if args.key?(:pro_edit)
|
|
187
240
|
@prompt_inputs = args[:prompt_inputs] if args.key?(:prompt_inputs)
|
|
188
241
|
@request_origin_tag = args[:request_origin_tag] if args.key?(:request_origin_tag)
|
|
189
242
|
@scheduling_config = args[:scheduling_config] if args.key?(:scheduling_config)
|
|
@@ -330,15 +383,16 @@ module Google
|
|
|
330
383
|
# @return [String]
|
|
331
384
|
attr_accessor :glob_pattern
|
|
332
385
|
|
|
333
|
-
# Horizontal offset in pixels
|
|
334
|
-
#
|
|
335
|
-
#
|
|
386
|
+
# Horizontal offset in pixels of the frame's left edge from the canvas's left
|
|
387
|
+
# edge. Values outside the canvas crop the frame. Optional. Default is 0 (frame
|
|
388
|
+
# flush with the canvas's left edge).
|
|
336
389
|
# Corresponds to the JSON property `horizontalOffset`
|
|
337
390
|
# @return [Fixnum]
|
|
338
391
|
attr_accessor :horizontal_offset
|
|
339
392
|
|
|
340
|
-
# Vertical offset in pixels
|
|
341
|
-
#
|
|
393
|
+
# Vertical offset in pixels of the frame's top edge from the canvas's top edge.
|
|
394
|
+
# Values outside the canvas crop the frame. Optional. Default is 0 (frame flush
|
|
395
|
+
# with the canvas's top edge).
|
|
342
396
|
# Corresponds to the JSON property `verticalOffset`
|
|
343
397
|
# @return [Fixnum]
|
|
344
398
|
attr_accessor :vertical_offset
|
|
@@ -355,6 +409,40 @@ module Google
|
|
|
355
409
|
end
|
|
356
410
|
end
|
|
357
411
|
|
|
412
|
+
# Configuration for Pro Edit.
|
|
413
|
+
class CloudAiLargeModelsVisionGenerateVideoExperimentsProEditConfig
|
|
414
|
+
include Google::Apis::Core::Hashable
|
|
415
|
+
|
|
416
|
+
# A text string containing the user's edit instruction. Will be applied to the
|
|
417
|
+
# original URF.
|
|
418
|
+
# Corresponds to the JSON property `editInstructionPrompt`
|
|
419
|
+
# @return [String]
|
|
420
|
+
attr_accessor :edit_instruction_prompt
|
|
421
|
+
|
|
422
|
+
# Required. The operation_id from a previous omni-cine generation whose OF and
|
|
423
|
+
# URF should be retrieved for editing.
|
|
424
|
+
# Corresponds to the JSON property `fromOperationId`
|
|
425
|
+
# @return [String]
|
|
426
|
+
attr_accessor :from_operation_id
|
|
427
|
+
|
|
428
|
+
# A JSON string containing the user's modified URF. The URF Editing Preamble
|
|
429
|
+
# will diff this against the original URF to determine what changed.
|
|
430
|
+
# Corresponds to the JSON property `structuredPrompt`
|
|
431
|
+
# @return [String]
|
|
432
|
+
attr_accessor :structured_prompt
|
|
433
|
+
|
|
434
|
+
def initialize(**args)
|
|
435
|
+
update!(**args)
|
|
436
|
+
end
|
|
437
|
+
|
|
438
|
+
# Update properties of this object
|
|
439
|
+
def update!(**args)
|
|
440
|
+
@edit_instruction_prompt = args[:edit_instruction_prompt] if args.key?(:edit_instruction_prompt)
|
|
441
|
+
@from_operation_id = args[:from_operation_id] if args.key?(:from_operation_id)
|
|
442
|
+
@structured_prompt = args[:structured_prompt] if args.key?(:structured_prompt)
|
|
443
|
+
end
|
|
444
|
+
end
|
|
445
|
+
|
|
358
446
|
# Configuration for spatial alignment.
|
|
359
447
|
class CloudAiLargeModelsVisionGenerateVideoExperimentsSpatialAlignmentConfig
|
|
360
448
|
include Google::Apis::Core::Hashable
|
|
@@ -592,6 +680,11 @@ module Google
|
|
|
592
680
|
# @return [Google::Apis::AiplatformV1::CloudAiLargeModelsVisionGenerateVideoExperiments]
|
|
593
681
|
attr_accessor :experiments_metadata
|
|
594
682
|
|
|
683
|
+
# Experimental response metadata for video generation.
|
|
684
|
+
# Corresponds to the JSON property `experimentsResponse`
|
|
685
|
+
# @return [Google::Apis::AiplatformV1::CloudAiLargeModelsVisionExperimentsResponse]
|
|
686
|
+
attr_accessor :experiments_response
|
|
687
|
+
|
|
595
688
|
# Cloud Storage URI where the generated video is written.
|
|
596
689
|
# Corresponds to the JSON property `gcsUri`
|
|
597
690
|
# @return [String]
|
|
@@ -610,6 +703,7 @@ module Google
|
|
|
610
703
|
def update!(**args)
|
|
611
704
|
@bytes_base64_encoded = args[:bytes_base64_encoded] if args.key?(:bytes_base64_encoded)
|
|
612
705
|
@experiments_metadata = args[:experiments_metadata] if args.key?(:experiments_metadata)
|
|
706
|
+
@experiments_response = args[:experiments_response] if args.key?(:experiments_response)
|
|
613
707
|
@gcs_uri = args[:gcs_uri] if args.key?(:gcs_uri)
|
|
614
708
|
@mime_type = args[:mime_type] if args.key?(:mime_type)
|
|
615
709
|
end
|
|
@@ -1481,6 +1575,11 @@ module Google
|
|
|
1481
1575
|
# @return [String]
|
|
1482
1576
|
attr_accessor :object
|
|
1483
1577
|
|
|
1578
|
+
# Observability settings for one agent's sessions.
|
|
1579
|
+
# Corresponds to the JSON property `observabilityConfig`
|
|
1580
|
+
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ObservabilityConfig]
|
|
1581
|
+
attr_accessor :observability_config
|
|
1582
|
+
|
|
1484
1583
|
# Optional. The instructions for the agent to follow. These instructions are
|
|
1485
1584
|
# passed to the LLM as a system instruction.
|
|
1486
1585
|
# Corresponds to the JSON property `system_instruction`
|
|
@@ -1511,6 +1610,7 @@ module Google
|
|
|
1511
1610
|
@metadata = args[:metadata] if args.key?(:metadata)
|
|
1512
1611
|
@name = args[:name] if args.key?(:name)
|
|
1513
1612
|
@object = args[:object] if args.key?(:object)
|
|
1613
|
+
@observability_config = args[:observability_config] if args.key?(:observability_config)
|
|
1514
1614
|
@system_instruction = args[:system_instruction] if args.key?(:system_instruction)
|
|
1515
1615
|
@tools = args[:tools] if args.key?(:tools)
|
|
1516
1616
|
@updated = args[:updated] if args.key?(:updated)
|
|
@@ -1675,7 +1775,9 @@ module Google
|
|
|
1675
1775
|
end
|
|
1676
1776
|
|
|
1677
1777
|
# A tool provides a list of actions available to the Agent during the process of
|
|
1678
|
-
# executing a task.
|
|
1778
|
+
# executing a task. Example JSON for an MCP server tool: ` "type": "mcp_server",
|
|
1779
|
+
# "name": "my-mcp-server", "url": "https://api.example.com/mcp", "headers": ` "
|
|
1780
|
+
# Authorization": "Bearer token123" ` `
|
|
1679
1781
|
class GoogleCloudAiplatformV1AgentTool
|
|
1680
1782
|
include Google::Apis::Core::Hashable
|
|
1681
1783
|
|
|
@@ -1685,10 +1787,11 @@ module Google
|
|
|
1685
1787
|
# @return [Hash<String,String>]
|
|
1686
1788
|
attr_accessor :headers
|
|
1687
1789
|
|
|
1688
|
-
# Optional. The tool's
|
|
1689
|
-
# when `type` is `mcp_server` or `endpoint` (a tool registered in
|
|
1690
|
-
# , for example `projects/`project`/locations/`location`/.../
|
|
1691
|
-
# `projects/`project`/locations/`location`/.../endpoints/`id
|
|
1790
|
+
# Optional. The tool's Google Cloud resource name, used to resolve the tool.
|
|
1791
|
+
# Applicable when `type` is `mcp_server` or `endpoint` (a tool registered in
|
|
1792
|
+
# Agent Registry), for example `projects/`project`/locations/`location`/.../
|
|
1793
|
+
# mcpServers/`id`` or `projects/`project`/locations/`location`/.../endpoints/`id`
|
|
1794
|
+
# `.
|
|
1692
1795
|
# Corresponds to the JSON property `name`
|
|
1693
1796
|
# @return [String]
|
|
1694
1797
|
attr_accessor :name
|
|
@@ -1699,12 +1802,11 @@ module Google
|
|
|
1699
1802
|
# @return [String]
|
|
1700
1803
|
attr_accessor :type
|
|
1701
1804
|
|
|
1702
|
-
# Optional.
|
|
1703
|
-
# create the downstream AI App. Applicable when `type` is `mcp_server` or `
|
|
1704
|
-
# endpoint
|
|
1705
|
-
#
|
|
1706
|
-
#
|
|
1707
|
-
# GetMcpServer / GetEndpoint) at task creation.
|
|
1805
|
+
# Optional. Fallback for the tool's runtime reference, consumed by `CreateAgent`
|
|
1806
|
+
# to create the downstream AI App. Applicable when `type` is `mcp_server` or `
|
|
1807
|
+
# endpoint`, and optional: the Agent service derives the runtime reference from `
|
|
1808
|
+
# name` via Agent Registry (`GetMcpServer` / `GetEndpoint`), and reads this only
|
|
1809
|
+
# when that lookup yields none.
|
|
1708
1810
|
# Corresponds to the JSON property `url`
|
|
1709
1811
|
# @return [String]
|
|
1710
1812
|
attr_accessor :url
|
|
@@ -2461,6 +2563,16 @@ module Google
|
|
|
2461
2563
|
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1AudioTranscriptionConfigLanguageHints]
|
|
2462
2564
|
attr_accessor :language_hints
|
|
2463
2565
|
|
|
2566
|
+
# Optional. Configures transcription mode. Supported values: `VERBATIM`, `SMART`.
|
|
2567
|
+
# If unspecified, defaults to `VERBATIM` transcription. In `SMART` mode, the
|
|
2568
|
+
# model performs disfluency removal (eliminating filler words, repetitions, and
|
|
2569
|
+
# false starts), light grammatical cleanup, automatic formatting (paragraphs,
|
|
2570
|
+
# bullet points, numbered lists), and minor user edits (inline self-corrections).
|
|
2571
|
+
# Timestamps and diarization are incompatible with mode `SMART`.
|
|
2572
|
+
# Corresponds to the JSON property `mode`
|
|
2573
|
+
# @return [String]
|
|
2574
|
+
attr_accessor :mode
|
|
2575
|
+
|
|
2464
2576
|
# Optional. Configures word-level timestamp generation.
|
|
2465
2577
|
# Corresponds to the JSON property `wordTimestamp`
|
|
2466
2578
|
# @return [Boolean]
|
|
@@ -2479,6 +2591,7 @@ module Google
|
|
|
2479
2591
|
@language_auto = args[:language_auto] if args.key?(:language_auto)
|
|
2480
2592
|
@language_codes = args[:language_codes] if args.key?(:language_codes)
|
|
2481
2593
|
@language_hints = args[:language_hints] if args.key?(:language_hints)
|
|
2594
|
+
@mode = args[:mode] if args.key?(:mode)
|
|
2482
2595
|
@word_timestamp = args[:word_timestamp] if args.key?(:word_timestamp)
|
|
2483
2596
|
end
|
|
2484
2597
|
end
|
|
@@ -4338,6 +4451,12 @@ module Google
|
|
|
4338
4451
|
# @return [String]
|
|
4339
4452
|
attr_accessor :name
|
|
4340
4453
|
|
|
4454
|
+
# Configures the retention behavior of GenAI implicit (automatic) context
|
|
4455
|
+
# caching for this project.
|
|
4456
|
+
# Corresponds to the JSON property `retentionConfig`
|
|
4457
|
+
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1CacheConfigRetentionConfig]
|
|
4458
|
+
attr_accessor :retention_config
|
|
4459
|
+
|
|
4341
4460
|
def initialize(**args)
|
|
4342
4461
|
update!(**args)
|
|
4343
4462
|
end
|
|
@@ -4346,6 +4465,27 @@ module Google
|
|
|
4346
4465
|
def update!(**args)
|
|
4347
4466
|
@disable_cache = args[:disable_cache] if args.key?(:disable_cache)
|
|
4348
4467
|
@name = args[:name] if args.key?(:name)
|
|
4468
|
+
@retention_config = args[:retention_config] if args.key?(:retention_config)
|
|
4469
|
+
end
|
|
4470
|
+
end
|
|
4471
|
+
|
|
4472
|
+
# Configures the retention behavior of GenAI implicit (automatic) context
|
|
4473
|
+
# caching for this project.
|
|
4474
|
+
class GoogleCloudAiplatformV1CacheConfigRetentionConfig
|
|
4475
|
+
include Google::Apis::Core::Hashable
|
|
4476
|
+
|
|
4477
|
+
# Optional. Retention type applied to implicit cache traffic for this project.
|
|
4478
|
+
# Corresponds to the JSON property `retentionType`
|
|
4479
|
+
# @return [String]
|
|
4480
|
+
attr_accessor :retention_type
|
|
4481
|
+
|
|
4482
|
+
def initialize(**args)
|
|
4483
|
+
update!(**args)
|
|
4484
|
+
end
|
|
4485
|
+
|
|
4486
|
+
# Update properties of this object
|
|
4487
|
+
def update!(**args)
|
|
4488
|
+
@retention_type = args[:retention_type] if args.key?(:retention_type)
|
|
4349
4489
|
end
|
|
4350
4490
|
end
|
|
4351
4491
|
|
|
@@ -18124,6 +18264,14 @@ module Google
|
|
|
18124
18264
|
# @return [Hash<String,String>]
|
|
18125
18265
|
attr_accessor :scope
|
|
18126
18266
|
|
|
18267
|
+
# Optional. The time zone of the conversation or caller, used as the baseline
|
|
18268
|
+
# for resolving relative time expressions (e.g., "yesterday") and formatting
|
|
18269
|
+
# timestamps. If not set, "UTC" is used. Must be a valid IANA Time Zone Database
|
|
18270
|
+
# name, e.g. "America/New_York".
|
|
18271
|
+
# Corresponds to the JSON property `timeZone`
|
|
18272
|
+
# @return [String]
|
|
18273
|
+
attr_accessor :time_zone
|
|
18274
|
+
|
|
18127
18275
|
# Defines an Agent Engine Session from which to generate the memories. If `scope`
|
|
18128
18276
|
# is not provided, the scope will be extracted from the Session (i.e. `"user_id"
|
|
18129
18277
|
# : sesison.user_id`).
|
|
@@ -18148,6 +18296,7 @@ module Google
|
|
|
18148
18296
|
@revision_labels = args[:revision_labels] if args.key?(:revision_labels)
|
|
18149
18297
|
@revision_ttl = args[:revision_ttl] if args.key?(:revision_ttl)
|
|
18150
18298
|
@scope = args[:scope] if args.key?(:scope)
|
|
18299
|
+
@time_zone = args[:time_zone] if args.key?(:time_zone)
|
|
18151
18300
|
@vertex_session_source = args[:vertex_session_source] if args.key?(:vertex_session_source)
|
|
18152
18301
|
end
|
|
18153
18302
|
end
|
|
@@ -20088,6 +20237,24 @@ module Google
|
|
|
20088
20237
|
class GoogleCloudAiplatformV1ImportEvaluationSetRequestCloudTraceSource
|
|
20089
20238
|
include Google::Apis::Core::Hashable
|
|
20090
20239
|
|
|
20240
|
+
# Optional. Restricts the imported spans to a single agent. Accepts either of
|
|
20241
|
+
# two forms, matching `OnlineEvaluator.agent_resource`: * a project-scoped
|
|
20242
|
+
# resource name, matched against the `cloud.resource_id` resource attribute that
|
|
20243
|
+
# Vertex AI Agent Engine agents are stamped with; * an Agent Registry agent URN,
|
|
20244
|
+
# matched against the `gen_ai.main_agent.id` resource attribute that agents on
|
|
20245
|
+
# GKE, and any other runtime that stamps it, are identified by. Scopes `
|
|
20246
|
+
# session_ids` selection only. Traces named explicitly in `trace_ids` are
|
|
20247
|
+
# imported as given and are NOT filtered by this field, because the caller has
|
|
20248
|
+
# already identified them. Setting this field with only `trace_ids` therefore
|
|
20249
|
+
# has no effect. When unset, spans are selected by session or trace ID alone.
|
|
20250
|
+
# That is the pre-existing behavior and it remains the correct one for a session
|
|
20251
|
+
# whose agents run in several deployments, because each deployment stamps its
|
|
20252
|
+
# own `gen_ai.main_agent.id` and filtering on one of them would silently
|
|
20253
|
+
# truncate the trajectory.
|
|
20254
|
+
# Corresponds to the JSON property `agentResource`
|
|
20255
|
+
# @return [String]
|
|
20256
|
+
attr_accessor :agent_resource
|
|
20257
|
+
|
|
20091
20258
|
# Required. Project ID for the Cloud Trace.
|
|
20092
20259
|
# Corresponds to the JSON property `projectId`
|
|
20093
20260
|
# @return [String]
|
|
@@ -20110,6 +20277,7 @@ module Google
|
|
|
20110
20277
|
|
|
20111
20278
|
# Update properties of this object
|
|
20112
20279
|
def update!(**args)
|
|
20280
|
+
@agent_resource = args[:agent_resource] if args.key?(:agent_resource)
|
|
20113
20281
|
@project_id = args[:project_id] if args.key?(:project_id)
|
|
20114
20282
|
@session_ids = args[:session_ids] if args.key?(:session_ids)
|
|
20115
20283
|
@trace_ids = args[:trace_ids] if args.key?(:trace_ids)
|
|
@@ -23236,6 +23404,31 @@ module Google
|
|
|
23236
23404
|
end
|
|
23237
23405
|
end
|
|
23238
23406
|
|
|
23407
|
+
# Response message for ServingProfileService.ListServingProfiles.
|
|
23408
|
+
class GoogleCloudAiplatformV1ListServingProfilesResponse
|
|
23409
|
+
include Google::Apis::Core::Hashable
|
|
23410
|
+
|
|
23411
|
+
# Output only. A token to retrieve the next page of results.
|
|
23412
|
+
# Corresponds to the JSON property `nextPageToken`
|
|
23413
|
+
# @return [String]
|
|
23414
|
+
attr_accessor :next_page_token
|
|
23415
|
+
|
|
23416
|
+
# Output only. A list of ServingProfiles.
|
|
23417
|
+
# Corresponds to the JSON property `servingProfiles`
|
|
23418
|
+
# @return [Array<Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ServingProfile>]
|
|
23419
|
+
attr_accessor :serving_profiles
|
|
23420
|
+
|
|
23421
|
+
def initialize(**args)
|
|
23422
|
+
update!(**args)
|
|
23423
|
+
end
|
|
23424
|
+
|
|
23425
|
+
# Update properties of this object
|
|
23426
|
+
def update!(**args)
|
|
23427
|
+
@next_page_token = args[:next_page_token] if args.key?(:next_page_token)
|
|
23428
|
+
@serving_profiles = args[:serving_profiles] if args.key?(:serving_profiles)
|
|
23429
|
+
end
|
|
23430
|
+
end
|
|
23431
|
+
|
|
23239
23432
|
# Response message for SessionService.ListSessions.
|
|
23240
23433
|
class GoogleCloudAiplatformV1ListSessionsResponse
|
|
23241
23434
|
include Google::Apis::Core::Hashable
|
|
@@ -29216,6 +29409,42 @@ module Google
|
|
|
29216
29409
|
end
|
|
29217
29410
|
end
|
|
29218
29411
|
|
|
29412
|
+
# Observability settings for one agent's sessions.
|
|
29413
|
+
class GoogleCloudAiplatformV1ObservabilityConfig
|
|
29414
|
+
include Google::Apis::Core::Hashable
|
|
29415
|
+
|
|
29416
|
+
# Optional. Enables observability for this agent's sessions: OpenTelemetry span
|
|
29417
|
+
# emission covering tool names, model names, token counts, latencies and status.
|
|
29418
|
+
# If `false`, the other fields here are ignored.
|
|
29419
|
+
# Corresponds to the JSON property `observabilityEnabled`
|
|
29420
|
+
# @return [Boolean]
|
|
29421
|
+
attr_accessor :observability_enabled
|
|
29422
|
+
alias_method :observability_enabled?, :observability_enabled
|
|
29423
|
+
|
|
29424
|
+
# Optional. Enables sensitive logging. Sensitive logging includes customer core
|
|
29425
|
+
# content (prompts, model completions, tool argument payloads and tool responses)
|
|
29426
|
+
# . If `false`, those are sanitized and only structural attributes are recorded.
|
|
29427
|
+
# No effect unless `observability_enabled` is true. Settable and returned, but
|
|
29428
|
+
# NOT YET ENFORCED. Nothing reads it at runtime, so `true` does not currently
|
|
29429
|
+
# cause content to be captured, and `false` is not what keeps content from being
|
|
29430
|
+
# captured. Treat it as a recorded intention that takes effect when enforcement
|
|
29431
|
+
# lands.
|
|
29432
|
+
# Corresponds to the JSON property `sensitiveLoggingEnabled`
|
|
29433
|
+
# @return [Boolean]
|
|
29434
|
+
attr_accessor :sensitive_logging_enabled
|
|
29435
|
+
alias_method :sensitive_logging_enabled?, :sensitive_logging_enabled
|
|
29436
|
+
|
|
29437
|
+
def initialize(**args)
|
|
29438
|
+
update!(**args)
|
|
29439
|
+
end
|
|
29440
|
+
|
|
29441
|
+
# Update properties of this object
|
|
29442
|
+
def update!(**args)
|
|
29443
|
+
@observability_enabled = args[:observability_enabled] if args.key?(:observability_enabled)
|
|
29444
|
+
@sensitive_logging_enabled = args[:sensitive_logging_enabled] if args.key?(:sensitive_logging_enabled)
|
|
29445
|
+
end
|
|
29446
|
+
end
|
|
29447
|
+
|
|
29219
29448
|
# An OnlineEvaluator contains the configuration for an Online Evaluation.
|
|
29220
29449
|
class GoogleCloudAiplatformV1OnlineEvaluator
|
|
29221
29450
|
include Google::Apis::Core::Hashable
|
|
@@ -30186,6 +30415,11 @@ module Google
|
|
|
30186
30415
|
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1PartMediaResolution]
|
|
30187
30416
|
attr_accessor :media_resolution
|
|
30188
30417
|
|
|
30418
|
+
# Structured Metadata Sub-Message for Part
|
|
30419
|
+
# Corresponds to the JSON property `speechMetadata`
|
|
30420
|
+
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1SpeechMetadata]
|
|
30421
|
+
attr_accessor :speech_metadata
|
|
30422
|
+
|
|
30189
30423
|
# Optional. The text content of the part. When sent from the VSCode Gemini Code
|
|
30190
30424
|
# Assist extension, references to @mentioned items will be converted to markdown
|
|
30191
30425
|
# boldface text. For example `@my-repo` will be converted to and sent as `**my-
|
|
@@ -30228,6 +30462,7 @@ module Google
|
|
|
30228
30462
|
@function_response = args[:function_response] if args.key?(:function_response)
|
|
30229
30463
|
@inline_data = args[:inline_data] if args.key?(:inline_data)
|
|
30230
30464
|
@media_resolution = args[:media_resolution] if args.key?(:media_resolution)
|
|
30465
|
+
@speech_metadata = args[:speech_metadata] if args.key?(:speech_metadata)
|
|
30231
30466
|
@text = args[:text] if args.key?(:text)
|
|
30232
30467
|
@thought = args[:thought] if args.key?(:thought)
|
|
30233
30468
|
@thought_signature = args[:thought_signature] if args.key?(:thought_signature)
|
|
@@ -45804,6 +46039,17 @@ module Google
|
|
|
45804
46039
|
# @return [String]
|
|
45805
46040
|
attr_accessor :display_name
|
|
45806
46041
|
|
|
46042
|
+
# Optional. If true, this policy is evaluated and its result is reported, but
|
|
46043
|
+
# the policy is not enforced: a violation does not block the agent's action. Use
|
|
46044
|
+
# this to validate a policy against real traffic before turning enforcement on.
|
|
46045
|
+
# Defaults to `false`, meaning the policy is enforced. This setting applies only
|
|
46046
|
+
# to this policy. If the SemanticGovernancePolicyEngine for the project is
|
|
46047
|
+
# itself in dry run, every policy behaves as dry run regardless of this field.
|
|
46048
|
+
# Corresponds to the JSON property `dryRun`
|
|
46049
|
+
# @return [Boolean]
|
|
46050
|
+
attr_accessor :dry_run
|
|
46051
|
+
alias_method :dry_run?, :dry_run
|
|
46052
|
+
|
|
45807
46053
|
# Optional. Used to perform consistent read-modify-write transactions. If
|
|
45808
46054
|
# provided, the request will only succeed if the etag matches the current value.
|
|
45809
46055
|
# Otherwise, an ABORTED error will be returned.
|
|
@@ -45843,6 +46089,7 @@ module Google
|
|
|
45843
46089
|
@create_time = args[:create_time] if args.key?(:create_time)
|
|
45844
46090
|
@description = args[:description] if args.key?(:description)
|
|
45845
46091
|
@display_name = args[:display_name] if args.key?(:display_name)
|
|
46092
|
+
@dry_run = args[:dry_run] if args.key?(:dry_run)
|
|
45846
46093
|
@etag = args[:etag] if args.key?(:etag)
|
|
45847
46094
|
@mcp_tools = args[:mcp_tools] if args.key?(:mcp_tools)
|
|
45848
46095
|
@name = args[:name] if args.key?(:name)
|
|
@@ -45982,6 +46229,82 @@ module Google
|
|
|
45982
46229
|
end
|
|
45983
46230
|
end
|
|
45984
46231
|
|
|
46232
|
+
# Configures the serving behavior for a resource-less GenAI serving.
|
|
46233
|
+
class GoogleCloudAiplatformV1ServingProfile
|
|
46234
|
+
include Google::Apis::Core::Hashable
|
|
46235
|
+
|
|
46236
|
+
# Configuration for Customer-Managed Encryption Keys (CMEK).
|
|
46237
|
+
# Corresponds to the JSON property `cmekConfig`
|
|
46238
|
+
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ServingProfileCmekConfig]
|
|
46239
|
+
attr_accessor :cmek_config
|
|
46240
|
+
|
|
46241
|
+
# Output only. Timestamp when the ServingProfile was created.
|
|
46242
|
+
# Corresponds to the JSON property `createTime`
|
|
46243
|
+
# @return [String]
|
|
46244
|
+
attr_accessor :create_time
|
|
46245
|
+
|
|
46246
|
+
# Optional. The description of the ServingProfile.
|
|
46247
|
+
# Corresponds to the JSON property `description`
|
|
46248
|
+
# @return [String]
|
|
46249
|
+
attr_accessor :description
|
|
46250
|
+
|
|
46251
|
+
# Required. The display name of the ServingProfile. The name can be up to 128
|
|
46252
|
+
# characters long and can consist of any UTF-8 characters.
|
|
46253
|
+
# Corresponds to the JSON property `displayName`
|
|
46254
|
+
# @return [String]
|
|
46255
|
+
attr_accessor :display_name
|
|
46256
|
+
|
|
46257
|
+
# Identifier. The resource name of the ServingProfile.
|
|
46258
|
+
# Corresponds to the JSON property `name`
|
|
46259
|
+
# @return [String]
|
|
46260
|
+
attr_accessor :name
|
|
46261
|
+
|
|
46262
|
+
# Required. The specific API this ServingProfile applies to.
|
|
46263
|
+
# Corresponds to the JSON property `scope`
|
|
46264
|
+
# @return [String]
|
|
46265
|
+
attr_accessor :scope
|
|
46266
|
+
|
|
46267
|
+
# Output only. Timestamp when the ServingProfile was last updated.
|
|
46268
|
+
# Corresponds to the JSON property `updateTime`
|
|
46269
|
+
# @return [String]
|
|
46270
|
+
attr_accessor :update_time
|
|
46271
|
+
|
|
46272
|
+
def initialize(**args)
|
|
46273
|
+
update!(**args)
|
|
46274
|
+
end
|
|
46275
|
+
|
|
46276
|
+
# Update properties of this object
|
|
46277
|
+
def update!(**args)
|
|
46278
|
+
@cmek_config = args[:cmek_config] if args.key?(:cmek_config)
|
|
46279
|
+
@create_time = args[:create_time] if args.key?(:create_time)
|
|
46280
|
+
@description = args[:description] if args.key?(:description)
|
|
46281
|
+
@display_name = args[:display_name] if args.key?(:display_name)
|
|
46282
|
+
@name = args[:name] if args.key?(:name)
|
|
46283
|
+
@scope = args[:scope] if args.key?(:scope)
|
|
46284
|
+
@update_time = args[:update_time] if args.key?(:update_time)
|
|
46285
|
+
end
|
|
46286
|
+
end
|
|
46287
|
+
|
|
46288
|
+
# Configuration for Customer-Managed Encryption Keys (CMEK).
|
|
46289
|
+
class GoogleCloudAiplatformV1ServingProfileCmekConfig
|
|
46290
|
+
include Google::Apis::Core::Hashable
|
|
46291
|
+
|
|
46292
|
+
# Represents a customer-managed encryption key specification that can be applied
|
|
46293
|
+
# to a Vertex AI resource.
|
|
46294
|
+
# Corresponds to the JSON property `encryptionSpec`
|
|
46295
|
+
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1EncryptionSpec]
|
|
46296
|
+
attr_accessor :encryption_spec
|
|
46297
|
+
|
|
46298
|
+
def initialize(**args)
|
|
46299
|
+
update!(**args)
|
|
46300
|
+
end
|
|
46301
|
+
|
|
46302
|
+
# Update properties of this object
|
|
46303
|
+
def update!(**args)
|
|
46304
|
+
@encryption_spec = args[:encryption_spec] if args.key?(:encryption_spec)
|
|
46305
|
+
end
|
|
46306
|
+
end
|
|
46307
|
+
|
|
45985
46308
|
# A session contains a set of actions between users and Vertex agents.
|
|
45986
46309
|
class GoogleCloudAiplatformV1Session
|
|
45987
46310
|
include Google::Apis::Core::Hashable
|
|
@@ -46559,6 +46882,31 @@ module Google
|
|
|
46559
46882
|
end
|
|
46560
46883
|
end
|
|
46561
46884
|
|
|
46885
|
+
# Structured Metadata Sub-Message for Part
|
|
46886
|
+
class GoogleCloudAiplatformV1SpeechMetadata
|
|
46887
|
+
include Google::Apis::Core::Hashable
|
|
46888
|
+
|
|
46889
|
+
# Optional. Identifies which speaker is speaking this turn.
|
|
46890
|
+
# Corresponds to the JSON property `speaker`
|
|
46891
|
+
# @return [String]
|
|
46892
|
+
attr_accessor :speaker
|
|
46893
|
+
|
|
46894
|
+
# Optional. Natural language description of the vocal style (e.g., "cheerful").
|
|
46895
|
+
# Corresponds to the JSON property `style`
|
|
46896
|
+
# @return [String]
|
|
46897
|
+
attr_accessor :style
|
|
46898
|
+
|
|
46899
|
+
def initialize(**args)
|
|
46900
|
+
update!(**args)
|
|
46901
|
+
end
|
|
46902
|
+
|
|
46903
|
+
# Update properties of this object
|
|
46904
|
+
def update!(**args)
|
|
46905
|
+
@speaker = args[:speaker] if args.key?(:speaker)
|
|
46906
|
+
@style = args[:style] if args.key?(:style)
|
|
46907
|
+
end
|
|
46908
|
+
end
|
|
46909
|
+
|
|
46562
46910
|
# Metadata information for NotebookService.StartNotebookRuntime.
|
|
46563
46911
|
class GoogleCloudAiplatformV1StartNotebookRuntimeOperationMetadata
|
|
46564
46912
|
include Google::Apis::Core::Hashable
|
|
@@ -49502,6 +49850,11 @@ module Google
|
|
|
49502
49850
|
class GoogleCloudAiplatformV1ToolComputerUse
|
|
49503
49851
|
include Google::Apis::Core::Hashable
|
|
49504
49852
|
|
|
49853
|
+
# Optional. Disabled safety policies for computer use.
|
|
49854
|
+
# Corresponds to the JSON property `disabledSafetyPolicies`
|
|
49855
|
+
# @return [Array<String>]
|
|
49856
|
+
attr_accessor :disabled_safety_policies
|
|
49857
|
+
|
|
49505
49858
|
# Optional. Enables the prompt injection detection check on computer-use request.
|
|
49506
49859
|
# Corresponds to the JSON property `enablePromptInjectionDetection`
|
|
49507
49860
|
# @return [Boolean]
|
|
@@ -49529,6 +49882,7 @@ module Google
|
|
|
49529
49882
|
|
|
49530
49883
|
# Update properties of this object
|
|
49531
49884
|
def update!(**args)
|
|
49885
|
+
@disabled_safety_policies = args[:disabled_safety_policies] if args.key?(:disabled_safety_policies)
|
|
49532
49886
|
@enable_prompt_injection_detection = args[:enable_prompt_injection_detection] if args.key?(:enable_prompt_injection_detection)
|
|
49533
49887
|
@environment = args[:environment] if args.key?(:environment)
|
|
49534
49888
|
@excluded_predefined_functions = args[:excluded_predefined_functions] if args.key?(:excluded_predefined_functions)
|
|
@@ -51260,6 +51614,11 @@ module Google
|
|
|
51260
51614
|
# @return [String]
|
|
51261
51615
|
attr_accessor :experiment
|
|
51262
51616
|
|
|
51617
|
+
# Output only. The Cloud Storage metrics URI associated with this TuningJob.
|
|
51618
|
+
# Corresponds to the JSON property `gcsMetricsUri`
|
|
51619
|
+
# @return [String]
|
|
51620
|
+
attr_accessor :gcs_metrics_uri
|
|
51621
|
+
|
|
51263
51622
|
# Optional. The labels with user-defined metadata to organize TuningJob and
|
|
51264
51623
|
# generated resources such as Model and Endpoint. Label keys and values can be
|
|
51265
51624
|
# no longer than 64 characters (Unicode codepoints), can only contain lowercase
|
|
@@ -51350,6 +51709,7 @@ module Google
|
|
|
51350
51709
|
@error = args[:error] if args.key?(:error)
|
|
51351
51710
|
@evaluate_dataset_runs = args[:evaluate_dataset_runs] if args.key?(:evaluate_dataset_runs)
|
|
51352
51711
|
@experiment = args[:experiment] if args.key?(:experiment)
|
|
51712
|
+
@gcs_metrics_uri = args[:gcs_metrics_uri] if args.key?(:gcs_metrics_uri)
|
|
51353
51713
|
@labels = args[:labels] if args.key?(:labels)
|
|
51354
51714
|
@name = args[:name] if args.key?(:name)
|
|
51355
51715
|
@pre_tuned_model = args[:pre_tuned_model] if args.key?(:pre_tuned_model)
|
|
@@ -52684,6 +53044,14 @@ module Google
|
|
|
52684
53044
|
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ReplicatedVoiceConfig]
|
|
52685
53045
|
attr_accessor :replicated_voice_config
|
|
52686
53046
|
|
|
53047
|
+
# Optional. The speaker identifier for synthesis. Supported formats: * Speaker
|
|
53048
|
+
# name for prebuilt voices (for example, `Orus` or `Kore`). * Voice ID for
|
|
53049
|
+
# stored voices (for example, `voice_xxx`). * Voice replication key (for example,
|
|
53050
|
+
# `voicekey_xxx`).
|
|
53051
|
+
# Corresponds to the JSON property `voice`
|
|
53052
|
+
# @return [String]
|
|
53053
|
+
attr_accessor :voice
|
|
53054
|
+
|
|
52687
53055
|
def initialize(**args)
|
|
52688
53056
|
update!(**args)
|
|
52689
53057
|
end
|
|
@@ -52692,6 +53060,7 @@ module Google
|
|
|
52692
53060
|
def update!(**args)
|
|
52693
53061
|
@prebuilt_voice_config = args[:prebuilt_voice_config] if args.key?(:prebuilt_voice_config)
|
|
52694
53062
|
@replicated_voice_config = args[:replicated_voice_config] if args.key?(:replicated_voice_config)
|
|
53063
|
+
@voice = args[:voice] if args.key?(:voice)
|
|
52695
53064
|
end
|
|
52696
53065
|
end
|
|
52697
53066
|
|
|
@@ -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.97.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 = "20260930"
|
|
26
26
|
end
|
|
27
27
|
end
|
|
28
28
|
end
|
|
@@ -22,6 +22,18 @@ module Google
|
|
|
22
22
|
module Apis
|
|
23
23
|
module AiplatformV1
|
|
24
24
|
|
|
25
|
+
class CloudAiLargeModelsVisionExperimentsResponse
|
|
26
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
27
|
+
|
|
28
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
29
|
+
end
|
|
30
|
+
|
|
31
|
+
class CloudAiLargeModelsVisionExperimentsResponseProEditResult
|
|
32
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
33
|
+
|
|
34
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
35
|
+
end
|
|
36
|
+
|
|
25
37
|
class CloudAiLargeModelsVisionGenerateVideoExperiments
|
|
26
38
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
27
39
|
|
|
@@ -64,6 +76,12 @@ module Google
|
|
|
64
76
|
include Google::Apis::Core::JsonObjectSupport
|
|
65
77
|
end
|
|
66
78
|
|
|
79
|
+
class CloudAiLargeModelsVisionGenerateVideoExperimentsProEditConfig
|
|
80
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
81
|
+
|
|
82
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
83
|
+
end
|
|
84
|
+
|
|
67
85
|
class CloudAiLargeModelsVisionGenerateVideoExperimentsSpatialAlignmentConfig
|
|
68
86
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
69
87
|
|
|
@@ -772,6 +790,12 @@ module Google
|
|
|
772
790
|
include Google::Apis::Core::JsonObjectSupport
|
|
773
791
|
end
|
|
774
792
|
|
|
793
|
+
class GoogleCloudAiplatformV1CacheConfigRetentionConfig
|
|
794
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
795
|
+
|
|
796
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
797
|
+
end
|
|
798
|
+
|
|
775
799
|
class GoogleCloudAiplatformV1CachedContent
|
|
776
800
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
777
801
|
|
|
@@ -3796,6 +3820,12 @@ module Google
|
|
|
3796
3820
|
include Google::Apis::Core::JsonObjectSupport
|
|
3797
3821
|
end
|
|
3798
3822
|
|
|
3823
|
+
class GoogleCloudAiplatformV1ListServingProfilesResponse
|
|
3824
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
3825
|
+
|
|
3826
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
3827
|
+
end
|
|
3828
|
+
|
|
3799
3829
|
class GoogleCloudAiplatformV1ListSessionsResponse
|
|
3800
3830
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
3801
3831
|
|
|
@@ -4666,6 +4696,12 @@ module Google
|
|
|
4666
4696
|
include Google::Apis::Core::JsonObjectSupport
|
|
4667
4697
|
end
|
|
4668
4698
|
|
|
4699
|
+
class GoogleCloudAiplatformV1ObservabilityConfig
|
|
4700
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
4701
|
+
|
|
4702
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
4703
|
+
end
|
|
4704
|
+
|
|
4669
4705
|
class GoogleCloudAiplatformV1OnlineEvaluator
|
|
4670
4706
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
4671
4707
|
|
|
@@ -7486,6 +7522,18 @@ module Google
|
|
|
7486
7522
|
include Google::Apis::Core::JsonObjectSupport
|
|
7487
7523
|
end
|
|
7488
7524
|
|
|
7525
|
+
class GoogleCloudAiplatformV1ServingProfile
|
|
7526
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
7527
|
+
|
|
7528
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
7529
|
+
end
|
|
7530
|
+
|
|
7531
|
+
class GoogleCloudAiplatformV1ServingProfileCmekConfig
|
|
7532
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
7533
|
+
|
|
7534
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
7535
|
+
end
|
|
7536
|
+
|
|
7489
7537
|
class GoogleCloudAiplatformV1Session
|
|
7490
7538
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
7491
7539
|
|
|
@@ -7576,6 +7624,12 @@ module Google
|
|
|
7576
7624
|
include Google::Apis::Core::JsonObjectSupport
|
|
7577
7625
|
end
|
|
7578
7626
|
|
|
7627
|
+
class GoogleCloudAiplatformV1SpeechMetadata
|
|
7628
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
7629
|
+
|
|
7630
|
+
include Google::Apis::Core::JsonObjectSupport
|
|
7631
|
+
end
|
|
7632
|
+
|
|
7579
7633
|
class GoogleCloudAiplatformV1StartNotebookRuntimeOperationMetadata
|
|
7580
7634
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
|
7581
7635
|
|
|
@@ -8926,9 +8980,25 @@ module Google
|
|
|
8926
8980
|
include Google::Apis::Core::JsonObjectSupport
|
|
8927
8981
|
end
|
|
8928
8982
|
|
|
8983
|
+
class CloudAiLargeModelsVisionExperimentsResponse
|
|
8984
|
+
# @private
|
|
8985
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
8986
|
+
property :pro_edit_result, as: 'proEditResult', class: Google::Apis::AiplatformV1::CloudAiLargeModelsVisionExperimentsResponseProEditResult, decorator: Google::Apis::AiplatformV1::CloudAiLargeModelsVisionExperimentsResponseProEditResult::Representation
|
|
8987
|
+
|
|
8988
|
+
end
|
|
8989
|
+
end
|
|
8990
|
+
|
|
8991
|
+
class CloudAiLargeModelsVisionExperimentsResponseProEditResult
|
|
8992
|
+
# @private
|
|
8993
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
8994
|
+
property :structured_prompt, as: 'structuredPrompt'
|
|
8995
|
+
end
|
|
8996
|
+
end
|
|
8997
|
+
|
|
8929
8998
|
class CloudAiLargeModelsVisionGenerateVideoExperiments
|
|
8930
8999
|
# @private
|
|
8931
9000
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
9001
|
+
property :allow_metered_billing, as: 'allowMeteredBilling'
|
|
8932
9002
|
property :anchor_last_frame, as: 'anchorLastFrame'
|
|
8933
9003
|
property :audio_control, as: 'audioControl', class: Google::Apis::AiplatformV1::CloudAiLargeModelsVisionGenerateVideoExperimentsAudioControlConfig, decorator: Google::Apis::AiplatformV1::CloudAiLargeModelsVisionGenerateVideoExperimentsAudioControlConfig::Representation
|
|
8934
9004
|
|
|
@@ -8950,6 +9020,8 @@ module Google
|
|
|
8950
9020
|
property :original_request_json, as: 'originalRequestJson'
|
|
8951
9021
|
property :outpaint_config, as: 'outpaintConfig', class: Google::Apis::AiplatformV1::CloudAiLargeModelsVisionGenerateVideoExperimentsOutpaintConfig, decorator: Google::Apis::AiplatformV1::CloudAiLargeModelsVisionGenerateVideoExperimentsOutpaintConfig::Representation
|
|
8952
9022
|
|
|
9023
|
+
property :pro_edit, as: 'proEdit', class: Google::Apis::AiplatformV1::CloudAiLargeModelsVisionGenerateVideoExperimentsProEditConfig, decorator: Google::Apis::AiplatformV1::CloudAiLargeModelsVisionGenerateVideoExperimentsProEditConfig::Representation
|
|
9024
|
+
|
|
8953
9025
|
property :prompt_inputs, as: 'promptInputs', class: Google::Apis::AiplatformV1::CloudAiLargeModelsVisionPromptInputs, decorator: Google::Apis::AiplatformV1::CloudAiLargeModelsVisionPromptInputs::Representation
|
|
8954
9026
|
|
|
8955
9027
|
property :request_origin_tag, as: 'requestOriginTag'
|
|
@@ -9018,6 +9090,15 @@ module Google
|
|
|
9018
9090
|
end
|
|
9019
9091
|
end
|
|
9020
9092
|
|
|
9093
|
+
class CloudAiLargeModelsVisionGenerateVideoExperimentsProEditConfig
|
|
9094
|
+
# @private
|
|
9095
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
9096
|
+
property :edit_instruction_prompt, as: 'editInstructionPrompt'
|
|
9097
|
+
property :from_operation_id, as: 'fromOperationId'
|
|
9098
|
+
property :structured_prompt, as: 'structuredPrompt'
|
|
9099
|
+
end
|
|
9100
|
+
end
|
|
9101
|
+
|
|
9021
9102
|
class CloudAiLargeModelsVisionGenerateVideoExperimentsSpatialAlignmentConfig
|
|
9022
9103
|
# @private
|
|
9023
9104
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -9091,6 +9172,8 @@ module Google
|
|
|
9091
9172
|
property :bytes_base64_encoded, as: 'bytesBase64Encoded'
|
|
9092
9173
|
property :experiments_metadata, as: 'experimentsMetadata', class: Google::Apis::AiplatformV1::CloudAiLargeModelsVisionGenerateVideoExperiments, decorator: Google::Apis::AiplatformV1::CloudAiLargeModelsVisionGenerateVideoExperiments::Representation
|
|
9093
9174
|
|
|
9175
|
+
property :experiments_response, as: 'experimentsResponse', class: Google::Apis::AiplatformV1::CloudAiLargeModelsVisionExperimentsResponse, decorator: Google::Apis::AiplatformV1::CloudAiLargeModelsVisionExperimentsResponse::Representation
|
|
9176
|
+
|
|
9094
9177
|
property :gcs_uri, as: 'gcsUri'
|
|
9095
9178
|
property :mime_type, as: 'mimeType'
|
|
9096
9179
|
end
|
|
@@ -9349,6 +9432,8 @@ module Google
|
|
|
9349
9432
|
hash :metadata, as: 'metadata'
|
|
9350
9433
|
property :name, as: 'name'
|
|
9351
9434
|
property :object, as: 'object'
|
|
9435
|
+
property :observability_config, as: 'observabilityConfig', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ObservabilityConfig, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ObservabilityConfig::Representation
|
|
9436
|
+
|
|
9352
9437
|
property :system_instruction, as: 'system_instruction'
|
|
9353
9438
|
collection :tools, as: 'tools', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1AgentTool, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1AgentTool::Representation
|
|
9354
9439
|
|
|
@@ -9604,6 +9689,7 @@ module Google
|
|
|
9604
9689
|
collection :language_codes, as: 'languageCodes'
|
|
9605
9690
|
property :language_hints, as: 'languageHints', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1AudioTranscriptionConfigLanguageHints, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1AudioTranscriptionConfigLanguageHints::Representation
|
|
9606
9691
|
|
|
9692
|
+
property :mode, as: 'mode'
|
|
9607
9693
|
property :word_timestamp, as: 'wordTimestamp'
|
|
9608
9694
|
end
|
|
9609
9695
|
end
|
|
@@ -10166,6 +10252,15 @@ module Google
|
|
|
10166
10252
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
10167
10253
|
property :disable_cache, as: 'disableCache'
|
|
10168
10254
|
property :name, as: 'name'
|
|
10255
|
+
property :retention_config, as: 'retentionConfig', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1CacheConfigRetentionConfig, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1CacheConfigRetentionConfig::Representation
|
|
10256
|
+
|
|
10257
|
+
end
|
|
10258
|
+
end
|
|
10259
|
+
|
|
10260
|
+
class GoogleCloudAiplatformV1CacheConfigRetentionConfig
|
|
10261
|
+
# @private
|
|
10262
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
10263
|
+
property :retention_type, as: 'retentionType'
|
|
10169
10264
|
end
|
|
10170
10265
|
end
|
|
10171
10266
|
|
|
@@ -14047,6 +14142,7 @@ module Google
|
|
|
14047
14142
|
hash :revision_labels, as: 'revisionLabels'
|
|
14048
14143
|
property :revision_ttl, as: 'revisionTtl'
|
|
14049
14144
|
hash :scope, as: 'scope'
|
|
14145
|
+
property :time_zone, as: 'timeZone'
|
|
14050
14146
|
property :vertex_session_source, as: 'vertexSessionSource', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1GenerateMemoriesRequestVertexSessionSource, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1GenerateMemoriesRequestVertexSessionSource::Representation
|
|
14051
14147
|
|
|
14052
14148
|
end
|
|
@@ -14593,6 +14689,7 @@ module Google
|
|
|
14593
14689
|
class GoogleCloudAiplatformV1ImportEvaluationSetRequestCloudTraceSource
|
|
14594
14690
|
# @private
|
|
14595
14691
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
14692
|
+
property :agent_resource, as: 'agentResource'
|
|
14596
14693
|
property :project_id, as: 'projectId'
|
|
14597
14694
|
collection :session_ids, as: 'sessionIds'
|
|
14598
14695
|
collection :trace_ids, as: 'traceIds'
|
|
@@ -15543,6 +15640,15 @@ module Google
|
|
|
15543
15640
|
end
|
|
15544
15641
|
end
|
|
15545
15642
|
|
|
15643
|
+
class GoogleCloudAiplatformV1ListServingProfilesResponse
|
|
15644
|
+
# @private
|
|
15645
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
15646
|
+
property :next_page_token, as: 'nextPageToken'
|
|
15647
|
+
collection :serving_profiles, as: 'servingProfiles', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ServingProfile, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ServingProfile::Representation
|
|
15648
|
+
|
|
15649
|
+
end
|
|
15650
|
+
end
|
|
15651
|
+
|
|
15546
15652
|
class GoogleCloudAiplatformV1ListSessionsResponse
|
|
15547
15653
|
# @private
|
|
15548
15654
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -17151,6 +17257,14 @@ module Google
|
|
|
17151
17257
|
end
|
|
17152
17258
|
end
|
|
17153
17259
|
|
|
17260
|
+
class GoogleCloudAiplatformV1ObservabilityConfig
|
|
17261
|
+
# @private
|
|
17262
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
17263
|
+
property :observability_enabled, as: 'observabilityEnabled'
|
|
17264
|
+
property :sensitive_logging_enabled, as: 'sensitiveLoggingEnabled'
|
|
17265
|
+
end
|
|
17266
|
+
end
|
|
17267
|
+
|
|
17154
17268
|
class GoogleCloudAiplatformV1OnlineEvaluator
|
|
17155
17269
|
# @private
|
|
17156
17270
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -17450,6 +17564,8 @@ module Google
|
|
|
17450
17564
|
|
|
17451
17565
|
property :media_resolution, as: 'mediaResolution', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1PartMediaResolution, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1PartMediaResolution::Representation
|
|
17452
17566
|
|
|
17567
|
+
property :speech_metadata, as: 'speechMetadata', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1SpeechMetadata, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1SpeechMetadata::Representation
|
|
17568
|
+
|
|
17453
17569
|
property :text, as: 'text'
|
|
17454
17570
|
property :thought, as: 'thought'
|
|
17455
17571
|
property :thought_signature, :base64 => true, as: 'thoughtSignature'
|
|
@@ -21826,6 +21942,7 @@ module Google
|
|
|
21826
21942
|
property :create_time, as: 'createTime'
|
|
21827
21943
|
property :description, as: 'description'
|
|
21828
21944
|
property :display_name, as: 'displayName'
|
|
21945
|
+
property :dry_run, as: 'dryRun'
|
|
21829
21946
|
property :etag, as: 'etag'
|
|
21830
21947
|
collection :mcp_tools, as: 'mcpTools', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1SemanticGovernancePolicyMcpTool, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1SemanticGovernancePolicyMcpTool::Representation
|
|
21831
21948
|
|
|
@@ -21866,6 +21983,28 @@ module Google
|
|
|
21866
21983
|
end
|
|
21867
21984
|
end
|
|
21868
21985
|
|
|
21986
|
+
class GoogleCloudAiplatformV1ServingProfile
|
|
21987
|
+
# @private
|
|
21988
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
21989
|
+
property :cmek_config, as: 'cmekConfig', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ServingProfileCmekConfig, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ServingProfileCmekConfig::Representation
|
|
21990
|
+
|
|
21991
|
+
property :create_time, as: 'createTime'
|
|
21992
|
+
property :description, as: 'description'
|
|
21993
|
+
property :display_name, as: 'displayName'
|
|
21994
|
+
property :name, as: 'name'
|
|
21995
|
+
property :scope, as: 'scope'
|
|
21996
|
+
property :update_time, as: 'updateTime'
|
|
21997
|
+
end
|
|
21998
|
+
end
|
|
21999
|
+
|
|
22000
|
+
class GoogleCloudAiplatformV1ServingProfileCmekConfig
|
|
22001
|
+
# @private
|
|
22002
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
22003
|
+
property :encryption_spec, as: 'encryptionSpec', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1EncryptionSpec, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1EncryptionSpec::Representation
|
|
22004
|
+
|
|
22005
|
+
end
|
|
22006
|
+
end
|
|
22007
|
+
|
|
21869
22008
|
class GoogleCloudAiplatformV1Session
|
|
21870
22009
|
# @private
|
|
21871
22010
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -22025,6 +22164,14 @@ module Google
|
|
|
22025
22164
|
end
|
|
22026
22165
|
end
|
|
22027
22166
|
|
|
22167
|
+
class GoogleCloudAiplatformV1SpeechMetadata
|
|
22168
|
+
# @private
|
|
22169
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
|
22170
|
+
property :speaker, as: 'speaker'
|
|
22171
|
+
property :style, as: 'style'
|
|
22172
|
+
end
|
|
22173
|
+
end
|
|
22174
|
+
|
|
22028
22175
|
class GoogleCloudAiplatformV1StartNotebookRuntimeOperationMetadata
|
|
22029
22176
|
# @private
|
|
22030
22177
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
@@ -22858,6 +23005,7 @@ module Google
|
|
|
22858
23005
|
class GoogleCloudAiplatformV1ToolComputerUse
|
|
22859
23006
|
# @private
|
|
22860
23007
|
class Representation < Google::Apis::Core::JsonRepresentation
|
|
23008
|
+
collection :disabled_safety_policies, as: 'disabledSafetyPolicies'
|
|
22861
23009
|
property :enable_prompt_injection_detection, as: 'enablePromptInjectionDetection'
|
|
22862
23010
|
property :environment, as: 'environment'
|
|
22863
23011
|
collection :excluded_predefined_functions, as: 'excludedPredefinedFunctions'
|
|
@@ -23436,6 +23584,7 @@ module Google
|
|
|
23436
23584
|
collection :evaluate_dataset_runs, as: 'evaluateDatasetRuns', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1EvaluateDatasetRun, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1EvaluateDatasetRun::Representation
|
|
23437
23585
|
|
|
23438
23586
|
property :experiment, as: 'experiment'
|
|
23587
|
+
property :gcs_metrics_uri, as: 'gcsMetricsUri'
|
|
23439
23588
|
hash :labels, as: 'labels'
|
|
23440
23589
|
property :name, as: 'name'
|
|
23441
23590
|
property :pre_tuned_model, as: 'preTunedModel', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1PreTunedModel, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1PreTunedModel::Representation
|
|
@@ -23895,6 +24044,7 @@ module Google
|
|
|
23895
24044
|
|
|
23896
24045
|
property :replicated_voice_config, as: 'replicatedVoiceConfig', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ReplicatedVoiceConfig, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ReplicatedVoiceConfig::Representation
|
|
23897
24046
|
|
|
24047
|
+
property :voice, as: 'voice'
|
|
23898
24048
|
end
|
|
23899
24049
|
end
|
|
23900
24050
|
|
|
@@ -7701,6 +7701,21 @@ module Google
|
|
|
7701
7701
|
# Identifier. Name of the cache config. Format: - `projects/`project`/
|
|
7702
7702
|
# cacheConfig`.
|
|
7703
7703
|
# @param [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1CacheConfig] google_cloud_aiplatform_v1_cache_config_object
|
|
7704
|
+
# @param [String] update_mask
|
|
7705
|
+
# Optional. The list of fields of `cache_config` to update. Supported paths are `
|
|
7706
|
+
# disable_cache`, `retention_config` (and its subfields such as `
|
|
7707
|
+
# retention_config.retention_type`), and the special value `*`; any other path
|
|
7708
|
+
# returns `INVALID_ARGUMENT`. Fields not covered by the mask keep their stored
|
|
7709
|
+
# value. If the mask is omitted, it is treated as an implied mask covering the
|
|
7710
|
+
# fields populated in `cache_config`, so updating one field never clears another.
|
|
7711
|
+
# `retention_config` is covered only when the request carries it. `
|
|
7712
|
+
# disable_cache` is always covered: it is a bare `bool`, so the server cannot
|
|
7713
|
+
# tell a request that omits it from one that sets it to `false`. `*` requests
|
|
7714
|
+
# full replacement of the resource: every settable field is written from the
|
|
7715
|
+
# request, clearing `retention_config` when the request omits it. It cannot be
|
|
7716
|
+
# combined with other paths. Prefer naming fields explicitly -- a caller that
|
|
7717
|
+
# sends `*` without knowing about a field added to `CacheConfig` later would
|
|
7718
|
+
# silently reset that field.
|
|
7704
7719
|
# @param [String] fields
|
|
7705
7720
|
# Selector specifying which fields to include in a partial response.
|
|
7706
7721
|
# @param [String] quota_user
|
|
@@ -7718,13 +7733,14 @@ module Google
|
|
|
7718
7733
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
7719
7734
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
7720
7735
|
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
7721
|
-
def update_project_cache_config(name, google_cloud_aiplatform_v1_cache_config_object = nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
7736
|
+
def update_project_cache_config(name, google_cloud_aiplatform_v1_cache_config_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
7722
7737
|
command = make_simple_command(:patch, 'v1/{+name}', options)
|
|
7723
7738
|
command.request_representation = Google::Apis::AiplatformV1::GoogleCloudAiplatformV1CacheConfig::Representation
|
|
7724
7739
|
command.request_object = google_cloud_aiplatform_v1_cache_config_object
|
|
7725
7740
|
command.response_representation = Google::Apis::AiplatformV1::GoogleLongrunningOperation::Representation
|
|
7726
7741
|
command.response_class = Google::Apis::AiplatformV1::GoogleLongrunningOperation
|
|
7727
7742
|
command.params['name'] = name unless name.nil?
|
|
7743
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
|
7728
7744
|
command.query['fields'] = fields unless fields.nil?
|
|
7729
7745
|
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
7730
7746
|
execute_or_queue_command(command, &block)
|
|
@@ -8625,10 +8641,10 @@ module Google
|
|
|
8625
8641
|
# Request-specific options
|
|
8626
8642
|
#
|
|
8627
8643
|
# @yield [result, err] Result & error if block supplied
|
|
8628
|
-
# @yieldparam result [Google::Apis::AiplatformV1::
|
|
8644
|
+
# @yieldparam result [Google::Apis::AiplatformV1::GoogleLongrunningOperation] parsed result object
|
|
8629
8645
|
# @yieldparam err [StandardError] error object if request failed
|
|
8630
8646
|
#
|
|
8631
|
-
# @return [Google::Apis::AiplatformV1::
|
|
8647
|
+
# @return [Google::Apis::AiplatformV1::GoogleLongrunningOperation]
|
|
8632
8648
|
#
|
|
8633
8649
|
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
8634
8650
|
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
@@ -8637,8 +8653,8 @@ module Google
|
|
|
8637
8653
|
command = make_simple_command(:patch, 'v1/{+name}', options)
|
|
8638
8654
|
command.request_representation = Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Agent::Representation
|
|
8639
8655
|
command.request_object = google_cloud_aiplatform_v1_agent_object
|
|
8640
|
-
command.response_representation = Google::Apis::AiplatformV1::
|
|
8641
|
-
command.response_class = Google::Apis::AiplatformV1::
|
|
8656
|
+
command.response_representation = Google::Apis::AiplatformV1::GoogleLongrunningOperation::Representation
|
|
8657
|
+
command.response_class = Google::Apis::AiplatformV1::GoogleLongrunningOperation
|
|
8642
8658
|
command.params['name'] = name unless name.nil?
|
|
8643
8659
|
command.query['updateMask'] = update_mask unless update_mask.nil?
|
|
8644
8660
|
command.query['fields'] = fields unless fields.nil?
|
|
@@ -32760,6 +32776,185 @@ module Google
|
|
|
32760
32776
|
execute_or_queue_command(command, &block)
|
|
32761
32777
|
end
|
|
32762
32778
|
|
|
32779
|
+
# Creates a ServingProfile.
|
|
32780
|
+
# @param [String] parent
|
|
32781
|
+
# Required. The resource name of the Location to create the ServingProfile in.
|
|
32782
|
+
# Format: `projects/`project`/locations/`location``
|
|
32783
|
+
# @param [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ServingProfile] google_cloud_aiplatform_v1_serving_profile_object
|
|
32784
|
+
# @param [String] serving_profile_id
|
|
32785
|
+
# Required. The ID to use for the ServingProfile, which will become the final
|
|
32786
|
+
# component of the ServingProfile's resource name. This value should be 1-63
|
|
32787
|
+
# characters, and valid characters are `^[a-z]([a-z0-9-]`0,61`[a-z0-9])?$`.
|
|
32788
|
+
# @param [String] fields
|
|
32789
|
+
# Selector specifying which fields to include in a partial response.
|
|
32790
|
+
# @param [String] quota_user
|
|
32791
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
32792
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
32793
|
+
# @param [Google::Apis::RequestOptions] options
|
|
32794
|
+
# Request-specific options
|
|
32795
|
+
#
|
|
32796
|
+
# @yield [result, err] Result & error if block supplied
|
|
32797
|
+
# @yieldparam result [Google::Apis::AiplatformV1::GoogleLongrunningOperation] parsed result object
|
|
32798
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
32799
|
+
#
|
|
32800
|
+
# @return [Google::Apis::AiplatformV1::GoogleLongrunningOperation]
|
|
32801
|
+
#
|
|
32802
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
32803
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
32804
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
32805
|
+
def create_project_location_serving_profile(parent, google_cloud_aiplatform_v1_serving_profile_object = nil, serving_profile_id: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
32806
|
+
command = make_simple_command(:post, 'v1/{+parent}/servingProfiles', options)
|
|
32807
|
+
command.request_representation = Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ServingProfile::Representation
|
|
32808
|
+
command.request_object = google_cloud_aiplatform_v1_serving_profile_object
|
|
32809
|
+
command.response_representation = Google::Apis::AiplatformV1::GoogleLongrunningOperation::Representation
|
|
32810
|
+
command.response_class = Google::Apis::AiplatformV1::GoogleLongrunningOperation
|
|
32811
|
+
command.params['parent'] = parent unless parent.nil?
|
|
32812
|
+
command.query['servingProfileId'] = serving_profile_id unless serving_profile_id.nil?
|
|
32813
|
+
command.query['fields'] = fields unless fields.nil?
|
|
32814
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
32815
|
+
execute_or_queue_command(command, &block)
|
|
32816
|
+
end
|
|
32817
|
+
|
|
32818
|
+
# Deletes a ServingProfile.
|
|
32819
|
+
# @param [String] name
|
|
32820
|
+
# Required. The name of the ServingProfile resource to be deleted. Format: `
|
|
32821
|
+
# projects/`project`/locations/`location`/servingProfiles/`serving_profile``
|
|
32822
|
+
# @param [String] fields
|
|
32823
|
+
# Selector specifying which fields to include in a partial response.
|
|
32824
|
+
# @param [String] quota_user
|
|
32825
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
32826
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
32827
|
+
# @param [Google::Apis::RequestOptions] options
|
|
32828
|
+
# Request-specific options
|
|
32829
|
+
#
|
|
32830
|
+
# @yield [result, err] Result & error if block supplied
|
|
32831
|
+
# @yieldparam result [Google::Apis::AiplatformV1::GoogleProtobufEmpty] parsed result object
|
|
32832
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
32833
|
+
#
|
|
32834
|
+
# @return [Google::Apis::AiplatformV1::GoogleProtobufEmpty]
|
|
32835
|
+
#
|
|
32836
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
32837
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
32838
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
32839
|
+
def delete_project_location_serving_profile(name, fields: nil, quota_user: nil, options: nil, &block)
|
|
32840
|
+
command = make_simple_command(:delete, 'v1/{+name}', options)
|
|
32841
|
+
command.response_representation = Google::Apis::AiplatformV1::GoogleProtobufEmpty::Representation
|
|
32842
|
+
command.response_class = Google::Apis::AiplatformV1::GoogleProtobufEmpty
|
|
32843
|
+
command.params['name'] = name unless name.nil?
|
|
32844
|
+
command.query['fields'] = fields unless fields.nil?
|
|
32845
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
32846
|
+
execute_or_queue_command(command, &block)
|
|
32847
|
+
end
|
|
32848
|
+
|
|
32849
|
+
# Gets a ServingProfile.
|
|
32850
|
+
# @param [String] name
|
|
32851
|
+
# Required. The name of the ServingProfile resource. Format: `projects/`project`/
|
|
32852
|
+
# locations/`location`/servingProfiles/`serving_profile``
|
|
32853
|
+
# @param [String] fields
|
|
32854
|
+
# Selector specifying which fields to include in a partial response.
|
|
32855
|
+
# @param [String] quota_user
|
|
32856
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
32857
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
32858
|
+
# @param [Google::Apis::RequestOptions] options
|
|
32859
|
+
# Request-specific options
|
|
32860
|
+
#
|
|
32861
|
+
# @yield [result, err] Result & error if block supplied
|
|
32862
|
+
# @yieldparam result [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ServingProfile] parsed result object
|
|
32863
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
32864
|
+
#
|
|
32865
|
+
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ServingProfile]
|
|
32866
|
+
#
|
|
32867
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
32868
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
32869
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
32870
|
+
def get_project_location_serving_profile(name, fields: nil, quota_user: nil, options: nil, &block)
|
|
32871
|
+
command = make_simple_command(:get, 'v1/{+name}', options)
|
|
32872
|
+
command.response_representation = Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ServingProfile::Representation
|
|
32873
|
+
command.response_class = Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ServingProfile
|
|
32874
|
+
command.params['name'] = name unless name.nil?
|
|
32875
|
+
command.query['fields'] = fields unless fields.nil?
|
|
32876
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
32877
|
+
execute_or_queue_command(command, &block)
|
|
32878
|
+
end
|
|
32879
|
+
|
|
32880
|
+
# Lists ServingProfiles in a Location.
|
|
32881
|
+
# @param [String] parent
|
|
32882
|
+
# Required. The resource name of the Location to list the ServingProfiles from.
|
|
32883
|
+
# Format: `projects/`project`/locations/`location``
|
|
32884
|
+
# @param [Fixnum] page_size
|
|
32885
|
+
# Optional. The standard list page size. If unspecified, at most 100
|
|
32886
|
+
# ServingProfiles will be returned. The maximum value is 1000; values above 1000
|
|
32887
|
+
# will be coerced to 1000.
|
|
32888
|
+
# @param [String] page_token
|
|
32889
|
+
# Optional. The standard list page token.
|
|
32890
|
+
# @param [String] fields
|
|
32891
|
+
# Selector specifying which fields to include in a partial response.
|
|
32892
|
+
# @param [String] quota_user
|
|
32893
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
32894
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
32895
|
+
# @param [Google::Apis::RequestOptions] options
|
|
32896
|
+
# Request-specific options
|
|
32897
|
+
#
|
|
32898
|
+
# @yield [result, err] Result & error if block supplied
|
|
32899
|
+
# @yieldparam result [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ListServingProfilesResponse] parsed result object
|
|
32900
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
32901
|
+
#
|
|
32902
|
+
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ListServingProfilesResponse]
|
|
32903
|
+
#
|
|
32904
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
32905
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
32906
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
32907
|
+
def list_project_location_serving_profiles(parent, page_size: nil, page_token: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
32908
|
+
command = make_simple_command(:get, 'v1/{+parent}/servingProfiles', options)
|
|
32909
|
+
command.response_representation = Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ListServingProfilesResponse::Representation
|
|
32910
|
+
command.response_class = Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ListServingProfilesResponse
|
|
32911
|
+
command.params['parent'] = parent unless parent.nil?
|
|
32912
|
+
command.query['pageSize'] = page_size unless page_size.nil?
|
|
32913
|
+
command.query['pageToken'] = page_token unless page_token.nil?
|
|
32914
|
+
command.query['fields'] = fields unless fields.nil?
|
|
32915
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
32916
|
+
execute_or_queue_command(command, &block)
|
|
32917
|
+
end
|
|
32918
|
+
|
|
32919
|
+
# Updates a ServingProfile.
|
|
32920
|
+
# @param [String] name
|
|
32921
|
+
# Identifier. The resource name of the ServingProfile.
|
|
32922
|
+
# @param [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ServingProfile] google_cloud_aiplatform_v1_serving_profile_object
|
|
32923
|
+
# @param [String] update_mask
|
|
32924
|
+
# Optional. The list of fields to update; see https://developers.google.com/
|
|
32925
|
+
# protocol-buffers/docs/reference/google.protobuf#fieldmask. If omitted, all
|
|
32926
|
+
# populated (non-empty) mutable fields are updated; if set to `["*"]`, all
|
|
32927
|
+
# mutable fields are fully replaced (unpopulated values are cleared).
|
|
32928
|
+
# @param [String] fields
|
|
32929
|
+
# Selector specifying which fields to include in a partial response.
|
|
32930
|
+
# @param [String] quota_user
|
|
32931
|
+
# Available to use for quota purposes for server-side applications. Can be any
|
|
32932
|
+
# arbitrary string assigned to a user, but should not exceed 40 characters.
|
|
32933
|
+
# @param [Google::Apis::RequestOptions] options
|
|
32934
|
+
# Request-specific options
|
|
32935
|
+
#
|
|
32936
|
+
# @yield [result, err] Result & error if block supplied
|
|
32937
|
+
# @yieldparam result [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ServingProfile] parsed result object
|
|
32938
|
+
# @yieldparam err [StandardError] error object if request failed
|
|
32939
|
+
#
|
|
32940
|
+
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ServingProfile]
|
|
32941
|
+
#
|
|
32942
|
+
# @raise [Google::Apis::ServerError] An error occurred on the server and the request can be retried
|
|
32943
|
+
# @raise [Google::Apis::ClientError] The request is invalid and should not be retried without modification
|
|
32944
|
+
# @raise [Google::Apis::AuthorizationError] Authorization is required
|
|
32945
|
+
def patch_project_location_serving_profile(name, google_cloud_aiplatform_v1_serving_profile_object = nil, update_mask: nil, fields: nil, quota_user: nil, options: nil, &block)
|
|
32946
|
+
command = make_simple_command(:patch, 'v1/{+name}', options)
|
|
32947
|
+
command.request_representation = Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ServingProfile::Representation
|
|
32948
|
+
command.request_object = google_cloud_aiplatform_v1_serving_profile_object
|
|
32949
|
+
command.response_representation = Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ServingProfile::Representation
|
|
32950
|
+
command.response_class = Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ServingProfile
|
|
32951
|
+
command.params['name'] = name unless name.nil?
|
|
32952
|
+
command.query['updateMask'] = update_mask unless update_mask.nil?
|
|
32953
|
+
command.query['fields'] = fields unless fields.nil?
|
|
32954
|
+
command.query['quotaUser'] = quota_user unless quota_user.nil?
|
|
32955
|
+
execute_or_queue_command(command, &block)
|
|
32956
|
+
end
|
|
32957
|
+
|
|
32763
32958
|
# Starts asynchronous cancellation on a long-running operation. The server makes
|
|
32764
32959
|
# a best effort to cancel the operation, but success is not guaranteed. If the
|
|
32765
32960
|
# server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.
|
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.97.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.97.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:
|