github.com/cloudwan/edgelq-sdk@v1.15.4/audit/proto/v1/method_descriptor.proto (about)

     1  syntax = "proto3";
     2  
     3  package ntt.audit.v1;
     4  
     5  import "edgelq-sdk/audit/proto/v1/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/v1/method_descriptor;method_descriptor";
    10  option java_multiple_files = true;
    11  option java_outer_classname = "MethodDescriptorProto";
    12  option java_package = "com.ntt.audit.pb.v1";
    13  
    14  // MethodDescriptor Resource
    15  message MethodDescriptor {
    16    option (google.api.resource) = {
    17      type : "audit.edgelq.com/MethodDescriptor"
    18      pattern : "services/{service}/methodDescriptors/{method_descriptor}"
    19    };
    20  
    21    // Name of MethodDescriptor
    22    string name = 1;
    23  
    24    // Metadata is an object with information like create, update and delete time
    25    // (for async deleted resources), has user labels/annotations, sharding
    26    // information, multi-region syncing information and may have non-schema
    27    // owners (useful for taking ownership of resources belonging to lower level
    28    // services by higher ones).
    29    goten.types.Meta metadata = 7;
    30  
    31    // Optional. A concise name for the audited object type that might be
    32    // displayed in user interfaces. It should be a Title Cased Noun Phrase,
    33    // without any article or other determiners.
    34    string display_name = 2;
    35  
    36    // Optional. A detailed description of the audited method type that might
    37    // be used in documentation.
    38    string description = 3;
    39  
    40    // A set of labels used to describe instances of this audited
    41    // method type. For example, for "UpdateRoleBinding" we can define member
    42    // label. This can allow us to make query like "who tried to give user X
    43    // permissions to those things?"
    44    repeated LabelDescriptor labels = 4;
    45  
    46    // Promoted Label Key Sets allow defining multiple indexing rules for
    47    // underlying backend enabling query optimizations.
    48    repeated LabelKeySet promoted_label_key_sets = 5;
    49  
    50    // List of API versions which define this method
    51    repeated string versions = 6;
    52  }