yandexcloud 0.347.0__py3-none-any.whl → 0.348.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/backup/v1/resource_pb2.py +21 -19
- yandex/cloud/backup/v1/resource_pb2.pyi +32 -5
- yandex/cloud/baremetal/v1alpha/private_cloud_connection_pb2.py +40 -0
- yandex/cloud/baremetal/v1alpha/private_cloud_connection_pb2.pyi +99 -0
- yandex/cloud/baremetal/v1alpha/private_cloud_connection_pb2_grpc.py +24 -0
- yandex/cloud/baremetal/v1alpha/private_cloud_connection_pb2_grpc.pyi +17 -0
- yandex/cloud/baremetal/v1alpha/private_cloud_connection_service_pb2.py +78 -0
- yandex/cloud/baremetal/v1alpha/private_cloud_connection_service_pb2.pyi +239 -0
- yandex/cloud/baremetal/v1alpha/private_cloud_connection_service_pb2_grpc.py +281 -0
- yandex/cloud/baremetal/v1alpha/private_cloud_connection_service_pb2_grpc.pyi +141 -0
- yandex/cloud/cloudregistry/v1/registry_pb2.py +5 -5
- yandex/cloud/cloudregistry/v1/registry_pb2.pyi +4 -0
- yandex/cloud/gitlab/v1/instance_pb2.py +6 -10
- yandex/cloud/gitlab/v1/instance_pb2.pyi +1 -7
- yandex/cloud/gitlab/v1/instance_service_pb2.py +20 -28
- yandex/cloud/gitlab/v1/instance_service_pb2.pyi +1 -13
- yandex/cloud/mdb/clickhouse/v1/config/clickhouse_pb2.py +76 -74
- yandex/cloud/mdb/clickhouse/v1/config/clickhouse_pb2.pyi +91 -4
- yandex/cloud/mdb/clickhouse/v1/user_pb2.py +32 -30
- yandex/cloud/mdb/clickhouse/v1/user_pb2.pyi +43 -2
- yandex/cloud/mdb/mysql/v1/cluster_pb2.py +4 -4
- yandex/cloud/mdb/mysql/v1/cluster_pb2.pyi +5 -1
- yandex/cloud/mdb/spqr/v1/cluster_service_pb2.py +128 -130
- yandex/cloud/mdb/spqr/v1/cluster_service_pb2.pyi +14 -11
- yandex/cloud/mdb/spqr/v1/shard_pb2.py +11 -3
- yandex/cloud/mdb/spqr/v1/shard_pb2.pyi +25 -0
- yandex/cloud/monitoring/v3/multi_source_chart_widget_pb2.py +54 -54
- yandex/cloud/monitoring/v3/multi_source_chart_widget_pb2.pyi +5 -1
- yandex/cloud/searchapi/v2/img_search_service_pb2.py +20 -17
- yandex/cloud/storage/v1/bucket_service_pb2.py +44 -39
- yandex/cloud/storage/v1/bucket_service_pb2_grpc.py +87 -0
- yandex/cloud/storage/v1/bucket_service_pb2_grpc.pyi +35 -0
- yandex/cloud/storage/v1/s3api_pb2.py +11 -1
- yandex/cloud/storage/v1/s3api_pb2.pyi +103 -0
- yandexcloud/__init__.py +1 -1
- {yandexcloud-0.347.0.dist-info → yandexcloud-0.348.0.dist-info}/METADATA +1 -1
- {yandexcloud-0.347.0.dist-info → yandexcloud-0.348.0.dist-info}/RECORD +41 -33
- {yandexcloud-0.347.0.dist-info → yandexcloud-0.348.0.dist-info}/AUTHORS +0 -0
- {yandexcloud-0.347.0.dist-info → yandexcloud-0.348.0.dist-info}/LICENSE +0 -0
- {yandexcloud-0.347.0.dist-info → yandexcloud-0.348.0.dist-info}/WHEEL +0 -0
- {yandexcloud-0.347.0.dist-info → yandexcloud-0.348.0.dist-info}/top_level.txt +0 -0
|
@@ -25,7 +25,7 @@ _sym_db = _symbol_database.Default()
|
|
|
25
25
|
from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2
|
|
26
26
|
|
|
27
27
|
|
|
28
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n%yandex/cloud/backup/v1/resource.proto\x12\x16yandex.cloud.backup.v1\x1a\x1fgoogle/protobuf/timestamp.proto\"L\n\nTenantInfo\x12\x11\n\tfolder_id\x18\x01 \x01(\t\x12\x1a\n\x12personal_tenant_id\x18\x02 \x01(\t\x12\x0f\n\x07user_id\x18\x03 \x01(\t\"\
|
|
28
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n%yandex/cloud/backup/v1/resource.proto\x12\x16yandex.cloud.backup.v1\x1a\x1fgoogle/protobuf/timestamp.proto\"L\n\nTenantInfo\x12\x11\n\tfolder_id\x18\x01 \x01(\t\x12\x1a\n\x12personal_tenant_id\x18\x02 \x01(\t\x12\x0f\n\x07user_id\x18\x03 \x01(\t\"P\n\tAgentInfo\x12\x17\n\x0f\x63urrent_version\x18\x01 \x01(\t\x12\x16\n\x0elatest_version\x18\x02 \x01(\t\x12\x12\n\ncan_update\x18\x03 \x01(\x08\"\xf7\x06\n\x08Resource\x12\x1b\n\x13\x63ompute_instance_id\x18\x01 \x01(\t\x12.\n\ncreated_at\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12.\n\nupdated_at\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x0e\n\x06online\x18\x04 \x01(\x08\x12\x0f\n\x07\x65nabled\x18\x05 \x01(\x08\x12\x37\n\x06status\x18\x06 \x01(\x0e\x32\'.yandex.cloud.backup.v1.Resource.Status\x12\x16\n\x0estatus_details\x18\x07 \x01(\t\x12\x17\n\x0fstatus_progress\x18\x08 \x01(\x03\x12\x34\n\x10last_backup_time\x18\t \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x34\n\x10next_backup_time\x18\n \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x13\n\x0bresource_id\x18\x0b \x01(\t\x12\x11\n\tis_active\x18\x0c \x01(\x08\x12@\n\x0binit_status\x18\r \x01(\x0e\x32+.yandex.cloud.backup.v1.Resource.InitStatus\x12\x10\n\x08metadata\x18\x0e \x01(\t\x12\x32\n\x04type\x18\x0f \x01(\x0e\x32$.yandex.cloud.backup.v1.ResourceType\x12\x37\n\x0btenant_info\x18\x10 \x01(\x0b\x32\".yandex.cloud.backup.v1.TenantInfo\x12\x35\n\nagent_info\x18\x12 \x01(\x0b\x32!.yandex.cloud.backup.v1.AgentInfo\"`\n\x06Status\x12\x16\n\x12STATUS_UNSPECIFIED\x10\x00\x12\x08\n\x04IDLE\x10\x01\x12\r\n\tBACKUPING\x10\x02\x12\x0e\n\nRECOVERING\x10\x03\x12\n\n\x06\x46\x41ILED\x10\x04\x12\t\n\x05OTHER\x10\x05\"o\n\nInitStatus\x12\x1b\n\x17INIT_STATUS_UNSPECIFIED\x10\x00\x12\x0f\n\x0bREGISTERING\x10\x01\x12\r\n\tREGISTRED\x10\x02\x12\x17\n\x13\x46\x41ILED_REGISTRATION\x10\x03\x12\x0b\n\x07\x44\x45LETED\x10\x04J\x04\x08\x11\x10\x12\"*\n\x08Progress\x12\x0f\n\x07\x63urrent\x18\x01 \x01(\x03\x12\r\n\x05total\x18\x02 \x01(\x03\"\xb7\x06\n\x04Task\x12\n\n\x02id\x18\x01 \x01(\x03\x12\x13\n\x0b\x63\x61ncellable\x18\x02 \x01(\x08\x12\x11\n\tpolicy_id\x18\x03 \x01(\t\x12/\n\x04type\x18\x04 \x01(\x0e\x32!.yandex.cloud.backup.v1.Task.Type\x12\x32\n\x08progress\x18\x05 \x01(\x0b\x32 .yandex.cloud.backup.v1.Progress\x12\x33\n\x06status\x18\x06 \x01(\x0e\x32#.yandex.cloud.backup.v1.Task.Status\x12/\n\x0b\x65nqueued_at\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12.\n\nstarted_at\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12.\n\nupdated_at\x18\t \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x30\n\x0c\x63ompleted_at\x18\n \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x1b\n\x13\x63ompute_instance_id\x18\x0b \x01(\t\x12\x36\n\x0bresult_code\x18\x0c \x01(\x0e\x32!.yandex.cloud.backup.v1.Task.Code\x12\r\n\x05\x65rror\x18\r \x01(\t\"j\n\x04Type\x12\x14\n\x10TYPE_UNSPECIFIED\x10\x00\x12\n\n\x06\x42\x41\x43KUP\x10\x01\x12\r\n\tRETENTION\x10\x02\x12\x0c\n\x08RECOVERY\x10\x03\x12\x10\n\x0c\x41PPLY_POLICY\x10\x04\x12\x11\n\rREVOKE_POLICY\x10\x05\"d\n\x06Status\x12\x16\n\x12STATUS_UNSPECIFIED\x10\x00\x12\x0c\n\x08\x45NQUEUED\x10\x01\x12\x0c\n\x08\x41SSIGNED\x10\x02\x12\x0b\n\x07STARTED\x10\x03\x12\n\n\x06PAUSED\x10\x04\x12\r\n\tCOMPLETED\x10\x05\"h\n\x04\x43ode\x12\x14\n\x10\x43ODE_UNSPECIFIED\x10\x00\x12\x06\n\x02OK\x10\x01\x12\t\n\x05\x45RROR\x10\x02\x12\x0b\n\x07WARNING\x10\x03\x12\r\n\tCANCELLED\x10\x04\x12\r\n\tABANDONED\x10\x05\x12\x0c\n\x08TIMEDOUT\x10\x06*C\n\x0cResourceType\x12\x1d\n\x19RESOURCE_TYPE_UNSPECIFIED\x10\x00\x12\x0b\n\x07\x43OMPUTE\x10\x01\x12\x07\n\x03\x42MS\x10\x02\x42_\n\x1ayandex.cloud.api.backup.v1ZAgithub.com/yandex-cloud/go-genproto/yandex/cloud/backup/v1;backupb\x06proto3')
|
|
29
29
|
|
|
30
30
|
_globals = globals()
|
|
31
31
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
@@ -33,24 +33,26 @@ _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'yandex.cloud.backup.v1.reso
|
|
|
33
33
|
if not _descriptor._USE_C_DESCRIPTORS:
|
|
34
34
|
_globals['DESCRIPTOR']._loaded_options = None
|
|
35
35
|
_globals['DESCRIPTOR']._serialized_options = b'\n\032yandex.cloud.api.backup.v1ZAgithub.com/yandex-cloud/go-genproto/yandex/cloud/backup/v1;backup'
|
|
36
|
-
_globals['_RESOURCETYPE']._serialized_start=
|
|
37
|
-
_globals['_RESOURCETYPE']._serialized_end=
|
|
36
|
+
_globals['_RESOURCETYPE']._serialized_start=2018
|
|
37
|
+
_globals['_RESOURCETYPE']._serialized_end=2085
|
|
38
38
|
_globals['_TENANTINFO']._serialized_start=98
|
|
39
39
|
_globals['_TENANTINFO']._serialized_end=174
|
|
40
|
-
_globals['
|
|
41
|
-
_globals['
|
|
42
|
-
_globals['
|
|
43
|
-
_globals['
|
|
44
|
-
_globals['
|
|
45
|
-
_globals['
|
|
46
|
-
_globals['
|
|
47
|
-
_globals['
|
|
48
|
-
_globals['
|
|
49
|
-
_globals['
|
|
50
|
-
_globals['
|
|
51
|
-
_globals['
|
|
52
|
-
_globals['
|
|
53
|
-
_globals['
|
|
54
|
-
_globals['
|
|
55
|
-
_globals['
|
|
40
|
+
_globals['_AGENTINFO']._serialized_start=176
|
|
41
|
+
_globals['_AGENTINFO']._serialized_end=256
|
|
42
|
+
_globals['_RESOURCE']._serialized_start=259
|
|
43
|
+
_globals['_RESOURCE']._serialized_end=1146
|
|
44
|
+
_globals['_RESOURCE_STATUS']._serialized_start=931
|
|
45
|
+
_globals['_RESOURCE_STATUS']._serialized_end=1027
|
|
46
|
+
_globals['_RESOURCE_INITSTATUS']._serialized_start=1029
|
|
47
|
+
_globals['_RESOURCE_INITSTATUS']._serialized_end=1140
|
|
48
|
+
_globals['_PROGRESS']._serialized_start=1148
|
|
49
|
+
_globals['_PROGRESS']._serialized_end=1190
|
|
50
|
+
_globals['_TASK']._serialized_start=1193
|
|
51
|
+
_globals['_TASK']._serialized_end=2016
|
|
52
|
+
_globals['_TASK_TYPE']._serialized_start=1702
|
|
53
|
+
_globals['_TASK_TYPE']._serialized_end=1808
|
|
54
|
+
_globals['_TASK_STATUS']._serialized_start=1810
|
|
55
|
+
_globals['_TASK_STATUS']._serialized_end=1910
|
|
56
|
+
_globals['_TASK_CODE']._serialized_start=1912
|
|
57
|
+
_globals['_TASK_CODE']._serialized_end=2016
|
|
56
58
|
# @@protoc_insertion_point(module_scope)
|
|
@@ -63,6 +63,27 @@ class TenantInfo(google.protobuf.message.Message):
|
|
|
63
63
|
|
|
64
64
|
global___TenantInfo = TenantInfo
|
|
65
65
|
|
|
66
|
+
@typing.final
|
|
67
|
+
class AgentInfo(google.protobuf.message.Message):
|
|
68
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
69
|
+
|
|
70
|
+
CURRENT_VERSION_FIELD_NUMBER: builtins.int
|
|
71
|
+
LATEST_VERSION_FIELD_NUMBER: builtins.int
|
|
72
|
+
CAN_UPDATE_FIELD_NUMBER: builtins.int
|
|
73
|
+
current_version: builtins.str
|
|
74
|
+
latest_version: builtins.str
|
|
75
|
+
can_update: builtins.bool
|
|
76
|
+
def __init__(
|
|
77
|
+
self,
|
|
78
|
+
*,
|
|
79
|
+
current_version: builtins.str = ...,
|
|
80
|
+
latest_version: builtins.str = ...,
|
|
81
|
+
can_update: builtins.bool = ...,
|
|
82
|
+
) -> None: ...
|
|
83
|
+
def ClearField(self, field_name: typing.Literal["can_update", b"can_update", "current_version", b"current_version", "latest_version", b"latest_version"]) -> None: ...
|
|
84
|
+
|
|
85
|
+
global___AgentInfo = AgentInfo
|
|
86
|
+
|
|
66
87
|
@typing.final
|
|
67
88
|
class Resource(google.protobuf.message.Message):
|
|
68
89
|
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
@@ -81,7 +102,7 @@ class Resource(google.protobuf.message.Message):
|
|
|
81
102
|
RECOVERING: Resource._Status.ValueType # 3
|
|
82
103
|
"""Compute Cloud instance is currently recovering itself."""
|
|
83
104
|
FAILED: Resource._Status.ValueType # 4
|
|
84
|
-
"""Compute Cloud instance is in failure state, check content of
|
|
105
|
+
"""Compute Cloud instance is in failure state, check content of
|
|
85
106
|
`status_details` field for more information.
|
|
86
107
|
"""
|
|
87
108
|
OTHER: Resource._Status.ValueType # 5
|
|
@@ -98,7 +119,7 @@ class Resource(google.protobuf.message.Message):
|
|
|
98
119
|
RECOVERING: Resource.Status.ValueType # 3
|
|
99
120
|
"""Compute Cloud instance is currently recovering itself."""
|
|
100
121
|
FAILED: Resource.Status.ValueType # 4
|
|
101
|
-
"""Compute Cloud instance is in failure state, check content of
|
|
122
|
+
"""Compute Cloud instance is in failure state, check content of
|
|
102
123
|
`status_details` field for more information.
|
|
103
124
|
"""
|
|
104
125
|
OTHER: Resource.Status.ValueType # 5
|
|
@@ -149,6 +170,7 @@ class Resource(google.protobuf.message.Message):
|
|
|
149
170
|
METADATA_FIELD_NUMBER: builtins.int
|
|
150
171
|
TYPE_FIELD_NUMBER: builtins.int
|
|
151
172
|
TENANT_INFO_FIELD_NUMBER: builtins.int
|
|
173
|
+
AGENT_INFO_FIELD_NUMBER: builtins.int
|
|
152
174
|
compute_instance_id: builtins.str
|
|
153
175
|
"""Compute Cloud instance ID."""
|
|
154
176
|
online: builtins.bool
|
|
@@ -189,7 +211,11 @@ class Resource(google.protobuf.message.Message):
|
|
|
189
211
|
def next_backup_time(self) -> google.protobuf.timestamp_pb2.Timestamp: ...
|
|
190
212
|
@property
|
|
191
213
|
def tenant_info(self) -> global___TenantInfo:
|
|
192
|
-
"""Additional info
|
|
214
|
+
"""Additional info about tenant which resource belongs to"""
|
|
215
|
+
|
|
216
|
+
@property
|
|
217
|
+
def agent_info(self) -> global___AgentInfo:
|
|
218
|
+
"""Additional Info about agent version"""
|
|
193
219
|
|
|
194
220
|
def __init__(
|
|
195
221
|
self,
|
|
@@ -210,9 +236,10 @@ class Resource(google.protobuf.message.Message):
|
|
|
210
236
|
metadata: builtins.str = ...,
|
|
211
237
|
type: global___ResourceType.ValueType = ...,
|
|
212
238
|
tenant_info: global___TenantInfo | None = ...,
|
|
239
|
+
agent_info: global___AgentInfo | None = ...,
|
|
213
240
|
) -> None: ...
|
|
214
|
-
def HasField(self, field_name: typing.Literal["created_at", b"created_at", "last_backup_time", b"last_backup_time", "next_backup_time", b"next_backup_time", "tenant_info", b"tenant_info", "updated_at", b"updated_at"]) -> builtins.bool: ...
|
|
215
|
-
def ClearField(self, field_name: typing.Literal["compute_instance_id", b"compute_instance_id", "created_at", b"created_at", "enabled", b"enabled", "init_status", b"init_status", "is_active", b"is_active", "last_backup_time", b"last_backup_time", "metadata", b"metadata", "next_backup_time", b"next_backup_time", "online", b"online", "resource_id", b"resource_id", "status", b"status", "status_details", b"status_details", "status_progress", b"status_progress", "tenant_info", b"tenant_info", "type", b"type", "updated_at", b"updated_at"]) -> None: ...
|
|
241
|
+
def HasField(self, field_name: typing.Literal["agent_info", b"agent_info", "created_at", b"created_at", "last_backup_time", b"last_backup_time", "next_backup_time", b"next_backup_time", "tenant_info", b"tenant_info", "updated_at", b"updated_at"]) -> builtins.bool: ...
|
|
242
|
+
def ClearField(self, field_name: typing.Literal["agent_info", b"agent_info", "compute_instance_id", b"compute_instance_id", "created_at", b"created_at", "enabled", b"enabled", "init_status", b"init_status", "is_active", b"is_active", "last_backup_time", b"last_backup_time", "metadata", b"metadata", "next_backup_time", b"next_backup_time", "online", b"online", "resource_id", b"resource_id", "status", b"status", "status_details", b"status_details", "status_progress", b"status_progress", "tenant_info", b"tenant_info", "type", b"type", "updated_at", b"updated_at"]) -> None: ...
|
|
216
243
|
|
|
217
244
|
global___Resource = Resource
|
|
218
245
|
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# NO CHECKED-IN PROTOBUF GENCODE
|
|
4
|
+
# source: yandex/cloud/baremetal/v1alpha/private_cloud_connection.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/baremetal/v1alpha/private_cloud_connection.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/baremetal/v1alpha/private_cloud_connection.proto\x12\x1eyandex.cloud.baremetal.v1alpha\x1a\x1fgoogle/protobuf/timestamp.proto\"\xf0\x02\n\x16PrivateCloudConnection\x12\n\n\x02id\x18\x01 \x01(\t\x12\x11\n\tfolder_id\x18\x04 \x01(\t\x12\x10\n\x08\x63loud_id\x18\x05 \x01(\t\x12\x1b\n\x13routing_instance_id\x18\x06 \x01(\t\x12\x0e\n\x06vrf_id\x18\x07 \x01(\t\x12M\n\x06status\x18\x08 \x01(\x0e\x32=.yandex.cloud.baremetal.v1alpha.PrivateCloudConnection.Status\x12.\n\ncreated_at\x18\x64 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\"`\n\x06Status\x12\x16\n\x12STATUS_UNSPECIFIED\x10\x00\x12\x0c\n\x08\x43REATING\x10\x01\x12\t\n\x05READY\x10\x02\x12\t\n\x05\x45RROR\x10\x03\x12\x0c\n\x08\x44\x45LETING\x10\x04\x12\x0c\n\x08UPDATING\x10\x05J\x04\x08\x02\x10\x03J\x04\x08\x03\x10\x04J\x04\x08\t\x10\x64J\x05\x08\x65\x10\xc9\x01\x42r\n\"yandex.cloud.api.baremetal.v1alphaZLgithub.com/yandex-cloud/go-genproto/yandex/cloud/baremetal/v1alpha;baremetalb\x06proto3')
|
|
29
|
+
|
|
30
|
+
_globals = globals()
|
|
31
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
32
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'yandex.cloud.baremetal.v1alpha.private_cloud_connection_pb2', _globals)
|
|
33
|
+
if not _descriptor._USE_C_DESCRIPTORS:
|
|
34
|
+
_globals['DESCRIPTOR']._loaded_options = None
|
|
35
|
+
_globals['DESCRIPTOR']._serialized_options = b'\n\"yandex.cloud.api.baremetal.v1alphaZLgithub.com/yandex-cloud/go-genproto/yandex/cloud/baremetal/v1alpha;baremetal'
|
|
36
|
+
_globals['_PRIVATECLOUDCONNECTION']._serialized_start=131
|
|
37
|
+
_globals['_PRIVATECLOUDCONNECTION']._serialized_end=499
|
|
38
|
+
_globals['_PRIVATECLOUDCONNECTION_STATUS']._serialized_start=378
|
|
39
|
+
_globals['_PRIVATECLOUDCONNECTION_STATUS']._serialized_end=474
|
|
40
|
+
# @@protoc_insertion_point(module_scope)
|
|
@@ -0,0 +1,99 @@
|
|
|
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.internal.enum_type_wrapper
|
|
9
|
+
import google.protobuf.message
|
|
10
|
+
import google.protobuf.timestamp_pb2
|
|
11
|
+
import sys
|
|
12
|
+
import typing
|
|
13
|
+
|
|
14
|
+
if sys.version_info >= (3, 10):
|
|
15
|
+
import typing as typing_extensions
|
|
16
|
+
else:
|
|
17
|
+
import typing_extensions
|
|
18
|
+
|
|
19
|
+
DESCRIPTOR: google.protobuf.descriptor.FileDescriptor
|
|
20
|
+
|
|
21
|
+
@typing.final
|
|
22
|
+
class PrivateCloudConnection(google.protobuf.message.Message):
|
|
23
|
+
"""A Private cloud connection resource."""
|
|
24
|
+
|
|
25
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
26
|
+
|
|
27
|
+
class _Status:
|
|
28
|
+
ValueType = typing.NewType("ValueType", builtins.int)
|
|
29
|
+
V: typing_extensions.TypeAlias = ValueType
|
|
30
|
+
|
|
31
|
+
class _StatusEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[PrivateCloudConnection._Status.ValueType], builtins.type):
|
|
32
|
+
DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor
|
|
33
|
+
STATUS_UNSPECIFIED: PrivateCloudConnection._Status.ValueType # 0
|
|
34
|
+
"""Unspecified private cloud connection status."""
|
|
35
|
+
CREATING: PrivateCloudConnection._Status.ValueType # 1
|
|
36
|
+
"""Private cloud connection is waiting for network resources to be allocated."""
|
|
37
|
+
READY: PrivateCloudConnection._Status.ValueType # 2
|
|
38
|
+
"""Private cloud connection is ready to use."""
|
|
39
|
+
ERROR: PrivateCloudConnection._Status.ValueType # 3
|
|
40
|
+
"""Private cloud connection encountered a problem and cannot operate."""
|
|
41
|
+
DELETING: PrivateCloudConnection._Status.ValueType # 4
|
|
42
|
+
"""Private cloud connection is being deleted."""
|
|
43
|
+
UPDATING: PrivateCloudConnection._Status.ValueType # 5
|
|
44
|
+
"""Private cloud connection is being updated."""
|
|
45
|
+
|
|
46
|
+
class Status(_Status, metaclass=_StatusEnumTypeWrapper):
|
|
47
|
+
"""Private cloud connection status."""
|
|
48
|
+
|
|
49
|
+
STATUS_UNSPECIFIED: PrivateCloudConnection.Status.ValueType # 0
|
|
50
|
+
"""Unspecified private cloud connection status."""
|
|
51
|
+
CREATING: PrivateCloudConnection.Status.ValueType # 1
|
|
52
|
+
"""Private cloud connection is waiting for network resources to be allocated."""
|
|
53
|
+
READY: PrivateCloudConnection.Status.ValueType # 2
|
|
54
|
+
"""Private cloud connection is ready to use."""
|
|
55
|
+
ERROR: PrivateCloudConnection.Status.ValueType # 3
|
|
56
|
+
"""Private cloud connection encountered a problem and cannot operate."""
|
|
57
|
+
DELETING: PrivateCloudConnection.Status.ValueType # 4
|
|
58
|
+
"""Private cloud connection is being deleted."""
|
|
59
|
+
UPDATING: PrivateCloudConnection.Status.ValueType # 5
|
|
60
|
+
"""Private cloud connection is being updated."""
|
|
61
|
+
|
|
62
|
+
ID_FIELD_NUMBER: builtins.int
|
|
63
|
+
FOLDER_ID_FIELD_NUMBER: builtins.int
|
|
64
|
+
CLOUD_ID_FIELD_NUMBER: builtins.int
|
|
65
|
+
ROUTING_INSTANCE_ID_FIELD_NUMBER: builtins.int
|
|
66
|
+
VRF_ID_FIELD_NUMBER: builtins.int
|
|
67
|
+
STATUS_FIELD_NUMBER: builtins.int
|
|
68
|
+
CREATED_AT_FIELD_NUMBER: builtins.int
|
|
69
|
+
id: builtins.str
|
|
70
|
+
"""ID of the private cloud connection."""
|
|
71
|
+
folder_id: builtins.str
|
|
72
|
+
"""ID of the folder that the private cloud connection belongs to."""
|
|
73
|
+
cloud_id: builtins.str
|
|
74
|
+
"""ID of the cloud that the private cloud connection belongs to."""
|
|
75
|
+
routing_instance_id: builtins.str
|
|
76
|
+
"""ID of Cloud Router Routing Instance."""
|
|
77
|
+
vrf_id: builtins.str
|
|
78
|
+
"""ID of VRF that is connected to routing Instance."""
|
|
79
|
+
status: global___PrivateCloudConnection.Status.ValueType
|
|
80
|
+
"""Status of the private cloud connection."""
|
|
81
|
+
@property
|
|
82
|
+
def created_at(self) -> google.protobuf.timestamp_pb2.Timestamp:
|
|
83
|
+
"""Creation timestamp."""
|
|
84
|
+
|
|
85
|
+
def __init__(
|
|
86
|
+
self,
|
|
87
|
+
*,
|
|
88
|
+
id: builtins.str = ...,
|
|
89
|
+
folder_id: builtins.str = ...,
|
|
90
|
+
cloud_id: builtins.str = ...,
|
|
91
|
+
routing_instance_id: builtins.str = ...,
|
|
92
|
+
vrf_id: builtins.str = ...,
|
|
93
|
+
status: global___PrivateCloudConnection.Status.ValueType = ...,
|
|
94
|
+
created_at: google.protobuf.timestamp_pb2.Timestamp | None = ...,
|
|
95
|
+
) -> None: ...
|
|
96
|
+
def HasField(self, field_name: typing.Literal["created_at", b"created_at"]) -> builtins.bool: ...
|
|
97
|
+
def ClearField(self, field_name: typing.Literal["cloud_id", b"cloud_id", "created_at", b"created_at", "folder_id", b"folder_id", "id", b"id", "routing_instance_id", b"routing_instance_id", "status", b"status", "vrf_id", b"vrf_id"]) -> None: ...
|
|
98
|
+
|
|
99
|
+
global___PrivateCloudConnection = PrivateCloudConnection
|
|
@@ -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/baremetal/v1alpha/private_cloud_connection_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,78 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# NO CHECKED-IN PROTOBUF GENCODE
|
|
4
|
+
# source: yandex/cloud/baremetal/v1alpha/private_cloud_connection_service.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/baremetal/v1alpha/private_cloud_connection_service.proto'
|
|
19
|
+
)
|
|
20
|
+
# @@protoc_insertion_point(imports)
|
|
21
|
+
|
|
22
|
+
_sym_db = _symbol_database.Default()
|
|
23
|
+
|
|
24
|
+
|
|
25
|
+
from google.protobuf import field_mask_pb2 as google_dot_protobuf_dot_field__mask__pb2
|
|
26
|
+
from yandex.cloud.api import operation_pb2 as yandex_dot_cloud_dot_api_dot_operation__pb2
|
|
27
|
+
from yandex.cloud.operation import operation_pb2 as yandex_dot_cloud_dot_operation_dot_operation__pb2
|
|
28
|
+
from yandex.cloud import validation_pb2 as yandex_dot_cloud_dot_validation__pb2
|
|
29
|
+
from yandex.cloud.baremetal.v1alpha import private_cloud_connection_pb2 as yandex_dot_cloud_dot_baremetal_dot_v1alpha_dot_private__cloud__connection__pb2
|
|
30
|
+
|
|
31
|
+
|
|
32
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\nEyandex/cloud/baremetal/v1alpha/private_cloud_connection_service.proto\x12\x1eyandex.cloud.baremetal.v1alpha\x1a google/protobuf/field_mask.proto\x1a yandex/cloud/api/operation.proto\x1a&yandex/cloud/operation/operation.proto\x1a\x1dyandex/cloud/validation.proto\x1a=yandex/cloud/baremetal/v1alpha/private_cloud_connection.proto\"e\n GetPrivateCloudConnectionRequest\x12\x41\n\x1bprivate_cloud_connection_id\x18\x01 \x01(\tB\x1c\xf2\xc7\x31\x10[a-z][a-z0-9.-]*\x8a\xc8\x31\x04<=20\"\xae\x01\n!ListPrivateCloudConnectionRequest\x12/\n\tfolder_id\x18\x01 \x01(\tB\x1c\xf2\xc7\x31\x10[a-z][a-z0-9.-]*\x8a\xc8\x31\x04<=50\x12\x1c\n\tpage_size\x18\x64 \x01(\x03\x42\t\xfa\xc7\x31\x05<=100\x12\x12\n\npage_token\x18\x65 \x01(\t\x12\x10\n\x08order_by\x18\x66 \x01(\t\x12\x0e\n\x06\x66ilter\x18g \x01(\tJ\x04\x08\x02\x10\x64\"\x9e\x01\n\"ListPrivateCloudConnectionResponse\x12Y\n\x19private_cloud_connections\x18\x01 \x03(\x0b\x32\x36.yandex.cloud.baremetal.v1alpha.PrivateCloudConnection\x12\x17\n\x0fnext_page_token\x18\x64 \x01(\tJ\x04\x08\x02\x10\x64\"\x89\x01\n#CreatePrivateCloudConnectionRequest\x12\x1b\n\x13routing_instance_id\x18\x04 \x01(\t\x12,\n\x06vrf_id\x18\x05 \x01(\tB\x1c\xf2\xc7\x31\x10[a-z][a-z0-9.-]*\x8a\xc8\x31\x04<=20J\x04\x08\x01\x10\x02J\x04\x08\x02\x10\x03J\x04\x08\x03\x10\x04J\x05\x08\x06\x10\xc9\x01\"K\n$CreatePrivateCloudConnectionMetadata\x12#\n\x1bprivate_cloud_connection_id\x18\x01 \x01(\t\"\xb6\x01\n#UpdatePrivateCloudConnectionRequest\x12\x41\n\x1bprivate_cloud_connection_id\x18\x01 \x01(\tB\x1c\xf2\xc7\x31\x10[a-z][a-z0-9.-]*\x8a\xc8\x31\x04<=20\x12/\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\x12\x1b\n\x13routing_instance_id\x18\x03 \x01(\t\"K\n$UpdatePrivateCloudConnectionMetadata\x12#\n\x1bprivate_cloud_connection_id\x18\x01 \x01(\t\"h\n#DeletePrivateCloudConnectionRequest\x12\x41\n\x1bprivate_cloud_connection_id\x18\x01 \x01(\tB\x1c\xf2\xc7\x31\x10[a-z][a-z0-9.-]*\x8a\xc8\x31\x04<=20\"K\n$DeletePrivateCloudConnectionMetadata\x12#\n\x1bprivate_cloud_connection_id\x18\x01 \x01(\t2\xd9\x06\n\x1dPrivateCloudConnectionService\x12\x81\x01\n\x03Get\x12@.yandex.cloud.baremetal.v1alpha.GetPrivateCloudConnectionRequest\x1a\x36.yandex.cloud.baremetal.v1alpha.PrivateCloudConnection\"\x00\x12\x8f\x01\n\x04List\x12\x41.yandex.cloud.baremetal.v1alpha.ListPrivateCloudConnectionRequest\x1a\x42.yandex.cloud.baremetal.v1alpha.ListPrivateCloudConnectionResponse\"\x00\x12\xb4\x01\n\x06\x43reate\x12\x43.yandex.cloud.baremetal.v1alpha.CreatePrivateCloudConnectionRequest\x1a!.yandex.cloud.operation.Operation\"B\xb2\xd2*>\n$CreatePrivateCloudConnectionMetadata\x12\x16PrivateCloudConnection\x12\xb4\x01\n\x06Update\x12\x43.yandex.cloud.baremetal.v1alpha.UpdatePrivateCloudConnectionRequest\x1a!.yandex.cloud.operation.Operation\"B\xb2\xd2*>\n$UpdatePrivateCloudConnectionMetadata\x12\x16PrivateCloudConnection\x12\xb3\x01\n\x06\x44\x65lete\x12\x43.yandex.cloud.baremetal.v1alpha.DeletePrivateCloudConnectionRequest\x1a!.yandex.cloud.operation.Operation\"A\xb2\xd2*=\n$DeletePrivateCloudConnectionMetadata\x12\x15google.protobuf.EmptyBr\n\"yandex.cloud.api.baremetal.v1alphaZLgithub.com/yandex-cloud/go-genproto/yandex/cloud/baremetal/v1alpha;baremetalb\x06proto3')
|
|
33
|
+
|
|
34
|
+
_globals = globals()
|
|
35
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
36
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'yandex.cloud.baremetal.v1alpha.private_cloud_connection_service_pb2', _globals)
|
|
37
|
+
if not _descriptor._USE_C_DESCRIPTORS:
|
|
38
|
+
_globals['DESCRIPTOR']._loaded_options = None
|
|
39
|
+
_globals['DESCRIPTOR']._serialized_options = b'\n\"yandex.cloud.api.baremetal.v1alphaZLgithub.com/yandex-cloud/go-genproto/yandex/cloud/baremetal/v1alpha;baremetal'
|
|
40
|
+
_globals['_GETPRIVATECLOUDCONNECTIONREQUEST'].fields_by_name['private_cloud_connection_id']._loaded_options = None
|
|
41
|
+
_globals['_GETPRIVATECLOUDCONNECTIONREQUEST'].fields_by_name['private_cloud_connection_id']._serialized_options = b'\362\3071\020[a-z][a-z0-9.-]*\212\3101\004<=20'
|
|
42
|
+
_globals['_LISTPRIVATECLOUDCONNECTIONREQUEST'].fields_by_name['folder_id']._loaded_options = None
|
|
43
|
+
_globals['_LISTPRIVATECLOUDCONNECTIONREQUEST'].fields_by_name['folder_id']._serialized_options = b'\362\3071\020[a-z][a-z0-9.-]*\212\3101\004<=50'
|
|
44
|
+
_globals['_LISTPRIVATECLOUDCONNECTIONREQUEST'].fields_by_name['page_size']._loaded_options = None
|
|
45
|
+
_globals['_LISTPRIVATECLOUDCONNECTIONREQUEST'].fields_by_name['page_size']._serialized_options = b'\372\3071\005<=100'
|
|
46
|
+
_globals['_CREATEPRIVATECLOUDCONNECTIONREQUEST'].fields_by_name['vrf_id']._loaded_options = None
|
|
47
|
+
_globals['_CREATEPRIVATECLOUDCONNECTIONREQUEST'].fields_by_name['vrf_id']._serialized_options = b'\362\3071\020[a-z][a-z0-9.-]*\212\3101\004<=20'
|
|
48
|
+
_globals['_UPDATEPRIVATECLOUDCONNECTIONREQUEST'].fields_by_name['private_cloud_connection_id']._loaded_options = None
|
|
49
|
+
_globals['_UPDATEPRIVATECLOUDCONNECTIONREQUEST'].fields_by_name['private_cloud_connection_id']._serialized_options = b'\362\3071\020[a-z][a-z0-9.-]*\212\3101\004<=20'
|
|
50
|
+
_globals['_DELETEPRIVATECLOUDCONNECTIONREQUEST'].fields_by_name['private_cloud_connection_id']._loaded_options = None
|
|
51
|
+
_globals['_DELETEPRIVATECLOUDCONNECTIONREQUEST'].fields_by_name['private_cloud_connection_id']._serialized_options = b'\362\3071\020[a-z][a-z0-9.-]*\212\3101\004<=20'
|
|
52
|
+
_globals['_PRIVATECLOUDCONNECTIONSERVICE'].methods_by_name['Create']._loaded_options = None
|
|
53
|
+
_globals['_PRIVATECLOUDCONNECTIONSERVICE'].methods_by_name['Create']._serialized_options = b'\262\322*>\n$CreatePrivateCloudConnectionMetadata\022\026PrivateCloudConnection'
|
|
54
|
+
_globals['_PRIVATECLOUDCONNECTIONSERVICE'].methods_by_name['Update']._loaded_options = None
|
|
55
|
+
_globals['_PRIVATECLOUDCONNECTIONSERVICE'].methods_by_name['Update']._serialized_options = b'\262\322*>\n$UpdatePrivateCloudConnectionMetadata\022\026PrivateCloudConnection'
|
|
56
|
+
_globals['_PRIVATECLOUDCONNECTIONSERVICE'].methods_by_name['Delete']._loaded_options = None
|
|
57
|
+
_globals['_PRIVATECLOUDCONNECTIONSERVICE'].methods_by_name['Delete']._serialized_options = b'\262\322*=\n$DeletePrivateCloudConnectionMetadata\022\025google.protobuf.Empty'
|
|
58
|
+
_globals['_GETPRIVATECLOUDCONNECTIONREQUEST']._serialized_start=307
|
|
59
|
+
_globals['_GETPRIVATECLOUDCONNECTIONREQUEST']._serialized_end=408
|
|
60
|
+
_globals['_LISTPRIVATECLOUDCONNECTIONREQUEST']._serialized_start=411
|
|
61
|
+
_globals['_LISTPRIVATECLOUDCONNECTIONREQUEST']._serialized_end=585
|
|
62
|
+
_globals['_LISTPRIVATECLOUDCONNECTIONRESPONSE']._serialized_start=588
|
|
63
|
+
_globals['_LISTPRIVATECLOUDCONNECTIONRESPONSE']._serialized_end=746
|
|
64
|
+
_globals['_CREATEPRIVATECLOUDCONNECTIONREQUEST']._serialized_start=749
|
|
65
|
+
_globals['_CREATEPRIVATECLOUDCONNECTIONREQUEST']._serialized_end=886
|
|
66
|
+
_globals['_CREATEPRIVATECLOUDCONNECTIONMETADATA']._serialized_start=888
|
|
67
|
+
_globals['_CREATEPRIVATECLOUDCONNECTIONMETADATA']._serialized_end=963
|
|
68
|
+
_globals['_UPDATEPRIVATECLOUDCONNECTIONREQUEST']._serialized_start=966
|
|
69
|
+
_globals['_UPDATEPRIVATECLOUDCONNECTIONREQUEST']._serialized_end=1148
|
|
70
|
+
_globals['_UPDATEPRIVATECLOUDCONNECTIONMETADATA']._serialized_start=1150
|
|
71
|
+
_globals['_UPDATEPRIVATECLOUDCONNECTIONMETADATA']._serialized_end=1225
|
|
72
|
+
_globals['_DELETEPRIVATECLOUDCONNECTIONREQUEST']._serialized_start=1227
|
|
73
|
+
_globals['_DELETEPRIVATECLOUDCONNECTIONREQUEST']._serialized_end=1331
|
|
74
|
+
_globals['_DELETEPRIVATECLOUDCONNECTIONMETADATA']._serialized_start=1333
|
|
75
|
+
_globals['_DELETEPRIVATECLOUDCONNECTIONMETADATA']._serialized_end=1408
|
|
76
|
+
_globals['_PRIVATECLOUDCONNECTIONSERVICE']._serialized_start=1411
|
|
77
|
+
_globals['_PRIVATECLOUDCONNECTIONSERVICE']._serialized_end=2268
|
|
78
|
+
# @@protoc_insertion_point(module_scope)
|