# Managed Service for Apache Kafka V1 API - Class Google::Cloud::ManagedKafka::V1::AclEntry (v1.9.0)

1.9.0 (latest) 1.8.0 1.7.0 1.6.1 1.5.0 1.4.0 1.3.0 1.2.0 1.1.2 1.0.1 0.5.0 0.4.0 0.3.0 0.2.0 0.1.3 Reference documentation and code samples for the Managed Service for Apache Kafka V1 API class Google::Cloud::ManagedKafka::V1::AclEntry.

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

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #host

    def host() -> ::String

**Returns**

- (::String) --- Required. The host. Must be set to "\*" for Managed Service for Apache Kafka.

### #host=

    def host=(value) -> ::String

**Parameter**

- **value** (::String) --- Required. The host. Must be set to "\*" for Managed Service for Apache Kafka.
**Returns**

- (::String) --- Required. The host. Must be set to "\*" for Managed Service for Apache Kafka.

### #operation

    def operation() -> ::String

**Returns**

- (::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.

### #operation=

    def operation=(value) -> ::String

**Parameter**

- **value** (::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.
**Returns**

- (::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.

### #permission_type

    def permission_type() -> ::String

**Returns**

- (::String) --- Required. The permission type. Accepted values are (case insensitive): ALLOW, DENY.

### #permission_type=

    def permission_type=(value) -> ::String

**Parameter**

- **value** (::String) --- Required. The permission type. Accepted values are (case insensitive): ALLOW, DENY.
**Returns**

- (::String) --- Required. The permission type. Accepted values are (case insensitive): ALLOW, DENY.

### #principal

    def principal() -> ::String

**Returns**

- (::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". Can be the wildcard "User:\*" to refer to all users.

### #principal=

    def principal=(value) -> ::String

**Parameter**

- **value** (::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". Can be the wildcard "User:\*" to refer to all users.
**Returns**

- (::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". Can be the wildcard "User:\*" to refer to all users.