google-cloud-ai_platform-v1 0.24.0 → 0.26.0
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +4 -4
- data/lib/google/cloud/ai_platform/v1/dataset_service/client.rb +4 -2
- data/lib/google/cloud/ai_platform/v1/dataset_service/operations.rb +3 -1
- data/lib/google/cloud/ai_platform/v1/endpoint_service/client.rb +4 -2
- data/lib/google/cloud/ai_platform/v1/endpoint_service/operations.rb +3 -1
- data/lib/google/cloud/ai_platform/v1/featurestore_online_serving_service/client.rb +4 -2
- data/lib/google/cloud/ai_platform/v1/featurestore_service/client.rb +5 -3
- data/lib/google/cloud/ai_platform/v1/featurestore_service/operations.rb +3 -1
- data/lib/google/cloud/ai_platform/v1/index_endpoint_service/client.rb +4 -2
- data/lib/google/cloud/ai_platform/v1/index_endpoint_service/operations.rb +3 -1
- data/lib/google/cloud/ai_platform/v1/index_service/client.rb +4 -2
- data/lib/google/cloud/ai_platform/v1/index_service/operations.rb +3 -1
- data/lib/google/cloud/ai_platform/v1/job_service/client.rb +4 -2
- data/lib/google/cloud/ai_platform/v1/job_service/operations.rb +3 -1
- data/lib/google/cloud/ai_platform/v1/match_service/client.rb +4 -2
- data/lib/google/cloud/ai_platform/v1/metadata_service/client.rb +16 -5
- data/lib/google/cloud/ai_platform/v1/metadata_service/operations.rb +3 -1
- data/lib/google/cloud/ai_platform/v1/migration_service/client.rb +4 -2
- data/lib/google/cloud/ai_platform/v1/migration_service/operations.rb +3 -1
- data/lib/google/cloud/ai_platform/v1/model_garden_service/client.rb +424 -0
- data/lib/google/cloud/ai_platform/v1/model_garden_service/credentials.rb +47 -0
- data/lib/google/cloud/ai_platform/v1/model_garden_service/paths.rb +50 -0
- data/lib/google/cloud/ai_platform/v1/model_garden_service.rb +49 -0
- data/lib/google/cloud/ai_platform/v1/model_service/client.rb +107 -2
- data/lib/google/cloud/ai_platform/v1/model_service/operations.rb +3 -1
- data/lib/google/cloud/ai_platform/v1/model_service/paths.rb +19 -0
- data/lib/google/cloud/ai_platform/v1/pipeline_service/client.rb +4 -2
- data/lib/google/cloud/ai_platform/v1/pipeline_service/operations.rb +3 -1
- data/lib/google/cloud/ai_platform/v1/prediction_service/client.rb +5 -4
- data/lib/google/cloud/ai_platform/v1/specialist_pool_service/client.rb +4 -2
- data/lib/google/cloud/ai_platform/v1/specialist_pool_service/operations.rb +3 -1
- data/lib/google/cloud/ai_platform/v1/tensorboard_service/client.rb +4 -2
- data/lib/google/cloud/ai_platform/v1/tensorboard_service/operations.rb +3 -1
- data/lib/google/cloud/ai_platform/v1/version.rb +1 -1
- data/lib/google/cloud/ai_platform/v1/vizier_service/client.rb +6 -3
- data/lib/google/cloud/ai_platform/v1/vizier_service/operations.rb +3 -1
- data/lib/google/cloud/ai_platform/v1.rb +1 -0
- data/lib/google/cloud/aiplatform/v1/accelerator_type_pb.rb +24 -14
- data/lib/google/cloud/aiplatform/v1/annotation_pb.rb +27 -11
- data/lib/google/cloud/aiplatform/v1/annotation_spec_pb.rb +25 -8
- data/lib/google/cloud/aiplatform/v1/artifact_pb.rb +26 -20
- data/lib/google/cloud/aiplatform/v1/batch_prediction_job_pb.rb +34 -57
- data/lib/google/cloud/aiplatform/v1/completion_stats_pb.rb +24 -7
- data/lib/google/cloud/aiplatform/v1/context_pb.rb +26 -14
- data/lib/google/cloud/aiplatform/v1/custom_job_pb.rb +31 -55
- data/lib/google/cloud/aiplatform/v1/data_item_pb.rb +26 -9
- data/lib/google/cloud/aiplatform/v1/data_labeling_job_pb.rb +29 -45
- data/lib/google/cloud/aiplatform/v1/dataset_pb.rb +29 -37
- data/lib/google/cloud/aiplatform/v1/dataset_service_pb.rb +30 -121
- data/lib/google/cloud/aiplatform/v1/deployed_index_ref_pb.rb +24 -5
- data/lib/google/cloud/aiplatform/v1/deployed_model_ref_pb.rb +24 -5
- data/lib/google/cloud/aiplatform/v1/encryption_spec_pb.rb +24 -4
- data/lib/google/cloud/aiplatform/v1/endpoint_pb.rb +29 -44
- data/lib/google/cloud/aiplatform/v1/endpoint_service_pb.rb +27 -63
- data/lib/google/cloud/aiplatform/v1/entity_type_pb.rb +26 -11
- data/lib/google/cloud/aiplatform/v1/env_var_pb.rb +24 -5
- data/lib/google/cloud/aiplatform/v1/evaluated_annotation_pb.rb +26 -36
- data/lib/google/cloud/aiplatform/v1/event_pb.rb +25 -13
- data/lib/google/cloud/aiplatform/v1/execution_pb.rb +26 -23
- data/lib/google/cloud/aiplatform/v1/explanation_metadata_pb.rb +25 -78
- data/lib/google/cloud/aiplatform/v1/explanation_pb.rb +27 -125
- data/lib/google/cloud/aiplatform/v1/feature_monitoring_stats_pb.rb +25 -10
- data/lib/google/cloud/aiplatform/v1/feature_pb.rb +26 -33
- data/lib/google/cloud/aiplatform/v1/feature_selector_pb.rb +24 -7
- data/lib/google/cloud/aiplatform/v1/featurestore_monitoring_pb.rb +24 -33
- data/lib/google/cloud/aiplatform/v1/featurestore_online_service_pb.rb +27 -62
- data/lib/google/cloud/aiplatform/v1/featurestore_pb.rb +26 -26
- data/lib/google/cloud/aiplatform/v1/featurestore_service_pb.rb +33 -249
- data/lib/google/cloud/aiplatform/v1/hyperparameter_tuning_job_pb.rb +29 -19
- data/lib/google/cloud/aiplatform/v1/index_endpoint_pb.rb +27 -41
- data/lib/google/cloud/aiplatform/v1/index_endpoint_service_pb.rb +27 -60
- data/lib/google/cloud/aiplatform/v1/index_pb.rb +27 -38
- data/lib/google/cloud/aiplatform/v1/index_service_pb.rb +27 -73
- data/lib/google/cloud/aiplatform/v1/io_pb.rb +24 -28
- data/lib/google/cloud/aiplatform/v1/job_service_pb.rb +33 -186
- data/lib/google/cloud/aiplatform/v1/job_state_pb.rb +24 -14
- data/lib/google/cloud/aiplatform/v1/lineage_subgraph_pb.rb +27 -6
- data/lib/google/cloud/aiplatform/v1/machine_resources_pb.rb +24 -37
- data/lib/google/cloud/aiplatform/v1/manual_batch_tuning_parameters_pb.rb +24 -4
- data/lib/google/cloud/aiplatform/v1/match_service_pb.rb +25 -33
- data/lib/google/cloud/aiplatform/v1/metadata_schema_pb.rb +25 -15
- data/lib/google/cloud/aiplatform/v1/metadata_service_pb.rb +32 -203
- data/lib/google/cloud/aiplatform/v1/metadata_store_pb.rb +26 -12
- data/lib/google/cloud/aiplatform/v1/migratable_resource_pb.rb +25 -32
- data/lib/google/cloud/aiplatform/v1/migration_service_pb.rb +27 -66
- data/lib/google/cloud/aiplatform/v1/model_deployment_monitoring_job_pb.rb +32 -78
- data/lib/google/cloud/aiplatform/v1/model_evaluation_pb.rb +27 -18
- data/lib/google/cloud/aiplatform/v1/model_evaluation_slice_pb.rb +28 -34
- data/lib/google/cloud/aiplatform/v1/model_garden_service_pb.rb +49 -0
- data/lib/google/cloud/aiplatform/v1/model_garden_service_services_pb.rb +45 -0
- data/lib/google/cloud/aiplatform/v1/model_monitoring_pb.rb +25 -63
- data/lib/google/cloud/aiplatform/v1/model_pb.rb +31 -78
- data/lib/google/cloud/aiplatform/v1/model_service_pb.rb +37 -137
- data/lib/google/cloud/aiplatform/v1/model_service_services_pb.rb +2 -0
- data/lib/google/cloud/aiplatform/v1/nas_job_pb.rb +29 -84
- data/lib/google/cloud/aiplatform/v1/operation_pb.rb +26 -9
- data/lib/google/cloud/aiplatform/v1/pipeline_failure_policy_pb.rb +24 -6
- data/lib/google/cloud/aiplatform/v1/pipeline_job_pb.rb +32 -91
- data/lib/google/cloud/aiplatform/v1/pipeline_service_pb.rb +27 -51
- data/lib/google/cloud/aiplatform/v1/pipeline_state_pb.rb +24 -12
- data/lib/google/cloud/aiplatform/v1/prediction_service_pb.rb +27 -29
- data/lib/google/cloud/aiplatform/v1/prediction_service_services_pb.rb +1 -2
- data/lib/google/cloud/aiplatform/v1/publisher_model_pb.rb +57 -0
- data/lib/google/cloud/aiplatform/v1/saved_query_pb.rb +26 -13
- data/lib/google/cloud/aiplatform/v1/service_networking_pb.rb +24 -5
- data/lib/google/cloud/aiplatform/v1/specialist_pool_pb.rb +24 -9
- data/lib/google/cloud/aiplatform/v1/specialist_pool_service_pb.rb +27 -33
- data/lib/google/cloud/aiplatform/v1/study_pb.rb +27 -157
- data/lib/google/cloud/aiplatform/v1/tensorboard_data_pb.rb +25 -29
- data/lib/google/cloud/aiplatform/v1/tensorboard_experiment_pb.rb +25 -11
- data/lib/google/cloud/aiplatform/v1/tensorboard_pb.rb +26 -14
- data/lib/google/cloud/aiplatform/v1/tensorboard_run_pb.rb +25 -10
- data/lib/google/cloud/aiplatform/v1/tensorboard_service_pb.rb +31 -186
- data/lib/google/cloud/aiplatform/v1/tensorboard_time_series_pb.rb +25 -24
- data/lib/google/cloud/aiplatform/v1/training_pipeline_pb.rb +30 -63
- data/lib/google/cloud/aiplatform/v1/types_pb.rb +24 -13
- data/lib/google/cloud/aiplatform/v1/unmanaged_container_model_pb.rb +25 -6
- data/lib/google/cloud/aiplatform/v1/user_action_reference_pb.rb +24 -8
- data/lib/google/cloud/aiplatform/v1/value_pb.rb +24 -8
- data/lib/google/cloud/aiplatform/v1/vizier_service_pb.rb +27 -88
- data/lib/google/cloud/aiplatform/v1/vizier_service_services_pb.rb +2 -1
- data/proto_docs/google/cloud/aiplatform/v1/accelerator_type.rb +3 -0
- data/proto_docs/google/cloud/aiplatform/v1/featurestore_service.rb +6 -2
- data/proto_docs/google/cloud/aiplatform/v1/index_endpoint.rb +7 -8
- data/proto_docs/google/cloud/aiplatform/v1/metadata_service.rb +12 -3
- data/proto_docs/google/cloud/aiplatform/v1/model.rb +14 -0
- data/proto_docs/google/cloud/aiplatform/v1/model_evaluation.rb +3 -2
- data/proto_docs/google/cloud/aiplatform/v1/model_garden_service.rb +61 -0
- data/proto_docs/google/cloud/aiplatform/v1/model_service.rb +32 -0
- data/proto_docs/google/cloud/aiplatform/v1/publisher_model.rb +235 -0
- data/proto_docs/google/cloud/aiplatform/v1/tensorboard_experiment.rb +2 -1
- data/proto_docs/google/protobuf/any.rb +7 -4
- data/proto_docs/google/protobuf/struct.rb +1 -1
- data/proto_docs/google/protobuf/timestamp.rb +1 -3
- metadata +13 -4
@@ -1,3 +1,4 @@
|
|
1
|
+
# frozen_string_literal: true
|
1
2
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
3
|
# source: google/cloud/aiplatform/v1/feature_selector.proto
|
3
4
|
|
@@ -5,15 +6,31 @@ require 'google/protobuf'
|
|
5
6
|
|
6
7
|
require 'google/api/field_behavior_pb'
|
7
8
|
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
9
|
+
|
10
|
+
descriptor_data = "\n1google/cloud/aiplatform/v1/feature_selector.proto\x12\x1agoogle.cloud.aiplatform.v1\x1a\x1fgoogle/api/field_behavior.proto\"\x1d\n\tIdMatcher\x12\x10\n\x03ids\x18\x01 \x03(\tB\x03\xe0\x41\x02\"Q\n\x0f\x46\x65\x61tureSelector\x12>\n\nid_matcher\x18\x01 \x01(\x0b\x32%.google.cloud.aiplatform.v1.IdMatcherB\x03\xe0\x41\x02\x42\xd2\x01\n\x1e\x63om.google.cloud.aiplatform.v1B\x14\x46\x65\x61tureSelectorProtoP\x01Z>cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpb\xaa\x02\x1aGoogle.Cloud.AIPlatform.V1\xca\x02\x1aGoogle\\Cloud\\AIPlatform\\V1\xea\x02\x1dGoogle::Cloud::AIPlatform::V1b\x06proto3"
|
11
|
+
|
12
|
+
pool = Google::Protobuf::DescriptorPool.generated_pool
|
13
|
+
|
14
|
+
begin
|
15
|
+
pool.add_serialized_file(descriptor_data)
|
16
|
+
rescue TypeError => e
|
17
|
+
# Compatibility code: will be removed in the next major version.
|
18
|
+
require 'google/protobuf/descriptor_pb'
|
19
|
+
parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
|
20
|
+
parsed.clear_dependency
|
21
|
+
serialized = parsed.class.encode(parsed)
|
22
|
+
file = pool.add_serialized_file(serialized)
|
23
|
+
warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
|
24
|
+
imports = [
|
25
|
+
]
|
26
|
+
imports.each do |type_name, expected_filename|
|
27
|
+
import_file = pool.lookup(type_name).file_descriptor
|
28
|
+
if import_file.name != expected_filename
|
29
|
+
warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
|
15
30
|
end
|
16
31
|
end
|
32
|
+
warn "Each proto file must use a consistent fully-qualified name."
|
33
|
+
warn "This will become an error in the next major version."
|
17
34
|
end
|
18
35
|
|
19
36
|
module Google
|
@@ -1,43 +1,34 @@
|
|
1
|
+
# frozen_string_literal: true
|
1
2
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
3
|
# source: google/cloud/aiplatform/v1/featurestore_monitoring.proto
|
3
4
|
|
4
5
|
require 'google/protobuf'
|
5
6
|
|
6
|
-
|
7
|
-
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
value :DISABLED, 3
|
28
|
-
end
|
29
|
-
add_enum "google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis.Baseline" do
|
30
|
-
value :BASELINE_UNSPECIFIED, 0
|
31
|
-
value :LATEST_STATS, 1
|
32
|
-
value :MOST_RECENT_SNAPSHOT_STATS, 2
|
33
|
-
value :PREVIOUS_IMPORT_FEATURES_STATS, 3
|
34
|
-
end
|
35
|
-
add_message "google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ThresholdConfig" do
|
36
|
-
oneof :threshold do
|
37
|
-
optional :value, :double, 1
|
38
|
-
end
|
7
|
+
|
8
|
+
descriptor_data = "\n8google/cloud/aiplatform/v1/featurestore_monitoring.proto\x12\x1agoogle.cloud.aiplatform.v1\"\xa9\x08\n\x1c\x46\x65\x61turestoreMonitoringConfig\x12\x64\n\x11snapshot_analysis\x18\x01 \x01(\x0b\x32I.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.SnapshotAnalysis\x12q\n\x18import_features_analysis\x18\x02 \x01(\x0b\x32O.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis\x12l\n\x1anumerical_threshold_config\x18\x03 \x01(\x0b\x32H.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ThresholdConfig\x12n\n\x1c\x63\x61tegorical_threshold_config\x18\x04 \x01(\x0b\x32H.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ThresholdConfig\x1a^\n\x10SnapshotAnalysis\x12\x10\n\x08\x64isabled\x18\x01 \x01(\x08\x12 \n\x18monitoring_interval_days\x18\x03 \x01(\x05\x12\x16\n\x0estaleness_days\x18\x04 \x01(\x05\x1a\xc0\x03\n\x16ImportFeaturesAnalysis\x12\x64\n\x05state\x18\x01 \x01(\x0e\x32U.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis.State\x12|\n\x1a\x61nomaly_detection_baseline\x18\x02 \x01(\x0e\x32X.google.cloud.aiplatform.v1.FeaturestoreMonitoringConfig.ImportFeaturesAnalysis.Baseline\"F\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\x0b\n\x07\x44\x45\x46\x41ULT\x10\x01\x12\x0b\n\x07\x45NABLED\x10\x02\x12\x0c\n\x08\x44ISABLED\x10\x03\"z\n\x08\x42\x61seline\x12\x18\n\x14\x42\x41SELINE_UNSPECIFIED\x10\x00\x12\x10\n\x0cLATEST_STATS\x10\x01\x12\x1e\n\x1aMOST_RECENT_SNAPSHOT_STATS\x10\x02\x12\"\n\x1ePREVIOUS_IMPORT_FEATURES_STATS\x10\x03\x1a/\n\x0fThresholdConfig\x12\x0f\n\x05value\x18\x01 \x01(\x01H\x00\x42\x0b\n\tthresholdB\xd9\x01\n\x1e\x63om.google.cloud.aiplatform.v1B\x1b\x46\x65\x61turestoreMonitoringProtoP\x01Z>cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpb\xaa\x02\x1aGoogle.Cloud.AIPlatform.V1\xca\x02\x1aGoogle\\Cloud\\AIPlatform\\V1\xea\x02\x1dGoogle::Cloud::AIPlatform::V1b\x06proto3"
|
9
|
+
|
10
|
+
pool = Google::Protobuf::DescriptorPool.generated_pool
|
11
|
+
|
12
|
+
begin
|
13
|
+
pool.add_serialized_file(descriptor_data)
|
14
|
+
rescue TypeError => e
|
15
|
+
# Compatibility code: will be removed in the next major version.
|
16
|
+
require 'google/protobuf/descriptor_pb'
|
17
|
+
parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
|
18
|
+
parsed.clear_dependency
|
19
|
+
serialized = parsed.class.encode(parsed)
|
20
|
+
file = pool.add_serialized_file(serialized)
|
21
|
+
warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
|
22
|
+
imports = [
|
23
|
+
]
|
24
|
+
imports.each do |type_name, expected_filename|
|
25
|
+
import_file = pool.lookup(type_name).file_descriptor
|
26
|
+
if import_file.name != expected_filename
|
27
|
+
warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
|
39
28
|
end
|
40
29
|
end
|
30
|
+
warn "Each proto file must use a consistent fully-qualified name."
|
31
|
+
warn "This will become an error in the next major version."
|
41
32
|
end
|
42
33
|
|
43
34
|
module Google
|
@@ -1,3 +1,4 @@
|
|
1
|
+
# frozen_string_literal: true
|
1
2
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
3
|
# source: google/cloud/aiplatform/v1/featurestore_online_service.proto
|
3
4
|
|
@@ -11,70 +12,34 @@ require 'google/cloud/aiplatform/v1/feature_selector_pb'
|
|
11
12
|
require 'google/cloud/aiplatform/v1/types_pb'
|
12
13
|
require 'google/protobuf/timestamp_pb'
|
13
14
|
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
add_message "google.cloud.aiplatform.v1.ReadFeatureValuesResponse.Header" do
|
39
|
-
optional :entity_type, :string, 1
|
40
|
-
repeated :feature_descriptors, :message, 2, "google.cloud.aiplatform.v1.ReadFeatureValuesResponse.FeatureDescriptor"
|
41
|
-
end
|
42
|
-
add_message "google.cloud.aiplatform.v1.ReadFeatureValuesResponse.EntityView" do
|
43
|
-
optional :entity_id, :string, 1
|
44
|
-
repeated :data, :message, 2, "google.cloud.aiplatform.v1.ReadFeatureValuesResponse.EntityView.Data"
|
45
|
-
end
|
46
|
-
add_message "google.cloud.aiplatform.v1.ReadFeatureValuesResponse.EntityView.Data" do
|
47
|
-
oneof :data do
|
48
|
-
optional :value, :message, 1, "google.cloud.aiplatform.v1.FeatureValue"
|
49
|
-
optional :values, :message, 2, "google.cloud.aiplatform.v1.FeatureValueList"
|
50
|
-
end
|
51
|
-
end
|
52
|
-
add_message "google.cloud.aiplatform.v1.StreamingReadFeatureValuesRequest" do
|
53
|
-
optional :entity_type, :string, 1
|
54
|
-
repeated :entity_ids, :string, 2
|
55
|
-
optional :feature_selector, :message, 3, "google.cloud.aiplatform.v1.FeatureSelector"
|
56
|
-
end
|
57
|
-
add_message "google.cloud.aiplatform.v1.FeatureValue" do
|
58
|
-
optional :metadata, :message, 14, "google.cloud.aiplatform.v1.FeatureValue.Metadata"
|
59
|
-
oneof :value do
|
60
|
-
optional :bool_value, :bool, 1
|
61
|
-
optional :double_value, :double, 2
|
62
|
-
optional :int64_value, :int64, 5
|
63
|
-
optional :string_value, :string, 6
|
64
|
-
optional :bool_array_value, :message, 7, "google.cloud.aiplatform.v1.BoolArray"
|
65
|
-
optional :double_array_value, :message, 8, "google.cloud.aiplatform.v1.DoubleArray"
|
66
|
-
optional :int64_array_value, :message, 11, "google.cloud.aiplatform.v1.Int64Array"
|
67
|
-
optional :string_array_value, :message, 12, "google.cloud.aiplatform.v1.StringArray"
|
68
|
-
optional :bytes_value, :bytes, 13
|
69
|
-
end
|
70
|
-
end
|
71
|
-
add_message "google.cloud.aiplatform.v1.FeatureValue.Metadata" do
|
72
|
-
optional :generate_time, :message, 1, "google.protobuf.Timestamp"
|
73
|
-
end
|
74
|
-
add_message "google.cloud.aiplatform.v1.FeatureValueList" do
|
75
|
-
repeated :values, :message, 1, "google.cloud.aiplatform.v1.FeatureValue"
|
15
|
+
|
16
|
+
descriptor_data = "\n<google/cloud/aiplatform/v1/featurestore_online_service.proto\x12\x1agoogle.cloud.aiplatform.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x17google/api/client.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x31google/cloud/aiplatform/v1/feature_selector.proto\x1a&google/cloud/aiplatform/v1/types.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xac\x01\n\x19WriteFeatureValuesRequest\x12\x41\n\x0b\x65ntity_type\x18\x01 \x01(\tB,\xe0\x41\x02\xfa\x41&\n$aiplatform.googleapis.com/EntityType\x12L\n\x08payloads\x18\x02 \x03(\x0b\x32\x35.google.cloud.aiplatform.v1.WriteFeatureValuesPayloadB\x03\xe0\x41\x02\"\xfa\x01\n\x19WriteFeatureValuesPayload\x12\x16\n\tentity_id\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x65\n\x0e\x66\x65\x61ture_values\x18\x02 \x03(\x0b\x32H.google.cloud.aiplatform.v1.WriteFeatureValuesPayload.FeatureValuesEntryB\x03\xe0\x41\x02\x1a^\n\x12\x46\x65\x61tureValuesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\x37\n\x05value\x18\x02 \x01(\x0b\x32(.google.cloud.aiplatform.v1.FeatureValue:\x02\x38\x01\"\x1c\n\x1aWriteFeatureValuesResponse\"\xc1\x01\n\x18ReadFeatureValuesRequest\x12\x41\n\x0b\x65ntity_type\x18\x01 \x01(\tB,\xe0\x41\x02\xfa\x41&\n$aiplatform.googleapis.com/EntityType\x12\x16\n\tentity_id\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12J\n\x10\x66\x65\x61ture_selector\x18\x03 \x01(\x0b\x32+.google.cloud.aiplatform.v1.FeatureSelectorB\x03\xe0\x41\x02\"\x95\x05\n\x19ReadFeatureValuesResponse\x12L\n\x06header\x18\x01 \x01(\x0b\x32<.google.cloud.aiplatform.v1.ReadFeatureValuesResponse.Header\x12U\n\x0b\x65ntity_view\x18\x02 \x01(\x0b\x32@.google.cloud.aiplatform.v1.ReadFeatureValuesResponse.EntityView\x1a\x1f\n\x11\x46\x65\x61tureDescriptor\x12\n\n\x02id\x18\x01 \x01(\t\x1a\xae\x01\n\x06Header\x12>\n\x0b\x65ntity_type\x18\x01 \x01(\tB)\xfa\x41&\n$aiplatform.googleapis.com/EntityType\x12\x64\n\x13\x66\x65\x61ture_descriptors\x18\x02 \x03(\x0b\x32G.google.cloud.aiplatform.v1.ReadFeatureValuesResponse.FeatureDescriptor\x1a\x80\x02\n\nEntityView\x12\x11\n\tentity_id\x18\x01 \x01(\t\x12S\n\x04\x64\x61ta\x18\x02 \x03(\x0b\x32\x45.google.cloud.aiplatform.v1.ReadFeatureValuesResponse.EntityView.Data\x1a\x89\x01\n\x04\x44\x61ta\x12\x39\n\x05value\x18\x01 \x01(\x0b\x32(.google.cloud.aiplatform.v1.FeatureValueH\x00\x12>\n\x06values\x18\x02 \x01(\x0b\x32,.google.cloud.aiplatform.v1.FeatureValueListH\x00\x42\x06\n\x04\x64\x61ta\"\xcb\x01\n!StreamingReadFeatureValuesRequest\x12\x41\n\x0b\x65ntity_type\x18\x01 \x01(\tB,\xe0\x41\x02\xfa\x41&\n$aiplatform.googleapis.com/EntityType\x12\x17\n\nentity_ids\x18\x02 \x03(\tB\x03\xe0\x41\x02\x12J\n\x10\x66\x65\x61ture_selector\x18\x03 \x01(\x0b\x32+.google.cloud.aiplatform.v1.FeatureSelectorB\x03\xe0\x41\x02\"\xa5\x04\n\x0c\x46\x65\x61tureValue\x12\x14\n\nbool_value\x18\x01 \x01(\x08H\x00\x12\x16\n\x0c\x64ouble_value\x18\x02 \x01(\x01H\x00\x12\x15\n\x0bint64_value\x18\x05 \x01(\x03H\x00\x12\x16\n\x0cstring_value\x18\x06 \x01(\tH\x00\x12\x41\n\x10\x62ool_array_value\x18\x07 \x01(\x0b\x32%.google.cloud.aiplatform.v1.BoolArrayH\x00\x12\x45\n\x12\x64ouble_array_value\x18\x08 \x01(\x0b\x32\'.google.cloud.aiplatform.v1.DoubleArrayH\x00\x12\x43\n\x11int64_array_value\x18\x0b \x01(\x0b\x32&.google.cloud.aiplatform.v1.Int64ArrayH\x00\x12\x45\n\x12string_array_value\x18\x0c \x01(\x0b\x32\'.google.cloud.aiplatform.v1.StringArrayH\x00\x12\x15\n\x0b\x62ytes_value\x18\r \x01(\x0cH\x00\x12\x43\n\x08metadata\x18\x0e \x01(\x0b\x32\x31.google.cloud.aiplatform.v1.FeatureValue.Metadata\x1a=\n\x08Metadata\x12\x31\n\rgenerate_time\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x07\n\x05value\"L\n\x10\x46\x65\x61tureValueList\x12\x38\n\x06values\x18\x01 \x03(\x0b\x32(.google.cloud.aiplatform.v1.FeatureValue2\xfd\x06\n FeaturestoreOnlineServingService\x12\xf3\x01\n\x11ReadFeatureValues\x12\x34.google.cloud.aiplatform.v1.ReadFeatureValuesRequest\x1a\x35.google.cloud.aiplatform.v1.ReadFeatureValuesResponse\"q\x82\xd3\xe4\x93\x02]\"X/v1/{entity_type=projects/*/locations/*/featurestores/*/entityTypes/*}:readFeatureValues:\x01*\xda\x41\x0b\x65ntity_type\x12\x90\x02\n\x1aStreamingReadFeatureValues\x12=.google.cloud.aiplatform.v1.StreamingReadFeatureValuesRequest\x1a\x35.google.cloud.aiplatform.v1.ReadFeatureValuesResponse\"z\x82\xd3\xe4\x93\x02\x66\"a/v1/{entity_type=projects/*/locations/*/featurestores/*/entityTypes/*}:streamingReadFeatureValues:\x01*\xda\x41\x0b\x65ntity_type0\x01\x12\x80\x02\n\x12WriteFeatureValues\x12\x35.google.cloud.aiplatform.v1.WriteFeatureValuesRequest\x1a\x36.google.cloud.aiplatform.v1.WriteFeatureValuesResponse\"{\x82\xd3\xe4\x93\x02^\"Y/v1/{entity_type=projects/*/locations/*/featurestores/*/entityTypes/*}:writeFeatureValues:\x01*\xda\x41\x14\x65ntity_type,payloads\x1aM\xca\x41\x19\x61iplatform.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\xdc\x01\n\x1e\x63om.google.cloud.aiplatform.v1B\x1e\x46\x65\x61turestoreOnlineServiceProtoP\x01Z>cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpb\xaa\x02\x1aGoogle.Cloud.AIPlatform.V1\xca\x02\x1aGoogle\\Cloud\\AIPlatform\\V1\xea\x02\x1dGoogle::Cloud::AIPlatform::V1b\x06proto3"
|
17
|
+
|
18
|
+
pool = Google::Protobuf::DescriptorPool.generated_pool
|
19
|
+
|
20
|
+
begin
|
21
|
+
pool.add_serialized_file(descriptor_data)
|
22
|
+
rescue TypeError => e
|
23
|
+
# Compatibility code: will be removed in the next major version.
|
24
|
+
require 'google/protobuf/descriptor_pb'
|
25
|
+
parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
|
26
|
+
parsed.clear_dependency
|
27
|
+
serialized = parsed.class.encode(parsed)
|
28
|
+
file = pool.add_serialized_file(serialized)
|
29
|
+
warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
|
30
|
+
imports = [
|
31
|
+
["google.cloud.aiplatform.v1.FeatureSelector", "google/cloud/aiplatform/v1/feature_selector.proto"],
|
32
|
+
["google.cloud.aiplatform.v1.BoolArray", "google/cloud/aiplatform/v1/types.proto"],
|
33
|
+
["google.protobuf.Timestamp", "google/protobuf/timestamp.proto"],
|
34
|
+
]
|
35
|
+
imports.each do |type_name, expected_filename|
|
36
|
+
import_file = pool.lookup(type_name).file_descriptor
|
37
|
+
if import_file.name != expected_filename
|
38
|
+
warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
|
76
39
|
end
|
77
40
|
end
|
41
|
+
warn "Each proto file must use a consistent fully-qualified name."
|
42
|
+
warn "This will become an error in the next major version."
|
78
43
|
end
|
79
44
|
|
80
45
|
module Google
|
@@ -1,3 +1,4 @@
|
|
1
|
+
# frozen_string_literal: true
|
1
2
|
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
3
|
# source: google/cloud/aiplatform/v1/featurestore.proto
|
3
4
|
|
@@ -8,34 +9,33 @@ require 'google/api/resource_pb'
|
|
8
9
|
require 'google/cloud/aiplatform/v1/encryption_spec_pb'
|
9
10
|
require 'google/protobuf/timestamp_pb'
|
10
11
|
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
value :STATE_UNSPECIFIED, 0
|
35
|
-
value :STABLE, 1
|
36
|
-
value :UPDATING, 2
|
12
|
+
|
13
|
+
descriptor_data = "\n-google/cloud/aiplatform/v1/featurestore.proto\x12\x1agoogle.cloud.aiplatform.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x30google/cloud/aiplatform/v1/encryption_spec.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xcb\x07\n\x0c\x46\x65\x61turestore\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x34\n\x0b\x63reate_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x34\n\x0bupdate_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x11\n\x04\x65tag\x18\x05 \x01(\tB\x03\xe0\x41\x01\x12I\n\x06labels\x18\x06 \x03(\x0b\x32\x34.google.cloud.aiplatform.v1.Featurestore.LabelsEntryB\x03\xe0\x41\x01\x12`\n\x15online_serving_config\x18\x07 \x01(\x0b\x32<.google.cloud.aiplatform.v1.Featurestore.OnlineServingConfigB\x03\xe0\x41\x01\x12\x42\n\x05state\x18\x08 \x01(\x0e\x32..google.cloud.aiplatform.v1.Featurestore.StateB\x03\xe0\x41\x03\x12$\n\x17online_storage_ttl_days\x18\r \x01(\x05\x42\x03\xe0\x41\x01\x12H\n\x0f\x65ncryption_spec\x18\n \x01(\x0b\x32*.google.cloud.aiplatform.v1.EncryptionSpecB\x03\xe0\x41\x01\x1a\xeb\x01\n\x13OnlineServingConfig\x12\x18\n\x10\x66ixed_node_count\x18\x02 \x01(\x05\x12U\n\x07scaling\x18\x04 \x01(\x0b\x32\x44.google.cloud.aiplatform.v1.Featurestore.OnlineServingConfig.Scaling\x1a\x63\n\x07Scaling\x12\x1b\n\x0emin_node_count\x18\x01 \x01(\x05\x42\x03\xe0\x41\x02\x12\x16\n\x0emax_node_count\x18\x02 \x01(\x05\x12#\n\x16\x63pu_utilization_target\x18\x03 \x01(\x05\x42\x03\xe0\x41\x01\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"8\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\n\n\x06STABLE\x10\x01\x12\x0c\n\x08UPDATING\x10\x02:q\xea\x41n\n&aiplatform.googleapis.com/Featurestore\x12\x44projects/{project}/locations/{location}/featurestores/{featurestore}B\xcf\x01\n\x1e\x63om.google.cloud.aiplatform.v1B\x11\x46\x65\x61turestoreProtoP\x01Z>cloud.google.com/go/aiplatform/apiv1/aiplatformpb;aiplatformpb\xaa\x02\x1aGoogle.Cloud.AIPlatform.V1\xca\x02\x1aGoogle\\Cloud\\AIPlatform\\V1\xea\x02\x1dGoogle::Cloud::AIPlatform::V1b\x06proto3"
|
14
|
+
|
15
|
+
pool = Google::Protobuf::DescriptorPool.generated_pool
|
16
|
+
|
17
|
+
begin
|
18
|
+
pool.add_serialized_file(descriptor_data)
|
19
|
+
rescue TypeError => e
|
20
|
+
# Compatibility code: will be removed in the next major version.
|
21
|
+
require 'google/protobuf/descriptor_pb'
|
22
|
+
parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
|
23
|
+
parsed.clear_dependency
|
24
|
+
serialized = parsed.class.encode(parsed)
|
25
|
+
file = pool.add_serialized_file(serialized)
|
26
|
+
warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
|
27
|
+
imports = [
|
28
|
+
["google.protobuf.Timestamp", "google/protobuf/timestamp.proto"],
|
29
|
+
["google.cloud.aiplatform.v1.EncryptionSpec", "google/cloud/aiplatform/v1/encryption_spec.proto"],
|
30
|
+
]
|
31
|
+
imports.each do |type_name, expected_filename|
|
32
|
+
import_file = pool.lookup(type_name).file_descriptor
|
33
|
+
if import_file.name != expected_filename
|
34
|
+
warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
|
37
35
|
end
|
38
36
|
end
|
37
|
+
warn "Each proto file must use a consistent fully-qualified name."
|
38
|
+
warn "This will become an error in the next major version."
|
39
39
|
end
|
40
40
|
|
41
41
|
module Google
|