yandexcloud 0.359.0__py3-none-any.whl → 0.360.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 (36) hide show
  1. yandex/cloud/cdn/v1/rule_pb2.py +2 -2
  2. yandex/cloud/cdn/v1/rule_pb2.pyi +7 -1
  3. yandex/cloud/cdn/v1/rule_service_pb2.py +16 -16
  4. yandex/cloud/cdn/v1/rule_service_pb2.pyi +16 -3
  5. yandex/cloud/mdb/clickhouse/v1/config/clickhouse_pb2.pyi +3 -1
  6. yandex/cloud/mdb/clickhouse/v1/user_pb2.pyi +1 -1
  7. yandex/cloud/monitoring/v3/group_widget_pb2.py +48 -0
  8. yandex/cloud/monitoring/v3/group_widget_pb2.pyi +131 -0
  9. yandex/cloud/monitoring/v3/group_widget_pb2_grpc.py +24 -0
  10. yandex/cloud/monitoring/v3/group_widget_pb2_grpc.pyi +17 -0
  11. yandex/cloud/monitoring/v3/widget_pb2.py +6 -5
  12. yandex/cloud/monitoring/v3/widget_pb2.pyi +10 -3
  13. yandex/cloud/organizationmanager/v1/idp/__init__.py +0 -0
  14. yandex/cloud/organizationmanager/v1/idp/user_pb2.py +40 -0
  15. yandex/cloud/organizationmanager/v1/idp/user_pb2.pyi +149 -0
  16. yandex/cloud/organizationmanager/v1/idp/user_pb2_grpc.py +24 -0
  17. yandex/cloud/organizationmanager/v1/idp/user_pb2_grpc.pyi +17 -0
  18. yandex/cloud/organizationmanager/v1/idp/user_service_pb2.py +218 -0
  19. yandex/cloud/organizationmanager/v1/idp/user_service_pb2.pyi +809 -0
  20. yandex/cloud/organizationmanager/v1/idp/user_service_pb2_grpc.py +678 -0
  21. yandex/cloud/organizationmanager/v1/idp/user_service_pb2_grpc.pyi +322 -0
  22. yandex/cloud/organizationmanager/v1/idp/userpool_pb2.py +90 -0
  23. yandex/cloud/organizationmanager/v1/idp/userpool_pb2.pyi +549 -0
  24. yandex/cloud/organizationmanager/v1/idp/userpool_pb2_grpc.py +24 -0
  25. yandex/cloud/organizationmanager/v1/idp/userpool_pb2_grpc.pyi +17 -0
  26. yandex/cloud/organizationmanager/v1/idp/userpool_service_pb2.py +162 -0
  27. yandex/cloud/organizationmanager/v1/idp/userpool_service_pb2.pyi +596 -0
  28. yandex/cloud/organizationmanager/v1/idp/userpool_service_pb2_grpc.py +678 -0
  29. yandex/cloud/organizationmanager/v1/idp/userpool_service_pb2_grpc.pyi +322 -0
  30. yandexcloud/__init__.py +1 -1
  31. {yandexcloud-0.359.0.dist-info → yandexcloud-0.360.0.dist-info}/METADATA +1 -1
  32. {yandexcloud-0.359.0.dist-info → yandexcloud-0.360.0.dist-info}/RECORD +36 -15
  33. {yandexcloud-0.359.0.dist-info → yandexcloud-0.360.0.dist-info}/AUTHORS +0 -0
  34. {yandexcloud-0.359.0.dist-info → yandexcloud-0.360.0.dist-info}/LICENSE +0 -0
  35. {yandexcloud-0.359.0.dist-info → yandexcloud-0.360.0.dist-info}/WHEEL +0 -0
  36. {yandexcloud-0.359.0.dist-info → yandexcloud-0.360.0.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,549 @@
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.duration_pb2
10
+ import google.protobuf.internal.containers
11
+ import google.protobuf.internal.enum_type_wrapper
12
+ import google.protobuf.message
13
+ import google.protobuf.timestamp_pb2
14
+ import sys
15
+ import typing
16
+
17
+ if sys.version_info >= (3, 10):
18
+ import typing as typing_extensions
19
+ else:
20
+ import typing_extensions
21
+
22
+ DESCRIPTOR: google.protobuf.descriptor.FileDescriptor
23
+
24
+ @typing.final
25
+ class Userpool(google.protobuf.message.Message):
26
+ """A userpool is a container for users in the Identity Provider system."""
27
+
28
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
29
+
30
+ class _Status:
31
+ ValueType = typing.NewType("ValueType", builtins.int)
32
+ V: typing_extensions.TypeAlias = ValueType
33
+
34
+ class _StatusEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[Userpool._Status.ValueType], builtins.type):
35
+ DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor
36
+ STATUS_UNSPECIFIED: Userpool._Status.ValueType # 0
37
+ """The status is not specified."""
38
+ CREATING: Userpool._Status.ValueType # 1
39
+ """The userpool is in the process of being created."""
40
+ ACTIVE: Userpool._Status.ValueType # 2
41
+ """The userpool is active and operational."""
42
+ DELETING: Userpool._Status.ValueType # 3
43
+ """The userpool is in the process of being deleted."""
44
+
45
+ class Status(_Status, metaclass=_StatusEnumTypeWrapper):
46
+ """Represents the current status of a userpool."""
47
+
48
+ STATUS_UNSPECIFIED: Userpool.Status.ValueType # 0
49
+ """The status is not specified."""
50
+ CREATING: Userpool.Status.ValueType # 1
51
+ """The userpool is in the process of being created."""
52
+ ACTIVE: Userpool.Status.ValueType # 2
53
+ """The userpool is active and operational."""
54
+ DELETING: Userpool.Status.ValueType # 3
55
+ """The userpool is in the process of being deleted."""
56
+
57
+ @typing.final
58
+ class LabelsEntry(google.protobuf.message.Message):
59
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
60
+
61
+ KEY_FIELD_NUMBER: builtins.int
62
+ VALUE_FIELD_NUMBER: builtins.int
63
+ key: builtins.str
64
+ value: builtins.str
65
+ def __init__(
66
+ self,
67
+ *,
68
+ key: builtins.str = ...,
69
+ value: builtins.str = ...,
70
+ ) -> None: ...
71
+ def ClearField(self, field_name: typing.Literal["key", b"key", "value", b"value"]) -> None: ...
72
+
73
+ ID_FIELD_NUMBER: builtins.int
74
+ ORGANIZATION_ID_FIELD_NUMBER: builtins.int
75
+ NAME_FIELD_NUMBER: builtins.int
76
+ DESCRIPTION_FIELD_NUMBER: builtins.int
77
+ LABELS_FIELD_NUMBER: builtins.int
78
+ CREATED_AT_FIELD_NUMBER: builtins.int
79
+ UPDATED_AT_FIELD_NUMBER: builtins.int
80
+ DOMAINS_FIELD_NUMBER: builtins.int
81
+ STATUS_FIELD_NUMBER: builtins.int
82
+ USER_SETTINGS_FIELD_NUMBER: builtins.int
83
+ PASSWORD_QUALITY_POLICY_FIELD_NUMBER: builtins.int
84
+ PASSWORD_LIFETIME_POLICY_FIELD_NUMBER: builtins.int
85
+ BRUTEFORCE_PROTECTION_POLICY_FIELD_NUMBER: builtins.int
86
+ id: builtins.str
87
+ """Unique identifier of the userpool."""
88
+ organization_id: builtins.str
89
+ """ID of the organization this userpool belongs to."""
90
+ name: builtins.str
91
+ """Name of the userpool."""
92
+ description: builtins.str
93
+ """Description of the userpool."""
94
+ status: global___Userpool.Status.ValueType
95
+ """Current status of the userpool."""
96
+ @property
97
+ def labels(self) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]:
98
+ """Resource labels as key:value pairs."""
99
+
100
+ @property
101
+ def created_at(self) -> google.protobuf.timestamp_pb2.Timestamp:
102
+ """Timestamp when the userpool was created."""
103
+
104
+ @property
105
+ def updated_at(self) -> google.protobuf.timestamp_pb2.Timestamp:
106
+ """Timestamp when the userpool was last updated."""
107
+
108
+ @property
109
+ def domains(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]:
110
+ """List of domains associated with this userpool."""
111
+
112
+ @property
113
+ def user_settings(self) -> global___UserSettings:
114
+ """User settings for this userpool."""
115
+
116
+ @property
117
+ def password_quality_policy(self) -> global___PasswordQualityPolicy:
118
+ """Password quality policy for this userpool."""
119
+
120
+ @property
121
+ def password_lifetime_policy(self) -> global___PasswordLifetimePolicy:
122
+ """Password lifetime policy for this userpool."""
123
+
124
+ @property
125
+ def bruteforce_protection_policy(self) -> global___BruteforceProtectionPolicy:
126
+ """Bruteforce protection policy for this userpool."""
127
+
128
+ def __init__(
129
+ self,
130
+ *,
131
+ id: builtins.str = ...,
132
+ organization_id: builtins.str = ...,
133
+ name: builtins.str = ...,
134
+ description: builtins.str = ...,
135
+ labels: collections.abc.Mapping[builtins.str, builtins.str] | None = ...,
136
+ created_at: google.protobuf.timestamp_pb2.Timestamp | None = ...,
137
+ updated_at: google.protobuf.timestamp_pb2.Timestamp | None = ...,
138
+ domains: collections.abc.Iterable[builtins.str] | None = ...,
139
+ status: global___Userpool.Status.ValueType = ...,
140
+ user_settings: global___UserSettings | None = ...,
141
+ password_quality_policy: global___PasswordQualityPolicy | None = ...,
142
+ password_lifetime_policy: global___PasswordLifetimePolicy | None = ...,
143
+ bruteforce_protection_policy: global___BruteforceProtectionPolicy | None = ...,
144
+ ) -> None: ...
145
+ def HasField(self, field_name: typing.Literal["bruteforce_protection_policy", b"bruteforce_protection_policy", "created_at", b"created_at", "password_lifetime_policy", b"password_lifetime_policy", "password_quality_policy", b"password_quality_policy", "updated_at", b"updated_at", "user_settings", b"user_settings"]) -> builtins.bool: ...
146
+ def ClearField(self, field_name: typing.Literal["bruteforce_protection_policy", b"bruteforce_protection_policy", "created_at", b"created_at", "description", b"description", "domains", b"domains", "id", b"id", "labels", b"labels", "name", b"name", "organization_id", b"organization_id", "password_lifetime_policy", b"password_lifetime_policy", "password_quality_policy", b"password_quality_policy", "status", b"status", "updated_at", b"updated_at", "user_settings", b"user_settings"]) -> None: ...
147
+
148
+ global___Userpool = Userpool
149
+
150
+ @typing.final
151
+ class UserSettings(google.protobuf.message.Message):
152
+ """Settings that control user capabilities within a userpool."""
153
+
154
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
155
+
156
+ ALLOW_EDIT_SELF_PASSWORD_FIELD_NUMBER: builtins.int
157
+ ALLOW_EDIT_SELF_INFO_FIELD_NUMBER: builtins.int
158
+ ALLOW_EDIT_SELF_CONTACTS_FIELD_NUMBER: builtins.int
159
+ ALLOW_EDIT_SELF_LOGIN_FIELD_NUMBER: builtins.int
160
+ allow_edit_self_password: builtins.bool
161
+ """Whether users can change their own passwords."""
162
+ allow_edit_self_info: builtins.bool
163
+ """Whether users can edit their own profile information."""
164
+ allow_edit_self_contacts: builtins.bool
165
+ """Whether users can edit their own contact information."""
166
+ allow_edit_self_login: builtins.bool
167
+ """Whether users can edit their own login information."""
168
+ def __init__(
169
+ self,
170
+ *,
171
+ allow_edit_self_password: builtins.bool = ...,
172
+ allow_edit_self_info: builtins.bool = ...,
173
+ allow_edit_self_contacts: builtins.bool = ...,
174
+ allow_edit_self_login: builtins.bool = ...,
175
+ ) -> None: ...
176
+ def ClearField(self, field_name: typing.Literal["allow_edit_self_contacts", b"allow_edit_self_contacts", "allow_edit_self_info", b"allow_edit_self_info", "allow_edit_self_login", b"allow_edit_self_login", "allow_edit_self_password", b"allow_edit_self_password"]) -> None: ...
177
+
178
+ global___UserSettings = UserSettings
179
+
180
+ @typing.final
181
+ class Domain(google.protobuf.message.Message):
182
+ """A domain associated with a userpool."""
183
+
184
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
185
+
186
+ class _Status:
187
+ ValueType = typing.NewType("ValueType", builtins.int)
188
+ V: typing_extensions.TypeAlias = ValueType
189
+
190
+ class _StatusEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[Domain._Status.ValueType], builtins.type):
191
+ DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor
192
+ STATUS_UNSPECIFIED: Domain._Status.ValueType # 0
193
+ """The status is not specified."""
194
+ NEED_TO_VALIDATE: Domain._Status.ValueType # 1
195
+ """The domain needs to be validated."""
196
+ VALIDATING: Domain._Status.ValueType # 2
197
+ """The domain is in the process of being validated."""
198
+ VALID: Domain._Status.ValueType # 3
199
+ """The domain has been successfully validated."""
200
+ INVALID: Domain._Status.ValueType # 4
201
+ """The domain validation has failed."""
202
+ DELETING: Domain._Status.ValueType # 5
203
+ """The domain is in the process of being deleted."""
204
+
205
+ class Status(_Status, metaclass=_StatusEnumTypeWrapper):
206
+ """Represents the current status of a domain."""
207
+
208
+ STATUS_UNSPECIFIED: Domain.Status.ValueType # 0
209
+ """The status is not specified."""
210
+ NEED_TO_VALIDATE: Domain.Status.ValueType # 1
211
+ """The domain needs to be validated."""
212
+ VALIDATING: Domain.Status.ValueType # 2
213
+ """The domain is in the process of being validated."""
214
+ VALID: Domain.Status.ValueType # 3
215
+ """The domain has been successfully validated."""
216
+ INVALID: Domain.Status.ValueType # 4
217
+ """The domain validation has failed."""
218
+ DELETING: Domain.Status.ValueType # 5
219
+ """The domain is in the process of being deleted."""
220
+
221
+ DOMAIN_FIELD_NUMBER: builtins.int
222
+ STATUS_FIELD_NUMBER: builtins.int
223
+ STATUS_CODE_FIELD_NUMBER: builtins.int
224
+ CREATED_AT_FIELD_NUMBER: builtins.int
225
+ VALIDATED_AT_FIELD_NUMBER: builtins.int
226
+ CHALLENGES_FIELD_NUMBER: builtins.int
227
+ DELETION_PROTECTION_FIELD_NUMBER: builtins.int
228
+ domain: builtins.str
229
+ """Domain name."""
230
+ status: global___Domain.Status.ValueType
231
+ """Current status of the domain."""
232
+ status_code: builtins.str
233
+ """Optional code providing details about validation errors."""
234
+ deletion_protection: builtins.bool
235
+ """Whether the domain is protected from deletion."""
236
+ @property
237
+ def created_at(self) -> google.protobuf.timestamp_pb2.Timestamp:
238
+ """Timestamp when the domain was created."""
239
+
240
+ @property
241
+ def validated_at(self) -> google.protobuf.timestamp_pb2.Timestamp:
242
+ """Timestamp when the domain was validated."""
243
+
244
+ @property
245
+ def challenges(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___DomainChallenge]:
246
+ """List of challenges associated with this domain."""
247
+
248
+ def __init__(
249
+ self,
250
+ *,
251
+ domain: builtins.str = ...,
252
+ status: global___Domain.Status.ValueType = ...,
253
+ status_code: builtins.str = ...,
254
+ created_at: google.protobuf.timestamp_pb2.Timestamp | None = ...,
255
+ validated_at: google.protobuf.timestamp_pb2.Timestamp | None = ...,
256
+ challenges: collections.abc.Iterable[global___DomainChallenge] | None = ...,
257
+ deletion_protection: builtins.bool = ...,
258
+ ) -> None: ...
259
+ def HasField(self, field_name: typing.Literal["created_at", b"created_at", "validated_at", b"validated_at"]) -> builtins.bool: ...
260
+ def ClearField(self, field_name: typing.Literal["challenges", b"challenges", "created_at", b"created_at", "deletion_protection", b"deletion_protection", "domain", b"domain", "status", b"status", "status_code", b"status_code", "validated_at", b"validated_at"]) -> None: ...
261
+
262
+ global___Domain = Domain
263
+
264
+ @typing.final
265
+ class DomainChallenge(google.protobuf.message.Message):
266
+ """A challenge used to validate domain ownership."""
267
+
268
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
269
+
270
+ class _Type:
271
+ ValueType = typing.NewType("ValueType", builtins.int)
272
+ V: typing_extensions.TypeAlias = ValueType
273
+
274
+ class _TypeEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[DomainChallenge._Type.ValueType], builtins.type):
275
+ DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor
276
+ TYPE_UNSPECIFIED: DomainChallenge._Type.ValueType # 0
277
+ """The type is not specified."""
278
+ DNS_TXT: DomainChallenge._Type.ValueType # 1
279
+ """DNS TXT record challenge."""
280
+
281
+ class Type(_Type, metaclass=_TypeEnumTypeWrapper):
282
+ """Type of domain challenge."""
283
+
284
+ TYPE_UNSPECIFIED: DomainChallenge.Type.ValueType # 0
285
+ """The type is not specified."""
286
+ DNS_TXT: DomainChallenge.Type.ValueType # 1
287
+ """DNS TXT record challenge."""
288
+
289
+ class _Status:
290
+ ValueType = typing.NewType("ValueType", builtins.int)
291
+ V: typing_extensions.TypeAlias = ValueType
292
+
293
+ class _StatusEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[DomainChallenge._Status.ValueType], builtins.type):
294
+ DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor
295
+ STATUS_UNSPECIFIED: DomainChallenge._Status.ValueType # 0
296
+ """The status is not specified."""
297
+ PENDING: DomainChallenge._Status.ValueType # 1
298
+ """The challenge is pending verification."""
299
+ PROCESSING: DomainChallenge._Status.ValueType # 2
300
+ """The challenge verification is in progress."""
301
+ VALID: DomainChallenge._Status.ValueType # 3
302
+ """The challenge has been successfully verified."""
303
+ INVALID: DomainChallenge._Status.ValueType # 4
304
+ """The challenge verification has failed."""
305
+
306
+ class Status(_Status, metaclass=_StatusEnumTypeWrapper):
307
+ """Status of the domain challenge."""
308
+
309
+ STATUS_UNSPECIFIED: DomainChallenge.Status.ValueType # 0
310
+ """The status is not specified."""
311
+ PENDING: DomainChallenge.Status.ValueType # 1
312
+ """The challenge is pending verification."""
313
+ PROCESSING: DomainChallenge.Status.ValueType # 2
314
+ """The challenge verification is in progress."""
315
+ VALID: DomainChallenge.Status.ValueType # 3
316
+ """The challenge has been successfully verified."""
317
+ INVALID: DomainChallenge.Status.ValueType # 4
318
+ """The challenge verification has failed."""
319
+
320
+ @typing.final
321
+ class DnsRecord(google.protobuf.message.Message):
322
+ """DNS record information for domain validation."""
323
+
324
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
325
+
326
+ class _Type:
327
+ ValueType = typing.NewType("ValueType", builtins.int)
328
+ V: typing_extensions.TypeAlias = ValueType
329
+
330
+ class _TypeEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[DomainChallenge.DnsRecord._Type.ValueType], builtins.type):
331
+ DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor
332
+ TYPE_UNSPECIFIED: DomainChallenge.DnsRecord._Type.ValueType # 0
333
+ """The type is not specified."""
334
+ TXT: DomainChallenge.DnsRecord._Type.ValueType # 1
335
+ """TXT record type."""
336
+
337
+ class Type(_Type, metaclass=_TypeEnumTypeWrapper):
338
+ """Type of DNS record."""
339
+
340
+ TYPE_UNSPECIFIED: DomainChallenge.DnsRecord.Type.ValueType # 0
341
+ """The type is not specified."""
342
+ TXT: DomainChallenge.DnsRecord.Type.ValueType # 1
343
+ """TXT record type."""
344
+
345
+ NAME_FIELD_NUMBER: builtins.int
346
+ TYPE_FIELD_NUMBER: builtins.int
347
+ VALUE_FIELD_NUMBER: builtins.int
348
+ name: builtins.str
349
+ """Name of the DNS record."""
350
+ type: global___DomainChallenge.DnsRecord.Type.ValueType
351
+ """Type of the DNS record."""
352
+ value: builtins.str
353
+ """Value of the DNS record."""
354
+ def __init__(
355
+ self,
356
+ *,
357
+ name: builtins.str = ...,
358
+ type: global___DomainChallenge.DnsRecord.Type.ValueType = ...,
359
+ value: builtins.str = ...,
360
+ ) -> None: ...
361
+ def ClearField(self, field_name: typing.Literal["name", b"name", "type", b"type", "value", b"value"]) -> None: ...
362
+
363
+ CREATED_AT_FIELD_NUMBER: builtins.int
364
+ UPDATED_AT_FIELD_NUMBER: builtins.int
365
+ TYPE_FIELD_NUMBER: builtins.int
366
+ STATUS_FIELD_NUMBER: builtins.int
367
+ DNS_CHALLENGE_FIELD_NUMBER: builtins.int
368
+ type: global___DomainChallenge.Type.ValueType
369
+ """Type of the challenge."""
370
+ status: global___DomainChallenge.Status.ValueType
371
+ """Current status of the challenge."""
372
+ @property
373
+ def created_at(self) -> google.protobuf.timestamp_pb2.Timestamp:
374
+ """Timestamp when the challenge was created."""
375
+
376
+ @property
377
+ def updated_at(self) -> google.protobuf.timestamp_pb2.Timestamp:
378
+ """Timestamp when the challenge was last updated."""
379
+
380
+ @property
381
+ def dns_challenge(self) -> global___DomainChallenge.DnsRecord:
382
+ """DNS record challenge details."""
383
+
384
+ def __init__(
385
+ self,
386
+ *,
387
+ created_at: google.protobuf.timestamp_pb2.Timestamp | None = ...,
388
+ updated_at: google.protobuf.timestamp_pb2.Timestamp | None = ...,
389
+ type: global___DomainChallenge.Type.ValueType = ...,
390
+ status: global___DomainChallenge.Status.ValueType = ...,
391
+ dns_challenge: global___DomainChallenge.DnsRecord | None = ...,
392
+ ) -> None: ...
393
+ def HasField(self, field_name: typing.Literal["challenge", b"challenge", "created_at", b"created_at", "dns_challenge", b"dns_challenge", "updated_at", b"updated_at"]) -> builtins.bool: ...
394
+ def ClearField(self, field_name: typing.Literal["challenge", b"challenge", "created_at", b"created_at", "dns_challenge", b"dns_challenge", "status", b"status", "type", b"type", "updated_at", b"updated_at"]) -> None: ...
395
+ def WhichOneof(self, oneof_group: typing.Literal["challenge", b"challenge"]) -> typing.Literal["dns_challenge"] | None: ...
396
+
397
+ global___DomainChallenge = DomainChallenge
398
+
399
+ @typing.final
400
+ class PasswordQualityPolicy(google.protobuf.message.Message):
401
+ """Policy that defines password quality requirements."""
402
+
403
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
404
+
405
+ @typing.final
406
+ class RequiredClasses(google.protobuf.message.Message):
407
+ """Character classes that can be required in passwords."""
408
+
409
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
410
+
411
+ LOWERS_FIELD_NUMBER: builtins.int
412
+ UPPERS_FIELD_NUMBER: builtins.int
413
+ DIGITS_FIELD_NUMBER: builtins.int
414
+ SPECIALS_FIELD_NUMBER: builtins.int
415
+ lowers: builtins.bool
416
+ """Whether lowercase letters are required."""
417
+ uppers: builtins.bool
418
+ """Whether uppercase letters are required."""
419
+ digits: builtins.bool
420
+ """Whether digits are required."""
421
+ specials: builtins.bool
422
+ """Whether special characters are required."""
423
+ def __init__(
424
+ self,
425
+ *,
426
+ lowers: builtins.bool = ...,
427
+ uppers: builtins.bool = ...,
428
+ digits: builtins.bool = ...,
429
+ specials: builtins.bool = ...,
430
+ ) -> None: ...
431
+ def ClearField(self, field_name: typing.Literal["digits", b"digits", "lowers", b"lowers", "specials", b"specials", "uppers", b"uppers"]) -> None: ...
432
+
433
+ @typing.final
434
+ class MinLengthByClassSettings(google.protobuf.message.Message):
435
+ """Minimum password length requirements based on character class diversity."""
436
+
437
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
438
+
439
+ ONE_FIELD_NUMBER: builtins.int
440
+ TWO_FIELD_NUMBER: builtins.int
441
+ THREE_FIELD_NUMBER: builtins.int
442
+ one: builtins.int
443
+ """Minimum length for passwords with one character class."""
444
+ two: builtins.int
445
+ """Minimum length for passwords with two character classes."""
446
+ three: builtins.int
447
+ """Minimum length for passwords with three character classes."""
448
+ def __init__(
449
+ self,
450
+ *,
451
+ one: builtins.int = ...,
452
+ two: builtins.int = ...,
453
+ three: builtins.int = ...,
454
+ ) -> None: ...
455
+ def ClearField(self, field_name: typing.Literal["one", b"one", "three", b"three", "two", b"two"]) -> None: ...
456
+
457
+ ALLOW_SIMILAR_FIELD_NUMBER: builtins.int
458
+ MAX_LENGTH_FIELD_NUMBER: builtins.int
459
+ MIN_LENGTH_FIELD_NUMBER: builtins.int
460
+ MATCH_LENGTH_FIELD_NUMBER: builtins.int
461
+ REQUIRED_CLASSES_FIELD_NUMBER: builtins.int
462
+ MIN_LENGTH_BY_CLASS_SETTINGS_FIELD_NUMBER: builtins.int
463
+ allow_similar: builtins.bool
464
+ """Whether passwords similar to previous ones are allowed."""
465
+ max_length: builtins.int
466
+ """Maximum password length. Zero means no maximum length is enforced."""
467
+ min_length: builtins.int
468
+ """Minimum password length."""
469
+ match_length: builtins.int
470
+ """Minimum length of substrings to check for similarity to vulnerable sequences."""
471
+ @property
472
+ def required_classes(self) -> global___PasswordQualityPolicy.RequiredClasses:
473
+ """Character classes required in passwords."""
474
+
475
+ @property
476
+ def min_length_by_class_settings(self) -> global___PasswordQualityPolicy.MinLengthByClassSettings:
477
+ """Minimum length requirements based on character class diversity.
478
+ If not specified, these checks are disabled.
479
+ """
480
+
481
+ def __init__(
482
+ self,
483
+ *,
484
+ allow_similar: builtins.bool = ...,
485
+ max_length: builtins.int = ...,
486
+ min_length: builtins.int = ...,
487
+ match_length: builtins.int = ...,
488
+ required_classes: global___PasswordQualityPolicy.RequiredClasses | None = ...,
489
+ min_length_by_class_settings: global___PasswordQualityPolicy.MinLengthByClassSettings | None = ...,
490
+ ) -> None: ...
491
+ def HasField(self, field_name: typing.Literal["min_length_by_class_settings", b"min_length_by_class_settings", "required_classes", b"required_classes"]) -> builtins.bool: ...
492
+ def ClearField(self, field_name: typing.Literal["allow_similar", b"allow_similar", "match_length", b"match_length", "max_length", b"max_length", "min_length", b"min_length", "min_length_by_class_settings", b"min_length_by_class_settings", "required_classes", b"required_classes"]) -> None: ...
493
+
494
+ global___PasswordQualityPolicy = PasswordQualityPolicy
495
+
496
+ @typing.final
497
+ class PasswordLifetimePolicy(google.protobuf.message.Message):
498
+ """Policy that defines password lifetime requirements."""
499
+
500
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
501
+
502
+ MIN_DAYS_COUNT_FIELD_NUMBER: builtins.int
503
+ MAX_DAYS_COUNT_FIELD_NUMBER: builtins.int
504
+ min_days_count: builtins.int
505
+ """Minimum number of days before a password can be changed."""
506
+ max_days_count: builtins.int
507
+ """Maximum number of days a password remains valid.
508
+ Zero means passwords never expire.
509
+ """
510
+ def __init__(
511
+ self,
512
+ *,
513
+ min_days_count: builtins.int = ...,
514
+ max_days_count: builtins.int = ...,
515
+ ) -> None: ...
516
+ def ClearField(self, field_name: typing.Literal["max_days_count", b"max_days_count", "min_days_count", b"min_days_count"]) -> None: ...
517
+
518
+ global___PasswordLifetimePolicy = PasswordLifetimePolicy
519
+
520
+ @typing.final
521
+ class BruteforceProtectionPolicy(google.protobuf.message.Message):
522
+ """Policy that defines protection against brute force attacks."""
523
+
524
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
525
+
526
+ WINDOW_FIELD_NUMBER: builtins.int
527
+ BLOCK_FIELD_NUMBER: builtins.int
528
+ ATTEMPTS_FIELD_NUMBER: builtins.int
529
+ attempts: builtins.int
530
+ """Number of failed attempts allowed within the window before blocking."""
531
+ @property
532
+ def window(self) -> google.protobuf.duration_pb2.Duration:
533
+ """Time window for counting failed authentication attempts."""
534
+
535
+ @property
536
+ def block(self) -> google.protobuf.duration_pb2.Duration:
537
+ """Duration of the block after too many failed attempts."""
538
+
539
+ def __init__(
540
+ self,
541
+ *,
542
+ window: google.protobuf.duration_pb2.Duration | None = ...,
543
+ block: google.protobuf.duration_pb2.Duration | None = ...,
544
+ attempts: builtins.int = ...,
545
+ ) -> None: ...
546
+ def HasField(self, field_name: typing.Literal["block", b"block", "window", b"window"]) -> builtins.bool: ...
547
+ def ClearField(self, field_name: typing.Literal["attempts", b"attempts", "block", b"block", "window", b"window"]) -> None: ...
548
+
549
+ global___BruteforceProtectionPolicy = BruteforceProtectionPolicy
@@ -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/userpool_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
+ ...