yandexcloud 0.362.0__py3-none-any.whl → 0.364.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 (66) 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/cdn/v1/shielding_service_pb2.py +9 -7
  11. yandex/cloud/cdn/v1/shielding_service_pb2.pyi +5 -1
  12. yandex/cloud/compute/v1/application_pb2.py +70 -0
  13. yandex/cloud/compute/v1/application_pb2.pyi +159 -0
  14. yandex/cloud/compute/v1/application_pb2_grpc.py +24 -0
  15. yandex/cloud/compute/v1/application_pb2_grpc.pyi +17 -0
  16. yandex/cloud/compute/v1/instance_pb2.py +54 -53
  17. yandex/cloud/compute/v1/instance_pb2.pyi +9 -2
  18. yandex/cloud/compute/v1/instance_service_pb2.py +134 -133
  19. yandex/cloud/compute/v1/instance_service_pb2.pyi +17 -4
  20. yandex/cloud/mdb/clickhouse/v1/config/clickhouse_pb2.py +81 -79
  21. yandex/cloud/mdb/clickhouse/v1/config/clickhouse_pb2.pyi +1 -1
  22. yandex/cloud/mdb/greenplum/v1/config_pb2.py +44 -44
  23. yandex/cloud/mdb/greenplum/v1/config_pb2.pyi +16 -5
  24. yandex/cloud/mdb/mysql/v1/cluster_pb2.py +36 -35
  25. yandex/cloud/mdb/mysql/v1/cluster_pb2.pyi +10 -3
  26. yandex/cloud/mdb/mysql/v1/cluster_service_pb2.py +104 -103
  27. yandex/cloud/mdb/mysql/v1/cluster_service_pb2.pyi +11 -4
  28. yandex/cloud/mdb/mysql/v1/config/mysql8_4_pb2.py +179 -0
  29. yandex/cloud/mdb/mysql/v1/config/mysql8_4_pb2.pyi +1048 -0
  30. yandex/cloud/mdb/mysql/v1/config/mysql8_4_pb2_grpc.py +24 -0
  31. yandex/cloud/mdb/mysql/v1/config/mysql8_4_pb2_grpc.pyi +17 -0
  32. yandex/cloud/mdb/postgresql/v1/user_pb2.py +27 -25
  33. yandex/cloud/mdb/postgresql/v1/user_pb2.pyi +27 -2
  34. yandex/cloud/mdb/postgresql/v1/user_service_pb2.py +33 -33
  35. yandex/cloud/mdb/postgresql/v1/user_service_pb2.pyi +5 -1
  36. yandex/cloud/organizationmanager/v1/idp/application/__init__.py +0 -0
  37. yandex/cloud/organizationmanager/v1/idp/application/oauth/__init__.py +0 -0
  38. yandex/cloud/organizationmanager/v1/idp/application/oauth/application_pb2.py +55 -0
  39. yandex/cloud/organizationmanager/v1/idp/application/oauth/application_pb2.pyi +206 -0
  40. yandex/cloud/organizationmanager/v1/idp/application/oauth/application_pb2_grpc.py +24 -0
  41. yandex/cloud/organizationmanager/v1/idp/application/oauth/application_pb2_grpc.pyi +17 -0
  42. yandex/cloud/organizationmanager/v1/idp/application/oauth/application_service_pb2.py +178 -0
  43. yandex/cloud/organizationmanager/v1/idp/application/oauth/application_service_pb2.pyi +641 -0
  44. yandex/cloud/organizationmanager/v1/idp/application/oauth/application_service_pb2_grpc.py +634 -0
  45. yandex/cloud/organizationmanager/v1/idp/application/oauth/application_service_pb2_grpc.pyi +302 -0
  46. yandex/cloud/organizationmanager/v1/mfa_enforcement_pb2.py +41 -0
  47. yandex/cloud/organizationmanager/v1/mfa_enforcement_pb2.pyi +108 -0
  48. yandex/cloud/organizationmanager/v1/mfa_enforcement_pb2_grpc.py +24 -0
  49. yandex/cloud/organizationmanager/v1/mfa_enforcement_pb2_grpc.pyi +17 -0
  50. yandex/cloud/organizationmanager/v1/mfa_enforcement_service_pb2.py +156 -0
  51. yandex/cloud/organizationmanager/v1/mfa_enforcement_service_pb2.pyi +462 -0
  52. yandex/cloud/organizationmanager/v1/mfa_enforcement_service_pb2_grpc.py +446 -0
  53. yandex/cloud/organizationmanager/v1/mfa_enforcement_service_pb2_grpc.pyi +185 -0
  54. yandex/cloud/trino/v1/cluster_pb2.py +34 -30
  55. yandex/cloud/trino/v1/cluster_pb2.pyi +28 -2
  56. yandex/cloud/trino/v1/cluster_service_pb2.py +36 -36
  57. yandex/cloud/trino/v1/cluster_service_pb2.pyi +16 -4
  58. yandex/cloud/ytsaurus/v1/cluster_pb2.py +4 -2
  59. yandex/cloud/ytsaurus/v1/cluster_pb2.pyi +19 -1
  60. yandexcloud/__init__.py +1 -1
  61. {yandexcloud-0.362.0.dist-info → yandexcloud-0.364.0.dist-info}/METADATA +1 -1
  62. {yandexcloud-0.362.0.dist-info → yandexcloud-0.364.0.dist-info}/RECORD +66 -32
  63. {yandexcloud-0.362.0.dist-info → yandexcloud-0.364.0.dist-info}/AUTHORS +0 -0
  64. {yandexcloud-0.362.0.dist-info → yandexcloud-0.364.0.dist-info}/LICENSE +0 -0
  65. {yandexcloud-0.362.0.dist-info → yandexcloud-0.364.0.dist-info}/WHEEL +0 -0
  66. {yandexcloud-0.362.0.dist-info → yandexcloud-0.364.0.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,641 @@
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 sys
14
+ import typing
15
+ import yandex.cloud.operation.operation_pb2
16
+ import yandex.cloud.organizationmanager.v1.idp.application.oauth.application_pb2
17
+
18
+ if sys.version_info >= (3, 10):
19
+ import typing as typing_extensions
20
+ else:
21
+ import typing_extensions
22
+
23
+ DESCRIPTOR: google.protobuf.descriptor.FileDescriptor
24
+
25
+ class _AssignmentAction:
26
+ ValueType = typing.NewType("ValueType", builtins.int)
27
+ V: typing_extensions.TypeAlias = ValueType
28
+
29
+ class _AssignmentActionEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[_AssignmentAction.ValueType], builtins.type):
30
+ DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor
31
+ ASSIGNMENT_ACTION_UNSPECIFIED: _AssignmentAction.ValueType # 0
32
+ """Action unspecified"""
33
+ ADD: _AssignmentAction.ValueType # 1
34
+ """Add action"""
35
+ REMOVE: _AssignmentAction.ValueType # 2
36
+ """Remove action"""
37
+
38
+ class AssignmentAction(_AssignmentAction, metaclass=_AssignmentActionEnumTypeWrapper):
39
+ """The action within assignment delta that is being performed on an assignment"""
40
+
41
+ ASSIGNMENT_ACTION_UNSPECIFIED: AssignmentAction.ValueType # 0
42
+ """Action unspecified"""
43
+ ADD: AssignmentAction.ValueType # 1
44
+ """Add action"""
45
+ REMOVE: AssignmentAction.ValueType # 2
46
+ """Remove action"""
47
+ global___AssignmentAction = AssignmentAction
48
+
49
+ @typing.final
50
+ class GetApplicationRequest(google.protobuf.message.Message):
51
+ """Request to get a OAuth application."""
52
+
53
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
54
+
55
+ APPLICATION_ID_FIELD_NUMBER: builtins.int
56
+ application_id: builtins.str
57
+ """ID of the OAuth application to return.
58
+ To get the OAuth application ID, make a [ApplicationService.List] request.
59
+ """
60
+ def __init__(
61
+ self,
62
+ *,
63
+ application_id: builtins.str = ...,
64
+ ) -> None: ...
65
+ def ClearField(self, field_name: typing.Literal["application_id", b"application_id"]) -> None: ...
66
+
67
+ global___GetApplicationRequest = GetApplicationRequest
68
+
69
+ @typing.final
70
+ class ListApplicationsRequest(google.protobuf.message.Message):
71
+ """Request to list OAuth applications."""
72
+
73
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
74
+
75
+ ORGANIZATION_ID_FIELD_NUMBER: builtins.int
76
+ PAGE_SIZE_FIELD_NUMBER: builtins.int
77
+ PAGE_TOKEN_FIELD_NUMBER: builtins.int
78
+ FILTER_FIELD_NUMBER: builtins.int
79
+ organization_id: builtins.str
80
+ """ID of the organization to list OAuth applications in."""
81
+ page_size: builtins.int
82
+ """The maximum number of results per page to return.
83
+ If the number of available results is larger than [page_size],
84
+ the service returns a [ListApplicationsResponse.next_page_token]
85
+ that can be used to get the next page of results in subsequent list requests.
86
+ Default value: 100.
87
+ """
88
+ page_token: builtins.str
89
+ """Page token. To get the next page of results, set [page_token]
90
+ to the [ListApplicationsResponse.next_page_token]
91
+ returned by a previous list request.
92
+ """
93
+ filter: builtins.str
94
+ """A filter expression that filters resources listed in the response."""
95
+ def __init__(
96
+ self,
97
+ *,
98
+ organization_id: builtins.str = ...,
99
+ page_size: builtins.int = ...,
100
+ page_token: builtins.str = ...,
101
+ filter: builtins.str = ...,
102
+ ) -> None: ...
103
+ def ClearField(self, field_name: typing.Literal["filter", b"filter", "organization_id", b"organization_id", "page_size", b"page_size", "page_token", b"page_token"]) -> None: ...
104
+
105
+ global___ListApplicationsRequest = ListApplicationsRequest
106
+
107
+ @typing.final
108
+ class ListApplicationsResponse(google.protobuf.message.Message):
109
+ """Response message for [ApplicationService.List]."""
110
+
111
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
112
+
113
+ APPLICATIONS_FIELD_NUMBER: builtins.int
114
+ NEXT_PAGE_TOKEN_FIELD_NUMBER: builtins.int
115
+ next_page_token: builtins.str
116
+ """This token allows you to get the next page of results for list requests.
117
+ If the number of results is larger than [ListApplicationsRequest.page_size],
118
+ use the [next_page_token] as the value for the [ListApplicationsRequest.page_token]
119
+ query parameter in the next list request.
120
+ """
121
+ @property
122
+ def applications(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[yandex.cloud.organizationmanager.v1.idp.application.oauth.application_pb2.Application]:
123
+ """List of OAuth applications."""
124
+
125
+ def __init__(
126
+ self,
127
+ *,
128
+ applications: collections.abc.Iterable[yandex.cloud.organizationmanager.v1.idp.application.oauth.application_pb2.Application] | None = ...,
129
+ next_page_token: builtins.str = ...,
130
+ ) -> None: ...
131
+ def ClearField(self, field_name: typing.Literal["applications", b"applications", "next_page_token", b"next_page_token"]) -> None: ...
132
+
133
+ global___ListApplicationsResponse = ListApplicationsResponse
134
+
135
+ @typing.final
136
+ class CreateApplicationRequest(google.protobuf.message.Message):
137
+ """Request to create a OAuth application."""
138
+
139
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
140
+
141
+ @typing.final
142
+ class LabelsEntry(google.protobuf.message.Message):
143
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
144
+
145
+ KEY_FIELD_NUMBER: builtins.int
146
+ VALUE_FIELD_NUMBER: builtins.int
147
+ key: builtins.str
148
+ value: builtins.str
149
+ def __init__(
150
+ self,
151
+ *,
152
+ key: builtins.str = ...,
153
+ value: builtins.str = ...,
154
+ ) -> None: ...
155
+ def ClearField(self, field_name: typing.Literal["key", b"key", "value", b"value"]) -> None: ...
156
+
157
+ NAME_FIELD_NUMBER: builtins.int
158
+ ORGANIZATION_ID_FIELD_NUMBER: builtins.int
159
+ DESCRIPTION_FIELD_NUMBER: builtins.int
160
+ GROUP_CLAIMS_SETTINGS_FIELD_NUMBER: builtins.int
161
+ CLIENT_GRANT_FIELD_NUMBER: builtins.int
162
+ LABELS_FIELD_NUMBER: builtins.int
163
+ name: builtins.str
164
+ """Name of the OAuth application.
165
+ The name must be unique within the organization.
166
+ """
167
+ organization_id: builtins.str
168
+ """ID of the organization to create a OAuth application in."""
169
+ description: builtins.str
170
+ """Description of the OAuth application."""
171
+ @property
172
+ def group_claims_settings(self) -> yandex.cloud.organizationmanager.v1.idp.application.oauth.application_pb2.GroupClaimsSettings:
173
+ """Settings of the group claims"""
174
+
175
+ @property
176
+ def client_grant(self) -> yandex.cloud.organizationmanager.v1.idp.application.oauth.application_pb2.ClientGrant:
177
+ """Connection to the OAuth client with specified scopes"""
178
+
179
+ @property
180
+ def labels(self) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]:
181
+ """Resource labels as key:value pairs."""
182
+
183
+ def __init__(
184
+ self,
185
+ *,
186
+ name: builtins.str = ...,
187
+ organization_id: builtins.str = ...,
188
+ description: builtins.str = ...,
189
+ group_claims_settings: yandex.cloud.organizationmanager.v1.idp.application.oauth.application_pb2.GroupClaimsSettings | None = ...,
190
+ client_grant: yandex.cloud.organizationmanager.v1.idp.application.oauth.application_pb2.ClientGrant | None = ...,
191
+ labels: collections.abc.Mapping[builtins.str, builtins.str] | None = ...,
192
+ ) -> None: ...
193
+ def HasField(self, field_name: typing.Literal["client_grant", b"client_grant", "group_claims_settings", b"group_claims_settings"]) -> builtins.bool: ...
194
+ def ClearField(self, field_name: typing.Literal["client_grant", b"client_grant", "description", b"description", "group_claims_settings", b"group_claims_settings", "labels", b"labels", "name", b"name", "organization_id", b"organization_id"]) -> None: ...
195
+
196
+ global___CreateApplicationRequest = CreateApplicationRequest
197
+
198
+ @typing.final
199
+ class CreateApplicationMetadata(google.protobuf.message.Message):
200
+ """Metadata for the [ApplicationService.Create] operation."""
201
+
202
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
203
+
204
+ APPLICATION_ID_FIELD_NUMBER: builtins.int
205
+ application_id: builtins.str
206
+ """ID of the OAuth application that is being created."""
207
+ def __init__(
208
+ self,
209
+ *,
210
+ application_id: builtins.str = ...,
211
+ ) -> None: ...
212
+ def ClearField(self, field_name: typing.Literal["application_id", b"application_id"]) -> None: ...
213
+
214
+ global___CreateApplicationMetadata = CreateApplicationMetadata
215
+
216
+ @typing.final
217
+ class UpdateApplicationRequest(google.protobuf.message.Message):
218
+ """Request to update a OAuth application."""
219
+
220
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
221
+
222
+ @typing.final
223
+ class LabelsEntry(google.protobuf.message.Message):
224
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
225
+
226
+ KEY_FIELD_NUMBER: builtins.int
227
+ VALUE_FIELD_NUMBER: builtins.int
228
+ key: builtins.str
229
+ value: builtins.str
230
+ def __init__(
231
+ self,
232
+ *,
233
+ key: builtins.str = ...,
234
+ value: builtins.str = ...,
235
+ ) -> None: ...
236
+ def ClearField(self, field_name: typing.Literal["key", b"key", "value", b"value"]) -> None: ...
237
+
238
+ APPLICATION_ID_FIELD_NUMBER: builtins.int
239
+ UPDATE_MASK_FIELD_NUMBER: builtins.int
240
+ NAME_FIELD_NUMBER: builtins.int
241
+ DESCRIPTION_FIELD_NUMBER: builtins.int
242
+ GROUP_CLAIMS_SETTINGS_FIELD_NUMBER: builtins.int
243
+ CLIENT_GRANT_FIELD_NUMBER: builtins.int
244
+ LABELS_FIELD_NUMBER: builtins.int
245
+ application_id: builtins.str
246
+ """ID of the OAuth application to update.
247
+ To get the OAuth application ID, make a [ApplicationService.List] request.
248
+ """
249
+ name: builtins.str
250
+ """Name of the OAuth application.
251
+ The name must be unique within the organization.
252
+ """
253
+ description: builtins.str
254
+ """Description of the OAuth application."""
255
+ @property
256
+ def update_mask(self) -> google.protobuf.field_mask_pb2.FieldMask:
257
+ """Field mask that specifies which fields of the OAuth application are going to be updated."""
258
+
259
+ @property
260
+ def group_claims_settings(self) -> yandex.cloud.organizationmanager.v1.idp.application.oauth.application_pb2.GroupClaimsSettings:
261
+ """Settings of the group claims"""
262
+
263
+ @property
264
+ def client_grant(self) -> yandex.cloud.organizationmanager.v1.idp.application.oauth.application_pb2.ClientGrant:
265
+ """Connection to the OAuth client with specified scopes"""
266
+
267
+ @property
268
+ def labels(self) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]:
269
+ """Resource labels as key:value pairs."""
270
+
271
+ def __init__(
272
+ self,
273
+ *,
274
+ application_id: builtins.str = ...,
275
+ update_mask: google.protobuf.field_mask_pb2.FieldMask | None = ...,
276
+ name: builtins.str = ...,
277
+ description: builtins.str = ...,
278
+ group_claims_settings: yandex.cloud.organizationmanager.v1.idp.application.oauth.application_pb2.GroupClaimsSettings | None = ...,
279
+ client_grant: yandex.cloud.organizationmanager.v1.idp.application.oauth.application_pb2.ClientGrant | None = ...,
280
+ labels: collections.abc.Mapping[builtins.str, builtins.str] | None = ...,
281
+ ) -> None: ...
282
+ def HasField(self, field_name: typing.Literal["client_grant", b"client_grant", "group_claims_settings", b"group_claims_settings", "update_mask", b"update_mask"]) -> builtins.bool: ...
283
+ def ClearField(self, field_name: typing.Literal["application_id", b"application_id", "client_grant", b"client_grant", "description", b"description", "group_claims_settings", b"group_claims_settings", "labels", b"labels", "name", b"name", "update_mask", b"update_mask"]) -> None: ...
284
+
285
+ global___UpdateApplicationRequest = UpdateApplicationRequest
286
+
287
+ @typing.final
288
+ class UpdateApplicationMetadata(google.protobuf.message.Message):
289
+ """Metadata for the [ApplicationService.Update] operation."""
290
+
291
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
292
+
293
+ APPLICATION_ID_FIELD_NUMBER: builtins.int
294
+ application_id: builtins.str
295
+ """ID of the OAuth application that is being updated."""
296
+ def __init__(
297
+ self,
298
+ *,
299
+ application_id: builtins.str = ...,
300
+ ) -> None: ...
301
+ def ClearField(self, field_name: typing.Literal["application_id", b"application_id"]) -> None: ...
302
+
303
+ global___UpdateApplicationMetadata = UpdateApplicationMetadata
304
+
305
+ @typing.final
306
+ class SuspendApplicationRequest(google.protobuf.message.Message):
307
+ """Request to suspend a OAuth application."""
308
+
309
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
310
+
311
+ APPLICATION_ID_FIELD_NUMBER: builtins.int
312
+ application_id: builtins.str
313
+ """ID of the OAuth application to suspend.
314
+ To get the OAuth application ID, make a [ApplicationService.List] request.
315
+ """
316
+ def __init__(
317
+ self,
318
+ *,
319
+ application_id: builtins.str = ...,
320
+ ) -> None: ...
321
+ def ClearField(self, field_name: typing.Literal["application_id", b"application_id"]) -> None: ...
322
+
323
+ global___SuspendApplicationRequest = SuspendApplicationRequest
324
+
325
+ @typing.final
326
+ class SuspendApplicationMetadata(google.protobuf.message.Message):
327
+ """Metadata for the [ApplicationService.Suspend] operation."""
328
+
329
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
330
+
331
+ APPLICATION_ID_FIELD_NUMBER: builtins.int
332
+ application_id: builtins.str
333
+ """ID of the OAuth application that is being suspended."""
334
+ def __init__(
335
+ self,
336
+ *,
337
+ application_id: builtins.str = ...,
338
+ ) -> None: ...
339
+ def ClearField(self, field_name: typing.Literal["application_id", b"application_id"]) -> None: ...
340
+
341
+ global___SuspendApplicationMetadata = SuspendApplicationMetadata
342
+
343
+ @typing.final
344
+ class ReactivateApplicationRequest(google.protobuf.message.Message):
345
+ """Request to reactivate a OAuth application."""
346
+
347
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
348
+
349
+ APPLICATION_ID_FIELD_NUMBER: builtins.int
350
+ application_id: builtins.str
351
+ """ID of the OAuth application to reactivate.
352
+ To get the OAuth application ID, make a [ApplicationService.List] request.
353
+ """
354
+ def __init__(
355
+ self,
356
+ *,
357
+ application_id: builtins.str = ...,
358
+ ) -> None: ...
359
+ def ClearField(self, field_name: typing.Literal["application_id", b"application_id"]) -> None: ...
360
+
361
+ global___ReactivateApplicationRequest = ReactivateApplicationRequest
362
+
363
+ @typing.final
364
+ class ReactivateApplicationMetadata(google.protobuf.message.Message):
365
+ """Metadata for the [ApplicationService.Reactivate] operation."""
366
+
367
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
368
+
369
+ APPLICATION_ID_FIELD_NUMBER: builtins.int
370
+ application_id: builtins.str
371
+ """ID of the OAuth application that is being reactivated."""
372
+ def __init__(
373
+ self,
374
+ *,
375
+ application_id: builtins.str = ...,
376
+ ) -> None: ...
377
+ def ClearField(self, field_name: typing.Literal["application_id", b"application_id"]) -> None: ...
378
+
379
+ global___ReactivateApplicationMetadata = ReactivateApplicationMetadata
380
+
381
+ @typing.final
382
+ class DeleteApplicationRequest(google.protobuf.message.Message):
383
+ """Request to delete a OAuth application."""
384
+
385
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
386
+
387
+ APPLICATION_ID_FIELD_NUMBER: builtins.int
388
+ application_id: builtins.str
389
+ """ID of the OAuth application to delete.
390
+ To get the OAuth application ID, make a [ApplicationService.List] request.
391
+ """
392
+ def __init__(
393
+ self,
394
+ *,
395
+ application_id: builtins.str = ...,
396
+ ) -> None: ...
397
+ def ClearField(self, field_name: typing.Literal["application_id", b"application_id"]) -> None: ...
398
+
399
+ global___DeleteApplicationRequest = DeleteApplicationRequest
400
+
401
+ @typing.final
402
+ class DeleteApplicationMetadata(google.protobuf.message.Message):
403
+ """Metadata for the [ApplicationService.Delete] operation."""
404
+
405
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
406
+
407
+ APPLICATION_ID_FIELD_NUMBER: builtins.int
408
+ application_id: builtins.str
409
+ """ID of the OAuth application that is being deleted."""
410
+ def __init__(
411
+ self,
412
+ *,
413
+ application_id: builtins.str = ...,
414
+ ) -> None: ...
415
+ def ClearField(self, field_name: typing.Literal["application_id", b"application_id"]) -> None: ...
416
+
417
+ global___DeleteApplicationMetadata = DeleteApplicationMetadata
418
+
419
+ @typing.final
420
+ class ListApplicationOperationsRequest(google.protobuf.message.Message):
421
+ """Request to list operations for a OAuth application."""
422
+
423
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
424
+
425
+ APPLICATION_ID_FIELD_NUMBER: builtins.int
426
+ PAGE_SIZE_FIELD_NUMBER: builtins.int
427
+ PAGE_TOKEN_FIELD_NUMBER: builtins.int
428
+ application_id: builtins.str
429
+ """ID of the OAuth application to list operations for."""
430
+ page_size: builtins.int
431
+ """The maximum number of results per page to return."""
432
+ page_token: builtins.str
433
+ """Page token for pagination."""
434
+ def __init__(
435
+ self,
436
+ *,
437
+ application_id: builtins.str = ...,
438
+ page_size: builtins.int = ...,
439
+ page_token: builtins.str = ...,
440
+ ) -> None: ...
441
+ def ClearField(self, field_name: typing.Literal["application_id", b"application_id", "page_size", b"page_size", "page_token", b"page_token"]) -> None: ...
442
+
443
+ global___ListApplicationOperationsRequest = ListApplicationOperationsRequest
444
+
445
+ @typing.final
446
+ class ListApplicationOperationsResponse(google.protobuf.message.Message):
447
+ """Response message for [ApplicationService.ListOperations]."""
448
+
449
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
450
+
451
+ OPERATIONS_FIELD_NUMBER: builtins.int
452
+ NEXT_PAGE_TOKEN_FIELD_NUMBER: builtins.int
453
+ next_page_token: builtins.str
454
+ """Token for getting the next page of the list."""
455
+ @property
456
+ def operations(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[yandex.cloud.operation.operation_pb2.Operation]:
457
+ """List of operations."""
458
+
459
+ def __init__(
460
+ self,
461
+ *,
462
+ operations: collections.abc.Iterable[yandex.cloud.operation.operation_pb2.Operation] | None = ...,
463
+ next_page_token: builtins.str = ...,
464
+ ) -> None: ...
465
+ def ClearField(self, field_name: typing.Literal["next_page_token", b"next_page_token", "operations", b"operations"]) -> None: ...
466
+
467
+ global___ListApplicationOperationsResponse = ListApplicationOperationsResponse
468
+
469
+ @typing.final
470
+ class Assignment(google.protobuf.message.Message):
471
+ """An assignment for the OAuth application"""
472
+
473
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
474
+
475
+ SUBJECT_ID_FIELD_NUMBER: builtins.int
476
+ subject_id: builtins.str
477
+ """ID of the subject to be assigned to the OAuth application.
478
+ Supported subject categories: UserAccount, ServiceAccount, Group, MetaGroup, PublicGroup.
479
+ In case subject ID is ID of the group,
480
+ then such group becomes visible to the users of OAuth application in case [GroupDistributionType] has value ASSIGNED_GROUPS.
481
+ """
482
+ def __init__(
483
+ self,
484
+ *,
485
+ subject_id: builtins.str = ...,
486
+ ) -> None: ...
487
+ def ClearField(self, field_name: typing.Literal["subject_id", b"subject_id"]) -> None: ...
488
+
489
+ global___Assignment = Assignment
490
+
491
+ @typing.final
492
+ class AssignmentDelta(google.protobuf.message.Message):
493
+ """A delta of the"""
494
+
495
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
496
+
497
+ ACTION_FIELD_NUMBER: builtins.int
498
+ ASSIGNMENT_FIELD_NUMBER: builtins.int
499
+ action: global___AssignmentAction.ValueType
500
+ """The action that is being performed on an assignment."""
501
+ @property
502
+ def assignment(self) -> global___Assignment:
503
+ """An assignment for the OAuth application."""
504
+
505
+ def __init__(
506
+ self,
507
+ *,
508
+ action: global___AssignmentAction.ValueType = ...,
509
+ assignment: global___Assignment | None = ...,
510
+ ) -> None: ...
511
+ def HasField(self, field_name: typing.Literal["assignment", b"assignment"]) -> builtins.bool: ...
512
+ def ClearField(self, field_name: typing.Literal["action", b"action", "assignment", b"assignment"]) -> None: ...
513
+
514
+ global___AssignmentDelta = AssignmentDelta
515
+
516
+ @typing.final
517
+ class UpdateAssignmentsResponse(google.protobuf.message.Message):
518
+ """Response message of the operation for the [ApplicationService.UpdateAssignments]."""
519
+
520
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
521
+
522
+ ASSIGNMENT_DELTAS_FIELD_NUMBER: builtins.int
523
+ @property
524
+ def assignment_deltas(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___AssignmentDelta]:
525
+ """List of applied assignment deltas on the OAuth application"""
526
+
527
+ def __init__(
528
+ self,
529
+ *,
530
+ assignment_deltas: collections.abc.Iterable[global___AssignmentDelta] | None = ...,
531
+ ) -> None: ...
532
+ def ClearField(self, field_name: typing.Literal["assignment_deltas", b"assignment_deltas"]) -> None: ...
533
+
534
+ global___UpdateAssignmentsResponse = UpdateAssignmentsResponse
535
+
536
+ @typing.final
537
+ class ListAssignmentsRequest(google.protobuf.message.Message):
538
+ """Request to list assignments for a OAuth application."""
539
+
540
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
541
+
542
+ APPLICATION_ID_FIELD_NUMBER: builtins.int
543
+ PAGE_SIZE_FIELD_NUMBER: builtins.int
544
+ PAGE_TOKEN_FIELD_NUMBER: builtins.int
545
+ application_id: builtins.str
546
+ """ID of the OAuth application to update.
547
+ To get the OAuth application ID, make a [ApplicationService.List] request.
548
+ """
549
+ page_size: builtins.int
550
+ """The maximum number of results per page to return.
551
+ If the number of available results is larger than [page_size],
552
+ the service returns a [ListAssignmentsResponse.next_page_token]
553
+ that can be used to get the next page of results in subsequent list requests.
554
+ """
555
+ page_token: builtins.str
556
+ """Page token. To get the next page of results, set [page_token]
557
+ to the [ListAssignmentsResponse.next_page_token]
558
+ returned by a previous list request.
559
+ """
560
+ def __init__(
561
+ self,
562
+ *,
563
+ application_id: builtins.str = ...,
564
+ page_size: builtins.int = ...,
565
+ page_token: builtins.str = ...,
566
+ ) -> None: ...
567
+ def ClearField(self, field_name: typing.Literal["application_id", b"application_id", "page_size", b"page_size", "page_token", b"page_token"]) -> None: ...
568
+
569
+ global___ListAssignmentsRequest = ListAssignmentsRequest
570
+
571
+ @typing.final
572
+ class ListAssignmentsResponse(google.protobuf.message.Message):
573
+ """Response message for [ApplicationService.ListAssignments]."""
574
+
575
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
576
+
577
+ ASSIGNMENTS_FIELD_NUMBER: builtins.int
578
+ NEXT_PAGE_TOKEN_FIELD_NUMBER: builtins.int
579
+ next_page_token: builtins.str
580
+ """This token allows you to get the next page of results for list requests.
581
+ If the number of results is larger than [ListAssignmentsRequest.page_size],
582
+ use the [next_page_token] as the value for the [ListAssignmentsRequest.page_token]
583
+ query parameter in the next list request.
584
+ """
585
+ @property
586
+ def assignments(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___Assignment]:
587
+ """List of assignments."""
588
+
589
+ def __init__(
590
+ self,
591
+ *,
592
+ assignments: collections.abc.Iterable[global___Assignment] | None = ...,
593
+ next_page_token: builtins.str = ...,
594
+ ) -> None: ...
595
+ def ClearField(self, field_name: typing.Literal["assignments", b"assignments", "next_page_token", b"next_page_token"]) -> None: ...
596
+
597
+ global___ListAssignmentsResponse = ListAssignmentsResponse
598
+
599
+ @typing.final
600
+ class UpdateAssignmentsRequest(google.protobuf.message.Message):
601
+ """Request to update assignments for specified OAuth application."""
602
+
603
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
604
+
605
+ APPLICATION_ID_FIELD_NUMBER: builtins.int
606
+ ASSIGNMENT_DELTAS_FIELD_NUMBER: builtins.int
607
+ application_id: builtins.str
608
+ """ID of the OAuth application to update.
609
+ To get the OAuth application ID, make a [ApplicationService.List] request.
610
+ """
611
+ @property
612
+ def assignment_deltas(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___AssignmentDelta]:
613
+ """List of assignment deltas to be applied on the OAuth application. Duplicates or invalid assignments are ignored."""
614
+
615
+ def __init__(
616
+ self,
617
+ *,
618
+ application_id: builtins.str = ...,
619
+ assignment_deltas: collections.abc.Iterable[global___AssignmentDelta] | None = ...,
620
+ ) -> None: ...
621
+ def ClearField(self, field_name: typing.Literal["application_id", b"application_id", "assignment_deltas", b"assignment_deltas"]) -> None: ...
622
+
623
+ global___UpdateAssignmentsRequest = UpdateAssignmentsRequest
624
+
625
+ @typing.final
626
+ class UpdateAssignmentsMetadata(google.protobuf.message.Message):
627
+ """Metadata for the [ApplicationService.UpdateAssignments] operation."""
628
+
629
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
630
+
631
+ APPLICATION_ID_FIELD_NUMBER: builtins.int
632
+ application_id: builtins.str
633
+ """ID of the OAuth application that is being updated."""
634
+ def __init__(
635
+ self,
636
+ *,
637
+ application_id: builtins.str = ...,
638
+ ) -> None: ...
639
+ def ClearField(self, field_name: typing.Literal["application_id", b"application_id"]) -> None: ...
640
+
641
+ global___UpdateAssignmentsMetadata = UpdateAssignmentsMetadata