yandexcloud 0.336.0__py3-none-any.whl → 0.338.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.
- yandex/cloud/ai/assistants/v1/runs/run_service_pb2.py +11 -3
- yandex/cloud/ai/assistants/v1/runs/run_service_pb2.pyi +34 -0
- yandex/cloud/ai/assistants/v1/runs/run_service_pb2_grpc.py +45 -0
- yandex/cloud/ai/assistants/v1/runs/run_service_pb2_grpc.pyi +26 -0
- yandex/cloud/ai/dataset/v1/dataset_service_pb2.py +24 -24
- yandex/cloud/ai/dataset/v1/dataset_service_pb2.pyi +11 -1
- yandex/cloud/ai/foundation_models/v1/batch_inference_task_status_pb2.py +37 -0
- yandex/cloud/ai/foundation_models/v1/batch_inference_task_status_pb2.pyi +43 -0
- yandex/cloud/ai/foundation_models/v1/batch_inference_task_status_pb2_grpc.py +24 -0
- yandex/cloud/ai/foundation_models/v1/batch_inference_task_status_pb2_grpc.pyi +17 -0
- yandex/cloud/ai/foundation_models/v1/embedding/embedding_service_pb2.py +8 -7
- yandex/cloud/ai/foundation_models/v1/embedding/embedding_service_pb2.pyi +9 -1
- yandex/cloud/ai/foundation_models/v1/text_generation/text_generation_service_pb2.py +26 -15
- yandex/cloud/ai/foundation_models/v1/text_generation/text_generation_service_pb2.pyi +87 -0
- yandex/cloud/ai/foundation_models/v1/text_generation/text_generation_service_pb2_grpc.py +77 -0
- yandex/cloud/ai/foundation_models/v1/text_generation/text_generation_service_pb2_grpc.pyi +38 -0
- yandex/cloud/ai/tuning/v1/tuning_task_pb2.py +12 -5
- yandex/cloud/ai/tuning/v1/tuning_task_pb2.pyi +29 -1
- yandex/cloud/airflow/v1/cluster_pb2.py +36 -35
- yandex/cloud/airflow/v1/cluster_pb2.pyi +15 -2
- yandex/cloud/airflow/v1/cluster_service_pb2.py +42 -41
- yandex/cloud/airflow/v1/cluster_service_pb2.pyi +17 -4
- yandex/cloud/airflow/v1/maintenance_pb2.py +53 -0
- yandex/cloud/airflow/v1/maintenance_pb2.pyi +123 -0
- yandex/cloud/airflow/v1/maintenance_pb2_grpc.py +24 -0
- yandex/cloud/airflow/v1/maintenance_pb2_grpc.pyi +17 -0
- yandex/cloud/backup/v1/backup_service_pb2.py +44 -40
- yandex/cloud/backup/v1/backup_service_pb2.pyi +14 -2
- yandex/cloud/iam/v1/key_service_pb2.pyi +0 -2
- yandex/cloud/iot/devices/v1/device_pb2.py +18 -14
- yandex/cloud/iot/devices/v1/device_pb2.pyi +23 -1
- yandex/cloud/iot/devices/v1/device_service_pb2.py +65 -53
- yandex/cloud/iot/devices/v1/device_service_pb2.pyi +46 -2
- yandex/cloud/loadtesting/agent/v1/test_pb2.py +5 -5
- yandex/cloud/loadtesting/agent/v1/test_pb2.pyi +2 -0
- yandex/cloud/loadtesting/api/v1/test/status_pb2.py +2 -2
- yandex/cloud/loadtesting/api/v1/test/status_pb2.pyi +6 -2
- yandex/cloud/marketplace/licensemanager/saas/v1/instance_service_pb2.py +12 -5
- yandex/cloud/marketplace/licensemanager/saas/v1/instance_service_pb2.pyi +16 -0
- yandex/cloud/marketplace/licensemanager/saas/v1/instance_service_pb2_grpc.py +45 -0
- yandex/cloud/marketplace/licensemanager/saas/v1/instance_service_pb2_grpc.pyi +21 -0
- yandex/cloud/marketplace/licensemanager/v1/user_info_pb2.py +37 -0
- yandex/cloud/marketplace/licensemanager/v1/user_info_pb2.pyi +39 -0
- yandex/cloud/marketplace/licensemanager/v1/user_info_pb2_grpc.py +24 -0
- yandex/cloud/marketplace/licensemanager/v1/user_info_pb2_grpc.pyi +17 -0
- yandex/cloud/mdb/clickhouse/v1/cluster_service_pb2.py +170 -170
- yandex/cloud/mdb/clickhouse/v1/cluster_service_pb2.pyi +14 -2
- yandex/cloud/mdb/kafka/v1/user_pb2.py +4 -4
- yandex/cloud/mdb/kafka/v1/user_pb2.pyi +4 -0
- yandex/cloud/mdb/opensearch/v1/cluster_service_pb2.py +21 -3
- yandex/cloud/mdb/opensearch/v1/cluster_service_pb2.pyi +86 -0
- yandex/cloud/mdb/opensearch/v1/cluster_service_pb2_grpc.py +89 -0
- yandex/cloud/mdb/opensearch/v1/cluster_service_pb2_grpc.pyi +49 -3
- yandex/cloud/mdb/redis/v1/cluster_pb2.py +23 -23
- yandex/cloud/mdb/redis/v1/cluster_pb2.pyi +4 -0
- yandex/cloud/mdb/redis/v1/config/redis_pb2.py +10 -8
- yandex/cloud/mdb/redis/v1/config/redis_pb2.pyi +14 -2
- yandex/cloud/mdb/spqr/__init__.py +0 -0
- yandex/cloud/mdb/spqr/v1/__init__.py +0 -0
- yandex/cloud/mdb/spqr/v1/backup_pb2.py +40 -0
- yandex/cloud/mdb/spqr/v1/backup_pb2.pyi +97 -0
- yandex/cloud/mdb/spqr/v1/backup_pb2_grpc.py +24 -0
- yandex/cloud/mdb/spqr/v1/backup_pb2_grpc.pyi +17 -0
- yandex/cloud/mdb/spqr/v1/backup_service_pb2.py +68 -0
- yandex/cloud/mdb/spqr/v1/backup_service_pb2.pyi +121 -0
- yandex/cloud/mdb/spqr/v1/backup_service_pb2_grpc.py +193 -0
- yandex/cloud/mdb/spqr/v1/backup_service_pb2_grpc.pyi +101 -0
- yandex/cloud/mdb/spqr/v1/cluster_pb2.py +58 -0
- yandex/cloud/mdb/spqr/v1/cluster_pb2.pyi +330 -0
- yandex/cloud/mdb/spqr/v1/cluster_pb2_grpc.py +24 -0
- yandex/cloud/mdb/spqr/v1/cluster_pb2_grpc.pyi +17 -0
- yandex/cloud/mdb/spqr/v1/cluster_service_pb2.py +403 -0
- yandex/cloud/mdb/spqr/v1/cluster_service_pb2.pyi +1790 -0
- yandex/cloud/mdb/spqr/v1/cluster_service_pb2_grpc.py +1250 -0
- yandex/cloud/mdb/spqr/v1/cluster_service_pb2_grpc.pyi +588 -0
- yandex/cloud/mdb/spqr/v1/config_pb2.py +65 -0
- yandex/cloud/mdb/spqr/v1/config_pb2.pyi +341 -0
- yandex/cloud/mdb/spqr/v1/config_pb2_grpc.py +24 -0
- yandex/cloud/mdb/spqr/v1/config_pb2_grpc.pyi +17 -0
- yandex/cloud/mdb/spqr/v1/database_pb2.py +42 -0
- yandex/cloud/mdb/spqr/v1/database_pb2.pyi +51 -0
- yandex/cloud/mdb/spqr/v1/database_pb2_grpc.py +24 -0
- yandex/cloud/mdb/spqr/v1/database_pb2_grpc.pyi +17 -0
- yandex/cloud/mdb/spqr/v1/database_service_pb2.py +94 -0
- yandex/cloud/mdb/spqr/v1/database_service_pb2.pyi +219 -0
- yandex/cloud/mdb/spqr/v1/database_service_pb2_grpc.py +281 -0
- yandex/cloud/mdb/spqr/v1/database_service_pb2_grpc.pyi +141 -0
- yandex/cloud/mdb/spqr/v1/host_pb2.py +69 -0
- yandex/cloud/mdb/spqr/v1/host_pb2.pyi +394 -0
- yandex/cloud/mdb/spqr/v1/host_pb2_grpc.py +24 -0
- yandex/cloud/mdb/spqr/v1/host_pb2_grpc.pyi +17 -0
- yandex/cloud/mdb/spqr/v1/maintenance_pb2.py +53 -0
- yandex/cloud/mdb/spqr/v1/maintenance_pb2.pyi +137 -0
- yandex/cloud/mdb/spqr/v1/maintenance_pb2_grpc.py +24 -0
- yandex/cloud/mdb/spqr/v1/maintenance_pb2_grpc.pyi +17 -0
- yandex/cloud/mdb/spqr/v1/resource_preset_pb2.py +37 -0
- yandex/cloud/mdb/spqr/v1/resource_preset_pb2.pyi +45 -0
- yandex/cloud/mdb/spqr/v1/resource_preset_pb2_grpc.py +24 -0
- yandex/cloud/mdb/spqr/v1/resource_preset_pb2_grpc.pyi +17 -0
- yandex/cloud/mdb/spqr/v1/resource_preset_service_pb2.py +56 -0
- yandex/cloud/mdb/spqr/v1/resource_preset_service_pb2.pyi +84 -0
- yandex/cloud/mdb/spqr/v1/resource_preset_service_pb2_grpc.py +148 -0
- yandex/cloud/mdb/spqr/v1/resource_preset_service_pb2_grpc.pyi +80 -0
- yandex/cloud/mdb/spqr/v1/shard_pb2.py +37 -0
- yandex/cloud/mdb/spqr/v1/shard_pb2.pyi +31 -0
- yandex/cloud/mdb/spqr/v1/shard_pb2_grpc.py +24 -0
- yandex/cloud/mdb/spqr/v1/shard_pb2_grpc.pyi +17 -0
- yandex/cloud/mdb/spqr/v1/user_pb2.py +53 -0
- yandex/cloud/mdb/spqr/v1/user_pb2.pyi +133 -0
- yandex/cloud/mdb/spqr/v1/user_pb2_grpc.py +24 -0
- yandex/cloud/mdb/spqr/v1/user_pb2_grpc.pyi +17 -0
- yandex/cloud/mdb/spqr/v1/user_service_pb2.py +107 -0
- yandex/cloud/mdb/spqr/v1/user_service_pb2.pyi +293 -0
- yandex/cloud/mdb/spqr/v1/user_service_pb2_grpc.py +325 -0
- yandex/cloud/mdb/spqr/v1/user_service_pb2_grpc.pyi +161 -0
- yandex/cloud/monitoring/v3/dashboard_pb2.py +6 -5
- yandex/cloud/monitoring/v3/dashboard_pb2.pyi +9 -2
- yandex/cloud/monitoring/v3/dashboard_service_pb2.py +30 -29
- yandex/cloud/monitoring/v3/dashboard_service_pb2.pyi +17 -4
- yandex/cloud/monitoring/v3/timeline_pb2.py +37 -0
- yandex/cloud/monitoring/v3/timeline_pb2.pyi +31 -0
- yandex/cloud/monitoring/v3/timeline_pb2_grpc.py +24 -0
- yandex/cloud/monitoring/v3/timeline_pb2_grpc.pyi +17 -0
- yandex/cloud/searchapi/v2/gen_search_service_pb2.py +83 -0
- yandex/cloud/searchapi/v2/gen_search_service_pb2.pyi +297 -0
- yandex/cloud/searchapi/v2/gen_search_service_pb2_grpc.py +100 -0
- yandex/cloud/searchapi/v2/gen_search_service_pb2_grpc.pyi +47 -0
- yandex/cloud/searchapi/v2/search_query_pb2.py +8 -8
- yandex/cloud/searchapi/v2/search_query_pb2.pyi +8 -0
- yandex/cloud/searchapi/v2/search_service_pb2.py +16 -12
- yandex/cloud/serverless/eventrouter/v1/event_service_pb2.py +11 -3
- yandex/cloud/serverless/eventrouter/v1/event_service_pb2.pyi +24 -0
- yandex/cloud/serverless/eventrouter/v1/event_service_pb2_grpc.py +44 -0
- yandex/cloud/serverless/eventrouter/v1/event_service_pb2_grpc.pyi +20 -0
- yandex/cloud/storage/v1/s3api_pb2.py +7 -1
- yandex/cloud/storage/v1/s3api_pb2.pyi +128 -1
- yandex/cloud/video/v1/channel_pb2.py +16 -11
- yandex/cloud/video/v1/channel_pb2.pyi +32 -2
- yandex/cloud/video/v1/channel_service_pb2.py +34 -30
- yandex/cloud/video/v1/channel_service_pb2.pyi +27 -10
- yandex/cloud/video/v1/channel_service_pb2_grpc.py +4 -4
- yandex/cloud/video/v1/channel_service_pb2_grpc.pyi +12 -12
- yandex/cloud/video/v1/episode_pb2.pyi +5 -4
- yandex/cloud/video/v1/episode_service_pb2.py +56 -52
- yandex/cloud/video/v1/episode_service_pb2.pyi +18 -12
- yandex/cloud/video/v1/episode_service_pb2_grpc.py +4 -4
- yandex/cloud/video/v1/episode_service_pb2_grpc.pyi +12 -12
- yandex/cloud/video/v1/playlist_service_pb2.py +34 -30
- yandex/cloud/video/v1/playlist_service_pb2.pyi +11 -6
- yandex/cloud/video/v1/playlist_service_pb2_grpc.py +3 -3
- yandex/cloud/video/v1/playlist_service_pb2_grpc.pyi +9 -9
- yandex/cloud/video/v1/stream_line_pb2.py +16 -24
- yandex/cloud/video/v1/stream_line_pb2.pyi +34 -108
- yandex/cloud/video/v1/stream_line_service_pb2.py +60 -70
- yandex/cloud/video/v1/stream_line_service_pb2.pyi +17 -119
- yandex/cloud/video/v1/stream_line_service_pb2_grpc.py +3 -3
- yandex/cloud/video/v1/stream_line_service_pb2_grpc.pyi +9 -9
- yandex/cloud/video/v1/stream_pb2.py +12 -11
- yandex/cloud/video/v1/stream_pb2.pyi +19 -6
- yandex/cloud/video/v1/stream_service_pb2.py +54 -49
- yandex/cloud/video/v1/stream_service_pb2.pyi +34 -13
- yandex/cloud/video/v1/stream_service_pb2_grpc.py +2 -2
- yandex/cloud/video/v1/stream_service_pb2_grpc.pyi +6 -6
- yandex/cloud/video/v1/subtitle_pb2.py +6 -4
- yandex/cloud/video/v1/subtitle_pb2.pyi +30 -2
- yandex/cloud/video/v1/subtitle_service_pb2.py +21 -21
- yandex/cloud/video/v1/subtitle_service_pb2.pyi +7 -5
- yandex/cloud/video/v1/subtitle_service_pb2_grpc.py +1 -1
- yandex/cloud/video/v1/subtitle_service_pb2_grpc.pyi +3 -3
- yandex/cloud/video/v1/thumbnail_service_pb2.py +29 -25
- yandex/cloud/video/v1/thumbnail_service_pb2.pyi +68 -6
- yandex/cloud/video/v1/thumbnail_service_pb2_grpc.py +3 -3
- yandex/cloud/video/v1/thumbnail_service_pb2_grpc.pyi +9 -9
- yandex/cloud/video/v1/video_pb2.py +24 -18
- yandex/cloud/video/v1/video_pb2.pyi +130 -38
- yandex/cloud/video/v1/video_service_pb2.py +114 -66
- yandex/cloud/video/v1/video_service_pb2.pyi +279 -40
- yandex/cloud/video/v1/video_service_pb2_grpc.py +50 -6
- yandex/cloud/video/v1/video_service_pb2_grpc.pyi +38 -18
- yandex/cloud/ydb/v1/database_pb2.py +46 -46
- yandex/cloud/ydb/v1/database_pb2.pyi +10 -2
- yandex/cloud/ydb/v1/database_service_pb2.py +18 -18
- yandex/cloud/ydb/v1/database_service_pb2.pyi +10 -2
- yandexcloud/__init__.py +2 -2
- yandexcloud/_operation_waiter.py +17 -19
- yandexcloud/_retry_policy.py +17 -3
- yandexcloud/_wrappers/dataproc/__init__.py +39 -0
- {yandexcloud-0.336.0.dist-info → yandexcloud-0.338.0.dist-info}/METADATA +9 -9
- {yandexcloud-0.336.0.dist-info → yandexcloud-0.338.0.dist-info}/RECORD +193 -115
- {yandexcloud-0.336.0.dist-info → yandexcloud-0.338.0.dist-info}/AUTHORS +0 -0
- {yandexcloud-0.336.0.dist-info → yandexcloud-0.338.0.dist-info}/LICENSE +0 -0
- {yandexcloud-0.336.0.dist-info → yandexcloud-0.338.0.dist-info}/WHEEL +0 -0
- {yandexcloud-0.336.0.dist-info → yandexcloud-0.338.0.dist-info}/top_level.txt +0 -0
|
@@ -30,7 +30,7 @@ from yandex.cloud.operation import operation_pb2 as yandex_dot_cloud_dot_operati
|
|
|
30
30
|
from yandex.cloud import validation_pb2 as yandex_dot_cloud_dot_validation__pb2
|
|
31
31
|
|
|
32
32
|
|
|
33
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n0yandex/cloud/iot/devices/v1/device_service.proto\x12\x1byandex.cloud.iot.devices.v1\x1a\x1cgoogle/api/annotations.proto\x1a google/protobuf/field_mask.proto\x1a yandex/cloud/api/operation.proto\x1a(yandex/cloud/iot/devices/v1/device.proto\x1a&yandex/cloud/operation/operation.proto\x1a\x1dyandex/cloud/validation.proto\"q\n\x10GetDeviceRequest\x12\x1f\n\tdevice_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12<\n\x0b\x64\x65vice_view\x18\x02 \x01(\x0e\x32\'.yandex.cloud.iot.devices.v1.DeviceView\"\xae\x01\n\x16GetByNameDeviceRequest\x12!\n\x0bregistry_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12\x33\n\x0b\x64\x65vice_name\x18\x02 \x01(\tB\x1e\xe8\xc7\x31\x01\xf2\xc7\x31\x0e[a-zA-Z0-9_-]*\x8a\xc8\x31\x04<=50\x12<\n\x0b\x64\x65vice_view\x18\x03 \x01(\x0e\x32\'.yandex.cloud.iot.devices.v1.DeviceView\"\
|
|
33
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n0yandex/cloud/iot/devices/v1/device_service.proto\x12\x1byandex.cloud.iot.devices.v1\x1a\x1cgoogle/api/annotations.proto\x1a google/protobuf/field_mask.proto\x1a yandex/cloud/api/operation.proto\x1a(yandex/cloud/iot/devices/v1/device.proto\x1a&yandex/cloud/operation/operation.proto\x1a\x1dyandex/cloud/validation.proto\"q\n\x10GetDeviceRequest\x12\x1f\n\tdevice_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12<\n\x0b\x64\x65vice_view\x18\x02 \x01(\x0e\x32\'.yandex.cloud.iot.devices.v1.DeviceView\"\xae\x01\n\x16GetByNameDeviceRequest\x12!\n\x0bregistry_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12\x33\n\x0b\x64\x65vice_name\x18\x02 \x01(\tB\x1e\xe8\xc7\x31\x01\xf2\xc7\x31\x0e[a-zA-Z0-9_-]*\x8a\xc8\x31\x04<=50\x12<\n\x0b\x64\x65vice_view\x18\x03 \x01(\x0e\x32\'.yandex.cloud.iot.devices.v1.DeviceView\"\xdd\x01\n\x12ListDevicesRequest\x12\x1f\n\x0bregistry_id\x18\x01 \x01(\tB\x08\x8a\xc8\x31\x04<=50H\x00\x12\x1d\n\tfolder_id\x18\x02 \x01(\tB\x08\x8a\xc8\x31\x04<=50H\x00\x12\x1e\n\tpage_size\x18\x03 \x01(\x03\x42\x0b\xfa\xc7\x31\x07\x30-20000\x12\x1d\n\npage_token\x18\x04 \x01(\tB\t\x8a\xc8\x31\x05<=100\x12<\n\x0b\x64\x65vice_view\x18\x05 \x01(\x0e\x32\'.yandex.cloud.iot.devices.v1.DeviceViewB\n\n\x02id\x12\x04\xc0\xc1\x31\x01\"d\n\x13ListDevicesResponse\x12\x34\n\x07\x64\x65vices\x18\x01 \x03(\x0b\x32#.yandex.cloud.iot.devices.v1.Device\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\xe0\x04\n\x13\x43reateDeviceRequest\x12!\n\x0bregistry_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12,\n\x04name\x18\x02 \x01(\tB\x1e\xe8\xc7\x31\x01\xf2\xc7\x31\x0e[a-zA-Z0-9_-]*\x8a\xc8\x31\x04<=50\x12\x1e\n\x0b\x64\x65scription\x18\x03 \x01(\tB\t\x8a\xc8\x31\x05<=256\x12R\n\x0c\x63\x65rtificates\x18\x04 \x03(\x0b\x32<.yandex.cloud.iot.devices.v1.CreateDeviceRequest.Certificate\x12Y\n\rtopic_aliases\x18\x05 \x03(\x0b\x32\x42.yandex.cloud.iot.devices.v1.CreateDeviceRequest.TopicAliasesEntry\x12\x10\n\x08password\x18\x06 \x01(\t\x12\x89\x01\n\x06labels\x18\x07 \x03(\x0b\x32<.yandex.cloud.iot.devices.v1.CreateDeviceRequest.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\x33\n\x11TopicAliasesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a\'\n\x0b\x43\x65rtificate\x12\x18\n\x10\x63\x65rtificate_data\x18\x01 \x01(\t\")\n\x14\x43reateDeviceMetadata\x12\x11\n\tdevice_id\x18\x01 \x01(\t\"\xfc\x03\n\x13UpdateDeviceRequest\x12\x1f\n\tdevice_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12/\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\x12(\n\x04name\x18\x03 \x01(\tB\x1a\xf2\xc7\x31\x0e[a-zA-Z0-9_-]*\x8a\xc8\x31\x04<=50\x12\x1e\n\x0b\x64\x65scription\x18\x04 \x01(\tB\t\x8a\xc8\x31\x05<=256\x12Y\n\rtopic_aliases\x18\x05 \x03(\x0b\x32\x42.yandex.cloud.iot.devices.v1.UpdateDeviceRequest.TopicAliasesEntry\x12\x89\x01\n\x06labels\x18\x06 \x03(\x0b\x32<.yandex.cloud.iot.devices.v1.UpdateDeviceRequest.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\x33\n\x11TopicAliasesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\")\n\x14UpdateDeviceMetadata\x12\x11\n\tdevice_id\x18\x01 \x01(\t\"6\n\x13\x44\x65leteDeviceRequest\x12\x1f\n\tdevice_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\")\n\x14\x44\x65leteDeviceMetadata\x12\x11\n\tdevice_id\x18\x01 \x01(\t\"@\n\x1dListDeviceCertificatesRequest\x12\x1f\n\tdevice_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\"f\n\x1eListDeviceCertificatesResponse\x12\x44\n\x0c\x63\x65rtificates\x18\x01 \x03(\x0b\x32..yandex.cloud.iot.devices.v1.DeviceCertificate\"^\n\x1b\x41\x64\x64\x44\x65viceCertificateRequest\x12\x1f\n\tdevice_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12\x18\n\x10\x63\x65rtificate_data\x18\x03 \x01(\tJ\x04\x08\x02\x10\x03\"F\n\x1c\x41\x64\x64\x44\x65viceCertificateMetadata\x12\x11\n\tdevice_id\x18\x01 \x01(\t\x12\x13\n\x0b\x66ingerprint\x18\x02 \x01(\t\"d\n\x1e\x44\x65leteDeviceCertificateRequest\x12\x1f\n\tdevice_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12!\n\x0b\x66ingerprint\x18\x02 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\"e\n\x1f\x44\x65leteDeviceCertificateMetadata\x12\x1f\n\tdevice_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12!\n\x0b\x66ingerprint\x18\x02 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\"=\n\x1aListDevicePasswordsRequest\x12\x1f\n\tdevice_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\"]\n\x1bListDevicePasswordsResponse\x12>\n\tpasswords\x18\x01 \x03(\x0b\x32+.yandex.cloud.iot.devices.v1.DevicePassword\"W\n\x18\x41\x64\x64\x44\x65vicePasswordRequest\x12\x1f\n\tdevice_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12\x1a\n\x08password\x18\x02 \x01(\tB\x08\x8a\xc8\x31\x04>=14\"C\n\x19\x41\x64\x64\x44\x65vicePasswordMetadata\x12\x11\n\tdevice_id\x18\x01 \x01(\t\x12\x13\n\x0bpassword_id\x18\x02 \x01(\t\"a\n\x1b\x44\x65leteDevicePasswordRequest\x12\x1f\n\tdevice_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12!\n\x0bpassword_id\x18\x02 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\"b\n\x1c\x44\x65leteDevicePasswordMetadata\x12\x1f\n\tdevice_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12!\n\x0bpassword_id\x18\x02 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\"\x90\x01\n\x1bListDeviceOperationsRequest\x12\x17\n\tdevice_id\x18\x01 \x01(\tB\x04\xe8\xc7\x31\x01\x12\x1d\n\tpage_size\x18\x02 \x01(\x03\x42\n\xfa\xc7\x31\x06\x30-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\"n\n\x1cListDeviceOperationsResponse\x12\x35\n\noperations\x18\x01 \x03(\x0b\x32!.yandex.cloud.operation.Operation\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t2\xb0\x13\n\rDeviceService\x12\x86\x01\n\x03Get\x12-.yandex.cloud.iot.devices.v1.GetDeviceRequest\x1a#.yandex.cloud.iot.devices.v1.Device\"+\x82\xd3\xe4\x93\x02%\x12#/iot-devices/v1/devices/{device_id}\x12\x90\x01\n\tGetByName\x12\x33.yandex.cloud.iot.devices.v1.GetByNameDeviceRequest\x1a#.yandex.cloud.iot.devices.v1.Device\")\x82\xd3\xe4\x93\x02#\x12!/iot-devices/v1/devices:getByName\x12\x8a\x01\n\x04List\x12/.yandex.cloud.iot.devices.v1.ListDevicesRequest\x1a\x30.yandex.cloud.iot.devices.v1.ListDevicesResponse\"\x1f\x82\xd3\xe4\x93\x02\x19\x12\x17/iot-devices/v1/devices\x12\xa3\x01\n\x06\x43reate\x12\x30.yandex.cloud.iot.devices.v1.CreateDeviceRequest\x1a!.yandex.cloud.operation.Operation\"D\xb2\xd2*\x1e\n\x14\x43reateDeviceMetadata\x12\x06\x44\x65vice\x82\xd3\xe4\x93\x02\x1c\"\x17/iot-devices/v1/devices:\x01*\x12\xaf\x01\n\x06Update\x12\x30.yandex.cloud.iot.devices.v1.UpdateDeviceRequest\x1a!.yandex.cloud.operation.Operation\"P\xb2\xd2*\x1e\n\x14UpdateDeviceMetadata\x12\x06\x44\x65vice\x82\xd3\xe4\x93\x02(2#/iot-devices/v1/devices/{device_id}:\x01*\x12\xbb\x01\n\x06\x44\x65lete\x12\x30.yandex.cloud.iot.devices.v1.DeleteDeviceRequest\x1a!.yandex.cloud.operation.Operation\"\\\xb2\xd2*-\n\x14\x44\x65leteDeviceMetadata\x12\x15google.protobuf.Empty\x82\xd3\xe4\x93\x02%*#/iot-devices/v1/devices/{device_id}\x12\xc5\x01\n\x10ListCertificates\x12:.yandex.cloud.iot.devices.v1.ListDeviceCertificatesRequest\x1a;.yandex.cloud.iot.devices.v1.ListDeviceCertificatesResponse\"8\x82\xd3\xe4\x93\x02\x32\x12\x30/iot-devices/v1/devices/{device_id}/certificates\x12\xdf\x01\n\x0e\x41\x64\x64\x43\x65rtificate\x12\x38.yandex.cloud.iot.devices.v1.AddDeviceCertificateRequest\x1a!.yandex.cloud.operation.Operation\"p\xb2\xd2*1\n\x1c\x41\x64\x64\x44\x65viceCertificateMetadata\x12\x11\x44\x65viceCertificate\x82\xd3\xe4\x93\x02\x35\"0/iot-devices/v1/devices/{device_id}/certificates:\x01*\x12\xf8\x01\n\x11\x44\x65leteCertificate\x12;.yandex.cloud.iot.devices.v1.DeleteDeviceCertificateRequest\x1a!.yandex.cloud.operation.Operation\"\x82\x01\xb2\xd2*8\n\x1f\x44\x65leteDeviceCertificateMetadata\x12\x15google.protobuf.Empty\x82\xd3\xe4\x93\x02@*>/iot-devices/v1/devices/{device_id}/certificates/{fingerprint}\x12\xb9\x01\n\rListPasswords\x12\x37.yandex.cloud.iot.devices.v1.ListDevicePasswordsRequest\x1a\x38.yandex.cloud.iot.devices.v1.ListDevicePasswordsResponse\"5\x82\xd3\xe4\x93\x02/\x12-/iot-devices/v1/devices/{device_id}/passwords\x12\xd0\x01\n\x0b\x41\x64\x64Password\x12\x35.yandex.cloud.iot.devices.v1.AddDevicePasswordRequest\x1a!.yandex.cloud.operation.Operation\"g\xb2\xd2*+\n\x19\x41\x64\x64\x44\x65vicePasswordMetadata\x12\x0e\x44\x65vicePassword\x82\xd3\xe4\x93\x02\x32\"-/iot-devices/v1/devices/{device_id}/passwords:\x01*\x12\xeb\x01\n\x0e\x44\x65letePassword\x12\x38.yandex.cloud.iot.devices.v1.DeleteDevicePasswordRequest\x1a!.yandex.cloud.operation.Operation\"|\xb2\xd2*5\n\x1c\x44\x65leteDevicePasswordMetadata\x12\x15google.protobuf.Empty\x82\xd3\xe4\x93\x02=*;/iot-devices/v1/devices/{device_id}/passwords/{password_id}\x12\xbd\x01\n\x0eListOperations\x12\x38.yandex.cloud.iot.devices.v1.ListDeviceOperationsRequest\x1a\x39.yandex.cloud.iot.devices.v1.ListDeviceOperationsResponse\"6\x82\xd3\xe4\x93\x02\x30\x12./iot-devices/v1/devices/{device_id}/operationsBj\n\x1fyandex.cloud.api.iot.devices.v1ZGgithub.com/yandex-cloud/go-genproto/yandex/cloud/iot/devices/v1;devicesb\x06proto3')
|
|
34
34
|
|
|
35
35
|
_globals = globals()
|
|
36
36
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
@@ -51,25 +51,33 @@ if not _descriptor._USE_C_DESCRIPTORS:
|
|
|
51
51
|
_globals['_LISTDEVICESREQUEST'].fields_by_name['folder_id']._loaded_options = None
|
|
52
52
|
_globals['_LISTDEVICESREQUEST'].fields_by_name['folder_id']._serialized_options = b'\212\3101\004<=50'
|
|
53
53
|
_globals['_LISTDEVICESREQUEST'].fields_by_name['page_size']._loaded_options = None
|
|
54
|
-
_globals['_LISTDEVICESREQUEST'].fields_by_name['page_size']._serialized_options = b'\372\3071\
|
|
54
|
+
_globals['_LISTDEVICESREQUEST'].fields_by_name['page_size']._serialized_options = b'\372\3071\0070-20000'
|
|
55
55
|
_globals['_LISTDEVICESREQUEST'].fields_by_name['page_token']._loaded_options = None
|
|
56
56
|
_globals['_LISTDEVICESREQUEST'].fields_by_name['page_token']._serialized_options = b'\212\3101\005<=100'
|
|
57
57
|
_globals['_CREATEDEVICEREQUEST_TOPICALIASESENTRY']._loaded_options = None
|
|
58
58
|
_globals['_CREATEDEVICEREQUEST_TOPICALIASESENTRY']._serialized_options = b'8\001'
|
|
59
|
+
_globals['_CREATEDEVICEREQUEST_LABELSENTRY']._loaded_options = None
|
|
60
|
+
_globals['_CREATEDEVICEREQUEST_LABELSENTRY']._serialized_options = b'8\001'
|
|
59
61
|
_globals['_CREATEDEVICEREQUEST'].fields_by_name['registry_id']._loaded_options = None
|
|
60
62
|
_globals['_CREATEDEVICEREQUEST'].fields_by_name['registry_id']._serialized_options = b'\350\3071\001\212\3101\004<=50'
|
|
61
63
|
_globals['_CREATEDEVICEREQUEST'].fields_by_name['name']._loaded_options = None
|
|
62
64
|
_globals['_CREATEDEVICEREQUEST'].fields_by_name['name']._serialized_options = b'\350\3071\001\362\3071\016[a-zA-Z0-9_-]*\212\3101\004<=50'
|
|
63
65
|
_globals['_CREATEDEVICEREQUEST'].fields_by_name['description']._loaded_options = None
|
|
64
66
|
_globals['_CREATEDEVICEREQUEST'].fields_by_name['description']._serialized_options = b'\212\3101\005<=256'
|
|
67
|
+
_globals['_CREATEDEVICEREQUEST'].fields_by_name['labels']._loaded_options = None
|
|
68
|
+
_globals['_CREATEDEVICEREQUEST'].fields_by_name['labels']._serialized_options = b'\362\3071\013[-_0-9a-z]*\202\3101\004<=64\212\3101\004<=63\262\3101\030\022\020[a-z][-_0-9a-z]*\032\0041-63'
|
|
65
69
|
_globals['_UPDATEDEVICEREQUEST_TOPICALIASESENTRY']._loaded_options = None
|
|
66
70
|
_globals['_UPDATEDEVICEREQUEST_TOPICALIASESENTRY']._serialized_options = b'8\001'
|
|
71
|
+
_globals['_UPDATEDEVICEREQUEST_LABELSENTRY']._loaded_options = None
|
|
72
|
+
_globals['_UPDATEDEVICEREQUEST_LABELSENTRY']._serialized_options = b'8\001'
|
|
67
73
|
_globals['_UPDATEDEVICEREQUEST'].fields_by_name['device_id']._loaded_options = None
|
|
68
74
|
_globals['_UPDATEDEVICEREQUEST'].fields_by_name['device_id']._serialized_options = b'\350\3071\001\212\3101\004<=50'
|
|
69
75
|
_globals['_UPDATEDEVICEREQUEST'].fields_by_name['name']._loaded_options = None
|
|
70
76
|
_globals['_UPDATEDEVICEREQUEST'].fields_by_name['name']._serialized_options = b'\362\3071\016[a-zA-Z0-9_-]*\212\3101\004<=50'
|
|
71
77
|
_globals['_UPDATEDEVICEREQUEST'].fields_by_name['description']._loaded_options = None
|
|
72
78
|
_globals['_UPDATEDEVICEREQUEST'].fields_by_name['description']._serialized_options = b'\212\3101\005<=256'
|
|
79
|
+
_globals['_UPDATEDEVICEREQUEST'].fields_by_name['labels']._loaded_options = None
|
|
80
|
+
_globals['_UPDATEDEVICEREQUEST'].fields_by_name['labels']._serialized_options = b'\362\3071\013[-_0-9a-z]*\202\3101\004<=64\212\3101\004<=63\262\3101\030\022\020[a-z][-_0-9a-z]*\032\0041-63'
|
|
73
81
|
_globals['_DELETEDEVICEREQUEST'].fields_by_name['device_id']._loaded_options = None
|
|
74
82
|
_globals['_DELETEDEVICEREQUEST'].fields_by_name['device_id']._serialized_options = b'\350\3071\001\212\3101\004<=50'
|
|
75
83
|
_globals['_LISTDEVICECERTIFICATESREQUEST'].fields_by_name['device_id']._loaded_options = None
|
|
@@ -137,55 +145,59 @@ if not _descriptor._USE_C_DESCRIPTORS:
|
|
|
137
145
|
_globals['_GETBYNAMEDEVICEREQUEST']._serialized_start=408
|
|
138
146
|
_globals['_GETBYNAMEDEVICEREQUEST']._serialized_end=582
|
|
139
147
|
_globals['_LISTDEVICESREQUEST']._serialized_start=585
|
|
140
|
-
_globals['_LISTDEVICESREQUEST']._serialized_end=
|
|
141
|
-
_globals['_LISTDEVICESRESPONSE']._serialized_start=
|
|
142
|
-
_globals['_LISTDEVICESRESPONSE']._serialized_end=
|
|
143
|
-
_globals['_CREATEDEVICEREQUEST']._serialized_start=
|
|
144
|
-
_globals['_CREATEDEVICEREQUEST']._serialized_end=
|
|
145
|
-
_globals['_CREATEDEVICEREQUEST_TOPICALIASESENTRY']._serialized_start=
|
|
146
|
-
_globals['_CREATEDEVICEREQUEST_TOPICALIASESENTRY']._serialized_end=
|
|
147
|
-
_globals['
|
|
148
|
-
_globals['
|
|
149
|
-
_globals['
|
|
150
|
-
_globals['
|
|
151
|
-
_globals['
|
|
152
|
-
_globals['
|
|
153
|
-
_globals['
|
|
154
|
-
_globals['
|
|
155
|
-
_globals['
|
|
156
|
-
_globals['
|
|
157
|
-
_globals['
|
|
158
|
-
_globals['
|
|
159
|
-
_globals['
|
|
160
|
-
_globals['
|
|
161
|
-
_globals['
|
|
162
|
-
_globals['
|
|
163
|
-
_globals['
|
|
164
|
-
_globals['
|
|
165
|
-
_globals['
|
|
166
|
-
_globals['
|
|
167
|
-
_globals['
|
|
168
|
-
_globals['
|
|
169
|
-
_globals['
|
|
170
|
-
_globals['
|
|
171
|
-
_globals['
|
|
172
|
-
_globals['
|
|
173
|
-
_globals['
|
|
174
|
-
_globals['
|
|
175
|
-
_globals['
|
|
176
|
-
_globals['
|
|
177
|
-
_globals['
|
|
178
|
-
_globals['
|
|
179
|
-
_globals['
|
|
180
|
-
_globals['
|
|
181
|
-
_globals['
|
|
182
|
-
_globals['
|
|
183
|
-
_globals['
|
|
184
|
-
_globals['
|
|
185
|
-
_globals['
|
|
186
|
-
_globals['
|
|
187
|
-
_globals['
|
|
188
|
-
_globals['
|
|
189
|
-
_globals['
|
|
190
|
-
_globals['
|
|
148
|
+
_globals['_LISTDEVICESREQUEST']._serialized_end=806
|
|
149
|
+
_globals['_LISTDEVICESRESPONSE']._serialized_start=808
|
|
150
|
+
_globals['_LISTDEVICESRESPONSE']._serialized_end=908
|
|
151
|
+
_globals['_CREATEDEVICEREQUEST']._serialized_start=911
|
|
152
|
+
_globals['_CREATEDEVICEREQUEST']._serialized_end=1519
|
|
153
|
+
_globals['_CREATEDEVICEREQUEST_TOPICALIASESENTRY']._serialized_start=1380
|
|
154
|
+
_globals['_CREATEDEVICEREQUEST_TOPICALIASESENTRY']._serialized_end=1431
|
|
155
|
+
_globals['_CREATEDEVICEREQUEST_LABELSENTRY']._serialized_start=1433
|
|
156
|
+
_globals['_CREATEDEVICEREQUEST_LABELSENTRY']._serialized_end=1478
|
|
157
|
+
_globals['_CREATEDEVICEREQUEST_CERTIFICATE']._serialized_start=1480
|
|
158
|
+
_globals['_CREATEDEVICEREQUEST_CERTIFICATE']._serialized_end=1519
|
|
159
|
+
_globals['_CREATEDEVICEMETADATA']._serialized_start=1521
|
|
160
|
+
_globals['_CREATEDEVICEMETADATA']._serialized_end=1562
|
|
161
|
+
_globals['_UPDATEDEVICEREQUEST']._serialized_start=1565
|
|
162
|
+
_globals['_UPDATEDEVICEREQUEST']._serialized_end=2073
|
|
163
|
+
_globals['_UPDATEDEVICEREQUEST_TOPICALIASESENTRY']._serialized_start=1380
|
|
164
|
+
_globals['_UPDATEDEVICEREQUEST_TOPICALIASESENTRY']._serialized_end=1431
|
|
165
|
+
_globals['_UPDATEDEVICEREQUEST_LABELSENTRY']._serialized_start=1433
|
|
166
|
+
_globals['_UPDATEDEVICEREQUEST_LABELSENTRY']._serialized_end=1478
|
|
167
|
+
_globals['_UPDATEDEVICEMETADATA']._serialized_start=2075
|
|
168
|
+
_globals['_UPDATEDEVICEMETADATA']._serialized_end=2116
|
|
169
|
+
_globals['_DELETEDEVICEREQUEST']._serialized_start=2118
|
|
170
|
+
_globals['_DELETEDEVICEREQUEST']._serialized_end=2172
|
|
171
|
+
_globals['_DELETEDEVICEMETADATA']._serialized_start=2174
|
|
172
|
+
_globals['_DELETEDEVICEMETADATA']._serialized_end=2215
|
|
173
|
+
_globals['_LISTDEVICECERTIFICATESREQUEST']._serialized_start=2217
|
|
174
|
+
_globals['_LISTDEVICECERTIFICATESREQUEST']._serialized_end=2281
|
|
175
|
+
_globals['_LISTDEVICECERTIFICATESRESPONSE']._serialized_start=2283
|
|
176
|
+
_globals['_LISTDEVICECERTIFICATESRESPONSE']._serialized_end=2385
|
|
177
|
+
_globals['_ADDDEVICECERTIFICATEREQUEST']._serialized_start=2387
|
|
178
|
+
_globals['_ADDDEVICECERTIFICATEREQUEST']._serialized_end=2481
|
|
179
|
+
_globals['_ADDDEVICECERTIFICATEMETADATA']._serialized_start=2483
|
|
180
|
+
_globals['_ADDDEVICECERTIFICATEMETADATA']._serialized_end=2553
|
|
181
|
+
_globals['_DELETEDEVICECERTIFICATEREQUEST']._serialized_start=2555
|
|
182
|
+
_globals['_DELETEDEVICECERTIFICATEREQUEST']._serialized_end=2655
|
|
183
|
+
_globals['_DELETEDEVICECERTIFICATEMETADATA']._serialized_start=2657
|
|
184
|
+
_globals['_DELETEDEVICECERTIFICATEMETADATA']._serialized_end=2758
|
|
185
|
+
_globals['_LISTDEVICEPASSWORDSREQUEST']._serialized_start=2760
|
|
186
|
+
_globals['_LISTDEVICEPASSWORDSREQUEST']._serialized_end=2821
|
|
187
|
+
_globals['_LISTDEVICEPASSWORDSRESPONSE']._serialized_start=2823
|
|
188
|
+
_globals['_LISTDEVICEPASSWORDSRESPONSE']._serialized_end=2916
|
|
189
|
+
_globals['_ADDDEVICEPASSWORDREQUEST']._serialized_start=2918
|
|
190
|
+
_globals['_ADDDEVICEPASSWORDREQUEST']._serialized_end=3005
|
|
191
|
+
_globals['_ADDDEVICEPASSWORDMETADATA']._serialized_start=3007
|
|
192
|
+
_globals['_ADDDEVICEPASSWORDMETADATA']._serialized_end=3074
|
|
193
|
+
_globals['_DELETEDEVICEPASSWORDREQUEST']._serialized_start=3076
|
|
194
|
+
_globals['_DELETEDEVICEPASSWORDREQUEST']._serialized_end=3173
|
|
195
|
+
_globals['_DELETEDEVICEPASSWORDMETADATA']._serialized_start=3175
|
|
196
|
+
_globals['_DELETEDEVICEPASSWORDMETADATA']._serialized_end=3273
|
|
197
|
+
_globals['_LISTDEVICEOPERATIONSREQUEST']._serialized_start=3276
|
|
198
|
+
_globals['_LISTDEVICEOPERATIONSREQUEST']._serialized_end=3420
|
|
199
|
+
_globals['_LISTDEVICEOPERATIONSRESPONSE']._serialized_start=3422
|
|
200
|
+
_globals['_LISTDEVICEOPERATIONSRESPONSE']._serialized_end=3532
|
|
201
|
+
_globals['_DEVICESERVICE']._serialized_start=3535
|
|
202
|
+
_globals['_DEVICESERVICE']._serialized_end=6015
|
|
191
203
|
# @@protoc_insertion_point(module_scope)
|
|
@@ -167,6 +167,22 @@ class CreateDeviceRequest(google.protobuf.message.Message):
|
|
|
167
167
|
) -> None: ...
|
|
168
168
|
def ClearField(self, field_name: typing.Literal["key", b"key", "value", b"value"]) -> None: ...
|
|
169
169
|
|
|
170
|
+
@typing.final
|
|
171
|
+
class LabelsEntry(google.protobuf.message.Message):
|
|
172
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
173
|
+
|
|
174
|
+
KEY_FIELD_NUMBER: builtins.int
|
|
175
|
+
VALUE_FIELD_NUMBER: builtins.int
|
|
176
|
+
key: builtins.str
|
|
177
|
+
value: builtins.str
|
|
178
|
+
def __init__(
|
|
179
|
+
self,
|
|
180
|
+
*,
|
|
181
|
+
key: builtins.str = ...,
|
|
182
|
+
value: builtins.str = ...,
|
|
183
|
+
) -> None: ...
|
|
184
|
+
def ClearField(self, field_name: typing.Literal["key", b"key", "value", b"value"]) -> None: ...
|
|
185
|
+
|
|
170
186
|
@typing.final
|
|
171
187
|
class Certificate(google.protobuf.message.Message):
|
|
172
188
|
"""Specification of a device certificate."""
|
|
@@ -189,6 +205,7 @@ class CreateDeviceRequest(google.protobuf.message.Message):
|
|
|
189
205
|
CERTIFICATES_FIELD_NUMBER: builtins.int
|
|
190
206
|
TOPIC_ALIASES_FIELD_NUMBER: builtins.int
|
|
191
207
|
PASSWORD_FIELD_NUMBER: builtins.int
|
|
208
|
+
LABELS_FIELD_NUMBER: builtins.int
|
|
192
209
|
registry_id: builtins.str
|
|
193
210
|
"""ID of the registry to create a device in.
|
|
194
211
|
|
|
@@ -214,6 +231,10 @@ class CreateDeviceRequest(google.protobuf.message.Message):
|
|
|
214
231
|
Alias is an alternate name of a device topic assigned by the user. Map alias to canonical topic name prefix, e.g. `my/custom/alias` match to `$device/{id}/events`.
|
|
215
232
|
"""
|
|
216
233
|
|
|
234
|
+
@property
|
|
235
|
+
def labels(self) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]:
|
|
236
|
+
"""Resource labels as `key:value` pairs."""
|
|
237
|
+
|
|
217
238
|
def __init__(
|
|
218
239
|
self,
|
|
219
240
|
*,
|
|
@@ -223,8 +244,9 @@ class CreateDeviceRequest(google.protobuf.message.Message):
|
|
|
223
244
|
certificates: collections.abc.Iterable[global___CreateDeviceRequest.Certificate] | None = ...,
|
|
224
245
|
topic_aliases: collections.abc.Mapping[builtins.str, builtins.str] | None = ...,
|
|
225
246
|
password: builtins.str = ...,
|
|
247
|
+
labels: collections.abc.Mapping[builtins.str, builtins.str] | None = ...,
|
|
226
248
|
) -> None: ...
|
|
227
|
-
def ClearField(self, field_name: typing.Literal["certificates", b"certificates", "description", b"description", "name", b"name", "password", b"password", "registry_id", b"registry_id", "topic_aliases", b"topic_aliases"]) -> None: ...
|
|
249
|
+
def ClearField(self, field_name: typing.Literal["certificates", b"certificates", "description", b"description", "labels", b"labels", "name", b"name", "password", b"password", "registry_id", b"registry_id", "topic_aliases", b"topic_aliases"]) -> None: ...
|
|
228
250
|
|
|
229
251
|
global___CreateDeviceRequest = CreateDeviceRequest
|
|
230
252
|
|
|
@@ -264,11 +286,28 @@ class UpdateDeviceRequest(google.protobuf.message.Message):
|
|
|
264
286
|
) -> None: ...
|
|
265
287
|
def ClearField(self, field_name: typing.Literal["key", b"key", "value", b"value"]) -> None: ...
|
|
266
288
|
|
|
289
|
+
@typing.final
|
|
290
|
+
class LabelsEntry(google.protobuf.message.Message):
|
|
291
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
292
|
+
|
|
293
|
+
KEY_FIELD_NUMBER: builtins.int
|
|
294
|
+
VALUE_FIELD_NUMBER: builtins.int
|
|
295
|
+
key: builtins.str
|
|
296
|
+
value: builtins.str
|
|
297
|
+
def __init__(
|
|
298
|
+
self,
|
|
299
|
+
*,
|
|
300
|
+
key: builtins.str = ...,
|
|
301
|
+
value: builtins.str = ...,
|
|
302
|
+
) -> None: ...
|
|
303
|
+
def ClearField(self, field_name: typing.Literal["key", b"key", "value", b"value"]) -> None: ...
|
|
304
|
+
|
|
267
305
|
DEVICE_ID_FIELD_NUMBER: builtins.int
|
|
268
306
|
UPDATE_MASK_FIELD_NUMBER: builtins.int
|
|
269
307
|
NAME_FIELD_NUMBER: builtins.int
|
|
270
308
|
DESCRIPTION_FIELD_NUMBER: builtins.int
|
|
271
309
|
TOPIC_ALIASES_FIELD_NUMBER: builtins.int
|
|
310
|
+
LABELS_FIELD_NUMBER: builtins.int
|
|
272
311
|
device_id: builtins.str
|
|
273
312
|
"""ID of the device to update.
|
|
274
313
|
|
|
@@ -289,6 +328,10 @@ class UpdateDeviceRequest(google.protobuf.message.Message):
|
|
|
289
328
|
Alias is an alternate name of a device topic assigned by the user. Map alias to canonical topic name prefix, e.g. `my/custom/alias` match to `$device/{id}/events`.
|
|
290
329
|
"""
|
|
291
330
|
|
|
331
|
+
@property
|
|
332
|
+
def labels(self) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]:
|
|
333
|
+
"""Resource labels as `key:value` pairs."""
|
|
334
|
+
|
|
292
335
|
def __init__(
|
|
293
336
|
self,
|
|
294
337
|
*,
|
|
@@ -297,9 +340,10 @@ class UpdateDeviceRequest(google.protobuf.message.Message):
|
|
|
297
340
|
name: builtins.str = ...,
|
|
298
341
|
description: builtins.str = ...,
|
|
299
342
|
topic_aliases: collections.abc.Mapping[builtins.str, builtins.str] | None = ...,
|
|
343
|
+
labels: collections.abc.Mapping[builtins.str, builtins.str] | None = ...,
|
|
300
344
|
) -> None: ...
|
|
301
345
|
def HasField(self, field_name: typing.Literal["update_mask", b"update_mask"]) -> builtins.bool: ...
|
|
302
|
-
def ClearField(self, field_name: typing.Literal["description", b"description", "device_id", b"device_id", "name", b"name", "topic_aliases", b"topic_aliases", "update_mask", b"update_mask"]) -> None: ...
|
|
346
|
+
def ClearField(self, field_name: typing.Literal["description", b"description", "device_id", b"device_id", "labels", b"labels", "name", b"name", "topic_aliases", b"topic_aliases", "update_mask", b"update_mask"]) -> None: ...
|
|
303
347
|
|
|
304
348
|
global___UpdateDeviceRequest = UpdateDeviceRequest
|
|
305
349
|
|
|
@@ -25,7 +25,7 @@ _sym_db = _symbol_database.Default()
|
|
|
25
25
|
from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2
|
|
26
26
|
|
|
27
27
|
|
|
28
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n,yandex/cloud/loadtesting/agent/v1/test.proto\x12!yandex.cloud.loadtesting.agent.v1\x1a\x1fgoogle/protobuf/timestamp.proto\"\
|
|
28
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n,yandex/cloud/loadtesting/agent/v1/test.proto\x12!yandex.cloud.loadtesting.agent.v1\x1a\x1fgoogle/protobuf/timestamp.proto\"\x97\x08\n\x04Test\x12\n\n\x02id\x18\x01 \x01(\t\x12\x11\n\tfolder_id\x18\x02 \x01(\t\x12\x0c\n\x04name\x18\x03 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x04 \x01(\t\x12\x43\n\x06labels\x18\x05 \x03(\x0b\x32\x33.yandex.cloud.loadtesting.agent.v1.Test.LabelsEntry\x12.\n\ncreated_at\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12.\n\nstarted_at\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12/\n\x0b\x66inished_at\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12.\n\nupdated_at\x18\t \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x44\n\tgenerator\x18\n \x01(\x0e\x32\x31.yandex.cloud.loadtesting.agent.v1.Test.Generator\x12\x19\n\x11\x61gent_instance_id\x18\x0b \x01(\t\x12\x16\n\x0etarget_address\x18\x0c \x01(\t\x12\x13\n\x0btarget_port\x18\r \x01(\x03\x12\x16\n\x0etarget_version\x18\x0e \x01(\t\x12\x0e\n\x06\x63onfig\x18\x0f \x01(\t\x12\x13\n\tammo_urls\x18\x10 \x01(\tH\x00\x12\x11\n\x07\x61mmo_id\x18\x11 \x01(\tH\x00\x12\r\n\x05\x63\x61ses\x18\x12 \x03(\t\x12>\n\x06status\x18\x13 \x01(\x0e\x32..yandex.cloud.loadtesting.agent.v1.Test.Status\x12\x0e\n\x06\x65rrors\x18\x14 \x03(\t\x12\x10\n\x08\x66\x61vorite\x18\x15 \x01(\x08\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\xf2\x01\n\x06Status\x12\x16\n\x12STATUS_UNSPECIFIED\x10\x00\x12\x0b\n\x07\x43REATED\x10\x01\x12\r\n\tINITIATED\x10\x02\x12\r\n\tPREPARING\x10\x03\x12\x0b\n\x07RUNNING\x10\x04\x12\r\n\tFINISHING\x10\x05\x12\x08\n\x04\x44ONE\x10\x06\x12\x13\n\x0fPOST_PROCESSING\x10\x07\x12\n\n\x06\x46\x41ILED\x10\x08\x12\x0c\n\x08STOPPING\x10\t\x12\x0b\n\x07STOPPED\x10\n\x12\x0f\n\x0b\x41UTOSTOPPED\x10\x0b\x12\x0b\n\x07WAITING\x10\x0c\x12\x0c\n\x08\x44\x45LETING\x10\r\x12\x08\n\x04LOST\x10\x0e\x12\r\n\tCANCELLED\x10\x0f\"L\n\tGenerator\x12\x19\n\x15GENERATOR_UNSPECIFIED\x10\x00\x12\x0b\n\x07PANDORA\x10\x01\x12\x0b\n\x07PHANTOM\x10\x02\x12\n\n\x06JMETER\x10\x03\x42\x06\n\x04\x61mmoBt\n%yandex.cloud.api.loadtesting.agent.v1ZKgithub.com/yandex-cloud/go-genproto/yandex/cloud/loadtesting/agent/v1;agentb\x06proto3')
|
|
29
29
|
|
|
30
30
|
_globals = globals()
|
|
31
31
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
@@ -36,11 +36,11 @@ if not _descriptor._USE_C_DESCRIPTORS:
|
|
|
36
36
|
_globals['_TEST_LABELSENTRY']._loaded_options = None
|
|
37
37
|
_globals['_TEST_LABELSENTRY']._serialized_options = b'8\001'
|
|
38
38
|
_globals['_TEST']._serialized_start=117
|
|
39
|
-
_globals['_TEST']._serialized_end=
|
|
39
|
+
_globals['_TEST']._serialized_end=1164
|
|
40
40
|
_globals['_TEST_LABELSENTRY']._serialized_start=788
|
|
41
41
|
_globals['_TEST_LABELSENTRY']._serialized_end=833
|
|
42
42
|
_globals['_TEST_STATUS']._serialized_start=836
|
|
43
|
-
_globals['_TEST_STATUS']._serialized_end=
|
|
44
|
-
_globals['_TEST_GENERATOR']._serialized_start=
|
|
45
|
-
_globals['_TEST_GENERATOR']._serialized_end=
|
|
43
|
+
_globals['_TEST_STATUS']._serialized_end=1078
|
|
44
|
+
_globals['_TEST_GENERATOR']._serialized_start=1080
|
|
45
|
+
_globals['_TEST_GENERATOR']._serialized_end=1156
|
|
46
46
|
# @@protoc_insertion_point(module_scope)
|
|
@@ -45,6 +45,7 @@ class Test(google.protobuf.message.Message):
|
|
|
45
45
|
WAITING: Test._Status.ValueType # 12
|
|
46
46
|
DELETING: Test._Status.ValueType # 13
|
|
47
47
|
LOST: Test._Status.ValueType # 14
|
|
48
|
+
CANCELLED: Test._Status.ValueType # 15
|
|
48
49
|
|
|
49
50
|
class Status(_Status, metaclass=_StatusEnumTypeWrapper): ...
|
|
50
51
|
STATUS_UNSPECIFIED: Test.Status.ValueType # 0
|
|
@@ -62,6 +63,7 @@ class Test(google.protobuf.message.Message):
|
|
|
62
63
|
WAITING: Test.Status.ValueType # 12
|
|
63
64
|
DELETING: Test.Status.ValueType # 13
|
|
64
65
|
LOST: Test.Status.ValueType # 14
|
|
66
|
+
CANCELLED: Test.Status.ValueType # 15
|
|
65
67
|
|
|
66
68
|
class _Generator:
|
|
67
69
|
ValueType = typing.NewType("ValueType", builtins.int)
|
|
@@ -24,7 +24,7 @@ _sym_db = _symbol_database.Default()
|
|
|
24
24
|
|
|
25
25
|
|
|
26
26
|
|
|
27
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n1yandex/cloud/loadtesting/api/v1/test/status.proto\x12$yandex.cloud.loadtesting.api.v1.test*\
|
|
27
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n1yandex/cloud/loadtesting/api/v1/test/status.proto\x12$yandex.cloud.loadtesting.api.v1.test*\xf2\x01\n\x06Status\x12\x16\n\x12STATUS_UNSPECIFIED\x10\x00\x12\x0b\n\x07\x43REATED\x10\x01\x12\r\n\tINITIATED\x10\x02\x12\r\n\tPREPARING\x10\x03\x12\x0b\n\x07RUNNING\x10\x04\x12\r\n\tFINISHING\x10\x05\x12\x08\n\x04\x44ONE\x10\x06\x12\x13\n\x0fPOST_PROCESSING\x10\x07\x12\n\n\x06\x46\x41ILED\x10\x08\x12\x0c\n\x08STOPPING\x10\t\x12\x0b\n\x07STOPPED\x10\n\x12\x0f\n\x0b\x41UTOSTOPPED\x10\x0b\x12\x0b\n\x07WAITING\x10\x0c\x12\x0c\n\x08\x44\x45LETING\x10\r\x12\x08\n\x04LOST\x10\x0e\x12\r\n\tCANCELLED\x10\x0f\x42y\n(yandex.cloud.api.loadtesting.api.v1.testZMgithub.com/yandex-cloud/go-genproto/yandex/cloud/loadtesting/api/v1/test;testb\x06proto3')
|
|
28
28
|
|
|
29
29
|
_globals = globals()
|
|
30
30
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
@@ -33,5 +33,5 @@ if not _descriptor._USE_C_DESCRIPTORS:
|
|
|
33
33
|
_globals['DESCRIPTOR']._loaded_options = None
|
|
34
34
|
_globals['DESCRIPTOR']._serialized_options = b'\n(yandex.cloud.api.loadtesting.api.v1.testZMgithub.com/yandex-cloud/go-genproto/yandex/cloud/loadtesting/api/v1/test;test'
|
|
35
35
|
_globals['_STATUS']._serialized_start=92
|
|
36
|
-
_globals['_STATUS']._serialized_end=
|
|
36
|
+
_globals['_STATUS']._serialized_end=334
|
|
37
37
|
# @@protoc_insertion_point(module_scope)
|
|
@@ -43,7 +43,7 @@ class _StatusEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTyp
|
|
|
43
43
|
STOPPING: _Status.ValueType # 9
|
|
44
44
|
"""Test is being stopped."""
|
|
45
45
|
STOPPED: _Status.ValueType # 10
|
|
46
|
-
"""Test has been stopped."""
|
|
46
|
+
"""Test has been stopped by user."""
|
|
47
47
|
AUTOSTOPPED: _Status.ValueType # 11
|
|
48
48
|
"""Test has been stopped automatically by satisfying autostop condition."""
|
|
49
49
|
WAITING: _Status.ValueType # 12
|
|
@@ -56,6 +56,8 @@ class _StatusEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTyp
|
|
|
56
56
|
Means that either an agent is too busy to send it, got offline, or failed without
|
|
57
57
|
reporting a final status.
|
|
58
58
|
"""
|
|
59
|
+
CANCELLED: _Status.ValueType # 15
|
|
60
|
+
"""Test has been cancelled."""
|
|
59
61
|
|
|
60
62
|
class Status(_Status, metaclass=_StatusEnumTypeWrapper): ...
|
|
61
63
|
|
|
@@ -80,7 +82,7 @@ FAILED: Status.ValueType # 8
|
|
|
80
82
|
STOPPING: Status.ValueType # 9
|
|
81
83
|
"""Test is being stopped."""
|
|
82
84
|
STOPPED: Status.ValueType # 10
|
|
83
|
-
"""Test has been stopped."""
|
|
85
|
+
"""Test has been stopped by user."""
|
|
84
86
|
AUTOSTOPPED: Status.ValueType # 11
|
|
85
87
|
"""Test has been stopped automatically by satisfying autostop condition."""
|
|
86
88
|
WAITING: Status.ValueType # 12
|
|
@@ -93,4 +95,6 @@ LOST: Status.ValueType # 14
|
|
|
93
95
|
Means that either an agent is too busy to send it, got offline, or failed without
|
|
94
96
|
reporting a final status.
|
|
95
97
|
"""
|
|
98
|
+
CANCELLED: Status.ValueType # 15
|
|
99
|
+
"""Test has been cancelled."""
|
|
96
100
|
global___Status = Status
|
|
@@ -24,10 +24,11 @@ _sym_db = _symbol_database.Default()
|
|
|
24
24
|
|
|
25
25
|
from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2
|
|
26
26
|
from yandex.cloud.marketplace.licensemanager.v1 import instance_pb2 as yandex_dot_cloud_dot_marketplace_dot_licensemanager_dot_v1_dot_instance__pb2
|
|
27
|
+
from yandex.cloud.marketplace.licensemanager.v1 import user_info_pb2 as yandex_dot_cloud_dot_marketplace_dot_licensemanager_dot_v1_dot_user__info__pb2
|
|
27
28
|
from yandex.cloud import validation_pb2 as yandex_dot_cloud_dot_validation__pb2
|
|
28
29
|
|
|
29
30
|
|
|
30
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\nFyandex/cloud/marketplace/licensemanager/saas/v1/instance_service.proto\x12/yandex.cloud.marketplace.licensemanager.saas.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x39yandex/cloud/marketplace/licensemanager/v1/instance.proto\x1a\x1dyandex/cloud/validation.proto\"/\n\x12GetInstanceRequest\x12\x19\n\x0binstance_id\x18\x01 \x01(\tB\x04\xe8\xc7\x31\x01\
|
|
31
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\nFyandex/cloud/marketplace/licensemanager/saas/v1/instance_service.proto\x12/yandex.cloud.marketplace.licensemanager.saas.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x39yandex/cloud/marketplace/licensemanager/v1/instance.proto\x1a:yandex/cloud/marketplace/licensemanager/v1/user_info.proto\x1a\x1dyandex/cloud/validation.proto\"/\n\x12GetInstanceRequest\x12\x19\n\x0binstance_id\x18\x01 \x01(\tB\x04\xe8\xc7\x31\x01\"/\n\x12GetUserInfoRequest\x12\x19\n\x0binstance_id\x18\x01 \x01(\tB\x04\xe8\xc7\x31\x01\x32\xb5\x03\n\x0fInstanceService\x12\xc6\x01\n\x03Get\x12\x43.yandex.cloud.marketplace.licensemanager.saas.v1.GetInstanceRequest\x1a\x34.yandex.cloud.marketplace.licensemanager.v1.Instance\"D\x82\xd3\xe4\x93\x02>\x12</marketplace/license-manager/saas/v1/instances/{instance_id}\x12\xd8\x01\n\x0bGetUserInfo\x12\x43.yandex.cloud.marketplace.licensemanager.saas.v1.GetUserInfoRequest\x1a\x34.yandex.cloud.marketplace.licensemanager.v1.UserInfo\"N\x82\xd3\xe4\x93\x02H\x12\x46/marketplace/license-manager/saas/v1/instances/{instance_id}/user_infoB\x99\x01\n3yandex.cloud.api.marketplace.licensemanager.saas.v1Zbgithub.com/yandex-cloud/go-genproto/yandex/cloud/marketplace/licensemanager/saas/v1;licensemanagerb\x06proto3')
|
|
31
32
|
|
|
32
33
|
_globals = globals()
|
|
33
34
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
@@ -37,10 +38,16 @@ if not _descriptor._USE_C_DESCRIPTORS:
|
|
|
37
38
|
_globals['DESCRIPTOR']._serialized_options = b'\n3yandex.cloud.api.marketplace.licensemanager.saas.v1Zbgithub.com/yandex-cloud/go-genproto/yandex/cloud/marketplace/licensemanager/saas/v1;licensemanager'
|
|
38
39
|
_globals['_GETINSTANCEREQUEST'].fields_by_name['instance_id']._loaded_options = None
|
|
39
40
|
_globals['_GETINSTANCEREQUEST'].fields_by_name['instance_id']._serialized_options = b'\350\3071\001'
|
|
41
|
+
_globals['_GETUSERINFOREQUEST'].fields_by_name['instance_id']._loaded_options = None
|
|
42
|
+
_globals['_GETUSERINFOREQUEST'].fields_by_name['instance_id']._serialized_options = b'\350\3071\001'
|
|
40
43
|
_globals['_INSTANCESERVICE'].methods_by_name['Get']._loaded_options = None
|
|
41
44
|
_globals['_INSTANCESERVICE'].methods_by_name['Get']._serialized_options = b'\202\323\344\223\002>\022</marketplace/license-manager/saas/v1/instances/{instance_id}'
|
|
42
|
-
_globals['
|
|
43
|
-
_globals['
|
|
44
|
-
_globals['
|
|
45
|
-
_globals['
|
|
45
|
+
_globals['_INSTANCESERVICE'].methods_by_name['GetUserInfo']._loaded_options = None
|
|
46
|
+
_globals['_INSTANCESERVICE'].methods_by_name['GetUserInfo']._serialized_options = b'\202\323\344\223\002H\022F/marketplace/license-manager/saas/v1/instances/{instance_id}/user_info'
|
|
47
|
+
_globals['_GETINSTANCEREQUEST']._serialized_start=303
|
|
48
|
+
_globals['_GETINSTANCEREQUEST']._serialized_end=350
|
|
49
|
+
_globals['_GETUSERINFOREQUEST']._serialized_start=352
|
|
50
|
+
_globals['_GETUSERINFOREQUEST']._serialized_end=399
|
|
51
|
+
_globals['_INSTANCESERVICE']._serialized_start=402
|
|
52
|
+
_globals['_INSTANCESERVICE']._serialized_end=839
|
|
46
53
|
# @@protoc_insertion_point(module_scope)
|
|
@@ -25,3 +25,19 @@ class GetInstanceRequest(google.protobuf.message.Message):
|
|
|
25
25
|
def ClearField(self, field_name: typing.Literal["instance_id", b"instance_id"]) -> None: ...
|
|
26
26
|
|
|
27
27
|
global___GetInstanceRequest = GetInstanceRequest
|
|
28
|
+
|
|
29
|
+
@typing.final
|
|
30
|
+
class GetUserInfoRequest(google.protobuf.message.Message):
|
|
31
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
32
|
+
|
|
33
|
+
INSTANCE_ID_FIELD_NUMBER: builtins.int
|
|
34
|
+
instance_id: builtins.str
|
|
35
|
+
"""ID of the subscription instance."""
|
|
36
|
+
def __init__(
|
|
37
|
+
self,
|
|
38
|
+
*,
|
|
39
|
+
instance_id: builtins.str = ...,
|
|
40
|
+
) -> None: ...
|
|
41
|
+
def ClearField(self, field_name: typing.Literal["instance_id", b"instance_id"]) -> None: ...
|
|
42
|
+
|
|
43
|
+
global___GetUserInfoRequest = GetUserInfoRequest
|
|
@@ -5,6 +5,7 @@ import warnings
|
|
|
5
5
|
|
|
6
6
|
from yandex.cloud.marketplace.licensemanager.saas.v1 import instance_service_pb2 as yandex_dot_cloud_dot_marketplace_dot_licensemanager_dot_saas_dot_v1_dot_instance__service__pb2
|
|
7
7
|
from yandex.cloud.marketplace.licensemanager.v1 import instance_pb2 as yandex_dot_cloud_dot_marketplace_dot_licensemanager_dot_v1_dot_instance__pb2
|
|
8
|
+
from yandex.cloud.marketplace.licensemanager.v1 import user_info_pb2 as yandex_dot_cloud_dot_marketplace_dot_licensemanager_dot_v1_dot_user__info__pb2
|
|
8
9
|
|
|
9
10
|
GRPC_GENERATED_VERSION = '1.70.0'
|
|
10
11
|
GRPC_VERSION = grpc.__version__
|
|
@@ -41,6 +42,11 @@ class InstanceServiceStub(object):
|
|
|
41
42
|
request_serializer=yandex_dot_cloud_dot_marketplace_dot_licensemanager_dot_saas_dot_v1_dot_instance__service__pb2.GetInstanceRequest.SerializeToString,
|
|
42
43
|
response_deserializer=yandex_dot_cloud_dot_marketplace_dot_licensemanager_dot_v1_dot_instance__pb2.Instance.FromString,
|
|
43
44
|
_registered_method=True)
|
|
45
|
+
self.GetUserInfo = channel.unary_unary(
|
|
46
|
+
'/yandex.cloud.marketplace.licensemanager.saas.v1.InstanceService/GetUserInfo',
|
|
47
|
+
request_serializer=yandex_dot_cloud_dot_marketplace_dot_licensemanager_dot_saas_dot_v1_dot_instance__service__pb2.GetUserInfoRequest.SerializeToString,
|
|
48
|
+
response_deserializer=yandex_dot_cloud_dot_marketplace_dot_licensemanager_dot_v1_dot_user__info__pb2.UserInfo.FromString,
|
|
49
|
+
_registered_method=True)
|
|
44
50
|
|
|
45
51
|
|
|
46
52
|
class InstanceServiceServicer(object):
|
|
@@ -54,6 +60,13 @@ class InstanceServiceServicer(object):
|
|
|
54
60
|
context.set_details('Method not implemented!')
|
|
55
61
|
raise NotImplementedError('Method not implemented!')
|
|
56
62
|
|
|
63
|
+
def GetUserInfo(self, request, context):
|
|
64
|
+
"""Returns information about legal person (Russia only) who owns this subscription instance.
|
|
65
|
+
"""
|
|
66
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
67
|
+
context.set_details('Method not implemented!')
|
|
68
|
+
raise NotImplementedError('Method not implemented!')
|
|
69
|
+
|
|
57
70
|
|
|
58
71
|
def add_InstanceServiceServicer_to_server(servicer, server):
|
|
59
72
|
rpc_method_handlers = {
|
|
@@ -62,6 +75,11 @@ def add_InstanceServiceServicer_to_server(servicer, server):
|
|
|
62
75
|
request_deserializer=yandex_dot_cloud_dot_marketplace_dot_licensemanager_dot_saas_dot_v1_dot_instance__service__pb2.GetInstanceRequest.FromString,
|
|
63
76
|
response_serializer=yandex_dot_cloud_dot_marketplace_dot_licensemanager_dot_v1_dot_instance__pb2.Instance.SerializeToString,
|
|
64
77
|
),
|
|
78
|
+
'GetUserInfo': grpc.unary_unary_rpc_method_handler(
|
|
79
|
+
servicer.GetUserInfo,
|
|
80
|
+
request_deserializer=yandex_dot_cloud_dot_marketplace_dot_licensemanager_dot_saas_dot_v1_dot_instance__service__pb2.GetUserInfoRequest.FromString,
|
|
81
|
+
response_serializer=yandex_dot_cloud_dot_marketplace_dot_licensemanager_dot_v1_dot_user__info__pb2.UserInfo.SerializeToString,
|
|
82
|
+
),
|
|
65
83
|
}
|
|
66
84
|
generic_handler = grpc.method_handlers_generic_handler(
|
|
67
85
|
'yandex.cloud.marketplace.licensemanager.saas.v1.InstanceService', rpc_method_handlers)
|
|
@@ -100,3 +118,30 @@ class InstanceService(object):
|
|
|
100
118
|
timeout,
|
|
101
119
|
metadata,
|
|
102
120
|
_registered_method=True)
|
|
121
|
+
|
|
122
|
+
@staticmethod
|
|
123
|
+
def GetUserInfo(request,
|
|
124
|
+
target,
|
|
125
|
+
options=(),
|
|
126
|
+
channel_credentials=None,
|
|
127
|
+
call_credentials=None,
|
|
128
|
+
insecure=False,
|
|
129
|
+
compression=None,
|
|
130
|
+
wait_for_ready=None,
|
|
131
|
+
timeout=None,
|
|
132
|
+
metadata=None):
|
|
133
|
+
return grpc.experimental.unary_unary(
|
|
134
|
+
request,
|
|
135
|
+
target,
|
|
136
|
+
'/yandex.cloud.marketplace.licensemanager.saas.v1.InstanceService/GetUserInfo',
|
|
137
|
+
yandex_dot_cloud_dot_marketplace_dot_licensemanager_dot_saas_dot_v1_dot_instance__service__pb2.GetUserInfoRequest.SerializeToString,
|
|
138
|
+
yandex_dot_cloud_dot_marketplace_dot_licensemanager_dot_v1_dot_user__info__pb2.UserInfo.FromString,
|
|
139
|
+
options,
|
|
140
|
+
channel_credentials,
|
|
141
|
+
insecure,
|
|
142
|
+
call_credentials,
|
|
143
|
+
compression,
|
|
144
|
+
wait_for_ready,
|
|
145
|
+
timeout,
|
|
146
|
+
metadata,
|
|
147
|
+
_registered_method=True)
|
|
@@ -10,6 +10,7 @@ import grpc.aio
|
|
|
10
10
|
import typing
|
|
11
11
|
import yandex.cloud.marketplace.licensemanager.saas.v1.instance_service_pb2
|
|
12
12
|
import yandex.cloud.marketplace.licensemanager.v1.instance_pb2
|
|
13
|
+
import yandex.cloud.marketplace.licensemanager.v1.user_info_pb2
|
|
13
14
|
|
|
14
15
|
_T = typing.TypeVar("_T")
|
|
15
16
|
|
|
@@ -28,6 +29,12 @@ class InstanceServiceStub:
|
|
|
28
29
|
]
|
|
29
30
|
"""Returns the specified subscription instance."""
|
|
30
31
|
|
|
32
|
+
GetUserInfo: grpc.UnaryUnaryMultiCallable[
|
|
33
|
+
yandex.cloud.marketplace.licensemanager.saas.v1.instance_service_pb2.GetUserInfoRequest,
|
|
34
|
+
yandex.cloud.marketplace.licensemanager.v1.user_info_pb2.UserInfo,
|
|
35
|
+
]
|
|
36
|
+
"""Returns information about legal person (Russia only) who owns this subscription instance."""
|
|
37
|
+
|
|
31
38
|
class InstanceServiceAsyncStub:
|
|
32
39
|
"""A set of methods for managing subscription instances."""
|
|
33
40
|
|
|
@@ -37,6 +44,12 @@ class InstanceServiceAsyncStub:
|
|
|
37
44
|
]
|
|
38
45
|
"""Returns the specified subscription instance."""
|
|
39
46
|
|
|
47
|
+
GetUserInfo: grpc.aio.UnaryUnaryMultiCallable[
|
|
48
|
+
yandex.cloud.marketplace.licensemanager.saas.v1.instance_service_pb2.GetUserInfoRequest,
|
|
49
|
+
yandex.cloud.marketplace.licensemanager.v1.user_info_pb2.UserInfo,
|
|
50
|
+
]
|
|
51
|
+
"""Returns information about legal person (Russia only) who owns this subscription instance."""
|
|
52
|
+
|
|
40
53
|
class InstanceServiceServicer(metaclass=abc.ABCMeta):
|
|
41
54
|
"""A set of methods for managing subscription instances."""
|
|
42
55
|
|
|
@@ -48,4 +61,12 @@ class InstanceServiceServicer(metaclass=abc.ABCMeta):
|
|
|
48
61
|
) -> typing.Union[yandex.cloud.marketplace.licensemanager.v1.instance_pb2.Instance, collections.abc.Awaitable[yandex.cloud.marketplace.licensemanager.v1.instance_pb2.Instance]]:
|
|
49
62
|
"""Returns the specified subscription instance."""
|
|
50
63
|
|
|
64
|
+
@abc.abstractmethod
|
|
65
|
+
def GetUserInfo(
|
|
66
|
+
self,
|
|
67
|
+
request: yandex.cloud.marketplace.licensemanager.saas.v1.instance_service_pb2.GetUserInfoRequest,
|
|
68
|
+
context: _ServicerContext,
|
|
69
|
+
) -> typing.Union[yandex.cloud.marketplace.licensemanager.v1.user_info_pb2.UserInfo, collections.abc.Awaitable[yandex.cloud.marketplace.licensemanager.v1.user_info_pb2.UserInfo]]:
|
|
70
|
+
"""Returns information about legal person (Russia only) who owns this subscription instance."""
|
|
71
|
+
|
|
51
72
|
def add_InstanceServiceServicer_to_server(servicer: InstanceServiceServicer, server: typing.Union[grpc.Server, grpc.aio.Server]) -> None: ...
|