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

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