yandexcloud 0.294.0__py3-none-any.whl → 0.296.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of yandexcloud might be problematic. Click here for more details.

Files changed (119) hide show
  1. yandex/cloud/ai/foundation_models/v1/image_generation/image_generation_pb2.py +5 -3
  2. yandex/cloud/ai/foundation_models/v1/image_generation/image_generation_pb2.pyi +28 -1
  3. yandex/cloud/backup/v1/resource_pb2.py +16 -14
  4. yandex/cloud/backup/v1/resource_pb2.pyi +38 -1
  5. yandex/cloud/billing/v1/customer_service_pb2.pyi +1 -1
  6. yandex/cloud/billing/v1/sku_service_pb2.pyi +1 -0
  7. yandex/cloud/compute/v1/instance_pb2.pyi +1 -3
  8. yandex/cloud/compute/v1/instance_service_pb2.py +26 -26
  9. yandex/cloud/compute/v1/instance_service_pb2.pyi +5 -1
  10. yandex/cloud/datasphere/v2/jobs/jobs_pb2.py +40 -32
  11. yandex/cloud/datasphere/v2/jobs/jobs_pb2.pyi +78 -1
  12. yandex/cloud/datasphere/v2/jobs/project_job_service_pb2.py +56 -54
  13. yandex/cloud/datasphere/v2/jobs/project_job_service_pb2.pyi +21 -6
  14. yandex/cloud/datasphere/v2/project_service_pb2.py +34 -30
  15. yandex/cloud/datasphere/v2/project_service_pb2.pyi +13 -3
  16. yandex/cloud/iam/v1/api_key_service_pb2.py +13 -3
  17. yandex/cloud/iam/v1/api_key_service_pb2.pyi +53 -0
  18. yandex/cloud/iam/v1/api_key_service_pb2_grpc.py +34 -0
  19. yandex/cloud/iam/v1/api_key_service_pb2_grpc.pyi +20 -0
  20. yandex/cloud/iot/devices/v1/registry_pb2.py +13 -13
  21. yandex/cloud/iot/devices/v1/registry_pb2.pyi +4 -0
  22. yandex/cloud/iot/devices/v1/registry_service_pb2.py +23 -3
  23. yandex/cloud/iot/devices/v1/registry_service_pb2.pyi +64 -0
  24. yandex/cloud/iot/devices/v1/registry_service_pb2_grpc.py +68 -0
  25. yandex/cloud/iot/devices/v1/registry_service_pb2_grpc.pyi +40 -0
  26. yandex/cloud/mdb/greenplum/v1/pxf_pb2.pyi +226 -52
  27. yandex/cloud/mdb/kafka/v1/cluster_pb2.py +42 -35
  28. yandex/cloud/mdb/kafka/v1/cluster_pb2.pyi +32 -2
  29. yandex/cloud/mdb/mongodb/v1/cluster_service_pb2.pyi +13 -7
  30. yandex/cloud/mdb/postgresql/v1/user_pb2.pyi +33 -16
  31. yandex/cloud/organizationmanager/v1/os_login_service_pb2.py +20 -20
  32. yandex/cloud/organizationmanager/v1/os_login_service_pb2.pyi +2 -2
  33. yandex/cloud/serverless/functions/v1/function_pb2.py +30 -28
  34. yandex/cloud/serverless/functions/v1/function_pb2.pyi +5 -1
  35. yandex/cloud/serverless/functions/v1/function_service_pb2.py +38 -36
  36. yandex/cloud/serverless/functions/v1/function_service_pb2.pyi +5 -1
  37. yandex/cloud/smartcaptcha/__init__.py +0 -0
  38. yandex/cloud/smartcaptcha/v1/__init__.py +0 -0
  39. yandex/cloud/smartcaptcha/v1/captcha_pb2.py +100 -0
  40. yandex/cloud/smartcaptcha/v1/captcha_pb2.pyi +500 -0
  41. yandex/cloud/smartcaptcha/v1/captcha_pb2_grpc.py +4 -0
  42. yandex/cloud/smartcaptcha/v1/captcha_pb2_grpc.pyi +17 -0
  43. yandex/cloud/smartcaptcha/v1/captcha_service_pb2.py +76 -0
  44. yandex/cloud/smartcaptcha/v1/captcha_service_pb2.pyi +268 -0
  45. yandex/cloud/smartcaptcha/v1/captcha_service_pb2_grpc.py +242 -0
  46. yandex/cloud/smartcaptcha/v1/captcha_service_pb2_grpc.pyi +152 -0
  47. yandex/cloud/smartwebsecurity/__init__.py +0 -0
  48. yandex/cloud/smartwebsecurity/v1/__init__.py +0 -0
  49. yandex/cloud/smartwebsecurity/v1/security_profile_pb2.py +110 -0
  50. yandex/cloud/smartwebsecurity/v1/security_profile_pb2.pyi +520 -0
  51. yandex/cloud/smartwebsecurity/v1/security_profile_pb2_grpc.py +4 -0
  52. yandex/cloud/smartwebsecurity/v1/security_profile_pb2_grpc.pyi +17 -0
  53. yandex/cloud/smartwebsecurity/v1/security_profile_service_pb2.py +78 -0
  54. yandex/cloud/smartwebsecurity/v1/security_profile_service_pb2.pyi +260 -0
  55. yandex/cloud/smartwebsecurity/v1/security_profile_service_pb2_grpc.py +208 -0
  56. yandex/cloud/smartwebsecurity/v1/security_profile_service_pb2_grpc.pyi +132 -0
  57. yandex/cloud/speechsense/v1/analysis/__init__.py +0 -0
  58. yandex/cloud/speechsense/v1/analysis/conversation_statistics_pb2.py +28 -0
  59. yandex/cloud/speechsense/v1/analysis/conversation_statistics_pb2.pyi +40 -0
  60. yandex/cloud/speechsense/v1/analysis/conversation_statistics_pb2_grpc.py +4 -0
  61. yandex/cloud/speechsense/v1/analysis/conversation_statistics_pb2_grpc.pyi +17 -0
  62. yandex/cloud/speechsense/v1/analysis/interrupts_statistics_pb2.py +29 -0
  63. yandex/cloud/speechsense/v1/analysis/interrupts_statistics_pb2.pyi +66 -0
  64. yandex/cloud/speechsense/v1/analysis/interrupts_statistics_pb2_grpc.py +4 -0
  65. yandex/cloud/speechsense/v1/analysis/interrupts_statistics_pb2_grpc.pyi +17 -0
  66. yandex/cloud/speechsense/v1/analysis/points_pb2.py +29 -0
  67. yandex/cloud/speechsense/v1/analysis/points_pb2.pyi +53 -0
  68. yandex/cloud/speechsense/v1/analysis/points_pb2_grpc.py +4 -0
  69. yandex/cloud/speechsense/v1/analysis/points_pb2_grpc.pyi +17 -0
  70. yandex/cloud/speechsense/v1/analysis/predefined_classifiers_pb2.py +30 -0
  71. yandex/cloud/speechsense/v1/analysis/predefined_classifiers_pb2.pyi +93 -0
  72. yandex/cloud/speechsense/v1/analysis/predefined_classifiers_pb2_grpc.py +4 -0
  73. yandex/cloud/speechsense/v1/analysis/predefined_classifiers_pb2_grpc.pyi +17 -0
  74. yandex/cloud/speechsense/v1/analysis/silence_statistics_pb2.py +27 -0
  75. yandex/cloud/speechsense/v1/analysis/silence_statistics_pb2.pyi +41 -0
  76. yandex/cloud/speechsense/v1/analysis/silence_statistics_pb2_grpc.py +4 -0
  77. yandex/cloud/speechsense/v1/analysis/silence_statistics_pb2_grpc.pyi +17 -0
  78. yandex/cloud/speechsense/v1/analysis/speaker_statistics_pb2.py +28 -0
  79. yandex/cloud/speechsense/v1/analysis/speaker_statistics_pb2.pyi +58 -0
  80. yandex/cloud/speechsense/v1/analysis/speaker_statistics_pb2_grpc.py +4 -0
  81. yandex/cloud/speechsense/v1/analysis/speaker_statistics_pb2_grpc.pyi +17 -0
  82. yandex/cloud/speechsense/v1/analysis/speech_statistics_pb2.py +27 -0
  83. yandex/cloud/speechsense/v1/analysis/speech_statistics_pb2.pyi +43 -0
  84. yandex/cloud/speechsense/v1/analysis/speech_statistics_pb2_grpc.py +4 -0
  85. yandex/cloud/speechsense/v1/analysis/speech_statistics_pb2_grpc.pyi +17 -0
  86. yandex/cloud/speechsense/v1/analysis/statistics_common_pb2.py +30 -0
  87. yandex/cloud/speechsense/v1/analysis/statistics_common_pb2.pyi +91 -0
  88. yandex/cloud/speechsense/v1/analysis/statistics_common_pb2_grpc.py +4 -0
  89. yandex/cloud/speechsense/v1/analysis/statistics_common_pb2_grpc.pyi +17 -0
  90. yandex/cloud/speechsense/v1/analysis/text_classifiers_pb2.py +33 -0
  91. yandex/cloud/speechsense/v1/analysis/text_classifiers_pb2.pyi +102 -0
  92. yandex/cloud/speechsense/v1/analysis/text_classifiers_pb2_grpc.py +4 -0
  93. yandex/cloud/speechsense/v1/analysis/text_classifiers_pb2_grpc.pyi +17 -0
  94. yandex/cloud/speechsense/v1/analysis/transcription_pb2.py +41 -0
  95. yandex/cloud/speechsense/v1/analysis/transcription_pb2.pyi +186 -0
  96. yandex/cloud/speechsense/v1/analysis/transcription_pb2_grpc.py +4 -0
  97. yandex/cloud/speechsense/v1/analysis/transcription_pb2_grpc.pyi +17 -0
  98. yandex/cloud/speechsense/v1/analysis/utterance_statistics_pb2.py +27 -0
  99. yandex/cloud/speechsense/v1/analysis/utterance_statistics_pb2.pyi +70 -0
  100. yandex/cloud/speechsense/v1/analysis/utterance_statistics_pb2_grpc.py +4 -0
  101. yandex/cloud/speechsense/v1/analysis/utterance_statistics_pb2_grpc.pyi +17 -0
  102. yandex/cloud/speechsense/v1/search_pb2.py +51 -0
  103. yandex/cloud/speechsense/v1/search_pb2.pyi +324 -0
  104. yandex/cloud/speechsense/v1/search_pb2_grpc.py +4 -0
  105. yandex/cloud/speechsense/v1/search_pb2_grpc.pyi +17 -0
  106. yandex/cloud/speechsense/v1/talk_pb2.py +38 -0
  107. yandex/cloud/speechsense/v1/talk_pb2.pyi +161 -0
  108. yandex/cloud/speechsense/v1/talk_pb2_grpc.py +4 -0
  109. yandex/cloud/speechsense/v1/talk_pb2_grpc.pyi +17 -0
  110. yandex/cloud/speechsense/v1/talk_service_pb2.py +34 -18
  111. yandex/cloud/speechsense/v1/talk_service_pb2.pyi +143 -0
  112. yandex/cloud/speechsense/v1/talk_service_pb2_grpc.py +68 -0
  113. yandex/cloud/speechsense/v1/talk_service_pb2_grpc.pyi +40 -0
  114. {yandexcloud-0.294.0.dist-info → yandexcloud-0.296.0.dist-info}/METADATA +8 -8
  115. {yandexcloud-0.294.0.dist-info → yandexcloud-0.296.0.dist-info}/RECORD +119 -46
  116. {yandexcloud-0.294.0.dist-info → yandexcloud-0.296.0.dist-info}/AUTHORS +0 -0
  117. {yandexcloud-0.294.0.dist-info → yandexcloud-0.296.0.dist-info}/LICENSE +0 -0
  118. {yandexcloud-0.294.0.dist-info → yandexcloud-0.296.0.dist-info}/WHEEL +0 -0
  119. {yandexcloud-0.294.0.dist-info → yandexcloud-0.296.0.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,152 @@
1
+ """
2
+ @generated by mypy-protobuf. Do not edit manually!
3
+ isort:skip_file
4
+ """
5
+
6
+ import abc
7
+ import collections.abc
8
+ import grpc
9
+ import grpc.aio
10
+ import typing
11
+ import yandex.cloud.operation.operation_pb2
12
+ import yandex.cloud.smartcaptcha.v1.captcha_pb2
13
+ import yandex.cloud.smartcaptcha.v1.captcha_service_pb2
14
+
15
+ _T = typing.TypeVar("_T")
16
+
17
+ class _MaybeAsyncIterator(collections.abc.AsyncIterator[_T], collections.abc.Iterator[_T], metaclass=abc.ABCMeta): ...
18
+
19
+ class _ServicerContext(grpc.ServicerContext, grpc.aio.ServicerContext): # type: ignore[misc, type-arg]
20
+ ...
21
+
22
+ class CaptchaServiceStub:
23
+ """A set of methods for managing Captcha resources."""
24
+
25
+ def __init__(self, channel: typing.Union[grpc.Channel, grpc.aio.Channel]) -> None: ...
26
+ Get: grpc.UnaryUnaryMultiCallable[
27
+ yandex.cloud.smartcaptcha.v1.captcha_service_pb2.GetCaptchaRequest,
28
+ yandex.cloud.smartcaptcha.v1.captcha_pb2.Captcha,
29
+ ]
30
+ """Returns the specified Captcha resource."""
31
+
32
+ GetSecretKey: grpc.UnaryUnaryMultiCallable[
33
+ yandex.cloud.smartcaptcha.v1.captcha_service_pb2.GetCaptchaRequest,
34
+ yandex.cloud.smartcaptcha.v1.captcha_pb2.CaptchaSecretKey,
35
+ ]
36
+ """Returns the secret data of specified Captcha resource."""
37
+
38
+ List: grpc.UnaryUnaryMultiCallable[
39
+ yandex.cloud.smartcaptcha.v1.captcha_service_pb2.ListCaptchasRequest,
40
+ yandex.cloud.smartcaptcha.v1.captcha_service_pb2.ListCaptchasResponse,
41
+ ]
42
+ """Retrieves the list of Captcha resources in the specified folder."""
43
+
44
+ Create: grpc.UnaryUnaryMultiCallable[
45
+ yandex.cloud.smartcaptcha.v1.captcha_service_pb2.CreateCaptchaRequest,
46
+ yandex.cloud.operation.operation_pb2.Operation,
47
+ ]
48
+ """Creates a captcha in the specified folder using the data specified in the request."""
49
+
50
+ Update: grpc.UnaryUnaryMultiCallable[
51
+ yandex.cloud.smartcaptcha.v1.captcha_service_pb2.UpdateCaptchaRequest,
52
+ yandex.cloud.operation.operation_pb2.Operation,
53
+ ]
54
+ """Updates the specified captcha."""
55
+
56
+ Delete: grpc.UnaryUnaryMultiCallable[
57
+ yandex.cloud.smartcaptcha.v1.captcha_service_pb2.DeleteCaptchaRequest,
58
+ yandex.cloud.operation.operation_pb2.Operation,
59
+ ]
60
+ """Deletes the specified captcha."""
61
+
62
+ class CaptchaServiceAsyncStub:
63
+ """A set of methods for managing Captcha resources."""
64
+
65
+ Get: grpc.aio.UnaryUnaryMultiCallable[
66
+ yandex.cloud.smartcaptcha.v1.captcha_service_pb2.GetCaptchaRequest,
67
+ yandex.cloud.smartcaptcha.v1.captcha_pb2.Captcha,
68
+ ]
69
+ """Returns the specified Captcha resource."""
70
+
71
+ GetSecretKey: grpc.aio.UnaryUnaryMultiCallable[
72
+ yandex.cloud.smartcaptcha.v1.captcha_service_pb2.GetCaptchaRequest,
73
+ yandex.cloud.smartcaptcha.v1.captcha_pb2.CaptchaSecretKey,
74
+ ]
75
+ """Returns the secret data of specified Captcha resource."""
76
+
77
+ List: grpc.aio.UnaryUnaryMultiCallable[
78
+ yandex.cloud.smartcaptcha.v1.captcha_service_pb2.ListCaptchasRequest,
79
+ yandex.cloud.smartcaptcha.v1.captcha_service_pb2.ListCaptchasResponse,
80
+ ]
81
+ """Retrieves the list of Captcha resources in the specified folder."""
82
+
83
+ Create: grpc.aio.UnaryUnaryMultiCallable[
84
+ yandex.cloud.smartcaptcha.v1.captcha_service_pb2.CreateCaptchaRequest,
85
+ yandex.cloud.operation.operation_pb2.Operation,
86
+ ]
87
+ """Creates a captcha in the specified folder using the data specified in the request."""
88
+
89
+ Update: grpc.aio.UnaryUnaryMultiCallable[
90
+ yandex.cloud.smartcaptcha.v1.captcha_service_pb2.UpdateCaptchaRequest,
91
+ yandex.cloud.operation.operation_pb2.Operation,
92
+ ]
93
+ """Updates the specified captcha."""
94
+
95
+ Delete: grpc.aio.UnaryUnaryMultiCallable[
96
+ yandex.cloud.smartcaptcha.v1.captcha_service_pb2.DeleteCaptchaRequest,
97
+ yandex.cloud.operation.operation_pb2.Operation,
98
+ ]
99
+ """Deletes the specified captcha."""
100
+
101
+ class CaptchaServiceServicer(metaclass=abc.ABCMeta):
102
+ """A set of methods for managing Captcha resources."""
103
+
104
+ @abc.abstractmethod
105
+ def Get(
106
+ self,
107
+ request: yandex.cloud.smartcaptcha.v1.captcha_service_pb2.GetCaptchaRequest,
108
+ context: _ServicerContext,
109
+ ) -> typing.Union[yandex.cloud.smartcaptcha.v1.captcha_pb2.Captcha, collections.abc.Awaitable[yandex.cloud.smartcaptcha.v1.captcha_pb2.Captcha]]:
110
+ """Returns the specified Captcha resource."""
111
+
112
+ @abc.abstractmethod
113
+ def GetSecretKey(
114
+ self,
115
+ request: yandex.cloud.smartcaptcha.v1.captcha_service_pb2.GetCaptchaRequest,
116
+ context: _ServicerContext,
117
+ ) -> typing.Union[yandex.cloud.smartcaptcha.v1.captcha_pb2.CaptchaSecretKey, collections.abc.Awaitable[yandex.cloud.smartcaptcha.v1.captcha_pb2.CaptchaSecretKey]]:
118
+ """Returns the secret data of specified Captcha resource."""
119
+
120
+ @abc.abstractmethod
121
+ def List(
122
+ self,
123
+ request: yandex.cloud.smartcaptcha.v1.captcha_service_pb2.ListCaptchasRequest,
124
+ context: _ServicerContext,
125
+ ) -> typing.Union[yandex.cloud.smartcaptcha.v1.captcha_service_pb2.ListCaptchasResponse, collections.abc.Awaitable[yandex.cloud.smartcaptcha.v1.captcha_service_pb2.ListCaptchasResponse]]:
126
+ """Retrieves the list of Captcha resources in the specified folder."""
127
+
128
+ @abc.abstractmethod
129
+ def Create(
130
+ self,
131
+ request: yandex.cloud.smartcaptcha.v1.captcha_service_pb2.CreateCaptchaRequest,
132
+ context: _ServicerContext,
133
+ ) -> typing.Union[yandex.cloud.operation.operation_pb2.Operation, collections.abc.Awaitable[yandex.cloud.operation.operation_pb2.Operation]]:
134
+ """Creates a captcha in the specified folder using the data specified in the request."""
135
+
136
+ @abc.abstractmethod
137
+ def Update(
138
+ self,
139
+ request: yandex.cloud.smartcaptcha.v1.captcha_service_pb2.UpdateCaptchaRequest,
140
+ context: _ServicerContext,
141
+ ) -> typing.Union[yandex.cloud.operation.operation_pb2.Operation, collections.abc.Awaitable[yandex.cloud.operation.operation_pb2.Operation]]:
142
+ """Updates the specified captcha."""
143
+
144
+ @abc.abstractmethod
145
+ def Delete(
146
+ self,
147
+ request: yandex.cloud.smartcaptcha.v1.captcha_service_pb2.DeleteCaptchaRequest,
148
+ context: _ServicerContext,
149
+ ) -> typing.Union[yandex.cloud.operation.operation_pb2.Operation, collections.abc.Awaitable[yandex.cloud.operation.operation_pb2.Operation]]:
150
+ """Deletes the specified captcha."""
151
+
152
+ def add_CaptchaServiceServicer_to_server(servicer: CaptchaServiceServicer, server: typing.Union[grpc.Server, grpc.aio.Server]) -> None: ...
File without changes
File without changes
@@ -0,0 +1,110 @@
1
+ # -*- coding: utf-8 -*-
2
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
3
+ # source: yandex/cloud/smartwebsecurity/v1/security_profile.proto
4
+ """Generated protocol buffer code."""
5
+ from google.protobuf import descriptor as _descriptor
6
+ from google.protobuf import descriptor_pool as _descriptor_pool
7
+ from google.protobuf import symbol_database as _symbol_database
8
+ from google.protobuf.internal import builder as _builder
9
+ # @@protoc_insertion_point(imports)
10
+
11
+ _sym_db = _symbol_database.Default()
12
+
13
+
14
+ from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2
15
+ from yandex.cloud import validation_pb2 as yandex_dot_cloud_dot_validation__pb2
16
+
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\"\x8f\x05\n\x0fSecurityProfile\x12\n\n\x02id\x18\x01 \x01(\t\x12\x11\n\tfolder_id\x18\x02 \x01(\t\x12\x10\n\x08\x63loud_id\x18\n \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\x12\n\ncaptcha_id\x18\x0b \x01(\t\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\"\x9b\x06\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\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\x42\x10\n\x0erule_specifierJ\x04\x08\x06\x10\x07\"\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
+
20
+ _globals = globals()
21
+ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
22
+ _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'yandex.cloud.smartwebsecurity.v1.security_profile_pb2', _globals)
23
+ if _descriptor._USE_C_DESCRIPTORS == False:
24
+ DESCRIPTOR._options = None
25
+ DESCRIPTOR._serialized_options = b'\n$yandex.cloud.api.smartwebsecurity.v1ZUgithub.com/yandex-cloud/go-genproto/yandex/cloud/smartwebsecurity/v1;smartwebsecurity'
26
+ _SECURITYPROFILE_LABELSENTRY._options = None
27
+ _SECURITYPROFILE_LABELSENTRY._serialized_options = b'8\001'
28
+ _SECURITYPROFILE.fields_by_name['labels']._options = None
29
+ _SECURITYPROFILE.fields_by_name['labels']._serialized_options = b'\362\3071\013[-_0-9a-z]*\202\3101\004<=64\212\3101\004<=63\262\3101\030\022\020[a-z][-_0-9a-z]*\032\0041-63'
30
+ _SECURITYPROFILE.fields_by_name['name']._options = None
31
+ _SECURITYPROFILE.fields_by_name['name']._serialized_options = b'\350\3071\001\362\3071\032[a-zA-Z0-9][a-zA-Z0-9-_.]*\212\3101\0041-50'
32
+ _SECURITYPROFILE.fields_by_name['description']._options = None
33
+ _SECURITYPROFILE.fields_by_name['description']._serialized_options = b'\212\3101\005<=512'
34
+ _SECURITYPROFILE.fields_by_name['default_action']._options = None
35
+ _SECURITYPROFILE.fields_by_name['default_action']._serialized_options = b'\350\3071\001'
36
+ _SECURITYRULE.fields_by_name['name']._options = None
37
+ _SECURITYRULE.fields_by_name['name']._serialized_options = b'\350\3071\001\362\3071\032[a-zA-Z0-9][a-zA-Z0-9-_.]*\212\3101\0041-50'
38
+ _SECURITYRULE.fields_by_name['priority']._options = None
39
+ _SECURITYRULE.fields_by_name['priority']._serialized_options = b'\372\3071\0101-999999'
40
+ _SECURITYRULE.fields_by_name['description']._options = None
41
+ _SECURITYRULE.fields_by_name['description']._serialized_options = b'\212\3101\005<=512'
42
+ _CONDITION_STRINGMATCHER.fields_by_name['exact_match']._options = None
43
+ _CONDITION_STRINGMATCHER.fields_by_name['exact_match']._serialized_options = b'\212\3101\0050-255'
44
+ _CONDITION_STRINGMATCHER.fields_by_name['exact_not_match']._options = None
45
+ _CONDITION_STRINGMATCHER.fields_by_name['exact_not_match']._serialized_options = b'\212\3101\0050-255'
46
+ _CONDITION_STRINGMATCHER.fields_by_name['prefix_match']._options = None
47
+ _CONDITION_STRINGMATCHER.fields_by_name['prefix_match']._serialized_options = b'\212\3101\0050-255'
48
+ _CONDITION_STRINGMATCHER.fields_by_name['prefix_not_match']._options = None
49
+ _CONDITION_STRINGMATCHER.fields_by_name['prefix_not_match']._serialized_options = b'\212\3101\0050-255'
50
+ _CONDITION_STRINGMATCHER.fields_by_name['pire_regex_match']._options = None
51
+ _CONDITION_STRINGMATCHER.fields_by_name['pire_regex_match']._serialized_options = b'\212\3101\0050-255'
52
+ _CONDITION_STRINGMATCHER.fields_by_name['pire_regex_not_match']._options = None
53
+ _CONDITION_STRINGMATCHER.fields_by_name['pire_regex_not_match']._serialized_options = b'\212\3101\0050-255'
54
+ _CONDITION_HTTPMETHODMATCHER.fields_by_name['http_methods']._options = None
55
+ _CONDITION_HTTPMETHODMATCHER.fields_by_name['http_methods']._serialized_options = b'\202\3101\004<=20'
56
+ _CONDITION_AUTHORITYMATCHER.fields_by_name['authorities']._options = None
57
+ _CONDITION_AUTHORITYMATCHER.fields_by_name['authorities']._serialized_options = b'\202\3101\004<=20'
58
+ _CONDITION_REQUESTURIMATCHER.fields_by_name['queries']._options = None
59
+ _CONDITION_REQUESTURIMATCHER.fields_by_name['queries']._serialized_options = b'\202\3101\004<=20'
60
+ _CONDITION_QUERYMATCHER.fields_by_name['key']._options = None
61
+ _CONDITION_QUERYMATCHER.fields_by_name['key']._serialized_options = b'\350\3071\001\212\3101\0051-255'
62
+ _CONDITION_QUERYMATCHER.fields_by_name['value']._options = None
63
+ _CONDITION_QUERYMATCHER.fields_by_name['value']._serialized_options = b'\350\3071\001'
64
+ _CONDITION_HEADERMATCHER.fields_by_name['name']._options = None
65
+ _CONDITION_HEADERMATCHER.fields_by_name['name']._serialized_options = b'\350\3071\001\212\3101\0051-255'
66
+ _CONDITION_HEADERMATCHER.fields_by_name['value']._options = None
67
+ _CONDITION_HEADERMATCHER.fields_by_name['value']._serialized_options = b'\350\3071\001'
68
+ _CONDITION_IPRANGESMATCHER.fields_by_name['ip_ranges']._options = None
69
+ _CONDITION_IPRANGESMATCHER.fields_by_name['ip_ranges']._serialized_options = b'\202\3101\007<=10000'
70
+ _CONDITION_GEOIPMATCHER.fields_by_name['locations']._options = None
71
+ _CONDITION_GEOIPMATCHER.fields_by_name['locations']._serialized_options = b'\202\3101\003>=1\212\3101\0012\220\3101\001'
72
+ _CONDITION.fields_by_name['headers']._options = None
73
+ _CONDITION.fields_by_name['headers']._serialized_options = b'\202\3101\004<=20'
74
+ _globals['_SECURITYPROFILE']._serialized_start=158
75
+ _globals['_SECURITYPROFILE']._serialized_end=813
76
+ _globals['_SECURITYPROFILE_LABELSENTRY']._serialized_start=692
77
+ _globals['_SECURITYPROFILE_LABELSENTRY']._serialized_end=737
78
+ _globals['_SECURITYPROFILE_DEFAULTACTION']._serialized_start=739
79
+ _globals['_SECURITYPROFILE_DEFAULTACTION']._serialized_end=807
80
+ _globals['_SECURITYRULE']._serialized_start=816
81
+ _globals['_SECURITYRULE']._serialized_end=1611
82
+ _globals['_SECURITYRULE_RULECONDITION']._serialized_start=1152
83
+ _globals['_SECURITYRULE_RULECONDITION']._serialized_end=1371
84
+ _globals['_SECURITYRULE_RULECONDITION_ACTION']._serialized_start=1318
85
+ _globals['_SECURITYRULE_RULECONDITION_ACTION']._serialized_end=1371
86
+ _globals['_SECURITYRULE_SMARTPROTECTION']._serialized_start=1374
87
+ _globals['_SECURITYRULE_SMARTPROTECTION']._serialized_end=1587
88
+ _globals['_SECURITYRULE_SMARTPROTECTION_MODE']._serialized_start=1540
89
+ _globals['_SECURITYRULE_SMARTPROTECTION_MODE']._serialized_end=1587
90
+ _globals['_CONDITION']._serialized_start=1614
91
+ _globals['_CONDITION']._serialized_end=3399
92
+ _globals['_CONDITION_STRINGMATCHER']._serialized_start=2037
93
+ _globals['_CONDITION_STRINGMATCHER']._serialized_end=2289
94
+ _globals['_CONDITION_HTTPMETHODMATCHER']._serialized_start=2291
95
+ _globals['_CONDITION_HTTPMETHODMATCHER']._serialized_end=2401
96
+ _globals['_CONDITION_AUTHORITYMATCHER']._serialized_start=2403
97
+ _globals['_CONDITION_AUTHORITYMATCHER']._serialized_end=2511
98
+ _globals['_CONDITION_REQUESTURIMATCHER']._serialized_start=2514
99
+ _globals['_CONDITION_REQUESTURIMATCHER']._serialized_end=2691
100
+ _globals['_CONDITION_QUERYMATCHER']._serialized_start=2693
101
+ _globals['_CONDITION_QUERYMATCHER']._serialized_end=2815
102
+ _globals['_CONDITION_HEADERMATCHER']._serialized_start=2817
103
+ _globals['_CONDITION_HEADERMATCHER']._serialized_end=2941
104
+ _globals['_CONDITION_IPMATCHER']._serialized_start=2944
105
+ _globals['_CONDITION_IPMATCHER']._serialized_end=3295
106
+ _globals['_CONDITION_IPRANGESMATCHER']._serialized_start=3297
107
+ _globals['_CONDITION_IPRANGESMATCHER']._serialized_end=3346
108
+ _globals['_CONDITION_GEOIPMATCHER']._serialized_start=3348
109
+ _globals['_CONDITION_GEOIPMATCHER']._serialized_end=3399
110
+ # @@protoc_insertion_point(module_scope)