google-cloud-ai_platform-v1 1.19.0 → 1.20.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +4 -4
- data/lib/google/cloud/ai_platform/v1/endpoint_service/client.rb +5 -3
- data/lib/google/cloud/ai_platform/v1/endpoint_service/rest/client.rb +5 -3
- data/lib/google/cloud/ai_platform/v1/feature_online_store_service/client.rb +87 -0
- data/lib/google/cloud/ai_platform/v1/featurestore_service/client.rb +0 -1
- data/lib/google/cloud/ai_platform/v1/featurestore_service/rest/client.rb +0 -1
- data/lib/google/cloud/ai_platform/v1/prediction_service/client.rb +8 -2
- data/lib/google/cloud/ai_platform/v1/prediction_service/paths.rb +19 -0
- data/lib/google/cloud/ai_platform/v1/prediction_service/rest/client.rb +8 -2
- data/lib/google/cloud/ai_platform/v1/reasoning_engine_service/paths.rb +19 -0
- data/lib/google/cloud/ai_platform/v1/version.rb +1 -1
- data/lib/google/cloud/aiplatform/v1/accelerator_type_pb.rb +1 -1
- data/lib/google/cloud/aiplatform/v1/content_pb.rb +4 -1
- data/lib/google/cloud/aiplatform/v1/deployment_stage_pb.rb +42 -0
- data/lib/google/cloud/aiplatform/v1/endpoint_service_pb.rb +2 -1
- data/lib/google/cloud/aiplatform/v1/endpoint_service_services_pb.rb +3 -3
- data/lib/google/cloud/aiplatform/v1/feature_online_store_service_pb.rb +10 -1
- data/lib/google/cloud/aiplatform/v1/feature_online_store_service_services_pb.rb +4 -0
- data/lib/google/cloud/aiplatform/v1/index_endpoint_pb.rb +1 -1
- data/lib/google/cloud/aiplatform/v1/index_pb.rb +1 -1
- data/lib/google/cloud/aiplatform/v1/model_garden_service_pb.rb +1 -1
- data/lib/google/cloud/aiplatform/v1/prediction_service_pb.rb +1 -1
- data/lib/google/cloud/aiplatform/v1/reasoning_engine_pb.rb +5 -1
- data/lib/google/cloud/aiplatform/v1/tool_pb.rb +2 -1
- data/proto_docs/google/cloud/aiplatform/v1/accelerator_type.rb +3 -0
- data/proto_docs/google/cloud/aiplatform/v1/content.rb +59 -13
- data/proto_docs/google/cloud/aiplatform/v1/deployment_stage.rb +56 -0
- data/proto_docs/google/cloud/aiplatform/v1/endpoint_service.rb +9 -0
- data/proto_docs/google/cloud/aiplatform/v1/feature_online_store_service.rb +81 -0
- data/proto_docs/google/cloud/aiplatform/v1/featurestore_online_service.rb +5 -3
- data/proto_docs/google/cloud/aiplatform/v1/featurestore_service.rb +0 -1
- data/proto_docs/google/cloud/aiplatform/v1/index.rb +3 -0
- data/proto_docs/google/cloud/aiplatform/v1/index_endpoint.rb +12 -0
- data/proto_docs/google/cloud/aiplatform/v1/model_garden_service.rb +46 -5
- data/proto_docs/google/cloud/aiplatform/v1/prediction_service.rb +7 -0
- data/proto_docs/google/cloud/aiplatform/v1/reasoning_engine.rb +46 -1
- data/proto_docs/google/cloud/aiplatform/v1/tool.rb +19 -0
- metadata +3 -1
@@ -152,6 +152,9 @@ module Google
|
|
152
152
|
# @return [::Google::Cloud::AIPlatform::V1::IndexDatapoint::CrowdingTag]
|
153
153
|
# Optional. CrowdingTag of the datapoint, the number of neighbors to return
|
154
154
|
# in each crowding can be configured during query.
|
155
|
+
# @!attribute [rw] embedding_metadata
|
156
|
+
# @return [::Google::Protobuf::Struct]
|
157
|
+
# Optional. The key-value map of additional metadata for the datapoint.
|
155
158
|
class IndexDatapoint
|
156
159
|
include ::Google::Protobuf::MessageExts
|
157
160
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -208,6 +208,18 @@ module Google
|
|
208
208
|
# Note that logs may incur a cost, especially if the deployed
|
209
209
|
# index receives a high queries per second rate (QPS).
|
210
210
|
# Estimate your costs before enabling this option.
|
211
|
+
# @!attribute [rw] enable_datapoint_upsert_logging
|
212
|
+
# @return [::Boolean]
|
213
|
+
# Optional. If true, logs to Cloud Logging errors relating to datapoint
|
214
|
+
# upserts.
|
215
|
+
#
|
216
|
+
# Under normal operation conditions, these log entries should be very rare.
|
217
|
+
# However, if incompatible datapoint updates are being uploaded to an index,
|
218
|
+
# a high volume of log entries may be generated in a short period of time.
|
219
|
+
#
|
220
|
+
# Note that logs may incur a cost, especially if the deployed index receives
|
221
|
+
# a high volume of datapoint upserts. Estimate your costs before enabling
|
222
|
+
# this option.
|
211
223
|
# @!attribute [rw] deployed_index_auth_config
|
212
224
|
# @return [::Google::Cloud::AIPlatform::V1::DeployedIndexAuthConfig]
|
213
225
|
# Optional. If set, the authentication is enabled for the private endpoint.
|
@@ -105,6 +105,15 @@ module Google
|
|
105
105
|
# @return [::Google::Cloud::AIPlatform::V1::ModelContainerSpec]
|
106
106
|
# Optional. The specification of the container that is to be used when
|
107
107
|
# deploying. If not set, the default container spec will be used.
|
108
|
+
# @!attribute [rw] model_user_id
|
109
|
+
# @return [::String]
|
110
|
+
# Optional. The ID to use for the uploaded Model, which will become the
|
111
|
+
# final component of the model resource name. When not provided, Vertex AI
|
112
|
+
# will generate a value for this ID. When Model Registry model is provided,
|
113
|
+
# this field will be ignored.
|
114
|
+
#
|
115
|
+
# This value may be up to 63 characters, and valid characters are
|
116
|
+
# `[a-z0-9_-]`. The first character cannot be a number or hyphen.
|
108
117
|
class ModelConfig
|
109
118
|
include ::Google::Protobuf::MessageExts
|
110
119
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -116,13 +125,45 @@ module Google
|
|
116
125
|
# Optional. The user-specified display name of the endpoint. If not set, a
|
117
126
|
# default name will be used.
|
118
127
|
# @!attribute [rw] dedicated_endpoint_enabled
|
128
|
+
# @deprecated This field is deprecated and may be removed in the next major version update.
|
119
129
|
# @return [::Boolean]
|
120
|
-
# Optional.
|
121
|
-
#
|
122
|
-
#
|
123
|
-
#
|
124
|
-
#
|
130
|
+
# Optional. Deprecated. Use dedicated_endpoint_disabled instead.
|
131
|
+
# If true, the endpoint will be exposed through a
|
132
|
+
# dedicated DNS [Endpoint.dedicated_endpoint_dns]. Your request to the
|
133
|
+
# dedicated DNS will be isolated from other users' traffic and will have
|
134
|
+
# better performance and reliability. Note: Once you enabled dedicated
|
135
|
+
# endpoint, you won't be able to send request to the shared DNS
|
125
136
|
# \\{region}-aiplatform.googleapis.com. The limitations will be removed soon.
|
137
|
+
# @!attribute [rw] dedicated_endpoint_disabled
|
138
|
+
# @return [::Boolean]
|
139
|
+
# Optional. By default, if dedicated endpoint is enabled, the endpoint will
|
140
|
+
# be exposed through a dedicated DNS [Endpoint.dedicated_endpoint_dns].
|
141
|
+
# Your request to the dedicated DNS will be isolated from other users'
|
142
|
+
# traffic and will have better performance and reliability. Note: Once you
|
143
|
+
# enabled dedicated endpoint, you won't be able to send request to the
|
144
|
+
# shared DNS \\{region}-aiplatform.googleapis.com. The limitations will be
|
145
|
+
# removed soon.
|
146
|
+
#
|
147
|
+
# If this field is set to true, the dedicated endpoint will be disabled
|
148
|
+
# and the deployed model will be exposed through the shared DNS
|
149
|
+
# \\{region}-aiplatform.googleapis.com.
|
150
|
+
# @!attribute [rw] endpoint_user_id
|
151
|
+
# @return [::String]
|
152
|
+
# Optional. Immutable. The ID to use for endpoint, which will become the
|
153
|
+
# final component of the endpoint resource name. If not provided, Vertex AI
|
154
|
+
# will generate a value for this ID.
|
155
|
+
#
|
156
|
+
# If the first character is a letter, this value may be up to 63
|
157
|
+
# characters, and valid characters are `[a-z0-9-]`. The last character must
|
158
|
+
# be a letter or number.
|
159
|
+
#
|
160
|
+
# If the first character is a number, this value may be up to 9 characters,
|
161
|
+
# and valid characters are `[0-9]` with no leading zeros.
|
162
|
+
#
|
163
|
+
# When using HTTP/JSON, this field is populated
|
164
|
+
# based on a query string argument, such as `?endpoint_id=12345`. This is
|
165
|
+
# the fallback for fields that are not included in either the URI or the
|
166
|
+
# body.
|
126
167
|
class EndpointConfig
|
127
168
|
include ::Google::Protobuf::MessageExts
|
128
169
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -534,6 +534,10 @@ module Google
|
|
534
534
|
# @return [::Array<::Google::Cloud::AIPlatform::V1::SafetySetting>]
|
535
535
|
# Optional. Per request settings for blocking unsafe content.
|
536
536
|
# Enforced on GenerateContentResponse.candidates.
|
537
|
+
# @!attribute [rw] model_armor_config
|
538
|
+
# @return [::Google::Cloud::AIPlatform::V1::ModelArmorConfig]
|
539
|
+
# Optional. Settings for prompt and response sanitization using the Model
|
540
|
+
# Armor service. If supplied, safety_settings must not be supplied.
|
537
541
|
# @!attribute [rw] generation_config
|
538
542
|
# @return [::Google::Cloud::AIPlatform::V1::GenerationConfig]
|
539
543
|
# Optional. Generation config.
|
@@ -608,6 +612,9 @@ module Google
|
|
608
612
|
|
609
613
|
# Candidates blocked due to prohibited content.
|
610
614
|
PROHIBITED_CONTENT = 4
|
615
|
+
|
616
|
+
# The user prompt was blocked by Model Armor.
|
617
|
+
MODEL_ARMOR = 5
|
611
618
|
end
|
612
619
|
end
|
613
620
|
|
@@ -45,7 +45,8 @@ module Google
|
|
45
45
|
# @!attribute [rw] agent_framework
|
46
46
|
# @return [::String]
|
47
47
|
# Optional. The OSS agent framework used to develop the agent.
|
48
|
-
# Currently supported values: "langchain", "langgraph", "ag2",
|
48
|
+
# Currently supported values: "google-adk", "langchain", "langgraph", "ag2",
|
49
|
+
# "llama-index", "custom".
|
49
50
|
class ReasoningEngineSpec
|
50
51
|
include ::Google::Protobuf::MessageExts
|
51
52
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -82,9 +83,46 @@ module Google
|
|
82
83
|
# To use this feature, add 'Secret Manager Secret Accessor' role
|
83
84
|
# (roles/secretmanager.secretAccessor) to AI Platform Reasoning Engine
|
84
85
|
# Service Agent.
|
86
|
+
# @!attribute [rw] psc_interface_config
|
87
|
+
# @return [::Google::Cloud::AIPlatform::V1::PscInterfaceConfig]
|
88
|
+
# Optional. Configuration for PSC-I.
|
89
|
+
# @!attribute [rw] min_instances
|
90
|
+
# @return [::Integer]
|
91
|
+
# Optional. The minimum number of application instances that will be kept
|
92
|
+
# running at all times. Defaults to 1. Range: [0, 10].
|
93
|
+
# @!attribute [rw] max_instances
|
94
|
+
# @return [::Integer]
|
95
|
+
# Optional. The maximum number of application instances that can be
|
96
|
+
# launched to handle increased traffic. Defaults to 100. Range: [1, 1000].
|
97
|
+
#
|
98
|
+
# If VPC-SC or PSC-I is enabled, the acceptable range is [1, 100].
|
99
|
+
# @!attribute [rw] resource_limits
|
100
|
+
# @return [::Google::Protobuf::Map{::String => ::String}]
|
101
|
+
# Optional. Resource limits for each container. Only 'cpu' and 'memory'
|
102
|
+
# keys are supported. Defaults to \\{"cpu": "4", "memory": "4Gi"}.
|
103
|
+
#
|
104
|
+
# * The only supported values for CPU are '1', '2', '4', '6' and '8'. For
|
105
|
+
# more information, go to
|
106
|
+
# https://cloud.google.com/run/docs/configuring/cpu.
|
107
|
+
# * The only supported values for memory are '1Gi', '2Gi', ... '32 Gi'.
|
108
|
+
# * For required cpu on different memory values, go to
|
109
|
+
# https://cloud.google.com/run/docs/configuring/memory-limits
|
110
|
+
# @!attribute [rw] container_concurrency
|
111
|
+
# @return [::Integer]
|
112
|
+
# Optional. Concurrency for each container and agent server. Recommended
|
113
|
+
# value: 2 * cpu + 1. Defaults to 9.
|
85
114
|
class DeploymentSpec
|
86
115
|
include ::Google::Protobuf::MessageExts
|
87
116
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
117
|
+
|
118
|
+
# @!attribute [rw] key
|
119
|
+
# @return [::String]
|
120
|
+
# @!attribute [rw] value
|
121
|
+
# @return [::String]
|
122
|
+
class ResourceLimitsEntry
|
123
|
+
include ::Google::Protobuf::MessageExts
|
124
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
125
|
+
end
|
88
126
|
end
|
89
127
|
end
|
90
128
|
|
@@ -93,6 +131,8 @@ module Google
|
|
93
131
|
# @!attribute [rw] name
|
94
132
|
# @return [::String]
|
95
133
|
# Identifier. The resource name of the ReasoningEngine.
|
134
|
+
# Format:
|
135
|
+
# `projects/{project}/locations/{location}/reasoningEngines/{reasoning_engine}`
|
96
136
|
# @!attribute [rw] display_name
|
97
137
|
# @return [::String]
|
98
138
|
# Required. The display name of the ReasoningEngine.
|
@@ -112,6 +152,11 @@ module Google
|
|
112
152
|
# @return [::String]
|
113
153
|
# Optional. Used to perform consistent read-modify-write updates. If not set,
|
114
154
|
# a blind "overwrite" update happens.
|
155
|
+
# @!attribute [rw] encryption_spec
|
156
|
+
# @return [::Google::Cloud::AIPlatform::V1::EncryptionSpec]
|
157
|
+
# Customer-managed encryption key spec for a ReasoningEngine. If set, this
|
158
|
+
# ReasoningEngine and all sub-resources of this ReasoningEngine will be
|
159
|
+
# secured by this key.
|
115
160
|
class ReasoningEngine
|
116
161
|
include ::Google::Protobuf::MessageExts
|
117
162
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -53,6 +53,10 @@ module Google
|
|
53
53
|
# @return [::Google::Cloud::AIPlatform::V1::GoogleSearchRetrieval]
|
54
54
|
# Optional. GoogleSearchRetrieval tool type.
|
55
55
|
# Specialized retrieval tool that is powered by Google search.
|
56
|
+
# @!attribute [rw] google_maps
|
57
|
+
# @return [::Google::Cloud::AIPlatform::V1::GoogleMaps]
|
58
|
+
# Optional. GoogleMaps tool type.
|
59
|
+
# Tool to support Google Maps in Model.
|
56
60
|
# @!attribute [rw] enterprise_web_search
|
57
61
|
# @return [::Google::Cloud::AIPlatform::V1::EnterpriseWebSearch]
|
58
62
|
# Optional. Tool to support searching public web data, powered by Vertex AI
|
@@ -75,6 +79,11 @@ module Google
|
|
75
79
|
|
76
80
|
# GoogleSearch tool type.
|
77
81
|
# Tool to support Google Search in Model. Powered by Google.
|
82
|
+
# @!attribute [rw] exclude_domains
|
83
|
+
# @return [::Array<::String>]
|
84
|
+
# Optional. List of domains to be excluded from the search results.
|
85
|
+
# The default limit is 2000 domains.
|
86
|
+
# Example: ["amazon.com", "facebook.com"].
|
78
87
|
class GoogleSearch
|
79
88
|
include ::Google::Protobuf::MessageExts
|
80
89
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -393,8 +402,18 @@ module Google
|
|
393
402
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
394
403
|
end
|
395
404
|
|
405
|
+
# Tool to retrieve public maps data for grounding, powered by Google.
|
406
|
+
class GoogleMaps
|
407
|
+
include ::Google::Protobuf::MessageExts
|
408
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
409
|
+
end
|
410
|
+
|
396
411
|
# Tool to search public web data, powered by Vertex AI Search and Sec4
|
397
412
|
# compliance.
|
413
|
+
# @!attribute [rw] exclude_domains
|
414
|
+
# @return [::Array<::String>]
|
415
|
+
# Optional. List of domains to be excluded from the search results.
|
416
|
+
# The default limit is 2000 domains.
|
398
417
|
class EnterpriseWebSearch
|
399
418
|
include ::Google::Protobuf::MessageExts
|
400
419
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
metadata
CHANGED
@@ -1,7 +1,7 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-ai_platform-v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 1.
|
4
|
+
version: 1.20.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
@@ -376,6 +376,7 @@ files:
|
|
376
376
|
- lib/google/cloud/aiplatform/v1/deployment_resource_pool_pb.rb
|
377
377
|
- lib/google/cloud/aiplatform/v1/deployment_resource_pool_service_pb.rb
|
378
378
|
- lib/google/cloud/aiplatform/v1/deployment_resource_pool_service_services_pb.rb
|
379
|
+
- lib/google/cloud/aiplatform/v1/deployment_stage_pb.rb
|
379
380
|
- lib/google/cloud/aiplatform/v1/encryption_spec_pb.rb
|
380
381
|
- lib/google/cloud/aiplatform/v1/endpoint_pb.rb
|
381
382
|
- lib/google/cloud/aiplatform/v1/endpoint_service_pb.rb
|
@@ -531,6 +532,7 @@ files:
|
|
531
532
|
- proto_docs/google/cloud/aiplatform/v1/deployed_model_ref.rb
|
532
533
|
- proto_docs/google/cloud/aiplatform/v1/deployment_resource_pool.rb
|
533
534
|
- proto_docs/google/cloud/aiplatform/v1/deployment_resource_pool_service.rb
|
535
|
+
- proto_docs/google/cloud/aiplatform/v1/deployment_stage.rb
|
534
536
|
- proto_docs/google/cloud/aiplatform/v1/encryption_spec.rb
|
535
537
|
- proto_docs/google/cloud/aiplatform/v1/endpoint.rb
|
536
538
|
- proto_docs/google/cloud/aiplatform/v1/endpoint_service.rb
|