github.com/cloudwan/edgelq-sdk@v1.15.4/iam/proto/v1/common.proto (about) 1 syntax = "proto3"; 2 3 package ntt.iam.v1; 4 5 import "google/api/field_behavior.proto"; 6 import "google/api/resource.proto"; 7 import "google/protobuf/struct.proto"; 8 import "google/protobuf/timestamp.proto"; 9 import "goten-sdk/meta-service/proto/v1/service.proto"; 10 11 option go_package = "github.com/cloudwan/edgelq-sdk/iam/resources/v1/common;iam_common"; 12 option java_multiple_files = true; 13 option java_package = "com.ntt.iam.pb.v1"; 14 15 message PCR { 16 uint32 index = 1; 17 18 // Hex-encoded digest string (without 0x prefix, e.g. "DEADBEEF") 19 string digest_hex = 2; 20 21 DigestAlg digest_alg = 3; 22 23 // User's comments for this entry 24 string comment = 4; 25 } 26 27 // ServiceBusinessTier binds specific service with specific business tier. 28 // It may be useful if two services use different tier in one organizational 29 // entity (project or organization). 30 message ServiceBusinessTier { 31 // Service 32 string service = 1; 33 34 // Entity tier value for given service. It may be also set to UNDEFINED, 35 // if this service is not supposed to be used at all for given entity. 36 // This way we can opt out from core edgelq services if needed. 37 BusinessTier business_tier = 2; 38 } 39 40 // ServiceErrors is generic container wrapping errors with services. 41 message ServiceErrors { 42 // Errors 43 repeated Error errors = 2; 44 45 message Error { 46 // Service for which there are error reports. May be skipped if error is 47 // cross-service or is about core EdgeLQ components. 48 string service = 1; 49 50 // Error message 51 string message = 2; 52 } 53 } 54 55 enum TpmVersion { 56 TPMVAGNOSTIC = 0; 57 58 TPMV12 = 1; 59 60 TPMV20 = 2; 61 } 62 63 enum DigestAlg { 64 SHA1 = 0; 65 66 SHA256 = 1; 67 } 68 69 // BusinessTier indicates size of organizational entity (project or 70 // organization). Size-type sizes are used in core edgelq services, 71 // SKU-types can be used optionally by 3rd party services. 72 enum BusinessTier { 73 UNDEFINED = 0; 74 75 LARGE = 1; 76 77 MEDIUM = 2; 78 79 SMALL = 3; 80 81 XSMALL = 4; 82 83 SKU0 = 5; 84 85 SKU1 = 6; 86 87 SKU2 = 7; 88 89 SKU3 = 8; 90 91 SKU4 = 9; 92 93 SKU5 = 10; 94 95 SKU6 = 11; 96 97 SKU7 = 12; 98 99 SKU8 = 13; 100 101 SKU9 = 14; 102 103 SKU10 = 15; 104 105 SKU11 = 16; 106 107 SKU12 = 17; 108 }