github.com/cloudwan/edgelq-sdk@v1.15.4/devices/proto/v1alpha2/provisioning_approval_request.proto (about) 1 syntax = "proto3"; 2 3 package ntt.devices.v1alpha2; 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/v1alpha2/provisioning_approval_request;provisioning_approval_request"; 9 option java_multiple_files = true; 10 option java_outer_classname = "ProvisioningApprovalRequestProto"; 11 option java_package = "com.ntt.devices.pb.v1alpha2"; 12 13 // ProvisioningApprovalRequest Resource 14 message ProvisioningApprovalRequest { 15 option (google.api.resource) = { 16 type : "devices.edgelq.com/ProvisioningApprovalRequest" 17 pattern : "projects/{project}/regions/{region}/provisioningPolicies/" 18 "{provisioning_policy}/provisioningApprovalRequests/" 19 "{provisioning_approval_request}" 20 }; 21 22 // Name of ProvisioningApprovalRequest 23 // When creating a new instance, this field is optional and if not provided, 24 // it will be generated automatically. Last ID segment must conform to the 25 // following regex: [a-z][a-z0-9\-]{0,28}[a-z0-9] 26 string name = 1; 27 28 Spec spec = 3; 29 30 Status status = 4; 31 32 goten.types.Meta metadata = 5; 33 34 message Spec { 35 // The verdicit for the approval, approved or revoked. 36 Conclusion conclusion = 1; 37 38 // System managed, this service account will be used by the Device resource 39 // once it's approved. A device finds its pending request using this field. 40 string service_account = 2; 41 42 enum Conclusion { 43 CONCLUSION_NOT_SPECIFIED = 0; 44 45 APPROVED = 1; 46 47 REVOKED = 2; 48 } 49 } 50 51 message Status {} 52 }