yandexcloud 0.323.0__py3-none-any.whl → 0.325.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/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.py +27 -27
- yandex/cloud/ai/foundation_models/v1/text_common_pb2.pyi +18 -6
- 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 +26 -26
- yandex/cloud/apploadbalancer/v1/backend_group_pb2.pyi +7 -1
- yandex/cloud/backup/v1/backup_service_pb2.py +42 -41
- yandex/cloud/backup/v1/backup_service_pb2.pyi +6 -1
- yandex/cloud/backup/v1/policy_pb2.pyi +1 -1
- yandex/cloud/billing/v1/customer_service_pb2.pyi +5 -4
- yandex/cloud/cdn/v1/resource_service_pb2.py +14 -14
- yandex/cloud/cdn/v1/resource_service_pb2.pyi +5 -1
- yandex/cloud/cloudregistry/__init__.py +0 -0
- yandex/cloud/cloudregistry/v1/__init__.py +0 -0
- yandex/cloud/cloudregistry/v1/artifact_pb2.py +31 -0
- yandex/cloud/cloudregistry/v1/artifact_pb2.pyi +112 -0
- yandex/cloud/cloudregistry/v1/artifact_pb2_grpc.py +4 -0
- yandex/cloud/cloudregistry/v1/artifact_pb2_grpc.pyi +17 -0
- yandex/cloud/cloudregistry/v1/artifact_service_pb2.py +45 -0
- yandex/cloud/cloudregistry/v1/artifact_service_pb2.pyi +59 -0
- yandex/cloud/cloudregistry/v1/artifact_service_pb2_grpc.py +108 -0
- yandex/cloud/cloudregistry/v1/artifact_service_pb2_grpc.pyi +81 -0
- yandex/cloud/cloudregistry/v1/ip_permission_pb2.py +37 -0
- yandex/cloud/cloudregistry/v1/ip_permission_pb2.pyi +95 -0
- yandex/cloud/cloudregistry/v1/ip_permission_pb2_grpc.py +4 -0
- yandex/cloud/cloudregistry/v1/ip_permission_pb2_grpc.pyi +17 -0
- yandex/cloud/cloudregistry/v1/registry_pb2.py +41 -0
- yandex/cloud/cloudregistry/v1/registry_pb2.pyi +181 -0
- yandex/cloud/cloudregistry/v1/registry_pb2_grpc.py +4 -0
- yandex/cloud/cloudregistry/v1/registry_pb2_grpc.pyi +17 -0
- yandex/cloud/cloudregistry/v1/registry_service_pb2.py +157 -0
- yandex/cloud/cloudregistry/v1/registry_service_pb2.pyi +504 -0
- yandex/cloud/cloudregistry/v1/registry_service_pb2_grpc.py +451 -0
- yandex/cloud/cloudregistry/v1/registry_service_pb2_grpc.pyi +291 -0
- yandex/cloud/cloudrouter/v1/routing_instance_pb2.py +8 -10
- yandex/cloud/cloudrouter/v1/routing_instance_pb2.pyi +2 -28
- yandex/cloud/compute/v1/instance_service_pb2_grpc.py +1 -1
- yandex/cloud/compute/v1/instance_service_pb2_grpc.pyi +3 -3
- 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.pyi +2 -2
- 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/lockbox/v1/secret_service_pb2.py +56 -55
- yandex/cloud/lockbox/v1/secret_service_pb2.pyi +13 -2
- yandex/cloud/mdb/opensearch/v1/cluster_service_pb2.py +55 -45
- yandex/cloud/mdb/opensearch/v1/cluster_service_pb2.pyi +40 -0
- yandex/cloud/mdb/opensearch/v1/cluster_service_pb2_grpc.py +34 -0
- yandex/cloud/mdb/opensearch/v1/cluster_service_pb2_grpc.pyi +20 -0
- yandex/cloud/mdb/postgresql/v1/cluster_pb2.py +47 -43
- yandex/cloud/mdb/postgresql/v1/cluster_pb2.pyi +34 -6
- yandex/cloud/mdb/postgresql/v1/cluster_service_pb2.py +109 -105
- yandex/cloud/mdb/postgresql/v1/cluster_service_pb2.pyi +35 -7
- yandex/cloud/mdb/postgresql/v1/config/host17_1c_pb2.py +68 -0
- yandex/cloud/mdb/postgresql/v1/config/host17_1c_pb2.pyi +512 -0
- yandex/cloud/mdb/postgresql/v1/config/host17_1c_pb2_grpc.py +4 -0
- yandex/cloud/mdb/postgresql/v1/config/host17_1c_pb2_grpc.pyi +17 -0
- yandex/cloud/mdb/postgresql/v1/config/host17_pb2.py +68 -0
- yandex/cloud/mdb/postgresql/v1/config/host17_pb2.pyi +512 -0
- yandex/cloud/mdb/postgresql/v1/config/host17_pb2_grpc.py +4 -0
- yandex/cloud/mdb/postgresql/v1/config/host17_pb2_grpc.pyi +17 -0
- yandex/cloud/mdb/postgresql/v1/config/postgresql17_1c_pb2.py +168 -0
- yandex/cloud/mdb/postgresql/v1/config/postgresql17_1c_pb2.pyi +1130 -0
- yandex/cloud/mdb/postgresql/v1/config/postgresql17_1c_pb2_grpc.py +4 -0
- yandex/cloud/mdb/postgresql/v1/config/postgresql17_1c_pb2_grpc.pyi +17 -0
- yandex/cloud/mdb/postgresql/v1/config/postgresql17_pb2.py +168 -0
- yandex/cloud/mdb/postgresql/v1/config/postgresql17_pb2.pyi +1122 -0
- yandex/cloud/mdb/postgresql/v1/config/postgresql17_pb2_grpc.py +4 -0
- yandex/cloud/mdb/postgresql/v1/config/postgresql17_pb2_grpc.pyi +17 -0
- yandex/cloud/mdb/redis/v1/backup_pb2.py +4 -2
- yandex/cloud/mdb/redis/v1/backup_pb2.pyi +31 -1
- 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/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.323.0.dist-info → yandexcloud-0.325.0.dist-info}/METADATA +1 -1
- {yandexcloud-0.323.0.dist-info → yandexcloud-0.325.0.dist-info}/RECORD +167 -103
- {yandexcloud-0.323.0.dist-info → yandexcloud-0.325.0.dist-info}/WHEEL +1 -1
- {yandexcloud-0.323.0.dist-info → yandexcloud-0.325.0.dist-info}/AUTHORS +0 -0
- {yandexcloud-0.323.0.dist-info → yandexcloud-0.325.0.dist-info}/LICENSE +0 -0
- {yandexcloud-0.323.0.dist-info → yandexcloud-0.325.0.dist-info}/top_level.txt +0 -0
|
@@ -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)
|
|
@@ -47,6 +47,45 @@ class SecurityProfile(google.protobuf.message.Message):
|
|
|
47
47
|
DENY: SecurityProfile.DefaultAction.ValueType # 2
|
|
48
48
|
"""Deny request."""
|
|
49
49
|
|
|
50
|
+
@typing.final
|
|
51
|
+
class AnalyzeRequestBody(google.protobuf.message.Message):
|
|
52
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
53
|
+
|
|
54
|
+
class _Action:
|
|
55
|
+
ValueType = typing.NewType("ValueType", builtins.int)
|
|
56
|
+
V: typing_extensions.TypeAlias = ValueType
|
|
57
|
+
|
|
58
|
+
class _ActionEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[SecurityProfile.AnalyzeRequestBody._Action.ValueType], builtins.type):
|
|
59
|
+
DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor
|
|
60
|
+
ACTION_UNSPECIFIED: SecurityProfile.AnalyzeRequestBody._Action.ValueType # 0
|
|
61
|
+
IGNORE: SecurityProfile.AnalyzeRequestBody._Action.ValueType # 1
|
|
62
|
+
"""Ignore body."""
|
|
63
|
+
DENY: SecurityProfile.AnalyzeRequestBody._Action.ValueType # 2
|
|
64
|
+
"""Deny request."""
|
|
65
|
+
|
|
66
|
+
class Action(_Action, metaclass=_ActionEnumTypeWrapper):
|
|
67
|
+
"""Action to perform if maximum size of body exceeded."""
|
|
68
|
+
|
|
69
|
+
ACTION_UNSPECIFIED: SecurityProfile.AnalyzeRequestBody.Action.ValueType # 0
|
|
70
|
+
IGNORE: SecurityProfile.AnalyzeRequestBody.Action.ValueType # 1
|
|
71
|
+
"""Ignore body."""
|
|
72
|
+
DENY: SecurityProfile.AnalyzeRequestBody.Action.ValueType # 2
|
|
73
|
+
"""Deny request."""
|
|
74
|
+
|
|
75
|
+
SIZE_LIMIT_FIELD_NUMBER: builtins.int
|
|
76
|
+
SIZE_LIMIT_ACTION_FIELD_NUMBER: builtins.int
|
|
77
|
+
size_limit: builtins.int
|
|
78
|
+
"""Maximum size of body to pass to analyzer. In kilobytes."""
|
|
79
|
+
size_limit_action: global___SecurityProfile.AnalyzeRequestBody.Action.ValueType
|
|
80
|
+
"""Action to perform if maximum size of body exceeded."""
|
|
81
|
+
def __init__(
|
|
82
|
+
self,
|
|
83
|
+
*,
|
|
84
|
+
size_limit: builtins.int = ...,
|
|
85
|
+
size_limit_action: global___SecurityProfile.AnalyzeRequestBody.Action.ValueType = ...,
|
|
86
|
+
) -> None: ...
|
|
87
|
+
def ClearField(self, field_name: typing.Literal["size_limit", b"size_limit", "size_limit_action", b"size_limit_action"]) -> None: ...
|
|
88
|
+
|
|
50
89
|
@typing.final
|
|
51
90
|
class LabelsEntry(google.protobuf.message.Message):
|
|
52
91
|
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
@@ -74,6 +113,7 @@ class SecurityProfile(google.protobuf.message.Message):
|
|
|
74
113
|
CLOUD_ID_FIELD_NUMBER: builtins.int
|
|
75
114
|
CAPTCHA_ID_FIELD_NUMBER: builtins.int
|
|
76
115
|
ADVANCED_RATE_LIMITER_PROFILE_ID_FIELD_NUMBER: builtins.int
|
|
116
|
+
ANALYZE_REQUEST_BODY_FIELD_NUMBER: builtins.int
|
|
77
117
|
id: builtins.str
|
|
78
118
|
"""ID of the security profile."""
|
|
79
119
|
folder_id: builtins.str
|
|
@@ -102,6 +142,10 @@ class SecurityProfile(google.protobuf.message.Message):
|
|
|
102
142
|
def created_at(self) -> google.protobuf.timestamp_pb2.Timestamp:
|
|
103
143
|
"""Creation timestamp in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format."""
|
|
104
144
|
|
|
145
|
+
@property
|
|
146
|
+
def analyze_request_body(self) -> global___SecurityProfile.AnalyzeRequestBody:
|
|
147
|
+
"""Parameters for request body analyzer."""
|
|
148
|
+
|
|
105
149
|
def __init__(
|
|
106
150
|
self,
|
|
107
151
|
*,
|
|
@@ -116,9 +160,10 @@ class SecurityProfile(google.protobuf.message.Message):
|
|
|
116
160
|
cloud_id: builtins.str = ...,
|
|
117
161
|
captcha_id: builtins.str = ...,
|
|
118
162
|
advanced_rate_limiter_profile_id: builtins.str = ...,
|
|
163
|
+
analyze_request_body: global___SecurityProfile.AnalyzeRequestBody | None = ...,
|
|
119
164
|
) -> None: ...
|
|
120
|
-
def HasField(self, field_name: typing.Literal["created_at", b"created_at"]) -> builtins.bool: ...
|
|
121
|
-
def ClearField(self, field_name: typing.Literal["advanced_rate_limiter_profile_id", b"advanced_rate_limiter_profile_id", "captcha_id", b"captcha_id", "cloud_id", b"cloud_id", "created_at", b"created_at", "default_action", b"default_action", "description", b"description", "folder_id", b"folder_id", "id", b"id", "labels", b"labels", "name", b"name", "security_rules", b"security_rules"]) -> None: ...
|
|
165
|
+
def HasField(self, field_name: typing.Literal["analyze_request_body", b"analyze_request_body", "created_at", b"created_at"]) -> builtins.bool: ...
|
|
166
|
+
def ClearField(self, field_name: typing.Literal["advanced_rate_limiter_profile_id", b"advanced_rate_limiter_profile_id", "analyze_request_body", b"analyze_request_body", "captcha_id", b"captcha_id", "cloud_id", b"cloud_id", "created_at", b"created_at", "default_action", b"default_action", "description", b"description", "folder_id", b"folder_id", "id", b"id", "labels", b"labels", "name", b"name", "security_rules", b"security_rules"]) -> None: ...
|
|
122
167
|
|
|
123
168
|
global___SecurityProfile = SecurityProfile
|
|
124
169
|
|
|
@@ -19,7 +19,7 @@ from yandex.cloud.operation import operation_pb2 as yandex_dot_cloud_dot_operati
|
|
|
19
19
|
from yandex.cloud.smartwebsecurity.v1 import security_profile_pb2 as yandex_dot_cloud_dot_smartwebsecurity_dot_v1_dot_security__profile__pb2
|
|
20
20
|
|
|
21
21
|
|
|
22
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n?yandex/cloud/smartwebsecurity/v1/security_profile_service.proto\x12 yandex.cloud.smartwebsecurity.v1\x1a\x1cgoogle/api/annotations.proto\x1a google/protobuf/field_mask.proto\x1a yandex/cloud/api/operation.proto\x1a\x1dyandex/cloud/validation.proto\x1a&yandex/cloud/operation/operation.proto\x1a\x37yandex/cloud/smartwebsecurity/v1/security_profile.proto\">\n\x19GetSecurityProfileRequest\x12!\n\x13security_profile_id\x18\x01 \x01(\tB\x04\xe8\xc7\x31\x01\"6\n\x1bListSecurityProfilesRequest\x12\x17\n\tfolder_id\x18\x01 \x01(\tB\x04\xe8\xc7\x31\x01\"l\n\x1cListSecurityProfilesResponse\x12L\n\x11security_profiles\x18\x01 \x03(\x0b\x32\x31.yandex.cloud.smartwebsecurity.v1.SecurityProfile\"\
|
|
22
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n?yandex/cloud/smartwebsecurity/v1/security_profile_service.proto\x12 yandex.cloud.smartwebsecurity.v1\x1a\x1cgoogle/api/annotations.proto\x1a google/protobuf/field_mask.proto\x1a yandex/cloud/api/operation.proto\x1a\x1dyandex/cloud/validation.proto\x1a&yandex/cloud/operation/operation.proto\x1a\x37yandex/cloud/smartwebsecurity/v1/security_profile.proto\">\n\x19GetSecurityProfileRequest\x12!\n\x13security_profile_id\x18\x01 \x01(\tB\x04\xe8\xc7\x31\x01\"6\n\x1bListSecurityProfilesRequest\x12\x17\n\tfolder_id\x18\x01 \x01(\tB\x04\xe8\xc7\x31\x01\"l\n\x1cListSecurityProfilesResponse\x12L\n\x11security_profiles\x18\x01 \x03(\x0b\x32\x31.yandex.cloud.smartwebsecurity.v1.SecurityProfile\"\xa8\x04\n\x1c\x43reateSecurityProfileRequest\x12\x17\n\tfolder_id\x18\x01 \x01(\tB\x04\xe8\xc7\x31\x01\x12Z\n\x06labels\x18\x02 \x03(\x0b\x32J.yandex.cloud.smartwebsecurity.v1.CreateSecurityProfileRequest.LabelsEntry\x12\x0c\n\x04name\x18\x03 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x04 \x01(\t\x12W\n\x0e\x64\x65\x66\x61ult_action\x18\x05 \x01(\x0e\x32?.yandex.cloud.smartwebsecurity.v1.SecurityProfile.DefaultAction\x12\x46\n\x0esecurity_rules\x18\x06 \x03(\x0b\x32..yandex.cloud.smartwebsecurity.v1.SecurityRule\x12\x12\n\ncaptcha_id\x18\x07 \x01(\t\x12(\n advanced_rate_limiter_profile_id\x18\x08 \x01(\t\x12\x62\n\x14\x61nalyze_request_body\x18\t \x01(\x0b\x32\x44.yandex.cloud.smartwebsecurity.v1.SecurityProfile.AnalyzeRequestBody\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"<\n\x1d\x43reateSecurityProfileMetadata\x12\x1b\n\x13security_profile_id\x18\x01 \x01(\t\"\xe3\x04\n\x1cUpdateSecurityProfileRequest\x12!\n\x13security_profile_id\x18\x01 \x01(\tB\x04\xe8\xc7\x31\x01\x12/\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\x12Z\n\x06labels\x18\x03 \x03(\x0b\x32J.yandex.cloud.smartwebsecurity.v1.UpdateSecurityProfileRequest.LabelsEntry\x12\x0c\n\x04name\x18\x04 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x05 \x01(\t\x12W\n\x0e\x64\x65\x66\x61ult_action\x18\x06 \x01(\x0e\x32?.yandex.cloud.smartwebsecurity.v1.SecurityProfile.DefaultAction\x12\x46\n\x0esecurity_rules\x18\x07 \x03(\x0b\x32..yandex.cloud.smartwebsecurity.v1.SecurityRule\x12\x12\n\ncaptcha_id\x18\x08 \x01(\t\x12(\n advanced_rate_limiter_profile_id\x18\t \x01(\t\x12\x62\n\x14\x61nalyze_request_body\x18\n \x01(\x0b\x32\x44.yandex.cloud.smartwebsecurity.v1.SecurityProfile.AnalyzeRequestBody\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"<\n\x1dUpdateSecurityProfileMetadata\x12\x1b\n\x13security_profile_id\x18\x01 \x01(\t\"A\n\x1c\x44\x65leteSecurityProfileRequest\x12!\n\x13security_profile_id\x18\x01 \x01(\tB\x04\xe8\xc7\x31\x01\"<\n\x1d\x44\x65leteSecurityProfileMetadata\x12\x1b\n\x13security_profile_id\x18\x01 \x01(\t2\xb7\x08\n\x16SecurityProfileService\x12\xba\x01\n\x03Get\x12;.yandex.cloud.smartwebsecurity.v1.GetSecurityProfileRequest\x1a\x31.yandex.cloud.smartwebsecurity.v1.SecurityProfile\"C\x82\xd3\xe4\x93\x02=\x12;/smartwebsecurity/v1/securityProfiles/{security_profile_id}\x12\xb4\x01\n\x04List\x12=.yandex.cloud.smartwebsecurity.v1.ListSecurityProfilesRequest\x1a>.yandex.cloud.smartwebsecurity.v1.ListSecurityProfilesResponse\"-\x82\xd3\xe4\x93\x02\'\x12%/smartwebsecurity/v1/securityProfiles\x12\xd1\x01\n\x06\x43reate\x12>.yandex.cloud.smartwebsecurity.v1.CreateSecurityProfileRequest\x1a!.yandex.cloud.operation.Operation\"d\xb2\xd2*0\n\x1d\x43reateSecurityProfileMetadata\x12\x0fSecurityProfile\x82\xd3\xe4\x93\x02*\"%/smartwebsecurity/v1/securityProfiles:\x01*\x12\xe7\x01\n\x06Update\x12>.yandex.cloud.smartwebsecurity.v1.UpdateSecurityProfileRequest\x1a!.yandex.cloud.operation.Operation\"z\xb2\xd2*0\n\x1dUpdateSecurityProfileMetadata\x12\x0fSecurityProfile\x82\xd3\xe4\x93\x02@2;/smartwebsecurity/v1/securityProfiles/{security_profile_id}:\x01*\x12\xea\x01\n\x06\x44\x65lete\x12>.yandex.cloud.smartwebsecurity.v1.DeleteSecurityProfileRequest\x1a!.yandex.cloud.operation.Operation\"}\xb2\xd2*6\n\x1d\x44\x65leteSecurityProfileMetadata\x12\x15google.protobuf.Empty\x82\xd3\xe4\x93\x02=*;/smartwebsecurity/v1/securityProfiles/{security_profile_id}B}\n$yandex.cloud.api.smartwebsecurity.v1ZUgithub.com/yandex-cloud/go-genproto/yandex/cloud/smartwebsecurity/v1;smartwebsecurityb\x06proto3')
|
|
23
23
|
|
|
24
24
|
_globals = globals()
|
|
25
25
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
@@ -58,21 +58,21 @@ if _descriptor._USE_C_DESCRIPTORS == False:
|
|
|
58
58
|
_globals['_LISTSECURITYPROFILESRESPONSE']._serialized_start=447
|
|
59
59
|
_globals['_LISTSECURITYPROFILESRESPONSE']._serialized_end=555
|
|
60
60
|
_globals['_CREATESECURITYPROFILEREQUEST']._serialized_start=558
|
|
61
|
-
_globals['_CREATESECURITYPROFILEREQUEST']._serialized_end=
|
|
62
|
-
_globals['_CREATESECURITYPROFILEREQUEST_LABELSENTRY']._serialized_start=
|
|
63
|
-
_globals['_CREATESECURITYPROFILEREQUEST_LABELSENTRY']._serialized_end=
|
|
64
|
-
_globals['_CREATESECURITYPROFILEMETADATA']._serialized_start=
|
|
65
|
-
_globals['_CREATESECURITYPROFILEMETADATA']._serialized_end=
|
|
66
|
-
_globals['_UPDATESECURITYPROFILEREQUEST']._serialized_start=
|
|
67
|
-
_globals['_UPDATESECURITYPROFILEREQUEST']._serialized_end=
|
|
68
|
-
_globals['_UPDATESECURITYPROFILEREQUEST_LABELSENTRY']._serialized_start=
|
|
69
|
-
_globals['_UPDATESECURITYPROFILEREQUEST_LABELSENTRY']._serialized_end=
|
|
70
|
-
_globals['_UPDATESECURITYPROFILEMETADATA']._serialized_start=
|
|
71
|
-
_globals['_UPDATESECURITYPROFILEMETADATA']._serialized_end=
|
|
72
|
-
_globals['_DELETESECURITYPROFILEREQUEST']._serialized_start=
|
|
73
|
-
_globals['_DELETESECURITYPROFILEREQUEST']._serialized_end=
|
|
74
|
-
_globals['_DELETESECURITYPROFILEMETADATA']._serialized_start=
|
|
75
|
-
_globals['_DELETESECURITYPROFILEMETADATA']._serialized_end=
|
|
76
|
-
_globals['_SECURITYPROFILESERVICE']._serialized_start=
|
|
77
|
-
_globals['_SECURITYPROFILESERVICE']._serialized_end=
|
|
61
|
+
_globals['_CREATESECURITYPROFILEREQUEST']._serialized_end=1110
|
|
62
|
+
_globals['_CREATESECURITYPROFILEREQUEST_LABELSENTRY']._serialized_start=1065
|
|
63
|
+
_globals['_CREATESECURITYPROFILEREQUEST_LABELSENTRY']._serialized_end=1110
|
|
64
|
+
_globals['_CREATESECURITYPROFILEMETADATA']._serialized_start=1112
|
|
65
|
+
_globals['_CREATESECURITYPROFILEMETADATA']._serialized_end=1172
|
|
66
|
+
_globals['_UPDATESECURITYPROFILEREQUEST']._serialized_start=1175
|
|
67
|
+
_globals['_UPDATESECURITYPROFILEREQUEST']._serialized_end=1786
|
|
68
|
+
_globals['_UPDATESECURITYPROFILEREQUEST_LABELSENTRY']._serialized_start=1065
|
|
69
|
+
_globals['_UPDATESECURITYPROFILEREQUEST_LABELSENTRY']._serialized_end=1110
|
|
70
|
+
_globals['_UPDATESECURITYPROFILEMETADATA']._serialized_start=1788
|
|
71
|
+
_globals['_UPDATESECURITYPROFILEMETADATA']._serialized_end=1848
|
|
72
|
+
_globals['_DELETESECURITYPROFILEREQUEST']._serialized_start=1850
|
|
73
|
+
_globals['_DELETESECURITYPROFILEREQUEST']._serialized_end=1915
|
|
74
|
+
_globals['_DELETESECURITYPROFILEMETADATA']._serialized_start=1917
|
|
75
|
+
_globals['_DELETESECURITYPROFILEMETADATA']._serialized_end=1977
|
|
76
|
+
_globals['_SECURITYPROFILESERVICE']._serialized_start=1980
|
|
77
|
+
_globals['_SECURITYPROFILESERVICE']._serialized_end=3059
|
|
78
78
|
# @@protoc_insertion_point(module_scope)
|
|
@@ -96,6 +96,7 @@ class CreateSecurityProfileRequest(google.protobuf.message.Message):
|
|
|
96
96
|
SECURITY_RULES_FIELD_NUMBER: builtins.int
|
|
97
97
|
CAPTCHA_ID_FIELD_NUMBER: builtins.int
|
|
98
98
|
ADVANCED_RATE_LIMITER_PROFILE_ID_FIELD_NUMBER: builtins.int
|
|
99
|
+
ANALYZE_REQUEST_BODY_FIELD_NUMBER: builtins.int
|
|
99
100
|
folder_id: builtins.str
|
|
100
101
|
"""ID of the folder to create a security profile in."""
|
|
101
102
|
name: builtins.str
|
|
@@ -116,6 +117,10 @@ class CreateSecurityProfileRequest(google.protobuf.message.Message):
|
|
|
116
117
|
def security_rules(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[yandex.cloud.smartwebsecurity.v1.security_profile_pb2.SecurityRule]:
|
|
117
118
|
"""List of security rules."""
|
|
118
119
|
|
|
120
|
+
@property
|
|
121
|
+
def analyze_request_body(self) -> yandex.cloud.smartwebsecurity.v1.security_profile_pb2.SecurityProfile.AnalyzeRequestBody:
|
|
122
|
+
"""Parameters for request body analyzer."""
|
|
123
|
+
|
|
119
124
|
def __init__(
|
|
120
125
|
self,
|
|
121
126
|
*,
|
|
@@ -127,8 +132,10 @@ class CreateSecurityProfileRequest(google.protobuf.message.Message):
|
|
|
127
132
|
security_rules: collections.abc.Iterable[yandex.cloud.smartwebsecurity.v1.security_profile_pb2.SecurityRule] | None = ...,
|
|
128
133
|
captcha_id: builtins.str = ...,
|
|
129
134
|
advanced_rate_limiter_profile_id: builtins.str = ...,
|
|
135
|
+
analyze_request_body: yandex.cloud.smartwebsecurity.v1.security_profile_pb2.SecurityProfile.AnalyzeRequestBody | None = ...,
|
|
130
136
|
) -> None: ...
|
|
131
|
-
def
|
|
137
|
+
def HasField(self, field_name: typing.Literal["analyze_request_body", b"analyze_request_body"]) -> builtins.bool: ...
|
|
138
|
+
def ClearField(self, field_name: typing.Literal["advanced_rate_limiter_profile_id", b"advanced_rate_limiter_profile_id", "analyze_request_body", b"analyze_request_body", "captcha_id", b"captcha_id", "default_action", b"default_action", "description", b"description", "folder_id", b"folder_id", "labels", b"labels", "name", b"name", "security_rules", b"security_rules"]) -> None: ...
|
|
132
139
|
|
|
133
140
|
global___CreateSecurityProfileRequest = CreateSecurityProfileRequest
|
|
134
141
|
|
|
@@ -177,6 +184,7 @@ class UpdateSecurityProfileRequest(google.protobuf.message.Message):
|
|
|
177
184
|
SECURITY_RULES_FIELD_NUMBER: builtins.int
|
|
178
185
|
CAPTCHA_ID_FIELD_NUMBER: builtins.int
|
|
179
186
|
ADVANCED_RATE_LIMITER_PROFILE_ID_FIELD_NUMBER: builtins.int
|
|
187
|
+
ANALYZE_REQUEST_BODY_FIELD_NUMBER: builtins.int
|
|
180
188
|
security_profile_id: builtins.str
|
|
181
189
|
"""ID of the security profile to update."""
|
|
182
190
|
name: builtins.str
|
|
@@ -201,6 +209,10 @@ class UpdateSecurityProfileRequest(google.protobuf.message.Message):
|
|
|
201
209
|
def security_rules(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[yandex.cloud.smartwebsecurity.v1.security_profile_pb2.SecurityRule]:
|
|
202
210
|
"""List of security rules."""
|
|
203
211
|
|
|
212
|
+
@property
|
|
213
|
+
def analyze_request_body(self) -> yandex.cloud.smartwebsecurity.v1.security_profile_pb2.SecurityProfile.AnalyzeRequestBody:
|
|
214
|
+
"""Parameters for request body analyzer."""
|
|
215
|
+
|
|
204
216
|
def __init__(
|
|
205
217
|
self,
|
|
206
218
|
*,
|
|
@@ -213,9 +225,10 @@ class UpdateSecurityProfileRequest(google.protobuf.message.Message):
|
|
|
213
225
|
security_rules: collections.abc.Iterable[yandex.cloud.smartwebsecurity.v1.security_profile_pb2.SecurityRule] | None = ...,
|
|
214
226
|
captcha_id: builtins.str = ...,
|
|
215
227
|
advanced_rate_limiter_profile_id: builtins.str = ...,
|
|
228
|
+
analyze_request_body: yandex.cloud.smartwebsecurity.v1.security_profile_pb2.SecurityProfile.AnalyzeRequestBody | None = ...,
|
|
216
229
|
) -> None: ...
|
|
217
|
-
def HasField(self, field_name: typing.Literal["update_mask", b"update_mask"]) -> builtins.bool: ...
|
|
218
|
-
def ClearField(self, field_name: typing.Literal["advanced_rate_limiter_profile_id", b"advanced_rate_limiter_profile_id", "captcha_id", b"captcha_id", "default_action", b"default_action", "description", b"description", "labels", b"labels", "name", b"name", "security_profile_id", b"security_profile_id", "security_rules", b"security_rules", "update_mask", b"update_mask"]) -> None: ...
|
|
230
|
+
def HasField(self, field_name: typing.Literal["analyze_request_body", b"analyze_request_body", "update_mask", b"update_mask"]) -> builtins.bool: ...
|
|
231
|
+
def ClearField(self, field_name: typing.Literal["advanced_rate_limiter_profile_id", b"advanced_rate_limiter_profile_id", "analyze_request_body", b"analyze_request_body", "captcha_id", b"captcha_id", "default_action", b"default_action", "description", b"description", "labels", b"labels", "name", b"name", "security_profile_id", b"security_profile_id", "security_rules", b"security_rules", "update_mask", b"update_mask"]) -> None: ...
|
|
219
232
|
|
|
220
233
|
global___UpdateSecurityProfileRequest = UpdateSecurityProfileRequest
|
|
221
234
|
|
|
@@ -14,7 +14,7 @@ _sym_db = _symbol_database.Default()
|
|
|
14
14
|
from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2
|
|
15
15
|
|
|
16
16
|
|
|
17
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n#yandex/cloud/video/v1/channel.proto\x12\x15yandex.cloud.video.v1\x1a\x1fgoogle/protobuf/timestamp.proto\"\xab\x02\n\x07\x43hannel\x12\n\n\x02id\x18\x01 \x01(\t\x12\x17\n\x0forganization_id\x18\x02 \x01(\t\x12\r\n\x05title\x18\x03 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x04 \x01(\t\x12.\n\ncreated_at\x18\x64 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12.\n\nupdated_at\x18\x65 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12;\n\x06labels\x18\xc8\x01 \x03(\x0b\x32*.yandex.cloud.video.v1.Channel.LabelsEntry\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01J\
|
|
17
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n#yandex/cloud/video/v1/channel.proto\x12\x15yandex.cloud.video.v1\x1a\x1fgoogle/protobuf/timestamp.proto\"\xab\x02\n\x07\x43hannel\x12\n\n\x02id\x18\x01 \x01(\t\x12\x17\n\x0forganization_id\x18\x02 \x01(\t\x12\r\n\x05title\x18\x03 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x04 \x01(\t\x12.\n\ncreated_at\x18\x64 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12.\n\nupdated_at\x18\x65 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12;\n\x06labels\x18\xc8\x01 \x03(\x0b\x32*.yandex.cloud.video.v1.Channel.LabelsEntry\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\x64J\x05\x08\x66\x10\xc8\x01\x42\\\n\x19yandex.cloud.api.video.v1Z?github.com/yandex-cloud/go-genproto/yandex/cloud/video/v1;videob\x06proto3')
|
|
18
18
|
|
|
19
19
|
_globals = globals()
|
|
20
20
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|