yandexcloud 0.317.0__py3-none-any.whl → 0.319.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/ai/assistants/__init__.py +0 -0
- yandex/cloud/ai/assistants/v1/__init__.py +0 -0
- yandex/cloud/ai/assistants/v1/assistant_pb2.py +33 -0
- yandex/cloud/ai/assistants/v1/assistant_pb2.pyi +101 -0
- yandex/cloud/ai/assistants/v1/assistant_pb2_grpc.py +4 -0
- yandex/cloud/ai/assistants/v1/assistant_pb2_grpc.pyi +17 -0
- yandex/cloud/ai/assistants/v1/assistant_service_pb2.py +88 -0
- yandex/cloud/ai/assistants/v1/assistant_service_pb2.pyi +293 -0
- yandex/cloud/ai/assistants/v1/assistant_service_pb2_grpc.py +232 -0
- yandex/cloud/ai/assistants/v1/assistant_service_pb2_grpc.pyi +127 -0
- yandex/cloud/ai/assistants/v1/common_pb2.py +33 -0
- yandex/cloud/ai/assistants/v1/common_pb2.pyi +91 -0
- yandex/cloud/ai/assistants/v1/common_pb2_grpc.py +4 -0
- yandex/cloud/ai/assistants/v1/common_pb2_grpc.pyi +17 -0
- yandex/cloud/ai/assistants/v1/runs/__init__.py +0 -0
- yandex/cloud/ai/assistants/v1/runs/run_pb2.py +40 -0
- yandex/cloud/ai/assistants/v1/runs/run_pb2.pyi +154 -0
- yandex/cloud/ai/assistants/v1/runs/run_pb2_grpc.py +4 -0
- yandex/cloud/ai/assistants/v1/runs/run_pb2_grpc.pyi +17 -0
- yandex/cloud/ai/assistants/v1/runs/run_service_pb2.py +77 -0
- yandex/cloud/ai/assistants/v1/runs/run_service_pb2.pyi +237 -0
- yandex/cloud/ai/assistants/v1/runs/run_service_pb2_grpc.py +199 -0
- yandex/cloud/ai/assistants/v1/runs/run_service_pb2_grpc.pyi +110 -0
- yandex/cloud/ai/assistants/v1/searchindex/__init__.py +0 -0
- yandex/cloud/ai/assistants/v1/searchindex/common_pb2.py +28 -0
- yandex/cloud/ai/assistants/v1/searchindex/common_pb2.pyi +47 -0
- yandex/cloud/ai/assistants/v1/searchindex/common_pb2_grpc.py +4 -0
- yandex/cloud/ai/assistants/v1/searchindex/common_pb2_grpc.pyi +17 -0
- yandex/cloud/ai/assistants/v1/searchindex/search_index_file_pb2.py +28 -0
- yandex/cloud/ai/assistants/v1/searchindex/search_index_file_pb2.pyi +43 -0
- yandex/cloud/ai/assistants/v1/searchindex/search_index_file_pb2_grpc.py +4 -0
- yandex/cloud/ai/assistants/v1/searchindex/search_index_file_pb2_grpc.pyi +17 -0
- yandex/cloud/ai/assistants/v1/searchindex/search_index_file_service_pb2.py +45 -0
- yandex/cloud/ai/assistants/v1/searchindex/search_index_file_service_pb2.pyi +72 -0
- yandex/cloud/ai/assistants/v1/searchindex/search_index_file_service_pb2_grpc.py +100 -0
- yandex/cloud/ai/assistants/v1/searchindex/search_index_file_service_pb2_grpc.pyi +59 -0
- yandex/cloud/ai/assistants/v1/searchindex/search_index_pb2.py +37 -0
- yandex/cloud/ai/assistants/v1/searchindex/search_index_pb2.pyi +132 -0
- yandex/cloud/ai/assistants/v1/searchindex/search_index_pb2_grpc.py +4 -0
- yandex/cloud/ai/assistants/v1/searchindex/search_index_pb2_grpc.pyi +17 -0
- yandex/cloud/ai/assistants/v1/searchindex/search_index_service_pb2.py +77 -0
- yandex/cloud/ai/assistants/v1/searchindex/search_index_service_pb2.pyi +205 -0
- yandex/cloud/ai/assistants/v1/searchindex/search_index_service_pb2_grpc.py +200 -0
- yandex/cloud/ai/assistants/v1/searchindex/search_index_service_pb2_grpc.pyi +111 -0
- yandex/cloud/ai/assistants/v1/threads/__init__.py +0 -0
- yandex/cloud/ai/assistants/v1/threads/message_pb2.py +45 -0
- yandex/cloud/ai/assistants/v1/threads/message_pb2.pyi +176 -0
- yandex/cloud/ai/assistants/v1/threads/message_pb2_grpc.py +4 -0
- yandex/cloud/ai/assistants/v1/threads/message_pb2_grpc.pyi +17 -0
- yandex/cloud/ai/assistants/v1/threads/message_service_pb2.py +55 -0
- yandex/cloud/ai/assistants/v1/threads/message_service_pb2.pyi +91 -0
- yandex/cloud/ai/assistants/v1/threads/message_service_pb2_grpc.py +133 -0
- yandex/cloud/ai/assistants/v1/threads/message_service_pb2_grpc.pyi +76 -0
- yandex/cloud/ai/assistants/v1/threads/thread_pb2.py +32 -0
- yandex/cloud/ai/assistants/v1/threads/thread_pb2.pyi +85 -0
- yandex/cloud/ai/assistants/v1/threads/thread_pb2_grpc.py +4 -0
- yandex/cloud/ai/assistants/v1/threads/thread_pb2_grpc.pyi +17 -0
- yandex/cloud/ai/assistants/v1/threads/thread_service_pb2.py +76 -0
- yandex/cloud/ai/assistants/v1/threads/thread_service_pb2.pyi +200 -0
- yandex/cloud/ai/assistants/v1/threads/thread_service_pb2_grpc.py +199 -0
- yandex/cloud/ai/assistants/v1/threads/thread_service_pb2_grpc.pyi +110 -0
- yandex/cloud/ai/assistants/v1/users/__init__.py +0 -0
- yandex/cloud/ai/assistants/v1/users/user_pb2.py +32 -0
- yandex/cloud/ai/assistants/v1/users/user_pb2.pyi +85 -0
- yandex/cloud/ai/assistants/v1/users/user_pb2_grpc.py +4 -0
- yandex/cloud/ai/assistants/v1/users/user_pb2_grpc.pyi +17 -0
- yandex/cloud/ai/assistants/v1/users/user_service_pb2.py +75 -0
- yandex/cloud/ai/assistants/v1/users/user_service_pb2.pyi +195 -0
- yandex/cloud/ai/assistants/v1/users/user_service_pb2_grpc.py +199 -0
- yandex/cloud/ai/assistants/v1/users/user_service_pb2_grpc.pyi +110 -0
- yandex/cloud/ai/common/__init__.py +0 -0
- yandex/cloud/ai/common/common_pb2.py +30 -0
- yandex/cloud/ai/common/common_pb2.pyi +69 -0
- yandex/cloud/ai/common/common_pb2_grpc.py +4 -0
- yandex/cloud/ai/common/common_pb2_grpc.pyi +17 -0
- yandex/cloud/ai/files/__init__.py +0 -0
- yandex/cloud/ai/files/v1/__init__.py +0 -0
- yandex/cloud/ai/files/v1/file_pb2.py +32 -0
- yandex/cloud/ai/files/v1/file_pb2.pyi +85 -0
- yandex/cloud/ai/files/v1/file_pb2_grpc.py +4 -0
- yandex/cloud/ai/files/v1/file_pb2_grpc.pyi +17 -0
- yandex/cloud/ai/files/v1/file_service_pb2.py +85 -0
- yandex/cloud/ai/files/v1/file_service_pb2.pyi +228 -0
- yandex/cloud/ai/files/v1/file_service_pb2_grpc.py +232 -0
- yandex/cloud/ai/files/v1/file_service_pb2_grpc.pyi +127 -0
- yandex/cloud/backup/v1/provider_service_pb2.py +12 -10
- yandex/cloud/backup/v1/provider_service_pb2.pyi +5 -1
- yandex/cloud/billing/v1/customer_pb2.pyi +32 -8
- yandex/cloud/billing/v1/customer_service_pb2.pyi +10 -2
- yandex/cloud/cloudrouter/__init__.py +0 -0
- yandex/cloud/cloudrouter/v1/__init__.py +0 -0
- yandex/cloud/cloudrouter/v1/routing_instance_pb2.py +42 -0
- yandex/cloud/cloudrouter/v1/routing_instance_pb2.pyi +215 -0
- yandex/cloud/cloudrouter/v1/routing_instance_pb2_grpc.py +4 -0
- yandex/cloud/cloudrouter/v1/routing_instance_pb2_grpc.pyi +17 -0
- yandex/cloud/cloudrouter/v1/routing_instance_service_pb2.py +57 -0
- yandex/cloud/cloudrouter/v1/routing_instance_service_pb2.pyi +137 -0
- yandex/cloud/cloudrouter/v1/routing_instance_service_pb2_grpc.py +179 -0
- yandex/cloud/cloudrouter/v1/routing_instance_service_pb2_grpc.pyi +138 -0
- yandex/cloud/iam/v1/refresh_token_pb2.py +29 -0
- yandex/cloud/iam/v1/refresh_token_pb2.pyi +98 -0
- yandex/cloud/iam/v1/refresh_token_pb2_grpc.py +4 -0
- yandex/cloud/iam/v1/refresh_token_pb2_grpc.pyi +17 -0
- yandex/cloud/iam/v1/refresh_token_service_pb2.py +67 -0
- yandex/cloud/iam/v1/refresh_token_service_pb2.pyi +186 -0
- yandex/cloud/iam/v1/refresh_token_service_pb2_grpc.py +105 -0
- yandex/cloud/iam/v1/refresh_token_service_pb2_grpc.pyi +71 -0
- yandex/cloud/iam/v1/service_control_pb2.py +5 -5
- yandex/cloud/iam/v1/service_control_pb2.pyi +4 -0
- yandex/cloud/lockbox/v1/secret_pb2.py +23 -11
- yandex/cloud/lockbox/v1/secret_pb2.pyi +73 -4
- yandex/cloud/lockbox/v1/secret_service_pb2.py +46 -46
- yandex/cloud/lockbox/v1/secret_service_pb2.pyi +14 -3
- yandex/cloud/mdb/clickhouse/v1/cluster_pb2.py +27 -25
- yandex/cloud/mdb/clickhouse/v1/cluster_pb2.pyi +16 -0
- yandex/cloud/mdb/clickhouse/v1/cluster_service_pb2.py +81 -57
- yandex/cloud/mdb/clickhouse/v1/cluster_service_pb2.pyi +144 -0
- yandex/cloud/mdb/clickhouse/v1/cluster_service_pb2_grpc.py +68 -0
- yandex/cloud/mdb/clickhouse/v1/cluster_service_pb2_grpc.pyi +40 -0
- yandex/cloud/oauth/claims_pb2.py +8 -7
- yandex/cloud/oauth/claims_pb2.pyi +9 -2
- yandex/cloud/serverless/eventrouter/v1/connector_service_pb2.pyi +1 -1
- yandex/cloud/serverless/eventrouter/v1/rule_pb2.pyi +3 -1
- yandex/cloud/serverless/eventrouter/v1/rule_service_pb2.pyi +2 -0
- yandex/cloud/storage/v1/s3api_pb2.py +35 -0
- yandex/cloud/storage/v1/s3api_pb2.pyi +181 -0
- yandex/cloud/storage/v1/s3api_pb2_grpc.py +4 -0
- yandex/cloud/storage/v1/s3api_pb2_grpc.pyi +17 -0
- yandexcloud/_sdk.py +2 -0
- {yandexcloud-0.317.0.dist-info → yandexcloud-0.319.0.dist-info}/METADATA +1 -1
- {yandexcloud-0.317.0.dist-info → yandexcloud-0.319.0.dist-info}/RECORD +135 -28
- {yandexcloud-0.317.0.dist-info → yandexcloud-0.319.0.dist-info}/AUTHORS +0 -0
- {yandexcloud-0.317.0.dist-info → yandexcloud-0.319.0.dist-info}/LICENSE +0 -0
- {yandexcloud-0.317.0.dist-info → yandexcloud-0.319.0.dist-info}/WHEEL +0 -0
- {yandexcloud-0.317.0.dist-info → yandexcloud-0.319.0.dist-info}/top_level.txt +0 -0
|
@@ -0,0 +1,69 @@
|
|
|
1
|
+
"""
|
|
2
|
+
@generated by mypy-protobuf. Do not edit manually!
|
|
3
|
+
isort:skip_file
|
|
4
|
+
"""
|
|
5
|
+
|
|
6
|
+
import builtins
|
|
7
|
+
import google.protobuf.descriptor
|
|
8
|
+
import google.protobuf.internal.enum_type_wrapper
|
|
9
|
+
import google.protobuf.message
|
|
10
|
+
import sys
|
|
11
|
+
import typing
|
|
12
|
+
|
|
13
|
+
if sys.version_info >= (3, 10):
|
|
14
|
+
import typing as typing_extensions
|
|
15
|
+
else:
|
|
16
|
+
import typing_extensions
|
|
17
|
+
|
|
18
|
+
DESCRIPTOR: google.protobuf.descriptor.FileDescriptor
|
|
19
|
+
|
|
20
|
+
@typing.final
|
|
21
|
+
class ExpirationConfig(google.protobuf.message.Message):
|
|
22
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
23
|
+
|
|
24
|
+
class _ExpirationPolicy:
|
|
25
|
+
ValueType = typing.NewType("ValueType", builtins.int)
|
|
26
|
+
V: typing_extensions.TypeAlias = ValueType
|
|
27
|
+
|
|
28
|
+
class _ExpirationPolicyEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[ExpirationConfig._ExpirationPolicy.ValueType], builtins.type):
|
|
29
|
+
DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor
|
|
30
|
+
EXPIRATION_POLICY_UNSPECIFIED: ExpirationConfig._ExpirationPolicy.ValueType # 0
|
|
31
|
+
STATIC: ExpirationConfig._ExpirationPolicy.ValueType # 1
|
|
32
|
+
SINCE_LAST_ACTIVE: ExpirationConfig._ExpirationPolicy.ValueType # 2
|
|
33
|
+
|
|
34
|
+
class ExpirationPolicy(_ExpirationPolicy, metaclass=_ExpirationPolicyEnumTypeWrapper): ...
|
|
35
|
+
EXPIRATION_POLICY_UNSPECIFIED: ExpirationConfig.ExpirationPolicy.ValueType # 0
|
|
36
|
+
STATIC: ExpirationConfig.ExpirationPolicy.ValueType # 1
|
|
37
|
+
SINCE_LAST_ACTIVE: ExpirationConfig.ExpirationPolicy.ValueType # 2
|
|
38
|
+
|
|
39
|
+
EXPIRATION_POLICY_FIELD_NUMBER: builtins.int
|
|
40
|
+
TTL_DAYS_FIELD_NUMBER: builtins.int
|
|
41
|
+
expiration_policy: global___ExpirationConfig.ExpirationPolicy.ValueType
|
|
42
|
+
ttl_days: builtins.int
|
|
43
|
+
def __init__(
|
|
44
|
+
self,
|
|
45
|
+
*,
|
|
46
|
+
expiration_policy: global___ExpirationConfig.ExpirationPolicy.ValueType = ...,
|
|
47
|
+
ttl_days: builtins.int = ...,
|
|
48
|
+
) -> None: ...
|
|
49
|
+
def ClearField(self, field_name: typing.Literal["expiration_policy", b"expiration_policy", "ttl_days", b"ttl_days"]) -> None: ...
|
|
50
|
+
|
|
51
|
+
global___ExpirationConfig = ExpirationConfig
|
|
52
|
+
|
|
53
|
+
@typing.final
|
|
54
|
+
class Error(google.protobuf.message.Message):
|
|
55
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
56
|
+
|
|
57
|
+
CODE_FIELD_NUMBER: builtins.int
|
|
58
|
+
MESSAGE_FIELD_NUMBER: builtins.int
|
|
59
|
+
code: builtins.int
|
|
60
|
+
message: builtins.str
|
|
61
|
+
def __init__(
|
|
62
|
+
self,
|
|
63
|
+
*,
|
|
64
|
+
code: builtins.int = ...,
|
|
65
|
+
message: builtins.str = ...,
|
|
66
|
+
) -> None: ...
|
|
67
|
+
def ClearField(self, field_name: typing.Literal["code", b"code", "message", b"message"]) -> None: ...
|
|
68
|
+
|
|
69
|
+
global___Error = Error
|
|
@@ -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
|
+
...
|
|
File without changes
|
|
File without changes
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# source: yandex/cloud/ai/files/v1/file.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 yandex.cloud.ai.common import common_pb2 as yandex_dot_cloud_dot_ai_dot_common_dot_common__pb2
|
|
15
|
+
from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2
|
|
16
|
+
|
|
17
|
+
|
|
18
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n#yandex/cloud/ai/files/v1/file.proto\x12\x18yandex.cloud.ai.files.v1\x1a#yandex/cloud/ai/common/common.proto\x1a\x1fgoogle/protobuf/timestamp.proto\"\xc3\x03\n\x04\x46ile\x12\n\n\x02id\x18\x01 \x01(\t\x12\x11\n\tfolder_id\x18\x02 \x01(\t\x12\x0c\n\x04name\x18\x03 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x04 \x01(\t\x12\x11\n\tmime_type\x18\x05 \x01(\t\x12\x12\n\ncreated_by\x18\x06 \x01(\t\x12.\n\ncreated_at\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x12\n\nupdated_by\x18\x08 \x01(\t\x12.\n\nupdated_at\x18\t \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x43\n\x11\x65xpiration_config\x18\n \x01(\x0b\x32(.yandex.cloud.ai.common.ExpirationConfig\x12.\n\nexpires_at\x18\x0b \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12:\n\x06labels\x18\x0c \x03(\x0b\x32*.yandex.cloud.ai.files.v1.File.LabelsEntry\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x42\x62\n\x1cyandex.cloud.api.ai.files.v1ZBgithub.com/yandex-cloud/go-genproto/yandex/cloud/ai/files/v1;filesb\x06proto3')
|
|
19
|
+
|
|
20
|
+
_globals = globals()
|
|
21
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
22
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'yandex.cloud.ai.files.v1.file_pb2', _globals)
|
|
23
|
+
if _descriptor._USE_C_DESCRIPTORS == False:
|
|
24
|
+
DESCRIPTOR._options = None
|
|
25
|
+
DESCRIPTOR._serialized_options = b'\n\034yandex.cloud.api.ai.files.v1ZBgithub.com/yandex-cloud/go-genproto/yandex/cloud/ai/files/v1;files'
|
|
26
|
+
_FILE_LABELSENTRY._options = None
|
|
27
|
+
_FILE_LABELSENTRY._serialized_options = b'8\001'
|
|
28
|
+
_globals['_FILE']._serialized_start=136
|
|
29
|
+
_globals['_FILE']._serialized_end=587
|
|
30
|
+
_globals['_FILE_LABELSENTRY']._serialized_start=542
|
|
31
|
+
_globals['_FILE_LABELSENTRY']._serialized_end=587
|
|
32
|
+
# @@protoc_insertion_point(module_scope)
|
|
@@ -0,0 +1,85 @@
|
|
|
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.message
|
|
11
|
+
import google.protobuf.timestamp_pb2
|
|
12
|
+
import typing
|
|
13
|
+
import yandex.cloud.ai.common.common_pb2
|
|
14
|
+
|
|
15
|
+
DESCRIPTOR: google.protobuf.descriptor.FileDescriptor
|
|
16
|
+
|
|
17
|
+
@typing.final
|
|
18
|
+
class File(google.protobuf.message.Message):
|
|
19
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
20
|
+
|
|
21
|
+
@typing.final
|
|
22
|
+
class LabelsEntry(google.protobuf.message.Message):
|
|
23
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
24
|
+
|
|
25
|
+
KEY_FIELD_NUMBER: builtins.int
|
|
26
|
+
VALUE_FIELD_NUMBER: builtins.int
|
|
27
|
+
key: builtins.str
|
|
28
|
+
value: builtins.str
|
|
29
|
+
def __init__(
|
|
30
|
+
self,
|
|
31
|
+
*,
|
|
32
|
+
key: builtins.str = ...,
|
|
33
|
+
value: builtins.str = ...,
|
|
34
|
+
) -> None: ...
|
|
35
|
+
def ClearField(self, field_name: typing.Literal["key", b"key", "value", b"value"]) -> None: ...
|
|
36
|
+
|
|
37
|
+
ID_FIELD_NUMBER: builtins.int
|
|
38
|
+
FOLDER_ID_FIELD_NUMBER: builtins.int
|
|
39
|
+
NAME_FIELD_NUMBER: builtins.int
|
|
40
|
+
DESCRIPTION_FIELD_NUMBER: builtins.int
|
|
41
|
+
MIME_TYPE_FIELD_NUMBER: builtins.int
|
|
42
|
+
CREATED_BY_FIELD_NUMBER: builtins.int
|
|
43
|
+
CREATED_AT_FIELD_NUMBER: builtins.int
|
|
44
|
+
UPDATED_BY_FIELD_NUMBER: builtins.int
|
|
45
|
+
UPDATED_AT_FIELD_NUMBER: builtins.int
|
|
46
|
+
EXPIRATION_CONFIG_FIELD_NUMBER: builtins.int
|
|
47
|
+
EXPIRES_AT_FIELD_NUMBER: builtins.int
|
|
48
|
+
LABELS_FIELD_NUMBER: builtins.int
|
|
49
|
+
id: builtins.str
|
|
50
|
+
folder_id: builtins.str
|
|
51
|
+
name: builtins.str
|
|
52
|
+
description: builtins.str
|
|
53
|
+
mime_type: builtins.str
|
|
54
|
+
created_by: builtins.str
|
|
55
|
+
updated_by: builtins.str
|
|
56
|
+
@property
|
|
57
|
+
def created_at(self) -> google.protobuf.timestamp_pb2.Timestamp: ...
|
|
58
|
+
@property
|
|
59
|
+
def updated_at(self) -> google.protobuf.timestamp_pb2.Timestamp: ...
|
|
60
|
+
@property
|
|
61
|
+
def expiration_config(self) -> yandex.cloud.ai.common.common_pb2.ExpirationConfig: ...
|
|
62
|
+
@property
|
|
63
|
+
def expires_at(self) -> google.protobuf.timestamp_pb2.Timestamp: ...
|
|
64
|
+
@property
|
|
65
|
+
def labels(self) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]: ...
|
|
66
|
+
def __init__(
|
|
67
|
+
self,
|
|
68
|
+
*,
|
|
69
|
+
id: builtins.str = ...,
|
|
70
|
+
folder_id: builtins.str = ...,
|
|
71
|
+
name: builtins.str = ...,
|
|
72
|
+
description: builtins.str = ...,
|
|
73
|
+
mime_type: builtins.str = ...,
|
|
74
|
+
created_by: builtins.str = ...,
|
|
75
|
+
created_at: google.protobuf.timestamp_pb2.Timestamp | None = ...,
|
|
76
|
+
updated_by: builtins.str = ...,
|
|
77
|
+
updated_at: google.protobuf.timestamp_pb2.Timestamp | None = ...,
|
|
78
|
+
expiration_config: yandex.cloud.ai.common.common_pb2.ExpirationConfig | None = ...,
|
|
79
|
+
expires_at: google.protobuf.timestamp_pb2.Timestamp | None = ...,
|
|
80
|
+
labels: collections.abc.Mapping[builtins.str, builtins.str] | None = ...,
|
|
81
|
+
) -> None: ...
|
|
82
|
+
def HasField(self, field_name: typing.Literal["created_at", b"created_at", "expiration_config", b"expiration_config", "expires_at", b"expires_at", "updated_at", b"updated_at"]) -> builtins.bool: ...
|
|
83
|
+
def ClearField(self, field_name: typing.Literal["created_at", b"created_at", "created_by", b"created_by", "description", b"description", "expiration_config", b"expiration_config", "expires_at", b"expires_at", "folder_id", b"folder_id", "id", b"id", "labels", b"labels", "mime_type", b"mime_type", "name", b"name", "updated_at", b"updated_at", "updated_by", b"updated_by"]) -> None: ...
|
|
84
|
+
|
|
85
|
+
global___File = File
|
|
@@ -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,85 @@
|
|
|
1
|
+
# -*- coding: utf-8 -*-
|
|
2
|
+
# Generated by the protocol buffer compiler. DO NOT EDIT!
|
|
3
|
+
# source: yandex/cloud/ai/files/v1/file_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 yandex.cloud.ai.common import common_pb2 as yandex_dot_cloud_dot_ai_dot_common_dot_common__pb2
|
|
15
|
+
from yandex.cloud.ai.files.v1 import file_pb2 as yandex_dot_cloud_dot_ai_dot_files_dot_v1_dot_file__pb2
|
|
16
|
+
from yandex.cloud import validation_pb2 as yandex_dot_cloud_dot_validation__pb2
|
|
17
|
+
from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2
|
|
18
|
+
from google.protobuf import field_mask_pb2 as google_dot_protobuf_dot_field__mask__pb2
|
|
19
|
+
|
|
20
|
+
|
|
21
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n+yandex/cloud/ai/files/v1/file_service.proto\x12\x18yandex.cloud.ai.files.v1\x1a#yandex/cloud/ai/common/common.proto\x1a#yandex/cloud/ai/files/v1/file.proto\x1a\x1dyandex/cloud/validation.proto\x1a\x1cgoogle/api/annotations.proto\x1a google/protobuf/field_mask.proto\"\xb6\x02\n\x11\x43reateFileRequest\x12\x17\n\tfolder_id\x18\x01 \x01(\tB\x04\xe8\xc7\x31\x01\x12\x0c\n\x04name\x18\x02 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x03 \x01(\t\x12\x11\n\tmime_type\x18\x04 \x01(\t\x12\x15\n\x07\x63ontent\x18\x05 \x01(\x0c\x42\x04\xe8\xc7\x31\x01\x12G\n\x06labels\x18\x06 \x03(\x0b\x32\x37.yandex.cloud.ai.files.v1.CreateFileRequest.LabelsEntry\x12\x43\n\x11\x65xpiration_config\x18\x07 \x01(\x0b\x32(.yandex.cloud.ai.common.ExpirationConfig\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\'\n\x0eGetFileRequest\x12\x15\n\x07\x66ile_id\x18\x01 \x01(\tB\x04\xe8\xc7\x31\x01\"*\n\x11GetFileUrlRequest\x12\x15\n\x07\x66ile_id\x18\x01 \x01(\tB\x04\xe8\xc7\x31\x01\"!\n\x12GetFileUrlResponse\x12\x0b\n\x03url\x18\x01 \x01(\t\"\xc1\x02\n\x11UpdateFileRequest\x12\x15\n\x07\x66ile_id\x18\x01 \x01(\tB\x04\xe8\xc7\x31\x01\x12\x35\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMaskB\x04\xe8\xc7\x31\x01\x12\x0c\n\x04name\x18\x03 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x04 \x01(\t\x12\x43\n\x11\x65xpiration_config\x18\x05 \x01(\x0b\x32(.yandex.cloud.ai.common.ExpirationConfig\x12G\n\x06labels\x18\x06 \x03(\x0b\x32\x37.yandex.cloud.ai.files.v1.UpdateFileRequest.LabelsEntry\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"*\n\x11\x44\x65leteFileRequest\x12\x15\n\x07\x66ile_id\x18\x01 \x01(\tB\x04\xe8\xc7\x31\x01\"\x14\n\x12\x44\x65leteFileResponse\"R\n\x10ListFilesRequest\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\"[\n\x11ListFilesResponse\x12-\n\x05\x66iles\x18\x01 \x03(\x0b\x32\x1e.yandex.cloud.ai.files.v1.File\x12\x17\n\x0fnext_page_token\x18\x02 \x01(\t2\xfb\x05\n\x0b\x46ileService\x12q\n\x06\x43reate\x12+.yandex.cloud.ai.files.v1.CreateFileRequest\x1a\x1e.yandex.cloud.ai.files.v1.File\"\x1a\x82\xd3\xe4\x93\x02\x14\"\x0f/files/v1/files:\x01*\x12r\n\x03Get\x12(.yandex.cloud.ai.files.v1.GetFileRequest\x1a\x1e.yandex.cloud.ai.files.v1.File\"!\x82\xd3\xe4\x93\x02\x1b\x12\x19/files/v1/files/{file_id}\x12\x83\x01\n\x06GetUrl\x12+.yandex.cloud.ai.files.v1.GetFileUrlRequest\x1a,.yandex.cloud.ai.files.v1.GetFileUrlResponse\"\x1e\x82\xd3\xe4\x93\x02\x18\x12\x16/files/v1/files:getUrl\x12|\n\x06Update\x12+.yandex.cloud.ai.files.v1.UpdateFileRequest\x1a\x1e.yandex.cloud.ai.files.v1.File\"%\x82\xd3\xe4\x93\x02\x1f\x32\x1a/files/v1/update/{file_id}:\x01*\x12\x86\x01\n\x06\x44\x65lete\x12+.yandex.cloud.ai.files.v1.DeleteFileRequest\x1a,.yandex.cloud.ai.files.v1.DeleteFileResponse\"!\x82\xd3\xe4\x93\x02\x1b*\x19/files/v1/files/{file_id}\x12x\n\x04List\x12*.yandex.cloud.ai.files.v1.ListFilesRequest\x1a+.yandex.cloud.ai.files.v1.ListFilesResponse\"\x17\x82\xd3\xe4\x93\x02\x11\x12\x0f/files/v1/filesBb\n\x1cyandex.cloud.api.ai.files.v1ZBgithub.com/yandex-cloud/go-genproto/yandex/cloud/ai/files/v1;filesb\x06proto3')
|
|
22
|
+
|
|
23
|
+
_globals = globals()
|
|
24
|
+
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
25
|
+
_builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'yandex.cloud.ai.files.v1.file_service_pb2', _globals)
|
|
26
|
+
if _descriptor._USE_C_DESCRIPTORS == False:
|
|
27
|
+
DESCRIPTOR._options = None
|
|
28
|
+
DESCRIPTOR._serialized_options = b'\n\034yandex.cloud.api.ai.files.v1ZBgithub.com/yandex-cloud/go-genproto/yandex/cloud/ai/files/v1;files'
|
|
29
|
+
_CREATEFILEREQUEST_LABELSENTRY._options = None
|
|
30
|
+
_CREATEFILEREQUEST_LABELSENTRY._serialized_options = b'8\001'
|
|
31
|
+
_CREATEFILEREQUEST.fields_by_name['folder_id']._options = None
|
|
32
|
+
_CREATEFILEREQUEST.fields_by_name['folder_id']._serialized_options = b'\350\3071\001'
|
|
33
|
+
_CREATEFILEREQUEST.fields_by_name['content']._options = None
|
|
34
|
+
_CREATEFILEREQUEST.fields_by_name['content']._serialized_options = b'\350\3071\001'
|
|
35
|
+
_GETFILEREQUEST.fields_by_name['file_id']._options = None
|
|
36
|
+
_GETFILEREQUEST.fields_by_name['file_id']._serialized_options = b'\350\3071\001'
|
|
37
|
+
_GETFILEURLREQUEST.fields_by_name['file_id']._options = None
|
|
38
|
+
_GETFILEURLREQUEST.fields_by_name['file_id']._serialized_options = b'\350\3071\001'
|
|
39
|
+
_UPDATEFILEREQUEST_LABELSENTRY._options = None
|
|
40
|
+
_UPDATEFILEREQUEST_LABELSENTRY._serialized_options = b'8\001'
|
|
41
|
+
_UPDATEFILEREQUEST.fields_by_name['file_id']._options = None
|
|
42
|
+
_UPDATEFILEREQUEST.fields_by_name['file_id']._serialized_options = b'\350\3071\001'
|
|
43
|
+
_UPDATEFILEREQUEST.fields_by_name['update_mask']._options = None
|
|
44
|
+
_UPDATEFILEREQUEST.fields_by_name['update_mask']._serialized_options = b'\350\3071\001'
|
|
45
|
+
_DELETEFILEREQUEST.fields_by_name['file_id']._options = None
|
|
46
|
+
_DELETEFILEREQUEST.fields_by_name['file_id']._serialized_options = b'\350\3071\001'
|
|
47
|
+
_LISTFILESREQUEST.fields_by_name['folder_id']._options = None
|
|
48
|
+
_LISTFILESREQUEST.fields_by_name['folder_id']._serialized_options = b'\350\3071\001'
|
|
49
|
+
_FILESERVICE.methods_by_name['Create']._options = None
|
|
50
|
+
_FILESERVICE.methods_by_name['Create']._serialized_options = b'\202\323\344\223\002\024\"\017/files/v1/files:\001*'
|
|
51
|
+
_FILESERVICE.methods_by_name['Get']._options = None
|
|
52
|
+
_FILESERVICE.methods_by_name['Get']._serialized_options = b'\202\323\344\223\002\033\022\031/files/v1/files/{file_id}'
|
|
53
|
+
_FILESERVICE.methods_by_name['GetUrl']._options = None
|
|
54
|
+
_FILESERVICE.methods_by_name['GetUrl']._serialized_options = b'\202\323\344\223\002\030\022\026/files/v1/files:getUrl'
|
|
55
|
+
_FILESERVICE.methods_by_name['Update']._options = None
|
|
56
|
+
_FILESERVICE.methods_by_name['Update']._serialized_options = b'\202\323\344\223\002\0372\032/files/v1/update/{file_id}:\001*'
|
|
57
|
+
_FILESERVICE.methods_by_name['Delete']._options = None
|
|
58
|
+
_FILESERVICE.methods_by_name['Delete']._serialized_options = b'\202\323\344\223\002\033*\031/files/v1/files/{file_id}'
|
|
59
|
+
_FILESERVICE.methods_by_name['List']._options = None
|
|
60
|
+
_FILESERVICE.methods_by_name['List']._serialized_options = b'\202\323\344\223\002\021\022\017/files/v1/files'
|
|
61
|
+
_globals['_CREATEFILEREQUEST']._serialized_start=243
|
|
62
|
+
_globals['_CREATEFILEREQUEST']._serialized_end=553
|
|
63
|
+
_globals['_CREATEFILEREQUEST_LABELSENTRY']._serialized_start=508
|
|
64
|
+
_globals['_CREATEFILEREQUEST_LABELSENTRY']._serialized_end=553
|
|
65
|
+
_globals['_GETFILEREQUEST']._serialized_start=555
|
|
66
|
+
_globals['_GETFILEREQUEST']._serialized_end=594
|
|
67
|
+
_globals['_GETFILEURLREQUEST']._serialized_start=596
|
|
68
|
+
_globals['_GETFILEURLREQUEST']._serialized_end=638
|
|
69
|
+
_globals['_GETFILEURLRESPONSE']._serialized_start=640
|
|
70
|
+
_globals['_GETFILEURLRESPONSE']._serialized_end=673
|
|
71
|
+
_globals['_UPDATEFILEREQUEST']._serialized_start=676
|
|
72
|
+
_globals['_UPDATEFILEREQUEST']._serialized_end=997
|
|
73
|
+
_globals['_UPDATEFILEREQUEST_LABELSENTRY']._serialized_start=508
|
|
74
|
+
_globals['_UPDATEFILEREQUEST_LABELSENTRY']._serialized_end=553
|
|
75
|
+
_globals['_DELETEFILEREQUEST']._serialized_start=999
|
|
76
|
+
_globals['_DELETEFILEREQUEST']._serialized_end=1041
|
|
77
|
+
_globals['_DELETEFILERESPONSE']._serialized_start=1043
|
|
78
|
+
_globals['_DELETEFILERESPONSE']._serialized_end=1063
|
|
79
|
+
_globals['_LISTFILESREQUEST']._serialized_start=1065
|
|
80
|
+
_globals['_LISTFILESREQUEST']._serialized_end=1147
|
|
81
|
+
_globals['_LISTFILESRESPONSE']._serialized_start=1149
|
|
82
|
+
_globals['_LISTFILESRESPONSE']._serialized_end=1240
|
|
83
|
+
_globals['_FILESERVICE']._serialized_start=1243
|
|
84
|
+
_globals['_FILESERVICE']._serialized_end=2006
|
|
85
|
+
# @@protoc_insertion_point(module_scope)
|
|
@@ -0,0 +1,228 @@
|
|
|
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.ai.common.common_pb2
|
|
14
|
+
import yandex.cloud.ai.files.v1.file_pb2
|
|
15
|
+
|
|
16
|
+
DESCRIPTOR: google.protobuf.descriptor.FileDescriptor
|
|
17
|
+
|
|
18
|
+
@typing.final
|
|
19
|
+
class CreateFileRequest(google.protobuf.message.Message):
|
|
20
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
21
|
+
|
|
22
|
+
@typing.final
|
|
23
|
+
class LabelsEntry(google.protobuf.message.Message):
|
|
24
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
25
|
+
|
|
26
|
+
KEY_FIELD_NUMBER: builtins.int
|
|
27
|
+
VALUE_FIELD_NUMBER: builtins.int
|
|
28
|
+
key: builtins.str
|
|
29
|
+
value: builtins.str
|
|
30
|
+
def __init__(
|
|
31
|
+
self,
|
|
32
|
+
*,
|
|
33
|
+
key: builtins.str = ...,
|
|
34
|
+
value: builtins.str = ...,
|
|
35
|
+
) -> None: ...
|
|
36
|
+
def ClearField(self, field_name: typing.Literal["key", b"key", "value", b"value"]) -> None: ...
|
|
37
|
+
|
|
38
|
+
FOLDER_ID_FIELD_NUMBER: builtins.int
|
|
39
|
+
NAME_FIELD_NUMBER: builtins.int
|
|
40
|
+
DESCRIPTION_FIELD_NUMBER: builtins.int
|
|
41
|
+
MIME_TYPE_FIELD_NUMBER: builtins.int
|
|
42
|
+
CONTENT_FIELD_NUMBER: builtins.int
|
|
43
|
+
LABELS_FIELD_NUMBER: builtins.int
|
|
44
|
+
EXPIRATION_CONFIG_FIELD_NUMBER: builtins.int
|
|
45
|
+
folder_id: builtins.str
|
|
46
|
+
name: builtins.str
|
|
47
|
+
description: builtins.str
|
|
48
|
+
mime_type: builtins.str
|
|
49
|
+
content: builtins.bytes
|
|
50
|
+
@property
|
|
51
|
+
def labels(self) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]: ...
|
|
52
|
+
@property
|
|
53
|
+
def expiration_config(self) -> yandex.cloud.ai.common.common_pb2.ExpirationConfig: ...
|
|
54
|
+
def __init__(
|
|
55
|
+
self,
|
|
56
|
+
*,
|
|
57
|
+
folder_id: builtins.str = ...,
|
|
58
|
+
name: builtins.str = ...,
|
|
59
|
+
description: builtins.str = ...,
|
|
60
|
+
mime_type: builtins.str = ...,
|
|
61
|
+
content: builtins.bytes = ...,
|
|
62
|
+
labels: collections.abc.Mapping[builtins.str, builtins.str] | None = ...,
|
|
63
|
+
expiration_config: yandex.cloud.ai.common.common_pb2.ExpirationConfig | None = ...,
|
|
64
|
+
) -> None: ...
|
|
65
|
+
def HasField(self, field_name: typing.Literal["expiration_config", b"expiration_config"]) -> builtins.bool: ...
|
|
66
|
+
def ClearField(self, field_name: typing.Literal["content", b"content", "description", b"description", "expiration_config", b"expiration_config", "folder_id", b"folder_id", "labels", b"labels", "mime_type", b"mime_type", "name", b"name"]) -> None: ...
|
|
67
|
+
|
|
68
|
+
global___CreateFileRequest = CreateFileRequest
|
|
69
|
+
|
|
70
|
+
@typing.final
|
|
71
|
+
class GetFileRequest(google.protobuf.message.Message):
|
|
72
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
73
|
+
|
|
74
|
+
FILE_ID_FIELD_NUMBER: builtins.int
|
|
75
|
+
file_id: builtins.str
|
|
76
|
+
def __init__(
|
|
77
|
+
self,
|
|
78
|
+
*,
|
|
79
|
+
file_id: builtins.str = ...,
|
|
80
|
+
) -> None: ...
|
|
81
|
+
def ClearField(self, field_name: typing.Literal["file_id", b"file_id"]) -> None: ...
|
|
82
|
+
|
|
83
|
+
global___GetFileRequest = GetFileRequest
|
|
84
|
+
|
|
85
|
+
@typing.final
|
|
86
|
+
class GetFileUrlRequest(google.protobuf.message.Message):
|
|
87
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
88
|
+
|
|
89
|
+
FILE_ID_FIELD_NUMBER: builtins.int
|
|
90
|
+
file_id: builtins.str
|
|
91
|
+
def __init__(
|
|
92
|
+
self,
|
|
93
|
+
*,
|
|
94
|
+
file_id: builtins.str = ...,
|
|
95
|
+
) -> None: ...
|
|
96
|
+
def ClearField(self, field_name: typing.Literal["file_id", b"file_id"]) -> None: ...
|
|
97
|
+
|
|
98
|
+
global___GetFileUrlRequest = GetFileUrlRequest
|
|
99
|
+
|
|
100
|
+
@typing.final
|
|
101
|
+
class GetFileUrlResponse(google.protobuf.message.Message):
|
|
102
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
103
|
+
|
|
104
|
+
URL_FIELD_NUMBER: builtins.int
|
|
105
|
+
url: builtins.str
|
|
106
|
+
def __init__(
|
|
107
|
+
self,
|
|
108
|
+
*,
|
|
109
|
+
url: builtins.str = ...,
|
|
110
|
+
) -> None: ...
|
|
111
|
+
def ClearField(self, field_name: typing.Literal["url", b"url"]) -> None: ...
|
|
112
|
+
|
|
113
|
+
global___GetFileUrlResponse = GetFileUrlResponse
|
|
114
|
+
|
|
115
|
+
@typing.final
|
|
116
|
+
class UpdateFileRequest(google.protobuf.message.Message):
|
|
117
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
118
|
+
|
|
119
|
+
@typing.final
|
|
120
|
+
class LabelsEntry(google.protobuf.message.Message):
|
|
121
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
122
|
+
|
|
123
|
+
KEY_FIELD_NUMBER: builtins.int
|
|
124
|
+
VALUE_FIELD_NUMBER: builtins.int
|
|
125
|
+
key: builtins.str
|
|
126
|
+
value: builtins.str
|
|
127
|
+
def __init__(
|
|
128
|
+
self,
|
|
129
|
+
*,
|
|
130
|
+
key: builtins.str = ...,
|
|
131
|
+
value: builtins.str = ...,
|
|
132
|
+
) -> None: ...
|
|
133
|
+
def ClearField(self, field_name: typing.Literal["key", b"key", "value", b"value"]) -> None: ...
|
|
134
|
+
|
|
135
|
+
FILE_ID_FIELD_NUMBER: builtins.int
|
|
136
|
+
UPDATE_MASK_FIELD_NUMBER: builtins.int
|
|
137
|
+
NAME_FIELD_NUMBER: builtins.int
|
|
138
|
+
DESCRIPTION_FIELD_NUMBER: builtins.int
|
|
139
|
+
EXPIRATION_CONFIG_FIELD_NUMBER: builtins.int
|
|
140
|
+
LABELS_FIELD_NUMBER: builtins.int
|
|
141
|
+
file_id: builtins.str
|
|
142
|
+
name: builtins.str
|
|
143
|
+
description: builtins.str
|
|
144
|
+
@property
|
|
145
|
+
def update_mask(self) -> google.protobuf.field_mask_pb2.FieldMask: ...
|
|
146
|
+
@property
|
|
147
|
+
def expiration_config(self) -> yandex.cloud.ai.common.common_pb2.ExpirationConfig: ...
|
|
148
|
+
@property
|
|
149
|
+
def labels(self) -> google.protobuf.internal.containers.ScalarMap[builtins.str, builtins.str]: ...
|
|
150
|
+
def __init__(
|
|
151
|
+
self,
|
|
152
|
+
*,
|
|
153
|
+
file_id: builtins.str = ...,
|
|
154
|
+
update_mask: google.protobuf.field_mask_pb2.FieldMask | None = ...,
|
|
155
|
+
name: builtins.str = ...,
|
|
156
|
+
description: builtins.str = ...,
|
|
157
|
+
expiration_config: yandex.cloud.ai.common.common_pb2.ExpirationConfig | None = ...,
|
|
158
|
+
labels: collections.abc.Mapping[builtins.str, builtins.str] | None = ...,
|
|
159
|
+
) -> None: ...
|
|
160
|
+
def HasField(self, field_name: typing.Literal["expiration_config", b"expiration_config", "update_mask", b"update_mask"]) -> builtins.bool: ...
|
|
161
|
+
def ClearField(self, field_name: typing.Literal["description", b"description", "expiration_config", b"expiration_config", "file_id", b"file_id", "labels", b"labels", "name", b"name", "update_mask", b"update_mask"]) -> None: ...
|
|
162
|
+
|
|
163
|
+
global___UpdateFileRequest = UpdateFileRequest
|
|
164
|
+
|
|
165
|
+
@typing.final
|
|
166
|
+
class DeleteFileRequest(google.protobuf.message.Message):
|
|
167
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
168
|
+
|
|
169
|
+
FILE_ID_FIELD_NUMBER: builtins.int
|
|
170
|
+
file_id: builtins.str
|
|
171
|
+
def __init__(
|
|
172
|
+
self,
|
|
173
|
+
*,
|
|
174
|
+
file_id: builtins.str = ...,
|
|
175
|
+
) -> None: ...
|
|
176
|
+
def ClearField(self, field_name: typing.Literal["file_id", b"file_id"]) -> None: ...
|
|
177
|
+
|
|
178
|
+
global___DeleteFileRequest = DeleteFileRequest
|
|
179
|
+
|
|
180
|
+
@typing.final
|
|
181
|
+
class DeleteFileResponse(google.protobuf.message.Message):
|
|
182
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
183
|
+
|
|
184
|
+
def __init__(
|
|
185
|
+
self,
|
|
186
|
+
) -> None: ...
|
|
187
|
+
|
|
188
|
+
global___DeleteFileResponse = DeleteFileResponse
|
|
189
|
+
|
|
190
|
+
@typing.final
|
|
191
|
+
class ListFilesRequest(google.protobuf.message.Message):
|
|
192
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
193
|
+
|
|
194
|
+
FOLDER_ID_FIELD_NUMBER: builtins.int
|
|
195
|
+
PAGE_SIZE_FIELD_NUMBER: builtins.int
|
|
196
|
+
PAGE_TOKEN_FIELD_NUMBER: builtins.int
|
|
197
|
+
folder_id: builtins.str
|
|
198
|
+
page_size: builtins.int
|
|
199
|
+
page_token: builtins.str
|
|
200
|
+
def __init__(
|
|
201
|
+
self,
|
|
202
|
+
*,
|
|
203
|
+
folder_id: builtins.str = ...,
|
|
204
|
+
page_size: builtins.int = ...,
|
|
205
|
+
page_token: builtins.str = ...,
|
|
206
|
+
) -> None: ...
|
|
207
|
+
def ClearField(self, field_name: typing.Literal["folder_id", b"folder_id", "page_size", b"page_size", "page_token", b"page_token"]) -> None: ...
|
|
208
|
+
|
|
209
|
+
global___ListFilesRequest = ListFilesRequest
|
|
210
|
+
|
|
211
|
+
@typing.final
|
|
212
|
+
class ListFilesResponse(google.protobuf.message.Message):
|
|
213
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
214
|
+
|
|
215
|
+
FILES_FIELD_NUMBER: builtins.int
|
|
216
|
+
NEXT_PAGE_TOKEN_FIELD_NUMBER: builtins.int
|
|
217
|
+
next_page_token: builtins.str
|
|
218
|
+
@property
|
|
219
|
+
def files(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[yandex.cloud.ai.files.v1.file_pb2.File]: ...
|
|
220
|
+
def __init__(
|
|
221
|
+
self,
|
|
222
|
+
*,
|
|
223
|
+
files: collections.abc.Iterable[yandex.cloud.ai.files.v1.file_pb2.File] | None = ...,
|
|
224
|
+
next_page_token: builtins.str = ...,
|
|
225
|
+
) -> None: ...
|
|
226
|
+
def ClearField(self, field_name: typing.Literal["files", b"files", "next_page_token", b"next_page_token"]) -> None: ...
|
|
227
|
+
|
|
228
|
+
global___ListFilesResponse = ListFilesResponse
|