123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172 |
- syntax = "proto3";
- package google.cloud.aiplatform.v1;
- import "google/api/field_behavior.proto";
- import "google/api/resource.proto";
- import "google/cloud/aiplatform/v1/deployed_index_ref.proto";
- import "google/protobuf/struct.proto";
- import "google/protobuf/timestamp.proto";
- option csharp_namespace = "Google.Cloud.AIPlatform.V1";
- option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1;aiplatform";
- option java_multiple_files = true;
- option java_outer_classname = "IndexProto";
- option java_package = "com.google.cloud.aiplatform.v1";
- option php_namespace = "Google\\Cloud\\AIPlatform\\V1";
- option ruby_package = "Google::Cloud::AIPlatform::V1";
- message Index {
- option (google.api.resource) = {
- type: "aiplatform.googleapis.com/Index"
- pattern: "projects/{project}/locations/{location}/indexes/{index}"
- };
-
- enum IndexUpdateMethod {
-
- INDEX_UPDATE_METHOD_UNSPECIFIED = 0;
-
-
- BATCH_UPDATE = 1;
-
-
-
- STREAM_UPDATE = 2;
- }
-
- string name = 1 [(google.api.field_behavior) = OUTPUT_ONLY];
-
-
-
- string display_name = 2 [(google.api.field_behavior) = REQUIRED];
-
- string description = 3;
-
-
-
-
-
-
-
-
- string metadata_schema_uri = 4 [(google.api.field_behavior) = IMMUTABLE];
-
-
- google.protobuf.Value metadata = 6;
-
-
-
- repeated DeployedIndexRef deployed_indexes = 7 [(google.api.field_behavior) = OUTPUT_ONLY];
-
-
- string etag = 8;
-
-
-
-
-
-
-
- map<string, string> labels = 9;
-
- google.protobuf.Timestamp create_time = 10 [(google.api.field_behavior) = OUTPUT_ONLY];
-
-
-
-
-
-
-
-
- google.protobuf.Timestamp update_time = 11 [(google.api.field_behavior) = OUTPUT_ONLY];
-
- IndexStats index_stats = 14 [(google.api.field_behavior) = OUTPUT_ONLY];
-
-
- IndexUpdateMethod index_update_method = 16 [(google.api.field_behavior) = IMMUTABLE];
- }
- message IndexDatapoint {
-
-
- message Restriction {
-
- string namespace = 1;
-
- repeated string allow_list = 2;
-
- repeated string deny_list = 3;
- }
-
-
-
- message CrowdingTag {
-
-
-
-
-
- string crowding_attribute = 1;
- }
-
- string datapoint_id = 1 [(google.api.field_behavior) = REQUIRED];
-
-
- repeated float feature_vector = 2 [(google.api.field_behavior) = REQUIRED];
-
-
-
-
- repeated Restriction restricts = 4 [(google.api.field_behavior) = OPTIONAL];
-
-
- CrowdingTag crowding_tag = 5 [(google.api.field_behavior) = OPTIONAL];
- }
- message IndexStats {
-
- int64 vectors_count = 1 [(google.api.field_behavior) = OUTPUT_ONLY];
-
- int32 shards_count = 2 [(google.api.field_behavior) = OUTPUT_ONLY];
- }
|