google-cloud-ai_platform-v1 1.50.0 → 1.52.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/AUTHENTICATION.md +4 -4
- data/README.md +8 -10
- data/lib/google/cloud/ai_platform/v1/agent_anomaly_detection_service/client.rb +1972 -0
- data/lib/google/cloud/ai_platform/v1/agent_anomaly_detection_service/credentials.rb +47 -0
- data/lib/google/cloud/ai_platform/v1/agent_anomaly_detection_service/operations.rb +851 -0
- data/lib/google/cloud/ai_platform/v1/agent_anomaly_detection_service/paths.rb +132 -0
- data/lib/google/cloud/ai_platform/v1/agent_anomaly_detection_service/rest/client.rb +1840 -0
- data/lib/google/cloud/ai_platform/v1/agent_anomaly_detection_service/rest/operations.rb +4481 -0
- data/lib/google/cloud/ai_platform/v1/agent_anomaly_detection_service/rest/service_stub.rb +939 -0
- data/lib/google/cloud/ai_platform/v1/agent_anomaly_detection_service/rest.rb +54 -0
- data/lib/google/cloud/ai_platform/v1/agent_anomaly_detection_service.rb +56 -0
- data/lib/google/cloud/ai_platform/v1/bindings_override.rb +1 -1
- data/lib/google/cloud/ai_platform/v1/rest.rb +2 -1
- data/lib/google/cloud/ai_platform/v1/version.rb +1 -1
- data/lib/google/cloud/ai_platform/v1.rb +3 -2
- data/lib/google/cloud/aiplatform/v1/agent_anomaly_detection_service_pb.rb +73 -0
- data/lib/google/cloud/aiplatform/v1/agent_anomaly_detection_service_services_pb.rb +86 -0
- data/lib/google/cloud/aiplatform/v1/reasoning_engine_pb.rb +2 -1
- data/proto_docs/google/cloud/aiplatform/v1/agent_anomaly_detection_service.rb +1009 -0
- data/proto_docs/google/cloud/aiplatform/v1/reasoning_engine.rb +87 -10
- metadata +13 -1
|
@@ -37,8 +37,19 @@ module Google
|
|
|
37
37
|
# Optional. The service account that the Reasoning Engine artifact runs as.
|
|
38
38
|
# It should have "roles/storage.objectViewer" for reading the user project's
|
|
39
39
|
# Cloud Storage and "roles/aiplatform.user" for using Vertex extensions. If
|
|
40
|
-
# not specified
|
|
41
|
-
# will be used.
|
|
40
|
+
# not specified and `identity_type` is not `AGENT_IDENTITY`, the default
|
|
41
|
+
# Vertex AI Reasoning Engine Service Agent in the project will be used.
|
|
42
|
+
#
|
|
43
|
+
# WARNING: The default Vertex AI Reasoning Engine Service Agent
|
|
44
|
+
# (`service-{project_number}@gcp-sa-aiplatform-re.iam.gserviceaccount.com`)
|
|
45
|
+
# is shared across all Reasoning Engines in the project that do not specify
|
|
46
|
+
# an isolated identity or custom service account. Any permissions or secrets
|
|
47
|
+
# granted to it can be accessed by any principal permitted to deploy or
|
|
48
|
+
# update agents in the project (even without using `secret_env`, by calling
|
|
49
|
+
# APIs directly from agent code). For sensitive resources such as Secret
|
|
50
|
+
# Manager secrets, use `identity_type = AGENT_IDENTITY` (restricting
|
|
51
|
+
# `aiplatform.reasoningEngines.update` access to that engine) or a dedicated
|
|
52
|
+
# custom `service_account`.
|
|
42
53
|
# @!attribute [rw] package_spec
|
|
43
54
|
# @return [::Google::Cloud::AIPlatform::V1::ReasoningEngineSpec::PackageSpec]
|
|
44
55
|
# Optional. User provided package spec of the ReasoningEngine.
|
|
@@ -65,6 +76,17 @@ module Google
|
|
|
65
76
|
# specified, the `service_account` field will be used if set, otherwise the
|
|
66
77
|
# default Vertex AI Reasoning Engine Service Agent in the project will be
|
|
67
78
|
# used.
|
|
79
|
+
#
|
|
80
|
+
# WARNING: The default Vertex AI Reasoning Engine Service Agent
|
|
81
|
+
# (`service-{project_number}@gcp-sa-aiplatform-re.iam.gserviceaccount.com`)
|
|
82
|
+
# is shared across all Reasoning Engines in the project that do not specify
|
|
83
|
+
# an isolated identity or custom service account. Any permissions or secrets
|
|
84
|
+
# granted to it can be accessed by any principal permitted to deploy or
|
|
85
|
+
# update agents in the project (even without using `secret_env`, by calling
|
|
86
|
+
# APIs directly from agent code). Prefer `AGENT_IDENTITY` (and restrict
|
|
87
|
+
# `aiplatform.reasoningEngines.update` permissions on the engine) or a
|
|
88
|
+
# dedicated custom `service_account` when granting access to sensitive
|
|
89
|
+
# resources such as Secret Manager secrets.
|
|
68
90
|
# @!attribute [rw] build_spec
|
|
69
91
|
# @return [::Google::Cloud::AIPlatform::V1::ReasoningEngineSpec::BuildSpec]
|
|
70
92
|
# Optional. Configuration for building container image.
|
|
@@ -101,11 +123,33 @@ module Google
|
|
|
101
123
|
# UpdateReasoningEngine API.
|
|
102
124
|
# @!attribute [rw] secret_env
|
|
103
125
|
# @return [::Array<::Google::Cloud::AIPlatform::V1::SecretEnvVar>]
|
|
104
|
-
# Optional. Environment variables where the value is a secret in
|
|
105
|
-
#
|
|
106
|
-
#
|
|
107
|
-
#
|
|
108
|
-
#
|
|
126
|
+
# Optional. Environment variables where the value is a secret in Secret
|
|
127
|
+
# Manager. Secrets must be global secrets in the same project as the
|
|
128
|
+
# Reasoning Engine.
|
|
129
|
+
#
|
|
130
|
+
# At startup (and during deployment validation for service-account-based
|
|
131
|
+
# deployments), the Reasoning Engine accesses the referenced secrets using
|
|
132
|
+
# its configured runtime identity. Grant the Secret Manager Secret Accessor
|
|
133
|
+
# role (`roles/secretmanager.secretAccessor`) on the specific secret to an
|
|
134
|
+
# isolated per-agent identity (`identity_type = AGENT_IDENTITY`) or a
|
|
135
|
+
# dedicated custom `service_account`. When using `AGENT_IDENTITY`, create
|
|
136
|
+
# the Reasoning Engine first without `secret_env`, grant access to its
|
|
137
|
+
# provisioned agent identity (prepend `principal://` to the
|
|
138
|
+
# `effective_identity` value returned by the SDK/CLI, e.g.,
|
|
139
|
+
# `principal://agents.global...`), and then update the Reasoning Engine to
|
|
140
|
+
# add `secret_env`.
|
|
141
|
+
#
|
|
142
|
+
# WARNING: Avoid granting secret access to the default Vertex AI Reasoning
|
|
143
|
+
# Engine Service Agent
|
|
144
|
+
# (`service-{project_number}@gcp-sa-aiplatform-re.iam.gserviceaccount.com`).
|
|
145
|
+
# That service agent is shared across all Reasoning Engines in the project
|
|
146
|
+
# that do not specify an isolated identity or custom service account, so
|
|
147
|
+
# any principal with permission to deploy or update agents in the project
|
|
148
|
+
# can access secrets granted to it (including without `secret_env`, by
|
|
149
|
+
# calling Secret Manager directly from agent code). Note also that any
|
|
150
|
+
# principal with `aiplatform.reasoningEngines.update` permission on an
|
|
151
|
+
# `AGENT_IDENTITY` engine can run code as that agent's identity; restrict
|
|
152
|
+
# update permissions accordingly.
|
|
109
153
|
# @!attribute [rw] psc_interface_config
|
|
110
154
|
# @return [::Google::Cloud::AIPlatform::V1::PscInterfaceConfig]
|
|
111
155
|
# Optional. Configuration for PSC-I.
|
|
@@ -153,12 +197,17 @@ module Google
|
|
|
153
197
|
# @return [::Google::Cloud::AIPlatform::V1::ReasoningEngineSpec::SourceCodeSpec::InlineSource]
|
|
154
198
|
# Source code is provided directly in the request.
|
|
155
199
|
#
|
|
156
|
-
# Note: The following fields are mutually exclusive: `inline_source`, `developer_connect_source`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
|
200
|
+
# Note: The following fields are mutually exclusive: `inline_source`, `developer_connect_source`, `git_source`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
|
157
201
|
# @!attribute [rw] developer_connect_source
|
|
158
202
|
# @return [::Google::Cloud::AIPlatform::V1::ReasoningEngineSpec::SourceCodeSpec::DeveloperConnectSource]
|
|
159
203
|
# Source code is in a Git repository managed by Developer Connect.
|
|
160
204
|
#
|
|
161
|
-
# Note: The following fields are mutually exclusive: `developer_connect_source`, `inline_source`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
|
205
|
+
# Note: The following fields are mutually exclusive: `developer_connect_source`, `inline_source`, `git_source`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
|
206
|
+
# @!attribute [rw] git_source
|
|
207
|
+
# @return [::Google::Cloud::AIPlatform::V1::ReasoningEngineSpec::SourceCodeSpec::GitSource]
|
|
208
|
+
# Source code is in a public Git repository.
|
|
209
|
+
#
|
|
210
|
+
# Note: The following fields are mutually exclusive: `git_source`, `inline_source`, `developer_connect_source`. If a field in that set is populated, all other fields in the set will automatically be cleared.
|
|
162
211
|
# @!attribute [rw] python_spec
|
|
163
212
|
# @return [::Google::Cloud::AIPlatform::V1::ReasoningEngineSpec::SourceCodeSpec::PythonSpec]
|
|
164
213
|
# Configuration for a Python application.
|
|
@@ -235,6 +284,23 @@ module Google
|
|
|
235
284
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
236
285
|
end
|
|
237
286
|
|
|
287
|
+
# Specifies source code to be fetched from a public Git repository.
|
|
288
|
+
# @!attribute [rw] url
|
|
289
|
+
# @return [::String]
|
|
290
|
+
# Required. The HTTPS URL of the public Git repository to clone.
|
|
291
|
+
# @!attribute [rw] dir
|
|
292
|
+
# @return [::String]
|
|
293
|
+
# Optional. Directory, relative to the source root, in which to run the
|
|
294
|
+
# build.
|
|
295
|
+
# @!attribute [rw] revision
|
|
296
|
+
# @return [::String]
|
|
297
|
+
# Required. The revision to fetch from the Git repository: a branch, a
|
|
298
|
+
# tag, or a full commit SHA. Abbreviated commit SHAs are not supported.
|
|
299
|
+
class GitSource
|
|
300
|
+
include ::Google::Protobuf::MessageExts
|
|
301
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
302
|
+
end
|
|
303
|
+
|
|
238
304
|
# Specification for running a Python application from source.
|
|
239
305
|
# @!attribute [rw] version
|
|
240
306
|
# @return [::String]
|
|
@@ -301,15 +367,26 @@ module Google
|
|
|
301
367
|
module IdentityType
|
|
302
368
|
# Default value. Use a custom service account if the `service_account`
|
|
303
369
|
# field is set, otherwise use the default Vertex AI Reasoning Engine
|
|
304
|
-
# Service Agent in the project. Same behavior as SERVICE_ACCOUNT
|
|
370
|
+
# Service Agent in the project. Same behavior as `SERVICE_ACCOUNT`.
|
|
371
|
+
#
|
|
372
|
+
# WARNING: The default service agent is shared across all Reasoning
|
|
373
|
+
# Engines in the project that do not specify an isolated identity or
|
|
374
|
+
# custom service account; see `identity_type` for security guidance.
|
|
305
375
|
IDENTITY_TYPE_UNSPECIFIED = 0
|
|
306
376
|
|
|
307
377
|
# Use a custom service account if the `service_account` field is set,
|
|
308
378
|
# otherwise use the default Vertex AI Reasoning Engine Service Agent in the
|
|
309
379
|
# project.
|
|
380
|
+
#
|
|
381
|
+
# WARNING: The default service agent is shared across all Reasoning
|
|
382
|
+
# Engines in the project that do not specify an isolated identity or
|
|
383
|
+
# custom service account; see `identity_type` for security guidance.
|
|
310
384
|
SERVICE_ACCOUNT = 2
|
|
311
385
|
|
|
312
386
|
# Use Agent Identity. The `service_account` field must not be set.
|
|
387
|
+
# Restrict `aiplatform.reasoningEngines.update` permissions on the engine
|
|
388
|
+
# because any principal permitted to update it can run code as its
|
|
389
|
+
# identity.
|
|
313
390
|
AGENT_IDENTITY = 3
|
|
314
391
|
end
|
|
315
392
|
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.52.0
|
|
5
5
|
platform: ruby
|
|
6
6
|
authors:
|
|
7
7
|
- Google LLC
|
|
@@ -80,6 +80,15 @@ files:
|
|
|
80
80
|
- README.md
|
|
81
81
|
- lib/google-cloud-ai_platform-v1.rb
|
|
82
82
|
- lib/google/cloud/ai_platform/v1.rb
|
|
83
|
+
- lib/google/cloud/ai_platform/v1/agent_anomaly_detection_service.rb
|
|
84
|
+
- lib/google/cloud/ai_platform/v1/agent_anomaly_detection_service/client.rb
|
|
85
|
+
- lib/google/cloud/ai_platform/v1/agent_anomaly_detection_service/credentials.rb
|
|
86
|
+
- lib/google/cloud/ai_platform/v1/agent_anomaly_detection_service/operations.rb
|
|
87
|
+
- lib/google/cloud/ai_platform/v1/agent_anomaly_detection_service/paths.rb
|
|
88
|
+
- lib/google/cloud/ai_platform/v1/agent_anomaly_detection_service/rest.rb
|
|
89
|
+
- lib/google/cloud/ai_platform/v1/agent_anomaly_detection_service/rest/client.rb
|
|
90
|
+
- lib/google/cloud/ai_platform/v1/agent_anomaly_detection_service/rest/operations.rb
|
|
91
|
+
- lib/google/cloud/ai_platform/v1/agent_anomaly_detection_service/rest/service_stub.rb
|
|
83
92
|
- lib/google/cloud/ai_platform/v1/bindings_override.rb
|
|
84
93
|
- lib/google/cloud/ai_platform/v1/data_foundry_service.rb
|
|
85
94
|
- lib/google/cloud/ai_platform/v1/data_foundry_service/client.rb
|
|
@@ -374,6 +383,8 @@ files:
|
|
|
374
383
|
- lib/google/cloud/ai_platform/v1/vizier_service/rest/operations.rb
|
|
375
384
|
- lib/google/cloud/ai_platform/v1/vizier_service/rest/service_stub.rb
|
|
376
385
|
- lib/google/cloud/aiplatform/v1/accelerator_type_pb.rb
|
|
386
|
+
- lib/google/cloud/aiplatform/v1/agent_anomaly_detection_service_pb.rb
|
|
387
|
+
- lib/google/cloud/aiplatform/v1/agent_anomaly_detection_service_services_pb.rb
|
|
377
388
|
- lib/google/cloud/aiplatform/v1/annotation_pb.rb
|
|
378
389
|
- lib/google/cloud/aiplatform/v1/annotation_spec_pb.rb
|
|
379
390
|
- lib/google/cloud/aiplatform/v1/api_auth_pb.rb
|
|
@@ -538,6 +549,7 @@ files:
|
|
|
538
549
|
- proto_docs/google/api/launch_stage.rb
|
|
539
550
|
- proto_docs/google/api/resource.rb
|
|
540
551
|
- proto_docs/google/cloud/aiplatform/v1/accelerator_type.rb
|
|
552
|
+
- proto_docs/google/cloud/aiplatform/v1/agent_anomaly_detection_service.rb
|
|
541
553
|
- proto_docs/google/cloud/aiplatform/v1/annotation.rb
|
|
542
554
|
- proto_docs/google/cloud/aiplatform/v1/annotation_spec.rb
|
|
543
555
|
- proto_docs/google/cloud/aiplatform/v1/api_auth.rb
|