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

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (135) hide show
  1. yandex/cloud/ai/assistants/__init__.py +0 -0
  2. yandex/cloud/ai/assistants/v1/__init__.py +0 -0
  3. yandex/cloud/ai/assistants/v1/assistant_pb2.py +33 -0
  4. yandex/cloud/ai/assistants/v1/assistant_pb2.pyi +101 -0
  5. yandex/cloud/ai/assistants/v1/assistant_pb2_grpc.py +4 -0
  6. yandex/cloud/ai/assistants/v1/assistant_pb2_grpc.pyi +17 -0
  7. yandex/cloud/ai/assistants/v1/assistant_service_pb2.py +88 -0
  8. yandex/cloud/ai/assistants/v1/assistant_service_pb2.pyi +293 -0
  9. yandex/cloud/ai/assistants/v1/assistant_service_pb2_grpc.py +232 -0
  10. yandex/cloud/ai/assistants/v1/assistant_service_pb2_grpc.pyi +127 -0
  11. yandex/cloud/ai/assistants/v1/common_pb2.py +33 -0
  12. yandex/cloud/ai/assistants/v1/common_pb2.pyi +91 -0
  13. yandex/cloud/ai/assistants/v1/common_pb2_grpc.py +4 -0
  14. yandex/cloud/ai/assistants/v1/common_pb2_grpc.pyi +17 -0
  15. yandex/cloud/ai/assistants/v1/runs/__init__.py +0 -0
  16. yandex/cloud/ai/assistants/v1/runs/run_pb2.py +40 -0
  17. yandex/cloud/ai/assistants/v1/runs/run_pb2.pyi +154 -0
  18. yandex/cloud/ai/assistants/v1/runs/run_pb2_grpc.py +4 -0
  19. yandex/cloud/ai/assistants/v1/runs/run_pb2_grpc.pyi +17 -0
  20. yandex/cloud/ai/assistants/v1/runs/run_service_pb2.py +77 -0
  21. yandex/cloud/ai/assistants/v1/runs/run_service_pb2.pyi +237 -0
  22. yandex/cloud/ai/assistants/v1/runs/run_service_pb2_grpc.py +199 -0
  23. yandex/cloud/ai/assistants/v1/runs/run_service_pb2_grpc.pyi +110 -0
  24. yandex/cloud/ai/assistants/v1/searchindex/__init__.py +0 -0
  25. yandex/cloud/ai/assistants/v1/searchindex/common_pb2.py +28 -0
  26. yandex/cloud/ai/assistants/v1/searchindex/common_pb2.pyi +47 -0
  27. yandex/cloud/ai/assistants/v1/searchindex/common_pb2_grpc.py +4 -0
  28. yandex/cloud/ai/assistants/v1/searchindex/common_pb2_grpc.pyi +17 -0
  29. yandex/cloud/ai/assistants/v1/searchindex/search_index_file_pb2.py +28 -0
  30. yandex/cloud/ai/assistants/v1/searchindex/search_index_file_pb2.pyi +43 -0
  31. yandex/cloud/ai/assistants/v1/searchindex/search_index_file_pb2_grpc.py +4 -0
  32. yandex/cloud/ai/assistants/v1/searchindex/search_index_file_pb2_grpc.pyi +17 -0
  33. yandex/cloud/ai/assistants/v1/searchindex/search_index_file_service_pb2.py +45 -0
  34. yandex/cloud/ai/assistants/v1/searchindex/search_index_file_service_pb2.pyi +72 -0
  35. yandex/cloud/ai/assistants/v1/searchindex/search_index_file_service_pb2_grpc.py +100 -0
  36. yandex/cloud/ai/assistants/v1/searchindex/search_index_file_service_pb2_grpc.pyi +59 -0
  37. yandex/cloud/ai/assistants/v1/searchindex/search_index_pb2.py +37 -0
  38. yandex/cloud/ai/assistants/v1/searchindex/search_index_pb2.pyi +132 -0
  39. yandex/cloud/ai/assistants/v1/searchindex/search_index_pb2_grpc.py +4 -0
  40. yandex/cloud/ai/assistants/v1/searchindex/search_index_pb2_grpc.pyi +17 -0
  41. yandex/cloud/ai/assistants/v1/searchindex/search_index_service_pb2.py +77 -0
  42. yandex/cloud/ai/assistants/v1/searchindex/search_index_service_pb2.pyi +205 -0
  43. yandex/cloud/ai/assistants/v1/searchindex/search_index_service_pb2_grpc.py +200 -0
  44. yandex/cloud/ai/assistants/v1/searchindex/search_index_service_pb2_grpc.pyi +111 -0
  45. yandex/cloud/ai/assistants/v1/threads/__init__.py +0 -0
  46. yandex/cloud/ai/assistants/v1/threads/message_pb2.py +45 -0
  47. yandex/cloud/ai/assistants/v1/threads/message_pb2.pyi +176 -0
  48. yandex/cloud/ai/assistants/v1/threads/message_pb2_grpc.py +4 -0
  49. yandex/cloud/ai/assistants/v1/threads/message_pb2_grpc.pyi +17 -0
  50. yandex/cloud/ai/assistants/v1/threads/message_service_pb2.py +55 -0
  51. yandex/cloud/ai/assistants/v1/threads/message_service_pb2.pyi +91 -0
  52. yandex/cloud/ai/assistants/v1/threads/message_service_pb2_grpc.py +133 -0
  53. yandex/cloud/ai/assistants/v1/threads/message_service_pb2_grpc.pyi +76 -0
  54. yandex/cloud/ai/assistants/v1/threads/thread_pb2.py +32 -0
  55. yandex/cloud/ai/assistants/v1/threads/thread_pb2.pyi +85 -0
  56. yandex/cloud/ai/assistants/v1/threads/thread_pb2_grpc.py +4 -0
  57. yandex/cloud/ai/assistants/v1/threads/thread_pb2_grpc.pyi +17 -0
  58. yandex/cloud/ai/assistants/v1/threads/thread_service_pb2.py +76 -0
  59. yandex/cloud/ai/assistants/v1/threads/thread_service_pb2.pyi +200 -0
  60. yandex/cloud/ai/assistants/v1/threads/thread_service_pb2_grpc.py +199 -0
  61. yandex/cloud/ai/assistants/v1/threads/thread_service_pb2_grpc.pyi +110 -0
  62. yandex/cloud/ai/assistants/v1/users/__init__.py +0 -0
  63. yandex/cloud/ai/assistants/v1/users/user_pb2.py +32 -0
  64. yandex/cloud/ai/assistants/v1/users/user_pb2.pyi +85 -0
  65. yandex/cloud/ai/assistants/v1/users/user_pb2_grpc.py +4 -0
  66. yandex/cloud/ai/assistants/v1/users/user_pb2_grpc.pyi +17 -0
  67. yandex/cloud/ai/assistants/v1/users/user_service_pb2.py +75 -0
  68. yandex/cloud/ai/assistants/v1/users/user_service_pb2.pyi +195 -0
  69. yandex/cloud/ai/assistants/v1/users/user_service_pb2_grpc.py +199 -0
  70. yandex/cloud/ai/assistants/v1/users/user_service_pb2_grpc.pyi +110 -0
  71. yandex/cloud/ai/common/__init__.py +0 -0
  72. yandex/cloud/ai/common/common_pb2.py +30 -0
  73. yandex/cloud/ai/common/common_pb2.pyi +69 -0
  74. yandex/cloud/ai/common/common_pb2_grpc.py +4 -0
  75. yandex/cloud/ai/common/common_pb2_grpc.pyi +17 -0
  76. yandex/cloud/ai/files/__init__.py +0 -0
  77. yandex/cloud/ai/files/v1/__init__.py +0 -0
  78. yandex/cloud/ai/files/v1/file_pb2.py +32 -0
  79. yandex/cloud/ai/files/v1/file_pb2.pyi +85 -0
  80. yandex/cloud/ai/files/v1/file_pb2_grpc.py +4 -0
  81. yandex/cloud/ai/files/v1/file_pb2_grpc.pyi +17 -0
  82. yandex/cloud/ai/files/v1/file_service_pb2.py +85 -0
  83. yandex/cloud/ai/files/v1/file_service_pb2.pyi +228 -0
  84. yandex/cloud/ai/files/v1/file_service_pb2_grpc.py +232 -0
  85. yandex/cloud/ai/files/v1/file_service_pb2_grpc.pyi +127 -0
  86. yandex/cloud/backup/v1/provider_service_pb2.py +12 -10
  87. yandex/cloud/backup/v1/provider_service_pb2.pyi +5 -1
  88. yandex/cloud/billing/v1/customer_pb2.pyi +32 -8
  89. yandex/cloud/billing/v1/customer_service_pb2.pyi +10 -2
  90. yandex/cloud/cloudrouter/__init__.py +0 -0
  91. yandex/cloud/cloudrouter/v1/__init__.py +0 -0
  92. yandex/cloud/cloudrouter/v1/routing_instance_pb2.py +42 -0
  93. yandex/cloud/cloudrouter/v1/routing_instance_pb2.pyi +215 -0
  94. yandex/cloud/cloudrouter/v1/routing_instance_pb2_grpc.py +4 -0
  95. yandex/cloud/cloudrouter/v1/routing_instance_pb2_grpc.pyi +17 -0
  96. yandex/cloud/cloudrouter/v1/routing_instance_service_pb2.py +57 -0
  97. yandex/cloud/cloudrouter/v1/routing_instance_service_pb2.pyi +137 -0
  98. yandex/cloud/cloudrouter/v1/routing_instance_service_pb2_grpc.py +179 -0
  99. yandex/cloud/cloudrouter/v1/routing_instance_service_pb2_grpc.pyi +138 -0
  100. yandex/cloud/iam/v1/refresh_token_pb2.py +29 -0
  101. yandex/cloud/iam/v1/refresh_token_pb2.pyi +98 -0
  102. yandex/cloud/iam/v1/refresh_token_pb2_grpc.py +4 -0
  103. yandex/cloud/iam/v1/refresh_token_pb2_grpc.pyi +17 -0
  104. yandex/cloud/iam/v1/refresh_token_service_pb2.py +67 -0
  105. yandex/cloud/iam/v1/refresh_token_service_pb2.pyi +186 -0
  106. yandex/cloud/iam/v1/refresh_token_service_pb2_grpc.py +105 -0
  107. yandex/cloud/iam/v1/refresh_token_service_pb2_grpc.pyi +71 -0
  108. yandex/cloud/iam/v1/service_control_pb2.py +5 -5
  109. yandex/cloud/iam/v1/service_control_pb2.pyi +4 -0
  110. yandex/cloud/lockbox/v1/secret_pb2.py +23 -11
  111. yandex/cloud/lockbox/v1/secret_pb2.pyi +73 -4
  112. yandex/cloud/lockbox/v1/secret_service_pb2.py +46 -46
  113. yandex/cloud/lockbox/v1/secret_service_pb2.pyi +14 -3
  114. yandex/cloud/mdb/clickhouse/v1/cluster_pb2.py +27 -25
  115. yandex/cloud/mdb/clickhouse/v1/cluster_pb2.pyi +16 -0
  116. yandex/cloud/mdb/clickhouse/v1/cluster_service_pb2.py +81 -57
  117. yandex/cloud/mdb/clickhouse/v1/cluster_service_pb2.pyi +144 -0
  118. yandex/cloud/mdb/clickhouse/v1/cluster_service_pb2_grpc.py +68 -0
  119. yandex/cloud/mdb/clickhouse/v1/cluster_service_pb2_grpc.pyi +40 -0
  120. yandex/cloud/oauth/claims_pb2.py +8 -7
  121. yandex/cloud/oauth/claims_pb2.pyi +9 -2
  122. yandex/cloud/serverless/eventrouter/v1/connector_service_pb2.pyi +1 -1
  123. yandex/cloud/serverless/eventrouter/v1/rule_pb2.pyi +3 -1
  124. yandex/cloud/serverless/eventrouter/v1/rule_service_pb2.pyi +2 -0
  125. yandex/cloud/storage/v1/s3api_pb2.py +35 -0
  126. yandex/cloud/storage/v1/s3api_pb2.pyi +181 -0
  127. yandex/cloud/storage/v1/s3api_pb2_grpc.py +4 -0
  128. yandex/cloud/storage/v1/s3api_pb2_grpc.pyi +17 -0
  129. yandexcloud/_sdk.py +2 -0
  130. {yandexcloud-0.317.0.dist-info → yandexcloud-0.319.0.dist-info}/METADATA +1 -1
  131. {yandexcloud-0.317.0.dist-info → yandexcloud-0.319.0.dist-info}/RECORD +135 -28
  132. {yandexcloud-0.317.0.dist-info → yandexcloud-0.319.0.dist-info}/AUTHORS +0 -0
  133. {yandexcloud-0.317.0.dist-info → yandexcloud-0.319.0.dist-info}/LICENSE +0 -0
  134. {yandexcloud-0.317.0.dist-info → yandexcloud-0.319.0.dist-info}/WHEEL +0 -0
  135. {yandexcloud-0.317.0.dist-info → yandexcloud-0.319.0.dist-info}/top_level.txt +0 -0
@@ -137,6 +137,11 @@ class ClusterServiceStub(object):
137
137
  request_serializer=yandex_dot_cloud_dot_mdb_dot_clickhouse_dot_v1_dot_cluster__service__pb2.AddClusterShardRequest.SerializeToString,
138
138
  response_deserializer=yandex_dot_cloud_dot_operation_dot_operation__pb2.Operation.FromString,
139
139
  )
140
+ self.AddShards = channel.unary_unary(
141
+ '/yandex.cloud.mdb.clickhouse.v1.ClusterService/AddShards',
142
+ request_serializer=yandex_dot_cloud_dot_mdb_dot_clickhouse_dot_v1_dot_cluster__service__pb2.AddClusterShardsRequest.SerializeToString,
143
+ response_deserializer=yandex_dot_cloud_dot_operation_dot_operation__pb2.Operation.FromString,
144
+ )
140
145
  self.UpdateShard = channel.unary_unary(
141
146
  '/yandex.cloud.mdb.clickhouse.v1.ClusterService/UpdateShard',
142
147
  request_serializer=yandex_dot_cloud_dot_mdb_dot_clickhouse_dot_v1_dot_cluster__service__pb2.UpdateClusterShardRequest.SerializeToString,
@@ -147,6 +152,11 @@ class ClusterServiceStub(object):
147
152
  request_serializer=yandex_dot_cloud_dot_mdb_dot_clickhouse_dot_v1_dot_cluster__service__pb2.DeleteClusterShardRequest.SerializeToString,
148
153
  response_deserializer=yandex_dot_cloud_dot_operation_dot_operation__pb2.Operation.FromString,
149
154
  )
155
+ self.DeleteShards = channel.unary_unary(
156
+ '/yandex.cloud.mdb.clickhouse.v1.ClusterService/DeleteShards',
157
+ request_serializer=yandex_dot_cloud_dot_mdb_dot_clickhouse_dot_v1_dot_cluster__service__pb2.DeleteClusterShardsRequest.SerializeToString,
158
+ response_deserializer=yandex_dot_cloud_dot_operation_dot_operation__pb2.Operation.FromString,
159
+ )
150
160
  self.GetShardGroup = channel.unary_unary(
151
161
  '/yandex.cloud.mdb.clickhouse.v1.ClusterService/GetShardGroup',
152
162
  request_serializer=yandex_dot_cloud_dot_mdb_dot_clickhouse_dot_v1_dot_cluster__service__pb2.GetClusterShardGroupRequest.SerializeToString,
@@ -368,6 +378,13 @@ class ClusterServiceServicer(object):
368
378
  context.set_details('Method not implemented!')
369
379
  raise NotImplementedError('Method not implemented!')
370
380
 
381
+ def AddShards(self, request, context):
382
+ """Creates one or more shards in the specified cluster.
383
+ """
384
+ context.set_code(grpc.StatusCode.UNIMPLEMENTED)
385
+ context.set_details('Method not implemented!')
386
+ raise NotImplementedError('Method not implemented!')
387
+
371
388
  def UpdateShard(self, request, context):
372
389
  """Modifies the specified shard.
373
390
  """
@@ -382,6 +399,13 @@ class ClusterServiceServicer(object):
382
399
  context.set_details('Method not implemented!')
383
400
  raise NotImplementedError('Method not implemented!')
384
401
 
402
+ def DeleteShards(self, request, context):
403
+ """Deletes the specified shards (one or more).
404
+ """
405
+ context.set_code(grpc.StatusCode.UNIMPLEMENTED)
406
+ context.set_details('Method not implemented!')
407
+ raise NotImplementedError('Method not implemented!')
408
+
385
409
  def GetShardGroup(self, request, context):
386
410
  """Returns the specified shard group.
387
411
  """
@@ -568,6 +592,11 @@ def add_ClusterServiceServicer_to_server(servicer, server):
568
592
  request_deserializer=yandex_dot_cloud_dot_mdb_dot_clickhouse_dot_v1_dot_cluster__service__pb2.AddClusterShardRequest.FromString,
569
593
  response_serializer=yandex_dot_cloud_dot_operation_dot_operation__pb2.Operation.SerializeToString,
570
594
  ),
595
+ 'AddShards': grpc.unary_unary_rpc_method_handler(
596
+ servicer.AddShards,
597
+ request_deserializer=yandex_dot_cloud_dot_mdb_dot_clickhouse_dot_v1_dot_cluster__service__pb2.AddClusterShardsRequest.FromString,
598
+ response_serializer=yandex_dot_cloud_dot_operation_dot_operation__pb2.Operation.SerializeToString,
599
+ ),
571
600
  'UpdateShard': grpc.unary_unary_rpc_method_handler(
572
601
  servicer.UpdateShard,
573
602
  request_deserializer=yandex_dot_cloud_dot_mdb_dot_clickhouse_dot_v1_dot_cluster__service__pb2.UpdateClusterShardRequest.FromString,
@@ -578,6 +607,11 @@ def add_ClusterServiceServicer_to_server(servicer, server):
578
607
  request_deserializer=yandex_dot_cloud_dot_mdb_dot_clickhouse_dot_v1_dot_cluster__service__pb2.DeleteClusterShardRequest.FromString,
579
608
  response_serializer=yandex_dot_cloud_dot_operation_dot_operation__pb2.Operation.SerializeToString,
580
609
  ),
610
+ 'DeleteShards': grpc.unary_unary_rpc_method_handler(
611
+ servicer.DeleteShards,
612
+ request_deserializer=yandex_dot_cloud_dot_mdb_dot_clickhouse_dot_v1_dot_cluster__service__pb2.DeleteClusterShardsRequest.FromString,
613
+ response_serializer=yandex_dot_cloud_dot_operation_dot_operation__pb2.Operation.SerializeToString,
614
+ ),
581
615
  'GetShardGroup': grpc.unary_unary_rpc_method_handler(
582
616
  servicer.GetShardGroup,
583
617
  request_deserializer=yandex_dot_cloud_dot_mdb_dot_clickhouse_dot_v1_dot_cluster__service__pb2.GetClusterShardGroupRequest.FromString,
@@ -1042,6 +1076,23 @@ class ClusterService(object):
1042
1076
  options, channel_credentials,
1043
1077
  insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
1044
1078
 
1079
+ @staticmethod
1080
+ def AddShards(request,
1081
+ target,
1082
+ options=(),
1083
+ channel_credentials=None,
1084
+ call_credentials=None,
1085
+ insecure=False,
1086
+ compression=None,
1087
+ wait_for_ready=None,
1088
+ timeout=None,
1089
+ metadata=None):
1090
+ return grpc.experimental.unary_unary(request, target, '/yandex.cloud.mdb.clickhouse.v1.ClusterService/AddShards',
1091
+ yandex_dot_cloud_dot_mdb_dot_clickhouse_dot_v1_dot_cluster__service__pb2.AddClusterShardsRequest.SerializeToString,
1092
+ yandex_dot_cloud_dot_operation_dot_operation__pb2.Operation.FromString,
1093
+ options, channel_credentials,
1094
+ insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
1095
+
1045
1096
  @staticmethod
1046
1097
  def UpdateShard(request,
1047
1098
  target,
@@ -1076,6 +1127,23 @@ class ClusterService(object):
1076
1127
  options, channel_credentials,
1077
1128
  insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
1078
1129
 
1130
+ @staticmethod
1131
+ def DeleteShards(request,
1132
+ target,
1133
+ options=(),
1134
+ channel_credentials=None,
1135
+ call_credentials=None,
1136
+ insecure=False,
1137
+ compression=None,
1138
+ wait_for_ready=None,
1139
+ timeout=None,
1140
+ metadata=None):
1141
+ return grpc.experimental.unary_unary(request, target, '/yandex.cloud.mdb.clickhouse.v1.ClusterService/DeleteShards',
1142
+ yandex_dot_cloud_dot_mdb_dot_clickhouse_dot_v1_dot_cluster__service__pb2.DeleteClusterShardsRequest.SerializeToString,
1143
+ yandex_dot_cloud_dot_operation_dot_operation__pb2.Operation.FromString,
1144
+ options, channel_credentials,
1145
+ insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
1146
+
1079
1147
  @staticmethod
1080
1148
  def GetShardGroup(request,
1081
1149
  target,
@@ -171,6 +171,12 @@ class ClusterServiceStub:
171
171
  ]
172
172
  """Creates a new shard in the specified cluster."""
173
173
 
174
+ AddShards: grpc.UnaryUnaryMultiCallable[
175
+ yandex.cloud.mdb.clickhouse.v1.cluster_service_pb2.AddClusterShardsRequest,
176
+ yandex.cloud.operation.operation_pb2.Operation,
177
+ ]
178
+ """Creates one or more shards in the specified cluster."""
179
+
174
180
  UpdateShard: grpc.UnaryUnaryMultiCallable[
175
181
  yandex.cloud.mdb.clickhouse.v1.cluster_service_pb2.UpdateClusterShardRequest,
176
182
  yandex.cloud.operation.operation_pb2.Operation,
@@ -183,6 +189,12 @@ class ClusterServiceStub:
183
189
  ]
184
190
  """Deletes the specified shard."""
185
191
 
192
+ DeleteShards: grpc.UnaryUnaryMultiCallable[
193
+ yandex.cloud.mdb.clickhouse.v1.cluster_service_pb2.DeleteClusterShardsRequest,
194
+ yandex.cloud.operation.operation_pb2.Operation,
195
+ ]
196
+ """Deletes the specified shards (one or more)."""
197
+
186
198
  GetShardGroup: grpc.UnaryUnaryMultiCallable[
187
199
  yandex.cloud.mdb.clickhouse.v1.cluster_service_pb2.GetClusterShardGroupRequest,
188
200
  yandex.cloud.mdb.clickhouse.v1.cluster_pb2.ShardGroup,
@@ -388,6 +400,12 @@ class ClusterServiceAsyncStub:
388
400
  ]
389
401
  """Creates a new shard in the specified cluster."""
390
402
 
403
+ AddShards: grpc.aio.UnaryUnaryMultiCallable[
404
+ yandex.cloud.mdb.clickhouse.v1.cluster_service_pb2.AddClusterShardsRequest,
405
+ yandex.cloud.operation.operation_pb2.Operation,
406
+ ]
407
+ """Creates one or more shards in the specified cluster."""
408
+
391
409
  UpdateShard: grpc.aio.UnaryUnaryMultiCallable[
392
410
  yandex.cloud.mdb.clickhouse.v1.cluster_service_pb2.UpdateClusterShardRequest,
393
411
  yandex.cloud.operation.operation_pb2.Operation,
@@ -400,6 +418,12 @@ class ClusterServiceAsyncStub:
400
418
  ]
401
419
  """Deletes the specified shard."""
402
420
 
421
+ DeleteShards: grpc.aio.UnaryUnaryMultiCallable[
422
+ yandex.cloud.mdb.clickhouse.v1.cluster_service_pb2.DeleteClusterShardsRequest,
423
+ yandex.cloud.operation.operation_pb2.Operation,
424
+ ]
425
+ """Deletes the specified shards (one or more)."""
426
+
403
427
  GetShardGroup: grpc.aio.UnaryUnaryMultiCallable[
404
428
  yandex.cloud.mdb.clickhouse.v1.cluster_service_pb2.GetClusterShardGroupRequest,
405
429
  yandex.cloud.mdb.clickhouse.v1.cluster_pb2.ShardGroup,
@@ -653,6 +677,14 @@ class ClusterServiceServicer(metaclass=abc.ABCMeta):
653
677
  ) -> typing.Union[yandex.cloud.operation.operation_pb2.Operation, collections.abc.Awaitable[yandex.cloud.operation.operation_pb2.Operation]]:
654
678
  """Creates a new shard in the specified cluster."""
655
679
 
680
+ @abc.abstractmethod
681
+ def AddShards(
682
+ self,
683
+ request: yandex.cloud.mdb.clickhouse.v1.cluster_service_pb2.AddClusterShardsRequest,
684
+ context: _ServicerContext,
685
+ ) -> typing.Union[yandex.cloud.operation.operation_pb2.Operation, collections.abc.Awaitable[yandex.cloud.operation.operation_pb2.Operation]]:
686
+ """Creates one or more shards in the specified cluster."""
687
+
656
688
  @abc.abstractmethod
657
689
  def UpdateShard(
658
690
  self,
@@ -669,6 +701,14 @@ class ClusterServiceServicer(metaclass=abc.ABCMeta):
669
701
  ) -> typing.Union[yandex.cloud.operation.operation_pb2.Operation, collections.abc.Awaitable[yandex.cloud.operation.operation_pb2.Operation]]:
670
702
  """Deletes the specified shard."""
671
703
 
704
+ @abc.abstractmethod
705
+ def DeleteShards(
706
+ self,
707
+ request: yandex.cloud.mdb.clickhouse.v1.cluster_service_pb2.DeleteClusterShardsRequest,
708
+ context: _ServicerContext,
709
+ ) -> typing.Union[yandex.cloud.operation.operation_pb2.Operation, collections.abc.Awaitable[yandex.cloud.operation.operation_pb2.Operation]]:
710
+ """Deletes the specified shards (one or more)."""
711
+
672
712
  @abc.abstractmethod
673
713
  def GetShardGroup(
674
714
  self,
@@ -11,10 +11,11 @@ from google.protobuf.internal import builder as _builder
11
11
  _sym_db = _symbol_database.Default()
12
12
 
13
13
 
14
+ from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2
14
15
  from yandex.cloud import validation_pb2 as yandex_dot_cloud_dot_validation__pb2
15
16
 
16
17
 
17
- DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1fyandex/cloud/oauth/claims.proto\x12\x12yandex.cloud.oauth\x1a\x1dyandex/cloud/validation.proto\"\xda\x02\n\rSubjectClaims\x12\x19\n\x03sub\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x12\n\ngiven_name\x18\x03 \x01(\t\x12\x13\n\x0b\x66\x61mily_name\x18\x04 \x01(\t\x12\x1a\n\x12preferred_username\x18\x07 \x01(\t\x12\x0f\n\x07picture\x18\t \x01(\t\x12\r\n\x05\x65mail\x18\x0b \x01(\t\x12\x10\n\x08zoneinfo\x18\x0f \x01(\t\x12\x0e\n\x06locale\x18\x10 \x01(\t\x12\x14\n\x0cphone_number\x18\x11 \x01(\t\x12\x31\n\x08sub_type\x18\x63 \x01(\x0e\x32\x1f.yandex.cloud.oauth.SubjectType\x12\x32\n\nfederation\x18\x64 \x01(\x0b\x32\x1e.yandex.cloud.oauth.FederationJ\x04\x08\x08\x10\tJ\x04\x08\n\x10\x0bJ\x04\x08\x0c\x10\x0fJ\x04\x08\x12\x10\x63J\x04\x08\x05\x10\x07\":\n\nFederation\x12\x18\n\x02id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12\x0c\n\x04name\x18\x03 \x01(\tJ\x04\x08\x02\x10\x03*j\n\x0bSubjectType\x12\x1c\n\x18SUBJECT_TYPE_UNSPECIFIED\x10\x00\x12\x10\n\x0cUSER_ACCOUNT\x10\x01\x12\x13\n\x0fSERVICE_ACCOUNT\x10\x02\x12\t\n\x05GROUP\x10\x03\x12\x0b\n\x07INVITEE\x10\x04\x42Y\n\x19yandex.cloud.api.oauth.v1Z<github.com/yandex-cloud/go-genproto/yandex/cloud/oauth;oauthb\x06proto3')
18
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x1fyandex/cloud/oauth/claims.proto\x12\x12yandex.cloud.oauth\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1dyandex/cloud/validation.proto\"\xad\x03\n\rSubjectClaims\x12\x19\n\x03sub\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x12\n\ngiven_name\x18\x03 \x01(\t\x12\x13\n\x0b\x66\x61mily_name\x18\x04 \x01(\t\x12\x1a\n\x12preferred_username\x18\x07 \x01(\t\x12\x0f\n\x07picture\x18\t \x01(\t\x12\r\n\x05\x65mail\x18\x0b \x01(\t\x12\x10\n\x08zoneinfo\x18\x0f \x01(\t\x12\x0e\n\x06locale\x18\x10 \x01(\t\x12\x14\n\x0cphone_number\x18\x11 \x01(\t\x12\x31\n\x08sub_type\x18\x63 \x01(\x0e\x32\x1f.yandex.cloud.oauth.SubjectType\x12\x32\n\nfederation\x18\x64 \x01(\x0b\x32\x1e.yandex.cloud.oauth.Federation\x12\x39\n\x15last_authenticated_at\x18i \x01(\x0b\x32\x1a.google.protobuf.TimestampJ\x04\x08\x08\x10\tJ\x04\x08\n\x10\x0bJ\x04\x08\x0c\x10\x0fJ\x04\x08\x12\x10\x63J\x04\x08\x05\x10\x07J\x04\x08\x65\x10\x66J\x04\x08\x66\x10gJ\x04\x08g\x10hJ\x04\x08h\x10i\":\n\nFederation\x12\x18\n\x02id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12\x0c\n\x04name\x18\x03 \x01(\tJ\x04\x08\x02\x10\x03*j\n\x0bSubjectType\x12\x1c\n\x18SUBJECT_TYPE_UNSPECIFIED\x10\x00\x12\x10\n\x0cUSER_ACCOUNT\x10\x01\x12\x13\n\x0fSERVICE_ACCOUNT\x10\x02\x12\t\n\x05GROUP\x10\x03\x12\x0b\n\x07INVITEE\x10\x04\x42Y\n\x19yandex.cloud.api.oauth.v1Z<github.com/yandex-cloud/go-genproto/yandex/cloud/oauth;oauthb\x06proto3')
18
19
 
19
20
  _globals = globals()
20
21
  _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
@@ -26,10 +27,10 @@ if _descriptor._USE_C_DESCRIPTORS == False:
26
27
  _SUBJECTCLAIMS.fields_by_name['sub']._serialized_options = b'\350\3071\001\212\3101\004<=50'
27
28
  _FEDERATION.fields_by_name['id']._options = None
28
29
  _FEDERATION.fields_by_name['id']._serialized_options = b'\350\3071\001\212\3101\004<=50'
29
- _globals['_SUBJECTTYPE']._serialized_start=495
30
- _globals['_SUBJECTTYPE']._serialized_end=601
31
- _globals['_SUBJECTCLAIMS']._serialized_start=87
32
- _globals['_SUBJECTCLAIMS']._serialized_end=433
33
- _globals['_FEDERATION']._serialized_start=435
34
- _globals['_FEDERATION']._serialized_end=493
30
+ _globals['_SUBJECTTYPE']._serialized_start=611
31
+ _globals['_SUBJECTTYPE']._serialized_end=717
32
+ _globals['_SUBJECTCLAIMS']._serialized_start=120
33
+ _globals['_SUBJECTCLAIMS']._serialized_end=549
34
+ _globals['_FEDERATION']._serialized_start=551
35
+ _globals['_FEDERATION']._serialized_end=609
35
36
  # @@protoc_insertion_point(module_scope)
@@ -7,6 +7,7 @@ import builtins
7
7
  import google.protobuf.descriptor
8
8
  import google.protobuf.internal.enum_type_wrapper
9
9
  import google.protobuf.message
10
+ import google.protobuf.timestamp_pb2
10
11
  import sys
11
12
  import typing
12
13
 
@@ -56,6 +57,7 @@ class SubjectClaims(google.protobuf.message.Message):
56
57
  PHONE_NUMBER_FIELD_NUMBER: builtins.int
57
58
  SUB_TYPE_FIELD_NUMBER: builtins.int
58
59
  FEDERATION_FIELD_NUMBER: builtins.int
60
+ LAST_AUTHENTICATED_AT_FIELD_NUMBER: builtins.int
59
61
  sub: builtins.str
60
62
  """Subject - Identifier for the End-User at the Issuer."""
61
63
  name: builtins.str
@@ -92,6 +94,10 @@ class SubjectClaims(google.protobuf.message.Message):
92
94
  def federation(self) -> global___Federation:
93
95
  """User federation, non-empty only for federated users."""
94
96
 
97
+ @property
98
+ def last_authenticated_at(self) -> google.protobuf.timestamp_pb2.Timestamp:
99
+ """Last time the access token was created. Filled only for federated users (not for global users)."""
100
+
95
101
  def __init__(
96
102
  self,
97
103
  *,
@@ -107,9 +113,10 @@ class SubjectClaims(google.protobuf.message.Message):
107
113
  phone_number: builtins.str = ...,
108
114
  sub_type: global___SubjectType.ValueType = ...,
109
115
  federation: global___Federation | None = ...,
116
+ last_authenticated_at: google.protobuf.timestamp_pb2.Timestamp | None = ...,
110
117
  ) -> None: ...
111
- def HasField(self, field_name: typing.Literal["federation", b"federation"]) -> builtins.bool: ...
112
- def ClearField(self, field_name: typing.Literal["email", b"email", "family_name", b"family_name", "federation", b"federation", "given_name", b"given_name", "locale", b"locale", "name", b"name", "phone_number", b"phone_number", "picture", b"picture", "preferred_username", b"preferred_username", "sub", b"sub", "sub_type", b"sub_type", "zoneinfo", b"zoneinfo"]) -> None: ...
118
+ def HasField(self, field_name: typing.Literal["federation", b"federation", "last_authenticated_at", b"last_authenticated_at"]) -> builtins.bool: ...
119
+ def ClearField(self, field_name: typing.Literal["email", b"email", "family_name", b"family_name", "federation", b"federation", "given_name", b"given_name", "last_authenticated_at", b"last_authenticated_at", "locale", b"locale", "name", b"name", "phone_number", b"phone_number", "picture", b"picture", "preferred_username", b"preferred_username", "sub", b"sub", "sub_type", b"sub_type", "zoneinfo", b"zoneinfo"]) -> None: ...
113
120
 
114
121
  global___SubjectClaims = SubjectClaims
115
122
 
@@ -119,7 +119,7 @@ class CreateConnectorRequest(google.protobuf.message.Message):
119
119
  SOURCE_FIELD_NUMBER: builtins.int
120
120
  DELETION_PROTECTION_FIELD_NUMBER: builtins.int
121
121
  bus_id: builtins.str
122
- """/ ID of the bus to create a connector in."""
122
+ """ID of the bus to create a connector in."""
123
123
  name: builtins.str
124
124
  """Name of the connector."""
125
125
  description: builtins.str
@@ -396,7 +396,9 @@ class GatewayWebsocketBroadcastTarget(google.protobuf.message.Message):
396
396
  service_account_id: builtins.str
397
397
  """Service account which has permission for writing to websockets."""
398
398
  @property
399
- def batch_settings(self) -> global___BatchSettings: ...
399
+ def batch_settings(self) -> global___BatchSettings:
400
+ """Batch settings."""
401
+
400
402
  def __init__(
401
403
  self,
402
404
  *,
@@ -41,7 +41,9 @@ class ListRulesRequest(google.protobuf.message.Message):
41
41
  PAGE_TOKEN_FIELD_NUMBER: builtins.int
42
42
  FILTER_FIELD_NUMBER: builtins.int
43
43
  bus_id: builtins.str
44
+ """ID of the bus to list rules in."""
44
45
  folder_id: builtins.str
46
+ """ID of the folder to list rules in."""
45
47
  page_size: builtins.int
46
48
  """The maximum number of results per response."""
47
49
  page_token: builtins.str
@@ -0,0 +1,35 @@
1
+ # -*- coding: utf-8 -*-
2
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
3
+ # source: yandex/cloud/storage/v1/s3api.proto
4
+ """Generated protocol buffer code."""
5
+ from google.protobuf import descriptor as _descriptor
6
+ from google.protobuf import descriptor_pool as _descriptor_pool
7
+ from google.protobuf import symbol_database as _symbol_database
8
+ from google.protobuf.internal import builder as _builder
9
+ # @@protoc_insertion_point(imports)
10
+
11
+ _sym_db = _symbol_database.Default()
12
+
13
+
14
+ from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2
15
+
16
+
17
+ DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n#yandex/cloud/storage/v1/s3api.proto\x12\x17yandex.cloud.storage.v1\x1a\x1fgoogle/protobuf/timestamp.proto\"\xcd\x05\n\x16S3APIGetObjectResponse\x12\x0c\n\x04\x65tag\x18\x01 \x01(\t\x12\x12\n\nrequest_id\x18\x02 \x01(\t\x12\x15\n\raccept_ranges\x18\x03 \x01(\t\x12\x15\n\rcache_control\x18\x04 \x01(\t\x12\x1b\n\x13\x63ontent_disposition\x18\x05 \x01(\t\x12\x18\n\x10\x63ontent_encoding\x18\x06 \x01(\t\x12\x18\n\x10\x63ontent_language\x18\x07 \x01(\t\x12\x16\n\x0e\x63ontent_length\x18\x08 \x01(\x03\x12\x15\n\rcontent_range\x18\t \x01(\t\x12\x14\n\x0c\x63ontent_type\x18\n \x01(\t\x12\x12\n\nversion_id\x18\x0b \x01(\t\x12.\n\nexpires_at\x18\x0c \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x34\n\x10last_modified_at\x18\r \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12O\n\x08metadata\x18\x0e \x03(\x0b\x32=.yandex.cloud.storage.v1.S3APIGetObjectResponse.MetadataEntry\x12\x15\n\rstorage_class\x18\x0f \x01(\t\x12\x1e\n\x16server_side_encryption\x18\x10 \x01(\t\x12\x16\n\x0esse_kms_key_id\x18\x11 \x01(\t\x12\x18\n\x10object_lock_mode\x18\x12 \x01(\t\x12\x41\n\x1dobject_lock_retain_until_date\x18\x13 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12%\n\x1dobject_lock_legal_hold_status\x18\x14 \x01(\t\x1a/\n\rMetadataEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"N\n\x16S3APIPutObjectResponse\x12\x0c\n\x04\x65tag\x18\x01 \x01(\t\x12\x12\n\nrequest_id\x18\x02 \x01(\t\x12\x12\n\nversion_id\x18\x03 \x01(\t\"C\n\x19S3APIDeleteObjectResponse\x12\x12\n\nrequest_id\x18\x01 \x01(\t\x12\x12\n\nversion_id\x18\x02 \x01(\tBb\n\x1byandex.cloud.api.storage.v1ZCgithub.com/yandex-cloud/go-genproto/yandex/cloud/storage/v1;storageb\x06proto3')
18
+
19
+ _globals = globals()
20
+ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
21
+ _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'yandex.cloud.storage.v1.s3api_pb2', _globals)
22
+ if _descriptor._USE_C_DESCRIPTORS == False:
23
+ DESCRIPTOR._options = None
24
+ DESCRIPTOR._serialized_options = b'\n\033yandex.cloud.api.storage.v1ZCgithub.com/yandex-cloud/go-genproto/yandex/cloud/storage/v1;storage'
25
+ _S3APIGETOBJECTRESPONSE_METADATAENTRY._options = None
26
+ _S3APIGETOBJECTRESPONSE_METADATAENTRY._serialized_options = b'8\001'
27
+ _globals['_S3APIGETOBJECTRESPONSE']._serialized_start=98
28
+ _globals['_S3APIGETOBJECTRESPONSE']._serialized_end=815
29
+ _globals['_S3APIGETOBJECTRESPONSE_METADATAENTRY']._serialized_start=768
30
+ _globals['_S3APIGETOBJECTRESPONSE_METADATAENTRY']._serialized_end=815
31
+ _globals['_S3APIPUTOBJECTRESPONSE']._serialized_start=817
32
+ _globals['_S3APIPUTOBJECTRESPONSE']._serialized_end=895
33
+ _globals['_S3APIDELETEOBJECTRESPONSE']._serialized_start=897
34
+ _globals['_S3APIDELETEOBJECTRESPONSE']._serialized_end=964
35
+ # @@protoc_insertion_point(module_scope)
@@ -0,0 +1,181 @@
1
+ """
2
+ @generated by mypy-protobuf. Do not edit manually!
3
+ isort:skip_file
4
+ """
5
+
6
+ import builtins
7
+ import collections.abc
8
+ import google.protobuf.descriptor
9
+ import google.protobuf.internal.containers
10
+ import google.protobuf.message
11
+ import google.protobuf.timestamp_pb2
12
+ import typing
13
+
14
+ DESCRIPTOR: google.protobuf.descriptor.FileDescriptor
15
+
16
+ @typing.final
17
+ class S3APIGetObjectResponse(google.protobuf.message.Message):
18
+ """Represents a response of the get object request to S3."""
19
+
20
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
21
+
22
+ @typing.final
23
+ class MetadataEntry(google.protobuf.message.Message):
24
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
25
+
26
+ KEY_FIELD_NUMBER: builtins.int
27
+ VALUE_FIELD_NUMBER: builtins.int
28
+ key: builtins.str
29
+ value: builtins.str
30
+ def __init__(
31
+ self,
32
+ *,
33
+ key: builtins.str = ...,
34
+ value: builtins.str = ...,
35
+ ) -> None: ...
36
+ def ClearField(self, field_name: typing.Literal["key", b"key", "value", b"value"]) -> None: ...
37
+
38
+ ETAG_FIELD_NUMBER: builtins.int
39
+ REQUEST_ID_FIELD_NUMBER: builtins.int
40
+ ACCEPT_RANGES_FIELD_NUMBER: builtins.int
41
+ CACHE_CONTROL_FIELD_NUMBER: builtins.int
42
+ CONTENT_DISPOSITION_FIELD_NUMBER: builtins.int
43
+ CONTENT_ENCODING_FIELD_NUMBER: builtins.int
44
+ CONTENT_LANGUAGE_FIELD_NUMBER: builtins.int
45
+ CONTENT_LENGTH_FIELD_NUMBER: builtins.int
46
+ CONTENT_RANGE_FIELD_NUMBER: builtins.int
47
+ CONTENT_TYPE_FIELD_NUMBER: builtins.int
48
+ VERSION_ID_FIELD_NUMBER: builtins.int
49
+ EXPIRES_AT_FIELD_NUMBER: builtins.int
50
+ LAST_MODIFIED_AT_FIELD_NUMBER: builtins.int
51
+ METADATA_FIELD_NUMBER: builtins.int
52
+ STORAGE_CLASS_FIELD_NUMBER: builtins.int
53
+ SERVER_SIDE_ENCRYPTION_FIELD_NUMBER: builtins.int
54
+ SSE_KMS_KEY_ID_FIELD_NUMBER: builtins.int
55
+ OBJECT_LOCK_MODE_FIELD_NUMBER: builtins.int
56
+ OBJECT_LOCK_RETAIN_UNTIL_DATE_FIELD_NUMBER: builtins.int
57
+ OBJECT_LOCK_LEGAL_HOLD_STATUS_FIELD_NUMBER: builtins.int
58
+ etag: builtins.str
59
+ """MD5 hash of the object."""
60
+ request_id: builtins.str
61
+ """Unique request ID."""
62
+ accept_ranges: builtins.str
63
+ """Indicates that a range of bytes was specified in the request."""
64
+ cache_control: builtins.str
65
+ """Specifies caching behavior along the request/reply chain."""
66
+ content_disposition: builtins.str
67
+ """Specifies presentational information for the object."""
68
+ content_encoding: builtins.str
69
+ """Indicates what content encodings have been applied to the object."""
70
+ content_language: builtins.str
71
+ """The language the content is in."""
72
+ content_length: builtins.int
73
+ """Size of the body in bytes."""
74
+ content_range: builtins.str
75
+ """The portion of the object returned in the response."""
76
+ content_type: builtins.str
77
+ """A standard MIME type describing the format of the object data."""
78
+ version_id: builtins.str
79
+ """Version ID of the object."""
80
+ storage_class: builtins.str
81
+ """Provides storage class information of the object."""
82
+ server_side_encryption: builtins.str
83
+ """Encryption algorithm used to encrypt the object."""
84
+ sse_kms_key_id: builtins.str
85
+ """ID of the key KMS."""
86
+ object_lock_mode: builtins.str
87
+ """Type of retention put on the object."""
88
+ object_lock_legal_hold_status: builtins.str
89
+ """Type of legal hold put on the object"""
90
+ @property
91
+ def expires_at(self) -> google.protobuf.timestamp_pb2.Timestamp:
92
+ """The date and time at which the object is no longer cacheable."""
93
+
94
+ @property
95
+ def last_modified_at(self) -> google.protobuf.timestamp_pb2.Timestamp:
96
+ """Date and time when the object was last modified."""
97
+
98
+ @property
99
+ def metadata(self) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]:
100
+ """Object user-defined metadata."""
101
+
102
+ @property
103
+ def object_lock_retain_until_date(self) -> google.protobuf.timestamp_pb2.Timestamp:
104
+ """Date and time until which the object is retained"""
105
+
106
+ def __init__(
107
+ self,
108
+ *,
109
+ etag: builtins.str = ...,
110
+ request_id: builtins.str = ...,
111
+ accept_ranges: builtins.str = ...,
112
+ cache_control: builtins.str = ...,
113
+ content_disposition: builtins.str = ...,
114
+ content_encoding: builtins.str = ...,
115
+ content_language: builtins.str = ...,
116
+ content_length: builtins.int = ...,
117
+ content_range: builtins.str = ...,
118
+ content_type: builtins.str = ...,
119
+ version_id: builtins.str = ...,
120
+ expires_at: google.protobuf.timestamp_pb2.Timestamp | None = ...,
121
+ last_modified_at: google.protobuf.timestamp_pb2.Timestamp | None = ...,
122
+ metadata: collections.abc.Mapping[builtins.str, builtins.str] | None = ...,
123
+ storage_class: builtins.str = ...,
124
+ server_side_encryption: builtins.str = ...,
125
+ sse_kms_key_id: builtins.str = ...,
126
+ object_lock_mode: builtins.str = ...,
127
+ object_lock_retain_until_date: google.protobuf.timestamp_pb2.Timestamp | None = ...,
128
+ object_lock_legal_hold_status: builtins.str = ...,
129
+ ) -> None: ...
130
+ def HasField(self, field_name: typing.Literal["expires_at", b"expires_at", "last_modified_at", b"last_modified_at", "object_lock_retain_until_date", b"object_lock_retain_until_date"]) -> builtins.bool: ...
131
+ def ClearField(self, field_name: typing.Literal["accept_ranges", b"accept_ranges", "cache_control", b"cache_control", "content_disposition", b"content_disposition", "content_encoding", b"content_encoding", "content_language", b"content_language", "content_length", b"content_length", "content_range", b"content_range", "content_type", b"content_type", "etag", b"etag", "expires_at", b"expires_at", "last_modified_at", b"last_modified_at", "metadata", b"metadata", "object_lock_legal_hold_status", b"object_lock_legal_hold_status", "object_lock_mode", b"object_lock_mode", "object_lock_retain_until_date", b"object_lock_retain_until_date", "request_id", b"request_id", "server_side_encryption", b"server_side_encryption", "sse_kms_key_id", b"sse_kms_key_id", "storage_class", b"storage_class", "version_id", b"version_id"]) -> None: ...
132
+
133
+ global___S3APIGetObjectResponse = S3APIGetObjectResponse
134
+
135
+ @typing.final
136
+ class S3APIPutObjectResponse(google.protobuf.message.Message):
137
+ """Represents a response of the put object request to S3."""
138
+
139
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
140
+
141
+ ETAG_FIELD_NUMBER: builtins.int
142
+ REQUEST_ID_FIELD_NUMBER: builtins.int
143
+ VERSION_ID_FIELD_NUMBER: builtins.int
144
+ etag: builtins.str
145
+ """MD5 hash of the object."""
146
+ request_id: builtins.str
147
+ """Unique request ID."""
148
+ version_id: builtins.str
149
+ """Version ID of the object."""
150
+ def __init__(
151
+ self,
152
+ *,
153
+ etag: builtins.str = ...,
154
+ request_id: builtins.str = ...,
155
+ version_id: builtins.str = ...,
156
+ ) -> None: ...
157
+ def ClearField(self, field_name: typing.Literal["etag", b"etag", "request_id", b"request_id", "version_id", b"version_id"]) -> None: ...
158
+
159
+ global___S3APIPutObjectResponse = S3APIPutObjectResponse
160
+
161
+ @typing.final
162
+ class S3APIDeleteObjectResponse(google.protobuf.message.Message):
163
+ """Represents a response of the delete object request to S3."""
164
+
165
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
166
+
167
+ REQUEST_ID_FIELD_NUMBER: builtins.int
168
+ VERSION_ID_FIELD_NUMBER: builtins.int
169
+ request_id: builtins.str
170
+ """Unique request ID."""
171
+ version_id: builtins.str
172
+ """Version ID of the object."""
173
+ def __init__(
174
+ self,
175
+ *,
176
+ request_id: builtins.str = ...,
177
+ version_id: builtins.str = ...,
178
+ ) -> None: ...
179
+ def ClearField(self, field_name: typing.Literal["request_id", b"request_id", "version_id", b"version_id"]) -> None: ...
180
+
181
+ global___S3APIDeleteObjectResponse = S3APIDeleteObjectResponse
@@ -0,0 +1,4 @@
1
+ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT!
2
+ """Client and server classes corresponding to protobuf-defined services."""
3
+ import grpc
4
+
@@ -0,0 +1,17 @@
1
+ """
2
+ @generated by mypy-protobuf. Do not edit manually!
3
+ isort:skip_file
4
+ """
5
+
6
+ import abc
7
+ import collections.abc
8
+ import grpc
9
+ import grpc.aio
10
+ import typing
11
+
12
+ _T = typing.TypeVar("_T")
13
+
14
+ class _MaybeAsyncIterator(collections.abc.AsyncIterator[_T], collections.abc.Iterator[_T], metaclass=abc.ABCMeta): ...
15
+
16
+ class _ServicerContext(grpc.ServicerContext, grpc.aio.ServicerContext): # type: ignore[misc, type-arg]
17
+ ...
yandexcloud/_sdk.py CHANGED
@@ -147,6 +147,8 @@ _supported_modules = [
147
147
  ("yandex.cloud.ai.ocr", "ai-vision-ocr"),
148
148
  ("yandex.cloud.ai.stt", "ai-stt"),
149
149
  ("yandex.cloud.ai.translate", "ai-translate"),
150
+ ("yandex.cloud.ai.assistants", "ai-assistants"),
151
+ ("yandex.cloud.ai.files", "ai-files"),
150
152
  ("yandex.cloud.ai.tts", "ai-speechkit"),
151
153
  ("yandex.cloud.ai.vision", "ai-vision"),
152
154
  ("yandex.cloud.apploadbalancer", "alb"),
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: yandexcloud
3
- Version: 0.317.0
3
+ Version: 0.319.0
4
4
  Summary: The Yandex.Cloud official SDK
5
5
  Home-page: https://github.com/yandex-cloud/python-sdk
6
6
  Author: Yandex LLC