# Package google.cloud.managedkafka.v1

## Index

- `https://docs.cloud.google.com/managed-service-for-apache-kafka/docs/reference/rpc/google.cloud.managedkafka.v1#google.cloud.managedkafka.v1.ManagedKafka` (interface)
- `https://docs.cloud.google.com/managed-service-for-apache-kafka/docs/reference/rpc/google.cloud.managedkafka.v1#google.cloud.managedkafka.v1.ManagedKafkaConnect` (interface)
- `https://docs.cloud.google.com/managed-service-for-apache-kafka/docs/reference/rpc/google.cloud.managedkafka.v1#google.cloud.managedkafka.v1.AccessConfig` (message)
- `https://docs.cloud.google.com/managed-service-for-apache-kafka/docs/reference/rpc/google.cloud.managedkafka.v1#google.cloud.managedkafka.v1.Acl` (message)
- `https://docs.cloud.google.com/managed-service-for-apache-kafka/docs/reference/rpc/google.cloud.managedkafka.v1#google.cloud.managedkafka.v1.AclEntry` (message)
- `https://docs.cloud.google.com/managed-service-for-apache-kafka/docs/reference/rpc/google.cloud.managedkafka.v1#google.cloud.managedkafka.v1.AddAclEntryRequest` (message)
- `https://docs.cloud.google.com/managed-service-for-apache-kafka/docs/reference/rpc/google.cloud.managedkafka.v1#google.cloud.managedkafka.v1.AddAclEntryResponse` (message)
- `https://docs.cloud.google.com/managed-service-for-apache-kafka/docs/reference/rpc/google.cloud.managedkafka.v1#google.cloud.managedkafka.v1.BrokerDetails` (message)
- `https://docs.cloud.google.com/managed-service-for-apache-kafka/docs/reference/rpc/google.cloud.managedkafka.v1#google.cloud.managedkafka.v1.CapacityConfig` (message)
- `https://docs.cloud.google.com/managed-service-for-apache-kafka/docs/reference/rpc/google.cloud.managedkafka.v1#google.cloud.managedkafka.v1.Cluster` (message)
- `https://docs.cloud.google.com/managed-service-for-apache-kafka/docs/reference/rpc/google.cloud.managedkafka.v1#google.cloud.managedkafka.v1.Cluster.State` (enum)
- `https://docs.cloud.google.com/managed-service-for-apache-kafka/docs/reference/rpc/google.cloud.managedkafka.v1#google.cloud.managedkafka.v1.ClusterView` (enum)
- `https://docs.cloud.google.com/managed-service-for-apache-kafka/docs/reference/rpc/google.cloud.managedkafka.v1#google.cloud.managedkafka.v1.ConnectAccessConfig` (message)
- `https://docs.cloud.google.com/managed-service-for-apache-kafka/docs/reference/rpc/google.cloud.managedkafka.v1#google.cloud.managedkafka.v1.ConnectCluster` (message)
- `https://docs.cloud.google.com/managed-service-for-apache-kafka/docs/reference/rpc/google.cloud.managedkafka.v1#google.cloud.managedkafka.v1.ConnectCluster.State` (enum)
- `https://docs.cloud.google.com/managed-service-for-apache-kafka/docs/reference/rpc/google.cloud.managedkafka.v1#google.cloud.managedkafka.v1.ConnectGcpConfig` (message)
- `https://docs.cloud.google.com/managed-service-for-apache-kafka/docs/reference/rpc/google.cloud.managedkafka.v1#google.cloud.managedkafka.v1.ConnectNetworkConfig` (message)
- `https://docs.cloud.google.com/managed-service-for-apache-kafka/docs/reference/rpc/google.cloud.managedkafka.v1#google.cloud.managedkafka.v1.Connector` (message)
- `https://docs.cloud.google.com/managed-service-for-apache-kafka/docs/reference/rpc/google.cloud.managedkafka.v1#google.cloud.managedkafka.v1.Connector.State` (enum)
- `https://docs.cloud.google.com/managed-service-for-apache-kafka/docs/reference/rpc/google.cloud.managedkafka.v1#google.cloud.managedkafka.v1.ConsumerGroup` (message)
- `https://docs.cloud.google.com/managed-service-for-apache-kafka/docs/reference/rpc/google.cloud.managedkafka.v1#google.cloud.managedkafka.v1.ConsumerPartitionMetadata` (message)
- `https://docs.cloud.google.com/managed-service-for-apache-kafka/docs/reference/rpc/google.cloud.managedkafka.v1#google.cloud.managedkafka.v1.ConsumerTopicMetadata` (message)
- `https://docs.cloud.google.com/managed-service-for-apache-kafka/docs/reference/rpc/google.cloud.managedkafka.v1#google.cloud.managedkafka.v1.CreateAclRequest` (message)
- `https://docs.cloud.google.com/managed-service-for-apache-kafka/docs/reference/rpc/google.cloud.managedkafka.v1#google.cloud.managedkafka.v1.CreateClusterRequest` (message)
- `https://docs.cloud.google.com/managed-service-for-apache-kafka/docs/reference/rpc/google.cloud.managedkafka.v1#google.cloud.managedkafka.v1.CreateConnectClusterRequest` (message)
- `https://docs.cloud.google.com/managed-service-for-apache-kafka/docs/reference/rpc/google.cloud.managedkafka.v1#google.cloud.managedkafka.v1.CreateConnectorRequest` (message)
- `https://docs.cloud.google.com/managed-service-for-apache-kafka/docs/reference/rpc/google.cloud.managedkafka.v1#google.cloud.managedkafka.v1.CreateTopicRequest` (message)
- `https://docs.cloud.google.com/managed-service-for-apache-kafka/docs/reference/rpc/google.cloud.managedkafka.v1#google.cloud.managedkafka.v1.DeleteAclRequest` (message)
- `https://docs.cloud.google.com/managed-service-for-apache-kafka/docs/reference/rpc/google.cloud.managedkafka.v1#google.cloud.managedkafka.v1.DeleteClusterRequest` (message)
- `https://docs.cloud.google.com/managed-service-for-apache-kafka/docs/reference/rpc/google.cloud.managedkafka.v1#google.cloud.managedkafka.v1.DeleteConnectClusterRequest` (message)
- `https://docs.cloud.google.com/managed-service-for-apache-kafka/docs/reference/rpc/google.cloud.managedkafka.v1#google.cloud.managedkafka.v1.DeleteConnectorRequest` (message)
- `https://docs.cloud.google.com/managed-service-for-apache-kafka/docs/reference/rpc/google.cloud.managedkafka.v1#google.cloud.managedkafka.v1.DeleteConsumerGroupRequest` (message)
- `https://docs.cloud.google.com/managed-service-for-apache-kafka/docs/reference/rpc/google.cloud.managedkafka.v1#google.cloud.managedkafka.v1.DeleteTopicRequest` (message)
- `https://docs.cloud.google.com/managed-service-for-apache-kafka/docs/reference/rpc/google.cloud.managedkafka.v1#google.cloud.managedkafka.v1.GcpConfig` (message)
- `https://docs.cloud.google.com/managed-service-for-apache-kafka/docs/reference/rpc/google.cloud.managedkafka.v1#google.cloud.managedkafka.v1.GetAclRequest` (message)
- `https://docs.cloud.google.com/managed-service-for-apache-kafka/docs/reference/rpc/google.cloud.managedkafka.v1#google.cloud.managedkafka.v1.GetClusterRequest` (message)
- `https://docs.cloud.google.com/managed-service-for-apache-kafka/docs/reference/rpc/google.cloud.managedkafka.v1#google.cloud.managedkafka.v1.GetConnectClusterRequest` (message)
- `https://docs.cloud.google.com/managed-service-for-apache-kafka/docs/reference/rpc/google.cloud.managedkafka.v1#google.cloud.managedkafka.v1.GetConnectorRequest` (message)
- `https://docs.cloud.google.com/managed-service-for-apache-kafka/docs/reference/rpc/google.cloud.managedkafka.v1#google.cloud.managedkafka.v1.GetConsumerGroupRequest` (message)
- `https://docs.cloud.google.com/managed-service-for-apache-kafka/docs/reference/rpc/google.cloud.managedkafka.v1#google.cloud.managedkafka.v1.GetTopicRequest` (message)
- `https://docs.cloud.google.com/managed-service-for-apache-kafka/docs/reference/rpc/google.cloud.managedkafka.v1#google.cloud.managedkafka.v1.ListAclsRequest` (message)
- `https://docs.cloud.google.com/managed-service-for-apache-kafka/docs/reference/rpc/google.cloud.managedkafka.v1#google.cloud.managedkafka.v1.ListAclsResponse` (message)
- `https://docs.cloud.google.com/managed-service-for-apache-kafka/docs/reference/rpc/google.cloud.managedkafka.v1#google.cloud.managedkafka.v1.ListClustersRequest` (message)
- `https://docs.cloud.google.com/managed-service-for-apache-kafka/docs/reference/rpc/google.cloud.managedkafka.v1#google.cloud.managedkafka.v1.ListClustersResponse` (message)
- `https://docs.cloud.google.com/managed-service-for-apache-kafka/docs/reference/rpc/google.cloud.managedkafka.v1#google.cloud.managedkafka.v1.ListConnectClustersRequest` (message)
- `https://docs.cloud.google.com/managed-service-for-apache-kafka/docs/reference/rpc/google.cloud.managedkafka.v1#google.cloud.managedkafka.v1.ListConnectClustersResponse` (message)
- `https://docs.cloud.google.com/managed-service-for-apache-kafka/docs/reference/rpc/google.cloud.managedkafka.v1#google.cloud.managedkafka.v1.ListConnectorsRequest` (message)
- `https://docs.cloud.google.com/managed-service-for-apache-kafka/docs/reference/rpc/google.cloud.managedkafka.v1#google.cloud.managedkafka.v1.ListConnectorsResponse` (message)
- `https://docs.cloud.google.com/managed-service-for-apache-kafka/docs/reference/rpc/google.cloud.managedkafka.v1#google.cloud.managedkafka.v1.ListConsumerGroupsRequest` (message)
- `https://docs.cloud.google.com/managed-service-for-apache-kafka/docs/reference/rpc/google.cloud.managedkafka.v1#google.cloud.managedkafka.v1.ListConsumerGroupsResponse` (message)
- `https://docs.cloud.google.com/managed-service-for-apache-kafka/docs/reference/rpc/google.cloud.managedkafka.v1#google.cloud.managedkafka.v1.ListTopicsRequest` (message)
- `https://docs.cloud.google.com/managed-service-for-apache-kafka/docs/reference/rpc/google.cloud.managedkafka.v1#google.cloud.managedkafka.v1.ListTopicsResponse` (message)
- `https://docs.cloud.google.com/managed-service-for-apache-kafka/docs/reference/rpc/google.cloud.managedkafka.v1#google.cloud.managedkafka.v1.NetworkConfig` (message)
- `https://docs.cloud.google.com/managed-service-for-apache-kafka/docs/reference/rpc/google.cloud.managedkafka.v1#google.cloud.managedkafka.v1.OperationMetadata` (message)
- `https://docs.cloud.google.com/managed-service-for-apache-kafka/docs/reference/rpc/google.cloud.managedkafka.v1#google.cloud.managedkafka.v1.PauseConnectorRequest` (message)
- `https://docs.cloud.google.com/managed-service-for-apache-kafka/docs/reference/rpc/google.cloud.managedkafka.v1#google.cloud.managedkafka.v1.PauseConnectorResponse` (message)
- `https://docs.cloud.google.com/managed-service-for-apache-kafka/docs/reference/rpc/google.cloud.managedkafka.v1#google.cloud.managedkafka.v1.RebalanceConfig` (message)
- `https://docs.cloud.google.com/managed-service-for-apache-kafka/docs/reference/rpc/google.cloud.managedkafka.v1#google.cloud.managedkafka.v1.RebalanceConfig.Mode` (enum)
- `https://docs.cloud.google.com/managed-service-for-apache-kafka/docs/reference/rpc/google.cloud.managedkafka.v1#google.cloud.managedkafka.v1.RemoveAclEntryRequest` (message)
- `https://docs.cloud.google.com/managed-service-for-apache-kafka/docs/reference/rpc/google.cloud.managedkafka.v1#google.cloud.managedkafka.v1.RemoveAclEntryResponse` (message)
- `https://docs.cloud.google.com/managed-service-for-apache-kafka/docs/reference/rpc/google.cloud.managedkafka.v1#google.cloud.managedkafka.v1.RestartConnectorRequest` (message)
- `https://docs.cloud.google.com/managed-service-for-apache-kafka/docs/reference/rpc/google.cloud.managedkafka.v1#google.cloud.managedkafka.v1.RestartConnectorResponse` (message)
- `https://docs.cloud.google.com/managed-service-for-apache-kafka/docs/reference/rpc/google.cloud.managedkafka.v1#google.cloud.managedkafka.v1.ResumeConnectorRequest` (message)
- `https://docs.cloud.google.com/managed-service-for-apache-kafka/docs/reference/rpc/google.cloud.managedkafka.v1#google.cloud.managedkafka.v1.ResumeConnectorResponse` (message)
- `https://docs.cloud.google.com/managed-service-for-apache-kafka/docs/reference/rpc/google.cloud.managedkafka.v1#google.cloud.managedkafka.v1.StopConnectorRequest` (message)
- `https://docs.cloud.google.com/managed-service-for-apache-kafka/docs/reference/rpc/google.cloud.managedkafka.v1#google.cloud.managedkafka.v1.StopConnectorResponse` (message)
- `https://docs.cloud.google.com/managed-service-for-apache-kafka/docs/reference/rpc/google.cloud.managedkafka.v1#google.cloud.managedkafka.v1.TaskRetryPolicy` (message)
- `https://docs.cloud.google.com/managed-service-for-apache-kafka/docs/reference/rpc/google.cloud.managedkafka.v1#google.cloud.managedkafka.v1.Topic` (message)
- `https://docs.cloud.google.com/managed-service-for-apache-kafka/docs/reference/rpc/google.cloud.managedkafka.v1#google.cloud.managedkafka.v1.UpdateAclRequest` (message)
- `https://docs.cloud.google.com/managed-service-for-apache-kafka/docs/reference/rpc/google.cloud.managedkafka.v1#google.cloud.managedkafka.v1.UpdateClusterRequest` (message)
- `https://docs.cloud.google.com/managed-service-for-apache-kafka/docs/reference/rpc/google.cloud.managedkafka.v1#google.cloud.managedkafka.v1.UpdateConnectClusterRequest` (message)
- `https://docs.cloud.google.com/managed-service-for-apache-kafka/docs/reference/rpc/google.cloud.managedkafka.v1#google.cloud.managedkafka.v1.UpdateConnectorRequest` (message)
- `https://docs.cloud.google.com/managed-service-for-apache-kafka/docs/reference/rpc/google.cloud.managedkafka.v1#google.cloud.managedkafka.v1.UpdateConsumerGroupRequest` (message)
- `https://docs.cloud.google.com/managed-service-for-apache-kafka/docs/reference/rpc/google.cloud.managedkafka.v1#google.cloud.managedkafka.v1.UpdateOptions` (message)
- `https://docs.cloud.google.com/managed-service-for-apache-kafka/docs/reference/rpc/google.cloud.managedkafka.v1#google.cloud.managedkafka.v1.UpdateTopicRequest` (message)

## ManagedKafka

The service that a client application uses to manage Apache Kafka clusters, topics and consumer groups.

| AddAclEntry |
|---|
| `` rpc AddAclEntry(`https://docs.cloud.google.com/managed-service-for-apache-kafka/docs/reference/rpc/google.cloud.managedkafka.v1#google.cloud.managedkafka.v1.AddAclEntryRequest`) returns (`https://docs.cloud.google.com/managed-service-for-apache-kafka/docs/reference/rpc/google.cloud.managedkafka.v1#google.cloud.managedkafka.v1.AddAclEntryResponse`) `` Incremental update: Adds an acl entry to an acl. Creates the acl if it does not exist yet. Authorization scopes :   Requires the following OAuth scope: - `https://www.googleapis.com/auth/cloud-platform` For more information, see the [Authentication Overview](https://docs.cloud.google.com/docs/authentication#authorization-gcp). |

| CreateAcl |
|---|
| `` rpc CreateAcl(`https://docs.cloud.google.com/managed-service-for-apache-kafka/docs/reference/rpc/google.cloud.managedkafka.v1#google.cloud.managedkafka.v1.CreateAclRequest`) returns (`https://docs.cloud.google.com/managed-service-for-apache-kafka/docs/reference/rpc/google.cloud.managedkafka.v1#google.cloud.managedkafka.v1.Acl`) `` Creates a new acl in the given project, location, and cluster. Authorization scopes :   Requires the following OAuth scope: - `https://www.googleapis.com/auth/cloud-platform` For more information, see the [Authentication Overview](https://docs.cloud.google.com/docs/authentication#authorization-gcp). |

| CreateCluster |
|---|
| `` rpc CreateCluster(`https://docs.cloud.google.com/managed-service-for-apache-kafka/docs/reference/rpc/google.cloud.managedkafka.v1#google.cloud.managedkafka.v1.CreateClusterRequest`) returns (`https://docs.cloud.google.com/managed-service-for-apache-kafka/docs/reference/rpc/google.longrunning#google.longrunning.Operation`) `` Creates a new cluster in a given project and location. Authorization scopes :   Requires the following OAuth scope: - `https://www.googleapis.com/auth/cloud-platform` For more information, see the [Authentication Overview](https://docs.cloud.google.com/docs/authentication#authorization-gcp). IAM Permissions :   Requires the following [IAM](https://cloud.google.com/iam/docs) permission on the `parent` resource: - `managedkafka.clusters.create` For more information, see the [IAM documentation](https://cloud.google.com/iam/docs). |

| CreateTopic |
|---|
| `` rpc CreateTopic(`https://docs.cloud.google.com/managed-service-for-apache-kafka/docs/reference/rpc/google.cloud.managedkafka.v1#google.cloud.managedkafka.v1.CreateTopicRequest`) returns (`https://docs.cloud.google.com/managed-service-for-apache-kafka/docs/reference/rpc/google.cloud.managedkafka.v1#google.cloud.managedkafka.v1.Topic`) `` Creates a new topic in a given project and location. Authorization scopes :   Requires the following OAuth scope: - `https://www.googleapis.com/auth/cloud-platform` For more information, see the [Authentication Overview](https://docs.cloud.google.com/docs/authentication#authorization-gcp). IAM Permissions :   Requires the following [IAM](https://cloud.google.com/iam/docs) permission on the `parent` resource: - `managedkafka.topics.create` For more information, see the [IAM documentation](https://cloud.google.com/iam/docs). |

| DeleteAcl |
|---|
| `` rpc DeleteAcl(`https://docs.cloud.google.com/managed-service-for-apache-kafka/docs/reference/rpc/google.cloud.managedkafka.v1#google.cloud.managedkafka.v1.DeleteAclRequest`) returns (`https://protobuf.dev/reference/protobuf/google.protobuf#empty`) `` Deletes an acl. Authorization scopes :   Requires the following OAuth scope: - `https://www.googleapis.com/auth/cloud-platform` For more information, see the [Authentication Overview](https://docs.cloud.google.com/docs/authentication#authorization-gcp). |

| DeleteCluster |
|---|
| `` rpc DeleteCluster(`https://docs.cloud.google.com/managed-service-for-apache-kafka/docs/reference/rpc/google.cloud.managedkafka.v1#google.cloud.managedkafka.v1.DeleteClusterRequest`) returns (`https://docs.cloud.google.com/managed-service-for-apache-kafka/docs/reference/rpc/google.longrunning#google.longrunning.Operation`) `` Deletes a single cluster. Authorization scopes :   Requires the following OAuth scope: - `https://www.googleapis.com/auth/cloud-platform` For more information, see the [Authentication Overview](https://docs.cloud.google.com/docs/authentication#authorization-gcp). IAM Permissions :   Requires the following [IAM](https://cloud.google.com/iam/docs) permission on the `name` resource: - `managedkafka.clusters.delete` For more information, see the [IAM documentation](https://cloud.google.com/iam/docs). |

| DeleteConsumerGroup |
|---|
| `` rpc DeleteConsumerGroup(`https://docs.cloud.google.com/managed-service-for-apache-kafka/docs/reference/rpc/google.cloud.managedkafka.v1#google.cloud.managedkafka.v1.DeleteConsumerGroupRequest`) returns (`https://protobuf.dev/reference/protobuf/google.protobuf#empty`) `` Deletes a single consumer group. Authorization scopes :   Requires the following OAuth scope: - `https://www.googleapis.com/auth/cloud-platform` For more information, see the [Authentication Overview](https://docs.cloud.google.com/docs/authentication#authorization-gcp). IAM Permissions :   Requires the following [IAM](https://cloud.google.com/iam/docs) permission on the `name` resource: - `managedkafka.consumerGroups.delete` For more information, see the [IAM documentation](https://cloud.google.com/iam/docs). |

| DeleteTopic |
|---|
| `` rpc DeleteTopic(`https://docs.cloud.google.com/managed-service-for-apache-kafka/docs/reference/rpc/google.cloud.managedkafka.v1#google.cloud.managedkafka.v1.DeleteTopicRequest`) returns (`https://protobuf.dev/reference/protobuf/google.protobuf#empty`) `` Deletes a single topic. Authorization scopes :   Requires the following OAuth scope: - `https://www.googleapis.com/auth/cloud-platform` For more information, see the [Authentication Overview](https://docs.cloud.google.com/docs/authentication#authorization-gcp). IAM Permissions :   Requires the following [IAM](https://cloud.google.com/iam/docs) permission on the `name` resource: - `managedkafka.topics.delete` For more information, see the [IAM documentation](https://cloud.google.com/iam/docs). |

| GetAcl |
|---|
| `` rpc GetAcl(`https://docs.cloud.google.com/managed-service-for-apache-kafka/docs/reference/rpc/google.cloud.managedkafka.v1#google.cloud.managedkafka.v1.GetAclRequest`) returns (`https://docs.cloud.google.com/managed-service-for-apache-kafka/docs/reference/rpc/google.cloud.managedkafka.v1#google.cloud.managedkafka.v1.Acl`) `` Returns the properties of a single acl. Authorization scopes :   Requires the following OAuth scope: - `https://www.googleapis.com/auth/cloud-platform` For more information, see the [Authentication Overview](https://docs.cloud.google.com/docs/authentication#authorization-gcp). |

| GetCluster |
|---|
| `` rpc GetCluster(`https://docs.cloud.google.com/managed-service-for-apache-kafka/docs/reference/rpc/google.cloud.managedkafka.v1#google.cloud.managedkafka.v1.GetClusterRequest`) returns (`https://docs.cloud.google.com/managed-service-for-apache-kafka/docs/reference/rpc/google.cloud.managedkafka.v1#google.cloud.managedkafka.v1.Cluster`) `` Returns the properties of a single cluster. Authorization scopes :   Requires the following OAuth scope: - `https://www.googleapis.com/auth/cloud-platform` For more information, see the [Authentication Overview](https://docs.cloud.google.com/docs/authentication#authorization-gcp). IAM Permissions :   Requires the following [IAM](https://cloud.google.com/iam/docs) permission on the `name` resource: - `managedkafka.clusters.get` For more information, see the [IAM documentation](https://cloud.google.com/iam/docs). |

| GetConsumerGroup |
|---|
| `` rpc GetConsumerGroup(`https://docs.cloud.google.com/managed-service-for-apache-kafka/docs/reference/rpc/google.cloud.managedkafka.v1#google.cloud.managedkafka.v1.GetConsumerGroupRequest`) returns (`https://docs.cloud.google.com/managed-service-for-apache-kafka/docs/reference/rpc/google.cloud.managedkafka.v1#google.cloud.managedkafka.v1.ConsumerGroup`) `` Returns the properties of a single consumer group. Authorization scopes :   Requires the following OAuth scope: - `https://www.googleapis.com/auth/cloud-platform` For more information, see the [Authentication Overview](https://docs.cloud.google.com/docs/authentication#authorization-gcp). IAM Permissions :   Requires the following [IAM](https://cloud.google.com/iam/docs) permission on the `name` resource: - `managedkafka.consumerGroups.get` For more information, see the [IAM documentation](https://cloud.google.com/iam/docs). |

| GetTopic |
|---|
| `` rpc GetTopic(`https://docs.cloud.google.com/managed-service-for-apache-kafka/docs/reference/rpc/google.cloud.managedkafka.v1#google.cloud.managedkafka.v1.GetTopicRequest`) returns (`https://docs.cloud.google.com/managed-service-for-apache-kafka/docs/reference/rpc/google.cloud.managedkafka.v1#google.cloud.managedkafka.v1.Topic`) `` Returns the properties of a single topic. Authorization scopes :   Requires the following OAuth scope: - `https://www.googleapis.com/auth/cloud-platform` For more information, see the [Authentication Overview](https://docs.cloud.google.com/docs/authentication#authorization-gcp). IAM Permissions :   Requires the following [IAM](https://cloud.google.com/iam/docs) permission on the `name` resource: - `managedkafka.topics.get` For more information, see the [IAM documentation](https://cloud.google.com/iam/docs). |

| ListAcls |
|---|
| `` rpc ListAcls(`https://docs.cloud.google.com/managed-service-for-apache-kafka/docs/reference/rpc/google.cloud.managedkafka.v1#google.cloud.managedkafka.v1.ListAclsRequest`) returns (`https://docs.cloud.google.com/managed-service-for-apache-kafka/docs/reference/rpc/google.cloud.managedkafka.v1#google.cloud.managedkafka.v1.ListAclsResponse`) `` Lists the acls in a given cluster. Authorization scopes :   Requires the following OAuth scope: - `https://www.googleapis.com/auth/cloud-platform` For more information, see the [Authentication Overview](https://docs.cloud.google.com/docs/authentication#authorization-gcp). |

| ListClusters |
|---|
| `` rpc ListClusters(`https://docs.cloud.google.com/managed-service-for-apache-kafka/docs/reference/rpc/google.cloud.managedkafka.v1#google.cloud.managedkafka.v1.ListClustersRequest`) returns (`https://docs.cloud.google.com/managed-service-for-apache-kafka/docs/reference/rpc/google.cloud.managedkafka.v1#google.cloud.managedkafka.v1.ListClustersResponse`) `` Lists the clusters in a given project and location. Authorization scopes :   Requires the following OAuth scope: - `https://www.googleapis.com/auth/cloud-platform` For more information, see the [Authentication Overview](https://docs.cloud.google.com/docs/authentication#authorization-gcp). IAM Permissions :   Requires the following [IAM](https://cloud.google.com/iam/docs) permission on the `parent` resource: - `managedkafka.clusters.list` For more information, see the [IAM documentation](https://cloud.google.com/iam/docs). |

| ListConsumerGroups |
|---|
| `` rpc ListConsumerGroups(`https://docs.cloud.google.com/managed-service-for-apache-kafka/docs/reference/rpc/google.cloud.managedkafka.v1#google.cloud.managedkafka.v1.ListConsumerGroupsRequest`) returns (`https://docs.cloud.google.com/managed-service-for-apache-kafka/docs/reference/rpc/google.cloud.managedkafka.v1#google.cloud.managedkafka.v1.ListConsumerGroupsResponse`) `` Lists the consumer groups in a given cluster. Authorization scopes :   Requires the following OAuth scope: - `https://www.googleapis.com/auth/cloud-platform` For more information, see the [Authentication Overview](https://docs.cloud.google.com/docs/authentication#authorization-gcp). IAM Permissions :   Requires the following [IAM](https://cloud.google.com/iam/docs) permission on the `parent` resource: - `managedkafka.consumerGroups.list` For more information, see the [IAM documentation](https://cloud.google.com/iam/docs). |

| ListTopics |
|---|
| `` rpc ListTopics(`https://docs.cloud.google.com/managed-service-for-apache-kafka/docs/reference/rpc/google.cloud.managedkafka.v1#google.cloud.managedkafka.v1.ListTopicsRequest`) returns (`https://docs.cloud.google.com/managed-service-for-apache-kafka/docs/reference/rpc/google.cloud.managedkafka.v1#google.cloud.managedkafka.v1.ListTopicsResponse`) `` Lists the topics in a given cluster. Authorization scopes :   Requires the following OAuth scope: - `https://www.googleapis.com/auth/cloud-platform` For more information, see the [Authentication Overview](https://docs.cloud.google.com/docs/authentication#authorization-gcp). IAM Permissions :   Requires the following [IAM](https://cloud.google.com/iam/docs) permission on the `parent` resource: - `managedkafka.topics.list` For more information, see the [IAM documentation](https://cloud.google.com/iam/docs). |

| RemoveAclEntry |
|---|
| `` rpc RemoveAclEntry(`https://docs.cloud.google.com/managed-service-for-apache-kafka/docs/reference/rpc/google.cloud.managedkafka.v1#google.cloud.managedkafka.v1.RemoveAclEntryRequest`) returns (`https://docs.cloud.google.com/managed-service-for-apache-kafka/docs/reference/rpc/google.cloud.managedkafka.v1#google.cloud.managedkafka.v1.RemoveAclEntryResponse`) `` 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). Authorization scopes :   Requires the following OAuth scope: - `https://www.googleapis.com/auth/cloud-platform` For more information, see the [Authentication Overview](https://docs.cloud.google.com/docs/authentication#authorization-gcp). |

| UpdateAcl |
|---|
| `` rpc UpdateAcl(`https://docs.cloud.google.com/managed-service-for-apache-kafka/docs/reference/rpc/google.cloud.managedkafka.v1#google.cloud.managedkafka.v1.UpdateAclRequest`) returns (`https://docs.cloud.google.com/managed-service-for-apache-kafka/docs/reference/rpc/google.cloud.managedkafka.v1#google.cloud.managedkafka.v1.Acl`) `` Updates the properties of a single acl. Authorization scopes :   Requires the following OAuth scope: - `https://www.googleapis.com/auth/cloud-platform` For more information, see the [Authentication Overview](https://docs.cloud.google.com/docs/authentication#authorization-gcp). |

| UpdateCluster |
|---|
| `` rpc UpdateCluster(`https://docs.cloud.google.com/managed-service-for-apache-kafka/docs/reference/rpc/google.cloud.managedkafka.v1#google.cloud.managedkafka.v1.UpdateClusterRequest`) returns (`https://docs.cloud.google.com/managed-service-for-apache-kafka/docs/reference/rpc/google.longrunning#google.longrunning.Operation`) `` Updates the properties of a single cluster. Authorization scopes :   Requires the following OAuth scope: - `https://www.googleapis.com/auth/cloud-platform` For more information, see the [Authentication Overview](https://docs.cloud.google.com/docs/authentication#authorization-gcp). IAM Permissions :   Requires the following [IAM](https://cloud.google.com/iam/docs) permission on the `name` resource: - `managedkafka.clusters.update` For more information, see the [IAM documentation](https://cloud.google.com/iam/docs). |

| UpdateConsumerGroup |
|---|
| `` rpc UpdateConsumerGroup(`https://docs.cloud.google.com/managed-service-for-apache-kafka/docs/reference/rpc/google.cloud.managedkafka.v1#google.cloud.managedkafka.v1.UpdateConsumerGroupRequest`) returns (`https://docs.cloud.google.com/managed-service-for-apache-kafka/docs/reference/rpc/google.cloud.managedkafka.v1#google.cloud.managedkafka.v1.ConsumerGroup`) `` Updates the properties of a single consumer group. Authorization scopes :   Requires the following OAuth scope: - `https://www.googleapis.com/auth/cloud-platform` For more information, see the [Authentication Overview](https://docs.cloud.google.com/docs/authentication#authorization-gcp). IAM Permissions :   Requires the following [IAM](https://cloud.google.com/iam/docs) permission on the `name` resource: - `managedkafka.consumerGroups.update` For more information, see the [IAM documentation](https://cloud.google.com/iam/docs). |

| UpdateTopic |
|---|
| `` rpc UpdateTopic(`https://docs.cloud.google.com/managed-service-for-apache-kafka/docs/reference/rpc/google.cloud.managedkafka.v1#google.cloud.managedkafka.v1.UpdateTopicRequest`) returns (`https://docs.cloud.google.com/managed-service-for-apache-kafka/docs/reference/rpc/google.cloud.managedkafka.v1#google.cloud.managedkafka.v1.Topic`) `` Updates the properties of a single topic. Authorization scopes :   Requires the following OAuth scope: - `https://www.googleapis.com/auth/cloud-platform` For more information, see the [Authentication Overview](https://docs.cloud.google.com/docs/authentication#authorization-gcp). IAM Permissions :   Requires the following [IAM](https://cloud.google.com/iam/docs) permission on the `name` resource: - `managedkafka.topics.update` For more information, see the [IAM documentation](https://cloud.google.com/iam/docs). |

## ManagedKafkaConnect

The service that a client application uses to manage Apache Kafka Connect clusters and connectors.

| CreateConnectCluster |
|---|
| `` rpc CreateConnectCluster(`https://docs.cloud.google.com/managed-service-for-apache-kafka/docs/reference/rpc/google.cloud.managedkafka.v1#google.cloud.managedkafka.v1.CreateConnectClusterRequest`) returns (`https://docs.cloud.google.com/managed-service-for-apache-kafka/docs/reference/rpc/google.longrunning#google.longrunning.Operation`) `` Creates a new Kafka Connect cluster in a given project and location. Authorization scopes :   Requires the following OAuth scope: - `https://www.googleapis.com/auth/cloud-platform` For more information, see the [Authentication Overview](https://docs.cloud.google.com/docs/authentication#authorization-gcp). IAM Permissions :   Requires the following [IAM](https://cloud.google.com/iam/docs) permission on the `kafkaCluster` resource: - `managedkafka.clusters.attachConnectCluster` Requires the following [IAM](https://cloud.google.com/iam/docs) permission on the `parent` resource: - `managedkafka.connectClusters.create` For more information, see the [IAM documentation](https://cloud.google.com/iam/docs). |

| CreateConnector |
|---|
| `` rpc CreateConnector(`https://docs.cloud.google.com/managed-service-for-apache-kafka/docs/reference/rpc/google.cloud.managedkafka.v1#google.cloud.managedkafka.v1.CreateConnectorRequest`) returns (`https://docs.cloud.google.com/managed-service-for-apache-kafka/docs/reference/rpc/google.cloud.managedkafka.v1#google.cloud.managedkafka.v1.Connector`) `` Creates a new connector in a given Connect cluster. Authorization scopes :   Requires the following OAuth scope: - `https://www.googleapis.com/auth/cloud-platform` For more information, see the [Authentication Overview](https://docs.cloud.google.com/docs/authentication#authorization-gcp). IAM Permissions :   Requires the following [IAM](https://cloud.google.com/iam/docs) permission on the `parent` resource: - `managedkafka.connectors.create` For more information, see the [IAM documentation](https://cloud.google.com/iam/docs). |

| DeleteConnectCluster |
|---|
| `` rpc DeleteConnectCluster(`https://docs.cloud.google.com/managed-service-for-apache-kafka/docs/reference/rpc/google.cloud.managedkafka.v1#google.cloud.managedkafka.v1.DeleteConnectClusterRequest`) returns (`https://docs.cloud.google.com/managed-service-for-apache-kafka/docs/reference/rpc/google.longrunning#google.longrunning.Operation`) `` Deletes a single Connect cluster. Authorization scopes :   Requires the following OAuth scope: - `https://www.googleapis.com/auth/cloud-platform` For more information, see the [Authentication Overview](https://docs.cloud.google.com/docs/authentication#authorization-gcp). IAM Permissions :   Requires the following [IAM](https://cloud.google.com/iam/docs) permission on the `name` resource: - `managedkafka.connectClusters.delete` For more information, see the [IAM documentation](https://cloud.google.com/iam/docs). |

| DeleteConnector |
|---|
| `` rpc DeleteConnector(`https://docs.cloud.google.com/managed-service-for-apache-kafka/docs/reference/rpc/google.cloud.managedkafka.v1#google.cloud.managedkafka.v1.DeleteConnectorRequest`) returns (`https://protobuf.dev/reference/protobuf/google.protobuf#empty`) `` Deletes a connector. Authorization scopes :   Requires the following OAuth scope: - `https://www.googleapis.com/auth/cloud-platform` For more information, see the [Authentication Overview](https://docs.cloud.google.com/docs/authentication#authorization-gcp). IAM Permissions :   Requires the following [IAM](https://cloud.google.com/iam/docs) permission on the `name` resource: - `managedkafka.connectors.delete` For more information, see the [IAM documentation](https://cloud.google.com/iam/docs). |

| GetConnectCluster |
|---|
| `` rpc GetConnectCluster(`https://docs.cloud.google.com/managed-service-for-apache-kafka/docs/reference/rpc/google.cloud.managedkafka.v1#google.cloud.managedkafka.v1.GetConnectClusterRequest`) returns (`https://docs.cloud.google.com/managed-service-for-apache-kafka/docs/reference/rpc/google.cloud.managedkafka.v1#google.cloud.managedkafka.v1.ConnectCluster`) `` Returns the properties of a single Kafka Connect cluster. Authorization scopes :   Requires the following OAuth scope: - `https://www.googleapis.com/auth/cloud-platform` For more information, see the [Authentication Overview](https://docs.cloud.google.com/docs/authentication#authorization-gcp). IAM Permissions :   Requires the following [IAM](https://cloud.google.com/iam/docs) permission on the `name` resource: - `managedkafka.connectClusters.get` For more information, see the [IAM documentation](https://cloud.google.com/iam/docs). |

| GetConnector |
|---|
| `` rpc GetConnector(`https://docs.cloud.google.com/managed-service-for-apache-kafka/docs/reference/rpc/google.cloud.managedkafka.v1#google.cloud.managedkafka.v1.GetConnectorRequest`) returns (`https://docs.cloud.google.com/managed-service-for-apache-kafka/docs/reference/rpc/google.cloud.managedkafka.v1#google.cloud.managedkafka.v1.Connector`) `` Returns the properties of a single connector. Authorization scopes :   Requires the following OAuth scope: - `https://www.googleapis.com/auth/cloud-platform` For more information, see the [Authentication Overview](https://docs.cloud.google.com/docs/authentication#authorization-gcp). IAM Permissions :   Requires the following [IAM](https://cloud.google.com/iam/docs) permission on the `name` resource: - `managedkafka.connectors.get` For more information, see the [IAM documentation](https://cloud.google.com/iam/docs). |

| ListConnectClusters |
|---|
| `` rpc ListConnectClusters(`https://docs.cloud.google.com/managed-service-for-apache-kafka/docs/reference/rpc/google.cloud.managedkafka.v1#google.cloud.managedkafka.v1.ListConnectClustersRequest`) returns (`https://docs.cloud.google.com/managed-service-for-apache-kafka/docs/reference/rpc/google.cloud.managedkafka.v1#google.cloud.managedkafka.v1.ListConnectClustersResponse`) `` Lists the Kafka Connect clusters in a given project and location. Authorization scopes :   Requires the following OAuth scope: - `https://www.googleapis.com/auth/cloud-platform` For more information, see the [Authentication Overview](https://docs.cloud.google.com/docs/authentication#authorization-gcp). IAM Permissions :   Requires the following [IAM](https://cloud.google.com/iam/docs) permission on the `parent` resource: - `managedkafka.connectClusters.list` For more information, see the [IAM documentation](https://cloud.google.com/iam/docs). |

| ListConnectors |
|---|
| `` rpc ListConnectors(`https://docs.cloud.google.com/managed-service-for-apache-kafka/docs/reference/rpc/google.cloud.managedkafka.v1#google.cloud.managedkafka.v1.ListConnectorsRequest`) returns (`https://docs.cloud.google.com/managed-service-for-apache-kafka/docs/reference/rpc/google.cloud.managedkafka.v1#google.cloud.managedkafka.v1.ListConnectorsResponse`) `` Lists the connectors in a given Connect cluster. Authorization scopes :   Requires the following OAuth scope: - `https://www.googleapis.com/auth/cloud-platform` For more information, see the [Authentication Overview](https://docs.cloud.google.com/docs/authentication#authorization-gcp). IAM Permissions :   Requires the following [IAM](https://cloud.google.com/iam/docs) permission on the `parent` resource: - `managedkafka.connectors.list` For more information, see the [IAM documentation](https://cloud.google.com/iam/docs). |

| PauseConnector |
|---|
| `` rpc PauseConnector(`https://docs.cloud.google.com/managed-service-for-apache-kafka/docs/reference/rpc/google.cloud.managedkafka.v1#google.cloud.managedkafka.v1.PauseConnectorRequest`) returns (`https://docs.cloud.google.com/managed-service-for-apache-kafka/docs/reference/rpc/google.cloud.managedkafka.v1#google.cloud.managedkafka.v1.PauseConnectorResponse`) `` Pauses the connector and its tasks. Authorization scopes :   Requires the following OAuth scope: - `https://www.googleapis.com/auth/cloud-platform` For more information, see the [Authentication Overview](https://docs.cloud.google.com/docs/authentication#authorization-gcp). IAM Permissions :   Requires the following [IAM](https://cloud.google.com/iam/docs) permission on the `name` resource: - `managedkafka.connectors.pause` For more information, see the [IAM documentation](https://cloud.google.com/iam/docs). |

| RestartConnector |
|---|
| `` rpc RestartConnector(`https://docs.cloud.google.com/managed-service-for-apache-kafka/docs/reference/rpc/google.cloud.managedkafka.v1#google.cloud.managedkafka.v1.RestartConnectorRequest`) returns (`https://docs.cloud.google.com/managed-service-for-apache-kafka/docs/reference/rpc/google.cloud.managedkafka.v1#google.cloud.managedkafka.v1.RestartConnectorResponse`) `` Restarts the connector. Authorization scopes :   Requires the following OAuth scope: - `https://www.googleapis.com/auth/cloud-platform` For more information, see the [Authentication Overview](https://docs.cloud.google.com/docs/authentication#authorization-gcp). IAM Permissions :   Requires the following [IAM](https://cloud.google.com/iam/docs) permission on the `name` resource: - `managedkafka.connectors.restart` For more information, see the [IAM documentation](https://cloud.google.com/iam/docs). |

| ResumeConnector |
|---|
| `` rpc ResumeConnector(`https://docs.cloud.google.com/managed-service-for-apache-kafka/docs/reference/rpc/google.cloud.managedkafka.v1#google.cloud.managedkafka.v1.ResumeConnectorRequest`) returns (`https://docs.cloud.google.com/managed-service-for-apache-kafka/docs/reference/rpc/google.cloud.managedkafka.v1#google.cloud.managedkafka.v1.ResumeConnectorResponse`) `` Resumes the connector and its tasks. Authorization scopes :   Requires the following OAuth scope: - `https://www.googleapis.com/auth/cloud-platform` For more information, see the [Authentication Overview](https://docs.cloud.google.com/docs/authentication#authorization-gcp). IAM Permissions :   Requires the following [IAM](https://cloud.google.com/iam/docs) permission on the `name` resource: - `managedkafka.connectors.resume` For more information, see the [IAM documentation](https://cloud.google.com/iam/docs). |

| StopConnector |
|---|
| `` rpc StopConnector(`https://docs.cloud.google.com/managed-service-for-apache-kafka/docs/reference/rpc/google.cloud.managedkafka.v1#google.cloud.managedkafka.v1.StopConnectorRequest`) returns (`https://docs.cloud.google.com/managed-service-for-apache-kafka/docs/reference/rpc/google.cloud.managedkafka.v1#google.cloud.managedkafka.v1.StopConnectorResponse`) `` Stops the connector. Authorization scopes :   Requires the following OAuth scope: - `https://www.googleapis.com/auth/cloud-platform` For more information, see the [Authentication Overview](https://docs.cloud.google.com/docs/authentication#authorization-gcp). IAM Permissions :   Requires the following [IAM](https://cloud.google.com/iam/docs) permission on the `name` resource: - `managedkafka.connectors.stop` For more information, see the [IAM documentation](https://cloud.google.com/iam/docs). |

| UpdateConnectCluster |
|---|
| `` rpc UpdateConnectCluster(`https://docs.cloud.google.com/managed-service-for-apache-kafka/docs/reference/rpc/google.cloud.managedkafka.v1#google.cloud.managedkafka.v1.UpdateConnectClusterRequest`) returns (`https://docs.cloud.google.com/managed-service-for-apache-kafka/docs/reference/rpc/google.longrunning#google.longrunning.Operation`) `` Updates the properties of a single Kafka Connect cluster. Authorization scopes :   Requires the following OAuth scope: - `https://www.googleapis.com/auth/cloud-platform` For more information, see the [Authentication Overview](https://docs.cloud.google.com/docs/authentication#authorization-gcp). IAM Permissions :   Requires the following [IAM](https://cloud.google.com/iam/docs) permission on the `name` resource: - `managedkafka.connectClusters.update` For more information, see the [IAM documentation](https://cloud.google.com/iam/docs). |

| UpdateConnector |
|---|
| `` rpc UpdateConnector(`https://docs.cloud.google.com/managed-service-for-apache-kafka/docs/reference/rpc/google.cloud.managedkafka.v1#google.cloud.managedkafka.v1.UpdateConnectorRequest`) returns (`https://docs.cloud.google.com/managed-service-for-apache-kafka/docs/reference/rpc/google.cloud.managedkafka.v1#google.cloud.managedkafka.v1.Connector`) `` Updates the properties of a connector. Authorization scopes :   Requires the following OAuth scope: - `https://www.googleapis.com/auth/cloud-platform` For more information, see the [Authentication Overview](https://docs.cloud.google.com/docs/authentication#authorization-gcp). IAM Permissions :   Requires the following [IAM](https://cloud.google.com/iam/docs) permission on the `name` resource: - `managedkafka.connectors.update` For more information, see the [IAM documentation](https://cloud.google.com/iam/docs). |

## AccessConfig

The configuration of access to the Kafka cluster.

| Fields ||
|---|---|
| `network_configs[]` | `https://docs.cloud.google.com/managed-service-for-apache-kafka/docs/reference/rpc/google.cloud.managedkafka.v1#google.cloud.managedkafka.v1.NetworkConfig` Required. Virtual Private Cloud (VPC) networks that must be granted direct access to the Kafka cluster. Minimum of 1 network is required. Maximum 10 networks can be specified. |

## Acl

Represents the set of ACLs for a given Kafka Resource Pattern, which consists of resource_type, resource_name and pattern_type.

| Fields ||
|---|---|
| `name` | `string` Identifier. The name for the acl. Represents a single Resource Pattern. Structured like: projects/{project}/locations/{location}/clusters/{cluster}/acls/{acl_id} The structure of `acl_id` defines the Resource Pattern (resource_type, resource_name, pattern_type) of the acl. `acl_id` is structured like one of the following: For acls on the cluster: `cluster` For acls on a single resource within the cluster: `topic/{resource_name}` `consumerGroup/{resource_name}` `transactionalId/{resource_name}` For acls on all resources that match a prefix: `topicPrefixed/{resource_name}` `consumerGroupPrefixed/{resource_name}` `transactionalIdPrefixed/{resource_name}` For acls on all resources of a given type (i.e. the wildcard literal "\*"): `allTopics` (represents `topic/*`) `allConsumerGroups` (represents `consumerGroup/*`) `allTransactionalIds` (represents `transactionalId/*`) |
| `acl_entries[]` | `https://docs.cloud.google.com/managed-service-for-apache-kafka/docs/reference/rpc/google.cloud.managedkafka.v1#google.cloud.managedkafka.v1.AclEntry` Required. The ACL entries that apply to the resource pattern. The maximum number of allowed entries 100. |
| `etag` | `string` Optional. `etag` is used for concurrency control. An `etag` is returned in the response to `GetAcl` and `CreateAcl`. Callers are required to put that etag in the request to `UpdateAcl` to ensure that their change will be applied to the same version of the acl that exists in the Kafka Cluster. A terminal 'T' character in the etag indicates that the AclEntries were truncated; more entries for the Acl exist on the Kafka Cluster, but can't be returned in the Acl due to repeated field limits. |
| `resource_type` | `string` Output only. The ACL resource type derived from the name. One of: CLUSTER, TOPIC, GROUP, TRANSACTIONAL_ID. |
| `resource_name` | `string` Output only. The ACL resource name derived from the name. For cluster resource_type, this is always "kafka-cluster". Can be the wildcard literal "\*". |
| `pattern_type` | `string` Output only. The ACL pattern type derived from the name. One of: LITERAL, PREFIXED. |

## AclEntry

Represents the access granted for a given Resource Pattern in an ACL.

| Fields ||
|---|---|
| `principal` | `string` Required. The principal. Specified as Google Cloud account, with the Kafka StandardAuthorizer prefix "User:". For example: "User:[test-kafka-client@test-project.iam.gserviceaccount.com"](mailto:test-kafka-client@test-project.iam.gserviceaccount.com"). Can be the wildcard "User:\*" to refer to all users. |
| `permission_type` | `string` Required. The permission type. Accepted values are (case insensitive): ALLOW, DENY. |
| `operation` | `string` Required. The operation type. Allowed values are (case insensitive): ALL, READ, WRITE, CREATE, DELETE, ALTER, DESCRIBE, CLUSTER_ACTION, DESCRIBE_CONFIGS, ALTER_CONFIGS, and IDEMPOTENT_WRITE. See <https://kafka.apache.org/documentation/#operations_resources_and_protocols> for valid combinations of resource_type and operation for different Kafka API requests. |
| `host` | `string` Required. The host. Must be set to "\*" for Managed Service for Apache Kafka. |

## AddAclEntryRequest

Request for AddAclEntry.

| Fields ||
|---|---|
| `acl` | `string` Required. The name of the acl to add the acl entry to. Structured like: `projects/{project}/locations/{location}/clusters/{cluster}/acls/{acl_id}`. The structure of `acl_id` defines the Resource Pattern (resource_type, resource_name, pattern_type) of the acl. See `Acl.name` for details. |
| `acl_entry` | `https://docs.cloud.google.com/managed-service-for-apache-kafka/docs/reference/rpc/google.cloud.managedkafka.v1#google.cloud.managedkafka.v1.AclEntry` Required. The acl entry to add. |

## AddAclEntryResponse

Response for AddAclEntry.

| Fields ||
|---|---|
| `acl` | `https://docs.cloud.google.com/managed-service-for-apache-kafka/docs/reference/rpc/google.cloud.managedkafka.v1#google.cloud.managedkafka.v1.Acl` The updated acl. |
| `acl_created` | `bool` Whether the acl was created as a result of adding the acl entry. |

## BrokerDetails

Details of a broker in the Kafka cluster.

| Fields ||
|---|---|
| `rack` | `string` Output only. The rack of the broker. |
| `broker_index` | `int64` Output only. The index of the broker. |
| `node_id` | `int64` Output only. The node id of the broker. |

## CapacityConfig

A capacity configuration of a Kafka cluster.

| Fields ||
|---|---|
| `vcpu_count` | `int64` Required. The number of vCPUs to provision for the cluster. Minimum: 3. |
| `memory_bytes` | `int64` Required. The memory to provision for the cluster in bytes. The CPU:memory ratio (vCPU:GiB) must be between 1:1 and 1:8. Minimum: 3221225472 (3 GiB). |

## Cluster

An Apache Kafka cluster deployed in a location.

| Fields ||
|---|---|
| `name` | `string` Identifier. The name of the cluster. Structured like: projects/{project_number}/locations/{location}/clusters/{cluster_id} |
| `create_time` | `https://protobuf.dev/reference/protobuf/google.protobuf#timestamp` Output only. The time when the cluster was created. |
| `update_time` | `https://protobuf.dev/reference/protobuf/google.protobuf#timestamp` Output only. The time when the cluster was last updated. |
| `labels` | `map<string, string>` Optional. Labels as key value pairs. |
| `capacity_config` | `https://docs.cloud.google.com/managed-service-for-apache-kafka/docs/reference/rpc/google.cloud.managedkafka.v1#google.cloud.managedkafka.v1.CapacityConfig` Required. Capacity configuration for the Kafka cluster. |
| `rebalance_config` | `https://docs.cloud.google.com/managed-service-for-apache-kafka/docs/reference/rpc/google.cloud.managedkafka.v1#google.cloud.managedkafka.v1.RebalanceConfig` Optional. Rebalance configuration for the Kafka cluster. |
| `state` | `https://docs.cloud.google.com/managed-service-for-apache-kafka/docs/reference/rpc/google.cloud.managedkafka.v1#google.cloud.managedkafka.v1.Cluster.State` Output only. The current state of the cluster. |
| `update_options` | `https://docs.cloud.google.com/managed-service-for-apache-kafka/docs/reference/rpc/google.cloud.managedkafka.v1#google.cloud.managedkafka.v1.UpdateOptions` Optional. UpdateOptions represents options that control how updates to the cluster are applied. |
| `kafka_version` | `string` Output only. Only populated when FULL view is requested. The Kafka version of the cluster. |
| `broker_details[]` | `https://docs.cloud.google.com/managed-service-for-apache-kafka/docs/reference/rpc/google.cloud.managedkafka.v1#google.cloud.managedkafka.v1.BrokerDetails` Output only. Only populated when FULL view is requested. Details of each broker in the cluster. |
| Union field `platform_config`. Platform specific configuration properties for a Kafka cluster. `platform_config` can be only one of the following: ||
| `gcp_config` | `https://docs.cloud.google.com/managed-service-for-apache-kafka/docs/reference/rpc/google.cloud.managedkafka.v1#google.cloud.managedkafka.v1.GcpConfig` Required. Configuration properties for a Kafka cluster deployed to Google Cloud Platform. |
| `satisfies_pzi` | `bool` Output only. Reserved for future use. |
| `satisfies_pzs` | `bool` Output only. Reserved for future use. |

## State

The state of the cluster.

| Enums ||
|---|---|
| `STATE_UNSPECIFIED` | A state was not specified. |
| `CREATING` | The cluster is being created. |
| `ACTIVE` | The cluster is active. |
| `DELETING` | The cluster is being deleted. |
| `UPDATING` | The cluster is being updated. |

## ClusterView

View of Cluster object fields to be returned by GetCluster and ListClusters.

| Enums ||
|---|---|
| `CLUSTER_VIEW_UNSPECIFIED` | The default / unset value. The API will default to the BASIC view. |
| `CLUSTER_VIEW_BASIC` | Include the basic metadata of the Cluster. This is the default value (for both ListClusters and GetCluster). |
| `CLUSTER_VIEW_FULL` | Include everything, including data fetched from the Kafka cluster source of truth. |

## ConnectAccessConfig

The configuration of access to the Kafka Connect cluster.

| Fields ||
|---|---|
| `network_configs[]` | `https://docs.cloud.google.com/managed-service-for-apache-kafka/docs/reference/rpc/google.cloud.managedkafka.v1#google.cloud.managedkafka.v1.ConnectNetworkConfig` Required. Virtual Private Cloud (VPC) networks that must be granted direct access to the Kafka Connect cluster. Minimum of 1 network is required. Maximum 10 networks can be specified. |

## ConnectCluster

An Apache Kafka Connect cluster deployed in a location.

| Fields ||
|---|---|
| `name` | `string` Identifier. The name of the Kafka Connect cluster. Structured like: projects/{project_number}/locations/{location}/connectClusters/{connect_cluster_id} |
| `kafka_cluster` | `string` Required. Immutable. The name of the Kafka cluster this Kafka Connect cluster is attached to. Structured like: projects/{project}/locations/{location}/clusters/{cluster} |
| `create_time` | `https://protobuf.dev/reference/protobuf/google.protobuf#timestamp` Output only. The time when the cluster was created. |
| `update_time` | `https://protobuf.dev/reference/protobuf/google.protobuf#timestamp` Output only. The time when the cluster was last updated. |
| `labels` | `map<string, string>` Optional. Labels as key value pairs. |
| `capacity_config` | `https://docs.cloud.google.com/managed-service-for-apache-kafka/docs/reference/rpc/google.cloud.managedkafka.v1#google.cloud.managedkafka.v1.CapacityConfig` Required. Capacity configuration for the Kafka Connect cluster. |
| `state` | `https://docs.cloud.google.com/managed-service-for-apache-kafka/docs/reference/rpc/google.cloud.managedkafka.v1#google.cloud.managedkafka.v1.ConnectCluster.State` Output only. The current state of the Kafka Connect cluster. |
| `config` | `map<string, string>` Optional. Configurations for the worker that are overridden from the defaults. The key of the map is a Kafka Connect worker property name, for example: `exactly.once.source.support`. |
| Union field `platform_config`. Platform specific configuration properties for a Kafka Connect cluster. `platform_config` can be only one of the following: ||
| `gcp_config` | `https://docs.cloud.google.com/managed-service-for-apache-kafka/docs/reference/rpc/google.cloud.managedkafka.v1#google.cloud.managedkafka.v1.ConnectGcpConfig` Required. Configuration properties for a Kafka Connect cluster deployed to Google Cloud Platform. |

## State

The state of the Kafka Connect cluster.

| Enums ||
|---|---|
| `STATE_UNSPECIFIED` | A state was not specified. |
| `CREATING` | The cluster is being created. |
| `ACTIVE` | The cluster is active. |
| `DELETING` | The cluster is being deleted. |

## ConnectGcpConfig

Configuration properties for a Kafka Connect cluster deployed to Google Cloud Platform.

| Fields ||
|---|---|
| `access_config` | `https://docs.cloud.google.com/managed-service-for-apache-kafka/docs/reference/rpc/google.cloud.managedkafka.v1#google.cloud.managedkafka.v1.ConnectAccessConfig` Required. Access configuration for the Kafka Connect cluster. |
| `secret_paths[]` | `string` Optional. Secrets to load into workers. Exact SecretVersions from Secret Manager must be provided -- aliases are not supported. Up to 32 secrets may be loaded into one cluster. Format: projects//secrets//versions/ |

## ConnectNetworkConfig

The configuration of a Virtual Private Cloud (VPC) network that can access the Kafka Connect cluster.

| Fields ||
|---|---|
| `primary_subnet` | `string` Required. VPC subnet to make available to the Kafka Connect cluster. Structured like: projects/{project}/regions/{region}/subnetworks/{subnet_id} It is used to create a Private Service Connect (PSC) interface for the Kafka Connect workers. It must be located in the same region as the Kafka Connect cluster. The CIDR range of the subnet must be within the IPv4 address ranges for private networks, as specified in RFC 1918. The primary subnet CIDR range must have a minimum size of /22 (1024 addresses). |
| `additional_subnets[] (deprecated)` | `string` > [!WARNING] > This item is deprecated! Optional. Deprecated: Managed Kafka Connect clusters can now reach any endpoint accessible from the primary subnet without the need to define additional subnets. Please see <https://cloud.google.com/managed-service-for-apache-kafka/docs/connect-cluster/create-connect-cluster#worker-subnet> for more information. |
| `dns_domain_names[]` | `string` Optional. Additional DNS domain names from the subnet's network to be made visible to the Connect Cluster. When using MirrorMaker2, it's necessary to add the bootstrap address's dns domain name of the target cluster to make it visible to the connector. For example: my-kafka-cluster.us-central1.managedkafka.my-project.cloud.goog |

## Connector

A Kafka Connect connector in a given ConnectCluster.

| Fields ||
|---|---|
| `name` | `string` Identifier. The name of the connector. Structured like: projects/{project}/locations/{location}/connectClusters/{connect_cluster}/connectors/{connector} |
| `configs` | `map<string, string>` Optional. Connector config as keys/values. The keys of the map are connector property names, for example: `connector.class`, `tasks.max`, `key.converter`. |
| `state` | `https://docs.cloud.google.com/managed-service-for-apache-kafka/docs/reference/rpc/google.cloud.managedkafka.v1#google.cloud.managedkafka.v1.Connector.State` Output only. The current state of the connector. |
| Union field `restart_policy`. A policy that specifies how to restart the failed connectors/tasks in a Cluster resource. If not set, the failed connectors/tasks won't be restarted. `restart_policy` can be only one of the following: ||
| `task_restart_policy` | `https://docs.cloud.google.com/managed-service-for-apache-kafka/docs/reference/rpc/google.cloud.managedkafka.v1#google.cloud.managedkafka.v1.TaskRetryPolicy` Optional. Restarts the individual tasks of a Connector. |

## State

The state of the connector.

| Enums ||
|---|---|
| `STATE_UNSPECIFIED` | A state was not specified. |
| `UNASSIGNED` | The connector is not assigned to any tasks, usually transient. |
| `RUNNING` | The connector is running. |
| `PAUSED` | The connector has been paused. |
| `FAILED` | The connector has failed. See logs for why. |
| `RESTARTING` | The connector is restarting. |
| `STOPPED` | The connector has been stopped. |

## ConsumerGroup

A Kafka consumer group in a given cluster.

| Fields ||
|---|---|
| `name` | `string` Identifier. The name of the consumer group. The `consumer_group` segment is used when connecting directly to the cluster. Structured like: projects/{project}/locations/{location}/clusters/{cluster}/consumerGroups/{consumer_group} |
| `topics` | ``map<string, `https://docs.cloud.google.com/managed-service-for-apache-kafka/docs/reference/rpc/google.cloud.managedkafka.v1#google.cloud.managedkafka.v1.ConsumerTopicMetadata`>`` Optional. Metadata for this consumer group for all topics it has metadata for. The key of the map is a topic name, structured like: projects/{project}/locations/{location}/clusters/{cluster}/topics/{topic} |

## ConsumerPartitionMetadata

Metadata for a consumer group corresponding to a specific partition.

| Fields ||
|---|---|
| `offset` | `int64` Required. The current offset for this partition, or 0 if no offset has been committed. |
| `metadata` | `string` Optional. The associated metadata for this partition, or empty if it does not exist. |

## ConsumerTopicMetadata

Metadata for a consumer group corresponding to a specific topic.

| Fields ||
|---|---|
| `partitions` | ``map<int32, `https://docs.cloud.google.com/managed-service-for-apache-kafka/docs/reference/rpc/google.cloud.managedkafka.v1#google.cloud.managedkafka.v1.ConsumerPartitionMetadata`>`` Optional. Metadata for this consumer group and topic for all partition indexes it has metadata for. |

## CreateAclRequest

Request for CreateAcl.

| Fields ||
|---|---|
| `parent` | `string` Required. The parent cluster in which to create the acl. Structured like `projects/{project}/locations/{location}/clusters/{cluster}`. |
| `acl_id` | `string` Required. The ID to use for the acl, which will become the final component of the acl's name. The structure of `acl_id` defines the Resource Pattern (resource_type, resource_name, pattern_type) of the acl. `acl_id` is structured like one of the following: For acls on the cluster: `cluster` For acls on a single resource within the cluster: `topic/{resource_name}` `consumerGroup/{resource_name}` `transactionalId/{resource_name}` For acls on all resources that match a prefix: `topicPrefixed/{resource_name}` `consumerGroupPrefixed/{resource_name}` `transactionalIdPrefixed/{resource_name}` For acls on all resources of a given type (i.e. the wildcard literal "\*"): `allTopics` (represents `topic/*`) `allConsumerGroups` (represents `consumerGroup/*`) `allTransactionalIds` (represents `transactionalId/*`) |
| `acl` | `https://docs.cloud.google.com/managed-service-for-apache-kafka/docs/reference/rpc/google.cloud.managedkafka.v1#google.cloud.managedkafka.v1.Acl` Required. Configuration of the acl to create. Its `name` field is ignored. |

## CreateClusterRequest

Request for CreateCluster.

| Fields ||
|---|---|
| `parent` | `string` Required. The parent region in which to create the cluster. Structured like `projects/{project}/locations/{location}`. |
| `cluster_id` | `string` Required. The ID to use for the cluster, which will become the final component of the cluster's name. The ID must be 1-63 characters long, and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` to comply with RFC 1035. This value is structured like: `my-cluster-id`. |
| `cluster` | `https://docs.cloud.google.com/managed-service-for-apache-kafka/docs/reference/rpc/google.cloud.managedkafka.v1#google.cloud.managedkafka.v1.Cluster` Required. Configuration of the cluster to create. Its `name` field is ignored. |
| `request_id` | `string` Optional. An optional request ID to identify requests. Specify a unique request ID to avoid duplication of requests. If a request times out or fails, retrying with the same ID allows the server to recognize the previous attempt. For at least 60 minutes, the server ignores duplicate requests bearing the same ID. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID within 60 minutes of the last request, the server checks if an original operation with the same request ID was received. If so, the server ignores the second request. The request ID must be a valid UUID. A zero UUID is not supported (00000000-0000-0000-0000-000000000000). |

## CreateConnectClusterRequest

Request for CreateConnectCluster.

| Fields ||
|---|---|
| `parent` | `string` Required. The parent project/location in which to create the Kafka Connect cluster. Structured like `projects/{project}/locations/{location}/`. |
| `connect_cluster_id` | `string` Required. The ID to use for the Connect cluster, which will become the final component of the cluster's name. The ID must be 1-63 characters long, and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` to comply with RFC 1035. This value is structured like: `my-cluster-id`. |
| `connect_cluster` | `https://docs.cloud.google.com/managed-service-for-apache-kafka/docs/reference/rpc/google.cloud.managedkafka.v1#google.cloud.managedkafka.v1.ConnectCluster` Required. Configuration of the Kafka Connect cluster to create. Its `name` field is ignored. |
| `request_id` | `string` Optional. An optional request ID to identify requests. Specify a unique request ID to avoid duplication of requests. If a request times out or fails, retrying with the same ID allows the server to recognize the previous attempt. For at least 60 minutes, the server ignores duplicate requests bearing the same ID. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID within 60 minutes of the last request, the server checks if an original operation with the same request ID was received. If so, the server ignores the second request. The request ID must be a valid UUID. A zero UUID is not supported (00000000-0000-0000-0000-000000000000). |

## CreateConnectorRequest

Request for CreateConnector.

| Fields ||
|---|---|
| `parent` | `string` Required. The parent Connect cluster in which to create the connector. Structured like `projects/{project}/locations/{location}/connectClusters/{connect_cluster_id}`. |
| `connector_id` | `string` Required. The ID to use for the connector, which will become the final component of the connector's name. The ID must be 1-63 characters long, and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` to comply with RFC 1035. This value is structured like: `my-connector-id`. |
| `connector` | `https://docs.cloud.google.com/managed-service-for-apache-kafka/docs/reference/rpc/google.cloud.managedkafka.v1#google.cloud.managedkafka.v1.Connector` Required. The connector to create. |

## CreateTopicRequest

Request for CreateTopic.

| Fields ||
|---|---|
| `parent` | `string` Required. The parent cluster in which to create the topic. Structured like `projects/{project}/locations/{location}/clusters/{cluster}`. |
| `topic_id` | `string` Required. The ID to use for the topic, which will become the final component of the topic's name. This value is structured like: `my-topic-name`. |
| `topic` | `https://docs.cloud.google.com/managed-service-for-apache-kafka/docs/reference/rpc/google.cloud.managedkafka.v1#google.cloud.managedkafka.v1.Topic` Required. Configuration of the topic to create. Its `name` field is ignored. |

## DeleteAclRequest

Request for DeleteAcl.

| Fields ||
|---|---|
| `name` | `string` Required. The name of the acl to delete. Structured like: `projects/{project}/locations/{location}/clusters/{cluster}/acls/{acl_id}`. The structure of `acl_id` defines the Resource Pattern (resource_type, resource_name, pattern_type) of the acl. See `Acl.name` for details. |

## DeleteClusterRequest

Request for DeleteCluster.

| Fields ||
|---|---|
| `name` | `string` Required. The name of the cluster to delete. |
| `request_id` | `string` Optional. An optional request ID to identify requests. Specify a unique request ID to avoid duplication of requests. If a request times out or fails, retrying with the same ID allows the server to recognize the previous attempt. For at least 60 minutes, the server ignores duplicate requests bearing the same ID. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID within 60 minutes of the last request, the server checks if an original operation with the same request ID was received. If so, the server ignores the second request. The request ID must be a valid UUID. A zero UUID is not supported (00000000-0000-0000-0000-000000000000). |

## DeleteConnectClusterRequest

Request for DeleteConnectCluster.

| Fields ||
|---|---|
| `name` | `string` Required. The name of the Kafka Connect cluster to delete. Structured like `projects/{project}/locations/{location}/connectClusters/{connect_cluster_id}`. |
| `request_id` | `string` Optional. An optional request ID to identify requests. Specify a unique request ID to avoid duplication of requests. If a request times out or fails, retrying with the same ID allows the server to recognize the previous attempt. For at least 60 minutes, the server ignores duplicate requests bearing the same ID. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID within 60 minutes of the last request, the server checks if an original operation with the same request ID was received. If so, the server ignores the second request. The request ID must be a valid UUID. A zero UUID is not supported (00000000-0000-0000-0000-000000000000). |

## DeleteConnectorRequest

Request for DeleteConnector.

| Fields ||
|---|---|
| `name` | `string` Required. The name of the connector to delete. Structured like: projects/{project}/locations/{location}/connectClusters/{connectCluster}/connectors/{connector} |

## DeleteConsumerGroupRequest

Request for DeleteConsumerGroup.

| Fields ||
|---|---|
| `name` | `string` Required. The name of the consumer group to delete. `projects/{project}/locations/{location}/clusters/{cluster}/consumerGroups/{consumerGroup}`. |

## DeleteTopicRequest

Request for DeleteTopic.

| Fields ||
|---|---|
| `name` | `string` Required. The name of the topic to delete. `projects/{project}/locations/{location}/clusters/{cluster}/topics/{topic}`. |

## GcpConfig

Configuration properties for a Kafka cluster deployed to Google Cloud Platform.

| Fields ||
|---|---|
| `access_config` | `https://docs.cloud.google.com/managed-service-for-apache-kafka/docs/reference/rpc/google.cloud.managedkafka.v1#google.cloud.managedkafka.v1.AccessConfig` Required. Access configuration for the Kafka cluster. |
| `kms_key` | `string` Optional. Immutable. The Cloud KMS Key name to use for encryption. The key must be located in the same region as the cluster and cannot be changed. Structured like: projects/{project}/locations/{location}/keyRings/{key_ring}/cryptoKeys/{crypto_key}. |

## GetAclRequest

Request for GetAcl.

| Fields ||
|---|---|
| `name` | `string` Required. The name of the acl to return. Structured like: `projects/{project}/locations/{location}/clusters/{cluster}/acls/{acl_id}`. The structure of `acl_id` defines the Resource Pattern (resource_type, resource_name, pattern_type) of the acl. See `Acl.name` for details. |

## GetClusterRequest

Request for GetCluster.

| Fields ||
|---|---|
| `name` | `string` Required. The name of the cluster whose configuration to return. |
| `view` | `https://docs.cloud.google.com/managed-service-for-apache-kafka/docs/reference/rpc/google.cloud.managedkafka.v1#google.cloud.managedkafka.v1.ClusterView` Optional. Specifies the view of the Cluster resource to be returned. Defaults to CLUSTER_VIEW_BASIC. See the ClusterView enum for possible values. |

## GetConnectClusterRequest

Request for GetConnectCluster.

| Fields ||
|---|---|
| `name` | `string` Required. The name of the Kafka Connect cluster whose configuration to return. Structured like `projects/{project}/locations/{location}/connectClusters/{connect_cluster_id}`. |

## GetConnectorRequest

Request for GetConnector.

| Fields ||
|---|---|
| `name` | `string` Required. The name of the connector whose configuration to return. Structured like: projects/{project}/locations/{location}/connectClusters/{connectCluster}/connectors/{connector} |

## GetConsumerGroupRequest

Request for GetConsumerGroup.

| Fields ||
|---|---|
| `name` | `string` Required. The name of the consumer group whose configuration to return. `projects/{project}/locations/{location}/clusters/{cluster}/consumerGroups/{consumerGroup}`. |

## GetTopicRequest

Request for GetTopic.

| Fields ||
|---|---|
| `name` | `string` Required. The name of the topic whose configuration to return. Structured like: projects/{project}/locations/{location}/clusters/{cluster}/topics/{topic}. |

## ListAclsRequest

Request for ListAcls.

| Fields ||
|---|---|
| `parent` | `string` Required. The parent cluster whose acls are to be listed. Structured like `projects/{project}/locations/{location}/clusters/{cluster}`. |
| `page_size` | `int32` Optional. The maximum number of acls to return. The service may return fewer than this value. If unset or zero, all acls for the parent is returned. |
| `page_token` | `string` Optional. A page token, received from a previous `ListAcls` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListAcls` must match the call that provided the page token. |

## ListAclsResponse

Response for ListAcls.

| Fields ||
|---|---|
| `acls[]` | `https://docs.cloud.google.com/managed-service-for-apache-kafka/docs/reference/rpc/google.cloud.managedkafka.v1#google.cloud.managedkafka.v1.Acl` The list of acls in the requested parent. The order of the acls is unspecified. |
| `next_page_token` | `string` A token that can be sent as `page_token` to retrieve the next page of results. If this field is omitted, there are no more results. |

## ListClustersRequest

Request for ListClusters.

| Fields ||
|---|---|
| `parent` | `string` Required. The parent location whose clusters are to be listed. Structured like `projects/{project}/locations/{location}`. |
| `page_size` | `int32` Optional. The maximum number of clusters to return. The service may return fewer than this value. If unspecified, server will pick an appropriate default. |
| `page_token` | `string` Optional. A page token, received from a previous `ListClusters` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListClusters` must match the call that provided the page token. |
| `filter` | `string` Optional. Filter expression for the result. |
| `order_by` | `string` Optional. Order by fields for the result. |

## ListClustersResponse

Response for ListClusters.

| Fields ||
|---|---|
| `clusters[]` | `https://docs.cloud.google.com/managed-service-for-apache-kafka/docs/reference/rpc/google.cloud.managedkafka.v1#google.cloud.managedkafka.v1.Cluster` The list of Clusters in the requested parent. |
| `next_page_token` | `string` A token that can be sent as `page_token` to retrieve the next page of results. If this field is omitted, there are no more results. |
| `unreachable[]` | `string` Locations that could not be reached. |

## ListConnectClustersRequest

Request for ListConnectClusters.

| Fields ||
|---|---|
| `parent` | `string` Required. The parent project/location whose Connect clusters are to be listed. Structured like `projects/{project}/locations/{location}`. |
| `page_size` | `int32` Optional. The maximum number of Connect clusters to return. The service may return fewer than this value. If unspecified, server will pick an appropriate default. |
| `page_token` | `string` Optional. A page token, received from a previous `ListConnectClusters` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListConnectClusters` must match the call that provided the page token. |
| `filter` | `string` Optional. Filter expression for the result. |
| `order_by` | `string` Optional. Order by fields for the result. |

## ListConnectClustersResponse

Response for ListConnectClusters.

| Fields ||
|---|---|
| `connect_clusters[]` | `https://docs.cloud.google.com/managed-service-for-apache-kafka/docs/reference/rpc/google.cloud.managedkafka.v1#google.cloud.managedkafka.v1.ConnectCluster` The list of Connect clusters in the requested parent. |
| `next_page_token` | `string` A token that can be sent as `page_token` to retrieve the next page of results. If this field is omitted, there are no more results. |
| `unreachable[]` | `string` Locations that could not be reached. |

## ListConnectorsRequest

Request for ListConnectors.

| Fields ||
|---|---|
| `parent` | `string` Required. The parent Connect cluster whose connectors are to be listed. Structured like `projects/{project}/locations/{location}/connectClusters/{connect_cluster_id}`. |
| `page_size` | `int32` Optional. The maximum number of connectors to return. The service may return fewer than this value. If unspecified, server will pick an appropriate default. |
| `page_token` | `string` Optional. A page token, received from a previous `ListConnectors` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListConnectors` must match the call that provided the page token. |

## ListConnectorsResponse

Response for ListConnectors.

| Fields ||
|---|---|
| `connectors[]` | `https://docs.cloud.google.com/managed-service-for-apache-kafka/docs/reference/rpc/google.cloud.managedkafka.v1#google.cloud.managedkafka.v1.Connector` The list of connectors in the requested parent. |
| `next_page_token` | `string` A token that can be sent as `page_token` to retrieve the next page of results. If this field is omitted, there are no more results. |

## ListConsumerGroupsRequest

Request for ListConsumerGroups.

| Fields ||
|---|---|
| `parent` | `string` Required. The parent cluster whose consumer groups are to be listed. Structured like `projects/{project}/locations/{location}/clusters/{cluster}`. |
| `page_size` | `int32` Optional. The maximum number of consumer groups to return. The service may return fewer than this value. If unset or zero, all consumer groups for the parent is returned. |
| `page_token` | `string` Optional. A page token, received from a previous `ListConsumerGroups` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListConsumerGroups` must match the call that provided the page token. |

## ListConsumerGroupsResponse

Response for ListConsumerGroups.

| Fields ||
|---|---|
| `consumer_groups[]` | `https://docs.cloud.google.com/managed-service-for-apache-kafka/docs/reference/rpc/google.cloud.managedkafka.v1#google.cloud.managedkafka.v1.ConsumerGroup` The list of consumer group in the requested parent. The order of the consumer groups is unspecified. |
| `next_page_token` | `string` A token that can be sent as `page_token` to retrieve the next page of results. If this field is omitted, there are no more results. |

## ListTopicsRequest

Request for ListTopics.

| Fields ||
|---|---|
| `parent` | `string` Required. The parent cluster whose topics are to be listed. Structured like `projects/{project}/locations/{location}/clusters/{cluster}`. |
| `page_size` | `int32` Optional. The maximum number of topics to return. The service may return fewer than this value. If unset or zero, all topics for the parent is returned. |
| `page_token` | `string` Optional. A page token, received from a previous `ListTopics` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListTopics` must match the call that provided the page token. |

## ListTopicsResponse

Response for ListTopics.

| Fields ||
|---|---|
| `topics[]` | `https://docs.cloud.google.com/managed-service-for-apache-kafka/docs/reference/rpc/google.cloud.managedkafka.v1#google.cloud.managedkafka.v1.Topic` The list of topics in the requested parent. The order of the topics is unspecified. |
| `next_page_token` | `string` A token that can be sent as `page_token` to retrieve the next page of results. If this field is omitted, there are no more results. |

## NetworkConfig

The configuration of a Virtual Private Cloud (VPC) network that can access the Kafka cluster.

| Fields ||
|---|---|
| `subnet` | `string` Required. Name of the VPC subnet in which to create Private Service Connect (PSC) endpoints for the Kafka brokers and bootstrap address. Structured like: projects/{project}/regions/{region}/subnetworks/{subnet_id} The subnet must be located in the same region as the Kafka cluster. The project may differ. Multiple subnets from the same parent network must not be specified. |

## OperationMetadata

Represents the metadata of the long-running operation.

| Fields ||
|---|---|
| `create_time` | `https://protobuf.dev/reference/protobuf/google.protobuf#timestamp` Output only. The time the operation was created. |
| `end_time` | `https://protobuf.dev/reference/protobuf/google.protobuf#timestamp` Output only. The time the operation finished running. |
| `target` | `string` Output only. Server-defined resource path for the target of the operation. |
| `verb` | `string` Output only. Name of the verb executed by the operation. |
| `status_message` | `string` Output only. Human-readable status of the operation, if any. |
| `requested_cancellation` | `bool` Output only. Identifies whether the user has requested cancellation of the operation. Operations that have been cancelled successfully have \[Operation.error\]\[\] value with a `https://docs.cloud.google.com/managed-service-for-apache-kafka/docs/reference/rpc/google.rpc#google.rpc.Status.FIELDS.int32.google.rpc.Status.code` of 1, corresponding to `Code.CANCELLED`. |
| `api_version` | `string` Output only. API version used to start the operation. |

## PauseConnectorRequest

Request for PauseConnector.

| Fields ||
|---|---|
| `name` | `string` Required. The name of the connector to pause. Structured like: projects/{project}/locations/{location}/connectClusters/{connectCluster}/connectors/{connector} |

## PauseConnectorResponse

This type has no fields.
Response for PauseConnector.

## RebalanceConfig

Defines rebalancing behavior of a Kafka cluster.

| Fields ||
|---|---|
| `mode` | `https://docs.cloud.google.com/managed-service-for-apache-kafka/docs/reference/rpc/google.cloud.managedkafka.v1#google.cloud.managedkafka.v1.RebalanceConfig.Mode` Optional. The rebalance behavior for the cluster. When not specified, defaults to `NO_REBALANCE`. |

## Mode

The partition rebalance mode for the cluster.

| Enums ||
|---|---|
| `MODE_UNSPECIFIED` | A mode was not specified. Do not use. |
| `NO_REBALANCE` | Do not rebalance automatically. |
| `AUTO_REBALANCE_ON_SCALE_UP` | Automatically rebalance topic partitions among brokers when the cluster is scaled up. |

## RemoveAclEntryRequest

Request for RemoveAclEntry.

| Fields ||
|---|---|
| `acl` | `string` Required. The name of the acl to remove the acl entry from. Structured like: `projects/{project}/locations/{location}/clusters/{cluster}/acls/{acl_id}`. The structure of `acl_id` defines the Resource Pattern (resource_type, resource_name, pattern_type) of the acl. See `Acl.name` for details. |
| `acl_entry` | `https://docs.cloud.google.com/managed-service-for-apache-kafka/docs/reference/rpc/google.cloud.managedkafka.v1#google.cloud.managedkafka.v1.AclEntry` Required. The acl entry to remove. |

## RemoveAclEntryResponse

Response for RemoveAclEntry.

| Fields ||
|---|---|
| Union field `result`. The result of removing the acl entry, depending on whether the acl was deleted as a result of removing the acl entry. `result` can be only one of the following: ||
| `acl` | `https://docs.cloud.google.com/managed-service-for-apache-kafka/docs/reference/rpc/google.cloud.managedkafka.v1#google.cloud.managedkafka.v1.Acl` The updated acl. Returned if the removed acl entry was not the last entry in the acl. |
| `acl_deleted` | `bool` Returned with value true if the removed acl entry was the last entry in the acl, resulting in acl deletion. |

## RestartConnectorRequest

Request for RestartConnector.

| Fields ||
|---|---|
| `name` | `string` Required. The name of the connector to restart. Structured like: projects/{project}/locations/{location}/connectClusters/{connectCluster}/connectors/{connector} |

## RestartConnectorResponse

This type has no fields.
Response for RestartConnector.

## ResumeConnectorRequest

Request for ResumeConnector.

| Fields ||
|---|---|
| `name` | `string` Required. The name of the connector to pause. Structured like: projects/{project}/locations/{location}/connectClusters/{connectCluster}/connectors/{connector} |

## ResumeConnectorResponse

This type has no fields.
Response for ResumeConnector.

## StopConnectorRequest

Request for StopConnector.

| Fields ||
|---|---|
| `name` | `string` Required. The name of the connector to stop. Structured like: projects/{project}/locations/{location}/connectClusters/{connectCluster}/connectors/{connector} |

## StopConnectorResponse

This type has no fields.
Response for StopConnector.

## TaskRetryPolicy

Task Retry Policy is implemented on a best-effort basis. The default policy retries tasks with a minimum_backoff of 60 seconds, and a maximum_backoff of 12 hours. You can disable the policy by setting the task_retry_disabled field to true. Retry delay will be exponential based on provided minimum and maximum backoffs. <https://en.wikipedia.org/wiki/Exponential_backoff>. Note that the delay between consecutive task restarts may not always precisely match the configured settings. This can happen when the ConnectCluster is in rebalancing state or if the ConnectCluster is unresponsive etc. The default values for minimum and maximum backoffs are 60 seconds and 12 hours respectively.

| Fields ||
|---|---|
| `minimum_backoff` | `https://protobuf.dev/reference/protobuf/google.protobuf#duration` Optional. The minimum amount of time to wait before retrying a failed task. This sets a lower bound for the backoff delay. |
| `maximum_backoff` | `https://protobuf.dev/reference/protobuf/google.protobuf#duration` Optional. The maximum amount of time to wait before retrying a failed task. This sets an upper bound for the backoff delay. |

## Topic

A Kafka topic in a given cluster.

| Fields ||
|---|---|
| `name` | `string` Identifier. The name of the topic. The `topic` segment is used when connecting directly to the cluster. Structured like: projects/{project}/locations/{location}/clusters/{cluster}/topics/{topic} |
| `partition_count` | `int32` Required. The number of partitions this topic has. The partition count can only be increased, not decreased. Please note that if partitions are increased for a topic that has a key, the partitioning logic or the ordering of the messages will be affected. |
| `replication_factor` | `int32` Required. Immutable. The number of replicas of each partition. A replication factor of 3 is recommended for high availability. |
| `configs` | `map<string, string>` Optional. Configurations for the topic that are overridden from the cluster defaults. The key of the map is a Kafka topic property name, for example: `cleanup.policy`, `compression.type`. |

## UpdateAclRequest

Request for UpdateAcl.

| Fields ||
|---|---|
| `acl` | `https://docs.cloud.google.com/managed-service-for-apache-kafka/docs/reference/rpc/google.cloud.managedkafka.v1#google.cloud.managedkafka.v1.Acl` Required. The updated acl. Its `name` and `etag` fields must be populated. `acl_entries` must not be empty in the updated acl; to remove all acl entries for an acl, use DeleteAcl. |
| `update_mask` | `https://protobuf.dev/reference/protobuf/google.protobuf#field-mask` Optional. Field mask is used to specify the fields to be overwritten in the Acl resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. |

## UpdateClusterRequest

Request for UpdateCluster.

| Fields ||
|---|---|
| `update_mask` | `https://protobuf.dev/reference/protobuf/google.protobuf#field-mask` Required. Field mask is used to specify the fields to be overwritten in the cluster resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. The mask is required and a value of \* will update all fields. |
| `cluster` | `https://docs.cloud.google.com/managed-service-for-apache-kafka/docs/reference/rpc/google.cloud.managedkafka.v1#google.cloud.managedkafka.v1.Cluster` Required. The cluster to update. Its `name` field must be populated. |
| `request_id` | `string` Optional. An optional request ID to identify requests. Specify a unique request ID to avoid duplication of requests. If a request times out or fails, retrying with the same ID allows the server to recognize the previous attempt. For at least 60 minutes, the server ignores duplicate requests bearing the same ID. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID within 60 minutes of the last request, the server checks if an original operation with the same request ID was received. If so, the server ignores the second request. The request ID must be a valid UUID. A zero UUID is not supported (00000000-0000-0000-0000-000000000000). |

## UpdateConnectClusterRequest

Request for UpdateConnectCluster.

| Fields ||
|---|---|
| `update_mask` | `https://protobuf.dev/reference/protobuf/google.protobuf#field-mask` Required. Field mask is used to specify the fields to be overwritten in the cluster resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. The mask is required and a value of \* will update all fields. |
| `connect_cluster` | `https://docs.cloud.google.com/managed-service-for-apache-kafka/docs/reference/rpc/google.cloud.managedkafka.v1#google.cloud.managedkafka.v1.ConnectCluster` Required. The Kafka Connect cluster to update. Its `name` field must be populated. |
| `request_id` | `string` Optional. An optional request ID to identify requests. Specify a unique request ID to avoid duplication of requests. If a request times out or fails, retrying with the same ID allows the server to recognize the previous attempt. For at least 60 minutes, the server ignores duplicate requests bearing the same ID. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID within 60 minutes of the last request, the server checks if an original operation with the same request ID was received. If so, the server ignores the second request. The request ID must be a valid UUID. A zero UUID is not supported (00000000-0000-0000-0000-000000000000). |

## UpdateConnectorRequest

Request for UpdateConnector.

| Fields ||
|---|---|
| `update_mask` | `https://protobuf.dev/reference/protobuf/google.protobuf#field-mask` Required. Field mask is used to specify the fields to be overwritten in the cluster resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. The mask is required and a value of \* will update all fields. |
| `connector` | `https://docs.cloud.google.com/managed-service-for-apache-kafka/docs/reference/rpc/google.cloud.managedkafka.v1#google.cloud.managedkafka.v1.Connector` Required. The connector to update. Its `name` field must be populated. |

## UpdateConsumerGroupRequest

Request for UpdateConsumerGroup.

| Fields ||
|---|---|
| `update_mask` | `https://protobuf.dev/reference/protobuf/google.protobuf#field-mask` Required. Field mask is used to specify the fields to be overwritten in the ConsumerGroup resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. The mask is required and a value of \* will update all fields. |
| `consumer_group` | `https://docs.cloud.google.com/managed-service-for-apache-kafka/docs/reference/rpc/google.cloud.managedkafka.v1#google.cloud.managedkafka.v1.ConsumerGroup` Required. The consumer group to update. Its `name` field must be populated. |

## UpdateOptions

UpdateOptions specifies options that influence how a cluster update is applied. These options control the behavior of the update process, rather than defining the desired end-state of a cluster.

| Fields ||
|---|---|
| `allow_broker_downscale_on_cluster_upscale` | `bool` Optional. If true, allows an update operation that increases the total vCPU and/or memory allocation of the cluster to significantly decrease the per-broker vCPU and/or memory allocation. This can result in reduced performance and availability. By default, the update operation will fail if an upscale request results in a vCPU or memory allocation for the brokers that is smaller than 90% of the current broker size. |

## UpdateTopicRequest

Request for UpdateTopic.

| Fields ||
|---|---|
| `update_mask` | `https://protobuf.dev/reference/protobuf/google.protobuf#field-mask` Required. Field mask is used to specify the fields to be overwritten in the Topic resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask. The mask is required and a value of \* will update all fields. |
| `topic` | `https://docs.cloud.google.com/managed-service-for-apache-kafka/docs/reference/rpc/google.cloud.managedkafka.v1#google.cloud.managedkafka.v1.Topic` Required. The topic to update. Its `name` field must be populated. |