github.com/cloudwan/edgelq-sdk@v1.15.4/iam/proto/v1alpha2/common.proto (about) 1 syntax = "proto3"; 2 3 package ntt.iam.v1alpha2; 4 5 import "edgelq-sdk/meta/proto/v1alpha2/service.proto"; 6 import "google/api/field_behavior.proto"; 7 import "google/api/resource.proto"; 8 import "google/protobuf/struct.proto"; 9 import "google/protobuf/timestamp.proto"; 10 11 option go_package = "github.com/cloudwan/edgelq-sdk/iam/resources/v1alpha2/common;iam_common"; 12 option java_multiple_files = true; 13 option java_package = "com.ntt.iam.pb.v1alpha2"; 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. 35 BusinessTier business_tier = 2; 36 } 37 38 // ServiceErrors is generic container wrapping errors with services. 39 message ServiceErrors { 40 // Errors 41 repeated Error errors = 2; 42 43 message Error { 44 // Service for which there are error reports. May be skipped if error is 45 // cross-service or is about core EdgeLQ components. 46 string service = 1; 47 48 // Error message 49 string message = 2; 50 } 51 } 52 53 enum TpmVersion { 54 TPMVAGNOSTIC = 0; 55 56 TPMV12 = 1; 57 58 TPMV20 = 2; 59 } 60 61 enum DigestAlg { 62 SHA1 = 0; 63 64 SHA256 = 1; 65 } 66 67 // BusinessTier indicates size of organizational entity (project or 68 // organization) 69 enum BusinessTier { 70 UNDEFINED = 0; 71 72 LARGE = 1; 73 74 MEDIUM = 2; 75 76 SMALL = 3; 77 78 XSMALL = 4; 79 }