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,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
|
+
...
|
|
@@ -15,12 +15,13 @@ from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2
|
|
|
15
15
|
from google.protobuf import field_mask_pb2 as google_dot_protobuf_dot_field__mask__pb2
|
|
16
16
|
from yandex.cloud.operation import operation_pb2 as yandex_dot_cloud_dot_operation_dot_operation__pb2
|
|
17
17
|
from yandex.cloud.api import operation_pb2 as yandex_dot_cloud_dot_api_dot_operation__pb2
|
|
18
|
-
from yandex.cloud.loadtesting.api.v1.agent import create_compute_instance_pb2 as yandex_dot_cloud_dot_loadtesting_dot_api_dot_v1_dot_agent_dot_create__compute__instance__pb2
|
|
19
18
|
from yandex.cloud.loadtesting.api.v1.agent import agent_pb2 as yandex_dot_cloud_dot_loadtesting_dot_api_dot_v1_dot_agent_dot_agent__pb2
|
|
19
|
+
from yandex.cloud.loadtesting.api.v1.agent import create_compute_instance_pb2 as yandex_dot_cloud_dot_loadtesting_dot_api_dot_v1_dot_agent_dot_create__compute__instance__pb2
|
|
20
|
+
from yandex.cloud.loadtesting.api.v1.agent import log_settings_pb2 as yandex_dot_cloud_dot_loadtesting_dot_api_dot_v1_dot_agent_dot_log__settings__pb2
|
|
20
21
|
from yandex.cloud import validation_pb2 as yandex_dot_cloud_dot_validation__pb2
|
|
21
22
|
|
|
22
23
|
|
|
23
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n3yandex/cloud/loadtesting/api/v1/agent_service.proto\x12\x1fyandex.cloud.loadtesting.api.v1\x1a\x1cgoogle/api/annotations.proto\x1a google/protobuf/field_mask.proto\x1a&yandex/cloud/operation/operation.proto\x1a yandex/cloud/api/operation.proto\x1a\x43yandex/cloud/loadtesting/api/v1/agent/create_compute_instance.proto\x1a\
|
|
24
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n3yandex/cloud/loadtesting/api/v1/agent_service.proto\x12\x1fyandex.cloud.loadtesting.api.v1\x1a\x1cgoogle/api/annotations.proto\x1a google/protobuf/field_mask.proto\x1a&yandex/cloud/operation/operation.proto\x1a yandex/cloud/api/operation.proto\x1a\x31yandex/cloud/loadtesting/api/v1/agent/agent.proto\x1a\x43yandex/cloud/loadtesting/api/v1/agent/create_compute_instance.proto\x1a\x38yandex/cloud/loadtesting/api/v1/agent/log_settings.proto\x1a\x1dyandex/cloud/validation.proto\"\x84\x04\n\x12\x43reateAgentRequest\x12\x1f\n\tfolder_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12/\n\x04name\x18\x02 \x01(\tB!\xf2\xc7\x31\x1d|[a-z][-a-z0-9]{1,61}[a-z0-9]\x12\x1e\n\x0b\x64\x65scription\x18\x03 \x01(\tB\t\x8a\xc8\x31\x05<=256\x12]\n\x17\x63ompute_instance_params\x18\x04 \x01(\x0b\x32<.yandex.cloud.loadtesting.api.v1.agent.CreateComputeInstance\x12\x15\n\ragent_version\x18\x05 \x01(\t\x12\x8c\x01\n\x06labels\x18\x06 \x03(\x0b\x32?.yandex.cloud.loadtesting.api.v1.CreateAgentRequest.LabelsEntryB;\xf2\xc7\x31\x0b[-_0-9a-z]*\x82\xc8\x31\x04<=64\x8a\xc8\x31\x04<=63\xb2\xc8\x31\x18\x12\x10[a-z][-_0-9a-z]*\x1a\x04\x31-63\x12H\n\x0clog_settings\x18\x07 \x01(\x0b\x32\x32.yandex.cloud.loadtesting.api.v1.agent.LogSettings\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\'\n\x13\x43reateAgentMetadata\x12\x10\n\x08\x61gent_id\x18\x01 \x01(\t\"#\n\x0fGetAgentRequest\x12\x10\n\x08\x61gent_id\x18\x02 \x01(\t\"&\n\x12\x44\x65leteAgentRequest\x12\x10\n\x08\x61gent_id\x18\x01 \x01(\t\"\'\n\x13\x44\x65leteAgentMetadata\x12\x10\n\x08\x61gent_id\x18\x01 \x01(\t\"\x8e\x01\n\x11ListAgentsRequest\x12\x1f\n\tfolder_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12\x1d\n\tpage_size\x18\x02 \x01(\x03\x42\n\xfa\xc7\x31\x06<=1000\x12\x1d\n\npage_token\x18\x03 \x01(\tB\t\x8a\xc8\x31\x05<=100\x12\x1a\n\x06\x66ilter\x18\x04 \x01(\tB\n\x8a\xc8\x31\x06<=1000\"v\n\x12ListAgentsResponse\x12<\n\x06\x61gents\x18\x01 \x03(\x0b\x32,.yandex.cloud.loadtesting.api.v1.agent.Agent\x12\"\n\x0fnext_page_token\x18\x02 \x01(\tB\t\x8a\xc8\x31\x05<=100\"\xd1\x03\n\x12UpdateAgentRequest\x12\x16\n\x08\x61gent_id\x18\x01 \x01(\tB\x04\xe8\xc7\x31\x01\x12\x35\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x04\xe8\xc7\x31\x01\x12/\n\x04name\x18\x03 \x01(\tB!\xf2\xc7\x31\x1d|[a-z][-a-z0-9]{1,61}[a-z0-9]\x12\x1e\n\x0b\x64\x65scription\x18\x04 \x01(\tB\t\x8a\xc8\x31\x05<=256\x12]\n\x17\x63ompute_instance_params\x18\x05 \x01(\x0b\x32<.yandex.cloud.loadtesting.api.v1.agent.CreateComputeInstance\x12\x8c\x01\n\x06labels\x18\x06 \x03(\x0b\x32?.yandex.cloud.loadtesting.api.v1.UpdateAgentRequest.LabelsEntryB;\xf2\xc7\x31\x0b[-_0-9a-z]*\x82\xc8\x31\x04<=64\x8a\xc8\x31\x04<=63\xb2\xc8\x31\x18\x12\x10[a-z][-_0-9a-z]*\x1a\x04\x31-63\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\'\n\x13UpdateAgentMetadata\x12\x10\n\x08\x61gent_id\x18\x01 \x01(\t2\xe3\x06\n\x0c\x41gentService\x12\xac\x01\n\x06\x43reate\x12\x33.yandex.cloud.loadtesting.api.v1.CreateAgentRequest\x1a!.yandex.cloud.operation.Operation\"J\xb2\xd2*\"\n\x13\x43reateAgentMetadata\x12\x0b\x61gent.Agent\x82\xd3\xe4\x93\x02\x1e\"\x19/loadtesting/api/v1/agent:\x01*\x12\x93\x01\n\x03Get\x12\x30.yandex.cloud.loadtesting.api.v1.GetAgentRequest\x1a,.yandex.cloud.loadtesting.api.v1.agent.Agent\",\x82\xd3\xe4\x93\x02&\x12$/loadtesting/api/v1/agent/{agent_id}\x12\x92\x01\n\x04List\x12\x32.yandex.cloud.loadtesting.api.v1.ListAgentsRequest\x1a\x33.yandex.cloud.loadtesting.api.v1.ListAgentsResponse\"!\x82\xd3\xe4\x93\x02\x1b\x12\x19/loadtesting/api/v1/agent\x12\xbe\x01\n\x06\x44\x65lete\x12\x33.yandex.cloud.loadtesting.api.v1.DeleteAgentRequest\x1a!.yandex.cloud.operation.Operation\"\\\xb2\xd2*,\n\x13\x44\x65leteAgentMetadata\x12\x15google.protobuf.Empty\x82\xd3\xe4\x93\x02&*$/loadtesting/api/v1/agent/{agent_id}\x12\xb7\x01\n\x06Update\x12\x33.yandex.cloud.loadtesting.api.v1.UpdateAgentRequest\x1a!.yandex.cloud.operation.Operation\"U\xb2\xd2*\"\n\x13UpdateAgentMetadata\x12\x0b\x61gent.Agent\x82\xd3\xe4\x93\x02)2$/loadtesting/api/v1/agent/{agent_id}:\x01*Bv\n#yandex.cloud.api.loadtesting.api.v1ZOgithub.com/yandex-cloud/go-genproto/yandex/cloud/loadtesting/api/v1;loadtestingb\x06proto3')
|
|
24
25
|
|
|
25
26
|
_globals = globals()
|
|
26
27
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
@@ -70,28 +71,28 @@ if _descriptor._USE_C_DESCRIPTORS == False:
|
|
|
70
71
|
_AGENTSERVICE.methods_by_name['Delete']._serialized_options = b'\262\322*,\n\023DeleteAgentMetadata\022\025google.protobuf.Empty\202\323\344\223\002&*$/loadtesting/api/v1/agent/{agent_id}'
|
|
71
72
|
_AGENTSERVICE.methods_by_name['Update']._options = None
|
|
72
73
|
_AGENTSERVICE.methods_by_name['Update']._serialized_options = b'\262\322*\"\n\023UpdateAgentMetadata\022\013agent.Agent\202\323\344\223\002)2$/loadtesting/api/v1/agent/{agent_id}:\001*'
|
|
73
|
-
_globals['_CREATEAGENTREQUEST']._serialized_start=
|
|
74
|
-
_globals['_CREATEAGENTREQUEST']._serialized_end=
|
|
75
|
-
_globals['_CREATEAGENTREQUEST_LABELSENTRY']._serialized_start=
|
|
76
|
-
_globals['_CREATEAGENTREQUEST_LABELSENTRY']._serialized_end=
|
|
77
|
-
_globals['_CREATEAGENTMETADATA']._serialized_start=
|
|
78
|
-
_globals['_CREATEAGENTMETADATA']._serialized_end=
|
|
79
|
-
_globals['_GETAGENTREQUEST']._serialized_start=
|
|
80
|
-
_globals['_GETAGENTREQUEST']._serialized_end=
|
|
81
|
-
_globals['_DELETEAGENTREQUEST']._serialized_start=
|
|
82
|
-
_globals['_DELETEAGENTREQUEST']._serialized_end=
|
|
83
|
-
_globals['_DELETEAGENTMETADATA']._serialized_start=
|
|
84
|
-
_globals['_DELETEAGENTMETADATA']._serialized_end=
|
|
85
|
-
_globals['_LISTAGENTSREQUEST']._serialized_start=
|
|
86
|
-
_globals['_LISTAGENTSREQUEST']._serialized_end=
|
|
87
|
-
_globals['_LISTAGENTSRESPONSE']._serialized_start=
|
|
88
|
-
_globals['_LISTAGENTSRESPONSE']._serialized_end=
|
|
89
|
-
_globals['_UPDATEAGENTREQUEST']._serialized_start=
|
|
90
|
-
_globals['_UPDATEAGENTREQUEST']._serialized_end=
|
|
91
|
-
_globals['_UPDATEAGENTREQUEST_LABELSENTRY']._serialized_start=
|
|
92
|
-
_globals['_UPDATEAGENTREQUEST_LABELSENTRY']._serialized_end=
|
|
93
|
-
_globals['_UPDATEAGENTMETADATA']._serialized_start=
|
|
94
|
-
_globals['_UPDATEAGENTMETADATA']._serialized_end=
|
|
95
|
-
_globals['_AGENTSERVICE']._serialized_start=
|
|
96
|
-
_globals['_AGENTSERVICE']._serialized_end=
|
|
74
|
+
_globals['_CREATEAGENTREQUEST']._serialized_start=436
|
|
75
|
+
_globals['_CREATEAGENTREQUEST']._serialized_end=952
|
|
76
|
+
_globals['_CREATEAGENTREQUEST_LABELSENTRY']._serialized_start=907
|
|
77
|
+
_globals['_CREATEAGENTREQUEST_LABELSENTRY']._serialized_end=952
|
|
78
|
+
_globals['_CREATEAGENTMETADATA']._serialized_start=954
|
|
79
|
+
_globals['_CREATEAGENTMETADATA']._serialized_end=993
|
|
80
|
+
_globals['_GETAGENTREQUEST']._serialized_start=995
|
|
81
|
+
_globals['_GETAGENTREQUEST']._serialized_end=1030
|
|
82
|
+
_globals['_DELETEAGENTREQUEST']._serialized_start=1032
|
|
83
|
+
_globals['_DELETEAGENTREQUEST']._serialized_end=1070
|
|
84
|
+
_globals['_DELETEAGENTMETADATA']._serialized_start=1072
|
|
85
|
+
_globals['_DELETEAGENTMETADATA']._serialized_end=1111
|
|
86
|
+
_globals['_LISTAGENTSREQUEST']._serialized_start=1114
|
|
87
|
+
_globals['_LISTAGENTSREQUEST']._serialized_end=1256
|
|
88
|
+
_globals['_LISTAGENTSRESPONSE']._serialized_start=1258
|
|
89
|
+
_globals['_LISTAGENTSRESPONSE']._serialized_end=1376
|
|
90
|
+
_globals['_UPDATEAGENTREQUEST']._serialized_start=1379
|
|
91
|
+
_globals['_UPDATEAGENTREQUEST']._serialized_end=1844
|
|
92
|
+
_globals['_UPDATEAGENTREQUEST_LABELSENTRY']._serialized_start=907
|
|
93
|
+
_globals['_UPDATEAGENTREQUEST_LABELSENTRY']._serialized_end=952
|
|
94
|
+
_globals['_UPDATEAGENTMETADATA']._serialized_start=1846
|
|
95
|
+
_globals['_UPDATEAGENTMETADATA']._serialized_end=1885
|
|
96
|
+
_globals['_AGENTSERVICE']._serialized_start=1888
|
|
97
|
+
_globals['_AGENTSERVICE']._serialized_end=2755
|
|
97
98
|
# @@protoc_insertion_point(module_scope)
|
|
@@ -12,6 +12,7 @@ import google.protobuf.message
|
|
|
12
12
|
import typing
|
|
13
13
|
import yandex.cloud.loadtesting.api.v1.agent.agent_pb2
|
|
14
14
|
import yandex.cloud.loadtesting.api.v1.agent.create_compute_instance_pb2
|
|
15
|
+
import yandex.cloud.loadtesting.api.v1.agent.log_settings_pb2
|
|
15
16
|
|
|
16
17
|
DESCRIPTOR: google.protobuf.descriptor.FileDescriptor
|
|
17
18
|
|
|
@@ -41,6 +42,7 @@ class CreateAgentRequest(google.protobuf.message.Message):
|
|
|
41
42
|
COMPUTE_INSTANCE_PARAMS_FIELD_NUMBER: builtins.int
|
|
42
43
|
AGENT_VERSION_FIELD_NUMBER: builtins.int
|
|
43
44
|
LABELS_FIELD_NUMBER: builtins.int
|
|
45
|
+
LOG_SETTINGS_FIELD_NUMBER: builtins.int
|
|
44
46
|
folder_id: builtins.str
|
|
45
47
|
"""ID of the folder to create an agent in."""
|
|
46
48
|
name: builtins.str
|
|
@@ -66,6 +68,10 @@ class CreateAgentRequest(google.protobuf.message.Message):
|
|
|
66
68
|
def labels(self) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]:
|
|
67
69
|
"""Agent labels as `key:value` pairs."""
|
|
68
70
|
|
|
71
|
+
@property
|
|
72
|
+
def log_settings(self) -> yandex.cloud.loadtesting.api.v1.agent.log_settings_pb2.LogSettings:
|
|
73
|
+
"""Agent log settings"""
|
|
74
|
+
|
|
69
75
|
def __init__(
|
|
70
76
|
self,
|
|
71
77
|
*,
|
|
@@ -75,9 +81,10 @@ class CreateAgentRequest(google.protobuf.message.Message):
|
|
|
75
81
|
compute_instance_params: yandex.cloud.loadtesting.api.v1.agent.create_compute_instance_pb2.CreateComputeInstance | None = ...,
|
|
76
82
|
agent_version: builtins.str = ...,
|
|
77
83
|
labels: collections.abc.Mapping[builtins.str, builtins.str] | None = ...,
|
|
84
|
+
log_settings: yandex.cloud.loadtesting.api.v1.agent.log_settings_pb2.LogSettings | None = ...,
|
|
78
85
|
) -> None: ...
|
|
79
|
-
def HasField(self, field_name: typing.Literal["compute_instance_params", b"compute_instance_params"]) -> builtins.bool: ...
|
|
80
|
-
def ClearField(self, field_name: typing.Literal["agent_version", b"agent_version", "compute_instance_params", b"compute_instance_params", "description", b"description", "folder_id", b"folder_id", "labels", b"labels", "name", b"name"]) -> None: ...
|
|
86
|
+
def HasField(self, field_name: typing.Literal["compute_instance_params", b"compute_instance_params", "log_settings", b"log_settings"]) -> builtins.bool: ...
|
|
87
|
+
def ClearField(self, field_name: typing.Literal["agent_version", b"agent_version", "compute_instance_params", b"compute_instance_params", "description", b"description", "folder_id", b"folder_id", "labels", b"labels", "log_settings", b"log_settings", "name", b"name"]) -> None: ...
|
|
81
88
|
|
|
82
89
|
global___CreateAgentRequest = CreateAgentRequest
|
|
83
90
|
|
|
@@ -14,7 +14,7 @@ _sym_db = _symbol_database.Default()
|
|
|
14
14
|
from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2
|
|
15
15
|
|
|
16
16
|
|
|
17
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n:yandex/cloud/loadtesting/api/v1/test/imbalance_point.proto\x12$yandex.cloud.loadtesting.api.v1.test\x1a\x1fgoogle/protobuf/timestamp.proto\"
|
|
17
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n:yandex/cloud/loadtesting/api/v1/test/imbalance_point.proto\x12$yandex.cloud.loadtesting.api.v1.test\x1a\x1fgoogle/protobuf/timestamp.proto\"V\n\x0eImbalancePoint\x12&\n\x02\x61t\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x0b\n\x03rps\x18\x02 \x01(\x03\x12\x0f\n\x07\x63omment\x18\x03 \x01(\tBy\n(yandex.cloud.api.loadtesting.api.v1.testZMgithub.com/yandex-cloud/go-genproto/yandex/cloud/loadtesting/api/v1/test;testb\x06proto3')
|
|
18
18
|
|
|
19
19
|
_globals = globals()
|
|
20
20
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
@@ -23,5 +23,5 @@ if _descriptor._USE_C_DESCRIPTORS == False:
|
|
|
23
23
|
DESCRIPTOR._options = None
|
|
24
24
|
DESCRIPTOR._serialized_options = b'\n(yandex.cloud.api.loadtesting.api.v1.testZMgithub.com/yandex-cloud/go-genproto/yandex/cloud/loadtesting/api/v1/test;test'
|
|
25
25
|
_globals['_IMBALANCEPOINT']._serialized_start=133
|
|
26
|
-
_globals['_IMBALANCEPOINT']._serialized_end=
|
|
26
|
+
_globals['_IMBALANCEPOINT']._serialized_end=219
|
|
27
27
|
# @@protoc_insertion_point(module_scope)
|
|
@@ -19,8 +19,11 @@ class ImbalancePoint(google.protobuf.message.Message):
|
|
|
19
19
|
|
|
20
20
|
AT_FIELD_NUMBER: builtins.int
|
|
21
21
|
RPS_FIELD_NUMBER: builtins.int
|
|
22
|
+
COMMENT_FIELD_NUMBER: builtins.int
|
|
22
23
|
rps: builtins.int
|
|
23
24
|
"""Imbalance moment RPS."""
|
|
25
|
+
comment: builtins.str
|
|
26
|
+
"""Imbalance reason comment."""
|
|
24
27
|
@property
|
|
25
28
|
def at(self) -> google.protobuf.timestamp_pb2.Timestamp:
|
|
26
29
|
"""Imbalance moment timestamp."""
|
|
@@ -30,8 +33,9 @@ class ImbalancePoint(google.protobuf.message.Message):
|
|
|
30
33
|
*,
|
|
31
34
|
at: google.protobuf.timestamp_pb2.Timestamp | None = ...,
|
|
32
35
|
rps: builtins.int = ...,
|
|
36
|
+
comment: builtins.str = ...,
|
|
33
37
|
) -> None: ...
|
|
34
38
|
def HasField(self, field_name: typing.Literal["at", b"at"]) -> builtins.bool: ...
|
|
35
|
-
def ClearField(self, field_name: typing.Literal["at", b"at", "rps", b"rps"]) -> None: ...
|
|
39
|
+
def ClearField(self, field_name: typing.Literal["at", b"at", "comment", b"comment", "rps", b"rps"]) -> None: ...
|
|
36
40
|
|
|
37
41
|
global___ImbalancePoint = ImbalancePoint
|
|
@@ -12,9 +12,11 @@ _sym_db = _symbol_database.Default()
|
|
|
12
12
|
|
|
13
13
|
|
|
14
14
|
from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2
|
|
15
|
+
from yandex.cloud import validation_pb2 as yandex_dot_cloud_dot_validation__pb2
|
|
16
|
+
from google.protobuf import wrappers_pb2 as google_dot_protobuf_dot_wrappers__pb2
|
|
15
17
|
|
|
16
18
|
|
|
17
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n$yandex/cloud/lockbox/v1/secret.proto\x12\x17yandex.cloud.lockbox.v1\x1a\x1fgoogle/protobuf/timestamp.proto\"\
|
|
19
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n$yandex/cloud/lockbox/v1/secret.proto\x12\x17yandex.cloud.lockbox.v1\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1dyandex/cloud/validation.proto\x1a\x1egoogle/protobuf/wrappers.proto\"\xce\x04\n\x06Secret\x12\n\n\x02id\x18\x01 \x01(\t\x12\x11\n\tfolder_id\x18\x02 \x01(\t\x12.\n\ncreated_at\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x0c\n\x04name\x18\x04 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x05 \x01(\t\x12;\n\x06labels\x18\x06 \x03(\x0b\x32+.yandex.cloud.lockbox.v1.Secret.LabelsEntry\x12\x12\n\nkms_key_id\x18\x07 \x01(\t\x12\x36\n\x06status\x18\x08 \x01(\x0e\x32&.yandex.cloud.lockbox.v1.Secret.Status\x12\x39\n\x0f\x63urrent_version\x18\t \x01(\x0b\x32 .yandex.cloud.lockbox.v1.Version\x12\x1b\n\x13\x64\x65letion_protection\x18\n \x01(\x08\x12_\n\x1epassword_payload_specification\x18\x0b \x01(\x0b\x32\x35.yandex.cloud.lockbox.v1.PasswordPayloadSpecificationH\x00\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"H\n\x06Status\x12\x16\n\x12STATUS_UNSPECIFIED\x10\x00\x12\x0c\n\x08\x43REATING\x10\x01\x12\n\n\x06\x41\x43TIVE\x10\x02\x12\x0c\n\x08INACTIVE\x10\x03\x42\x17\n\x15payload_specification\"\xc8\x03\n\x07Version\x12\n\n\x02id\x18\x01 \x01(\t\x12\x11\n\tsecret_id\x18\x02 \x01(\t\x12.\n\ncreated_at\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12.\n\ndestroy_at\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x13\n\x0b\x64\x65scription\x18\x05 \x01(\t\x12\x37\n\x06status\x18\x06 \x01(\x0e\x32\'.yandex.cloud.lockbox.v1.Version.Status\x12\x1a\n\x12payload_entry_keys\x18\x07 \x03(\t\x12_\n\x1epassword_payload_specification\x18\x08 \x01(\x0b\x32\x35.yandex.cloud.lockbox.v1.PasswordPayloadSpecificationH\x00\"Z\n\x06Status\x12\x16\n\x12STATUS_UNSPECIFIED\x10\x00\x12\n\n\x06\x41\x43TIVE\x10\x01\x12\x1d\n\x19SCHEDULED_FOR_DESTRUCTION\x10\x02\x12\r\n\tDESTROYED\x10\x03\x42\x17\n\x15payload_specification\"\xa0\x03\n\x1cPasswordPayloadSpecification\x12:\n\x0cpassword_key\x18\x01 \x01(\tB$\xe8\xc7\x31\x01\xf2\xc7\x31\x13[-_./\\\\@0-9a-zA-Z]+\x8a\xc8\x31\x05<=256\x12\x19\n\x06length\x18\x02 \x01(\x03\x42\t\xfa\xc7\x31\x05<=256\x12\x35\n\x11include_uppercase\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.BoolValue\x12\x35\n\x11include_lowercase\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.BoolValue\x12\x32\n\x0einclude_digits\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.BoolValue\x12\x37\n\x13include_punctuation\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.BoolValue\x12&\n\x14included_punctuation\x18\x07 \x01(\tB\x08\x8a\xc8\x31\x04<=32\x12&\n\x14\x65xcluded_punctuation\x18\x08 \x01(\tB\x08\x8a\xc8\x31\x04<=31Bb\n\x1byandex.cloud.api.lockbox.v1ZCgithub.com/yandex-cloud/go-genproto/yandex/cloud/lockbox/v1;lockboxb\x06proto3')
|
|
18
20
|
|
|
19
21
|
_globals = globals()
|
|
20
22
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
@@ -24,14 +26,24 @@ if _descriptor._USE_C_DESCRIPTORS == False:
|
|
|
24
26
|
DESCRIPTOR._serialized_options = b'\n\033yandex.cloud.api.lockbox.v1ZCgithub.com/yandex-cloud/go-genproto/yandex/cloud/lockbox/v1;lockbox'
|
|
25
27
|
_SECRET_LABELSENTRY._options = None
|
|
26
28
|
_SECRET_LABELSENTRY._serialized_options = b'8\001'
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
_globals['
|
|
36
|
-
_globals['
|
|
29
|
+
_PASSWORDPAYLOADSPECIFICATION.fields_by_name['password_key']._options = None
|
|
30
|
+
_PASSWORDPAYLOADSPECIFICATION.fields_by_name['password_key']._serialized_options = b'\350\3071\001\362\3071\023[-_./\\\\@0-9a-zA-Z]+\212\3101\005<=256'
|
|
31
|
+
_PASSWORDPAYLOADSPECIFICATION.fields_by_name['length']._options = None
|
|
32
|
+
_PASSWORDPAYLOADSPECIFICATION.fields_by_name['length']._serialized_options = b'\372\3071\005<=256'
|
|
33
|
+
_PASSWORDPAYLOADSPECIFICATION.fields_by_name['included_punctuation']._options = None
|
|
34
|
+
_PASSWORDPAYLOADSPECIFICATION.fields_by_name['included_punctuation']._serialized_options = b'\212\3101\004<=32'
|
|
35
|
+
_PASSWORDPAYLOADSPECIFICATION.fields_by_name['excluded_punctuation']._options = None
|
|
36
|
+
_PASSWORDPAYLOADSPECIFICATION.fields_by_name['excluded_punctuation']._serialized_options = b'\212\3101\004<=31'
|
|
37
|
+
_globals['_SECRET']._serialized_start=162
|
|
38
|
+
_globals['_SECRET']._serialized_end=752
|
|
39
|
+
_globals['_SECRET_LABELSENTRY']._serialized_start=608
|
|
40
|
+
_globals['_SECRET_LABELSENTRY']._serialized_end=653
|
|
41
|
+
_globals['_SECRET_STATUS']._serialized_start=655
|
|
42
|
+
_globals['_SECRET_STATUS']._serialized_end=727
|
|
43
|
+
_globals['_VERSION']._serialized_start=755
|
|
44
|
+
_globals['_VERSION']._serialized_end=1211
|
|
45
|
+
_globals['_VERSION_STATUS']._serialized_start=1096
|
|
46
|
+
_globals['_VERSION_STATUS']._serialized_end=1186
|
|
47
|
+
_globals['_PASSWORDPAYLOADSPECIFICATION']._serialized_start=1214
|
|
48
|
+
_globals['_PASSWORDPAYLOADSPECIFICATION']._serialized_end=1630
|
|
37
49
|
# @@protoc_insertion_point(module_scope)
|
|
@@ -10,6 +10,7 @@ import google.protobuf.internal.containers
|
|
|
10
10
|
import google.protobuf.internal.enum_type_wrapper
|
|
11
11
|
import google.protobuf.message
|
|
12
12
|
import google.protobuf.timestamp_pb2
|
|
13
|
+
import google.protobuf.wrappers_pb2
|
|
13
14
|
import sys
|
|
14
15
|
import typing
|
|
15
16
|
|
|
@@ -87,6 +88,7 @@ class Secret(google.protobuf.message.Message):
|
|
|
87
88
|
STATUS_FIELD_NUMBER: builtins.int
|
|
88
89
|
CURRENT_VERSION_FIELD_NUMBER: builtins.int
|
|
89
90
|
DELETION_PROTECTION_FIELD_NUMBER: builtins.int
|
|
91
|
+
PASSWORD_PAYLOAD_SPECIFICATION_FIELD_NUMBER: builtins.int
|
|
90
92
|
id: builtins.str
|
|
91
93
|
"""ID of the secret."""
|
|
92
94
|
folder_id: builtins.str
|
|
@@ -113,6 +115,8 @@ class Secret(google.protobuf.message.Message):
|
|
|
113
115
|
def current_version(self) -> global___Version:
|
|
114
116
|
"""Current (i.e. the `latest`) version of the secret."""
|
|
115
117
|
|
|
118
|
+
@property
|
|
119
|
+
def password_payload_specification(self) -> global___PasswordPayloadSpecification: ...
|
|
116
120
|
def __init__(
|
|
117
121
|
self,
|
|
118
122
|
*,
|
|
@@ -126,9 +130,11 @@ class Secret(google.protobuf.message.Message):
|
|
|
126
130
|
status: global___Secret.Status.ValueType = ...,
|
|
127
131
|
current_version: global___Version | None = ...,
|
|
128
132
|
deletion_protection: builtins.bool = ...,
|
|
133
|
+
password_payload_specification: global___PasswordPayloadSpecification | None = ...,
|
|
129
134
|
) -> None: ...
|
|
130
|
-
def HasField(self, field_name: typing.Literal["created_at", b"created_at", "current_version", b"current_version"]) -> builtins.bool: ...
|
|
131
|
-
def ClearField(self, field_name: typing.Literal["created_at", b"created_at", "current_version", b"current_version", "deletion_protection", b"deletion_protection", "description", b"description", "folder_id", b"folder_id", "id", b"id", "kms_key_id", b"kms_key_id", "labels", b"labels", "name", b"name", "status", b"status"]) -> None: ...
|
|
135
|
+
def HasField(self, field_name: typing.Literal["created_at", b"created_at", "current_version", b"current_version", "password_payload_specification", b"password_payload_specification", "payload_specification", b"payload_specification"]) -> builtins.bool: ...
|
|
136
|
+
def ClearField(self, field_name: typing.Literal["created_at", b"created_at", "current_version", b"current_version", "deletion_protection", b"deletion_protection", "description", b"description", "folder_id", b"folder_id", "id", b"id", "kms_key_id", b"kms_key_id", "labels", b"labels", "name", b"name", "password_payload_specification", b"password_payload_specification", "payload_specification", b"payload_specification", "status", b"status"]) -> None: ...
|
|
137
|
+
def WhichOneof(self, oneof_group: typing.Literal["payload_specification", b"payload_specification"]) -> typing.Literal["password_payload_specification"] | None: ...
|
|
132
138
|
|
|
133
139
|
global___Secret = Secret
|
|
134
140
|
|
|
@@ -170,6 +176,7 @@ class Version(google.protobuf.message.Message):
|
|
|
170
176
|
DESCRIPTION_FIELD_NUMBER: builtins.int
|
|
171
177
|
STATUS_FIELD_NUMBER: builtins.int
|
|
172
178
|
PAYLOAD_ENTRY_KEYS_FIELD_NUMBER: builtins.int
|
|
179
|
+
PASSWORD_PAYLOAD_SPECIFICATION_FIELD_NUMBER: builtins.int
|
|
173
180
|
id: builtins.str
|
|
174
181
|
"""ID of the version."""
|
|
175
182
|
secret_id: builtins.str
|
|
@@ -192,6 +199,8 @@ class Version(google.protobuf.message.Message):
|
|
|
192
199
|
def payload_entry_keys(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]:
|
|
193
200
|
"""Keys of the entries contained in the version payload."""
|
|
194
201
|
|
|
202
|
+
@property
|
|
203
|
+
def password_payload_specification(self) -> global___PasswordPayloadSpecification: ...
|
|
195
204
|
def __init__(
|
|
196
205
|
self,
|
|
197
206
|
*,
|
|
@@ -202,8 +211,68 @@ class Version(google.protobuf.message.Message):
|
|
|
202
211
|
description: builtins.str = ...,
|
|
203
212
|
status: global___Version.Status.ValueType = ...,
|
|
204
213
|
payload_entry_keys: collections.abc.Iterable[builtins.str] | None = ...,
|
|
214
|
+
password_payload_specification: global___PasswordPayloadSpecification | None = ...,
|
|
205
215
|
) -> None: ...
|
|
206
|
-
def HasField(self, field_name: typing.Literal["created_at", b"created_at", "destroy_at", b"destroy_at"]) -> builtins.bool: ...
|
|
207
|
-
def ClearField(self, field_name: typing.Literal["created_at", b"created_at", "description", b"description", "destroy_at", b"destroy_at", "id", b"id", "payload_entry_keys", b"payload_entry_keys", "secret_id", b"secret_id", "status", b"status"]) -> None: ...
|
|
216
|
+
def HasField(self, field_name: typing.Literal["created_at", b"created_at", "destroy_at", b"destroy_at", "password_payload_specification", b"password_payload_specification", "payload_specification", b"payload_specification"]) -> builtins.bool: ...
|
|
217
|
+
def ClearField(self, field_name: typing.Literal["created_at", b"created_at", "description", b"description", "destroy_at", b"destroy_at", "id", b"id", "password_payload_specification", b"password_payload_specification", "payload_entry_keys", b"payload_entry_keys", "payload_specification", b"payload_specification", "secret_id", b"secret_id", "status", b"status"]) -> None: ...
|
|
218
|
+
def WhichOneof(self, oneof_group: typing.Literal["payload_specification", b"payload_specification"]) -> typing.Literal["password_payload_specification"] | None: ...
|
|
208
219
|
|
|
209
220
|
global___Version = Version
|
|
221
|
+
|
|
222
|
+
@typing.final
|
|
223
|
+
class PasswordPayloadSpecification(google.protobuf.message.Message):
|
|
224
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
225
|
+
|
|
226
|
+
PASSWORD_KEY_FIELD_NUMBER: builtins.int
|
|
227
|
+
LENGTH_FIELD_NUMBER: builtins.int
|
|
228
|
+
INCLUDE_UPPERCASE_FIELD_NUMBER: builtins.int
|
|
229
|
+
INCLUDE_LOWERCASE_FIELD_NUMBER: builtins.int
|
|
230
|
+
INCLUDE_DIGITS_FIELD_NUMBER: builtins.int
|
|
231
|
+
INCLUDE_PUNCTUATION_FIELD_NUMBER: builtins.int
|
|
232
|
+
INCLUDED_PUNCTUATION_FIELD_NUMBER: builtins.int
|
|
233
|
+
EXCLUDED_PUNCTUATION_FIELD_NUMBER: builtins.int
|
|
234
|
+
password_key: builtins.str
|
|
235
|
+
"""key of the entry to store generated password value"""
|
|
236
|
+
length: builtins.int
|
|
237
|
+
"""password length; by default, a reasonable length will be decided"""
|
|
238
|
+
included_punctuation: builtins.str
|
|
239
|
+
"""If include_punctuation is true, one of these two fields (not both) may be used optionally to customize the punctuation:
|
|
240
|
+
a string of specific punctuation characters to use (at most, all the 32)
|
|
241
|
+
"""
|
|
242
|
+
excluded_punctuation: builtins.str
|
|
243
|
+
"""a string of punctuation characters to exclude from the default (at most 31, it's not allowed to exclude all the 32)"""
|
|
244
|
+
@property
|
|
245
|
+
def include_uppercase(self) -> google.protobuf.wrappers_pb2.BoolValue:
|
|
246
|
+
"""whether at least one A..Z character is included in the password, true by default"""
|
|
247
|
+
|
|
248
|
+
@property
|
|
249
|
+
def include_lowercase(self) -> google.protobuf.wrappers_pb2.BoolValue:
|
|
250
|
+
"""whether at least one a..z character is included in the password, true by default"""
|
|
251
|
+
|
|
252
|
+
@property
|
|
253
|
+
def include_digits(self) -> google.protobuf.wrappers_pb2.BoolValue:
|
|
254
|
+
"""whether at least one 0..9 character is included in the password, true by default"""
|
|
255
|
+
|
|
256
|
+
@property
|
|
257
|
+
def include_punctuation(self) -> google.protobuf.wrappers_pb2.BoolValue:
|
|
258
|
+
"""whether at least one punctuation character is included in the password, true by default
|
|
259
|
+
punctuation characters by default (there are 32): !"#$%&'()*+,-./:;<=>?@[\\]^_`{|}~
|
|
260
|
+
to customize the punctuation characters, see included_punctuation and excluded_punctuation below
|
|
261
|
+
"""
|
|
262
|
+
|
|
263
|
+
def __init__(
|
|
264
|
+
self,
|
|
265
|
+
*,
|
|
266
|
+
password_key: builtins.str = ...,
|
|
267
|
+
length: builtins.int = ...,
|
|
268
|
+
include_uppercase: google.protobuf.wrappers_pb2.BoolValue | None = ...,
|
|
269
|
+
include_lowercase: google.protobuf.wrappers_pb2.BoolValue | None = ...,
|
|
270
|
+
include_digits: google.protobuf.wrappers_pb2.BoolValue | None = ...,
|
|
271
|
+
include_punctuation: google.protobuf.wrappers_pb2.BoolValue | None = ...,
|
|
272
|
+
included_punctuation: builtins.str = ...,
|
|
273
|
+
excluded_punctuation: builtins.str = ...,
|
|
274
|
+
) -> None: ...
|
|
275
|
+
def HasField(self, field_name: typing.Literal["include_digits", b"include_digits", "include_lowercase", b"include_lowercase", "include_punctuation", b"include_punctuation", "include_uppercase", b"include_uppercase"]) -> builtins.bool: ...
|
|
276
|
+
def ClearField(self, field_name: typing.Literal["excluded_punctuation", b"excluded_punctuation", "include_digits", b"include_digits", "include_lowercase", b"include_lowercase", "include_punctuation", b"include_punctuation", "include_uppercase", b"include_uppercase", "included_punctuation", b"included_punctuation", "length", b"length", "password_key", b"password_key"]) -> None: ...
|
|
277
|
+
|
|
278
|
+
global___PasswordPayloadSpecification = PasswordPayloadSpecification
|
|
@@ -22,7 +22,7 @@ from yandex.cloud.operation import operation_pb2 as yandex_dot_cloud_dot_operati
|
|
|
22
22
|
from yandex.cloud import validation_pb2 as yandex_dot_cloud_dot_validation__pb2
|
|
23
23
|
|
|
24
24
|
|
|
25
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n,yandex/cloud/lockbox/v1/secret_service.proto\x12\x17yandex.cloud.lockbox.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x1egoogle/protobuf/duration.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a yandex/cloud/access/access.proto\x1a yandex/cloud/api/operation.proto\x1a$yandex/cloud/lockbox/v1/secret.proto\x1a&yandex/cloud/operation/operation.proto\x1a\x1dyandex/cloud/validation.proto\"\x98\x01\n\x12PayloadEntryChange\x12\x31\n\x03key\x18\x01 \x01(\tB$\xe8\xc7\x31\x01\xf2\xc7\x31\x13[-_./\\\\@0-9a-zA-Z]+\x8a\xc8\x31\x05<=256\x12!\n\ntext_value\x18\x02 \x01(\tB\x0b\x8a\xc8\x31\x07<=65536H\x00\x12#\n\x0c\x62inary_value\x18\x03 \x01(\x0c\x42\x0b\x8a\xc8\x31\x07<=65536H\x00\x42\x07\n\x05value\"3\n\x10GetSecretRequest\x12\x1f\n\tsecret_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\"s\n\x12ListSecretsRequest\x12\x1f\n\tfolder_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12\x1d\n\tpage_size\x18\x02 \x01(\x03\x42\n\xfa\xc7\x31\x06<=1000\x12\x1d\n\npage_token\x18\x03 \x01(\tB\t\x8a\xc8\x31\x05<=100\"`\n\x13ListSecretsResponse\x12\x30\n\x07secrets\x18\x01 \x03(\x0b\x32\x1f.yandex.cloud.lockbox.v1.Secret\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\
|
|
25
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n,yandex/cloud/lockbox/v1/secret_service.proto\x12\x17yandex.cloud.lockbox.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x1egoogle/protobuf/duration.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a yandex/cloud/access/access.proto\x1a yandex/cloud/api/operation.proto\x1a$yandex/cloud/lockbox/v1/secret.proto\x1a&yandex/cloud/operation/operation.proto\x1a\x1dyandex/cloud/validation.proto\"\x98\x01\n\x12PayloadEntryChange\x12\x31\n\x03key\x18\x01 \x01(\tB$\xe8\xc7\x31\x01\xf2\xc7\x31\x13[-_./\\\\@0-9a-zA-Z]+\x8a\xc8\x31\x05<=256\x12!\n\ntext_value\x18\x02 \x01(\tB\x0b\x8a\xc8\x31\x07<=65536H\x00\x12#\n\x0c\x62inary_value\x18\x03 \x01(\x0c\x42\x0b\x8a\xc8\x31\x07<=65536H\x00\x42\x07\n\x05value\"3\n\x10GetSecretRequest\x12\x1f\n\tsecret_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\"s\n\x12ListSecretsRequest\x12\x1f\n\tfolder_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12\x1d\n\tpage_size\x18\x02 \x01(\x03\x42\n\xfa\xc7\x31\x06<=1000\x12\x1d\n\npage_token\x18\x03 \x01(\tB\t\x8a\xc8\x31\x05<=100\"`\n\x13ListSecretsResponse\x12\x30\n\x07secrets\x18\x01 \x03(\x0b\x32\x1f.yandex.cloud.lockbox.v1.Secret\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\xdc\x04\n\x13\x43reateSecretRequest\x12\x1f\n\tfolder_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12\x17\n\x04name\x18\x02 \x01(\tB\t\x8a\xc8\x31\x05<=100\x12\x1f\n\x0b\x64\x65scription\x18\x03 \x01(\tB\n\x8a\xc8\x31\x06<=1024\x12\x85\x01\n\x06labels\x18\x04 \x03(\x0b\x32\x38.yandex.cloud.lockbox.v1.CreateSecretRequest.LabelsEntryB;\xf2\xc7\x31\x0b[-_0-9a-z]*\x82\xc8\x31\x04<=64\x8a\xc8\x31\x04<=63\xb2\xc8\x31\x18\x12\x10[a-z][-_0-9a-z]*\x1a\x04<=63\x12\x1c\n\nkms_key_id\x18\x05 \x01(\tB\x08\x8a\xc8\x31\x04<=50\x12&\n\x13version_description\x18\x06 \x01(\tB\t\x8a\xc8\x31\x05<=256\x12V\n\x17version_payload_entries\x18\x07 \x03(\x0b\x32+.yandex.cloud.lockbox.v1.PayloadEntryChangeB\x08\x82\xc8\x31\x04<=32\x12\x1b\n\x13\x64\x65letion_protection\x18\x08 \x01(\x08\x12_\n\x1epassword_payload_specification\x18\t \x01(\x0b\x32\x35.yandex.cloud.lockbox.v1.PasswordPayloadSpecificationH\x00\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x42\x17\n\x15payload_specification\"=\n\x14\x43reateSecretMetadata\x12\x11\n\tsecret_id\x18\x01 \x01(\t\x12\x12\n\nversion_id\x18\x02 \x01(\t\"\xf5\x03\n\x13UpdateSecretRequest\x12\x1f\n\tsecret_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12\x35\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x04\xe8\xc7\x31\x01\x12\x17\n\x04name\x18\x03 \x01(\tB\t\x8a\xc8\x31\x05<=100\x12\x1f\n\x0b\x64\x65scription\x18\x04 \x01(\tB\n\x8a\xc8\x31\x06<=1024\x12\x85\x01\n\x06labels\x18\x05 \x03(\x0b\x32\x38.yandex.cloud.lockbox.v1.UpdateSecretRequest.LabelsEntryB;\xf2\xc7\x31\x0b[-_0-9a-z]*\x82\xc8\x31\x04<=64\x8a\xc8\x31\x04<=63\xb2\xc8\x31\x18\x12\x10[a-z][-_0-9a-z]*\x1a\x04<=63\x12\x1b\n\x13\x64\x65letion_protection\x18\x06 \x01(\x08\x12_\n\x1epassword_payload_specification\x18\x07 \x01(\x0b\x32\x35.yandex.cloud.lockbox.v1.PasswordPayloadSpecificationH\x00\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x42\x17\n\x15payload_specification\"7\n\x14UpdateSecretMetadata\x12\x1f\n\tsecret_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\"6\n\x13\x44\x65leteSecretRequest\x12\x1f\n\tsecret_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\")\n\x14\x44\x65leteSecretMetadata\x12\x11\n\tsecret_id\x18\x01 \x01(\t\"8\n\x15\x41\x63tivateSecretRequest\x12\x1f\n\tsecret_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\"+\n\x16\x41\x63tivateSecretMetadata\x12\x11\n\tsecret_id\x18\x01 \x01(\t\":\n\x17\x44\x65\x61\x63tivateSecretRequest\x12\x1f\n\tsecret_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\"-\n\x18\x44\x65\x61\x63tivateSecretMetadata\x12\x11\n\tsecret_id\x18\x01 \x01(\t\"\xc8\x01\n\x11\x41\x64\x64VersionRequest\x12\x1f\n\tsecret_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12\x1f\n\x0b\x64\x65scription\x18\x02 \x01(\tB\n\x8a\xc8\x31\x06<=1024\x12N\n\x0fpayload_entries\x18\x03 \x03(\x0b\x32+.yandex.cloud.lockbox.v1.PayloadEntryChangeB\x08\x82\xc8\x31\x04<=32\x12!\n\x0f\x62\x61se_version_id\x18\x04 \x01(\tB\x08\x8a\xc8\x31\x04<=50\";\n\x12\x41\x64\x64VersionMetadata\x12\x11\n\tsecret_id\x18\x01 \x01(\t\x12\x12\n\nversion_id\x18\x02 \x01(\t\"t\n\x13ListVersionsRequest\x12\x1f\n\tsecret_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12\x1d\n\tpage_size\x18\x02 \x01(\x03\x42\n\xfa\xc7\x31\x06<=1000\x12\x1d\n\npage_token\x18\x03 \x01(\tB\t\x8a\xc8\x31\x05<=100\"c\n\x14ListVersionsResponse\x12\x32\n\x08versions\x18\x01 \x03(\x0b\x32 .yandex.cloud.lockbox.v1.Version\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\x99\x01\n!ScheduleVersionDestructionRequest\x12\x1f\n\tsecret_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12 \n\nversion_id\x18\x02 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12\x31\n\x0epending_period\x18\x03 \x01(\x0b\x32\x19.google.protobuf.Duration\"{\n\"ScheduleVersionDestructionMetadata\x12\x11\n\tsecret_id\x18\x01 \x01(\t\x12\x12\n\nversion_id\x18\x02 \x01(\t\x12.\n\ndestroy_at\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"d\n\x1f\x43\x61ncelVersionDestructionRequest\x12\x1f\n\tsecret_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12 \n\nversion_id\x18\x02 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\"I\n CancelVersionDestructionMetadata\x12\x11\n\tsecret_id\x18\x01 \x01(\t\x12\x12\n\nversion_id\x18\x02 \x01(\t\"|\n\x1bListSecretOperationsRequest\x12\x1f\n\tsecret_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12\x1d\n\tpage_size\x18\x02 \x01(\x03\x42\n\xfa\xc7\x31\x06<=1000\x12\x1d\n\npage_token\x18\x03 \x01(\tB\t\x8a\xc8\x31\x05<=100\"n\n\x1cListSecretOperationsResponse\x12\x35\n\noperations\x18\x01 \x03(\x0b\x32!.yandex.cloud.operation.Operation\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t2\xe9\x15\n\rSecretService\x12z\n\x03Get\x12).yandex.cloud.lockbox.v1.GetSecretRequest\x1a\x1f.yandex.cloud.lockbox.v1.Secret\"\'\x82\xd3\xe4\x93\x02!\x12\x1f/lockbox/v1/secrets/{secret_id}\x12~\n\x04List\x12+.yandex.cloud.lockbox.v1.ListSecretsRequest\x1a,.yandex.cloud.lockbox.v1.ListSecretsResponse\"\x1b\x82\xd3\xe4\x93\x02\x15\x12\x13/lockbox/v1/secrets\x12\x9b\x01\n\x06\x43reate\x12,.yandex.cloud.lockbox.v1.CreateSecretRequest\x1a!.yandex.cloud.operation.Operation\"@\xb2\xd2*\x1e\n\x14\x43reateSecretMetadata\x12\x06Secret\x82\xd3\xe4\x93\x02\x18\"\x13/lockbox/v1/secrets:\x01*\x12\xa7\x01\n\x06Update\x12,.yandex.cloud.lockbox.v1.UpdateSecretRequest\x1a!.yandex.cloud.operation.Operation\"L\xb2\xd2*\x1e\n\x14UpdateSecretMetadata\x12\x06Secret\x82\xd3\xe4\x93\x02$2\x1f/lockbox/v1/secrets/{secret_id}:\x01*\x12\xa4\x01\n\x06\x44\x65lete\x12,.yandex.cloud.lockbox.v1.DeleteSecretRequest\x1a!.yandex.cloud.operation.Operation\"I\xb2\xd2*\x1e\n\x14\x44\x65leteSecretMetadata\x12\x06Secret\x82\xd3\xe4\x93\x02!*\x1f/lockbox/v1/secrets/{secret_id}\x12\xb3\x01\n\x08\x41\x63tivate\x12..yandex.cloud.lockbox.v1.ActivateSecretRequest\x1a!.yandex.cloud.operation.Operation\"T\xb2\xd2* \n\x16\x41\x63tivateSecretMetadata\x12\x06Secret\x82\xd3\xe4\x93\x02*\"(/lockbox/v1/secrets/{secret_id}:activate\x12\xbb\x01\n\nDeactivate\x12\x30.yandex.cloud.lockbox.v1.DeactivateSecretRequest\x1a!.yandex.cloud.operation.Operation\"X\xb2\xd2*\"\n\x18\x44\x65\x61\x63tivateSecretMetadata\x12\x06Secret\x82\xd3\xe4\x93\x02,\"*/lockbox/v1/secrets/{secret_id}:deactivate\x12\x9d\x01\n\x0cListVersions\x12,.yandex.cloud.lockbox.v1.ListVersionsRequest\x1a-.yandex.cloud.lockbox.v1.ListVersionsResponse\"0\x82\xd3\xe4\x93\x02*\x12(/lockbox/v1/secrets/{secret_id}/versions\x12\xb3\x01\n\nAddVersion\x12*.yandex.cloud.lockbox.v1.AddVersionRequest\x1a!.yandex.cloud.operation.Operation\"V\xb2\xd2*\x1d\n\x12\x41\x64\x64VersionMetadata\x12\x07Version\x82\xd3\xe4\x93\x02/\"*/lockbox/v1/secrets/{secret_id}:addVersion:\x01*\x12\xf3\x01\n\x1aScheduleVersionDestruction\x12:.yandex.cloud.lockbox.v1.ScheduleVersionDestructionRequest\x1a!.yandex.cloud.operation.Operation\"v\xb2\xd2*-\n\"ScheduleVersionDestructionMetadata\x12\x07Version\x82\xd3\xe4\x93\x02?\":/lockbox/v1/secrets/{secret_id}:scheduleVersionDestruction:\x01*\x12\xeb\x01\n\x18\x43\x61ncelVersionDestruction\x12\x38.yandex.cloud.lockbox.v1.CancelVersionDestructionRequest\x1a!.yandex.cloud.operation.Operation\"r\xb2\xd2*+\n CancelVersionDestructionMetadata\x12\x07Version\x82\xd3\xe4\x93\x02=\"8/lockbox/v1/secrets/{secret_id}:cancelVersionDestruction:\x01*\x12\xb1\x01\n\x0eListOperations\x12\x34.yandex.cloud.lockbox.v1.ListSecretOperationsRequest\x1a\x35.yandex.cloud.lockbox.v1.ListSecretOperationsResponse\"2\x82\xd3\xe4\x93\x02,\x12*/lockbox/v1/secrets/{secret_id}/operations\x12\xb3\x01\n\x12ListAccessBindings\x12..yandex.cloud.access.ListAccessBindingsRequest\x1a/.yandex.cloud.access.ListAccessBindingsResponse\"<\x82\xd3\xe4\x93\x02\x36\x12\x34/lockbox/v1/secrets/{resource_id}:listAccessBindings\x12\xe2\x01\n\x11SetAccessBindings\x12-.yandex.cloud.access.SetAccessBindingsRequest\x1a!.yandex.cloud.operation.Operation\"{\xb2\xd2*9\n access.SetAccessBindingsMetadata\x12\x15google.protobuf.Empty\x82\xd3\xe4\x93\x02\x38\"3/lockbox/v1/secrets/{resource_id}:setAccessBindings:\x01*\x12\xef\x01\n\x14UpdateAccessBindings\x12\x30.yandex.cloud.access.UpdateAccessBindingsRequest\x1a!.yandex.cloud.operation.Operation\"\x81\x01\xb2\xd2*<\n#access.UpdateAccessBindingsMetadata\x12\x15google.protobuf.Empty\x82\xd3\xe4\x93\x02;\"6/lockbox/v1/secrets/{resource_id}:updateAccessBindings:\x01*Bb\n\x1byandex.cloud.api.lockbox.v1ZCgithub.com/yandex-cloud/go-genproto/yandex/cloud/lockbox/v1;lockboxb\x06proto3')
|
|
26
26
|
|
|
27
27
|
_globals = globals()
|
|
28
28
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
@@ -147,49 +147,49 @@ if _descriptor._USE_C_DESCRIPTORS == False:
|
|
|
147
147
|
_globals['_LISTSECRETSRESPONSE']._serialized_start=704
|
|
148
148
|
_globals['_LISTSECRETSRESPONSE']._serialized_end=800
|
|
149
149
|
_globals['_CREATESECRETREQUEST']._serialized_start=803
|
|
150
|
-
_globals['_CREATESECRETREQUEST']._serialized_end=
|
|
151
|
-
_globals['_CREATESECRETREQUEST_LABELSENTRY']._serialized_start=
|
|
152
|
-
_globals['_CREATESECRETREQUEST_LABELSENTRY']._serialized_end=
|
|
153
|
-
_globals['_CREATESECRETMETADATA']._serialized_start=
|
|
154
|
-
_globals['_CREATESECRETMETADATA']._serialized_end=
|
|
155
|
-
_globals['_UPDATESECRETREQUEST']._serialized_start=
|
|
156
|
-
_globals['_UPDATESECRETREQUEST']._serialized_end=
|
|
157
|
-
_globals['_UPDATESECRETREQUEST_LABELSENTRY']._serialized_start=
|
|
158
|
-
_globals['_UPDATESECRETREQUEST_LABELSENTRY']._serialized_end=
|
|
159
|
-
_globals['_UPDATESECRETMETADATA']._serialized_start=
|
|
160
|
-
_globals['_UPDATESECRETMETADATA']._serialized_end=
|
|
161
|
-
_globals['_DELETESECRETREQUEST']._serialized_start=
|
|
162
|
-
_globals['_DELETESECRETREQUEST']._serialized_end=
|
|
163
|
-
_globals['_DELETESECRETMETADATA']._serialized_start=
|
|
164
|
-
_globals['_DELETESECRETMETADATA']._serialized_end=
|
|
165
|
-
_globals['_ACTIVATESECRETREQUEST']._serialized_start=
|
|
166
|
-
_globals['_ACTIVATESECRETREQUEST']._serialized_end=
|
|
167
|
-
_globals['_ACTIVATESECRETMETADATA']._serialized_start=
|
|
168
|
-
_globals['_ACTIVATESECRETMETADATA']._serialized_end=
|
|
169
|
-
_globals['_DEACTIVATESECRETREQUEST']._serialized_start=
|
|
170
|
-
_globals['_DEACTIVATESECRETREQUEST']._serialized_end=
|
|
171
|
-
_globals['_DEACTIVATESECRETMETADATA']._serialized_start=
|
|
172
|
-
_globals['_DEACTIVATESECRETMETADATA']._serialized_end=
|
|
173
|
-
_globals['_ADDVERSIONREQUEST']._serialized_start=
|
|
174
|
-
_globals['_ADDVERSIONREQUEST']._serialized_end=
|
|
175
|
-
_globals['_ADDVERSIONMETADATA']._serialized_start=
|
|
176
|
-
_globals['_ADDVERSIONMETADATA']._serialized_end=
|
|
177
|
-
_globals['_LISTVERSIONSREQUEST']._serialized_start=
|
|
178
|
-
_globals['_LISTVERSIONSREQUEST']._serialized_end=
|
|
179
|
-
_globals['_LISTVERSIONSRESPONSE']._serialized_start=
|
|
180
|
-
_globals['_LISTVERSIONSRESPONSE']._serialized_end=
|
|
181
|
-
_globals['_SCHEDULEVERSIONDESTRUCTIONREQUEST']._serialized_start=
|
|
182
|
-
_globals['_SCHEDULEVERSIONDESTRUCTIONREQUEST']._serialized_end=
|
|
183
|
-
_globals['_SCHEDULEVERSIONDESTRUCTIONMETADATA']._serialized_start=
|
|
184
|
-
_globals['_SCHEDULEVERSIONDESTRUCTIONMETADATA']._serialized_end=
|
|
185
|
-
_globals['_CANCELVERSIONDESTRUCTIONREQUEST']._serialized_start=
|
|
186
|
-
_globals['_CANCELVERSIONDESTRUCTIONREQUEST']._serialized_end=
|
|
187
|
-
_globals['_CANCELVERSIONDESTRUCTIONMETADATA']._serialized_start=
|
|
188
|
-
_globals['_CANCELVERSIONDESTRUCTIONMETADATA']._serialized_end=
|
|
189
|
-
_globals['_LISTSECRETOPERATIONSREQUEST']._serialized_start=
|
|
190
|
-
_globals['_LISTSECRETOPERATIONSREQUEST']._serialized_end=
|
|
191
|
-
_globals['_LISTSECRETOPERATIONSRESPONSE']._serialized_start=
|
|
192
|
-
_globals['_LISTSECRETOPERATIONSRESPONSE']._serialized_end=
|
|
193
|
-
_globals['_SECRETSERVICE']._serialized_start=
|
|
194
|
-
_globals['_SECRETSERVICE']._serialized_end=
|
|
150
|
+
_globals['_CREATESECRETREQUEST']._serialized_end=1407
|
|
151
|
+
_globals['_CREATESECRETREQUEST_LABELSENTRY']._serialized_start=1337
|
|
152
|
+
_globals['_CREATESECRETREQUEST_LABELSENTRY']._serialized_end=1382
|
|
153
|
+
_globals['_CREATESECRETMETADATA']._serialized_start=1409
|
|
154
|
+
_globals['_CREATESECRETMETADATA']._serialized_end=1470
|
|
155
|
+
_globals['_UPDATESECRETREQUEST']._serialized_start=1473
|
|
156
|
+
_globals['_UPDATESECRETREQUEST']._serialized_end=1974
|
|
157
|
+
_globals['_UPDATESECRETREQUEST_LABELSENTRY']._serialized_start=1337
|
|
158
|
+
_globals['_UPDATESECRETREQUEST_LABELSENTRY']._serialized_end=1382
|
|
159
|
+
_globals['_UPDATESECRETMETADATA']._serialized_start=1976
|
|
160
|
+
_globals['_UPDATESECRETMETADATA']._serialized_end=2031
|
|
161
|
+
_globals['_DELETESECRETREQUEST']._serialized_start=2033
|
|
162
|
+
_globals['_DELETESECRETREQUEST']._serialized_end=2087
|
|
163
|
+
_globals['_DELETESECRETMETADATA']._serialized_start=2089
|
|
164
|
+
_globals['_DELETESECRETMETADATA']._serialized_end=2130
|
|
165
|
+
_globals['_ACTIVATESECRETREQUEST']._serialized_start=2132
|
|
166
|
+
_globals['_ACTIVATESECRETREQUEST']._serialized_end=2188
|
|
167
|
+
_globals['_ACTIVATESECRETMETADATA']._serialized_start=2190
|
|
168
|
+
_globals['_ACTIVATESECRETMETADATA']._serialized_end=2233
|
|
169
|
+
_globals['_DEACTIVATESECRETREQUEST']._serialized_start=2235
|
|
170
|
+
_globals['_DEACTIVATESECRETREQUEST']._serialized_end=2293
|
|
171
|
+
_globals['_DEACTIVATESECRETMETADATA']._serialized_start=2295
|
|
172
|
+
_globals['_DEACTIVATESECRETMETADATA']._serialized_end=2340
|
|
173
|
+
_globals['_ADDVERSIONREQUEST']._serialized_start=2343
|
|
174
|
+
_globals['_ADDVERSIONREQUEST']._serialized_end=2543
|
|
175
|
+
_globals['_ADDVERSIONMETADATA']._serialized_start=2545
|
|
176
|
+
_globals['_ADDVERSIONMETADATA']._serialized_end=2604
|
|
177
|
+
_globals['_LISTVERSIONSREQUEST']._serialized_start=2606
|
|
178
|
+
_globals['_LISTVERSIONSREQUEST']._serialized_end=2722
|
|
179
|
+
_globals['_LISTVERSIONSRESPONSE']._serialized_start=2724
|
|
180
|
+
_globals['_LISTVERSIONSRESPONSE']._serialized_end=2823
|
|
181
|
+
_globals['_SCHEDULEVERSIONDESTRUCTIONREQUEST']._serialized_start=2826
|
|
182
|
+
_globals['_SCHEDULEVERSIONDESTRUCTIONREQUEST']._serialized_end=2979
|
|
183
|
+
_globals['_SCHEDULEVERSIONDESTRUCTIONMETADATA']._serialized_start=2981
|
|
184
|
+
_globals['_SCHEDULEVERSIONDESTRUCTIONMETADATA']._serialized_end=3104
|
|
185
|
+
_globals['_CANCELVERSIONDESTRUCTIONREQUEST']._serialized_start=3106
|
|
186
|
+
_globals['_CANCELVERSIONDESTRUCTIONREQUEST']._serialized_end=3206
|
|
187
|
+
_globals['_CANCELVERSIONDESTRUCTIONMETADATA']._serialized_start=3208
|
|
188
|
+
_globals['_CANCELVERSIONDESTRUCTIONMETADATA']._serialized_end=3281
|
|
189
|
+
_globals['_LISTSECRETOPERATIONSREQUEST']._serialized_start=3283
|
|
190
|
+
_globals['_LISTSECRETOPERATIONSREQUEST']._serialized_end=3407
|
|
191
|
+
_globals['_LISTSECRETOPERATIONSRESPONSE']._serialized_start=3409
|
|
192
|
+
_globals['_LISTSECRETOPERATIONSRESPONSE']._serialized_end=3519
|
|
193
|
+
_globals['_SECRETSERVICE']._serialized_start=3522
|
|
194
|
+
_globals['_SECRETSERVICE']._serialized_end=6315
|
|
195
195
|
# @@protoc_insertion_point(module_scope)
|
|
@@ -147,6 +147,7 @@ class CreateSecretRequest(google.protobuf.message.Message):
|
|
|
147
147
|
VERSION_DESCRIPTION_FIELD_NUMBER: builtins.int
|
|
148
148
|
VERSION_PAYLOAD_ENTRIES_FIELD_NUMBER: builtins.int
|
|
149
149
|
DELETION_PROTECTION_FIELD_NUMBER: builtins.int
|
|
150
|
+
PASSWORD_PAYLOAD_SPECIFICATION_FIELD_NUMBER: builtins.int
|
|
150
151
|
folder_id: builtins.str
|
|
151
152
|
"""ID of the folder to create a secret in."""
|
|
152
153
|
name: builtins.str
|
|
@@ -169,6 +170,8 @@ class CreateSecretRequest(google.protobuf.message.Message):
|
|
|
169
170
|
def version_payload_entries(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___PayloadEntryChange]:
|
|
170
171
|
"""Payload entries added to the first version."""
|
|
171
172
|
|
|
173
|
+
@property
|
|
174
|
+
def password_payload_specification(self) -> yandex.cloud.lockbox.v1.secret_pb2.PasswordPayloadSpecification: ...
|
|
172
175
|
def __init__(
|
|
173
176
|
self,
|
|
174
177
|
*,
|
|
@@ -180,8 +183,11 @@ class CreateSecretRequest(google.protobuf.message.Message):
|
|
|
180
183
|
version_description: builtins.str = ...,
|
|
181
184
|
version_payload_entries: collections.abc.Iterable[global___PayloadEntryChange] | None = ...,
|
|
182
185
|
deletion_protection: builtins.bool = ...,
|
|
186
|
+
password_payload_specification: yandex.cloud.lockbox.v1.secret_pb2.PasswordPayloadSpecification | None = ...,
|
|
183
187
|
) -> None: ...
|
|
184
|
-
def
|
|
188
|
+
def HasField(self, field_name: typing.Literal["password_payload_specification", b"password_payload_specification", "payload_specification", b"payload_specification"]) -> builtins.bool: ...
|
|
189
|
+
def ClearField(self, field_name: typing.Literal["deletion_protection", b"deletion_protection", "description", b"description", "folder_id", b"folder_id", "kms_key_id", b"kms_key_id", "labels", b"labels", "name", b"name", "password_payload_specification", b"password_payload_specification", "payload_specification", b"payload_specification", "version_description", b"version_description", "version_payload_entries", b"version_payload_entries"]) -> None: ...
|
|
190
|
+
def WhichOneof(self, oneof_group: typing.Literal["payload_specification", b"payload_specification"]) -> typing.Literal["password_payload_specification"] | None: ...
|
|
185
191
|
|
|
186
192
|
global___CreateSecretRequest = CreateSecretRequest
|
|
187
193
|
|
|
@@ -231,6 +237,7 @@ class UpdateSecretRequest(google.protobuf.message.Message):
|
|
|
231
237
|
DESCRIPTION_FIELD_NUMBER: builtins.int
|
|
232
238
|
LABELS_FIELD_NUMBER: builtins.int
|
|
233
239
|
DELETION_PROTECTION_FIELD_NUMBER: builtins.int
|
|
240
|
+
PASSWORD_PAYLOAD_SPECIFICATION_FIELD_NUMBER: builtins.int
|
|
234
241
|
secret_id: builtins.str
|
|
235
242
|
"""ID of the secret to update."""
|
|
236
243
|
name: builtins.str
|
|
@@ -247,6 +254,8 @@ class UpdateSecretRequest(google.protobuf.message.Message):
|
|
|
247
254
|
def labels(self) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]:
|
|
248
255
|
"""Custom labels for the secret as `key:value` pairs. Maximum 64 per key."""
|
|
249
256
|
|
|
257
|
+
@property
|
|
258
|
+
def password_payload_specification(self) -> yandex.cloud.lockbox.v1.secret_pb2.PasswordPayloadSpecification: ...
|
|
250
259
|
def __init__(
|
|
251
260
|
self,
|
|
252
261
|
*,
|
|
@@ -256,9 +265,11 @@ class UpdateSecretRequest(google.protobuf.message.Message):
|
|
|
256
265
|
description: builtins.str = ...,
|
|
257
266
|
labels: collections.abc.Mapping[builtins.str, builtins.str] | None = ...,
|
|
258
267
|
deletion_protection: builtins.bool = ...,
|
|
268
|
+
password_payload_specification: yandex.cloud.lockbox.v1.secret_pb2.PasswordPayloadSpecification | None = ...,
|
|
259
269
|
) -> None: ...
|
|
260
|
-
def HasField(self, field_name: typing.Literal["update_mask", b"update_mask"]) -> builtins.bool: ...
|
|
261
|
-
def ClearField(self, field_name: typing.Literal["deletion_protection", b"deletion_protection", "description", b"description", "labels", b"labels", "name", b"name", "secret_id", b"secret_id", "update_mask", b"update_mask"]) -> None: ...
|
|
270
|
+
def HasField(self, field_name: typing.Literal["password_payload_specification", b"password_payload_specification", "payload_specification", b"payload_specification", "update_mask", b"update_mask"]) -> builtins.bool: ...
|
|
271
|
+
def ClearField(self, field_name: typing.Literal["deletion_protection", b"deletion_protection", "description", b"description", "labels", b"labels", "name", b"name", "password_payload_specification", b"password_payload_specification", "payload_specification", b"payload_specification", "secret_id", b"secret_id", "update_mask", b"update_mask"]) -> None: ...
|
|
272
|
+
def WhichOneof(self, oneof_group: typing.Literal["payload_specification", b"payload_specification"]) -> typing.Literal["password_payload_specification"] | None: ...
|
|
262
273
|
|
|
263
274
|
global___UpdateSecretRequest = UpdateSecretRequest
|
|
264
275
|
|