yandexcloud 0.324.0__py3-none-any.whl → 0.326.0__py3-none-any.whl
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Potentially problematic release.
This version of yandexcloud might be problematic. Click here for more details.
- yandex/cloud/ai/assistants/v1/searchindex/common_pb2.py +18 -5
- yandex/cloud/ai/assistants/v1/searchindex/common_pb2.pyi +149 -0
- yandex/cloud/ai/assistants/v1/searchindex/search_index_file_pb2.py +3 -4
- yandex/cloud/ai/assistants/v1/searchindex/search_index_file_pb2.pyi +2 -7
- yandex/cloud/ai/assistants/v1/searchindex/search_index_pb2.py +10 -8
- yandex/cloud/ai/assistants/v1/searchindex/search_index_pb2.pyi +63 -5
- yandex/cloud/ai/assistants/v1/searchindex/search_index_service_pb2.py +20 -20
- yandex/cloud/ai/assistants/v1/searchindex/search_index_service_pb2.pyi +9 -3
- yandex/cloud/ai/foundation_models/v1/embedding/embedding_service_pb2.pyi +1 -1
- yandex/cloud/ai/foundation_models/v1/image_generation/image_generation_pb2.pyi +4 -2
- yandex/cloud/ai/foundation_models/v1/image_generation/image_generation_service_pb2.pyi +6 -3
- yandex/cloud/ai/foundation_models/v1/image_generation/image_generation_service_pb2_grpc.py +3 -3
- yandex/cloud/ai/foundation_models/v1/image_generation/image_generation_service_pb2_grpc.pyi +3 -3
- yandex/cloud/ai/foundation_models/v1/text_classification/text_classification_pb2.pyi +3 -3
- yandex/cloud/ai/foundation_models/v1/text_classification/text_classification_service_pb2.pyi +25 -10
- yandex/cloud/ai/foundation_models/v1/text_classification/text_classification_service_pb2_grpc.py +11 -5
- yandex/cloud/ai/foundation_models/v1/text_classification/text_classification_service_pb2_grpc.pyi +33 -9
- yandex/cloud/ai/foundation_models/v1/text_common_pb2.pyi +3 -3
- yandex/cloud/ai/stt/v3/stt_pb2.py +5 -3
- yandex/cloud/ai/stt/v3/stt_pb2.pyi +15 -0
- yandex/cloud/ai/stt/v3/stt_service_pb2.py +10 -7
- yandex/cloud/ai/stt/v3/stt_service_pb2_grpc.py +34 -0
- yandex/cloud/ai/stt/v3/stt_service_pb2_grpc.pyi +18 -0
- yandex/cloud/apploadbalancer/v1/backend_group_pb2.py +28 -26
- yandex/cloud/apploadbalancer/v1/backend_group_pb2.pyi +16 -2
- yandex/cloud/backup/v1/policy_pb2.pyi +1 -1
- yandex/cloud/cdn/v1/resource_service_pb2.py +14 -14
- yandex/cloud/cdn/v1/resource_service_pb2.pyi +5 -1
- yandex/cloud/cloudapps/workload/v1/cloud_application_service_pb2.py +14 -9
- yandex/cloud/cloudregistry/v1/artifact_pb2.pyi +2 -0
- yandex/cloud/cloudregistry/v1/artifact_service_pb2.pyi +3 -3
- yandex/cloud/cloudregistry/v1/artifact_service_pb2_grpc.py +9 -6
- yandex/cloud/cloudregistry/v1/artifact_service_pb2_grpc.pyi +15 -9
- yandex/cloud/cloudregistry/v1/registry_pb2.pyi +1 -1
- yandex/cloud/cloudregistry/v1/registry_service_pb2.py +42 -38
- yandex/cloud/cloudregistry/v1/registry_service_pb2_grpc.py +2 -2
- yandex/cloud/cloudregistry/v1/registry_service_pb2_grpc.pyi +6 -6
- yandex/cloud/datasphere/v2/jobs/jobs_pb2.py +9 -5
- yandex/cloud/datasphere/v2/jobs/jobs_pb2.pyi +96 -0
- yandex/cloud/datasphere/v2/jobs/project_job_service_pb2.py +55 -53
- yandex/cloud/datasphere/v2/jobs/project_job_service_pb2.pyi +14 -2
- yandex/cloud/iam/v1/user_account_pb2.py +12 -11
- yandex/cloud/iam/v1/user_account_pb2.pyi +9 -4
- yandex/cloud/iam/v1/user_account_service_pb2_grpc.py +3 -3
- yandex/cloud/iam/v1/user_account_service_pb2_grpc.pyi +3 -3
- yandex/cloud/mdb/redis/v1/backup_pb2.py +4 -2
- yandex/cloud/mdb/redis/v1/backup_pb2.pyi +31 -1
- yandex/cloud/mdb/redis/v1/config/redis_pb2.py +8 -8
- yandex/cloud/mdb/redis/v1/config/redis_pb2.pyi +14 -2
- yandex/cloud/organizationmanager/v1/user_account_pb2.pyi +2 -2
- yandex/cloud/searchapi/__init__.py +0 -0
- yandex/cloud/searchapi/v2/__init__.py +0 -0
- yandex/cloud/searchapi/v2/search_query_pb2.py +37 -0
- yandex/cloud/searchapi/v2/search_query_pb2.pyi +100 -0
- yandex/cloud/searchapi/v2/search_query_pb2_grpc.py +4 -0
- yandex/cloud/searchapi/v2/search_query_pb2_grpc.pyi +17 -0
- yandex/cloud/searchapi/v2/search_service_pb2.py +61 -0
- yandex/cloud/searchapi/v2/search_service_pb2.pyi +218 -0
- yandex/cloud/searchapi/v2/search_service_pb2_grpc.py +70 -0
- yandex/cloud/searchapi/v2/search_service_pb2_grpc.pyi +48 -0
- yandex/cloud/serverless/containers/v1/container_pb2.py +42 -34
- yandex/cloud/serverless/containers/v1/container_pb2.pyi +52 -2
- yandex/cloud/serverless/containers/v1/container_service_pb2.py +18 -18
- yandex/cloud/serverless/containers/v1/container_service_pb2.pyi +8 -2
- yandex/cloud/serverless/eventrouter/v1/connector_pb2.py +9 -9
- yandex/cloud/serverless/eventrouter/v1/connector_pb2.pyi +8 -0
- yandex/cloud/serverless/eventrouter/v1/rule_pb2.py +31 -31
- yandex/cloud/serverless/eventrouter/v1/rule_pb2.pyi +4 -0
- yandex/cloud/serverless/workflows/v1/execution_service_pb2.py +23 -15
- yandex/cloud/serverless/workflows/v1/execution_service_pb2.pyi +32 -0
- yandex/cloud/serverless/workflows/v1/execution_service_pb2_grpc.py +34 -0
- yandex/cloud/serverless/workflows/v1/execution_service_pb2_grpc.pyi +20 -0
- yandex/cloud/smartwebsecurity/v1/security_profile_pb2.py +46 -40
- yandex/cloud/smartwebsecurity/v1/security_profile_pb2.pyi +47 -2
- yandex/cloud/smartwebsecurity/v1/security_profile_service_pb2.py +18 -18
- yandex/cloud/smartwebsecurity/v1/security_profile_service_pb2.pyi +16 -3
- yandex/cloud/speechsense/v1/talk_pb2.py +14 -6
- yandex/cloud/speechsense/v1/talk_pb2.pyi +89 -2
- yandex/cloud/speechsense/v1/talk_service_pb2.py +2 -6
- yandex/cloud/video/v1/channel_pb2.py +1 -1
- yandex/cloud/video/v1/channel_service_pb2.py +58 -25
- yandex/cloud/video/v1/channel_service_pb2.pyi +40 -0
- yandex/cloud/video/v1/channel_service_pb2_grpc.py +34 -0
- yandex/cloud/video/v1/channel_service_pb2_grpc.pyi +20 -0
- yandex/cloud/video/v1/episode_pb2.py +10 -8
- yandex/cloud/video/v1/episode_pb2.pyi +19 -3
- yandex/cloud/video/v1/episode_service_pb2.py +96 -43
- yandex/cloud/video/v1/episode_service_pb2.pyi +68 -6
- yandex/cloud/video/v1/episode_service_pb2_grpc.py +34 -0
- yandex/cloud/video/v1/episode_service_pb2_grpc.pyi +20 -0
- yandex/cloud/video/v1/manifest_pb2.py +3 -3
- yandex/cloud/video/v1/manifest_pb2.pyi +1 -5
- yandex/cloud/video/v1/playlist_pb2.py +29 -0
- yandex/cloud/video/v1/playlist_pb2.pyi +89 -0
- yandex/cloud/video/v1/playlist_pb2_grpc.py +4 -0
- yandex/cloud/video/v1/playlist_pb2_grpc.pyi +17 -0
- yandex/cloud/video/v1/playlist_service_pb2.py +102 -0
- yandex/cloud/video/v1/playlist_service_pb2.pyi +331 -0
- yandex/cloud/video/v1/playlist_service_pb2_grpc.py +276 -0
- yandex/cloud/video/v1/playlist_service_pb2_grpc.pyi +172 -0
- yandex/cloud/video/v1/stream_line_pb2.py +1 -1
- yandex/cloud/video/v1/stream_line_service_pb2.py +122 -55
- yandex/cloud/video/v1/stream_line_service_pb2.pyi +80 -0
- yandex/cloud/video/v1/stream_line_service_pb2_grpc.py +68 -0
- yandex/cloud/video/v1/stream_line_service_pb2_grpc.pyi +40 -0
- yandex/cloud/video/v1/stream_pb2.py +1 -1
- yandex/cloud/video/v1/stream_service_pb2.py +98 -37
- yandex/cloud/video/v1/stream_service_pb2.pyi +80 -0
- yandex/cloud/video/v1/stream_service_pb2_grpc.py +68 -0
- yandex/cloud/video/v1/stream_service_pb2_grpc.pyi +40 -0
- yandex/cloud/video/v1/subtitle_pb2.py +29 -0
- yandex/cloud/video/v1/subtitle_pb2.pyi +90 -0
- yandex/cloud/video/v1/subtitle_pb2_grpc.py +4 -0
- yandex/cloud/video/v1/subtitle_pb2_grpc.pyi +17 -0
- yandex/cloud/video/v1/subtitle_service_pb2.py +83 -0
- yandex/cloud/video/v1/subtitle_service_pb2.pyi +212 -0
- yandex/cloud/video/v1/subtitle_service_pb2_grpc.py +208 -0
- yandex/cloud/video/v1/subtitle_service_pb2_grpc.pyi +132 -0
- yandex/cloud/video/v1/thumbnail_service_pb2.py +50 -21
- yandex/cloud/video/v1/thumbnail_service_pb2.pyi +48 -0
- yandex/cloud/video/v1/thumbnail_service_pb2_grpc.py +69 -0
- yandex/cloud/video/v1/thumbnail_service_pb2_grpc.pyi +41 -0
- yandex/cloud/video/v1/video_pb2.py +18 -14
- yandex/cloud/video/v1/video_pb2.pyi +55 -3
- yandex/cloud/video/v1/video_service_pb2.py +118 -49
- yandex/cloud/video/v1/video_service_pb2.pyi +161 -6
- yandex/cloud/video/v1/video_service_pb2_grpc.py +102 -0
- yandex/cloud/video/v1/video_service_pb2_grpc.pyi +60 -0
- {yandexcloud-0.324.0.dist-info → yandexcloud-0.326.0.dist-info}/METADATA +1 -1
- {yandexcloud-0.324.0.dist-info → yandexcloud-0.326.0.dist-info}/RECORD +134 -108
- {yandexcloud-0.324.0.dist-info → yandexcloud-0.326.0.dist-info}/WHEEL +1 -1
- {yandexcloud-0.324.0.dist-info → yandexcloud-0.326.0.dist-info}/AUTHORS +0 -0
- {yandexcloud-0.324.0.dist-info → yandexcloud-0.326.0.dist-info}/LICENSE +0 -0
- {yandexcloud-0.324.0.dist-info → yandexcloud-0.326.0.dist-info}/top_level.txt +0 -0
|
@@ -47,6 +47,45 @@ class SecurityProfile(google.protobuf.message.Message):
|
|
|
47
47
|
DENY: SecurityProfile.DefaultAction.ValueType # 2
|
|
48
48
|
"""Deny request."""
|
|
49
49
|
|
|
50
|
+
@typing.final
|
|
51
|
+
class AnalyzeRequestBody(google.protobuf.message.Message):
|
|
52
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
53
|
+
|
|
54
|
+
class _Action:
|
|
55
|
+
ValueType = typing.NewType("ValueType", builtins.int)
|
|
56
|
+
V: typing_extensions.TypeAlias = ValueType
|
|
57
|
+
|
|
58
|
+
class _ActionEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[SecurityProfile.AnalyzeRequestBody._Action.ValueType], builtins.type):
|
|
59
|
+
DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor
|
|
60
|
+
ACTION_UNSPECIFIED: SecurityProfile.AnalyzeRequestBody._Action.ValueType # 0
|
|
61
|
+
IGNORE: SecurityProfile.AnalyzeRequestBody._Action.ValueType # 1
|
|
62
|
+
"""Ignore body."""
|
|
63
|
+
DENY: SecurityProfile.AnalyzeRequestBody._Action.ValueType # 2
|
|
64
|
+
"""Deny request."""
|
|
65
|
+
|
|
66
|
+
class Action(_Action, metaclass=_ActionEnumTypeWrapper):
|
|
67
|
+
"""Action to perform if maximum size of body exceeded."""
|
|
68
|
+
|
|
69
|
+
ACTION_UNSPECIFIED: SecurityProfile.AnalyzeRequestBody.Action.ValueType # 0
|
|
70
|
+
IGNORE: SecurityProfile.AnalyzeRequestBody.Action.ValueType # 1
|
|
71
|
+
"""Ignore body."""
|
|
72
|
+
DENY: SecurityProfile.AnalyzeRequestBody.Action.ValueType # 2
|
|
73
|
+
"""Deny request."""
|
|
74
|
+
|
|
75
|
+
SIZE_LIMIT_FIELD_NUMBER: builtins.int
|
|
76
|
+
SIZE_LIMIT_ACTION_FIELD_NUMBER: builtins.int
|
|
77
|
+
size_limit: builtins.int
|
|
78
|
+
"""Maximum size of body to pass to analyzer. In kilobytes."""
|
|
79
|
+
size_limit_action: global___SecurityProfile.AnalyzeRequestBody.Action.ValueType
|
|
80
|
+
"""Action to perform if maximum size of body exceeded."""
|
|
81
|
+
def __init__(
|
|
82
|
+
self,
|
|
83
|
+
*,
|
|
84
|
+
size_limit: builtins.int = ...,
|
|
85
|
+
size_limit_action: global___SecurityProfile.AnalyzeRequestBody.Action.ValueType = ...,
|
|
86
|
+
) -> None: ...
|
|
87
|
+
def ClearField(self, field_name: typing.Literal["size_limit", b"size_limit", "size_limit_action", b"size_limit_action"]) -> None: ...
|
|
88
|
+
|
|
50
89
|
@typing.final
|
|
51
90
|
class LabelsEntry(google.protobuf.message.Message):
|
|
52
91
|
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
@@ -74,6 +113,7 @@ class SecurityProfile(google.protobuf.message.Message):
|
|
|
74
113
|
CLOUD_ID_FIELD_NUMBER: builtins.int
|
|
75
114
|
CAPTCHA_ID_FIELD_NUMBER: builtins.int
|
|
76
115
|
ADVANCED_RATE_LIMITER_PROFILE_ID_FIELD_NUMBER: builtins.int
|
|
116
|
+
ANALYZE_REQUEST_BODY_FIELD_NUMBER: builtins.int
|
|
77
117
|
id: builtins.str
|
|
78
118
|
"""ID of the security profile."""
|
|
79
119
|
folder_id: builtins.str
|
|
@@ -102,6 +142,10 @@ class SecurityProfile(google.protobuf.message.Message):
|
|
|
102
142
|
def created_at(self) -> google.protobuf.timestamp_pb2.Timestamp:
|
|
103
143
|
"""Creation timestamp in [RFC3339](https://www.ietf.org/rfc/rfc3339.txt) text format."""
|
|
104
144
|
|
|
145
|
+
@property
|
|
146
|
+
def analyze_request_body(self) -> global___SecurityProfile.AnalyzeRequestBody:
|
|
147
|
+
"""Parameters for request body analyzer."""
|
|
148
|
+
|
|
105
149
|
def __init__(
|
|
106
150
|
self,
|
|
107
151
|
*,
|
|
@@ -116,9 +160,10 @@ class SecurityProfile(google.protobuf.message.Message):
|
|
|
116
160
|
cloud_id: builtins.str = ...,
|
|
117
161
|
captcha_id: builtins.str = ...,
|
|
118
162
|
advanced_rate_limiter_profile_id: builtins.str = ...,
|
|
163
|
+
analyze_request_body: global___SecurityProfile.AnalyzeRequestBody | None = ...,
|
|
119
164
|
) -> None: ...
|
|
120
|
-
def HasField(self, field_name: typing.Literal["created_at", b"created_at"]) -> builtins.bool: ...
|
|
121
|
-
def ClearField(self, field_name: typing.Literal["advanced_rate_limiter_profile_id", b"advanced_rate_limiter_profile_id", "captcha_id", b"captcha_id", "cloud_id", b"cloud_id", "created_at", b"created_at", "default_action", b"default_action", "description", b"description", "folder_id", b"folder_id", "id", b"id", "labels", b"labels", "name", b"name", "security_rules", b"security_rules"]) -> None: ...
|
|
165
|
+
def HasField(self, field_name: typing.Literal["analyze_request_body", b"analyze_request_body", "created_at", b"created_at"]) -> builtins.bool: ...
|
|
166
|
+
def ClearField(self, field_name: typing.Literal["advanced_rate_limiter_profile_id", b"advanced_rate_limiter_profile_id", "analyze_request_body", b"analyze_request_body", "captcha_id", b"captcha_id", "cloud_id", b"cloud_id", "created_at", b"created_at", "default_action", b"default_action", "description", b"description", "folder_id", b"folder_id", "id", b"id", "labels", b"labels", "name", b"name", "security_rules", b"security_rules"]) -> None: ...
|
|
122
167
|
|
|
123
168
|
global___SecurityProfile = SecurityProfile
|
|
124
169
|
|
|
@@ -19,7 +19,7 @@ from yandex.cloud.operation import operation_pb2 as yandex_dot_cloud_dot_operati
|
|
|
19
19
|
from yandex.cloud.smartwebsecurity.v1 import security_profile_pb2 as yandex_dot_cloud_dot_smartwebsecurity_dot_v1_dot_security__profile__pb2
|
|
20
20
|
|
|
21
21
|
|
|
22
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n?yandex/cloud/smartwebsecurity/v1/security_profile_service.proto\x12 yandex.cloud.smartwebsecurity.v1\x1a\x1cgoogle/api/annotations.proto\x1a google/protobuf/field_mask.proto\x1a yandex/cloud/api/operation.proto\x1a\x1dyandex/cloud/validation.proto\x1a&yandex/cloud/operation/operation.proto\x1a\x37yandex/cloud/smartwebsecurity/v1/security_profile.proto\">\n\x19GetSecurityProfileRequest\x12!\n\x13security_profile_id\x18\x01 \x01(\tB\x04\xe8\xc7\x31\x01\"6\n\x1bListSecurityProfilesRequest\x12\x17\n\tfolder_id\x18\x01 \x01(\tB\x04\xe8\xc7\x31\x01\"l\n\x1cListSecurityProfilesResponse\x12L\n\x11security_profiles\x18\x01 \x03(\x0b\x32\x31.yandex.cloud.smartwebsecurity.v1.SecurityProfile\"\
|
|
22
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n?yandex/cloud/smartwebsecurity/v1/security_profile_service.proto\x12 yandex.cloud.smartwebsecurity.v1\x1a\x1cgoogle/api/annotations.proto\x1a google/protobuf/field_mask.proto\x1a yandex/cloud/api/operation.proto\x1a\x1dyandex/cloud/validation.proto\x1a&yandex/cloud/operation/operation.proto\x1a\x37yandex/cloud/smartwebsecurity/v1/security_profile.proto\">\n\x19GetSecurityProfileRequest\x12!\n\x13security_profile_id\x18\x01 \x01(\tB\x04\xe8\xc7\x31\x01\"6\n\x1bListSecurityProfilesRequest\x12\x17\n\tfolder_id\x18\x01 \x01(\tB\x04\xe8\xc7\x31\x01\"l\n\x1cListSecurityProfilesResponse\x12L\n\x11security_profiles\x18\x01 \x03(\x0b\x32\x31.yandex.cloud.smartwebsecurity.v1.SecurityProfile\"\xa8\x04\n\x1c\x43reateSecurityProfileRequest\x12\x17\n\tfolder_id\x18\x01 \x01(\tB\x04\xe8\xc7\x31\x01\x12Z\n\x06labels\x18\x02 \x03(\x0b\x32J.yandex.cloud.smartwebsecurity.v1.CreateSecurityProfileRequest.LabelsEntry\x12\x0c\n\x04name\x18\x03 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x04 \x01(\t\x12W\n\x0e\x64\x65\x66\x61ult_action\x18\x05 \x01(\x0e\x32?.yandex.cloud.smartwebsecurity.v1.SecurityProfile.DefaultAction\x12\x46\n\x0esecurity_rules\x18\x06 \x03(\x0b\x32..yandex.cloud.smartwebsecurity.v1.SecurityRule\x12\x12\n\ncaptcha_id\x18\x07 \x01(\t\x12(\n advanced_rate_limiter_profile_id\x18\x08 \x01(\t\x12\x62\n\x14\x61nalyze_request_body\x18\t \x01(\x0b\x32\x44.yandex.cloud.smartwebsecurity.v1.SecurityProfile.AnalyzeRequestBody\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"<\n\x1d\x43reateSecurityProfileMetadata\x12\x1b\n\x13security_profile_id\x18\x01 \x01(\t\"\xe3\x04\n\x1cUpdateSecurityProfileRequest\x12!\n\x13security_profile_id\x18\x01 \x01(\tB\x04\xe8\xc7\x31\x01\x12/\n\x0bupdate_mask\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\x12Z\n\x06labels\x18\x03 \x03(\x0b\x32J.yandex.cloud.smartwebsecurity.v1.UpdateSecurityProfileRequest.LabelsEntry\x12\x0c\n\x04name\x18\x04 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x05 \x01(\t\x12W\n\x0e\x64\x65\x66\x61ult_action\x18\x06 \x01(\x0e\x32?.yandex.cloud.smartwebsecurity.v1.SecurityProfile.DefaultAction\x12\x46\n\x0esecurity_rules\x18\x07 \x03(\x0b\x32..yandex.cloud.smartwebsecurity.v1.SecurityRule\x12\x12\n\ncaptcha_id\x18\x08 \x01(\t\x12(\n advanced_rate_limiter_profile_id\x18\t \x01(\t\x12\x62\n\x14\x61nalyze_request_body\x18\n \x01(\x0b\x32\x44.yandex.cloud.smartwebsecurity.v1.SecurityProfile.AnalyzeRequestBody\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"<\n\x1dUpdateSecurityProfileMetadata\x12\x1b\n\x13security_profile_id\x18\x01 \x01(\t\"A\n\x1c\x44\x65leteSecurityProfileRequest\x12!\n\x13security_profile_id\x18\x01 \x01(\tB\x04\xe8\xc7\x31\x01\"<\n\x1d\x44\x65leteSecurityProfileMetadata\x12\x1b\n\x13security_profile_id\x18\x01 \x01(\t2\xb7\x08\n\x16SecurityProfileService\x12\xba\x01\n\x03Get\x12;.yandex.cloud.smartwebsecurity.v1.GetSecurityProfileRequest\x1a\x31.yandex.cloud.smartwebsecurity.v1.SecurityProfile\"C\x82\xd3\xe4\x93\x02=\x12;/smartwebsecurity/v1/securityProfiles/{security_profile_id}\x12\xb4\x01\n\x04List\x12=.yandex.cloud.smartwebsecurity.v1.ListSecurityProfilesRequest\x1a>.yandex.cloud.smartwebsecurity.v1.ListSecurityProfilesResponse\"-\x82\xd3\xe4\x93\x02\'\x12%/smartwebsecurity/v1/securityProfiles\x12\xd1\x01\n\x06\x43reate\x12>.yandex.cloud.smartwebsecurity.v1.CreateSecurityProfileRequest\x1a!.yandex.cloud.operation.Operation\"d\xb2\xd2*0\n\x1d\x43reateSecurityProfileMetadata\x12\x0fSecurityProfile\x82\xd3\xe4\x93\x02*\"%/smartwebsecurity/v1/securityProfiles:\x01*\x12\xe7\x01\n\x06Update\x12>.yandex.cloud.smartwebsecurity.v1.UpdateSecurityProfileRequest\x1a!.yandex.cloud.operation.Operation\"z\xb2\xd2*0\n\x1dUpdateSecurityProfileMetadata\x12\x0fSecurityProfile\x82\xd3\xe4\x93\x02@2;/smartwebsecurity/v1/securityProfiles/{security_profile_id}:\x01*\x12\xea\x01\n\x06\x44\x65lete\x12>.yandex.cloud.smartwebsecurity.v1.DeleteSecurityProfileRequest\x1a!.yandex.cloud.operation.Operation\"}\xb2\xd2*6\n\x1d\x44\x65leteSecurityProfileMetadata\x12\x15google.protobuf.Empty\x82\xd3\xe4\x93\x02=*;/smartwebsecurity/v1/securityProfiles/{security_profile_id}B}\n$yandex.cloud.api.smartwebsecurity.v1ZUgithub.com/yandex-cloud/go-genproto/yandex/cloud/smartwebsecurity/v1;smartwebsecurityb\x06proto3')
|
|
23
23
|
|
|
24
24
|
_globals = globals()
|
|
25
25
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
@@ -58,21 +58,21 @@ if _descriptor._USE_C_DESCRIPTORS == False:
|
|
|
58
58
|
_globals['_LISTSECURITYPROFILESRESPONSE']._serialized_start=447
|
|
59
59
|
_globals['_LISTSECURITYPROFILESRESPONSE']._serialized_end=555
|
|
60
60
|
_globals['_CREATESECURITYPROFILEREQUEST']._serialized_start=558
|
|
61
|
-
_globals['_CREATESECURITYPROFILEREQUEST']._serialized_end=
|
|
62
|
-
_globals['_CREATESECURITYPROFILEREQUEST_LABELSENTRY']._serialized_start=
|
|
63
|
-
_globals['_CREATESECURITYPROFILEREQUEST_LABELSENTRY']._serialized_end=
|
|
64
|
-
_globals['_CREATESECURITYPROFILEMETADATA']._serialized_start=
|
|
65
|
-
_globals['_CREATESECURITYPROFILEMETADATA']._serialized_end=
|
|
66
|
-
_globals['_UPDATESECURITYPROFILEREQUEST']._serialized_start=
|
|
67
|
-
_globals['_UPDATESECURITYPROFILEREQUEST']._serialized_end=
|
|
68
|
-
_globals['_UPDATESECURITYPROFILEREQUEST_LABELSENTRY']._serialized_start=
|
|
69
|
-
_globals['_UPDATESECURITYPROFILEREQUEST_LABELSENTRY']._serialized_end=
|
|
70
|
-
_globals['_UPDATESECURITYPROFILEMETADATA']._serialized_start=
|
|
71
|
-
_globals['_UPDATESECURITYPROFILEMETADATA']._serialized_end=
|
|
72
|
-
_globals['_DELETESECURITYPROFILEREQUEST']._serialized_start=
|
|
73
|
-
_globals['_DELETESECURITYPROFILEREQUEST']._serialized_end=
|
|
74
|
-
_globals['_DELETESECURITYPROFILEMETADATA']._serialized_start=
|
|
75
|
-
_globals['_DELETESECURITYPROFILEMETADATA']._serialized_end=
|
|
76
|
-
_globals['_SECURITYPROFILESERVICE']._serialized_start=
|
|
77
|
-
_globals['_SECURITYPROFILESERVICE']._serialized_end=
|
|
61
|
+
_globals['_CREATESECURITYPROFILEREQUEST']._serialized_end=1110
|
|
62
|
+
_globals['_CREATESECURITYPROFILEREQUEST_LABELSENTRY']._serialized_start=1065
|
|
63
|
+
_globals['_CREATESECURITYPROFILEREQUEST_LABELSENTRY']._serialized_end=1110
|
|
64
|
+
_globals['_CREATESECURITYPROFILEMETADATA']._serialized_start=1112
|
|
65
|
+
_globals['_CREATESECURITYPROFILEMETADATA']._serialized_end=1172
|
|
66
|
+
_globals['_UPDATESECURITYPROFILEREQUEST']._serialized_start=1175
|
|
67
|
+
_globals['_UPDATESECURITYPROFILEREQUEST']._serialized_end=1786
|
|
68
|
+
_globals['_UPDATESECURITYPROFILEREQUEST_LABELSENTRY']._serialized_start=1065
|
|
69
|
+
_globals['_UPDATESECURITYPROFILEREQUEST_LABELSENTRY']._serialized_end=1110
|
|
70
|
+
_globals['_UPDATESECURITYPROFILEMETADATA']._serialized_start=1788
|
|
71
|
+
_globals['_UPDATESECURITYPROFILEMETADATA']._serialized_end=1848
|
|
72
|
+
_globals['_DELETESECURITYPROFILEREQUEST']._serialized_start=1850
|
|
73
|
+
_globals['_DELETESECURITYPROFILEREQUEST']._serialized_end=1915
|
|
74
|
+
_globals['_DELETESECURITYPROFILEMETADATA']._serialized_start=1917
|
|
75
|
+
_globals['_DELETESECURITYPROFILEMETADATA']._serialized_end=1977
|
|
76
|
+
_globals['_SECURITYPROFILESERVICE']._serialized_start=1980
|
|
77
|
+
_globals['_SECURITYPROFILESERVICE']._serialized_end=3059
|
|
78
78
|
# @@protoc_insertion_point(module_scope)
|
|
@@ -96,6 +96,7 @@ class CreateSecurityProfileRequest(google.protobuf.message.Message):
|
|
|
96
96
|
SECURITY_RULES_FIELD_NUMBER: builtins.int
|
|
97
97
|
CAPTCHA_ID_FIELD_NUMBER: builtins.int
|
|
98
98
|
ADVANCED_RATE_LIMITER_PROFILE_ID_FIELD_NUMBER: builtins.int
|
|
99
|
+
ANALYZE_REQUEST_BODY_FIELD_NUMBER: builtins.int
|
|
99
100
|
folder_id: builtins.str
|
|
100
101
|
"""ID of the folder to create a security profile in."""
|
|
101
102
|
name: builtins.str
|
|
@@ -116,6 +117,10 @@ class CreateSecurityProfileRequest(google.protobuf.message.Message):
|
|
|
116
117
|
def security_rules(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[yandex.cloud.smartwebsecurity.v1.security_profile_pb2.SecurityRule]:
|
|
117
118
|
"""List of security rules."""
|
|
118
119
|
|
|
120
|
+
@property
|
|
121
|
+
def analyze_request_body(self) -> yandex.cloud.smartwebsecurity.v1.security_profile_pb2.SecurityProfile.AnalyzeRequestBody:
|
|
122
|
+
"""Parameters for request body analyzer."""
|
|
123
|
+
|
|
119
124
|
def __init__(
|
|
120
125
|
self,
|
|
121
126
|
*,
|
|
@@ -127,8 +132,10 @@ class CreateSecurityProfileRequest(google.protobuf.message.Message):
|
|
|
127
132
|
security_rules: collections.abc.Iterable[yandex.cloud.smartwebsecurity.v1.security_profile_pb2.SecurityRule] | None = ...,
|
|
128
133
|
captcha_id: builtins.str = ...,
|
|
129
134
|
advanced_rate_limiter_profile_id: builtins.str = ...,
|
|
135
|
+
analyze_request_body: yandex.cloud.smartwebsecurity.v1.security_profile_pb2.SecurityProfile.AnalyzeRequestBody | None = ...,
|
|
130
136
|
) -> None: ...
|
|
131
|
-
def
|
|
137
|
+
def HasField(self, field_name: typing.Literal["analyze_request_body", b"analyze_request_body"]) -> builtins.bool: ...
|
|
138
|
+
def ClearField(self, field_name: typing.Literal["advanced_rate_limiter_profile_id", b"advanced_rate_limiter_profile_id", "analyze_request_body", b"analyze_request_body", "captcha_id", b"captcha_id", "default_action", b"default_action", "description", b"description", "folder_id", b"folder_id", "labels", b"labels", "name", b"name", "security_rules", b"security_rules"]) -> None: ...
|
|
132
139
|
|
|
133
140
|
global___CreateSecurityProfileRequest = CreateSecurityProfileRequest
|
|
134
141
|
|
|
@@ -177,6 +184,7 @@ class UpdateSecurityProfileRequest(google.protobuf.message.Message):
|
|
|
177
184
|
SECURITY_RULES_FIELD_NUMBER: builtins.int
|
|
178
185
|
CAPTCHA_ID_FIELD_NUMBER: builtins.int
|
|
179
186
|
ADVANCED_RATE_LIMITER_PROFILE_ID_FIELD_NUMBER: builtins.int
|
|
187
|
+
ANALYZE_REQUEST_BODY_FIELD_NUMBER: builtins.int
|
|
180
188
|
security_profile_id: builtins.str
|
|
181
189
|
"""ID of the security profile to update."""
|
|
182
190
|
name: builtins.str
|
|
@@ -201,6 +209,10 @@ class UpdateSecurityProfileRequest(google.protobuf.message.Message):
|
|
|
201
209
|
def security_rules(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[yandex.cloud.smartwebsecurity.v1.security_profile_pb2.SecurityRule]:
|
|
202
210
|
"""List of security rules."""
|
|
203
211
|
|
|
212
|
+
@property
|
|
213
|
+
def analyze_request_body(self) -> yandex.cloud.smartwebsecurity.v1.security_profile_pb2.SecurityProfile.AnalyzeRequestBody:
|
|
214
|
+
"""Parameters for request body analyzer."""
|
|
215
|
+
|
|
204
216
|
def __init__(
|
|
205
217
|
self,
|
|
206
218
|
*,
|
|
@@ -213,9 +225,10 @@ class UpdateSecurityProfileRequest(google.protobuf.message.Message):
|
|
|
213
225
|
security_rules: collections.abc.Iterable[yandex.cloud.smartwebsecurity.v1.security_profile_pb2.SecurityRule] | None = ...,
|
|
214
226
|
captcha_id: builtins.str = ...,
|
|
215
227
|
advanced_rate_limiter_profile_id: builtins.str = ...,
|
|
228
|
+
analyze_request_body: yandex.cloud.smartwebsecurity.v1.security_profile_pb2.SecurityProfile.AnalyzeRequestBody | None = ...,
|
|
216
229
|
) -> None: ...
|
|
217
|
-
def HasField(self, field_name: typing.Literal["update_mask", b"update_mask"]) -> builtins.bool: ...
|
|
218
|
-
def ClearField(self, field_name: typing.Literal["advanced_rate_limiter_profile_id", b"advanced_rate_limiter_profile_id", "captcha_id", b"captcha_id", "default_action", b"default_action", "description", b"description", "labels", b"labels", "name", b"name", "security_profile_id", b"security_profile_id", "security_rules", b"security_rules", "update_mask", b"update_mask"]) -> None: ...
|
|
230
|
+
def HasField(self, field_name: typing.Literal["analyze_request_body", b"analyze_request_body", "update_mask", b"update_mask"]) -> builtins.bool: ...
|
|
231
|
+
def ClearField(self, field_name: typing.Literal["advanced_rate_limiter_profile_id", b"advanced_rate_limiter_profile_id", "analyze_request_body", b"analyze_request_body", "captcha_id", b"captcha_id", "default_action", b"default_action", "description", b"description", "labels", b"labels", "name", b"name", "security_profile_id", b"security_profile_id", "security_rules", b"security_rules", "update_mask", b"update_mask"]) -> None: ...
|
|
219
232
|
|
|
220
233
|
global___UpdateSecurityProfileRequest = UpdateSecurityProfileRequest
|
|
221
234
|
|
|
@@ -22,7 +22,7 @@ from yandex.cloud.speechsense.v1.analysis import text_classifiers_pb2 as yandex_
|
|
|
22
22
|
from yandex.cloud.speechsense.v1.analysis import points_pb2 as yandex_dot_cloud_dot_speechsense_dot_v1_dot_analysis_dot_points__pb2
|
|
23
23
|
|
|
24
24
|
|
|
25
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n&yandex/cloud/speechsense/v1/talk.proto\x12\x1byandex.cloud.speechsense.v1\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x42yandex/cloud/speechsense/v1/analysis/conversation_statistics.proto\x1a@yandex/cloud/speechsense/v1/analysis/interrupts_statistics.proto\x1a=yandex/cloud/speechsense/v1/analysis/silence_statistics.proto\x1a<yandex/cloud/speechsense/v1/analysis/speech_statistics.proto\x1a\x38yandex/cloud/speechsense/v1/analysis/summarization.proto\x1a\x38yandex/cloud/speechsense/v1/analysis/transcription.proto\x1a;yandex/cloud/speechsense/v1/analysis/text_classifiers.proto\x1a\x31yandex/cloud/speechsense/v1/analysis/points.proto\"\
|
|
25
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n&yandex/cloud/speechsense/v1/talk.proto\x12\x1byandex.cloud.speechsense.v1\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x42yandex/cloud/speechsense/v1/analysis/conversation_statistics.proto\x1a@yandex/cloud/speechsense/v1/analysis/interrupts_statistics.proto\x1a=yandex/cloud/speechsense/v1/analysis/silence_statistics.proto\x1a<yandex/cloud/speechsense/v1/analysis/speech_statistics.proto\x1a\x38yandex/cloud/speechsense/v1/analysis/summarization.proto\x1a\x38yandex/cloud/speechsense/v1/analysis/transcription.proto\x1a;yandex/cloud/speechsense/v1/analysis/text_classifiers.proto\x1a\x31yandex/cloud/speechsense/v1/analysis/points.proto\"\xf1\x07\n\x04Talk\x12\n\n\x02id\x18\x01 \x01(\t\x12\x17\n\x0forganization_id\x18\x02 \x01(\t\x12\x10\n\x08space_id\x18\x03 \x01(\t\x12\x15\n\rconnection_id\x18\x04 \x01(\t\x12\x13\n\x0bproject_ids\x18\x05 \x03(\t\x12\x12\n\ncreated_by\x18\x06 \x01(\t\x12.\n\ncreated_at\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x13\n\x0bmodified_by\x18\x08 \x01(\t\x12/\n\x0bmodified_at\x18\t \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12\x37\n\x0btalk_fields\x18\n \x03(\x0b\x32\".yandex.cloud.speechsense.v1.Field\x12J\n\rtranscription\x18\x0b \x01(\x0b\x32\x33.yandex.cloud.speechsense.v1.analysis.Transcription\x12Q\n\x11speech_statistics\x18\x0c \x01(\x0b\x32\x36.yandex.cloud.speechsense.v1.analysis.SpeechStatistics\x12S\n\x12silence_statistics\x18\r \x01(\x0b\x32\x37.yandex.cloud.speechsense.v1.analysis.SilenceStatistics\x12Y\n\x15interrupts_statistics\x18\x0e \x01(\x0b\x32:.yandex.cloud.speechsense.v1.analysis.InterruptsStatistics\x12]\n\x17\x63onversation_statistics\x18\x0f \x01(\x0b\x32<.yandex.cloud.speechsense.v1.analysis.ConversationStatistics\x12<\n\x06points\x18\x10 \x01(\x0b\x32,.yandex.cloud.speechsense.v1.analysis.Points\x12O\n\x10text_classifiers\x18\x11 \x01(\x0b\x32\x35.yandex.cloud.speechsense.v1.analysis.TextClassifiers\x12J\n\rsummarization\x18\x12 \x01(\x0b\x32\x33.yandex.cloud.speechsense.v1.analysis.Summarization\x12:\n\ntalk_state\x18\x13 \x01(\x0b\x32&.yandex.cloud.speechsense.v1.TalkState\"\xad\x01\n\tTalkState\x12\x46\n\x10processing_state\x18\x01 \x01(\x0e\x32,.yandex.cloud.speechsense.v1.ProcessingState\x12X\n\x1a\x61lgorithm_processing_infos\x18\x02 \x03(\x0b\x32\x34.yandex.cloud.speechsense.v1.AlgorithmProcessingInfo\"Z\n\x05\x46ield\x12\x0c\n\x04name\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t\x12\x34\n\x04type\x18\x03 \x01(\x0e\x32&.yandex.cloud.speechsense.v1.FieldType\"\x9c\x01\n\x17\x41lgorithmProcessingInfo\x12\x39\n\talgorithm\x18\x01 \x01(\x0e\x32&.yandex.cloud.speechsense.v1.Algorithm\x12\x46\n\x10processing_state\x18\x02 \x01(\x0e\x32,.yandex.cloud.speechsense.v1.ProcessingState*\xaf\x01\n\tFieldType\x12\x1a\n\x16\x46IELD_TYPE_UNSPECIFIED\x10\x00\x12\x15\n\x11\x46IELD_TYPE_STRING\x10\x01\x12\x15\n\x11\x46IELD_TYPE_NUMBER\x10\x02\x12\x16\n\x12\x46IELD_TYPE_DECIMAL\x10\x03\x12\x16\n\x12\x46IELD_TYPE_BOOLEAN\x10\x04\x12\x13\n\x0f\x46IELD_TYPE_DATE\x10\x05\x12\x13\n\x0f\x46IELD_TYPE_JSON\x10\x06*\xb1\x01\n\x0fProcessingState\x12 \n\x1cPROCESSING_STATE_UNSPECIFIED\x10\x00\x12 \n\x1cPROCESSING_STATE_NOT_STARTED\x10\x01\x12\x1f\n\x1bPROCESSING_STATE_PROCESSING\x10\x02\x12\x1c\n\x18PROCESSING_STATE_SUCCESS\x10\x03\x12\x1b\n\x17PROCESSING_STATE_FAILED\x10\x04*\xbd\x01\n\tAlgorithm\x12\x19\n\x15\x41LGORITHM_UNSPECIFIED\x10\x00\x12\x17\n\x13\x41LGORITHM_SPEECHKIT\x10\x01\x12\x12\n\x0e\x41LGORITHM_YGPT\x10\x02\x12\x18\n\x14\x41LGORITHM_CLASSIFIER\x10\x03\x12\x1b\n\x17\x41LGORITHM_SUMMARIZATION\x10\x04\x12\x17\n\x13\x41LGORITHM_EMBEDDING\x10\x05\x12\x18\n\x14\x41LGORITHM_STATISTICS\x10\x06\x42y\n\x1fyandex.cloud.api.speechsense.v1B\tTalkProtoZKgithub.com/yandex-cloud/go-genproto/yandex/cloud/speechsense/v1;speechsenseb\x06proto3')
|
|
26
26
|
|
|
27
27
|
_globals = globals()
|
|
28
28
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
@@ -30,10 +30,18 @@ _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'yandex.cloud.speechsense.v1
|
|
|
30
30
|
if _descriptor._USE_C_DESCRIPTORS == False:
|
|
31
31
|
DESCRIPTOR._options = None
|
|
32
32
|
DESCRIPTOR._serialized_options = b'\n\037yandex.cloud.api.speechsense.v1B\tTalkProtoZKgithub.com/yandex-cloud/go-genproto/yandex/cloud/speechsense/v1;speechsense'
|
|
33
|
-
_globals['_FIELDTYPE']._serialized_start=
|
|
34
|
-
_globals['_FIELDTYPE']._serialized_end=
|
|
33
|
+
_globals['_FIELDTYPE']._serialized_start=2031
|
|
34
|
+
_globals['_FIELDTYPE']._serialized_end=2206
|
|
35
|
+
_globals['_PROCESSINGSTATE']._serialized_start=2209
|
|
36
|
+
_globals['_PROCESSINGSTATE']._serialized_end=2386
|
|
37
|
+
_globals['_ALGORITHM']._serialized_start=2389
|
|
38
|
+
_globals['_ALGORITHM']._serialized_end=2578
|
|
35
39
|
_globals['_TALK']._serialized_start=592
|
|
36
|
-
_globals['_TALK']._serialized_end=
|
|
37
|
-
_globals['
|
|
38
|
-
_globals['
|
|
40
|
+
_globals['_TALK']._serialized_end=1601
|
|
41
|
+
_globals['_TALKSTATE']._serialized_start=1604
|
|
42
|
+
_globals['_TALKSTATE']._serialized_end=1777
|
|
43
|
+
_globals['_FIELD']._serialized_start=1779
|
|
44
|
+
_globals['_FIELD']._serialized_end=1869
|
|
45
|
+
_globals['_ALGORITHMPROCESSINGINFO']._serialized_start=1872
|
|
46
|
+
_globals['_ALGORITHMPROCESSINGINFO']._serialized_end=2028
|
|
39
47
|
# @@protoc_insertion_point(module_scope)
|
|
@@ -54,6 +54,52 @@ FIELD_TYPE_DATE: FieldType.ValueType # 5
|
|
|
54
54
|
FIELD_TYPE_JSON: FieldType.ValueType # 6
|
|
55
55
|
global___FieldType = FieldType
|
|
56
56
|
|
|
57
|
+
class _ProcessingState:
|
|
58
|
+
ValueType = typing.NewType("ValueType", builtins.int)
|
|
59
|
+
V: typing_extensions.TypeAlias = ValueType
|
|
60
|
+
|
|
61
|
+
class _ProcessingStateEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[_ProcessingState.ValueType], builtins.type):
|
|
62
|
+
DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor
|
|
63
|
+
PROCESSING_STATE_UNSPECIFIED: _ProcessingState.ValueType # 0
|
|
64
|
+
PROCESSING_STATE_NOT_STARTED: _ProcessingState.ValueType # 1
|
|
65
|
+
PROCESSING_STATE_PROCESSING: _ProcessingState.ValueType # 2
|
|
66
|
+
PROCESSING_STATE_SUCCESS: _ProcessingState.ValueType # 3
|
|
67
|
+
PROCESSING_STATE_FAILED: _ProcessingState.ValueType # 4
|
|
68
|
+
|
|
69
|
+
class ProcessingState(_ProcessingState, metaclass=_ProcessingStateEnumTypeWrapper): ...
|
|
70
|
+
|
|
71
|
+
PROCESSING_STATE_UNSPECIFIED: ProcessingState.ValueType # 0
|
|
72
|
+
PROCESSING_STATE_NOT_STARTED: ProcessingState.ValueType # 1
|
|
73
|
+
PROCESSING_STATE_PROCESSING: ProcessingState.ValueType # 2
|
|
74
|
+
PROCESSING_STATE_SUCCESS: ProcessingState.ValueType # 3
|
|
75
|
+
PROCESSING_STATE_FAILED: ProcessingState.ValueType # 4
|
|
76
|
+
global___ProcessingState = ProcessingState
|
|
77
|
+
|
|
78
|
+
class _Algorithm:
|
|
79
|
+
ValueType = typing.NewType("ValueType", builtins.int)
|
|
80
|
+
V: typing_extensions.TypeAlias = ValueType
|
|
81
|
+
|
|
82
|
+
class _AlgorithmEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[_Algorithm.ValueType], builtins.type):
|
|
83
|
+
DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor
|
|
84
|
+
ALGORITHM_UNSPECIFIED: _Algorithm.ValueType # 0
|
|
85
|
+
ALGORITHM_SPEECHKIT: _Algorithm.ValueType # 1
|
|
86
|
+
ALGORITHM_YGPT: _Algorithm.ValueType # 2
|
|
87
|
+
ALGORITHM_CLASSIFIER: _Algorithm.ValueType # 3
|
|
88
|
+
ALGORITHM_SUMMARIZATION: _Algorithm.ValueType # 4
|
|
89
|
+
ALGORITHM_EMBEDDING: _Algorithm.ValueType # 5
|
|
90
|
+
ALGORITHM_STATISTICS: _Algorithm.ValueType # 6
|
|
91
|
+
|
|
92
|
+
class Algorithm(_Algorithm, metaclass=_AlgorithmEnumTypeWrapper): ...
|
|
93
|
+
|
|
94
|
+
ALGORITHM_UNSPECIFIED: Algorithm.ValueType # 0
|
|
95
|
+
ALGORITHM_SPEECHKIT: Algorithm.ValueType # 1
|
|
96
|
+
ALGORITHM_YGPT: Algorithm.ValueType # 2
|
|
97
|
+
ALGORITHM_CLASSIFIER: Algorithm.ValueType # 3
|
|
98
|
+
ALGORITHM_SUMMARIZATION: Algorithm.ValueType # 4
|
|
99
|
+
ALGORITHM_EMBEDDING: Algorithm.ValueType # 5
|
|
100
|
+
ALGORITHM_STATISTICS: Algorithm.ValueType # 6
|
|
101
|
+
global___Algorithm = Algorithm
|
|
102
|
+
|
|
57
103
|
@typing.final
|
|
58
104
|
class Talk(google.protobuf.message.Message):
|
|
59
105
|
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
@@ -76,6 +122,7 @@ class Talk(google.protobuf.message.Message):
|
|
|
76
122
|
POINTS_FIELD_NUMBER: builtins.int
|
|
77
123
|
TEXT_CLASSIFIERS_FIELD_NUMBER: builtins.int
|
|
78
124
|
SUMMARIZATION_FIELD_NUMBER: builtins.int
|
|
125
|
+
TALK_STATE_FIELD_NUMBER: builtins.int
|
|
79
126
|
id: builtins.str
|
|
80
127
|
"""talk id"""
|
|
81
128
|
organization_id: builtins.str
|
|
@@ -112,6 +159,8 @@ class Talk(google.protobuf.message.Message):
|
|
|
112
159
|
def text_classifiers(self) -> yandex.cloud.speechsense.v1.analysis.text_classifiers_pb2.TextClassifiers: ...
|
|
113
160
|
@property
|
|
114
161
|
def summarization(self) -> yandex.cloud.speechsense.v1.analysis.summarization_pb2.Summarization: ...
|
|
162
|
+
@property
|
|
163
|
+
def talk_state(self) -> global___TalkState: ...
|
|
115
164
|
def __init__(
|
|
116
165
|
self,
|
|
117
166
|
*,
|
|
@@ -133,12 +182,32 @@ class Talk(google.protobuf.message.Message):
|
|
|
133
182
|
points: yandex.cloud.speechsense.v1.analysis.points_pb2.Points | None = ...,
|
|
134
183
|
text_classifiers: yandex.cloud.speechsense.v1.analysis.text_classifiers_pb2.TextClassifiers | None = ...,
|
|
135
184
|
summarization: yandex.cloud.speechsense.v1.analysis.summarization_pb2.Summarization | None = ...,
|
|
185
|
+
talk_state: global___TalkState | None = ...,
|
|
136
186
|
) -> None: ...
|
|
137
|
-
def HasField(self, field_name: typing.Literal["conversation_statistics", b"conversation_statistics", "created_at", b"created_at", "interrupts_statistics", b"interrupts_statistics", "modified_at", b"modified_at", "points", b"points", "silence_statistics", b"silence_statistics", "speech_statistics", b"speech_statistics", "summarization", b"summarization", "text_classifiers", b"text_classifiers", "transcription", b"transcription"]) -> builtins.bool: ...
|
|
138
|
-
def ClearField(self, field_name: typing.Literal["connection_id", b"connection_id", "conversation_statistics", b"conversation_statistics", "created_at", b"created_at", "created_by", b"created_by", "id", b"id", "interrupts_statistics", b"interrupts_statistics", "modified_at", b"modified_at", "modified_by", b"modified_by", "organization_id", b"organization_id", "points", b"points", "project_ids", b"project_ids", "silence_statistics", b"silence_statistics", "space_id", b"space_id", "speech_statistics", b"speech_statistics", "summarization", b"summarization", "talk_fields", b"talk_fields", "text_classifiers", b"text_classifiers", "transcription", b"transcription"]) -> None: ...
|
|
187
|
+
def HasField(self, field_name: typing.Literal["conversation_statistics", b"conversation_statistics", "created_at", b"created_at", "interrupts_statistics", b"interrupts_statistics", "modified_at", b"modified_at", "points", b"points", "silence_statistics", b"silence_statistics", "speech_statistics", b"speech_statistics", "summarization", b"summarization", "talk_state", b"talk_state", "text_classifiers", b"text_classifiers", "transcription", b"transcription"]) -> builtins.bool: ...
|
|
188
|
+
def ClearField(self, field_name: typing.Literal["connection_id", b"connection_id", "conversation_statistics", b"conversation_statistics", "created_at", b"created_at", "created_by", b"created_by", "id", b"id", "interrupts_statistics", b"interrupts_statistics", "modified_at", b"modified_at", "modified_by", b"modified_by", "organization_id", b"organization_id", "points", b"points", "project_ids", b"project_ids", "silence_statistics", b"silence_statistics", "space_id", b"space_id", "speech_statistics", b"speech_statistics", "summarization", b"summarization", "talk_fields", b"talk_fields", "talk_state", b"talk_state", "text_classifiers", b"text_classifiers", "transcription", b"transcription"]) -> None: ...
|
|
139
189
|
|
|
140
190
|
global___Talk = Talk
|
|
141
191
|
|
|
192
|
+
@typing.final
|
|
193
|
+
class TalkState(google.protobuf.message.Message):
|
|
194
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
195
|
+
|
|
196
|
+
PROCESSING_STATE_FIELD_NUMBER: builtins.int
|
|
197
|
+
ALGORITHM_PROCESSING_INFOS_FIELD_NUMBER: builtins.int
|
|
198
|
+
processing_state: global___ProcessingState.ValueType
|
|
199
|
+
@property
|
|
200
|
+
def algorithm_processing_infos(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___AlgorithmProcessingInfo]: ...
|
|
201
|
+
def __init__(
|
|
202
|
+
self,
|
|
203
|
+
*,
|
|
204
|
+
processing_state: global___ProcessingState.ValueType = ...,
|
|
205
|
+
algorithm_processing_infos: collections.abc.Iterable[global___AlgorithmProcessingInfo] | None = ...,
|
|
206
|
+
) -> None: ...
|
|
207
|
+
def ClearField(self, field_name: typing.Literal["algorithm_processing_infos", b"algorithm_processing_infos", "processing_state", b"processing_state"]) -> None: ...
|
|
208
|
+
|
|
209
|
+
global___TalkState = TalkState
|
|
210
|
+
|
|
142
211
|
@typing.final
|
|
143
212
|
class Field(google.protobuf.message.Message):
|
|
144
213
|
"""connection field value"""
|
|
@@ -164,3 +233,21 @@ class Field(google.protobuf.message.Message):
|
|
|
164
233
|
def ClearField(self, field_name: typing.Literal["name", b"name", "type", b"type", "value", b"value"]) -> None: ...
|
|
165
234
|
|
|
166
235
|
global___Field = Field
|
|
236
|
+
|
|
237
|
+
@typing.final
|
|
238
|
+
class AlgorithmProcessingInfo(google.protobuf.message.Message):
|
|
239
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
240
|
+
|
|
241
|
+
ALGORITHM_FIELD_NUMBER: builtins.int
|
|
242
|
+
PROCESSING_STATE_FIELD_NUMBER: builtins.int
|
|
243
|
+
algorithm: global___Algorithm.ValueType
|
|
244
|
+
processing_state: global___ProcessingState.ValueType
|
|
245
|
+
def __init__(
|
|
246
|
+
self,
|
|
247
|
+
*,
|
|
248
|
+
algorithm: global___Algorithm.ValueType = ...,
|
|
249
|
+
processing_state: global___ProcessingState.ValueType = ...,
|
|
250
|
+
) -> None: ...
|
|
251
|
+
def ClearField(self, field_name: typing.Literal["algorithm", b"algorithm", "processing_state", b"processing_state"]) -> None: ...
|
|
252
|
+
|
|
253
|
+
global___AlgorithmProcessingInfo = AlgorithmProcessingInfo
|
|
@@ -19,7 +19,7 @@ from yandex.cloud.speechsense.v1 import search_pb2 as yandex_dot_cloud_dot_speec
|
|
|
19
19
|
from yandex.cloud.speechsense.v1 import talk_pb2 as yandex_dot_cloud_dot_speechsense_dot_v1_dot_talk__pb2
|
|
20
20
|
|
|
21
21
|
|
|
22
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n.yandex/cloud/speechsense/v1/talk_service.proto\x12\x1byandex.cloud.speechsense.v1\x1a\x1cgoogle/api/annotations.proto\x1a google/protobuf/field_mask.proto\x1a\'yandex/cloud/speechsense/v1/audio.proto\x1a&yandex/cloud/speechsense/v1/text.proto\x1a(yandex/cloud/speechsense/v1/search.proto\x1a&yandex/cloud/speechsense/v1/talk.proto\"\xa0\x01\n\x11StreamTalkRequest\x12=\n\x08metadata\x18\x01 \x01(\x0b\x32).yandex.cloud.speechsense.v1.TalkMetadataH\x00\x12\x43\n\x05\x61udio\x18\x02 \x01(\x0b\x32\x32.yandex.cloud.speechsense.v1.AudioStreamingRequestH\x00\x42\x07\n\x05\x45vent\"\x8a\x01\n\x11UploadTalkRequest\x12;\n\x08metadata\x18\x01 \x01(\x0b\x32).yandex.cloud.speechsense.v1.TalkMetadata\x12\x38\n\x05\x61udio\x18\x02 \x01(\x0b\x32).yandex.cloud.speechsense.v1.AudioRequest\"%\n\x12UploadTalkResponse\x12\x0f\n\x07talk_id\x18\x01 \x01(\t\"\x90\x01\n\x11UploadTextRequest\x12;\n\x08metadata\x18\x01 \x01(\x0b\x32).yandex.cloud.speechsense.v1.TalkMetadata\x12>\n\x0ctext_content\x18\x02 \x01(\x0b\x32(.yandex.cloud.speechsense.v1.TextContent\"%\n\x12UploadTextResponse\x12\x0f\n\x07talk_id\x18\x01 \x01(\t\"\xd5\x01\n\x0cTalkMetadata\x12\x15\n\rconnection_id\x18\x01 \x01(\t\x12\x45\n\x06\x66ields\x18\x02 \x03(\x0b\x32\x35.yandex.cloud.speechsense.v1.TalkMetadata.FieldsEntry\x12\x38\n\x05users\x18\x03 \x03(\x0b\x32).yandex.cloud.speechsense.v1.UserMetadata\x1a-\n\x0b\x46ieldsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\xc5\x01\n\x0cUserMetadata\x12\n\n\x02id\x18\x01 \x01(\t\x12\x33\n\x04role\x18\x02 \x01(\x0e\x32%.yandex.cloud.speechsense.v1.UserRole\x12\x45\n\x06\x66ields\x18\x03 \x03(\x0b\x32\x35.yandex.cloud.speechsense.v1.UserMetadata.FieldsEntry\x1a-\n\x0b\x46ieldsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\xb3\x02\n\x11SearchTalkRequest\x12\x17\n\x0forganization_id\x18\x01 \x01(\t\x12\x10\n\x08space_id\x18\x02 \x01(\t\x12\x15\n\rconnection_id\x18\x03 \x01(\t\x12\x12\n\nproject_id\x18\x04 \x01(\t\x12\x34\n\x07\x66ilters\x18\x05 \x03(\x0b\x32#.yandex.cloud.speechsense.v1.Filter\x12\x31\n\x05query\x18\x06 \x01(\x0b\x32\".yandex.cloud.speechsense.v1.Query\x12\x11\n\tpage_size\x18\x07 \x01(\x03\x12\x12\n\npage_token\x18\x08 \x01(\t\x12\x38\n\tsort_data\x18\t \x01(\x0b\x32%.yandex.cloud.speechsense.v1.SortData\"T\n\x12SearchTalkResponse\x12\x10\n\x08talk_ids\x18\x01 \x03(\t\x12\x13\n\x0btalks_count\x18\x02 \x01(\x03\x12\x17\n\x0fnext_page_token\x18\x03 \x01(\t\"\xaa\x01\n\x0eGetTalkRequest\x12\x17\n\x0forganization_id\x18\x01 \x01(\t\x12\x10\n\x08space_id\x18\x02 \x01(\t\x12\x15\n\rconnection_id\x18\x03 \x01(\t\x12\x12\n\nproject_id\x18\x04 \x01(\t\x12\x10\n\x08talk_ids\x18\x05 \x03(\t\x12\x30\n\x0cresults_mask\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\"B\n\x0fGetTalkResponse\x12/\n\x04talk\x18\x01 \x03(\x0b\x32!.yandex.cloud.speechsense.v1.Talk*f\n\x08UserRole\x12\x19\n\x15USER_ROLE_UNSPECIFIED\x10\x00\x12\x16\n\x12USER_ROLE_OPERATOR\x10\x01\x12\x14\n\x10USER_ROLE_CLIENT\x10\x02\x12\x11\n\rUSER_ROLE_BOT\x10\x03\x32\
|
|
22
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n.yandex/cloud/speechsense/v1/talk_service.proto\x12\x1byandex.cloud.speechsense.v1\x1a\x1cgoogle/api/annotations.proto\x1a google/protobuf/field_mask.proto\x1a\'yandex/cloud/speechsense/v1/audio.proto\x1a&yandex/cloud/speechsense/v1/text.proto\x1a(yandex/cloud/speechsense/v1/search.proto\x1a&yandex/cloud/speechsense/v1/talk.proto\"\xa0\x01\n\x11StreamTalkRequest\x12=\n\x08metadata\x18\x01 \x01(\x0b\x32).yandex.cloud.speechsense.v1.TalkMetadataH\x00\x12\x43\n\x05\x61udio\x18\x02 \x01(\x0b\x32\x32.yandex.cloud.speechsense.v1.AudioStreamingRequestH\x00\x42\x07\n\x05\x45vent\"\x8a\x01\n\x11UploadTalkRequest\x12;\n\x08metadata\x18\x01 \x01(\x0b\x32).yandex.cloud.speechsense.v1.TalkMetadata\x12\x38\n\x05\x61udio\x18\x02 \x01(\x0b\x32).yandex.cloud.speechsense.v1.AudioRequest\"%\n\x12UploadTalkResponse\x12\x0f\n\x07talk_id\x18\x01 \x01(\t\"\x90\x01\n\x11UploadTextRequest\x12;\n\x08metadata\x18\x01 \x01(\x0b\x32).yandex.cloud.speechsense.v1.TalkMetadata\x12>\n\x0ctext_content\x18\x02 \x01(\x0b\x32(.yandex.cloud.speechsense.v1.TextContent\"%\n\x12UploadTextResponse\x12\x0f\n\x07talk_id\x18\x01 \x01(\t\"\xd5\x01\n\x0cTalkMetadata\x12\x15\n\rconnection_id\x18\x01 \x01(\t\x12\x45\n\x06\x66ields\x18\x02 \x03(\x0b\x32\x35.yandex.cloud.speechsense.v1.TalkMetadata.FieldsEntry\x12\x38\n\x05users\x18\x03 \x03(\x0b\x32).yandex.cloud.speechsense.v1.UserMetadata\x1a-\n\x0b\x46ieldsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\xc5\x01\n\x0cUserMetadata\x12\n\n\x02id\x18\x01 \x01(\t\x12\x33\n\x04role\x18\x02 \x01(\x0e\x32%.yandex.cloud.speechsense.v1.UserRole\x12\x45\n\x06\x66ields\x18\x03 \x03(\x0b\x32\x35.yandex.cloud.speechsense.v1.UserMetadata.FieldsEntry\x1a-\n\x0b\x46ieldsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\"\xb3\x02\n\x11SearchTalkRequest\x12\x17\n\x0forganization_id\x18\x01 \x01(\t\x12\x10\n\x08space_id\x18\x02 \x01(\t\x12\x15\n\rconnection_id\x18\x03 \x01(\t\x12\x12\n\nproject_id\x18\x04 \x01(\t\x12\x34\n\x07\x66ilters\x18\x05 \x03(\x0b\x32#.yandex.cloud.speechsense.v1.Filter\x12\x31\n\x05query\x18\x06 \x01(\x0b\x32\".yandex.cloud.speechsense.v1.Query\x12\x11\n\tpage_size\x18\x07 \x01(\x03\x12\x12\n\npage_token\x18\x08 \x01(\t\x12\x38\n\tsort_data\x18\t \x01(\x0b\x32%.yandex.cloud.speechsense.v1.SortData\"T\n\x12SearchTalkResponse\x12\x10\n\x08talk_ids\x18\x01 \x03(\t\x12\x13\n\x0btalks_count\x18\x02 \x01(\x03\x12\x17\n\x0fnext_page_token\x18\x03 \x01(\t\"\xaa\x01\n\x0eGetTalkRequest\x12\x17\n\x0forganization_id\x18\x01 \x01(\t\x12\x10\n\x08space_id\x18\x02 \x01(\t\x12\x15\n\rconnection_id\x18\x03 \x01(\t\x12\x12\n\nproject_id\x18\x04 \x01(\t\x12\x10\n\x08talk_ids\x18\x05 \x03(\t\x12\x30\n\x0cresults_mask\x18\x06 \x01(\x0b\x32\x1a.google.protobuf.FieldMask\"B\n\x0fGetTalkResponse\x12/\n\x04talk\x18\x01 \x03(\x0b\x32!.yandex.cloud.speechsense.v1.Talk*f\n\x08UserRole\x12\x19\n\x15USER_ROLE_UNSPECIFIED\x10\x00\x12\x16\n\x12USER_ROLE_OPERATOR\x10\x01\x12\x14\n\x10USER_ROLE_CLIENT\x10\x02\x12\x11\n\rUSER_ROLE_BOT\x10\x03\x32\xfe\x04\n\x0bTalkService\x12s\n\x0eUploadAsStream\x12..yandex.cloud.speechsense.v1.StreamTalkRequest\x1a/.yandex.cloud.speechsense.v1.UploadTalkResponse(\x01\x12k\n\x06Upload\x12..yandex.cloud.speechsense.v1.UploadTalkRequest\x1a/.yandex.cloud.speechsense.v1.UploadTalkResponse\"\x00\x12o\n\nUploadText\x12..yandex.cloud.speechsense.v1.UploadTextRequest\x1a/.yandex.cloud.speechsense.v1.UploadTextResponse\"\x00\x12\x92\x01\n\x06Search\x12..yandex.cloud.speechsense.v1.SearchTalkRequest\x1a/.yandex.cloud.speechsense.v1.SearchTalkResponse\"\'\x82\xd3\xe4\x93\x02!\"\x1c/speechsense/v1/talks/search:\x01*\x12\x86\x01\n\x03Get\x12+.yandex.cloud.speechsense.v1.GetTalkRequest\x1a,.yandex.cloud.speechsense.v1.GetTalkResponse\"$\x82\xd3\xe4\x93\x02\x1e\"\x19/speechsense/v1/talks/get:\x01*B\x80\x01\n\x1fyandex.cloud.api.speechsense.v1B\x10TalkServiceProtoZKgithub.com/yandex-cloud/go-genproto/yandex/cloud/speechsense/v1;speechsenseb\x06proto3')
|
|
23
23
|
|
|
24
24
|
_globals = globals()
|
|
25
25
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
@@ -31,10 +31,6 @@ if _descriptor._USE_C_DESCRIPTORS == False:
|
|
|
31
31
|
_TALKMETADATA_FIELDSENTRY._serialized_options = b'8\001'
|
|
32
32
|
_USERMETADATA_FIELDSENTRY._options = None
|
|
33
33
|
_USERMETADATA_FIELDSENTRY._serialized_options = b'8\001'
|
|
34
|
-
_TALKSERVICE.methods_by_name['Upload']._options = None
|
|
35
|
-
_TALKSERVICE.methods_by_name['Upload']._serialized_options = b'\202\323\344\223\002!\"\034/speechsense/v1/talks/upload:\001*'
|
|
36
|
-
_TALKSERVICE.methods_by_name['UploadText']._options = None
|
|
37
|
-
_TALKSERVICE.methods_by_name['UploadText']._serialized_options = b'\202\323\344\223\002%\" /speechsense/v1/talks/uploadText:\001*'
|
|
38
34
|
_TALKSERVICE.methods_by_name['Search']._options = None
|
|
39
35
|
_TALKSERVICE.methods_by_name['Search']._serialized_options = b'\202\323\344\223\002!\"\034/speechsense/v1/talks/search:\001*'
|
|
40
36
|
_TALKSERVICE.methods_by_name['Get']._options = None
|
|
@@ -68,5 +64,5 @@ if _descriptor._USE_C_DESCRIPTORS == False:
|
|
|
68
64
|
_globals['_GETTALKRESPONSE']._serialized_start=1820
|
|
69
65
|
_globals['_GETTALKRESPONSE']._serialized_end=1886
|
|
70
66
|
_globals['_TALKSERVICE']._serialized_start=1993
|
|
71
|
-
_globals['_TALKSERVICE']._serialized_end=
|
|
67
|
+
_globals['_TALKSERVICE']._serialized_end=2631
|
|
72
68
|
# @@protoc_insertion_point(module_scope)
|
|
@@ -14,7 +14,7 @@ _sym_db = _symbol_database.Default()
|
|
|
14
14
|
from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2
|
|
15
15
|
|
|
16
16
|
|
|
17
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n#yandex/cloud/video/v1/channel.proto\x12\x15yandex.cloud.video.v1\x1a\x1fgoogle/protobuf/timestamp.proto\"\xab\x02\n\x07\x43hannel\x12\n\n\x02id\x18\x01 \x01(\t\x12\x17\n\x0forganization_id\x18\x02 \x01(\t\x12\r\n\x05title\x18\x03 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x04 \x01(\t\x12.\n\ncreated_at\x18\x64 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12.\n\nupdated_at\x18\x65 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12;\n\x06labels\x18\xc8\x01 \x03(\x0b\x32*.yandex.cloud.video.v1.Channel.LabelsEntry\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01J\
|
|
17
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n#yandex/cloud/video/v1/channel.proto\x12\x15yandex.cloud.video.v1\x1a\x1fgoogle/protobuf/timestamp.proto\"\xab\x02\n\x07\x43hannel\x12\n\n\x02id\x18\x01 \x01(\t\x12\x17\n\x0forganization_id\x18\x02 \x01(\t\x12\r\n\x05title\x18\x03 \x01(\t\x12\x13\n\x0b\x64\x65scription\x18\x04 \x01(\t\x12.\n\ncreated_at\x18\x64 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12.\n\nupdated_at\x18\x65 \x01(\x0b\x32\x1a.google.protobuf.Timestamp\x12;\n\x06labels\x18\xc8\x01 \x03(\x0b\x32*.yandex.cloud.video.v1.Channel.LabelsEntry\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01J\x04\x08\x05\x10\x64J\x05\x08\x66\x10\xc8\x01\x42\\\n\x19yandex.cloud.api.video.v1Z?github.com/yandex-cloud/go-genproto/yandex/cloud/video/v1;videob\x06proto3')
|
|
18
18
|
|
|
19
19
|
_globals = globals()
|
|
20
20
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
@@ -15,10 +15,11 @@ from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2
|
|
|
15
15
|
from google.protobuf import field_mask_pb2 as google_dot_protobuf_dot_field__mask__pb2
|
|
16
16
|
from yandex.cloud.api import operation_pb2 as yandex_dot_cloud_dot_api_dot_operation__pb2
|
|
17
17
|
from yandex.cloud.operation import operation_pb2 as yandex_dot_cloud_dot_operation_dot_operation__pb2
|
|
18
|
+
from yandex.cloud import validation_pb2 as yandex_dot_cloud_dot_validation__pb2
|
|
18
19
|
from yandex.cloud.video.v1 import channel_pb2 as yandex_dot_cloud_dot_video_dot_v1_dot_channel__pb2
|
|
19
20
|
|
|
20
21
|
|
|
21
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n+yandex/cloud/video/v1/channel_service.proto\x12\x15yandex.cloud.video.v1\x1a\x1cgoogle/api/annotations.proto\x1a google/protobuf/field_mask.proto\x1a yandex/cloud/api/operation.proto\x1a&yandex/cloud/operation/operation.proto\x1a#yandex/cloud/video/v1/channel.proto\"\
|
|
22
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n+yandex/cloud/video/v1/channel_service.proto\x12\x15yandex.cloud.video.v1\x1a\x1cgoogle/api/annotations.proto\x1a google/protobuf/field_mask.proto\x1a yandex/cloud/api/operation.proto\x1a&yandex/cloud/operation/operation.proto\x1a\x1dyandex/cloud/validation.proto\x1a#yandex/cloud/video/v1/channel.proto\"5\n\x11GetChannelRequest\x12 \n\nchannel_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\"\xae\x01\n\x13ListChannelsRequest\x12%\n\x0forganization_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12\x1d\n\tpage_size\x18\x64 \x01(\x03\x42\n\xfa\xc7\x31\x06<=1000\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<=1000J\x04\x08\x02\x10\x64\"g\n\x14ListChannelsResponse\x12\x30\n\x08\x63hannels\x18\x01 \x03(\x0b\x32\x1e.yandex.cloud.video.v1.Channel\x12\x17\n\x0fnext_page_token\x18\x64 \x01(\tJ\x04\x08\x02\x10\x64\"\xa9\x02\n\x14\x43reateChannelRequest\x12%\n\x0forganization_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12\x13\n\x05title\x18\x02 \x01(\tB\x04\xe8\xc7\x31\x01\x12\x13\n\x0b\x64\x65scription\x18\x03 \x01(\t\x12\x89\x01\n\x06labels\x18\xc8\x01 \x03(\x0b\x32\x37.yandex.cloud.video.v1.CreateChannelRequest.LabelsEntryB?\xf2\xc7\x31\x0f[-_.@:/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<=63\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01J\x05\x08\x04\x10\xc8\x01\"+\n\x15\x43reateChannelMetadata\x12\x12\n\nchannel_id\x18\x01 \x01(\t\"\xce\x02\n\x14UpdateChannelRequest\x12 \n\nchannel_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\x89\x01\n\x06labels\x18\xc8\x01 \x03(\x0b\x32\x37.yandex.cloud.video.v1.UpdateChannelRequest.LabelsEntryB?\xf2\xc7\x31\x0f[-_.@:/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<=63\x1a-\n\x0bLabelsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01J\x05\x08\x05\x10\xc8\x01\"+\n\x15UpdateChannelMetadata\x12\x12\n\nchannel_id\x18\x01 \x01(\t\"8\n\x14\x44\x65leteChannelRequest\x12 \n\nchannel_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\"+\n\x15\x44\x65leteChannelMetadata\x12\x12\n\nchannel_id\x18\x01 \x01(\t\"j\n\x1a\x42\x61tchDeleteChannelsRequest\x12%\n\x0forganization_id\x18\x01 \x01(\tB\x0c\xe8\xc7\x31\x01\x8a\xc8\x31\x04<=50\x12%\n\x0b\x63hannel_ids\x18\x02 \x03(\tB\x10\x82\xc8\x31\x04\x31-50\x8a\xc8\x31\x04<=50\"2\n\x1b\x42\x61tchDeleteChannelsMetadata\x12\x13\n\x0b\x63hannel_ids\x18\x01 \x03(\t2\xcf\x07\n\x0e\x43hannelService\x12x\n\x03Get\x12(.yandex.cloud.video.v1.GetChannelRequest\x1a\x1e.yandex.cloud.video.v1.Channel\"\'\x82\xd3\xe4\x93\x02!\x12\x1f/video/v1/channels/{channel_id}\x12{\n\x04List\x12*.yandex.cloud.video.v1.ListChannelsRequest\x1a+.yandex.cloud.video.v1.ListChannelsResponse\"\x1a\x82\xd3\xe4\x93\x02\x14\x12\x12/video/v1/channels\x12\x9b\x01\n\x06\x43reate\x12+.yandex.cloud.video.v1.CreateChannelRequest\x1a!.yandex.cloud.operation.Operation\"A\xb2\xd2* \n\x15\x43reateChannelMetadata\x12\x07\x43hannel\x82\xd3\xe4\x93\x02\x17\"\x12/video/v1/channels:\x01*\x12\xa8\x01\n\x06Update\x12+.yandex.cloud.video.v1.UpdateChannelRequest\x1a!.yandex.cloud.operation.Operation\"N\xb2\xd2* \n\x15UpdateChannelMetadata\x12\x07\x43hannel\x82\xd3\xe4\x93\x02$2\x1f/video/v1/channels/{channel_id}:\x01*\x12\xb3\x01\n\x06\x44\x65lete\x12+.yandex.cloud.video.v1.DeleteChannelRequest\x1a!.yandex.cloud.operation.Operation\"Y\xb2\xd2*.\n\x15\x44\x65leteChannelMetadata\x12\x15google.protobuf.Empty\x82\xd3\xe4\x93\x02!*\x1f/video/v1/channels/{channel_id}\x12\xc6\x01\n\x0b\x42\x61tchDelete\x12\x31.yandex.cloud.video.v1.BatchDeleteChannelsRequest\x1a!.yandex.cloud.operation.Operation\"a\xb2\xd2*4\n\x1b\x42\x61tchDeleteChannelsMetadata\x12\x15google.protobuf.Empty\x82\xd3\xe4\x93\x02#\"\x1e/video/v1/channels:batchDelete:\x01*B\\\n\x19yandex.cloud.api.video.v1Z?github.com/yandex-cloud/go-genproto/yandex/cloud/video/v1;videob\x06proto3')
|
|
22
23
|
|
|
23
24
|
_globals = globals()
|
|
24
25
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
@@ -26,10 +27,36 @@ _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'yandex.cloud.video.v1.chann
|
|
|
26
27
|
if _descriptor._USE_C_DESCRIPTORS == False:
|
|
27
28
|
DESCRIPTOR._options = None
|
|
28
29
|
DESCRIPTOR._serialized_options = b'\n\031yandex.cloud.api.video.v1Z?github.com/yandex-cloud/go-genproto/yandex/cloud/video/v1;video'
|
|
30
|
+
_GETCHANNELREQUEST.fields_by_name['channel_id']._options = None
|
|
31
|
+
_GETCHANNELREQUEST.fields_by_name['channel_id']._serialized_options = b'\350\3071\001\212\3101\004<=50'
|
|
32
|
+
_LISTCHANNELSREQUEST.fields_by_name['organization_id']._options = None
|
|
33
|
+
_LISTCHANNELSREQUEST.fields_by_name['organization_id']._serialized_options = b'\350\3071\001\212\3101\004<=50'
|
|
34
|
+
_LISTCHANNELSREQUEST.fields_by_name['page_size']._options = None
|
|
35
|
+
_LISTCHANNELSREQUEST.fields_by_name['page_size']._serialized_options = b'\372\3071\006<=1000'
|
|
36
|
+
_LISTCHANNELSREQUEST.fields_by_name['page_token']._options = None
|
|
37
|
+
_LISTCHANNELSREQUEST.fields_by_name['page_token']._serialized_options = b'\212\3101\005<=200'
|
|
38
|
+
_LISTCHANNELSREQUEST.fields_by_name['filter']._options = None
|
|
39
|
+
_LISTCHANNELSREQUEST.fields_by_name['filter']._serialized_options = b'\212\3101\006<=1000'
|
|
29
40
|
_CREATECHANNELREQUEST_LABELSENTRY._options = None
|
|
30
41
|
_CREATECHANNELREQUEST_LABELSENTRY._serialized_options = b'8\001'
|
|
42
|
+
_CREATECHANNELREQUEST.fields_by_name['organization_id']._options = None
|
|
43
|
+
_CREATECHANNELREQUEST.fields_by_name['organization_id']._serialized_options = b'\350\3071\001\212\3101\004<=50'
|
|
44
|
+
_CREATECHANNELREQUEST.fields_by_name['title']._options = None
|
|
45
|
+
_CREATECHANNELREQUEST.fields_by_name['title']._serialized_options = b'\350\3071\001'
|
|
46
|
+
_CREATECHANNELREQUEST.fields_by_name['labels']._options = None
|
|
47
|
+
_CREATECHANNELREQUEST.fields_by_name['labels']._serialized_options = b'\362\3071\017[-_.@:/0-9a-z]*\202\3101\004<=64\212\3101\004<=63\262\3101\030\022\020[a-z][-_0-9a-z]*\032\004<=63'
|
|
31
48
|
_UPDATECHANNELREQUEST_LABELSENTRY._options = None
|
|
32
49
|
_UPDATECHANNELREQUEST_LABELSENTRY._serialized_options = b'8\001'
|
|
50
|
+
_UPDATECHANNELREQUEST.fields_by_name['channel_id']._options = None
|
|
51
|
+
_UPDATECHANNELREQUEST.fields_by_name['channel_id']._serialized_options = b'\350\3071\001\212\3101\004<=50'
|
|
52
|
+
_UPDATECHANNELREQUEST.fields_by_name['labels']._options = None
|
|
53
|
+
_UPDATECHANNELREQUEST.fields_by_name['labels']._serialized_options = b'\362\3071\017[-_.@:/0-9a-z]*\202\3101\004<=64\212\3101\004<=63\262\3101\030\022\020[a-z][-_0-9a-z]*\032\004<=63'
|
|
54
|
+
_DELETECHANNELREQUEST.fields_by_name['channel_id']._options = None
|
|
55
|
+
_DELETECHANNELREQUEST.fields_by_name['channel_id']._serialized_options = b'\350\3071\001\212\3101\004<=50'
|
|
56
|
+
_BATCHDELETECHANNELSREQUEST.fields_by_name['organization_id']._options = None
|
|
57
|
+
_BATCHDELETECHANNELSREQUEST.fields_by_name['organization_id']._serialized_options = b'\350\3071\001\212\3101\004<=50'
|
|
58
|
+
_BATCHDELETECHANNELSREQUEST.fields_by_name['channel_ids']._options = None
|
|
59
|
+
_BATCHDELETECHANNELSREQUEST.fields_by_name['channel_ids']._serialized_options = b'\202\3101\0041-50\212\3101\004<=50'
|
|
33
60
|
_CHANNELSERVICE.methods_by_name['Get']._options = None
|
|
34
61
|
_CHANNELSERVICE.methods_by_name['Get']._serialized_options = b'\202\323\344\223\002!\022\037/video/v1/channels/{channel_id}'
|
|
35
62
|
_CHANNELSERVICE.methods_by_name['List']._options = None
|
|
@@ -40,28 +67,34 @@ if _descriptor._USE_C_DESCRIPTORS == False:
|
|
|
40
67
|
_CHANNELSERVICE.methods_by_name['Update']._serialized_options = b'\262\322* \n\025UpdateChannelMetadata\022\007Channel\202\323\344\223\002$2\037/video/v1/channels/{channel_id}:\001*'
|
|
41
68
|
_CHANNELSERVICE.methods_by_name['Delete']._options = None
|
|
42
69
|
_CHANNELSERVICE.methods_by_name['Delete']._serialized_options = b'\262\322*.\n\025DeleteChannelMetadata\022\025google.protobuf.Empty\202\323\344\223\002!*\037/video/v1/channels/{channel_id}'
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
_globals['
|
|
46
|
-
_globals['
|
|
47
|
-
_globals['
|
|
48
|
-
_globals['
|
|
49
|
-
_globals['
|
|
50
|
-
_globals['
|
|
51
|
-
_globals['
|
|
52
|
-
_globals['
|
|
53
|
-
_globals['
|
|
54
|
-
_globals['
|
|
55
|
-
_globals['
|
|
56
|
-
_globals['
|
|
57
|
-
_globals['
|
|
58
|
-
_globals['
|
|
59
|
-
_globals['
|
|
60
|
-
_globals['
|
|
61
|
-
_globals['
|
|
62
|
-
_globals['
|
|
63
|
-
_globals['
|
|
64
|
-
_globals['
|
|
65
|
-
_globals['
|
|
66
|
-
_globals['
|
|
70
|
+
_CHANNELSERVICE.methods_by_name['BatchDelete']._options = None
|
|
71
|
+
_CHANNELSERVICE.methods_by_name['BatchDelete']._serialized_options = b'\262\322*4\n\033BatchDeleteChannelsMetadata\022\025google.protobuf.Empty\202\323\344\223\002#\"\036/video/v1/channels:batchDelete:\001*'
|
|
72
|
+
_globals['_GETCHANNELREQUEST']._serialized_start=276
|
|
73
|
+
_globals['_GETCHANNELREQUEST']._serialized_end=329
|
|
74
|
+
_globals['_LISTCHANNELSREQUEST']._serialized_start=332
|
|
75
|
+
_globals['_LISTCHANNELSREQUEST']._serialized_end=506
|
|
76
|
+
_globals['_LISTCHANNELSRESPONSE']._serialized_start=508
|
|
77
|
+
_globals['_LISTCHANNELSRESPONSE']._serialized_end=611
|
|
78
|
+
_globals['_CREATECHANNELREQUEST']._serialized_start=614
|
|
79
|
+
_globals['_CREATECHANNELREQUEST']._serialized_end=911
|
|
80
|
+
_globals['_CREATECHANNELREQUEST_LABELSENTRY']._serialized_start=859
|
|
81
|
+
_globals['_CREATECHANNELREQUEST_LABELSENTRY']._serialized_end=904
|
|
82
|
+
_globals['_CREATECHANNELMETADATA']._serialized_start=913
|
|
83
|
+
_globals['_CREATECHANNELMETADATA']._serialized_end=956
|
|
84
|
+
_globals['_UPDATECHANNELREQUEST']._serialized_start=959
|
|
85
|
+
_globals['_UPDATECHANNELREQUEST']._serialized_end=1293
|
|
86
|
+
_globals['_UPDATECHANNELREQUEST_LABELSENTRY']._serialized_start=859
|
|
87
|
+
_globals['_UPDATECHANNELREQUEST_LABELSENTRY']._serialized_end=904
|
|
88
|
+
_globals['_UPDATECHANNELMETADATA']._serialized_start=1295
|
|
89
|
+
_globals['_UPDATECHANNELMETADATA']._serialized_end=1338
|
|
90
|
+
_globals['_DELETECHANNELREQUEST']._serialized_start=1340
|
|
91
|
+
_globals['_DELETECHANNELREQUEST']._serialized_end=1396
|
|
92
|
+
_globals['_DELETECHANNELMETADATA']._serialized_start=1398
|
|
93
|
+
_globals['_DELETECHANNELMETADATA']._serialized_end=1441
|
|
94
|
+
_globals['_BATCHDELETECHANNELSREQUEST']._serialized_start=1443
|
|
95
|
+
_globals['_BATCHDELETECHANNELSREQUEST']._serialized_end=1549
|
|
96
|
+
_globals['_BATCHDELETECHANNELSMETADATA']._serialized_start=1551
|
|
97
|
+
_globals['_BATCHDELETECHANNELSMETADATA']._serialized_end=1601
|
|
98
|
+
_globals['_CHANNELSERVICE']._serialized_start=1604
|
|
99
|
+
_globals['_CHANNELSERVICE']._serialized_end=2579
|
|
67
100
|
# @@protoc_insertion_point(module_scope)
|
|
@@ -257,3 +257,43 @@ class DeleteChannelMetadata(google.protobuf.message.Message):
|
|
|
257
257
|
def ClearField(self, field_name: typing.Literal["channel_id", b"channel_id"]) -> None: ...
|
|
258
258
|
|
|
259
259
|
global___DeleteChannelMetadata = DeleteChannelMetadata
|
|
260
|
+
|
|
261
|
+
@typing.final
|
|
262
|
+
class BatchDeleteChannelsRequest(google.protobuf.message.Message):
|
|
263
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
264
|
+
|
|
265
|
+
ORGANIZATION_ID_FIELD_NUMBER: builtins.int
|
|
266
|
+
CHANNEL_IDS_FIELD_NUMBER: builtins.int
|
|
267
|
+
organization_id: builtins.str
|
|
268
|
+
"""ID of the organization."""
|
|
269
|
+
@property
|
|
270
|
+
def channel_ids(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]:
|
|
271
|
+
"""List of channel IDs."""
|
|
272
|
+
|
|
273
|
+
def __init__(
|
|
274
|
+
self,
|
|
275
|
+
*,
|
|
276
|
+
organization_id: builtins.str = ...,
|
|
277
|
+
channel_ids: collections.abc.Iterable[builtins.str] | None = ...,
|
|
278
|
+
) -> None: ...
|
|
279
|
+
def ClearField(self, field_name: typing.Literal["channel_ids", b"channel_ids", "organization_id", b"organization_id"]) -> None: ...
|
|
280
|
+
|
|
281
|
+
global___BatchDeleteChannelsRequest = BatchDeleteChannelsRequest
|
|
282
|
+
|
|
283
|
+
@typing.final
|
|
284
|
+
class BatchDeleteChannelsMetadata(google.protobuf.message.Message):
|
|
285
|
+
DESCRIPTOR: google.protobuf.descriptor.Descriptor
|
|
286
|
+
|
|
287
|
+
CHANNEL_IDS_FIELD_NUMBER: builtins.int
|
|
288
|
+
@property
|
|
289
|
+
def channel_ids(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]:
|
|
290
|
+
"""List of channel IDs."""
|
|
291
|
+
|
|
292
|
+
def __init__(
|
|
293
|
+
self,
|
|
294
|
+
*,
|
|
295
|
+
channel_ids: collections.abc.Iterable[builtins.str] | None = ...,
|
|
296
|
+
) -> None: ...
|
|
297
|
+
def ClearField(self, field_name: typing.Literal["channel_ids", b"channel_ids"]) -> None: ...
|
|
298
|
+
|
|
299
|
+
global___BatchDeleteChannelsMetadata = BatchDeleteChannelsMetadata
|