yandexcloud 0.335.0__py3-none-any.whl → 0.337.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.

Files changed (196) hide show
  1. yandex/cloud/ai/assistants/v1/runs/run_service_pb2.py +11 -3
  2. yandex/cloud/ai/assistants/v1/runs/run_service_pb2.pyi +34 -0
  3. yandex/cloud/ai/assistants/v1/runs/run_service_pb2_grpc.py +45 -0
  4. yandex/cloud/ai/assistants/v1/runs/run_service_pb2_grpc.pyi +26 -0
  5. yandex/cloud/ai/dataset/v1/dataset_service_pb2.py +24 -24
  6. yandex/cloud/ai/dataset/v1/dataset_service_pb2.pyi +11 -1
  7. yandex/cloud/ai/foundation_models/v1/batch_inference_task_status_pb2.py +37 -0
  8. yandex/cloud/ai/foundation_models/v1/batch_inference_task_status_pb2.pyi +43 -0
  9. yandex/cloud/ai/foundation_models/v1/batch_inference_task_status_pb2_grpc.py +24 -0
  10. yandex/cloud/ai/foundation_models/v1/batch_inference_task_status_pb2_grpc.pyi +17 -0
  11. yandex/cloud/ai/foundation_models/v1/embedding/embedding_service_pb2.py +8 -7
  12. yandex/cloud/ai/foundation_models/v1/embedding/embedding_service_pb2.pyi +9 -1
  13. yandex/cloud/ai/foundation_models/v1/text_generation/text_generation_service_pb2.py +26 -15
  14. yandex/cloud/ai/foundation_models/v1/text_generation/text_generation_service_pb2.pyi +87 -0
  15. yandex/cloud/ai/foundation_models/v1/text_generation/text_generation_service_pb2_grpc.py +77 -0
  16. yandex/cloud/ai/foundation_models/v1/text_generation/text_generation_service_pb2_grpc.pyi +38 -0
  17. yandex/cloud/ai/tuning/v1/tuning_task_pb2.py +12 -5
  18. yandex/cloud/ai/tuning/v1/tuning_task_pb2.pyi +29 -1
  19. yandex/cloud/airflow/v1/cluster_pb2.py +36 -35
  20. yandex/cloud/airflow/v1/cluster_pb2.pyi +15 -2
  21. yandex/cloud/airflow/v1/cluster_service_pb2.py +42 -41
  22. yandex/cloud/airflow/v1/cluster_service_pb2.pyi +17 -4
  23. yandex/cloud/airflow/v1/maintenance_pb2.py +53 -0
  24. yandex/cloud/airflow/v1/maintenance_pb2.pyi +123 -0
  25. yandex/cloud/airflow/v1/maintenance_pb2_grpc.py +24 -0
  26. yandex/cloud/airflow/v1/maintenance_pb2_grpc.pyi +17 -0
  27. yandex/cloud/cic/v1/common/lag_allocation_settings_pb2.py +4 -4
  28. yandex/cloud/cic/v1/common/lag_allocation_settings_pb2.pyi +3 -9
  29. yandex/cloud/cic/v1/trunk_connection_pb2.py +5 -5
  30. yandex/cloud/cic/v1/trunk_connection_pb2.pyi +2 -0
  31. yandex/cloud/cic/v1/trunk_connection_service_pb2.py +36 -35
  32. yandex/cloud/cic/v1/trunk_connection_service_pb2.pyi +9 -1
  33. yandex/cloud/iot/devices/v1/device_pb2.py +18 -14
  34. yandex/cloud/iot/devices/v1/device_pb2.pyi +29 -3
  35. yandex/cloud/iot/devices/v1/device_service_pb2.py +65 -53
  36. yandex/cloud/iot/devices/v1/device_service_pb2.pyi +46 -2
  37. yandex/cloud/loadbalancer/v1/network_load_balancer_pb2.py +22 -22
  38. yandex/cloud/loadbalancer/v1/network_load_balancer_pb2.pyi +5 -1
  39. yandex/cloud/loadbalancer/v1/network_load_balancer_service_pb2.py +56 -56
  40. yandex/cloud/loadbalancer/v1/network_load_balancer_service_pb2.pyi +10 -2
  41. yandex/cloud/loadtesting/agent/v1/test_pb2.py +5 -5
  42. yandex/cloud/loadtesting/agent/v1/test_pb2.pyi +2 -0
  43. yandex/cloud/loadtesting/api/v1/test/status_pb2.py +2 -2
  44. yandex/cloud/loadtesting/api/v1/test/status_pb2.pyi +6 -2
  45. yandex/cloud/lockbox/v1/secret_service_pb2.py +46 -50
  46. yandex/cloud/marketplace/licensemanager/saas/v1/instance_service_pb2.py +12 -5
  47. yandex/cloud/marketplace/licensemanager/saas/v1/instance_service_pb2.pyi +16 -0
  48. yandex/cloud/marketplace/licensemanager/saas/v1/instance_service_pb2_grpc.py +45 -0
  49. yandex/cloud/marketplace/licensemanager/saas/v1/instance_service_pb2_grpc.pyi +21 -0
  50. yandex/cloud/marketplace/licensemanager/v1/user_info_pb2.py +37 -0
  51. yandex/cloud/marketplace/licensemanager/v1/user_info_pb2.pyi +39 -0
  52. yandex/cloud/marketplace/licensemanager/v1/user_info_pb2_grpc.py +24 -0
  53. yandex/cloud/marketplace/licensemanager/v1/user_info_pb2_grpc.pyi +17 -0
  54. yandex/cloud/mdb/clickhouse/v1/cluster_service_pb2.py +170 -170
  55. yandex/cloud/mdb/clickhouse/v1/cluster_service_pb2.pyi +14 -2
  56. yandex/cloud/mdb/clickhouse/v1/config/clickhouse_pb2.py +74 -70
  57. yandex/cloud/mdb/clickhouse/v1/config/clickhouse_pb2.pyi +151 -5
  58. yandex/cloud/mdb/clickhouse/v1/user_pb2.py +32 -28
  59. yandex/cloud/mdb/clickhouse/v1/user_pb2.pyi +198 -10
  60. yandex/cloud/mdb/kafka/v1/user_pb2.py +4 -4
  61. yandex/cloud/mdb/kafka/v1/user_pb2.pyi +4 -0
  62. yandex/cloud/mdb/redis/v1/cluster_pb2.py +23 -23
  63. yandex/cloud/mdb/redis/v1/cluster_pb2.pyi +4 -0
  64. yandex/cloud/mdb/redis/v1/config/redis_pb2.py +10 -8
  65. yandex/cloud/mdb/redis/v1/config/redis_pb2.pyi +14 -2
  66. yandex/cloud/mdb/spqr/__init__.py +0 -0
  67. yandex/cloud/mdb/spqr/v1/__init__.py +0 -0
  68. yandex/cloud/mdb/spqr/v1/backup_pb2.py +40 -0
  69. yandex/cloud/mdb/spqr/v1/backup_pb2.pyi +97 -0
  70. yandex/cloud/mdb/spqr/v1/backup_pb2_grpc.py +24 -0
  71. yandex/cloud/mdb/spqr/v1/backup_pb2_grpc.pyi +17 -0
  72. yandex/cloud/mdb/spqr/v1/backup_service_pb2.py +68 -0
  73. yandex/cloud/mdb/spqr/v1/backup_service_pb2.pyi +121 -0
  74. yandex/cloud/mdb/spqr/v1/backup_service_pb2_grpc.py +193 -0
  75. yandex/cloud/mdb/spqr/v1/backup_service_pb2_grpc.pyi +101 -0
  76. yandex/cloud/mdb/spqr/v1/cluster_pb2.py +58 -0
  77. yandex/cloud/mdb/spqr/v1/cluster_pb2.pyi +330 -0
  78. yandex/cloud/mdb/spqr/v1/cluster_pb2_grpc.py +24 -0
  79. yandex/cloud/mdb/spqr/v1/cluster_pb2_grpc.pyi +17 -0
  80. yandex/cloud/mdb/spqr/v1/cluster_service_pb2.py +403 -0
  81. yandex/cloud/mdb/spqr/v1/cluster_service_pb2.pyi +1790 -0
  82. yandex/cloud/mdb/spqr/v1/cluster_service_pb2_grpc.py +1250 -0
  83. yandex/cloud/mdb/spqr/v1/cluster_service_pb2_grpc.pyi +588 -0
  84. yandex/cloud/mdb/spqr/v1/config_pb2.py +65 -0
  85. yandex/cloud/mdb/spqr/v1/config_pb2.pyi +341 -0
  86. yandex/cloud/mdb/spqr/v1/config_pb2_grpc.py +24 -0
  87. yandex/cloud/mdb/spqr/v1/config_pb2_grpc.pyi +17 -0
  88. yandex/cloud/mdb/spqr/v1/database_pb2.py +42 -0
  89. yandex/cloud/mdb/spqr/v1/database_pb2.pyi +51 -0
  90. yandex/cloud/mdb/spqr/v1/database_pb2_grpc.py +24 -0
  91. yandex/cloud/mdb/spqr/v1/database_pb2_grpc.pyi +17 -0
  92. yandex/cloud/mdb/spqr/v1/database_service_pb2.py +94 -0
  93. yandex/cloud/mdb/spqr/v1/database_service_pb2.pyi +219 -0
  94. yandex/cloud/mdb/spqr/v1/database_service_pb2_grpc.py +281 -0
  95. yandex/cloud/mdb/spqr/v1/database_service_pb2_grpc.pyi +141 -0
  96. yandex/cloud/mdb/spqr/v1/host_pb2.py +69 -0
  97. yandex/cloud/mdb/spqr/v1/host_pb2.pyi +394 -0
  98. yandex/cloud/mdb/spqr/v1/host_pb2_grpc.py +24 -0
  99. yandex/cloud/mdb/spqr/v1/host_pb2_grpc.pyi +17 -0
  100. yandex/cloud/mdb/spqr/v1/maintenance_pb2.py +53 -0
  101. yandex/cloud/mdb/spqr/v1/maintenance_pb2.pyi +137 -0
  102. yandex/cloud/mdb/spqr/v1/maintenance_pb2_grpc.py +24 -0
  103. yandex/cloud/mdb/spqr/v1/maintenance_pb2_grpc.pyi +17 -0
  104. yandex/cloud/mdb/spqr/v1/resource_preset_pb2.py +37 -0
  105. yandex/cloud/mdb/spqr/v1/resource_preset_pb2.pyi +45 -0
  106. yandex/cloud/mdb/spqr/v1/resource_preset_pb2_grpc.py +24 -0
  107. yandex/cloud/mdb/spqr/v1/resource_preset_pb2_grpc.pyi +17 -0
  108. yandex/cloud/mdb/spqr/v1/resource_preset_service_pb2.py +56 -0
  109. yandex/cloud/mdb/spqr/v1/resource_preset_service_pb2.pyi +84 -0
  110. yandex/cloud/mdb/spqr/v1/resource_preset_service_pb2_grpc.py +148 -0
  111. yandex/cloud/mdb/spqr/v1/resource_preset_service_pb2_grpc.pyi +80 -0
  112. yandex/cloud/mdb/spqr/v1/shard_pb2.py +37 -0
  113. yandex/cloud/mdb/spqr/v1/shard_pb2.pyi +31 -0
  114. yandex/cloud/mdb/spqr/v1/shard_pb2_grpc.py +24 -0
  115. yandex/cloud/mdb/spqr/v1/shard_pb2_grpc.pyi +17 -0
  116. yandex/cloud/mdb/spqr/v1/user_pb2.py +53 -0
  117. yandex/cloud/mdb/spqr/v1/user_pb2.pyi +133 -0
  118. yandex/cloud/mdb/spqr/v1/user_pb2_grpc.py +24 -0
  119. yandex/cloud/mdb/spqr/v1/user_pb2_grpc.pyi +17 -0
  120. yandex/cloud/mdb/spqr/v1/user_service_pb2.py +107 -0
  121. yandex/cloud/mdb/spqr/v1/user_service_pb2.pyi +293 -0
  122. yandex/cloud/mdb/spqr/v1/user_service_pb2_grpc.py +325 -0
  123. yandex/cloud/mdb/spqr/v1/user_service_pb2_grpc.pyi +161 -0
  124. yandex/cloud/monitoring/v3/dashboard_pb2.py +6 -5
  125. yandex/cloud/monitoring/v3/dashboard_pb2.pyi +9 -2
  126. yandex/cloud/monitoring/v3/dashboard_service_pb2.py +30 -29
  127. yandex/cloud/monitoring/v3/dashboard_service_pb2.pyi +17 -4
  128. yandex/cloud/monitoring/v3/timeline_pb2.py +37 -0
  129. yandex/cloud/monitoring/v3/timeline_pb2.pyi +31 -0
  130. yandex/cloud/monitoring/v3/timeline_pb2_grpc.py +24 -0
  131. yandex/cloud/monitoring/v3/timeline_pb2_grpc.pyi +17 -0
  132. yandex/cloud/searchapi/v2/gen_search_service_pb2.py +83 -0
  133. yandex/cloud/searchapi/v2/gen_search_service_pb2.pyi +297 -0
  134. yandex/cloud/searchapi/v2/gen_search_service_pb2_grpc.py +100 -0
  135. yandex/cloud/searchapi/v2/gen_search_service_pb2_grpc.pyi +47 -0
  136. yandex/cloud/searchapi/v2/search_service_pb2.py +16 -12
  137. yandex/cloud/serverless/eventrouter/v1/bus_pb2.py +17 -7
  138. yandex/cloud/serverless/eventrouter/v1/bus_pb2.pyi +46 -2
  139. yandex/cloud/serverless/eventrouter/v1/bus_service_pb2.py +22 -22
  140. yandex/cloud/serverless/eventrouter/v1/bus_service_pb2.pyi +24 -3
  141. yandex/cloud/storage/v1/s3api_pb2.py +7 -1
  142. yandex/cloud/storage/v1/s3api_pb2.pyi +128 -1
  143. yandex/cloud/video/v1/channel_pb2.py +16 -5
  144. yandex/cloud/video/v1/channel_pb2.pyi +103 -2
  145. yandex/cloud/video/v1/channel_service_pb2.py +34 -30
  146. yandex/cloud/video/v1/channel_service_pb2.pyi +27 -10
  147. yandex/cloud/video/v1/channel_service_pb2_grpc.py +4 -4
  148. yandex/cloud/video/v1/channel_service_pb2_grpc.pyi +12 -12
  149. yandex/cloud/video/v1/episode_pb2.pyi +5 -4
  150. yandex/cloud/video/v1/episode_service_pb2.py +56 -52
  151. yandex/cloud/video/v1/episode_service_pb2.pyi +18 -12
  152. yandex/cloud/video/v1/episode_service_pb2_grpc.py +4 -4
  153. yandex/cloud/video/v1/episode_service_pb2_grpc.pyi +12 -12
  154. yandex/cloud/video/v1/playlist_service_pb2.py +34 -30
  155. yandex/cloud/video/v1/playlist_service_pb2.pyi +11 -6
  156. yandex/cloud/video/v1/playlist_service_pb2_grpc.py +3 -3
  157. yandex/cloud/video/v1/playlist_service_pb2_grpc.pyi +9 -9
  158. yandex/cloud/video/v1/stream_line_pb2.py +16 -24
  159. yandex/cloud/video/v1/stream_line_pb2.pyi +34 -108
  160. yandex/cloud/video/v1/stream_line_service_pb2.py +60 -70
  161. yandex/cloud/video/v1/stream_line_service_pb2.pyi +17 -119
  162. yandex/cloud/video/v1/stream_line_service_pb2_grpc.py +3 -3
  163. yandex/cloud/video/v1/stream_line_service_pb2_grpc.pyi +9 -9
  164. yandex/cloud/video/v1/stream_pb2.py +12 -11
  165. yandex/cloud/video/v1/stream_pb2.pyi +19 -6
  166. yandex/cloud/video/v1/stream_service_pb2.py +54 -49
  167. yandex/cloud/video/v1/stream_service_pb2.pyi +34 -13
  168. yandex/cloud/video/v1/stream_service_pb2_grpc.py +2 -2
  169. yandex/cloud/video/v1/stream_service_pb2_grpc.pyi +6 -6
  170. yandex/cloud/video/v1/subtitle_pb2.py +6 -4
  171. yandex/cloud/video/v1/subtitle_pb2.pyi +30 -2
  172. yandex/cloud/video/v1/subtitle_service_pb2.py +21 -21
  173. yandex/cloud/video/v1/subtitle_service_pb2.pyi +7 -5
  174. yandex/cloud/video/v1/subtitle_service_pb2_grpc.py +1 -1
  175. yandex/cloud/video/v1/subtitle_service_pb2_grpc.pyi +3 -3
  176. yandex/cloud/video/v1/thumbnail_service_pb2.py +29 -25
  177. yandex/cloud/video/v1/thumbnail_service_pb2.pyi +68 -6
  178. yandex/cloud/video/v1/thumbnail_service_pb2_grpc.py +3 -3
  179. yandex/cloud/video/v1/thumbnail_service_pb2_grpc.pyi +9 -9
  180. yandex/cloud/video/v1/video_pb2.py +26 -19
  181. yandex/cloud/video/v1/video_pb2.pyi +139 -37
  182. yandex/cloud/video/v1/video_service_pb2.py +118 -69
  183. yandex/cloud/video/v1/video_service_pb2.pyi +297 -39
  184. yandex/cloud/video/v1/video_service_pb2_grpc.py +50 -6
  185. yandex/cloud/video/v1/video_service_pb2_grpc.pyi +38 -18
  186. yandex/cloud/ydb/v1/database_pb2.py +46 -46
  187. yandex/cloud/ydb/v1/database_pb2.pyi +10 -2
  188. yandex/cloud/ydb/v1/database_service_pb2.py +18 -18
  189. yandex/cloud/ydb/v1/database_service_pb2.pyi +10 -2
  190. yandexcloud/__init__.py +1 -1
  191. {yandexcloud-0.335.0.dist-info → yandexcloud-0.337.0.dist-info}/METADATA +1 -1
  192. {yandexcloud-0.335.0.dist-info → yandexcloud-0.337.0.dist-info}/RECORD +196 -118
  193. {yandexcloud-0.335.0.dist-info → yandexcloud-0.337.0.dist-info}/WHEEL +1 -1
  194. {yandexcloud-0.335.0.dist-info → yandexcloud-0.337.0.dist-info}/AUTHORS +0 -0
  195. {yandexcloud-0.335.0.dist-info → yandexcloud-0.337.0.dist-info}/LICENSE +0 -0
  196. {yandexcloud-0.335.0.dist-info → yandexcloud-0.337.0.dist-info}/top_level.txt +0 -0
@@ -88,6 +88,22 @@ class Device(google.protobuf.message.Message):
88
88
  ) -> None: ...
89
89
  def ClearField(self, field_name: typing.Literal["key", b"key", "value", b"value"]) -> None: ...
90
90
 
91
+ @typing.final
92
+ class LabelsEntry(google.protobuf.message.Message):
93
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
94
+
95
+ KEY_FIELD_NUMBER: builtins.int
96
+ VALUE_FIELD_NUMBER: builtins.int
97
+ key: builtins.str
98
+ value: builtins.str
99
+ def __init__(
100
+ self,
101
+ *,
102
+ key: builtins.str = ...,
103
+ value: builtins.str = ...,
104
+ ) -> None: ...
105
+ def ClearField(self, field_name: typing.Literal["key", b"key", "value", b"value"]) -> None: ...
106
+
91
107
  ID_FIELD_NUMBER: builtins.int
92
108
  REGISTRY_ID_FIELD_NUMBER: builtins.int
93
109
  CREATED_AT_FIELD_NUMBER: builtins.int
@@ -96,6 +112,7 @@ class Device(google.protobuf.message.Message):
96
112
  TOPIC_ALIASES_FIELD_NUMBER: builtins.int
97
113
  STATUS_FIELD_NUMBER: builtins.int
98
114
  MONITORING_DATA_FIELD_NUMBER: builtins.int
115
+ LABELS_FIELD_NUMBER: builtins.int
99
116
  id: builtins.str
100
117
  """ID of the device."""
101
118
  registry_id: builtins.str
@@ -121,6 +138,10 @@ class Device(google.protobuf.message.Message):
121
138
  def monitoring_data(self) -> global___DeviceMonitoringData:
122
139
  """Device monitoring data, returns if FULL view specified."""
123
140
 
141
+ @property
142
+ def labels(self) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]:
143
+ """Resource labels as `key:value` pairs. Maximum of 64 per resource."""
144
+
124
145
  def __init__(
125
146
  self,
126
147
  *,
@@ -132,9 +153,10 @@ class Device(google.protobuf.message.Message):
132
153
  topic_aliases: collections.abc.Mapping[builtins.str, builtins.str] | None = ...,
133
154
  status: global___Device.Status.ValueType = ...,
134
155
  monitoring_data: global___DeviceMonitoringData | None = ...,
156
+ labels: collections.abc.Mapping[builtins.str, builtins.str] | None = ...,
135
157
  ) -> None: ...
136
158
  def HasField(self, field_name: typing.Literal["created_at", b"created_at", "monitoring_data", b"monitoring_data"]) -> builtins.bool: ...
137
- def ClearField(self, field_name: typing.Literal["created_at", b"created_at", "description", b"description", "id", b"id", "monitoring_data", b"monitoring_data", "name", b"name", "registry_id", b"registry_id", "status", b"status", "topic_aliases", b"topic_aliases"]) -> None: ...
159
+ def ClearField(self, field_name: typing.Literal["created_at", b"created_at", "description", b"description", "id", b"id", "labels", b"labels", "monitoring_data", b"monitoring_data", "name", b"name", "registry_id", b"registry_id", "status", b"status", "topic_aliases", b"topic_aliases"]) -> None: ...
138
160
 
139
161
  global___Device = Device
140
162
 
@@ -209,6 +231,7 @@ class DeviceMonitoringData(google.protobuf.message.Message):
209
231
  LAST_PUB_ACTIVITY_TIME_FIELD_NUMBER: builtins.int
210
232
  LAST_SUB_ACTIVITY_TIME_FIELD_NUMBER: builtins.int
211
233
  LAST_ONLINE_TIME_FIELD_NUMBER: builtins.int
234
+ LAST_DISCONNECT_TIME_FIELD_NUMBER: builtins.int
212
235
  last_auth_ip: builtins.str
213
236
  @property
214
237
  def last_auth_time(self) -> google.protobuf.timestamp_pb2.Timestamp: ...
@@ -218,6 +241,8 @@ class DeviceMonitoringData(google.protobuf.message.Message):
218
241
  def last_sub_activity_time(self) -> google.protobuf.timestamp_pb2.Timestamp: ...
219
242
  @property
220
243
  def last_online_time(self) -> google.protobuf.timestamp_pb2.Timestamp: ...
244
+ @property
245
+ def last_disconnect_time(self) -> google.protobuf.timestamp_pb2.Timestamp: ...
221
246
  def __init__(
222
247
  self,
223
248
  *,
@@ -226,8 +251,9 @@ class DeviceMonitoringData(google.protobuf.message.Message):
226
251
  last_pub_activity_time: google.protobuf.timestamp_pb2.Timestamp | None = ...,
227
252
  last_sub_activity_time: google.protobuf.timestamp_pb2.Timestamp | None = ...,
228
253
  last_online_time: google.protobuf.timestamp_pb2.Timestamp | None = ...,
254
+ last_disconnect_time: google.protobuf.timestamp_pb2.Timestamp | None = ...,
229
255
  ) -> None: ...
230
- def HasField(self, field_name: typing.Literal["last_auth_time", b"last_auth_time", "last_online_time", b"last_online_time", "last_pub_activity_time", b"last_pub_activity_time", "last_sub_activity_time", b"last_sub_activity_time"]) -> builtins.bool: ...
231
- def ClearField(self, field_name: typing.Literal["last_auth_ip", b"last_auth_ip", "last_auth_time", b"last_auth_time", "last_online_time", b"last_online_time", "last_pub_activity_time", b"last_pub_activity_time", "last_sub_activity_time", b"last_sub_activity_time"]) -> None: ...
256
+ def HasField(self, field_name: typing.Literal["last_auth_time", b"last_auth_time", "last_disconnect_time", b"last_disconnect_time", "last_online_time", b"last_online_time", "last_pub_activity_time", b"last_pub_activity_time", "last_sub_activity_time", b"last_sub_activity_time"]) -> builtins.bool: ...
257
+ def ClearField(self, field_name: typing.Literal["last_auth_ip", b"last_auth_ip", "last_auth_time", b"last_auth_time", "last_disconnect_time", b"last_disconnect_time", "last_online_time", b"last_online_time", "last_pub_activity_time", b"last_pub_activity_time", "last_sub_activity_time", b"last_sub_activity_time"]) -> None: ...
232
258
 
233
259
  global___DeviceMonitoringData = DeviceMonitoringData
@@ -30,7 +30,7 @@ from yandex.cloud.operation import operation_pb2 as yandex_dot_cloud_dot_operati
30
30
  from yandex.cloud import validation_pb2 as yandex_dot_cloud_dot_validation__pb2
31
31
 
32
32
 
33
- DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n0yandex/cloud/iot/devices/v1/device_service.proto\x12\x1byandex.cloud.iot.devices.v1\x1a\x1cgoogle/api/annotations.proto\x1a google/protobuf/field_mask.proto\x1a yandex/cloud/api/operation.proto\x1a(yandex/cloud/iot/devices/v1/device.proto\x1a&yandex/cloud/operation/operation.proto\x1a\x1dyandex/cloud/validation.proto\"q\n\x10GetDeviceRequest\x12\x1f\n\tdevice_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12<\n\x0b\x64\x65vice_view\x18\x02 \x01(\x0e\x32\'.yandex.cloud.iot.devices.v1.DeviceView\"\xae\x01\n\x16GetByNameDeviceRequest\x12!\n\x0bregistry_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12\x33\n\x0b\x64\x65vice_name\x18\x02 \x01(\tB\x1e\xe8\xc7\x31\x01\xf2\xc7\x31\x0e[a-zA-Z0-9_-]*\x8a\xc8\x31\x04<=50\x12<\n\x0b\x64\x65vice_view\x18\x03 \x01(\x0e\x32\'.yandex.cloud.iot.devices.v1.DeviceView\"\xdc\x01\n\x12ListDevicesRequest\x12\x1f\n\x0bregistry_id\x18\x01 \x01(\tB\x08\x8a\xc8\x31\x04<=50H\x00\x12\x1d\n\tfolder_id\x18\x02 \x01(\tB\x08\x8a\xc8\x31\x04<=50H\x00\x12\x1d\n\tpage_size\x18\x03 \x01(\x03\x42\n\xfa\xc7\x31\x06\x30-1000\x12\x1d\n\npage_token\x18\x04 \x01(\tB\t\x8a\xc8\x31\x05<=100\x12<\n\x0b\x64\x65vice_view\x18\x05 \x01(\x0e\x32\'.yandex.cloud.iot.devices.v1.DeviceViewB\n\n\x02id\x12\x04\xc0\xc1\x31\x01\"d\n\x13ListDevicesResponse\x12\x34\n\x07\x64\x65vices\x18\x01 \x03(\x0b\x32#.yandex.cloud.iot.devices.v1.Device\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\xa5\x03\n\x13\x43reateDeviceRequest\x12!\n\x0bregistry_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12,\n\x04name\x18\x02 \x01(\tB\x1e\xe8\xc7\x31\x01\xf2\xc7\x31\x0e[a-zA-Z0-9_-]*\x8a\xc8\x31\x04<=50\x12\x1e\n\x0b\x64\x65scription\x18\x03 \x01(\tB\t\x8a\xc8\x31\x05<=256\x12R\n\x0c\x63\x65rtificates\x18\x04 \x03(\x0b\x32<.yandex.cloud.iot.devices.v1.CreateDeviceRequest.Certificate\x12Y\n\rtopic_aliases\x18\x05 \x03(\x0b\x32\x42.yandex.cloud.iot.devices.v1.CreateDeviceRequest.TopicAliasesEntry\x12\x10\n\x08password\x18\x06 \x01(\t\x1a\x33\n\x11TopicAliasesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a\'\n\x0b\x43\x65rtificate\x12\x18\n\x10\x63\x65rtificate_data\x18\x01 \x01(\t\")\n\x14\x43reateDeviceMetadata\x12\x11\n\tdevice_id\x18\x01 \x01(\t\"\xc1\x02\n\x13UpdateDeviceRequest\x12\x1f\n\tdevice_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(\n\x04name\x18\x03 \x01(\tB\x1a\xf2\xc7\x31\x0e[a-zA-Z0-9_-]*\x8a\xc8\x31\x04<=50\x12\x1e\n\x0b\x64\x65scription\x18\x04 \x01(\tB\t\x8a\xc8\x31\x05<=256\x12Y\n\rtopic_aliases\x18\x05 \x03(\x0b\x32\x42.yandex.cloud.iot.devices.v1.UpdateDeviceRequest.TopicAliasesEntry\x1a\x33\n\x11TopicAliasesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\")\n\x14UpdateDeviceMetadata\x12\x11\n\tdevice_id\x18\x01 \x01(\t\"6\n\x13\x44\x65leteDeviceRequest\x12\x1f\n\tdevice_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\")\n\x14\x44\x65leteDeviceMetadata\x12\x11\n\tdevice_id\x18\x01 \x01(\t\"@\n\x1dListDeviceCertificatesRequest\x12\x1f\n\tdevice_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\"f\n\x1eListDeviceCertificatesResponse\x12\x44\n\x0c\x63\x65rtificates\x18\x01 \x03(\x0b\x32..yandex.cloud.iot.devices.v1.DeviceCertificate\"^\n\x1b\x41\x64\x64\x44\x65viceCertificateRequest\x12\x1f\n\tdevice_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12\x18\n\x10\x63\x65rtificate_data\x18\x03 \x01(\tJ\x04\x08\x02\x10\x03\"F\n\x1c\x41\x64\x64\x44\x65viceCertificateMetadata\x12\x11\n\tdevice_id\x18\x01 \x01(\t\x12\x13\n\x0b\x66ingerprint\x18\x02 \x01(\t\"d\n\x1e\x44\x65leteDeviceCertificateRequest\x12\x1f\n\tdevice_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12!\n\x0b\x66ingerprint\x18\x02 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\"e\n\x1f\x44\x65leteDeviceCertificateMetadata\x12\x1f\n\tdevice_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12!\n\x0b\x66ingerprint\x18\x02 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\"=\n\x1aListDevicePasswordsRequest\x12\x1f\n\tdevice_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\"]\n\x1bListDevicePasswordsResponse\x12>\n\tpasswords\x18\x01 \x03(\x0b\x32+.yandex.cloud.iot.devices.v1.DevicePassword\"W\n\x18\x41\x64\x64\x44\x65vicePasswordRequest\x12\x1f\n\tdevice_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12\x1a\n\x08password\x18\x02 \x01(\tB\x08\x8a\xc8\x31\x04>=14\"C\n\x19\x41\x64\x64\x44\x65vicePasswordMetadata\x12\x11\n\tdevice_id\x18\x01 \x01(\t\x12\x13\n\x0bpassword_id\x18\x02 \x01(\t\"a\n\x1b\x44\x65leteDevicePasswordRequest\x12\x1f\n\tdevice_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12!\n\x0bpassword_id\x18\x02 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\"b\n\x1c\x44\x65leteDevicePasswordMetadata\x12\x1f\n\tdevice_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12!\n\x0bpassword_id\x18\x02 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\"\x90\x01\n\x1bListDeviceOperationsRequest\x12\x17\n\tdevice_id\x18\x01 \x01(\tB\x04\xe8\xc7\x31\x01\x12\x1d\n\tpage_size\x18\x02 \x01(\x03\x42\n\xfa\xc7\x31\x06\x30-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\"n\n\x1cListDeviceOperationsResponse\x12\x35\n\noperations\x18\x01 \x03(\x0b\x32!.yandex.cloud.operation.Operation\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t2\xb0\x13\n\rDeviceService\x12\x86\x01\n\x03Get\x12-.yandex.cloud.iot.devices.v1.GetDeviceRequest\x1a#.yandex.cloud.iot.devices.v1.Device\"+\x82\xd3\xe4\x93\x02%\x12#/iot-devices/v1/devices/{device_id}\x12\x90\x01\n\tGetByName\x12\x33.yandex.cloud.iot.devices.v1.GetByNameDeviceRequest\x1a#.yandex.cloud.iot.devices.v1.Device\")\x82\xd3\xe4\x93\x02#\x12!/iot-devices/v1/devices:getByName\x12\x8a\x01\n\x04List\x12/.yandex.cloud.iot.devices.v1.ListDevicesRequest\x1a\x30.yandex.cloud.iot.devices.v1.ListDevicesResponse\"\x1f\x82\xd3\xe4\x93\x02\x19\x12\x17/iot-devices/v1/devices\x12\xa3\x01\n\x06\x43reate\x12\x30.yandex.cloud.iot.devices.v1.CreateDeviceRequest\x1a!.yandex.cloud.operation.Operation\"D\xb2\xd2*\x1e\n\x14\x43reateDeviceMetadata\x12\x06\x44\x65vice\x82\xd3\xe4\x93\x02\x1c\"\x17/iot-devices/v1/devices:\x01*\x12\xaf\x01\n\x06Update\x12\x30.yandex.cloud.iot.devices.v1.UpdateDeviceRequest\x1a!.yandex.cloud.operation.Operation\"P\xb2\xd2*\x1e\n\x14UpdateDeviceMetadata\x12\x06\x44\x65vice\x82\xd3\xe4\x93\x02(2#/iot-devices/v1/devices/{device_id}:\x01*\x12\xbb\x01\n\x06\x44\x65lete\x12\x30.yandex.cloud.iot.devices.v1.DeleteDeviceRequest\x1a!.yandex.cloud.operation.Operation\"\\\xb2\xd2*-\n\x14\x44\x65leteDeviceMetadata\x12\x15google.protobuf.Empty\x82\xd3\xe4\x93\x02%*#/iot-devices/v1/devices/{device_id}\x12\xc5\x01\n\x10ListCertificates\x12:.yandex.cloud.iot.devices.v1.ListDeviceCertificatesRequest\x1a;.yandex.cloud.iot.devices.v1.ListDeviceCertificatesResponse\"8\x82\xd3\xe4\x93\x02\x32\x12\x30/iot-devices/v1/devices/{device_id}/certificates\x12\xdf\x01\n\x0e\x41\x64\x64\x43\x65rtificate\x12\x38.yandex.cloud.iot.devices.v1.AddDeviceCertificateRequest\x1a!.yandex.cloud.operation.Operation\"p\xb2\xd2*1\n\x1c\x41\x64\x64\x44\x65viceCertificateMetadata\x12\x11\x44\x65viceCertificate\x82\xd3\xe4\x93\x02\x35\"0/iot-devices/v1/devices/{device_id}/certificates:\x01*\x12\xf8\x01\n\x11\x44\x65leteCertificate\x12;.yandex.cloud.iot.devices.v1.DeleteDeviceCertificateRequest\x1a!.yandex.cloud.operation.Operation\"\x82\x01\xb2\xd2*8\n\x1f\x44\x65leteDeviceCertificateMetadata\x12\x15google.protobuf.Empty\x82\xd3\xe4\x93\x02@*>/iot-devices/v1/devices/{device_id}/certificates/{fingerprint}\x12\xb9\x01\n\rListPasswords\x12\x37.yandex.cloud.iot.devices.v1.ListDevicePasswordsRequest\x1a\x38.yandex.cloud.iot.devices.v1.ListDevicePasswordsResponse\"5\x82\xd3\xe4\x93\x02/\x12-/iot-devices/v1/devices/{device_id}/passwords\x12\xd0\x01\n\x0b\x41\x64\x64Password\x12\x35.yandex.cloud.iot.devices.v1.AddDevicePasswordRequest\x1a!.yandex.cloud.operation.Operation\"g\xb2\xd2*+\n\x19\x41\x64\x64\x44\x65vicePasswordMetadata\x12\x0e\x44\x65vicePassword\x82\xd3\xe4\x93\x02\x32\"-/iot-devices/v1/devices/{device_id}/passwords:\x01*\x12\xeb\x01\n\x0e\x44\x65letePassword\x12\x38.yandex.cloud.iot.devices.v1.DeleteDevicePasswordRequest\x1a!.yandex.cloud.operation.Operation\"|\xb2\xd2*5\n\x1c\x44\x65leteDevicePasswordMetadata\x12\x15google.protobuf.Empty\x82\xd3\xe4\x93\x02=*;/iot-devices/v1/devices/{device_id}/passwords/{password_id}\x12\xbd\x01\n\x0eListOperations\x12\x38.yandex.cloud.iot.devices.v1.ListDeviceOperationsRequest\x1a\x39.yandex.cloud.iot.devices.v1.ListDeviceOperationsResponse\"6\x82\xd3\xe4\x93\x02\x30\x12./iot-devices/v1/devices/{device_id}/operationsBj\n\x1fyandex.cloud.api.iot.devices.v1ZGgithub.com/yandex-cloud/go-genproto/yandex/cloud/iot/devices/v1;devicesb\x06proto3')
33
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n0yandex/cloud/iot/devices/v1/device_service.proto\x12\x1byandex.cloud.iot.devices.v1\x1a\x1cgoogle/api/annotations.proto\x1a google/protobuf/field_mask.proto\x1a yandex/cloud/api/operation.proto\x1a(yandex/cloud/iot/devices/v1/device.proto\x1a&yandex/cloud/operation/operation.proto\x1a\x1dyandex/cloud/validation.proto\"q\n\x10GetDeviceRequest\x12\x1f\n\tdevice_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12<\n\x0b\x64\x65vice_view\x18\x02 \x01(\x0e\x32\'.yandex.cloud.iot.devices.v1.DeviceView\"\xae\x01\n\x16GetByNameDeviceRequest\x12!\n\x0bregistry_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12\x33\n\x0b\x64\x65vice_name\x18\x02 \x01(\tB\x1e\xe8\xc7\x31\x01\xf2\xc7\x31\x0e[a-zA-Z0-9_-]*\x8a\xc8\x31\x04<=50\x12<\n\x0b\x64\x65vice_view\x18\x03 \x01(\x0e\x32\'.yandex.cloud.iot.devices.v1.DeviceView\"\xdd\x01\n\x12ListDevicesRequest\x12\x1f\n\x0bregistry_id\x18\x01 \x01(\tB\x08\x8a\xc8\x31\x04<=50H\x00\x12\x1d\n\tfolder_id\x18\x02 \x01(\tB\x08\x8a\xc8\x31\x04<=50H\x00\x12\x1e\n\tpage_size\x18\x03 \x01(\x03\x42\x0b\xfa\xc7\x31\x07\x30-20000\x12\x1d\n\npage_token\x18\x04 \x01(\tB\t\x8a\xc8\x31\x05<=100\x12<\n\x0b\x64\x65vice_view\x18\x05 \x01(\x0e\x32\'.yandex.cloud.iot.devices.v1.DeviceViewB\n\n\x02id\x12\x04\xc0\xc1\x31\x01\"d\n\x13ListDevicesResponse\x12\x34\n\x07\x64\x65vices\x18\x01 \x03(\x0b\x32#.yandex.cloud.iot.devices.v1.Device\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\xe0\x04\n\x13\x43reateDeviceRequest\x12!\n\x0bregistry_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12,\n\x04name\x18\x02 \x01(\tB\x1e\xe8\xc7\x31\x01\xf2\xc7\x31\x0e[a-zA-Z0-9_-]*\x8a\xc8\x31\x04<=50\x12\x1e\n\x0b\x64\x65scription\x18\x03 \x01(\tB\t\x8a\xc8\x31\x05<=256\x12R\n\x0c\x63\x65rtificates\x18\x04 \x03(\x0b\x32<.yandex.cloud.iot.devices.v1.CreateDeviceRequest.Certificate\x12Y\n\rtopic_aliases\x18\x05 \x03(\x0b\x32\x42.yandex.cloud.iot.devices.v1.CreateDeviceRequest.TopicAliasesEntry\x12\x10\n\x08password\x18\x06 \x01(\t\x12\x89\x01\n\x06labels\x18\x07 \x03(\x0b\x32<.yandex.cloud.iot.devices.v1.CreateDeviceRequest.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\x1a\x33\n\x11TopicAliasesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a\'\n\x0b\x43\x65rtificate\x12\x18\n\x10\x63\x65rtificate_data\x18\x01 \x01(\t\")\n\x14\x43reateDeviceMetadata\x12\x11\n\tdevice_id\x18\x01 \x01(\t\"\xfc\x03\n\x13UpdateDeviceRequest\x12\x1f\n\tdevice_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(\n\x04name\x18\x03 \x01(\tB\x1a\xf2\xc7\x31\x0e[a-zA-Z0-9_-]*\x8a\xc8\x31\x04<=50\x12\x1e\n\x0b\x64\x65scription\x18\x04 \x01(\tB\t\x8a\xc8\x31\x05<=256\x12Y\n\rtopic_aliases\x18\x05 \x03(\x0b\x32\x42.yandex.cloud.iot.devices.v1.UpdateDeviceRequest.TopicAliasesEntry\x12\x89\x01\n\x06labels\x18\x06 \x03(\x0b\x32<.yandex.cloud.iot.devices.v1.UpdateDeviceRequest.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\x1a\x33\n\x11TopicAliasesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\")\n\x14UpdateDeviceMetadata\x12\x11\n\tdevice_id\x18\x01 \x01(\t\"6\n\x13\x44\x65leteDeviceRequest\x12\x1f\n\tdevice_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\")\n\x14\x44\x65leteDeviceMetadata\x12\x11\n\tdevice_id\x18\x01 \x01(\t\"@\n\x1dListDeviceCertificatesRequest\x12\x1f\n\tdevice_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\"f\n\x1eListDeviceCertificatesResponse\x12\x44\n\x0c\x63\x65rtificates\x18\x01 \x03(\x0b\x32..yandex.cloud.iot.devices.v1.DeviceCertificate\"^\n\x1b\x41\x64\x64\x44\x65viceCertificateRequest\x12\x1f\n\tdevice_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12\x18\n\x10\x63\x65rtificate_data\x18\x03 \x01(\tJ\x04\x08\x02\x10\x03\"F\n\x1c\x41\x64\x64\x44\x65viceCertificateMetadata\x12\x11\n\tdevice_id\x18\x01 \x01(\t\x12\x13\n\x0b\x66ingerprint\x18\x02 \x01(\t\"d\n\x1e\x44\x65leteDeviceCertificateRequest\x12\x1f\n\tdevice_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12!\n\x0b\x66ingerprint\x18\x02 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\"e\n\x1f\x44\x65leteDeviceCertificateMetadata\x12\x1f\n\tdevice_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12!\n\x0b\x66ingerprint\x18\x02 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\"=\n\x1aListDevicePasswordsRequest\x12\x1f\n\tdevice_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\"]\n\x1bListDevicePasswordsResponse\x12>\n\tpasswords\x18\x01 \x03(\x0b\x32+.yandex.cloud.iot.devices.v1.DevicePassword\"W\n\x18\x41\x64\x64\x44\x65vicePasswordRequest\x12\x1f\n\tdevice_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12\x1a\n\x08password\x18\x02 \x01(\tB\x08\x8a\xc8\x31\x04>=14\"C\n\x19\x41\x64\x64\x44\x65vicePasswordMetadata\x12\x11\n\tdevice_id\x18\x01 \x01(\t\x12\x13\n\x0bpassword_id\x18\x02 \x01(\t\"a\n\x1b\x44\x65leteDevicePasswordRequest\x12\x1f\n\tdevice_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12!\n\x0bpassword_id\x18\x02 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\"b\n\x1c\x44\x65leteDevicePasswordMetadata\x12\x1f\n\tdevice_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12!\n\x0bpassword_id\x18\x02 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\"\x90\x01\n\x1bListDeviceOperationsRequest\x12\x17\n\tdevice_id\x18\x01 \x01(\tB\x04\xe8\xc7\x31\x01\x12\x1d\n\tpage_size\x18\x02 \x01(\x03\x42\n\xfa\xc7\x31\x06\x30-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\"n\n\x1cListDeviceOperationsResponse\x12\x35\n\noperations\x18\x01 \x03(\x0b\x32!.yandex.cloud.operation.Operation\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t2\xb0\x13\n\rDeviceService\x12\x86\x01\n\x03Get\x12-.yandex.cloud.iot.devices.v1.GetDeviceRequest\x1a#.yandex.cloud.iot.devices.v1.Device\"+\x82\xd3\xe4\x93\x02%\x12#/iot-devices/v1/devices/{device_id}\x12\x90\x01\n\tGetByName\x12\x33.yandex.cloud.iot.devices.v1.GetByNameDeviceRequest\x1a#.yandex.cloud.iot.devices.v1.Device\")\x82\xd3\xe4\x93\x02#\x12!/iot-devices/v1/devices:getByName\x12\x8a\x01\n\x04List\x12/.yandex.cloud.iot.devices.v1.ListDevicesRequest\x1a\x30.yandex.cloud.iot.devices.v1.ListDevicesResponse\"\x1f\x82\xd3\xe4\x93\x02\x19\x12\x17/iot-devices/v1/devices\x12\xa3\x01\n\x06\x43reate\x12\x30.yandex.cloud.iot.devices.v1.CreateDeviceRequest\x1a!.yandex.cloud.operation.Operation\"D\xb2\xd2*\x1e\n\x14\x43reateDeviceMetadata\x12\x06\x44\x65vice\x82\xd3\xe4\x93\x02\x1c\"\x17/iot-devices/v1/devices:\x01*\x12\xaf\x01\n\x06Update\x12\x30.yandex.cloud.iot.devices.v1.UpdateDeviceRequest\x1a!.yandex.cloud.operation.Operation\"P\xb2\xd2*\x1e\n\x14UpdateDeviceMetadata\x12\x06\x44\x65vice\x82\xd3\xe4\x93\x02(2#/iot-devices/v1/devices/{device_id}:\x01*\x12\xbb\x01\n\x06\x44\x65lete\x12\x30.yandex.cloud.iot.devices.v1.DeleteDeviceRequest\x1a!.yandex.cloud.operation.Operation\"\\\xb2\xd2*-\n\x14\x44\x65leteDeviceMetadata\x12\x15google.protobuf.Empty\x82\xd3\xe4\x93\x02%*#/iot-devices/v1/devices/{device_id}\x12\xc5\x01\n\x10ListCertificates\x12:.yandex.cloud.iot.devices.v1.ListDeviceCertificatesRequest\x1a;.yandex.cloud.iot.devices.v1.ListDeviceCertificatesResponse\"8\x82\xd3\xe4\x93\x02\x32\x12\x30/iot-devices/v1/devices/{device_id}/certificates\x12\xdf\x01\n\x0e\x41\x64\x64\x43\x65rtificate\x12\x38.yandex.cloud.iot.devices.v1.AddDeviceCertificateRequest\x1a!.yandex.cloud.operation.Operation\"p\xb2\xd2*1\n\x1c\x41\x64\x64\x44\x65viceCertificateMetadata\x12\x11\x44\x65viceCertificate\x82\xd3\xe4\x93\x02\x35\"0/iot-devices/v1/devices/{device_id}/certificates:\x01*\x12\xf8\x01\n\x11\x44\x65leteCertificate\x12;.yandex.cloud.iot.devices.v1.DeleteDeviceCertificateRequest\x1a!.yandex.cloud.operation.Operation\"\x82\x01\xb2\xd2*8\n\x1f\x44\x65leteDeviceCertificateMetadata\x12\x15google.protobuf.Empty\x82\xd3\xe4\x93\x02@*>/iot-devices/v1/devices/{device_id}/certificates/{fingerprint}\x12\xb9\x01\n\rListPasswords\x12\x37.yandex.cloud.iot.devices.v1.ListDevicePasswordsRequest\x1a\x38.yandex.cloud.iot.devices.v1.ListDevicePasswordsResponse\"5\x82\xd3\xe4\x93\x02/\x12-/iot-devices/v1/devices/{device_id}/passwords\x12\xd0\x01\n\x0b\x41\x64\x64Password\x12\x35.yandex.cloud.iot.devices.v1.AddDevicePasswordRequest\x1a!.yandex.cloud.operation.Operation\"g\xb2\xd2*+\n\x19\x41\x64\x64\x44\x65vicePasswordMetadata\x12\x0e\x44\x65vicePassword\x82\xd3\xe4\x93\x02\x32\"-/iot-devices/v1/devices/{device_id}/passwords:\x01*\x12\xeb\x01\n\x0e\x44\x65letePassword\x12\x38.yandex.cloud.iot.devices.v1.DeleteDevicePasswordRequest\x1a!.yandex.cloud.operation.Operation\"|\xb2\xd2*5\n\x1c\x44\x65leteDevicePasswordMetadata\x12\x15google.protobuf.Empty\x82\xd3\xe4\x93\x02=*;/iot-devices/v1/devices/{device_id}/passwords/{password_id}\x12\xbd\x01\n\x0eListOperations\x12\x38.yandex.cloud.iot.devices.v1.ListDeviceOperationsRequest\x1a\x39.yandex.cloud.iot.devices.v1.ListDeviceOperationsResponse\"6\x82\xd3\xe4\x93\x02\x30\x12./iot-devices/v1/devices/{device_id}/operationsBj\n\x1fyandex.cloud.api.iot.devices.v1ZGgithub.com/yandex-cloud/go-genproto/yandex/cloud/iot/devices/v1;devicesb\x06proto3')
34
34
 
35
35
  _globals = globals()
36
36
  _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
@@ -51,25 +51,33 @@ if not _descriptor._USE_C_DESCRIPTORS:
51
51
  _globals['_LISTDEVICESREQUEST'].fields_by_name['folder_id']._loaded_options = None
52
52
  _globals['_LISTDEVICESREQUEST'].fields_by_name['folder_id']._serialized_options = b'\212\3101\004<=50'
53
53
  _globals['_LISTDEVICESREQUEST'].fields_by_name['page_size']._loaded_options = None
54
- _globals['_LISTDEVICESREQUEST'].fields_by_name['page_size']._serialized_options = b'\372\3071\0060-1000'
54
+ _globals['_LISTDEVICESREQUEST'].fields_by_name['page_size']._serialized_options = b'\372\3071\0070-20000'
55
55
  _globals['_LISTDEVICESREQUEST'].fields_by_name['page_token']._loaded_options = None
56
56
  _globals['_LISTDEVICESREQUEST'].fields_by_name['page_token']._serialized_options = b'\212\3101\005<=100'
57
57
  _globals['_CREATEDEVICEREQUEST_TOPICALIASESENTRY']._loaded_options = None
58
58
  _globals['_CREATEDEVICEREQUEST_TOPICALIASESENTRY']._serialized_options = b'8\001'
59
+ _globals['_CREATEDEVICEREQUEST_LABELSENTRY']._loaded_options = None
60
+ _globals['_CREATEDEVICEREQUEST_LABELSENTRY']._serialized_options = b'8\001'
59
61
  _globals['_CREATEDEVICEREQUEST'].fields_by_name['registry_id']._loaded_options = None
60
62
  _globals['_CREATEDEVICEREQUEST'].fields_by_name['registry_id']._serialized_options = b'\350\3071\001\212\3101\004<=50'
61
63
  _globals['_CREATEDEVICEREQUEST'].fields_by_name['name']._loaded_options = None
62
64
  _globals['_CREATEDEVICEREQUEST'].fields_by_name['name']._serialized_options = b'\350\3071\001\362\3071\016[a-zA-Z0-9_-]*\212\3101\004<=50'
63
65
  _globals['_CREATEDEVICEREQUEST'].fields_by_name['description']._loaded_options = None
64
66
  _globals['_CREATEDEVICEREQUEST'].fields_by_name['description']._serialized_options = b'\212\3101\005<=256'
67
+ _globals['_CREATEDEVICEREQUEST'].fields_by_name['labels']._loaded_options = None
68
+ _globals['_CREATEDEVICEREQUEST'].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'
65
69
  _globals['_UPDATEDEVICEREQUEST_TOPICALIASESENTRY']._loaded_options = None
66
70
  _globals['_UPDATEDEVICEREQUEST_TOPICALIASESENTRY']._serialized_options = b'8\001'
71
+ _globals['_UPDATEDEVICEREQUEST_LABELSENTRY']._loaded_options = None
72
+ _globals['_UPDATEDEVICEREQUEST_LABELSENTRY']._serialized_options = b'8\001'
67
73
  _globals['_UPDATEDEVICEREQUEST'].fields_by_name['device_id']._loaded_options = None
68
74
  _globals['_UPDATEDEVICEREQUEST'].fields_by_name['device_id']._serialized_options = b'\350\3071\001\212\3101\004<=50'
69
75
  _globals['_UPDATEDEVICEREQUEST'].fields_by_name['name']._loaded_options = None
70
76
  _globals['_UPDATEDEVICEREQUEST'].fields_by_name['name']._serialized_options = b'\362\3071\016[a-zA-Z0-9_-]*\212\3101\004<=50'
71
77
  _globals['_UPDATEDEVICEREQUEST'].fields_by_name['description']._loaded_options = None
72
78
  _globals['_UPDATEDEVICEREQUEST'].fields_by_name['description']._serialized_options = b'\212\3101\005<=256'
79
+ _globals['_UPDATEDEVICEREQUEST'].fields_by_name['labels']._loaded_options = None
80
+ _globals['_UPDATEDEVICEREQUEST'].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'
73
81
  _globals['_DELETEDEVICEREQUEST'].fields_by_name['device_id']._loaded_options = None
74
82
  _globals['_DELETEDEVICEREQUEST'].fields_by_name['device_id']._serialized_options = b'\350\3071\001\212\3101\004<=50'
75
83
  _globals['_LISTDEVICECERTIFICATESREQUEST'].fields_by_name['device_id']._loaded_options = None
@@ -137,55 +145,59 @@ if not _descriptor._USE_C_DESCRIPTORS:
137
145
  _globals['_GETBYNAMEDEVICEREQUEST']._serialized_start=408
138
146
  _globals['_GETBYNAMEDEVICEREQUEST']._serialized_end=582
139
147
  _globals['_LISTDEVICESREQUEST']._serialized_start=585
140
- _globals['_LISTDEVICESREQUEST']._serialized_end=805
141
- _globals['_LISTDEVICESRESPONSE']._serialized_start=807
142
- _globals['_LISTDEVICESRESPONSE']._serialized_end=907
143
- _globals['_CREATEDEVICEREQUEST']._serialized_start=910
144
- _globals['_CREATEDEVICEREQUEST']._serialized_end=1331
145
- _globals['_CREATEDEVICEREQUEST_TOPICALIASESENTRY']._serialized_start=1239
146
- _globals['_CREATEDEVICEREQUEST_TOPICALIASESENTRY']._serialized_end=1290
147
- _globals['_CREATEDEVICEREQUEST_CERTIFICATE']._serialized_start=1292
148
- _globals['_CREATEDEVICEREQUEST_CERTIFICATE']._serialized_end=1331
149
- _globals['_CREATEDEVICEMETADATA']._serialized_start=1333
150
- _globals['_CREATEDEVICEMETADATA']._serialized_end=1374
151
- _globals['_UPDATEDEVICEREQUEST']._serialized_start=1377
152
- _globals['_UPDATEDEVICEREQUEST']._serialized_end=1698
153
- _globals['_UPDATEDEVICEREQUEST_TOPICALIASESENTRY']._serialized_start=1239
154
- _globals['_UPDATEDEVICEREQUEST_TOPICALIASESENTRY']._serialized_end=1290
155
- _globals['_UPDATEDEVICEMETADATA']._serialized_start=1700
156
- _globals['_UPDATEDEVICEMETADATA']._serialized_end=1741
157
- _globals['_DELETEDEVICEREQUEST']._serialized_start=1743
158
- _globals['_DELETEDEVICEREQUEST']._serialized_end=1797
159
- _globals['_DELETEDEVICEMETADATA']._serialized_start=1799
160
- _globals['_DELETEDEVICEMETADATA']._serialized_end=1840
161
- _globals['_LISTDEVICECERTIFICATESREQUEST']._serialized_start=1842
162
- _globals['_LISTDEVICECERTIFICATESREQUEST']._serialized_end=1906
163
- _globals['_LISTDEVICECERTIFICATESRESPONSE']._serialized_start=1908
164
- _globals['_LISTDEVICECERTIFICATESRESPONSE']._serialized_end=2010
165
- _globals['_ADDDEVICECERTIFICATEREQUEST']._serialized_start=2012
166
- _globals['_ADDDEVICECERTIFICATEREQUEST']._serialized_end=2106
167
- _globals['_ADDDEVICECERTIFICATEMETADATA']._serialized_start=2108
168
- _globals['_ADDDEVICECERTIFICATEMETADATA']._serialized_end=2178
169
- _globals['_DELETEDEVICECERTIFICATEREQUEST']._serialized_start=2180
170
- _globals['_DELETEDEVICECERTIFICATEREQUEST']._serialized_end=2280
171
- _globals['_DELETEDEVICECERTIFICATEMETADATA']._serialized_start=2282
172
- _globals['_DELETEDEVICECERTIFICATEMETADATA']._serialized_end=2383
173
- _globals['_LISTDEVICEPASSWORDSREQUEST']._serialized_start=2385
174
- _globals['_LISTDEVICEPASSWORDSREQUEST']._serialized_end=2446
175
- _globals['_LISTDEVICEPASSWORDSRESPONSE']._serialized_start=2448
176
- _globals['_LISTDEVICEPASSWORDSRESPONSE']._serialized_end=2541
177
- _globals['_ADDDEVICEPASSWORDREQUEST']._serialized_start=2543
178
- _globals['_ADDDEVICEPASSWORDREQUEST']._serialized_end=2630
179
- _globals['_ADDDEVICEPASSWORDMETADATA']._serialized_start=2632
180
- _globals['_ADDDEVICEPASSWORDMETADATA']._serialized_end=2699
181
- _globals['_DELETEDEVICEPASSWORDREQUEST']._serialized_start=2701
182
- _globals['_DELETEDEVICEPASSWORDREQUEST']._serialized_end=2798
183
- _globals['_DELETEDEVICEPASSWORDMETADATA']._serialized_start=2800
184
- _globals['_DELETEDEVICEPASSWORDMETADATA']._serialized_end=2898
185
- _globals['_LISTDEVICEOPERATIONSREQUEST']._serialized_start=2901
186
- _globals['_LISTDEVICEOPERATIONSREQUEST']._serialized_end=3045
187
- _globals['_LISTDEVICEOPERATIONSRESPONSE']._serialized_start=3047
188
- _globals['_LISTDEVICEOPERATIONSRESPONSE']._serialized_end=3157
189
- _globals['_DEVICESERVICE']._serialized_start=3160
190
- _globals['_DEVICESERVICE']._serialized_end=5640
148
+ _globals['_LISTDEVICESREQUEST']._serialized_end=806
149
+ _globals['_LISTDEVICESRESPONSE']._serialized_start=808
150
+ _globals['_LISTDEVICESRESPONSE']._serialized_end=908
151
+ _globals['_CREATEDEVICEREQUEST']._serialized_start=911
152
+ _globals['_CREATEDEVICEREQUEST']._serialized_end=1519
153
+ _globals['_CREATEDEVICEREQUEST_TOPICALIASESENTRY']._serialized_start=1380
154
+ _globals['_CREATEDEVICEREQUEST_TOPICALIASESENTRY']._serialized_end=1431
155
+ _globals['_CREATEDEVICEREQUEST_LABELSENTRY']._serialized_start=1433
156
+ _globals['_CREATEDEVICEREQUEST_LABELSENTRY']._serialized_end=1478
157
+ _globals['_CREATEDEVICEREQUEST_CERTIFICATE']._serialized_start=1480
158
+ _globals['_CREATEDEVICEREQUEST_CERTIFICATE']._serialized_end=1519
159
+ _globals['_CREATEDEVICEMETADATA']._serialized_start=1521
160
+ _globals['_CREATEDEVICEMETADATA']._serialized_end=1562
161
+ _globals['_UPDATEDEVICEREQUEST']._serialized_start=1565
162
+ _globals['_UPDATEDEVICEREQUEST']._serialized_end=2073
163
+ _globals['_UPDATEDEVICEREQUEST_TOPICALIASESENTRY']._serialized_start=1380
164
+ _globals['_UPDATEDEVICEREQUEST_TOPICALIASESENTRY']._serialized_end=1431
165
+ _globals['_UPDATEDEVICEREQUEST_LABELSENTRY']._serialized_start=1433
166
+ _globals['_UPDATEDEVICEREQUEST_LABELSENTRY']._serialized_end=1478
167
+ _globals['_UPDATEDEVICEMETADATA']._serialized_start=2075
168
+ _globals['_UPDATEDEVICEMETADATA']._serialized_end=2116
169
+ _globals['_DELETEDEVICEREQUEST']._serialized_start=2118
170
+ _globals['_DELETEDEVICEREQUEST']._serialized_end=2172
171
+ _globals['_DELETEDEVICEMETADATA']._serialized_start=2174
172
+ _globals['_DELETEDEVICEMETADATA']._serialized_end=2215
173
+ _globals['_LISTDEVICECERTIFICATESREQUEST']._serialized_start=2217
174
+ _globals['_LISTDEVICECERTIFICATESREQUEST']._serialized_end=2281
175
+ _globals['_LISTDEVICECERTIFICATESRESPONSE']._serialized_start=2283
176
+ _globals['_LISTDEVICECERTIFICATESRESPONSE']._serialized_end=2385
177
+ _globals['_ADDDEVICECERTIFICATEREQUEST']._serialized_start=2387
178
+ _globals['_ADDDEVICECERTIFICATEREQUEST']._serialized_end=2481
179
+ _globals['_ADDDEVICECERTIFICATEMETADATA']._serialized_start=2483
180
+ _globals['_ADDDEVICECERTIFICATEMETADATA']._serialized_end=2553
181
+ _globals['_DELETEDEVICECERTIFICATEREQUEST']._serialized_start=2555
182
+ _globals['_DELETEDEVICECERTIFICATEREQUEST']._serialized_end=2655
183
+ _globals['_DELETEDEVICECERTIFICATEMETADATA']._serialized_start=2657
184
+ _globals['_DELETEDEVICECERTIFICATEMETADATA']._serialized_end=2758
185
+ _globals['_LISTDEVICEPASSWORDSREQUEST']._serialized_start=2760
186
+ _globals['_LISTDEVICEPASSWORDSREQUEST']._serialized_end=2821
187
+ _globals['_LISTDEVICEPASSWORDSRESPONSE']._serialized_start=2823
188
+ _globals['_LISTDEVICEPASSWORDSRESPONSE']._serialized_end=2916
189
+ _globals['_ADDDEVICEPASSWORDREQUEST']._serialized_start=2918
190
+ _globals['_ADDDEVICEPASSWORDREQUEST']._serialized_end=3005
191
+ _globals['_ADDDEVICEPASSWORDMETADATA']._serialized_start=3007
192
+ _globals['_ADDDEVICEPASSWORDMETADATA']._serialized_end=3074
193
+ _globals['_DELETEDEVICEPASSWORDREQUEST']._serialized_start=3076
194
+ _globals['_DELETEDEVICEPASSWORDREQUEST']._serialized_end=3173
195
+ _globals['_DELETEDEVICEPASSWORDMETADATA']._serialized_start=3175
196
+ _globals['_DELETEDEVICEPASSWORDMETADATA']._serialized_end=3273
197
+ _globals['_LISTDEVICEOPERATIONSREQUEST']._serialized_start=3276
198
+ _globals['_LISTDEVICEOPERATIONSREQUEST']._serialized_end=3420
199
+ _globals['_LISTDEVICEOPERATIONSRESPONSE']._serialized_start=3422
200
+ _globals['_LISTDEVICEOPERATIONSRESPONSE']._serialized_end=3532
201
+ _globals['_DEVICESERVICE']._serialized_start=3535
202
+ _globals['_DEVICESERVICE']._serialized_end=6015
191
203
  # @@protoc_insertion_point(module_scope)
@@ -167,6 +167,22 @@ class CreateDeviceRequest(google.protobuf.message.Message):
167
167
  ) -> None: ...
168
168
  def ClearField(self, field_name: typing.Literal["key", b"key", "value", b"value"]) -> None: ...
169
169
 
170
+ @typing.final
171
+ class LabelsEntry(google.protobuf.message.Message):
172
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
173
+
174
+ KEY_FIELD_NUMBER: builtins.int
175
+ VALUE_FIELD_NUMBER: builtins.int
176
+ key: builtins.str
177
+ value: builtins.str
178
+ def __init__(
179
+ self,
180
+ *,
181
+ key: builtins.str = ...,
182
+ value: builtins.str = ...,
183
+ ) -> None: ...
184
+ def ClearField(self, field_name: typing.Literal["key", b"key", "value", b"value"]) -> None: ...
185
+
170
186
  @typing.final
171
187
  class Certificate(google.protobuf.message.Message):
172
188
  """Specification of a device certificate."""
@@ -189,6 +205,7 @@ class CreateDeviceRequest(google.protobuf.message.Message):
189
205
  CERTIFICATES_FIELD_NUMBER: builtins.int
190
206
  TOPIC_ALIASES_FIELD_NUMBER: builtins.int
191
207
  PASSWORD_FIELD_NUMBER: builtins.int
208
+ LABELS_FIELD_NUMBER: builtins.int
192
209
  registry_id: builtins.str
193
210
  """ID of the registry to create a device in.
194
211
 
@@ -214,6 +231,10 @@ class CreateDeviceRequest(google.protobuf.message.Message):
214
231
  Alias is an alternate name of a device topic assigned by the user. Map alias to canonical topic name prefix, e.g. `my/custom/alias` match to `$device/{id}/events`.
215
232
  """
216
233
 
234
+ @property
235
+ def labels(self) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]:
236
+ """Resource labels as `key:value` pairs."""
237
+
217
238
  def __init__(
218
239
  self,
219
240
  *,
@@ -223,8 +244,9 @@ class CreateDeviceRequest(google.protobuf.message.Message):
223
244
  certificates: collections.abc.Iterable[global___CreateDeviceRequest.Certificate] | None = ...,
224
245
  topic_aliases: collections.abc.Mapping[builtins.str, builtins.str] | None = ...,
225
246
  password: builtins.str = ...,
247
+ labels: collections.abc.Mapping[builtins.str, builtins.str] | None = ...,
226
248
  ) -> None: ...
227
- def ClearField(self, field_name: typing.Literal["certificates", b"certificates", "description", b"description", "name", b"name", "password", b"password", "registry_id", b"registry_id", "topic_aliases", b"topic_aliases"]) -> None: ...
249
+ def ClearField(self, field_name: typing.Literal["certificates", b"certificates", "description", b"description", "labels", b"labels", "name", b"name", "password", b"password", "registry_id", b"registry_id", "topic_aliases", b"topic_aliases"]) -> None: ...
228
250
 
229
251
  global___CreateDeviceRequest = CreateDeviceRequest
230
252
 
@@ -264,11 +286,28 @@ class UpdateDeviceRequest(google.protobuf.message.Message):
264
286
  ) -> None: ...
265
287
  def ClearField(self, field_name: typing.Literal["key", b"key", "value", b"value"]) -> None: ...
266
288
 
289
+ @typing.final
290
+ class LabelsEntry(google.protobuf.message.Message):
291
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
292
+
293
+ KEY_FIELD_NUMBER: builtins.int
294
+ VALUE_FIELD_NUMBER: builtins.int
295
+ key: builtins.str
296
+ value: builtins.str
297
+ def __init__(
298
+ self,
299
+ *,
300
+ key: builtins.str = ...,
301
+ value: builtins.str = ...,
302
+ ) -> None: ...
303
+ def ClearField(self, field_name: typing.Literal["key", b"key", "value", b"value"]) -> None: ...
304
+
267
305
  DEVICE_ID_FIELD_NUMBER: builtins.int
268
306
  UPDATE_MASK_FIELD_NUMBER: builtins.int
269
307
  NAME_FIELD_NUMBER: builtins.int
270
308
  DESCRIPTION_FIELD_NUMBER: builtins.int
271
309
  TOPIC_ALIASES_FIELD_NUMBER: builtins.int
310
+ LABELS_FIELD_NUMBER: builtins.int
272
311
  device_id: builtins.str
273
312
  """ID of the device to update.
274
313
 
@@ -289,6 +328,10 @@ class UpdateDeviceRequest(google.protobuf.message.Message):
289
328
  Alias is an alternate name of a device topic assigned by the user. Map alias to canonical topic name prefix, e.g. `my/custom/alias` match to `$device/{id}/events`.
290
329
  """
291
330
 
331
+ @property
332
+ def labels(self) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]:
333
+ """Resource labels as `key:value` pairs."""
334
+
292
335
  def __init__(
293
336
  self,
294
337
  *,
@@ -297,9 +340,10 @@ class UpdateDeviceRequest(google.protobuf.message.Message):
297
340
  name: builtins.str = ...,
298
341
  description: builtins.str = ...,
299
342
  topic_aliases: collections.abc.Mapping[builtins.str, builtins.str] | None = ...,
343
+ labels: collections.abc.Mapping[builtins.str, builtins.str] | None = ...,
300
344
  ) -> None: ...
301
345
  def HasField(self, field_name: typing.Literal["update_mask", b"update_mask"]) -> builtins.bool: ...
302
- def ClearField(self, field_name: typing.Literal["description", b"description", "device_id", b"device_id", "name", b"name", "topic_aliases", b"topic_aliases", "update_mask", b"update_mask"]) -> None: ...
346
+ def ClearField(self, field_name: typing.Literal["description", b"description", "device_id", b"device_id", "labels", b"labels", "name", b"name", "topic_aliases", b"topic_aliases", "update_mask", b"update_mask"]) -> None: ...
303
347
 
304
348
  global___UpdateDeviceRequest = UpdateDeviceRequest
305
349
 
@@ -27,7 +27,7 @@ from yandex.cloud.loadbalancer.v1 import health_check_pb2 as yandex_dot_cloud_do
27
27
  from yandex.cloud import validation_pb2 as yandex_dot_cloud_dot_validation__pb2
28
28
 
29
29
 
30
- DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n8yandex/cloud/loadbalancer/v1/network_load_balancer.proto\x12\x1cyandex.cloud.loadbalancer.v1\x1a\x1fgoogle/protobuf/timestamp.proto\x1a/yandex/cloud/loadbalancer/v1/health_check.proto\x1a\x1dyandex/cloud/validation.proto\"\xc0\x07\n\x13NetworkLoadBalancer\x12\n\n\x02id\x18\x01 \x01(\t\x12\x11\n\tfolder_id\x18\x02 \x01(\t\x12.\n\ncreated_at\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x0c\n\x04name\x18\x04 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x05 \x01(\t\x12M\n\x06labels\x18\x06 \x03(\x0b\x32=.yandex.cloud.loadbalancer.v1.NetworkLoadBalancer.LabelsEntry\x12\x11\n\tregion_id\x18\x07 \x01(\t\x12H\n\x06status\x18\t \x01(\x0e\x32\x38.yandex.cloud.loadbalancer.v1.NetworkLoadBalancer.Status\x12\x44\n\x04type\x18\n \x01(\x0e\x32\x36.yandex.cloud.loadbalancer.v1.NetworkLoadBalancer.Type\x12[\n\x10session_affinity\x18\x0b \x01(\x0e\x32\x41.yandex.cloud.loadbalancer.v1.NetworkLoadBalancer.SessionAffinity\x12\x39\n\tlisteners\x18\x0c \x03(\x0b\x32&.yandex.cloud.loadbalancer.v1.Listener\x12Q\n\x16\x61ttached_target_groups\x18\r \x03(\x0b\x32\x31.yandex.cloud.loadbalancer.v1.AttachedTargetGroup\x12\x1b\n\x13\x64\x65letion_protection\x18\x0e \x01(\x08\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\x7f\n\x06Status\x12\x16\n\x12STATUS_UNSPECIFIED\x10\x00\x12\x0c\n\x08\x43REATING\x10\x01\x12\x0c\n\x08STARTING\x10\x02\x12\n\n\x06\x41\x43TIVE\x10\x03\x12\x0c\n\x08STOPPING\x10\x04\x12\x0b\n\x07STOPPED\x10\x05\x12\x0c\n\x08\x44\x45LETING\x10\x06\x12\x0c\n\x08INACTIVE\x10\x07\"8\n\x04Type\x12\x14\n\x10TYPE_UNSPECIFIED\x10\x00\x12\x0c\n\x08\x45XTERNAL\x10\x01\x12\x0c\n\x08INTERNAL\x10\x02\"M\n\x0fSessionAffinity\x12 \n\x1cSESSION_AFFINITY_UNSPECIFIED\x10\x00\x12\x18\n\x14\x43LIENT_IP_PORT_PROTO\x10\x01J\x04\x08\x08\x10\t\"\x85\x01\n\x13\x41ttachedTargetGroup\x12%\n\x0ftarget_group_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12G\n\rhealth_checks\x18\x02 \x03(\x0b\x32).yandex.cloud.loadbalancer.v1.HealthCheckB\x05\x82\xc8\x31\x01\x31\"\x97\x02\n\x08Listener\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0f\n\x07\x61\x64\x64ress\x18\x02 \x01(\t\x12\x0c\n\x04port\x18\x03 \x01(\x03\x12\x41\n\x08protocol\x18\x04 \x01(\x0e\x32/.yandex.cloud.loadbalancer.v1.Listener.Protocol\x12\x13\n\x0btarget_port\x18\x05 \x01(\x03\x12\x11\n\tsubnet_id\x18\x06 \x01(\t\x12;\n\nip_version\x18\x07 \x01(\x0e\x32\'.yandex.cloud.loadbalancer.v1.IpVersion\"6\n\x08Protocol\x12\x18\n\x14PROTOCOL_UNSPECIFIED\x10\x00\x12\x07\n\x03TCP\x10\x01\x12\x07\n\x03UDP\x10\x02\"\xda\x01\n\x0bTargetState\x12\x11\n\tsubnet_id\x18\x01 \x01(\t\x12\x0f\n\x07\x61\x64\x64ress\x18\x02 \x01(\t\x12@\n\x06status\x18\x03 \x01(\x0e\x32\x30.yandex.cloud.loadbalancer.v1.TargetState.Status\"e\n\x06Status\x12\x16\n\x12STATUS_UNSPECIFIED\x10\x00\x12\x0b\n\x07INITIAL\x10\x01\x12\x0b\n\x07HEALTHY\x10\x02\x12\r\n\tUNHEALTHY\x10\x03\x12\x0c\n\x08\x44RAINING\x10\x04\x12\x0c\n\x08INACTIVE\x10\x05*;\n\tIpVersion\x12\x1a\n\x16IP_VERSION_UNSPECIFIED\x10\x00\x12\x08\n\x04IPV4\x10\x01\x12\x08\n\x04IPV6\x10\x02\x42q\n yandex.cloud.api.loadbalancer.v1ZMgithub.com/yandex-cloud/go-genproto/yandex/cloud/loadbalancer/v1;loadbalancerb\x06proto3')
30
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n8yandex/cloud/loadbalancer/v1/network_load_balancer.proto\x12\x1cyandex.cloud.loadbalancer.v1\x1a\x1fgoogle/protobuf/timestamp.proto\x1a/yandex/cloud/loadbalancer/v1/health_check.proto\x1a\x1dyandex/cloud/validation.proto\"\xdb\x07\n\x13NetworkLoadBalancer\x12\n\n\x02id\x18\x01 \x01(\t\x12\x11\n\tfolder_id\x18\x02 \x01(\t\x12.\n\ncreated_at\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x0c\n\x04name\x18\x04 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x05 \x01(\t\x12M\n\x06labels\x18\x06 \x03(\x0b\x32=.yandex.cloud.loadbalancer.v1.NetworkLoadBalancer.LabelsEntry\x12\x11\n\tregion_id\x18\x07 \x01(\t\x12H\n\x06status\x18\t \x01(\x0e\x32\x38.yandex.cloud.loadbalancer.v1.NetworkLoadBalancer.Status\x12\x44\n\x04type\x18\n \x01(\x0e\x32\x36.yandex.cloud.loadbalancer.v1.NetworkLoadBalancer.Type\x12[\n\x10session_affinity\x18\x0b \x01(\x0e\x32\x41.yandex.cloud.loadbalancer.v1.NetworkLoadBalancer.SessionAffinity\x12\x39\n\tlisteners\x18\x0c \x03(\x0b\x32&.yandex.cloud.loadbalancer.v1.Listener\x12Q\n\x16\x61ttached_target_groups\x18\r \x03(\x0b\x32\x31.yandex.cloud.loadbalancer.v1.AttachedTargetGroup\x12\x1b\n\x13\x64\x65letion_protection\x18\x0e \x01(\x08\x12\x19\n\x11\x61llow_zonal_shift\x18\x0f \x01(\x08\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\x7f\n\x06Status\x12\x16\n\x12STATUS_UNSPECIFIED\x10\x00\x12\x0c\n\x08\x43REATING\x10\x01\x12\x0c\n\x08STARTING\x10\x02\x12\n\n\x06\x41\x43TIVE\x10\x03\x12\x0c\n\x08STOPPING\x10\x04\x12\x0b\n\x07STOPPED\x10\x05\x12\x0c\n\x08\x44\x45LETING\x10\x06\x12\x0c\n\x08INACTIVE\x10\x07\"8\n\x04Type\x12\x14\n\x10TYPE_UNSPECIFIED\x10\x00\x12\x0c\n\x08\x45XTERNAL\x10\x01\x12\x0c\n\x08INTERNAL\x10\x02\"M\n\x0fSessionAffinity\x12 \n\x1cSESSION_AFFINITY_UNSPECIFIED\x10\x00\x12\x18\n\x14\x43LIENT_IP_PORT_PROTO\x10\x01J\x04\x08\x08\x10\t\"\x85\x01\n\x13\x41ttachedTargetGroup\x12%\n\x0ftarget_group_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12G\n\rhealth_checks\x18\x02 \x03(\x0b\x32).yandex.cloud.loadbalancer.v1.HealthCheckB\x05\x82\xc8\x31\x01\x31\"\x97\x02\n\x08Listener\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\x0f\n\x07\x61\x64\x64ress\x18\x02 \x01(\t\x12\x0c\n\x04port\x18\x03 \x01(\x03\x12\x41\n\x08protocol\x18\x04 \x01(\x0e\x32/.yandex.cloud.loadbalancer.v1.Listener.Protocol\x12\x13\n\x0btarget_port\x18\x05 \x01(\x03\x12\x11\n\tsubnet_id\x18\x06 \x01(\t\x12;\n\nip_version\x18\x07 \x01(\x0e\x32\'.yandex.cloud.loadbalancer.v1.IpVersion\"6\n\x08Protocol\x12\x18\n\x14PROTOCOL_UNSPECIFIED\x10\x00\x12\x07\n\x03TCP\x10\x01\x12\x07\n\x03UDP\x10\x02\"\xda\x01\n\x0bTargetState\x12\x11\n\tsubnet_id\x18\x01 \x01(\t\x12\x0f\n\x07\x61\x64\x64ress\x18\x02 \x01(\t\x12@\n\x06status\x18\x03 \x01(\x0e\x32\x30.yandex.cloud.loadbalancer.v1.TargetState.Status\"e\n\x06Status\x12\x16\n\x12STATUS_UNSPECIFIED\x10\x00\x12\x0b\n\x07INITIAL\x10\x01\x12\x0b\n\x07HEALTHY\x10\x02\x12\r\n\tUNHEALTHY\x10\x03\x12\x0c\n\x08\x44RAINING\x10\x04\x12\x0c\n\x08INACTIVE\x10\x05*;\n\tIpVersion\x12\x1a\n\x16IP_VERSION_UNSPECIFIED\x10\x00\x12\x08\n\x04IPV4\x10\x01\x12\x08\n\x04IPV6\x10\x02\x42q\n yandex.cloud.api.loadbalancer.v1ZMgithub.com/yandex-cloud/go-genproto/yandex/cloud/loadbalancer/v1;loadbalancerb\x06proto3')
31
31
 
32
32
  _globals = globals()
33
33
  _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
@@ -41,26 +41,26 @@ if not _descriptor._USE_C_DESCRIPTORS:
41
41
  _globals['_ATTACHEDTARGETGROUP'].fields_by_name['target_group_id']._serialized_options = b'\350\3071\001\212\3101\004<=50'
42
42
  _globals['_ATTACHEDTARGETGROUP'].fields_by_name['health_checks']._loaded_options = None
43
43
  _globals['_ATTACHEDTARGETGROUP'].fields_by_name['health_checks']._serialized_options = b'\202\3101\0011'
44
- _globals['_IPVERSION']._serialized_start=1805
45
- _globals['_IPVERSION']._serialized_end=1864
44
+ _globals['_IPVERSION']._serialized_start=1832
45
+ _globals['_IPVERSION']._serialized_end=1891
46
46
  _globals['_NETWORKLOADBALANCER']._serialized_start=204
47
- _globals['_NETWORKLOADBALANCER']._serialized_end=1164
48
- _globals['_NETWORKLOADBALANCER_LABELSENTRY']._serialized_start=847
49
- _globals['_NETWORKLOADBALANCER_LABELSENTRY']._serialized_end=892
50
- _globals['_NETWORKLOADBALANCER_STATUS']._serialized_start=894
51
- _globals['_NETWORKLOADBALANCER_STATUS']._serialized_end=1021
52
- _globals['_NETWORKLOADBALANCER_TYPE']._serialized_start=1023
53
- _globals['_NETWORKLOADBALANCER_TYPE']._serialized_end=1079
54
- _globals['_NETWORKLOADBALANCER_SESSIONAFFINITY']._serialized_start=1081
55
- _globals['_NETWORKLOADBALANCER_SESSIONAFFINITY']._serialized_end=1158
56
- _globals['_ATTACHEDTARGETGROUP']._serialized_start=1167
57
- _globals['_ATTACHEDTARGETGROUP']._serialized_end=1300
58
- _globals['_LISTENER']._serialized_start=1303
59
- _globals['_LISTENER']._serialized_end=1582
60
- _globals['_LISTENER_PROTOCOL']._serialized_start=1528
61
- _globals['_LISTENER_PROTOCOL']._serialized_end=1582
62
- _globals['_TARGETSTATE']._serialized_start=1585
63
- _globals['_TARGETSTATE']._serialized_end=1803
64
- _globals['_TARGETSTATE_STATUS']._serialized_start=1702
65
- _globals['_TARGETSTATE_STATUS']._serialized_end=1803
47
+ _globals['_NETWORKLOADBALANCER']._serialized_end=1191
48
+ _globals['_NETWORKLOADBALANCER_LABELSENTRY']._serialized_start=874
49
+ _globals['_NETWORKLOADBALANCER_LABELSENTRY']._serialized_end=919
50
+ _globals['_NETWORKLOADBALANCER_STATUS']._serialized_start=921
51
+ _globals['_NETWORKLOADBALANCER_STATUS']._serialized_end=1048
52
+ _globals['_NETWORKLOADBALANCER_TYPE']._serialized_start=1050
53
+ _globals['_NETWORKLOADBALANCER_TYPE']._serialized_end=1106
54
+ _globals['_NETWORKLOADBALANCER_SESSIONAFFINITY']._serialized_start=1108
55
+ _globals['_NETWORKLOADBALANCER_SESSIONAFFINITY']._serialized_end=1185
56
+ _globals['_ATTACHEDTARGETGROUP']._serialized_start=1194
57
+ _globals['_ATTACHEDTARGETGROUP']._serialized_end=1327
58
+ _globals['_LISTENER']._serialized_start=1330
59
+ _globals['_LISTENER']._serialized_end=1609
60
+ _globals['_LISTENER_PROTOCOL']._serialized_start=1555
61
+ _globals['_LISTENER_PROTOCOL']._serialized_end=1609
62
+ _globals['_TARGETSTATE']._serialized_start=1612
63
+ _globals['_TARGETSTATE']._serialized_end=1830
64
+ _globals['_TARGETSTATE_STATUS']._serialized_start=1729
65
+ _globals['_TARGETSTATE_STATUS']._serialized_end=1830
66
66
  # @@protoc_insertion_point(module_scope)
@@ -163,6 +163,7 @@ class NetworkLoadBalancer(google.protobuf.message.Message):
163
163
  LISTENERS_FIELD_NUMBER: builtins.int
164
164
  ATTACHED_TARGET_GROUPS_FIELD_NUMBER: builtins.int
165
165
  DELETION_PROTECTION_FIELD_NUMBER: builtins.int
166
+ ALLOW_ZONAL_SHIFT_FIELD_NUMBER: builtins.int
166
167
  id: builtins.str
167
168
  """ID of the network load balancer."""
168
169
  folder_id: builtins.str
@@ -181,6 +182,8 @@ class NetworkLoadBalancer(google.protobuf.message.Message):
181
182
  """Type of the session affinity. Only 5-tuple affinity is available now."""
182
183
  deletion_protection: builtins.bool
183
184
  """Specifies if network load balancer protected from deletion."""
185
+ allow_zonal_shift: builtins.bool
186
+ """Specifies if network load balancer available to zonal shift."""
184
187
  @property
185
188
  def created_at(self) -> google.protobuf.timestamp_pb2.Timestamp:
186
189
  """Creation timestamp in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format."""
@@ -213,9 +216,10 @@ class NetworkLoadBalancer(google.protobuf.message.Message):
213
216
  listeners: collections.abc.Iterable[global___Listener] | None = ...,
214
217
  attached_target_groups: collections.abc.Iterable[global___AttachedTargetGroup] | None = ...,
215
218
  deletion_protection: builtins.bool = ...,
219
+ allow_zonal_shift: builtins.bool = ...,
216
220
  ) -> None: ...
217
221
  def HasField(self, field_name: typing.Literal["created_at", b"created_at"]) -> builtins.bool: ...
218
- def ClearField(self, field_name: typing.Literal["attached_target_groups", b"attached_target_groups", "created_at", b"created_at", "deletion_protection", b"deletion_protection", "description", b"description", "folder_id", b"folder_id", "id", b"id", "labels", b"labels", "listeners", b"listeners", "name", b"name", "region_id", b"region_id", "session_affinity", b"session_affinity", "status", b"status", "type", b"type"]) -> None: ...
222
+ def ClearField(self, field_name: typing.Literal["allow_zonal_shift", b"allow_zonal_shift", "attached_target_groups", b"attached_target_groups", "created_at", b"created_at", "deletion_protection", b"deletion_protection", "description", b"description", "folder_id", b"folder_id", "id", b"id", "labels", b"labels", "listeners", b"listeners", "name", b"name", "region_id", b"region_id", "session_affinity", b"session_affinity", "status", b"status", "type", b"type"]) -> None: ...
219
223
 
220
224
  global___NetworkLoadBalancer = NetworkLoadBalancer
221
225