Debian Codegraph @

docs/dyn/managedkafka_v1.projects.locations.clusters.consumerGroups.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.consumerGroups.html">consumerGroups</a></h1>
76 <h2>Instance Methods</h2>
77 <p class="toc_element">
78 <code><a href="#close">close()</a></code></p>
79 <p class="firstline">Close httplib2 connections.</p>
80 <p class="toc_element">
81 <code><a href="#delete">delete(name, x__xgafv=None)</a></code></p>
82 <p class="firstline">Deletes a single consumer group.</p>
83 <p class="toc_element">
84 <code><a href="#get">get(name, x__xgafv=None)</a></code></p>
85 <p class="firstline">Returns the properties of a single consumer group.</p>
86 <p class="toc_element">
87 <code><a href="#list">list(parent, filter=None, pageSize=None, pageToken=None, view=None, x__xgafv=None)</a></code></p>
88 <p class="firstline">Lists the consumer groups in a given cluster.</p>
89 <p class="toc_element">
90 <code><a href="#list_next">list_next()</a></code></p>
91 <p class="firstline">Retrieves the next page of results.</p>
92 <p class="toc_element">
93 <code><a href="#patch">patch(name, body=None, updateMask=None, x__xgafv=None)</a></code></p>
94 <p class="firstline">Updates the properties of a single consumer group.</p>
95 <h3>Method Details</h3>
96 <div class="method">
97 <code class="details" id="close">close()</code>
98 <pre>Close httplib2 connections.</pre>
99 </div>
100
101 <div class="method">
102 <code class="details" id="delete">delete(name, x__xgafv=None)</code>
103 <pre>Deletes a single consumer group.
104
105 Args:
106 name: string, Required. The name of the consumer group to delete. `projects/{project}/locations/{location}/clusters/{cluster}/consumerGroups/{consumerGroup}`. (required)
107 x__xgafv: string, V1 error format.
108 Allowed values
109 1 - v1 error format
110 2 - v2 error format
111
112 Returns:
113 An object of the form:
114
115 { # 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); }
116 }</pre>
117 </div>
118
119 <div class="method">
120 <code class="details" id="get">get(name, x__xgafv=None)</code>
121 <pre>Returns the properties of a single consumer group.
122
123 Args:
124 name: string, Required. The name of the consumer group whose configuration to return. `projects/{project}/locations/{location}/clusters/{cluster}/consumerGroups/{consumerGroup}`. (required)
125 x__xgafv: string, V1 error format.
126 Allowed values
127 1 - v1 error format
128 2 - v2 error format
129
130 Returns:
131 An object of the form:
132
133 { # A Kafka consumer group in a given cluster.
134 &quot;name&quot;: &quot;A String&quot;, # Identifier. The name of the consumer group. The `consumer_group` segment is used when connecting directly to the cluster. Structured like: projects/{project}/locations/{location}/clusters/{cluster}/consumerGroups/{consumer_group}
135 &quot;topics&quot;: { # Optional. Metadata for this consumer group for all topics it has metadata for. The key of the map is a topic name, structured like: projects/{project}/locations/{location}/clusters/{cluster}/topics/{topic}
136 &quot;a_key&quot;: { # Metadata for a consumer group corresponding to a specific topic.
137 &quot;partitions&quot;: { # Optional. Metadata for this consumer group and topic for all partition indexes it has metadata for.
138 &quot;a_key&quot;: { # Metadata for a consumer group corresponding to a specific partition.
139 &quot;metadata&quot;: &quot;A String&quot;, # Optional. The associated metadata for this partition, or empty if it does not exist.
140 &quot;offset&quot;: &quot;A String&quot;, # Required. The current offset for this partition, or 0 if no offset has been committed.
141 },
142 },
143 },
144 },
145 }</pre>
146 </div>
147
148 <div class="method">
149 <code class="details" id="list">list(parent, filter=None, pageSize=None, pageToken=None, view=None, x__xgafv=None)</code>
150 <pre>Lists the consumer groups in a given cluster.
151
152 Args:
153 parent: string, Required. The parent cluster whose consumer groups are to be listed. Structured like `projects/{project}/locations/{location}/clusters/{cluster}`. (required)
154 filter: string, Optional. Filter expression for the result. Only supports filtering by topic name as a key in the `topics` map.
155 pageSize: integer, Optional. The maximum number of consumer groups to return. The service may return fewer than this value. If unset or zero, all consumer groups for the parent is returned.
156 pageToken: string, Optional. A page token, received from a previous `ListConsumerGroups` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListConsumerGroups` must match the call that provided the page token.
157 view: string, Optional. Specifies the view (BASIC or FULL) of the ConsumerGroup resource to be returned in the response. Defaults to FULL view.
158 Allowed values
159 CONSUMER_GROUP_VIEW_UNSPECIFIED - The default / unset value. The API will default to the FULL view.
160 CONSUMER_GROUP_VIEW_BASIC - Include the name of the ConsumerGroup. This hides partition and topic metadata.
161 CONSUMER_GROUP_VIEW_FULL - Include everything, including partition and topic metadata. This is the default value.
162 x__xgafv: string, V1 error format.
163 Allowed values
164 1 - v1 error format
165 2 - v2 error format
166
167 Returns:
168 An object of the form:
169
170 { # Response for ListConsumerGroups.
171 &quot;consumerGroups&quot;: [ # The list of consumer group in the requested parent. The order of the consumer groups is unspecified.
172 { # A Kafka consumer group in a given cluster.
173 &quot;name&quot;: &quot;A String&quot;, # Identifier. The name of the consumer group. The `consumer_group` segment is used when connecting directly to the cluster. Structured like: projects/{project}/locations/{location}/clusters/{cluster}/consumerGroups/{consumer_group}
174 &quot;topics&quot;: { # Optional. Metadata for this consumer group for all topics it has metadata for. The key of the map is a topic name, structured like: projects/{project}/locations/{location}/clusters/{cluster}/topics/{topic}
175 &quot;a_key&quot;: { # Metadata for a consumer group corresponding to a specific topic.
176 &quot;partitions&quot;: { # Optional. Metadata for this consumer group and topic for all partition indexes it has metadata for.
177 &quot;a_key&quot;: { # Metadata for a consumer group corresponding to a specific partition.
178 &quot;metadata&quot;: &quot;A String&quot;, # Optional. The associated metadata for this partition, or empty if it does not exist.
179 &quot;offset&quot;: &quot;A String&quot;, # Required. The current offset for this partition, or 0 if no offset has been committed.
180 },
181 },
182 },
183 },
184 },
185 ],
186 &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.
187 }</pre>
188 </div>
189
190 <div class="method">
191 <code class="details" id="list_next">list_next()</code>
192 <pre>Retrieves the next page of results.
193
194 Args:
195 previous_request: The request for the previous page. (required)
196 previous_response: The response from the request for the previous page. (required)
197
198 Returns:
199 A request object that you can call &#x27;execute()&#x27; on to request the next
200 page. Returns None if there are no more items in the collection.
201 </pre>
202 </div>
203
204 <div class="method">
205 <code class="details" id="patch">patch(name, body=None, updateMask=None, x__xgafv=None)</code>
206 <pre>Updates the properties of a single consumer group.
207
208 Args:
209 name: string, Identifier. The name of the consumer group. The `consumer_group` segment is used when connecting directly to the cluster. Structured like: projects/{project}/locations/{location}/clusters/{cluster}/consumerGroups/{consumer_group} (required)
210 body: object, The request body.
211 The object takes the form of:
212
213 { # A Kafka consumer group in a given cluster.
214 &quot;name&quot;: &quot;A String&quot;, # Identifier. The name of the consumer group. The `consumer_group` segment is used when connecting directly to the cluster. Structured like: projects/{project}/locations/{location}/clusters/{cluster}/consumerGroups/{consumer_group}
215 &quot;topics&quot;: { # Optional. Metadata for this consumer group for all topics it has metadata for. The key of the map is a topic name, structured like: projects/{project}/locations/{location}/clusters/{cluster}/topics/{topic}
216 &quot;a_key&quot;: { # Metadata for a consumer group corresponding to a specific topic.
217 &quot;partitions&quot;: { # Optional. Metadata for this consumer group and topic for all partition indexes it has metadata for.
218 &quot;a_key&quot;: { # Metadata for a consumer group corresponding to a specific partition.
219 &quot;metadata&quot;: &quot;A String&quot;, # Optional. The associated metadata for this partition, or empty if it does not exist.
220 &quot;offset&quot;: &quot;A String&quot;, # Required. The current offset for this partition, or 0 if no offset has been committed.
221 },
222 },
223 },
224 },
225 }
226
227 updateMask: string, Required. Field mask is used to specify the fields to be overwritten in the ConsumerGroup 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. The mask is required and a value of * will update all fields.
228 x__xgafv: string, V1 error format.
229 Allowed values
230 1 - v1 error format
231 2 - v2 error format
232
233 Returns:
234 An object of the form:
235
236 { # A Kafka consumer group in a given cluster.
237 &quot;name&quot;: &quot;A String&quot;, # Identifier. The name of the consumer group. The `consumer_group` segment is used when connecting directly to the cluster. Structured like: projects/{project}/locations/{location}/clusters/{cluster}/consumerGroups/{consumer_group}
238 &quot;topics&quot;: { # Optional. Metadata for this consumer group for all topics it has metadata for. The key of the map is a topic name, structured like: projects/{project}/locations/{location}/clusters/{cluster}/topics/{topic}
239 &quot;a_key&quot;: { # Metadata for a consumer group corresponding to a specific topic.
240 &quot;partitions&quot;: { # Optional. Metadata for this consumer group and topic for all partition indexes it has metadata for.
241 &quot;a_key&quot;: { # Metadata for a consumer group corresponding to a specific partition.
242 &quot;metadata&quot;: &quot;A String&quot;, # Optional. The associated metadata for this partition, or empty if it does not exist.
243 &quot;offset&quot;: &quot;A String&quot;, # Required. The current offset for this partition, or 0 if no offset has been committed.
244 },
245 },
246 },
247 },
248 }</pre>
249 </div>
250
251 </body></html>