yandexcloud 0.316.0__py3-none-any.whl → 0.318.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of yandexcloud might be problematic. Click here for more details.
- yandex/cloud/ai/assistants/__init__.py +0 -0
- yandex/cloud/ai/assistants/v1/__init__.py +0 -0
- yandex/cloud/ai/assistants/v1/assistant_pb2.py +33 -0
- yandex/cloud/ai/assistants/v1/assistant_pb2.pyi +101 -0
- yandex/cloud/ai/assistants/v1/assistant_pb2_grpc.py +4 -0
- yandex/cloud/ai/assistants/v1/assistant_pb2_grpc.pyi +17 -0
- yandex/cloud/ai/assistants/v1/assistant_service_pb2.py +88 -0
- yandex/cloud/ai/assistants/v1/assistant_service_pb2.pyi +293 -0
- yandex/cloud/ai/assistants/v1/assistant_service_pb2_grpc.py +232 -0
- yandex/cloud/ai/assistants/v1/assistant_service_pb2_grpc.pyi +127 -0
- yandex/cloud/ai/assistants/v1/common_pb2.py +33 -0
- yandex/cloud/ai/assistants/v1/common_pb2.pyi +91 -0
- yandex/cloud/ai/assistants/v1/common_pb2_grpc.py +4 -0
- yandex/cloud/ai/assistants/v1/common_pb2_grpc.pyi +17 -0
- yandex/cloud/ai/assistants/v1/runs/__init__.py +0 -0
- yandex/cloud/ai/assistants/v1/runs/run_pb2.py +40 -0
- yandex/cloud/ai/assistants/v1/runs/run_pb2.pyi +154 -0
- yandex/cloud/ai/assistants/v1/runs/run_pb2_grpc.py +4 -0
- yandex/cloud/ai/assistants/v1/runs/run_pb2_grpc.pyi +17 -0
- yandex/cloud/ai/assistants/v1/runs/run_service_pb2.py +77 -0
- yandex/cloud/ai/assistants/v1/runs/run_service_pb2.pyi +237 -0
- yandex/cloud/ai/assistants/v1/runs/run_service_pb2_grpc.py +199 -0
- yandex/cloud/ai/assistants/v1/runs/run_service_pb2_grpc.pyi +110 -0
- yandex/cloud/ai/assistants/v1/searchindex/__init__.py +0 -0
- yandex/cloud/ai/assistants/v1/searchindex/common_pb2.py +28 -0
- yandex/cloud/ai/assistants/v1/searchindex/common_pb2.pyi +47 -0
- yandex/cloud/ai/assistants/v1/searchindex/common_pb2_grpc.py +4 -0
- yandex/cloud/ai/assistants/v1/searchindex/common_pb2_grpc.pyi +17 -0
- yandex/cloud/ai/assistants/v1/searchindex/search_index_file_pb2.py +28 -0
- yandex/cloud/ai/assistants/v1/searchindex/search_index_file_pb2.pyi +43 -0
- yandex/cloud/ai/assistants/v1/searchindex/search_index_file_pb2_grpc.py +4 -0
- yandex/cloud/ai/assistants/v1/searchindex/search_index_file_pb2_grpc.pyi +17 -0
- yandex/cloud/ai/assistants/v1/searchindex/search_index_file_service_pb2.py +45 -0
- yandex/cloud/ai/assistants/v1/searchindex/search_index_file_service_pb2.pyi +72 -0
- yandex/cloud/ai/assistants/v1/searchindex/search_index_file_service_pb2_grpc.py +100 -0
- yandex/cloud/ai/assistants/v1/searchindex/search_index_file_service_pb2_grpc.pyi +59 -0
- yandex/cloud/ai/assistants/v1/searchindex/search_index_pb2.py +37 -0
- yandex/cloud/ai/assistants/v1/searchindex/search_index_pb2.pyi +132 -0
- yandex/cloud/ai/assistants/v1/searchindex/search_index_pb2_grpc.py +4 -0
- yandex/cloud/ai/assistants/v1/searchindex/search_index_pb2_grpc.pyi +17 -0
- yandex/cloud/ai/assistants/v1/searchindex/search_index_service_pb2.py +77 -0
- yandex/cloud/ai/assistants/v1/searchindex/search_index_service_pb2.pyi +205 -0
- yandex/cloud/ai/assistants/v1/searchindex/search_index_service_pb2_grpc.py +200 -0
- yandex/cloud/ai/assistants/v1/searchindex/search_index_service_pb2_grpc.pyi +111 -0
- yandex/cloud/ai/assistants/v1/threads/__init__.py +0 -0
- yandex/cloud/ai/assistants/v1/threads/message_pb2.py +45 -0
- yandex/cloud/ai/assistants/v1/threads/message_pb2.pyi +176 -0
- yandex/cloud/ai/assistants/v1/threads/message_pb2_grpc.py +4 -0
- yandex/cloud/ai/assistants/v1/threads/message_pb2_grpc.pyi +17 -0
- yandex/cloud/ai/assistants/v1/threads/message_service_pb2.py +55 -0
- yandex/cloud/ai/assistants/v1/threads/message_service_pb2.pyi +91 -0
- yandex/cloud/ai/assistants/v1/threads/message_service_pb2_grpc.py +133 -0
- yandex/cloud/ai/assistants/v1/threads/message_service_pb2_grpc.pyi +76 -0
- yandex/cloud/ai/assistants/v1/threads/thread_pb2.py +32 -0
- yandex/cloud/ai/assistants/v1/threads/thread_pb2.pyi +85 -0
- yandex/cloud/ai/assistants/v1/threads/thread_pb2_grpc.py +4 -0
- yandex/cloud/ai/assistants/v1/threads/thread_pb2_grpc.pyi +17 -0
- yandex/cloud/ai/assistants/v1/threads/thread_service_pb2.py +76 -0
- yandex/cloud/ai/assistants/v1/threads/thread_service_pb2.pyi +200 -0
- yandex/cloud/ai/assistants/v1/threads/thread_service_pb2_grpc.py +199 -0
- yandex/cloud/ai/assistants/v1/threads/thread_service_pb2_grpc.pyi +110 -0
- yandex/cloud/ai/assistants/v1/users/__init__.py +0 -0
- yandex/cloud/ai/assistants/v1/users/user_pb2.py +32 -0
- yandex/cloud/ai/assistants/v1/users/user_pb2.pyi +85 -0
- yandex/cloud/ai/assistants/v1/users/user_pb2_grpc.py +4 -0
- yandex/cloud/ai/assistants/v1/users/user_pb2_grpc.pyi +17 -0
- yandex/cloud/ai/assistants/v1/users/user_service_pb2.py +75 -0
- yandex/cloud/ai/assistants/v1/users/user_service_pb2.pyi +195 -0
- yandex/cloud/ai/assistants/v1/users/user_service_pb2_grpc.py +199 -0
- yandex/cloud/ai/assistants/v1/users/user_service_pb2_grpc.pyi +110 -0
- yandex/cloud/ai/common/__init__.py +0 -0
- yandex/cloud/ai/common/common_pb2.py +30 -0
- yandex/cloud/ai/common/common_pb2.pyi +69 -0
- yandex/cloud/ai/common/common_pb2_grpc.py +4 -0
- yandex/cloud/ai/common/common_pb2_grpc.pyi +17 -0
- yandex/cloud/ai/files/__init__.py +0 -0
- yandex/cloud/ai/files/v1/__init__.py +0 -0
- yandex/cloud/ai/files/v1/file_pb2.py +32 -0
- yandex/cloud/ai/files/v1/file_pb2.pyi +85 -0
- yandex/cloud/ai/files/v1/file_pb2_grpc.py +4 -0
- yandex/cloud/ai/files/v1/file_pb2_grpc.pyi +17 -0
- yandex/cloud/ai/files/v1/file_service_pb2.py +85 -0
- yandex/cloud/ai/files/v1/file_service_pb2.pyi +228 -0
- yandex/cloud/ai/files/v1/file_service_pb2_grpc.py +232 -0
- yandex/cloud/ai/files/v1/file_service_pb2_grpc.pyi +127 -0
- yandex/cloud/backup/v1/provider_service_pb2.py +12 -10
- yandex/cloud/backup/v1/provider_service_pb2.pyi +5 -1
- yandex/cloud/backup/v1/resource_pb2.py +10 -10
- yandex/cloud/backup/v1/resource_pb2.pyi +5 -1
- yandex/cloud/billing/v1/customer_pb2.pyi +32 -8
- yandex/cloud/billing/v1/customer_service_pb2.pyi +10 -2
- yandex/cloud/cloudrouter/__init__.py +0 -0
- yandex/cloud/cloudrouter/v1/__init__.py +0 -0
- yandex/cloud/cloudrouter/v1/routing_instance_pb2.py +42 -0
- yandex/cloud/cloudrouter/v1/routing_instance_pb2.pyi +215 -0
- yandex/cloud/cloudrouter/v1/routing_instance_pb2_grpc.py +4 -0
- yandex/cloud/cloudrouter/v1/routing_instance_pb2_grpc.pyi +17 -0
- yandex/cloud/cloudrouter/v1/routing_instance_service_pb2.py +57 -0
- yandex/cloud/cloudrouter/v1/routing_instance_service_pb2.pyi +137 -0
- yandex/cloud/cloudrouter/v1/routing_instance_service_pb2_grpc.py +179 -0
- yandex/cloud/cloudrouter/v1/routing_instance_service_pb2_grpc.pyi +138 -0
- yandex/cloud/datatransfer/v1/transfer_pb2.py +12 -10
- yandex/cloud/datatransfer/v1/transfer_pb2.pyi +17 -3
- yandex/cloud/iam/v1/refresh_token_pb2.py +29 -0
- yandex/cloud/iam/v1/refresh_token_pb2.pyi +98 -0
- yandex/cloud/iam/v1/refresh_token_pb2_grpc.py +4 -0
- yandex/cloud/iam/v1/refresh_token_pb2_grpc.pyi +17 -0
- yandex/cloud/iam/v1/refresh_token_service_pb2.py +67 -0
- yandex/cloud/iam/v1/refresh_token_service_pb2.pyi +186 -0
- yandex/cloud/iam/v1/refresh_token_service_pb2_grpc.py +105 -0
- yandex/cloud/iam/v1/refresh_token_service_pb2_grpc.pyi +71 -0
- yandex/cloud/iam/v1/service_control_pb2.py +5 -5
- yandex/cloud/iam/v1/service_control_pb2.pyi +4 -0
- yandex/cloud/loadtesting/agent/v1/agent_registration_service_pb2.py +18 -11
- yandex/cloud/loadtesting/agent/v1/agent_registration_service_pb2.pyi +23 -1
- yandex/cloud/loadtesting/api/v1/agent/agent_pb2.py +6 -5
- yandex/cloud/loadtesting/api/v1/agent/agent_pb2.pyi +9 -1
- yandex/cloud/loadtesting/api/v1/agent/log_settings_pb2.py +29 -0
- yandex/cloud/loadtesting/api/v1/agent/log_settings_pb2.pyi +27 -0
- yandex/cloud/loadtesting/api/v1/agent/log_settings_pb2_grpc.py +4 -0
- yandex/cloud/loadtesting/api/v1/agent/log_settings_pb2_grpc.pyi +17 -0
- yandex/cloud/loadtesting/api/v1/agent_service_pb2.py +27 -26
- yandex/cloud/loadtesting/api/v1/agent_service_pb2.pyi +9 -2
- yandex/cloud/loadtesting/api/v1/test/imbalance_point_pb2.py +2 -2
- yandex/cloud/loadtesting/api/v1/test/imbalance_point_pb2.pyi +5 -1
- yandex/cloud/lockbox/v1/secret_pb2.py +23 -11
- yandex/cloud/lockbox/v1/secret_pb2.pyi +73 -4
- yandex/cloud/lockbox/v1/secret_service_pb2.py +46 -46
- yandex/cloud/lockbox/v1/secret_service_pb2.pyi +14 -3
- yandex/cloud/mdb/clickhouse/v1/cluster_pb2.py +27 -25
- yandex/cloud/mdb/clickhouse/v1/cluster_pb2.pyi +16 -0
- yandex/cloud/mdb/clickhouse/v1/cluster_service_pb2.py +81 -57
- yandex/cloud/mdb/clickhouse/v1/cluster_service_pb2.pyi +144 -0
- yandex/cloud/mdb/clickhouse/v1/cluster_service_pb2_grpc.py +68 -0
- yandex/cloud/mdb/clickhouse/v1/cluster_service_pb2_grpc.pyi +40 -0
- yandex/cloud/mdb/mysql/v1/backup_service_pb2.py +17 -13
- yandex/cloud/mdb/mysql/v1/backup_service_pb2_grpc.py +35 -0
- yandex/cloud/mdb/mysql/v1/backup_service_pb2_grpc.pyi +21 -0
- yandex/cloud/mdb/opensearch/v1/auth_pb2.py +6 -5
- yandex/cloud/mdb/opensearch/v1/auth_pb2.pyi +9 -1
- yandex/cloud/mdb/opensearch/v1/cluster_pb2.py +50 -43
- yandex/cloud/mdb/opensearch/v1/cluster_pb2.pyi +40 -4
- yandex/cloud/mdb/opensearch/v1/cluster_service_pb2.py +61 -61
- yandex/cloud/mdb/opensearch/v1/cluster_service_pb2.pyi +32 -8
- yandex/cloud/monitoring/v3/chart_widget_pb2.py +46 -44
- yandex/cloud/monitoring/v3/chart_widget_pb2.pyi +28 -2
- yandex/cloud/oauth/claims_pb2.py +8 -7
- yandex/cloud/oauth/claims_pb2.pyi +9 -2
- yandex/cloud/serverless/eventrouter/__init__.py +0 -0
- yandex/cloud/serverless/eventrouter/v1/__init__.py +0 -0
- yandex/cloud/serverless/eventrouter/v1/bus_pb2.py +33 -0
- yandex/cloud/serverless/eventrouter/v1/bus_pb2.pyi +107 -0
- yandex/cloud/serverless/eventrouter/v1/bus_pb2_grpc.py +4 -0
- yandex/cloud/serverless/eventrouter/v1/bus_pb2_grpc.pyi +17 -0
- yandex/cloud/serverless/eventrouter/v1/bus_service_pb2.py +115 -0
- yandex/cloud/serverless/eventrouter/v1/bus_service_pb2.pyi +320 -0
- yandex/cloud/serverless/eventrouter/v1/bus_service_pb2_grpc.py +346 -0
- yandex/cloud/serverless/eventrouter/v1/bus_service_pb2_grpc.pyi +219 -0
- yandex/cloud/serverless/eventrouter/v1/connector_pb2.py +61 -0
- yandex/cloud/serverless/eventrouter/v1/connector_pb2.pyi +223 -0
- yandex/cloud/serverless/eventrouter/v1/connector_pb2_grpc.py +4 -0
- yandex/cloud/serverless/eventrouter/v1/connector_pb2_grpc.pyi +17 -0
- yandex/cloud/serverless/eventrouter/v1/connector_service_pb2.py +135 -0
- yandex/cloud/serverless/eventrouter/v1/connector_service_pb2.pyi +397 -0
- yandex/cloud/serverless/eventrouter/v1/connector_service_pb2_grpc.py +414 -0
- yandex/cloud/serverless/eventrouter/v1/connector_service_pb2_grpc.pyi +259 -0
- yandex/cloud/serverless/eventrouter/v1/event_service_pb2.py +37 -0
- yandex/cloud/serverless/eventrouter/v1/event_service_pb2.pyi +31 -0
- yandex/cloud/serverless/eventrouter/v1/event_service_pb2_grpc.py +71 -0
- yandex/cloud/serverless/eventrouter/v1/event_service_pb2_grpc.pyi +51 -0
- yandex/cloud/serverless/eventrouter/v1/rule_pb2.py +123 -0
- yandex/cloud/serverless/eventrouter/v1/rule_pb2.pyi +534 -0
- yandex/cloud/serverless/eventrouter/v1/rule_pb2_grpc.py +4 -0
- yandex/cloud/serverless/eventrouter/v1/rule_pb2_grpc.pyi +17 -0
- yandex/cloud/serverless/eventrouter/v1/rule_service_pb2.py +139 -0
- yandex/cloud/serverless/eventrouter/v1/rule_service_pb2.pyi +415 -0
- yandex/cloud/serverless/eventrouter/v1/rule_service_pb2_grpc.py +414 -0
- yandex/cloud/serverless/eventrouter/v1/rule_service_pb2_grpc.pyi +259 -0
- yandex/cloud/serverless/functions/v1/function_pb2.py +34 -34
- yandex/cloud/serverless/functions/v1/function_pb2.pyi +8 -0
- yandex/cloud/serverless/workflows/__init__.py +0 -0
- yandex/cloud/serverless/workflows/v1/__init__.py +0 -0
- yandex/cloud/serverless/workflows/v1/execution_pb2.py +43 -0
- yandex/cloud/serverless/workflows/v1/execution_pb2.pyi +203 -0
- yandex/cloud/serverless/workflows/v1/execution_pb2_grpc.py +4 -0
- yandex/cloud/serverless/workflows/v1/execution_pb2_grpc.pyi +17 -0
- yandex/cloud/serverless/workflows/v1/execution_service_pb2.py +74 -0
- yandex/cloud/serverless/workflows/v1/execution_service_pb2.pyi +231 -0
- yandex/cloud/serverless/workflows/v1/execution_service_pb2_grpc.py +206 -0
- yandex/cloud/serverless/workflows/v1/execution_service_pb2_grpc.pyi +130 -0
- yandex/cloud/serverless/workflows/v1/history_entry_pb2.py +41 -0
- yandex/cloud/serverless/workflows/v1/history_entry_pb2.pyi +174 -0
- yandex/cloud/serverless/workflows/v1/history_entry_pb2_grpc.py +4 -0
- yandex/cloud/serverless/workflows/v1/history_entry_pb2_grpc.pyi +17 -0
- yandex/cloud/serverless/workflows/v1/workflow_pb2.py +47 -0
- yandex/cloud/serverless/workflows/v1/workflow_pb2.pyi +260 -0
- yandex/cloud/serverless/workflows/v1/workflow_pb2_grpc.py +4 -0
- yandex/cloud/serverless/workflows/v1/workflow_pb2_grpc.pyi +17 -0
- yandex/cloud/serverless/workflows/v1/workflow_service_pb2.py +112 -0
- yandex/cloud/serverless/workflows/v1/workflow_service_pb2.pyi +395 -0
- yandex/cloud/serverless/workflows/v1/workflow_service_pb2_grpc.py +241 -0
- yandex/cloud/serverless/workflows/v1/workflow_service_pb2_grpc.pyi +151 -0
- yandex/cloud/smartwebsecurity/v1/advanced_rate_limiter/__init__.py +0 -0
- yandex/cloud/smartwebsecurity/v1/advanced_rate_limiter/advanced_rate_limiter_profile_pb2.py +77 -0
- yandex/cloud/smartwebsecurity/v1/advanced_rate_limiter/advanced_rate_limiter_profile_pb2.pyi +352 -0
- yandex/cloud/smartwebsecurity/v1/advanced_rate_limiter/advanced_rate_limiter_profile_pb2_grpc.py +4 -0
- yandex/cloud/smartwebsecurity/v1/advanced_rate_limiter/advanced_rate_limiter_profile_pb2_grpc.pyi +17 -0
- yandex/cloud/smartwebsecurity/v1/advanced_rate_limiter/advanced_rate_limiter_profile_service_pb2.py +78 -0
- yandex/cloud/smartwebsecurity/v1/advanced_rate_limiter/advanced_rate_limiter_profile_service_pb2.pyi +244 -0
- yandex/cloud/smartwebsecurity/v1/advanced_rate_limiter/advanced_rate_limiter_profile_service_pb2_grpc.py +208 -0
- yandex/cloud/smartwebsecurity/v1/advanced_rate_limiter/advanced_rate_limiter_profile_service_pb2_grpc.pyi +132 -0
- yandex/cloud/smartwebsecurity/v1/waf/__init__.py +0 -0
- yandex/cloud/smartwebsecurity/v1/waf/rule_set_descriptor_pb2.py +35 -0
- yandex/cloud/smartwebsecurity/v1/waf/rule_set_descriptor_pb2.pyi +71 -0
- yandex/cloud/smartwebsecurity/v1/waf/rule_set_descriptor_pb2_grpc.py +4 -0
- yandex/cloud/smartwebsecurity/v1/waf/rule_set_descriptor_pb2_grpc.pyi +17 -0
- yandex/cloud/smartwebsecurity/v1/waf/rule_set_descriptor_service_pb2.py +37 -0
- yandex/cloud/smartwebsecurity/v1/waf/rule_set_descriptor_service_pb2.pyi +31 -0
- yandex/cloud/smartwebsecurity/v1/waf/rule_set_descriptor_service_pb2_grpc.py +71 -0
- yandex/cloud/smartwebsecurity/v1/waf/rule_set_descriptor_service_pb2_grpc.pyi +51 -0
- yandex/cloud/smartwebsecurity/v1/waf/waf_profile_pb2.py +81 -0
- yandex/cloud/smartwebsecurity/v1/waf/waf_profile_pb2.pyi +296 -0
- yandex/cloud/smartwebsecurity/v1/waf/waf_profile_pb2_grpc.py +4 -0
- yandex/cloud/smartwebsecurity/v1/waf/waf_profile_pb2_grpc.pyi +17 -0
- yandex/cloud/smartwebsecurity/v1/waf/waf_profile_service_pb2.py +76 -0
- yandex/cloud/smartwebsecurity/v1/waf/waf_profile_service_pb2.pyi +283 -0
- yandex/cloud/smartwebsecurity/v1/waf/waf_profile_service_pb2_grpc.py +208 -0
- yandex/cloud/smartwebsecurity/v1/waf/waf_profile_service_pb2_grpc.pyi +132 -0
- yandex/cloud/speechsense/v1/analysis/summarization_pb2.py +32 -0
- yandex/cloud/speechsense/v1/analysis/summarization_pb2.pyi +95 -0
- yandex/cloud/speechsense/v1/analysis/summarization_pb2_grpc.py +4 -0
- yandex/cloud/speechsense/v1/analysis/summarization_pb2_grpc.pyi +17 -0
- yandex/cloud/speechsense/v1/project_pb2.py +29 -0
- yandex/cloud/speechsense/v1/project_pb2.pyi +79 -0
- yandex/cloud/speechsense/v1/project_pb2_grpc.py +4 -0
- yandex/cloud/speechsense/v1/project_pb2_grpc.pyi +17 -0
- yandex/cloud/speechsense/v1/project_service_pb2.py +35 -0
- yandex/cloud/speechsense/v1/project_service_pb2.pyi +59 -0
- yandex/cloud/speechsense/v1/project_service_pb2_grpc.py +68 -0
- yandex/cloud/speechsense/v1/project_service_pb2_grpc.pyi +45 -0
- yandex/cloud/speechsense/v1/talk_pb2.py +8 -7
- yandex/cloud/speechsense/v1/talk_pb2.pyi +7 -2
- yandex/cloud/storage/v1/s3api_pb2.py +35 -0
- yandex/cloud/storage/v1/s3api_pb2.pyi +181 -0
- yandex/cloud/storage/v1/s3api_pb2_grpc.py +4 -0
- yandex/cloud/storage/v1/s3api_pb2_grpc.pyi +17 -0
- yandex/cloud/video/v1/channel_service_pb2.py +33 -28
- yandex/cloud/video/v1/episode_service_pb2.py +56 -47
- yandex/cloud/video/v1/stream_line_service_pb2.py +67 -60
- yandex/cloud/video/v1/stream_service_pb2.py +46 -41
- yandex/cloud/video/v1/thumbnail_service_pb2.py +29 -22
- yandex/cloud/video/v1/video_service_pb2.py +62 -53
- yandexcloud/_sdk.py +1 -0
- {yandexcloud-0.316.0.dist-info → yandexcloud-0.318.0.dist-info}/METADATA +1 -1
- {yandexcloud-0.316.0.dist-info → yandexcloud-0.318.0.dist-info}/RECORD +259 -58
- {yandexcloud-0.316.0.dist-info → yandexcloud-0.318.0.dist-info}/WHEEL +1 -1
- {yandexcloud-0.316.0.dist-info → yandexcloud-0.318.0.dist-info}/AUTHORS +0 -0
- {yandexcloud-0.316.0.dist-info → yandexcloud-0.318.0.dist-info}/LICENSE +0 -0
- {yandexcloud-0.316.0.dist-info → yandexcloud-0.318.0.dist-info}/top_level.txt +0 -0
|
@@ -0,0 +1,534 @@
|
|
|
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.duration_pb2
|
|
10
|
+
import google.protobuf.internal.containers
|
|
11
|
+
import google.protobuf.internal.enum_type_wrapper
|
|
12
|
+
import google.protobuf.message
|
|
13
|
+
import google.protobuf.timestamp_pb2
|
|
14
|
+
import sys
|
|
15
|
+
import typing
|
|
16
|
+
|
|
17
|
+
if sys.version_info >= (3, 10):
|
|
18
|
+
import typing as typing_extensions
|
|
19
|
+
else:
|
|
20
|
+
import typing_extensions
|
|
21
|
+
|
|
22
|
+
DESCRIPTOR: google.protobuf.descriptor.FileDescriptor
|
|
23
|
+
|
|
24
|
+
@typing.final
|
|
25
|
+
class Rule(google.protobuf.message.Message):
|
|
26
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
27
|
+
|
|
28
|
+
class _Status:
|
|
29
|
+
ValueType = typing.NewType("ValueType", builtins.int)
|
|
30
|
+
V: typing_extensions.TypeAlias = ValueType
|
|
31
|
+
|
|
32
|
+
class _StatusEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[Rule._Status.ValueType], builtins.type):
|
|
33
|
+
DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor
|
|
34
|
+
STATUS_UNSPECIFIED: Rule._Status.ValueType # 0
|
|
35
|
+
CREATING: Rule._Status.ValueType # 1
|
|
36
|
+
"""Rule creation in progress, rule is not enabled yet"""
|
|
37
|
+
ENABLED: Rule._Status.ValueType # 2
|
|
38
|
+
"""Rule is operating"""
|
|
39
|
+
UPDATING: Rule._Status.ValueType # 3
|
|
40
|
+
"""Rule update in progress, rule is disabled during update"""
|
|
41
|
+
DISABLED: Rule._Status.ValueType # 4
|
|
42
|
+
"""Rule is explicitly disabled by the user"""
|
|
43
|
+
|
|
44
|
+
class Status(_Status, metaclass=_StatusEnumTypeWrapper): ...
|
|
45
|
+
STATUS_UNSPECIFIED: Rule.Status.ValueType # 0
|
|
46
|
+
CREATING: Rule.Status.ValueType # 1
|
|
47
|
+
"""Rule creation in progress, rule is not enabled yet"""
|
|
48
|
+
ENABLED: Rule.Status.ValueType # 2
|
|
49
|
+
"""Rule is operating"""
|
|
50
|
+
UPDATING: Rule.Status.ValueType # 3
|
|
51
|
+
"""Rule update in progress, rule is disabled during update"""
|
|
52
|
+
DISABLED: Rule.Status.ValueType # 4
|
|
53
|
+
"""Rule is explicitly disabled by the user"""
|
|
54
|
+
|
|
55
|
+
@typing.final
|
|
56
|
+
class LabelsEntry(google.protobuf.message.Message):
|
|
57
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
58
|
+
|
|
59
|
+
KEY_FIELD_NUMBER: builtins.int
|
|
60
|
+
VALUE_FIELD_NUMBER: builtins.int
|
|
61
|
+
key: builtins.str
|
|
62
|
+
value: builtins.str
|
|
63
|
+
def __init__(
|
|
64
|
+
self,
|
|
65
|
+
*,
|
|
66
|
+
key: builtins.str = ...,
|
|
67
|
+
value: builtins.str = ...,
|
|
68
|
+
) -> None: ...
|
|
69
|
+
def ClearField(self, field_name: typing.Literal["key", b"key", "value", b"value"]) -> None: ...
|
|
70
|
+
|
|
71
|
+
ID_FIELD_NUMBER: builtins.int
|
|
72
|
+
BUS_ID_FIELD_NUMBER: builtins.int
|
|
73
|
+
FOLDER_ID_FIELD_NUMBER: builtins.int
|
|
74
|
+
CLOUD_ID_FIELD_NUMBER: builtins.int
|
|
75
|
+
CREATED_AT_FIELD_NUMBER: builtins.int
|
|
76
|
+
NAME_FIELD_NUMBER: builtins.int
|
|
77
|
+
DESCRIPTION_FIELD_NUMBER: builtins.int
|
|
78
|
+
LABELS_FIELD_NUMBER: builtins.int
|
|
79
|
+
FILTER_FIELD_NUMBER: builtins.int
|
|
80
|
+
TARGETS_FIELD_NUMBER: builtins.int
|
|
81
|
+
DELETION_PROTECTION_FIELD_NUMBER: builtins.int
|
|
82
|
+
STATUS_FIELD_NUMBER: builtins.int
|
|
83
|
+
id: builtins.str
|
|
84
|
+
"""ID of the rule."""
|
|
85
|
+
bus_id: builtins.str
|
|
86
|
+
"""ID of the bus that the rule belongs to."""
|
|
87
|
+
folder_id: builtins.str
|
|
88
|
+
"""ID of the folder that the rule resides in."""
|
|
89
|
+
cloud_id: builtins.str
|
|
90
|
+
"""ID of the cloud that the rule resides in."""
|
|
91
|
+
name: builtins.str
|
|
92
|
+
"""Name of the rule."""
|
|
93
|
+
description: builtins.str
|
|
94
|
+
"""Description of the rule."""
|
|
95
|
+
deletion_protection: builtins.bool
|
|
96
|
+
"""Flag that disallow deletion of the rule."""
|
|
97
|
+
status: global___Rule.Status.ValueType
|
|
98
|
+
"""Rule status"""
|
|
99
|
+
@property
|
|
100
|
+
def created_at(self) -> google.protobuf.timestamp_pb2.Timestamp:
|
|
101
|
+
"""Creation timestamp."""
|
|
102
|
+
|
|
103
|
+
@property
|
|
104
|
+
def labels(self) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]:
|
|
105
|
+
"""Resource labels as `key:value` pairs."""
|
|
106
|
+
|
|
107
|
+
@property
|
|
108
|
+
def filter(self) -> global___Filter:
|
|
109
|
+
"""Filter for the rule."""
|
|
110
|
+
|
|
111
|
+
@property
|
|
112
|
+
def targets(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___Target]:
|
|
113
|
+
"""Targets of the rule."""
|
|
114
|
+
|
|
115
|
+
def __init__(
|
|
116
|
+
self,
|
|
117
|
+
*,
|
|
118
|
+
id: builtins.str = ...,
|
|
119
|
+
bus_id: builtins.str = ...,
|
|
120
|
+
folder_id: builtins.str = ...,
|
|
121
|
+
cloud_id: builtins.str = ...,
|
|
122
|
+
created_at: google.protobuf.timestamp_pb2.Timestamp | None = ...,
|
|
123
|
+
name: builtins.str = ...,
|
|
124
|
+
description: builtins.str = ...,
|
|
125
|
+
labels: collections.abc.Mapping[builtins.str, builtins.str] | None = ...,
|
|
126
|
+
filter: global___Filter | None = ...,
|
|
127
|
+
targets: collections.abc.Iterable[global___Target] | None = ...,
|
|
128
|
+
deletion_protection: builtins.bool = ...,
|
|
129
|
+
status: global___Rule.Status.ValueType = ...,
|
|
130
|
+
) -> None: ...
|
|
131
|
+
def HasField(self, field_name: typing.Literal["created_at", b"created_at", "filter", b"filter"]) -> builtins.bool: ...
|
|
132
|
+
def ClearField(self, field_name: typing.Literal["bus_id", b"bus_id", "cloud_id", b"cloud_id", "created_at", b"created_at", "deletion_protection", b"deletion_protection", "description", b"description", "filter", b"filter", "folder_id", b"folder_id", "id", b"id", "labels", b"labels", "name", b"name", "status", b"status", "targets", b"targets"]) -> None: ...
|
|
133
|
+
|
|
134
|
+
global___Rule = Rule
|
|
135
|
+
|
|
136
|
+
@typing.final
|
|
137
|
+
class Filter(google.protobuf.message.Message):
|
|
138
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
139
|
+
|
|
140
|
+
JQ_FILTER_FIELD_NUMBER: builtins.int
|
|
141
|
+
jq_filter: builtins.str
|
|
142
|
+
"""JQ filter for matching events."""
|
|
143
|
+
def __init__(
|
|
144
|
+
self,
|
|
145
|
+
*,
|
|
146
|
+
jq_filter: builtins.str = ...,
|
|
147
|
+
) -> None: ...
|
|
148
|
+
def HasField(self, field_name: typing.Literal["condition", b"condition", "jq_filter", b"jq_filter"]) -> builtins.bool: ...
|
|
149
|
+
def ClearField(self, field_name: typing.Literal["condition", b"condition", "jq_filter", b"jq_filter"]) -> None: ...
|
|
150
|
+
def WhichOneof(self, oneof_group: typing.Literal["condition", b"condition"]) -> typing.Literal["jq_filter"] | None: ...
|
|
151
|
+
|
|
152
|
+
global___Filter = Filter
|
|
153
|
+
|
|
154
|
+
@typing.final
|
|
155
|
+
class Transformer(google.protobuf.message.Message):
|
|
156
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
157
|
+
|
|
158
|
+
JQ_TRANSFORMER_FIELD_NUMBER: builtins.int
|
|
159
|
+
jq_transformer: builtins.str
|
|
160
|
+
"""JQ string inrerpolation expression for changing event format."""
|
|
161
|
+
def __init__(
|
|
162
|
+
self,
|
|
163
|
+
*,
|
|
164
|
+
jq_transformer: builtins.str = ...,
|
|
165
|
+
) -> None: ...
|
|
166
|
+
def HasField(self, field_name: typing.Literal["jq_transformer", b"jq_transformer", "transformer", b"transformer"]) -> builtins.bool: ...
|
|
167
|
+
def ClearField(self, field_name: typing.Literal["jq_transformer", b"jq_transformer", "transformer", b"transformer"]) -> None: ...
|
|
168
|
+
def WhichOneof(self, oneof_group: typing.Literal["transformer", b"transformer"]) -> typing.Literal["jq_transformer"] | None: ...
|
|
169
|
+
|
|
170
|
+
global___Transformer = Transformer
|
|
171
|
+
|
|
172
|
+
@typing.final
|
|
173
|
+
class Target(google.protobuf.message.Message):
|
|
174
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
175
|
+
|
|
176
|
+
class _Status:
|
|
177
|
+
ValueType = typing.NewType("ValueType", builtins.int)
|
|
178
|
+
V: typing_extensions.TypeAlias = ValueType
|
|
179
|
+
|
|
180
|
+
class _StatusEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[Target._Status.ValueType], builtins.type):
|
|
181
|
+
DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor
|
|
182
|
+
STATUS_UNSPECIFIED: Target._Status.ValueType # 0
|
|
183
|
+
ENABLED: Target._Status.ValueType # 1
|
|
184
|
+
"""Target is enabled."""
|
|
185
|
+
DISABLED: Target._Status.ValueType # 2
|
|
186
|
+
"""Target is disabled."""
|
|
187
|
+
RESOURCE_NOT_FOUND: Target._Status.ValueType # 3
|
|
188
|
+
"""Target does not exist."""
|
|
189
|
+
PERMISSION_DENIED: Target._Status.ValueType # 4
|
|
190
|
+
"""Service account does not have read permission on source."""
|
|
191
|
+
SUBJECT_NOT_FOUND: Target._Status.ValueType # 5
|
|
192
|
+
"""Service account not found."""
|
|
193
|
+
|
|
194
|
+
class Status(_Status, metaclass=_StatusEnumTypeWrapper):
|
|
195
|
+
"""Status of the target."""
|
|
196
|
+
|
|
197
|
+
STATUS_UNSPECIFIED: Target.Status.ValueType # 0
|
|
198
|
+
ENABLED: Target.Status.ValueType # 1
|
|
199
|
+
"""Target is enabled."""
|
|
200
|
+
DISABLED: Target.Status.ValueType # 2
|
|
201
|
+
"""Target is disabled."""
|
|
202
|
+
RESOURCE_NOT_FOUND: Target.Status.ValueType # 3
|
|
203
|
+
"""Target does not exist."""
|
|
204
|
+
PERMISSION_DENIED: Target.Status.ValueType # 4
|
|
205
|
+
"""Service account does not have read permission on source."""
|
|
206
|
+
SUBJECT_NOT_FOUND: Target.Status.ValueType # 5
|
|
207
|
+
"""Service account not found."""
|
|
208
|
+
|
|
209
|
+
YDS_FIELD_NUMBER: builtins.int
|
|
210
|
+
YMQ_FIELD_NUMBER: builtins.int
|
|
211
|
+
FUNCTION_FIELD_NUMBER: builtins.int
|
|
212
|
+
CONTAINER_FIELD_NUMBER: builtins.int
|
|
213
|
+
GATEWAY_WS_BROADCAST_FIELD_NUMBER: builtins.int
|
|
214
|
+
LOGGING_FIELD_NUMBER: builtins.int
|
|
215
|
+
WORKFLOW_FIELD_NUMBER: builtins.int
|
|
216
|
+
TRANSFORMER_FIELD_NUMBER: builtins.int
|
|
217
|
+
RETRY_SETTINGS_FIELD_NUMBER: builtins.int
|
|
218
|
+
DEAD_LETTER_QUEUE_FIELD_NUMBER: builtins.int
|
|
219
|
+
STATUS_FIELD_NUMBER: builtins.int
|
|
220
|
+
status: global___Target.Status.ValueType
|
|
221
|
+
"""Status of the target."""
|
|
222
|
+
@property
|
|
223
|
+
def yds(self) -> global___YdsTarget: ...
|
|
224
|
+
@property
|
|
225
|
+
def ymq(self) -> global___YmqTarget: ...
|
|
226
|
+
@property
|
|
227
|
+
def function(self) -> global___FunctionTarget: ...
|
|
228
|
+
@property
|
|
229
|
+
def container(self) -> global___ContainerTarget: ...
|
|
230
|
+
@property
|
|
231
|
+
def gateway_ws_broadcast(self) -> global___GatewayWebsocketBroadcastTarget: ...
|
|
232
|
+
@property
|
|
233
|
+
def logging(self) -> global___LoggingTarget: ...
|
|
234
|
+
@property
|
|
235
|
+
def workflow(self) -> global___WorkflowTarget: ...
|
|
236
|
+
@property
|
|
237
|
+
def transformer(self) -> global___Transformer:
|
|
238
|
+
"""Transformer of the target."""
|
|
239
|
+
|
|
240
|
+
@property
|
|
241
|
+
def retry_settings(self) -> global___RetrySettings:
|
|
242
|
+
"""Retry settings of the target."""
|
|
243
|
+
|
|
244
|
+
@property
|
|
245
|
+
def dead_letter_queue(self) -> global___PutQueueMessage:
|
|
246
|
+
"""Dead letter queue."""
|
|
247
|
+
|
|
248
|
+
def __init__(
|
|
249
|
+
self,
|
|
250
|
+
*,
|
|
251
|
+
yds: global___YdsTarget | None = ...,
|
|
252
|
+
ymq: global___YmqTarget | None = ...,
|
|
253
|
+
function: global___FunctionTarget | None = ...,
|
|
254
|
+
container: global___ContainerTarget | None = ...,
|
|
255
|
+
gateway_ws_broadcast: global___GatewayWebsocketBroadcastTarget | None = ...,
|
|
256
|
+
logging: global___LoggingTarget | None = ...,
|
|
257
|
+
workflow: global___WorkflowTarget | None = ...,
|
|
258
|
+
transformer: global___Transformer | None = ...,
|
|
259
|
+
retry_settings: global___RetrySettings | None = ...,
|
|
260
|
+
dead_letter_queue: global___PutQueueMessage | None = ...,
|
|
261
|
+
status: global___Target.Status.ValueType = ...,
|
|
262
|
+
) -> None: ...
|
|
263
|
+
def HasField(self, field_name: typing.Literal["container", b"container", "dead_letter", b"dead_letter", "dead_letter_queue", b"dead_letter_queue", "function", b"function", "gateway_ws_broadcast", b"gateway_ws_broadcast", "logging", b"logging", "retry_settings", b"retry_settings", "target", b"target", "transformer", b"transformer", "workflow", b"workflow", "yds", b"yds", "ymq", b"ymq"]) -> builtins.bool: ...
|
|
264
|
+
def ClearField(self, field_name: typing.Literal["container", b"container", "dead_letter", b"dead_letter", "dead_letter_queue", b"dead_letter_queue", "function", b"function", "gateway_ws_broadcast", b"gateway_ws_broadcast", "logging", b"logging", "retry_settings", b"retry_settings", "status", b"status", "target", b"target", "transformer", b"transformer", "workflow", b"workflow", "yds", b"yds", "ymq", b"ymq"]) -> None: ...
|
|
265
|
+
@typing.overload
|
|
266
|
+
def WhichOneof(self, oneof_group: typing.Literal["dead_letter", b"dead_letter"]) -> typing.Literal["dead_letter_queue"] | None: ...
|
|
267
|
+
@typing.overload
|
|
268
|
+
def WhichOneof(self, oneof_group: typing.Literal["target", b"target"]) -> typing.Literal["yds", "ymq", "function", "container", "gateway_ws_broadcast", "logging", "workflow"] | None: ...
|
|
269
|
+
|
|
270
|
+
global___Target = Target
|
|
271
|
+
|
|
272
|
+
@typing.final
|
|
273
|
+
class YdsTarget(google.protobuf.message.Message):
|
|
274
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
275
|
+
|
|
276
|
+
DATABASE_FIELD_NUMBER: builtins.int
|
|
277
|
+
STREAM_NAME_FIELD_NUMBER: builtins.int
|
|
278
|
+
SERVICE_ACCOUNT_ID_FIELD_NUMBER: builtins.int
|
|
279
|
+
database: builtins.str
|
|
280
|
+
"""Stream database."""
|
|
281
|
+
stream_name: builtins.str
|
|
282
|
+
"""Full stream name, like /ru-central1/aoegtvhtp8ob********/cc8004q4lbo6********/test."""
|
|
283
|
+
service_account_id: builtins.str
|
|
284
|
+
"""Service account, which has write permission on the stream."""
|
|
285
|
+
def __init__(
|
|
286
|
+
self,
|
|
287
|
+
*,
|
|
288
|
+
database: builtins.str = ...,
|
|
289
|
+
stream_name: builtins.str = ...,
|
|
290
|
+
service_account_id: builtins.str = ...,
|
|
291
|
+
) -> None: ...
|
|
292
|
+
def ClearField(self, field_name: typing.Literal["database", b"database", "service_account_id", b"service_account_id", "stream_name", b"stream_name"]) -> None: ...
|
|
293
|
+
|
|
294
|
+
global___YdsTarget = YdsTarget
|
|
295
|
+
|
|
296
|
+
@typing.final
|
|
297
|
+
class YmqTarget(google.protobuf.message.Message):
|
|
298
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
299
|
+
|
|
300
|
+
QUEUE_ARN_FIELD_NUMBER: builtins.int
|
|
301
|
+
SERVICE_ACCOUNT_ID_FIELD_NUMBER: builtins.int
|
|
302
|
+
queue_arn: builtins.str
|
|
303
|
+
"""Queue ARN.
|
|
304
|
+
Example: yrn:yc:ymq:ru-central1:aoe***:test
|
|
305
|
+
"""
|
|
306
|
+
service_account_id: builtins.str
|
|
307
|
+
"""Service account which has write access to the queue."""
|
|
308
|
+
def __init__(
|
|
309
|
+
self,
|
|
310
|
+
*,
|
|
311
|
+
queue_arn: builtins.str = ...,
|
|
312
|
+
service_account_id: builtins.str = ...,
|
|
313
|
+
) -> None: ...
|
|
314
|
+
def ClearField(self, field_name: typing.Literal["queue_arn", b"queue_arn", "service_account_id", b"service_account_id"]) -> None: ...
|
|
315
|
+
|
|
316
|
+
global___YmqTarget = YmqTarget
|
|
317
|
+
|
|
318
|
+
@typing.final
|
|
319
|
+
class FunctionTarget(google.protobuf.message.Message):
|
|
320
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
321
|
+
|
|
322
|
+
FUNCTION_ID_FIELD_NUMBER: builtins.int
|
|
323
|
+
FUNCTION_TAG_FIELD_NUMBER: builtins.int
|
|
324
|
+
SERVICE_ACCOUNT_ID_FIELD_NUMBER: builtins.int
|
|
325
|
+
BATCH_SETTINGS_FIELD_NUMBER: builtins.int
|
|
326
|
+
function_id: builtins.str
|
|
327
|
+
"""Function ID."""
|
|
328
|
+
function_tag: builtins.str
|
|
329
|
+
"""Function tag, optional."""
|
|
330
|
+
service_account_id: builtins.str
|
|
331
|
+
"""Service account which has call permission on the function, optional."""
|
|
332
|
+
@property
|
|
333
|
+
def batch_settings(self) -> global___BatchSettings:
|
|
334
|
+
"""Batch settings."""
|
|
335
|
+
|
|
336
|
+
def __init__(
|
|
337
|
+
self,
|
|
338
|
+
*,
|
|
339
|
+
function_id: builtins.str = ...,
|
|
340
|
+
function_tag: builtins.str = ...,
|
|
341
|
+
service_account_id: builtins.str = ...,
|
|
342
|
+
batch_settings: global___BatchSettings | None = ...,
|
|
343
|
+
) -> None: ...
|
|
344
|
+
def HasField(self, field_name: typing.Literal["batch_settings", b"batch_settings"]) -> builtins.bool: ...
|
|
345
|
+
def ClearField(self, field_name: typing.Literal["batch_settings", b"batch_settings", "function_id", b"function_id", "function_tag", b"function_tag", "service_account_id", b"service_account_id"]) -> None: ...
|
|
346
|
+
|
|
347
|
+
global___FunctionTarget = FunctionTarget
|
|
348
|
+
|
|
349
|
+
@typing.final
|
|
350
|
+
class ContainerTarget(google.protobuf.message.Message):
|
|
351
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
352
|
+
|
|
353
|
+
CONTAINER_ID_FIELD_NUMBER: builtins.int
|
|
354
|
+
CONTAINER_REVISION_ID_FIELD_NUMBER: builtins.int
|
|
355
|
+
PATH_FIELD_NUMBER: builtins.int
|
|
356
|
+
SERVICE_ACCOUNT_ID_FIELD_NUMBER: builtins.int
|
|
357
|
+
BATCH_SETTINGS_FIELD_NUMBER: builtins.int
|
|
358
|
+
container_id: builtins.str
|
|
359
|
+
"""Container ID."""
|
|
360
|
+
container_revision_id: builtins.str
|
|
361
|
+
"""Container revision ID."""
|
|
362
|
+
path: builtins.str
|
|
363
|
+
"""Endpoint HTTP path to invoke."""
|
|
364
|
+
service_account_id: builtins.str
|
|
365
|
+
"""Service account which should be used to call a container, optional."""
|
|
366
|
+
@property
|
|
367
|
+
def batch_settings(self) -> global___BatchSettings:
|
|
368
|
+
"""Batch settings."""
|
|
369
|
+
|
|
370
|
+
def __init__(
|
|
371
|
+
self,
|
|
372
|
+
*,
|
|
373
|
+
container_id: builtins.str = ...,
|
|
374
|
+
container_revision_id: builtins.str = ...,
|
|
375
|
+
path: builtins.str = ...,
|
|
376
|
+
service_account_id: builtins.str = ...,
|
|
377
|
+
batch_settings: global___BatchSettings | None = ...,
|
|
378
|
+
) -> None: ...
|
|
379
|
+
def HasField(self, field_name: typing.Literal["batch_settings", b"batch_settings"]) -> builtins.bool: ...
|
|
380
|
+
def ClearField(self, field_name: typing.Literal["batch_settings", b"batch_settings", "container_id", b"container_id", "container_revision_id", b"container_revision_id", "path", b"path", "service_account_id", b"service_account_id"]) -> None: ...
|
|
381
|
+
|
|
382
|
+
global___ContainerTarget = ContainerTarget
|
|
383
|
+
|
|
384
|
+
@typing.final
|
|
385
|
+
class GatewayWebsocketBroadcastTarget(google.protobuf.message.Message):
|
|
386
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
387
|
+
|
|
388
|
+
GATEWAY_ID_FIELD_NUMBER: builtins.int
|
|
389
|
+
PATH_FIELD_NUMBER: builtins.int
|
|
390
|
+
SERVICE_ACCOUNT_ID_FIELD_NUMBER: builtins.int
|
|
391
|
+
BATCH_SETTINGS_FIELD_NUMBER: builtins.int
|
|
392
|
+
gateway_id: builtins.str
|
|
393
|
+
"""Gateway ID."""
|
|
394
|
+
path: builtins.str
|
|
395
|
+
"""Path."""
|
|
396
|
+
service_account_id: builtins.str
|
|
397
|
+
"""Service account which has permission for writing to websockets."""
|
|
398
|
+
@property
|
|
399
|
+
def batch_settings(self) -> global___BatchSettings:
|
|
400
|
+
"""Batch settings."""
|
|
401
|
+
|
|
402
|
+
def __init__(
|
|
403
|
+
self,
|
|
404
|
+
*,
|
|
405
|
+
gateway_id: builtins.str = ...,
|
|
406
|
+
path: builtins.str = ...,
|
|
407
|
+
service_account_id: builtins.str = ...,
|
|
408
|
+
batch_settings: global___BatchSettings | None = ...,
|
|
409
|
+
) -> None: ...
|
|
410
|
+
def HasField(self, field_name: typing.Literal["batch_settings", b"batch_settings"]) -> builtins.bool: ...
|
|
411
|
+
def ClearField(self, field_name: typing.Literal["batch_settings", b"batch_settings", "gateway_id", b"gateway_id", "path", b"path", "service_account_id", b"service_account_id"]) -> None: ...
|
|
412
|
+
|
|
413
|
+
global___GatewayWebsocketBroadcastTarget = GatewayWebsocketBroadcastTarget
|
|
414
|
+
|
|
415
|
+
@typing.final
|
|
416
|
+
class LoggingTarget(google.protobuf.message.Message):
|
|
417
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
418
|
+
|
|
419
|
+
LOG_GROUP_ID_FIELD_NUMBER: builtins.int
|
|
420
|
+
FOLDER_ID_FIELD_NUMBER: builtins.int
|
|
421
|
+
SERVICE_ACCOUNT_ID_FIELD_NUMBER: builtins.int
|
|
422
|
+
log_group_id: builtins.str
|
|
423
|
+
folder_id: builtins.str
|
|
424
|
+
service_account_id: builtins.str
|
|
425
|
+
"""Service account which has permission for writing logs."""
|
|
426
|
+
def __init__(
|
|
427
|
+
self,
|
|
428
|
+
*,
|
|
429
|
+
log_group_id: builtins.str = ...,
|
|
430
|
+
folder_id: builtins.str = ...,
|
|
431
|
+
service_account_id: builtins.str = ...,
|
|
432
|
+
) -> None: ...
|
|
433
|
+
def HasField(self, field_name: typing.Literal["destination", b"destination", "folder_id", b"folder_id", "log_group_id", b"log_group_id"]) -> builtins.bool: ...
|
|
434
|
+
def ClearField(self, field_name: typing.Literal["destination", b"destination", "folder_id", b"folder_id", "log_group_id", b"log_group_id", "service_account_id", b"service_account_id"]) -> None: ...
|
|
435
|
+
def WhichOneof(self, oneof_group: typing.Literal["destination", b"destination"]) -> typing.Literal["log_group_id", "folder_id"] | None: ...
|
|
436
|
+
|
|
437
|
+
global___LoggingTarget = LoggingTarget
|
|
438
|
+
|
|
439
|
+
@typing.final
|
|
440
|
+
class WorkflowTarget(google.protobuf.message.Message):
|
|
441
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
442
|
+
|
|
443
|
+
WORKFLOW_ID_FIELD_NUMBER: builtins.int
|
|
444
|
+
SERVICE_ACCOUNT_ID_FIELD_NUMBER: builtins.int
|
|
445
|
+
BATCH_SETTINGS_FIELD_NUMBER: builtins.int
|
|
446
|
+
workflow_id: builtins.str
|
|
447
|
+
"""Workflow ID."""
|
|
448
|
+
service_account_id: builtins.str
|
|
449
|
+
"""SA which should be used to start workflow."""
|
|
450
|
+
@property
|
|
451
|
+
def batch_settings(self) -> global___BatchSettings:
|
|
452
|
+
"""Batch settings."""
|
|
453
|
+
|
|
454
|
+
def __init__(
|
|
455
|
+
self,
|
|
456
|
+
*,
|
|
457
|
+
workflow_id: builtins.str = ...,
|
|
458
|
+
service_account_id: builtins.str = ...,
|
|
459
|
+
batch_settings: global___BatchSettings | None = ...,
|
|
460
|
+
) -> None: ...
|
|
461
|
+
def HasField(self, field_name: typing.Literal["batch_settings", b"batch_settings"]) -> builtins.bool: ...
|
|
462
|
+
def ClearField(self, field_name: typing.Literal["batch_settings", b"batch_settings", "service_account_id", b"service_account_id", "workflow_id", b"workflow_id"]) -> None: ...
|
|
463
|
+
|
|
464
|
+
global___WorkflowTarget = WorkflowTarget
|
|
465
|
+
|
|
466
|
+
@typing.final
|
|
467
|
+
class RetrySettings(google.protobuf.message.Message):
|
|
468
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
469
|
+
|
|
470
|
+
RETRY_ATTEMPTS_FIELD_NUMBER: builtins.int
|
|
471
|
+
MAXIMUM_AGE_FIELD_NUMBER: builtins.int
|
|
472
|
+
retry_attempts: builtins.int
|
|
473
|
+
"""Maximum number of retries (extra calls) before an action fails."""
|
|
474
|
+
@property
|
|
475
|
+
def maximum_age(self) -> google.protobuf.duration_pb2.Duration:
|
|
476
|
+
"""Event goes to dlq when its age exceeds this value. Default is 24h."""
|
|
477
|
+
|
|
478
|
+
def __init__(
|
|
479
|
+
self,
|
|
480
|
+
*,
|
|
481
|
+
retry_attempts: builtins.int = ...,
|
|
482
|
+
maximum_age: google.protobuf.duration_pb2.Duration | None = ...,
|
|
483
|
+
) -> None: ...
|
|
484
|
+
def HasField(self, field_name: typing.Literal["maximum_age", b"maximum_age"]) -> builtins.bool: ...
|
|
485
|
+
def ClearField(self, field_name: typing.Literal["maximum_age", b"maximum_age", "retry_attempts", b"retry_attempts"]) -> None: ...
|
|
486
|
+
|
|
487
|
+
global___RetrySettings = RetrySettings
|
|
488
|
+
|
|
489
|
+
@typing.final
|
|
490
|
+
class PutQueueMessage(google.protobuf.message.Message):
|
|
491
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
492
|
+
|
|
493
|
+
QUEUE_ARN_FIELD_NUMBER: builtins.int
|
|
494
|
+
SERVICE_ACCOUNT_ID_FIELD_NUMBER: builtins.int
|
|
495
|
+
queue_arn: builtins.str
|
|
496
|
+
"""ID of the queue."""
|
|
497
|
+
service_account_id: builtins.str
|
|
498
|
+
"""Service account which has write permission on the queue."""
|
|
499
|
+
def __init__(
|
|
500
|
+
self,
|
|
501
|
+
*,
|
|
502
|
+
queue_arn: builtins.str = ...,
|
|
503
|
+
service_account_id: builtins.str = ...,
|
|
504
|
+
) -> None: ...
|
|
505
|
+
def ClearField(self, field_name: typing.Literal["queue_arn", b"queue_arn", "service_account_id", b"service_account_id"]) -> None: ...
|
|
506
|
+
|
|
507
|
+
global___PutQueueMessage = PutQueueMessage
|
|
508
|
+
|
|
509
|
+
@typing.final
|
|
510
|
+
class BatchSettings(google.protobuf.message.Message):
|
|
511
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
512
|
+
|
|
513
|
+
MAX_COUNT_FIELD_NUMBER: builtins.int
|
|
514
|
+
MAX_BYTES_FIELD_NUMBER: builtins.int
|
|
515
|
+
CUTOFF_FIELD_NUMBER: builtins.int
|
|
516
|
+
max_count: builtins.int
|
|
517
|
+
"""Maximum batch size: trigger will send a batch if number of events exceeds this value."""
|
|
518
|
+
max_bytes: builtins.int
|
|
519
|
+
"""Maximum batch size: trigger will send a batch if total size of events exceeds this value."""
|
|
520
|
+
@property
|
|
521
|
+
def cutoff(self) -> google.protobuf.duration_pb2.Duration:
|
|
522
|
+
"""Maximum batch size: trigger will send a batch if its lifetime exceeds this value."""
|
|
523
|
+
|
|
524
|
+
def __init__(
|
|
525
|
+
self,
|
|
526
|
+
*,
|
|
527
|
+
max_count: builtins.int = ...,
|
|
528
|
+
max_bytes: builtins.int = ...,
|
|
529
|
+
cutoff: google.protobuf.duration_pb2.Duration | None = ...,
|
|
530
|
+
) -> None: ...
|
|
531
|
+
def HasField(self, field_name: typing.Literal["cutoff", b"cutoff"]) -> builtins.bool: ...
|
|
532
|
+
def ClearField(self, field_name: typing.Literal["cutoff", b"cutoff", "max_bytes", b"max_bytes", "max_count", b"max_count"]) -> None: ...
|
|
533
|
+
|
|
534
|
+
global___BatchSettings = BatchSettings
|
|
@@ -0,0 +1,17 @@
|
|
|
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
|
+
|
|
12
|
+
_T = typing.TypeVar("_T")
|
|
13
|
+
|
|
14
|
+
class _MaybeAsyncIterator(collections.abc.AsyncIterator[_T], collections.abc.Iterator[_T], metaclass=abc.ABCMeta): ...
|
|
15
|
+
|
|
16
|
+
class _ServicerContext(grpc.ServicerContext, grpc.aio.ServicerContext): # type: ignore[misc, type-arg]
|
|
17
|
+
...
|