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