Service doublecloud.kafka.v1.UserService
Get
Returns the specified Apache Kafka User resource.
To get the list of available Apache Kafka User resources, make a [List] request.
Request
Field |
Description |
|
string Required. ID of the Apache Kafka cluster the user belongs to. To get the cluster ID, use a [ClusterService.List] request. |
|
string Required. Name of the Apache Kafka User resource to return. To get the name of the user, use a [UserService.List] request. |
Response
Field |
Description |
|
string Apache Kafka User's name. For a string spec see [UserSpec.name] |
|
string Apache Kafka cluster ID the user belongs to. |
|
list Set of permissions the user is granted with. |
|
List
Retrieves the list of Apache Kafka User resources for the specified cluster.
Request
Field |
Description |
|
string Required. ID of the cluster to list Apache Kafka users in. To get the cluster ID, use a [ClusterService.List] request. |
|
doublecloud.v1.Paging Paging information of the request. See [doublecloud.priv.v1.Paging] for details Following constraints applied:
|
Response
Field |
Description |
|
list List of Apache Kafka User resources. |
|
|
|
doublecloud.v1.NextPage Pagination information of the response See [doublecloud.priv.v1.NextPage] for details |
Create
Creates an Apache Kafka User on the specified cluster.
Request
Field |
Description |
|
string Required. ID of the Apache Kafka cluster to create a user in. To get the cluster ID, use a [ClusterService.List] request. |
|
doublecloud.kafka.v1.UserSpec User creation payload. See [UserSpec] for details |
Response
Field |
Description |
|
string ID of the operation. |
|
string ID of the project where operation performed. |
|
string Description of the operation. |
|
string ID of the user or service account who initiated the operation. |
|
list Operation metadata (e.g. cluster_id for create cluster operation). |
|
|
|
google.protobuf.Timestamp The time when the operation was created. |
|
google.protobuf.Timestamp The time when the operation was started. |
|
google.protobuf.Timestamp The time when the operation was finished. |
|
doublecloud.v1.Operation.Status The status of the operation. |
|
google.rpc.Status The error result of the operation in case of failure or cancellation. |
|
string ID of the resource operation performed on. |
Update
Updates the specified Apache Kafka User.
Request
Field |
Description |
|
string Required. ID of the Apache Kafka cluster the user belongs to. To get the cluster ID use a [ClusterService.List] request. |
|
string Required. Name of the user to be updated. To get the name of the user use a [UserService.List] request. |
|
doublecloud.kafka.v1.UpdateUserRequest.UpdateSpec Defines which exact attributes to be updated. |
Response
Field |
Description |
|
string ID of the operation. |
|
string ID of the project where operation performed. |
|
string Description of the operation. |
|
string ID of the user or service account who initiated the operation. |
|
list Operation metadata (e.g. cluster_id for create cluster operation). |
|
|
|
google.protobuf.Timestamp The time when the operation was created. |
|
google.protobuf.Timestamp The time when the operation was started. |
|
google.protobuf.Timestamp The time when the operation was finished. |
|
doublecloud.v1.Operation.Status The status of the operation. |
|
google.rpc.Status The error result of the operation in case of failure or cancellation. |
|
string ID of the resource operation performed on. |
Delete
Deletes the specified Apache Kafka User.
Request
Field |
Description |
|
string Required. ID of the Apache Kafka cluster the user belongs to. To get the cluster ID, use a [ClusterService.List] request. |
|
string Required. Name of the user to delete. To get the name of the user, use a [UserService.List] request. |
Response
Field |
Description |
|
string ID of the operation. |
|
string ID of the project where operation performed. |
|
string Description of the operation. |
|
string ID of the user or service account who initiated the operation. |
|
list Operation metadata (e.g. cluster_id for create cluster operation). |
|
|
|
google.protobuf.Timestamp The time when the operation was created. |
|
google.protobuf.Timestamp The time when the operation was started. |
|
google.protobuf.Timestamp The time when the operation was finished. |
|
doublecloud.v1.Operation.Status The status of the operation. |
|
google.rpc.Status The error result of the operation in case of failure or cancellation. |
|
string ID of the resource operation performed on. |
GrantPermission
Grants permission to the specified Apache Kafka User.
Request
Field |
Description |
|
string Required. ID of the Apache Kafka cluster the user belongs to. To get the cluster ID, use a [ClusterService.List] request. |
|
string Required. Name of the user to grant the permission to. To get the name of the user, use a [UserService.List] request. |
|
doublecloud.kafka.v1.Permission Required. Permission that should be granted to the specified user. |
Response
Field |
Description |
|
string ID of the operation. |
|
string ID of the project where operation performed. |
|
string Description of the operation. |
|
string ID of the user or service account who initiated the operation. |
|
list Operation metadata (e.g. cluster_id for create cluster operation). |
|
|
|
google.protobuf.Timestamp The time when the operation was created. |
|
google.protobuf.Timestamp The time when the operation was started. |
|
google.protobuf.Timestamp The time when the operation was finished. |
|
doublecloud.v1.Operation.Status The status of the operation. |
|
google.rpc.Status The error result of the operation in case of failure or cancellation. |
|
string ID of the resource operation performed on. |
RevokePermission
Revokes permission from the specified Apache Kafka User.
Request
Field |
Description |
|
string Required. ID of the Apache Kafka cluster the user belongs to. To get the cluster ID, use a [ClusterService.List] request. |
|
string Required. Name of the user to revoke a permission from. To get the name of the user, use a [UserService.List] request. |
|
doublecloud.kafka.v1.Permission Required. Permission that should be revoked from the specified user. |
Response
Field |
Description |
|
string ID of the operation. |
|
string ID of the project where operation performed. |
|
string Description of the operation. |
|
string ID of the user or service account who initiated the operation. |
|
list Operation metadata (e.g. cluster_id for create cluster operation). |
|
|
|
google.protobuf.Timestamp The time when the operation was created. |
|
google.protobuf.Timestamp The time when the operation was started. |
|
google.protobuf.Timestamp The time when the operation was finished. |
|
doublecloud.v1.Operation.Status The status of the operation. |
|
google.rpc.Status The error result of the operation in case of failure or cancellation. |
|
string ID of the resource operation performed on. |