(::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(representsconsumerGroup/)
allTransactionalIds(representstransactionalId/`)
#acl_id=
defacl_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(representsconsumerGroup/)
allTransactionalIds(representstransactionalId/`)
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(representsconsumerGroup/)
allTransactionalIds(representstransactionalId/`)
#parent
defparent()->::String
Returns
(::String) — Required. The parent cluster in which to create the acl.
Structured like
projects/{project}/locations/{location}/clusters/{cluster}.
#parent=
defparent=(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}.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-09 UTC."],[],[],null,["# Managed Service for Apache Kafka V1 API - Class Google::Cloud::ManagedKafka::V1::CreateAclRequest (v1.4.0)\n\nVersion latestkeyboard_arrow_down\n\n- [1.4.0 (latest)](/ruby/docs/reference/google-cloud-managed_kafka-v1/latest/Google-Cloud-ManagedKafka-V1-CreateAclRequest)\n- [1.3.0](/ruby/docs/reference/google-cloud-managed_kafka-v1/1.3.0/Google-Cloud-ManagedKafka-V1-CreateAclRequest)\n- [1.2.0](/ruby/docs/reference/google-cloud-managed_kafka-v1/1.2.0/Google-Cloud-ManagedKafka-V1-CreateAclRequest)\n- [1.1.2](/ruby/docs/reference/google-cloud-managed_kafka-v1/1.1.2/Google-Cloud-ManagedKafka-V1-CreateAclRequest)\n- [1.0.1](/ruby/docs/reference/google-cloud-managed_kafka-v1/1.0.1/Google-Cloud-ManagedKafka-V1-CreateAclRequest)\n- [0.5.0](/ruby/docs/reference/google-cloud-managed_kafka-v1/0.5.0/Google-Cloud-ManagedKafka-V1-CreateAclRequest)\n- [0.4.0](/ruby/docs/reference/google-cloud-managed_kafka-v1/0.4.0/Google-Cloud-ManagedKafka-V1-CreateAclRequest)\n- [0.3.0](/ruby/docs/reference/google-cloud-managed_kafka-v1/0.3.0/Google-Cloud-ManagedKafka-V1-CreateAclRequest)\n- [0.2.0](/ruby/docs/reference/google-cloud-managed_kafka-v1/0.2.0/Google-Cloud-ManagedKafka-V1-CreateAclRequest)\n- [0.1.3](/ruby/docs/reference/google-cloud-managed_kafka-v1/0.1.3/Google-Cloud-ManagedKafka-V1-CreateAclRequest) \nReference documentation and code samples for the Managed Service for Apache Kafka V1 API class Google::Cloud::ManagedKafka::V1::CreateAclRequest.\n\nRequest for CreateAcl. \n\nInherits\n--------\n\n- Object \n\nExtended By\n-----------\n\n- Google::Protobuf::MessageExts::ClassMethods \n\nIncludes\n--------\n\n- Google::Protobuf::MessageExts\n\nMethods\n-------\n\n### #acl\n\n def acl() -\u003e ::Google::Cloud::ManagedKafka::V1::Acl\n\n**Returns**\n\n- ([::Google::Cloud::ManagedKafka::V1::Acl](./Google-Cloud-ManagedKafka-V1-Acl)) --- Required. Configuration of the acl to create. Its `name` field is ignored.\n\n### #acl=\n\n def acl=(value) -\u003e ::Google::Cloud::ManagedKafka::V1::Acl\n\n**Parameter**\n\n- **value** ([::Google::Cloud::ManagedKafka::V1::Acl](./Google-Cloud-ManagedKafka-V1-Acl)) --- Required. Configuration of the acl to create. Its `name` field is ignored. \n**Returns**\n\n- ([::Google::Cloud::ManagedKafka::V1::Acl](./Google-Cloud-ManagedKafka-V1-Acl)) --- Required. Configuration of the acl to create. Its `name` field is ignored.\n\n### #acl_id\n\n def acl_id() -\u003e ::String\n\n**Returns**\n\n- (::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:\n\n\n For acls on the cluster:\n `cluster`\n\n For acls on a single resource within the cluster:\n `topic/{resource_name}`\n `consumerGroup/{resource_name}`\n `transactionalId/{resource_name}`\n\n For acls on all resources that match a prefix:\n `topicPrefixed/{resource_name}`\n `consumerGroupPrefixed/{resource_name}`\n `transactionalIdPrefixed/{resource_name}`\n\n For acls on all resources of a given type (i.e. the wildcard literal \"*\"):\n `allTopics` (represents \\`topic/* `)\n `allConsumerGroups`(represents`consumerGroup/*`)\n `allTransactionalIds`(represents`transactionalId/*\\`)\n\n### #acl_id=\n\n def acl_id=(value) -\u003e ::String\n\n**Parameter**\n\n- **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:\n\n\n For acls on the cluster:\n `cluster`\n\n For acls on a single resource within the cluster:\n `topic/{resource_name}`\n `consumerGroup/{resource_name}`\n `transactionalId/{resource_name}`\n\n For acls on all resources that match a prefix:\n `topicPrefixed/{resource_name}`\n `consumerGroupPrefixed/{resource_name}`\n `transactionalIdPrefixed/{resource_name}`\n\n For acls on all resources of a given type (i.e. the wildcard literal \"*\"):\n `allTopics` (represents \\`topic/* `)\n `allConsumerGroups`(represents`consumerGroup/*`)\n`allTransactionalIds`(represents`transactionalId/*\\`) \n**Returns**\n\n- (::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:\n\n\n For acls on the cluster:\n `cluster`\n\n For acls on a single resource within the cluster:\n `topic/{resource_name}`\n `consumerGroup/{resource_name}`\n `transactionalId/{resource_name}`\n\n For acls on all resources that match a prefix:\n `topicPrefixed/{resource_name}`\n `consumerGroupPrefixed/{resource_name}`\n `transactionalIdPrefixed/{resource_name}`\n\n For acls on all resources of a given type (i.e. the wildcard literal \"*\"):\n `allTopics` (represents \\`topic/* `)\n `allConsumerGroups`(represents`consumerGroup/*`)\n `allTransactionalIds`(represents`transactionalId/*\\`)\n\n### #parent\n\n def parent() -\u003e ::String\n\n**Returns**\n\n- (::String) --- Required. The parent cluster in which to create the acl. Structured like `projects/{project}/locations/{location}/clusters/{cluster}`.\n\n### #parent=\n\n def parent=(value) -\u003e ::String\n\n**Parameter**\n\n- **value** (::String) --- Required. The parent cluster in which to create the acl. Structured like `projects/{project}/locations/{location}/clusters/{cluster}`. \n**Returns**\n\n- (::String) --- Required. The parent cluster in which to create the acl. Structured like `projects/{project}/locations/{location}/clusters/{cluster}`."]]