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.
- yandex/cloud/access/access_pb2.pyi +7 -2
- yandex/cloud/airflow/__init__.py +0 -0
- yandex/cloud/airflow/v1/__init__.py +0 -0
- yandex/cloud/airflow/v1/cluster_pb2.py +90 -0
- yandex/cloud/airflow/v1/cluster_pb2.pyi +525 -0
- yandex/cloud/airflow/v1/cluster_pb2_grpc.py +4 -0
- yandex/cloud/airflow/v1/cluster_pb2_grpc.pyi +17 -0
- yandex/cloud/airflow/v1/cluster_service_pb2.py +136 -0
- yandex/cloud/airflow/v1/cluster_service_pb2.pyi +528 -0
- yandex/cloud/airflow/v1/cluster_service_pb2_grpc.py +310 -0
- yandex/cloud/airflow/v1/cluster_service_pb2_grpc.pyi +192 -0
- yandex/cloud/airflow/v1/common_pb2.py +28 -0
- yandex/cloud/airflow/v1/common_pb2.pyi +61 -0
- yandex/cloud/airflow/v1/common_pb2_grpc.py +4 -0
- yandex/cloud/airflow/v1/common_pb2_grpc.pyi +17 -0
- {yandexcloud-0.315.0.dist-info → yandexcloud-0.316.0.dist-info}/METADATA +1 -1
- {yandexcloud-0.315.0.dist-info → yandexcloud-0.316.0.dist-info}/RECORD +21 -7
- {yandexcloud-0.315.0.dist-info → yandexcloud-0.316.0.dist-info}/AUTHORS +0 -0
- {yandexcloud-0.315.0.dist-info → yandexcloud-0.316.0.dist-info}/LICENSE +0 -0
- {yandexcloud-0.315.0.dist-info → yandexcloud-0.316.0.dist-info}/WHEEL +0 -0
- {yandexcloud-0.315.0.dist-info → yandexcloud-0.316.0.dist-info}/top_level.txt +0 -0
|
@@ -50,10 +50,15 @@ class Subject(google.protobuf.message.Message):
|
|
|
50
50
|
"""ID of the subject.
|
|
51
51
|
|
|
52
52
|
It can contain one of the following values:
|
|
53
|
-
* `allAuthenticatedUsers`: A special
|
|
53
|
+
* `allAuthenticatedUsers`: A special public group that represents anyone
|
|
54
54
|
who is authenticated. It can be used only if the [type] is `system`.
|
|
55
|
-
* `allUsers`: A special
|
|
55
|
+
* `allUsers`: A special public group that represents anyone. No authentication is required.
|
|
56
56
|
For example, you don't need to specify the IAM token in an API query.
|
|
57
|
+
It can be used only if the [type] is `system`.
|
|
58
|
+
* `group:organization:<id>:users`: A special system group that represents all members of organization
|
|
59
|
+
with given <id>. It can be used only if the [type] is `system`.
|
|
60
|
+
* `group:federation:<id>:users`: A special system group that represents all users of federation
|
|
61
|
+
with given <id>. It can be used only if the [type] is `system`.
|
|
57
62
|
* `<cloud generated id>`: An identifier that represents a user account.
|
|
58
63
|
It can be used only if the [type] is `userAccount`, `federatedUser` or `serviceAccount`.
|
|
59
64
|
"""
|
|
File without changes
|
|
File without changes
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# source: yandex/cloud/airflow/v1/cluster.proto
|
|
4
|
+
"""Generated protocol buffer code."""
|
|
5
|
+
from google.protobuf import descriptor as _descriptor
|
|
6
|
+
from google.protobuf import descriptor_pool as _descriptor_pool
|
|
7
|
+
from google.protobuf import symbol_database as _symbol_database
|
|
8
|
+
from google.protobuf.internal import builder as _builder
|
|
9
|
+
# @@protoc_insertion_point(imports)
|
|
10
|
+
|
|
11
|
+
_sym_db = _symbol_database.Default()
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
from yandex.cloud.airflow.v1 import common_pb2 as yandex_dot_cloud_dot_airflow_dot_v1_dot_common__pb2
|
|
15
|
+
from yandex.cloud import validation_pb2 as yandex_dot_cloud_dot_validation__pb2
|
|
16
|
+
from yandex.cloud.logging.v1 import log_entry_pb2 as yandex_dot_cloud_dot_logging_dot_v1_dot_log__entry__pb2
|
|
17
|
+
from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n%yandex/cloud/airflow/v1/cluster.proto\x12\x17yandex.cloud.airflow.v1\x1a$yandex/cloud/airflow/v1/common.proto\x1a\x1dyandex/cloud/validation.proto\x1a\'yandex/cloud/logging/v1/log_entry.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xcc\x06\n\x07\x43luster\x12\n\n\x02id\x18\x01 \x01(\t\x12\x11\n\tfolder_id\x18\x02 \x01(\t\x12.\n\ncreated_at\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x0c\n\x04name\x18\x04 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x05 \x01(\t\x12<\n\x06labels\x18\x06 \x03(\x0b\x32,.yandex.cloud.airflow.v1.Cluster.LabelsEntry\x12\x37\n\nmonitoring\x18\x08 \x03(\x0b\x32#.yandex.cloud.airflow.v1.Monitoring\x12\x36\n\x06\x63onfig\x18\t \x01(\x0b\x32&.yandex.cloud.airflow.v1.ClusterConfig\x12/\n\x06health\x18\n \x01(\x0e\x32\x1f.yandex.cloud.airflow.v1.Health\x12\x37\n\x06status\x18\x0b \x01(\x0e\x32\'.yandex.cloud.airflow.v1.Cluster.Status\x12\x37\n\x07network\x18\x0c \x01(\x0b\x32&.yandex.cloud.airflow.v1.NetworkConfig\x12:\n\tcode_sync\x18\r \x01(\x0b\x32\'.yandex.cloud.airflow.v1.CodeSyncConfig\x12\x1b\n\x13\x64\x65letion_protection\x18\x0e \x01(\x08\x12\x15\n\rwebserver_url\x18\x0f \x01(\t\x12$\n\x12service_account_id\x18\x10 \x01(\tB\x08\x8a\xc8\x31\x04<=50\x12\x37\n\x07logging\x18\x11 \x01(\x0b\x32&.yandex.cloud.airflow.v1.LoggingConfig\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"y\n\x06Status\x12\x12\n\x0eSTATUS_UNKNOWN\x10\x00\x12\x0c\n\x08\x43REATING\x10\x01\x12\x0b\n\x07RUNNING\x10\x02\x12\t\n\x05\x45RROR\x10\x03\x12\x0c\n\x08STOPPING\x10\x04\x12\x0b\n\x07STOPPED\x10\x05\x12\x0c\n\x08STARTING\x10\x06\x12\x0c\n\x08UPDATING\x10\x07J\x04\x08\x07\x10\x08\"=\n\nMonitoring\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x0c\n\x04link\x18\x03 \x01(\t\"\xd2\x03\n\rClusterConfig\x12\x12\n\nversion_id\x18\x01 \x01(\t\x12\x37\n\x07\x61irflow\x18\x02 \x01(\x0b\x32&.yandex.cloud.airflow.v1.AirflowConfig\x12\x41\n\twebserver\x18\x03 \x01(\x0b\x32(.yandex.cloud.airflow.v1.WebserverConfigB\x04\xe8\xc7\x31\x01\x12\x41\n\tscheduler\x18\x04 \x01(\x0b\x32(.yandex.cloud.airflow.v1.SchedulerConfigB\x04\xe8\xc7\x31\x01\x12;\n\ttriggerer\x18\x05 \x01(\x0b\x32(.yandex.cloud.airflow.v1.TriggererConfig\x12;\n\x06worker\x18\x06 \x01(\x0b\x32%.yandex.cloud.airflow.v1.WorkerConfigB\x04\xe8\xc7\x31\x01\x12;\n\x0c\x64\x65pendencies\x18\x07 \x01(\x0b\x32%.yandex.cloud.airflow.v1.Dependencies\x12\x37\n\x07lockbox\x18\x08 \x01(\x0b\x32&.yandex.cloud.airflow.v1.LockboxConfig\"\x82\x01\n\rAirflowConfig\x12\x42\n\x06\x63onfig\x18\x01 \x03(\x0b\x32\x32.yandex.cloud.airflow.v1.AirflowConfig.ConfigEntry\x1a-\n\x0b\x43onfigEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"b\n\x0fWebserverConfig\x12\x18\n\x05\x63ount\x18\x01 \x01(\x03\x42\t\xfa\xc7\x31\x05\x31-512\x12\x35\n\tresources\x18\x02 \x01(\x0b\x32\".yandex.cloud.airflow.v1.Resources\"b\n\x0fSchedulerConfig\x12\x18\n\x05\x63ount\x18\x01 \x01(\x03\x42\t\xfa\xc7\x31\x05\x31-512\x12\x35\n\tresources\x18\x02 \x01(\x0b\x32\".yandex.cloud.airflow.v1.Resources\"b\n\x0fTriggererConfig\x12\x18\n\x05\x63ount\x18\x01 \x01(\x03\x42\t\xfa\xc7\x31\x05\x30-512\x12\x35\n\tresources\x18\x02 \x01(\x0b\x32\".yandex.cloud.airflow.v1.Resources\"\x81\x01\n\x0cWorkerConfig\x12\x1c\n\tmin_count\x18\x01 \x01(\x03\x42\t\xfa\xc7\x31\x05\x30-512\x12\x1c\n\tmax_count\x18\x02 \x01(\x03\x42\t\xfa\xc7\x31\x05\x31-512\x12\x35\n\tresources\x18\x03 \x01(\x0b\x32\".yandex.cloud.airflow.v1.Resources\":\n\x0c\x44\x65pendencies\x12\x14\n\x0cpip_packages\x18\x01 \x03(\t\x12\x14\n\x0c\x64\x65\x62_packages\x18\x02 \x03(\t\"?\n\rNetworkConfig\x12\x12\n\nsubnet_ids\x18\x01 \x03(\t\x12\x1a\n\x12security_group_ids\x18\x02 \x03(\t\"\x1a\n\x08S3Config\x12\x0e\n\x06\x62ucket\x18\x03 \x01(\t\"Q\n\x0e\x43odeSyncConfig\x12/\n\x02s3\x18\x01 \x01(\x0b\x32!.yandex.cloud.airflow.v1.S3ConfigH\x00\x42\x0e\n\x06source\x12\x04\xc0\xc1\x31\x01\"\xe2\x01\n\rLoggingConfig\x12\x0f\n\x07\x65nabled\x18\x01 \x01(\x08\x12\x38\n\tfolder_id\x18\x02 \x01(\tB#\xf2\xc7\x31\x1f([a-zA-Z][-a-zA-Z0-9_.]{0,63})?H\x00\x12;\n\x0clog_group_id\x18\x03 \x01(\tB#\xf2\xc7\x31\x1f([a-zA-Z][-a-zA-Z0-9_.]{0,63})?H\x00\x12:\n\tmin_level\x18\x04 \x01(\x0e\x32\'.yandex.cloud.logging.v1.LogLevel.LevelB\r\n\x0b\x64\x65stination\" \n\rLockboxConfig\x12\x0f\n\x07\x65nabled\x18\x01 \x01(\x08\x42\x62\n\x1byandex.cloud.api.airflow.v1ZCgithub.com/yandex-cloud/go-genproto/yandex/cloud/airflow/v1;airflowb\x06proto3')
|
|
21
|
+
|
|
22
|
+
_globals = globals()
|
|
23
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
24
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'yandex.cloud.airflow.v1.cluster_pb2', _globals)
|
|
25
|
+
if _descriptor._USE_C_DESCRIPTORS == False:
|
|
26
|
+
DESCRIPTOR._options = None
|
|
27
|
+
DESCRIPTOR._serialized_options = b'\n\033yandex.cloud.api.airflow.v1ZCgithub.com/yandex-cloud/go-genproto/yandex/cloud/airflow/v1;airflow'
|
|
28
|
+
_CLUSTER_LABELSENTRY._options = None
|
|
29
|
+
_CLUSTER_LABELSENTRY._serialized_options = b'8\001'
|
|
30
|
+
_CLUSTER.fields_by_name['service_account_id']._options = None
|
|
31
|
+
_CLUSTER.fields_by_name['service_account_id']._serialized_options = b'\212\3101\004<=50'
|
|
32
|
+
_CLUSTERCONFIG.fields_by_name['webserver']._options = None
|
|
33
|
+
_CLUSTERCONFIG.fields_by_name['webserver']._serialized_options = b'\350\3071\001'
|
|
34
|
+
_CLUSTERCONFIG.fields_by_name['scheduler']._options = None
|
|
35
|
+
_CLUSTERCONFIG.fields_by_name['scheduler']._serialized_options = b'\350\3071\001'
|
|
36
|
+
_CLUSTERCONFIG.fields_by_name['worker']._options = None
|
|
37
|
+
_CLUSTERCONFIG.fields_by_name['worker']._serialized_options = b'\350\3071\001'
|
|
38
|
+
_AIRFLOWCONFIG_CONFIGENTRY._options = None
|
|
39
|
+
_AIRFLOWCONFIG_CONFIGENTRY._serialized_options = b'8\001'
|
|
40
|
+
_WEBSERVERCONFIG.fields_by_name['count']._options = None
|
|
41
|
+
_WEBSERVERCONFIG.fields_by_name['count']._serialized_options = b'\372\3071\0051-512'
|
|
42
|
+
_SCHEDULERCONFIG.fields_by_name['count']._options = None
|
|
43
|
+
_SCHEDULERCONFIG.fields_by_name['count']._serialized_options = b'\372\3071\0051-512'
|
|
44
|
+
_TRIGGERERCONFIG.fields_by_name['count']._options = None
|
|
45
|
+
_TRIGGERERCONFIG.fields_by_name['count']._serialized_options = b'\372\3071\0050-512'
|
|
46
|
+
_WORKERCONFIG.fields_by_name['min_count']._options = None
|
|
47
|
+
_WORKERCONFIG.fields_by_name['min_count']._serialized_options = b'\372\3071\0050-512'
|
|
48
|
+
_WORKERCONFIG.fields_by_name['max_count']._options = None
|
|
49
|
+
_WORKERCONFIG.fields_by_name['max_count']._serialized_options = b'\372\3071\0051-512'
|
|
50
|
+
_CODESYNCCONFIG.oneofs_by_name['source']._options = None
|
|
51
|
+
_CODESYNCCONFIG.oneofs_by_name['source']._serialized_options = b'\300\3011\001'
|
|
52
|
+
_LOGGINGCONFIG.fields_by_name['folder_id']._options = None
|
|
53
|
+
_LOGGINGCONFIG.fields_by_name['folder_id']._serialized_options = b'\362\3071\037([a-zA-Z][-a-zA-Z0-9_.]{0,63})?'
|
|
54
|
+
_LOGGINGCONFIG.fields_by_name['log_group_id']._options = None
|
|
55
|
+
_LOGGINGCONFIG.fields_by_name['log_group_id']._serialized_options = b'\362\3071\037([a-zA-Z][-a-zA-Z0-9_.]{0,63})?'
|
|
56
|
+
_globals['_CLUSTER']._serialized_start=210
|
|
57
|
+
_globals['_CLUSTER']._serialized_end=1054
|
|
58
|
+
_globals['_CLUSTER_LABELSENTRY']._serialized_start=880
|
|
59
|
+
_globals['_CLUSTER_LABELSENTRY']._serialized_end=925
|
|
60
|
+
_globals['_CLUSTER_STATUS']._serialized_start=927
|
|
61
|
+
_globals['_CLUSTER_STATUS']._serialized_end=1048
|
|
62
|
+
_globals['_MONITORING']._serialized_start=1056
|
|
63
|
+
_globals['_MONITORING']._serialized_end=1117
|
|
64
|
+
_globals['_CLUSTERCONFIG']._serialized_start=1120
|
|
65
|
+
_globals['_CLUSTERCONFIG']._serialized_end=1586
|
|
66
|
+
_globals['_AIRFLOWCONFIG']._serialized_start=1589
|
|
67
|
+
_globals['_AIRFLOWCONFIG']._serialized_end=1719
|
|
68
|
+
_globals['_AIRFLOWCONFIG_CONFIGENTRY']._serialized_start=1674
|
|
69
|
+
_globals['_AIRFLOWCONFIG_CONFIGENTRY']._serialized_end=1719
|
|
70
|
+
_globals['_WEBSERVERCONFIG']._serialized_start=1721
|
|
71
|
+
_globals['_WEBSERVERCONFIG']._serialized_end=1819
|
|
72
|
+
_globals['_SCHEDULERCONFIG']._serialized_start=1821
|
|
73
|
+
_globals['_SCHEDULERCONFIG']._serialized_end=1919
|
|
74
|
+
_globals['_TRIGGERERCONFIG']._serialized_start=1921
|
|
75
|
+
_globals['_TRIGGERERCONFIG']._serialized_end=2019
|
|
76
|
+
_globals['_WORKERCONFIG']._serialized_start=2022
|
|
77
|
+
_globals['_WORKERCONFIG']._serialized_end=2151
|
|
78
|
+
_globals['_DEPENDENCIES']._serialized_start=2153
|
|
79
|
+
_globals['_DEPENDENCIES']._serialized_end=2211
|
|
80
|
+
_globals['_NETWORKCONFIG']._serialized_start=2213
|
|
81
|
+
_globals['_NETWORKCONFIG']._serialized_end=2276
|
|
82
|
+
_globals['_S3CONFIG']._serialized_start=2278
|
|
83
|
+
_globals['_S3CONFIG']._serialized_end=2304
|
|
84
|
+
_globals['_CODESYNCCONFIG']._serialized_start=2306
|
|
85
|
+
_globals['_CODESYNCCONFIG']._serialized_end=2387
|
|
86
|
+
_globals['_LOGGINGCONFIG']._serialized_start=2390
|
|
87
|
+
_globals['_LOGGINGCONFIG']._serialized_end=2616
|
|
88
|
+
_globals['_LOCKBOXCONFIG']._serialized_start=2618
|
|
89
|
+
_globals['_LOCKBOXCONFIG']._serialized_end=2650
|
|
90
|
+
# @@protoc_insertion_point(module_scope)
|
|
@@ -0,0 +1,525 @@
|
|
|
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.internal.containers
|
|
10
|
+
import google.protobuf.internal.enum_type_wrapper
|
|
11
|
+
import google.protobuf.message
|
|
12
|
+
import google.protobuf.timestamp_pb2
|
|
13
|
+
import sys
|
|
14
|
+
import typing
|
|
15
|
+
import yandex.cloud.airflow.v1.common_pb2
|
|
16
|
+
import yandex.cloud.logging.v1.log_entry_pb2
|
|
17
|
+
|
|
18
|
+
if sys.version_info >= (3, 10):
|
|
19
|
+
import typing as typing_extensions
|
|
20
|
+
else:
|
|
21
|
+
import typing_extensions
|
|
22
|
+
|
|
23
|
+
DESCRIPTOR: google.protobuf.descriptor.FileDescriptor
|
|
24
|
+
|
|
25
|
+
@typing.final
|
|
26
|
+
class Cluster(google.protobuf.message.Message):
|
|
27
|
+
"""Apache Airflow cluster."""
|
|
28
|
+
|
|
29
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
30
|
+
|
|
31
|
+
class _Status:
|
|
32
|
+
ValueType = typing.NewType("ValueType", builtins.int)
|
|
33
|
+
V: typing_extensions.TypeAlias = ValueType
|
|
34
|
+
|
|
35
|
+
class _StatusEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[Cluster._Status.ValueType], builtins.type):
|
|
36
|
+
DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor
|
|
37
|
+
STATUS_UNKNOWN: Cluster._Status.ValueType # 0
|
|
38
|
+
"""Cluster state is unknown."""
|
|
39
|
+
CREATING: Cluster._Status.ValueType # 1
|
|
40
|
+
"""Cluster is being created."""
|
|
41
|
+
RUNNING: Cluster._Status.ValueType # 2
|
|
42
|
+
"""Cluster is running normally."""
|
|
43
|
+
ERROR: Cluster._Status.ValueType # 3
|
|
44
|
+
"""Cluster encountered a problem and cannot operate."""
|
|
45
|
+
STOPPING: Cluster._Status.ValueType # 4
|
|
46
|
+
"""Cluster is stopping."""
|
|
47
|
+
STOPPED: Cluster._Status.ValueType # 5
|
|
48
|
+
"""Cluster is stopped."""
|
|
49
|
+
STARTING: Cluster._Status.ValueType # 6
|
|
50
|
+
"""Cluster is starting."""
|
|
51
|
+
UPDATING: Cluster._Status.ValueType # 7
|
|
52
|
+
"""Cluster is being updated."""
|
|
53
|
+
|
|
54
|
+
class Status(_Status, metaclass=_StatusEnumTypeWrapper): ...
|
|
55
|
+
STATUS_UNKNOWN: Cluster.Status.ValueType # 0
|
|
56
|
+
"""Cluster state is unknown."""
|
|
57
|
+
CREATING: Cluster.Status.ValueType # 1
|
|
58
|
+
"""Cluster is being created."""
|
|
59
|
+
RUNNING: Cluster.Status.ValueType # 2
|
|
60
|
+
"""Cluster is running normally."""
|
|
61
|
+
ERROR: Cluster.Status.ValueType # 3
|
|
62
|
+
"""Cluster encountered a problem and cannot operate."""
|
|
63
|
+
STOPPING: Cluster.Status.ValueType # 4
|
|
64
|
+
"""Cluster is stopping."""
|
|
65
|
+
STOPPED: Cluster.Status.ValueType # 5
|
|
66
|
+
"""Cluster is stopped."""
|
|
67
|
+
STARTING: Cluster.Status.ValueType # 6
|
|
68
|
+
"""Cluster is starting."""
|
|
69
|
+
UPDATING: Cluster.Status.ValueType # 7
|
|
70
|
+
"""Cluster is being updated."""
|
|
71
|
+
|
|
72
|
+
@typing.final
|
|
73
|
+
class LabelsEntry(google.protobuf.message.Message):
|
|
74
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
75
|
+
|
|
76
|
+
KEY_FIELD_NUMBER: builtins.int
|
|
77
|
+
VALUE_FIELD_NUMBER: builtins.int
|
|
78
|
+
key: builtins.str
|
|
79
|
+
value: builtins.str
|
|
80
|
+
def __init__(
|
|
81
|
+
self,
|
|
82
|
+
*,
|
|
83
|
+
key: builtins.str = ...,
|
|
84
|
+
value: builtins.str = ...,
|
|
85
|
+
) -> None: ...
|
|
86
|
+
def ClearField(self, field_name: typing.Literal["key", b"key", "value", b"value"]) -> None: ...
|
|
87
|
+
|
|
88
|
+
ID_FIELD_NUMBER: builtins.int
|
|
89
|
+
FOLDER_ID_FIELD_NUMBER: builtins.int
|
|
90
|
+
CREATED_AT_FIELD_NUMBER: builtins.int
|
|
91
|
+
NAME_FIELD_NUMBER: builtins.int
|
|
92
|
+
DESCRIPTION_FIELD_NUMBER: builtins.int
|
|
93
|
+
LABELS_FIELD_NUMBER: builtins.int
|
|
94
|
+
MONITORING_FIELD_NUMBER: builtins.int
|
|
95
|
+
CONFIG_FIELD_NUMBER: builtins.int
|
|
96
|
+
HEALTH_FIELD_NUMBER: builtins.int
|
|
97
|
+
STATUS_FIELD_NUMBER: builtins.int
|
|
98
|
+
NETWORK_FIELD_NUMBER: builtins.int
|
|
99
|
+
CODE_SYNC_FIELD_NUMBER: builtins.int
|
|
100
|
+
DELETION_PROTECTION_FIELD_NUMBER: builtins.int
|
|
101
|
+
WEBSERVER_URL_FIELD_NUMBER: builtins.int
|
|
102
|
+
SERVICE_ACCOUNT_ID_FIELD_NUMBER: builtins.int
|
|
103
|
+
LOGGING_FIELD_NUMBER: builtins.int
|
|
104
|
+
id: builtins.str
|
|
105
|
+
"""Unique ID of the Apache Airflow cluster.
|
|
106
|
+
This ID is assigned by Cloud during cluster creation.
|
|
107
|
+
"""
|
|
108
|
+
folder_id: builtins.str
|
|
109
|
+
"""ID of the folder that the Apache Airflow cluster belongs to."""
|
|
110
|
+
name: builtins.str
|
|
111
|
+
"""Name of the Apache Airflow cluster.
|
|
112
|
+
The name is unique within the folder. 1-64 characters long.
|
|
113
|
+
"""
|
|
114
|
+
description: builtins.str
|
|
115
|
+
"""Description of the Apache Airflow cluster. 0-256 characters long."""
|
|
116
|
+
health: yandex.cloud.airflow.v1.common_pb2.Health.ValueType
|
|
117
|
+
"""Aggregated cluster health."""
|
|
118
|
+
status: global___Cluster.Status.ValueType
|
|
119
|
+
"""Cluster status."""
|
|
120
|
+
deletion_protection: builtins.bool
|
|
121
|
+
"""Deletion Protection inhibits deletion of the cluster."""
|
|
122
|
+
webserver_url: builtins.str
|
|
123
|
+
"""Address of Apache Airflow web UI."""
|
|
124
|
+
service_account_id: builtins.str
|
|
125
|
+
"""Service account used to access Cloud resources.
|
|
126
|
+
For more information, see [documentation](/docs/managed-airflow/concepts/impersonation).
|
|
127
|
+
"""
|
|
128
|
+
@property
|
|
129
|
+
def created_at(self) -> google.protobuf.timestamp_pb2.Timestamp:
|
|
130
|
+
"""The time when the Apache Airflow cluster was created."""
|
|
131
|
+
|
|
132
|
+
@property
|
|
133
|
+
def labels(self) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]:
|
|
134
|
+
"""Resource labels as `key:value` pairs. Maximum of 64 per resource."""
|
|
135
|
+
|
|
136
|
+
@property
|
|
137
|
+
def monitoring(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___Monitoring]:
|
|
138
|
+
"""Monitoring systems relevant to the Apache Airflow cluster."""
|
|
139
|
+
|
|
140
|
+
@property
|
|
141
|
+
def config(self) -> global___ClusterConfig:
|
|
142
|
+
"""Configuration of Apache Airflow components."""
|
|
143
|
+
|
|
144
|
+
@property
|
|
145
|
+
def network(self) -> global___NetworkConfig:
|
|
146
|
+
"""Network related configuration options."""
|
|
147
|
+
|
|
148
|
+
@property
|
|
149
|
+
def code_sync(self) -> global___CodeSyncConfig:
|
|
150
|
+
"""Parameters of the location and access to the code that will be executed in the cluster."""
|
|
151
|
+
|
|
152
|
+
@property
|
|
153
|
+
def logging(self) -> global___LoggingConfig:
|
|
154
|
+
"""Cloud Logging configuration."""
|
|
155
|
+
|
|
156
|
+
def __init__(
|
|
157
|
+
self,
|
|
158
|
+
*,
|
|
159
|
+
id: builtins.str = ...,
|
|
160
|
+
folder_id: builtins.str = ...,
|
|
161
|
+
created_at: google.protobuf.timestamp_pb2.Timestamp | None = ...,
|
|
162
|
+
name: builtins.str = ...,
|
|
163
|
+
description: builtins.str = ...,
|
|
164
|
+
labels: collections.abc.Mapping[builtins.str, builtins.str] | None = ...,
|
|
165
|
+
monitoring: collections.abc.Iterable[global___Monitoring] | None = ...,
|
|
166
|
+
config: global___ClusterConfig | None = ...,
|
|
167
|
+
health: yandex.cloud.airflow.v1.common_pb2.Health.ValueType = ...,
|
|
168
|
+
status: global___Cluster.Status.ValueType = ...,
|
|
169
|
+
network: global___NetworkConfig | None = ...,
|
|
170
|
+
code_sync: global___CodeSyncConfig | None = ...,
|
|
171
|
+
deletion_protection: builtins.bool = ...,
|
|
172
|
+
webserver_url: builtins.str = ...,
|
|
173
|
+
service_account_id: builtins.str = ...,
|
|
174
|
+
logging: global___LoggingConfig | None = ...,
|
|
175
|
+
) -> None: ...
|
|
176
|
+
def HasField(self, field_name: typing.Literal["code_sync", b"code_sync", "config", b"config", "created_at", b"created_at", "logging", b"logging", "network", b"network"]) -> builtins.bool: ...
|
|
177
|
+
def ClearField(self, field_name: typing.Literal["code_sync", b"code_sync", "config", b"config", "created_at", b"created_at", "deletion_protection", b"deletion_protection", "description", b"description", "folder_id", b"folder_id", "health", b"health", "id", b"id", "labels", b"labels", "logging", b"logging", "monitoring", b"monitoring", "name", b"name", "network", b"network", "service_account_id", b"service_account_id", "status", b"status", "webserver_url", b"webserver_url"]) -> None: ...
|
|
178
|
+
|
|
179
|
+
global___Cluster = Cluster
|
|
180
|
+
|
|
181
|
+
@typing.final
|
|
182
|
+
class Monitoring(google.protobuf.message.Message):
|
|
183
|
+
"""Monitoring system."""
|
|
184
|
+
|
|
185
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
186
|
+
|
|
187
|
+
NAME_FIELD_NUMBER: builtins.int
|
|
188
|
+
DESCRIPTION_FIELD_NUMBER: builtins.int
|
|
189
|
+
LINK_FIELD_NUMBER: builtins.int
|
|
190
|
+
name: builtins.str
|
|
191
|
+
"""Name of the monitoring system."""
|
|
192
|
+
description: builtins.str
|
|
193
|
+
"""Description of the monitoring system."""
|
|
194
|
+
link: builtins.str
|
|
195
|
+
"""Link to the monitoring system."""
|
|
196
|
+
def __init__(
|
|
197
|
+
self,
|
|
198
|
+
*,
|
|
199
|
+
name: builtins.str = ...,
|
|
200
|
+
description: builtins.str = ...,
|
|
201
|
+
link: builtins.str = ...,
|
|
202
|
+
) -> None: ...
|
|
203
|
+
def ClearField(self, field_name: typing.Literal["description", b"description", "link", b"link", "name", b"name"]) -> None: ...
|
|
204
|
+
|
|
205
|
+
global___Monitoring = Monitoring
|
|
206
|
+
|
|
207
|
+
@typing.final
|
|
208
|
+
class ClusterConfig(google.protobuf.message.Message):
|
|
209
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
210
|
+
|
|
211
|
+
VERSION_ID_FIELD_NUMBER: builtins.int
|
|
212
|
+
AIRFLOW_FIELD_NUMBER: builtins.int
|
|
213
|
+
WEBSERVER_FIELD_NUMBER: builtins.int
|
|
214
|
+
SCHEDULER_FIELD_NUMBER: builtins.int
|
|
215
|
+
TRIGGERER_FIELD_NUMBER: builtins.int
|
|
216
|
+
WORKER_FIELD_NUMBER: builtins.int
|
|
217
|
+
DEPENDENCIES_FIELD_NUMBER: builtins.int
|
|
218
|
+
LOCKBOX_FIELD_NUMBER: builtins.int
|
|
219
|
+
version_id: builtins.str
|
|
220
|
+
"""Version of Apache that runs on the cluster."""
|
|
221
|
+
@property
|
|
222
|
+
def airflow(self) -> global___AirflowConfig:
|
|
223
|
+
"""Configuration of the Apache Airflow application itself."""
|
|
224
|
+
|
|
225
|
+
@property
|
|
226
|
+
def webserver(self) -> global___WebserverConfig:
|
|
227
|
+
"""Configuration of webserver instances."""
|
|
228
|
+
|
|
229
|
+
@property
|
|
230
|
+
def scheduler(self) -> global___SchedulerConfig:
|
|
231
|
+
"""Configuration of scheduler instances."""
|
|
232
|
+
|
|
233
|
+
@property
|
|
234
|
+
def triggerer(self) -> global___TriggererConfig:
|
|
235
|
+
"""Configuration of triggerer instances."""
|
|
236
|
+
|
|
237
|
+
@property
|
|
238
|
+
def worker(self) -> global___WorkerConfig:
|
|
239
|
+
"""Configuration of worker instances."""
|
|
240
|
+
|
|
241
|
+
@property
|
|
242
|
+
def dependencies(self) -> global___Dependencies:
|
|
243
|
+
"""The list of additional packages installed in the cluster."""
|
|
244
|
+
|
|
245
|
+
@property
|
|
246
|
+
def lockbox(self) -> global___LockboxConfig:
|
|
247
|
+
"""Configuration of Lockbox Secret Backend."""
|
|
248
|
+
|
|
249
|
+
def __init__(
|
|
250
|
+
self,
|
|
251
|
+
*,
|
|
252
|
+
version_id: builtins.str = ...,
|
|
253
|
+
airflow: global___AirflowConfig | None = ...,
|
|
254
|
+
webserver: global___WebserverConfig | None = ...,
|
|
255
|
+
scheduler: global___SchedulerConfig | None = ...,
|
|
256
|
+
triggerer: global___TriggererConfig | None = ...,
|
|
257
|
+
worker: global___WorkerConfig | None = ...,
|
|
258
|
+
dependencies: global___Dependencies | None = ...,
|
|
259
|
+
lockbox: global___LockboxConfig | None = ...,
|
|
260
|
+
) -> None: ...
|
|
261
|
+
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: ...
|
|
262
|
+
def ClearField(self, field_name: typing.Literal["airflow", b"airflow", "dependencies", b"dependencies", "lockbox", b"lockbox", "scheduler", b"scheduler", "triggerer", b"triggerer", "version_id", b"version_id", "webserver", b"webserver", "worker", b"worker"]) -> None: ...
|
|
263
|
+
|
|
264
|
+
global___ClusterConfig = ClusterConfig
|
|
265
|
+
|
|
266
|
+
@typing.final
|
|
267
|
+
class AirflowConfig(google.protobuf.message.Message):
|
|
268
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
269
|
+
|
|
270
|
+
@typing.final
|
|
271
|
+
class ConfigEntry(google.protobuf.message.Message):
|
|
272
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
273
|
+
|
|
274
|
+
KEY_FIELD_NUMBER: builtins.int
|
|
275
|
+
VALUE_FIELD_NUMBER: builtins.int
|
|
276
|
+
key: builtins.str
|
|
277
|
+
value: builtins.str
|
|
278
|
+
def __init__(
|
|
279
|
+
self,
|
|
280
|
+
*,
|
|
281
|
+
key: builtins.str = ...,
|
|
282
|
+
value: builtins.str = ...,
|
|
283
|
+
) -> None: ...
|
|
284
|
+
def ClearField(self, field_name: typing.Literal["key", b"key", "value", b"value"]) -> None: ...
|
|
285
|
+
|
|
286
|
+
CONFIG_FIELD_NUMBER: builtins.int
|
|
287
|
+
@property
|
|
288
|
+
def config(self) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]:
|
|
289
|
+
"""Properties to be passed to Apache Airflow configuration file."""
|
|
290
|
+
|
|
291
|
+
def __init__(
|
|
292
|
+
self,
|
|
293
|
+
*,
|
|
294
|
+
config: collections.abc.Mapping[builtins.str, builtins.str] | None = ...,
|
|
295
|
+
) -> None: ...
|
|
296
|
+
def ClearField(self, field_name: typing.Literal["config", b"config"]) -> None: ...
|
|
297
|
+
|
|
298
|
+
global___AirflowConfig = AirflowConfig
|
|
299
|
+
|
|
300
|
+
@typing.final
|
|
301
|
+
class WebserverConfig(google.protobuf.message.Message):
|
|
302
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
303
|
+
|
|
304
|
+
COUNT_FIELD_NUMBER: builtins.int
|
|
305
|
+
RESOURCES_FIELD_NUMBER: builtins.int
|
|
306
|
+
count: builtins.int
|
|
307
|
+
"""The number of webserver instances in the cluster."""
|
|
308
|
+
@property
|
|
309
|
+
def resources(self) -> yandex.cloud.airflow.v1.common_pb2.Resources:
|
|
310
|
+
"""Resources allocated to webserver instances."""
|
|
311
|
+
|
|
312
|
+
def __init__(
|
|
313
|
+
self,
|
|
314
|
+
*,
|
|
315
|
+
count: builtins.int = ...,
|
|
316
|
+
resources: yandex.cloud.airflow.v1.common_pb2.Resources | None = ...,
|
|
317
|
+
) -> None: ...
|
|
318
|
+
def HasField(self, field_name: typing.Literal["resources", b"resources"]) -> builtins.bool: ...
|
|
319
|
+
def ClearField(self, field_name: typing.Literal["count", b"count", "resources", b"resources"]) -> None: ...
|
|
320
|
+
|
|
321
|
+
global___WebserverConfig = WebserverConfig
|
|
322
|
+
|
|
323
|
+
@typing.final
|
|
324
|
+
class SchedulerConfig(google.protobuf.message.Message):
|
|
325
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
326
|
+
|
|
327
|
+
COUNT_FIELD_NUMBER: builtins.int
|
|
328
|
+
RESOURCES_FIELD_NUMBER: builtins.int
|
|
329
|
+
count: builtins.int
|
|
330
|
+
"""The number of scheduler instances in the cluster."""
|
|
331
|
+
@property
|
|
332
|
+
def resources(self) -> yandex.cloud.airflow.v1.common_pb2.Resources:
|
|
333
|
+
"""Resources allocated to scheduler instances."""
|
|
334
|
+
|
|
335
|
+
def __init__(
|
|
336
|
+
self,
|
|
337
|
+
*,
|
|
338
|
+
count: builtins.int = ...,
|
|
339
|
+
resources: yandex.cloud.airflow.v1.common_pb2.Resources | None = ...,
|
|
340
|
+
) -> None: ...
|
|
341
|
+
def HasField(self, field_name: typing.Literal["resources", b"resources"]) -> builtins.bool: ...
|
|
342
|
+
def ClearField(self, field_name: typing.Literal["count", b"count", "resources", b"resources"]) -> None: ...
|
|
343
|
+
|
|
344
|
+
global___SchedulerConfig = SchedulerConfig
|
|
345
|
+
|
|
346
|
+
@typing.final
|
|
347
|
+
class TriggererConfig(google.protobuf.message.Message):
|
|
348
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
349
|
+
|
|
350
|
+
COUNT_FIELD_NUMBER: builtins.int
|
|
351
|
+
RESOURCES_FIELD_NUMBER: builtins.int
|
|
352
|
+
count: builtins.int
|
|
353
|
+
"""The number of triggerer instances in the cluster."""
|
|
354
|
+
@property
|
|
355
|
+
def resources(self) -> yandex.cloud.airflow.v1.common_pb2.Resources:
|
|
356
|
+
"""Resources allocated to triggerer instances."""
|
|
357
|
+
|
|
358
|
+
def __init__(
|
|
359
|
+
self,
|
|
360
|
+
*,
|
|
361
|
+
count: builtins.int = ...,
|
|
362
|
+
resources: yandex.cloud.airflow.v1.common_pb2.Resources | None = ...,
|
|
363
|
+
) -> None: ...
|
|
364
|
+
def HasField(self, field_name: typing.Literal["resources", b"resources"]) -> builtins.bool: ...
|
|
365
|
+
def ClearField(self, field_name: typing.Literal["count", b"count", "resources", b"resources"]) -> None: ...
|
|
366
|
+
|
|
367
|
+
global___TriggererConfig = TriggererConfig
|
|
368
|
+
|
|
369
|
+
@typing.final
|
|
370
|
+
class WorkerConfig(google.protobuf.message.Message):
|
|
371
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
372
|
+
|
|
373
|
+
MIN_COUNT_FIELD_NUMBER: builtins.int
|
|
374
|
+
MAX_COUNT_FIELD_NUMBER: builtins.int
|
|
375
|
+
RESOURCES_FIELD_NUMBER: builtins.int
|
|
376
|
+
min_count: builtins.int
|
|
377
|
+
"""The minimum number of worker instances in the cluster."""
|
|
378
|
+
max_count: builtins.int
|
|
379
|
+
"""The maximum number of worker instances in the cluster."""
|
|
380
|
+
@property
|
|
381
|
+
def resources(self) -> yandex.cloud.airflow.v1.common_pb2.Resources:
|
|
382
|
+
"""Resources allocated to worker instances."""
|
|
383
|
+
|
|
384
|
+
def __init__(
|
|
385
|
+
self,
|
|
386
|
+
*,
|
|
387
|
+
min_count: builtins.int = ...,
|
|
388
|
+
max_count: builtins.int = ...,
|
|
389
|
+
resources: yandex.cloud.airflow.v1.common_pb2.Resources | None = ...,
|
|
390
|
+
) -> None: ...
|
|
391
|
+
def HasField(self, field_name: typing.Literal["resources", b"resources"]) -> builtins.bool: ...
|
|
392
|
+
def ClearField(self, field_name: typing.Literal["max_count", b"max_count", "min_count", b"min_count", "resources", b"resources"]) -> None: ...
|
|
393
|
+
|
|
394
|
+
global___WorkerConfig = WorkerConfig
|
|
395
|
+
|
|
396
|
+
@typing.final
|
|
397
|
+
class Dependencies(google.protobuf.message.Message):
|
|
398
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
399
|
+
|
|
400
|
+
PIP_PACKAGES_FIELD_NUMBER: builtins.int
|
|
401
|
+
DEB_PACKAGES_FIELD_NUMBER: builtins.int
|
|
402
|
+
@property
|
|
403
|
+
def pip_packages(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]:
|
|
404
|
+
"""Python packages that are installed in the cluster."""
|
|
405
|
+
|
|
406
|
+
@property
|
|
407
|
+
def deb_packages(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]:
|
|
408
|
+
"""System packages that are installed in the cluster."""
|
|
409
|
+
|
|
410
|
+
def __init__(
|
|
411
|
+
self,
|
|
412
|
+
*,
|
|
413
|
+
pip_packages: collections.abc.Iterable[builtins.str] | None = ...,
|
|
414
|
+
deb_packages: collections.abc.Iterable[builtins.str] | None = ...,
|
|
415
|
+
) -> None: ...
|
|
416
|
+
def ClearField(self, field_name: typing.Literal["deb_packages", b"deb_packages", "pip_packages", b"pip_packages"]) -> None: ...
|
|
417
|
+
|
|
418
|
+
global___Dependencies = Dependencies
|
|
419
|
+
|
|
420
|
+
@typing.final
|
|
421
|
+
class NetworkConfig(google.protobuf.message.Message):
|
|
422
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
423
|
+
|
|
424
|
+
SUBNET_IDS_FIELD_NUMBER: builtins.int
|
|
425
|
+
SECURITY_GROUP_IDS_FIELD_NUMBER: builtins.int
|
|
426
|
+
@property
|
|
427
|
+
def subnet_ids(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]:
|
|
428
|
+
"""IDs of VPC network subnets where instances of the cluster are attached."""
|
|
429
|
+
|
|
430
|
+
@property
|
|
431
|
+
def security_group_ids(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]:
|
|
432
|
+
"""User security groups."""
|
|
433
|
+
|
|
434
|
+
def __init__(
|
|
435
|
+
self,
|
|
436
|
+
*,
|
|
437
|
+
subnet_ids: collections.abc.Iterable[builtins.str] | None = ...,
|
|
438
|
+
security_group_ids: collections.abc.Iterable[builtins.str] | None = ...,
|
|
439
|
+
) -> None: ...
|
|
440
|
+
def ClearField(self, field_name: typing.Literal["security_group_ids", b"security_group_ids", "subnet_ids", b"subnet_ids"]) -> None: ...
|
|
441
|
+
|
|
442
|
+
global___NetworkConfig = NetworkConfig
|
|
443
|
+
|
|
444
|
+
@typing.final
|
|
445
|
+
class S3Config(google.protobuf.message.Message):
|
|
446
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
447
|
+
|
|
448
|
+
BUCKET_FIELD_NUMBER: builtins.int
|
|
449
|
+
bucket: builtins.str
|
|
450
|
+
"""The name of the Object Storage bucket that stores DAG files used in the cluster."""
|
|
451
|
+
def __init__(
|
|
452
|
+
self,
|
|
453
|
+
*,
|
|
454
|
+
bucket: builtins.str = ...,
|
|
455
|
+
) -> None: ...
|
|
456
|
+
def ClearField(self, field_name: typing.Literal["bucket", b"bucket"]) -> None: ...
|
|
457
|
+
|
|
458
|
+
global___S3Config = S3Config
|
|
459
|
+
|
|
460
|
+
@typing.final
|
|
461
|
+
class CodeSyncConfig(google.protobuf.message.Message):
|
|
462
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
463
|
+
|
|
464
|
+
S3_FIELD_NUMBER: builtins.int
|
|
465
|
+
@property
|
|
466
|
+
def s3(self) -> global___S3Config: ...
|
|
467
|
+
def __init__(
|
|
468
|
+
self,
|
|
469
|
+
*,
|
|
470
|
+
s3: global___S3Config | None = ...,
|
|
471
|
+
) -> None: ...
|
|
472
|
+
def HasField(self, field_name: typing.Literal["s3", b"s3", "source", b"source"]) -> builtins.bool: ...
|
|
473
|
+
def ClearField(self, field_name: typing.Literal["s3", b"s3", "source", b"source"]) -> None: ...
|
|
474
|
+
def WhichOneof(self, oneof_group: typing.Literal["source", b"source"]) -> typing.Literal["s3"] | None: ...
|
|
475
|
+
|
|
476
|
+
global___CodeSyncConfig = CodeSyncConfig
|
|
477
|
+
|
|
478
|
+
@typing.final
|
|
479
|
+
class LoggingConfig(google.protobuf.message.Message):
|
|
480
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
481
|
+
|
|
482
|
+
ENABLED_FIELD_NUMBER: builtins.int
|
|
483
|
+
FOLDER_ID_FIELD_NUMBER: builtins.int
|
|
484
|
+
LOG_GROUP_ID_FIELD_NUMBER: builtins.int
|
|
485
|
+
MIN_LEVEL_FIELD_NUMBER: builtins.int
|
|
486
|
+
enabled: builtins.bool
|
|
487
|
+
"""Logs generated by the Airflow components are delivered to Cloud Logging."""
|
|
488
|
+
folder_id: builtins.str
|
|
489
|
+
"""Logs should be written to default log group for specified folder."""
|
|
490
|
+
log_group_id: builtins.str
|
|
491
|
+
"""Logs should be written to log group resolved by ID."""
|
|
492
|
+
min_level: yandex.cloud.logging.v1.log_entry_pb2.LogLevel.Level.ValueType
|
|
493
|
+
"""Minimum log entry level.
|
|
494
|
+
|
|
495
|
+
See [LogLevel.Level] for details.
|
|
496
|
+
"""
|
|
497
|
+
def __init__(
|
|
498
|
+
self,
|
|
499
|
+
*,
|
|
500
|
+
enabled: builtins.bool = ...,
|
|
501
|
+
folder_id: builtins.str = ...,
|
|
502
|
+
log_group_id: builtins.str = ...,
|
|
503
|
+
min_level: yandex.cloud.logging.v1.log_entry_pb2.LogLevel.Level.ValueType = ...,
|
|
504
|
+
) -> None: ...
|
|
505
|
+
def HasField(self, field_name: typing.Literal["destination", b"destination", "folder_id", b"folder_id", "log_group_id", b"log_group_id"]) -> builtins.bool: ...
|
|
506
|
+
def ClearField(self, field_name: typing.Literal["destination", b"destination", "enabled", b"enabled", "folder_id", b"folder_id", "log_group_id", b"log_group_id", "min_level", b"min_level"]) -> None: ...
|
|
507
|
+
def WhichOneof(self, oneof_group: typing.Literal["destination", b"destination"]) -> typing.Literal["folder_id", "log_group_id"] | None: ...
|
|
508
|
+
|
|
509
|
+
global___LoggingConfig = LoggingConfig
|
|
510
|
+
|
|
511
|
+
@typing.final
|
|
512
|
+
class LockboxConfig(google.protobuf.message.Message):
|
|
513
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
514
|
+
|
|
515
|
+
ENABLED_FIELD_NUMBER: builtins.int
|
|
516
|
+
enabled: builtins.bool
|
|
517
|
+
"""The setting allows to enable Lockbox Secret Backend."""
|
|
518
|
+
def __init__(
|
|
519
|
+
self,
|
|
520
|
+
*,
|
|
521
|
+
enabled: builtins.bool = ...,
|
|
522
|
+
) -> None: ...
|
|
523
|
+
def ClearField(self, field_name: typing.Literal["enabled", b"enabled"]) -> None: ...
|
|
524
|
+
|
|
525
|
+
global___LockboxConfig = LockboxConfig
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"""
|
|
2
|
+
@generated by mypy-protobuf. Do not edit manually!
|
|
3
|
+
isort:skip_file
|
|
4
|
+
"""
|
|
5
|
+
|
|
6
|
+
import abc
|
|
7
|
+
import collections.abc
|
|
8
|
+
import grpc
|
|
9
|
+
import grpc.aio
|
|
10
|
+
import typing
|
|
11
|
+
|
|
12
|
+
_T = typing.TypeVar("_T")
|
|
13
|
+
|
|
14
|
+
class _MaybeAsyncIterator(collections.abc.AsyncIterator[_T], collections.abc.Iterator[_T], metaclass=abc.ABCMeta): ...
|
|
15
|
+
|
|
16
|
+
class _ServicerContext(grpc.ServicerContext, grpc.aio.ServicerContext): # type: ignore[misc, type-arg]
|
|
17
|
+
...
|