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,231 @@
|
|
|
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.internal.containers
|
|
10
|
+
import google.protobuf.message
|
|
11
|
+
import typing
|
|
12
|
+
import yandex.cloud.serverless.workflows.v1.execution_pb2
|
|
13
|
+
import yandex.cloud.serverless.workflows.v1.history_entry_pb2
|
|
14
|
+
|
|
15
|
+
DESCRIPTOR: google.protobuf.descriptor.FileDescriptor
|
|
16
|
+
|
|
17
|
+
@typing.final
|
|
18
|
+
class StartExecutionRequest(google.protobuf.message.Message):
|
|
19
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
20
|
+
|
|
21
|
+
WORKFLOW_ID_FIELD_NUMBER: builtins.int
|
|
22
|
+
INPUT_FIELD_NUMBER: builtins.int
|
|
23
|
+
workflow_id: builtins.str
|
|
24
|
+
"""ID of the Workflow."""
|
|
25
|
+
@property
|
|
26
|
+
def input(self) -> yandex.cloud.serverless.workflows.v1.execution_pb2.ExecutionInput:
|
|
27
|
+
"""Input for the Workflow execution"""
|
|
28
|
+
|
|
29
|
+
def __init__(
|
|
30
|
+
self,
|
|
31
|
+
*,
|
|
32
|
+
workflow_id: builtins.str = ...,
|
|
33
|
+
input: yandex.cloud.serverless.workflows.v1.execution_pb2.ExecutionInput | None = ...,
|
|
34
|
+
) -> None: ...
|
|
35
|
+
def HasField(self, field_name: typing.Literal["input", b"input"]) -> builtins.bool: ...
|
|
36
|
+
def ClearField(self, field_name: typing.Literal["input", b"input", "workflow_id", b"workflow_id"]) -> None: ...
|
|
37
|
+
|
|
38
|
+
global___StartExecutionRequest = StartExecutionRequest
|
|
39
|
+
|
|
40
|
+
@typing.final
|
|
41
|
+
class StartExecutionResponse(google.protobuf.message.Message):
|
|
42
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
43
|
+
|
|
44
|
+
EXECUTION_ID_FIELD_NUMBER: builtins.int
|
|
45
|
+
execution_id: builtins.str
|
|
46
|
+
"""ID of the Workflow execution."""
|
|
47
|
+
def __init__(
|
|
48
|
+
self,
|
|
49
|
+
*,
|
|
50
|
+
execution_id: builtins.str = ...,
|
|
51
|
+
) -> None: ...
|
|
52
|
+
def ClearField(self, field_name: typing.Literal["execution_id", b"execution_id"]) -> None: ...
|
|
53
|
+
|
|
54
|
+
global___StartExecutionResponse = StartExecutionResponse
|
|
55
|
+
|
|
56
|
+
@typing.final
|
|
57
|
+
class StopExecutionRequest(google.protobuf.message.Message):
|
|
58
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
59
|
+
|
|
60
|
+
EXECUTION_ID_FIELD_NUMBER: builtins.int
|
|
61
|
+
execution_id: builtins.str
|
|
62
|
+
"""ID of the Workflow execution."""
|
|
63
|
+
def __init__(
|
|
64
|
+
self,
|
|
65
|
+
*,
|
|
66
|
+
execution_id: builtins.str = ...,
|
|
67
|
+
) -> None: ...
|
|
68
|
+
def ClearField(self, field_name: typing.Literal["execution_id", b"execution_id"]) -> None: ...
|
|
69
|
+
|
|
70
|
+
global___StopExecutionRequest = StopExecutionRequest
|
|
71
|
+
|
|
72
|
+
@typing.final
|
|
73
|
+
class StopExecutionResponse(google.protobuf.message.Message):
|
|
74
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
75
|
+
|
|
76
|
+
EXECUTION_ID_FIELD_NUMBER: builtins.int
|
|
77
|
+
execution_id: builtins.str
|
|
78
|
+
"""ID of the Workflow execution."""
|
|
79
|
+
def __init__(
|
|
80
|
+
self,
|
|
81
|
+
*,
|
|
82
|
+
execution_id: builtins.str = ...,
|
|
83
|
+
) -> None: ...
|
|
84
|
+
def ClearField(self, field_name: typing.Literal["execution_id", b"execution_id"]) -> None: ...
|
|
85
|
+
|
|
86
|
+
global___StopExecutionResponse = StopExecutionResponse
|
|
87
|
+
|
|
88
|
+
@typing.final
|
|
89
|
+
class GetExecutionRequest(google.protobuf.message.Message):
|
|
90
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
91
|
+
|
|
92
|
+
EXECUTION_ID_FIELD_NUMBER: builtins.int
|
|
93
|
+
execution_id: builtins.str
|
|
94
|
+
"""ID of the Workflow execution."""
|
|
95
|
+
def __init__(
|
|
96
|
+
self,
|
|
97
|
+
*,
|
|
98
|
+
execution_id: builtins.str = ...,
|
|
99
|
+
) -> None: ...
|
|
100
|
+
def ClearField(self, field_name: typing.Literal["execution_id", b"execution_id"]) -> None: ...
|
|
101
|
+
|
|
102
|
+
global___GetExecutionRequest = GetExecutionRequest
|
|
103
|
+
|
|
104
|
+
@typing.final
|
|
105
|
+
class GetExecutionResponse(google.protobuf.message.Message):
|
|
106
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
107
|
+
|
|
108
|
+
EXECUTION_FIELD_NUMBER: builtins.int
|
|
109
|
+
@property
|
|
110
|
+
def execution(self) -> yandex.cloud.serverless.workflows.v1.execution_pb2.Execution:
|
|
111
|
+
"""Workflow execution details."""
|
|
112
|
+
|
|
113
|
+
def __init__(
|
|
114
|
+
self,
|
|
115
|
+
*,
|
|
116
|
+
execution: yandex.cloud.serverless.workflows.v1.execution_pb2.Execution | None = ...,
|
|
117
|
+
) -> None: ...
|
|
118
|
+
def HasField(self, field_name: typing.Literal["execution", b"execution"]) -> builtins.bool: ...
|
|
119
|
+
def ClearField(self, field_name: typing.Literal["execution", b"execution"]) -> None: ...
|
|
120
|
+
|
|
121
|
+
global___GetExecutionResponse = GetExecutionResponse
|
|
122
|
+
|
|
123
|
+
@typing.final
|
|
124
|
+
class GetExecutionHistoryRequest(google.protobuf.message.Message):
|
|
125
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
126
|
+
|
|
127
|
+
EXECUTION_ID_FIELD_NUMBER: builtins.int
|
|
128
|
+
execution_id: builtins.str
|
|
129
|
+
"""ID of the Workflow execution."""
|
|
130
|
+
def __init__(
|
|
131
|
+
self,
|
|
132
|
+
*,
|
|
133
|
+
execution_id: builtins.str = ...,
|
|
134
|
+
) -> None: ...
|
|
135
|
+
def ClearField(self, field_name: typing.Literal["execution_id", b"execution_id"]) -> None: ...
|
|
136
|
+
|
|
137
|
+
global___GetExecutionHistoryRequest = GetExecutionHistoryRequest
|
|
138
|
+
|
|
139
|
+
@typing.final
|
|
140
|
+
class GetExecutionHistoryResponse(google.protobuf.message.Message):
|
|
141
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
142
|
+
|
|
143
|
+
EXECUTION_FIELD_NUMBER: builtins.int
|
|
144
|
+
ENTRIES_FIELD_NUMBER: builtins.int
|
|
145
|
+
@property
|
|
146
|
+
def execution(self) -> yandex.cloud.serverless.workflows.v1.execution_pb2.ExecutionPreview:
|
|
147
|
+
"""Workflow execution details."""
|
|
148
|
+
|
|
149
|
+
@property
|
|
150
|
+
def entries(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[yandex.cloud.serverless.workflows.v1.history_entry_pb2.HistoryEntry]:
|
|
151
|
+
"""Workflow execution detailed history items."""
|
|
152
|
+
|
|
153
|
+
def __init__(
|
|
154
|
+
self,
|
|
155
|
+
*,
|
|
156
|
+
execution: yandex.cloud.serverless.workflows.v1.execution_pb2.ExecutionPreview | None = ...,
|
|
157
|
+
entries: collections.abc.Iterable[yandex.cloud.serverless.workflows.v1.history_entry_pb2.HistoryEntry] | None = ...,
|
|
158
|
+
) -> None: ...
|
|
159
|
+
def HasField(self, field_name: typing.Literal["execution", b"execution"]) -> builtins.bool: ...
|
|
160
|
+
def ClearField(self, field_name: typing.Literal["entries", b"entries", "execution", b"execution"]) -> None: ...
|
|
161
|
+
|
|
162
|
+
global___GetExecutionHistoryResponse = GetExecutionHistoryResponse
|
|
163
|
+
|
|
164
|
+
@typing.final
|
|
165
|
+
class ListExecutionsRequest(google.protobuf.message.Message):
|
|
166
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
167
|
+
|
|
168
|
+
WORKFLOW_ID_FIELD_NUMBER: builtins.int
|
|
169
|
+
PAGE_SIZE_FIELD_NUMBER: builtins.int
|
|
170
|
+
PAGE_TOKEN_FIELD_NUMBER: builtins.int
|
|
171
|
+
FILTER_FIELD_NUMBER: builtins.int
|
|
172
|
+
workflow_id: builtins.str
|
|
173
|
+
"""ID of the Workflow."""
|
|
174
|
+
page_size: builtins.int
|
|
175
|
+
"""The maximum number of results per page that should be returned. If the number of available
|
|
176
|
+
results is larger than `pageSize`, the service returns a [ListExecutionsResponse.next_page_token]
|
|
177
|
+
that can be used to get the next page of results in subsequent list requests.
|
|
178
|
+
|
|
179
|
+
Default value: 100.
|
|
180
|
+
"""
|
|
181
|
+
page_token: builtins.str
|
|
182
|
+
"""Page token. To get the next page of results, set `pageToken` to the
|
|
183
|
+
[ListExecutionsResponse.next_page_token] returned by a previous list request.
|
|
184
|
+
"""
|
|
185
|
+
filter: builtins.str
|
|
186
|
+
"""A filter expression that filters resources listed in the response.
|
|
187
|
+
|
|
188
|
+
The expression must specify:
|
|
189
|
+
1. The field name. Currently filtering can be applied to the following fields: status, started_at, finished_at.
|
|
190
|
+
2. Operator: `=`, `<` or `>`.
|
|
191
|
+
3. The value. Must be sting and match the regular expression `[+:\\.-a-z0-9]`.
|
|
192
|
+
Examples of a filter: `status=ERROR`, `created_by=John.Doe`.
|
|
193
|
+
"""
|
|
194
|
+
def __init__(
|
|
195
|
+
self,
|
|
196
|
+
*,
|
|
197
|
+
workflow_id: builtins.str = ...,
|
|
198
|
+
page_size: builtins.int = ...,
|
|
199
|
+
page_token: builtins.str = ...,
|
|
200
|
+
filter: builtins.str = ...,
|
|
201
|
+
) -> None: ...
|
|
202
|
+
def ClearField(self, field_name: typing.Literal["filter", b"filter", "page_size", b"page_size", "page_token", b"page_token", "workflow_id", b"workflow_id"]) -> None: ...
|
|
203
|
+
|
|
204
|
+
global___ListExecutionsRequest = ListExecutionsRequest
|
|
205
|
+
|
|
206
|
+
@typing.final
|
|
207
|
+
class ListExecutionsResponse(google.protobuf.message.Message):
|
|
208
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
209
|
+
|
|
210
|
+
EXECUTIONS_FIELD_NUMBER: builtins.int
|
|
211
|
+
NEXT_PAGE_TOKEN_FIELD_NUMBER: builtins.int
|
|
212
|
+
next_page_token: builtins.str
|
|
213
|
+
"""Token for getting the next page of the list. If the number of results is greater than
|
|
214
|
+
the specified [ListExecutionsRequest.page_size], use `next_page_token` as the value
|
|
215
|
+
for the [ListExecutionsRequest.page_token] parameter in the next list request.
|
|
216
|
+
|
|
217
|
+
Each subsequent page will have its own `next_page_token` to continue paging through the results.
|
|
218
|
+
"""
|
|
219
|
+
@property
|
|
220
|
+
def executions(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[yandex.cloud.serverless.workflows.v1.execution_pb2.ExecutionPreview]:
|
|
221
|
+
"""List of Workflow executions."""
|
|
222
|
+
|
|
223
|
+
def __init__(
|
|
224
|
+
self,
|
|
225
|
+
*,
|
|
226
|
+
executions: collections.abc.Iterable[yandex.cloud.serverless.workflows.v1.execution_pb2.ExecutionPreview] | None = ...,
|
|
227
|
+
next_page_token: builtins.str = ...,
|
|
228
|
+
) -> None: ...
|
|
229
|
+
def ClearField(self, field_name: typing.Literal["executions", b"executions", "next_page_token", b"next_page_token"]) -> None: ...
|
|
230
|
+
|
|
231
|
+
global___ListExecutionsResponse = ListExecutionsResponse
|
|
@@ -0,0 +1,206 @@
|
|
|
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.serverless.workflows.v1 import execution_service_pb2 as yandex_dot_cloud_dot_serverless_dot_workflows_dot_v1_dot_execution__service__pb2
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
class ExecutionServiceStub(object):
|
|
9
|
+
"""Set of methods for managing Workflows Executions.
|
|
10
|
+
"""
|
|
11
|
+
|
|
12
|
+
def __init__(self, channel):
|
|
13
|
+
"""Constructor.
|
|
14
|
+
|
|
15
|
+
Args:
|
|
16
|
+
channel: A grpc.Channel.
|
|
17
|
+
"""
|
|
18
|
+
self.Start = channel.unary_unary(
|
|
19
|
+
'/yandex.cloud.serverless.workflows.v1.ExecutionService/Start',
|
|
20
|
+
request_serializer=yandex_dot_cloud_dot_serverless_dot_workflows_dot_v1_dot_execution__service__pb2.StartExecutionRequest.SerializeToString,
|
|
21
|
+
response_deserializer=yandex_dot_cloud_dot_serverless_dot_workflows_dot_v1_dot_execution__service__pb2.StartExecutionResponse.FromString,
|
|
22
|
+
)
|
|
23
|
+
self.Stop = channel.unary_unary(
|
|
24
|
+
'/yandex.cloud.serverless.workflows.v1.ExecutionService/Stop',
|
|
25
|
+
request_serializer=yandex_dot_cloud_dot_serverless_dot_workflows_dot_v1_dot_execution__service__pb2.StopExecutionRequest.SerializeToString,
|
|
26
|
+
response_deserializer=yandex_dot_cloud_dot_serverless_dot_workflows_dot_v1_dot_execution__service__pb2.StopExecutionResponse.FromString,
|
|
27
|
+
)
|
|
28
|
+
self.Get = channel.unary_unary(
|
|
29
|
+
'/yandex.cloud.serverless.workflows.v1.ExecutionService/Get',
|
|
30
|
+
request_serializer=yandex_dot_cloud_dot_serverless_dot_workflows_dot_v1_dot_execution__service__pb2.GetExecutionRequest.SerializeToString,
|
|
31
|
+
response_deserializer=yandex_dot_cloud_dot_serverless_dot_workflows_dot_v1_dot_execution__service__pb2.GetExecutionResponse.FromString,
|
|
32
|
+
)
|
|
33
|
+
self.GetHistory = channel.unary_unary(
|
|
34
|
+
'/yandex.cloud.serverless.workflows.v1.ExecutionService/GetHistory',
|
|
35
|
+
request_serializer=yandex_dot_cloud_dot_serverless_dot_workflows_dot_v1_dot_execution__service__pb2.GetExecutionHistoryRequest.SerializeToString,
|
|
36
|
+
response_deserializer=yandex_dot_cloud_dot_serverless_dot_workflows_dot_v1_dot_execution__service__pb2.GetExecutionHistoryResponse.FromString,
|
|
37
|
+
)
|
|
38
|
+
self.List = channel.unary_unary(
|
|
39
|
+
'/yandex.cloud.serverless.workflows.v1.ExecutionService/List',
|
|
40
|
+
request_serializer=yandex_dot_cloud_dot_serverless_dot_workflows_dot_v1_dot_execution__service__pb2.ListExecutionsRequest.SerializeToString,
|
|
41
|
+
response_deserializer=yandex_dot_cloud_dot_serverless_dot_workflows_dot_v1_dot_execution__service__pb2.ListExecutionsResponse.FromString,
|
|
42
|
+
)
|
|
43
|
+
|
|
44
|
+
|
|
45
|
+
class ExecutionServiceServicer(object):
|
|
46
|
+
"""Set of methods for managing Workflows Executions.
|
|
47
|
+
"""
|
|
48
|
+
|
|
49
|
+
def Start(self, request, context):
|
|
50
|
+
"""Starts new Workflow execution.
|
|
51
|
+
"""
|
|
52
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
53
|
+
context.set_details('Method not implemented!')
|
|
54
|
+
raise NotImplementedError('Method not implemented!')
|
|
55
|
+
|
|
56
|
+
def Stop(self, request, context):
|
|
57
|
+
"""Stops specified Workflow execution.
|
|
58
|
+
"""
|
|
59
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
60
|
+
context.set_details('Method not implemented!')
|
|
61
|
+
raise NotImplementedError('Method not implemented!')
|
|
62
|
+
|
|
63
|
+
def Get(self, request, context):
|
|
64
|
+
"""Retrieves specified Workflow execution.
|
|
65
|
+
"""
|
|
66
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
67
|
+
context.set_details('Method not implemented!')
|
|
68
|
+
raise NotImplementedError('Method not implemented!')
|
|
69
|
+
|
|
70
|
+
def GetHistory(self, request, context):
|
|
71
|
+
"""Retrieves detailed history of specified Workflow execution.
|
|
72
|
+
"""
|
|
73
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
74
|
+
context.set_details('Method not implemented!')
|
|
75
|
+
raise NotImplementedError('Method not implemented!')
|
|
76
|
+
|
|
77
|
+
def List(self, request, context):
|
|
78
|
+
"""Retrieves list of Workflow executions.
|
|
79
|
+
"""
|
|
80
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
81
|
+
context.set_details('Method not implemented!')
|
|
82
|
+
raise NotImplementedError('Method not implemented!')
|
|
83
|
+
|
|
84
|
+
|
|
85
|
+
def add_ExecutionServiceServicer_to_server(servicer, server):
|
|
86
|
+
rpc_method_handlers = {
|
|
87
|
+
'Start': grpc.unary_unary_rpc_method_handler(
|
|
88
|
+
servicer.Start,
|
|
89
|
+
request_deserializer=yandex_dot_cloud_dot_serverless_dot_workflows_dot_v1_dot_execution__service__pb2.StartExecutionRequest.FromString,
|
|
90
|
+
response_serializer=yandex_dot_cloud_dot_serverless_dot_workflows_dot_v1_dot_execution__service__pb2.StartExecutionResponse.SerializeToString,
|
|
91
|
+
),
|
|
92
|
+
'Stop': grpc.unary_unary_rpc_method_handler(
|
|
93
|
+
servicer.Stop,
|
|
94
|
+
request_deserializer=yandex_dot_cloud_dot_serverless_dot_workflows_dot_v1_dot_execution__service__pb2.StopExecutionRequest.FromString,
|
|
95
|
+
response_serializer=yandex_dot_cloud_dot_serverless_dot_workflows_dot_v1_dot_execution__service__pb2.StopExecutionResponse.SerializeToString,
|
|
96
|
+
),
|
|
97
|
+
'Get': grpc.unary_unary_rpc_method_handler(
|
|
98
|
+
servicer.Get,
|
|
99
|
+
request_deserializer=yandex_dot_cloud_dot_serverless_dot_workflows_dot_v1_dot_execution__service__pb2.GetExecutionRequest.FromString,
|
|
100
|
+
response_serializer=yandex_dot_cloud_dot_serverless_dot_workflows_dot_v1_dot_execution__service__pb2.GetExecutionResponse.SerializeToString,
|
|
101
|
+
),
|
|
102
|
+
'GetHistory': grpc.unary_unary_rpc_method_handler(
|
|
103
|
+
servicer.GetHistory,
|
|
104
|
+
request_deserializer=yandex_dot_cloud_dot_serverless_dot_workflows_dot_v1_dot_execution__service__pb2.GetExecutionHistoryRequest.FromString,
|
|
105
|
+
response_serializer=yandex_dot_cloud_dot_serverless_dot_workflows_dot_v1_dot_execution__service__pb2.GetExecutionHistoryResponse.SerializeToString,
|
|
106
|
+
),
|
|
107
|
+
'List': grpc.unary_unary_rpc_method_handler(
|
|
108
|
+
servicer.List,
|
|
109
|
+
request_deserializer=yandex_dot_cloud_dot_serverless_dot_workflows_dot_v1_dot_execution__service__pb2.ListExecutionsRequest.FromString,
|
|
110
|
+
response_serializer=yandex_dot_cloud_dot_serverless_dot_workflows_dot_v1_dot_execution__service__pb2.ListExecutionsResponse.SerializeToString,
|
|
111
|
+
),
|
|
112
|
+
}
|
|
113
|
+
generic_handler = grpc.method_handlers_generic_handler(
|
|
114
|
+
'yandex.cloud.serverless.workflows.v1.ExecutionService', rpc_method_handlers)
|
|
115
|
+
server.add_generic_rpc_handlers((generic_handler,))
|
|
116
|
+
|
|
117
|
+
|
|
118
|
+
# This class is part of an EXPERIMENTAL API.
|
|
119
|
+
class ExecutionService(object):
|
|
120
|
+
"""Set of methods for managing Workflows Executions.
|
|
121
|
+
"""
|
|
122
|
+
|
|
123
|
+
@staticmethod
|
|
124
|
+
def Start(request,
|
|
125
|
+
target,
|
|
126
|
+
options=(),
|
|
127
|
+
channel_credentials=None,
|
|
128
|
+
call_credentials=None,
|
|
129
|
+
insecure=False,
|
|
130
|
+
compression=None,
|
|
131
|
+
wait_for_ready=None,
|
|
132
|
+
timeout=None,
|
|
133
|
+
metadata=None):
|
|
134
|
+
return grpc.experimental.unary_unary(request, target, '/yandex.cloud.serverless.workflows.v1.ExecutionService/Start',
|
|
135
|
+
yandex_dot_cloud_dot_serverless_dot_workflows_dot_v1_dot_execution__service__pb2.StartExecutionRequest.SerializeToString,
|
|
136
|
+
yandex_dot_cloud_dot_serverless_dot_workflows_dot_v1_dot_execution__service__pb2.StartExecutionResponse.FromString,
|
|
137
|
+
options, channel_credentials,
|
|
138
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
139
|
+
|
|
140
|
+
@staticmethod
|
|
141
|
+
def Stop(request,
|
|
142
|
+
target,
|
|
143
|
+
options=(),
|
|
144
|
+
channel_credentials=None,
|
|
145
|
+
call_credentials=None,
|
|
146
|
+
insecure=False,
|
|
147
|
+
compression=None,
|
|
148
|
+
wait_for_ready=None,
|
|
149
|
+
timeout=None,
|
|
150
|
+
metadata=None):
|
|
151
|
+
return grpc.experimental.unary_unary(request, target, '/yandex.cloud.serverless.workflows.v1.ExecutionService/Stop',
|
|
152
|
+
yandex_dot_cloud_dot_serverless_dot_workflows_dot_v1_dot_execution__service__pb2.StopExecutionRequest.SerializeToString,
|
|
153
|
+
yandex_dot_cloud_dot_serverless_dot_workflows_dot_v1_dot_execution__service__pb2.StopExecutionResponse.FromString,
|
|
154
|
+
options, channel_credentials,
|
|
155
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
156
|
+
|
|
157
|
+
@staticmethod
|
|
158
|
+
def Get(request,
|
|
159
|
+
target,
|
|
160
|
+
options=(),
|
|
161
|
+
channel_credentials=None,
|
|
162
|
+
call_credentials=None,
|
|
163
|
+
insecure=False,
|
|
164
|
+
compression=None,
|
|
165
|
+
wait_for_ready=None,
|
|
166
|
+
timeout=None,
|
|
167
|
+
metadata=None):
|
|
168
|
+
return grpc.experimental.unary_unary(request, target, '/yandex.cloud.serverless.workflows.v1.ExecutionService/Get',
|
|
169
|
+
yandex_dot_cloud_dot_serverless_dot_workflows_dot_v1_dot_execution__service__pb2.GetExecutionRequest.SerializeToString,
|
|
170
|
+
yandex_dot_cloud_dot_serverless_dot_workflows_dot_v1_dot_execution__service__pb2.GetExecutionResponse.FromString,
|
|
171
|
+
options, channel_credentials,
|
|
172
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
173
|
+
|
|
174
|
+
@staticmethod
|
|
175
|
+
def GetHistory(request,
|
|
176
|
+
target,
|
|
177
|
+
options=(),
|
|
178
|
+
channel_credentials=None,
|
|
179
|
+
call_credentials=None,
|
|
180
|
+
insecure=False,
|
|
181
|
+
compression=None,
|
|
182
|
+
wait_for_ready=None,
|
|
183
|
+
timeout=None,
|
|
184
|
+
metadata=None):
|
|
185
|
+
return grpc.experimental.unary_unary(request, target, '/yandex.cloud.serverless.workflows.v1.ExecutionService/GetHistory',
|
|
186
|
+
yandex_dot_cloud_dot_serverless_dot_workflows_dot_v1_dot_execution__service__pb2.GetExecutionHistoryRequest.SerializeToString,
|
|
187
|
+
yandex_dot_cloud_dot_serverless_dot_workflows_dot_v1_dot_execution__service__pb2.GetExecutionHistoryResponse.FromString,
|
|
188
|
+
options, channel_credentials,
|
|
189
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
190
|
+
|
|
191
|
+
@staticmethod
|
|
192
|
+
def List(request,
|
|
193
|
+
target,
|
|
194
|
+
options=(),
|
|
195
|
+
channel_credentials=None,
|
|
196
|
+
call_credentials=None,
|
|
197
|
+
insecure=False,
|
|
198
|
+
compression=None,
|
|
199
|
+
wait_for_ready=None,
|
|
200
|
+
timeout=None,
|
|
201
|
+
metadata=None):
|
|
202
|
+
return grpc.experimental.unary_unary(request, target, '/yandex.cloud.serverless.workflows.v1.ExecutionService/List',
|
|
203
|
+
yandex_dot_cloud_dot_serverless_dot_workflows_dot_v1_dot_execution__service__pb2.ListExecutionsRequest.SerializeToString,
|
|
204
|
+
yandex_dot_cloud_dot_serverless_dot_workflows_dot_v1_dot_execution__service__pb2.ListExecutionsResponse.FromString,
|
|
205
|
+
options, channel_credentials,
|
|
206
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
@@ -0,0 +1,130 @@
|
|
|
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.serverless.workflows.v1.execution_service_pb2
|
|
12
|
+
|
|
13
|
+
_T = typing.TypeVar("_T")
|
|
14
|
+
|
|
15
|
+
class _MaybeAsyncIterator(collections.abc.AsyncIterator[_T], collections.abc.Iterator[_T], metaclass=abc.ABCMeta): ...
|
|
16
|
+
|
|
17
|
+
class _ServicerContext(grpc.ServicerContext, grpc.aio.ServicerContext): # type: ignore[misc, type-arg]
|
|
18
|
+
...
|
|
19
|
+
|
|
20
|
+
class ExecutionServiceStub:
|
|
21
|
+
"""Set of methods for managing Workflows Executions."""
|
|
22
|
+
|
|
23
|
+
def __init__(self, channel: typing.Union[grpc.Channel, grpc.aio.Channel]) -> None: ...
|
|
24
|
+
Start: grpc.UnaryUnaryMultiCallable[
|
|
25
|
+
yandex.cloud.serverless.workflows.v1.execution_service_pb2.StartExecutionRequest,
|
|
26
|
+
yandex.cloud.serverless.workflows.v1.execution_service_pb2.StartExecutionResponse,
|
|
27
|
+
]
|
|
28
|
+
"""Starts new Workflow execution."""
|
|
29
|
+
|
|
30
|
+
Stop: grpc.UnaryUnaryMultiCallable[
|
|
31
|
+
yandex.cloud.serverless.workflows.v1.execution_service_pb2.StopExecutionRequest,
|
|
32
|
+
yandex.cloud.serverless.workflows.v1.execution_service_pb2.StopExecutionResponse,
|
|
33
|
+
]
|
|
34
|
+
"""Stops specified Workflow execution."""
|
|
35
|
+
|
|
36
|
+
Get: grpc.UnaryUnaryMultiCallable[
|
|
37
|
+
yandex.cloud.serverless.workflows.v1.execution_service_pb2.GetExecutionRequest,
|
|
38
|
+
yandex.cloud.serverless.workflows.v1.execution_service_pb2.GetExecutionResponse,
|
|
39
|
+
]
|
|
40
|
+
"""Retrieves specified Workflow execution."""
|
|
41
|
+
|
|
42
|
+
GetHistory: grpc.UnaryUnaryMultiCallable[
|
|
43
|
+
yandex.cloud.serverless.workflows.v1.execution_service_pb2.GetExecutionHistoryRequest,
|
|
44
|
+
yandex.cloud.serverless.workflows.v1.execution_service_pb2.GetExecutionHistoryResponse,
|
|
45
|
+
]
|
|
46
|
+
"""Retrieves detailed history of specified Workflow execution."""
|
|
47
|
+
|
|
48
|
+
List: grpc.UnaryUnaryMultiCallable[
|
|
49
|
+
yandex.cloud.serverless.workflows.v1.execution_service_pb2.ListExecutionsRequest,
|
|
50
|
+
yandex.cloud.serverless.workflows.v1.execution_service_pb2.ListExecutionsResponse,
|
|
51
|
+
]
|
|
52
|
+
"""Retrieves list of Workflow executions."""
|
|
53
|
+
|
|
54
|
+
class ExecutionServiceAsyncStub:
|
|
55
|
+
"""Set of methods for managing Workflows Executions."""
|
|
56
|
+
|
|
57
|
+
Start: grpc.aio.UnaryUnaryMultiCallable[
|
|
58
|
+
yandex.cloud.serverless.workflows.v1.execution_service_pb2.StartExecutionRequest,
|
|
59
|
+
yandex.cloud.serverless.workflows.v1.execution_service_pb2.StartExecutionResponse,
|
|
60
|
+
]
|
|
61
|
+
"""Starts new Workflow execution."""
|
|
62
|
+
|
|
63
|
+
Stop: grpc.aio.UnaryUnaryMultiCallable[
|
|
64
|
+
yandex.cloud.serverless.workflows.v1.execution_service_pb2.StopExecutionRequest,
|
|
65
|
+
yandex.cloud.serverless.workflows.v1.execution_service_pb2.StopExecutionResponse,
|
|
66
|
+
]
|
|
67
|
+
"""Stops specified Workflow execution."""
|
|
68
|
+
|
|
69
|
+
Get: grpc.aio.UnaryUnaryMultiCallable[
|
|
70
|
+
yandex.cloud.serverless.workflows.v1.execution_service_pb2.GetExecutionRequest,
|
|
71
|
+
yandex.cloud.serverless.workflows.v1.execution_service_pb2.GetExecutionResponse,
|
|
72
|
+
]
|
|
73
|
+
"""Retrieves specified Workflow execution."""
|
|
74
|
+
|
|
75
|
+
GetHistory: grpc.aio.UnaryUnaryMultiCallable[
|
|
76
|
+
yandex.cloud.serverless.workflows.v1.execution_service_pb2.GetExecutionHistoryRequest,
|
|
77
|
+
yandex.cloud.serverless.workflows.v1.execution_service_pb2.GetExecutionHistoryResponse,
|
|
78
|
+
]
|
|
79
|
+
"""Retrieves detailed history of specified Workflow execution."""
|
|
80
|
+
|
|
81
|
+
List: grpc.aio.UnaryUnaryMultiCallable[
|
|
82
|
+
yandex.cloud.serverless.workflows.v1.execution_service_pb2.ListExecutionsRequest,
|
|
83
|
+
yandex.cloud.serverless.workflows.v1.execution_service_pb2.ListExecutionsResponse,
|
|
84
|
+
]
|
|
85
|
+
"""Retrieves list of Workflow executions."""
|
|
86
|
+
|
|
87
|
+
class ExecutionServiceServicer(metaclass=abc.ABCMeta):
|
|
88
|
+
"""Set of methods for managing Workflows Executions."""
|
|
89
|
+
|
|
90
|
+
@abc.abstractmethod
|
|
91
|
+
def Start(
|
|
92
|
+
self,
|
|
93
|
+
request: yandex.cloud.serverless.workflows.v1.execution_service_pb2.StartExecutionRequest,
|
|
94
|
+
context: _ServicerContext,
|
|
95
|
+
) -> typing.Union[yandex.cloud.serverless.workflows.v1.execution_service_pb2.StartExecutionResponse, collections.abc.Awaitable[yandex.cloud.serverless.workflows.v1.execution_service_pb2.StartExecutionResponse]]:
|
|
96
|
+
"""Starts new Workflow execution."""
|
|
97
|
+
|
|
98
|
+
@abc.abstractmethod
|
|
99
|
+
def Stop(
|
|
100
|
+
self,
|
|
101
|
+
request: yandex.cloud.serverless.workflows.v1.execution_service_pb2.StopExecutionRequest,
|
|
102
|
+
context: _ServicerContext,
|
|
103
|
+
) -> typing.Union[yandex.cloud.serverless.workflows.v1.execution_service_pb2.StopExecutionResponse, collections.abc.Awaitable[yandex.cloud.serverless.workflows.v1.execution_service_pb2.StopExecutionResponse]]:
|
|
104
|
+
"""Stops specified Workflow execution."""
|
|
105
|
+
|
|
106
|
+
@abc.abstractmethod
|
|
107
|
+
def Get(
|
|
108
|
+
self,
|
|
109
|
+
request: yandex.cloud.serverless.workflows.v1.execution_service_pb2.GetExecutionRequest,
|
|
110
|
+
context: _ServicerContext,
|
|
111
|
+
) -> typing.Union[yandex.cloud.serverless.workflows.v1.execution_service_pb2.GetExecutionResponse, collections.abc.Awaitable[yandex.cloud.serverless.workflows.v1.execution_service_pb2.GetExecutionResponse]]:
|
|
112
|
+
"""Retrieves specified Workflow execution."""
|
|
113
|
+
|
|
114
|
+
@abc.abstractmethod
|
|
115
|
+
def GetHistory(
|
|
116
|
+
self,
|
|
117
|
+
request: yandex.cloud.serverless.workflows.v1.execution_service_pb2.GetExecutionHistoryRequest,
|
|
118
|
+
context: _ServicerContext,
|
|
119
|
+
) -> typing.Union[yandex.cloud.serverless.workflows.v1.execution_service_pb2.GetExecutionHistoryResponse, collections.abc.Awaitable[yandex.cloud.serverless.workflows.v1.execution_service_pb2.GetExecutionHistoryResponse]]:
|
|
120
|
+
"""Retrieves detailed history of specified Workflow execution."""
|
|
121
|
+
|
|
122
|
+
@abc.abstractmethod
|
|
123
|
+
def List(
|
|
124
|
+
self,
|
|
125
|
+
request: yandex.cloud.serverless.workflows.v1.execution_service_pb2.ListExecutionsRequest,
|
|
126
|
+
context: _ServicerContext,
|
|
127
|
+
) -> typing.Union[yandex.cloud.serverless.workflows.v1.execution_service_pb2.ListExecutionsResponse, collections.abc.Awaitable[yandex.cloud.serverless.workflows.v1.execution_service_pb2.ListExecutionsResponse]]:
|
|
128
|
+
"""Retrieves list of Workflow executions."""
|
|
129
|
+
|
|
130
|
+
def add_ExecutionServiceServicer_to_server(servicer: ExecutionServiceServicer, server: typing.Union[grpc.Server, grpc.aio.Server]) -> None: ...
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# source: yandex/cloud/serverless/workflows/v1/history_entry.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 duration_pb2 as google_dot_protobuf_dot_duration__pb2
|
|
15
|
+
from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2
|
|
16
|
+
from yandex.cloud import validation_pb2 as yandex_dot_cloud_dot_validation__pb2
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n8yandex/cloud/serverless/workflows/v1/history_entry.proto\x12$yandex.cloud.serverless.workflows.v1\x1a\x1egoogle/protobuf/duration.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1dyandex/cloud/validation.proto\"\xcc\x04\n\x0cHistoryEntry\x12\n\n\x02id\x18\x01 \x01(\t\x12\r\n\x05title\x18\x02 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x03 \x01(\t\x12.\n\nstarted_at\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12+\n\x08\x64uration\x18\x05 \x01(\x0b\x32\x19.google.protobuf.Duration\x12\x46\n\x05input\x18\x06 \x01(\x0b\x32\x37.yandex.cloud.serverless.workflows.v1.HistoryEntryInput\x12H\n\x06output\x18\x07 \x01(\x0b\x32\x38.yandex.cloud.serverless.workflows.v1.HistoryEntryOutput\x12\x46\n\x05\x65rror\x18\x08 \x01(\x0b\x32\x37.yandex.cloud.serverless.workflows.v1.HistoryEntryError\x12I\n\x06status\x18\t \x01(\x0e\x32\x39.yandex.cloud.serverless.workflows.v1.HistoryEntry.Status\x12\x0c\n\x04type\x18\n \x01(\t\"|\n\x06Status\x12\x16\n\x12STATUS_UNSPECIFIED\x10\x00\x12\r\n\tSCHEDULED\x10\x01\x12\x0b\n\x07STARTED\x10\x02\x12\r\n\tCOMPLETED\x10\x03\x12\n\n\x06\x46\x41ILED\x10\x04\x12\x14\n\x10\x43\x41NCEL_REQUESTED\x10\x05\x12\r\n\tCANCELLED\x10\x06\"8\n\x11HistoryEntryInput\x12\x14\n\ninput_json\x18\x01 \x01(\tH\x00\x42\r\n\x05input\x12\x04\xc0\xc1\x31\x01\";\n\x12HistoryEntryOutput\x12\x15\n\x0boutput_json\x18\x01 \x01(\tH\x00\x42\x0e\n\x06output\x12\x04\xc0\xc1\x31\x01\"8\n\x11HistoryEntryError\x12\x0f\n\x07message\x18\x01 \x01(\t\x12\x12\n\nerror_code\x18\x02 \x01(\tB~\n(yandex.cloud.api.serverless.workflows.v1ZRgithub.com/yandex-cloud/go-genproto/yandex/cloud/serverless/workflows/v1;workflowsb\x06proto3')
|
|
20
|
+
|
|
21
|
+
_globals = globals()
|
|
22
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
23
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'yandex.cloud.serverless.workflows.v1.history_entry_pb2', _globals)
|
|
24
|
+
if _descriptor._USE_C_DESCRIPTORS == False:
|
|
25
|
+
DESCRIPTOR._options = None
|
|
26
|
+
DESCRIPTOR._serialized_options = b'\n(yandex.cloud.api.serverless.workflows.v1ZRgithub.com/yandex-cloud/go-genproto/yandex/cloud/serverless/workflows/v1;workflows'
|
|
27
|
+
_HISTORYENTRYINPUT.oneofs_by_name['input']._options = None
|
|
28
|
+
_HISTORYENTRYINPUT.oneofs_by_name['input']._serialized_options = b'\300\3011\001'
|
|
29
|
+
_HISTORYENTRYOUTPUT.oneofs_by_name['output']._options = None
|
|
30
|
+
_HISTORYENTRYOUTPUT.oneofs_by_name['output']._serialized_options = b'\300\3011\001'
|
|
31
|
+
_globals['_HISTORYENTRY']._serialized_start=195
|
|
32
|
+
_globals['_HISTORYENTRY']._serialized_end=783
|
|
33
|
+
_globals['_HISTORYENTRY_STATUS']._serialized_start=659
|
|
34
|
+
_globals['_HISTORYENTRY_STATUS']._serialized_end=783
|
|
35
|
+
_globals['_HISTORYENTRYINPUT']._serialized_start=785
|
|
36
|
+
_globals['_HISTORYENTRYINPUT']._serialized_end=841
|
|
37
|
+
_globals['_HISTORYENTRYOUTPUT']._serialized_start=843
|
|
38
|
+
_globals['_HISTORYENTRYOUTPUT']._serialized_end=902
|
|
39
|
+
_globals['_HISTORYENTRYERROR']._serialized_start=904
|
|
40
|
+
_globals['_HISTORYENTRYERROR']._serialized_end=960
|
|
41
|
+
# @@protoc_insertion_point(module_scope)
|