google-cloud-ai_platform-v1 0.23.0 → 0.25.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 +533 -0
- data/lib/google/cloud/ai_platform/v1/match_service/credentials.rb +47 -0
- data/lib/google/cloud/ai_platform/v1/match_service/paths.rb +52 -0
- data/lib/google/cloud/ai_platform/v1/match_service.rb +50 -0
- 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 +4 -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 +2 -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 +34 -92
- 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 +55 -0
- data/lib/google/cloud/aiplatform/v1/match_service_services_pb.rb +49 -0
- 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 +32 -137
- 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/explanation.rb +89 -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/match_service.rb +156 -0
- 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/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 +20 -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/lineage_subgraph.proto
|
3
4
|
|
@@ -7,14 +8,34 @@ require 'google/cloud/aiplatform/v1/artifact_pb'
|
|
7
8
|
require 'google/cloud/aiplatform/v1/event_pb'
|
8
9
|
require 'google/cloud/aiplatform/v1/execution_pb'
|
9
10
|
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
11
|
+
|
12
|
+
descriptor_data = "\n1google/cloud/aiplatform/v1/lineage_subgraph.proto\x12\x1agoogle.cloud.aiplatform.v1\x1a)google/cloud/aiplatform/v1/artifact.proto\x1a&google/cloud/aiplatform/v1/event.proto\x1a*google/cloud/aiplatform/v1/execution.proto\"\xb8\x01\n\x0fLineageSubgraph\x12\x37\n\tartifacts\x18\x01 \x03(\x0b\x32$.google.cloud.aiplatform.v1.Artifact\x12\x39\n\nexecutions\x18\x02 \x03(\x0b\x32%.google.cloud.aiplatform.v1.Execution\x12\x31\n\x06\x65vents\x18\x03 \x03(\x0b\x32!.google.cloud.aiplatform.v1.EventB\xd2\x01\n\x1e\x63om.google.cloud.aiplatform.v1B\x14LineageSubgraphProtoP\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"
|
13
|
+
|
14
|
+
pool = Google::Protobuf::DescriptorPool.generated_pool
|
15
|
+
|
16
|
+
begin
|
17
|
+
pool.add_serialized_file(descriptor_data)
|
18
|
+
rescue TypeError => e
|
19
|
+
# Compatibility code: will be removed in the next major version.
|
20
|
+
require 'google/protobuf/descriptor_pb'
|
21
|
+
parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
|
22
|
+
parsed.clear_dependency
|
23
|
+
serialized = parsed.class.encode(parsed)
|
24
|
+
file = pool.add_serialized_file(serialized)
|
25
|
+
warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
|
26
|
+
imports = [
|
27
|
+
["google.cloud.aiplatform.v1.Artifact", "google/cloud/aiplatform/v1/artifact.proto"],
|
28
|
+
["google.cloud.aiplatform.v1.Execution", "google/cloud/aiplatform/v1/execution.proto"],
|
29
|
+
["google.cloud.aiplatform.v1.Event", "google/cloud/aiplatform/v1/event.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}"
|
16
35
|
end
|
17
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."
|
18
39
|
end
|
19
40
|
|
20
41
|
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/machine_resources.proto
|
3
4
|
|
@@ -6,45 +7,31 @@ require 'google/protobuf'
|
|
6
7
|
require 'google/api/field_behavior_pb'
|
7
8
|
require 'google/cloud/aiplatform/v1/accelerator_type_pb'
|
8
9
|
|
9
|
-
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
end
|
31
|
-
add_message "google.cloud.aiplatform.v1.ResourcesConsumed" do
|
32
|
-
optional :replica_hours, :double, 1
|
33
|
-
end
|
34
|
-
add_message "google.cloud.aiplatform.v1.DiskSpec" do
|
35
|
-
optional :boot_disk_type, :string, 1
|
36
|
-
optional :boot_disk_size_gb, :int32, 2
|
37
|
-
end
|
38
|
-
add_message "google.cloud.aiplatform.v1.NfsMount" do
|
39
|
-
optional :server, :string, 1
|
40
|
-
optional :path, :string, 2
|
41
|
-
optional :mount_point, :string, 3
|
42
|
-
end
|
43
|
-
add_message "google.cloud.aiplatform.v1.AutoscalingMetricSpec" do
|
44
|
-
optional :metric_name, :string, 1
|
45
|
-
optional :target, :int32, 2
|
10
|
+
|
11
|
+
descriptor_data = "\n2google/cloud/aiplatform/v1/machine_resources.proto\x12\x1agoogle.cloud.aiplatform.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x31google/cloud/aiplatform/v1/accelerator_type.proto\"\x8f\x01\n\x0bMachineSpec\x12\x19\n\x0cmachine_type\x18\x01 \x01(\tB\x03\xe0\x41\x05\x12J\n\x10\x61\x63\x63\x65lerator_type\x18\x02 \x01(\x0e\x32+.google.cloud.aiplatform.v1.AcceleratorTypeB\x03\xe0\x41\x05\x12\x19\n\x11\x61\x63\x63\x65lerator_count\x18\x03 \x01(\x05\"\xf8\x01\n\x12\x44\x65\x64icatedResources\x12\x45\n\x0cmachine_spec\x18\x01 \x01(\x0b\x32\'.google.cloud.aiplatform.v1.MachineSpecB\x06\xe0\x41\x02\xe0\x41\x05\x12!\n\x11min_replica_count\x18\x02 \x01(\x05\x42\x06\xe0\x41\x02\xe0\x41\x05\x12\x1e\n\x11max_replica_count\x18\x03 \x01(\x05\x42\x03\xe0\x41\x05\x12X\n\x18\x61utoscaling_metric_specs\x18\x04 \x03(\x0b\x32\x31.google.cloud.aiplatform.v1.AutoscalingMetricSpecB\x03\xe0\x41\x05\"T\n\x12\x41utomaticResources\x12\x1e\n\x11min_replica_count\x18\x01 \x01(\x05\x42\x03\xe0\x41\x05\x12\x1e\n\x11max_replica_count\x18\x02 \x01(\x05\x42\x03\xe0\x41\x05\"\xa5\x01\n\x17\x42\x61tchDedicatedResources\x12\x45\n\x0cmachine_spec\x18\x01 \x01(\x0b\x32\'.google.cloud.aiplatform.v1.MachineSpecB\x06\xe0\x41\x02\xe0\x41\x05\x12#\n\x16starting_replica_count\x18\x02 \x01(\x05\x42\x03\xe0\x41\x05\x12\x1e\n\x11max_replica_count\x18\x03 \x01(\x05\x42\x03\xe0\x41\x05\"/\n\x11ResourcesConsumed\x12\x1a\n\rreplica_hours\x18\x01 \x01(\x01\x42\x03\xe0\x41\x03\"=\n\x08\x44iskSpec\x12\x16\n\x0e\x62oot_disk_type\x18\x01 \x01(\t\x12\x19\n\x11\x62oot_disk_size_gb\x18\x02 \x01(\x05\"L\n\x08NfsMount\x12\x13\n\x06server\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x11\n\x04path\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x18\n\x0bmount_point\x18\x03 \x01(\tB\x03\xe0\x41\x02\"A\n\x15\x41utoscalingMetricSpec\x12\x18\n\x0bmetric_name\x18\x01 \x01(\tB\x03\xe0\x41\x02\x12\x0e\n\x06target\x18\x02 \x01(\x05\x42\xd3\x01\n\x1e\x63om.google.cloud.aiplatform.v1B\x15MachineResourcesProtoP\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"
|
12
|
+
|
13
|
+
pool = Google::Protobuf::DescriptorPool.generated_pool
|
14
|
+
|
15
|
+
begin
|
16
|
+
pool.add_serialized_file(descriptor_data)
|
17
|
+
rescue TypeError => e
|
18
|
+
# Compatibility code: will be removed in the next major version.
|
19
|
+
require 'google/protobuf/descriptor_pb'
|
20
|
+
parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
|
21
|
+
parsed.clear_dependency
|
22
|
+
serialized = parsed.class.encode(parsed)
|
23
|
+
file = pool.add_serialized_file(serialized)
|
24
|
+
warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
|
25
|
+
imports = [
|
26
|
+
]
|
27
|
+
imports.each do |type_name, expected_filename|
|
28
|
+
import_file = pool.lookup(type_name).file_descriptor
|
29
|
+
if import_file.name != expected_filename
|
30
|
+
warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
|
46
31
|
end
|
47
32
|
end
|
33
|
+
warn "Each proto file must use a consistent fully-qualified name."
|
34
|
+
warn "This will become an error in the next major version."
|
48
35
|
end
|
49
36
|
|
50
37
|
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/manual_batch_tuning_parameters.proto
|
3
4
|
|
@@ -5,12 +6,31 @@ require 'google/protobuf'
|
|
5
6
|
|
6
7
|
require 'google/api/field_behavior_pb'
|
7
8
|
|
8
|
-
|
9
|
-
|
10
|
-
|
11
|
-
|
9
|
+
|
10
|
+
descriptor_data = "\n?google/cloud/aiplatform/v1/manual_batch_tuning_parameters.proto\x12\x1agoogle.cloud.aiplatform.v1\x1a\x1fgoogle/api/field_behavior.proto\"6\n\x1bManualBatchTuningParameters\x12\x17\n\nbatch_size\x18\x01 \x01(\x05\x42\x03\xe0\x41\x05\x42\xde\x01\n\x1e\x63om.google.cloud.aiplatform.v1B ManualBatchTuningParametersProtoP\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}"
|
12
30
|
end
|
13
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."
|
14
34
|
end
|
15
35
|
|
16
36
|
module Google
|
@@ -0,0 +1,55 @@
|
|
1
|
+
# frozen_string_literal: true
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
3
|
+
# source: google/cloud/aiplatform/v1/match_service.proto
|
4
|
+
|
5
|
+
require 'google/protobuf'
|
6
|
+
|
7
|
+
require 'google/api/annotations_pb'
|
8
|
+
require 'google/api/client_pb'
|
9
|
+
require 'google/api/field_behavior_pb'
|
10
|
+
require 'google/api/resource_pb'
|
11
|
+
require 'google/cloud/aiplatform/v1/index_pb'
|
12
|
+
|
13
|
+
|
14
|
+
descriptor_data = "\n.google/cloud/aiplatform/v1/match_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&google/cloud/aiplatform/v1/index.proto\"\xcb\x03\n\x14\x46indNeighborsRequest\x12G\n\x0eindex_endpoint\x18\x01 \x01(\tB/\xe0\x41\x02\xfa\x41)\n\'aiplatform.googleapis.com/IndexEndpoint\x12\x19\n\x11\x64\x65ployed_index_id\x18\x02 \x01(\t\x12G\n\x07queries\x18\x03 \x03(\x0b\x32\x36.google.cloud.aiplatform.v1.FindNeighborsRequest.Query\x12\x1d\n\x15return_full_datapoint\x18\x04 \x01(\x08\x1a\xe6\x01\n\x05Query\x12\x42\n\tdatapoint\x18\x01 \x01(\x0b\x32*.google.cloud.aiplatform.v1.IndexDatapointB\x03\xe0\x41\x02\x12\x16\n\x0eneighbor_count\x18\x02 \x01(\x05\x12-\n%per_crowding_attribute_neighbor_count\x18\x03 \x01(\x05\x12\"\n\x1a\x61pproximate_neighbor_count\x18\x04 \x01(\x05\x12.\n&fraction_leaf_nodes_to_search_override\x18\x05 \x01(\x01\"\xc2\x02\n\x15\x46indNeighborsResponse\x12]\n\x11nearest_neighbors\x18\x01 \x03(\x0b\x32\x42.google.cloud.aiplatform.v1.FindNeighborsResponse.NearestNeighbors\x1a[\n\x08Neighbor\x12=\n\tdatapoint\x18\x01 \x01(\x0b\x32*.google.cloud.aiplatform.v1.IndexDatapoint\x12\x10\n\x08\x64istance\x18\x02 \x01(\x01\x1am\n\x10NearestNeighbors\x12\n\n\x02id\x18\x01 \x01(\t\x12M\n\tneighbors\x18\x02 \x03(\x0b\x32:.google.cloud.aiplatform.v1.FindNeighborsResponse.Neighbor\"\x8d\x01\n\x1aReadIndexDatapointsRequest\x12G\n\x0eindex_endpoint\x18\x01 \x01(\tB/\xe0\x41\x02\xfa\x41)\n\'aiplatform.googleapis.com/IndexEndpoint\x12\x19\n\x11\x64\x65ployed_index_id\x18\x02 \x01(\t\x12\x0b\n\x03ids\x18\x03 \x03(\t\"]\n\x1bReadIndexDatapointsResponse\x12>\n\ndatapoints\x18\x01 \x03(\x0b\x32*.google.cloud.aiplatform.v1.IndexDatapoint2\x91\x04\n\x0cMatchService\x12\xcb\x01\n\rFindNeighbors\x12\x30.google.cloud.aiplatform.v1.FindNeighborsRequest\x1a\x31.google.cloud.aiplatform.v1.FindNeighborsResponse\"U\x82\xd3\xe4\x93\x02O\"J/v1/{index_endpoint=projects/*/locations/*/indexEndpoints/*}:findNeighbors:\x01*\x12\xe3\x01\n\x13ReadIndexDatapoints\x12\x36.google.cloud.aiplatform.v1.ReadIndexDatapointsRequest\x1a\x37.google.cloud.aiplatform.v1.ReadIndexDatapointsResponse\"[\x82\xd3\xe4\x93\x02U\"P/v1/{index_endpoint=projects/*/locations/*/indexEndpoints/*}:readIndexDatapoints:\x01*\x1aM\xca\x41\x19\x61iplatform.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\xcf\x01\n\x1e\x63om.google.cloud.aiplatform.v1B\x11MatchServiceProtoP\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"
|
15
|
+
|
16
|
+
pool = Google::Protobuf::DescriptorPool.generated_pool
|
17
|
+
|
18
|
+
begin
|
19
|
+
pool.add_serialized_file(descriptor_data)
|
20
|
+
rescue TypeError => e
|
21
|
+
# Compatibility code: will be removed in the next major version.
|
22
|
+
require 'google/protobuf/descriptor_pb'
|
23
|
+
parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
|
24
|
+
parsed.clear_dependency
|
25
|
+
serialized = parsed.class.encode(parsed)
|
26
|
+
file = pool.add_serialized_file(serialized)
|
27
|
+
warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
|
28
|
+
imports = [
|
29
|
+
["google.cloud.aiplatform.v1.IndexDatapoint", "google/cloud/aiplatform/v1/index.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}"
|
35
|
+
end
|
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
|
+
end
|
40
|
+
|
41
|
+
module Google
|
42
|
+
module Cloud
|
43
|
+
module AIPlatform
|
44
|
+
module V1
|
45
|
+
FindNeighborsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.FindNeighborsRequest").msgclass
|
46
|
+
FindNeighborsRequest::Query = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.FindNeighborsRequest.Query").msgclass
|
47
|
+
FindNeighborsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.FindNeighborsResponse").msgclass
|
48
|
+
FindNeighborsResponse::Neighbor = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.FindNeighborsResponse.Neighbor").msgclass
|
49
|
+
FindNeighborsResponse::NearestNeighbors = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.FindNeighborsResponse.NearestNeighbors").msgclass
|
50
|
+
ReadIndexDatapointsRequest = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.ReadIndexDatapointsRequest").msgclass
|
51
|
+
ReadIndexDatapointsResponse = ::Google::Protobuf::DescriptorPool.generated_pool.lookup("google.cloud.aiplatform.v1.ReadIndexDatapointsResponse").msgclass
|
52
|
+
end
|
53
|
+
end
|
54
|
+
end
|
55
|
+
end
|
@@ -0,0 +1,49 @@
|
|
1
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
2
|
+
# Source: google/cloud/aiplatform/v1/match_service.proto for package 'Google.Cloud.AIPlatform.V1'
|
3
|
+
# Original file comments:
|
4
|
+
# Copyright 2023 Google LLC
|
5
|
+
#
|
6
|
+
# Licensed under the Apache License, Version 2.0 (the "License");
|
7
|
+
# you may not use this file except in compliance with the License.
|
8
|
+
# You may obtain a copy of the License at
|
9
|
+
#
|
10
|
+
# http://www.apache.org/licenses/LICENSE-2.0
|
11
|
+
#
|
12
|
+
# Unless required by applicable law or agreed to in writing, software
|
13
|
+
# distributed under the License is distributed on an "AS IS" BASIS,
|
14
|
+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
15
|
+
# See the License for the specific language governing permissions and
|
16
|
+
# limitations under the License.
|
17
|
+
#
|
18
|
+
|
19
|
+
require 'grpc'
|
20
|
+
require 'google/cloud/aiplatform/v1/match_service_pb'
|
21
|
+
|
22
|
+
module Google
|
23
|
+
module Cloud
|
24
|
+
module AIPlatform
|
25
|
+
module V1
|
26
|
+
module MatchService
|
27
|
+
# MatchService is a Google managed service for efficient vector similarity
|
28
|
+
# search at scale.
|
29
|
+
class Service
|
30
|
+
|
31
|
+
include ::GRPC::GenericService
|
32
|
+
|
33
|
+
self.marshal_class_method = :encode
|
34
|
+
self.unmarshal_class_method = :decode
|
35
|
+
self.service_name = 'google.cloud.aiplatform.v1.MatchService'
|
36
|
+
|
37
|
+
# Finds the nearest neighbors of each vector within the request.
|
38
|
+
rpc :FindNeighbors, ::Google::Cloud::AIPlatform::V1::FindNeighborsRequest, ::Google::Cloud::AIPlatform::V1::FindNeighborsResponse
|
39
|
+
# Reads the datapoints/vectors of the given IDs.
|
40
|
+
# A maximum of 1000 datapoints can be retrieved in a batch.
|
41
|
+
rpc :ReadIndexDatapoints, ::Google::Cloud::AIPlatform::V1::ReadIndexDatapointsRequest, ::Google::Cloud::AIPlatform::V1::ReadIndexDatapointsResponse
|
42
|
+
end
|
43
|
+
|
44
|
+
Stub = Service.rpc_stub_class
|
45
|
+
end
|
46
|
+
end
|
47
|
+
end
|
48
|
+
end
|
49
|
+
end
|
@@ -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/metadata_schema.proto
|
3
4
|
|
@@ -7,23 +8,32 @@ require 'google/api/field_behavior_pb'
|
|
7
8
|
require 'google/api/resource_pb'
|
8
9
|
require 'google/protobuf/timestamp_pb'
|
9
10
|
|
10
|
-
|
11
|
-
|
12
|
-
|
13
|
-
|
14
|
-
|
15
|
-
|
16
|
-
|
17
|
-
|
18
|
-
|
19
|
-
|
20
|
-
|
21
|
-
|
22
|
-
|
23
|
-
|
24
|
-
|
11
|
+
|
12
|
+
descriptor_data = "\n0google/cloud/aiplatform/v1/metadata_schema.proto\x12\x1agoogle.cloud.aiplatform.v1\x1a\x1fgoogle/api/field_behavior.proto\x1a\x19google/api/resource.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\x80\x04\n\x0eMetadataSchema\x12\x11\n\x04name\x18\x01 \x01(\tB\x03\xe0\x41\x03\x12\x16\n\x0eschema_version\x18\x02 \x01(\t\x12\x13\n\x06schema\x18\x03 \x01(\tB\x03\xe0\x41\x02\x12R\n\x0bschema_type\x18\x04 \x01(\x0e\x32=.google.cloud.aiplatform.v1.MetadataSchema.MetadataSchemaType\x12\x34\n\x0b\x63reate_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x03\xe0\x41\x03\x12\x13\n\x0b\x64\x65scription\x18\x06 \x01(\t\"s\n\x12MetadataSchemaType\x12$\n METADATA_SCHEMA_TYPE_UNSPECIFIED\x10\x00\x12\x11\n\rARTIFACT_TYPE\x10\x01\x12\x12\n\x0e\x45XECUTION_TYPE\x10\x02\x12\x10\n\x0c\x43ONTEXT_TYPE\x10\x03:\x99\x01\xea\x41\x95\x01\n(aiplatform.googleapis.com/MetadataSchema\x12iprojects/{project}/locations/{location}/metadataStores/{metadata_store}/metadataSchemas/{metadata_schema}B\xd1\x01\n\x1e\x63om.google.cloud.aiplatform.v1B\x13MetadataSchemaProtoP\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"
|
13
|
+
|
14
|
+
pool = Google::Protobuf::DescriptorPool.generated_pool
|
15
|
+
|
16
|
+
begin
|
17
|
+
pool.add_serialized_file(descriptor_data)
|
18
|
+
rescue TypeError => e
|
19
|
+
# Compatibility code: will be removed in the next major version.
|
20
|
+
require 'google/protobuf/descriptor_pb'
|
21
|
+
parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
|
22
|
+
parsed.clear_dependency
|
23
|
+
serialized = parsed.class.encode(parsed)
|
24
|
+
file = pool.add_serialized_file(serialized)
|
25
|
+
warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
|
26
|
+
imports = [
|
27
|
+
["google.protobuf.Timestamp", "google/protobuf/timestamp.proto"],
|
28
|
+
]
|
29
|
+
imports.each do |type_name, expected_filename|
|
30
|
+
import_file = pool.lookup(type_name).file_descriptor
|
31
|
+
if import_file.name != expected_filename
|
32
|
+
warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
|
25
33
|
end
|
26
34
|
end
|
35
|
+
warn "Each proto file must use a consistent fully-qualified name."
|
36
|
+
warn "This will become an error in the next major version."
|
27
37
|
end
|
28
38
|
|
29
39
|
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/metadata_service.proto
|
3
4
|
|
@@ -19,211 +20,39 @@ require 'google/longrunning/operations_pb'
|
|
19
20
|
require 'google/protobuf/empty_pb'
|
20
21
|
require 'google/protobuf/field_mask_pb'
|
21
22
|
|
22
|
-
|
23
|
-
add_file("google/cloud/aiplatform/v1/metadata_service.proto", :syntax => :proto3) do
|
24
|
-
|
25
|
-
|
26
|
-
|
27
|
-
|
28
|
-
|
29
|
-
|
30
|
-
|
31
|
-
|
32
|
-
|
33
|
-
|
34
|
-
|
35
|
-
|
36
|
-
|
37
|
-
|
38
|
-
|
39
|
-
|
40
|
-
|
41
|
-
|
42
|
-
|
43
|
-
|
44
|
-
|
45
|
-
|
46
|
-
|
47
|
-
|
48
|
-
|
49
|
-
|
50
|
-
|
51
|
-
add_message "google.cloud.aiplatform.v1.CreateArtifactRequest" do
|
52
|
-
optional :parent, :string, 1
|
53
|
-
optional :artifact, :message, 2, "google.cloud.aiplatform.v1.Artifact"
|
54
|
-
optional :artifact_id, :string, 3
|
55
|
-
end
|
56
|
-
add_message "google.cloud.aiplatform.v1.GetArtifactRequest" do
|
57
|
-
optional :name, :string, 1
|
58
|
-
end
|
59
|
-
add_message "google.cloud.aiplatform.v1.ListArtifactsRequest" do
|
60
|
-
optional :parent, :string, 1
|
61
|
-
optional :page_size, :int32, 2
|
62
|
-
optional :page_token, :string, 3
|
63
|
-
optional :filter, :string, 4
|
64
|
-
optional :order_by, :string, 5
|
65
|
-
end
|
66
|
-
add_message "google.cloud.aiplatform.v1.ListArtifactsResponse" do
|
67
|
-
repeated :artifacts, :message, 1, "google.cloud.aiplatform.v1.Artifact"
|
68
|
-
optional :next_page_token, :string, 2
|
69
|
-
end
|
70
|
-
add_message "google.cloud.aiplatform.v1.UpdateArtifactRequest" do
|
71
|
-
optional :artifact, :message, 1, "google.cloud.aiplatform.v1.Artifact"
|
72
|
-
optional :update_mask, :message, 2, "google.protobuf.FieldMask"
|
73
|
-
optional :allow_missing, :bool, 3
|
74
|
-
end
|
75
|
-
add_message "google.cloud.aiplatform.v1.DeleteArtifactRequest" do
|
76
|
-
optional :name, :string, 1
|
77
|
-
optional :etag, :string, 2
|
78
|
-
end
|
79
|
-
add_message "google.cloud.aiplatform.v1.PurgeArtifactsRequest" do
|
80
|
-
optional :parent, :string, 1
|
81
|
-
optional :filter, :string, 2
|
82
|
-
optional :force, :bool, 3
|
83
|
-
end
|
84
|
-
add_message "google.cloud.aiplatform.v1.PurgeArtifactsResponse" do
|
85
|
-
optional :purge_count, :int64, 1
|
86
|
-
repeated :purge_sample, :string, 2
|
87
|
-
end
|
88
|
-
add_message "google.cloud.aiplatform.v1.PurgeArtifactsMetadata" do
|
89
|
-
optional :generic_metadata, :message, 1, "google.cloud.aiplatform.v1.GenericOperationMetadata"
|
90
|
-
end
|
91
|
-
add_message "google.cloud.aiplatform.v1.CreateContextRequest" do
|
92
|
-
optional :parent, :string, 1
|
93
|
-
optional :context, :message, 2, "google.cloud.aiplatform.v1.Context"
|
94
|
-
optional :context_id, :string, 3
|
95
|
-
end
|
96
|
-
add_message "google.cloud.aiplatform.v1.GetContextRequest" do
|
97
|
-
optional :name, :string, 1
|
98
|
-
end
|
99
|
-
add_message "google.cloud.aiplatform.v1.ListContextsRequest" do
|
100
|
-
optional :parent, :string, 1
|
101
|
-
optional :page_size, :int32, 2
|
102
|
-
optional :page_token, :string, 3
|
103
|
-
optional :filter, :string, 4
|
104
|
-
optional :order_by, :string, 5
|
105
|
-
end
|
106
|
-
add_message "google.cloud.aiplatform.v1.ListContextsResponse" do
|
107
|
-
repeated :contexts, :message, 1, "google.cloud.aiplatform.v1.Context"
|
108
|
-
optional :next_page_token, :string, 2
|
109
|
-
end
|
110
|
-
add_message "google.cloud.aiplatform.v1.UpdateContextRequest" do
|
111
|
-
optional :context, :message, 1, "google.cloud.aiplatform.v1.Context"
|
112
|
-
optional :update_mask, :message, 2, "google.protobuf.FieldMask"
|
113
|
-
optional :allow_missing, :bool, 3
|
114
|
-
end
|
115
|
-
add_message "google.cloud.aiplatform.v1.DeleteContextRequest" do
|
116
|
-
optional :name, :string, 1
|
117
|
-
optional :force, :bool, 2
|
118
|
-
optional :etag, :string, 3
|
119
|
-
end
|
120
|
-
add_message "google.cloud.aiplatform.v1.PurgeContextsRequest" do
|
121
|
-
optional :parent, :string, 1
|
122
|
-
optional :filter, :string, 2
|
123
|
-
optional :force, :bool, 3
|
124
|
-
end
|
125
|
-
add_message "google.cloud.aiplatform.v1.PurgeContextsResponse" do
|
126
|
-
optional :purge_count, :int64, 1
|
127
|
-
repeated :purge_sample, :string, 2
|
128
|
-
end
|
129
|
-
add_message "google.cloud.aiplatform.v1.PurgeContextsMetadata" do
|
130
|
-
optional :generic_metadata, :message, 1, "google.cloud.aiplatform.v1.GenericOperationMetadata"
|
131
|
-
end
|
132
|
-
add_message "google.cloud.aiplatform.v1.AddContextArtifactsAndExecutionsRequest" do
|
133
|
-
optional :context, :string, 1
|
134
|
-
repeated :artifacts, :string, 2
|
135
|
-
repeated :executions, :string, 3
|
136
|
-
end
|
137
|
-
add_message "google.cloud.aiplatform.v1.AddContextArtifactsAndExecutionsResponse" do
|
138
|
-
end
|
139
|
-
add_message "google.cloud.aiplatform.v1.AddContextChildrenRequest" do
|
140
|
-
optional :context, :string, 1
|
141
|
-
repeated :child_contexts, :string, 2
|
142
|
-
end
|
143
|
-
add_message "google.cloud.aiplatform.v1.AddContextChildrenResponse" do
|
144
|
-
end
|
145
|
-
add_message "google.cloud.aiplatform.v1.RemoveContextChildrenRequest" do
|
146
|
-
optional :context, :string, 1
|
147
|
-
repeated :child_contexts, :string, 2
|
148
|
-
end
|
149
|
-
add_message "google.cloud.aiplatform.v1.RemoveContextChildrenResponse" do
|
150
|
-
end
|
151
|
-
add_message "google.cloud.aiplatform.v1.QueryContextLineageSubgraphRequest" do
|
152
|
-
optional :context, :string, 1
|
153
|
-
end
|
154
|
-
add_message "google.cloud.aiplatform.v1.CreateExecutionRequest" do
|
155
|
-
optional :parent, :string, 1
|
156
|
-
optional :execution, :message, 2, "google.cloud.aiplatform.v1.Execution"
|
157
|
-
optional :execution_id, :string, 3
|
158
|
-
end
|
159
|
-
add_message "google.cloud.aiplatform.v1.GetExecutionRequest" do
|
160
|
-
optional :name, :string, 1
|
161
|
-
end
|
162
|
-
add_message "google.cloud.aiplatform.v1.ListExecutionsRequest" do
|
163
|
-
optional :parent, :string, 1
|
164
|
-
optional :page_size, :int32, 2
|
165
|
-
optional :page_token, :string, 3
|
166
|
-
optional :filter, :string, 4
|
167
|
-
optional :order_by, :string, 5
|
168
|
-
end
|
169
|
-
add_message "google.cloud.aiplatform.v1.ListExecutionsResponse" do
|
170
|
-
repeated :executions, :message, 1, "google.cloud.aiplatform.v1.Execution"
|
171
|
-
optional :next_page_token, :string, 2
|
172
|
-
end
|
173
|
-
add_message "google.cloud.aiplatform.v1.UpdateExecutionRequest" do
|
174
|
-
optional :execution, :message, 1, "google.cloud.aiplatform.v1.Execution"
|
175
|
-
optional :update_mask, :message, 2, "google.protobuf.FieldMask"
|
176
|
-
optional :allow_missing, :bool, 3
|
177
|
-
end
|
178
|
-
add_message "google.cloud.aiplatform.v1.DeleteExecutionRequest" do
|
179
|
-
optional :name, :string, 1
|
180
|
-
optional :etag, :string, 2
|
181
|
-
end
|
182
|
-
add_message "google.cloud.aiplatform.v1.PurgeExecutionsRequest" do
|
183
|
-
optional :parent, :string, 1
|
184
|
-
optional :filter, :string, 2
|
185
|
-
optional :force, :bool, 3
|
186
|
-
end
|
187
|
-
add_message "google.cloud.aiplatform.v1.PurgeExecutionsResponse" do
|
188
|
-
optional :purge_count, :int64, 1
|
189
|
-
repeated :purge_sample, :string, 2
|
190
|
-
end
|
191
|
-
add_message "google.cloud.aiplatform.v1.PurgeExecutionsMetadata" do
|
192
|
-
optional :generic_metadata, :message, 1, "google.cloud.aiplatform.v1.GenericOperationMetadata"
|
193
|
-
end
|
194
|
-
add_message "google.cloud.aiplatform.v1.AddExecutionEventsRequest" do
|
195
|
-
optional :execution, :string, 1
|
196
|
-
repeated :events, :message, 2, "google.cloud.aiplatform.v1.Event"
|
197
|
-
end
|
198
|
-
add_message "google.cloud.aiplatform.v1.AddExecutionEventsResponse" do
|
199
|
-
end
|
200
|
-
add_message "google.cloud.aiplatform.v1.QueryExecutionInputsAndOutputsRequest" do
|
201
|
-
optional :execution, :string, 1
|
202
|
-
end
|
203
|
-
add_message "google.cloud.aiplatform.v1.CreateMetadataSchemaRequest" do
|
204
|
-
optional :parent, :string, 1
|
205
|
-
optional :metadata_schema, :message, 2, "google.cloud.aiplatform.v1.MetadataSchema"
|
206
|
-
optional :metadata_schema_id, :string, 3
|
207
|
-
end
|
208
|
-
add_message "google.cloud.aiplatform.v1.GetMetadataSchemaRequest" do
|
209
|
-
optional :name, :string, 1
|
210
|
-
end
|
211
|
-
add_message "google.cloud.aiplatform.v1.ListMetadataSchemasRequest" do
|
212
|
-
optional :parent, :string, 1
|
213
|
-
optional :page_size, :int32, 2
|
214
|
-
optional :page_token, :string, 3
|
215
|
-
optional :filter, :string, 4
|
216
|
-
end
|
217
|
-
add_message "google.cloud.aiplatform.v1.ListMetadataSchemasResponse" do
|
218
|
-
repeated :metadata_schemas, :message, 1, "google.cloud.aiplatform.v1.MetadataSchema"
|
219
|
-
optional :next_page_token, :string, 2
|
220
|
-
end
|
221
|
-
add_message "google.cloud.aiplatform.v1.QueryArtifactLineageSubgraphRequest" do
|
222
|
-
optional :artifact, :string, 1
|
223
|
-
optional :max_hops, :int32, 2
|
224
|
-
optional :filter, :string, 3
|
23
|
+
|
24
|
+
descriptor_data = "\n1google/cloud/aiplatform/v1/metadata_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)google/cloud/aiplatform/v1/artifact.proto\x1a(google/cloud/aiplatform/v1/context.proto\x1a&google/cloud/aiplatform/v1/event.proto\x1a*google/cloud/aiplatform/v1/execution.proto\x1a\x31google/cloud/aiplatform/v1/lineage_subgraph.proto\x1a\x30google/cloud/aiplatform/v1/metadata_schema.proto\x1a/google/cloud/aiplatform/v1/metadata_store.proto\x1a*google/cloud/aiplatform/v1/operation.proto\x1a#google/longrunning/operations.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a google/protobuf/field_mask.proto\"\xba\x01\n\x1a\x43reateMetadataStoreRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!locations.googleapis.com/Location\x12\x46\n\x0emetadata_store\x18\x02 \x01(\x0b\x32).google.cloud.aiplatform.v1.MetadataStoreB\x03\xe0\x41\x02\x12\x19\n\x11metadata_store_id\x18\x03 \x01(\t\"v\n$CreateMetadataStoreOperationMetadata\x12N\n\x10generic_metadata\x18\x01 \x01(\x0b\x32\x34.google.cloud.aiplatform.v1.GenericOperationMetadata\"X\n\x17GetMetadataStoreRequest\x12=\n\x04name\x18\x01 \x01(\tB/\xe0\x41\x02\xfa\x41)\n\'aiplatform.googleapis.com/MetadataStore\"}\n\x19ListMetadataStoresRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!locations.googleapis.com/Location\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\"y\n\x1aListMetadataStoresResponse\x12\x42\n\x0fmetadata_stores\x18\x01 \x03(\x0b\x32).google.cloud.aiplatform.v1.MetadataStore\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"n\n\x1a\x44\x65leteMetadataStoreRequest\x12=\n\x04name\x18\x01 \x01(\tB/\xe0\x41\x02\xfa\x41)\n\'aiplatform.googleapis.com/MetadataStore\x12\x11\n\x05\x66orce\x18\x02 \x01(\x08\x42\x02\x18\x01\"v\n$DeleteMetadataStoreOperationMetadata\x12N\n\x10generic_metadata\x18\x01 \x01(\x0b\x32\x34.google.cloud.aiplatform.v1.GenericOperationMetadata\"\xaa\x01\n\x15\x43reateArtifactRequest\x12?\n\x06parent\x18\x01 \x01(\tB/\xe0\x41\x02\xfa\x41)\n\'aiplatform.googleapis.com/MetadataStore\x12;\n\x08\x61rtifact\x18\x02 \x01(\x0b\x32$.google.cloud.aiplatform.v1.ArtifactB\x03\xe0\x41\x02\x12\x13\n\x0b\x61rtifact_id\x18\x03 \x01(\t\"N\n\x12GetArtifactRequest\x12\x38\n\x04name\x18\x01 \x01(\tB*\xe0\x41\x02\xfa\x41$\n\"aiplatform.googleapis.com/Artifact\"\x9b\x01\n\x14ListArtifactsRequest\x12:\n\x06parent\x18\x01 \x01(\tB*\xe0\x41\x02\xfa\x41$\x12\"aiplatform.googleapis.com/Artifact\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\x12\x0e\n\x06\x66ilter\x18\x04 \x01(\t\x12\x10\n\x08order_by\x18\x05 \x01(\t\"i\n\x15ListArtifactsResponse\x12\x37\n\tartifacts\x18\x01 \x03(\x0b\x32$.google.cloud.aiplatform.v1.Artifact\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\xa1\x01\n\x15UpdateArtifactRequest\x12;\n\x08\x61rtifact\x18\x01 \x01(\x0b\x32$.google.cloud.aiplatform.v1.ArtifactB\x03\xe0\x41\x02\x12\x34\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x01\x12\x15\n\rallow_missing\x18\x03 \x01(\x08\"d\n\x15\x44\x65leteArtifactRequest\x12\x38\n\x04name\x18\x01 \x01(\tB*\xe0\x41\x02\xfa\x41$\n\"aiplatform.googleapis.com/Artifact\x12\x11\n\x04\x65tag\x18\x02 \x01(\tB\x03\xe0\x41\x01\"|\n\x15PurgeArtifactsRequest\x12:\n\x06parent\x18\x01 \x01(\tB*\xe0\x41\x02\xfa\x41$\x12\"aiplatform.googleapis.com/Artifact\x12\x13\n\x06\x66ilter\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x12\n\x05\x66orce\x18\x03 \x01(\x08\x42\x03\xe0\x41\x01\"l\n\x16PurgeArtifactsResponse\x12\x13\n\x0bpurge_count\x18\x01 \x01(\x03\x12=\n\x0cpurge_sample\x18\x02 \x03(\tB\'\xfa\x41$\n\"aiplatform.googleapis.com/Artifact\"h\n\x16PurgeArtifactsMetadata\x12N\n\x10generic_metadata\x18\x01 \x01(\x0b\x32\x34.google.cloud.aiplatform.v1.GenericOperationMetadata\"\xa6\x01\n\x14\x43reateContextRequest\x12?\n\x06parent\x18\x01 \x01(\tB/\xe0\x41\x02\xfa\x41)\n\'aiplatform.googleapis.com/MetadataStore\x12\x39\n\x07\x63ontext\x18\x02 \x01(\x0b\x32#.google.cloud.aiplatform.v1.ContextB\x03\xe0\x41\x02\x12\x12\n\ncontext_id\x18\x03 \x01(\t\"L\n\x11GetContextRequest\x12\x37\n\x04name\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!aiplatform.googleapis.com/Context\"\x99\x01\n\x13ListContextsRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\x12!aiplatform.googleapis.com/Context\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\x12\x0e\n\x06\x66ilter\x18\x04 \x01(\t\x12\x10\n\x08order_by\x18\x05 \x01(\t\"f\n\x14ListContextsResponse\x12\x35\n\x08\x63ontexts\x18\x01 \x03(\x0b\x32#.google.cloud.aiplatform.v1.Context\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\x9e\x01\n\x14UpdateContextRequest\x12\x39\n\x07\x63ontext\x18\x01 \x01(\x0b\x32#.google.cloud.aiplatform.v1.ContextB\x03\xe0\x41\x02\x12\x34\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x01\x12\x15\n\rallow_missing\x18\x03 \x01(\x08\"q\n\x14\x44\x65leteContextRequest\x12\x37\n\x04name\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!aiplatform.googleapis.com/Context\x12\r\n\x05\x66orce\x18\x02 \x01(\x08\x12\x11\n\x04\x65tag\x18\x03 \x01(\tB\x03\xe0\x41\x01\"z\n\x14PurgeContextsRequest\x12\x39\n\x06parent\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\x12!aiplatform.googleapis.com/Context\x12\x13\n\x06\x66ilter\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x12\n\x05\x66orce\x18\x03 \x01(\x08\x42\x03\xe0\x41\x01\"j\n\x15PurgeContextsResponse\x12\x13\n\x0bpurge_count\x18\x01 \x01(\x03\x12<\n\x0cpurge_sample\x18\x02 \x03(\tB&\xfa\x41#\n!aiplatform.googleapis.com/Context\"g\n\x15PurgeContextsMetadata\x12N\n\x10generic_metadata\x18\x01 \x01(\x0b\x32\x34.google.cloud.aiplatform.v1.GenericOperationMetadata\"\xdf\x01\n\'AddContextArtifactsAndExecutionsRequest\x12:\n\x07\x63ontext\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!aiplatform.googleapis.com/Context\x12:\n\tartifacts\x18\x02 \x03(\tB\'\xfa\x41$\n\"aiplatform.googleapis.com/Artifact\x12<\n\nexecutions\x18\x03 \x03(\tB(\xfa\x41%\n#aiplatform.googleapis.com/Execution\"*\n(AddContextArtifactsAndExecutionsResponse\"\x97\x01\n\x19\x41\x64\x64\x43ontextChildrenRequest\x12:\n\x07\x63ontext\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!aiplatform.googleapis.com/Context\x12>\n\x0e\x63hild_contexts\x18\x02 \x03(\tB&\xfa\x41#\n!aiplatform.googleapis.com/Context\"\x1c\n\x1a\x41\x64\x64\x43ontextChildrenResponse\"\x9a\x01\n\x1cRemoveContextChildrenRequest\x12:\n\x07\x63ontext\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!aiplatform.googleapis.com/Context\x12>\n\x0e\x63hild_contexts\x18\x02 \x03(\tB&\xfa\x41#\n!aiplatform.googleapis.com/Context\"\x1f\n\x1dRemoveContextChildrenResponse\"`\n\"QueryContextLineageSubgraphRequest\x12:\n\x07\x63ontext\x18\x01 \x01(\tB)\xe0\x41\x02\xfa\x41#\n!aiplatform.googleapis.com/Context\"\xae\x01\n\x16\x43reateExecutionRequest\x12?\n\x06parent\x18\x01 \x01(\tB/\xe0\x41\x02\xfa\x41)\n\'aiplatform.googleapis.com/MetadataStore\x12=\n\texecution\x18\x02 \x01(\x0b\x32%.google.cloud.aiplatform.v1.ExecutionB\x03\xe0\x41\x02\x12\x14\n\x0c\x65xecution_id\x18\x03 \x01(\t\"P\n\x13GetExecutionRequest\x12\x39\n\x04name\x18\x01 \x01(\tB+\xe0\x41\x02\xfa\x41%\n#aiplatform.googleapis.com/Execution\"\x9d\x01\n\x15ListExecutionsRequest\x12;\n\x06parent\x18\x01 \x01(\tB+\xe0\x41\x02\xfa\x41%\x12#aiplatform.googleapis.com/Execution\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\x12\x0e\n\x06\x66ilter\x18\x04 \x01(\t\x12\x10\n\x08order_by\x18\x05 \x01(\t\"l\n\x16ListExecutionsResponse\x12\x39\n\nexecutions\x18\x01 \x03(\x0b\x32%.google.cloud.aiplatform.v1.Execution\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\xa4\x01\n\x16UpdateExecutionRequest\x12=\n\texecution\x18\x01 \x01(\x0b\x32%.google.cloud.aiplatform.v1.ExecutionB\x03\xe0\x41\x02\x12\x34\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x03\xe0\x41\x01\x12\x15\n\rallow_missing\x18\x03 \x01(\x08\"f\n\x16\x44\x65leteExecutionRequest\x12\x39\n\x04name\x18\x01 \x01(\tB+\xe0\x41\x02\xfa\x41%\n#aiplatform.googleapis.com/Execution\x12\x11\n\x04\x65tag\x18\x02 \x01(\tB\x03\xe0\x41\x01\"~\n\x16PurgeExecutionsRequest\x12;\n\x06parent\x18\x01 \x01(\tB+\xe0\x41\x02\xfa\x41%\x12#aiplatform.googleapis.com/Execution\x12\x13\n\x06\x66ilter\x18\x02 \x01(\tB\x03\xe0\x41\x02\x12\x12\n\x05\x66orce\x18\x03 \x01(\x08\x42\x03\xe0\x41\x01\"n\n\x17PurgeExecutionsResponse\x12\x13\n\x0bpurge_count\x18\x01 \x01(\x03\x12>\n\x0cpurge_sample\x18\x02 \x03(\tB(\xfa\x41%\n#aiplatform.googleapis.com/Execution\"i\n\x17PurgeExecutionsMetadata\x12N\n\x10generic_metadata\x18\x01 \x01(\x0b\x32\x34.google.cloud.aiplatform.v1.GenericOperationMetadata\"\x8e\x01\n\x19\x41\x64\x64\x45xecutionEventsRequest\x12>\n\texecution\x18\x01 \x01(\tB+\xe0\x41\x02\xfa\x41%\n#aiplatform.googleapis.com/Execution\x12\x31\n\x06\x65vents\x18\x02 \x03(\x0b\x32!.google.cloud.aiplatform.v1.Event\"\x1c\n\x1a\x41\x64\x64\x45xecutionEventsResponse\"g\n%QueryExecutionInputsAndOutputsRequest\x12>\n\texecution\x18\x01 \x01(\tB+\xe0\x41\x02\xfa\x41%\n#aiplatform.googleapis.com/Execution\"\xc4\x01\n\x1b\x43reateMetadataSchemaRequest\x12?\n\x06parent\x18\x01 \x01(\tB/\xe0\x41\x02\xfa\x41)\n\'aiplatform.googleapis.com/MetadataStore\x12H\n\x0fmetadata_schema\x18\x02 \x01(\x0b\x32*.google.cloud.aiplatform.v1.MetadataSchemaB\x03\xe0\x41\x02\x12\x1a\n\x12metadata_schema_id\x18\x03 \x01(\t\"Z\n\x18GetMetadataSchemaRequest\x12>\n\x04name\x18\x01 \x01(\tB0\xe0\x41\x02\xfa\x41*\n(aiplatform.googleapis.com/MetadataSchema\"\x95\x01\n\x1aListMetadataSchemasRequest\x12@\n\x06parent\x18\x01 \x01(\tB0\xe0\x41\x02\xfa\x41*\x12(aiplatform.googleapis.com/MetadataSchema\x12\x11\n\tpage_size\x18\x02 \x01(\x05\x12\x12\n\npage_token\x18\x03 \x01(\t\x12\x0e\n\x06\x66ilter\x18\x04 \x01(\t\"|\n\x1bListMetadataSchemasResponse\x12\x44\n\x10metadata_schemas\x18\x01 \x03(\x0b\x32*.google.cloud.aiplatform.v1.MetadataSchema\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\x85\x01\n#QueryArtifactLineageSubgraphRequest\x12<\n\x08\x61rtifact\x18\x01 \x01(\tB*\xe0\x41\x02\xfa\x41$\n\"aiplatform.googleapis.com/Artifact\x12\x10\n\x08max_hops\x18\x02 \x01(\x05\x12\x0e\n\x06\x66ilter\x18\x03 \x01(\t2\xb1:\n\x0fMetadataService\x12\x9b\x02\n\x13\x43reateMetadataStore\x12\x36.google.cloud.aiplatform.v1.CreateMetadataStoreRequest\x1a\x1d.google.longrunning.Operation\"\xac\x01\x82\xd3\xe4\x93\x02\x44\"2/v1/{parent=projects/*/locations/*}/metadataStores:\x0emetadata_store\xda\x41\'parent,metadata_store,metadata_store_id\xca\x41\x35\n\rMetadataStore\x12$CreateMetadataStoreOperationMetadata\x12\xb5\x01\n\x10GetMetadataStore\x12\x33.google.cloud.aiplatform.v1.GetMetadataStoreRequest\x1a).google.cloud.aiplatform.v1.MetadataStore\"A\x82\xd3\xe4\x93\x02\x34\x12\x32/v1/{name=projects/*/locations/*/metadataStores/*}\xda\x41\x04name\x12\xc8\x01\n\x12ListMetadataStores\x12\x35.google.cloud.aiplatform.v1.ListMetadataStoresRequest\x1a\x36.google.cloud.aiplatform.v1.ListMetadataStoresResponse\"C\x82\xd3\xe4\x93\x02\x34\x12\x32/v1/{parent=projects/*/locations/*}/metadataStores\xda\x41\x06parent\x12\xf0\x01\n\x13\x44\x65leteMetadataStore\x12\x36.google.cloud.aiplatform.v1.DeleteMetadataStoreRequest\x1a\x1d.google.longrunning.Operation\"\x81\x01\x82\xd3\xe4\x93\x02\x34*2/v1/{name=projects/*/locations/*/metadataStores/*}\xda\x41\x04name\xca\x41=\n\x15google.protobuf.Empty\x12$DeleteMetadataStoreOperationMetadata\x12\xd9\x01\n\x0e\x43reateArtifact\x12\x31.google.cloud.aiplatform.v1.CreateArtifactRequest\x1a$.google.cloud.aiplatform.v1.Artifact\"n\x82\xd3\xe4\x93\x02J\">/v1/{parent=projects/*/locations/*/metadataStores/*}/artifacts:\x08\x61rtifact\xda\x41\x1bparent,artifact,artifact_id\x12\xb2\x01\n\x0bGetArtifact\x12..google.cloud.aiplatform.v1.GetArtifactRequest\x1a$.google.cloud.aiplatform.v1.Artifact\"M\x82\xd3\xe4\x93\x02@\x12>/v1/{name=projects/*/locations/*/metadataStores/*/artifacts/*}\xda\x41\x04name\x12\xc5\x01\n\rListArtifacts\x12\x30.google.cloud.aiplatform.v1.ListArtifactsRequest\x1a\x31.google.cloud.aiplatform.v1.ListArtifactsResponse\"O\x82\xd3\xe4\x93\x02@\x12>/v1/{parent=projects/*/locations/*/metadataStores/*}/artifacts\xda\x41\x06parent\x12\xdb\x01\n\x0eUpdateArtifact\x12\x31.google.cloud.aiplatform.v1.UpdateArtifactRequest\x1a$.google.cloud.aiplatform.v1.Artifact\"p\x82\xd3\xe4\x93\x02S2G/v1/{artifact.name=projects/*/locations/*/metadataStores/*/artifacts/*}:\x08\x61rtifact\xda\x41\x14\x61rtifact,update_mask\x12\xe5\x01\n\x0e\x44\x65leteArtifact\x12\x31.google.cloud.aiplatform.v1.DeleteArtifactRequest\x1a\x1d.google.longrunning.Operation\"\x80\x01\x82\xd3\xe4\x93\x02@*>/v1/{name=projects/*/locations/*/metadataStores/*/artifacts/*}\xda\x41\x04name\xca\x41\x30\n\x15google.protobuf.Empty\x12\x17\x44\x65leteOperationMetadata\x12\xf0\x01\n\x0ePurgeArtifacts\x12\x31.google.cloud.aiplatform.v1.PurgeArtifactsRequest\x1a\x1d.google.longrunning.Operation\"\x8b\x01\x82\xd3\xe4\x93\x02I\"D/v1/{parent=projects/*/locations/*/metadataStores/*}/artifacts:purge:\x01*\xda\x41\x06parent\xca\x41\x30\n\x16PurgeArtifactsResponse\x12\x16PurgeArtifactsMetadata\x12\xd2\x01\n\rCreateContext\x12\x30.google.cloud.aiplatform.v1.CreateContextRequest\x1a#.google.cloud.aiplatform.v1.Context\"j\x82\xd3\xe4\x93\x02H\"=/v1/{parent=projects/*/locations/*/metadataStores/*}/contexts:\x07\x63ontext\xda\x41\x19parent,context,context_id\x12\xae\x01\n\nGetContext\x12-.google.cloud.aiplatform.v1.GetContextRequest\x1a#.google.cloud.aiplatform.v1.Context\"L\x82\xd3\xe4\x93\x02?\x12=/v1/{name=projects/*/locations/*/metadataStores/*/contexts/*}\xda\x41\x04name\x12\xc1\x01\n\x0cListContexts\x12/.google.cloud.aiplatform.v1.ListContextsRequest\x1a\x30.google.cloud.aiplatform.v1.ListContextsResponse\"N\x82\xd3\xe4\x93\x02?\x12=/v1/{parent=projects/*/locations/*/metadataStores/*}/contexts\xda\x41\x06parent\x12\xd4\x01\n\rUpdateContext\x12\x30.google.cloud.aiplatform.v1.UpdateContextRequest\x1a#.google.cloud.aiplatform.v1.Context\"l\x82\xd3\xe4\x93\x02P2E/v1/{context.name=projects/*/locations/*/metadataStores/*/contexts/*}:\x07\x63ontext\xda\x41\x13\x63ontext,update_mask\x12\xe1\x01\n\rDeleteContext\x12\x30.google.cloud.aiplatform.v1.DeleteContextRequest\x1a\x1d.google.longrunning.Operation\"\x7f\x82\xd3\xe4\x93\x02?*=/v1/{name=projects/*/locations/*/metadataStores/*/contexts/*}\xda\x41\x04name\xca\x41\x30\n\x15google.protobuf.Empty\x12\x17\x44\x65leteOperationMetadata\x12\xeb\x01\n\rPurgeContexts\x12\x30.google.cloud.aiplatform.v1.PurgeContextsRequest\x1a\x1d.google.longrunning.Operation\"\x88\x01\x82\xd3\xe4\x93\x02H\"C/v1/{parent=projects/*/locations/*/metadataStores/*}/contexts:purge:\x01*\xda\x41\x06parent\xca\x41.\n\x15PurgeContextsResponse\x12\x15PurgeContextsMetadata\x12\xbb\x02\n AddContextArtifactsAndExecutions\x12\x43.google.cloud.aiplatform.v1.AddContextArtifactsAndExecutionsRequest\x1a\x44.google.cloud.aiplatform.v1.AddContextArtifactsAndExecutionsResponse\"\x8b\x01\x82\xd3\xe4\x93\x02\x66\"a/v1/{context=projects/*/locations/*/metadataStores/*/contexts/*}:addContextArtifactsAndExecutions:\x01*\xda\x41\x1c\x63ontext,artifacts,executions\x12\xfc\x01\n\x12\x41\x64\x64\x43ontextChildren\x12\x35.google.cloud.aiplatform.v1.AddContextChildrenRequest\x1a\x36.google.cloud.aiplatform.v1.AddContextChildrenResponse\"w\x82\xd3\xe4\x93\x02X\"S/v1/{context=projects/*/locations/*/metadataStores/*/contexts/*}:addContextChildren:\x01*\xda\x41\x16\x63ontext,child_contexts\x12\x88\x02\n\x15RemoveContextChildren\x12\x38.google.cloud.aiplatform.v1.RemoveContextChildrenRequest\x1a\x39.google.cloud.aiplatform.v1.RemoveContextChildrenResponse\"z\x82\xd3\xe4\x93\x02[\"V/v1/{context=projects/*/locations/*/metadataStores/*/contexts/*}:removeContextChildren:\x01*\xda\x41\x16\x63ontext,child_contexts\x12\xfa\x01\n\x1bQueryContextLineageSubgraph\x12>.google.cloud.aiplatform.v1.QueryContextLineageSubgraphRequest\x1a+.google.cloud.aiplatform.v1.LineageSubgraph\"n\x82\xd3\xe4\x93\x02^\x12\\/v1/{context=projects/*/locations/*/metadataStores/*/contexts/*}:queryContextLineageSubgraph\xda\x41\x07\x63ontext\x12\xe0\x01\n\x0f\x43reateExecution\x12\x32.google.cloud.aiplatform.v1.CreateExecutionRequest\x1a%.google.cloud.aiplatform.v1.Execution\"r\x82\xd3\xe4\x93\x02L\"?/v1/{parent=projects/*/locations/*/metadataStores/*}/executions:\texecution\xda\x41\x1dparent,execution,execution_id\x12\xb6\x01\n\x0cGetExecution\x12/.google.cloud.aiplatform.v1.GetExecutionRequest\x1a%.google.cloud.aiplatform.v1.Execution\"N\x82\xd3\xe4\x93\x02\x41\x12?/v1/{name=projects/*/locations/*/metadataStores/*/executions/*}\xda\x41\x04name\x12\xc9\x01\n\x0eListExecutions\x12\x31.google.cloud.aiplatform.v1.ListExecutionsRequest\x1a\x32.google.cloud.aiplatform.v1.ListExecutionsResponse\"P\x82\xd3\xe4\x93\x02\x41\x12?/v1/{parent=projects/*/locations/*/metadataStores/*}/executions\xda\x41\x06parent\x12\xe2\x01\n\x0fUpdateExecution\x12\x32.google.cloud.aiplatform.v1.UpdateExecutionRequest\x1a%.google.cloud.aiplatform.v1.Execution\"t\x82\xd3\xe4\x93\x02V2I/v1/{execution.name=projects/*/locations/*/metadataStores/*/executions/*}:\texecution\xda\x41\x15\x65xecution,update_mask\x12\xe8\x01\n\x0f\x44\x65leteExecution\x12\x32.google.cloud.aiplatform.v1.DeleteExecutionRequest\x1a\x1d.google.longrunning.Operation\"\x81\x01\x82\xd3\xe4\x93\x02\x41*?/v1/{name=projects/*/locations/*/metadataStores/*/executions/*}\xda\x41\x04name\xca\x41\x30\n\x15google.protobuf.Empty\x12\x17\x44\x65leteOperationMetadata\x12\xf5\x01\n\x0fPurgeExecutions\x12\x32.google.cloud.aiplatform.v1.PurgeExecutionsRequest\x1a\x1d.google.longrunning.Operation\"\x8e\x01\x82\xd3\xe4\x93\x02J\"E/v1/{parent=projects/*/locations/*/metadataStores/*}/executions:purge:\x01*\xda\x41\x06parent\xca\x41\x32\n\x17PurgeExecutionsResponse\x12\x17PurgeExecutionsMetadata\x12\xfa\x01\n\x12\x41\x64\x64\x45xecutionEvents\x12\x35.google.cloud.aiplatform.v1.AddExecutionEventsRequest\x1a\x36.google.cloud.aiplatform.v1.AddExecutionEventsResponse\"u\x82\xd3\xe4\x93\x02\\\"W/v1/{execution=projects/*/locations/*/metadataStores/*/executions/*}:addExecutionEvents:\x01*\xda\x41\x10\x65xecution,events\x12\x89\x02\n\x1eQueryExecutionInputsAndOutputs\x12\x41.google.cloud.aiplatform.v1.QueryExecutionInputsAndOutputsRequest\x1a+.google.cloud.aiplatform.v1.LineageSubgraph\"w\x82\xd3\xe4\x93\x02\x65\x12\x63/v1/{execution=projects/*/locations/*/metadataStores/*/executions/*}:queryExecutionInputsAndOutputs\xda\x41\texecution\x12\x87\x02\n\x14\x43reateMetadataSchema\x12\x37.google.cloud.aiplatform.v1.CreateMetadataSchemaRequest\x1a*.google.cloud.aiplatform.v1.MetadataSchema\"\x89\x01\x82\xd3\xe4\x93\x02W\"D/v1/{parent=projects/*/locations/*/metadataStores/*}/metadataSchemas:\x0fmetadata_schema\xda\x41)parent,metadata_schema,metadata_schema_id\x12\xca\x01\n\x11GetMetadataSchema\x12\x34.google.cloud.aiplatform.v1.GetMetadataSchemaRequest\x1a*.google.cloud.aiplatform.v1.MetadataSchema\"S\x82\xd3\xe4\x93\x02\x46\x12\x44/v1/{name=projects/*/locations/*/metadataStores/*/metadataSchemas/*}\xda\x41\x04name\x12\xdd\x01\n\x13ListMetadataSchemas\x12\x36.google.cloud.aiplatform.v1.ListMetadataSchemasRequest\x1a\x37.google.cloud.aiplatform.v1.ListMetadataSchemasResponse\"U\x82\xd3\xe4\x93\x02\x46\x12\x44/v1/{parent=projects/*/locations/*/metadataStores/*}/metadataSchemas\xda\x41\x06parent\x12\x80\x02\n\x1cQueryArtifactLineageSubgraph\x12?.google.cloud.aiplatform.v1.QueryArtifactLineageSubgraphRequest\x1a+.google.cloud.aiplatform.v1.LineageSubgraph\"r\x82\xd3\xe4\x93\x02\x61\x12_/v1/{artifact=projects/*/locations/*/metadataStores/*/artifacts/*}:queryArtifactLineageSubgraph\xda\x41\x08\x61rtifact\x1aM\xca\x41\x19\x61iplatform.googleapis.com\xd2\x41.https://www.googleapis.com/auth/cloud-platformB\xd2\x01\n\x1e\x63om.google.cloud.aiplatform.v1B\x14MetadataServiceProtoP\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"
|
25
|
+
|
26
|
+
pool = Google::Protobuf::DescriptorPool.generated_pool
|
27
|
+
|
28
|
+
begin
|
29
|
+
pool.add_serialized_file(descriptor_data)
|
30
|
+
rescue TypeError => e
|
31
|
+
# Compatibility code: will be removed in the next major version.
|
32
|
+
require 'google/protobuf/descriptor_pb'
|
33
|
+
parsed = Google::Protobuf::FileDescriptorProto.decode(descriptor_data)
|
34
|
+
parsed.clear_dependency
|
35
|
+
serialized = parsed.class.encode(parsed)
|
36
|
+
file = pool.add_serialized_file(serialized)
|
37
|
+
warn "Warning: Protobuf detected an import path issue while loading generated file #{__FILE__}"
|
38
|
+
imports = [
|
39
|
+
["google.cloud.aiplatform.v1.MetadataStore", "google/cloud/aiplatform/v1/metadata_store.proto"],
|
40
|
+
["google.cloud.aiplatform.v1.GenericOperationMetadata", "google/cloud/aiplatform/v1/operation.proto"],
|
41
|
+
["google.cloud.aiplatform.v1.Artifact", "google/cloud/aiplatform/v1/artifact.proto"],
|
42
|
+
["google.protobuf.FieldMask", "google/protobuf/field_mask.proto"],
|
43
|
+
["google.cloud.aiplatform.v1.Context", "google/cloud/aiplatform/v1/context.proto"],
|
44
|
+
["google.cloud.aiplatform.v1.Execution", "google/cloud/aiplatform/v1/execution.proto"],
|
45
|
+
["google.cloud.aiplatform.v1.Event", "google/cloud/aiplatform/v1/event.proto"],
|
46
|
+
["google.cloud.aiplatform.v1.MetadataSchema", "google/cloud/aiplatform/v1/metadata_schema.proto"],
|
47
|
+
]
|
48
|
+
imports.each do |type_name, expected_filename|
|
49
|
+
import_file = pool.lookup(type_name).file_descriptor
|
50
|
+
if import_file.name != expected_filename
|
51
|
+
warn "- #{file.name} imports #{expected_filename}, but that import was loaded as #{import_file.name}"
|
225
52
|
end
|
226
53
|
end
|
54
|
+
warn "Each proto file must use a consistent fully-qualified name."
|
55
|
+
warn "This will become an error in the next major version."
|
227
56
|
end
|
228
57
|
|
229
58
|
module Google
|