Reference documentation and code samples for the Google Cloud Managed Kafka V1 Client class GetAclRequest.
Request for GetAcl.
Generated from protobuf message google.cloud.managedkafka.v1.GetAclRequest
Namespace
Google \ Cloud \ ManagedKafka \ V1
Methods
__construct
Constructor.
Parameters
Name
Description
data
array
Optional. Data for populating the Message object.
↳ name
string
Required. The name of the acl to return. 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.
getName
Required. The name of the acl to return.
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
Type
Description
string
setName
Required. The name of the acl to return.
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.
Parameter
Name
Description
var
string
Returns
Type
Description
$this
static::build
Parameter
Name
Description
name
string
Required. The name of the acl to return.
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. Please see
ManagedKafkaClient::aclName() for help formatting this field.
[[["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-04 UTC."],[],[],null,["# Google Cloud Managed Kafka V1 Client - Class GetAclRequest (0.6.1)\n\nVersion latestkeyboard_arrow_down\n\n- [0.6.1 (latest)](/php/docs/reference/cloud-managedkafka/latest/V1.GetAclRequest)\n- [0.6.0](/php/docs/reference/cloud-managedkafka/0.6.0/V1.GetAclRequest)\n- [0.5.0](/php/docs/reference/cloud-managedkafka/0.5.0/V1.GetAclRequest)\n- [0.4.1](/php/docs/reference/cloud-managedkafka/0.4.1/V1.GetAclRequest)\n- [0.3.1](/php/docs/reference/cloud-managedkafka/0.3.1/V1.GetAclRequest)\n- [0.2.3](/php/docs/reference/cloud-managedkafka/0.2.3/V1.GetAclRequest)\n- [0.1.3](/php/docs/reference/cloud-managedkafka/0.1.3/V1.GetAclRequest) \nReference documentation and code samples for the Google Cloud Managed Kafka V1 Client class GetAclRequest.\n\nRequest for GetAcl.\n\nGenerated from protobuf message `google.cloud.managedkafka.v1.GetAclRequest`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ ManagedKafka \\\\ V1\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getName\n\nRequired. The name of the acl to return.\n\nStructured like:\n`projects/{project}/locations/{location}/clusters/{cluster}/acls/{acl_id}`.\nThe structure of `acl_id` defines the Resource Pattern (resource_type,\nresource_name, pattern_type) of the acl. See `Acl.name` for\ndetails.\n\n### setName\n\nRequired. The name of the acl to return.\n\nStructured like:\n`projects/{project}/locations/{location}/clusters/{cluster}/acls/{acl_id}`.\nThe structure of `acl_id` defines the Resource Pattern (resource_type,\nresource_name, pattern_type) of the acl. See `Acl.name` for\ndetails.\n\n### static::build"]]