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
defacl()->::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=
defacl=(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.
[[["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::AddAclEntryRequest (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-AddAclEntryRequest)\n- [1.3.0](/ruby/docs/reference/google-cloud-managed_kafka-v1/1.3.0/Google-Cloud-ManagedKafka-V1-AddAclEntryRequest)\n- [1.2.0](/ruby/docs/reference/google-cloud-managed_kafka-v1/1.2.0/Google-Cloud-ManagedKafka-V1-AddAclEntryRequest)\n- [1.1.2](/ruby/docs/reference/google-cloud-managed_kafka-v1/1.1.2/Google-Cloud-ManagedKafka-V1-AddAclEntryRequest)\n- [1.0.1](/ruby/docs/reference/google-cloud-managed_kafka-v1/1.0.1/Google-Cloud-ManagedKafka-V1-AddAclEntryRequest)\n- [0.5.0](/ruby/docs/reference/google-cloud-managed_kafka-v1/0.5.0/Google-Cloud-ManagedKafka-V1-AddAclEntryRequest)\n- [0.4.0](/ruby/docs/reference/google-cloud-managed_kafka-v1/0.4.0/Google-Cloud-ManagedKafka-V1-AddAclEntryRequest)\n- [0.3.0](/ruby/docs/reference/google-cloud-managed_kafka-v1/0.3.0/Google-Cloud-ManagedKafka-V1-AddAclEntryRequest)\n- [0.2.0](/ruby/docs/reference/google-cloud-managed_kafka-v1/0.2.0/Google-Cloud-ManagedKafka-V1-AddAclEntryRequest)\n- [0.1.3](/ruby/docs/reference/google-cloud-managed_kafka-v1/0.1.3/Google-Cloud-ManagedKafka-V1-AddAclEntryRequest) \nReference documentation and code samples for the Managed Service for Apache Kafka V1 API class Google::Cloud::ManagedKafka::V1::AddAclEntryRequest.\n\nRequest for AddAclEntry. \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 ::String\n\n**Returns**\n\n- (::String) --- Required. The name of the acl to add the acl entry to. Structured like: `projects/{project}/locations/{location}/clusters/{cluster}/acls/{acl_id}`.\n\n\n The structure of `acl_id` defines the Resource Pattern (resource_type,\n resource_name, pattern_type) of the acl. See `Acl.name` for\n details.\n\n### #acl=\n\n def acl=(value) -\u003e ::String\n\n**Parameter**\n\n- **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}`.\n\n\n The structure of `acl_id` defines the Resource Pattern (resource_type,\n resource_name, pattern_type) of the acl. See `Acl.name` for\ndetails. \n**Returns**\n\n- (::String) --- Required. The name of the acl to add the acl entry to. Structured like: `projects/{project}/locations/{location}/clusters/{cluster}/acls/{acl_id}`.\n\n\n The structure of `acl_id` defines the Resource Pattern (resource_type,\n resource_name, pattern_type) of the acl. See `Acl.name` for\n details.\n\n### #acl_entry\n\n def acl_entry() -\u003e ::Google::Cloud::ManagedKafka::V1::AclEntry\n\n**Returns**\n\n- ([::Google::Cloud::ManagedKafka::V1::AclEntry](./Google-Cloud-ManagedKafka-V1-AclEntry)) --- Required. The acl entry to add.\n\n### #acl_entry=\n\n def acl_entry=(value) -\u003e ::Google::Cloud::ManagedKafka::V1::AclEntry\n\n**Parameter**\n\n- **value** ([::Google::Cloud::ManagedKafka::V1::AclEntry](./Google-Cloud-ManagedKafka-V1-AclEntry)) --- Required. The acl entry to add. \n**Returns**\n\n- ([::Google::Cloud::ManagedKafka::V1::AclEntry](./Google-Cloud-ManagedKafka-V1-AclEntry)) --- Required. The acl entry to add."]]