google-cloud-ai_platform-v1 0.19.0 → 0.21.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/README.md +2 -2
- data/lib/google/cloud/ai_platform/v1/dataset_service/client.rb +38 -48
- data/lib/google/cloud/ai_platform/v1/dataset_service/operations.rb +14 -16
- data/lib/google/cloud/ai_platform/v1/endpoint_service/client.rb +32 -28
- data/lib/google/cloud/ai_platform/v1/endpoint_service/operations.rb +14 -16
- data/lib/google/cloud/ai_platform/v1/featurestore_online_serving_service/client.rb +8 -8
- data/lib/google/cloud/ai_platform/v1/featurestore_service/client.rb +179 -74
- data/lib/google/cloud/ai_platform/v1/featurestore_service/operations.rb +14 -16
- data/lib/google/cloud/ai_platform/v1/index_endpoint_service/client.rb +26 -28
- data/lib/google/cloud/ai_platform/v1/index_endpoint_service/operations.rb +14 -16
- data/lib/google/cloud/ai_platform/v1/index_service/client.rb +18 -20
- data/lib/google/cloud/ai_platform/v1/index_service/operations.rb +14 -16
- data/lib/google/cloud/ai_platform/v1/job_service/client.rb +62 -78
- data/lib/google/cloud/ai_platform/v1/job_service/operations.rb +14 -16
- data/lib/google/cloud/ai_platform/v1/metadata_service/client.rb +54 -64
- data/lib/google/cloud/ai_platform/v1/metadata_service/operations.rb +14 -16
- data/lib/google/cloud/ai_platform/v1/migration_service/client.rb +10 -12
- data/lib/google/cloud/ai_platform/v1/migration_service/operations.rb +14 -16
- data/lib/google/cloud/ai_platform/v1/model_service/client.rb +137 -48
- data/lib/google/cloud/ai_platform/v1/model_service/operations.rb +14 -16
- data/lib/google/cloud/ai_platform/v1/pipeline_service/client.rb +18 -22
- data/lib/google/cloud/ai_platform/v1/pipeline_service/operations.rb +14 -16
- data/lib/google/cloud/ai_platform/v1/prediction_service/client.rb +2 -2
- data/lib/google/cloud/ai_platform/v1/specialist_pool_service/client.rb +18 -20
- data/lib/google/cloud/ai_platform/v1/specialist_pool_service/operations.rb +14 -16
- data/lib/google/cloud/ai_platform/v1/tensorboard_service/client.rb +52 -62
- data/lib/google/cloud/ai_platform/v1/tensorboard_service/operations.rb +14 -16
- data/lib/google/cloud/ai_platform/v1/version.rb +1 -1
- data/lib/google/cloud/ai_platform/v1/vizier_service/client.rb +19 -23
- data/lib/google/cloud/ai_platform/v1/vizier_service/operations.rb +14 -16
- data/lib/google/cloud/aiplatform/v1/accelerator_type_pb.rb +1 -0
- data/lib/google/cloud/aiplatform/v1/batch_prediction_job_pb.rb +1 -0
- data/lib/google/cloud/aiplatform/v1/dataset_pb.rb +9 -0
- data/lib/google/cloud/aiplatform/v1/dataset_service_pb.rb +1 -0
- data/lib/google/cloud/aiplatform/v1/endpoint_service_pb.rb +1 -0
- data/lib/google/cloud/aiplatform/v1/evaluated_annotation_pb.rb +63 -0
- data/lib/google/cloud/aiplatform/v1/featurestore_pb.rb +1 -0
- data/lib/google/cloud/aiplatform/v1/featurestore_service_pb.rb +49 -0
- data/lib/google/cloud/aiplatform/v1/featurestore_service_services_pb.rb +11 -0
- data/lib/google/cloud/aiplatform/v1/index_endpoint_pb.rb +2 -0
- data/lib/google/cloud/aiplatform/v1/index_endpoint_service_pb.rb +1 -0
- data/lib/google/cloud/aiplatform/v1/index_service_pb.rb +1 -0
- data/lib/google/cloud/aiplatform/v1/metadata_service_pb.rb +1 -0
- data/lib/google/cloud/aiplatform/v1/model_evaluation_slice_pb.rb +28 -0
- data/lib/google/cloud/aiplatform/v1/model_pb.rb +2 -0
- data/lib/google/cloud/aiplatform/v1/model_service_pb.rb +11 -0
- data/lib/google/cloud/aiplatform/v1/model_service_services_pb.rb +5 -2
- data/lib/google/cloud/aiplatform/v1/pipeline_service_pb.rb +1 -0
- data/lib/google/cloud/aiplatform/v1/specialist_pool_service_pb.rb +1 -0
- data/lib/google/cloud/aiplatform/v1/tensorboard_service_pb.rb +1 -0
- data/lib/google/cloud/aiplatform/v1/vizier_service_services_pb.rb +1 -1
- data/proto_docs/google/api/client.rb +57 -3
- data/proto_docs/google/cloud/aiplatform/v1/accelerator_type.rb +3 -0
- data/proto_docs/google/cloud/aiplatform/v1/batch_prediction_job.rb +14 -1
- data/proto_docs/google/cloud/aiplatform/v1/dataset.rb +23 -0
- data/proto_docs/google/cloud/aiplatform/v1/endpoint.rb +5 -1
- data/proto_docs/google/cloud/aiplatform/v1/endpoint_service.rb +10 -4
- data/proto_docs/google/cloud/aiplatform/v1/evaluated_annotation.rb +190 -0
- data/proto_docs/google/cloud/aiplatform/v1/featurestore.rb +9 -0
- data/proto_docs/google/cloud/aiplatform/v1/featurestore_monitoring.rb +6 -8
- data/proto_docs/google/cloud/aiplatform/v1/featurestore_service.rb +129 -4
- data/proto_docs/google/cloud/aiplatform/v1/index_endpoint.rb +11 -1
- data/proto_docs/google/cloud/aiplatform/v1/job_state.rb +2 -5
- data/proto_docs/google/cloud/aiplatform/v1/model.rb +24 -11
- data/proto_docs/google/cloud/aiplatform/v1/model_evaluation.rb +6 -5
- data/proto_docs/google/cloud/aiplatform/v1/model_evaluation_slice.rb +131 -0
- data/proto_docs/google/cloud/aiplatform/v1/model_service.rb +25 -0
- data/proto_docs/google/cloud/aiplatform/v1/tensorboard_service.rb +2 -1
- data/proto_docs/google/type/interval.rb +45 -0
- metadata +15 -11
|
@@ -0,0 +1,63 @@
|
|
|
1
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
2
|
+
# source: google/cloud/aiplatform/v1/evaluated_annotation.proto
|
|
3
|
+
|
|
4
|
+
require 'google/protobuf'
|
|
5
|
+
|
|
6
|
+
require 'google/api/field_behavior_pb'
|
|
7
|
+
require 'google/cloud/aiplatform/v1/explanation_pb'
|
|
8
|
+
require 'google/protobuf/struct_pb'
|
|
9
|
+
|
|
10
|
+
Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
11
|
+
add_file("google/cloud/aiplatform/v1/evaluated_annotation.proto", :syntax => :proto3) do
|
|
12
|
+
add_message "google.cloud.aiplatform.v1.EvaluatedAnnotation" do
|
|
13
|
+
optional :type, :enum, 1, "google.cloud.aiplatform.v1.EvaluatedAnnotation.EvaluatedAnnotationType"
|
|
14
|
+
repeated :predictions, :message, 2, "google.protobuf.Value"
|
|
15
|
+
repeated :ground_truths, :message, 3, "google.protobuf.Value"
|
|
16
|
+
optional :data_item_payload, :message, 5, "google.protobuf.Value"
|
|
17
|
+
optional :evaluated_data_item_view_id, :string, 6
|
|
18
|
+
repeated :explanations, :message, 8, "google.cloud.aiplatform.v1.EvaluatedAnnotationExplanation"
|
|
19
|
+
repeated :error_analysis_annotations, :message, 9, "google.cloud.aiplatform.v1.ErrorAnalysisAnnotation"
|
|
20
|
+
end
|
|
21
|
+
add_enum "google.cloud.aiplatform.v1.EvaluatedAnnotation.EvaluatedAnnotationType" do
|
|
22
|
+
value :EVALUATED_ANNOTATION_TYPE_UNSPECIFIED, 0
|
|
23
|
+
value :TRUE_POSITIVE, 1
|
|
24
|
+
value :FALSE_POSITIVE, 2
|
|
25
|
+
value :FALSE_NEGATIVE, 3
|
|
26
|
+
end
|
|
27
|
+
add_message "google.cloud.aiplatform.v1.EvaluatedAnnotationExplanation" do
|
|
28
|
+
optional :explanation_type, :string, 1
|
|
29
|
+
optional :explanation, :message, 2, "google.cloud.aiplatform.v1.Explanation"
|
|
30
|
+
end
|
|
31
|
+
add_message "google.cloud.aiplatform.v1.ErrorAnalysisAnnotation" do
|
|
32
|
+
repeated :attributed_items, :message, 1, "google.cloud.aiplatform.v1.ErrorAnalysisAnnotation.AttributedItem"
|
|
33
|
+
optional :query_type, :enum, 2, "google.cloud.aiplatform.v1.ErrorAnalysisAnnotation.QueryType"
|
|
34
|
+
optional :outlier_score, :double, 3
|
|
35
|
+
optional :outlier_threshold, :double, 4
|
|
36
|
+
end
|
|
37
|
+
add_message "google.cloud.aiplatform.v1.ErrorAnalysisAnnotation.AttributedItem" do
|
|
38
|
+
optional :annotation_resource_name, :string, 1
|
|
39
|
+
optional :distance, :double, 2
|
|
40
|
+
end
|
|
41
|
+
add_enum "google.cloud.aiplatform.v1.ErrorAnalysisAnnotation.QueryType" do
|
|
42
|
+
value :QUERY_TYPE_UNSPECIFIED, 0
|
|
43
|
+
value :ALL_SIMILAR, 1
|
|
44
|
+
value :SAME_CLASS_SIMILAR, 2
|
|
45
|
+
value :SAME_CLASS_DISSIMILAR, 3
|
|
46
|
+
end
|
|
47
|
+
end
|
|
48
|
+
end
|
|
49
|
+
|
|
50
|
+
module Google
|
|
51
|
+
module Cloud
|
|
52
|
+
module AIPlatform
|
|
53
|
+
module V1
|
|
54
|
+
EvaluatedAnnotation = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.EvaluatedAnnotation").msgclass
|
|
55
|
+
EvaluatedAnnotation::EvaluatedAnnotationType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.EvaluatedAnnotation.EvaluatedAnnotationType").enummodule
|
|
56
|
+
EvaluatedAnnotationExplanation = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.EvaluatedAnnotationExplanation").msgclass
|
|
57
|
+
ErrorAnalysisAnnotation = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.ErrorAnalysisAnnotation").msgclass
|
|
58
|
+
ErrorAnalysisAnnotation::AttributedItem = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.ErrorAnalysisAnnotation.AttributedItem").msgclass
|
|
59
|
+
ErrorAnalysisAnnotation::QueryType = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.ErrorAnalysisAnnotation.QueryType").enummodule
|
|
60
|
+
end
|
|
61
|
+
end
|
|
62
|
+
end
|
|
63
|
+
end
|
|
@@ -27,6 +27,7 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
|
27
27
|
add_message "google.cloud.aiplatform.v1.Featurestore.OnlineServingConfig.Scaling" do
|
|
28
28
|
optional :min_node_count, :int32, 1
|
|
29
29
|
optional :max_node_count, :int32, 2
|
|
30
|
+
optional :cpu_utilization_target, :int32, 3
|
|
30
31
|
end
|
|
31
32
|
add_enum "google.cloud.aiplatform.v1.Featurestore.State" do
|
|
32
33
|
value :STATE_UNSPECIFIED, 0
|
|
@@ -14,8 +14,10 @@ require 'google/cloud/aiplatform/v1/featurestore_pb'
|
|
|
14
14
|
require 'google/cloud/aiplatform/v1/io_pb'
|
|
15
15
|
require 'google/cloud/aiplatform/v1/operation_pb'
|
|
16
16
|
require 'google/longrunning/operations_pb'
|
|
17
|
+
require 'google/protobuf/empty_pb'
|
|
17
18
|
require 'google/protobuf/field_mask_pb'
|
|
18
19
|
require 'google/protobuf/timestamp_pb'
|
|
20
|
+
require 'google/type/interval_pb'
|
|
19
21
|
|
|
20
22
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
21
23
|
add_file("google/cloud/aiplatform/v1/featurestore_service.proto", :syntax => :proto3) do
|
|
@@ -219,6 +221,9 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
|
219
221
|
add_message "google.cloud.aiplatform.v1.BatchReadFeatureValuesOperationMetadata" do
|
|
220
222
|
optional :generic_metadata, :message, 1, "google.cloud.aiplatform.v1.GenericOperationMetadata"
|
|
221
223
|
end
|
|
224
|
+
add_message "google.cloud.aiplatform.v1.DeleteFeatureValuesOperationMetadata" do
|
|
225
|
+
optional :generic_metadata, :message, 1, "google.cloud.aiplatform.v1.GenericOperationMetadata"
|
|
226
|
+
end
|
|
222
227
|
add_message "google.cloud.aiplatform.v1.CreateEntityTypeOperationMetadata" do
|
|
223
228
|
optional :generic_metadata, :message, 1, "google.cloud.aiplatform.v1.GenericOperationMetadata"
|
|
224
229
|
end
|
|
@@ -228,6 +233,42 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
|
228
233
|
add_message "google.cloud.aiplatform.v1.BatchCreateFeaturesOperationMetadata" do
|
|
229
234
|
optional :generic_metadata, :message, 1, "google.cloud.aiplatform.v1.GenericOperationMetadata"
|
|
230
235
|
end
|
|
236
|
+
add_message "google.cloud.aiplatform.v1.DeleteFeatureValuesRequest" do
|
|
237
|
+
optional :entity_type, :string, 1
|
|
238
|
+
oneof :DeleteOption do
|
|
239
|
+
optional :select_entity, :message, 2, "google.cloud.aiplatform.v1.DeleteFeatureValuesRequest.SelectEntity"
|
|
240
|
+
optional :select_time_range_and_feature, :message, 3, "google.cloud.aiplatform.v1.DeleteFeatureValuesRequest.SelectTimeRangeAndFeature"
|
|
241
|
+
end
|
|
242
|
+
end
|
|
243
|
+
add_message "google.cloud.aiplatform.v1.DeleteFeatureValuesRequest.SelectEntity" do
|
|
244
|
+
optional :entity_id_selector, :message, 1, "google.cloud.aiplatform.v1.EntityIdSelector"
|
|
245
|
+
end
|
|
246
|
+
add_message "google.cloud.aiplatform.v1.DeleteFeatureValuesRequest.SelectTimeRangeAndFeature" do
|
|
247
|
+
optional :time_range, :message, 1, "google.type.Interval"
|
|
248
|
+
optional :feature_selector, :message, 2, "google.cloud.aiplatform.v1.FeatureSelector"
|
|
249
|
+
optional :skip_online_storage_delete, :bool, 3
|
|
250
|
+
end
|
|
251
|
+
add_message "google.cloud.aiplatform.v1.DeleteFeatureValuesResponse" do
|
|
252
|
+
oneof :response do
|
|
253
|
+
optional :select_entity, :message, 1, "google.cloud.aiplatform.v1.DeleteFeatureValuesResponse.SelectEntity"
|
|
254
|
+
optional :select_time_range_and_feature, :message, 2, "google.cloud.aiplatform.v1.DeleteFeatureValuesResponse.SelectTimeRangeAndFeature"
|
|
255
|
+
end
|
|
256
|
+
end
|
|
257
|
+
add_message "google.cloud.aiplatform.v1.DeleteFeatureValuesResponse.SelectEntity" do
|
|
258
|
+
optional :offline_storage_deleted_entity_row_count, :int64, 1
|
|
259
|
+
optional :online_storage_deleted_entity_count, :int64, 2
|
|
260
|
+
end
|
|
261
|
+
add_message "google.cloud.aiplatform.v1.DeleteFeatureValuesResponse.SelectTimeRangeAndFeature" do
|
|
262
|
+
optional :impacted_feature_count, :int64, 1
|
|
263
|
+
optional :offline_storage_modified_entity_row_count, :int64, 2
|
|
264
|
+
optional :online_storage_modified_entity_count, :int64, 3
|
|
265
|
+
end
|
|
266
|
+
add_message "google.cloud.aiplatform.v1.EntityIdSelector" do
|
|
267
|
+
optional :entity_id_field, :string, 5
|
|
268
|
+
oneof :EntityIdsSource do
|
|
269
|
+
optional :csv_source, :message, 3, "google.cloud.aiplatform.v1.CsvSource"
|
|
270
|
+
end
|
|
271
|
+
end
|
|
231
272
|
end
|
|
232
273
|
end
|
|
233
274
|
|
|
@@ -275,9 +316,17 @@ module Google
|
|
|
275
316
|
ImportFeatureValuesOperationMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.ImportFeatureValuesOperationMetadata").msgclass
|
|
276
317
|
ExportFeatureValuesOperationMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.ExportFeatureValuesOperationMetadata").msgclass
|
|
277
318
|
BatchReadFeatureValuesOperationMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.BatchReadFeatureValuesOperationMetadata").msgclass
|
|
319
|
+
DeleteFeatureValuesOperationMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.DeleteFeatureValuesOperationMetadata").msgclass
|
|
278
320
|
CreateEntityTypeOperationMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.CreateEntityTypeOperationMetadata").msgclass
|
|
279
321
|
CreateFeatureOperationMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.CreateFeatureOperationMetadata").msgclass
|
|
280
322
|
BatchCreateFeaturesOperationMetadata = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.BatchCreateFeaturesOperationMetadata").msgclass
|
|
323
|
+
DeleteFeatureValuesRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.DeleteFeatureValuesRequest").msgclass
|
|
324
|
+
DeleteFeatureValuesRequest::SelectEntity = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.DeleteFeatureValuesRequest.SelectEntity").msgclass
|
|
325
|
+
DeleteFeatureValuesRequest::SelectTimeRangeAndFeature = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.DeleteFeatureValuesRequest.SelectTimeRangeAndFeature").msgclass
|
|
326
|
+
DeleteFeatureValuesResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.DeleteFeatureValuesResponse").msgclass
|
|
327
|
+
DeleteFeatureValuesResponse::SelectEntity = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.DeleteFeatureValuesResponse.SelectEntity").msgclass
|
|
328
|
+
DeleteFeatureValuesResponse::SelectTimeRangeAndFeature = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.DeleteFeatureValuesResponse.SelectTimeRangeAndFeature").msgclass
|
|
329
|
+
EntityIdSelector = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.EntityIdSelector").msgclass
|
|
281
330
|
end
|
|
282
331
|
end
|
|
283
332
|
end
|
|
@@ -97,6 +97,17 @@ module Google
|
|
|
97
97
|
rpc :BatchReadFeatureValues, ::Google::Cloud::AIPlatform::V1::BatchReadFeatureValuesRequest, ::Google::Longrunning::Operation
|
|
98
98
|
# Exports Feature values from all the entities of a target EntityType.
|
|
99
99
|
rpc :ExportFeatureValues, ::Google::Cloud::AIPlatform::V1::ExportFeatureValuesRequest, ::Google::Longrunning::Operation
|
|
100
|
+
# Delete Feature values from Featurestore.
|
|
101
|
+
#
|
|
102
|
+
# The progress of the deletion is tracked by the returned operation. The
|
|
103
|
+
# deleted feature values are guaranteed to be invisible to subsequent read
|
|
104
|
+
# operations after the operation is marked as successfully done.
|
|
105
|
+
#
|
|
106
|
+
# If a delete feature values operation fails, the feature values
|
|
107
|
+
# returned from reads and exports may be inconsistent. If consistency is
|
|
108
|
+
# required, the caller must retry the same delete request again and wait till
|
|
109
|
+
# the new operation returned is marked as successfully done.
|
|
110
|
+
rpc :DeleteFeatureValues, ::Google::Cloud::AIPlatform::V1::DeleteFeatureValuesRequest, ::Google::Longrunning::Operation
|
|
100
111
|
# Searches Features matching a query in a given project.
|
|
101
112
|
rpc :SearchFeatures, ::Google::Cloud::AIPlatform::V1::SearchFeaturesRequest, ::Google::Cloud::AIPlatform::V1::SearchFeaturesResponse
|
|
102
113
|
end
|
|
@@ -23,6 +23,8 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
|
23
23
|
optional :network, :string, 9
|
|
24
24
|
optional :enable_private_service_connect, :bool, 10
|
|
25
25
|
optional :private_service_connect_config, :message, 12, "google.cloud.aiplatform.v1.PrivateServiceConnectConfig"
|
|
26
|
+
optional :public_endpoint_enabled, :bool, 13
|
|
27
|
+
optional :public_endpoint_domain_name, :string, 14
|
|
26
28
|
end
|
|
27
29
|
add_message "google.cloud.aiplatform.v1.DeployedIndex" do
|
|
28
30
|
optional :id, :string, 1
|
|
@@ -10,6 +10,7 @@ require 'google/api/resource_pb'
|
|
|
10
10
|
require 'google/cloud/aiplatform/v1/index_endpoint_pb'
|
|
11
11
|
require 'google/cloud/aiplatform/v1/operation_pb'
|
|
12
12
|
require 'google/longrunning/operations_pb'
|
|
13
|
+
require 'google/protobuf/empty_pb'
|
|
13
14
|
require 'google/protobuf/field_mask_pb'
|
|
14
15
|
|
|
15
16
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
@@ -10,6 +10,7 @@ require 'google/api/resource_pb'
|
|
|
10
10
|
require 'google/cloud/aiplatform/v1/index_pb'
|
|
11
11
|
require 'google/cloud/aiplatform/v1/operation_pb'
|
|
12
12
|
require 'google/longrunning/operations_pb'
|
|
13
|
+
require 'google/protobuf/empty_pb'
|
|
13
14
|
require 'google/protobuf/field_mask_pb'
|
|
14
15
|
|
|
15
16
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
@@ -16,6 +16,7 @@ require 'google/cloud/aiplatform/v1/metadata_schema_pb'
|
|
|
16
16
|
require 'google/cloud/aiplatform/v1/metadata_store_pb'
|
|
17
17
|
require 'google/cloud/aiplatform/v1/operation_pb'
|
|
18
18
|
require 'google/longrunning/operations_pb'
|
|
19
|
+
require 'google/protobuf/empty_pb'
|
|
19
20
|
require 'google/protobuf/field_mask_pb'
|
|
20
21
|
|
|
21
22
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
@@ -5,8 +5,10 @@ require 'google/protobuf'
|
|
|
5
5
|
|
|
6
6
|
require 'google/api/field_behavior_pb'
|
|
7
7
|
require 'google/api/resource_pb'
|
|
8
|
+
require 'google/cloud/aiplatform/v1/explanation_pb'
|
|
8
9
|
require 'google/protobuf/struct_pb'
|
|
9
10
|
require 'google/protobuf/timestamp_pb'
|
|
11
|
+
require 'google/protobuf/wrappers_pb'
|
|
10
12
|
|
|
11
13
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
12
14
|
add_file("google/cloud/aiplatform/v1/model_evaluation_slice.proto", :syntax => :proto3) do
|
|
@@ -16,10 +18,32 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
|
16
18
|
optional :metrics_schema_uri, :string, 3
|
|
17
19
|
optional :metrics, :message, 4, "google.protobuf.Value"
|
|
18
20
|
optional :create_time, :message, 5, "google.protobuf.Timestamp"
|
|
21
|
+
optional :model_explanation, :message, 6, "google.cloud.aiplatform.v1.ModelExplanation"
|
|
19
22
|
end
|
|
20
23
|
add_message "google.cloud.aiplatform.v1.ModelEvaluationSlice.Slice" do
|
|
21
24
|
optional :dimension, :string, 1
|
|
22
25
|
optional :value, :string, 2
|
|
26
|
+
optional :slice_spec, :message, 3, "google.cloud.aiplatform.v1.ModelEvaluationSlice.Slice.SliceSpec"
|
|
27
|
+
end
|
|
28
|
+
add_message "google.cloud.aiplatform.v1.ModelEvaluationSlice.Slice.SliceSpec" do
|
|
29
|
+
map :configs, :string, :message, 1, "google.cloud.aiplatform.v1.ModelEvaluationSlice.Slice.SliceSpec.SliceConfig"
|
|
30
|
+
end
|
|
31
|
+
add_message "google.cloud.aiplatform.v1.ModelEvaluationSlice.Slice.SliceSpec.SliceConfig" do
|
|
32
|
+
oneof :kind do
|
|
33
|
+
optional :value, :message, 1, "google.cloud.aiplatform.v1.ModelEvaluationSlice.Slice.SliceSpec.Value"
|
|
34
|
+
optional :range, :message, 2, "google.cloud.aiplatform.v1.ModelEvaluationSlice.Slice.SliceSpec.Range"
|
|
35
|
+
optional :all_values, :message, 3, "google.protobuf.BoolValue"
|
|
36
|
+
end
|
|
37
|
+
end
|
|
38
|
+
add_message "google.cloud.aiplatform.v1.ModelEvaluationSlice.Slice.SliceSpec.Range" do
|
|
39
|
+
optional :low, :float, 1
|
|
40
|
+
optional :high, :float, 2
|
|
41
|
+
end
|
|
42
|
+
add_message "google.cloud.aiplatform.v1.ModelEvaluationSlice.Slice.SliceSpec.Value" do
|
|
43
|
+
oneof :kind do
|
|
44
|
+
optional :string_value, :string, 1
|
|
45
|
+
optional :float_value, :float, 2
|
|
46
|
+
end
|
|
23
47
|
end
|
|
24
48
|
end
|
|
25
49
|
end
|
|
@@ -30,6 +54,10 @@ module Google
|
|
|
30
54
|
module V1
|
|
31
55
|
ModelEvaluationSlice = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.ModelEvaluationSlice").msgclass
|
|
32
56
|
ModelEvaluationSlice::Slice = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.ModelEvaluationSlice.Slice").msgclass
|
|
57
|
+
ModelEvaluationSlice::Slice::SliceSpec = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.ModelEvaluationSlice.Slice.SliceSpec").msgclass
|
|
58
|
+
ModelEvaluationSlice::Slice::SliceSpec::SliceConfig = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.ModelEvaluationSlice.Slice.SliceSpec.SliceConfig").msgclass
|
|
59
|
+
ModelEvaluationSlice::Slice::SliceSpec::Range = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.ModelEvaluationSlice.Slice.SliceSpec.Range").msgclass
|
|
60
|
+
ModelEvaluationSlice::Slice::SliceSpec::Value = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.ModelEvaluationSlice.Slice.SliceSpec.Value").msgclass
|
|
33
61
|
end
|
|
34
62
|
end
|
|
35
63
|
end
|
|
@@ -81,12 +81,14 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
|
81
81
|
end
|
|
82
82
|
add_message "google.cloud.aiplatform.v1.ModelSourceInfo" do
|
|
83
83
|
optional :source_type, :enum, 1, "google.cloud.aiplatform.v1.ModelSourceInfo.ModelSourceType"
|
|
84
|
+
optional :copy, :bool, 2
|
|
84
85
|
end
|
|
85
86
|
add_enum "google.cloud.aiplatform.v1.ModelSourceInfo.ModelSourceType" do
|
|
86
87
|
value :MODEL_SOURCE_TYPE_UNSPECIFIED, 0
|
|
87
88
|
value :AUTOML, 1
|
|
88
89
|
value :CUSTOM, 2
|
|
89
90
|
value :BQML, 3
|
|
91
|
+
value :MODEL_GARDEN, 4
|
|
90
92
|
end
|
|
91
93
|
end
|
|
92
94
|
end
|
|
@@ -8,12 +8,14 @@ require 'google/api/client_pb'
|
|
|
8
8
|
require 'google/api/field_behavior_pb'
|
|
9
9
|
require 'google/api/resource_pb'
|
|
10
10
|
require 'google/cloud/aiplatform/v1/encryption_spec_pb'
|
|
11
|
+
require 'google/cloud/aiplatform/v1/evaluated_annotation_pb'
|
|
11
12
|
require 'google/cloud/aiplatform/v1/io_pb'
|
|
12
13
|
require 'google/cloud/aiplatform/v1/model_pb'
|
|
13
14
|
require 'google/cloud/aiplatform/v1/model_evaluation_pb'
|
|
14
15
|
require 'google/cloud/aiplatform/v1/model_evaluation_slice_pb'
|
|
15
16
|
require 'google/cloud/aiplatform/v1/operation_pb'
|
|
16
17
|
require 'google/longrunning/operations_pb'
|
|
18
|
+
require 'google/protobuf/empty_pb'
|
|
17
19
|
require 'google/protobuf/field_mask_pb'
|
|
18
20
|
|
|
19
21
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
@@ -119,6 +121,13 @@ Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
|
119
121
|
add_message "google.cloud.aiplatform.v1.BatchImportModelEvaluationSlicesResponse" do
|
|
120
122
|
repeated :imported_model_evaluation_slices, :string, 1
|
|
121
123
|
end
|
|
124
|
+
add_message "google.cloud.aiplatform.v1.BatchImportEvaluatedAnnotationsRequest" do
|
|
125
|
+
optional :parent, :string, 1
|
|
126
|
+
repeated :evaluated_annotations, :message, 2, "google.cloud.aiplatform.v1.EvaluatedAnnotation"
|
|
127
|
+
end
|
|
128
|
+
add_message "google.cloud.aiplatform.v1.BatchImportEvaluatedAnnotationsResponse" do
|
|
129
|
+
optional :imported_evaluated_annotations_count, :int32, 1
|
|
130
|
+
end
|
|
122
131
|
add_message "google.cloud.aiplatform.v1.GetModelEvaluationRequest" do
|
|
123
132
|
optional :name, :string, 1
|
|
124
133
|
end
|
|
@@ -177,6 +186,8 @@ module Google
|
|
|
177
186
|
ImportModelEvaluationRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.ImportModelEvaluationRequest").msgclass
|
|
178
187
|
BatchImportModelEvaluationSlicesRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.BatchImportModelEvaluationSlicesRequest").msgclass
|
|
179
188
|
BatchImportModelEvaluationSlicesResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.BatchImportModelEvaluationSlicesResponse").msgclass
|
|
189
|
+
BatchImportEvaluatedAnnotationsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.BatchImportEvaluatedAnnotationsRequest").msgclass
|
|
190
|
+
BatchImportEvaluatedAnnotationsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.BatchImportEvaluatedAnnotationsResponse").msgclass
|
|
180
191
|
GetModelEvaluationRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.GetModelEvaluationRequest").msgclass
|
|
181
192
|
ListModelEvaluationsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.ListModelEvaluationsRequest").msgclass
|
|
182
193
|
ListModelEvaluationsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.ListModelEvaluationsResponse").msgclass
|
|
@@ -54,8 +54,9 @@ module Google
|
|
|
54
54
|
rpc :DeleteModel, ::Google::Cloud::AIPlatform::V1::DeleteModelRequest, ::Google::Longrunning::Operation
|
|
55
55
|
# Deletes a Model version.
|
|
56
56
|
#
|
|
57
|
-
# Model version can only be deleted if there are no
|
|
58
|
-
# created from it.
|
|
57
|
+
# Model version can only be deleted if there are no
|
|
58
|
+
# [DeployedModels][google.cloud.aiplatform.v1.DeployedModel] created from it.
|
|
59
|
+
# Deleting the only version in the Model is not allowed. Use
|
|
59
60
|
# [DeleteModel][google.cloud.aiplatform.v1.ModelService.DeleteModel] for
|
|
60
61
|
# deleting the Model instead.
|
|
61
62
|
rpc :DeleteModelVersion, ::Google::Cloud::AIPlatform::V1::DeleteModelVersionRequest, ::Google::Longrunning::Operation
|
|
@@ -77,6 +78,8 @@ module Google
|
|
|
77
78
|
rpc :ImportModelEvaluation, ::Google::Cloud::AIPlatform::V1::ImportModelEvaluationRequest, ::Google::Cloud::AIPlatform::V1::ModelEvaluation
|
|
78
79
|
# Imports a list of externally generated ModelEvaluationSlice.
|
|
79
80
|
rpc :BatchImportModelEvaluationSlices, ::Google::Cloud::AIPlatform::V1::BatchImportModelEvaluationSlicesRequest, ::Google::Cloud::AIPlatform::V1::BatchImportModelEvaluationSlicesResponse
|
|
81
|
+
# Imports a list of externally generated EvaluatedAnnotations.
|
|
82
|
+
rpc :BatchImportEvaluatedAnnotations, ::Google::Cloud::AIPlatform::V1::BatchImportEvaluatedAnnotationsRequest, ::Google::Cloud::AIPlatform::V1::BatchImportEvaluatedAnnotationsResponse
|
|
80
83
|
# Gets a ModelEvaluation.
|
|
81
84
|
rpc :GetModelEvaluation, ::Google::Cloud::AIPlatform::V1::GetModelEvaluationRequest, ::Google::Cloud::AIPlatform::V1::ModelEvaluation
|
|
82
85
|
# Lists ModelEvaluations in a Model.
|
|
@@ -7,6 +7,7 @@ require 'google/api/annotations_pb'
|
|
|
7
7
|
require 'google/api/client_pb'
|
|
8
8
|
require 'google/api/field_behavior_pb'
|
|
9
9
|
require 'google/api/resource_pb'
|
|
10
|
+
require 'google/cloud/aiplatform/v1/operation_pb'
|
|
10
11
|
require 'google/cloud/aiplatform/v1/pipeline_job_pb'
|
|
11
12
|
require 'google/cloud/aiplatform/v1/training_pipeline_pb'
|
|
12
13
|
require 'google/longrunning/operations_pb'
|
|
@@ -10,6 +10,7 @@ require 'google/api/resource_pb'
|
|
|
10
10
|
require 'google/cloud/aiplatform/v1/operation_pb'
|
|
11
11
|
require 'google/cloud/aiplatform/v1/specialist_pool_pb'
|
|
12
12
|
require 'google/longrunning/operations_pb'
|
|
13
|
+
require 'google/protobuf/empty_pb'
|
|
13
14
|
require 'google/protobuf/field_mask_pb'
|
|
14
15
|
|
|
15
16
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
@@ -14,6 +14,7 @@ require 'google/cloud/aiplatform/v1/tensorboard_experiment_pb'
|
|
|
14
14
|
require 'google/cloud/aiplatform/v1/tensorboard_run_pb'
|
|
15
15
|
require 'google/cloud/aiplatform/v1/tensorboard_time_series_pb'
|
|
16
16
|
require 'google/longrunning/operations_pb'
|
|
17
|
+
require 'google/protobuf/empty_pb'
|
|
17
18
|
require 'google/protobuf/field_mask_pb'
|
|
18
19
|
|
|
19
20
|
Google::Protobuf::DescriptorPool.generated_pool.build do
|
|
@@ -71,7 +71,7 @@ module Google
|
|
|
71
71
|
# Checks whether a Trial should stop or not. Returns a
|
|
72
72
|
# long-running operation. When the operation is successful,
|
|
73
73
|
# it will contain a
|
|
74
|
-
# [CheckTrialEarlyStoppingStateResponse][google.cloud.
|
|
74
|
+
# [CheckTrialEarlyStoppingStateResponse][google.cloud.aiplatform.v1.CheckTrialEarlyStoppingStateResponse].
|
|
75
75
|
rpc :CheckTrialEarlyStoppingState, ::Google::Cloud::AIPlatform::V1::CheckTrialEarlyStoppingStateRequest, ::Google::Longrunning::Operation
|
|
76
76
|
# Stops a Trial.
|
|
77
77
|
rpc :StopTrial, ::Google::Cloud::AIPlatform::V1::StopTrialRequest, ::Google::Cloud::AIPlatform::V1::Trial
|
|
@@ -35,7 +35,9 @@ module Google
|
|
|
35
35
|
# Details about how and where to publish client libraries.
|
|
36
36
|
# @!attribute [rw] version
|
|
37
37
|
# @return [::String]
|
|
38
|
-
# Version of the API to apply these settings to.
|
|
38
|
+
# Version of the API to apply these settings to. This is the full protobuf
|
|
39
|
+
# package for the API, ending in the version element.
|
|
40
|
+
# Examples: "google.cloud.speech.v1" and "google.spanner.admin.database.v1".
|
|
39
41
|
# @!attribute [rw] launch_stage
|
|
40
42
|
# @return [::Google::Api::LaunchStage]
|
|
41
43
|
# Launch stage of this version of the API.
|
|
@@ -111,6 +113,10 @@ module Google
|
|
|
111
113
|
# Client library settings. If the same version string appears multiple
|
|
112
114
|
# times in this list, then the last one wins. Settings from earlier
|
|
113
115
|
# settings with the same version string are discarded.
|
|
116
|
+
# @!attribute [rw] proto_reference_documentation_uri
|
|
117
|
+
# @return [::String]
|
|
118
|
+
# Optional link to proto reference documentation. Example:
|
|
119
|
+
# https://cloud.google.com/pubsub/lite/docs/reference/rpc
|
|
114
120
|
class Publishing
|
|
115
121
|
include ::Google::Protobuf::MessageExts
|
|
116
122
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
@@ -203,9 +209,57 @@ module Google
|
|
|
203
209
|
# @!attribute [rw] common
|
|
204
210
|
# @return [::Google::Api::CommonLanguageSettings]
|
|
205
211
|
# Some settings.
|
|
212
|
+
# @!attribute [rw] renamed_services
|
|
213
|
+
# @return [::Google::Protobuf::Map{::String => ::String}]
|
|
214
|
+
# Map from original service names to renamed versions.
|
|
215
|
+
# This is used when the default generated types
|
|
216
|
+
# would cause a naming conflict. (Neither name is
|
|
217
|
+
# fully-qualified.)
|
|
218
|
+
# Example: Subscriber to SubscriberServiceApi.
|
|
219
|
+
# @!attribute [rw] renamed_resources
|
|
220
|
+
# @return [::Google::Protobuf::Map{::String => ::String}]
|
|
221
|
+
# Map from full resource types to the effective short name
|
|
222
|
+
# for the resource. This is used when otherwise resource
|
|
223
|
+
# named from different services would cause naming collisions.
|
|
224
|
+
# Example entry:
|
|
225
|
+
# "datalabeling.googleapis.com/Dataset": "DataLabelingDataset"
|
|
226
|
+
# @!attribute [rw] ignored_resources
|
|
227
|
+
# @return [::Array<::String>]
|
|
228
|
+
# List of full resource types to ignore during generation.
|
|
229
|
+
# This is typically used for API-specific Location resources,
|
|
230
|
+
# which should be handled by the generator as if they were actually
|
|
231
|
+
# the common Location resources.
|
|
232
|
+
# Example entry: "documentai.googleapis.com/Location"
|
|
233
|
+
# @!attribute [rw] forced_namespace_aliases
|
|
234
|
+
# @return [::Array<::String>]
|
|
235
|
+
# Namespaces which must be aliased in snippets due to
|
|
236
|
+
# a known (but non-generator-predictable) naming collision
|
|
237
|
+
# @!attribute [rw] handwritten_signatures
|
|
238
|
+
# @return [::Array<::String>]
|
|
239
|
+
# Method signatures (in the form "service.method(signature)")
|
|
240
|
+
# which are provided separately, so shouldn't be generated.
|
|
241
|
+
# Snippets *calling* these methods are still generated, however.
|
|
206
242
|
class DotnetSettings
|
|
207
243
|
include ::Google::Protobuf::MessageExts
|
|
208
244
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
245
|
+
|
|
246
|
+
# @!attribute [rw] key
|
|
247
|
+
# @return [::String]
|
|
248
|
+
# @!attribute [rw] value
|
|
249
|
+
# @return [::String]
|
|
250
|
+
class RenamedServicesEntry
|
|
251
|
+
include ::Google::Protobuf::MessageExts
|
|
252
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
253
|
+
end
|
|
254
|
+
|
|
255
|
+
# @!attribute [rw] key
|
|
256
|
+
# @return [::String]
|
|
257
|
+
# @!attribute [rw] value
|
|
258
|
+
# @return [::String]
|
|
259
|
+
class RenamedResourcesEntry
|
|
260
|
+
include ::Google::Protobuf::MessageExts
|
|
261
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
262
|
+
end
|
|
209
263
|
end
|
|
210
264
|
|
|
211
265
|
# Settings for Ruby client libraries.
|
|
@@ -240,8 +294,8 @@ module Google
|
|
|
240
294
|
# Example of a YAML configuration::
|
|
241
295
|
#
|
|
242
296
|
# publishing:
|
|
243
|
-
#
|
|
244
|
-
# - selector:
|
|
297
|
+
# method_settings:
|
|
298
|
+
# - selector: google.cloud.speech.v2.Speech.BatchRecognize
|
|
245
299
|
# long_running:
|
|
246
300
|
# initial_poll_delay:
|
|
247
301
|
# seconds: 60 # 1 minute
|
|
@@ -42,7 +42,11 @@ module Google
|
|
|
42
42
|
# Exactly one of model and unmanaged_container_model must be set.
|
|
43
43
|
#
|
|
44
44
|
# The model resource name may contain version id or version alias to specify
|
|
45
|
-
# the version
|
|
45
|
+
# the version.
|
|
46
|
+
# Example: `projects/{project}/locations/{location}/models/{model}@2`
|
|
47
|
+
# or
|
|
48
|
+
# `projects/{project}/locations/{location}/models/{model}@golden`
|
|
49
|
+
# if no version is specified, the default version will be deployed.
|
|
46
50
|
# @!attribute [r] model_version_id
|
|
47
51
|
# @return [::String]
|
|
48
52
|
# Output only. The version ID of the Model that produces the predictions via
|
|
@@ -197,6 +201,15 @@ module Google
|
|
|
197
201
|
# Customer-managed encryption key options for a BatchPredictionJob. If this
|
|
198
202
|
# is set, then all resources created by the BatchPredictionJob will be
|
|
199
203
|
# encrypted with the provided encryption key.
|
|
204
|
+
# @!attribute [rw] disable_container_logging
|
|
205
|
+
# @return [::Boolean]
|
|
206
|
+
# For custom-trained Models and AutoML Tabular Models, the container of the
|
|
207
|
+
# DeployedModel instances will send `stderr` and `stdout` streams to
|
|
208
|
+
# Stackdriver Logging by default. Please note that the logs incur cost,
|
|
209
|
+
# which are subject to [Cloud Logging
|
|
210
|
+
# pricing](https://cloud.google.com/stackdriver/pricing).
|
|
211
|
+
#
|
|
212
|
+
# User can disable container logging by setting this flag to true.
|
|
200
213
|
class BatchPredictionJob
|
|
201
214
|
include ::Google::Protobuf::MessageExts
|
|
202
215
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
@@ -177,6 +177,9 @@ module Google
|
|
|
177
177
|
# which are named with the corresponding annotations' schema title. Inside
|
|
178
178
|
# these sub directories, a schema.yaml will be created to describe the
|
|
179
179
|
# output format.
|
|
180
|
+
# @!attribute [rw] fraction_split
|
|
181
|
+
# @return [::Google::Cloud::AIPlatform::V1::ExportFractionSplit]
|
|
182
|
+
# Split based on fractions defining the size of each set.
|
|
180
183
|
# @!attribute [rw] annotations_filter
|
|
181
184
|
# @return [::String]
|
|
182
185
|
# A filter on Annotations of the Dataset. Only Annotations on to-be-exported
|
|
@@ -187,6 +190,26 @@ module Google
|
|
|
187
190
|
include ::Google::Protobuf::MessageExts
|
|
188
191
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
189
192
|
end
|
|
193
|
+
|
|
194
|
+
# Assigns the input data to training, validation, and test sets as per the
|
|
195
|
+
# given fractions. Any of `training_fraction`, `validation_fraction` and
|
|
196
|
+
# `test_fraction` may optionally be provided, they must sum to up to 1. If the
|
|
197
|
+
# provided ones sum to less than 1, the remainder is assigned to sets as
|
|
198
|
+
# decided by Vertex AI. If none of the fractions are set, by default roughly
|
|
199
|
+
# 80% of data is used for training, 10% for validation, and 10% for test.
|
|
200
|
+
# @!attribute [rw] training_fraction
|
|
201
|
+
# @return [::Float]
|
|
202
|
+
# The fraction of the input data that is to be used to train the Model.
|
|
203
|
+
# @!attribute [rw] validation_fraction
|
|
204
|
+
# @return [::Float]
|
|
205
|
+
# The fraction of the input data that is to be used to validate the Model.
|
|
206
|
+
# @!attribute [rw] test_fraction
|
|
207
|
+
# @return [::Float]
|
|
208
|
+
# The fraction of the input data that is to be used to evaluate the Model.
|
|
209
|
+
class ExportFractionSplit
|
|
210
|
+
include ::Google::Protobuf::MessageExts
|
|
211
|
+
extend ::Google::Protobuf::MessageExts::ClassMethods
|
|
212
|
+
end
|
|
190
213
|
end
|
|
191
214
|
end
|
|
192
215
|
end
|
|
@@ -156,7 +156,11 @@ module Google
|
|
|
156
156
|
# Endpoint.
|
|
157
157
|
#
|
|
158
158
|
# The resource name may contain version id or version alias to specify the
|
|
159
|
-
# version
|
|
159
|
+
# version.
|
|
160
|
+
# Example: `projects/{project}/locations/{location}/models/{model}@2`
|
|
161
|
+
# or
|
|
162
|
+
# `projects/{project}/locations/{location}/models/{model}@golden`
|
|
163
|
+
# if no version is specified, the default version will be deployed.
|
|
160
164
|
# @!attribute [r] model_version_id
|
|
161
165
|
# @return [::String]
|
|
162
166
|
# Output only. The version ID of the model that is deployed.
|
|
@@ -36,10 +36,16 @@ module Google
|
|
|
36
36
|
# component of the endpoint resource name.
|
|
37
37
|
# If not provided, Vertex AI will generate a value for this ID.
|
|
38
38
|
#
|
|
39
|
-
#
|
|
40
|
-
#
|
|
41
|
-
#
|
|
42
|
-
#
|
|
39
|
+
# If the first character is a letter, this value may be up to 63 characters,
|
|
40
|
+
# and valid characters are `[a-z0-9-]`. The last character must be a letter
|
|
41
|
+
# or number.
|
|
42
|
+
#
|
|
43
|
+
# If the first character is a number, this value may be up to 9 characters,
|
|
44
|
+
# and valid characters are `[0-9]` with no leading zeros.
|
|
45
|
+
#
|
|
46
|
+
# When using HTTP/JSON, this field is populated
|
|
47
|
+
# based on a query string argument, such as `?endpoint_id=12345`. This is the
|
|
48
|
+
# fallback for fields that are not included in either the URI or the body.
|
|
43
49
|
class CreateEndpointRequest
|
|
44
50
|
include ::Google::Protobuf::MessageExts
|
|
45
51
|
extend ::Google::Protobuf::MessageExts::ClassMethods
|