# Managed Service for Apache Kafka V1 API - Class Google::Cloud::ManagedKafka::V1::AddAclEntryRequest (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::AddAclEntryRequest.

Request for AddAclEntry.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #acl

    def acl() -> ::String

**Returns**

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

    def acl=(value) -> ::String

**Parameter**

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

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

    def acl_entry() -> ::Google::Cloud::ManagedKafka::V1::AclEntry

**Returns**

- ([::Google::Cloud::ManagedKafka::V1::AclEntry](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-managed_kafka-v1/latest/Google-Cloud-ManagedKafka-V1-AclEntry)) --- Required. The acl entry to add.

### #acl_entry=

    def acl_entry=(value) -> ::Google::Cloud::ManagedKafka::V1::AclEntry

**Parameter**

- **value** ([::Google::Cloud::ManagedKafka::V1::AclEntry](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-managed_kafka-v1/latest/Google-Cloud-ManagedKafka-V1-AclEntry)) --- Required. The acl entry to add.
**Returns**

- ([::Google::Cloud::ManagedKafka::V1::AclEntry](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-managed_kafka-v1/latest/Google-Cloud-ManagedKafka-V1-AclEntry)) --- Required. The acl entry to add.