Package | Description |
---|---|
com.huawei.dli.restapi.api | |
com.huawei.dli.restapi.model |
Modifier and Type | Method and Description |
---|---|
ResponseInfo |
RestApi.dataAuthorize(String projectId,
PrivilegeInfo privilegeInfo,
String xAuthToken)
List queue users
Privilege data permissions to the database or data table to other specified users.
|
okhttp3.Call |
RestApi.dataAuthorizeAsync(String projectId,
PrivilegeInfo privilegeInfo,
String xAuthToken,
ApiCallback<ResponseInfo> callback)
List queue users (asynchronously)
Privilege data permissions to the database or data table to other specified users.
|
okhttp3.Call |
RestApi.dataAuthorizeCall(String projectId,
PrivilegeInfo privilegeInfo,
String xAuthToken,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for dataAuthorize
|
ApiResponse<ResponseInfo> |
RestApi.dataAuthorizeWithHttpInfo(String projectId,
PrivilegeInfo privilegeInfo,
String xAuthToken)
List queue users
Privilege data permissions to the database or data table to other specified users.
|
ResponseInfo |
RestApi.shareQueue(String projectId,
PrivilegeInfo privilegeInfo,
String xAuthToken)
Share queues
To share the specified queue with other users, you can assign the user the privilege to use the specified queue or to recover the usage privileges.
|
okhttp3.Call |
RestApi.shareQueueAsync(String projectId,
PrivilegeInfo privilegeInfo,
String xAuthToken,
ApiCallback<ResponseInfo> callback)
Share queues (asynchronously)
To share the specified queue with other users, you can assign the user the privilege to use the specified queue or to recover the usage privileges.
|
okhttp3.Call |
RestApi.shareQueueCall(String projectId,
PrivilegeInfo privilegeInfo,
String xAuthToken,
ProgressResponseBody.ProgressListener progressListener,
ProgressRequestBody.ProgressRequestListener progressRequestListener)
Build call for shareQueue
|
ApiResponse<ResponseInfo> |
RestApi.shareQueueWithHttpInfo(String projectId,
PrivilegeInfo privilegeInfo,
String xAuthToken)
Share queues
To share the specified queue with other users, you can assign the user the privilege to use the specified queue or to recover the usage privileges.
|
Modifier and Type | Method and Description |
---|---|
PrivilegeInfo |
PrivilegeInfo.action(String action) |
PrivilegeInfo |
PrivilegeInfo.addPrivilegesItem(PrivilegeContent privilegesItem) |
PrivilegeInfo |
PrivilegeInfo.privileges(List<PrivilegeContent> privileges) |
PrivilegeInfo |
PrivilegeInfo.queueName(String queueName) |
PrivilegeInfo |
PrivilegeInfo.userName(String userName) |
Copyright © 2023. All rights reserved.