yandexcloud 0.334.0__py3-none-any.whl → 0.335.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/tuning/v1/tuning_service_pb2.py +8 -8
- yandex/cloud/ai/tuning/v1/tuning_service_pb2.pyi +11 -3
- yandex/cloud/cic/v1/partner_pb2.pyi +1 -1
- yandex/cloud/cic/v1/private_connection_pb2.py +10 -9
- yandex/cloud/cic/v1/private_connection_pb2.pyi +40 -12
- yandex/cloud/cic/v1/private_connection_service_pb2.py +76 -9
- yandex/cloud/cic/v1/private_connection_service_pb2.pyi +379 -1
- yandex/cloud/cic/v1/private_connection_service_pb2_grpc.py +270 -0
- yandex/cloud/cic/v1/private_connection_service_pb2_grpc.pyi +151 -0
- yandex/cloud/cic/v1/public_connection_pb2.py +10 -7
- yandex/cloud/cic/v1/public_connection_pb2.pyi +32 -2
- yandex/cloud/cic/v1/trunk_connection_pb2.py +16 -13
- yandex/cloud/cic/v1/trunk_connection_pb2.pyi +38 -2
- yandex/cloud/cic/v1/trunk_connection_service_pb2.py +62 -9
- yandex/cloud/cic/v1/trunk_connection_service_pb2.pyi +360 -1
- yandex/cloud/cic/v1/trunk_connection_service_pb2_grpc.py +180 -0
- yandex/cloud/cic/v1/trunk_connection_service_pb2_grpc.pyi +99 -0
- yandex/cloud/cloudrouter/v1/routing_instance_pb2.py +16 -15
- yandex/cloud/cloudrouter/v1/routing_instance_pb2.pyi +11 -3
- yandex/cloud/cloudrouter/v1/routing_instance_service_pb2.py +86 -15
- yandex/cloud/cloudrouter/v1/routing_instance_service_pb2.pyi +388 -1
- yandex/cloud/cloudrouter/v1/routing_instance_service_pb2_grpc.py +360 -0
- yandex/cloud/cloudrouter/v1/routing_instance_service_pb2_grpc.pyi +203 -0
- yandex/cloud/compute/v1/instance_pb2.py +52 -52
- yandex/cloud/compute/v1/instance_pb2.pyi +5 -1
- yandex/cloud/compute/v1/instance_service_pb2.py +130 -126
- yandex/cloud/compute/v1/instance_service_pb2.pyi +17 -2
- yandex/cloud/compute/v1/reserved_instance_pool_pb2.py +59 -0
- yandex/cloud/compute/v1/reserved_instance_pool_pb2.pyi +171 -0
- yandex/cloud/compute/v1/reserved_instance_pool_pb2_grpc.py +24 -0
- yandex/cloud/compute/v1/reserved_instance_pool_pb2_grpc.pyi +17 -0
- yandex/cloud/compute/v1/reserved_instance_pool_service_pb2.py +123 -0
- yandex/cloud/compute/v1/reserved_instance_pool_service_pb2.pyi +345 -0
- yandex/cloud/compute/v1/reserved_instance_pool_service_pb2_grpc.py +282 -0
- yandex/cloud/compute/v1/reserved_instance_pool_service_pb2_grpc.pyi +147 -0
- yandex/cloud/mdb/greenplum/v1/cluster_pb2.py +30 -24
- yandex/cloud/mdb/greenplum/v1/cluster_pb2.pyi +47 -2
- yandex/cloud/mdb/greenplum/v1/cluster_service_pb2.py +78 -78
- yandex/cloud/mdb/greenplum/v1/cluster_service_pb2.pyi +29 -5
- yandex/cloud/mdb/mongodb/v1/cluster_service_pb2.pyi +0 -2
- yandex/cloud/mdb/mongodb/v1/config/mongodb_pb2.py +38 -22
- yandex/cloud/mdb/mongodb/v1/config/mongodb_pb2.pyi +193 -13
- yandex/cloud/mdb/mysql/v1/config/mysql5_7_pb2.py +18 -18
- yandex/cloud/mdb/mysql/v1/config/mysql5_7_pb2.pyi +8 -0
- yandex/cloud/mdb/mysql/v1/config/mysql8_0_pb2.py +18 -18
- yandex/cloud/mdb/mysql/v1/config/mysql8_0_pb2.pyi +8 -0
- yandex/cloud/mdb/mysql/v1/user_pb2.py +3 -3
- yandex/cloud/mdb/mysql/v1/user_pb2.pyi +8 -0
- yandex/cloud/storage/v1/bucket_pb2.py +75 -73
- yandex/cloud/video/v1/channel_service_pb2.py +36 -29
- yandex/cloud/video/v1/channel_service_pb2_grpc.py +133 -0
- yandex/cloud/video/v1/channel_service_pb2_grpc.pyi +61 -0
- yandex/cloud/video/v1/episode_service_pb2.py +54 -53
- yandex/cloud/video/v1/episode_service_pb2.pyi +9 -2
- yandexcloud/__init__.py +2 -1
- yandexcloud/_channels.py +8 -3
- yandexcloud/_retry_interceptor.py +2 -0
- yandexcloud/_retry_policy.py +31 -0
- yandexcloud/_sdk.py +5 -10
- {yandexcloud-0.334.0.dist-info → yandexcloud-0.335.0.dist-info}/METADATA +20 -1
- {yandexcloud-0.334.0.dist-info → yandexcloud-0.335.0.dist-info}/RECORD +65 -56
- {yandexcloud-0.334.0.dist-info → yandexcloud-0.335.0.dist-info}/WHEEL +1 -1
- {yandexcloud-0.334.0.dist-info → yandexcloud-0.335.0.dist-info}/AUTHORS +0 -0
- {yandexcloud-0.334.0.dist-info → yandexcloud-0.335.0.dist-info}/LICENSE +0 -0
- {yandexcloud-0.334.0.dist-info → yandexcloud-0.335.0.dist-info}/top_level.txt +0 -0
|
@@ -9,6 +9,7 @@ import google.protobuf.descriptor
|
|
|
9
9
|
import google.protobuf.internal.containers
|
|
10
10
|
import google.protobuf.internal.enum_type_wrapper
|
|
11
11
|
import google.protobuf.message
|
|
12
|
+
import google.protobuf.timestamp_pb2
|
|
12
13
|
import google.protobuf.wrappers_pb2
|
|
13
14
|
import sys
|
|
14
15
|
import typing
|
|
@@ -73,6 +74,25 @@ class TrunkConnection(google.protobuf.message.Message):
|
|
|
73
74
|
CAPACITY_50_GBPS: TrunkConnection.Capacity.ValueType # 16
|
|
74
75
|
CAPACITY_100_GBPS: TrunkConnection.Capacity.ValueType # 17
|
|
75
76
|
|
|
77
|
+
class _Status:
|
|
78
|
+
ValueType = typing.NewType("ValueType", builtins.int)
|
|
79
|
+
V: typing_extensions.TypeAlias = ValueType
|
|
80
|
+
|
|
81
|
+
class _StatusEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[TrunkConnection._Status.ValueType], builtins.type):
|
|
82
|
+
DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor
|
|
83
|
+
STATUS_UNSPECIFIED: TrunkConnection._Status.ValueType # 0
|
|
84
|
+
CREATING: TrunkConnection._Status.ValueType # 1
|
|
85
|
+
UPDATING: TrunkConnection._Status.ValueType # 2
|
|
86
|
+
DELETING: TrunkConnection._Status.ValueType # 3
|
|
87
|
+
ACTIVE: TrunkConnection._Status.ValueType # 4
|
|
88
|
+
|
|
89
|
+
class Status(_Status, metaclass=_StatusEnumTypeWrapper): ...
|
|
90
|
+
STATUS_UNSPECIFIED: TrunkConnection.Status.ValueType # 0
|
|
91
|
+
CREATING: TrunkConnection.Status.ValueType # 1
|
|
92
|
+
UPDATING: TrunkConnection.Status.ValueType # 2
|
|
93
|
+
DELETING: TrunkConnection.Status.ValueType # 3
|
|
94
|
+
ACTIVE: TrunkConnection.Status.ValueType # 4
|
|
95
|
+
|
|
76
96
|
@typing.final
|
|
77
97
|
class LabelsEntry(google.protobuf.message.Message):
|
|
78
98
|
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
@@ -174,12 +194,15 @@ class TrunkConnection(google.protobuf.message.Message):
|
|
|
174
194
|
DESCRIPTION_FIELD_NUMBER: builtins.int
|
|
175
195
|
FOLDER_ID_FIELD_NUMBER: builtins.int
|
|
176
196
|
REGION_ID_FIELD_NUMBER: builtins.int
|
|
197
|
+
CREATED_AT_FIELD_NUMBER: builtins.int
|
|
177
198
|
SINGLE_PORT_DIRECT_JOINT_FIELD_NUMBER: builtins.int
|
|
178
199
|
LAG_DIRECT_JOINT_FIELD_NUMBER: builtins.int
|
|
179
200
|
PARTNER_JOINT_INFO_FIELD_NUMBER: builtins.int
|
|
180
201
|
POINT_OF_PRESENCE_ID_FIELD_NUMBER: builtins.int
|
|
181
202
|
CAPACITY_FIELD_NUMBER: builtins.int
|
|
182
203
|
LABELS_FIELD_NUMBER: builtins.int
|
|
204
|
+
STATUS_FIELD_NUMBER: builtins.int
|
|
205
|
+
DELETION_PROTECTION_FIELD_NUMBER: builtins.int
|
|
183
206
|
id: builtins.str
|
|
184
207
|
"""ID of the trunkConnection."""
|
|
185
208
|
name: builtins.str
|
|
@@ -195,6 +218,16 @@ class TrunkConnection(google.protobuf.message.Message):
|
|
|
195
218
|
"""ID of the region that the trunkConnection belongs to."""
|
|
196
219
|
capacity: global___TrunkConnection.Capacity.ValueType
|
|
197
220
|
"""Capacity of the trunkConnection"""
|
|
221
|
+
status: global___TrunkConnection.Status.ValueType
|
|
222
|
+
"""Status of the trunkConnection."""
|
|
223
|
+
deletion_protection: builtins.bool
|
|
224
|
+
"""Optional deletion protection flag.
|
|
225
|
+
If set prohibits deletion of the trunkConnection.
|
|
226
|
+
"""
|
|
227
|
+
@property
|
|
228
|
+
def created_at(self) -> google.protobuf.timestamp_pb2.Timestamp:
|
|
229
|
+
"""Creation timestamp in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format."""
|
|
230
|
+
|
|
198
231
|
@property
|
|
199
232
|
def single_port_direct_joint(self) -> global___TrunkConnection.SinglePortDirectJoint: ...
|
|
200
233
|
@property
|
|
@@ -226,15 +259,18 @@ class TrunkConnection(google.protobuf.message.Message):
|
|
|
226
259
|
description: builtins.str = ...,
|
|
227
260
|
folder_id: builtins.str = ...,
|
|
228
261
|
region_id: builtins.str = ...,
|
|
262
|
+
created_at: google.protobuf.timestamp_pb2.Timestamp | None = ...,
|
|
229
263
|
single_port_direct_joint: global___TrunkConnection.SinglePortDirectJoint | None = ...,
|
|
230
264
|
lag_direct_joint: global___TrunkConnection.LagDirectJoint | None = ...,
|
|
231
265
|
partner_joint_info: global___TrunkConnection.PartnerJointInfo | None = ...,
|
|
232
266
|
point_of_presence_id: google.protobuf.wrappers_pb2.StringValue | None = ...,
|
|
233
267
|
capacity: global___TrunkConnection.Capacity.ValueType = ...,
|
|
234
268
|
labels: collections.abc.Mapping[builtins.str, builtins.str] | None = ...,
|
|
269
|
+
status: global___TrunkConnection.Status.ValueType = ...,
|
|
270
|
+
deletion_protection: builtins.bool = ...,
|
|
235
271
|
) -> None: ...
|
|
236
|
-
def HasField(self, field_name: typing.Literal["joint", b"joint", "lag_direct_joint", b"lag_direct_joint", "partner_joint_info", b"partner_joint_info", "point_of_presence_id", b"point_of_presence_id", "single_port_direct_joint", b"single_port_direct_joint"]) -> builtins.bool: ...
|
|
237
|
-
def ClearField(self, field_name: typing.Literal["capacity", b"capacity", "description", b"description", "folder_id", b"folder_id", "id", b"id", "joint", b"joint", "labels", b"labels", "lag_direct_joint", b"lag_direct_joint", "name", b"name", "partner_joint_info", b"partner_joint_info", "point_of_presence_id", b"point_of_presence_id", "region_id", b"region_id", "single_port_direct_joint", b"single_port_direct_joint"]) -> None: ...
|
|
272
|
+
def HasField(self, field_name: typing.Literal["created_at", b"created_at", "joint", b"joint", "lag_direct_joint", b"lag_direct_joint", "partner_joint_info", b"partner_joint_info", "point_of_presence_id", b"point_of_presence_id", "single_port_direct_joint", b"single_port_direct_joint"]) -> builtins.bool: ...
|
|
273
|
+
def ClearField(self, field_name: typing.Literal["capacity", b"capacity", "created_at", b"created_at", "deletion_protection", b"deletion_protection", "description", b"description", "folder_id", b"folder_id", "id", b"id", "joint", b"joint", "labels", b"labels", "lag_direct_joint", b"lag_direct_joint", "name", b"name", "partner_joint_info", b"partner_joint_info", "point_of_presence_id", b"point_of_presence_id", "region_id", b"region_id", "single_port_direct_joint", b"single_port_direct_joint", "status", b"status"]) -> None: ...
|
|
238
274
|
def WhichOneof(self, oneof_group: typing.Literal["joint", b"joint"]) -> typing.Literal["single_port_direct_joint", "lag_direct_joint", "partner_joint_info"] | None: ...
|
|
239
275
|
|
|
240
276
|
global___TrunkConnection = TrunkConnection
|
|
@@ -23,11 +23,16 @@ _sym_db = _symbol_database.Default()
|
|
|
23
23
|
|
|
24
24
|
|
|
25
25
|
from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2
|
|
26
|
+
from google.protobuf import field_mask_pb2 as google_dot_protobuf_dot_field__mask__pb2
|
|
27
|
+
from google.protobuf import wrappers_pb2 as google_dot_protobuf_dot_wrappers__pb2
|
|
26
28
|
from yandex.cloud import validation_pb2 as yandex_dot_cloud_dot_validation__pb2
|
|
29
|
+
from yandex.cloud.api import operation_pb2 as yandex_dot_cloud_dot_api_dot_operation__pb2
|
|
30
|
+
from yandex.cloud.operation import operation_pb2 as yandex_dot_cloud_dot_operation_dot_operation__pb2
|
|
31
|
+
from yandex.cloud.cic.v1.common import transceiver_type_pb2 as yandex_dot_cloud_dot_cic_dot_v1_dot_common_dot_transceiver__type__pb2
|
|
27
32
|
from yandex.cloud.cic.v1 import trunk_connection_pb2 as yandex_dot_cloud_dot_cic_dot_v1_dot_trunk__connection__pb2
|
|
28
33
|
|
|
29
34
|
|
|
30
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n2yandex/cloud/cic/v1/trunk_connection_service.proto\x12\x13yandex.cloud.cic.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x1dyandex/cloud/validation.proto\x1a*yandex/cloud/cic/v1/trunk_connection.proto\"F\n\x19GetTrunkConnectionRequest\x12)\n\x13trunk_connection_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\"\x98\x01\n\x1bListTrunkConnectionsRequest\x12\x1f\n\tfolder_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12\x1d\n\tpage_size\x18\x02 \x01(\x03\x42\n\xfa\xc7\x31\x06<=1000\x12\x1d\n\npage_token\x18\x03 \x01(\tB\t\x8a\xc8\x31\x05<=100\x12\x1a\n\x06\x66ilter\x18\x04 \x01(\tB\n\x8a\xc8\x31\x06<=1000\"x\n\x1cListTrunkConnectionsResponse\x12?\n\x11trunk_connections\x18\x01 \x03(\x0b\x32$.yandex.cloud.cic.v1.TrunkConnection\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\
|
|
35
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n2yandex/cloud/cic/v1/trunk_connection_service.proto\x12\x13yandex.cloud.cic.v1\x1a\x1cgoogle/api/annotations.proto\x1a google/protobuf/field_mask.proto\x1a\x1egoogle/protobuf/wrappers.proto\x1a\x1dyandex/cloud/validation.proto\x1a yandex/cloud/api/operation.proto\x1a&yandex/cloud/operation/operation.proto\x1a\x31yandex/cloud/cic/v1/common/transceiver_type.proto\x1a*yandex/cloud/cic/v1/trunk_connection.proto\"F\n\x19GetTrunkConnectionRequest\x12)\n\x13trunk_connection_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\"\x98\x01\n\x1bListTrunkConnectionsRequest\x12\x1f\n\tfolder_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12\x1d\n\tpage_size\x18\x02 \x01(\x03\x42\n\xfa\xc7\x31\x06<=1000\x12\x1d\n\npage_token\x18\x03 \x01(\tB\t\x8a\xc8\x31\x05<=100\x12\x1a\n\x06\x66ilter\x18\x04 \x01(\tB\n\x8a\xc8\x31\x06<=1000\"x\n\x1cListTrunkConnectionsResponse\x12?\n\x11trunk_connections\x18\x01 \x03(\x0b\x32$.yandex.cloud.cic.v1.TrunkConnection\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\x94\x08\n\x1c\x43reateTrunkConnectionRequest\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x02 \x01(\t\x12\x11\n\tfolder_id\x18\x04 \x01(\t\x12\x11\n\tregion_id\x18\x05 \x01(\t\x12k\n\x18single_port_direct_joint\x18\n \x01(\x0b\x32G.yandex.cloud.cic.v1.CreateTrunkConnectionRequest.SinglePortDirectJointH\x00\x12\\\n\x10lag_direct_joint\x18\x0b \x01(\x0b\x32@.yandex.cloud.cic.v1.CreateTrunkConnectionRequest.LagDirectJointH\x00\x12\\\n\x12partner_joint_info\x18\x0c \x01(\x0b\x32>.yandex.cloud.cic.v1.CreateTrunkConnectionRequest.PartnerJointH\x00\x12:\n\x14point_of_presence_id\x18\r \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12?\n\x08\x63\x61pacity\x18\x11 \x01(\x0e\x32-.yandex.cloud.cic.v1.TrunkConnection.Capacity\x12\x8a\x01\n\x06labels\x18\x12 \x03(\x0b\x32=.yandex.cloud.cic.v1.CreateTrunkConnectionRequest.LabelsEntryB;\xf2\xc7\x31\x0b[-_0-9a-z]*\x82\xc8\x31\x04<=64\x8a\xc8\x31\x04<=63\xb2\xc8\x31\x18\x12\x10[a-z][-_0-9a-z]*\x1a\x04\x31-63\x12\x1b\n\x13\x64\x65letion_protection\x18\x14 \x01(\x08\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a\x64\n\x15SinglePortDirectJoint\x12\x45\n\x10transceiver_type\x18\x01 \x01(\x0e\x32+.yandex.cloud.cic.v1.common.TransceiverTypeJ\x04\x08\x02\x10\x05\x1a]\n\x0eLagDirectJoint\x12\x45\n\x10transceiver_type\x18\x01 \x01(\x0e\x32+.yandex.cloud.cic.v1.common.TransceiverTypeJ\x04\x08\x02\x10\x05\x1a\x46\n\x0cPartnerJoint\x12\x30\n\npartner_id\x18\x04 \x01(\x0b\x32\x1c.google.protobuf.StringValueJ\x04\x08\x01\x10\x04\x42\x07\n\x05jointJ\x04\x08\x03\x10\x04J\x04\x08\x06\x10\nJ\x04\x08\x0e\x10\x11J\x04\x08\x13\x10\x14\"<\n\x1d\x43reateTrunkConnectionMetadata\x12\x1b\n\x13trunk_connection_id\x18\x01 \x01(\t\"\x9e\x04\n\x1cUpdateTrunkConnectionRequest\x12)\n\x13trunk_connection_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12/\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\x12\x0c\n\x04name\x18\x03 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x04 \x01(\t\x12\x11\n\tregion_id\x18\x07 \x01(\t\x12:\n\x14point_of_presence_id\x18\r \x01(\x0b\x32\x1c.google.protobuf.StringValue\x12?\n\x08\x63\x61pacity\x18\x11 \x01(\x0e\x32-.yandex.cloud.cic.v1.TrunkConnection.Capacity\x12\x8a\x01\n\x06labels\x18\x12 \x03(\x0b\x32=.yandex.cloud.cic.v1.UpdateTrunkConnectionRequest.LabelsEntryB;\xf2\xc7\x31\x0b[-_0-9a-z]*\x82\xc8\x31\x04<=64\x8a\xc8\x31\x04<=63\xb2\xc8\x31\x18\x12\x10[a-z][-_0-9a-z]*\x1a\x04\x31-63\x12\x1b\n\x13\x64\x65letion_protection\x18\x14 \x01(\x08\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01J\x04\x08\x05\x10\x07J\x04\x08\x08\x10\rJ\x04\x08\x0e\x10\x11J\x04\x08\x13\x10\x14\"<\n\x1dUpdateTrunkConnectionMetadata\x12\x1b\n\x13trunk_connection_id\x18\x01 \x01(\t\"I\n\x1c\x44\x65leteTrunkConnectionRequest\x12)\n\x13trunk_connection_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\"<\n\x1d\x44\x65leteTrunkConnectionMetadata\x12\x1b\n\x13trunk_connection_id\x18\x01 \x01(\t\"x\n$ListTrunkConnectionOperationsRequest\x12)\n\x13trunk_connection_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12\x11\n\tpage_size\x18\x02 \x01(\x03\x12\x12\n\npage_token\x18\x03 \x01(\t\"w\n%ListTrunkConnectionOperationsResponse\x12\x35\n\noperations\x18\x01 \x03(\x0b\x32!.yandex.cloud.operation.Operation\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t2\xe8\x08\n\x16TrunkConnectionService\x12\x93\x01\n\x03Get\x12..yandex.cloud.cic.v1.GetTrunkConnectionRequest\x1a$.yandex.cloud.cic.v1.TrunkConnection\"6\x82\xd3\xe4\x93\x02\x30\x12./cic/v1/trunkConnections/{trunk_connection_id}\x12\x8d\x01\n\x04List\x12\x30.yandex.cloud.cic.v1.ListTrunkConnectionsRequest\x1a\x31.yandex.cloud.cic.v1.ListTrunkConnectionsResponse\" \x82\xd3\xe4\x93\x02\x1a\x12\x18/cic/v1/trunkConnections\x12\xb7\x01\n\x06\x43reate\x12\x31.yandex.cloud.cic.v1.CreateTrunkConnectionRequest\x1a!.yandex.cloud.operation.Operation\"W\xb2\xd2*0\n\x1d\x43reateTrunkConnectionMetadata\x12\x0fTrunkConnection\x82\xd3\xe4\x93\x02\x1d\"\x18/cic/v1/trunkConnections:\x01*\x12\xcd\x01\n\x06Update\x12\x31.yandex.cloud.cic.v1.UpdateTrunkConnectionRequest\x1a!.yandex.cloud.operation.Operation\"m\xb2\xd2*0\n\x1dUpdateTrunkConnectionMetadata\x12\x0fTrunkConnection\x82\xd3\xe4\x93\x02\x33\x32./cic/v1/trunkConnections/{trunk_connection_id}:\x01*\x12\xd0\x01\n\x06\x44\x65lete\x12\x31.yandex.cloud.cic.v1.DeleteTrunkConnectionRequest\x1a!.yandex.cloud.operation.Operation\"p\xb2\xd2*6\n\x1d\x44\x65leteTrunkConnectionMetadata\x12\x15google.protobuf.Empty\x82\xd3\xe4\x93\x02\x30*./cic/v1/trunkConnections/{trunk_connection_id}\x12\xca\x01\n\x0eListOperations\x12\x39.yandex.cloud.cic.v1.ListTrunkConnectionOperationsRequest\x1a:.yandex.cloud.cic.v1.ListTrunkConnectionOperationsResponse\"A\x82\xd3\xe4\x93\x02;\x12\x39/cic/v1/trunkConnections/{trunk_connection_id}/operationsBV\n\x17yandex.cloud.api.cic.v1Z;github.com/yandex-cloud/go-genproto/yandex/cloud/cic/v1;cicb\x06proto3')
|
|
31
36
|
|
|
32
37
|
_globals = globals()
|
|
33
38
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
@@ -45,16 +50,64 @@ if not _descriptor._USE_C_DESCRIPTORS:
|
|
|
45
50
|
_globals['_LISTTRUNKCONNECTIONSREQUEST'].fields_by_name['page_token']._serialized_options = b'\212\3101\005<=100'
|
|
46
51
|
_globals['_LISTTRUNKCONNECTIONSREQUEST'].fields_by_name['filter']._loaded_options = None
|
|
47
52
|
_globals['_LISTTRUNKCONNECTIONSREQUEST'].fields_by_name['filter']._serialized_options = b'\212\3101\006<=1000'
|
|
53
|
+
_globals['_CREATETRUNKCONNECTIONREQUEST_LABELSENTRY']._loaded_options = None
|
|
54
|
+
_globals['_CREATETRUNKCONNECTIONREQUEST_LABELSENTRY']._serialized_options = b'8\001'
|
|
55
|
+
_globals['_CREATETRUNKCONNECTIONREQUEST'].fields_by_name['labels']._loaded_options = None
|
|
56
|
+
_globals['_CREATETRUNKCONNECTIONREQUEST'].fields_by_name['labels']._serialized_options = b'\362\3071\013[-_0-9a-z]*\202\3101\004<=64\212\3101\004<=63\262\3101\030\022\020[a-z][-_0-9a-z]*\032\0041-63'
|
|
57
|
+
_globals['_UPDATETRUNKCONNECTIONREQUEST_LABELSENTRY']._loaded_options = None
|
|
58
|
+
_globals['_UPDATETRUNKCONNECTIONREQUEST_LABELSENTRY']._serialized_options = b'8\001'
|
|
59
|
+
_globals['_UPDATETRUNKCONNECTIONREQUEST'].fields_by_name['trunk_connection_id']._loaded_options = None
|
|
60
|
+
_globals['_UPDATETRUNKCONNECTIONREQUEST'].fields_by_name['trunk_connection_id']._serialized_options = b'\350\3071\001\212\3101\004<=50'
|
|
61
|
+
_globals['_UPDATETRUNKCONNECTIONREQUEST'].fields_by_name['labels']._loaded_options = None
|
|
62
|
+
_globals['_UPDATETRUNKCONNECTIONREQUEST'].fields_by_name['labels']._serialized_options = b'\362\3071\013[-_0-9a-z]*\202\3101\004<=64\212\3101\004<=63\262\3101\030\022\020[a-z][-_0-9a-z]*\032\0041-63'
|
|
63
|
+
_globals['_DELETETRUNKCONNECTIONREQUEST'].fields_by_name['trunk_connection_id']._loaded_options = None
|
|
64
|
+
_globals['_DELETETRUNKCONNECTIONREQUEST'].fields_by_name['trunk_connection_id']._serialized_options = b'\350\3071\001\212\3101\004<=50'
|
|
65
|
+
_globals['_LISTTRUNKCONNECTIONOPERATIONSREQUEST'].fields_by_name['trunk_connection_id']._loaded_options = None
|
|
66
|
+
_globals['_LISTTRUNKCONNECTIONOPERATIONSREQUEST'].fields_by_name['trunk_connection_id']._serialized_options = b'\350\3071\001\212\3101\004<=50'
|
|
48
67
|
_globals['_TRUNKCONNECTIONSERVICE'].methods_by_name['Get']._loaded_options = None
|
|
49
68
|
_globals['_TRUNKCONNECTIONSERVICE'].methods_by_name['Get']._serialized_options = b'\202\323\344\223\0020\022./cic/v1/trunkConnections/{trunk_connection_id}'
|
|
50
69
|
_globals['_TRUNKCONNECTIONSERVICE'].methods_by_name['List']._loaded_options = None
|
|
51
70
|
_globals['_TRUNKCONNECTIONSERVICE'].methods_by_name['List']._serialized_options = b'\202\323\344\223\002\032\022\030/cic/v1/trunkConnections'
|
|
52
|
-
_globals['
|
|
53
|
-
_globals['
|
|
54
|
-
_globals['
|
|
55
|
-
_globals['
|
|
56
|
-
_globals['
|
|
57
|
-
_globals['
|
|
58
|
-
_globals['_TRUNKCONNECTIONSERVICE'].
|
|
59
|
-
_globals['_TRUNKCONNECTIONSERVICE'].
|
|
71
|
+
_globals['_TRUNKCONNECTIONSERVICE'].methods_by_name['Create']._loaded_options = None
|
|
72
|
+
_globals['_TRUNKCONNECTIONSERVICE'].methods_by_name['Create']._serialized_options = b'\262\322*0\n\035CreateTrunkConnectionMetadata\022\017TrunkConnection\202\323\344\223\002\035\"\030/cic/v1/trunkConnections:\001*'
|
|
73
|
+
_globals['_TRUNKCONNECTIONSERVICE'].methods_by_name['Update']._loaded_options = None
|
|
74
|
+
_globals['_TRUNKCONNECTIONSERVICE'].methods_by_name['Update']._serialized_options = b'\262\322*0\n\035UpdateTrunkConnectionMetadata\022\017TrunkConnection\202\323\344\223\00232./cic/v1/trunkConnections/{trunk_connection_id}:\001*'
|
|
75
|
+
_globals['_TRUNKCONNECTIONSERVICE'].methods_by_name['Delete']._loaded_options = None
|
|
76
|
+
_globals['_TRUNKCONNECTIONSERVICE'].methods_by_name['Delete']._serialized_options = b'\262\322*6\n\035DeleteTrunkConnectionMetadata\022\025google.protobuf.Empty\202\323\344\223\0020*./cic/v1/trunkConnections/{trunk_connection_id}'
|
|
77
|
+
_globals['_TRUNKCONNECTIONSERVICE'].methods_by_name['ListOperations']._loaded_options = None
|
|
78
|
+
_globals['_TRUNKCONNECTIONSERVICE'].methods_by_name['ListOperations']._serialized_options = b'\202\323\344\223\002;\0229/cic/v1/trunkConnections/{trunk_connection_id}/operations'
|
|
79
|
+
_globals['_GETTRUNKCONNECTIONREQUEST']._serialized_start=371
|
|
80
|
+
_globals['_GETTRUNKCONNECTIONREQUEST']._serialized_end=441
|
|
81
|
+
_globals['_LISTTRUNKCONNECTIONSREQUEST']._serialized_start=444
|
|
82
|
+
_globals['_LISTTRUNKCONNECTIONSREQUEST']._serialized_end=596
|
|
83
|
+
_globals['_LISTTRUNKCONNECTIONSRESPONSE']._serialized_start=598
|
|
84
|
+
_globals['_LISTTRUNKCONNECTIONSRESPONSE']._serialized_end=718
|
|
85
|
+
_globals['_CREATETRUNKCONNECTIONREQUEST']._serialized_start=721
|
|
86
|
+
_globals['_CREATETRUNKCONNECTIONREQUEST']._serialized_end=1765
|
|
87
|
+
_globals['_CREATETRUNKCONNECTIONREQUEST_LABELSENTRY']._serialized_start=1418
|
|
88
|
+
_globals['_CREATETRUNKCONNECTIONREQUEST_LABELSENTRY']._serialized_end=1463
|
|
89
|
+
_globals['_CREATETRUNKCONNECTIONREQUEST_SINGLEPORTDIRECTJOINT']._serialized_start=1465
|
|
90
|
+
_globals['_CREATETRUNKCONNECTIONREQUEST_SINGLEPORTDIRECTJOINT']._serialized_end=1565
|
|
91
|
+
_globals['_CREATETRUNKCONNECTIONREQUEST_LAGDIRECTJOINT']._serialized_start=1567
|
|
92
|
+
_globals['_CREATETRUNKCONNECTIONREQUEST_LAGDIRECTJOINT']._serialized_end=1660
|
|
93
|
+
_globals['_CREATETRUNKCONNECTIONREQUEST_PARTNERJOINT']._serialized_start=1662
|
|
94
|
+
_globals['_CREATETRUNKCONNECTIONREQUEST_PARTNERJOINT']._serialized_end=1732
|
|
95
|
+
_globals['_CREATETRUNKCONNECTIONMETADATA']._serialized_start=1767
|
|
96
|
+
_globals['_CREATETRUNKCONNECTIONMETADATA']._serialized_end=1827
|
|
97
|
+
_globals['_UPDATETRUNKCONNECTIONREQUEST']._serialized_start=1830
|
|
98
|
+
_globals['_UPDATETRUNKCONNECTIONREQUEST']._serialized_end=2372
|
|
99
|
+
_globals['_UPDATETRUNKCONNECTIONREQUEST_LABELSENTRY']._serialized_start=1418
|
|
100
|
+
_globals['_UPDATETRUNKCONNECTIONREQUEST_LABELSENTRY']._serialized_end=1463
|
|
101
|
+
_globals['_UPDATETRUNKCONNECTIONMETADATA']._serialized_start=2374
|
|
102
|
+
_globals['_UPDATETRUNKCONNECTIONMETADATA']._serialized_end=2434
|
|
103
|
+
_globals['_DELETETRUNKCONNECTIONREQUEST']._serialized_start=2436
|
|
104
|
+
_globals['_DELETETRUNKCONNECTIONREQUEST']._serialized_end=2509
|
|
105
|
+
_globals['_DELETETRUNKCONNECTIONMETADATA']._serialized_start=2511
|
|
106
|
+
_globals['_DELETETRUNKCONNECTIONMETADATA']._serialized_end=2571
|
|
107
|
+
_globals['_LISTTRUNKCONNECTIONOPERATIONSREQUEST']._serialized_start=2573
|
|
108
|
+
_globals['_LISTTRUNKCONNECTIONOPERATIONSREQUEST']._serialized_end=2693
|
|
109
|
+
_globals['_LISTTRUNKCONNECTIONOPERATIONSRESPONSE']._serialized_start=2695
|
|
110
|
+
_globals['_LISTTRUNKCONNECTIONOPERATIONSRESPONSE']._serialized_end=2814
|
|
111
|
+
_globals['_TRUNKCONNECTIONSERVICE']._serialized_start=2817
|
|
112
|
+
_globals['_TRUNKCONNECTIONSERVICE']._serialized_end=3945
|
|
60
113
|
# @@protoc_insertion_point(module_scope)
|
|
@@ -6,10 +6,14 @@ isort:skip_file
|
|
|
6
6
|
import builtins
|
|
7
7
|
import collections.abc
|
|
8
8
|
import google.protobuf.descriptor
|
|
9
|
+
import google.protobuf.field_mask_pb2
|
|
9
10
|
import google.protobuf.internal.containers
|
|
10
11
|
import google.protobuf.message
|
|
12
|
+
import google.protobuf.wrappers_pb2
|
|
11
13
|
import typing
|
|
14
|
+
import yandex.cloud.cic.v1.common.transceiver_type_pb2
|
|
12
15
|
import yandex.cloud.cic.v1.trunk_connection_pb2
|
|
16
|
+
import yandex.cloud.operation.operation_pb2
|
|
13
17
|
|
|
14
18
|
DESCRIPTOR: google.protobuf.descriptor.FileDescriptor
|
|
15
19
|
|
|
@@ -40,7 +44,7 @@ class ListTrunkConnectionsRequest(google.protobuf.message.Message):
|
|
|
40
44
|
PAGE_TOKEN_FIELD_NUMBER: builtins.int
|
|
41
45
|
FILTER_FIELD_NUMBER: builtins.int
|
|
42
46
|
folder_id: builtins.str
|
|
43
|
-
"""ID of the folder to list
|
|
47
|
+
"""ID of the folder to list TrunkConnection resources.
|
|
44
48
|
To get the folder ID use a [yandex.cloud.resourcemanager.v1.FolderService.List] request.
|
|
45
49
|
"""
|
|
46
50
|
page_size: builtins.int
|
|
@@ -99,3 +103,358 @@ class ListTrunkConnectionsResponse(google.protobuf.message.Message):
|
|
|
99
103
|
def ClearField(self, field_name: typing.Literal["next_page_token", b"next_page_token", "trunk_connections", b"trunk_connections"]) -> None: ...
|
|
100
104
|
|
|
101
105
|
global___ListTrunkConnectionsResponse = ListTrunkConnectionsResponse
|
|
106
|
+
|
|
107
|
+
@typing.final
|
|
108
|
+
class CreateTrunkConnectionRequest(google.protobuf.message.Message):
|
|
109
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
110
|
+
|
|
111
|
+
@typing.final
|
|
112
|
+
class LabelsEntry(google.protobuf.message.Message):
|
|
113
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
114
|
+
|
|
115
|
+
KEY_FIELD_NUMBER: builtins.int
|
|
116
|
+
VALUE_FIELD_NUMBER: builtins.int
|
|
117
|
+
key: builtins.str
|
|
118
|
+
value: builtins.str
|
|
119
|
+
def __init__(
|
|
120
|
+
self,
|
|
121
|
+
*,
|
|
122
|
+
key: builtins.str = ...,
|
|
123
|
+
value: builtins.str = ...,
|
|
124
|
+
) -> None: ...
|
|
125
|
+
def ClearField(self, field_name: typing.Literal["key", b"key", "value", b"value"]) -> None: ...
|
|
126
|
+
|
|
127
|
+
@typing.final
|
|
128
|
+
class SinglePortDirectJoint(google.protobuf.message.Message):
|
|
129
|
+
"""Config of trunkConnection that is deployed on single port."""
|
|
130
|
+
|
|
131
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
132
|
+
|
|
133
|
+
TRANSCEIVER_TYPE_FIELD_NUMBER: builtins.int
|
|
134
|
+
transceiver_type: yandex.cloud.cic.v1.common.transceiver_type_pb2.TransceiverType.ValueType
|
|
135
|
+
"""Type of transceiver that the trunkConnection is deployed on."""
|
|
136
|
+
def __init__(
|
|
137
|
+
self,
|
|
138
|
+
*,
|
|
139
|
+
transceiver_type: yandex.cloud.cic.v1.common.transceiver_type_pb2.TransceiverType.ValueType = ...,
|
|
140
|
+
) -> None: ...
|
|
141
|
+
def ClearField(self, field_name: typing.Literal["transceiver_type", b"transceiver_type"]) -> None: ...
|
|
142
|
+
|
|
143
|
+
@typing.final
|
|
144
|
+
class LagDirectJoint(google.protobuf.message.Message):
|
|
145
|
+
"""Config of trunkConnection that is deployed on lag."""
|
|
146
|
+
|
|
147
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
148
|
+
|
|
149
|
+
TRANSCEIVER_TYPE_FIELD_NUMBER: builtins.int
|
|
150
|
+
transceiver_type: yandex.cloud.cic.v1.common.transceiver_type_pb2.TransceiverType.ValueType
|
|
151
|
+
"""Type of transceiver that the trunkConnection is deployed on."""
|
|
152
|
+
def __init__(
|
|
153
|
+
self,
|
|
154
|
+
*,
|
|
155
|
+
transceiver_type: yandex.cloud.cic.v1.common.transceiver_type_pb2.TransceiverType.ValueType = ...,
|
|
156
|
+
) -> None: ...
|
|
157
|
+
def ClearField(self, field_name: typing.Literal["transceiver_type", b"transceiver_type"]) -> None: ...
|
|
158
|
+
|
|
159
|
+
@typing.final
|
|
160
|
+
class PartnerJoint(google.protobuf.message.Message):
|
|
161
|
+
"""Config of trunkConnection that is deployed on partner joint."""
|
|
162
|
+
|
|
163
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
164
|
+
|
|
165
|
+
PARTNER_ID_FIELD_NUMBER: builtins.int
|
|
166
|
+
@property
|
|
167
|
+
def partner_id(self) -> google.protobuf.wrappers_pb2.StringValue:
|
|
168
|
+
"""ID of partner that the trunkConnection is deployed on.
|
|
169
|
+
Optional.
|
|
170
|
+
If is not set scheduler selects it by himself.
|
|
171
|
+
"""
|
|
172
|
+
|
|
173
|
+
def __init__(
|
|
174
|
+
self,
|
|
175
|
+
*,
|
|
176
|
+
partner_id: google.protobuf.wrappers_pb2.StringValue | None = ...,
|
|
177
|
+
) -> None: ...
|
|
178
|
+
def HasField(self, field_name: typing.Literal["partner_id", b"partner_id"]) -> builtins.bool: ...
|
|
179
|
+
def ClearField(self, field_name: typing.Literal["partner_id", b"partner_id"]) -> None: ...
|
|
180
|
+
|
|
181
|
+
NAME_FIELD_NUMBER: builtins.int
|
|
182
|
+
DESCRIPTION_FIELD_NUMBER: builtins.int
|
|
183
|
+
FOLDER_ID_FIELD_NUMBER: builtins.int
|
|
184
|
+
REGION_ID_FIELD_NUMBER: builtins.int
|
|
185
|
+
SINGLE_PORT_DIRECT_JOINT_FIELD_NUMBER: builtins.int
|
|
186
|
+
LAG_DIRECT_JOINT_FIELD_NUMBER: builtins.int
|
|
187
|
+
PARTNER_JOINT_INFO_FIELD_NUMBER: builtins.int
|
|
188
|
+
POINT_OF_PRESENCE_ID_FIELD_NUMBER: builtins.int
|
|
189
|
+
CAPACITY_FIELD_NUMBER: builtins.int
|
|
190
|
+
LABELS_FIELD_NUMBER: builtins.int
|
|
191
|
+
DELETION_PROTECTION_FIELD_NUMBER: builtins.int
|
|
192
|
+
name: builtins.str
|
|
193
|
+
"""Name of the trunkConnection.
|
|
194
|
+
The name must be unique within the folder.
|
|
195
|
+
Value must match the regular expression ``\\|[a-zA-Z]([-_a-zA-Z0-9]{0,61}[a-zA-Z0-9])?``.
|
|
196
|
+
"""
|
|
197
|
+
description: builtins.str
|
|
198
|
+
"""Optional description of the trunkConnection. 0-256 characters long."""
|
|
199
|
+
folder_id: builtins.str
|
|
200
|
+
"""ID of the folder that the trunkConnection belongs to."""
|
|
201
|
+
region_id: builtins.str
|
|
202
|
+
"""ID of the region that the trunkConnection belongs to."""
|
|
203
|
+
capacity: yandex.cloud.cic.v1.trunk_connection_pb2.TrunkConnection.Capacity.ValueType
|
|
204
|
+
"""Capacity of the trunkConnection"""
|
|
205
|
+
deletion_protection: builtins.bool
|
|
206
|
+
"""Deletion protection flag.
|
|
207
|
+
Optional.
|
|
208
|
+
If set prohibits deletion of the trunkConnection.
|
|
209
|
+
"""
|
|
210
|
+
@property
|
|
211
|
+
def single_port_direct_joint(self) -> global___CreateTrunkConnectionRequest.SinglePortDirectJoint: ...
|
|
212
|
+
@property
|
|
213
|
+
def lag_direct_joint(self) -> global___CreateTrunkConnectionRequest.LagDirectJoint: ...
|
|
214
|
+
@property
|
|
215
|
+
def partner_joint_info(self) -> global___CreateTrunkConnectionRequest.PartnerJoint: ...
|
|
216
|
+
@property
|
|
217
|
+
def point_of_presence_id(self) -> google.protobuf.wrappers_pb2.StringValue:
|
|
218
|
+
"""ID of pointOfPresence that the trunkConnection is deployed on.
|
|
219
|
+
Optional.
|
|
220
|
+
If is not set scheduler selects it by himself.
|
|
221
|
+
"""
|
|
222
|
+
|
|
223
|
+
@property
|
|
224
|
+
def labels(self) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]:
|
|
225
|
+
"""Resource labels, `key:value` pairs.
|
|
226
|
+
No more than 64 per resource.
|
|
227
|
+
The maximum string length in characters for each value is 63.
|
|
228
|
+
Each value must match the regular expression `[-_0-9a-z]*`.
|
|
229
|
+
The string length in characters for each key must be 1-63.
|
|
230
|
+
Each key must match the regular expression `[a-z][-_0-9a-z]*`.
|
|
231
|
+
"""
|
|
232
|
+
|
|
233
|
+
def __init__(
|
|
234
|
+
self,
|
|
235
|
+
*,
|
|
236
|
+
name: builtins.str = ...,
|
|
237
|
+
description: builtins.str = ...,
|
|
238
|
+
folder_id: builtins.str = ...,
|
|
239
|
+
region_id: builtins.str = ...,
|
|
240
|
+
single_port_direct_joint: global___CreateTrunkConnectionRequest.SinglePortDirectJoint | None = ...,
|
|
241
|
+
lag_direct_joint: global___CreateTrunkConnectionRequest.LagDirectJoint | None = ...,
|
|
242
|
+
partner_joint_info: global___CreateTrunkConnectionRequest.PartnerJoint | None = ...,
|
|
243
|
+
point_of_presence_id: google.protobuf.wrappers_pb2.StringValue | None = ...,
|
|
244
|
+
capacity: yandex.cloud.cic.v1.trunk_connection_pb2.TrunkConnection.Capacity.ValueType = ...,
|
|
245
|
+
labels: collections.abc.Mapping[builtins.str, builtins.str] | None = ...,
|
|
246
|
+
deletion_protection: builtins.bool = ...,
|
|
247
|
+
) -> None: ...
|
|
248
|
+
def HasField(self, field_name: typing.Literal["joint", b"joint", "lag_direct_joint", b"lag_direct_joint", "partner_joint_info", b"partner_joint_info", "point_of_presence_id", b"point_of_presence_id", "single_port_direct_joint", b"single_port_direct_joint"]) -> builtins.bool: ...
|
|
249
|
+
def ClearField(self, field_name: typing.Literal["capacity", b"capacity", "deletion_protection", b"deletion_protection", "description", b"description", "folder_id", b"folder_id", "joint", b"joint", "labels", b"labels", "lag_direct_joint", b"lag_direct_joint", "name", b"name", "partner_joint_info", b"partner_joint_info", "point_of_presence_id", b"point_of_presence_id", "region_id", b"region_id", "single_port_direct_joint", b"single_port_direct_joint"]) -> None: ...
|
|
250
|
+
def WhichOneof(self, oneof_group: typing.Literal["joint", b"joint"]) -> typing.Literal["single_port_direct_joint", "lag_direct_joint", "partner_joint_info"] | None: ...
|
|
251
|
+
|
|
252
|
+
global___CreateTrunkConnectionRequest = CreateTrunkConnectionRequest
|
|
253
|
+
|
|
254
|
+
@typing.final
|
|
255
|
+
class CreateTrunkConnectionMetadata(google.protobuf.message.Message):
|
|
256
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
257
|
+
|
|
258
|
+
TRUNK_CONNECTION_ID_FIELD_NUMBER: builtins.int
|
|
259
|
+
trunk_connection_id: builtins.str
|
|
260
|
+
"""ID of the TrunkConnection resource."""
|
|
261
|
+
def __init__(
|
|
262
|
+
self,
|
|
263
|
+
*,
|
|
264
|
+
trunk_connection_id: builtins.str = ...,
|
|
265
|
+
) -> None: ...
|
|
266
|
+
def ClearField(self, field_name: typing.Literal["trunk_connection_id", b"trunk_connection_id"]) -> None: ...
|
|
267
|
+
|
|
268
|
+
global___CreateTrunkConnectionMetadata = CreateTrunkConnectionMetadata
|
|
269
|
+
|
|
270
|
+
@typing.final
|
|
271
|
+
class UpdateTrunkConnectionRequest(google.protobuf.message.Message):
|
|
272
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
273
|
+
|
|
274
|
+
@typing.final
|
|
275
|
+
class LabelsEntry(google.protobuf.message.Message):
|
|
276
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
277
|
+
|
|
278
|
+
KEY_FIELD_NUMBER: builtins.int
|
|
279
|
+
VALUE_FIELD_NUMBER: builtins.int
|
|
280
|
+
key: builtins.str
|
|
281
|
+
value: builtins.str
|
|
282
|
+
def __init__(
|
|
283
|
+
self,
|
|
284
|
+
*,
|
|
285
|
+
key: builtins.str = ...,
|
|
286
|
+
value: builtins.str = ...,
|
|
287
|
+
) -> None: ...
|
|
288
|
+
def ClearField(self, field_name: typing.Literal["key", b"key", "value", b"value"]) -> None: ...
|
|
289
|
+
|
|
290
|
+
TRUNK_CONNECTION_ID_FIELD_NUMBER: builtins.int
|
|
291
|
+
UPDATE_MASK_FIELD_NUMBER: builtins.int
|
|
292
|
+
NAME_FIELD_NUMBER: builtins.int
|
|
293
|
+
DESCRIPTION_FIELD_NUMBER: builtins.int
|
|
294
|
+
REGION_ID_FIELD_NUMBER: builtins.int
|
|
295
|
+
POINT_OF_PRESENCE_ID_FIELD_NUMBER: builtins.int
|
|
296
|
+
CAPACITY_FIELD_NUMBER: builtins.int
|
|
297
|
+
LABELS_FIELD_NUMBER: builtins.int
|
|
298
|
+
DELETION_PROTECTION_FIELD_NUMBER: builtins.int
|
|
299
|
+
trunk_connection_id: builtins.str
|
|
300
|
+
"""ID of the TrunkConnection resource to return."""
|
|
301
|
+
name: builtins.str
|
|
302
|
+
"""Name of the trunkConnection.
|
|
303
|
+
The name must be unique within the folder.
|
|
304
|
+
Value must match the regular expression ``\\|[a-zA-Z]([-_a-zA-Z0-9]{0,61}[a-zA-Z0-9])?``.
|
|
305
|
+
"""
|
|
306
|
+
description: builtins.str
|
|
307
|
+
"""Optional description of the trunkConnection. 0-256 characters long."""
|
|
308
|
+
region_id: builtins.str
|
|
309
|
+
"""ID of the region that the trunkConnection belongs to."""
|
|
310
|
+
capacity: yandex.cloud.cic.v1.trunk_connection_pb2.TrunkConnection.Capacity.ValueType
|
|
311
|
+
"""Capacity of the trunkConnection"""
|
|
312
|
+
deletion_protection: builtins.bool
|
|
313
|
+
"""Deletion protection flag.
|
|
314
|
+
Optional.
|
|
315
|
+
If set prohibits deletion of the trunkConnection.
|
|
316
|
+
"""
|
|
317
|
+
@property
|
|
318
|
+
def update_mask(self) -> google.protobuf.field_mask_pb2.FieldMask:
|
|
319
|
+
"""Field mask that specifies which fields of the TrunkConnection resource are going to be updated."""
|
|
320
|
+
|
|
321
|
+
@property
|
|
322
|
+
def point_of_presence_id(self) -> google.protobuf.wrappers_pb2.StringValue:
|
|
323
|
+
"""ID of pointOfPresence that the trunkConnection is deployed on.
|
|
324
|
+
Optional.
|
|
325
|
+
If is not set scheduler selects it by himself.
|
|
326
|
+
"""
|
|
327
|
+
|
|
328
|
+
@property
|
|
329
|
+
def labels(self) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]:
|
|
330
|
+
"""Resource labels, `key:value` pairs.
|
|
331
|
+
No more than 64 per resource.
|
|
332
|
+
The maximum string length in characters for each value is 63.
|
|
333
|
+
Each value must match the regular expression `[-_0-9a-z]*`.
|
|
334
|
+
The string length in characters for each key must be 1-63.
|
|
335
|
+
Each key must match the regular expression `[a-z][-_0-9a-z]*`.
|
|
336
|
+
"""
|
|
337
|
+
|
|
338
|
+
def __init__(
|
|
339
|
+
self,
|
|
340
|
+
*,
|
|
341
|
+
trunk_connection_id: builtins.str = ...,
|
|
342
|
+
update_mask: google.protobuf.field_mask_pb2.FieldMask | None = ...,
|
|
343
|
+
name: builtins.str = ...,
|
|
344
|
+
description: builtins.str = ...,
|
|
345
|
+
region_id: builtins.str = ...,
|
|
346
|
+
point_of_presence_id: google.protobuf.wrappers_pb2.StringValue | None = ...,
|
|
347
|
+
capacity: yandex.cloud.cic.v1.trunk_connection_pb2.TrunkConnection.Capacity.ValueType = ...,
|
|
348
|
+
labels: collections.abc.Mapping[builtins.str, builtins.str] | None = ...,
|
|
349
|
+
deletion_protection: builtins.bool = ...,
|
|
350
|
+
) -> None: ...
|
|
351
|
+
def HasField(self, field_name: typing.Literal["point_of_presence_id", b"point_of_presence_id", "update_mask", b"update_mask"]) -> builtins.bool: ...
|
|
352
|
+
def ClearField(self, field_name: typing.Literal["capacity", b"capacity", "deletion_protection", b"deletion_protection", "description", b"description", "labels", b"labels", "name", b"name", "point_of_presence_id", b"point_of_presence_id", "region_id", b"region_id", "trunk_connection_id", b"trunk_connection_id", "update_mask", b"update_mask"]) -> None: ...
|
|
353
|
+
|
|
354
|
+
global___UpdateTrunkConnectionRequest = UpdateTrunkConnectionRequest
|
|
355
|
+
|
|
356
|
+
@typing.final
|
|
357
|
+
class UpdateTrunkConnectionMetadata(google.protobuf.message.Message):
|
|
358
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
359
|
+
|
|
360
|
+
TRUNK_CONNECTION_ID_FIELD_NUMBER: builtins.int
|
|
361
|
+
trunk_connection_id: builtins.str
|
|
362
|
+
"""ID of the TrunkConnection resource."""
|
|
363
|
+
def __init__(
|
|
364
|
+
self,
|
|
365
|
+
*,
|
|
366
|
+
trunk_connection_id: builtins.str = ...,
|
|
367
|
+
) -> None: ...
|
|
368
|
+
def ClearField(self, field_name: typing.Literal["trunk_connection_id", b"trunk_connection_id"]) -> None: ...
|
|
369
|
+
|
|
370
|
+
global___UpdateTrunkConnectionMetadata = UpdateTrunkConnectionMetadata
|
|
371
|
+
|
|
372
|
+
@typing.final
|
|
373
|
+
class DeleteTrunkConnectionRequest(google.protobuf.message.Message):
|
|
374
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
375
|
+
|
|
376
|
+
TRUNK_CONNECTION_ID_FIELD_NUMBER: builtins.int
|
|
377
|
+
trunk_connection_id: builtins.str
|
|
378
|
+
"""ID of the TrunkConnection resource."""
|
|
379
|
+
def __init__(
|
|
380
|
+
self,
|
|
381
|
+
*,
|
|
382
|
+
trunk_connection_id: builtins.str = ...,
|
|
383
|
+
) -> None: ...
|
|
384
|
+
def ClearField(self, field_name: typing.Literal["trunk_connection_id", b"trunk_connection_id"]) -> None: ...
|
|
385
|
+
|
|
386
|
+
global___DeleteTrunkConnectionRequest = DeleteTrunkConnectionRequest
|
|
387
|
+
|
|
388
|
+
@typing.final
|
|
389
|
+
class DeleteTrunkConnectionMetadata(google.protobuf.message.Message):
|
|
390
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
391
|
+
|
|
392
|
+
TRUNK_CONNECTION_ID_FIELD_NUMBER: builtins.int
|
|
393
|
+
trunk_connection_id: builtins.str
|
|
394
|
+
"""ID of the TrunkConnection resource."""
|
|
395
|
+
def __init__(
|
|
396
|
+
self,
|
|
397
|
+
*,
|
|
398
|
+
trunk_connection_id: builtins.str = ...,
|
|
399
|
+
) -> None: ...
|
|
400
|
+
def ClearField(self, field_name: typing.Literal["trunk_connection_id", b"trunk_connection_id"]) -> None: ...
|
|
401
|
+
|
|
402
|
+
global___DeleteTrunkConnectionMetadata = DeleteTrunkConnectionMetadata
|
|
403
|
+
|
|
404
|
+
@typing.final
|
|
405
|
+
class ListTrunkConnectionOperationsRequest(google.protobuf.message.Message):
|
|
406
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
407
|
+
|
|
408
|
+
TRUNK_CONNECTION_ID_FIELD_NUMBER: builtins.int
|
|
409
|
+
PAGE_SIZE_FIELD_NUMBER: builtins.int
|
|
410
|
+
PAGE_TOKEN_FIELD_NUMBER: builtins.int
|
|
411
|
+
trunk_connection_id: builtins.str
|
|
412
|
+
"""ID of the TrunkConnection resource."""
|
|
413
|
+
page_size: builtins.int
|
|
414
|
+
"""The maximum number of results per page to return. If the number of available
|
|
415
|
+
results is larger than [page_size],
|
|
416
|
+
the service returns a [ListTrunkConnectionOperationsResponse.next_page_token]
|
|
417
|
+
that can be used to get the next page of results in subsequent list requests. Default value: 100.
|
|
418
|
+
"""
|
|
419
|
+
page_token: builtins.str
|
|
420
|
+
"""Page token. To get the next page of results, set [page_token] to the
|
|
421
|
+
[ListTrunkConnectionOperationsResponse.next_page_token] returned by a previous list request.
|
|
422
|
+
"""
|
|
423
|
+
def __init__(
|
|
424
|
+
self,
|
|
425
|
+
*,
|
|
426
|
+
trunk_connection_id: builtins.str = ...,
|
|
427
|
+
page_size: builtins.int = ...,
|
|
428
|
+
page_token: builtins.str = ...,
|
|
429
|
+
) -> None: ...
|
|
430
|
+
def ClearField(self, field_name: typing.Literal["page_size", b"page_size", "page_token", b"page_token", "trunk_connection_id", b"trunk_connection_id"]) -> None: ...
|
|
431
|
+
|
|
432
|
+
global___ListTrunkConnectionOperationsRequest = ListTrunkConnectionOperationsRequest
|
|
433
|
+
|
|
434
|
+
@typing.final
|
|
435
|
+
class ListTrunkConnectionOperationsResponse(google.protobuf.message.Message):
|
|
436
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
437
|
+
|
|
438
|
+
OPERATIONS_FIELD_NUMBER: builtins.int
|
|
439
|
+
NEXT_PAGE_TOKEN_FIELD_NUMBER: builtins.int
|
|
440
|
+
next_page_token: builtins.str
|
|
441
|
+
"""This token allows you to get the next page of results for list requests. If the number of results
|
|
442
|
+
is larger than [ListTrunkConnectionOperationsRequest.page_size], use
|
|
443
|
+
the [next_page_token] as the value
|
|
444
|
+
for the [ListTrunkConnectionOperationsRequest.page_token] query parameter
|
|
445
|
+
in the next list request. Subsequent list requests will have their own
|
|
446
|
+
[next_page_token] to continue paging through the results.
|
|
447
|
+
"""
|
|
448
|
+
@property
|
|
449
|
+
def operations(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[yandex.cloud.operation.operation_pb2.Operation]:
|
|
450
|
+
"""List of TrunkConnection operations."""
|
|
451
|
+
|
|
452
|
+
def __init__(
|
|
453
|
+
self,
|
|
454
|
+
*,
|
|
455
|
+
operations: collections.abc.Iterable[yandex.cloud.operation.operation_pb2.Operation] | None = ...,
|
|
456
|
+
next_page_token: builtins.str = ...,
|
|
457
|
+
) -> None: ...
|
|
458
|
+
def ClearField(self, field_name: typing.Literal["next_page_token", b"next_page_token", "operations", b"operations"]) -> None: ...
|
|
459
|
+
|
|
460
|
+
global___ListTrunkConnectionOperationsResponse = ListTrunkConnectionOperationsResponse
|