Service doublecloud.kafka.v1.TopicService
Get
Returns the specified Apache Kafka Topic resource.
To get the list of available Apache Kafka Topic resources, make a [List] request.
Request
Field |
Description |
|
string ID of the Apache Kafka cluster that the topic belongs to. To get the cluster ID use a [ClusterService.List] request. |
|
string Name of the Apache Kafka Topic resource to return. To get the name of the topic use a [TopicService.List] request. |
Response
Field |
Description |
|
string Name of the topic. |
|
string ID of the Apache Kafka cluster that the topic belongs to. |
|
google.protobuf.Int64Value Number of topic partitions. |
|
google.protobuf.Int64Value Amount of copies of a topic data kept in a cluster. |
|
one of: |
|
|
|
|
|
bool True if topic has SLA guaranties |
List
Retrieves the list of Apache Kafka Topic resources in the specified cluster.
Request
Field |
Description |
|
string ID of the Apache Kafka cluster to list topics in. To get the cluster ID use a [ClusterService.List] request. |
|
doublecloud.v1.Paging Paging information of the request |
Response
Field |
Description |
|
list List of Apache Kafka Topic resources. |
|
|
|
doublecloud.v1.NextPage Pagination information of the response |
Create
Creates a new Apache Kafka topic in the specified cluster.
Request
Field |
Description |
|
string Required. ID of the Apache Kafka cluster to create a topic in. To get the cluster ID use a [ClusterService.List] request. |
|
doublecloud.kafka.v1.TopicSpec Required. Configuration of the topic to create. |
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 topic.
Request
Field |
Description |
|
string Required. ID of the Apache Kafka cluster to update a topic in. To get the cluster ID use a [ClusterService.List] request. |
|
string Required. Name of the topic to update. To get the name of the topic use a [TopicService.List] request. |
|
doublecloud.kafka.v1.TopicSpec Required. Configuration of the topic to create. |
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 topic.
Request
Field |
Description |
|
string Required. ID of the Apache Kafka cluster to delete a topic in. To get the cluster ID, use a [ClusterService.List] request. |
|
string Required. Name of the topic to delete. To get the name of the topic, use a [TopicService.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. |