google-cloud-ai_platform-v1 0.5.0 → 0.8.0

Sign up to get free protection for your applications and to get access to all the features.
Files changed (47) hide show
  1. checksums.yaml +4 -4
  2. data/lib/google/cloud/ai_platform/v1/dataset_service/client.rb +140 -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 +480 -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/batch_prediction_job_pb.rb +1 -0
  19. data/lib/google/cloud/aiplatform/v1/completion_stats_pb.rb +1 -0
  20. data/lib/google/cloud/aiplatform/v1/dataset_service_pb.rb +15 -0
  21. data/lib/google/cloud/aiplatform/v1/dataset_service_services_pb.rb +2 -0
  22. data/lib/google/cloud/aiplatform/v1/endpoint_pb.rb +1 -0
  23. data/lib/google/cloud/aiplatform/v1/explanation_pb.rb +27 -0
  24. data/lib/google/cloud/aiplatform/v1/model_deployment_monitoring_job_pb.rb +1 -0
  25. data/lib/google/cloud/aiplatform/v1/model_monitoring_pb.rb +2 -0
  26. data/lib/google/cloud/aiplatform/v1/model_pb.rb +5 -0
  27. data/lib/google/cloud/aiplatform/v1/model_service_pb.rb +34 -0
  28. data/lib/google/cloud/aiplatform/v1/model_service_services_pb.rb +12 -0
  29. data/lib/google/cloud/aiplatform/v1/prediction_service_pb.rb +1 -0
  30. data/lib/google/cloud/aiplatform/v1/saved_query_pb.rb +36 -0
  31. data/lib/google/cloud/aiplatform/v1/training_pipeline_pb.rb +3 -0
  32. data/proto_docs/google/cloud/aiplatform/v1/batch_prediction_job.rb +6 -0
  33. data/proto_docs/google/cloud/aiplatform/v1/completion_stats.rb +4 -0
  34. data/proto_docs/google/cloud/aiplatform/v1/dataset_service.rb +39 -0
  35. data/proto_docs/google/cloud/aiplatform/v1/endpoint.rb +6 -0
  36. data/proto_docs/google/cloud/aiplatform/v1/explanation.rb +69 -0
  37. data/proto_docs/google/cloud/aiplatform/v1/featurestore_online_service.rb +0 -1
  38. data/proto_docs/google/cloud/aiplatform/v1/featurestore_service.rb +1 -0
  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 +10 -0
  42. data/proto_docs/google/cloud/aiplatform/v1/model_service.rb +135 -0
  43. data/proto_docs/google/cloud/aiplatform/v1/prediction_service.rb +4 -0
  44. data/proto_docs/google/cloud/aiplatform/v1/saved_query.rb +78 -0
  45. data/proto_docs/google/cloud/aiplatform/v1/training_pipeline.rb +25 -0
  46. data/proto_docs/google/type/expr.rb +75 -0
  47. metadata +45 -2
@@ -18,6 +18,8 @@
18
18
 
19
19
  require "google/cloud/errors"
20
20
  require "google/cloud/aiplatform/v1/specialist_pool_service_pb"
21
+ require "google/cloud/location"
22
+ require "google/iam/v1/iam_policy"
21
23
 
22
24
  module Google
23
25
  module Cloud
@@ -144,6 +146,18 @@ module Google
144
146
  config.endpoint = @config.endpoint
145
147
  end
146
148
 
149
+ @location_client = Google::Cloud::Location::Locations::Client.new do |config|
150
+ config.credentials = credentials
151
+ config.quota_project = @quota_project_id
152
+ config.endpoint = @config.endpoint
153
+ end
154
+
155
+ @iam_policy_client = Google::Iam::V1::IAMPolicy::Client.new do |config|
156
+ config.credentials = credentials
157
+ config.quota_project = @quota_project_id
158
+ config.endpoint = @config.endpoint
159
+ end
160
+
147
161
  @specialist_pool_service_stub = ::Gapic::ServiceStub.new(
148
162
  ::Google::Cloud::AIPlatform::V1::SpecialistPoolService::Stub,
149
163
  credentials: credentials,
@@ -160,6 +174,20 @@ module Google
160
174
  #
161
175
  attr_reader :operations_client
162
176
 
177
+ ##
178
+ # Get the associated client for mix-in of the Locations.
179
+ #
180
+ # @return [Google::Cloud::Location::Locations::Client]
181
+ #
182
+ attr_reader :location_client
183
+
184
+ ##
185
+ # Get the associated client for mix-in of the IAMPolicy.
186
+ #
187
+ # @return [Google::Iam::V1::IAMPolicy::Client]
188
+ #
189
+ attr_reader :iam_policy_client
190
+
163
191
  # Service calls
164
192
 
165
193
  ##
@@ -18,6 +18,8 @@
18
18
 
19
19
  require "google/cloud/errors"
20
20
  require "google/cloud/aiplatform/v1/tensorboard_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
  @tensorboard_service_stub = ::Gapic::ServiceStub.new(
143
157
  ::Google::Cloud::AIPlatform::V1::TensorboardService::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
  ##
@@ -21,7 +21,7 @@ module Google
21
21
  module Cloud
22
22
  module AIPlatform
23
23
  module V1
24
- VERSION = "0.5.0"
24
+ VERSION = "0.8.0"
25
25
  end
26
26
  end
27
27
  end
@@ -18,6 +18,8 @@
18
18
 
19
19
  require "google/cloud/errors"
20
20
  require "google/cloud/aiplatform/v1/vizier_service_pb"
21
+ require "google/cloud/location"
22
+ require "google/iam/v1/iam_policy"
21
23
 
22
24
  module Google
23
25
  module Cloud
@@ -143,6 +145,18 @@ module Google
143
145
  config.endpoint = @config.endpoint
144
146
  end
145
147
 
148
+ @location_client = Google::Cloud::Location::Locations::Client.new do |config|
149
+ config.credentials = credentials
150
+ config.quota_project = @quota_project_id
151
+ config.endpoint = @config.endpoint
152
+ end
153
+
154
+ @iam_policy_client = Google::Iam::V1::IAMPolicy::Client.new do |config|
155
+ config.credentials = credentials
156
+ config.quota_project = @quota_project_id
157
+ config.endpoint = @config.endpoint
158
+ end
159
+
146
160
  @vizier_service_stub = ::Gapic::ServiceStub.new(
147
161
  ::Google::Cloud::AIPlatform::V1::VizierService::Stub,
148
162
  credentials: credentials,
@@ -159,6 +173,20 @@ module Google
159
173
  #
160
174
  attr_reader :operations_client
161
175
 
176
+ ##
177
+ # Get the associated client for mix-in of the Locations.
178
+ #
179
+ # @return [Google::Cloud::Location::Locations::Client]
180
+ #
181
+ attr_reader :location_client
182
+
183
+ ##
184
+ # Get the associated client for mix-in of the IAMPolicy.
185
+ #
186
+ # @return [Google::Iam::V1::IAMPolicy::Client]
187
+ #
188
+ attr_reader :iam_policy_client
189
+
162
190
  # Service calls
163
191
 
164
192
  ##
@@ -23,6 +23,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
23
23
  optional :name, :string, 1
24
24
  optional :display_name, :string, 2
25
25
  optional :model, :string, 3
26
+ optional :model_version_id, :string, 30
26
27
  optional :unmanaged_container_model, :message, 28, "google.cloud.aiplatform.v1.UnmanagedContainerModel"
27
28
  optional :input_config, :message, 4, "google.cloud.aiplatform.v1.BatchPredictionJob.InputConfig"
28
29
  optional :model_parameters, :message, 5, "google.protobuf.Value"
@@ -11,6 +11,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
11
11
  optional :successful_count, :int64, 1
12
12
  optional :failed_count, :int64, 2
13
13
  optional :incomplete_count, :int64, 3
14
+ optional :successful_forecast_point_count, :int64, 5
14
15
  end
15
16
  end
16
17
  end
@@ -12,6 +12,7 @@ require 'google/cloud/aiplatform/v1/annotation_spec_pb'
12
12
  require 'google/cloud/aiplatform/v1/data_item_pb'
13
13
  require 'google/cloud/aiplatform/v1/dataset_pb'
14
14
  require 'google/cloud/aiplatform/v1/operation_pb'
15
+ require 'google/cloud/aiplatform/v1/saved_query_pb'
15
16
  require 'google/longrunning/operations_pb'
16
17
  require 'google/protobuf/field_mask_pb'
17
18
 
@@ -79,6 +80,18 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
79
80
  repeated :data_items, :message, 1, "google.cloud.aiplatform.v1.DataItem"
80
81
  optional :next_page_token, :string, 2
81
82
  end
83
+ add_message "google.cloud.aiplatform.v1.ListSavedQueriesRequest" do
84
+ optional :parent, :string, 1
85
+ optional :filter, :string, 2
86
+ optional :page_size, :int32, 3
87
+ optional :page_token, :string, 4
88
+ optional :read_mask, :message, 5, "google.protobuf.FieldMask"
89
+ optional :order_by, :string, 6
90
+ end
91
+ add_message "google.cloud.aiplatform.v1.ListSavedQueriesResponse" do
92
+ repeated :saved_queries, :message, 1, "google.cloud.aiplatform.v1.SavedQuery"
93
+ optional :next_page_token, :string, 2
94
+ end
82
95
  add_message "google.cloud.aiplatform.v1.GetAnnotationSpecRequest" do
83
96
  optional :name, :string, 1
84
97
  optional :read_mask, :message, 2, "google.protobuf.FieldMask"
@@ -117,6 +130,8 @@ module Google
117
130
  ExportDataOperationMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.ExportDataOperationMetadata").msgclass
118
131
  ListDataItemsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.ListDataItemsRequest").msgclass
119
132
  ListDataItemsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.ListDataItemsResponse").msgclass
133
+ ListSavedQueriesRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.ListSavedQueriesRequest").msgclass
134
+ ListSavedQueriesResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.ListSavedQueriesResponse").msgclass
120
135
  GetAnnotationSpecRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.GetAnnotationSpecRequest").msgclass
121
136
  ListAnnotationsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.ListAnnotationsRequest").msgclass
122
137
  ListAnnotationsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.ListAnnotationsResponse").msgclass
@@ -50,6 +50,8 @@ module Google
50
50
  rpc :ExportData, ::Google::Cloud::AIPlatform::V1::ExportDataRequest, ::Google::Longrunning::Operation
51
51
  # Lists DataItems in a Dataset.
52
52
  rpc :ListDataItems, ::Google::Cloud::AIPlatform::V1::ListDataItemsRequest, ::Google::Cloud::AIPlatform::V1::ListDataItemsResponse
53
+ # Lists SavedQueries in a Dataset.
54
+ rpc :ListSavedQueries, ::Google::Cloud::AIPlatform::V1::ListSavedQueriesRequest, ::Google::Cloud::AIPlatform::V1::ListSavedQueriesResponse
53
55
  # Gets an AnnotationSpec.
54
56
  rpc :GetAnnotationSpec, ::Google::Cloud::AIPlatform::V1::GetAnnotationSpecRequest, ::Google::Cloud::AIPlatform::V1::AnnotationSpec
55
57
  # Lists Annotations belongs to a dataitem
@@ -32,6 +32,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
32
32
  add_message "google.cloud.aiplatform.v1.DeployedModel" do
33
33
  optional :id, :string, 1
34
34
  optional :model, :string, 2
35
+ optional :model_version_id, :string, 18
35
36
  optional :display_name, :string, 3
36
37
  optional :create_time, :message, 6, "google.protobuf.Timestamp"
37
38
  optional :explanation_spec, :message, 9, "google.cloud.aiplatform.v1.ExplanationSpec"
@@ -11,6 +11,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
11
11
  add_file("google/cloud/aiplatform/v1/explanation.proto", :syntax => :proto3) do
12
12
  add_message "google.cloud.aiplatform.v1.Explanation" do
13
13
  repeated :attributions, :message, 1, "google.cloud.aiplatform.v1.Attribution"
14
+ repeated :neighbors, :message, 2, "google.cloud.aiplatform.v1.Neighbor"
14
15
  end
15
16
  add_message "google.cloud.aiplatform.v1.ModelExplanation" do
16
17
  repeated :mean_attributions, :message, 1, "google.cloud.aiplatform.v1.Attribution"
@@ -24,6 +25,10 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
24
25
  optional :approximation_error, :double, 6
25
26
  optional :output_name, :string, 7
26
27
  end
28
+ add_message "google.cloud.aiplatform.v1.Neighbor" do
29
+ optional :neighbor_id, :string, 1
30
+ optional :neighbor_distance, :double, 2
31
+ end
27
32
  add_message "google.cloud.aiplatform.v1.ExplanationSpec" do
28
33
  optional :parameters, :message, 1, "google.cloud.aiplatform.v1.ExplanationParameters"
29
34
  optional :metadata, :message, 2, "google.cloud.aiplatform.v1.ExplanationMetadata"
@@ -70,6 +75,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
70
75
  add_message "google.cloud.aiplatform.v1.ExplanationSpecOverride" do
71
76
  optional :parameters, :message, 1, "google.cloud.aiplatform.v1.ExplanationParameters"
72
77
  optional :metadata, :message, 2, "google.cloud.aiplatform.v1.ExplanationMetadataOverride"
78
+ optional :examples_override, :message, 3, "google.cloud.aiplatform.v1.ExamplesOverride"
73
79
  end
74
80
  add_message "google.cloud.aiplatform.v1.ExplanationMetadataOverride" do
75
81
  map :inputs, :string, :message, 1, "google.cloud.aiplatform.v1.ExplanationMetadataOverride.InputMetadataOverride"
@@ -77,6 +83,23 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
77
83
  add_message "google.cloud.aiplatform.v1.ExplanationMetadataOverride.InputMetadataOverride" do
78
84
  repeated :input_baselines, :message, 1, "google.protobuf.Value"
79
85
  end
86
+ add_message "google.cloud.aiplatform.v1.ExamplesOverride" do
87
+ optional :neighbor_count, :int32, 1
88
+ optional :crowding_count, :int32, 2
89
+ repeated :restrictions, :message, 3, "google.cloud.aiplatform.v1.ExamplesRestrictionsNamespace"
90
+ optional :return_embeddings, :bool, 4
91
+ optional :data_format, :enum, 5, "google.cloud.aiplatform.v1.ExamplesOverride.DataFormat"
92
+ end
93
+ add_enum "google.cloud.aiplatform.v1.ExamplesOverride.DataFormat" do
94
+ value :DATA_FORMAT_UNSPECIFIED, 0
95
+ value :INSTANCES, 1
96
+ value :EMBEDDINGS, 2
97
+ end
98
+ add_message "google.cloud.aiplatform.v1.ExamplesRestrictionsNamespace" do
99
+ optional :namespace_name, :string, 1
100
+ repeated :allow, :string, 2
101
+ repeated :deny, :string, 3
102
+ end
80
103
  end
81
104
  end
82
105
 
@@ -87,6 +110,7 @@ module Google
87
110
  Explanation = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.Explanation").msgclass
88
111
  ModelExplanation = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.ModelExplanation").msgclass
89
112
  Attribution = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.Attribution").msgclass
113
+ Neighbor = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.Neighbor").msgclass
90
114
  ExplanationSpec = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.ExplanationSpec").msgclass
91
115
  ExplanationParameters = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.ExplanationParameters").msgclass
92
116
  SampledShapleyAttribution = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.SampledShapleyAttribution").msgclass
@@ -99,6 +123,9 @@ module Google
99
123
  ExplanationSpecOverride = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.ExplanationSpecOverride").msgclass
100
124
  ExplanationMetadataOverride = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.ExplanationMetadataOverride").msgclass
101
125
  ExplanationMetadataOverride::InputMetadataOverride = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.ExplanationMetadataOverride.InputMetadataOverride").msgclass
126
+ ExamplesOverride = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.ExamplesOverride").msgclass
127
+ ExamplesOverride::DataFormat = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.ExamplesOverride.DataFormat").enummodule
128
+ ExamplesRestrictionsNamespace = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.ExamplesRestrictionsNamespace").msgclass
102
129
  end
103
130
  end
104
131
  end
@@ -73,6 +73,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
73
73
  end
74
74
  add_message "google.cloud.aiplatform.v1.ModelDeploymentMonitoringScheduleConfig" do
75
75
  optional :monitor_interval, :message, 1, "google.protobuf.Duration"
76
+ optional :monitor_window, :message, 2, "google.protobuf.Duration"
76
77
  end
77
78
  add_message "google.cloud.aiplatform.v1.ModelMonitoringStatsAnomalies" do
78
79
  optional :objective, :enum, 1, "google.cloud.aiplatform.v1.ModelDeploymentMonitoringObjectiveType"
@@ -27,10 +27,12 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
27
27
  add_message "google.cloud.aiplatform.v1.ModelMonitoringObjectiveConfig.TrainingPredictionSkewDetectionConfig" do
28
28
  map :skew_thresholds, :string, :message, 1, "google.cloud.aiplatform.v1.ThresholdConfig"
29
29
  map :attribution_score_skew_thresholds, :string, :message, 2, "google.cloud.aiplatform.v1.ThresholdConfig"
30
+ optional :default_skew_threshold, :message, 6, "google.cloud.aiplatform.v1.ThresholdConfig"
30
31
  end
31
32
  add_message "google.cloud.aiplatform.v1.ModelMonitoringObjectiveConfig.PredictionDriftDetectionConfig" do
32
33
  map :drift_thresholds, :string, :message, 1, "google.cloud.aiplatform.v1.ThresholdConfig"
33
34
  map :attribution_score_drift_thresholds, :string, :message, 2, "google.cloud.aiplatform.v1.ThresholdConfig"
35
+ optional :default_drift_threshold, :message, 5, "google.cloud.aiplatform.v1.ThresholdConfig"
34
36
  end
35
37
  add_message "google.cloud.aiplatform.v1.ModelMonitoringObjectiveConfig.ExplanationConfig" do
36
38
  optional :enable_feature_attributes, :bool, 1
@@ -16,8 +16,13 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
16
16
  add_file("google/cloud/aiplatform/v1/model.proto", :syntax => :proto3) do
17
17
  add_message "google.cloud.aiplatform.v1.Model" do
18
18
  optional :name, :string, 1
19
+ optional :version_id, :string, 28
20
+ repeated :version_aliases, :string, 29
21
+ optional :version_create_time, :message, 31, "google.protobuf.Timestamp"
22
+ optional :version_update_time, :message, 32, "google.protobuf.Timestamp"
19
23
  optional :display_name, :string, 2
20
24
  optional :description, :string, 3
25
+ optional :version_description, :string, 30
21
26
  optional :predict_schemata, :message, 4, "google.cloud.aiplatform.v1.PredictSchemata"
22
27
  optional :metadata_schema_uri, :string, 5
23
28
  optional :metadata, :message, 6, "google.protobuf.Value"
@@ -19,6 +19,8 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
19
19
  add_file("google/cloud/aiplatform/v1/model_service.proto", :syntax => :proto3) do
20
20
  add_message "google.cloud.aiplatform.v1.UploadModelRequest" do
21
21
  optional :parent, :string, 1
22
+ optional :parent_model, :string, 4
23
+ optional :model_id, :string, 5
22
24
  optional :model, :message, 2, "google.cloud.aiplatform.v1.Model"
23
25
  end
24
26
  add_message "google.cloud.aiplatform.v1.UploadModelOperationMetadata" do
@@ -26,6 +28,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
26
28
  end
27
29
  add_message "google.cloud.aiplatform.v1.UploadModelResponse" do
28
30
  optional :model, :string, 1
31
+ optional :model_version_id, :string, 2
29
32
  end
30
33
  add_message "google.cloud.aiplatform.v1.GetModelRequest" do
31
34
  optional :name, :string, 1
@@ -42,6 +45,17 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
42
45
  repeated :models, :message, 1, "google.cloud.aiplatform.v1.Model"
43
46
  optional :next_page_token, :string, 2
44
47
  end
48
+ add_message "google.cloud.aiplatform.v1.ListModelVersionsRequest" do
49
+ optional :name, :string, 1
50
+ optional :page_size, :int32, 2
51
+ optional :page_token, :string, 3
52
+ optional :filter, :string, 4
53
+ optional :read_mask, :message, 5, "google.protobuf.FieldMask"
54
+ end
55
+ add_message "google.cloud.aiplatform.v1.ListModelVersionsResponse" do
56
+ repeated :models, :message, 1, "google.cloud.aiplatform.v1.Model"
57
+ optional :next_page_token, :string, 2
58
+ end
45
59
  add_message "google.cloud.aiplatform.v1.UpdateModelRequest" do
46
60
  optional :model, :message, 1, "google.cloud.aiplatform.v1.Model"
47
61
  optional :update_mask, :message, 2, "google.protobuf.FieldMask"
@@ -49,6 +63,13 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
49
63
  add_message "google.cloud.aiplatform.v1.DeleteModelRequest" do
50
64
  optional :name, :string, 1
51
65
  end
66
+ add_message "google.cloud.aiplatform.v1.DeleteModelVersionRequest" do
67
+ optional :name, :string, 1
68
+ end
69
+ add_message "google.cloud.aiplatform.v1.MergeVersionAliasesRequest" do
70
+ optional :name, :string, 1
71
+ repeated :version_aliases, :string, 2
72
+ end
52
73
  add_message "google.cloud.aiplatform.v1.ExportModelRequest" do
53
74
  optional :name, :string, 1
54
75
  optional :output_config, :message, 2, "google.cloud.aiplatform.v1.ExportModelRequest.OutputConfig"
@@ -72,6 +93,13 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
72
93
  optional :parent, :string, 1
73
94
  optional :model_evaluation, :message, 2, "google.cloud.aiplatform.v1.ModelEvaluation"
74
95
  end
96
+ add_message "google.cloud.aiplatform.v1.BatchImportModelEvaluationSlicesRequest" do
97
+ optional :parent, :string, 1
98
+ repeated :model_evaluation_slices, :message, 2, "google.cloud.aiplatform.v1.ModelEvaluationSlice"
99
+ end
100
+ add_message "google.cloud.aiplatform.v1.BatchImportModelEvaluationSlicesResponse" do
101
+ repeated :imported_model_evaluation_slices, :string, 1
102
+ end
75
103
  add_message "google.cloud.aiplatform.v1.GetModelEvaluationRequest" do
76
104
  optional :name, :string, 1
77
105
  end
@@ -113,14 +141,20 @@ module Google
113
141
  GetModelRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.GetModelRequest").msgclass
114
142
  ListModelsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.ListModelsRequest").msgclass
115
143
  ListModelsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.ListModelsResponse").msgclass
144
+ ListModelVersionsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.ListModelVersionsRequest").msgclass
145
+ ListModelVersionsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.ListModelVersionsResponse").msgclass
116
146
  UpdateModelRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.UpdateModelRequest").msgclass
117
147
  DeleteModelRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.DeleteModelRequest").msgclass
148
+ DeleteModelVersionRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.DeleteModelVersionRequest").msgclass
149
+ MergeVersionAliasesRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.MergeVersionAliasesRequest").msgclass
118
150
  ExportModelRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.ExportModelRequest").msgclass
119
151
  ExportModelRequest::OutputConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.ExportModelRequest.OutputConfig").msgclass
120
152
  ExportModelOperationMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.ExportModelOperationMetadata").msgclass
121
153
  ExportModelOperationMetadata::OutputInfo = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.ExportModelOperationMetadata.OutputInfo").msgclass
122
154
  ExportModelResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.ExportModelResponse").msgclass
123
155
  ImportModelEvaluationRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.ImportModelEvaluationRequest").msgclass
156
+ BatchImportModelEvaluationSlicesRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.BatchImportModelEvaluationSlicesRequest").msgclass
157
+ BatchImportModelEvaluationSlicesResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.BatchImportModelEvaluationSlicesResponse").msgclass
124
158
  GetModelEvaluationRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.GetModelEvaluationRequest").msgclass
125
159
  ListModelEvaluationsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.ListModelEvaluationsRequest").msgclass
126
160
  ListModelEvaluationsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.ListModelEvaluationsResponse").msgclass
@@ -39,6 +39,8 @@ module Google
39
39
  rpc :GetModel, ::Google::Cloud::AIPlatform::V1::GetModelRequest, ::Google::Cloud::AIPlatform::V1::Model
40
40
  # Lists Models in a Location.
41
41
  rpc :ListModels, ::Google::Cloud::AIPlatform::V1::ListModelsRequest, ::Google::Cloud::AIPlatform::V1::ListModelsResponse
42
+ # Lists versions of the specified model.
43
+ rpc :ListModelVersions, ::Google::Cloud::AIPlatform::V1::ListModelVersionsRequest, ::Google::Cloud::AIPlatform::V1::ListModelVersionsResponse
42
44
  # Updates a Model.
43
45
  rpc :UpdateModel, ::Google::Cloud::AIPlatform::V1::UpdateModelRequest, ::Google::Cloud::AIPlatform::V1::Model
44
46
  # Deletes a Model.
@@ -47,12 +49,22 @@ module Google
47
49
  # [DeployedModel][google.cloud.aiplatform.v1.DeployedModel] based on the model in its
48
50
  # [deployed_models][google.cloud.aiplatform.v1.Endpoint.deployed_models] field.
49
51
  rpc :DeleteModel, ::Google::Cloud::AIPlatform::V1::DeleteModelRequest, ::Google::Longrunning::Operation
52
+ # Deletes a Model version.
53
+ #
54
+ # Model version can only be deleted if there are no [DeployedModels][]
55
+ # created from it. Deleting the only version in the Model is not allowed. Use
56
+ # [DeleteModel][google.cloud.aiplatform.v1.ModelService.DeleteModel] for deleting the Model instead.
57
+ rpc :DeleteModelVersion, ::Google::Cloud::AIPlatform::V1::DeleteModelVersionRequest, ::Google::Longrunning::Operation
58
+ # Merges a set of aliases for a Model version.
59
+ rpc :MergeVersionAliases, ::Google::Cloud::AIPlatform::V1::MergeVersionAliasesRequest, ::Google::Cloud::AIPlatform::V1::Model
50
60
  # Exports a trained, exportable Model to a location specified by the
51
61
  # user. A Model is considered to be exportable if it has at least one
52
62
  # [supported export format][google.cloud.aiplatform.v1.Model.supported_export_formats].
53
63
  rpc :ExportModel, ::Google::Cloud::AIPlatform::V1::ExportModelRequest, ::Google::Longrunning::Operation
54
64
  # Imports an externally generated ModelEvaluation.
55
65
  rpc :ImportModelEvaluation, ::Google::Cloud::AIPlatform::V1::ImportModelEvaluationRequest, ::Google::Cloud::AIPlatform::V1::ModelEvaluation
66
+ # Imports a list of externally generated ModelEvaluationSlice.
67
+ rpc :BatchImportModelEvaluationSlices, ::Google::Cloud::AIPlatform::V1::BatchImportModelEvaluationSlicesRequest, ::Google::Cloud::AIPlatform::V1::BatchImportModelEvaluationSlicesResponse
56
68
  # Gets a ModelEvaluation.
57
69
  rpc :GetModelEvaluation, ::Google::Cloud::AIPlatform::V1::GetModelEvaluationRequest, ::Google::Cloud::AIPlatform::V1::ModelEvaluation
58
70
  # Lists ModelEvaluations in a Model.
@@ -22,6 +22,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
22
22
  repeated :predictions, :message, 1, "google.protobuf.Value"
23
23
  optional :deployed_model_id, :string, 2
24
24
  optional :model, :string, 3
25
+ optional :model_version_id, :string, 5
25
26
  optional :model_display_name, :string, 4
26
27
  end
27
28
  add_message "google.cloud.aiplatform.v1.RawPredictRequest" do
@@ -0,0 +1,36 @@
1
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
2
+ # source: google/cloud/aiplatform/v1/saved_query.proto
3
+
4
+ require 'google/protobuf'
5
+
6
+ require 'google/api/field_behavior_pb'
7
+ require 'google/api/resource_pb'
8
+ require 'google/protobuf/struct_pb'
9
+ require 'google/protobuf/timestamp_pb'
10
+
11
+ Google::Protobuf::DescriptorPool.generated_pool.build do
12
+ add_file("google/cloud/aiplatform/v1/saved_query.proto", :syntax => :proto3) do
13
+ add_message "google.cloud.aiplatform.v1.SavedQuery" do
14
+ optional :name, :string, 1
15
+ optional :display_name, :string, 2
16
+ optional :metadata, :message, 12, "google.protobuf.Value"
17
+ optional :create_time, :message, 3, "google.protobuf.Timestamp"
18
+ optional :update_time, :message, 4, "google.protobuf.Timestamp"
19
+ optional :annotation_filter, :string, 5
20
+ optional :problem_type, :string, 6
21
+ optional :annotation_spec_count, :int32, 10
22
+ optional :etag, :string, 8
23
+ optional :support_automl_training, :bool, 9
24
+ end
25
+ end
26
+ end
27
+
28
+ module Google
29
+ module Cloud
30
+ module AIPlatform
31
+ module V1
32
+ SavedQuery = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.SavedQuery").msgclass
33
+ end
34
+ end
35
+ end
36
+ end
@@ -23,6 +23,8 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
23
23
  optional :training_task_inputs, :message, 5, "google.protobuf.Value"
24
24
  optional :training_task_metadata, :message, 6, "google.protobuf.Value"
25
25
  optional :model_to_upload, :message, 7, "google.cloud.aiplatform.v1.Model"
26
+ optional :model_id, :string, 22
27
+ optional :parent_model, :string, 21
26
28
  optional :state, :enum, 9, "google.cloud.aiplatform.v1.PipelineState"
27
29
  optional :error, :message, 10, "google.rpc.Status"
28
30
  optional :create_time, :message, 11, "google.protobuf.Timestamp"
@@ -36,6 +38,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
36
38
  optional :dataset_id, :string, 1
37
39
  optional :annotations_filter, :string, 6
38
40
  optional :annotation_schema_uri, :string, 9
41
+ optional :saved_query_id, :string, 7
39
42
  oneof :split do
40
43
  optional :fraction_split, :message, 2, "google.cloud.aiplatform.v1.FractionSplit"
41
44
  optional :filter_split, :message, 3, "google.cloud.aiplatform.v1.FilterSplit"
@@ -38,6 +38,12 @@ module Google
38
38
  # Starting this job has no impact on any existing deployments of the Model
39
39
  # and their resources.
40
40
  # Exactly one of model and unmanaged_container_model must be set.
41
+ #
42
+ # The model resource name may contain version id or version alias to specify
43
+ # the version, if no version is specified, the default version will be used.
44
+ # @!attribute [r] model_version_id
45
+ # @return [::String]
46
+ # Output only. The version ID of the Model that produces the predictions via this job.
41
47
  # @!attribute [rw] unmanaged_container_model
42
48
  # @return [::Google::Cloud::AIPlatform::V1::UnmanagedContainerModel]
43
49
  # Contains model information necessary to perform batch prediction without
@@ -36,6 +36,10 @@ module Google
36
36
  # processing had not been finished (either in successful or failed state).
37
37
  # Set to -1 if the number is unknown (for example, the operation failed
38
38
  # before the total entity number could be collected).
39
+ # @!attribute [r] successful_forecast_point_count
40
+ # @return [::Integer]
41
+ # Output only. The number of the successful forecast points that are generated by the
42
+ # forecasting model. This is ONLY used by the forecasting batch prediction.
39
43
  class CompletionStats
40
44
  include ::Google::Protobuf::MessageExts
41
45
  extend ::Google::Protobuf::MessageExts::ClassMethods
@@ -243,6 +243,45 @@ module Google
243
243
  extend ::Google::Protobuf::MessageExts::ClassMethods
244
244
  end
245
245
 
246
+ # Request message for {::Google::Cloud::AIPlatform::V1::DatasetService::Client#list_saved_queries DatasetService.ListSavedQueries}.
247
+ # @!attribute [rw] parent
248
+ # @return [::String]
249
+ # Required. The resource name of the Dataset to list SavedQueries from.
250
+ # Format:
251
+ # `projects/{project}/locations/{location}/datasets/{dataset}`
252
+ # @!attribute [rw] filter
253
+ # @return [::String]
254
+ # The standard list filter.
255
+ # @!attribute [rw] page_size
256
+ # @return [::Integer]
257
+ # The standard list page size.
258
+ # @!attribute [rw] page_token
259
+ # @return [::String]
260
+ # The standard list page token.
261
+ # @!attribute [rw] read_mask
262
+ # @return [::Google::Protobuf::FieldMask]
263
+ # Mask specifying which fields to read.
264
+ # @!attribute [rw] order_by
265
+ # @return [::String]
266
+ # A comma-separated list of fields to order by, sorted in ascending order.
267
+ # Use "desc" after a field name for descending.
268
+ class ListSavedQueriesRequest
269
+ include ::Google::Protobuf::MessageExts
270
+ extend ::Google::Protobuf::MessageExts::ClassMethods
271
+ end
272
+
273
+ # Response message for {::Google::Cloud::AIPlatform::V1::DatasetService::Client#list_saved_queries DatasetService.ListSavedQueries}.
274
+ # @!attribute [rw] saved_queries
275
+ # @return [::Array<::Google::Cloud::AIPlatform::V1::SavedQuery>]
276
+ # A list of SavedQueries that match the specified filter in the request.
277
+ # @!attribute [rw] next_page_token
278
+ # @return [::String]
279
+ # The standard List next-page token.
280
+ class ListSavedQueriesResponse
281
+ include ::Google::Protobuf::MessageExts
282
+ extend ::Google::Protobuf::MessageExts::ClassMethods
283
+ end
284
+
246
285
  # Request message for {::Google::Cloud::AIPlatform::V1::DatasetService::Client#get_annotation_spec DatasetService.GetAnnotationSpec}.
247
286
  # @!attribute [rw] name
248
287
  # @return [::String]
@@ -148,6 +148,12 @@ module Google
148
148
  # @return [::String]
149
149
  # Required. The resource name of the Model that this is the deployment of. Note that
150
150
  # the Model may be in a different location than the DeployedModel's Endpoint.
151
+ #
152
+ # The resource name may contain version id or version alias to specify the
153
+ # version, if no version is specified, the default version will be deployed.
154
+ # @!attribute [r] model_version_id
155
+ # @return [::String]
156
+ # Output only. The version ID of the model that is deployed.
151
157
  # @!attribute [rw] display_name
152
158
  # @return [::String]
153
159
  # The display name of the DeployedModel. If not provided upon creation,