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,107 @@
|
|
|
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
|
+
|
|
16
|
+
if sys.version_info >= (3, 10):
|
|
17
|
+
import typing as typing_extensions
|
|
18
|
+
else:
|
|
19
|
+
import typing_extensions
|
|
20
|
+
|
|
21
|
+
DESCRIPTOR: google.protobuf.descriptor.FileDescriptor
|
|
22
|
+
|
|
23
|
+
@typing.final
|
|
24
|
+
class Bus(google.protobuf.message.Message):
|
|
25
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
26
|
+
|
|
27
|
+
class _Status:
|
|
28
|
+
ValueType = typing.NewType("ValueType", builtins.int)
|
|
29
|
+
V: typing_extensions.TypeAlias = ValueType
|
|
30
|
+
|
|
31
|
+
class _StatusEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[Bus._Status.ValueType], builtins.type):
|
|
32
|
+
DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor
|
|
33
|
+
STATUS_UNSPECIFIED: Bus._Status.ValueType # 0
|
|
34
|
+
CREATING: Bus._Status.ValueType # 1
|
|
35
|
+
ACTIVE: Bus._Status.ValueType # 2
|
|
36
|
+
DELETING: Bus._Status.ValueType # 3
|
|
37
|
+
|
|
38
|
+
class Status(_Status, metaclass=_StatusEnumTypeWrapper): ...
|
|
39
|
+
STATUS_UNSPECIFIED: Bus.Status.ValueType # 0
|
|
40
|
+
CREATING: Bus.Status.ValueType # 1
|
|
41
|
+
ACTIVE: Bus.Status.ValueType # 2
|
|
42
|
+
DELETING: Bus.Status.ValueType # 3
|
|
43
|
+
|
|
44
|
+
@typing.final
|
|
45
|
+
class LabelsEntry(google.protobuf.message.Message):
|
|
46
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
47
|
+
|
|
48
|
+
KEY_FIELD_NUMBER: builtins.int
|
|
49
|
+
VALUE_FIELD_NUMBER: builtins.int
|
|
50
|
+
key: builtins.str
|
|
51
|
+
value: builtins.str
|
|
52
|
+
def __init__(
|
|
53
|
+
self,
|
|
54
|
+
*,
|
|
55
|
+
key: builtins.str = ...,
|
|
56
|
+
value: builtins.str = ...,
|
|
57
|
+
) -> None: ...
|
|
58
|
+
def ClearField(self, field_name: typing.Literal["key", b"key", "value", b"value"]) -> None: ...
|
|
59
|
+
|
|
60
|
+
ID_FIELD_NUMBER: builtins.int
|
|
61
|
+
FOLDER_ID_FIELD_NUMBER: builtins.int
|
|
62
|
+
CLOUD_ID_FIELD_NUMBER: builtins.int
|
|
63
|
+
CREATED_AT_FIELD_NUMBER: builtins.int
|
|
64
|
+
NAME_FIELD_NUMBER: builtins.int
|
|
65
|
+
DESCRIPTION_FIELD_NUMBER: builtins.int
|
|
66
|
+
LABELS_FIELD_NUMBER: builtins.int
|
|
67
|
+
DELETION_PROTECTION_FIELD_NUMBER: builtins.int
|
|
68
|
+
STATUS_FIELD_NUMBER: builtins.int
|
|
69
|
+
id: builtins.str
|
|
70
|
+
"""ID of the bus."""
|
|
71
|
+
folder_id: builtins.str
|
|
72
|
+
"""ID of the folder that the bus belongs to."""
|
|
73
|
+
cloud_id: builtins.str
|
|
74
|
+
"""ID of the cloud that the bus resides in."""
|
|
75
|
+
name: builtins.str
|
|
76
|
+
"""Name of the bus."""
|
|
77
|
+
description: builtins.str
|
|
78
|
+
"""Description of the bus."""
|
|
79
|
+
deletion_protection: builtins.bool
|
|
80
|
+
"""Deletion protection."""
|
|
81
|
+
status: global___Bus.Status.ValueType
|
|
82
|
+
"""Status of the bus."""
|
|
83
|
+
@property
|
|
84
|
+
def created_at(self) -> google.protobuf.timestamp_pb2.Timestamp:
|
|
85
|
+
"""Creation timestamp."""
|
|
86
|
+
|
|
87
|
+
@property
|
|
88
|
+
def labels(self) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]:
|
|
89
|
+
"""Resource labels as `key:value` pairs."""
|
|
90
|
+
|
|
91
|
+
def __init__(
|
|
92
|
+
self,
|
|
93
|
+
*,
|
|
94
|
+
id: builtins.str = ...,
|
|
95
|
+
folder_id: builtins.str = ...,
|
|
96
|
+
cloud_id: builtins.str = ...,
|
|
97
|
+
created_at: google.protobuf.timestamp_pb2.Timestamp | None = ...,
|
|
98
|
+
name: builtins.str = ...,
|
|
99
|
+
description: builtins.str = ...,
|
|
100
|
+
labels: collections.abc.Mapping[builtins.str, builtins.str] | None = ...,
|
|
101
|
+
deletion_protection: builtins.bool = ...,
|
|
102
|
+
status: global___Bus.Status.ValueType = ...,
|
|
103
|
+
) -> None: ...
|
|
104
|
+
def HasField(self, field_name: typing.Literal["created_at", b"created_at"]) -> builtins.bool: ...
|
|
105
|
+
def ClearField(self, field_name: typing.Literal["cloud_id", b"cloud_id", "created_at", b"created_at", "deletion_protection", b"deletion_protection", "description", b"description", "folder_id", b"folder_id", "id", b"id", "labels", b"labels", "name", b"name", "status", b"status"]) -> None: ...
|
|
106
|
+
|
|
107
|
+
global___Bus = Bus
|
|
@@ -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,115 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# source: yandex/cloud/serverless/eventrouter/v1/bus_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.api import annotations_pb2 as google_dot_api_dot_annotations__pb2
|
|
15
|
+
from google.protobuf import field_mask_pb2 as google_dot_protobuf_dot_field__mask__pb2
|
|
16
|
+
from yandex.cloud.api import operation_pb2 as yandex_dot_cloud_dot_api_dot_operation__pb2
|
|
17
|
+
from yandex.cloud.access import access_pb2 as yandex_dot_cloud_dot_access_dot_access__pb2
|
|
18
|
+
from yandex.cloud.serverless.eventrouter.v1 import bus_pb2 as yandex_dot_cloud_dot_serverless_dot_eventrouter_dot_v1_dot_bus__pb2
|
|
19
|
+
from yandex.cloud.operation import operation_pb2 as yandex_dot_cloud_dot_operation_dot_operation__pb2
|
|
20
|
+
from yandex.cloud import validation_pb2 as yandex_dot_cloud_dot_validation__pb2
|
|
21
|
+
|
|
22
|
+
|
|
23
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n8yandex/cloud/serverless/eventrouter/v1/bus_service.proto\x12&yandex.cloud.serverless.eventrouter.v1\x1a\x1cgoogle/api/annotations.proto\x1a google/protobuf/field_mask.proto\x1a yandex/cloud/api/operation.proto\x1a yandex/cloud/access/access.proto\x1a\x30yandex/cloud/serverless/eventrouter/v1/bus.proto\x1a&yandex/cloud/operation/operation.proto\x1a\x1dyandex/cloud/validation.proto\"%\n\rGetBusRequest\x12\x14\n\x06\x62us_id\x18\x01 \x01(\tB\x04\xe8\xc7\x31\x01\"b\n\x10ListBusesRequest\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\"h\n\x11ListBusesResponse\x12:\n\x05\x62uses\x18\x01 \x03(\x0b\x32+.yandex.cloud.serverless.eventrouter.v1.Bus\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"\xdc\x02\n\x10\x43reateBusRequest\x12\x17\n\tfolder_id\x18\x01 \x01(\tB\x04\xe8\xc7\x31\x01\x12/\n\x04name\x18\x02 \x01(\tB!\xf2\xc7\x31\x1d|[a-z][-a-z0-9]{1,61}[a-z0-9]\x12\x1e\n\x0b\x64\x65scription\x18\x03 \x01(\tB\t\x8a\xc8\x31\x05<=256\x12\x91\x01\n\x06labels\x18\x04 \x03(\x0b\x32\x44.yandex.cloud.serverless.eventrouter.v1.CreateBusRequest.LabelsEntryB;\xf2\xc7\x31\x0b[-_0-9a-z]*\x82\xc8\x31\x04<=64\x8a\xc8\x31\x04<=63\xb2\xc8\x31\x18\x12\x10[a-z][-_0-9a-z]*\x1a\x04\x31-63\x12\x1b\n\x13\x64\x65letion_protection\x18\x05 \x01(\x08\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"6\n\x11\x43reateBusMetadata\x12\x0e\n\x06\x62us_id\x18\x01 \x01(\t\x12\x11\n\tfolder_id\x18\x02 \x01(\t\"\x8a\x03\n\x10UpdateBusRequest\x12\x14\n\x06\x62us_id\x18\x01 \x01(\tB\x04\xe8\xc7\x31\x01\x12/\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\x12/\n\x04name\x18\x03 \x01(\tB!\xf2\xc7\x31\x1d|[a-z][-a-z0-9]{1,61}[a-z0-9]\x12\x1e\n\x0b\x64\x65scription\x18\x04 \x01(\tB\t\x8a\xc8\x31\x05<=256\x12\x91\x01\n\x06labels\x18\x05 \x03(\x0b\x32\x44.yandex.cloud.serverless.eventrouter.v1.UpdateBusRequest.LabelsEntryB;\xf2\xc7\x31\x0b[-_0-9a-z]*\x82\xc8\x31\x04<=64\x8a\xc8\x31\x04<=63\xb2\xc8\x31\x18\x12\x10[a-z][-_0-9a-z]*\x1a\x04\x31-63\x12\x1b\n\x13\x64\x65letion_protection\x18\x06 \x01(\x08\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\")\n\x11UpdateBusMetadata\x12\x14\n\x06\x62us_id\x18\x01 \x01(\tB\x04\xe8\xc7\x31\x01\"(\n\x10\x44\x65leteBusRequest\x12\x14\n\x06\x62us_id\x18\x01 \x01(\tB\x04\xe8\xc7\x31\x01\")\n\x11\x44\x65leteBusMetadata\x12\x14\n\x06\x62us_id\x18\x01 \x01(\tB\x04\xe8\xc7\x31\x01\"\x8a\x01\n\x18ListBusOperationsRequest\x12\x14\n\x06\x62us_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\"k\n\x19ListBusOperationsResponse\x12\x35\n\noperations\x18\x01 \x03(\x0b\x32!.yandex.cloud.operation.Operation\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t2\xae\r\n\nBusService\x12\x91\x01\n\x03Get\x12\x35.yandex.cloud.serverless.eventrouter.v1.GetBusRequest\x1a+.yandex.cloud.serverless.eventrouter.v1.Bus\"&\x82\xd3\xe4\x93\x02 \x12\x1e/eventrouter/v1/buses/{bus_id}\x12\x9a\x01\n\x04List\x12\x38.yandex.cloud.serverless.eventrouter.v1.ListBusesRequest\x1a\x39.yandex.cloud.serverless.eventrouter.v1.ListBusesResponse\"\x1d\x82\xd3\xe4\x93\x02\x17\x12\x15/eventrouter/v1/buses\x12\xa3\x01\n\x06\x43reate\x12\x38.yandex.cloud.serverless.eventrouter.v1.CreateBusRequest\x1a!.yandex.cloud.operation.Operation\"<\xb2\xd2*\x18\n\x11\x43reateBusMetadata\x12\x03\x42us\x82\xd3\xe4\x93\x02\x1a\"\x15/eventrouter/v1/buses:\x01*\x12\xac\x01\n\x06Update\x12\x38.yandex.cloud.serverless.eventrouter.v1.UpdateBusRequest\x1a!.yandex.cloud.operation.Operation\"E\xb2\xd2*\x18\n\x11UpdateBusMetadata\x12\x03\x42us\x82\xd3\xe4\x93\x02#2\x1e/eventrouter/v1/buses/{bus_id}:\x01*\x12\xbb\x01\n\x06\x44\x65lete\x12\x38.yandex.cloud.serverless.eventrouter.v1.DeleteBusRequest\x1a!.yandex.cloud.operation.Operation\"T\xb2\xd2**\n\x11\x44\x65leteBusMetadata\x12\x15google.protobuf.Empty\x82\xd3\xe4\x93\x02 *\x1e/eventrouter/v1/buses/{bus_id}\x12\xc8\x01\n\x0eListOperations\x12@.yandex.cloud.serverless.eventrouter.v1.ListBusOperationsRequest\x1a\x41.yandex.cloud.serverless.eventrouter.v1.ListBusOperationsResponse\"1\x82\xd3\xe4\x93\x02+\x12)/eventrouter/v1/buses/{bus_id}/operations\x12\xb5\x01\n\x12ListAccessBindings\x12..yandex.cloud.access.ListAccessBindingsRequest\x1a/.yandex.cloud.access.ListAccessBindingsResponse\">\x82\xd3\xe4\x93\x02\x38\x12\x36/eventrouter/v1/buses/{resource_id}:listAccessBindings\x12\xe4\x01\n\x11SetAccessBindings\x12-.yandex.cloud.access.SetAccessBindingsRequest\x1a!.yandex.cloud.operation.Operation\"}\xb2\xd2*9\n access.SetAccessBindingsMetadata\x12\x15google.protobuf.Empty\x82\xd3\xe4\x93\x02:\"5/eventrouter/v1/buses/{resource_id}:setAccessBindings:\x01*\x12\xf1\x01\n\x14UpdateAccessBindings\x12\x30.yandex.cloud.access.UpdateAccessBindingsRequest\x1a!.yandex.cloud.operation.Operation\"\x83\x01\xb2\xd2*<\n#access.UpdateAccessBindingsMetadata\x12\x15google.protobuf.Empty\x82\xd3\xe4\x93\x02=28/eventrouter/v1/buses/{resource_id}:updateAccessBindings:\x01*B\x8b\x01\n*yandex.cloud.api.serverless.eventrouter.v1B\x05PERBSZVgithub.com/yandex-cloud/go-genproto/yandex/cloud/serverless/eventrouter/v1;eventrouterb\x06proto3')
|
|
24
|
+
|
|
25
|
+
_globals = globals()
|
|
26
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
27
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'yandex.cloud.serverless.eventrouter.v1.bus_service_pb2', _globals)
|
|
28
|
+
if _descriptor._USE_C_DESCRIPTORS == False:
|
|
29
|
+
DESCRIPTOR._options = None
|
|
30
|
+
DESCRIPTOR._serialized_options = b'\n*yandex.cloud.api.serverless.eventrouter.v1B\005PERBSZVgithub.com/yandex-cloud/go-genproto/yandex/cloud/serverless/eventrouter/v1;eventrouter'
|
|
31
|
+
_GETBUSREQUEST.fields_by_name['bus_id']._options = None
|
|
32
|
+
_GETBUSREQUEST.fields_by_name['bus_id']._serialized_options = b'\350\3071\001'
|
|
33
|
+
_LISTBUSESREQUEST.fields_by_name['folder_id']._options = None
|
|
34
|
+
_LISTBUSESREQUEST.fields_by_name['folder_id']._serialized_options = b'\350\3071\001'
|
|
35
|
+
_CREATEBUSREQUEST_LABELSENTRY._options = None
|
|
36
|
+
_CREATEBUSREQUEST_LABELSENTRY._serialized_options = b'8\001'
|
|
37
|
+
_CREATEBUSREQUEST.fields_by_name['folder_id']._options = None
|
|
38
|
+
_CREATEBUSREQUEST.fields_by_name['folder_id']._serialized_options = b'\350\3071\001'
|
|
39
|
+
_CREATEBUSREQUEST.fields_by_name['name']._options = None
|
|
40
|
+
_CREATEBUSREQUEST.fields_by_name['name']._serialized_options = b'\362\3071\035|[a-z][-a-z0-9]{1,61}[a-z0-9]'
|
|
41
|
+
_CREATEBUSREQUEST.fields_by_name['description']._options = None
|
|
42
|
+
_CREATEBUSREQUEST.fields_by_name['description']._serialized_options = b'\212\3101\005<=256'
|
|
43
|
+
_CREATEBUSREQUEST.fields_by_name['labels']._options = None
|
|
44
|
+
_CREATEBUSREQUEST.fields_by_name['labels']._serialized_options = b'\362\3071\013[-_0-9a-z]*\202\3101\004<=64\212\3101\004<=63\262\3101\030\022\020[a-z][-_0-9a-z]*\032\0041-63'
|
|
45
|
+
_UPDATEBUSREQUEST_LABELSENTRY._options = None
|
|
46
|
+
_UPDATEBUSREQUEST_LABELSENTRY._serialized_options = b'8\001'
|
|
47
|
+
_UPDATEBUSREQUEST.fields_by_name['bus_id']._options = None
|
|
48
|
+
_UPDATEBUSREQUEST.fields_by_name['bus_id']._serialized_options = b'\350\3071\001'
|
|
49
|
+
_UPDATEBUSREQUEST.fields_by_name['name']._options = None
|
|
50
|
+
_UPDATEBUSREQUEST.fields_by_name['name']._serialized_options = b'\362\3071\035|[a-z][-a-z0-9]{1,61}[a-z0-9]'
|
|
51
|
+
_UPDATEBUSREQUEST.fields_by_name['description']._options = None
|
|
52
|
+
_UPDATEBUSREQUEST.fields_by_name['description']._serialized_options = b'\212\3101\005<=256'
|
|
53
|
+
_UPDATEBUSREQUEST.fields_by_name['labels']._options = None
|
|
54
|
+
_UPDATEBUSREQUEST.fields_by_name['labels']._serialized_options = b'\362\3071\013[-_0-9a-z]*\202\3101\004<=64\212\3101\004<=63\262\3101\030\022\020[a-z][-_0-9a-z]*\032\0041-63'
|
|
55
|
+
_UPDATEBUSMETADATA.fields_by_name['bus_id']._options = None
|
|
56
|
+
_UPDATEBUSMETADATA.fields_by_name['bus_id']._serialized_options = b'\350\3071\001'
|
|
57
|
+
_DELETEBUSREQUEST.fields_by_name['bus_id']._options = None
|
|
58
|
+
_DELETEBUSREQUEST.fields_by_name['bus_id']._serialized_options = b'\350\3071\001'
|
|
59
|
+
_DELETEBUSMETADATA.fields_by_name['bus_id']._options = None
|
|
60
|
+
_DELETEBUSMETADATA.fields_by_name['bus_id']._serialized_options = b'\350\3071\001'
|
|
61
|
+
_LISTBUSOPERATIONSREQUEST.fields_by_name['bus_id']._options = None
|
|
62
|
+
_LISTBUSOPERATIONSREQUEST.fields_by_name['bus_id']._serialized_options = b'\350\3071\001'
|
|
63
|
+
_LISTBUSOPERATIONSREQUEST.fields_by_name['page_size']._options = None
|
|
64
|
+
_LISTBUSOPERATIONSREQUEST.fields_by_name['page_size']._serialized_options = b'\372\3071\0060-1000'
|
|
65
|
+
_LISTBUSOPERATIONSREQUEST.fields_by_name['page_token']._options = None
|
|
66
|
+
_LISTBUSOPERATIONSREQUEST.fields_by_name['page_token']._serialized_options = b'\212\3101\005<=100'
|
|
67
|
+
_LISTBUSOPERATIONSREQUEST.fields_by_name['filter']._options = None
|
|
68
|
+
_LISTBUSOPERATIONSREQUEST.fields_by_name['filter']._serialized_options = b'\212\3101\006<=1000'
|
|
69
|
+
_BUSSERVICE.methods_by_name['Get']._options = None
|
|
70
|
+
_BUSSERVICE.methods_by_name['Get']._serialized_options = b'\202\323\344\223\002 \022\036/eventrouter/v1/buses/{bus_id}'
|
|
71
|
+
_BUSSERVICE.methods_by_name['List']._options = None
|
|
72
|
+
_BUSSERVICE.methods_by_name['List']._serialized_options = b'\202\323\344\223\002\027\022\025/eventrouter/v1/buses'
|
|
73
|
+
_BUSSERVICE.methods_by_name['Create']._options = None
|
|
74
|
+
_BUSSERVICE.methods_by_name['Create']._serialized_options = b'\262\322*\030\n\021CreateBusMetadata\022\003Bus\202\323\344\223\002\032\"\025/eventrouter/v1/buses:\001*'
|
|
75
|
+
_BUSSERVICE.methods_by_name['Update']._options = None
|
|
76
|
+
_BUSSERVICE.methods_by_name['Update']._serialized_options = b'\262\322*\030\n\021UpdateBusMetadata\022\003Bus\202\323\344\223\002#2\036/eventrouter/v1/buses/{bus_id}:\001*'
|
|
77
|
+
_BUSSERVICE.methods_by_name['Delete']._options = None
|
|
78
|
+
_BUSSERVICE.methods_by_name['Delete']._serialized_options = b'\262\322**\n\021DeleteBusMetadata\022\025google.protobuf.Empty\202\323\344\223\002 *\036/eventrouter/v1/buses/{bus_id}'
|
|
79
|
+
_BUSSERVICE.methods_by_name['ListOperations']._options = None
|
|
80
|
+
_BUSSERVICE.methods_by_name['ListOperations']._serialized_options = b'\202\323\344\223\002+\022)/eventrouter/v1/buses/{bus_id}/operations'
|
|
81
|
+
_BUSSERVICE.methods_by_name['ListAccessBindings']._options = None
|
|
82
|
+
_BUSSERVICE.methods_by_name['ListAccessBindings']._serialized_options = b'\202\323\344\223\0028\0226/eventrouter/v1/buses/{resource_id}:listAccessBindings'
|
|
83
|
+
_BUSSERVICE.methods_by_name['SetAccessBindings']._options = None
|
|
84
|
+
_BUSSERVICE.methods_by_name['SetAccessBindings']._serialized_options = b'\262\322*9\n access.SetAccessBindingsMetadata\022\025google.protobuf.Empty\202\323\344\223\002:\"5/eventrouter/v1/buses/{resource_id}:setAccessBindings:\001*'
|
|
85
|
+
_BUSSERVICE.methods_by_name['UpdateAccessBindings']._options = None
|
|
86
|
+
_BUSSERVICE.methods_by_name['UpdateAccessBindings']._serialized_options = b'\262\322*<\n#access.UpdateAccessBindingsMetadata\022\025google.protobuf.Empty\202\323\344\223\002=28/eventrouter/v1/buses/{resource_id}:updateAccessBindings:\001*'
|
|
87
|
+
_globals['_GETBUSREQUEST']._serialized_start=353
|
|
88
|
+
_globals['_GETBUSREQUEST']._serialized_end=390
|
|
89
|
+
_globals['_LISTBUSESREQUEST']._serialized_start=392
|
|
90
|
+
_globals['_LISTBUSESREQUEST']._serialized_end=490
|
|
91
|
+
_globals['_LISTBUSESRESPONSE']._serialized_start=492
|
|
92
|
+
_globals['_LISTBUSESRESPONSE']._serialized_end=596
|
|
93
|
+
_globals['_CREATEBUSREQUEST']._serialized_start=599
|
|
94
|
+
_globals['_CREATEBUSREQUEST']._serialized_end=947
|
|
95
|
+
_globals['_CREATEBUSREQUEST_LABELSENTRY']._serialized_start=902
|
|
96
|
+
_globals['_CREATEBUSREQUEST_LABELSENTRY']._serialized_end=947
|
|
97
|
+
_globals['_CREATEBUSMETADATA']._serialized_start=949
|
|
98
|
+
_globals['_CREATEBUSMETADATA']._serialized_end=1003
|
|
99
|
+
_globals['_UPDATEBUSREQUEST']._serialized_start=1006
|
|
100
|
+
_globals['_UPDATEBUSREQUEST']._serialized_end=1400
|
|
101
|
+
_globals['_UPDATEBUSREQUEST_LABELSENTRY']._serialized_start=902
|
|
102
|
+
_globals['_UPDATEBUSREQUEST_LABELSENTRY']._serialized_end=947
|
|
103
|
+
_globals['_UPDATEBUSMETADATA']._serialized_start=1402
|
|
104
|
+
_globals['_UPDATEBUSMETADATA']._serialized_end=1443
|
|
105
|
+
_globals['_DELETEBUSREQUEST']._serialized_start=1445
|
|
106
|
+
_globals['_DELETEBUSREQUEST']._serialized_end=1485
|
|
107
|
+
_globals['_DELETEBUSMETADATA']._serialized_start=1487
|
|
108
|
+
_globals['_DELETEBUSMETADATA']._serialized_end=1528
|
|
109
|
+
_globals['_LISTBUSOPERATIONSREQUEST']._serialized_start=1531
|
|
110
|
+
_globals['_LISTBUSOPERATIONSREQUEST']._serialized_end=1669
|
|
111
|
+
_globals['_LISTBUSOPERATIONSRESPONSE']._serialized_start=1671
|
|
112
|
+
_globals['_LISTBUSOPERATIONSRESPONSE']._serialized_end=1778
|
|
113
|
+
_globals['_BUSSERVICE']._serialized_start=1781
|
|
114
|
+
_globals['_BUSSERVICE']._serialized_end=3491
|
|
115
|
+
# @@protoc_insertion_point(module_scope)
|
|
@@ -0,0 +1,320 @@
|
|
|
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.field_mask_pb2
|
|
10
|
+
import google.protobuf.internal.containers
|
|
11
|
+
import google.protobuf.message
|
|
12
|
+
import typing
|
|
13
|
+
import yandex.cloud.operation.operation_pb2
|
|
14
|
+
import yandex.cloud.serverless.eventrouter.v1.bus_pb2
|
|
15
|
+
|
|
16
|
+
DESCRIPTOR: google.protobuf.descriptor.FileDescriptor
|
|
17
|
+
|
|
18
|
+
@typing.final
|
|
19
|
+
class GetBusRequest(google.protobuf.message.Message):
|
|
20
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
21
|
+
|
|
22
|
+
BUS_ID_FIELD_NUMBER: builtins.int
|
|
23
|
+
bus_id: builtins.str
|
|
24
|
+
"""ID of the bus to get."""
|
|
25
|
+
def __init__(
|
|
26
|
+
self,
|
|
27
|
+
*,
|
|
28
|
+
bus_id: builtins.str = ...,
|
|
29
|
+
) -> None: ...
|
|
30
|
+
def ClearField(self, field_name: typing.Literal["bus_id", b"bus_id"]) -> None: ...
|
|
31
|
+
|
|
32
|
+
global___GetBusRequest = GetBusRequest
|
|
33
|
+
|
|
34
|
+
@typing.final
|
|
35
|
+
class ListBusesRequest(google.protobuf.message.Message):
|
|
36
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
37
|
+
|
|
38
|
+
FOLDER_ID_FIELD_NUMBER: builtins.int
|
|
39
|
+
PAGE_SIZE_FIELD_NUMBER: builtins.int
|
|
40
|
+
PAGE_TOKEN_FIELD_NUMBER: builtins.int
|
|
41
|
+
FILTER_FIELD_NUMBER: builtins.int
|
|
42
|
+
folder_id: builtins.str
|
|
43
|
+
"""ID of the folder to list buses in."""
|
|
44
|
+
page_size: builtins.int
|
|
45
|
+
"""Maximum number of buses to return."""
|
|
46
|
+
page_token: builtins.str
|
|
47
|
+
"""Page token. To get the next page of results, set `page_token` to the
|
|
48
|
+
[ListBusesResponse.next_page_token] returned by a previous list request.
|
|
49
|
+
"""
|
|
50
|
+
filter: builtins.str
|
|
51
|
+
"""Supported fields for filter:
|
|
52
|
+
name
|
|
53
|
+
created_at
|
|
54
|
+
"""
|
|
55
|
+
def __init__(
|
|
56
|
+
self,
|
|
57
|
+
*,
|
|
58
|
+
folder_id: builtins.str = ...,
|
|
59
|
+
page_size: builtins.int = ...,
|
|
60
|
+
page_token: builtins.str = ...,
|
|
61
|
+
filter: builtins.str = ...,
|
|
62
|
+
) -> None: ...
|
|
63
|
+
def ClearField(self, field_name: typing.Literal["filter", b"filter", "folder_id", b"folder_id", "page_size", b"page_size", "page_token", b"page_token"]) -> None: ...
|
|
64
|
+
|
|
65
|
+
global___ListBusesRequest = ListBusesRequest
|
|
66
|
+
|
|
67
|
+
@typing.final
|
|
68
|
+
class ListBusesResponse(google.protobuf.message.Message):
|
|
69
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
70
|
+
|
|
71
|
+
BUSES_FIELD_NUMBER: builtins.int
|
|
72
|
+
NEXT_PAGE_TOKEN_FIELD_NUMBER: builtins.int
|
|
73
|
+
next_page_token: builtins.str
|
|
74
|
+
"""Token for getting the next page of the list of buses."""
|
|
75
|
+
@property
|
|
76
|
+
def buses(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[yandex.cloud.serverless.eventrouter.v1.bus_pb2.Bus]:
|
|
77
|
+
"""List of buses."""
|
|
78
|
+
|
|
79
|
+
def __init__(
|
|
80
|
+
self,
|
|
81
|
+
*,
|
|
82
|
+
buses: collections.abc.Iterable[yandex.cloud.serverless.eventrouter.v1.bus_pb2.Bus] | None = ...,
|
|
83
|
+
next_page_token: builtins.str = ...,
|
|
84
|
+
) -> None: ...
|
|
85
|
+
def ClearField(self, field_name: typing.Literal["buses", b"buses", "next_page_token", b"next_page_token"]) -> None: ...
|
|
86
|
+
|
|
87
|
+
global___ListBusesResponse = ListBusesResponse
|
|
88
|
+
|
|
89
|
+
@typing.final
|
|
90
|
+
class CreateBusRequest(google.protobuf.message.Message):
|
|
91
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
92
|
+
|
|
93
|
+
@typing.final
|
|
94
|
+
class LabelsEntry(google.protobuf.message.Message):
|
|
95
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
96
|
+
|
|
97
|
+
KEY_FIELD_NUMBER: builtins.int
|
|
98
|
+
VALUE_FIELD_NUMBER: builtins.int
|
|
99
|
+
key: builtins.str
|
|
100
|
+
value: builtins.str
|
|
101
|
+
def __init__(
|
|
102
|
+
self,
|
|
103
|
+
*,
|
|
104
|
+
key: builtins.str = ...,
|
|
105
|
+
value: builtins.str = ...,
|
|
106
|
+
) -> None: ...
|
|
107
|
+
def ClearField(self, field_name: typing.Literal["key", b"key", "value", b"value"]) -> None: ...
|
|
108
|
+
|
|
109
|
+
FOLDER_ID_FIELD_NUMBER: builtins.int
|
|
110
|
+
NAME_FIELD_NUMBER: builtins.int
|
|
111
|
+
DESCRIPTION_FIELD_NUMBER: builtins.int
|
|
112
|
+
LABELS_FIELD_NUMBER: builtins.int
|
|
113
|
+
DELETION_PROTECTION_FIELD_NUMBER: builtins.int
|
|
114
|
+
folder_id: builtins.str
|
|
115
|
+
"""ID of the folder to create a bus in."""
|
|
116
|
+
name: builtins.str
|
|
117
|
+
"""Name of the bus."""
|
|
118
|
+
description: builtins.str
|
|
119
|
+
"""Description of the bus."""
|
|
120
|
+
deletion_protection: builtins.bool
|
|
121
|
+
"""Flag that disallow deletion of the bus."""
|
|
122
|
+
@property
|
|
123
|
+
def labels(self) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]:
|
|
124
|
+
"""Labels for the bus."""
|
|
125
|
+
|
|
126
|
+
def __init__(
|
|
127
|
+
self,
|
|
128
|
+
*,
|
|
129
|
+
folder_id: builtins.str = ...,
|
|
130
|
+
name: builtins.str = ...,
|
|
131
|
+
description: builtins.str = ...,
|
|
132
|
+
labels: collections.abc.Mapping[builtins.str, builtins.str] | None = ...,
|
|
133
|
+
deletion_protection: builtins.bool = ...,
|
|
134
|
+
) -> None: ...
|
|
135
|
+
def ClearField(self, field_name: typing.Literal["deletion_protection", b"deletion_protection", "description", b"description", "folder_id", b"folder_id", "labels", b"labels", "name", b"name"]) -> None: ...
|
|
136
|
+
|
|
137
|
+
global___CreateBusRequest = CreateBusRequest
|
|
138
|
+
|
|
139
|
+
@typing.final
|
|
140
|
+
class CreateBusMetadata(google.protobuf.message.Message):
|
|
141
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
142
|
+
|
|
143
|
+
BUS_ID_FIELD_NUMBER: builtins.int
|
|
144
|
+
FOLDER_ID_FIELD_NUMBER: builtins.int
|
|
145
|
+
bus_id: builtins.str
|
|
146
|
+
"""ID of the bus that is being created."""
|
|
147
|
+
folder_id: builtins.str
|
|
148
|
+
"""ID of the folder that the bus is being created in."""
|
|
149
|
+
def __init__(
|
|
150
|
+
self,
|
|
151
|
+
*,
|
|
152
|
+
bus_id: builtins.str = ...,
|
|
153
|
+
folder_id: builtins.str = ...,
|
|
154
|
+
) -> None: ...
|
|
155
|
+
def ClearField(self, field_name: typing.Literal["bus_id", b"bus_id", "folder_id", b"folder_id"]) -> None: ...
|
|
156
|
+
|
|
157
|
+
global___CreateBusMetadata = CreateBusMetadata
|
|
158
|
+
|
|
159
|
+
@typing.final
|
|
160
|
+
class UpdateBusRequest(google.protobuf.message.Message):
|
|
161
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
162
|
+
|
|
163
|
+
@typing.final
|
|
164
|
+
class LabelsEntry(google.protobuf.message.Message):
|
|
165
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
166
|
+
|
|
167
|
+
KEY_FIELD_NUMBER: builtins.int
|
|
168
|
+
VALUE_FIELD_NUMBER: builtins.int
|
|
169
|
+
key: builtins.str
|
|
170
|
+
value: builtins.str
|
|
171
|
+
def __init__(
|
|
172
|
+
self,
|
|
173
|
+
*,
|
|
174
|
+
key: builtins.str = ...,
|
|
175
|
+
value: builtins.str = ...,
|
|
176
|
+
) -> None: ...
|
|
177
|
+
def ClearField(self, field_name: typing.Literal["key", b"key", "value", b"value"]) -> None: ...
|
|
178
|
+
|
|
179
|
+
BUS_ID_FIELD_NUMBER: builtins.int
|
|
180
|
+
UPDATE_MASK_FIELD_NUMBER: builtins.int
|
|
181
|
+
NAME_FIELD_NUMBER: builtins.int
|
|
182
|
+
DESCRIPTION_FIELD_NUMBER: builtins.int
|
|
183
|
+
LABELS_FIELD_NUMBER: builtins.int
|
|
184
|
+
DELETION_PROTECTION_FIELD_NUMBER: builtins.int
|
|
185
|
+
bus_id: builtins.str
|
|
186
|
+
"""ID of the bus to update."""
|
|
187
|
+
name: builtins.str
|
|
188
|
+
"""New name of the bus."""
|
|
189
|
+
description: builtins.str
|
|
190
|
+
""" New description of the bus."""
|
|
191
|
+
deletion_protection: builtins.bool
|
|
192
|
+
"""New flag that disallow deletion of the bus."""
|
|
193
|
+
@property
|
|
194
|
+
def update_mask(self) -> google.protobuf.field_mask_pb2.FieldMask:
|
|
195
|
+
"""Field mask that specifies which fields of the bus are going to be updated."""
|
|
196
|
+
|
|
197
|
+
@property
|
|
198
|
+
def labels(self) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]:
|
|
199
|
+
"""New labels of the bus."""
|
|
200
|
+
|
|
201
|
+
def __init__(
|
|
202
|
+
self,
|
|
203
|
+
*,
|
|
204
|
+
bus_id: builtins.str = ...,
|
|
205
|
+
update_mask: google.protobuf.field_mask_pb2.FieldMask | None = ...,
|
|
206
|
+
name: builtins.str = ...,
|
|
207
|
+
description: builtins.str = ...,
|
|
208
|
+
labels: collections.abc.Mapping[builtins.str, builtins.str] | None = ...,
|
|
209
|
+
deletion_protection: builtins.bool = ...,
|
|
210
|
+
) -> None: ...
|
|
211
|
+
def HasField(self, field_name: typing.Literal["update_mask", b"update_mask"]) -> builtins.bool: ...
|
|
212
|
+
def ClearField(self, field_name: typing.Literal["bus_id", b"bus_id", "deletion_protection", b"deletion_protection", "description", b"description", "labels", b"labels", "name", b"name", "update_mask", b"update_mask"]) -> None: ...
|
|
213
|
+
|
|
214
|
+
global___UpdateBusRequest = UpdateBusRequest
|
|
215
|
+
|
|
216
|
+
@typing.final
|
|
217
|
+
class UpdateBusMetadata(google.protobuf.message.Message):
|
|
218
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
219
|
+
|
|
220
|
+
BUS_ID_FIELD_NUMBER: builtins.int
|
|
221
|
+
bus_id: builtins.str
|
|
222
|
+
"""ID of the bus that is being updated."""
|
|
223
|
+
def __init__(
|
|
224
|
+
self,
|
|
225
|
+
*,
|
|
226
|
+
bus_id: builtins.str = ...,
|
|
227
|
+
) -> None: ...
|
|
228
|
+
def ClearField(self, field_name: typing.Literal["bus_id", b"bus_id"]) -> None: ...
|
|
229
|
+
|
|
230
|
+
global___UpdateBusMetadata = UpdateBusMetadata
|
|
231
|
+
|
|
232
|
+
@typing.final
|
|
233
|
+
class DeleteBusRequest(google.protobuf.message.Message):
|
|
234
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
235
|
+
|
|
236
|
+
BUS_ID_FIELD_NUMBER: builtins.int
|
|
237
|
+
bus_id: builtins.str
|
|
238
|
+
"""ID of the bus to delete."""
|
|
239
|
+
def __init__(
|
|
240
|
+
self,
|
|
241
|
+
*,
|
|
242
|
+
bus_id: builtins.str = ...,
|
|
243
|
+
) -> None: ...
|
|
244
|
+
def ClearField(self, field_name: typing.Literal["bus_id", b"bus_id"]) -> None: ...
|
|
245
|
+
|
|
246
|
+
global___DeleteBusRequest = DeleteBusRequest
|
|
247
|
+
|
|
248
|
+
@typing.final
|
|
249
|
+
class DeleteBusMetadata(google.protobuf.message.Message):
|
|
250
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
251
|
+
|
|
252
|
+
BUS_ID_FIELD_NUMBER: builtins.int
|
|
253
|
+
bus_id: builtins.str
|
|
254
|
+
"""ID of the bus that is being deleted."""
|
|
255
|
+
def __init__(
|
|
256
|
+
self,
|
|
257
|
+
*,
|
|
258
|
+
bus_id: builtins.str = ...,
|
|
259
|
+
) -> None: ...
|
|
260
|
+
def ClearField(self, field_name: typing.Literal["bus_id", b"bus_id"]) -> None: ...
|
|
261
|
+
|
|
262
|
+
global___DeleteBusMetadata = DeleteBusMetadata
|
|
263
|
+
|
|
264
|
+
@typing.final
|
|
265
|
+
class ListBusOperationsRequest(google.protobuf.message.Message):
|
|
266
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
267
|
+
|
|
268
|
+
BUS_ID_FIELD_NUMBER: builtins.int
|
|
269
|
+
PAGE_SIZE_FIELD_NUMBER: builtins.int
|
|
270
|
+
PAGE_TOKEN_FIELD_NUMBER: builtins.int
|
|
271
|
+
FILTER_FIELD_NUMBER: builtins.int
|
|
272
|
+
bus_id: builtins.str
|
|
273
|
+
"""ID of the bus to list operations for."""
|
|
274
|
+
page_size: builtins.int
|
|
275
|
+
"""Maximum number of operations to return."""
|
|
276
|
+
page_token: builtins.str
|
|
277
|
+
"""Page token. To get the next page of results, set `page_token` to the
|
|
278
|
+
[ListBusesResponse.next_page_token] returned by a previous list request.
|
|
279
|
+
"""
|
|
280
|
+
filter: builtins.str
|
|
281
|
+
"""Supported attributes for filter:
|
|
282
|
+
description
|
|
283
|
+
created_at
|
|
284
|
+
modified_at
|
|
285
|
+
created_by
|
|
286
|
+
done
|
|
287
|
+
"""
|
|
288
|
+
def __init__(
|
|
289
|
+
self,
|
|
290
|
+
*,
|
|
291
|
+
bus_id: builtins.str = ...,
|
|
292
|
+
page_size: builtins.int = ...,
|
|
293
|
+
page_token: builtins.str = ...,
|
|
294
|
+
filter: builtins.str = ...,
|
|
295
|
+
) -> None: ...
|
|
296
|
+
def ClearField(self, field_name: typing.Literal["bus_id", b"bus_id", "filter", b"filter", "page_size", b"page_size", "page_token", b"page_token"]) -> None: ...
|
|
297
|
+
|
|
298
|
+
global___ListBusOperationsRequest = ListBusOperationsRequest
|
|
299
|
+
|
|
300
|
+
@typing.final
|
|
301
|
+
class ListBusOperationsResponse(google.protobuf.message.Message):
|
|
302
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
303
|
+
|
|
304
|
+
OPERATIONS_FIELD_NUMBER: builtins.int
|
|
305
|
+
NEXT_PAGE_TOKEN_FIELD_NUMBER: builtins.int
|
|
306
|
+
next_page_token: builtins.str
|
|
307
|
+
"""Token for getting the next page of the list of operations."""
|
|
308
|
+
@property
|
|
309
|
+
def operations(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[yandex.cloud.operation.operation_pb2.Operation]:
|
|
310
|
+
"""List of operations for the specified bus."""
|
|
311
|
+
|
|
312
|
+
def __init__(
|
|
313
|
+
self,
|
|
314
|
+
*,
|
|
315
|
+
operations: collections.abc.Iterable[yandex.cloud.operation.operation_pb2.Operation] | None = ...,
|
|
316
|
+
next_page_token: builtins.str = ...,
|
|
317
|
+
) -> None: ...
|
|
318
|
+
def ClearField(self, field_name: typing.Literal["next_page_token", b"next_page_token", "operations", b"operations"]) -> None: ...
|
|
319
|
+
|
|
320
|
+
global___ListBusOperationsResponse = ListBusOperationsResponse
|