github.com/cloudwan/edgelq-sdk@v1.15.4/limits/proto/api-skeleton-v1alpha2.yaml (about)

     1  name: limits.edgelq.com
     2  proto:
     3    package:
     4      name: ntt.limits
     5      currentVersion: v1alpha2
     6      nextVersion: v1
     7      goPackage: github.com/cloudwan/edgelq/limits
     8      protoImportPathPrefix: edgelq/limits/proto
     9    service:
    10      name: Limits
    11      defaultHost: limits.edgelq.com
    12      oauthScopes: https://apis.edgelq.com
    13  imports:
    14  - meta.edgelq.com
    15  - iam.edgelq.com
    16  
    17  resources:
    18  - name: Plan
    19    idPattern: "[a-zA-Z0-9_.-]{1,128}"
    20  
    21  - name: PlanAssignment
    22    parents:
    23    - ""
    24    - iam.edgelq.com/Project
    25    - iam.edgelq.com/Organization
    26    idPattern: "[a-zA-Z0-9_.-]{1,128}"
    27    multiRegion:
    28      syncType: ALWAYS_IN_SCOPE
    29    actions:
    30    # Its like update, but used if org/project switches parent organization
    31    - name: MigratePlanAssignment
    32      verb: migrate
    33      grpcTranscoding:
    34        httpMethod: put
    35      skipResponseMsgGen: true
    36      responseName: PlanAssignment
    37      opResourceInfo:
    38        requestPaths:
    39          resourceBody: [ "plan_assignment" ]
    40        responsePaths:
    41          resourceName: [ "name" ]
    42      withStoreHandle:
    43        transaction: SNAPSHOT
    44  
    45  - name: AcceptedPlan
    46    parents:
    47    - ""
    48    - iam.edgelq.com/Organization
    49    idPattern: "[a-zA-Z0-9_.-]{1,128}"
    50    multiRegion:
    51      syncType: ALWAYS_IN_SCOPE
    52  
    53  - name: PlanAssignmentRequest
    54    parents:
    55    - iam.edgelq.com/Project
    56    - iam.edgelq.com/Organization
    57    actions:
    58    - name: AcceptPlanAssignment
    59      verb: accept
    60      withStoreHandle:
    61        transaction: SNAPSHOT
    62    - name: DeclinePlanAssignment
    63      verb: decline
    64      withStoreHandle:
    65        transaction: SNAPSHOT
    66    - name: ListApproverPlanAssignmentRequests
    67      verb: listApprover
    68      grpcTranscoding:
    69        httpMethod: get
    70      opResourceInfo:
    71        isCollection: true
    72        isPlural: true
    73        skipResourceInRequest: true
    74      responseName: ListPlanAssignmentRequestsResponse
    75      skipResponseMsgGen: true
    76      withStoreHandle:
    77        transaction: NONE
    78        readOnly: true
    79      multiRegionRouting:
    80        skipCodeGenBasedRouting: true
    81  
    82  - name: LimitPool
    83    parents:
    84    - ""
    85    - iam.edgelq.com/Organization
    86    idPattern: "[a-zA-Z0-9-.]{1,128}\\\\/[a-zA-Z]{1,128}"
    87    optOuts:
    88      basicActions:
    89      - "{Create}LimitPool"
    90    multiRegion:
    91      syncType: NEVER
    92    actions:
    93    - name: MigrateLimitPoolSource
    94      verb: migrate
    95      skipResponseMsgGen: true
    96      responseName: LimitPool
    97      opResourceInfo:
    98        responsePaths:
    99          resourceName: [ "name" ]
   100      withStoreHandle:
   101        transaction: SNAPSHOT
   102  
   103  - name: Limit
   104    parents:
   105    - iam.edgelq.com/Project
   106    idPattern: "[a-zA-Z0-9-]{1,128}\\\\/[a-zA-Z0-9-.]{1,128}\\\\/[a-zA-Z]{1,128}"
   107    optOuts:
   108      basicActions: [ "{Create}Limit" ]
   109    multiRegion:
   110      syncType: NEVER
   111    actions:
   112    - name: MigrateLimitSource
   113      verb: migrate
   114      skipResponseMsgGen: true
   115      responseName: Limit
   116      opResourceInfo:
   117        responsePaths:
   118          resourceName: [ "name" ]
   119      withStoreHandle:
   120        transaction: SNAPSHOT