yandexcloud 0.317.0__py3-none-any.whl → 0.319.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- yandex/cloud/ai/assistants/__init__.py +0 -0
- yandex/cloud/ai/assistants/v1/__init__.py +0 -0
- yandex/cloud/ai/assistants/v1/assistant_pb2.py +33 -0
- yandex/cloud/ai/assistants/v1/assistant_pb2.pyi +101 -0
- yandex/cloud/ai/assistants/v1/assistant_pb2_grpc.py +4 -0
- yandex/cloud/ai/assistants/v1/assistant_pb2_grpc.pyi +17 -0
- yandex/cloud/ai/assistants/v1/assistant_service_pb2.py +88 -0
- yandex/cloud/ai/assistants/v1/assistant_service_pb2.pyi +293 -0
- yandex/cloud/ai/assistants/v1/assistant_service_pb2_grpc.py +232 -0
- yandex/cloud/ai/assistants/v1/assistant_service_pb2_grpc.pyi +127 -0
- yandex/cloud/ai/assistants/v1/common_pb2.py +33 -0
- yandex/cloud/ai/assistants/v1/common_pb2.pyi +91 -0
- yandex/cloud/ai/assistants/v1/common_pb2_grpc.py +4 -0
- yandex/cloud/ai/assistants/v1/common_pb2_grpc.pyi +17 -0
- yandex/cloud/ai/assistants/v1/runs/__init__.py +0 -0
- yandex/cloud/ai/assistants/v1/runs/run_pb2.py +40 -0
- yandex/cloud/ai/assistants/v1/runs/run_pb2.pyi +154 -0
- yandex/cloud/ai/assistants/v1/runs/run_pb2_grpc.py +4 -0
- yandex/cloud/ai/assistants/v1/runs/run_pb2_grpc.pyi +17 -0
- yandex/cloud/ai/assistants/v1/runs/run_service_pb2.py +77 -0
- yandex/cloud/ai/assistants/v1/runs/run_service_pb2.pyi +237 -0
- yandex/cloud/ai/assistants/v1/runs/run_service_pb2_grpc.py +199 -0
- yandex/cloud/ai/assistants/v1/runs/run_service_pb2_grpc.pyi +110 -0
- yandex/cloud/ai/assistants/v1/searchindex/__init__.py +0 -0
- yandex/cloud/ai/assistants/v1/searchindex/common_pb2.py +28 -0
- yandex/cloud/ai/assistants/v1/searchindex/common_pb2.pyi +47 -0
- yandex/cloud/ai/assistants/v1/searchindex/common_pb2_grpc.py +4 -0
- yandex/cloud/ai/assistants/v1/searchindex/common_pb2_grpc.pyi +17 -0
- yandex/cloud/ai/assistants/v1/searchindex/search_index_file_pb2.py +28 -0
- yandex/cloud/ai/assistants/v1/searchindex/search_index_file_pb2.pyi +43 -0
- yandex/cloud/ai/assistants/v1/searchindex/search_index_file_pb2_grpc.py +4 -0
- yandex/cloud/ai/assistants/v1/searchindex/search_index_file_pb2_grpc.pyi +17 -0
- yandex/cloud/ai/assistants/v1/searchindex/search_index_file_service_pb2.py +45 -0
- yandex/cloud/ai/assistants/v1/searchindex/search_index_file_service_pb2.pyi +72 -0
- yandex/cloud/ai/assistants/v1/searchindex/search_index_file_service_pb2_grpc.py +100 -0
- yandex/cloud/ai/assistants/v1/searchindex/search_index_file_service_pb2_grpc.pyi +59 -0
- yandex/cloud/ai/assistants/v1/searchindex/search_index_pb2.py +37 -0
- yandex/cloud/ai/assistants/v1/searchindex/search_index_pb2.pyi +132 -0
- yandex/cloud/ai/assistants/v1/searchindex/search_index_pb2_grpc.py +4 -0
- yandex/cloud/ai/assistants/v1/searchindex/search_index_pb2_grpc.pyi +17 -0
- yandex/cloud/ai/assistants/v1/searchindex/search_index_service_pb2.py +77 -0
- yandex/cloud/ai/assistants/v1/searchindex/search_index_service_pb2.pyi +205 -0
- yandex/cloud/ai/assistants/v1/searchindex/search_index_service_pb2_grpc.py +200 -0
- yandex/cloud/ai/assistants/v1/searchindex/search_index_service_pb2_grpc.pyi +111 -0
- yandex/cloud/ai/assistants/v1/threads/__init__.py +0 -0
- yandex/cloud/ai/assistants/v1/threads/message_pb2.py +45 -0
- yandex/cloud/ai/assistants/v1/threads/message_pb2.pyi +176 -0
- yandex/cloud/ai/assistants/v1/threads/message_pb2_grpc.py +4 -0
- yandex/cloud/ai/assistants/v1/threads/message_pb2_grpc.pyi +17 -0
- yandex/cloud/ai/assistants/v1/threads/message_service_pb2.py +55 -0
- yandex/cloud/ai/assistants/v1/threads/message_service_pb2.pyi +91 -0
- yandex/cloud/ai/assistants/v1/threads/message_service_pb2_grpc.py +133 -0
- yandex/cloud/ai/assistants/v1/threads/message_service_pb2_grpc.pyi +76 -0
- yandex/cloud/ai/assistants/v1/threads/thread_pb2.py +32 -0
- yandex/cloud/ai/assistants/v1/threads/thread_pb2.pyi +85 -0
- yandex/cloud/ai/assistants/v1/threads/thread_pb2_grpc.py +4 -0
- yandex/cloud/ai/assistants/v1/threads/thread_pb2_grpc.pyi +17 -0
- yandex/cloud/ai/assistants/v1/threads/thread_service_pb2.py +76 -0
- yandex/cloud/ai/assistants/v1/threads/thread_service_pb2.pyi +200 -0
- yandex/cloud/ai/assistants/v1/threads/thread_service_pb2_grpc.py +199 -0
- yandex/cloud/ai/assistants/v1/threads/thread_service_pb2_grpc.pyi +110 -0
- yandex/cloud/ai/assistants/v1/users/__init__.py +0 -0
- yandex/cloud/ai/assistants/v1/users/user_pb2.py +32 -0
- yandex/cloud/ai/assistants/v1/users/user_pb2.pyi +85 -0
- yandex/cloud/ai/assistants/v1/users/user_pb2_grpc.py +4 -0
- yandex/cloud/ai/assistants/v1/users/user_pb2_grpc.pyi +17 -0
- yandex/cloud/ai/assistants/v1/users/user_service_pb2.py +75 -0
- yandex/cloud/ai/assistants/v1/users/user_service_pb2.pyi +195 -0
- yandex/cloud/ai/assistants/v1/users/user_service_pb2_grpc.py +199 -0
- yandex/cloud/ai/assistants/v1/users/user_service_pb2_grpc.pyi +110 -0
- yandex/cloud/ai/common/__init__.py +0 -0
- yandex/cloud/ai/common/common_pb2.py +30 -0
- yandex/cloud/ai/common/common_pb2.pyi +69 -0
- yandex/cloud/ai/common/common_pb2_grpc.py +4 -0
- yandex/cloud/ai/common/common_pb2_grpc.pyi +17 -0
- yandex/cloud/ai/files/__init__.py +0 -0
- yandex/cloud/ai/files/v1/__init__.py +0 -0
- yandex/cloud/ai/files/v1/file_pb2.py +32 -0
- yandex/cloud/ai/files/v1/file_pb2.pyi +85 -0
- yandex/cloud/ai/files/v1/file_pb2_grpc.py +4 -0
- yandex/cloud/ai/files/v1/file_pb2_grpc.pyi +17 -0
- yandex/cloud/ai/files/v1/file_service_pb2.py +85 -0
- yandex/cloud/ai/files/v1/file_service_pb2.pyi +228 -0
- yandex/cloud/ai/files/v1/file_service_pb2_grpc.py +232 -0
- yandex/cloud/ai/files/v1/file_service_pb2_grpc.pyi +127 -0
- yandex/cloud/backup/v1/provider_service_pb2.py +12 -10
- yandex/cloud/backup/v1/provider_service_pb2.pyi +5 -1
- yandex/cloud/billing/v1/customer_pb2.pyi +32 -8
- yandex/cloud/billing/v1/customer_service_pb2.pyi +10 -2
- yandex/cloud/cloudrouter/__init__.py +0 -0
- yandex/cloud/cloudrouter/v1/__init__.py +0 -0
- yandex/cloud/cloudrouter/v1/routing_instance_pb2.py +42 -0
- yandex/cloud/cloudrouter/v1/routing_instance_pb2.pyi +215 -0
- yandex/cloud/cloudrouter/v1/routing_instance_pb2_grpc.py +4 -0
- yandex/cloud/cloudrouter/v1/routing_instance_pb2_grpc.pyi +17 -0
- yandex/cloud/cloudrouter/v1/routing_instance_service_pb2.py +57 -0
- yandex/cloud/cloudrouter/v1/routing_instance_service_pb2.pyi +137 -0
- yandex/cloud/cloudrouter/v1/routing_instance_service_pb2_grpc.py +179 -0
- yandex/cloud/cloudrouter/v1/routing_instance_service_pb2_grpc.pyi +138 -0
- yandex/cloud/iam/v1/refresh_token_pb2.py +29 -0
- yandex/cloud/iam/v1/refresh_token_pb2.pyi +98 -0
- yandex/cloud/iam/v1/refresh_token_pb2_grpc.py +4 -0
- yandex/cloud/iam/v1/refresh_token_pb2_grpc.pyi +17 -0
- yandex/cloud/iam/v1/refresh_token_service_pb2.py +67 -0
- yandex/cloud/iam/v1/refresh_token_service_pb2.pyi +186 -0
- yandex/cloud/iam/v1/refresh_token_service_pb2_grpc.py +105 -0
- yandex/cloud/iam/v1/refresh_token_service_pb2_grpc.pyi +71 -0
- yandex/cloud/iam/v1/service_control_pb2.py +5 -5
- yandex/cloud/iam/v1/service_control_pb2.pyi +4 -0
- yandex/cloud/lockbox/v1/secret_pb2.py +23 -11
- yandex/cloud/lockbox/v1/secret_pb2.pyi +73 -4
- yandex/cloud/lockbox/v1/secret_service_pb2.py +46 -46
- yandex/cloud/lockbox/v1/secret_service_pb2.pyi +14 -3
- yandex/cloud/mdb/clickhouse/v1/cluster_pb2.py +27 -25
- yandex/cloud/mdb/clickhouse/v1/cluster_pb2.pyi +16 -0
- yandex/cloud/mdb/clickhouse/v1/cluster_service_pb2.py +81 -57
- yandex/cloud/mdb/clickhouse/v1/cluster_service_pb2.pyi +144 -0
- yandex/cloud/mdb/clickhouse/v1/cluster_service_pb2_grpc.py +68 -0
- yandex/cloud/mdb/clickhouse/v1/cluster_service_pb2_grpc.pyi +40 -0
- yandex/cloud/oauth/claims_pb2.py +8 -7
- yandex/cloud/oauth/claims_pb2.pyi +9 -2
- yandex/cloud/serverless/eventrouter/v1/connector_service_pb2.pyi +1 -1
- yandex/cloud/serverless/eventrouter/v1/rule_pb2.pyi +3 -1
- yandex/cloud/serverless/eventrouter/v1/rule_service_pb2.pyi +2 -0
- yandex/cloud/storage/v1/s3api_pb2.py +35 -0
- yandex/cloud/storage/v1/s3api_pb2.pyi +181 -0
- yandex/cloud/storage/v1/s3api_pb2_grpc.py +4 -0
- yandex/cloud/storage/v1/s3api_pb2_grpc.pyi +17 -0
- yandexcloud/_sdk.py +2 -0
- {yandexcloud-0.317.0.dist-info → yandexcloud-0.319.0.dist-info}/METADATA +1 -1
- {yandexcloud-0.317.0.dist-info → yandexcloud-0.319.0.dist-info}/RECORD +135 -28
- {yandexcloud-0.317.0.dist-info → yandexcloud-0.319.0.dist-info}/AUTHORS +0 -0
- {yandexcloud-0.317.0.dist-info → yandexcloud-0.319.0.dist-info}/LICENSE +0 -0
- {yandexcloud-0.317.0.dist-info → yandexcloud-0.319.0.dist-info}/WHEEL +0 -0
- {yandexcloud-0.317.0.dist-info → yandexcloud-0.319.0.dist-info}/top_level.txt +0 -0
|
@@ -0,0 +1,232 @@
|
|
|
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 yandex.cloud.ai.files.v1 import file_pb2 as yandex_dot_cloud_dot_ai_dot_files_dot_v1_dot_file__pb2
|
|
6
|
+
from yandex.cloud.ai.files.v1 import file_service_pb2 as yandex_dot_cloud_dot_ai_dot_files_dot_v1_dot_file__service__pb2
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
class FileServiceStub(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.Create = channel.unary_unary(
|
|
19
|
+
'/yandex.cloud.ai.files.v1.FileService/Create',
|
|
20
|
+
request_serializer=yandex_dot_cloud_dot_ai_dot_files_dot_v1_dot_file__service__pb2.CreateFileRequest.SerializeToString,
|
|
21
|
+
response_deserializer=yandex_dot_cloud_dot_ai_dot_files_dot_v1_dot_file__pb2.File.FromString,
|
|
22
|
+
)
|
|
23
|
+
self.Get = channel.unary_unary(
|
|
24
|
+
'/yandex.cloud.ai.files.v1.FileService/Get',
|
|
25
|
+
request_serializer=yandex_dot_cloud_dot_ai_dot_files_dot_v1_dot_file__service__pb2.GetFileRequest.SerializeToString,
|
|
26
|
+
response_deserializer=yandex_dot_cloud_dot_ai_dot_files_dot_v1_dot_file__pb2.File.FromString,
|
|
27
|
+
)
|
|
28
|
+
self.GetUrl = channel.unary_unary(
|
|
29
|
+
'/yandex.cloud.ai.files.v1.FileService/GetUrl',
|
|
30
|
+
request_serializer=yandex_dot_cloud_dot_ai_dot_files_dot_v1_dot_file__service__pb2.GetFileUrlRequest.SerializeToString,
|
|
31
|
+
response_deserializer=yandex_dot_cloud_dot_ai_dot_files_dot_v1_dot_file__service__pb2.GetFileUrlResponse.FromString,
|
|
32
|
+
)
|
|
33
|
+
self.Update = channel.unary_unary(
|
|
34
|
+
'/yandex.cloud.ai.files.v1.FileService/Update',
|
|
35
|
+
request_serializer=yandex_dot_cloud_dot_ai_dot_files_dot_v1_dot_file__service__pb2.UpdateFileRequest.SerializeToString,
|
|
36
|
+
response_deserializer=yandex_dot_cloud_dot_ai_dot_files_dot_v1_dot_file__pb2.File.FromString,
|
|
37
|
+
)
|
|
38
|
+
self.Delete = channel.unary_unary(
|
|
39
|
+
'/yandex.cloud.ai.files.v1.FileService/Delete',
|
|
40
|
+
request_serializer=yandex_dot_cloud_dot_ai_dot_files_dot_v1_dot_file__service__pb2.DeleteFileRequest.SerializeToString,
|
|
41
|
+
response_deserializer=yandex_dot_cloud_dot_ai_dot_files_dot_v1_dot_file__service__pb2.DeleteFileResponse.FromString,
|
|
42
|
+
)
|
|
43
|
+
self.List = channel.unary_unary(
|
|
44
|
+
'/yandex.cloud.ai.files.v1.FileService/List',
|
|
45
|
+
request_serializer=yandex_dot_cloud_dot_ai_dot_files_dot_v1_dot_file__service__pb2.ListFilesRequest.SerializeToString,
|
|
46
|
+
response_deserializer=yandex_dot_cloud_dot_ai_dot_files_dot_v1_dot_file__service__pb2.ListFilesResponse.FromString,
|
|
47
|
+
)
|
|
48
|
+
|
|
49
|
+
|
|
50
|
+
class FileServiceServicer(object):
|
|
51
|
+
"""Missing associated documentation comment in .proto file."""
|
|
52
|
+
|
|
53
|
+
def Create(self, request, context):
|
|
54
|
+
"""Missing associated documentation comment in .proto file."""
|
|
55
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
56
|
+
context.set_details('Method not implemented!')
|
|
57
|
+
raise NotImplementedError('Method not implemented!')
|
|
58
|
+
|
|
59
|
+
def Get(self, request, context):
|
|
60
|
+
"""Missing associated documentation comment in .proto file."""
|
|
61
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
62
|
+
context.set_details('Method not implemented!')
|
|
63
|
+
raise NotImplementedError('Method not implemented!')
|
|
64
|
+
|
|
65
|
+
def GetUrl(self, request, context):
|
|
66
|
+
"""Missing associated documentation comment in .proto file."""
|
|
67
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
68
|
+
context.set_details('Method not implemented!')
|
|
69
|
+
raise NotImplementedError('Method not implemented!')
|
|
70
|
+
|
|
71
|
+
def Update(self, request, context):
|
|
72
|
+
"""Missing associated documentation comment in .proto file."""
|
|
73
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
74
|
+
context.set_details('Method not implemented!')
|
|
75
|
+
raise NotImplementedError('Method not implemented!')
|
|
76
|
+
|
|
77
|
+
def Delete(self, request, context):
|
|
78
|
+
"""Missing associated documentation comment in .proto file."""
|
|
79
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
80
|
+
context.set_details('Method not implemented!')
|
|
81
|
+
raise NotImplementedError('Method not implemented!')
|
|
82
|
+
|
|
83
|
+
def List(self, request, context):
|
|
84
|
+
"""Missing associated documentation comment in .proto file."""
|
|
85
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
86
|
+
context.set_details('Method not implemented!')
|
|
87
|
+
raise NotImplementedError('Method not implemented!')
|
|
88
|
+
|
|
89
|
+
|
|
90
|
+
def add_FileServiceServicer_to_server(servicer, server):
|
|
91
|
+
rpc_method_handlers = {
|
|
92
|
+
'Create': grpc.unary_unary_rpc_method_handler(
|
|
93
|
+
servicer.Create,
|
|
94
|
+
request_deserializer=yandex_dot_cloud_dot_ai_dot_files_dot_v1_dot_file__service__pb2.CreateFileRequest.FromString,
|
|
95
|
+
response_serializer=yandex_dot_cloud_dot_ai_dot_files_dot_v1_dot_file__pb2.File.SerializeToString,
|
|
96
|
+
),
|
|
97
|
+
'Get': grpc.unary_unary_rpc_method_handler(
|
|
98
|
+
servicer.Get,
|
|
99
|
+
request_deserializer=yandex_dot_cloud_dot_ai_dot_files_dot_v1_dot_file__service__pb2.GetFileRequest.FromString,
|
|
100
|
+
response_serializer=yandex_dot_cloud_dot_ai_dot_files_dot_v1_dot_file__pb2.File.SerializeToString,
|
|
101
|
+
),
|
|
102
|
+
'GetUrl': grpc.unary_unary_rpc_method_handler(
|
|
103
|
+
servicer.GetUrl,
|
|
104
|
+
request_deserializer=yandex_dot_cloud_dot_ai_dot_files_dot_v1_dot_file__service__pb2.GetFileUrlRequest.FromString,
|
|
105
|
+
response_serializer=yandex_dot_cloud_dot_ai_dot_files_dot_v1_dot_file__service__pb2.GetFileUrlResponse.SerializeToString,
|
|
106
|
+
),
|
|
107
|
+
'Update': grpc.unary_unary_rpc_method_handler(
|
|
108
|
+
servicer.Update,
|
|
109
|
+
request_deserializer=yandex_dot_cloud_dot_ai_dot_files_dot_v1_dot_file__service__pb2.UpdateFileRequest.FromString,
|
|
110
|
+
response_serializer=yandex_dot_cloud_dot_ai_dot_files_dot_v1_dot_file__pb2.File.SerializeToString,
|
|
111
|
+
),
|
|
112
|
+
'Delete': grpc.unary_unary_rpc_method_handler(
|
|
113
|
+
servicer.Delete,
|
|
114
|
+
request_deserializer=yandex_dot_cloud_dot_ai_dot_files_dot_v1_dot_file__service__pb2.DeleteFileRequest.FromString,
|
|
115
|
+
response_serializer=yandex_dot_cloud_dot_ai_dot_files_dot_v1_dot_file__service__pb2.DeleteFileResponse.SerializeToString,
|
|
116
|
+
),
|
|
117
|
+
'List': grpc.unary_unary_rpc_method_handler(
|
|
118
|
+
servicer.List,
|
|
119
|
+
request_deserializer=yandex_dot_cloud_dot_ai_dot_files_dot_v1_dot_file__service__pb2.ListFilesRequest.FromString,
|
|
120
|
+
response_serializer=yandex_dot_cloud_dot_ai_dot_files_dot_v1_dot_file__service__pb2.ListFilesResponse.SerializeToString,
|
|
121
|
+
),
|
|
122
|
+
}
|
|
123
|
+
generic_handler = grpc.method_handlers_generic_handler(
|
|
124
|
+
'yandex.cloud.ai.files.v1.FileService', rpc_method_handlers)
|
|
125
|
+
server.add_generic_rpc_handlers((generic_handler,))
|
|
126
|
+
|
|
127
|
+
|
|
128
|
+
# This class is part of an EXPERIMENTAL API.
|
|
129
|
+
class FileService(object):
|
|
130
|
+
"""Missing associated documentation comment in .proto file."""
|
|
131
|
+
|
|
132
|
+
@staticmethod
|
|
133
|
+
def Create(request,
|
|
134
|
+
target,
|
|
135
|
+
options=(),
|
|
136
|
+
channel_credentials=None,
|
|
137
|
+
call_credentials=None,
|
|
138
|
+
insecure=False,
|
|
139
|
+
compression=None,
|
|
140
|
+
wait_for_ready=None,
|
|
141
|
+
timeout=None,
|
|
142
|
+
metadata=None):
|
|
143
|
+
return grpc.experimental.unary_unary(request, target, '/yandex.cloud.ai.files.v1.FileService/Create',
|
|
144
|
+
yandex_dot_cloud_dot_ai_dot_files_dot_v1_dot_file__service__pb2.CreateFileRequest.SerializeToString,
|
|
145
|
+
yandex_dot_cloud_dot_ai_dot_files_dot_v1_dot_file__pb2.File.FromString,
|
|
146
|
+
options, channel_credentials,
|
|
147
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
148
|
+
|
|
149
|
+
@staticmethod
|
|
150
|
+
def Get(request,
|
|
151
|
+
target,
|
|
152
|
+
options=(),
|
|
153
|
+
channel_credentials=None,
|
|
154
|
+
call_credentials=None,
|
|
155
|
+
insecure=False,
|
|
156
|
+
compression=None,
|
|
157
|
+
wait_for_ready=None,
|
|
158
|
+
timeout=None,
|
|
159
|
+
metadata=None):
|
|
160
|
+
return grpc.experimental.unary_unary(request, target, '/yandex.cloud.ai.files.v1.FileService/Get',
|
|
161
|
+
yandex_dot_cloud_dot_ai_dot_files_dot_v1_dot_file__service__pb2.GetFileRequest.SerializeToString,
|
|
162
|
+
yandex_dot_cloud_dot_ai_dot_files_dot_v1_dot_file__pb2.File.FromString,
|
|
163
|
+
options, channel_credentials,
|
|
164
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
165
|
+
|
|
166
|
+
@staticmethod
|
|
167
|
+
def GetUrl(request,
|
|
168
|
+
target,
|
|
169
|
+
options=(),
|
|
170
|
+
channel_credentials=None,
|
|
171
|
+
call_credentials=None,
|
|
172
|
+
insecure=False,
|
|
173
|
+
compression=None,
|
|
174
|
+
wait_for_ready=None,
|
|
175
|
+
timeout=None,
|
|
176
|
+
metadata=None):
|
|
177
|
+
return grpc.experimental.unary_unary(request, target, '/yandex.cloud.ai.files.v1.FileService/GetUrl',
|
|
178
|
+
yandex_dot_cloud_dot_ai_dot_files_dot_v1_dot_file__service__pb2.GetFileUrlRequest.SerializeToString,
|
|
179
|
+
yandex_dot_cloud_dot_ai_dot_files_dot_v1_dot_file__service__pb2.GetFileUrlResponse.FromString,
|
|
180
|
+
options, channel_credentials,
|
|
181
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
182
|
+
|
|
183
|
+
@staticmethod
|
|
184
|
+
def Update(request,
|
|
185
|
+
target,
|
|
186
|
+
options=(),
|
|
187
|
+
channel_credentials=None,
|
|
188
|
+
call_credentials=None,
|
|
189
|
+
insecure=False,
|
|
190
|
+
compression=None,
|
|
191
|
+
wait_for_ready=None,
|
|
192
|
+
timeout=None,
|
|
193
|
+
metadata=None):
|
|
194
|
+
return grpc.experimental.unary_unary(request, target, '/yandex.cloud.ai.files.v1.FileService/Update',
|
|
195
|
+
yandex_dot_cloud_dot_ai_dot_files_dot_v1_dot_file__service__pb2.UpdateFileRequest.SerializeToString,
|
|
196
|
+
yandex_dot_cloud_dot_ai_dot_files_dot_v1_dot_file__pb2.File.FromString,
|
|
197
|
+
options, channel_credentials,
|
|
198
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
199
|
+
|
|
200
|
+
@staticmethod
|
|
201
|
+
def Delete(request,
|
|
202
|
+
target,
|
|
203
|
+
options=(),
|
|
204
|
+
channel_credentials=None,
|
|
205
|
+
call_credentials=None,
|
|
206
|
+
insecure=False,
|
|
207
|
+
compression=None,
|
|
208
|
+
wait_for_ready=None,
|
|
209
|
+
timeout=None,
|
|
210
|
+
metadata=None):
|
|
211
|
+
return grpc.experimental.unary_unary(request, target, '/yandex.cloud.ai.files.v1.FileService/Delete',
|
|
212
|
+
yandex_dot_cloud_dot_ai_dot_files_dot_v1_dot_file__service__pb2.DeleteFileRequest.SerializeToString,
|
|
213
|
+
yandex_dot_cloud_dot_ai_dot_files_dot_v1_dot_file__service__pb2.DeleteFileResponse.FromString,
|
|
214
|
+
options, channel_credentials,
|
|
215
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
216
|
+
|
|
217
|
+
@staticmethod
|
|
218
|
+
def List(request,
|
|
219
|
+
target,
|
|
220
|
+
options=(),
|
|
221
|
+
channel_credentials=None,
|
|
222
|
+
call_credentials=None,
|
|
223
|
+
insecure=False,
|
|
224
|
+
compression=None,
|
|
225
|
+
wait_for_ready=None,
|
|
226
|
+
timeout=None,
|
|
227
|
+
metadata=None):
|
|
228
|
+
return grpc.experimental.unary_unary(request, target, '/yandex.cloud.ai.files.v1.FileService/List',
|
|
229
|
+
yandex_dot_cloud_dot_ai_dot_files_dot_v1_dot_file__service__pb2.ListFilesRequest.SerializeToString,
|
|
230
|
+
yandex_dot_cloud_dot_ai_dot_files_dot_v1_dot_file__service__pb2.ListFilesResponse.FromString,
|
|
231
|
+
options, channel_credentials,
|
|
232
|
+
insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
|
|
@@ -0,0 +1,127 @@
|
|
|
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.ai.files.v1.file_pb2
|
|
12
|
+
import yandex.cloud.ai.files.v1.file_service_pb2
|
|
13
|
+
|
|
14
|
+
_T = typing.TypeVar("_T")
|
|
15
|
+
|
|
16
|
+
class _MaybeAsyncIterator(collections.abc.AsyncIterator[_T], collections.abc.Iterator[_T], metaclass=abc.ABCMeta): ...
|
|
17
|
+
|
|
18
|
+
class _ServicerContext(grpc.ServicerContext, grpc.aio.ServicerContext): # type: ignore[misc, type-arg]
|
|
19
|
+
...
|
|
20
|
+
|
|
21
|
+
class FileServiceStub:
|
|
22
|
+
def __init__(self, channel: typing.Union[grpc.Channel, grpc.aio.Channel]) -> None: ...
|
|
23
|
+
Create: grpc.UnaryUnaryMultiCallable[
|
|
24
|
+
yandex.cloud.ai.files.v1.file_service_pb2.CreateFileRequest,
|
|
25
|
+
yandex.cloud.ai.files.v1.file_pb2.File,
|
|
26
|
+
]
|
|
27
|
+
|
|
28
|
+
Get: grpc.UnaryUnaryMultiCallable[
|
|
29
|
+
yandex.cloud.ai.files.v1.file_service_pb2.GetFileRequest,
|
|
30
|
+
yandex.cloud.ai.files.v1.file_pb2.File,
|
|
31
|
+
]
|
|
32
|
+
|
|
33
|
+
GetUrl: grpc.UnaryUnaryMultiCallable[
|
|
34
|
+
yandex.cloud.ai.files.v1.file_service_pb2.GetFileUrlRequest,
|
|
35
|
+
yandex.cloud.ai.files.v1.file_service_pb2.GetFileUrlResponse,
|
|
36
|
+
]
|
|
37
|
+
|
|
38
|
+
Update: grpc.UnaryUnaryMultiCallable[
|
|
39
|
+
yandex.cloud.ai.files.v1.file_service_pb2.UpdateFileRequest,
|
|
40
|
+
yandex.cloud.ai.files.v1.file_pb2.File,
|
|
41
|
+
]
|
|
42
|
+
|
|
43
|
+
Delete: grpc.UnaryUnaryMultiCallable[
|
|
44
|
+
yandex.cloud.ai.files.v1.file_service_pb2.DeleteFileRequest,
|
|
45
|
+
yandex.cloud.ai.files.v1.file_service_pb2.DeleteFileResponse,
|
|
46
|
+
]
|
|
47
|
+
|
|
48
|
+
List: grpc.UnaryUnaryMultiCallable[
|
|
49
|
+
yandex.cloud.ai.files.v1.file_service_pb2.ListFilesRequest,
|
|
50
|
+
yandex.cloud.ai.files.v1.file_service_pb2.ListFilesResponse,
|
|
51
|
+
]
|
|
52
|
+
|
|
53
|
+
class FileServiceAsyncStub:
|
|
54
|
+
Create: grpc.aio.UnaryUnaryMultiCallable[
|
|
55
|
+
yandex.cloud.ai.files.v1.file_service_pb2.CreateFileRequest,
|
|
56
|
+
yandex.cloud.ai.files.v1.file_pb2.File,
|
|
57
|
+
]
|
|
58
|
+
|
|
59
|
+
Get: grpc.aio.UnaryUnaryMultiCallable[
|
|
60
|
+
yandex.cloud.ai.files.v1.file_service_pb2.GetFileRequest,
|
|
61
|
+
yandex.cloud.ai.files.v1.file_pb2.File,
|
|
62
|
+
]
|
|
63
|
+
|
|
64
|
+
GetUrl: grpc.aio.UnaryUnaryMultiCallable[
|
|
65
|
+
yandex.cloud.ai.files.v1.file_service_pb2.GetFileUrlRequest,
|
|
66
|
+
yandex.cloud.ai.files.v1.file_service_pb2.GetFileUrlResponse,
|
|
67
|
+
]
|
|
68
|
+
|
|
69
|
+
Update: grpc.aio.UnaryUnaryMultiCallable[
|
|
70
|
+
yandex.cloud.ai.files.v1.file_service_pb2.UpdateFileRequest,
|
|
71
|
+
yandex.cloud.ai.files.v1.file_pb2.File,
|
|
72
|
+
]
|
|
73
|
+
|
|
74
|
+
Delete: grpc.aio.UnaryUnaryMultiCallable[
|
|
75
|
+
yandex.cloud.ai.files.v1.file_service_pb2.DeleteFileRequest,
|
|
76
|
+
yandex.cloud.ai.files.v1.file_service_pb2.DeleteFileResponse,
|
|
77
|
+
]
|
|
78
|
+
|
|
79
|
+
List: grpc.aio.UnaryUnaryMultiCallable[
|
|
80
|
+
yandex.cloud.ai.files.v1.file_service_pb2.ListFilesRequest,
|
|
81
|
+
yandex.cloud.ai.files.v1.file_service_pb2.ListFilesResponse,
|
|
82
|
+
]
|
|
83
|
+
|
|
84
|
+
class FileServiceServicer(metaclass=abc.ABCMeta):
|
|
85
|
+
@abc.abstractmethod
|
|
86
|
+
def Create(
|
|
87
|
+
self,
|
|
88
|
+
request: yandex.cloud.ai.files.v1.file_service_pb2.CreateFileRequest,
|
|
89
|
+
context: _ServicerContext,
|
|
90
|
+
) -> typing.Union[yandex.cloud.ai.files.v1.file_pb2.File, collections.abc.Awaitable[yandex.cloud.ai.files.v1.file_pb2.File]]: ...
|
|
91
|
+
|
|
92
|
+
@abc.abstractmethod
|
|
93
|
+
def Get(
|
|
94
|
+
self,
|
|
95
|
+
request: yandex.cloud.ai.files.v1.file_service_pb2.GetFileRequest,
|
|
96
|
+
context: _ServicerContext,
|
|
97
|
+
) -> typing.Union[yandex.cloud.ai.files.v1.file_pb2.File, collections.abc.Awaitable[yandex.cloud.ai.files.v1.file_pb2.File]]: ...
|
|
98
|
+
|
|
99
|
+
@abc.abstractmethod
|
|
100
|
+
def GetUrl(
|
|
101
|
+
self,
|
|
102
|
+
request: yandex.cloud.ai.files.v1.file_service_pb2.GetFileUrlRequest,
|
|
103
|
+
context: _ServicerContext,
|
|
104
|
+
) -> typing.Union[yandex.cloud.ai.files.v1.file_service_pb2.GetFileUrlResponse, collections.abc.Awaitable[yandex.cloud.ai.files.v1.file_service_pb2.GetFileUrlResponse]]: ...
|
|
105
|
+
|
|
106
|
+
@abc.abstractmethod
|
|
107
|
+
def Update(
|
|
108
|
+
self,
|
|
109
|
+
request: yandex.cloud.ai.files.v1.file_service_pb2.UpdateFileRequest,
|
|
110
|
+
context: _ServicerContext,
|
|
111
|
+
) -> typing.Union[yandex.cloud.ai.files.v1.file_pb2.File, collections.abc.Awaitable[yandex.cloud.ai.files.v1.file_pb2.File]]: ...
|
|
112
|
+
|
|
113
|
+
@abc.abstractmethod
|
|
114
|
+
def Delete(
|
|
115
|
+
self,
|
|
116
|
+
request: yandex.cloud.ai.files.v1.file_service_pb2.DeleteFileRequest,
|
|
117
|
+
context: _ServicerContext,
|
|
118
|
+
) -> typing.Union[yandex.cloud.ai.files.v1.file_service_pb2.DeleteFileResponse, collections.abc.Awaitable[yandex.cloud.ai.files.v1.file_service_pb2.DeleteFileResponse]]: ...
|
|
119
|
+
|
|
120
|
+
@abc.abstractmethod
|
|
121
|
+
def List(
|
|
122
|
+
self,
|
|
123
|
+
request: yandex.cloud.ai.files.v1.file_service_pb2.ListFilesRequest,
|
|
124
|
+
context: _ServicerContext,
|
|
125
|
+
) -> typing.Union[yandex.cloud.ai.files.v1.file_service_pb2.ListFilesResponse, collections.abc.Awaitable[yandex.cloud.ai.files.v1.file_service_pb2.ListFilesResponse]]: ...
|
|
126
|
+
|
|
127
|
+
def add_FileServiceServicer_to_server(servicer: FileServiceServicer, server: typing.Union[grpc.Server, grpc.aio.Server]) -> None: ...
|
|
@@ -17,7 +17,7 @@ from yandex.cloud.operation import operation_pb2 as yandex_dot_cloud_dot_operati
|
|
|
17
17
|
from yandex.cloud import validation_pb2 as yandex_dot_cloud_dot_validation__pb2
|
|
18
18
|
|
|
19
19
|
|
|
20
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n-yandex/cloud/backup/v1/provider_service.proto\x12\x16yandex.cloud.backup.v1\x1a\x1cgoogle/api/annotations.proto\x1a yandex/cloud/api/operation.proto\x1a&yandex/cloud/operation/operation.proto\x1a\x1dyandex/cloud/validation.proto\"
|
|
20
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n-yandex/cloud/backup/v1/provider_service.proto\x12\x16yandex.cloud.backup.v1\x1a\x1cgoogle/api/annotations.proto\x1a yandex/cloud/api/operation.proto\x1a&yandex/cloud/operation/operation.proto\x1a\x1dyandex/cloud/validation.proto\"w\n\x17\x41\x63tivateProviderRequest\x12\x1f\n\tfolder_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12\x12\n\x04name\x18\x03 \x01(\tB\x04\xe8\xc7\x31\x01\x12!\n\x13skip_default_policy\x18\x04 \x01(\x08\x42\x04\xe8\xc7\x31\x00J\x04\x08\x02\x10\x03\";\n\x18\x41\x63tivateProviderMetadata\x12\x1f\n\tfolder_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\"@\n\x1dListActivatedProvidersRequest\x12\x1f\n\tfolder_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\"H\n\x1eListActivatedProvidersResponse\x12\x11\n\tfolder_id\x18\x01 \x01(\t\x12\r\n\x05names\x18\x03 \x03(\tJ\x04\x08\x02\x10\x03\x32\xf7\x02\n\x0fProviderService\x12\xc4\x01\n\x08\x41\x63tivate\x12/.yandex.cloud.backup.v1.ActivateProviderRequest\x1a!.yandex.cloud.operation.Operation\"d\xb2\xd2*1\n\x18\x41\x63tivateProviderMetadata\x12\x15google.protobuf.Empty\x82\xd3\xe4\x93\x02)\"$/backup/v1/providers/{name}:activate:\x01*\x12\x9c\x01\n\rListActivated\x12\x35.yandex.cloud.backup.v1.ListActivatedProvidersRequest\x1a\x36.yandex.cloud.backup.v1.ListActivatedProvidersResponse\"\x1c\x82\xd3\xe4\x93\x02\x16\x12\x14/backup/v1/providersB_\n\x1ayandex.cloud.api.backup.v1ZAgithub.com/yandex-cloud/go-genproto/yandex/cloud/backup/v1;backupb\x06proto3')
|
|
21
21
|
|
|
22
22
|
_globals = globals()
|
|
23
23
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
@@ -29,6 +29,8 @@ if _descriptor._USE_C_DESCRIPTORS == False:
|
|
|
29
29
|
_ACTIVATEPROVIDERREQUEST.fields_by_name['folder_id']._serialized_options = b'\350\3071\001\212\3101\004<=50'
|
|
30
30
|
_ACTIVATEPROVIDERREQUEST.fields_by_name['name']._options = None
|
|
31
31
|
_ACTIVATEPROVIDERREQUEST.fields_by_name['name']._serialized_options = b'\350\3071\001'
|
|
32
|
+
_ACTIVATEPROVIDERREQUEST.fields_by_name['skip_default_policy']._options = None
|
|
33
|
+
_ACTIVATEPROVIDERREQUEST.fields_by_name['skip_default_policy']._serialized_options = b'\350\3071\000'
|
|
32
34
|
_ACTIVATEPROVIDERMETADATA.fields_by_name['folder_id']._options = None
|
|
33
35
|
_ACTIVATEPROVIDERMETADATA.fields_by_name['folder_id']._serialized_options = b'\350\3071\001\212\3101\004<=50'
|
|
34
36
|
_LISTACTIVATEDPROVIDERSREQUEST.fields_by_name['folder_id']._options = None
|
|
@@ -38,13 +40,13 @@ if _descriptor._USE_C_DESCRIPTORS == False:
|
|
|
38
40
|
_PROVIDERSERVICE.methods_by_name['ListActivated']._options = None
|
|
39
41
|
_PROVIDERSERVICE.methods_by_name['ListActivated']._serialized_options = b'\202\323\344\223\002\026\022\024/backup/v1/providers'
|
|
40
42
|
_globals['_ACTIVATEPROVIDERREQUEST']._serialized_start=208
|
|
41
|
-
_globals['_ACTIVATEPROVIDERREQUEST']._serialized_end=
|
|
42
|
-
_globals['_ACTIVATEPROVIDERMETADATA']._serialized_start=
|
|
43
|
-
_globals['_ACTIVATEPROVIDERMETADATA']._serialized_end=
|
|
44
|
-
_globals['_LISTACTIVATEDPROVIDERSREQUEST']._serialized_start=
|
|
45
|
-
_globals['_LISTACTIVATEDPROVIDERSREQUEST']._serialized_end=
|
|
46
|
-
_globals['_LISTACTIVATEDPROVIDERSRESPONSE']._serialized_start=
|
|
47
|
-
_globals['_LISTACTIVATEDPROVIDERSRESPONSE']._serialized_end=
|
|
48
|
-
_globals['_PROVIDERSERVICE']._serialized_start=
|
|
49
|
-
_globals['_PROVIDERSERVICE']._serialized_end=
|
|
43
|
+
_globals['_ACTIVATEPROVIDERREQUEST']._serialized_end=327
|
|
44
|
+
_globals['_ACTIVATEPROVIDERMETADATA']._serialized_start=329
|
|
45
|
+
_globals['_ACTIVATEPROVIDERMETADATA']._serialized_end=388
|
|
46
|
+
_globals['_LISTACTIVATEDPROVIDERSREQUEST']._serialized_start=390
|
|
47
|
+
_globals['_LISTACTIVATEDPROVIDERSREQUEST']._serialized_end=454
|
|
48
|
+
_globals['_LISTACTIVATEDPROVIDERSRESPONSE']._serialized_start=456
|
|
49
|
+
_globals['_LISTACTIVATEDPROVIDERSRESPONSE']._serialized_end=528
|
|
50
|
+
_globals['_PROVIDERSERVICE']._serialized_start=531
|
|
51
|
+
_globals['_PROVIDERSERVICE']._serialized_end=906
|
|
50
52
|
# @@protoc_insertion_point(module_scope)
|
|
@@ -18,6 +18,7 @@ class ActivateProviderRequest(google.protobuf.message.Message):
|
|
|
18
18
|
|
|
19
19
|
FOLDER_ID_FIELD_NUMBER: builtins.int
|
|
20
20
|
NAME_FIELD_NUMBER: builtins.int
|
|
21
|
+
SKIP_DEFAULT_POLICY_FIELD_NUMBER: builtins.int
|
|
21
22
|
folder_id: builtins.str
|
|
22
23
|
"""Activate provider for Folder iD."""
|
|
23
24
|
name: builtins.str
|
|
@@ -25,13 +26,16 @@ class ActivateProviderRequest(google.protobuf.message.Message):
|
|
|
25
26
|
|
|
26
27
|
For more information, please see [activate-provider](/docs/backup/quickstart#activate-provider)
|
|
27
28
|
"""
|
|
29
|
+
skip_default_policy: builtins.bool
|
|
30
|
+
"""Don't create default policies while activating the provider."""
|
|
28
31
|
def __init__(
|
|
29
32
|
self,
|
|
30
33
|
*,
|
|
31
34
|
folder_id: builtins.str = ...,
|
|
32
35
|
name: builtins.str = ...,
|
|
36
|
+
skip_default_policy: builtins.bool = ...,
|
|
33
37
|
) -> None: ...
|
|
34
|
-
def ClearField(self, field_name: typing.Literal["folder_id", b"folder_id", "name", b"name"]) -> None: ...
|
|
38
|
+
def ClearField(self, field_name: typing.Literal["folder_id", b"folder_id", "name", b"name", "skip_default_policy", b"skip_default_policy"]) -> None: ...
|
|
35
39
|
|
|
36
40
|
global___ActivateProviderRequest = ActivateProviderRequest
|
|
37
41
|
|
|
@@ -47,21 +47,45 @@ class CustomerPerson(google.protobuf.message.Message):
|
|
|
47
47
|
LEGAL_ADDRESS_FIELD_NUMBER: builtins.int
|
|
48
48
|
TIN_FIELD_NUMBER: builtins.int
|
|
49
49
|
name: builtins.str
|
|
50
|
-
"""Name of the person.
|
|
50
|
+
"""Optional. Name of the person.
|
|
51
|
+
|
|
52
|
+
String length is not limited.
|
|
53
|
+
"""
|
|
51
54
|
longname: builtins.str
|
|
52
|
-
"""Long name of the person.
|
|
55
|
+
"""Optional. Long name of the person.
|
|
56
|
+
|
|
57
|
+
String length is not limited.
|
|
58
|
+
"""
|
|
53
59
|
phone: builtins.str
|
|
54
|
-
"""Phone of the person.
|
|
60
|
+
"""Optional. Phone of the person.
|
|
61
|
+
|
|
62
|
+
Must be a valid telephone number or a valid [phoneword](https://en.m.wikipedia.org/wiki/Phoneword).
|
|
63
|
+
"""
|
|
55
64
|
email: builtins.str
|
|
56
|
-
"""Email of the person.
|
|
65
|
+
"""Optional. Email of the person.
|
|
66
|
+
|
|
67
|
+
Must be a valid [email address](https://en.wikipedia.org/wiki/Email_address).
|
|
68
|
+
"""
|
|
57
69
|
post_code: builtins.str
|
|
58
|
-
"""Post code of the person.
|
|
70
|
+
"""Optional. Post code of the person.
|
|
71
|
+
|
|
72
|
+
String length is not limited.
|
|
73
|
+
"""
|
|
59
74
|
post_address: builtins.str
|
|
60
|
-
"""Post address of the person.
|
|
75
|
+
"""Optional. Post address of the person.
|
|
76
|
+
|
|
77
|
+
String length is not limited.
|
|
78
|
+
"""
|
|
61
79
|
legal_address: builtins.str
|
|
62
|
-
"""Legal address of the person.
|
|
80
|
+
"""Optional. Legal address of the person.
|
|
81
|
+
|
|
82
|
+
String length is not limited.
|
|
83
|
+
"""
|
|
63
84
|
tin: builtins.str
|
|
64
|
-
"""Tax identification number of the person.
|
|
85
|
+
"""Optional. Tax identification number of the person.
|
|
86
|
+
|
|
87
|
+
String length is not limited.
|
|
88
|
+
"""
|
|
65
89
|
def __init__(
|
|
66
90
|
self,
|
|
67
91
|
*,
|
|
@@ -111,9 +111,17 @@ class CreateResellerServedCustomerRequest(google.protobuf.message.Message):
|
|
|
111
111
|
NAME_FIELD_NUMBER: builtins.int
|
|
112
112
|
PERSON_FIELD_NUMBER: builtins.int
|
|
113
113
|
reseller_id: builtins.str
|
|
114
|
-
"""ID of the reseller that customer will be associated with.
|
|
114
|
+
"""ID of the reseller that customer will be associated with.
|
|
115
|
+
|
|
116
|
+
Value must match either one of the two regular expressions:
|
|
117
|
+
`^([0-9a-f]{8}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{12}|[0-9a-f]{32})$`
|
|
118
|
+
or `^[a-z][-a-zA-Z0-9.]{0,48}[a-zA-Z0-9]$`.
|
|
119
|
+
"""
|
|
115
120
|
name: builtins.str
|
|
116
|
-
"""Name of the customer.
|
|
121
|
+
"""Name of the customer.
|
|
122
|
+
|
|
123
|
+
String length is not limited.
|
|
124
|
+
"""
|
|
117
125
|
@property
|
|
118
126
|
def person(self) -> yandex.cloud.billing.v1.customer_pb2.CustomerPerson:
|
|
119
127
|
"""Person of the customer."""
|
|
File without changes
|
|
File without changes
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# source: yandex/cloud/cloudrouter/v1/routing_instance.proto
|
|
4
|
+
"""Generated protocol buffer code."""
|
|
5
|
+
from google.protobuf import descriptor as _descriptor
|
|
6
|
+
from google.protobuf import descriptor_pool as _descriptor_pool
|
|
7
|
+
from google.protobuf import symbol_database as _symbol_database
|
|
8
|
+
from google.protobuf.internal import builder as _builder
|
|
9
|
+
# @@protoc_insertion_point(imports)
|
|
10
|
+
|
|
11
|
+
_sym_db = _symbol_database.Default()
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
|
|
16
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n2yandex/cloud/cloudrouter/v1/routing_instance.proto\x12\x1byandex.cloud.cloudrouter.v1\"\x91\x08\n\x0fRoutingInstance\x12\n\n\x02id\x18\x01 \x01(\t\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x03 \x01(\t\x12\x11\n\tfolder_id\x18\x05 \x01(\t\x12\x11\n\tregion_id\x18\x06 \x01(\t\x12\x46\n\x08vpc_info\x18\x07 \x03(\x0b\x32\x34.yandex.cloud.cloudrouter.v1.RoutingInstance.VpcInfo\x12j\n\x1b\x63ic_private_connection_info\x18\x08 \x03(\x0b\x32\x45.yandex.cloud.cloudrouter.v1.RoutingInstance.CicPrivateConnectionInfo\x12\x43\n\x06status\x18\t \x01(\x0e\x32\x33.yandex.cloud.cloudrouter.v1.RoutingInstance.Status\x12H\n\x06labels\x18\x18 \x03(\x0b\x32\x38.yandex.cloud.cloudrouter.v1.RoutingInstance.LabelsEntry\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a=\n\x18\x43icPrivateConnectionInfo\x12!\n\x19\x63ic_private_connection_id\x18\x01 \x01(\t\x1ak\n\x07VpcInfo\x12\x16\n\x0evpc_network_id\x18\x01 \x01(\t\x12H\n\x08\x61z_infos\x18\x02 \x03(\x0b\x32\x36.yandex.cloud.cloudrouter.v1.RoutingInstance.VpcAzInfo\x1a\xb9\x01\n\tVpcAzInfo\x12O\n\x0bmanual_info\x18\x02 \x01(\x0b\x32:.yandex.cloud.cloudrouter.v1.RoutingInstance.VpcManualInfo\x12U\n\x0e\x61utomatic_info\x18\x03 \x01(\x0b\x32=.yandex.cloud.cloudrouter.v1.RoutingInstance.VpcAutomaticInfoJ\x04\x08\x01\x10\x02\x1a\x36\n\rVpcManualInfo\x12\r\n\x05\x61z_id\x18\x01 \x01(\t\x12\x10\n\x08prefixes\x18\x05 \x03(\tJ\x04\x08\x02\x10\x05\x1a\x33\n\x10VpcAutomaticInfo\x12\r\n\x05\x61z_id\x18\x01 \x01(\t\x12\x10\n\x08prefixes\x18\x02 \x03(\t\"V\n\x06Status\x12\x16\n\x12STATUS_UNSPECIFIED\x10\x00\x12\x0c\n\x08\x43REATING\x10\x01\x12\x0c\n\x08UPDATING\x10\x02\x12\x0c\n\x08\x44\x45LETING\x10\x03\x12\n\n\x06\x41\x43TIVE\x10\x04J\x04\x08\x04\x10\x05J\x04\x08\n\x10\x18\x42n\n\x1fyandex.cloud.api.cloudrouter.v1ZKgithub.com/yandex-cloud/go-genproto/yandex/cloud/cloudrouter/v1;cloudrouterb\x06proto3')
|
|
17
|
+
|
|
18
|
+
_globals = globals()
|
|
19
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
20
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'yandex.cloud.cloudrouter.v1.routing_instance_pb2', _globals)
|
|
21
|
+
if _descriptor._USE_C_DESCRIPTORS == False:
|
|
22
|
+
DESCRIPTOR._options = None
|
|
23
|
+
DESCRIPTOR._serialized_options = b'\n\037yandex.cloud.api.cloudrouter.v1ZKgithub.com/yandex-cloud/go-genproto/yandex/cloud/cloudrouter/v1;cloudrouter'
|
|
24
|
+
_ROUTINGINSTANCE_LABELSENTRY._options = None
|
|
25
|
+
_ROUTINGINSTANCE_LABELSENTRY._serialized_options = b'8\001'
|
|
26
|
+
_globals['_ROUTINGINSTANCE']._serialized_start=84
|
|
27
|
+
_globals['_ROUTINGINSTANCE']._serialized_end=1125
|
|
28
|
+
_globals['_ROUTINGINSTANCE_LABELSENTRY']._serialized_start=511
|
|
29
|
+
_globals['_ROUTINGINSTANCE_LABELSENTRY']._serialized_end=556
|
|
30
|
+
_globals['_ROUTINGINSTANCE_CICPRIVATECONNECTIONINFO']._serialized_start=558
|
|
31
|
+
_globals['_ROUTINGINSTANCE_CICPRIVATECONNECTIONINFO']._serialized_end=619
|
|
32
|
+
_globals['_ROUTINGINSTANCE_VPCINFO']._serialized_start=621
|
|
33
|
+
_globals['_ROUTINGINSTANCE_VPCINFO']._serialized_end=728
|
|
34
|
+
_globals['_ROUTINGINSTANCE_VPCAZINFO']._serialized_start=731
|
|
35
|
+
_globals['_ROUTINGINSTANCE_VPCAZINFO']._serialized_end=916
|
|
36
|
+
_globals['_ROUTINGINSTANCE_VPCMANUALINFO']._serialized_start=918
|
|
37
|
+
_globals['_ROUTINGINSTANCE_VPCMANUALINFO']._serialized_end=972
|
|
38
|
+
_globals['_ROUTINGINSTANCE_VPCAUTOMATICINFO']._serialized_start=974
|
|
39
|
+
_globals['_ROUTINGINSTANCE_VPCAUTOMATICINFO']._serialized_end=1025
|
|
40
|
+
_globals['_ROUTINGINSTANCE_STATUS']._serialized_start=1027
|
|
41
|
+
_globals['_ROUTINGINSTANCE_STATUS']._serialized_end=1113
|
|
42
|
+
# @@protoc_insertion_point(module_scope)
|