yandexcloud 0.363.0__py3-none-any.whl → 0.365.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 (76) hide show
  1. yandex/cloud/baremetal/v1alpha/rental_period_pb2.py +37 -0
  2. yandex/cloud/baremetal/v1alpha/rental_period_pb2.pyi +31 -0
  3. yandex/cloud/baremetal/v1alpha/rental_period_pb2_grpc.py +24 -0
  4. yandex/cloud/baremetal/v1alpha/rental_period_pb2_grpc.pyi +17 -0
  5. yandex/cloud/baremetal/v1alpha/rental_period_service_pb2.py +50 -0
  6. yandex/cloud/baremetal/v1alpha/rental_period_service_pb2.pyi +75 -0
  7. yandex/cloud/baremetal/v1alpha/rental_period_service_pb2_grpc.py +101 -0
  8. yandex/cloud/baremetal/v1alpha/rental_period_service_pb2_grpc.pyi +50 -0
  9. yandex/cloud/baremetal/v1alpha/server_service_pb2.pyi +8 -2
  10. yandex/cloud/dns/v1/dns_zone_service_pb2.py +37 -27
  11. yandex/cloud/dns/v1/dns_zone_service_pb2.pyi +42 -0
  12. yandex/cloud/dns/v1/dns_zone_service_pb2_grpc.py +44 -0
  13. yandex/cloud/dns/v1/dns_zone_service_pb2_grpc.pyi +20 -0
  14. yandex/cloud/gitlab/v1/package_options_pb2.py +35 -0
  15. yandex/cloud/gitlab/v1/package_options_pb2.pyi +8 -0
  16. yandex/cloud/gitlab/v1/package_options_pb2_grpc.py +24 -0
  17. yandex/cloud/gitlab/v1/package_options_pb2_grpc.pyi +17 -0
  18. yandex/cloud/iam/v1/workload/federated_credential_service_pb2.py +11 -11
  19. yandex/cloud/mdb/clickhouse/v1/cluster_service_pb2.py +184 -177
  20. yandex/cloud/mdb/clickhouse/v1/cluster_service_pb2_grpc.py +133 -0
  21. yandex/cloud/mdb/clickhouse/v1/cluster_service_pb2_grpc.pyi +61 -0
  22. yandex/cloud/mdb/greenplum/v1/cluster_service_pb2.py +98 -91
  23. yandex/cloud/mdb/greenplum/v1/cluster_service_pb2_grpc.py +133 -0
  24. yandex/cloud/mdb/greenplum/v1/cluster_service_pb2_grpc.pyi +61 -0
  25. yandex/cloud/mdb/kafka/v1/cluster_service_pb2.py +70 -63
  26. yandex/cloud/mdb/kafka/v1/cluster_service_pb2_grpc.py +133 -0
  27. yandex/cloud/mdb/kafka/v1/cluster_service_pb2_grpc.pyi +61 -0
  28. yandex/cloud/mdb/mongodb/v1/cluster_service_pb2.py +248 -241
  29. yandex/cloud/mdb/mongodb/v1/cluster_service_pb2_grpc.py +133 -0
  30. yandex/cloud/mdb/mongodb/v1/cluster_service_pb2_grpc.pyi +61 -0
  31. yandex/cloud/mdb/mysql/v1/cluster_service_pb2.py +110 -103
  32. yandex/cloud/mdb/mysql/v1/cluster_service_pb2_grpc.py +133 -0
  33. yandex/cloud/mdb/mysql/v1/cluster_service_pb2_grpc.pyi +61 -0
  34. yandex/cloud/mdb/opensearch/v1/cluster_service_pb2.py +146 -139
  35. yandex/cloud/mdb/opensearch/v1/cluster_service_pb2_grpc.py +133 -0
  36. yandex/cloud/mdb/opensearch/v1/cluster_service_pb2_grpc.pyi +61 -0
  37. yandex/cloud/mdb/postgresql/v1/cluster_service_pb2.py +114 -107
  38. yandex/cloud/mdb/postgresql/v1/cluster_service_pb2_grpc.py +133 -0
  39. yandex/cloud/mdb/postgresql/v1/cluster_service_pb2_grpc.pyi +61 -0
  40. yandex/cloud/mdb/postgresql/v1/user_pb2.py +27 -25
  41. yandex/cloud/mdb/postgresql/v1/user_pb2.pyi +27 -2
  42. yandex/cloud/mdb/postgresql/v1/user_service_pb2.py +33 -33
  43. yandex/cloud/mdb/postgresql/v1/user_service_pb2.pyi +5 -1
  44. yandex/cloud/mdb/redis/v1/cluster_service_pb2.py +132 -125
  45. yandex/cloud/mdb/redis/v1/cluster_service_pb2_grpc.py +133 -0
  46. yandex/cloud/mdb/redis/v1/cluster_service_pb2_grpc.pyi +61 -0
  47. yandex/cloud/mdb/spqr/v1/cluster_service_pb2.py +136 -129
  48. yandex/cloud/mdb/spqr/v1/cluster_service_pb2_grpc.py +133 -0
  49. yandex/cloud/mdb/spqr/v1/cluster_service_pb2_grpc.pyi +61 -0
  50. yandex/cloud/organizationmanager/v1/idp/application/__init__.py +0 -0
  51. yandex/cloud/organizationmanager/v1/idp/application/oauth/__init__.py +0 -0
  52. yandex/cloud/organizationmanager/v1/idp/application/oauth/application_pb2.py +55 -0
  53. yandex/cloud/organizationmanager/v1/idp/application/oauth/application_pb2.pyi +206 -0
  54. yandex/cloud/organizationmanager/v1/idp/application/oauth/application_pb2_grpc.py +24 -0
  55. yandex/cloud/organizationmanager/v1/idp/application/oauth/application_pb2_grpc.pyi +17 -0
  56. yandex/cloud/organizationmanager/v1/idp/application/oauth/application_service_pb2.py +178 -0
  57. yandex/cloud/organizationmanager/v1/idp/application/oauth/application_service_pb2.pyi +641 -0
  58. yandex/cloud/organizationmanager/v1/idp/application/oauth/application_service_pb2_grpc.py +634 -0
  59. yandex/cloud/organizationmanager/v1/idp/application/oauth/application_service_pb2_grpc.pyi +302 -0
  60. yandex/cloud/organizationmanager/v1/mfa_enforcement_pb2.py +41 -0
  61. yandex/cloud/organizationmanager/v1/mfa_enforcement_pb2.pyi +108 -0
  62. yandex/cloud/organizationmanager/v1/mfa_enforcement_pb2_grpc.py +24 -0
  63. yandex/cloud/organizationmanager/v1/mfa_enforcement_pb2_grpc.pyi +17 -0
  64. yandex/cloud/organizationmanager/v1/mfa_enforcement_service_pb2.py +156 -0
  65. yandex/cloud/organizationmanager/v1/mfa_enforcement_service_pb2.pyi +462 -0
  66. yandex/cloud/organizationmanager/v1/mfa_enforcement_service_pb2_grpc.py +446 -0
  67. yandex/cloud/organizationmanager/v1/mfa_enforcement_service_pb2_grpc.pyi +185 -0
  68. yandex/cloud/ytsaurus/v1/cluster_pb2.py +4 -2
  69. yandex/cloud/ytsaurus/v1/cluster_pb2.pyi +19 -1
  70. yandexcloud/__init__.py +1 -1
  71. {yandexcloud-0.363.0.dist-info → yandexcloud-0.365.0.dist-info}/METADATA +1 -1
  72. {yandexcloud-0.363.0.dist-info → yandexcloud-0.365.0.dist-info}/RECORD +76 -46
  73. {yandexcloud-0.363.0.dist-info → yandexcloud-0.365.0.dist-info}/AUTHORS +0 -0
  74. {yandexcloud-0.363.0.dist-info → yandexcloud-0.365.0.dist-info}/LICENSE +0 -0
  75. {yandexcloud-0.363.0.dist-info → yandexcloud-0.365.0.dist-info}/WHEEL +0 -0
  76. {yandexcloud-0.363.0.dist-info → yandexcloud-0.365.0.dist-info}/top_level.txt +0 -0
@@ -3,6 +3,7 @@
3
3
  import grpc
4
4
  import warnings
5
5
 
6
+ from yandex.cloud.access import access_pb2 as yandex_dot_cloud_dot_access_dot_access__pb2
6
7
  from yandex.cloud.mdb.spqr.v1 import cluster_pb2 as yandex_dot_cloud_dot_mdb_dot_spqr_dot_v1_dot_cluster__pb2
7
8
  from yandex.cloud.mdb.spqr.v1 import cluster_service_pb2 as yandex_dot_cloud_dot_mdb_dot_spqr_dot_v1_dot_cluster__service__pb2
8
9
  from yandex.cloud.mdb.spqr.v1 import shard_pb2 as yandex_dot_cloud_dot_mdb_dot_spqr_dot_v1_dot_shard__pb2
@@ -163,6 +164,21 @@ class ClusterServiceStub(object):
163
164
  request_serializer=yandex_dot_cloud_dot_mdb_dot_spqr_dot_v1_dot_cluster__service__pb2.DeleteClusterShardRequest.SerializeToString,
164
165
  response_deserializer=yandex_dot_cloud_dot_operation_dot_operation__pb2.Operation.FromString,
165
166
  _registered_method=True)
167
+ self.ListAccessBindings = channel.unary_unary(
168
+ '/yandex.cloud.mdb.spqr.v1.ClusterService/ListAccessBindings',
169
+ request_serializer=yandex_dot_cloud_dot_access_dot_access__pb2.ListAccessBindingsRequest.SerializeToString,
170
+ response_deserializer=yandex_dot_cloud_dot_access_dot_access__pb2.ListAccessBindingsResponse.FromString,
171
+ _registered_method=True)
172
+ self.SetAccessBindings = channel.unary_unary(
173
+ '/yandex.cloud.mdb.spqr.v1.ClusterService/SetAccessBindings',
174
+ request_serializer=yandex_dot_cloud_dot_access_dot_access__pb2.SetAccessBindingsRequest.SerializeToString,
175
+ response_deserializer=yandex_dot_cloud_dot_operation_dot_operation__pb2.Operation.FromString,
176
+ _registered_method=True)
177
+ self.UpdateAccessBindings = channel.unary_unary(
178
+ '/yandex.cloud.mdb.spqr.v1.ClusterService/UpdateAccessBindings',
179
+ request_serializer=yandex_dot_cloud_dot_access_dot_access__pb2.UpdateAccessBindingsRequest.SerializeToString,
180
+ response_deserializer=yandex_dot_cloud_dot_operation_dot_operation__pb2.Operation.FromString,
181
+ _registered_method=True)
166
182
 
167
183
 
168
184
  class ClusterServiceServicer(object):
@@ -347,6 +363,27 @@ class ClusterServiceServicer(object):
347
363
  context.set_details('Method not implemented!')
348
364
  raise NotImplementedError('Method not implemented!')
349
365
 
366
+ def ListAccessBindings(self, request, context):
367
+ """Retrieves a list of access bindings for the specified SPQR cluster.
368
+ """
369
+ context.set_code(grpc.StatusCode.UNIMPLEMENTED)
370
+ context.set_details('Method not implemented!')
371
+ raise NotImplementedError('Method not implemented!')
372
+
373
+ def SetAccessBindings(self, request, context):
374
+ """Sets access bindings for the specified SPQR cluster.
375
+ """
376
+ context.set_code(grpc.StatusCode.UNIMPLEMENTED)
377
+ context.set_details('Method not implemented!')
378
+ raise NotImplementedError('Method not implemented!')
379
+
380
+ def UpdateAccessBindings(self, request, context):
381
+ """Updates access bindings for the specified SPQR cluster.
382
+ """
383
+ context.set_code(grpc.StatusCode.UNIMPLEMENTED)
384
+ context.set_details('Method not implemented!')
385
+ raise NotImplementedError('Method not implemented!')
386
+
350
387
 
351
388
  def add_ClusterServiceServicer_to_server(servicer, server):
352
389
  rpc_method_handlers = {
@@ -475,6 +512,21 @@ def add_ClusterServiceServicer_to_server(servicer, server):
475
512
  request_deserializer=yandex_dot_cloud_dot_mdb_dot_spqr_dot_v1_dot_cluster__service__pb2.DeleteClusterShardRequest.FromString,
476
513
  response_serializer=yandex_dot_cloud_dot_operation_dot_operation__pb2.Operation.SerializeToString,
477
514
  ),
515
+ 'ListAccessBindings': grpc.unary_unary_rpc_method_handler(
516
+ servicer.ListAccessBindings,
517
+ request_deserializer=yandex_dot_cloud_dot_access_dot_access__pb2.ListAccessBindingsRequest.FromString,
518
+ response_serializer=yandex_dot_cloud_dot_access_dot_access__pb2.ListAccessBindingsResponse.SerializeToString,
519
+ ),
520
+ 'SetAccessBindings': grpc.unary_unary_rpc_method_handler(
521
+ servicer.SetAccessBindings,
522
+ request_deserializer=yandex_dot_cloud_dot_access_dot_access__pb2.SetAccessBindingsRequest.FromString,
523
+ response_serializer=yandex_dot_cloud_dot_operation_dot_operation__pb2.Operation.SerializeToString,
524
+ ),
525
+ 'UpdateAccessBindings': grpc.unary_unary_rpc_method_handler(
526
+ servicer.UpdateAccessBindings,
527
+ request_deserializer=yandex_dot_cloud_dot_access_dot_access__pb2.UpdateAccessBindingsRequest.FromString,
528
+ response_serializer=yandex_dot_cloud_dot_operation_dot_operation__pb2.Operation.SerializeToString,
529
+ ),
478
530
  }
479
531
  generic_handler = grpc.method_handlers_generic_handler(
480
532
  'yandex.cloud.mdb.spqr.v1.ClusterService', rpc_method_handlers)
@@ -1161,3 +1213,84 @@ class ClusterService(object):
1161
1213
  timeout,
1162
1214
  metadata,
1163
1215
  _registered_method=True)
1216
+
1217
+ @staticmethod
1218
+ def ListAccessBindings(request,
1219
+ target,
1220
+ options=(),
1221
+ channel_credentials=None,
1222
+ call_credentials=None,
1223
+ insecure=False,
1224
+ compression=None,
1225
+ wait_for_ready=None,
1226
+ timeout=None,
1227
+ metadata=None):
1228
+ return grpc.experimental.unary_unary(
1229
+ request,
1230
+ target,
1231
+ '/yandex.cloud.mdb.spqr.v1.ClusterService/ListAccessBindings',
1232
+ yandex_dot_cloud_dot_access_dot_access__pb2.ListAccessBindingsRequest.SerializeToString,
1233
+ yandex_dot_cloud_dot_access_dot_access__pb2.ListAccessBindingsResponse.FromString,
1234
+ options,
1235
+ channel_credentials,
1236
+ insecure,
1237
+ call_credentials,
1238
+ compression,
1239
+ wait_for_ready,
1240
+ timeout,
1241
+ metadata,
1242
+ _registered_method=True)
1243
+
1244
+ @staticmethod
1245
+ def SetAccessBindings(request,
1246
+ target,
1247
+ options=(),
1248
+ channel_credentials=None,
1249
+ call_credentials=None,
1250
+ insecure=False,
1251
+ compression=None,
1252
+ wait_for_ready=None,
1253
+ timeout=None,
1254
+ metadata=None):
1255
+ return grpc.experimental.unary_unary(
1256
+ request,
1257
+ target,
1258
+ '/yandex.cloud.mdb.spqr.v1.ClusterService/SetAccessBindings',
1259
+ yandex_dot_cloud_dot_access_dot_access__pb2.SetAccessBindingsRequest.SerializeToString,
1260
+ yandex_dot_cloud_dot_operation_dot_operation__pb2.Operation.FromString,
1261
+ options,
1262
+ channel_credentials,
1263
+ insecure,
1264
+ call_credentials,
1265
+ compression,
1266
+ wait_for_ready,
1267
+ timeout,
1268
+ metadata,
1269
+ _registered_method=True)
1270
+
1271
+ @staticmethod
1272
+ def UpdateAccessBindings(request,
1273
+ target,
1274
+ options=(),
1275
+ channel_credentials=None,
1276
+ call_credentials=None,
1277
+ insecure=False,
1278
+ compression=None,
1279
+ wait_for_ready=None,
1280
+ timeout=None,
1281
+ metadata=None):
1282
+ return grpc.experimental.unary_unary(
1283
+ request,
1284
+ target,
1285
+ '/yandex.cloud.mdb.spqr.v1.ClusterService/UpdateAccessBindings',
1286
+ yandex_dot_cloud_dot_access_dot_access__pb2.UpdateAccessBindingsRequest.SerializeToString,
1287
+ yandex_dot_cloud_dot_operation_dot_operation__pb2.Operation.FromString,
1288
+ options,
1289
+ channel_credentials,
1290
+ insecure,
1291
+ call_credentials,
1292
+ compression,
1293
+ wait_for_ready,
1294
+ timeout,
1295
+ metadata,
1296
+ _registered_method=True)
@@ -8,6 +8,7 @@ import collections.abc
8
8
  import grpc
9
9
  import grpc.aio
10
10
  import typing
11
+ import yandex.cloud.access.access_pb2
11
12
  import yandex.cloud.mdb.spqr.v1.cluster_pb2
12
13
  import yandex.cloud.mdb.spqr.v1.cluster_service_pb2
13
14
  import yandex.cloud.mdb.spqr.v1.shard_pb2
@@ -180,6 +181,24 @@ class ClusterServiceStub:
180
181
  ]
181
182
  """Deletes the specified shard."""
182
183
 
184
+ ListAccessBindings: grpc.UnaryUnaryMultiCallable[
185
+ yandex.cloud.access.access_pb2.ListAccessBindingsRequest,
186
+ yandex.cloud.access.access_pb2.ListAccessBindingsResponse,
187
+ ]
188
+ """Retrieves a list of access bindings for the specified SPQR cluster."""
189
+
190
+ SetAccessBindings: grpc.UnaryUnaryMultiCallable[
191
+ yandex.cloud.access.access_pb2.SetAccessBindingsRequest,
192
+ yandex.cloud.operation.operation_pb2.Operation,
193
+ ]
194
+ """Sets access bindings for the specified SPQR cluster."""
195
+
196
+ UpdateAccessBindings: grpc.UnaryUnaryMultiCallable[
197
+ yandex.cloud.access.access_pb2.UpdateAccessBindingsRequest,
198
+ yandex.cloud.operation.operation_pb2.Operation,
199
+ ]
200
+ """Updates access bindings for the specified SPQR cluster."""
201
+
183
202
  class ClusterServiceAsyncStub:
184
203
  """A set of methods for managing SPQR Cluster resources."""
185
204
 
@@ -339,6 +358,24 @@ class ClusterServiceAsyncStub:
339
358
  ]
340
359
  """Deletes the specified shard."""
341
360
 
361
+ ListAccessBindings: grpc.aio.UnaryUnaryMultiCallable[
362
+ yandex.cloud.access.access_pb2.ListAccessBindingsRequest,
363
+ yandex.cloud.access.access_pb2.ListAccessBindingsResponse,
364
+ ]
365
+ """Retrieves a list of access bindings for the specified SPQR cluster."""
366
+
367
+ SetAccessBindings: grpc.aio.UnaryUnaryMultiCallable[
368
+ yandex.cloud.access.access_pb2.SetAccessBindingsRequest,
369
+ yandex.cloud.operation.operation_pb2.Operation,
370
+ ]
371
+ """Sets access bindings for the specified SPQR cluster."""
372
+
373
+ UpdateAccessBindings: grpc.aio.UnaryUnaryMultiCallable[
374
+ yandex.cloud.access.access_pb2.UpdateAccessBindingsRequest,
375
+ yandex.cloud.operation.operation_pb2.Operation,
376
+ ]
377
+ """Updates access bindings for the specified SPQR cluster."""
378
+
342
379
  class ClusterServiceServicer(metaclass=abc.ABCMeta):
343
380
  """A set of methods for managing SPQR Cluster resources."""
344
381
 
@@ -548,4 +585,28 @@ class ClusterServiceServicer(metaclass=abc.ABCMeta):
548
585
  ) -> typing.Union[yandex.cloud.operation.operation_pb2.Operation, collections.abc.Awaitable[yandex.cloud.operation.operation_pb2.Operation]]:
549
586
  """Deletes the specified shard."""
550
587
 
588
+ @abc.abstractmethod
589
+ def ListAccessBindings(
590
+ self,
591
+ request: yandex.cloud.access.access_pb2.ListAccessBindingsRequest,
592
+ context: _ServicerContext,
593
+ ) -> typing.Union[yandex.cloud.access.access_pb2.ListAccessBindingsResponse, collections.abc.Awaitable[yandex.cloud.access.access_pb2.ListAccessBindingsResponse]]:
594
+ """Retrieves a list of access bindings for the specified SPQR cluster."""
595
+
596
+ @abc.abstractmethod
597
+ def SetAccessBindings(
598
+ self,
599
+ request: yandex.cloud.access.access_pb2.SetAccessBindingsRequest,
600
+ context: _ServicerContext,
601
+ ) -> typing.Union[yandex.cloud.operation.operation_pb2.Operation, collections.abc.Awaitable[yandex.cloud.operation.operation_pb2.Operation]]:
602
+ """Sets access bindings for the specified SPQR cluster."""
603
+
604
+ @abc.abstractmethod
605
+ def UpdateAccessBindings(
606
+ self,
607
+ request: yandex.cloud.access.access_pb2.UpdateAccessBindingsRequest,
608
+ context: _ServicerContext,
609
+ ) -> typing.Union[yandex.cloud.operation.operation_pb2.Operation, collections.abc.Awaitable[yandex.cloud.operation.operation_pb2.Operation]]:
610
+ """Updates access bindings for the specified SPQR cluster."""
611
+
551
612
  def add_ClusterServiceServicer_to_server(servicer: ClusterServiceServicer, server: typing.Union[grpc.Server, grpc.aio.Server]) -> None: ...
@@ -0,0 +1,55 @@
1
+ # -*- coding: utf-8 -*-
2
+ # Generated by the protocol buffer compiler. DO NOT EDIT!
3
+ # NO CHECKED-IN PROTOBUF GENCODE
4
+ # source: yandex/cloud/organizationmanager/v1/idp/application/oauth/application.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/organizationmanager/v1/idp/application/oauth/application.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'\nKyandex/cloud/organizationmanager/v1/idp/application/oauth/application.proto\x12\x39yandex.cloud.organizationmanager.v1.idp.application.oauth\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1dyandex/cloud/validation.proto\"\xe8\x04\n\x0b\x41pplication\x12\n\n\x02id\x18\x01 \x01(\t\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x17\n\x0forganization_id\x18\x03 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x04 \x01(\t\x12m\n\x15group_claims_settings\x18\x05 \x01(\x0b\x32N.yandex.cloud.organizationmanager.v1.idp.application.oauth.GroupClaimsSettings\x12\\\n\x0c\x63lient_grant\x18\x06 \x01(\x0b\x32\x46.yandex.cloud.organizationmanager.v1.idp.application.oauth.ClientGrant\x12Q\n\x06status\x18\x07 \x01(\x0e\x32\x41.yandex.cloud.organizationmanager.v1.idp.application.oauth.Status\x12\x62\n\x06labels\x18\x08 \x03(\x0b\x32R.yandex.cloud.organizationmanager.v1.idp.application.oauth.Application.LabelsEntry\x12.\n\ncreated_at\x18\t \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12.\n\nupdated_at\x18\n \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\x88\x01\n\x13GroupClaimsSettings\x12q\n\x17group_distribution_type\x18\x01 \x01(\x0e\x32P.yandex.cloud.organizationmanager.v1.idp.application.oauth.GroupDistributionType\"^\n\x0b\x43lientGrant\x12\x1f\n\tclient_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12.\n\x11\x61uthorized_scopes\x18\x02 \x03(\tB\x13\x82\xc8\x31\x06\x31-1000\x8a\xc8\x31\x05<=255*W\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\r\n\tSUSPENDED\x10\x03\x12\x0c\n\x08\x44\x45LETING\x10\x04*o\n\x15GroupDistributionType\x12\'\n#GROUP_DISTRIBUTION_TYPE_UNSPECIFIED\x10\x00\x12\x08\n\x04NONE\x10\x01\x12\x13\n\x0f\x41SSIGNED_GROUPS\x10\x02\x12\x0e\n\nALL_GROUPS\x10\x03\x42\xa4\x01\n=yandex.cloud.api.organizationmanager.v1.idp.application.oauthZcgithub.com/yandex-cloud/go-genproto/yandex/cloud/organizationmanager/v1/idp/application/oauth;oauthb\x06proto3')
30
+
31
+ _globals = globals()
32
+ _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
33
+ _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'yandex.cloud.organizationmanager.v1.idp.application.oauth.application_pb2', _globals)
34
+ if not _descriptor._USE_C_DESCRIPTORS:
35
+ _globals['DESCRIPTOR']._loaded_options = None
36
+ _globals['DESCRIPTOR']._serialized_options = b'\n=yandex.cloud.api.organizationmanager.v1.idp.application.oauthZcgithub.com/yandex-cloud/go-genproto/yandex/cloud/organizationmanager/v1/idp/application/oauth;oauth'
37
+ _globals['_APPLICATION_LABELSENTRY']._loaded_options = None
38
+ _globals['_APPLICATION_LABELSENTRY']._serialized_options = b'8\001'
39
+ _globals['_CLIENTGRANT'].fields_by_name['client_id']._loaded_options = None
40
+ _globals['_CLIENTGRANT'].fields_by_name['client_id']._serialized_options = b'\350\3071\001\212\3101\004<=50'
41
+ _globals['_CLIENTGRANT'].fields_by_name['authorized_scopes']._loaded_options = None
42
+ _globals['_CLIENTGRANT'].fields_by_name['authorized_scopes']._serialized_options = b'\202\3101\0061-1000\212\3101\005<=255'
43
+ _globals['_STATUS']._serialized_start=1056
44
+ _globals['_STATUS']._serialized_end=1143
45
+ _globals['_GROUPDISTRIBUTIONTYPE']._serialized_start=1145
46
+ _globals['_GROUPDISTRIBUTIONTYPE']._serialized_end=1256
47
+ _globals['_APPLICATION']._serialized_start=203
48
+ _globals['_APPLICATION']._serialized_end=819
49
+ _globals['_APPLICATION_LABELSENTRY']._serialized_start=774
50
+ _globals['_APPLICATION_LABELSENTRY']._serialized_end=819
51
+ _globals['_GROUPCLAIMSSETTINGS']._serialized_start=822
52
+ _globals['_GROUPCLAIMSSETTINGS']._serialized_end=958
53
+ _globals['_CLIENTGRANT']._serialized_start=960
54
+ _globals['_CLIENTGRANT']._serialized_end=1054
55
+ # @@protoc_insertion_point(module_scope)
@@ -0,0 +1,206 @@
1
+ """
2
+ @generated by mypy-protobuf. Do not edit manually!
3
+ isort:skip_file
4
+ """
5
+
6
+ import builtins
7
+ import collections.abc
8
+ import google.protobuf.descriptor
9
+ import google.protobuf.internal.containers
10
+ import google.protobuf.internal.enum_type_wrapper
11
+ import google.protobuf.message
12
+ import google.protobuf.timestamp_pb2
13
+ import sys
14
+ import typing
15
+
16
+ if sys.version_info >= (3, 10):
17
+ import typing as typing_extensions
18
+ else:
19
+ import typing_extensions
20
+
21
+ DESCRIPTOR: google.protobuf.descriptor.FileDescriptor
22
+
23
+ class _Status:
24
+ ValueType = typing.NewType("ValueType", builtins.int)
25
+ V: typing_extensions.TypeAlias = ValueType
26
+
27
+ class _StatusEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[_Status.ValueType], builtins.type):
28
+ DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor
29
+ STATUS_UNSPECIFIED: _Status.ValueType # 0
30
+ """The status is not specified."""
31
+ CREATING: _Status.ValueType # 1
32
+ """The apllication is in the process of being created."""
33
+ ACTIVE: _Status.ValueType # 2
34
+ """The apllication is active and operational."""
35
+ SUSPENDED: _Status.ValueType # 3
36
+ """The apllication is suspended. I.e. authentication via this application is disabled."""
37
+ DELETING: _Status.ValueType # 4
38
+ """The apllication is in the process of being deleted."""
39
+
40
+ class Status(_Status, metaclass=_StatusEnumTypeWrapper):
41
+ """Represents the status of an application."""
42
+
43
+ STATUS_UNSPECIFIED: Status.ValueType # 0
44
+ """The status is not specified."""
45
+ CREATING: Status.ValueType # 1
46
+ """The apllication is in the process of being created."""
47
+ ACTIVE: Status.ValueType # 2
48
+ """The apllication is active and operational."""
49
+ SUSPENDED: Status.ValueType # 3
50
+ """The apllication is suspended. I.e. authentication via this application is disabled."""
51
+ DELETING: Status.ValueType # 4
52
+ """The apllication is in the process of being deleted."""
53
+ global___Status = Status
54
+
55
+ class _GroupDistributionType:
56
+ ValueType = typing.NewType("ValueType", builtins.int)
57
+ V: typing_extensions.TypeAlias = ValueType
58
+
59
+ class _GroupDistributionTypeEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[_GroupDistributionType.ValueType], builtins.type):
60
+ DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor
61
+ GROUP_DISTRIBUTION_TYPE_UNSPECIFIED: _GroupDistributionType.ValueType # 0
62
+ """The distribution type is unspecified"""
63
+ NONE: _GroupDistributionType.ValueType # 1
64
+ """No groups are visible for the application users"""
65
+ ASSIGNED_GROUPS: _GroupDistributionType.ValueType # 2
66
+ """Only assigned groups are visible for the application users"""
67
+ ALL_GROUPS: _GroupDistributionType.ValueType # 3
68
+ """All groups are visible for the application users"""
69
+
70
+ class GroupDistributionType(_GroupDistributionType, metaclass=_GroupDistributionTypeEnumTypeWrapper):
71
+ """Represents distribution type of the groups"""
72
+
73
+ GROUP_DISTRIBUTION_TYPE_UNSPECIFIED: GroupDistributionType.ValueType # 0
74
+ """The distribution type is unspecified"""
75
+ NONE: GroupDistributionType.ValueType # 1
76
+ """No groups are visible for the application users"""
77
+ ASSIGNED_GROUPS: GroupDistributionType.ValueType # 2
78
+ """Only assigned groups are visible for the application users"""
79
+ ALL_GROUPS: GroupDistributionType.ValueType # 3
80
+ """All groups are visible for the application users"""
81
+ global___GroupDistributionType = GroupDistributionType
82
+
83
+ @typing.final
84
+ class Application(google.protobuf.message.Message):
85
+ """An OAuth application resource."""
86
+
87
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
88
+
89
+ @typing.final
90
+ class LabelsEntry(google.protobuf.message.Message):
91
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
92
+
93
+ KEY_FIELD_NUMBER: builtins.int
94
+ VALUE_FIELD_NUMBER: builtins.int
95
+ key: builtins.str
96
+ value: builtins.str
97
+ def __init__(
98
+ self,
99
+ *,
100
+ key: builtins.str = ...,
101
+ value: builtins.str = ...,
102
+ ) -> None: ...
103
+ def ClearField(self, field_name: typing.Literal["key", b"key", "value", b"value"]) -> None: ...
104
+
105
+ ID_FIELD_NUMBER: builtins.int
106
+ NAME_FIELD_NUMBER: builtins.int
107
+ ORGANIZATION_ID_FIELD_NUMBER: builtins.int
108
+ DESCRIPTION_FIELD_NUMBER: builtins.int
109
+ GROUP_CLAIMS_SETTINGS_FIELD_NUMBER: builtins.int
110
+ CLIENT_GRANT_FIELD_NUMBER: builtins.int
111
+ STATUS_FIELD_NUMBER: builtins.int
112
+ LABELS_FIELD_NUMBER: builtins.int
113
+ CREATED_AT_FIELD_NUMBER: builtins.int
114
+ UPDATED_AT_FIELD_NUMBER: builtins.int
115
+ id: builtins.str
116
+ """ID of the application."""
117
+ name: builtins.str
118
+ """Name of the application.
119
+ The name is unique within the organization. 3-63 characters long.
120
+ """
121
+ organization_id: builtins.str
122
+ """ID of the organization that the application belongs to."""
123
+ description: builtins.str
124
+ """Description of the application. 0-256 characters long."""
125
+ status: global___Status.ValueType
126
+ """Current status of the application."""
127
+ @property
128
+ def group_claims_settings(self) -> global___GroupClaimsSettings:
129
+ """Settings of the group claims"""
130
+
131
+ @property
132
+ def client_grant(self) -> global___ClientGrant:
133
+ """Represents current connection to the OAuth client with specified scopes"""
134
+
135
+ @property
136
+ def labels(self) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]:
137
+ """Resource labels as `` key:value `` pairs."""
138
+
139
+ @property
140
+ def created_at(self) -> google.protobuf.timestamp_pb2.Timestamp:
141
+ """Creation timestamp."""
142
+
143
+ @property
144
+ def updated_at(self) -> google.protobuf.timestamp_pb2.Timestamp:
145
+ """Modification timestamp."""
146
+
147
+ def __init__(
148
+ self,
149
+ *,
150
+ id: builtins.str = ...,
151
+ name: builtins.str = ...,
152
+ organization_id: builtins.str = ...,
153
+ description: builtins.str = ...,
154
+ group_claims_settings: global___GroupClaimsSettings | None = ...,
155
+ client_grant: global___ClientGrant | None = ...,
156
+ status: global___Status.ValueType = ...,
157
+ labels: collections.abc.Mapping[builtins.str, builtins.str] | None = ...,
158
+ created_at: google.protobuf.timestamp_pb2.Timestamp | None = ...,
159
+ updated_at: google.protobuf.timestamp_pb2.Timestamp | None = ...,
160
+ ) -> None: ...
161
+ def HasField(self, field_name: typing.Literal["client_grant", b"client_grant", "created_at", b"created_at", "group_claims_settings", b"group_claims_settings", "updated_at", b"updated_at"]) -> builtins.bool: ...
162
+ def ClearField(self, field_name: typing.Literal["client_grant", b"client_grant", "created_at", b"created_at", "description", b"description", "group_claims_settings", b"group_claims_settings", "id", b"id", "labels", b"labels", "name", b"name", "organization_id", b"organization_id", "status", b"status", "updated_at", b"updated_at"]) -> None: ...
163
+
164
+ global___Application = Application
165
+
166
+ @typing.final
167
+ class GroupClaimsSettings(google.protobuf.message.Message):
168
+ """Settings of the group claims"""
169
+
170
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
171
+
172
+ GROUP_DISTRIBUTION_TYPE_FIELD_NUMBER: builtins.int
173
+ group_distribution_type: global___GroupDistributionType.ValueType
174
+ """Represents current distribution type of the groups. I.e. which groups are visible for the application users."""
175
+ def __init__(
176
+ self,
177
+ *,
178
+ group_distribution_type: global___GroupDistributionType.ValueType = ...,
179
+ ) -> None: ...
180
+ def ClearField(self, field_name: typing.Literal["group_distribution_type", b"group_distribution_type"]) -> None: ...
181
+
182
+ global___GroupClaimsSettings = GroupClaimsSettings
183
+
184
+ @typing.final
185
+ class ClientGrant(google.protobuf.message.Message):
186
+ """Represents connection to the OAuth client with specified scopes"""
187
+
188
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
189
+
190
+ CLIENT_ID_FIELD_NUMBER: builtins.int
191
+ AUTHORIZED_SCOPES_FIELD_NUMBER: builtins.int
192
+ client_id: builtins.str
193
+ """OAuth client id"""
194
+ @property
195
+ def authorized_scopes(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]:
196
+ """List of authorized client scopes by the application"""
197
+
198
+ def __init__(
199
+ self,
200
+ *,
201
+ client_id: builtins.str = ...,
202
+ authorized_scopes: collections.abc.Iterable[builtins.str] | None = ...,
203
+ ) -> None: ...
204
+ def ClearField(self, field_name: typing.Literal["authorized_scopes", b"authorized_scopes", "client_id", b"client_id"]) -> None: ...
205
+
206
+ global___ClientGrant = ClientGrant
@@ -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/organizationmanager/v1/idp/application/oauth/application_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
+ ...