github.com/cloudwan/edgelq-sdk@v1.15.4/meta/proto/v1alpha2/service.proto (about)

     1  syntax = "proto3";
     2  
     3  package ntt.meta.v1alpha2;
     4  
     5  import "google/api/resource.proto";
     6  import "goten-sdk/types/meta.proto";
     7  
     8  option go_package = "github.com/cloudwan/edgelq-sdk/meta/resources/v1alpha2/service;service";
     9  option java_multiple_files = true;
    10  option java_outer_classname = "ServiceProto";
    11  option java_package = "com.ntt.meta.pb.v1alpha2";
    12  
    13  // Service Resource
    14  message Service {
    15    option (google.api.resource) = {
    16      type : "meta.edgelq.com/Service"
    17      pattern : "services/{service}"
    18    };
    19  
    20    // Name of Service - it has form of service domain, for example
    21    // devices.edgelq.com, so full reference name would be like
    22    // services/devices.edgelq.com
    23    string name = 1;
    24  
    25    // Display name, for example "Devices" - CamelVersion
    26    string display_name = 3;
    27  
    28    // Current version of the service, for example "v1alpha2"
    29    string current_version = 4;
    30  
    31    // All version in order from newest (index 0) to oldest
    32    repeated string all_versions = 5;
    33  
    34    // Metadata
    35    goten.types.Meta metadata = 2;
    36  }