Debian Codegraph @

docs/dyn/managedkafka_v1.projects.locations.connectClusters.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.connectClusters.html">connectClusters</a></h1>
76 <h2>Instance Methods</h2>
77 <p class="toc_element">
78 <code><a href="managedkafka_v1.projects.locations.connectClusters.connectors.html">connectors()</a></code>
79 </p>
80 <p class="firstline">Returns the connectors Resource.</p>
81
82 <p class="toc_element">
83 <code><a href="#close">close()</a></code></p>
84 <p class="firstline">Close httplib2 connections.</p>
85 <p class="toc_element">
86 <code><a href="#create">create(parent, body=None, connectClusterId=None, requestId=None, x__xgafv=None)</a></code></p>
87 <p class="firstline">Creates a new Kafka Connect cluster in a given project and location.</p>
88 <p class="toc_element">
89 <code><a href="#delete">delete(name, requestId=None, x__xgafv=None)</a></code></p>
90 <p class="firstline">Deletes a single Connect cluster.</p>
91 <p class="toc_element">
92 <code><a href="#get">get(name, x__xgafv=None)</a></code></p>
93 <p class="firstline">Returns the properties of a single Kafka Connect cluster.</p>
94 <p class="toc_element">
95 <code><a href="#list">list(parent, filter=None, orderBy=None, pageSize=None, pageToken=None, x__xgafv=None)</a></code></p>
96 <p class="firstline">Lists the Kafka Connect clusters in a given project and location.</p>
97 <p class="toc_element">
98 <code><a href="#list_next">list_next()</a></code></p>
99 <p class="firstline">Retrieves the next page of results.</p>
100 <p class="toc_element">
101 <code><a href="#patch">patch(name, body=None, requestId=None, updateMask=None, x__xgafv=None)</a></code></p>
102 <p class="firstline">Updates the properties of a single Kafka Connect cluster.</p>
103 <h3>Method Details</h3>
104 <div class="method">
105 <code class="details" id="close">close()</code>
106 <pre>Close httplib2 connections.</pre>
107 </div>
108
109 <div class="method">
110 <code class="details" id="create">create(parent, body=None, connectClusterId=None, requestId=None, x__xgafv=None)</code>
111 <pre>Creates a new Kafka Connect cluster in a given project and location.
112
113 Args:
114 parent: string, Required. The parent project/location in which to create the Kafka Connect cluster. Structured like `projects/{project}/locations/{location}/`. (required)
115 body: object, The request body.
116 The object takes the form of:
117
118 { # An Apache Kafka Connect cluster deployed in a location.
119 &quot;capacityConfig&quot;: { # A capacity configuration of a Kafka cluster. # Required. Capacity configuration for the Kafka Connect cluster.
120 &quot;memoryBytes&quot;: &quot;A String&quot;, # Required. The memory to provision for the cluster in bytes. The CPU:memory ratio (vCPU:GiB) must be between 1:1 and 1:8. Minimum: 3221225472 (3 GiB).
121 &quot;vcpuCount&quot;: &quot;A String&quot;, # Required. The number of vCPUs to provision for the cluster. Minimum: 3.
122 },
123 &quot;config&quot;: { # Optional. Reserved for future use. This field is meant for worker config overrides, but is unsupported for now.
124 &quot;a_key&quot;: &quot;A String&quot;,
125 },
126 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The time when the cluster was created.
127 &quot;gcpConfig&quot;: { # Configuration properties for a Kafka Connect cluster deployed to Google Cloud Platform. # Required. Configuration properties for a Kafka Connect cluster deployed to Google Cloud Platform.
128 &quot;accessConfig&quot;: { # The configuration of access to the Kafka Connect cluster. # Required. Access configuration for the Kafka Connect cluster.
129 &quot;networkConfigs&quot;: [ # Required. Virtual Private Cloud (VPC) networks that must be granted direct access to the Kafka Connect cluster. Minimum of 1 network is required. Maximum 10 networks can be specified.
130 { # The configuration of a Virtual Private Cloud (VPC) network that can access the Kafka Connect cluster.
131 &quot;additionalSubnets&quot;: [ # Optional. Deprecated: Managed Kafka Connect clusters can now reach any endpoint accessible from the primary subnet without the need to define additional subnets. Please see https://cloud.google.com/managed-service-for-apache-kafka/docs/connect-cluster/create-connect-cluster#worker-subnet for more information.
132 &quot;A String&quot;,
133 ],
134 &quot;dnsDomainNames&quot;: [ # Optional. Additional DNS domain names from the subnet&#x27;s network to be made visible to the Connect Cluster. When using MirrorMaker2, it&#x27;s necessary to add the bootstrap address&#x27;s dns domain name of the target cluster to make it visible to the connector. For example: my-kafka-cluster.us-central1.managedkafka.my-project.cloud.goog
135 &quot;A String&quot;,
136 ],
137 &quot;primarySubnet&quot;: &quot;A String&quot;, # Required. VPC subnet to make available to the Kafka Connect cluster. Structured like: projects/{project}/regions/{region}/subnetworks/{subnet_id} It is used to create a Private Service Connect (PSC) interface for the Kafka Connect workers. It must be located in the same region as the Kafka Connect cluster. The CIDR range of the subnet must be within the IPv4 address ranges for private networks, as specified in RFC 1918. The primary subnet CIDR range must have a minimum size of /22 (1024 addresses).
138 },
139 ],
140 },
141 &quot;secretPaths&quot;: [ # Optional. Secrets to load into workers. Exact SecretVersions from Secret Manager must be provided -- aliases are not supported. Up to 32 secrets may be loaded into one cluster. Format: projects//secrets//versions/
142 &quot;A String&quot;,
143 ],
144 },
145 &quot;kafkaCluster&quot;: &quot;A String&quot;, # Required. Immutable. The name of the Kafka cluster this Kafka Connect cluster is attached to. Structured like: projects/{project}/locations/{location}/clusters/{cluster}
146 &quot;labels&quot;: { # Optional. Labels as key value pairs.
147 &quot;a_key&quot;: &quot;A String&quot;,
148 },
149 &quot;name&quot;: &quot;A String&quot;, # Identifier. The name of the Kafka Connect cluster. Structured like: projects/{project_number}/locations/{location}/connectClusters/{connect_cluster_id}
150 &quot;satisfiesPzi&quot;: True or False, # Output only. Reserved for future use.
151 &quot;satisfiesPzs&quot;: True or False, # Output only. Reserved for future use.
152 &quot;state&quot;: &quot;A String&quot;, # Output only. The current state of the Kafka Connect cluster.
153 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time when the cluster was last updated.
154 }
155
156 connectClusterId: string, Required. The ID to use for the Connect cluster, which will become the final component of the cluster&#x27;s name. The ID must be 1-63 characters long, and match the regular expression `[a-z]([-a-z0-9]*[a-z0-9])?` to comply with RFC 1035. This value is structured like: `my-cluster-id`.
157 requestId: string, Optional. An optional request ID to identify requests. Specify a unique request ID to avoid duplication of requests. If a request times out or fails, retrying with the same ID allows the server to recognize the previous attempt. For at least 60 minutes, the server ignores duplicate requests bearing the same ID. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID within 60 minutes of the last request, the server checks if an original operation with the same request ID was received. If so, the server ignores the second request. The request ID must be a valid UUID. A zero UUID is not supported (00000000-0000-0000-0000-000000000000).
158 x__xgafv: string, V1 error format.
159 Allowed values
160 1 - v1 error format
161 2 - v2 error format
162
163 Returns:
164 An object of the form:
165
166 { # This resource represents a long-running operation that is the result of a network API call.
167 &quot;done&quot;: True or False, # If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.
168 &quot;error&quot;: { # The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors). # The error result of the operation in case of failure or cancellation.
169 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
170 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
171 {
172 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
173 },
174 ],
175 &quot;message&quot;: &quot;A String&quot;, # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
176 },
177 &quot;metadata&quot;: { # Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.
178 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
179 },
180 &quot;name&quot;: &quot;A String&quot;, # The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.
181 &quot;response&quot;: { # The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.
182 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
183 },
184 }</pre>
185 </div>
186
187 <div class="method">
188 <code class="details" id="delete">delete(name, requestId=None, x__xgafv=None)</code>
189 <pre>Deletes a single Connect cluster.
190
191 Args:
192 name: string, Required. The name of the Kafka Connect cluster to delete. Structured like `projects/{project}/locations/{location}/connectClusters/{connect_cluster_id}`. (required)
193 requestId: string, Optional. An optional request ID to identify requests. Specify a unique request ID to avoid duplication of requests. If a request times out or fails, retrying with the same ID allows the server to recognize the previous attempt. For at least 60 minutes, the server ignores duplicate requests bearing the same ID. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID within 60 minutes of the last request, the server checks if an original operation with the same request ID was received. If so, the server ignores the second request. The request ID must be a valid UUID. A zero UUID is not supported (00000000-0000-0000-0000-000000000000).
194 x__xgafv: string, V1 error format.
195 Allowed values
196 1 - v1 error format
197 2 - v2 error format
198
199 Returns:
200 An object of the form:
201
202 { # This resource represents a long-running operation that is the result of a network API call.
203 &quot;done&quot;: True or False, # If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.
204 &quot;error&quot;: { # The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors). # The error result of the operation in case of failure or cancellation.
205 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
206 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
207 {
208 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
209 },
210 ],
211 &quot;message&quot;: &quot;A String&quot;, # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
212 },
213 &quot;metadata&quot;: { # Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.
214 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
215 },
216 &quot;name&quot;: &quot;A String&quot;, # The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.
217 &quot;response&quot;: { # The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.
218 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
219 },
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 Kafka Connect cluster.
226
227 Args:
228 name: string, Required. The name of the Kafka Connect cluster whose configuration to return. Structured like `projects/{project}/locations/{location}/connectClusters/{connect_cluster_id}`. (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 { # An Apache Kafka Connect cluster deployed in a location.
238 &quot;capacityConfig&quot;: { # A capacity configuration of a Kafka cluster. # Required. Capacity configuration for the Kafka Connect cluster.
239 &quot;memoryBytes&quot;: &quot;A String&quot;, # Required. The memory to provision for the cluster in bytes. The CPU:memory ratio (vCPU:GiB) must be between 1:1 and 1:8. Minimum: 3221225472 (3 GiB).
240 &quot;vcpuCount&quot;: &quot;A String&quot;, # Required. The number of vCPUs to provision for the cluster. Minimum: 3.
241 },
242 &quot;config&quot;: { # Optional. Reserved for future use. This field is meant for worker config overrides, but is unsupported for now.
243 &quot;a_key&quot;: &quot;A String&quot;,
244 },
245 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The time when the cluster was created.
246 &quot;gcpConfig&quot;: { # Configuration properties for a Kafka Connect cluster deployed to Google Cloud Platform. # Required. Configuration properties for a Kafka Connect cluster deployed to Google Cloud Platform.
247 &quot;accessConfig&quot;: { # The configuration of access to the Kafka Connect cluster. # Required. Access configuration for the Kafka Connect cluster.
248 &quot;networkConfigs&quot;: [ # Required. Virtual Private Cloud (VPC) networks that must be granted direct access to the Kafka Connect cluster. Minimum of 1 network is required. Maximum 10 networks can be specified.
249 { # The configuration of a Virtual Private Cloud (VPC) network that can access the Kafka Connect cluster.
250 &quot;additionalSubnets&quot;: [ # Optional. Deprecated: Managed Kafka Connect clusters can now reach any endpoint accessible from the primary subnet without the need to define additional subnets. Please see https://cloud.google.com/managed-service-for-apache-kafka/docs/connect-cluster/create-connect-cluster#worker-subnet for more information.
251 &quot;A String&quot;,
252 ],
253 &quot;dnsDomainNames&quot;: [ # Optional. Additional DNS domain names from the subnet&#x27;s network to be made visible to the Connect Cluster. When using MirrorMaker2, it&#x27;s necessary to add the bootstrap address&#x27;s dns domain name of the target cluster to make it visible to the connector. For example: my-kafka-cluster.us-central1.managedkafka.my-project.cloud.goog
254 &quot;A String&quot;,
255 ],
256 &quot;primarySubnet&quot;: &quot;A String&quot;, # Required. VPC subnet to make available to the Kafka Connect cluster. Structured like: projects/{project}/regions/{region}/subnetworks/{subnet_id} It is used to create a Private Service Connect (PSC) interface for the Kafka Connect workers. It must be located in the same region as the Kafka Connect cluster. The CIDR range of the subnet must be within the IPv4 address ranges for private networks, as specified in RFC 1918. The primary subnet CIDR range must have a minimum size of /22 (1024 addresses).
257 },
258 ],
259 },
260 &quot;secretPaths&quot;: [ # Optional. Secrets to load into workers. Exact SecretVersions from Secret Manager must be provided -- aliases are not supported. Up to 32 secrets may be loaded into one cluster. Format: projects//secrets//versions/
261 &quot;A String&quot;,
262 ],
263 },
264 &quot;kafkaCluster&quot;: &quot;A String&quot;, # Required. Immutable. The name of the Kafka cluster this Kafka Connect cluster is attached to. Structured like: projects/{project}/locations/{location}/clusters/{cluster}
265 &quot;labels&quot;: { # Optional. Labels as key value pairs.
266 &quot;a_key&quot;: &quot;A String&quot;,
267 },
268 &quot;name&quot;: &quot;A String&quot;, # Identifier. The name of the Kafka Connect cluster. Structured like: projects/{project_number}/locations/{location}/connectClusters/{connect_cluster_id}
269 &quot;satisfiesPzi&quot;: True or False, # Output only. Reserved for future use.
270 &quot;satisfiesPzs&quot;: True or False, # Output only. Reserved for future use.
271 &quot;state&quot;: &quot;A String&quot;, # Output only. The current state of the Kafka Connect cluster.
272 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time when the cluster was last updated.
273 }</pre>
274 </div>
275
276 <div class="method">
277 <code class="details" id="list">list(parent, filter=None, orderBy=None, pageSize=None, pageToken=None, x__xgafv=None)</code>
278 <pre>Lists the Kafka Connect clusters in a given project and location.
279
280 Args:
281 parent: string, Required. The parent project/location whose Connect clusters are to be listed. Structured like `projects/{project}/locations/{location}`. (required)
282 filter: string, Optional. Filter expression for the result.
283 orderBy: string, Optional. Order by fields for the result.
284 pageSize: integer, Optional. The maximum number of Connect clusters to return. The service may return fewer than this value. If unspecified, server will pick an appropriate default.
285 pageToken: string, Optional. A page token, received from a previous `ListConnectClusters` call. Provide this to retrieve the subsequent page. When paginating, all other parameters provided to `ListConnectClusters` must match the call that provided the page token.
286 x__xgafv: string, V1 error format.
287 Allowed values
288 1 - v1 error format
289 2 - v2 error format
290
291 Returns:
292 An object of the form:
293
294 { # Response for ListConnectClusters.
295 &quot;connectClusters&quot;: [ # The list of Connect clusters in the requested parent.
296 { # An Apache Kafka Connect cluster deployed in a location.
297 &quot;capacityConfig&quot;: { # A capacity configuration of a Kafka cluster. # Required. Capacity configuration for the Kafka Connect cluster.
298 &quot;memoryBytes&quot;: &quot;A String&quot;, # Required. The memory to provision for the cluster in bytes. The CPU:memory ratio (vCPU:GiB) must be between 1:1 and 1:8. Minimum: 3221225472 (3 GiB).
299 &quot;vcpuCount&quot;: &quot;A String&quot;, # Required. The number of vCPUs to provision for the cluster. Minimum: 3.
300 },
301 &quot;config&quot;: { # Optional. Reserved for future use. This field is meant for worker config overrides, but is unsupported for now.
302 &quot;a_key&quot;: &quot;A String&quot;,
303 },
304 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The time when the cluster was created.
305 &quot;gcpConfig&quot;: { # Configuration properties for a Kafka Connect cluster deployed to Google Cloud Platform. # Required. Configuration properties for a Kafka Connect cluster deployed to Google Cloud Platform.
306 &quot;accessConfig&quot;: { # The configuration of access to the Kafka Connect cluster. # Required. Access configuration for the Kafka Connect cluster.
307 &quot;networkConfigs&quot;: [ # Required. Virtual Private Cloud (VPC) networks that must be granted direct access to the Kafka Connect cluster. Minimum of 1 network is required. Maximum 10 networks can be specified.
308 { # The configuration of a Virtual Private Cloud (VPC) network that can access the Kafka Connect cluster.
309 &quot;additionalSubnets&quot;: [ # Optional. Deprecated: Managed Kafka Connect clusters can now reach any endpoint accessible from the primary subnet without the need to define additional subnets. Please see https://cloud.google.com/managed-service-for-apache-kafka/docs/connect-cluster/create-connect-cluster#worker-subnet for more information.
310 &quot;A String&quot;,
311 ],
312 &quot;dnsDomainNames&quot;: [ # Optional. Additional DNS domain names from the subnet&#x27;s network to be made visible to the Connect Cluster. When using MirrorMaker2, it&#x27;s necessary to add the bootstrap address&#x27;s dns domain name of the target cluster to make it visible to the connector. For example: my-kafka-cluster.us-central1.managedkafka.my-project.cloud.goog
313 &quot;A String&quot;,
314 ],
315 &quot;primarySubnet&quot;: &quot;A String&quot;, # Required. VPC subnet to make available to the Kafka Connect cluster. Structured like: projects/{project}/regions/{region}/subnetworks/{subnet_id} It is used to create a Private Service Connect (PSC) interface for the Kafka Connect workers. It must be located in the same region as the Kafka Connect cluster. The CIDR range of the subnet must be within the IPv4 address ranges for private networks, as specified in RFC 1918. The primary subnet CIDR range must have a minimum size of /22 (1024 addresses).
316 },
317 ],
318 },
319 &quot;secretPaths&quot;: [ # Optional. Secrets to load into workers. Exact SecretVersions from Secret Manager must be provided -- aliases are not supported. Up to 32 secrets may be loaded into one cluster. Format: projects//secrets//versions/
320 &quot;A String&quot;,
321 ],
322 },
323 &quot;kafkaCluster&quot;: &quot;A String&quot;, # Required. Immutable. The name of the Kafka cluster this Kafka Connect cluster is attached to. Structured like: projects/{project}/locations/{location}/clusters/{cluster}
324 &quot;labels&quot;: { # Optional. Labels as key value pairs.
325 &quot;a_key&quot;: &quot;A String&quot;,
326 },
327 &quot;name&quot;: &quot;A String&quot;, # Identifier. The name of the Kafka Connect cluster. Structured like: projects/{project_number}/locations/{location}/connectClusters/{connect_cluster_id}
328 &quot;satisfiesPzi&quot;: True or False, # Output only. Reserved for future use.
329 &quot;satisfiesPzs&quot;: True or False, # Output only. Reserved for future use.
330 &quot;state&quot;: &quot;A String&quot;, # Output only. The current state of the Kafka Connect cluster.
331 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time when the cluster was last updated.
332 },
333 ],
334 &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.
335 &quot;unreachable&quot;: [ # Locations that could not be reached.
336 &quot;A String&quot;,
337 ],
338 }</pre>
339 </div>
340
341 <div class="method">
342 <code class="details" id="list_next">list_next()</code>
343 <pre>Retrieves the next page of results.
344
345 Args:
346 previous_request: The request for the previous page. (required)
347 previous_response: The response from the request for the previous page. (required)
348
349 Returns:
350 A request object that you can call &#x27;execute()&#x27; on to request the next
351 page. Returns None if there are no more items in the collection.
352 </pre>
353 </div>
354
355 <div class="method">
356 <code class="details" id="patch">patch(name, body=None, requestId=None, updateMask=None, x__xgafv=None)</code>
357 <pre>Updates the properties of a single Kafka Connect cluster.
358
359 Args:
360 name: string, Identifier. The name of the Kafka Connect cluster. Structured like: projects/{project_number}/locations/{location}/connectClusters/{connect_cluster_id} (required)
361 body: object, The request body.
362 The object takes the form of:
363
364 { # An Apache Kafka Connect cluster deployed in a location.
365 &quot;capacityConfig&quot;: { # A capacity configuration of a Kafka cluster. # Required. Capacity configuration for the Kafka Connect cluster.
366 &quot;memoryBytes&quot;: &quot;A String&quot;, # Required. The memory to provision for the cluster in bytes. The CPU:memory ratio (vCPU:GiB) must be between 1:1 and 1:8. Minimum: 3221225472 (3 GiB).
367 &quot;vcpuCount&quot;: &quot;A String&quot;, # Required. The number of vCPUs to provision for the cluster. Minimum: 3.
368 },
369 &quot;config&quot;: { # Optional. Reserved for future use. This field is meant for worker config overrides, but is unsupported for now.
370 &quot;a_key&quot;: &quot;A String&quot;,
371 },
372 &quot;createTime&quot;: &quot;A String&quot;, # Output only. The time when the cluster was created.
373 &quot;gcpConfig&quot;: { # Configuration properties for a Kafka Connect cluster deployed to Google Cloud Platform. # Required. Configuration properties for a Kafka Connect cluster deployed to Google Cloud Platform.
374 &quot;accessConfig&quot;: { # The configuration of access to the Kafka Connect cluster. # Required. Access configuration for the Kafka Connect cluster.
375 &quot;networkConfigs&quot;: [ # Required. Virtual Private Cloud (VPC) networks that must be granted direct access to the Kafka Connect cluster. Minimum of 1 network is required. Maximum 10 networks can be specified.
376 { # The configuration of a Virtual Private Cloud (VPC) network that can access the Kafka Connect cluster.
377 &quot;additionalSubnets&quot;: [ # Optional. Deprecated: Managed Kafka Connect clusters can now reach any endpoint accessible from the primary subnet without the need to define additional subnets. Please see https://cloud.google.com/managed-service-for-apache-kafka/docs/connect-cluster/create-connect-cluster#worker-subnet for more information.
378 &quot;A String&quot;,
379 ],
380 &quot;dnsDomainNames&quot;: [ # Optional. Additional DNS domain names from the subnet&#x27;s network to be made visible to the Connect Cluster. When using MirrorMaker2, it&#x27;s necessary to add the bootstrap address&#x27;s dns domain name of the target cluster to make it visible to the connector. For example: my-kafka-cluster.us-central1.managedkafka.my-project.cloud.goog
381 &quot;A String&quot;,
382 ],
383 &quot;primarySubnet&quot;: &quot;A String&quot;, # Required. VPC subnet to make available to the Kafka Connect cluster. Structured like: projects/{project}/regions/{region}/subnetworks/{subnet_id} It is used to create a Private Service Connect (PSC) interface for the Kafka Connect workers. It must be located in the same region as the Kafka Connect cluster. The CIDR range of the subnet must be within the IPv4 address ranges for private networks, as specified in RFC 1918. The primary subnet CIDR range must have a minimum size of /22 (1024 addresses).
384 },
385 ],
386 },
387 &quot;secretPaths&quot;: [ # Optional. Secrets to load into workers. Exact SecretVersions from Secret Manager must be provided -- aliases are not supported. Up to 32 secrets may be loaded into one cluster. Format: projects//secrets//versions/
388 &quot;A String&quot;,
389 ],
390 },
391 &quot;kafkaCluster&quot;: &quot;A String&quot;, # Required. Immutable. The name of the Kafka cluster this Kafka Connect cluster is attached to. Structured like: projects/{project}/locations/{location}/clusters/{cluster}
392 &quot;labels&quot;: { # Optional. Labels as key value pairs.
393 &quot;a_key&quot;: &quot;A String&quot;,
394 },
395 &quot;name&quot;: &quot;A String&quot;, # Identifier. The name of the Kafka Connect cluster. Structured like: projects/{project_number}/locations/{location}/connectClusters/{connect_cluster_id}
396 &quot;satisfiesPzi&quot;: True or False, # Output only. Reserved for future use.
397 &quot;satisfiesPzs&quot;: True or False, # Output only. Reserved for future use.
398 &quot;state&quot;: &quot;A String&quot;, # Output only. The current state of the Kafka Connect cluster.
399 &quot;updateTime&quot;: &quot;A String&quot;, # Output only. The time when the cluster was last updated.
400 }
401
402 requestId: string, Optional. An optional request ID to identify requests. Specify a unique request ID to avoid duplication of requests. If a request times out or fails, retrying with the same ID allows the server to recognize the previous attempt. For at least 60 minutes, the server ignores duplicate requests bearing the same ID. For example, consider a situation where you make an initial request and the request times out. If you make the request again with the same request ID within 60 minutes of the last request, the server checks if an original operation with the same request ID was received. If so, the server ignores the second request. The request ID must be a valid UUID. A zero UUID is not supported (00000000-0000-0000-0000-000000000000).
403 updateMask: string, Required. Field mask is used to specify the fields to be overwritten in the cluster 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.
404 x__xgafv: string, V1 error format.
405 Allowed values
406 1 - v1 error format
407 2 - v2 error format
408
409 Returns:
410 An object of the form:
411
412 { # This resource represents a long-running operation that is the result of a network API call.
413 &quot;done&quot;: True or False, # If the value is `false`, it means the operation is still in progress. If `true`, the operation is completed, and either `error` or `response` is available.
414 &quot;error&quot;: { # The `Status` type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by [gRPC](https://github.com/grpc). Each `Status` message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the [API Design Guide](https://cloud.google.com/apis/design/errors). # The error result of the operation in case of failure or cancellation.
415 &quot;code&quot;: 42, # The status code, which should be an enum value of google.rpc.Code.
416 &quot;details&quot;: [ # A list of messages that carry the error details. There is a common set of message types for APIs to use.
417 {
418 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
419 },
420 ],
421 &quot;message&quot;: &quot;A String&quot;, # A developer-facing error message, which should be in English. Any user-facing error message should be localized and sent in the google.rpc.Status.details field, or localized by the client.
422 },
423 &quot;metadata&quot;: { # Service-specific metadata associated with the operation. It typically contains progress information and common metadata such as create time. Some services might not provide such metadata. Any method that returns a long-running operation should document the metadata type, if any.
424 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
425 },
426 &quot;name&quot;: &quot;A String&quot;, # The server-assigned name, which is only unique within the same service that originally returns it. If you use the default HTTP mapping, the `name` should be a resource name ending with `operations/{unique_id}`.
427 &quot;response&quot;: { # The normal, successful response of the operation. If the original method returns no data on success, such as `Delete`, the response is `google.protobuf.Empty`. If the original method is standard `Get`/`Create`/`Update`, the response should be the resource. For other methods, the response should have the type `XxxResponse`, where `Xxx` is the original method name. For example, if the original method name is `TakeSnapshot()`, the inferred response type is `TakeSnapshotResponse`.
428 &quot;a_key&quot;: &quot;&quot;, # Properties of the object. Contains field @type with type URL.
429 },
430 }</pre>
431 </div>
432
433 </body></html>