| Package | Description |
|---|---|
| com.huaweicloud.sdk.codehub.v3 | |
| com.huaweicloud.sdk.codehub.v3.model |
| Modifier and Type | Field and Description |
|---|---|
static HttpRequestDef<SetRepoRoleRequest,SetRepoRoleResponse> |
CodeHubMeta.setRepoRole |
| Modifier and Type | Method and Description |
|---|---|
SetRepoRoleResponse |
CodeHubClient.setRepoRole(SetRepoRoleRequest request)
设置成员在仓库中的角色
给仓库中成员设置仓库的操作权限,
详细说明请参考华为云API Explorer。
Please refer to Huawei cloud API Explorer for details.
|
| Modifier and Type | Method and Description |
|---|---|
CompletableFuture<SetRepoRoleResponse> |
CodeHubAsyncClient.setRepoRoleAsync(SetRepoRoleRequest request)
设置成员在仓库中的角色
给仓库中成员设置仓库的操作权限,
详细说明请参考华为云API Explorer。
Please refer to Huawei cloud API Explorer for details.
|
AsyncInvoker<SetRepoRoleRequest,SetRepoRoleResponse> |
CodeHubAsyncClient.setRepoRoleAsyncInvoker(SetRepoRoleRequest request)
设置成员在仓库中的角色
给仓库中成员设置仓库的操作权限,
详细说明请参考华为云API Explorer。
Please refer to Huawei cloud API Explorer for details.
|
SyncInvoker<SetRepoRoleRequest,SetRepoRoleResponse> |
CodeHubClient.setRepoRoleInvoker(SetRepoRoleRequest request)
设置成员在仓库中的角色
给仓库中成员设置仓库的操作权限,
详细说明请参考华为云API Explorer。
Please refer to Huawei cloud API Explorer for details.
|
| Modifier and Type | Method and Description |
|---|---|
SetRepoRoleResponse |
SetRepoRoleResponse.withError(java.util.function.Consumer<Error> errorSetter) |
SetRepoRoleResponse |
SetRepoRoleResponse.withError(Error error) |
SetRepoRoleResponse |
SetRepoRoleResponse.withResult(java.util.function.Consumer<Empty> resultSetter) |
SetRepoRoleResponse |
SetRepoRoleResponse.withResult(Empty result) |
SetRepoRoleResponse |
SetRepoRoleResponse.withStatus(String status) |
Copyright © 2022. All rights reserved.