yandexcloud 0.319.0__py3-none-any.whl → 0.321.0__py3-none-any.whl

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (119) hide show
  1. yandex/cloud/ai/ocr/v1/ocr_pb2.pyi +2 -2
  2. yandex/cloud/ai/ocr/v1/ocr_service_pb2.pyi +5 -5
  3. yandex/cloud/cic/__init__.py +0 -0
  4. yandex/cloud/cic/v1/__init__.py +0 -0
  5. yandex/cloud/cic/v1/common/__init__.py +0 -0
  6. yandex/cloud/cic/v1/common/lag_allocation_settings_pb2.py +29 -0
  7. yandex/cloud/cic/v1/common/lag_allocation_settings_pb2.pyi +61 -0
  8. yandex/cloud/cic/v1/common/lag_allocation_settings_pb2_grpc.py +4 -0
  9. yandex/cloud/cic/v1/common/lag_allocation_settings_pb2_grpc.pyi +17 -0
  10. yandex/cloud/cic/v1/common/lag_info_pb2.py +27 -0
  11. yandex/cloud/cic/v1/common/lag_info_pb2.pyi +42 -0
  12. yandex/cloud/cic/v1/common/lag_info_pb2_grpc.py +4 -0
  13. yandex/cloud/cic/v1/common/lag_info_pb2_grpc.pyi +17 -0
  14. yandex/cloud/cic/v1/common/transceiver_type_pb2.py +26 -0
  15. yandex/cloud/cic/v1/common/transceiver_type_pb2.pyi +40 -0
  16. yandex/cloud/cic/v1/common/transceiver_type_pb2_grpc.py +4 -0
  17. yandex/cloud/cic/v1/common/transceiver_type_pb2_grpc.pyi +17 -0
  18. yandex/cloud/cic/v1/partner_pb2.py +28 -0
  19. yandex/cloud/cic/v1/partner_pb2.pyi +59 -0
  20. yandex/cloud/cic/v1/partner_pb2_grpc.py +4 -0
  21. yandex/cloud/cic/v1/partner_pb2_grpc.pyi +17 -0
  22. yandex/cloud/cic/v1/partner_service_pb2.py +47 -0
  23. yandex/cloud/cic/v1/partner_service_pb2.pyi +95 -0
  24. yandex/cloud/cic/v1/partner_service_pb2_grpc.py +107 -0
  25. yandex/cloud/cic/v1/partner_service_pb2_grpc.pyi +80 -0
  26. yandex/cloud/cic/v1/peering_pb2.py +26 -0
  27. yandex/cloud/cic/v1/peering_pb2.pyi +57 -0
  28. yandex/cloud/cic/v1/peering_pb2_grpc.py +4 -0
  29. yandex/cloud/cic/v1/peering_pb2_grpc.pyi +17 -0
  30. yandex/cloud/cic/v1/point_of_presence_pb2.py +26 -0
  31. yandex/cloud/cic/v1/point_of_presence_pb2.pyi +33 -0
  32. yandex/cloud/cic/v1/point_of_presence_pb2_grpc.py +4 -0
  33. yandex/cloud/cic/v1/point_of_presence_pb2_grpc.pyi +17 -0
  34. yandex/cloud/cic/v1/point_of_presence_service_pb2.py +47 -0
  35. yandex/cloud/cic/v1/point_of_presence_service_pb2.pyi +95 -0
  36. yandex/cloud/cic/v1/point_of_presence_service_pb2_grpc.py +107 -0
  37. yandex/cloud/cic/v1/point_of_presence_service_pb2_grpc.pyi +80 -0
  38. yandex/cloud/cic/v1/private_connection_pb2.py +34 -0
  39. yandex/cloud/cic/v1/private_connection_pb2.pyi +130 -0
  40. yandex/cloud/cic/v1/private_connection_pb2_grpc.py +4 -0
  41. yandex/cloud/cic/v1/private_connection_pb2_grpc.pyi +17 -0
  42. yandex/cloud/cic/v1/private_connection_service_pb2.py +49 -0
  43. yandex/cloud/cic/v1/private_connection_service_pb2.pyi +101 -0
  44. yandex/cloud/cic/v1/private_connection_service_pb2_grpc.py +107 -0
  45. yandex/cloud/cic/v1/private_connection_service_pb2_grpc.pyi +80 -0
  46. yandex/cloud/cic/v1/public_connection_pb2.py +36 -0
  47. yandex/cloud/cic/v1/public_connection_pb2.pyi +154 -0
  48. yandex/cloud/cic/v1/public_connection_pb2_grpc.py +4 -0
  49. yandex/cloud/cic/v1/public_connection_pb2_grpc.pyi +17 -0
  50. yandex/cloud/cic/v1/public_connection_service_pb2.py +49 -0
  51. yandex/cloud/cic/v1/public_connection_service_pb2.pyi +101 -0
  52. yandex/cloud/cic/v1/public_connection_service_pb2_grpc.py +107 -0
  53. yandex/cloud/cic/v1/public_connection_service_pb2_grpc.pyi +80 -0
  54. yandex/cloud/cic/v1/trunk_connection_pb2.py +41 -0
  55. yandex/cloud/cic/v1/trunk_connection_pb2.pyi +240 -0
  56. yandex/cloud/cic/v1/trunk_connection_pb2_grpc.py +4 -0
  57. yandex/cloud/cic/v1/trunk_connection_pb2_grpc.pyi +17 -0
  58. yandex/cloud/cic/v1/trunk_connection_service_pb2.py +49 -0
  59. yandex/cloud/cic/v1/trunk_connection_service_pb2.pyi +101 -0
  60. yandex/cloud/cic/v1/trunk_connection_service_pb2_grpc.py +107 -0
  61. yandex/cloud/cic/v1/trunk_connection_service_pb2_grpc.pyi +80 -0
  62. yandex/cloud/cloudapps/__init__.py +0 -0
  63. yandex/cloud/cloudapps/workload/__init__.py +0 -0
  64. yandex/cloud/cloudapps/workload/v1/__init__.py +0 -0
  65. yandex/cloud/cloudapps/workload/v1/cloud_application_pb2.py +47 -0
  66. yandex/cloud/cloudapps/workload/v1/cloud_application_pb2.pyi +127 -0
  67. yandex/cloud/cloudapps/workload/v1/cloud_application_pb2_grpc.py +4 -0
  68. yandex/cloud/cloudapps/workload/v1/cloud_application_pb2_grpc.pyi +17 -0
  69. yandex/cloud/cloudapps/workload/v1/cloud_application_service_pb2.py +39 -0
  70. yandex/cloud/cloudapps/workload/v1/cloud_application_service_pb2.pyi +73 -0
  71. yandex/cloud/cloudapps/workload/v1/cloud_application_service_pb2_grpc.py +106 -0
  72. yandex/cloud/cloudapps/workload/v1/cloud_application_service_pb2_grpc.pyi +72 -0
  73. yandex/cloud/datasphere/v2/jobs/jobs_pb2.py +27 -25
  74. yandex/cloud/datasphere/v2/jobs/jobs_pb2.pyi +62 -10
  75. yandex/cloud/datatransfer/v1/endpoint/postgres_pb2.pyi +2 -2
  76. yandex/cloud/k8s/marketplace/__init__.py +0 -0
  77. yandex/cloud/k8s/marketplace/v1/__init__.py +0 -0
  78. yandex/cloud/k8s/marketplace/v1/helm_release_pb2.py +29 -0
  79. yandex/cloud/k8s/marketplace/v1/helm_release_pb2.pyi +119 -0
  80. yandex/cloud/k8s/marketplace/v1/helm_release_pb2_grpc.py +4 -0
  81. yandex/cloud/k8s/marketplace/v1/helm_release_pb2_grpc.pyi +17 -0
  82. yandex/cloud/k8s/marketplace/v1/helm_release_service_pb2.py +83 -0
  83. yandex/cloud/k8s/marketplace/v1/helm_release_service_pb2.pyi +253 -0
  84. yandex/cloud/k8s/marketplace/v1/helm_release_service_pb2_grpc.py +208 -0
  85. yandex/cloud/k8s/marketplace/v1/helm_release_service_pb2_grpc.pyi +132 -0
  86. yandex/cloud/marketplace/licensemanager/saas/__init__.py +0 -0
  87. yandex/cloud/marketplace/licensemanager/saas/v1/__init__.py +0 -0
  88. yandex/cloud/marketplace/licensemanager/saas/v1/instance_service_pb2.py +35 -0
  89. yandex/cloud/marketplace/licensemanager/saas/v1/instance_service_pb2.pyi +27 -0
  90. yandex/cloud/marketplace/licensemanager/saas/v1/instance_service_pb2_grpc.py +71 -0
  91. yandex/cloud/marketplace/licensemanager/saas/v1/instance_service_pb2_grpc.pyi +51 -0
  92. yandex/cloud/marketplace/licensemanager/saas/v1/lock_service_pb2.py +47 -0
  93. yandex/cloud/marketplace/licensemanager/saas/v1/lock_service_pb2.pyi +63 -0
  94. yandex/cloud/marketplace/licensemanager/saas/v1/lock_service_pb2_grpc.py +107 -0
  95. yandex/cloud/marketplace/licensemanager/saas/v1/lock_service_pb2_grpc.pyi +78 -0
  96. yandex/cloud/mdb/greenplum/v1/pxf_pb2.pyi +1 -1
  97. yandex/cloud/mdb/postgresql/v1/config/postgresql15_1c_pb2.py +15 -15
  98. yandex/cloud/mdb/postgresql/v1/config/postgresql15_1c_pb2.pyi +2 -0
  99. yandex/cloud/mdb/postgresql/v1/config/postgresql15_pb2.py +15 -15
  100. yandex/cloud/mdb/postgresql/v1/config/postgresql15_pb2.pyi +2 -0
  101. yandex/cloud/mdb/postgresql/v1/config/postgresql16_1c_pb2.py +15 -15
  102. yandex/cloud/mdb/postgresql/v1/config/postgresql16_1c_pb2.pyi +2 -0
  103. yandex/cloud/mdb/postgresql/v1/config/postgresql16_pb2.py +15 -15
  104. yandex/cloud/mdb/postgresql/v1/config/postgresql16_pb2.pyi +2 -0
  105. yandex/cloud/mdb/redis/v1/backup_service_pb2.py +19 -9
  106. yandex/cloud/mdb/redis/v1/backup_service_pb2.pyi +32 -0
  107. yandex/cloud/mdb/redis/v1/backup_service_pb2_grpc.py +35 -0
  108. yandex/cloud/mdb/redis/v1/backup_service_pb2_grpc.pyi +21 -0
  109. yandex/cloud/serverless/workflows/v1/history_entry_pb2.py +14 -10
  110. yandex/cloud/serverless/workflows/v1/history_entry_pb2.pyi +41 -2
  111. yandex/cloud/speechsense/v1/talk_service_pb2.py +7 -3
  112. yandex/cloud/storage/v1/s3api_pb2.py +31 -1
  113. yandex/cloud/storage/v1/s3api_pb2.pyi +359 -0
  114. {yandexcloud-0.319.0.dist-info → yandexcloud-0.321.0.dist-info}/METADATA +1 -1
  115. {yandexcloud-0.319.0.dist-info → yandexcloud-0.321.0.dist-info}/RECORD +119 -29
  116. {yandexcloud-0.319.0.dist-info → yandexcloud-0.321.0.dist-info}/AUTHORS +0 -0
  117. {yandexcloud-0.319.0.dist-info → yandexcloud-0.321.0.dist-info}/LICENSE +0 -0
  118. {yandexcloud-0.319.0.dist-info → yandexcloud-0.321.0.dist-info}/WHEEL +0 -0
  119. {yandexcloud-0.319.0.dist-info → yandexcloud-0.321.0.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,240 @@
1
+ """
2
+ @generated by mypy-protobuf. Do not edit manually!
3
+ isort:skip_file
4
+ """
5
+
6
+ import builtins
7
+ import collections.abc
8
+ import google.protobuf.descriptor
9
+ import google.protobuf.internal.containers
10
+ import google.protobuf.internal.enum_type_wrapper
11
+ import google.protobuf.message
12
+ import google.protobuf.wrappers_pb2
13
+ import sys
14
+ import typing
15
+ import yandex.cloud.cic.v1.common.lag_allocation_settings_pb2
16
+ import yandex.cloud.cic.v1.common.transceiver_type_pb2
17
+
18
+ if sys.version_info >= (3, 10):
19
+ import typing as typing_extensions
20
+ else:
21
+ import typing_extensions
22
+
23
+ DESCRIPTOR: google.protobuf.descriptor.FileDescriptor
24
+
25
+ @typing.final
26
+ class TrunkConnection(google.protobuf.message.Message):
27
+ """A TrunkConnection resource."""
28
+
29
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
30
+
31
+ class _Capacity:
32
+ ValueType = typing.NewType("ValueType", builtins.int)
33
+ V: typing_extensions.TypeAlias = ValueType
34
+
35
+ class _CapacityEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[TrunkConnection._Capacity.ValueType], builtins.type):
36
+ DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor
37
+ CAPACITY_UNSPECIFIED: TrunkConnection._Capacity.ValueType # 0
38
+ CAPACITY_50_MBPS: TrunkConnection._Capacity.ValueType # 1
39
+ CAPACITY_100_MBPS: TrunkConnection._Capacity.ValueType # 2
40
+ CAPACITY_200_MBPS: TrunkConnection._Capacity.ValueType # 3
41
+ CAPACITY_300_MBPS: TrunkConnection._Capacity.ValueType # 4
42
+ CAPACITY_400_MBPS: TrunkConnection._Capacity.ValueType # 5
43
+ CAPACITY_500_MBPS: TrunkConnection._Capacity.ValueType # 6
44
+ CAPACITY_1_GBPS: TrunkConnection._Capacity.ValueType # 7
45
+ CAPACITY_2_GBPS: TrunkConnection._Capacity.ValueType # 8
46
+ CAPACITY_3_GBPS: TrunkConnection._Capacity.ValueType # 9
47
+ CAPACITY_4_GBPS: TrunkConnection._Capacity.ValueType # 10
48
+ CAPACITY_5_GBPS: TrunkConnection._Capacity.ValueType # 11
49
+ CAPACITY_10_GBPS: TrunkConnection._Capacity.ValueType # 12
50
+ CAPACITY_20_GBPS: TrunkConnection._Capacity.ValueType # 13
51
+ CAPACITY_30_GBPS: TrunkConnection._Capacity.ValueType # 14
52
+ CAPACITY_40_GBPS: TrunkConnection._Capacity.ValueType # 15
53
+ CAPACITY_50_GBPS: TrunkConnection._Capacity.ValueType # 16
54
+ CAPACITY_100_GBPS: TrunkConnection._Capacity.ValueType # 17
55
+
56
+ class Capacity(_Capacity, metaclass=_CapacityEnumTypeWrapper): ...
57
+ CAPACITY_UNSPECIFIED: TrunkConnection.Capacity.ValueType # 0
58
+ CAPACITY_50_MBPS: TrunkConnection.Capacity.ValueType # 1
59
+ CAPACITY_100_MBPS: TrunkConnection.Capacity.ValueType # 2
60
+ CAPACITY_200_MBPS: TrunkConnection.Capacity.ValueType # 3
61
+ CAPACITY_300_MBPS: TrunkConnection.Capacity.ValueType # 4
62
+ CAPACITY_400_MBPS: TrunkConnection.Capacity.ValueType # 5
63
+ CAPACITY_500_MBPS: TrunkConnection.Capacity.ValueType # 6
64
+ CAPACITY_1_GBPS: TrunkConnection.Capacity.ValueType # 7
65
+ CAPACITY_2_GBPS: TrunkConnection.Capacity.ValueType # 8
66
+ CAPACITY_3_GBPS: TrunkConnection.Capacity.ValueType # 9
67
+ CAPACITY_4_GBPS: TrunkConnection.Capacity.ValueType # 10
68
+ CAPACITY_5_GBPS: TrunkConnection.Capacity.ValueType # 11
69
+ CAPACITY_10_GBPS: TrunkConnection.Capacity.ValueType # 12
70
+ CAPACITY_20_GBPS: TrunkConnection.Capacity.ValueType # 13
71
+ CAPACITY_30_GBPS: TrunkConnection.Capacity.ValueType # 14
72
+ CAPACITY_40_GBPS: TrunkConnection.Capacity.ValueType # 15
73
+ CAPACITY_50_GBPS: TrunkConnection.Capacity.ValueType # 16
74
+ CAPACITY_100_GBPS: TrunkConnection.Capacity.ValueType # 17
75
+
76
+ @typing.final
77
+ class LabelsEntry(google.protobuf.message.Message):
78
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
79
+
80
+ KEY_FIELD_NUMBER: builtins.int
81
+ VALUE_FIELD_NUMBER: builtins.int
82
+ key: builtins.str
83
+ value: builtins.str
84
+ def __init__(
85
+ self,
86
+ *,
87
+ key: builtins.str = ...,
88
+ value: builtins.str = ...,
89
+ ) -> None: ...
90
+ def ClearField(self, field_name: typing.Literal["key", b"key", "value", b"value"]) -> None: ...
91
+
92
+ @typing.final
93
+ class PartnerJointInfo(google.protobuf.message.Message):
94
+ """Config of trunkConnection that is deployed on partner joint."""
95
+
96
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
97
+
98
+ SERVICE_KEY_FIELD_NUMBER: builtins.int
99
+ PARTNER_ID_FIELD_NUMBER: builtins.int
100
+ service_key: builtins.str
101
+ """Reserved for future using;"""
102
+ @property
103
+ def partner_id(self) -> google.protobuf.wrappers_pb2.StringValue:
104
+ """ID of partner that the trunkConnection is deployed on.
105
+ Optional.
106
+ If is not set scheduler selects it by himself.
107
+ """
108
+
109
+ def __init__(
110
+ self,
111
+ *,
112
+ service_key: builtins.str = ...,
113
+ partner_id: google.protobuf.wrappers_pb2.StringValue | None = ...,
114
+ ) -> None: ...
115
+ def HasField(self, field_name: typing.Literal["partner_id", b"partner_id"]) -> builtins.bool: ...
116
+ def ClearField(self, field_name: typing.Literal["partner_id", b"partner_id", "service_key", b"service_key"]) -> None: ...
117
+
118
+ @typing.final
119
+ class SinglePortDirectJoint(google.protobuf.message.Message):
120
+ """Config of trunkConnection that is deployed on single port."""
121
+
122
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
123
+
124
+ TRANSCEIVER_TYPE_FIELD_NUMBER: builtins.int
125
+ PORT_NAME_FIELD_NUMBER: builtins.int
126
+ ACCESS_DEVICE_NAME_FIELD_NUMBER: builtins.int
127
+ transceiver_type: yandex.cloud.cic.v1.common.transceiver_type_pb2.TransceiverType.ValueType
128
+ """Type of transceiver that the trunkConnection is deployed on."""
129
+ access_device_name: builtins.str
130
+ """Device name which is set in LLDP message."""
131
+ @property
132
+ def port_name(self) -> google.protobuf.wrappers_pb2.StringValue:
133
+ """Name of port that the trunkConnection is deployed on."""
134
+
135
+ def __init__(
136
+ self,
137
+ *,
138
+ transceiver_type: yandex.cloud.cic.v1.common.transceiver_type_pb2.TransceiverType.ValueType = ...,
139
+ port_name: google.protobuf.wrappers_pb2.StringValue | None = ...,
140
+ access_device_name: builtins.str = ...,
141
+ ) -> None: ...
142
+ def HasField(self, field_name: typing.Literal["port_name", b"port_name"]) -> builtins.bool: ...
143
+ def ClearField(self, field_name: typing.Literal["access_device_name", b"access_device_name", "port_name", b"port_name", "transceiver_type", b"transceiver_type"]) -> None: ...
144
+
145
+ @typing.final
146
+ class LagDirectJoint(google.protobuf.message.Message):
147
+ """Config of trunkConnection that is deployed on lag."""
148
+
149
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
150
+
151
+ TRANSCEIVER_TYPE_FIELD_NUMBER: builtins.int
152
+ LAG_ALLOCATION_SETTINGS_FIELD_NUMBER: builtins.int
153
+ ACCESS_DEVICE_NAME_FIELD_NUMBER: builtins.int
154
+ transceiver_type: yandex.cloud.cic.v1.common.transceiver_type_pb2.TransceiverType.ValueType
155
+ """Type of transceiver that the trunkConnection is deployed on."""
156
+ access_device_name: builtins.str
157
+ """Device name which is set in LLDP message."""
158
+ @property
159
+ def lag_allocation_settings(self) -> yandex.cloud.cic.v1.common.lag_allocation_settings_pb2.LagAllocationSettings:
160
+ """LAG allocation settings that the trunkConnection is deployed on."""
161
+
162
+ def __init__(
163
+ self,
164
+ *,
165
+ transceiver_type: yandex.cloud.cic.v1.common.transceiver_type_pb2.TransceiverType.ValueType = ...,
166
+ lag_allocation_settings: yandex.cloud.cic.v1.common.lag_allocation_settings_pb2.LagAllocationSettings | None = ...,
167
+ access_device_name: builtins.str = ...,
168
+ ) -> None: ...
169
+ def HasField(self, field_name: typing.Literal["lag_allocation_settings", b"lag_allocation_settings"]) -> builtins.bool: ...
170
+ def ClearField(self, field_name: typing.Literal["access_device_name", b"access_device_name", "lag_allocation_settings", b"lag_allocation_settings", "transceiver_type", b"transceiver_type"]) -> None: ...
171
+
172
+ ID_FIELD_NUMBER: builtins.int
173
+ NAME_FIELD_NUMBER: builtins.int
174
+ DESCRIPTION_FIELD_NUMBER: builtins.int
175
+ FOLDER_ID_FIELD_NUMBER: builtins.int
176
+ REGION_ID_FIELD_NUMBER: builtins.int
177
+ SINGLE_PORT_DIRECT_JOINT_FIELD_NUMBER: builtins.int
178
+ LAG_DIRECT_JOINT_FIELD_NUMBER: builtins.int
179
+ PARTNER_JOINT_INFO_FIELD_NUMBER: builtins.int
180
+ POINT_OF_PRESENCE_ID_FIELD_NUMBER: builtins.int
181
+ CAPACITY_FIELD_NUMBER: builtins.int
182
+ LABELS_FIELD_NUMBER: builtins.int
183
+ id: builtins.str
184
+ """ID of the trunkConnection."""
185
+ name: builtins.str
186
+ """Name of the trunkConnection.
187
+ The name must be unique within the folder.
188
+ Value must match the regular expression ``\\|[a-zA-Z]([-_a-zA-Z0-9]{0,61}[a-zA-Z0-9])?``.
189
+ """
190
+ description: builtins.str
191
+ """Optional description of the trunkConnection. 0-256 characters long."""
192
+ folder_id: builtins.str
193
+ """ID of the folder that the trunkConnection belongs to."""
194
+ region_id: builtins.str
195
+ """ID of the region that the trunkConnection belongs to."""
196
+ capacity: global___TrunkConnection.Capacity.ValueType
197
+ """Capacity of the trunkConnection"""
198
+ @property
199
+ def single_port_direct_joint(self) -> global___TrunkConnection.SinglePortDirectJoint: ...
200
+ @property
201
+ def lag_direct_joint(self) -> global___TrunkConnection.LagDirectJoint: ...
202
+ @property
203
+ def partner_joint_info(self) -> global___TrunkConnection.PartnerJointInfo: ...
204
+ @property
205
+ def point_of_presence_id(self) -> google.protobuf.wrappers_pb2.StringValue:
206
+ """ID of pointOfPresence that the trunkConnection is deployed on.
207
+ Optional.
208
+ If is not set scheduler selects it by himself.
209
+ """
210
+
211
+ @property
212
+ def labels(self) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]:
213
+ """Resource labels, `key:value` pairs.
214
+ No more than 64 per resource.
215
+ The maximum string length in characters for each value is 63.
216
+ Each value must match the regular expression `[-_0-9a-z]*`.
217
+ The string length in characters for each key must be 1-63.
218
+ Each key must match the regular expression `[a-z][-_0-9a-z]*`.
219
+ """
220
+
221
+ def __init__(
222
+ self,
223
+ *,
224
+ id: builtins.str = ...,
225
+ name: builtins.str = ...,
226
+ description: builtins.str = ...,
227
+ folder_id: builtins.str = ...,
228
+ region_id: builtins.str = ...,
229
+ single_port_direct_joint: global___TrunkConnection.SinglePortDirectJoint | None = ...,
230
+ lag_direct_joint: global___TrunkConnection.LagDirectJoint | None = ...,
231
+ partner_joint_info: global___TrunkConnection.PartnerJointInfo | None = ...,
232
+ point_of_presence_id: google.protobuf.wrappers_pb2.StringValue | None = ...,
233
+ capacity: global___TrunkConnection.Capacity.ValueType = ...,
234
+ labels: collections.abc.Mapping[builtins.str, builtins.str] | None = ...,
235
+ ) -> 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: ...
238
+ def WhichOneof(self, oneof_group: typing.Literal["joint", b"joint"]) -> typing.Literal["single_port_direct_joint", "lag_direct_joint", "partner_joint_info"] | None: ...
239
+
240
+ global___TrunkConnection = TrunkConnection
@@ -0,0 +1,4 @@
1
+ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT!
2
+ """Client and server classes corresponding to protobuf-defined services."""
3
+ import grpc
4
+
@@ -0,0 +1,17 @@
1
+ """
2
+ @generated by mypy-protobuf. Do not edit manually!
3
+ isort:skip_file
4
+ """
5
+
6
+ import abc
7
+ import collections.abc
8
+ import grpc
9
+ import grpc.aio
10
+ import typing
11
+
12
+ _T = typing.TypeVar("_T")
13
+
14
+ class _MaybeAsyncIterator(collections.abc.AsyncIterator[_T], collections.abc.Iterator[_T], metaclass=abc.ABCMeta): ...
15
+
16
+ class _ServicerContext(grpc.ServicerContext, grpc.aio.ServicerContext): # type: ignore[misc, type-arg]
17
+ ...
@@ -0,0 +1,49 @@
1
+ # -*- coding: utf-8 -*-
2
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
3
+ # source: yandex/cloud/cic/v1/trunk_connection_service.proto
4
+ """Generated protocol buffer code."""
5
+ from google.protobuf import descriptor as _descriptor
6
+ from google.protobuf import descriptor_pool as _descriptor_pool
7
+ from google.protobuf import symbol_database as _symbol_database
8
+ from google.protobuf.internal import builder as _builder
9
+ # @@protoc_insertion_point(imports)
10
+
11
+ _sym_db = _symbol_database.Default()
12
+
13
+
14
+ from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2
15
+ from yandex.cloud import validation_pb2 as yandex_dot_cloud_dot_validation__pb2
16
+ from yandex.cloud.cic.v1 import trunk_connection_pb2 as yandex_dot_cloud_dot_cic_dot_v1_dot_trunk__connection__pb2
17
+
18
+
19
+ 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')
20
+
21
+ _globals = globals()
22
+ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
23
+ _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'yandex.cloud.cic.v1.trunk_connection_service_pb2', _globals)
24
+ if _descriptor._USE_C_DESCRIPTORS == False:
25
+ DESCRIPTOR._options = None
26
+ DESCRIPTOR._serialized_options = b'\n\027yandex.cloud.api.cic.v1Z;github.com/yandex-cloud/go-genproto/yandex/cloud/cic/v1;cic'
27
+ _GETTRUNKCONNECTIONREQUEST.fields_by_name['trunk_connection_id']._options = None
28
+ _GETTRUNKCONNECTIONREQUEST.fields_by_name['trunk_connection_id']._serialized_options = b'\350\3071\001\212\3101\004<=50'
29
+ _LISTTRUNKCONNECTIONSREQUEST.fields_by_name['folder_id']._options = None
30
+ _LISTTRUNKCONNECTIONSREQUEST.fields_by_name['folder_id']._serialized_options = b'\350\3071\001\212\3101\004<=50'
31
+ _LISTTRUNKCONNECTIONSREQUEST.fields_by_name['page_size']._options = None
32
+ _LISTTRUNKCONNECTIONSREQUEST.fields_by_name['page_size']._serialized_options = b'\372\3071\006<=1000'
33
+ _LISTTRUNKCONNECTIONSREQUEST.fields_by_name['page_token']._options = None
34
+ _LISTTRUNKCONNECTIONSREQUEST.fields_by_name['page_token']._serialized_options = b'\212\3101\005<=100'
35
+ _LISTTRUNKCONNECTIONSREQUEST.fields_by_name['filter']._options = None
36
+ _LISTTRUNKCONNECTIONSREQUEST.fields_by_name['filter']._serialized_options = b'\212\3101\006<=1000'
37
+ _TRUNKCONNECTIONSERVICE.methods_by_name['Get']._options = None
38
+ _TRUNKCONNECTIONSERVICE.methods_by_name['Get']._serialized_options = b'\202\323\344\223\0020\022./cic/v1/trunkConnections/{trunk_connection_id}'
39
+ _TRUNKCONNECTIONSERVICE.methods_by_name['List']._options = None
40
+ _TRUNKCONNECTIONSERVICE.methods_by_name['List']._serialized_options = b'\202\323\344\223\002\032\022\030/cic/v1/trunkConnections'
41
+ _globals['_GETTRUNKCONNECTIONREQUEST']._serialized_start=180
42
+ _globals['_GETTRUNKCONNECTIONREQUEST']._serialized_end=250
43
+ _globals['_LISTTRUNKCONNECTIONSREQUEST']._serialized_start=253
44
+ _globals['_LISTTRUNKCONNECTIONSREQUEST']._serialized_end=405
45
+ _globals['_LISTTRUNKCONNECTIONSRESPONSE']._serialized_start=407
46
+ _globals['_LISTTRUNKCONNECTIONSRESPONSE']._serialized_end=527
47
+ _globals['_TRUNKCONNECTIONSERVICE']._serialized_start=530
48
+ _globals['_TRUNKCONNECTIONSERVICE']._serialized_end=848
49
+ # @@protoc_insertion_point(module_scope)
@@ -0,0 +1,101 @@
1
+ """
2
+ @generated by mypy-protobuf. Do not edit manually!
3
+ isort:skip_file
4
+ """
5
+
6
+ import builtins
7
+ import collections.abc
8
+ import google.protobuf.descriptor
9
+ import google.protobuf.internal.containers
10
+ import google.protobuf.message
11
+ import typing
12
+ import yandex.cloud.cic.v1.trunk_connection_pb2
13
+
14
+ DESCRIPTOR: google.protobuf.descriptor.FileDescriptor
15
+
16
+ @typing.final
17
+ class GetTrunkConnectionRequest(google.protobuf.message.Message):
18
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
19
+
20
+ TRUNK_CONNECTION_ID_FIELD_NUMBER: builtins.int
21
+ trunk_connection_id: builtins.str
22
+ """ID of the TrunkConnection resource to return.
23
+ To get the trunkConnection ID use a [TrunkConnectionService.List] request.
24
+ """
25
+ def __init__(
26
+ self,
27
+ *,
28
+ trunk_connection_id: builtins.str = ...,
29
+ ) -> None: ...
30
+ def ClearField(self, field_name: typing.Literal["trunk_connection_id", b"trunk_connection_id"]) -> None: ...
31
+
32
+ global___GetTrunkConnectionRequest = GetTrunkConnectionRequest
33
+
34
+ @typing.final
35
+ class ListTrunkConnectionsRequest(google.protobuf.message.Message):
36
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
37
+
38
+ FOLDER_ID_FIELD_NUMBER: builtins.int
39
+ PAGE_SIZE_FIELD_NUMBER: builtins.int
40
+ PAGE_TOKEN_FIELD_NUMBER: builtins.int
41
+ FILTER_FIELD_NUMBER: builtins.int
42
+ folder_id: builtins.str
43
+ """ID of the folder to list trunkConnections in.
44
+ To get the folder ID use a [yandex.cloud.resourcemanager.v1.FolderService.List] request.
45
+ """
46
+ page_size: builtins.int
47
+ """The maximum number of results per page to return. If the number of available
48
+ results is larger than [page_size],
49
+ the service returns a [ListTrunkConnectionsResponse.next_page_token]
50
+ that can be used to get the next page of results in subsequent list requests. Default value: 100.
51
+ """
52
+ page_token: builtins.str
53
+ """Page token. To get the next page of results, set [page_token] to the
54
+ [ListTrunkConnectionsResponse.next_page_token] returned by a previous list request.
55
+ """
56
+ filter: builtins.str
57
+ """A filter expression that filters resources listed in the response.
58
+ The expression must specify:
59
+ 1. The field name. Currently you can use filtering only on [Subnet.name] field.
60
+ 2. An `=` operator.
61
+ 3. The value in double quotes (`"`). Must be 3-63 characters long and match the regular expression `[a-z][-a-z0-9]{1,61}[a-z0-9]`.
62
+ """
63
+ def __init__(
64
+ self,
65
+ *,
66
+ folder_id: builtins.str = ...,
67
+ page_size: builtins.int = ...,
68
+ page_token: builtins.str = ...,
69
+ filter: builtins.str = ...,
70
+ ) -> None: ...
71
+ def ClearField(self, field_name: typing.Literal["filter", b"filter", "folder_id", b"folder_id", "page_size", b"page_size", "page_token", b"page_token"]) -> None: ...
72
+
73
+ global___ListTrunkConnectionsRequest = ListTrunkConnectionsRequest
74
+
75
+ @typing.final
76
+ class ListTrunkConnectionsResponse(google.protobuf.message.Message):
77
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
78
+
79
+ TRUNK_CONNECTIONS_FIELD_NUMBER: builtins.int
80
+ NEXT_PAGE_TOKEN_FIELD_NUMBER: builtins.int
81
+ next_page_token: builtins.str
82
+ """This token allows you to get the next page of results for list requests. If the number of results
83
+ is larger than [ListTrunkConnectionsRequest.page_size], use
84
+ the [next_page_token] as the value
85
+ for the [ListTrunkConnectionsRequest.page_token] query parameter
86
+ in the next list request. Subsequent list requests will have their own
87
+ [next_page_token] to continue paging through the results.
88
+ """
89
+ @property
90
+ def trunk_connections(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[yandex.cloud.cic.v1.trunk_connection_pb2.TrunkConnection]:
91
+ """List of TrunkConnection resources."""
92
+
93
+ def __init__(
94
+ self,
95
+ *,
96
+ trunk_connections: collections.abc.Iterable[yandex.cloud.cic.v1.trunk_connection_pb2.TrunkConnection] | None = ...,
97
+ next_page_token: builtins.str = ...,
98
+ ) -> None: ...
99
+ def ClearField(self, field_name: typing.Literal["next_page_token", b"next_page_token", "trunk_connections", b"trunk_connections"]) -> None: ...
100
+
101
+ global___ListTrunkConnectionsResponse = ListTrunkConnectionsResponse
@@ -0,0 +1,107 @@
1
+ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT!
2
+ """Client and server classes corresponding to protobuf-defined services."""
3
+ import grpc
4
+
5
+ from yandex.cloud.cic.v1 import trunk_connection_pb2 as yandex_dot_cloud_dot_cic_dot_v1_dot_trunk__connection__pb2
6
+ from yandex.cloud.cic.v1 import trunk_connection_service_pb2 as yandex_dot_cloud_dot_cic_dot_v1_dot_trunk__connection__service__pb2
7
+
8
+
9
+ class TrunkConnectionServiceStub(object):
10
+ """A set of methods for managing TrunkConnection resources.
11
+ """
12
+
13
+ def __init__(self, channel):
14
+ """Constructor.
15
+
16
+ Args:
17
+ channel: A grpc.Channel.
18
+ """
19
+ self.Get = channel.unary_unary(
20
+ '/yandex.cloud.cic.v1.TrunkConnectionService/Get',
21
+ request_serializer=yandex_dot_cloud_dot_cic_dot_v1_dot_trunk__connection__service__pb2.GetTrunkConnectionRequest.SerializeToString,
22
+ response_deserializer=yandex_dot_cloud_dot_cic_dot_v1_dot_trunk__connection__pb2.TrunkConnection.FromString,
23
+ )
24
+ self.List = channel.unary_unary(
25
+ '/yandex.cloud.cic.v1.TrunkConnectionService/List',
26
+ request_serializer=yandex_dot_cloud_dot_cic_dot_v1_dot_trunk__connection__service__pb2.ListTrunkConnectionsRequest.SerializeToString,
27
+ response_deserializer=yandex_dot_cloud_dot_cic_dot_v1_dot_trunk__connection__service__pb2.ListTrunkConnectionsResponse.FromString,
28
+ )
29
+
30
+
31
+ class TrunkConnectionServiceServicer(object):
32
+ """A set of methods for managing TrunkConnection resources.
33
+ """
34
+
35
+ def Get(self, request, context):
36
+ """Returns the specified TrunkConnection resource.
37
+
38
+ To get the list of available TrunkConnection resources, make a [List] request.
39
+ """
40
+ context.set_code(grpc.StatusCode.UNIMPLEMENTED)
41
+ context.set_details('Method not implemented!')
42
+ raise NotImplementedError('Method not implemented!')
43
+
44
+ def List(self, request, context):
45
+ """Retrieves the list of TrunkConnection resources in the specified folder.
46
+ """
47
+ context.set_code(grpc.StatusCode.UNIMPLEMENTED)
48
+ context.set_details('Method not implemented!')
49
+ raise NotImplementedError('Method not implemented!')
50
+
51
+
52
+ def add_TrunkConnectionServiceServicer_to_server(servicer, server):
53
+ rpc_method_handlers = {
54
+ 'Get': grpc.unary_unary_rpc_method_handler(
55
+ servicer.Get,
56
+ request_deserializer=yandex_dot_cloud_dot_cic_dot_v1_dot_trunk__connection__service__pb2.GetTrunkConnectionRequest.FromString,
57
+ response_serializer=yandex_dot_cloud_dot_cic_dot_v1_dot_trunk__connection__pb2.TrunkConnection.SerializeToString,
58
+ ),
59
+ 'List': grpc.unary_unary_rpc_method_handler(
60
+ servicer.List,
61
+ request_deserializer=yandex_dot_cloud_dot_cic_dot_v1_dot_trunk__connection__service__pb2.ListTrunkConnectionsRequest.FromString,
62
+ response_serializer=yandex_dot_cloud_dot_cic_dot_v1_dot_trunk__connection__service__pb2.ListTrunkConnectionsResponse.SerializeToString,
63
+ ),
64
+ }
65
+ generic_handler = grpc.method_handlers_generic_handler(
66
+ 'yandex.cloud.cic.v1.TrunkConnectionService', rpc_method_handlers)
67
+ server.add_generic_rpc_handlers((generic_handler,))
68
+
69
+
70
+ # This class is part of an EXPERIMENTAL API.
71
+ class TrunkConnectionService(object):
72
+ """A set of methods for managing TrunkConnection resources.
73
+ """
74
+
75
+ @staticmethod
76
+ def Get(request,
77
+ target,
78
+ options=(),
79
+ channel_credentials=None,
80
+ call_credentials=None,
81
+ insecure=False,
82
+ compression=None,
83
+ wait_for_ready=None,
84
+ timeout=None,
85
+ metadata=None):
86
+ return grpc.experimental.unary_unary(request, target, '/yandex.cloud.cic.v1.TrunkConnectionService/Get',
87
+ yandex_dot_cloud_dot_cic_dot_v1_dot_trunk__connection__service__pb2.GetTrunkConnectionRequest.SerializeToString,
88
+ yandex_dot_cloud_dot_cic_dot_v1_dot_trunk__connection__pb2.TrunkConnection.FromString,
89
+ options, channel_credentials,
90
+ insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
91
+
92
+ @staticmethod
93
+ def List(request,
94
+ target,
95
+ options=(),
96
+ channel_credentials=None,
97
+ call_credentials=None,
98
+ insecure=False,
99
+ compression=None,
100
+ wait_for_ready=None,
101
+ timeout=None,
102
+ metadata=None):
103
+ return grpc.experimental.unary_unary(request, target, '/yandex.cloud.cic.v1.TrunkConnectionService/List',
104
+ yandex_dot_cloud_dot_cic_dot_v1_dot_trunk__connection__service__pb2.ListTrunkConnectionsRequest.SerializeToString,
105
+ yandex_dot_cloud_dot_cic_dot_v1_dot_trunk__connection__service__pb2.ListTrunkConnectionsResponse.FromString,
106
+ options, channel_credentials,
107
+ insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
@@ -0,0 +1,80 @@
1
+ """
2
+ @generated by mypy-protobuf. Do not edit manually!
3
+ isort:skip_file
4
+ """
5
+
6
+ import abc
7
+ import collections.abc
8
+ import grpc
9
+ import grpc.aio
10
+ import typing
11
+ import yandex.cloud.cic.v1.trunk_connection_pb2
12
+ import yandex.cloud.cic.v1.trunk_connection_service_pb2
13
+
14
+ _T = typing.TypeVar("_T")
15
+
16
+ class _MaybeAsyncIterator(collections.abc.AsyncIterator[_T], collections.abc.Iterator[_T], metaclass=abc.ABCMeta): ...
17
+
18
+ class _ServicerContext(grpc.ServicerContext, grpc.aio.ServicerContext): # type: ignore[misc, type-arg]
19
+ ...
20
+
21
+ class TrunkConnectionServiceStub:
22
+ """A set of methods for managing TrunkConnection resources."""
23
+
24
+ def __init__(self, channel: typing.Union[grpc.Channel, grpc.aio.Channel]) -> None: ...
25
+ Get: grpc.UnaryUnaryMultiCallable[
26
+ yandex.cloud.cic.v1.trunk_connection_service_pb2.GetTrunkConnectionRequest,
27
+ yandex.cloud.cic.v1.trunk_connection_pb2.TrunkConnection,
28
+ ]
29
+ """Returns the specified TrunkConnection resource.
30
+
31
+ To get the list of available TrunkConnection resources, make a [List] request.
32
+ """
33
+
34
+ List: grpc.UnaryUnaryMultiCallable[
35
+ yandex.cloud.cic.v1.trunk_connection_service_pb2.ListTrunkConnectionsRequest,
36
+ yandex.cloud.cic.v1.trunk_connection_service_pb2.ListTrunkConnectionsResponse,
37
+ ]
38
+ """Retrieves the list of TrunkConnection resources in the specified folder."""
39
+
40
+ class TrunkConnectionServiceAsyncStub:
41
+ """A set of methods for managing TrunkConnection resources."""
42
+
43
+ Get: grpc.aio.UnaryUnaryMultiCallable[
44
+ yandex.cloud.cic.v1.trunk_connection_service_pb2.GetTrunkConnectionRequest,
45
+ yandex.cloud.cic.v1.trunk_connection_pb2.TrunkConnection,
46
+ ]
47
+ """Returns the specified TrunkConnection resource.
48
+
49
+ To get the list of available TrunkConnection resources, make a [List] request.
50
+ """
51
+
52
+ List: grpc.aio.UnaryUnaryMultiCallable[
53
+ yandex.cloud.cic.v1.trunk_connection_service_pb2.ListTrunkConnectionsRequest,
54
+ yandex.cloud.cic.v1.trunk_connection_service_pb2.ListTrunkConnectionsResponse,
55
+ ]
56
+ """Retrieves the list of TrunkConnection resources in the specified folder."""
57
+
58
+ class TrunkConnectionServiceServicer(metaclass=abc.ABCMeta):
59
+ """A set of methods for managing TrunkConnection resources."""
60
+
61
+ @abc.abstractmethod
62
+ def Get(
63
+ self,
64
+ request: yandex.cloud.cic.v1.trunk_connection_service_pb2.GetTrunkConnectionRequest,
65
+ context: _ServicerContext,
66
+ ) -> typing.Union[yandex.cloud.cic.v1.trunk_connection_pb2.TrunkConnection, collections.abc.Awaitable[yandex.cloud.cic.v1.trunk_connection_pb2.TrunkConnection]]:
67
+ """Returns the specified TrunkConnection resource.
68
+
69
+ To get the list of available TrunkConnection resources, make a [List] request.
70
+ """
71
+
72
+ @abc.abstractmethod
73
+ def List(
74
+ self,
75
+ request: yandex.cloud.cic.v1.trunk_connection_service_pb2.ListTrunkConnectionsRequest,
76
+ context: _ServicerContext,
77
+ ) -> typing.Union[yandex.cloud.cic.v1.trunk_connection_service_pb2.ListTrunkConnectionsResponse, collections.abc.Awaitable[yandex.cloud.cic.v1.trunk_connection_service_pb2.ListTrunkConnectionsResponse]]:
78
+ """Retrieves the list of TrunkConnection resources in the specified folder."""
79
+
80
+ def add_TrunkConnectionServiceServicer_to_server(servicer: TrunkConnectionServiceServicer, server: typing.Union[grpc.Server, grpc.aio.Server]) -> None: ...
File without changes
File without changes
File without changes
@@ -0,0 +1,47 @@
1
+ # -*- coding: utf-8 -*-
2
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
3
+ # source: yandex/cloud/cloudapps/workload/v1/cloud_application.proto
4
+ """Generated protocol buffer code."""
5
+ from google.protobuf import descriptor as _descriptor
6
+ from google.protobuf import descriptor_pool as _descriptor_pool
7
+ from google.protobuf import symbol_database as _symbol_database
8
+ from google.protobuf.internal import builder as _builder
9
+ # @@protoc_insertion_point(imports)
10
+
11
+ _sym_db = _symbol_database.Default()
12
+
13
+
14
+ from yandex.cloud import validation_pb2 as yandex_dot_cloud_dot_validation__pb2
15
+
16
+
17
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n:yandex/cloud/cloudapps/workload/v1/cloud_application.proto\x12\"yandex.cloud.cloudapps.workload.v1\x1a\x1dyandex/cloud/validation.proto\"\x84\x05\n\x10\x43loudApplication\x12\x18\n\x02id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12Q\n\x06status\x18\x02 \x01(\x0e\x32;.yandex.cloud.cloudapps.workload.v1.CloudApplication.StatusB\x04\xe8\xc7\x31\x01\x12S\n\x07\x62illing\x18\x03 \x01(\x0b\x32<.yandex.cloud.cloudapps.workload.v1.CloudApplication.BillingB\x04\xe8\xc7\x31\x01\x1a\xe1\x02\n\x07\x42illing\x12\\\n\x04type\x18\x01 \x01(\x0e\x32H.yandex.cloud.cloudapps.workload.v1.CloudApplication.Billing.BillingTypeB\x04\xe8\xc7\x31\x01\x12`\n\rsubscriptions\x18\x02 \x03(\x0b\x32I.yandex.cloud.cloudapps.workload.v1.CloudApplication.Billing.Subscription\x1a\x44\n\x0cSubscription\x12\x19\n\x0binstance_id\x18\x01 \x01(\tB\x04\xe8\xc7\x31\x01\x12\x19\n\x0btemplate_id\x18\x02 \x01(\tB\x04\xe8\xc7\x31\x01\"P\n\x0b\x42illingType\x12\x1c\n\x18\x42ILLING_TYPE_UNSPECIFIED\x10\x00\x12\x11\n\rPAY_AS_YOU_GO\x10\x01\x12\x10\n\x0cSUBSCRIPTION\x10\x02\"J\n\x06Status\x12\x16\n\x12STATUS_UNSPECIFIED\x10\x00\x12\x0e\n\nPROCESSING\x10\x01\x12\x0c\n\x08\x44\x45PLOYED\x10\x02\x12\n\n\x06\x46\x41ILED\x10\x03\x42y\n&yandex.cloud.api.cloudapps.workload.v1ZOgithub.com/yandex-cloud/go-genproto/yandex/cloud/cloudapps/workload/v1;workloadb\x06proto3')
18
+
19
+ _globals = globals()
20
+ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
21
+ _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'yandex.cloud.cloudapps.workload.v1.cloud_application_pb2', _globals)
22
+ if _descriptor._USE_C_DESCRIPTORS == False:
23
+ DESCRIPTOR._options = None
24
+ DESCRIPTOR._serialized_options = b'\n&yandex.cloud.api.cloudapps.workload.v1ZOgithub.com/yandex-cloud/go-genproto/yandex/cloud/cloudapps/workload/v1;workload'
25
+ _CLOUDAPPLICATION_BILLING_SUBSCRIPTION.fields_by_name['instance_id']._options = None
26
+ _CLOUDAPPLICATION_BILLING_SUBSCRIPTION.fields_by_name['instance_id']._serialized_options = b'\350\3071\001'
27
+ _CLOUDAPPLICATION_BILLING_SUBSCRIPTION.fields_by_name['template_id']._options = None
28
+ _CLOUDAPPLICATION_BILLING_SUBSCRIPTION.fields_by_name['template_id']._serialized_options = b'\350\3071\001'
29
+ _CLOUDAPPLICATION_BILLING.fields_by_name['type']._options = None
30
+ _CLOUDAPPLICATION_BILLING.fields_by_name['type']._serialized_options = b'\350\3071\001'
31
+ _CLOUDAPPLICATION.fields_by_name['id']._options = None
32
+ _CLOUDAPPLICATION.fields_by_name['id']._serialized_options = b'\350\3071\001\212\3101\004<=50'
33
+ _CLOUDAPPLICATION.fields_by_name['status']._options = None
34
+ _CLOUDAPPLICATION.fields_by_name['status']._serialized_options = b'\350\3071\001'
35
+ _CLOUDAPPLICATION.fields_by_name['billing']._options = None
36
+ _CLOUDAPPLICATION.fields_by_name['billing']._serialized_options = b'\350\3071\001'
37
+ _globals['_CLOUDAPPLICATION']._serialized_start=130
38
+ _globals['_CLOUDAPPLICATION']._serialized_end=774
39
+ _globals['_CLOUDAPPLICATION_BILLING']._serialized_start=345
40
+ _globals['_CLOUDAPPLICATION_BILLING']._serialized_end=698
41
+ _globals['_CLOUDAPPLICATION_BILLING_SUBSCRIPTION']._serialized_start=548
42
+ _globals['_CLOUDAPPLICATION_BILLING_SUBSCRIPTION']._serialized_end=616
43
+ _globals['_CLOUDAPPLICATION_BILLING_BILLINGTYPE']._serialized_start=618
44
+ _globals['_CLOUDAPPLICATION_BILLING_BILLINGTYPE']._serialized_end=698
45
+ _globals['_CLOUDAPPLICATION_STATUS']._serialized_start=700
46
+ _globals['_CLOUDAPPLICATION_STATUS']._serialized_end=774
47
+ # @@protoc_insertion_point(module_scope)