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

     1  name: devices.edgelq.com
     2  proto:
     3    package:
     4      name: ntt.devices
     5      currentVersion: v1alpha2
     6      nextVersion: v1
     7      goPackage: github.com/cloudwan/edgelq/devices
     8      protoImportPathPrefix: edgelq/devices/proto
     9    service:
    10      name: Devices
    11      defaultHost: devices.edgelq.com
    12      oauthScopes: https://apis.edgelq.com
    13  
    14  imports:
    15  - iam.edgelq.com
    16  
    17  resources:
    18  - name: Project
    19    multiRegion:
    20      isPolicyHolder: true
    21  
    22  - name: Device
    23    parents:
    24    - Project
    25    scopeAttributes:
    26    - Region
    27    actions:
    28    - name: ProvisionServiceAccountToDevice
    29      verb: provision_service_account_to_device
    30      withStoreHandle:
    31        readOnly: false
    32        transaction: SNAPSHOT
    33    - name: RemoveServiceAccountFromDevice
    34      verb: remove_service_account_from_device
    35      withStoreHandle:
    36        readOnly: false
    37        transaction: SNAPSHOT
    38  
    39  - name: ProvisioningPolicy
    40    plural: ProvisioningPolicies
    41    parents:
    42    - Project
    43    scopeAttributes:
    44    - Region
    45    actions:
    46    - name: ProvisionServiceAccountToProvisioningPolicy
    47      verb: provision_service_account_to_provisioning_policy
    48      withStoreHandle:
    49        readOnly: false
    50        transaction: SNAPSHOT
    51    - name: RemoveServiceAccountFromProvisioningPolicy
    52      verb: remove_service_account_from_provisioning_policy
    53      withStoreHandle:
    54        readOnly: false
    55        transaction: SNAPSHOT
    56    - name: ProvisionDeviceViaPolicy
    57      verb: provision_device_via_policy
    58      withStoreHandle:
    59        readOnly: false
    60        transaction: SNAPSHOT
    61    - name: RequestProvisioningApproval
    62      verb: request_provisioning_approval
    63      withStoreHandle:
    64        readOnly: false
    65        transaction: SNAPSHOT
    66  
    67  - name: ProvisioningApprovalRequest
    68    parents:
    69    - ProvisioningPolicy
    70    actions:
    71    - name: ProvisionDeviceForApprovedRequest
    72      verb: provision_device_for_approved_request
    73      withStoreHandle:
    74        readOnly: false
    75        transaction: SNAPSHOT
    76  
    77  - name: CustomizedImage
    78    parents:
    79    - Project
    80    scopeAttributes:
    81    - Region
    82    actions:
    83    - name: RequestUrl
    84      verb: request_url
    85      withStoreHandle:
    86        readOnly: true
    87        transaction: SNAPSHOT
    88  
    89  - name: DeviceType
    90  
    91  - name: OsVersion
    92  
    93  - name: OsImageProfile
    94    parents:
    95    - Project
    96    scopeAttributes:
    97    - Region
    98  
    99  apis:
   100  - name: Public
   101    actions:
   102    - name: ListPublicDevices
   103      grpcTranscoding:
   104        httpMethod: get
   105      opResourceInfo:
   106        name: Device
   107        isPlural: true
   108        isCollection: true
   109        responsePaths:
   110          resourceBody: [ "devices" ]
   111      withStoreHandle:
   112        readOnly: true
   113        transaction: NONE
   114  
   115  - name: Broker
   116    actions:
   117    - name: ListenForConnections
   118      verb: listen_for_connections
   119      opResourceInfo:
   120        name: Device
   121        requestPaths:
   122          resourceName: [ "register_listener.device" ]
   123      withStoreHandle:
   124        readOnly: false
   125        transaction: NONE
   126      streamingRequest: true
   127      streamingResponse: true
   128    - name: OpenConnectionChannelSocket
   129      verb: open_connection_channel_socket
   130      opResourceInfo:
   131        name: Device
   132        requestPaths:
   133          resourceName: [ "register_socket.device" ]
   134      withStoreHandle:
   135        readOnly: false
   136        transaction: NONE
   137      streamingRequest: true
   138      streamingResponse: true
   139    - name: ConnectToDevice
   140      verb: connect_to_device
   141      opResourceInfo:
   142        name: Device
   143        requestPaths:
   144          resourceName: [ "open_request.device" ]
   145      withStoreHandle:
   146        readOnly: false
   147        transaction: NONE
   148      streamingRequest: true
   149      streamingResponse: true