yandexcloud 0.327.0__py3-none-any.whl → 0.328.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of yandexcloud might be problematic. Click here for more details.
- yandex/cloud/ai/assistants/v1/searchindex/search_index_file_service_pb2.py +21 -9
- yandex/cloud/ai/assistants/v1/searchindex/search_index_file_service_pb2.pyi +39 -0
- yandex/cloud/ai/assistants/v1/searchindex/search_index_file_service_pb2_grpc.py +38 -3
- yandex/cloud/ai/assistants/v1/searchindex/search_index_file_service_pb2_grpc.pyi +24 -3
- yandex/cloud/ai/dataset/v1/dataset_pb2.py +8 -8
- yandex/cloud/ai/dataset/v1/dataset_pb2.pyi +5 -1
- yandex/cloud/ai/tuning/v1/tuning_service_pb2.py +4 -4
- yandex/cloud/ai/tuning/v1/tuning_service_pb2.pyi +11 -3
- yandex/cloud/datasphere/v2/jobs/jobs_pb2.py +52 -50
- yandex/cloud/datasphere/v2/jobs/jobs_pb2.pyi +24 -2
- yandex/cloud/datatransfer/v1/endpoint/clickhouse_pb2.pyi +1 -1
- yandex/cloud/datatransfer/v1/endpoint/mysql_pb2.pyi +2 -2
- yandex/cloud/datatransfer/v1/endpoint/ydb_pb2.py +8 -8
- yandex/cloud/datatransfer/v1/endpoint/ydb_pb2.pyi +4 -1
- yandex/cloud/datatransfer/v1/endpoint/yds_pb2.py +4 -4
- yandex/cloud/datatransfer/v1/endpoint/yds_pb2.pyi +4 -1
- yandex/cloud/marketplace/pim/__init__.py +0 -0
- yandex/cloud/marketplace/pim/v1/__init__.py +0 -0
- yandex/cloud/marketplace/pim/v1/saas/__init__.py +0 -0
- yandex/cloud/marketplace/pim/v1/saas/product_instance_pb2.py +41 -0
- yandex/cloud/marketplace/pim/v1/saas/product_instance_pb2.pyi +158 -0
- yandex/cloud/marketplace/pim/v1/saas/product_instance_pb2_grpc.py +4 -0
- yandex/cloud/marketplace/pim/v1/saas/product_instance_pb2_grpc.pyi +17 -0
- yandex/cloud/marketplace/pim/v1/saas/product_instance_service_pb2.py +42 -0
- yandex/cloud/marketplace/pim/v1/saas/product_instance_service_pb2.pyi +71 -0
- yandex/cloud/marketplace/pim/v1/saas/product_instance_service_pb2_grpc.py +101 -0
- yandex/cloud/marketplace/pim/v1/saas/product_instance_service_pb2_grpc.pyi +60 -0
- yandex/cloud/monitoring/v3/multi_source_chart_widget_pb2.py +81 -0
- yandex/cloud/monitoring/v3/multi_source_chart_widget_pb2.pyi +789 -0
- yandex/cloud/monitoring/v3/multi_source_chart_widget_pb2_grpc.py +4 -0
- yandex/cloud/monitoring/v3/multi_source_chart_widget_pb2_grpc.pyi +17 -0
- yandex/cloud/monitoring/v3/widget_pb2.py +6 -5
- yandex/cloud/monitoring/v3/widget_pb2.pyi +10 -3
- yandex/cloud/serverless/containers/v1/container_pb2.py +44 -40
- yandex/cloud/serverless/containers/v1/container_pb2.pyi +51 -2
- yandex/cloud/serverless/containers/v1/container_service_pb2.py +18 -18
- yandex/cloud/serverless/containers/v1/container_service_pb2.pyi +8 -2
- yandex/cloud/serverless/functions/v1/function_pb2.py +42 -38
- yandex/cloud/serverless/functions/v1/function_pb2.pyi +51 -2
- yandex/cloud/serverless/functions/v1/function_service_pb2.py +36 -36
- yandex/cloud/serverless/functions/v1/function_service_pb2.pyi +8 -2
- yandex/cloud/speechsense/v1/talk_service_pb2.py +28 -28
- yandex/cloud/speechsense/v1/talk_service_pb2.pyi +10 -2
- yandex/cloud/storage/v1/s3api_pb2.py +21 -1
- yandex/cloud/storage/v1/s3api_pb2.pyi +392 -0
- yandex/cloud/ydb/v1/database_pb2.py +24 -10
- yandex/cloud/ydb/v1/database_pb2.pyi +53 -3
- {yandexcloud-0.327.0.dist-info → yandexcloud-0.328.0.dist-info}/METADATA +1 -1
- {yandexcloud-0.327.0.dist-info → yandexcloud-0.328.0.dist-info}/RECORD +53 -38
- {yandexcloud-0.327.0.dist-info → yandexcloud-0.328.0.dist-info}/AUTHORS +0 -0
- {yandexcloud-0.327.0.dist-info → yandexcloud-0.328.0.dist-info}/LICENSE +0 -0
- {yandexcloud-0.327.0.dist-info → yandexcloud-0.328.0.dist-info}/WHEEL +0 -0
- {yandexcloud-0.327.0.dist-info → yandexcloud-0.328.0.dist-info}/top_level.txt +0 -0
|
@@ -233,7 +233,7 @@ class ClickhouseSource(google.protobuf.message.Message):
|
|
|
233
233
|
def connection(self) -> global___ClickhouseConnection: ...
|
|
234
234
|
@property
|
|
235
235
|
def include_tables(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]:
|
|
236
|
-
"""
|
|
236
|
+
"""White list of tables for replication. If none or empty list is presented - will
|
|
237
237
|
replicate all tables. Can contain * patterns.
|
|
238
238
|
"""
|
|
239
239
|
|
|
@@ -125,7 +125,7 @@ class MysqlSource(google.protobuf.message.Message):
|
|
|
125
125
|
databases at the same time from this source.
|
|
126
126
|
"""
|
|
127
127
|
user: builtins.str
|
|
128
|
-
"""User for database access."""
|
|
128
|
+
"""User for database access. not required as may be in connection"""
|
|
129
129
|
timezone: builtins.str
|
|
130
130
|
"""Database timezone
|
|
131
131
|
|
|
@@ -202,7 +202,7 @@ class MysqlTarget(google.protobuf.message.Message):
|
|
|
202
202
|
schema for service table.
|
|
203
203
|
"""
|
|
204
204
|
user: builtins.str
|
|
205
|
-
"""User for database access."""
|
|
205
|
+
"""User for database access. not required as may be in connection"""
|
|
206
206
|
sql_mode: builtins.str
|
|
207
207
|
"""Default: NO_AUTO_VALUE_ON_ZERO,NO_DIR_IN_CREATE,NO_ENGINE_SUBSTITUTION."""
|
|
208
208
|
skip_constraint_checks: builtins.bool
|
|
@@ -13,7 +13,7 @@ _sym_db = _symbol_database.Default()
|
|
|
13
13
|
|
|
14
14
|
|
|
15
15
|
|
|
16
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n/yandex/cloud/datatransfer/v1/endpoint/ydb.proto\x12%yandex.cloud.datatransfer.v1.endpoint\"\
|
|
16
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n/yandex/cloud/datatransfer/v1/endpoint/ydb.proto\x12%yandex.cloud.datatransfer.v1.endpoint\"\xf9\x01\n\tYdbSource\x12\x10\n\x08\x64\x61tabase\x18\x01 \x01(\t\x12\x10\n\x08instance\x18\x02 \x01(\t\x12\r\n\x05paths\x18\x05 \x03(\t\x12\x1a\n\x12service_account_id\x18\x06 \x01(\t\x12\x11\n\tsubnet_id\x18\x1e \x01(\t\x12\x16\n\x0esa_key_content\x18! \x01(\t\x12\x17\n\x0fsecurity_groups\x18\" \x03(\t\x12\x1e\n\x16\x63hangefeed_custom_name\x18# \x01(\t\x12\'\n\x1f\x63hangefeed_custom_consumer_name\x18$ \x01(\tJ\x04\x08\x03\x10\x05J\x04\x08\x07\x10\x1eJ\x04\x08\x1f\x10!\"\x83\x03\n\tYdbTarget\x12\x10\n\x08\x64\x61tabase\x18\x01 \x01(\t\x12\x10\n\x08instance\x18\x02 \x01(\t\x12\x0c\n\x04path\x18\n \x01(\t\x12\x1a\n\x12service_account_id\x18\x0b \x01(\t\x12O\n\x0e\x63leanup_policy\x18\x15 \x01(\x0e\x32\x37.yandex.cloud.datatransfer.v1.endpoint.YdbCleanupPolicy\x12\x11\n\tsubnet_id\x18\x1e \x01(\t\x12\x16\n\x0esa_key_content\x18 \x01(\t\x12\x17\n\x0fsecurity_groups\x18! \x03(\t\x12 \n\x18is_table_column_oriented\x18\" \x01(\x08\x12Y\n\x13\x64\x65\x66\x61ult_compression\x18# \x01(\x0e\x32<.yandex.cloud.datatransfer.v1.endpoint.YdbDefaultCompressionJ\x04\x08\x03\x10\nJ\x04\x08\x0c\x10\x15J\x04\x08\x16\x10\x1eJ\x04\x08\x1f\x10 *t\n\x10YdbCleanupPolicy\x12\"\n\x1eYDB_CLEANUP_POLICY_UNSPECIFIED\x10\x00\x12\x1f\n\x1bYDB_CLEANUP_POLICY_DISABLED\x10\x01\x12\x1b\n\x17YDB_CLEANUP_POLICY_DROP\x10\x02*\x87\x01\n\x15YdbDefaultCompression\x12\'\n#YDB_DEFAULT_COMPRESSION_UNSPECIFIED\x10\x00\x12$\n YDB_DEFAULT_COMPRESSION_DISABLED\x10\x01\x12\x1f\n\x1bYDB_DEFAULT_COMPRESSION_LZ4\x10\x02\x42\xa7\x01\n)yandex.cloud.api.datatransfer.v1.endpointZRgithub.com/yandex-cloud/go-genproto/yandex/cloud/datatransfer/v1/endpoint;endpoint\xaa\x02%Yandex.Cloud.Datatransfer.V1.EndPointb\x06proto3')
|
|
17
17
|
|
|
18
18
|
_globals = globals()
|
|
19
19
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
@@ -21,12 +21,12 @@ _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'yandex.cloud.datatransfer.v
|
|
|
21
21
|
if _descriptor._USE_C_DESCRIPTORS == False:
|
|
22
22
|
DESCRIPTOR._options = None
|
|
23
23
|
DESCRIPTOR._serialized_options = b'\n)yandex.cloud.api.datatransfer.v1.endpointZRgithub.com/yandex-cloud/go-genproto/yandex/cloud/datatransfer/v1/endpoint;endpoint\252\002%Yandex.Cloud.Datatransfer.V1.EndPoint'
|
|
24
|
-
_globals['_YDBCLEANUPPOLICY']._serialized_start=
|
|
25
|
-
_globals['_YDBCLEANUPPOLICY']._serialized_end=
|
|
26
|
-
_globals['_YDBDEFAULTCOMPRESSION']._serialized_start=
|
|
27
|
-
_globals['_YDBDEFAULTCOMPRESSION']._serialized_end=
|
|
24
|
+
_globals['_YDBCLEANUPPOLICY']._serialized_start=732
|
|
25
|
+
_globals['_YDBCLEANUPPOLICY']._serialized_end=848
|
|
26
|
+
_globals['_YDBDEFAULTCOMPRESSION']._serialized_start=851
|
|
27
|
+
_globals['_YDBDEFAULTCOMPRESSION']._serialized_end=986
|
|
28
28
|
_globals['_YDBSOURCE']._serialized_start=91
|
|
29
|
-
_globals['_YDBSOURCE']._serialized_end=
|
|
30
|
-
_globals['_YDBTARGET']._serialized_start=
|
|
31
|
-
_globals['_YDBTARGET']._serialized_end=
|
|
29
|
+
_globals['_YDBSOURCE']._serialized_end=340
|
|
30
|
+
_globals['_YDBTARGET']._serialized_start=343
|
|
31
|
+
_globals['_YDBTARGET']._serialized_end=730
|
|
32
32
|
# @@protoc_insertion_point(module_scope)
|
|
@@ -65,6 +65,7 @@ class YdbSource(google.protobuf.message.Message):
|
|
|
65
65
|
SA_KEY_CONTENT_FIELD_NUMBER: builtins.int
|
|
66
66
|
SECURITY_GROUPS_FIELD_NUMBER: builtins.int
|
|
67
67
|
CHANGEFEED_CUSTOM_NAME_FIELD_NUMBER: builtins.int
|
|
68
|
+
CHANGEFEED_CUSTOM_CONSUMER_NAME_FIELD_NUMBER: builtins.int
|
|
68
69
|
database: builtins.str
|
|
69
70
|
"""Path in YDB where to store tables"""
|
|
70
71
|
instance: builtins.str
|
|
@@ -76,6 +77,7 @@ class YdbSource(google.protobuf.message.Message):
|
|
|
76
77
|
"""Authorization Key"""
|
|
77
78
|
changefeed_custom_name: builtins.str
|
|
78
79
|
"""Pre-created change feed"""
|
|
80
|
+
changefeed_custom_consumer_name: builtins.str
|
|
79
81
|
@property
|
|
80
82
|
def paths(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]: ...
|
|
81
83
|
@property
|
|
@@ -93,8 +95,9 @@ class YdbSource(google.protobuf.message.Message):
|
|
|
93
95
|
sa_key_content: builtins.str = ...,
|
|
94
96
|
security_groups: collections.abc.Iterable[builtins.str] | None = ...,
|
|
95
97
|
changefeed_custom_name: builtins.str = ...,
|
|
98
|
+
changefeed_custom_consumer_name: builtins.str = ...,
|
|
96
99
|
) -> None: ...
|
|
97
|
-
def ClearField(self, field_name: typing.Literal["changefeed_custom_name", b"changefeed_custom_name", "database", b"database", "instance", b"instance", "paths", b"paths", "sa_key_content", b"sa_key_content", "security_groups", b"security_groups", "service_account_id", b"service_account_id", "subnet_id", b"subnet_id"]) -> None: ...
|
|
100
|
+
def ClearField(self, field_name: typing.Literal["changefeed_custom_consumer_name", b"changefeed_custom_consumer_name", "changefeed_custom_name", b"changefeed_custom_name", "database", b"database", "instance", b"instance", "paths", b"paths", "sa_key_content", b"sa_key_content", "security_groups", b"security_groups", "service_account_id", b"service_account_id", "subnet_id", b"subnet_id"]) -> None: ...
|
|
98
101
|
|
|
99
102
|
global___YdbSource = YdbSource
|
|
100
103
|
|
|
@@ -15,7 +15,7 @@ from yandex.cloud.datatransfer.v1.endpoint import parsers_pb2 as yandex_dot_clou
|
|
|
15
15
|
from yandex.cloud.datatransfer.v1.endpoint import serializers_pb2 as yandex_dot_cloud_dot_datatransfer_dot_v1_dot_endpoint_dot_serializers__pb2
|
|
16
16
|
|
|
17
17
|
|
|
18
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n/yandex/cloud/datatransfer/v1/endpoint/yds.proto\x12%yandex.cloud.datatransfer.v1.endpoint\x1a\x33yandex/cloud/datatransfer/v1/endpoint/parsers.proto\x1a\x37yandex/cloud/datatransfer/v1/endpoint/serializers.proto\"\xe0\x02\n\tYDSSource\x12\x10\n\x08\x64\x61tabase\x18\x01 \x01(\t\x12\x0e\n\x06stream\x18\x02 \x01(\t\x12\x1a\n\x12service_account_id\x18\x08 \x01(\t\x12T\n\x10supported_codecs\x18\t \x03(\x0e\x32:.yandex.cloud.datatransfer.v1.endpoint.YdsCompressionCodec\x12=\n\x06parser\x18\n \x01(\x0b\x32-.yandex.cloud.datatransfer.v1.endpoint.Parser\x12\x18\n\x10\x61llow_ttl_rewind\x18\x0b \x01(\x08\x12\x10\n\x08\x65ndpoint\x18\x14 \x01(\t\x12\x11\n\tsubnet_id\x18\x1e \x01(\t\x12\x17\n\x0fsecurity_groups\x18\" \x03(\t\x12\x10\n\x08\x63onsumer\x18# \x01(\tJ\x04\x08\x03\x10\x08J\x04\x08\x0c\x10\x14J\x04\x08\x15\x10\x1eJ\x04\x08\x1f\x10\"\"\
|
|
18
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n/yandex/cloud/datatransfer/v1/endpoint/yds.proto\x12%yandex.cloud.datatransfer.v1.endpoint\x1a\x33yandex/cloud/datatransfer/v1/endpoint/parsers.proto\x1a\x37yandex/cloud/datatransfer/v1/endpoint/serializers.proto\"\xe0\x02\n\tYDSSource\x12\x10\n\x08\x64\x61tabase\x18\x01 \x01(\t\x12\x0e\n\x06stream\x18\x02 \x01(\t\x12\x1a\n\x12service_account_id\x18\x08 \x01(\t\x12T\n\x10supported_codecs\x18\t \x03(\x0e\x32:.yandex.cloud.datatransfer.v1.endpoint.YdsCompressionCodec\x12=\n\x06parser\x18\n \x01(\x0b\x32-.yandex.cloud.datatransfer.v1.endpoint.Parser\x12\x18\n\x10\x61llow_ttl_rewind\x18\x0b \x01(\x08\x12\x10\n\x08\x65ndpoint\x18\x14 \x01(\t\x12\x11\n\tsubnet_id\x18\x1e \x01(\t\x12\x17\n\x0fsecurity_groups\x18\" \x03(\t\x12\x10\n\x08\x63onsumer\x18# \x01(\tJ\x04\x08\x03\x10\x08J\x04\x08\x0c\x10\x14J\x04\x08\x15\x10\x1eJ\x04\x08\x1f\x10\"\"\xd4\x02\n\tYDSTarget\x12\x10\n\x08\x64\x61tabase\x18\x01 \x01(\t\x12\x0e\n\x06stream\x18\x02 \x01(\t\x12\x1a\n\x12service_account_id\x18\x03 \x01(\t\x12\x15\n\rsave_tx_order\x18\x04 \x01(\x08\x12U\n\x11\x63ompression_codec\x18\x05 \x01(\x0e\x32:.yandex.cloud.datatransfer.v1.endpoint.YdsCompressionCodec\x12\x45\n\nserializer\x18\x08 \x01(\x0b\x32\x31.yandex.cloud.datatransfer.v1.endpoint.Serializer\x12\x10\n\x08\x65ndpoint\x18\x14 \x01(\t\x12\x11\n\tsubnet_id\x18\x1e \x01(\t\x12\x17\n\x0fsecurity_groups\x18\" \x03(\tJ\x04\x08\x06\x10\x08J\x04\x08\t\x10\x14J\x04\x08\x15\x10\x1eJ\x04\x08\x1f\x10\"*\x9b\x01\n\x13YdsCompressionCodec\x12%\n!YDS_COMPRESSION_CODEC_UNSPECIFIED\x10\x00\x12\x1d\n\x19YDS_COMPRESSION_CODEC_RAW\x10\x01\x12\x1e\n\x1aYDS_COMPRESSION_CODEC_GZIP\x10\x02\x12\x1e\n\x1aYDS_COMPRESSION_CODEC_ZSTD\x10\x04\x42\xa7\x01\n)yandex.cloud.api.datatransfer.v1.endpointZRgithub.com/yandex-cloud/go-genproto/yandex/cloud/datatransfer/v1/endpoint;endpoint\xaa\x02%Yandex.Cloud.Datatransfer.V1.EndPointb\x06proto3')
|
|
19
19
|
|
|
20
20
|
_globals = globals()
|
|
21
21
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
@@ -23,10 +23,10 @@ _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'yandex.cloud.datatransfer.v
|
|
|
23
23
|
if _descriptor._USE_C_DESCRIPTORS == False:
|
|
24
24
|
DESCRIPTOR._options = None
|
|
25
25
|
DESCRIPTOR._serialized_options = b'\n)yandex.cloud.api.datatransfer.v1.endpointZRgithub.com/yandex-cloud/go-genproto/yandex/cloud/datatransfer/v1/endpoint;endpoint\252\002%Yandex.Cloud.Datatransfer.V1.EndPoint'
|
|
26
|
-
_globals['_YDSCOMPRESSIONCODEC']._serialized_start=
|
|
27
|
-
_globals['_YDSCOMPRESSIONCODEC']._serialized_end=
|
|
26
|
+
_globals['_YDSCOMPRESSIONCODEC']._serialized_start=899
|
|
27
|
+
_globals['_YDSCOMPRESSIONCODEC']._serialized_end=1054
|
|
28
28
|
_globals['_YDSSOURCE']._serialized_start=201
|
|
29
29
|
_globals['_YDSSOURCE']._serialized_end=553
|
|
30
30
|
_globals['_YDSTARGET']._serialized_start=556
|
|
31
|
-
_globals['_YDSTARGET']._serialized_end=
|
|
31
|
+
_globals['_YDSTARGET']._serialized_end=896
|
|
32
32
|
# @@protoc_insertion_point(module_scope)
|
|
@@ -110,6 +110,7 @@ class YDSTarget(google.protobuf.message.Message):
|
|
|
110
110
|
STREAM_FIELD_NUMBER: builtins.int
|
|
111
111
|
SERVICE_ACCOUNT_ID_FIELD_NUMBER: builtins.int
|
|
112
112
|
SAVE_TX_ORDER_FIELD_NUMBER: builtins.int
|
|
113
|
+
COMPRESSION_CODEC_FIELD_NUMBER: builtins.int
|
|
113
114
|
SERIALIZER_FIELD_NUMBER: builtins.int
|
|
114
115
|
ENDPOINT_FIELD_NUMBER: builtins.int
|
|
115
116
|
SUBNET_ID_FIELD_NUMBER: builtins.int
|
|
@@ -125,6 +126,7 @@ class YDSTarget(google.protobuf.message.Message):
|
|
|
125
126
|
Not to split events queue into separate per-table queues.
|
|
126
127
|
Incompatible with setting Topic prefix, only with Topic full name.
|
|
127
128
|
"""
|
|
129
|
+
compression_codec: global___YdsCompressionCodec.ValueType
|
|
128
130
|
endpoint: builtins.str
|
|
129
131
|
"""for dedicated db"""
|
|
130
132
|
subnet_id: builtins.str
|
|
@@ -144,12 +146,13 @@ class YDSTarget(google.protobuf.message.Message):
|
|
|
144
146
|
stream: builtins.str = ...,
|
|
145
147
|
service_account_id: builtins.str = ...,
|
|
146
148
|
save_tx_order: builtins.bool = ...,
|
|
149
|
+
compression_codec: global___YdsCompressionCodec.ValueType = ...,
|
|
147
150
|
serializer: yandex.cloud.datatransfer.v1.endpoint.serializers_pb2.Serializer | None = ...,
|
|
148
151
|
endpoint: builtins.str = ...,
|
|
149
152
|
subnet_id: builtins.str = ...,
|
|
150
153
|
security_groups: collections.abc.Iterable[builtins.str] | None = ...,
|
|
151
154
|
) -> None: ...
|
|
152
155
|
def HasField(self, field_name: typing.Literal["serializer", b"serializer"]) -> builtins.bool: ...
|
|
153
|
-
def ClearField(self, field_name: typing.Literal["database", b"database", "endpoint", b"endpoint", "save_tx_order", b"save_tx_order", "security_groups", b"security_groups", "serializer", b"serializer", "service_account_id", b"service_account_id", "stream", b"stream", "subnet_id", b"subnet_id"]) -> None: ...
|
|
156
|
+
def ClearField(self, field_name: typing.Literal["compression_codec", b"compression_codec", "database", b"database", "endpoint", b"endpoint", "save_tx_order", b"save_tx_order", "security_groups", b"security_groups", "serializer", b"serializer", "service_account_id", b"service_account_id", "stream", b"stream", "subnet_id", b"subnet_id"]) -> None: ...
|
|
154
157
|
|
|
155
158
|
global___YDSTarget = YDSTarget
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# source: yandex/cloud/marketplace/pim/v1/saas/product_instance.proto
|
|
4
|
+
"""Generated protocol buffer code."""
|
|
5
|
+
from google.protobuf import descriptor as _descriptor
|
|
6
|
+
from google.protobuf import descriptor_pool as _descriptor_pool
|
|
7
|
+
from google.protobuf import symbol_database as _symbol_database
|
|
8
|
+
from google.protobuf.internal import builder as _builder
|
|
9
|
+
# @@protoc_insertion_point(imports)
|
|
10
|
+
|
|
11
|
+
_sym_db = _symbol_database.Default()
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n;yandex/cloud/marketplace/pim/v1/saas/product_instance.proto\x12$yandex.cloud.marketplace.pim.v1.saas\x1a\x1fgoogle/protobuf/timestamp.proto\"\x90\x04\n\x0fProductInstance\x12\n\n\x02id\x18\x01 \x01(\t\x12\x13\n\x0bresource_id\x18\x02 \x01(\t\x12I\n\rresource_type\x18\x03 \x01(\x0e\x32\x32.yandex.cloud.marketplace.pim.v1.saas.ResourceType\x12\x66\n\x11resource_metadata\x18\x04 \x03(\x0b\x32K.yandex.cloud.marketplace.pim.v1.saas.ProductInstance.ResourceMetadataEntry\x12:\n\x05state\x18\x05 \x01(\x0e\x32+.yandex.cloud.marketplace.pim.v1.saas.State\x12.\n\ncreated_at\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12.\n\nupdated_at\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x43\n\tsaas_info\x18\x08 \x01(\x0b\x32..yandex.cloud.marketplace.pim.v1.saas.SaasInfoH\x00\x1a\x37\n\x15ResourceMetadataEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x42\x0f\n\rresource_info\"\x8b\x01\n\x08SaasInfo\x12\n\n\x02id\x18\x01 \x01(\t\x12\x46\n\x04\x64\x61ta\x18\x02 \x03(\x0b\x32\x38.yandex.cloud.marketplace.pim.v1.saas.SaasInfo.DataEntry\x1a+\n\tDataEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01*s\n\x05State\x12\x15\n\x11STATE_UNSPECIFIED\x10\x00\x12\r\n\tACTIVATED\x10\x01\x12\x0f\n\x0b\x44\x45\x41\x43TIVATED\x10\x02\x12\x16\n\x12PENDING_ACTIVATION\x10\x03\x12\x0e\n\nDEPRECATED\x10\x04\x12\x0b\n\x07\x44\x45LETED\x10\x05*]\n\x0cResourceType\x12\x1d\n\x19RESOURCE_TYPE_UNSPECIFIED\x10\x00\x12\x08\n\x04SAAS\x10\x01\x12\x07\n\x03K8S\x10\x02\x12\x0b\n\x07\x43OMPUTE\x10\x03\x12\x0e\n\nCLOUD_APPS\x10\x04\x42y\n(yandex.cloud.api.marketplace.pim.v1.saasZMgithub.com/yandex-cloud/go-genproto/yandex/cloud/marketplace/pim/v1/saas;saasb\x06proto3')
|
|
18
|
+
|
|
19
|
+
_globals = globals()
|
|
20
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
21
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'yandex.cloud.marketplace.pim.v1.saas.product_instance_pb2', _globals)
|
|
22
|
+
if _descriptor._USE_C_DESCRIPTORS == False:
|
|
23
|
+
DESCRIPTOR._options = None
|
|
24
|
+
DESCRIPTOR._serialized_options = b'\n(yandex.cloud.api.marketplace.pim.v1.saasZMgithub.com/yandex-cloud/go-genproto/yandex/cloud/marketplace/pim/v1/saas;saas'
|
|
25
|
+
_PRODUCTINSTANCE_RESOURCEMETADATAENTRY._options = None
|
|
26
|
+
_PRODUCTINSTANCE_RESOURCEMETADATAENTRY._serialized_options = b'8\001'
|
|
27
|
+
_SAASINFO_DATAENTRY._options = None
|
|
28
|
+
_SAASINFO_DATAENTRY._serialized_options = b'8\001'
|
|
29
|
+
_globals['_STATE']._serialized_start=807
|
|
30
|
+
_globals['_STATE']._serialized_end=922
|
|
31
|
+
_globals['_RESOURCETYPE']._serialized_start=924
|
|
32
|
+
_globals['_RESOURCETYPE']._serialized_end=1017
|
|
33
|
+
_globals['_PRODUCTINSTANCE']._serialized_start=135
|
|
34
|
+
_globals['_PRODUCTINSTANCE']._serialized_end=663
|
|
35
|
+
_globals['_PRODUCTINSTANCE_RESOURCEMETADATAENTRY']._serialized_start=591
|
|
36
|
+
_globals['_PRODUCTINSTANCE_RESOURCEMETADATAENTRY']._serialized_end=646
|
|
37
|
+
_globals['_SAASINFO']._serialized_start=666
|
|
38
|
+
_globals['_SAASINFO']._serialized_end=805
|
|
39
|
+
_globals['_SAASINFO_DATAENTRY']._serialized_start=762
|
|
40
|
+
_globals['_SAASINFO_DATAENTRY']._serialized_end=805
|
|
41
|
+
# @@protoc_insertion_point(module_scope)
|
|
@@ -0,0 +1,158 @@
|
|
|
1
|
+
"""
|
|
2
|
+
@generated by mypy-protobuf. Do not edit manually!
|
|
3
|
+
isort:skip_file
|
|
4
|
+
"""
|
|
5
|
+
|
|
6
|
+
import builtins
|
|
7
|
+
import collections.abc
|
|
8
|
+
import google.protobuf.descriptor
|
|
9
|
+
import google.protobuf.internal.containers
|
|
10
|
+
import google.protobuf.internal.enum_type_wrapper
|
|
11
|
+
import google.protobuf.message
|
|
12
|
+
import google.protobuf.timestamp_pb2
|
|
13
|
+
import sys
|
|
14
|
+
import typing
|
|
15
|
+
|
|
16
|
+
if sys.version_info >= (3, 10):
|
|
17
|
+
import typing as typing_extensions
|
|
18
|
+
else:
|
|
19
|
+
import typing_extensions
|
|
20
|
+
|
|
21
|
+
DESCRIPTOR: google.protobuf.descriptor.FileDescriptor
|
|
22
|
+
|
|
23
|
+
class _State:
|
|
24
|
+
ValueType = typing.NewType("ValueType", builtins.int)
|
|
25
|
+
V: typing_extensions.TypeAlias = ValueType
|
|
26
|
+
|
|
27
|
+
class _StateEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[_State.ValueType], builtins.type):
|
|
28
|
+
DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor
|
|
29
|
+
STATE_UNSPECIFIED: _State.ValueType # 0
|
|
30
|
+
ACTIVATED: _State.ValueType # 1
|
|
31
|
+
DEACTIVATED: _State.ValueType # 2
|
|
32
|
+
PENDING_ACTIVATION: _State.ValueType # 3
|
|
33
|
+
DEPRECATED: _State.ValueType # 4
|
|
34
|
+
DELETED: _State.ValueType # 5
|
|
35
|
+
|
|
36
|
+
class State(_State, metaclass=_StateEnumTypeWrapper): ...
|
|
37
|
+
|
|
38
|
+
STATE_UNSPECIFIED: State.ValueType # 0
|
|
39
|
+
ACTIVATED: State.ValueType # 1
|
|
40
|
+
DEACTIVATED: State.ValueType # 2
|
|
41
|
+
PENDING_ACTIVATION: State.ValueType # 3
|
|
42
|
+
DEPRECATED: State.ValueType # 4
|
|
43
|
+
DELETED: State.ValueType # 5
|
|
44
|
+
global___State = State
|
|
45
|
+
|
|
46
|
+
class _ResourceType:
|
|
47
|
+
ValueType = typing.NewType("ValueType", builtins.int)
|
|
48
|
+
V: typing_extensions.TypeAlias = ValueType
|
|
49
|
+
|
|
50
|
+
class _ResourceTypeEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[_ResourceType.ValueType], builtins.type):
|
|
51
|
+
DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor
|
|
52
|
+
RESOURCE_TYPE_UNSPECIFIED: _ResourceType.ValueType # 0
|
|
53
|
+
SAAS: _ResourceType.ValueType # 1
|
|
54
|
+
K8S: _ResourceType.ValueType # 2
|
|
55
|
+
COMPUTE: _ResourceType.ValueType # 3
|
|
56
|
+
CLOUD_APPS: _ResourceType.ValueType # 4
|
|
57
|
+
|
|
58
|
+
class ResourceType(_ResourceType, metaclass=_ResourceTypeEnumTypeWrapper): ...
|
|
59
|
+
|
|
60
|
+
RESOURCE_TYPE_UNSPECIFIED: ResourceType.ValueType # 0
|
|
61
|
+
SAAS: ResourceType.ValueType # 1
|
|
62
|
+
K8S: ResourceType.ValueType # 2
|
|
63
|
+
COMPUTE: ResourceType.ValueType # 3
|
|
64
|
+
CLOUD_APPS: ResourceType.ValueType # 4
|
|
65
|
+
global___ResourceType = ResourceType
|
|
66
|
+
|
|
67
|
+
@typing.final
|
|
68
|
+
class ProductInstance(google.protobuf.message.Message):
|
|
69
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
70
|
+
|
|
71
|
+
@typing.final
|
|
72
|
+
class ResourceMetadataEntry(google.protobuf.message.Message):
|
|
73
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
74
|
+
|
|
75
|
+
KEY_FIELD_NUMBER: builtins.int
|
|
76
|
+
VALUE_FIELD_NUMBER: builtins.int
|
|
77
|
+
key: builtins.str
|
|
78
|
+
value: builtins.str
|
|
79
|
+
def __init__(
|
|
80
|
+
self,
|
|
81
|
+
*,
|
|
82
|
+
key: builtins.str = ...,
|
|
83
|
+
value: builtins.str = ...,
|
|
84
|
+
) -> None: ...
|
|
85
|
+
def ClearField(self, field_name: typing.Literal["key", b"key", "value", b"value"]) -> None: ...
|
|
86
|
+
|
|
87
|
+
ID_FIELD_NUMBER: builtins.int
|
|
88
|
+
RESOURCE_ID_FIELD_NUMBER: builtins.int
|
|
89
|
+
RESOURCE_TYPE_FIELD_NUMBER: builtins.int
|
|
90
|
+
RESOURCE_METADATA_FIELD_NUMBER: builtins.int
|
|
91
|
+
STATE_FIELD_NUMBER: builtins.int
|
|
92
|
+
CREATED_AT_FIELD_NUMBER: builtins.int
|
|
93
|
+
UPDATED_AT_FIELD_NUMBER: builtins.int
|
|
94
|
+
SAAS_INFO_FIELD_NUMBER: builtins.int
|
|
95
|
+
id: builtins.str
|
|
96
|
+
resource_id: builtins.str
|
|
97
|
+
resource_type: global___ResourceType.ValueType
|
|
98
|
+
state: global___State.ValueType
|
|
99
|
+
@property
|
|
100
|
+
def resource_metadata(self) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]: ...
|
|
101
|
+
@property
|
|
102
|
+
def created_at(self) -> google.protobuf.timestamp_pb2.Timestamp: ...
|
|
103
|
+
@property
|
|
104
|
+
def updated_at(self) -> google.protobuf.timestamp_pb2.Timestamp: ...
|
|
105
|
+
@property
|
|
106
|
+
def saas_info(self) -> global___SaasInfo: ...
|
|
107
|
+
def __init__(
|
|
108
|
+
self,
|
|
109
|
+
*,
|
|
110
|
+
id: builtins.str = ...,
|
|
111
|
+
resource_id: builtins.str = ...,
|
|
112
|
+
resource_type: global___ResourceType.ValueType = ...,
|
|
113
|
+
resource_metadata: collections.abc.Mapping[builtins.str, builtins.str] | None = ...,
|
|
114
|
+
state: global___State.ValueType = ...,
|
|
115
|
+
created_at: google.protobuf.timestamp_pb2.Timestamp | None = ...,
|
|
116
|
+
updated_at: google.protobuf.timestamp_pb2.Timestamp | None = ...,
|
|
117
|
+
saas_info: global___SaasInfo | None = ...,
|
|
118
|
+
) -> None: ...
|
|
119
|
+
def HasField(self, field_name: typing.Literal["created_at", b"created_at", "resource_info", b"resource_info", "saas_info", b"saas_info", "updated_at", b"updated_at"]) -> builtins.bool: ...
|
|
120
|
+
def ClearField(self, field_name: typing.Literal["created_at", b"created_at", "id", b"id", "resource_id", b"resource_id", "resource_info", b"resource_info", "resource_metadata", b"resource_metadata", "resource_type", b"resource_type", "saas_info", b"saas_info", "state", b"state", "updated_at", b"updated_at"]) -> None: ...
|
|
121
|
+
def WhichOneof(self, oneof_group: typing.Literal["resource_info", b"resource_info"]) -> typing.Literal["saas_info"] | None: ...
|
|
122
|
+
|
|
123
|
+
global___ProductInstance = ProductInstance
|
|
124
|
+
|
|
125
|
+
@typing.final
|
|
126
|
+
class SaasInfo(google.protobuf.message.Message):
|
|
127
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
128
|
+
|
|
129
|
+
@typing.final
|
|
130
|
+
class DataEntry(google.protobuf.message.Message):
|
|
131
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
132
|
+
|
|
133
|
+
KEY_FIELD_NUMBER: builtins.int
|
|
134
|
+
VALUE_FIELD_NUMBER: builtins.int
|
|
135
|
+
key: builtins.str
|
|
136
|
+
value: builtins.str
|
|
137
|
+
def __init__(
|
|
138
|
+
self,
|
|
139
|
+
*,
|
|
140
|
+
key: builtins.str = ...,
|
|
141
|
+
value: builtins.str = ...,
|
|
142
|
+
) -> None: ...
|
|
143
|
+
def ClearField(self, field_name: typing.Literal["key", b"key", "value", b"value"]) -> None: ...
|
|
144
|
+
|
|
145
|
+
ID_FIELD_NUMBER: builtins.int
|
|
146
|
+
DATA_FIELD_NUMBER: builtins.int
|
|
147
|
+
id: builtins.str
|
|
148
|
+
@property
|
|
149
|
+
def data(self) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]: ...
|
|
150
|
+
def __init__(
|
|
151
|
+
self,
|
|
152
|
+
*,
|
|
153
|
+
id: builtins.str = ...,
|
|
154
|
+
data: collections.abc.Mapping[builtins.str, builtins.str] | None = ...,
|
|
155
|
+
) -> None: ...
|
|
156
|
+
def ClearField(self, field_name: typing.Literal["data", b"data", "id", b"id"]) -> None: ...
|
|
157
|
+
|
|
158
|
+
global___SaasInfo = SaasInfo
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"""
|
|
2
|
+
@generated by mypy-protobuf. Do not edit manually!
|
|
3
|
+
isort:skip_file
|
|
4
|
+
"""
|
|
5
|
+
|
|
6
|
+
import abc
|
|
7
|
+
import collections.abc
|
|
8
|
+
import grpc
|
|
9
|
+
import grpc.aio
|
|
10
|
+
import typing
|
|
11
|
+
|
|
12
|
+
_T = typing.TypeVar("_T")
|
|
13
|
+
|
|
14
|
+
class _MaybeAsyncIterator(collections.abc.AsyncIterator[_T], collections.abc.Iterator[_T], metaclass=abc.ABCMeta): ...
|
|
15
|
+
|
|
16
|
+
class _ServicerContext(grpc.ServicerContext, grpc.aio.ServicerContext): # type: ignore[misc, type-arg]
|
|
17
|
+
...
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# source: yandex/cloud/marketplace/pim/v1/saas/product_instance_service.proto
|
|
4
|
+
"""Generated protocol buffer code."""
|
|
5
|
+
from google.protobuf import descriptor as _descriptor
|
|
6
|
+
from google.protobuf import descriptor_pool as _descriptor_pool
|
|
7
|
+
from google.protobuf import symbol_database as _symbol_database
|
|
8
|
+
from google.protobuf.internal import builder as _builder
|
|
9
|
+
# @@protoc_insertion_point(imports)
|
|
10
|
+
|
|
11
|
+
_sym_db = _symbol_database.Default()
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
from yandex.cloud.api import operation_pb2 as yandex_dot_cloud_dot_api_dot_operation__pb2
|
|
15
|
+
from yandex.cloud.operation import operation_pb2 as yandex_dot_cloud_dot_operation_dot_operation__pb2
|
|
16
|
+
from yandex.cloud import validation_pb2 as yandex_dot_cloud_dot_validation__pb2
|
|
17
|
+
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
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
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')
|
|
21
|
+
|
|
22
|
+
_globals = globals()
|
|
23
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
24
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'yandex.cloud.marketplace.pim.v1.saas.product_instance_service_pb2', _globals)
|
|
25
|
+
if _descriptor._USE_C_DESCRIPTORS == False:
|
|
26
|
+
DESCRIPTOR._options = None
|
|
27
|
+
DESCRIPTOR._serialized_options = b'\n(yandex.cloud.api.marketplace.pim.v1.saasZMgithub.com/yandex-cloud/go-genproto/yandex/cloud/marketplace/pim/v1/saas;saas'
|
|
28
|
+
_GETPRODUCTINSTANCEREQUEST.fields_by_name['product_instance_id']._options = None
|
|
29
|
+
_GETPRODUCTINSTANCEREQUEST.fields_by_name['product_instance_id']._serialized_options = b'\350\3071\001\212\3101\004<=50'
|
|
30
|
+
_CLAIMPRODUCTINSTANCEREQUEST.fields_by_name['token']._options = None
|
|
31
|
+
_CLAIMPRODUCTINSTANCEREQUEST.fields_by_name['token']._serialized_options = b'\350\3071\001\212\3101\006<=1000'
|
|
32
|
+
_PRODUCTINSTANCESERVICE.methods_by_name['Claim']._options = None
|
|
33
|
+
_PRODUCTINSTANCESERVICE.methods_by_name['Claim']._serialized_options = b'\262\322*/\n\034ClaimProductInstanceMetadata\022\017ProductInstance'
|
|
34
|
+
_globals['_GETPRODUCTINSTANCEREQUEST']._serialized_start=275
|
|
35
|
+
_globals['_GETPRODUCTINSTANCEREQUEST']._serialized_end=345
|
|
36
|
+
_globals['_CLAIMPRODUCTINSTANCEREQUEST']._serialized_start=348
|
|
37
|
+
_globals['_CLAIMPRODUCTINSTANCEREQUEST']._serialized_end=500
|
|
38
|
+
_globals['_CLAIMPRODUCTINSTANCEMETADATA']._serialized_start=502
|
|
39
|
+
_globals['_CLAIMPRODUCTINSTANCEMETADATA']._serialized_end=610
|
|
40
|
+
_globals['_PRODUCTINSTANCESERVICE']._serialized_start=613
|
|
41
|
+
_globals['_PRODUCTINSTANCESERVICE']._serialized_end=929
|
|
42
|
+
# @@protoc_insertion_point(module_scope)
|
|
@@ -0,0 +1,71 @@
|
|
|
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.message
|
|
9
|
+
import typing
|
|
10
|
+
import yandex.cloud.marketplace.pim.v1.saas.product_instance_pb2
|
|
11
|
+
|
|
12
|
+
DESCRIPTOR: google.protobuf.descriptor.FileDescriptor
|
|
13
|
+
|
|
14
|
+
@typing.final
|
|
15
|
+
class GetProductInstanceRequest(google.protobuf.message.Message):
|
|
16
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
17
|
+
|
|
18
|
+
PRODUCT_INSTANCE_ID_FIELD_NUMBER: builtins.int
|
|
19
|
+
product_instance_id: builtins.str
|
|
20
|
+
def __init__(
|
|
21
|
+
self,
|
|
22
|
+
*,
|
|
23
|
+
product_instance_id: builtins.str = ...,
|
|
24
|
+
) -> None: ...
|
|
25
|
+
def ClearField(self, field_name: typing.Literal["product_instance_id", b"product_instance_id"]) -> None: ...
|
|
26
|
+
|
|
27
|
+
global___GetProductInstanceRequest = GetProductInstanceRequest
|
|
28
|
+
|
|
29
|
+
@typing.final
|
|
30
|
+
class ClaimProductInstanceRequest(google.protobuf.message.Message):
|
|
31
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
32
|
+
|
|
33
|
+
TOKEN_FIELD_NUMBER: builtins.int
|
|
34
|
+
RESOURCE_ID_FIELD_NUMBER: builtins.int
|
|
35
|
+
RESOURCE_INFO_FIELD_NUMBER: builtins.int
|
|
36
|
+
token: builtins.str
|
|
37
|
+
resource_id: builtins.str
|
|
38
|
+
@property
|
|
39
|
+
def resource_info(self) -> yandex.cloud.marketplace.pim.v1.saas.product_instance_pb2.SaasInfo: ...
|
|
40
|
+
def __init__(
|
|
41
|
+
self,
|
|
42
|
+
*,
|
|
43
|
+
token: builtins.str = ...,
|
|
44
|
+
resource_id: builtins.str = ...,
|
|
45
|
+
resource_info: yandex.cloud.marketplace.pim.v1.saas.product_instance_pb2.SaasInfo | None = ...,
|
|
46
|
+
) -> None: ...
|
|
47
|
+
def HasField(self, field_name: typing.Literal["resource_info", b"resource_info"]) -> builtins.bool: ...
|
|
48
|
+
def ClearField(self, field_name: typing.Literal["resource_id", b"resource_id", "resource_info", b"resource_info", "token", b"token"]) -> None: ...
|
|
49
|
+
|
|
50
|
+
global___ClaimProductInstanceRequest = ClaimProductInstanceRequest
|
|
51
|
+
|
|
52
|
+
@typing.final
|
|
53
|
+
class ClaimProductInstanceMetadata(google.protobuf.message.Message):
|
|
54
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
55
|
+
|
|
56
|
+
PRODUCT_ID_FIELD_NUMBER: builtins.int
|
|
57
|
+
PRODUCT_INSTANCE_ID_FIELD_NUMBER: builtins.int
|
|
58
|
+
LICENSE_INSTANCE_ID_FIELD_NUMBER: builtins.int
|
|
59
|
+
product_id: builtins.str
|
|
60
|
+
product_instance_id: builtins.str
|
|
61
|
+
license_instance_id: builtins.str
|
|
62
|
+
def __init__(
|
|
63
|
+
self,
|
|
64
|
+
*,
|
|
65
|
+
product_id: builtins.str = ...,
|
|
66
|
+
product_instance_id: builtins.str = ...,
|
|
67
|
+
license_instance_id: builtins.str = ...,
|
|
68
|
+
) -> None: ...
|
|
69
|
+
def ClearField(self, field_name: typing.Literal["license_instance_id", b"license_instance_id", "product_id", b"product_id", "product_instance_id", b"product_instance_id"]) -> None: ...
|
|
70
|
+
|
|
71
|
+
global___ClaimProductInstanceMetadata = ClaimProductInstanceMetadata
|
|
@@ -0,0 +1,101 @@
|
|
|
1
|
+
# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT!
|
|
2
|
+
"""Client and server classes corresponding to protobuf-defined services."""
|
|
3
|
+
import grpc
|
|
4
|
+
|
|
5
|
+
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
|
|
6
|
+
from yandex.cloud.marketplace.pim.v1.saas import product_instance_service_pb2 as yandex_dot_cloud_dot_marketplace_dot_pim_dot_v1_dot_saas_dot_product__instance__service__pb2
|
|
7
|
+
from yandex.cloud.operation import operation_pb2 as yandex_dot_cloud_dot_operation_dot_operation__pb2
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
class ProductInstanceServiceStub(object):
|
|
11
|
+
"""Missing associated documentation comment in .proto file."""
|
|
12
|
+
|
|
13
|
+
def __init__(self, channel):
|
|
14
|
+
"""Constructor.
|
|
15
|
+
|
|
16
|
+
Args:
|
|
17
|
+
channel: A grpc.Channel.
|
|
18
|
+
"""
|
|
19
|
+
self.Get = channel.unary_unary(
|
|
20
|
+
'/yandex.cloud.marketplace.pim.v1.saas.ProductInstanceService/Get',
|
|
21
|
+
request_serializer=yandex_dot_cloud_dot_marketplace_dot_pim_dot_v1_dot_saas_dot_product__instance__service__pb2.GetProductInstanceRequest.SerializeToString,
|
|
22
|
+
response_deserializer=yandex_dot_cloud_dot_marketplace_dot_pim_dot_v1_dot_saas_dot_product__instance__pb2.ProductInstance.FromString,
|
|
23
|
+
)
|
|
24
|
+
self.Claim = channel.unary_unary(
|
|
25
|
+
'/yandex.cloud.marketplace.pim.v1.saas.ProductInstanceService/Claim',
|
|
26
|
+
request_serializer=yandex_dot_cloud_dot_marketplace_dot_pim_dot_v1_dot_saas_dot_product__instance__service__pb2.ClaimProductInstanceRequest.SerializeToString,
|
|
27
|
+
response_deserializer=yandex_dot_cloud_dot_operation_dot_operation__pb2.Operation.FromString,
|
|
28
|
+
)
|
|
29
|
+
|
|
30
|
+
|
|
31
|
+
class ProductInstanceServiceServicer(object):
|
|
32
|
+
"""Missing associated documentation comment in .proto file."""
|
|
33
|
+
|
|
34
|
+
def Get(self, request, context):
|
|
35
|
+
"""Missing associated documentation comment in .proto file."""
|
|
36
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
37
|
+
context.set_details('Method not implemented!')
|
|
38
|
+
raise NotImplementedError('Method not implemented!')
|
|
39
|
+
|
|
40
|
+
def Claim(self, request, context):
|
|
41
|
+
"""Missing associated documentation comment in .proto file."""
|
|
42
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
43
|
+
context.set_details('Method not implemented!')
|
|
44
|
+
raise NotImplementedError('Method not implemented!')
|
|
45
|
+
|
|
46
|
+
|
|
47
|
+
def add_ProductInstanceServiceServicer_to_server(servicer, server):
|
|
48
|
+
rpc_method_handlers = {
|
|
49
|
+
'Get': grpc.unary_unary_rpc_method_handler(
|
|
50
|
+
servicer.Get,
|
|
51
|
+
request_deserializer=yandex_dot_cloud_dot_marketplace_dot_pim_dot_v1_dot_saas_dot_product__instance__service__pb2.GetProductInstanceRequest.FromString,
|
|
52
|
+
response_serializer=yandex_dot_cloud_dot_marketplace_dot_pim_dot_v1_dot_saas_dot_product__instance__pb2.ProductInstance.SerializeToString,
|
|
53
|
+
),
|
|
54
|
+
'Claim': grpc.unary_unary_rpc_method_handler(
|
|
55
|
+
servicer.Claim,
|
|
56
|
+
request_deserializer=yandex_dot_cloud_dot_marketplace_dot_pim_dot_v1_dot_saas_dot_product__instance__service__pb2.ClaimProductInstanceRequest.FromString,
|
|
57
|
+
response_serializer=yandex_dot_cloud_dot_operation_dot_operation__pb2.Operation.SerializeToString,
|
|
58
|
+
),
|
|
59
|
+
}
|
|
60
|
+
generic_handler = grpc.method_handlers_generic_handler(
|
|
61
|
+
'yandex.cloud.marketplace.pim.v1.saas.ProductInstanceService', rpc_method_handlers)
|
|
62
|
+
server.add_generic_rpc_handlers((generic_handler,))
|
|
63
|
+
|
|
64
|
+
|
|
65
|
+
# This class is part of an EXPERIMENTAL API.
|
|
66
|
+
class ProductInstanceService(object):
|
|
67
|
+
"""Missing associated documentation comment in .proto file."""
|
|
68
|
+
|
|
69
|
+
@staticmethod
|
|
70
|
+
def Get(request,
|
|
71
|
+
target,
|
|
72
|
+
options=(),
|
|
73
|
+
channel_credentials=None,
|
|
74
|
+
call_credentials=None,
|
|
75
|
+
insecure=False,
|
|
76
|
+
compression=None,
|
|
77
|
+
wait_for_ready=None,
|
|
78
|
+
timeout=None,
|
|
79
|
+
metadata=None):
|
|
80
|
+
return grpc.experimental.unary_unary(request, target, '/yandex.cloud.marketplace.pim.v1.saas.ProductInstanceService/Get',
|
|
81
|
+
yandex_dot_cloud_dot_marketplace_dot_pim_dot_v1_dot_saas_dot_product__instance__service__pb2.GetProductInstanceRequest.SerializeToString,
|
|
82
|
+
yandex_dot_cloud_dot_marketplace_dot_pim_dot_v1_dot_saas_dot_product__instance__pb2.ProductInstance.FromString,
|
|
83
|
+
options, channel_credentials,
|
|
84
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
85
|
+
|
|
86
|
+
@staticmethod
|
|
87
|
+
def Claim(request,
|
|
88
|
+
target,
|
|
89
|
+
options=(),
|
|
90
|
+
channel_credentials=None,
|
|
91
|
+
call_credentials=None,
|
|
92
|
+
insecure=False,
|
|
93
|
+
compression=None,
|
|
94
|
+
wait_for_ready=None,
|
|
95
|
+
timeout=None,
|
|
96
|
+
metadata=None):
|
|
97
|
+
return grpc.experimental.unary_unary(request, target, '/yandex.cloud.marketplace.pim.v1.saas.ProductInstanceService/Claim',
|
|
98
|
+
yandex_dot_cloud_dot_marketplace_dot_pim_dot_v1_dot_saas_dot_product__instance__service__pb2.ClaimProductInstanceRequest.SerializeToString,
|
|
99
|
+
yandex_dot_cloud_dot_operation_dot_operation__pb2.Operation.FromString,
|
|
100
|
+
options, channel_credentials,
|
|
101
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|