public sealed class AclEntry : IMessage<AclEntry>, IEquatable<AclEntry>, IDeepCloneable<AclEntry>, IBufferMessage, IMessage
Reference documentation and code samples for the Managed Service for Apache Kafka API v1 API class AclEntry.
Represents the access granted for a given Resource Pattern in an ACL.
Namespace
Google.Cloud.ManagedKafka.V1Assembly
Google.Cloud.ManagedKafka.V1.dll
Constructors
AclEntry()
public AclEntry()
AclEntry(AclEntry)
public AclEntry(AclEntry other)
Parameter | |
---|---|
Name | Description |
other |
AclEntry |
Properties
Host
public string Host { get; set; }
Required. The host. Must be set to "*" for Managed Service for Apache Kafka.
Property Value | |
---|---|
Type | Description |
string |
Operation
public string Operation { get; set; }
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.
Property Value | |
---|---|
Type | Description |
string |
PermissionType
public string PermissionType { get; set; }
Required. The permission type. Accepted values are (case insensitive): ALLOW, DENY.
Property Value | |
---|---|
Type | Description |
string |
Principal
public string Principal { get; set; }
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". Can be the wildcard "User:*" to refer to all users.
Property Value | |
---|---|
Type | Description |
string |