github.com/cloudwan/edgelq-sdk@v1.15.4/logging/proto/v1/log_descriptor.proto (about)

     1  syntax = "proto3";
     2  
     3  package ntt.logging.v1;
     4  
     5  import "edgelq-sdk/logging/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/logging/resources/v1/log_descriptor;log_descriptor";
    10  option java_multiple_files = true;
    11  option java_outer_classname = "LogDescriptorProto";
    12  option java_package = "com.ntt.logging.pb.v1";
    13  
    14  // LogDescriptor Resource
    15  message LogDescriptor {
    16    option (google.api.resource) = {
    17      type : "logging.edgelq.com/LogDescriptor"
    18      pattern : "projects/{project}/logDescriptors/{log_descriptor}"
    19      pattern : "organizations/{organization}/logDescriptors/{log_descriptor}"
    20      pattern : "services/{service}/logDescriptors/{log_descriptor}"
    21    };
    22  
    23    // Name of LogDescriptor
    24    // When creating a new instance, this field is optional and if not provided,
    25    // it will be generated automatically. Last ID segment must conform to the
    26    // following regex: [\\w./-]{1,128}/[\\w./-]{1,128}
    27    string name = 1;
    28  
    29    // Metadata is an object with information like create, update and delete time
    30    // (for async deleted resources), has user labels/annotations, sharding
    31    // information, multi-region syncing information and may have non-schema
    32    // owners (useful for taking ownership of resources belonging to lower level
    33    // services by higher ones).
    34    goten.types.Meta metadata = 6;
    35  
    36    // Optional. A concise name for the log type that might be
    37    // displayed in user interfaces. It should be a Title Cased Noun Phrase,
    38    // without any article or other determiners.
    39    string display_name = 2;
    40  
    41    // Optional. A detailed description of the log type that might
    42    // be used in documentation.
    43    string description = 3;
    44  
    45    // A set of labels used to describe instances of this log type.
    46    repeated LabelDescriptor labels = 4;
    47  
    48    // Promoted Label Key Sets allow defining multiple indexing rules for
    49    // underlying backend enabling query optimizations.
    50    repeated LabelKeySet promoted_label_key_sets = 5;
    51  }