scalekit-sdk-python 1.0.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.
- buf/__init__.py +0 -0
- buf/validate/__init__.py +0 -0
- buf/validate/expression_pb2.py +31 -0
- buf/validate/expression_pb2.pyi +34 -0
- buf/validate/expression_pb2_grpc.py +4 -0
- buf/validate/priv/__init__.py +0 -0
- buf/validate/priv/private_pb2.py +30 -0
- buf/validate/priv/private_pb2.pyi +25 -0
- buf/validate/priv/private_pb2_grpc.py +4 -0
- buf/validate/validate_pb2.py +402 -0
- buf/validate/validate_pb2.pyi +503 -0
- buf/validate/validate_pb2_grpc.py +4 -0
- scalekit/__init__.py +4 -0
- scalekit/client.py +143 -0
- scalekit/common/__init__.py +0 -0
- scalekit/common/scalekit.py +49 -0
- scalekit/common/user.py +75 -0
- scalekit/connection.py +103 -0
- scalekit/constants/__init__.py +0 -0
- scalekit/constants/user.py +21 -0
- scalekit/core.py +169 -0
- scalekit/domain.py +73 -0
- scalekit/organization.py +181 -0
- scalekit/v1/__init__.py +0 -0
- scalekit/v1/clients/__init__.py +0 -0
- scalekit/v1/clients/clients_pb2.py +103 -0
- scalekit/v1/clients/clients_pb2.pyi +156 -0
- scalekit/v1/clients/clients_pb2_grpc.py +232 -0
- scalekit/v1/commons/__init__.py +0 -0
- scalekit/v1/commons/commons_pb2.py +36 -0
- scalekit/v1/commons/commons_pb2.pyi +30 -0
- scalekit/v1/commons/commons_pb2_grpc.py +4 -0
- scalekit/v1/connections/__init__.py +0 -0
- scalekit/v1/connections/connections_pb2.py +355 -0
- scalekit/v1/connections/connections_pb2.pyi +526 -0
- scalekit/v1/connections/connections_pb2_grpc.py +265 -0
- scalekit/v1/domains/__init__.py +0 -0
- scalekit/v1/domains/domains_pb2.py +92 -0
- scalekit/v1/domains/domains_pb2.pyi +153 -0
- scalekit/v1/domains/domains_pb2_grpc.py +199 -0
- scalekit/v1/environments/__init__.py +0 -0
- scalekit/v1/environments/environments_pb2.py +171 -0
- scalekit/v1/environments/environments_pb2.pyi +241 -0
- scalekit/v1/environments/environments_pb2_grpc.py +463 -0
- scalekit/v1/errdetails/__init__.py +0 -0
- scalekit/v1/errdetails/errdetails_pb2.py +44 -0
- scalekit/v1/errdetails/errdetails_pb2.pyi +89 -0
- scalekit/v1/errdetails/errdetails_pb2_grpc.py +4 -0
- scalekit/v1/events/__init__.py +0 -0
- scalekit/v1/events/events_pb2.py +39 -0
- scalekit/v1/events/events_pb2.pyi +62 -0
- scalekit/v1/events/events_pb2_grpc.py +4 -0
- scalekit/v1/members/__init__.py +0 -0
- scalekit/v1/members/members_pb2.py +105 -0
- scalekit/v1/members/members_pb2.pyi +142 -0
- scalekit/v1/members/members_pb2_grpc.py +271 -0
- scalekit/v1/options/__init__.py +0 -0
- scalekit/v1/options/options_pb2.py +30 -0
- scalekit/v1/options/options_pb2.pyi +44 -0
- scalekit/v1/options/options_pb2_grpc.py +4 -0
- scalekit/v1/organizations/__init__.py +0 -0
- scalekit/v1/organizations/organizations_pb2.py +168 -0
- scalekit/v1/organizations/organizations_pb2.pyi +190 -0
- scalekit/v1/organizations/organizations_pb2_grpc.py +301 -0
- scalekit/v1/users/__init__.py +0 -0
- scalekit/v1/users/users_pb2.py +97 -0
- scalekit/v1/users/users_pb2.pyi +136 -0
- scalekit/v1/users/users_pb2_grpc.py +199 -0
- scalekit/v1/workspaces/__init__.py +0 -0
- scalekit/v1/workspaces/workspaces_pb2.py +90 -0
- scalekit/v1/workspaces/workspaces_pb2.pyi +102 -0
- scalekit/v1/workspaces/workspaces_pb2_grpc.py +198 -0
- scalekit_sdk_python-1.0.0.dist-info/LICENSE +21 -0
- scalekit_sdk_python-1.0.0.dist-info/METADATA +67 -0
- scalekit_sdk_python-1.0.0.dist-info/RECORD +77 -0
- scalekit_sdk_python-1.0.0.dist-info/WHEEL +5 -0
- scalekit_sdk_python-1.0.0.dist-info/top_level.txt +2 -0
|
@@ -0,0 +1,265 @@
|
|
|
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
|
+
|
|
5
|
+
from google.protobuf import empty_pb2 as google_dot_protobuf_dot_empty__pb2
|
|
6
|
+
from scalekit.v1.connections import connections_pb2 as scalekit_dot_v1_dot_connections_dot_connections__pb2
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
class ConnectionServiceStub(object):
|
|
10
|
+
"""Missing associated documentation comment in .proto file."""
|
|
11
|
+
|
|
12
|
+
def __init__(self, channel):
|
|
13
|
+
"""Constructor.
|
|
14
|
+
|
|
15
|
+
Args:
|
|
16
|
+
channel: A grpc.Channel.
|
|
17
|
+
"""
|
|
18
|
+
self.CreateConnection = channel.unary_unary(
|
|
19
|
+
'/scalekit.v1.connections.ConnectionService/CreateConnection',
|
|
20
|
+
request_serializer=scalekit_dot_v1_dot_connections_dot_connections__pb2.CreateConnectionRequest.SerializeToString,
|
|
21
|
+
response_deserializer=scalekit_dot_v1_dot_connections_dot_connections__pb2.CreateConnectionResponse.FromString,
|
|
22
|
+
)
|
|
23
|
+
self.GetConnection = channel.unary_unary(
|
|
24
|
+
'/scalekit.v1.connections.ConnectionService/GetConnection',
|
|
25
|
+
request_serializer=scalekit_dot_v1_dot_connections_dot_connections__pb2.GetConnectionRequest.SerializeToString,
|
|
26
|
+
response_deserializer=scalekit_dot_v1_dot_connections_dot_connections__pb2.GetConnectionResponse.FromString,
|
|
27
|
+
)
|
|
28
|
+
self.ListConnections = channel.unary_unary(
|
|
29
|
+
'/scalekit.v1.connections.ConnectionService/ListConnections',
|
|
30
|
+
request_serializer=scalekit_dot_v1_dot_connections_dot_connections__pb2.ListConnectionsRequest.SerializeToString,
|
|
31
|
+
response_deserializer=scalekit_dot_v1_dot_connections_dot_connections__pb2.ListConnectionsResponse.FromString,
|
|
32
|
+
)
|
|
33
|
+
self.UpdateConnection = channel.unary_unary(
|
|
34
|
+
'/scalekit.v1.connections.ConnectionService/UpdateConnection',
|
|
35
|
+
request_serializer=scalekit_dot_v1_dot_connections_dot_connections__pb2.UpdateConnectionRequest.SerializeToString,
|
|
36
|
+
response_deserializer=scalekit_dot_v1_dot_connections_dot_connections__pb2.UpdateConnectionResponse.FromString,
|
|
37
|
+
)
|
|
38
|
+
self.DeleteConnection = channel.unary_unary(
|
|
39
|
+
'/scalekit.v1.connections.ConnectionService/DeleteConnection',
|
|
40
|
+
request_serializer=scalekit_dot_v1_dot_connections_dot_connections__pb2.DeleteConnectionRequest.SerializeToString,
|
|
41
|
+
response_deserializer=google_dot_protobuf_dot_empty__pb2.Empty.FromString,
|
|
42
|
+
)
|
|
43
|
+
self.EnableConnection = channel.unary_unary(
|
|
44
|
+
'/scalekit.v1.connections.ConnectionService/EnableConnection',
|
|
45
|
+
request_serializer=scalekit_dot_v1_dot_connections_dot_connections__pb2.ToggleConnectionRequest.SerializeToString,
|
|
46
|
+
response_deserializer=scalekit_dot_v1_dot_connections_dot_connections__pb2.ToggleConnectionResponse.FromString,
|
|
47
|
+
)
|
|
48
|
+
self.DisableConnection = channel.unary_unary(
|
|
49
|
+
'/scalekit.v1.connections.ConnectionService/DisableConnection',
|
|
50
|
+
request_serializer=scalekit_dot_v1_dot_connections_dot_connections__pb2.ToggleConnectionRequest.SerializeToString,
|
|
51
|
+
response_deserializer=scalekit_dot_v1_dot_connections_dot_connections__pb2.ToggleConnectionResponse.FromString,
|
|
52
|
+
)
|
|
53
|
+
|
|
54
|
+
|
|
55
|
+
class ConnectionServiceServicer(object):
|
|
56
|
+
"""Missing associated documentation comment in .proto file."""
|
|
57
|
+
|
|
58
|
+
def CreateConnection(self, request, context):
|
|
59
|
+
"""Missing associated documentation comment in .proto file."""
|
|
60
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
61
|
+
context.set_details('Method not implemented!')
|
|
62
|
+
raise NotImplementedError('Method not implemented!')
|
|
63
|
+
|
|
64
|
+
def GetConnection(self, request, context):
|
|
65
|
+
"""Missing associated documentation comment in .proto file."""
|
|
66
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
67
|
+
context.set_details('Method not implemented!')
|
|
68
|
+
raise NotImplementedError('Method not implemented!')
|
|
69
|
+
|
|
70
|
+
def ListConnections(self, request, context):
|
|
71
|
+
"""Missing associated documentation comment in .proto file."""
|
|
72
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
73
|
+
context.set_details('Method not implemented!')
|
|
74
|
+
raise NotImplementedError('Method not implemented!')
|
|
75
|
+
|
|
76
|
+
def UpdateConnection(self, request, context):
|
|
77
|
+
"""Missing associated documentation comment in .proto file."""
|
|
78
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
79
|
+
context.set_details('Method not implemented!')
|
|
80
|
+
raise NotImplementedError('Method not implemented!')
|
|
81
|
+
|
|
82
|
+
def DeleteConnection(self, request, context):
|
|
83
|
+
"""Missing associated documentation comment in .proto file."""
|
|
84
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
85
|
+
context.set_details('Method not implemented!')
|
|
86
|
+
raise NotImplementedError('Method not implemented!')
|
|
87
|
+
|
|
88
|
+
def EnableConnection(self, request, context):
|
|
89
|
+
"""Missing associated documentation comment in .proto file."""
|
|
90
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
91
|
+
context.set_details('Method not implemented!')
|
|
92
|
+
raise NotImplementedError('Method not implemented!')
|
|
93
|
+
|
|
94
|
+
def DisableConnection(self, request, context):
|
|
95
|
+
"""Missing associated documentation comment in .proto file."""
|
|
96
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
97
|
+
context.set_details('Method not implemented!')
|
|
98
|
+
raise NotImplementedError('Method not implemented!')
|
|
99
|
+
|
|
100
|
+
|
|
101
|
+
def add_ConnectionServiceServicer_to_server(servicer, server):
|
|
102
|
+
rpc_method_handlers = {
|
|
103
|
+
'CreateConnection': grpc.unary_unary_rpc_method_handler(
|
|
104
|
+
servicer.CreateConnection,
|
|
105
|
+
request_deserializer=scalekit_dot_v1_dot_connections_dot_connections__pb2.CreateConnectionRequest.FromString,
|
|
106
|
+
response_serializer=scalekit_dot_v1_dot_connections_dot_connections__pb2.CreateConnectionResponse.SerializeToString,
|
|
107
|
+
),
|
|
108
|
+
'GetConnection': grpc.unary_unary_rpc_method_handler(
|
|
109
|
+
servicer.GetConnection,
|
|
110
|
+
request_deserializer=scalekit_dot_v1_dot_connections_dot_connections__pb2.GetConnectionRequest.FromString,
|
|
111
|
+
response_serializer=scalekit_dot_v1_dot_connections_dot_connections__pb2.GetConnectionResponse.SerializeToString,
|
|
112
|
+
),
|
|
113
|
+
'ListConnections': grpc.unary_unary_rpc_method_handler(
|
|
114
|
+
servicer.ListConnections,
|
|
115
|
+
request_deserializer=scalekit_dot_v1_dot_connections_dot_connections__pb2.ListConnectionsRequest.FromString,
|
|
116
|
+
response_serializer=scalekit_dot_v1_dot_connections_dot_connections__pb2.ListConnectionsResponse.SerializeToString,
|
|
117
|
+
),
|
|
118
|
+
'UpdateConnection': grpc.unary_unary_rpc_method_handler(
|
|
119
|
+
servicer.UpdateConnection,
|
|
120
|
+
request_deserializer=scalekit_dot_v1_dot_connections_dot_connections__pb2.UpdateConnectionRequest.FromString,
|
|
121
|
+
response_serializer=scalekit_dot_v1_dot_connections_dot_connections__pb2.UpdateConnectionResponse.SerializeToString,
|
|
122
|
+
),
|
|
123
|
+
'DeleteConnection': grpc.unary_unary_rpc_method_handler(
|
|
124
|
+
servicer.DeleteConnection,
|
|
125
|
+
request_deserializer=scalekit_dot_v1_dot_connections_dot_connections__pb2.DeleteConnectionRequest.FromString,
|
|
126
|
+
response_serializer=google_dot_protobuf_dot_empty__pb2.Empty.SerializeToString,
|
|
127
|
+
),
|
|
128
|
+
'EnableConnection': grpc.unary_unary_rpc_method_handler(
|
|
129
|
+
servicer.EnableConnection,
|
|
130
|
+
request_deserializer=scalekit_dot_v1_dot_connections_dot_connections__pb2.ToggleConnectionRequest.FromString,
|
|
131
|
+
response_serializer=scalekit_dot_v1_dot_connections_dot_connections__pb2.ToggleConnectionResponse.SerializeToString,
|
|
132
|
+
),
|
|
133
|
+
'DisableConnection': grpc.unary_unary_rpc_method_handler(
|
|
134
|
+
servicer.DisableConnection,
|
|
135
|
+
request_deserializer=scalekit_dot_v1_dot_connections_dot_connections__pb2.ToggleConnectionRequest.FromString,
|
|
136
|
+
response_serializer=scalekit_dot_v1_dot_connections_dot_connections__pb2.ToggleConnectionResponse.SerializeToString,
|
|
137
|
+
),
|
|
138
|
+
}
|
|
139
|
+
generic_handler = grpc.method_handlers_generic_handler(
|
|
140
|
+
'scalekit.v1.connections.ConnectionService', rpc_method_handlers)
|
|
141
|
+
server.add_generic_rpc_handlers((generic_handler,))
|
|
142
|
+
|
|
143
|
+
|
|
144
|
+
# This class is part of an EXPERIMENTAL API.
|
|
145
|
+
class ConnectionService(object):
|
|
146
|
+
"""Missing associated documentation comment in .proto file."""
|
|
147
|
+
|
|
148
|
+
@staticmethod
|
|
149
|
+
def CreateConnection(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(request, target, '/scalekit.v1.connections.ConnectionService/CreateConnection',
|
|
160
|
+
scalekit_dot_v1_dot_connections_dot_connections__pb2.CreateConnectionRequest.SerializeToString,
|
|
161
|
+
scalekit_dot_v1_dot_connections_dot_connections__pb2.CreateConnectionResponse.FromString,
|
|
162
|
+
options, channel_credentials,
|
|
163
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
164
|
+
|
|
165
|
+
@staticmethod
|
|
166
|
+
def GetConnection(request,
|
|
167
|
+
target,
|
|
168
|
+
options=(),
|
|
169
|
+
channel_credentials=None,
|
|
170
|
+
call_credentials=None,
|
|
171
|
+
insecure=False,
|
|
172
|
+
compression=None,
|
|
173
|
+
wait_for_ready=None,
|
|
174
|
+
timeout=None,
|
|
175
|
+
metadata=None):
|
|
176
|
+
return grpc.experimental.unary_unary(request, target, '/scalekit.v1.connections.ConnectionService/GetConnection',
|
|
177
|
+
scalekit_dot_v1_dot_connections_dot_connections__pb2.GetConnectionRequest.SerializeToString,
|
|
178
|
+
scalekit_dot_v1_dot_connections_dot_connections__pb2.GetConnectionResponse.FromString,
|
|
179
|
+
options, channel_credentials,
|
|
180
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
181
|
+
|
|
182
|
+
@staticmethod
|
|
183
|
+
def ListConnections(request,
|
|
184
|
+
target,
|
|
185
|
+
options=(),
|
|
186
|
+
channel_credentials=None,
|
|
187
|
+
call_credentials=None,
|
|
188
|
+
insecure=False,
|
|
189
|
+
compression=None,
|
|
190
|
+
wait_for_ready=None,
|
|
191
|
+
timeout=None,
|
|
192
|
+
metadata=None):
|
|
193
|
+
return grpc.experimental.unary_unary(request, target, '/scalekit.v1.connections.ConnectionService/ListConnections',
|
|
194
|
+
scalekit_dot_v1_dot_connections_dot_connections__pb2.ListConnectionsRequest.SerializeToString,
|
|
195
|
+
scalekit_dot_v1_dot_connections_dot_connections__pb2.ListConnectionsResponse.FromString,
|
|
196
|
+
options, channel_credentials,
|
|
197
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
198
|
+
|
|
199
|
+
@staticmethod
|
|
200
|
+
def UpdateConnection(request,
|
|
201
|
+
target,
|
|
202
|
+
options=(),
|
|
203
|
+
channel_credentials=None,
|
|
204
|
+
call_credentials=None,
|
|
205
|
+
insecure=False,
|
|
206
|
+
compression=None,
|
|
207
|
+
wait_for_ready=None,
|
|
208
|
+
timeout=None,
|
|
209
|
+
metadata=None):
|
|
210
|
+
return grpc.experimental.unary_unary(request, target, '/scalekit.v1.connections.ConnectionService/UpdateConnection',
|
|
211
|
+
scalekit_dot_v1_dot_connections_dot_connections__pb2.UpdateConnectionRequest.SerializeToString,
|
|
212
|
+
scalekit_dot_v1_dot_connections_dot_connections__pb2.UpdateConnectionResponse.FromString,
|
|
213
|
+
options, channel_credentials,
|
|
214
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
215
|
+
|
|
216
|
+
@staticmethod
|
|
217
|
+
def DeleteConnection(request,
|
|
218
|
+
target,
|
|
219
|
+
options=(),
|
|
220
|
+
channel_credentials=None,
|
|
221
|
+
call_credentials=None,
|
|
222
|
+
insecure=False,
|
|
223
|
+
compression=None,
|
|
224
|
+
wait_for_ready=None,
|
|
225
|
+
timeout=None,
|
|
226
|
+
metadata=None):
|
|
227
|
+
return grpc.experimental.unary_unary(request, target, '/scalekit.v1.connections.ConnectionService/DeleteConnection',
|
|
228
|
+
scalekit_dot_v1_dot_connections_dot_connections__pb2.DeleteConnectionRequest.SerializeToString,
|
|
229
|
+
google_dot_protobuf_dot_empty__pb2.Empty.FromString,
|
|
230
|
+
options, channel_credentials,
|
|
231
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
232
|
+
|
|
233
|
+
@staticmethod
|
|
234
|
+
def EnableConnection(request,
|
|
235
|
+
target,
|
|
236
|
+
options=(),
|
|
237
|
+
channel_credentials=None,
|
|
238
|
+
call_credentials=None,
|
|
239
|
+
insecure=False,
|
|
240
|
+
compression=None,
|
|
241
|
+
wait_for_ready=None,
|
|
242
|
+
timeout=None,
|
|
243
|
+
metadata=None):
|
|
244
|
+
return grpc.experimental.unary_unary(request, target, '/scalekit.v1.connections.ConnectionService/EnableConnection',
|
|
245
|
+
scalekit_dot_v1_dot_connections_dot_connections__pb2.ToggleConnectionRequest.SerializeToString,
|
|
246
|
+
scalekit_dot_v1_dot_connections_dot_connections__pb2.ToggleConnectionResponse.FromString,
|
|
247
|
+
options, channel_credentials,
|
|
248
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
249
|
+
|
|
250
|
+
@staticmethod
|
|
251
|
+
def DisableConnection(request,
|
|
252
|
+
target,
|
|
253
|
+
options=(),
|
|
254
|
+
channel_credentials=None,
|
|
255
|
+
call_credentials=None,
|
|
256
|
+
insecure=False,
|
|
257
|
+
compression=None,
|
|
258
|
+
wait_for_ready=None,
|
|
259
|
+
timeout=None,
|
|
260
|
+
metadata=None):
|
|
261
|
+
return grpc.experimental.unary_unary(request, target, '/scalekit.v1.connections.ConnectionService/DisableConnection',
|
|
262
|
+
scalekit_dot_v1_dot_connections_dot_connections__pb2.ToggleConnectionRequest.SerializeToString,
|
|
263
|
+
scalekit_dot_v1_dot_connections_dot_connections__pb2.ToggleConnectionResponse.FromString,
|
|
264
|
+
options, channel_credentials,
|
|
265
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
File without changes
|
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# source: scalekit/v1/domains/domains.proto
|
|
4
|
+
# Protobuf Python Version: 5.26.1
|
|
5
|
+
"""Generated protocol buffer code."""
|
|
6
|
+
from google.protobuf import descriptor as _descriptor
|
|
7
|
+
from google.protobuf import descriptor_pool as _descriptor_pool
|
|
8
|
+
from google.protobuf import symbol_database as _symbol_database
|
|
9
|
+
from google.protobuf.internal import builder as _builder
|
|
10
|
+
# @@protoc_insertion_point(imports)
|
|
11
|
+
|
|
12
|
+
_sym_db = _symbol_database.Default()
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
from buf.validate import validate_pb2 as buf_dot_validate_dot_validate__pb2
|
|
16
|
+
from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2
|
|
17
|
+
from google.api import field_behavior_pb2 as google_dot_api_dot_field__behavior__pb2
|
|
18
|
+
from google.protobuf import empty_pb2 as google_dot_protobuf_dot_empty__pb2
|
|
19
|
+
from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2
|
|
20
|
+
from google.protobuf import wrappers_pb2 as google_dot_protobuf_dot_wrappers__pb2
|
|
21
|
+
from scalekit.v1.options import options_pb2 as scalekit_dot_v1_dot_options_dot_options__pb2
|
|
22
|
+
|
|
23
|
+
|
|
24
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n!scalekit/v1/domains/domains.proto\x12\x13scalekit.v1.domains\x1a\x1b\x62uf/validate/validate.proto\x1a\x1cgoogle/api/annotations.proto\x1a\x1fgoogle/api/field_behavior.proto\x1a\x1bgoogle/protobuf/empty.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1egoogle/protobuf/wrappers.proto\x1a!scalekit/v1/options/options.proto\"\xfe\x01\n\x13\x43reateDomainRequest\x12\x34\n\x0forganization_id\x18\x01 \x01(\tB\t\xbaH\x06r\x04\x10\x01\x18 H\x00R\x0eorganizationId\x12,\n\x0b\x65xternal_id\x18\x02 \x01(\tB\t\xbaH\x06r\x04\x10\x01\x18 H\x00R\nexternalId\x12(\n\rconnection_id\x18\x03 \x01(\tH\x01R\x0c\x63onnectionId\x88\x01\x01\x12\x39\n\x06\x64omain\x18\x04 \x01(\x0b\x32!.scalekit.v1.domains.CreateDomainR\x06\x64omainB\x0c\n\nidentitiesB\x10\n\x0e_connection_id\"K\n\x14\x43reateDomainResponse\x12\x33\n\x06\x64omain\x18\x01 \x01(\x0b\x32\x1b.scalekit.v1.domains.DomainR\x06\x64omain\"5\n\x0c\x43reateDomain\x12%\n\x06\x64omain\x18\x01 \x01(\tB\r\xbaH\nr\x05\x10\x04\x18\xff\x01\xc8\x01\x01R\x06\x64omain\"\x8e\x02\n\x13UpdateDomainRequest\x12\x34\n\x0forganization_id\x18\x01 \x01(\tB\t\xbaH\x06r\x04\x10\x01\x18 H\x00R\x0eorganizationId\x12,\n\x0b\x65xternal_id\x18\x02 \x01(\tB\t\xbaH\x06r\x04\x10\x01\x18 H\x00R\nexternalId\x12(\n\rconnection_id\x18\x03 \x01(\tH\x01R\x0c\x63onnectionId\x88\x01\x01\x12\x0e\n\x02id\x18\x04 \x01(\tR\x02id\x12\x39\n\x06\x64omain\x18\x05 \x01(\x0b\x32!.scalekit.v1.domains.UpdateDomainR\x06\x64omainB\x0c\n\nidentitiesB\x10\n\x0e_connection_id\"\x0e\n\x0cUpdateDomain\"K\n\x14UpdateDomainResponse\x12\x33\n\x06\x64omain\x18\x01 \x01(\x0b\x32\x1b.scalekit.v1.domains.DomainR\x06\x64omain\"\x94\x01\n\x10GetDomainRequest\x12\x34\n\x0forganization_id\x18\x01 \x01(\tB\t\xbaH\x06r\x04\x10\x01\x18 H\x00R\x0eorganizationId\x12,\n\x0b\x65xternal_id\x18\x02 \x01(\tB\t\xbaH\x06r\x04\x10\x01\x18 H\x00R\nexternalId\x12\x0e\n\x02id\x18\x03 \x01(\tR\x02idB\x0c\n\nidentities\"H\n\x11GetDomainResponse\x12\x33\n\x06\x64omain\x18\x01 \x01(\x0b\x32\x1b.scalekit.v1.domains.DomainR\x06\x64omain\"\xd3\x01\n\x13\x44\x65leteDomainRequest\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x34\n\x0forganization_id\x18\x02 \x01(\tB\t\xbaH\x06r\x04\x10\x01\x18 H\x00R\x0eorganizationId\x12,\n\x0b\x65xternal_id\x18\x03 \x01(\tB\t\xbaH\x06r\x04\x10\x01\x18 H\x00R\nexternalId\x12(\n\rconnection_id\x18\x04 \x01(\tH\x01R\x0c\x63onnectionId\x88\x01\x01\x42\x0c\n\nidentitiesB\x10\n\x0e_connection_id\"\xe4\x02\n\x11ListDomainRequest\x12\x34\n\x0forganization_id\x18\x01 \x01(\tB\t\xbaH\x06r\x04\x10\x01\x18 H\x00R\x0eorganizationId\x12,\n\x0b\x65xternal_id\x18\x02 \x01(\tB\t\xbaH\x06r\x04\x10\x01\x18 H\x00R\nexternalId\x12(\n\rconnection_id\x18\x03 \x01(\tH\x01R\x0c\x63onnectionId\x88\x01\x01\x12\x1d\n\x07include\x18\x04 \x01(\tH\x02R\x07include\x88\x01\x01\x12\x38\n\tpage_size\x18\x05 \x01(\x0b\x32\x1b.google.protobuf.Int32ValueR\x08pageSize\x12<\n\x0bpage_number\x18\x06 \x01(\x0b\x32\x1b.google.protobuf.Int32ValueR\npageNumberB\x0c\n\nidentitiesB\x10\n\x0e_connection_idB\n\n\x08_include\"\x89\x01\n\x12ListDomainResponse\x12\x1b\n\tpage_size\x18\x01 \x01(\x05R\x08pageSize\x12\x1f\n\x0bpage_number\x18\x02 \x01(\x05R\npageNumber\x12\x35\n\x07\x64omains\x18\x03 \x03(\x0b\x32\x1b.scalekit.v1.domains.DomainR\x07\x64omains\"\xfe\x03\n\x06\x44omain\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x16\n\x06\x64omain\x18\x02 \x01(\tR\x06\x64omain\x12%\n\x0e\x65nvironment_id\x18\x03 \x01(\tR\renvironmentId\x12\'\n\x0forganization_id\x18\x04 \x01(\tR\x0eorganizationId\x12#\n\rconnection_id\x18\x05 \x01(\tR\x0c\x63onnectionId\x12$\n\x0etxt_record_key\x18\x06 \x01(\tR\x0ctxtRecordKey\x12*\n\x11txt_record_secret\x18\x07 \x01(\tR\x0ftxtRecordSecret\x12X\n\x13verification_status\x18\x08 \x01(\x0e\x32\'.scalekit.v1.domains.VerificationStatusR\x12verificationStatus\x12;\n\x0b\x63reate_time\x18\t \x01(\x0b\x32\x1a.google.protobuf.TimestampR\ncreateTime\x12;\n\x0bupdate_time\x18\n \x01(\x0b\x32\x1a.google.protobuf.TimestampR\nupdateTime\x12\"\n\ncreated_by\x18\x0b \x01(\tH\x00R\tcreatedBy\x88\x01\x01\x42\r\n\x0b_created_by*`\n\x12VerificationStatus\x12#\n\x1fVERIFICATION_STATUS_UNSPECIFIED\x10\x00\x12\x0b\n\x07PENDING\x10\x01\x12\x0c\n\x08VERIFIED\x10\x02\x12\n\n\x06\x46\x41ILED\x10\x03\x32\x8f\x08\n\rDomainService\x12\xd5\x01\n\x0c\x43reateDomain\x12(.scalekit.v1.domains.CreateDomainRequest\x1a).scalekit.v1.domains.CreateDomainResponse\"p\x82\xb5\x18\x02\x18\x14\x82\xd3\xe4\x93\x02\x64\"//api/v1/organizations/{organization_id}/domains:\x06\x64omainZ)\"\x1f/api/v1/organizations/-/domains:\x06\x64omain\x12\xda\x01\n\x0cUpdateDomain\x12(.scalekit.v1.domains.UpdateDomainRequest\x1a).scalekit.v1.domains.UpdateDomainResponse\"u\x82\xb5\x18\x02\x18\x14\x82\xd3\xe4\x93\x02i24/api/v1/organizations/{organization_id}/domains/{id}:\x06\x64omainZ)2\x1f/api/v1/organizations/-/domains:\x06\x64omain\x12\xc6\x01\n\tGetDomain\x12%.scalekit.v1.domains.GetDomainRequest\x1a&.scalekit.v1.domains.GetDomainResponse\"j\x82\xb5\x18\x02\x18\x14\x82\xd3\xe4\x93\x02^\x12\x34/api/v1/organizations/{organization_id}/domains/{id}Z&\x12$/api/v1/organizations/-/domains/{id}\x12\xbc\x01\n\x0c\x44\x65leteDomain\x12(.scalekit.v1.domains.DeleteDomainRequest\x1a\x16.google.protobuf.Empty\"j\x82\xb5\x18\x02\x18\x14\x82\xd3\xe4\x93\x02^*4/api/v1/organizations/{organization_id}/domains/{id}Z&*$/api/v1/organizations/-/domains/{id}\x12\xc0\x01\n\x0bListDomains\x12&.scalekit.v1.domains.ListDomainRequest\x1a\'.scalekit.v1.domains.ListDomainResponse\"`\x82\xb5\x18\x02\x18\x14\x82\xd3\xe4\x93\x02T\x12//api/v1/organizations/{organization_id}/domainsZ!\x12\x1f/api/v1/organizations/-/domainsB3Z1github.com/scalekit-inc/scalekit/pkg/grpc/domainsb\x06proto3')
|
|
25
|
+
|
|
26
|
+
_globals = globals()
|
|
27
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
28
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'scalekit.v1.domains.domains_pb2', _globals)
|
|
29
|
+
if not _descriptor._USE_C_DESCRIPTORS:
|
|
30
|
+
_globals['DESCRIPTOR']._loaded_options = None
|
|
31
|
+
_globals['DESCRIPTOR']._serialized_options = b'Z1github.com/scalekit-inc/scalekit/pkg/grpc/domains'
|
|
32
|
+
_globals['_CREATEDOMAINREQUEST'].fields_by_name['organization_id']._loaded_options = None
|
|
33
|
+
_globals['_CREATEDOMAINREQUEST'].fields_by_name['organization_id']._serialized_options = b'\272H\006r\004\020\001\030 '
|
|
34
|
+
_globals['_CREATEDOMAINREQUEST'].fields_by_name['external_id']._loaded_options = None
|
|
35
|
+
_globals['_CREATEDOMAINREQUEST'].fields_by_name['external_id']._serialized_options = b'\272H\006r\004\020\001\030 '
|
|
36
|
+
_globals['_CREATEDOMAIN'].fields_by_name['domain']._loaded_options = None
|
|
37
|
+
_globals['_CREATEDOMAIN'].fields_by_name['domain']._serialized_options = b'\272H\nr\005\020\004\030\377\001\310\001\001'
|
|
38
|
+
_globals['_UPDATEDOMAINREQUEST'].fields_by_name['organization_id']._loaded_options = None
|
|
39
|
+
_globals['_UPDATEDOMAINREQUEST'].fields_by_name['organization_id']._serialized_options = b'\272H\006r\004\020\001\030 '
|
|
40
|
+
_globals['_UPDATEDOMAINREQUEST'].fields_by_name['external_id']._loaded_options = None
|
|
41
|
+
_globals['_UPDATEDOMAINREQUEST'].fields_by_name['external_id']._serialized_options = b'\272H\006r\004\020\001\030 '
|
|
42
|
+
_globals['_GETDOMAINREQUEST'].fields_by_name['organization_id']._loaded_options = None
|
|
43
|
+
_globals['_GETDOMAINREQUEST'].fields_by_name['organization_id']._serialized_options = b'\272H\006r\004\020\001\030 '
|
|
44
|
+
_globals['_GETDOMAINREQUEST'].fields_by_name['external_id']._loaded_options = None
|
|
45
|
+
_globals['_GETDOMAINREQUEST'].fields_by_name['external_id']._serialized_options = b'\272H\006r\004\020\001\030 '
|
|
46
|
+
_globals['_DELETEDOMAINREQUEST'].fields_by_name['organization_id']._loaded_options = None
|
|
47
|
+
_globals['_DELETEDOMAINREQUEST'].fields_by_name['organization_id']._serialized_options = b'\272H\006r\004\020\001\030 '
|
|
48
|
+
_globals['_DELETEDOMAINREQUEST'].fields_by_name['external_id']._loaded_options = None
|
|
49
|
+
_globals['_DELETEDOMAINREQUEST'].fields_by_name['external_id']._serialized_options = b'\272H\006r\004\020\001\030 '
|
|
50
|
+
_globals['_LISTDOMAINREQUEST'].fields_by_name['organization_id']._loaded_options = None
|
|
51
|
+
_globals['_LISTDOMAINREQUEST'].fields_by_name['organization_id']._serialized_options = b'\272H\006r\004\020\001\030 '
|
|
52
|
+
_globals['_LISTDOMAINREQUEST'].fields_by_name['external_id']._loaded_options = None
|
|
53
|
+
_globals['_LISTDOMAINREQUEST'].fields_by_name['external_id']._serialized_options = b'\272H\006r\004\020\001\030 '
|
|
54
|
+
_globals['_DOMAINSERVICE'].methods_by_name['CreateDomain']._loaded_options = None
|
|
55
|
+
_globals['_DOMAINSERVICE'].methods_by_name['CreateDomain']._serialized_options = b'\202\265\030\002\030\024\202\323\344\223\002d\"//api/v1/organizations/{organization_id}/domains:\006domainZ)\"\037/api/v1/organizations/-/domains:\006domain'
|
|
56
|
+
_globals['_DOMAINSERVICE'].methods_by_name['UpdateDomain']._loaded_options = None
|
|
57
|
+
_globals['_DOMAINSERVICE'].methods_by_name['UpdateDomain']._serialized_options = b'\202\265\030\002\030\024\202\323\344\223\002i24/api/v1/organizations/{organization_id}/domains/{id}:\006domainZ)2\037/api/v1/organizations/-/domains:\006domain'
|
|
58
|
+
_globals['_DOMAINSERVICE'].methods_by_name['GetDomain']._loaded_options = None
|
|
59
|
+
_globals['_DOMAINSERVICE'].methods_by_name['GetDomain']._serialized_options = b'\202\265\030\002\030\024\202\323\344\223\002^\0224/api/v1/organizations/{organization_id}/domains/{id}Z&\022$/api/v1/organizations/-/domains/{id}'
|
|
60
|
+
_globals['_DOMAINSERVICE'].methods_by_name['DeleteDomain']._loaded_options = None
|
|
61
|
+
_globals['_DOMAINSERVICE'].methods_by_name['DeleteDomain']._serialized_options = b'\202\265\030\002\030\024\202\323\344\223\002^*4/api/v1/organizations/{organization_id}/domains/{id}Z&*$/api/v1/organizations/-/domains/{id}'
|
|
62
|
+
_globals['_DOMAINSERVICE'].methods_by_name['ListDomains']._loaded_options = None
|
|
63
|
+
_globals['_DOMAINSERVICE'].methods_by_name['ListDomains']._serialized_options = b'\202\265\030\002\030\024\202\323\344\223\002T\022//api/v1/organizations/{organization_id}/domainsZ!\022\037/api/v1/organizations/-/domains'
|
|
64
|
+
_globals['_VERIFICATIONSTATUS']._serialized_start=2485
|
|
65
|
+
_globals['_VERIFICATIONSTATUS']._serialized_end=2581
|
|
66
|
+
_globals['_CREATEDOMAINREQUEST']._serialized_start=280
|
|
67
|
+
_globals['_CREATEDOMAINREQUEST']._serialized_end=534
|
|
68
|
+
_globals['_CREATEDOMAINRESPONSE']._serialized_start=536
|
|
69
|
+
_globals['_CREATEDOMAINRESPONSE']._serialized_end=611
|
|
70
|
+
_globals['_CREATEDOMAIN']._serialized_start=613
|
|
71
|
+
_globals['_CREATEDOMAIN']._serialized_end=666
|
|
72
|
+
_globals['_UPDATEDOMAINREQUEST']._serialized_start=669
|
|
73
|
+
_globals['_UPDATEDOMAINREQUEST']._serialized_end=939
|
|
74
|
+
_globals['_UPDATEDOMAIN']._serialized_start=941
|
|
75
|
+
_globals['_UPDATEDOMAIN']._serialized_end=955
|
|
76
|
+
_globals['_UPDATEDOMAINRESPONSE']._serialized_start=957
|
|
77
|
+
_globals['_UPDATEDOMAINRESPONSE']._serialized_end=1032
|
|
78
|
+
_globals['_GETDOMAINREQUEST']._serialized_start=1035
|
|
79
|
+
_globals['_GETDOMAINREQUEST']._serialized_end=1183
|
|
80
|
+
_globals['_GETDOMAINRESPONSE']._serialized_start=1185
|
|
81
|
+
_globals['_GETDOMAINRESPONSE']._serialized_end=1257
|
|
82
|
+
_globals['_DELETEDOMAINREQUEST']._serialized_start=1260
|
|
83
|
+
_globals['_DELETEDOMAINREQUEST']._serialized_end=1471
|
|
84
|
+
_globals['_LISTDOMAINREQUEST']._serialized_start=1474
|
|
85
|
+
_globals['_LISTDOMAINREQUEST']._serialized_end=1830
|
|
86
|
+
_globals['_LISTDOMAINRESPONSE']._serialized_start=1833
|
|
87
|
+
_globals['_LISTDOMAINRESPONSE']._serialized_end=1970
|
|
88
|
+
_globals['_DOMAIN']._serialized_start=1973
|
|
89
|
+
_globals['_DOMAIN']._serialized_end=2483
|
|
90
|
+
_globals['_DOMAINSERVICE']._serialized_start=2584
|
|
91
|
+
_globals['_DOMAINSERVICE']._serialized_end=3623
|
|
92
|
+
# @@protoc_insertion_point(module_scope)
|
|
@@ -0,0 +1,153 @@
|
|
|
1
|
+
from buf.validate import validate_pb2 as _validate_pb2
|
|
2
|
+
from google.api import annotations_pb2 as _annotations_pb2
|
|
3
|
+
from google.api import field_behavior_pb2 as _field_behavior_pb2
|
|
4
|
+
from google.protobuf import empty_pb2 as _empty_pb2
|
|
5
|
+
from google.protobuf import timestamp_pb2 as _timestamp_pb2
|
|
6
|
+
from google.protobuf import wrappers_pb2 as _wrappers_pb2
|
|
7
|
+
from scalekit.v1.options import options_pb2 as _options_pb2
|
|
8
|
+
from google.protobuf.internal import containers as _containers
|
|
9
|
+
from google.protobuf.internal import enum_type_wrapper as _enum_type_wrapper
|
|
10
|
+
from google.protobuf import descriptor as _descriptor
|
|
11
|
+
from google.protobuf import message as _message
|
|
12
|
+
from typing import ClassVar as _ClassVar, Iterable as _Iterable, Mapping as _Mapping, Optional as _Optional, Union as _Union
|
|
13
|
+
|
|
14
|
+
DESCRIPTOR: _descriptor.FileDescriptor
|
|
15
|
+
|
|
16
|
+
class VerificationStatus(int, metaclass=_enum_type_wrapper.EnumTypeWrapper):
|
|
17
|
+
__slots__ = ()
|
|
18
|
+
VERIFICATION_STATUS_UNSPECIFIED: _ClassVar[VerificationStatus]
|
|
19
|
+
PENDING: _ClassVar[VerificationStatus]
|
|
20
|
+
VERIFIED: _ClassVar[VerificationStatus]
|
|
21
|
+
FAILED: _ClassVar[VerificationStatus]
|
|
22
|
+
VERIFICATION_STATUS_UNSPECIFIED: VerificationStatus
|
|
23
|
+
PENDING: VerificationStatus
|
|
24
|
+
VERIFIED: VerificationStatus
|
|
25
|
+
FAILED: VerificationStatus
|
|
26
|
+
|
|
27
|
+
class CreateDomainRequest(_message.Message):
|
|
28
|
+
__slots__ = ("organization_id", "external_id", "connection_id", "domain")
|
|
29
|
+
ORGANIZATION_ID_FIELD_NUMBER: _ClassVar[int]
|
|
30
|
+
EXTERNAL_ID_FIELD_NUMBER: _ClassVar[int]
|
|
31
|
+
CONNECTION_ID_FIELD_NUMBER: _ClassVar[int]
|
|
32
|
+
DOMAIN_FIELD_NUMBER: _ClassVar[int]
|
|
33
|
+
organization_id: str
|
|
34
|
+
external_id: str
|
|
35
|
+
connection_id: str
|
|
36
|
+
domain: CreateDomain
|
|
37
|
+
def __init__(self, organization_id: _Optional[str] = ..., external_id: _Optional[str] = ..., connection_id: _Optional[str] = ..., domain: _Optional[_Union[CreateDomain, _Mapping]] = ...) -> None: ...
|
|
38
|
+
|
|
39
|
+
class CreateDomainResponse(_message.Message):
|
|
40
|
+
__slots__ = ("domain",)
|
|
41
|
+
DOMAIN_FIELD_NUMBER: _ClassVar[int]
|
|
42
|
+
domain: Domain
|
|
43
|
+
def __init__(self, domain: _Optional[_Union[Domain, _Mapping]] = ...) -> None: ...
|
|
44
|
+
|
|
45
|
+
class CreateDomain(_message.Message):
|
|
46
|
+
__slots__ = ("domain",)
|
|
47
|
+
DOMAIN_FIELD_NUMBER: _ClassVar[int]
|
|
48
|
+
domain: str
|
|
49
|
+
def __init__(self, domain: _Optional[str] = ...) -> None: ...
|
|
50
|
+
|
|
51
|
+
class UpdateDomainRequest(_message.Message):
|
|
52
|
+
__slots__ = ("organization_id", "external_id", "connection_id", "id", "domain")
|
|
53
|
+
ORGANIZATION_ID_FIELD_NUMBER: _ClassVar[int]
|
|
54
|
+
EXTERNAL_ID_FIELD_NUMBER: _ClassVar[int]
|
|
55
|
+
CONNECTION_ID_FIELD_NUMBER: _ClassVar[int]
|
|
56
|
+
ID_FIELD_NUMBER: _ClassVar[int]
|
|
57
|
+
DOMAIN_FIELD_NUMBER: _ClassVar[int]
|
|
58
|
+
organization_id: str
|
|
59
|
+
external_id: str
|
|
60
|
+
connection_id: str
|
|
61
|
+
id: str
|
|
62
|
+
domain: UpdateDomain
|
|
63
|
+
def __init__(self, organization_id: _Optional[str] = ..., external_id: _Optional[str] = ..., connection_id: _Optional[str] = ..., id: _Optional[str] = ..., domain: _Optional[_Union[UpdateDomain, _Mapping]] = ...) -> None: ...
|
|
64
|
+
|
|
65
|
+
class UpdateDomain(_message.Message):
|
|
66
|
+
__slots__ = ()
|
|
67
|
+
def __init__(self) -> None: ...
|
|
68
|
+
|
|
69
|
+
class UpdateDomainResponse(_message.Message):
|
|
70
|
+
__slots__ = ("domain",)
|
|
71
|
+
DOMAIN_FIELD_NUMBER: _ClassVar[int]
|
|
72
|
+
domain: Domain
|
|
73
|
+
def __init__(self, domain: _Optional[_Union[Domain, _Mapping]] = ...) -> None: ...
|
|
74
|
+
|
|
75
|
+
class GetDomainRequest(_message.Message):
|
|
76
|
+
__slots__ = ("organization_id", "external_id", "id")
|
|
77
|
+
ORGANIZATION_ID_FIELD_NUMBER: _ClassVar[int]
|
|
78
|
+
EXTERNAL_ID_FIELD_NUMBER: _ClassVar[int]
|
|
79
|
+
ID_FIELD_NUMBER: _ClassVar[int]
|
|
80
|
+
organization_id: str
|
|
81
|
+
external_id: str
|
|
82
|
+
id: str
|
|
83
|
+
def __init__(self, organization_id: _Optional[str] = ..., external_id: _Optional[str] = ..., id: _Optional[str] = ...) -> None: ...
|
|
84
|
+
|
|
85
|
+
class GetDomainResponse(_message.Message):
|
|
86
|
+
__slots__ = ("domain",)
|
|
87
|
+
DOMAIN_FIELD_NUMBER: _ClassVar[int]
|
|
88
|
+
domain: Domain
|
|
89
|
+
def __init__(self, domain: _Optional[_Union[Domain, _Mapping]] = ...) -> None: ...
|
|
90
|
+
|
|
91
|
+
class DeleteDomainRequest(_message.Message):
|
|
92
|
+
__slots__ = ("id", "organization_id", "external_id", "connection_id")
|
|
93
|
+
ID_FIELD_NUMBER: _ClassVar[int]
|
|
94
|
+
ORGANIZATION_ID_FIELD_NUMBER: _ClassVar[int]
|
|
95
|
+
EXTERNAL_ID_FIELD_NUMBER: _ClassVar[int]
|
|
96
|
+
CONNECTION_ID_FIELD_NUMBER: _ClassVar[int]
|
|
97
|
+
id: str
|
|
98
|
+
organization_id: str
|
|
99
|
+
external_id: str
|
|
100
|
+
connection_id: str
|
|
101
|
+
def __init__(self, id: _Optional[str] = ..., organization_id: _Optional[str] = ..., external_id: _Optional[str] = ..., connection_id: _Optional[str] = ...) -> None: ...
|
|
102
|
+
|
|
103
|
+
class ListDomainRequest(_message.Message):
|
|
104
|
+
__slots__ = ("organization_id", "external_id", "connection_id", "include", "page_size", "page_number")
|
|
105
|
+
ORGANIZATION_ID_FIELD_NUMBER: _ClassVar[int]
|
|
106
|
+
EXTERNAL_ID_FIELD_NUMBER: _ClassVar[int]
|
|
107
|
+
CONNECTION_ID_FIELD_NUMBER: _ClassVar[int]
|
|
108
|
+
INCLUDE_FIELD_NUMBER: _ClassVar[int]
|
|
109
|
+
PAGE_SIZE_FIELD_NUMBER: _ClassVar[int]
|
|
110
|
+
PAGE_NUMBER_FIELD_NUMBER: _ClassVar[int]
|
|
111
|
+
organization_id: str
|
|
112
|
+
external_id: str
|
|
113
|
+
connection_id: str
|
|
114
|
+
include: str
|
|
115
|
+
page_size: _wrappers_pb2.Int32Value
|
|
116
|
+
page_number: _wrappers_pb2.Int32Value
|
|
117
|
+
def __init__(self, organization_id: _Optional[str] = ..., external_id: _Optional[str] = ..., connection_id: _Optional[str] = ..., include: _Optional[str] = ..., page_size: _Optional[_Union[_wrappers_pb2.Int32Value, _Mapping]] = ..., page_number: _Optional[_Union[_wrappers_pb2.Int32Value, _Mapping]] = ...) -> None: ...
|
|
118
|
+
|
|
119
|
+
class ListDomainResponse(_message.Message):
|
|
120
|
+
__slots__ = ("page_size", "page_number", "domains")
|
|
121
|
+
PAGE_SIZE_FIELD_NUMBER: _ClassVar[int]
|
|
122
|
+
PAGE_NUMBER_FIELD_NUMBER: _ClassVar[int]
|
|
123
|
+
DOMAINS_FIELD_NUMBER: _ClassVar[int]
|
|
124
|
+
page_size: int
|
|
125
|
+
page_number: int
|
|
126
|
+
domains: _containers.RepeatedCompositeFieldContainer[Domain]
|
|
127
|
+
def __init__(self, page_size: _Optional[int] = ..., page_number: _Optional[int] = ..., domains: _Optional[_Iterable[_Union[Domain, _Mapping]]] = ...) -> None: ...
|
|
128
|
+
|
|
129
|
+
class Domain(_message.Message):
|
|
130
|
+
__slots__ = ("id", "domain", "environment_id", "organization_id", "connection_id", "txt_record_key", "txt_record_secret", "verification_status", "create_time", "update_time", "created_by")
|
|
131
|
+
ID_FIELD_NUMBER: _ClassVar[int]
|
|
132
|
+
DOMAIN_FIELD_NUMBER: _ClassVar[int]
|
|
133
|
+
ENVIRONMENT_ID_FIELD_NUMBER: _ClassVar[int]
|
|
134
|
+
ORGANIZATION_ID_FIELD_NUMBER: _ClassVar[int]
|
|
135
|
+
CONNECTION_ID_FIELD_NUMBER: _ClassVar[int]
|
|
136
|
+
TXT_RECORD_KEY_FIELD_NUMBER: _ClassVar[int]
|
|
137
|
+
TXT_RECORD_SECRET_FIELD_NUMBER: _ClassVar[int]
|
|
138
|
+
VERIFICATION_STATUS_FIELD_NUMBER: _ClassVar[int]
|
|
139
|
+
CREATE_TIME_FIELD_NUMBER: _ClassVar[int]
|
|
140
|
+
UPDATE_TIME_FIELD_NUMBER: _ClassVar[int]
|
|
141
|
+
CREATED_BY_FIELD_NUMBER: _ClassVar[int]
|
|
142
|
+
id: str
|
|
143
|
+
domain: str
|
|
144
|
+
environment_id: str
|
|
145
|
+
organization_id: str
|
|
146
|
+
connection_id: str
|
|
147
|
+
txt_record_key: str
|
|
148
|
+
txt_record_secret: str
|
|
149
|
+
verification_status: VerificationStatus
|
|
150
|
+
create_time: _timestamp_pb2.Timestamp
|
|
151
|
+
update_time: _timestamp_pb2.Timestamp
|
|
152
|
+
created_by: str
|
|
153
|
+
def __init__(self, id: _Optional[str] = ..., domain: _Optional[str] = ..., environment_id: _Optional[str] = ..., organization_id: _Optional[str] = ..., connection_id: _Optional[str] = ..., txt_record_key: _Optional[str] = ..., txt_record_secret: _Optional[str] = ..., verification_status: _Optional[_Union[VerificationStatus, str]] = ..., create_time: _Optional[_Union[_timestamp_pb2.Timestamp, _Mapping]] = ..., update_time: _Optional[_Union[_timestamp_pb2.Timestamp, _Mapping]] = ..., created_by: _Optional[str] = ...) -> None: ...
|