Debian Codegraph @

docs/dyn/managedkafka_v1.projects.locations.clusters.acls.html

raw
1 <html><body>
2 <style>
3
4 body, h1, h2, h3, div, span, p, pre, a {
5 margin: 0;
6 padding: 0;
7 border: 0;
8 font-weight: inherit;
9 font-style: inherit;
10 font-size: 100%;
11 font-family: inherit;
12 vertical-align: baseline;
13 }
14
15 body {
16 font-size: 13px;
17 padding: 1em;
18 }
19
20 h1 {
21 font-size: 26px;
22 margin-bottom: 1em;
23 }
24
25 h2 {
26 font-size: 24px;
27 margin-bottom: 1em;
28 }
29
30 h3 {
31 font-size: 20px;
32 margin-bottom: 1em;
33 margin-top: 1em;
34 }
35
36 pre, code {
37 line-height: 1.5;
38 font-family: Monaco, 'DejaVu Sans Mono', 'Bitstream Vera Sans Mono', 'Lucida Console', monospace;
39 }
40
41 pre {
42 margin-top: 0.5em;
43 }
44
45 h1, h2, h3, p {
46 font-family: Arial, sans serif;
47 }
48
49 h1, h2, h3 {
50 border-bottom: solid #CCC 1px;
51 }
52
53 .toc_element {
54 margin-top: 0.5em;
55 }
56
57 .firstline {
58 margin-left: 2 em;
59 }
60
61 .method {
62 margin-top: 1em;
63 border: solid 1px #CCC;
64 padding: 1em;
65 background: #EEE;
66 }
67
68 .details {
69 font-weight: bold;
70 font-size: 14px;
71 }
72
73 </style>
74
75 <h1><a href="managedkafka_v1.html">Managed Service for Apache Kafka API</a> . <a href="managedkafka_v1.projects.html">projects</a> . <a href="managedkafka_v1.projects.locations.html">locations</a> . <a href="managedkafka_v1.projects.locations.clusters.html">clusters</a> . <a href="managedkafka_v1.projects.locations.clusters.acls.html">acls</a></h1>
76 <h2>Instance Methods</h2>
77 <p class="toc_element">
78 <code><a href="#addAclEntry">addAclEntry(acl, body=None, x__xgafv=None)</a></code></p>
79 <p class="firstline">Incremental update: Adds an acl entry to an acl. Creates the acl if it does not exist yet.</p>
80 <p class="toc_element">
81 <code><a href="#close">close()</a></code></p>
82 <p class="firstline">Close httplib2 connections.</p>
83 <p class="toc_element">
84 <code><a href="#create">create(parent, aclId=None, body=None, x__xgafv=None)</a></code></p>
85 <p class="firstline">Creates a new acl in the given project, location, and cluster.</p>
86 <p class="toc_element">
87 <code><a href="#delete">delete(name, x__xgafv=None)</a></code></p>
88 <p class="firstline">Deletes an acl.</p>
89 <p class="toc_element">
90 <code><a href="#get">get(name, x__xgafv=None)</a></code></p>
91 <p class="firstline">Returns the properties of a single acl.</p>
92 <p class="toc_element">
93 <code><a href="#list">list(parent, pageSize=None, pageToken=None, x__xgafv=None)</a></code></p>
94 <p class="firstline">Lists the acls in a given cluster.</p>
95 <p class="toc_element">
96 <code><a href="#list_next">list_next()</a></code></p>
97 <p class="firstline">Retrieves the next page of results.</p>
98 <p class="toc_element">
99 <code><a href="#patch">patch(name, body=None, updateMask=None, x__xgafv=None)</a></code></p>
100 <p class="firstline">Updates the properties of a single acl.</p>
101 <p class="toc_element">
102 <code><a href="#removeAclEntry">removeAclEntry(acl, body=None, x__xgafv=None)</a></code></p>
103 <p class="firstline">Incremental update: Removes an acl entry from an acl. Deletes the acl if its acl entries become empty (i.e. if the removed entry was the last one in the acl).</p>
104 <h3>Method Details</h3>
105 <div class="method">
106 <code class="details" id="addAclEntry">addAclEntry(acl, body=None, x__xgafv=None)</code>
107 <pre>Incremental update: Adds an acl entry to an acl. Creates the acl if it does not exist yet.
108
109 Args:
110 acl: 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. (required)
111 body: object, The request body.
112 The object takes the form of:
113
114 { # Represents the access granted for a given Resource Pattern in an ACL.
115 &quot;host&quot;: &quot;A String&quot;, # Required. The host. Must be set to &quot;*&quot; for Managed Service for Apache Kafka.
116 &quot;operation&quot;: &quot;A String&quot;, # Required. The operation type. Allowed values are (case insensitive): ALL, READ, WRITE, CREATE, DELETE, ALTER, DESCRIBE, CLUSTER_ACTION, DESCRIBE_CONFIGS, ALTER_CONFIGS, and IDEMPOTENT_WRITE. See https://kafka.apache.org/documentation/#operations_resources_and_protocols for valid combinations of resource_type and operation for different Kafka API requests.
117 &quot;permissionType&quot;: &quot;A String&quot;, # Required. The permission type. Accepted values are (case insensitive): ALLOW, DENY.
118 &quot;principal&quot;: &quot;A String&quot;, # Required. The principal. Specified as Google Cloud account, with the Kafka StandardAuthorizer prefix &quot;User:&quot;. For example: &quot;User:[email protected]&quot;. Can be the wildcard &quot;User:*&quot; to refer to all users.
119 }
120
121 x__xgafv: string, V1 error format.
122 Allowed values
123 1 - v1 error format
124 2 - v2 error format
125
126 Returns:
127 An object of the form:
128
129 { # Response for AddAclEntry.
130 &quot;acl&quot;: { # Represents the set of ACLs for a given Kafka Resource Pattern, which consists of resource_type, resource_name and pattern_type. # The updated acl.
131 &quot;aclEntries&quot;: [ # Required. The ACL entries that apply to the resource pattern. The maximum number of allowed entries 100.
132 { # Represents the access granted for a given Resource Pattern in an ACL.
133 &quot;host&quot;: &quot;A String&quot;, # Required. The host. Must be set to &quot;*&quot; for Managed Service for Apache Kafka.
134 &quot;operation&quot;: &quot;A String&quot;, # Required. The operation type. Allowed values are (case insensitive): ALL, READ, WRITE, CREATE, DELETE, ALTER, DESCRIBE, CLUSTER_ACTION, DESCRIBE_CONFIGS, ALTER_CONFIGS, and IDEMPOTENT_WRITE. See https://kafka.apache.org/documentation/#operations_resources_and_protocols for valid combinations of resource_type and operation for different Kafka API requests.
135 &quot;permissionType&quot;: &quot;A String&quot;, # Required. The permission type. Accepted values are (case insensitive): ALLOW, DENY.
136 &quot;principal&quot;: &quot;A String&quot;, # Required. The principal. Specified as Google Cloud account, with the Kafka StandardAuthorizer prefix &quot;User:&quot;. For example: &quot;User:[email protected]&quot;. Can be the wildcard &quot;User:*&quot; to refer to all users.
137 },
138 ],
139 &quot;etag&quot;: &quot;A String&quot;, # Optional. `etag` is used for concurrency control. An `etag` is returned in the response to `GetAcl` and `CreateAcl`. Callers are required to put that etag in the request to `UpdateAcl` to ensure that their change will be applied to the same version of the acl that exists in the Kafka Cluster. A terminal &#x27;T&#x27; character in the etag indicates that the AclEntries were truncated; more entries for the Acl exist on the Kafka Cluster, but can&#x27;t be returned in the Acl due to repeated field limits.
140 &quot;name&quot;: &quot;A String&quot;, # Identifier. The name for the acl. Represents a single Resource Pattern. 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. `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 &quot;*&quot;): `allTopics` (represents `topic/*`) `allConsumerGroups` (represents `consumerGroup/*`) `allTransactionalIds` (represents `transactionalId/*`)
141 &quot;patternType&quot;: &quot;A String&quot;, # Output only. The ACL pattern type derived from the name. One of: LITERAL, PREFIXED.
142 &quot;resourceName&quot;: &quot;A String&quot;, # Output only. The ACL resource name derived from the name. For cluster resource_type, this is always &quot;kafka-cluster&quot;. Can be the wildcard literal &quot;*&quot;.
143 &quot;resourceType&quot;: &quot;A String&quot;, # Output only. The ACL resource type derived from the name. One of: CLUSTER, TOPIC, GROUP, TRANSACTIONAL_ID.
144 },
145 &quot;aclCreated&quot;: True or False, # Whether the acl was created as a result of adding the acl entry.
146 }</pre>
147 </div>
148
149 <div class="method">
150 <code class="details" id="close">close()</code>
151 <pre>Close httplib2 connections.</pre>
152 </div>
153
154 <div class="method">
155 <code class="details" id="create">create(parent, aclId=None, body=None, x__xgafv=None)</code>
156 <pre>Creates a new acl in the given project, location, and cluster.
157
158 Args:
159 parent: string, Required. The parent cluster in which to create the acl. Structured like `projects/{project}/locations/{location}/clusters/{cluster}`. (required)
160 body: object, The request body.
161 The object takes the form of:
162
163 { # Represents the set of ACLs for a given Kafka Resource Pattern, which consists of resource_type, resource_name and pattern_type.
164 &quot;aclEntries&quot;: [ # Required. The ACL entries that apply to the resource pattern. The maximum number of allowed entries 100.
165 { # Represents the access granted for a given Resource Pattern in an ACL.
166 &quot;host&quot;: &quot;A String&quot;, # Required. The host. Must be set to &quot;*&quot; for Managed Service for Apache Kafka.
167 &quot;operation&quot;: &quot;A String&quot;, # Required. The operation type. Allowed values are (case insensitive): ALL, READ, WRITE, CREATE, DELETE, ALTER, DESCRIBE, CLUSTER_ACTION, DESCRIBE_CONFIGS, ALTER_CONFIGS, and IDEMPOTENT_WRITE. See https://kafka.apache.org/documentation/#operations_resources_and_protocols for valid combinations of resource_type and operation for different Kafka API requests.
168 &quot;permissionType&quot;: &quot;A String&quot;, # Required. The permission type. Accepted values are (case insensitive): ALLOW, DENY.
169 &quot;principal&quot;: &quot;A String&quot;, # Required. The principal. Specified as Google Cloud account, with the Kafka StandardAuthorizer prefix &quot;User:&quot;. For example: &quot;User:[email protected]&quot;. Can be the wildcard &quot;User:*&quot; to refer to all users.
170 },
171 ],
172 &quot;etag&quot;: &quot;A String&quot;, # Optional. `etag` is used for concurrency control. An `etag` is returned in the response to `GetAcl` and `CreateAcl`. Callers are required to put that etag in the request to `UpdateAcl` to ensure that their change will be applied to the same version of the acl that exists in the Kafka Cluster. A terminal &#x27;T&#x27; character in the etag indicates that the AclEntries were truncated; more entries for the Acl exist on the Kafka Cluster, but can&#x27;t be returned in the Acl due to repeated field limits.
173 &quot;name&quot;: &quot;A String&quot;, # Identifier. The name for the acl. Represents a single Resource Pattern. 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. `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 &quot;*&quot;): `allTopics` (represents `topic/*`) `allConsumerGroups` (represents `consumerGroup/*`) `allTransactionalIds` (represents `transactionalId/*`)
174 &quot;patternType&quot;: &quot;A String&quot;, # Output only. The ACL pattern type derived from the name. One of: LITERAL, PREFIXED.
175 &quot;resourceName&quot;: &quot;A String&quot;, # Output only. The ACL resource name derived from the name. For cluster resource_type, this is always &quot;kafka-cluster&quot;. Can be the wildcard literal &quot;*&quot;.
176 &quot;resourceType&quot;: &quot;A String&quot;, # Output only. The ACL resource type derived from the name. One of: CLUSTER, TOPIC, GROUP, TRANSACTIONAL_ID.
177 }
178
179 aclId: string, Required. The ID to use for the acl, which will become the final component of the acl&#x27;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 &quot;*&quot;): `allTopics` (represents `topic/*`) `allConsumerGroups` (represents `consumerGroup/*`) `allTransactionalIds` (represents `transactionalId/*`)
180 x__xgafv: string, V1 error format.
181 Allowed values
182 1 - v1 error format
183 2 - v2 error format
184
185 Returns:
186 An object of the form:
187
188 { # Represents the set of ACLs for a given Kafka Resource Pattern, which consists of resource_type, resource_name and pattern_type.
189 &quot;aclEntries&quot;: [ # Required. The ACL entries that apply to the resource pattern. The maximum number of allowed entries 100.
190 { # Represents the access granted for a given Resource Pattern in an ACL.
191 &quot;host&quot;: &quot;A String&quot;, # Required. The host. Must be set to &quot;*&quot; for Managed Service for Apache Kafka.
192 &quot;operation&quot;: &quot;A String&quot;, # Required. The operation type. Allowed values are (case insensitive): ALL, READ, WRITE, CREATE, DELETE, ALTER, DESCRIBE, CLUSTER_ACTION, DESCRIBE_CONFIGS, ALTER_CONFIGS, and IDEMPOTENT_WRITE. See https://kafka.apache.org/documentation/#operations_resources_and_protocols for valid combinations of resource_type and operation for different Kafka API requests.
193 &quot;permissionType&quot;: &quot;A String&quot;, # Required. The permission type. Accepted values are (case insensitive): ALLOW, DENY.
194 &quot;principal&quot;: &quot;A String&quot;, # Required. The principal. Specified as Google Cloud account, with the Kafka StandardAuthorizer prefix &quot;User:&quot;. For example: &quot;User:[email protected]&quot;. Can be the wildcard &quot;User:*&quot; to refer to all users.
195 },
196 ],
197 &quot;etag&quot;: &quot;A String&quot;, # Optional. `etag` is used for concurrency control. An `etag` is returned in the response to `GetAcl` and `CreateAcl`. Callers are required to put that etag in the request to `UpdateAcl` to ensure that their change will be applied to the same version of the acl that exists in the Kafka Cluster. A terminal &#x27;T&#x27; character in the etag indicates that the AclEntries were truncated; more entries for the Acl exist on the Kafka Cluster, but can&#x27;t be returned in the Acl due to repeated field limits.
198 &quot;name&quot;: &quot;A String&quot;, # Identifier. The name for the acl. Represents a single Resource Pattern. 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. `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 &quot;*&quot;): `allTopics` (represents `topic/*`) `allConsumerGroups` (represents `consumerGroup/*`) `allTransactionalIds` (represents `transactionalId/*`)
199 &quot;patternType&quot;: &quot;A String&quot;, # Output only. The ACL pattern type derived from the name. One of: LITERAL, PREFIXED.
200 &quot;resourceName&quot;: &quot;A String&quot;, # Output only. The ACL resource name derived from the name. For cluster resource_type, this is always &quot;kafka-cluster&quot;. Can be the wildcard literal &quot;*&quot;.
201 &quot;resourceType&quot;: &quot;A String&quot;, # Output only. The ACL resource type derived from the name. One of: CLUSTER, TOPIC, GROUP, TRANSACTIONAL_ID.
202 }</pre>
203 </div>
204
205 <div class="method">
206 <code class="details" id="delete">delete(name, x__xgafv=None)</code>
207 <pre>Deletes an acl.
208
209 Args:
210 name: string, Required. The name of the acl to delete. 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. (required)
211 x__xgafv: string, V1 error format.
212 Allowed values
213 1 - v1 error format
214 2 - v2 error format
215
216 Returns:
217 An object of the form:
218
219 { # A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); }
220 }</pre>
221 </div>
222
223 <div class="method">
224 <code class="details" id="get">get(name, x__xgafv=None)</code>
225 <pre>Returns the properties of a single acl.
226
227 Args:
228 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. (required)
229 x__xgafv: string, V1 error format.
230 Allowed values
231 1 - v1 error format
232 2 - v2 error format
233
234 Returns:
235 An object of the form:
236
237 { # Represents the set of ACLs for a given Kafka Resource Pattern, which consists of resource_type, resource_name and pattern_type.
238 &quot;aclEntries&quot;: [ # Required. The ACL entries that apply to the resource pattern. The maximum number of allowed entries 100.
239 { # Represents the access granted for a given Resource Pattern in an ACL.
240 &quot;host&quot;: &quot;A String&quot;, # Required. The host. Must be set to &quot;*&quot; for Managed Service for Apache Kafka.
241 &quot;operation&quot;: &quot;A String&quot;, # Required. The operation type. Allowed values are (case insensitive): ALL, READ, WRITE, CREATE, DELETE, ALTER, DESCRIBE, CLUSTER_ACTION, DESCRIBE_CONFIGS, ALTER_CONFIGS, and IDEMPOTENT_WRITE. See https://kafka.apache.org/documentation/#operations_resources_and_protocols for valid combinations of resource_type and operation for different Kafka API requests.
242 &quot;permissionType&quot;: &quot;A String&quot;, # Required. The permission type. Accepted values are (case insensitive): ALLOW, DENY.
243 &quot;principal&quot;: &quot;A String&quot;, # Required. The principal. Specified as Google Cloud account, with the Kafka StandardAuthorizer prefix &quot;User:&quot;. For example: &quot;User:[email protected]&quot;. Can be the wildcard &quot;User:*&quot; to refer to all users.
244 },
245 ],
246 &quot;etag&quot;: &quot;A String&quot;, # Optional. `etag` is used for concurrency control. An `etag` is returned in the response to `GetAcl` and `CreateAcl`. Callers are required to put that etag in the request to `UpdateAcl` to ensure that their change will be applied to the same version of the acl that exists in the Kafka Cluster. A terminal &#x27;T&#x27; character in the etag indicates that the AclEntries were truncated; more entries for the Acl exist on the Kafka Cluster, but can&#x27;t be returned in the Acl due to repeated field limits.
247 &quot;name&quot;: &quot;A String&quot;, # Identifier. The name for the acl. Represents a single Resource Pattern. 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. `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 &quot;*&quot;): `allTopics` (represents `topic/*`) `allConsumerGroups` (represents `consumerGroup/*`) `allTransactionalIds` (represents `transactionalId/*`)
248 &quot;patternType&quot;: &quot;A String&quot;, # Output only. The ACL pattern type derived from the name. One of: LITERAL, PREFIXED.
249 &quot;resourceName&quot;: &quot;A String&quot;, # Output only. The ACL resource name derived from the name. For cluster resource_type, this is always &quot;kafka-cluster&quot;. Can be the wildcard literal &quot;*&quot;.
250 &quot;resourceType&quot;: &quot;A String&quot;, # Output only. The ACL resource type derived from the name. One of: CLUSTER, TOPIC, GROUP, TRANSACTIONAL_ID.
251 }</pre>
252 </div>
253
254 <div class="method">
255 <code class="details" id="list">list(parent, pageSize=None, pageToken=None, x__xgafv=None)</code>
256 <pre>Lists the acls in a given cluster.
257
258 Args:
259 parent: string, Required. The parent cluster whose acls are to be listed. Structured like `projects/{project}/locations/{location}/clusters/{cluster}`. (required)
260 pageSize: integer, Optional. The maximum number of acls to return. The service may return fewer than this value. If unset or zero, all acls for the parent is returned.
261 pageToken: string, Optional. A page token, received from a previous `ListAcls` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListAcls` must match the call that provided the page token.
262 x__xgafv: string, V1 error format.
263 Allowed values
264 1 - v1 error format
265 2 - v2 error format
266
267 Returns:
268 An object of the form:
269
270 { # Response for ListAcls.
271 &quot;acls&quot;: [ # The list of acls in the requested parent. The order of the acls is unspecified.
272 { # Represents the set of ACLs for a given Kafka Resource Pattern, which consists of resource_type, resource_name and pattern_type.
273 &quot;aclEntries&quot;: [ # Required. The ACL entries that apply to the resource pattern. The maximum number of allowed entries 100.
274 { # Represents the access granted for a given Resource Pattern in an ACL.
275 &quot;host&quot;: &quot;A String&quot;, # Required. The host. Must be set to &quot;*&quot; for Managed Service for Apache Kafka.
276 &quot;operation&quot;: &quot;A String&quot;, # Required. The operation type. Allowed values are (case insensitive): ALL, READ, WRITE, CREATE, DELETE, ALTER, DESCRIBE, CLUSTER_ACTION, DESCRIBE_CONFIGS, ALTER_CONFIGS, and IDEMPOTENT_WRITE. See https://kafka.apache.org/documentation/#operations_resources_and_protocols for valid combinations of resource_type and operation for different Kafka API requests.
277 &quot;permissionType&quot;: &quot;A String&quot;, # Required. The permission type. Accepted values are (case insensitive): ALLOW, DENY.
278 &quot;principal&quot;: &quot;A String&quot;, # Required. The principal. Specified as Google Cloud account, with the Kafka StandardAuthorizer prefix &quot;User:&quot;. For example: &quot;User:[email protected]&quot;. Can be the wildcard &quot;User:*&quot; to refer to all users.
279 },
280 ],
281 &quot;etag&quot;: &quot;A String&quot;, # Optional. `etag` is used for concurrency control. An `etag` is returned in the response to `GetAcl` and `CreateAcl`. Callers are required to put that etag in the request to `UpdateAcl` to ensure that their change will be applied to the same version of the acl that exists in the Kafka Cluster. A terminal &#x27;T&#x27; character in the etag indicates that the AclEntries were truncated; more entries for the Acl exist on the Kafka Cluster, but can&#x27;t be returned in the Acl due to repeated field limits.
282 &quot;name&quot;: &quot;A String&quot;, # Identifier. The name for the acl. Represents a single Resource Pattern. 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. `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 &quot;*&quot;): `allTopics` (represents `topic/*`) `allConsumerGroups` (represents `consumerGroup/*`) `allTransactionalIds` (represents `transactionalId/*`)
283 &quot;patternType&quot;: &quot;A String&quot;, # Output only. The ACL pattern type derived from the name. One of: LITERAL, PREFIXED.
284 &quot;resourceName&quot;: &quot;A String&quot;, # Output only. The ACL resource name derived from the name. For cluster resource_type, this is always &quot;kafka-cluster&quot;. Can be the wildcard literal &quot;*&quot;.
285 &quot;resourceType&quot;: &quot;A String&quot;, # Output only. The ACL resource type derived from the name. One of: CLUSTER, TOPIC, GROUP, TRANSACTIONAL_ID.
286 },
287 ],
288 &quot;nextPageToken&quot;: &quot;A String&quot;, # A token that can be sent as `page_token` to retrieve the next page of results. If this field is omitted, there are no more results.
289 }</pre>
290 </div>
291
292 <div class="method">
293 <code class="details" id="list_next">list_next()</code>
294 <pre>Retrieves the next page of results.
295
296 Args:
297 previous_request: The request for the previous page. (required)
298 previous_response: The response from the request for the previous page. (required)
299
300 Returns:
301 A request object that you can call &#x27;execute()&#x27; on to request the next
302 page. Returns None if there are no more items in the collection.
303 </pre>
304 </div>
305
306 <div class="method">
307 <code class="details" id="patch">patch(name, body=None, updateMask=None, x__xgafv=None)</code>
308 <pre>Updates the properties of a single acl.
309
310 Args:
311 name: string, Identifier. The name for the acl. Represents a single Resource Pattern. 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. `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 &quot;*&quot;): `allTopics` (represents `topic/*`) `allConsumerGroups` (represents `consumerGroup/*`) `allTransactionalIds` (represents `transactionalId/*`) (required)
312 body: object, The request body.
313 The object takes the form of:
314
315 { # Represents the set of ACLs for a given Kafka Resource Pattern, which consists of resource_type, resource_name and pattern_type.
316 &quot;aclEntries&quot;: [ # Required. The ACL entries that apply to the resource pattern. The maximum number of allowed entries 100.
317 { # Represents the access granted for a given Resource Pattern in an ACL.
318 &quot;host&quot;: &quot;A String&quot;, # Required. The host. Must be set to &quot;*&quot; for Managed Service for Apache Kafka.
319 &quot;operation&quot;: &quot;A String&quot;, # Required. The operation type. Allowed values are (case insensitive): ALL, READ, WRITE, CREATE, DELETE, ALTER, DESCRIBE, CLUSTER_ACTION, DESCRIBE_CONFIGS, ALTER_CONFIGS, and IDEMPOTENT_WRITE. See https://kafka.apache.org/documentation/#operations_resources_and_protocols for valid combinations of resource_type and operation for different Kafka API requests.
320 &quot;permissionType&quot;: &quot;A String&quot;, # Required. The permission type. Accepted values are (case insensitive): ALLOW, DENY.
321 &quot;principal&quot;: &quot;A String&quot;, # Required. The principal. Specified as Google Cloud account, with the Kafka StandardAuthorizer prefix &quot;User:&quot;. For example: &quot;User:[email protected]&quot;. Can be the wildcard &quot;User:*&quot; to refer to all users.
322 },
323 ],
324 &quot;etag&quot;: &quot;A String&quot;, # Optional. `etag` is used for concurrency control. An `etag` is returned in the response to `GetAcl` and `CreateAcl`. Callers are required to put that etag in the request to `UpdateAcl` to ensure that their change will be applied to the same version of the acl that exists in the Kafka Cluster. A terminal &#x27;T&#x27; character in the etag indicates that the AclEntries were truncated; more entries for the Acl exist on the Kafka Cluster, but can&#x27;t be returned in the Acl due to repeated field limits.
325 &quot;name&quot;: &quot;A String&quot;, # Identifier. The name for the acl. Represents a single Resource Pattern. 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. `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 &quot;*&quot;): `allTopics` (represents `topic/*`) `allConsumerGroups` (represents `consumerGroup/*`) `allTransactionalIds` (represents `transactionalId/*`)
326 &quot;patternType&quot;: &quot;A String&quot;, # Output only. The ACL pattern type derived from the name. One of: LITERAL, PREFIXED.
327 &quot;resourceName&quot;: &quot;A String&quot;, # Output only. The ACL resource name derived from the name. For cluster resource_type, this is always &quot;kafka-cluster&quot;. Can be the wildcard literal &quot;*&quot;.
328 &quot;resourceType&quot;: &quot;A String&quot;, # Output only. The ACL resource type derived from the name. One of: CLUSTER, TOPIC, GROUP, TRANSACTIONAL_ID.
329 }
330
331 updateMask: string, Optional. Field mask is used to specify the fields to be overwritten in the Acl resource by the update. The fields specified in the update_mask are relative to the resource, not the full request. A field will be overwritten if it is in the mask.
332 x__xgafv: string, V1 error format.
333 Allowed values
334 1 - v1 error format
335 2 - v2 error format
336
337 Returns:
338 An object of the form:
339
340 { # Represents the set of ACLs for a given Kafka Resource Pattern, which consists of resource_type, resource_name and pattern_type.
341 &quot;aclEntries&quot;: [ # Required. The ACL entries that apply to the resource pattern. The maximum number of allowed entries 100.
342 { # Represents the access granted for a given Resource Pattern in an ACL.
343 &quot;host&quot;: &quot;A String&quot;, # Required. The host. Must be set to &quot;*&quot; for Managed Service for Apache Kafka.
344 &quot;operation&quot;: &quot;A String&quot;, # Required. The operation type. Allowed values are (case insensitive): ALL, READ, WRITE, CREATE, DELETE, ALTER, DESCRIBE, CLUSTER_ACTION, DESCRIBE_CONFIGS, ALTER_CONFIGS, and IDEMPOTENT_WRITE. See https://kafka.apache.org/documentation/#operations_resources_and_protocols for valid combinations of resource_type and operation for different Kafka API requests.
345 &quot;permissionType&quot;: &quot;A String&quot;, # Required. The permission type. Accepted values are (case insensitive): ALLOW, DENY.
346 &quot;principal&quot;: &quot;A String&quot;, # Required. The principal. Specified as Google Cloud account, with the Kafka StandardAuthorizer prefix &quot;User:&quot;. For example: &quot;User:[email protected]&quot;. Can be the wildcard &quot;User:*&quot; to refer to all users.
347 },
348 ],
349 &quot;etag&quot;: &quot;A String&quot;, # Optional. `etag` is used for concurrency control. An `etag` is returned in the response to `GetAcl` and `CreateAcl`. Callers are required to put that etag in the request to `UpdateAcl` to ensure that their change will be applied to the same version of the acl that exists in the Kafka Cluster. A terminal &#x27;T&#x27; character in the etag indicates that the AclEntries were truncated; more entries for the Acl exist on the Kafka Cluster, but can&#x27;t be returned in the Acl due to repeated field limits.
350 &quot;name&quot;: &quot;A String&quot;, # Identifier. The name for the acl. Represents a single Resource Pattern. 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. `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 &quot;*&quot;): `allTopics` (represents `topic/*`) `allConsumerGroups` (represents `consumerGroup/*`) `allTransactionalIds` (represents `transactionalId/*`)
351 &quot;patternType&quot;: &quot;A String&quot;, # Output only. The ACL pattern type derived from the name. One of: LITERAL, PREFIXED.
352 &quot;resourceName&quot;: &quot;A String&quot;, # Output only. The ACL resource name derived from the name. For cluster resource_type, this is always &quot;kafka-cluster&quot;. Can be the wildcard literal &quot;*&quot;.
353 &quot;resourceType&quot;: &quot;A String&quot;, # Output only. The ACL resource type derived from the name. One of: CLUSTER, TOPIC, GROUP, TRANSACTIONAL_ID.
354 }</pre>
355 </div>
356
357 <div class="method">
358 <code class="details" id="removeAclEntry">removeAclEntry(acl, body=None, x__xgafv=None)</code>
359 <pre>Incremental update: Removes an acl entry from an acl. Deletes the acl if its acl entries become empty (i.e. if the removed entry was the last one in the acl).
360
361 Args:
362 acl: string, Required. The name of the acl to remove the acl entry from. 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. (required)
363 body: object, The request body.
364 The object takes the form of:
365
366 { # Represents the access granted for a given Resource Pattern in an ACL.
367 &quot;host&quot;: &quot;A String&quot;, # Required. The host. Must be set to &quot;*&quot; for Managed Service for Apache Kafka.
368 &quot;operation&quot;: &quot;A String&quot;, # Required. The operation type. Allowed values are (case insensitive): ALL, READ, WRITE, CREATE, DELETE, ALTER, DESCRIBE, CLUSTER_ACTION, DESCRIBE_CONFIGS, ALTER_CONFIGS, and IDEMPOTENT_WRITE. See https://kafka.apache.org/documentation/#operations_resources_and_protocols for valid combinations of resource_type and operation for different Kafka API requests.
369 &quot;permissionType&quot;: &quot;A String&quot;, # Required. The permission type. Accepted values are (case insensitive): ALLOW, DENY.
370 &quot;principal&quot;: &quot;A String&quot;, # Required. The principal. Specified as Google Cloud account, with the Kafka StandardAuthorizer prefix &quot;User:&quot;. For example: &quot;User:[email protected]&quot;. Can be the wildcard &quot;User:*&quot; to refer to all users.
371 }
372
373 x__xgafv: string, V1 error format.
374 Allowed values
375 1 - v1 error format
376 2 - v2 error format
377
378 Returns:
379 An object of the form:
380
381 { # Response for RemoveAclEntry.
382 &quot;acl&quot;: { # Represents the set of ACLs for a given Kafka Resource Pattern, which consists of resource_type, resource_name and pattern_type. # The updated acl. Returned if the removed acl entry was not the last entry in the acl.
383 &quot;aclEntries&quot;: [ # Required. The ACL entries that apply to the resource pattern. The maximum number of allowed entries 100.
384 { # Represents the access granted for a given Resource Pattern in an ACL.
385 &quot;host&quot;: &quot;A String&quot;, # Required. The host. Must be set to &quot;*&quot; for Managed Service for Apache Kafka.
386 &quot;operation&quot;: &quot;A String&quot;, # Required. The operation type. Allowed values are (case insensitive): ALL, READ, WRITE, CREATE, DELETE, ALTER, DESCRIBE, CLUSTER_ACTION, DESCRIBE_CONFIGS, ALTER_CONFIGS, and IDEMPOTENT_WRITE. See https://kafka.apache.org/documentation/#operations_resources_and_protocols for valid combinations of resource_type and operation for different Kafka API requests.
387 &quot;permissionType&quot;: &quot;A String&quot;, # Required. The permission type. Accepted values are (case insensitive): ALLOW, DENY.
388 &quot;principal&quot;: &quot;A String&quot;, # Required. The principal. Specified as Google Cloud account, with the Kafka StandardAuthorizer prefix &quot;User:&quot;. For example: &quot;User:[email protected]&quot;. Can be the wildcard &quot;User:*&quot; to refer to all users.
389 },
390 ],
391 &quot;etag&quot;: &quot;A String&quot;, # Optional. `etag` is used for concurrency control. An `etag` is returned in the response to `GetAcl` and `CreateAcl`. Callers are required to put that etag in the request to `UpdateAcl` to ensure that their change will be applied to the same version of the acl that exists in the Kafka Cluster. A terminal &#x27;T&#x27; character in the etag indicates that the AclEntries were truncated; more entries for the Acl exist on the Kafka Cluster, but can&#x27;t be returned in the Acl due to repeated field limits.
392 &quot;name&quot;: &quot;A String&quot;, # Identifier. The name for the acl. Represents a single Resource Pattern. 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. `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 &quot;*&quot;): `allTopics` (represents `topic/*`) `allConsumerGroups` (represents `consumerGroup/*`) `allTransactionalIds` (represents `transactionalId/*`)
393 &quot;patternType&quot;: &quot;A String&quot;, # Output only. The ACL pattern type derived from the name. One of: LITERAL, PREFIXED.
394 &quot;resourceName&quot;: &quot;A String&quot;, # Output only. The ACL resource name derived from the name. For cluster resource_type, this is always &quot;kafka-cluster&quot;. Can be the wildcard literal &quot;*&quot;.
395 &quot;resourceType&quot;: &quot;A String&quot;, # Output only. The ACL resource type derived from the name. One of: CLUSTER, TOPIC, GROUP, TRANSACTIONAL_ID.
396 },
397 &quot;aclDeleted&quot;: True or False, # Returned with value true if the removed acl entry was the last entry in the acl, resulting in acl deletion.
398 }</pre>
399 </div>
400
401 </body></html>