yandexcloud 0.316.0__py3-none-any.whl → 0.317.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 +10 -10
- yandex/cloud/backup/v1/resource_pb2.pyi +5 -1
- yandex/cloud/datatransfer/v1/transfer_pb2.py +12 -10
- yandex/cloud/datatransfer/v1/transfer_pb2.pyi +17 -3
- yandex/cloud/loadtesting/agent/v1/agent_registration_service_pb2.py +18 -11
- yandex/cloud/loadtesting/agent/v1/agent_registration_service_pb2.pyi +23 -1
- yandex/cloud/loadtesting/api/v1/agent/agent_pb2.py +6 -5
- yandex/cloud/loadtesting/api/v1/agent/agent_pb2.pyi +9 -1
- yandex/cloud/loadtesting/api/v1/agent/log_settings_pb2.py +29 -0
- yandex/cloud/loadtesting/api/v1/agent/log_settings_pb2.pyi +27 -0
- yandex/cloud/loadtesting/api/v1/agent/log_settings_pb2_grpc.py +4 -0
- yandex/cloud/loadtesting/api/v1/agent/log_settings_pb2_grpc.pyi +17 -0
- yandex/cloud/loadtesting/api/v1/agent_service_pb2.py +27 -26
- yandex/cloud/loadtesting/api/v1/agent_service_pb2.pyi +9 -2
- yandex/cloud/loadtesting/api/v1/test/imbalance_point_pb2.py +2 -2
- yandex/cloud/loadtesting/api/v1/test/imbalance_point_pb2.pyi +5 -1
- yandex/cloud/mdb/mysql/v1/backup_service_pb2.py +17 -13
- yandex/cloud/mdb/mysql/v1/backup_service_pb2_grpc.py +35 -0
- yandex/cloud/mdb/mysql/v1/backup_service_pb2_grpc.pyi +21 -0
- yandex/cloud/mdb/opensearch/v1/auth_pb2.py +6 -5
- yandex/cloud/mdb/opensearch/v1/auth_pb2.pyi +9 -1
- yandex/cloud/mdb/opensearch/v1/cluster_pb2.py +50 -43
- yandex/cloud/mdb/opensearch/v1/cluster_pb2.pyi +40 -4
- yandex/cloud/mdb/opensearch/v1/cluster_service_pb2.py +61 -61
- yandex/cloud/mdb/opensearch/v1/cluster_service_pb2.pyi +32 -8
- yandex/cloud/monitoring/v3/chart_widget_pb2.py +46 -44
- yandex/cloud/monitoring/v3/chart_widget_pb2.pyi +28 -2
- yandex/cloud/serverless/eventrouter/__init__.py +0 -0
- yandex/cloud/serverless/eventrouter/v1/__init__.py +0 -0
- yandex/cloud/serverless/eventrouter/v1/bus_pb2.py +33 -0
- yandex/cloud/serverless/eventrouter/v1/bus_pb2.pyi +107 -0
- yandex/cloud/serverless/eventrouter/v1/bus_pb2_grpc.py +4 -0
- yandex/cloud/serverless/eventrouter/v1/bus_pb2_grpc.pyi +17 -0
- yandex/cloud/serverless/eventrouter/v1/bus_service_pb2.py +115 -0
- yandex/cloud/serverless/eventrouter/v1/bus_service_pb2.pyi +320 -0
- yandex/cloud/serverless/eventrouter/v1/bus_service_pb2_grpc.py +346 -0
- yandex/cloud/serverless/eventrouter/v1/bus_service_pb2_grpc.pyi +219 -0
- yandex/cloud/serverless/eventrouter/v1/connector_pb2.py +61 -0
- yandex/cloud/serverless/eventrouter/v1/connector_pb2.pyi +223 -0
- yandex/cloud/serverless/eventrouter/v1/connector_pb2_grpc.py +4 -0
- yandex/cloud/serverless/eventrouter/v1/connector_pb2_grpc.pyi +17 -0
- yandex/cloud/serverless/eventrouter/v1/connector_service_pb2.py +135 -0
- yandex/cloud/serverless/eventrouter/v1/connector_service_pb2.pyi +397 -0
- yandex/cloud/serverless/eventrouter/v1/connector_service_pb2_grpc.py +414 -0
- yandex/cloud/serverless/eventrouter/v1/connector_service_pb2_grpc.pyi +259 -0
- yandex/cloud/serverless/eventrouter/v1/event_service_pb2.py +37 -0
- yandex/cloud/serverless/eventrouter/v1/event_service_pb2.pyi +31 -0
- yandex/cloud/serverless/eventrouter/v1/event_service_pb2_grpc.py +71 -0
- yandex/cloud/serverless/eventrouter/v1/event_service_pb2_grpc.pyi +51 -0
- yandex/cloud/serverless/eventrouter/v1/rule_pb2.py +123 -0
- yandex/cloud/serverless/eventrouter/v1/rule_pb2.pyi +532 -0
- yandex/cloud/serverless/eventrouter/v1/rule_pb2_grpc.py +4 -0
- yandex/cloud/serverless/eventrouter/v1/rule_pb2_grpc.pyi +17 -0
- yandex/cloud/serverless/eventrouter/v1/rule_service_pb2.py +139 -0
- yandex/cloud/serverless/eventrouter/v1/rule_service_pb2.pyi +413 -0
- yandex/cloud/serverless/eventrouter/v1/rule_service_pb2_grpc.py +414 -0
- yandex/cloud/serverless/eventrouter/v1/rule_service_pb2_grpc.pyi +259 -0
- yandex/cloud/serverless/functions/v1/function_pb2.py +34 -34
- yandex/cloud/serverless/functions/v1/function_pb2.pyi +8 -0
- yandex/cloud/serverless/workflows/__init__.py +0 -0
- yandex/cloud/serverless/workflows/v1/__init__.py +0 -0
- yandex/cloud/serverless/workflows/v1/execution_pb2.py +43 -0
- yandex/cloud/serverless/workflows/v1/execution_pb2.pyi +203 -0
- yandex/cloud/serverless/workflows/v1/execution_pb2_grpc.py +4 -0
- yandex/cloud/serverless/workflows/v1/execution_pb2_grpc.pyi +17 -0
- yandex/cloud/serverless/workflows/v1/execution_service_pb2.py +74 -0
- yandex/cloud/serverless/workflows/v1/execution_service_pb2.pyi +231 -0
- yandex/cloud/serverless/workflows/v1/execution_service_pb2_grpc.py +206 -0
- yandex/cloud/serverless/workflows/v1/execution_service_pb2_grpc.pyi +130 -0
- yandex/cloud/serverless/workflows/v1/history_entry_pb2.py +41 -0
- yandex/cloud/serverless/workflows/v1/history_entry_pb2.pyi +174 -0
- yandex/cloud/serverless/workflows/v1/history_entry_pb2_grpc.py +4 -0
- yandex/cloud/serverless/workflows/v1/history_entry_pb2_grpc.pyi +17 -0
- yandex/cloud/serverless/workflows/v1/workflow_pb2.py +47 -0
- yandex/cloud/serverless/workflows/v1/workflow_pb2.pyi +260 -0
- yandex/cloud/serverless/workflows/v1/workflow_pb2_grpc.py +4 -0
- yandex/cloud/serverless/workflows/v1/workflow_pb2_grpc.pyi +17 -0
- yandex/cloud/serverless/workflows/v1/workflow_service_pb2.py +112 -0
- yandex/cloud/serverless/workflows/v1/workflow_service_pb2.pyi +395 -0
- yandex/cloud/serverless/workflows/v1/workflow_service_pb2_grpc.py +241 -0
- yandex/cloud/serverless/workflows/v1/workflow_service_pb2_grpc.pyi +151 -0
- yandex/cloud/smartwebsecurity/v1/advanced_rate_limiter/__init__.py +0 -0
- yandex/cloud/smartwebsecurity/v1/advanced_rate_limiter/advanced_rate_limiter_profile_pb2.py +77 -0
- yandex/cloud/smartwebsecurity/v1/advanced_rate_limiter/advanced_rate_limiter_profile_pb2.pyi +352 -0
- yandex/cloud/smartwebsecurity/v1/advanced_rate_limiter/advanced_rate_limiter_profile_pb2_grpc.py +4 -0
- yandex/cloud/smartwebsecurity/v1/advanced_rate_limiter/advanced_rate_limiter_profile_pb2_grpc.pyi +17 -0
- yandex/cloud/smartwebsecurity/v1/advanced_rate_limiter/advanced_rate_limiter_profile_service_pb2.py +78 -0
- yandex/cloud/smartwebsecurity/v1/advanced_rate_limiter/advanced_rate_limiter_profile_service_pb2.pyi +244 -0
- yandex/cloud/smartwebsecurity/v1/advanced_rate_limiter/advanced_rate_limiter_profile_service_pb2_grpc.py +208 -0
- yandex/cloud/smartwebsecurity/v1/advanced_rate_limiter/advanced_rate_limiter_profile_service_pb2_grpc.pyi +132 -0
- yandex/cloud/smartwebsecurity/v1/waf/__init__.py +0 -0
- yandex/cloud/smartwebsecurity/v1/waf/rule_set_descriptor_pb2.py +35 -0
- yandex/cloud/smartwebsecurity/v1/waf/rule_set_descriptor_pb2.pyi +71 -0
- yandex/cloud/smartwebsecurity/v1/waf/rule_set_descriptor_pb2_grpc.py +4 -0
- yandex/cloud/smartwebsecurity/v1/waf/rule_set_descriptor_pb2_grpc.pyi +17 -0
- yandex/cloud/smartwebsecurity/v1/waf/rule_set_descriptor_service_pb2.py +37 -0
- yandex/cloud/smartwebsecurity/v1/waf/rule_set_descriptor_service_pb2.pyi +31 -0
- yandex/cloud/smartwebsecurity/v1/waf/rule_set_descriptor_service_pb2_grpc.py +71 -0
- yandex/cloud/smartwebsecurity/v1/waf/rule_set_descriptor_service_pb2_grpc.pyi +51 -0
- yandex/cloud/smartwebsecurity/v1/waf/waf_profile_pb2.py +81 -0
- yandex/cloud/smartwebsecurity/v1/waf/waf_profile_pb2.pyi +296 -0
- yandex/cloud/smartwebsecurity/v1/waf/waf_profile_pb2_grpc.py +4 -0
- yandex/cloud/smartwebsecurity/v1/waf/waf_profile_pb2_grpc.pyi +17 -0
- yandex/cloud/smartwebsecurity/v1/waf/waf_profile_service_pb2.py +76 -0
- yandex/cloud/smartwebsecurity/v1/waf/waf_profile_service_pb2.pyi +283 -0
- yandex/cloud/smartwebsecurity/v1/waf/waf_profile_service_pb2_grpc.py +208 -0
- yandex/cloud/smartwebsecurity/v1/waf/waf_profile_service_pb2_grpc.pyi +132 -0
- yandex/cloud/speechsense/v1/analysis/summarization_pb2.py +32 -0
- yandex/cloud/speechsense/v1/analysis/summarization_pb2.pyi +95 -0
- yandex/cloud/speechsense/v1/analysis/summarization_pb2_grpc.py +4 -0
- yandex/cloud/speechsense/v1/analysis/summarization_pb2_grpc.pyi +17 -0
- yandex/cloud/speechsense/v1/project_pb2.py +29 -0
- yandex/cloud/speechsense/v1/project_pb2.pyi +79 -0
- yandex/cloud/speechsense/v1/project_pb2_grpc.py +4 -0
- yandex/cloud/speechsense/v1/project_pb2_grpc.pyi +17 -0
- yandex/cloud/speechsense/v1/project_service_pb2.py +35 -0
- yandex/cloud/speechsense/v1/project_service_pb2.pyi +59 -0
- yandex/cloud/speechsense/v1/project_service_pb2_grpc.py +68 -0
- yandex/cloud/speechsense/v1/project_service_pb2_grpc.pyi +45 -0
- yandex/cloud/speechsense/v1/talk_pb2.py +8 -7
- yandex/cloud/speechsense/v1/talk_pb2.pyi +7 -2
- yandex/cloud/video/v1/channel_service_pb2.py +33 -28
- yandex/cloud/video/v1/episode_service_pb2.py +56 -47
- yandex/cloud/video/v1/stream_line_service_pb2.py +67 -60
- yandex/cloud/video/v1/stream_service_pb2.py +46 -41
- yandex/cloud/video/v1/thumbnail_service_pb2.py +29 -22
- yandex/cloud/video/v1/video_service_pb2.py +62 -53
- {yandexcloud-0.316.0.dist-info → yandexcloud-0.317.0.dist-info}/METADATA +1 -1
- {yandexcloud-0.316.0.dist-info → yandexcloud-0.317.0.dist-info}/RECORD +133 -39
- {yandexcloud-0.316.0.dist-info → yandexcloud-0.317.0.dist-info}/WHEEL +1 -1
- {yandexcloud-0.316.0.dist-info → yandexcloud-0.317.0.dist-info}/AUTHORS +0 -0
- {yandexcloud-0.316.0.dist-info → yandexcloud-0.317.0.dist-info}/LICENSE +0 -0
- {yandexcloud-0.316.0.dist-info → yandexcloud-0.317.0.dist-info}/top_level.txt +0 -0
|
@@ -0,0 +1,174 @@
|
|
|
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.duration_pb2
|
|
9
|
+
import google.protobuf.internal.enum_type_wrapper
|
|
10
|
+
import google.protobuf.message
|
|
11
|
+
import google.protobuf.timestamp_pb2
|
|
12
|
+
import sys
|
|
13
|
+
import typing
|
|
14
|
+
|
|
15
|
+
if sys.version_info >= (3, 10):
|
|
16
|
+
import typing as typing_extensions
|
|
17
|
+
else:
|
|
18
|
+
import typing_extensions
|
|
19
|
+
|
|
20
|
+
DESCRIPTOR: google.protobuf.descriptor.FileDescriptor
|
|
21
|
+
|
|
22
|
+
@typing.final
|
|
23
|
+
class HistoryEntry(google.protobuf.message.Message):
|
|
24
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
25
|
+
|
|
26
|
+
class _Status:
|
|
27
|
+
ValueType = typing.NewType("ValueType", builtins.int)
|
|
28
|
+
V: typing_extensions.TypeAlias = ValueType
|
|
29
|
+
|
|
30
|
+
class _StatusEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[HistoryEntry._Status.ValueType], builtins.type):
|
|
31
|
+
DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor
|
|
32
|
+
STATUS_UNSPECIFIED: HistoryEntry._Status.ValueType # 0
|
|
33
|
+
SCHEDULED: HistoryEntry._Status.ValueType # 1
|
|
34
|
+
"""Step execution is being scheduled."""
|
|
35
|
+
STARTED: HistoryEntry._Status.ValueType # 2
|
|
36
|
+
"""Step execution is started."""
|
|
37
|
+
COMPLETED: HistoryEntry._Status.ValueType # 3
|
|
38
|
+
"""Step execution is completed."""
|
|
39
|
+
FAILED: HistoryEntry._Status.ValueType # 4
|
|
40
|
+
"""Step execution is failed."""
|
|
41
|
+
CANCEL_REQUESTED: HistoryEntry._Status.ValueType # 5
|
|
42
|
+
"""Step execution is requested to be cancelled."""
|
|
43
|
+
CANCELLED: HistoryEntry._Status.ValueType # 6
|
|
44
|
+
"""Step execution is canceled."""
|
|
45
|
+
|
|
46
|
+
class Status(_Status, metaclass=_StatusEnumTypeWrapper): ...
|
|
47
|
+
STATUS_UNSPECIFIED: HistoryEntry.Status.ValueType # 0
|
|
48
|
+
SCHEDULED: HistoryEntry.Status.ValueType # 1
|
|
49
|
+
"""Step execution is being scheduled."""
|
|
50
|
+
STARTED: HistoryEntry.Status.ValueType # 2
|
|
51
|
+
"""Step execution is started."""
|
|
52
|
+
COMPLETED: HistoryEntry.Status.ValueType # 3
|
|
53
|
+
"""Step execution is completed."""
|
|
54
|
+
FAILED: HistoryEntry.Status.ValueType # 4
|
|
55
|
+
"""Step execution is failed."""
|
|
56
|
+
CANCEL_REQUESTED: HistoryEntry.Status.ValueType # 5
|
|
57
|
+
"""Step execution is requested to be cancelled."""
|
|
58
|
+
CANCELLED: HistoryEntry.Status.ValueType # 6
|
|
59
|
+
"""Step execution is canceled."""
|
|
60
|
+
|
|
61
|
+
ID_FIELD_NUMBER: builtins.int
|
|
62
|
+
TITLE_FIELD_NUMBER: builtins.int
|
|
63
|
+
DESCRIPTION_FIELD_NUMBER: builtins.int
|
|
64
|
+
STARTED_AT_FIELD_NUMBER: builtins.int
|
|
65
|
+
DURATION_FIELD_NUMBER: builtins.int
|
|
66
|
+
INPUT_FIELD_NUMBER: builtins.int
|
|
67
|
+
OUTPUT_FIELD_NUMBER: builtins.int
|
|
68
|
+
ERROR_FIELD_NUMBER: builtins.int
|
|
69
|
+
STATUS_FIELD_NUMBER: builtins.int
|
|
70
|
+
TYPE_FIELD_NUMBER: builtins.int
|
|
71
|
+
id: builtins.str
|
|
72
|
+
"""ID of the Workflow step."""
|
|
73
|
+
title: builtins.str
|
|
74
|
+
"""Title of the Workflow step."""
|
|
75
|
+
description: builtins.str
|
|
76
|
+
"""Description of the Workflow step."""
|
|
77
|
+
status: global___HistoryEntry.Status.ValueType
|
|
78
|
+
"""Status of the Workflow step."""
|
|
79
|
+
type: builtins.str
|
|
80
|
+
"""Type of the Workflow step (for example, FunctionCall or HttpCall)."""
|
|
81
|
+
@property
|
|
82
|
+
def started_at(self) -> google.protobuf.timestamp_pb2.Timestamp:
|
|
83
|
+
"""Start timestamp for the Workflow step."""
|
|
84
|
+
|
|
85
|
+
@property
|
|
86
|
+
def duration(self) -> google.protobuf.duration_pb2.Duration:
|
|
87
|
+
"""Duration of the Workflow step."""
|
|
88
|
+
|
|
89
|
+
@property
|
|
90
|
+
def input(self) -> global___HistoryEntryInput:
|
|
91
|
+
"""Input data for the Workflow step."""
|
|
92
|
+
|
|
93
|
+
@property
|
|
94
|
+
def output(self) -> global___HistoryEntryOutput:
|
|
95
|
+
"""Result of the Workflow step."""
|
|
96
|
+
|
|
97
|
+
@property
|
|
98
|
+
def error(self) -> global___HistoryEntryError:
|
|
99
|
+
"""Error details, in case Workflow step failed."""
|
|
100
|
+
|
|
101
|
+
def __init__(
|
|
102
|
+
self,
|
|
103
|
+
*,
|
|
104
|
+
id: builtins.str = ...,
|
|
105
|
+
title: builtins.str = ...,
|
|
106
|
+
description: builtins.str = ...,
|
|
107
|
+
started_at: google.protobuf.timestamp_pb2.Timestamp | None = ...,
|
|
108
|
+
duration: google.protobuf.duration_pb2.Duration | None = ...,
|
|
109
|
+
input: global___HistoryEntryInput | None = ...,
|
|
110
|
+
output: global___HistoryEntryOutput | None = ...,
|
|
111
|
+
error: global___HistoryEntryError | None = ...,
|
|
112
|
+
status: global___HistoryEntry.Status.ValueType = ...,
|
|
113
|
+
type: builtins.str = ...,
|
|
114
|
+
) -> None: ...
|
|
115
|
+
def HasField(self, field_name: typing.Literal["duration", b"duration", "error", b"error", "input", b"input", "output", b"output", "started_at", b"started_at"]) -> builtins.bool: ...
|
|
116
|
+
def ClearField(self, field_name: typing.Literal["description", b"description", "duration", b"duration", "error", b"error", "id", b"id", "input", b"input", "output", b"output", "started_at", b"started_at", "status", b"status", "title", b"title", "type", b"type"]) -> None: ...
|
|
117
|
+
|
|
118
|
+
global___HistoryEntry = HistoryEntry
|
|
119
|
+
|
|
120
|
+
@typing.final
|
|
121
|
+
class HistoryEntryInput(google.protobuf.message.Message):
|
|
122
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
123
|
+
|
|
124
|
+
INPUT_JSON_FIELD_NUMBER: builtins.int
|
|
125
|
+
input_json: builtins.str
|
|
126
|
+
"""JSON input data for the Workflow step."""
|
|
127
|
+
def __init__(
|
|
128
|
+
self,
|
|
129
|
+
*,
|
|
130
|
+
input_json: builtins.str = ...,
|
|
131
|
+
) -> None: ...
|
|
132
|
+
def HasField(self, field_name: typing.Literal["input", b"input", "input_json", b"input_json"]) -> builtins.bool: ...
|
|
133
|
+
def ClearField(self, field_name: typing.Literal["input", b"input", "input_json", b"input_json"]) -> None: ...
|
|
134
|
+
def WhichOneof(self, oneof_group: typing.Literal["input", b"input"]) -> typing.Literal["input_json"] | None: ...
|
|
135
|
+
|
|
136
|
+
global___HistoryEntryInput = HistoryEntryInput
|
|
137
|
+
|
|
138
|
+
@typing.final
|
|
139
|
+
class HistoryEntryOutput(google.protobuf.message.Message):
|
|
140
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
141
|
+
|
|
142
|
+
OUTPUT_JSON_FIELD_NUMBER: builtins.int
|
|
143
|
+
output_json: builtins.str
|
|
144
|
+
"""JSON result for the Workflow step."""
|
|
145
|
+
def __init__(
|
|
146
|
+
self,
|
|
147
|
+
*,
|
|
148
|
+
output_json: builtins.str = ...,
|
|
149
|
+
) -> None: ...
|
|
150
|
+
def HasField(self, field_name: typing.Literal["output", b"output", "output_json", b"output_json"]) -> builtins.bool: ...
|
|
151
|
+
def ClearField(self, field_name: typing.Literal["output", b"output", "output_json", b"output_json"]) -> None: ...
|
|
152
|
+
def WhichOneof(self, oneof_group: typing.Literal["output", b"output"]) -> typing.Literal["output_json"] | None: ...
|
|
153
|
+
|
|
154
|
+
global___HistoryEntryOutput = HistoryEntryOutput
|
|
155
|
+
|
|
156
|
+
@typing.final
|
|
157
|
+
class HistoryEntryError(google.protobuf.message.Message):
|
|
158
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
159
|
+
|
|
160
|
+
MESSAGE_FIELD_NUMBER: builtins.int
|
|
161
|
+
ERROR_CODE_FIELD_NUMBER: builtins.int
|
|
162
|
+
message: builtins.str
|
|
163
|
+
"""Error message of the Workflow step."""
|
|
164
|
+
error_code: builtins.str
|
|
165
|
+
"""Error code of the Workflow step."""
|
|
166
|
+
def __init__(
|
|
167
|
+
self,
|
|
168
|
+
*,
|
|
169
|
+
message: builtins.str = ...,
|
|
170
|
+
error_code: builtins.str = ...,
|
|
171
|
+
) -> None: ...
|
|
172
|
+
def ClearField(self, field_name: typing.Literal["error_code", b"error_code", "message", b"message"]) -> None: ...
|
|
173
|
+
|
|
174
|
+
global___HistoryEntryError = HistoryEntryError
|
|
@@ -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,47 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# source: yandex/cloud/serverless/workflows/v1/workflow.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
|
+
from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2
|
|
15
|
+
from yandex.cloud.logging.v1 import log_entry_pb2 as yandex_dot_cloud_dot_logging_dot_v1_dot_log__entry__pb2
|
|
16
|
+
from yandex.cloud import validation_pb2 as yandex_dot_cloud_dot_validation__pb2
|
|
17
|
+
|
|
18
|
+
|
|
19
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n3yandex/cloud/serverless/workflows/v1/workflow.proto\x12$yandex.cloud.serverless.workflows.v1\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\'yandex/cloud/logging/v1/log_entry.proto\x1a\x1dyandex/cloud/validation.proto\"\xec\x04\n\x08Workflow\x12\n\n\x02id\x18\x01 \x01(\t\x12\x11\n\tfolder_id\x18\x02 \x01(\t\x12R\n\rspecification\x18\x03 \x01(\x0b\x32;.yandex.cloud.serverless.workflows.v1.WorkflowSpecification\x12.\n\ncreated_at\x18\x04 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x0c\n\x04name\x18\x05 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x06 \x01(\t\x12J\n\x06labels\x18\x07 \x03(\x0b\x32:.yandex.cloud.serverless.workflows.v1.Workflow.LabelsEntry\x12\x45\n\x06status\x18\x08 \x01(\x0e\x32\x35.yandex.cloud.serverless.workflows.v1.Workflow.Status\x12\x45\n\x0blog_options\x18\t \x01(\x0b\x32\x30.yandex.cloud.serverless.workflows.v1.LogOptions\x12\x12\n\nnetwork_id\x18\n \x01(\t\x12\x1a\n\x12service_account_id\x18\x0b \x01(\t\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"a\n\x06Status\x12\x16\n\x12STATUS_UNSPECIFIED\x10\x00\x12\x0c\n\x08\x43REATING\x10\x01\x12\n\n\x06\x41\x43TIVE\x10\x02\x12\x0c\n\x08UPDATING\x10\x03\x12\x0c\n\x08\x44\x45LETING\x10\x04\x12\t\n\x05\x45RROR\x10\x05\"\xc3\x03\n\x0fWorkflowPreview\x12\n\n\x02id\x18\x01 \x01(\t\x12\x11\n\tfolder_id\x18\x02 \x01(\t\x12.\n\ncreated_at\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x0c\n\x04name\x18\x04 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x05 \x01(\t\x12Q\n\x06labels\x18\x06 \x03(\x0b\x32\x41.yandex.cloud.serverless.workflows.v1.WorkflowPreview.LabelsEntry\x12\x45\n\x06status\x18\x07 \x01(\x0e\x32\x35.yandex.cloud.serverless.workflows.v1.Workflow.Status\x12\x45\n\x0blog_options\x18\x08 \x01(\x0b\x32\x30.yandex.cloud.serverless.workflows.v1.LogOptions\x12\x12\n\nnetwork_id\x18\t \x01(\t\x12\x1a\n\x12service_account_id\x18\n \x01(\t\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\":\n\x15WorkflowSpecification\x12\x13\n\tspec_yaml\x18\x01 \x01(\tH\x00\x42\x0c\n\x04spec\x12\x04\xc0\xc1\x31\x01\"\x96\x01\n\nLogOptions\x12\x10\n\x08\x64isabled\x18\x01 \x01(\x08\x12\x16\n\x0clog_group_id\x18\x02 \x01(\tH\x00\x12\x13\n\tfolder_id\x18\x03 \x01(\tH\x00\x12:\n\tmin_level\x18\x04 \x01(\x0e\x32\'.yandex.cloud.logging.v1.LogLevel.LevelB\r\n\x0b\x64\x65stinationB~\n(yandex.cloud.api.serverless.workflows.v1ZRgithub.com/yandex-cloud/go-genproto/yandex/cloud/serverless/workflows/v1;workflowsb\x06proto3')
|
|
20
|
+
|
|
21
|
+
_globals = globals()
|
|
22
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
23
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'yandex.cloud.serverless.workflows.v1.workflow_pb2', _globals)
|
|
24
|
+
if _descriptor._USE_C_DESCRIPTORS == False:
|
|
25
|
+
DESCRIPTOR._options = None
|
|
26
|
+
DESCRIPTOR._serialized_options = b'\n(yandex.cloud.api.serverless.workflows.v1ZRgithub.com/yandex-cloud/go-genproto/yandex/cloud/serverless/workflows/v1;workflows'
|
|
27
|
+
_WORKFLOW_LABELSENTRY._options = None
|
|
28
|
+
_WORKFLOW_LABELSENTRY._serialized_options = b'8\001'
|
|
29
|
+
_WORKFLOWPREVIEW_LABELSENTRY._options = None
|
|
30
|
+
_WORKFLOWPREVIEW_LABELSENTRY._serialized_options = b'8\001'
|
|
31
|
+
_WORKFLOWSPECIFICATION.oneofs_by_name['spec']._options = None
|
|
32
|
+
_WORKFLOWSPECIFICATION.oneofs_by_name['spec']._serialized_options = b'\300\3011\001'
|
|
33
|
+
_globals['_WORKFLOW']._serialized_start=199
|
|
34
|
+
_globals['_WORKFLOW']._serialized_end=819
|
|
35
|
+
_globals['_WORKFLOW_LABELSENTRY']._serialized_start=675
|
|
36
|
+
_globals['_WORKFLOW_LABELSENTRY']._serialized_end=720
|
|
37
|
+
_globals['_WORKFLOW_STATUS']._serialized_start=722
|
|
38
|
+
_globals['_WORKFLOW_STATUS']._serialized_end=819
|
|
39
|
+
_globals['_WORKFLOWPREVIEW']._serialized_start=822
|
|
40
|
+
_globals['_WORKFLOWPREVIEW']._serialized_end=1273
|
|
41
|
+
_globals['_WORKFLOWPREVIEW_LABELSENTRY']._serialized_start=675
|
|
42
|
+
_globals['_WORKFLOWPREVIEW_LABELSENTRY']._serialized_end=720
|
|
43
|
+
_globals['_WORKFLOWSPECIFICATION']._serialized_start=1275
|
|
44
|
+
_globals['_WORKFLOWSPECIFICATION']._serialized_end=1333
|
|
45
|
+
_globals['_LOGOPTIONS']._serialized_start=1336
|
|
46
|
+
_globals['_LOGOPTIONS']._serialized_end=1486
|
|
47
|
+
# @@protoc_insertion_point(module_scope)
|
|
@@ -0,0 +1,260 @@
|
|
|
1
|
+
"""
|
|
2
|
+
@generated by mypy-protobuf. Do not edit manually!
|
|
3
|
+
isort:skip_file
|
|
4
|
+
"""
|
|
5
|
+
|
|
6
|
+
import builtins
|
|
7
|
+
import collections.abc
|
|
8
|
+
import google.protobuf.descriptor
|
|
9
|
+
import google.protobuf.internal.containers
|
|
10
|
+
import google.protobuf.internal.enum_type_wrapper
|
|
11
|
+
import google.protobuf.message
|
|
12
|
+
import google.protobuf.timestamp_pb2
|
|
13
|
+
import sys
|
|
14
|
+
import typing
|
|
15
|
+
import yandex.cloud.logging.v1.log_entry_pb2
|
|
16
|
+
|
|
17
|
+
if sys.version_info >= (3, 10):
|
|
18
|
+
import typing as typing_extensions
|
|
19
|
+
else:
|
|
20
|
+
import typing_extensions
|
|
21
|
+
|
|
22
|
+
DESCRIPTOR: google.protobuf.descriptor.FileDescriptor
|
|
23
|
+
|
|
24
|
+
@typing.final
|
|
25
|
+
class Workflow(google.protobuf.message.Message):
|
|
26
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
27
|
+
|
|
28
|
+
class _Status:
|
|
29
|
+
ValueType = typing.NewType("ValueType", builtins.int)
|
|
30
|
+
V: typing_extensions.TypeAlias = ValueType
|
|
31
|
+
|
|
32
|
+
class _StatusEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[Workflow._Status.ValueType], builtins.type):
|
|
33
|
+
DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor
|
|
34
|
+
STATUS_UNSPECIFIED: Workflow._Status.ValueType # 0
|
|
35
|
+
CREATING: Workflow._Status.ValueType # 1
|
|
36
|
+
"""Workflow is being created."""
|
|
37
|
+
ACTIVE: Workflow._Status.ValueType # 2
|
|
38
|
+
"""Workflow is ready for use."""
|
|
39
|
+
UPDATING: Workflow._Status.ValueType # 3
|
|
40
|
+
"""Workflow is being updated."""
|
|
41
|
+
DELETING: Workflow._Status.ValueType # 4
|
|
42
|
+
"""Workflow is being deleted."""
|
|
43
|
+
ERROR: Workflow._Status.ValueType # 5
|
|
44
|
+
"""Workflow failed. The only allowed action is delete."""
|
|
45
|
+
|
|
46
|
+
class Status(_Status, metaclass=_StatusEnumTypeWrapper): ...
|
|
47
|
+
STATUS_UNSPECIFIED: Workflow.Status.ValueType # 0
|
|
48
|
+
CREATING: Workflow.Status.ValueType # 1
|
|
49
|
+
"""Workflow is being created."""
|
|
50
|
+
ACTIVE: Workflow.Status.ValueType # 2
|
|
51
|
+
"""Workflow is ready for use."""
|
|
52
|
+
UPDATING: Workflow.Status.ValueType # 3
|
|
53
|
+
"""Workflow is being updated."""
|
|
54
|
+
DELETING: Workflow.Status.ValueType # 4
|
|
55
|
+
"""Workflow is being deleted."""
|
|
56
|
+
ERROR: Workflow.Status.ValueType # 5
|
|
57
|
+
"""Workflow failed. The only allowed action is delete."""
|
|
58
|
+
|
|
59
|
+
@typing.final
|
|
60
|
+
class LabelsEntry(google.protobuf.message.Message):
|
|
61
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
62
|
+
|
|
63
|
+
KEY_FIELD_NUMBER: builtins.int
|
|
64
|
+
VALUE_FIELD_NUMBER: builtins.int
|
|
65
|
+
key: builtins.str
|
|
66
|
+
value: builtins.str
|
|
67
|
+
def __init__(
|
|
68
|
+
self,
|
|
69
|
+
*,
|
|
70
|
+
key: builtins.str = ...,
|
|
71
|
+
value: builtins.str = ...,
|
|
72
|
+
) -> None: ...
|
|
73
|
+
def ClearField(self, field_name: typing.Literal["key", b"key", "value", b"value"]) -> None: ...
|
|
74
|
+
|
|
75
|
+
ID_FIELD_NUMBER: builtins.int
|
|
76
|
+
FOLDER_ID_FIELD_NUMBER: builtins.int
|
|
77
|
+
SPECIFICATION_FIELD_NUMBER: builtins.int
|
|
78
|
+
CREATED_AT_FIELD_NUMBER: builtins.int
|
|
79
|
+
NAME_FIELD_NUMBER: builtins.int
|
|
80
|
+
DESCRIPTION_FIELD_NUMBER: builtins.int
|
|
81
|
+
LABELS_FIELD_NUMBER: builtins.int
|
|
82
|
+
STATUS_FIELD_NUMBER: builtins.int
|
|
83
|
+
LOG_OPTIONS_FIELD_NUMBER: builtins.int
|
|
84
|
+
NETWORK_ID_FIELD_NUMBER: builtins.int
|
|
85
|
+
SERVICE_ACCOUNT_ID_FIELD_NUMBER: builtins.int
|
|
86
|
+
id: builtins.str
|
|
87
|
+
"""ID of the Workflow. Generated at creation time."""
|
|
88
|
+
folder_id: builtins.str
|
|
89
|
+
"""ID of the folder that the Workflow belongs to."""
|
|
90
|
+
name: builtins.str
|
|
91
|
+
"""Name of the Workflow. The name is unique within the folder."""
|
|
92
|
+
description: builtins.str
|
|
93
|
+
"""Description of the Workflow."""
|
|
94
|
+
status: global___Workflow.Status.ValueType
|
|
95
|
+
"""Status of the Workflow."""
|
|
96
|
+
network_id: builtins.str
|
|
97
|
+
"""ID of the VPC network Workflow will be executed in, in order to access private resources."""
|
|
98
|
+
service_account_id: builtins.str
|
|
99
|
+
"""ID of the Service Account which will be used for resource access in Workflow execution."""
|
|
100
|
+
@property
|
|
101
|
+
def specification(self) -> global___WorkflowSpecification:
|
|
102
|
+
"""Specification of the Workflow"""
|
|
103
|
+
|
|
104
|
+
@property
|
|
105
|
+
def created_at(self) -> google.protobuf.timestamp_pb2.Timestamp:
|
|
106
|
+
"""Creation timestamp for the Workflow."""
|
|
107
|
+
|
|
108
|
+
@property
|
|
109
|
+
def labels(self) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]:
|
|
110
|
+
"""Workflow labels as `key:value` pairs."""
|
|
111
|
+
|
|
112
|
+
@property
|
|
113
|
+
def log_options(self) -> global___LogOptions:
|
|
114
|
+
"""Options for logging from the Workflow."""
|
|
115
|
+
|
|
116
|
+
def __init__(
|
|
117
|
+
self,
|
|
118
|
+
*,
|
|
119
|
+
id: builtins.str = ...,
|
|
120
|
+
folder_id: builtins.str = ...,
|
|
121
|
+
specification: global___WorkflowSpecification | None = ...,
|
|
122
|
+
created_at: google.protobuf.timestamp_pb2.Timestamp | None = ...,
|
|
123
|
+
name: builtins.str = ...,
|
|
124
|
+
description: builtins.str = ...,
|
|
125
|
+
labels: collections.abc.Mapping[builtins.str, builtins.str] | None = ...,
|
|
126
|
+
status: global___Workflow.Status.ValueType = ...,
|
|
127
|
+
log_options: global___LogOptions | None = ...,
|
|
128
|
+
network_id: builtins.str = ...,
|
|
129
|
+
service_account_id: builtins.str = ...,
|
|
130
|
+
) -> None: ...
|
|
131
|
+
def HasField(self, field_name: typing.Literal["created_at", b"created_at", "log_options", b"log_options", "specification", b"specification"]) -> builtins.bool: ...
|
|
132
|
+
def ClearField(self, field_name: typing.Literal["created_at", b"created_at", "description", b"description", "folder_id", b"folder_id", "id", b"id", "labels", b"labels", "log_options", b"log_options", "name", b"name", "network_id", b"network_id", "service_account_id", b"service_account_id", "specification", b"specification", "status", b"status"]) -> None: ...
|
|
133
|
+
|
|
134
|
+
global___Workflow = Workflow
|
|
135
|
+
|
|
136
|
+
@typing.final
|
|
137
|
+
class WorkflowPreview(google.protobuf.message.Message):
|
|
138
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
139
|
+
|
|
140
|
+
@typing.final
|
|
141
|
+
class LabelsEntry(google.protobuf.message.Message):
|
|
142
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
143
|
+
|
|
144
|
+
KEY_FIELD_NUMBER: builtins.int
|
|
145
|
+
VALUE_FIELD_NUMBER: builtins.int
|
|
146
|
+
key: builtins.str
|
|
147
|
+
value: builtins.str
|
|
148
|
+
def __init__(
|
|
149
|
+
self,
|
|
150
|
+
*,
|
|
151
|
+
key: builtins.str = ...,
|
|
152
|
+
value: builtins.str = ...,
|
|
153
|
+
) -> None: ...
|
|
154
|
+
def ClearField(self, field_name: typing.Literal["key", b"key", "value", b"value"]) -> None: ...
|
|
155
|
+
|
|
156
|
+
ID_FIELD_NUMBER: builtins.int
|
|
157
|
+
FOLDER_ID_FIELD_NUMBER: builtins.int
|
|
158
|
+
CREATED_AT_FIELD_NUMBER: builtins.int
|
|
159
|
+
NAME_FIELD_NUMBER: builtins.int
|
|
160
|
+
DESCRIPTION_FIELD_NUMBER: builtins.int
|
|
161
|
+
LABELS_FIELD_NUMBER: builtins.int
|
|
162
|
+
STATUS_FIELD_NUMBER: builtins.int
|
|
163
|
+
LOG_OPTIONS_FIELD_NUMBER: builtins.int
|
|
164
|
+
NETWORK_ID_FIELD_NUMBER: builtins.int
|
|
165
|
+
SERVICE_ACCOUNT_ID_FIELD_NUMBER: builtins.int
|
|
166
|
+
id: builtins.str
|
|
167
|
+
"""ID of the Workflow. Generated at creation time."""
|
|
168
|
+
folder_id: builtins.str
|
|
169
|
+
"""ID of the folder that the Workflow belongs to."""
|
|
170
|
+
name: builtins.str
|
|
171
|
+
"""Name of the Workflow. The name is unique within the folder."""
|
|
172
|
+
description: builtins.str
|
|
173
|
+
"""Description of the Workflow."""
|
|
174
|
+
status: global___Workflow.Status.ValueType
|
|
175
|
+
"""Status of the Workflow."""
|
|
176
|
+
network_id: builtins.str
|
|
177
|
+
"""ID of the VPC network Workflow will be executed in, in order to access private resources."""
|
|
178
|
+
service_account_id: builtins.str
|
|
179
|
+
"""ID of the Service Account which will be used for resources access in Workflow execution."""
|
|
180
|
+
@property
|
|
181
|
+
def created_at(self) -> google.protobuf.timestamp_pb2.Timestamp:
|
|
182
|
+
"""Creation timestamp for the Workflow."""
|
|
183
|
+
|
|
184
|
+
@property
|
|
185
|
+
def labels(self) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]:
|
|
186
|
+
"""Workflow labels as `key:value` pairs."""
|
|
187
|
+
|
|
188
|
+
@property
|
|
189
|
+
def log_options(self) -> global___LogOptions:
|
|
190
|
+
"""Options for logging from the Workflow."""
|
|
191
|
+
|
|
192
|
+
def __init__(
|
|
193
|
+
self,
|
|
194
|
+
*,
|
|
195
|
+
id: builtins.str = ...,
|
|
196
|
+
folder_id: builtins.str = ...,
|
|
197
|
+
created_at: google.protobuf.timestamp_pb2.Timestamp | None = ...,
|
|
198
|
+
name: builtins.str = ...,
|
|
199
|
+
description: builtins.str = ...,
|
|
200
|
+
labels: collections.abc.Mapping[builtins.str, builtins.str] | None = ...,
|
|
201
|
+
status: global___Workflow.Status.ValueType = ...,
|
|
202
|
+
log_options: global___LogOptions | None = ...,
|
|
203
|
+
network_id: builtins.str = ...,
|
|
204
|
+
service_account_id: builtins.str = ...,
|
|
205
|
+
) -> None: ...
|
|
206
|
+
def HasField(self, field_name: typing.Literal["created_at", b"created_at", "log_options", b"log_options"]) -> builtins.bool: ...
|
|
207
|
+
def ClearField(self, field_name: typing.Literal["created_at", b"created_at", "description", b"description", "folder_id", b"folder_id", "id", b"id", "labels", b"labels", "log_options", b"log_options", "name", b"name", "network_id", b"network_id", "service_account_id", b"service_account_id", "status", b"status"]) -> None: ...
|
|
208
|
+
|
|
209
|
+
global___WorkflowPreview = WorkflowPreview
|
|
210
|
+
|
|
211
|
+
@typing.final
|
|
212
|
+
class WorkflowSpecification(google.protobuf.message.Message):
|
|
213
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
214
|
+
|
|
215
|
+
SPEC_YAML_FIELD_NUMBER: builtins.int
|
|
216
|
+
spec_yaml: builtins.str
|
|
217
|
+
"""Workflow specification in YAML format."""
|
|
218
|
+
def __init__(
|
|
219
|
+
self,
|
|
220
|
+
*,
|
|
221
|
+
spec_yaml: builtins.str = ...,
|
|
222
|
+
) -> None: ...
|
|
223
|
+
def HasField(self, field_name: typing.Literal["spec", b"spec", "spec_yaml", b"spec_yaml"]) -> builtins.bool: ...
|
|
224
|
+
def ClearField(self, field_name: typing.Literal["spec", b"spec", "spec_yaml", b"spec_yaml"]) -> None: ...
|
|
225
|
+
def WhichOneof(self, oneof_group: typing.Literal["spec", b"spec"]) -> typing.Literal["spec_yaml"] | None: ...
|
|
226
|
+
|
|
227
|
+
global___WorkflowSpecification = WorkflowSpecification
|
|
228
|
+
|
|
229
|
+
@typing.final
|
|
230
|
+
class LogOptions(google.protobuf.message.Message):
|
|
231
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
232
|
+
|
|
233
|
+
DISABLED_FIELD_NUMBER: builtins.int
|
|
234
|
+
LOG_GROUP_ID_FIELD_NUMBER: builtins.int
|
|
235
|
+
FOLDER_ID_FIELD_NUMBER: builtins.int
|
|
236
|
+
MIN_LEVEL_FIELD_NUMBER: builtins.int
|
|
237
|
+
disabled: builtins.bool
|
|
238
|
+
"""Is logging from Workflow disabled."""
|
|
239
|
+
log_group_id: builtins.str
|
|
240
|
+
"""ID of the logging group which should be used for Workflows logs."""
|
|
241
|
+
folder_id: builtins.str
|
|
242
|
+
"""ID of the folder which default logging group should be used for Workflows."""
|
|
243
|
+
min_level: yandex.cloud.logging.v1.log_entry_pb2.LogLevel.Level.ValueType
|
|
244
|
+
"""Minimum logs level.
|
|
245
|
+
|
|
246
|
+
See [LogLevel.Level] for details.
|
|
247
|
+
"""
|
|
248
|
+
def __init__(
|
|
249
|
+
self,
|
|
250
|
+
*,
|
|
251
|
+
disabled: builtins.bool = ...,
|
|
252
|
+
log_group_id: builtins.str = ...,
|
|
253
|
+
folder_id: builtins.str = ...,
|
|
254
|
+
min_level: yandex.cloud.logging.v1.log_entry_pb2.LogLevel.Level.ValueType = ...,
|
|
255
|
+
) -> None: ...
|
|
256
|
+
def HasField(self, field_name: typing.Literal["destination", b"destination", "folder_id", b"folder_id", "log_group_id", b"log_group_id"]) -> builtins.bool: ...
|
|
257
|
+
def ClearField(self, field_name: typing.Literal["destination", b"destination", "disabled", b"disabled", "folder_id", b"folder_id", "log_group_id", b"log_group_id", "min_level", b"min_level"]) -> None: ...
|
|
258
|
+
def WhichOneof(self, oneof_group: typing.Literal["destination", b"destination"]) -> typing.Literal["log_group_id", "folder_id"] | None: ...
|
|
259
|
+
|
|
260
|
+
global___LogOptions = LogOptions
|
|
@@ -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,112 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# source: yandex/cloud/serverless/workflows/v1/workflow_service.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
|
+
from google.protobuf import field_mask_pb2 as google_dot_protobuf_dot_field__mask__pb2
|
|
15
|
+
from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2
|
|
16
|
+
from yandex.cloud.api import operation_pb2 as yandex_dot_cloud_dot_api_dot_operation__pb2
|
|
17
|
+
from yandex.cloud.operation import operation_pb2 as yandex_dot_cloud_dot_operation_dot_operation__pb2
|
|
18
|
+
from yandex.cloud.serverless.workflows.v1 import workflow_pb2 as yandex_dot_cloud_dot_serverless_dot_workflows_dot_v1_dot_workflow__pb2
|
|
19
|
+
from yandex.cloud import validation_pb2 as yandex_dot_cloud_dot_validation__pb2
|
|
20
|
+
|
|
21
|
+
|
|
22
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n;yandex/cloud/serverless/workflows/v1/workflow_service.proto\x12$yandex.cloud.serverless.workflows.v1\x1a google/protobuf/field_mask.proto\x1a\x1cgoogle/api/annotations.proto\x1a yandex/cloud/api/operation.proto\x1a&yandex/cloud/operation/operation.proto\x1a\x33yandex/cloud/serverless/workflows/v1/workflow.proto\x1a\x1dyandex/cloud/validation.proto\"\xa7\x04\n\x15\x43reateWorkflowRequest\x12\x17\n\tfolder_id\x18\x01 \x01(\tB\x04\xe8\xc7\x31\x01\x12\x36\n\x04name\x18\x02 \x01(\tB(\xe8\xc7\x31\x01\xf2\xc7\x31 |[a-z]([-a-z0-9]{0,61}[a-z0-9])?\x12\x1e\n\x0b\x64\x65scription\x18\x03 \x01(\tB\t\x8a\xc8\x31\x05<=256\x12\x9c\x01\n\x06labels\x18\x04 \x03(\x0b\x32G.yandex.cloud.serverless.workflows.v1.CreateWorkflowRequest.LabelsEntryBC\xf2\xc7\x31\x0f[-_./\\@0-9a-z]*\x82\xc8\x31\x04<=64\x8a\xc8\x31\x04<=63\xb2\xc8\x31\x1c\x12\x14[a-z][-_./\\@0-9a-z]*\x1a\x04\x31-63\x12X\n\rspecification\x18\x05 \x01(\x0b\x32;.yandex.cloud.serverless.workflows.v1.WorkflowSpecificationB\x04\xe8\xc7\x31\x01\x12\x45\n\x0blog_options\x18\x06 \x01(\x0b\x32\x30.yandex.cloud.serverless.workflows.v1.LogOptions\x12\x12\n\nnetwork_id\x18\x07 \x01(\t\x12\x1a\n\x12service_account_id\x18\x08 \x01(\t\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"3\n\x16\x43reateWorkflowMetadata\x12\x19\n\x0bworkflow_id\x18\x01 \x01(\tB\x04\xe8\xc7\x31\x01\"\xd0\x04\n\x15UpdateWorkflowRequest\x12\x19\n\x0bworkflow_id\x18\x01 \x01(\tB\x04\xe8\xc7\x31\x01\x12\x32\n\x04name\x18\x02 \x01(\tB$\xf2\xc7\x31 |[a-z]([-a-z0-9]{0,61}[a-z0-9])?\x12\x1e\n\x0b\x64\x65scription\x18\x03 \x01(\tB\t\x8a\xc8\x31\x05<=256\x12\x9c\x01\n\x06labels\x18\x04 \x03(\x0b\x32G.yandex.cloud.serverless.workflows.v1.UpdateWorkflowRequest.LabelsEntryBC\xf2\xc7\x31\x0f[-_./\\@0-9a-z]*\x82\xc8\x31\x04<=64\x8a\xc8\x31\x04<=63\xb2\xc8\x31\x1c\x12\x14[a-z][-_./\\@0-9a-z]*\x1a\x04\x31-63\x12R\n\rspecification\x18\x05 \x01(\x0b\x32;.yandex.cloud.serverless.workflows.v1.WorkflowSpecification\x12\x45\n\x0blog_options\x18\x06 \x01(\x0b\x32\x30.yandex.cloud.serverless.workflows.v1.LogOptions\x12\x12\n\nnetwork_id\x18\x07 \x01(\t\x12\x1a\n\x12service_account_id\x18\x08 \x01(\t\x12/\n\x0bupdate_mask\x18\t \x01(\x0b\x32\x1a.google.protobuf.FieldMask\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"3\n\x16UpdateWorkflowMetadata\x12\x19\n\x0bworkflow_id\x18\x01 \x01(\tB\x04\xe8\xc7\x31\x01\"/\n\x12GetWorkflowRequest\x12\x19\n\x0bworkflow_id\x18\x01 \x01(\tB\x04\xe8\xc7\x31\x01\"W\n\x13GetWorkflowResponse\x12@\n\x08workflow\x18\x01 \x01(\x0b\x32..yandex.cloud.serverless.workflows.v1.Workflow\"2\n\x15\x44\x65leteWorkflowRequest\x12\x19\n\x0bworkflow_id\x18\x01 \x01(\tB\x04\xe8\xc7\x31\x01\"-\n\x16\x44\x65leteWorkflowMetadata\x12\x13\n\x0bworkflow_id\x18\x01 \x01(\t\"f\n\x14ListWorkflowsRequest\x12\x17\n\tfolder_id\x18\x01 \x01(\tB\x04\xe8\xc7\x31\x01\x12\x11\n\tpage_size\x18\x02 \x01(\x03\x12\x12\n\npage_token\x18\x03 \x01(\t\x12\x0e\n\x06\x66ilter\x18\x04 \x01(\t\"z\n\x15ListWorkflowsResponse\x12H\n\tworkflows\x18\x01 \x03(\x0b\x32\x35.yandex.cloud.serverless.workflows.v1.WorkflowPreview\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\x8c\x01\n\x15ListOperationsRequest\x12\x19\n\x0bworkflow_id\x18\x01 \x01(\tB\x04\xe8\xc7\x31\x01\x12\x1d\n\tpage_size\x18\x02 \x01(\x03\x42\n\xfa\xc7\x31\x06\x30-1000\x12\x1d\n\npage_token\x18\x03 \x01(\tB\t\x8a\xc8\x31\x05<=100\x12\x1a\n\x06\x66ilter\x18\x04 \x01(\tB\n\x8a\xc8\x31\x06<=1000\"h\n\x16ListOperationsResponse\x12\x35\n\noperations\x18\x01 \x03(\x0b\x32!.yandex.cloud.operation.Operation\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t2\xe7\x08\n\x0fWorkflowService\x12\xb1\x01\n\x06\x43reate\x12;.yandex.cloud.serverless.workflows.v1.CreateWorkflowRequest\x1a!.yandex.cloud.operation.Operation\"G\xb2\xd2*\"\n\x16\x43reateWorkflowMetadata\x12\x08Workflow\x82\xd3\xe4\x93\x02\x1b\"\x16/workflows/v1/workflow:\x01*\x12\xbf\x01\n\x06Update\x12;.yandex.cloud.serverless.workflows.v1.UpdateWorkflowRequest\x1a!.yandex.cloud.operation.Operation\"U\xb2\xd2*\"\n\x16UpdateWorkflowMetadata\x12\x08Workflow\x82\xd3\xe4\x93\x02)2$/workflows/v1/workflow/{workflow_id}:\x01*\x12\xa8\x01\n\x03Get\x12\x38.yandex.cloud.serverless.workflows.v1.GetWorkflowRequest\x1a\x39.yandex.cloud.serverless.workflows.v1.GetWorkflowResponse\",\x82\xd3\xe4\x93\x02&\x12$/workflows/v1/workflow/{workflow_id}\x12\xc9\x01\n\x06\x44\x65lete\x12;.yandex.cloud.serverless.workflows.v1.DeleteWorkflowRequest\x1a!.yandex.cloud.operation.Operation\"_\xb2\xd2*/\n\x16\x44\x65leteWorkflowMetadata\x12\x15google.protobuf.Empty\x82\xd3\xe4\x93\x02&*$/workflows/v1/workflow/{workflow_id}\x12\x9f\x01\n\x04List\x12:.yandex.cloud.serverless.workflows.v1.ListWorkflowsRequest\x1a;.yandex.cloud.serverless.workflows.v1.ListWorkflowsResponse\"\x1e\x82\xd3\xe4\x93\x02\x18\x12\x16/workflows/v1/workflow\x12\xc4\x01\n\x0eListOperations\x12;.yandex.cloud.serverless.workflows.v1.ListOperationsRequest\x1a<.yandex.cloud.serverless.workflows.v1.ListOperationsResponse\"7\x82\xd3\xe4\x93\x02\x31\x12//workflows/v1/workflow/{workflow_id}/operationsB~\n(yandex.cloud.api.serverless.workflows.v1ZRgithub.com/yandex-cloud/go-genproto/yandex/cloud/serverless/workflows/v1;workflowsb\x06proto3')
|
|
23
|
+
|
|
24
|
+
_globals = globals()
|
|
25
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
26
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'yandex.cloud.serverless.workflows.v1.workflow_service_pb2', _globals)
|
|
27
|
+
if _descriptor._USE_C_DESCRIPTORS == False:
|
|
28
|
+
DESCRIPTOR._options = None
|
|
29
|
+
DESCRIPTOR._serialized_options = b'\n(yandex.cloud.api.serverless.workflows.v1ZRgithub.com/yandex-cloud/go-genproto/yandex/cloud/serverless/workflows/v1;workflows'
|
|
30
|
+
_CREATEWORKFLOWREQUEST_LABELSENTRY._options = None
|
|
31
|
+
_CREATEWORKFLOWREQUEST_LABELSENTRY._serialized_options = b'8\001'
|
|
32
|
+
_CREATEWORKFLOWREQUEST.fields_by_name['folder_id']._options = None
|
|
33
|
+
_CREATEWORKFLOWREQUEST.fields_by_name['folder_id']._serialized_options = b'\350\3071\001'
|
|
34
|
+
_CREATEWORKFLOWREQUEST.fields_by_name['name']._options = None
|
|
35
|
+
_CREATEWORKFLOWREQUEST.fields_by_name['name']._serialized_options = b'\350\3071\001\362\3071 |[a-z]([-a-z0-9]{0,61}[a-z0-9])?'
|
|
36
|
+
_CREATEWORKFLOWREQUEST.fields_by_name['description']._options = None
|
|
37
|
+
_CREATEWORKFLOWREQUEST.fields_by_name['description']._serialized_options = b'\212\3101\005<=256'
|
|
38
|
+
_CREATEWORKFLOWREQUEST.fields_by_name['labels']._options = None
|
|
39
|
+
_CREATEWORKFLOWREQUEST.fields_by_name['labels']._serialized_options = b'\362\3071\017[-_./\\@0-9a-z]*\202\3101\004<=64\212\3101\004<=63\262\3101\034\022\024[a-z][-_./\\@0-9a-z]*\032\0041-63'
|
|
40
|
+
_CREATEWORKFLOWREQUEST.fields_by_name['specification']._options = None
|
|
41
|
+
_CREATEWORKFLOWREQUEST.fields_by_name['specification']._serialized_options = b'\350\3071\001'
|
|
42
|
+
_CREATEWORKFLOWMETADATA.fields_by_name['workflow_id']._options = None
|
|
43
|
+
_CREATEWORKFLOWMETADATA.fields_by_name['workflow_id']._serialized_options = b'\350\3071\001'
|
|
44
|
+
_UPDATEWORKFLOWREQUEST_LABELSENTRY._options = None
|
|
45
|
+
_UPDATEWORKFLOWREQUEST_LABELSENTRY._serialized_options = b'8\001'
|
|
46
|
+
_UPDATEWORKFLOWREQUEST.fields_by_name['workflow_id']._options = None
|
|
47
|
+
_UPDATEWORKFLOWREQUEST.fields_by_name['workflow_id']._serialized_options = b'\350\3071\001'
|
|
48
|
+
_UPDATEWORKFLOWREQUEST.fields_by_name['name']._options = None
|
|
49
|
+
_UPDATEWORKFLOWREQUEST.fields_by_name['name']._serialized_options = b'\362\3071 |[a-z]([-a-z0-9]{0,61}[a-z0-9])?'
|
|
50
|
+
_UPDATEWORKFLOWREQUEST.fields_by_name['description']._options = None
|
|
51
|
+
_UPDATEWORKFLOWREQUEST.fields_by_name['description']._serialized_options = b'\212\3101\005<=256'
|
|
52
|
+
_UPDATEWORKFLOWREQUEST.fields_by_name['labels']._options = None
|
|
53
|
+
_UPDATEWORKFLOWREQUEST.fields_by_name['labels']._serialized_options = b'\362\3071\017[-_./\\@0-9a-z]*\202\3101\004<=64\212\3101\004<=63\262\3101\034\022\024[a-z][-_./\\@0-9a-z]*\032\0041-63'
|
|
54
|
+
_UPDATEWORKFLOWMETADATA.fields_by_name['workflow_id']._options = None
|
|
55
|
+
_UPDATEWORKFLOWMETADATA.fields_by_name['workflow_id']._serialized_options = b'\350\3071\001'
|
|
56
|
+
_GETWORKFLOWREQUEST.fields_by_name['workflow_id']._options = None
|
|
57
|
+
_GETWORKFLOWREQUEST.fields_by_name['workflow_id']._serialized_options = b'\350\3071\001'
|
|
58
|
+
_DELETEWORKFLOWREQUEST.fields_by_name['workflow_id']._options = None
|
|
59
|
+
_DELETEWORKFLOWREQUEST.fields_by_name['workflow_id']._serialized_options = b'\350\3071\001'
|
|
60
|
+
_LISTWORKFLOWSREQUEST.fields_by_name['folder_id']._options = None
|
|
61
|
+
_LISTWORKFLOWSREQUEST.fields_by_name['folder_id']._serialized_options = b'\350\3071\001'
|
|
62
|
+
_LISTOPERATIONSREQUEST.fields_by_name['workflow_id']._options = None
|
|
63
|
+
_LISTOPERATIONSREQUEST.fields_by_name['workflow_id']._serialized_options = b'\350\3071\001'
|
|
64
|
+
_LISTOPERATIONSREQUEST.fields_by_name['page_size']._options = None
|
|
65
|
+
_LISTOPERATIONSREQUEST.fields_by_name['page_size']._serialized_options = b'\372\3071\0060-1000'
|
|
66
|
+
_LISTOPERATIONSREQUEST.fields_by_name['page_token']._options = None
|
|
67
|
+
_LISTOPERATIONSREQUEST.fields_by_name['page_token']._serialized_options = b'\212\3101\005<=100'
|
|
68
|
+
_LISTOPERATIONSREQUEST.fields_by_name['filter']._options = None
|
|
69
|
+
_LISTOPERATIONSREQUEST.fields_by_name['filter']._serialized_options = b'\212\3101\006<=1000'
|
|
70
|
+
_WORKFLOWSERVICE.methods_by_name['Create']._options = None
|
|
71
|
+
_WORKFLOWSERVICE.methods_by_name['Create']._serialized_options = b'\262\322*\"\n\026CreateWorkflowMetadata\022\010Workflow\202\323\344\223\002\033\"\026/workflows/v1/workflow:\001*'
|
|
72
|
+
_WORKFLOWSERVICE.methods_by_name['Update']._options = None
|
|
73
|
+
_WORKFLOWSERVICE.methods_by_name['Update']._serialized_options = b'\262\322*\"\n\026UpdateWorkflowMetadata\022\010Workflow\202\323\344\223\002)2$/workflows/v1/workflow/{workflow_id}:\001*'
|
|
74
|
+
_WORKFLOWSERVICE.methods_by_name['Get']._options = None
|
|
75
|
+
_WORKFLOWSERVICE.methods_by_name['Get']._serialized_options = b'\202\323\344\223\002&\022$/workflows/v1/workflow/{workflow_id}'
|
|
76
|
+
_WORKFLOWSERVICE.methods_by_name['Delete']._options = None
|
|
77
|
+
_WORKFLOWSERVICE.methods_by_name['Delete']._serialized_options = b'\262\322*/\n\026DeleteWorkflowMetadata\022\025google.protobuf.Empty\202\323\344\223\002&*$/workflows/v1/workflow/{workflow_id}'
|
|
78
|
+
_WORKFLOWSERVICE.methods_by_name['List']._options = None
|
|
79
|
+
_WORKFLOWSERVICE.methods_by_name['List']._serialized_options = b'\202\323\344\223\002\030\022\026/workflows/v1/workflow'
|
|
80
|
+
_WORKFLOWSERVICE.methods_by_name['ListOperations']._options = None
|
|
81
|
+
_WORKFLOWSERVICE.methods_by_name['ListOperations']._serialized_options = b'\202\323\344\223\0021\022//workflows/v1/workflow/{workflow_id}/operations'
|
|
82
|
+
_globals['_CREATEWORKFLOWREQUEST']._serialized_start=324
|
|
83
|
+
_globals['_CREATEWORKFLOWREQUEST']._serialized_end=875
|
|
84
|
+
_globals['_CREATEWORKFLOWREQUEST_LABELSENTRY']._serialized_start=830
|
|
85
|
+
_globals['_CREATEWORKFLOWREQUEST_LABELSENTRY']._serialized_end=875
|
|
86
|
+
_globals['_CREATEWORKFLOWMETADATA']._serialized_start=877
|
|
87
|
+
_globals['_CREATEWORKFLOWMETADATA']._serialized_end=928
|
|
88
|
+
_globals['_UPDATEWORKFLOWREQUEST']._serialized_start=931
|
|
89
|
+
_globals['_UPDATEWORKFLOWREQUEST']._serialized_end=1523
|
|
90
|
+
_globals['_UPDATEWORKFLOWREQUEST_LABELSENTRY']._serialized_start=830
|
|
91
|
+
_globals['_UPDATEWORKFLOWREQUEST_LABELSENTRY']._serialized_end=875
|
|
92
|
+
_globals['_UPDATEWORKFLOWMETADATA']._serialized_start=1525
|
|
93
|
+
_globals['_UPDATEWORKFLOWMETADATA']._serialized_end=1576
|
|
94
|
+
_globals['_GETWORKFLOWREQUEST']._serialized_start=1578
|
|
95
|
+
_globals['_GETWORKFLOWREQUEST']._serialized_end=1625
|
|
96
|
+
_globals['_GETWORKFLOWRESPONSE']._serialized_start=1627
|
|
97
|
+
_globals['_GETWORKFLOWRESPONSE']._serialized_end=1714
|
|
98
|
+
_globals['_DELETEWORKFLOWREQUEST']._serialized_start=1716
|
|
99
|
+
_globals['_DELETEWORKFLOWREQUEST']._serialized_end=1766
|
|
100
|
+
_globals['_DELETEWORKFLOWMETADATA']._serialized_start=1768
|
|
101
|
+
_globals['_DELETEWORKFLOWMETADATA']._serialized_end=1813
|
|
102
|
+
_globals['_LISTWORKFLOWSREQUEST']._serialized_start=1815
|
|
103
|
+
_globals['_LISTWORKFLOWSREQUEST']._serialized_end=1917
|
|
104
|
+
_globals['_LISTWORKFLOWSRESPONSE']._serialized_start=1919
|
|
105
|
+
_globals['_LISTWORKFLOWSRESPONSE']._serialized_end=2041
|
|
106
|
+
_globals['_LISTOPERATIONSREQUEST']._serialized_start=2044
|
|
107
|
+
_globals['_LISTOPERATIONSREQUEST']._serialized_end=2184
|
|
108
|
+
_globals['_LISTOPERATIONSRESPONSE']._serialized_start=2186
|
|
109
|
+
_globals['_LISTOPERATIONSRESPONSE']._serialized_end=2290
|
|
110
|
+
_globals['_WORKFLOWSERVICE']._serialized_start=2293
|
|
111
|
+
_globals['_WORKFLOWSERVICE']._serialized_end=3420
|
|
112
|
+
# @@protoc_insertion_point(module_scope)
|