yandexcloud 0.360.0__py3-none-any.whl → 0.361.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/airflow/v1/cluster_pb2.py +32 -28
- yandex/cloud/airflow/v1/cluster_pb2.pyi +31 -2
- yandex/cloud/airflow/v1/cluster_service_pb2.py +26 -26
- yandex/cloud/airflow/v1/cluster_service_pb2.pyi +8 -2
- yandex/cloud/audittrails/v1/trail_pb2.py +47 -43
- yandex/cloud/audittrails/v1/trail_pb2.pyi +23 -3
- yandex/cloud/cloudregistry/v1/registry_pb2.pyi +1 -1
- yandex/cloud/cloudrouter/v1/routing_instance_service_pb2.py +29 -21
- yandex/cloud/cloudrouter/v1/routing_instance_service_pb2.pyi +60 -0
- yandex/cloud/cloudrouter/v1/routing_instance_service_pb2_grpc.py +45 -0
- yandex/cloud/cloudrouter/v1/routing_instance_service_pb2_grpc.pyi +26 -0
- yandex/cloud/connectionmanager/v1/mongodb_pb2.py +14 -14
- yandex/cloud/connectionmanager/v1/mongodb_pb2.pyi +4 -1
- yandex/cloud/mdb/clickhouse/v1/cluster_pb2.py +15 -15
- yandex/cloud/mdb/clickhouse/v1/cluster_pb2.pyi +16 -0
- yandex/cloud/searchapi/v2/img_search_service_pb2.py +8 -6
- yandex/cloud/searchapi/v2/img_search_service_pb2.pyi +0 -1
- yandex/cloud/speechsense/v1/analysis/assistants_pb2.py +41 -0
- yandex/cloud/speechsense/v1/analysis/assistants_pb2.pyi +83 -0
- yandex/cloud/speechsense/v1/analysis/assistants_pb2_grpc.py +24 -0
- yandex/cloud/speechsense/v1/analysis/assistants_pb2_grpc.pyi +17 -0
- yandex/cloud/speechsense/v1/assistant_pb2.py +48 -0
- yandex/cloud/speechsense/v1/assistant_pb2.pyi +178 -0
- yandex/cloud/speechsense/v1/assistant_pb2_grpc.py +24 -0
- yandex/cloud/speechsense/v1/assistant_pb2_grpc.pyi +17 -0
- yandex/cloud/speechsense/v1/assistants_service_pb2.py +51 -0
- yandex/cloud/speechsense/v1/assistants_service_pb2.pyi +76 -0
- yandex/cloud/speechsense/v1/assistants_service_pb2_grpc.py +142 -0
- yandex/cloud/speechsense/v1/assistants_service_pb2_grpc.pyi +64 -0
- yandex/cloud/speechsense/v1/talk_pb2.py +16 -15
- yandex/cloud/speechsense/v1/talk_pb2.pyi +9 -2
- yandexcloud/__init__.py +1 -1
- {yandexcloud-0.360.0.dist-info → yandexcloud-0.361.0.dist-info}/METADATA +1 -1
- {yandexcloud-0.360.0.dist-info → yandexcloud-0.361.0.dist-info}/RECORD +38 -26
- {yandexcloud-0.360.0.dist-info → yandexcloud-0.361.0.dist-info}/AUTHORS +0 -0
- {yandexcloud-0.360.0.dist-info → yandexcloud-0.361.0.dist-info}/LICENSE +0 -0
- {yandexcloud-0.360.0.dist-info → yandexcloud-0.361.0.dist-info}/WHEEL +0 -0
- {yandexcloud-0.360.0.dist-info → yandexcloud-0.361.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.cloudrouter.v1 import routing_instance_pb2 as yandex_dot_cloud_dot_cloudrouter_dot_v1_dot_routing__instance__pb2
|
|
31
31
|
|
|
32
32
|
|
|
33
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n:yandex/cloud/cloudrouter/v1/routing_instance_service.proto\x12\x1byandex.cloud.cloudrouter.v1\x1a\x1cgoogle/api/annotations.proto\x1a google/protobuf/field_mask.proto\x1a\x1dyandex/cloud/validation.proto\x1a yandex/cloud/api/operation.proto\x1a&yandex/cloud/operation/operation.proto\x1a\x32yandex/cloud/cloudrouter/v1/routing_instance.proto\"F\n\x19GetRoutingInstanceRequest\x12)\n\x13routing_instance_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\"d\n1GetRoutingInstanceByCicPrivateConnectionIdRequest\x12/\n\x19\x63ic_private_connection_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\"O\n\'GetRoutingInstanceByVpcNetworkIdRequest\x12$\n\x0evpc_network_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\"\x98\x01\n\x1bListRoutingInstancesRequest\x12\x1f\n\tfolder_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12\x1d\n\tpage_size\x18\x02 \x01(\x03\x42\n\xfa\xc7\x31\x06<=1000\x12\x1d\n\npage_token\x18\x03 \x01(\tB\t\x8a\xc8\x31\x05<=100\x12\x1a\n\x06\x66ilter\x18\x04 \x01(\tB\n\x8a\xc8\x31\x06<=1000\"\x80\x01\n\x1cListRoutingInstancesResponse\x12G\n\x11routing_instances\x18\x01 \x03(\x0b\x32,.yandex.cloud.cloudrouter.v1.RoutingInstance\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\xeb\x03\n\x1c\x43reateRoutingInstanceRequest\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x11\n\tfolder_id\x18\x04 \x01(\t\x12\x11\n\tregion_id\x18\x05 \x01(\t\x12\x46\n\x08vpc_info\x18\x06 \x03(\x0b\x32\x34.yandex.cloud.cloudrouter.v1.RoutingInstance.VpcInfo\x12j\n\x1b\x63ic_private_connection_info\x18\x07 \x03(\x0b\x32\x45.yandex.cloud.cloudrouter.v1.RoutingInstance.CicPrivateConnectionInfo\x12\x92\x01\n\x06labels\x18\x0c \x03(\x0b\x32\x45.yandex.cloud.cloudrouter.v1.CreateRoutingInstanceRequest.LabelsEntryB;\xf2\xc7\x31\x0b[-_0-9a-z]*\x82\xc8\x31\x04<=64\x8a\xc8\x31\x04<=63\xb2\xc8\x31\x18\x12\x10[a-z][-_0-9a-z]*\x1a\x04\x31-63\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01J\x04\x08\x03\x10\x04J\x04\x08\x08\x10\x0c\"<\n\x1d\x43reateRoutingInstanceMetadata\x12\x1b\n\x13routing_instance_id\x18\x01 \x01(\t\"\xbc\x04\n\x1cUpdateRoutingInstanceRequest\x12)\n\x13routing_instance_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\x0c\n\x04name\x18\x03 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x04 \x01(\t\x12\x11\n\tregion_id\x18\x07 \x01(\t\x12J\n\x08vpc_info\x18\x08 \x03(\x0b\x32\x34.yandex.cloud.cloudrouter.v1.RoutingInstance.VpcInfoB\x02\x18\x01\x12n\n\x1b\x63ic_private_connection_info\x18\t \x03(\x0b\x32\x45.yandex.cloud.cloudrouter.v1.RoutingInstance.CicPrivateConnectionInfoB\x02\x18\x01\x12\x92\x01\n\x06labels\x18\x0e \x03(\x0b\x32\x45.yandex.cloud.cloudrouter.v1.UpdateRoutingInstanceRequest.LabelsEntryB;\xf2\xc7\x31\x0b[-_0-9a-z]*\x82\xc8\x31\x04<=64\x8a\xc8\x31\x04<=63\xb2\xc8\x31\x18\x12\x10[a-z][-_0-9a-z]*\x1a\x04\x31-63\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01J\x04\x08\x05\x10\x07J\x04\x08\n\x10\x0e\"<\n\x1dUpdateRoutingInstanceMetadata\x12\x1b\n\x13routing_instance_id\x18\x01 \x01(\t\"\xae\x01\n\x15UpsertPrefixesRequest\x12)\n\x13routing_instance_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12\x16\n\x0evpc_network_id\x18\x02 \x01(\t\x12L\n\x14vpc_az_info_prefixes\x18\x03 \x03(\x0b\x32..yandex.cloud.cloudrouter.v1.VpcAzInfoPrefixesJ\x04\x08\x04\x10\x07\"\xa8\x01\n\x15RemovePrefixesRequest\x12)\n\x13routing_instance_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12\x16\n\x0evpc_network_id\x18\x02 \x01(\t\x12L\n\x14vpc_az_info_prefixes\x18\x03 \x03(\x0b\x32..yandex.cloud.cloudrouter.v1.VpcAzInfoPrefixes\":\n\x11VpcAzInfoPrefixes\x12\r\n\x05\x61z_id\x18\x01 \x01(\t\x12\x10\n\x08prefixes\x18\x02 \x03(\tJ\x04\x08\x03\x10\x04\"\xac\x01\n\x11MovePrefixRequest\x12)\n\x13routing_instance_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12\x1a\n\x12src_vpc_network_id\x18\x02 \x01(\t\x12\x11\n\tsrc_az_id\x18\x03 \x01(\t\x12\x1a\n\x12\x64st_vpc_network_id\x18\x04 \x01(\t\x12\x11\n\tdst_az_id\x18\x05 \x01(\t\x12\x0e\n\x06prefix\x18\x06 \x01(\t\"\xaa\x01\n\x17UpdatePrefixMaskRequest\x12)\n\x13routing_instance_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12\x16\n\x0evpc_network_id\x18\x02 \x01(\t\x12\r\n\x05\x61z_id\x18\x03 \x01(\t\x12\x0e\n\x06prefix\x18\x04 \x01(\t\x12\x10\n\x08new_mask\x18\x05 \x01(\x03\x12\x1b\n\x13remove_sub_prefixes\x18\x06 \x01(\x08\"q\n\x1b\x41\x64\x64PrivateConnectionRequest\x12)\n\x13routing_instance_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12!\n\x19\x63ic_private_connection_id\x18\x02 \x01(\tJ\x04\x08\x03\x10\t\"n\n\x1eRemovePrivateConnectionRequest\x12)\n\x13routing_instance_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12!\n\x19\x63ic_private_connection_id\x18\x02 \x01(\t\"I\n\x1c\x44\x65leteRoutingInstanceRequest\x12)\n\x13routing_instance_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\"<\n\x1d\x44\x65leteRoutingInstanceMetadata\x12\x1b\n\x13routing_instance_id\x18\x01 \x01(\t\"x\n$ListRoutingInstanceOperationsRequest\x12)\n\x13routing_instance_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12\x11\n\tpage_size\x18\x02 \x01(\x03\x12\x12\n\npage_token\x18\x03 \x01(\t\"w\n%ListRoutingInstanceOperationsResponse\x12\x35\n\noperations\x18\x01 \x03(\x0b\x32!.yandex.cloud.operation.Operation\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t2\x9f\x16\n\x16RoutingInstanceService\x12\xab\x01\n\x03Get\x12\x36.yandex.cloud.cloudrouter.v1.GetRoutingInstanceRequest\x1a,.yandex.cloud.cloudrouter.v1.RoutingInstance\">\x82\xd3\xe4\x93\x02\x38\x12\x36/cloudrouter/v1/routingInstances/{routing_instance_id}\x12\x87\x01\n\x11GetByVpcNetworkId\x12\x44.yandex.cloud.cloudrouter.v1.GetRoutingInstanceByVpcNetworkIdRequest\x1a,.yandex.cloud.cloudrouter.v1.RoutingInstance\x12\x9b\x01\n\x1bGetByCicPrivateConnectionId\x12N.yandex.cloud.cloudrouter.v1.GetRoutingInstanceByCicPrivateConnectionIdRequest\x1a,.yandex.cloud.cloudrouter.v1.RoutingInstance\x12\xa5\x01\n\x04List\x12\x38.yandex.cloud.cloudrouter.v1.ListRoutingInstancesRequest\x1a\x39.yandex.cloud.cloudrouter.v1.ListRoutingInstancesResponse\"(\x82\xd3\xe4\x93\x02\"\x12 /cloudrouter/v1/routingInstances\x12\xc7\x01\n\x06\x43reate\x12\x39.yandex.cloud.cloudrouter.v1.CreateRoutingInstanceRequest\x1a!.yandex.cloud.operation.Operation\"_\xb2\xd2*0\n\x1d\x43reateRoutingInstanceMetadata\x12\x0fRoutingInstance\x82\xd3\xe4\x93\x02%\" /cloudrouter/v1/routingInstances:\x01*\x12\xc7\x01\n\x06Update\x12\x39.yandex.cloud.cloudrouter.v1.UpdateRoutingInstanceRequest\x1a!.yandex.cloud.operation.Operation\"_\xb2\xd2*0\n\x1dUpdateRoutingInstanceMetadata\x12\x0fRoutingInstance\x82\xd3\xe4\x93\x02%2 /cloudrouter/v1/routingInstances:\x01*\x12\xee\x01\n\x0eUpsertPrefixes\x12\x32.yandex.cloud.cloudrouter.v1.UpsertPrefixesRequest\x1a!.yandex.cloud.operation.Operation\"\x84\x01\xb2\xd2*0\n\x1dUpdateRoutingInstanceMetadata\x12\x0fRoutingInstance\x82\xd3\xe4\x93\x02J\"E/cloudrouter/v1/routingInstances/{routing_instance_id}:upsertPrefixes:\x01*\x12\xee\x01\n\x0eRemovePrefixes\x12\x32.yandex.cloud.cloudrouter.v1.RemovePrefixesRequest\x1a!.yandex.cloud.operation.Operation\"\x84\x01\xb2\xd2*0\n\x1dUpdateRoutingInstanceMetadata\x12\x0fRoutingInstance\x82\xd3\xe4\x93\x02J\"E/cloudrouter/v1/routingInstances/{routing_instance_id}:removePrefixes:\x01*\x12\x95\x01\n\nMovePrefix\x12..yandex.cloud.cloudrouter.v1.MovePrefixRequest\x1a!.yandex.cloud.operation.Operation\"4\xb2\xd2*0\n\x1dUpdateRoutingInstanceMetadata\x12\x0fRoutingInstance\x12\xa1\x01\n\x10UpdatePrefixMask\x12\x34.yandex.cloud.cloudrouter.v1.UpdatePrefixMaskRequest\x1a!.yandex.cloud.operation.Operation\"4\xb2\xd2*0\n\x1dUpdateRoutingInstanceMetadata\x12\x0fRoutingInstance\x12\x80\x02\n\x14\x41\x64\x64PrivateConnection\x12\x38.yandex.cloud.cloudrouter.v1.AddPrivateConnectionRequest\x1a!.yandex.cloud.operation.Operation\"\x8a\x01\xb2\xd2*0\n\x1dUpdateRoutingInstanceMetadata\x12\x0fRoutingInstance\x82\xd3\xe4\x93\x02P\"K/cloudrouter/v1/routingInstances/{routing_instance_id}:addPrivateConnection:\x01*\x12\x89\x02\n\x17RemovePrivateConnection\x12;.yandex.cloud.cloudrouter.v1.RemovePrivateConnectionRequest\x1a!.yandex.cloud.operation.Operation\"\x8d\x01\xb2\xd2*0\n\x1dUpdateRoutingInstanceMetadata\x12\x0fRoutingInstance\x82\xd3\xe4\x93\x02S\"N/cloudrouter/v1/routingInstances/{routing_instance_id}:removePrivateConnection:\x01*\x12\xe0\x01\n\x06\x44\x65lete\x12\x39.yandex.cloud.cloudrouter.v1.DeleteRoutingInstanceRequest\x1a!.yandex.cloud.operation.Operation\"x\xb2\xd2*6\n\x1d\x44\x65leteRoutingInstanceMetadata\x12\x15google.protobuf.Empty\x82\xd3\xe4\x93\x02\x38*6/cloudrouter/v1/routingInstances/{routing_instance_id}\x12\xe2\x01\n\x0eListOperations\x12\x41.yandex.cloud.cloudrouter.v1.ListRoutingInstanceOperationsRequest\x1a\x42.yandex.cloud.cloudrouter.v1.ListRoutingInstanceOperationsResponse\"I\x82\xd3\xe4\x93\x02\x43\x12\x41/cloudrouter/v1/routingInstances/{routing_instance_id}/operationsBn\n\x1fyandex.cloud.api.cloudrouter.v1ZKgithub.com/yandex-cloud/go-genproto/yandex/cloud/cloudrouter/v1;cloudrouterb\x06proto3')
|
|
33
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n:yandex/cloud/cloudrouter/v1/routing_instance_service.proto\x12\x1byandex.cloud.cloudrouter.v1\x1a\x1cgoogle/api/annotations.proto\x1a google/protobuf/field_mask.proto\x1a\x1dyandex/cloud/validation.proto\x1a yandex/cloud/api/operation.proto\x1a&yandex/cloud/operation/operation.proto\x1a\x32yandex/cloud/cloudrouter/v1/routing_instance.proto\"F\n\x19GetRoutingInstanceRequest\x12)\n\x13routing_instance_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\"d\n1GetRoutingInstanceByCicPrivateConnectionIdRequest\x12/\n\x19\x63ic_private_connection_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\"O\n\'GetRoutingInstanceByVpcNetworkIdRequest\x12$\n\x0evpc_network_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\"\x98\x01\n\x1bListRoutingInstancesRequest\x12\x1f\n\tfolder_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12\x1d\n\tpage_size\x18\x02 \x01(\x03\x42\n\xfa\xc7\x31\x06<=1000\x12\x1d\n\npage_token\x18\x03 \x01(\tB\t\x8a\xc8\x31\x05<=100\x12\x1a\n\x06\x66ilter\x18\x04 \x01(\tB\n\x8a\xc8\x31\x06<=1000\"\x80\x01\n\x1cListRoutingInstancesResponse\x12G\n\x11routing_instances\x18\x01 \x03(\x0b\x32,.yandex.cloud.cloudrouter.v1.RoutingInstance\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\xeb\x03\n\x1c\x43reateRoutingInstanceRequest\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x11\n\tfolder_id\x18\x04 \x01(\t\x12\x11\n\tregion_id\x18\x05 \x01(\t\x12\x46\n\x08vpc_info\x18\x06 \x03(\x0b\x32\x34.yandex.cloud.cloudrouter.v1.RoutingInstance.VpcInfo\x12j\n\x1b\x63ic_private_connection_info\x18\x07 \x03(\x0b\x32\x45.yandex.cloud.cloudrouter.v1.RoutingInstance.CicPrivateConnectionInfo\x12\x92\x01\n\x06labels\x18\x0c \x03(\x0b\x32\x45.yandex.cloud.cloudrouter.v1.CreateRoutingInstanceRequest.LabelsEntryB;\xf2\xc7\x31\x0b[-_0-9a-z]*\x82\xc8\x31\x04<=64\x8a\xc8\x31\x04<=63\xb2\xc8\x31\x18\x12\x10[a-z][-_0-9a-z]*\x1a\x04\x31-63\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01J\x04\x08\x03\x10\x04J\x04\x08\x08\x10\x0c\"<\n\x1d\x43reateRoutingInstanceMetadata\x12\x1b\n\x13routing_instance_id\x18\x01 \x01(\t\"\xbc\x04\n\x1cUpdateRoutingInstanceRequest\x12)\n\x13routing_instance_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\x0c\n\x04name\x18\x03 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x04 \x01(\t\x12\x11\n\tregion_id\x18\x07 \x01(\t\x12J\n\x08vpc_info\x18\x08 \x03(\x0b\x32\x34.yandex.cloud.cloudrouter.v1.RoutingInstance.VpcInfoB\x02\x18\x01\x12n\n\x1b\x63ic_private_connection_info\x18\t \x03(\x0b\x32\x45.yandex.cloud.cloudrouter.v1.RoutingInstance.CicPrivateConnectionInfoB\x02\x18\x01\x12\x92\x01\n\x06labels\x18\x0e \x03(\x0b\x32\x45.yandex.cloud.cloudrouter.v1.UpdateRoutingInstanceRequest.LabelsEntryB;\xf2\xc7\x31\x0b[-_0-9a-z]*\x82\xc8\x31\x04<=64\x8a\xc8\x31\x04<=63\xb2\xc8\x31\x18\x12\x10[a-z][-_0-9a-z]*\x1a\x04\x31-63\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01J\x04\x08\x05\x10\x07J\x04\x08\n\x10\x0e\"<\n\x1dUpdateRoutingInstanceMetadata\x12\x1b\n\x13routing_instance_id\x18\x01 \x01(\t\"\xae\x01\n\x15UpsertPrefixesRequest\x12)\n\x13routing_instance_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12\x16\n\x0evpc_network_id\x18\x02 \x01(\t\x12L\n\x14vpc_az_info_prefixes\x18\x03 \x03(\x0b\x32..yandex.cloud.cloudrouter.v1.VpcAzInfoPrefixesJ\x04\x08\x04\x10\x07\"\xa8\x01\n\x15RemovePrefixesRequest\x12)\n\x13routing_instance_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12\x16\n\x0evpc_network_id\x18\x02 \x01(\t\x12L\n\x14vpc_az_info_prefixes\x18\x03 \x03(\x0b\x32..yandex.cloud.cloudrouter.v1.VpcAzInfoPrefixes\"\x80\x02\n\x15UpdateNetworksRequest\x12)\n\x13routing_instance_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12@\n\x12\x61\x64\x64\x65\x64_vpc_networks\x18\x02 \x03(\x0b\x32$.yandex.cloud.cloudrouter.v1.VpcInfo\x12\x42\n\x14updated_vpc_networks\x18\x03 \x03(\x0b\x32$.yandex.cloud.cloudrouter.v1.VpcInfo\x12\x1f\n\x17\x64\x65leted_vpc_network_ids\x18\x04 \x03(\t\x12\x15\n\rstrict_remove\x18\x05 \x01(\x08\"o\n\x07VpcInfo\x12\x16\n\x0evpc_network_id\x18\x01 \x01(\t\x12L\n\x14vpc_az_info_prefixes\x18\x02 \x03(\x0b\x32..yandex.cloud.cloudrouter.v1.VpcAzInfoPrefixes\":\n\x11VpcAzInfoPrefixes\x12\r\n\x05\x61z_id\x18\x01 \x01(\t\x12\x10\n\x08prefixes\x18\x02 \x03(\tJ\x04\x08\x03\x10\x04\"\xac\x01\n\x11MovePrefixRequest\x12)\n\x13routing_instance_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12\x1a\n\x12src_vpc_network_id\x18\x02 \x01(\t\x12\x11\n\tsrc_az_id\x18\x03 \x01(\t\x12\x1a\n\x12\x64st_vpc_network_id\x18\x04 \x01(\t\x12\x11\n\tdst_az_id\x18\x05 \x01(\t\x12\x0e\n\x06prefix\x18\x06 \x01(\t\"\xaa\x01\n\x17UpdatePrefixMaskRequest\x12)\n\x13routing_instance_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12\x16\n\x0evpc_network_id\x18\x02 \x01(\t\x12\r\n\x05\x61z_id\x18\x03 \x01(\t\x12\x0e\n\x06prefix\x18\x04 \x01(\t\x12\x10\n\x08new_mask\x18\x05 \x01(\x03\x12\x1b\n\x13remove_sub_prefixes\x18\x06 \x01(\x08\"q\n\x1b\x41\x64\x64PrivateConnectionRequest\x12)\n\x13routing_instance_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12!\n\x19\x63ic_private_connection_id\x18\x02 \x01(\tJ\x04\x08\x03\x10\t\"n\n\x1eRemovePrivateConnectionRequest\x12)\n\x13routing_instance_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12!\n\x19\x63ic_private_connection_id\x18\x02 \x01(\t\"I\n\x1c\x44\x65leteRoutingInstanceRequest\x12)\n\x13routing_instance_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\"<\n\x1d\x44\x65leteRoutingInstanceMetadata\x12\x1b\n\x13routing_instance_id\x18\x01 \x01(\t\"x\n$ListRoutingInstanceOperationsRequest\x12)\n\x13routing_instance_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12\x11\n\tpage_size\x18\x02 \x01(\x03\x12\x12\n\npage_token\x18\x03 \x01(\t\"w\n%ListRoutingInstanceOperationsResponse\x12\x35\n\noperations\x18\x01 \x03(\x0b\x32!.yandex.cloud.operation.Operation\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t2\xbf\x17\n\x16RoutingInstanceService\x12\xab\x01\n\x03Get\x12\x36.yandex.cloud.cloudrouter.v1.GetRoutingInstanceRequest\x1a,.yandex.cloud.cloudrouter.v1.RoutingInstance\">\x82\xd3\xe4\x93\x02\x38\x12\x36/cloudrouter/v1/routingInstances/{routing_instance_id}\x12\x87\x01\n\x11GetByVpcNetworkId\x12\x44.yandex.cloud.cloudrouter.v1.GetRoutingInstanceByVpcNetworkIdRequest\x1a,.yandex.cloud.cloudrouter.v1.RoutingInstance\x12\x9b\x01\n\x1bGetByCicPrivateConnectionId\x12N.yandex.cloud.cloudrouter.v1.GetRoutingInstanceByCicPrivateConnectionIdRequest\x1a,.yandex.cloud.cloudrouter.v1.RoutingInstance\x12\xa5\x01\n\x04List\x12\x38.yandex.cloud.cloudrouter.v1.ListRoutingInstancesRequest\x1a\x39.yandex.cloud.cloudrouter.v1.ListRoutingInstancesResponse\"(\x82\xd3\xe4\x93\x02\"\x12 /cloudrouter/v1/routingInstances\x12\xc7\x01\n\x06\x43reate\x12\x39.yandex.cloud.cloudrouter.v1.CreateRoutingInstanceRequest\x1a!.yandex.cloud.operation.Operation\"_\xb2\xd2*0\n\x1d\x43reateRoutingInstanceMetadata\x12\x0fRoutingInstance\x82\xd3\xe4\x93\x02%\" /cloudrouter/v1/routingInstances:\x01*\x12\xc7\x01\n\x06Update\x12\x39.yandex.cloud.cloudrouter.v1.UpdateRoutingInstanceRequest\x1a!.yandex.cloud.operation.Operation\"_\xb2\xd2*0\n\x1dUpdateRoutingInstanceMetadata\x12\x0fRoutingInstance\x82\xd3\xe4\x93\x02%2 /cloudrouter/v1/routingInstances:\x01*\x12\xee\x01\n\x0eUpsertPrefixes\x12\x32.yandex.cloud.cloudrouter.v1.UpsertPrefixesRequest\x1a!.yandex.cloud.operation.Operation\"\x84\x01\xb2\xd2*0\n\x1dUpdateRoutingInstanceMetadata\x12\x0fRoutingInstance\x82\xd3\xe4\x93\x02J\"E/cloudrouter/v1/routingInstances/{routing_instance_id}:upsertPrefixes:\x01*\x12\xee\x01\n\x0eRemovePrefixes\x12\x32.yandex.cloud.cloudrouter.v1.RemovePrefixesRequest\x1a!.yandex.cloud.operation.Operation\"\x84\x01\xb2\xd2*0\n\x1dUpdateRoutingInstanceMetadata\x12\x0fRoutingInstance\x82\xd3\xe4\x93\x02J\"E/cloudrouter/v1/routingInstances/{routing_instance_id}:removePrefixes:\x01*\x12\x9d\x01\n\x0eUpdateNetworks\x12\x32.yandex.cloud.cloudrouter.v1.UpdateNetworksRequest\x1a!.yandex.cloud.operation.Operation\"4\xb2\xd2*0\n\x1dUpdateRoutingInstanceMetadata\x12\x0fRoutingInstance\x12\x95\x01\n\nMovePrefix\x12..yandex.cloud.cloudrouter.v1.MovePrefixRequest\x1a!.yandex.cloud.operation.Operation\"4\xb2\xd2*0\n\x1dUpdateRoutingInstanceMetadata\x12\x0fRoutingInstance\x12\xa1\x01\n\x10UpdatePrefixMask\x12\x34.yandex.cloud.cloudrouter.v1.UpdatePrefixMaskRequest\x1a!.yandex.cloud.operation.Operation\"4\xb2\xd2*0\n\x1dUpdateRoutingInstanceMetadata\x12\x0fRoutingInstance\x12\x80\x02\n\x14\x41\x64\x64PrivateConnection\x12\x38.yandex.cloud.cloudrouter.v1.AddPrivateConnectionRequest\x1a!.yandex.cloud.operation.Operation\"\x8a\x01\xb2\xd2*0\n\x1dUpdateRoutingInstanceMetadata\x12\x0fRoutingInstance\x82\xd3\xe4\x93\x02P\"K/cloudrouter/v1/routingInstances/{routing_instance_id}:addPrivateConnection:\x01*\x12\x89\x02\n\x17RemovePrivateConnection\x12;.yandex.cloud.cloudrouter.v1.RemovePrivateConnectionRequest\x1a!.yandex.cloud.operation.Operation\"\x8d\x01\xb2\xd2*0\n\x1dUpdateRoutingInstanceMetadata\x12\x0fRoutingInstance\x82\xd3\xe4\x93\x02S\"N/cloudrouter/v1/routingInstances/{routing_instance_id}:removePrivateConnection:\x01*\x12\xe0\x01\n\x06\x44\x65lete\x12\x39.yandex.cloud.cloudrouter.v1.DeleteRoutingInstanceRequest\x1a!.yandex.cloud.operation.Operation\"x\xb2\xd2*6\n\x1d\x44\x65leteRoutingInstanceMetadata\x12\x15google.protobuf.Empty\x82\xd3\xe4\x93\x02\x38*6/cloudrouter/v1/routingInstances/{routing_instance_id}\x12\xe2\x01\n\x0eListOperations\x12\x41.yandex.cloud.cloudrouter.v1.ListRoutingInstanceOperationsRequest\x1a\x42.yandex.cloud.cloudrouter.v1.ListRoutingInstanceOperationsResponse\"I\x82\xd3\xe4\x93\x02\x43\x12\x41/cloudrouter/v1/routingInstances/{routing_instance_id}/operationsBn\n\x1fyandex.cloud.api.cloudrouter.v1ZKgithub.com/yandex-cloud/go-genproto/yandex/cloud/cloudrouter/v1;cloudrouterb\x06proto3')
|
|
34
34
|
|
|
35
35
|
_globals = globals()
|
|
36
36
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
@@ -70,6 +70,8 @@ if not _descriptor._USE_C_DESCRIPTORS:
|
|
|
70
70
|
_globals['_UPSERTPREFIXESREQUEST'].fields_by_name['routing_instance_id']._serialized_options = b'\350\3071\001\212\3101\004<=50'
|
|
71
71
|
_globals['_REMOVEPREFIXESREQUEST'].fields_by_name['routing_instance_id']._loaded_options = None
|
|
72
72
|
_globals['_REMOVEPREFIXESREQUEST'].fields_by_name['routing_instance_id']._serialized_options = b'\350\3071\001\212\3101\004<=50'
|
|
73
|
+
_globals['_UPDATENETWORKSREQUEST'].fields_by_name['routing_instance_id']._loaded_options = None
|
|
74
|
+
_globals['_UPDATENETWORKSREQUEST'].fields_by_name['routing_instance_id']._serialized_options = b'\350\3071\001\212\3101\004<=50'
|
|
73
75
|
_globals['_MOVEPREFIXREQUEST'].fields_by_name['routing_instance_id']._loaded_options = None
|
|
74
76
|
_globals['_MOVEPREFIXREQUEST'].fields_by_name['routing_instance_id']._serialized_options = b'\350\3071\001\212\3101\004<=50'
|
|
75
77
|
_globals['_UPDATEPREFIXMASKREQUEST'].fields_by_name['routing_instance_id']._loaded_options = None
|
|
@@ -94,6 +96,8 @@ if not _descriptor._USE_C_DESCRIPTORS:
|
|
|
94
96
|
_globals['_ROUTINGINSTANCESERVICE'].methods_by_name['UpsertPrefixes']._serialized_options = b'\262\322*0\n\035UpdateRoutingInstanceMetadata\022\017RoutingInstance\202\323\344\223\002J\"E/cloudrouter/v1/routingInstances/{routing_instance_id}:upsertPrefixes:\001*'
|
|
95
97
|
_globals['_ROUTINGINSTANCESERVICE'].methods_by_name['RemovePrefixes']._loaded_options = None
|
|
96
98
|
_globals['_ROUTINGINSTANCESERVICE'].methods_by_name['RemovePrefixes']._serialized_options = b'\262\322*0\n\035UpdateRoutingInstanceMetadata\022\017RoutingInstance\202\323\344\223\002J\"E/cloudrouter/v1/routingInstances/{routing_instance_id}:removePrefixes:\001*'
|
|
99
|
+
_globals['_ROUTINGINSTANCESERVICE'].methods_by_name['UpdateNetworks']._loaded_options = None
|
|
100
|
+
_globals['_ROUTINGINSTANCESERVICE'].methods_by_name['UpdateNetworks']._serialized_options = b'\262\322*0\n\035UpdateRoutingInstanceMetadata\022\017RoutingInstance'
|
|
97
101
|
_globals['_ROUTINGINSTANCESERVICE'].methods_by_name['MovePrefix']._loaded_options = None
|
|
98
102
|
_globals['_ROUTINGINSTANCESERVICE'].methods_by_name['MovePrefix']._serialized_options = b'\262\322*0\n\035UpdateRoutingInstanceMetadata\022\017RoutingInstance'
|
|
99
103
|
_globals['_ROUTINGINSTANCESERVICE'].methods_by_name['UpdatePrefixMask']._loaded_options = None
|
|
@@ -132,24 +136,28 @@ if not _descriptor._USE_C_DESCRIPTORS:
|
|
|
132
136
|
_globals['_UPSERTPREFIXESREQUEST']._serialized_end=2221
|
|
133
137
|
_globals['_REMOVEPREFIXESREQUEST']._serialized_start=2224
|
|
134
138
|
_globals['_REMOVEPREFIXESREQUEST']._serialized_end=2392
|
|
135
|
-
_globals['
|
|
136
|
-
_globals['
|
|
137
|
-
_globals['
|
|
138
|
-
_globals['
|
|
139
|
-
_globals['
|
|
140
|
-
_globals['
|
|
141
|
-
_globals['
|
|
142
|
-
_globals['
|
|
143
|
-
_globals['
|
|
144
|
-
_globals['
|
|
145
|
-
_globals['
|
|
146
|
-
_globals['
|
|
147
|
-
_globals['
|
|
148
|
-
_globals['
|
|
149
|
-
_globals['
|
|
150
|
-
_globals['
|
|
151
|
-
_globals['
|
|
152
|
-
_globals['
|
|
153
|
-
_globals['
|
|
154
|
-
_globals['
|
|
139
|
+
_globals['_UPDATENETWORKSREQUEST']._serialized_start=2395
|
|
140
|
+
_globals['_UPDATENETWORKSREQUEST']._serialized_end=2651
|
|
141
|
+
_globals['_VPCINFO']._serialized_start=2653
|
|
142
|
+
_globals['_VPCINFO']._serialized_end=2764
|
|
143
|
+
_globals['_VPCAZINFOPREFIXES']._serialized_start=2766
|
|
144
|
+
_globals['_VPCAZINFOPREFIXES']._serialized_end=2824
|
|
145
|
+
_globals['_MOVEPREFIXREQUEST']._serialized_start=2827
|
|
146
|
+
_globals['_MOVEPREFIXREQUEST']._serialized_end=2999
|
|
147
|
+
_globals['_UPDATEPREFIXMASKREQUEST']._serialized_start=3002
|
|
148
|
+
_globals['_UPDATEPREFIXMASKREQUEST']._serialized_end=3172
|
|
149
|
+
_globals['_ADDPRIVATECONNECTIONREQUEST']._serialized_start=3174
|
|
150
|
+
_globals['_ADDPRIVATECONNECTIONREQUEST']._serialized_end=3287
|
|
151
|
+
_globals['_REMOVEPRIVATECONNECTIONREQUEST']._serialized_start=3289
|
|
152
|
+
_globals['_REMOVEPRIVATECONNECTIONREQUEST']._serialized_end=3399
|
|
153
|
+
_globals['_DELETEROUTINGINSTANCEREQUEST']._serialized_start=3401
|
|
154
|
+
_globals['_DELETEROUTINGINSTANCEREQUEST']._serialized_end=3474
|
|
155
|
+
_globals['_DELETEROUTINGINSTANCEMETADATA']._serialized_start=3476
|
|
156
|
+
_globals['_DELETEROUTINGINSTANCEMETADATA']._serialized_end=3536
|
|
157
|
+
_globals['_LISTROUTINGINSTANCEOPERATIONSREQUEST']._serialized_start=3538
|
|
158
|
+
_globals['_LISTROUTINGINSTANCEOPERATIONSREQUEST']._serialized_end=3658
|
|
159
|
+
_globals['_LISTROUTINGINSTANCEOPERATIONSRESPONSE']._serialized_start=3660
|
|
160
|
+
_globals['_LISTROUTINGINSTANCEOPERATIONSRESPONSE']._serialized_end=3779
|
|
161
|
+
_globals['_ROUTINGINSTANCESERVICE']._serialized_start=3782
|
|
162
|
+
_globals['_ROUTINGINSTANCESERVICE']._serialized_end=6789
|
|
155
163
|
# @@protoc_insertion_point(module_scope)
|
|
@@ -371,6 +371,66 @@ class RemovePrefixesRequest(google.protobuf.message.Message):
|
|
|
371
371
|
|
|
372
372
|
global___RemovePrefixesRequest = RemovePrefixesRequest
|
|
373
373
|
|
|
374
|
+
@typing.final
|
|
375
|
+
class UpdateNetworksRequest(google.protobuf.message.Message):
|
|
376
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
377
|
+
|
|
378
|
+
ROUTING_INSTANCE_ID_FIELD_NUMBER: builtins.int
|
|
379
|
+
ADDED_VPC_NETWORKS_FIELD_NUMBER: builtins.int
|
|
380
|
+
UPDATED_VPC_NETWORKS_FIELD_NUMBER: builtins.int
|
|
381
|
+
DELETED_VPC_NETWORK_IDS_FIELD_NUMBER: builtins.int
|
|
382
|
+
STRICT_REMOVE_FIELD_NUMBER: builtins.int
|
|
383
|
+
routing_instance_id: builtins.str
|
|
384
|
+
"""ID of the RoutingInstance resource."""
|
|
385
|
+
strict_remove: builtins.bool
|
|
386
|
+
"""Specifies whether to check for vpc in routing instance."""
|
|
387
|
+
@property
|
|
388
|
+
def added_vpc_networks(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___VpcInfo]:
|
|
389
|
+
"""Lists information about the VPC networks that are added to the routing instance."""
|
|
390
|
+
|
|
391
|
+
@property
|
|
392
|
+
def updated_vpc_networks(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___VpcInfo]:
|
|
393
|
+
"""List of VPC network information that is updated in the routing instance."""
|
|
394
|
+
|
|
395
|
+
@property
|
|
396
|
+
def deleted_vpc_network_ids(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]:
|
|
397
|
+
"""List of VPC ids to remove from the routing instance."""
|
|
398
|
+
|
|
399
|
+
def __init__(
|
|
400
|
+
self,
|
|
401
|
+
*,
|
|
402
|
+
routing_instance_id: builtins.str = ...,
|
|
403
|
+
added_vpc_networks: collections.abc.Iterable[global___VpcInfo] | None = ...,
|
|
404
|
+
updated_vpc_networks: collections.abc.Iterable[global___VpcInfo] | None = ...,
|
|
405
|
+
deleted_vpc_network_ids: collections.abc.Iterable[builtins.str] | None = ...,
|
|
406
|
+
strict_remove: builtins.bool = ...,
|
|
407
|
+
) -> None: ...
|
|
408
|
+
def ClearField(self, field_name: typing.Literal["added_vpc_networks", b"added_vpc_networks", "deleted_vpc_network_ids", b"deleted_vpc_network_ids", "routing_instance_id", b"routing_instance_id", "strict_remove", b"strict_remove", "updated_vpc_networks", b"updated_vpc_networks"]) -> None: ...
|
|
409
|
+
|
|
410
|
+
global___UpdateNetworksRequest = UpdateNetworksRequest
|
|
411
|
+
|
|
412
|
+
@typing.final
|
|
413
|
+
class VpcInfo(google.protobuf.message.Message):
|
|
414
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
415
|
+
|
|
416
|
+
VPC_NETWORK_ID_FIELD_NUMBER: builtins.int
|
|
417
|
+
VPC_AZ_INFO_PREFIXES_FIELD_NUMBER: builtins.int
|
|
418
|
+
vpc_network_id: builtins.str
|
|
419
|
+
"""ID of the vpcNetwork that is attached to the routingInstance."""
|
|
420
|
+
@property
|
|
421
|
+
def vpc_az_info_prefixes(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___VpcAzInfoPrefixes]:
|
|
422
|
+
"""List of the az-related info about vpcNetworks which are attached to routingInstance"""
|
|
423
|
+
|
|
424
|
+
def __init__(
|
|
425
|
+
self,
|
|
426
|
+
*,
|
|
427
|
+
vpc_network_id: builtins.str = ...,
|
|
428
|
+
vpc_az_info_prefixes: collections.abc.Iterable[global___VpcAzInfoPrefixes] | None = ...,
|
|
429
|
+
) -> None: ...
|
|
430
|
+
def ClearField(self, field_name: typing.Literal["vpc_az_info_prefixes", b"vpc_az_info_prefixes", "vpc_network_id", b"vpc_network_id"]) -> None: ...
|
|
431
|
+
|
|
432
|
+
global___VpcInfo = VpcInfo
|
|
433
|
+
|
|
374
434
|
@typing.final
|
|
375
435
|
class VpcAzInfoPrefixes(google.protobuf.message.Message):
|
|
376
436
|
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
@@ -77,6 +77,11 @@ class RoutingInstanceServiceStub(object):
|
|
|
77
77
|
request_serializer=yandex_dot_cloud_dot_cloudrouter_dot_v1_dot_routing__instance__service__pb2.RemovePrefixesRequest.SerializeToString,
|
|
78
78
|
response_deserializer=yandex_dot_cloud_dot_operation_dot_operation__pb2.Operation.FromString,
|
|
79
79
|
_registered_method=True)
|
|
80
|
+
self.UpdateNetworks = channel.unary_unary(
|
|
81
|
+
'/yandex.cloud.cloudrouter.v1.RoutingInstanceService/UpdateNetworks',
|
|
82
|
+
request_serializer=yandex_dot_cloud_dot_cloudrouter_dot_v1_dot_routing__instance__service__pb2.UpdateNetworksRequest.SerializeToString,
|
|
83
|
+
response_deserializer=yandex_dot_cloud_dot_operation_dot_operation__pb2.Operation.FromString,
|
|
84
|
+
_registered_method=True)
|
|
80
85
|
self.MovePrefix = channel.unary_unary(
|
|
81
86
|
'/yandex.cloud.cloudrouter.v1.RoutingInstanceService/MovePrefix',
|
|
82
87
|
request_serializer=yandex_dot_cloud_dot_cloudrouter_dot_v1_dot_routing__instance__service__pb2.MovePrefixRequest.SerializeToString,
|
|
@@ -179,6 +184,14 @@ class RoutingInstanceServiceServicer(object):
|
|
|
179
184
|
context.set_details('Method not implemented!')
|
|
180
185
|
raise NotImplementedError('Method not implemented!')
|
|
181
186
|
|
|
187
|
+
def UpdateNetworks(self, request, context):
|
|
188
|
+
"""Updates multiple vpc using the data specified in the request.
|
|
189
|
+
Method starts an asynchronous operation that can be cancelled while it is in progress.
|
|
190
|
+
"""
|
|
191
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
192
|
+
context.set_details('Method not implemented!')
|
|
193
|
+
raise NotImplementedError('Method not implemented!')
|
|
194
|
+
|
|
182
195
|
def MovePrefix(self, request, context):
|
|
183
196
|
"""Moves the specified prefix between availability zones of the RoutingInstance.
|
|
184
197
|
Method starts an asynchronous operation that can be cancelled while it is in progress.
|
|
@@ -269,6 +282,11 @@ def add_RoutingInstanceServiceServicer_to_server(servicer, server):
|
|
|
269
282
|
request_deserializer=yandex_dot_cloud_dot_cloudrouter_dot_v1_dot_routing__instance__service__pb2.RemovePrefixesRequest.FromString,
|
|
270
283
|
response_serializer=yandex_dot_cloud_dot_operation_dot_operation__pb2.Operation.SerializeToString,
|
|
271
284
|
),
|
|
285
|
+
'UpdateNetworks': grpc.unary_unary_rpc_method_handler(
|
|
286
|
+
servicer.UpdateNetworks,
|
|
287
|
+
request_deserializer=yandex_dot_cloud_dot_cloudrouter_dot_v1_dot_routing__instance__service__pb2.UpdateNetworksRequest.FromString,
|
|
288
|
+
response_serializer=yandex_dot_cloud_dot_operation_dot_operation__pb2.Operation.SerializeToString,
|
|
289
|
+
),
|
|
272
290
|
'MovePrefix': grpc.unary_unary_rpc_method_handler(
|
|
273
291
|
servicer.MovePrefix,
|
|
274
292
|
request_deserializer=yandex_dot_cloud_dot_cloudrouter_dot_v1_dot_routing__instance__service__pb2.MovePrefixRequest.FromString,
|
|
@@ -527,6 +545,33 @@ class RoutingInstanceService(object):
|
|
|
527
545
|
metadata,
|
|
528
546
|
_registered_method=True)
|
|
529
547
|
|
|
548
|
+
@staticmethod
|
|
549
|
+
def UpdateNetworks(request,
|
|
550
|
+
target,
|
|
551
|
+
options=(),
|
|
552
|
+
channel_credentials=None,
|
|
553
|
+
call_credentials=None,
|
|
554
|
+
insecure=False,
|
|
555
|
+
compression=None,
|
|
556
|
+
wait_for_ready=None,
|
|
557
|
+
timeout=None,
|
|
558
|
+
metadata=None):
|
|
559
|
+
return grpc.experimental.unary_unary(
|
|
560
|
+
request,
|
|
561
|
+
target,
|
|
562
|
+
'/yandex.cloud.cloudrouter.v1.RoutingInstanceService/UpdateNetworks',
|
|
563
|
+
yandex_dot_cloud_dot_cloudrouter_dot_v1_dot_routing__instance__service__pb2.UpdateNetworksRequest.SerializeToString,
|
|
564
|
+
yandex_dot_cloud_dot_operation_dot_operation__pb2.Operation.FromString,
|
|
565
|
+
options,
|
|
566
|
+
channel_credentials,
|
|
567
|
+
insecure,
|
|
568
|
+
call_credentials,
|
|
569
|
+
compression,
|
|
570
|
+
wait_for_ready,
|
|
571
|
+
timeout,
|
|
572
|
+
metadata,
|
|
573
|
+
_registered_method=True)
|
|
574
|
+
|
|
530
575
|
@staticmethod
|
|
531
576
|
def MovePrefix(request,
|
|
532
577
|
target,
|
|
@@ -88,6 +88,14 @@ class RoutingInstanceServiceStub:
|
|
|
88
88
|
Method starts an asynchronous operation that can be cancelled while it is in progress.
|
|
89
89
|
"""
|
|
90
90
|
|
|
91
|
+
UpdateNetworks: grpc.UnaryUnaryMultiCallable[
|
|
92
|
+
yandex.cloud.cloudrouter.v1.routing_instance_service_pb2.UpdateNetworksRequest,
|
|
93
|
+
yandex.cloud.operation.operation_pb2.Operation,
|
|
94
|
+
]
|
|
95
|
+
"""Updates multiple vpc using the data specified in the request.
|
|
96
|
+
Method starts an asynchronous operation that can be cancelled while it is in progress.
|
|
97
|
+
"""
|
|
98
|
+
|
|
91
99
|
MovePrefix: grpc.UnaryUnaryMultiCallable[
|
|
92
100
|
yandex.cloud.cloudrouter.v1.routing_instance_service_pb2.MovePrefixRequest,
|
|
93
101
|
yandex.cloud.operation.operation_pb2.Operation,
|
|
@@ -202,6 +210,14 @@ class RoutingInstanceServiceAsyncStub:
|
|
|
202
210
|
Method starts an asynchronous operation that can be cancelled while it is in progress.
|
|
203
211
|
"""
|
|
204
212
|
|
|
213
|
+
UpdateNetworks: grpc.aio.UnaryUnaryMultiCallable[
|
|
214
|
+
yandex.cloud.cloudrouter.v1.routing_instance_service_pb2.UpdateNetworksRequest,
|
|
215
|
+
yandex.cloud.operation.operation_pb2.Operation,
|
|
216
|
+
]
|
|
217
|
+
"""Updates multiple vpc using the data specified in the request.
|
|
218
|
+
Method starts an asynchronous operation that can be cancelled while it is in progress.
|
|
219
|
+
"""
|
|
220
|
+
|
|
205
221
|
MovePrefix: grpc.aio.UnaryUnaryMultiCallable[
|
|
206
222
|
yandex.cloud.cloudrouter.v1.routing_instance_service_pb2.MovePrefixRequest,
|
|
207
223
|
yandex.cloud.operation.operation_pb2.Operation,
|
|
@@ -332,6 +348,16 @@ class RoutingInstanceServiceServicer(metaclass=abc.ABCMeta):
|
|
|
332
348
|
Method starts an asynchronous operation that can be cancelled while it is in progress.
|
|
333
349
|
"""
|
|
334
350
|
|
|
351
|
+
@abc.abstractmethod
|
|
352
|
+
def UpdateNetworks(
|
|
353
|
+
self,
|
|
354
|
+
request: yandex.cloud.cloudrouter.v1.routing_instance_service_pb2.UpdateNetworksRequest,
|
|
355
|
+
context: _ServicerContext,
|
|
356
|
+
) -> typing.Union[yandex.cloud.operation.operation_pb2.Operation, collections.abc.Awaitable[yandex.cloud.operation.operation_pb2.Operation]]:
|
|
357
|
+
"""Updates multiple vpc using the data specified in the request.
|
|
358
|
+
Method starts an asynchronous operation that can be cancelled while it is in progress.
|
|
359
|
+
"""
|
|
360
|
+
|
|
335
361
|
@abc.abstractmethod
|
|
336
362
|
def MovePrefix(
|
|
337
363
|
self,
|
|
@@ -25,7 +25,7 @@ _sym_db = _symbol_database.Default()
|
|
|
25
25
|
from yandex.cloud.connectionmanager.v1 import common_pb2 as yandex_dot_cloud_dot_connectionmanager_dot_v1_dot_common__pb2
|
|
26
26
|
|
|
27
27
|
|
|
28
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n/yandex/cloud/connectionmanager/v1/mongodb.proto\x12!yandex.cloud.connectionmanager.v1\x1a.yandex/cloud/connectionmanager/v1/common.proto\"
|
|
28
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n/yandex/cloud/connectionmanager/v1/mongodb.proto\x12!yandex.cloud.connectionmanager.v1\x1a.yandex/cloud/connectionmanager/v1/common.proto\"|\n\x0bMongoDBAuth\x12L\n\ruser_password\x18\x01 \x01(\x0b\x32\x33.yandex.cloud.connectionmanager.v1.UserPasswordAuthH\x00\x12\x13\n\x0b\x61uth_source\x18\x02 \x01(\tB\n\n\x08security\"\xe8\x04\n\x0eMongoDBCluster\x12\x45\n\x05hosts\x18\x01 \x03(\x0b\x32\x36.yandex.cloud.connectionmanager.v1.MongoDBCluster.Host\x12@\n\ntls_params\x18\x02 \x01(\x0b\x32,.yandex.cloud.connectionmanager.v1.TLSParams\x1a\xcc\x03\n\x04Host\x12\x0c\n\x04host\x18\x01 \x01(\t\x12\x0c\n\x04port\x18\x02 \x01(\x03\x12I\n\x04role\x18\x03 \x01(\x0e\x32;.yandex.cloud.connectionmanager.v1.MongoDBCluster.Host.Role\x12M\n\x06health\x18\x04 \x01(\x0e\x32=.yandex.cloud.connectionmanager.v1.MongoDBCluster.Host.Health\x12I\n\x04type\x18\x05 \x01(\x0e\x32;.yandex.cloud.connectionmanager.v1.MongoDBCluster.Host.Type\"D\n\x04Type\x12\x14\n\x10TYPE_UNSPECIFIED\x10\x00\x12\n\n\x06MONGOD\x10\x01\x12\n\n\x06MONGOS\x10\x02\x12\x0e\n\nMONGOINFRA\x10\x03\"8\n\x04Role\x12\x14\n\x10ROLE_UNSPECIFIED\x10\x00\x12\x0b\n\x07PRIMARY\x10\x01\x12\r\n\tSECONDARY\x10\x02\"C\n\x06Health\x12\x16\n\x12HEALTH_UNSPECIFIED\x10\x00\x12\t\n\x05\x41LIVE\x10\x01\x12\x08\n\x04\x44\x45\x41\x44\x10\x02\x12\x0c\n\x08\x44\x45GRADED\x10\x03\"\xc4\x01\n\x11MongoDBConnection\x12\x42\n\x07\x63luster\x18\x01 \x01(\x0b\x32\x31.yandex.cloud.connectionmanager.v1.MongoDBCluster\x12\x1a\n\x12managed_cluster_id\x18\x02 \x01(\t\x12<\n\x04\x61uth\x18\x03 \x01(\x0b\x32..yandex.cloud.connectionmanager.v1.MongoDBAuth\x12\x11\n\tdatabases\x18\x04 \x03(\tB\x80\x01\n%yandex.cloud.api.connectionmanager.v1ZWgithub.com/yandex-cloud/go-genproto/yandex/cloud/connectionmanager/v1;connectionmanagerb\x06proto3')
|
|
29
29
|
|
|
30
30
|
_globals = globals()
|
|
31
31
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
@@ -34,17 +34,17 @@ if not _descriptor._USE_C_DESCRIPTORS:
|
|
|
34
34
|
_globals['DESCRIPTOR']._loaded_options = None
|
|
35
35
|
_globals['DESCRIPTOR']._serialized_options = b'\n%yandex.cloud.api.connectionmanager.v1ZWgithub.com/yandex-cloud/go-genproto/yandex/cloud/connectionmanager/v1;connectionmanager'
|
|
36
36
|
_globals['_MONGODBAUTH']._serialized_start=134
|
|
37
|
-
_globals['_MONGODBAUTH']._serialized_end=
|
|
38
|
-
_globals['_MONGODBCLUSTER']._serialized_start=
|
|
39
|
-
_globals['_MONGODBCLUSTER']._serialized_end=
|
|
40
|
-
_globals['_MONGODBCLUSTER_HOST']._serialized_start=
|
|
41
|
-
_globals['_MONGODBCLUSTER_HOST']._serialized_end=
|
|
42
|
-
_globals['_MONGODBCLUSTER_HOST_TYPE']._serialized_start=
|
|
43
|
-
_globals['_MONGODBCLUSTER_HOST_TYPE']._serialized_end=
|
|
44
|
-
_globals['_MONGODBCLUSTER_HOST_ROLE']._serialized_start=
|
|
45
|
-
_globals['_MONGODBCLUSTER_HOST_ROLE']._serialized_end=
|
|
46
|
-
_globals['_MONGODBCLUSTER_HOST_HEALTH']._serialized_start=
|
|
47
|
-
_globals['_MONGODBCLUSTER_HOST_HEALTH']._serialized_end=
|
|
48
|
-
_globals['_MONGODBCONNECTION']._serialized_start=
|
|
49
|
-
_globals['_MONGODBCONNECTION']._serialized_end=
|
|
37
|
+
_globals['_MONGODBAUTH']._serialized_end=258
|
|
38
|
+
_globals['_MONGODBCLUSTER']._serialized_start=261
|
|
39
|
+
_globals['_MONGODBCLUSTER']._serialized_end=877
|
|
40
|
+
_globals['_MONGODBCLUSTER_HOST']._serialized_start=417
|
|
41
|
+
_globals['_MONGODBCLUSTER_HOST']._serialized_end=877
|
|
42
|
+
_globals['_MONGODBCLUSTER_HOST_TYPE']._serialized_start=682
|
|
43
|
+
_globals['_MONGODBCLUSTER_HOST_TYPE']._serialized_end=750
|
|
44
|
+
_globals['_MONGODBCLUSTER_HOST_ROLE']._serialized_start=752
|
|
45
|
+
_globals['_MONGODBCLUSTER_HOST_ROLE']._serialized_end=808
|
|
46
|
+
_globals['_MONGODBCLUSTER_HOST_HEALTH']._serialized_start=810
|
|
47
|
+
_globals['_MONGODBCLUSTER_HOST_HEALTH']._serialized_end=877
|
|
48
|
+
_globals['_MONGODBCONNECTION']._serialized_start=880
|
|
49
|
+
_globals['_MONGODBCONNECTION']._serialized_end=1076
|
|
50
50
|
# @@protoc_insertion_point(module_scope)
|
|
@@ -25,15 +25,18 @@ class MongoDBAuth(google.protobuf.message.Message):
|
|
|
25
25
|
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
26
26
|
|
|
27
27
|
USER_PASSWORD_FIELD_NUMBER: builtins.int
|
|
28
|
+
AUTH_SOURCE_FIELD_NUMBER: builtins.int
|
|
29
|
+
auth_source: builtins.str
|
|
28
30
|
@property
|
|
29
31
|
def user_password(self) -> yandex.cloud.connectionmanager.v1.common_pb2.UserPasswordAuth: ...
|
|
30
32
|
def __init__(
|
|
31
33
|
self,
|
|
32
34
|
*,
|
|
33
35
|
user_password: yandex.cloud.connectionmanager.v1.common_pb2.UserPasswordAuth | None = ...,
|
|
36
|
+
auth_source: builtins.str = ...,
|
|
34
37
|
) -> None: ...
|
|
35
38
|
def HasField(self, field_name: typing.Literal["security", b"security", "user_password", b"user_password"]) -> builtins.bool: ...
|
|
36
|
-
def ClearField(self, field_name: typing.Literal["security", b"security", "user_password", b"user_password"]) -> None: ...
|
|
39
|
+
def ClearField(self, field_name: typing.Literal["auth_source", b"auth_source", "security", b"security", "user_password", b"user_password"]) -> None: ...
|
|
37
40
|
def WhichOneof(self, oneof_group: typing.Literal["security", b"security"]) -> typing.Literal["user_password"] | None: ...
|
|
38
41
|
|
|
39
42
|
global___MongoDBAuth = MongoDBAuth
|
|
@@ -30,7 +30,7 @@ from yandex.cloud.mdb.clickhouse.v1 import maintenance_pb2 as yandex_dot_cloud_d
|
|
|
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'\n,yandex/cloud/mdb/clickhouse/v1/cluster.proto\x12\x1eyandex.cloud.mdb.clickhouse.v1\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1egoogle/protobuf/wrappers.proto\x1a\x1bgoogle/type/timeofday.proto\x1a\x36yandex/cloud/mdb/clickhouse/v1/config/clickhouse.proto\x1a\x30yandex/cloud/mdb/clickhouse/v1/maintenance.proto\x1a\x1dyandex/cloud/validation.proto\"\x8c\t\n\x07\x43luster\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\x43\n\x06labels\x18\x06 \x03(\x0b\x32\x33.yandex.cloud.mdb.clickhouse.v1.Cluster.LabelsEntry\x12H\n\x0b\x65nvironment\x18\x07 \x01(\x0e\x32\x33.yandex.cloud.mdb.clickhouse.v1.Cluster.Environment\x12>\n\nmonitoring\x18\x08 \x03(\x0b\x32*.yandex.cloud.mdb.clickhouse.v1.Monitoring\x12=\n\x06\x63onfig\x18\t \x01(\x0b\x32-.yandex.cloud.mdb.clickhouse.v1.ClusterConfig\x12\x12\n\nnetwork_id\x18\n \x01(\t\x12>\n\x06health\x18\x0b \x01(\x0e\x32..yandex.cloud.mdb.clickhouse.v1.Cluster.Health\x12>\n\x06status\x18\x0c \x01(\x0e\x32..yandex.cloud.mdb.clickhouse.v1.Cluster.Status\x12\x1a\n\x12service_account_id\x18\r \x01(\t\x12M\n\x12maintenance_window\x18\x0e \x01(\x0b\x32\x31.yandex.cloud.mdb.clickhouse.v1.MaintenanceWindow\x12O\n\x11planned_operation\x18\x0f \x01(\x0b\x32\x34.yandex.cloud.mdb.clickhouse.v1.MaintenanceOperation\x12\x1a\n\x12security_group_ids\x18\x10 \x03(\t\x12\x1b\n\x13\x64\x65letion_protection\x18\x11 \x01(\x08\x12<\n\x16\x64isk_encryption_key_id\x18\x13 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"I\n\x0b\x45nvironment\x12\x1b\n\x17\x45NVIRONMENT_UNSPECIFIED\x10\x00\x12\x0e\n\nPRODUCTION\x10\x01\x12\r\n\tPRESTABLE\x10\x02\"?\n\x06Health\x12\x12\n\x0eHEALTH_UNKNOWN\x10\x00\x12\t\n\x05\x41LIVE\x10\x01\x12\x08\n\x04\x44\x45\x41\x44\x10\x02\x12\x0c\n\x08\x44\x45GRADED\x10\x03\"y\n\x06Status\x12\x12\n\x0eSTATUS_UNKNOWN\x10\x00\x12\x0c\n\x08\x43REATING\x10\x01\x12\x0b\n\x07RUNNING\x10\x02\x12\t\n\x05\x45RROR\x10\x03\x12\x0c\n\x08UPDATING\x10\x04\x12\x0c\n\x08STOPPING\x10\x05\x12\x0b\n\x07STOPPED\x10\x06\x12\x0c\n\x08STARTING\x10\x07J\x04\x08\x12\x10\x13\"=\n\nMonitoring\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x0c\n\x04link\x18\x03 \x01(\t\"\xe4\x07\n\rClusterConfig\x12\x0f\n\x07version\x18\x01 \x01(\t\x12L\n\nclickhouse\x18\x02 \x01(\x0b\x32\x38.yandex.cloud.mdb.clickhouse.v1.ClusterConfig.Clickhouse\x12J\n\tzookeeper\x18\x03 \x01(\x0b\x32\x37.yandex.cloud.mdb.clickhouse.v1.ClusterConfig.Zookeeper\x12\x33\n\x13\x62\x61\x63kup_window_start\x18\x04 \x01(\x0b\x32\x16.google.type.TimeOfDay\x12\x36\n\x06\x61\x63\x63\x65ss\x18\x05 \x01(\x0b\x32&.yandex.cloud.mdb.clickhouse.v1.Access\x12\x43\n\rcloud_storage\x18\x06 \x01(\x0b\x32,.yandex.cloud.mdb.clickhouse.v1.CloudStorage\x12;\n\x17sql_database_management\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.BoolValue\x12\x37\n\x13sql_user_management\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.BoolValue\x12\x33\n\x0f\x65mbedded_keeper\x18\t \x01(\x0b\x32\x1a.google.protobuf.BoolValue\x12>\n\x19\x62\x61\x63kup_retain_period_days\x18\n \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x1a\xea\x01\n\nClickhouse\x12J\n\x06\x63onfig\x18\x01 \x01(\x0b\x32:.yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfigSet\x12<\n\tresources\x18\x02 \x01(\x0b\x32).yandex.cloud.mdb.clickhouse.v1.Resources\x12R\n\x15\x64isk_size_autoscaling\x18\x03 \x01(\x0b\x32\x33.yandex.cloud.mdb.clickhouse.v1.DiskSizeAutoscaling\x1a\x9d\x01\n\tZookeeper\x12<\n\tresources\x18\x01 \x01(\x0b\x32).yandex.cloud.mdb.clickhouse.v1.Resources\x12R\n\x15\x64isk_size_autoscaling\x18\x02 \x01(\x0b\x32\x33.yandex.cloud.mdb.clickhouse.v1.DiskSizeAutoscaling\"f\n\x05Shard\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x12\n\ncluster_id\x18\x02 \x01(\t\x12;\n\x06\x63onfig\x18\x03 \x01(\x0b\x32+.yandex.cloud.mdb.clickhouse.v1.ShardConfig\"?\n\x06Shards\x12\x35\n\x06shards\x18\x01 \x03(\x0b\x32%.yandex.cloud.mdb.clickhouse.v1.Shard\"X\n\nShardGroup\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x12\n\ncluster_id\x18\x02 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x03 \x01(\t\x12\x13\n\x0bshard_names\x18\x04 \x03(\t\"\xf3\x02\n\x0bShardConfig\x12J\n\nclickhouse\x18\x01 \x01(\x0b\x32\x36.yandex.cloud.mdb.clickhouse.v1.ShardConfig.Clickhouse\x1a\x97\x02\n\nClickhouse\x12J\n\x06\x63onfig\x18\x01 \x01(\x0b\x32:.yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfigSet\x12<\n\tresources\x18\x02 \x01(\x0b\x32).yandex.cloud.mdb.clickhouse.v1.Resources\x12+\n\x06weight\x18\x03 \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12R\n\x15\x64isk_size_autoscaling\x18\x04 \x01(\x0b\x32\x33.yandex.cloud.mdb.clickhouse.v1.DiskSizeAutoscaling\"\
|
|
33
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n,yandex/cloud/mdb/clickhouse/v1/cluster.proto\x12\x1eyandex.cloud.mdb.clickhouse.v1\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1egoogle/protobuf/wrappers.proto\x1a\x1bgoogle/type/timeofday.proto\x1a\x36yandex/cloud/mdb/clickhouse/v1/config/clickhouse.proto\x1a\x30yandex/cloud/mdb/clickhouse/v1/maintenance.proto\x1a\x1dyandex/cloud/validation.proto\"\x8c\t\n\x07\x43luster\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\x43\n\x06labels\x18\x06 \x03(\x0b\x32\x33.yandex.cloud.mdb.clickhouse.v1.Cluster.LabelsEntry\x12H\n\x0b\x65nvironment\x18\x07 \x01(\x0e\x32\x33.yandex.cloud.mdb.clickhouse.v1.Cluster.Environment\x12>\n\nmonitoring\x18\x08 \x03(\x0b\x32*.yandex.cloud.mdb.clickhouse.v1.Monitoring\x12=\n\x06\x63onfig\x18\t \x01(\x0b\x32-.yandex.cloud.mdb.clickhouse.v1.ClusterConfig\x12\x12\n\nnetwork_id\x18\n \x01(\t\x12>\n\x06health\x18\x0b \x01(\x0e\x32..yandex.cloud.mdb.clickhouse.v1.Cluster.Health\x12>\n\x06status\x18\x0c \x01(\x0e\x32..yandex.cloud.mdb.clickhouse.v1.Cluster.Status\x12\x1a\n\x12service_account_id\x18\r \x01(\t\x12M\n\x12maintenance_window\x18\x0e \x01(\x0b\x32\x31.yandex.cloud.mdb.clickhouse.v1.MaintenanceWindow\x12O\n\x11planned_operation\x18\x0f \x01(\x0b\x32\x34.yandex.cloud.mdb.clickhouse.v1.MaintenanceOperation\x12\x1a\n\x12security_group_ids\x18\x10 \x03(\t\x12\x1b\n\x13\x64\x65letion_protection\x18\x11 \x01(\x08\x12<\n\x16\x64isk_encryption_key_id\x18\x13 \x01(\x0b\x32\x1c.google.protobuf.StringValue\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"I\n\x0b\x45nvironment\x12\x1b\n\x17\x45NVIRONMENT_UNSPECIFIED\x10\x00\x12\x0e\n\nPRODUCTION\x10\x01\x12\r\n\tPRESTABLE\x10\x02\"?\n\x06Health\x12\x12\n\x0eHEALTH_UNKNOWN\x10\x00\x12\t\n\x05\x41LIVE\x10\x01\x12\x08\n\x04\x44\x45\x41\x44\x10\x02\x12\x0c\n\x08\x44\x45GRADED\x10\x03\"y\n\x06Status\x12\x12\n\x0eSTATUS_UNKNOWN\x10\x00\x12\x0c\n\x08\x43REATING\x10\x01\x12\x0b\n\x07RUNNING\x10\x02\x12\t\n\x05\x45RROR\x10\x03\x12\x0c\n\x08UPDATING\x10\x04\x12\x0c\n\x08STOPPING\x10\x05\x12\x0b\n\x07STOPPED\x10\x06\x12\x0c\n\x08STARTING\x10\x07J\x04\x08\x12\x10\x13\"=\n\nMonitoring\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x0c\n\x04link\x18\x03 \x01(\t\"\xe4\x07\n\rClusterConfig\x12\x0f\n\x07version\x18\x01 \x01(\t\x12L\n\nclickhouse\x18\x02 \x01(\x0b\x32\x38.yandex.cloud.mdb.clickhouse.v1.ClusterConfig.Clickhouse\x12J\n\tzookeeper\x18\x03 \x01(\x0b\x32\x37.yandex.cloud.mdb.clickhouse.v1.ClusterConfig.Zookeeper\x12\x33\n\x13\x62\x61\x63kup_window_start\x18\x04 \x01(\x0b\x32\x16.google.type.TimeOfDay\x12\x36\n\x06\x61\x63\x63\x65ss\x18\x05 \x01(\x0b\x32&.yandex.cloud.mdb.clickhouse.v1.Access\x12\x43\n\rcloud_storage\x18\x06 \x01(\x0b\x32,.yandex.cloud.mdb.clickhouse.v1.CloudStorage\x12;\n\x17sql_database_management\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.BoolValue\x12\x37\n\x13sql_user_management\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.BoolValue\x12\x33\n\x0f\x65mbedded_keeper\x18\t \x01(\x0b\x32\x1a.google.protobuf.BoolValue\x12>\n\x19\x62\x61\x63kup_retain_period_days\x18\n \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x1a\xea\x01\n\nClickhouse\x12J\n\x06\x63onfig\x18\x01 \x01(\x0b\x32:.yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfigSet\x12<\n\tresources\x18\x02 \x01(\x0b\x32).yandex.cloud.mdb.clickhouse.v1.Resources\x12R\n\x15\x64isk_size_autoscaling\x18\x03 \x01(\x0b\x32\x33.yandex.cloud.mdb.clickhouse.v1.DiskSizeAutoscaling\x1a\x9d\x01\n\tZookeeper\x12<\n\tresources\x18\x01 \x01(\x0b\x32).yandex.cloud.mdb.clickhouse.v1.Resources\x12R\n\x15\x64isk_size_autoscaling\x18\x02 \x01(\x0b\x32\x33.yandex.cloud.mdb.clickhouse.v1.DiskSizeAutoscaling\"f\n\x05Shard\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x12\n\ncluster_id\x18\x02 \x01(\t\x12;\n\x06\x63onfig\x18\x03 \x01(\x0b\x32+.yandex.cloud.mdb.clickhouse.v1.ShardConfig\"?\n\x06Shards\x12\x35\n\x06shards\x18\x01 \x03(\x0b\x32%.yandex.cloud.mdb.clickhouse.v1.Shard\"X\n\nShardGroup\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x12\n\ncluster_id\x18\x02 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x03 \x01(\t\x12\x13\n\x0bshard_names\x18\x04 \x03(\t\"\xf3\x02\n\x0bShardConfig\x12J\n\nclickhouse\x18\x01 \x01(\x0b\x32\x36.yandex.cloud.mdb.clickhouse.v1.ShardConfig.Clickhouse\x1a\x97\x02\n\nClickhouse\x12J\n\x06\x63onfig\x18\x01 \x01(\x0b\x32:.yandex.cloud.mdb.clickhouse.v1.config.ClickhouseConfigSet\x12<\n\tresources\x18\x02 \x01(\x0b\x32).yandex.cloud.mdb.clickhouse.v1.Resources\x12+\n\x06weight\x18\x03 \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12R\n\x15\x64isk_size_autoscaling\x18\x04 \x01(\x0b\x32\x33.yandex.cloud.mdb.clickhouse.v1.DiskSizeAutoscaling\"\xfd\x03\n\x04Host\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x12\n\ncluster_id\x18\x02 \x01(\t\x12\x0f\n\x07zone_id\x18\x03 \x01(\t\x12\x37\n\x04type\x18\x04 \x01(\x0e\x32).yandex.cloud.mdb.clickhouse.v1.Host.Type\x12<\n\tresources\x18\x05 \x01(\x0b\x32).yandex.cloud.mdb.clickhouse.v1.Resources\x12;\n\x06health\x18\x06 \x01(\x0e\x32+.yandex.cloud.mdb.clickhouse.v1.Host.Health\x12\x39\n\x08services\x18\x07 \x03(\x0b\x32\'.yandex.cloud.mdb.clickhouse.v1.Service\x12\x11\n\tsubnet_id\x18\x08 \x01(\t\x12\x18\n\x10\x61ssign_public_ip\x18\t \x01(\x08\x12\x12\n\nshard_name\x18\n \x01(\t\";\n\x04Type\x12\x14\n\x10TYPE_UNSPECIFIED\x10\x00\x12\x0e\n\nCLICKHOUSE\x10\x01\x12\r\n\tZOOKEEPER\x10\x02\"U\n\x06Health\x12\x0b\n\x07UNKNOWN\x10\x00\x12\t\n\x05\x41LIVE\x10\x01\x12\x08\n\x04\x44\x45\x41\x44\x10\x02\x12\x0c\n\x08\x44\x45GRADED\x10\x03\x12\x0c\n\x08READONLY\x10\x04\x12\r\n\tRESTORING\x10\x05\"\x8b\x02\n\x07Service\x12:\n\x04type\x18\x01 \x01(\x0e\x32,.yandex.cloud.mdb.clickhouse.v1.Service.Type\x12>\n\x06health\x18\x02 \x01(\x0e\x32..yandex.cloud.mdb.clickhouse.v1.Service.Health\";\n\x04Type\x12\x14\n\x10TYPE_UNSPECIFIED\x10\x00\x12\x0e\n\nCLICKHOUSE\x10\x01\x12\r\n\tZOOKEEPER\x10\x02\"G\n\x06Health\x12\x0b\n\x07UNKNOWN\x10\x00\x12\t\n\x05\x41LIVE\x10\x01\x12\x08\n\x04\x44\x45\x41\x44\x10\x02\x12\x0c\n\x08READONLY\x10\x03\x12\r\n\tRESTORING\x10\x04\"P\n\tResources\x12\x1a\n\x12resource_preset_id\x18\x01 \x01(\t\x12\x11\n\tdisk_size\x18\x02 \x01(\x03\x12\x14\n\x0c\x64isk_type_id\x18\x03 \x01(\t\"~\n\x06\x41\x63\x63\x65ss\x12\x11\n\tdata_lens\x18\x01 \x01(\x08\x12\x0f\n\x07web_sql\x18\x02 \x01(\x08\x12\x0f\n\x07metrika\x18\x03 \x01(\x08\x12\x12\n\nserverless\x18\x04 \x01(\x08\x12\x15\n\rdata_transfer\x18\x05 \x01(\x08\x12\x14\n\x0cyandex_query\x18\x06 \x01(\x08\"\x86\x02\n\x0c\x43loudStorage\x12\x0f\n\x07\x65nabled\x18\x01 \x01(\x08\x12:\n\x0bmove_factor\x18\x02 \x01(\x0b\x32\x1c.google.protobuf.DoubleValueB\x07\xfa\xc7\x31\x03\x30-1\x12\x36\n\x12\x64\x61ta_cache_enabled\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.BoolValue\x12\x38\n\x13\x64\x61ta_cache_max_size\x18\x04 \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12\x37\n\x13prefer_not_to_merge\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.BoolValue\"\xe7\x01\n\x13\x44iskSizeAutoscaling\x12K\n\x17planned_usage_threshold\x18\x01 \x01(\x0b\x32\x1b.google.protobuf.Int64ValueB\r\xe8\xc7\x31\x00\xfa\xc7\x31\x05\x30-100\x12M\n\x19\x65mergency_usage_threshold\x18\x02 \x01(\x0b\x32\x1b.google.protobuf.Int64ValueB\r\xe8\xc7\x31\x00\xfa\xc7\x31\x05\x30-100\x12\x34\n\x0f\x64isk_size_limit\x18\x03 \x01(\x0b\x32\x1b.google.protobuf.Int64ValueBs\n\"yandex.cloud.api.mdb.clickhouse.v1ZMgithub.com/yandex-cloud/go-genproto/yandex/cloud/mdb/clickhouse/v1;clickhouseb\x06proto3')
|
|
34
34
|
|
|
35
35
|
_globals = globals()
|
|
36
36
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
@@ -75,23 +75,23 @@ if not _descriptor._USE_C_DESCRIPTORS:
|
|
|
75
75
|
_globals['_SHARDCONFIG_CLICKHOUSE']._serialized_start=2892
|
|
76
76
|
_globals['_SHARDCONFIG_CLICKHOUSE']._serialized_end=3171
|
|
77
77
|
_globals['_HOST']._serialized_start=3174
|
|
78
|
-
_globals['_HOST']._serialized_end=
|
|
78
|
+
_globals['_HOST']._serialized_end=3683
|
|
79
79
|
_globals['_HOST_TYPE']._serialized_start=3537
|
|
80
80
|
_globals['_HOST_TYPE']._serialized_end=3596
|
|
81
81
|
_globals['_HOST_HEALTH']._serialized_start=3598
|
|
82
|
-
_globals['_HOST_HEALTH']._serialized_end=
|
|
83
|
-
_globals['_SERVICE']._serialized_start=
|
|
84
|
-
_globals['_SERVICE']._serialized_end=
|
|
82
|
+
_globals['_HOST_HEALTH']._serialized_end=3683
|
|
83
|
+
_globals['_SERVICE']._serialized_start=3686
|
|
84
|
+
_globals['_SERVICE']._serialized_end=3953
|
|
85
85
|
_globals['_SERVICE_TYPE']._serialized_start=3537
|
|
86
86
|
_globals['_SERVICE_TYPE']._serialized_end=3596
|
|
87
|
-
_globals['_SERVICE_HEALTH']._serialized_start=
|
|
88
|
-
_globals['_SERVICE_HEALTH']._serialized_end=
|
|
89
|
-
_globals['_RESOURCES']._serialized_start=
|
|
90
|
-
_globals['_RESOURCES']._serialized_end=
|
|
91
|
-
_globals['_ACCESS']._serialized_start=
|
|
92
|
-
_globals['_ACCESS']._serialized_end=
|
|
93
|
-
_globals['_CLOUDSTORAGE']._serialized_start=
|
|
94
|
-
_globals['_CLOUDSTORAGE']._serialized_end=
|
|
95
|
-
_globals['_DISKSIZEAUTOSCALING']._serialized_start=
|
|
96
|
-
_globals['_DISKSIZEAUTOSCALING']._serialized_end=
|
|
87
|
+
_globals['_SERVICE_HEALTH']._serialized_start=3882
|
|
88
|
+
_globals['_SERVICE_HEALTH']._serialized_end=3953
|
|
89
|
+
_globals['_RESOURCES']._serialized_start=3955
|
|
90
|
+
_globals['_RESOURCES']._serialized_end=4035
|
|
91
|
+
_globals['_ACCESS']._serialized_start=4037
|
|
92
|
+
_globals['_ACCESS']._serialized_end=4163
|
|
93
|
+
_globals['_CLOUDSTORAGE']._serialized_start=4166
|
|
94
|
+
_globals['_CLOUDSTORAGE']._serialized_end=4428
|
|
95
|
+
_globals['_DISKSIZEAUTOSCALING']._serialized_start=4431
|
|
96
|
+
_globals['_DISKSIZEAUTOSCALING']._serialized_end=4662
|
|
97
97
|
# @@protoc_insertion_point(module_scope)
|
|
@@ -557,6 +557,10 @@ class Host(google.protobuf.message.Message):
|
|
|
557
557
|
"""The host is inoperable, and cannot perform any of its essential functions."""
|
|
558
558
|
DEGRADED: Host._Health.ValueType # 3
|
|
559
559
|
"""The host is degraded, and can perform only some of its essential functions."""
|
|
560
|
+
READONLY: Host._Health.ValueType # 4
|
|
561
|
+
"""The host is read-only and cannot perform write requests."""
|
|
562
|
+
RESTORING: Host._Health.ValueType # 5
|
|
563
|
+
"""The host is restoring from backup or syncronzing from other replica."""
|
|
560
564
|
|
|
561
565
|
class Health(_Health, metaclass=_HealthEnumTypeWrapper): ...
|
|
562
566
|
UNKNOWN: Host.Health.ValueType # 0
|
|
@@ -567,6 +571,10 @@ class Host(google.protobuf.message.Message):
|
|
|
567
571
|
"""The host is inoperable, and cannot perform any of its essential functions."""
|
|
568
572
|
DEGRADED: Host.Health.ValueType # 3
|
|
569
573
|
"""The host is degraded, and can perform only some of its essential functions."""
|
|
574
|
+
READONLY: Host.Health.ValueType # 4
|
|
575
|
+
"""The host is read-only and cannot perform write requests."""
|
|
576
|
+
RESTORING: Host.Health.ValueType # 5
|
|
577
|
+
"""The host is restoring from backup or syncronzing from other replica."""
|
|
570
578
|
|
|
571
579
|
NAME_FIELD_NUMBER: builtins.int
|
|
572
580
|
CLUSTER_ID_FIELD_NUMBER: builtins.int
|
|
@@ -661,6 +669,10 @@ class Service(google.protobuf.message.Message):
|
|
|
661
669
|
"""The server is working normally."""
|
|
662
670
|
DEAD: Service._Health.ValueType # 2
|
|
663
671
|
"""The server is dead or unresponsive."""
|
|
672
|
+
READONLY: Service._Health.ValueType # 3
|
|
673
|
+
"""The service is read-only."""
|
|
674
|
+
RESTORING: Service._Health.ValueType # 4
|
|
675
|
+
"""The service is restoring from backup or syncronzing from other replica."""
|
|
664
676
|
|
|
665
677
|
class Health(_Health, metaclass=_HealthEnumTypeWrapper): ...
|
|
666
678
|
UNKNOWN: Service.Health.ValueType # 0
|
|
@@ -669,6 +681,10 @@ class Service(google.protobuf.message.Message):
|
|
|
669
681
|
"""The server is working normally."""
|
|
670
682
|
DEAD: Service.Health.ValueType # 2
|
|
671
683
|
"""The server is dead or unresponsive."""
|
|
684
|
+
READONLY: Service.Health.ValueType # 3
|
|
685
|
+
"""The service is read-only."""
|
|
686
|
+
RESTORING: Service.Health.ValueType # 4
|
|
687
|
+
"""The service is restoring from backup or syncronzing from other replica."""
|
|
672
688
|
|
|
673
689
|
TYPE_FIELD_NUMBER: builtins.int
|
|
674
690
|
HEALTH_FIELD_NUMBER: builtins.int
|
|
@@ -27,7 +27,7 @@ from yandex.cloud.searchapi.v2 import search_query_pb2 as yandex_dot_cloud_dot_s
|
|
|
27
27
|
from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2
|
|
28
28
|
|
|
29
29
|
|
|
30
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n2yandex/cloud/searchapi/v2/img_search_service.proto\x12\x19yandex.cloud.searchapi.v2\x1a\x1dyandex/cloud/validation.proto\x1a,yandex/cloud/searchapi/v2/search_query.proto\x1a\x1cgoogle/api/annotations.proto\"\x80\x08\n\tImageSpec\x12@\n\x06\x66ormat\x18\x01 \x01(\x0e\x32\x30.yandex.cloud.searchapi.v2.ImageSpec.ImageFormat\x12<\n\x04size\x18\x02 \x01(\x0e\x32..yandex.cloud.searchapi.v2.ImageSpec.ImageSize\x12J\n\x0borientation\x18\x03 \x01(\x0e\x32\x35.yandex.cloud.searchapi.v2.ImageSpec.ImageOrientation\x12>\n\x05\x63olor\x18\x04 \x01(\x0e\x32/.yandex.cloud.searchapi.v2.ImageSpec.ImageColor\"n\n\x0bImageFormat\x12\x1c\n\x18IMAGE_FORMAT_UNSPECIFIED\x10\x00\x12\x15\n\x11IMAGE_FORMAT_JPEG\x10\x01\x12\x14\n\x10IMAGE_FORMAT_GIF\x10\x02\x12\x14\n\x10IMAGE_FORMAT_PNG\x10\x03\"\x95\x01\n\x10ImageOrientation\x12!\n\x1dIMAGE_ORIENTATION_UNSPECIFIED\x10\x00\x12\x1e\n\x1aIMAGE_ORIENTATION_VERTICAL\x10\x01\x12 \n\x1cIMAGE_ORIENTATION_HORIZONTAL\x10\x02\x12\x1c\n\x18IMAGE_ORIENTATION_SQUARE\x10\x03\"\xb2\x01\n\tImageSize\x12\x1a\n\x16IMAGE_SIZE_UNSPECIFIED\x10\x00\x12\x17\n\x13IMAGE_SIZE_ENORMOUS\x10\x01\x12\x14\n\x10IMAGE_SIZE_LARGE\x10\x02\x12\x15\n\x11IMAGE_SIZE_MEDIUM\x10\x03\x12\x14\n\x10IMAGE_SIZE_SMALL\x10\x04\x12\x13\n\x0fIMAGE_SIZE_TINY\x10\x05\x12\x18\n\x14IMAGE_SIZE_WALLPAPER\x10\x06\"\xa9\x02\n\nImageColor\x12\x1b\n\x17IMAGE_COLOR_UNSPECIFIED\x10\x00\x12\x15\n\x11IMAGE_COLOR_COLOR\x10\x01\x12\x19\n\x15IMAGE_COLOR_GRAYSCALE\x10\x02\x12\x13\n\x0fIMAGE_COLOR_RED\x10\x03\x12\x16\n\x12IMAGE_COLOR_ORANGE\x10\x04\x12\x16\n\x12IMAGE_COLOR_YELLOW\x10\x05\x12\x15\n\x11IMAGE_COLOR_GREEN\x10\x06\x12\x14\n\x10IMAGE_COLOR_CYAN\x10\x07\x12\x14\n\x10IMAGE_COLOR_BLUE\x10\x08\x12\x16\n\x12IMAGE_COLOR_VIOLET\x10\t\x12\x15\n\x11IMAGE_COLOR_WHITE\x10\n\x12\x15\n\x11IMAGE_COLOR_BLACK\x10\x0b\"\xf6\x01\n\x12ImageSearchRequest\x12;\n\x05query\x18\x01 \x01(\x0b\x32&.yandex.cloud.searchapi.v2.SearchQueryB\x04\xe8\xc7\x31\x01\x12\x38\n\nimage_spec\x18\x02 \x01(\x0b\x32$.yandex.cloud.searchapi.v2.ImageSpec\x12\x0c\n\x04site\x18\x03 \x01(\t\x12\x1f\n\x0c\x64ocs_on_page\x18\x04 \x01(\x03\x42\t\xfa\xc7\x31\x05\x31-100\x12\x1b\n\tfolder_id\x18\x05 \x01(\tB\x08\x8a\xc8\x31\x04<=50\x12\x1d\n\nuser_agent\x18\x06 \x01(\tB\t\x8a\xc8\x31\x05<=300\"-\n\x13ImageSearchResponse\x12\x16\n\x08raw_data\x18\x01 \x01(\x0c\x42\x04\xe8\xc7\x31\x01\"\x9a\x02\n\x19ImageSearchByImageRequest\x12\x18\n\x04site\x18\x01 \x01(\tB\n\x8a\xc8\x31\x06<=1024\x12\x1b\n\tfolder_id\x18\x02 \x01(\tB\x08\x8a\xc8\x31\x04<=50\x12\x1d\n\x03url\x18\x03 \x01(\tB\x0e\xe8\xc7\x31\x01\x8a\xc8\x31\x06<=1024H\x00\x12!\n\x04\x64\x61ta\x18\x04 \x01(\x0c\x42\x11\xe8\xc7\x31\x01\x8a\xc8\x31\t<=3145728H\x00\x12\x1c\n\x02id\x18\x05 \x01(\tB\x0e\xe8\xc7\x31\x01\x8a\xc8\x31\x06<=1024H\x00\x12\x15\n\x04page\x18\x06 \x01(\x03\x42\x07\xfa\xc7\x31\x03>=0\x12\x46\n\x0b\x66\x61mily_mode\x18\x07 \x01(\x0e\x32\x31.yandex.cloud.searchapi.v2.SearchQuery.FamilyModeB\x07\n\x05image\"\
|
|
30
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n2yandex/cloud/searchapi/v2/img_search_service.proto\x12\x19yandex.cloud.searchapi.v2\x1a\x1dyandex/cloud/validation.proto\x1a,yandex/cloud/searchapi/v2/search_query.proto\x1a\x1cgoogle/api/annotations.proto\"\x80\x08\n\tImageSpec\x12@\n\x06\x66ormat\x18\x01 \x01(\x0e\x32\x30.yandex.cloud.searchapi.v2.ImageSpec.ImageFormat\x12<\n\x04size\x18\x02 \x01(\x0e\x32..yandex.cloud.searchapi.v2.ImageSpec.ImageSize\x12J\n\x0borientation\x18\x03 \x01(\x0e\x32\x35.yandex.cloud.searchapi.v2.ImageSpec.ImageOrientation\x12>\n\x05\x63olor\x18\x04 \x01(\x0e\x32/.yandex.cloud.searchapi.v2.ImageSpec.ImageColor\"n\n\x0bImageFormat\x12\x1c\n\x18IMAGE_FORMAT_UNSPECIFIED\x10\x00\x12\x15\n\x11IMAGE_FORMAT_JPEG\x10\x01\x12\x14\n\x10IMAGE_FORMAT_GIF\x10\x02\x12\x14\n\x10IMAGE_FORMAT_PNG\x10\x03\"\x95\x01\n\x10ImageOrientation\x12!\n\x1dIMAGE_ORIENTATION_UNSPECIFIED\x10\x00\x12\x1e\n\x1aIMAGE_ORIENTATION_VERTICAL\x10\x01\x12 \n\x1cIMAGE_ORIENTATION_HORIZONTAL\x10\x02\x12\x1c\n\x18IMAGE_ORIENTATION_SQUARE\x10\x03\"\xb2\x01\n\tImageSize\x12\x1a\n\x16IMAGE_SIZE_UNSPECIFIED\x10\x00\x12\x17\n\x13IMAGE_SIZE_ENORMOUS\x10\x01\x12\x14\n\x10IMAGE_SIZE_LARGE\x10\x02\x12\x15\n\x11IMAGE_SIZE_MEDIUM\x10\x03\x12\x14\n\x10IMAGE_SIZE_SMALL\x10\x04\x12\x13\n\x0fIMAGE_SIZE_TINY\x10\x05\x12\x18\n\x14IMAGE_SIZE_WALLPAPER\x10\x06\"\xa9\x02\n\nImageColor\x12\x1b\n\x17IMAGE_COLOR_UNSPECIFIED\x10\x00\x12\x15\n\x11IMAGE_COLOR_COLOR\x10\x01\x12\x19\n\x15IMAGE_COLOR_GRAYSCALE\x10\x02\x12\x13\n\x0fIMAGE_COLOR_RED\x10\x03\x12\x16\n\x12IMAGE_COLOR_ORANGE\x10\x04\x12\x16\n\x12IMAGE_COLOR_YELLOW\x10\x05\x12\x15\n\x11IMAGE_COLOR_GREEN\x10\x06\x12\x14\n\x10IMAGE_COLOR_CYAN\x10\x07\x12\x14\n\x10IMAGE_COLOR_BLUE\x10\x08\x12\x16\n\x12IMAGE_COLOR_VIOLET\x10\t\x12\x15\n\x11IMAGE_COLOR_WHITE\x10\n\x12\x15\n\x11IMAGE_COLOR_BLACK\x10\x0b\"\xf6\x01\n\x12ImageSearchRequest\x12;\n\x05query\x18\x01 \x01(\x0b\x32&.yandex.cloud.searchapi.v2.SearchQueryB\x04\xe8\xc7\x31\x01\x12\x38\n\nimage_spec\x18\x02 \x01(\x0b\x32$.yandex.cloud.searchapi.v2.ImageSpec\x12\x0c\n\x04site\x18\x03 \x01(\t\x12\x1f\n\x0c\x64ocs_on_page\x18\x04 \x01(\x03\x42\t\xfa\xc7\x31\x05\x31-100\x12\x1b\n\tfolder_id\x18\x05 \x01(\tB\x08\x8a\xc8\x31\x04<=50\x12\x1d\n\nuser_agent\x18\x06 \x01(\tB\t\x8a\xc8\x31\x05<=300\"-\n\x13ImageSearchResponse\x12\x16\n\x08raw_data\x18\x01 \x01(\x0c\x42\x04\xe8\xc7\x31\x01\"\x9a\x02\n\x19ImageSearchByImageRequest\x12\x18\n\x04site\x18\x01 \x01(\tB\n\x8a\xc8\x31\x06<=1024\x12\x1b\n\tfolder_id\x18\x02 \x01(\tB\x08\x8a\xc8\x31\x04<=50\x12\x1d\n\x03url\x18\x03 \x01(\tB\x0e\xe8\xc7\x31\x01\x8a\xc8\x31\x06<=1024H\x00\x12!\n\x04\x64\x61ta\x18\x04 \x01(\x0c\x42\x11\xe8\xc7\x31\x01\x8a\xc8\x31\t<=3145728H\x00\x12\x1c\n\x02id\x18\x05 \x01(\tB\x0e\xe8\xc7\x31\x01\x8a\xc8\x31\x06<=1024H\x00\x12\x15\n\x04page\x18\x06 \x01(\x03\x42\x07\xfa\xc7\x31\x03>=0\x12\x46\n\x0b\x66\x61mily_mode\x18\x07 \x01(\x0e\x32\x31.yandex.cloud.searchapi.v2.SearchQuery.FamilyModeB\x07\n\x05image\"\xde\x02\n\x1aImageSearchByImageResponse\x12O\n\x06images\x18\x01 \x03(\x0b\x32?.yandex.cloud.searchapi.v2.ImageSearchByImageResponse.ImageInfo\x12\x0c\n\x04page\x18\x02 \x01(\x03\x12\x14\n\x08max_page\x18\x03 \x01(\x03\x42\x02\x18\x01\x12\n\n\x02id\x18\x04 \x01(\t\x1a\xbe\x01\n\tImageInfo\x12\x0b\n\x03url\x18\x01 \x01(\t\x12@\n\x06\x66ormat\x18\x02 \x01(\x0e\x32\x30.yandex.cloud.searchapi.v2.ImageSpec.ImageFormat\x12\r\n\x05width\x18\x03 \x01(\x03\x12\x0e\n\x06height\x18\x04 \x01(\x03\x12\x0f\n\x07passage\x18\x05 \x01(\t\x12\x0c\n\x04host\x18\x06 \x01(\t\x12\x12\n\npage_title\x18\x07 \x01(\t\x12\x10\n\x08page_url\x18\x08 \x01(\t2\xc0\x02\n\x12ImageSearchService\x12\x84\x01\n\x06Search\x12-.yandex.cloud.searchapi.v2.ImageSearchRequest\x1a..yandex.cloud.searchapi.v2.ImageSearchResponse\"\x1b\x82\xd3\xe4\x93\x02\x15\"\x10/v2/image/search:\x01*\x12\xa2\x01\n\rSearchByImage\x12\x34.yandex.cloud.searchapi.v2.ImageSearchByImageRequest\x1a\x35.yandex.cloud.searchapi.v2.ImageSearchByImageResponse\"$\x82\xd3\xe4\x93\x02\x1e\"\x19/v2/image/search_by_image:\x01*Be\n\x1ayandex.cloud.api.search.v2ZGgithub.com/yandex-cloud/go-genproto/yandex/cloud/searchapi/v2;searchapib\x06proto3')
|
|
31
31
|
|
|
32
32
|
_globals = globals()
|
|
33
33
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
@@ -57,6 +57,8 @@ if not _descriptor._USE_C_DESCRIPTORS:
|
|
|
57
57
|
_globals['_IMAGESEARCHBYIMAGEREQUEST'].fields_by_name['id']._serialized_options = b'\350\3071\001\212\3101\006<=1024'
|
|
58
58
|
_globals['_IMAGESEARCHBYIMAGEREQUEST'].fields_by_name['page']._loaded_options = None
|
|
59
59
|
_globals['_IMAGESEARCHBYIMAGEREQUEST'].fields_by_name['page']._serialized_options = b'\372\3071\003>=0'
|
|
60
|
+
_globals['_IMAGESEARCHBYIMAGERESPONSE'].fields_by_name['max_page']._loaded_options = None
|
|
61
|
+
_globals['_IMAGESEARCHBYIMAGERESPONSE'].fields_by_name['max_page']._serialized_options = b'\030\001'
|
|
60
62
|
_globals['_IMAGESEARCHSERVICE'].methods_by_name['Search']._loaded_options = None
|
|
61
63
|
_globals['_IMAGESEARCHSERVICE'].methods_by_name['Search']._serialized_options = b'\202\323\344\223\002\025\"\020/v2/image/search:\001*'
|
|
62
64
|
_globals['_IMAGESEARCHSERVICE'].methods_by_name['SearchByImage']._loaded_options = None
|
|
@@ -78,9 +80,9 @@ if not _descriptor._USE_C_DESCRIPTORS:
|
|
|
78
80
|
_globals['_IMAGESEARCHBYIMAGEREQUEST']._serialized_start=1512
|
|
79
81
|
_globals['_IMAGESEARCHBYIMAGEREQUEST']._serialized_end=1794
|
|
80
82
|
_globals['_IMAGESEARCHBYIMAGERESPONSE']._serialized_start=1797
|
|
81
|
-
_globals['_IMAGESEARCHBYIMAGERESPONSE']._serialized_end=
|
|
82
|
-
_globals['_IMAGESEARCHBYIMAGERESPONSE_IMAGEINFO']._serialized_start=
|
|
83
|
-
_globals['_IMAGESEARCHBYIMAGERESPONSE_IMAGEINFO']._serialized_end=
|
|
84
|
-
_globals['_IMAGESEARCHSERVICE']._serialized_start=
|
|
85
|
-
_globals['_IMAGESEARCHSERVICE']._serialized_end=
|
|
83
|
+
_globals['_IMAGESEARCHBYIMAGERESPONSE']._serialized_end=2147
|
|
84
|
+
_globals['_IMAGESEARCHBYIMAGERESPONSE_IMAGEINFO']._serialized_start=1957
|
|
85
|
+
_globals['_IMAGESEARCHBYIMAGERESPONSE_IMAGEINFO']._serialized_end=2147
|
|
86
|
+
_globals['_IMAGESEARCHSERVICE']._serialized_start=2150
|
|
87
|
+
_globals['_IMAGESEARCHSERVICE']._serialized_end=2470
|
|
86
88
|
# @@protoc_insertion_point(module_scope)
|
|
@@ -336,7 +336,6 @@ class ImageSearchByImageResponse(google.protobuf.message.Message):
|
|
|
336
336
|
page: builtins.int
|
|
337
337
|
"""The number of the page with search results."""
|
|
338
338
|
max_page: builtins.int
|
|
339
|
-
"""The number of the last page with search results."""
|
|
340
339
|
id: builtins.str
|
|
341
340
|
"""CBIR ID of the image used for the search."""
|
|
342
341
|
@property
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# NO CHECKED-IN PROTOBUF GENCODE
|
|
4
|
+
# source: yandex/cloud/speechsense/v1/analysis/assistants.proto
|
|
5
|
+
# Protobuf Python Version: 5.29.0
|
|
6
|
+
"""Generated protocol buffer code."""
|
|
7
|
+
from google.protobuf import descriptor as _descriptor
|
|
8
|
+
from google.protobuf import descriptor_pool as _descriptor_pool
|
|
9
|
+
from google.protobuf import runtime_version as _runtime_version
|
|
10
|
+
from google.protobuf import symbol_database as _symbol_database
|
|
11
|
+
from google.protobuf.internal import builder as _builder
|
|
12
|
+
_runtime_version.ValidateProtobufRuntimeVersion(
|
|
13
|
+
_runtime_version.Domain.PUBLIC,
|
|
14
|
+
5,
|
|
15
|
+
29,
|
|
16
|
+
0,
|
|
17
|
+
'',
|
|
18
|
+
'yandex/cloud/speechsense/v1/analysis/assistants.proto'
|
|
19
|
+
)
|
|
20
|
+
# @@protoc_insertion_point(imports)
|
|
21
|
+
|
|
22
|
+
_sym_db = _symbol_database.Default()
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n5yandex/cloud/speechsense/v1/analysis/assistants.proto\x12$yandex.cloud.speechsense.v1.analysis\"^\n\nAssistants\x12P\n\x11\x61ssistant_results\x18\x01 \x03(\x0b\x32\x35.yandex.cloud.speechsense.v1.analysis.AssistantResult\"t\n\x0f\x41ssistantResult\x12\x14\n\x0c\x61ssistant_id\x18\x01 \x01(\t\x12K\n\x07results\x18\x02 \x03(\x0b\x32:.yandex.cloud.speechsense.v1.analysis.AssistantFieldResult\"}\n\x14\x41ssistantFieldResult\x12\x10\n\x08\x66ield_id\x18\x01 \x01(\t\x12\x17\n\rstring_result\x18\x02 \x01(\tH\x00\x12\x14\n\nint_result\x18\x03 \x01(\x03H\x00\x12\x16\n\x0c\x66loat_result\x18\x04 \x01(\x01H\x00\x42\x0c\n\nfield_typeB\x91\x01\n(yandex.cloud.api.speechsense.v1.analysisB\x0f\x41ssistantsProtoZTgithub.com/yandex-cloud/go-genproto/yandex/cloud/speechsense/v1/analysis;speechsenseb\x06proto3')
|
|
28
|
+
|
|
29
|
+
_globals = globals()
|
|
30
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
31
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'yandex.cloud.speechsense.v1.analysis.assistants_pb2', _globals)
|
|
32
|
+
if not _descriptor._USE_C_DESCRIPTORS:
|
|
33
|
+
_globals['DESCRIPTOR']._loaded_options = None
|
|
34
|
+
_globals['DESCRIPTOR']._serialized_options = b'\n(yandex.cloud.api.speechsense.v1.analysisB\017AssistantsProtoZTgithub.com/yandex-cloud/go-genproto/yandex/cloud/speechsense/v1/analysis;speechsense'
|
|
35
|
+
_globals['_ASSISTANTS']._serialized_start=95
|
|
36
|
+
_globals['_ASSISTANTS']._serialized_end=189
|
|
37
|
+
_globals['_ASSISTANTRESULT']._serialized_start=191
|
|
38
|
+
_globals['_ASSISTANTRESULT']._serialized_end=307
|
|
39
|
+
_globals['_ASSISTANTFIELDRESULT']._serialized_start=309
|
|
40
|
+
_globals['_ASSISTANTFIELDRESULT']._serialized_end=434
|
|
41
|
+
# @@protoc_insertion_point(module_scope)
|