yandexcloud 0.294.0__py3-none-any.whl → 0.296.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.

Files changed (119) hide show
  1. yandex/cloud/ai/foundation_models/v1/image_generation/image_generation_pb2.py +5 -3
  2. yandex/cloud/ai/foundation_models/v1/image_generation/image_generation_pb2.pyi +28 -1
  3. yandex/cloud/backup/v1/resource_pb2.py +16 -14
  4. yandex/cloud/backup/v1/resource_pb2.pyi +38 -1
  5. yandex/cloud/billing/v1/customer_service_pb2.pyi +1 -1
  6. yandex/cloud/billing/v1/sku_service_pb2.pyi +1 -0
  7. yandex/cloud/compute/v1/instance_pb2.pyi +1 -3
  8. yandex/cloud/compute/v1/instance_service_pb2.py +26 -26
  9. yandex/cloud/compute/v1/instance_service_pb2.pyi +5 -1
  10. yandex/cloud/datasphere/v2/jobs/jobs_pb2.py +40 -32
  11. yandex/cloud/datasphere/v2/jobs/jobs_pb2.pyi +78 -1
  12. yandex/cloud/datasphere/v2/jobs/project_job_service_pb2.py +56 -54
  13. yandex/cloud/datasphere/v2/jobs/project_job_service_pb2.pyi +21 -6
  14. yandex/cloud/datasphere/v2/project_service_pb2.py +34 -30
  15. yandex/cloud/datasphere/v2/project_service_pb2.pyi +13 -3
  16. yandex/cloud/iam/v1/api_key_service_pb2.py +13 -3
  17. yandex/cloud/iam/v1/api_key_service_pb2.pyi +53 -0
  18. yandex/cloud/iam/v1/api_key_service_pb2_grpc.py +34 -0
  19. yandex/cloud/iam/v1/api_key_service_pb2_grpc.pyi +20 -0
  20. yandex/cloud/iot/devices/v1/registry_pb2.py +13 -13
  21. yandex/cloud/iot/devices/v1/registry_pb2.pyi +4 -0
  22. yandex/cloud/iot/devices/v1/registry_service_pb2.py +23 -3
  23. yandex/cloud/iot/devices/v1/registry_service_pb2.pyi +64 -0
  24. yandex/cloud/iot/devices/v1/registry_service_pb2_grpc.py +68 -0
  25. yandex/cloud/iot/devices/v1/registry_service_pb2_grpc.pyi +40 -0
  26. yandex/cloud/mdb/greenplum/v1/pxf_pb2.pyi +226 -52
  27. yandex/cloud/mdb/kafka/v1/cluster_pb2.py +42 -35
  28. yandex/cloud/mdb/kafka/v1/cluster_pb2.pyi +32 -2
  29. yandex/cloud/mdb/mongodb/v1/cluster_service_pb2.pyi +13 -7
  30. yandex/cloud/mdb/postgresql/v1/user_pb2.pyi +33 -16
  31. yandex/cloud/organizationmanager/v1/os_login_service_pb2.py +20 -20
  32. yandex/cloud/organizationmanager/v1/os_login_service_pb2.pyi +2 -2
  33. yandex/cloud/serverless/functions/v1/function_pb2.py +30 -28
  34. yandex/cloud/serverless/functions/v1/function_pb2.pyi +5 -1
  35. yandex/cloud/serverless/functions/v1/function_service_pb2.py +38 -36
  36. yandex/cloud/serverless/functions/v1/function_service_pb2.pyi +5 -1
  37. yandex/cloud/smartcaptcha/__init__.py +0 -0
  38. yandex/cloud/smartcaptcha/v1/__init__.py +0 -0
  39. yandex/cloud/smartcaptcha/v1/captcha_pb2.py +100 -0
  40. yandex/cloud/smartcaptcha/v1/captcha_pb2.pyi +500 -0
  41. yandex/cloud/smartcaptcha/v1/captcha_pb2_grpc.py +4 -0
  42. yandex/cloud/smartcaptcha/v1/captcha_pb2_grpc.pyi +17 -0
  43. yandex/cloud/smartcaptcha/v1/captcha_service_pb2.py +76 -0
  44. yandex/cloud/smartcaptcha/v1/captcha_service_pb2.pyi +268 -0
  45. yandex/cloud/smartcaptcha/v1/captcha_service_pb2_grpc.py +242 -0
  46. yandex/cloud/smartcaptcha/v1/captcha_service_pb2_grpc.pyi +152 -0
  47. yandex/cloud/smartwebsecurity/__init__.py +0 -0
  48. yandex/cloud/smartwebsecurity/v1/__init__.py +0 -0
  49. yandex/cloud/smartwebsecurity/v1/security_profile_pb2.py +110 -0
  50. yandex/cloud/smartwebsecurity/v1/security_profile_pb2.pyi +520 -0
  51. yandex/cloud/smartwebsecurity/v1/security_profile_pb2_grpc.py +4 -0
  52. yandex/cloud/smartwebsecurity/v1/security_profile_pb2_grpc.pyi +17 -0
  53. yandex/cloud/smartwebsecurity/v1/security_profile_service_pb2.py +78 -0
  54. yandex/cloud/smartwebsecurity/v1/security_profile_service_pb2.pyi +260 -0
  55. yandex/cloud/smartwebsecurity/v1/security_profile_service_pb2_grpc.py +208 -0
  56. yandex/cloud/smartwebsecurity/v1/security_profile_service_pb2_grpc.pyi +132 -0
  57. yandex/cloud/speechsense/v1/analysis/__init__.py +0 -0
  58. yandex/cloud/speechsense/v1/analysis/conversation_statistics_pb2.py +28 -0
  59. yandex/cloud/speechsense/v1/analysis/conversation_statistics_pb2.pyi +40 -0
  60. yandex/cloud/speechsense/v1/analysis/conversation_statistics_pb2_grpc.py +4 -0
  61. yandex/cloud/speechsense/v1/analysis/conversation_statistics_pb2_grpc.pyi +17 -0
  62. yandex/cloud/speechsense/v1/analysis/interrupts_statistics_pb2.py +29 -0
  63. yandex/cloud/speechsense/v1/analysis/interrupts_statistics_pb2.pyi +66 -0
  64. yandex/cloud/speechsense/v1/analysis/interrupts_statistics_pb2_grpc.py +4 -0
  65. yandex/cloud/speechsense/v1/analysis/interrupts_statistics_pb2_grpc.pyi +17 -0
  66. yandex/cloud/speechsense/v1/analysis/points_pb2.py +29 -0
  67. yandex/cloud/speechsense/v1/analysis/points_pb2.pyi +53 -0
  68. yandex/cloud/speechsense/v1/analysis/points_pb2_grpc.py +4 -0
  69. yandex/cloud/speechsense/v1/analysis/points_pb2_grpc.pyi +17 -0
  70. yandex/cloud/speechsense/v1/analysis/predefined_classifiers_pb2.py +30 -0
  71. yandex/cloud/speechsense/v1/analysis/predefined_classifiers_pb2.pyi +93 -0
  72. yandex/cloud/speechsense/v1/analysis/predefined_classifiers_pb2_grpc.py +4 -0
  73. yandex/cloud/speechsense/v1/analysis/predefined_classifiers_pb2_grpc.pyi +17 -0
  74. yandex/cloud/speechsense/v1/analysis/silence_statistics_pb2.py +27 -0
  75. yandex/cloud/speechsense/v1/analysis/silence_statistics_pb2.pyi +41 -0
  76. yandex/cloud/speechsense/v1/analysis/silence_statistics_pb2_grpc.py +4 -0
  77. yandex/cloud/speechsense/v1/analysis/silence_statistics_pb2_grpc.pyi +17 -0
  78. yandex/cloud/speechsense/v1/analysis/speaker_statistics_pb2.py +28 -0
  79. yandex/cloud/speechsense/v1/analysis/speaker_statistics_pb2.pyi +58 -0
  80. yandex/cloud/speechsense/v1/analysis/speaker_statistics_pb2_grpc.py +4 -0
  81. yandex/cloud/speechsense/v1/analysis/speaker_statistics_pb2_grpc.pyi +17 -0
  82. yandex/cloud/speechsense/v1/analysis/speech_statistics_pb2.py +27 -0
  83. yandex/cloud/speechsense/v1/analysis/speech_statistics_pb2.pyi +43 -0
  84. yandex/cloud/speechsense/v1/analysis/speech_statistics_pb2_grpc.py +4 -0
  85. yandex/cloud/speechsense/v1/analysis/speech_statistics_pb2_grpc.pyi +17 -0
  86. yandex/cloud/speechsense/v1/analysis/statistics_common_pb2.py +30 -0
  87. yandex/cloud/speechsense/v1/analysis/statistics_common_pb2.pyi +91 -0
  88. yandex/cloud/speechsense/v1/analysis/statistics_common_pb2_grpc.py +4 -0
  89. yandex/cloud/speechsense/v1/analysis/statistics_common_pb2_grpc.pyi +17 -0
  90. yandex/cloud/speechsense/v1/analysis/text_classifiers_pb2.py +33 -0
  91. yandex/cloud/speechsense/v1/analysis/text_classifiers_pb2.pyi +102 -0
  92. yandex/cloud/speechsense/v1/analysis/text_classifiers_pb2_grpc.py +4 -0
  93. yandex/cloud/speechsense/v1/analysis/text_classifiers_pb2_grpc.pyi +17 -0
  94. yandex/cloud/speechsense/v1/analysis/transcription_pb2.py +41 -0
  95. yandex/cloud/speechsense/v1/analysis/transcription_pb2.pyi +186 -0
  96. yandex/cloud/speechsense/v1/analysis/transcription_pb2_grpc.py +4 -0
  97. yandex/cloud/speechsense/v1/analysis/transcription_pb2_grpc.pyi +17 -0
  98. yandex/cloud/speechsense/v1/analysis/utterance_statistics_pb2.py +27 -0
  99. yandex/cloud/speechsense/v1/analysis/utterance_statistics_pb2.pyi +70 -0
  100. yandex/cloud/speechsense/v1/analysis/utterance_statistics_pb2_grpc.py +4 -0
  101. yandex/cloud/speechsense/v1/analysis/utterance_statistics_pb2_grpc.pyi +17 -0
  102. yandex/cloud/speechsense/v1/search_pb2.py +51 -0
  103. yandex/cloud/speechsense/v1/search_pb2.pyi +324 -0
  104. yandex/cloud/speechsense/v1/search_pb2_grpc.py +4 -0
  105. yandex/cloud/speechsense/v1/search_pb2_grpc.pyi +17 -0
  106. yandex/cloud/speechsense/v1/talk_pb2.py +38 -0
  107. yandex/cloud/speechsense/v1/talk_pb2.pyi +161 -0
  108. yandex/cloud/speechsense/v1/talk_pb2_grpc.py +4 -0
  109. yandex/cloud/speechsense/v1/talk_pb2_grpc.pyi +17 -0
  110. yandex/cloud/speechsense/v1/talk_service_pb2.py +34 -18
  111. yandex/cloud/speechsense/v1/talk_service_pb2.pyi +143 -0
  112. yandex/cloud/speechsense/v1/talk_service_pb2_grpc.py +68 -0
  113. yandex/cloud/speechsense/v1/talk_service_pb2_grpc.pyi +40 -0
  114. {yandexcloud-0.294.0.dist-info → yandexcloud-0.296.0.dist-info}/METADATA +8 -8
  115. {yandexcloud-0.294.0.dist-info → yandexcloud-0.296.0.dist-info}/RECORD +119 -46
  116. {yandexcloud-0.294.0.dist-info → yandexcloud-0.296.0.dist-info}/AUTHORS +0 -0
  117. {yandexcloud-0.294.0.dist-info → yandexcloud-0.296.0.dist-info}/LICENSE +0 -0
  118. {yandexcloud-0.294.0.dist-info → yandexcloud-0.296.0.dist-info}/WHEEL +0 -0
  119. {yandexcloud-0.294.0.dist-info → yandexcloud-0.296.0.dist-info}/top_level.txt +0 -0
@@ -0,0 +1,161 @@
1
+ """
2
+ @generated by mypy-protobuf. Do not edit manually!
3
+ isort:skip_file
4
+ """
5
+
6
+ import builtins
7
+ import collections.abc
8
+ import google.protobuf.descriptor
9
+ import google.protobuf.internal.containers
10
+ import google.protobuf.internal.enum_type_wrapper
11
+ import google.protobuf.message
12
+ import google.protobuf.timestamp_pb2
13
+ import sys
14
+ import typing
15
+ import yandex.cloud.speechsense.v1.analysis.conversation_statistics_pb2
16
+ import yandex.cloud.speechsense.v1.analysis.interrupts_statistics_pb2
17
+ import yandex.cloud.speechsense.v1.analysis.points_pb2
18
+ import yandex.cloud.speechsense.v1.analysis.silence_statistics_pb2
19
+ import yandex.cloud.speechsense.v1.analysis.speech_statistics_pb2
20
+ import yandex.cloud.speechsense.v1.analysis.text_classifiers_pb2
21
+ import yandex.cloud.speechsense.v1.analysis.transcription_pb2
22
+
23
+ if sys.version_info >= (3, 10):
24
+ import typing as typing_extensions
25
+ else:
26
+ import typing_extensions
27
+
28
+ DESCRIPTOR: google.protobuf.descriptor.FileDescriptor
29
+
30
+ class _FieldType:
31
+ ValueType = typing.NewType("ValueType", builtins.int)
32
+ V: typing_extensions.TypeAlias = ValueType
33
+
34
+ class _FieldTypeEnumTypeWrapper(google.protobuf.internal.enum_type_wrapper._EnumTypeWrapper[_FieldType.ValueType], builtins.type):
35
+ DESCRIPTOR: google.protobuf.descriptor.EnumDescriptor
36
+ FIELD_TYPE_UNSPECIFIED: _FieldType.ValueType # 0
37
+ FIELD_TYPE_STRING: _FieldType.ValueType # 1
38
+ FIELD_TYPE_NUMBER: _FieldType.ValueType # 2
39
+ FIELD_TYPE_DECIMAL: _FieldType.ValueType # 3
40
+ FIELD_TYPE_BOOLEAN: _FieldType.ValueType # 4
41
+ FIELD_TYPE_DATE: _FieldType.ValueType # 5
42
+ FIELD_TYPE_JSON: _FieldType.ValueType # 6
43
+
44
+ class FieldType(_FieldType, metaclass=_FieldTypeEnumTypeWrapper):
45
+ """connection field type"""
46
+
47
+ FIELD_TYPE_UNSPECIFIED: FieldType.ValueType # 0
48
+ FIELD_TYPE_STRING: FieldType.ValueType # 1
49
+ FIELD_TYPE_NUMBER: FieldType.ValueType # 2
50
+ FIELD_TYPE_DECIMAL: FieldType.ValueType # 3
51
+ FIELD_TYPE_BOOLEAN: FieldType.ValueType # 4
52
+ FIELD_TYPE_DATE: FieldType.ValueType # 5
53
+ FIELD_TYPE_JSON: FieldType.ValueType # 6
54
+ global___FieldType = FieldType
55
+
56
+ @typing.final
57
+ class Talk(google.protobuf.message.Message):
58
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
59
+
60
+ ID_FIELD_NUMBER: builtins.int
61
+ ORGANIZATION_ID_FIELD_NUMBER: builtins.int
62
+ SPACE_ID_FIELD_NUMBER: builtins.int
63
+ CONNECTION_ID_FIELD_NUMBER: builtins.int
64
+ PROJECT_IDS_FIELD_NUMBER: builtins.int
65
+ CREATED_BY_FIELD_NUMBER: builtins.int
66
+ CREATED_AT_FIELD_NUMBER: builtins.int
67
+ MODIFIED_BY_FIELD_NUMBER: builtins.int
68
+ MODIFIED_AT_FIELD_NUMBER: builtins.int
69
+ TALK_FIELDS_FIELD_NUMBER: builtins.int
70
+ TRANSCRIPTION_FIELD_NUMBER: builtins.int
71
+ SPEECH_STATISTICS_FIELD_NUMBER: builtins.int
72
+ SILENCE_STATISTICS_FIELD_NUMBER: builtins.int
73
+ INTERRUPTS_STATISTICS_FIELD_NUMBER: builtins.int
74
+ CONVERSATION_STATISTICS_FIELD_NUMBER: builtins.int
75
+ POINTS_FIELD_NUMBER: builtins.int
76
+ TEXT_CLASSIFIERS_FIELD_NUMBER: builtins.int
77
+ id: builtins.str
78
+ """talk id"""
79
+ organization_id: builtins.str
80
+ space_id: builtins.str
81
+ connection_id: builtins.str
82
+ created_by: builtins.str
83
+ """audition info"""
84
+ modified_by: builtins.str
85
+ @property
86
+ def project_ids(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]: ...
87
+ @property
88
+ def created_at(self) -> google.protobuf.timestamp_pb2.Timestamp: ...
89
+ @property
90
+ def modified_at(self) -> google.protobuf.timestamp_pb2.Timestamp: ...
91
+ @property
92
+ def talk_fields(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[global___Field]:
93
+ """key-value representation of talk fields with values"""
94
+
95
+ @property
96
+ def transcription(self) -> yandex.cloud.speechsense.v1.analysis.transcription_pb2.Transcription:
97
+ """various ml analysis results"""
98
+
99
+ @property
100
+ def speech_statistics(self) -> yandex.cloud.speechsense.v1.analysis.speech_statistics_pb2.SpeechStatistics: ...
101
+ @property
102
+ def silence_statistics(self) -> yandex.cloud.speechsense.v1.analysis.silence_statistics_pb2.SilenceStatistics: ...
103
+ @property
104
+ def interrupts_statistics(self) -> yandex.cloud.speechsense.v1.analysis.interrupts_statistics_pb2.InterruptsStatistics: ...
105
+ @property
106
+ def conversation_statistics(self) -> yandex.cloud.speechsense.v1.analysis.conversation_statistics_pb2.ConversationStatistics: ...
107
+ @property
108
+ def points(self) -> yandex.cloud.speechsense.v1.analysis.points_pb2.Points: ...
109
+ @property
110
+ def text_classifiers(self) -> yandex.cloud.speechsense.v1.analysis.text_classifiers_pb2.TextClassifiers: ...
111
+ def __init__(
112
+ self,
113
+ *,
114
+ id: builtins.str = ...,
115
+ organization_id: builtins.str = ...,
116
+ space_id: builtins.str = ...,
117
+ connection_id: builtins.str = ...,
118
+ project_ids: collections.abc.Iterable[builtins.str] | None = ...,
119
+ created_by: builtins.str = ...,
120
+ created_at: google.protobuf.timestamp_pb2.Timestamp | None = ...,
121
+ modified_by: builtins.str = ...,
122
+ modified_at: google.protobuf.timestamp_pb2.Timestamp | None = ...,
123
+ talk_fields: collections.abc.Iterable[global___Field] | None = ...,
124
+ transcription: yandex.cloud.speechsense.v1.analysis.transcription_pb2.Transcription | None = ...,
125
+ speech_statistics: yandex.cloud.speechsense.v1.analysis.speech_statistics_pb2.SpeechStatistics | None = ...,
126
+ silence_statistics: yandex.cloud.speechsense.v1.analysis.silence_statistics_pb2.SilenceStatistics | None = ...,
127
+ interrupts_statistics: yandex.cloud.speechsense.v1.analysis.interrupts_statistics_pb2.InterruptsStatistics | None = ...,
128
+ conversation_statistics: yandex.cloud.speechsense.v1.analysis.conversation_statistics_pb2.ConversationStatistics | None = ...,
129
+ points: yandex.cloud.speechsense.v1.analysis.points_pb2.Points | None = ...,
130
+ text_classifiers: yandex.cloud.speechsense.v1.analysis.text_classifiers_pb2.TextClassifiers | None = ...,
131
+ ) -> None: ...
132
+ 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", "text_classifiers", b"text_classifiers", "transcription", b"transcription"]) -> builtins.bool: ...
133
+ 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", "talk_fields", b"talk_fields", "text_classifiers", b"text_classifiers", "transcription", b"transcription"]) -> None: ...
134
+
135
+ global___Talk = Talk
136
+
137
+ @typing.final
138
+ class Field(google.protobuf.message.Message):
139
+ """connection field value"""
140
+
141
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
142
+
143
+ NAME_FIELD_NUMBER: builtins.int
144
+ VALUE_FIELD_NUMBER: builtins.int
145
+ TYPE_FIELD_NUMBER: builtins.int
146
+ name: builtins.str
147
+ """name of the field"""
148
+ value: builtins.str
149
+ """field value"""
150
+ type: global___FieldType.ValueType
151
+ """field type"""
152
+ def __init__(
153
+ self,
154
+ *,
155
+ name: builtins.str = ...,
156
+ value: builtins.str = ...,
157
+ type: global___FieldType.ValueType = ...,
158
+ ) -> None: ...
159
+ def ClearField(self, field_name: typing.Literal["name", b"name", "type", b"type", "value", b"value"]) -> None: ...
160
+
161
+ global___Field = Field
@@ -0,0 +1,4 @@
1
+ # Generated by the gRPC Python protocol compiler plugin. DO NOT EDIT!
2
+ """Client and server classes corresponding to protobuf-defined services."""
3
+ import grpc
4
+
@@ -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
+ ...
@@ -11,34 +11,50 @@ from google.protobuf.internal import builder as _builder
11
11
  _sym_db = _symbol_database.Default()
12
12
 
13
13
 
14
+ from google.api import annotations_pb2 as google_dot_api_dot_annotations__pb2
15
+ from google.protobuf import field_mask_pb2 as google_dot_protobuf_dot_field__mask__pb2
14
16
  from yandex.cloud.speechsense.v1 import audio_pb2 as yandex_dot_cloud_dot_speechsense_dot_v1_dot_audio__pb2
15
17
  from yandex.cloud.speechsense.v1 import text_pb2 as yandex_dot_cloud_dot_speechsense_dot_v1_dot_text__pb2
18
+ from yandex.cloud.speechsense.v1 import search_pb2 as yandex_dot_cloud_dot_speechsense_dot_v1_dot_search__pb2
19
+ from yandex.cloud.speechsense.v1 import talk_pb2 as yandex_dot_cloud_dot_speechsense_dot_v1_dot_talk__pb2
16
20
 
17
21
 
18
- DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n.yandex/cloud/speechsense/v1/talk_service.proto\x12\x1byandex.cloud.speechsense.v1\x1a\'yandex/cloud/speechsense/v1/audio.proto\x1a&yandex/cloud/speechsense/v1/text.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\"\x9b\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\x1a-\n\x0b\x46ieldsEntry\x12\x0b\n\x03key\x18\x01 \x01(\t\x12\r\n\x05value\x18\x02 \x01(\t:\x02\x38\x01\x32\xdc\x02\n\x0bTalkService\x12s\n\x0eUploadAsStream\x12..yandex.cloud.speechsense.v1.StreamTalkRequest\x1a/.yandex.cloud.speechsense.v1.UploadTalkResponse(\x01\x12i\n\x06Upload\x12..yandex.cloud.speechsense.v1.UploadTalkRequest\x1a/.yandex.cloud.speechsense.v1.UploadTalkResponse\x12m\n\nUploadText\x12..yandex.cloud.speechsense.v1.UploadTextRequest\x1a/.yandex.cloud.speechsense.v1.UploadTextResponseBy\n\x1fyandex.cloud.api.speechsense.v1B\tTalkProtoZKgithub.com/yandex-cloud/go-genproto/yandex/cloud/speechsense/v1;speechsenseb\x06proto3')
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\"\x9b\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\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.Talk2\xfe\x04\n\x0bTalkService\x12s\n\x0eUploadAsStream\x12..yandex.cloud.speechsense.v1.StreamTalkRequest\x1a/.yandex.cloud.speechsense.v1.UploadTalkResponse(\x01\x12i\n\x06Upload\x12..yandex.cloud.speechsense.v1.UploadTalkRequest\x1a/.yandex.cloud.speechsense.v1.UploadTalkResponse\x12m\n\nUploadText\x12..yandex.cloud.speechsense.v1.UploadTextRequest\x1a/.yandex.cloud.speechsense.v1.UploadTextResponse\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\x8a\x01\n\x03Get\x12+.yandex.cloud.speechsense.v1.GetTalkRequest\x1a,.yandex.cloud.speechsense.v1.GetTalkResponse\"(\x82\xd3\xe4\x93\x02\"\"\x1d/speechsense/v1/talks/bulkGet:\x01*B\x80\x01\n\x1fyandex.cloud.api.speechsense.v1B\x10TalkServiceProtoZKgithub.com/yandex-cloud/go-genproto/yandex/cloud/speechsense/v1;speechsenseb\x06proto3')
19
23
 
20
24
  _globals = globals()
21
25
  _builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
22
26
  _builder.BuildTopDescriptorsAndMessages(DESCRIPTOR, 'yandex.cloud.speechsense.v1.talk_service_pb2', _globals)
23
27
  if _descriptor._USE_C_DESCRIPTORS == False:
24
28
  DESCRIPTOR._options = None
25
- DESCRIPTOR._serialized_options = b'\n\037yandex.cloud.api.speechsense.v1B\tTalkProtoZKgithub.com/yandex-cloud/go-genproto/yandex/cloud/speechsense/v1;speechsense'
29
+ DESCRIPTOR._serialized_options = b'\n\037yandex.cloud.api.speechsense.v1B\020TalkServiceProtoZKgithub.com/yandex-cloud/go-genproto/yandex/cloud/speechsense/v1;speechsense'
26
30
  _TALKMETADATA_FIELDSENTRY._options = None
27
31
  _TALKMETADATA_FIELDSENTRY._serialized_options = b'8\001'
28
- _globals['_STREAMTALKREQUEST']._serialized_start=161
29
- _globals['_STREAMTALKREQUEST']._serialized_end=321
30
- _globals['_UPLOADTALKREQUEST']._serialized_start=324
31
- _globals['_UPLOADTALKREQUEST']._serialized_end=462
32
- _globals['_UPLOADTALKRESPONSE']._serialized_start=464
33
- _globals['_UPLOADTALKRESPONSE']._serialized_end=501
34
- _globals['_UPLOADTEXTREQUEST']._serialized_start=504
35
- _globals['_UPLOADTEXTREQUEST']._serialized_end=648
36
- _globals['_UPLOADTEXTRESPONSE']._serialized_start=650
37
- _globals['_UPLOADTEXTRESPONSE']._serialized_end=687
38
- _globals['_TALKMETADATA']._serialized_start=690
39
- _globals['_TALKMETADATA']._serialized_end=845
40
- _globals['_TALKMETADATA_FIELDSENTRY']._serialized_start=800
41
- _globals['_TALKMETADATA_FIELDSENTRY']._serialized_end=845
42
- _globals['_TALKSERVICE']._serialized_start=848
43
- _globals['_TALKSERVICE']._serialized_end=1196
32
+ _TALKSERVICE.methods_by_name['Search']._options = None
33
+ _TALKSERVICE.methods_by_name['Search']._serialized_options = b'\202\323\344\223\002!\"\034/speechsense/v1/talks/search:\001*'
34
+ _TALKSERVICE.methods_by_name['Get']._options = None
35
+ _TALKSERVICE.methods_by_name['Get']._serialized_options = b'\202\323\344\223\002\"\"\035/speechsense/v1/talks/bulkGet:\001*'
36
+ _globals['_STREAMTALKREQUEST']._serialized_start=307
37
+ _globals['_STREAMTALKREQUEST']._serialized_end=467
38
+ _globals['_UPLOADTALKREQUEST']._serialized_start=470
39
+ _globals['_UPLOADTALKREQUEST']._serialized_end=608
40
+ _globals['_UPLOADTALKRESPONSE']._serialized_start=610
41
+ _globals['_UPLOADTALKRESPONSE']._serialized_end=647
42
+ _globals['_UPLOADTEXTREQUEST']._serialized_start=650
43
+ _globals['_UPLOADTEXTREQUEST']._serialized_end=794
44
+ _globals['_UPLOADTEXTRESPONSE']._serialized_start=796
45
+ _globals['_UPLOADTEXTRESPONSE']._serialized_end=833
46
+ _globals['_TALKMETADATA']._serialized_start=836
47
+ _globals['_TALKMETADATA']._serialized_end=991
48
+ _globals['_TALKMETADATA_FIELDSENTRY']._serialized_start=946
49
+ _globals['_TALKMETADATA_FIELDSENTRY']._serialized_end=991
50
+ _globals['_SEARCHTALKREQUEST']._serialized_start=994
51
+ _globals['_SEARCHTALKREQUEST']._serialized_end=1301
52
+ _globals['_SEARCHTALKRESPONSE']._serialized_start=1303
53
+ _globals['_SEARCHTALKRESPONSE']._serialized_end=1387
54
+ _globals['_GETTALKREQUEST']._serialized_start=1390
55
+ _globals['_GETTALKREQUEST']._serialized_end=1560
56
+ _globals['_GETTALKRESPONSE']._serialized_start=1562
57
+ _globals['_GETTALKRESPONSE']._serialized_end=1628
58
+ _globals['_TALKSERVICE']._serialized_start=1631
59
+ _globals['_TALKSERVICE']._serialized_end=2269
44
60
  # @@protoc_insertion_point(module_scope)
@@ -6,10 +6,13 @@ isort:skip_file
6
6
  import builtins
7
7
  import collections.abc
8
8
  import google.protobuf.descriptor
9
+ import google.protobuf.field_mask_pb2
9
10
  import google.protobuf.internal.containers
10
11
  import google.protobuf.message
11
12
  import typing
12
13
  import yandex.cloud.speechsense.v1.audio_pb2
14
+ import yandex.cloud.speechsense.v1.search_pb2
15
+ import yandex.cloud.speechsense.v1.talk_pb2
13
16
  import yandex.cloud.speechsense.v1.text_pb2
14
17
 
15
18
  DESCRIPTOR: google.protobuf.descriptor.FileDescriptor
@@ -159,3 +162,143 @@ class TalkMetadata(google.protobuf.message.Message):
159
162
  def ClearField(self, field_name: typing.Literal["connection_id", b"connection_id", "fields", b"fields"]) -> None: ...
160
163
 
161
164
  global___TalkMetadata = TalkMetadata
165
+
166
+ @typing.final
167
+ class SearchTalkRequest(google.protobuf.message.Message):
168
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
169
+
170
+ ORGANIZATION_ID_FIELD_NUMBER: builtins.int
171
+ SPACE_ID_FIELD_NUMBER: builtins.int
172
+ CONNECTION_ID_FIELD_NUMBER: builtins.int
173
+ PROJECT_ID_FIELD_NUMBER: builtins.int
174
+ FILTERS_FIELD_NUMBER: builtins.int
175
+ QUERY_FIELD_NUMBER: builtins.int
176
+ PAGE_SIZE_FIELD_NUMBER: builtins.int
177
+ PAGE_TOKEN_FIELD_NUMBER: builtins.int
178
+ SORT_DATA_FIELD_NUMBER: builtins.int
179
+ organization_id: builtins.str
180
+ """id of organization"""
181
+ space_id: builtins.str
182
+ """id of space"""
183
+ connection_id: builtins.str
184
+ """id of connection"""
185
+ project_id: builtins.str
186
+ """id of project"""
187
+ page_size: builtins.int
188
+ """page size, from 1 to 1000, default 100"""
189
+ page_token: builtins.str
190
+ """next page token, if page is not first"""
191
+ @property
192
+ def filters(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[yandex.cloud.speechsense.v1.search_pb2.Filter]:
193
+ """metadata keys filters (user and system)"""
194
+
195
+ @property
196
+ def query(self) -> yandex.cloud.speechsense.v1.search_pb2.Query:
197
+ """Full-text search query"""
198
+
199
+ @property
200
+ def sort_data(self) -> yandex.cloud.speechsense.v1.search_pb2.SortData:
201
+ """talks sorting options"""
202
+
203
+ def __init__(
204
+ self,
205
+ *,
206
+ organization_id: builtins.str = ...,
207
+ space_id: builtins.str = ...,
208
+ connection_id: builtins.str = ...,
209
+ project_id: builtins.str = ...,
210
+ filters: collections.abc.Iterable[yandex.cloud.speechsense.v1.search_pb2.Filter] | None = ...,
211
+ query: yandex.cloud.speechsense.v1.search_pb2.Query | None = ...,
212
+ page_size: builtins.int = ...,
213
+ page_token: builtins.str = ...,
214
+ sort_data: yandex.cloud.speechsense.v1.search_pb2.SortData | None = ...,
215
+ ) -> None: ...
216
+ def HasField(self, field_name: typing.Literal["query", b"query", "sort_data", b"sort_data"]) -> builtins.bool: ...
217
+ def ClearField(self, field_name: typing.Literal["connection_id", b"connection_id", "filters", b"filters", "organization_id", b"organization_id", "page_size", b"page_size", "page_token", b"page_token", "project_id", b"project_id", "query", b"query", "sort_data", b"sort_data", "space_id", b"space_id"]) -> None: ...
218
+
219
+ global___SearchTalkRequest = SearchTalkRequest
220
+
221
+ @typing.final
222
+ class SearchTalkResponse(google.protobuf.message.Message):
223
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
224
+
225
+ TALK_IDS_FIELD_NUMBER: builtins.int
226
+ TALKS_COUNT_FIELD_NUMBER: builtins.int
227
+ NEXT_PAGE_TOKEN_FIELD_NUMBER: builtins.int
228
+ talks_count: builtins.int
229
+ """total documents matched"""
230
+ next_page_token: builtins.str
231
+ """page token for next request"""
232
+ @property
233
+ def talk_ids(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]:
234
+ """page results entries"""
235
+
236
+ def __init__(
237
+ self,
238
+ *,
239
+ talk_ids: collections.abc.Iterable[builtins.str] | None = ...,
240
+ talks_count: builtins.int = ...,
241
+ next_page_token: builtins.str = ...,
242
+ ) -> None: ...
243
+ def ClearField(self, field_name: typing.Literal["next_page_token", b"next_page_token", "talk_ids", b"talk_ids", "talks_count", b"talks_count"]) -> None: ...
244
+
245
+ global___SearchTalkResponse = SearchTalkResponse
246
+
247
+ @typing.final
248
+ class GetTalkRequest(google.protobuf.message.Message):
249
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
250
+
251
+ ORGANIZATION_ID_FIELD_NUMBER: builtins.int
252
+ SPACE_ID_FIELD_NUMBER: builtins.int
253
+ CONNECTION_ID_FIELD_NUMBER: builtins.int
254
+ PROJECT_ID_FIELD_NUMBER: builtins.int
255
+ TALK_IDS_FIELD_NUMBER: builtins.int
256
+ RESULTS_MASK_FIELD_NUMBER: builtins.int
257
+ organization_id: builtins.str
258
+ """id of organization"""
259
+ space_id: builtins.str
260
+ """id of space"""
261
+ connection_id: builtins.str
262
+ """id of connection to search data"""
263
+ project_id: builtins.str
264
+ """id of project to search data"""
265
+ @property
266
+ def talk_ids(self) -> google.protobuf.internal.containers.RepeatedScalarFieldContainer[builtins.str]:
267
+ """ids of talks to return. Requesting too many talks may result in "message exceeds maximum size" error.
268
+ Up to 100 of talks per request is recommended.
269
+ """
270
+
271
+ @property
272
+ def results_mask(self) -> google.protobuf.field_mask_pb2.FieldMask:
273
+ """All types of analysis will be returned if not set."""
274
+
275
+ def __init__(
276
+ self,
277
+ *,
278
+ organization_id: builtins.str = ...,
279
+ space_id: builtins.str = ...,
280
+ connection_id: builtins.str = ...,
281
+ project_id: builtins.str = ...,
282
+ talk_ids: collections.abc.Iterable[builtins.str] | None = ...,
283
+ results_mask: google.protobuf.field_mask_pb2.FieldMask | None = ...,
284
+ ) -> None: ...
285
+ def HasField(self, field_name: typing.Literal["results_mask", b"results_mask"]) -> builtins.bool: ...
286
+ def ClearField(self, field_name: typing.Literal["connection_id", b"connection_id", "organization_id", b"organization_id", "project_id", b"project_id", "results_mask", b"results_mask", "space_id", b"space_id", "talk_ids", b"talk_ids"]) -> None: ...
287
+
288
+ global___GetTalkRequest = GetTalkRequest
289
+
290
+ @typing.final
291
+ class GetTalkResponse(google.protobuf.message.Message):
292
+ DESCRIPTOR: google.protobuf.descriptor.Descriptor
293
+
294
+ TALK_FIELD_NUMBER: builtins.int
295
+ @property
296
+ def talk(self) -> google.protobuf.internal.containers.RepeatedCompositeFieldContainer[yandex.cloud.speechsense.v1.talk_pb2.Talk]: ...
297
+ def __init__(
298
+ self,
299
+ *,
300
+ talk: collections.abc.Iterable[yandex.cloud.speechsense.v1.talk_pb2.Talk] | None = ...,
301
+ ) -> None: ...
302
+ def ClearField(self, field_name: typing.Literal["talk", b"talk"]) -> None: ...
303
+
304
+ global___GetTalkResponse = GetTalkResponse
@@ -29,6 +29,16 @@ class TalkServiceStub(object):
29
29
  request_serializer=yandex_dot_cloud_dot_speechsense_dot_v1_dot_talk__service__pb2.UploadTextRequest.SerializeToString,
30
30
  response_deserializer=yandex_dot_cloud_dot_speechsense_dot_v1_dot_talk__service__pb2.UploadTextResponse.FromString,
31
31
  )
32
+ self.Search = channel.unary_unary(
33
+ '/yandex.cloud.speechsense.v1.TalkService/Search',
34
+ request_serializer=yandex_dot_cloud_dot_speechsense_dot_v1_dot_talk__service__pb2.SearchTalkRequest.SerializeToString,
35
+ response_deserializer=yandex_dot_cloud_dot_speechsense_dot_v1_dot_talk__service__pb2.SearchTalkResponse.FromString,
36
+ )
37
+ self.Get = channel.unary_unary(
38
+ '/yandex.cloud.speechsense.v1.TalkService/Get',
39
+ request_serializer=yandex_dot_cloud_dot_speechsense_dot_v1_dot_talk__service__pb2.GetTalkRequest.SerializeToString,
40
+ response_deserializer=yandex_dot_cloud_dot_speechsense_dot_v1_dot_talk__service__pb2.GetTalkResponse.FromString,
41
+ )
32
42
 
33
43
 
34
44
  class TalkServiceServicer(object):
@@ -56,6 +66,20 @@ class TalkServiceServicer(object):
56
66
  context.set_details('Method not implemented!')
57
67
  raise NotImplementedError('Method not implemented!')
58
68
 
69
+ def Search(self, request, context):
70
+ """rpc for searching talks. will return ids only
71
+ """
72
+ context.set_code(grpc.StatusCode.UNIMPLEMENTED)
73
+ context.set_details('Method not implemented!')
74
+ raise NotImplementedError('Method not implemented!')
75
+
76
+ def Get(self, request, context):
77
+ """rpc for bulk get
78
+ """
79
+ context.set_code(grpc.StatusCode.UNIMPLEMENTED)
80
+ context.set_details('Method not implemented!')
81
+ raise NotImplementedError('Method not implemented!')
82
+
59
83
 
60
84
  def add_TalkServiceServicer_to_server(servicer, server):
61
85
  rpc_method_handlers = {
@@ -74,6 +98,16 @@ def add_TalkServiceServicer_to_server(servicer, server):
74
98
  request_deserializer=yandex_dot_cloud_dot_speechsense_dot_v1_dot_talk__service__pb2.UploadTextRequest.FromString,
75
99
  response_serializer=yandex_dot_cloud_dot_speechsense_dot_v1_dot_talk__service__pb2.UploadTextResponse.SerializeToString,
76
100
  ),
101
+ 'Search': grpc.unary_unary_rpc_method_handler(
102
+ servicer.Search,
103
+ request_deserializer=yandex_dot_cloud_dot_speechsense_dot_v1_dot_talk__service__pb2.SearchTalkRequest.FromString,
104
+ response_serializer=yandex_dot_cloud_dot_speechsense_dot_v1_dot_talk__service__pb2.SearchTalkResponse.SerializeToString,
105
+ ),
106
+ 'Get': grpc.unary_unary_rpc_method_handler(
107
+ servicer.Get,
108
+ request_deserializer=yandex_dot_cloud_dot_speechsense_dot_v1_dot_talk__service__pb2.GetTalkRequest.FromString,
109
+ response_serializer=yandex_dot_cloud_dot_speechsense_dot_v1_dot_talk__service__pb2.GetTalkResponse.SerializeToString,
110
+ ),
77
111
  }
78
112
  generic_handler = grpc.method_handlers_generic_handler(
79
113
  'yandex.cloud.speechsense.v1.TalkService', rpc_method_handlers)
@@ -134,3 +168,37 @@ class TalkService(object):
134
168
  yandex_dot_cloud_dot_speechsense_dot_v1_dot_talk__service__pb2.UploadTextResponse.FromString,
135
169
  options, channel_credentials,
136
170
  insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
171
+
172
+ @staticmethod
173
+ def Search(request,
174
+ target,
175
+ options=(),
176
+ channel_credentials=None,
177
+ call_credentials=None,
178
+ insecure=False,
179
+ compression=None,
180
+ wait_for_ready=None,
181
+ timeout=None,
182
+ metadata=None):
183
+ return grpc.experimental.unary_unary(request, target, '/yandex.cloud.speechsense.v1.TalkService/Search',
184
+ yandex_dot_cloud_dot_speechsense_dot_v1_dot_talk__service__pb2.SearchTalkRequest.SerializeToString,
185
+ yandex_dot_cloud_dot_speechsense_dot_v1_dot_talk__service__pb2.SearchTalkResponse.FromString,
186
+ options, channel_credentials,
187
+ insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
188
+
189
+ @staticmethod
190
+ def Get(request,
191
+ target,
192
+ options=(),
193
+ channel_credentials=None,
194
+ call_credentials=None,
195
+ insecure=False,
196
+ compression=None,
197
+ wait_for_ready=None,
198
+ timeout=None,
199
+ metadata=None):
200
+ return grpc.experimental.unary_unary(request, target, '/yandex.cloud.speechsense.v1.TalkService/Get',
201
+ yandex_dot_cloud_dot_speechsense_dot_v1_dot_talk__service__pb2.GetTalkRequest.SerializeToString,
202
+ yandex_dot_cloud_dot_speechsense_dot_v1_dot_talk__service__pb2.GetTalkResponse.FromString,
203
+ options, channel_credentials,
204
+ insecure, call_credentials, compression, wait_for_ready, timeout, metadata)
@@ -39,6 +39,18 @@ class TalkServiceStub:
39
39
  ]
40
40
  """rpc for uploading text talk document"""
41
41
 
42
+ Search: grpc.UnaryUnaryMultiCallable[
43
+ yandex.cloud.speechsense.v1.talk_service_pb2.SearchTalkRequest,
44
+ yandex.cloud.speechsense.v1.talk_service_pb2.SearchTalkResponse,
45
+ ]
46
+ """rpc for searching talks. will return ids only"""
47
+
48
+ Get: grpc.UnaryUnaryMultiCallable[
49
+ yandex.cloud.speechsense.v1.talk_service_pb2.GetTalkRequest,
50
+ yandex.cloud.speechsense.v1.talk_service_pb2.GetTalkResponse,
51
+ ]
52
+ """rpc for bulk get"""
53
+
42
54
  class TalkServiceAsyncStub:
43
55
  UploadAsStream: grpc.aio.StreamUnaryMultiCallable[
44
56
  yandex.cloud.speechsense.v1.talk_service_pb2.StreamTalkRequest,
@@ -60,6 +72,18 @@ class TalkServiceAsyncStub:
60
72
  ]
61
73
  """rpc for uploading text talk document"""
62
74
 
75
+ Search: grpc.aio.UnaryUnaryMultiCallable[
76
+ yandex.cloud.speechsense.v1.talk_service_pb2.SearchTalkRequest,
77
+ yandex.cloud.speechsense.v1.talk_service_pb2.SearchTalkResponse,
78
+ ]
79
+ """rpc for searching talks. will return ids only"""
80
+
81
+ Get: grpc.aio.UnaryUnaryMultiCallable[
82
+ yandex.cloud.speechsense.v1.talk_service_pb2.GetTalkRequest,
83
+ yandex.cloud.speechsense.v1.talk_service_pb2.GetTalkResponse,
84
+ ]
85
+ """rpc for bulk get"""
86
+
63
87
  class TalkServiceServicer(metaclass=abc.ABCMeta):
64
88
  @abc.abstractmethod
65
89
  def UploadAsStream(
@@ -87,4 +111,20 @@ class TalkServiceServicer(metaclass=abc.ABCMeta):
87
111
  ) -> typing.Union[yandex.cloud.speechsense.v1.talk_service_pb2.UploadTextResponse, collections.abc.Awaitable[yandex.cloud.speechsense.v1.talk_service_pb2.UploadTextResponse]]:
88
112
  """rpc for uploading text talk document"""
89
113
 
114
+ @abc.abstractmethod
115
+ def Search(
116
+ self,
117
+ request: yandex.cloud.speechsense.v1.talk_service_pb2.SearchTalkRequest,
118
+ context: _ServicerContext,
119
+ ) -> typing.Union[yandex.cloud.speechsense.v1.talk_service_pb2.SearchTalkResponse, collections.abc.Awaitable[yandex.cloud.speechsense.v1.talk_service_pb2.SearchTalkResponse]]:
120
+ """rpc for searching talks. will return ids only"""
121
+
122
+ @abc.abstractmethod
123
+ def Get(
124
+ self,
125
+ request: yandex.cloud.speechsense.v1.talk_service_pb2.GetTalkRequest,
126
+ context: _ServicerContext,
127
+ ) -> typing.Union[yandex.cloud.speechsense.v1.talk_service_pb2.GetTalkResponse, collections.abc.Awaitable[yandex.cloud.speechsense.v1.talk_service_pb2.GetTalkResponse]]:
128
+ """rpc for bulk get"""
129
+
90
130
  def add_TalkServiceServicer_to_server(servicer: TalkServiceServicer, server: typing.Union[grpc.Server, grpc.aio.Server]) -> None: ...
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.1
2
2
  Name: yandexcloud
3
- Version: 0.294.0
3
+ Version: 0.296.0
4
4
  Summary: The Yandex.Cloud official SDK
5
5
  Home-page: https://github.com/yandex-cloud/python-sdk
6
6
  Author: Yandex LLC
@@ -16,13 +16,13 @@ Classifier: Programming Language :: Python :: 3.12
16
16
  Description-Content-Type: text/markdown
17
17
  License-File: LICENSE
18
18
  License-File: AUTHORS
19
- Requires-Dist: cryptography >=2.8
20
- Requires-Dist: grpcio >=1.64.0
21
- Requires-Dist: protobuf >=4.25.3
22
- Requires-Dist: googleapis-common-protos >=1.63.0
23
- Requires-Dist: pyjwt >=1.7.1
24
- Requires-Dist: requests >=2.22.0
25
- Requires-Dist: six >=1.14.0
19
+ Requires-Dist: cryptography ==42.0.7
20
+ Requires-Dist: grpcio ==1.64.0
21
+ Requires-Dist: protobuf ==4.25.3
22
+ Requires-Dist: googleapis-common-protos ==1.63.0
23
+ Requires-Dist: pyjwt ==2.8.0
24
+ Requires-Dist: requests ==2.32.3
25
+ Requires-Dist: six ==1.16.0
26
26
 
27
27
  [![PyPI Version][pypi-image]][pypi-url]
28
28
  [![Build Status][build-image]][build-url]