yandexcloud 0.324.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.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 +26 -26
- yandex/cloud/apploadbalancer/v1/backend_group_pb2.pyi +7 -1
- 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/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.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/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.324.0.dist-info → yandexcloud-0.325.0.dist-info}/METADATA +1 -1
- {yandexcloud-0.324.0.dist-info → yandexcloud-0.325.0.dist-info}/RECORD +119 -93
- {yandexcloud-0.324.0.dist-info → yandexcloud-0.325.0.dist-info}/WHEEL +1 -1
- {yandexcloud-0.324.0.dist-info → yandexcloud-0.325.0.dist-info}/AUTHORS +0 -0
- {yandexcloud-0.324.0.dist-info → yandexcloud-0.325.0.dist-info}/LICENSE +0 -0
- {yandexcloud-0.324.0.dist-info → yandexcloud-0.325.0.dist-info}/top_level.txt +0 -0
|
@@ -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)
|
|
@@ -15,10 +15,11 @@ from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2
|
|
|
15
15
|
from google.protobuf import field_mask_pb2 as google_dot_protobuf_dot_field__mask__pb2
|
|
16
16
|
from yandex.cloud.api import operation_pb2 as yandex_dot_cloud_dot_api_dot_operation__pb2
|
|
17
17
|
from yandex.cloud.operation import operation_pb2 as yandex_dot_cloud_dot_operation_dot_operation__pb2
|
|
18
|
+
from yandex.cloud import validation_pb2 as yandex_dot_cloud_dot_validation__pb2
|
|
18
19
|
from yandex.cloud.video.v1 import channel_pb2 as yandex_dot_cloud_dot_video_dot_v1_dot_channel__pb2
|
|
19
20
|
|
|
20
21
|
|
|
21
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n+yandex/cloud/video/v1/channel_service.proto\x12\x15yandex.cloud.video.v1\x1a\x1cgoogle/api/annotations.proto\x1a google/protobuf/field_mask.proto\x1a yandex/cloud/api/operation.proto\x1a&yandex/cloud/operation/operation.proto\x1a#yandex/cloud/video/v1/channel.proto\"\
|
|
22
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n+yandex/cloud/video/v1/channel_service.proto\x12\x15yandex.cloud.video.v1\x1a\x1cgoogle/api/annotations.proto\x1a google/protobuf/field_mask.proto\x1a yandex/cloud/api/operation.proto\x1a&yandex/cloud/operation/operation.proto\x1a\x1dyandex/cloud/validation.proto\x1a#yandex/cloud/video/v1/channel.proto\"5\n\x11GetChannelRequest\x12 \n\nchannel_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\"\xae\x01\n\x13ListChannelsRequest\x12%\n\x0forganization_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12\x1d\n\tpage_size\x18\x64 \x01(\x03\x42\n\xfa\xc7\x31\x06<=1000\x12\x1d\n\npage_token\x18\x65 \x01(\tB\t\x8a\xc8\x31\x05<=200\x12\x10\n\x08order_by\x18\x66 \x01(\t\x12\x1a\n\x06\x66ilter\x18g \x01(\tB\n\x8a\xc8\x31\x06<=1000J\x04\x08\x02\x10\x64\"g\n\x14ListChannelsResponse\x12\x30\n\x08\x63hannels\x18\x01 \x03(\x0b\x32\x1e.yandex.cloud.video.v1.Channel\x12\x17\n\x0fnext_page_token\x18\x64 \x01(\tJ\x04\x08\x02\x10\x64\"\xa9\x02\n\x14\x43reateChannelRequest\x12%\n\x0forganization_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12\x13\n\x05title\x18\x02 \x01(\tB\x04\xe8\xc7\x31\x01\x12\x13\n\x0b\x64\x65scription\x18\x03 \x01(\t\x12\x89\x01\n\x06labels\x18\xc8\x01 \x03(\x0b\x32\x37.yandex.cloud.video.v1.CreateChannelRequest.LabelsEntryB?\xf2\xc7\x31\x0f[-_.@:/0-9a-z]*\x82\xc8\x31\x04<=64\x8a\xc8\x31\x04<=63\xb2\xc8\x31\x18\x12\x10[a-z][-_0-9a-z]*\x1a\x04<=63\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01J\x05\x08\x04\x10\xc8\x01\"+\n\x15\x43reateChannelMetadata\x12\x12\n\nchannel_id\x18\x01 \x01(\t\"\xce\x02\n\x14UpdateChannelRequest\x12 \n\nchannel_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12.\n\nfield_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\x12\r\n\x05title\x18\x03 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x04 \x01(\t\x12\x89\x01\n\x06labels\x18\xc8\x01 \x03(\x0b\x32\x37.yandex.cloud.video.v1.UpdateChannelRequest.LabelsEntryB?\xf2\xc7\x31\x0f[-_.@:/0-9a-z]*\x82\xc8\x31\x04<=64\x8a\xc8\x31\x04<=63\xb2\xc8\x31\x18\x12\x10[a-z][-_0-9a-z]*\x1a\x04<=63\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01J\x05\x08\x05\x10\xc8\x01\"+\n\x15UpdateChannelMetadata\x12\x12\n\nchannel_id\x18\x01 \x01(\t\"8\n\x14\x44\x65leteChannelRequest\x12 \n\nchannel_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\"+\n\x15\x44\x65leteChannelMetadata\x12\x12\n\nchannel_id\x18\x01 \x01(\t\"j\n\x1a\x42\x61tchDeleteChannelsRequest\x12%\n\x0forganization_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12%\n\x0b\x63hannel_ids\x18\x02 \x03(\tB\x10\x82\xc8\x31\x04\x31-50\x8a\xc8\x31\x04<=50\"2\n\x1b\x42\x61tchDeleteChannelsMetadata\x12\x13\n\x0b\x63hannel_ids\x18\x01 \x03(\t2\xcf\x07\n\x0e\x43hannelService\x12x\n\x03Get\x12(.yandex.cloud.video.v1.GetChannelRequest\x1a\x1e.yandex.cloud.video.v1.Channel\"\'\x82\xd3\xe4\x93\x02!\x12\x1f/video/v1/channels/{channel_id}\x12{\n\x04List\x12*.yandex.cloud.video.v1.ListChannelsRequest\x1a+.yandex.cloud.video.v1.ListChannelsResponse\"\x1a\x82\xd3\xe4\x93\x02\x14\x12\x12/video/v1/channels\x12\x9b\x01\n\x06\x43reate\x12+.yandex.cloud.video.v1.CreateChannelRequest\x1a!.yandex.cloud.operation.Operation\"A\xb2\xd2* \n\x15\x43reateChannelMetadata\x12\x07\x43hannel\x82\xd3\xe4\x93\x02\x17\"\x12/video/v1/channels:\x01*\x12\xa8\x01\n\x06Update\x12+.yandex.cloud.video.v1.UpdateChannelRequest\x1a!.yandex.cloud.operation.Operation\"N\xb2\xd2* \n\x15UpdateChannelMetadata\x12\x07\x43hannel\x82\xd3\xe4\x93\x02$2\x1f/video/v1/channels/{channel_id}:\x01*\x12\xb3\x01\n\x06\x44\x65lete\x12+.yandex.cloud.video.v1.DeleteChannelRequest\x1a!.yandex.cloud.operation.Operation\"Y\xb2\xd2*.\n\x15\x44\x65leteChannelMetadata\x12\x15google.protobuf.Empty\x82\xd3\xe4\x93\x02!*\x1f/video/v1/channels/{channel_id}\x12\xc6\x01\n\x0b\x42\x61tchDelete\x12\x31.yandex.cloud.video.v1.BatchDeleteChannelsRequest\x1a!.yandex.cloud.operation.Operation\"a\xb2\xd2*4\n\x1b\x42\x61tchDeleteChannelsMetadata\x12\x15google.protobuf.Empty\x82\xd3\xe4\x93\x02#\"\x1e/video/v1/channels:batchDelete:\x01*B\\\n\x19yandex.cloud.api.video.v1Z?github.com/yandex-cloud/go-genproto/yandex/cloud/video/v1;videob\x06proto3')
|
|
22
23
|
|
|
23
24
|
_globals = globals()
|
|
24
25
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
@@ -26,10 +27,36 @@ _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'yandex.cloud.video.v1.chann
|
|
|
26
27
|
if _descriptor._USE_C_DESCRIPTORS == False:
|
|
27
28
|
DESCRIPTOR._options = None
|
|
28
29
|
DESCRIPTOR._serialized_options = b'\n\031yandex.cloud.api.video.v1Z?github.com/yandex-cloud/go-genproto/yandex/cloud/video/v1;video'
|
|
30
|
+
_GETCHANNELREQUEST.fields_by_name['channel_id']._options = None
|
|
31
|
+
_GETCHANNELREQUEST.fields_by_name['channel_id']._serialized_options = b'\350\3071\001\212\3101\004<=50'
|
|
32
|
+
_LISTCHANNELSREQUEST.fields_by_name['organization_id']._options = None
|
|
33
|
+
_LISTCHANNELSREQUEST.fields_by_name['organization_id']._serialized_options = b'\350\3071\001\212\3101\004<=50'
|
|
34
|
+
_LISTCHANNELSREQUEST.fields_by_name['page_size']._options = None
|
|
35
|
+
_LISTCHANNELSREQUEST.fields_by_name['page_size']._serialized_options = b'\372\3071\006<=1000'
|
|
36
|
+
_LISTCHANNELSREQUEST.fields_by_name['page_token']._options = None
|
|
37
|
+
_LISTCHANNELSREQUEST.fields_by_name['page_token']._serialized_options = b'\212\3101\005<=200'
|
|
38
|
+
_LISTCHANNELSREQUEST.fields_by_name['filter']._options = None
|
|
39
|
+
_LISTCHANNELSREQUEST.fields_by_name['filter']._serialized_options = b'\212\3101\006<=1000'
|
|
29
40
|
_CREATECHANNELREQUEST_LABELSENTRY._options = None
|
|
30
41
|
_CREATECHANNELREQUEST_LABELSENTRY._serialized_options = b'8\001'
|
|
42
|
+
_CREATECHANNELREQUEST.fields_by_name['organization_id']._options = None
|
|
43
|
+
_CREATECHANNELREQUEST.fields_by_name['organization_id']._serialized_options = b'\350\3071\001\212\3101\004<=50'
|
|
44
|
+
_CREATECHANNELREQUEST.fields_by_name['title']._options = None
|
|
45
|
+
_CREATECHANNELREQUEST.fields_by_name['title']._serialized_options = b'\350\3071\001'
|
|
46
|
+
_CREATECHANNELREQUEST.fields_by_name['labels']._options = None
|
|
47
|
+
_CREATECHANNELREQUEST.fields_by_name['labels']._serialized_options = b'\362\3071\017[-_.@:/0-9a-z]*\202\3101\004<=64\212\3101\004<=63\262\3101\030\022\020[a-z][-_0-9a-z]*\032\004<=63'
|
|
31
48
|
_UPDATECHANNELREQUEST_LABELSENTRY._options = None
|
|
32
49
|
_UPDATECHANNELREQUEST_LABELSENTRY._serialized_options = b'8\001'
|
|
50
|
+
_UPDATECHANNELREQUEST.fields_by_name['channel_id']._options = None
|
|
51
|
+
_UPDATECHANNELREQUEST.fields_by_name['channel_id']._serialized_options = b'\350\3071\001\212\3101\004<=50'
|
|
52
|
+
_UPDATECHANNELREQUEST.fields_by_name['labels']._options = None
|
|
53
|
+
_UPDATECHANNELREQUEST.fields_by_name['labels']._serialized_options = b'\362\3071\017[-_.@:/0-9a-z]*\202\3101\004<=64\212\3101\004<=63\262\3101\030\022\020[a-z][-_0-9a-z]*\032\004<=63'
|
|
54
|
+
_DELETECHANNELREQUEST.fields_by_name['channel_id']._options = None
|
|
55
|
+
_DELETECHANNELREQUEST.fields_by_name['channel_id']._serialized_options = b'\350\3071\001\212\3101\004<=50'
|
|
56
|
+
_BATCHDELETECHANNELSREQUEST.fields_by_name['organization_id']._options = None
|
|
57
|
+
_BATCHDELETECHANNELSREQUEST.fields_by_name['organization_id']._serialized_options = b'\350\3071\001\212\3101\004<=50'
|
|
58
|
+
_BATCHDELETECHANNELSREQUEST.fields_by_name['channel_ids']._options = None
|
|
59
|
+
_BATCHDELETECHANNELSREQUEST.fields_by_name['channel_ids']._serialized_options = b'\202\3101\0041-50\212\3101\004<=50'
|
|
33
60
|
_CHANNELSERVICE.methods_by_name['Get']._options = None
|
|
34
61
|
_CHANNELSERVICE.methods_by_name['Get']._serialized_options = b'\202\323\344\223\002!\022\037/video/v1/channels/{channel_id}'
|
|
35
62
|
_CHANNELSERVICE.methods_by_name['List']._options = None
|
|
@@ -40,28 +67,34 @@ if _descriptor._USE_C_DESCRIPTORS == False:
|
|
|
40
67
|
_CHANNELSERVICE.methods_by_name['Update']._serialized_options = b'\262\322* \n\025UpdateChannelMetadata\022\007Channel\202\323\344\223\002$2\037/video/v1/channels/{channel_id}:\001*'
|
|
41
68
|
_CHANNELSERVICE.methods_by_name['Delete']._options = None
|
|
42
69
|
_CHANNELSERVICE.methods_by_name['Delete']._serialized_options = b'\262\322*.\n\025DeleteChannelMetadata\022\025google.protobuf.Empty\202\323\344\223\002!*\037/video/v1/channels/{channel_id}'
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
_globals['
|
|
46
|
-
_globals['
|
|
47
|
-
_globals['
|
|
48
|
-
_globals['
|
|
49
|
-
_globals['
|
|
50
|
-
_globals['
|
|
51
|
-
_globals['
|
|
52
|
-
_globals['
|
|
53
|
-
_globals['
|
|
54
|
-
_globals['
|
|
55
|
-
_globals['
|
|
56
|
-
_globals['
|
|
57
|
-
_globals['
|
|
58
|
-
_globals['
|
|
59
|
-
_globals['
|
|
60
|
-
_globals['
|
|
61
|
-
_globals['
|
|
62
|
-
_globals['
|
|
63
|
-
_globals['
|
|
64
|
-
_globals['
|
|
65
|
-
_globals['
|
|
66
|
-
_globals['
|
|
70
|
+
_CHANNELSERVICE.methods_by_name['BatchDelete']._options = None
|
|
71
|
+
_CHANNELSERVICE.methods_by_name['BatchDelete']._serialized_options = b'\262\322*4\n\033BatchDeleteChannelsMetadata\022\025google.protobuf.Empty\202\323\344\223\002#\"\036/video/v1/channels:batchDelete:\001*'
|
|
72
|
+
_globals['_GETCHANNELREQUEST']._serialized_start=276
|
|
73
|
+
_globals['_GETCHANNELREQUEST']._serialized_end=329
|
|
74
|
+
_globals['_LISTCHANNELSREQUEST']._serialized_start=332
|
|
75
|
+
_globals['_LISTCHANNELSREQUEST']._serialized_end=506
|
|
76
|
+
_globals['_LISTCHANNELSRESPONSE']._serialized_start=508
|
|
77
|
+
_globals['_LISTCHANNELSRESPONSE']._serialized_end=611
|
|
78
|
+
_globals['_CREATECHANNELREQUEST']._serialized_start=614
|
|
79
|
+
_globals['_CREATECHANNELREQUEST']._serialized_end=911
|
|
80
|
+
_globals['_CREATECHANNELREQUEST_LABELSENTRY']._serialized_start=859
|
|
81
|
+
_globals['_CREATECHANNELREQUEST_LABELSENTRY']._serialized_end=904
|
|
82
|
+
_globals['_CREATECHANNELMETADATA']._serialized_start=913
|
|
83
|
+
_globals['_CREATECHANNELMETADATA']._serialized_end=956
|
|
84
|
+
_globals['_UPDATECHANNELREQUEST']._serialized_start=959
|
|
85
|
+
_globals['_UPDATECHANNELREQUEST']._serialized_end=1293
|
|
86
|
+
_globals['_UPDATECHANNELREQUEST_LABELSENTRY']._serialized_start=859
|
|
87
|
+
_globals['_UPDATECHANNELREQUEST_LABELSENTRY']._serialized_end=904
|
|
88
|
+
_globals['_UPDATECHANNELMETADATA']._serialized_start=1295
|
|
89
|
+
_globals['_UPDATECHANNELMETADATA']._serialized_end=1338
|
|
90
|
+
_globals['_DELETECHANNELREQUEST']._serialized_start=1340
|
|
91
|
+
_globals['_DELETECHANNELREQUEST']._serialized_end=1396
|
|
92
|
+
_globals['_DELETECHANNELMETADATA']._serialized_start=1398
|
|
93
|
+
_globals['_DELETECHANNELMETADATA']._serialized_end=1441
|
|
94
|
+
_globals['_BATCHDELETECHANNELSREQUEST']._serialized_start=1443
|
|
95
|
+
_globals['_BATCHDELETECHANNELSREQUEST']._serialized_end=1549
|
|
96
|
+
_globals['_BATCHDELETECHANNELSMETADATA']._serialized_start=1551
|
|
97
|
+
_globals['_BATCHDELETECHANNELSMETADATA']._serialized_end=1601
|
|
98
|
+
_globals['_CHANNELSERVICE']._serialized_start=1604
|
|
99
|
+
_globals['_CHANNELSERVICE']._serialized_end=2579
|
|
67
100
|
# @@protoc_insertion_point(module_scope)
|
|
@@ -257,3 +257,43 @@ class DeleteChannelMetadata(google.protobuf.message.Message):
|
|
|
257
257
|
def ClearField(self, field_name: typing.Literal["channel_id", b"channel_id"]) -> None: ...
|
|
258
258
|
|
|
259
259
|
global___DeleteChannelMetadata = DeleteChannelMetadata
|
|
260
|
+
|
|
261
|
+
@typing.final
|
|
262
|
+
class BatchDeleteChannelsRequest(google.protobuf.message.Message):
|
|
263
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
264
|
+
|
|
265
|
+
ORGANIZATION_ID_FIELD_NUMBER: builtins.int
|
|
266
|
+
CHANNEL_IDS_FIELD_NUMBER: builtins.int
|
|
267
|
+
organization_id: builtins.str
|
|
268
|
+
"""ID of the organization."""
|
|
269
|
+
@property
|
|
270
|
+
def channel_ids(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]:
|
|
271
|
+
"""List of channel IDs."""
|
|
272
|
+
|
|
273
|
+
def __init__(
|
|
274
|
+
self,
|
|
275
|
+
*,
|
|
276
|
+
organization_id: builtins.str = ...,
|
|
277
|
+
channel_ids: collections.abc.Iterable[builtins.str] | None = ...,
|
|
278
|
+
) -> None: ...
|
|
279
|
+
def ClearField(self, field_name: typing.Literal["channel_ids", b"channel_ids", "organization_id", b"organization_id"]) -> None: ...
|
|
280
|
+
|
|
281
|
+
global___BatchDeleteChannelsRequest = BatchDeleteChannelsRequest
|
|
282
|
+
|
|
283
|
+
@typing.final
|
|
284
|
+
class BatchDeleteChannelsMetadata(google.protobuf.message.Message):
|
|
285
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
286
|
+
|
|
287
|
+
CHANNEL_IDS_FIELD_NUMBER: builtins.int
|
|
288
|
+
@property
|
|
289
|
+
def channel_ids(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]:
|
|
290
|
+
"""List of channel IDs."""
|
|
291
|
+
|
|
292
|
+
def __init__(
|
|
293
|
+
self,
|
|
294
|
+
*,
|
|
295
|
+
channel_ids: collections.abc.Iterable[builtins.str] | None = ...,
|
|
296
|
+
) -> None: ...
|
|
297
|
+
def ClearField(self, field_name: typing.Literal["channel_ids", b"channel_ids"]) -> None: ...
|
|
298
|
+
|
|
299
|
+
global___BatchDeleteChannelsMetadata = BatchDeleteChannelsMetadata
|
|
@@ -42,6 +42,11 @@ class ChannelServiceStub(object):
|
|
|
42
42
|
request_serializer=yandex_dot_cloud_dot_video_dot_v1_dot_channel__service__pb2.DeleteChannelRequest.SerializeToString,
|
|
43
43
|
response_deserializer=yandex_dot_cloud_dot_operation_dot_operation__pb2.Operation.FromString,
|
|
44
44
|
)
|
|
45
|
+
self.BatchDelete = channel.unary_unary(
|
|
46
|
+
'/yandex.cloud.video.v1.ChannelService/BatchDelete',
|
|
47
|
+
request_serializer=yandex_dot_cloud_dot_video_dot_v1_dot_channel__service__pb2.BatchDeleteChannelsRequest.SerializeToString,
|
|
48
|
+
response_deserializer=yandex_dot_cloud_dot_operation_dot_operation__pb2.Operation.FromString,
|
|
49
|
+
)
|
|
45
50
|
|
|
46
51
|
|
|
47
52
|
class ChannelServiceServicer(object):
|
|
@@ -83,6 +88,13 @@ class ChannelServiceServicer(object):
|
|
|
83
88
|
context.set_details('Method not implemented!')
|
|
84
89
|
raise NotImplementedError('Method not implemented!')
|
|
85
90
|
|
|
91
|
+
def BatchDelete(self, request, context):
|
|
92
|
+
"""Batch delete channels.
|
|
93
|
+
"""
|
|
94
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
95
|
+
context.set_details('Method not implemented!')
|
|
96
|
+
raise NotImplementedError('Method not implemented!')
|
|
97
|
+
|
|
86
98
|
|
|
87
99
|
def add_ChannelServiceServicer_to_server(servicer, server):
|
|
88
100
|
rpc_method_handlers = {
|
|
@@ -111,6 +123,11 @@ def add_ChannelServiceServicer_to_server(servicer, server):
|
|
|
111
123
|
request_deserializer=yandex_dot_cloud_dot_video_dot_v1_dot_channel__service__pb2.DeleteChannelRequest.FromString,
|
|
112
124
|
response_serializer=yandex_dot_cloud_dot_operation_dot_operation__pb2.Operation.SerializeToString,
|
|
113
125
|
),
|
|
126
|
+
'BatchDelete': grpc.unary_unary_rpc_method_handler(
|
|
127
|
+
servicer.BatchDelete,
|
|
128
|
+
request_deserializer=yandex_dot_cloud_dot_video_dot_v1_dot_channel__service__pb2.BatchDeleteChannelsRequest.FromString,
|
|
129
|
+
response_serializer=yandex_dot_cloud_dot_operation_dot_operation__pb2.Operation.SerializeToString,
|
|
130
|
+
),
|
|
114
131
|
}
|
|
115
132
|
generic_handler = grpc.method_handlers_generic_handler(
|
|
116
133
|
'yandex.cloud.video.v1.ChannelService', rpc_method_handlers)
|
|
@@ -206,3 +223,20 @@ class ChannelService(object):
|
|
|
206
223
|
yandex_dot_cloud_dot_operation_dot_operation__pb2.Operation.FromString,
|
|
207
224
|
options, channel_credentials,
|
|
208
225
|
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
226
|
+
|
|
227
|
+
@staticmethod
|
|
228
|
+
def BatchDelete(request,
|
|
229
|
+
target,
|
|
230
|
+
options=(),
|
|
231
|
+
channel_credentials=None,
|
|
232
|
+
call_credentials=None,
|
|
233
|
+
insecure=False,
|
|
234
|
+
compression=None,
|
|
235
|
+
wait_for_ready=None,
|
|
236
|
+
timeout=None,
|
|
237
|
+
metadata=None):
|
|
238
|
+
return grpc.experimental.unary_unary(request, target, '/yandex.cloud.video.v1.ChannelService/BatchDelete',
|
|
239
|
+
yandex_dot_cloud_dot_video_dot_v1_dot_channel__service__pb2.BatchDeleteChannelsRequest.SerializeToString,
|
|
240
|
+
yandex_dot_cloud_dot_operation_dot_operation__pb2.Operation.FromString,
|
|
241
|
+
options, channel_credentials,
|
|
242
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|