123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136 |
- syntax = "proto3";
- package google.firestore.admin.v1;
- import "google/api/field_behavior.proto";
- import "google/api/resource.proto";
- import "google/firestore/admin/v1/index.proto";
- option csharp_namespace = "Google.Cloud.Firestore.Admin.V1";
- option go_package = "google.golang.org/genproto/googleapis/firestore/admin/v1;admin";
- option java_multiple_files = true;
- option java_outer_classname = "FieldProto";
- option java_package = "com.google.firestore.admin.v1";
- option objc_class_prefix = "GCFS";
- option php_namespace = "Google\\Cloud\\Firestore\\Admin\\V1";
- option ruby_package = "Google::Cloud::Firestore::Admin::V1";
- message Field {
- option (google.api.resource) = {
- type: "firestore.googleapis.com/Field"
- pattern: "projects/{project}/databases/{database}/collectionGroups/{collection}/fields/{field}"
- };
-
- message IndexConfig {
-
- repeated Index indexes = 1;
-
-
-
- bool uses_ancestor_config = 2;
-
-
-
-
- string ancestor_field = 3;
-
-
-
-
-
- bool reverting = 4;
- }
-
-
-
-
-
- message TtlConfig {
-
- enum State {
-
- STATE_UNSPECIFIED = 0;
-
-
-
-
-
- CREATING = 1;
-
- ACTIVE = 2;
-
-
-
-
- NEEDS_REPAIR = 3;
- }
-
- State state = 1 [(google.api.field_behavior) = OUTPUT_ONLY];
- }
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
-
- string name = 1 [(google.api.field_behavior) = REQUIRED];
-
-
-
-
- IndexConfig index_config = 2;
-
-
-
- TtlConfig ttl_config = 3;
- }
|