yandexcloud 0.329.0__py3-none-any.whl → 0.331.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.
- yandex/cloud/ai/assistants/v1/common_pb2.py +28 -9
- yandex/cloud/ai/assistants/v1/common_pb2.pyi +231 -12
- yandex/cloud/ai/assistants/v1/runs/run_pb2.py +10 -10
- yandex/cloud/ai/assistants/v1/runs/run_pb2.pyi +20 -4
- yandex/cloud/ai/assistants/v1/runs/run_service_pb2.py +26 -22
- yandex/cloud/ai/assistants/v1/runs/run_service_pb2.pyi +50 -4
- yandex/cloud/ai/assistants/v1/runs/run_service_pb2_grpc.py +46 -0
- yandex/cloud/ai/assistants/v1/runs/run_service_pb2_grpc.pyi +29 -0
- yandex/cloud/ai/assistants/v1/searchindex/common_pb2.pyi +13 -0
- yandex/cloud/ai/assistants/v1/searchindex/search_index_pb2.py +7 -7
- yandex/cloud/ai/assistants/v1/searchindex/search_index_pb2.pyi +9 -2
- yandex/cloud/ai/assistants/v1/searchindex/search_index_service_pb2_grpc.py +3 -3
- yandex/cloud/ai/assistants/v1/searchindex/search_index_service_pb2_grpc.pyi +3 -3
- yandex/cloud/ai/assistants/v1/threads/thread_pb2.py +6 -5
- yandex/cloud/ai/assistants/v1/threads/thread_pb2.pyi +8 -1
- yandex/cloud/ai/assistants/v1/threads/thread_service_pb2.py +22 -21
- yandex/cloud/ai/assistants/v1/threads/thread_service_pb2.pyi +15 -2
- yandex/cloud/ai/dataset/v1/dataset_pb2.py +12 -8
- yandex/cloud/ai/dataset/v1/dataset_pb2.pyi +44 -1
- yandex/cloud/ai/dataset/v1/dataset_service_pb2.py +68 -40
- yandex/cloud/ai/dataset/v1/dataset_service_pb2.pyi +161 -1
- yandex/cloud/ai/dataset/v1/dataset_service_pb2_grpc.py +176 -1
- yandex/cloud/ai/dataset/v1/dataset_service_pb2_grpc.pyi +80 -3
- yandex/cloud/ai/files/v1/file_service_pb2.py +3 -3
- yandex/cloud/ai/foundation_models/v1/text_classification/text_classification_service_pb2.pyi +1 -1
- yandex/cloud/ai/foundation_models/v1/text_common_pb2.py +34 -28
- yandex/cloud/ai/foundation_models/v1/text_common_pb2.pyi +73 -3
- yandex/cloud/ai/translate/v2/translation_pb2.pyi +2 -2
- yandex/cloud/ai/translate/v2/translation_service_pb2.pyi +14 -13
- yandex/cloud/ai/tuning/v1/tuning_error_pb2.py +39 -0
- yandex/cloud/ai/tuning/v1/tuning_error_pb2.pyi +54 -0
- yandex/cloud/ai/tuning/v1/tuning_error_pb2_grpc.py +24 -0
- yandex/cloud/ai/tuning/v1/tuning_error_pb2_grpc.pyi +17 -0
- yandex/cloud/ai/tuning/v1/tuning_service_pb2.py +56 -51
- yandex/cloud/ai/tuning/v1/tuning_service_pb2.pyi +44 -4
- yandex/cloud/ai/tuning/v1/tuning_service_pb2_grpc.py +43 -0
- yandex/cloud/ai/tuning/v1/tuning_service_pb2_grpc.pyi +17 -0
- yandex/cloud/ai/tuning/v1/tuning_task_pb2.py +3 -3
- yandex/cloud/ai/tuning/v1/tuning_task_pb2.pyi +2 -0
- yandex/cloud/ai/tuning/v1/tuning_types_pb2.pyi +1 -0
- yandex/cloud/airflow/v1/cluster_pb2.py +28 -26
- yandex/cloud/airflow/v1/cluster_pb2.pyi +12 -2
- yandex/cloud/airflow/v1/cluster_service_pb2.py +26 -26
- yandex/cloud/airflow/v1/cluster_service_pb2.pyi +9 -1
- yandex/cloud/apploadbalancer/v1/load_balancer_pb2.pyi +1 -1
- yandex/cloud/audittrails/v1/trail_pb2.py +17 -15
- yandex/cloud/audittrails/v1/trail_pb2.pyi +25 -2
- yandex/cloud/backup/v1/policy_pb2.py +27 -27
- yandex/cloud/backup/v1/policy_pb2.pyi +8 -2
- yandex/cloud/billing/v1/customer_service_pb2.pyi +2 -2
- yandex/cloud/compute/v1/disk_placement_group_service_pb2.py +28 -28
- yandex/cloud/compute/v1/disk_service_pb2.py +36 -36
- yandex/cloud/compute/v1/filesystem_service_pb2.py +24 -24
- yandex/cloud/compute/v1/gpu_cluster_pb2.pyi +1 -1
- yandex/cloud/compute/v1/host_group_service_pb2.py +36 -36
- yandex/cloud/compute/v1/image_service_pb2.py +24 -24
- yandex/cloud/compute/v1/image_service_pb2.pyi +2 -1
- yandex/cloud/compute/v1/instance_service_pb2.py +130 -130
- yandex/cloud/compute/v1/snapshot_service_pb2.py +24 -24
- yandex/cloud/endpoint/api_endpoint_service_pb2.py +10 -6
- yandex/cloud/iam/v1/api_key_pb2.py +4 -2
- yandex/cloud/iam/v1/api_key_pb2.pyi +9 -1
- yandex/cloud/iam/v1/api_key_service_pb2.py +27 -23
- yandex/cloud/iam/v1/api_key_service_pb2.pyi +21 -3
- yandex/cloud/loadtesting/api/v1/agent/create_compute_instance_pb2.pyi +1 -1
- yandex/cloud/loadtesting/api/v1/agent_service_pb2.py +3 -3
- yandex/cloud/loadtesting/api/v1/config_service_pb2.py +2 -2
- yandex/cloud/loadtesting/api/v1/regression_dashboard_service_pb2.py +3 -3
- yandex/cloud/loadtesting/api/v1/report_service_pb2.py +2 -2
- yandex/cloud/loadtesting/api/v1/test/test_pb2.pyi +1 -1
- yandex/cloud/loadtesting/api/v1/test_service_pb2.py +2 -2
- yandex/cloud/lockbox/v1/payload_service_pb2.py +25 -3
- yandex/cloud/lockbox/v1/payload_service_pb2.pyi +82 -0
- yandex/cloud/lockbox/v1/payload_service_pb2_grpc.py +43 -0
- yandex/cloud/lockbox/v1/payload_service_pb2_grpc.pyi +17 -0
- yandex/cloud/mdb/greenplum/v1/config_pb2.py +24 -24
- yandex/cloud/mdb/greenplum/v1/config_pb2.pyi +20 -2
- yandex/cloud/mdb/greenplum/v1/resource_groups_pb2.py +51 -0
- yandex/cloud/mdb/greenplum/v1/resource_groups_pb2.pyi +62 -0
- yandex/cloud/mdb/greenplum/v1/resource_groups_pb2_grpc.py +24 -0
- yandex/cloud/mdb/greenplum/v1/resource_groups_pb2_grpc.pyi +17 -0
- yandex/cloud/mdb/greenplum/v1/resource_groups_service_pb2.py +99 -0
- yandex/cloud/mdb/greenplum/v1/resource_groups_service_pb2.pyi +187 -0
- yandex/cloud/mdb/greenplum/v1/resource_groups_service_pb2_grpc.py +276 -0
- yandex/cloud/mdb/greenplum/v1/resource_groups_service_pb2_grpc.pyi +126 -0
- yandex/cloud/mdb/mongodb/v1/cluster_pb2.py +6 -6
- yandex/cloud/mdb/mongodb/v1/cluster_pb2.pyi +5 -1
- yandex/cloud/mdb/mongodb/v1/cluster_service_pb2_grpc.py +0 -1
- yandex/cloud/mdb/mongodb/v1/cluster_service_pb2_grpc.pyi +3 -9
- yandex/cloud/mdb/mysql/v1/cluster_service_pb2.py +96 -96
- yandex/cloud/mdb/mysql/v1/cluster_service_pb2.pyi +8 -2
- yandex/cloud/mdb/opensearch/v1/cluster_service_pb2_grpc.py +0 -1
- yandex/cloud/mdb/opensearch/v1/cluster_service_pb2_grpc.pyi +3 -9
- yandex/cloud/mdb/postgresql/v1/cluster_service_pb2.py +98 -98
- yandex/cloud/mdb/postgresql/v1/cluster_service_pb2.pyi +8 -2
- yandex/cloud/mdb/redis/v1/cluster_pb2.py +18 -18
- yandex/cloud/mdb/redis/v1/cluster_pb2.pyi +8 -2
- yandex/cloud/mdb/redis/v1/cluster_service_pb2.py +4 -4
- yandex/cloud/mdb/redis/v1/cluster_service_pb2.pyi +8 -2
- yandex/cloud/mdb/redis/v1/user_pb2.py +47 -0
- yandex/cloud/mdb/redis/v1/user_pb2.pyi +131 -0
- yandex/cloud/mdb/redis/v1/user_pb2_grpc.py +24 -0
- yandex/cloud/mdb/redis/v1/user_pb2_grpc.pyi +17 -0
- yandex/cloud/mdb/redis/v1/user_service_pb2.py +93 -0
- yandex/cloud/mdb/redis/v1/user_service_pb2.pyi +250 -0
- yandex/cloud/mdb/redis/v1/user_service_pb2_grpc.py +281 -0
- yandex/cloud/mdb/redis/v1/user_service_pb2_grpc.pyi +141 -0
- yandex/cloud/monitoring/v3/widget_pb2.py +2 -2
- yandex/cloud/serverless/apigateway/v1/apigateway_service_pb2_grpc.py +1 -1
- yandex/cloud/serverless/apigateway/v1/apigateway_service_pb2_grpc.pyi +3 -3
- yandex/cloud/serverless/containers/v1/container_service_pb2_grpc.py +1 -1
- yandex/cloud/serverless/containers/v1/container_service_pb2_grpc.pyi +3 -3
- yandex/cloud/storage/v1/bucket_pb2.py +78 -76
- yandex/cloud/storage/v1/bucket_pb2.pyi +33 -3
- yandex/cloud/storage/v1/bucket_service_pb2.py +26 -26
- yandex/cloud/storage/v1/bucket_service_pb2.pyi +8 -2
- yandex/cloud/video/v1/channel_service_pb2.py +23 -23
- yandex/cloud/video/v1/episode_service_pb2.py +7 -7
- yandex/cloud/video/v1/playlist_service_pb2.py +29 -29
- yandex/cloud/video/v1/stream_line_service_pb2.py +43 -43
- yandex/cloud/video/v1/stream_service_pb2.py +21 -21
- yandex/cloud/video/v1/subtitle_service_pb2.py +23 -21
- yandex/cloud/video/v1/thumbnail_service_pb2.py +11 -11
- yandex/cloud/video/v1/video_service_pb2.py +67 -66
- yandex/cloud/video/v1/video_service_pb2.pyi +9 -2
- yandexcloud/__init__.py +1 -1
- yandexcloud/_auth_fabric.py +1 -2
- yandexcloud/_auth_plugin.py +1 -1
- yandexcloud/_helpers.py +0 -1
- yandexcloud/_wrappers/dataproc/__init__.py +1 -3
- yandexcloud/operations.py +1 -1
- {yandexcloud-0.329.0.dist-info → yandexcloud-0.331.0.dist-info}/AUTHORS +1 -1
- {yandexcloud-0.329.0.dist-info → yandexcloud-0.331.0.dist-info}/METADATA +3 -3
- {yandexcloud-0.329.0.dist-info → yandexcloud-0.331.0.dist-info}/RECORD +137 -117
- {yandexcloud-0.329.0.dist-info → yandexcloud-0.331.0.dist-info}/WHEEL +1 -1
- {yandexcloud-0.329.0.dist-info → yandexcloud-0.331.0.dist-info}/LICENSE +0 -0
- {yandexcloud-0.329.0.dist-info → yandexcloud-0.331.0.dist-info}/top_level.txt +0 -0
|
@@ -65,6 +65,11 @@ class TuningServiceStub(object):
|
|
|
65
65
|
request_serializer=yandex_dot_cloud_dot_ai_dot_tuning_dot_v1_dot_tuning__service__pb2.GetOptionsRequest.SerializeToString,
|
|
66
66
|
response_deserializer=yandex_dot_cloud_dot_ai_dot_tuning_dot_v1_dot_tuning__service__pb2.GetOptionsResponse.FromString,
|
|
67
67
|
_registered_method=True)
|
|
68
|
+
self.ListErrors = channel.unary_unary(
|
|
69
|
+
'/yandex.cloud.ai.tuning.v1.TuningService/ListErrors',
|
|
70
|
+
request_serializer=yandex_dot_cloud_dot_ai_dot_tuning_dot_v1_dot_tuning__service__pb2.ListErrorsRequest.SerializeToString,
|
|
71
|
+
response_deserializer=yandex_dot_cloud_dot_ai_dot_tuning_dot_v1_dot_tuning__service__pb2.ListErrorsResponse.FromString,
|
|
72
|
+
_registered_method=True)
|
|
68
73
|
|
|
69
74
|
|
|
70
75
|
class TuningServiceServicer(object):
|
|
@@ -106,6 +111,12 @@ class TuningServiceServicer(object):
|
|
|
106
111
|
context.set_details('Method not implemented!')
|
|
107
112
|
raise NotImplementedError('Method not implemented!')
|
|
108
113
|
|
|
114
|
+
def ListErrors(self, request, context):
|
|
115
|
+
"""Missing associated documentation comment in .proto file."""
|
|
116
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
117
|
+
context.set_details('Method not implemented!')
|
|
118
|
+
raise NotImplementedError('Method not implemented!')
|
|
119
|
+
|
|
109
120
|
|
|
110
121
|
def add_TuningServiceServicer_to_server(servicer, server):
|
|
111
122
|
rpc_method_handlers = {
|
|
@@ -139,6 +150,11 @@ def add_TuningServiceServicer_to_server(servicer, server):
|
|
|
139
150
|
request_deserializer=yandex_dot_cloud_dot_ai_dot_tuning_dot_v1_dot_tuning__service__pb2.GetOptionsRequest.FromString,
|
|
140
151
|
response_serializer=yandex_dot_cloud_dot_ai_dot_tuning_dot_v1_dot_tuning__service__pb2.GetOptionsResponse.SerializeToString,
|
|
141
152
|
),
|
|
153
|
+
'ListErrors': grpc.unary_unary_rpc_method_handler(
|
|
154
|
+
servicer.ListErrors,
|
|
155
|
+
request_deserializer=yandex_dot_cloud_dot_ai_dot_tuning_dot_v1_dot_tuning__service__pb2.ListErrorsRequest.FromString,
|
|
156
|
+
response_serializer=yandex_dot_cloud_dot_ai_dot_tuning_dot_v1_dot_tuning__service__pb2.ListErrorsResponse.SerializeToString,
|
|
157
|
+
),
|
|
142
158
|
}
|
|
143
159
|
generic_handler = grpc.method_handlers_generic_handler(
|
|
144
160
|
'yandex.cloud.ai.tuning.v1.TuningService', rpc_method_handlers)
|
|
@@ -311,3 +327,30 @@ class TuningService(object):
|
|
|
311
327
|
timeout,
|
|
312
328
|
metadata,
|
|
313
329
|
_registered_method=True)
|
|
330
|
+
|
|
331
|
+
@staticmethod
|
|
332
|
+
def ListErrors(request,
|
|
333
|
+
target,
|
|
334
|
+
options=(),
|
|
335
|
+
channel_credentials=None,
|
|
336
|
+
call_credentials=None,
|
|
337
|
+
insecure=False,
|
|
338
|
+
compression=None,
|
|
339
|
+
wait_for_ready=None,
|
|
340
|
+
timeout=None,
|
|
341
|
+
metadata=None):
|
|
342
|
+
return grpc.experimental.unary_unary(
|
|
343
|
+
request,
|
|
344
|
+
target,
|
|
345
|
+
'/yandex.cloud.ai.tuning.v1.TuningService/ListErrors',
|
|
346
|
+
yandex_dot_cloud_dot_ai_dot_tuning_dot_v1_dot_tuning__service__pb2.ListErrorsRequest.SerializeToString,
|
|
347
|
+
yandex_dot_cloud_dot_ai_dot_tuning_dot_v1_dot_tuning__service__pb2.ListErrorsResponse.FromString,
|
|
348
|
+
options,
|
|
349
|
+
channel_credentials,
|
|
350
|
+
insecure,
|
|
351
|
+
call_credentials,
|
|
352
|
+
compression,
|
|
353
|
+
wait_for_ready,
|
|
354
|
+
timeout,
|
|
355
|
+
metadata,
|
|
356
|
+
_registered_method=True)
|
|
@@ -50,6 +50,11 @@ class TuningServiceStub:
|
|
|
50
50
|
yandex.cloud.ai.tuning.v1.tuning_service_pb2.GetOptionsResponse,
|
|
51
51
|
]
|
|
52
52
|
|
|
53
|
+
ListErrors: grpc.UnaryUnaryMultiCallable[
|
|
54
|
+
yandex.cloud.ai.tuning.v1.tuning_service_pb2.ListErrorsRequest,
|
|
55
|
+
yandex.cloud.ai.tuning.v1.tuning_service_pb2.ListErrorsResponse,
|
|
56
|
+
]
|
|
57
|
+
|
|
53
58
|
class TuningServiceAsyncStub:
|
|
54
59
|
Tune: grpc.aio.UnaryUnaryMultiCallable[
|
|
55
60
|
yandex.cloud.ai.tuning.v1.tuning_service_pb2.TuningRequest,
|
|
@@ -81,6 +86,11 @@ class TuningServiceAsyncStub:
|
|
|
81
86
|
yandex.cloud.ai.tuning.v1.tuning_service_pb2.GetOptionsResponse,
|
|
82
87
|
]
|
|
83
88
|
|
|
89
|
+
ListErrors: grpc.aio.UnaryUnaryMultiCallable[
|
|
90
|
+
yandex.cloud.ai.tuning.v1.tuning_service_pb2.ListErrorsRequest,
|
|
91
|
+
yandex.cloud.ai.tuning.v1.tuning_service_pb2.ListErrorsResponse,
|
|
92
|
+
]
|
|
93
|
+
|
|
84
94
|
class TuningServiceServicer(metaclass=abc.ABCMeta):
|
|
85
95
|
@abc.abstractmethod
|
|
86
96
|
def Tune(
|
|
@@ -124,4 +134,11 @@ class TuningServiceServicer(metaclass=abc.ABCMeta):
|
|
|
124
134
|
context: _ServicerContext,
|
|
125
135
|
) -> typing.Union[yandex.cloud.ai.tuning.v1.tuning_service_pb2.GetOptionsResponse, collections.abc.Awaitable[yandex.cloud.ai.tuning.v1.tuning_service_pb2.GetOptionsResponse]]: ...
|
|
126
136
|
|
|
137
|
+
@abc.abstractmethod
|
|
138
|
+
def ListErrors(
|
|
139
|
+
self,
|
|
140
|
+
request: yandex.cloud.ai.tuning.v1.tuning_service_pb2.ListErrorsRequest,
|
|
141
|
+
context: _ServicerContext,
|
|
142
|
+
) -> typing.Union[yandex.cloud.ai.tuning.v1.tuning_service_pb2.ListErrorsResponse, collections.abc.Awaitable[yandex.cloud.ai.tuning.v1.tuning_service_pb2.ListErrorsResponse]]: ...
|
|
143
|
+
|
|
127
144
|
def add_TuningServiceServicer_to_server(servicer: TuningServiceServicer, server: typing.Union[grpc.Server, grpc.aio.Server]) -> None: ...
|
|
@@ -25,7 +25,7 @@ _sym_db = _symbol_database.Default()
|
|
|
25
25
|
from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2
|
|
26
26
|
|
|
27
27
|
|
|
28
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n+yandex/cloud/ai/tuning/v1/tuning_task.proto\x12\x19yandex.cloud.ai.tuning.v1\x1a\x1fgoogle/protobuf/timestamp.proto\"\
|
|
28
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n+yandex/cloud/ai/tuning/v1/tuning_task.proto\x12\x19yandex.cloud.ai.tuning.v1\x1a\x1fgoogle/protobuf/timestamp.proto\"\xd9\x03\n\nTuningTask\x12\x0f\n\x07task_id\x18\x01 \x01(\t\x12\x14\n\x0coperation_id\x18\x03 \x01(\t\x12<\n\x06status\x18\x04 \x01(\x0e\x32,.yandex.cloud.ai.tuning.v1.TuningTask.Status\x12\x11\n\tfolder_id\x18\x05 \x01(\t\x12\x12\n\ncreated_by\x18\x06 \x01(\t\x12.\n\ncreated_at\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12.\n\nstarted_at\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12/\n\x0b\x66inished_at\x18\t \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x18\n\x10source_model_uri\x18\n \x01(\t\x12\x18\n\x10target_model_uri\x18\x0b \x01(\t\"t\n\x06Status\x12\x16\n\x12STATUS_UNSPECIFIED\x10\x00\x12\x0b\n\x07\x43REATED\x10\x01\x12\x0b\n\x07PENDING\x10\x02\x12\x0f\n\x0bIN_PROGRESS\x10\x03\x12\r\n\tCOMPLETED\x10\x04\x12\n\n\x06\x46\x41ILED\x10\x05\x12\x0c\n\x08\x43\x41NCELED\x10\x06J\x04\x08\x02\x10\x03\x42\x63\n\x1dyandex.cloud.api.ai.tuning.v1ZBgithub.com/yandex-cloud/go-genproto/yandex/cloud/ai/tuning/v1;fomob\x06proto3')
|
|
29
29
|
|
|
30
30
|
_globals = globals()
|
|
31
31
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
@@ -34,7 +34,7 @@ if not _descriptor._USE_C_DESCRIPTORS:
|
|
|
34
34
|
_globals['DESCRIPTOR']._loaded_options = None
|
|
35
35
|
_globals['DESCRIPTOR']._serialized_options = b'\n\035yandex.cloud.api.ai.tuning.v1ZBgithub.com/yandex-cloud/go-genproto/yandex/cloud/ai/tuning/v1;fomo'
|
|
36
36
|
_globals['_TUNINGTASK']._serialized_start=108
|
|
37
|
-
_globals['_TUNINGTASK']._serialized_end=
|
|
37
|
+
_globals['_TUNINGTASK']._serialized_end=581
|
|
38
38
|
_globals['_TUNINGTASK_STATUS']._serialized_start=459
|
|
39
|
-
_globals['_TUNINGTASK_STATUS']._serialized_end=
|
|
39
|
+
_globals['_TUNINGTASK_STATUS']._serialized_end=575
|
|
40
40
|
# @@protoc_insertion_point(module_scope)
|
|
@@ -34,6 +34,7 @@ class TuningTask(google.protobuf.message.Message):
|
|
|
34
34
|
IN_PROGRESS: TuningTask._Status.ValueType # 3
|
|
35
35
|
COMPLETED: TuningTask._Status.ValueType # 4
|
|
36
36
|
FAILED: TuningTask._Status.ValueType # 5
|
|
37
|
+
CANCELED: TuningTask._Status.ValueType # 6
|
|
37
38
|
|
|
38
39
|
class Status(_Status, metaclass=_StatusEnumTypeWrapper): ...
|
|
39
40
|
STATUS_UNSPECIFIED: TuningTask.Status.ValueType # 0
|
|
@@ -42,6 +43,7 @@ class TuningTask(google.protobuf.message.Message):
|
|
|
42
43
|
IN_PROGRESS: TuningTask.Status.ValueType # 3
|
|
43
44
|
COMPLETED: TuningTask.Status.ValueType # 4
|
|
44
45
|
FAILED: TuningTask.Status.ValueType # 5
|
|
46
|
+
CANCELED: TuningTask.Status.ValueType # 6
|
|
45
47
|
|
|
46
48
|
TASK_ID_FIELD_NUMBER: builtins.int
|
|
47
49
|
OPERATION_ID_FIELD_NUMBER: builtins.int
|
|
@@ -28,7 +28,7 @@ from yandex.cloud.logging.v1 import log_entry_pb2 as yandex_dot_cloud_dot_loggin
|
|
|
28
28
|
from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2
|
|
29
29
|
|
|
30
30
|
|
|
31
|
-
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\"\
|
|
31
|
+
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\"\x87\x04\n\rClusterConfig\x12\x16\n\nversion_id\x18\x01 \x01(\tB\x02\x18\x01\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\x12\x17\n\x0f\x61irflow_version\x18\t \x01(\t\x12\x16\n\x0epython_version\x18\n \x01(\t\"\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')
|
|
32
32
|
|
|
33
33
|
_globals = globals()
|
|
34
34
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
@@ -40,6 +40,8 @@ if not _descriptor._USE_C_DESCRIPTORS:
|
|
|
40
40
|
_globals['_CLUSTER_LABELSENTRY']._serialized_options = b'8\001'
|
|
41
41
|
_globals['_CLUSTER'].fields_by_name['service_account_id']._loaded_options = None
|
|
42
42
|
_globals['_CLUSTER'].fields_by_name['service_account_id']._serialized_options = b'\212\3101\004<=50'
|
|
43
|
+
_globals['_CLUSTERCONFIG'].fields_by_name['version_id']._loaded_options = None
|
|
44
|
+
_globals['_CLUSTERCONFIG'].fields_by_name['version_id']._serialized_options = b'\030\001'
|
|
43
45
|
_globals['_CLUSTERCONFIG'].fields_by_name['webserver']._loaded_options = None
|
|
44
46
|
_globals['_CLUSTERCONFIG'].fields_by_name['webserver']._serialized_options = b'\350\3071\001'
|
|
45
47
|
_globals['_CLUSTERCONFIG'].fields_by_name['scheduler']._loaded_options = None
|
|
@@ -73,29 +75,29 @@ if not _descriptor._USE_C_DESCRIPTORS:
|
|
|
73
75
|
_globals['_MONITORING']._serialized_start=1056
|
|
74
76
|
_globals['_MONITORING']._serialized_end=1117
|
|
75
77
|
_globals['_CLUSTERCONFIG']._serialized_start=1120
|
|
76
|
-
_globals['_CLUSTERCONFIG']._serialized_end=
|
|
77
|
-
_globals['_AIRFLOWCONFIG']._serialized_start=
|
|
78
|
-
_globals['_AIRFLOWCONFIG']._serialized_end=
|
|
79
|
-
_globals['_AIRFLOWCONFIG_CONFIGENTRY']._serialized_start=
|
|
80
|
-
_globals['_AIRFLOWCONFIG_CONFIGENTRY']._serialized_end=
|
|
81
|
-
_globals['_WEBSERVERCONFIG']._serialized_start=
|
|
82
|
-
_globals['_WEBSERVERCONFIG']._serialized_end=
|
|
83
|
-
_globals['_SCHEDULERCONFIG']._serialized_start=
|
|
84
|
-
_globals['_SCHEDULERCONFIG']._serialized_end=
|
|
85
|
-
_globals['_TRIGGERERCONFIG']._serialized_start=
|
|
86
|
-
_globals['_TRIGGERERCONFIG']._serialized_end=
|
|
87
|
-
_globals['_WORKERCONFIG']._serialized_start=
|
|
88
|
-
_globals['_WORKERCONFIG']._serialized_end=
|
|
89
|
-
_globals['_DEPENDENCIES']._serialized_start=
|
|
90
|
-
_globals['_DEPENDENCIES']._serialized_end=
|
|
91
|
-
_globals['_NETWORKCONFIG']._serialized_start=
|
|
92
|
-
_globals['_NETWORKCONFIG']._serialized_end=
|
|
93
|
-
_globals['_S3CONFIG']._serialized_start=
|
|
94
|
-
_globals['_S3CONFIG']._serialized_end=
|
|
95
|
-
_globals['_CODESYNCCONFIG']._serialized_start=
|
|
96
|
-
_globals['_CODESYNCCONFIG']._serialized_end=
|
|
97
|
-
_globals['_LOGGINGCONFIG']._serialized_start=
|
|
98
|
-
_globals['_LOGGINGCONFIG']._serialized_end=
|
|
99
|
-
_globals['_LOCKBOXCONFIG']._serialized_start=
|
|
100
|
-
_globals['_LOCKBOXCONFIG']._serialized_end=
|
|
78
|
+
_globals['_CLUSTERCONFIG']._serialized_end=1639
|
|
79
|
+
_globals['_AIRFLOWCONFIG']._serialized_start=1642
|
|
80
|
+
_globals['_AIRFLOWCONFIG']._serialized_end=1772
|
|
81
|
+
_globals['_AIRFLOWCONFIG_CONFIGENTRY']._serialized_start=1727
|
|
82
|
+
_globals['_AIRFLOWCONFIG_CONFIGENTRY']._serialized_end=1772
|
|
83
|
+
_globals['_WEBSERVERCONFIG']._serialized_start=1774
|
|
84
|
+
_globals['_WEBSERVERCONFIG']._serialized_end=1872
|
|
85
|
+
_globals['_SCHEDULERCONFIG']._serialized_start=1874
|
|
86
|
+
_globals['_SCHEDULERCONFIG']._serialized_end=1972
|
|
87
|
+
_globals['_TRIGGERERCONFIG']._serialized_start=1974
|
|
88
|
+
_globals['_TRIGGERERCONFIG']._serialized_end=2072
|
|
89
|
+
_globals['_WORKERCONFIG']._serialized_start=2075
|
|
90
|
+
_globals['_WORKERCONFIG']._serialized_end=2204
|
|
91
|
+
_globals['_DEPENDENCIES']._serialized_start=2206
|
|
92
|
+
_globals['_DEPENDENCIES']._serialized_end=2264
|
|
93
|
+
_globals['_NETWORKCONFIG']._serialized_start=2266
|
|
94
|
+
_globals['_NETWORKCONFIG']._serialized_end=2329
|
|
95
|
+
_globals['_S3CONFIG']._serialized_start=2331
|
|
96
|
+
_globals['_S3CONFIG']._serialized_end=2357
|
|
97
|
+
_globals['_CODESYNCCONFIG']._serialized_start=2359
|
|
98
|
+
_globals['_CODESYNCCONFIG']._serialized_end=2440
|
|
99
|
+
_globals['_LOGGINGCONFIG']._serialized_start=2443
|
|
100
|
+
_globals['_LOGGINGCONFIG']._serialized_end=2669
|
|
101
|
+
_globals['_LOCKBOXCONFIG']._serialized_start=2671
|
|
102
|
+
_globals['_LOCKBOXCONFIG']._serialized_end=2703
|
|
101
103
|
# @@protoc_insertion_point(module_scope)
|
|
@@ -216,8 +216,16 @@ class ClusterConfig(google.protobuf.message.Message):
|
|
|
216
216
|
WORKER_FIELD_NUMBER: builtins.int
|
|
217
217
|
DEPENDENCIES_FIELD_NUMBER: builtins.int
|
|
218
218
|
LOCKBOX_FIELD_NUMBER: builtins.int
|
|
219
|
+
AIRFLOW_VERSION_FIELD_NUMBER: builtins.int
|
|
220
|
+
PYTHON_VERSION_FIELD_NUMBER: builtins.int
|
|
219
221
|
version_id: builtins.str
|
|
220
|
-
"""Version of Apache that runs on the cluster.
|
|
222
|
+
"""Version of Apache Airflow that runs on the cluster.
|
|
223
|
+
Use `airlow_version` instead.
|
|
224
|
+
"""
|
|
225
|
+
airflow_version: builtins.str
|
|
226
|
+
"""Apache Airflow version. Format: "Major.Minor" """
|
|
227
|
+
python_version: builtins.str
|
|
228
|
+
"""Python version. Format: "Major.Minor" """
|
|
221
229
|
@property
|
|
222
230
|
def airflow(self) -> global___AirflowConfig:
|
|
223
231
|
"""Configuration of the Apache Airflow application itself."""
|
|
@@ -257,9 +265,11 @@ class ClusterConfig(google.protobuf.message.Message):
|
|
|
257
265
|
worker: global___WorkerConfig | None = ...,
|
|
258
266
|
dependencies: global___Dependencies | None = ...,
|
|
259
267
|
lockbox: global___LockboxConfig | None = ...,
|
|
268
|
+
airflow_version: builtins.str = ...,
|
|
269
|
+
python_version: builtins.str = ...,
|
|
260
270
|
) -> None: ...
|
|
261
271
|
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: ...
|
|
272
|
+
def ClearField(self, field_name: typing.Literal["airflow", b"airflow", "airflow_version", b"airflow_version", "dependencies", b"dependencies", "lockbox", b"lockbox", "python_version", b"python_version", "scheduler", b"scheduler", "triggerer", b"triggerer", "version_id", b"version_id", "webserver", b"webserver", "worker", b"worker"]) -> None: ...
|
|
263
273
|
|
|
264
274
|
global___ClusterConfig = ClusterConfig
|
|
265
275
|
|
|
@@ -30,7 +30,7 @@ from yandex.cloud import validation_pb2 as yandex_dot_cloud_dot_validation__pb2
|
|
|
30
30
|
from yandex.cloud.api import operation_pb2 as yandex_dot_cloud_dot_api_dot_operation__pb2
|
|
31
31
|
|
|
32
32
|
|
|
33
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n-yandex/cloud/airflow/v1/cluster_service.proto\x12\x17yandex.cloud.airflow.v1\x1a\x1cgoogle/api/annotations.proto\x1a google/protobuf/field_mask.proto\x1a%yandex/cloud/airflow/v1/cluster.proto\x1a&yandex/cloud/operation/operation.proto\x1a\x1dyandex/cloud/validation.proto\x1a yandex/cloud/api/operation.proto\"5\n\x11GetClusterRequest\x12 \n\ncluster_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\"\x90\x01\n\x13ListClustersRequest\x12\x1f\n\tfolder_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12\x1d\n\tpage_size\x18\x02 \x01(\x03\x42\n\xfa\xc7\x31\x06<=1000\x12\x1d\n\npage_token\x18\x03 \x01(\tB\t\x8a\xc8\x31\x05<=100\x12\x1a\n\x06\x66ilter\x18\x04 \x01(\tB\n\x8a\xc8\x31\x06<=1000\"c\n\x14ListClustersResponse\x12\x32\n\x08\x63lusters\x18\x01 \x03(\x0b\x32 .yandex.cloud.airflow.v1.Cluster\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\x99\x05\n\x14\x43reateClusterRequest\x12\x1f\n\tfolder_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12,\n\x04name\x18\x02 \x01(\tB\x1e\xe8\xc7\x31\x01\xf2\xc7\x31\x0e[a-zA-Z0-9_-]*\x8a\xc8\x31\x04<=63\x12\x1e\n\x0b\x64\x65scription\x18\x03 \x01(\tB\t\x8a\xc8\x31\x05<=256\x12\x86\x01\n\x06labels\x18\x04 \x03(\x0b\x32\x39.yandex.cloud.airflow.v1.CreateClusterRequest.LabelsEntryB;\xf2\xc7\x31\x0b[-_0-9a-z]*\x82\xc8\x31\x04<=64\x8a\xc8\x31\x04<=63\xb2\xc8\x31\x18\x12\x10[a-z][-_0-9a-z]*\x1a\x04<=63\x12<\n\x06\x63onfig\x18\x06 \x01(\x0b\x32&.yandex.cloud.airflow.v1.ClusterConfigB\x04\xe8\xc7\x31\x01\x12\x37\n\x07network\x18\x07 \x01(\x0b\x32&.yandex.cloud.airflow.v1.NetworkConfig\x12:\n\tcode_sync\x18\x08 \x01(\x0b\x32\'.yandex.cloud.airflow.v1.CodeSyncConfig\x12\x1b\n\x13\x64\x65letion_protection\x18\t \x01(\x08\x12$\n\x12service_account_id\x18\n \x01(\tB\x08\x8a\xc8\x31\x04<=50\x12\x37\n\x07logging\x18\x0b \x01(\x0b\x32&.yandex.cloud.airflow.v1.LoggingConfig\x12%\n\x0e\x61\x64min_password\x18\x0c \x01(\tB\r\xe8\xc7\x31\x01\x8a\xc8\x31\x05\x38-128\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01J\x04\x08\x05\x10\x06\"+\n\x15\x43reateClusterMetadata\x12\x12\n\ncluster_id\x18\x01 \x01(\t\"\
|
|
33
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n-yandex/cloud/airflow/v1/cluster_service.proto\x12\x17yandex.cloud.airflow.v1\x1a\x1cgoogle/api/annotations.proto\x1a google/protobuf/field_mask.proto\x1a%yandex/cloud/airflow/v1/cluster.proto\x1a&yandex/cloud/operation/operation.proto\x1a\x1dyandex/cloud/validation.proto\x1a yandex/cloud/api/operation.proto\"5\n\x11GetClusterRequest\x12 \n\ncluster_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\"\x90\x01\n\x13ListClustersRequest\x12\x1f\n\tfolder_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12\x1d\n\tpage_size\x18\x02 \x01(\x03\x42\n\xfa\xc7\x31\x06<=1000\x12\x1d\n\npage_token\x18\x03 \x01(\tB\t\x8a\xc8\x31\x05<=100\x12\x1a\n\x06\x66ilter\x18\x04 \x01(\tB\n\x8a\xc8\x31\x06<=1000\"c\n\x14ListClustersResponse\x12\x32\n\x08\x63lusters\x18\x01 \x03(\x0b\x32 .yandex.cloud.airflow.v1.Cluster\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\x99\x05\n\x14\x43reateClusterRequest\x12\x1f\n\tfolder_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12,\n\x04name\x18\x02 \x01(\tB\x1e\xe8\xc7\x31\x01\xf2\xc7\x31\x0e[a-zA-Z0-9_-]*\x8a\xc8\x31\x04<=63\x12\x1e\n\x0b\x64\x65scription\x18\x03 \x01(\tB\t\x8a\xc8\x31\x05<=256\x12\x86\x01\n\x06labels\x18\x04 \x03(\x0b\x32\x39.yandex.cloud.airflow.v1.CreateClusterRequest.LabelsEntryB;\xf2\xc7\x31\x0b[-_0-9a-z]*\x82\xc8\x31\x04<=64\x8a\xc8\x31\x04<=63\xb2\xc8\x31\x18\x12\x10[a-z][-_0-9a-z]*\x1a\x04<=63\x12<\n\x06\x63onfig\x18\x06 \x01(\x0b\x32&.yandex.cloud.airflow.v1.ClusterConfigB\x04\xe8\xc7\x31\x01\x12\x37\n\x07network\x18\x07 \x01(\x0b\x32&.yandex.cloud.airflow.v1.NetworkConfig\x12:\n\tcode_sync\x18\x08 \x01(\x0b\x32\'.yandex.cloud.airflow.v1.CodeSyncConfig\x12\x1b\n\x13\x64\x65letion_protection\x18\t \x01(\x08\x12$\n\x12service_account_id\x18\n \x01(\tB\x08\x8a\xc8\x31\x04<=50\x12\x37\n\x07logging\x18\x0b \x01(\x0b\x32&.yandex.cloud.airflow.v1.LoggingConfig\x12%\n\x0e\x61\x64min_password\x18\x0c \x01(\tB\r\xe8\xc7\x31\x01\x8a\xc8\x31\x05\x38-128\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01J\x04\x08\x05\x10\x06\"+\n\x15\x43reateClusterMetadata\x12\x12\n\ncluster_id\x18\x01 \x01(\t\"\xed\x03\n\x17UpdateClusterConfigSpec\x12\x37\n\x07\x61irflow\x18\x02 \x01(\x0b\x32&.yandex.cloud.airflow.v1.AirflowConfig\x12;\n\twebserver\x18\x03 \x01(\x0b\x32(.yandex.cloud.airflow.v1.WebserverConfig\x12;\n\tscheduler\x18\x04 \x01(\x0b\x32(.yandex.cloud.airflow.v1.SchedulerConfig\x12;\n\ttriggerer\x18\x05 \x01(\x0b\x32(.yandex.cloud.airflow.v1.TriggererConfig\x12\x35\n\x06worker\x18\x06 \x01(\x0b\x32%.yandex.cloud.airflow.v1.WorkerConfig\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\x12\x17\n\x0f\x61irflow_version\x18\t \x01(\t\x12\x16\n\x0epython_version\x18\n \x01(\tJ\x04\x08\x01\x10\x02\"5\n\x17UpdateNetworkConfigSpec\x12\x1a\n\x12security_group_ids\x18\x01 \x03(\t\"\xb9\x05\n\x14UpdateClusterRequest\x12 \n\ncluster_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12/\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\x12/\n\x04name\x18\x03 \x01(\tB!\xf2\xc7\x31\x1d|[a-z][-a-z0-9]{1,61}[a-z0-9]\x12\x1e\n\x0b\x64\x65scription\x18\x04 \x01(\tB\t\x8a\xc8\x31\x05<=256\x12\x86\x01\n\x06labels\x18\x05 \x03(\x0b\x32\x39.yandex.cloud.airflow.v1.UpdateClusterRequest.LabelsEntryB;\xf2\xc7\x31\x0b[-_0-9a-z]*\x82\xc8\x31\x04<=64\x8a\xc8\x31\x04<=63\xb2\xc8\x31\x18\x12\x10[a-z][-_0-9a-z]*\x1a\x04\x31-63\x12\x45\n\x0b\x63onfig_spec\x18\x06 \x01(\x0b\x32\x30.yandex.cloud.airflow.v1.UpdateClusterConfigSpec\x12:\n\tcode_sync\x18\x07 \x01(\x0b\x32\'.yandex.cloud.airflow.v1.CodeSyncConfig\x12\x46\n\x0cnetwork_spec\x18\x08 \x01(\x0b\x32\x30.yandex.cloud.airflow.v1.UpdateNetworkConfigSpec\x12\x1b\n\x13\x64\x65letion_protection\x18\t \x01(\x08\x12$\n\x12service_account_id\x18\n \x01(\tB\x08\x8a\xc8\x31\x04<=50\x12\x37\n\x07logging\x18\x0b \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\"+\n\x15UpdateClusterMetadata\x12\x12\n\ncluster_id\x18\x01 \x01(\t\"8\n\x14\x44\x65leteClusterRequest\x12 \n\ncluster_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\"+\n\x15\x44\x65leteClusterMetadata\x12\x12\n\ncluster_id\x18\x01 \x01(\t\"7\n\x13StartClusterRequest\x12 \n\ncluster_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\"*\n\x14StartClusterMetadata\x12\x12\n\ncluster_id\x18\x01 \x01(\t\"6\n\x12StopClusterRequest\x12 \n\ncluster_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\")\n\x13StopClusterMetadata\x12\x12\n\ncluster_id\x18\x01 \x01(\t\"~\n\x1cListClusterOperationsRequest\x12 \n\ncluster_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12\x1d\n\tpage_size\x18\x02 \x01(\x03\x42\n\xfa\xc7\x31\x06<=1000\x12\x1d\n\npage_token\x18\x03 \x01(\tB\t\x8a\xc8\x31\x05<=100\"o\n\x1dListClusterOperationsResponse\x12\x35\n\noperations\x18\x01 \x03(\x0b\x32!.yandex.cloud.operation.Operation\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t2\xf2\n\n\x0e\x43lusterService\x12\x86\x01\n\x03Get\x12*.yandex.cloud.airflow.v1.GetClusterRequest\x1a .yandex.cloud.airflow.v1.Cluster\"1\x82\xd3\xe4\x93\x02+\x12)/managed-airflow/v1/clusters/{cluster_id}\x12\x89\x01\n\x04List\x12,.yandex.cloud.airflow.v1.ListClustersRequest\x1a-.yandex.cloud.airflow.v1.ListClustersResponse\"$\x82\xd3\xe4\x93\x02\x1e\x12\x1c/managed-airflow/v1/clusters\x12\xa7\x01\n\x06\x43reate\x12-.yandex.cloud.airflow.v1.CreateClusterRequest\x1a!.yandex.cloud.operation.Operation\"K\xb2\xd2* \n\x15\x43reateClusterMetadata\x12\x07\x43luster\x82\xd3\xe4\x93\x02!\"\x1c/managed-airflow/v1/clusters:\x01*\x12\xb4\x01\n\x06Update\x12-.yandex.cloud.airflow.v1.UpdateClusterRequest\x1a!.yandex.cloud.operation.Operation\"X\xb2\xd2* \n\x15UpdateClusterMetadata\x12\x07\x43luster\x82\xd3\xe4\x93\x02.2)/managed-airflow/v1/clusters/{cluster_id}:\x01*\x12\xbf\x01\n\x06\x44\x65lete\x12-.yandex.cloud.airflow.v1.DeleteClusterRequest\x1a!.yandex.cloud.operation.Operation\"c\xb2\xd2*.\n\x15\x44\x65leteClusterMetadata\x12\x15google.protobuf.Empty\x82\xd3\xe4\x93\x02+*)/managed-airflow/v1/clusters/{cluster_id}\x12\xb4\x01\n\x05Start\x12,.yandex.cloud.airflow.v1.StartClusterRequest\x1a!.yandex.cloud.operation.Operation\"Z\xb2\xd2*\x1f\n\x14StartClusterMetadata\x12\x07\x43luster\x82\xd3\xe4\x93\x02\x31\"//managed-airflow/v1/clusters/{cluster_id}:start\x12\xb0\x01\n\x04Stop\x12+.yandex.cloud.airflow.v1.StopClusterRequest\x1a!.yandex.cloud.operation.Operation\"X\xb2\xd2*\x1e\n\x13StopClusterMetadata\x12\x07\x43luster\x82\xd3\xe4\x93\x02\x30\"./managed-airflow/v1/clusters/{cluster_id}:stop\x12\xbd\x01\n\x0eListOperations\x12\x35.yandex.cloud.airflow.v1.ListClusterOperationsRequest\x1a\x36.yandex.cloud.airflow.v1.ListClusterOperationsResponse\"<\x82\xd3\xe4\x93\x02\x36\x12\x34/managed-airflow/v1/clusters/{cluster_id}/operationsBb\n\x1byandex.cloud.api.airflow.v1ZCgithub.com/yandex-cloud/go-genproto/yandex/cloud/airflow/v1;airflowb\x06proto3')
|
|
34
34
|
|
|
35
35
|
_globals = globals()
|
|
36
36
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
@@ -117,31 +117,31 @@ if not _descriptor._USE_C_DESCRIPTORS:
|
|
|
117
117
|
_globals['_CREATECLUSTERMETADATA']._serialized_start=1253
|
|
118
118
|
_globals['_CREATECLUSTERMETADATA']._serialized_end=1296
|
|
119
119
|
_globals['_UPDATECLUSTERCONFIGSPEC']._serialized_start=1299
|
|
120
|
-
_globals['_UPDATECLUSTERCONFIGSPEC']._serialized_end=
|
|
121
|
-
_globals['_UPDATENETWORKCONFIGSPEC']._serialized_start=
|
|
122
|
-
_globals['_UPDATENETWORKCONFIGSPEC']._serialized_end=
|
|
123
|
-
_globals['_UPDATECLUSTERREQUEST']._serialized_start=
|
|
124
|
-
_globals['_UPDATECLUSTERREQUEST']._serialized_end=
|
|
120
|
+
_globals['_UPDATECLUSTERCONFIGSPEC']._serialized_end=1792
|
|
121
|
+
_globals['_UPDATENETWORKCONFIGSPEC']._serialized_start=1794
|
|
122
|
+
_globals['_UPDATENETWORKCONFIGSPEC']._serialized_end=1847
|
|
123
|
+
_globals['_UPDATECLUSTERREQUEST']._serialized_start=1850
|
|
124
|
+
_globals['_UPDATECLUSTERREQUEST']._serialized_end=2547
|
|
125
125
|
_globals['_UPDATECLUSTERREQUEST_LABELSENTRY']._serialized_start=1200
|
|
126
126
|
_globals['_UPDATECLUSTERREQUEST_LABELSENTRY']._serialized_end=1245
|
|
127
|
-
_globals['_UPDATECLUSTERMETADATA']._serialized_start=
|
|
128
|
-
_globals['_UPDATECLUSTERMETADATA']._serialized_end=
|
|
129
|
-
_globals['_DELETECLUSTERREQUEST']._serialized_start=
|
|
130
|
-
_globals['_DELETECLUSTERREQUEST']._serialized_end=
|
|
131
|
-
_globals['_DELETECLUSTERMETADATA']._serialized_start=
|
|
132
|
-
_globals['_DELETECLUSTERMETADATA']._serialized_end=
|
|
133
|
-
_globals['_STARTCLUSTERREQUEST']._serialized_start=
|
|
134
|
-
_globals['_STARTCLUSTERREQUEST']._serialized_end=
|
|
135
|
-
_globals['_STARTCLUSTERMETADATA']._serialized_start=
|
|
136
|
-
_globals['_STARTCLUSTERMETADATA']._serialized_end=
|
|
137
|
-
_globals['_STOPCLUSTERREQUEST']._serialized_start=
|
|
138
|
-
_globals['_STOPCLUSTERREQUEST']._serialized_end=
|
|
139
|
-
_globals['_STOPCLUSTERMETADATA']._serialized_start=
|
|
140
|
-
_globals['_STOPCLUSTERMETADATA']._serialized_end=
|
|
141
|
-
_globals['_LISTCLUSTEROPERATIONSREQUEST']._serialized_start=
|
|
142
|
-
_globals['_LISTCLUSTEROPERATIONSREQUEST']._serialized_end=
|
|
143
|
-
_globals['_LISTCLUSTEROPERATIONSRESPONSE']._serialized_start=
|
|
144
|
-
_globals['_LISTCLUSTEROPERATIONSRESPONSE']._serialized_end=
|
|
145
|
-
_globals['_CLUSTERSERVICE']._serialized_start=
|
|
146
|
-
_globals['_CLUSTERSERVICE']._serialized_end=
|
|
127
|
+
_globals['_UPDATECLUSTERMETADATA']._serialized_start=2549
|
|
128
|
+
_globals['_UPDATECLUSTERMETADATA']._serialized_end=2592
|
|
129
|
+
_globals['_DELETECLUSTERREQUEST']._serialized_start=2594
|
|
130
|
+
_globals['_DELETECLUSTERREQUEST']._serialized_end=2650
|
|
131
|
+
_globals['_DELETECLUSTERMETADATA']._serialized_start=2652
|
|
132
|
+
_globals['_DELETECLUSTERMETADATA']._serialized_end=2695
|
|
133
|
+
_globals['_STARTCLUSTERREQUEST']._serialized_start=2697
|
|
134
|
+
_globals['_STARTCLUSTERREQUEST']._serialized_end=2752
|
|
135
|
+
_globals['_STARTCLUSTERMETADATA']._serialized_start=2754
|
|
136
|
+
_globals['_STARTCLUSTERMETADATA']._serialized_end=2796
|
|
137
|
+
_globals['_STOPCLUSTERREQUEST']._serialized_start=2798
|
|
138
|
+
_globals['_STOPCLUSTERREQUEST']._serialized_end=2852
|
|
139
|
+
_globals['_STOPCLUSTERMETADATA']._serialized_start=2854
|
|
140
|
+
_globals['_STOPCLUSTERMETADATA']._serialized_end=2895
|
|
141
|
+
_globals['_LISTCLUSTEROPERATIONSREQUEST']._serialized_start=2897
|
|
142
|
+
_globals['_LISTCLUSTEROPERATIONSREQUEST']._serialized_end=3023
|
|
143
|
+
_globals['_LISTCLUSTEROPERATIONSRESPONSE']._serialized_start=3025
|
|
144
|
+
_globals['_LISTCLUSTEROPERATIONSRESPONSE']._serialized_end=3136
|
|
145
|
+
_globals['_CLUSTERSERVICE']._serialized_start=3139
|
|
146
|
+
_globals['_CLUSTERSERVICE']._serialized_end=4533
|
|
147
147
|
# @@protoc_insertion_point(module_scope)
|
|
@@ -207,6 +207,12 @@ class UpdateClusterConfigSpec(google.protobuf.message.Message):
|
|
|
207
207
|
WORKER_FIELD_NUMBER: builtins.int
|
|
208
208
|
DEPENDENCIES_FIELD_NUMBER: builtins.int
|
|
209
209
|
LOCKBOX_FIELD_NUMBER: builtins.int
|
|
210
|
+
AIRFLOW_VERSION_FIELD_NUMBER: builtins.int
|
|
211
|
+
PYTHON_VERSION_FIELD_NUMBER: builtins.int
|
|
212
|
+
airflow_version: builtins.str
|
|
213
|
+
"""Apache Airflow version. Format: "Major.Minor" """
|
|
214
|
+
python_version: builtins.str
|
|
215
|
+
"""Python version. Format: "Major.Minor" """
|
|
210
216
|
@property
|
|
211
217
|
def airflow(self) -> yandex.cloud.airflow.v1.cluster_pb2.AirflowConfig:
|
|
212
218
|
"""Configuration of the Apache Airflow application itself."""
|
|
@@ -245,9 +251,11 @@ class UpdateClusterConfigSpec(google.protobuf.message.Message):
|
|
|
245
251
|
worker: yandex.cloud.airflow.v1.cluster_pb2.WorkerConfig | None = ...,
|
|
246
252
|
dependencies: yandex.cloud.airflow.v1.cluster_pb2.Dependencies | None = ...,
|
|
247
253
|
lockbox: yandex.cloud.airflow.v1.cluster_pb2.LockboxConfig | None = ...,
|
|
254
|
+
airflow_version: builtins.str = ...,
|
|
255
|
+
python_version: builtins.str = ...,
|
|
248
256
|
) -> None: ...
|
|
249
257
|
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: ...
|
|
258
|
+
def ClearField(self, field_name: typing.Literal["airflow", b"airflow", "airflow_version", b"airflow_version", "dependencies", b"dependencies", "lockbox", b"lockbox", "python_version", b"python_version", "scheduler", b"scheduler", "triggerer", b"triggerer", "webserver", b"webserver", "worker", b"worker"]) -> None: ...
|
|
251
259
|
|
|
252
260
|
global___UpdateClusterConfigSpec = UpdateClusterConfigSpec
|
|
253
261
|
|
|
@@ -114,7 +114,7 @@ class LoadBalancer(google.protobuf.message.Message):
|
|
|
114
114
|
log_group_id: builtins.str
|
|
115
115
|
"""ID of the log group that stores access logs of the application load balancer.
|
|
116
116
|
|
|
117
|
-
The logs can be accessed using a Cloud Functions [trigger for Cloud Logs](/docs/functions/operations/trigger/
|
|
117
|
+
The logs can be accessed using a Cloud Functions [trigger for Cloud Logs](/docs/functions/operations/trigger/cloud-logging-trigger-create).
|
|
118
118
|
"""
|
|
119
119
|
@property
|
|
120
120
|
def labels(self) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]:
|
|
@@ -26,7 +26,7 @@ from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__
|
|
|
26
26
|
from yandex.cloud import validation_pb2 as yandex_dot_cloud_dot_validation__pb2
|
|
27
27
|
|
|
28
28
|
|
|
29
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\'yandex/cloud/audittrails/v1/trail.proto\x12\x1byandex.cloud.audittrails.v1\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1dyandex/cloud/validation.proto\"\
|
|
29
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\'yandex/cloud/audittrails/v1/trail.proto\x12\x1byandex.cloud.audittrails.v1\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1dyandex/cloud/validation.proto\"\xa1\x1c\n\x05Trail\x12\n\n\x02id\x18\x01 \x01(\t\x12\x1f\n\tfolder_id\x18\x02 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12\x34\n\ncreated_at\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe8\xc7\x31\x01\x12\x34\n\nupdated_at\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampB\x04\xe8\xc7\x31\x01\x12\x32\n\x04name\x18\x05 \x01(\tB$\xf2\xc7\x31 |[a-z]([-a-z0-9]{0,61}[a-z0-9])?\x12\x1f\n\x0b\x64\x65scription\x18\x06 \x01(\tB\n\x8a\xc8\x31\x06<=1024\x12{\n\x06labels\x18\x07 \x03(\x0b\x32..yandex.cloud.audittrails.v1.Trail.LabelsEntryB;\xf2\xc7\x31\x0b[-_0-9a-z]*\x82\xc8\x31\x04<=64\x8a\xc8\x31\x04<=63\xb2\xc8\x31\x18\x12\x10[a-z][-_0-9a-z]*\x1a\x04<=63\x12I\n\x0b\x64\x65stination\x18\x08 \x01(\x0b\x32..yandex.cloud.audittrails.v1.Trail.DestinationB\x04\xe8\xc7\x31\x01\x12$\n\x12service_account_id\x18\t \x01(\tB\x08\x8a\xc8\x31\x04<=50\x12?\n\x06status\x18\n \x01(\x0e\x32).yandex.cloud.audittrails.v1.Trail.StatusB\x04\xe8\xc7\x31\x01\x12=\n\x06\x66ilter\x18\x0b \x01(\x0b\x32).yandex.cloud.audittrails.v1.Trail.FilterB\x02\x18\x01\x12\x1c\n\x14status_error_message\x18\x0c \x01(\t\x12\x1e\n\x08\x63loud_id\x18\x0e \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12L\n\x10\x66iltering_policy\x18\x0f \x01(\x0b\x32\x32.yandex.cloud.audittrails.v1.Trail.FilteringPolicy\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a\x84\x02\n\x0b\x44\x65stination\x12J\n\x0eobject_storage\x18\x01 \x01(\x0b\x32\x30.yandex.cloud.audittrails.v1.Trail.ObjectStorageH\x00\x12H\n\rcloud_logging\x18\x03 \x01(\x0b\x32/.yandex.cloud.audittrails.v1.Trail.CloudLoggingH\x00\x12\x44\n\x0b\x64\x61ta_stream\x18\x04 \x01(\x0b\x32-.yandex.cloud.audittrails.v1.Trail.DataStreamH\x00\x42\x13\n\x0b\x64\x65stination\x12\x04\xc0\xc1\x31\x01J\x04\x08\x02\x10\x03\x1a\x43\n\rObjectStorage\x12\x1b\n\tbucket_id\x18\x01 \x01(\tB\x08\x8a\xc8\x31\x04\x33-63\x12\x15\n\robject_prefix\x18\x02 \x01(\t\x1a\x45\n\x0c\x43loudLogging\x12 \n\x0clog_group_id\x18\x01 \x01(\tB\x08\x8a\xc8\x31\x04<=64H\x00\x42\r\n\x0b\x64\x65stinationJ\x04\x08\x02\x10\x03\x1a\x36\n\nDataStream\x12\x13\n\x0b\x64\x61tabase_id\x18\x01 \x01(\t\x12\x13\n\x0bstream_name\x18\x02 \x01(\t\x1a\x98\x01\n\x06\x46ilter\x12\x42\n\x0bpath_filter\x18\x01 \x01(\x0b\x32-.yandex.cloud.audittrails.v1.Trail.PathFilter\x12J\n\x0c\x65vent_filter\x18\x02 \x01(\x0b\x32..yandex.cloud.audittrails.v1.Trail.EventFilterB\x04\xe8\xc7\x31\x01\x1aV\n\nPathFilter\x12H\n\x04root\x18\x01 \x01(\x0b\x32\x34.yandex.cloud.audittrails.v1.Trail.PathFilterElementB\x04\xe8\xc7\x31\x01\x1a\xc4\x01\n\x11PathFilterElement\x12M\n\nany_filter\x18\x01 \x01(\x0b\x32\x37.yandex.cloud.audittrails.v1.Trail.PathFilterElementAnyH\x00\x12O\n\x0bsome_filter\x18\x02 \x01(\x0b\x32\x38.yandex.cloud.audittrails.v1.Trail.PathFilterElementSomeH\x00\x42\x0f\n\x07\x65lement\x12\x04\xc0\xc1\x31\x01\x1a[\n\x14PathFilterElementAny\x12\x43\n\x08resource\x18\x01 \x01(\x0b\x32+.yandex.cloud.audittrails.v1.Trail.ResourceB\x04\xe8\xc7\x31\x01\x1a\xab\x01\n\x15PathFilterElementSome\x12\x43\n\x08resource\x18\x01 \x01(\x0b\x32+.yandex.cloud.audittrails.v1.Trail.ResourceB\x04\xe8\xc7\x31\x01\x12M\n\x07\x66ilters\x18\x02 \x03(\x0b\x32\x34.yandex.cloud.audittrails.v1.Trail.PathFilterElementB\x06\x82\xc8\x31\x02>0\x1a@\n\x08Resource\x12\x18\n\x02id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=64\x12\x1a\n\x04type\x18\x02 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x1a^\n\x0b\x45ventFilter\x12O\n\x07\x66ilters\x18\x01 \x03(\x0b\x32\x35.yandex.cloud.audittrails.v1.Trail.EventFilterElementB\x07\x82\xc8\x31\x03>=0\x1a\xd0\x01\n\x12\x45ventFilterElement\x12\x15\n\x07service\x18\x01 \x01(\tB\x04\xe8\xc7\x31\x01\x12Y\n\ncategories\x18\x02 \x03(\x0b\x32=.yandex.cloud.audittrails.v1.Trail.EventFilterElementCategoryB\x06\x82\xc8\x31\x02>0\x12H\n\x0bpath_filter\x18\x03 \x01(\x0b\x32-.yandex.cloud.audittrails.v1.Trail.PathFilterB\x04\xe8\xc7\x31\x01\x1a\xb7\x01\n\x1a\x45ventFilterElementCategory\x12K\n\x05plane\x18\x01 \x01(\x0e\x32\x36.yandex.cloud.audittrails.v1.Trail.EventCategoryFilterB\x04\xe8\xc7\x31\x01\x12L\n\x04type\x18\x02 \x01(\x0e\x32\x38.yandex.cloud.audittrails.v1.Trail.EventAccessTypeFilterB\x04\xe8\xc7\x31\x01\x1a\x8e\x03\n\x13\x44\x61taEventsFiltering\x12\x15\n\x07service\x18\x01 \x01(\tB\x04\xe8\xc7\x31\x01\x12H\n\x0fincluded_events\x18\x02 \x01(\x0b\x32-.yandex.cloud.audittrails.v1.Trail.EventTypesH\x00\x12H\n\x0f\x65xcluded_events\x18\x03 \x01(\x0b\x32-.yandex.cloud.audittrails.v1.Trail.EventTypesH\x00\x12L\n\ndns_filter\x18\x05 \x01(\x0b\x32\x36.yandex.cloud.audittrails.v1.Trail.DnsDataEventsFilterH\x01\x12P\n\x0fresource_scopes\x18\x04 \x03(\x0b\x32+.yandex.cloud.audittrails.v1.Trail.ResourceB\n\x82\xc8\x31\x06\x31-1024B\x12\n\x10\x61\x64\x64itional_rulesB\x18\n\x16service_specific_rules\x1a-\n\nEventTypes\x12\x1f\n\x0b\x65vent_types\x18\x01 \x03(\tB\n\x82\xc8\x31\x06\x31-1024\x1am\n\x19ManagementEventsFiltering\x12P\n\x0fresource_scopes\x18\x01 \x03(\x0b\x32+.yandex.cloud.audittrails.v1.Trail.ResourceB\n\x82\xc8\x31\x06\x31-1024\x1a\xd6\x01\n\x0f\x46ilteringPolicy\x12\x64\n\x18management_events_filter\x18\x01 \x01(\x0b\x32<.yandex.cloud.audittrails.v1.Trail.ManagementEventsFilteringB\x04\xe8\xc7\x31\x00\x12]\n\x13\x64\x61ta_events_filters\x18\x02 \x03(\x0b\x32\x36.yandex.cloud.audittrails.v1.Trail.DataEventsFilteringB\x08\x82\xc8\x31\x04<128\x1a\x35\n\x13\x44nsDataEventsFilter\x12\x1e\n\x16only_recursive_queries\x18\x01 \x01(\x08\"D\n\x06Status\x12\x16\n\x12STATUS_UNSPECIFIED\x10\x00\x12\n\n\x06\x41\x43TIVE\x10\x01\x12\t\n\x05\x45RROR\x10\x02\x12\x0b\n\x07\x44\x45LETED\x10\x03\"_\n\x13\x45ventCategoryFilter\x12%\n!EVENT_CATEGORY_FILTER_UNSPECIFIED\x10\x00\x12\x11\n\rCONTROL_PLANE\x10\x01\x12\x0e\n\nDATA_PLANE\x10\x02\"V\n\x15\x45ventAccessTypeFilter\x12(\n$EVENT_ACCESS_TYPE_FILTER_UNSPECIFIED\x10\x00\x12\t\n\x05WRITE\x10\x01\x12\x08\n\x04READ\x10\x02J\x04\x08\r\x10\x0e\x42r\n\x1fyandex.cloud.api.audittrails.v1B\x02\x41TZKgithub.com/yandex-cloud/go-genproto/yandex/cloud/audittrails/v1;audittrailsb\x06proto3')
|
|
30
30
|
|
|
31
31
|
_globals = globals()
|
|
32
32
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
@@ -105,7 +105,7 @@ if not _descriptor._USE_C_DESCRIPTORS:
|
|
|
105
105
|
_globals['_TRAIL'].fields_by_name['cloud_id']._loaded_options = None
|
|
106
106
|
_globals['_TRAIL'].fields_by_name['cloud_id']._serialized_options = b'\350\3071\001\212\3101\004<=50'
|
|
107
107
|
_globals['_TRAIL']._serialized_start=137
|
|
108
|
-
_globals['_TRAIL']._serialized_end=
|
|
108
|
+
_globals['_TRAIL']._serialized_end=3754
|
|
109
109
|
_globals['_TRAIL_LABELSENTRY']._serialized_start=890
|
|
110
110
|
_globals['_TRAIL_LABELSENTRY']._serialized_end=935
|
|
111
111
|
_globals['_TRAIL_DESTINATION']._serialized_start=938
|
|
@@ -135,17 +135,19 @@ if not _descriptor._USE_C_DESCRIPTORS:
|
|
|
135
135
|
_globals['_TRAIL_EVENTFILTERELEMENTCATEGORY']._serialized_start=2479
|
|
136
136
|
_globals['_TRAIL_EVENTFILTERELEMENTCATEGORY']._serialized_end=2662
|
|
137
137
|
_globals['_TRAIL_DATAEVENTSFILTERING']._serialized_start=2665
|
|
138
|
-
_globals['_TRAIL_DATAEVENTSFILTERING']._serialized_end=
|
|
139
|
-
_globals['_TRAIL_EVENTTYPES']._serialized_start=
|
|
140
|
-
_globals['_TRAIL_EVENTTYPES']._serialized_end=
|
|
141
|
-
_globals['_TRAIL_MANAGEMENTEVENTSFILTERING']._serialized_start=
|
|
142
|
-
_globals['_TRAIL_MANAGEMENTEVENTSFILTERING']._serialized_end=
|
|
143
|
-
_globals['_TRAIL_FILTERINGPOLICY']._serialized_start=
|
|
144
|
-
_globals['_TRAIL_FILTERINGPOLICY']._serialized_end=
|
|
145
|
-
_globals['
|
|
146
|
-
_globals['
|
|
147
|
-
_globals['
|
|
148
|
-
_globals['
|
|
149
|
-
_globals['
|
|
150
|
-
_globals['
|
|
138
|
+
_globals['_TRAIL_DATAEVENTSFILTERING']._serialized_end=3063
|
|
139
|
+
_globals['_TRAIL_EVENTTYPES']._serialized_start=3065
|
|
140
|
+
_globals['_TRAIL_EVENTTYPES']._serialized_end=3110
|
|
141
|
+
_globals['_TRAIL_MANAGEMENTEVENTSFILTERING']._serialized_start=3112
|
|
142
|
+
_globals['_TRAIL_MANAGEMENTEVENTSFILTERING']._serialized_end=3221
|
|
143
|
+
_globals['_TRAIL_FILTERINGPOLICY']._serialized_start=3224
|
|
144
|
+
_globals['_TRAIL_FILTERINGPOLICY']._serialized_end=3438
|
|
145
|
+
_globals['_TRAIL_DNSDATAEVENTSFILTER']._serialized_start=3440
|
|
146
|
+
_globals['_TRAIL_DNSDATAEVENTSFILTER']._serialized_end=3493
|
|
147
|
+
_globals['_TRAIL_STATUS']._serialized_start=3495
|
|
148
|
+
_globals['_TRAIL_STATUS']._serialized_end=3563
|
|
149
|
+
_globals['_TRAIL_EVENTCATEGORYFILTER']._serialized_start=3565
|
|
150
|
+
_globals['_TRAIL_EVENTCATEGORYFILTER']._serialized_end=3660
|
|
151
|
+
_globals['_TRAIL_EVENTACCESSTYPEFILTER']._serialized_start=3662
|
|
152
|
+
_globals['_TRAIL_EVENTACCESSTYPEFILTER']._serialized_end=3748
|
|
151
153
|
# @@protoc_insertion_point(module_scope)
|
|
@@ -386,6 +386,7 @@ class Trail(google.protobuf.message.Message):
|
|
|
386
386
|
SERVICE_FIELD_NUMBER: builtins.int
|
|
387
387
|
INCLUDED_EVENTS_FIELD_NUMBER: builtins.int
|
|
388
388
|
EXCLUDED_EVENTS_FIELD_NUMBER: builtins.int
|
|
389
|
+
DNS_FILTER_FIELD_NUMBER: builtins.int
|
|
389
390
|
RESOURCE_SCOPES_FIELD_NUMBER: builtins.int
|
|
390
391
|
service: builtins.str
|
|
391
392
|
"""Name of the service whose events will be delivered"""
|
|
@@ -401,6 +402,10 @@ class Trail(google.protobuf.message.Message):
|
|
|
401
402
|
New events of the service will be delivered by default
|
|
402
403
|
"""
|
|
403
404
|
|
|
405
|
+
@property
|
|
406
|
+
def dns_filter(self) -> global___Trail.DnsDataEventsFilter:
|
|
407
|
+
"""Filter is allowed only if service = dns"""
|
|
408
|
+
|
|
404
409
|
@property
|
|
405
410
|
def resource_scopes(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___Trail.Resource]:
|
|
406
411
|
"""A list of resources which will be monitored by the trail"""
|
|
@@ -411,11 +416,15 @@ class Trail(google.protobuf.message.Message):
|
|
|
411
416
|
service: builtins.str = ...,
|
|
412
417
|
included_events: global___Trail.EventTypes | None = ...,
|
|
413
418
|
excluded_events: global___Trail.EventTypes | None = ...,
|
|
419
|
+
dns_filter: global___Trail.DnsDataEventsFilter | None = ...,
|
|
414
420
|
resource_scopes: collections.abc.Iterable[global___Trail.Resource] | None = ...,
|
|
415
421
|
) -> None: ...
|
|
416
|
-
def HasField(self, field_name: typing.Literal["additional_rules", b"additional_rules", "excluded_events", b"excluded_events", "included_events", b"included_events"]) -> builtins.bool: ...
|
|
417
|
-
def ClearField(self, field_name: typing.Literal["additional_rules", b"additional_rules", "excluded_events", b"excluded_events", "included_events", b"included_events", "resource_scopes", b"resource_scopes", "service", b"service"]) -> None: ...
|
|
422
|
+
def HasField(self, field_name: typing.Literal["additional_rules", b"additional_rules", "dns_filter", b"dns_filter", "excluded_events", b"excluded_events", "included_events", b"included_events", "service_specific_rules", b"service_specific_rules"]) -> builtins.bool: ...
|
|
423
|
+
def ClearField(self, field_name: typing.Literal["additional_rules", b"additional_rules", "dns_filter", b"dns_filter", "excluded_events", b"excluded_events", "included_events", b"included_events", "resource_scopes", b"resource_scopes", "service", b"service", "service_specific_rules", b"service_specific_rules"]) -> None: ...
|
|
424
|
+
@typing.overload
|
|
418
425
|
def WhichOneof(self, oneof_group: typing.Literal["additional_rules", b"additional_rules"]) -> typing.Literal["included_events", "excluded_events"] | None: ...
|
|
426
|
+
@typing.overload
|
|
427
|
+
def WhichOneof(self, oneof_group: typing.Literal["service_specific_rules", b"service_specific_rules"]) -> typing.Literal["dns_filter"] | None: ...
|
|
419
428
|
|
|
420
429
|
@typing.final
|
|
421
430
|
class EventTypes(google.protobuf.message.Message):
|
|
@@ -478,6 +487,20 @@ class Trail(google.protobuf.message.Message):
|
|
|
478
487
|
def HasField(self, field_name: typing.Literal["management_events_filter", b"management_events_filter"]) -> builtins.bool: ...
|
|
479
488
|
def ClearField(self, field_name: typing.Literal["data_events_filters", b"data_events_filters", "management_events_filter", b"management_events_filter"]) -> None: ...
|
|
480
489
|
|
|
490
|
+
@typing.final
|
|
491
|
+
class DnsDataEventsFilter(google.protobuf.message.Message):
|
|
492
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
493
|
+
|
|
494
|
+
ONLY_RECURSIVE_QUERIES_FIELD_NUMBER: builtins.int
|
|
495
|
+
only_recursive_queries: builtins.bool
|
|
496
|
+
"""Only recursive queries will be delivered"""
|
|
497
|
+
def __init__(
|
|
498
|
+
self,
|
|
499
|
+
*,
|
|
500
|
+
only_recursive_queries: builtins.bool = ...,
|
|
501
|
+
) -> None: ...
|
|
502
|
+
def ClearField(self, field_name: typing.Literal["only_recursive_queries", b"only_recursive_queries"]) -> None: ...
|
|
503
|
+
|
|
481
504
|
ID_FIELD_NUMBER: builtins.int
|
|
482
505
|
FOLDER_ID_FIELD_NUMBER: builtins.int
|
|
483
506
|
CREATED_AT_FIELD_NUMBER: builtins.int
|