yandexcloud 0.324.0__py3-none-any.whl → 0.326.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/ai/assistants/v1/searchindex/common_pb2.py +18 -5
- yandex/cloud/ai/assistants/v1/searchindex/common_pb2.pyi +149 -0
- yandex/cloud/ai/assistants/v1/searchindex/search_index_file_pb2.py +3 -4
- yandex/cloud/ai/assistants/v1/searchindex/search_index_file_pb2.pyi +2 -7
- yandex/cloud/ai/assistants/v1/searchindex/search_index_pb2.py +10 -8
- yandex/cloud/ai/assistants/v1/searchindex/search_index_pb2.pyi +63 -5
- yandex/cloud/ai/assistants/v1/searchindex/search_index_service_pb2.py +20 -20
- yandex/cloud/ai/assistants/v1/searchindex/search_index_service_pb2.pyi +9 -3
- yandex/cloud/ai/foundation_models/v1/embedding/embedding_service_pb2.pyi +1 -1
- yandex/cloud/ai/foundation_models/v1/image_generation/image_generation_pb2.pyi +4 -2
- yandex/cloud/ai/foundation_models/v1/image_generation/image_generation_service_pb2.pyi +6 -3
- yandex/cloud/ai/foundation_models/v1/image_generation/image_generation_service_pb2_grpc.py +3 -3
- yandex/cloud/ai/foundation_models/v1/image_generation/image_generation_service_pb2_grpc.pyi +3 -3
- yandex/cloud/ai/foundation_models/v1/text_classification/text_classification_pb2.pyi +3 -3
- yandex/cloud/ai/foundation_models/v1/text_classification/text_classification_service_pb2.pyi +25 -10
- yandex/cloud/ai/foundation_models/v1/text_classification/text_classification_service_pb2_grpc.py +11 -5
- yandex/cloud/ai/foundation_models/v1/text_classification/text_classification_service_pb2_grpc.pyi +33 -9
- yandex/cloud/ai/foundation_models/v1/text_common_pb2.pyi +3 -3
- yandex/cloud/ai/stt/v3/stt_pb2.py +5 -3
- yandex/cloud/ai/stt/v3/stt_pb2.pyi +15 -0
- yandex/cloud/ai/stt/v3/stt_service_pb2.py +10 -7
- yandex/cloud/ai/stt/v3/stt_service_pb2_grpc.py +34 -0
- yandex/cloud/ai/stt/v3/stt_service_pb2_grpc.pyi +18 -0
- yandex/cloud/apploadbalancer/v1/backend_group_pb2.py +28 -26
- yandex/cloud/apploadbalancer/v1/backend_group_pb2.pyi +16 -2
- yandex/cloud/backup/v1/policy_pb2.pyi +1 -1
- yandex/cloud/cdn/v1/resource_service_pb2.py +14 -14
- yandex/cloud/cdn/v1/resource_service_pb2.pyi +5 -1
- yandex/cloud/cloudapps/workload/v1/cloud_application_service_pb2.py +14 -9
- yandex/cloud/cloudregistry/v1/artifact_pb2.pyi +2 -0
- yandex/cloud/cloudregistry/v1/artifact_service_pb2.pyi +3 -3
- yandex/cloud/cloudregistry/v1/artifact_service_pb2_grpc.py +9 -6
- yandex/cloud/cloudregistry/v1/artifact_service_pb2_grpc.pyi +15 -9
- yandex/cloud/cloudregistry/v1/registry_pb2.pyi +1 -1
- yandex/cloud/cloudregistry/v1/registry_service_pb2.py +42 -38
- yandex/cloud/cloudregistry/v1/registry_service_pb2_grpc.py +2 -2
- yandex/cloud/cloudregistry/v1/registry_service_pb2_grpc.pyi +6 -6
- yandex/cloud/datasphere/v2/jobs/jobs_pb2.py +9 -5
- yandex/cloud/datasphere/v2/jobs/jobs_pb2.pyi +96 -0
- yandex/cloud/datasphere/v2/jobs/project_job_service_pb2.py +55 -53
- yandex/cloud/datasphere/v2/jobs/project_job_service_pb2.pyi +14 -2
- yandex/cloud/iam/v1/user_account_pb2.py +12 -11
- yandex/cloud/iam/v1/user_account_pb2.pyi +9 -4
- yandex/cloud/iam/v1/user_account_service_pb2_grpc.py +3 -3
- yandex/cloud/iam/v1/user_account_service_pb2_grpc.pyi +3 -3
- yandex/cloud/mdb/redis/v1/backup_pb2.py +4 -2
- yandex/cloud/mdb/redis/v1/backup_pb2.pyi +31 -1
- yandex/cloud/mdb/redis/v1/config/redis_pb2.py +8 -8
- yandex/cloud/mdb/redis/v1/config/redis_pb2.pyi +14 -2
- yandex/cloud/organizationmanager/v1/user_account_pb2.pyi +2 -2
- yandex/cloud/searchapi/__init__.py +0 -0
- yandex/cloud/searchapi/v2/__init__.py +0 -0
- yandex/cloud/searchapi/v2/search_query_pb2.py +37 -0
- yandex/cloud/searchapi/v2/search_query_pb2.pyi +100 -0
- yandex/cloud/searchapi/v2/search_query_pb2_grpc.py +4 -0
- yandex/cloud/searchapi/v2/search_query_pb2_grpc.pyi +17 -0
- yandex/cloud/searchapi/v2/search_service_pb2.py +61 -0
- yandex/cloud/searchapi/v2/search_service_pb2.pyi +218 -0
- yandex/cloud/searchapi/v2/search_service_pb2_grpc.py +70 -0
- yandex/cloud/searchapi/v2/search_service_pb2_grpc.pyi +48 -0
- yandex/cloud/serverless/containers/v1/container_pb2.py +42 -34
- yandex/cloud/serverless/containers/v1/container_pb2.pyi +52 -2
- yandex/cloud/serverless/containers/v1/container_service_pb2.py +18 -18
- yandex/cloud/serverless/containers/v1/container_service_pb2.pyi +8 -2
- yandex/cloud/serverless/eventrouter/v1/connector_pb2.py +9 -9
- yandex/cloud/serverless/eventrouter/v1/connector_pb2.pyi +8 -0
- yandex/cloud/serverless/eventrouter/v1/rule_pb2.py +31 -31
- yandex/cloud/serverless/eventrouter/v1/rule_pb2.pyi +4 -0
- yandex/cloud/serverless/workflows/v1/execution_service_pb2.py +23 -15
- yandex/cloud/serverless/workflows/v1/execution_service_pb2.pyi +32 -0
- yandex/cloud/serverless/workflows/v1/execution_service_pb2_grpc.py +34 -0
- yandex/cloud/serverless/workflows/v1/execution_service_pb2_grpc.pyi +20 -0
- yandex/cloud/smartwebsecurity/v1/security_profile_pb2.py +46 -40
- yandex/cloud/smartwebsecurity/v1/security_profile_pb2.pyi +47 -2
- yandex/cloud/smartwebsecurity/v1/security_profile_service_pb2.py +18 -18
- yandex/cloud/smartwebsecurity/v1/security_profile_service_pb2.pyi +16 -3
- yandex/cloud/speechsense/v1/talk_pb2.py +14 -6
- yandex/cloud/speechsense/v1/talk_pb2.pyi +89 -2
- yandex/cloud/speechsense/v1/talk_service_pb2.py +2 -6
- yandex/cloud/video/v1/channel_pb2.py +1 -1
- yandex/cloud/video/v1/channel_service_pb2.py +58 -25
- yandex/cloud/video/v1/channel_service_pb2.pyi +40 -0
- yandex/cloud/video/v1/channel_service_pb2_grpc.py +34 -0
- yandex/cloud/video/v1/channel_service_pb2_grpc.pyi +20 -0
- yandex/cloud/video/v1/episode_pb2.py +10 -8
- yandex/cloud/video/v1/episode_pb2.pyi +19 -3
- yandex/cloud/video/v1/episode_service_pb2.py +96 -43
- yandex/cloud/video/v1/episode_service_pb2.pyi +68 -6
- yandex/cloud/video/v1/episode_service_pb2_grpc.py +34 -0
- yandex/cloud/video/v1/episode_service_pb2_grpc.pyi +20 -0
- yandex/cloud/video/v1/manifest_pb2.py +3 -3
- yandex/cloud/video/v1/manifest_pb2.pyi +1 -5
- yandex/cloud/video/v1/playlist_pb2.py +29 -0
- yandex/cloud/video/v1/playlist_pb2.pyi +89 -0
- yandex/cloud/video/v1/playlist_pb2_grpc.py +4 -0
- yandex/cloud/video/v1/playlist_pb2_grpc.pyi +17 -0
- yandex/cloud/video/v1/playlist_service_pb2.py +102 -0
- yandex/cloud/video/v1/playlist_service_pb2.pyi +331 -0
- yandex/cloud/video/v1/playlist_service_pb2_grpc.py +276 -0
- yandex/cloud/video/v1/playlist_service_pb2_grpc.pyi +172 -0
- yandex/cloud/video/v1/stream_line_pb2.py +1 -1
- yandex/cloud/video/v1/stream_line_service_pb2.py +122 -55
- yandex/cloud/video/v1/stream_line_service_pb2.pyi +80 -0
- yandex/cloud/video/v1/stream_line_service_pb2_grpc.py +68 -0
- yandex/cloud/video/v1/stream_line_service_pb2_grpc.pyi +40 -0
- yandex/cloud/video/v1/stream_pb2.py +1 -1
- yandex/cloud/video/v1/stream_service_pb2.py +98 -37
- yandex/cloud/video/v1/stream_service_pb2.pyi +80 -0
- yandex/cloud/video/v1/stream_service_pb2_grpc.py +68 -0
- yandex/cloud/video/v1/stream_service_pb2_grpc.pyi +40 -0
- yandex/cloud/video/v1/subtitle_pb2.py +29 -0
- yandex/cloud/video/v1/subtitle_pb2.pyi +90 -0
- yandex/cloud/video/v1/subtitle_pb2_grpc.py +4 -0
- yandex/cloud/video/v1/subtitle_pb2_grpc.pyi +17 -0
- yandex/cloud/video/v1/subtitle_service_pb2.py +83 -0
- yandex/cloud/video/v1/subtitle_service_pb2.pyi +212 -0
- yandex/cloud/video/v1/subtitle_service_pb2_grpc.py +208 -0
- yandex/cloud/video/v1/subtitle_service_pb2_grpc.pyi +132 -0
- yandex/cloud/video/v1/thumbnail_service_pb2.py +50 -21
- yandex/cloud/video/v1/thumbnail_service_pb2.pyi +48 -0
- yandex/cloud/video/v1/thumbnail_service_pb2_grpc.py +69 -0
- yandex/cloud/video/v1/thumbnail_service_pb2_grpc.pyi +41 -0
- yandex/cloud/video/v1/video_pb2.py +18 -14
- yandex/cloud/video/v1/video_pb2.pyi +55 -3
- yandex/cloud/video/v1/video_service_pb2.py +118 -49
- yandex/cloud/video/v1/video_service_pb2.pyi +161 -6
- yandex/cloud/video/v1/video_service_pb2_grpc.py +102 -0
- yandex/cloud/video/v1/video_service_pb2_grpc.pyi +60 -0
- {yandexcloud-0.324.0.dist-info → yandexcloud-0.326.0.dist-info}/METADATA +1 -1
- {yandexcloud-0.324.0.dist-info → yandexcloud-0.326.0.dist-info}/RECORD +134 -108
- {yandexcloud-0.324.0.dist-info → yandexcloud-0.326.0.dist-info}/WHEEL +1 -1
- {yandexcloud-0.324.0.dist-info → yandexcloud-0.326.0.dist-info}/AUTHORS +0 -0
- {yandexcloud-0.324.0.dist-info → yandexcloud-0.326.0.dist-info}/LICENSE +0 -0
- {yandexcloud-0.324.0.dist-info → yandexcloud-0.326.0.dist-info}/top_level.txt +0 -0
|
@@ -402,6 +402,7 @@ class DeployContainerRevisionRequest(google.protobuf.message.Message):
|
|
|
402
402
|
LOG_OPTIONS_FIELD_NUMBER: builtins.int
|
|
403
403
|
STORAGE_MOUNTS_FIELD_NUMBER: builtins.int
|
|
404
404
|
MOUNTS_FIELD_NUMBER: builtins.int
|
|
405
|
+
RUNTIME_FIELD_NUMBER: builtins.int
|
|
405
406
|
container_id: builtins.str
|
|
406
407
|
"""ID of the container to create a revision for.
|
|
407
408
|
|
|
@@ -462,6 +463,10 @@ class DeployContainerRevisionRequest(google.protobuf.message.Message):
|
|
|
462
463
|
def mounts(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[yandex.cloud.serverless.containers.v1.container_pb2.Mount]:
|
|
463
464
|
"""Mounts to be used by the revision."""
|
|
464
465
|
|
|
466
|
+
@property
|
|
467
|
+
def runtime(self) -> yandex.cloud.serverless.containers.v1.container_pb2.Runtime:
|
|
468
|
+
"""The container's execution mode"""
|
|
469
|
+
|
|
465
470
|
def __init__(
|
|
466
471
|
self,
|
|
467
472
|
*,
|
|
@@ -479,9 +484,10 @@ class DeployContainerRevisionRequest(google.protobuf.message.Message):
|
|
|
479
484
|
log_options: yandex.cloud.serverless.containers.v1.container_pb2.LogOptions | None = ...,
|
|
480
485
|
storage_mounts: collections.abc.Iterable[yandex.cloud.serverless.containers.v1.container_pb2.StorageMount] | None = ...,
|
|
481
486
|
mounts: collections.abc.Iterable[yandex.cloud.serverless.containers.v1.container_pb2.Mount] | None = ...,
|
|
487
|
+
runtime: yandex.cloud.serverless.containers.v1.container_pb2.Runtime | None = ...,
|
|
482
488
|
) -> None: ...
|
|
483
|
-
def HasField(self, field_name: typing.Literal["connectivity", b"connectivity", "execution_timeout", b"execution_timeout", "image_spec", b"image_spec", "log_options", b"log_options", "provision_policy", b"provision_policy", "resources", b"resources", "scaling_policy", b"scaling_policy"]) -> builtins.bool: ...
|
|
484
|
-
def ClearField(self, field_name: typing.Literal["concurrency", b"concurrency", "connectivity", b"connectivity", "container_id", b"container_id", "description", b"description", "execution_timeout", b"execution_timeout", "image_spec", b"image_spec", "log_options", b"log_options", "mounts", b"mounts", "provision_policy", b"provision_policy", "resources", b"resources", "scaling_policy", b"scaling_policy", "secrets", b"secrets", "service_account_id", b"service_account_id", "storage_mounts", b"storage_mounts"]) -> None: ...
|
|
489
|
+
def HasField(self, field_name: typing.Literal["connectivity", b"connectivity", "execution_timeout", b"execution_timeout", "image_spec", b"image_spec", "log_options", b"log_options", "provision_policy", b"provision_policy", "resources", b"resources", "runtime", b"runtime", "scaling_policy", b"scaling_policy"]) -> builtins.bool: ...
|
|
490
|
+
def ClearField(self, field_name: typing.Literal["concurrency", b"concurrency", "connectivity", b"connectivity", "container_id", b"container_id", "description", b"description", "execution_timeout", b"execution_timeout", "image_spec", b"image_spec", "log_options", b"log_options", "mounts", b"mounts", "provision_policy", b"provision_policy", "resources", b"resources", "runtime", b"runtime", "scaling_policy", b"scaling_policy", "secrets", b"secrets", "service_account_id", b"service_account_id", "storage_mounts", b"storage_mounts"]) -> None: ...
|
|
485
491
|
|
|
486
492
|
global___DeployContainerRevisionRequest = DeployContainerRevisionRequest
|
|
487
493
|
|
|
@@ -16,7 +16,7 @@ from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__
|
|
|
16
16
|
from yandex.cloud import validation_pb2 as yandex_dot_cloud_dot_validation__pb2
|
|
17
17
|
|
|
18
18
|
|
|
19
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n6yandex/cloud/serverless/eventrouter/v1/connector.proto\x12&yandex.cloud.serverless.eventrouter.v1\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1dyandex/cloud/validation.proto\"\
|
|
19
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n6yandex/cloud/serverless/eventrouter/v1/connector.proto\x12&yandex.cloud.serverless.eventrouter.v1\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1dyandex/cloud/validation.proto\"\xe3\x04\n\tConnector\x12\n\n\x02id\x18\x01 \x01(\t\x12\x0e\n\x06\x62us_id\x18\x02 \x01(\t\x12\x11\n\tfolder_id\x18\x03 \x01(\t\x12\x10\n\x08\x63loud_id\x18\x04 \x01(\t\x12.\n\ncreated_at\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x0c\n\x04name\x18\x06 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x07 \x01(\t\x12M\n\x06labels\x18\x08 \x03(\x0b\x32=.yandex.cloud.serverless.eventrouter.v1.Connector.LabelsEntry\x12>\n\x06source\x18\t \x01(\x0b\x32..yandex.cloud.serverless.eventrouter.v1.Source\x12\x1b\n\x13\x64\x65letion_protection\x18\n \x01(\x08\x12H\n\x06status\x18\x0b \x01(\x0e\x32\x38.yandex.cloud.serverless.eventrouter.v1.Connector.Status\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\x9c\x01\n\x06Status\x12\x16\n\x12STATUS_UNSPECIFIED\x10\x00\x12\x0b\n\x07RUNNING\x10\x01\x12\x0b\n\x07STOPPED\x10\x02\x12\x16\n\x12RESOURCE_NOT_FOUND\x10\x03\x12\x15\n\x11PERMISSION_DENIED\x10\x04\x12\x15\n\x11SUBJECT_NOT_FOUND\x10\x05\x12\x0c\n\x08\x44\x45LETING\x10\x07\x12\x0c\n\x08\x43REATING\x10\x08\"\xb2\x01\n\x06Source\x12I\n\x0b\x64\x61ta_stream\x18\x01 \x01(\x0b\x32\x32.yandex.cloud.serverless.eventrouter.v1.DataStreamH\x00\x12M\n\rmessage_queue\x18\x02 \x01(\x0b\x32\x34.yandex.cloud.serverless.eventrouter.v1.MessageQueueH\x00\x42\x0e\n\x06source\x12\x04\xc0\xc1\x31\x01\"y\n\nDataStream\x12\x16\n\x08\x64\x61tabase\x18\x01 \x01(\tB\x04\xe8\xc7\x31\x01\x12\x19\n\x0bstream_name\x18\x02 \x01(\tB\x04\xe8\xc7\x31\x01\x12\x16\n\x08\x63onsumer\x18\x03 \x01(\tB\x04\xe8\xc7\x31\x01\x12 \n\x12service_account_id\x18\x04 \x01(\tB\x04\xe8\xc7\x31\x01\"\xf0\x01\n\x0cMessageQueue\x12\x17\n\tqueue_arn\x18\x01 \x01(\tB\x04\xe8\xc7\x31\x01\x12(\n\x12service_account_id\x18\x02 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12@\n\x12visibility_timeout\x18\x03 \x01(\x0b\x32\x19.google.protobuf.DurationB\t\xfa\xc7\x31\x05<=12h\x12\x1c\n\nbatch_size\x18\x04 \x01(\x03\x42\x08\xfa\xc7\x31\x04<=10\x12=\n\x0fpolling_timeout\x18\x05 \x01(\x0b\x32\x19.google.protobuf.DurationB\t\xfa\xc7\x31\x05<=20sB\x8a\x01\n*yandex.cloud.api.serverless.eventrouter.v1B\x04PERCZVgithub.com/yandex-cloud/go-genproto/yandex/cloud/serverless/eventrouter/v1;eventrouterb\x06proto3')
|
|
20
20
|
|
|
21
21
|
_globals = globals()
|
|
22
22
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
@@ -47,15 +47,15 @@ if _descriptor._USE_C_DESCRIPTORS == False:
|
|
|
47
47
|
_MESSAGEQUEUE.fields_by_name['polling_timeout']._options = None
|
|
48
48
|
_MESSAGEQUEUE.fields_by_name['polling_timeout']._serialized_options = b'\372\3071\005<=20s'
|
|
49
49
|
_globals['_CONNECTOR']._serialized_start=195
|
|
50
|
-
_globals['_CONNECTOR']._serialized_end=
|
|
50
|
+
_globals['_CONNECTOR']._serialized_end=806
|
|
51
51
|
_globals['_CONNECTOR_LABELSENTRY']._serialized_start=602
|
|
52
52
|
_globals['_CONNECTOR_LABELSENTRY']._serialized_end=647
|
|
53
53
|
_globals['_CONNECTOR_STATUS']._serialized_start=650
|
|
54
|
-
_globals['_CONNECTOR_STATUS']._serialized_end=
|
|
55
|
-
_globals['_SOURCE']._serialized_start=
|
|
56
|
-
_globals['_SOURCE']._serialized_end=
|
|
57
|
-
_globals['_DATASTREAM']._serialized_start=
|
|
58
|
-
_globals['_DATASTREAM']._serialized_end=
|
|
59
|
-
_globals['_MESSAGEQUEUE']._serialized_start=
|
|
60
|
-
_globals['_MESSAGEQUEUE']._serialized_end=
|
|
54
|
+
_globals['_CONNECTOR_STATUS']._serialized_end=806
|
|
55
|
+
_globals['_SOURCE']._serialized_start=809
|
|
56
|
+
_globals['_SOURCE']._serialized_end=987
|
|
57
|
+
_globals['_DATASTREAM']._serialized_start=989
|
|
58
|
+
_globals['_DATASTREAM']._serialized_end=1110
|
|
59
|
+
_globals['_MESSAGEQUEUE']._serialized_start=1113
|
|
60
|
+
_globals['_MESSAGEQUEUE']._serialized_end=1353
|
|
61
61
|
# @@protoc_insertion_point(module_scope)
|
|
@@ -41,6 +41,10 @@ class Connector(google.protobuf.message.Message):
|
|
|
41
41
|
"""service account does not have read permission on source"""
|
|
42
42
|
SUBJECT_NOT_FOUND: Connector._Status.ValueType # 5
|
|
43
43
|
"""service account not found"""
|
|
44
|
+
DELETING: Connector._Status.ValueType # 7
|
|
45
|
+
"""deletion in progress"""
|
|
46
|
+
CREATING: Connector._Status.ValueType # 8
|
|
47
|
+
"""creation in progress"""
|
|
44
48
|
|
|
45
49
|
class Status(_Status, metaclass=_StatusEnumTypeWrapper):
|
|
46
50
|
"""Status of the connector."""
|
|
@@ -55,6 +59,10 @@ class Connector(google.protobuf.message.Message):
|
|
|
55
59
|
"""service account does not have read permission on source"""
|
|
56
60
|
SUBJECT_NOT_FOUND: Connector.Status.ValueType # 5
|
|
57
61
|
"""service account not found"""
|
|
62
|
+
DELETING: Connector.Status.ValueType # 7
|
|
63
|
+
"""deletion in progress"""
|
|
64
|
+
CREATING: Connector.Status.ValueType # 8
|
|
65
|
+
"""creation in progress"""
|
|
58
66
|
|
|
59
67
|
@typing.final
|
|
60
68
|
class LabelsEntry(google.protobuf.message.Message):
|
|
@@ -16,7 +16,7 @@ from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__
|
|
|
16
16
|
from yandex.cloud import validation_pb2 as yandex_dot_cloud_dot_validation__pb2
|
|
17
17
|
|
|
18
18
|
|
|
19
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n1yandex/cloud/serverless/eventrouter/v1/rule.proto\x12&yandex.cloud.serverless.eventrouter.v1\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1dyandex/cloud/validation.proto\"\
|
|
19
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n1yandex/cloud/serverless/eventrouter/v1/rule.proto\x12&yandex.cloud.serverless.eventrouter.v1\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1dyandex/cloud/validation.proto\"\xf2\x04\n\x04Rule\x12\n\n\x02id\x18\x01 \x01(\t\x12\x0e\n\x06\x62us_id\x18\x02 \x01(\t\x12\x11\n\tfolder_id\x18\x03 \x01(\t\x12\x10\n\x08\x63loud_id\x18\x04 \x01(\t\x12.\n\ncreated_at\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x0c\n\x04name\x18\x06 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x07 \x01(\t\x12H\n\x06labels\x18\x08 \x03(\x0b\x32\x38.yandex.cloud.serverless.eventrouter.v1.Rule.LabelsEntry\x12>\n\x06\x66ilter\x18\x0b \x01(\x0b\x32..yandex.cloud.serverless.eventrouter.v1.Filter\x12H\n\x07targets\x18\x0c \x03(\x0b\x32..yandex.cloud.serverless.eventrouter.v1.TargetB\x07\x82\xc8\x31\x03\x31-5\x12\x1b\n\x13\x64\x65letion_protection\x18\r \x01(\x08\x12\x43\n\x06status\x18\x0e \x01(\x0e\x32\x33.yandex.cloud.serverless.eventrouter.v1.Rule.Status\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"e\n\x06Status\x12\x16\n\x12STATUS_UNSPECIFIED\x10\x00\x12\x0c\n\x08\x43REATING\x10\x01\x12\x0b\n\x07\x45NABLED\x10\x02\x12\x0c\n\x08UPDATING\x10\x03\x12\x0c\n\x08\x44ISABLED\x10\x04\x12\x0c\n\x08\x44\x45LETING\x10\x05J\x04\x08\t\x10\nJ\x04\x08\n\x10\x0b\"<\n\x06\x46ilter\x12\x1f\n\tjq_filter\x18\x01 \x01(\tB\n\x8a\xc8\x31\x06<=1024H\x00\x42\x11\n\tcondition\x12\x04\xc0\xc1\x31\x01\"I\n\x0bTransformer\x12%\n\x0ejq_transformer\x18\x01 \x01(\tB\x0b\x8a\xc8\x31\x07<=65536H\x00\x42\x13\n\x0btransformer\x12\x04\xc0\xc1\x31\x01\"\x8a\x08\n\x06Target\x12@\n\x03yds\x18\x01 \x01(\x0b\x32\x31.yandex.cloud.serverless.eventrouter.v1.YdsTargetH\x00\x12@\n\x03ymq\x18\x02 \x01(\x0b\x32\x31.yandex.cloud.serverless.eventrouter.v1.YmqTargetH\x00\x12J\n\x08\x66unction\x18\x03 \x01(\x0b\x32\x36.yandex.cloud.serverless.eventrouter.v1.FunctionTargetH\x00\x12L\n\tcontainer\x18\x04 \x01(\x0b\x32\x37.yandex.cloud.serverless.eventrouter.v1.ContainerTargetH\x00\x12g\n\x14gateway_ws_broadcast\x18\x05 \x01(\x0b\x32G.yandex.cloud.serverless.eventrouter.v1.GatewayWebsocketBroadcastTargetH\x00\x12H\n\x07logging\x18\x06 \x01(\x0b\x32\x35.yandex.cloud.serverless.eventrouter.v1.LoggingTargetH\x00\x12J\n\x08workflow\x18\x07 \x01(\x0b\x32\x36.yandex.cloud.serverless.eventrouter.v1.WorkflowTargetH\x00\x12H\n\x0btransformer\x18\x32 \x01(\x0b\x32\x33.yandex.cloud.serverless.eventrouter.v1.Transformer\x12M\n\x0eretry_settings\x18\x33 \x01(\x0b\x32\x35.yandex.cloud.serverless.eventrouter.v1.RetrySettings\x12T\n\x11\x64\x65\x61\x64_letter_queue\x18\x34 \x01(\x0b\x32\x37.yandex.cloud.serverless.eventrouter.v1.PutQueueMessageH\x01\x12\x45\n\x06status\x18\x36 \x01(\x0e\x32\x35.yandex.cloud.serverless.eventrouter.v1.Target.Status\"\x81\x01\n\x06Status\x12\x16\n\x12STATUS_UNSPECIFIED\x10\x00\x12\x0b\n\x07\x45NABLED\x10\x01\x12\x0c\n\x08\x44ISABLED\x10\x02\x12\x16\n\x12RESOURCE_NOT_FOUND\x10\x03\x12\x15\n\x11PERMISSION_DENIED\x10\x04\x12\x15\n\x11SUBJECT_NOT_FOUND\x10\x05\x42\x0e\n\x06target\x12\x04\xc0\xc1\x31\x01\x42\r\n\x0b\x64\x65\x61\x64_letterJ\x04\x08\x08\x10\x32J\x04\x08\x35\x10\x36\"h\n\tYdsTarget\x12\x16\n\x08\x64\x61tabase\x18\x01 \x01(\tB\x04\xe8\xc7\x31\x01\x12\x19\n\x0bstream_name\x18\x02 \x01(\tB\x04\xe8\xc7\x31\x01\x12(\n\x12service_account_id\x18\x03 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\"N\n\tYmqTarget\x12\x17\n\tqueue_arn\x18\x01 \x01(\tB\x04\xe8\xc7\x31\x01\x12(\n\x12service_account_id\x18\x02 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\"\xbe\x01\n\x0e\x46unctionTarget\x12!\n\x0b\x66unction_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12\x14\n\x0c\x66unction_tag\x18\x02 \x01(\t\x12$\n\x12service_account_id\x18\x03 \x01(\tB\x08\x8a\xc8\x31\x04<=50\x12M\n\x0e\x62\x61tch_settings\x18\x04 \x01(\x0b\x32\x35.yandex.cloud.serverless.eventrouter.v1.BatchSettings\"\xd7\x01\n\x0f\x43ontainerTarget\x12\"\n\x0c\x63ontainer_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12\x1d\n\x15\x63ontainer_revision_id\x18\x02 \x01(\t\x12\x0c\n\x04path\x18\x03 \x01(\t\x12$\n\x12service_account_id\x18\x04 \x01(\tB\x08\x8a\xc8\x31\x04<=50\x12M\n\x0e\x62\x61tch_settings\x18\x05 \x01(\x0b\x32\x35.yandex.cloud.serverless.eventrouter.v1.BatchSettings\"\xd0\x01\n\x1fGatewayWebsocketBroadcastTarget\x12 \n\ngateway_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12\x12\n\x04path\x18\x02 \x01(\tB\x04\xe8\xc7\x31\x01\x12(\n\x12service_account_id\x18\x03 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12M\n\x0e\x62\x61tch_settings\x18\x04 \x01(\x0b\x32\x35.yandex.cloud.serverless.eventrouter.v1.BatchSettings\"\x8f\x01\n\rLoggingTarget\x12 \n\x0clog_group_id\x18\x01 \x01(\tB\x08\x8a\xc8\x31\x04<=63H\x00\x12\x1d\n\tfolder_id\x18\x02 \x01(\tB\x08\x8a\xc8\x31\x04<=63H\x00\x12(\n\x12service_account_id\x18\x03 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50B\x13\n\x0b\x64\x65stination\x12\x04\xc0\xc1\x31\x01\"\xb8\x01\n\x0eWorkflowTarget\x12!\n\x0bworkflow_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12(\n\x12service_account_id\x18\x04 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12M\n\x0e\x62\x61tch_settings\x18\x05 \x01(\x0b\x32\x35.yandex.cloud.serverless.eventrouter.v1.BatchSettingsJ\x04\x08\x02\x10\x03J\x04\x08\x03\x10\x04\"l\n\rRetrySettings\x12 \n\x0eretry_attempts\x18\x01 \x01(\x03\x42\x08\xfa\xc7\x31\x04\x30-10\x12\x39\n\x0bmaximum_age\x18\x02 \x01(\x0b\x32\x19.google.protobuf.DurationB\t\xfa\xc7\x31\x05<=24h\"N\n\x0fPutQueueMessage\x12\x11\n\tqueue_arn\x18\x01 \x01(\t\x12(\n\x12service_account_id\x18\x02 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\"\x88\x01\n\rBatchSettings\x12\x1d\n\tmax_count\x18\x01 \x01(\x03\x42\n\xfa\xc7\x31\x06\x30-1000\x12\x1f\n\tmax_bytes\x18\x02 \x01(\x03\x42\x0c\xfa\xc7\x31\x08\x30-262144\x12\x37\n\x06\x63utoff\x18\x03 \x01(\x0b\x32\x19.google.protobuf.DurationB\x0c\xe8\xc7\x31\x01\xfa\xc7\x31\x04<=1mB\x8a\x01\n*yandex.cloud.api.serverless.eventrouter.v1B\x04PERRZVgithub.com/yandex-cloud/go-genproto/yandex/cloud/serverless/eventrouter/v1;eventrouterb\x06proto3')
|
|
20
20
|
|
|
21
21
|
_globals = globals()
|
|
22
22
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
@@ -87,37 +87,37 @@ if _descriptor._USE_C_DESCRIPTORS == False:
|
|
|
87
87
|
_BATCHSETTINGS.fields_by_name['cutoff']._options = None
|
|
88
88
|
_BATCHSETTINGS.fields_by_name['cutoff']._serialized_options = b'\350\3071\001\372\3071\004<=1m'
|
|
89
89
|
_globals['_RULE']._serialized_start=190
|
|
90
|
-
_globals['_RULE']._serialized_end=
|
|
90
|
+
_globals['_RULE']._serialized_end=816
|
|
91
91
|
_globals['_RULE_LABELSENTRY']._serialized_start=656
|
|
92
92
|
_globals['_RULE_LABELSENTRY']._serialized_end=701
|
|
93
93
|
_globals['_RULE_STATUS']._serialized_start=703
|
|
94
|
-
_globals['_RULE_STATUS']._serialized_end=
|
|
95
|
-
_globals['_FILTER']._serialized_start=
|
|
96
|
-
_globals['_FILTER']._serialized_end=
|
|
97
|
-
_globals['_TRANSFORMER']._serialized_start=
|
|
98
|
-
_globals['_TRANSFORMER']._serialized_end=
|
|
99
|
-
_globals['_TARGET']._serialized_start=
|
|
100
|
-
_globals['_TARGET']._serialized_end=
|
|
101
|
-
_globals['_TARGET_STATUS']._serialized_start=
|
|
102
|
-
_globals['_TARGET_STATUS']._serialized_end=
|
|
103
|
-
_globals['_YDSTARGET']._serialized_start=
|
|
104
|
-
_globals['_YDSTARGET']._serialized_end=
|
|
105
|
-
_globals['_YMQTARGET']._serialized_start=
|
|
106
|
-
_globals['_YMQTARGET']._serialized_end=
|
|
107
|
-
_globals['_FUNCTIONTARGET']._serialized_start=
|
|
108
|
-
_globals['_FUNCTIONTARGET']._serialized_end=
|
|
109
|
-
_globals['_CONTAINERTARGET']._serialized_start=
|
|
110
|
-
_globals['_CONTAINERTARGET']._serialized_end=
|
|
111
|
-
_globals['_GATEWAYWEBSOCKETBROADCASTTARGET']._serialized_start=
|
|
112
|
-
_globals['_GATEWAYWEBSOCKETBROADCASTTARGET']._serialized_end=
|
|
113
|
-
_globals['_LOGGINGTARGET']._serialized_start=
|
|
114
|
-
_globals['_LOGGINGTARGET']._serialized_end=
|
|
115
|
-
_globals['_WORKFLOWTARGET']._serialized_start=
|
|
116
|
-
_globals['_WORKFLOWTARGET']._serialized_end=
|
|
117
|
-
_globals['_RETRYSETTINGS']._serialized_start=
|
|
118
|
-
_globals['_RETRYSETTINGS']._serialized_end=
|
|
119
|
-
_globals['_PUTQUEUEMESSAGE']._serialized_start=
|
|
120
|
-
_globals['_PUTQUEUEMESSAGE']._serialized_end=
|
|
121
|
-
_globals['_BATCHSETTINGS']._serialized_start=
|
|
122
|
-
_globals['_BATCHSETTINGS']._serialized_end=
|
|
94
|
+
_globals['_RULE_STATUS']._serialized_end=804
|
|
95
|
+
_globals['_FILTER']._serialized_start=818
|
|
96
|
+
_globals['_FILTER']._serialized_end=878
|
|
97
|
+
_globals['_TRANSFORMER']._serialized_start=880
|
|
98
|
+
_globals['_TRANSFORMER']._serialized_end=953
|
|
99
|
+
_globals['_TARGET']._serialized_start=956
|
|
100
|
+
_globals['_TARGET']._serialized_end=1990
|
|
101
|
+
_globals['_TARGET_STATUS']._serialized_start=1818
|
|
102
|
+
_globals['_TARGET_STATUS']._serialized_end=1947
|
|
103
|
+
_globals['_YDSTARGET']._serialized_start=1992
|
|
104
|
+
_globals['_YDSTARGET']._serialized_end=2096
|
|
105
|
+
_globals['_YMQTARGET']._serialized_start=2098
|
|
106
|
+
_globals['_YMQTARGET']._serialized_end=2176
|
|
107
|
+
_globals['_FUNCTIONTARGET']._serialized_start=2179
|
|
108
|
+
_globals['_FUNCTIONTARGET']._serialized_end=2369
|
|
109
|
+
_globals['_CONTAINERTARGET']._serialized_start=2372
|
|
110
|
+
_globals['_CONTAINERTARGET']._serialized_end=2587
|
|
111
|
+
_globals['_GATEWAYWEBSOCKETBROADCASTTARGET']._serialized_start=2590
|
|
112
|
+
_globals['_GATEWAYWEBSOCKETBROADCASTTARGET']._serialized_end=2798
|
|
113
|
+
_globals['_LOGGINGTARGET']._serialized_start=2801
|
|
114
|
+
_globals['_LOGGINGTARGET']._serialized_end=2944
|
|
115
|
+
_globals['_WORKFLOWTARGET']._serialized_start=2947
|
|
116
|
+
_globals['_WORKFLOWTARGET']._serialized_end=3131
|
|
117
|
+
_globals['_RETRYSETTINGS']._serialized_start=3133
|
|
118
|
+
_globals['_RETRYSETTINGS']._serialized_end=3241
|
|
119
|
+
_globals['_PUTQUEUEMESSAGE']._serialized_start=3243
|
|
120
|
+
_globals['_PUTQUEUEMESSAGE']._serialized_end=3321
|
|
121
|
+
_globals['_BATCHSETTINGS']._serialized_start=3324
|
|
122
|
+
_globals['_BATCHSETTINGS']._serialized_end=3460
|
|
123
123
|
# @@protoc_insertion_point(module_scope)
|
|
@@ -40,6 +40,8 @@ class Rule(google.protobuf.message.Message):
|
|
|
40
40
|
"""Rule update in progress, rule is disabled during update"""
|
|
41
41
|
DISABLED: Rule._Status.ValueType # 4
|
|
42
42
|
"""Rule is explicitly disabled by the user"""
|
|
43
|
+
DELETING: Rule._Status.ValueType # 5
|
|
44
|
+
"""Rule deletion in progress"""
|
|
43
45
|
|
|
44
46
|
class Status(_Status, metaclass=_StatusEnumTypeWrapper): ...
|
|
45
47
|
STATUS_UNSPECIFIED: Rule.Status.ValueType # 0
|
|
@@ -51,6 +53,8 @@ class Rule(google.protobuf.message.Message):
|
|
|
51
53
|
"""Rule update in progress, rule is disabled during update"""
|
|
52
54
|
DISABLED: Rule.Status.ValueType # 4
|
|
53
55
|
"""Rule is explicitly disabled by the user"""
|
|
56
|
+
DELETING: Rule.Status.ValueType # 5
|
|
57
|
+
"""Rule deletion in progress"""
|
|
54
58
|
|
|
55
59
|
@typing.final
|
|
56
60
|
class LabelsEntry(google.protobuf.message.Message):
|
|
@@ -17,7 +17,7 @@ from yandex.cloud.serverless.workflows.v1 import history_entry_pb2 as yandex_dot
|
|
|
17
17
|
from yandex.cloud import validation_pb2 as yandex_dot_cloud_dot_validation__pb2
|
|
18
18
|
|
|
19
19
|
|
|
20
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n<yandex/cloud/serverless/workflows/v1/execution_service.proto\x12$yandex.cloud.serverless.workflows.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x34yandex/cloud/serverless/workflows/v1/execution.proto\x1a\x38yandex/cloud/serverless/workflows/v1/history_entry.proto\x1a\x1dyandex/cloud/validation.proto\"}\n\x15StartExecutionRequest\x12\x19\n\x0bworkflow_id\x18\x01 \x01(\tB\x04\xe8\xc7\x31\x01\x12\x43\n\x05input\x18\x03 \x01(\x0b\x32\x34.yandex.cloud.serverless.workflows.v1.ExecutionInputJ\x04\x08\x02\x10\x03\".\n\x16StartExecutionResponse\x12\x14\n\x0c\x65xecution_id\x18\x01 \x01(\t\"2\n\x14StopExecutionRequest\x12\x1a\n\x0c\x65xecution_id\x18\x01 \x01(\tB\x04\xe8\xc7\x31\x01\"-\n\x15StopExecutionResponse\x12\x14\n\x0c\x65xecution_id\x18\x01 \x01(\t\"1\n\x13GetExecutionRequest\x12\x1a\n\x0c\x65xecution_id\x18\x01 \x01(\tB\x04\xe8\xc7\x31\x01\"Z\n\x14GetExecutionResponse\x12\x42\n\texecution\x18\x01 \x01(\x0b\x32/.yandex.cloud.serverless.workflows.v1.Execution\"8\n\x1aGetExecutionHistoryRequest\x12\x1a\n\x0c\x65xecution_id\x18\x01 \x01(\tB\x04\xe8\xc7\x31\x01\"\xb5\x01\n\x1bGetExecutionHistoryResponse\x12I\n\texecution\x18\x01 \x01(\x0b\x32\x36.yandex.cloud.serverless.workflows.v1.ExecutionPreview\x12K\n\x07\x65ntries\x18\x02 \x03(\x0b\x32\x32.yandex.cloud.serverless.workflows.v1.HistoryEntryB\x06\x82\xc8\x31\x02>0\"{\n\x15ListExecutionsRequest\x12\x19\n\x0bworkflow_id\x18\x01 \x01(\tB\x04\xe8\xc7\x31\x01\x12#\n\tpage_size\x18\x02 \x01(\x03\x42\x10\xfa\xc7\x31\x0c\x30-2147483647\x12\x12\n\npage_token\x18\x03 \x01(\t\x12\x0e\n\x06\x66ilter\x18\x04 \x01(\t\"}\n\x16ListExecutionsResponse\x12J\n\nexecutions\x18\x01 \x03(\x0b\x32\x36.yandex.cloud.serverless.workflows.v1.ExecutionPreview\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t2\
|
|
20
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n<yandex/cloud/serverless/workflows/v1/execution_service.proto\x12$yandex.cloud.serverless.workflows.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x34yandex/cloud/serverless/workflows/v1/execution.proto\x1a\x38yandex/cloud/serverless/workflows/v1/history_entry.proto\x1a\x1dyandex/cloud/validation.proto\"}\n\x15StartExecutionRequest\x12\x19\n\x0bworkflow_id\x18\x01 \x01(\tB\x04\xe8\xc7\x31\x01\x12\x43\n\x05input\x18\x03 \x01(\x0b\x32\x34.yandex.cloud.serverless.workflows.v1.ExecutionInputJ\x04\x08\x02\x10\x03\".\n\x16StartExecutionResponse\x12\x14\n\x0c\x65xecution_id\x18\x01 \x01(\t\"2\n\x14StopExecutionRequest\x12\x1a\n\x0c\x65xecution_id\x18\x01 \x01(\tB\x04\xe8\xc7\x31\x01\"-\n\x15StopExecutionResponse\x12\x14\n\x0c\x65xecution_id\x18\x01 \x01(\t\"7\n\x19TerminateExecutionRequest\x12\x1a\n\x0c\x65xecution_id\x18\x01 \x01(\tB\x04\xe8\xc7\x31\x01\"2\n\x1aTerminateExecutionResponse\x12\x14\n\x0c\x65xecution_id\x18\x01 \x01(\t\"1\n\x13GetExecutionRequest\x12\x1a\n\x0c\x65xecution_id\x18\x01 \x01(\tB\x04\xe8\xc7\x31\x01\"Z\n\x14GetExecutionResponse\x12\x42\n\texecution\x18\x01 \x01(\x0b\x32/.yandex.cloud.serverless.workflows.v1.Execution\"8\n\x1aGetExecutionHistoryRequest\x12\x1a\n\x0c\x65xecution_id\x18\x01 \x01(\tB\x04\xe8\xc7\x31\x01\"\xb5\x01\n\x1bGetExecutionHistoryResponse\x12I\n\texecution\x18\x01 \x01(\x0b\x32\x36.yandex.cloud.serverless.workflows.v1.ExecutionPreview\x12K\n\x07\x65ntries\x18\x02 \x03(\x0b\x32\x32.yandex.cloud.serverless.workflows.v1.HistoryEntryB\x06\x82\xc8\x31\x02>0\"{\n\x15ListExecutionsRequest\x12\x19\n\x0bworkflow_id\x18\x01 \x01(\tB\x04\xe8\xc7\x31\x01\x12#\n\tpage_size\x18\x02 \x01(\x03\x42\x10\xfa\xc7\x31\x0c\x30-2147483647\x12\x12\n\npage_token\x18\x03 \x01(\t\x12\x0e\n\x06\x66ilter\x18\x04 \x01(\t\"}\n\x16ListExecutionsResponse\x12J\n\nexecutions\x18\x01 \x03(\x0b\x32\x36.yandex.cloud.serverless.workflows.v1.ExecutionPreview\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t2\xe3\x08\n\x10\x45xecutionService\x12\xac\x01\n\x05Start\x12;.yandex.cloud.serverless.workflows.v1.StartExecutionRequest\x1a<.yandex.cloud.serverless.workflows.v1.StartExecutionResponse\"(\x82\xd3\xe4\x93\x02\"\"\x1d/workflows/v1/execution/start:\x01*\x12\xb4\x01\n\x04Stop\x12:.yandex.cloud.serverless.workflows.v1.StopExecutionRequest\x1a;.yandex.cloud.serverless.workflows.v1.StopExecutionResponse\"3\x82\xd3\xe4\x93\x02-\"+/workflows/v1/execution/{execution_id}/stop\x12\xc8\x01\n\tTerminate\x12?.yandex.cloud.serverless.workflows.v1.TerminateExecutionRequest\x1a@.yandex.cloud.serverless.workflows.v1.TerminateExecutionResponse\"8\x82\xd3\xe4\x93\x02\x32\"0/workflows/v1/execution/{execution_id}/terminate\x12\xac\x01\n\x03Get\x12\x39.yandex.cloud.serverless.workflows.v1.GetExecutionRequest\x1a:.yandex.cloud.serverless.workflows.v1.GetExecutionResponse\".\x82\xd3\xe4\x93\x02(\x12&/workflows/v1/execution/{execution_id}\x12\xc9\x01\n\nGetHistory\x12@.yandex.cloud.serverless.workflows.v1.GetExecutionHistoryRequest\x1a\x41.yandex.cloud.serverless.workflows.v1.GetExecutionHistoryResponse\"6\x82\xd3\xe4\x93\x02\x30\x12./workflows/v1/execution/{execution_id}/history\x12\xa2\x01\n\x04List\x12;.yandex.cloud.serverless.workflows.v1.ListExecutionsRequest\x1a<.yandex.cloud.serverless.workflows.v1.ListExecutionsResponse\"\x1f\x82\xd3\xe4\x93\x02\x19\x12\x17/workflows/v1/executionB~\n(yandex.cloud.api.serverless.workflows.v1ZRgithub.com/yandex-cloud/go-genproto/yandex/cloud/serverless/workflows/v1;workflowsb\x06proto3')
|
|
21
21
|
|
|
22
22
|
_globals = globals()
|
|
23
23
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
@@ -29,6 +29,8 @@ if _descriptor._USE_C_DESCRIPTORS == False:
|
|
|
29
29
|
_STARTEXECUTIONREQUEST.fields_by_name['workflow_id']._serialized_options = b'\350\3071\001'
|
|
30
30
|
_STOPEXECUTIONREQUEST.fields_by_name['execution_id']._options = None
|
|
31
31
|
_STOPEXECUTIONREQUEST.fields_by_name['execution_id']._serialized_options = b'\350\3071\001'
|
|
32
|
+
_TERMINATEEXECUTIONREQUEST.fields_by_name['execution_id']._options = None
|
|
33
|
+
_TERMINATEEXECUTIONREQUEST.fields_by_name['execution_id']._serialized_options = b'\350\3071\001'
|
|
32
34
|
_GETEXECUTIONREQUEST.fields_by_name['execution_id']._options = None
|
|
33
35
|
_GETEXECUTIONREQUEST.fields_by_name['execution_id']._serialized_options = b'\350\3071\001'
|
|
34
36
|
_GETEXECUTIONHISTORYREQUEST.fields_by_name['execution_id']._options = None
|
|
@@ -43,6 +45,8 @@ if _descriptor._USE_C_DESCRIPTORS == False:
|
|
|
43
45
|
_EXECUTIONSERVICE.methods_by_name['Start']._serialized_options = b'\202\323\344\223\002\"\"\035/workflows/v1/execution/start:\001*'
|
|
44
46
|
_EXECUTIONSERVICE.methods_by_name['Stop']._options = None
|
|
45
47
|
_EXECUTIONSERVICE.methods_by_name['Stop']._serialized_options = b'\202\323\344\223\002-\"+/workflows/v1/execution/{execution_id}/stop'
|
|
48
|
+
_EXECUTIONSERVICE.methods_by_name['Terminate']._options = None
|
|
49
|
+
_EXECUTIONSERVICE.methods_by_name['Terminate']._serialized_options = b'\202\323\344\223\0022\"0/workflows/v1/execution/{execution_id}/terminate'
|
|
46
50
|
_EXECUTIONSERVICE.methods_by_name['Get']._options = None
|
|
47
51
|
_EXECUTIONSERVICE.methods_by_name['Get']._serialized_options = b'\202\323\344\223\002(\022&/workflows/v1/execution/{execution_id}'
|
|
48
52
|
_EXECUTIONSERVICE.methods_by_name['GetHistory']._options = None
|
|
@@ -57,18 +61,22 @@ if _descriptor._USE_C_DESCRIPTORS == False:
|
|
|
57
61
|
_globals['_STOPEXECUTIONREQUEST']._serialized_end=500
|
|
58
62
|
_globals['_STOPEXECUTIONRESPONSE']._serialized_start=502
|
|
59
63
|
_globals['_STOPEXECUTIONRESPONSE']._serialized_end=547
|
|
60
|
-
_globals['
|
|
61
|
-
_globals['
|
|
62
|
-
_globals['
|
|
63
|
-
_globals['
|
|
64
|
-
_globals['
|
|
65
|
-
_globals['
|
|
66
|
-
_globals['
|
|
67
|
-
_globals['
|
|
68
|
-
_globals['
|
|
69
|
-
_globals['
|
|
70
|
-
_globals['
|
|
71
|
-
_globals['
|
|
72
|
-
_globals['
|
|
73
|
-
_globals['
|
|
64
|
+
_globals['_TERMINATEEXECUTIONREQUEST']._serialized_start=549
|
|
65
|
+
_globals['_TERMINATEEXECUTIONREQUEST']._serialized_end=604
|
|
66
|
+
_globals['_TERMINATEEXECUTIONRESPONSE']._serialized_start=606
|
|
67
|
+
_globals['_TERMINATEEXECUTIONRESPONSE']._serialized_end=656
|
|
68
|
+
_globals['_GETEXECUTIONREQUEST']._serialized_start=658
|
|
69
|
+
_globals['_GETEXECUTIONREQUEST']._serialized_end=707
|
|
70
|
+
_globals['_GETEXECUTIONRESPONSE']._serialized_start=709
|
|
71
|
+
_globals['_GETEXECUTIONRESPONSE']._serialized_end=799
|
|
72
|
+
_globals['_GETEXECUTIONHISTORYREQUEST']._serialized_start=801
|
|
73
|
+
_globals['_GETEXECUTIONHISTORYREQUEST']._serialized_end=857
|
|
74
|
+
_globals['_GETEXECUTIONHISTORYRESPONSE']._serialized_start=860
|
|
75
|
+
_globals['_GETEXECUTIONHISTORYRESPONSE']._serialized_end=1041
|
|
76
|
+
_globals['_LISTEXECUTIONSREQUEST']._serialized_start=1043
|
|
77
|
+
_globals['_LISTEXECUTIONSREQUEST']._serialized_end=1166
|
|
78
|
+
_globals['_LISTEXECUTIONSRESPONSE']._serialized_start=1168
|
|
79
|
+
_globals['_LISTEXECUTIONSRESPONSE']._serialized_end=1293
|
|
80
|
+
_globals['_EXECUTIONSERVICE']._serialized_start=1296
|
|
81
|
+
_globals['_EXECUTIONSERVICE']._serialized_end=2419
|
|
74
82
|
# @@protoc_insertion_point(module_scope)
|
|
@@ -85,6 +85,38 @@ class StopExecutionResponse(google.protobuf.message.Message):
|
|
|
85
85
|
|
|
86
86
|
global___StopExecutionResponse = StopExecutionResponse
|
|
87
87
|
|
|
88
|
+
@typing.final
|
|
89
|
+
class TerminateExecutionRequest(google.protobuf.message.Message):
|
|
90
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
91
|
+
|
|
92
|
+
EXECUTION_ID_FIELD_NUMBER: builtins.int
|
|
93
|
+
execution_id: builtins.str
|
|
94
|
+
"""ID of the Workflow execution."""
|
|
95
|
+
def __init__(
|
|
96
|
+
self,
|
|
97
|
+
*,
|
|
98
|
+
execution_id: builtins.str = ...,
|
|
99
|
+
) -> None: ...
|
|
100
|
+
def ClearField(self, field_name: typing.Literal["execution_id", b"execution_id"]) -> None: ...
|
|
101
|
+
|
|
102
|
+
global___TerminateExecutionRequest = TerminateExecutionRequest
|
|
103
|
+
|
|
104
|
+
@typing.final
|
|
105
|
+
class TerminateExecutionResponse(google.protobuf.message.Message):
|
|
106
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
107
|
+
|
|
108
|
+
EXECUTION_ID_FIELD_NUMBER: builtins.int
|
|
109
|
+
execution_id: builtins.str
|
|
110
|
+
"""ID of the Workflow execution."""
|
|
111
|
+
def __init__(
|
|
112
|
+
self,
|
|
113
|
+
*,
|
|
114
|
+
execution_id: builtins.str = ...,
|
|
115
|
+
) -> None: ...
|
|
116
|
+
def ClearField(self, field_name: typing.Literal["execution_id", b"execution_id"]) -> None: ...
|
|
117
|
+
|
|
118
|
+
global___TerminateExecutionResponse = TerminateExecutionResponse
|
|
119
|
+
|
|
88
120
|
@typing.final
|
|
89
121
|
class GetExecutionRequest(google.protobuf.message.Message):
|
|
90
122
|
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
@@ -25,6 +25,11 @@ class ExecutionServiceStub(object):
|
|
|
25
25
|
request_serializer=yandex_dot_cloud_dot_serverless_dot_workflows_dot_v1_dot_execution__service__pb2.StopExecutionRequest.SerializeToString,
|
|
26
26
|
response_deserializer=yandex_dot_cloud_dot_serverless_dot_workflows_dot_v1_dot_execution__service__pb2.StopExecutionResponse.FromString,
|
|
27
27
|
)
|
|
28
|
+
self.Terminate = channel.unary_unary(
|
|
29
|
+
'/yandex.cloud.serverless.workflows.v1.ExecutionService/Terminate',
|
|
30
|
+
request_serializer=yandex_dot_cloud_dot_serverless_dot_workflows_dot_v1_dot_execution__service__pb2.TerminateExecutionRequest.SerializeToString,
|
|
31
|
+
response_deserializer=yandex_dot_cloud_dot_serverless_dot_workflows_dot_v1_dot_execution__service__pb2.TerminateExecutionResponse.FromString,
|
|
32
|
+
)
|
|
28
33
|
self.Get = channel.unary_unary(
|
|
29
34
|
'/yandex.cloud.serverless.workflows.v1.ExecutionService/Get',
|
|
30
35
|
request_serializer=yandex_dot_cloud_dot_serverless_dot_workflows_dot_v1_dot_execution__service__pb2.GetExecutionRequest.SerializeToString,
|
|
@@ -60,6 +65,13 @@ class ExecutionServiceServicer(object):
|
|
|
60
65
|
context.set_details('Method not implemented!')
|
|
61
66
|
raise NotImplementedError('Method not implemented!')
|
|
62
67
|
|
|
68
|
+
def Terminate(self, request, context):
|
|
69
|
+
"""Terminates specified Workflow execution.
|
|
70
|
+
"""
|
|
71
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
72
|
+
context.set_details('Method not implemented!')
|
|
73
|
+
raise NotImplementedError('Method not implemented!')
|
|
74
|
+
|
|
63
75
|
def Get(self, request, context):
|
|
64
76
|
"""Retrieves specified Workflow execution.
|
|
65
77
|
"""
|
|
@@ -94,6 +106,11 @@ def add_ExecutionServiceServicer_to_server(servicer, server):
|
|
|
94
106
|
request_deserializer=yandex_dot_cloud_dot_serverless_dot_workflows_dot_v1_dot_execution__service__pb2.StopExecutionRequest.FromString,
|
|
95
107
|
response_serializer=yandex_dot_cloud_dot_serverless_dot_workflows_dot_v1_dot_execution__service__pb2.StopExecutionResponse.SerializeToString,
|
|
96
108
|
),
|
|
109
|
+
'Terminate': grpc.unary_unary_rpc_method_handler(
|
|
110
|
+
servicer.Terminate,
|
|
111
|
+
request_deserializer=yandex_dot_cloud_dot_serverless_dot_workflows_dot_v1_dot_execution__service__pb2.TerminateExecutionRequest.FromString,
|
|
112
|
+
response_serializer=yandex_dot_cloud_dot_serverless_dot_workflows_dot_v1_dot_execution__service__pb2.TerminateExecutionResponse.SerializeToString,
|
|
113
|
+
),
|
|
97
114
|
'Get': grpc.unary_unary_rpc_method_handler(
|
|
98
115
|
servicer.Get,
|
|
99
116
|
request_deserializer=yandex_dot_cloud_dot_serverless_dot_workflows_dot_v1_dot_execution__service__pb2.GetExecutionRequest.FromString,
|
|
@@ -154,6 +171,23 @@ class ExecutionService(object):
|
|
|
154
171
|
options, channel_credentials,
|
|
155
172
|
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
156
173
|
|
|
174
|
+
@staticmethod
|
|
175
|
+
def Terminate(request,
|
|
176
|
+
target,
|
|
177
|
+
options=(),
|
|
178
|
+
channel_credentials=None,
|
|
179
|
+
call_credentials=None,
|
|
180
|
+
insecure=False,
|
|
181
|
+
compression=None,
|
|
182
|
+
wait_for_ready=None,
|
|
183
|
+
timeout=None,
|
|
184
|
+
metadata=None):
|
|
185
|
+
return grpc.experimental.unary_unary(request, target, '/yandex.cloud.serverless.workflows.v1.ExecutionService/Terminate',
|
|
186
|
+
yandex_dot_cloud_dot_serverless_dot_workflows_dot_v1_dot_execution__service__pb2.TerminateExecutionRequest.SerializeToString,
|
|
187
|
+
yandex_dot_cloud_dot_serverless_dot_workflows_dot_v1_dot_execution__service__pb2.TerminateExecutionResponse.FromString,
|
|
188
|
+
options, channel_credentials,
|
|
189
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
190
|
+
|
|
157
191
|
@staticmethod
|
|
158
192
|
def Get(request,
|
|
159
193
|
target,
|
|
@@ -33,6 +33,12 @@ class ExecutionServiceStub:
|
|
|
33
33
|
]
|
|
34
34
|
"""Stops specified Workflow execution."""
|
|
35
35
|
|
|
36
|
+
Terminate: grpc.UnaryUnaryMultiCallable[
|
|
37
|
+
yandex.cloud.serverless.workflows.v1.execution_service_pb2.TerminateExecutionRequest,
|
|
38
|
+
yandex.cloud.serverless.workflows.v1.execution_service_pb2.TerminateExecutionResponse,
|
|
39
|
+
]
|
|
40
|
+
"""Terminates specified Workflow execution."""
|
|
41
|
+
|
|
36
42
|
Get: grpc.UnaryUnaryMultiCallable[
|
|
37
43
|
yandex.cloud.serverless.workflows.v1.execution_service_pb2.GetExecutionRequest,
|
|
38
44
|
yandex.cloud.serverless.workflows.v1.execution_service_pb2.GetExecutionResponse,
|
|
@@ -66,6 +72,12 @@ class ExecutionServiceAsyncStub:
|
|
|
66
72
|
]
|
|
67
73
|
"""Stops specified Workflow execution."""
|
|
68
74
|
|
|
75
|
+
Terminate: grpc.aio.UnaryUnaryMultiCallable[
|
|
76
|
+
yandex.cloud.serverless.workflows.v1.execution_service_pb2.TerminateExecutionRequest,
|
|
77
|
+
yandex.cloud.serverless.workflows.v1.execution_service_pb2.TerminateExecutionResponse,
|
|
78
|
+
]
|
|
79
|
+
"""Terminates specified Workflow execution."""
|
|
80
|
+
|
|
69
81
|
Get: grpc.aio.UnaryUnaryMultiCallable[
|
|
70
82
|
yandex.cloud.serverless.workflows.v1.execution_service_pb2.GetExecutionRequest,
|
|
71
83
|
yandex.cloud.serverless.workflows.v1.execution_service_pb2.GetExecutionResponse,
|
|
@@ -103,6 +115,14 @@ class ExecutionServiceServicer(metaclass=abc.ABCMeta):
|
|
|
103
115
|
) -> typing.Union[yandex.cloud.serverless.workflows.v1.execution_service_pb2.StopExecutionResponse, collections.abc.Awaitable[yandex.cloud.serverless.workflows.v1.execution_service_pb2.StopExecutionResponse]]:
|
|
104
116
|
"""Stops specified Workflow execution."""
|
|
105
117
|
|
|
118
|
+
@abc.abstractmethod
|
|
119
|
+
def Terminate(
|
|
120
|
+
self,
|
|
121
|
+
request: yandex.cloud.serverless.workflows.v1.execution_service_pb2.TerminateExecutionRequest,
|
|
122
|
+
context: _ServicerContext,
|
|
123
|
+
) -> typing.Union[yandex.cloud.serverless.workflows.v1.execution_service_pb2.TerminateExecutionResponse, collections.abc.Awaitable[yandex.cloud.serverless.workflows.v1.execution_service_pb2.TerminateExecutionResponse]]:
|
|
124
|
+
"""Terminates specified Workflow execution."""
|
|
125
|
+
|
|
106
126
|
@abc.abstractmethod
|
|
107
127
|
def Get(
|
|
108
128
|
self,
|
|
@@ -15,7 +15,7 @@ from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__
|
|
|
15
15
|
from yandex.cloud import validation_pb2 as yandex_dot_cloud_dot_validation__pb2
|
|
16
16
|
|
|
17
17
|
|
|
18
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n7yandex/cloud/smartwebsecurity/v1/security_profile.proto\x12 yandex.cloud.smartwebsecurity.v1\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1dyandex/cloud/validation.proto\"\
|
|
18
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n7yandex/cloud/smartwebsecurity/v1/security_profile.proto\x12 yandex.cloud.smartwebsecurity.v1\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1dyandex/cloud/validation.proto\"\x86\x08\n\x0fSecurityProfile\x12\n\n\x02id\x18\x01 \x01(\t\x12\x11\n\tfolder_id\x18\x02 \x01(\t\x12\x8a\x01\n\x06labels\x18\x03 \x03(\x0b\x32=.yandex.cloud.smartwebsecurity.v1.SecurityProfile.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\x38\n\x04name\x18\x04 \x01(\tB*\xe8\xc7\x31\x01\xf2\xc7\x31\x1a[a-zA-Z0-9][a-zA-Z0-9-_.]*\x8a\xc8\x31\x04\x31-50\x12\x1e\n\x0b\x64\x65scription\x18\x05 \x01(\tB\t\x8a\xc8\x31\x05<=512\x12]\n\x0e\x64\x65\x66\x61ult_action\x18\x06 \x01(\x0e\x32?.yandex.cloud.smartwebsecurity.v1.SecurityProfile.DefaultActionB\x04\xe8\xc7\x31\x01\x12\x46\n\x0esecurity_rules\x18\x07 \x03(\x0b\x32..yandex.cloud.smartwebsecurity.v1.SecurityRule\x12.\n\ncreated_at\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x10\n\x08\x63loud_id\x18\n \x01(\t\x12\x12\n\ncaptcha_id\x18\x0b \x01(\t\x12(\n advanced_rate_limiter_profile_id\x18\x0c \x01(\t\x12\x62\n\x14\x61nalyze_request_body\x18\r \x01(\x0b\x32\x44.yandex.cloud.smartwebsecurity.v1.SecurityProfile.AnalyzeRequestBody\x1a\xe6\x01\n\x12\x41nalyzeRequestBody\x12\x30\n\nsize_limit\x18\x01 \x01(\x03\x42\x1c\xfa\xc7\x31\x18\x30,8,16,32,64,128,256,512\x12\x66\n\x11size_limit_action\x18\x02 \x01(\x0e\x32K.yandex.cloud.smartwebsecurity.v1.SecurityProfile.AnalyzeRequestBody.Action\"6\n\x06\x41\x63tion\x12\x16\n\x12\x41\x43TION_UNSPECIFIED\x10\x00\x12\n\n\x06IGNORE\x10\x01\x12\x08\n\x04\x44\x45NY\x10\x02\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"D\n\rDefaultAction\x12\x1e\n\x1a\x44\x45\x46\x41ULT_ACTION_UNSPECIFIED\x10\x00\x12\t\n\x05\x41LLOW\x10\x01\x12\x08\n\x04\x44\x45NY\x10\x02J\x04\x08\t\x10\n\"\xb6\x08\n\x0cSecurityRule\x12\x38\n\x04name\x18\x01 \x01(\tB*\xe8\xc7\x31\x01\xf2\xc7\x31\x1a[a-zA-Z0-9][a-zA-Z0-9-_.]*\x8a\xc8\x31\x04\x31-50\x12\x1e\n\x08priority\x18\x02 \x01(\x03\x42\x0c\xfa\xc7\x31\x08\x31-999999\x12\x0f\n\x07\x64ry_run\x18\x03 \x01(\x08\x12V\n\x0erule_condition\x18\x04 \x01(\x0b\x32<.yandex.cloud.smartwebsecurity.v1.SecurityRule.RuleConditionH\x00\x12Z\n\x10smart_protection\x18\x05 \x01(\x0b\x32>.yandex.cloud.smartwebsecurity.v1.SecurityRule.SmartProtectionH\x00\x12\x41\n\x03waf\x18\x06 \x01(\x0b\x32\x32.yandex.cloud.smartwebsecurity.v1.SecurityRule.WafH\x00\x12\x1e\n\x0b\x64\x65scription\x18\x07 \x01(\tB\t\x8a\xc8\x31\x05<=512\x1a\xdb\x01\n\rRuleCondition\x12S\n\x06\x61\x63tion\x18\x01 \x01(\x0e\x32\x43.yandex.cloud.smartwebsecurity.v1.SecurityRule.RuleCondition.Action\x12>\n\tcondition\x18\x02 \x01(\x0b\x32+.yandex.cloud.smartwebsecurity.v1.Condition\"5\n\x06\x41\x63tion\x12\x16\n\x12\x41\x43TION_UNSPECIFIED\x10\x00\x12\t\n\x05\x41LLOW\x10\x01\x12\x08\n\x04\x44\x45NY\x10\x02\x1a\xd5\x01\n\x0fSmartProtection\x12Q\n\x04mode\x18\x01 \x01(\x0e\x32\x43.yandex.cloud.smartwebsecurity.v1.SecurityRule.SmartProtection.Mode\x12>\n\tcondition\x18\x02 \x01(\x0b\x32+.yandex.cloud.smartwebsecurity.v1.Condition\"/\n\x04Mode\x12\x14\n\x10MODE_UNSPECIFIED\x10\x00\x12\x08\n\x04\x46ULL\x10\x01\x12\x07\n\x03\x41PI\x10\x02\x1a\xdb\x01\n\x03Waf\x12\x45\n\x04mode\x18\x01 \x01(\x0e\x32\x37.yandex.cloud.smartwebsecurity.v1.SecurityRule.Waf.Mode\x12>\n\tcondition\x18\x02 \x01(\x0b\x32+.yandex.cloud.smartwebsecurity.v1.Condition\x12\x1c\n\x0ewaf_profile_id\x18\x03 \x01(\tB\x04\xe8\xc7\x31\x01\"/\n\x04Mode\x12\x14\n\x10MODE_UNSPECIFIED\x10\x00\x12\x08\n\x04\x46ULL\x10\x01\x12\x07\n\x03\x41PI\x10\x02\x42\x10\n\x0erule_specifier\"\xf9\r\n\tCondition\x12O\n\tauthority\x18\x01 \x01(\x0b\x32<.yandex.cloud.smartwebsecurity.v1.Condition.AuthorityMatcher\x12R\n\x0bhttp_method\x18\x02 \x01(\x0b\x32=.yandex.cloud.smartwebsecurity.v1.Condition.HttpMethodMatcher\x12R\n\x0brequest_uri\x18\x03 \x01(\x0b\x32=.yandex.cloud.smartwebsecurity.v1.Condition.RequestUriMatcher\x12T\n\x07headers\x18\x04 \x03(\x0b\x32\x39.yandex.cloud.smartwebsecurity.v1.Condition.HeaderMatcherB\x08\x82\xc8\x31\x04<=20\x12H\n\tsource_ip\x18\x05 \x01(\x0b\x32\x35.yandex.cloud.smartwebsecurity.v1.Condition.IpMatcher\x1a\xfc\x01\n\rStringMatcher\x12 \n\x0b\x65xact_match\x18\x01 \x01(\tB\t\x8a\xc8\x31\x05\x30-255H\x00\x12$\n\x0f\x65xact_not_match\x18\x02 \x01(\tB\t\x8a\xc8\x31\x05\x30-255H\x00\x12!\n\x0cprefix_match\x18\x03 \x01(\tB\t\x8a\xc8\x31\x05\x30-255H\x00\x12%\n\x10prefix_not_match\x18\x04 \x01(\tB\t\x8a\xc8\x31\x05\x30-255H\x00\x12%\n\x10pire_regex_match\x18\x05 \x01(\tB\t\x8a\xc8\x31\x05\x30-255H\x00\x12)\n\x14pire_regex_not_match\x18\x06 \x01(\tB\t\x8a\xc8\x31\x05\x30-255H\x00\x42\x07\n\x05match\x1an\n\x11HttpMethodMatcher\x12Y\n\x0chttp_methods\x18\x01 \x03(\x0b\x32\x39.yandex.cloud.smartwebsecurity.v1.Condition.StringMatcherB\x08\x82\xc8\x31\x04<=20\x1al\n\x10\x41uthorityMatcher\x12X\n\x0b\x61uthorities\x18\x01 \x03(\x0b\x32\x39.yandex.cloud.smartwebsecurity.v1.Condition.StringMatcherB\x08\x82\xc8\x31\x04<=20\x1a\xb1\x01\n\x11RequestUriMatcher\x12G\n\x04path\x18\x01 \x01(\x0b\x32\x39.yandex.cloud.smartwebsecurity.v1.Condition.StringMatcher\x12S\n\x07queries\x18\x02 \x03(\x0b\x32\x38.yandex.cloud.smartwebsecurity.v1.Condition.QueryMatcherB\x08\x82\xc8\x31\x04<=20\x1az\n\x0cQueryMatcher\x12\x1a\n\x03key\x18\x01 \x01(\tB\r\xe8\xc7\x31\x01\x8a\xc8\x31\x05\x31-255\x12N\n\x05value\x18\x02 \x01(\x0b\x32\x39.yandex.cloud.smartwebsecurity.v1.Condition.StringMatcherB\x04\xe8\xc7\x31\x01\x1a|\n\rHeaderMatcher\x12\x1b\n\x04name\x18\x01 \x01(\tB\r\xe8\xc7\x31\x01\x8a\xc8\x31\x05\x31-255\x12N\n\x05value\x18\x02 \x01(\x0b\x32\x39.yandex.cloud.smartwebsecurity.v1.Condition.StringMatcherB\x04\xe8\xc7\x31\x01\x1a\xdf\x02\n\tIpMatcher\x12T\n\x0fip_ranges_match\x18\x01 \x01(\x0b\x32;.yandex.cloud.smartwebsecurity.v1.Condition.IpRangesMatcher\x12X\n\x13ip_ranges_not_match\x18\x02 \x01(\x0b\x32;.yandex.cloud.smartwebsecurity.v1.Condition.IpRangesMatcher\x12N\n\x0cgeo_ip_match\x18\x03 \x01(\x0b\x32\x38.yandex.cloud.smartwebsecurity.v1.Condition.GeoIpMatcher\x12R\n\x10geo_ip_not_match\x18\x04 \x01(\x0b\x32\x38.yandex.cloud.smartwebsecurity.v1.Condition.GeoIpMatcher\x1a\x31\n\x0fIpRangesMatcher\x12\x1e\n\tip_ranges\x18\x01 \x03(\tB\x0b\x82\xc8\x31\x07<=10000\x1a\x33\n\x0cGeoIpMatcher\x12#\n\tlocations\x18\x01 \x03(\tB\x10\x82\xc8\x31\x03>=1\x8a\xc8\x31\x01\x32\x90\xc8\x31\x01\x42}\n$yandex.cloud.api.smartwebsecurity.v1ZUgithub.com/yandex-cloud/go-genproto/yandex/cloud/smartwebsecurity/v1;smartwebsecurityb\x06proto3')
|
|
19
19
|
|
|
20
20
|
_globals = globals()
|
|
21
21
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
@@ -23,6 +23,8 @@ _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'yandex.cloud.smartwebsecuri
|
|
|
23
23
|
if _descriptor._USE_C_DESCRIPTORS == False:
|
|
24
24
|
DESCRIPTOR._options = None
|
|
25
25
|
DESCRIPTOR._serialized_options = b'\n$yandex.cloud.api.smartwebsecurity.v1ZUgithub.com/yandex-cloud/go-genproto/yandex/cloud/smartwebsecurity/v1;smartwebsecurity'
|
|
26
|
+
_SECURITYPROFILE_ANALYZEREQUESTBODY.fields_by_name['size_limit']._options = None
|
|
27
|
+
_SECURITYPROFILE_ANALYZEREQUESTBODY.fields_by_name['size_limit']._serialized_options = b'\372\3071\0300,8,16,32,64,128,256,512'
|
|
26
28
|
_SECURITYPROFILE_LABELSENTRY._options = None
|
|
27
29
|
_SECURITYPROFILE_LABELSENTRY._serialized_options = b'8\001'
|
|
28
30
|
_SECURITYPROFILE.fields_by_name['labels']._options = None
|
|
@@ -74,43 +76,47 @@ if _descriptor._USE_C_DESCRIPTORS == False:
|
|
|
74
76
|
_CONDITION.fields_by_name['headers']._options = None
|
|
75
77
|
_CONDITION.fields_by_name['headers']._serialized_options = b'\202\3101\004<=20'
|
|
76
78
|
_globals['_SECURITYPROFILE']._serialized_start=158
|
|
77
|
-
_globals['_SECURITYPROFILE']._serialized_end=
|
|
78
|
-
_globals['
|
|
79
|
-
_globals['
|
|
80
|
-
_globals['
|
|
81
|
-
_globals['
|
|
82
|
-
_globals['
|
|
83
|
-
_globals['
|
|
84
|
-
_globals['
|
|
85
|
-
_globals['
|
|
86
|
-
_globals['
|
|
87
|
-
_globals['
|
|
88
|
-
_globals['
|
|
89
|
-
_globals['
|
|
90
|
-
_globals['
|
|
91
|
-
_globals['
|
|
92
|
-
_globals['
|
|
93
|
-
_globals['
|
|
94
|
-
_globals['
|
|
95
|
-
_globals['
|
|
96
|
-
_globals['
|
|
97
|
-
_globals['
|
|
98
|
-
_globals['
|
|
99
|
-
_globals['
|
|
100
|
-
_globals['
|
|
101
|
-
_globals['
|
|
102
|
-
_globals['
|
|
103
|
-
_globals['
|
|
104
|
-
_globals['
|
|
105
|
-
_globals['
|
|
106
|
-
_globals['
|
|
107
|
-
_globals['
|
|
108
|
-
_globals['
|
|
109
|
-
_globals['
|
|
110
|
-
_globals['
|
|
111
|
-
_globals['
|
|
112
|
-
_globals['
|
|
113
|
-
_globals['
|
|
114
|
-
_globals['
|
|
115
|
-
_globals['
|
|
79
|
+
_globals['_SECURITYPROFILE']._serialized_end=1188
|
|
80
|
+
_globals['_SECURITYPROFILE_ANALYZEREQUESTBODY']._serialized_start=835
|
|
81
|
+
_globals['_SECURITYPROFILE_ANALYZEREQUESTBODY']._serialized_end=1065
|
|
82
|
+
_globals['_SECURITYPROFILE_ANALYZEREQUESTBODY_ACTION']._serialized_start=1011
|
|
83
|
+
_globals['_SECURITYPROFILE_ANALYZEREQUESTBODY_ACTION']._serialized_end=1065
|
|
84
|
+
_globals['_SECURITYPROFILE_LABELSENTRY']._serialized_start=1067
|
|
85
|
+
_globals['_SECURITYPROFILE_LABELSENTRY']._serialized_end=1112
|
|
86
|
+
_globals['_SECURITYPROFILE_DEFAULTACTION']._serialized_start=1114
|
|
87
|
+
_globals['_SECURITYPROFILE_DEFAULTACTION']._serialized_end=1182
|
|
88
|
+
_globals['_SECURITYRULE']._serialized_start=1191
|
|
89
|
+
_globals['_SECURITYRULE']._serialized_end=2269
|
|
90
|
+
_globals['_SECURITYRULE_RULECONDITION']._serialized_start=1594
|
|
91
|
+
_globals['_SECURITYRULE_RULECONDITION']._serialized_end=1813
|
|
92
|
+
_globals['_SECURITYRULE_RULECONDITION_ACTION']._serialized_start=1760
|
|
93
|
+
_globals['_SECURITYRULE_RULECONDITION_ACTION']._serialized_end=1813
|
|
94
|
+
_globals['_SECURITYRULE_SMARTPROTECTION']._serialized_start=1816
|
|
95
|
+
_globals['_SECURITYRULE_SMARTPROTECTION']._serialized_end=2029
|
|
96
|
+
_globals['_SECURITYRULE_SMARTPROTECTION_MODE']._serialized_start=1982
|
|
97
|
+
_globals['_SECURITYRULE_SMARTPROTECTION_MODE']._serialized_end=2029
|
|
98
|
+
_globals['_SECURITYRULE_WAF']._serialized_start=2032
|
|
99
|
+
_globals['_SECURITYRULE_WAF']._serialized_end=2251
|
|
100
|
+
_globals['_SECURITYRULE_WAF_MODE']._serialized_start=1982
|
|
101
|
+
_globals['_SECURITYRULE_WAF_MODE']._serialized_end=2029
|
|
102
|
+
_globals['_CONDITION']._serialized_start=2272
|
|
103
|
+
_globals['_CONDITION']._serialized_end=4057
|
|
104
|
+
_globals['_CONDITION_STRINGMATCHER']._serialized_start=2695
|
|
105
|
+
_globals['_CONDITION_STRINGMATCHER']._serialized_end=2947
|
|
106
|
+
_globals['_CONDITION_HTTPMETHODMATCHER']._serialized_start=2949
|
|
107
|
+
_globals['_CONDITION_HTTPMETHODMATCHER']._serialized_end=3059
|
|
108
|
+
_globals['_CONDITION_AUTHORITYMATCHER']._serialized_start=3061
|
|
109
|
+
_globals['_CONDITION_AUTHORITYMATCHER']._serialized_end=3169
|
|
110
|
+
_globals['_CONDITION_REQUESTURIMATCHER']._serialized_start=3172
|
|
111
|
+
_globals['_CONDITION_REQUESTURIMATCHER']._serialized_end=3349
|
|
112
|
+
_globals['_CONDITION_QUERYMATCHER']._serialized_start=3351
|
|
113
|
+
_globals['_CONDITION_QUERYMATCHER']._serialized_end=3473
|
|
114
|
+
_globals['_CONDITION_HEADERMATCHER']._serialized_start=3475
|
|
115
|
+
_globals['_CONDITION_HEADERMATCHER']._serialized_end=3599
|
|
116
|
+
_globals['_CONDITION_IPMATCHER']._serialized_start=3602
|
|
117
|
+
_globals['_CONDITION_IPMATCHER']._serialized_end=3953
|
|
118
|
+
_globals['_CONDITION_IPRANGESMATCHER']._serialized_start=3955
|
|
119
|
+
_globals['_CONDITION_IPRANGESMATCHER']._serialized_end=4004
|
|
120
|
+
_globals['_CONDITION_GEOIPMATCHER']._serialized_start=4006
|
|
121
|
+
_globals['_CONDITION_GEOIPMATCHER']._serialized_end=4057
|
|
116
122
|
# @@protoc_insertion_point(module_scope)
|