google-cloud-ai_platform-v1 0.4.0 → 0.7.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/dataset_service/client.rb +28 -0
- data/lib/google/cloud/ai_platform/v1/endpoint_service/client.rb +28 -0
- data/lib/google/cloud/ai_platform/v1/featurestore_online_serving_service/client.rb +28 -0
- data/lib/google/cloud/ai_platform/v1/featurestore_service/client.rb +29 -0
- data/lib/google/cloud/ai_platform/v1/index_endpoint_service/client.rb +28 -0
- data/lib/google/cloud/ai_platform/v1/index_service/client.rb +28 -0
- data/lib/google/cloud/ai_platform/v1/job_service/client.rb +28 -0
- data/lib/google/cloud/ai_platform/v1/metadata_service/client.rb +28 -0
- data/lib/google/cloud/ai_platform/v1/migration_service/client.rb +28 -0
- data/lib/google/cloud/ai_platform/v1/model_service/client.rb +384 -1
- data/lib/google/cloud/ai_platform/v1/pipeline_service/client.rb +29 -1
- data/lib/google/cloud/ai_platform/v1/prediction_service/client.rb +28 -0
- data/lib/google/cloud/ai_platform/v1/specialist_pool_service/client.rb +28 -0
- data/lib/google/cloud/ai_platform/v1/tensorboard_service/client.rb +28 -0
- data/lib/google/cloud/ai_platform/v1/version.rb +1 -1
- data/lib/google/cloud/ai_platform/v1/vizier_service/client.rb +28 -0
- data/lib/google/cloud/aiplatform/v1/completion_stats_pb.rb +1 -0
- data/lib/google/cloud/aiplatform/v1/explanation_metadata_pb.rb +1 -0
- data/lib/google/cloud/aiplatform/v1/explanation_pb.rb +27 -0
- data/lib/google/cloud/aiplatform/v1/featurestore_pb.rb +6 -0
- data/lib/google/cloud/aiplatform/v1/model_deployment_monitoring_job_pb.rb +1 -0
- data/lib/google/cloud/aiplatform/v1/model_monitoring_pb.rb +2 -0
- data/lib/google/cloud/aiplatform/v1/model_pb.rb +5 -0
- data/lib/google/cloud/aiplatform/v1/model_service_pb.rb +25 -0
- data/lib/google/cloud/aiplatform/v1/model_service_services_pb.rb +10 -0
- data/lib/google/cloud/aiplatform/v1/pipeline_failure_policy_pb.rb +24 -0
- data/lib/google/cloud/aiplatform/v1/pipeline_job_pb.rb +8 -0
- data/lib/google/cloud/aiplatform/v1/training_pipeline_pb.rb +2 -0
- data/proto_docs/google/cloud/aiplatform/v1/batch_prediction_job.rb +3 -0
- data/proto_docs/google/cloud/aiplatform/v1/completion_stats.rb +4 -0
- data/proto_docs/google/cloud/aiplatform/v1/endpoint.rb +5 -2
- data/proto_docs/google/cloud/aiplatform/v1/explanation.rb +69 -0
- data/proto_docs/google/cloud/aiplatform/v1/explanation_metadata.rb +3 -0
- data/proto_docs/google/cloud/aiplatform/v1/featurestore.rb +21 -0
- data/proto_docs/google/cloud/aiplatform/v1/featurestore_online_service.rb +0 -1
- data/proto_docs/google/cloud/aiplatform/v1/featurestore_service.rb +1 -0
- data/proto_docs/google/cloud/aiplatform/v1/manual_batch_tuning_parameters.rb +1 -1
- data/proto_docs/google/cloud/aiplatform/v1/model.rb +26 -0
- data/proto_docs/google/cloud/aiplatform/v1/model_deployment_monitoring_job.rb +10 -0
- data/proto_docs/google/cloud/aiplatform/v1/model_monitoring.rb +12 -0
- data/proto_docs/google/cloud/aiplatform/v1/model_service.rb +112 -0
- data/proto_docs/google/cloud/aiplatform/v1/pipeline_failure_policy.rb +45 -0
- data/proto_docs/google/cloud/aiplatform/v1/pipeline_job.rb +32 -0
- data/proto_docs/google/cloud/aiplatform/v1/pipeline_service.rb +1 -1
- data/proto_docs/google/cloud/aiplatform/v1/training_pipeline.rb +11 -0
- data/proto_docs/google/type/expr.rb +75 -0
- metadata +46 -3
@@ -62,6 +62,8 @@ module Google
|
|
62
62
|
#
|
63
63
|
# "csv"
|
64
64
|
# The source file is a CSV file.
|
65
|
+
# "jsonl"
|
66
|
+
# The source file is a JSONL file.
|
65
67
|
# @!attribute [rw] target_field
|
66
68
|
# @return [::String]
|
67
69
|
# The target field name the model is to predict.
|
@@ -89,6 +91,11 @@ module Google
|
|
89
91
|
# Key is the feature name and value is the threshold. The threshold here is
|
90
92
|
# against attribution score distance between the training and prediction
|
91
93
|
# feature.
|
94
|
+
# @!attribute [rw] default_skew_threshold
|
95
|
+
# @return [::Google::Cloud::AIPlatform::V1::ThresholdConfig]
|
96
|
+
# Skew anomaly detection threshold used by all features.
|
97
|
+
# When the per-feature thresholds are not set, this field can be used to
|
98
|
+
# specify a threshold for all features.
|
92
99
|
class TrainingPredictionSkewDetectionConfig
|
93
100
|
include ::Google::Protobuf::MessageExts
|
94
101
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -123,6 +130,11 @@ module Google
|
|
123
130
|
# @return [::Google::Protobuf::Map{::String => ::Google::Cloud::AIPlatform::V1::ThresholdConfig}]
|
124
131
|
# Key is the feature name and value is the threshold. The threshold here is
|
125
132
|
# against attribution score distance between different time windows.
|
133
|
+
# @!attribute [rw] default_drift_threshold
|
134
|
+
# @return [::Google::Cloud::AIPlatform::V1::ThresholdConfig]
|
135
|
+
# Drift anomaly detection threshold used by all features.
|
136
|
+
# When the per-feature thresholds are not set, this field can be used to
|
137
|
+
# specify a threshold for all features.
|
126
138
|
class PredictionDriftDetectionConfig
|
127
139
|
include ::Google::Protobuf::MessageExts
|
128
140
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -26,6 +26,17 @@ module Google
|
|
26
26
|
# @return [::String]
|
27
27
|
# Required. The resource name of the Location into which to upload the Model.
|
28
28
|
# Format: `projects/{project}/locations/{location}`
|
29
|
+
# @!attribute [rw] parent_model
|
30
|
+
# @return [::String]
|
31
|
+
# Optional. The resource name of the model into which to upload the version. Only
|
32
|
+
# specify this field when uploading a new version.
|
33
|
+
# @!attribute [rw] model_id
|
34
|
+
# @return [::String]
|
35
|
+
# Optional. The ID to use for the uploaded Model, which will become the final
|
36
|
+
# component of the model resource name.
|
37
|
+
#
|
38
|
+
# This value may be up to 63 characters, and valid characters are
|
39
|
+
# `[a-z0-9_-]`. The first character cannot be a number or hyphen.
|
29
40
|
# @!attribute [rw] model
|
30
41
|
# @return [::Google::Cloud::AIPlatform::V1::Model]
|
31
42
|
# Required. The Model to create.
|
@@ -48,6 +59,9 @@ module Google
|
|
48
59
|
# @return [::String]
|
49
60
|
# The name of the uploaded Model resource.
|
50
61
|
# Format: `projects/{project}/locations/{location}/models/{model}`
|
62
|
+
# @!attribute [r] model_version_id
|
63
|
+
# @return [::String]
|
64
|
+
# Output only. The version ID of the model that is uploaded.
|
51
65
|
class UploadModelResponse
|
52
66
|
include ::Google::Protobuf::MessageExts
|
53
67
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -58,6 +72,16 @@ module Google
|
|
58
72
|
# @return [::String]
|
59
73
|
# Required. The name of the Model resource.
|
60
74
|
# Format: `projects/{project}/locations/{location}/models/{model}`
|
75
|
+
#
|
76
|
+
# In order to retrieve a specific version of the model, also provide
|
77
|
+
# the version ID or version alias.
|
78
|
+
# Example: `projects/{project}/locations/{location}/models/{model}@2`
|
79
|
+
# or
|
80
|
+
# `projects/{project}/locations/{location}/models/{model}@golden`
|
81
|
+
# If no version ID or alias is specified, the "default" version will be
|
82
|
+
# returned. The "default" version alias is created for the first version of
|
83
|
+
# the model, and can be moved to other versions later on. There will be
|
84
|
+
# exactly one default version.
|
61
85
|
class GetModelRequest
|
62
86
|
include ::Google::Protobuf::MessageExts
|
63
87
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -125,6 +149,54 @@ module Google
|
|
125
149
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
126
150
|
end
|
127
151
|
|
152
|
+
# Request message for {::Google::Cloud::AIPlatform::V1::ModelService::Client#list_model_versions ModelService.ListModelVersions}.
|
153
|
+
# @!attribute [rw] name
|
154
|
+
# @return [::String]
|
155
|
+
# Required. The name of the model to list versions for.
|
156
|
+
# @!attribute [rw] page_size
|
157
|
+
# @return [::Integer]
|
158
|
+
# The standard list page size.
|
159
|
+
# @!attribute [rw] page_token
|
160
|
+
# @return [::String]
|
161
|
+
# The standard list page token.
|
162
|
+
# Typically obtained via
|
163
|
+
# {::Google::Cloud::AIPlatform::V1::ListModelVersionsResponse#next_page_token ListModelVersionsResponse.next_page_token} of the previous
|
164
|
+
# [ModelService.ListModelversions][] call.
|
165
|
+
# @!attribute [rw] filter
|
166
|
+
# @return [::String]
|
167
|
+
# An expression for filtering the results of the request. For field names
|
168
|
+
# both snake_case and camelCase are supported.
|
169
|
+
#
|
170
|
+
# * `labels` supports general map functions that is:
|
171
|
+
# * `labels.key=value` - key:value equality
|
172
|
+
# * `labels.key:* or labels:key - key existence
|
173
|
+
# * A key including a space must be quoted. `labels."a key"`.
|
174
|
+
#
|
175
|
+
# Some examples:
|
176
|
+
# * `labels.myKey="myValue"`
|
177
|
+
# @!attribute [rw] read_mask
|
178
|
+
# @return [::Google::Protobuf::FieldMask]
|
179
|
+
# Mask specifying which fields to read.
|
180
|
+
class ListModelVersionsRequest
|
181
|
+
include ::Google::Protobuf::MessageExts
|
182
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
183
|
+
end
|
184
|
+
|
185
|
+
# Response message for {::Google::Cloud::AIPlatform::V1::ModelService::Client#list_model_versions ModelService.ListModelVersions}
|
186
|
+
# @!attribute [rw] models
|
187
|
+
# @return [::Array<::Google::Cloud::AIPlatform::V1::Model>]
|
188
|
+
# List of Model versions in the requested page.
|
189
|
+
# In the returned Model name field, version ID instead of regvision tag will
|
190
|
+
# be included.
|
191
|
+
# @!attribute [rw] next_page_token
|
192
|
+
# @return [::String]
|
193
|
+
# A token to retrieve the next page of results.
|
194
|
+
# Pass to {::Google::Cloud::AIPlatform::V1::ListModelVersionsRequest#page_token ListModelVersionsRequest.page_token} to obtain that page.
|
195
|
+
class ListModelVersionsResponse
|
196
|
+
include ::Google::Protobuf::MessageExts
|
197
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
198
|
+
end
|
199
|
+
|
128
200
|
# Request message for {::Google::Cloud::AIPlatform::V1::ModelService::Client#update_model ModelService.UpdateModel}.
|
129
201
|
# @!attribute [rw] model
|
130
202
|
# @return [::Google::Cloud::AIPlatform::V1::Model]
|
@@ -165,10 +237,50 @@ module Google
|
|
165
237
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
166
238
|
end
|
167
239
|
|
240
|
+
# Request message for {::Google::Cloud::AIPlatform::V1::ModelService::Client#delete_model_version ModelService.DeleteModelVersion}.
|
241
|
+
# @!attribute [rw] name
|
242
|
+
# @return [::String]
|
243
|
+
# Required. The name of the model version to be deleted, with a version ID explicitly
|
244
|
+
# included.
|
245
|
+
#
|
246
|
+
# Example: `projects/{project}/locations/{location}/models/{model}@1234`
|
247
|
+
class DeleteModelVersionRequest
|
248
|
+
include ::Google::Protobuf::MessageExts
|
249
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
250
|
+
end
|
251
|
+
|
252
|
+
# Request message for {::Google::Cloud::AIPlatform::V1::ModelService::Client#merge_version_aliases ModelService.MergeVersionAliases}.
|
253
|
+
# @!attribute [rw] name
|
254
|
+
# @return [::String]
|
255
|
+
# Required. The name of the model version to merge aliases, with a version ID
|
256
|
+
# explicitly included.
|
257
|
+
#
|
258
|
+
# Example: `projects/{project}/locations/{location}/models/{model}@1234`
|
259
|
+
# @!attribute [rw] version_aliases
|
260
|
+
# @return [::Array<::String>]
|
261
|
+
# Required. The set of version aliases to merge.
|
262
|
+
# The alias should be at most 128 characters, and match
|
263
|
+
# `[a-z][a-z0-9-]{0,126}[a-z-0-9]`.
|
264
|
+
# Add the `-` prefix to an alias means removing that alias from the version.
|
265
|
+
# `-` is NOT counted in the 128 characters. Example: `-golden` means removing
|
266
|
+
# the `golden` alias from the version.
|
267
|
+
#
|
268
|
+
# There is NO ordering in aliases, which means
|
269
|
+
# 1) The aliases returned from GetModel API might not have the exactly same
|
270
|
+
# order from this MergeVersionAliases API. 2) Adding and deleting the same
|
271
|
+
# alias in the request is not recommended, and the 2 operations will be
|
272
|
+
# cancelled out.
|
273
|
+
class MergeVersionAliasesRequest
|
274
|
+
include ::Google::Protobuf::MessageExts
|
275
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
276
|
+
end
|
277
|
+
|
168
278
|
# Request message for {::Google::Cloud::AIPlatform::V1::ModelService::Client#export_model ModelService.ExportModel}.
|
169
279
|
# @!attribute [rw] name
|
170
280
|
# @return [::String]
|
171
281
|
# Required. The resource name of the Model to export.
|
282
|
+
# The resource name may contain version id or version alias to specify the
|
283
|
+
# version, if no version is specified, the default version will be exported.
|
172
284
|
# @!attribute [rw] output_config
|
173
285
|
# @return [::Google::Cloud::AIPlatform::V1::ExportModelRequest::OutputConfig]
|
174
286
|
# Required. The desired output location and configuration.
|
@@ -0,0 +1,45 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# Copyright 2022 Google LLC
|
4
|
+
#
|
5
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
6
|
+
# you may not use this file except in compliance with the License.
|
7
|
+
# You may obtain a copy of the License at
|
8
|
+
#
|
9
|
+
# https://www.apache.org/licenses/LICENSE-2.0
|
10
|
+
#
|
11
|
+
# Unless required by applicable law or agreed to in writing, software
|
12
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
13
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
14
|
+
# See the License for the specific language governing permissions and
|
15
|
+
# limitations under the License.
|
16
|
+
|
17
|
+
# Auto-generated by gapic-generator-ruby. DO NOT EDIT!
|
18
|
+
|
19
|
+
|
20
|
+
module Google
|
21
|
+
module Cloud
|
22
|
+
module AIPlatform
|
23
|
+
module V1
|
24
|
+
# Reperesents the failure policy of a pipeline. Currently, the default of a
|
25
|
+
# pipeline is that the pipeline will continue to run until no more tasks can be
|
26
|
+
# executed, also known as PIPELINE_FAILURE_POLICY_FAIL_SLOW. However, if a
|
27
|
+
# pipeline is set to PIPELINE_FAILURE_POLICY_FAIL_FAST, it will stop scheduling
|
28
|
+
# any new tasks when a task has failed. Any scheduled tasks will continue to
|
29
|
+
# completion.
|
30
|
+
module PipelineFailurePolicy
|
31
|
+
# Default value, and follows fail slow behavior.
|
32
|
+
PIPELINE_FAILURE_POLICY_UNSPECIFIED = 0
|
33
|
+
|
34
|
+
# Indicates that the pipeline should continue to run until all possible
|
35
|
+
# tasks have been scheduled and completed.
|
36
|
+
PIPELINE_FAILURE_POLICY_FAIL_SLOW = 1
|
37
|
+
|
38
|
+
# Indicates that the pipeline should stop scheduling new tasks after a task
|
39
|
+
# has failed.
|
40
|
+
PIPELINE_FAILURE_POLICY_FAIL_FAST = 2
|
41
|
+
end
|
42
|
+
end
|
43
|
+
end
|
44
|
+
end
|
45
|
+
end
|
@@ -97,6 +97,14 @@ module Google
|
|
97
97
|
# being launched, if applied, such as Vertex AI
|
98
98
|
# Training or Dataflow job. If left unspecified, the workload is not peered
|
99
99
|
# with any network.
|
100
|
+
# @!attribute [rw] template_uri
|
101
|
+
# @return [::String]
|
102
|
+
# A template uri from where the {::Google::Cloud::AIPlatform::V1::PipelineJob#pipeline_spec PipelineJob.pipeline_spec}, if empty, will
|
103
|
+
# be downloaded.
|
104
|
+
# @!attribute [r] template_metadata
|
105
|
+
# @return [::Google::Cloud::AIPlatform::V1::PipelineTemplateMetadata]
|
106
|
+
# Output only. Pipeline template metadata. Will fill up fields if
|
107
|
+
# {::Google::Cloud::AIPlatform::V1::PipelineJob#template_uri PipelineJob.template_uri} is from supported template registry.
|
100
108
|
class PipelineJob
|
101
109
|
include ::Google::Protobuf::MessageExts
|
102
110
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -126,6 +134,14 @@ module Google
|
|
126
134
|
# at runtime. This field is used by pipelines built using
|
127
135
|
# `PipelineJob.pipeline_spec.schema_version` 2.1.0, such as pipelines built
|
128
136
|
# using Kubeflow Pipelines SDK 1.9 or higher and the v2 DSL.
|
137
|
+
# @!attribute [rw] failure_policy
|
138
|
+
# @return [::Google::Cloud::AIPlatform::V1::PipelineFailurePolicy]
|
139
|
+
# Represents the failure policy of a pipeline. Currently, the default of a
|
140
|
+
# pipeline is that the pipeline will continue to run until no more tasks
|
141
|
+
# can be executed, also known as PIPELINE_FAILURE_POLICY_FAIL_SLOW.
|
142
|
+
# However, if a pipeline is set to PIPELINE_FAILURE_POLICY_FAIL_FAST, it
|
143
|
+
# will stop scheduling any new tasks when a task has failed. Any scheduled
|
144
|
+
# tasks will continue to completion.
|
129
145
|
class RuntimeConfig
|
130
146
|
include ::Google::Protobuf::MessageExts
|
131
147
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
@@ -159,6 +175,22 @@ module Google
|
|
159
175
|
end
|
160
176
|
end
|
161
177
|
|
178
|
+
# Pipeline template metadata if {::Google::Cloud::AIPlatform::V1::PipelineJob#template_uri PipelineJob.template_uri} is from supported
|
179
|
+
# template registry. Currently, the only supported registry is Artifact
|
180
|
+
# Registry.
|
181
|
+
# @!attribute [rw] version
|
182
|
+
# @return [::String]
|
183
|
+
# The version_name in artifact registry.
|
184
|
+
#
|
185
|
+
# Will always be presented in output if the {::Google::Cloud::AIPlatform::V1::PipelineJob#template_uri PipelineJob.template_uri} is
|
186
|
+
# from supported template registry.
|
187
|
+
#
|
188
|
+
# Format is "sha256:abcdef123456...".
|
189
|
+
class PipelineTemplateMetadata
|
190
|
+
include ::Google::Protobuf::MessageExts
|
191
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
192
|
+
end
|
193
|
+
|
162
194
|
# The runtime detail of PipelineJob.
|
163
195
|
# @!attribute [r] pipeline_context
|
164
196
|
# @return [::Google::Cloud::AIPlatform::V1::Context]
|
@@ -176,7 +176,7 @@ module Google
|
|
176
176
|
# Values must be in RFC 3339 format.
|
177
177
|
# * `labels`: Supports key-value equality and key presence.
|
178
178
|
# * `template_uri`: Supports `=`, `!=` comparisons, and `:` wildcard.
|
179
|
-
# * `template_metadata.
|
179
|
+
# * `template_metadata.version`: Supports `=`, `!=` comparisons, and `:`
|
180
180
|
# wildcard.
|
181
181
|
#
|
182
182
|
# Filter expressions can be combined together using logical operators
|
@@ -77,6 +77,17 @@ module Google
|
|
77
77
|
# model_to_upload's resource {::Google::Cloud::AIPlatform::V1::Model#name name} is populated. The Model
|
78
78
|
# is always uploaded into the Project and Location in which this pipeline
|
79
79
|
# is.
|
80
|
+
# @!attribute [rw] model_id
|
81
|
+
# @return [::String]
|
82
|
+
# Optional. The ID to use for the uploaded Model, which will become the final
|
83
|
+
# component of the model resource name.
|
84
|
+
#
|
85
|
+
# This value may be up to 63 characters, and valid characters are
|
86
|
+
# `[a-z0-9_-]`. The first character cannot be a number or hyphen.
|
87
|
+
# @!attribute [rw] parent_model
|
88
|
+
# @return [::String]
|
89
|
+
# Optional. When specify this field, the `model_to_upload` will not be uploaded as a
|
90
|
+
# new model, instead, it will become a new version of this `parent_model`.
|
80
91
|
# @!attribute [r] state
|
81
92
|
# @return [::Google::Cloud::AIPlatform::V1::PipelineState]
|
82
93
|
# Output only. The detailed state of the pipeline.
|
@@ -0,0 +1,75 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
|
3
|
+
# Copyright 2022 Google LLC
|
4
|
+
#
|
5
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
6
|
+
# you may not use this file except in compliance with the License.
|
7
|
+
# You may obtain a copy of the License at
|
8
|
+
#
|
9
|
+
# https://www.apache.org/licenses/LICENSE-2.0
|
10
|
+
#
|
11
|
+
# Unless required by applicable law or agreed to in writing, software
|
12
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
13
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
14
|
+
# See the License for the specific language governing permissions and
|
15
|
+
# limitations under the License.
|
16
|
+
|
17
|
+
# Auto-generated by gapic-generator-ruby. DO NOT EDIT!
|
18
|
+
|
19
|
+
|
20
|
+
module Google
|
21
|
+
module Type
|
22
|
+
# Represents a textual expression in the Common Expression Language (CEL)
|
23
|
+
# syntax. CEL is a C-like expression language. The syntax and semantics of CEL
|
24
|
+
# are documented at https://github.com/google/cel-spec.
|
25
|
+
#
|
26
|
+
# Example (Comparison):
|
27
|
+
#
|
28
|
+
# title: "Summary size limit"
|
29
|
+
# description: "Determines if a summary is less than 100 chars"
|
30
|
+
# expression: "document.summary.size() < 100"
|
31
|
+
#
|
32
|
+
# Example (Equality):
|
33
|
+
#
|
34
|
+
# title: "Requestor is owner"
|
35
|
+
# description: "Determines if requestor is the document owner"
|
36
|
+
# expression: "document.owner == request.auth.claims.email"
|
37
|
+
#
|
38
|
+
# Example (Logic):
|
39
|
+
#
|
40
|
+
# title: "Public documents"
|
41
|
+
# description: "Determine whether the document should be publicly visible"
|
42
|
+
# expression: "document.type != 'private' && document.type != 'internal'"
|
43
|
+
#
|
44
|
+
# Example (Data Manipulation):
|
45
|
+
#
|
46
|
+
# title: "Notification string"
|
47
|
+
# description: "Create a notification string with a timestamp."
|
48
|
+
# expression: "'New message received at ' + string(document.create_time)"
|
49
|
+
#
|
50
|
+
# The exact variables and functions that may be referenced within an expression
|
51
|
+
# are determined by the service that evaluates it. See the service
|
52
|
+
# documentation for additional information.
|
53
|
+
# @!attribute [rw] expression
|
54
|
+
# @return [::String]
|
55
|
+
# Textual representation of an expression in Common Expression Language
|
56
|
+
# syntax.
|
57
|
+
# @!attribute [rw] title
|
58
|
+
# @return [::String]
|
59
|
+
# Optional. Title for the expression, i.e. a short string describing
|
60
|
+
# its purpose. This can be used e.g. in UIs which allow to enter the
|
61
|
+
# expression.
|
62
|
+
# @!attribute [rw] description
|
63
|
+
# @return [::String]
|
64
|
+
# Optional. Description of the expression. This is a longer text which
|
65
|
+
# describes the expression, e.g. when hovered over it in a UI.
|
66
|
+
# @!attribute [rw] location
|
67
|
+
# @return [::String]
|
68
|
+
# Optional. String indicating the location of the expression for error
|
69
|
+
# reporting, e.g. a file name and a position in the file.
|
70
|
+
class Expr
|
71
|
+
include ::Google::Protobuf::MessageExts
|
72
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
73
|
+
end
|
74
|
+
end
|
75
|
+
end
|
metadata
CHANGED
@@ -1,14 +1,14 @@
|
|
1
1
|
--- !ruby/object:Gem::Specification
|
2
2
|
name: google-cloud-ai_platform-v1
|
3
3
|
version: !ruby/object:Gem::Version
|
4
|
-
version: 0.
|
4
|
+
version: 0.7.0
|
5
5
|
platform: ruby
|
6
6
|
authors:
|
7
7
|
- Google LLC
|
8
8
|
autorequire:
|
9
9
|
bindir: bin
|
10
10
|
cert_chain: []
|
11
|
-
date: 2022-
|
11
|
+
date: 2022-06-17 00:00:00.000000000 Z
|
12
12
|
dependencies:
|
13
13
|
- !ruby/object:Gem::Dependency
|
14
14
|
name: gapic-common
|
@@ -44,6 +44,46 @@ dependencies:
|
|
44
44
|
- - "~>"
|
45
45
|
- !ruby/object:Gem::Version
|
46
46
|
version: '1.0'
|
47
|
+
- !ruby/object:Gem::Dependency
|
48
|
+
name: google-cloud-location
|
49
|
+
requirement: !ruby/object:Gem::Requirement
|
50
|
+
requirements:
|
51
|
+
- - ">="
|
52
|
+
- !ruby/object:Gem::Version
|
53
|
+
version: '0.0'
|
54
|
+
- - "<"
|
55
|
+
- !ruby/object:Gem::Version
|
56
|
+
version: 2.a
|
57
|
+
type: :runtime
|
58
|
+
prerelease: false
|
59
|
+
version_requirements: !ruby/object:Gem::Requirement
|
60
|
+
requirements:
|
61
|
+
- - ">="
|
62
|
+
- !ruby/object:Gem::Version
|
63
|
+
version: '0.0'
|
64
|
+
- - "<"
|
65
|
+
- !ruby/object:Gem::Version
|
66
|
+
version: 2.a
|
67
|
+
- !ruby/object:Gem::Dependency
|
68
|
+
name: google-iam-v1
|
69
|
+
requirement: !ruby/object:Gem::Requirement
|
70
|
+
requirements:
|
71
|
+
- - ">="
|
72
|
+
- !ruby/object:Gem::Version
|
73
|
+
version: '0.0'
|
74
|
+
- - "<"
|
75
|
+
- !ruby/object:Gem::Version
|
76
|
+
version: 2.a
|
77
|
+
type: :runtime
|
78
|
+
prerelease: false
|
79
|
+
version_requirements: !ruby/object:Gem::Requirement
|
80
|
+
requirements:
|
81
|
+
- - ">="
|
82
|
+
- !ruby/object:Gem::Version
|
83
|
+
version: '0.0'
|
84
|
+
- - "<"
|
85
|
+
- !ruby/object:Gem::Version
|
86
|
+
version: 2.a
|
47
87
|
- !ruby/object:Gem::Dependency
|
48
88
|
name: google-style
|
49
89
|
requirement: !ruby/object:Gem::Requirement
|
@@ -309,6 +349,7 @@ files:
|
|
309
349
|
- lib/google/cloud/aiplatform/v1/model_service_pb.rb
|
310
350
|
- lib/google/cloud/aiplatform/v1/model_service_services_pb.rb
|
311
351
|
- lib/google/cloud/aiplatform/v1/operation_pb.rb
|
352
|
+
- lib/google/cloud/aiplatform/v1/pipeline_failure_policy_pb.rb
|
312
353
|
- lib/google/cloud/aiplatform/v1/pipeline_job_pb.rb
|
313
354
|
- lib/google/cloud/aiplatform/v1/pipeline_service_pb.rb
|
314
355
|
- lib/google/cloud/aiplatform/v1/pipeline_service_services_pb.rb
|
@@ -390,6 +431,7 @@ files:
|
|
390
431
|
- proto_docs/google/cloud/aiplatform/v1/model_monitoring.rb
|
391
432
|
- proto_docs/google/cloud/aiplatform/v1/model_service.rb
|
392
433
|
- proto_docs/google/cloud/aiplatform/v1/operation.rb
|
434
|
+
- proto_docs/google/cloud/aiplatform/v1/pipeline_failure_policy.rb
|
393
435
|
- proto_docs/google/cloud/aiplatform/v1/pipeline_job.rb
|
394
436
|
- proto_docs/google/cloud/aiplatform/v1/pipeline_service.rb
|
395
437
|
- proto_docs/google/cloud/aiplatform/v1/pipeline_state.rb
|
@@ -454,6 +496,7 @@ files:
|
|
454
496
|
- proto_docs/google/protobuf/timestamp.rb
|
455
497
|
- proto_docs/google/protobuf/wrappers.rb
|
456
498
|
- proto_docs/google/rpc/status.rb
|
499
|
+
- proto_docs/google/type/expr.rb
|
457
500
|
- proto_docs/google/type/money.rb
|
458
501
|
homepage: https://github.com/googleapis/google-cloud-ruby
|
459
502
|
licenses:
|
@@ -474,7 +517,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
|
|
474
517
|
- !ruby/object:Gem::Version
|
475
518
|
version: '0'
|
476
519
|
requirements: []
|
477
|
-
rubygems_version: 3.3.
|
520
|
+
rubygems_version: 3.3.14
|
478
521
|
signing_key:
|
479
522
|
specification_version: 4
|
480
523
|
summary: API Client library for the Vertex AI V1 API
|