yandexcloud 0.354.0__py3-none-any.whl → 0.356.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.
- yandex/cloud/ai/assistants/v1/common_pb2.py +58 -30
- yandex/cloud/ai/assistants/v1/common_pb2.pyi +178 -3
- yandex/cloud/airflow/v1/cluster_pb2.py +12 -8
- yandex/cloud/airflow/v1/cluster_pb2.pyi +4 -0
- yandex/cloud/apploadbalancer/v1/virtual_host_pb2.py +32 -32
- yandex/cloud/apploadbalancer/v1/virtual_host_pb2.pyi +5 -1
- yandex/cloud/apploadbalancer/v1/virtual_host_service_pb2.py +6 -6
- yandex/cloud/apploadbalancer/v1/virtual_host_service_pb2.pyi +5 -1
- yandex/cloud/backup/v1/backup_service_pb2.py +46 -40
- yandex/cloud/backup/v1/backup_service_pb2.pyi +26 -4
- yandex/cloud/backup/v1/resource_pb2.py +2 -2
- yandex/cloud/backup/v1/resource_pb2.pyi +8 -0
- yandex/cloud/baremetal/v1alpha/configuration_service_pb2.py +18 -9
- yandex/cloud/baremetal/v1alpha/configuration_service_pb2.pyi +16 -2
- yandex/cloud/baremetal/v1alpha/hardware_pool_service_pb2.py +14 -9
- yandex/cloud/baremetal/v1alpha/image_service_pb2.py +39 -32
- yandex/cloud/baremetal/v1alpha/private_cloud_connection_service_pb2.py +29 -24
- yandex/cloud/baremetal/v1alpha/private_subnet_service_pb2.py +43 -36
- yandex/cloud/baremetal/v1alpha/public_subnet_service_pb2.py +39 -32
- yandex/cloud/baremetal/v1alpha/public_subnet_service_pb2.pyi +3 -2
- yandex/cloud/baremetal/v1alpha/server_service_pb2.py +83 -76
- yandex/cloud/baremetal/v1alpha/storage_service_pb2.py +16 -11
- yandex/cloud/baremetal/v1alpha/vrf_service_pb2.py +39 -32
- yandex/cloud/baremetal/v1alpha/zone_service_pb2.py +14 -9
- yandex/cloud/compute/v1/maintenance_service_pb2.py +47 -0
- yandex/cloud/compute/v1/maintenance_service_pb2.pyi +8 -0
- yandex/cloud/compute/v1/maintenance_service_pb2_grpc.py +190 -0
- yandex/cloud/compute/v1/maintenance_service_pb2_grpc.pyi +91 -0
- yandex/cloud/compute/v1/reserved_instance_pool_pb2.py +8 -4
- yandex/cloud/compute/v1/reserved_instance_pool_pb2.pyi +69 -2
- yandex/cloud/compute/v1/reserved_instance_pool_service_pb2.py +44 -20
- yandex/cloud/compute/v1/reserved_instance_pool_service_pb2.pyi +138 -2
- yandex/cloud/compute/v1/reserved_instance_pool_service_pb2_grpc.py +88 -0
- yandex/cloud/compute/v1/reserved_instance_pool_service_pb2_grpc.pyi +40 -0
- yandex/cloud/datatransfer/v1/transfer_pb2.py +50 -48
- yandex/cloud/datatransfer/v1/transfer_pb2.pyi +23 -4
- yandex/cloud/datatransfer/v1/transfer_service_pb2.py +32 -32
- yandex/cloud/datatransfer/v1/transfer_service_pb2.pyi +12 -4
- yandex/cloud/iam/v1/oauth_client_pb2.py +39 -0
- yandex/cloud/iam/v1/oauth_client_pb2.pyi +85 -0
- yandex/cloud/iam/v1/oauth_client_pb2_grpc.py +24 -0
- yandex/cloud/iam/v1/oauth_client_pb2_grpc.pyi +17 -0
- yandex/cloud/iam/v1/oauth_client_secret_pb2.py +38 -0
- yandex/cloud/iam/v1/oauth_client_secret_pb2.pyi +49 -0
- yandex/cloud/iam/v1/oauth_client_secret_pb2_grpc.py +24 -0
- yandex/cloud/iam/v1/oauth_client_secret_pb2_grpc.pyi +17 -0
- yandex/cloud/iam/v1/oauth_client_secret_service_pb2.py +80 -0
- yandex/cloud/iam/v1/oauth_client_secret_service_pb2.pyi +188 -0
- yandex/cloud/iam/v1/oauth_client_secret_service_pb2_grpc.py +237 -0
- yandex/cloud/iam/v1/oauth_client_secret_service_pb2_grpc.pyi +121 -0
- yandex/cloud/iam/v1/oauth_client_service_pb2.py +99 -0
- yandex/cloud/iam/v1/oauth_client_service_pb2.pyi +257 -0
- yandex/cloud/iam/v1/oauth_client_service_pb2_grpc.py +281 -0
- yandex/cloud/iam/v1/oauth_client_service_pb2_grpc.pyi +141 -0
- yandex/cloud/iot/broker/v1/broker_service_pb2.py +50 -50
- yandex/cloud/iot/devices/v1/device_service_pb2.py +61 -61
- yandex/cloud/iot/devices/v1/registry_service_pb2.py +82 -82
- yandex/cloud/maintenance/__init__.py +0 -0
- yandex/cloud/maintenance/v2/__init__.py +0 -0
- yandex/cloud/maintenance/v2/common_pb2.py +73 -0
- yandex/cloud/maintenance/v2/common_pb2.pyi +324 -0
- yandex/cloud/maintenance/v2/common_pb2_grpc.py +24 -0
- yandex/cloud/maintenance/v2/common_pb2_grpc.pyi +17 -0
- yandex/cloud/mdb/clickhouse/v1/config/clickhouse_pb2.py +196 -152
- yandex/cloud/mdb/clickhouse/v1/config/clickhouse_pb2.pyi +1779 -1066
- yandex/cloud/mdb/clickhouse/v1/user_pb2.py +98 -86
- yandex/cloud/mdb/clickhouse/v1/user_pb2.pyi +1248 -792
- yandex/cloud/mdb/opensearch/v1/backup_pb2.py +14 -14
- yandex/cloud/mdb/opensearch/v1/backup_pb2.pyi +13 -1
- yandex/cloud/mdb/spqr/v1/cluster_service_pb2.py +76 -76
- yandex/cloud/mdb/spqr/v1/cluster_service_pb2.pyi +4 -0
- yandex/cloud/metastore/v1/cluster_pb2.py +18 -16
- yandex/cloud/metastore/v1/cluster_pb2.pyi +31 -1
- yandex/cloud/searchapi/v2/gen_search_service_pb2.py +22 -22
- yandex/cloud/searchapi/v2/gen_search_service_pb2.pyi +12 -2
- yandex/cloud/serverless/containers/v1/container_pb2.py +46 -44
- yandex/cloud/serverless/containers/v1/container_pb2.pyi +25 -3
- yandex/cloud/smartwebsecurity/v1/waf/waf_profile_pb2.py +50 -18
- yandex/cloud/smartwebsecurity/v1/waf/waf_profile_pb2.pyi +241 -2
- yandex/cloud/smartwebsecurity/v1/waf/waf_profile_service_pb2.py +18 -18
- yandex/cloud/smartwebsecurity/v1/waf/waf_profile_service_pb2.pyi +22 -2
- yandex/cloud/storage/v1/presign_service_pb2.py +47 -0
- yandex/cloud/storage/v1/presign_service_pb2.pyi +117 -0
- yandex/cloud/storage/v1/presign_service_pb2_grpc.py +101 -0
- yandex/cloud/storage/v1/presign_service_pb2_grpc.pyi +50 -0
- yandex/cloud/trino/v1/access_control_pb2.py +212 -0
- yandex/cloud/trino/v1/access_control_pb2.pyi +926 -0
- yandex/cloud/trino/v1/access_control_pb2_grpc.py +24 -0
- yandex/cloud/trino/v1/access_control_pb2_grpc.pyi +17 -0
- yandex/cloud/trino/v1/cluster_pb2.py +44 -43
- yandex/cloud/trino/v1/cluster_pb2.pyi +9 -2
- yandex/cloud/trino/v1/cluster_service_pb2.py +50 -49
- yandex/cloud/trino/v1/cluster_service_pb2.pyi +29 -4
- yandex/cloud/ytsaurus/v1/cluster_pb2.py +40 -37
- yandex/cloud/ytsaurus/v1/cluster_pb2.pyi +32 -18
- yandexcloud/__init__.py +1 -1
- {yandexcloud-0.354.0.dist-info → yandexcloud-0.356.0.dist-info}/METADATA +1 -1
- {yandexcloud-0.354.0.dist-info → yandexcloud-0.356.0.dist-info}/RECORD +102 -68
- {yandexcloud-0.354.0.dist-info → yandexcloud-0.356.0.dist-info}/AUTHORS +0 -0
- {yandexcloud-0.354.0.dist-info → yandexcloud-0.356.0.dist-info}/LICENSE +0 -0
- {yandexcloud-0.354.0.dist-info → yandexcloud-0.356.0.dist-info}/WHEEL +0 -0
- {yandexcloud-0.354.0.dist-info → yandexcloud-0.356.0.dist-info}/top_level.txt +0 -0
|
@@ -0,0 +1,257 @@
|
|
|
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.message
|
|
12
|
+
import typing
|
|
13
|
+
|
|
14
|
+
DESCRIPTOR: google.protobuf.descriptor.FileDescriptor
|
|
15
|
+
|
|
16
|
+
@typing.final
|
|
17
|
+
class GetOAuthClientRequest(google.protobuf.message.Message):
|
|
18
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
19
|
+
|
|
20
|
+
OAUTH_CLIENT_ID_FIELD_NUMBER: builtins.int
|
|
21
|
+
oauth_client_id: builtins.str
|
|
22
|
+
"""ID of the OAuthClient resource to return.
|
|
23
|
+
To get the oauth client ID, use a [OAuthClientService.List] request.
|
|
24
|
+
"""
|
|
25
|
+
def __init__(
|
|
26
|
+
self,
|
|
27
|
+
*,
|
|
28
|
+
oauth_client_id: builtins.str = ...,
|
|
29
|
+
) -> None: ...
|
|
30
|
+
def ClearField(self, field_name: typing.Literal["oauth_client_id", b"oauth_client_id"]) -> None: ...
|
|
31
|
+
|
|
32
|
+
global___GetOAuthClientRequest = GetOAuthClientRequest
|
|
33
|
+
|
|
34
|
+
@typing.final
|
|
35
|
+
class ListOAuthClientsRequest(google.protobuf.message.Message):
|
|
36
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
37
|
+
|
|
38
|
+
PAGE_SIZE_FIELD_NUMBER: builtins.int
|
|
39
|
+
PAGE_TOKEN_FIELD_NUMBER: builtins.int
|
|
40
|
+
FOLDER_ID_FIELD_NUMBER: builtins.int
|
|
41
|
+
page_size: builtins.int
|
|
42
|
+
"""The maximum number of results per page to return. If the number of available
|
|
43
|
+
results is larger than [page_size],
|
|
44
|
+
the service returns a [ListOAuthClientsResponse.next_page_token]
|
|
45
|
+
that can be used to get the next page of results in subsequent list requests.
|
|
46
|
+
"""
|
|
47
|
+
page_token: builtins.str
|
|
48
|
+
"""Page token. To get the next page of results, set [page_token] to the
|
|
49
|
+
[ListOAuthClientsResponse.next_page_token] returned by a previous list request.
|
|
50
|
+
"""
|
|
51
|
+
folder_id: builtins.str
|
|
52
|
+
"""ID of the folder to list oauth clients for
|
|
53
|
+
To get the folder ID, use a [yandex.cloud.resourcemanager.v1.FolderService.List] request.
|
|
54
|
+
"""
|
|
55
|
+
def __init__(
|
|
56
|
+
self,
|
|
57
|
+
*,
|
|
58
|
+
page_size: builtins.int = ...,
|
|
59
|
+
page_token: builtins.str = ...,
|
|
60
|
+
folder_id: builtins.str = ...,
|
|
61
|
+
) -> None: ...
|
|
62
|
+
def ClearField(self, field_name: typing.Literal["folder_id", b"folder_id", "page_size", b"page_size", "page_token", b"page_token"]) -> None: ...
|
|
63
|
+
|
|
64
|
+
global___ListOAuthClientsRequest = ListOAuthClientsRequest
|
|
65
|
+
|
|
66
|
+
@typing.final
|
|
67
|
+
class ListOAuthClientsResponse(google.protobuf.message.Message):
|
|
68
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
69
|
+
|
|
70
|
+
OAUTH_CLIENTS_FIELD_NUMBER: builtins.int
|
|
71
|
+
NEXT_PAGE_TOKEN_FIELD_NUMBER: builtins.int
|
|
72
|
+
next_page_token: builtins.str
|
|
73
|
+
"""This token allows you to get the next page of results for list requests. If the number of results
|
|
74
|
+
is larger than [ListOAuthClientsRequest.page_size], use
|
|
75
|
+
the [next_page_token] as the value
|
|
76
|
+
for the [ListOAuthClientsRequest.page_token] query parameter
|
|
77
|
+
in the next list request. Each subsequent list request will have its own
|
|
78
|
+
[next_page_token] to continue paging through the results.
|
|
79
|
+
"""
|
|
80
|
+
@property
|
|
81
|
+
def oauth_clients(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___OAuthClientListView]:
|
|
82
|
+
"""List of OAuthClient resource views"""
|
|
83
|
+
|
|
84
|
+
def __init__(
|
|
85
|
+
self,
|
|
86
|
+
*,
|
|
87
|
+
oauth_clients: collections.abc.Iterable[global___OAuthClientListView] | None = ...,
|
|
88
|
+
next_page_token: builtins.str = ...,
|
|
89
|
+
) -> None: ...
|
|
90
|
+
def ClearField(self, field_name: typing.Literal["next_page_token", b"next_page_token", "oauth_clients", b"oauth_clients"]) -> None: ...
|
|
91
|
+
|
|
92
|
+
global___ListOAuthClientsResponse = ListOAuthClientsResponse
|
|
93
|
+
|
|
94
|
+
@typing.final
|
|
95
|
+
class OAuthClientListView(google.protobuf.message.Message):
|
|
96
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
97
|
+
|
|
98
|
+
ID_FIELD_NUMBER: builtins.int
|
|
99
|
+
NAME_FIELD_NUMBER: builtins.int
|
|
100
|
+
id: builtins.str
|
|
101
|
+
"""ID of the OAuthClient resource."""
|
|
102
|
+
name: builtins.str
|
|
103
|
+
"""Name of the OAuthClient resource."""
|
|
104
|
+
def __init__(
|
|
105
|
+
self,
|
|
106
|
+
*,
|
|
107
|
+
id: builtins.str = ...,
|
|
108
|
+
name: builtins.str = ...,
|
|
109
|
+
) -> None: ...
|
|
110
|
+
def ClearField(self, field_name: typing.Literal["id", b"id", "name", b"name"]) -> None: ...
|
|
111
|
+
|
|
112
|
+
global___OAuthClientListView = OAuthClientListView
|
|
113
|
+
|
|
114
|
+
@typing.final
|
|
115
|
+
class UpdateOAuthClientMetadata(google.protobuf.message.Message):
|
|
116
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
117
|
+
|
|
118
|
+
OAUTH_CLIENT_ID_FIELD_NUMBER: builtins.int
|
|
119
|
+
oauth_client_id: builtins.str
|
|
120
|
+
"""ID of the oauth client that is being updated"""
|
|
121
|
+
def __init__(
|
|
122
|
+
self,
|
|
123
|
+
*,
|
|
124
|
+
oauth_client_id: builtins.str = ...,
|
|
125
|
+
) -> None: ...
|
|
126
|
+
def ClearField(self, field_name: typing.Literal["oauth_client_id", b"oauth_client_id"]) -> None: ...
|
|
127
|
+
|
|
128
|
+
global___UpdateOAuthClientMetadata = UpdateOAuthClientMetadata
|
|
129
|
+
|
|
130
|
+
@typing.final
|
|
131
|
+
class DeleteOAuthClientMetadata(google.protobuf.message.Message):
|
|
132
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
133
|
+
|
|
134
|
+
OAUTH_CLIENT_ID_FIELD_NUMBER: builtins.int
|
|
135
|
+
oauth_client_id: builtins.str
|
|
136
|
+
"""ID of the oauth client that is being deleted"""
|
|
137
|
+
def __init__(
|
|
138
|
+
self,
|
|
139
|
+
*,
|
|
140
|
+
oauth_client_id: builtins.str = ...,
|
|
141
|
+
) -> None: ...
|
|
142
|
+
def ClearField(self, field_name: typing.Literal["oauth_client_id", b"oauth_client_id"]) -> None: ...
|
|
143
|
+
|
|
144
|
+
global___DeleteOAuthClientMetadata = DeleteOAuthClientMetadata
|
|
145
|
+
|
|
146
|
+
@typing.final
|
|
147
|
+
class CreateOAuthClientRequest(google.protobuf.message.Message):
|
|
148
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
149
|
+
|
|
150
|
+
NAME_FIELD_NUMBER: builtins.int
|
|
151
|
+
REDIRECT_URIS_FIELD_NUMBER: builtins.int
|
|
152
|
+
SCOPES_FIELD_NUMBER: builtins.int
|
|
153
|
+
FOLDER_ID_FIELD_NUMBER: builtins.int
|
|
154
|
+
name: builtins.str
|
|
155
|
+
"""Name of the oauth client.
|
|
156
|
+
The name must be unique within folder.
|
|
157
|
+
"""
|
|
158
|
+
folder_id: builtins.str
|
|
159
|
+
"""ID of the folder to create an oauth client in.
|
|
160
|
+
To get the folder ID, use a [yandex.cloud.resourcemanager.v1.FolderService.List] request.
|
|
161
|
+
"""
|
|
162
|
+
@property
|
|
163
|
+
def redirect_uris(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]:
|
|
164
|
+
"""List of redirect uries allowed for the oauth client."""
|
|
165
|
+
|
|
166
|
+
@property
|
|
167
|
+
def scopes(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]:
|
|
168
|
+
"""List of oauth scopes requested by the oauth client."""
|
|
169
|
+
|
|
170
|
+
def __init__(
|
|
171
|
+
self,
|
|
172
|
+
*,
|
|
173
|
+
name: builtins.str = ...,
|
|
174
|
+
redirect_uris: collections.abc.Iterable[builtins.str] | None = ...,
|
|
175
|
+
scopes: collections.abc.Iterable[builtins.str] | None = ...,
|
|
176
|
+
folder_id: builtins.str = ...,
|
|
177
|
+
) -> None: ...
|
|
178
|
+
def ClearField(self, field_name: typing.Literal["folder_id", b"folder_id", "name", b"name", "redirect_uris", b"redirect_uris", "scopes", b"scopes"]) -> None: ...
|
|
179
|
+
|
|
180
|
+
global___CreateOAuthClientRequest = CreateOAuthClientRequest
|
|
181
|
+
|
|
182
|
+
@typing.final
|
|
183
|
+
class CreateOAuthClientMetadata(google.protobuf.message.Message):
|
|
184
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
185
|
+
|
|
186
|
+
OAUTH_CLIENT_ID_FIELD_NUMBER: builtins.int
|
|
187
|
+
oauth_client_id: builtins.str
|
|
188
|
+
"""ID of the oauth client that is being created"""
|
|
189
|
+
def __init__(
|
|
190
|
+
self,
|
|
191
|
+
*,
|
|
192
|
+
oauth_client_id: builtins.str = ...,
|
|
193
|
+
) -> None: ...
|
|
194
|
+
def ClearField(self, field_name: typing.Literal["oauth_client_id", b"oauth_client_id"]) -> None: ...
|
|
195
|
+
|
|
196
|
+
global___CreateOAuthClientMetadata = CreateOAuthClientMetadata
|
|
197
|
+
|
|
198
|
+
@typing.final
|
|
199
|
+
class UpdateOAuthClientRequest(google.protobuf.message.Message):
|
|
200
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
201
|
+
|
|
202
|
+
OAUTH_CLIENT_ID_FIELD_NUMBER: builtins.int
|
|
203
|
+
UPDATE_MASK_FIELD_NUMBER: builtins.int
|
|
204
|
+
NAME_FIELD_NUMBER: builtins.int
|
|
205
|
+
REDIRECT_URIS_FIELD_NUMBER: builtins.int
|
|
206
|
+
SCOPES_FIELD_NUMBER: builtins.int
|
|
207
|
+
oauth_client_id: builtins.str
|
|
208
|
+
"""ID of the OAuthClient resource to update.
|
|
209
|
+
To get the oauth client ID, use a [OAuthClientService.List] request.
|
|
210
|
+
"""
|
|
211
|
+
name: builtins.str
|
|
212
|
+
"""Name of the oauth client.
|
|
213
|
+
The name must be unique within folder.
|
|
214
|
+
"""
|
|
215
|
+
@property
|
|
216
|
+
def update_mask(self) -> google.protobuf.field_mask_pb2.FieldMask:
|
|
217
|
+
"""Field mask that specifies which fields of the OAuthClient resource are going to be updated."""
|
|
218
|
+
|
|
219
|
+
@property
|
|
220
|
+
def redirect_uris(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]:
|
|
221
|
+
"""List of redirect uries allowed for the oauth client."""
|
|
222
|
+
|
|
223
|
+
@property
|
|
224
|
+
def scopes(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]:
|
|
225
|
+
"""List of oauth scopes requested by the oauth client."""
|
|
226
|
+
|
|
227
|
+
def __init__(
|
|
228
|
+
self,
|
|
229
|
+
*,
|
|
230
|
+
oauth_client_id: builtins.str = ...,
|
|
231
|
+
update_mask: google.protobuf.field_mask_pb2.FieldMask | None = ...,
|
|
232
|
+
name: builtins.str = ...,
|
|
233
|
+
redirect_uris: collections.abc.Iterable[builtins.str] | None = ...,
|
|
234
|
+
scopes: collections.abc.Iterable[builtins.str] | None = ...,
|
|
235
|
+
) -> None: ...
|
|
236
|
+
def HasField(self, field_name: typing.Literal["update_mask", b"update_mask"]) -> builtins.bool: ...
|
|
237
|
+
def ClearField(self, field_name: typing.Literal["name", b"name", "oauth_client_id", b"oauth_client_id", "redirect_uris", b"redirect_uris", "scopes", b"scopes", "update_mask", b"update_mask"]) -> None: ...
|
|
238
|
+
|
|
239
|
+
global___UpdateOAuthClientRequest = UpdateOAuthClientRequest
|
|
240
|
+
|
|
241
|
+
@typing.final
|
|
242
|
+
class DeleteOAuthClientRequest(google.protobuf.message.Message):
|
|
243
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
244
|
+
|
|
245
|
+
OAUTH_CLIENT_ID_FIELD_NUMBER: builtins.int
|
|
246
|
+
oauth_client_id: builtins.str
|
|
247
|
+
"""ID of the oauth client to delete.
|
|
248
|
+
To get the oauth client ID, use [OAuthClientService.list] request.
|
|
249
|
+
"""
|
|
250
|
+
def __init__(
|
|
251
|
+
self,
|
|
252
|
+
*,
|
|
253
|
+
oauth_client_id: builtins.str = ...,
|
|
254
|
+
) -> None: ...
|
|
255
|
+
def ClearField(self, field_name: typing.Literal["oauth_client_id", b"oauth_client_id"]) -> None: ...
|
|
256
|
+
|
|
257
|
+
global___DeleteOAuthClientRequest = DeleteOAuthClientRequest
|
|
@@ -0,0 +1,281 @@
|
|
|
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
|
+
from yandex.cloud.iam.v1 import oauth_client_pb2 as yandex_dot_cloud_dot_iam_dot_v1_dot_oauth__client__pb2
|
|
7
|
+
from yandex.cloud.iam.v1 import oauth_client_service_pb2 as yandex_dot_cloud_dot_iam_dot_v1_dot_oauth__client__service__pb2
|
|
8
|
+
from yandex.cloud.operation import operation_pb2 as yandex_dot_cloud_dot_operation_dot_operation__pb2
|
|
9
|
+
|
|
10
|
+
GRPC_GENERATED_VERSION = '1.70.0'
|
|
11
|
+
GRPC_VERSION = grpc.__version__
|
|
12
|
+
_version_not_supported = False
|
|
13
|
+
|
|
14
|
+
try:
|
|
15
|
+
from grpc._utilities import first_version_is_lower
|
|
16
|
+
_version_not_supported = first_version_is_lower(GRPC_VERSION, GRPC_GENERATED_VERSION)
|
|
17
|
+
except ImportError:
|
|
18
|
+
_version_not_supported = True
|
|
19
|
+
|
|
20
|
+
if _version_not_supported:
|
|
21
|
+
raise RuntimeError(
|
|
22
|
+
f'The grpc package installed is at version {GRPC_VERSION},'
|
|
23
|
+
+ f' but the generated code in yandex/cloud/iam/v1/oauth_client_service_pb2_grpc.py depends on'
|
|
24
|
+
+ f' grpcio>={GRPC_GENERATED_VERSION}.'
|
|
25
|
+
+ f' Please upgrade your grpc module to grpcio>={GRPC_GENERATED_VERSION}'
|
|
26
|
+
+ f' or downgrade your generated code using grpcio-tools<={GRPC_VERSION}.'
|
|
27
|
+
)
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
class OAuthClientServiceStub(object):
|
|
31
|
+
"""A set of methods for managing OAuthClient resources.
|
|
32
|
+
"""
|
|
33
|
+
|
|
34
|
+
def __init__(self, channel):
|
|
35
|
+
"""Constructor.
|
|
36
|
+
|
|
37
|
+
Args:
|
|
38
|
+
channel: A grpc.Channel.
|
|
39
|
+
"""
|
|
40
|
+
self.Get = channel.unary_unary(
|
|
41
|
+
'/yandex.cloud.iam.v1.OAuthClientService/Get',
|
|
42
|
+
request_serializer=yandex_dot_cloud_dot_iam_dot_v1_dot_oauth__client__service__pb2.GetOAuthClientRequest.SerializeToString,
|
|
43
|
+
response_deserializer=yandex_dot_cloud_dot_iam_dot_v1_dot_oauth__client__pb2.OAuthClient.FromString,
|
|
44
|
+
_registered_method=True)
|
|
45
|
+
self.List = channel.unary_unary(
|
|
46
|
+
'/yandex.cloud.iam.v1.OAuthClientService/List',
|
|
47
|
+
request_serializer=yandex_dot_cloud_dot_iam_dot_v1_dot_oauth__client__service__pb2.ListOAuthClientsRequest.SerializeToString,
|
|
48
|
+
response_deserializer=yandex_dot_cloud_dot_iam_dot_v1_dot_oauth__client__service__pb2.ListOAuthClientsResponse.FromString,
|
|
49
|
+
_registered_method=True)
|
|
50
|
+
self.Create = channel.unary_unary(
|
|
51
|
+
'/yandex.cloud.iam.v1.OAuthClientService/Create',
|
|
52
|
+
request_serializer=yandex_dot_cloud_dot_iam_dot_v1_dot_oauth__client__service__pb2.CreateOAuthClientRequest.SerializeToString,
|
|
53
|
+
response_deserializer=yandex_dot_cloud_dot_operation_dot_operation__pb2.Operation.FromString,
|
|
54
|
+
_registered_method=True)
|
|
55
|
+
self.Update = channel.unary_unary(
|
|
56
|
+
'/yandex.cloud.iam.v1.OAuthClientService/Update',
|
|
57
|
+
request_serializer=yandex_dot_cloud_dot_iam_dot_v1_dot_oauth__client__service__pb2.UpdateOAuthClientRequest.SerializeToString,
|
|
58
|
+
response_deserializer=yandex_dot_cloud_dot_operation_dot_operation__pb2.Operation.FromString,
|
|
59
|
+
_registered_method=True)
|
|
60
|
+
self.Delete = channel.unary_unary(
|
|
61
|
+
'/yandex.cloud.iam.v1.OAuthClientService/Delete',
|
|
62
|
+
request_serializer=yandex_dot_cloud_dot_iam_dot_v1_dot_oauth__client__service__pb2.DeleteOAuthClientRequest.SerializeToString,
|
|
63
|
+
response_deserializer=yandex_dot_cloud_dot_operation_dot_operation__pb2.Operation.FromString,
|
|
64
|
+
_registered_method=True)
|
|
65
|
+
|
|
66
|
+
|
|
67
|
+
class OAuthClientServiceServicer(object):
|
|
68
|
+
"""A set of methods for managing OAuthClient resources.
|
|
69
|
+
"""
|
|
70
|
+
|
|
71
|
+
def Get(self, request, context):
|
|
72
|
+
"""Returns the sepcified OAuthClient resource.
|
|
73
|
+
|
|
74
|
+
To get the list of available OAuthClient resources, make a [List] request.
|
|
75
|
+
"""
|
|
76
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
77
|
+
context.set_details('Method not implemented!')
|
|
78
|
+
raise NotImplementedError('Method not implemented!')
|
|
79
|
+
|
|
80
|
+
def List(self, request, context):
|
|
81
|
+
"""Retrieves the list of OAuthClient resources views in the specified folder
|
|
82
|
+
"""
|
|
83
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
84
|
+
context.set_details('Method not implemented!')
|
|
85
|
+
raise NotImplementedError('Method not implemented!')
|
|
86
|
+
|
|
87
|
+
def Create(self, request, context):
|
|
88
|
+
"""Creates an oauth client in the specified folder.
|
|
89
|
+
"""
|
|
90
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
91
|
+
context.set_details('Method not implemented!')
|
|
92
|
+
raise NotImplementedError('Method not implemented!')
|
|
93
|
+
|
|
94
|
+
def Update(self, request, context):
|
|
95
|
+
"""Updates the specified oauth client.
|
|
96
|
+
"""
|
|
97
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
98
|
+
context.set_details('Method not implemented!')
|
|
99
|
+
raise NotImplementedError('Method not implemented!')
|
|
100
|
+
|
|
101
|
+
def Delete(self, request, context):
|
|
102
|
+
"""Deletes the specified oauth client with all its secrets.
|
|
103
|
+
"""
|
|
104
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
105
|
+
context.set_details('Method not implemented!')
|
|
106
|
+
raise NotImplementedError('Method not implemented!')
|
|
107
|
+
|
|
108
|
+
|
|
109
|
+
def add_OAuthClientServiceServicer_to_server(servicer, server):
|
|
110
|
+
rpc_method_handlers = {
|
|
111
|
+
'Get': grpc.unary_unary_rpc_method_handler(
|
|
112
|
+
servicer.Get,
|
|
113
|
+
request_deserializer=yandex_dot_cloud_dot_iam_dot_v1_dot_oauth__client__service__pb2.GetOAuthClientRequest.FromString,
|
|
114
|
+
response_serializer=yandex_dot_cloud_dot_iam_dot_v1_dot_oauth__client__pb2.OAuthClient.SerializeToString,
|
|
115
|
+
),
|
|
116
|
+
'List': grpc.unary_unary_rpc_method_handler(
|
|
117
|
+
servicer.List,
|
|
118
|
+
request_deserializer=yandex_dot_cloud_dot_iam_dot_v1_dot_oauth__client__service__pb2.ListOAuthClientsRequest.FromString,
|
|
119
|
+
response_serializer=yandex_dot_cloud_dot_iam_dot_v1_dot_oauth__client__service__pb2.ListOAuthClientsResponse.SerializeToString,
|
|
120
|
+
),
|
|
121
|
+
'Create': grpc.unary_unary_rpc_method_handler(
|
|
122
|
+
servicer.Create,
|
|
123
|
+
request_deserializer=yandex_dot_cloud_dot_iam_dot_v1_dot_oauth__client__service__pb2.CreateOAuthClientRequest.FromString,
|
|
124
|
+
response_serializer=yandex_dot_cloud_dot_operation_dot_operation__pb2.Operation.SerializeToString,
|
|
125
|
+
),
|
|
126
|
+
'Update': grpc.unary_unary_rpc_method_handler(
|
|
127
|
+
servicer.Update,
|
|
128
|
+
request_deserializer=yandex_dot_cloud_dot_iam_dot_v1_dot_oauth__client__service__pb2.UpdateOAuthClientRequest.FromString,
|
|
129
|
+
response_serializer=yandex_dot_cloud_dot_operation_dot_operation__pb2.Operation.SerializeToString,
|
|
130
|
+
),
|
|
131
|
+
'Delete': grpc.unary_unary_rpc_method_handler(
|
|
132
|
+
servicer.Delete,
|
|
133
|
+
request_deserializer=yandex_dot_cloud_dot_iam_dot_v1_dot_oauth__client__service__pb2.DeleteOAuthClientRequest.FromString,
|
|
134
|
+
response_serializer=yandex_dot_cloud_dot_operation_dot_operation__pb2.Operation.SerializeToString,
|
|
135
|
+
),
|
|
136
|
+
}
|
|
137
|
+
generic_handler = grpc.method_handlers_generic_handler(
|
|
138
|
+
'yandex.cloud.iam.v1.OAuthClientService', rpc_method_handlers)
|
|
139
|
+
server.add_generic_rpc_handlers((generic_handler,))
|
|
140
|
+
server.add_registered_method_handlers('yandex.cloud.iam.v1.OAuthClientService', rpc_method_handlers)
|
|
141
|
+
|
|
142
|
+
|
|
143
|
+
# This class is part of an EXPERIMENTAL API.
|
|
144
|
+
class OAuthClientService(object):
|
|
145
|
+
"""A set of methods for managing OAuthClient resources.
|
|
146
|
+
"""
|
|
147
|
+
|
|
148
|
+
@staticmethod
|
|
149
|
+
def Get(request,
|
|
150
|
+
target,
|
|
151
|
+
options=(),
|
|
152
|
+
channel_credentials=None,
|
|
153
|
+
call_credentials=None,
|
|
154
|
+
insecure=False,
|
|
155
|
+
compression=None,
|
|
156
|
+
wait_for_ready=None,
|
|
157
|
+
timeout=None,
|
|
158
|
+
metadata=None):
|
|
159
|
+
return grpc.experimental.unary_unary(
|
|
160
|
+
request,
|
|
161
|
+
target,
|
|
162
|
+
'/yandex.cloud.iam.v1.OAuthClientService/Get',
|
|
163
|
+
yandex_dot_cloud_dot_iam_dot_v1_dot_oauth__client__service__pb2.GetOAuthClientRequest.SerializeToString,
|
|
164
|
+
yandex_dot_cloud_dot_iam_dot_v1_dot_oauth__client__pb2.OAuthClient.FromString,
|
|
165
|
+
options,
|
|
166
|
+
channel_credentials,
|
|
167
|
+
insecure,
|
|
168
|
+
call_credentials,
|
|
169
|
+
compression,
|
|
170
|
+
wait_for_ready,
|
|
171
|
+
timeout,
|
|
172
|
+
metadata,
|
|
173
|
+
_registered_method=True)
|
|
174
|
+
|
|
175
|
+
@staticmethod
|
|
176
|
+
def List(request,
|
|
177
|
+
target,
|
|
178
|
+
options=(),
|
|
179
|
+
channel_credentials=None,
|
|
180
|
+
call_credentials=None,
|
|
181
|
+
insecure=False,
|
|
182
|
+
compression=None,
|
|
183
|
+
wait_for_ready=None,
|
|
184
|
+
timeout=None,
|
|
185
|
+
metadata=None):
|
|
186
|
+
return grpc.experimental.unary_unary(
|
|
187
|
+
request,
|
|
188
|
+
target,
|
|
189
|
+
'/yandex.cloud.iam.v1.OAuthClientService/List',
|
|
190
|
+
yandex_dot_cloud_dot_iam_dot_v1_dot_oauth__client__service__pb2.ListOAuthClientsRequest.SerializeToString,
|
|
191
|
+
yandex_dot_cloud_dot_iam_dot_v1_dot_oauth__client__service__pb2.ListOAuthClientsResponse.FromString,
|
|
192
|
+
options,
|
|
193
|
+
channel_credentials,
|
|
194
|
+
insecure,
|
|
195
|
+
call_credentials,
|
|
196
|
+
compression,
|
|
197
|
+
wait_for_ready,
|
|
198
|
+
timeout,
|
|
199
|
+
metadata,
|
|
200
|
+
_registered_method=True)
|
|
201
|
+
|
|
202
|
+
@staticmethod
|
|
203
|
+
def Create(request,
|
|
204
|
+
target,
|
|
205
|
+
options=(),
|
|
206
|
+
channel_credentials=None,
|
|
207
|
+
call_credentials=None,
|
|
208
|
+
insecure=False,
|
|
209
|
+
compression=None,
|
|
210
|
+
wait_for_ready=None,
|
|
211
|
+
timeout=None,
|
|
212
|
+
metadata=None):
|
|
213
|
+
return grpc.experimental.unary_unary(
|
|
214
|
+
request,
|
|
215
|
+
target,
|
|
216
|
+
'/yandex.cloud.iam.v1.OAuthClientService/Create',
|
|
217
|
+
yandex_dot_cloud_dot_iam_dot_v1_dot_oauth__client__service__pb2.CreateOAuthClientRequest.SerializeToString,
|
|
218
|
+
yandex_dot_cloud_dot_operation_dot_operation__pb2.Operation.FromString,
|
|
219
|
+
options,
|
|
220
|
+
channel_credentials,
|
|
221
|
+
insecure,
|
|
222
|
+
call_credentials,
|
|
223
|
+
compression,
|
|
224
|
+
wait_for_ready,
|
|
225
|
+
timeout,
|
|
226
|
+
metadata,
|
|
227
|
+
_registered_method=True)
|
|
228
|
+
|
|
229
|
+
@staticmethod
|
|
230
|
+
def Update(request,
|
|
231
|
+
target,
|
|
232
|
+
options=(),
|
|
233
|
+
channel_credentials=None,
|
|
234
|
+
call_credentials=None,
|
|
235
|
+
insecure=False,
|
|
236
|
+
compression=None,
|
|
237
|
+
wait_for_ready=None,
|
|
238
|
+
timeout=None,
|
|
239
|
+
metadata=None):
|
|
240
|
+
return grpc.experimental.unary_unary(
|
|
241
|
+
request,
|
|
242
|
+
target,
|
|
243
|
+
'/yandex.cloud.iam.v1.OAuthClientService/Update',
|
|
244
|
+
yandex_dot_cloud_dot_iam_dot_v1_dot_oauth__client__service__pb2.UpdateOAuthClientRequest.SerializeToString,
|
|
245
|
+
yandex_dot_cloud_dot_operation_dot_operation__pb2.Operation.FromString,
|
|
246
|
+
options,
|
|
247
|
+
channel_credentials,
|
|
248
|
+
insecure,
|
|
249
|
+
call_credentials,
|
|
250
|
+
compression,
|
|
251
|
+
wait_for_ready,
|
|
252
|
+
timeout,
|
|
253
|
+
metadata,
|
|
254
|
+
_registered_method=True)
|
|
255
|
+
|
|
256
|
+
@staticmethod
|
|
257
|
+
def Delete(request,
|
|
258
|
+
target,
|
|
259
|
+
options=(),
|
|
260
|
+
channel_credentials=None,
|
|
261
|
+
call_credentials=None,
|
|
262
|
+
insecure=False,
|
|
263
|
+
compression=None,
|
|
264
|
+
wait_for_ready=None,
|
|
265
|
+
timeout=None,
|
|
266
|
+
metadata=None):
|
|
267
|
+
return grpc.experimental.unary_unary(
|
|
268
|
+
request,
|
|
269
|
+
target,
|
|
270
|
+
'/yandex.cloud.iam.v1.OAuthClientService/Delete',
|
|
271
|
+
yandex_dot_cloud_dot_iam_dot_v1_dot_oauth__client__service__pb2.DeleteOAuthClientRequest.SerializeToString,
|
|
272
|
+
yandex_dot_cloud_dot_operation_dot_operation__pb2.Operation.FromString,
|
|
273
|
+
options,
|
|
274
|
+
channel_credentials,
|
|
275
|
+
insecure,
|
|
276
|
+
call_credentials,
|
|
277
|
+
compression,
|
|
278
|
+
wait_for_ready,
|
|
279
|
+
timeout,
|
|
280
|
+
metadata,
|
|
281
|
+
_registered_method=True)
|
|
@@ -0,0 +1,141 @@
|
|
|
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
|
+
import yandex.cloud.iam.v1.oauth_client_pb2
|
|
12
|
+
import yandex.cloud.iam.v1.oauth_client_service_pb2
|
|
13
|
+
import yandex.cloud.operation.operation_pb2
|
|
14
|
+
|
|
15
|
+
_T = typing.TypeVar("_T")
|
|
16
|
+
|
|
17
|
+
class _MaybeAsyncIterator(collections.abc.AsyncIterator[_T], collections.abc.Iterator[_T], metaclass=abc.ABCMeta): ...
|
|
18
|
+
|
|
19
|
+
class _ServicerContext(grpc.ServicerContext, grpc.aio.ServicerContext): # type: ignore[misc, type-arg]
|
|
20
|
+
...
|
|
21
|
+
|
|
22
|
+
class OAuthClientServiceStub:
|
|
23
|
+
"""A set of methods for managing OAuthClient resources."""
|
|
24
|
+
|
|
25
|
+
def __init__(self, channel: typing.Union[grpc.Channel, grpc.aio.Channel]) -> None: ...
|
|
26
|
+
Get: grpc.UnaryUnaryMultiCallable[
|
|
27
|
+
yandex.cloud.iam.v1.oauth_client_service_pb2.GetOAuthClientRequest,
|
|
28
|
+
yandex.cloud.iam.v1.oauth_client_pb2.OAuthClient,
|
|
29
|
+
]
|
|
30
|
+
"""Returns the sepcified OAuthClient resource.
|
|
31
|
+
|
|
32
|
+
To get the list of available OAuthClient resources, make a [List] request.
|
|
33
|
+
"""
|
|
34
|
+
|
|
35
|
+
List: grpc.UnaryUnaryMultiCallable[
|
|
36
|
+
yandex.cloud.iam.v1.oauth_client_service_pb2.ListOAuthClientsRequest,
|
|
37
|
+
yandex.cloud.iam.v1.oauth_client_service_pb2.ListOAuthClientsResponse,
|
|
38
|
+
]
|
|
39
|
+
"""Retrieves the list of OAuthClient resources views in the specified folder"""
|
|
40
|
+
|
|
41
|
+
Create: grpc.UnaryUnaryMultiCallable[
|
|
42
|
+
yandex.cloud.iam.v1.oauth_client_service_pb2.CreateOAuthClientRequest,
|
|
43
|
+
yandex.cloud.operation.operation_pb2.Operation,
|
|
44
|
+
]
|
|
45
|
+
"""Creates an oauth client in the specified folder."""
|
|
46
|
+
|
|
47
|
+
Update: grpc.UnaryUnaryMultiCallable[
|
|
48
|
+
yandex.cloud.iam.v1.oauth_client_service_pb2.UpdateOAuthClientRequest,
|
|
49
|
+
yandex.cloud.operation.operation_pb2.Operation,
|
|
50
|
+
]
|
|
51
|
+
"""Updates the specified oauth client."""
|
|
52
|
+
|
|
53
|
+
Delete: grpc.UnaryUnaryMultiCallable[
|
|
54
|
+
yandex.cloud.iam.v1.oauth_client_service_pb2.DeleteOAuthClientRequest,
|
|
55
|
+
yandex.cloud.operation.operation_pb2.Operation,
|
|
56
|
+
]
|
|
57
|
+
"""Deletes the specified oauth client with all its secrets."""
|
|
58
|
+
|
|
59
|
+
class OAuthClientServiceAsyncStub:
|
|
60
|
+
"""A set of methods for managing OAuthClient resources."""
|
|
61
|
+
|
|
62
|
+
Get: grpc.aio.UnaryUnaryMultiCallable[
|
|
63
|
+
yandex.cloud.iam.v1.oauth_client_service_pb2.GetOAuthClientRequest,
|
|
64
|
+
yandex.cloud.iam.v1.oauth_client_pb2.OAuthClient,
|
|
65
|
+
]
|
|
66
|
+
"""Returns the sepcified OAuthClient resource.
|
|
67
|
+
|
|
68
|
+
To get the list of available OAuthClient resources, make a [List] request.
|
|
69
|
+
"""
|
|
70
|
+
|
|
71
|
+
List: grpc.aio.UnaryUnaryMultiCallable[
|
|
72
|
+
yandex.cloud.iam.v1.oauth_client_service_pb2.ListOAuthClientsRequest,
|
|
73
|
+
yandex.cloud.iam.v1.oauth_client_service_pb2.ListOAuthClientsResponse,
|
|
74
|
+
]
|
|
75
|
+
"""Retrieves the list of OAuthClient resources views in the specified folder"""
|
|
76
|
+
|
|
77
|
+
Create: grpc.aio.UnaryUnaryMultiCallable[
|
|
78
|
+
yandex.cloud.iam.v1.oauth_client_service_pb2.CreateOAuthClientRequest,
|
|
79
|
+
yandex.cloud.operation.operation_pb2.Operation,
|
|
80
|
+
]
|
|
81
|
+
"""Creates an oauth client in the specified folder."""
|
|
82
|
+
|
|
83
|
+
Update: grpc.aio.UnaryUnaryMultiCallable[
|
|
84
|
+
yandex.cloud.iam.v1.oauth_client_service_pb2.UpdateOAuthClientRequest,
|
|
85
|
+
yandex.cloud.operation.operation_pb2.Operation,
|
|
86
|
+
]
|
|
87
|
+
"""Updates the specified oauth client."""
|
|
88
|
+
|
|
89
|
+
Delete: grpc.aio.UnaryUnaryMultiCallable[
|
|
90
|
+
yandex.cloud.iam.v1.oauth_client_service_pb2.DeleteOAuthClientRequest,
|
|
91
|
+
yandex.cloud.operation.operation_pb2.Operation,
|
|
92
|
+
]
|
|
93
|
+
"""Deletes the specified oauth client with all its secrets."""
|
|
94
|
+
|
|
95
|
+
class OAuthClientServiceServicer(metaclass=abc.ABCMeta):
|
|
96
|
+
"""A set of methods for managing OAuthClient resources."""
|
|
97
|
+
|
|
98
|
+
@abc.abstractmethod
|
|
99
|
+
def Get(
|
|
100
|
+
self,
|
|
101
|
+
request: yandex.cloud.iam.v1.oauth_client_service_pb2.GetOAuthClientRequest,
|
|
102
|
+
context: _ServicerContext,
|
|
103
|
+
) -> typing.Union[yandex.cloud.iam.v1.oauth_client_pb2.OAuthClient, collections.abc.Awaitable[yandex.cloud.iam.v1.oauth_client_pb2.OAuthClient]]:
|
|
104
|
+
"""Returns the sepcified OAuthClient resource.
|
|
105
|
+
|
|
106
|
+
To get the list of available OAuthClient resources, make a [List] request.
|
|
107
|
+
"""
|
|
108
|
+
|
|
109
|
+
@abc.abstractmethod
|
|
110
|
+
def List(
|
|
111
|
+
self,
|
|
112
|
+
request: yandex.cloud.iam.v1.oauth_client_service_pb2.ListOAuthClientsRequest,
|
|
113
|
+
context: _ServicerContext,
|
|
114
|
+
) -> typing.Union[yandex.cloud.iam.v1.oauth_client_service_pb2.ListOAuthClientsResponse, collections.abc.Awaitable[yandex.cloud.iam.v1.oauth_client_service_pb2.ListOAuthClientsResponse]]:
|
|
115
|
+
"""Retrieves the list of OAuthClient resources views in the specified folder"""
|
|
116
|
+
|
|
117
|
+
@abc.abstractmethod
|
|
118
|
+
def Create(
|
|
119
|
+
self,
|
|
120
|
+
request: yandex.cloud.iam.v1.oauth_client_service_pb2.CreateOAuthClientRequest,
|
|
121
|
+
context: _ServicerContext,
|
|
122
|
+
) -> typing.Union[yandex.cloud.operation.operation_pb2.Operation, collections.abc.Awaitable[yandex.cloud.operation.operation_pb2.Operation]]:
|
|
123
|
+
"""Creates an oauth client in the specified folder."""
|
|
124
|
+
|
|
125
|
+
@abc.abstractmethod
|
|
126
|
+
def Update(
|
|
127
|
+
self,
|
|
128
|
+
request: yandex.cloud.iam.v1.oauth_client_service_pb2.UpdateOAuthClientRequest,
|
|
129
|
+
context: _ServicerContext,
|
|
130
|
+
) -> typing.Union[yandex.cloud.operation.operation_pb2.Operation, collections.abc.Awaitable[yandex.cloud.operation.operation_pb2.Operation]]:
|
|
131
|
+
"""Updates the specified oauth client."""
|
|
132
|
+
|
|
133
|
+
@abc.abstractmethod
|
|
134
|
+
def Delete(
|
|
135
|
+
self,
|
|
136
|
+
request: yandex.cloud.iam.v1.oauth_client_service_pb2.DeleteOAuthClientRequest,
|
|
137
|
+
context: _ServicerContext,
|
|
138
|
+
) -> typing.Union[yandex.cloud.operation.operation_pb2.Operation, collections.abc.Awaitable[yandex.cloud.operation.operation_pb2.Operation]]:
|
|
139
|
+
"""Deletes the specified oauth client with all its secrets."""
|
|
140
|
+
|
|
141
|
+
def add_OAuthClientServiceServicer_to_server(servicer: OAuthClientServiceServicer, server: typing.Union[grpc.Server, grpc.aio.Server]) -> None: ...
|