Managed Service for Apache Kafka API v1 API - Class ManagedKafka.ManagedKafkaBase (1.0.0-beta01)

[BindServiceMethod(typeof(ManagedKafka), "BindService")]
public abstract class ManagedKafka.ManagedKafkaBase

Reference documentation and code samples for the Managed Service for Apache Kafka API v1 API class ManagedKafka.ManagedKafkaBase.

Base class for server-side implementations of ManagedKafka

Inheritance

object > ManagedKafka.ManagedKafkaBase

Namespace

Google.Cloud.ManagedKafka.V1

Assembly

Google.Cloud.ManagedKafka.V1.dll

Methods

CreateCluster(CreateClusterRequest, ServerCallContext)

public virtual Task<Operation> CreateCluster(CreateClusterRequest request, ServerCallContext context)

Creates a new cluster in a given project and location.

Parameters
Name Description
request CreateClusterRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskOperation

The response to send back to the client (wrapped by a task).

CreateTopic(CreateTopicRequest, ServerCallContext)

public virtual Task<Topic> CreateTopic(CreateTopicRequest request, ServerCallContext context)

Creates a new topic in a given project and location.

Parameters
Name Description
request CreateTopicRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskTopic

The response to send back to the client (wrapped by a task).

DeleteCluster(DeleteClusterRequest, ServerCallContext)

public virtual Task<Operation> DeleteCluster(DeleteClusterRequest request, ServerCallContext context)

Deletes a single cluster.

Parameters
Name Description
request DeleteClusterRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskOperation

The response to send back to the client (wrapped by a task).

DeleteConsumerGroup(DeleteConsumerGroupRequest, ServerCallContext)

public virtual Task<Empty> DeleteConsumerGroup(DeleteConsumerGroupRequest request, ServerCallContext context)

Deletes a single consumer group.

Parameters
Name Description
request DeleteConsumerGroupRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskEmpty

The response to send back to the client (wrapped by a task).

DeleteTopic(DeleteTopicRequest, ServerCallContext)

public virtual Task<Empty> DeleteTopic(DeleteTopicRequest request, ServerCallContext context)

Deletes a single topic.

Parameters
Name Description
request DeleteTopicRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskEmpty

The response to send back to the client (wrapped by a task).

GetCluster(GetClusterRequest, ServerCallContext)

public virtual Task<Cluster> GetCluster(GetClusterRequest request, ServerCallContext context)

Returns the properties of a single cluster.

Parameters
Name Description
request GetClusterRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskCluster

The response to send back to the client (wrapped by a task).

GetConsumerGroup(GetConsumerGroupRequest, ServerCallContext)

public virtual Task<ConsumerGroup> GetConsumerGroup(GetConsumerGroupRequest request, ServerCallContext context)

Returns the properties of a single consumer group.

Parameters
Name Description
request GetConsumerGroupRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskConsumerGroup

The response to send back to the client (wrapped by a task).

GetTopic(GetTopicRequest, ServerCallContext)

public virtual Task<Topic> GetTopic(GetTopicRequest request, ServerCallContext context)

Returns the properties of a single topic.

Parameters
Name Description
request GetTopicRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskTopic

The response to send back to the client (wrapped by a task).

ListClusters(ListClustersRequest, ServerCallContext)

public virtual Task<ListClustersResponse> ListClusters(ListClustersRequest request, ServerCallContext context)

Lists the clusters in a given project and location.

Parameters
Name Description
request ListClustersRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskListClustersResponse

The response to send back to the client (wrapped by a task).

ListConsumerGroups(ListConsumerGroupsRequest, ServerCallContext)

public virtual Task<ListConsumerGroupsResponse> ListConsumerGroups(ListConsumerGroupsRequest request, ServerCallContext context)

Lists the consumer groups in a given cluster.

Parameters
Name Description
request ListConsumerGroupsRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskListConsumerGroupsResponse

The response to send back to the client (wrapped by a task).

ListTopics(ListTopicsRequest, ServerCallContext)

public virtual Task<ListTopicsResponse> ListTopics(ListTopicsRequest request, ServerCallContext context)

Lists the topics in a given cluster.

Parameters
Name Description
request ListTopicsRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskListTopicsResponse

The response to send back to the client (wrapped by a task).

UpdateCluster(UpdateClusterRequest, ServerCallContext)

public virtual Task<Operation> UpdateCluster(UpdateClusterRequest request, ServerCallContext context)

Updates the properties of a single cluster.

Parameters
Name Description
request UpdateClusterRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskOperation

The response to send back to the client (wrapped by a task).

UpdateConsumerGroup(UpdateConsumerGroupRequest, ServerCallContext)

public virtual Task<ConsumerGroup> UpdateConsumerGroup(UpdateConsumerGroupRequest request, ServerCallContext context)

Updates the properties of a single consumer group.

Parameters
Name Description
request UpdateConsumerGroupRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskConsumerGroup

The response to send back to the client (wrapped by a task).

UpdateTopic(UpdateTopicRequest, ServerCallContext)

public virtual Task<Topic> UpdateTopic(UpdateTopicRequest request, ServerCallContext context)

Updates the properties of a single topic.

Parameters
Name Description
request UpdateTopicRequest

The request received from the client.

context ServerCallContext

The context of the server-side call handler being invoked.

Returns
Type Description
TaskTopic

The response to send back to the client (wrapped by a task).