google-cloud-ai_platform-v1 0.4.0 → 0.7.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (48) 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 +29 -1
  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_metadata_pb.rb +1 -0
  20. data/lib/google/cloud/aiplatform/v1/explanation_pb.rb +27 -0
  21. data/lib/google/cloud/aiplatform/v1/featurestore_pb.rb +6 -0
  22. data/lib/google/cloud/aiplatform/v1/model_deployment_monitoring_job_pb.rb +1 -0
  23. data/lib/google/cloud/aiplatform/v1/model_monitoring_pb.rb +2 -0
  24. data/lib/google/cloud/aiplatform/v1/model_pb.rb +5 -0
  25. data/lib/google/cloud/aiplatform/v1/model_service_pb.rb +25 -0
  26. data/lib/google/cloud/aiplatform/v1/model_service_services_pb.rb +10 -0
  27. data/lib/google/cloud/aiplatform/v1/pipeline_failure_policy_pb.rb +24 -0
  28. data/lib/google/cloud/aiplatform/v1/pipeline_job_pb.rb +8 -0
  29. data/lib/google/cloud/aiplatform/v1/training_pipeline_pb.rb +2 -0
  30. data/proto_docs/google/cloud/aiplatform/v1/batch_prediction_job.rb +3 -0
  31. data/proto_docs/google/cloud/aiplatform/v1/completion_stats.rb +4 -0
  32. data/proto_docs/google/cloud/aiplatform/v1/endpoint.rb +5 -2
  33. data/proto_docs/google/cloud/aiplatform/v1/explanation.rb +69 -0
  34. data/proto_docs/google/cloud/aiplatform/v1/explanation_metadata.rb +3 -0
  35. data/proto_docs/google/cloud/aiplatform/v1/featurestore.rb +21 -0
  36. data/proto_docs/google/cloud/aiplatform/v1/featurestore_online_service.rb +0 -1
  37. data/proto_docs/google/cloud/aiplatform/v1/featurestore_service.rb +1 -0
  38. data/proto_docs/google/cloud/aiplatform/v1/manual_batch_tuning_parameters.rb +1 -1
  39. data/proto_docs/google/cloud/aiplatform/v1/model.rb +26 -0
  40. data/proto_docs/google/cloud/aiplatform/v1/model_deployment_monitoring_job.rb +10 -0
  41. data/proto_docs/google/cloud/aiplatform/v1/model_monitoring.rb +12 -0
  42. data/proto_docs/google/cloud/aiplatform/v1/model_service.rb +112 -0
  43. data/proto_docs/google/cloud/aiplatform/v1/pipeline_failure_policy.rb +45 -0
  44. data/proto_docs/google/cloud/aiplatform/v1/pipeline_job.rb +32 -0
  45. data/proto_docs/google/cloud/aiplatform/v1/pipeline_service.rb +1 -1
  46. data/proto_docs/google/cloud/aiplatform/v1/training_pipeline.rb +11 -0
  47. data/proto_docs/google/type/expr.rb +75 -0
  48. metadata +46 -3
checksums.yaml CHANGED
@@ -1,7 +1,7 @@
1
1
  ---
2
2
  SHA256:
3
- metadata.gz: 4d3a031291b6d75ce29c3fb90b346fad3b83196e43c249dcf335d10099393c70
4
- data.tar.gz: 1102138ac5f6612da7398bf94bc04a1bc3415b0eeeee62d06525e90b5d9b4e3b
3
+ metadata.gz: 994af4af80fb61c03bcf54b6a3ee61c8ad651d4bec8c586a7cb1d3bf8a7ac99a
4
+ data.tar.gz: 5f52efad863eff211772e60cfecf4d74c51a100239dd389abe2e5266bae998ca
5
5
  SHA512:
6
- metadata.gz: 776b16a94996b8a4bae868a6a373f0166624d59a724e787783ed97660672901f7e6b5557a4c6d9c0a282cdfa1203f18512e52d6d6bae89b9ab315b41b5ae2793
7
- data.tar.gz: 2c68b8cdc5cc9492e75f3cc1b7de822bfc63e0c5608c29787206a855aa97b9beec7fdb1c61fabffe90d7cb790166e57cb819f95aa0fbdb4726304eddb2df7d8f
6
+ metadata.gz: 0fcb7d8af3b66b17d0ff366439b7c1920d038ac66d75592841925ca84cdebbf4711aec4997621cf64798a57316f63a4243e54fb4a09a21b25bc1e156d1460f65
7
+ data.tar.gz: d6440bd65e07dc7fb7402440e435f1b56acec44b81dd034d6f590865dfa5a7c924933158f3b3451d8e0fef3619911c0f539a43597c897b32608a52036e2fc920
@@ -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
  ##