yandexcloud 0.319.0__py3-none-any.whl → 0.321.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- yandex/cloud/ai/ocr/v1/ocr_pb2.pyi +2 -2
- yandex/cloud/ai/ocr/v1/ocr_service_pb2.pyi +5 -5
- yandex/cloud/cic/__init__.py +0 -0
- yandex/cloud/cic/v1/__init__.py +0 -0
- yandex/cloud/cic/v1/common/__init__.py +0 -0
- yandex/cloud/cic/v1/common/lag_allocation_settings_pb2.py +29 -0
- yandex/cloud/cic/v1/common/lag_allocation_settings_pb2.pyi +61 -0
- yandex/cloud/cic/v1/common/lag_allocation_settings_pb2_grpc.py +4 -0
- yandex/cloud/cic/v1/common/lag_allocation_settings_pb2_grpc.pyi +17 -0
- yandex/cloud/cic/v1/common/lag_info_pb2.py +27 -0
- yandex/cloud/cic/v1/common/lag_info_pb2.pyi +42 -0
- yandex/cloud/cic/v1/common/lag_info_pb2_grpc.py +4 -0
- yandex/cloud/cic/v1/common/lag_info_pb2_grpc.pyi +17 -0
- yandex/cloud/cic/v1/common/transceiver_type_pb2.py +26 -0
- yandex/cloud/cic/v1/common/transceiver_type_pb2.pyi +40 -0
- yandex/cloud/cic/v1/common/transceiver_type_pb2_grpc.py +4 -0
- yandex/cloud/cic/v1/common/transceiver_type_pb2_grpc.pyi +17 -0
- yandex/cloud/cic/v1/partner_pb2.py +28 -0
- yandex/cloud/cic/v1/partner_pb2.pyi +59 -0
- yandex/cloud/cic/v1/partner_pb2_grpc.py +4 -0
- yandex/cloud/cic/v1/partner_pb2_grpc.pyi +17 -0
- yandex/cloud/cic/v1/partner_service_pb2.py +47 -0
- yandex/cloud/cic/v1/partner_service_pb2.pyi +95 -0
- yandex/cloud/cic/v1/partner_service_pb2_grpc.py +107 -0
- yandex/cloud/cic/v1/partner_service_pb2_grpc.pyi +80 -0
- yandex/cloud/cic/v1/peering_pb2.py +26 -0
- yandex/cloud/cic/v1/peering_pb2.pyi +57 -0
- yandex/cloud/cic/v1/peering_pb2_grpc.py +4 -0
- yandex/cloud/cic/v1/peering_pb2_grpc.pyi +17 -0
- yandex/cloud/cic/v1/point_of_presence_pb2.py +26 -0
- yandex/cloud/cic/v1/point_of_presence_pb2.pyi +33 -0
- yandex/cloud/cic/v1/point_of_presence_pb2_grpc.py +4 -0
- yandex/cloud/cic/v1/point_of_presence_pb2_grpc.pyi +17 -0
- yandex/cloud/cic/v1/point_of_presence_service_pb2.py +47 -0
- yandex/cloud/cic/v1/point_of_presence_service_pb2.pyi +95 -0
- yandex/cloud/cic/v1/point_of_presence_service_pb2_grpc.py +107 -0
- yandex/cloud/cic/v1/point_of_presence_service_pb2_grpc.pyi +80 -0
- yandex/cloud/cic/v1/private_connection_pb2.py +34 -0
- yandex/cloud/cic/v1/private_connection_pb2.pyi +130 -0
- yandex/cloud/cic/v1/private_connection_pb2_grpc.py +4 -0
- yandex/cloud/cic/v1/private_connection_pb2_grpc.pyi +17 -0
- yandex/cloud/cic/v1/private_connection_service_pb2.py +49 -0
- yandex/cloud/cic/v1/private_connection_service_pb2.pyi +101 -0
- yandex/cloud/cic/v1/private_connection_service_pb2_grpc.py +107 -0
- yandex/cloud/cic/v1/private_connection_service_pb2_grpc.pyi +80 -0
- yandex/cloud/cic/v1/public_connection_pb2.py +36 -0
- yandex/cloud/cic/v1/public_connection_pb2.pyi +154 -0
- yandex/cloud/cic/v1/public_connection_pb2_grpc.py +4 -0
- yandex/cloud/cic/v1/public_connection_pb2_grpc.pyi +17 -0
- yandex/cloud/cic/v1/public_connection_service_pb2.py +49 -0
- yandex/cloud/cic/v1/public_connection_service_pb2.pyi +101 -0
- yandex/cloud/cic/v1/public_connection_service_pb2_grpc.py +107 -0
- yandex/cloud/cic/v1/public_connection_service_pb2_grpc.pyi +80 -0
- yandex/cloud/cic/v1/trunk_connection_pb2.py +41 -0
- yandex/cloud/cic/v1/trunk_connection_pb2.pyi +240 -0
- yandex/cloud/cic/v1/trunk_connection_pb2_grpc.py +4 -0
- yandex/cloud/cic/v1/trunk_connection_pb2_grpc.pyi +17 -0
- yandex/cloud/cic/v1/trunk_connection_service_pb2.py +49 -0
- yandex/cloud/cic/v1/trunk_connection_service_pb2.pyi +101 -0
- yandex/cloud/cic/v1/trunk_connection_service_pb2_grpc.py +107 -0
- yandex/cloud/cic/v1/trunk_connection_service_pb2_grpc.pyi +80 -0
- yandex/cloud/cloudapps/__init__.py +0 -0
- yandex/cloud/cloudapps/workload/__init__.py +0 -0
- yandex/cloud/cloudapps/workload/v1/__init__.py +0 -0
- yandex/cloud/cloudapps/workload/v1/cloud_application_pb2.py +47 -0
- yandex/cloud/cloudapps/workload/v1/cloud_application_pb2.pyi +127 -0
- yandex/cloud/cloudapps/workload/v1/cloud_application_pb2_grpc.py +4 -0
- yandex/cloud/cloudapps/workload/v1/cloud_application_pb2_grpc.pyi +17 -0
- yandex/cloud/cloudapps/workload/v1/cloud_application_service_pb2.py +39 -0
- yandex/cloud/cloudapps/workload/v1/cloud_application_service_pb2.pyi +73 -0
- yandex/cloud/cloudapps/workload/v1/cloud_application_service_pb2_grpc.py +106 -0
- yandex/cloud/cloudapps/workload/v1/cloud_application_service_pb2_grpc.pyi +72 -0
- yandex/cloud/datasphere/v2/jobs/jobs_pb2.py +27 -25
- yandex/cloud/datasphere/v2/jobs/jobs_pb2.pyi +62 -10
- yandex/cloud/datatransfer/v1/endpoint/postgres_pb2.pyi +2 -2
- yandex/cloud/k8s/marketplace/__init__.py +0 -0
- yandex/cloud/k8s/marketplace/v1/__init__.py +0 -0
- yandex/cloud/k8s/marketplace/v1/helm_release_pb2.py +29 -0
- yandex/cloud/k8s/marketplace/v1/helm_release_pb2.pyi +119 -0
- yandex/cloud/k8s/marketplace/v1/helm_release_pb2_grpc.py +4 -0
- yandex/cloud/k8s/marketplace/v1/helm_release_pb2_grpc.pyi +17 -0
- yandex/cloud/k8s/marketplace/v1/helm_release_service_pb2.py +83 -0
- yandex/cloud/k8s/marketplace/v1/helm_release_service_pb2.pyi +253 -0
- yandex/cloud/k8s/marketplace/v1/helm_release_service_pb2_grpc.py +208 -0
- yandex/cloud/k8s/marketplace/v1/helm_release_service_pb2_grpc.pyi +132 -0
- yandex/cloud/marketplace/licensemanager/saas/__init__.py +0 -0
- yandex/cloud/marketplace/licensemanager/saas/v1/__init__.py +0 -0
- yandex/cloud/marketplace/licensemanager/saas/v1/instance_service_pb2.py +35 -0
- yandex/cloud/marketplace/licensemanager/saas/v1/instance_service_pb2.pyi +27 -0
- yandex/cloud/marketplace/licensemanager/saas/v1/instance_service_pb2_grpc.py +71 -0
- yandex/cloud/marketplace/licensemanager/saas/v1/instance_service_pb2_grpc.pyi +51 -0
- yandex/cloud/marketplace/licensemanager/saas/v1/lock_service_pb2.py +47 -0
- yandex/cloud/marketplace/licensemanager/saas/v1/lock_service_pb2.pyi +63 -0
- yandex/cloud/marketplace/licensemanager/saas/v1/lock_service_pb2_grpc.py +107 -0
- yandex/cloud/marketplace/licensemanager/saas/v1/lock_service_pb2_grpc.pyi +78 -0
- yandex/cloud/mdb/greenplum/v1/pxf_pb2.pyi +1 -1
- yandex/cloud/mdb/postgresql/v1/config/postgresql15_1c_pb2.py +15 -15
- yandex/cloud/mdb/postgresql/v1/config/postgresql15_1c_pb2.pyi +2 -0
- yandex/cloud/mdb/postgresql/v1/config/postgresql15_pb2.py +15 -15
- yandex/cloud/mdb/postgresql/v1/config/postgresql15_pb2.pyi +2 -0
- yandex/cloud/mdb/postgresql/v1/config/postgresql16_1c_pb2.py +15 -15
- yandex/cloud/mdb/postgresql/v1/config/postgresql16_1c_pb2.pyi +2 -0
- yandex/cloud/mdb/postgresql/v1/config/postgresql16_pb2.py +15 -15
- yandex/cloud/mdb/postgresql/v1/config/postgresql16_pb2.pyi +2 -0
- yandex/cloud/mdb/redis/v1/backup_service_pb2.py +19 -9
- yandex/cloud/mdb/redis/v1/backup_service_pb2.pyi +32 -0
- yandex/cloud/mdb/redis/v1/backup_service_pb2_grpc.py +35 -0
- yandex/cloud/mdb/redis/v1/backup_service_pb2_grpc.pyi +21 -0
- yandex/cloud/serverless/workflows/v1/history_entry_pb2.py +14 -10
- yandex/cloud/serverless/workflows/v1/history_entry_pb2.pyi +41 -2
- yandex/cloud/speechsense/v1/talk_service_pb2.py +7 -3
- yandex/cloud/storage/v1/s3api_pb2.py +31 -1
- yandex/cloud/storage/v1/s3api_pb2.pyi +359 -0
- {yandexcloud-0.319.0.dist-info → yandexcloud-0.321.0.dist-info}/METADATA +1 -1
- {yandexcloud-0.319.0.dist-info → yandexcloud-0.321.0.dist-info}/RECORD +119 -29
- {yandexcloud-0.319.0.dist-info → yandexcloud-0.321.0.dist-info}/AUTHORS +0 -0
- {yandexcloud-0.319.0.dist-info → yandexcloud-0.321.0.dist-info}/LICENSE +0 -0
- {yandexcloud-0.319.0.dist-info → yandexcloud-0.321.0.dist-info}/WHEEL +0 -0
- {yandexcloud-0.319.0.dist-info → yandexcloud-0.321.0.dist-info}/top_level.txt +0 -0
|
@@ -96,7 +96,7 @@ class TextAnnotation(google.protobuf.message.Message):
|
|
|
96
96
|
full_text: builtins.str
|
|
97
97
|
"""Full text recognized from image."""
|
|
98
98
|
rotate: global___Angle.ValueType
|
|
99
|
-
"""Angle of
|
|
99
|
+
"""Angle of image rotation."""
|
|
100
100
|
@property
|
|
101
101
|
def blocks(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___Block]:
|
|
102
102
|
"""Recognized text blocks in this page."""
|
|
@@ -205,7 +205,7 @@ class Line(google.protobuf.message.Message):
|
|
|
205
205
|
text: builtins.str
|
|
206
206
|
"""Recognized text."""
|
|
207
207
|
orientation: global___Angle.ValueType
|
|
208
|
-
"""Angle of
|
|
208
|
+
"""Angle of line rotation."""
|
|
209
209
|
@property
|
|
210
210
|
def bounding_box(self) -> global___Polygon:
|
|
211
211
|
"""Area on the page where the line is located."""
|
|
@@ -26,15 +26,15 @@ class RecognizeTextRequest(google.protobuf.message.Message):
|
|
|
26
26
|
mime_type: builtins.str
|
|
27
27
|
"""Specifications of the ([MIME type](https://en.wikipedia.org/wiki/Media_type)). Each specification contains the file to analyze and features to use for analysis. Restrictions:
|
|
28
28
|
* Supported file formats: `JPEG`, `PNG`, `PDF`.
|
|
29
|
-
* Maximum file size:
|
|
29
|
+
* Maximum file size: see [documentation](/docs/vision/concepts/limits).
|
|
30
30
|
* Image size should not exceed 20M pixels (length x width).
|
|
31
|
-
* The number of pages in a PDF file should not exceed
|
|
31
|
+
* The number of pages in a PDF file should not exceed 1.
|
|
32
32
|
"""
|
|
33
33
|
model: builtins.str
|
|
34
|
-
"""Model to use for text detection."""
|
|
34
|
+
"""[Model](/docs/vision/concepts/ocr/template-recognition#models) to use for text detection."""
|
|
35
35
|
@property
|
|
36
36
|
def language_codes(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]:
|
|
37
|
-
"""List of the languages to recognize text.
|
|
37
|
+
"""[List of the languages](/docs/vision/concepts/ocr/supported-languages) to recognize text.
|
|
38
38
|
Specified in [ISO 639-1](https://en.wikipedia.org/wiki/ISO_639-1) format (for example, `ru`).
|
|
39
39
|
"""
|
|
40
40
|
|
|
@@ -62,7 +62,7 @@ class RecognizeTextResponse(google.protobuf.message.Message):
|
|
|
62
62
|
"""Page number in PDF file."""
|
|
63
63
|
@property
|
|
64
64
|
def text_annotation(self) -> yandex.cloud.ai.ocr.v1.ocr_pb2.TextAnnotation:
|
|
65
|
-
"""Recognized text blocks in
|
|
65
|
+
"""Recognized text blocks in page or text from entities."""
|
|
66
66
|
|
|
67
67
|
def __init__(
|
|
68
68
|
self,
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# source: yandex/cloud/cic/v1/common/lag_allocation_settings.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.cic.v1.common import lag_info_pb2 as yandex_dot_cloud_dot_cic_dot_v1_dot_common_dot_lag__info__pb2
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n8yandex/cloud/cic/v1/common/lag_allocation_settings.proto\x12\x1ayandex.cloud.cic.v1.common\x1a)yandex/cloud/cic/v1/common/lag_info.proto\"r\n\x1cLagAllocationSettingsRequest\x12\x12\n\x08lag_size\x18\r \x01(\x03H\x00\x12\x37\n\x08lag_info\x18\x0e \x01(\x0b\x32#.yandex.cloud.cic.v1.common.LagInfoH\x00\x42\x05\n\x03lag\"N\n\x15LagAllocationSettings\x12\x35\n\x08lag_info\x18\x0e \x01(\x0b\x32#.yandex.cloud.cic.v1.common.LagInfoBd\n\x1eyandex.cloud.api.cic.v1.commonZBgithub.com/yandex-cloud/go-genproto/yandex/cloud/cic/v1/common;cicb\x06proto3')
|
|
18
|
+
|
|
19
|
+
_globals = globals()
|
|
20
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
21
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'yandex.cloud.cic.v1.common.lag_allocation_settings_pb2', _globals)
|
|
22
|
+
if _descriptor._USE_C_DESCRIPTORS == False:
|
|
23
|
+
DESCRIPTOR._options = None
|
|
24
|
+
DESCRIPTOR._serialized_options = b'\n\036yandex.cloud.api.cic.v1.commonZBgithub.com/yandex-cloud/go-genproto/yandex/cloud/cic/v1/common;cic'
|
|
25
|
+
_globals['_LAGALLOCATIONSETTINGSREQUEST']._serialized_start=131
|
|
26
|
+
_globals['_LAGALLOCATIONSETTINGSREQUEST']._serialized_end=245
|
|
27
|
+
_globals['_LAGALLOCATIONSETTINGS']._serialized_start=247
|
|
28
|
+
_globals['_LAGALLOCATIONSETTINGS']._serialized_end=325
|
|
29
|
+
# @@protoc_insertion_point(module_scope)
|
|
@@ -0,0 +1,61 @@
|
|
|
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.cic.v1.common.lag_info_pb2
|
|
11
|
+
|
|
12
|
+
DESCRIPTOR: google.protobuf.descriptor.FileDescriptor
|
|
13
|
+
|
|
14
|
+
@typing.final
|
|
15
|
+
class LagAllocationSettingsRequest(google.protobuf.message.Message):
|
|
16
|
+
"""Structure for create and update requests that describes LAG allocation settings"""
|
|
17
|
+
|
|
18
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
19
|
+
|
|
20
|
+
LAG_SIZE_FIELD_NUMBER: builtins.int
|
|
21
|
+
LAG_INFO_FIELD_NUMBER: builtins.int
|
|
22
|
+
lag_size: builtins.int
|
|
23
|
+
"""Size of LAG.
|
|
24
|
+
Must be from 1 to 10 inclusively.
|
|
25
|
+
"""
|
|
26
|
+
@property
|
|
27
|
+
def lag_info(self) -> yandex.cloud.cic.v1.common.lag_info_pb2.LagInfo:
|
|
28
|
+
"""LagInfo"""
|
|
29
|
+
|
|
30
|
+
def __init__(
|
|
31
|
+
self,
|
|
32
|
+
*,
|
|
33
|
+
lag_size: builtins.int = ...,
|
|
34
|
+
lag_info: yandex.cloud.cic.v1.common.lag_info_pb2.LagInfo | None = ...,
|
|
35
|
+
) -> None: ...
|
|
36
|
+
def HasField(self, field_name: typing.Literal["lag", b"lag", "lag_info", b"lag_info", "lag_size", b"lag_size"]) -> builtins.bool: ...
|
|
37
|
+
def ClearField(self, field_name: typing.Literal["lag", b"lag", "lag_info", b"lag_info", "lag_size", b"lag_size"]) -> None: ...
|
|
38
|
+
def WhichOneof(self, oneof_group: typing.Literal["lag", b"lag"]) -> typing.Literal["lag_size", "lag_info"] | None: ...
|
|
39
|
+
|
|
40
|
+
global___LagAllocationSettingsRequest = LagAllocationSettingsRequest
|
|
41
|
+
|
|
42
|
+
@typing.final
|
|
43
|
+
class LagAllocationSettings(google.protobuf.message.Message):
|
|
44
|
+
"""Structure that describes LAG allocation settings"""
|
|
45
|
+
|
|
46
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
47
|
+
|
|
48
|
+
LAG_INFO_FIELD_NUMBER: builtins.int
|
|
49
|
+
@property
|
|
50
|
+
def lag_info(self) -> yandex.cloud.cic.v1.common.lag_info_pb2.LagInfo:
|
|
51
|
+
"""LagInfo"""
|
|
52
|
+
|
|
53
|
+
def __init__(
|
|
54
|
+
self,
|
|
55
|
+
*,
|
|
56
|
+
lag_info: yandex.cloud.cic.v1.common.lag_info_pb2.LagInfo | None = ...,
|
|
57
|
+
) -> None: ...
|
|
58
|
+
def HasField(self, field_name: typing.Literal["lag_info", b"lag_info"]) -> builtins.bool: ...
|
|
59
|
+
def ClearField(self, field_name: typing.Literal["lag_info", b"lag_info"]) -> None: ...
|
|
60
|
+
|
|
61
|
+
global___LagAllocationSettings = LagAllocationSettings
|
|
@@ -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,27 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# source: yandex/cloud/cic/v1/common/lag_info.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 wrappers_pb2 as google_dot_protobuf_dot_wrappers__pb2
|
|
15
|
+
|
|
16
|
+
|
|
17
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n)yandex/cloud/cic/v1/common/lag_info.proto\x12\x1ayandex.cloud.cic.v1.common\x1a\x1egoogle/protobuf/wrappers.proto\"J\n\x07LagInfo\x12+\n\x06lag_id\x18\x01 \x01(\x0b\x32\x1b.google.protobuf.Int64Value\x12\x12\n\nport_names\x18\x02 \x03(\tBd\n\x1eyandex.cloud.api.cic.v1.commonZBgithub.com/yandex-cloud/go-genproto/yandex/cloud/cic/v1/common;cicb\x06proto3')
|
|
18
|
+
|
|
19
|
+
_globals = globals()
|
|
20
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
21
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'yandex.cloud.cic.v1.common.lag_info_pb2', _globals)
|
|
22
|
+
if _descriptor._USE_C_DESCRIPTORS == False:
|
|
23
|
+
DESCRIPTOR._options = None
|
|
24
|
+
DESCRIPTOR._serialized_options = b'\n\036yandex.cloud.api.cic.v1.commonZBgithub.com/yandex-cloud/go-genproto/yandex/cloud/cic/v1/common;cic'
|
|
25
|
+
_globals['_LAGINFO']._serialized_start=105
|
|
26
|
+
_globals['_LAGINFO']._serialized_end=179
|
|
27
|
+
# @@protoc_insertion_point(module_scope)
|
|
@@ -0,0 +1,42 @@
|
|
|
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.message
|
|
11
|
+
import google.protobuf.wrappers_pb2
|
|
12
|
+
import typing
|
|
13
|
+
|
|
14
|
+
DESCRIPTOR: google.protobuf.descriptor.FileDescriptor
|
|
15
|
+
|
|
16
|
+
@typing.final
|
|
17
|
+
class LagInfo(google.protobuf.message.Message):
|
|
18
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
19
|
+
|
|
20
|
+
LAG_ID_FIELD_NUMBER: builtins.int
|
|
21
|
+
PORT_NAMES_FIELD_NUMBER: builtins.int
|
|
22
|
+
@property
|
|
23
|
+
def lag_id(self) -> google.protobuf.wrappers_pb2.Int64Value:
|
|
24
|
+
"""ID of LAG.
|
|
25
|
+
Optional.
|
|
26
|
+
If is not set scheduler selects it by himself.
|
|
27
|
+
"""
|
|
28
|
+
|
|
29
|
+
@property
|
|
30
|
+
def port_names(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]:
|
|
31
|
+
"""List of port names that the LAG is deployed on."""
|
|
32
|
+
|
|
33
|
+
def __init__(
|
|
34
|
+
self,
|
|
35
|
+
*,
|
|
36
|
+
lag_id: google.protobuf.wrappers_pb2.Int64Value | None = ...,
|
|
37
|
+
port_names: collections.abc.Iterable[builtins.str] | None = ...,
|
|
38
|
+
) -> None: ...
|
|
39
|
+
def HasField(self, field_name: typing.Literal["lag_id", b"lag_id"]) -> builtins.bool: ...
|
|
40
|
+
def ClearField(self, field_name: typing.Literal["lag_id", b"lag_id", "port_names", b"port_names"]) -> None: ...
|
|
41
|
+
|
|
42
|
+
global___LagInfo = LagInfo
|
|
@@ -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,26 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# source: yandex/cloud/cic/v1/common/transceiver_type.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
|
+
|
|
15
|
+
|
|
16
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n1yandex/cloud/cic/v1/common/transceiver_type.proto\x12\x1ayandex.cloud.cic.v1.common*\xdd\x01\n\x0fTransceiverType\x12 \n\x1cTRANSCEIVER_TYPE_UNSPECIFIED\x10\x00\x12 \n\x1cTRANSCEIVER_TYPE_1000BASE_LX\x10\x01\x12\x1f\n\x1bTRANSCEIVER_TYPE_10GBASE_LR\x10\x02\x12\x1f\n\x1bTRANSCEIVER_TYPE_10GBASE_ER\x10\x03\x12!\n\x1dTRANSCEIVER_TYPE_100GBASE_LR4\x10\x04\x12!\n\x1dTRANSCEIVER_TYPE_100GBASE_ER4\x10\x05\x42\x64\n\x1eyandex.cloud.api.cic.v1.commonZBgithub.com/yandex-cloud/go-genproto/yandex/cloud/cic/v1/common;cicb\x06proto3')
|
|
17
|
+
|
|
18
|
+
_globals = globals()
|
|
19
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
20
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'yandex.cloud.cic.v1.common.transceiver_type_pb2', _globals)
|
|
21
|
+
if _descriptor._USE_C_DESCRIPTORS == False:
|
|
22
|
+
DESCRIPTOR._options = None
|
|
23
|
+
DESCRIPTOR._serialized_options = b'\n\036yandex.cloud.api.cic.v1.commonZBgithub.com/yandex-cloud/go-genproto/yandex/cloud/cic/v1/common;cic'
|
|
24
|
+
_globals['_TRANSCEIVERTYPE']._serialized_start=82
|
|
25
|
+
_globals['_TRANSCEIVERTYPE']._serialized_end=303
|
|
26
|
+
# @@protoc_insertion_point(module_scope)
|
|
@@ -0,0 +1,40 @@
|
|
|
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 sys
|
|
10
|
+
import typing
|
|
11
|
+
|
|
12
|
+
if sys.version_info >= (3, 10):
|
|
13
|
+
import typing as typing_extensions
|
|
14
|
+
else:
|
|
15
|
+
import typing_extensions
|
|
16
|
+
|
|
17
|
+
DESCRIPTOR: google.protobuf.descriptor.FileDescriptor
|
|
18
|
+
|
|
19
|
+
class _TransceiverType:
|
|
20
|
+
ValueType = typing.NewType("ValueType", builtins.int)
|
|
21
|
+
V: typing_extensions.TypeAlias = ValueType
|
|
22
|
+
|
|
23
|
+
class _TransceiverTypeEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[_TransceiverType.ValueType], builtins.type):
|
|
24
|
+
DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor
|
|
25
|
+
TRANSCEIVER_TYPE_UNSPECIFIED: _TransceiverType.ValueType # 0
|
|
26
|
+
TRANSCEIVER_TYPE_1000BASE_LX: _TransceiverType.ValueType # 1
|
|
27
|
+
TRANSCEIVER_TYPE_10GBASE_LR: _TransceiverType.ValueType # 2
|
|
28
|
+
TRANSCEIVER_TYPE_10GBASE_ER: _TransceiverType.ValueType # 3
|
|
29
|
+
TRANSCEIVER_TYPE_100GBASE_LR4: _TransceiverType.ValueType # 4
|
|
30
|
+
TRANSCEIVER_TYPE_100GBASE_ER4: _TransceiverType.ValueType # 5
|
|
31
|
+
|
|
32
|
+
class TransceiverType(_TransceiverType, metaclass=_TransceiverTypeEnumTypeWrapper): ...
|
|
33
|
+
|
|
34
|
+
TRANSCEIVER_TYPE_UNSPECIFIED: TransceiverType.ValueType # 0
|
|
35
|
+
TRANSCEIVER_TYPE_1000BASE_LX: TransceiverType.ValueType # 1
|
|
36
|
+
TRANSCEIVER_TYPE_10GBASE_LR: TransceiverType.ValueType # 2
|
|
37
|
+
TRANSCEIVER_TYPE_10GBASE_ER: TransceiverType.ValueType # 3
|
|
38
|
+
TRANSCEIVER_TYPE_100GBASE_LR4: TransceiverType.ValueType # 4
|
|
39
|
+
TRANSCEIVER_TYPE_100GBASE_ER4: TransceiverType.ValueType # 5
|
|
40
|
+
global___TransceiverType = TransceiverType
|
|
@@ -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,28 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# source: yandex/cloud/cic/v1/partner.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
|
+
|
|
15
|
+
|
|
16
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n!yandex/cloud/cic/v1/partner.proto\x12\x13yandex.cloud.cic.v1\"\x9d\x01\n\x07Partner\x12\n\n\x02id\x18\x01 \x01(\t\x12\x11\n\tregion_id\x18\x06 \x01(\t\x12\x33\n\x06status\x18\x0b \x01(\x0e\x32#.yandex.cloud.cic.v1.Partner.Status\"2\n\x06Status\x12\x16\n\x12STATUS_UNSPECIFIED\x10\x00\x12\x06\n\x02UP\x10\x01\x12\x08\n\x04\x44OWN\x10\x02J\x04\x08\x02\x10\x06J\x04\x08\x07\x10\x0b\x42V\n\x17yandex.cloud.api.cic.v1Z;github.com/yandex-cloud/go-genproto/yandex/cloud/cic/v1;cicb\x06proto3')
|
|
17
|
+
|
|
18
|
+
_globals = globals()
|
|
19
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
20
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'yandex.cloud.cic.v1.partner_pb2', _globals)
|
|
21
|
+
if _descriptor._USE_C_DESCRIPTORS == False:
|
|
22
|
+
DESCRIPTOR._options = None
|
|
23
|
+
DESCRIPTOR._serialized_options = b'\n\027yandex.cloud.api.cic.v1Z;github.com/yandex-cloud/go-genproto/yandex/cloud/cic/v1;cic'
|
|
24
|
+
_globals['_PARTNER']._serialized_start=59
|
|
25
|
+
_globals['_PARTNER']._serialized_end=216
|
|
26
|
+
_globals['_PARTNER_STATUS']._serialized_start=154
|
|
27
|
+
_globals['_PARTNER_STATUS']._serialized_end=204
|
|
28
|
+
# @@protoc_insertion_point(module_scope)
|
|
@@ -0,0 +1,59 @@
|
|
|
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
|
+
|
|
13
|
+
if sys.version_info >= (3, 10):
|
|
14
|
+
import typing as typing_extensions
|
|
15
|
+
else:
|
|
16
|
+
import typing_extensions
|
|
17
|
+
|
|
18
|
+
DESCRIPTOR: google.protobuf.descriptor.FileDescriptor
|
|
19
|
+
|
|
20
|
+
@typing.final
|
|
21
|
+
class Partner(google.protobuf.message.Message):
|
|
22
|
+
"""A Partner resource."""
|
|
23
|
+
|
|
24
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
25
|
+
|
|
26
|
+
class _Status:
|
|
27
|
+
ValueType = typing.NewType("ValueType", builtins.int)
|
|
28
|
+
V: typing_extensions.TypeAlias = ValueType
|
|
29
|
+
|
|
30
|
+
class _StatusEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[Partner._Status.ValueType], builtins.type):
|
|
31
|
+
DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor
|
|
32
|
+
STATUS_UNSPECIFIED: Partner._Status.ValueType # 0
|
|
33
|
+
UP: Partner._Status.ValueType # 1
|
|
34
|
+
DOWN: Partner._Status.ValueType # 2
|
|
35
|
+
|
|
36
|
+
class Status(_Status, metaclass=_StatusEnumTypeWrapper): ...
|
|
37
|
+
STATUS_UNSPECIFIED: Partner.Status.ValueType # 0
|
|
38
|
+
UP: Partner.Status.ValueType # 1
|
|
39
|
+
DOWN: Partner.Status.ValueType # 2
|
|
40
|
+
|
|
41
|
+
ID_FIELD_NUMBER: builtins.int
|
|
42
|
+
REGION_ID_FIELD_NUMBER: builtins.int
|
|
43
|
+
STATUS_FIELD_NUMBER: builtins.int
|
|
44
|
+
id: builtins.str
|
|
45
|
+
"""ID of the routingInstance."""
|
|
46
|
+
region_id: builtins.str
|
|
47
|
+
"""ID of the region that the partner belongs to."""
|
|
48
|
+
status: global___Partner.Status.ValueType
|
|
49
|
+
"""Status of the partner."""
|
|
50
|
+
def __init__(
|
|
51
|
+
self,
|
|
52
|
+
*,
|
|
53
|
+
id: builtins.str = ...,
|
|
54
|
+
region_id: builtins.str = ...,
|
|
55
|
+
status: global___Partner.Status.ValueType = ...,
|
|
56
|
+
) -> None: ...
|
|
57
|
+
def ClearField(self, field_name: typing.Literal["id", b"id", "region_id", b"region_id", "status", b"status"]) -> None: ...
|
|
58
|
+
|
|
59
|
+
global___Partner = Partner
|
|
@@ -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,47 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# source: yandex/cloud/cic/v1/partner_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 google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2
|
|
15
|
+
from yandex.cloud import validation_pb2 as yandex_dot_cloud_dot_validation__pb2
|
|
16
|
+
from yandex.cloud.cic.v1 import partner_pb2 as yandex_dot_cloud_dot_cic_dot_v1_dot_partner__pb2
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n)yandex/cloud/cic/v1/partner_service.proto\x12\x13yandex.cloud.cic.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x1dyandex/cloud/validation.proto\x1a!yandex/cloud/cic/v1/partner.proto\"5\n\x11GetPartnerRequest\x12 \n\npartner_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\"u\n\x13ListPartnersRequest\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<=1000J\x04\x08\x01\x10\x02\"_\n\x14ListPartnersResponse\x12.\n\x08partners\x18\x01 \x03(\x0b\x32\x1c.yandex.cloud.cic.v1.Partner\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t2\xfb\x01\n\x0ePartnerService\x12r\n\x03Get\x12&.yandex.cloud.cic.v1.GetPartnerRequest\x1a\x1c.yandex.cloud.cic.v1.Partner\"%\x82\xd3\xe4\x93\x02\x1f\x12\x1d/cic/v1/partners/{partner_id}\x12u\n\x04List\x12(.yandex.cloud.cic.v1.ListPartnersRequest\x1a).yandex.cloud.cic.v1.ListPartnersResponse\"\x18\x82\xd3\xe4\x93\x02\x12\x12\x10/cic/v1/partnersBV\n\x17yandex.cloud.api.cic.v1Z;github.com/yandex-cloud/go-genproto/yandex/cloud/cic/v1;cicb\x06proto3')
|
|
20
|
+
|
|
21
|
+
_globals = globals()
|
|
22
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
23
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'yandex.cloud.cic.v1.partner_service_pb2', _globals)
|
|
24
|
+
if _descriptor._USE_C_DESCRIPTORS == False:
|
|
25
|
+
DESCRIPTOR._options = None
|
|
26
|
+
DESCRIPTOR._serialized_options = b'\n\027yandex.cloud.api.cic.v1Z;github.com/yandex-cloud/go-genproto/yandex/cloud/cic/v1;cic'
|
|
27
|
+
_GETPARTNERREQUEST.fields_by_name['partner_id']._options = None
|
|
28
|
+
_GETPARTNERREQUEST.fields_by_name['partner_id']._serialized_options = b'\350\3071\001\212\3101\004<=50'
|
|
29
|
+
_LISTPARTNERSREQUEST.fields_by_name['page_size']._options = None
|
|
30
|
+
_LISTPARTNERSREQUEST.fields_by_name['page_size']._serialized_options = b'\372\3071\006<=1000'
|
|
31
|
+
_LISTPARTNERSREQUEST.fields_by_name['page_token']._options = None
|
|
32
|
+
_LISTPARTNERSREQUEST.fields_by_name['page_token']._serialized_options = b'\212\3101\005<=100'
|
|
33
|
+
_LISTPARTNERSREQUEST.fields_by_name['filter']._options = None
|
|
34
|
+
_LISTPARTNERSREQUEST.fields_by_name['filter']._serialized_options = b'\212\3101\006<=1000'
|
|
35
|
+
_PARTNERSERVICE.methods_by_name['Get']._options = None
|
|
36
|
+
_PARTNERSERVICE.methods_by_name['Get']._serialized_options = b'\202\323\344\223\002\037\022\035/cic/v1/partners/{partner_id}'
|
|
37
|
+
_PARTNERSERVICE.methods_by_name['List']._options = None
|
|
38
|
+
_PARTNERSERVICE.methods_by_name['List']._serialized_options = b'\202\323\344\223\002\022\022\020/cic/v1/partners'
|
|
39
|
+
_globals['_GETPARTNERREQUEST']._serialized_start=162
|
|
40
|
+
_globals['_GETPARTNERREQUEST']._serialized_end=215
|
|
41
|
+
_globals['_LISTPARTNERSREQUEST']._serialized_start=217
|
|
42
|
+
_globals['_LISTPARTNERSREQUEST']._serialized_end=334
|
|
43
|
+
_globals['_LISTPARTNERSRESPONSE']._serialized_start=336
|
|
44
|
+
_globals['_LISTPARTNERSRESPONSE']._serialized_end=431
|
|
45
|
+
_globals['_PARTNERSERVICE']._serialized_start=434
|
|
46
|
+
_globals['_PARTNERSERVICE']._serialized_end=685
|
|
47
|
+
# @@protoc_insertion_point(module_scope)
|
|
@@ -0,0 +1,95 @@
|
|
|
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.message
|
|
11
|
+
import typing
|
|
12
|
+
import yandex.cloud.cic.v1.partner_pb2
|
|
13
|
+
|
|
14
|
+
DESCRIPTOR: google.protobuf.descriptor.FileDescriptor
|
|
15
|
+
|
|
16
|
+
@typing.final
|
|
17
|
+
class GetPartnerRequest(google.protobuf.message.Message):
|
|
18
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
19
|
+
|
|
20
|
+
PARTNER_ID_FIELD_NUMBER: builtins.int
|
|
21
|
+
partner_id: builtins.str
|
|
22
|
+
"""ID of the Partner resource to return.
|
|
23
|
+
To get the partner ID use a [PartnerService.List] request.
|
|
24
|
+
"""
|
|
25
|
+
def __init__(
|
|
26
|
+
self,
|
|
27
|
+
*,
|
|
28
|
+
partner_id: builtins.str = ...,
|
|
29
|
+
) -> None: ...
|
|
30
|
+
def ClearField(self, field_name: typing.Literal["partner_id", b"partner_id"]) -> None: ...
|
|
31
|
+
|
|
32
|
+
global___GetPartnerRequest = GetPartnerRequest
|
|
33
|
+
|
|
34
|
+
@typing.final
|
|
35
|
+
class ListPartnersRequest(google.protobuf.message.Message):
|
|
36
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
37
|
+
|
|
38
|
+
PAGE_SIZE_FIELD_NUMBER: builtins.int
|
|
39
|
+
PAGE_TOKEN_FIELD_NUMBER: builtins.int
|
|
40
|
+
FILTER_FIELD_NUMBER: builtins.int
|
|
41
|
+
page_size: builtins.int
|
|
42
|
+
"""The maximum number of results per page to return. If the number of available
|
|
43
|
+
results is larger than [page_size],
|
|
44
|
+
the service returns a [ListPartnersResponse.next_page_token]
|
|
45
|
+
that can be used to get the next page of results in subsequent list requests. Default value: 100.
|
|
46
|
+
"""
|
|
47
|
+
page_token: builtins.str
|
|
48
|
+
"""Page token. To get the next page of results, set [page_token] to the
|
|
49
|
+
[ListPartnersResponse.next_page_token] returned by a previous list request.
|
|
50
|
+
"""
|
|
51
|
+
filter: builtins.str
|
|
52
|
+
"""A filter expression that filters resources listed in the response.
|
|
53
|
+
The expression must specify:
|
|
54
|
+
1. The field name. Currently you can use filtering only on [Subnet.name] field.
|
|
55
|
+
2. An `=` operator.
|
|
56
|
+
3. The value in double quotes (`"`). Must be 3-63 characters long and match the regular expression `[a-z][-a-z0-9]{1,61}[a-z0-9]`.
|
|
57
|
+
"""
|
|
58
|
+
def __init__(
|
|
59
|
+
self,
|
|
60
|
+
*,
|
|
61
|
+
page_size: builtins.int = ...,
|
|
62
|
+
page_token: builtins.str = ...,
|
|
63
|
+
filter: builtins.str = ...,
|
|
64
|
+
) -> None: ...
|
|
65
|
+
def ClearField(self, field_name: typing.Literal["filter", b"filter", "page_size", b"page_size", "page_token", b"page_token"]) -> None: ...
|
|
66
|
+
|
|
67
|
+
global___ListPartnersRequest = ListPartnersRequest
|
|
68
|
+
|
|
69
|
+
@typing.final
|
|
70
|
+
class ListPartnersResponse(google.protobuf.message.Message):
|
|
71
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
72
|
+
|
|
73
|
+
PARTNERS_FIELD_NUMBER: builtins.int
|
|
74
|
+
NEXT_PAGE_TOKEN_FIELD_NUMBER: builtins.int
|
|
75
|
+
next_page_token: builtins.str
|
|
76
|
+
"""This token allows you to get the next page of results for list requests. If the number of results
|
|
77
|
+
is larger than [ListPartnersRequest.page_size], use
|
|
78
|
+
the [next_page_token] as the value
|
|
79
|
+
for the [ListPartnersRequest.page_token] query parameter
|
|
80
|
+
in the next list request. Subsequent list requests will have their own
|
|
81
|
+
[next_page_token] to continue paging through the results.
|
|
82
|
+
"""
|
|
83
|
+
@property
|
|
84
|
+
def partners(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[yandex.cloud.cic.v1.partner_pb2.Partner]:
|
|
85
|
+
"""List of Partner resources."""
|
|
86
|
+
|
|
87
|
+
def __init__(
|
|
88
|
+
self,
|
|
89
|
+
*,
|
|
90
|
+
partners: collections.abc.Iterable[yandex.cloud.cic.v1.partner_pb2.Partner] | None = ...,
|
|
91
|
+
next_page_token: builtins.str = ...,
|
|
92
|
+
) -> None: ...
|
|
93
|
+
def ClearField(self, field_name: typing.Literal["next_page_token", b"next_page_token", "partners", b"partners"]) -> None: ...
|
|
94
|
+
|
|
95
|
+
global___ListPartnersResponse = ListPartnersResponse
|