google-cloud-ai_platform-v1 1.14.0 → 1.16.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/job_service/paths.rb +19 -0
- data/lib/google/cloud/ai_platform/v1/model_garden_service/client.rb +137 -0
- data/lib/google/cloud/ai_platform/v1/model_garden_service/operations.rb +821 -0
- data/lib/google/cloud/ai_platform/v1/model_garden_service/paths.rb +36 -0
- data/lib/google/cloud/ai_platform/v1/model_garden_service/rest/client.rb +130 -0
- data/lib/google/cloud/ai_platform/v1/model_garden_service/rest/operations.rb +4398 -0
- data/lib/google/cloud/ai_platform/v1/model_garden_service/rest/service_stub.rb +62 -0
- data/lib/google/cloud/ai_platform/v1/model_garden_service/rest.rb +1 -0
- data/lib/google/cloud/ai_platform/v1/model_garden_service.rb +1 -0
- data/lib/google/cloud/ai_platform/v1/persistent_resource_service/paths.rb +19 -0
- data/lib/google/cloud/ai_platform/v1/pipeline_service/paths.rb +19 -0
- data/lib/google/cloud/ai_platform/v1/schedule_service/paths.rb +19 -0
- data/lib/google/cloud/ai_platform/v1/version.rb +1 -1
- data/lib/google/cloud/ai_platform/v1/vertex_rag_data_service/client.rb +198 -0
- data/lib/google/cloud/ai_platform/v1/vertex_rag_data_service/paths.rb +17 -0
- data/lib/google/cloud/ai_platform/v1/vertex_rag_data_service/rest/client.rb +184 -0
- data/lib/google/cloud/ai_platform/v1/vertex_rag_data_service/rest/service_stub.rb +123 -0
- data/lib/google/cloud/aiplatform/v1/content_pb.rb +6 -1
- data/lib/google/cloud/aiplatform/v1/custom_job_pb.rb +3 -1
- data/lib/google/cloud/aiplatform/v1/endpoint_pb.rb +3 -1
- data/lib/google/cloud/aiplatform/v1/model_garden_service_pb.rb +14 -1
- data/lib/google/cloud/aiplatform/v1/model_garden_service_services_pb.rb +2 -0
- data/lib/google/cloud/aiplatform/v1/persistent_resource_pb.rb +3 -1
- data/lib/google/cloud/aiplatform/v1/pipeline_job_pb.rb +3 -1
- data/lib/google/cloud/aiplatform/v1/service_networking_pb.rb +4 -1
- data/lib/google/cloud/aiplatform/v1/tool_pb.rb +3 -2
- data/lib/google/cloud/aiplatform/v1/vertex_rag_data_pb.rb +8 -1
- data/lib/google/cloud/aiplatform/v1/vertex_rag_data_service_pb.rb +4 -1
- data/lib/google/cloud/aiplatform/v1/vertex_rag_data_service_services_pb.rb +4 -0
- data/proto_docs/google/cloud/aiplatform/v1/content.rb +96 -7
- data/proto_docs/google/cloud/aiplatform/v1/custom_job.rb +3 -0
- data/proto_docs/google/cloud/aiplatform/v1/endpoint.rb +31 -6
- data/proto_docs/google/cloud/aiplatform/v1/model_garden_service.rb +153 -0
- data/proto_docs/google/cloud/aiplatform/v1/persistent_resource.rb +3 -0
- data/proto_docs/google/cloud/aiplatform/v1/pipeline_job.rb +3 -0
- data/proto_docs/google/cloud/aiplatform/v1/service_networking.rb +76 -5
- data/proto_docs/google/cloud/aiplatform/v1/tool.rb +35 -0
- data/proto_docs/google/cloud/aiplatform/v1/vertex_rag_data.rb +73 -0
- data/proto_docs/google/cloud/aiplatform/v1/vertex_rag_data_service.rb +35 -0
- metadata +3 -1
@@ -21,8 +21,8 @@ module Google
|
|
21
21
|
module Cloud
|
22
22
|
module AIPlatform
|
23
23
|
module V1
|
24
|
-
# PSC config that is used to automatically create
|
25
|
-
#
|
24
|
+
# PSC config that is used to automatically create PSC endpoints in the user
|
25
|
+
# projects.
|
26
26
|
# @!attribute [rw] project_id
|
27
27
|
# @return [::String]
|
28
28
|
# Required. Project id used to create forwarding rule.
|
@@ -30,10 +30,20 @@ module Google
|
|
30
30
|
# @return [::String]
|
31
31
|
# Required. The full name of the Google Compute Engine
|
32
32
|
# [network](https://cloud.google.com/compute/docs/networks-and-firewalls#networks).
|
33
|
-
# [Format](https://cloud.google.com/compute/docs/reference/rest/v1/networks/
|
33
|
+
# [Format](https://cloud.google.com/compute/docs/reference/rest/v1/networks/get):
|
34
34
|
# `projects/{project}/global/networks/{network}`.
|
35
|
-
#
|
36
|
-
#
|
35
|
+
# @!attribute [r] ip_address
|
36
|
+
# @return [::String]
|
37
|
+
# Output only. IP address rule created by the PSC service automation.
|
38
|
+
# @!attribute [r] forwarding_rule
|
39
|
+
# @return [::String]
|
40
|
+
# Output only. Forwarding rule created by the PSC service automation.
|
41
|
+
# @!attribute [r] state
|
42
|
+
# @return [::Google::Cloud::AIPlatform::V1::PSCAutomationState]
|
43
|
+
# Output only. The state of the PSC service automation.
|
44
|
+
# @!attribute [r] error_message
|
45
|
+
# @return [::String]
|
46
|
+
# Output only. Error message if the PSC service automation failed.
|
37
47
|
class PSCAutomationConfig
|
38
48
|
include ::Google::Protobuf::MessageExts
|
39
49
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -47,6 +57,10 @@ module Google
|
|
47
57
|
# @return [::Array<::String>]
|
48
58
|
# A list of Projects from which the forwarding rule will target the service
|
49
59
|
# attachment.
|
60
|
+
# @!attribute [rw] psc_automation_configs
|
61
|
+
# @return [::Array<::Google::Cloud::AIPlatform::V1::PSCAutomationConfig>]
|
62
|
+
# Optional. List of projects and networks where the PSC endpoints will be
|
63
|
+
# created. This field is used by Online Inference(Prediction) only.
|
50
64
|
# @!attribute [r] service_attachment
|
51
65
|
# @return [::String]
|
52
66
|
# Output only. The name of the generated service attachment resource.
|
@@ -72,6 +86,63 @@ module Google
|
|
72
86
|
include ::Google::Protobuf::MessageExts
|
73
87
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
74
88
|
end
|
89
|
+
|
90
|
+
# Configuration for PSC-I.
|
91
|
+
# @!attribute [rw] network_attachment
|
92
|
+
# @return [::String]
|
93
|
+
# Optional. The name of the Compute Engine
|
94
|
+
# [network
|
95
|
+
# attachment](https://cloud.google.com/vpc/docs/about-network-attachments) to
|
96
|
+
# attach to the resource within the region and user project.
|
97
|
+
# To specify this field, you must have already [created a network attachment]
|
98
|
+
# (https://cloud.google.com/vpc/docs/create-manage-network-attachments#create-network-attachments).
|
99
|
+
# This field is only used for resources using PSC-I.
|
100
|
+
# @!attribute [rw] dns_peering_configs
|
101
|
+
# @return [::Array<::Google::Cloud::AIPlatform::V1::DnsPeeringConfig>]
|
102
|
+
# Optional. DNS peering configurations. When specified, Vertex AI will
|
103
|
+
# attempt to configure DNS peering zones in the tenant project VPC
|
104
|
+
# to resolve the specified domains using the target network's Cloud DNS.
|
105
|
+
# The user must grant the dns.peer role to the Vertex AI Service Agent
|
106
|
+
# on the target project.
|
107
|
+
class PscInterfaceConfig
|
108
|
+
include ::Google::Protobuf::MessageExts
|
109
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
110
|
+
end
|
111
|
+
|
112
|
+
# DNS peering configuration. These configurations are used to create
|
113
|
+
# DNS peering zones in the Vertex tenant project VPC, enabling resolution
|
114
|
+
# of records within the specified domain hosted in the target network's
|
115
|
+
# Cloud DNS.
|
116
|
+
# @!attribute [rw] domain
|
117
|
+
# @return [::String]
|
118
|
+
# Required. The DNS name suffix of the zone being peered to, e.g.,
|
119
|
+
# "my-internal-domain.corp.". Must end with a dot.
|
120
|
+
# @!attribute [rw] target_project
|
121
|
+
# @return [::String]
|
122
|
+
# Required. The project ID hosting the Cloud DNS managed zone that
|
123
|
+
# contains the 'domain'. The Vertex AI Service Agent requires the
|
124
|
+
# dns.peer role on this project.
|
125
|
+
# @!attribute [rw] target_network
|
126
|
+
# @return [::String]
|
127
|
+
# Required. The VPC network name
|
128
|
+
# in the target_project where the DNS zone specified by 'domain' is
|
129
|
+
# visible.
|
130
|
+
class DnsPeeringConfig
|
131
|
+
include ::Google::Protobuf::MessageExts
|
132
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
133
|
+
end
|
134
|
+
|
135
|
+
# The state of the PSC service automation.
|
136
|
+
module PSCAutomationState
|
137
|
+
# Should not be used.
|
138
|
+
PSC_AUTOMATION_STATE_UNSPECIFIED = 0
|
139
|
+
|
140
|
+
# The PSC service automation is successful.
|
141
|
+
PSC_AUTOMATION_STATE_SUCCESSFUL = 1
|
142
|
+
|
143
|
+
# The PSC service automation has failed.
|
144
|
+
PSC_AUTOMATION_STATE_FAILED = 2
|
145
|
+
end
|
75
146
|
end
|
76
147
|
end
|
77
148
|
end
|
@@ -61,6 +61,9 @@ module Google
|
|
61
61
|
# @return [::Google::Cloud::AIPlatform::V1::Tool::CodeExecution]
|
62
62
|
# Optional. CodeExecution tool type.
|
63
63
|
# Enables the model to execute code as part of generation.
|
64
|
+
# @!attribute [rw] url_context
|
65
|
+
# @return [::Google::Cloud::AIPlatform::V1::UrlContext]
|
66
|
+
# Optional. Tool to support URL context retrieval.
|
64
67
|
class Tool
|
65
68
|
include ::Google::Protobuf::MessageExts
|
66
69
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -83,6 +86,12 @@ module Google
|
|
83
86
|
end
|
84
87
|
end
|
85
88
|
|
89
|
+
# Tool to support URL context.
|
90
|
+
class UrlContext
|
91
|
+
include ::Google::Protobuf::MessageExts
|
92
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
93
|
+
end
|
94
|
+
|
86
95
|
# Structured representation of a function declaration as defined by the
|
87
96
|
# [OpenAPI 3.0 specification](https://spec.openapis.org/oas/v3.0.3). Included
|
88
97
|
# in this declaration are the function name, description, parameters and
|
@@ -114,11 +123,37 @@ module Google
|
|
114
123
|
# type: INTEGER
|
115
124
|
# required:
|
116
125
|
# - param1
|
126
|
+
# @!attribute [rw] parameters_json_schema
|
127
|
+
# @return [::Google::Protobuf::Value]
|
128
|
+
# Optional. Describes the parameters to the function in JSON Schema format.
|
129
|
+
# The schema must describe an object where the properties are the parameters
|
130
|
+
# to the function. For example:
|
131
|
+
#
|
132
|
+
# ```
|
133
|
+
# {
|
134
|
+
# "type": "object",
|
135
|
+
# "properties": {
|
136
|
+
# "name": { "type": "string" },
|
137
|
+
# "age": { "type": "integer" }
|
138
|
+
# },
|
139
|
+
# "additionalProperties": false,
|
140
|
+
# "required": ["name", "age"],
|
141
|
+
# "propertyOrdering": ["name", "age"]
|
142
|
+
# }
|
143
|
+
# ```
|
144
|
+
#
|
145
|
+
# This field is mutually exclusive with `parameters`.
|
117
146
|
# @!attribute [rw] response
|
118
147
|
# @return [::Google::Cloud::AIPlatform::V1::Schema]
|
119
148
|
# Optional. Describes the output from this function in JSON Schema format.
|
120
149
|
# Reflects the Open API 3.03 Response Object. The Schema defines the type
|
121
150
|
# used for the response value of the function.
|
151
|
+
# @!attribute [rw] response_json_schema
|
152
|
+
# @return [::Google::Protobuf::Value]
|
153
|
+
# Optional. Describes the output from this function in JSON Schema format.
|
154
|
+
# The value specified by the schema is the response value of the function.
|
155
|
+
#
|
156
|
+
# This field is mutually exclusive with `response`.
|
122
157
|
class FunctionDeclaration
|
123
158
|
include ::Google::Protobuf::MessageExts
|
124
159
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -260,6 +260,12 @@ module Google
|
|
260
260
|
# @!attribute [r] corpus_status
|
261
261
|
# @return [::Google::Cloud::AIPlatform::V1::CorpusStatus]
|
262
262
|
# Output only. RagCorpus state.
|
263
|
+
# @!attribute [rw] encryption_spec
|
264
|
+
# @return [::Google::Cloud::AIPlatform::V1::EncryptionSpec]
|
265
|
+
# Optional. Immutable. The CMEK key name used to encrypt at-rest data related
|
266
|
+
# to this Corpus. Only applicable to RagManagedDb option for Vector DB. This
|
267
|
+
# field can only be set at corpus creation time, and cannot be updated or
|
268
|
+
# deleted.
|
263
269
|
class RagCorpus
|
264
270
|
include ::Google::Protobuf::MessageExts
|
265
271
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -538,6 +544,73 @@ module Google
|
|
538
544
|
include ::Google::Protobuf::MessageExts
|
539
545
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
540
546
|
end
|
547
|
+
|
548
|
+
# Configuration message for RagManagedDb used by RagEngine.
|
549
|
+
# @!attribute [rw] scaled
|
550
|
+
# @return [::Google::Cloud::AIPlatform::V1::RagManagedDbConfig::Scaled]
|
551
|
+
# Sets the RagManagedDb to the Scaled tier.
|
552
|
+
#
|
553
|
+
# Note: The following fields are mutually exclusive: `scaled`, `basic`, `unprovisioned`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
554
|
+
# @!attribute [rw] basic
|
555
|
+
# @return [::Google::Cloud::AIPlatform::V1::RagManagedDbConfig::Basic]
|
556
|
+
# Sets the RagManagedDb to the Basic tier.
|
557
|
+
#
|
558
|
+
# Note: The following fields are mutually exclusive: `basic`, `scaled`, `unprovisioned`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
559
|
+
# @!attribute [rw] unprovisioned
|
560
|
+
# @return [::Google::Cloud::AIPlatform::V1::RagManagedDbConfig::Unprovisioned]
|
561
|
+
# Sets the RagManagedDb to the Unprovisioned tier.
|
562
|
+
#
|
563
|
+
# Note: The following fields are mutually exclusive: `unprovisioned`, `scaled`, `basic`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
564
|
+
class RagManagedDbConfig
|
565
|
+
include ::Google::Protobuf::MessageExts
|
566
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
567
|
+
|
568
|
+
# Scaled tier offers production grade performance along with
|
569
|
+
# autoscaling functionality. It is suitable for customers with large
|
570
|
+
# amounts of data or performance sensitive workloads.
|
571
|
+
class Scaled
|
572
|
+
include ::Google::Protobuf::MessageExts
|
573
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
574
|
+
end
|
575
|
+
|
576
|
+
# Basic tier is a cost-effective and low compute tier suitable for
|
577
|
+
# the following cases:
|
578
|
+
# * Experimenting with RagManagedDb.
|
579
|
+
# * Small data size.
|
580
|
+
# * Latency insensitive workload.
|
581
|
+
# * Only using RAG Engine with external vector DBs.
|
582
|
+
#
|
583
|
+
# NOTE: This is the default tier if not explicitly chosen.
|
584
|
+
class Basic
|
585
|
+
include ::Google::Protobuf::MessageExts
|
586
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
587
|
+
end
|
588
|
+
|
589
|
+
# Disables the RAG Engine service and deletes all your data held
|
590
|
+
# within this service. This will halt the billing of the service.
|
591
|
+
#
|
592
|
+
# NOTE: Once deleted the data cannot be recovered. To start using
|
593
|
+
# RAG Engine again, you will need to update the tier by calling the
|
594
|
+
# UpdateRagEngineConfig API.
|
595
|
+
class Unprovisioned
|
596
|
+
include ::Google::Protobuf::MessageExts
|
597
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
598
|
+
end
|
599
|
+
end
|
600
|
+
|
601
|
+
# Config for RagEngine.
|
602
|
+
# @!attribute [rw] name
|
603
|
+
# @return [::String]
|
604
|
+
# Identifier. The name of the RagEngineConfig.
|
605
|
+
# Format:
|
606
|
+
# `projects/{project}/locations/{location}/ragEngineConfig`
|
607
|
+
# @!attribute [rw] rag_managed_db_config
|
608
|
+
# @return [::Google::Cloud::AIPlatform::V1::RagManagedDbConfig]
|
609
|
+
# The config of the RagManagedDb used by RagEngine.
|
610
|
+
class RagEngineConfig
|
611
|
+
include ::Google::Protobuf::MessageExts
|
612
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
613
|
+
end
|
541
614
|
end
|
542
615
|
end
|
543
616
|
end
|
@@ -255,6 +255,18 @@ module Google
|
|
255
255
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
256
256
|
end
|
257
257
|
|
258
|
+
# Request message for
|
259
|
+
# {::Google::Cloud::AIPlatform::V1::VertexRagDataService::Client#get_rag_engine_config VertexRagDataService.GetRagEngineConfig}
|
260
|
+
# @!attribute [rw] name
|
261
|
+
# @return [::String]
|
262
|
+
# Required. The name of the RagEngineConfig resource.
|
263
|
+
# Format:
|
264
|
+
# `projects/{project}/locations/{location}/ragEngineConfig`
|
265
|
+
class GetRagEngineConfigRequest
|
266
|
+
include ::Google::Protobuf::MessageExts
|
267
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
268
|
+
end
|
269
|
+
|
258
270
|
# Request message for
|
259
271
|
# {::Google::Cloud::AIPlatform::V1::VertexRagDataService::Client#update_rag_corpus VertexRagDataService.UpdateRagCorpus}.
|
260
272
|
# @!attribute [rw] rag_corpus
|
@@ -295,6 +307,29 @@ module Google
|
|
295
307
|
include ::Google::Protobuf::MessageExts
|
296
308
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
297
309
|
end
|
310
|
+
|
311
|
+
# Request message for
|
312
|
+
# {::Google::Cloud::AIPlatform::V1::VertexRagDataService::Client#update_rag_engine_config VertexRagDataService.UpdateRagEngineConfig}.
|
313
|
+
# @!attribute [rw] rag_engine_config
|
314
|
+
# @return [::Google::Cloud::AIPlatform::V1::RagEngineConfig]
|
315
|
+
# Required. The updated RagEngineConfig.
|
316
|
+
#
|
317
|
+
# NOTE: Downgrading your RagManagedDb's ComputeTier could temporarily
|
318
|
+
# increase request latencies until the operation is fully complete.
|
319
|
+
class UpdateRagEngineConfigRequest
|
320
|
+
include ::Google::Protobuf::MessageExts
|
321
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
322
|
+
end
|
323
|
+
|
324
|
+
# Runtime operation information for
|
325
|
+
# {::Google::Cloud::AIPlatform::V1::VertexRagDataService::Client#update_rag_engine_config VertexRagDataService.UpdateRagEngineConfig}.
|
326
|
+
# @!attribute [rw] generic_metadata
|
327
|
+
# @return [::Google::Cloud::AIPlatform::V1::GenericOperationMetadata]
|
328
|
+
# The operation generic information.
|
329
|
+
class UpdateRagEngineConfigOperationMetadata
|
330
|
+
include ::Google::Protobuf::MessageExts
|
331
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
332
|
+
end
|
298
333
|
end
|
299
334
|
end
|
300
335
|
end
|
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.16.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
@@ -235,9 +235,11 @@ files:
|
|
235
235
|
- lib/google/cloud/ai_platform/v1/model_garden_service.rb
|
236
236
|
- lib/google/cloud/ai_platform/v1/model_garden_service/client.rb
|
237
237
|
- lib/google/cloud/ai_platform/v1/model_garden_service/credentials.rb
|
238
|
+
- lib/google/cloud/ai_platform/v1/model_garden_service/operations.rb
|
238
239
|
- lib/google/cloud/ai_platform/v1/model_garden_service/paths.rb
|
239
240
|
- lib/google/cloud/ai_platform/v1/model_garden_service/rest.rb
|
240
241
|
- lib/google/cloud/ai_platform/v1/model_garden_service/rest/client.rb
|
242
|
+
- lib/google/cloud/ai_platform/v1/model_garden_service/rest/operations.rb
|
241
243
|
- lib/google/cloud/ai_platform/v1/model_garden_service/rest/service_stub.rb
|
242
244
|
- lib/google/cloud/ai_platform/v1/model_service.rb
|
243
245
|
- lib/google/cloud/ai_platform/v1/model_service/client.rb
|