123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166 |
- syntax = "proto3";
- package google.cloud.contentwarehouse.v1;
- import "google/api/field_behavior.proto";
- import "google/api/resource.proto";
- import "google/protobuf/timestamp.proto";
- option go_package = "google.golang.org/genproto/googleapis/cloud/contentwarehouse/v1;contentwarehouse";
- option java_multiple_files = true;
- option java_outer_classname = "DocumentSchemaProto";
- option java_package = "com.google.cloud.contentwarehouse.v1";
- message DocumentSchema {
- option (google.api.resource) = {
- type: "contentwarehouse.googleapis.com/DocumentSchema"
- pattern: "projects/{project}/locations/{location}/documentSchemas/{document_schema}"
- };
-
-
-
-
-
- string name = 1;
-
- string display_name = 2 [(google.api.field_behavior) = REQUIRED];
-
- repeated PropertyDefinition property_definitions = 3;
-
-
- bool document_is_folder = 4;
-
- google.protobuf.Timestamp update_time = 5 [(google.api.field_behavior) = OUTPUT_ONLY];
-
- google.protobuf.Timestamp create_time = 6 [(google.api.field_behavior) = OUTPUT_ONLY];
-
- string description = 7;
- }
- message PropertyDefinition {
-
-
-
-
- string name = 1 [(google.api.field_behavior) = REQUIRED];
-
- string display_name = 12;
-
- bool is_repeatable = 2;
-
-
- bool is_filterable = 3;
-
- bool is_searchable = 4;
-
- bool is_metadata = 5;
-
-
-
- bool is_required = 14;
-
- oneof value_type_options {
-
- IntegerTypeOptions integer_type_options = 7;
-
- FloatTypeOptions float_type_options = 8;
-
- TextTypeOptions text_type_options = 9;
-
- PropertyTypeOptions property_type_options = 10;
-
- EnumTypeOptions enum_type_options = 11;
-
-
- DateTimeTypeOptions date_time_type_options = 13;
-
- MapTypeOptions map_type_options = 15;
-
-
- TimestampTypeOptions timestamp_type_options = 16;
- }
- }
- message IntegerTypeOptions {
- }
- message FloatTypeOptions {
- }
- message TextTypeOptions {
- }
- message DateTimeTypeOptions {
- }
- message MapTypeOptions {
- }
- message TimestampTypeOptions {
- }
- message PropertyTypeOptions {
-
- repeated PropertyDefinition property_definitions = 1 [(google.api.field_behavior) = REQUIRED];
- }
- message EnumTypeOptions {
-
- repeated string possible_values = 1 [(google.api.field_behavior) = REQUIRED];
-
-
-
- bool validation_check_disabled = 2;
- }
|