github.com/cloudwan/edgelq-sdk@v1.15.4/audit/proto/v1alpha2/method_descriptor.proto (about) 1 syntax = "proto3"; 2 3 package ntt.audit.v1alpha2; 4 5 import "edgelq-sdk/audit/proto/v1alpha2/common.proto"; 6 import "google/api/resource.proto"; 7 import "goten-sdk/types/meta.proto"; 8 9 option go_package = "github.com/cloudwan/edgelq-sdk/audit/resources/v1alpha2/method_descriptor;method_descriptor"; 10 option java_multiple_files = true; 11 option java_outer_classname = "MethodDescriptorProto"; 12 option java_package = "com.ntt.audit.pb.v1alpha2"; 13 14 // MethodDescriptor Resource 15 message MethodDescriptor { 16 option (google.api.resource) = { 17 type : "audit.edgelq.com/MethodDescriptor" 18 pattern : "methodDescriptors/{method_descriptor}" 19 }; 20 21 // Name of MethodDescriptor - contains service name and 22 // method type name, separated by '/' sign. Example name: 23 // "iam.edgelq.com/CreateRoleBinding" 24 string name = 1; 25 26 // Optional. A concise name for the audited object type that might be 27 // displayed in user interfaces. It should be a Title Cased Noun Phrase, 28 // without any article or other determiners. 29 string display_name = 2; 30 31 // Optional. A detailed description of the audited method type that might 32 // be used in documentation. 33 string description = 3; 34 35 // A set of labels used to describe instances of this audited 36 // method type. For example, for "UpdateRoleBinding" we can define member 37 // label. This can allow us to make query like "who tried to give user X 38 // permissions to those things?" 39 repeated LabelDescriptor labels = 4; 40 41 // Promoted Label Key Sets allow defining multiple indexing rules for 42 // underlying backend enabling query optimizations. 43 repeated LabelKeySet promoted_label_key_sets = 5; 44 45 // List of API versions which define this method 46 repeated string versions = 6; 47 48 // Metadata 49 goten.types.Meta metadata = 7; 50 }