yandexcloud 0.356.0__py3-none-any.whl → 0.358.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of yandexcloud might be problematic. Click here for more details.
- yandex/cloud/ai/foundation_models/v1/text_common_pb2.pyi +1 -1
- yandex/cloud/ai/stt/v3/stt_pb2.pyi +138 -126
- yandex/cloud/ai/stt/v3/stt_service_pb2_grpc.py +13 -10
- yandex/cloud/ai/stt/v3/stt_service_pb2_grpc.pyi +21 -12
- yandex/cloud/ai/tts/v3/tts_pb2.pyi +1 -1
- yandex/cloud/backup/v1/provider_service_pb2.py +11 -11
- yandex/cloud/backup/v1/provider_service_pb2.pyi +10 -2
- yandex/cloud/backup/v1/resource_service_pb2.py +42 -35
- yandex/cloud/backup/v1/resource_service_pb2.pyi +44 -0
- yandex/cloud/backup/v1/resource_service_pb2_grpc.py +44 -0
- yandex/cloud/backup/v1/resource_service_pb2_grpc.pyi +20 -0
- yandex/cloud/cdn/v1/origin_group_pb2.py +4 -2
- yandex/cloud/cdn/v1/origin_group_pb2.pyi +30 -2
- yandex/cloud/cdn/v1/origin_group_service_pb2.pyi +9 -1
- yandex/cloud/cdn/v1/origin_pb2.pyi +3 -3
- yandex/cloud/cdn/v1/origin_service_pb2.pyi +11 -3
- yandex/cloud/cdn/v1/provider_service_pb2_grpc.py +1 -1
- yandex/cloud/cdn/v1/provider_service_pb2_grpc.pyi +3 -3
- yandex/cloud/cdn/v1/resource_pb2.pyi +3 -3
- yandex/cloud/cdn/v1/resource_service_pb2.pyi +9 -1
- yandex/cloud/cdn/v1/resource_service_pb2_grpc.py +1 -2
- yandex/cloud/cdn/v1/resource_service_pb2_grpc.pyi +3 -9
- yandex/cloud/connectionmanager/v1/clickhouse_pb2.py +10 -8
- yandex/cloud/connectionmanager/v1/clickhouse_pb2.pyi +25 -4
- yandex/cloud/connectionmanager/v1/connection_pb2.py +12 -11
- yandex/cloud/connectionmanager/v1/connection_pb2.pyi +10 -3
- yandex/cloud/connectionmanager/v1/kafka_pb2.py +51 -0
- yandex/cloud/connectionmanager/v1/kafka_pb2.pyi +181 -0
- yandex/cloud/connectionmanager/v1/kafka_pb2_grpc.py +24 -0
- yandex/cloud/connectionmanager/v1/kafka_pb2_grpc.pyi +17 -0
- yandex/cloud/loadbalancer/v1/network_load_balancer_pb2.py +8 -8
- yandex/cloud/loadbalancer/v1/network_load_balancer_pb2.pyi +5 -1
- yandex/cloud/mdb/clickhouse/v1/config/clickhouse_pb2.pyi +4 -2
- yandex/cloud/mdb/redis/v1/cluster_service_pb2.py +76 -78
- yandex/cloud/mdb/redis/v1/cluster_service_pb2.pyi +5 -1
- yandex/cloud/metastore/v1/cluster_service_pb2.py +45 -45
- yandex/cloud/metastore/v1/maintenance_pb2.pyi +34 -6
- yandex/cloud/organizationmanager/v1/group_service_pb2.py +47 -47
- yandex/cloud/serverless/apigateway/v1/apigateway_service_pb2.py +42 -42
- yandex/cloud/serverless/containers/v1/container_service_pb2.py +18 -18
- yandex/cloud/serverless/containers/v1/container_service_pb2.pyi +9 -3
- yandex/cloud/serverless/workflows/v1/workflow_pb2.py +20 -14
- yandex/cloud/serverless/workflows/v1/workflow_pb2.pyi +28 -2
- yandex/cloud/serverless/workflows/v1/workflow_service_pb2.py +30 -30
- yandex/cloud/serverless/workflows/v1/workflow_service_pb2.pyi +16 -4
- yandexcloud/__init__.py +1 -1
- {yandexcloud-0.356.0.dist-info → yandexcloud-0.358.0.dist-info}/METADATA +1 -1
- {yandexcloud-0.356.0.dist-info → yandexcloud-0.358.0.dist-info}/RECORD +52 -48
- {yandexcloud-0.356.0.dist-info → yandexcloud-0.358.0.dist-info}/AUTHORS +0 -0
- {yandexcloud-0.356.0.dist-info → yandexcloud-0.358.0.dist-info}/LICENSE +0 -0
- {yandexcloud-0.356.0.dist-info → yandexcloud-0.358.0.dist-info}/WHEEL +0 -0
- {yandexcloud-0.356.0.dist-info → yandexcloud-0.358.0.dist-info}/top_level.txt +0 -0
|
@@ -29,7 +29,7 @@ if _version_not_supported:
|
|
|
29
29
|
|
|
30
30
|
|
|
31
31
|
class RecognizerStub(object):
|
|
32
|
-
"""A set of methods for
|
|
32
|
+
"""A set of methods for streaming speech recognition.
|
|
33
33
|
"""
|
|
34
34
|
|
|
35
35
|
def __init__(self, channel):
|
|
@@ -46,11 +46,11 @@ class RecognizerStub(object):
|
|
|
46
46
|
|
|
47
47
|
|
|
48
48
|
class RecognizerServicer(object):
|
|
49
|
-
"""A set of methods for
|
|
49
|
+
"""A set of methods for streaming speech recognition.
|
|
50
50
|
"""
|
|
51
51
|
|
|
52
52
|
def RecognizeStreaming(self, request_iterator, context):
|
|
53
|
-
"""
|
|
53
|
+
"""Performs bidirectional streaming speech recognition receiving results while sending audio.
|
|
54
54
|
"""
|
|
55
55
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
56
56
|
context.set_details('Method not implemented!')
|
|
@@ -73,7 +73,7 @@ def add_RecognizerServicer_to_server(servicer, server):
|
|
|
73
73
|
|
|
74
74
|
# This class is part of an EXPERIMENTAL API.
|
|
75
75
|
class Recognizer(object):
|
|
76
|
-
"""A set of methods for
|
|
76
|
+
"""A set of methods for streaming speech recognition.
|
|
77
77
|
"""
|
|
78
78
|
|
|
79
79
|
@staticmethod
|
|
@@ -105,7 +105,7 @@ class Recognizer(object):
|
|
|
105
105
|
|
|
106
106
|
|
|
107
107
|
class AsyncRecognizerStub(object):
|
|
108
|
-
"""A set of methods for
|
|
108
|
+
"""A set of methods for asynchronous speech recognition: recognize pre-recorded audio and receive results by request.
|
|
109
109
|
"""
|
|
110
110
|
|
|
111
111
|
def __init__(self, channel):
|
|
@@ -132,23 +132,26 @@ class AsyncRecognizerStub(object):
|
|
|
132
132
|
|
|
133
133
|
|
|
134
134
|
class AsyncRecognizerServicer(object):
|
|
135
|
-
"""A set of methods for
|
|
135
|
+
"""A set of methods for asynchronous speech recognition: recognize pre-recorded audio and receive results by request.
|
|
136
136
|
"""
|
|
137
137
|
|
|
138
138
|
def RecognizeFile(self, request, context):
|
|
139
|
-
"""
|
|
139
|
+
"""Performs asynchronous speech recognition.
|
|
140
|
+
"""
|
|
140
141
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
141
142
|
context.set_details('Method not implemented!')
|
|
142
143
|
raise NotImplementedError('Method not implemented!')
|
|
143
144
|
|
|
144
145
|
def GetRecognition(self, request, context):
|
|
145
|
-
"""
|
|
146
|
+
"""Gets results of asynchronous recognition after finishing the operation.
|
|
147
|
+
"""
|
|
146
148
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
147
149
|
context.set_details('Method not implemented!')
|
|
148
150
|
raise NotImplementedError('Method not implemented!')
|
|
149
151
|
|
|
150
152
|
def DeleteRecognition(self, request, context):
|
|
151
|
-
"""
|
|
153
|
+
"""Deletes results of asynchronous recognition by operation ID.
|
|
154
|
+
"""
|
|
152
155
|
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
153
156
|
context.set_details('Method not implemented!')
|
|
154
157
|
raise NotImplementedError('Method not implemented!')
|
|
@@ -180,7 +183,7 @@ def add_AsyncRecognizerServicer_to_server(servicer, server):
|
|
|
180
183
|
|
|
181
184
|
# This class is part of an EXPERIMENTAL API.
|
|
182
185
|
class AsyncRecognizer(object):
|
|
183
|
-
"""A set of methods for
|
|
186
|
+
"""A set of methods for asynchronous speech recognition: recognize pre-recorded audio and receive results by request.
|
|
184
187
|
"""
|
|
185
188
|
|
|
186
189
|
@staticmethod
|
|
@@ -21,26 +21,26 @@ class _ServicerContext(grpc.ServicerContext, grpc.aio.ServicerContext): # type:
|
|
|
21
21
|
...
|
|
22
22
|
|
|
23
23
|
class RecognizerStub:
|
|
24
|
-
"""A set of methods for
|
|
24
|
+
"""A set of methods for streaming speech recognition."""
|
|
25
25
|
|
|
26
26
|
def __init__(self, channel: typing.Union[grpc.Channel, grpc.aio.Channel]) -> None: ...
|
|
27
27
|
RecognizeStreaming: grpc.StreamStreamMultiCallable[
|
|
28
28
|
yandex.cloud.ai.stt.v3.stt_pb2.StreamingRequest,
|
|
29
29
|
yandex.cloud.ai.stt.v3.stt_pb2.StreamingResponse,
|
|
30
30
|
]
|
|
31
|
-
"""
|
|
31
|
+
"""Performs bidirectional streaming speech recognition receiving results while sending audio."""
|
|
32
32
|
|
|
33
33
|
class RecognizerAsyncStub:
|
|
34
|
-
"""A set of methods for
|
|
34
|
+
"""A set of methods for streaming speech recognition."""
|
|
35
35
|
|
|
36
36
|
RecognizeStreaming: grpc.aio.StreamStreamMultiCallable[
|
|
37
37
|
yandex.cloud.ai.stt.v3.stt_pb2.StreamingRequest,
|
|
38
38
|
yandex.cloud.ai.stt.v3.stt_pb2.StreamingResponse,
|
|
39
39
|
]
|
|
40
|
-
"""
|
|
40
|
+
"""Performs bidirectional streaming speech recognition receiving results while sending audio."""
|
|
41
41
|
|
|
42
42
|
class RecognizerServicer(metaclass=abc.ABCMeta):
|
|
43
|
-
"""A set of methods for
|
|
43
|
+
"""A set of methods for streaming speech recognition."""
|
|
44
44
|
|
|
45
45
|
@abc.abstractmethod
|
|
46
46
|
def RecognizeStreaming(
|
|
@@ -48,69 +48,78 @@ class RecognizerServicer(metaclass=abc.ABCMeta):
|
|
|
48
48
|
request_iterator: _MaybeAsyncIterator[yandex.cloud.ai.stt.v3.stt_pb2.StreamingRequest],
|
|
49
49
|
context: _ServicerContext,
|
|
50
50
|
) -> typing.Union[collections.abc.Iterator[yandex.cloud.ai.stt.v3.stt_pb2.StreamingResponse], collections.abc.AsyncIterator[yandex.cloud.ai.stt.v3.stt_pb2.StreamingResponse]]:
|
|
51
|
-
"""
|
|
51
|
+
"""Performs bidirectional streaming speech recognition receiving results while sending audio."""
|
|
52
52
|
|
|
53
53
|
def add_RecognizerServicer_to_server(servicer: RecognizerServicer, server: typing.Union[grpc.Server, grpc.aio.Server]) -> None: ...
|
|
54
54
|
|
|
55
55
|
class AsyncRecognizerStub:
|
|
56
|
-
"""A set of methods for
|
|
56
|
+
"""A set of methods for asynchronous speech recognition: recognize pre-recorded audio and receive results by request."""
|
|
57
57
|
|
|
58
58
|
def __init__(self, channel: typing.Union[grpc.Channel, grpc.aio.Channel]) -> None: ...
|
|
59
59
|
RecognizeFile: grpc.UnaryUnaryMultiCallable[
|
|
60
60
|
yandex.cloud.ai.stt.v3.stt_pb2.RecognizeFileRequest,
|
|
61
61
|
yandex.cloud.operation.operation_pb2.Operation,
|
|
62
62
|
]
|
|
63
|
+
"""Performs asynchronous speech recognition."""
|
|
63
64
|
|
|
64
65
|
GetRecognition: grpc.UnaryStreamMultiCallable[
|
|
65
66
|
yandex.cloud.ai.stt.v3.stt_service_pb2.GetRecognitionRequest,
|
|
66
67
|
yandex.cloud.ai.stt.v3.stt_pb2.StreamingResponse,
|
|
67
68
|
]
|
|
69
|
+
"""Gets results of asynchronous recognition after finishing the operation."""
|
|
68
70
|
|
|
69
71
|
DeleteRecognition: grpc.UnaryUnaryMultiCallable[
|
|
70
72
|
yandex.cloud.ai.stt.v3.stt_pb2.DeleteRecognitionRequest,
|
|
71
73
|
google.protobuf.empty_pb2.Empty,
|
|
72
74
|
]
|
|
75
|
+
"""Deletes results of asynchronous recognition by operation ID."""
|
|
73
76
|
|
|
74
77
|
class AsyncRecognizerAsyncStub:
|
|
75
|
-
"""A set of methods for
|
|
78
|
+
"""A set of methods for asynchronous speech recognition: recognize pre-recorded audio and receive results by request."""
|
|
76
79
|
|
|
77
80
|
RecognizeFile: grpc.aio.UnaryUnaryMultiCallable[
|
|
78
81
|
yandex.cloud.ai.stt.v3.stt_pb2.RecognizeFileRequest,
|
|
79
82
|
yandex.cloud.operation.operation_pb2.Operation,
|
|
80
83
|
]
|
|
84
|
+
"""Performs asynchronous speech recognition."""
|
|
81
85
|
|
|
82
86
|
GetRecognition: grpc.aio.UnaryStreamMultiCallable[
|
|
83
87
|
yandex.cloud.ai.stt.v3.stt_service_pb2.GetRecognitionRequest,
|
|
84
88
|
yandex.cloud.ai.stt.v3.stt_pb2.StreamingResponse,
|
|
85
89
|
]
|
|
90
|
+
"""Gets results of asynchronous recognition after finishing the operation."""
|
|
86
91
|
|
|
87
92
|
DeleteRecognition: grpc.aio.UnaryUnaryMultiCallable[
|
|
88
93
|
yandex.cloud.ai.stt.v3.stt_pb2.DeleteRecognitionRequest,
|
|
89
94
|
google.protobuf.empty_pb2.Empty,
|
|
90
95
|
]
|
|
96
|
+
"""Deletes results of asynchronous recognition by operation ID."""
|
|
91
97
|
|
|
92
98
|
class AsyncRecognizerServicer(metaclass=abc.ABCMeta):
|
|
93
|
-
"""A set of methods for
|
|
99
|
+
"""A set of methods for asynchronous speech recognition: recognize pre-recorded audio and receive results by request."""
|
|
94
100
|
|
|
95
101
|
@abc.abstractmethod
|
|
96
102
|
def RecognizeFile(
|
|
97
103
|
self,
|
|
98
104
|
request: yandex.cloud.ai.stt.v3.stt_pb2.RecognizeFileRequest,
|
|
99
105
|
context: _ServicerContext,
|
|
100
|
-
) -> typing.Union[yandex.cloud.operation.operation_pb2.Operation, collections.abc.Awaitable[yandex.cloud.operation.operation_pb2.Operation]]:
|
|
106
|
+
) -> typing.Union[yandex.cloud.operation.operation_pb2.Operation, collections.abc.Awaitable[yandex.cloud.operation.operation_pb2.Operation]]:
|
|
107
|
+
"""Performs asynchronous speech recognition."""
|
|
101
108
|
|
|
102
109
|
@abc.abstractmethod
|
|
103
110
|
def GetRecognition(
|
|
104
111
|
self,
|
|
105
112
|
request: yandex.cloud.ai.stt.v3.stt_service_pb2.GetRecognitionRequest,
|
|
106
113
|
context: _ServicerContext,
|
|
107
|
-
) -> typing.Union[collections.abc.Iterator[yandex.cloud.ai.stt.v3.stt_pb2.StreamingResponse], collections.abc.AsyncIterator[yandex.cloud.ai.stt.v3.stt_pb2.StreamingResponse]]:
|
|
114
|
+
) -> typing.Union[collections.abc.Iterator[yandex.cloud.ai.stt.v3.stt_pb2.StreamingResponse], collections.abc.AsyncIterator[yandex.cloud.ai.stt.v3.stt_pb2.StreamingResponse]]:
|
|
115
|
+
"""Gets results of asynchronous recognition after finishing the operation."""
|
|
108
116
|
|
|
109
117
|
@abc.abstractmethod
|
|
110
118
|
def DeleteRecognition(
|
|
111
119
|
self,
|
|
112
120
|
request: yandex.cloud.ai.stt.v3.stt_pb2.DeleteRecognitionRequest,
|
|
113
121
|
context: _ServicerContext,
|
|
114
|
-
) -> typing.Union[google.protobuf.empty_pb2.Empty, collections.abc.Awaitable[google.protobuf.empty_pb2.Empty]]:
|
|
122
|
+
) -> typing.Union[google.protobuf.empty_pb2.Empty, collections.abc.Awaitable[google.protobuf.empty_pb2.Empty]]:
|
|
123
|
+
"""Deletes results of asynchronous recognition by operation ID."""
|
|
115
124
|
|
|
116
125
|
def add_AsyncRecognizerServicer_to_server(servicer: AsyncRecognizerServicer, server: typing.Union[grpc.Server, grpc.aio.Server]) -> None: ...
|
|
@@ -458,7 +458,7 @@ class UtteranceSynthesisRequest(google.protobuf.message.Message):
|
|
|
458
458
|
UNSAFE_MODE_FIELD_NUMBER: builtins.int
|
|
459
459
|
model: builtins.str
|
|
460
460
|
"""The name of the model.
|
|
461
|
-
|
|
461
|
+
This parameter is only required for specific functionalities, such as [SpeechKit Brand Voice Lite](/docs/speechkit/tts/brand-voice/) or SpeechKit Brand Voice Call Center. If you are not sure whether your use case needs this parameter, do not include it.
|
|
462
462
|
"""
|
|
463
463
|
text: builtins.str
|
|
464
464
|
"""Raw text (e.g. "Hello, Alice")."""
|
|
@@ -28,7 +28,7 @@ from yandex.cloud.operation import operation_pb2 as yandex_dot_cloud_dot_operati
|
|
|
28
28
|
from yandex.cloud import validation_pb2 as yandex_dot_cloud_dot_validation__pb2
|
|
29
29
|
|
|
30
30
|
|
|
31
|
-
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\"
|
|
31
|
+
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\"\x99\x01\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\x00\x12 \n\x18instance_registration_id\x18\x05 \x01(\tJ\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\"b\n\x1dListActivatedProvidersRequest\x12\x1f\n\tfolder_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12 \n\x18instance_registration_id\x18\x02 \x01(\t\"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')
|
|
32
32
|
|
|
33
33
|
_globals = globals()
|
|
34
34
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
@@ -50,14 +50,14 @@ if not _descriptor._USE_C_DESCRIPTORS:
|
|
|
50
50
|
_globals['_PROVIDERSERVICE'].methods_by_name['Activate']._serialized_options = b'\262\322*1\n\030ActivateProviderMetadata\022\025google.protobuf.Empty\202\323\344\223\002)\"$/backup/v1/providers/{name}:activate:\001*'
|
|
51
51
|
_globals['_PROVIDERSERVICE'].methods_by_name['ListActivated']._loaded_options = None
|
|
52
52
|
_globals['_PROVIDERSERVICE'].methods_by_name['ListActivated']._serialized_options = b'\202\323\344\223\002\026\022\024/backup/v1/providers'
|
|
53
|
-
_globals['_ACTIVATEPROVIDERREQUEST']._serialized_start=
|
|
54
|
-
_globals['_ACTIVATEPROVIDERREQUEST']._serialized_end=
|
|
55
|
-
_globals['_ACTIVATEPROVIDERMETADATA']._serialized_start=
|
|
56
|
-
_globals['_ACTIVATEPROVIDERMETADATA']._serialized_end=
|
|
57
|
-
_globals['_LISTACTIVATEDPROVIDERSREQUEST']._serialized_start=
|
|
58
|
-
_globals['_LISTACTIVATEDPROVIDERSREQUEST']._serialized_end=
|
|
59
|
-
_globals['_LISTACTIVATEDPROVIDERSRESPONSE']._serialized_start=
|
|
60
|
-
_globals['_LISTACTIVATEDPROVIDERSRESPONSE']._serialized_end=
|
|
61
|
-
_globals['_PROVIDERSERVICE']._serialized_start=
|
|
62
|
-
_globals['_PROVIDERSERVICE']._serialized_end=
|
|
53
|
+
_globals['_ACTIVATEPROVIDERREQUEST']._serialized_start=209
|
|
54
|
+
_globals['_ACTIVATEPROVIDERREQUEST']._serialized_end=362
|
|
55
|
+
_globals['_ACTIVATEPROVIDERMETADATA']._serialized_start=364
|
|
56
|
+
_globals['_ACTIVATEPROVIDERMETADATA']._serialized_end=423
|
|
57
|
+
_globals['_LISTACTIVATEDPROVIDERSREQUEST']._serialized_start=425
|
|
58
|
+
_globals['_LISTACTIVATEDPROVIDERSREQUEST']._serialized_end=523
|
|
59
|
+
_globals['_LISTACTIVATEDPROVIDERSRESPONSE']._serialized_start=525
|
|
60
|
+
_globals['_LISTACTIVATEDPROVIDERSRESPONSE']._serialized_end=597
|
|
61
|
+
_globals['_PROVIDERSERVICE']._serialized_start=600
|
|
62
|
+
_globals['_PROVIDERSERVICE']._serialized_end=975
|
|
63
63
|
# @@protoc_insertion_point(module_scope)
|
|
@@ -19,6 +19,7 @@ class ActivateProviderRequest(google.protobuf.message.Message):
|
|
|
19
19
|
FOLDER_ID_FIELD_NUMBER: builtins.int
|
|
20
20
|
NAME_FIELD_NUMBER: builtins.int
|
|
21
21
|
SKIP_DEFAULT_POLICY_FIELD_NUMBER: builtins.int
|
|
22
|
+
INSTANCE_REGISTRATION_ID_FIELD_NUMBER: builtins.int
|
|
22
23
|
folder_id: builtins.str
|
|
23
24
|
"""Activate provider for Folder iD."""
|
|
24
25
|
name: builtins.str
|
|
@@ -28,14 +29,17 @@ class ActivateProviderRequest(google.protobuf.message.Message):
|
|
|
28
29
|
"""
|
|
29
30
|
skip_default_policy: builtins.bool
|
|
30
31
|
"""Don't create default policies while activating the provider."""
|
|
32
|
+
instance_registration_id: builtins.str
|
|
33
|
+
"""instance registration token for authorization"""
|
|
31
34
|
def __init__(
|
|
32
35
|
self,
|
|
33
36
|
*,
|
|
34
37
|
folder_id: builtins.str = ...,
|
|
35
38
|
name: builtins.str = ...,
|
|
36
39
|
skip_default_policy: builtins.bool = ...,
|
|
40
|
+
instance_registration_id: builtins.str = ...,
|
|
37
41
|
) -> 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: ...
|
|
42
|
+
def ClearField(self, field_name: typing.Literal["folder_id", b"folder_id", "instance_registration_id", b"instance_registration_id", "name", b"name", "skip_default_policy", b"skip_default_policy"]) -> None: ...
|
|
39
43
|
|
|
40
44
|
global___ActivateProviderRequest = ActivateProviderRequest
|
|
41
45
|
|
|
@@ -60,14 +64,18 @@ class ListActivatedProvidersRequest(google.protobuf.message.Message):
|
|
|
60
64
|
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
61
65
|
|
|
62
66
|
FOLDER_ID_FIELD_NUMBER: builtins.int
|
|
67
|
+
INSTANCE_REGISTRATION_ID_FIELD_NUMBER: builtins.int
|
|
63
68
|
folder_id: builtins.str
|
|
64
69
|
"""ID of the folder to find out the backup provider."""
|
|
70
|
+
instance_registration_id: builtins.str
|
|
71
|
+
"""instance registration token for authorization"""
|
|
65
72
|
def __init__(
|
|
66
73
|
self,
|
|
67
74
|
*,
|
|
68
75
|
folder_id: builtins.str = ...,
|
|
76
|
+
instance_registration_id: builtins.str = ...,
|
|
69
77
|
) -> None: ...
|
|
70
|
-
def ClearField(self, field_name: typing.Literal["folder_id", b"folder_id"]) -> None: ...
|
|
78
|
+
def ClearField(self, field_name: typing.Literal["folder_id", b"folder_id", "instance_registration_id", b"instance_registration_id"]) -> None: ...
|
|
71
79
|
|
|
72
80
|
global___ListActivatedProvidersRequest = ListActivatedProvidersRequest
|
|
73
81
|
|
|
@@ -23,13 +23,14 @@ _sym_db = _symbol_database.Default()
|
|
|
23
23
|
|
|
24
24
|
|
|
25
25
|
from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2
|
|
26
|
+
from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2
|
|
26
27
|
from yandex.cloud.api import operation_pb2 as yandex_dot_cloud_dot_api_dot_operation__pb2
|
|
27
28
|
from yandex.cloud.backup.v1 import resource_pb2 as yandex_dot_cloud_dot_backup_dot_v1_dot_resource__pb2
|
|
28
29
|
from yandex.cloud.operation import operation_pb2 as yandex_dot_cloud_dot_operation_dot_operation__pb2
|
|
29
30
|
from yandex.cloud import validation_pb2 as yandex_dot_cloud_dot_validation__pb2
|
|
30
31
|
|
|
31
32
|
|
|
32
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n-yandex/cloud/backup/v1/resource_service.proto\x12\x16yandex.cloud.backup.v1\x1a\x1cgoogle/api/annotations.proto\x1a yandex/cloud/api/operation.proto\x1a%yandex/cloud/backup/v1/resource.proto\x1a&yandex/cloud/operation/operation.proto\x1a\x1dyandex/cloud/validation.proto\"\xa9\x01\n\x14ListResourcesRequest\x12\x1f\n\tfolder_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12\x1d\n\tpage_size\x18\x02 \x01(\x03\x42\n\xfa\xc7\x31\x06<=1000\x12\x1d\n\npage_token\x18\x03 \x01(\tB\t\x8a\xc8\x31\x05<=100\x12\x32\n\x04type\x18\x04 \x01(\x0e\x32$.yandex.cloud.backup.v1.ResourceType\"e\n\x15ListResourcesResponse\x12\x33\n\tresources\x18\x01 \x03(\x0b\x32 .yandex.cloud.backup.v1.Resource\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\\\n\x12GetResourceRequest\x12)\n\x13\x63ompute_instance_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12\x1b\n\x13include_tenant_info\x18\x02 \x01(\x08\"I\n\x13GetResourceResponse\x12\x32\n\x08resource\x18\x01 \x01(\x0b\x32 .yandex.cloud.backup.v1.Resource\"]\n\x15\x44\x65leteResourceRequest\x12)\n\x13\x63ompute_instance_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12\x19\n\x0bresource_id\x18\x02 \x01(\tB\x04\xe8\xc7\x31\x01\"5\n\x16\x44\x65leteResourceMetadata\x12\x1b\n\x13\x63ompute_instance_id\x18\x01 \x01(\t\"{\n\x10ListTasksRequest\x12)\n\x13\x63ompute_instance_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12\x1d\n\tpage_size\x18\x02 \x01(\x03\x42\n\xfa\xc7\x31\x06<=1000\x12\x1d\n\npage_token\x18\x03 \x01(\tB\t\x8a\xc8\x31\x05<=100\"Y\n\x11ListTasksResponse\x12+\n\x05tasks\x18\x01 \x03(\x0b\x32\x1c.yandex.cloud.backup.v1.Task\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"n\n\x14ListDirectoryRequest\x12\x1f\n\tfolder_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12!\n\x13\x63ompute_instance_id\x18\x02 \x01(\tB\x04\xe8\xc7\x31\x01\x12\x12\n\x04path\x18\x03 \x01(\tB\x04\xe8\xc7\x31\x00\"\xfd\x02\n\x15ListDirectoryResponse\x12K\n\x05items\x18\x01 \x03(\x0b\x32<.yandex.cloud.backup.v1.ListDirectoryResponse.FilesystemItem\x1a\x96\x02\n\x0e\x46ilesystemItem\x12\x0c\n\x04name\x18\x01 \x01(\t\x12O\n\x04type\x18\x02 \x01(\x0e\x32\x41.yandex.cloud.backup.v1.ListDirectoryResponse.FilesystemItem.Type\x12T\n\tfile_type\x18\x03 \x01(\x0e\x32\x41.yandex.cloud.backup.v1.ListDirectoryResponse.FilesystemItem.Type\x12\x0c\n\x04size\x18\x04 \x01(\x03\"A\n\x04Type\x12\x14\n\x10TYPE_UNSPECIFIED\x10\x00\x12\n\n\x06VOLUME\x10\x01\x12\r\n\tDIRECTORY\x10\x02\x12\x08\n\x04\x46ILE\x10\x03\"p\n\x16\x43reateDirectoryRequest\x12\x1f\n\tfolder_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12!\n\x13\x63ompute_instance_id\x18\x02 \x01(\tB\x04\xe8\xc7\x31\x01\x12\x12\n\x04path\x18\x03 \x01(\tB\x04\xe8\xc7\x31\x01\"D\n\x17\x43reateDirectoryMetadata\x12\x1b\n\x13\x63ompute_instance_id\x18\x01 \x01(\t\x12\x0c\n\x04path\x18\x02 \x01(\t\"\x88\x01\n\x1dListResourceOperationsRequest\x12)\n\x13\x63ompute_instance_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12\x1d\n\tpage_size\x18\x02 \x01(\x03\x42\n\xfa\xc7\x31\x06<=1000\x12\x1d\n\npage_token\x18\x03 \x01(\tB\t\x8a\xc8\x31\x05<=100\"p\n\x1eListResourceOperationsResponse\x12\x35\n\noperations\x18\x01 \x03(\x0b\x32!.yandex.cloud.operation.Operation\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\
|
|
33
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n-yandex/cloud/backup/v1/resource_service.proto\x12\x16yandex.cloud.backup.v1\x1a\x1cgoogle/api/annotations.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a yandex/cloud/api/operation.proto\x1a%yandex/cloud/backup/v1/resource.proto\x1a&yandex/cloud/operation/operation.proto\x1a\x1dyandex/cloud/validation.proto\"\xa9\x01\n\x14ListResourcesRequest\x12\x1f\n\tfolder_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12\x1d\n\tpage_size\x18\x02 \x01(\x03\x42\n\xfa\xc7\x31\x06<=1000\x12\x1d\n\npage_token\x18\x03 \x01(\tB\t\x8a\xc8\x31\x05<=100\x12\x32\n\x04type\x18\x04 \x01(\x0e\x32$.yandex.cloud.backup.v1.ResourceType\"e\n\x15ListResourcesResponse\x12\x33\n\tresources\x18\x01 \x03(\x0b\x32 .yandex.cloud.backup.v1.Resource\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\\\n\x12GetResourceRequest\x12)\n\x13\x63ompute_instance_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12\x1b\n\x13include_tenant_info\x18\x02 \x01(\x08\"I\n\x13GetResourceResponse\x12\x32\n\x08resource\x18\x01 \x01(\x0b\x32 .yandex.cloud.backup.v1.Resource\"]\n\x15\x44\x65leteResourceRequest\x12)\n\x13\x63ompute_instance_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12\x19\n\x0bresource_id\x18\x02 \x01(\tB\x04\xe8\xc7\x31\x01\"5\n\x16\x44\x65leteResourceMetadata\x12\x1b\n\x13\x63ompute_instance_id\x18\x01 \x01(\t\"{\n\x10ListTasksRequest\x12)\n\x13\x63ompute_instance_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12\x1d\n\tpage_size\x18\x02 \x01(\x03\x42\n\xfa\xc7\x31\x06<=1000\x12\x1d\n\npage_token\x18\x03 \x01(\tB\t\x8a\xc8\x31\x05<=100\"Y\n\x11ListTasksResponse\x12+\n\x05tasks\x18\x01 \x03(\x0b\x32\x1c.yandex.cloud.backup.v1.Task\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"n\n\x14ListDirectoryRequest\x12\x1f\n\tfolder_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12!\n\x13\x63ompute_instance_id\x18\x02 \x01(\tB\x04\xe8\xc7\x31\x01\x12\x12\n\x04path\x18\x03 \x01(\tB\x04\xe8\xc7\x31\x00\"\xfd\x02\n\x15ListDirectoryResponse\x12K\n\x05items\x18\x01 \x03(\x0b\x32<.yandex.cloud.backup.v1.ListDirectoryResponse.FilesystemItem\x1a\x96\x02\n\x0e\x46ilesystemItem\x12\x0c\n\x04name\x18\x01 \x01(\t\x12O\n\x04type\x18\x02 \x01(\x0e\x32\x41.yandex.cloud.backup.v1.ListDirectoryResponse.FilesystemItem.Type\x12T\n\tfile_type\x18\x03 \x01(\x0e\x32\x41.yandex.cloud.backup.v1.ListDirectoryResponse.FilesystemItem.Type\x12\x0c\n\x04size\x18\x04 \x01(\x03\"A\n\x04Type\x12\x14\n\x10TYPE_UNSPECIFIED\x10\x00\x12\n\n\x06VOLUME\x10\x01\x12\r\n\tDIRECTORY\x10\x02\x12\x08\n\x04\x46ILE\x10\x03\"p\n\x16\x43reateDirectoryRequest\x12\x1f\n\tfolder_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12!\n\x13\x63ompute_instance_id\x18\x02 \x01(\tB\x04\xe8\xc7\x31\x01\x12\x12\n\x04path\x18\x03 \x01(\tB\x04\xe8\xc7\x31\x01\"D\n\x17\x43reateDirectoryMetadata\x12\x1b\n\x13\x63ompute_instance_id\x18\x01 \x01(\t\x12\x0c\n\x04path\x18\x02 \x01(\t\"\x88\x01\n\x1dListResourceOperationsRequest\x12)\n\x13\x63ompute_instance_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12\x1d\n\tpage_size\x18\x02 \x01(\x03\x42\n\xfa\xc7\x31\x06<=1000\x12\x1d\n\npage_token\x18\x03 \x01(\tB\t\x8a\xc8\x31\x05<=100\"p\n\x1eListResourceOperationsResponse\x12\x35\n\noperations\x18\x01 \x03(\x0b\x32!.yandex.cloud.operation.Operation\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"z\n#GetInstanceRegistrationTokenRequest\x12\x1f\n\tfolder_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12\x32\n\x04type\x18\x02 \x01(\x0e\x32$.yandex.cloud.backup.v1.ResourceType\"x\n$GetInstanceRegistrationTokenResponse\x12 \n\x18instance_registration_id\x18\x01 \x01(\t\x12.\n\nexpired_at\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.Timestamp2\xb3\t\n\x0fResourceService\x12\x81\x01\n\x04List\x12,.yandex.cloud.backup.v1.ListResourcesRequest\x1a-.yandex.cloud.backup.v1.ListResourcesResponse\"\x1c\x82\xd3\xe4\x93\x02\x16\x12\x14/backup/v1/resources\x12\x92\x01\n\x03Get\x12*.yandex.cloud.backup.v1.GetResourceRequest\x1a+.yandex.cloud.backup.v1.GetResourceResponse\"2\x82\xd3\xe4\x93\x02,\x12*/backup/v1/resources/{compute_instance_id}\x12\xc1\x01\n\x06\x44\x65lete\x12-.yandex.cloud.backup.v1.DeleteResourceRequest\x1a!.yandex.cloud.operation.Operation\"e\xb2\xd2*/\n\x16\x44\x65leteResourceMetadata\x12\x15google.protobuf.Empty\x82\xd3\xe4\x93\x02,**/backup/v1/resources/{compute_instance_id}\x12\x9a\x01\n\tListTasks\x12(.yandex.cloud.backup.v1.ListTasksRequest\x1a).yandex.cloud.backup.v1.ListTasksResponse\"8\x82\xd3\xe4\x93\x02\x32\x12\x30/backup/v1/resources/{compute_instance_id}/tasks\x12l\n\rListDirectory\x12,.yandex.cloud.backup.v1.ListDirectoryRequest\x1a-.yandex.cloud.backup.v1.ListDirectoryResponse\x12\x9a\x01\n\x0f\x43reateDirectory\x12..yandex.cloud.backup.v1.CreateDirectoryRequest\x1a!.yandex.cloud.operation.Operation\"4\xb2\xd2*0\n\x17\x43reateDirectoryMetadata\x12\x15google.protobuf.Empty\x12\x7f\n\x0eListOperations\x12\x35.yandex.cloud.backup.v1.ListResourceOperationsRequest\x1a\x36.yandex.cloud.backup.v1.ListResourceOperationsResponse\x12\x99\x01\n\x1cGetInstanceRegistrationToken\x12;.yandex.cloud.backup.v1.GetInstanceRegistrationTokenRequest\x1a<.yandex.cloud.backup.v1.GetInstanceRegistrationTokenResponseB_\n\x1ayandex.cloud.api.backup.v1ZAgithub.com/yandex-cloud/go-genproto/yandex/cloud/backup/v1;backupb\x06proto3')
|
|
33
34
|
|
|
34
35
|
_globals = globals()
|
|
35
36
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
@@ -73,6 +74,8 @@ if not _descriptor._USE_C_DESCRIPTORS:
|
|
|
73
74
|
_globals['_LISTRESOURCEOPERATIONSREQUEST'].fields_by_name['page_size']._serialized_options = b'\372\3071\006<=1000'
|
|
74
75
|
_globals['_LISTRESOURCEOPERATIONSREQUEST'].fields_by_name['page_token']._loaded_options = None
|
|
75
76
|
_globals['_LISTRESOURCEOPERATIONSREQUEST'].fields_by_name['page_token']._serialized_options = b'\212\3101\005<=100'
|
|
77
|
+
_globals['_GETINSTANCEREGISTRATIONTOKENREQUEST'].fields_by_name['folder_id']._loaded_options = None
|
|
78
|
+
_globals['_GETINSTANCEREGISTRATIONTOKENREQUEST'].fields_by_name['folder_id']._serialized_options = b'\350\3071\001\212\3101\004<=50'
|
|
76
79
|
_globals['_RESOURCESERVICE'].methods_by_name['List']._loaded_options = None
|
|
77
80
|
_globals['_RESOURCESERVICE'].methods_by_name['List']._serialized_options = b'\202\323\344\223\002\026\022\024/backup/v1/resources'
|
|
78
81
|
_globals['_RESOURCESERVICE'].methods_by_name['Get']._loaded_options = None
|
|
@@ -83,38 +86,42 @@ if not _descriptor._USE_C_DESCRIPTORS:
|
|
|
83
86
|
_globals['_RESOURCESERVICE'].methods_by_name['ListTasks']._serialized_options = b'\202\323\344\223\0022\0220/backup/v1/resources/{compute_instance_id}/tasks'
|
|
84
87
|
_globals['_RESOURCESERVICE'].methods_by_name['CreateDirectory']._loaded_options = None
|
|
85
88
|
_globals['_RESOURCESERVICE'].methods_by_name['CreateDirectory']._serialized_options = b'\262\322*0\n\027CreateDirectoryMetadata\022\025google.protobuf.Empty'
|
|
86
|
-
_globals['_LISTRESOURCESREQUEST']._serialized_start=
|
|
87
|
-
_globals['_LISTRESOURCESREQUEST']._serialized_end=
|
|
88
|
-
_globals['_LISTRESOURCESRESPONSE']._serialized_start=
|
|
89
|
-
_globals['_LISTRESOURCESRESPONSE']._serialized_end=
|
|
90
|
-
_globals['_GETRESOURCEREQUEST']._serialized_start=
|
|
91
|
-
_globals['_GETRESOURCEREQUEST']._serialized_end=
|
|
92
|
-
_globals['_GETRESOURCERESPONSE']._serialized_start=
|
|
93
|
-
_globals['_GETRESOURCERESPONSE']._serialized_end=
|
|
94
|
-
_globals['_DELETERESOURCEREQUEST']._serialized_start=
|
|
95
|
-
_globals['_DELETERESOURCEREQUEST']._serialized_end=
|
|
96
|
-
_globals['_DELETERESOURCEMETADATA']._serialized_start=
|
|
97
|
-
_globals['_DELETERESOURCEMETADATA']._serialized_end=
|
|
98
|
-
_globals['_LISTTASKSREQUEST']._serialized_start=
|
|
99
|
-
_globals['_LISTTASKSREQUEST']._serialized_end=
|
|
100
|
-
_globals['_LISTTASKSRESPONSE']._serialized_start=
|
|
101
|
-
_globals['_LISTTASKSRESPONSE']._serialized_end=
|
|
102
|
-
_globals['_LISTDIRECTORYREQUEST']._serialized_start=
|
|
103
|
-
_globals['_LISTDIRECTORYREQUEST']._serialized_end=
|
|
104
|
-
_globals['_LISTDIRECTORYRESPONSE']._serialized_start=
|
|
105
|
-
_globals['_LISTDIRECTORYRESPONSE']._serialized_end=
|
|
106
|
-
_globals['_LISTDIRECTORYRESPONSE_FILESYSTEMITEM']._serialized_start=
|
|
107
|
-
_globals['_LISTDIRECTORYRESPONSE_FILESYSTEMITEM']._serialized_end=
|
|
108
|
-
_globals['_LISTDIRECTORYRESPONSE_FILESYSTEMITEM_TYPE']._serialized_start=
|
|
109
|
-
_globals['_LISTDIRECTORYRESPONSE_FILESYSTEMITEM_TYPE']._serialized_end=
|
|
110
|
-
_globals['_CREATEDIRECTORYREQUEST']._serialized_start=
|
|
111
|
-
_globals['_CREATEDIRECTORYREQUEST']._serialized_end=
|
|
112
|
-
_globals['_CREATEDIRECTORYMETADATA']._serialized_start=
|
|
113
|
-
_globals['_CREATEDIRECTORYMETADATA']._serialized_end=
|
|
114
|
-
_globals['_LISTRESOURCEOPERATIONSREQUEST']._serialized_start=
|
|
115
|
-
_globals['_LISTRESOURCEOPERATIONSREQUEST']._serialized_end=
|
|
116
|
-
_globals['_LISTRESOURCEOPERATIONSRESPONSE']._serialized_start=
|
|
117
|
-
_globals['_LISTRESOURCEOPERATIONSRESPONSE']._serialized_end=
|
|
118
|
-
_globals['
|
|
119
|
-
_globals['
|
|
89
|
+
_globals['_LISTRESOURCESREQUEST']._serialized_start=281
|
|
90
|
+
_globals['_LISTRESOURCESREQUEST']._serialized_end=450
|
|
91
|
+
_globals['_LISTRESOURCESRESPONSE']._serialized_start=452
|
|
92
|
+
_globals['_LISTRESOURCESRESPONSE']._serialized_end=553
|
|
93
|
+
_globals['_GETRESOURCEREQUEST']._serialized_start=555
|
|
94
|
+
_globals['_GETRESOURCEREQUEST']._serialized_end=647
|
|
95
|
+
_globals['_GETRESOURCERESPONSE']._serialized_start=649
|
|
96
|
+
_globals['_GETRESOURCERESPONSE']._serialized_end=722
|
|
97
|
+
_globals['_DELETERESOURCEREQUEST']._serialized_start=724
|
|
98
|
+
_globals['_DELETERESOURCEREQUEST']._serialized_end=817
|
|
99
|
+
_globals['_DELETERESOURCEMETADATA']._serialized_start=819
|
|
100
|
+
_globals['_DELETERESOURCEMETADATA']._serialized_end=872
|
|
101
|
+
_globals['_LISTTASKSREQUEST']._serialized_start=874
|
|
102
|
+
_globals['_LISTTASKSREQUEST']._serialized_end=997
|
|
103
|
+
_globals['_LISTTASKSRESPONSE']._serialized_start=999
|
|
104
|
+
_globals['_LISTTASKSRESPONSE']._serialized_end=1088
|
|
105
|
+
_globals['_LISTDIRECTORYREQUEST']._serialized_start=1090
|
|
106
|
+
_globals['_LISTDIRECTORYREQUEST']._serialized_end=1200
|
|
107
|
+
_globals['_LISTDIRECTORYRESPONSE']._serialized_start=1203
|
|
108
|
+
_globals['_LISTDIRECTORYRESPONSE']._serialized_end=1584
|
|
109
|
+
_globals['_LISTDIRECTORYRESPONSE_FILESYSTEMITEM']._serialized_start=1306
|
|
110
|
+
_globals['_LISTDIRECTORYRESPONSE_FILESYSTEMITEM']._serialized_end=1584
|
|
111
|
+
_globals['_LISTDIRECTORYRESPONSE_FILESYSTEMITEM_TYPE']._serialized_start=1519
|
|
112
|
+
_globals['_LISTDIRECTORYRESPONSE_FILESYSTEMITEM_TYPE']._serialized_end=1584
|
|
113
|
+
_globals['_CREATEDIRECTORYREQUEST']._serialized_start=1586
|
|
114
|
+
_globals['_CREATEDIRECTORYREQUEST']._serialized_end=1698
|
|
115
|
+
_globals['_CREATEDIRECTORYMETADATA']._serialized_start=1700
|
|
116
|
+
_globals['_CREATEDIRECTORYMETADATA']._serialized_end=1768
|
|
117
|
+
_globals['_LISTRESOURCEOPERATIONSREQUEST']._serialized_start=1771
|
|
118
|
+
_globals['_LISTRESOURCEOPERATIONSREQUEST']._serialized_end=1907
|
|
119
|
+
_globals['_LISTRESOURCEOPERATIONSRESPONSE']._serialized_start=1909
|
|
120
|
+
_globals['_LISTRESOURCEOPERATIONSRESPONSE']._serialized_end=2021
|
|
121
|
+
_globals['_GETINSTANCEREGISTRATIONTOKENREQUEST']._serialized_start=2023
|
|
122
|
+
_globals['_GETINSTANCEREGISTRATIONTOKENREQUEST']._serialized_end=2145
|
|
123
|
+
_globals['_GETINSTANCEREGISTRATIONTOKENRESPONSE']._serialized_start=2147
|
|
124
|
+
_globals['_GETINSTANCEREGISTRATIONTOKENRESPONSE']._serialized_end=2267
|
|
125
|
+
_globals['_RESOURCESERVICE']._serialized_start=2270
|
|
126
|
+
_globals['_RESOURCESERVICE']._serialized_end=3473
|
|
120
127
|
# @@protoc_insertion_point(module_scope)
|
|
@@ -9,6 +9,7 @@ import google.protobuf.descriptor
|
|
|
9
9
|
import google.protobuf.internal.containers
|
|
10
10
|
import google.protobuf.internal.enum_type_wrapper
|
|
11
11
|
import google.protobuf.message
|
|
12
|
+
import google.protobuf.timestamp_pb2
|
|
12
13
|
import sys
|
|
13
14
|
import typing
|
|
14
15
|
import yandex.cloud.backup.v1.resource_pb2
|
|
@@ -363,3 +364,46 @@ class ListResourceOperationsResponse(google.protobuf.message.Message):
|
|
|
363
364
|
def ClearField(self, field_name: typing.Literal["next_page_token", b"next_page_token", "operations", b"operations"]) -> None: ...
|
|
364
365
|
|
|
365
366
|
global___ListResourceOperationsResponse = ListResourceOperationsResponse
|
|
367
|
+
|
|
368
|
+
@typing.final
|
|
369
|
+
class GetInstanceRegistrationTokenRequest(google.protobuf.message.Message):
|
|
370
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
371
|
+
|
|
372
|
+
FOLDER_ID_FIELD_NUMBER: builtins.int
|
|
373
|
+
TYPE_FIELD_NUMBER: builtins.int
|
|
374
|
+
folder_id: builtins.str
|
|
375
|
+
"""Folder ID."""
|
|
376
|
+
type: yandex.cloud.backup.v1.resource_pb2.ResourceType.ValueType
|
|
377
|
+
"""Type of resource. Could be compute VM or baremetal server."""
|
|
378
|
+
def __init__(
|
|
379
|
+
self,
|
|
380
|
+
*,
|
|
381
|
+
folder_id: builtins.str = ...,
|
|
382
|
+
type: yandex.cloud.backup.v1.resource_pb2.ResourceType.ValueType = ...,
|
|
383
|
+
) -> None: ...
|
|
384
|
+
def ClearField(self, field_name: typing.Literal["folder_id", b"folder_id", "type", b"type"]) -> None: ...
|
|
385
|
+
|
|
386
|
+
global___GetInstanceRegistrationTokenRequest = GetInstanceRegistrationTokenRequest
|
|
387
|
+
|
|
388
|
+
@typing.final
|
|
389
|
+
class GetInstanceRegistrationTokenResponse(google.protobuf.message.Message):
|
|
390
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
391
|
+
|
|
392
|
+
INSTANCE_REGISTRATION_ID_FIELD_NUMBER: builtins.int
|
|
393
|
+
EXPIRED_AT_FIELD_NUMBER: builtins.int
|
|
394
|
+
instance_registration_id: builtins.str
|
|
395
|
+
"""Instance registration token id for instance registration."""
|
|
396
|
+
@property
|
|
397
|
+
def expired_at(self) -> google.protobuf.timestamp_pb2.Timestamp:
|
|
398
|
+
"""Token expiration timestamp."""
|
|
399
|
+
|
|
400
|
+
def __init__(
|
|
401
|
+
self,
|
|
402
|
+
*,
|
|
403
|
+
instance_registration_id: builtins.str = ...,
|
|
404
|
+
expired_at: google.protobuf.timestamp_pb2.Timestamp | None = ...,
|
|
405
|
+
) -> None: ...
|
|
406
|
+
def HasField(self, field_name: typing.Literal["expired_at", b"expired_at"]) -> builtins.bool: ...
|
|
407
|
+
def ClearField(self, field_name: typing.Literal["expired_at", b"expired_at", "instance_registration_id", b"instance_registration_id"]) -> None: ...
|
|
408
|
+
|
|
409
|
+
global___GetInstanceRegistrationTokenResponse = GetInstanceRegistrationTokenResponse
|
|
@@ -71,6 +71,11 @@ class ResourceServiceStub(object):
|
|
|
71
71
|
request_serializer=yandex_dot_cloud_dot_backup_dot_v1_dot_resource__service__pb2.ListResourceOperationsRequest.SerializeToString,
|
|
72
72
|
response_deserializer=yandex_dot_cloud_dot_backup_dot_v1_dot_resource__service__pb2.ListResourceOperationsResponse.FromString,
|
|
73
73
|
_registered_method=True)
|
|
74
|
+
self.GetInstanceRegistrationToken = channel.unary_unary(
|
|
75
|
+
'/yandex.cloud.backup.v1.ResourceService/GetInstanceRegistrationToken',
|
|
76
|
+
request_serializer=yandex_dot_cloud_dot_backup_dot_v1_dot_resource__service__pb2.GetInstanceRegistrationTokenRequest.SerializeToString,
|
|
77
|
+
response_deserializer=yandex_dot_cloud_dot_backup_dot_v1_dot_resource__service__pb2.GetInstanceRegistrationTokenResponse.FromString,
|
|
78
|
+
_registered_method=True)
|
|
74
79
|
|
|
75
80
|
|
|
76
81
|
class ResourceServiceServicer(object):
|
|
@@ -128,6 +133,13 @@ class ResourceServiceServicer(object):
|
|
|
128
133
|
context.set_details('Method not implemented!')
|
|
129
134
|
raise NotImplementedError('Method not implemented!')
|
|
130
135
|
|
|
136
|
+
def GetInstanceRegistrationToken(self, request, context):
|
|
137
|
+
"""Get instance registration token to install backup agent withot SA attached to instance
|
|
138
|
+
"""
|
|
139
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
140
|
+
context.set_details('Method not implemented!')
|
|
141
|
+
raise NotImplementedError('Method not implemented!')
|
|
142
|
+
|
|
131
143
|
|
|
132
144
|
def add_ResourceServiceServicer_to_server(servicer, server):
|
|
133
145
|
rpc_method_handlers = {
|
|
@@ -166,6 +178,11 @@ def add_ResourceServiceServicer_to_server(servicer, server):
|
|
|
166
178
|
request_deserializer=yandex_dot_cloud_dot_backup_dot_v1_dot_resource__service__pb2.ListResourceOperationsRequest.FromString,
|
|
167
179
|
response_serializer=yandex_dot_cloud_dot_backup_dot_v1_dot_resource__service__pb2.ListResourceOperationsResponse.SerializeToString,
|
|
168
180
|
),
|
|
181
|
+
'GetInstanceRegistrationToken': grpc.unary_unary_rpc_method_handler(
|
|
182
|
+
servicer.GetInstanceRegistrationToken,
|
|
183
|
+
request_deserializer=yandex_dot_cloud_dot_backup_dot_v1_dot_resource__service__pb2.GetInstanceRegistrationTokenRequest.FromString,
|
|
184
|
+
response_serializer=yandex_dot_cloud_dot_backup_dot_v1_dot_resource__service__pb2.GetInstanceRegistrationTokenResponse.SerializeToString,
|
|
185
|
+
),
|
|
169
186
|
}
|
|
170
187
|
generic_handler = grpc.method_handlers_generic_handler(
|
|
171
188
|
'yandex.cloud.backup.v1.ResourceService', rpc_method_handlers)
|
|
@@ -366,3 +383,30 @@ class ResourceService(object):
|
|
|
366
383
|
timeout,
|
|
367
384
|
metadata,
|
|
368
385
|
_registered_method=True)
|
|
386
|
+
|
|
387
|
+
@staticmethod
|
|
388
|
+
def GetInstanceRegistrationToken(request,
|
|
389
|
+
target,
|
|
390
|
+
options=(),
|
|
391
|
+
channel_credentials=None,
|
|
392
|
+
call_credentials=None,
|
|
393
|
+
insecure=False,
|
|
394
|
+
compression=None,
|
|
395
|
+
wait_for_ready=None,
|
|
396
|
+
timeout=None,
|
|
397
|
+
metadata=None):
|
|
398
|
+
return grpc.experimental.unary_unary(
|
|
399
|
+
request,
|
|
400
|
+
target,
|
|
401
|
+
'/yandex.cloud.backup.v1.ResourceService/GetInstanceRegistrationToken',
|
|
402
|
+
yandex_dot_cloud_dot_backup_dot_v1_dot_resource__service__pb2.GetInstanceRegistrationTokenRequest.SerializeToString,
|
|
403
|
+
yandex_dot_cloud_dot_backup_dot_v1_dot_resource__service__pb2.GetInstanceRegistrationTokenResponse.FromString,
|
|
404
|
+
options,
|
|
405
|
+
channel_credentials,
|
|
406
|
+
insecure,
|
|
407
|
+
call_credentials,
|
|
408
|
+
compression,
|
|
409
|
+
wait_for_ready,
|
|
410
|
+
timeout,
|
|
411
|
+
metadata,
|
|
412
|
+
_registered_method=True)
|
|
@@ -68,6 +68,12 @@ class ResourceServiceStub:
|
|
|
68
68
|
]
|
|
69
69
|
"""ListOperations return all operations in backup service for given instance"""
|
|
70
70
|
|
|
71
|
+
GetInstanceRegistrationToken: grpc.UnaryUnaryMultiCallable[
|
|
72
|
+
yandex.cloud.backup.v1.resource_service_pb2.GetInstanceRegistrationTokenRequest,
|
|
73
|
+
yandex.cloud.backup.v1.resource_service_pb2.GetInstanceRegistrationTokenResponse,
|
|
74
|
+
]
|
|
75
|
+
"""Get instance registration token to install backup agent withot SA attached to instance"""
|
|
76
|
+
|
|
71
77
|
class ResourceServiceAsyncStub:
|
|
72
78
|
"""A set of methods for managing backup resources: [Compute Cloud instances](/docs/backup/concepts/vm-connection#os)."""
|
|
73
79
|
|
|
@@ -117,6 +123,12 @@ class ResourceServiceAsyncStub:
|
|
|
117
123
|
]
|
|
118
124
|
"""ListOperations return all operations in backup service for given instance"""
|
|
119
125
|
|
|
126
|
+
GetInstanceRegistrationToken: grpc.aio.UnaryUnaryMultiCallable[
|
|
127
|
+
yandex.cloud.backup.v1.resource_service_pb2.GetInstanceRegistrationTokenRequest,
|
|
128
|
+
yandex.cloud.backup.v1.resource_service_pb2.GetInstanceRegistrationTokenResponse,
|
|
129
|
+
]
|
|
130
|
+
"""Get instance registration token to install backup agent withot SA attached to instance"""
|
|
131
|
+
|
|
120
132
|
class ResourceServiceServicer(metaclass=abc.ABCMeta):
|
|
121
133
|
"""A set of methods for managing backup resources: [Compute Cloud instances](/docs/backup/concepts/vm-connection#os)."""
|
|
122
134
|
|
|
@@ -180,4 +192,12 @@ class ResourceServiceServicer(metaclass=abc.ABCMeta):
|
|
|
180
192
|
) -> typing.Union[yandex.cloud.backup.v1.resource_service_pb2.ListResourceOperationsResponse, collections.abc.Awaitable[yandex.cloud.backup.v1.resource_service_pb2.ListResourceOperationsResponse]]:
|
|
181
193
|
"""ListOperations return all operations in backup service for given instance"""
|
|
182
194
|
|
|
195
|
+
@abc.abstractmethod
|
|
196
|
+
def GetInstanceRegistrationToken(
|
|
197
|
+
self,
|
|
198
|
+
request: yandex.cloud.backup.v1.resource_service_pb2.GetInstanceRegistrationTokenRequest,
|
|
199
|
+
context: _ServicerContext,
|
|
200
|
+
) -> typing.Union[yandex.cloud.backup.v1.resource_service_pb2.GetInstanceRegistrationTokenResponse, collections.abc.Awaitable[yandex.cloud.backup.v1.resource_service_pb2.GetInstanceRegistrationTokenResponse]]:
|
|
201
|
+
"""Get instance registration token to install backup agent withot SA attached to instance"""
|
|
202
|
+
|
|
183
203
|
def add_ResourceServiceServicer_to_server(servicer: ResourceServiceServicer, server: typing.Union[grpc.Server, grpc.aio.Server]) -> None: ...
|
|
@@ -25,7 +25,7 @@ _sym_db = _symbol_database.Default()
|
|
|
25
25
|
from yandex.cloud.cdn.v1 import origin_pb2 as yandex_dot_cloud_dot_cdn_dot_v1_dot_origin__pb2
|
|
26
26
|
|
|
27
27
|
|
|
28
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n&yandex/cloud/cdn/v1/origin_group.proto\x12\x13yandex.cloud.cdn.v1\x1a yandex/cloud/cdn/v1/origin.proto\"\
|
|
28
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n&yandex/cloud/cdn/v1/origin_group.proto\x12\x13yandex.cloud.cdn.v1\x1a yandex/cloud/cdn/v1/origin.proto\"\xd4\x01\n\x0bOriginGroup\x12\n\n\x02id\x18\x01 \x01(\x03\x12\x11\n\tfolder_id\x18\x02 \x01(\t\x12\x0c\n\x04name\x18\x03 \x01(\t\x12\x10\n\x08use_next\x18\x04 \x01(\x08\x12,\n\x07origins\x18\x05 \x03(\x0b\x32\x1b.yandex.cloud.cdn.v1.Origin\x12\x15\n\rprovider_type\x18\x06 \x01(\t\x12\x41\n\x12resources_metadata\x18\x07 \x03(\x0b\x32%.yandex.cloud.cdn.v1.ResourceMetadata\"-\n\x10ResourceMetadata\x12\n\n\x02id\x18\x01 \x01(\t\x12\r\n\x05\x63name\x18\x02 \x01(\tBV\n\x17yandex.cloud.api.cdn.v1Z;github.com/yandex-cloud/go-genproto/yandex/cloud/cdn/v1;cdnb\x06proto3')
|
|
29
29
|
|
|
30
30
|
_globals = globals()
|
|
31
31
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
@@ -34,5 +34,7 @@ if not _descriptor._USE_C_DESCRIPTORS:
|
|
|
34
34
|
_globals['DESCRIPTOR']._loaded_options = None
|
|
35
35
|
_globals['DESCRIPTOR']._serialized_options = b'\n\027yandex.cloud.api.cdn.v1Z;github.com/yandex-cloud/go-genproto/yandex/cloud/cdn/v1;cdn'
|
|
36
36
|
_globals['_ORIGINGROUP']._serialized_start=98
|
|
37
|
-
_globals['_ORIGINGROUP']._serialized_end=
|
|
37
|
+
_globals['_ORIGINGROUP']._serialized_end=310
|
|
38
|
+
_globals['_RESOURCEMETADATA']._serialized_start=312
|
|
39
|
+
_globals['_RESOURCEMETADATA']._serialized_end=357
|
|
38
40
|
# @@protoc_insertion_point(module_scope)
|