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

     1  syntax = "proto3";
     2  
     3  package ntt.devices.v1alpha2;
     4  
     5  import "edgelq-sdk/iam/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/devices/resources/v1alpha2/os_version;os_version";
    10  option java_multiple_files = true;
    11  option java_outer_classname = "OsVersionProto";
    12  option java_package = "com.ntt.devices.pb.v1alpha2";
    13  
    14  // OsVersion Resource
    15  message OsVersion {
    16    option (google.api.resource) = {
    17      type : "devices.edgelq.com/OsVersion"
    18      pattern : "osVersions/{os_version}"
    19    };
    20  
    21    // Name of OsVersion
    22    // When creating a new instance, this field is optional and if not provided,
    23    // it will be generated automatically. Last ID segment must conform to the
    24    // following regex: [a-z][a-z0-9\\-]{0,28}[a-z0-9]
    25    string name = 1;
    26  
    27    goten.types.Meta metadata = 2;
    28  
    29    // The version name.
    30    string version = 3;
    31  
    32    // Supported device type.
    33    string device_type = 4;
    34  
    35    // The minum previous OS version that is required to upgrade devices to the OS
    36    // version.
    37    string minimum_previous_version = 5;
    38  
    39    Channel channel = 6;
    40  
    41    enum Channel {
    42      CHANNEL_UNSPECIFIED = 0;
    43  
    44      NORMAL = 1;
    45  
    46      BETA = 2;
    47    }
    48  }