yandexcloud 0.353.0__py3-none-any.whl → 0.355.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/resource_pb2.py +2 -2
- yandex/cloud/backup/v1/resource_pb2.pyi +8 -0
- yandex/cloud/baremetal/v1alpha/configuration_service_pb2.py +12 -8
- yandex/cloud/baremetal/v1alpha/configuration_service_pb2.pyi +16 -2
- yandex/cloud/baremetal/v1alpha/disk_pb2.py +2 -2
- yandex/cloud/baremetal/v1alpha/disk_pb2.pyi +8 -4
- 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/connectionmanager/v1/connection_service_pb2_grpc.py +18 -9
- yandex/cloud/connectionmanager/v1/connection_service_pb2_grpc.pyi +30 -6
- yandex/cloud/datatransfer/v1/endpoint_service_pb2.pyi +2 -4
- yandex/cloud/datatransfer/v1/endpoint_service_pb2_grpc.py +3 -6
- yandex/cloud/datatransfer/v1/endpoint_service_pb2_grpc.pyi +3 -9
- yandex/cloud/datatransfer/v1/transfer_service_pb2.pyi +2 -4
- yandex/cloud/datatransfer/v1/transfer_service_pb2_grpc.py +6 -3
- yandex/cloud/datatransfer/v1/transfer_service_pb2_grpc.pyi +6 -0
- 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 +190 -150
- yandex/cloud/mdb/clickhouse/v1/config/clickhouse_pb2.pyi +1712 -1025
- 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/metastore/v1/cluster_pb2.py +18 -16
- yandex/cloud/metastore/v1/cluster_pb2.pyi +31 -1
- yandex/cloud/organizationmanager/v1/group_pb2.py +3 -3
- yandex/cloud/organizationmanager/v1/group_pb2.pyi +9 -1
- yandex/cloud/organizationmanager/v1/group_service_pb2.py +95 -37
- yandex/cloud/organizationmanager/v1/group_service_pb2.pyi +276 -0
- yandex/cloud/organizationmanager/v1/group_service_pb2_grpc.py +220 -0
- yandex/cloud/organizationmanager/v1/group_service_pb2_grpc.pyi +100 -0
- yandex/cloud/searchapi/v2/gen_search_service_pb2.py +10 -10
- yandex/cloud/searchapi/v2/gen_search_service_pb2.pyi +7 -1
- 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/trino/v1/cluster_service_pb2.py +36 -36
- yandex/cloud/trino/v1/cluster_service_pb2.pyi +14 -2
- yandexcloud/__init__.py +1 -1
- {yandexcloud-0.353.0.dist-info → yandexcloud-0.355.0.dist-info}/METADATA +1 -1
- {yandexcloud-0.353.0.dist-info → yandexcloud-0.355.0.dist-info}/RECORD +86 -60
- {yandexcloud-0.353.0.dist-info → yandexcloud-0.355.0.dist-info}/AUTHORS +0 -0
- {yandexcloud-0.353.0.dist-info → yandexcloud-0.355.0.dist-info}/LICENSE +0 -0
- {yandexcloud-0.353.0.dist-info → yandexcloud-0.355.0.dist-info}/WHEEL +0 -0
- {yandexcloud-0.353.0.dist-info → yandexcloud-0.355.0.dist-info}/top_level.txt +0 -0
|
@@ -28,7 +28,8 @@ if _version_not_supported:
|
|
|
28
28
|
|
|
29
29
|
|
|
30
30
|
class ConnectionServiceStub(object):
|
|
31
|
-
"""
|
|
31
|
+
"""A set of methods for managing Connection resources.
|
|
32
|
+
"""
|
|
32
33
|
|
|
33
34
|
def __init__(self, channel):
|
|
34
35
|
"""Constructor.
|
|
@@ -74,10 +75,12 @@ class ConnectionServiceStub(object):
|
|
|
74
75
|
|
|
75
76
|
|
|
76
77
|
class ConnectionServiceServicer(object):
|
|
77
|
-
"""
|
|
78
|
+
"""A set of methods for managing Connection resources.
|
|
79
|
+
"""
|
|
78
80
|
|
|
79
81
|
def Get(self, request, context):
|
|
80
|
-
"""
|
|
82
|
+
"""Returns connection.
|
|
83
|
+
"""
|
|
81
84
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
82
85
|
context.set_details('Method not implemented!')
|
|
83
86
|
raise NotImplementedError('Method not implemented!')
|
|
@@ -94,31 +97,36 @@ class ConnectionServiceServicer(object):
|
|
|
94
97
|
raise NotImplementedError('Method not implemented!')
|
|
95
98
|
|
|
96
99
|
def List(self, request, context):
|
|
97
|
-
"""
|
|
100
|
+
"""List connections in specified folder.
|
|
101
|
+
"""
|
|
98
102
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
99
103
|
context.set_details('Method not implemented!')
|
|
100
104
|
raise NotImplementedError('Method not implemented!')
|
|
101
105
|
|
|
102
106
|
def Create(self, request, context):
|
|
103
|
-
"""
|
|
107
|
+
"""Creates connection.
|
|
108
|
+
"""
|
|
104
109
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
105
110
|
context.set_details('Method not implemented!')
|
|
106
111
|
raise NotImplementedError('Method not implemented!')
|
|
107
112
|
|
|
108
113
|
def Update(self, request, context):
|
|
109
|
-
"""
|
|
114
|
+
"""Updates specified connection.
|
|
115
|
+
"""
|
|
110
116
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
111
117
|
context.set_details('Method not implemented!')
|
|
112
118
|
raise NotImplementedError('Method not implemented!')
|
|
113
119
|
|
|
114
120
|
def Delete(self, request, context):
|
|
115
|
-
"""
|
|
121
|
+
"""Delete specified connection.
|
|
122
|
+
"""
|
|
116
123
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
117
124
|
context.set_details('Method not implemented!')
|
|
118
125
|
raise NotImplementedError('Method not implemented!')
|
|
119
126
|
|
|
120
127
|
def ListOperations(self, request, context):
|
|
121
|
-
"""
|
|
128
|
+
"""Retrieves the list of Operation resources for the specified connection.
|
|
129
|
+
"""
|
|
122
130
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
123
131
|
context.set_details('Method not implemented!')
|
|
124
132
|
raise NotImplementedError('Method not implemented!')
|
|
@@ -170,7 +178,8 @@ def add_ConnectionServiceServicer_to_server(servicer, server):
|
|
|
170
178
|
|
|
171
179
|
# This class is part of an EXPERIMENTAL API.
|
|
172
180
|
class ConnectionService(object):
|
|
173
|
-
"""
|
|
181
|
+
"""A set of methods for managing Connection resources.
|
|
182
|
+
"""
|
|
174
183
|
|
|
175
184
|
@staticmethod
|
|
176
185
|
def Get(request,
|
|
@@ -20,11 +20,14 @@ class _ServicerContext(grpc.ServicerContext, grpc.aio.ServicerContext): # type:
|
|
|
20
20
|
...
|
|
21
21
|
|
|
22
22
|
class ConnectionServiceStub:
|
|
23
|
+
"""A set of methods for managing Connection resources."""
|
|
24
|
+
|
|
23
25
|
def __init__(self, channel: typing.Union[grpc.Channel, grpc.aio.Channel]) -> None: ...
|
|
24
26
|
Get: grpc.UnaryUnaryMultiCallable[
|
|
25
27
|
yandex.cloud.connectionmanager.v1.connection_service_pb2.GetConnectionRequest,
|
|
26
28
|
yandex.cloud.connectionmanager.v1.connection_pb2.Connection,
|
|
27
29
|
]
|
|
30
|
+
"""Returns connection."""
|
|
28
31
|
|
|
29
32
|
ResolveCluster: grpc.UnaryUnaryMultiCallable[
|
|
30
33
|
yandex.cloud.connectionmanager.v1.connection_service_pb2.ResolveClusterRequest,
|
|
@@ -41,32 +44,40 @@ class ConnectionServiceStub:
|
|
|
41
44
|
yandex.cloud.connectionmanager.v1.connection_service_pb2.ListConnectionRequest,
|
|
42
45
|
yandex.cloud.connectionmanager.v1.connection_service_pb2.ListConnectionResponse,
|
|
43
46
|
]
|
|
47
|
+
"""List connections in specified folder."""
|
|
44
48
|
|
|
45
49
|
Create: grpc.UnaryUnaryMultiCallable[
|
|
46
50
|
yandex.cloud.connectionmanager.v1.connection_service_pb2.CreateConnectionRequest,
|
|
47
51
|
yandex.cloud.operation.operation_pb2.Operation,
|
|
48
52
|
]
|
|
53
|
+
"""Creates connection."""
|
|
49
54
|
|
|
50
55
|
Update: grpc.UnaryUnaryMultiCallable[
|
|
51
56
|
yandex.cloud.connectionmanager.v1.connection_service_pb2.UpdateConnectionRequest,
|
|
52
57
|
yandex.cloud.operation.operation_pb2.Operation,
|
|
53
58
|
]
|
|
59
|
+
"""Updates specified connection."""
|
|
54
60
|
|
|
55
61
|
Delete: grpc.UnaryUnaryMultiCallable[
|
|
56
62
|
yandex.cloud.connectionmanager.v1.connection_service_pb2.DeleteConnectionRequest,
|
|
57
63
|
yandex.cloud.operation.operation_pb2.Operation,
|
|
58
64
|
]
|
|
65
|
+
"""Delete specified connection."""
|
|
59
66
|
|
|
60
67
|
ListOperations: grpc.UnaryUnaryMultiCallable[
|
|
61
68
|
yandex.cloud.connectionmanager.v1.connection_service_pb2.ListOperationsRequest,
|
|
62
69
|
yandex.cloud.connectionmanager.v1.connection_service_pb2.ListOperationsResponse,
|
|
63
70
|
]
|
|
71
|
+
"""Retrieves the list of Operation resources for the specified connection."""
|
|
64
72
|
|
|
65
73
|
class ConnectionServiceAsyncStub:
|
|
74
|
+
"""A set of methods for managing Connection resources."""
|
|
75
|
+
|
|
66
76
|
Get: grpc.aio.UnaryUnaryMultiCallable[
|
|
67
77
|
yandex.cloud.connectionmanager.v1.connection_service_pb2.GetConnectionRequest,
|
|
68
78
|
yandex.cloud.connectionmanager.v1.connection_pb2.Connection,
|
|
69
79
|
]
|
|
80
|
+
"""Returns connection."""
|
|
70
81
|
|
|
71
82
|
ResolveCluster: grpc.aio.UnaryUnaryMultiCallable[
|
|
72
83
|
yandex.cloud.connectionmanager.v1.connection_service_pb2.ResolveClusterRequest,
|
|
@@ -83,34 +94,42 @@ class ConnectionServiceAsyncStub:
|
|
|
83
94
|
yandex.cloud.connectionmanager.v1.connection_service_pb2.ListConnectionRequest,
|
|
84
95
|
yandex.cloud.connectionmanager.v1.connection_service_pb2.ListConnectionResponse,
|
|
85
96
|
]
|
|
97
|
+
"""List connections in specified folder."""
|
|
86
98
|
|
|
87
99
|
Create: grpc.aio.UnaryUnaryMultiCallable[
|
|
88
100
|
yandex.cloud.connectionmanager.v1.connection_service_pb2.CreateConnectionRequest,
|
|
89
101
|
yandex.cloud.operation.operation_pb2.Operation,
|
|
90
102
|
]
|
|
103
|
+
"""Creates connection."""
|
|
91
104
|
|
|
92
105
|
Update: grpc.aio.UnaryUnaryMultiCallable[
|
|
93
106
|
yandex.cloud.connectionmanager.v1.connection_service_pb2.UpdateConnectionRequest,
|
|
94
107
|
yandex.cloud.operation.operation_pb2.Operation,
|
|
95
108
|
]
|
|
109
|
+
"""Updates specified connection."""
|
|
96
110
|
|
|
97
111
|
Delete: grpc.aio.UnaryUnaryMultiCallable[
|
|
98
112
|
yandex.cloud.connectionmanager.v1.connection_service_pb2.DeleteConnectionRequest,
|
|
99
113
|
yandex.cloud.operation.operation_pb2.Operation,
|
|
100
114
|
]
|
|
115
|
+
"""Delete specified connection."""
|
|
101
116
|
|
|
102
117
|
ListOperations: grpc.aio.UnaryUnaryMultiCallable[
|
|
103
118
|
yandex.cloud.connectionmanager.v1.connection_service_pb2.ListOperationsRequest,
|
|
104
119
|
yandex.cloud.connectionmanager.v1.connection_service_pb2.ListOperationsResponse,
|
|
105
120
|
]
|
|
121
|
+
"""Retrieves the list of Operation resources for the specified connection."""
|
|
106
122
|
|
|
107
123
|
class ConnectionServiceServicer(metaclass=abc.ABCMeta):
|
|
124
|
+
"""A set of methods for managing Connection resources."""
|
|
125
|
+
|
|
108
126
|
@abc.abstractmethod
|
|
109
127
|
def Get(
|
|
110
128
|
self,
|
|
111
129
|
request: yandex.cloud.connectionmanager.v1.connection_service_pb2.GetConnectionRequest,
|
|
112
130
|
context: _ServicerContext,
|
|
113
|
-
) -> typing.Union[yandex.cloud.connectionmanager.v1.connection_pb2.Connection, collections.abc.Awaitable[yandex.cloud.connectionmanager.v1.connection_pb2.Connection]]:
|
|
131
|
+
) -> typing.Union[yandex.cloud.connectionmanager.v1.connection_pb2.Connection, collections.abc.Awaitable[yandex.cloud.connectionmanager.v1.connection_pb2.Connection]]:
|
|
132
|
+
"""Returns connection."""
|
|
114
133
|
|
|
115
134
|
@abc.abstractmethod
|
|
116
135
|
def ResolveCluster(
|
|
@@ -130,34 +149,39 @@ class ConnectionServiceServicer(metaclass=abc.ABCMeta):
|
|
|
130
149
|
self,
|
|
131
150
|
request: yandex.cloud.connectionmanager.v1.connection_service_pb2.ListConnectionRequest,
|
|
132
151
|
context: _ServicerContext,
|
|
133
|
-
) -> typing.Union[yandex.cloud.connectionmanager.v1.connection_service_pb2.ListConnectionResponse, collections.abc.Awaitable[yandex.cloud.connectionmanager.v1.connection_service_pb2.ListConnectionResponse]]:
|
|
152
|
+
) -> typing.Union[yandex.cloud.connectionmanager.v1.connection_service_pb2.ListConnectionResponse, collections.abc.Awaitable[yandex.cloud.connectionmanager.v1.connection_service_pb2.ListConnectionResponse]]:
|
|
153
|
+
"""List connections in specified folder."""
|
|
134
154
|
|
|
135
155
|
@abc.abstractmethod
|
|
136
156
|
def Create(
|
|
137
157
|
self,
|
|
138
158
|
request: yandex.cloud.connectionmanager.v1.connection_service_pb2.CreateConnectionRequest,
|
|
139
159
|
context: _ServicerContext,
|
|
140
|
-
) -> typing.Union[yandex.cloud.operation.operation_pb2.Operation, collections.abc.Awaitable[yandex.cloud.operation.operation_pb2.Operation]]:
|
|
160
|
+
) -> typing.Union[yandex.cloud.operation.operation_pb2.Operation, collections.abc.Awaitable[yandex.cloud.operation.operation_pb2.Operation]]:
|
|
161
|
+
"""Creates connection."""
|
|
141
162
|
|
|
142
163
|
@abc.abstractmethod
|
|
143
164
|
def Update(
|
|
144
165
|
self,
|
|
145
166
|
request: yandex.cloud.connectionmanager.v1.connection_service_pb2.UpdateConnectionRequest,
|
|
146
167
|
context: _ServicerContext,
|
|
147
|
-
) -> typing.Union[yandex.cloud.operation.operation_pb2.Operation, collections.abc.Awaitable[yandex.cloud.operation.operation_pb2.Operation]]:
|
|
168
|
+
) -> typing.Union[yandex.cloud.operation.operation_pb2.Operation, collections.abc.Awaitable[yandex.cloud.operation.operation_pb2.Operation]]:
|
|
169
|
+
"""Updates specified connection."""
|
|
148
170
|
|
|
149
171
|
@abc.abstractmethod
|
|
150
172
|
def Delete(
|
|
151
173
|
self,
|
|
152
174
|
request: yandex.cloud.connectionmanager.v1.connection_service_pb2.DeleteConnectionRequest,
|
|
153
175
|
context: _ServicerContext,
|
|
154
|
-
) -> typing.Union[yandex.cloud.operation.operation_pb2.Operation, collections.abc.Awaitable[yandex.cloud.operation.operation_pb2.Operation]]:
|
|
176
|
+
) -> typing.Union[yandex.cloud.operation.operation_pb2.Operation, collections.abc.Awaitable[yandex.cloud.operation.operation_pb2.Operation]]:
|
|
177
|
+
"""Delete specified connection."""
|
|
155
178
|
|
|
156
179
|
@abc.abstractmethod
|
|
157
180
|
def ListOperations(
|
|
158
181
|
self,
|
|
159
182
|
request: yandex.cloud.connectionmanager.v1.connection_service_pb2.ListOperationsRequest,
|
|
160
183
|
context: _ServicerContext,
|
|
161
|
-
) -> typing.Union[yandex.cloud.connectionmanager.v1.connection_service_pb2.ListOperationsResponse, collections.abc.Awaitable[yandex.cloud.connectionmanager.v1.connection_service_pb2.ListOperationsResponse]]:
|
|
184
|
+
) -> typing.Union[yandex.cloud.connectionmanager.v1.connection_service_pb2.ListOperationsResponse, collections.abc.Awaitable[yandex.cloud.connectionmanager.v1.connection_service_pb2.ListOperationsResponse]]:
|
|
185
|
+
"""Retrieves the list of Operation resources for the specified connection."""
|
|
162
186
|
|
|
163
187
|
def add_ConnectionServiceServicer_to_server(servicer: ConnectionServiceServicer, server: typing.Union[grpc.Server, grpc.aio.Server]) -> None: ...
|
|
@@ -139,8 +139,7 @@ class CreateEndpointRequest(google.protobuf.message.Message):
|
|
|
139
139
|
def labels(self) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]:
|
|
140
140
|
"""Endpoint labels as `key:value` pairs.
|
|
141
141
|
|
|
142
|
-
For details about the concept, see [documentation]({{ api-url-prefix
|
|
143
|
-
}}/resource-manager/concepts/labels).
|
|
142
|
+
For details about the concept, see [documentation]({{ api-url-prefix }}/resource-manager/concepts/labels).
|
|
144
143
|
"""
|
|
145
144
|
|
|
146
145
|
@property
|
|
@@ -210,8 +209,7 @@ class UpdateEndpointRequest(google.protobuf.message.Message):
|
|
|
210
209
|
def labels(self) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]:
|
|
211
210
|
"""Endpoint labels as `key:value` pairs.
|
|
212
211
|
|
|
213
|
-
For details about the concept, see [documentation]({{ api-url-prefix
|
|
214
|
-
}}/resource-manager/concepts/labels).
|
|
212
|
+
For details about the concept, see [documentation]({{ api-url-prefix }}/resource-manager/concepts/labels).
|
|
215
213
|
"""
|
|
216
214
|
|
|
217
215
|
@property
|
|
@@ -28,8 +28,7 @@ if _version_not_supported:
|
|
|
28
28
|
|
|
29
29
|
|
|
30
30
|
class EndpointServiceStub(object):
|
|
31
|
-
"""A set of methods for managing [endpoints]({{ api-url-prefix
|
|
32
|
-
}}/data-transfer/concepts/#endpoint).
|
|
31
|
+
"""A set of methods for managing [endpoints]({{ api-url-prefix }}/data-transfer/concepts/#endpoint).
|
|
33
32
|
"""
|
|
34
33
|
|
|
35
34
|
def __init__(self, channel):
|
|
@@ -66,8 +65,7 @@ class EndpointServiceStub(object):
|
|
|
66
65
|
|
|
67
66
|
|
|
68
67
|
class EndpointServiceServicer(object):
|
|
69
|
-
"""A set of methods for managing [endpoints]({{ api-url-prefix
|
|
70
|
-
}}/data-transfer/concepts/#endpoint).
|
|
68
|
+
"""A set of methods for managing [endpoints]({{ api-url-prefix }}/data-transfer/concepts/#endpoint).
|
|
71
69
|
"""
|
|
72
70
|
|
|
73
71
|
def Get(self, request, context):
|
|
@@ -144,8 +142,7 @@ def add_EndpointServiceServicer_to_server(servicer, server):
|
|
|
144
142
|
|
|
145
143
|
# This class is part of an EXPERIMENTAL API.
|
|
146
144
|
class EndpointService(object):
|
|
147
|
-
"""A set of methods for managing [endpoints]({{ api-url-prefix
|
|
148
|
-
}}/data-transfer/concepts/#endpoint).
|
|
145
|
+
"""A set of methods for managing [endpoints]({{ api-url-prefix }}/data-transfer/concepts/#endpoint).
|
|
149
146
|
"""
|
|
150
147
|
|
|
151
148
|
@staticmethod
|
|
@@ -20,9 +20,7 @@ class _ServicerContext(grpc.ServicerContext, grpc.aio.ServicerContext): # type:
|
|
|
20
20
|
...
|
|
21
21
|
|
|
22
22
|
class EndpointServiceStub:
|
|
23
|
-
"""A set of methods for managing [endpoints]({{ api-url-prefix
|
|
24
|
-
}}/data-transfer/concepts/#endpoint).
|
|
25
|
-
"""
|
|
23
|
+
"""A set of methods for managing [endpoints]({{ api-url-prefix }}/data-transfer/concepts/#endpoint)."""
|
|
26
24
|
|
|
27
25
|
def __init__(self, channel: typing.Union[grpc.Channel, grpc.aio.Channel]) -> None: ...
|
|
28
26
|
Get: grpc.UnaryUnaryMultiCallable[
|
|
@@ -59,9 +57,7 @@ class EndpointServiceStub:
|
|
|
59
57
|
"""Deletes the specified endpoint."""
|
|
60
58
|
|
|
61
59
|
class EndpointServiceAsyncStub:
|
|
62
|
-
"""A set of methods for managing [endpoints]({{ api-url-prefix
|
|
63
|
-
}}/data-transfer/concepts/#endpoint).
|
|
64
|
-
"""
|
|
60
|
+
"""A set of methods for managing [endpoints]({{ api-url-prefix }}/data-transfer/concepts/#endpoint)."""
|
|
65
61
|
|
|
66
62
|
Get: grpc.aio.UnaryUnaryMultiCallable[
|
|
67
63
|
yandex.cloud.datatransfer.v1.endpoint_service_pb2.GetEndpointRequest,
|
|
@@ -97,9 +93,7 @@ class EndpointServiceAsyncStub:
|
|
|
97
93
|
"""Deletes the specified endpoint."""
|
|
98
94
|
|
|
99
95
|
class EndpointServiceServicer(metaclass=abc.ABCMeta):
|
|
100
|
-
"""A set of methods for managing [endpoints]({{ api-url-prefix
|
|
101
|
-
}}/data-transfer/concepts/#endpoint).
|
|
102
|
-
"""
|
|
96
|
+
"""A set of methods for managing [endpoints]({{ api-url-prefix }}/data-transfer/concepts/#endpoint)."""
|
|
103
97
|
|
|
104
98
|
@abc.abstractmethod
|
|
105
99
|
def Get(
|
|
@@ -65,8 +65,7 @@ class CreateTransferRequest(google.protobuf.message.Message):
|
|
|
65
65
|
def labels(self) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]:
|
|
66
66
|
"""Transfer labels as `key:value` pairs.
|
|
67
67
|
|
|
68
|
-
For details about the concept, see [documentation]({{ api-url-prefix
|
|
69
|
-
}}/resource-manager/concepts/labels).
|
|
68
|
+
For details about the concept, see [documentation]({{ api-url-prefix }}/resource-manager/concepts/labels).
|
|
70
69
|
"""
|
|
71
70
|
|
|
72
71
|
@property
|
|
@@ -156,8 +155,7 @@ class UpdateTransferRequest(google.protobuf.message.Message):
|
|
|
156
155
|
def labels(self) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]:
|
|
157
156
|
"""Transfer labels as `key:value` pairs.
|
|
158
157
|
|
|
159
|
-
For details about the concept, see [documentation]({{ api-url-prefix
|
|
160
|
-
}}/resource-manager/concepts/labels).
|
|
158
|
+
For details about the concept, see [documentation]({{ api-url-prefix }}/resource-manager/concepts/labels).
|
|
161
159
|
"""
|
|
162
160
|
|
|
163
161
|
@property
|
|
@@ -28,7 +28,8 @@ if _version_not_supported:
|
|
|
28
28
|
|
|
29
29
|
|
|
30
30
|
class TransferServiceStub(object):
|
|
31
|
-
"""
|
|
31
|
+
"""A set of methods for managing [transfers]({{ api-url-prefix }}/data-transfer/concepts/#transfer).
|
|
32
|
+
"""
|
|
32
33
|
|
|
33
34
|
def __init__(self, channel):
|
|
34
35
|
"""Constructor.
|
|
@@ -74,7 +75,8 @@ class TransferServiceStub(object):
|
|
|
74
75
|
|
|
75
76
|
|
|
76
77
|
class TransferServiceServicer(object):
|
|
77
|
-
"""
|
|
78
|
+
"""A set of methods for managing [transfers]({{ api-url-prefix }}/data-transfer/concepts/#transfer).
|
|
79
|
+
"""
|
|
78
80
|
|
|
79
81
|
def Create(self, request, context):
|
|
80
82
|
"""Creates a transfer in the specified folder.
|
|
@@ -178,7 +180,8 @@ def add_TransferServiceServicer_to_server(servicer, server):
|
|
|
178
180
|
|
|
179
181
|
# This class is part of an EXPERIMENTAL API.
|
|
180
182
|
class TransferService(object):
|
|
181
|
-
"""
|
|
183
|
+
"""A set of methods for managing [transfers]({{ api-url-prefix }}/data-transfer/concepts/#transfer).
|
|
184
|
+
"""
|
|
182
185
|
|
|
183
186
|
@staticmethod
|
|
184
187
|
def Create(request,
|
|
@@ -20,6 +20,8 @@ class _ServicerContext(grpc.ServicerContext, grpc.aio.ServicerContext): # type:
|
|
|
20
20
|
...
|
|
21
21
|
|
|
22
22
|
class TransferServiceStub:
|
|
23
|
+
"""A set of methods for managing [transfers]({{ api-url-prefix }}/data-transfer/concepts/#transfer)."""
|
|
24
|
+
|
|
23
25
|
def __init__(self, channel: typing.Union[grpc.Channel, grpc.aio.Channel]) -> None: ...
|
|
24
26
|
Create: grpc.UnaryUnaryMultiCallable[
|
|
25
27
|
yandex.cloud.datatransfer.v1.transfer_service_pb2.CreateTransferRequest,
|
|
@@ -73,6 +75,8 @@ class TransferServiceStub:
|
|
|
73
75
|
"""
|
|
74
76
|
|
|
75
77
|
class TransferServiceAsyncStub:
|
|
78
|
+
"""A set of methods for managing [transfers]({{ api-url-prefix }}/data-transfer/concepts/#transfer)."""
|
|
79
|
+
|
|
76
80
|
Create: grpc.aio.UnaryUnaryMultiCallable[
|
|
77
81
|
yandex.cloud.datatransfer.v1.transfer_service_pb2.CreateTransferRequest,
|
|
78
82
|
yandex.cloud.operation.operation_pb2.Operation,
|
|
@@ -125,6 +129,8 @@ class TransferServiceAsyncStub:
|
|
|
125
129
|
"""
|
|
126
130
|
|
|
127
131
|
class TransferServiceServicer(metaclass=abc.ABCMeta):
|
|
132
|
+
"""A set of methods for managing [transfers]({{ api-url-prefix }}/data-transfer/concepts/#transfer)."""
|
|
133
|
+
|
|
128
134
|
@abc.abstractmethod
|
|
129
135
|
def Create(
|
|
130
136
|
self,
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# NO CHECKED-IN PROTOBUF GENCODE
|
|
4
|
+
# source: yandex/cloud/iam/v1/oauth_client.proto
|
|
5
|
+
# Protobuf Python Version: 5.29.0
|
|
6
|
+
"""Generated protocol buffer code."""
|
|
7
|
+
from google.protobuf import descriptor as _descriptor
|
|
8
|
+
from google.protobuf import descriptor_pool as _descriptor_pool
|
|
9
|
+
from google.protobuf import runtime_version as _runtime_version
|
|
10
|
+
from google.protobuf import symbol_database as _symbol_database
|
|
11
|
+
from google.protobuf.internal import builder as _builder
|
|
12
|
+
_runtime_version.ValidateProtobufRuntimeVersion(
|
|
13
|
+
_runtime_version.Domain.PUBLIC,
|
|
14
|
+
5,
|
|
15
|
+
29,
|
|
16
|
+
0,
|
|
17
|
+
'',
|
|
18
|
+
'yandex/cloud/iam/v1/oauth_client.proto'
|
|
19
|
+
)
|
|
20
|
+
# @@protoc_insertion_point(imports)
|
|
21
|
+
|
|
22
|
+
_sym_db = _symbol_database.Default()
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
|
|
26
|
+
|
|
27
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n&yandex/cloud/iam/v1/oauth_client.proto\x12\x13yandex.cloud.iam.v1\"\xe4\x01\n\x0bOAuthClient\x12\n\n\x02id\x18\x01 \x01(\t\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x15\n\rredirect_uris\x18\x03 \x03(\t\x12\x0e\n\x06scopes\x18\x04 \x03(\t\x12\x11\n\tfolder_id\x18\x05 \x01(\t\x12\x37\n\x06status\x18\x06 \x01(\x0e\x32\'.yandex.cloud.iam.v1.OAuthClient.Status\"H\n\x06Status\x12\x16\n\x12STATUS_UNSPECIFIED\x10\x00\x12\x0c\n\x08\x43REATING\x10\x01\x12\n\n\x06\x41\x43TIVE\x10\x02\x12\x0c\n\x08\x44\x45LETING\x10\x03\x42V\n\x17yandex.cloud.api.iam.v1Z;github.com/yandex-cloud/go-genproto/yandex/cloud/iam/v1;iamb\x06proto3')
|
|
28
|
+
|
|
29
|
+
_globals = globals()
|
|
30
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
31
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'yandex.cloud.iam.v1.oauth_client_pb2', _globals)
|
|
32
|
+
if not _descriptor._USE_C_DESCRIPTORS:
|
|
33
|
+
_globals['DESCRIPTOR']._loaded_options = None
|
|
34
|
+
_globals['DESCRIPTOR']._serialized_options = b'\n\027yandex.cloud.api.iam.v1Z;github.com/yandex-cloud/go-genproto/yandex/cloud/iam/v1;iam'
|
|
35
|
+
_globals['_OAUTHCLIENT']._serialized_start=64
|
|
36
|
+
_globals['_OAUTHCLIENT']._serialized_end=292
|
|
37
|
+
_globals['_OAUTHCLIENT_STATUS']._serialized_start=220
|
|
38
|
+
_globals['_OAUTHCLIENT_STATUS']._serialized_end=292
|
|
39
|
+
# @@protoc_insertion_point(module_scope)
|
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
"""
|
|
2
|
+
@generated by mypy-protobuf. Do not edit manually!
|
|
3
|
+
isort:skip_file
|
|
4
|
+
"""
|
|
5
|
+
|
|
6
|
+
import builtins
|
|
7
|
+
import collections.abc
|
|
8
|
+
import google.protobuf.descriptor
|
|
9
|
+
import google.protobuf.internal.containers
|
|
10
|
+
import google.protobuf.internal.enum_type_wrapper
|
|
11
|
+
import google.protobuf.message
|
|
12
|
+
import sys
|
|
13
|
+
import typing
|
|
14
|
+
|
|
15
|
+
if sys.version_info >= (3, 10):
|
|
16
|
+
import typing as typing_extensions
|
|
17
|
+
else:
|
|
18
|
+
import typing_extensions
|
|
19
|
+
|
|
20
|
+
DESCRIPTOR: google.protobuf.descriptor.FileDescriptor
|
|
21
|
+
|
|
22
|
+
@typing.final
|
|
23
|
+
class OAuthClient(google.protobuf.message.Message):
|
|
24
|
+
"""An OauthClient resource."""
|
|
25
|
+
|
|
26
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
27
|
+
|
|
28
|
+
class _Status:
|
|
29
|
+
ValueType = typing.NewType("ValueType", builtins.int)
|
|
30
|
+
V: typing_extensions.TypeAlias = ValueType
|
|
31
|
+
|
|
32
|
+
class _StatusEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[OAuthClient._Status.ValueType], builtins.type):
|
|
33
|
+
DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor
|
|
34
|
+
STATUS_UNSPECIFIED: OAuthClient._Status.ValueType # 0
|
|
35
|
+
CREATING: OAuthClient._Status.ValueType # 1
|
|
36
|
+
"""OAuth client is being created."""
|
|
37
|
+
ACTIVE: OAuthClient._Status.ValueType # 2
|
|
38
|
+
"""OAuth client is active."""
|
|
39
|
+
DELETING: OAuthClient._Status.ValueType # 3
|
|
40
|
+
"""OAuth client is being deleted."""
|
|
41
|
+
|
|
42
|
+
class Status(_Status, metaclass=_StatusEnumTypeWrapper): ...
|
|
43
|
+
STATUS_UNSPECIFIED: OAuthClient.Status.ValueType # 0
|
|
44
|
+
CREATING: OAuthClient.Status.ValueType # 1
|
|
45
|
+
"""OAuth client is being created."""
|
|
46
|
+
ACTIVE: OAuthClient.Status.ValueType # 2
|
|
47
|
+
"""OAuth client is active."""
|
|
48
|
+
DELETING: OAuthClient.Status.ValueType # 3
|
|
49
|
+
"""OAuth client is being deleted."""
|
|
50
|
+
|
|
51
|
+
ID_FIELD_NUMBER: builtins.int
|
|
52
|
+
NAME_FIELD_NUMBER: builtins.int
|
|
53
|
+
REDIRECT_URIS_FIELD_NUMBER: builtins.int
|
|
54
|
+
SCOPES_FIELD_NUMBER: builtins.int
|
|
55
|
+
FOLDER_ID_FIELD_NUMBER: builtins.int
|
|
56
|
+
STATUS_FIELD_NUMBER: builtins.int
|
|
57
|
+
id: builtins.str
|
|
58
|
+
"""ID of the oauth client."""
|
|
59
|
+
name: builtins.str
|
|
60
|
+
"""Name for the oauth client."""
|
|
61
|
+
folder_id: builtins.str
|
|
62
|
+
"""ID of the folder oauth client belongs to."""
|
|
63
|
+
status: global___OAuthClient.Status.ValueType
|
|
64
|
+
"""Current status of the oauth client."""
|
|
65
|
+
@property
|
|
66
|
+
def redirect_uris(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]:
|
|
67
|
+
"""List of redirect uries allowed for the oauth client."""
|
|
68
|
+
|
|
69
|
+
@property
|
|
70
|
+
def scopes(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]:
|
|
71
|
+
"""List of oauth scopes requested by the oauth client."""
|
|
72
|
+
|
|
73
|
+
def __init__(
|
|
74
|
+
self,
|
|
75
|
+
*,
|
|
76
|
+
id: builtins.str = ...,
|
|
77
|
+
name: builtins.str = ...,
|
|
78
|
+
redirect_uris: collections.abc.Iterable[builtins.str] | None = ...,
|
|
79
|
+
scopes: collections.abc.Iterable[builtins.str] | None = ...,
|
|
80
|
+
folder_id: builtins.str = ...,
|
|
81
|
+
status: global___OAuthClient.Status.ValueType = ...,
|
|
82
|
+
) -> None: ...
|
|
83
|
+
def ClearField(self, field_name: typing.Literal["folder_id", b"folder_id", "id", b"id", "name", b"name", "redirect_uris", b"redirect_uris", "scopes", b"scopes", "status", b"status"]) -> None: ...
|
|
84
|
+
|
|
85
|
+
global___OAuthClient = OAuthClient
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
# Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT!
|
|
2
|
+
"""Client and server classes corresponding to protobuf-defined services."""
|
|
3
|
+
import grpc
|
|
4
|
+
import warnings
|
|
5
|
+
|
|
6
|
+
|
|
7
|
+
GRPC_GENERATED_VERSION = '1.70.0'
|
|
8
|
+
GRPC_VERSION = grpc.__version__
|
|
9
|
+
_version_not_supported = False
|
|
10
|
+
|
|
11
|
+
try:
|
|
12
|
+
from grpc._utilities import first_version_is_lower
|
|
13
|
+
_version_not_supported = first_version_is_lower(GRPC_VERSION, GRPC_GENERATED_VERSION)
|
|
14
|
+
except ImportError:
|
|
15
|
+
_version_not_supported = True
|
|
16
|
+
|
|
17
|
+
if _version_not_supported:
|
|
18
|
+
raise RuntimeError(
|
|
19
|
+
f'The grpc package installed is at version {GRPC_VERSION},'
|
|
20
|
+
+ f' but the generated code in yandex/cloud/iam/v1/oauth_client_pb2_grpc.py depends on'
|
|
21
|
+
+ f' grpcio>={GRPC_GENERATED_VERSION}.'
|
|
22
|
+
+ f' Please upgrade your grpc module to grpcio>={GRPC_GENERATED_VERSION}'
|
|
23
|
+
+ f' or downgrade your generated code using grpcio-tools<={GRPC_VERSION}.'
|
|
24
|
+
)
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
"""
|
|
2
|
+
@generated by mypy-protobuf. Do not edit manually!
|
|
3
|
+
isort:skip_file
|
|
4
|
+
"""
|
|
5
|
+
|
|
6
|
+
import abc
|
|
7
|
+
import collections.abc
|
|
8
|
+
import grpc
|
|
9
|
+
import grpc.aio
|
|
10
|
+
import typing
|
|
11
|
+
|
|
12
|
+
_T = typing.TypeVar("_T")
|
|
13
|
+
|
|
14
|
+
class _MaybeAsyncIterator(collections.abc.AsyncIterator[_T], collections.abc.Iterator[_T], metaclass=abc.ABCMeta): ...
|
|
15
|
+
|
|
16
|
+
class _ServicerContext(grpc.ServicerContext, grpc.aio.ServicerContext): # type: ignore[misc, type-arg]
|
|
17
|
+
...
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# NO CHECKED-IN PROTOBUF GENCODE
|
|
4
|
+
# source: yandex/cloud/iam/v1/oauth_client_secret.proto
|
|
5
|
+
# Protobuf Python Version: 5.29.0
|
|
6
|
+
"""Generated protocol buffer code."""
|
|
7
|
+
from google.protobuf import descriptor as _descriptor
|
|
8
|
+
from google.protobuf import descriptor_pool as _descriptor_pool
|
|
9
|
+
from google.protobuf import runtime_version as _runtime_version
|
|
10
|
+
from google.protobuf import symbol_database as _symbol_database
|
|
11
|
+
from google.protobuf.internal import builder as _builder
|
|
12
|
+
_runtime_version.ValidateProtobufRuntimeVersion(
|
|
13
|
+
_runtime_version.Domain.PUBLIC,
|
|
14
|
+
5,
|
|
15
|
+
29,
|
|
16
|
+
0,
|
|
17
|
+
'',
|
|
18
|
+
'yandex/cloud/iam/v1/oauth_client_secret.proto'
|
|
19
|
+
)
|
|
20
|
+
# @@protoc_insertion_point(imports)
|
|
21
|
+
|
|
22
|
+
_sym_db = _symbol_database.Default()
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2
|
|
26
|
+
|
|
27
|
+
|
|
28
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n-yandex/cloud/iam/v1/oauth_client_secret.proto\x12\x13yandex.cloud.iam.v1\x1a\x1fgoogle/protobuf/timestamp.proto\"\x94\x01\n\x11OAuthClientSecret\x12\n\n\x02id\x18\x01 \x01(\t\x12\x17\n\x0foauth_client_id\x18\x02 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x03 \x01(\t\x12\x15\n\rmasked_secret\x18\x04 \x01(\t\x12.\n\ncreated_at\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.TimestampBV\n\x17yandex.cloud.api.iam.v1Z;github.com/yandex-cloud/go-genproto/yandex/cloud/iam/v1;iamb\x06proto3')
|
|
29
|
+
|
|
30
|
+
_globals = globals()
|
|
31
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
32
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'yandex.cloud.iam.v1.oauth_client_secret_pb2', _globals)
|
|
33
|
+
if not _descriptor._USE_C_DESCRIPTORS:
|
|
34
|
+
_globals['DESCRIPTOR']._loaded_options = None
|
|
35
|
+
_globals['DESCRIPTOR']._serialized_options = b'\n\027yandex.cloud.api.iam.v1Z;github.com/yandex-cloud/go-genproto/yandex/cloud/iam/v1;iam'
|
|
36
|
+
_globals['_OAUTHCLIENTSECRET']._serialized_start=104
|
|
37
|
+
_globals['_OAUTHCLIENTSECRET']._serialized_end=252
|
|
38
|
+
# @@protoc_insertion_point(module_scope)
|
|
@@ -0,0 +1,49 @@
|
|
|
1
|
+
"""
|
|
2
|
+
@generated by mypy-protobuf. Do not edit manually!
|
|
3
|
+
isort:skip_file
|
|
4
|
+
"""
|
|
5
|
+
|
|
6
|
+
import builtins
|
|
7
|
+
import google.protobuf.descriptor
|
|
8
|
+
import google.protobuf.message
|
|
9
|
+
import google.protobuf.timestamp_pb2
|
|
10
|
+
import typing
|
|
11
|
+
|
|
12
|
+
DESCRIPTOR: google.protobuf.descriptor.FileDescriptor
|
|
13
|
+
|
|
14
|
+
@typing.final
|
|
15
|
+
class OAuthClientSecret(google.protobuf.message.Message):
|
|
16
|
+
"""An OauthClientSecretResource"""
|
|
17
|
+
|
|
18
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
19
|
+
|
|
20
|
+
ID_FIELD_NUMBER: builtins.int
|
|
21
|
+
OAUTH_CLIENT_ID_FIELD_NUMBER: builtins.int
|
|
22
|
+
DESCRIPTION_FIELD_NUMBER: builtins.int
|
|
23
|
+
MASKED_SECRET_FIELD_NUMBER: builtins.int
|
|
24
|
+
CREATED_AT_FIELD_NUMBER: builtins.int
|
|
25
|
+
id: builtins.str
|
|
26
|
+
"""ID of the oauth client secret."""
|
|
27
|
+
oauth_client_id: builtins.str
|
|
28
|
+
"""ID of the oauth client that the secret belongs to."""
|
|
29
|
+
description: builtins.str
|
|
30
|
+
"""Description of the oauth client secret."""
|
|
31
|
+
masked_secret: builtins.str
|
|
32
|
+
"""Masked value of the oauth client secret: `yccs__[a-f0-9]{10}\\*{4}`"""
|
|
33
|
+
@property
|
|
34
|
+
def created_at(self) -> google.protobuf.timestamp_pb2.Timestamp:
|
|
35
|
+
"""Creation timestamp."""
|
|
36
|
+
|
|
37
|
+
def __init__(
|
|
38
|
+
self,
|
|
39
|
+
*,
|
|
40
|
+
id: builtins.str = ...,
|
|
41
|
+
oauth_client_id: builtins.str = ...,
|
|
42
|
+
description: builtins.str = ...,
|
|
43
|
+
masked_secret: builtins.str = ...,
|
|
44
|
+
created_at: google.protobuf.timestamp_pb2.Timestamp | None = ...,
|
|
45
|
+
) -> None: ...
|
|
46
|
+
def HasField(self, field_name: typing.Literal["created_at", b"created_at"]) -> builtins.bool: ...
|
|
47
|
+
def ClearField(self, field_name: typing.Literal["created_at", b"created_at", "description", b"description", "id", b"id", "masked_secret", b"masked_secret", "oauth_client_id", b"oauth_client_id"]) -> None: ...
|
|
48
|
+
|
|
49
|
+
global___OAuthClientSecret = OAuthClientSecret
|