123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364 |
- syntax = "proto3";
- package google.cloud.apigeeregistry.v1;
- import "google/api/field_behavior.proto";
- import "google/api/resource.proto";
- import "google/protobuf/timestamp.proto";
- option csharp_namespace = "Google.Cloud.ApigeeRegistry.V1";
- option go_package = "google.golang.org/genproto/googleapis/cloud/apigeeregistry/v1;apigeeregistry";
- option java_multiple_files = true;
- option java_outer_classname = "RegistryModelsProto";
- option java_package = "com.google.cloud.apigeeregistry.v1";
- option php_namespace = "Google\\Cloud\\ApigeeRegistry\\V1";
- option ruby_package = "Google::Cloud::ApigeeRegistry::V1";
- message Api {
- option (google.api.resource) = {
- type: "apigeeregistry.googleapis.com/Api"
- pattern: "projects/{project}/locations/{location}/apis/{api}"
- };
-
- string name = 1;
-
- string display_name = 2;
-
- string description = 3;
-
- google.protobuf.Timestamp create_time = 4 [(google.api.field_behavior) = OUTPUT_ONLY];
-
- google.protobuf.Timestamp update_time = 5 [(google.api.field_behavior) = OUTPUT_ONLY];
-
-
-
- string availability = 6;
-
-
- string recommended_version = 7 [(google.api.resource_reference) = {
- type: "apigeeregistry.googleapis.com/ApiVersion"
- }];
-
-
- string recommended_deployment = 8 [(google.api.resource_reference) = {
- type: "apigeeregistry.googleapis.com/ApiDeployment"
- }];
-
-
-
-
-
-
-
-
-
-
-
-
- map<string, string> labels = 9;
-
-
-
-
-
- map<string, string> annotations = 10;
- }
- message ApiVersion {
- option (google.api.resource) = {
- type: "apigeeregistry.googleapis.com/ApiVersion"
- pattern: "projects/{project}/locations/{location}/apis/{api}/versions/{version}"
- };
-
- string name = 1;
-
- string display_name = 2;
-
- string description = 3;
-
- google.protobuf.Timestamp create_time = 4 [(google.api.field_behavior) = OUTPUT_ONLY];
-
- google.protobuf.Timestamp update_time = 5 [(google.api.field_behavior) = OUTPUT_ONLY];
-
-
-
-
- string state = 6;
-
-
-
-
-
-
-
-
-
-
-
-
- map<string, string> labels = 7;
-
-
-
-
-
- map<string, string> annotations = 8;
- }
- message ApiSpec {
- option (google.api.resource) = {
- type: "apigeeregistry.googleapis.com/ApiSpec"
- pattern: "projects/{project}/locations/{location}/apis/{api}/versions/{version}/specs/{spec}"
- };
-
- string name = 1;
-
- string filename = 2;
-
- string description = 3;
-
-
-
- string revision_id = 4 [
- (google.api.field_behavior) = IMMUTABLE,
- (google.api.field_behavior) = OUTPUT_ONLY
- ];
-
- google.protobuf.Timestamp create_time = 5 [(google.api.field_behavior) = OUTPUT_ONLY];
-
- google.protobuf.Timestamp revision_create_time = 6 [(google.api.field_behavior) = OUTPUT_ONLY];
-
- google.protobuf.Timestamp revision_update_time = 7 [(google.api.field_behavior) = OUTPUT_ONLY];
-
-
-
-
-
-
-
-
- string mime_type = 8;
-
-
- int32 size_bytes = 9 [(google.api.field_behavior) = OUTPUT_ONLY];
-
-
- string hash = 10 [(google.api.field_behavior) = OUTPUT_ONLY];
-
-
-
-
- string source_uri = 11;
-
-
-
- bytes contents = 12 [(google.api.field_behavior) = INPUT_ONLY];
-
-
-
-
-
-
-
-
-
-
-
-
- map<string, string> labels = 14;
-
-
-
-
-
- map<string, string> annotations = 15;
- }
- message ApiDeployment {
- option (google.api.resource) = {
- type: "apigeeregistry.googleapis.com/ApiDeployment"
- pattern: "projects/{project}/locations/{location}/apis/{api}/deployments/{deployment}"
- };
-
- string name = 1;
-
- string display_name = 2;
-
- string description = 3;
-
-
-
- string revision_id = 4 [
- (google.api.field_behavior) = IMMUTABLE,
- (google.api.field_behavior) = OUTPUT_ONLY
- ];
-
- google.protobuf.Timestamp create_time = 5 [(google.api.field_behavior) = OUTPUT_ONLY];
-
- google.protobuf.Timestamp revision_create_time = 6 [(google.api.field_behavior) = OUTPUT_ONLY];
-
- google.protobuf.Timestamp revision_update_time = 7 [(google.api.field_behavior) = OUTPUT_ONLY];
-
-
-
- string api_spec_revision = 8 [(google.api.resource_reference) = {
- type: "apigeeregistry.googleapis.com/ApiSpec"
- }];
-
-
- string endpoint_uri = 9;
-
-
- string external_channel_uri = 10;
-
-
- string intended_audience = 11;
-
-
- string access_guidance = 12;
-
-
-
-
-
-
-
-
-
-
-
-
- map<string, string> labels = 14;
-
-
-
-
-
- map<string, string> annotations = 15;
- }
- message Artifact {
- option (google.api.resource) = {
- type: "apigeeregistry.googleapis.com/Artifact"
- pattern: "projects/{project}/locations/{location}/artifacts/{artifact}"
- pattern: "projects/{project}/locations/{location}/apis/{api}/artifacts/{artifact}"
- pattern: "projects/{project}/locations/{location}/apis/{api}/versions/{version}/artifacts/{artifact}"
- pattern: "projects/{project}/locations/{location}/apis/{api}/versions/{version}/specs/{spec}/artifacts/{artifact}"
- pattern: "projects/{project}/locations/{location}/apis/{api}/deployments/{deployment}/artifacts/{artifact}"
- };
-
- string name = 1;
-
- google.protobuf.Timestamp create_time = 2 [(google.api.field_behavior) = OUTPUT_ONLY];
-
- google.protobuf.Timestamp update_time = 3 [(google.api.field_behavior) = OUTPUT_ONLY];
-
-
-
-
-
-
- string mime_type = 4;
-
-
- int32 size_bytes = 5 [(google.api.field_behavior) = OUTPUT_ONLY];
-
-
- string hash = 6 [(google.api.field_behavior) = OUTPUT_ONLY];
-
-
-
- bytes contents = 7 [(google.api.field_behavior) = INPUT_ONLY];
- }
|