yandexcloud 0.342.0__py3-none-any.whl → 0.343.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.
Files changed (29) hide show
  1. yandex/cloud/ai/batch_inference/v1/batch_inference_task_pb2.py +14 -7
  2. yandex/cloud/ai/batch_inference/v1/batch_inference_task_pb2.pyi +75 -2
  3. yandex/cloud/ai/tuning/v1/tuning_service_pb2.py +70 -68
  4. yandex/cloud/ai/tuning/v1/tuning_service_pb2.pyi +10 -2
  5. yandex/cloud/certificatemanager/v1/certificate_content_service_pb2.py +28 -9
  6. yandex/cloud/certificatemanager/v1/certificate_content_service_pb2.pyi +70 -0
  7. yandex/cloud/certificatemanager/v1/certificate_content_service_pb2_grpc.py +43 -0
  8. yandex/cloud/certificatemanager/v1/certificate_content_service_pb2_grpc.pyi +17 -0
  9. yandex/cloud/cloudregistry/v1/registry_pb2.py +5 -5
  10. yandex/cloud/cloudregistry/v1/registry_pb2.pyi +4 -0
  11. yandex/cloud/marketplace/pim/v1/saas/product_instance_service_pb2.py +13 -10
  12. yandex/cloud/mdb/kafka/v1/user_pb2.py +3 -3
  13. yandex/cloud/mdb/kafka/v1/user_pb2.pyi +9 -0
  14. yandex/cloud/searchapi/v2/img_search_service_pb2.py +63 -0
  15. yandex/cloud/searchapi/v2/img_search_service_pb2.pyi +240 -0
  16. yandex/cloud/searchapi/v2/img_search_service_pb2_grpc.py +100 -0
  17. yandex/cloud/searchapi/v2/img_search_service_pb2_grpc.pyi +47 -0
  18. yandex/cloud/searchapi/v2/search_query_pb2.py +7 -7
  19. yandex/cloud/searchapi/v2/search_query_pb2.pyi +4 -0
  20. yandex/cloud/serverless/eventrouter/v1/bus_pb2.py +8 -10
  21. yandex/cloud/serverless/eventrouter/v1/connector_pb2.py +10 -8
  22. yandex/cloud/serverless/eventrouter/v1/connector_pb2.pyi +17 -3
  23. yandexcloud/__init__.py +1 -1
  24. {yandexcloud-0.342.0.dist-info → yandexcloud-0.343.0.dist-info}/METADATA +1 -1
  25. {yandexcloud-0.342.0.dist-info → yandexcloud-0.343.0.dist-info}/RECORD +29 -25
  26. {yandexcloud-0.342.0.dist-info → yandexcloud-0.343.0.dist-info}/AUTHORS +0 -0
  27. {yandexcloud-0.342.0.dist-info → yandexcloud-0.343.0.dist-info}/LICENSE +0 -0
  28. {yandexcloud-0.342.0.dist-info → yandexcloud-0.343.0.dist-info}/WHEEL +0 -0
  29. {yandexcloud-0.342.0.dist-info → yandexcloud-0.343.0.dist-info}/top_level.txt +0 -0
@@ -40,6 +40,11 @@ class CertificateContentServiceStub(object):
40
40
  request_serializer=yandex_dot_cloud_dot_certificatemanager_dot_v1_dot_certificate__content__service__pb2.GetCertificateContentRequest.SerializeToString,
41
41
  response_deserializer=yandex_dot_cloud_dot_certificatemanager_dot_v1_dot_certificate__content__service__pb2.GetCertificateContentResponse.FromString,
42
42
  _registered_method=True)
43
+ self.GetEx = channel.unary_unary(
44
+ '/yandex.cloud.certificatemanager.v1.CertificateContentService/GetEx',
45
+ request_serializer=yandex_dot_cloud_dot_certificatemanager_dot_v1_dot_certificate__content__service__pb2.GetExCertificateContentRequest.SerializeToString,
46
+ response_deserializer=yandex_dot_cloud_dot_certificatemanager_dot_v1_dot_certificate__content__service__pb2.GetExCertificateContentResponse.FromString,
47
+ _registered_method=True)
43
48
 
44
49
 
45
50
  class CertificateContentServiceServicer(object):
@@ -53,6 +58,12 @@ class CertificateContentServiceServicer(object):
53
58
  context.set_details('Method not implemented!')
54
59
  raise NotImplementedError('Method not implemented!')
55
60
 
61
+ def GetEx(self, request, context):
62
+ """Missing associated documentation comment in .proto file."""
63
+ context.set_code(grpc.StatusCode.UNIMPLEMENTED)
64
+ context.set_details('Method not implemented!')
65
+ raise NotImplementedError('Method not implemented!')
66
+
56
67
 
57
68
  def add_CertificateContentServiceServicer_to_server(servicer, server):
58
69
  rpc_method_handlers = {
@@ -61,6 +72,11 @@ def add_CertificateContentServiceServicer_to_server(servicer, server):
61
72
  request_deserializer=yandex_dot_cloud_dot_certificatemanager_dot_v1_dot_certificate__content__service__pb2.GetCertificateContentRequest.FromString,
62
73
  response_serializer=yandex_dot_cloud_dot_certificatemanager_dot_v1_dot_certificate__content__service__pb2.GetCertificateContentResponse.SerializeToString,
63
74
  ),
75
+ 'GetEx': grpc.unary_unary_rpc_method_handler(
76
+ servicer.GetEx,
77
+ request_deserializer=yandex_dot_cloud_dot_certificatemanager_dot_v1_dot_certificate__content__service__pb2.GetExCertificateContentRequest.FromString,
78
+ response_serializer=yandex_dot_cloud_dot_certificatemanager_dot_v1_dot_certificate__content__service__pb2.GetExCertificateContentResponse.SerializeToString,
79
+ ),
64
80
  }
65
81
  generic_handler = grpc.method_handlers_generic_handler(
66
82
  'yandex.cloud.certificatemanager.v1.CertificateContentService', rpc_method_handlers)
@@ -99,3 +115,30 @@ class CertificateContentService(object):
99
115
  timeout,
100
116
  metadata,
101
117
  _registered_method=True)
118
+
119
+ @staticmethod
120
+ def GetEx(request,
121
+ target,
122
+ options=(),
123
+ channel_credentials=None,
124
+ call_credentials=None,
125
+ insecure=False,
126
+ compression=None,
127
+ wait_for_ready=None,
128
+ timeout=None,
129
+ metadata=None):
130
+ return grpc.experimental.unary_unary(
131
+ request,
132
+ target,
133
+ '/yandex.cloud.certificatemanager.v1.CertificateContentService/GetEx',
134
+ yandex_dot_cloud_dot_certificatemanager_dot_v1_dot_certificate__content__service__pb2.GetExCertificateContentRequest.SerializeToString,
135
+ yandex_dot_cloud_dot_certificatemanager_dot_v1_dot_certificate__content__service__pb2.GetExCertificateContentResponse.FromString,
136
+ options,
137
+ channel_credentials,
138
+ insecure,
139
+ call_credentials,
140
+ compression,
141
+ wait_for_ready,
142
+ timeout,
143
+ metadata,
144
+ _registered_method=True)
@@ -27,6 +27,11 @@ class CertificateContentServiceStub:
27
27
  ]
28
28
  """Returns chain and private key of the specified certificate."""
29
29
 
30
+ GetEx: grpc.UnaryUnaryMultiCallable[
31
+ yandex.cloud.certificatemanager.v1.certificate_content_service_pb2.GetExCertificateContentRequest,
32
+ yandex.cloud.certificatemanager.v1.certificate_content_service_pb2.GetExCertificateContentResponse,
33
+ ]
34
+
30
35
  class CertificateContentServiceAsyncStub:
31
36
  """A set of methods for managing certificate content."""
32
37
 
@@ -36,6 +41,11 @@ class CertificateContentServiceAsyncStub:
36
41
  ]
37
42
  """Returns chain and private key of the specified certificate."""
38
43
 
44
+ GetEx: grpc.aio.UnaryUnaryMultiCallable[
45
+ yandex.cloud.certificatemanager.v1.certificate_content_service_pb2.GetExCertificateContentRequest,
46
+ yandex.cloud.certificatemanager.v1.certificate_content_service_pb2.GetExCertificateContentResponse,
47
+ ]
48
+
39
49
  class CertificateContentServiceServicer(metaclass=abc.ABCMeta):
40
50
  """A set of methods for managing certificate content."""
41
51
 
@@ -47,4 +57,11 @@ class CertificateContentServiceServicer(metaclass=abc.ABCMeta):
47
57
  ) -> typing.Union[yandex.cloud.certificatemanager.v1.certificate_content_service_pb2.GetCertificateContentResponse, collections.abc.Awaitable[yandex.cloud.certificatemanager.v1.certificate_content_service_pb2.GetCertificateContentResponse]]:
48
58
  """Returns chain and private key of the specified certificate."""
49
59
 
60
+ @abc.abstractmethod
61
+ def GetEx(
62
+ self,
63
+ request: yandex.cloud.certificatemanager.v1.certificate_content_service_pb2.GetExCertificateContentRequest,
64
+ context: _ServicerContext,
65
+ ) -> typing.Union[yandex.cloud.certificatemanager.v1.certificate_content_service_pb2.GetExCertificateContentResponse, collections.abc.Awaitable[yandex.cloud.certificatemanager.v1.certificate_content_service_pb2.GetExCertificateContentResponse]]: ...
66
+
50
67
  def add_CertificateContentServiceServicer_to_server(servicer: CertificateContentServiceServicer, server: typing.Union[grpc.Server, grpc.aio.Server]) -> None: ...
@@ -25,7 +25,7 @@ _sym_db = _symbol_database.Default()
25
25
  from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2
26
26
 
27
27
 
28
- DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n,yandex/cloud/cloudregistry/v1/registry.proto\x12\x1dyandex.cloud.cloudregistry.v1\x1a\x1fgoogle/protobuf/timestamp.proto\"\xae\x06\n\x08Registry\x12\n\n\x02id\x18\x01 \x01(\t\x12\x11\n\tfolder_id\x18\x02 \x01(\t\x12\x0c\n\x04name\x18\x03 \x01(\t\x12:\n\x04kind\x18\x04 \x01(\x0e\x32,.yandex.cloud.cloudregistry.v1.Registry.Kind\x12:\n\x04type\x18\x05 \x01(\x0e\x32,.yandex.cloud.cloudregistry.v1.Registry.Type\x12>\n\x06status\x18\x06 \x01(\x0e\x32..yandex.cloud.cloudregistry.v1.Registry.Status\x12\x13\n\x0b\x64\x65scription\x18\x07 \x01(\t\x12\x43\n\x06labels\x18\x08 \x03(\x0b\x32\x33.yandex.cloud.cloudregistry.v1.Registry.LabelsEntry\x12K\n\nproperties\x18\t \x03(\x0b\x32\x37.yandex.cloud.cloudregistry.v1.Registry.PropertiesEntry\x12.\n\ncreated_at\x18\n \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12/\n\x0bmodified_at\x18\x0b \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a\x31\n\x0fPropertiesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"H\n\x06Status\x12\x16\n\x12STATUS_UNSPECIFIED\x10\x00\x12\x0c\n\x08\x43REATING\x10\x01\x12\n\n\x06\x41\x43TIVE\x10\x02\x12\x0c\n\x08\x44\x45LETING\x10\x03\"G\n\x04Kind\x12\x14\n\x10KIND_UNSPECIFIED\x10\x00\x12\t\n\x05MAVEN\x10\x01\x12\x07\n\x03NPM\x10\x02\x12\n\n\x06\x44OCKER\x10\x03\x12\t\n\x05NUGET\x10\x04\"@\n\x04Type\x12\x14\n\x10TYPE_UNSPECIFIED\x10\x00\x12\t\n\x05LOCAL\x10\x01\x12\n\n\x06REMOTE\x10\x02\x12\x0b\n\x07VIRTUAL\x10\x03\x42t\n!yandex.cloud.api.cloudregistry.v1ZOgithub.com/yandex-cloud/go-genproto/yandex/cloud/cloudregistry/v1;cloudregistryb\x06proto3')
28
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n,yandex/cloud/cloudregistry/v1/registry.proto\x12\x1dyandex.cloud.cloudregistry.v1\x1a\x1fgoogle/protobuf/timestamp.proto\"\xba\x06\n\x08Registry\x12\n\n\x02id\x18\x01 \x01(\t\x12\x11\n\tfolder_id\x18\x02 \x01(\t\x12\x0c\n\x04name\x18\x03 \x01(\t\x12:\n\x04kind\x18\x04 \x01(\x0e\x32,.yandex.cloud.cloudregistry.v1.Registry.Kind\x12:\n\x04type\x18\x05 \x01(\x0e\x32,.yandex.cloud.cloudregistry.v1.Registry.Type\x12>\n\x06status\x18\x06 \x01(\x0e\x32..yandex.cloud.cloudregistry.v1.Registry.Status\x12\x13\n\x0b\x64\x65scription\x18\x07 \x01(\t\x12\x43\n\x06labels\x18\x08 \x03(\x0b\x32\x33.yandex.cloud.cloudregistry.v1.Registry.LabelsEntry\x12K\n\nproperties\x18\t \x03(\x0b\x32\x37.yandex.cloud.cloudregistry.v1.Registry.PropertiesEntry\x12.\n\ncreated_at\x18\n \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12/\n\x0bmodified_at\x18\x0b \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a\x31\n\x0fPropertiesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"H\n\x06Status\x12\x16\n\x12STATUS_UNSPECIFIED\x10\x00\x12\x0c\n\x08\x43REATING\x10\x01\x12\n\n\x06\x41\x43TIVE\x10\x02\x12\x0c\n\x08\x44\x45LETING\x10\x03\"S\n\x04Kind\x12\x14\n\x10KIND_UNSPECIFIED\x10\x00\x12\t\n\x05MAVEN\x10\x01\x12\x07\n\x03NPM\x10\x02\x12\n\n\x06\x44OCKER\x10\x03\x12\t\n\x05NUGET\x10\x04\x12\n\n\x06\x44\x45\x42IAN\x10\x05\"@\n\x04Type\x12\x14\n\x10TYPE_UNSPECIFIED\x10\x00\x12\t\n\x05LOCAL\x10\x01\x12\n\n\x06REMOTE\x10\x02\x12\x0b\n\x07VIRTUAL\x10\x03\x42t\n!yandex.cloud.api.cloudregistry.v1ZOgithub.com/yandex-cloud/go-genproto/yandex/cloud/cloudregistry/v1;cloudregistryb\x06proto3')
29
29
 
30
30
  _globals = globals()
31
31
  _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
@@ -38,7 +38,7 @@ if not _descriptor._USE_C_DESCRIPTORS:
38
38
  _globals['_REGISTRY_PROPERTIESENTRY']._loaded_options = None
39
39
  _globals['_REGISTRY_PROPERTIESENTRY']._serialized_options = b'8\001'
40
40
  _globals['_REGISTRY']._serialized_start=113
41
- _globals['_REGISTRY']._serialized_end=927
41
+ _globals['_REGISTRY']._serialized_end=939
42
42
  _globals['_REGISTRY_LABELSENTRY']._serialized_start=618
43
43
  _globals['_REGISTRY_LABELSENTRY']._serialized_end=663
44
44
  _globals['_REGISTRY_PROPERTIESENTRY']._serialized_start=665
@@ -46,7 +46,7 @@ if not _descriptor._USE_C_DESCRIPTORS:
46
46
  _globals['_REGISTRY_STATUS']._serialized_start=716
47
47
  _globals['_REGISTRY_STATUS']._serialized_end=788
48
48
  _globals['_REGISTRY_KIND']._serialized_start=790
49
- _globals['_REGISTRY_KIND']._serialized_end=861
50
- _globals['_REGISTRY_TYPE']._serialized_start=863
51
- _globals['_REGISTRY_TYPE']._serialized_end=927
49
+ _globals['_REGISTRY_KIND']._serialized_end=873
50
+ _globals['_REGISTRY_TYPE']._serialized_start=875
51
+ _globals['_REGISTRY_TYPE']._serialized_end=939
52
52
  # @@protoc_insertion_point(module_scope)
@@ -64,6 +64,8 @@ class Registry(google.protobuf.message.Message):
64
64
  """Registry kind is docker."""
65
65
  NUGET: Registry._Kind.ValueType # 4
66
66
  """Registry kind is nuget."""
67
+ DEBIAN: Registry._Kind.ValueType # 5
68
+ """Registry kind is debian."""
67
69
 
68
70
  class Kind(_Kind, metaclass=_KindEnumTypeWrapper): ...
69
71
  KIND_UNSPECIFIED: Registry.Kind.ValueType # 0
@@ -75,6 +77,8 @@ class Registry(google.protobuf.message.Message):
75
77
  """Registry kind is docker."""
76
78
  NUGET: Registry.Kind.ValueType # 4
77
79
  """Registry kind is nuget."""
80
+ DEBIAN: Registry.Kind.ValueType # 5
81
+ """Registry kind is debian."""
78
82
 
79
83
  class _Type:
80
84
  ValueType = typing.NewType("ValueType", builtins.int)
@@ -22,13 +22,14 @@ _runtime_version.ValidateProtobufRuntimeVersion(
22
22
  _sym_db = _symbol_database.Default()
23
23
 
24
24
 
25
+ from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2
25
26
  from yandex.cloud.api import operation_pb2 as yandex_dot_cloud_dot_api_dot_operation__pb2
26
27
  from yandex.cloud.operation import operation_pb2 as yandex_dot_cloud_dot_operation_dot_operation__pb2
27
28
  from yandex.cloud import validation_pb2 as yandex_dot_cloud_dot_validation__pb2
28
29
  from yandex.cloud.marketplace.pim.v1.saas import product_instance_pb2 as yandex_dot_cloud_dot_marketplace_dot_pim_dot_v1_dot_saas_dot_product__instance__pb2
29
30
 
30
31
 
31
- DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\nCyandex/cloud/marketplace/pim/v1/saas/product_instance_service.proto\x12$yandex.cloud.marketplace.pim.v1.saas\x1a yandex/cloud/api/operation.proto\x1a&yandex/cloud/operation/operation.proto\x1a\x1dyandex/cloud/validation.proto\x1a;yandex/cloud/marketplace/pim/v1/saas/product_instance.proto\"F\n\x19GetProductInstanceRequest\x12)\n\x13product_instance_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\"\x98\x01\n\x1b\x43laimProductInstanceRequest\x12\x1d\n\x05token\x18\x01 \x01(\tB\x0e\xe8\xc7\x31\x01\x8a\xc8\x31\x06<=1000\x12\x13\n\x0bresource_id\x18\x02 \x01(\t\x12\x45\n\rresource_info\x18\x03 \x01(\x0b\x32..yandex.cloud.marketplace.pim.v1.saas.SaasInfo\"l\n\x1c\x43laimProductInstanceMetadata\x12\x12\n\nproduct_id\x18\x01 \x01(\t\x12\x1b\n\x13product_instance_id\x18\x02 \x01(\t\x12\x1b\n\x13license_instance_id\x18\x03 \x01(\t2\xbc\x02\n\x16ProductInstanceService\x12}\n\x03Get\x12?.yandex.cloud.marketplace.pim.v1.saas.GetProductInstanceRequest\x1a\x35.yandex.cloud.marketplace.pim.v1.saas.ProductInstance\x12\xa2\x01\n\x05\x43laim\x12\x41.yandex.cloud.marketplace.pim.v1.saas.ClaimProductInstanceRequest\x1a!.yandex.cloud.operation.Operation\"3\xb2\xd2*/\n\x1c\x43laimProductInstanceMetadata\x12\x0fProductInstanceBy\n(yandex.cloud.api.marketplace.pim.v1.saasZMgithub.com/yandex-cloud/go-genproto/yandex/cloud/marketplace/pim/v1/saas;saasb\x06proto3')
32
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\nCyandex/cloud/marketplace/pim/v1/saas/product_instance_service.proto\x12$yandex.cloud.marketplace.pim.v1.saas\x1a\x1cgoogle/api/annotations.proto\x1a yandex/cloud/api/operation.proto\x1a&yandex/cloud/operation/operation.proto\x1a\x1dyandex/cloud/validation.proto\x1a;yandex/cloud/marketplace/pim/v1/saas/product_instance.proto\"F\n\x19GetProductInstanceRequest\x12)\n\x13product_instance_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\"\x98\x01\n\x1b\x43laimProductInstanceRequest\x12\x1d\n\x05token\x18\x01 \x01(\tB\x0e\xe8\xc7\x31\x01\x8a\xc8\x31\x06<=1000\x12\x13\n\x0bresource_id\x18\x02 \x01(\t\x12\x45\n\rresource_info\x18\x03 \x01(\x0b\x32..yandex.cloud.marketplace.pim.v1.saas.SaasInfo\"l\n\x1c\x43laimProductInstanceMetadata\x12\x12\n\nproduct_id\x18\x01 \x01(\t\x12\x1b\n\x13product_instance_id\x18\x02 \x01(\t\x12\x1b\n\x13license_instance_id\x18\x03 \x01(\t2\xb2\x03\n\x16ProductInstanceService\x12\xbf\x01\n\x03Get\x12?.yandex.cloud.marketplace.pim.v1.saas.GetProductInstanceRequest\x1a\x35.yandex.cloud.marketplace.pim.v1.saas.ProductInstance\"@\x82\xd3\xe4\x93\x02:\x12\x38/marketplace/pim/saas/v1/instances/{product_instance_id}\x12\xd5\x01\n\x05\x43laim\x12\x41.yandex.cloud.marketplace.pim.v1.saas.ClaimProductInstanceRequest\x1a!.yandex.cloud.operation.Operation\"f\xb2\xd2*/\n\x1c\x43laimProductInstanceMetadata\x12\x0fProductInstance\x82\xd3\xe4\x93\x02-\"(/marketplace/pim/saas/v1/instances/claim:\x01*By\n(yandex.cloud.api.marketplace.pim.v1.saasZMgithub.com/yandex-cloud/go-genproto/yandex/cloud/marketplace/pim/v1/saas;saasb\x06proto3')
32
33
 
33
34
  _globals = globals()
34
35
  _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
@@ -40,14 +41,16 @@ if not _descriptor._USE_C_DESCRIPTORS:
40
41
  _globals['_GETPRODUCTINSTANCEREQUEST'].fields_by_name['product_instance_id']._serialized_options = b'\350\3071\001\212\3101\004<=50'
41
42
  _globals['_CLAIMPRODUCTINSTANCEREQUEST'].fields_by_name['token']._loaded_options = None
42
43
  _globals['_CLAIMPRODUCTINSTANCEREQUEST'].fields_by_name['token']._serialized_options = b'\350\3071\001\212\3101\006<=1000'
44
+ _globals['_PRODUCTINSTANCESERVICE'].methods_by_name['Get']._loaded_options = None
45
+ _globals['_PRODUCTINSTANCESERVICE'].methods_by_name['Get']._serialized_options = b'\202\323\344\223\002:\0228/marketplace/pim/saas/v1/instances/{product_instance_id}'
43
46
  _globals['_PRODUCTINSTANCESERVICE'].methods_by_name['Claim']._loaded_options = None
44
- _globals['_PRODUCTINSTANCESERVICE'].methods_by_name['Claim']._serialized_options = b'\262\322*/\n\034ClaimProductInstanceMetadata\022\017ProductInstance'
45
- _globals['_GETPRODUCTINSTANCEREQUEST']._serialized_start=275
46
- _globals['_GETPRODUCTINSTANCEREQUEST']._serialized_end=345
47
- _globals['_CLAIMPRODUCTINSTANCEREQUEST']._serialized_start=348
48
- _globals['_CLAIMPRODUCTINSTANCEREQUEST']._serialized_end=500
49
- _globals['_CLAIMPRODUCTINSTANCEMETADATA']._serialized_start=502
50
- _globals['_CLAIMPRODUCTINSTANCEMETADATA']._serialized_end=610
51
- _globals['_PRODUCTINSTANCESERVICE']._serialized_start=613
52
- _globals['_PRODUCTINSTANCESERVICE']._serialized_end=929
47
+ _globals['_PRODUCTINSTANCESERVICE'].methods_by_name['Claim']._serialized_options = b'\262\322*/\n\034ClaimProductInstanceMetadata\022\017ProductInstance\202\323\344\223\002-\"(/marketplace/pim/saas/v1/instances/claim:\001*'
48
+ _globals['_GETPRODUCTINSTANCEREQUEST']._serialized_start=305
49
+ _globals['_GETPRODUCTINSTANCEREQUEST']._serialized_end=375
50
+ _globals['_CLAIMPRODUCTINSTANCEREQUEST']._serialized_start=378
51
+ _globals['_CLAIMPRODUCTINSTANCEREQUEST']._serialized_end=530
52
+ _globals['_CLAIMPRODUCTINSTANCEMETADATA']._serialized_start=532
53
+ _globals['_CLAIMPRODUCTINSTANCEMETADATA']._serialized_end=640
54
+ _globals['_PRODUCTINSTANCESERVICE']._serialized_start=643
55
+ _globals['_PRODUCTINSTANCESERVICE']._serialized_end=1077
53
56
  # @@protoc_insertion_point(module_scope)
@@ -25,7 +25,7 @@ _sym_db = _symbol_database.Default()
25
25
  from yandex.cloud import validation_pb2 as yandex_dot_cloud_dot_validation__pb2
26
26
 
27
27
 
28
- DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n$yandex/cloud/mdb/kafka/v1/user.proto\x12\x19yandex.cloud.mdb.kafka.v1\x1a\x1dyandex/cloud/validation.proto\"d\n\x04User\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x12\n\ncluster_id\x18\x02 \x01(\t\x12:\n\x0bpermissions\x18\x03 \x03(\x0b\x32%.yandex.cloud.mdb.kafka.v1.Permission\"\x95\x01\n\x08UserSpec\x12,\n\x04name\x18\x01 \x01(\tB\x1e\xe8\xc7\x31\x01\xf2\xc7\x31\r[a-zA-Z0-9_]*\x8a\xc8\x31\x05\x31-256\x12\x1f\n\x08password\x18\x02 \x01(\tB\r\xe8\xc7\x31\x01\x8a\xc8\x31\x05\x38-128\x12:\n\x0bpermissions\x18\x03 \x03(\x0b\x32%.yandex.cloud.mdb.kafka.v1.Permission\"\x8f\x02\n\nPermission\x12\x12\n\ntopic_name\x18\x01 \x01(\t\x12>\n\x04role\x18\x02 \x01(\x0e\x32\x30.yandex.cloud.mdb.kafka.v1.Permission.AccessRole\x12\x13\n\x0b\x61llow_hosts\x18\x04 \x03(\t\"\x91\x01\n\nAccessRole\x12\x1b\n\x17\x41\x43\x43\x45SS_ROLE_UNSPECIFIED\x10\x00\x12\x18\n\x14\x41\x43\x43\x45SS_ROLE_PRODUCER\x10\x01\x12\x18\n\x14\x41\x43\x43\x45SS_ROLE_CONSUMER\x10\x02\x12\x15\n\x11\x41\x43\x43\x45SS_ROLE_ADMIN\x10\x03\x12\x1b\n\x17\x41\x43\x43\x45SS_ROLE_TOPIC_ADMIN\x10\x04J\x04\x08\x03\x10\x04\x42\x64\n\x1dyandex.cloud.api.mdb.kafka.v1ZCgithub.com/yandex-cloud/go-genproto/yandex/cloud/mdb/kafka/v1;kafkab\x06proto3')
28
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n$yandex/cloud/mdb/kafka/v1/user.proto\x12\x19yandex.cloud.mdb.kafka.v1\x1a\x1dyandex/cloud/validation.proto\"d\n\x04User\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x12\n\ncluster_id\x18\x02 \x01(\t\x12:\n\x0bpermissions\x18\x03 \x03(\x0b\x32%.yandex.cloud.mdb.kafka.v1.Permission\"\x95\x01\n\x08UserSpec\x12,\n\x04name\x18\x01 \x01(\tB\x1e\xe8\xc7\x31\x01\xf2\xc7\x31\r[a-zA-Z0-9_]*\x8a\xc8\x31\x05\x31-256\x12\x1f\n\x08password\x18\x02 \x01(\tB\r\xe8\xc7\x31\x01\x8a\xc8\x31\x05\x38-128\x12:\n\x0bpermissions\x18\x03 \x03(\x0b\x32%.yandex.cloud.mdb.kafka.v1.Permission\"\x8d\x03\n\nPermission\x12\x12\n\ntopic_name\x18\x01 \x01(\t\x12>\n\x04role\x18\x02 \x01(\x0e\x32\x30.yandex.cloud.mdb.kafka.v1.Permission.AccessRole\x12\x13\n\x0b\x61llow_hosts\x18\x04 \x03(\t\"\x8f\x02\n\nAccessRole\x12\x1b\n\x17\x41\x43\x43\x45SS_ROLE_UNSPECIFIED\x10\x00\x12\x18\n\x14\x41\x43\x43\x45SS_ROLE_PRODUCER\x10\x01\x12\x18\n\x14\x41\x43\x43\x45SS_ROLE_CONSUMER\x10\x02\x12\x15\n\x11\x41\x43\x43\x45SS_ROLE_ADMIN\x10\x03\x12\x1b\n\x17\x41\x43\x43\x45SS_ROLE_TOPIC_ADMIN\x10\x04\x12\x1e\n\x1a\x41\x43\x43\x45SS_ROLE_TOPIC_PRODUCER\x10\x05\x12\x1e\n\x1a\x41\x43\x43\x45SS_ROLE_TOPIC_CONSUMER\x10\x06\x12\x1d\n\x19\x41\x43\x43\x45SS_ROLE_SCHEMA_READER\x10\x07\x12\x1d\n\x19\x41\x43\x43\x45SS_ROLE_SCHEMA_WRITER\x10\x08J\x04\x08\x03\x10\x04\x42\x64\n\x1dyandex.cloud.api.mdb.kafka.v1ZCgithub.com/yandex-cloud/go-genproto/yandex/cloud/mdb/kafka/v1;kafkab\x06proto3')
29
29
 
30
30
  _globals = globals()
31
31
  _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
@@ -42,7 +42,7 @@ if not _descriptor._USE_C_DESCRIPTORS:
42
42
  _globals['_USERSPEC']._serialized_start=201
43
43
  _globals['_USERSPEC']._serialized_end=350
44
44
  _globals['_PERMISSION']._serialized_start=353
45
- _globals['_PERMISSION']._serialized_end=624
45
+ _globals['_PERMISSION']._serialized_end=750
46
46
  _globals['_PERMISSION_ACCESSROLE']._serialized_start=473
47
- _globals['_PERMISSION_ACCESSROLE']._serialized_end=618
47
+ _globals['_PERMISSION_ACCESSROLE']._serialized_end=744
48
48
  # @@protoc_insertion_point(module_scope)
@@ -97,6 +97,10 @@ class Permission(google.protobuf.message.Message):
97
97
  """Admin role for the user."""
98
98
  ACCESS_ROLE_TOPIC_ADMIN: Permission._AccessRole.ValueType # 4
99
99
  """Admin permissions on topics role for the user."""
100
+ ACCESS_ROLE_TOPIC_PRODUCER: Permission._AccessRole.ValueType # 5
101
+ ACCESS_ROLE_TOPIC_CONSUMER: Permission._AccessRole.ValueType # 6
102
+ ACCESS_ROLE_SCHEMA_READER: Permission._AccessRole.ValueType # 7
103
+ ACCESS_ROLE_SCHEMA_WRITER: Permission._AccessRole.ValueType # 8
100
104
 
101
105
  class AccessRole(_AccessRole, metaclass=_AccessRoleEnumTypeWrapper): ...
102
106
  ACCESS_ROLE_UNSPECIFIED: Permission.AccessRole.ValueType # 0
@@ -108,12 +112,17 @@ class Permission(google.protobuf.message.Message):
108
112
  """Admin role for the user."""
109
113
  ACCESS_ROLE_TOPIC_ADMIN: Permission.AccessRole.ValueType # 4
110
114
  """Admin permissions on topics role for the user."""
115
+ ACCESS_ROLE_TOPIC_PRODUCER: Permission.AccessRole.ValueType # 5
116
+ ACCESS_ROLE_TOPIC_CONSUMER: Permission.AccessRole.ValueType # 6
117
+ ACCESS_ROLE_SCHEMA_READER: Permission.AccessRole.ValueType # 7
118
+ ACCESS_ROLE_SCHEMA_WRITER: Permission.AccessRole.ValueType # 8
111
119
 
112
120
  TOPIC_NAME_FIELD_NUMBER: builtins.int
113
121
  ROLE_FIELD_NUMBER: builtins.int
114
122
  ALLOW_HOSTS_FIELD_NUMBER: builtins.int
115
123
  topic_name: builtins.str
116
124
  """Name or prefix-pattern with wildcard for the topic that the permission grants access to.
125
+ With roles SCHEMA_READER and SCHEMA_WRITER: string that contains set of schema registry subjects, separated by ';'.
117
126
 
118
127
  To get the topic name, make a [TopicService.List] request.
119
128
  """
@@ -0,0 +1,63 @@
1
+ # -*- coding: utf-8 -*-
2
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
3
+ # NO CHECKED-IN PROTOBUF GENCODE
4
+ # source: yandex/cloud/searchapi/v2/img_search_service.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/searchapi/v2/img_search_service.proto'
19
+ )
20
+ # @@protoc_insertion_point(imports)
21
+
22
+ _sym_db = _symbol_database.Default()
23
+
24
+
25
+ from yandex.cloud import validation_pb2 as yandex_dot_cloud_dot_validation__pb2
26
+ from yandex.cloud.searchapi.v2 import search_query_pb2 as yandex_dot_cloud_dot_searchapi_dot_v2_dot_search__query__pb2
27
+
28
+
29
+ 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\"\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<=200\"-\n\x13ImageSearchResponse\x12\x16\n\x08raw_data\x18\x01 \x01(\x0c\x42\x04\xe8\xc7\x31\x01\x32\x7f\n\x12ImageSearchService\x12i\n\x06Search\x12-.yandex.cloud.searchapi.v2.ImageSearchRequest\x1a..yandex.cloud.searchapi.v2.ImageSearchResponse\"\x00\x42\x65\n\x1ayandex.cloud.api.search.v2ZGgithub.com/yandex-cloud/go-genproto/yandex/cloud/searchapi/v2;searchapib\x06proto3')
30
+
31
+ _globals = globals()
32
+ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
33
+ _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'yandex.cloud.searchapi.v2.img_search_service_pb2', _globals)
34
+ if not _descriptor._USE_C_DESCRIPTORS:
35
+ _globals['DESCRIPTOR']._loaded_options = None
36
+ _globals['DESCRIPTOR']._serialized_options = b'\n\032yandex.cloud.api.search.v2ZGgithub.com/yandex-cloud/go-genproto/yandex/cloud/searchapi/v2;searchapi'
37
+ _globals['_IMAGESEARCHREQUEST'].fields_by_name['query']._loaded_options = None
38
+ _globals['_IMAGESEARCHREQUEST'].fields_by_name['query']._serialized_options = b'\350\3071\001'
39
+ _globals['_IMAGESEARCHREQUEST'].fields_by_name['docs_on_page']._loaded_options = None
40
+ _globals['_IMAGESEARCHREQUEST'].fields_by_name['docs_on_page']._serialized_options = b'\372\3071\0051-100'
41
+ _globals['_IMAGESEARCHREQUEST'].fields_by_name['folder_id']._loaded_options = None
42
+ _globals['_IMAGESEARCHREQUEST'].fields_by_name['folder_id']._serialized_options = b'\212\3101\004<=50'
43
+ _globals['_IMAGESEARCHREQUEST'].fields_by_name['user_agent']._loaded_options = None
44
+ _globals['_IMAGESEARCHREQUEST'].fields_by_name['user_agent']._serialized_options = b'\212\3101\005<=200'
45
+ _globals['_IMAGESEARCHRESPONSE'].fields_by_name['raw_data']._loaded_options = None
46
+ _globals['_IMAGESEARCHRESPONSE'].fields_by_name['raw_data']._serialized_options = b'\350\3071\001'
47
+ _globals['_IMAGESPEC']._serialized_start=159
48
+ _globals['_IMAGESPEC']._serialized_end=1183
49
+ _globals['_IMAGESPEC_IMAGEFORMAT']._serialized_start=440
50
+ _globals['_IMAGESPEC_IMAGEFORMAT']._serialized_end=550
51
+ _globals['_IMAGESPEC_IMAGEORIENTATION']._serialized_start=553
52
+ _globals['_IMAGESPEC_IMAGEORIENTATION']._serialized_end=702
53
+ _globals['_IMAGESPEC_IMAGESIZE']._serialized_start=705
54
+ _globals['_IMAGESPEC_IMAGESIZE']._serialized_end=883
55
+ _globals['_IMAGESPEC_IMAGECOLOR']._serialized_start=886
56
+ _globals['_IMAGESPEC_IMAGECOLOR']._serialized_end=1183
57
+ _globals['_IMAGESEARCHREQUEST']._serialized_start=1186
58
+ _globals['_IMAGESEARCHREQUEST']._serialized_end=1432
59
+ _globals['_IMAGESEARCHRESPONSE']._serialized_start=1434
60
+ _globals['_IMAGESEARCHRESPONSE']._serialized_end=1479
61
+ _globals['_IMAGESEARCHSERVICE']._serialized_start=1481
62
+ _globals['_IMAGESEARCHSERVICE']._serialized_end=1608
63
+ # @@protoc_insertion_point(module_scope)
@@ -0,0 +1,240 @@
1
+ """
2
+ @generated by mypy-protobuf. Do not edit manually!
3
+ isort:skip_file
4
+ """
5
+
6
+ import builtins
7
+ import google.protobuf.descriptor
8
+ import google.protobuf.internal.enum_type_wrapper
9
+ import google.protobuf.message
10
+ import sys
11
+ import typing
12
+ import yandex.cloud.searchapi.v2.search_query_pb2
13
+
14
+ if sys.version_info >= (3, 10):
15
+ import typing as typing_extensions
16
+ else:
17
+ import typing_extensions
18
+
19
+ DESCRIPTOR: google.protobuf.descriptor.FileDescriptor
20
+
21
+ @typing.final
22
+ class ImageSpec(google.protobuf.message.Message):
23
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
24
+
25
+ class _ImageFormat:
26
+ ValueType = typing.NewType("ValueType", builtins.int)
27
+ V: typing_extensions.TypeAlias = ValueType
28
+
29
+ class _ImageFormatEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[ImageSpec._ImageFormat.ValueType], builtins.type):
30
+ DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor
31
+ IMAGE_FORMAT_UNSPECIFIED: ImageSpec._ImageFormat.ValueType # 0
32
+ IMAGE_FORMAT_JPEG: ImageSpec._ImageFormat.ValueType # 1
33
+ """JPG format."""
34
+ IMAGE_FORMAT_GIF: ImageSpec._ImageFormat.ValueType # 2
35
+ """GIF format."""
36
+ IMAGE_FORMAT_PNG: ImageSpec._ImageFormat.ValueType # 3
37
+ """PNG format."""
38
+
39
+ class ImageFormat(_ImageFormat, metaclass=_ImageFormatEnumTypeWrapper): ...
40
+ IMAGE_FORMAT_UNSPECIFIED: ImageSpec.ImageFormat.ValueType # 0
41
+ IMAGE_FORMAT_JPEG: ImageSpec.ImageFormat.ValueType # 1
42
+ """JPG format."""
43
+ IMAGE_FORMAT_GIF: ImageSpec.ImageFormat.ValueType # 2
44
+ """GIF format."""
45
+ IMAGE_FORMAT_PNG: ImageSpec.ImageFormat.ValueType # 3
46
+ """PNG format."""
47
+
48
+ class _ImageOrientation:
49
+ ValueType = typing.NewType("ValueType", builtins.int)
50
+ V: typing_extensions.TypeAlias = ValueType
51
+
52
+ class _ImageOrientationEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[ImageSpec._ImageOrientation.ValueType], builtins.type):
53
+ DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor
54
+ IMAGE_ORIENTATION_UNSPECIFIED: ImageSpec._ImageOrientation.ValueType # 0
55
+ IMAGE_ORIENTATION_VERTICAL: ImageSpec._ImageOrientation.ValueType # 1
56
+ """Horizontal orientation."""
57
+ IMAGE_ORIENTATION_HORIZONTAL: ImageSpec._ImageOrientation.ValueType # 2
58
+ """Vertical orientation."""
59
+ IMAGE_ORIENTATION_SQUARE: ImageSpec._ImageOrientation.ValueType # 3
60
+ """Square aspect ratio."""
61
+
62
+ class ImageOrientation(_ImageOrientation, metaclass=_ImageOrientationEnumTypeWrapper): ...
63
+ IMAGE_ORIENTATION_UNSPECIFIED: ImageSpec.ImageOrientation.ValueType # 0
64
+ IMAGE_ORIENTATION_VERTICAL: ImageSpec.ImageOrientation.ValueType # 1
65
+ """Horizontal orientation."""
66
+ IMAGE_ORIENTATION_HORIZONTAL: ImageSpec.ImageOrientation.ValueType # 2
67
+ """Vertical orientation."""
68
+ IMAGE_ORIENTATION_SQUARE: ImageSpec.ImageOrientation.ValueType # 3
69
+ """Square aspect ratio."""
70
+
71
+ class _ImageSize:
72
+ ValueType = typing.NewType("ValueType", builtins.int)
73
+ V: typing_extensions.TypeAlias = ValueType
74
+
75
+ class _ImageSizeEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[ImageSpec._ImageSize.ValueType], builtins.type):
76
+ DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor
77
+ IMAGE_SIZE_UNSPECIFIED: ImageSpec._ImageSize.ValueType # 0
78
+ IMAGE_SIZE_ENORMOUS: ImageSpec._ImageSize.ValueType # 1
79
+ """Very large images (larger than 1,600 × 1,200 pixels)."""
80
+ IMAGE_SIZE_LARGE: ImageSpec._ImageSize.ValueType # 2
81
+ """Large images (from 800 × 600 to 1,600 × 1,200 pixels)."""
82
+ IMAGE_SIZE_MEDIUM: ImageSpec._ImageSize.ValueType # 3
83
+ """Medium images (from 150 × 150 to 800 × 600 pixels)."""
84
+ IMAGE_SIZE_SMALL: ImageSpec._ImageSize.ValueType # 4
85
+ """Small images (from 32 × 32 to 150 × 150 pixels)."""
86
+ IMAGE_SIZE_TINY: ImageSpec._ImageSize.ValueType # 5
87
+ """Icons (up to 32 × 32 pixels)."""
88
+ IMAGE_SIZE_WALLPAPER: ImageSpec._ImageSize.ValueType # 6
89
+ """Desktop wallpapers."""
90
+
91
+ class ImageSize(_ImageSize, metaclass=_ImageSizeEnumTypeWrapper): ...
92
+ IMAGE_SIZE_UNSPECIFIED: ImageSpec.ImageSize.ValueType # 0
93
+ IMAGE_SIZE_ENORMOUS: ImageSpec.ImageSize.ValueType # 1
94
+ """Very large images (larger than 1,600 × 1,200 pixels)."""
95
+ IMAGE_SIZE_LARGE: ImageSpec.ImageSize.ValueType # 2
96
+ """Large images (from 800 × 600 to 1,600 × 1,200 pixels)."""
97
+ IMAGE_SIZE_MEDIUM: ImageSpec.ImageSize.ValueType # 3
98
+ """Medium images (from 150 × 150 to 800 × 600 pixels)."""
99
+ IMAGE_SIZE_SMALL: ImageSpec.ImageSize.ValueType # 4
100
+ """Small images (from 32 × 32 to 150 × 150 pixels)."""
101
+ IMAGE_SIZE_TINY: ImageSpec.ImageSize.ValueType # 5
102
+ """Icons (up to 32 × 32 pixels)."""
103
+ IMAGE_SIZE_WALLPAPER: ImageSpec.ImageSize.ValueType # 6
104
+ """Desktop wallpapers."""
105
+
106
+ class _ImageColor:
107
+ ValueType = typing.NewType("ValueType", builtins.int)
108
+ V: typing_extensions.TypeAlias = ValueType
109
+
110
+ class _ImageColorEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[ImageSpec._ImageColor.ValueType], builtins.type):
111
+ DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor
112
+ IMAGE_COLOR_UNSPECIFIED: ImageSpec._ImageColor.ValueType # 0
113
+ IMAGE_COLOR_COLOR: ImageSpec._ImageColor.ValueType # 1
114
+ """Color images."""
115
+ IMAGE_COLOR_GRAYSCALE: ImageSpec._ImageColor.ValueType # 2
116
+ """Black and white images."""
117
+ IMAGE_COLOR_RED: ImageSpec._ImageColor.ValueType # 3
118
+ """Red is the main color of the image."""
119
+ IMAGE_COLOR_ORANGE: ImageSpec._ImageColor.ValueType # 4
120
+ """Orange is the main color of the image."""
121
+ IMAGE_COLOR_YELLOW: ImageSpec._ImageColor.ValueType # 5
122
+ """Yellow is the main color of the image."""
123
+ IMAGE_COLOR_GREEN: ImageSpec._ImageColor.ValueType # 6
124
+ """Green is the main color of the image."""
125
+ IMAGE_COLOR_CYAN: ImageSpec._ImageColor.ValueType # 7
126
+ """Cyan is the main color of the image."""
127
+ IMAGE_COLOR_BLUE: ImageSpec._ImageColor.ValueType # 8
128
+ """Blue is the main color of the image."""
129
+ IMAGE_COLOR_VIOLET: ImageSpec._ImageColor.ValueType # 9
130
+ """Violet is the main color of the image."""
131
+ IMAGE_COLOR_WHITE: ImageSpec._ImageColor.ValueType # 10
132
+ """White is the main color of the image."""
133
+ IMAGE_COLOR_BLACK: ImageSpec._ImageColor.ValueType # 11
134
+ """Black is the main color of the image."""
135
+
136
+ class ImageColor(_ImageColor, metaclass=_ImageColorEnumTypeWrapper): ...
137
+ IMAGE_COLOR_UNSPECIFIED: ImageSpec.ImageColor.ValueType # 0
138
+ IMAGE_COLOR_COLOR: ImageSpec.ImageColor.ValueType # 1
139
+ """Color images."""
140
+ IMAGE_COLOR_GRAYSCALE: ImageSpec.ImageColor.ValueType # 2
141
+ """Black and white images."""
142
+ IMAGE_COLOR_RED: ImageSpec.ImageColor.ValueType # 3
143
+ """Red is the main color of the image."""
144
+ IMAGE_COLOR_ORANGE: ImageSpec.ImageColor.ValueType # 4
145
+ """Orange is the main color of the image."""
146
+ IMAGE_COLOR_YELLOW: ImageSpec.ImageColor.ValueType # 5
147
+ """Yellow is the main color of the image."""
148
+ IMAGE_COLOR_GREEN: ImageSpec.ImageColor.ValueType # 6
149
+ """Green is the main color of the image."""
150
+ IMAGE_COLOR_CYAN: ImageSpec.ImageColor.ValueType # 7
151
+ """Cyan is the main color of the image."""
152
+ IMAGE_COLOR_BLUE: ImageSpec.ImageColor.ValueType # 8
153
+ """Blue is the main color of the image."""
154
+ IMAGE_COLOR_VIOLET: ImageSpec.ImageColor.ValueType # 9
155
+ """Violet is the main color of the image."""
156
+ IMAGE_COLOR_WHITE: ImageSpec.ImageColor.ValueType # 10
157
+ """White is the main color of the image."""
158
+ IMAGE_COLOR_BLACK: ImageSpec.ImageColor.ValueType # 11
159
+ """Black is the main color of the image."""
160
+
161
+ FORMAT_FIELD_NUMBER: builtins.int
162
+ SIZE_FIELD_NUMBER: builtins.int
163
+ ORIENTATION_FIELD_NUMBER: builtins.int
164
+ COLOR_FIELD_NUMBER: builtins.int
165
+ format: global___ImageSpec.ImageFormat.ValueType
166
+ """Searching for images in a particular format."""
167
+ size: global___ImageSpec.ImageSize.ValueType
168
+ """Searching for images of a particular size."""
169
+ orientation: global___ImageSpec.ImageOrientation.ValueType
170
+ """Searching for images with a particular orientation."""
171
+ color: global___ImageSpec.ImageColor.ValueType
172
+ """Searching for images containing a particular color."""
173
+ def __init__(
174
+ self,
175
+ *,
176
+ format: global___ImageSpec.ImageFormat.ValueType = ...,
177
+ size: global___ImageSpec.ImageSize.ValueType = ...,
178
+ orientation: global___ImageSpec.ImageOrientation.ValueType = ...,
179
+ color: global___ImageSpec.ImageColor.ValueType = ...,
180
+ ) -> None: ...
181
+ def ClearField(self, field_name: typing.Literal["color", b"color", "format", b"format", "orientation", b"orientation", "size", b"size"]) -> None: ...
182
+
183
+ global___ImageSpec = ImageSpec
184
+
185
+ @typing.final
186
+ class ImageSearchRequest(google.protobuf.message.Message):
187
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
188
+
189
+ QUERY_FIELD_NUMBER: builtins.int
190
+ IMAGE_SPEC_FIELD_NUMBER: builtins.int
191
+ SITE_FIELD_NUMBER: builtins.int
192
+ DOCS_ON_PAGE_FIELD_NUMBER: builtins.int
193
+ FOLDER_ID_FIELD_NUMBER: builtins.int
194
+ USER_AGENT_FIELD_NUMBER: builtins.int
195
+ site: builtins.str
196
+ """Searching for images on a particular website only."""
197
+ docs_on_page: builtins.int
198
+ """Number of results per search result page."""
199
+ folder_id: builtins.str
200
+ """ID of the folder."""
201
+ user_agent: builtins.str
202
+ """User-Agent request header value."""
203
+ @property
204
+ def query(self) -> yandex.cloud.searchapi.v2.search_query_pb2.SearchQuery:
205
+ """Search query."""
206
+
207
+ @property
208
+ def image_spec(self) -> global___ImageSpec:
209
+ """Searching for images with a particular size, orientation, format or color."""
210
+
211
+ def __init__(
212
+ self,
213
+ *,
214
+ query: yandex.cloud.searchapi.v2.search_query_pb2.SearchQuery | None = ...,
215
+ image_spec: global___ImageSpec | None = ...,
216
+ site: builtins.str = ...,
217
+ docs_on_page: builtins.int = ...,
218
+ folder_id: builtins.str = ...,
219
+ user_agent: builtins.str = ...,
220
+ ) -> None: ...
221
+ def HasField(self, field_name: typing.Literal["image_spec", b"image_spec", "query", b"query"]) -> builtins.bool: ...
222
+ def ClearField(self, field_name: typing.Literal["docs_on_page", b"docs_on_page", "folder_id", b"folder_id", "image_spec", b"image_spec", "query", b"query", "site", b"site", "user_agent", b"user_agent"]) -> None: ...
223
+
224
+ global___ImageSearchRequest = ImageSearchRequest
225
+
226
+ @typing.final
227
+ class ImageSearchResponse(google.protobuf.message.Message):
228
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
229
+
230
+ RAW_DATA_FIELD_NUMBER: builtins.int
231
+ raw_data: builtins.bytes
232
+ """Search results in XML format."""
233
+ def __init__(
234
+ self,
235
+ *,
236
+ raw_data: builtins.bytes = ...,
237
+ ) -> None: ...
238
+ def ClearField(self, field_name: typing.Literal["raw_data", b"raw_data"]) -> None: ...
239
+
240
+ global___ImageSearchResponse = ImageSearchResponse