github.com/cloudwan/edgelq-sdk@v1.15.4/devices/proto/v1/provisioning_approval_request.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/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.v1";
    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    // Metadata is an object with information like create, update and delete time
    29    // (for async deleted resources), has user labels/annotations, sharding
    30    // information, multi-region syncing information and may have non-schema
    31    // owners (useful for taking ownership of resources belonging to lower level
    32    // services by higher ones).
    33    goten.types.Meta metadata = 5;
    34  
    35    Spec spec = 3;
    36  
    37    Status status = 4;
    38  
    39    message Spec {
    40      // The verdicit for the approval, approved or revoked.
    41      Conclusion conclusion = 1;
    42  
    43      // System managed, this service account will be used by the Device resource
    44      // once it's approved. A device finds its pending request using this field.
    45      string service_account = 2;
    46  
    47      enum Conclusion {
    48        CONCLUSION_NOT_SPECIFIED = 0;
    49  
    50        APPROVED = 1;
    51  
    52        REVOKED = 2;
    53      }
    54    }
    55  
    56    message Status {}
    57  }