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

[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

AddAclEntry(AddAclEntryRequest, ServerCallContext)

public virtual Task<AddAclEntryResponse> AddAclEntry(AddAclEntryRequest request, ServerCallContext context)

Incremental update: Adds an acl entry to an acl. Creates the acl if it does not exist yet.

Parameters
Name Description
request AddAclEntryRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
TaskAddAclEntryResponse

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

CreateAcl(CreateAclRequest, ServerCallContext)

public virtual Task<Acl> CreateAcl(CreateAclRequest request, ServerCallContext context)

Creates a new acl in the given project, location, and cluster.

Parameters
Name Description
request CreateAclRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
TaskAcl

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

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).

DeleteAcl(DeleteAclRequest, ServerCallContext)

public virtual Task<Empty> DeleteAcl(DeleteAclRequest request, ServerCallContext context)

Deletes an acl.

Parameters
Name Description
request DeleteAclRequest

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).

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).

GetAcl(GetAclRequest, ServerCallContext)

public virtual Task<Acl> GetAcl(GetAclRequest request, ServerCallContext context)

Returns the properties of a single acl.

Parameters
Name Description
request GetAclRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
TaskAcl

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).

ListAcls(ListAclsRequest, ServerCallContext)

public virtual Task<ListAclsResponse> ListAcls(ListAclsRequest request, ServerCallContext context)

Lists the acls in a given cluster.

Parameters
Name Description
request ListAclsRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
TaskListAclsResponse

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).

RemoveAclEntry(RemoveAclEntryRequest, ServerCallContext)

public virtual Task<RemoveAclEntryResponse> RemoveAclEntry(RemoveAclEntryRequest request, ServerCallContext context)

Incremental update: Removes an acl entry from an acl. Deletes the acl if its acl entries become empty (i.e. if the removed entry was the last one in the acl).

Parameters
Name Description
request RemoveAclEntryRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
TaskRemoveAclEntryResponse

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

UpdateAcl(UpdateAclRequest, ServerCallContext)

public virtual Task<Acl> UpdateAcl(UpdateAclRequest request, ServerCallContext context)

Updates the properties of a single acl.

Parameters
Name Description
request UpdateAclRequest

The request received from the client.

context ServerCallContext

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

Returns
Type Description
TaskAcl

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).