yandexcloud 0.316.0__py3-none-any.whl → 0.317.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 (133) hide show
  1. yandex/cloud/backup/v1/resource_pb2.py +10 -10
  2. yandex/cloud/backup/v1/resource_pb2.pyi +5 -1
  3. yandex/cloud/datatransfer/v1/transfer_pb2.py +12 -10
  4. yandex/cloud/datatransfer/v1/transfer_pb2.pyi +17 -3
  5. yandex/cloud/loadtesting/agent/v1/agent_registration_service_pb2.py +18 -11
  6. yandex/cloud/loadtesting/agent/v1/agent_registration_service_pb2.pyi +23 -1
  7. yandex/cloud/loadtesting/api/v1/agent/agent_pb2.py +6 -5
  8. yandex/cloud/loadtesting/api/v1/agent/agent_pb2.pyi +9 -1
  9. yandex/cloud/loadtesting/api/v1/agent/log_settings_pb2.py +29 -0
  10. yandex/cloud/loadtesting/api/v1/agent/log_settings_pb2.pyi +27 -0
  11. yandex/cloud/loadtesting/api/v1/agent/log_settings_pb2_grpc.py +4 -0
  12. yandex/cloud/loadtesting/api/v1/agent/log_settings_pb2_grpc.pyi +17 -0
  13. yandex/cloud/loadtesting/api/v1/agent_service_pb2.py +27 -26
  14. yandex/cloud/loadtesting/api/v1/agent_service_pb2.pyi +9 -2
  15. yandex/cloud/loadtesting/api/v1/test/imbalance_point_pb2.py +2 -2
  16. yandex/cloud/loadtesting/api/v1/test/imbalance_point_pb2.pyi +5 -1
  17. yandex/cloud/mdb/mysql/v1/backup_service_pb2.py +17 -13
  18. yandex/cloud/mdb/mysql/v1/backup_service_pb2_grpc.py +35 -0
  19. yandex/cloud/mdb/mysql/v1/backup_service_pb2_grpc.pyi +21 -0
  20. yandex/cloud/mdb/opensearch/v1/auth_pb2.py +6 -5
  21. yandex/cloud/mdb/opensearch/v1/auth_pb2.pyi +9 -1
  22. yandex/cloud/mdb/opensearch/v1/cluster_pb2.py +50 -43
  23. yandex/cloud/mdb/opensearch/v1/cluster_pb2.pyi +40 -4
  24. yandex/cloud/mdb/opensearch/v1/cluster_service_pb2.py +61 -61
  25. yandex/cloud/mdb/opensearch/v1/cluster_service_pb2.pyi +32 -8
  26. yandex/cloud/monitoring/v3/chart_widget_pb2.py +46 -44
  27. yandex/cloud/monitoring/v3/chart_widget_pb2.pyi +28 -2
  28. yandex/cloud/serverless/eventrouter/__init__.py +0 -0
  29. yandex/cloud/serverless/eventrouter/v1/__init__.py +0 -0
  30. yandex/cloud/serverless/eventrouter/v1/bus_pb2.py +33 -0
  31. yandex/cloud/serverless/eventrouter/v1/bus_pb2.pyi +107 -0
  32. yandex/cloud/serverless/eventrouter/v1/bus_pb2_grpc.py +4 -0
  33. yandex/cloud/serverless/eventrouter/v1/bus_pb2_grpc.pyi +17 -0
  34. yandex/cloud/serverless/eventrouter/v1/bus_service_pb2.py +115 -0
  35. yandex/cloud/serverless/eventrouter/v1/bus_service_pb2.pyi +320 -0
  36. yandex/cloud/serverless/eventrouter/v1/bus_service_pb2_grpc.py +346 -0
  37. yandex/cloud/serverless/eventrouter/v1/bus_service_pb2_grpc.pyi +219 -0
  38. yandex/cloud/serverless/eventrouter/v1/connector_pb2.py +61 -0
  39. yandex/cloud/serverless/eventrouter/v1/connector_pb2.pyi +223 -0
  40. yandex/cloud/serverless/eventrouter/v1/connector_pb2_grpc.py +4 -0
  41. yandex/cloud/serverless/eventrouter/v1/connector_pb2_grpc.pyi +17 -0
  42. yandex/cloud/serverless/eventrouter/v1/connector_service_pb2.py +135 -0
  43. yandex/cloud/serverless/eventrouter/v1/connector_service_pb2.pyi +397 -0
  44. yandex/cloud/serverless/eventrouter/v1/connector_service_pb2_grpc.py +414 -0
  45. yandex/cloud/serverless/eventrouter/v1/connector_service_pb2_grpc.pyi +259 -0
  46. yandex/cloud/serverless/eventrouter/v1/event_service_pb2.py +37 -0
  47. yandex/cloud/serverless/eventrouter/v1/event_service_pb2.pyi +31 -0
  48. yandex/cloud/serverless/eventrouter/v1/event_service_pb2_grpc.py +71 -0
  49. yandex/cloud/serverless/eventrouter/v1/event_service_pb2_grpc.pyi +51 -0
  50. yandex/cloud/serverless/eventrouter/v1/rule_pb2.py +123 -0
  51. yandex/cloud/serverless/eventrouter/v1/rule_pb2.pyi +532 -0
  52. yandex/cloud/serverless/eventrouter/v1/rule_pb2_grpc.py +4 -0
  53. yandex/cloud/serverless/eventrouter/v1/rule_pb2_grpc.pyi +17 -0
  54. yandex/cloud/serverless/eventrouter/v1/rule_service_pb2.py +139 -0
  55. yandex/cloud/serverless/eventrouter/v1/rule_service_pb2.pyi +413 -0
  56. yandex/cloud/serverless/eventrouter/v1/rule_service_pb2_grpc.py +414 -0
  57. yandex/cloud/serverless/eventrouter/v1/rule_service_pb2_grpc.pyi +259 -0
  58. yandex/cloud/serverless/functions/v1/function_pb2.py +34 -34
  59. yandex/cloud/serverless/functions/v1/function_pb2.pyi +8 -0
  60. yandex/cloud/serverless/workflows/__init__.py +0 -0
  61. yandex/cloud/serverless/workflows/v1/__init__.py +0 -0
  62. yandex/cloud/serverless/workflows/v1/execution_pb2.py +43 -0
  63. yandex/cloud/serverless/workflows/v1/execution_pb2.pyi +203 -0
  64. yandex/cloud/serverless/workflows/v1/execution_pb2_grpc.py +4 -0
  65. yandex/cloud/serverless/workflows/v1/execution_pb2_grpc.pyi +17 -0
  66. yandex/cloud/serverless/workflows/v1/execution_service_pb2.py +74 -0
  67. yandex/cloud/serverless/workflows/v1/execution_service_pb2.pyi +231 -0
  68. yandex/cloud/serverless/workflows/v1/execution_service_pb2_grpc.py +206 -0
  69. yandex/cloud/serverless/workflows/v1/execution_service_pb2_grpc.pyi +130 -0
  70. yandex/cloud/serverless/workflows/v1/history_entry_pb2.py +41 -0
  71. yandex/cloud/serverless/workflows/v1/history_entry_pb2.pyi +174 -0
  72. yandex/cloud/serverless/workflows/v1/history_entry_pb2_grpc.py +4 -0
  73. yandex/cloud/serverless/workflows/v1/history_entry_pb2_grpc.pyi +17 -0
  74. yandex/cloud/serverless/workflows/v1/workflow_pb2.py +47 -0
  75. yandex/cloud/serverless/workflows/v1/workflow_pb2.pyi +260 -0
  76. yandex/cloud/serverless/workflows/v1/workflow_pb2_grpc.py +4 -0
  77. yandex/cloud/serverless/workflows/v1/workflow_pb2_grpc.pyi +17 -0
  78. yandex/cloud/serverless/workflows/v1/workflow_service_pb2.py +112 -0
  79. yandex/cloud/serverless/workflows/v1/workflow_service_pb2.pyi +395 -0
  80. yandex/cloud/serverless/workflows/v1/workflow_service_pb2_grpc.py +241 -0
  81. yandex/cloud/serverless/workflows/v1/workflow_service_pb2_grpc.pyi +151 -0
  82. yandex/cloud/smartwebsecurity/v1/advanced_rate_limiter/__init__.py +0 -0
  83. yandex/cloud/smartwebsecurity/v1/advanced_rate_limiter/advanced_rate_limiter_profile_pb2.py +77 -0
  84. yandex/cloud/smartwebsecurity/v1/advanced_rate_limiter/advanced_rate_limiter_profile_pb2.pyi +352 -0
  85. yandex/cloud/smartwebsecurity/v1/advanced_rate_limiter/advanced_rate_limiter_profile_pb2_grpc.py +4 -0
  86. yandex/cloud/smartwebsecurity/v1/advanced_rate_limiter/advanced_rate_limiter_profile_pb2_grpc.pyi +17 -0
  87. yandex/cloud/smartwebsecurity/v1/advanced_rate_limiter/advanced_rate_limiter_profile_service_pb2.py +78 -0
  88. yandex/cloud/smartwebsecurity/v1/advanced_rate_limiter/advanced_rate_limiter_profile_service_pb2.pyi +244 -0
  89. yandex/cloud/smartwebsecurity/v1/advanced_rate_limiter/advanced_rate_limiter_profile_service_pb2_grpc.py +208 -0
  90. yandex/cloud/smartwebsecurity/v1/advanced_rate_limiter/advanced_rate_limiter_profile_service_pb2_grpc.pyi +132 -0
  91. yandex/cloud/smartwebsecurity/v1/waf/__init__.py +0 -0
  92. yandex/cloud/smartwebsecurity/v1/waf/rule_set_descriptor_pb2.py +35 -0
  93. yandex/cloud/smartwebsecurity/v1/waf/rule_set_descriptor_pb2.pyi +71 -0
  94. yandex/cloud/smartwebsecurity/v1/waf/rule_set_descriptor_pb2_grpc.py +4 -0
  95. yandex/cloud/smartwebsecurity/v1/waf/rule_set_descriptor_pb2_grpc.pyi +17 -0
  96. yandex/cloud/smartwebsecurity/v1/waf/rule_set_descriptor_service_pb2.py +37 -0
  97. yandex/cloud/smartwebsecurity/v1/waf/rule_set_descriptor_service_pb2.pyi +31 -0
  98. yandex/cloud/smartwebsecurity/v1/waf/rule_set_descriptor_service_pb2_grpc.py +71 -0
  99. yandex/cloud/smartwebsecurity/v1/waf/rule_set_descriptor_service_pb2_grpc.pyi +51 -0
  100. yandex/cloud/smartwebsecurity/v1/waf/waf_profile_pb2.py +81 -0
  101. yandex/cloud/smartwebsecurity/v1/waf/waf_profile_pb2.pyi +296 -0
  102. yandex/cloud/smartwebsecurity/v1/waf/waf_profile_pb2_grpc.py +4 -0
  103. yandex/cloud/smartwebsecurity/v1/waf/waf_profile_pb2_grpc.pyi +17 -0
  104. yandex/cloud/smartwebsecurity/v1/waf/waf_profile_service_pb2.py +76 -0
  105. yandex/cloud/smartwebsecurity/v1/waf/waf_profile_service_pb2.pyi +283 -0
  106. yandex/cloud/smartwebsecurity/v1/waf/waf_profile_service_pb2_grpc.py +208 -0
  107. yandex/cloud/smartwebsecurity/v1/waf/waf_profile_service_pb2_grpc.pyi +132 -0
  108. yandex/cloud/speechsense/v1/analysis/summarization_pb2.py +32 -0
  109. yandex/cloud/speechsense/v1/analysis/summarization_pb2.pyi +95 -0
  110. yandex/cloud/speechsense/v1/analysis/summarization_pb2_grpc.py +4 -0
  111. yandex/cloud/speechsense/v1/analysis/summarization_pb2_grpc.pyi +17 -0
  112. yandex/cloud/speechsense/v1/project_pb2.py +29 -0
  113. yandex/cloud/speechsense/v1/project_pb2.pyi +79 -0
  114. yandex/cloud/speechsense/v1/project_pb2_grpc.py +4 -0
  115. yandex/cloud/speechsense/v1/project_pb2_grpc.pyi +17 -0
  116. yandex/cloud/speechsense/v1/project_service_pb2.py +35 -0
  117. yandex/cloud/speechsense/v1/project_service_pb2.pyi +59 -0
  118. yandex/cloud/speechsense/v1/project_service_pb2_grpc.py +68 -0
  119. yandex/cloud/speechsense/v1/project_service_pb2_grpc.pyi +45 -0
  120. yandex/cloud/speechsense/v1/talk_pb2.py +8 -7
  121. yandex/cloud/speechsense/v1/talk_pb2.pyi +7 -2
  122. yandex/cloud/video/v1/channel_service_pb2.py +33 -28
  123. yandex/cloud/video/v1/episode_service_pb2.py +56 -47
  124. yandex/cloud/video/v1/stream_line_service_pb2.py +67 -60
  125. yandex/cloud/video/v1/stream_service_pb2.py +46 -41
  126. yandex/cloud/video/v1/thumbnail_service_pb2.py +29 -22
  127. yandex/cloud/video/v1/video_service_pb2.py +62 -53
  128. {yandexcloud-0.316.0.dist-info → yandexcloud-0.317.0.dist-info}/METADATA +1 -1
  129. {yandexcloud-0.316.0.dist-info → yandexcloud-0.317.0.dist-info}/RECORD +133 -39
  130. {yandexcloud-0.316.0.dist-info → yandexcloud-0.317.0.dist-info}/WHEEL +1 -1
  131. {yandexcloud-0.316.0.dist-info → yandexcloud-0.317.0.dist-info}/AUTHORS +0 -0
  132. {yandexcloud-0.316.0.dist-info → yandexcloud-0.317.0.dist-info}/LICENSE +0 -0
  133. {yandexcloud-0.316.0.dist-info → yandexcloud-0.317.0.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,78 @@
1
+ # -*- coding: utf-8 -*-
2
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
3
+ # source: yandex/cloud/smartwebsecurity/v1/advanced_rate_limiter/advanced_rate_limiter_profile_service.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.api import annotations_pb2 as google_dot_api_dot_annotations__pb2
15
+ from google.protobuf import field_mask_pb2 as google_dot_protobuf_dot_field__mask__pb2
16
+ from yandex.cloud.api import operation_pb2 as yandex_dot_cloud_dot_api_dot_operation__pb2
17
+ from yandex.cloud.operation import operation_pb2 as yandex_dot_cloud_dot_operation_dot_operation__pb2
18
+ from yandex.cloud.smartwebsecurity.v1.advanced_rate_limiter import advanced_rate_limiter_profile_pb2 as yandex_dot_cloud_dot_smartwebsecurity_dot_v1_dot_advanced__rate__limiter_dot_advanced__rate__limiter__profile__pb2
19
+ from yandex.cloud import validation_pb2 as yandex_dot_cloud_dot_validation__pb2
20
+
21
+
22
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\nbyandex/cloud/smartwebsecurity/v1/advanced_rate_limiter/advanced_rate_limiter_profile_service.proto\x12\x36yandex.cloud.smartwebsecurity.v1.advanced_rate_limiter\x1a\x1cgoogle/api/annotations.proto\x1a google/protobuf/field_mask.proto\x1a yandex/cloud/api/operation.proto\x1a&yandex/cloud/operation/operation.proto\x1aZyandex/cloud/smartwebsecurity/v1/advanced_rate_limiter/advanced_rate_limiter_profile.proto\x1a\x1dyandex/cloud/validation.proto\"V\n$GetAdvancedRateLimiterProfileRequest\x12.\n advanced_rate_limiter_profile_id\x18\x01 \x01(\tB\x04\xe8\xc7\x31\x01\"A\n&ListAdvancedRateLimiterProfilesRequest\x12\x17\n\tfolder_id\x18\x01 \x01(\tB\x04\xe8\xc7\x31\x01\"\xa5\x01\n\'ListAdvancedRateLimiterProfilesResponse\x12z\n\x1e\x61\x64vanced_rate_limiter_profiles\x18\x01 \x03(\x0b\x32R.yandex.cloud.smartwebsecurity.v1.advanced_rate_limiter.AdvancedRateLimiterProfile\"\x87\x03\n\'CreateAdvancedRateLimiterProfileRequest\x12\x17\n\tfolder_id\x18\x01 \x01(\tB\x04\xe8\xc7\x31\x01\x12{\n\x06labels\x18\x02 \x03(\x0b\x32k.yandex.cloud.smartwebsecurity.v1.advanced_rate_limiter.CreateAdvancedRateLimiterProfileRequest.LabelsEntry\x12\x0c\n\x04name\x18\x03 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x04 \x01(\t\x12t\n\x1b\x61\x64vanced_rate_limiter_rules\x18\x05 \x03(\x0b\x32O.yandex.cloud.smartwebsecurity.v1.advanced_rate_limiter.AdvancedRateLimiterRule\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"T\n(CreateAdvancedRateLimiterProfileMetadata\x12(\n advanced_rate_limiter_profile_id\x18\x01 \x01(\t\"\xcf\x03\n\'UpdateAdvancedRateLimiterProfileRequest\x12.\n advanced_rate_limiter_profile_id\x18\x01 \x01(\tB\x04\xe8\xc7\x31\x01\x12/\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\x12{\n\x06labels\x18\x03 \x03(\x0b\x32k.yandex.cloud.smartwebsecurity.v1.advanced_rate_limiter.UpdateAdvancedRateLimiterProfileRequest.LabelsEntry\x12\x0c\n\x04name\x18\x04 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x05 \x01(\t\x12t\n\x1b\x61\x64vanced_rate_limiter_rules\x18\x06 \x03(\x0b\x32O.yandex.cloud.smartwebsecurity.v1.advanced_rate_limiter.AdvancedRateLimiterRule\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"T\n(UpdateAdvancedRateLimiterProfileMetadata\x12(\n advanced_rate_limiter_profile_id\x18\x01 \x01(\t\"Y\n\'DeleteAdvancedRateLimiterProfileRequest\x12.\n advanced_rate_limiter_profile_id\x18\x01 \x01(\tB\x04\xe8\xc7\x31\x01\"T\n(DeleteAdvancedRateLimiterProfileMetadata\x12(\n advanced_rate_limiter_profile_id\x18\x01 \x01(\t2\xc1\x0b\n!AdvancedRateLimiterProfileService\x12\x94\x02\n\x03Get\x12\\.yandex.cloud.smartwebsecurity.v1.advanced_rate_limiter.GetAdvancedRateLimiterProfileRequest\x1aR.yandex.cloud.smartwebsecurity.v1.advanced_rate_limiter.AdvancedRateLimiterProfile\"[\x82\xd3\xe4\x93\x02U\x12S/smartwebsecurity/v1/advancedRateLimiterProfiles/{advanced_rate_limiter_profile_id}\x12\x81\x02\n\x04List\x12^.yandex.cloud.smartwebsecurity.v1.advanced_rate_limiter.ListAdvancedRateLimiterProfilesRequest\x1a_.yandex.cloud.smartwebsecurity.v1.advanced_rate_limiter.ListAdvancedRateLimiterProfilesResponse\"8\x82\xd3\xe4\x93\x02\x32\x12\x30/smartwebsecurity/v1/advancedRateLimiterProfiles\x12\x94\x02\n\x06\x43reate\x12_.yandex.cloud.smartwebsecurity.v1.advanced_rate_limiter.CreateAdvancedRateLimiterProfileRequest\x1a!.yandex.cloud.operation.Operation\"\x85\x01\xb2\xd2*F\n(CreateAdvancedRateLimiterProfileMetadata\x12\x1a\x41\x64vancedRateLimiterProfile\x82\xd3\xe4\x93\x02\x35\"0/smartwebsecurity/v1/advancedRateLimiterProfiles:\x01*\x12\xb7\x02\n\x06Update\x12_.yandex.cloud.smartwebsecurity.v1.advanced_rate_limiter.UpdateAdvancedRateLimiterProfileRequest\x1a!.yandex.cloud.operation.Operation\"\xa8\x01\xb2\xd2*F\n(UpdateAdvancedRateLimiterProfileMetadata\x12\x1a\x41\x64vancedRateLimiterProfile\x82\xd3\xe4\x93\x02X2S/smartwebsecurity/v1/advancedRateLimiterProfiles/{advanced_rate_limiter_profile_id}:\x01*\x12\xaf\x02\n\x06\x44\x65lete\x12_.yandex.cloud.smartwebsecurity.v1.advanced_rate_limiter.DeleteAdvancedRateLimiterProfileRequest\x1a!.yandex.cloud.operation.Operation\"\xa0\x01\xb2\xd2*A\n(DeleteAdvancedRateLimiterProfileMetadata\x12\x15google.protobuf.Empty\x82\xd3\xe4\x93\x02U*S/smartwebsecurity/v1/advancedRateLimiterProfiles/{advanced_rate_limiter_profile_id}B\xa9\x01\n:yandex.cloud.api.smartwebsecurity.v1.advanced_rate_limiterZkgithub.com/yandex-cloud/go-genproto/yandex/cloud/smartwebsecurity/v1/advanced_rate_limiter;smartwebsecurityb\x06proto3')
23
+
24
+ _globals = globals()
25
+ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
26
+ _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'yandex.cloud.smartwebsecurity.v1.advanced_rate_limiter.advanced_rate_limiter_profile_service_pb2', _globals)
27
+ if _descriptor._USE_C_DESCRIPTORS == False:
28
+ DESCRIPTOR._options = None
29
+ DESCRIPTOR._serialized_options = b'\n:yandex.cloud.api.smartwebsecurity.v1.advanced_rate_limiterZkgithub.com/yandex-cloud/go-genproto/yandex/cloud/smartwebsecurity/v1/advanced_rate_limiter;smartwebsecurity'
30
+ _GETADVANCEDRATELIMITERPROFILEREQUEST.fields_by_name['advanced_rate_limiter_profile_id']._options = None
31
+ _GETADVANCEDRATELIMITERPROFILEREQUEST.fields_by_name['advanced_rate_limiter_profile_id']._serialized_options = b'\350\3071\001'
32
+ _LISTADVANCEDRATELIMITERPROFILESREQUEST.fields_by_name['folder_id']._options = None
33
+ _LISTADVANCEDRATELIMITERPROFILESREQUEST.fields_by_name['folder_id']._serialized_options = b'\350\3071\001'
34
+ _CREATEADVANCEDRATELIMITERPROFILEREQUEST_LABELSENTRY._options = None
35
+ _CREATEADVANCEDRATELIMITERPROFILEREQUEST_LABELSENTRY._serialized_options = b'8\001'
36
+ _CREATEADVANCEDRATELIMITERPROFILEREQUEST.fields_by_name['folder_id']._options = None
37
+ _CREATEADVANCEDRATELIMITERPROFILEREQUEST.fields_by_name['folder_id']._serialized_options = b'\350\3071\001'
38
+ _UPDATEADVANCEDRATELIMITERPROFILEREQUEST_LABELSENTRY._options = None
39
+ _UPDATEADVANCEDRATELIMITERPROFILEREQUEST_LABELSENTRY._serialized_options = b'8\001'
40
+ _UPDATEADVANCEDRATELIMITERPROFILEREQUEST.fields_by_name['advanced_rate_limiter_profile_id']._options = None
41
+ _UPDATEADVANCEDRATELIMITERPROFILEREQUEST.fields_by_name['advanced_rate_limiter_profile_id']._serialized_options = b'\350\3071\001'
42
+ _DELETEADVANCEDRATELIMITERPROFILEREQUEST.fields_by_name['advanced_rate_limiter_profile_id']._options = None
43
+ _DELETEADVANCEDRATELIMITERPROFILEREQUEST.fields_by_name['advanced_rate_limiter_profile_id']._serialized_options = b'\350\3071\001'
44
+ _ADVANCEDRATELIMITERPROFILESERVICE.methods_by_name['Get']._options = None
45
+ _ADVANCEDRATELIMITERPROFILESERVICE.methods_by_name['Get']._serialized_options = b'\202\323\344\223\002U\022S/smartwebsecurity/v1/advancedRateLimiterProfiles/{advanced_rate_limiter_profile_id}'
46
+ _ADVANCEDRATELIMITERPROFILESERVICE.methods_by_name['List']._options = None
47
+ _ADVANCEDRATELIMITERPROFILESERVICE.methods_by_name['List']._serialized_options = b'\202\323\344\223\0022\0220/smartwebsecurity/v1/advancedRateLimiterProfiles'
48
+ _ADVANCEDRATELIMITERPROFILESERVICE.methods_by_name['Create']._options = None
49
+ _ADVANCEDRATELIMITERPROFILESERVICE.methods_by_name['Create']._serialized_options = b'\262\322*F\n(CreateAdvancedRateLimiterProfileMetadata\022\032AdvancedRateLimiterProfile\202\323\344\223\0025\"0/smartwebsecurity/v1/advancedRateLimiterProfiles:\001*'
50
+ _ADVANCEDRATELIMITERPROFILESERVICE.methods_by_name['Update']._options = None
51
+ _ADVANCEDRATELIMITERPROFILESERVICE.methods_by_name['Update']._serialized_options = b'\262\322*F\n(UpdateAdvancedRateLimiterProfileMetadata\022\032AdvancedRateLimiterProfile\202\323\344\223\002X2S/smartwebsecurity/v1/advancedRateLimiterProfiles/{advanced_rate_limiter_profile_id}:\001*'
52
+ _ADVANCEDRATELIMITERPROFILESERVICE.methods_by_name['Delete']._options = None
53
+ _ADVANCEDRATELIMITERPROFILESERVICE.methods_by_name['Delete']._serialized_options = b'\262\322*A\n(DeleteAdvancedRateLimiterProfileMetadata\022\025google.protobuf.Empty\202\323\344\223\002U*S/smartwebsecurity/v1/advancedRateLimiterProfiles/{advanced_rate_limiter_profile_id}'
54
+ _globals['_GETADVANCEDRATELIMITERPROFILEREQUEST']._serialized_start=419
55
+ _globals['_GETADVANCEDRATELIMITERPROFILEREQUEST']._serialized_end=505
56
+ _globals['_LISTADVANCEDRATELIMITERPROFILESREQUEST']._serialized_start=507
57
+ _globals['_LISTADVANCEDRATELIMITERPROFILESREQUEST']._serialized_end=572
58
+ _globals['_LISTADVANCEDRATELIMITERPROFILESRESPONSE']._serialized_start=575
59
+ _globals['_LISTADVANCEDRATELIMITERPROFILESRESPONSE']._serialized_end=740
60
+ _globals['_CREATEADVANCEDRATELIMITERPROFILEREQUEST']._serialized_start=743
61
+ _globals['_CREATEADVANCEDRATELIMITERPROFILEREQUEST']._serialized_end=1134
62
+ _globals['_CREATEADVANCEDRATELIMITERPROFILEREQUEST_LABELSENTRY']._serialized_start=1089
63
+ _globals['_CREATEADVANCEDRATELIMITERPROFILEREQUEST_LABELSENTRY']._serialized_end=1134
64
+ _globals['_CREATEADVANCEDRATELIMITERPROFILEMETADATA']._serialized_start=1136
65
+ _globals['_CREATEADVANCEDRATELIMITERPROFILEMETADATA']._serialized_end=1220
66
+ _globals['_UPDATEADVANCEDRATELIMITERPROFILEREQUEST']._serialized_start=1223
67
+ _globals['_UPDATEADVANCEDRATELIMITERPROFILEREQUEST']._serialized_end=1686
68
+ _globals['_UPDATEADVANCEDRATELIMITERPROFILEREQUEST_LABELSENTRY']._serialized_start=1089
69
+ _globals['_UPDATEADVANCEDRATELIMITERPROFILEREQUEST_LABELSENTRY']._serialized_end=1134
70
+ _globals['_UPDATEADVANCEDRATELIMITERPROFILEMETADATA']._serialized_start=1688
71
+ _globals['_UPDATEADVANCEDRATELIMITERPROFILEMETADATA']._serialized_end=1772
72
+ _globals['_DELETEADVANCEDRATELIMITERPROFILEREQUEST']._serialized_start=1774
73
+ _globals['_DELETEADVANCEDRATELIMITERPROFILEREQUEST']._serialized_end=1863
74
+ _globals['_DELETEADVANCEDRATELIMITERPROFILEMETADATA']._serialized_start=1865
75
+ _globals['_DELETEADVANCEDRATELIMITERPROFILEMETADATA']._serialized_end=1949
76
+ _globals['_ADVANCEDRATELIMITERPROFILESERVICE']._serialized_start=1952
77
+ _globals['_ADVANCEDRATELIMITERPROFILESERVICE']._serialized_end=3425
78
+ # @@protoc_insertion_point(module_scope)
@@ -0,0 +1,244 @@
1
+ """
2
+ @generated by mypy-protobuf. Do not edit manually!
3
+ isort:skip_file
4
+ """
5
+
6
+ import builtins
7
+ import collections.abc
8
+ import google.protobuf.descriptor
9
+ import google.protobuf.field_mask_pb2
10
+ import google.protobuf.internal.containers
11
+ import google.protobuf.message
12
+ import typing
13
+ import yandex.cloud.smartwebsecurity.v1.advanced_rate_limiter.advanced_rate_limiter_profile_pb2
14
+
15
+ DESCRIPTOR: google.protobuf.descriptor.FileDescriptor
16
+
17
+ @typing.final
18
+ class GetAdvancedRateLimiterProfileRequest(google.protobuf.message.Message):
19
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
20
+
21
+ ADVANCED_RATE_LIMITER_PROFILE_ID_FIELD_NUMBER: builtins.int
22
+ advanced_rate_limiter_profile_id: builtins.str
23
+ """ID of the AdvancedRateLimiterProfile resource to return."""
24
+ def __init__(
25
+ self,
26
+ *,
27
+ advanced_rate_limiter_profile_id: builtins.str = ...,
28
+ ) -> None: ...
29
+ def ClearField(self, field_name: typing.Literal["advanced_rate_limiter_profile_id", b"advanced_rate_limiter_profile_id"]) -> None: ...
30
+
31
+ global___GetAdvancedRateLimiterProfileRequest = GetAdvancedRateLimiterProfileRequest
32
+
33
+ @typing.final
34
+ class ListAdvancedRateLimiterProfilesRequest(google.protobuf.message.Message):
35
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
36
+
37
+ FOLDER_ID_FIELD_NUMBER: builtins.int
38
+ folder_id: builtins.str
39
+ """ID of the folder that the ARL profile belongs to.
40
+ Currently page_size, page_token, filter and order_by are not supported and List method will return all ARL profiles in the folder.
41
+ """
42
+ def __init__(
43
+ self,
44
+ *,
45
+ folder_id: builtins.str = ...,
46
+ ) -> None: ...
47
+ def ClearField(self, field_name: typing.Literal["folder_id", b"folder_id"]) -> None: ...
48
+
49
+ global___ListAdvancedRateLimiterProfilesRequest = ListAdvancedRateLimiterProfilesRequest
50
+
51
+ @typing.final
52
+ class ListAdvancedRateLimiterProfilesResponse(google.protobuf.message.Message):
53
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
54
+
55
+ ADVANCED_RATE_LIMITER_PROFILES_FIELD_NUMBER: builtins.int
56
+ @property
57
+ def advanced_rate_limiter_profiles(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[yandex.cloud.smartwebsecurity.v1.advanced_rate_limiter.advanced_rate_limiter_profile_pb2.AdvancedRateLimiterProfile]:
58
+ """List of AdvancedRateLimiterProfile resources.
59
+ Currently next_page_token is not supported and List method will return all ARL profiles in the folder.
60
+ """
61
+
62
+ def __init__(
63
+ self,
64
+ *,
65
+ advanced_rate_limiter_profiles: collections.abc.Iterable[yandex.cloud.smartwebsecurity.v1.advanced_rate_limiter.advanced_rate_limiter_profile_pb2.AdvancedRateLimiterProfile] | None = ...,
66
+ ) -> None: ...
67
+ def ClearField(self, field_name: typing.Literal["advanced_rate_limiter_profiles", b"advanced_rate_limiter_profiles"]) -> None: ...
68
+
69
+ global___ListAdvancedRateLimiterProfilesResponse = ListAdvancedRateLimiterProfilesResponse
70
+
71
+ @typing.final
72
+ class CreateAdvancedRateLimiterProfileRequest(google.protobuf.message.Message):
73
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
74
+
75
+ @typing.final
76
+ class LabelsEntry(google.protobuf.message.Message):
77
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
78
+
79
+ KEY_FIELD_NUMBER: builtins.int
80
+ VALUE_FIELD_NUMBER: builtins.int
81
+ key: builtins.str
82
+ value: builtins.str
83
+ def __init__(
84
+ self,
85
+ *,
86
+ key: builtins.str = ...,
87
+ value: builtins.str = ...,
88
+ ) -> None: ...
89
+ def ClearField(self, field_name: typing.Literal["key", b"key", "value", b"value"]) -> None: ...
90
+
91
+ FOLDER_ID_FIELD_NUMBER: builtins.int
92
+ LABELS_FIELD_NUMBER: builtins.int
93
+ NAME_FIELD_NUMBER: builtins.int
94
+ DESCRIPTION_FIELD_NUMBER: builtins.int
95
+ ADVANCED_RATE_LIMITER_RULES_FIELD_NUMBER: builtins.int
96
+ folder_id: builtins.str
97
+ """ID of the folder to create a ARL profile in."""
98
+ name: builtins.str
99
+ """Name of the ARL profile. The name is unique within the folder. 1-50 characters long."""
100
+ description: builtins.str
101
+ """Optional description of the ARL profile."""
102
+ @property
103
+ def labels(self) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]:
104
+ """Labels as `` key:value `` pairs. Maximum of 64 per resource."""
105
+
106
+ @property
107
+ def advanced_rate_limiter_rules(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[yandex.cloud.smartwebsecurity.v1.advanced_rate_limiter.advanced_rate_limiter_profile_pb2.AdvancedRateLimiterRule]:
108
+ """List of rules."""
109
+
110
+ def __init__(
111
+ self,
112
+ *,
113
+ folder_id: builtins.str = ...,
114
+ labels: collections.abc.Mapping[builtins.str, builtins.str] | None = ...,
115
+ name: builtins.str = ...,
116
+ description: builtins.str = ...,
117
+ advanced_rate_limiter_rules: collections.abc.Iterable[yandex.cloud.smartwebsecurity.v1.advanced_rate_limiter.advanced_rate_limiter_profile_pb2.AdvancedRateLimiterRule] | None = ...,
118
+ ) -> None: ...
119
+ def ClearField(self, field_name: typing.Literal["advanced_rate_limiter_rules", b"advanced_rate_limiter_rules", "description", b"description", "folder_id", b"folder_id", "labels", b"labels", "name", b"name"]) -> None: ...
120
+
121
+ global___CreateAdvancedRateLimiterProfileRequest = CreateAdvancedRateLimiterProfileRequest
122
+
123
+ @typing.final
124
+ class CreateAdvancedRateLimiterProfileMetadata(google.protobuf.message.Message):
125
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
126
+
127
+ ADVANCED_RATE_LIMITER_PROFILE_ID_FIELD_NUMBER: builtins.int
128
+ advanced_rate_limiter_profile_id: builtins.str
129
+ """ID of the ARL profile that is being created."""
130
+ def __init__(
131
+ self,
132
+ *,
133
+ advanced_rate_limiter_profile_id: builtins.str = ...,
134
+ ) -> None: ...
135
+ def ClearField(self, field_name: typing.Literal["advanced_rate_limiter_profile_id", b"advanced_rate_limiter_profile_id"]) -> None: ...
136
+
137
+ global___CreateAdvancedRateLimiterProfileMetadata = CreateAdvancedRateLimiterProfileMetadata
138
+
139
+ @typing.final
140
+ class UpdateAdvancedRateLimiterProfileRequest(google.protobuf.message.Message):
141
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
142
+
143
+ @typing.final
144
+ class LabelsEntry(google.protobuf.message.Message):
145
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
146
+
147
+ KEY_FIELD_NUMBER: builtins.int
148
+ VALUE_FIELD_NUMBER: builtins.int
149
+ key: builtins.str
150
+ value: builtins.str
151
+ def __init__(
152
+ self,
153
+ *,
154
+ key: builtins.str = ...,
155
+ value: builtins.str = ...,
156
+ ) -> None: ...
157
+ def ClearField(self, field_name: typing.Literal["key", b"key", "value", b"value"]) -> None: ...
158
+
159
+ ADVANCED_RATE_LIMITER_PROFILE_ID_FIELD_NUMBER: builtins.int
160
+ UPDATE_MASK_FIELD_NUMBER: builtins.int
161
+ LABELS_FIELD_NUMBER: builtins.int
162
+ NAME_FIELD_NUMBER: builtins.int
163
+ DESCRIPTION_FIELD_NUMBER: builtins.int
164
+ ADVANCED_RATE_LIMITER_RULES_FIELD_NUMBER: builtins.int
165
+ advanced_rate_limiter_profile_id: builtins.str
166
+ """ID of the ARL profile to update."""
167
+ name: builtins.str
168
+ """Name of the ARL profile. The name is unique within the folder. 1-50 characters long."""
169
+ description: builtins.str
170
+ """Optional description of the ARL profile."""
171
+ @property
172
+ def update_mask(self) -> google.protobuf.field_mask_pb2.FieldMask:
173
+ """Field mask that specifies which fields of the AdvancedRateLimiterProfile resource are going to be updated."""
174
+
175
+ @property
176
+ def labels(self) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]:
177
+ """Labels as `` key:value `` pairs. Maximum of 64 per resource."""
178
+
179
+ @property
180
+ def advanced_rate_limiter_rules(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[yandex.cloud.smartwebsecurity.v1.advanced_rate_limiter.advanced_rate_limiter_profile_pb2.AdvancedRateLimiterRule]:
181
+ """List of rules."""
182
+
183
+ def __init__(
184
+ self,
185
+ *,
186
+ advanced_rate_limiter_profile_id: builtins.str = ...,
187
+ update_mask: google.protobuf.field_mask_pb2.FieldMask | None = ...,
188
+ labels: collections.abc.Mapping[builtins.str, builtins.str] | None = ...,
189
+ name: builtins.str = ...,
190
+ description: builtins.str = ...,
191
+ advanced_rate_limiter_rules: collections.abc.Iterable[yandex.cloud.smartwebsecurity.v1.advanced_rate_limiter.advanced_rate_limiter_profile_pb2.AdvancedRateLimiterRule] | None = ...,
192
+ ) -> None: ...
193
+ def HasField(self, field_name: typing.Literal["update_mask", b"update_mask"]) -> builtins.bool: ...
194
+ def ClearField(self, field_name: typing.Literal["advanced_rate_limiter_profile_id", b"advanced_rate_limiter_profile_id", "advanced_rate_limiter_rules", b"advanced_rate_limiter_rules", "description", b"description", "labels", b"labels", "name", b"name", "update_mask", b"update_mask"]) -> None: ...
195
+
196
+ global___UpdateAdvancedRateLimiterProfileRequest = UpdateAdvancedRateLimiterProfileRequest
197
+
198
+ @typing.final
199
+ class UpdateAdvancedRateLimiterProfileMetadata(google.protobuf.message.Message):
200
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
201
+
202
+ ADVANCED_RATE_LIMITER_PROFILE_ID_FIELD_NUMBER: builtins.int
203
+ advanced_rate_limiter_profile_id: builtins.str
204
+ """ID of the AdvancedRateLimiterProfile resource that is being updated."""
205
+ def __init__(
206
+ self,
207
+ *,
208
+ advanced_rate_limiter_profile_id: builtins.str = ...,
209
+ ) -> None: ...
210
+ def ClearField(self, field_name: typing.Literal["advanced_rate_limiter_profile_id", b"advanced_rate_limiter_profile_id"]) -> None: ...
211
+
212
+ global___UpdateAdvancedRateLimiterProfileMetadata = UpdateAdvancedRateLimiterProfileMetadata
213
+
214
+ @typing.final
215
+ class DeleteAdvancedRateLimiterProfileRequest(google.protobuf.message.Message):
216
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
217
+
218
+ ADVANCED_RATE_LIMITER_PROFILE_ID_FIELD_NUMBER: builtins.int
219
+ advanced_rate_limiter_profile_id: builtins.str
220
+ """ID of the ARL profile to delete."""
221
+ def __init__(
222
+ self,
223
+ *,
224
+ advanced_rate_limiter_profile_id: builtins.str = ...,
225
+ ) -> None: ...
226
+ def ClearField(self, field_name: typing.Literal["advanced_rate_limiter_profile_id", b"advanced_rate_limiter_profile_id"]) -> None: ...
227
+
228
+ global___DeleteAdvancedRateLimiterProfileRequest = DeleteAdvancedRateLimiterProfileRequest
229
+
230
+ @typing.final
231
+ class DeleteAdvancedRateLimiterProfileMetadata(google.protobuf.message.Message):
232
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
233
+
234
+ ADVANCED_RATE_LIMITER_PROFILE_ID_FIELD_NUMBER: builtins.int
235
+ advanced_rate_limiter_profile_id: builtins.str
236
+ """ID of the AdvancedRateLimiterProfile resource that is being deleted."""
237
+ def __init__(
238
+ self,
239
+ *,
240
+ advanced_rate_limiter_profile_id: builtins.str = ...,
241
+ ) -> None: ...
242
+ def ClearField(self, field_name: typing.Literal["advanced_rate_limiter_profile_id", b"advanced_rate_limiter_profile_id"]) -> None: ...
243
+
244
+ global___DeleteAdvancedRateLimiterProfileMetadata = DeleteAdvancedRateLimiterProfileMetadata
@@ -0,0 +1,208 @@
1
+ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT!
2
+ """Client and server classes corresponding to protobuf-defined services."""
3
+ import grpc
4
+
5
+ from yandex.cloud.operation import operation_pb2 as yandex_dot_cloud_dot_operation_dot_operation__pb2
6
+ from yandex.cloud.smartwebsecurity.v1.advanced_rate_limiter import advanced_rate_limiter_profile_pb2 as yandex_dot_cloud_dot_smartwebsecurity_dot_v1_dot_advanced__rate__limiter_dot_advanced__rate__limiter__profile__pb2
7
+ from yandex.cloud.smartwebsecurity.v1.advanced_rate_limiter import advanced_rate_limiter_profile_service_pb2 as yandex_dot_cloud_dot_smartwebsecurity_dot_v1_dot_advanced__rate__limiter_dot_advanced__rate__limiter__profile__service__pb2
8
+
9
+
10
+ class AdvancedRateLimiterProfileServiceStub(object):
11
+ """A set of methods for managing AdvancedRateLimiterProfile resources.
12
+ """
13
+
14
+ def __init__(self, channel):
15
+ """Constructor.
16
+
17
+ Args:
18
+ channel: A grpc.Channel.
19
+ """
20
+ self.Get = channel.unary_unary(
21
+ '/yandex.cloud.smartwebsecurity.v1.advanced_rate_limiter.AdvancedRateLimiterProfileService/Get',
22
+ request_serializer=yandex_dot_cloud_dot_smartwebsecurity_dot_v1_dot_advanced__rate__limiter_dot_advanced__rate__limiter__profile__service__pb2.GetAdvancedRateLimiterProfileRequest.SerializeToString,
23
+ response_deserializer=yandex_dot_cloud_dot_smartwebsecurity_dot_v1_dot_advanced__rate__limiter_dot_advanced__rate__limiter__profile__pb2.AdvancedRateLimiterProfile.FromString,
24
+ )
25
+ self.List = channel.unary_unary(
26
+ '/yandex.cloud.smartwebsecurity.v1.advanced_rate_limiter.AdvancedRateLimiterProfileService/List',
27
+ request_serializer=yandex_dot_cloud_dot_smartwebsecurity_dot_v1_dot_advanced__rate__limiter_dot_advanced__rate__limiter__profile__service__pb2.ListAdvancedRateLimiterProfilesRequest.SerializeToString,
28
+ response_deserializer=yandex_dot_cloud_dot_smartwebsecurity_dot_v1_dot_advanced__rate__limiter_dot_advanced__rate__limiter__profile__service__pb2.ListAdvancedRateLimiterProfilesResponse.FromString,
29
+ )
30
+ self.Create = channel.unary_unary(
31
+ '/yandex.cloud.smartwebsecurity.v1.advanced_rate_limiter.AdvancedRateLimiterProfileService/Create',
32
+ request_serializer=yandex_dot_cloud_dot_smartwebsecurity_dot_v1_dot_advanced__rate__limiter_dot_advanced__rate__limiter__profile__service__pb2.CreateAdvancedRateLimiterProfileRequest.SerializeToString,
33
+ response_deserializer=yandex_dot_cloud_dot_operation_dot_operation__pb2.Operation.FromString,
34
+ )
35
+ self.Update = channel.unary_unary(
36
+ '/yandex.cloud.smartwebsecurity.v1.advanced_rate_limiter.AdvancedRateLimiterProfileService/Update',
37
+ request_serializer=yandex_dot_cloud_dot_smartwebsecurity_dot_v1_dot_advanced__rate__limiter_dot_advanced__rate__limiter__profile__service__pb2.UpdateAdvancedRateLimiterProfileRequest.SerializeToString,
38
+ response_deserializer=yandex_dot_cloud_dot_operation_dot_operation__pb2.Operation.FromString,
39
+ )
40
+ self.Delete = channel.unary_unary(
41
+ '/yandex.cloud.smartwebsecurity.v1.advanced_rate_limiter.AdvancedRateLimiterProfileService/Delete',
42
+ request_serializer=yandex_dot_cloud_dot_smartwebsecurity_dot_v1_dot_advanced__rate__limiter_dot_advanced__rate__limiter__profile__service__pb2.DeleteAdvancedRateLimiterProfileRequest.SerializeToString,
43
+ response_deserializer=yandex_dot_cloud_dot_operation_dot_operation__pb2.Operation.FromString,
44
+ )
45
+
46
+
47
+ class AdvancedRateLimiterProfileServiceServicer(object):
48
+ """A set of methods for managing AdvancedRateLimiterProfile resources.
49
+ """
50
+
51
+ def Get(self, request, context):
52
+ """Returns the specified AdvancedRateLimiterProfile resource.
53
+ """
54
+ context.set_code(grpc.StatusCode.UNIMPLEMENTED)
55
+ context.set_details('Method not implemented!')
56
+ raise NotImplementedError('Method not implemented!')
57
+
58
+ def List(self, request, context):
59
+ """Retrieves the list of AdvancedRateLimiterProfile resources in the specified folder.
60
+ """
61
+ context.set_code(grpc.StatusCode.UNIMPLEMENTED)
62
+ context.set_details('Method not implemented!')
63
+ raise NotImplementedError('Method not implemented!')
64
+
65
+ def Create(self, request, context):
66
+ """Creates a ARL profile in the specified folder using the data specified in the request.
67
+ """
68
+ context.set_code(grpc.StatusCode.UNIMPLEMENTED)
69
+ context.set_details('Method not implemented!')
70
+ raise NotImplementedError('Method not implemented!')
71
+
72
+ def Update(self, request, context):
73
+ """Updates the specified ARL profile.
74
+ """
75
+ context.set_code(grpc.StatusCode.UNIMPLEMENTED)
76
+ context.set_details('Method not implemented!')
77
+ raise NotImplementedError('Method not implemented!')
78
+
79
+ def Delete(self, request, context):
80
+ """Deletes the specified ARL profile.
81
+ """
82
+ context.set_code(grpc.StatusCode.UNIMPLEMENTED)
83
+ context.set_details('Method not implemented!')
84
+ raise NotImplementedError('Method not implemented!')
85
+
86
+
87
+ def add_AdvancedRateLimiterProfileServiceServicer_to_server(servicer, server):
88
+ rpc_method_handlers = {
89
+ 'Get': grpc.unary_unary_rpc_method_handler(
90
+ servicer.Get,
91
+ request_deserializer=yandex_dot_cloud_dot_smartwebsecurity_dot_v1_dot_advanced__rate__limiter_dot_advanced__rate__limiter__profile__service__pb2.GetAdvancedRateLimiterProfileRequest.FromString,
92
+ response_serializer=yandex_dot_cloud_dot_smartwebsecurity_dot_v1_dot_advanced__rate__limiter_dot_advanced__rate__limiter__profile__pb2.AdvancedRateLimiterProfile.SerializeToString,
93
+ ),
94
+ 'List': grpc.unary_unary_rpc_method_handler(
95
+ servicer.List,
96
+ request_deserializer=yandex_dot_cloud_dot_smartwebsecurity_dot_v1_dot_advanced__rate__limiter_dot_advanced__rate__limiter__profile__service__pb2.ListAdvancedRateLimiterProfilesRequest.FromString,
97
+ response_serializer=yandex_dot_cloud_dot_smartwebsecurity_dot_v1_dot_advanced__rate__limiter_dot_advanced__rate__limiter__profile__service__pb2.ListAdvancedRateLimiterProfilesResponse.SerializeToString,
98
+ ),
99
+ 'Create': grpc.unary_unary_rpc_method_handler(
100
+ servicer.Create,
101
+ request_deserializer=yandex_dot_cloud_dot_smartwebsecurity_dot_v1_dot_advanced__rate__limiter_dot_advanced__rate__limiter__profile__service__pb2.CreateAdvancedRateLimiterProfileRequest.FromString,
102
+ response_serializer=yandex_dot_cloud_dot_operation_dot_operation__pb2.Operation.SerializeToString,
103
+ ),
104
+ 'Update': grpc.unary_unary_rpc_method_handler(
105
+ servicer.Update,
106
+ request_deserializer=yandex_dot_cloud_dot_smartwebsecurity_dot_v1_dot_advanced__rate__limiter_dot_advanced__rate__limiter__profile__service__pb2.UpdateAdvancedRateLimiterProfileRequest.FromString,
107
+ response_serializer=yandex_dot_cloud_dot_operation_dot_operation__pb2.Operation.SerializeToString,
108
+ ),
109
+ 'Delete': grpc.unary_unary_rpc_method_handler(
110
+ servicer.Delete,
111
+ request_deserializer=yandex_dot_cloud_dot_smartwebsecurity_dot_v1_dot_advanced__rate__limiter_dot_advanced__rate__limiter__profile__service__pb2.DeleteAdvancedRateLimiterProfileRequest.FromString,
112
+ response_serializer=yandex_dot_cloud_dot_operation_dot_operation__pb2.Operation.SerializeToString,
113
+ ),
114
+ }
115
+ generic_handler = grpc.method_handlers_generic_handler(
116
+ 'yandex.cloud.smartwebsecurity.v1.advanced_rate_limiter.AdvancedRateLimiterProfileService', rpc_method_handlers)
117
+ server.add_generic_rpc_handlers((generic_handler,))
118
+
119
+
120
+ # This class is part of an EXPERIMENTAL API.
121
+ class AdvancedRateLimiterProfileService(object):
122
+ """A set of methods for managing AdvancedRateLimiterProfile resources.
123
+ """
124
+
125
+ @staticmethod
126
+ def Get(request,
127
+ target,
128
+ options=(),
129
+ channel_credentials=None,
130
+ call_credentials=None,
131
+ insecure=False,
132
+ compression=None,
133
+ wait_for_ready=None,
134
+ timeout=None,
135
+ metadata=None):
136
+ return grpc.experimental.unary_unary(request, target, '/yandex.cloud.smartwebsecurity.v1.advanced_rate_limiter.AdvancedRateLimiterProfileService/Get',
137
+ yandex_dot_cloud_dot_smartwebsecurity_dot_v1_dot_advanced__rate__limiter_dot_advanced__rate__limiter__profile__service__pb2.GetAdvancedRateLimiterProfileRequest.SerializeToString,
138
+ yandex_dot_cloud_dot_smartwebsecurity_dot_v1_dot_advanced__rate__limiter_dot_advanced__rate__limiter__profile__pb2.AdvancedRateLimiterProfile.FromString,
139
+ options, channel_credentials,
140
+ insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
141
+
142
+ @staticmethod
143
+ def List(request,
144
+ target,
145
+ options=(),
146
+ channel_credentials=None,
147
+ call_credentials=None,
148
+ insecure=False,
149
+ compression=None,
150
+ wait_for_ready=None,
151
+ timeout=None,
152
+ metadata=None):
153
+ return grpc.experimental.unary_unary(request, target, '/yandex.cloud.smartwebsecurity.v1.advanced_rate_limiter.AdvancedRateLimiterProfileService/List',
154
+ yandex_dot_cloud_dot_smartwebsecurity_dot_v1_dot_advanced__rate__limiter_dot_advanced__rate__limiter__profile__service__pb2.ListAdvancedRateLimiterProfilesRequest.SerializeToString,
155
+ yandex_dot_cloud_dot_smartwebsecurity_dot_v1_dot_advanced__rate__limiter_dot_advanced__rate__limiter__profile__service__pb2.ListAdvancedRateLimiterProfilesResponse.FromString,
156
+ options, channel_credentials,
157
+ insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
158
+
159
+ @staticmethod
160
+ def Create(request,
161
+ target,
162
+ options=(),
163
+ channel_credentials=None,
164
+ call_credentials=None,
165
+ insecure=False,
166
+ compression=None,
167
+ wait_for_ready=None,
168
+ timeout=None,
169
+ metadata=None):
170
+ return grpc.experimental.unary_unary(request, target, '/yandex.cloud.smartwebsecurity.v1.advanced_rate_limiter.AdvancedRateLimiterProfileService/Create',
171
+ yandex_dot_cloud_dot_smartwebsecurity_dot_v1_dot_advanced__rate__limiter_dot_advanced__rate__limiter__profile__service__pb2.CreateAdvancedRateLimiterProfileRequest.SerializeToString,
172
+ yandex_dot_cloud_dot_operation_dot_operation__pb2.Operation.FromString,
173
+ options, channel_credentials,
174
+ insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
175
+
176
+ @staticmethod
177
+ def Update(request,
178
+ target,
179
+ options=(),
180
+ channel_credentials=None,
181
+ call_credentials=None,
182
+ insecure=False,
183
+ compression=None,
184
+ wait_for_ready=None,
185
+ timeout=None,
186
+ metadata=None):
187
+ return grpc.experimental.unary_unary(request, target, '/yandex.cloud.smartwebsecurity.v1.advanced_rate_limiter.AdvancedRateLimiterProfileService/Update',
188
+ yandex_dot_cloud_dot_smartwebsecurity_dot_v1_dot_advanced__rate__limiter_dot_advanced__rate__limiter__profile__service__pb2.UpdateAdvancedRateLimiterProfileRequest.SerializeToString,
189
+ yandex_dot_cloud_dot_operation_dot_operation__pb2.Operation.FromString,
190
+ options, channel_credentials,
191
+ insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
192
+
193
+ @staticmethod
194
+ def Delete(request,
195
+ target,
196
+ options=(),
197
+ channel_credentials=None,
198
+ call_credentials=None,
199
+ insecure=False,
200
+ compression=None,
201
+ wait_for_ready=None,
202
+ timeout=None,
203
+ metadata=None):
204
+ return grpc.experimental.unary_unary(request, target, '/yandex.cloud.smartwebsecurity.v1.advanced_rate_limiter.AdvancedRateLimiterProfileService/Delete',
205
+ yandex_dot_cloud_dot_smartwebsecurity_dot_v1_dot_advanced__rate__limiter_dot_advanced__rate__limiter__profile__service__pb2.DeleteAdvancedRateLimiterProfileRequest.SerializeToString,
206
+ yandex_dot_cloud_dot_operation_dot_operation__pb2.Operation.FromString,
207
+ options, channel_credentials,
208
+ insecure, call_credentials, compression, wait_for_ready, timeout, metadata)