yandexcloud 0.294.0__py3-none-any.whl → 0.296.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/foundation_models/v1/image_generation/image_generation_pb2.py +5 -3
- yandex/cloud/ai/foundation_models/v1/image_generation/image_generation_pb2.pyi +28 -1
- yandex/cloud/backup/v1/resource_pb2.py +16 -14
- yandex/cloud/backup/v1/resource_pb2.pyi +38 -1
- yandex/cloud/billing/v1/customer_service_pb2.pyi +1 -1
- yandex/cloud/billing/v1/sku_service_pb2.pyi +1 -0
- yandex/cloud/compute/v1/instance_pb2.pyi +1 -3
- yandex/cloud/compute/v1/instance_service_pb2.py +26 -26
- yandex/cloud/compute/v1/instance_service_pb2.pyi +5 -1
- yandex/cloud/datasphere/v2/jobs/jobs_pb2.py +40 -32
- yandex/cloud/datasphere/v2/jobs/jobs_pb2.pyi +78 -1
- yandex/cloud/datasphere/v2/jobs/project_job_service_pb2.py +56 -54
- yandex/cloud/datasphere/v2/jobs/project_job_service_pb2.pyi +21 -6
- yandex/cloud/datasphere/v2/project_service_pb2.py +34 -30
- yandex/cloud/datasphere/v2/project_service_pb2.pyi +13 -3
- yandex/cloud/iam/v1/api_key_service_pb2.py +13 -3
- yandex/cloud/iam/v1/api_key_service_pb2.pyi +53 -0
- yandex/cloud/iam/v1/api_key_service_pb2_grpc.py +34 -0
- yandex/cloud/iam/v1/api_key_service_pb2_grpc.pyi +20 -0
- yandex/cloud/iot/devices/v1/registry_pb2.py +13 -13
- yandex/cloud/iot/devices/v1/registry_pb2.pyi +4 -0
- yandex/cloud/iot/devices/v1/registry_service_pb2.py +23 -3
- yandex/cloud/iot/devices/v1/registry_service_pb2.pyi +64 -0
- yandex/cloud/iot/devices/v1/registry_service_pb2_grpc.py +68 -0
- yandex/cloud/iot/devices/v1/registry_service_pb2_grpc.pyi +40 -0
- yandex/cloud/mdb/greenplum/v1/pxf_pb2.pyi +226 -52
- yandex/cloud/mdb/kafka/v1/cluster_pb2.py +42 -35
- yandex/cloud/mdb/kafka/v1/cluster_pb2.pyi +32 -2
- yandex/cloud/mdb/mongodb/v1/cluster_service_pb2.pyi +13 -7
- yandex/cloud/mdb/postgresql/v1/user_pb2.pyi +33 -16
- yandex/cloud/organizationmanager/v1/os_login_service_pb2.py +20 -20
- yandex/cloud/organizationmanager/v1/os_login_service_pb2.pyi +2 -2
- yandex/cloud/serverless/functions/v1/function_pb2.py +30 -28
- yandex/cloud/serverless/functions/v1/function_pb2.pyi +5 -1
- yandex/cloud/serverless/functions/v1/function_service_pb2.py +38 -36
- yandex/cloud/serverless/functions/v1/function_service_pb2.pyi +5 -1
- yandex/cloud/smartcaptcha/__init__.py +0 -0
- yandex/cloud/smartcaptcha/v1/__init__.py +0 -0
- yandex/cloud/smartcaptcha/v1/captcha_pb2.py +100 -0
- yandex/cloud/smartcaptcha/v1/captcha_pb2.pyi +500 -0
- yandex/cloud/smartcaptcha/v1/captcha_pb2_grpc.py +4 -0
- yandex/cloud/smartcaptcha/v1/captcha_pb2_grpc.pyi +17 -0
- yandex/cloud/smartcaptcha/v1/captcha_service_pb2.py +76 -0
- yandex/cloud/smartcaptcha/v1/captcha_service_pb2.pyi +268 -0
- yandex/cloud/smartcaptcha/v1/captcha_service_pb2_grpc.py +242 -0
- yandex/cloud/smartcaptcha/v1/captcha_service_pb2_grpc.pyi +152 -0
- yandex/cloud/smartwebsecurity/__init__.py +0 -0
- yandex/cloud/smartwebsecurity/v1/__init__.py +0 -0
- yandex/cloud/smartwebsecurity/v1/security_profile_pb2.py +110 -0
- yandex/cloud/smartwebsecurity/v1/security_profile_pb2.pyi +520 -0
- yandex/cloud/smartwebsecurity/v1/security_profile_pb2_grpc.py +4 -0
- yandex/cloud/smartwebsecurity/v1/security_profile_pb2_grpc.pyi +17 -0
- yandex/cloud/smartwebsecurity/v1/security_profile_service_pb2.py +78 -0
- yandex/cloud/smartwebsecurity/v1/security_profile_service_pb2.pyi +260 -0
- yandex/cloud/smartwebsecurity/v1/security_profile_service_pb2_grpc.py +208 -0
- yandex/cloud/smartwebsecurity/v1/security_profile_service_pb2_grpc.pyi +132 -0
- yandex/cloud/speechsense/v1/analysis/__init__.py +0 -0
- yandex/cloud/speechsense/v1/analysis/conversation_statistics_pb2.py +28 -0
- yandex/cloud/speechsense/v1/analysis/conversation_statistics_pb2.pyi +40 -0
- yandex/cloud/speechsense/v1/analysis/conversation_statistics_pb2_grpc.py +4 -0
- yandex/cloud/speechsense/v1/analysis/conversation_statistics_pb2_grpc.pyi +17 -0
- yandex/cloud/speechsense/v1/analysis/interrupts_statistics_pb2.py +29 -0
- yandex/cloud/speechsense/v1/analysis/interrupts_statistics_pb2.pyi +66 -0
- yandex/cloud/speechsense/v1/analysis/interrupts_statistics_pb2_grpc.py +4 -0
- yandex/cloud/speechsense/v1/analysis/interrupts_statistics_pb2_grpc.pyi +17 -0
- yandex/cloud/speechsense/v1/analysis/points_pb2.py +29 -0
- yandex/cloud/speechsense/v1/analysis/points_pb2.pyi +53 -0
- yandex/cloud/speechsense/v1/analysis/points_pb2_grpc.py +4 -0
- yandex/cloud/speechsense/v1/analysis/points_pb2_grpc.pyi +17 -0
- yandex/cloud/speechsense/v1/analysis/predefined_classifiers_pb2.py +30 -0
- yandex/cloud/speechsense/v1/analysis/predefined_classifiers_pb2.pyi +93 -0
- yandex/cloud/speechsense/v1/analysis/predefined_classifiers_pb2_grpc.py +4 -0
- yandex/cloud/speechsense/v1/analysis/predefined_classifiers_pb2_grpc.pyi +17 -0
- yandex/cloud/speechsense/v1/analysis/silence_statistics_pb2.py +27 -0
- yandex/cloud/speechsense/v1/analysis/silence_statistics_pb2.pyi +41 -0
- yandex/cloud/speechsense/v1/analysis/silence_statistics_pb2_grpc.py +4 -0
- yandex/cloud/speechsense/v1/analysis/silence_statistics_pb2_grpc.pyi +17 -0
- yandex/cloud/speechsense/v1/analysis/speaker_statistics_pb2.py +28 -0
- yandex/cloud/speechsense/v1/analysis/speaker_statistics_pb2.pyi +58 -0
- yandex/cloud/speechsense/v1/analysis/speaker_statistics_pb2_grpc.py +4 -0
- yandex/cloud/speechsense/v1/analysis/speaker_statistics_pb2_grpc.pyi +17 -0
- yandex/cloud/speechsense/v1/analysis/speech_statistics_pb2.py +27 -0
- yandex/cloud/speechsense/v1/analysis/speech_statistics_pb2.pyi +43 -0
- yandex/cloud/speechsense/v1/analysis/speech_statistics_pb2_grpc.py +4 -0
- yandex/cloud/speechsense/v1/analysis/speech_statistics_pb2_grpc.pyi +17 -0
- yandex/cloud/speechsense/v1/analysis/statistics_common_pb2.py +30 -0
- yandex/cloud/speechsense/v1/analysis/statistics_common_pb2.pyi +91 -0
- yandex/cloud/speechsense/v1/analysis/statistics_common_pb2_grpc.py +4 -0
- yandex/cloud/speechsense/v1/analysis/statistics_common_pb2_grpc.pyi +17 -0
- yandex/cloud/speechsense/v1/analysis/text_classifiers_pb2.py +33 -0
- yandex/cloud/speechsense/v1/analysis/text_classifiers_pb2.pyi +102 -0
- yandex/cloud/speechsense/v1/analysis/text_classifiers_pb2_grpc.py +4 -0
- yandex/cloud/speechsense/v1/analysis/text_classifiers_pb2_grpc.pyi +17 -0
- yandex/cloud/speechsense/v1/analysis/transcription_pb2.py +41 -0
- yandex/cloud/speechsense/v1/analysis/transcription_pb2.pyi +186 -0
- yandex/cloud/speechsense/v1/analysis/transcription_pb2_grpc.py +4 -0
- yandex/cloud/speechsense/v1/analysis/transcription_pb2_grpc.pyi +17 -0
- yandex/cloud/speechsense/v1/analysis/utterance_statistics_pb2.py +27 -0
- yandex/cloud/speechsense/v1/analysis/utterance_statistics_pb2.pyi +70 -0
- yandex/cloud/speechsense/v1/analysis/utterance_statistics_pb2_grpc.py +4 -0
- yandex/cloud/speechsense/v1/analysis/utterance_statistics_pb2_grpc.pyi +17 -0
- yandex/cloud/speechsense/v1/search_pb2.py +51 -0
- yandex/cloud/speechsense/v1/search_pb2.pyi +324 -0
- yandex/cloud/speechsense/v1/search_pb2_grpc.py +4 -0
- yandex/cloud/speechsense/v1/search_pb2_grpc.pyi +17 -0
- yandex/cloud/speechsense/v1/talk_pb2.py +38 -0
- yandex/cloud/speechsense/v1/talk_pb2.pyi +161 -0
- yandex/cloud/speechsense/v1/talk_pb2_grpc.py +4 -0
- yandex/cloud/speechsense/v1/talk_pb2_grpc.pyi +17 -0
- yandex/cloud/speechsense/v1/talk_service_pb2.py +34 -18
- yandex/cloud/speechsense/v1/talk_service_pb2.pyi +143 -0
- yandex/cloud/speechsense/v1/talk_service_pb2_grpc.py +68 -0
- yandex/cloud/speechsense/v1/talk_service_pb2_grpc.pyi +40 -0
- {yandexcloud-0.294.0.dist-info → yandexcloud-0.296.0.dist-info}/METADATA +8 -8
- {yandexcloud-0.294.0.dist-info → yandexcloud-0.296.0.dist-info}/RECORD +119 -46
- {yandexcloud-0.294.0.dist-info → yandexcloud-0.296.0.dist-info}/AUTHORS +0 -0
- {yandexcloud-0.294.0.dist-info → yandexcloud-0.296.0.dist-info}/LICENSE +0 -0
- {yandexcloud-0.294.0.dist-info → yandexcloud-0.296.0.dist-info}/WHEEL +0 -0
- {yandexcloud-0.294.0.dist-info → yandexcloud-0.296.0.dist-info}/top_level.txt +0 -0
|
@@ -20,7 +20,7 @@ from yandex.cloud.operation import operation_pb2 as yandex_dot_cloud_dot_operati
|
|
|
20
20
|
from yandex.cloud import validation_pb2 as yandex_dot_cloud_dot_validation__pb2
|
|
21
21
|
|
|
22
22
|
|
|
23
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n)yandex/cloud/iam/v1/api_key_service.proto\x12\x13yandex.cloud.iam.v1\x1a\x1cgoogle/api/annotations.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a yandex/cloud/api/operation.proto\x1a!yandex/cloud/iam/v1/api_key.proto\x1a&yandex/cloud/operation/operation.proto\x1a\x1dyandex/cloud/validation.proto\"4\n\x10GetApiKeyRequest\x12 \n\napi_key_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\"y\n\x12ListApiKeysRequest\x12$\n\x12service_account_id\x18\x01 \x01(\tB\x08\x8a\xc8\x31\x04<=50\x12\x1d\n\tpage_size\x18\x02 \x01(\x03\x42\n\xfa\xc7\x31\x06\x30-1000\x12\x1e\n\npage_token\x18\x03 \x01(\tB\n\x8a\xc8\x31\x06<=2000\"]\n\x13ListApiKeysResponse\x12-\n\x08\x61pi_keys\x18\x01 \x03(\x0b\x32\x1b.yandex.cloud.iam.v1.ApiKey\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\xa5\x01\n\x13\x43reateApiKeyRequest\x12$\n\x12service_account_id\x18\x01 \x01(\tB\x08\x8a\xc8\x31\x04<=50\x12\x1e\n\x0b\x64\x65scription\x18\x02 \x01(\tB\t\x8a\xc8\x31\x05<=256\x12\x18\n\x05scope\x18\x03 \x01(\tB\t\x8a\xc8\x31\x05<=256\x12.\n\nexpires_at\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"T\n\x14\x43reateApiKeyResponse\x12,\n\x07\x61pi_key\x18\x01 \x01(\x0b\x32\x1b.yandex.cloud.iam.v1.ApiKey\x12\x0e\n\x06secret\x18\x02 \x01(\t\"\x88\x01\n\x13UpdateApiKeyRequest\x12 \n\napi_key_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\x1e\n\x0b\x64\x65scription\x18\x03 \x01(\tB\t\x8a\xc8\x31\x05<=256\"*\n\x14UpdateApiKeyMetadata\x12\x12\n\napi_key_id\x18\x01 \x01(\t\"7\n\x13\x44\x65leteApiKeyRequest\x12 \n\napi_key_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\"*\n\x14\x44\x65leteApiKeyMetadata\x12\x12\n\napi_key_id\x18\x01 \x01(\t\"~\n\x1bListApiKeyOperationsRequest\x12 \n\napi_key_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\x30-1000\x12\x1e\n\npage_token\x18\x03 \x01(\tB\n\x8a\xc8\x31\x06<=2000\"n\n\x1cListApiKeyOperationsResponse\x12\x35\n\noperations\x18\x01 \x03(\x0b\x32!.yandex.cloud.operation.Operation\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\
|
|
23
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n)yandex/cloud/iam/v1/api_key_service.proto\x12\x13yandex.cloud.iam.v1\x1a\x1cgoogle/api/annotations.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a yandex/cloud/api/operation.proto\x1a!yandex/cloud/iam/v1/api_key.proto\x1a&yandex/cloud/operation/operation.proto\x1a\x1dyandex/cloud/validation.proto\"4\n\x10GetApiKeyRequest\x12 \n\napi_key_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\"y\n\x12ListApiKeysRequest\x12$\n\x12service_account_id\x18\x01 \x01(\tB\x08\x8a\xc8\x31\x04<=50\x12\x1d\n\tpage_size\x18\x02 \x01(\x03\x42\n\xfa\xc7\x31\x06\x30-1000\x12\x1e\n\npage_token\x18\x03 \x01(\tB\n\x8a\xc8\x31\x06<=2000\"]\n\x13ListApiKeysResponse\x12-\n\x08\x61pi_keys\x18\x01 \x03(\x0b\x32\x1b.yandex.cloud.iam.v1.ApiKey\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\xa5\x01\n\x13\x43reateApiKeyRequest\x12$\n\x12service_account_id\x18\x01 \x01(\tB\x08\x8a\xc8\x31\x04<=50\x12\x1e\n\x0b\x64\x65scription\x18\x02 \x01(\tB\t\x8a\xc8\x31\x05<=256\x12\x18\n\x05scope\x18\x03 \x01(\tB\t\x8a\xc8\x31\x05<=256\x12.\n\nexpires_at\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"T\n\x14\x43reateApiKeyResponse\x12,\n\x07\x61pi_key\x18\x01 \x01(\x0b\x32\x1b.yandex.cloud.iam.v1.ApiKey\x12\x0e\n\x06secret\x18\x02 \x01(\t\"\x88\x01\n\x13UpdateApiKeyRequest\x12 \n\napi_key_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\x1e\n\x0b\x64\x65scription\x18\x03 \x01(\tB\t\x8a\xc8\x31\x05<=256\"*\n\x14UpdateApiKeyMetadata\x12\x12\n\napi_key_id\x18\x01 \x01(\t\"7\n\x13\x44\x65leteApiKeyRequest\x12 \n\napi_key_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\"*\n\x14\x44\x65leteApiKeyMetadata\x12\x12\n\napi_key_id\x18\x01 \x01(\t\"~\n\x1bListApiKeyOperationsRequest\x12 \n\napi_key_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\x30-1000\x12\x1e\n\npage_token\x18\x03 \x01(\tB\n\x8a\xc8\x31\x06<=2000\"n\n\x1cListApiKeyOperationsResponse\x12\x35\n\noperations\x18\x01 \x03(\x0b\x32!.yandex.cloud.operation.Operation\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"X\n\x17ListApiKeyScopesRequest\x12\x1d\n\tpage_size\x18\x01 \x01(\x03\x42\n\xfa\xc7\x31\x06\x30-1000\x12\x1e\n\npage_token\x18\x02 \x01(\tB\n\x8a\xc8\x31\x06<=2000\"C\n\x18ListApiKeyScopesResponse\x12\x0e\n\x06scopes\x18\x01 \x03(\t\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t2\xf6\x07\n\rApiKeyService\x12r\n\x04List\x12\'.yandex.cloud.iam.v1.ListApiKeysRequest\x1a(.yandex.cloud.iam.v1.ListApiKeysResponse\"\x17\x82\xd3\xe4\x93\x02\x11\x12\x0f/iam/v1/apiKeys\x12o\n\x03Get\x12%.yandex.cloud.iam.v1.GetApiKeyRequest\x1a\x1b.yandex.cloud.iam.v1.ApiKey\"$\x82\xd3\xe4\x93\x02\x1e\x12\x1c/iam/v1/apiKeys/{api_key_id}\x12y\n\x06\x43reate\x12(.yandex.cloud.iam.v1.CreateApiKeyRequest\x1a).yandex.cloud.iam.v1.CreateApiKeyResponse\"\x1a\x82\xd3\xe4\x93\x02\x14\"\x0f/iam/v1/apiKeys:\x01*\x12\xa0\x01\n\x06Update\x12(.yandex.cloud.iam.v1.UpdateApiKeyRequest\x1a!.yandex.cloud.operation.Operation\"I\xb2\xd2*\x1e\n\x14UpdateApiKeyMetadata\x12\x06\x41piKey\x82\xd3\xe4\x93\x02!2\x1c/iam/v1/apiKeys/{api_key_id}:\x01*\x12\xac\x01\n\x06\x44\x65lete\x12(.yandex.cloud.iam.v1.DeleteApiKeyRequest\x1a!.yandex.cloud.operation.Operation\"U\xb2\xd2*-\n\x14\x44\x65leteApiKeyMetadata\x12\x15google.protobuf.Empty\x82\xd3\xe4\x93\x02\x1e*\x1c/iam/v1/apiKeys/{api_key_id}\x12\xa6\x01\n\x0eListOperations\x12\x30.yandex.cloud.iam.v1.ListApiKeyOperationsRequest\x1a\x31.yandex.cloud.iam.v1.ListApiKeyOperationsResponse\"/\x82\xd3\xe4\x93\x02)\x12\'/iam/v1/apiKeys/{api_key_id}/operations\x12\x89\x01\n\nListScopes\x12,.yandex.cloud.iam.v1.ListApiKeyScopesRequest\x1a-.yandex.cloud.iam.v1.ListApiKeyScopesResponse\"\x1e\x82\xd3\xe4\x93\x02\x18\x12\x16/iam/v1/apiKeys/scopesBV\n\x17yandex.cloud.api.iam.v1Z;github.com/yandex-cloud/go-genproto/yandex/cloud/iam/v1;iamb\x06proto3')
|
|
24
24
|
|
|
25
25
|
_globals = globals()
|
|
26
26
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
@@ -54,6 +54,10 @@ if _descriptor._USE_C_DESCRIPTORS == False:
|
|
|
54
54
|
_LISTAPIKEYOPERATIONSREQUEST.fields_by_name['page_size']._serialized_options = b'\372\3071\0060-1000'
|
|
55
55
|
_LISTAPIKEYOPERATIONSREQUEST.fields_by_name['page_token']._options = None
|
|
56
56
|
_LISTAPIKEYOPERATIONSREQUEST.fields_by_name['page_token']._serialized_options = b'\212\3101\006<=2000'
|
|
57
|
+
_LISTAPIKEYSCOPESREQUEST.fields_by_name['page_size']._options = None
|
|
58
|
+
_LISTAPIKEYSCOPESREQUEST.fields_by_name['page_size']._serialized_options = b'\372\3071\0060-1000'
|
|
59
|
+
_LISTAPIKEYSCOPESREQUEST.fields_by_name['page_token']._options = None
|
|
60
|
+
_LISTAPIKEYSCOPESREQUEST.fields_by_name['page_token']._serialized_options = b'\212\3101\006<=2000'
|
|
57
61
|
_APIKEYSERVICE.methods_by_name['List']._options = None
|
|
58
62
|
_APIKEYSERVICE.methods_by_name['List']._serialized_options = b'\202\323\344\223\002\021\022\017/iam/v1/apiKeys'
|
|
59
63
|
_APIKEYSERVICE.methods_by_name['Get']._options = None
|
|
@@ -66,6 +70,8 @@ if _descriptor._USE_C_DESCRIPTORS == False:
|
|
|
66
70
|
_APIKEYSERVICE.methods_by_name['Delete']._serialized_options = b'\262\322*-\n\024DeleteApiKeyMetadata\022\025google.protobuf.Empty\202\323\344\223\002\036*\034/iam/v1/apiKeys/{api_key_id}'
|
|
67
71
|
_APIKEYSERVICE.methods_by_name['ListOperations']._options = None
|
|
68
72
|
_APIKEYSERVICE.methods_by_name['ListOperations']._serialized_options = b'\202\323\344\223\002)\022\'/iam/v1/apiKeys/{api_key_id}/operations'
|
|
73
|
+
_APIKEYSERVICE.methods_by_name['ListScopes']._options = None
|
|
74
|
+
_APIKEYSERVICE.methods_by_name['ListScopes']._serialized_options = b'\202\323\344\223\002\030\022\026/iam/v1/apiKeys/scopes'
|
|
69
75
|
_globals['_GETAPIKEYREQUEST']._serialized_start=303
|
|
70
76
|
_globals['_GETAPIKEYREQUEST']._serialized_end=355
|
|
71
77
|
_globals['_LISTAPIKEYSREQUEST']._serialized_start=357
|
|
@@ -88,6 +94,10 @@ if _descriptor._USE_C_DESCRIPTORS == False:
|
|
|
88
94
|
_globals['_LISTAPIKEYOPERATIONSREQUEST']._serialized_end=1239
|
|
89
95
|
_globals['_LISTAPIKEYOPERATIONSRESPONSE']._serialized_start=1241
|
|
90
96
|
_globals['_LISTAPIKEYOPERATIONSRESPONSE']._serialized_end=1351
|
|
91
|
-
_globals['
|
|
92
|
-
_globals['
|
|
97
|
+
_globals['_LISTAPIKEYSCOPESREQUEST']._serialized_start=1353
|
|
98
|
+
_globals['_LISTAPIKEYSCOPESREQUEST']._serialized_end=1441
|
|
99
|
+
_globals['_LISTAPIKEYSCOPESRESPONSE']._serialized_start=1443
|
|
100
|
+
_globals['_LISTAPIKEYSCOPESRESPONSE']._serialized_end=1510
|
|
101
|
+
_globals['_APIKEYSERVICE']._serialized_start=1513
|
|
102
|
+
_globals['_APIKEYSERVICE']._serialized_end=2527
|
|
93
103
|
# @@protoc_insertion_point(module_scope)
|
|
@@ -291,3 +291,56 @@ class ListApiKeyOperationsResponse(google.protobuf.message.Message):
|
|
|
291
291
|
def ClearField(self, field_name: typing.Literal["next_page_token", b"next_page_token", "operations", b"operations"]) -> None: ...
|
|
292
292
|
|
|
293
293
|
global___ListApiKeyOperationsResponse = ListApiKeyOperationsResponse
|
|
294
|
+
|
|
295
|
+
@typing.final
|
|
296
|
+
class ListApiKeyScopesRequest(google.protobuf.message.Message):
|
|
297
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
298
|
+
|
|
299
|
+
PAGE_SIZE_FIELD_NUMBER: builtins.int
|
|
300
|
+
PAGE_TOKEN_FIELD_NUMBER: builtins.int
|
|
301
|
+
page_size: builtins.int
|
|
302
|
+
"""The maximum number of results per page to return. If the number of available
|
|
303
|
+
results is larger than [page_size],
|
|
304
|
+
the service returns a [ListApiKeyScopesResponse.next_page_token]
|
|
305
|
+
that can be used to get the next page of results in subsequent list requests.
|
|
306
|
+
Default value: 100.
|
|
307
|
+
"""
|
|
308
|
+
page_token: builtins.str
|
|
309
|
+
"""Page token. To get the next page of results, set [page_token] to the
|
|
310
|
+
[ListApiKeyScopesResponse.next_page_token] returned by a previous list request.
|
|
311
|
+
"""
|
|
312
|
+
def __init__(
|
|
313
|
+
self,
|
|
314
|
+
*,
|
|
315
|
+
page_size: builtins.int = ...,
|
|
316
|
+
page_token: builtins.str = ...,
|
|
317
|
+
) -> None: ...
|
|
318
|
+
def ClearField(self, field_name: typing.Literal["page_size", b"page_size", "page_token", b"page_token"]) -> None: ...
|
|
319
|
+
|
|
320
|
+
global___ListApiKeyScopesRequest = ListApiKeyScopesRequest
|
|
321
|
+
|
|
322
|
+
@typing.final
|
|
323
|
+
class ListApiKeyScopesResponse(google.protobuf.message.Message):
|
|
324
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
325
|
+
|
|
326
|
+
SCOPES_FIELD_NUMBER: builtins.int
|
|
327
|
+
NEXT_PAGE_TOKEN_FIELD_NUMBER: builtins.int
|
|
328
|
+
next_page_token: builtins.str
|
|
329
|
+
"""This token allows you to get the next page of results for list requests. If the number of results
|
|
330
|
+
is larger than [ListApiKeyScopesRequest.page_size], use the [next_page_token] as the value
|
|
331
|
+
for the [ListApiKeyScopesRequest.page_token] query parameter in the next list request.
|
|
332
|
+
Each subsequent list request will have its own [next_page_token] to continue paging through the results.
|
|
333
|
+
"""
|
|
334
|
+
@property
|
|
335
|
+
def scopes(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]:
|
|
336
|
+
"""List of scopes"""
|
|
337
|
+
|
|
338
|
+
def __init__(
|
|
339
|
+
self,
|
|
340
|
+
*,
|
|
341
|
+
scopes: collections.abc.Iterable[builtins.str] | None = ...,
|
|
342
|
+
next_page_token: builtins.str = ...,
|
|
343
|
+
) -> None: ...
|
|
344
|
+
def ClearField(self, field_name: typing.Literal["next_page_token", b"next_page_token", "scopes", b"scopes"]) -> None: ...
|
|
345
|
+
|
|
346
|
+
global___ListApiKeyScopesResponse = ListApiKeyScopesResponse
|
|
@@ -47,6 +47,11 @@ class ApiKeyServiceStub(object):
|
|
|
47
47
|
request_serializer=yandex_dot_cloud_dot_iam_dot_v1_dot_api__key__service__pb2.ListApiKeyOperationsRequest.SerializeToString,
|
|
48
48
|
response_deserializer=yandex_dot_cloud_dot_iam_dot_v1_dot_api__key__service__pb2.ListApiKeyOperationsResponse.FromString,
|
|
49
49
|
)
|
|
50
|
+
self.ListScopes = channel.unary_unary(
|
|
51
|
+
'/yandex.cloud.iam.v1.ApiKeyService/ListScopes',
|
|
52
|
+
request_serializer=yandex_dot_cloud_dot_iam_dot_v1_dot_api__key__service__pb2.ListApiKeyScopesRequest.SerializeToString,
|
|
53
|
+
response_deserializer=yandex_dot_cloud_dot_iam_dot_v1_dot_api__key__service__pb2.ListApiKeyScopesResponse.FromString,
|
|
54
|
+
)
|
|
50
55
|
|
|
51
56
|
|
|
52
57
|
class ApiKeyServiceServicer(object):
|
|
@@ -97,6 +102,13 @@ class ApiKeyServiceServicer(object):
|
|
|
97
102
|
context.set_details('Method not implemented!')
|
|
98
103
|
raise NotImplementedError('Method not implemented!')
|
|
99
104
|
|
|
105
|
+
def ListScopes(self, request, context):
|
|
106
|
+
"""Retrieves the list of scopes.
|
|
107
|
+
"""
|
|
108
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
109
|
+
context.set_details('Method not implemented!')
|
|
110
|
+
raise NotImplementedError('Method not implemented!')
|
|
111
|
+
|
|
100
112
|
|
|
101
113
|
def add_ApiKeyServiceServicer_to_server(servicer, server):
|
|
102
114
|
rpc_method_handlers = {
|
|
@@ -130,6 +142,11 @@ def add_ApiKeyServiceServicer_to_server(servicer, server):
|
|
|
130
142
|
request_deserializer=yandex_dot_cloud_dot_iam_dot_v1_dot_api__key__service__pb2.ListApiKeyOperationsRequest.FromString,
|
|
131
143
|
response_serializer=yandex_dot_cloud_dot_iam_dot_v1_dot_api__key__service__pb2.ListApiKeyOperationsResponse.SerializeToString,
|
|
132
144
|
),
|
|
145
|
+
'ListScopes': grpc.unary_unary_rpc_method_handler(
|
|
146
|
+
servicer.ListScopes,
|
|
147
|
+
request_deserializer=yandex_dot_cloud_dot_iam_dot_v1_dot_api__key__service__pb2.ListApiKeyScopesRequest.FromString,
|
|
148
|
+
response_serializer=yandex_dot_cloud_dot_iam_dot_v1_dot_api__key__service__pb2.ListApiKeyScopesResponse.SerializeToString,
|
|
149
|
+
),
|
|
133
150
|
}
|
|
134
151
|
generic_handler = grpc.method_handlers_generic_handler(
|
|
135
152
|
'yandex.cloud.iam.v1.ApiKeyService', rpc_method_handlers)
|
|
@@ -242,3 +259,20 @@ class ApiKeyService(object):
|
|
|
242
259
|
yandex_dot_cloud_dot_iam_dot_v1_dot_api__key__service__pb2.ListApiKeyOperationsResponse.FromString,
|
|
243
260
|
options, channel_credentials,
|
|
244
261
|
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
262
|
+
|
|
263
|
+
@staticmethod
|
|
264
|
+
def ListScopes(request,
|
|
265
|
+
target,
|
|
266
|
+
options=(),
|
|
267
|
+
channel_credentials=None,
|
|
268
|
+
call_credentials=None,
|
|
269
|
+
insecure=False,
|
|
270
|
+
compression=None,
|
|
271
|
+
wait_for_ready=None,
|
|
272
|
+
timeout=None,
|
|
273
|
+
metadata=None):
|
|
274
|
+
return grpc.experimental.unary_unary(request, target, '/yandex.cloud.iam.v1.ApiKeyService/ListScopes',
|
|
275
|
+
yandex_dot_cloud_dot_iam_dot_v1_dot_api__key__service__pb2.ListApiKeyScopesRequest.SerializeToString,
|
|
276
|
+
yandex_dot_cloud_dot_iam_dot_v1_dot_api__key__service__pb2.ListApiKeyScopesResponse.FromString,
|
|
277
|
+
options, channel_credentials,
|
|
278
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
@@ -62,6 +62,12 @@ class ApiKeyServiceStub:
|
|
|
62
62
|
]
|
|
63
63
|
"""Retrieves the list of operations for the specified API key."""
|
|
64
64
|
|
|
65
|
+
ListScopes: grpc.UnaryUnaryMultiCallable[
|
|
66
|
+
yandex.cloud.iam.v1.api_key_service_pb2.ListApiKeyScopesRequest,
|
|
67
|
+
yandex.cloud.iam.v1.api_key_service_pb2.ListApiKeyScopesResponse,
|
|
68
|
+
]
|
|
69
|
+
"""Retrieves the list of scopes."""
|
|
70
|
+
|
|
65
71
|
class ApiKeyServiceAsyncStub:
|
|
66
72
|
"""A set of methods for managing API keys."""
|
|
67
73
|
|
|
@@ -104,6 +110,12 @@ class ApiKeyServiceAsyncStub:
|
|
|
104
110
|
]
|
|
105
111
|
"""Retrieves the list of operations for the specified API key."""
|
|
106
112
|
|
|
113
|
+
ListScopes: grpc.aio.UnaryUnaryMultiCallable[
|
|
114
|
+
yandex.cloud.iam.v1.api_key_service_pb2.ListApiKeyScopesRequest,
|
|
115
|
+
yandex.cloud.iam.v1.api_key_service_pb2.ListApiKeyScopesResponse,
|
|
116
|
+
]
|
|
117
|
+
"""Retrieves the list of scopes."""
|
|
118
|
+
|
|
107
119
|
class ApiKeyServiceServicer(metaclass=abc.ABCMeta):
|
|
108
120
|
"""A set of methods for managing API keys."""
|
|
109
121
|
|
|
@@ -158,4 +170,12 @@ class ApiKeyServiceServicer(metaclass=abc.ABCMeta):
|
|
|
158
170
|
) -> typing.Union[yandex.cloud.iam.v1.api_key_service_pb2.ListApiKeyOperationsResponse, collections.abc.Awaitable[yandex.cloud.iam.v1.api_key_service_pb2.ListApiKeyOperationsResponse]]:
|
|
159
171
|
"""Retrieves the list of operations for the specified API key."""
|
|
160
172
|
|
|
173
|
+
@abc.abstractmethod
|
|
174
|
+
def ListScopes(
|
|
175
|
+
self,
|
|
176
|
+
request: yandex.cloud.iam.v1.api_key_service_pb2.ListApiKeyScopesRequest,
|
|
177
|
+
context: _ServicerContext,
|
|
178
|
+
) -> typing.Union[yandex.cloud.iam.v1.api_key_service_pb2.ListApiKeyScopesResponse, collections.abc.Awaitable[yandex.cloud.iam.v1.api_key_service_pb2.ListApiKeyScopesResponse]]:
|
|
179
|
+
"""Retrieves the list of scopes."""
|
|
180
|
+
|
|
161
181
|
def add_ApiKeyServiceServicer_to_server(servicer: ApiKeyServiceServicer, server: typing.Union[grpc.Server, grpc.aio.Server]) -> None: ...
|
|
@@ -16,7 +16,7 @@ from yandex.cloud.logging.v1 import log_entry_pb2 as yandex_dot_cloud_dot_loggin
|
|
|
16
16
|
from yandex.cloud import validation_pb2 as yandex_dot_cloud_dot_validation__pb2
|
|
17
17
|
|
|
18
18
|
|
|
19
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n*yandex/cloud/iot/devices/v1/registry.proto\x12\x1byandex.cloud.iot.devices.v1\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\'yandex/cloud/logging/v1/log_entry.proto\x1a\x1dyandex/cloud/validation.proto\"\
|
|
19
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n*yandex/cloud/iot/devices/v1/registry.proto\x12\x1byandex.cloud.iot.devices.v1\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\'yandex/cloud/logging/v1/log_entry.proto\x1a\x1dyandex/cloud/validation.proto\"\xd8\x03\n\x08Registry\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\x41\n\x06labels\x18\x06 \x03(\x0b\x32\x31.yandex.cloud.iot.devices.v1.Registry.LabelsEntry\x12<\n\x06status\x18\x07 \x01(\x0e\x32,.yandex.cloud.iot.devices.v1.Registry.Status\x12\x14\n\x0clog_group_id\x18\x08 \x01(\t\x12<\n\x0blog_options\x18\t \x01(\x0b\x32\'.yandex.cloud.iot.devices.v1.LogOptions\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"V\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\x08\x44\x45LETING\x10\x03\x12\x0c\n\x08\x44ISABLED\x10\x04\"\x89\x01\n\x13RegistryCertificate\x12\x13\n\x0bregistry_id\x18\x01 \x01(\t\x12\x13\n\x0b\x66ingerprint\x18\x02 \x01(\t\x12\x18\n\x10\x63\x65rtificate_data\x18\x03 \x01(\t\x12.\n\ncreated_at\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"E\n\x0b\x44\x65viceAlias\x12\x11\n\tdevice_id\x18\x01 \x01(\t\x12\x14\n\x0ctopic_prefix\x18\x02 \x01(\t\x12\r\n\x05\x61lias\x18\x03 \x01(\t\"c\n\x10RegistryPassword\x12\x13\n\x0bregistry_id\x18\x01 \x01(\t\x12\n\n\x02id\x18\x02 \x01(\t\x12.\n\ncreated_at\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"\xca\x01\n\x10\x44\x61taStreamExport\x12\n\n\x02id\x18\x01 \x01(\t\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x13\n\x0bregistry_id\x18\x03 \x01(\t\x12\x19\n\x11mqtt_topic_filter\x18\x04 \x01(\t\x12\x10\n\x08\x64\x61tabase\x18\x05 \x01(\t\x12\x0e\n\x06stream\x18\x06 \x01(\t\x12\x1a\n\x12service_account_id\x18\x07 \x01(\t\x12.\n\ncreated_at\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"\xe0\x01\n\nLogOptions\x12\x10\n\x08\x64isabled\x18\x01 \x01(\x08\x12;\n\x0clog_group_id\x18\x02 \x01(\tB#\xf2\xc7\x31\x1f([a-zA-Z][-a-zA-Z0-9_.]{0,63})?H\x00\x12\x38\n\tfolder_id\x18\x03 \x01(\tB#\xf2\xc7\x31\x1f([a-zA-Z][-a-zA-Z0-9_.]{0,63})?H\x00\x12:\n\tmin_level\x18\x04 \x01(\x0e\x32\'.yandex.cloud.logging.v1.LogLevel.LevelB\r\n\x0b\x64\x65stinationBj\n\x1fyandex.cloud.api.iot.devices.v1ZGgithub.com/yandex-cloud/go-genproto/yandex/cloud/iot/devices/v1;devicesb\x06proto3')
|
|
20
20
|
|
|
21
21
|
_globals = globals()
|
|
22
22
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
@@ -31,19 +31,19 @@ if _descriptor._USE_C_DESCRIPTORS == False:
|
|
|
31
31
|
_LOGOPTIONS.fields_by_name['folder_id']._options = None
|
|
32
32
|
_LOGOPTIONS.fields_by_name['folder_id']._serialized_options = b'\362\3071\037([a-zA-Z][-a-zA-Z0-9_.]{0,63})?'
|
|
33
33
|
_globals['_REGISTRY']._serialized_start=181
|
|
34
|
-
_globals['_REGISTRY']._serialized_end=
|
|
34
|
+
_globals['_REGISTRY']._serialized_end=653
|
|
35
35
|
_globals['_REGISTRY_LABELSENTRY']._serialized_start=520
|
|
36
36
|
_globals['_REGISTRY_LABELSENTRY']._serialized_end=565
|
|
37
37
|
_globals['_REGISTRY_STATUS']._serialized_start=567
|
|
38
|
-
_globals['_REGISTRY_STATUS']._serialized_end=
|
|
39
|
-
_globals['_REGISTRYCERTIFICATE']._serialized_start=
|
|
40
|
-
_globals['_REGISTRYCERTIFICATE']._serialized_end=
|
|
41
|
-
_globals['_DEVICEALIAS']._serialized_start=
|
|
42
|
-
_globals['_DEVICEALIAS']._serialized_end=
|
|
43
|
-
_globals['_REGISTRYPASSWORD']._serialized_start=
|
|
44
|
-
_globals['_REGISTRYPASSWORD']._serialized_end=
|
|
45
|
-
_globals['_DATASTREAMEXPORT']._serialized_start=
|
|
46
|
-
_globals['_DATASTREAMEXPORT']._serialized_end=
|
|
47
|
-
_globals['_LOGOPTIONS']._serialized_start=
|
|
48
|
-
_globals['_LOGOPTIONS']._serialized_end=
|
|
38
|
+
_globals['_REGISTRY_STATUS']._serialized_end=653
|
|
39
|
+
_globals['_REGISTRYCERTIFICATE']._serialized_start=656
|
|
40
|
+
_globals['_REGISTRYCERTIFICATE']._serialized_end=793
|
|
41
|
+
_globals['_DEVICEALIAS']._serialized_start=795
|
|
42
|
+
_globals['_DEVICEALIAS']._serialized_end=864
|
|
43
|
+
_globals['_REGISTRYPASSWORD']._serialized_start=866
|
|
44
|
+
_globals['_REGISTRYPASSWORD']._serialized_end=965
|
|
45
|
+
_globals['_DATASTREAMEXPORT']._serialized_start=968
|
|
46
|
+
_globals['_DATASTREAMEXPORT']._serialized_end=1170
|
|
47
|
+
_globals['_LOGOPTIONS']._serialized_start=1173
|
|
48
|
+
_globals['_LOGOPTIONS']._serialized_end=1397
|
|
49
49
|
# @@protoc_insertion_point(module_scope)
|
|
@@ -40,6 +40,8 @@ class Registry(google.protobuf.message.Message):
|
|
|
40
40
|
"""Registry is ready to use."""
|
|
41
41
|
DELETING: Registry._Status.ValueType # 3
|
|
42
42
|
"""Registry is being deleted."""
|
|
43
|
+
DISABLED: Registry._Status.ValueType # 4
|
|
44
|
+
"""Registry is disabled."""
|
|
43
45
|
|
|
44
46
|
class Status(_Status, metaclass=_StatusEnumTypeWrapper): ...
|
|
45
47
|
STATUS_UNSPECIFIED: Registry.Status.ValueType # 0
|
|
@@ -49,6 +51,8 @@ class Registry(google.protobuf.message.Message):
|
|
|
49
51
|
"""Registry is ready to use."""
|
|
50
52
|
DELETING: Registry.Status.ValueType # 3
|
|
51
53
|
"""Registry is being deleted."""
|
|
54
|
+
DISABLED: Registry.Status.ValueType # 4
|
|
55
|
+
"""Registry is disabled."""
|
|
52
56
|
|
|
53
57
|
@typing.final
|
|
54
58
|
class LabelsEntry(google.protobuf.message.Message):
|
|
@@ -19,7 +19,7 @@ from yandex.cloud.operation import operation_pb2 as yandex_dot_cloud_dot_operati
|
|
|
19
19
|
from yandex.cloud import validation_pb2 as yandex_dot_cloud_dot_validation__pb2
|
|
20
20
|
|
|
21
21
|
|
|
22
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n2yandex/cloud/iot/devices/v1/registry_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/registry.proto\x1a&yandex/cloud/operation/operation.proto\x1a\x1dyandex/cloud/validation.proto\"7\n\x12GetRegistryRequest\x12!\n\x0bregistry_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\"r\n\x18GetByNameRegistryRequest\x12\x1f\n\tfolder_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12\x35\n\rregistry_name\x18\x02 \x01(\tB\x1e\xe8\xc7\x31\x01\xf2\xc7\x31\x0e[a-zA-Z0-9_-]*\x8a\xc8\x31\x04<=50\"v\n\x15ListRegistriesRequest\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\x30-1000\x12\x1d\n\npage_token\x18\x03 \x01(\tB\t\x8a\xc8\x31\x05<=100\"l\n\x16ListRegistriesResponse\x12\x39\n\nregistries\x18\x01 \x03(\x0b\x32%.yandex.cloud.iot.devices.v1.Registry\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\x92\x04\n\x15\x43reateRegistryRequest\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\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\x12\x8b\x01\n\x06labels\x18\x04 \x03(\x0b\x32>.yandex.cloud.iot.devices.v1.CreateRegistryRequest.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\x12T\n\x0c\x63\x65rtificates\x18\x05 \x03(\x0b\x32>.yandex.cloud.iot.devices.v1.CreateRegistryRequest.Certificate\x12\x10\n\x08password\x18\x06 \x01(\t\x12<\n\x0blog_options\x18\x07 \x01(\x0b\x32\'.yandex.cloud.iot.devices.v1.LogOptions\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\x16\x43reateRegistryMetadata\x12\x13\n\x0bregistry_id\x18\x01 \x01(\t\"\xb0\x03\n\x15UpdateRegistryRequest\x12!\n\x0bregistry_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\x12\x8b\x01\n\x06labels\x18\x05 \x03(\x0b\x32>.yandex.cloud.iot.devices.v1.UpdateRegistryRequest.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\x12<\n\x0blog_options\x18\x06 \x01(\x0b\x32\'.yandex.cloud.iot.devices.v1.LogOptions\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"-\n\x16UpdateRegistryMetadata\x12\x13\n\x0bregistry_id\x18\x01 \x01(\t\":\n\x15\x44\x65leteRegistryRequest\x12!\n\x0bregistry_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\"-\n\x16\x44\x65leteRegistryMetadata\x12\x13\n\x0bregistry_id\x18\x01 \x01(\t\"D\n\x1fListRegistryCertificatesRequest\x12!\n\x0bregistry_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\"j\n ListRegistryCertificatesResponse\x12\x46\n\x0c\x63\x65rtificates\x18\x01 \x03(\x0b\x32\x30.yandex.cloud.iot.devices.v1.RegistryCertificate\"b\n\x1d\x41\x64\x64RegistryCertificateRequest\x12!\n\x0bregistry_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\"J\n\x1e\x41\x64\x64RegistryCertificateMetadata\x12\x13\n\x0bregistry_id\x18\x01 \x01(\t\x12\x13\n\x0b\x66ingerprint\x18\x02 \x01(\t\"h\n DeleteRegistryCertificateRequest\x12!\n\x0bregistry_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\"i\n!DeleteRegistryCertificateMetadata\x12!\n\x0bregistry_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\"A\n\x1cListRegistryPasswordsRequest\x12!\n\x0bregistry_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\"a\n\x1dListRegistryPasswordsResponse\x12@\n\tpasswords\x18\x01 \x03(\x0b\x32-.yandex.cloud.iot.devices.v1.RegistryPassword\"[\n\x1a\x41\x64\x64RegistryPasswordRequest\x12!\n\x0bregistry_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\"G\n\x1b\x41\x64\x64RegistryPasswordMetadata\x12\x13\n\x0bregistry_id\x18\x01 \x01(\t\x12\x13\n\x0bpassword_id\x18\x02 \x01(\t\"e\n\x1d\x44\x65leteRegistryPasswordRequest\x12!\n\x0bregistry_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\"f\n\x1e\x44\x65leteRegistryPasswordMetadata\x12!\n\x0bregistry_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\"\x80\x01\n\x1dListDeviceTopicAliasesRequest\x12!\n\x0bregistry_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\x30-1000\x12\x1d\n\npage_token\x18\x03 \x01(\tB\t\x8a\xc8\x31\x05<=100\"t\n\x1eListDeviceTopicAliasesResponse\x12\x39\n\x07\x61liases\x18\x01 \x03(\x0b\x32(.yandex.cloud.iot.devices.v1.DeviceAlias\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\x94\x01\n\x1dListRegistryOperationsRequest\x12\x19\n\x0bregistry_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\"p\n\x1eListRegistryOperationsResponse\x12\x35\n\noperations\x18\x01 \x03(\x0b\x32!.yandex.cloud.operation.Operation\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\x80\x02\n\x1a\x41\x64\x64\x44\x61taStreamExportRequest\x12(\n\x04name\x18\x01 \x01(\tB\x1a\xf2\xc7\x31\x0e[a-zA-Z0-9_-]*\x8a\xc8\x31\x04<=50\x12!\n\x0bregistry_id\x18\x02 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12%\n\x11mqtt_topic_filter\x18\x04 \x01(\tB\n\x8a\xc8\x31\x06<=1024\x12\x1f\n\x08\x64\x61tabase\x18\x05 \x01(\tB\r\xe8\xc7\x31\x01\x8a\xc8\x31\x05<=512\x12\x1d\n\x06stream\x18\x06 \x01(\tB\r\xe8\xc7\x31\x01\x8a\xc8\x31\x05<=512\x12(\n\x12service_account_id\x18\x07 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50J\x04\x08\x03\x10\x04\"Q\n\x1b\x41\x64\x64\x44\x61taStreamExportMetadata\x12\x13\n\x0bregistry_id\x18\x01 \x01(\t\x12\x1d\n\x15\x64\x61ta_stream_export_id\x18\x02 \x01(\t\"o\n\x1d\x44\x65leteDataStreamExportRequest\x12!\n\x0bregistry_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12+\n\x15\x64\x61ta_stream_export_id\x18\x02 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\"`\n\x1e\x44\x65leteDataStreamExportMetadata\x12\x19\n\x0bregistry_id\x18\x01 \x01(\tB\x04\xe8\xc7\x31\x01\x12#\n\x15\x64\x61ta_stream_export_id\x18\x02 \x01(\tB\x04\xe8\xc7\x31\x01\"A\n\x1cListDataStreamExportsRequest\x12!\n\x0bregistry_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\"k\n\x1dListDataStreamExportsResponse\x12J\n\x13\x64\x61ta_stream_exports\x18\x01 \x03(\x0b\x32-.yandex.cloud.iot.devices.v1.DataStreamExport2\xfa\x19\n\x0fRegistryService\x12\x8f\x01\n\x03Get\x12/.yandex.cloud.iot.devices.v1.GetRegistryRequest\x1a%.yandex.cloud.iot.devices.v1.Registry\"0\x82\xd3\xe4\x93\x02*\x12(/iot-devices/v1/registries/{registry_id}\x12\x97\x01\n\tGetByName\x12\x35.yandex.cloud.iot.devices.v1.GetByNameRegistryRequest\x1a%.yandex.cloud.iot.devices.v1.Registry\",\x82\xd3\xe4\x93\x02&\x12$/iot-devices/v1/registries:getByName\x12\x93\x01\n\x04List\x12\x32.yandex.cloud.iot.devices.v1.ListRegistriesRequest\x1a\x33.yandex.cloud.iot.devices.v1.ListRegistriesResponse\"\"\x82\xd3\xe4\x93\x02\x1c\x12\x1a/iot-devices/v1/registries\x12\xac\x01\n\x06\x43reate\x12\x32.yandex.cloud.iot.devices.v1.CreateRegistryRequest\x1a!.yandex.cloud.operation.Operation\"K\xb2\xd2*\"\n\x16\x43reateRegistryMetadata\x12\x08Registry\x82\xd3\xe4\x93\x02\x1f\"\x1a/iot-devices/v1/registries:\x01*\x12\xba\x01\n\x06Update\x12\x32.yandex.cloud.iot.devices.v1.UpdateRegistryRequest\x1a!.yandex.cloud.operation.Operation\"Y\xb2\xd2*\"\n\x16UpdateRegistryMetadata\x12\x08Registry\x82\xd3\xe4\x93\x02-2(/iot-devices/v1/registries/{registry_id}:\x01*\x12\xc4\x01\n\x06\x44\x65lete\x12\x32.yandex.cloud.iot.devices.v1.DeleteRegistryRequest\x1a!.yandex.cloud.operation.Operation\"c\xb2\xd2*/\n\x16\x44\x65leteRegistryMetadata\x12\x15google.protobuf.Empty\x82\xd3\xe4\x93\x02**(/iot-devices/v1/registries/{registry_id}\x12\xce\x01\n\x10ListCertificates\x12<.yandex.cloud.iot.devices.v1.ListRegistryCertificatesRequest\x1a=.yandex.cloud.iot.devices.v1.ListRegistryCertificatesResponse\"=\x82\xd3\xe4\x93\x02\x37\x12\x35/iot-devices/v1/registries/{registry_id}/certificates\x12\xea\x01\n\x0e\x41\x64\x64\x43\x65rtificate\x12:.yandex.cloud.iot.devices.v1.AddRegistryCertificateRequest\x1a!.yandex.cloud.operation.Operation\"y\xb2\xd2*5\n\x1e\x41\x64\x64RegistryCertificateMetadata\x12\x13RegistryCertificate\x82\xd3\xe4\x93\x02:\"5/iot-devices/v1/registries/{registry_id}/certificates:\x01*\x12\x81\x02\n\x11\x44\x65leteCertificate\x12=.yandex.cloud.iot.devices.v1.DeleteRegistryCertificateRequest\x1a!.yandex.cloud.operation.Operation\"\x89\x01\xb2\xd2*:\n!DeleteRegistryCertificateMetadata\x12\x15google.protobuf.Empty\x82\xd3\xe4\x93\x02\x45*C/iot-devices/v1/registries/{registry_id}/certificates/{fingerprint}\x12\xc2\x01\n\rListPasswords\x12\x39.yandex.cloud.iot.devices.v1.ListRegistryPasswordsRequest\x1a:.yandex.cloud.iot.devices.v1.ListRegistryPasswordsResponse\":\x82\xd3\xe4\x93\x02\x34\x12\x32/iot-devices/v1/registries/{registry_id}/passwords\x12\xdb\x01\n\x0b\x41\x64\x64Password\x12\x37.yandex.cloud.iot.devices.v1.AddRegistryPasswordRequest\x1a!.yandex.cloud.operation.Operation\"p\xb2\xd2*/\n\x1b\x41\x64\x64RegistryPasswordMetadata\x12\x10RegistryPassword\x82\xd3\xe4\x93\x02\x37\"2/iot-devices/v1/registries/{registry_id}/passwords:\x01*\x12\xf5\x01\n\x0e\x44\x65letePassword\x12:.yandex.cloud.iot.devices.v1.DeleteRegistryPasswordRequest\x1a!.yandex.cloud.operation.Operation\"\x83\x01\xb2\xd2*7\n\x1e\x44\x65leteRegistryPasswordMetadata\x12\x15google.protobuf.Empty\x82\xd3\xe4\x93\x02\x42*@/iot-devices/v1/registries/{registry_id}/passwords/{password_id}\x12\xda\x01\n\x16ListDeviceTopicAliases\x12:.yandex.cloud.iot.devices.v1.ListDeviceTopicAliasesRequest\x1a;.yandex.cloud.iot.devices.v1.ListDeviceTopicAliasesResponse\"G\x82\xd3\xe4\x93\x02\x41\x12?/iot-devices/v1/registries/{registry_id}:listDeviceTopicAliases\x12\x8e\x01\n\x15ListDataStreamExports\x12\x39.yandex.cloud.iot.devices.v1.ListDataStreamExportsRequest\x1a:.yandex.cloud.iot.devices.v1.ListDataStreamExportsResponse\x12\xa6\x01\n\x13\x41\x64\x64\x44\x61taStreamExport\x12\x37.yandex.cloud.iot.devices.v1.AddDataStreamExportRequest\x1a!.yandex.cloud.operation.Operation\"3\xb2\xd2*/\n\x1b\x41\x64\x64\x44\x61taStreamExportMetadata\x12\x10\x44\x61taStreamExport\x12\xb4\x01\n\x16\x44\x65leteDataStreamExport\x12:.yandex.cloud.iot.devices.v1.DeleteDataStreamExportRequest\x1a!.yandex.cloud.operation.Operation\";\xb2\xd2*7\n\x1e\x44\x65leteDataStreamExportMetadata\x12\x15google.protobuf.Empty\x12\xc6\x01\n\x0eListOperations\x12:.yandex.cloud.iot.devices.v1.ListRegistryOperationsRequest\x1a;.yandex.cloud.iot.devices.v1.ListRegistryOperationsResponse\";\x82\xd3\xe4\x93\x02\x35\x12\x33/iot-devices/v1/registries/{registry_id}/operationsBj\n\x1fyandex.cloud.api.iot.devices.v1ZGgithub.com/yandex-cloud/go-genproto/yandex/cloud/iot/devices/v1;devicesb\x06proto3')
|
|
22
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n2yandex/cloud/iot/devices/v1/registry_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/registry.proto\x1a&yandex/cloud/operation/operation.proto\x1a\x1dyandex/cloud/validation.proto\"7\n\x12GetRegistryRequest\x12!\n\x0bregistry_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\"r\n\x18GetByNameRegistryRequest\x12\x1f\n\tfolder_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12\x35\n\rregistry_name\x18\x02 \x01(\tB\x1e\xe8\xc7\x31\x01\xf2\xc7\x31\x0e[a-zA-Z0-9_-]*\x8a\xc8\x31\x04<=50\"v\n\x15ListRegistriesRequest\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\x30-1000\x12\x1d\n\npage_token\x18\x03 \x01(\tB\t\x8a\xc8\x31\x05<=100\"l\n\x16ListRegistriesResponse\x12\x39\n\nregistries\x18\x01 \x03(\x0b\x32%.yandex.cloud.iot.devices.v1.Registry\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\x92\x04\n\x15\x43reateRegistryRequest\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\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\x12\x8b\x01\n\x06labels\x18\x04 \x03(\x0b\x32>.yandex.cloud.iot.devices.v1.CreateRegistryRequest.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\x12T\n\x0c\x63\x65rtificates\x18\x05 \x03(\x0b\x32>.yandex.cloud.iot.devices.v1.CreateRegistryRequest.Certificate\x12\x10\n\x08password\x18\x06 \x01(\t\x12<\n\x0blog_options\x18\x07 \x01(\x0b\x32\'.yandex.cloud.iot.devices.v1.LogOptions\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\x16\x43reateRegistryMetadata\x12\x13\n\x0bregistry_id\x18\x01 \x01(\t\"\xb0\x03\n\x15UpdateRegistryRequest\x12!\n\x0bregistry_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\x12\x8b\x01\n\x06labels\x18\x05 \x03(\x0b\x32>.yandex.cloud.iot.devices.v1.UpdateRegistryRequest.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\x12<\n\x0blog_options\x18\x06 \x01(\x0b\x32\'.yandex.cloud.iot.devices.v1.LogOptions\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"-\n\x16UpdateRegistryMetadata\x12\x13\n\x0bregistry_id\x18\x01 \x01(\t\":\n\x15\x44\x65leteRegistryRequest\x12!\n\x0bregistry_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\"-\n\x16\x44\x65leteRegistryMetadata\x12\x13\n\x0bregistry_id\x18\x01 \x01(\t\"D\n\x1fListRegistryCertificatesRequest\x12!\n\x0bregistry_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\"j\n ListRegistryCertificatesResponse\x12\x46\n\x0c\x63\x65rtificates\x18\x01 \x03(\x0b\x32\x30.yandex.cloud.iot.devices.v1.RegistryCertificate\"b\n\x1d\x41\x64\x64RegistryCertificateRequest\x12!\n\x0bregistry_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\"J\n\x1e\x41\x64\x64RegistryCertificateMetadata\x12\x13\n\x0bregistry_id\x18\x01 \x01(\t\x12\x13\n\x0b\x66ingerprint\x18\x02 \x01(\t\"h\n DeleteRegistryCertificateRequest\x12!\n\x0bregistry_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\"i\n!DeleteRegistryCertificateMetadata\x12!\n\x0bregistry_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\"A\n\x1cListRegistryPasswordsRequest\x12!\n\x0bregistry_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\"a\n\x1dListRegistryPasswordsResponse\x12@\n\tpasswords\x18\x01 \x03(\x0b\x32-.yandex.cloud.iot.devices.v1.RegistryPassword\"[\n\x1a\x41\x64\x64RegistryPasswordRequest\x12!\n\x0bregistry_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\"G\n\x1b\x41\x64\x64RegistryPasswordMetadata\x12\x13\n\x0bregistry_id\x18\x01 \x01(\t\x12\x13\n\x0bpassword_id\x18\x02 \x01(\t\"e\n\x1d\x44\x65leteRegistryPasswordRequest\x12!\n\x0bregistry_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\"f\n\x1e\x44\x65leteRegistryPasswordMetadata\x12!\n\x0bregistry_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\"\x80\x01\n\x1dListDeviceTopicAliasesRequest\x12!\n\x0bregistry_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\x30-1000\x12\x1d\n\npage_token\x18\x03 \x01(\tB\t\x8a\xc8\x31\x05<=100\"t\n\x1eListDeviceTopicAliasesResponse\x12\x39\n\x07\x61liases\x18\x01 \x03(\x0b\x32(.yandex.cloud.iot.devices.v1.DeviceAlias\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\x94\x01\n\x1dListRegistryOperationsRequest\x12\x19\n\x0bregistry_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\"p\n\x1eListRegistryOperationsResponse\x12\x35\n\noperations\x18\x01 \x03(\x0b\x32!.yandex.cloud.operation.Operation\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\x80\x02\n\x1a\x41\x64\x64\x44\x61taStreamExportRequest\x12(\n\x04name\x18\x01 \x01(\tB\x1a\xf2\xc7\x31\x0e[a-zA-Z0-9_-]*\x8a\xc8\x31\x04<=50\x12!\n\x0bregistry_id\x18\x02 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12%\n\x11mqtt_topic_filter\x18\x04 \x01(\tB\n\x8a\xc8\x31\x06<=1024\x12\x1f\n\x08\x64\x61tabase\x18\x05 \x01(\tB\r\xe8\xc7\x31\x01\x8a\xc8\x31\x05<=512\x12\x1d\n\x06stream\x18\x06 \x01(\tB\r\xe8\xc7\x31\x01\x8a\xc8\x31\x05<=512\x12(\n\x12service_account_id\x18\x07 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50J\x04\x08\x03\x10\x04\"Q\n\x1b\x41\x64\x64\x44\x61taStreamExportMetadata\x12\x13\n\x0bregistry_id\x18\x01 \x01(\t\x12\x1d\n\x15\x64\x61ta_stream_export_id\x18\x02 \x01(\t\"o\n\x1d\x44\x65leteDataStreamExportRequest\x12!\n\x0bregistry_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12+\n\x15\x64\x61ta_stream_export_id\x18\x02 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\"`\n\x1e\x44\x65leteDataStreamExportMetadata\x12\x19\n\x0bregistry_id\x18\x01 \x01(\tB\x04\xe8\xc7\x31\x01\x12#\n\x15\x64\x61ta_stream_export_id\x18\x02 \x01(\tB\x04\xe8\xc7\x31\x01\"A\n\x1cListDataStreamExportsRequest\x12!\n\x0bregistry_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\"k\n\x1dListDataStreamExportsResponse\x12J\n\x13\x64\x61ta_stream_exports\x18\x01 \x03(\x0b\x32-.yandex.cloud.iot.devices.v1.DataStreamExport\"3\n\x16\x44isableRegistryRequest\x12\x19\n\x0bregistry_id\x18\x01 \x01(\tB\x04\xe8\xc7\x31\x01\"4\n\x17\x44isableRegistryMetadata\x12\x19\n\x0bregistry_id\x18\x01 \x01(\tB\x04\xe8\xc7\x31\x01\"2\n\x15\x45nableRegistryRequest\x12\x19\n\x0bregistry_id\x18\x01 \x01(\tB\x04\xe8\xc7\x31\x01\"3\n\x16\x45nableRegistryMetadata\x12\x19\n\x0bregistry_id\x18\x01 \x01(\tB\x04\xe8\xc7\x31\x01\x32\x80\x1d\n\x0fRegistryService\x12\x8f\x01\n\x03Get\x12/.yandex.cloud.iot.devices.v1.GetRegistryRequest\x1a%.yandex.cloud.iot.devices.v1.Registry\"0\x82\xd3\xe4\x93\x02*\x12(/iot-devices/v1/registries/{registry_id}\x12\x97\x01\n\tGetByName\x12\x35.yandex.cloud.iot.devices.v1.GetByNameRegistryRequest\x1a%.yandex.cloud.iot.devices.v1.Registry\",\x82\xd3\xe4\x93\x02&\x12$/iot-devices/v1/registries:getByName\x12\x93\x01\n\x04List\x12\x32.yandex.cloud.iot.devices.v1.ListRegistriesRequest\x1a\x33.yandex.cloud.iot.devices.v1.ListRegistriesResponse\"\"\x82\xd3\xe4\x93\x02\x1c\x12\x1a/iot-devices/v1/registries\x12\xac\x01\n\x06\x43reate\x12\x32.yandex.cloud.iot.devices.v1.CreateRegistryRequest\x1a!.yandex.cloud.operation.Operation\"K\xb2\xd2*\"\n\x16\x43reateRegistryMetadata\x12\x08Registry\x82\xd3\xe4\x93\x02\x1f\"\x1a/iot-devices/v1/registries:\x01*\x12\xba\x01\n\x06Update\x12\x32.yandex.cloud.iot.devices.v1.UpdateRegistryRequest\x1a!.yandex.cloud.operation.Operation\"Y\xb2\xd2*\"\n\x16UpdateRegistryMetadata\x12\x08Registry\x82\xd3\xe4\x93\x02-2(/iot-devices/v1/registries/{registry_id}:\x01*\x12\xc4\x01\n\x06\x44\x65lete\x12\x32.yandex.cloud.iot.devices.v1.DeleteRegistryRequest\x1a!.yandex.cloud.operation.Operation\"c\xb2\xd2*/\n\x16\x44\x65leteRegistryMetadata\x12\x15google.protobuf.Empty\x82\xd3\xe4\x93\x02**(/iot-devices/v1/registries/{registry_id}\x12\xce\x01\n\x10ListCertificates\x12<.yandex.cloud.iot.devices.v1.ListRegistryCertificatesRequest\x1a=.yandex.cloud.iot.devices.v1.ListRegistryCertificatesResponse\"=\x82\xd3\xe4\x93\x02\x37\x12\x35/iot-devices/v1/registries/{registry_id}/certificates\x12\xea\x01\n\x0e\x41\x64\x64\x43\x65rtificate\x12:.yandex.cloud.iot.devices.v1.AddRegistryCertificateRequest\x1a!.yandex.cloud.operation.Operation\"y\xb2\xd2*5\n\x1e\x41\x64\x64RegistryCertificateMetadata\x12\x13RegistryCertificate\x82\xd3\xe4\x93\x02:\"5/iot-devices/v1/registries/{registry_id}/certificates:\x01*\x12\x81\x02\n\x11\x44\x65leteCertificate\x12=.yandex.cloud.iot.devices.v1.DeleteRegistryCertificateRequest\x1a!.yandex.cloud.operation.Operation\"\x89\x01\xb2\xd2*:\n!DeleteRegistryCertificateMetadata\x12\x15google.protobuf.Empty\x82\xd3\xe4\x93\x02\x45*C/iot-devices/v1/registries/{registry_id}/certificates/{fingerprint}\x12\xc2\x01\n\rListPasswords\x12\x39.yandex.cloud.iot.devices.v1.ListRegistryPasswordsRequest\x1a:.yandex.cloud.iot.devices.v1.ListRegistryPasswordsResponse\":\x82\xd3\xe4\x93\x02\x34\x12\x32/iot-devices/v1/registries/{registry_id}/passwords\x12\xdb\x01\n\x0b\x41\x64\x64Password\x12\x37.yandex.cloud.iot.devices.v1.AddRegistryPasswordRequest\x1a!.yandex.cloud.operation.Operation\"p\xb2\xd2*/\n\x1b\x41\x64\x64RegistryPasswordMetadata\x12\x10RegistryPassword\x82\xd3\xe4\x93\x02\x37\"2/iot-devices/v1/registries/{registry_id}/passwords:\x01*\x12\xf5\x01\n\x0e\x44\x65letePassword\x12:.yandex.cloud.iot.devices.v1.DeleteRegistryPasswordRequest\x1a!.yandex.cloud.operation.Operation\"\x83\x01\xb2\xd2*7\n\x1e\x44\x65leteRegistryPasswordMetadata\x12\x15google.protobuf.Empty\x82\xd3\xe4\x93\x02\x42*@/iot-devices/v1/registries/{registry_id}/passwords/{password_id}\x12\xda\x01\n\x16ListDeviceTopicAliases\x12:.yandex.cloud.iot.devices.v1.ListDeviceTopicAliasesRequest\x1a;.yandex.cloud.iot.devices.v1.ListDeviceTopicAliasesResponse\"G\x82\xd3\xe4\x93\x02\x41\x12?/iot-devices/v1/registries/{registry_id}:listDeviceTopicAliases\x12\x8e\x01\n\x15ListDataStreamExports\x12\x39.yandex.cloud.iot.devices.v1.ListDataStreamExportsRequest\x1a:.yandex.cloud.iot.devices.v1.ListDataStreamExportsResponse\x12\xa6\x01\n\x13\x41\x64\x64\x44\x61taStreamExport\x12\x37.yandex.cloud.iot.devices.v1.AddDataStreamExportRequest\x1a!.yandex.cloud.operation.Operation\"3\xb2\xd2*/\n\x1b\x41\x64\x64\x44\x61taStreamExportMetadata\x12\x10\x44\x61taStreamExport\x12\xb4\x01\n\x16\x44\x65leteDataStreamExport\x12:.yandex.cloud.iot.devices.v1.DeleteDataStreamExportRequest\x1a!.yandex.cloud.operation.Operation\";\xb2\xd2*7\n\x1e\x44\x65leteDataStreamExportMetadata\x12\x15google.protobuf.Empty\x12\xc6\x01\n\x0eListOperations\x12:.yandex.cloud.iot.devices.v1.ListRegistryOperationsRequest\x1a;.yandex.cloud.iot.devices.v1.ListRegistryOperationsResponse\";\x82\xd3\xe4\x93\x02\x35\x12\x33/iot-devices/v1/registries/{registry_id}/operations\x12\xc2\x01\n\x07\x44isable\x12\x33.yandex.cloud.iot.devices.v1.DisableRegistryRequest\x1a!.yandex.cloud.operation.Operation\"_\xb2\xd2*#\n\x17\x44isableRegistryMetadata\x12\x08Registry\x82\xd3\xe4\x93\x02\x32\"0/iot-devices/v1/registries/{registry_id}:disable\x12\xbe\x01\n\x06\x45nable\x12\x32.yandex.cloud.iot.devices.v1.EnableRegistryRequest\x1a!.yandex.cloud.operation.Operation\"]\xb2\xd2*\"\n\x16\x45nableRegistryMetadata\x12\x08Registry\x82\xd3\xe4\x93\x02\x31\"//iot-devices/v1/registries/{registry_id}:enableBj\n\x1fyandex.cloud.api.iot.devices.v1ZGgithub.com/yandex-cloud/go-genproto/yandex/cloud/iot/devices/v1;devicesb\x06proto3')
|
|
23
23
|
|
|
24
24
|
_globals = globals()
|
|
25
25
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
@@ -123,6 +123,14 @@ if _descriptor._USE_C_DESCRIPTORS == False:
|
|
|
123
123
|
_DELETEDATASTREAMEXPORTMETADATA.fields_by_name['data_stream_export_id']._serialized_options = b'\350\3071\001'
|
|
124
124
|
_LISTDATASTREAMEXPORTSREQUEST.fields_by_name['registry_id']._options = None
|
|
125
125
|
_LISTDATASTREAMEXPORTSREQUEST.fields_by_name['registry_id']._serialized_options = b'\350\3071\001\212\3101\004<=50'
|
|
126
|
+
_DISABLEREGISTRYREQUEST.fields_by_name['registry_id']._options = None
|
|
127
|
+
_DISABLEREGISTRYREQUEST.fields_by_name['registry_id']._serialized_options = b'\350\3071\001'
|
|
128
|
+
_DISABLEREGISTRYMETADATA.fields_by_name['registry_id']._options = None
|
|
129
|
+
_DISABLEREGISTRYMETADATA.fields_by_name['registry_id']._serialized_options = b'\350\3071\001'
|
|
130
|
+
_ENABLEREGISTRYREQUEST.fields_by_name['registry_id']._options = None
|
|
131
|
+
_ENABLEREGISTRYREQUEST.fields_by_name['registry_id']._serialized_options = b'\350\3071\001'
|
|
132
|
+
_ENABLEREGISTRYMETADATA.fields_by_name['registry_id']._options = None
|
|
133
|
+
_ENABLEREGISTRYMETADATA.fields_by_name['registry_id']._serialized_options = b'\350\3071\001'
|
|
126
134
|
_REGISTRYSERVICE.methods_by_name['Get']._options = None
|
|
127
135
|
_REGISTRYSERVICE.methods_by_name['Get']._serialized_options = b'\202\323\344\223\002*\022(/iot-devices/v1/registries/{registry_id}'
|
|
128
136
|
_REGISTRYSERVICE.methods_by_name['GetByName']._options = None
|
|
@@ -155,6 +163,10 @@ if _descriptor._USE_C_DESCRIPTORS == False:
|
|
|
155
163
|
_REGISTRYSERVICE.methods_by_name['DeleteDataStreamExport']._serialized_options = b'\262\322*7\n\036DeleteDataStreamExportMetadata\022\025google.protobuf.Empty'
|
|
156
164
|
_REGISTRYSERVICE.methods_by_name['ListOperations']._options = None
|
|
157
165
|
_REGISTRYSERVICE.methods_by_name['ListOperations']._serialized_options = b'\202\323\344\223\0025\0223/iot-devices/v1/registries/{registry_id}/operations'
|
|
166
|
+
_REGISTRYSERVICE.methods_by_name['Disable']._options = None
|
|
167
|
+
_REGISTRYSERVICE.methods_by_name['Disable']._serialized_options = b'\262\322*#\n\027DisableRegistryMetadata\022\010Registry\202\323\344\223\0022\"0/iot-devices/v1/registries/{registry_id}:disable'
|
|
168
|
+
_REGISTRYSERVICE.methods_by_name['Enable']._options = None
|
|
169
|
+
_REGISTRYSERVICE.methods_by_name['Enable']._serialized_options = b'\262\322*\"\n\026EnableRegistryMetadata\022\010Registry\202\323\344\223\0021\"//iot-devices/v1/registries/{registry_id}:enable'
|
|
158
170
|
_globals['_GETREGISTRYREQUEST']._serialized_start=296
|
|
159
171
|
_globals['_GETREGISTRYREQUEST']._serialized_end=351
|
|
160
172
|
_globals['_GETBYNAMEREGISTRYREQUEST']._serialized_start=353
|
|
@@ -225,6 +237,14 @@ if _descriptor._USE_C_DESCRIPTORS == False:
|
|
|
225
237
|
_globals['_LISTDATASTREAMEXPORTSREQUEST']._serialized_end=4106
|
|
226
238
|
_globals['_LISTDATASTREAMEXPORTSRESPONSE']._serialized_start=4108
|
|
227
239
|
_globals['_LISTDATASTREAMEXPORTSRESPONSE']._serialized_end=4215
|
|
228
|
-
_globals['
|
|
229
|
-
_globals['
|
|
240
|
+
_globals['_DISABLEREGISTRYREQUEST']._serialized_start=4217
|
|
241
|
+
_globals['_DISABLEREGISTRYREQUEST']._serialized_end=4268
|
|
242
|
+
_globals['_DISABLEREGISTRYMETADATA']._serialized_start=4270
|
|
243
|
+
_globals['_DISABLEREGISTRYMETADATA']._serialized_end=4322
|
|
244
|
+
_globals['_ENABLEREGISTRYREQUEST']._serialized_start=4324
|
|
245
|
+
_globals['_ENABLEREGISTRYREQUEST']._serialized_end=4374
|
|
246
|
+
_globals['_ENABLEREGISTRYMETADATA']._serialized_start=4376
|
|
247
|
+
_globals['_ENABLEREGISTRYMETADATA']._serialized_end=4427
|
|
248
|
+
_globals['_REGISTRYSERVICE']._serialized_start=4430
|
|
249
|
+
_globals['_REGISTRYSERVICE']._serialized_end=8142
|
|
230
250
|
# @@protoc_insertion_point(module_scope)
|
|
@@ -847,3 +847,67 @@ class ListDataStreamExportsResponse(google.protobuf.message.Message):
|
|
|
847
847
|
def ClearField(self, field_name: typing.Literal["data_stream_exports", b"data_stream_exports"]) -> None: ...
|
|
848
848
|
|
|
849
849
|
global___ListDataStreamExportsResponse = ListDataStreamExportsResponse
|
|
850
|
+
|
|
851
|
+
@typing.final
|
|
852
|
+
class DisableRegistryRequest(google.protobuf.message.Message):
|
|
853
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
854
|
+
|
|
855
|
+
REGISTRY_ID_FIELD_NUMBER: builtins.int
|
|
856
|
+
registry_id: builtins.str
|
|
857
|
+
"""ID of the registry to disable."""
|
|
858
|
+
def __init__(
|
|
859
|
+
self,
|
|
860
|
+
*,
|
|
861
|
+
registry_id: builtins.str = ...,
|
|
862
|
+
) -> None: ...
|
|
863
|
+
def ClearField(self, field_name: typing.Literal["registry_id", b"registry_id"]) -> None: ...
|
|
864
|
+
|
|
865
|
+
global___DisableRegistryRequest = DisableRegistryRequest
|
|
866
|
+
|
|
867
|
+
@typing.final
|
|
868
|
+
class DisableRegistryMetadata(google.protobuf.message.Message):
|
|
869
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
870
|
+
|
|
871
|
+
REGISTRY_ID_FIELD_NUMBER: builtins.int
|
|
872
|
+
registry_id: builtins.str
|
|
873
|
+
"""ID of the registry that was disabled."""
|
|
874
|
+
def __init__(
|
|
875
|
+
self,
|
|
876
|
+
*,
|
|
877
|
+
registry_id: builtins.str = ...,
|
|
878
|
+
) -> None: ...
|
|
879
|
+
def ClearField(self, field_name: typing.Literal["registry_id", b"registry_id"]) -> None: ...
|
|
880
|
+
|
|
881
|
+
global___DisableRegistryMetadata = DisableRegistryMetadata
|
|
882
|
+
|
|
883
|
+
@typing.final
|
|
884
|
+
class EnableRegistryRequest(google.protobuf.message.Message):
|
|
885
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
886
|
+
|
|
887
|
+
REGISTRY_ID_FIELD_NUMBER: builtins.int
|
|
888
|
+
registry_id: builtins.str
|
|
889
|
+
"""ID of the registry to enable."""
|
|
890
|
+
def __init__(
|
|
891
|
+
self,
|
|
892
|
+
*,
|
|
893
|
+
registry_id: builtins.str = ...,
|
|
894
|
+
) -> None: ...
|
|
895
|
+
def ClearField(self, field_name: typing.Literal["registry_id", b"registry_id"]) -> None: ...
|
|
896
|
+
|
|
897
|
+
global___EnableRegistryRequest = EnableRegistryRequest
|
|
898
|
+
|
|
899
|
+
@typing.final
|
|
900
|
+
class EnableRegistryMetadata(google.protobuf.message.Message):
|
|
901
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
902
|
+
|
|
903
|
+
REGISTRY_ID_FIELD_NUMBER: builtins.int
|
|
904
|
+
registry_id: builtins.str
|
|
905
|
+
"""ID of the registry that was enabled."""
|
|
906
|
+
def __init__(
|
|
907
|
+
self,
|
|
908
|
+
*,
|
|
909
|
+
registry_id: builtins.str = ...,
|
|
910
|
+
) -> None: ...
|
|
911
|
+
def ClearField(self, field_name: typing.Literal["registry_id", b"registry_id"]) -> None: ...
|
|
912
|
+
|
|
913
|
+
global___EnableRegistryMetadata = EnableRegistryMetadata
|
|
@@ -102,6 +102,16 @@ class RegistryServiceStub(object):
|
|
|
102
102
|
request_serializer=yandex_dot_cloud_dot_iot_dot_devices_dot_v1_dot_registry__service__pb2.ListRegistryOperationsRequest.SerializeToString,
|
|
103
103
|
response_deserializer=yandex_dot_cloud_dot_iot_dot_devices_dot_v1_dot_registry__service__pb2.ListRegistryOperationsResponse.FromString,
|
|
104
104
|
)
|
|
105
|
+
self.Disable = channel.unary_unary(
|
|
106
|
+
'/yandex.cloud.iot.devices.v1.RegistryService/Disable',
|
|
107
|
+
request_serializer=yandex_dot_cloud_dot_iot_dot_devices_dot_v1_dot_registry__service__pb2.DisableRegistryRequest.SerializeToString,
|
|
108
|
+
response_deserializer=yandex_dot_cloud_dot_operation_dot_operation__pb2.Operation.FromString,
|
|
109
|
+
)
|
|
110
|
+
self.Enable = channel.unary_unary(
|
|
111
|
+
'/yandex.cloud.iot.devices.v1.RegistryService/Enable',
|
|
112
|
+
request_serializer=yandex_dot_cloud_dot_iot_dot_devices_dot_v1_dot_registry__service__pb2.EnableRegistryRequest.SerializeToString,
|
|
113
|
+
response_deserializer=yandex_dot_cloud_dot_operation_dot_operation__pb2.Operation.FromString,
|
|
114
|
+
)
|
|
105
115
|
|
|
106
116
|
|
|
107
117
|
class RegistryServiceServicer(object):
|
|
@@ -228,6 +238,20 @@ class RegistryServiceServicer(object):
|
|
|
228
238
|
context.set_details('Method not implemented!')
|
|
229
239
|
raise NotImplementedError('Method not implemented!')
|
|
230
240
|
|
|
241
|
+
def Disable(self, request, context):
|
|
242
|
+
"""Disables the specified registry.
|
|
243
|
+
"""
|
|
244
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
245
|
+
context.set_details('Method not implemented!')
|
|
246
|
+
raise NotImplementedError('Method not implemented!')
|
|
247
|
+
|
|
248
|
+
def Enable(self, request, context):
|
|
249
|
+
"""Enables the specified registry.
|
|
250
|
+
"""
|
|
251
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
252
|
+
context.set_details('Method not implemented!')
|
|
253
|
+
raise NotImplementedError('Method not implemented!')
|
|
254
|
+
|
|
231
255
|
|
|
232
256
|
def add_RegistryServiceServicer_to_server(servicer, server):
|
|
233
257
|
rpc_method_handlers = {
|
|
@@ -316,6 +340,16 @@ def add_RegistryServiceServicer_to_server(servicer, server):
|
|
|
316
340
|
request_deserializer=yandex_dot_cloud_dot_iot_dot_devices_dot_v1_dot_registry__service__pb2.ListRegistryOperationsRequest.FromString,
|
|
317
341
|
response_serializer=yandex_dot_cloud_dot_iot_dot_devices_dot_v1_dot_registry__service__pb2.ListRegistryOperationsResponse.SerializeToString,
|
|
318
342
|
),
|
|
343
|
+
'Disable': grpc.unary_unary_rpc_method_handler(
|
|
344
|
+
servicer.Disable,
|
|
345
|
+
request_deserializer=yandex_dot_cloud_dot_iot_dot_devices_dot_v1_dot_registry__service__pb2.DisableRegistryRequest.FromString,
|
|
346
|
+
response_serializer=yandex_dot_cloud_dot_operation_dot_operation__pb2.Operation.SerializeToString,
|
|
347
|
+
),
|
|
348
|
+
'Enable': grpc.unary_unary_rpc_method_handler(
|
|
349
|
+
servicer.Enable,
|
|
350
|
+
request_deserializer=yandex_dot_cloud_dot_iot_dot_devices_dot_v1_dot_registry__service__pb2.EnableRegistryRequest.FromString,
|
|
351
|
+
response_serializer=yandex_dot_cloud_dot_operation_dot_operation__pb2.Operation.SerializeToString,
|
|
352
|
+
),
|
|
319
353
|
}
|
|
320
354
|
generic_handler = grpc.method_handlers_generic_handler(
|
|
321
355
|
'yandex.cloud.iot.devices.v1.RegistryService', rpc_method_handlers)
|
|
@@ -615,3 +649,37 @@ class RegistryService(object):
|
|
|
615
649
|
yandex_dot_cloud_dot_iot_dot_devices_dot_v1_dot_registry__service__pb2.ListRegistryOperationsResponse.FromString,
|
|
616
650
|
options, channel_credentials,
|
|
617
651
|
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
652
|
+
|
|
653
|
+
@staticmethod
|
|
654
|
+
def Disable(request,
|
|
655
|
+
target,
|
|
656
|
+
options=(),
|
|
657
|
+
channel_credentials=None,
|
|
658
|
+
call_credentials=None,
|
|
659
|
+
insecure=False,
|
|
660
|
+
compression=None,
|
|
661
|
+
wait_for_ready=None,
|
|
662
|
+
timeout=None,
|
|
663
|
+
metadata=None):
|
|
664
|
+
return grpc.experimental.unary_unary(request, target, '/yandex.cloud.iot.devices.v1.RegistryService/Disable',
|
|
665
|
+
yandex_dot_cloud_dot_iot_dot_devices_dot_v1_dot_registry__service__pb2.DisableRegistryRequest.SerializeToString,
|
|
666
|
+
yandex_dot_cloud_dot_operation_dot_operation__pb2.Operation.FromString,
|
|
667
|
+
options, channel_credentials,
|
|
668
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
669
|
+
|
|
670
|
+
@staticmethod
|
|
671
|
+
def Enable(request,
|
|
672
|
+
target,
|
|
673
|
+
options=(),
|
|
674
|
+
channel_credentials=None,
|
|
675
|
+
call_credentials=None,
|
|
676
|
+
insecure=False,
|
|
677
|
+
compression=None,
|
|
678
|
+
wait_for_ready=None,
|
|
679
|
+
timeout=None,
|
|
680
|
+
metadata=None):
|
|
681
|
+
return grpc.experimental.unary_unary(request, target, '/yandex.cloud.iot.devices.v1.RegistryService/Enable',
|
|
682
|
+
yandex_dot_cloud_dot_iot_dot_devices_dot_v1_dot_registry__service__pb2.EnableRegistryRequest.SerializeToString,
|
|
683
|
+
yandex_dot_cloud_dot_operation_dot_operation__pb2.Operation.FromString,
|
|
684
|
+
options, channel_credentials,
|
|
685
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
@@ -127,6 +127,18 @@ class RegistryServiceStub:
|
|
|
127
127
|
]
|
|
128
128
|
"""Lists operations for the specified registry."""
|
|
129
129
|
|
|
130
|
+
Disable: grpc.UnaryUnaryMultiCallable[
|
|
131
|
+
yandex.cloud.iot.devices.v1.registry_service_pb2.DisableRegistryRequest,
|
|
132
|
+
yandex.cloud.operation.operation_pb2.Operation,
|
|
133
|
+
]
|
|
134
|
+
"""Disables the specified registry."""
|
|
135
|
+
|
|
136
|
+
Enable: grpc.UnaryUnaryMultiCallable[
|
|
137
|
+
yandex.cloud.iot.devices.v1.registry_service_pb2.EnableRegistryRequest,
|
|
138
|
+
yandex.cloud.operation.operation_pb2.Operation,
|
|
139
|
+
]
|
|
140
|
+
"""Enables the specified registry."""
|
|
141
|
+
|
|
130
142
|
class RegistryServiceAsyncStub:
|
|
131
143
|
"""A set of methods for managing registry."""
|
|
132
144
|
|
|
@@ -234,6 +246,18 @@ class RegistryServiceAsyncStub:
|
|
|
234
246
|
]
|
|
235
247
|
"""Lists operations for the specified registry."""
|
|
236
248
|
|
|
249
|
+
Disable: grpc.aio.UnaryUnaryMultiCallable[
|
|
250
|
+
yandex.cloud.iot.devices.v1.registry_service_pb2.DisableRegistryRequest,
|
|
251
|
+
yandex.cloud.operation.operation_pb2.Operation,
|
|
252
|
+
]
|
|
253
|
+
"""Disables the specified registry."""
|
|
254
|
+
|
|
255
|
+
Enable: grpc.aio.UnaryUnaryMultiCallable[
|
|
256
|
+
yandex.cloud.iot.devices.v1.registry_service_pb2.EnableRegistryRequest,
|
|
257
|
+
yandex.cloud.operation.operation_pb2.Operation,
|
|
258
|
+
]
|
|
259
|
+
"""Enables the specified registry."""
|
|
260
|
+
|
|
237
261
|
class RegistryServiceServicer(metaclass=abc.ABCMeta):
|
|
238
262
|
"""A set of methods for managing registry."""
|
|
239
263
|
|
|
@@ -375,4 +399,20 @@ class RegistryServiceServicer(metaclass=abc.ABCMeta):
|
|
|
375
399
|
) -> typing.Union[yandex.cloud.iot.devices.v1.registry_service_pb2.ListRegistryOperationsResponse, collections.abc.Awaitable[yandex.cloud.iot.devices.v1.registry_service_pb2.ListRegistryOperationsResponse]]:
|
|
376
400
|
"""Lists operations for the specified registry."""
|
|
377
401
|
|
|
402
|
+
@abc.abstractmethod
|
|
403
|
+
def Disable(
|
|
404
|
+
self,
|
|
405
|
+
request: yandex.cloud.iot.devices.v1.registry_service_pb2.DisableRegistryRequest,
|
|
406
|
+
context: _ServicerContext,
|
|
407
|
+
) -> typing.Union[yandex.cloud.operation.operation_pb2.Operation, collections.abc.Awaitable[yandex.cloud.operation.operation_pb2.Operation]]:
|
|
408
|
+
"""Disables the specified registry."""
|
|
409
|
+
|
|
410
|
+
@abc.abstractmethod
|
|
411
|
+
def Enable(
|
|
412
|
+
self,
|
|
413
|
+
request: yandex.cloud.iot.devices.v1.registry_service_pb2.EnableRegistryRequest,
|
|
414
|
+
context: _ServicerContext,
|
|
415
|
+
) -> typing.Union[yandex.cloud.operation.operation_pb2.Operation, collections.abc.Awaitable[yandex.cloud.operation.operation_pb2.Operation]]:
|
|
416
|
+
"""Enables the specified registry."""
|
|
417
|
+
|
|
378
418
|
def add_RegistryServiceServicer_to_server(servicer: RegistryServiceServicer, server: typing.Union[grpc.Server, grpc.aio.Server]) -> None: ...
|