google-cloud-ai_platform-v1 0.5.0 → 0.6.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (37) hide show
  1. checksums.yaml +4 -4
  2. data/lib/google/cloud/ai_platform/v1/dataset_service/client.rb +28 -0
  3. data/lib/google/cloud/ai_platform/v1/endpoint_service/client.rb +28 -0
  4. data/lib/google/cloud/ai_platform/v1/featurestore_online_serving_service/client.rb +28 -0
  5. data/lib/google/cloud/ai_platform/v1/featurestore_service/client.rb +29 -0
  6. data/lib/google/cloud/ai_platform/v1/index_endpoint_service/client.rb +28 -0
  7. data/lib/google/cloud/ai_platform/v1/index_service/client.rb +28 -0
  8. data/lib/google/cloud/ai_platform/v1/job_service/client.rb +28 -0
  9. data/lib/google/cloud/ai_platform/v1/metadata_service/client.rb +28 -0
  10. data/lib/google/cloud/ai_platform/v1/migration_service/client.rb +28 -0
  11. data/lib/google/cloud/ai_platform/v1/model_service/client.rb +384 -1
  12. data/lib/google/cloud/ai_platform/v1/pipeline_service/client.rb +28 -0
  13. data/lib/google/cloud/ai_platform/v1/prediction_service/client.rb +28 -0
  14. data/lib/google/cloud/ai_platform/v1/specialist_pool_service/client.rb +28 -0
  15. data/lib/google/cloud/ai_platform/v1/tensorboard_service/client.rb +28 -0
  16. data/lib/google/cloud/ai_platform/v1/version.rb +1 -1
  17. data/lib/google/cloud/ai_platform/v1/vizier_service/client.rb +28 -0
  18. data/lib/google/cloud/aiplatform/v1/completion_stats_pb.rb +1 -0
  19. data/lib/google/cloud/aiplatform/v1/explanation_pb.rb +27 -0
  20. data/lib/google/cloud/aiplatform/v1/model_deployment_monitoring_job_pb.rb +1 -0
  21. data/lib/google/cloud/aiplatform/v1/model_pb.rb +5 -0
  22. data/lib/google/cloud/aiplatform/v1/model_service_pb.rb +24 -0
  23. data/lib/google/cloud/aiplatform/v1/model_service_services_pb.rb +10 -0
  24. data/lib/google/cloud/aiplatform/v1/training_pipeline_pb.rb +2 -0
  25. data/proto_docs/google/cloud/aiplatform/v1/batch_prediction_job.rb +3 -0
  26. data/proto_docs/google/cloud/aiplatform/v1/completion_stats.rb +4 -0
  27. data/proto_docs/google/cloud/aiplatform/v1/endpoint.rb +3 -0
  28. data/proto_docs/google/cloud/aiplatform/v1/explanation.rb +69 -0
  29. data/proto_docs/google/cloud/aiplatform/v1/featurestore_online_service.rb +0 -1
  30. data/proto_docs/google/cloud/aiplatform/v1/featurestore_service.rb +1 -0
  31. data/proto_docs/google/cloud/aiplatform/v1/model.rb +26 -0
  32. data/proto_docs/google/cloud/aiplatform/v1/model_deployment_monitoring_job.rb +10 -0
  33. data/proto_docs/google/cloud/aiplatform/v1/model_service.rb +109 -0
  34. data/proto_docs/google/cloud/aiplatform/v1/pipeline_failure_policy.rb +1 -1
  35. data/proto_docs/google/cloud/aiplatform/v1/training_pipeline.rb +11 -0
  36. data/proto_docs/google/type/expr.rb +75 -0
  37. metadata +43 -2
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 385fa6ee4cbc3d3cf1b5a0191433b8676c488d9185a3117ee9f898f018800749
4
- data.tar.gz: c6f72cd006e7869f50a729dd59e22cfd3537ee5e187f395b390626a8a0702c8d
3
+ metadata.gz: 33122ce134f6fdcae158671f6030f39f7567eb86be57eef50c88d0cf4bf74d64
4
+ data.tar.gz: bbfe65c9d208a9932e59382e3ee8f65149e169b77bb3c173da01b442ceaf4223
5
5
  SHA512:
6
- metadata.gz: 776dc3013ea32ec71f47e130e20ac10a6340ad8fa1022a5944623141e9fbf380475f0a776e6b25662861108a3acce193df02547f5f5f17fdb35e155ab394b313
7
- data.tar.gz: c0793cb7fbdd91dde4a2a79d7853d2ab30dfc0682410ea9c4eaac7bba6c45e80d44f4ca5624cabb6014b5d9d90cbc17bba51bfe971d75eb613c9118dc316355a
6
+ metadata.gz: '0940e2486fc3105ed162a34bda592621e50c65cdeda3ffd0b3c9f34cc69b494520cb17d5db074ed361253add3a7cacc97f147d5facfc807d2c8fb54ecfd8ce77'
7
+ data.tar.gz: ddf2dc740944eecac604d25dd1ae650212f21b7ffe59ffe4fd012f05beb9541d36be3521c0d708813268a67766ca05bf032d2057505c03dfd5e42d985a3a35fd
@@ -18,6 +18,8 @@
18
18
 
19
19
  require "google/cloud/errors"
20
20
  require "google/cloud/aiplatform/v1/dataset_service_pb"
21
+ require "google/cloud/location"
22
+ require "google/iam/v1/iam_policy"
21
23
 
22
24
  module Google
23
25
  module Cloud
@@ -140,6 +142,18 @@ module Google
140
142
  config.endpoint = @config.endpoint
141
143
  end
142
144
 
145
+ @location_client = Google::Cloud::Location::Locations::Client.new do |config|
146
+ config.credentials = credentials
147
+ config.quota_project = @quota_project_id
148
+ config.endpoint = @config.endpoint
149
+ end
150
+
151
+ @iam_policy_client = Google::Iam::V1::IAMPolicy::Client.new do |config|
152
+ config.credentials = credentials
153
+ config.quota_project = @quota_project_id
154
+ config.endpoint = @config.endpoint
155
+ end
156
+
143
157
  @dataset_service_stub = ::Gapic::ServiceStub.new(
144
158
  ::Google::Cloud::AIPlatform::V1::DatasetService::Stub,
145
159
  credentials: credentials,
@@ -156,6 +170,20 @@ module Google
156
170
  #
157
171
  attr_reader :operations_client
158
172
 
173
+ ##
174
+ # Get the associated client for mix-in of the Locations.
175
+ #
176
+ # @return [Google::Cloud::Location::Locations::Client]
177
+ #
178
+ attr_reader :location_client
179
+
180
+ ##
181
+ # Get the associated client for mix-in of the IAMPolicy.
182
+ #
183
+ # @return [Google::Iam::V1::IAMPolicy::Client]
184
+ #
185
+ attr_reader :iam_policy_client
186
+
159
187
  # Service calls
160
188
 
161
189
  ##
@@ -18,6 +18,8 @@
18
18
 
19
19
  require "google/cloud/errors"
20
20
  require "google/cloud/aiplatform/v1/endpoint_service_pb"
21
+ require "google/cloud/location"
22
+ require "google/iam/v1/iam_policy"
21
23
 
22
24
  module Google
23
25
  module Cloud
@@ -139,6 +141,18 @@ module Google
139
141
  config.endpoint = @config.endpoint
140
142
  end
141
143
 
144
+ @location_client = Google::Cloud::Location::Locations::Client.new do |config|
145
+ config.credentials = credentials
146
+ config.quota_project = @quota_project_id
147
+ config.endpoint = @config.endpoint
148
+ end
149
+
150
+ @iam_policy_client = Google::Iam::V1::IAMPolicy::Client.new do |config|
151
+ config.credentials = credentials
152
+ config.quota_project = @quota_project_id
153
+ config.endpoint = @config.endpoint
154
+ end
155
+
142
156
  @endpoint_service_stub = ::Gapic::ServiceStub.new(
143
157
  ::Google::Cloud::AIPlatform::V1::EndpointService::Stub,
144
158
  credentials: credentials,
@@ -155,6 +169,20 @@ module Google
155
169
  #
156
170
  attr_reader :operations_client
157
171
 
172
+ ##
173
+ # Get the associated client for mix-in of the Locations.
174
+ #
175
+ # @return [Google::Cloud::Location::Locations::Client]
176
+ #
177
+ attr_reader :location_client
178
+
179
+ ##
180
+ # Get the associated client for mix-in of the IAMPolicy.
181
+ #
182
+ # @return [Google::Iam::V1::IAMPolicy::Client]
183
+ #
184
+ attr_reader :iam_policy_client
185
+
158
186
  # Service calls
159
187
 
160
188
  ##
@@ -18,6 +18,8 @@
18
18
 
19
19
  require "google/cloud/errors"
20
20
  require "google/cloud/aiplatform/v1/featurestore_online_service_pb"
21
+ require "google/cloud/location"
22
+ require "google/iam/v1/iam_policy"
21
23
 
22
24
  module Google
23
25
  module Cloud
@@ -133,6 +135,18 @@ module Google
133
135
  @quota_project_id = @config.quota_project
134
136
  @quota_project_id ||= credentials.quota_project_id if credentials.respond_to? :quota_project_id
135
137
 
138
+ @location_client = Google::Cloud::Location::Locations::Client.new do |config|
139
+ config.credentials = credentials
140
+ config.quota_project = @quota_project_id
141
+ config.endpoint = @config.endpoint
142
+ end
143
+
144
+ @iam_policy_client = Google::Iam::V1::IAMPolicy::Client.new do |config|
145
+ config.credentials = credentials
146
+ config.quota_project = @quota_project_id
147
+ config.endpoint = @config.endpoint
148
+ end
149
+
136
150
  @featurestore_online_serving_service_stub = ::Gapic::ServiceStub.new(
137
151
  ::Google::Cloud::AIPlatform::V1::FeaturestoreOnlineServingService::Stub,
138
152
  credentials: credentials,
@@ -142,6 +156,20 @@ module Google
142
156
  )
143
157
  end
144
158
 
159
+ ##
160
+ # Get the associated client for mix-in of the Locations.
161
+ #
162
+ # @return [Google::Cloud::Location::Locations::Client]
163
+ #
164
+ attr_reader :location_client
165
+
166
+ ##
167
+ # Get the associated client for mix-in of the IAMPolicy.
168
+ #
169
+ # @return [Google::Iam::V1::IAMPolicy::Client]
170
+ #
171
+ attr_reader :iam_policy_client
172
+
145
173
  # Service calls
146
174
 
147
175
  ##
@@ -18,6 +18,8 @@
18
18
 
19
19
  require "google/cloud/errors"
20
20
  require "google/cloud/aiplatform/v1/featurestore_service_pb"
21
+ require "google/cloud/location"
22
+ require "google/iam/v1/iam_policy"
21
23
 
22
24
  module Google
23
25
  module Cloud
@@ -139,6 +141,18 @@ module Google
139
141
  config.endpoint = @config.endpoint
140
142
  end
141
143
 
144
+ @location_client = Google::Cloud::Location::Locations::Client.new do |config|
145
+ config.credentials = credentials
146
+ config.quota_project = @quota_project_id
147
+ config.endpoint = @config.endpoint
148
+ end
149
+
150
+ @iam_policy_client = Google::Iam::V1::IAMPolicy::Client.new do |config|
151
+ config.credentials = credentials
152
+ config.quota_project = @quota_project_id
153
+ config.endpoint = @config.endpoint
154
+ end
155
+
142
156
  @featurestore_service_stub = ::Gapic::ServiceStub.new(
143
157
  ::Google::Cloud::AIPlatform::V1::FeaturestoreService::Stub,
144
158
  credentials: credentials,
@@ -155,6 +169,20 @@ module Google
155
169
  #
156
170
  attr_reader :operations_client
157
171
 
172
+ ##
173
+ # Get the associated client for mix-in of the Locations.
174
+ #
175
+ # @return [Google::Cloud::Location::Locations::Client]
176
+ #
177
+ attr_reader :location_client
178
+
179
+ ##
180
+ # Get the associated client for mix-in of the IAMPolicy.
181
+ #
182
+ # @return [Google::Iam::V1::IAMPolicy::Client]
183
+ #
184
+ attr_reader :iam_policy_client
185
+
158
186
  # Service calls
159
187
 
160
188
  ##
@@ -520,6 +548,7 @@ module Google
520
548
  #
521
549
  # * `labels`
522
550
  # * `online_serving_config.fixed_node_count`
551
+ # * `online_serving_config.scaling`
523
552
  #
524
553
  # @yield [response, operation] Access the result along with the RPC operation
525
554
  # @yieldparam response [::Gapic::Operation]
@@ -18,6 +18,8 @@
18
18
 
19
19
  require "google/cloud/errors"
20
20
  require "google/cloud/aiplatform/v1/index_endpoint_service_pb"
21
+ require "google/cloud/location"
22
+ require "google/iam/v1/iam_policy"
21
23
 
22
24
  module Google
23
25
  module Cloud
@@ -139,6 +141,18 @@ module Google
139
141
  config.endpoint = @config.endpoint
140
142
  end
141
143
 
144
+ @location_client = Google::Cloud::Location::Locations::Client.new do |config|
145
+ config.credentials = credentials
146
+ config.quota_project = @quota_project_id
147
+ config.endpoint = @config.endpoint
148
+ end
149
+
150
+ @iam_policy_client = Google::Iam::V1::IAMPolicy::Client.new do |config|
151
+ config.credentials = credentials
152
+ config.quota_project = @quota_project_id
153
+ config.endpoint = @config.endpoint
154
+ end
155
+
142
156
  @index_endpoint_service_stub = ::Gapic::ServiceStub.new(
143
157
  ::Google::Cloud::AIPlatform::V1::IndexEndpointService::Stub,
144
158
  credentials: credentials,
@@ -155,6 +169,20 @@ module Google
155
169
  #
156
170
  attr_reader :operations_client
157
171
 
172
+ ##
173
+ # Get the associated client for mix-in of the Locations.
174
+ #
175
+ # @return [Google::Cloud::Location::Locations::Client]
176
+ #
177
+ attr_reader :location_client
178
+
179
+ ##
180
+ # Get the associated client for mix-in of the IAMPolicy.
181
+ #
182
+ # @return [Google::Iam::V1::IAMPolicy::Client]
183
+ #
184
+ attr_reader :iam_policy_client
185
+
158
186
  # Service calls
159
187
 
160
188
  ##
@@ -18,6 +18,8 @@
18
18
 
19
19
  require "google/cloud/errors"
20
20
  require "google/cloud/aiplatform/v1/index_service_pb"
21
+ require "google/cloud/location"
22
+ require "google/iam/v1/iam_policy"
21
23
 
22
24
  module Google
23
25
  module Cloud
@@ -139,6 +141,18 @@ module Google
139
141
  config.endpoint = @config.endpoint
140
142
  end
141
143
 
144
+ @location_client = Google::Cloud::Location::Locations::Client.new do |config|
145
+ config.credentials = credentials
146
+ config.quota_project = @quota_project_id
147
+ config.endpoint = @config.endpoint
148
+ end
149
+
150
+ @iam_policy_client = Google::Iam::V1::IAMPolicy::Client.new do |config|
151
+ config.credentials = credentials
152
+ config.quota_project = @quota_project_id
153
+ config.endpoint = @config.endpoint
154
+ end
155
+
142
156
  @index_service_stub = ::Gapic::ServiceStub.new(
143
157
  ::Google::Cloud::AIPlatform::V1::IndexService::Stub,
144
158
  credentials: credentials,
@@ -155,6 +169,20 @@ module Google
155
169
  #
156
170
  attr_reader :operations_client
157
171
 
172
+ ##
173
+ # Get the associated client for mix-in of the Locations.
174
+ #
175
+ # @return [Google::Cloud::Location::Locations::Client]
176
+ #
177
+ attr_reader :location_client
178
+
179
+ ##
180
+ # Get the associated client for mix-in of the IAMPolicy.
181
+ #
182
+ # @return [Google::Iam::V1::IAMPolicy::Client]
183
+ #
184
+ attr_reader :iam_policy_client
185
+
158
186
  # Service calls
159
187
 
160
188
  ##
@@ -18,6 +18,8 @@
18
18
 
19
19
  require "google/cloud/errors"
20
20
  require "google/cloud/aiplatform/v1/job_service_pb"
21
+ require "google/cloud/location"
22
+ require "google/iam/v1/iam_policy"
21
23
 
22
24
  module Google
23
25
  module Cloud
@@ -139,6 +141,18 @@ module Google
139
141
  config.endpoint = @config.endpoint
140
142
  end
141
143
 
144
+ @location_client = Google::Cloud::Location::Locations::Client.new do |config|
145
+ config.credentials = credentials
146
+ config.quota_project = @quota_project_id
147
+ config.endpoint = @config.endpoint
148
+ end
149
+
150
+ @iam_policy_client = Google::Iam::V1::IAMPolicy::Client.new do |config|
151
+ config.credentials = credentials
152
+ config.quota_project = @quota_project_id
153
+ config.endpoint = @config.endpoint
154
+ end
155
+
142
156
  @job_service_stub = ::Gapic::ServiceStub.new(
143
157
  ::Google::Cloud::AIPlatform::V1::JobService::Stub,
144
158
  credentials: credentials,
@@ -155,6 +169,20 @@ module Google
155
169
  #
156
170
  attr_reader :operations_client
157
171
 
172
+ ##
173
+ # Get the associated client for mix-in of the Locations.
174
+ #
175
+ # @return [Google::Cloud::Location::Locations::Client]
176
+ #
177
+ attr_reader :location_client
178
+
179
+ ##
180
+ # Get the associated client for mix-in of the IAMPolicy.
181
+ #
182
+ # @return [Google::Iam::V1::IAMPolicy::Client]
183
+ #
184
+ attr_reader :iam_policy_client
185
+
158
186
  # Service calls
159
187
 
160
188
  ##
@@ -18,6 +18,8 @@
18
18
 
19
19
  require "google/cloud/errors"
20
20
  require "google/cloud/aiplatform/v1/metadata_service_pb"
21
+ require "google/cloud/location"
22
+ require "google/iam/v1/iam_policy"
21
23
 
22
24
  module Google
23
25
  module Cloud
@@ -139,6 +141,18 @@ module Google
139
141
  config.endpoint = @config.endpoint
140
142
  end
141
143
 
144
+ @location_client = Google::Cloud::Location::Locations::Client.new do |config|
145
+ config.credentials = credentials
146
+ config.quota_project = @quota_project_id
147
+ config.endpoint = @config.endpoint
148
+ end
149
+
150
+ @iam_policy_client = Google::Iam::V1::IAMPolicy::Client.new do |config|
151
+ config.credentials = credentials
152
+ config.quota_project = @quota_project_id
153
+ config.endpoint = @config.endpoint
154
+ end
155
+
142
156
  @metadata_service_stub = ::Gapic::ServiceStub.new(
143
157
  ::Google::Cloud::AIPlatform::V1::MetadataService::Stub,
144
158
  credentials: credentials,
@@ -155,6 +169,20 @@ module Google
155
169
  #
156
170
  attr_reader :operations_client
157
171
 
172
+ ##
173
+ # Get the associated client for mix-in of the Locations.
174
+ #
175
+ # @return [Google::Cloud::Location::Locations::Client]
176
+ #
177
+ attr_reader :location_client
178
+
179
+ ##
180
+ # Get the associated client for mix-in of the IAMPolicy.
181
+ #
182
+ # @return [Google::Iam::V1::IAMPolicy::Client]
183
+ #
184
+ attr_reader :iam_policy_client
185
+
158
186
  # Service calls
159
187
 
160
188
  ##
@@ -18,6 +18,8 @@
18
18
 
19
19
  require "google/cloud/errors"
20
20
  require "google/cloud/aiplatform/v1/migration_service_pb"
21
+ require "google/cloud/location"
22
+ require "google/iam/v1/iam_policy"
21
23
 
22
24
  module Google
23
25
  module Cloud
@@ -140,6 +142,18 @@ module Google
140
142
  config.endpoint = @config.endpoint
141
143
  end
142
144
 
145
+ @location_client = Google::Cloud::Location::Locations::Client.new do |config|
146
+ config.credentials = credentials
147
+ config.quota_project = @quota_project_id
148
+ config.endpoint = @config.endpoint
149
+ end
150
+
151
+ @iam_policy_client = Google::Iam::V1::IAMPolicy::Client.new do |config|
152
+ config.credentials = credentials
153
+ config.quota_project = @quota_project_id
154
+ config.endpoint = @config.endpoint
155
+ end
156
+
143
157
  @migration_service_stub = ::Gapic::ServiceStub.new(
144
158
  ::Google::Cloud::AIPlatform::V1::MigrationService::Stub,
145
159
  credentials: credentials,
@@ -156,6 +170,20 @@ module Google
156
170
  #
157
171
  attr_reader :operations_client
158
172
 
173
+ ##
174
+ # Get the associated client for mix-in of the Locations.
175
+ #
176
+ # @return [Google::Cloud::Location::Locations::Client]
177
+ #
178
+ attr_reader :location_client
179
+
180
+ ##
181
+ # Get the associated client for mix-in of the IAMPolicy.
182
+ #
183
+ # @return [Google::Iam::V1::IAMPolicy::Client]
184
+ #
185
+ attr_reader :iam_policy_client
186
+
159
187
  # Service calls
160
188
 
161
189
  ##