google-cloud-ai_platform-v1 0.4.0 → 0.5.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: 4d3a031291b6d75ce29c3fb90b346fad3b83196e43c249dcf335d10099393c70
4
- data.tar.gz: 1102138ac5f6612da7398bf94bc04a1bc3415b0eeeee62d06525e90b5d9b4e3b
3
+ metadata.gz: 385fa6ee4cbc3d3cf1b5a0191433b8676c488d9185a3117ee9f898f018800749
4
+ data.tar.gz: c6f72cd006e7869f50a729dd59e22cfd3537ee5e187f395b390626a8a0702c8d
5
5
  SHA512:
6
- metadata.gz: 776b16a94996b8a4bae868a6a373f0166624d59a724e787783ed97660672901f7e6b5557a4c6d9c0a282cdfa1203f18512e52d6d6bae89b9ab315b41b5ae2793
7
- data.tar.gz: 2c68b8cdc5cc9492e75f3cc1b7de822bfc63e0c5608c29787206a855aa97b9beec7fdb1c61fabffe90d7cb790166e57cb819f95aa0fbdb4726304eddb2df7d8f
6
+ metadata.gz: 776dc3013ea32ec71f47e130e20ac10a6340ad8fa1022a5944623141e9fbf380475f0a776e6b25662861108a3acce193df02547f5f5f17fdb35e155ab394b313
7
+ data.tar.gz: c0793cb7fbdd91dde4a2a79d7853d2ab30dfc0682410ea9c4eaac7bba6c45e80d44f4ca5624cabb6014b5d9d90cbc17bba51bfe971d75eb613c9118dc316355a
@@ -866,7 +866,7 @@ module Google
866
866
  # Values must be in RFC 3339 format.
867
867
  # * `labels`: Supports key-value equality and key presence.
868
868
  # * `template_uri`: Supports `=`, `!=` comparisons, and `:` wildcard.
869
- # * `template_metadata.version_name`: Supports `=`, `!=` comparisons, and `:`
869
+ # * `template_metadata.version`: Supports `=`, `!=` comparisons, and `:`
870
870
  # wildcard.
871
871
  #
872
872
  # Filter expressions can be combined together using logical operators
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module AIPlatform
23
23
  module V1
24
- VERSION = "0.4.0"
24
+ VERSION = "0.5.0"
25
25
  end
26
26
  end
27
27
  end
@@ -12,6 +12,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
12
12
  map :inputs, :string, :message, 1, "google.cloud.aiplatform.v1.ExplanationMetadata.InputMetadata"
13
13
  map :outputs, :string, :message, 2, "google.cloud.aiplatform.v1.ExplanationMetadata.OutputMetadata"
14
14
  optional :feature_attributions_schema_uri, :string, 3
15
+ optional :latent_space_source, :string, 5
15
16
  end
16
17
  add_message "google.cloud.aiplatform.v1.ExplanationMetadata.InputMetadata" do
17
18
  repeated :input_baselines, :message, 1, "google.protobuf.Value"
@@ -22,6 +22,11 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
22
22
  end
23
23
  add_message "google.cloud.aiplatform.v1.Featurestore.OnlineServingConfig" do
24
24
  optional :fixed_node_count, :int32, 2
25
+ optional :scaling, :message, 4, "google.cloud.aiplatform.v1.Featurestore.OnlineServingConfig.Scaling"
26
+ end
27
+ add_message "google.cloud.aiplatform.v1.Featurestore.OnlineServingConfig.Scaling" do
28
+ optional :min_node_count, :int32, 1
29
+ optional :max_node_count, :int32, 2
25
30
  end
26
31
  add_enum "google.cloud.aiplatform.v1.Featurestore.State" do
27
32
  value :STATE_UNSPECIFIED, 0
@@ -37,6 +42,7 @@ module Google
37
42
  module V1
38
43
  Featurestore = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.Featurestore").msgclass
39
44
  Featurestore::OnlineServingConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.Featurestore.OnlineServingConfig").msgclass
45
+ Featurestore::OnlineServingConfig::Scaling = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.Featurestore.OnlineServingConfig.Scaling").msgclass
40
46
  Featurestore::State = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.Featurestore.State").enummodule
41
47
  end
42
48
  end
@@ -0,0 +1,24 @@
1
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ # source: google/cloud/aiplatform/v1/pipeline_failure_policy.proto
3
+
4
+ require 'google/protobuf'
5
+
6
+ Google::Protobuf::DescriptorPool.generated_pool.build do
7
+ add_file("google/cloud/aiplatform/v1/pipeline_failure_policy.proto", :syntax => :proto3) do
8
+ add_enum "google.cloud.aiplatform.v1.PipelineFailurePolicy" do
9
+ value :PIPELINE_FAILURE_POLICY_UNSPECIFIED, 0
10
+ value :PIPELINE_FAILURE_POLICY_FAIL_SLOW, 1
11
+ value :PIPELINE_FAILURE_POLICY_FAIL_FAST, 2
12
+ end
13
+ end
14
+ end
15
+
16
+ module Google
17
+ module Cloud
18
+ module AIPlatform
19
+ module V1
20
+ PipelineFailurePolicy = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.PipelineFailurePolicy").enummodule
21
+ end
22
+ end
23
+ end
24
+ end
@@ -9,6 +9,7 @@ require 'google/cloud/aiplatform/v1/artifact_pb'
9
9
  require 'google/cloud/aiplatform/v1/context_pb'
10
10
  require 'google/cloud/aiplatform/v1/encryption_spec_pb'
11
11
  require 'google/cloud/aiplatform/v1/execution_pb'
12
+ require 'google/cloud/aiplatform/v1/pipeline_failure_policy_pb'
12
13
  require 'google/cloud/aiplatform/v1/pipeline_state_pb'
13
14
  require 'google/cloud/aiplatform/v1/value_pb'
14
15
  require 'google/protobuf/struct_pb'
@@ -33,11 +34,17 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
33
34
  optional :encryption_spec, :message, 16, "google.cloud.aiplatform.v1.EncryptionSpec"
34
35
  optional :service_account, :string, 17
35
36
  optional :network, :string, 18
37
+ optional :template_uri, :string, 19
38
+ optional :template_metadata, :message, 20, "google.cloud.aiplatform.v1.PipelineTemplateMetadata"
36
39
  end
37
40
  add_message "google.cloud.aiplatform.v1.PipelineJob.RuntimeConfig" do
38
41
  map :parameters, :string, :message, 1, "google.cloud.aiplatform.v1.Value"
39
42
  optional :gcs_output_directory, :string, 2
40
43
  map :parameter_values, :string, :message, 3, "google.protobuf.Value"
44
+ optional :failure_policy, :enum, 4, "google.cloud.aiplatform.v1.PipelineFailurePolicy"
45
+ end
46
+ add_message "google.cloud.aiplatform.v1.PipelineTemplateMetadata" do
47
+ optional :version, :string, 3
41
48
  end
42
49
  add_message "google.cloud.aiplatform.v1.PipelineJobDetail" do
43
50
  optional :pipeline_context, :message, 1, "google.cloud.aiplatform.v1.Context"
@@ -101,6 +108,7 @@ module Google
101
108
  module V1
102
109
  PipelineJob = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.PipelineJob").msgclass
103
110
  PipelineJob::RuntimeConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.PipelineJob.RuntimeConfig").msgclass
111
+ PipelineTemplateMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.PipelineTemplateMetadata").msgclass
104
112
  PipelineJobDetail = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.PipelineJobDetail").msgclass
105
113
  PipelineTaskDetail = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.PipelineTaskDetail").msgclass
106
114
  PipelineTaskDetail::PipelineTaskStatus = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.PipelineTaskDetail.PipelineTaskStatus").msgclass
@@ -146,8 +146,8 @@ module Google
146
146
  # This value should be 1-10 characters, and valid characters are /[0-9]/.
147
147
  # @!attribute [rw] model
148
148
  # @return [::String]
149
- # Required. The name of the Model that this is the deployment of. Note that the Model
150
- # may be in a different location than the DeployedModel's Endpoint.
149
+ # Required. The resource name of the Model that this is the deployment of. Note that
150
+ # the Model may be in a different location than the DeployedModel's Endpoint.
151
151
  # @!attribute [rw] display_name
152
152
  # @return [::String]
153
153
  # The display name of the DeployedModel. If not provided upon creation,
@@ -59,6 +59,9 @@ module Google
59
59
  # Note: The URI given on output may be different, including the URI scheme,
60
60
  # than the one given on input. The output URI will point to a location where
61
61
  # the user only has a read access.
62
+ # @!attribute [rw] latent_space_source
63
+ # @return [::String]
64
+ # Name of the source to generate embeddings for example based explanations.
62
65
  class ExplanationMetadata
63
66
  include ::Google::Protobuf::MessageExts
64
67
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -74,9 +74,30 @@ module Google
74
74
  # scale automatically, but you can manually update the number of
75
75
  # nodes. If set to 0, the featurestore will not have an
76
76
  # online store and cannot be used for online serving.
77
+ # @!attribute [rw] scaling
78
+ # @return [::Google::Cloud::AIPlatform::V1::Featurestore::OnlineServingConfig::Scaling]
79
+ # Online serving scaling configuration.
80
+ # Only one of `fixed_node_count` and `scaling` can be set. Setting one will
81
+ # reset the other.
77
82
  class OnlineServingConfig
78
83
  include ::Google::Protobuf::MessageExts
79
84
  extend ::Google::Protobuf::MessageExts::ClassMethods
85
+
86
+ # Online serving scaling configuration. If min_node_count and
87
+ # max_node_count are set to the same value, the cluster will be configured
88
+ # with the fixed number of node (no auto-scaling).
89
+ # @!attribute [rw] min_node_count
90
+ # @return [::Integer]
91
+ # Required. The minimum number of nodes to scale down to. Must be greater than or
92
+ # equal to 1.
93
+ # @!attribute [rw] max_node_count
94
+ # @return [::Integer]
95
+ # The maximum number of nodes to scale up to. Must be greater than
96
+ # min_node_count, and less than or equal to 10 times of 'min_node_count'.
97
+ class Scaling
98
+ include ::Google::Protobuf::MessageExts
99
+ extend ::Google::Protobuf::MessageExts::ClassMethods
100
+ end
80
101
  end
81
102
 
82
103
  # @!attribute [rw] key
@@ -139,7 +139,7 @@ module Google
139
139
  end
140
140
 
141
141
  # Value for a feature.
142
- # NEXT ID: 15
142
+ # (-- NEXT ID: 15 --)
143
143
  # @!attribute [rw] bool_value
144
144
  # @return [::Boolean]
145
145
  # Bool type feature value.
@@ -30,7 +30,7 @@ module Google
30
30
  # speeds up the batch operation's execution, but too high value will result
31
31
  # in a whole batch not fitting in a machine's memory, and the whole
32
32
  # operation will fail.
33
- # The default value is 4.
33
+ # The default value is 64.
34
34
  class ManualBatchTuningParameters
35
35
  include ::Google::Protobuf::MessageExts
36
36
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -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.
@@ -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
+ # Represents 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.version_name`: Supports `=`, `!=` comparisons, and `:`
179
+ # * `template_metadata.version`: Supports `=`, `!=` comparisons, and `:`
180
180
  # wildcard.
181
181
  #
182
182
  # Filter expressions can be combined together using logical operators
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.0
4
+ version: 0.5.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-05-13 00:00:00.000000000 Z
11
+ date: 2022-05-26 00:00:00.000000000 Z
12
12
  dependencies:
13
13
  - !ruby/object:Gem::Dependency
14
14
  name: gapic-common
@@ -309,6 +309,7 @@ files:
309
309
  - lib/google/cloud/aiplatform/v1/model_service_pb.rb
310
310
  - lib/google/cloud/aiplatform/v1/model_service_services_pb.rb
311
311
  - lib/google/cloud/aiplatform/v1/operation_pb.rb
312
+ - lib/google/cloud/aiplatform/v1/pipeline_failure_policy_pb.rb
312
313
  - lib/google/cloud/aiplatform/v1/pipeline_job_pb.rb
313
314
  - lib/google/cloud/aiplatform/v1/pipeline_service_pb.rb
314
315
  - lib/google/cloud/aiplatform/v1/pipeline_service_services_pb.rb
@@ -390,6 +391,7 @@ files:
390
391
  - proto_docs/google/cloud/aiplatform/v1/model_monitoring.rb
391
392
  - proto_docs/google/cloud/aiplatform/v1/model_service.rb
392
393
  - proto_docs/google/cloud/aiplatform/v1/operation.rb
394
+ - proto_docs/google/cloud/aiplatform/v1/pipeline_failure_policy.rb
393
395
  - proto_docs/google/cloud/aiplatform/v1/pipeline_job.rb
394
396
  - proto_docs/google/cloud/aiplatform/v1/pipeline_service.rb
395
397
  - proto_docs/google/cloud/aiplatform/v1/pipeline_state.rb
@@ -474,7 +476,7 @@ required_rubygems_version: !ruby/object:Gem::Requirement
474
476
  - !ruby/object:Gem::Version
475
477
  version: '0'
476
478
  requirements: []
477
- rubygems_version: 3.3.5
479
+ rubygems_version: 3.3.14
478
480
  signing_key:
479
481
  specification_version: 4
480
482
  summary: API Client library for the Vertex AI V1 API