google-apis-aiplatform_v1 0.93.0 → 0.95.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: ad22917e229af3290aeb7d38ac3bf2ce2733e4aad7fb19f65695628c0c3a0a82
4
- data.tar.gz: 8d850d2ac1f4e8101397d54e43ef5a4c5e3d11335b556066c2f081420dc1b72b
3
+ metadata.gz: 39bdc89a013f4412c8cf54cc38ba07ec2dc9107def15ae09f584434124e118dc
4
+ data.tar.gz: 7c1924da926b4352d5a544f95f753a42786a5762a63653f903e3333006c9f80d
5
5
  SHA512:
6
- metadata.gz: 1b186c6d4dc28772a9474b743220eb6ed10b6267c8cd6d2d6b6797f3730517a5f87b3d3857c23cbe5fd2c77668d80cb440f73f30585784adc8bd25ffe8f317c3
7
- data.tar.gz: d283b4c597e43bdaea7e12fbfc633617381c27d0df3e17f5b13ad7027231351482a6ddcb9b10974f312ca273ee4b8d15d6203ebc946ec334af932858873498a6
6
+ metadata.gz: 3cbb0501299589fb5ccf5f22368c64ce6305eb8931b30dd219034e9381f7845cebb6068c282e12f6a9a2894e3204102d40fe4914aa965693c7735f17ef295922
7
+ data.tar.gz: 265bb6aad9116fa4c36aa1f94d6f851caf4cdab3e6d8cd4eee9beab7bdd3be95dd53c0cc4bd23c819daad1dd81e4b9d15dc80d03a1a09de1995d3c19e3dad856
data/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # Release history for google-apis-aiplatform_v1
2
2
 
3
+ ### v0.95.0 (2026-09-06)
4
+
5
+ * Regenerated from discovery document revision 20260831
6
+
7
+ ### v0.94.0 (2026-08-23)
8
+
9
+ * Regenerated from discovery document revision 20260815
10
+
3
11
  ### v0.93.0 (2026-08-16)
4
12
 
5
13
  * Regenerated from discovery document revision 20260808
@@ -75,6 +75,12 @@ module Google
75
75
  # @return [Google::Apis::AiplatformV1::CloudAiLargeModelsVisionHumanPose]
76
76
  attr_accessor :human_pose
77
77
 
78
+ # Optional. BNS override for model backend. Enabled only for local and autopush
79
+ # environments by the flag `lvm_allow_model_zoo_bns_override`.
80
+ # Corresponds to the JSON property `modelEndpointOverride`
81
+ # @return [String]
82
+ attr_accessor :model_endpoint_override
83
+
78
84
  # Model names, as defined in: xyz
79
85
  # Corresponds to the JSON property `modelName`
80
86
  # @return [String]
@@ -172,6 +178,7 @@ module Google
172
178
  @custom_parameters = args[:custom_parameters] if args.key?(:custom_parameters)
173
179
  @exr_color_space_override = args[:exr_color_space_override] if args.key?(:exr_color_space_override)
174
180
  @human_pose = args[:human_pose] if args.key?(:human_pose)
181
+ @model_endpoint_override = args[:model_endpoint_override] if args.key?(:model_endpoint_override)
175
182
  @model_name = args[:model_name] if args.key?(:model_name)
176
183
  @num_diffusion_steps = args[:num_diffusion_steps] if args.key?(:num_diffusion_steps)
177
184
  @omni_rewriter = args[:omni_rewriter] if args.key?(:omni_rewriter)
@@ -1423,8 +1430,12 @@ module Google
1423
1430
  class GoogleCloudAiplatformV1Agent
1424
1431
  include Google::Apis::Core::Hashable
1425
1432
 
1426
- # Required. The base agent for the agent. Supported values: * `antigravity-
1427
- # preview-05-2026`
1433
+ # Required. Immutable. The base agent for the agent. Supported values: * `
1434
+ # antigravity-preview-05-2026` Immutable: `UpdateAgent` rejects a change,
1435
+ # including clearing it. The kind of agent this is gets derived from this field
1436
+ # when the agent is created and is recorded then; nothing recomputes it
1437
+ # afterwards, so a later change would leave the agent described as one kind and
1438
+ # behaving as another. Create a new agent instead.
1428
1439
  # Corresponds to the JSON property `base_agent`
1429
1440
  # @return [String]
1430
1441
  attr_accessor :base_agent
@@ -1640,6 +1651,29 @@ module Google
1640
1651
  end
1641
1652
  end
1642
1653
 
1654
+ # Customizes the agent's response to the end user when a `
1655
+ # SemanticGovernancePolicy` is evaluated (for example, with a custom message
1656
+ # shown on denial).
1657
+ class GoogleCloudAiplatformV1AgentResponseCustomization
1658
+ include Google::Apis::Core::Hashable
1659
+
1660
+ # Optional. Custom message shown to the end user when the policy check results
1661
+ # in a denial. Use this to explain the rationale to the user. Max 1000
1662
+ # characters.
1663
+ # Corresponds to the JSON property `denialMessage`
1664
+ # @return [String]
1665
+ attr_accessor :denial_message
1666
+
1667
+ def initialize(**args)
1668
+ update!(**args)
1669
+ end
1670
+
1671
+ # Update properties of this object
1672
+ def update!(**args)
1673
+ @denial_message = args[:denial_message] if args.key?(:denial_message)
1674
+ end
1675
+ end
1676
+
1643
1677
  # A tool provides a list of actions available to the Agent during the process of
1644
1678
  # executing a task.
1645
1679
  class GoogleCloudAiplatformV1AgentTool
@@ -1651,20 +1685,26 @@ module Google
1651
1685
  # @return [Hash<String,String>]
1652
1686
  attr_accessor :headers
1653
1687
 
1654
- # Optional. The name of the MCP server. Only applicable when `type` is `
1655
- # mcp_server`.
1688
+ # Optional. The tool's GCP resource name, used to resolve the tool. Applicable
1689
+ # when `type` is `mcp_server` or `endpoint` (a tool registered in Agent Registry)
1690
+ # , for example `projects/`project`/locations/`location`/.../mcpServers/`id`` or
1691
+ # `projects/`project`/locations/`location`/.../endpoints/`id``.
1656
1692
  # Corresponds to the JSON property `name`
1657
1693
  # @return [String]
1658
1694
  attr_accessor :name
1659
1695
 
1660
1696
  # Required. The type of the tool. Supported types: * `code_execution` * `
1661
- # filesystem` * `google_search` * `mcp_server` * `url_context`
1697
+ # endpoint` * `filesystem` * `google_search` * `mcp_server` * `url_context`
1662
1698
  # Corresponds to the JSON property `type`
1663
1699
  # @return [String]
1664
1700
  attr_accessor :type
1665
1701
 
1666
- # Optional. The URL for the MCP server endpoint. Only applicable when `type` is `
1667
- # mcp_server`.
1702
+ # Optional. Temporary: the tool's runtime reference, consumed by CreateAgent to
1703
+ # create the downstream AI App. Applicable when `type` is `mcp_server` or `
1704
+ # endpoint`. It is duplicated here (the resource name is already in `name`) only
1705
+ # because the Agent service is not yet connected to Agent Registry to derive it
1706
+ # from `name`; the Task Service instead resolves it from Agent Registry (
1707
+ # GetMcpServer / GetEndpoint) at task creation.
1668
1708
  # Corresponds to the JSON property `url`
1669
1709
  # @return [String]
1670
1710
  attr_accessor :url
@@ -2796,6 +2836,35 @@ module Google
2796
2836
  end
2797
2837
  end
2798
2838
 
2839
+ # Request message for SandboxEnvironmentExecutionService.
2840
+ # AuthorizeSandboxEnvironmentAccess.
2841
+ class GoogleCloudAiplatformV1AuthorizeSandboxEnvironmentAccessRequest
2842
+ include Google::Apis::Core::Hashable
2843
+
2844
+ def initialize(**args)
2845
+ update!(**args)
2846
+ end
2847
+
2848
+ # Update properties of this object
2849
+ def update!(**args)
2850
+ end
2851
+ end
2852
+
2853
+ # Response message for SandboxEnvironmentExecutionService.
2854
+ # AuthorizeSandboxEnvironmentAccess. Intentionally empty: a successful response
2855
+ # is the authorization result.
2856
+ class GoogleCloudAiplatformV1AuthorizeSandboxEnvironmentAccessResponse
2857
+ include Google::Apis::Core::Hashable
2858
+
2859
+ def initialize(**args)
2860
+ update!(**args)
2861
+ end
2862
+
2863
+ # Update properties of this object
2864
+ def update!(**args)
2865
+ end
2866
+ end
2867
+
2799
2868
  # A description of resources that to large degree are decided by Agent Platform,
2800
2869
  # and require only a modest additional configuration. Each Model supporting
2801
2870
  # these resources documents its specific guidelines.
@@ -17316,8 +17385,13 @@ module Google
17316
17385
  # @return [String]
17317
17386
  attr_accessor :dns_record
17318
17387
 
17319
- # Optional. FQDN of the private DNS zone to create DNS record set for PSC
17320
- # endpoint.
17388
+ # Optional. Name of the private Cloud DNS managed zone in which to create the
17389
+ # gateway's A-record. This is the managed zone's own name, not its DNS name: for
17390
+ # a zone serving `example.internal.`, this field takes the zone name, such as `
17391
+ # my-private-zone`. The zone's DNS name is combined with a generated per-gateway
17392
+ # label to form the record's fully qualified name, which must stay within the
17393
+ # 255-octet DNS limit. If the full name is too long, gateway provisioning fails
17394
+ # when it attempts to create the DNS record.
17321
17395
  # Corresponds to the JSON property `dnsZoneName`
17322
17396
  # @return [String]
17323
17397
  attr_accessor :dns_zone_name
@@ -18603,6 +18677,11 @@ module Google
18603
18677
  # @return [Float]
18604
18678
  attr_accessor :top_p
18605
18679
 
18680
+ # Config for translation features.
18681
+ # Corresponds to the JSON property `translationConfig`
18682
+ # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1TranslationConfig]
18683
+ attr_accessor :translation_config
18684
+
18606
18685
  def initialize(**args)
18607
18686
  update!(**args)
18608
18687
  end
@@ -18633,6 +18712,7 @@ module Google
18633
18712
  @thinking_config = args[:thinking_config] if args.key?(:thinking_config)
18634
18713
  @top_k = args[:top_k] if args.key?(:top_k)
18635
18714
  @top_p = args[:top_p] if args.key?(:top_p)
18715
+ @translation_config = args[:translation_config] if args.key?(:translation_config)
18636
18716
  end
18637
18717
  end
18638
18718
 
@@ -23763,6 +23843,11 @@ module Google
23763
23843
  class GoogleCloudAiplatformV1Memory
23764
23844
  include Google::Apis::Core::Hashable
23765
23845
 
23846
+ # Optional. Represents the context of the memory.
23847
+ # Corresponds to the JSON property `context`
23848
+ # @return [String]
23849
+ attr_accessor :context
23850
+
23766
23851
  # Output only. Represents the timestamp when this Memory was created.
23767
23852
  # Corresponds to the JSON property `createTime`
23768
23853
  # @return [String]
@@ -23860,6 +23945,7 @@ module Google
23860
23945
 
23861
23946
  # Update properties of this object
23862
23947
  def update!(**args)
23948
+ @context = args[:context] if args.key?(:context)
23863
23949
  @create_time = args[:create_time] if args.key?(:create_time)
23864
23950
  @description = args[:description] if args.key?(:description)
23865
23951
  @disable_memory_revisions = args[:disable_memory_revisions] if args.key?(:disable_memory_revisions)
@@ -24291,6 +24377,12 @@ module Google
24291
24377
  class GoogleCloudAiplatformV1MemoryRevision
24292
24378
  include Google::Apis::Core::Hashable
24293
24379
 
24380
+ # Output only. Represents the context of the Memory Revision. The context may
24381
+ # include context from both the historical revisions and the extracted content.
24382
+ # Corresponds to the JSON property `context`
24383
+ # @return [String]
24384
+ attr_accessor :context
24385
+
24294
24386
  # Output only. Represents the timestamp when this Memory Revision was created.
24295
24387
  # Corresponds to the JSON property `createTime`
24296
24388
  # @return [String]
@@ -24341,6 +24433,7 @@ module Google
24341
24433
 
24342
24434
  # Update properties of this object
24343
24435
  def update!(**args)
24436
+ @context = args[:context] if args.key?(:context)
24344
24437
  @create_time = args[:create_time] if args.key?(:create_time)
24345
24438
  @expire_time = args[:expire_time] if args.key?(:expire_time)
24346
24439
  @extracted_memories = args[:extracted_memories] if args.key?(:extracted_memories)
@@ -29216,8 +29309,8 @@ module Google
29216
29309
  class GoogleCloudAiplatformV1OnlineEvaluatorCloudObservability
29217
29310
  include Google::Apis::Core::Hashable
29218
29311
 
29219
- # Optional. Optional log view that will be used to query logs. If empty, the `
29220
- # _Default` view will be used.
29312
+ # Optional. Optional log view that will be used to query logs. If empty, the
29313
+ # project's default view (`projects/`project_id``) will be used.
29221
29314
  # Corresponds to the JSON property `logView`
29222
29315
  # @return [String]
29223
29316
  attr_accessor :log_view
@@ -29227,6 +29320,12 @@ module Google
29227
29320
  # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1OnlineEvaluatorCloudObservabilityOpenTelemetry]
29228
29321
  attr_accessor :open_telemetry
29229
29322
 
29323
+ # If chosen, the online evaluator will evaluate sessions matching specified `
29324
+ # filter`. A session is a group of traces with a common `gen_ai.conversation.id`.
29325
+ # Corresponds to the JSON property `sessionScope`
29326
+ # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1OnlineEvaluatorCloudObservabilitySessionScope]
29327
+ attr_accessor :session_scope
29328
+
29230
29329
  # If chosen, the online evaluator will evaluate single traces matching specified
29231
29330
  # `filter`.
29232
29331
  # Corresponds to the JSON property `traceScope`
@@ -29234,8 +29333,8 @@ module Google
29234
29333
  attr_accessor :trace_scope
29235
29334
 
29236
29335
  # Optional. Optional trace view that will be used to query traces. If empty, the
29237
- # `_Default` view will be used. NOTE: This field is not supported yet and will
29238
- # be ignored if set.
29336
+ # `_AllSpans` view from `_Trace` US bucket will be used, i.e. `projects/`
29337
+ # project_id`/locations/us/buckets/_Trace/datasets/Spans/views/_AllSpans`.
29239
29338
  # Corresponds to the JSON property `traceView`
29240
29339
  # @return [String]
29241
29340
  attr_accessor :trace_view
@@ -29248,6 +29347,7 @@ module Google
29248
29347
  def update!(**args)
29249
29348
  @log_view = args[:log_view] if args.key?(:log_view)
29250
29349
  @open_telemetry = args[:open_telemetry] if args.key?(:open_telemetry)
29350
+ @session_scope = args[:session_scope] if args.key?(:session_scope)
29251
29351
  @trace_scope = args[:trace_scope] if args.key?(:trace_scope)
29252
29352
  @trace_view = args[:trace_view] if args.key?(:trace_view)
29253
29353
  end
@@ -29298,6 +29398,110 @@ module Google
29298
29398
  end
29299
29399
  end
29300
29400
 
29401
+ # If chosen, the online evaluator will evaluate sessions matching specified `
29402
+ # filter`. A session is a group of traces with a common `gen_ai.conversation.id`.
29403
+ class GoogleCloudAiplatformV1OnlineEvaluatorCloudObservabilitySessionScope
29404
+ include Google::Apis::Core::Hashable
29405
+
29406
+ # Optional. A list of predicates to filter sessions. Multiple predicates are
29407
+ # combined using AND. The maximum number of predicates is 10.
29408
+ # Corresponds to the JSON property `filter`
29409
+ # @return [Array<Google::Apis::AiplatformV1::GoogleCloudAiplatformV1OnlineEvaluatorCloudObservabilitySessionScopePredicate>]
29410
+ attr_accessor :filter
29411
+
29412
+ # Configuration for inactivity based session completion.
29413
+ # Corresponds to the JSON property `inactivityTrigger`
29414
+ # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1OnlineEvaluatorCloudObservabilitySessionScopeInactivityTrigger]
29415
+ attr_accessor :inactivity_trigger
29416
+
29417
+ def initialize(**args)
29418
+ update!(**args)
29419
+ end
29420
+
29421
+ # Update properties of this object
29422
+ def update!(**args)
29423
+ @filter = args[:filter] if args.key?(:filter)
29424
+ @inactivity_trigger = args[:inactivity_trigger] if args.key?(:inactivity_trigger)
29425
+ end
29426
+ end
29427
+
29428
+ # Configuration for inactivity based session completion.
29429
+ class GoogleCloudAiplatformV1OnlineEvaluatorCloudObservabilitySessionScopeInactivityTrigger
29430
+ include Google::Apis::Core::Hashable
29431
+
29432
+ # Required. The amount of time that must pass with no new traces before a
29433
+ # session is considered ready for evaluation. This is a required field if
29434
+ # InactivityTrigger is used. The value must be a positive duration no greater
29435
+ # than 7 days (604800 seconds).
29436
+ # Corresponds to the JSON property `threshold`
29437
+ # @return [String]
29438
+ attr_accessor :threshold
29439
+
29440
+ def initialize(**args)
29441
+ update!(**args)
29442
+ end
29443
+
29444
+ # Update properties of this object
29445
+ def update!(**args)
29446
+ @threshold = args[:threshold] if args.key?(:threshold)
29447
+ end
29448
+ end
29449
+
29450
+ # Defines a single filter predicate.
29451
+ class GoogleCloudAiplatformV1OnlineEvaluatorCloudObservabilitySessionScopePredicate
29452
+ include Google::Apis::Core::Hashable
29453
+
29454
+ # Defines a predicate for filtering based on a numeric value.
29455
+ # Corresponds to the JSON property `duration`
29456
+ # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1OnlineEvaluatorCloudObservabilityNumericPredicate]
29457
+ attr_accessor :duration
29458
+
29459
+ # Defines a predicate for filtering based on a numeric value.
29460
+ # Corresponds to the JSON property `modelCallErrors`
29461
+ # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1OnlineEvaluatorCloudObservabilityNumericPredicate]
29462
+ attr_accessor :model_call_errors
29463
+
29464
+ # Defines a predicate for filtering based on a numeric value.
29465
+ # Corresponds to the JSON property `modelCalls`
29466
+ # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1OnlineEvaluatorCloudObservabilityNumericPredicate]
29467
+ attr_accessor :model_calls
29468
+
29469
+ # Defines a predicate for filtering based on a numeric value.
29470
+ # Corresponds to the JSON property `toolCallErrors`
29471
+ # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1OnlineEvaluatorCloudObservabilityNumericPredicate]
29472
+ attr_accessor :tool_call_errors
29473
+
29474
+ # Defines a predicate for filtering based on a numeric value.
29475
+ # Corresponds to the JSON property `toolCalls`
29476
+ # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1OnlineEvaluatorCloudObservabilityNumericPredicate]
29477
+ attr_accessor :tool_calls
29478
+
29479
+ # Defines a predicate for filtering based on a numeric value.
29480
+ # Corresponds to the JSON property `totalTokenUsage`
29481
+ # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1OnlineEvaluatorCloudObservabilityNumericPredicate]
29482
+ attr_accessor :total_token_usage
29483
+
29484
+ # Defines a predicate for filtering based on a numeric value.
29485
+ # Corresponds to the JSON property `userTurns`
29486
+ # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1OnlineEvaluatorCloudObservabilityNumericPredicate]
29487
+ attr_accessor :user_turns
29488
+
29489
+ def initialize(**args)
29490
+ update!(**args)
29491
+ end
29492
+
29493
+ # Update properties of this object
29494
+ def update!(**args)
29495
+ @duration = args[:duration] if args.key?(:duration)
29496
+ @model_call_errors = args[:model_call_errors] if args.key?(:model_call_errors)
29497
+ @model_calls = args[:model_calls] if args.key?(:model_calls)
29498
+ @tool_call_errors = args[:tool_call_errors] if args.key?(:tool_call_errors)
29499
+ @tool_calls = args[:tool_calls] if args.key?(:tool_calls)
29500
+ @total_token_usage = args[:total_token_usage] if args.key?(:total_token_usage)
29501
+ @user_turns = args[:user_turns] if args.key?(:user_turns)
29502
+ end
29503
+ end
29504
+
29301
29505
  # If chosen, the online evaluator will evaluate single traces matching specified
29302
29506
  # `filter`.
29303
29507
  class GoogleCloudAiplatformV1OnlineEvaluatorCloudObservabilityTraceScope
@@ -33357,6 +33561,16 @@ module Google
33357
33561
  class GoogleCloudAiplatformV1RagChunk
33358
33562
  include Google::Apis::Core::Hashable
33359
33563
 
33564
+ # The ID of the chunk.
33565
+ # Corresponds to the JSON property `chunkId`
33566
+ # @return [String]
33567
+ attr_accessor :chunk_id
33568
+
33569
+ # The ID of the file that the chunk belongs to.
33570
+ # Corresponds to the JSON property `fileId`
33571
+ # @return [String]
33572
+ attr_accessor :file_id
33573
+
33360
33574
  # Represents where the chunk starts and ends in the document.
33361
33575
  # Corresponds to the JSON property `pageSpan`
33362
33576
  # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1RagChunkPageSpan]
@@ -33373,6 +33587,8 @@ module Google
33373
33587
 
33374
33588
  # Update properties of this object
33375
33589
  def update!(**args)
33590
+ @chunk_id = args[:chunk_id] if args.key?(:chunk_id)
33591
+ @file_id = args[:file_id] if args.key?(:file_id)
33376
33592
  @page_span = args[:page_span] if args.key?(:page_span)
33377
33593
  @text = args[:text] if args.key?(:text)
33378
33594
  end
@@ -34409,6 +34625,35 @@ module Google
34409
34625
  end
34410
34626
  end
34411
34627
 
34628
+ # Ray cluster level autoscaling configuration.
34629
+ class GoogleCloudAiplatformV1RayClusterAutoscalingSpec
34630
+ include Google::Apis::Core::Hashable
34631
+
34632
+ # Optional. The number of minutes that need to pass before an idle worker node
34633
+ # is removed by the autoscaler. Default is 5 mins.
34634
+ # Corresponds to the JSON property `idleTimeoutMinutes`
34635
+ # @return [Fixnum]
34636
+ attr_accessor :idle_timeout_minutes
34637
+
34638
+ # Optional. The number of nodes allowed to be pending as a multiple of the
34639
+ # current number of nodes. [OSS Ray reference](https://docs.ray.io/en/latest/
34640
+ # cluster/vms/user-guides/configuring-autoscaling.html#upscaling-and-downscaling-
34641
+ # speed)
34642
+ # Corresponds to the JSON property `upscalingSpeed`
34643
+ # @return [Fixnum]
34644
+ attr_accessor :upscaling_speed
34645
+
34646
+ def initialize(**args)
34647
+ update!(**args)
34648
+ end
34649
+
34650
+ # Update properties of this object
34651
+ def update!(**args)
34652
+ @idle_timeout_minutes = args[:idle_timeout_minutes] if args.key?(:idle_timeout_minutes)
34653
+ @upscaling_speed = args[:upscaling_speed] if args.key?(:upscaling_speed)
34654
+ end
34655
+ end
34656
+
34412
34657
  # Configuration for the Ray OSS Logs.
34413
34658
  class GoogleCloudAiplatformV1RayLogsSpec
34414
34659
  include Google::Apis::Core::Hashable
@@ -34439,6 +34684,14 @@ module Google
34439
34684
  attr_accessor :disabled
34440
34685
  alias_method :disabled?, :disabled
34441
34686
 
34687
+ # Optional. Flag to enable the Ray usage stats collection by Anyscale. https://
34688
+ # docs.ray.io/en/latest/cluster/usage-stats.html#usage-stats-collection Disable
34689
+ # by default.
34690
+ # Corresponds to the JSON property `enableUsageStatsCollection`
34691
+ # @return [Boolean]
34692
+ attr_accessor :enable_usage_stats_collection
34693
+ alias_method :enable_usage_stats_collection?, :enable_usage_stats_collection
34694
+
34442
34695
  def initialize(**args)
34443
34696
  update!(**args)
34444
34697
  end
@@ -34446,6 +34699,7 @@ module Google
34446
34699
  # Update properties of this object
34447
34700
  def update!(**args)
34448
34701
  @disabled = args[:disabled] if args.key?(:disabled)
34702
+ @enable_usage_stats_collection = args[:enable_usage_stats_collection] if args.key?(:enable_usage_stats_collection)
34449
34703
  end
34450
34704
  end
34451
34705
 
@@ -34472,6 +34726,11 @@ module Google
34472
34726
  # @return [String]
34473
34727
  attr_accessor :image_uri
34474
34728
 
34729
+ # Ray cluster level autoscaling configuration.
34730
+ # Corresponds to the JSON property `rayClusterAutoscalingSpec`
34731
+ # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1RayClusterAutoscalingSpec]
34732
+ attr_accessor :ray_cluster_autoscaling_spec
34733
+
34475
34734
  # Configuration for the Ray OSS Logs.
34476
34735
  # Corresponds to the JSON property `rayLogsSpec`
34477
34736
  # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1RayLogsSpec]
@@ -34499,6 +34758,7 @@ module Google
34499
34758
  def update!(**args)
34500
34759
  @head_node_resource_pool_id = args[:head_node_resource_pool_id] if args.key?(:head_node_resource_pool_id)
34501
34760
  @image_uri = args[:image_uri] if args.key?(:image_uri)
34761
+ @ray_cluster_autoscaling_spec = args[:ray_cluster_autoscaling_spec] if args.key?(:ray_cluster_autoscaling_spec)
34502
34762
  @ray_logs_spec = args[:ray_logs_spec] if args.key?(:ray_logs_spec)
34503
34763
  @ray_metric_spec = args[:ray_metric_spec] if args.key?(:ray_metric_spec)
34504
34764
  @resource_pool_images = args[:resource_pool_images] if args.key?(:resource_pool_images)
@@ -37472,6 +37732,11 @@ module Google
37472
37732
  # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1SandboxEnvironmentSpecCodeExecutionEnvironment]
37473
37733
  attr_accessor :code_execution_environment
37474
37734
 
37735
+ # The shell environment.
37736
+ # Corresponds to the JSON property `shellEnvironment`
37737
+ # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1SandboxEnvironmentSpecShellEnvironment]
37738
+ attr_accessor :shell_environment
37739
+
37475
37740
  def initialize(**args)
37476
37741
  update!(**args)
37477
37742
  end
@@ -37479,6 +37744,7 @@ module Google
37479
37744
  # Update properties of this object
37480
37745
  def update!(**args)
37481
37746
  @code_execution_environment = args[:code_execution_environment] if args.key?(:code_execution_environment)
37747
+ @shell_environment = args[:shell_environment] if args.key?(:shell_environment)
37482
37748
  end
37483
37749
  end
37484
37750
 
@@ -37507,6 +37773,19 @@ module Google
37507
37773
  end
37508
37774
  end
37509
37775
 
37776
+ # The shell environment.
37777
+ class GoogleCloudAiplatformV1SandboxEnvironmentSpecShellEnvironment
37778
+ include Google::Apis::Core::Hashable
37779
+
37780
+ def initialize(**args)
37781
+ update!(**args)
37782
+ end
37783
+
37784
+ # Update properties of this object
37785
+ def update!(**args)
37786
+ end
37787
+ end
37788
+
37510
37789
  # The specification of a SandboxEnvironmentTemplate. A
37511
37790
  # SandboxEnvironmentTemplate defines a template for creating SandboxEnvironments.
37512
37791
  class GoogleCloudAiplatformV1SandboxEnvironmentTemplate
@@ -37661,11 +37940,6 @@ module Google
37661
37940
  class GoogleCloudAiplatformV1SandboxEnvironmentTemplateEgressControlConfig
37662
37941
  include Google::Apis::Core::Hashable
37663
37942
 
37664
- # Optional. The customer VPC network that sandbox egress is routed into.
37665
- # Corresponds to the JSON property `customerVpcNetwork`
37666
- # @return [String]
37667
- attr_accessor :customer_vpc_network
37668
-
37669
37943
  # Optional. DNS peering configurations that allow sandbox egress to resolve
37670
37944
  # customer-internal domains via the customer VPC.
37671
37945
  # Corresponds to the JSON property `dnsPeeringConfigs`
@@ -37690,7 +37964,6 @@ module Google
37690
37964
 
37691
37965
  # Update properties of this object
37692
37966
  def update!(**args)
37693
- @customer_vpc_network = args[:customer_vpc_network] if args.key?(:customer_vpc_network)
37694
37967
  @dns_peering_configs = args[:dns_peering_configs] if args.key?(:dns_peering_configs)
37695
37968
  @internet_access = args[:internet_access] if args.key?(:internet_access)
37696
37969
  @network_attachment = args[:network_attachment] if args.key?(:network_attachment)
@@ -41072,6 +41345,13 @@ module Google
41072
41345
  # @return [String]
41073
41346
  attr_accessor :code_repository_state
41074
41347
 
41348
+ # Optional. The Cloud Run regions in which the application is currently deployed.
41349
+ # Used to rediscover and redeploy the app in the regions it already runs in,
41350
+ # which may differ from the prompt's location.
41351
+ # Corresponds to the JSON property `deployedRegions`
41352
+ # @return [Array<String>]
41353
+ attr_accessor :deployed_regions
41354
+
41075
41355
  # Optional. Framework used to build the application.
41076
41356
  # Corresponds to the JSON property `framework`
41077
41357
  # @return [String]
@@ -41089,6 +41369,7 @@ module Google
41089
41369
  # Update properties of this object
41090
41370
  def update!(**args)
41091
41371
  @code_repository_state = args[:code_repository_state] if args.key?(:code_repository_state)
41372
+ @deployed_regions = args[:deployed_regions] if args.key?(:deployed_regions)
41092
41373
  @framework = args[:framework] if args.key?(:framework)
41093
41374
  @linked_resources = args[:linked_resources] if args.key?(:linked_resources)
41094
41375
  end
@@ -45501,6 +45782,13 @@ module Google
45501
45782
  # @return [String]
45502
45783
  attr_accessor :agent_identity
45503
45784
 
45785
+ # Customizes the agent's response to the end user when a `
45786
+ # SemanticGovernancePolicy` is evaluated (for example, with a custom message
45787
+ # shown on denial).
45788
+ # Corresponds to the JSON property `agentResponseCustomization`
45789
+ # @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1AgentResponseCustomization]
45790
+ attr_accessor :agent_response_customization
45791
+
45504
45792
  # Output only. Timestamp when this SemanticGovernancePolicy was created.
45505
45793
  # Corresponds to the JSON property `createTime`
45506
45794
  # @return [String]
@@ -45551,6 +45839,7 @@ module Google
45551
45839
  def update!(**args)
45552
45840
  @agent = args[:agent] if args.key?(:agent)
45553
45841
  @agent_identity = args[:agent_identity] if args.key?(:agent_identity)
45842
+ @agent_response_customization = args[:agent_response_customization] if args.key?(:agent_response_customization)
45554
45843
  @create_time = args[:create_time] if args.key?(:create_time)
45555
45844
  @description = args[:description] if args.key?(:description)
45556
45845
  @display_name = args[:display_name] if args.key?(:display_name)
@@ -50585,6 +50874,35 @@ module Google
50585
50874
  end
50586
50875
  end
50587
50876
 
50877
+ # Config for translation features.
50878
+ class GoogleCloudAiplatformV1TranslationConfig
50879
+ include Google::Apis::Core::Hashable
50880
+
50881
+ # Optional. If `true`, the model will generate audio when the target language is
50882
+ # spoken, essentially it will parrot the input. If `false`, we will not produce
50883
+ # audio for the target language.
50884
+ # Corresponds to the JSON property `echoTargetLanguage`
50885
+ # @return [Boolean]
50886
+ attr_accessor :echo_target_language
50887
+ alias_method :echo_target_language?, :echo_target_language
50888
+
50889
+ # Required. The target language for translation. Supported values are BCP-47
50890
+ # language codes (e.g. "en", "es", "fr").
50891
+ # Corresponds to the JSON property `targetLanguageCode`
50892
+ # @return [String]
50893
+ attr_accessor :target_language_code
50894
+
50895
+ def initialize(**args)
50896
+ update!(**args)
50897
+ end
50898
+
50899
+ # Update properties of this object
50900
+ def update!(**args)
50901
+ @echo_target_language = args[:echo_target_language] if args.key?(:echo_target_language)
50902
+ @target_language_code = args[:target_language_code] if args.key?(:target_language_code)
50903
+ end
50904
+ end
50905
+
50588
50906
  # A message representing a Trial. A Trial contains a unique set of Parameters
50589
50907
  # that has been or will be evaluated, along with the objective metrics got by
50590
50908
  # 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.93.0"
19
+ GEM_VERSION = "0.95.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 = "20260808"
25
+ REVISION = "20260831"
26
26
  end
27
27
  end
28
28
  end