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

Request for CreateAcl.

## Inherits

- Object

## Extended By

- Google::Protobuf::MessageExts::ClassMethods

## Includes

- Google::Protobuf::MessageExts

## Methods

### #acl

    def acl() -> ::Google::Cloud::ManagedKafka::V1::Acl

**Returns**

- ([::Google::Cloud::ManagedKafka::V1::Acl](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-managed_kafka-v1/latest/Google-Cloud-ManagedKafka-V1-Acl)) --- Required. Configuration of the acl to create. Its `name` field is ignored.

### #acl=

    def acl=(value) -> ::Google::Cloud::ManagedKafka::V1::Acl

**Parameter**

- **value** ([::Google::Cloud::ManagedKafka::V1::Acl](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-managed_kafka-v1/latest/Google-Cloud-ManagedKafka-V1-Acl)) --- Required. Configuration of the acl to create. Its `name` field is ignored.
**Returns**

- ([::Google::Cloud::ManagedKafka::V1::Acl](https://docs.cloud.google.com/ruby/docs/reference/google-cloud-managed_kafka-v1/latest/Google-Cloud-ManagedKafka-V1-Acl)) --- Required. Configuration of the acl to create. Its `name` field is ignored.

### #acl_id

    def acl_id() -> ::String

**Returns**

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

    def acl_id=(value) -> ::String

**Parameter**

- **value** (::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/*\`)
**Returns**

- (::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/*\`)

### #parent

    def parent() -> ::String

**Returns**

- (::String) --- Required. The parent cluster in which to create the acl. Structured like `projects/{project}/locations/{location}/clusters/{cluster}`.

### #parent=

    def parent=(value) -> ::String

**Parameter**

- **value** (::String) --- Required. The parent cluster in which to create the acl. Structured like `projects/{project}/locations/{location}/clusters/{cluster}`.
**Returns**

- (::String) --- Required. The parent cluster in which to create the acl. Structured like `projects/{project}/locations/{location}/clusters/{cluster}`.