yandexcloud 0.336.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 (177) 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/iot/devices/v1/device_pb2.py +18 -14
  28. yandex/cloud/iot/devices/v1/device_pb2.pyi +23 -1
  29. yandex/cloud/iot/devices/v1/device_service_pb2.py +65 -53
  30. yandex/cloud/iot/devices/v1/device_service_pb2.pyi +46 -2
  31. yandex/cloud/loadtesting/agent/v1/test_pb2.py +5 -5
  32. yandex/cloud/loadtesting/agent/v1/test_pb2.pyi +2 -0
  33. yandex/cloud/loadtesting/api/v1/test/status_pb2.py +2 -2
  34. yandex/cloud/loadtesting/api/v1/test/status_pb2.pyi +6 -2
  35. yandex/cloud/marketplace/licensemanager/saas/v1/instance_service_pb2.py +12 -5
  36. yandex/cloud/marketplace/licensemanager/saas/v1/instance_service_pb2.pyi +16 -0
  37. yandex/cloud/marketplace/licensemanager/saas/v1/instance_service_pb2_grpc.py +45 -0
  38. yandex/cloud/marketplace/licensemanager/saas/v1/instance_service_pb2_grpc.pyi +21 -0
  39. yandex/cloud/marketplace/licensemanager/v1/user_info_pb2.py +37 -0
  40. yandex/cloud/marketplace/licensemanager/v1/user_info_pb2.pyi +39 -0
  41. yandex/cloud/marketplace/licensemanager/v1/user_info_pb2_grpc.py +24 -0
  42. yandex/cloud/marketplace/licensemanager/v1/user_info_pb2_grpc.pyi +17 -0
  43. yandex/cloud/mdb/clickhouse/v1/cluster_service_pb2.py +170 -170
  44. yandex/cloud/mdb/clickhouse/v1/cluster_service_pb2.pyi +14 -2
  45. yandex/cloud/mdb/kafka/v1/user_pb2.py +4 -4
  46. yandex/cloud/mdb/kafka/v1/user_pb2.pyi +4 -0
  47. yandex/cloud/mdb/redis/v1/cluster_pb2.py +23 -23
  48. yandex/cloud/mdb/redis/v1/cluster_pb2.pyi +4 -0
  49. yandex/cloud/mdb/redis/v1/config/redis_pb2.py +10 -8
  50. yandex/cloud/mdb/redis/v1/config/redis_pb2.pyi +14 -2
  51. yandex/cloud/mdb/spqr/__init__.py +0 -0
  52. yandex/cloud/mdb/spqr/v1/__init__.py +0 -0
  53. yandex/cloud/mdb/spqr/v1/backup_pb2.py +40 -0
  54. yandex/cloud/mdb/spqr/v1/backup_pb2.pyi +97 -0
  55. yandex/cloud/mdb/spqr/v1/backup_pb2_grpc.py +24 -0
  56. yandex/cloud/mdb/spqr/v1/backup_pb2_grpc.pyi +17 -0
  57. yandex/cloud/mdb/spqr/v1/backup_service_pb2.py +68 -0
  58. yandex/cloud/mdb/spqr/v1/backup_service_pb2.pyi +121 -0
  59. yandex/cloud/mdb/spqr/v1/backup_service_pb2_grpc.py +193 -0
  60. yandex/cloud/mdb/spqr/v1/backup_service_pb2_grpc.pyi +101 -0
  61. yandex/cloud/mdb/spqr/v1/cluster_pb2.py +58 -0
  62. yandex/cloud/mdb/spqr/v1/cluster_pb2.pyi +330 -0
  63. yandex/cloud/mdb/spqr/v1/cluster_pb2_grpc.py +24 -0
  64. yandex/cloud/mdb/spqr/v1/cluster_pb2_grpc.pyi +17 -0
  65. yandex/cloud/mdb/spqr/v1/cluster_service_pb2.py +403 -0
  66. yandex/cloud/mdb/spqr/v1/cluster_service_pb2.pyi +1790 -0
  67. yandex/cloud/mdb/spqr/v1/cluster_service_pb2_grpc.py +1250 -0
  68. yandex/cloud/mdb/spqr/v1/cluster_service_pb2_grpc.pyi +588 -0
  69. yandex/cloud/mdb/spqr/v1/config_pb2.py +65 -0
  70. yandex/cloud/mdb/spqr/v1/config_pb2.pyi +341 -0
  71. yandex/cloud/mdb/spqr/v1/config_pb2_grpc.py +24 -0
  72. yandex/cloud/mdb/spqr/v1/config_pb2_grpc.pyi +17 -0
  73. yandex/cloud/mdb/spqr/v1/database_pb2.py +42 -0
  74. yandex/cloud/mdb/spqr/v1/database_pb2.pyi +51 -0
  75. yandex/cloud/mdb/spqr/v1/database_pb2_grpc.py +24 -0
  76. yandex/cloud/mdb/spqr/v1/database_pb2_grpc.pyi +17 -0
  77. yandex/cloud/mdb/spqr/v1/database_service_pb2.py +94 -0
  78. yandex/cloud/mdb/spqr/v1/database_service_pb2.pyi +219 -0
  79. yandex/cloud/mdb/spqr/v1/database_service_pb2_grpc.py +281 -0
  80. yandex/cloud/mdb/spqr/v1/database_service_pb2_grpc.pyi +141 -0
  81. yandex/cloud/mdb/spqr/v1/host_pb2.py +69 -0
  82. yandex/cloud/mdb/spqr/v1/host_pb2.pyi +394 -0
  83. yandex/cloud/mdb/spqr/v1/host_pb2_grpc.py +24 -0
  84. yandex/cloud/mdb/spqr/v1/host_pb2_grpc.pyi +17 -0
  85. yandex/cloud/mdb/spqr/v1/maintenance_pb2.py +53 -0
  86. yandex/cloud/mdb/spqr/v1/maintenance_pb2.pyi +137 -0
  87. yandex/cloud/mdb/spqr/v1/maintenance_pb2_grpc.py +24 -0
  88. yandex/cloud/mdb/spqr/v1/maintenance_pb2_grpc.pyi +17 -0
  89. yandex/cloud/mdb/spqr/v1/resource_preset_pb2.py +37 -0
  90. yandex/cloud/mdb/spqr/v1/resource_preset_pb2.pyi +45 -0
  91. yandex/cloud/mdb/spqr/v1/resource_preset_pb2_grpc.py +24 -0
  92. yandex/cloud/mdb/spqr/v1/resource_preset_pb2_grpc.pyi +17 -0
  93. yandex/cloud/mdb/spqr/v1/resource_preset_service_pb2.py +56 -0
  94. yandex/cloud/mdb/spqr/v1/resource_preset_service_pb2.pyi +84 -0
  95. yandex/cloud/mdb/spqr/v1/resource_preset_service_pb2_grpc.py +148 -0
  96. yandex/cloud/mdb/spqr/v1/resource_preset_service_pb2_grpc.pyi +80 -0
  97. yandex/cloud/mdb/spqr/v1/shard_pb2.py +37 -0
  98. yandex/cloud/mdb/spqr/v1/shard_pb2.pyi +31 -0
  99. yandex/cloud/mdb/spqr/v1/shard_pb2_grpc.py +24 -0
  100. yandex/cloud/mdb/spqr/v1/shard_pb2_grpc.pyi +17 -0
  101. yandex/cloud/mdb/spqr/v1/user_pb2.py +53 -0
  102. yandex/cloud/mdb/spqr/v1/user_pb2.pyi +133 -0
  103. yandex/cloud/mdb/spqr/v1/user_pb2_grpc.py +24 -0
  104. yandex/cloud/mdb/spqr/v1/user_pb2_grpc.pyi +17 -0
  105. yandex/cloud/mdb/spqr/v1/user_service_pb2.py +107 -0
  106. yandex/cloud/mdb/spqr/v1/user_service_pb2.pyi +293 -0
  107. yandex/cloud/mdb/spqr/v1/user_service_pb2_grpc.py +325 -0
  108. yandex/cloud/mdb/spqr/v1/user_service_pb2_grpc.pyi +161 -0
  109. yandex/cloud/monitoring/v3/dashboard_pb2.py +6 -5
  110. yandex/cloud/monitoring/v3/dashboard_pb2.pyi +9 -2
  111. yandex/cloud/monitoring/v3/dashboard_service_pb2.py +30 -29
  112. yandex/cloud/monitoring/v3/dashboard_service_pb2.pyi +17 -4
  113. yandex/cloud/monitoring/v3/timeline_pb2.py +37 -0
  114. yandex/cloud/monitoring/v3/timeline_pb2.pyi +31 -0
  115. yandex/cloud/monitoring/v3/timeline_pb2_grpc.py +24 -0
  116. yandex/cloud/monitoring/v3/timeline_pb2_grpc.pyi +17 -0
  117. yandex/cloud/searchapi/v2/gen_search_service_pb2.py +83 -0
  118. yandex/cloud/searchapi/v2/gen_search_service_pb2.pyi +297 -0
  119. yandex/cloud/searchapi/v2/gen_search_service_pb2_grpc.py +100 -0
  120. yandex/cloud/searchapi/v2/gen_search_service_pb2_grpc.pyi +47 -0
  121. yandex/cloud/searchapi/v2/search_service_pb2.py +16 -12
  122. yandex/cloud/storage/v1/s3api_pb2.py +7 -1
  123. yandex/cloud/storage/v1/s3api_pb2.pyi +128 -1
  124. yandex/cloud/video/v1/channel_pb2.py +16 -11
  125. yandex/cloud/video/v1/channel_pb2.pyi +32 -2
  126. yandex/cloud/video/v1/channel_service_pb2.py +34 -30
  127. yandex/cloud/video/v1/channel_service_pb2.pyi +27 -10
  128. yandex/cloud/video/v1/channel_service_pb2_grpc.py +4 -4
  129. yandex/cloud/video/v1/channel_service_pb2_grpc.pyi +12 -12
  130. yandex/cloud/video/v1/episode_pb2.pyi +5 -4
  131. yandex/cloud/video/v1/episode_service_pb2.py +56 -52
  132. yandex/cloud/video/v1/episode_service_pb2.pyi +18 -12
  133. yandex/cloud/video/v1/episode_service_pb2_grpc.py +4 -4
  134. yandex/cloud/video/v1/episode_service_pb2_grpc.pyi +12 -12
  135. yandex/cloud/video/v1/playlist_service_pb2.py +34 -30
  136. yandex/cloud/video/v1/playlist_service_pb2.pyi +11 -6
  137. yandex/cloud/video/v1/playlist_service_pb2_grpc.py +3 -3
  138. yandex/cloud/video/v1/playlist_service_pb2_grpc.pyi +9 -9
  139. yandex/cloud/video/v1/stream_line_pb2.py +16 -24
  140. yandex/cloud/video/v1/stream_line_pb2.pyi +34 -108
  141. yandex/cloud/video/v1/stream_line_service_pb2.py +60 -70
  142. yandex/cloud/video/v1/stream_line_service_pb2.pyi +17 -119
  143. yandex/cloud/video/v1/stream_line_service_pb2_grpc.py +3 -3
  144. yandex/cloud/video/v1/stream_line_service_pb2_grpc.pyi +9 -9
  145. yandex/cloud/video/v1/stream_pb2.py +12 -11
  146. yandex/cloud/video/v1/stream_pb2.pyi +19 -6
  147. yandex/cloud/video/v1/stream_service_pb2.py +54 -49
  148. yandex/cloud/video/v1/stream_service_pb2.pyi +34 -13
  149. yandex/cloud/video/v1/stream_service_pb2_grpc.py +2 -2
  150. yandex/cloud/video/v1/stream_service_pb2_grpc.pyi +6 -6
  151. yandex/cloud/video/v1/subtitle_pb2.py +6 -4
  152. yandex/cloud/video/v1/subtitle_pb2.pyi +30 -2
  153. yandex/cloud/video/v1/subtitle_service_pb2.py +21 -21
  154. yandex/cloud/video/v1/subtitle_service_pb2.pyi +7 -5
  155. yandex/cloud/video/v1/subtitle_service_pb2_grpc.py +1 -1
  156. yandex/cloud/video/v1/subtitle_service_pb2_grpc.pyi +3 -3
  157. yandex/cloud/video/v1/thumbnail_service_pb2.py +29 -25
  158. yandex/cloud/video/v1/thumbnail_service_pb2.pyi +68 -6
  159. yandex/cloud/video/v1/thumbnail_service_pb2_grpc.py +3 -3
  160. yandex/cloud/video/v1/thumbnail_service_pb2_grpc.pyi +9 -9
  161. yandex/cloud/video/v1/video_pb2.py +24 -18
  162. yandex/cloud/video/v1/video_pb2.pyi +130 -38
  163. yandex/cloud/video/v1/video_service_pb2.py +114 -66
  164. yandex/cloud/video/v1/video_service_pb2.pyi +279 -40
  165. yandex/cloud/video/v1/video_service_pb2_grpc.py +50 -6
  166. yandex/cloud/video/v1/video_service_pb2_grpc.pyi +38 -18
  167. yandex/cloud/ydb/v1/database_pb2.py +46 -46
  168. yandex/cloud/ydb/v1/database_pb2.pyi +10 -2
  169. yandex/cloud/ydb/v1/database_service_pb2.py +18 -18
  170. yandex/cloud/ydb/v1/database_service_pb2.pyi +10 -2
  171. yandexcloud/__init__.py +1 -1
  172. {yandexcloud-0.336.0.dist-info → yandexcloud-0.337.0.dist-info}/METADATA +1 -1
  173. {yandexcloud-0.336.0.dist-info → yandexcloud-0.337.0.dist-info}/RECORD +177 -99
  174. {yandexcloud-0.336.0.dist-info → yandexcloud-0.337.0.dist-info}/WHEEL +1 -1
  175. {yandexcloud-0.336.0.dist-info → yandexcloud-0.337.0.dist-info}/AUTHORS +0 -0
  176. {yandexcloud-0.336.0.dist-info → yandexcloud-0.337.0.dist-info}/LICENSE +0 -0
  177. {yandexcloud-0.336.0.dist-info → yandexcloud-0.337.0.dist-info}/top_level.txt +0 -0
@@ -11,6 +11,7 @@ import google.protobuf.internal.containers
11
11
  import google.protobuf.message
12
12
  import typing
13
13
  import yandex.cloud.airflow.v1.cluster_pb2
14
+ import yandex.cloud.airflow.v1.maintenance_pb2
14
15
  import yandex.cloud.operation.operation_pb2
15
16
 
16
17
  DESCRIPTOR: google.protobuf.descriptor.FileDescriptor
@@ -126,6 +127,7 @@ class CreateClusterRequest(google.protobuf.message.Message):
126
127
  SERVICE_ACCOUNT_ID_FIELD_NUMBER: builtins.int
127
128
  LOGGING_FIELD_NUMBER: builtins.int
128
129
  ADMIN_PASSWORD_FIELD_NUMBER: builtins.int
130
+ MAINTENANCE_WINDOW_FIELD_NUMBER: builtins.int
129
131
  folder_id: builtins.str
130
132
  """ID of the folder to create Apache Airflow cluster in."""
131
133
  name: builtins.str
@@ -160,6 +162,10 @@ class CreateClusterRequest(google.protobuf.message.Message):
160
162
  def logging(self) -> yandex.cloud.airflow.v1.cluster_pb2.LoggingConfig:
161
163
  """Cloud Logging configuration."""
162
164
 
165
+ @property
166
+ def maintenance_window(self) -> yandex.cloud.airflow.v1.maintenance_pb2.MaintenanceWindow:
167
+ """Window of maintenance operations."""
168
+
163
169
  def __init__(
164
170
  self,
165
171
  *,
@@ -174,9 +180,10 @@ class CreateClusterRequest(google.protobuf.message.Message):
174
180
  service_account_id: builtins.str = ...,
175
181
  logging: yandex.cloud.airflow.v1.cluster_pb2.LoggingConfig | None = ...,
176
182
  admin_password: builtins.str = ...,
183
+ maintenance_window: yandex.cloud.airflow.v1.maintenance_pb2.MaintenanceWindow | None = ...,
177
184
  ) -> None: ...
178
- def HasField(self, field_name: typing.Literal["code_sync", b"code_sync", "config", b"config", "logging", b"logging", "network", b"network"]) -> builtins.bool: ...
179
- def ClearField(self, field_name: typing.Literal["admin_password", b"admin_password", "code_sync", b"code_sync", "config", b"config", "deletion_protection", b"deletion_protection", "description", b"description", "folder_id", b"folder_id", "labels", b"labels", "logging", b"logging", "name", b"name", "network", b"network", "service_account_id", b"service_account_id"]) -> None: ...
185
+ def HasField(self, field_name: typing.Literal["code_sync", b"code_sync", "config", b"config", "logging", b"logging", "maintenance_window", b"maintenance_window", "network", b"network"]) -> builtins.bool: ...
186
+ def ClearField(self, field_name: typing.Literal["admin_password", b"admin_password", "code_sync", b"code_sync", "config", b"config", "deletion_protection", b"deletion_protection", "description", b"description", "folder_id", b"folder_id", "labels", b"labels", "logging", b"logging", "maintenance_window", b"maintenance_window", "name", b"name", "network", b"network", "service_account_id", b"service_account_id"]) -> None: ...
180
187
 
181
188
  global___CreateClusterRequest = CreateClusterRequest
182
189
 
@@ -308,6 +315,7 @@ class UpdateClusterRequest(google.protobuf.message.Message):
308
315
  DELETION_PROTECTION_FIELD_NUMBER: builtins.int
309
316
  SERVICE_ACCOUNT_ID_FIELD_NUMBER: builtins.int
310
317
  LOGGING_FIELD_NUMBER: builtins.int
318
+ MAINTENANCE_WINDOW_FIELD_NUMBER: builtins.int
311
319
  cluster_id: builtins.str
312
320
  """ID of the Apache Airflow Cluster resource to update."""
313
321
  name: builtins.str
@@ -348,6 +356,10 @@ class UpdateClusterRequest(google.protobuf.message.Message):
348
356
  def logging(self) -> yandex.cloud.airflow.v1.cluster_pb2.LoggingConfig:
349
357
  """Cloud Logging configuration."""
350
358
 
359
+ @property
360
+ def maintenance_window(self) -> yandex.cloud.airflow.v1.maintenance_pb2.MaintenanceWindow:
361
+ """Window of maintenance operations."""
362
+
351
363
  def __init__(
352
364
  self,
353
365
  *,
@@ -362,9 +374,10 @@ class UpdateClusterRequest(google.protobuf.message.Message):
362
374
  deletion_protection: builtins.bool = ...,
363
375
  service_account_id: builtins.str = ...,
364
376
  logging: yandex.cloud.airflow.v1.cluster_pb2.LoggingConfig | None = ...,
377
+ maintenance_window: yandex.cloud.airflow.v1.maintenance_pb2.MaintenanceWindow | None = ...,
365
378
  ) -> None: ...
366
- def HasField(self, field_name: typing.Literal["code_sync", b"code_sync", "config_spec", b"config_spec", "logging", b"logging", "network_spec", b"network_spec", "update_mask", b"update_mask"]) -> builtins.bool: ...
367
- def ClearField(self, field_name: typing.Literal["cluster_id", b"cluster_id", "code_sync", b"code_sync", "config_spec", b"config_spec", "deletion_protection", b"deletion_protection", "description", b"description", "labels", b"labels", "logging", b"logging", "name", b"name", "network_spec", b"network_spec", "service_account_id", b"service_account_id", "update_mask", b"update_mask"]) -> None: ...
379
+ def HasField(self, field_name: typing.Literal["code_sync", b"code_sync", "config_spec", b"config_spec", "logging", b"logging", "maintenance_window", b"maintenance_window", "network_spec", b"network_spec", "update_mask", b"update_mask"]) -> builtins.bool: ...
380
+ def ClearField(self, field_name: typing.Literal["cluster_id", b"cluster_id", "code_sync", b"code_sync", "config_spec", b"config_spec", "deletion_protection", b"deletion_protection", "description", b"description", "labels", b"labels", "logging", b"logging", "maintenance_window", b"maintenance_window", "name", b"name", "network_spec", b"network_spec", "service_account_id", b"service_account_id", "update_mask", b"update_mask"]) -> None: ...
368
381
 
369
382
  global___UpdateClusterRequest = UpdateClusterRequest
370
383
 
@@ -0,0 +1,53 @@
1
+ # -*- coding: utf-8 -*-
2
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
3
+ # NO CHECKED-IN PROTOBUF GENCODE
4
+ # source: yandex/cloud/airflow/v1/maintenance.proto
5
+ # Protobuf Python Version: 5.29.0
6
+ """Generated protocol buffer code."""
7
+ from google.protobuf import descriptor as _descriptor
8
+ from google.protobuf import descriptor_pool as _descriptor_pool
9
+ from google.protobuf import runtime_version as _runtime_version
10
+ from google.protobuf import symbol_database as _symbol_database
11
+ from google.protobuf.internal import builder as _builder
12
+ _runtime_version.ValidateProtobufRuntimeVersion(
13
+ _runtime_version.Domain.PUBLIC,
14
+ 5,
15
+ 29,
16
+ 0,
17
+ '',
18
+ 'yandex/cloud/airflow/v1/maintenance.proto'
19
+ )
20
+ # @@protoc_insertion_point(imports)
21
+
22
+ _sym_db = _symbol_database.Default()
23
+
24
+
25
+ from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2
26
+ from yandex.cloud import validation_pb2 as yandex_dot_cloud_dot_validation__pb2
27
+
28
+
29
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n)yandex/cloud/airflow/v1/maintenance.proto\x12\x17yandex.cloud.airflow.v1\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1dyandex/cloud/validation.proto\"\xc0\x01\n\x11MaintenanceWindow\x12\x44\n\x07\x61nytime\x18\x01 \x01(\x0b\x32\x31.yandex.cloud.airflow.v1.AnytimeMaintenanceWindowH\x00\x12U\n\x19weekly_maintenance_window\x18\x02 \x01(\x0b\x32\x30.yandex.cloud.airflow.v1.WeeklyMaintenanceWindowH\x00\x42\x0e\n\x06policy\x12\x04\xc0\xc1\x31\x01\"\x1a\n\x18\x41nytimeMaintenanceWindow\"\xdc\x01\n\x17WeeklyMaintenanceWindow\x12\x45\n\x03\x64\x61y\x18\x01 \x01(\x0e\x32\x38.yandex.cloud.airflow.v1.WeeklyMaintenanceWindow.WeekDay\x12\x16\n\x04hour\x18\x02 \x01(\x03\x42\x08\xfa\xc7\x31\x04\x31-24\"b\n\x07WeekDay\x12\x18\n\x14WEEK_DAY_UNSPECIFIED\x10\x00\x12\x07\n\x03MON\x10\x01\x12\x07\n\x03TUE\x10\x02\x12\x07\n\x03WED\x10\x03\x12\x07\n\x03THU\x10\x04\x12\x07\n\x03\x46RI\x10\x05\x12\x07\n\x03SAT\x10\x06\x12\x07\n\x03SUN\x10\x07\"\xe1\x01\n\x14MaintenanceOperation\x12\x17\n\x04info\x18\x01 \x01(\tB\t\x8a\xc8\x31\x05<=256\x12\x31\n\rdelayed_until\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12;\n\x17latest_maintenance_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12@\n\x1cnext_maintenance_window_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.TimestampBb\n\x1byandex.cloud.api.airflow.v1ZCgithub.com/yandex-cloud/go-genproto/yandex/cloud/airflow/v1;airflowb\x06proto3')
30
+
31
+ _globals = globals()
32
+ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
33
+ _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'yandex.cloud.airflow.v1.maintenance_pb2', _globals)
34
+ if not _descriptor._USE_C_DESCRIPTORS:
35
+ _globals['DESCRIPTOR']._loaded_options = None
36
+ _globals['DESCRIPTOR']._serialized_options = b'\n\033yandex.cloud.api.airflow.v1ZCgithub.com/yandex-cloud/go-genproto/yandex/cloud/airflow/v1;airflow'
37
+ _globals['_MAINTENANCEWINDOW'].oneofs_by_name['policy']._loaded_options = None
38
+ _globals['_MAINTENANCEWINDOW'].oneofs_by_name['policy']._serialized_options = b'\300\3011\001'
39
+ _globals['_WEEKLYMAINTENANCEWINDOW'].fields_by_name['hour']._loaded_options = None
40
+ _globals['_WEEKLYMAINTENANCEWINDOW'].fields_by_name['hour']._serialized_options = b'\372\3071\0041-24'
41
+ _globals['_MAINTENANCEOPERATION'].fields_by_name['info']._loaded_options = None
42
+ _globals['_MAINTENANCEOPERATION'].fields_by_name['info']._serialized_options = b'\212\3101\005<=256'
43
+ _globals['_MAINTENANCEWINDOW']._serialized_start=135
44
+ _globals['_MAINTENANCEWINDOW']._serialized_end=327
45
+ _globals['_ANYTIMEMAINTENANCEWINDOW']._serialized_start=329
46
+ _globals['_ANYTIMEMAINTENANCEWINDOW']._serialized_end=355
47
+ _globals['_WEEKLYMAINTENANCEWINDOW']._serialized_start=358
48
+ _globals['_WEEKLYMAINTENANCEWINDOW']._serialized_end=578
49
+ _globals['_WEEKLYMAINTENANCEWINDOW_WEEKDAY']._serialized_start=480
50
+ _globals['_WEEKLYMAINTENANCEWINDOW_WEEKDAY']._serialized_end=578
51
+ _globals['_MAINTENANCEOPERATION']._serialized_start=581
52
+ _globals['_MAINTENANCEOPERATION']._serialized_end=806
53
+ # @@protoc_insertion_point(module_scope)
@@ -0,0 +1,123 @@
1
+ """
2
+ @generated by mypy-protobuf. Do not edit manually!
3
+ isort:skip_file
4
+ """
5
+
6
+ import builtins
7
+ import google.protobuf.descriptor
8
+ import google.protobuf.internal.enum_type_wrapper
9
+ import google.protobuf.message
10
+ import google.protobuf.timestamp_pb2
11
+ import sys
12
+ import typing
13
+
14
+ if sys.version_info >= (3, 10):
15
+ import typing as typing_extensions
16
+ else:
17
+ import typing_extensions
18
+
19
+ DESCRIPTOR: google.protobuf.descriptor.FileDescriptor
20
+
21
+ @typing.final
22
+ class MaintenanceWindow(google.protobuf.message.Message):
23
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
24
+
25
+ ANYTIME_FIELD_NUMBER: builtins.int
26
+ WEEKLY_MAINTENANCE_WINDOW_FIELD_NUMBER: builtins.int
27
+ @property
28
+ def anytime(self) -> global___AnytimeMaintenanceWindow: ...
29
+ @property
30
+ def weekly_maintenance_window(self) -> global___WeeklyMaintenanceWindow: ...
31
+ def __init__(
32
+ self,
33
+ *,
34
+ anytime: global___AnytimeMaintenanceWindow | None = ...,
35
+ weekly_maintenance_window: global___WeeklyMaintenanceWindow | None = ...,
36
+ ) -> None: ...
37
+ def HasField(self, field_name: typing.Literal["anytime", b"anytime", "policy", b"policy", "weekly_maintenance_window", b"weekly_maintenance_window"]) -> builtins.bool: ...
38
+ def ClearField(self, field_name: typing.Literal["anytime", b"anytime", "policy", b"policy", "weekly_maintenance_window", b"weekly_maintenance_window"]) -> None: ...
39
+ def WhichOneof(self, oneof_group: typing.Literal["policy", b"policy"]) -> typing.Literal["anytime", "weekly_maintenance_window"] | None: ...
40
+
41
+ global___MaintenanceWindow = MaintenanceWindow
42
+
43
+ @typing.final
44
+ class AnytimeMaintenanceWindow(google.protobuf.message.Message):
45
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
46
+
47
+ def __init__(
48
+ self,
49
+ ) -> None: ...
50
+
51
+ global___AnytimeMaintenanceWindow = AnytimeMaintenanceWindow
52
+
53
+ @typing.final
54
+ class WeeklyMaintenanceWindow(google.protobuf.message.Message):
55
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
56
+
57
+ class _WeekDay:
58
+ ValueType = typing.NewType("ValueType", builtins.int)
59
+ V: typing_extensions.TypeAlias = ValueType
60
+
61
+ class _WeekDayEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[WeeklyMaintenanceWindow._WeekDay.ValueType], builtins.type):
62
+ DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor
63
+ WEEK_DAY_UNSPECIFIED: WeeklyMaintenanceWindow._WeekDay.ValueType # 0
64
+ MON: WeeklyMaintenanceWindow._WeekDay.ValueType # 1
65
+ TUE: WeeklyMaintenanceWindow._WeekDay.ValueType # 2
66
+ WED: WeeklyMaintenanceWindow._WeekDay.ValueType # 3
67
+ THU: WeeklyMaintenanceWindow._WeekDay.ValueType # 4
68
+ FRI: WeeklyMaintenanceWindow._WeekDay.ValueType # 5
69
+ SAT: WeeklyMaintenanceWindow._WeekDay.ValueType # 6
70
+ SUN: WeeklyMaintenanceWindow._WeekDay.ValueType # 7
71
+
72
+ class WeekDay(_WeekDay, metaclass=_WeekDayEnumTypeWrapper): ...
73
+ WEEK_DAY_UNSPECIFIED: WeeklyMaintenanceWindow.WeekDay.ValueType # 0
74
+ MON: WeeklyMaintenanceWindow.WeekDay.ValueType # 1
75
+ TUE: WeeklyMaintenanceWindow.WeekDay.ValueType # 2
76
+ WED: WeeklyMaintenanceWindow.WeekDay.ValueType # 3
77
+ THU: WeeklyMaintenanceWindow.WeekDay.ValueType # 4
78
+ FRI: WeeklyMaintenanceWindow.WeekDay.ValueType # 5
79
+ SAT: WeeklyMaintenanceWindow.WeekDay.ValueType # 6
80
+ SUN: WeeklyMaintenanceWindow.WeekDay.ValueType # 7
81
+
82
+ DAY_FIELD_NUMBER: builtins.int
83
+ HOUR_FIELD_NUMBER: builtins.int
84
+ day: global___WeeklyMaintenanceWindow.WeekDay.ValueType
85
+ hour: builtins.int
86
+ """Hour of the day in UTC."""
87
+ def __init__(
88
+ self,
89
+ *,
90
+ day: global___WeeklyMaintenanceWindow.WeekDay.ValueType = ...,
91
+ hour: builtins.int = ...,
92
+ ) -> None: ...
93
+ def ClearField(self, field_name: typing.Literal["day", b"day", "hour", b"hour"]) -> None: ...
94
+
95
+ global___WeeklyMaintenanceWindow = WeeklyMaintenanceWindow
96
+
97
+ @typing.final
98
+ class MaintenanceOperation(google.protobuf.message.Message):
99
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
100
+
101
+ INFO_FIELD_NUMBER: builtins.int
102
+ DELAYED_UNTIL_FIELD_NUMBER: builtins.int
103
+ LATEST_MAINTENANCE_TIME_FIELD_NUMBER: builtins.int
104
+ NEXT_MAINTENANCE_WINDOW_TIME_FIELD_NUMBER: builtins.int
105
+ info: builtins.str
106
+ @property
107
+ def delayed_until(self) -> google.protobuf.timestamp_pb2.Timestamp: ...
108
+ @property
109
+ def latest_maintenance_time(self) -> google.protobuf.timestamp_pb2.Timestamp: ...
110
+ @property
111
+ def next_maintenance_window_time(self) -> google.protobuf.timestamp_pb2.Timestamp: ...
112
+ def __init__(
113
+ self,
114
+ *,
115
+ info: builtins.str = ...,
116
+ delayed_until: google.protobuf.timestamp_pb2.Timestamp | None = ...,
117
+ latest_maintenance_time: google.protobuf.timestamp_pb2.Timestamp | None = ...,
118
+ next_maintenance_window_time: google.protobuf.timestamp_pb2.Timestamp | None = ...,
119
+ ) -> None: ...
120
+ def HasField(self, field_name: typing.Literal["delayed_until", b"delayed_until", "latest_maintenance_time", b"latest_maintenance_time", "next_maintenance_window_time", b"next_maintenance_window_time"]) -> builtins.bool: ...
121
+ def ClearField(self, field_name: typing.Literal["delayed_until", b"delayed_until", "info", b"info", "latest_maintenance_time", b"latest_maintenance_time", "next_maintenance_window_time", b"next_maintenance_window_time"]) -> None: ...
122
+
123
+ global___MaintenanceOperation = MaintenanceOperation
@@ -0,0 +1,24 @@
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
+ import warnings
5
+
6
+
7
+ GRPC_GENERATED_VERSION = '1.70.0'
8
+ GRPC_VERSION = grpc.__version__
9
+ _version_not_supported = False
10
+
11
+ try:
12
+ from grpc._utilities import first_version_is_lower
13
+ _version_not_supported = first_version_is_lower(GRPC_VERSION, GRPC_GENERATED_VERSION)
14
+ except ImportError:
15
+ _version_not_supported = True
16
+
17
+ if _version_not_supported:
18
+ raise RuntimeError(
19
+ f'The grpc package installed is at version {GRPC_VERSION},'
20
+ + f' but the generated code in yandex/cloud/airflow/v1/maintenance_pb2_grpc.py depends on'
21
+ + f' grpcio>={GRPC_GENERATED_VERSION}.'
22
+ + f' Please upgrade your grpc module to grpcio>={GRPC_GENERATED_VERSION}'
23
+ + f' or downgrade your generated code using grpcio-tools<={GRPC_VERSION}.'
24
+ )
@@ -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
+ ...
@@ -25,7 +25,7 @@ _sym_db = _symbol_database.Default()
25
25
  from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2
26
26
 
27
27
 
28
- DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n(yandex/cloud/iot/devices/v1/device.proto\x12\x1byandex.cloud.iot.devices.v1\x1a\x1fgoogle/protobuf/timestamp.proto\"\xd1\x03\n\x06\x44\x65vice\x12\n\n\x02id\x18\x01 \x01(\t\x12\x13\n\x0bregistry_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\x12L\n\rtopic_aliases\x18\x06 \x03(\x0b\x32\x35.yandex.cloud.iot.devices.v1.Device.TopicAliasesEntry\x12:\n\x06status\x18\x07 \x01(\x0e\x32*.yandex.cloud.iot.devices.v1.Device.Status\x12J\n\x0fmonitoring_data\x18\x08 \x01(\x0b\x32\x31.yandex.cloud.iot.devices.v1.DeviceMonitoringData\x1a\x33\n\x11TopicAliasesEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"H\n\x06Status\x12\x16\n\x12STATUS_UNSPECIFIED\x10\x00\x12\x0c\n\x08\x43REATING\x10\x01\x12\n\n\x06\x41\x43TIVE\x10\x02\x12\x0c\n\x08\x44\x45LETING\x10\x03\"\x85\x01\n\x11\x44\x65viceCertificate\x12\x11\n\tdevice_id\x18\x01 \x01(\t\x12\x13\n\x0b\x66ingerprint\x18\x02 \x01(\t\x12\x18\n\x10\x63\x65rtificate_data\x18\x03 \x01(\t\x12.\n\ncreated_at\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"_\n\x0e\x44\x65vicePassword\x12\x11\n\tdevice_id\x18\x01 \x01(\t\x12\n\n\x02id\x18\x02 \x01(\t\x12.\n\ncreated_at\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"\xc8\x02\n\x14\x44\x65viceMonitoringData\x12\x14\n\x0clast_auth_ip\x18\x01 \x01(\t\x12\x32\n\x0elast_auth_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12:\n\x16last_pub_activity_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12:\n\x16last_sub_activity_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x34\n\x10last_online_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x38\n\x14last_disconnect_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.Timestamp*!\n\nDeviceView\x12\t\n\x05\x42\x41SIC\x10\x00\x12\x08\n\x04\x46ULL\x10\x01\x42j\n\x1fyandex.cloud.api.iot.devices.v1ZGgithub.com/yandex-cloud/go-genproto/yandex/cloud/iot/devices/v1;devicesb\x06proto3')
28
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n(yandex/cloud/iot/devices/v1/device.proto\x12\x1byandex.cloud.iot.devices.v1\x1a\x1fgoogle/protobuf/timestamp.proto\"\xc1\x04\n\x06\x44\x65vice\x12\n\n\x02id\x18\x01 \x01(\t\x12\x13\n\x0bregistry_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\x12L\n\rtopic_aliases\x18\x06 \x03(\x0b\x32\x35.yandex.cloud.iot.devices.v1.Device.TopicAliasesEntry\x12:\n\x06status\x18\x07 \x01(\x0e\x32*.yandex.cloud.iot.devices.v1.Device.Status\x12J\n\x0fmonitoring_data\x18\x08 \x01(\x0b\x32\x31.yandex.cloud.iot.devices.v1.DeviceMonitoringData\x12?\n\x06labels\x18\t \x03(\x0b\x32/.yandex.cloud.iot.devices.v1.Device.LabelsEntry\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\"H\n\x06Status\x12\x16\n\x12STATUS_UNSPECIFIED\x10\x00\x12\x0c\n\x08\x43REATING\x10\x01\x12\n\n\x06\x41\x43TIVE\x10\x02\x12\x0c\n\x08\x44\x45LETING\x10\x03\"\x85\x01\n\x11\x44\x65viceCertificate\x12\x11\n\tdevice_id\x18\x01 \x01(\t\x12\x13\n\x0b\x66ingerprint\x18\x02 \x01(\t\x12\x18\n\x10\x63\x65rtificate_data\x18\x03 \x01(\t\x12.\n\ncreated_at\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"_\n\x0e\x44\x65vicePassword\x12\x11\n\tdevice_id\x18\x01 \x01(\t\x12\n\n\x02id\x18\x02 \x01(\t\x12.\n\ncreated_at\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"\xc8\x02\n\x14\x44\x65viceMonitoringData\x12\x14\n\x0clast_auth_ip\x18\x01 \x01(\t\x12\x32\n\x0elast_auth_time\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12:\n\x16last_pub_activity_time\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12:\n\x16last_sub_activity_time\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x34\n\x10last_online_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x38\n\x14last_disconnect_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.Timestamp*!\n\nDeviceView\x12\t\n\x05\x42\x41SIC\x10\x00\x12\x08\n\x04\x46ULL\x10\x01\x42j\n\x1fyandex.cloud.api.iot.devices.v1ZGgithub.com/yandex-cloud/go-genproto/yandex/cloud/iot/devices/v1;devicesb\x06proto3')
29
29
 
30
30
  _globals = globals()
31
31
  _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
@@ -35,18 +35,22 @@ if not _descriptor._USE_C_DESCRIPTORS:
35
35
  _globals['DESCRIPTOR']._serialized_options = b'\n\037yandex.cloud.api.iot.devices.v1ZGgithub.com/yandex-cloud/go-genproto/yandex/cloud/iot/devices/v1;devices'
36
36
  _globals['_DEVICE_TOPICALIASESENTRY']._loaded_options = None
37
37
  _globals['_DEVICE_TOPICALIASESENTRY']._serialized_options = b'8\001'
38
- _globals['_DEVICEVIEW']._serialized_start=1138
39
- _globals['_DEVICEVIEW']._serialized_end=1171
38
+ _globals['_DEVICE_LABELSENTRY']._loaded_options = None
39
+ _globals['_DEVICE_LABELSENTRY']._serialized_options = b'8\001'
40
+ _globals['_DEVICEVIEW']._serialized_start=1250
41
+ _globals['_DEVICEVIEW']._serialized_end=1283
40
42
  _globals['_DEVICE']._serialized_start=107
41
- _globals['_DEVICE']._serialized_end=572
42
- _globals['_DEVICE_TOPICALIASESENTRY']._serialized_start=447
43
- _globals['_DEVICE_TOPICALIASESENTRY']._serialized_end=498
44
- _globals['_DEVICE_STATUS']._serialized_start=500
45
- _globals['_DEVICE_STATUS']._serialized_end=572
46
- _globals['_DEVICECERTIFICATE']._serialized_start=575
47
- _globals['_DEVICECERTIFICATE']._serialized_end=708
48
- _globals['_DEVICEPASSWORD']._serialized_start=710
49
- _globals['_DEVICEPASSWORD']._serialized_end=805
50
- _globals['_DEVICEMONITORINGDATA']._serialized_start=808
51
- _globals['_DEVICEMONITORINGDATA']._serialized_end=1136
43
+ _globals['_DEVICE']._serialized_end=684
44
+ _globals['_DEVICE_TOPICALIASESENTRY']._serialized_start=512
45
+ _globals['_DEVICE_TOPICALIASESENTRY']._serialized_end=563
46
+ _globals['_DEVICE_LABELSENTRY']._serialized_start=565
47
+ _globals['_DEVICE_LABELSENTRY']._serialized_end=610
48
+ _globals['_DEVICE_STATUS']._serialized_start=612
49
+ _globals['_DEVICE_STATUS']._serialized_end=684
50
+ _globals['_DEVICECERTIFICATE']._serialized_start=687
51
+ _globals['_DEVICECERTIFICATE']._serialized_end=820
52
+ _globals['_DEVICEPASSWORD']._serialized_start=822
53
+ _globals['_DEVICEPASSWORD']._serialized_end=917
54
+ _globals['_DEVICEMONITORINGDATA']._serialized_start=920
55
+ _globals['_DEVICEMONITORINGDATA']._serialized_end=1248
52
56
  # @@protoc_insertion_point(module_scope)
@@ -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
 
@@ -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)