google-apis-aiplatform_v1 0.62.0 → 0.63.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: 618c320859c35d3e070c9b6c390291c1f920187bd2216378ac25ae420dbe64b6
|
4
|
+
data.tar.gz: 6e81d9d0dad38a367d211a5f27e65c185560f44b818a11aead3fccabf62737ff
|
5
5
|
SHA512:
|
6
|
-
metadata.gz:
|
7
|
-
data.tar.gz:
|
6
|
+
metadata.gz: e0ef0962ef27be536f95b91402602731162dc89e797d3e8faabd83ea2ac383b237dbb5ce2e2c88ddaff532633f4ce92d09d36432586309beb9bbf5e603777162
|
7
|
+
data.tar.gz: fc795d13fa13fd076e7a1ea94c3a16e784d501b258d127c4b0adbd34643b25fde9d96b90c24a684aea5faceb248723ca09b2a9ec9edd7021ea6347a4ca2f8345
|
data/CHANGELOG.md
CHANGED
@@ -6308,12 +6308,26 @@ module Google
|
|
6308
6308
|
class GoogleCloudAiplatformV1DeployRequestEndpointConfig
|
6309
6309
|
include Google::Apis::Core::Hashable
|
6310
6310
|
|
6311
|
-
# Optional.
|
6312
|
-
#
|
6313
|
-
# isolated from other users' traffic and
|
6314
|
-
# reliability. Note: Once you enabled dedicated
|
6315
|
-
# send request to the shared DNS `region`-
|
6316
|
-
# limitations will be removed soon.
|
6311
|
+
# Optional. By default, if dedicated endpoint is enabled, the endpoint will be
|
6312
|
+
# exposed through a dedicated DNS [Endpoint.dedicated_endpoint_dns]. Your
|
6313
|
+
# request to the dedicated DNS will be isolated from other users' traffic and
|
6314
|
+
# will have better performance and reliability. Note: Once you enabled dedicated
|
6315
|
+
# endpoint, you won't be able to send request to the shared DNS `region`-
|
6316
|
+
# aiplatform.googleapis.com. The limitations will be removed soon. If this field
|
6317
|
+
# is set to true, the dedicated endpoint will be disabled and the deployed model
|
6318
|
+
# will be exposed through the shared DNS `region`-aiplatform.googleapis.com.
|
6319
|
+
# Corresponds to the JSON property `dedicatedEndpointDisabled`
|
6320
|
+
# @return [Boolean]
|
6321
|
+
attr_accessor :dedicated_endpoint_disabled
|
6322
|
+
alias_method :dedicated_endpoint_disabled?, :dedicated_endpoint_disabled
|
6323
|
+
|
6324
|
+
# Optional. Deprecated. Use dedicated_endpoint_disabled instead. If true, the
|
6325
|
+
# endpoint will be exposed through a dedicated DNS [Endpoint.
|
6326
|
+
# dedicated_endpoint_dns]. Your request to the dedicated DNS will be isolated
|
6327
|
+
# from other users' traffic and will have better performance and reliability.
|
6328
|
+
# Note: Once you enabled dedicated endpoint, you won't be able to send request
|
6329
|
+
# to the shared DNS `region`-aiplatform.googleapis.com. The limitations will be
|
6330
|
+
# removed soon.
|
6317
6331
|
# Corresponds to the JSON property `dedicatedEndpointEnabled`
|
6318
6332
|
# @return [Boolean]
|
6319
6333
|
attr_accessor :dedicated_endpoint_enabled
|
@@ -6325,14 +6339,29 @@ module Google
|
|
6325
6339
|
# @return [String]
|
6326
6340
|
attr_accessor :endpoint_display_name
|
6327
6341
|
|
6342
|
+
# Optional. Immutable. The ID to use for endpoint, which will become the final
|
6343
|
+
# component of the endpoint resource name. If not provided, Vertex AI will
|
6344
|
+
# generate a value for this ID. If the first character is a letter, this value
|
6345
|
+
# may be up to 63 characters, and valid characters are `[a-z0-9-]`. The last
|
6346
|
+
# character must be a letter or number. If the first character is a number, this
|
6347
|
+
# value may be up to 9 characters, and valid characters are `[0-9]` with no
|
6348
|
+
# leading zeros. When using HTTP/JSON, this field is populated based on a query
|
6349
|
+
# string argument, such as `?endpoint_id=12345`. This is the fallback for fields
|
6350
|
+
# that are not included in either the URI or the body.
|
6351
|
+
# Corresponds to the JSON property `endpointUserId`
|
6352
|
+
# @return [String]
|
6353
|
+
attr_accessor :endpoint_user_id
|
6354
|
+
|
6328
6355
|
def initialize(**args)
|
6329
6356
|
update!(**args)
|
6330
6357
|
end
|
6331
6358
|
|
6332
6359
|
# Update properties of this object
|
6333
6360
|
def update!(**args)
|
6361
|
+
@dedicated_endpoint_disabled = args[:dedicated_endpoint_disabled] if args.key?(:dedicated_endpoint_disabled)
|
6334
6362
|
@dedicated_endpoint_enabled = args[:dedicated_endpoint_enabled] if args.key?(:dedicated_endpoint_enabled)
|
6335
6363
|
@endpoint_display_name = args[:endpoint_display_name] if args.key?(:endpoint_display_name)
|
6364
|
+
@endpoint_user_id = args[:endpoint_user_id] if args.key?(:endpoint_user_id)
|
6336
6365
|
end
|
6337
6366
|
end
|
6338
6367
|
|
@@ -12740,6 +12769,11 @@ module Google
|
|
12740
12769
|
# @return [Hash<String,String>]
|
12741
12770
|
attr_accessor :labels
|
12742
12771
|
|
12772
|
+
# Configuration for Model Armor integrations of prompt and responses.
|
12773
|
+
# Corresponds to the JSON property `modelArmorConfig`
|
12774
|
+
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ModelArmorConfig]
|
12775
|
+
attr_accessor :model_armor_config
|
12776
|
+
|
12743
12777
|
# Optional. Per request settings for blocking unsafe content. Enforced on
|
12744
12778
|
# GenerateContentResponse.candidates.
|
12745
12779
|
# Corresponds to the JSON property `safetySettings`
|
@@ -12777,6 +12811,7 @@ module Google
|
|
12777
12811
|
@contents = args[:contents] if args.key?(:contents)
|
12778
12812
|
@generation_config = args[:generation_config] if args.key?(:generation_config)
|
12779
12813
|
@labels = args[:labels] if args.key?(:labels)
|
12814
|
+
@model_armor_config = args[:model_armor_config] if args.key?(:model_armor_config)
|
12780
12815
|
@safety_settings = args[:safety_settings] if args.key?(:safety_settings)
|
12781
12816
|
@system_instruction = args[:system_instruction] if args.key?(:system_instruction)
|
12782
12817
|
@tool_config = args[:tool_config] if args.key?(:tool_config)
|
@@ -13698,6 +13733,12 @@ module Google
|
|
13698
13733
|
class GoogleCloudAiplatformV1GroundingChunkRetrievedContext
|
13699
13734
|
include Google::Apis::Core::Hashable
|
13700
13735
|
|
13736
|
+
# Output only. The full document name for the referenced Vertex AI Search
|
13737
|
+
# document.
|
13738
|
+
# Corresponds to the JSON property `documentName`
|
13739
|
+
# @return [String]
|
13740
|
+
attr_accessor :document_name
|
13741
|
+
|
13701
13742
|
# A RagChunk includes the content of a chunk of a RagFile, and associated
|
13702
13743
|
# metadata.
|
13703
13744
|
# Corresponds to the JSON property `ragChunk`
|
@@ -13725,6 +13766,7 @@ module Google
|
|
13725
13766
|
|
13726
13767
|
# Update properties of this object
|
13727
13768
|
def update!(**args)
|
13769
|
+
@document_name = args[:document_name] if args.key?(:document_name)
|
13728
13770
|
@rag_chunk = args[:rag_chunk] if args.key?(:rag_chunk)
|
13729
13771
|
@text = args[:text] if args.key?(:text)
|
13730
13772
|
@title = args[:title] if args.key?(:title)
|
@@ -18001,6 +18043,32 @@ module Google
|
|
18001
18043
|
end
|
18002
18044
|
end
|
18003
18045
|
|
18046
|
+
# Configuration for Model Armor integrations of prompt and responses.
|
18047
|
+
class GoogleCloudAiplatformV1ModelArmorConfig
|
18048
|
+
include Google::Apis::Core::Hashable
|
18049
|
+
|
18050
|
+
# Optional. The name of the Model Armor template to use for prompt sanitization.
|
18051
|
+
# Corresponds to the JSON property `promptTemplateName`
|
18052
|
+
# @return [String]
|
18053
|
+
attr_accessor :prompt_template_name
|
18054
|
+
|
18055
|
+
# Optional. The name of the Model Armor template to use for response
|
18056
|
+
# sanitization.
|
18057
|
+
# Corresponds to the JSON property `responseTemplateName`
|
18058
|
+
# @return [String]
|
18059
|
+
attr_accessor :response_template_name
|
18060
|
+
|
18061
|
+
def initialize(**args)
|
18062
|
+
update!(**args)
|
18063
|
+
end
|
18064
|
+
|
18065
|
+
# Update properties of this object
|
18066
|
+
def update!(**args)
|
18067
|
+
@prompt_template_name = args[:prompt_template_name] if args.key?(:prompt_template_name)
|
18068
|
+
@response_template_name = args[:response_template_name] if args.key?(:response_template_name)
|
18069
|
+
end
|
18070
|
+
end
|
18071
|
+
|
18004
18072
|
# User input field to specify the base model source. Currently it only supports
|
18005
18073
|
# specifing the Model Garden models and Genie models.
|
18006
18074
|
class GoogleCloudAiplatformV1ModelBaseModelSource
|
@@ -26315,6 +26383,12 @@ module Google
|
|
26315
26383
|
class GoogleCloudAiplatformV1ReasoningEngineSpecDeploymentSpec
|
26316
26384
|
include Google::Apis::Core::Hashable
|
26317
26385
|
|
26386
|
+
# Optional. Concurrency for each container and agent server. Recommended value:
|
26387
|
+
# 2 * cpu + 1. Defaults to 9.
|
26388
|
+
# Corresponds to the JSON property `containerConcurrency`
|
26389
|
+
# @return [Fixnum]
|
26390
|
+
attr_accessor :container_concurrency
|
26391
|
+
|
26318
26392
|
# Optional. Environment variables to be set with the Reasoning Engine deployment.
|
26319
26393
|
# The environment variables can be updated through the UpdateReasoningEngine
|
26320
26394
|
# API.
|
@@ -26322,6 +26396,32 @@ module Google
|
|
26322
26396
|
# @return [Array<Google::Apis::AiplatformV1::GoogleCloudAiplatformV1EnvVar>]
|
26323
26397
|
attr_accessor :env
|
26324
26398
|
|
26399
|
+
# Optional. The maximum number of application instances that can be launched to
|
26400
|
+
# handle increased traffic. Defaults to 100.
|
26401
|
+
# Corresponds to the JSON property `maxInstances`
|
26402
|
+
# @return [Fixnum]
|
26403
|
+
attr_accessor :max_instances
|
26404
|
+
|
26405
|
+
# Optional. The minimum number of application instances that will be kept
|
26406
|
+
# running at all times. Defaults to 1.
|
26407
|
+
# Corresponds to the JSON property `minInstances`
|
26408
|
+
# @return [Fixnum]
|
26409
|
+
attr_accessor :min_instances
|
26410
|
+
|
26411
|
+
# Configuration for PSC-I.
|
26412
|
+
# Corresponds to the JSON property `pscInterfaceConfig`
|
26413
|
+
# @return [Google::Apis::AiplatformV1::GoogleCloudAiplatformV1PscInterfaceConfig]
|
26414
|
+
attr_accessor :psc_interface_config
|
26415
|
+
|
26416
|
+
# Optional. Resource limits for each container. Only 'cpu' and 'memory' keys are
|
26417
|
+
# supported. Defaults to `"cpu": "4", "memory": "4Gi"`. * The only supported
|
26418
|
+
# values for CPU are '1', '2', '4', and '8'. For more information, go to https://
|
26419
|
+
# cloud.google.com/run/docs/configuring/cpu. * For supported 'memory' values and
|
26420
|
+
# syntax, go to https://cloud.google.com/run/docs/configuring/memory-limits
|
26421
|
+
# Corresponds to the JSON property `resourceLimits`
|
26422
|
+
# @return [Hash<String,String>]
|
26423
|
+
attr_accessor :resource_limits
|
26424
|
+
|
26325
26425
|
# Optional. Environment variables where the value is a secret in Cloud Secret
|
26326
26426
|
# Manager. To use this feature, add 'Secret Manager Secret Accessor' role (roles/
|
26327
26427
|
# secretmanager.secretAccessor) to AI Platform Reasoning Engine Service Agent.
|
@@ -26335,7 +26435,12 @@ module Google
|
|
26335
26435
|
|
26336
26436
|
# Update properties of this object
|
26337
26437
|
def update!(**args)
|
26438
|
+
@container_concurrency = args[:container_concurrency] if args.key?(:container_concurrency)
|
26338
26439
|
@env = args[:env] if args.key?(:env)
|
26440
|
+
@max_instances = args[:max_instances] if args.key?(:max_instances)
|
26441
|
+
@min_instances = args[:min_instances] if args.key?(:min_instances)
|
26442
|
+
@psc_interface_config = args[:psc_interface_config] if args.key?(:psc_interface_config)
|
26443
|
+
@resource_limits = args[:resource_limits] if args.key?(:resource_limits)
|
26339
26444
|
@secret_env = args[:secret_env] if args.key?(:secret_env)
|
26340
26445
|
end
|
26341
26446
|
end
|
@@ -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.63.0"
|
20
20
|
|
21
21
|
# Version of the code generator used to generate this client
|
22
22
|
GENERATOR_VERSION = "0.18.0"
|
23
23
|
|
24
24
|
# Revision of the discovery document this client was generated from
|
25
|
-
REVISION = "
|
25
|
+
REVISION = "20250806"
|
26
26
|
end
|
27
27
|
end
|
28
28
|
end
|
@@ -2974,6 +2974,12 @@ module Google
|
|
2974
2974
|
include Google::Apis::Core::JsonObjectSupport
|
2975
2975
|
end
|
2976
2976
|
|
2977
|
+
class GoogleCloudAiplatformV1ModelArmorConfig
|
2978
|
+
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2979
|
+
|
2980
|
+
include Google::Apis::Core::JsonObjectSupport
|
2981
|
+
end
|
2982
|
+
|
2977
2983
|
class GoogleCloudAiplatformV1ModelBaseModelSource
|
2978
2984
|
class Representation < Google::Apis::Core::JsonRepresentation; end
|
2979
2985
|
|
@@ -8872,8 +8878,10 @@ module Google
|
|
8872
8878
|
class GoogleCloudAiplatformV1DeployRequestEndpointConfig
|
8873
8879
|
# @private
|
8874
8880
|
class Representation < Google::Apis::Core::JsonRepresentation
|
8881
|
+
property :dedicated_endpoint_disabled, as: 'dedicatedEndpointDisabled'
|
8875
8882
|
property :dedicated_endpoint_enabled, as: 'dedicatedEndpointEnabled'
|
8876
8883
|
property :endpoint_display_name, as: 'endpointDisplayName'
|
8884
|
+
property :endpoint_user_id, as: 'endpointUserId'
|
8877
8885
|
end
|
8878
8886
|
end
|
8879
8887
|
|
@@ -10632,6 +10640,8 @@ module Google
|
|
10632
10640
|
property :generation_config, as: 'generationConfig', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1GenerationConfig, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1GenerationConfig::Representation
|
10633
10641
|
|
10634
10642
|
hash :labels, as: 'labels'
|
10643
|
+
property :model_armor_config, as: 'modelArmorConfig', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ModelArmorConfig, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1ModelArmorConfig::Representation
|
10644
|
+
|
10635
10645
|
collection :safety_settings, as: 'safetySettings', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1SafetySetting, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1SafetySetting::Representation
|
10636
10646
|
|
10637
10647
|
property :system_instruction, as: 'systemInstruction', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Content, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1Content::Representation
|
@@ -10914,6 +10924,7 @@ module Google
|
|
10914
10924
|
class GoogleCloudAiplatformV1GroundingChunkRetrievedContext
|
10915
10925
|
# @private
|
10916
10926
|
class Representation < Google::Apis::Core::JsonRepresentation
|
10927
|
+
property :document_name, as: 'documentName'
|
10917
10928
|
property :rag_chunk, as: 'ragChunk', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1RagChunk, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1RagChunk::Representation
|
10918
10929
|
|
10919
10930
|
property :text, as: 'text'
|
@@ -12164,6 +12175,14 @@ module Google
|
|
12164
12175
|
end
|
12165
12176
|
end
|
12166
12177
|
|
12178
|
+
class GoogleCloudAiplatformV1ModelArmorConfig
|
12179
|
+
# @private
|
12180
|
+
class Representation < Google::Apis::Core::JsonRepresentation
|
12181
|
+
property :prompt_template_name, as: 'promptTemplateName'
|
12182
|
+
property :response_template_name, as: 'responseTemplateName'
|
12183
|
+
end
|
12184
|
+
end
|
12185
|
+
|
12167
12186
|
class GoogleCloudAiplatformV1ModelBaseModelSource
|
12168
12187
|
# @private
|
12169
12188
|
class Representation < Google::Apis::Core::JsonRepresentation
|
@@ -14504,8 +14523,14 @@ module Google
|
|
14504
14523
|
class GoogleCloudAiplatformV1ReasoningEngineSpecDeploymentSpec
|
14505
14524
|
# @private
|
14506
14525
|
class Representation < Google::Apis::Core::JsonRepresentation
|
14526
|
+
property :container_concurrency, as: 'containerConcurrency'
|
14507
14527
|
collection :env, as: 'env', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1EnvVar, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1EnvVar::Representation
|
14508
14528
|
|
14529
|
+
property :max_instances, as: 'maxInstances'
|
14530
|
+
property :min_instances, as: 'minInstances'
|
14531
|
+
property :psc_interface_config, as: 'pscInterfaceConfig', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1PscInterfaceConfig, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1PscInterfaceConfig::Representation
|
14532
|
+
|
14533
|
+
hash :resource_limits, as: 'resourceLimits'
|
14509
14534
|
collection :secret_env, as: 'secretEnv', class: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1SecretEnvVar, decorator: Google::Apis::AiplatformV1::GoogleCloudAiplatformV1SecretEnvVar::Representation
|
14510
14535
|
|
14511
14536
|
end
|
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.63.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.63.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:
|