github.com/cloudwan/edgelq-sdk@v1.15.4/devices/proto/v1/device_type.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/device_type;device_type"; 9 option java_multiple_files = true; 10 option java_outer_classname = "DeviceTypeProto"; 11 option java_package = "com.ntt.devices.pb.v1"; 12 13 // DeviceType Resource 14 message DeviceType { 15 option (google.api.resource) = { 16 type : "devices.edgelq.com/DeviceType" 17 pattern : "deviceTypes/{device_type}" 18 }; 19 20 // Name of DeviceType 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 // Display name of Device Type 34 string display_name = 3; 35 36 Hardware hardware = 4; 37 38 Architecture architecture = 5; 39 40 // Description of the Device Type 41 string description = 6; 42 43 // Hardware (e.g. Generic, Raspberry Pi) 44 enum Hardware { 45 HARDWARE_UNSPECIFIED = 0; 46 47 GENERIC = 1; 48 49 RASPBERRYPI = 2; 50 } 51 52 // Architecture name (e.g. amd64) 53 enum Architecture { 54 ARCHITECTURE_UNSPECIFIED = 0; 55 56 AMD64 = 1; 57 58 ARM64 = 2; 59 } 60 }