yandexcloud 0.334.0__py3-none-any.whl → 0.336.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (88) hide show
  1. yandex/cloud/ai/tuning/v1/tuning_service_pb2.py +8 -8
  2. yandex/cloud/ai/tuning/v1/tuning_service_pb2.pyi +11 -3
  3. yandex/cloud/cic/v1/common/lag_allocation_settings_pb2.py +4 -4
  4. yandex/cloud/cic/v1/common/lag_allocation_settings_pb2.pyi +3 -9
  5. yandex/cloud/cic/v1/partner_pb2.pyi +1 -1
  6. yandex/cloud/cic/v1/private_connection_pb2.py +10 -9
  7. yandex/cloud/cic/v1/private_connection_pb2.pyi +40 -12
  8. yandex/cloud/cic/v1/private_connection_service_pb2.py +76 -9
  9. yandex/cloud/cic/v1/private_connection_service_pb2.pyi +379 -1
  10. yandex/cloud/cic/v1/private_connection_service_pb2_grpc.py +270 -0
  11. yandex/cloud/cic/v1/private_connection_service_pb2_grpc.pyi +151 -0
  12. yandex/cloud/cic/v1/public_connection_pb2.py +10 -7
  13. yandex/cloud/cic/v1/public_connection_pb2.pyi +32 -2
  14. yandex/cloud/cic/v1/trunk_connection_pb2.py +16 -13
  15. yandex/cloud/cic/v1/trunk_connection_pb2.pyi +40 -2
  16. yandex/cloud/cic/v1/trunk_connection_service_pb2.py +63 -9
  17. yandex/cloud/cic/v1/trunk_connection_service_pb2.pyi +368 -1
  18. yandex/cloud/cic/v1/trunk_connection_service_pb2_grpc.py +180 -0
  19. yandex/cloud/cic/v1/trunk_connection_service_pb2_grpc.pyi +99 -0
  20. yandex/cloud/cloudrouter/v1/routing_instance_pb2.py +16 -15
  21. yandex/cloud/cloudrouter/v1/routing_instance_pb2.pyi +11 -3
  22. yandex/cloud/cloudrouter/v1/routing_instance_service_pb2.py +86 -15
  23. yandex/cloud/cloudrouter/v1/routing_instance_service_pb2.pyi +388 -1
  24. yandex/cloud/cloudrouter/v1/routing_instance_service_pb2_grpc.py +360 -0
  25. yandex/cloud/cloudrouter/v1/routing_instance_service_pb2_grpc.pyi +203 -0
  26. yandex/cloud/compute/v1/instance_pb2.py +52 -52
  27. yandex/cloud/compute/v1/instance_pb2.pyi +5 -1
  28. yandex/cloud/compute/v1/instance_service_pb2.py +130 -126
  29. yandex/cloud/compute/v1/instance_service_pb2.pyi +17 -2
  30. yandex/cloud/compute/v1/reserved_instance_pool_pb2.py +59 -0
  31. yandex/cloud/compute/v1/reserved_instance_pool_pb2.pyi +171 -0
  32. yandex/cloud/compute/v1/reserved_instance_pool_pb2_grpc.py +24 -0
  33. yandex/cloud/compute/v1/reserved_instance_pool_pb2_grpc.pyi +17 -0
  34. yandex/cloud/compute/v1/reserved_instance_pool_service_pb2.py +123 -0
  35. yandex/cloud/compute/v1/reserved_instance_pool_service_pb2.pyi +345 -0
  36. yandex/cloud/compute/v1/reserved_instance_pool_service_pb2_grpc.py +282 -0
  37. yandex/cloud/compute/v1/reserved_instance_pool_service_pb2_grpc.pyi +147 -0
  38. yandex/cloud/iot/devices/v1/device_pb2.py +4 -4
  39. yandex/cloud/iot/devices/v1/device_pb2.pyi +6 -2
  40. yandex/cloud/loadbalancer/v1/network_load_balancer_pb2.py +22 -22
  41. yandex/cloud/loadbalancer/v1/network_load_balancer_pb2.pyi +5 -1
  42. yandex/cloud/loadbalancer/v1/network_load_balancer_service_pb2.py +56 -56
  43. yandex/cloud/loadbalancer/v1/network_load_balancer_service_pb2.pyi +10 -2
  44. yandex/cloud/lockbox/v1/secret_service_pb2.py +46 -50
  45. yandex/cloud/mdb/clickhouse/v1/config/clickhouse_pb2.py +74 -70
  46. yandex/cloud/mdb/clickhouse/v1/config/clickhouse_pb2.pyi +151 -5
  47. yandex/cloud/mdb/clickhouse/v1/user_pb2.py +32 -28
  48. yandex/cloud/mdb/clickhouse/v1/user_pb2.pyi +198 -10
  49. yandex/cloud/mdb/greenplum/v1/cluster_pb2.py +30 -24
  50. yandex/cloud/mdb/greenplum/v1/cluster_pb2.pyi +47 -2
  51. yandex/cloud/mdb/greenplum/v1/cluster_service_pb2.py +78 -78
  52. yandex/cloud/mdb/greenplum/v1/cluster_service_pb2.pyi +29 -5
  53. yandex/cloud/mdb/mongodb/v1/cluster_service_pb2.pyi +0 -2
  54. yandex/cloud/mdb/mongodb/v1/config/mongodb_pb2.py +38 -22
  55. yandex/cloud/mdb/mongodb/v1/config/mongodb_pb2.pyi +193 -13
  56. yandex/cloud/mdb/mysql/v1/config/mysql5_7_pb2.py +18 -18
  57. yandex/cloud/mdb/mysql/v1/config/mysql5_7_pb2.pyi +8 -0
  58. yandex/cloud/mdb/mysql/v1/config/mysql8_0_pb2.py +18 -18
  59. yandex/cloud/mdb/mysql/v1/config/mysql8_0_pb2.pyi +8 -0
  60. yandex/cloud/mdb/mysql/v1/user_pb2.py +3 -3
  61. yandex/cloud/mdb/mysql/v1/user_pb2.pyi +8 -0
  62. yandex/cloud/serverless/eventrouter/v1/bus_pb2.py +17 -7
  63. yandex/cloud/serverless/eventrouter/v1/bus_pb2.pyi +46 -2
  64. yandex/cloud/serverless/eventrouter/v1/bus_service_pb2.py +22 -22
  65. yandex/cloud/serverless/eventrouter/v1/bus_service_pb2.pyi +24 -3
  66. yandex/cloud/storage/v1/bucket_pb2.py +75 -73
  67. yandex/cloud/video/v1/channel_pb2.py +10 -4
  68. yandex/cloud/video/v1/channel_pb2.pyi +73 -2
  69. yandex/cloud/video/v1/channel_service_pb2.py +36 -29
  70. yandex/cloud/video/v1/channel_service_pb2_grpc.py +133 -0
  71. yandex/cloud/video/v1/channel_service_pb2_grpc.pyi +61 -0
  72. yandex/cloud/video/v1/episode_service_pb2.py +54 -53
  73. yandex/cloud/video/v1/episode_service_pb2.pyi +9 -2
  74. yandex/cloud/video/v1/video_pb2.py +20 -19
  75. yandex/cloud/video/v1/video_pb2.pyi +12 -2
  76. yandex/cloud/video/v1/video_service_pb2.py +64 -63
  77. yandex/cloud/video/v1/video_service_pb2.pyi +23 -4
  78. yandexcloud/__init__.py +2 -1
  79. yandexcloud/_channels.py +8 -3
  80. yandexcloud/_retry_interceptor.py +2 -0
  81. yandexcloud/_retry_policy.py +31 -0
  82. yandexcloud/_sdk.py +5 -10
  83. {yandexcloud-0.334.0.dist-info → yandexcloud-0.336.0.dist-info}/METADATA +20 -1
  84. {yandexcloud-0.334.0.dist-info → yandexcloud-0.336.0.dist-info}/RECORD +88 -79
  85. {yandexcloud-0.334.0.dist-info → yandexcloud-0.336.0.dist-info}/WHEEL +1 -1
  86. {yandexcloud-0.334.0.dist-info → yandexcloud-0.336.0.dist-info}/AUTHORS +0 -0
  87. {yandexcloud-0.334.0.dist-info → yandexcloud-0.336.0.dist-info}/LICENSE +0 -0
  88. {yandexcloud-0.334.0.dist-info → yandexcloud-0.336.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
@@ -52,6 +53,7 @@ class TrunkConnection(google.protobuf.message.Message):
52
53
  CAPACITY_40_GBPS: TrunkConnection._Capacity.ValueType # 15
53
54
  CAPACITY_50_GBPS: TrunkConnection._Capacity.ValueType # 16
54
55
  CAPACITY_100_GBPS: TrunkConnection._Capacity.ValueType # 17
56
+ CAPACITY_200_GBPS: TrunkConnection._Capacity.ValueType # 18
55
57
 
56
58
  class Capacity(_Capacity, metaclass=_CapacityEnumTypeWrapper): ...
57
59
  CAPACITY_UNSPECIFIED: TrunkConnection.Capacity.ValueType # 0
@@ -72,6 +74,26 @@ class TrunkConnection(google.protobuf.message.Message):
72
74
  CAPACITY_40_GBPS: TrunkConnection.Capacity.ValueType # 15
73
75
  CAPACITY_50_GBPS: TrunkConnection.Capacity.ValueType # 16
74
76
  CAPACITY_100_GBPS: TrunkConnection.Capacity.ValueType # 17
77
+ CAPACITY_200_GBPS: TrunkConnection.Capacity.ValueType # 18
78
+
79
+ class _Status:
80
+ ValueType = typing.NewType("ValueType", builtins.int)
81
+ V: typing_extensions.TypeAlias = ValueType
82
+
83
+ class _StatusEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[TrunkConnection._Status.ValueType], builtins.type):
84
+ DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor
85
+ STATUS_UNSPECIFIED: TrunkConnection._Status.ValueType # 0
86
+ CREATING: TrunkConnection._Status.ValueType # 1
87
+ UPDATING: TrunkConnection._Status.ValueType # 2
88
+ DELETING: TrunkConnection._Status.ValueType # 3
89
+ ACTIVE: TrunkConnection._Status.ValueType # 4
90
+
91
+ class Status(_Status, metaclass=_StatusEnumTypeWrapper): ...
92
+ STATUS_UNSPECIFIED: TrunkConnection.Status.ValueType # 0
93
+ CREATING: TrunkConnection.Status.ValueType # 1
94
+ UPDATING: TrunkConnection.Status.ValueType # 2
95
+ DELETING: TrunkConnection.Status.ValueType # 3
96
+ ACTIVE: TrunkConnection.Status.ValueType # 4
75
97
 
76
98
  @typing.final
77
99
  class LabelsEntry(google.protobuf.message.Message):
@@ -174,12 +196,15 @@ class TrunkConnection(google.protobuf.message.Message):
174
196
  DESCRIPTION_FIELD_NUMBER: builtins.int
175
197
  FOLDER_ID_FIELD_NUMBER: builtins.int
176
198
  REGION_ID_FIELD_NUMBER: builtins.int
199
+ CREATED_AT_FIELD_NUMBER: builtins.int
177
200
  SINGLE_PORT_DIRECT_JOINT_FIELD_NUMBER: builtins.int
178
201
  LAG_DIRECT_JOINT_FIELD_NUMBER: builtins.int
179
202
  PARTNER_JOINT_INFO_FIELD_NUMBER: builtins.int
180
203
  POINT_OF_PRESENCE_ID_FIELD_NUMBER: builtins.int
181
204
  CAPACITY_FIELD_NUMBER: builtins.int
182
205
  LABELS_FIELD_NUMBER: builtins.int
206
+ STATUS_FIELD_NUMBER: builtins.int
207
+ DELETION_PROTECTION_FIELD_NUMBER: builtins.int
183
208
  id: builtins.str
184
209
  """ID of the trunkConnection."""
185
210
  name: builtins.str
@@ -195,6 +220,16 @@ class TrunkConnection(google.protobuf.message.Message):
195
220
  """ID of the region that the trunkConnection belongs to."""
196
221
  capacity: global___TrunkConnection.Capacity.ValueType
197
222
  """Capacity of the trunkConnection"""
223
+ status: global___TrunkConnection.Status.ValueType
224
+ """Status of the trunkConnection."""
225
+ deletion_protection: builtins.bool
226
+ """Optional deletion protection flag.
227
+ If set prohibits deletion of the trunkConnection.
228
+ """
229
+ @property
230
+ def created_at(self) -> google.protobuf.timestamp_pb2.Timestamp:
231
+ """Creation timestamp in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format."""
232
+
198
233
  @property
199
234
  def single_port_direct_joint(self) -> global___TrunkConnection.SinglePortDirectJoint: ...
200
235
  @property
@@ -226,15 +261,18 @@ class TrunkConnection(google.protobuf.message.Message):
226
261
  description: builtins.str = ...,
227
262
  folder_id: builtins.str = ...,
228
263
  region_id: builtins.str = ...,
264
+ created_at: google.protobuf.timestamp_pb2.Timestamp | None = ...,
229
265
  single_port_direct_joint: global___TrunkConnection.SinglePortDirectJoint | None = ...,
230
266
  lag_direct_joint: global___TrunkConnection.LagDirectJoint | None = ...,
231
267
  partner_joint_info: global___TrunkConnection.PartnerJointInfo | None = ...,
232
268
  point_of_presence_id: google.protobuf.wrappers_pb2.StringValue | None = ...,
233
269
  capacity: global___TrunkConnection.Capacity.ValueType = ...,
234
270
  labels: collections.abc.Mapping[builtins.str, builtins.str] | None = ...,
271
+ status: global___TrunkConnection.Status.ValueType = ...,
272
+ deletion_protection: builtins.bool = ...,
235
273
  ) -> 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: ...
274
+ 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: ...
275
+ 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
276
  def WhichOneof(self, oneof_group: typing.Literal["joint", b"joint"]) -> typing.Literal["single_port_direct_joint", "lag_direct_joint", "partner_joint_info"] | None: ...
239
277
 
240
278
  global___TrunkConnection = TrunkConnection
@@ -23,11 +23,17 @@ _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
32
+ from yandex.cloud.cic.v1.common import lag_allocation_settings_pb2 as yandex_dot_cloud_dot_cic_dot_v1_dot_common_dot_lag__allocation__settings__pb2
27
33
  from yandex.cloud.cic.v1 import trunk_connection_pb2 as yandex_dot_cloud_dot_cic_dot_v1_dot_trunk__connection__pb2
28
34
 
29
35
 
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(\t2\xbe\x02\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/trunkConnectionsBV\n\x17yandex.cloud.api.cic.v1Z;github.com/yandex-cloud/go-genproto/yandex/cloud/cic/v1;cicb\x06proto3')
36
+ 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\x38yandex/cloud/cic/v1/common/lag_allocation_settings.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\"\xf0\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\xb8\x01\n\x0eLagDirectJoint\x12\x45\n\x10transceiver_type\x18\x01 \x01(\x0e\x32+.yandex.cloud.cic.v1.common.TransceiverType\x12Y\n\x17lag_allocation_settings\x18\x03 \x01(\x0b\x32\x38.yandex.cloud.cic.v1.common.LagAllocationSettingsRequestJ\x04\x08\x02\x10\x03\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
37
 
32
38
  _globals = globals()
33
39
  _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
@@ -45,16 +51,64 @@ if not _descriptor._USE_C_DESCRIPTORS:
45
51
  _globals['_LISTTRUNKCONNECTIONSREQUEST'].fields_by_name['page_token']._serialized_options = b'\212\3101\005<=100'
46
52
  _globals['_LISTTRUNKCONNECTIONSREQUEST'].fields_by_name['filter']._loaded_options = None
47
53
  _globals['_LISTTRUNKCONNECTIONSREQUEST'].fields_by_name['filter']._serialized_options = b'\212\3101\006<=1000'
54
+ _globals['_CREATETRUNKCONNECTIONREQUEST_LABELSENTRY']._loaded_options = None
55
+ _globals['_CREATETRUNKCONNECTIONREQUEST_LABELSENTRY']._serialized_options = b'8\001'
56
+ _globals['_CREATETRUNKCONNECTIONREQUEST'].fields_by_name['labels']._loaded_options = None
57
+ _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'
58
+ _globals['_UPDATETRUNKCONNECTIONREQUEST_LABELSENTRY']._loaded_options = None
59
+ _globals['_UPDATETRUNKCONNECTIONREQUEST_LABELSENTRY']._serialized_options = b'8\001'
60
+ _globals['_UPDATETRUNKCONNECTIONREQUEST'].fields_by_name['trunk_connection_id']._loaded_options = None
61
+ _globals['_UPDATETRUNKCONNECTIONREQUEST'].fields_by_name['trunk_connection_id']._serialized_options = b'\350\3071\001\212\3101\004<=50'
62
+ _globals['_UPDATETRUNKCONNECTIONREQUEST'].fields_by_name['labels']._loaded_options = None
63
+ _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'
64
+ _globals['_DELETETRUNKCONNECTIONREQUEST'].fields_by_name['trunk_connection_id']._loaded_options = None
65
+ _globals['_DELETETRUNKCONNECTIONREQUEST'].fields_by_name['trunk_connection_id']._serialized_options = b'\350\3071\001\212\3101\004<=50'
66
+ _globals['_LISTTRUNKCONNECTIONOPERATIONSREQUEST'].fields_by_name['trunk_connection_id']._loaded_options = None
67
+ _globals['_LISTTRUNKCONNECTIONOPERATIONSREQUEST'].fields_by_name['trunk_connection_id']._serialized_options = b'\350\3071\001\212\3101\004<=50'
48
68
  _globals['_TRUNKCONNECTIONSERVICE'].methods_by_name['Get']._loaded_options = None
49
69
  _globals['_TRUNKCONNECTIONSERVICE'].methods_by_name['Get']._serialized_options = b'\202\323\344\223\0020\022./cic/v1/trunkConnections/{trunk_connection_id}'
50
70
  _globals['_TRUNKCONNECTIONSERVICE'].methods_by_name['List']._loaded_options = None
51
71
  _globals['_TRUNKCONNECTIONSERVICE'].methods_by_name['List']._serialized_options = b'\202\323\344\223\002\032\022\030/cic/v1/trunkConnections'
52
- _globals['_GETTRUNKCONNECTIONREQUEST']._serialized_start=180
53
- _globals['_GETTRUNKCONNECTIONREQUEST']._serialized_end=250
54
- _globals['_LISTTRUNKCONNECTIONSREQUEST']._serialized_start=253
55
- _globals['_LISTTRUNKCONNECTIONSREQUEST']._serialized_end=405
56
- _globals['_LISTTRUNKCONNECTIONSRESPONSE']._serialized_start=407
57
- _globals['_LISTTRUNKCONNECTIONSRESPONSE']._serialized_end=527
58
- _globals['_TRUNKCONNECTIONSERVICE']._serialized_start=530
59
- _globals['_TRUNKCONNECTIONSERVICE']._serialized_end=848
72
+ _globals['_TRUNKCONNECTIONSERVICE'].methods_by_name['Create']._loaded_options = None
73
+ _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*'
74
+ _globals['_TRUNKCONNECTIONSERVICE'].methods_by_name['Update']._loaded_options = None
75
+ _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*'
76
+ _globals['_TRUNKCONNECTIONSERVICE'].methods_by_name['Delete']._loaded_options = None
77
+ _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}'
78
+ _globals['_TRUNKCONNECTIONSERVICE'].methods_by_name['ListOperations']._loaded_options = None
79
+ _globals['_TRUNKCONNECTIONSERVICE'].methods_by_name['ListOperations']._serialized_options = b'\202\323\344\223\002;\0229/cic/v1/trunkConnections/{trunk_connection_id}/operations'
80
+ _globals['_GETTRUNKCONNECTIONREQUEST']._serialized_start=429
81
+ _globals['_GETTRUNKCONNECTIONREQUEST']._serialized_end=499
82
+ _globals['_LISTTRUNKCONNECTIONSREQUEST']._serialized_start=502
83
+ _globals['_LISTTRUNKCONNECTIONSREQUEST']._serialized_end=654
84
+ _globals['_LISTTRUNKCONNECTIONSRESPONSE']._serialized_start=656
85
+ _globals['_LISTTRUNKCONNECTIONSRESPONSE']._serialized_end=776
86
+ _globals['_CREATETRUNKCONNECTIONREQUEST']._serialized_start=779
87
+ _globals['_CREATETRUNKCONNECTIONREQUEST']._serialized_end=1915
88
+ _globals['_CREATETRUNKCONNECTIONREQUEST_LABELSENTRY']._serialized_start=1476
89
+ _globals['_CREATETRUNKCONNECTIONREQUEST_LABELSENTRY']._serialized_end=1521
90
+ _globals['_CREATETRUNKCONNECTIONREQUEST_SINGLEPORTDIRECTJOINT']._serialized_start=1523
91
+ _globals['_CREATETRUNKCONNECTIONREQUEST_SINGLEPORTDIRECTJOINT']._serialized_end=1623
92
+ _globals['_CREATETRUNKCONNECTIONREQUEST_LAGDIRECTJOINT']._serialized_start=1626
93
+ _globals['_CREATETRUNKCONNECTIONREQUEST_LAGDIRECTJOINT']._serialized_end=1810
94
+ _globals['_CREATETRUNKCONNECTIONREQUEST_PARTNERJOINT']._serialized_start=1812
95
+ _globals['_CREATETRUNKCONNECTIONREQUEST_PARTNERJOINT']._serialized_end=1882
96
+ _globals['_CREATETRUNKCONNECTIONMETADATA']._serialized_start=1917
97
+ _globals['_CREATETRUNKCONNECTIONMETADATA']._serialized_end=1977
98
+ _globals['_UPDATETRUNKCONNECTIONREQUEST']._serialized_start=1980
99
+ _globals['_UPDATETRUNKCONNECTIONREQUEST']._serialized_end=2522
100
+ _globals['_UPDATETRUNKCONNECTIONREQUEST_LABELSENTRY']._serialized_start=1476
101
+ _globals['_UPDATETRUNKCONNECTIONREQUEST_LABELSENTRY']._serialized_end=1521
102
+ _globals['_UPDATETRUNKCONNECTIONMETADATA']._serialized_start=2524
103
+ _globals['_UPDATETRUNKCONNECTIONMETADATA']._serialized_end=2584
104
+ _globals['_DELETETRUNKCONNECTIONREQUEST']._serialized_start=2586
105
+ _globals['_DELETETRUNKCONNECTIONREQUEST']._serialized_end=2659
106
+ _globals['_DELETETRUNKCONNECTIONMETADATA']._serialized_start=2661
107
+ _globals['_DELETETRUNKCONNECTIONMETADATA']._serialized_end=2721
108
+ _globals['_LISTTRUNKCONNECTIONOPERATIONSREQUEST']._serialized_start=2723
109
+ _globals['_LISTTRUNKCONNECTIONOPERATIONSREQUEST']._serialized_end=2843
110
+ _globals['_LISTTRUNKCONNECTIONOPERATIONSRESPONSE']._serialized_start=2845
111
+ _globals['_LISTTRUNKCONNECTIONOPERATIONSRESPONSE']._serialized_end=2964
112
+ _globals['_TRUNKCONNECTIONSERVICE']._serialized_start=2967
113
+ _globals['_TRUNKCONNECTIONSERVICE']._serialized_end=4095
60
114
  # @@protoc_insertion_point(module_scope)
@@ -6,10 +6,15 @@ 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.lag_allocation_settings_pb2
15
+ import yandex.cloud.cic.v1.common.transceiver_type_pb2
12
16
  import yandex.cloud.cic.v1.trunk_connection_pb2
17
+ import yandex.cloud.operation.operation_pb2
13
18
 
14
19
  DESCRIPTOR: google.protobuf.descriptor.FileDescriptor
15
20
 
@@ -40,7 +45,7 @@ class ListTrunkConnectionsRequest(google.protobuf.message.Message):
40
45
  PAGE_TOKEN_FIELD_NUMBER: builtins.int
41
46
  FILTER_FIELD_NUMBER: builtins.int
42
47
  folder_id: builtins.str
43
- """ID of the folder to list trunkConnections in.
48
+ """ID of the folder to list TrunkConnection resources.
44
49
  To get the folder ID use a [yandex.cloud.resourcemanager.v1.FolderService.List] request.
45
50
  """
46
51
  page_size: builtins.int
@@ -99,3 +104,365 @@ class ListTrunkConnectionsResponse(google.protobuf.message.Message):
99
104
  def ClearField(self, field_name: typing.Literal["next_page_token", b"next_page_token", "trunk_connections", b"trunk_connections"]) -> None: ...
100
105
 
101
106
  global___ListTrunkConnectionsResponse = ListTrunkConnectionsResponse
107
+
108
+ @typing.final
109
+ class CreateTrunkConnectionRequest(google.protobuf.message.Message):
110
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
111
+
112
+ @typing.final
113
+ class LabelsEntry(google.protobuf.message.Message):
114
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
115
+
116
+ KEY_FIELD_NUMBER: builtins.int
117
+ VALUE_FIELD_NUMBER: builtins.int
118
+ key: builtins.str
119
+ value: builtins.str
120
+ def __init__(
121
+ self,
122
+ *,
123
+ key: builtins.str = ...,
124
+ value: builtins.str = ...,
125
+ ) -> None: ...
126
+ def ClearField(self, field_name: typing.Literal["key", b"key", "value", b"value"]) -> None: ...
127
+
128
+ @typing.final
129
+ class SinglePortDirectJoint(google.protobuf.message.Message):
130
+ """Config of trunkConnection that is deployed on single port."""
131
+
132
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
133
+
134
+ TRANSCEIVER_TYPE_FIELD_NUMBER: builtins.int
135
+ transceiver_type: yandex.cloud.cic.v1.common.transceiver_type_pb2.TransceiverType.ValueType
136
+ """Type of transceiver that the trunkConnection is deployed on."""
137
+ def __init__(
138
+ self,
139
+ *,
140
+ transceiver_type: yandex.cloud.cic.v1.common.transceiver_type_pb2.TransceiverType.ValueType = ...,
141
+ ) -> None: ...
142
+ def ClearField(self, field_name: typing.Literal["transceiver_type", b"transceiver_type"]) -> None: ...
143
+
144
+ @typing.final
145
+ class LagDirectJoint(google.protobuf.message.Message):
146
+ """Config of trunkConnection that is deployed on lag."""
147
+
148
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
149
+
150
+ TRANSCEIVER_TYPE_FIELD_NUMBER: builtins.int
151
+ LAG_ALLOCATION_SETTINGS_FIELD_NUMBER: builtins.int
152
+ transceiver_type: yandex.cloud.cic.v1.common.transceiver_type_pb2.TransceiverType.ValueType
153
+ """Type of transceiver that the trunkConnection is deployed on."""
154
+ @property
155
+ def lag_allocation_settings(self) -> yandex.cloud.cic.v1.common.lag_allocation_settings_pb2.LagAllocationSettingsRequest:
156
+ """LAG allocation settings that the trunkConnection is deployed on."""
157
+
158
+ def __init__(
159
+ self,
160
+ *,
161
+ transceiver_type: yandex.cloud.cic.v1.common.transceiver_type_pb2.TransceiverType.ValueType = ...,
162
+ lag_allocation_settings: yandex.cloud.cic.v1.common.lag_allocation_settings_pb2.LagAllocationSettingsRequest | None = ...,
163
+ ) -> None: ...
164
+ def HasField(self, field_name: typing.Literal["lag_allocation_settings", b"lag_allocation_settings"]) -> builtins.bool: ...
165
+ def ClearField(self, field_name: typing.Literal["lag_allocation_settings", b"lag_allocation_settings", "transceiver_type", b"transceiver_type"]) -> None: ...
166
+
167
+ @typing.final
168
+ class PartnerJoint(google.protobuf.message.Message):
169
+ """Config of trunkConnection that is deployed on partner joint."""
170
+
171
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
172
+
173
+ PARTNER_ID_FIELD_NUMBER: builtins.int
174
+ @property
175
+ def partner_id(self) -> google.protobuf.wrappers_pb2.StringValue:
176
+ """ID of partner that the trunkConnection is deployed on.
177
+ Optional.
178
+ If is not set scheduler selects it by himself.
179
+ """
180
+
181
+ def __init__(
182
+ self,
183
+ *,
184
+ partner_id: google.protobuf.wrappers_pb2.StringValue | None = ...,
185
+ ) -> None: ...
186
+ def HasField(self, field_name: typing.Literal["partner_id", b"partner_id"]) -> builtins.bool: ...
187
+ def ClearField(self, field_name: typing.Literal["partner_id", b"partner_id"]) -> None: ...
188
+
189
+ NAME_FIELD_NUMBER: builtins.int
190
+ DESCRIPTION_FIELD_NUMBER: builtins.int
191
+ FOLDER_ID_FIELD_NUMBER: builtins.int
192
+ REGION_ID_FIELD_NUMBER: builtins.int
193
+ SINGLE_PORT_DIRECT_JOINT_FIELD_NUMBER: builtins.int
194
+ LAG_DIRECT_JOINT_FIELD_NUMBER: builtins.int
195
+ PARTNER_JOINT_INFO_FIELD_NUMBER: builtins.int
196
+ POINT_OF_PRESENCE_ID_FIELD_NUMBER: builtins.int
197
+ CAPACITY_FIELD_NUMBER: builtins.int
198
+ LABELS_FIELD_NUMBER: builtins.int
199
+ DELETION_PROTECTION_FIELD_NUMBER: builtins.int
200
+ name: builtins.str
201
+ """Name of the trunkConnection.
202
+ The name must be unique within the folder.
203
+ Value must match the regular expression ``\\|[a-zA-Z]([-_a-zA-Z0-9]{0,61}[a-zA-Z0-9])?``.
204
+ """
205
+ description: builtins.str
206
+ """Optional description of the trunkConnection. 0-256 characters long."""
207
+ folder_id: builtins.str
208
+ """ID of the folder that the trunkConnection belongs to."""
209
+ region_id: builtins.str
210
+ """ID of the region that the trunkConnection belongs to."""
211
+ capacity: yandex.cloud.cic.v1.trunk_connection_pb2.TrunkConnection.Capacity.ValueType
212
+ """Capacity of the trunkConnection"""
213
+ deletion_protection: builtins.bool
214
+ """Deletion protection flag.
215
+ Optional.
216
+ If set prohibits deletion of the trunkConnection.
217
+ """
218
+ @property
219
+ def single_port_direct_joint(self) -> global___CreateTrunkConnectionRequest.SinglePortDirectJoint: ...
220
+ @property
221
+ def lag_direct_joint(self) -> global___CreateTrunkConnectionRequest.LagDirectJoint: ...
222
+ @property
223
+ def partner_joint_info(self) -> global___CreateTrunkConnectionRequest.PartnerJoint: ...
224
+ @property
225
+ def point_of_presence_id(self) -> google.protobuf.wrappers_pb2.StringValue:
226
+ """ID of pointOfPresence that the trunkConnection is deployed on.
227
+ Optional.
228
+ If is not set scheduler selects it by himself.
229
+ """
230
+
231
+ @property
232
+ def labels(self) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]:
233
+ """Resource labels, `key:value` pairs.
234
+ No more than 64 per resource.
235
+ The maximum string length in characters for each value is 63.
236
+ Each value must match the regular expression `[-_0-9a-z]*`.
237
+ The string length in characters for each key must be 1-63.
238
+ Each key must match the regular expression `[a-z][-_0-9a-z]*`.
239
+ """
240
+
241
+ def __init__(
242
+ self,
243
+ *,
244
+ name: builtins.str = ...,
245
+ description: builtins.str = ...,
246
+ folder_id: builtins.str = ...,
247
+ region_id: builtins.str = ...,
248
+ single_port_direct_joint: global___CreateTrunkConnectionRequest.SinglePortDirectJoint | None = ...,
249
+ lag_direct_joint: global___CreateTrunkConnectionRequest.LagDirectJoint | None = ...,
250
+ partner_joint_info: global___CreateTrunkConnectionRequest.PartnerJoint | None = ...,
251
+ point_of_presence_id: google.protobuf.wrappers_pb2.StringValue | None = ...,
252
+ capacity: yandex.cloud.cic.v1.trunk_connection_pb2.TrunkConnection.Capacity.ValueType = ...,
253
+ labels: collections.abc.Mapping[builtins.str, builtins.str] | None = ...,
254
+ deletion_protection: builtins.bool = ...,
255
+ ) -> None: ...
256
+ 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: ...
257
+ 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: ...
258
+ def WhichOneof(self, oneof_group: typing.Literal["joint", b"joint"]) -> typing.Literal["single_port_direct_joint", "lag_direct_joint", "partner_joint_info"] | None: ...
259
+
260
+ global___CreateTrunkConnectionRequest = CreateTrunkConnectionRequest
261
+
262
+ @typing.final
263
+ class CreateTrunkConnectionMetadata(google.protobuf.message.Message):
264
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
265
+
266
+ TRUNK_CONNECTION_ID_FIELD_NUMBER: builtins.int
267
+ trunk_connection_id: builtins.str
268
+ """ID of the TrunkConnection resource."""
269
+ def __init__(
270
+ self,
271
+ *,
272
+ trunk_connection_id: builtins.str = ...,
273
+ ) -> None: ...
274
+ def ClearField(self, field_name: typing.Literal["trunk_connection_id", b"trunk_connection_id"]) -> None: ...
275
+
276
+ global___CreateTrunkConnectionMetadata = CreateTrunkConnectionMetadata
277
+
278
+ @typing.final
279
+ class UpdateTrunkConnectionRequest(google.protobuf.message.Message):
280
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
281
+
282
+ @typing.final
283
+ class LabelsEntry(google.protobuf.message.Message):
284
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
285
+
286
+ KEY_FIELD_NUMBER: builtins.int
287
+ VALUE_FIELD_NUMBER: builtins.int
288
+ key: builtins.str
289
+ value: builtins.str
290
+ def __init__(
291
+ self,
292
+ *,
293
+ key: builtins.str = ...,
294
+ value: builtins.str = ...,
295
+ ) -> None: ...
296
+ def ClearField(self, field_name: typing.Literal["key", b"key", "value", b"value"]) -> None: ...
297
+
298
+ TRUNK_CONNECTION_ID_FIELD_NUMBER: builtins.int
299
+ UPDATE_MASK_FIELD_NUMBER: builtins.int
300
+ NAME_FIELD_NUMBER: builtins.int
301
+ DESCRIPTION_FIELD_NUMBER: builtins.int
302
+ REGION_ID_FIELD_NUMBER: builtins.int
303
+ POINT_OF_PRESENCE_ID_FIELD_NUMBER: builtins.int
304
+ CAPACITY_FIELD_NUMBER: builtins.int
305
+ LABELS_FIELD_NUMBER: builtins.int
306
+ DELETION_PROTECTION_FIELD_NUMBER: builtins.int
307
+ trunk_connection_id: builtins.str
308
+ """ID of the TrunkConnection resource to return."""
309
+ name: builtins.str
310
+ """Name of the trunkConnection.
311
+ The name must be unique within the folder.
312
+ Value must match the regular expression ``\\|[a-zA-Z]([-_a-zA-Z0-9]{0,61}[a-zA-Z0-9])?``.
313
+ """
314
+ description: builtins.str
315
+ """Optional description of the trunkConnection. 0-256 characters long."""
316
+ region_id: builtins.str
317
+ """ID of the region that the trunkConnection belongs to."""
318
+ capacity: yandex.cloud.cic.v1.trunk_connection_pb2.TrunkConnection.Capacity.ValueType
319
+ """Capacity of the trunkConnection"""
320
+ deletion_protection: builtins.bool
321
+ """Deletion protection flag.
322
+ Optional.
323
+ If set prohibits deletion of the trunkConnection.
324
+ """
325
+ @property
326
+ def update_mask(self) -> google.protobuf.field_mask_pb2.FieldMask:
327
+ """Field mask that specifies which fields of the TrunkConnection resource are going to be updated."""
328
+
329
+ @property
330
+ def point_of_presence_id(self) -> google.protobuf.wrappers_pb2.StringValue:
331
+ """ID of pointOfPresence that the trunkConnection is deployed on.
332
+ Optional.
333
+ If is not set scheduler selects it by himself.
334
+ """
335
+
336
+ @property
337
+ def labels(self) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]:
338
+ """Resource labels, `key:value` pairs.
339
+ No more than 64 per resource.
340
+ The maximum string length in characters for each value is 63.
341
+ Each value must match the regular expression `[-_0-9a-z]*`.
342
+ The string length in characters for each key must be 1-63.
343
+ Each key must match the regular expression `[a-z][-_0-9a-z]*`.
344
+ """
345
+
346
+ def __init__(
347
+ self,
348
+ *,
349
+ trunk_connection_id: builtins.str = ...,
350
+ update_mask: google.protobuf.field_mask_pb2.FieldMask | None = ...,
351
+ name: builtins.str = ...,
352
+ description: builtins.str = ...,
353
+ region_id: builtins.str = ...,
354
+ point_of_presence_id: google.protobuf.wrappers_pb2.StringValue | None = ...,
355
+ capacity: yandex.cloud.cic.v1.trunk_connection_pb2.TrunkConnection.Capacity.ValueType = ...,
356
+ labels: collections.abc.Mapping[builtins.str, builtins.str] | None = ...,
357
+ deletion_protection: builtins.bool = ...,
358
+ ) -> None: ...
359
+ def HasField(self, field_name: typing.Literal["point_of_presence_id", b"point_of_presence_id", "update_mask", b"update_mask"]) -> builtins.bool: ...
360
+ 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: ...
361
+
362
+ global___UpdateTrunkConnectionRequest = UpdateTrunkConnectionRequest
363
+
364
+ @typing.final
365
+ class UpdateTrunkConnectionMetadata(google.protobuf.message.Message):
366
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
367
+
368
+ TRUNK_CONNECTION_ID_FIELD_NUMBER: builtins.int
369
+ trunk_connection_id: builtins.str
370
+ """ID of the TrunkConnection resource."""
371
+ def __init__(
372
+ self,
373
+ *,
374
+ trunk_connection_id: builtins.str = ...,
375
+ ) -> None: ...
376
+ def ClearField(self, field_name: typing.Literal["trunk_connection_id", b"trunk_connection_id"]) -> None: ...
377
+
378
+ global___UpdateTrunkConnectionMetadata = UpdateTrunkConnectionMetadata
379
+
380
+ @typing.final
381
+ class DeleteTrunkConnectionRequest(google.protobuf.message.Message):
382
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
383
+
384
+ TRUNK_CONNECTION_ID_FIELD_NUMBER: builtins.int
385
+ trunk_connection_id: builtins.str
386
+ """ID of the TrunkConnection resource."""
387
+ def __init__(
388
+ self,
389
+ *,
390
+ trunk_connection_id: builtins.str = ...,
391
+ ) -> None: ...
392
+ def ClearField(self, field_name: typing.Literal["trunk_connection_id", b"trunk_connection_id"]) -> None: ...
393
+
394
+ global___DeleteTrunkConnectionRequest = DeleteTrunkConnectionRequest
395
+
396
+ @typing.final
397
+ class DeleteTrunkConnectionMetadata(google.protobuf.message.Message):
398
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
399
+
400
+ TRUNK_CONNECTION_ID_FIELD_NUMBER: builtins.int
401
+ trunk_connection_id: builtins.str
402
+ """ID of the TrunkConnection resource."""
403
+ def __init__(
404
+ self,
405
+ *,
406
+ trunk_connection_id: builtins.str = ...,
407
+ ) -> None: ...
408
+ def ClearField(self, field_name: typing.Literal["trunk_connection_id", b"trunk_connection_id"]) -> None: ...
409
+
410
+ global___DeleteTrunkConnectionMetadata = DeleteTrunkConnectionMetadata
411
+
412
+ @typing.final
413
+ class ListTrunkConnectionOperationsRequest(google.protobuf.message.Message):
414
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
415
+
416
+ TRUNK_CONNECTION_ID_FIELD_NUMBER: builtins.int
417
+ PAGE_SIZE_FIELD_NUMBER: builtins.int
418
+ PAGE_TOKEN_FIELD_NUMBER: builtins.int
419
+ trunk_connection_id: builtins.str
420
+ """ID of the TrunkConnection resource."""
421
+ page_size: builtins.int
422
+ """The maximum number of results per page to return. If the number of available
423
+ results is larger than [page_size],
424
+ the service returns a [ListTrunkConnectionOperationsResponse.next_page_token]
425
+ that can be used to get the next page of results in subsequent list requests. Default value: 100.
426
+ """
427
+ page_token: builtins.str
428
+ """Page token. To get the next page of results, set [page_token] to the
429
+ [ListTrunkConnectionOperationsResponse.next_page_token] returned by a previous list request.
430
+ """
431
+ def __init__(
432
+ self,
433
+ *,
434
+ trunk_connection_id: builtins.str = ...,
435
+ page_size: builtins.int = ...,
436
+ page_token: builtins.str = ...,
437
+ ) -> None: ...
438
+ 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: ...
439
+
440
+ global___ListTrunkConnectionOperationsRequest = ListTrunkConnectionOperationsRequest
441
+
442
+ @typing.final
443
+ class ListTrunkConnectionOperationsResponse(google.protobuf.message.Message):
444
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
445
+
446
+ OPERATIONS_FIELD_NUMBER: builtins.int
447
+ NEXT_PAGE_TOKEN_FIELD_NUMBER: builtins.int
448
+ next_page_token: builtins.str
449
+ """This token allows you to get the next page of results for list requests. If the number of results
450
+ is larger than [ListTrunkConnectionOperationsRequest.page_size], use
451
+ the [next_page_token] as the value
452
+ for the [ListTrunkConnectionOperationsRequest.page_token] query parameter
453
+ in the next list request. Subsequent list requests will have their own
454
+ [next_page_token] to continue paging through the results.
455
+ """
456
+ @property
457
+ def operations(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[yandex.cloud.operation.operation_pb2.Operation]:
458
+ """List of TrunkConnection operations."""
459
+
460
+ def __init__(
461
+ self,
462
+ *,
463
+ operations: collections.abc.Iterable[yandex.cloud.operation.operation_pb2.Operation] | None = ...,
464
+ next_page_token: builtins.str = ...,
465
+ ) -> None: ...
466
+ def ClearField(self, field_name: typing.Literal["next_page_token", b"next_page_token", "operations", b"operations"]) -> None: ...
467
+
468
+ global___ListTrunkConnectionOperationsResponse = ListTrunkConnectionOperationsResponse