yandexcloud 0.315.0__py3-none-any.whl → 0.316.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of yandexcloud might be problematic. Click here for more details.

@@ -0,0 +1,528 @@
1
+ """
2
+ @generated by mypy-protobuf. Do not edit manually!
3
+ isort:skip_file
4
+ """
5
+
6
+ import builtins
7
+ import collections.abc
8
+ import google.protobuf.descriptor
9
+ import google.protobuf.field_mask_pb2
10
+ import google.protobuf.internal.containers
11
+ import google.protobuf.message
12
+ import typing
13
+ import yandex.cloud.airflow.v1.cluster_pb2
14
+ import yandex.cloud.operation.operation_pb2
15
+
16
+ DESCRIPTOR: google.protobuf.descriptor.FileDescriptor
17
+
18
+ @typing.final
19
+ class GetClusterRequest(google.protobuf.message.Message):
20
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
21
+
22
+ CLUSTER_ID_FIELD_NUMBER: builtins.int
23
+ cluster_id: builtins.str
24
+ """ID of the Apache Airflow Cluster resource to return."""
25
+ def __init__(
26
+ self,
27
+ *,
28
+ cluster_id: builtins.str = ...,
29
+ ) -> None: ...
30
+ def ClearField(self, field_name: typing.Literal["cluster_id", b"cluster_id"]) -> None: ...
31
+
32
+ global___GetClusterRequest = GetClusterRequest
33
+
34
+ @typing.final
35
+ class ListClustersRequest(google.protobuf.message.Message):
36
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
37
+
38
+ FOLDER_ID_FIELD_NUMBER: builtins.int
39
+ PAGE_SIZE_FIELD_NUMBER: builtins.int
40
+ PAGE_TOKEN_FIELD_NUMBER: builtins.int
41
+ FILTER_FIELD_NUMBER: builtins.int
42
+ folder_id: builtins.str
43
+ """ID of the folder to list Apache Airflow clusters in."""
44
+ page_size: builtins.int
45
+ """The maximum number of results per page to return. If the number of available
46
+ results is larger than [page_size], the service returns a [ListClustersResponse.next_page_token]
47
+ that can be used to get the next page of results in subsequent list requests.
48
+ """
49
+ page_token: builtins.str
50
+ """Page token. To get the next page of results, set [page_token] to the [ListClustersResponse.next_page_token]
51
+ returned by the previous list request.
52
+ """
53
+ filter: builtins.str
54
+ """A filter expression that filters resources listed in the response.
55
+ The expression must specify:
56
+ 1. The field name. Currently you can only use filtering with the [Cluster.name] field.
57
+ 2. An `=` operator.
58
+ 3. The value in double quotes (`"`). Must be 1-63 characters long and match the regular expression `[a-zA-Z0-9_-]+`.
59
+ """
60
+ def __init__(
61
+ self,
62
+ *,
63
+ folder_id: builtins.str = ...,
64
+ page_size: builtins.int = ...,
65
+ page_token: builtins.str = ...,
66
+ filter: builtins.str = ...,
67
+ ) -> None: ...
68
+ def ClearField(self, field_name: typing.Literal["filter", b"filter", "folder_id", b"folder_id", "page_size", b"page_size", "page_token", b"page_token"]) -> None: ...
69
+
70
+ global___ListClustersRequest = ListClustersRequest
71
+
72
+ @typing.final
73
+ class ListClustersResponse(google.protobuf.message.Message):
74
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
75
+
76
+ CLUSTERS_FIELD_NUMBER: builtins.int
77
+ NEXT_PAGE_TOKEN_FIELD_NUMBER: builtins.int
78
+ next_page_token: builtins.str
79
+ """This token allows you to get the next page of results for list requests. If the number of results
80
+ is larger than [ListClustersRequest.page_size], use the [next_page_token] as the value
81
+ for the [ListClustersRequest.page_token] parameter in the next list request. Each subsequent
82
+ list request will have its own [next_page_token] to continue paging through the results.
83
+ """
84
+ @property
85
+ def clusters(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[yandex.cloud.airflow.v1.cluster_pb2.Cluster]:
86
+ """List of Apache Airflow Cluster resources."""
87
+
88
+ def __init__(
89
+ self,
90
+ *,
91
+ clusters: collections.abc.Iterable[yandex.cloud.airflow.v1.cluster_pb2.Cluster] | None = ...,
92
+ next_page_token: builtins.str = ...,
93
+ ) -> None: ...
94
+ def ClearField(self, field_name: typing.Literal["clusters", b"clusters", "next_page_token", b"next_page_token"]) -> None: ...
95
+
96
+ global___ListClustersResponse = ListClustersResponse
97
+
98
+ @typing.final
99
+ class CreateClusterRequest(google.protobuf.message.Message):
100
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
101
+
102
+ @typing.final
103
+ class LabelsEntry(google.protobuf.message.Message):
104
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
105
+
106
+ KEY_FIELD_NUMBER: builtins.int
107
+ VALUE_FIELD_NUMBER: builtins.int
108
+ key: builtins.str
109
+ value: builtins.str
110
+ def __init__(
111
+ self,
112
+ *,
113
+ key: builtins.str = ...,
114
+ value: builtins.str = ...,
115
+ ) -> None: ...
116
+ def ClearField(self, field_name: typing.Literal["key", b"key", "value", b"value"]) -> None: ...
117
+
118
+ FOLDER_ID_FIELD_NUMBER: builtins.int
119
+ NAME_FIELD_NUMBER: builtins.int
120
+ DESCRIPTION_FIELD_NUMBER: builtins.int
121
+ LABELS_FIELD_NUMBER: builtins.int
122
+ CONFIG_FIELD_NUMBER: builtins.int
123
+ NETWORK_FIELD_NUMBER: builtins.int
124
+ CODE_SYNC_FIELD_NUMBER: builtins.int
125
+ DELETION_PROTECTION_FIELD_NUMBER: builtins.int
126
+ SERVICE_ACCOUNT_ID_FIELD_NUMBER: builtins.int
127
+ LOGGING_FIELD_NUMBER: builtins.int
128
+ ADMIN_PASSWORD_FIELD_NUMBER: builtins.int
129
+ folder_id: builtins.str
130
+ """ID of the folder to create Apache Airflow cluster in."""
131
+ name: builtins.str
132
+ """Name of the Apache Airflow cluster. The name must be unique within the folder."""
133
+ description: builtins.str
134
+ """Description of the Apache Airflow cluster."""
135
+ deletion_protection: builtins.bool
136
+ """Deletion Protection inhibits deletion of the cluster."""
137
+ service_account_id: builtins.str
138
+ """Service account used to access Cloud resources.
139
+ For more information, see [documentation](/docs/managed-airflow/concepts/impersonation).
140
+ """
141
+ admin_password: builtins.str
142
+ """Password of user `admin`."""
143
+ @property
144
+ def labels(self) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]:
145
+ """Custom labels for the Apache Airflow cluster as `` key:value `` pairs. For example, "env": "prod"."""
146
+
147
+ @property
148
+ def config(self) -> yandex.cloud.airflow.v1.cluster_pb2.ClusterConfig:
149
+ """Configuration of Apache Airflow components."""
150
+
151
+ @property
152
+ def network(self) -> yandex.cloud.airflow.v1.cluster_pb2.NetworkConfig:
153
+ """Network related configuration options."""
154
+
155
+ @property
156
+ def code_sync(self) -> yandex.cloud.airflow.v1.cluster_pb2.CodeSyncConfig:
157
+ """Parameters of the location and access to the code that will be executed in the cluster."""
158
+
159
+ @property
160
+ def logging(self) -> yandex.cloud.airflow.v1.cluster_pb2.LoggingConfig:
161
+ """Cloud Logging configuration."""
162
+
163
+ def __init__(
164
+ self,
165
+ *,
166
+ folder_id: builtins.str = ...,
167
+ name: builtins.str = ...,
168
+ description: builtins.str = ...,
169
+ labels: collections.abc.Mapping[builtins.str, builtins.str] | None = ...,
170
+ config: yandex.cloud.airflow.v1.cluster_pb2.ClusterConfig | None = ...,
171
+ network: yandex.cloud.airflow.v1.cluster_pb2.NetworkConfig | None = ...,
172
+ code_sync: yandex.cloud.airflow.v1.cluster_pb2.CodeSyncConfig | None = ...,
173
+ deletion_protection: builtins.bool = ...,
174
+ service_account_id: builtins.str = ...,
175
+ logging: yandex.cloud.airflow.v1.cluster_pb2.LoggingConfig | None = ...,
176
+ admin_password: builtins.str = ...,
177
+ ) -> None: ...
178
+ def HasField(self, field_name: typing.Literal["code_sync", b"code_sync", "config", b"config", "logging", b"logging", "network", b"network"]) -> builtins.bool: ...
179
+ def ClearField(self, field_name: typing.Literal["admin_password", b"admin_password", "code_sync", b"code_sync", "config", b"config", "deletion_protection", b"deletion_protection", "description", b"description", "folder_id", b"folder_id", "labels", b"labels", "logging", b"logging", "name", b"name", "network", b"network", "service_account_id", b"service_account_id"]) -> None: ...
180
+
181
+ global___CreateClusterRequest = CreateClusterRequest
182
+
183
+ @typing.final
184
+ class CreateClusterMetadata(google.protobuf.message.Message):
185
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
186
+
187
+ CLUSTER_ID_FIELD_NUMBER: builtins.int
188
+ cluster_id: builtins.str
189
+ """ID of the Apache Airflow cluster that is being created."""
190
+ def __init__(
191
+ self,
192
+ *,
193
+ cluster_id: builtins.str = ...,
194
+ ) -> None: ...
195
+ def ClearField(self, field_name: typing.Literal["cluster_id", b"cluster_id"]) -> None: ...
196
+
197
+ global___CreateClusterMetadata = CreateClusterMetadata
198
+
199
+ @typing.final
200
+ class UpdateClusterConfigSpec(google.protobuf.message.Message):
201
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
202
+
203
+ AIRFLOW_FIELD_NUMBER: builtins.int
204
+ WEBSERVER_FIELD_NUMBER: builtins.int
205
+ SCHEDULER_FIELD_NUMBER: builtins.int
206
+ TRIGGERER_FIELD_NUMBER: builtins.int
207
+ WORKER_FIELD_NUMBER: builtins.int
208
+ DEPENDENCIES_FIELD_NUMBER: builtins.int
209
+ LOCKBOX_FIELD_NUMBER: builtins.int
210
+ @property
211
+ def airflow(self) -> yandex.cloud.airflow.v1.cluster_pb2.AirflowConfig:
212
+ """Configuration of the Apache Airflow application itself."""
213
+
214
+ @property
215
+ def webserver(self) -> yandex.cloud.airflow.v1.cluster_pb2.WebserverConfig:
216
+ """Configuration of webserver instances."""
217
+
218
+ @property
219
+ def scheduler(self) -> yandex.cloud.airflow.v1.cluster_pb2.SchedulerConfig:
220
+ """Configuration of scheduler instances."""
221
+
222
+ @property
223
+ def triggerer(self) -> yandex.cloud.airflow.v1.cluster_pb2.TriggererConfig:
224
+ """Configuration of triggerer instances."""
225
+
226
+ @property
227
+ def worker(self) -> yandex.cloud.airflow.v1.cluster_pb2.WorkerConfig:
228
+ """Configuration of worker instances."""
229
+
230
+ @property
231
+ def dependencies(self) -> yandex.cloud.airflow.v1.cluster_pb2.Dependencies:
232
+ """The list of additional packages installed in the cluster."""
233
+
234
+ @property
235
+ def lockbox(self) -> yandex.cloud.airflow.v1.cluster_pb2.LockboxConfig:
236
+ """Configuration of Lockbox Secret Backend."""
237
+
238
+ def __init__(
239
+ self,
240
+ *,
241
+ airflow: yandex.cloud.airflow.v1.cluster_pb2.AirflowConfig | None = ...,
242
+ webserver: yandex.cloud.airflow.v1.cluster_pb2.WebserverConfig | None = ...,
243
+ scheduler: yandex.cloud.airflow.v1.cluster_pb2.SchedulerConfig | None = ...,
244
+ triggerer: yandex.cloud.airflow.v1.cluster_pb2.TriggererConfig | None = ...,
245
+ worker: yandex.cloud.airflow.v1.cluster_pb2.WorkerConfig | None = ...,
246
+ dependencies: yandex.cloud.airflow.v1.cluster_pb2.Dependencies | None = ...,
247
+ lockbox: yandex.cloud.airflow.v1.cluster_pb2.LockboxConfig | None = ...,
248
+ ) -> None: ...
249
+ def HasField(self, field_name: typing.Literal["airflow", b"airflow", "dependencies", b"dependencies", "lockbox", b"lockbox", "scheduler", b"scheduler", "triggerer", b"triggerer", "webserver", b"webserver", "worker", b"worker"]) -> builtins.bool: ...
250
+ def ClearField(self, field_name: typing.Literal["airflow", b"airflow", "dependencies", b"dependencies", "lockbox", b"lockbox", "scheduler", b"scheduler", "triggerer", b"triggerer", "webserver", b"webserver", "worker", b"worker"]) -> None: ...
251
+
252
+ global___UpdateClusterConfigSpec = UpdateClusterConfigSpec
253
+
254
+ @typing.final
255
+ class UpdateNetworkConfigSpec(google.protobuf.message.Message):
256
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
257
+
258
+ SECURITY_GROUP_IDS_FIELD_NUMBER: builtins.int
259
+ @property
260
+ def security_group_ids(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]:
261
+ """User security groups."""
262
+
263
+ def __init__(
264
+ self,
265
+ *,
266
+ security_group_ids: collections.abc.Iterable[builtins.str] | None = ...,
267
+ ) -> None: ...
268
+ def ClearField(self, field_name: typing.Literal["security_group_ids", b"security_group_ids"]) -> None: ...
269
+
270
+ global___UpdateNetworkConfigSpec = UpdateNetworkConfigSpec
271
+
272
+ @typing.final
273
+ class UpdateClusterRequest(google.protobuf.message.Message):
274
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
275
+
276
+ @typing.final
277
+ class LabelsEntry(google.protobuf.message.Message):
278
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
279
+
280
+ KEY_FIELD_NUMBER: builtins.int
281
+ VALUE_FIELD_NUMBER: builtins.int
282
+ key: builtins.str
283
+ value: builtins.str
284
+ def __init__(
285
+ self,
286
+ *,
287
+ key: builtins.str = ...,
288
+ value: builtins.str = ...,
289
+ ) -> None: ...
290
+ def ClearField(self, field_name: typing.Literal["key", b"key", "value", b"value"]) -> None: ...
291
+
292
+ CLUSTER_ID_FIELD_NUMBER: builtins.int
293
+ UPDATE_MASK_FIELD_NUMBER: builtins.int
294
+ NAME_FIELD_NUMBER: builtins.int
295
+ DESCRIPTION_FIELD_NUMBER: builtins.int
296
+ LABELS_FIELD_NUMBER: builtins.int
297
+ CONFIG_SPEC_FIELD_NUMBER: builtins.int
298
+ CODE_SYNC_FIELD_NUMBER: builtins.int
299
+ NETWORK_SPEC_FIELD_NUMBER: builtins.int
300
+ DELETION_PROTECTION_FIELD_NUMBER: builtins.int
301
+ SERVICE_ACCOUNT_ID_FIELD_NUMBER: builtins.int
302
+ LOGGING_FIELD_NUMBER: builtins.int
303
+ cluster_id: builtins.str
304
+ """ID of the Apache Airflow Cluster resource to update."""
305
+ name: builtins.str
306
+ """New name of the cluster."""
307
+ description: builtins.str
308
+ """New description of the Apache Airflow cluster."""
309
+ deletion_protection: builtins.bool
310
+ """Deletion Protection inhibits deletion of the cluster"""
311
+ service_account_id: builtins.str
312
+ """Service account used to access Cloud resources.
313
+ For more information, see [documentation](/docs/managed-airflow/concepts/impersonation).
314
+ """
315
+ @property
316
+ def update_mask(self) -> google.protobuf.field_mask_pb2.FieldMask:
317
+ """Field mask that specifies which fields of the Apache Airflow Cluster resource should be updated."""
318
+
319
+ @property
320
+ def labels(self) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]:
321
+ """Custom labels for the Apache Airflow cluster as `` key:value `` pairs. For example, "env": "prod".
322
+
323
+ The new set of labels will completely replace the old ones. To add a label, request the current
324
+ set with the [ClusterService.Get] method, then send an [ClusterService.Update] request with the new label added to the set.
325
+ """
326
+
327
+ @property
328
+ def config_spec(self) -> global___UpdateClusterConfigSpec:
329
+ """Configuration of Apache Airflow components."""
330
+
331
+ @property
332
+ def code_sync(self) -> yandex.cloud.airflow.v1.cluster_pb2.CodeSyncConfig:
333
+ """Parameters of the location and access to the code that will be executed in the cluster."""
334
+
335
+ @property
336
+ def network_spec(self) -> global___UpdateNetworkConfigSpec:
337
+ """Network related configuration options."""
338
+
339
+ @property
340
+ def logging(self) -> yandex.cloud.airflow.v1.cluster_pb2.LoggingConfig:
341
+ """Cloud Logging configuration."""
342
+
343
+ def __init__(
344
+ self,
345
+ *,
346
+ cluster_id: builtins.str = ...,
347
+ update_mask: google.protobuf.field_mask_pb2.FieldMask | None = ...,
348
+ name: builtins.str = ...,
349
+ description: builtins.str = ...,
350
+ labels: collections.abc.Mapping[builtins.str, builtins.str] | None = ...,
351
+ config_spec: global___UpdateClusterConfigSpec | None = ...,
352
+ code_sync: yandex.cloud.airflow.v1.cluster_pb2.CodeSyncConfig | None = ...,
353
+ network_spec: global___UpdateNetworkConfigSpec | None = ...,
354
+ deletion_protection: builtins.bool = ...,
355
+ service_account_id: builtins.str = ...,
356
+ logging: yandex.cloud.airflow.v1.cluster_pb2.LoggingConfig | None = ...,
357
+ ) -> None: ...
358
+ def HasField(self, field_name: typing.Literal["code_sync", b"code_sync", "config_spec", b"config_spec", "logging", b"logging", "network_spec", b"network_spec", "update_mask", b"update_mask"]) -> builtins.bool: ...
359
+ def ClearField(self, field_name: typing.Literal["cluster_id", b"cluster_id", "code_sync", b"code_sync", "config_spec", b"config_spec", "deletion_protection", b"deletion_protection", "description", b"description", "labels", b"labels", "logging", b"logging", "name", b"name", "network_spec", b"network_spec", "service_account_id", b"service_account_id", "update_mask", b"update_mask"]) -> None: ...
360
+
361
+ global___UpdateClusterRequest = UpdateClusterRequest
362
+
363
+ @typing.final
364
+ class UpdateClusterMetadata(google.protobuf.message.Message):
365
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
366
+
367
+ CLUSTER_ID_FIELD_NUMBER: builtins.int
368
+ cluster_id: builtins.str
369
+ """ID of the Apache Airflow Cluster resource that is being updated."""
370
+ def __init__(
371
+ self,
372
+ *,
373
+ cluster_id: builtins.str = ...,
374
+ ) -> None: ...
375
+ def ClearField(self, field_name: typing.Literal["cluster_id", b"cluster_id"]) -> None: ...
376
+
377
+ global___UpdateClusterMetadata = UpdateClusterMetadata
378
+
379
+ @typing.final
380
+ class DeleteClusterRequest(google.protobuf.message.Message):
381
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
382
+
383
+ CLUSTER_ID_FIELD_NUMBER: builtins.int
384
+ cluster_id: builtins.str
385
+ """ID of the Apache Airflow cluster to delete."""
386
+ def __init__(
387
+ self,
388
+ *,
389
+ cluster_id: builtins.str = ...,
390
+ ) -> None: ...
391
+ def ClearField(self, field_name: typing.Literal["cluster_id", b"cluster_id"]) -> None: ...
392
+
393
+ global___DeleteClusterRequest = DeleteClusterRequest
394
+
395
+ @typing.final
396
+ class DeleteClusterMetadata(google.protobuf.message.Message):
397
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
398
+
399
+ CLUSTER_ID_FIELD_NUMBER: builtins.int
400
+ cluster_id: builtins.str
401
+ """ID of the Apache Airflow cluster that is being deleted."""
402
+ def __init__(
403
+ self,
404
+ *,
405
+ cluster_id: builtins.str = ...,
406
+ ) -> None: ...
407
+ def ClearField(self, field_name: typing.Literal["cluster_id", b"cluster_id"]) -> None: ...
408
+
409
+ global___DeleteClusterMetadata = DeleteClusterMetadata
410
+
411
+ @typing.final
412
+ class StartClusterRequest(google.protobuf.message.Message):
413
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
414
+
415
+ CLUSTER_ID_FIELD_NUMBER: builtins.int
416
+ cluster_id: builtins.str
417
+ """ID of the Apache Airflow cluster to start."""
418
+ def __init__(
419
+ self,
420
+ *,
421
+ cluster_id: builtins.str = ...,
422
+ ) -> None: ...
423
+ def ClearField(self, field_name: typing.Literal["cluster_id", b"cluster_id"]) -> None: ...
424
+
425
+ global___StartClusterRequest = StartClusterRequest
426
+
427
+ @typing.final
428
+ class StartClusterMetadata(google.protobuf.message.Message):
429
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
430
+
431
+ CLUSTER_ID_FIELD_NUMBER: builtins.int
432
+ cluster_id: builtins.str
433
+ """ID of the Apache Airflow cluster that is being started."""
434
+ def __init__(
435
+ self,
436
+ *,
437
+ cluster_id: builtins.str = ...,
438
+ ) -> None: ...
439
+ def ClearField(self, field_name: typing.Literal["cluster_id", b"cluster_id"]) -> None: ...
440
+
441
+ global___StartClusterMetadata = StartClusterMetadata
442
+
443
+ @typing.final
444
+ class StopClusterRequest(google.protobuf.message.Message):
445
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
446
+
447
+ CLUSTER_ID_FIELD_NUMBER: builtins.int
448
+ cluster_id: builtins.str
449
+ """ID of the Apache Airflow cluster to stop."""
450
+ def __init__(
451
+ self,
452
+ *,
453
+ cluster_id: builtins.str = ...,
454
+ ) -> None: ...
455
+ def ClearField(self, field_name: typing.Literal["cluster_id", b"cluster_id"]) -> None: ...
456
+
457
+ global___StopClusterRequest = StopClusterRequest
458
+
459
+ @typing.final
460
+ class StopClusterMetadata(google.protobuf.message.Message):
461
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
462
+
463
+ CLUSTER_ID_FIELD_NUMBER: builtins.int
464
+ cluster_id: builtins.str
465
+ """ID of the Apache Airflow cluster that is being stopped."""
466
+ def __init__(
467
+ self,
468
+ *,
469
+ cluster_id: builtins.str = ...,
470
+ ) -> None: ...
471
+ def ClearField(self, field_name: typing.Literal["cluster_id", b"cluster_id"]) -> None: ...
472
+
473
+ global___StopClusterMetadata = StopClusterMetadata
474
+
475
+ @typing.final
476
+ class ListClusterOperationsRequest(google.protobuf.message.Message):
477
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
478
+
479
+ CLUSTER_ID_FIELD_NUMBER: builtins.int
480
+ PAGE_SIZE_FIELD_NUMBER: builtins.int
481
+ PAGE_TOKEN_FIELD_NUMBER: builtins.int
482
+ cluster_id: builtins.str
483
+ """ID of the Apache Airflow Cluster resource to list operations for."""
484
+ page_size: builtins.int
485
+ """The maximum number of results per page to return. If the number of available
486
+ results is larger than [page_size], the service returns a [ListClusterOperationsResponse.next_page_token]
487
+ that can be used to get the next page of results in subsequent list requests.
488
+ """
489
+ page_token: builtins.str
490
+ """Page token. To get the next page of results, set [page_token] to the [ListClusterOperationsResponse.next_page_token]
491
+ returned by the previous list request.
492
+ """
493
+ def __init__(
494
+ self,
495
+ *,
496
+ cluster_id: builtins.str = ...,
497
+ page_size: builtins.int = ...,
498
+ page_token: builtins.str = ...,
499
+ ) -> None: ...
500
+ def ClearField(self, field_name: typing.Literal["cluster_id", b"cluster_id", "page_size", b"page_size", "page_token", b"page_token"]) -> None: ...
501
+
502
+ global___ListClusterOperationsRequest = ListClusterOperationsRequest
503
+
504
+ @typing.final
505
+ class ListClusterOperationsResponse(google.protobuf.message.Message):
506
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
507
+
508
+ OPERATIONS_FIELD_NUMBER: builtins.int
509
+ NEXT_PAGE_TOKEN_FIELD_NUMBER: builtins.int
510
+ next_page_token: builtins.str
511
+ """This token allows you to get the next page of results for list requests. If the number of results
512
+ is larger than [ListClusterOperationsRequest.page_size], use the [next_page_token] as the value
513
+ for the [ListClusterOperationsRequest.page_token] query parameter in the next list request.
514
+ Each subsequent list request will have its own [next_page_token] to continue paging through the results.
515
+ """
516
+ @property
517
+ def operations(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[yandex.cloud.operation.operation_pb2.Operation]:
518
+ """List of Operation resources for the specified Apache Airflow cluster."""
519
+
520
+ def __init__(
521
+ self,
522
+ *,
523
+ operations: collections.abc.Iterable[yandex.cloud.operation.operation_pb2.Operation] | None = ...,
524
+ next_page_token: builtins.str = ...,
525
+ ) -> None: ...
526
+ def ClearField(self, field_name: typing.Literal["next_page_token", b"next_page_token", "operations", b"operations"]) -> None: ...
527
+
528
+ global___ListClusterOperationsResponse = ListClusterOperationsResponse