github.com/cloudwan/edgelq-sdk@v1.15.4/devices/proto/v1/os_version.proto (about) 1 syntax = "proto3"; 2 3 package ntt.devices.v1; 4 5 import "google/api/resource.proto"; 6 import "goten-sdk/types/meta.proto"; 7 8 option go_package = "github.com/cloudwan/edgelq-sdk/devices/resources/v1/os_version;os_version"; 9 option java_multiple_files = true; 10 option java_outer_classname = "OsVersionProto"; 11 option java_package = "com.ntt.devices.pb.v1"; 12 13 // OsVersion Resource 14 message OsVersion { 15 option (google.api.resource) = { 16 type : "devices.edgelq.com/OsVersion" 17 pattern : "osVersions/{os_version}" 18 }; 19 20 // Name of OsVersion 21 // When creating a new instance, this field is optional and if not provided, 22 // it will be generated automatically. Last ID segment must conform to the 23 // following regex: [a-z][a-z0-9\\-]{0,28}[a-z0-9] 24 string name = 1; 25 26 // Metadata is an object with information like create, update and delete time 27 // (for async deleted resources), has user labels/annotations, sharding 28 // information, multi-region syncing information and may have non-schema 29 // owners (useful for taking ownership of resources belonging to lower level 30 // services by higher ones). 31 goten.types.Meta metadata = 2; 32 33 // The version name. 34 string version = 3; 35 36 // Supported device type. 37 string device_type = 4; 38 39 // The minum previous OS version that is required to upgrade devices to the OS 40 // version. 41 string minimum_previous_version = 5; 42 43 Channel channel = 6; 44 45 enum Channel { 46 CHANNEL_UNSPECIFIED = 0; 47 48 NORMAL = 1; 49 50 BETA = 2; 51 } 52 }