github.com/cloudwan/edgelq-sdk@v1.15.4/alerting/proto/v1/ts_condition_template.proto (about) 1 syntax = "proto3"; 2 3 package ntt.alerting.v1; 4 5 import "edgelq-sdk/alerting/proto/v1/specs.proto"; 6 import "google/api/resource.proto"; 7 import "goten-sdk/types/meta.proto"; 8 9 option go_package = "github.com/cloudwan/edgelq-sdk/alerting/resources/v1/ts_condition_template;ts_condition_template"; 10 option java_multiple_files = true; 11 option java_outer_classname = "TsConditionTemplateProto"; 12 option java_package = "com.ntt.alerting.pb.v1"; 13 14 // TsConditionTemplate provides pre-defined templates for TsCondition 15 // resources. They may be public ones (available for all projects to be copied), 16 // but also can be private and available in selected projects only. 17 // They are always provided within Policy template. 18 message TsConditionTemplate { 19 option (google.api.resource) = { 20 type : "alerting.edgelq.com/TsConditionTemplate" 21 pattern : "projects/{project}/policyTemplates/{policy_template}/" 22 "tsConditionTemplates/{ts_condition_template}" 23 }; 24 25 // Name of TsConditionTemplate 26 // When creating a new instance, this field is optional and if not provided, 27 // it will be generated automatically. Last ID segment must conform to the 28 // following regex: [a-z][a-z0-9\\-]{0,28}[a-z0-9] 29 string name = 1; 30 31 // Metadata is an object with information like create, update and delete time 32 // (for async deleted resources), has user labels/annotations, sharding 33 // information, multi-region syncing information and may have non-schema 34 // owners (useful for taking ownership of resources belonging to lower level 35 // services by higher ones). 36 goten.types.Meta metadata = 2; 37 38 // Display Name 39 string display_name = 3; 40 41 // Long description 42 string description = 4; 43 44 // List of supporting documents. Pointed documents must be copied if 45 // TsCondition is created in different project. 46 repeated string supporting_docs = 5; 47 48 // Pre defined template for TsCondition.Spec. 49 TsCndSpec spec_template = 6; 50 }