yandexcloud 0.358.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.
- yandex/cloud/cdn/v1/rule_pb2.py +2 -2
- yandex/cloud/cdn/v1/rule_pb2.pyi +7 -1
- yandex/cloud/cdn/v1/rule_service_pb2.py +16 -16
- yandex/cloud/cdn/v1/rule_service_pb2.pyi +16 -3
- yandex/cloud/cloudregistry/v1/registry_pb2.py +5 -5
- yandex/cloud/cloudregistry/v1/registry_pb2.pyi +4 -0
- yandex/cloud/k8s/v1/cluster_pb2.py +48 -46
- yandex/cloud/k8s/v1/cluster_pb2.pyi +32 -2
- yandex/cloud/k8s/v1/cluster_service_pb2.py +54 -52
- yandex/cloud/k8s/v1/cluster_service_pb2.pyi +28 -4
- yandex/cloud/mdb/clickhouse/v1/config/clickhouse_pb2.pyi +3 -1
- yandex/cloud/mdb/clickhouse/v1/user_pb2.py +38 -38
- yandex/cloud/mdb/clickhouse/v1/user_pb2.pyi +15 -3
- yandex/cloud/monitoring/v3/group_widget_pb2.py +48 -0
- yandex/cloud/monitoring/v3/group_widget_pb2.pyi +131 -0
- yandex/cloud/monitoring/v3/group_widget_pb2_grpc.py +24 -0
- yandex/cloud/monitoring/v3/group_widget_pb2_grpc.pyi +17 -0
- yandex/cloud/monitoring/v3/widget_pb2.py +6 -5
- yandex/cloud/monitoring/v3/widget_pb2.pyi +10 -3
- yandex/cloud/organizationmanager/v1/idp/__init__.py +0 -0
- yandex/cloud/organizationmanager/v1/idp/user_pb2.py +40 -0
- yandex/cloud/organizationmanager/v1/idp/user_pb2.pyi +149 -0
- yandex/cloud/organizationmanager/v1/idp/user_pb2_grpc.py +24 -0
- yandex/cloud/organizationmanager/v1/idp/user_pb2_grpc.pyi +17 -0
- yandex/cloud/organizationmanager/v1/idp/user_service_pb2.py +218 -0
- yandex/cloud/organizationmanager/v1/idp/user_service_pb2.pyi +809 -0
- yandex/cloud/organizationmanager/v1/idp/user_service_pb2_grpc.py +678 -0
- yandex/cloud/organizationmanager/v1/idp/user_service_pb2_grpc.pyi +322 -0
- yandex/cloud/organizationmanager/v1/idp/userpool_pb2.py +90 -0
- yandex/cloud/organizationmanager/v1/idp/userpool_pb2.pyi +549 -0
- yandex/cloud/organizationmanager/v1/idp/userpool_pb2_grpc.py +24 -0
- yandex/cloud/organizationmanager/v1/idp/userpool_pb2_grpc.pyi +17 -0
- yandex/cloud/organizationmanager/v1/idp/userpool_service_pb2.py +162 -0
- yandex/cloud/organizationmanager/v1/idp/userpool_service_pb2.pyi +596 -0
- yandex/cloud/organizationmanager/v1/idp/userpool_service_pb2_grpc.py +678 -0
- yandex/cloud/organizationmanager/v1/idp/userpool_service_pb2_grpc.pyi +322 -0
- yandex/cloud/searchapi/v2/gen_search_service_pb2.py +22 -22
- yandex/cloud/searchapi/v2/gen_search_service_pb2.pyi +8 -2
- yandex/cloud/searchapi/v2/img_search_service_pb2.py +2 -2
- yandex/cloud/searchapi/v2/search_query_pb2.py +9 -1
- yandex/cloud/searchapi/v2/search_query_pb2.pyi +42 -0
- yandex/cloud/searchapi/v2/search_service_pb2.py +13 -13
- yandex/cloud/searchapi/v2/search_service_pb2.pyi +8 -2
- yandex/cloud/serverless/functions/v1/function_service_pb2.py +13 -13
- yandex/cloud/spark/v1/job_pb2.py +18 -12
- yandex/cloud/spark/v1/job_pb2.pyi +85 -3
- yandex/cloud/spark/v1/job_service_pb2.py +14 -12
- yandex/cloud/spark/v1/job_service_pb2.pyi +11 -3
- yandex/cloud/storage/v1/presign_service_pb2.pyi +1 -1
- yandexcloud/__init__.py +1 -1
- {yandexcloud-0.358.0.dist-info → yandexcloud-0.360.0.dist-info}/METADATA +1 -1
- {yandexcloud-0.358.0.dist-info → yandexcloud-0.360.0.dist-info}/RECORD +56 -35
- {yandexcloud-0.358.0.dist-info → yandexcloud-0.360.0.dist-info}/AUTHORS +0 -0
- {yandexcloud-0.358.0.dist-info → yandexcloud-0.360.0.dist-info}/LICENSE +0 -0
- {yandexcloud-0.358.0.dist-info → yandexcloud-0.360.0.dist-info}/WHEEL +0 -0
- {yandexcloud-0.358.0.dist-info → yandexcloud-0.360.0.dist-info}/top_level.txt +0 -0
|
@@ -0,0 +1,809 @@
|
|
|
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.field_mask_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 google.protobuf.wrappers_pb2
|
|
15
|
+
import sys
|
|
16
|
+
import typing
|
|
17
|
+
import yandex.cloud.organizationmanager.v1.idp.user_pb2
|
|
18
|
+
|
|
19
|
+
if sys.version_info >= (3, 10):
|
|
20
|
+
import typing as typing_extensions
|
|
21
|
+
else:
|
|
22
|
+
import typing_extensions
|
|
23
|
+
|
|
24
|
+
DESCRIPTOR: google.protobuf.descriptor.FileDescriptor
|
|
25
|
+
|
|
26
|
+
@typing.final
|
|
27
|
+
class GetUserRequest(google.protobuf.message.Message):
|
|
28
|
+
"""Request to get a user by ID."""
|
|
29
|
+
|
|
30
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
31
|
+
|
|
32
|
+
USER_ID_FIELD_NUMBER: builtins.int
|
|
33
|
+
user_id: builtins.str
|
|
34
|
+
"""ID of the user to return."""
|
|
35
|
+
def __init__(
|
|
36
|
+
self,
|
|
37
|
+
*,
|
|
38
|
+
user_id: builtins.str = ...,
|
|
39
|
+
) -> None: ...
|
|
40
|
+
def ClearField(self, field_name: typing.Literal["user_id", b"user_id"]) -> None: ...
|
|
41
|
+
|
|
42
|
+
global___GetUserRequest = GetUserRequest
|
|
43
|
+
|
|
44
|
+
@typing.final
|
|
45
|
+
class ListUsersRequest(google.protobuf.message.Message):
|
|
46
|
+
"""Request to list users in a userpool."""
|
|
47
|
+
|
|
48
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
49
|
+
|
|
50
|
+
USERPOOL_ID_FIELD_NUMBER: builtins.int
|
|
51
|
+
PAGE_SIZE_FIELD_NUMBER: builtins.int
|
|
52
|
+
PAGE_TOKEN_FIELD_NUMBER: builtins.int
|
|
53
|
+
FILTER_FIELD_NUMBER: builtins.int
|
|
54
|
+
userpool_id: builtins.str
|
|
55
|
+
"""ID of the userpool to list users in."""
|
|
56
|
+
page_size: builtins.int
|
|
57
|
+
"""The maximum number of results per page to return."""
|
|
58
|
+
page_token: builtins.str
|
|
59
|
+
"""Page token for pagination."""
|
|
60
|
+
filter: builtins.str
|
|
61
|
+
"""A filter expression that filters resources listed in the response."""
|
|
62
|
+
def __init__(
|
|
63
|
+
self,
|
|
64
|
+
*,
|
|
65
|
+
userpool_id: builtins.str = ...,
|
|
66
|
+
page_size: builtins.int = ...,
|
|
67
|
+
page_token: builtins.str = ...,
|
|
68
|
+
filter: builtins.str = ...,
|
|
69
|
+
) -> None: ...
|
|
70
|
+
def ClearField(self, field_name: typing.Literal["filter", b"filter", "page_size", b"page_size", "page_token", b"page_token", "userpool_id", b"userpool_id"]) -> None: ...
|
|
71
|
+
|
|
72
|
+
global___ListUsersRequest = ListUsersRequest
|
|
73
|
+
|
|
74
|
+
@typing.final
|
|
75
|
+
class ListUsersResponse(google.protobuf.message.Message):
|
|
76
|
+
"""Response message for [UserService.List]."""
|
|
77
|
+
|
|
78
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
79
|
+
|
|
80
|
+
USERS_FIELD_NUMBER: builtins.int
|
|
81
|
+
NEXT_PAGE_TOKEN_FIELD_NUMBER: builtins.int
|
|
82
|
+
next_page_token: builtins.str
|
|
83
|
+
"""Token for getting the next page of the list."""
|
|
84
|
+
@property
|
|
85
|
+
def users(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[yandex.cloud.organizationmanager.v1.idp.user_pb2.User]:
|
|
86
|
+
"""List of users."""
|
|
87
|
+
|
|
88
|
+
def __init__(
|
|
89
|
+
self,
|
|
90
|
+
*,
|
|
91
|
+
users: collections.abc.Iterable[yandex.cloud.organizationmanager.v1.idp.user_pb2.User] | None = ...,
|
|
92
|
+
next_page_token: builtins.str = ...,
|
|
93
|
+
) -> None: ...
|
|
94
|
+
def ClearField(self, field_name: typing.Literal["next_page_token", b"next_page_token", "users", b"users"]) -> None: ...
|
|
95
|
+
|
|
96
|
+
global___ListUsersResponse = ListUsersResponse
|
|
97
|
+
|
|
98
|
+
@typing.final
|
|
99
|
+
class CreateUserRequest(google.protobuf.message.Message):
|
|
100
|
+
"""Request to create a new user."""
|
|
101
|
+
|
|
102
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
103
|
+
|
|
104
|
+
USERPOOL_ID_FIELD_NUMBER: builtins.int
|
|
105
|
+
USERNAME_FIELD_NUMBER: builtins.int
|
|
106
|
+
FULL_NAME_FIELD_NUMBER: builtins.int
|
|
107
|
+
GIVEN_NAME_FIELD_NUMBER: builtins.int
|
|
108
|
+
FAMILY_NAME_FIELD_NUMBER: builtins.int
|
|
109
|
+
EMAIL_FIELD_NUMBER: builtins.int
|
|
110
|
+
PHONE_NUMBER_FIELD_NUMBER: builtins.int
|
|
111
|
+
PASSWORD_SPEC_FIELD_NUMBER: builtins.int
|
|
112
|
+
PASSWORD_HASH_FIELD_NUMBER: builtins.int
|
|
113
|
+
IS_ACTIVE_FIELD_NUMBER: builtins.int
|
|
114
|
+
EXTERNAL_ID_FIELD_NUMBER: builtins.int
|
|
115
|
+
userpool_id: builtins.str
|
|
116
|
+
"""ID of the userpool to create the user in."""
|
|
117
|
+
username: builtins.str
|
|
118
|
+
"""Username for the new user."""
|
|
119
|
+
full_name: builtins.str
|
|
120
|
+
"""Full name of the user."""
|
|
121
|
+
given_name: builtins.str
|
|
122
|
+
"""First name of the user."""
|
|
123
|
+
family_name: builtins.str
|
|
124
|
+
"""Last name of the user."""
|
|
125
|
+
email: builtins.str
|
|
126
|
+
"""Email address of the user."""
|
|
127
|
+
phone_number: builtins.str
|
|
128
|
+
"""Phone number of the user."""
|
|
129
|
+
external_id: builtins.str
|
|
130
|
+
"""External identifier for the user."""
|
|
131
|
+
@property
|
|
132
|
+
def password_spec(self) -> global___PasswordSpec:
|
|
133
|
+
"""Password specification."""
|
|
134
|
+
|
|
135
|
+
@property
|
|
136
|
+
def password_hash(self) -> global___PasswordHash:
|
|
137
|
+
"""Password hash."""
|
|
138
|
+
|
|
139
|
+
@property
|
|
140
|
+
def is_active(self) -> google.protobuf.wrappers_pb2.BoolValue:
|
|
141
|
+
"""Whether the user is active. Default is true."""
|
|
142
|
+
|
|
143
|
+
def __init__(
|
|
144
|
+
self,
|
|
145
|
+
*,
|
|
146
|
+
userpool_id: builtins.str = ...,
|
|
147
|
+
username: builtins.str = ...,
|
|
148
|
+
full_name: builtins.str = ...,
|
|
149
|
+
given_name: builtins.str = ...,
|
|
150
|
+
family_name: builtins.str = ...,
|
|
151
|
+
email: builtins.str = ...,
|
|
152
|
+
phone_number: builtins.str = ...,
|
|
153
|
+
password_spec: global___PasswordSpec | None = ...,
|
|
154
|
+
password_hash: global___PasswordHash | None = ...,
|
|
155
|
+
is_active: google.protobuf.wrappers_pb2.BoolValue | None = ...,
|
|
156
|
+
external_id: builtins.str = ...,
|
|
157
|
+
) -> None: ...
|
|
158
|
+
def HasField(self, field_name: typing.Literal["credentials", b"credentials", "is_active", b"is_active", "password_hash", b"password_hash", "password_spec", b"password_spec"]) -> builtins.bool: ...
|
|
159
|
+
def ClearField(self, field_name: typing.Literal["credentials", b"credentials", "email", b"email", "external_id", b"external_id", "family_name", b"family_name", "full_name", b"full_name", "given_name", b"given_name", "is_active", b"is_active", "password_hash", b"password_hash", "password_spec", b"password_spec", "phone_number", b"phone_number", "username", b"username", "userpool_id", b"userpool_id"]) -> None: ...
|
|
160
|
+
def WhichOneof(self, oneof_group: typing.Literal["credentials", b"credentials"]) -> typing.Literal["password_spec", "password_hash"] | None: ...
|
|
161
|
+
|
|
162
|
+
global___CreateUserRequest = CreateUserRequest
|
|
163
|
+
|
|
164
|
+
@typing.final
|
|
165
|
+
class CreateUserMetadata(google.protobuf.message.Message):
|
|
166
|
+
"""Metadata for the [UserService.Create] operation."""
|
|
167
|
+
|
|
168
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
169
|
+
|
|
170
|
+
USER_ID_FIELD_NUMBER: builtins.int
|
|
171
|
+
user_id: builtins.str
|
|
172
|
+
"""ID of the user that is being created."""
|
|
173
|
+
def __init__(
|
|
174
|
+
self,
|
|
175
|
+
*,
|
|
176
|
+
user_id: builtins.str = ...,
|
|
177
|
+
) -> None: ...
|
|
178
|
+
def ClearField(self, field_name: typing.Literal["user_id", b"user_id"]) -> None: ...
|
|
179
|
+
|
|
180
|
+
global___CreateUserMetadata = CreateUserMetadata
|
|
181
|
+
|
|
182
|
+
@typing.final
|
|
183
|
+
class UpdateUserRequest(google.protobuf.message.Message):
|
|
184
|
+
"""Request to update an existing user."""
|
|
185
|
+
|
|
186
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
187
|
+
|
|
188
|
+
USER_ID_FIELD_NUMBER: builtins.int
|
|
189
|
+
UPDATE_MASK_FIELD_NUMBER: builtins.int
|
|
190
|
+
USERNAME_FIELD_NUMBER: builtins.int
|
|
191
|
+
FULL_NAME_FIELD_NUMBER: builtins.int
|
|
192
|
+
GIVEN_NAME_FIELD_NUMBER: builtins.int
|
|
193
|
+
FAMILY_NAME_FIELD_NUMBER: builtins.int
|
|
194
|
+
EMAIL_FIELD_NUMBER: builtins.int
|
|
195
|
+
PHONE_NUMBER_FIELD_NUMBER: builtins.int
|
|
196
|
+
user_id: builtins.str
|
|
197
|
+
"""ID of the user to update."""
|
|
198
|
+
username: builtins.str
|
|
199
|
+
"""New username for the user."""
|
|
200
|
+
full_name: builtins.str
|
|
201
|
+
"""New full name for the user."""
|
|
202
|
+
given_name: builtins.str
|
|
203
|
+
"""New first name for the user."""
|
|
204
|
+
family_name: builtins.str
|
|
205
|
+
"""New last name for the user."""
|
|
206
|
+
email: builtins.str
|
|
207
|
+
"""New email address for the user."""
|
|
208
|
+
phone_number: builtins.str
|
|
209
|
+
"""New phone number for the user."""
|
|
210
|
+
@property
|
|
211
|
+
def update_mask(self) -> google.protobuf.field_mask_pb2.FieldMask:
|
|
212
|
+
"""Field mask that specifies which fields of the user are going to be updated."""
|
|
213
|
+
|
|
214
|
+
def __init__(
|
|
215
|
+
self,
|
|
216
|
+
*,
|
|
217
|
+
user_id: builtins.str = ...,
|
|
218
|
+
update_mask: google.protobuf.field_mask_pb2.FieldMask | None = ...,
|
|
219
|
+
username: builtins.str = ...,
|
|
220
|
+
full_name: builtins.str = ...,
|
|
221
|
+
given_name: builtins.str = ...,
|
|
222
|
+
family_name: builtins.str = ...,
|
|
223
|
+
email: builtins.str = ...,
|
|
224
|
+
phone_number: builtins.str = ...,
|
|
225
|
+
) -> None: ...
|
|
226
|
+
def HasField(self, field_name: typing.Literal["update_mask", b"update_mask"]) -> builtins.bool: ...
|
|
227
|
+
def ClearField(self, field_name: typing.Literal["email", b"email", "family_name", b"family_name", "full_name", b"full_name", "given_name", b"given_name", "phone_number", b"phone_number", "update_mask", b"update_mask", "user_id", b"user_id", "username", b"username"]) -> None: ...
|
|
228
|
+
|
|
229
|
+
global___UpdateUserRequest = UpdateUserRequest
|
|
230
|
+
|
|
231
|
+
@typing.final
|
|
232
|
+
class UpdateUserMetadata(google.protobuf.message.Message):
|
|
233
|
+
"""Metadata for the [UserService.Update] operation."""
|
|
234
|
+
|
|
235
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
236
|
+
|
|
237
|
+
USER_ID_FIELD_NUMBER: builtins.int
|
|
238
|
+
user_id: builtins.str
|
|
239
|
+
"""ID of the user that is being updated."""
|
|
240
|
+
def __init__(
|
|
241
|
+
self,
|
|
242
|
+
*,
|
|
243
|
+
user_id: builtins.str = ...,
|
|
244
|
+
) -> None: ...
|
|
245
|
+
def ClearField(self, field_name: typing.Literal["user_id", b"user_id"]) -> None: ...
|
|
246
|
+
|
|
247
|
+
global___UpdateUserMetadata = UpdateUserMetadata
|
|
248
|
+
|
|
249
|
+
@typing.final
|
|
250
|
+
class DeleteUserRequest(google.protobuf.message.Message):
|
|
251
|
+
"""Request to delete a user."""
|
|
252
|
+
|
|
253
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
254
|
+
|
|
255
|
+
USER_ID_FIELD_NUMBER: builtins.int
|
|
256
|
+
user_id: builtins.str
|
|
257
|
+
"""ID of the user to delete."""
|
|
258
|
+
def __init__(
|
|
259
|
+
self,
|
|
260
|
+
*,
|
|
261
|
+
user_id: builtins.str = ...,
|
|
262
|
+
) -> None: ...
|
|
263
|
+
def ClearField(self, field_name: typing.Literal["user_id", b"user_id"]) -> None: ...
|
|
264
|
+
|
|
265
|
+
global___DeleteUserRequest = DeleteUserRequest
|
|
266
|
+
|
|
267
|
+
@typing.final
|
|
268
|
+
class DeleteUserMetadata(google.protobuf.message.Message):
|
|
269
|
+
"""Metadata for the [UserService.Delete] operation."""
|
|
270
|
+
|
|
271
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
272
|
+
|
|
273
|
+
USER_ID_FIELD_NUMBER: builtins.int
|
|
274
|
+
user_id: builtins.str
|
|
275
|
+
"""ID of the user that is being deleted."""
|
|
276
|
+
def __init__(
|
|
277
|
+
self,
|
|
278
|
+
*,
|
|
279
|
+
user_id: builtins.str = ...,
|
|
280
|
+
) -> None: ...
|
|
281
|
+
def ClearField(self, field_name: typing.Literal["user_id", b"user_id"]) -> None: ...
|
|
282
|
+
|
|
283
|
+
global___DeleteUserMetadata = DeleteUserMetadata
|
|
284
|
+
|
|
285
|
+
@typing.final
|
|
286
|
+
class SuspendUserRequest(google.protobuf.message.Message):
|
|
287
|
+
"""Request to suspend a user."""
|
|
288
|
+
|
|
289
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
290
|
+
|
|
291
|
+
USER_ID_FIELD_NUMBER: builtins.int
|
|
292
|
+
REASON_FIELD_NUMBER: builtins.int
|
|
293
|
+
user_id: builtins.str
|
|
294
|
+
"""ID of the user to suspend."""
|
|
295
|
+
reason: builtins.str
|
|
296
|
+
"""Reason for suspending the user."""
|
|
297
|
+
def __init__(
|
|
298
|
+
self,
|
|
299
|
+
*,
|
|
300
|
+
user_id: builtins.str = ...,
|
|
301
|
+
reason: builtins.str = ...,
|
|
302
|
+
) -> None: ...
|
|
303
|
+
def ClearField(self, field_name: typing.Literal["reason", b"reason", "user_id", b"user_id"]) -> None: ...
|
|
304
|
+
|
|
305
|
+
global___SuspendUserRequest = SuspendUserRequest
|
|
306
|
+
|
|
307
|
+
@typing.final
|
|
308
|
+
class SuspendUserMetadata(google.protobuf.message.Message):
|
|
309
|
+
"""Metadata for the [UserService.Suspend] operation."""
|
|
310
|
+
|
|
311
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
312
|
+
|
|
313
|
+
USER_ID_FIELD_NUMBER: builtins.int
|
|
314
|
+
user_id: builtins.str
|
|
315
|
+
"""ID of the user that is being suspended."""
|
|
316
|
+
def __init__(
|
|
317
|
+
self,
|
|
318
|
+
*,
|
|
319
|
+
user_id: builtins.str = ...,
|
|
320
|
+
) -> None: ...
|
|
321
|
+
def ClearField(self, field_name: typing.Literal["user_id", b"user_id"]) -> None: ...
|
|
322
|
+
|
|
323
|
+
global___SuspendUserMetadata = SuspendUserMetadata
|
|
324
|
+
|
|
325
|
+
@typing.final
|
|
326
|
+
class ReactivateUserRequest(google.protobuf.message.Message):
|
|
327
|
+
"""Request to reactivate a suspended user."""
|
|
328
|
+
|
|
329
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
330
|
+
|
|
331
|
+
USER_ID_FIELD_NUMBER: builtins.int
|
|
332
|
+
user_id: builtins.str
|
|
333
|
+
"""ID of the user to reactivate."""
|
|
334
|
+
def __init__(
|
|
335
|
+
self,
|
|
336
|
+
*,
|
|
337
|
+
user_id: builtins.str = ...,
|
|
338
|
+
) -> None: ...
|
|
339
|
+
def ClearField(self, field_name: typing.Literal["user_id", b"user_id"]) -> None: ...
|
|
340
|
+
|
|
341
|
+
global___ReactivateUserRequest = ReactivateUserRequest
|
|
342
|
+
|
|
343
|
+
@typing.final
|
|
344
|
+
class ReactivateUserMetadata(google.protobuf.message.Message):
|
|
345
|
+
"""Metadata for the [UserService.Reactivate] operation."""
|
|
346
|
+
|
|
347
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
348
|
+
|
|
349
|
+
USER_ID_FIELD_NUMBER: builtins.int
|
|
350
|
+
user_id: builtins.str
|
|
351
|
+
"""ID of the user that is being reactivated."""
|
|
352
|
+
def __init__(
|
|
353
|
+
self,
|
|
354
|
+
*,
|
|
355
|
+
user_id: builtins.str = ...,
|
|
356
|
+
) -> None: ...
|
|
357
|
+
def ClearField(self, field_name: typing.Literal["user_id", b"user_id"]) -> None: ...
|
|
358
|
+
|
|
359
|
+
global___ReactivateUserMetadata = ReactivateUserMetadata
|
|
360
|
+
|
|
361
|
+
@typing.final
|
|
362
|
+
class SetOwnPasswordRequest(google.protobuf.message.Message):
|
|
363
|
+
"""Request to set the authenticated user's password."""
|
|
364
|
+
|
|
365
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
366
|
+
|
|
367
|
+
PASSWORD_SPEC_FIELD_NUMBER: builtins.int
|
|
368
|
+
OLD_PASSWORD_FIELD_NUMBER: builtins.int
|
|
369
|
+
old_password: builtins.str
|
|
370
|
+
"""Current password for verification."""
|
|
371
|
+
@property
|
|
372
|
+
def password_spec(self) -> global___PasswordSpec:
|
|
373
|
+
"""New password specification."""
|
|
374
|
+
|
|
375
|
+
def __init__(
|
|
376
|
+
self,
|
|
377
|
+
*,
|
|
378
|
+
password_spec: global___PasswordSpec | None = ...,
|
|
379
|
+
old_password: builtins.str = ...,
|
|
380
|
+
) -> None: ...
|
|
381
|
+
def HasField(self, field_name: typing.Literal["password_spec", b"password_spec"]) -> builtins.bool: ...
|
|
382
|
+
def ClearField(self, field_name: typing.Literal["old_password", b"old_password", "password_spec", b"password_spec"]) -> None: ...
|
|
383
|
+
|
|
384
|
+
global___SetOwnPasswordRequest = SetOwnPasswordRequest
|
|
385
|
+
|
|
386
|
+
@typing.final
|
|
387
|
+
class SetOwnPasswordMetadata(google.protobuf.message.Message):
|
|
388
|
+
"""Metadata for the [UserService.SetOwnPassword] operation."""
|
|
389
|
+
|
|
390
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
391
|
+
|
|
392
|
+
USER_ID_FIELD_NUMBER: builtins.int
|
|
393
|
+
user_id: builtins.str
|
|
394
|
+
"""ID of the user whose password is being changed."""
|
|
395
|
+
def __init__(
|
|
396
|
+
self,
|
|
397
|
+
*,
|
|
398
|
+
user_id: builtins.str = ...,
|
|
399
|
+
) -> None: ...
|
|
400
|
+
def ClearField(self, field_name: typing.Literal["user_id", b"user_id"]) -> None: ...
|
|
401
|
+
|
|
402
|
+
global___SetOwnPasswordMetadata = SetOwnPasswordMetadata
|
|
403
|
+
|
|
404
|
+
@typing.final
|
|
405
|
+
class SetOwnPasswordResponse(google.protobuf.message.Message):
|
|
406
|
+
"""Response for the [UserService.SetOwnPassword] operation."""
|
|
407
|
+
|
|
408
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
409
|
+
|
|
410
|
+
def __init__(
|
|
411
|
+
self,
|
|
412
|
+
) -> None: ...
|
|
413
|
+
|
|
414
|
+
global___SetOwnPasswordResponse = SetOwnPasswordResponse
|
|
415
|
+
|
|
416
|
+
@typing.final
|
|
417
|
+
class SetOthersPasswordRequest(google.protobuf.message.Message):
|
|
418
|
+
"""Request to set another user's password."""
|
|
419
|
+
|
|
420
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
421
|
+
|
|
422
|
+
USER_ID_FIELD_NUMBER: builtins.int
|
|
423
|
+
PASSWORD_SPEC_FIELD_NUMBER: builtins.int
|
|
424
|
+
user_id: builtins.str
|
|
425
|
+
"""ID of the user whose password to set."""
|
|
426
|
+
@property
|
|
427
|
+
def password_spec(self) -> global___PasswordSpec:
|
|
428
|
+
"""New password specification."""
|
|
429
|
+
|
|
430
|
+
def __init__(
|
|
431
|
+
self,
|
|
432
|
+
*,
|
|
433
|
+
user_id: builtins.str = ...,
|
|
434
|
+
password_spec: global___PasswordSpec | None = ...,
|
|
435
|
+
) -> None: ...
|
|
436
|
+
def HasField(self, field_name: typing.Literal["password_spec", b"password_spec"]) -> builtins.bool: ...
|
|
437
|
+
def ClearField(self, field_name: typing.Literal["password_spec", b"password_spec", "user_id", b"user_id"]) -> None: ...
|
|
438
|
+
|
|
439
|
+
global___SetOthersPasswordRequest = SetOthersPasswordRequest
|
|
440
|
+
|
|
441
|
+
@typing.final
|
|
442
|
+
class SetOthersPasswordMetadata(google.protobuf.message.Message):
|
|
443
|
+
"""Metadata for the [UserService.SetOthersPassword] operation."""
|
|
444
|
+
|
|
445
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
446
|
+
|
|
447
|
+
USER_ID_FIELD_NUMBER: builtins.int
|
|
448
|
+
user_id: builtins.str
|
|
449
|
+
"""ID of the user whose password is being set."""
|
|
450
|
+
def __init__(
|
|
451
|
+
self,
|
|
452
|
+
*,
|
|
453
|
+
user_id: builtins.str = ...,
|
|
454
|
+
) -> None: ...
|
|
455
|
+
def ClearField(self, field_name: typing.Literal["user_id", b"user_id"]) -> None: ...
|
|
456
|
+
|
|
457
|
+
global___SetOthersPasswordMetadata = SetOthersPasswordMetadata
|
|
458
|
+
|
|
459
|
+
@typing.final
|
|
460
|
+
class SetOthersPasswordResponse(google.protobuf.message.Message):
|
|
461
|
+
"""Response for the [UserService.SetOthersPassword] operation."""
|
|
462
|
+
|
|
463
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
464
|
+
|
|
465
|
+
def __init__(
|
|
466
|
+
self,
|
|
467
|
+
) -> None: ...
|
|
468
|
+
|
|
469
|
+
global___SetOthersPasswordResponse = SetOthersPasswordResponse
|
|
470
|
+
|
|
471
|
+
@typing.final
|
|
472
|
+
class GeneratePasswordRequest(google.protobuf.message.Message):
|
|
473
|
+
"""Request to generate a new password."""
|
|
474
|
+
|
|
475
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
476
|
+
|
|
477
|
+
def __init__(
|
|
478
|
+
self,
|
|
479
|
+
) -> None: ...
|
|
480
|
+
|
|
481
|
+
global___GeneratePasswordRequest = GeneratePasswordRequest
|
|
482
|
+
|
|
483
|
+
@typing.final
|
|
484
|
+
class GeneratePasswordResponse(google.protobuf.message.Message):
|
|
485
|
+
"""Response for the [UserService.GeneratePassword] operation."""
|
|
486
|
+
|
|
487
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
488
|
+
|
|
489
|
+
PASSWORD_SPEC_FIELD_NUMBER: builtins.int
|
|
490
|
+
@property
|
|
491
|
+
def password_spec(self) -> global___PasswordSpec:
|
|
492
|
+
"""Generated password specification."""
|
|
493
|
+
|
|
494
|
+
def __init__(
|
|
495
|
+
self,
|
|
496
|
+
*,
|
|
497
|
+
password_spec: global___PasswordSpec | None = ...,
|
|
498
|
+
) -> None: ...
|
|
499
|
+
def HasField(self, field_name: typing.Literal["password_spec", b"password_spec"]) -> builtins.bool: ...
|
|
500
|
+
def ClearField(self, field_name: typing.Literal["password_spec", b"password_spec"]) -> None: ...
|
|
501
|
+
|
|
502
|
+
global___GeneratePasswordResponse = GeneratePasswordResponse
|
|
503
|
+
|
|
504
|
+
@typing.final
|
|
505
|
+
class PasswordSpec(google.protobuf.message.Message):
|
|
506
|
+
"""Password specification."""
|
|
507
|
+
|
|
508
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
509
|
+
|
|
510
|
+
PASSWORD_FIELD_NUMBER: builtins.int
|
|
511
|
+
GENERATION_PROOF_FIELD_NUMBER: builtins.int
|
|
512
|
+
password: builtins.str
|
|
513
|
+
"""The password string."""
|
|
514
|
+
generation_proof: builtins.str
|
|
515
|
+
"""Proof that the password was generated by the system."""
|
|
516
|
+
def __init__(
|
|
517
|
+
self,
|
|
518
|
+
*,
|
|
519
|
+
password: builtins.str = ...,
|
|
520
|
+
generation_proof: builtins.str = ...,
|
|
521
|
+
) -> None: ...
|
|
522
|
+
def ClearField(self, field_name: typing.Literal["generation_proof", b"generation_proof", "password", b"password"]) -> None: ...
|
|
523
|
+
|
|
524
|
+
global___PasswordSpec = PasswordSpec
|
|
525
|
+
|
|
526
|
+
@typing.final
|
|
527
|
+
class PasswordMetadata(google.protobuf.message.Message):
|
|
528
|
+
"""Metadata about a user's password."""
|
|
529
|
+
|
|
530
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
531
|
+
|
|
532
|
+
class _PasswordType:
|
|
533
|
+
ValueType = typing.NewType("ValueType", builtins.int)
|
|
534
|
+
V: typing_extensions.TypeAlias = ValueType
|
|
535
|
+
|
|
536
|
+
class _PasswordTypeEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[PasswordMetadata._PasswordType.ValueType], builtins.type):
|
|
537
|
+
DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor
|
|
538
|
+
PASSWORD_TYPE_UNSPECIFIED: PasswordMetadata._PasswordType.ValueType # 0
|
|
539
|
+
"""The password type is not specified."""
|
|
540
|
+
TEMPORARY: PasswordMetadata._PasswordType.ValueType # 1
|
|
541
|
+
"""Temporary password that must be changed on first use."""
|
|
542
|
+
PERMANENT: PasswordMetadata._PasswordType.ValueType # 2
|
|
543
|
+
"""Permanent password."""
|
|
544
|
+
|
|
545
|
+
class PasswordType(_PasswordType, metaclass=_PasswordTypeEnumTypeWrapper):
|
|
546
|
+
"""Types of passwords."""
|
|
547
|
+
|
|
548
|
+
PASSWORD_TYPE_UNSPECIFIED: PasswordMetadata.PasswordType.ValueType # 0
|
|
549
|
+
"""The password type is not specified."""
|
|
550
|
+
TEMPORARY: PasswordMetadata.PasswordType.ValueType # 1
|
|
551
|
+
"""Temporary password that must be changed on first use."""
|
|
552
|
+
PERMANENT: PasswordMetadata.PasswordType.ValueType # 2
|
|
553
|
+
"""Permanent password."""
|
|
554
|
+
|
|
555
|
+
@typing.final
|
|
556
|
+
class PasswordUsage(google.protobuf.message.Message):
|
|
557
|
+
"""Information about password usage."""
|
|
558
|
+
|
|
559
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
560
|
+
|
|
561
|
+
USED_AT_FIELD_NUMBER: builtins.int
|
|
562
|
+
IP_ADDRESS_FIELD_NUMBER: builtins.int
|
|
563
|
+
ip_address: builtins.str
|
|
564
|
+
"""IP address from which the password was used."""
|
|
565
|
+
@property
|
|
566
|
+
def used_at(self) -> google.protobuf.timestamp_pb2.Timestamp:
|
|
567
|
+
"""Timestamp when the password was last used."""
|
|
568
|
+
|
|
569
|
+
def __init__(
|
|
570
|
+
self,
|
|
571
|
+
*,
|
|
572
|
+
used_at: google.protobuf.timestamp_pb2.Timestamp | None = ...,
|
|
573
|
+
ip_address: builtins.str = ...,
|
|
574
|
+
) -> None: ...
|
|
575
|
+
def HasField(self, field_name: typing.Literal["used_at", b"used_at"]) -> builtins.bool: ...
|
|
576
|
+
def ClearField(self, field_name: typing.Literal["ip_address", b"ip_address", "used_at", b"used_at"]) -> None: ...
|
|
577
|
+
|
|
578
|
+
ID_FIELD_NUMBER: builtins.int
|
|
579
|
+
TYPE_FIELD_NUMBER: builtins.int
|
|
580
|
+
CREATED_AT_FIELD_NUMBER: builtins.int
|
|
581
|
+
EXPIRES_AT_FIELD_NUMBER: builtins.int
|
|
582
|
+
LAST_USAGE_FIELD_NUMBER: builtins.int
|
|
583
|
+
id: builtins.str
|
|
584
|
+
"""Unique identifier of the password."""
|
|
585
|
+
type: global___PasswordMetadata.PasswordType.ValueType
|
|
586
|
+
"""Type of the password."""
|
|
587
|
+
@property
|
|
588
|
+
def created_at(self) -> google.protobuf.timestamp_pb2.Timestamp:
|
|
589
|
+
"""Timestamp when the password was created."""
|
|
590
|
+
|
|
591
|
+
@property
|
|
592
|
+
def expires_at(self) -> google.protobuf.timestamp_pb2.Timestamp:
|
|
593
|
+
"""Timestamp when the password expires."""
|
|
594
|
+
|
|
595
|
+
@property
|
|
596
|
+
def last_usage(self) -> global___PasswordMetadata.PasswordUsage:
|
|
597
|
+
"""Information about the last usage of the password."""
|
|
598
|
+
|
|
599
|
+
def __init__(
|
|
600
|
+
self,
|
|
601
|
+
*,
|
|
602
|
+
id: builtins.str = ...,
|
|
603
|
+
type: global___PasswordMetadata.PasswordType.ValueType = ...,
|
|
604
|
+
created_at: google.protobuf.timestamp_pb2.Timestamp | None = ...,
|
|
605
|
+
expires_at: google.protobuf.timestamp_pb2.Timestamp | None = ...,
|
|
606
|
+
last_usage: global___PasswordMetadata.PasswordUsage | None = ...,
|
|
607
|
+
) -> None: ...
|
|
608
|
+
def HasField(self, field_name: typing.Literal["created_at", b"created_at", "expires_at", b"expires_at", "last_usage", b"last_usage"]) -> builtins.bool: ...
|
|
609
|
+
def ClearField(self, field_name: typing.Literal["created_at", b"created_at", "expires_at", b"expires_at", "id", b"id", "last_usage", b"last_usage", "type", b"type"]) -> None: ...
|
|
610
|
+
|
|
611
|
+
global___PasswordMetadata = PasswordMetadata
|
|
612
|
+
|
|
613
|
+
@typing.final
|
|
614
|
+
class ConvertToExternalUserRequest(google.protobuf.message.Message):
|
|
615
|
+
"""Request to convert a user to use external authentication."""
|
|
616
|
+
|
|
617
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
618
|
+
|
|
619
|
+
USER_ID_FIELD_NUMBER: builtins.int
|
|
620
|
+
EXTERNAL_ID_FIELD_NUMBER: builtins.int
|
|
621
|
+
user_id: builtins.str
|
|
622
|
+
"""ID of the user to convert."""
|
|
623
|
+
external_id: builtins.str
|
|
624
|
+
"""External identifier to associate with the user."""
|
|
625
|
+
def __init__(
|
|
626
|
+
self,
|
|
627
|
+
*,
|
|
628
|
+
user_id: builtins.str = ...,
|
|
629
|
+
external_id: builtins.str = ...,
|
|
630
|
+
) -> None: ...
|
|
631
|
+
def ClearField(self, field_name: typing.Literal["external_id", b"external_id", "user_id", b"user_id"]) -> None: ...
|
|
632
|
+
|
|
633
|
+
global___ConvertToExternalUserRequest = ConvertToExternalUserRequest
|
|
634
|
+
|
|
635
|
+
@typing.final
|
|
636
|
+
class ConvertToExternalUserMetadata(google.protobuf.message.Message):
|
|
637
|
+
"""Metadata for the [UserService.ConvertToExternal] operation."""
|
|
638
|
+
|
|
639
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
640
|
+
|
|
641
|
+
USER_ID_FIELD_NUMBER: builtins.int
|
|
642
|
+
EXTERNAL_ID_FIELD_NUMBER: builtins.int
|
|
643
|
+
user_id: builtins.str
|
|
644
|
+
"""ID of the user being converted."""
|
|
645
|
+
external_id: builtins.str
|
|
646
|
+
"""External identifier being associated with the user."""
|
|
647
|
+
def __init__(
|
|
648
|
+
self,
|
|
649
|
+
*,
|
|
650
|
+
user_id: builtins.str = ...,
|
|
651
|
+
external_id: builtins.str = ...,
|
|
652
|
+
) -> None: ...
|
|
653
|
+
def ClearField(self, field_name: typing.Literal["external_id", b"external_id", "user_id", b"user_id"]) -> None: ...
|
|
654
|
+
|
|
655
|
+
global___ConvertToExternalUserMetadata = ConvertToExternalUserMetadata
|
|
656
|
+
|
|
657
|
+
@typing.final
|
|
658
|
+
class SetPasswordHashRequest(google.protobuf.message.Message):
|
|
659
|
+
"""Request to set a password hash for a user."""
|
|
660
|
+
|
|
661
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
662
|
+
|
|
663
|
+
USER_ID_FIELD_NUMBER: builtins.int
|
|
664
|
+
HASH_FIELD_NUMBER: builtins.int
|
|
665
|
+
user_id: builtins.str
|
|
666
|
+
"""ID of the user to set the password hash for."""
|
|
667
|
+
@property
|
|
668
|
+
def hash(self) -> global___PasswordHash:
|
|
669
|
+
"""Password hash to set."""
|
|
670
|
+
|
|
671
|
+
def __init__(
|
|
672
|
+
self,
|
|
673
|
+
*,
|
|
674
|
+
user_id: builtins.str = ...,
|
|
675
|
+
hash: global___PasswordHash | None = ...,
|
|
676
|
+
) -> None: ...
|
|
677
|
+
def HasField(self, field_name: typing.Literal["hash", b"hash"]) -> builtins.bool: ...
|
|
678
|
+
def ClearField(self, field_name: typing.Literal["hash", b"hash", "user_id", b"user_id"]) -> None: ...
|
|
679
|
+
|
|
680
|
+
global___SetPasswordHashRequest = SetPasswordHashRequest
|
|
681
|
+
|
|
682
|
+
@typing.final
|
|
683
|
+
class SetPasswordHashMetadata(google.protobuf.message.Message):
|
|
684
|
+
"""Metadata for the [UserService.SetPasswordHash] operation."""
|
|
685
|
+
|
|
686
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
687
|
+
|
|
688
|
+
USER_ID_FIELD_NUMBER: builtins.int
|
|
689
|
+
user_id: builtins.str
|
|
690
|
+
"""ID of the user whose password hash is being set."""
|
|
691
|
+
def __init__(
|
|
692
|
+
self,
|
|
693
|
+
*,
|
|
694
|
+
user_id: builtins.str = ...,
|
|
695
|
+
) -> None: ...
|
|
696
|
+
def ClearField(self, field_name: typing.Literal["user_id", b"user_id"]) -> None: ...
|
|
697
|
+
|
|
698
|
+
global___SetPasswordHashMetadata = SetPasswordHashMetadata
|
|
699
|
+
|
|
700
|
+
@typing.final
|
|
701
|
+
class PasswordHash(google.protobuf.message.Message):
|
|
702
|
+
"""Password hash information."""
|
|
703
|
+
|
|
704
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
705
|
+
|
|
706
|
+
class _PasswordHashType:
|
|
707
|
+
ValueType = typing.NewType("ValueType", builtins.int)
|
|
708
|
+
V: typing_extensions.TypeAlias = ValueType
|
|
709
|
+
|
|
710
|
+
class _PasswordHashTypeEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[PasswordHash._PasswordHashType.ValueType], builtins.type):
|
|
711
|
+
DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor
|
|
712
|
+
PASSWORD_HASH_TYPE_UNSPECIFIED: PasswordHash._PasswordHashType.ValueType # 0
|
|
713
|
+
"""The password hash type is not specified."""
|
|
714
|
+
AD_MD4: PasswordHash._PasswordHashType.ValueType # 1
|
|
715
|
+
"""Microsoft Active Directory MD4 hash."""
|
|
716
|
+
|
|
717
|
+
class PasswordHashType(_PasswordHashType, metaclass=_PasswordHashTypeEnumTypeWrapper):
|
|
718
|
+
"""Types of password hashes."""
|
|
719
|
+
|
|
720
|
+
PASSWORD_HASH_TYPE_UNSPECIFIED: PasswordHash.PasswordHashType.ValueType # 0
|
|
721
|
+
"""The password hash type is not specified."""
|
|
722
|
+
AD_MD4: PasswordHash.PasswordHashType.ValueType # 1
|
|
723
|
+
"""Microsoft Active Directory MD4 hash."""
|
|
724
|
+
|
|
725
|
+
PASSWORD_HASH_FIELD_NUMBER: builtins.int
|
|
726
|
+
PASSWORD_HASH_TYPE_FIELD_NUMBER: builtins.int
|
|
727
|
+
password_hash: builtins.str
|
|
728
|
+
"""The password hash string."""
|
|
729
|
+
password_hash_type: global___PasswordHash.PasswordHashType.ValueType
|
|
730
|
+
"""Type of the password hash."""
|
|
731
|
+
def __init__(
|
|
732
|
+
self,
|
|
733
|
+
*,
|
|
734
|
+
password_hash: builtins.str = ...,
|
|
735
|
+
password_hash_type: global___PasswordHash.PasswordHashType.ValueType = ...,
|
|
736
|
+
) -> None: ...
|
|
737
|
+
def ClearField(self, field_name: typing.Literal["password_hash", b"password_hash", "password_hash_type", b"password_hash_type"]) -> None: ...
|
|
738
|
+
|
|
739
|
+
global___PasswordHash = PasswordHash
|
|
740
|
+
|
|
741
|
+
@typing.final
|
|
742
|
+
class ResolveExternalIdsRequest(google.protobuf.message.Message):
|
|
743
|
+
"""Request to resolve external IDs to internal user IDs."""
|
|
744
|
+
|
|
745
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
746
|
+
|
|
747
|
+
USERPOOL_ID_FIELD_NUMBER: builtins.int
|
|
748
|
+
EXTERNAL_IDS_FIELD_NUMBER: builtins.int
|
|
749
|
+
userpool_id: builtins.str
|
|
750
|
+
"""ID of the userpool to resolve external IDs in."""
|
|
751
|
+
@property
|
|
752
|
+
def external_ids(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]:
|
|
753
|
+
"""List of external IDs to resolve."""
|
|
754
|
+
|
|
755
|
+
def __init__(
|
|
756
|
+
self,
|
|
757
|
+
*,
|
|
758
|
+
userpool_id: builtins.str = ...,
|
|
759
|
+
external_ids: collections.abc.Iterable[builtins.str] | None = ...,
|
|
760
|
+
) -> None: ...
|
|
761
|
+
def ClearField(self, field_name: typing.Literal["external_ids", b"external_ids", "userpool_id", b"userpool_id"]) -> None: ...
|
|
762
|
+
|
|
763
|
+
global___ResolveExternalIdsRequest = ResolveExternalIdsRequest
|
|
764
|
+
|
|
765
|
+
@typing.final
|
|
766
|
+
class ResolvedUser(google.protobuf.message.Message):
|
|
767
|
+
"""Information about a resolved user."""
|
|
768
|
+
|
|
769
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
770
|
+
|
|
771
|
+
USER_ID_FIELD_NUMBER: builtins.int
|
|
772
|
+
EXTERNAL_ID_FIELD_NUMBER: builtins.int
|
|
773
|
+
USERPOOL_ID_FIELD_NUMBER: builtins.int
|
|
774
|
+
user_id: builtins.str
|
|
775
|
+
"""Internal user ID."""
|
|
776
|
+
external_id: builtins.str
|
|
777
|
+
"""External identifier."""
|
|
778
|
+
userpool_id: builtins.str
|
|
779
|
+
"""ID of the userpool the user belongs to."""
|
|
780
|
+
def __init__(
|
|
781
|
+
self,
|
|
782
|
+
*,
|
|
783
|
+
user_id: builtins.str = ...,
|
|
784
|
+
external_id: builtins.str = ...,
|
|
785
|
+
userpool_id: builtins.str = ...,
|
|
786
|
+
) -> None: ...
|
|
787
|
+
def ClearField(self, field_name: typing.Literal["external_id", b"external_id", "user_id", b"user_id", "userpool_id", b"userpool_id"]) -> None: ...
|
|
788
|
+
|
|
789
|
+
global___ResolvedUser = ResolvedUser
|
|
790
|
+
|
|
791
|
+
@typing.final
|
|
792
|
+
class ResolveExternalIdsResponse(google.protobuf.message.Message):
|
|
793
|
+
"""Response for the [UserService.ResolveExternalIds] operation."""
|
|
794
|
+
|
|
795
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
796
|
+
|
|
797
|
+
RESOLVED_USERS_FIELD_NUMBER: builtins.int
|
|
798
|
+
@property
|
|
799
|
+
def resolved_users(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___ResolvedUser]:
|
|
800
|
+
"""List of resolved users."""
|
|
801
|
+
|
|
802
|
+
def __init__(
|
|
803
|
+
self,
|
|
804
|
+
*,
|
|
805
|
+
resolved_users: collections.abc.Iterable[global___ResolvedUser] | None = ...,
|
|
806
|
+
) -> None: ...
|
|
807
|
+
def ClearField(self, field_name: typing.Literal["resolved_users", b"resolved_users"]) -> None: ...
|
|
808
|
+
|
|
809
|
+
global___ResolveExternalIdsResponse = ResolveExternalIdsResponse
|