yandexcloud 0.331.0__py3-none-any.whl → 0.332.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- yandex/cloud/datatransfer/v1/endpoint/common_pb2.py +9 -7
- yandex/cloud/datatransfer/v1/endpoint/common_pb2.pyi +19 -0
- yandex/cloud/datatransfer/v1/endpoint/mysql_pb2.py +8 -8
- yandex/cloud/datatransfer/v1/endpoint/mysql_pb2.pyi +7 -3
- yandex/cloud/datatransfer/v1/endpoint/postgres_pb2.py +6 -6
- yandex/cloud/datatransfer/v1/endpoint/postgres_pb2.pyi +11 -4
- yandex/cloud/datatransfer/v1/endpoint_service_pb2.pyi +33 -3
- yandex/cloud/datatransfer/v1/endpoint_service_pb2_grpc.py +21 -8
- yandex/cloud/datatransfer/v1/endpoint_service_pb2_grpc.pyi +41 -5
- yandex/cloud/datatransfer/v1/transfer_pb2.py +48 -46
- yandex/cloud/datatransfer/v1/transfer_pb2.pyi +22 -2
- yandex/cloud/datatransfer/v1/transfer_service_pb2.py +32 -32
- yandex/cloud/datatransfer/v1/transfer_service_pb2.pyi +53 -7
- yandex/cloud/datatransfer/v1/transfer_service_pb2_grpc.py +20 -7
- yandex/cloud/datatransfer/v1/transfer_service_pb2_grpc.pyi +55 -7
- yandex/cloud/mdb/clickhouse/v1/config/clickhouse_pb2.py +72 -68
- yandex/cloud/mdb/clickhouse/v1/config/clickhouse_pb2.pyi +33 -2
- yandex/cloud/mdb/clickhouse/v1/user_pb2.py +36 -34
- yandex/cloud/mdb/clickhouse/v1/user_pb2.pyi +34 -4
- yandex/cloud/mdb/clickhouse/v1/user_service_pb2.py +30 -29
- yandex/cloud/mdb/clickhouse/v1/user_service_pb2.pyi +9 -2
- yandex/cloud/mdb/mysql/v1/user_pb2.py +16 -14
- yandex/cloud/mdb/mysql/v1/user_pb2.pyi +32 -4
- yandex/cloud/mdb/mysql/v1/user_service_pb2.py +30 -29
- yandex/cloud/mdb/mysql/v1/user_service_pb2.pyi +9 -2
- yandex/cloud/mdb/postgresql/v1/user_pb2.py +24 -22
- yandex/cloud/mdb/postgresql/v1/user_pb2.pyi +32 -4
- yandex/cloud/mdb/postgresql/v1/user_service_pb2.py +18 -18
- yandex/cloud/mdb/postgresql/v1/user_service_pb2.pyi +8 -2
- yandex/cloud/smartwebsecurity/v1/waf/waf_profile_pb2.py +20 -18
- yandex/cloud/smartwebsecurity/v1/waf/waf_profile_pb2.pyi +1 -1
- yandex/cloud/video/v1/episode_service_pb2.py +35 -21
- yandex/cloud/video/v1/episode_service_pb2.pyi +42 -0
- yandex/cloud/video/v1/episode_service_pb2_grpc.py +44 -0
- yandex/cloud/video/v1/episode_service_pb2_grpc.pyi +20 -0
- yandexcloud/__init__.py +1 -1
- {yandexcloud-0.331.0.dist-info → yandexcloud-0.332.0.dist-info}/METADATA +1 -1
- {yandexcloud-0.331.0.dist-info → yandexcloud-0.332.0.dist-info}/RECORD +42 -42
- {yandexcloud-0.331.0.dist-info → yandexcloud-0.332.0.dist-info}/AUTHORS +0 -0
- {yandexcloud-0.331.0.dist-info → yandexcloud-0.332.0.dist-info}/LICENSE +0 -0
- {yandexcloud-0.331.0.dist-info → yandexcloud-0.332.0.dist-info}/WHEEL +0 -0
- {yandexcloud-0.331.0.dist-info → yandexcloud-0.332.0.dist-info}/top_level.txt +0 -0
|
@@ -54,6 +54,7 @@ class User(google.protobuf.message.Message):
|
|
|
54
54
|
GRANTS_FIELD_NUMBER: builtins.int
|
|
55
55
|
DELETION_PROTECTION_FIELD_NUMBER: builtins.int
|
|
56
56
|
USER_PASSWORD_ENCRYPTION_FIELD_NUMBER: builtins.int
|
|
57
|
+
CONNECTION_MANAGER_FIELD_NUMBER: builtins.int
|
|
57
58
|
name: builtins.str
|
|
58
59
|
"""Name of the PostgreSQL user."""
|
|
59
60
|
cluster_id: builtins.str
|
|
@@ -99,6 +100,10 @@ class User(google.protobuf.message.Message):
|
|
|
99
100
|
The default value is `unspecified`. In this case, the user configuration inherits the cluster's deletion protection settings.
|
|
100
101
|
"""
|
|
101
102
|
|
|
103
|
+
@property
|
|
104
|
+
def connection_manager(self) -> global___ConnectionManager:
|
|
105
|
+
"""Connection Manager Connection and settings associated with user. Read only field."""
|
|
106
|
+
|
|
102
107
|
def __init__(
|
|
103
108
|
self,
|
|
104
109
|
*,
|
|
@@ -111,9 +116,10 @@ class User(google.protobuf.message.Message):
|
|
|
111
116
|
grants: collections.abc.Iterable[builtins.str] | None = ...,
|
|
112
117
|
deletion_protection: google.protobuf.wrappers_pb2.BoolValue | None = ...,
|
|
113
118
|
user_password_encryption: global___UserPasswordEncryption.ValueType = ...,
|
|
119
|
+
connection_manager: global___ConnectionManager | None = ...,
|
|
114
120
|
) -> None: ...
|
|
115
|
-
def HasField(self, field_name: typing.Literal["deletion_protection", b"deletion_protection", "login", b"login", "settings", b"settings"]) -> builtins.bool: ...
|
|
116
|
-
def ClearField(self, field_name: typing.Literal["cluster_id", b"cluster_id", "conn_limit", b"conn_limit", "deletion_protection", b"deletion_protection", "grants", b"grants", "login", b"login", "name", b"name", "permissions", b"permissions", "settings", b"settings", "user_password_encryption", b"user_password_encryption"]) -> None: ...
|
|
121
|
+
def HasField(self, field_name: typing.Literal["connection_manager", b"connection_manager", "deletion_protection", b"deletion_protection", "login", b"login", "settings", b"settings"]) -> builtins.bool: ...
|
|
122
|
+
def ClearField(self, field_name: typing.Literal["cluster_id", b"cluster_id", "conn_limit", b"conn_limit", "connection_manager", b"connection_manager", "deletion_protection", b"deletion_protection", "grants", b"grants", "login", b"login", "name", b"name", "permissions", b"permissions", "settings", b"settings", "user_password_encryption", b"user_password_encryption"]) -> None: ...
|
|
117
123
|
|
|
118
124
|
global___User = User
|
|
119
125
|
|
|
@@ -133,6 +139,22 @@ class Permission(google.protobuf.message.Message):
|
|
|
133
139
|
|
|
134
140
|
global___Permission = Permission
|
|
135
141
|
|
|
142
|
+
@typing.final
|
|
143
|
+
class ConnectionManager(google.protobuf.message.Message):
|
|
144
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
145
|
+
|
|
146
|
+
CONNECTION_ID_FIELD_NUMBER: builtins.int
|
|
147
|
+
connection_id: builtins.str
|
|
148
|
+
"""ID of Connection Manager Connection"""
|
|
149
|
+
def __init__(
|
|
150
|
+
self,
|
|
151
|
+
*,
|
|
152
|
+
connection_id: builtins.str = ...,
|
|
153
|
+
) -> None: ...
|
|
154
|
+
def ClearField(self, field_name: typing.Literal["connection_id", b"connection_id"]) -> None: ...
|
|
155
|
+
|
|
156
|
+
global___ConnectionManager = ConnectionManager
|
|
157
|
+
|
|
136
158
|
@typing.final
|
|
137
159
|
class UserSpec(google.protobuf.message.Message):
|
|
138
160
|
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
@@ -146,6 +168,7 @@ class UserSpec(google.protobuf.message.Message):
|
|
|
146
168
|
GRANTS_FIELD_NUMBER: builtins.int
|
|
147
169
|
DELETION_PROTECTION_FIELD_NUMBER: builtins.int
|
|
148
170
|
USER_PASSWORD_ENCRYPTION_FIELD_NUMBER: builtins.int
|
|
171
|
+
GENERATE_PASSWORD_FIELD_NUMBER: builtins.int
|
|
149
172
|
name: builtins.str
|
|
150
173
|
"""Name of the PostgreSQL user."""
|
|
151
174
|
password: builtins.str
|
|
@@ -195,6 +218,10 @@ class UserSpec(google.protobuf.message.Message):
|
|
|
195
218
|
Default value: `unspecified` (inherits cluster's deletion_protection)
|
|
196
219
|
"""
|
|
197
220
|
|
|
221
|
+
@property
|
|
222
|
+
def generate_password(self) -> google.protobuf.wrappers_pb2.BoolValue:
|
|
223
|
+
"""Generate password using Connection Manager."""
|
|
224
|
+
|
|
198
225
|
def __init__(
|
|
199
226
|
self,
|
|
200
227
|
*,
|
|
@@ -207,9 +234,10 @@ class UserSpec(google.protobuf.message.Message):
|
|
|
207
234
|
grants: collections.abc.Iterable[builtins.str] | None = ...,
|
|
208
235
|
deletion_protection: google.protobuf.wrappers_pb2.BoolValue | None = ...,
|
|
209
236
|
user_password_encryption: global___UserPasswordEncryption.ValueType = ...,
|
|
237
|
+
generate_password: google.protobuf.wrappers_pb2.BoolValue | None = ...,
|
|
210
238
|
) -> None: ...
|
|
211
|
-
def HasField(self, field_name: typing.Literal["conn_limit", b"conn_limit", "deletion_protection", b"deletion_protection", "login", b"login", "settings", b"settings"]) -> builtins.bool: ...
|
|
212
|
-
def ClearField(self, field_name: typing.Literal["conn_limit", b"conn_limit", "deletion_protection", b"deletion_protection", "grants", b"grants", "login", b"login", "name", b"name", "password", b"password", "permissions", b"permissions", "settings", b"settings", "user_password_encryption", b"user_password_encryption"]) -> None: ...
|
|
239
|
+
def HasField(self, field_name: typing.Literal["conn_limit", b"conn_limit", "deletion_protection", b"deletion_protection", "generate_password", b"generate_password", "login", b"login", "settings", b"settings"]) -> builtins.bool: ...
|
|
240
|
+
def ClearField(self, field_name: typing.Literal["conn_limit", b"conn_limit", "deletion_protection", b"deletion_protection", "generate_password", b"generate_password", "grants", b"grants", "login", b"login", "name", b"name", "password", b"password", "permissions", b"permissions", "settings", b"settings", "user_password_encryption", b"user_password_encryption"]) -> None: ...
|
|
213
241
|
|
|
214
242
|
global___UserSpec = UserSpec
|
|
215
243
|
|
|
@@ -31,7 +31,7 @@ from yandex.cloud.mdb.postgresql.v1 import user_pb2 as yandex_dot_cloud_dot_mdb_
|
|
|
31
31
|
from yandex.cloud.api import operation_pb2 as yandex_dot_cloud_dot_api_dot_operation__pb2
|
|
32
32
|
|
|
33
33
|
|
|
34
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n1yandex/cloud/mdb/postgresql/v1/user_service.proto\x12\x1eyandex.cloud.mdb.postgresql.v1\x1a\x1cgoogle/api/annotations.proto\x1a google/protobuf/field_mask.proto\x1a\x1egoogle/protobuf/wrappers.proto\x1a&yandex/cloud/operation/operation.proto\x1a\x1dyandex/cloud/validation.proto\x1a)yandex/cloud/mdb/postgresql/v1/user.proto\x1a yandex/cloud/api/operation.proto\"e\n\x0eGetUserRequest\x12 \n\ncluster_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12\x31\n\tuser_name\x18\x02 \x01(\tB\x1e\xe8\xc7\x31\x01\xf2\xc7\x31\x0e[a-zA-Z0-9_-]*\x8a\xc8\x31\x04<=63\"r\n\x10ListUsersRequest\x12 \n\ncluster_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12\x1d\n\tpage_size\x18\x02 \x01(\x03\x42\n\xfa\xc7\x31\x06<=1000\x12\x1d\n\npage_token\x18\x03 \x01(\tB\t\x8a\xc8\x31\x05<=100\"a\n\x11ListUsersResponse\x12\x33\n\x05users\x18\x01 \x03(\x0b\x32$.yandex.cloud.mdb.postgresql.v1.User\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"x\n\x11\x43reateUserRequest\x12 \n\ncluster_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12\x41\n\tuser_spec\x18\x02 \x01(\x0b\x32(.yandex.cloud.mdb.postgresql.v1.UserSpecB\x04\xe8\xc7\x31\x01\";\n\x12\x43reateUserMetadata\x12\x12\n\ncluster_id\x18\x01 \x01(\t\x12\x11\n\tuser_name\x18\x02 \x01(\t\"\
|
|
34
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n1yandex/cloud/mdb/postgresql/v1/user_service.proto\x12\x1eyandex.cloud.mdb.postgresql.v1\x1a\x1cgoogle/api/annotations.proto\x1a google/protobuf/field_mask.proto\x1a\x1egoogle/protobuf/wrappers.proto\x1a&yandex/cloud/operation/operation.proto\x1a\x1dyandex/cloud/validation.proto\x1a)yandex/cloud/mdb/postgresql/v1/user.proto\x1a yandex/cloud/api/operation.proto\"e\n\x0eGetUserRequest\x12 \n\ncluster_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12\x31\n\tuser_name\x18\x02 \x01(\tB\x1e\xe8\xc7\x31\x01\xf2\xc7\x31\x0e[a-zA-Z0-9_-]*\x8a\xc8\x31\x04<=63\"r\n\x10ListUsersRequest\x12 \n\ncluster_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12\x1d\n\tpage_size\x18\x02 \x01(\x03\x42\n\xfa\xc7\x31\x06<=1000\x12\x1d\n\npage_token\x18\x03 \x01(\tB\t\x8a\xc8\x31\x05<=100\"a\n\x11ListUsersResponse\x12\x33\n\x05users\x18\x01 \x03(\x0b\x32$.yandex.cloud.mdb.postgresql.v1.User\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t\"x\n\x11\x43reateUserRequest\x12 \n\ncluster_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12\x41\n\tuser_spec\x18\x02 \x01(\x0b\x32(.yandex.cloud.mdb.postgresql.v1.UserSpecB\x04\xe8\xc7\x31\x01\";\n\x12\x43reateUserMetadata\x12\x12\n\ncluster_id\x18\x01 \x01(\t\x12\x11\n\tuser_name\x18\x02 \x01(\t\"\xf5\x04\n\x11UpdateUserRequest\x12 \n\ncluster_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12\x31\n\tuser_name\x18\x02 \x01(\tB\x1e\xe8\xc7\x31\x01\xf2\xc7\x31\x0e[a-zA-Z0-9_-]*\x8a\xc8\x31\x04<=63\x12/\n\x0bupdate_mask\x18\x03 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\x12\x1b\n\x08password\x18\x04 \x01(\tB\t\x8a\xc8\x31\x05\x38-128\x12?\n\x0bpermissions\x18\x05 \x03(\x0b\x32*.yandex.cloud.mdb.postgresql.v1.Permission\x12\x1c\n\nconn_limit\x18\x06 \x01(\x03\x42\x08\xfa\xc7\x31\x04>=10\x12>\n\x08settings\x18\x07 \x01(\x0b\x32,.yandex.cloud.mdb.postgresql.v1.UserSettings\x12)\n\x05login\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.BoolValue\x12)\n\x06grants\x18\t \x03(\tB\x19\xf2\xc7\x31\r[a-zA-Z0-9_]*\x8a\xc8\x31\x04<=63\x12\x37\n\x13\x64\x65letion_protection\x18\n \x01(\x0b\x32\x1a.google.protobuf.BoolValue\x12X\n\x18user_password_encryption\x18\x0b \x01(\x0e\x32\x36.yandex.cloud.mdb.postgresql.v1.UserPasswordEncryption\x12\x35\n\x11generate_password\x18\x0c \x01(\x0b\x32\x1a.google.protobuf.BoolValue\";\n\x12UpdateUserMetadata\x12\x12\n\ncluster_id\x18\x01 \x01(\t\x12\x11\n\tuser_name\x18\x02 \x01(\t\"h\n\x11\x44\x65leteUserRequest\x12 \n\ncluster_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12\x31\n\tuser_name\x18\x02 \x01(\tB\x1e\xe8\xc7\x31\x01\xf2\xc7\x31\x0e[a-zA-Z0-9_-]*\x8a\xc8\x31\x04<=63\";\n\x12\x44\x65leteUserMetadata\x12\x12\n\ncluster_id\x18\x01 \x01(\t\x12\x11\n\tuser_name\x18\x02 \x01(\t\"\xb7\x01\n\x1aGrantUserPermissionRequest\x12 \n\ncluster_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12\x31\n\tuser_name\x18\x02 \x01(\tB\x1e\xe8\xc7\x31\x01\xf2\xc7\x31\x0e[a-zA-Z0-9_-]*\x8a\xc8\x31\x04<=63\x12\x44\n\npermission\x18\x03 \x01(\x0b\x32*.yandex.cloud.mdb.postgresql.v1.PermissionB\x04\xe8\xc7\x31\x01\"D\n\x1bGrantUserPermissionMetadata\x12\x12\n\ncluster_id\x18\x01 \x01(\t\x12\x11\n\tuser_name\x18\x02 \x01(\t\"\xa9\x01\n\x1bRevokeUserPermissionRequest\x12 \n\ncluster_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12\x31\n\tuser_name\x18\x02 \x01(\tB\x1e\xe8\xc7\x31\x01\xf2\xc7\x31\x0e[a-zA-Z0-9_-]*\x8a\xc8\x31\x04<=63\x12\x35\n\rdatabase_name\x18\x03 \x01(\tB\x1e\xe8\xc7\x31\x01\xf2\xc7\x31\x0e[a-zA-Z0-9_-]*\x8a\xc8\x31\x04<=63\"E\n\x1cRevokeUserPermissionMetadata\x12\x12\n\ncluster_id\x18\x01 \x01(\t\x12\x11\n\tuser_name\x18\x02 \x01(\t2\xad\x0b\n\x0bUserService\x12\xa3\x01\n\x03Get\x12..yandex.cloud.mdb.postgresql.v1.GetUserRequest\x1a$.yandex.cloud.mdb.postgresql.v1.User\"F\x82\xd3\xe4\x93\x02@\x12>/managed-postgresql/v1/clusters/{cluster_id}/users/{user_name}\x12\xa7\x01\n\x04List\x12\x30.yandex.cloud.mdb.postgresql.v1.ListUsersRequest\x1a\x31.yandex.cloud.mdb.postgresql.v1.ListUsersResponse\":\x82\xd3\xe4\x93\x02\x34\x12\x32/managed-postgresql/v1/clusters/{cluster_id}/users\x12\xbb\x01\n\x06\x43reate\x12\x31.yandex.cloud.mdb.postgresql.v1.CreateUserRequest\x1a!.yandex.cloud.operation.Operation\"[\xb2\xd2*\x1a\n\x12\x43reateUserMetadata\x12\x04User\x82\xd3\xe4\x93\x02\x37\"2/managed-postgresql/v1/clusters/{cluster_id}/users:\x01*\x12\xc7\x01\n\x06Update\x12\x31.yandex.cloud.mdb.postgresql.v1.UpdateUserRequest\x1a!.yandex.cloud.operation.Operation\"g\xb2\xd2*\x1a\n\x12UpdateUserMetadata\x12\x04User\x82\xd3\xe4\x93\x02\x43\x32>/managed-postgresql/v1/clusters/{cluster_id}/users/{user_name}:\x01*\x12\xd5\x01\n\x06\x44\x65lete\x12\x31.yandex.cloud.mdb.postgresql.v1.DeleteUserRequest\x1a!.yandex.cloud.operation.Operation\"u\xb2\xd2*+\n\x12\x44\x65leteUserMetadata\x12\x15google.protobuf.Empty\x82\xd3\xe4\x93\x02@*>/managed-postgresql/v1/clusters/{cluster_id}/users/{user_name}\x12\xf3\x01\n\x0fGrantPermission\x12:.yandex.cloud.mdb.postgresql.v1.GrantUserPermissionRequest\x1a!.yandex.cloud.operation.Operation\"\x80\x01\xb2\xd2*#\n\x1bGrantUserPermissionMetadata\x12\x04User\x82\xd3\xe4\x93\x02S\"N/managed-postgresql/v1/clusters/{cluster_id}/users/{user_name}:grantPermission:\x01*\x12\xf7\x01\n\x10RevokePermission\x12;.yandex.cloud.mdb.postgresql.v1.RevokeUserPermissionRequest\x1a!.yandex.cloud.operation.Operation\"\x82\x01\xb2\xd2*$\n\x1cRevokeUserPermissionMetadata\x12\x04User\x82\xd3\xe4\x93\x02T\"O/managed-postgresql/v1/clusters/{cluster_id}/users/{user_name}:revokePermission:\x01*Bs\n\"yandex.cloud.api.mdb.postgresql.v1ZMgithub.com/yandex-cloud/go-genproto/yandex/cloud/mdb/postgresql/v1;postgresqlb\x06proto3')
|
|
35
35
|
|
|
36
36
|
_globals = globals()
|
|
37
37
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
@@ -104,21 +104,21 @@ if not _descriptor._USE_C_DESCRIPTORS:
|
|
|
104
104
|
_globals['_CREATEUSERMETADATA']._serialized_start=769
|
|
105
105
|
_globals['_CREATEUSERMETADATA']._serialized_end=828
|
|
106
106
|
_globals['_UPDATEUSERREQUEST']._serialized_start=831
|
|
107
|
-
_globals['_UPDATEUSERREQUEST']._serialized_end=
|
|
108
|
-
_globals['_UPDATEUSERMETADATA']._serialized_start=
|
|
109
|
-
_globals['_UPDATEUSERMETADATA']._serialized_end=
|
|
110
|
-
_globals['_DELETEUSERREQUEST']._serialized_start=
|
|
111
|
-
_globals['_DELETEUSERREQUEST']._serialized_end=
|
|
112
|
-
_globals['_DELETEUSERMETADATA']._serialized_start=
|
|
113
|
-
_globals['_DELETEUSERMETADATA']._serialized_end=
|
|
114
|
-
_globals['_GRANTUSERPERMISSIONREQUEST']._serialized_start=
|
|
115
|
-
_globals['_GRANTUSERPERMISSIONREQUEST']._serialized_end=
|
|
116
|
-
_globals['_GRANTUSERPERMISSIONMETADATA']._serialized_start=
|
|
117
|
-
_globals['_GRANTUSERPERMISSIONMETADATA']._serialized_end=
|
|
118
|
-
_globals['_REVOKEUSERPERMISSIONREQUEST']._serialized_start=
|
|
119
|
-
_globals['_REVOKEUSERPERMISSIONREQUEST']._serialized_end=
|
|
120
|
-
_globals['_REVOKEUSERPERMISSIONMETADATA']._serialized_start=
|
|
121
|
-
_globals['_REVOKEUSERPERMISSIONMETADATA']._serialized_end=
|
|
122
|
-
_globals['_USERSERVICE']._serialized_start=
|
|
123
|
-
_globals['_USERSERVICE']._serialized_end=
|
|
107
|
+
_globals['_UPDATEUSERREQUEST']._serialized_end=1460
|
|
108
|
+
_globals['_UPDATEUSERMETADATA']._serialized_start=1462
|
|
109
|
+
_globals['_UPDATEUSERMETADATA']._serialized_end=1521
|
|
110
|
+
_globals['_DELETEUSERREQUEST']._serialized_start=1523
|
|
111
|
+
_globals['_DELETEUSERREQUEST']._serialized_end=1627
|
|
112
|
+
_globals['_DELETEUSERMETADATA']._serialized_start=1629
|
|
113
|
+
_globals['_DELETEUSERMETADATA']._serialized_end=1688
|
|
114
|
+
_globals['_GRANTUSERPERMISSIONREQUEST']._serialized_start=1691
|
|
115
|
+
_globals['_GRANTUSERPERMISSIONREQUEST']._serialized_end=1874
|
|
116
|
+
_globals['_GRANTUSERPERMISSIONMETADATA']._serialized_start=1876
|
|
117
|
+
_globals['_GRANTUSERPERMISSIONMETADATA']._serialized_end=1944
|
|
118
|
+
_globals['_REVOKEUSERPERMISSIONREQUEST']._serialized_start=1947
|
|
119
|
+
_globals['_REVOKEUSERPERMISSIONREQUEST']._serialized_end=2116
|
|
120
|
+
_globals['_REVOKEUSERPERMISSIONMETADATA']._serialized_start=2118
|
|
121
|
+
_globals['_REVOKEUSERPERMISSIONMETADATA']._serialized_end=2187
|
|
122
|
+
_globals['_USERSERVICE']._serialized_start=2190
|
|
123
|
+
_globals['_USERSERVICE']._serialized_end=3643
|
|
124
124
|
# @@protoc_insertion_point(module_scope)
|
|
@@ -156,6 +156,7 @@ class UpdateUserRequest(google.protobuf.message.Message):
|
|
|
156
156
|
GRANTS_FIELD_NUMBER: builtins.int
|
|
157
157
|
DELETION_PROTECTION_FIELD_NUMBER: builtins.int
|
|
158
158
|
USER_PASSWORD_ENCRYPTION_FIELD_NUMBER: builtins.int
|
|
159
|
+
GENERATE_PASSWORD_FIELD_NUMBER: builtins.int
|
|
159
160
|
cluster_id: builtins.str
|
|
160
161
|
"""ID of the PostgreSQL cluster the user belongs to.
|
|
161
162
|
To get the cluster ID use a [ClusterService.List] request.
|
|
@@ -210,6 +211,10 @@ class UpdateUserRequest(google.protobuf.message.Message):
|
|
|
210
211
|
Default value: `unspecified` (inherits cluster's deletion_protection)
|
|
211
212
|
"""
|
|
212
213
|
|
|
214
|
+
@property
|
|
215
|
+
def generate_password(self) -> google.protobuf.wrappers_pb2.BoolValue:
|
|
216
|
+
"""Generate password using Connection Manager."""
|
|
217
|
+
|
|
213
218
|
def __init__(
|
|
214
219
|
self,
|
|
215
220
|
*,
|
|
@@ -224,9 +229,10 @@ class UpdateUserRequest(google.protobuf.message.Message):
|
|
|
224
229
|
grants: collections.abc.Iterable[builtins.str] | None = ...,
|
|
225
230
|
deletion_protection: google.protobuf.wrappers_pb2.BoolValue | None = ...,
|
|
226
231
|
user_password_encryption: yandex.cloud.mdb.postgresql.v1.user_pb2.UserPasswordEncryption.ValueType = ...,
|
|
232
|
+
generate_password: google.protobuf.wrappers_pb2.BoolValue | None = ...,
|
|
227
233
|
) -> None: ...
|
|
228
|
-
def HasField(self, field_name: typing.Literal["deletion_protection", b"deletion_protection", "login", b"login", "settings", b"settings", "update_mask", b"update_mask"]) -> builtins.bool: ...
|
|
229
|
-
def ClearField(self, field_name: typing.Literal["cluster_id", b"cluster_id", "conn_limit", b"conn_limit", "deletion_protection", b"deletion_protection", "grants", b"grants", "login", b"login", "password", b"password", "permissions", b"permissions", "settings", b"settings", "update_mask", b"update_mask", "user_name", b"user_name", "user_password_encryption", b"user_password_encryption"]) -> None: ...
|
|
234
|
+
def HasField(self, field_name: typing.Literal["deletion_protection", b"deletion_protection", "generate_password", b"generate_password", "login", b"login", "settings", b"settings", "update_mask", b"update_mask"]) -> builtins.bool: ...
|
|
235
|
+
def ClearField(self, field_name: typing.Literal["cluster_id", b"cluster_id", "conn_limit", b"conn_limit", "deletion_protection", b"deletion_protection", "generate_password", b"generate_password", "grants", b"grants", "login", b"login", "password", b"password", "permissions", b"permissions", "settings", b"settings", "update_mask", b"update_mask", "user_name", b"user_name", "user_password_encryption", b"user_password_encryption"]) -> None: ...
|
|
230
236
|
|
|
231
237
|
global___UpdateUserRequest = UpdateUserRequest
|
|
232
238
|
|
|
@@ -27,7 +27,7 @@ from yandex.cloud import validation_pb2 as yandex_dot_cloud_dot_validation__pb2
|
|
|
27
27
|
from yandex.cloud.smartwebsecurity.v1 import security_profile_pb2 as yandex_dot_cloud_dot_smartwebsecurity_dot_v1_dot_security__profile__pb2
|
|
28
28
|
|
|
29
29
|
|
|
30
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n6yandex/cloud/smartwebsecurity/v1/waf/waf_profile.proto\x12$yandex.cloud.smartwebsecurity.v1.waf\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1dyandex/cloud/validation.proto\x1a\x37yandex/cloud/smartwebsecurity/v1/security_profile.proto\"\
|
|
30
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n6yandex/cloud/smartwebsecurity/v1/waf/waf_profile.proto\x12$yandex.cloud.smartwebsecurity.v1.waf\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1dyandex/cloud/validation.proto\x1a\x37yandex/cloud/smartwebsecurity/v1/security_profile.proto\"\xab\t\n\nWafProfile\x12\x10\n\x02id\x18\x01 \x01(\tB\x04\xe8\xc7\x31\x01\x12\x17\n\tfolder_id\x18\x02 \x01(\tB\x04\xe8\xc7\x31\x01\x12\x16\n\x08\x63loud_id\x18\x03 \x01(\tB\x04\xe8\xc7\x31\x01\x12\x38\n\x04name\x18\x04 \x01(\tB*\xe8\xc7\x31\x01\xf2\xc7\x31\x1a[a-zA-Z0-9][a-zA-Z0-9-_.]*\x8a\xc8\x31\x04\x31-50\x12\x1e\n\x0b\x64\x65scription\x18\x05 \x01(\tB\t\x8a\xc8\x31\x05<=512\x12\x89\x01\n\x06labels\x18\x06 \x03(\x0b\x32<.yandex.cloud.smartwebsecurity.v1.waf.WafProfile.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.\n\ncreated_at\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x43\n\x05rules\x18\t \x03(\x0b\x32\x34.yandex.cloud.smartwebsecurity.v1.waf.WafProfileRule\x12V\n\x0f\x65xclusion_rules\x18\n \x03(\x0b\x32=.yandex.cloud.smartwebsecurity.v1.waf.WafProfileExclusionRule\x12U\n\rcore_rule_set\x18\x0b \x01(\x0b\x32<.yandex.cloud.smartwebsecurity.v1.waf.WafProfile.CoreRuleSetH\x00\x12\x65\n\x14\x61nalyze_request_body\x18\x0c \x01(\x0b\x32\x43.yandex.cloud.smartwebsecurity.v1.waf.WafProfile.AnalyzeRequestBodyB\x02\x18\x01\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x1a\xa5\x01\n\x0b\x43oreRuleSet\x12*\n\x15inbound_anomaly_score\x18\x01 \x01(\x03\x42\x0b\xfa\xc7\x31\x07\x32-10000\x12#\n\x0eparanoia_level\x18\x02 \x01(\x03\x42\x0b\xfa\xc7\x31\x07\x31,2,3,4\x12\x45\n\x08rule_set\x18\x03 \x01(\x0b\x32-.yandex.cloud.smartwebsecurity.v1.waf.RuleSetB\x04\xe8\xc7\x31\x01\x1a\xf9\x01\n\x12\x41nalyzeRequestBody\x12\x12\n\nis_enabled\x18\x01 \x01(\x08\x12\x30\n\nsize_limit\x18\x02 \x01(\x03\x42\x1c\xfa\xc7\x31\x18\x30,8,16,32,64,128,256,512\x12\x65\n\x11size_limit_action\x18\x03 \x01(\x0e\x32J.yandex.cloud.smartwebsecurity.v1.waf.WafProfile.AnalyzeRequestBody.Action\"6\n\x06\x41\x63tion\x12\x16\n\x12\x41\x43TION_UNSPECIFIED\x10\x00\x12\n\n\x06IGNORE\x10\x01\x12\x08\n\x04\x44\x45NY\x10\x02\x42\x10\n\x08rule_set\x12\x04\xc0\xc1\x31\x01J\x04\x08\x08\x10\t\"P\n\x0eWafProfileRule\x12\x15\n\x07rule_id\x18\x01 \x01(\tB\x04\xe8\xc7\x31\x01\x12\x12\n\nis_enabled\x18\x02 \x01(\x08\x12\x13\n\x0bis_blocking\x18\x03 \x01(\x08\"\xc3\x02\n\x17WafProfileExclusionRule\x12\x12\n\x04name\x18\x01 \x01(\tB\x04\xe8\xc7\x31\x01\x12\x1e\n\x0b\x64\x65scription\x18\x02 \x01(\tB\t\x8a\xc8\x31\x05<=512\x12>\n\tcondition\x18\x03 \x01(\x0b\x32+.yandex.cloud.smartwebsecurity.v1.Condition\x12g\n\rexclude_rules\x18\x04 \x01(\x0b\x32J.yandex.cloud.smartwebsecurity.v1.waf.WafProfileExclusionRule.ExcludeRulesB\x04\xe8\xc7\x31\x01\x12\x14\n\x0clog_excluded\x18\x05 \x01(\x08\x1a\x35\n\x0c\x45xcludeRules\x12\x13\n\x0b\x65xclude_all\x18\x01 \x01(\x08\x12\x10\n\x08rule_ids\x18\x02 \x03(\t\"4\n\x07RuleSet\x12\x12\n\x04name\x18\x01 \x01(\tB\x04\xe8\xc7\x31\x01\x12\x15\n\x07version\x18\x02 \x01(\tB\x04\xe8\xc7\x31\x01\x42\x85\x01\n(yandex.cloud.api.smartwebsecurity.v1.wafZYgithub.com/yandex-cloud/go-genproto/yandex/cloud/smartwebsecurity/v1/waf;smartwebsecurityb\x06proto3')
|
|
31
31
|
|
|
32
32
|
_globals = globals()
|
|
33
33
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
@@ -59,6 +59,8 @@ if not _descriptor._USE_C_DESCRIPTORS:
|
|
|
59
59
|
_globals['_WAFPROFILE'].fields_by_name['description']._serialized_options = b'\212\3101\005<=512'
|
|
60
60
|
_globals['_WAFPROFILE'].fields_by_name['labels']._loaded_options = None
|
|
61
61
|
_globals['_WAFPROFILE'].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'
|
|
62
|
+
_globals['_WAFPROFILE'].fields_by_name['analyze_request_body']._loaded_options = None
|
|
63
|
+
_globals['_WAFPROFILE'].fields_by_name['analyze_request_body']._serialized_options = b'\030\001'
|
|
62
64
|
_globals['_WAFPROFILERULE'].fields_by_name['rule_id']._loaded_options = None
|
|
63
65
|
_globals['_WAFPROFILERULE'].fields_by_name['rule_id']._serialized_options = b'\350\3071\001'
|
|
64
66
|
_globals['_WAFPROFILEEXCLUSIONRULE'].fields_by_name['name']._loaded_options = None
|
|
@@ -72,21 +74,21 @@ if not _descriptor._USE_C_DESCRIPTORS:
|
|
|
72
74
|
_globals['_RULESET'].fields_by_name['version']._loaded_options = None
|
|
73
75
|
_globals['_RULESET'].fields_by_name['version']._serialized_options = b'\350\3071\001'
|
|
74
76
|
_globals['_WAFPROFILE']._serialized_start=218
|
|
75
|
-
_globals['_WAFPROFILE']._serialized_end=
|
|
76
|
-
_globals['_WAFPROFILE_LABELSENTRY']._serialized_start=
|
|
77
|
-
_globals['_WAFPROFILE_LABELSENTRY']._serialized_end=
|
|
78
|
-
_globals['_WAFPROFILE_CORERULESET']._serialized_start=
|
|
79
|
-
_globals['_WAFPROFILE_CORERULESET']._serialized_end=
|
|
80
|
-
_globals['_WAFPROFILE_ANALYZEREQUESTBODY']._serialized_start=
|
|
81
|
-
_globals['_WAFPROFILE_ANALYZEREQUESTBODY']._serialized_end=
|
|
82
|
-
_globals['_WAFPROFILE_ANALYZEREQUESTBODY_ACTION']._serialized_start=
|
|
83
|
-
_globals['_WAFPROFILE_ANALYZEREQUESTBODY_ACTION']._serialized_end=
|
|
84
|
-
_globals['_WAFPROFILERULE']._serialized_start=
|
|
85
|
-
_globals['_WAFPROFILERULE']._serialized_end=
|
|
86
|
-
_globals['_WAFPROFILEEXCLUSIONRULE']._serialized_start=
|
|
87
|
-
_globals['_WAFPROFILEEXCLUSIONRULE']._serialized_end=
|
|
88
|
-
_globals['_WAFPROFILEEXCLUSIONRULE_EXCLUDERULES']._serialized_start=
|
|
89
|
-
_globals['_WAFPROFILEEXCLUSIONRULE_EXCLUDERULES']._serialized_end=
|
|
90
|
-
_globals['_RULESET']._serialized_start=
|
|
91
|
-
_globals['_RULESET']._serialized_end=
|
|
77
|
+
_globals['_WAFPROFILE']._serialized_end=1413
|
|
78
|
+
_globals['_WAFPROFILE_LABELSENTRY']._serialized_start=924
|
|
79
|
+
_globals['_WAFPROFILE_LABELSENTRY']._serialized_end=969
|
|
80
|
+
_globals['_WAFPROFILE_CORERULESET']._serialized_start=972
|
|
81
|
+
_globals['_WAFPROFILE_CORERULESET']._serialized_end=1137
|
|
82
|
+
_globals['_WAFPROFILE_ANALYZEREQUESTBODY']._serialized_start=1140
|
|
83
|
+
_globals['_WAFPROFILE_ANALYZEREQUESTBODY']._serialized_end=1389
|
|
84
|
+
_globals['_WAFPROFILE_ANALYZEREQUESTBODY_ACTION']._serialized_start=1335
|
|
85
|
+
_globals['_WAFPROFILE_ANALYZEREQUESTBODY_ACTION']._serialized_end=1389
|
|
86
|
+
_globals['_WAFPROFILERULE']._serialized_start=1415
|
|
87
|
+
_globals['_WAFPROFILERULE']._serialized_end=1495
|
|
88
|
+
_globals['_WAFPROFILEEXCLUSIONRULE']._serialized_start=1498
|
|
89
|
+
_globals['_WAFPROFILEEXCLUSIONRULE']._serialized_end=1821
|
|
90
|
+
_globals['_WAFPROFILEEXCLUSIONRULE_EXCLUDERULES']._serialized_start=1768
|
|
91
|
+
_globals['_WAFPROFILEEXCLUSIONRULE_EXCLUDERULES']._serialized_end=1821
|
|
92
|
+
_globals['_RULESET']._serialized_start=1823
|
|
93
|
+
_globals['_RULESET']._serialized_end=1875
|
|
92
94
|
# @@protoc_insertion_point(module_scope)
|
|
@@ -163,7 +163,7 @@ class WafProfile(google.protobuf.message.Message):
|
|
|
163
163
|
|
|
164
164
|
@property
|
|
165
165
|
def analyze_request_body(self) -> global___WafProfile.AnalyzeRequestBody:
|
|
166
|
-
"""Parameters for request body analyzer."""
|
|
166
|
+
"""The parameter is deprecated. Parameters for request body analyzer."""
|
|
167
167
|
|
|
168
168
|
def __init__(
|
|
169
169
|
self,
|
|
@@ -32,7 +32,7 @@ from yandex.cloud.video.v1 import episode_pb2 as yandex_dot_cloud_dot_video_dot_
|
|
|
32
32
|
from yandex.cloud.video.v1 import manifest_pb2 as yandex_dot_cloud_dot_video_dot_v1_dot_manifest__pb2
|
|
33
33
|
|
|
34
34
|
|
|
35
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n+yandex/cloud/video/v1/episode_service.proto\x12\x15yandex.cloud.video.v1\x1a\x1cgoogle/api/annotations.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a yandex/cloud/api/operation.proto\x1a&yandex/cloud/operation/operation.proto\x1a\x1dyandex/cloud/validation.proto\x1a#yandex/cloud/video/v1/episode.proto\x1a$yandex/cloud/video/v1/manifest.proto\"5\n\x11GetEpisodeRequest\x12 \n\nepisode_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\"\xd5\x01\n\x13ListEpisodesRequest\x12\x1d\n\tstream_id\x18\x01 \x01(\tB\x08\x8a\xc8\x31\x04<=50H\x00\x12\x1b\n\x07line_id\x18\x02 \x01(\tB\x08\x8a\xc8\x31\x04<=50H\x00\x12\x1c\n\tpage_size\x18\x64 \x01(\x03\x42\t\xfa\xc7\x31\x05<=100\x12\x1d\n\npage_token\x18\x65 \x01(\tB\t\x8a\xc8\x31\x05<=200\x12\x10\n\x08order_by\x18\x66 \x01(\t\x12\x1a\n\x06\x66ilter\x18g \x01(\tB\n\x8a\xc8\x31\x06<=1000B\x11\n\tparent_id\x12\x04\xc0\xc1\x31\x01J\x04\x08\x03\x10\x64\"g\n\x14ListEpisodesResponse\x12\x30\n\x08\x65pisodes\x18\x01 \x03(\x0b\x32\x1e.yandex.cloud.video.v1.Episode\x12\x17\n\x0fnext_page_token\x18\x64 \x01(\tJ\x04\x08\x02\x10\x64\"c\n\x17\x42\x61tchGetEpisodesRequest\x12 \n\nchannel_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12&\n\x0b\x65pisode_ids\x18\x02 \x03(\tB\x11\x82\xc8\x31\x05\x31-100\x8a\xc8\x31\x04<=50\"L\n\x18\x42\x61tchGetEpisodesResponse\x12\x30\n\x08\x65pisodes\x18\x01 \x03(\x0b\x32\x1e.yandex.cloud.video.v1.Episode\"\xc7\x04\n\x14\x43reateEpisodeRequest\x12\x1d\n\tstream_id\x18\x64 \x01(\tB\x08\x8a\xc8\x31\x04<=50H\x00\x12\x1b\n\x07line_id\x18\x65 \x01(\tB\x08\x8a\xc8\x31\x04<=50H\x00\x12\x13\n\x05title\x18\x02 \x01(\tB\x04\xe8\xc7\x31\x01\x12\x13\n\x0b\x64\x65scription\x18\x03 \x01(\t\x12\x1e\n\x0cthumbnail_id\x18\x04 \x01(\tB\x08\x8a\xc8\x31\x04<=50\x12.\n\nstart_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12/\n\x0b\x66inish_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x13\n\x0b\x64vr_seconds\x18\x07 \x01(\x03\x12J\n\rpublic_access\x18\xe8\x07 \x01(\x0b\x32\x30.yandex.cloud.video.v1.EpisodePublicAccessParamsH\x01\x12S\n\x12\x61uth_system_access\x18\xea\x07 \x01(\x0b\x32\x34.yandex.cloud.video.v1.EpisodeAuthSystemAccessParamsH\x01\x12M\n\x0fsign_url_access\x18\xeb\x07 \x01(\x0b\x32\x31.yandex.cloud.video.v1.EpisodeSignURLAccessParamsH\x01\x42\x11\n\tparent_id\x12\x04\xc0\xc1\x31\x01\x42\x15\n\raccess_rights\x12\x04\xc0\xc1\x31\x01J\x06\x08\xe9\x07\x10\xea\x07J\x04\x08\x01\x10\x02J\x04\x08\x08\x10\x64J\x05\x08\x66\x10\xe8\x07\"\x1b\n\x19\x45pisodePublicAccessParams\"\x1f\n\x1d\x45pisodeAuthSystemAccessParams\"\x1c\n\x1a\x45pisodeSignURLAccessParams\"+\n\x15\x43reateEpisodeMetadata\x12\x12\n\nepisode_id\x18\x01 \x01(\t\"\xb2\x04\n\x14UpdateEpisodeRequest\x12 \n\nepisode_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12.\n\nfield_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\x12\r\n\x05title\x18\x03 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x04 \x01(\t\x12\x1e\n\x0cthumbnail_id\x18\x05 \x01(\tB\x08\x8a\xc8\x31\x04<=50\x12.\n\nstart_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12/\n\x0b\x66inish_time\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x13\n\x0b\x64vr_seconds\x18\x08 \x01(\x03\x12J\n\rpublic_access\x18\xe8\x07 \x01(\x0b\x32\x30.yandex.cloud.video.v1.EpisodePublicAccessParamsH\x00\x12S\n\x12\x61uth_system_access\x18\xea\x07 \x01(\x0b\x32\x34.yandex.cloud.video.v1.EpisodeAuthSystemAccessParamsH\x00\x12M\n\x0fsign_url_access\x18\xeb\x07 \x01(\x0b\x32\x31.yandex.cloud.video.v1.EpisodeSignURLAccessParamsH\x00\x42\x0f\n\raccess_rightsJ\x06\x08\xe9\x07\x10\xea\x07J\x05\x08\t\x10\xe8\x07\"+\n\x15UpdateEpisodeMetadata\x12\x12\n\nepisode_id\x18\x01 \x01(\t\"8\n\x14\x44\x65leteEpisodeRequest\x12 \n\nepisode_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\"+\n\x15\x44\x65leteEpisodeMetadata\x12\x12\n\nepisode_id\x18\x01 \x01(\t\"\xec\x01\n\x1bPerformEpisodeActionRequest\x12 \n\nepisode_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12?\n\x07publish\x18\xea\x07 \x01(\x0b\x32+.yandex.cloud.video.v1.PublishEpisodeActionH\x00\x12\x43\n\tunpublish\x18\xeb\x07 \x01(\x0b\x32-.yandex.cloud.video.v1.UnpublishEpisodeActionH\x00\x42\x0e\n\x06\x61\x63tion\x12\x04\xc0\xc1\x31\x01J\x06\x08\xe8\x07\x10\xe9\x07J\x06\x08\xe9\x07\x10\xea\x07J\x05\x08\x02\x10\xe8\x07\"\x16\n\x14PublishEpisodeAction\"\x18\n\x16UnpublishEpisodeAction\"2\n\x1cPerformEpisodeActionMetadata\x12\x12\n\nepisode_id\x18\x01 \x01(\t\"z\n\x1aGetEpisodePlayerURLRequest\x12 \n\nepisode_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12:\n\x06params\x18\x02 \x01(\x0b\x32*.yandex.cloud.video.v1.EpisodePlayerParams\"E\n\x13\x45pisodePlayerParams\x12\x0c\n\x04mute\x18\x01 \x01(\x08\x12\x10\n\x08\x61utoplay\x18\x02 \x01(\x08\x12\x0e\n\x06hidden\x18\x03 \x01(\x08\"?\n\x1bGetEpisodePlayerURLResponse\x12\x12\n\nplayer_url\x18\x01 \x01(\t\x12\x0c\n\x04html\x18\x02 \x01(\t\">\n\x1aGetEpisodeManifestsRequest\x12 \n\nepisode_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\"Q\n\x1bGetEpisodeManifestsResponse\x12\x32\n\tmanifests\x18\x01 \x03(\x0b\x32\x1f.yandex.cloud.video.v1.Manifest2\
|
|
35
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n+yandex/cloud/video/v1/episode_service.proto\x12\x15yandex.cloud.video.v1\x1a\x1cgoogle/api/annotations.proto\x1a google/protobuf/field_mask.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a yandex/cloud/api/operation.proto\x1a&yandex/cloud/operation/operation.proto\x1a\x1dyandex/cloud/validation.proto\x1a#yandex/cloud/video/v1/episode.proto\x1a$yandex/cloud/video/v1/manifest.proto\"5\n\x11GetEpisodeRequest\x12 \n\nepisode_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\"\xd5\x01\n\x13ListEpisodesRequest\x12\x1d\n\tstream_id\x18\x01 \x01(\tB\x08\x8a\xc8\x31\x04<=50H\x00\x12\x1b\n\x07line_id\x18\x02 \x01(\tB\x08\x8a\xc8\x31\x04<=50H\x00\x12\x1c\n\tpage_size\x18\x64 \x01(\x03\x42\t\xfa\xc7\x31\x05<=100\x12\x1d\n\npage_token\x18\x65 \x01(\tB\t\x8a\xc8\x31\x05<=200\x12\x10\n\x08order_by\x18\x66 \x01(\t\x12\x1a\n\x06\x66ilter\x18g \x01(\tB\n\x8a\xc8\x31\x06<=1000B\x11\n\tparent_id\x12\x04\xc0\xc1\x31\x01J\x04\x08\x03\x10\x64\"g\n\x14ListEpisodesResponse\x12\x30\n\x08\x65pisodes\x18\x01 \x03(\x0b\x32\x1e.yandex.cloud.video.v1.Episode\x12\x17\n\x0fnext_page_token\x18\x64 \x01(\tJ\x04\x08\x02\x10\x64\"c\n\x17\x42\x61tchGetEpisodesRequest\x12 \n\nchannel_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12&\n\x0b\x65pisode_ids\x18\x02 \x03(\tB\x11\x82\xc8\x31\x05\x31-100\x8a\xc8\x31\x04<=50\"L\n\x18\x42\x61tchGetEpisodesResponse\x12\x30\n\x08\x65pisodes\x18\x01 \x03(\x0b\x32\x1e.yandex.cloud.video.v1.Episode\"\xc7\x04\n\x14\x43reateEpisodeRequest\x12\x1d\n\tstream_id\x18\x64 \x01(\tB\x08\x8a\xc8\x31\x04<=50H\x00\x12\x1b\n\x07line_id\x18\x65 \x01(\tB\x08\x8a\xc8\x31\x04<=50H\x00\x12\x13\n\x05title\x18\x02 \x01(\tB\x04\xe8\xc7\x31\x01\x12\x13\n\x0b\x64\x65scription\x18\x03 \x01(\t\x12\x1e\n\x0cthumbnail_id\x18\x04 \x01(\tB\x08\x8a\xc8\x31\x04<=50\x12.\n\nstart_time\x18\x05 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12/\n\x0b\x66inish_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x13\n\x0b\x64vr_seconds\x18\x07 \x01(\x03\x12J\n\rpublic_access\x18\xe8\x07 \x01(\x0b\x32\x30.yandex.cloud.video.v1.EpisodePublicAccessParamsH\x01\x12S\n\x12\x61uth_system_access\x18\xea\x07 \x01(\x0b\x32\x34.yandex.cloud.video.v1.EpisodeAuthSystemAccessParamsH\x01\x12M\n\x0fsign_url_access\x18\xeb\x07 \x01(\x0b\x32\x31.yandex.cloud.video.v1.EpisodeSignURLAccessParamsH\x01\x42\x11\n\tparent_id\x12\x04\xc0\xc1\x31\x01\x42\x15\n\raccess_rights\x12\x04\xc0\xc1\x31\x01J\x06\x08\xe9\x07\x10\xea\x07J\x04\x08\x01\x10\x02J\x04\x08\x08\x10\x64J\x05\x08\x66\x10\xe8\x07\"\x1b\n\x19\x45pisodePublicAccessParams\"\x1f\n\x1d\x45pisodeAuthSystemAccessParams\"\x1c\n\x1a\x45pisodeSignURLAccessParams\"+\n\x15\x43reateEpisodeMetadata\x12\x12\n\nepisode_id\x18\x01 \x01(\t\"\xb2\x04\n\x14UpdateEpisodeRequest\x12 \n\nepisode_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12.\n\nfield_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\x12\r\n\x05title\x18\x03 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x04 \x01(\t\x12\x1e\n\x0cthumbnail_id\x18\x05 \x01(\tB\x08\x8a\xc8\x31\x04<=50\x12.\n\nstart_time\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12/\n\x0b\x66inish_time\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x13\n\x0b\x64vr_seconds\x18\x08 \x01(\x03\x12J\n\rpublic_access\x18\xe8\x07 \x01(\x0b\x32\x30.yandex.cloud.video.v1.EpisodePublicAccessParamsH\x00\x12S\n\x12\x61uth_system_access\x18\xea\x07 \x01(\x0b\x32\x34.yandex.cloud.video.v1.EpisodeAuthSystemAccessParamsH\x00\x12M\n\x0fsign_url_access\x18\xeb\x07 \x01(\x0b\x32\x31.yandex.cloud.video.v1.EpisodeSignURLAccessParamsH\x00\x42\x0f\n\raccess_rightsJ\x06\x08\xe9\x07\x10\xea\x07J\x05\x08\t\x10\xe8\x07\"+\n\x15UpdateEpisodeMetadata\x12\x12\n\nepisode_id\x18\x01 \x01(\t\"8\n\x14\x44\x65leteEpisodeRequest\x12 \n\nepisode_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\"+\n\x15\x44\x65leteEpisodeMetadata\x12\x12\n\nepisode_id\x18\x01 \x01(\t\"\x92\x01\n\x1a\x42\x61tchDeleteEpisodesRequest\x12\x1d\n\tstream_id\x18\x64 \x01(\tB\x08\x8a\xc8\x31\x04<=50H\x00\x12\x1b\n\x07line_id\x18\x65 \x01(\tB\x08\x8a\xc8\x31\x04<=50H\x00\x12&\n\x0b\x65pisode_ids\x18\x01 \x03(\tB\x11\x82\xc8\x31\x05\x31-100\x8a\xc8\x31\x04<=50B\n\n\x02id\x12\x04\xc0\xc1\x31\x01J\x04\x08\x02\x10\x64\"2\n\x1b\x42\x61tchDeleteEpisodesMetadata\x12\x13\n\x0b\x65pisode_ids\x18\x01 \x03(\t\"\xec\x01\n\x1bPerformEpisodeActionRequest\x12 \n\nepisode_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12?\n\x07publish\x18\xea\x07 \x01(\x0b\x32+.yandex.cloud.video.v1.PublishEpisodeActionH\x00\x12\x43\n\tunpublish\x18\xeb\x07 \x01(\x0b\x32-.yandex.cloud.video.v1.UnpublishEpisodeActionH\x00\x42\x0e\n\x06\x61\x63tion\x12\x04\xc0\xc1\x31\x01J\x06\x08\xe8\x07\x10\xe9\x07J\x06\x08\xe9\x07\x10\xea\x07J\x05\x08\x02\x10\xe8\x07\"\x16\n\x14PublishEpisodeAction\"\x18\n\x16UnpublishEpisodeAction\"2\n\x1cPerformEpisodeActionMetadata\x12\x12\n\nepisode_id\x18\x01 \x01(\t\"z\n\x1aGetEpisodePlayerURLRequest\x12 \n\nepisode_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12:\n\x06params\x18\x02 \x01(\x0b\x32*.yandex.cloud.video.v1.EpisodePlayerParams\"E\n\x13\x45pisodePlayerParams\x12\x0c\n\x04mute\x18\x01 \x01(\x08\x12\x10\n\x08\x61utoplay\x18\x02 \x01(\x08\x12\x0e\n\x06hidden\x18\x03 \x01(\x08\"?\n\x1bGetEpisodePlayerURLResponse\x12\x12\n\nplayer_url\x18\x01 \x01(\t\x12\x0c\n\x04html\x18\x02 \x01(\t\">\n\x1aGetEpisodeManifestsRequest\x12 \n\nepisode_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\"Q\n\x1bGetEpisodeManifestsResponse\x12\x32\n\tmanifests\x18\x01 \x03(\x0b\x32\x1f.yandex.cloud.video.v1.Manifest2\xe6\x0c\n\x0e\x45pisodeService\x12x\n\x03Get\x12(.yandex.cloud.video.v1.GetEpisodeRequest\x1a\x1e.yandex.cloud.video.v1.Episode\"\'\x82\xd3\xe4\x93\x02!\x12\x1f/video/v1/episodes/{episode_id}\x12{\n\x04List\x12*.yandex.cloud.video.v1.ListEpisodesRequest\x1a+.yandex.cloud.video.v1.ListEpisodesResponse\"\x1a\x82\xd3\xe4\x93\x02\x14\x12\x12/video/v1/episodes\x12\x93\x01\n\x08\x42\x61tchGet\x12..yandex.cloud.video.v1.BatchGetEpisodesRequest\x1a/.yandex.cloud.video.v1.BatchGetEpisodesResponse\"&\x82\xd3\xe4\x93\x02 \"\x1b/video/v1/episodes:batchGet:\x01*\x12\x9b\x01\n\x06\x43reate\x12+.yandex.cloud.video.v1.CreateEpisodeRequest\x1a!.yandex.cloud.operation.Operation\"A\xb2\xd2* \n\x15\x43reateEpisodeMetadata\x12\x07\x45pisode\x82\xd3\xe4\x93\x02\x17\"\x12/video/v1/episodes:\x01*\x12\xa8\x01\n\x06Update\x12+.yandex.cloud.video.v1.UpdateEpisodeRequest\x1a!.yandex.cloud.operation.Operation\"N\xb2\xd2* \n\x15UpdateEpisodeMetadata\x12\x07\x45pisode\x82\xd3\xe4\x93\x02$2\x1f/video/v1/episodes/{episode_id}:\x01*\x12\xb3\x01\n\x06\x44\x65lete\x12+.yandex.cloud.video.v1.DeleteEpisodeRequest\x1a!.yandex.cloud.operation.Operation\"Y\xb2\xd2*.\n\x15\x44\x65leteEpisodeMetadata\x12\x15google.protobuf.Empty\x82\xd3\xe4\x93\x02!*\x1f/video/v1/episodes/{episode_id}\x12\x9d\x01\n\x0b\x42\x61tchDelete\x12\x31.yandex.cloud.video.v1.BatchDeleteEpisodesRequest\x1a!.yandex.cloud.operation.Operation\"8\xb2\xd2*4\n\x1b\x42\x61tchDeleteEpisodesMetadata\x12\x15google.protobuf.Empty\x12\xcb\x01\n\rPerformAction\x12\x32.yandex.cloud.video.v1.PerformEpisodeActionRequest\x1a!.yandex.cloud.operation.Operation\"c\xb2\xd2*\'\n\x1cPerformEpisodeActionMetadata\x12\x07\x45pisode\x82\xd3\xe4\x93\x02\x32\"-/video/v1/episodes/{episode_id}:performAction:\x01*\x12\xab\x01\n\x0cGetPlayerURL\x12\x31.yandex.cloud.video.v1.GetEpisodePlayerURLRequest\x1a\x32.yandex.cloud.video.v1.GetEpisodePlayerURLResponse\"4\x82\xd3\xe4\x93\x02.\x12,/video/v1/episodes/{episode_id}:getPlayerUrl\x12\xab\x01\n\x0cGetManifests\x12\x31.yandex.cloud.video.v1.GetEpisodeManifestsRequest\x1a\x32.yandex.cloud.video.v1.GetEpisodeManifestsResponse\"4\x82\xd3\xe4\x93\x02.\x12,/video/v1/episodes/{episode_id}:getManifestsB\\\n\x19yandex.cloud.api.video.v1Z?github.com/yandex-cloud/go-genproto/yandex/cloud/video/v1;videob\x06proto3')
|
|
36
36
|
|
|
37
37
|
_globals = globals()
|
|
38
38
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
@@ -76,6 +76,14 @@ if not _descriptor._USE_C_DESCRIPTORS:
|
|
|
76
76
|
_globals['_UPDATEEPISODEREQUEST'].fields_by_name['thumbnail_id']._serialized_options = b'\212\3101\004<=50'
|
|
77
77
|
_globals['_DELETEEPISODEREQUEST'].fields_by_name['episode_id']._loaded_options = None
|
|
78
78
|
_globals['_DELETEEPISODEREQUEST'].fields_by_name['episode_id']._serialized_options = b'\350\3071\001\212\3101\004<=50'
|
|
79
|
+
_globals['_BATCHDELETEEPISODESREQUEST'].oneofs_by_name['id']._loaded_options = None
|
|
80
|
+
_globals['_BATCHDELETEEPISODESREQUEST'].oneofs_by_name['id']._serialized_options = b'\300\3011\001'
|
|
81
|
+
_globals['_BATCHDELETEEPISODESREQUEST'].fields_by_name['stream_id']._loaded_options = None
|
|
82
|
+
_globals['_BATCHDELETEEPISODESREQUEST'].fields_by_name['stream_id']._serialized_options = b'\212\3101\004<=50'
|
|
83
|
+
_globals['_BATCHDELETEEPISODESREQUEST'].fields_by_name['line_id']._loaded_options = None
|
|
84
|
+
_globals['_BATCHDELETEEPISODESREQUEST'].fields_by_name['line_id']._serialized_options = b'\212\3101\004<=50'
|
|
85
|
+
_globals['_BATCHDELETEEPISODESREQUEST'].fields_by_name['episode_ids']._loaded_options = None
|
|
86
|
+
_globals['_BATCHDELETEEPISODESREQUEST'].fields_by_name['episode_ids']._serialized_options = b'\202\3101\0051-100\212\3101\004<=50'
|
|
79
87
|
_globals['_PERFORMEPISODEACTIONREQUEST'].oneofs_by_name['action']._loaded_options = None
|
|
80
88
|
_globals['_PERFORMEPISODEACTIONREQUEST'].oneofs_by_name['action']._serialized_options = b'\300\3011\001'
|
|
81
89
|
_globals['_PERFORMEPISODEACTIONREQUEST'].fields_by_name['episode_id']._loaded_options = None
|
|
@@ -96,6 +104,8 @@ if not _descriptor._USE_C_DESCRIPTORS:
|
|
|
96
104
|
_globals['_EPISODESERVICE'].methods_by_name['Update']._serialized_options = b'\262\322* \n\025UpdateEpisodeMetadata\022\007Episode\202\323\344\223\002$2\037/video/v1/episodes/{episode_id}:\001*'
|
|
97
105
|
_globals['_EPISODESERVICE'].methods_by_name['Delete']._loaded_options = None
|
|
98
106
|
_globals['_EPISODESERVICE'].methods_by_name['Delete']._serialized_options = b'\262\322*.\n\025DeleteEpisodeMetadata\022\025google.protobuf.Empty\202\323\344\223\002!*\037/video/v1/episodes/{episode_id}'
|
|
107
|
+
_globals['_EPISODESERVICE'].methods_by_name['BatchDelete']._loaded_options = None
|
|
108
|
+
_globals['_EPISODESERVICE'].methods_by_name['BatchDelete']._serialized_options = b'\262\322*4\n\033BatchDeleteEpisodesMetadata\022\025google.protobuf.Empty'
|
|
99
109
|
_globals['_EPISODESERVICE'].methods_by_name['PerformAction']._loaded_options = None
|
|
100
110
|
_globals['_EPISODESERVICE'].methods_by_name['PerformAction']._serialized_options = b'\262\322*\'\n\034PerformEpisodeActionMetadata\022\007Episode\202\323\344\223\0022\"-/video/v1/episodes/{episode_id}:performAction:\001*'
|
|
101
111
|
_globals['_EPISODESERVICE'].methods_by_name['GetPlayerURL']._loaded_options = None
|
|
@@ -130,24 +140,28 @@ if not _descriptor._USE_C_DESCRIPTORS:
|
|
|
130
140
|
_globals['_DELETEEPISODEREQUEST']._serialized_end=2291
|
|
131
141
|
_globals['_DELETEEPISODEMETADATA']._serialized_start=2293
|
|
132
142
|
_globals['_DELETEEPISODEMETADATA']._serialized_end=2336
|
|
133
|
-
_globals['
|
|
134
|
-
_globals['
|
|
135
|
-
_globals['
|
|
136
|
-
_globals['
|
|
137
|
-
_globals['
|
|
138
|
-
_globals['
|
|
139
|
-
_globals['
|
|
140
|
-
_globals['
|
|
141
|
-
_globals['
|
|
142
|
-
_globals['
|
|
143
|
-
_globals['
|
|
144
|
-
_globals['
|
|
145
|
-
_globals['
|
|
146
|
-
_globals['
|
|
147
|
-
_globals['
|
|
148
|
-
_globals['
|
|
149
|
-
_globals['
|
|
150
|
-
_globals['
|
|
151
|
-
_globals['
|
|
152
|
-
_globals['
|
|
143
|
+
_globals['_BATCHDELETEEPISODESREQUEST']._serialized_start=2339
|
|
144
|
+
_globals['_BATCHDELETEEPISODESREQUEST']._serialized_end=2485
|
|
145
|
+
_globals['_BATCHDELETEEPISODESMETADATA']._serialized_start=2487
|
|
146
|
+
_globals['_BATCHDELETEEPISODESMETADATA']._serialized_end=2537
|
|
147
|
+
_globals['_PERFORMEPISODEACTIONREQUEST']._serialized_start=2540
|
|
148
|
+
_globals['_PERFORMEPISODEACTIONREQUEST']._serialized_end=2776
|
|
149
|
+
_globals['_PUBLISHEPISODEACTION']._serialized_start=2778
|
|
150
|
+
_globals['_PUBLISHEPISODEACTION']._serialized_end=2800
|
|
151
|
+
_globals['_UNPUBLISHEPISODEACTION']._serialized_start=2802
|
|
152
|
+
_globals['_UNPUBLISHEPISODEACTION']._serialized_end=2826
|
|
153
|
+
_globals['_PERFORMEPISODEACTIONMETADATA']._serialized_start=2828
|
|
154
|
+
_globals['_PERFORMEPISODEACTIONMETADATA']._serialized_end=2878
|
|
155
|
+
_globals['_GETEPISODEPLAYERURLREQUEST']._serialized_start=2880
|
|
156
|
+
_globals['_GETEPISODEPLAYERURLREQUEST']._serialized_end=3002
|
|
157
|
+
_globals['_EPISODEPLAYERPARAMS']._serialized_start=3004
|
|
158
|
+
_globals['_EPISODEPLAYERPARAMS']._serialized_end=3073
|
|
159
|
+
_globals['_GETEPISODEPLAYERURLRESPONSE']._serialized_start=3075
|
|
160
|
+
_globals['_GETEPISODEPLAYERURLRESPONSE']._serialized_end=3138
|
|
161
|
+
_globals['_GETEPISODEMANIFESTSREQUEST']._serialized_start=3140
|
|
162
|
+
_globals['_GETEPISODEMANIFESTSREQUEST']._serialized_end=3202
|
|
163
|
+
_globals['_GETEPISODEMANIFESTSRESPONSE']._serialized_start=3204
|
|
164
|
+
_globals['_GETEPISODEMANIFESTSRESPONSE']._serialized_end=3285
|
|
165
|
+
_globals['_EPISODESERVICE']._serialized_start=3288
|
|
166
|
+
_globals['_EPISODESERVICE']._serialized_end=4926
|
|
153
167
|
# @@protoc_insertion_point(module_scope)
|
|
@@ -386,6 +386,48 @@ class DeleteEpisodeMetadata(google.protobuf.message.Message):
|
|
|
386
386
|
|
|
387
387
|
global___DeleteEpisodeMetadata = DeleteEpisodeMetadata
|
|
388
388
|
|
|
389
|
+
@typing.final
|
|
390
|
+
class BatchDeleteEpisodesRequest(google.protobuf.message.Message):
|
|
391
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
392
|
+
|
|
393
|
+
STREAM_ID_FIELD_NUMBER: builtins.int
|
|
394
|
+
LINE_ID_FIELD_NUMBER: builtins.int
|
|
395
|
+
EPISODE_IDS_FIELD_NUMBER: builtins.int
|
|
396
|
+
stream_id: builtins.str
|
|
397
|
+
"""ID of the stream."""
|
|
398
|
+
line_id: builtins.str
|
|
399
|
+
"""ID of the line."""
|
|
400
|
+
@property
|
|
401
|
+
def episode_ids(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]: ...
|
|
402
|
+
def __init__(
|
|
403
|
+
self,
|
|
404
|
+
*,
|
|
405
|
+
stream_id: builtins.str = ...,
|
|
406
|
+
line_id: builtins.str = ...,
|
|
407
|
+
episode_ids: collections.abc.Iterable[builtins.str] | None = ...,
|
|
408
|
+
) -> None: ...
|
|
409
|
+
def HasField(self, field_name: typing.Literal["id", b"id", "line_id", b"line_id", "stream_id", b"stream_id"]) -> builtins.bool: ...
|
|
410
|
+
def ClearField(self, field_name: typing.Literal["episode_ids", b"episode_ids", "id", b"id", "line_id", b"line_id", "stream_id", b"stream_id"]) -> None: ...
|
|
411
|
+
def WhichOneof(self, oneof_group: typing.Literal["id", b"id"]) -> typing.Literal["stream_id", "line_id"] | None: ...
|
|
412
|
+
|
|
413
|
+
global___BatchDeleteEpisodesRequest = BatchDeleteEpisodesRequest
|
|
414
|
+
|
|
415
|
+
@typing.final
|
|
416
|
+
class BatchDeleteEpisodesMetadata(google.protobuf.message.Message):
|
|
417
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
418
|
+
|
|
419
|
+
EPISODE_IDS_FIELD_NUMBER: builtins.int
|
|
420
|
+
@property
|
|
421
|
+
def episode_ids(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]: ...
|
|
422
|
+
def __init__(
|
|
423
|
+
self,
|
|
424
|
+
*,
|
|
425
|
+
episode_ids: collections.abc.Iterable[builtins.str] | None = ...,
|
|
426
|
+
) -> None: ...
|
|
427
|
+
def ClearField(self, field_name: typing.Literal["episode_ids", b"episode_ids"]) -> None: ...
|
|
428
|
+
|
|
429
|
+
global___BatchDeleteEpisodesMetadata = BatchDeleteEpisodesMetadata
|
|
430
|
+
|
|
389
431
|
@typing.final
|
|
390
432
|
class PerformEpisodeActionRequest(google.protobuf.message.Message):
|
|
391
433
|
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
@@ -67,6 +67,11 @@ class EpisodeServiceStub(object):
|
|
|
67
67
|
request_serializer=yandex_dot_cloud_dot_video_dot_v1_dot_episode__service__pb2.DeleteEpisodeRequest.SerializeToString,
|
|
68
68
|
response_deserializer=yandex_dot_cloud_dot_operation_dot_operation__pb2.Operation.FromString,
|
|
69
69
|
_registered_method=True)
|
|
70
|
+
self.BatchDelete = channel.unary_unary(
|
|
71
|
+
'/yandex.cloud.video.v1.EpisodeService/BatchDelete',
|
|
72
|
+
request_serializer=yandex_dot_cloud_dot_video_dot_v1_dot_episode__service__pb2.BatchDeleteEpisodesRequest.SerializeToString,
|
|
73
|
+
response_deserializer=yandex_dot_cloud_dot_operation_dot_operation__pb2.Operation.FromString,
|
|
74
|
+
_registered_method=True)
|
|
70
75
|
self.PerformAction = channel.unary_unary(
|
|
71
76
|
'/yandex.cloud.video.v1.EpisodeService/PerformAction',
|
|
72
77
|
request_serializer=yandex_dot_cloud_dot_video_dot_v1_dot_episode__service__pb2.PerformEpisodeActionRequest.SerializeToString,
|
|
@@ -130,6 +135,13 @@ class EpisodeServiceServicer(object):
|
|
|
130
135
|
context.set_details('Method not implemented!')
|
|
131
136
|
raise NotImplementedError('Method not implemented!')
|
|
132
137
|
|
|
138
|
+
def BatchDelete(self, request, context):
|
|
139
|
+
"""Batch delete episode.
|
|
140
|
+
"""
|
|
141
|
+
context.set_code(grpc.StatusCode.UNIMPLEMENTED)
|
|
142
|
+
context.set_details('Method not implemented!')
|
|
143
|
+
raise NotImplementedError('Method not implemented!')
|
|
144
|
+
|
|
133
145
|
def PerformAction(self, request, context):
|
|
134
146
|
"""Perform an action on the episode.
|
|
135
147
|
"""
|
|
@@ -184,6 +196,11 @@ def add_EpisodeServiceServicer_to_server(servicer, server):
|
|
|
184
196
|
request_deserializer=yandex_dot_cloud_dot_video_dot_v1_dot_episode__service__pb2.DeleteEpisodeRequest.FromString,
|
|
185
197
|
response_serializer=yandex_dot_cloud_dot_operation_dot_operation__pb2.Operation.SerializeToString,
|
|
186
198
|
),
|
|
199
|
+
'BatchDelete': grpc.unary_unary_rpc_method_handler(
|
|
200
|
+
servicer.BatchDelete,
|
|
201
|
+
request_deserializer=yandex_dot_cloud_dot_video_dot_v1_dot_episode__service__pb2.BatchDeleteEpisodesRequest.FromString,
|
|
202
|
+
response_serializer=yandex_dot_cloud_dot_operation_dot_operation__pb2.Operation.SerializeToString,
|
|
203
|
+
),
|
|
187
204
|
'PerformAction': grpc.unary_unary_rpc_method_handler(
|
|
188
205
|
servicer.PerformAction,
|
|
189
206
|
request_deserializer=yandex_dot_cloud_dot_video_dot_v1_dot_episode__service__pb2.PerformEpisodeActionRequest.FromString,
|
|
@@ -373,6 +390,33 @@ class EpisodeService(object):
|
|
|
373
390
|
metadata,
|
|
374
391
|
_registered_method=True)
|
|
375
392
|
|
|
393
|
+
@staticmethod
|
|
394
|
+
def BatchDelete(request,
|
|
395
|
+
target,
|
|
396
|
+
options=(),
|
|
397
|
+
channel_credentials=None,
|
|
398
|
+
call_credentials=None,
|
|
399
|
+
insecure=False,
|
|
400
|
+
compression=None,
|
|
401
|
+
wait_for_ready=None,
|
|
402
|
+
timeout=None,
|
|
403
|
+
metadata=None):
|
|
404
|
+
return grpc.experimental.unary_unary(
|
|
405
|
+
request,
|
|
406
|
+
target,
|
|
407
|
+
'/yandex.cloud.video.v1.EpisodeService/BatchDelete',
|
|
408
|
+
yandex_dot_cloud_dot_video_dot_v1_dot_episode__service__pb2.BatchDeleteEpisodesRequest.SerializeToString,
|
|
409
|
+
yandex_dot_cloud_dot_operation_dot_operation__pb2.Operation.FromString,
|
|
410
|
+
options,
|
|
411
|
+
channel_credentials,
|
|
412
|
+
insecure,
|
|
413
|
+
call_credentials,
|
|
414
|
+
compression,
|
|
415
|
+
wait_for_ready,
|
|
416
|
+
timeout,
|
|
417
|
+
metadata,
|
|
418
|
+
_registered_method=True)
|
|
419
|
+
|
|
376
420
|
@staticmethod
|
|
377
421
|
def PerformAction(request,
|
|
378
422
|
target,
|
|
@@ -59,6 +59,12 @@ class EpisodeServiceStub:
|
|
|
59
59
|
]
|
|
60
60
|
"""Delete episode."""
|
|
61
61
|
|
|
62
|
+
BatchDelete: grpc.UnaryUnaryMultiCallable[
|
|
63
|
+
yandex.cloud.video.v1.episode_service_pb2.BatchDeleteEpisodesRequest,
|
|
64
|
+
yandex.cloud.operation.operation_pb2.Operation,
|
|
65
|
+
]
|
|
66
|
+
"""Batch delete episode."""
|
|
67
|
+
|
|
62
68
|
PerformAction: grpc.UnaryUnaryMultiCallable[
|
|
63
69
|
yandex.cloud.video.v1.episode_service_pb2.PerformEpisodeActionRequest,
|
|
64
70
|
yandex.cloud.operation.operation_pb2.Operation,
|
|
@@ -116,6 +122,12 @@ class EpisodeServiceAsyncStub:
|
|
|
116
122
|
]
|
|
117
123
|
"""Delete episode."""
|
|
118
124
|
|
|
125
|
+
BatchDelete: grpc.aio.UnaryUnaryMultiCallable[
|
|
126
|
+
yandex.cloud.video.v1.episode_service_pb2.BatchDeleteEpisodesRequest,
|
|
127
|
+
yandex.cloud.operation.operation_pb2.Operation,
|
|
128
|
+
]
|
|
129
|
+
"""Batch delete episode."""
|
|
130
|
+
|
|
119
131
|
PerformAction: grpc.aio.UnaryUnaryMultiCallable[
|
|
120
132
|
yandex.cloud.video.v1.episode_service_pb2.PerformEpisodeActionRequest,
|
|
121
133
|
yandex.cloud.operation.operation_pb2.Operation,
|
|
@@ -185,6 +197,14 @@ class EpisodeServiceServicer(metaclass=abc.ABCMeta):
|
|
|
185
197
|
) -> typing.Union[yandex.cloud.operation.operation_pb2.Operation, collections.abc.Awaitable[yandex.cloud.operation.operation_pb2.Operation]]:
|
|
186
198
|
"""Delete episode."""
|
|
187
199
|
|
|
200
|
+
@abc.abstractmethod
|
|
201
|
+
def BatchDelete(
|
|
202
|
+
self,
|
|
203
|
+
request: yandex.cloud.video.v1.episode_service_pb2.BatchDeleteEpisodesRequest,
|
|
204
|
+
context: _ServicerContext,
|
|
205
|
+
) -> typing.Union[yandex.cloud.operation.operation_pb2.Operation, collections.abc.Awaitable[yandex.cloud.operation.operation_pb2.Operation]]:
|
|
206
|
+
"""Batch delete episode."""
|
|
207
|
+
|
|
188
208
|
@abc.abstractmethod
|
|
189
209
|
def PerformAction(
|
|
190
210
|
self,
|
yandexcloud/__init__.py
CHANGED