transcodely 0.3.18__py3-none-any.whl → 0.3.20__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.
- transcodely/__init__.py +10 -0
- transcodely/_transport/error_mapping.py +5 -0
- transcodely/errors.py +5 -1
- transcodely/resources/videos.py +53 -0
- transcodely/types.py +18 -0
- transcodely/v1/app_pb2.py +64 -61
- transcodely/v1/app_pb2.pyi +17 -6
- transcodely/v1/job_pb2.py +91 -91
- transcodely/v1/subtitles_pb2.py +51 -35
- transcodely/v1/subtitles_pb2.pyi +45 -8
- transcodely/v1/video_pb2.py +143 -105
- transcodely/v1/video_pb2.pyi +127 -14
- transcodely/version.py +1 -1
- {transcodely-0.3.18.dist-info → transcodely-0.3.20.dist-info}/METADATA +31 -3
- {transcodely-0.3.18.dist-info → transcodely-0.3.20.dist-info}/RECORD +17 -17
- {transcodely-0.3.18.dist-info → transcodely-0.3.20.dist-info}/WHEEL +0 -0
- {transcodely-0.3.18.dist-info → transcodely-0.3.20.dist-info}/licenses/LICENSE +0 -0
transcodely/__init__.py
CHANGED
|
@@ -63,8 +63,11 @@ from .types import (
|
|
|
63
63
|
ChapterResult,
|
|
64
64
|
ClipConfig,
|
|
65
65
|
ContentAwareConfig,
|
|
66
|
+
CueStyle,
|
|
67
|
+
CueStylePreset,
|
|
66
68
|
DASHConfig,
|
|
67
69
|
DRMConfig,
|
|
70
|
+
GuidePageSetting,
|
|
68
71
|
HDRConfig,
|
|
69
72
|
HighlightsConfig,
|
|
70
73
|
HLSConfig,
|
|
@@ -99,10 +102,12 @@ from .types import (
|
|
|
99
102
|
TranscriptInsights,
|
|
100
103
|
TranscriptOptions,
|
|
101
104
|
TranscriptRendition,
|
|
105
|
+
TranslationInFlight,
|
|
102
106
|
User,
|
|
103
107
|
UserWithOrganizations,
|
|
104
108
|
Video,
|
|
105
109
|
VideoCodec,
|
|
110
|
+
VideoCostLine,
|
|
106
111
|
VideoHighlight,
|
|
107
112
|
VideoRendition,
|
|
108
113
|
VideoTextTrack,
|
|
@@ -151,12 +156,15 @@ __all__ = [
|
|
|
151
156
|
"ClipConfig",
|
|
152
157
|
"ConflictError",
|
|
153
158
|
"ContentAwareConfig",
|
|
159
|
+
"CueStyle",
|
|
160
|
+
"CueStylePreset",
|
|
154
161
|
"DASHConfig",
|
|
155
162
|
"DRMConfig",
|
|
156
163
|
"Event",
|
|
157
164
|
"EventRequest",
|
|
158
165
|
"EventType",
|
|
159
166
|
"FieldViolation",
|
|
167
|
+
"GuidePageSetting",
|
|
160
168
|
"HDRConfig",
|
|
161
169
|
"HLSConfig",
|
|
162
170
|
"HighlightsConfig",
|
|
@@ -200,10 +208,12 @@ __all__ = [
|
|
|
200
208
|
"TranscriptInsights",
|
|
201
209
|
"TranscriptOptions",
|
|
202
210
|
"TranscriptRendition",
|
|
211
|
+
"TranslationInFlight",
|
|
203
212
|
"User",
|
|
204
213
|
"UserWithOrganizations",
|
|
205
214
|
"Video",
|
|
206
215
|
"VideoCodec",
|
|
216
|
+
"VideoCostLine",
|
|
207
217
|
"VideoHighlight",
|
|
208
218
|
"VideoRendition",
|
|
209
219
|
"VideoTextTrack",
|
|
@@ -42,6 +42,11 @@ def map_http_error(*, status: int, body: Any, headers: Mapping[str, str]) -> Tra
|
|
|
42
42
|
"raw": body,
|
|
43
43
|
}
|
|
44
44
|
|
|
45
|
+
# Precondition failures are classified on the Connect code in the body: the
|
|
46
|
+
# API's connect-go transport sends failed_precondition as HTTP 400, not 412.
|
|
47
|
+
# 412 stays as a fallback for bodies that carry no Connect code.
|
|
48
|
+
if parsed.get("code") == "failed_precondition":
|
|
49
|
+
return PreconditionError(message, **kwargs)
|
|
45
50
|
if status == 401:
|
|
46
51
|
return AuthenticationError(message, **kwargs)
|
|
47
52
|
if status == 403:
|
transcodely/errors.py
CHANGED
|
@@ -91,7 +91,11 @@ class InvalidRequestError(TranscodelyError):
|
|
|
91
91
|
|
|
92
92
|
|
|
93
93
|
class PreconditionError(TranscodelyError):
|
|
94
|
-
"""
|
|
94
|
+
"""Connect code ``failed_precondition`` (HTTP 400 on the wire).
|
|
95
|
+
|
|
96
|
+
The request is valid but the resource or account is in the wrong state, e.g. a
|
|
97
|
+
job that is not cancelable, or a billing refusal such as ``billing_past_due``.
|
|
98
|
+
"""
|
|
95
99
|
|
|
96
100
|
|
|
97
101
|
class WebhookError(TranscodelyError):
|
transcodely/resources/videos.py
CHANGED
|
@@ -220,3 +220,56 @@ class Videos:
|
|
|
220
220
|
_SERVICE, "GenerateHighlights", req, video_pb2.GenerateHighlightsResponse()
|
|
221
221
|
).highlights
|
|
222
222
|
)
|
|
223
|
+
|
|
224
|
+
def translate_captions(self, **kwargs: Any) -> video_pb2.TranslateCaptionsResponse:
|
|
225
|
+
"""Translate a hosted video's existing AI captions into other languages.
|
|
226
|
+
|
|
227
|
+
Pass ``id`` (the ``vid_...`` video, required) and ``target_languages``
|
|
228
|
+
(ISO 639-2 codes, 1 to 10, distinct), plus optional ``source_language``
|
|
229
|
+
(needed only when the video has several AI caption tracks),
|
|
230
|
+
``include_insights`` (default ``True``: ready insights in the source
|
|
231
|
+
language are translated too and appear as one more ``video.insights``
|
|
232
|
+
entry per language) and ``app_id``. Creates one captions-only job on
|
|
233
|
+
the video that writes, per target language, a caption track, its
|
|
234
|
+
transcript renditions and (on HLS) a caption rendition in the manifest,
|
|
235
|
+
without transcribing again.
|
|
236
|
+
|
|
237
|
+
The response names the job (``job_id``), the normalized
|
|
238
|
+
``source_language`` and ``target_languages``, ``estimated_fee_eur`` and
|
|
239
|
+
``in_flight``: targets an earlier, still-running job already carries,
|
|
240
|
+
which are not requested again. Billed as the ``captions_translation``
|
|
241
|
+
fee, EUR 0.12 per source minute per language, only for languages
|
|
242
|
+
actually delivered. A video without AI captions is refused with
|
|
243
|
+
failed_precondition (code ``captions_required``); deployments without
|
|
244
|
+
the feature refuse it with ``parameter_unsupported``.
|
|
245
|
+
"""
|
|
246
|
+
req = fill_from_dict(video_pb2.TranslateCaptionsRequest(), kwargs)
|
|
247
|
+
return self._t.unary(
|
|
248
|
+
_SERVICE, "TranslateCaptions", req, video_pb2.TranslateCaptionsResponse()
|
|
249
|
+
)
|
|
250
|
+
|
|
251
|
+
def restyle_captions(self, **kwargs: Any) -> video_pb2.RestyleCaptionsResponse:
|
|
252
|
+
"""Re-cut a hosted video's existing AI captions into a new cue style.
|
|
253
|
+
|
|
254
|
+
Pass ``id`` (the ``vid_...`` video, required), plus optional
|
|
255
|
+
``language`` (needed only when the video has several AI caption
|
|
256
|
+
tracks), ``cue_style`` (a dict such as ``{"preset": "compact"}`` or
|
|
257
|
+
``{"max_lines": 1}``; when absent, or for the limits it leaves unset,
|
|
258
|
+
the app's default cue style is used, else ``standard``) and ``app_id``.
|
|
259
|
+
The words and their timings come from the track's stored transcript,
|
|
260
|
+
so nothing is transcribed again; only their grouping into cues changes.
|
|
261
|
+
|
|
262
|
+
Creates a captions-only job on the video (``job_id`` in the response,
|
|
263
|
+
with ``video_id``, the normalized ``language`` and the resolved
|
|
264
|
+
``cue_style``). When it completes, the track's caption file, transcript
|
|
265
|
+
renditions and HLS caption rendition are replaced in place and
|
|
266
|
+
``VideoTextTrack.cue_style`` shows the new style. Insights are kept;
|
|
267
|
+
translations of the track keep their old cues until translated again.
|
|
268
|
+
Free: no captions, translation or processing fee. Refused with
|
|
269
|
+
failed_precondition (code ``captions_required``,
|
|
270
|
+
``insights_transcript_unavailable`` or ``captions_job_in_flight``) when
|
|
271
|
+
there is nothing to restyle or a captions job of that language is still
|
|
272
|
+
running.
|
|
273
|
+
"""
|
|
274
|
+
req = fill_from_dict(video_pb2.RestyleCaptionsRequest(), kwargs)
|
|
275
|
+
return self._t.unary(_SERVICE, "RestyleCaptions", req, video_pb2.RestyleCaptionsResponse())
|
transcodely/types.py
CHANGED
|
@@ -355,6 +355,8 @@ from transcodely.v1.subtitles_pb2 import (
|
|
|
355
355
|
BurnInStyle,
|
|
356
356
|
ChapterPoint,
|
|
357
357
|
ChapterResult,
|
|
358
|
+
CueStyle,
|
|
359
|
+
CueStylePreset,
|
|
358
360
|
InsightsHighlight,
|
|
359
361
|
InsightsOptions,
|
|
360
362
|
InsightsQuestion,
|
|
@@ -423,17 +425,24 @@ from transcodely.v1.video_pb2 import (
|
|
|
423
425
|
GetUsageResponse,
|
|
424
426
|
GetVideoRequest,
|
|
425
427
|
GetVideoResponse,
|
|
428
|
+
GuidePageSetting,
|
|
426
429
|
HighlightsConfig,
|
|
427
430
|
ListTopVideosRequest,
|
|
428
431
|
ListTopVideosResponse,
|
|
429
432
|
ListVideosRequest,
|
|
430
433
|
ListVideosResponse,
|
|
434
|
+
RestyleCaptionsRequest,
|
|
435
|
+
RestyleCaptionsResponse,
|
|
431
436
|
TopVideo,
|
|
437
|
+
TranslateCaptionsRequest,
|
|
438
|
+
TranslateCaptionsResponse,
|
|
439
|
+
TranslationInFlight,
|
|
432
440
|
UpdateVideoRequest,
|
|
433
441
|
UpdateVideoResponse,
|
|
434
442
|
UploadPart,
|
|
435
443
|
UsageSummary,
|
|
436
444
|
Video,
|
|
445
|
+
VideoCostLine,
|
|
437
446
|
VideoHighlight,
|
|
438
447
|
VideoHighlightStatus,
|
|
439
448
|
VideoRendition,
|
|
@@ -557,6 +566,8 @@ __all__ = [
|
|
|
557
566
|
"CreateUploadResponse",
|
|
558
567
|
"CreateWebhookEndpointRequest",
|
|
559
568
|
"CreateWebhookEndpointResponse",
|
|
569
|
+
"CueStyle",
|
|
570
|
+
"CueStylePreset",
|
|
560
571
|
"DASHConfig",
|
|
561
572
|
"DRMConfig",
|
|
562
573
|
"DRMKeyServerConfig",
|
|
@@ -633,6 +644,7 @@ __all__ = [
|
|
|
633
644
|
"GetUserResponse",
|
|
634
645
|
"GetVideoRequest",
|
|
635
646
|
"GetVideoResponse",
|
|
647
|
+
"GuidePageSetting",
|
|
636
648
|
"H264Options",
|
|
637
649
|
"H265Options",
|
|
638
650
|
"HDRConfig",
|
|
@@ -739,6 +751,8 @@ __all__ = [
|
|
|
739
751
|
"ResendEventRequest",
|
|
740
752
|
"ResendEventResponse",
|
|
741
753
|
"Resolution",
|
|
754
|
+
"RestyleCaptionsRequest",
|
|
755
|
+
"RestyleCaptionsResponse",
|
|
742
756
|
"RetrieveEventRequest",
|
|
743
757
|
"RetrieveEventResponse",
|
|
744
758
|
"RetrieveWebhookEndpointRequest",
|
|
@@ -776,6 +790,9 @@ __all__ = [
|
|
|
776
790
|
"TranscriptOptions",
|
|
777
791
|
"TranscriptRendition",
|
|
778
792
|
"TranscriptStyle",
|
|
793
|
+
"TranslateCaptionsRequest",
|
|
794
|
+
"TranslateCaptionsResponse",
|
|
795
|
+
"TranslationInFlight",
|
|
779
796
|
"TrustTier",
|
|
780
797
|
"UpdateAppRequest",
|
|
781
798
|
"UpdateAppResponse",
|
|
@@ -813,6 +830,7 @@ __all__ = [
|
|
|
813
830
|
"VariantPricingSnapshot",
|
|
814
831
|
"Video",
|
|
815
832
|
"VideoCodec",
|
|
833
|
+
"VideoCostLine",
|
|
816
834
|
"VideoHighlight",
|
|
817
835
|
"VideoHighlightStatus",
|
|
818
836
|
"VideoRendition",
|
transcodely/v1/app_pb2.py
CHANGED
|
@@ -25,9 +25,10 @@ _sym_db = _symbol_database.Default()
|
|
|
25
25
|
from buf.validate import validate_pb2 as buf_dot_validate_dot_validate__pb2
|
|
26
26
|
from google.protobuf import timestamp_pb2 as google_dot_protobuf_dot_timestamp__pb2
|
|
27
27
|
from transcodely.v1 import common_pb2 as transcodely_dot_v1_dot_common__pb2
|
|
28
|
+
from transcodely.v1 import subtitles_pb2 as transcodely_dot_v1_dot_subtitles__pb2
|
|
28
29
|
|
|
29
30
|
|
|
30
|
-
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x18transcodely/v1/app.proto\x12\x0etranscodely.v1\x1a\x1b\x62uf/validate/validate.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1btranscodely/v1/common.proto\"\xe3\x06\n\x03\x41pp\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x15\n\x06org_id\x18\x02 \x01(\tR\x05orgId\x12\x12\n\x04name\x18\x03 \x01(\tR\x04name\x12%\n\x0b\x64\x65scription\x18\x04 \x01(\tH\x00R\x0b\x64\x65scription\x88\x01\x01\x12\x31\n\x06status\x18\x06 \x01(\x0e\x32\x19.transcodely.v1.AppStatusR\x06status\x12\x39\n\ncreated_at\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\tcreatedAt\x12\x39\n\nupdated_at\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\tupdatedAt\x12@\n\x0b\x61rchived_at\x18\t \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x01R\narchivedAt\x88\x01\x01\x12,\n\x0fhosting_enabled\x18\n \x01(\x08H\x02R\x0ehostingEnabled\x88\x01\x01\x12*\n\x0ehosting_status\x18\x0b \x01(\tH\x03R\rhostingStatus\x88\x01\x01\x12&\n\x0c\x63\x64n_hostname\x18\x0c \x01(\tH\x04R\x0b\x63\x64nHostname\x88\x01\x01\x12I\n\x0ehosting_config\x18\r \x01(\x0b\x32\x1d.transcodely.v1.HostingConfigH\x05R\rhostingConfig\x88\x01\x01\x12\x16\n\x06object\x18\x0e \x01(\tR\x06object\x12:\n\x17monthly_spend_limit_eur\x18\x0f \x01(\x01H\x06R\x14monthlySpendLimitEur\x88\x01\x01\x12\x46\n\rplayer_config\x18\x10 \x01(\x0b\x32\x1c.transcodely.v1.PlayerConfigH\x07R\x0cplayerConfig\x88\x01\x01\x42\x0e\n\x0c_descriptionB\x0e\n\x0c_archived_atB\x12\n\x10_hosting_enabledB\x11\n\x0f_hosting_statusB\x0f\n\r_cdn_hostnameB\x11\n\x0f_hosting_configB\x1a\n\x18_monthly_spend_limit_eurB\x10\n\x0e_player_configJ\x04\x08\x05\x10\x06R\x07webhook\"Z\n\x0cPlayerConfig\x12=\n\x08\x63\x61ptions\x18\x01 \x01(\x0b\x32\x1c.transcodely.v1.CaptionStyleH\x00R\x08\x63\x61ptions\x88\x01\x01\x42\x0b\n\t_captions\"\xf0\x02\n\x0c\x43\x61ptionStyle\x12K\n\x10\x62\x61\x63kground_color\x18\x01 \x01(\tB\x1b\xbaH\x18r\x16\x32\x14^(#[0-9a-fA-F]{6})?$H\x00R\x0f\x62\x61\x63kgroundColor\x88\x01\x01\x12K\n\x12\x62\x61\x63kground_opacity\x18\x02 \x01(\x01\x42\x17\xbaH\x14\x12\x12\x19\x00\x00\x00\x00\x00\x00\xf0?)\x00\x00\x00\x00\x00\x00\x00\x00H\x01R\x11\x62\x61\x63kgroundOpacity\x88\x01\x01\x12?\n\ntext_color\x18\x03 \x01(\tB\x1b\xbaH\x18r\x16\x32\x14^(#[0-9a-fA-F]{6})?$H\x02R\ttextColor\x88\x01\x01\x12;\n\nfont_scale\x18\x04 \x01(\x01\x42\x17\xbaH\x14\x12\x12\x19\x00\x00\x00\x00\x00\x00\x00@)\x00\x00\x00\x00\x00\x00\xe0?H\x03R\tfontScale\x88\x01\x01\x42\x13\n\x11_background_colorB\x15\n\x13_background_opacityB\r\n\x0b_text_colorB\r\n\x0b_font_scale\"\x8e\x01\n\x19UpdatePlayerConfigRequest\x12.\n\x02id\x18\x01 \x01(\tB\x1e\xbaH\x1br\x16\x32\x14^app_[a-zA-Z0-9_-]+$\xc8\x01\x01R\x02id\x12\x41\n\rplayer_config\x18\x02 \x01(\x0b\x32\x1c.transcodely.v1.PlayerConfigR\x0cplayerConfig\"C\n\x1aUpdatePlayerConfigResponse\x12%\n\x03\x61pp\x18\x01 \x01(\x0b\x32\x13.transcodely.v1.AppR\x03\x61pp\"\xfa\x01\n\x10\x43reateAppRequest\x12\x35\n\x06org_id\x18\x01 \x01(\tB\x1e\xbaH\x1br\x16\x32\x14^org_[a-zA-Z0-9_-]+$\xc8\x01\x01R\x05orgId\x12 \n\x04name\x18\x02 \x01(\tB\x0c\xbaH\tr\x04\x10\x01\x18<\xc8\x01\x01R\x04name\x12/\n\x0b\x64\x65scription\x18\x03 \x01(\tB\x08\xbaH\x05r\x03\x18\xf4\x03H\x00R\x0b\x64\x65scription\x88\x01\x01\x12*\n\x0e\x65nable_hosting\x18\x05 \x01(\x08H\x01R\renableHosting\x88\x01\x01\x42\x0e\n\x0c_descriptionB\x11\n\x0f_enable_hostingJ\x04\x08\x04\x10\x05R\x07webhook\"P\n\x11\x43reateAppResponse\x12%\n\x03\x61pp\x18\x01 \x01(\x0b\x32\x13.transcodely.v1.AppR\x03\x61ppJ\x04\x08\x02\x10\x03R\x0ewebhook_secret\"?\n\rGetAppRequest\x12.\n\x02id\x18\x01 \x01(\tB\x1e\xbaH\x1br\x16\x32\x14^app_[a-zA-Z0-9_-]+$\xc8\x01\x01R\x02id\"7\n\x0eGetAppResponse\x12%\n\x03\x61pp\x18\x01 \x01(\x0b\x32\x13.transcodely.v1.AppR\x03\x61pp\"\xbf\x01\n\x10UpdateAppRequest\x12.\n\x02id\x18\x01 \x01(\tB\x1e\xbaH\x1br\x16\x32\x14^app_[a-zA-Z0-9_-]+$\xc8\x01\x01R\x02id\x12\"\n\x04name\x18\x02 \x01(\tB\t\xbaH\x06r\x04\x10\x01\x18<H\x00R\x04name\x88\x01\x01\x12/\n\x0b\x64\x65scription\x18\x03 \x01(\tB\x08\xbaH\x05r\x03\x18\xf4\x03H\x01R\x0b\x64\x65scription\x88\x01\x01\x42\x07\n\x05_nameB\x0e\n\x0c_descriptionJ\x04\x08\x04\x10\x05R\x07webhook\"P\n\x11UpdateAppResponse\x12%\n\x03\x61pp\x18\x01 \x01(\x0b\x32\x13.transcodely.v1.AppR\x03\x61ppJ\x04\x08\x02\x10\x03R\x0ewebhook_secret\"\xb6\x01\n\x0fListAppsRequest\x12\x35\n\x06org_id\x18\x01 \x01(\tB\x1e\xbaH\x1br\x16\x32\x14^org_[a-zA-Z0-9_-]+$\xc8\x01\x01R\x05orgId\x12\x41\n\npagination\x18\x02 \x01(\x0b\x32!.transcodely.v1.PaginationRequestR\npagination\x12)\n\x10include_archived\x18\x03 \x01(\x08R\x0fincludeArchived\"\x7f\n\x10ListAppsResponse\x12\'\n\x04\x61pps\x18\x01 \x03(\x0b\x32\x13.transcodely.v1.AppR\x04\x61pps\x12\x42\n\npagination\x18\x02 \x01(\x0b\x32\".transcodely.v1.PaginationResponseR\npagination\"C\n\x11\x41rchiveAppRequest\x12.\n\x02id\x18\x01 \x01(\tB\x1e\xbaH\x1br\x16\x32\x14^app_[a-zA-Z0-9_-]+$\xc8\x01\x01R\x02id\";\n\x12\x41rchiveAppResponse\x12%\n\x03\x61pp\x18\x01 \x01(\x0b\x32\x13.transcodely.v1.AppR\x03\x61pp\"F\n\x14\x45nableHostingRequest\x12.\n\x02id\x18\x01 \x01(\tB\x1e\xbaH\x1br\x16\x32\x14^app_[a-zA-Z0-9_-]+$\xc8\x01\x01R\x02id\">\n\x15\x45nableHostingResponse\x12%\n\x03\x61pp\x18\x01 \x01(\x0b\x32\x13.transcodely.v1.AppR\x03\x61pp\"\xb1\x03\n\rHostingConfig\x12\x32\n\x12\x64\x65\x66\x61ult_visibility\x18\x01 \x01(\tH\x00R\x11\x64\x65\x66\x61ultVisibility\x88\x01\x01\x12\x36\n\x15max_upload_size_bytes\x18\x02 \x01(\x03H\x01R\x12maxUploadSizeBytes\x88\x01\x01\x12\x30\n\x14\x63ors_allowed_origins\x18\x03 \x03(\tR\x12\x63orsAllowedOrigins\x12\\\n\x15\x61uto_profile_defaults\x18\x04 \x01(\x0b\x32#.transcodely.v1.AutoProfileDefaultsH\x02R\x13\x61utoProfileDefaults\x88\x01\x01\x12<\n\x18\x64\x65lete_source_after_days\x18\x05 \x01(\x05H\x03R\x15\x64\x65leteSourceAfterDays\x88\x01\x01\x42\x15\n\x13_default_visibilityB\x18\n\x16_max_upload_size_bytesB\x18\n\x16_auto_profile_defaultsB\x1b\n\x19_delete_source_after_days\"\x96\x02\n\x13\x41utoProfileDefaults\x12\x1b\n\x06\x66ormat\x18\x01 \x01(\tH\x00R\x06\x66ormat\x88\x01\x01\x12\x19\n\x05\x63odec\x18\x02 \x01(\tH\x01R\x05\x63odec\x88\x01\x01\x12*\n\x0emax_resolution\x18\x03 \x01(\tH\x02R\rmaxResolution\x88\x01\x01\x12&\n\x0cquality_tier\x18\x04 \x01(\tH\x03R\x0bqualityTier\x88\x01\x01\x12(\n\rencoding_mode\x18\x05 \x01(\tH\x04R\x0c\x65ncodingMode\x88\x01\x01\x42\t\n\x07_formatB\x08\n\x06_codecB\x11\n\x0f_max_resolutionB\x0f\n\r_quality_tierB\x10\n\x0e_encoding_mode\"\x92\x01\n\x1aUpdateHostingConfigRequest\x12.\n\x02id\x18\x01 \x01(\tB\x1e\xbaH\x1br\x16\x32\x14^app_[a-zA-Z0-9_-]+$\xc8\x01\x01R\x02id\x12\x44\n\x0ehosting_config\x18\x02 \x01(\x0b\x32\x1d.transcodely.v1.HostingConfigR\rhostingConfig\"D\n\x1bUpdateHostingConfigResponse\x12%\n\x03\x61pp\x18\x01 \x01(\x0b\x32\x13.transcodely.v1.AppR\x03\x61pp\"\xc1\x01\n\x17UpdateSpendLimitRequest\x12\x35\n\x06\x61pp_id\x18\x01 \x01(\tB\x1e\xbaH\x1br\x16\x32\x14^app_[a-zA-Z0-9_-]+$\xc8\x01\x01R\x05\x61ppId\x12S\n\x17monthly_spend_limit_eur\x18\x02 \x01(\x01\x42\x17\xbaH\x14\x12\x12\x19\x85\xeb\xff\x1f_\xa0\x02\x42!\x00\x00\x00\x00\x00\x00\x00\x00H\x00R\x14monthlySpendLimitEur\x88\x01\x01\x42\x1a\n\x18_monthly_spend_limit_eur\"A\n\x18UpdateSpendLimitResponse\x12%\n\x03\x61pp\x18\x01 \x01(\x0b\x32\x13.transcodely.v1.AppR\x03\x61pp\"H\n\x0fGetSpendRequest\x12\x35\n\x06\x61pp_id\x18\x01 \x01(\tB\x1e\xbaH\x1br\x16\x32\x14^app_[a-zA-Z0-9_-]+$\xc8\x01\x01R\x05\x61ppId\"\xef\x02\n\x10GetSpendResponse\x12=\n\x0cperiod_start\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\x0bperiodStart\x12\x39\n\nperiod_end\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\tperiodEnd\x12\x1b\n\tspent_eur\x18\x03 \x01(\x01R\x08spentEur\x12:\n\x17monthly_spend_limit_eur\x18\x04 \x01(\x01H\x00R\x14monthlySpendLimitEur\x88\x01\x01\x12\x1a\n\x08\x63urrency\x18\x05 \x01(\tR\x08\x63urrency\x12+\n\x11warning_triggered\x18\x06 \x01(\x08R\x10warningTriggered\x12#\n\rlimit_reached\x18\x07 \x01(\x08R\x0climitReachedB\x1a\n\x18_monthly_spend_limit_eur\"W\n\x11GetPricingRequest\x12\x37\n\x06\x61pp_id\x18\x01 \x01(\tB\x1b\xbaH\x18r\x16\x32\x14^app_[a-zA-Z0-9_-]+$H\x00R\x05\x61ppId\x88\x01\x01\x42\t\n\x07_app_id\"\x93\x03\n\x0cPricingEntry\x12\x1b\n\trule_type\x18\x01 \x01(\tR\x08ruleType\x12\x19\n\x08rule_key\x18\x02 \x01(\tR\x07ruleKey\x12\x14\n\x05label\x18\x03 \x01(\tR\x05label\x12\x1f\n\x0bgroup_label\x18\x04 \x01(\tR\ngroupLabel\x12\x12\n\x04unit\x18\x05 \x01(\tR\x04unit\x12\"\n\nbase_price\x18\x06 \x01(\x01H\x00R\tbasePrice\x88\x01\x01\x12#\n\nmultiplier\x18\x07 \x01(\x01H\x01R\nmultiplier\x88\x01\x01\x12\x16\n\x06\x63ustom\x18\x08 \x01(\x08R\x06\x63ustom\x12+\n\x0flist_base_price\x18\t \x01(\x01H\x02R\rlistBasePrice\x88\x01\x01\x12,\n\x0flist_multiplier\x18\n \x01(\x01H\x03R\x0elistMultiplier\x88\x01\x01\x42\r\n\x0b_base_priceB\r\n\x0b_multiplierB\x12\n\x10_list_base_priceB\x12\n\x10_list_multiplier\"\x7f\n\x12GetPricingResponse\x12\x15\n\x06\x61pp_id\x18\x01 \x01(\tR\x05\x61ppId\x12\x1a\n\x08\x63urrency\x18\x02 \x01(\tR\x08\x63urrency\x12\x36\n\x07\x65ntries\x18\x03 \x03(\x0b\x32\x1c.transcodely.v1.PricingEntryR\x07\x65ntries*q\n\tAppStatus\x12\x1a\n\x16\x41PP_STATUS_UNSPECIFIED\x10\x00\x12\x15\n\x11\x41PP_STATUS_ACTIVE\x10\x01\x12\x17\n\x13\x41PP_STATUS_ARCHIVED\x10\x02\x12\x18\n\x14\x41PP_STATUS_SUSPENDED\x10\x03\x32\xd3\x07\n\nAppService\x12M\n\x06\x43reate\x12 .transcodely.v1.CreateAppRequest\x1a!.transcodely.v1.CreateAppResponse\x12\x44\n\x03Get\x12\x1d.transcodely.v1.GetAppRequest\x1a\x1e.transcodely.v1.GetAppResponse\x12M\n\x06Update\x12 .transcodely.v1.UpdateAppRequest\x1a!.transcodely.v1.UpdateAppResponse\x12I\n\x04List\x12\x1f.transcodely.v1.ListAppsRequest\x1a .transcodely.v1.ListAppsResponse\x12P\n\x07\x41rchive\x12!.transcodely.v1.ArchiveAppRequest\x1a\".transcodely.v1.ArchiveAppResponse\x12\\\n\rEnableHosting\x12$.transcodely.v1.EnableHostingRequest\x1a%.transcodely.v1.EnableHostingResponse\x12n\n\x13UpdateHostingConfig\x12*.transcodely.v1.UpdateHostingConfigRequest\x1a+.transcodely.v1.UpdateHostingConfigResponse\x12k\n\x12UpdatePlayerConfig\x12).transcodely.v1.UpdatePlayerConfigRequest\x1a*.transcodely.v1.UpdatePlayerConfigResponse\x12\x65\n\x10UpdateSpendLimit\x12\'.transcodely.v1.UpdateSpendLimitRequest\x1a(.transcodely.v1.UpdateSpendLimitResponse\x12M\n\x08GetSpend\x12\x1f.transcodely.v1.GetSpendRequest\x1a .transcodely.v1.GetSpendResponse\x12S\n\nGetPricing\x12!.transcodely.v1.GetPricingRequest\x1a\".transcodely.v1.GetPricingResponseb\x06proto3')
|
|
31
|
+
DESCRIPTOR = _descriptor_pool.Default().AddSerializedFile(b'\n\x18transcodely/v1/app.proto\x12\x0etranscodely.v1\x1a\x1b\x62uf/validate/validate.proto\x1a\x1fgoogle/protobuf/timestamp.proto\x1a\x1btranscodely/v1/common.proto\x1a\x1etranscodely/v1/subtitles.proto\"\xf2\x07\n\x03\x41pp\x12\x0e\n\x02id\x18\x01 \x01(\tR\x02id\x12\x15\n\x06org_id\x18\x02 \x01(\tR\x05orgId\x12\x12\n\x04name\x18\x03 \x01(\tR\x04name\x12%\n\x0b\x64\x65scription\x18\x04 \x01(\tH\x00R\x0b\x64\x65scription\x88\x01\x01\x12\x31\n\x06status\x18\x06 \x01(\x0e\x32\x19.transcodely.v1.AppStatusR\x06status\x12\x39\n\ncreated_at\x18\x07 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\tcreatedAt\x12\x39\n\nupdated_at\x18\x08 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\tupdatedAt\x12@\n\x0b\x61rchived_at\x18\t \x01(\x0b\x32\x1a.google.protobuf.TimestampH\x01R\narchivedAt\x88\x01\x01\x12,\n\x0fhosting_enabled\x18\n \x01(\x08H\x02R\x0ehostingEnabled\x88\x01\x01\x12*\n\x0ehosting_status\x18\x0b \x01(\tH\x03R\rhostingStatus\x88\x01\x01\x12&\n\x0c\x63\x64n_hostname\x18\x0c \x01(\tH\x04R\x0b\x63\x64nHostname\x88\x01\x01\x12I\n\x0ehosting_config\x18\r \x01(\x0b\x32\x1d.transcodely.v1.HostingConfigH\x05R\rhostingConfig\x88\x01\x01\x12\x16\n\x06object\x18\x0e \x01(\tR\x06object\x12:\n\x17monthly_spend_limit_eur\x18\x0f \x01(\x01H\x06R\x14monthlySpendLimitEur\x88\x01\x01\x12\x46\n\rplayer_config\x18\x10 \x01(\x0b\x32\x1c.transcodely.v1.PlayerConfigH\x07R\x0cplayerConfig\x88\x01\x01\x12.\n\x10\x63\x61ption_glossary\x18\x11 \x01(\tH\x08R\x0f\x63\x61ptionGlossary\x88\x01\x01\x12:\n\tcue_style\x18\x12 \x01(\x0b\x32\x18.transcodely.v1.CueStyleH\tR\x08\x63ueStyle\x88\x01\x01\x42\x0e\n\x0c_descriptionB\x0e\n\x0c_archived_atB\x12\n\x10_hosting_enabledB\x11\n\x0f_hosting_statusB\x0f\n\r_cdn_hostnameB\x11\n\x0f_hosting_configB\x1a\n\x18_monthly_spend_limit_eurB\x10\n\x0e_player_configB\x13\n\x11_caption_glossaryB\x0c\n\n_cue_styleJ\x04\x08\x05\x10\x06R\x07webhook\"Z\n\x0cPlayerConfig\x12=\n\x08\x63\x61ptions\x18\x01 \x01(\x0b\x32\x1c.transcodely.v1.CaptionStyleH\x00R\x08\x63\x61ptions\x88\x01\x01\x42\x0b\n\t_captions\"\xf0\x02\n\x0c\x43\x61ptionStyle\x12K\n\x10\x62\x61\x63kground_color\x18\x01 \x01(\tB\x1b\xbaH\x18r\x16\x32\x14^(#[0-9a-fA-F]{6})?$H\x00R\x0f\x62\x61\x63kgroundColor\x88\x01\x01\x12K\n\x12\x62\x61\x63kground_opacity\x18\x02 \x01(\x01\x42\x17\xbaH\x14\x12\x12\x19\x00\x00\x00\x00\x00\x00\xf0?)\x00\x00\x00\x00\x00\x00\x00\x00H\x01R\x11\x62\x61\x63kgroundOpacity\x88\x01\x01\x12?\n\ntext_color\x18\x03 \x01(\tB\x1b\xbaH\x18r\x16\x32\x14^(#[0-9a-fA-F]{6})?$H\x02R\ttextColor\x88\x01\x01\x12;\n\nfont_scale\x18\x04 \x01(\x01\x42\x17\xbaH\x14\x12\x12\x19\x00\x00\x00\x00\x00\x00\x00@)\x00\x00\x00\x00\x00\x00\xe0?H\x03R\tfontScale\x88\x01\x01\x42\x13\n\x11_background_colorB\x15\n\x13_background_opacityB\r\n\x0b_text_colorB\r\n\x0b_font_scale\"\x8e\x01\n\x19UpdatePlayerConfigRequest\x12.\n\x02id\x18\x01 \x01(\tB\x1e\xbaH\x1br\x16\x32\x14^app_[a-zA-Z0-9_-]+$\xc8\x01\x01R\x02id\x12\x41\n\rplayer_config\x18\x02 \x01(\x0b\x32\x1c.transcodely.v1.PlayerConfigR\x0cplayerConfig\"C\n\x1aUpdatePlayerConfigResponse\x12%\n\x03\x61pp\x18\x01 \x01(\x0b\x32\x13.transcodely.v1.AppR\x03\x61pp\"\xfa\x01\n\x10\x43reateAppRequest\x12\x35\n\x06org_id\x18\x01 \x01(\tB\x1e\xbaH\x1br\x16\x32\x14^org_[a-zA-Z0-9_-]+$\xc8\x01\x01R\x05orgId\x12 \n\x04name\x18\x02 \x01(\tB\x0c\xbaH\tr\x04\x10\x01\x18<\xc8\x01\x01R\x04name\x12/\n\x0b\x64\x65scription\x18\x03 \x01(\tB\x08\xbaH\x05r\x03\x18\xf4\x03H\x00R\x0b\x64\x65scription\x88\x01\x01\x12*\n\x0e\x65nable_hosting\x18\x05 \x01(\x08H\x01R\renableHosting\x88\x01\x01\x42\x0e\n\x0c_descriptionB\x11\n\x0f_enable_hostingJ\x04\x08\x04\x10\x05R\x07webhook\"P\n\x11\x43reateAppResponse\x12%\n\x03\x61pp\x18\x01 \x01(\x0b\x32\x13.transcodely.v1.AppR\x03\x61ppJ\x04\x08\x02\x10\x03R\x0ewebhook_secret\"?\n\rGetAppRequest\x12.\n\x02id\x18\x01 \x01(\tB\x1e\xbaH\x1br\x16\x32\x14^app_[a-zA-Z0-9_-]+$\xc8\x01\x01R\x02id\"7\n\x0eGetAppResponse\x12%\n\x03\x61pp\x18\x01 \x01(\x0b\x32\x13.transcodely.v1.AppR\x03\x61pp\"\xd8\x02\n\x10UpdateAppRequest\x12.\n\x02id\x18\x01 \x01(\tB\x1e\xbaH\x1br\x16\x32\x14^app_[a-zA-Z0-9_-]+$\xc8\x01\x01R\x02id\x12\"\n\x04name\x18\x02 \x01(\tB\t\xbaH\x06r\x04\x10\x01\x18<H\x00R\x04name\x88\x01\x01\x12/\n\x0b\x64\x65scription\x18\x03 \x01(\tB\x08\xbaH\x05r\x03\x18\xf4\x03H\x01R\x0b\x64\x65scription\x88\x01\x01\x12\x38\n\x10\x63\x61ption_glossary\x18\x05 \x01(\tB\x08\xbaH\x05r\x03\x18\xa0\x1fH\x02R\x0f\x63\x61ptionGlossary\x88\x01\x01\x12:\n\tcue_style\x18\x06 \x01(\x0b\x32\x18.transcodely.v1.CueStyleH\x03R\x08\x63ueStyle\x88\x01\x01\x42\x07\n\x05_nameB\x0e\n\x0c_descriptionB\x13\n\x11_caption_glossaryB\x0c\n\n_cue_styleJ\x04\x08\x04\x10\x05R\x07webhook\"P\n\x11UpdateAppResponse\x12%\n\x03\x61pp\x18\x01 \x01(\x0b\x32\x13.transcodely.v1.AppR\x03\x61ppJ\x04\x08\x02\x10\x03R\x0ewebhook_secret\"\xb6\x01\n\x0fListAppsRequest\x12\x35\n\x06org_id\x18\x01 \x01(\tB\x1e\xbaH\x1br\x16\x32\x14^org_[a-zA-Z0-9_-]+$\xc8\x01\x01R\x05orgId\x12\x41\n\npagination\x18\x02 \x01(\x0b\x32!.transcodely.v1.PaginationRequestR\npagination\x12)\n\x10include_archived\x18\x03 \x01(\x08R\x0fincludeArchived\"\x7f\n\x10ListAppsResponse\x12\'\n\x04\x61pps\x18\x01 \x03(\x0b\x32\x13.transcodely.v1.AppR\x04\x61pps\x12\x42\n\npagination\x18\x02 \x01(\x0b\x32\".transcodely.v1.PaginationResponseR\npagination\"C\n\x11\x41rchiveAppRequest\x12.\n\x02id\x18\x01 \x01(\tB\x1e\xbaH\x1br\x16\x32\x14^app_[a-zA-Z0-9_-]+$\xc8\x01\x01R\x02id\";\n\x12\x41rchiveAppResponse\x12%\n\x03\x61pp\x18\x01 \x01(\x0b\x32\x13.transcodely.v1.AppR\x03\x61pp\"F\n\x14\x45nableHostingRequest\x12.\n\x02id\x18\x01 \x01(\tB\x1e\xbaH\x1br\x16\x32\x14^app_[a-zA-Z0-9_-]+$\xc8\x01\x01R\x02id\">\n\x15\x45nableHostingResponse\x12%\n\x03\x61pp\x18\x01 \x01(\x0b\x32\x13.transcodely.v1.AppR\x03\x61pp\"\xfe\x03\n\rHostingConfig\x12\x32\n\x12\x64\x65\x66\x61ult_visibility\x18\x01 \x01(\tH\x00R\x11\x64\x65\x66\x61ultVisibility\x88\x01\x01\x12\x36\n\x15max_upload_size_bytes\x18\x02 \x01(\x03H\x01R\x12maxUploadSizeBytes\x88\x01\x01\x12\x30\n\x14\x63ors_allowed_origins\x18\x03 \x03(\tR\x12\x63orsAllowedOrigins\x12\\\n\x15\x61uto_profile_defaults\x18\x04 \x01(\x0b\x32#.transcodely.v1.AutoProfileDefaultsH\x02R\x13\x61utoProfileDefaults\x88\x01\x01\x12<\n\x18\x64\x65lete_source_after_days\x18\x05 \x01(\x05H\x03R\x15\x64\x65leteSourceAfterDays\x88\x01\x01\x12\x33\n\x13guide_pages_enabled\x18\x06 \x01(\x08H\x04R\x11guidePagesEnabled\x88\x01\x01\x42\x15\n\x13_default_visibilityB\x18\n\x16_max_upload_size_bytesB\x18\n\x16_auto_profile_defaultsB\x1b\n\x19_delete_source_after_daysB\x16\n\x14_guide_pages_enabled\"\x96\x02\n\x13\x41utoProfileDefaults\x12\x1b\n\x06\x66ormat\x18\x01 \x01(\tH\x00R\x06\x66ormat\x88\x01\x01\x12\x19\n\x05\x63odec\x18\x02 \x01(\tH\x01R\x05\x63odec\x88\x01\x01\x12*\n\x0emax_resolution\x18\x03 \x01(\tH\x02R\rmaxResolution\x88\x01\x01\x12&\n\x0cquality_tier\x18\x04 \x01(\tH\x03R\x0bqualityTier\x88\x01\x01\x12(\n\rencoding_mode\x18\x05 \x01(\tH\x04R\x0c\x65ncodingMode\x88\x01\x01\x42\t\n\x07_formatB\x08\n\x06_codecB\x11\n\x0f_max_resolutionB\x0f\n\r_quality_tierB\x10\n\x0e_encoding_mode\"\x92\x01\n\x1aUpdateHostingConfigRequest\x12.\n\x02id\x18\x01 \x01(\tB\x1e\xbaH\x1br\x16\x32\x14^app_[a-zA-Z0-9_-]+$\xc8\x01\x01R\x02id\x12\x44\n\x0ehosting_config\x18\x02 \x01(\x0b\x32\x1d.transcodely.v1.HostingConfigR\rhostingConfig\"D\n\x1bUpdateHostingConfigResponse\x12%\n\x03\x61pp\x18\x01 \x01(\x0b\x32\x13.transcodely.v1.AppR\x03\x61pp\"\xc1\x01\n\x17UpdateSpendLimitRequest\x12\x35\n\x06\x61pp_id\x18\x01 \x01(\tB\x1e\xbaH\x1br\x16\x32\x14^app_[a-zA-Z0-9_-]+$\xc8\x01\x01R\x05\x61ppId\x12S\n\x17monthly_spend_limit_eur\x18\x02 \x01(\x01\x42\x17\xbaH\x14\x12\x12\x19\x85\xeb\xff\x1f_\xa0\x02\x42!\x00\x00\x00\x00\x00\x00\x00\x00H\x00R\x14monthlySpendLimitEur\x88\x01\x01\x42\x1a\n\x18_monthly_spend_limit_eur\"A\n\x18UpdateSpendLimitResponse\x12%\n\x03\x61pp\x18\x01 \x01(\x0b\x32\x13.transcodely.v1.AppR\x03\x61pp\"H\n\x0fGetSpendRequest\x12\x35\n\x06\x61pp_id\x18\x01 \x01(\tB\x1e\xbaH\x1br\x16\x32\x14^app_[a-zA-Z0-9_-]+$\xc8\x01\x01R\x05\x61ppId\"\xef\x02\n\x10GetSpendResponse\x12=\n\x0cperiod_start\x18\x01 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\x0bperiodStart\x12\x39\n\nperiod_end\x18\x02 \x01(\x0b\x32\x1a.google.protobuf.TimestampR\tperiodEnd\x12\x1b\n\tspent_eur\x18\x03 \x01(\x01R\x08spentEur\x12:\n\x17monthly_spend_limit_eur\x18\x04 \x01(\x01H\x00R\x14monthlySpendLimitEur\x88\x01\x01\x12\x1a\n\x08\x63urrency\x18\x05 \x01(\tR\x08\x63urrency\x12+\n\x11warning_triggered\x18\x06 \x01(\x08R\x10warningTriggered\x12#\n\rlimit_reached\x18\x07 \x01(\x08R\x0climitReachedB\x1a\n\x18_monthly_spend_limit_eur\"W\n\x11GetPricingRequest\x12\x37\n\x06\x61pp_id\x18\x01 \x01(\tB\x1b\xbaH\x18r\x16\x32\x14^app_[a-zA-Z0-9_-]+$H\x00R\x05\x61ppId\x88\x01\x01\x42\t\n\x07_app_id\"\x93\x03\n\x0cPricingEntry\x12\x1b\n\trule_type\x18\x01 \x01(\tR\x08ruleType\x12\x19\n\x08rule_key\x18\x02 \x01(\tR\x07ruleKey\x12\x14\n\x05label\x18\x03 \x01(\tR\x05label\x12\x1f\n\x0bgroup_label\x18\x04 \x01(\tR\ngroupLabel\x12\x12\n\x04unit\x18\x05 \x01(\tR\x04unit\x12\"\n\nbase_price\x18\x06 \x01(\x01H\x00R\tbasePrice\x88\x01\x01\x12#\n\nmultiplier\x18\x07 \x01(\x01H\x01R\nmultiplier\x88\x01\x01\x12\x16\n\x06\x63ustom\x18\x08 \x01(\x08R\x06\x63ustom\x12+\n\x0flist_base_price\x18\t \x01(\x01H\x02R\rlistBasePrice\x88\x01\x01\x12,\n\x0flist_multiplier\x18\n \x01(\x01H\x03R\x0elistMultiplier\x88\x01\x01\x42\r\n\x0b_base_priceB\r\n\x0b_multiplierB\x12\n\x10_list_base_priceB\x12\n\x10_list_multiplier\"\x7f\n\x12GetPricingResponse\x12\x15\n\x06\x61pp_id\x18\x01 \x01(\tR\x05\x61ppId\x12\x1a\n\x08\x63urrency\x18\x02 \x01(\tR\x08\x63urrency\x12\x36\n\x07\x65ntries\x18\x03 \x03(\x0b\x32\x1c.transcodely.v1.PricingEntryR\x07\x65ntries*q\n\tAppStatus\x12\x1a\n\x16\x41PP_STATUS_UNSPECIFIED\x10\x00\x12\x15\n\x11\x41PP_STATUS_ACTIVE\x10\x01\x12\x17\n\x13\x41PP_STATUS_ARCHIVED\x10\x02\x12\x18\n\x14\x41PP_STATUS_SUSPENDED\x10\x03\x32\xd3\x07\n\nAppService\x12M\n\x06\x43reate\x12 .transcodely.v1.CreateAppRequest\x1a!.transcodely.v1.CreateAppResponse\x12\x44\n\x03Get\x12\x1d.transcodely.v1.GetAppRequest\x1a\x1e.transcodely.v1.GetAppResponse\x12M\n\x06Update\x12 .transcodely.v1.UpdateAppRequest\x1a!.transcodely.v1.UpdateAppResponse\x12I\n\x04List\x12\x1f.transcodely.v1.ListAppsRequest\x1a .transcodely.v1.ListAppsResponse\x12P\n\x07\x41rchive\x12!.transcodely.v1.ArchiveAppRequest\x1a\".transcodely.v1.ArchiveAppResponse\x12\\\n\rEnableHosting\x12$.transcodely.v1.EnableHostingRequest\x1a%.transcodely.v1.EnableHostingResponse\x12n\n\x13UpdateHostingConfig\x12*.transcodely.v1.UpdateHostingConfigRequest\x1a+.transcodely.v1.UpdateHostingConfigResponse\x12k\n\x12UpdatePlayerConfig\x12).transcodely.v1.UpdatePlayerConfigRequest\x1a*.transcodely.v1.UpdatePlayerConfigResponse\x12\x65\n\x10UpdateSpendLimit\x12\'.transcodely.v1.UpdateSpendLimitRequest\x1a(.transcodely.v1.UpdateSpendLimitResponse\x12M\n\x08GetSpend\x12\x1f.transcodely.v1.GetSpendRequest\x1a .transcodely.v1.GetSpendResponse\x12S\n\nGetPricing\x12!.transcodely.v1.GetPricingRequest\x1a\".transcodely.v1.GetPricingResponseb\x06proto3')
|
|
31
32
|
|
|
32
33
|
_globals = globals()
|
|
33
34
|
_builder.BuildMessageAndEnumDescriptors(DESCRIPTOR, _globals)
|
|
@@ -58,6 +59,8 @@ if not _descriptor._USE_C_DESCRIPTORS:
|
|
|
58
59
|
_globals['_UPDATEAPPREQUEST'].fields_by_name['name']._serialized_options = b'\272H\006r\004\020\001\030<'
|
|
59
60
|
_globals['_UPDATEAPPREQUEST'].fields_by_name['description']._loaded_options = None
|
|
60
61
|
_globals['_UPDATEAPPREQUEST'].fields_by_name['description']._serialized_options = b'\272H\005r\003\030\364\003'
|
|
62
|
+
_globals['_UPDATEAPPREQUEST'].fields_by_name['caption_glossary']._loaded_options = None
|
|
63
|
+
_globals['_UPDATEAPPREQUEST'].fields_by_name['caption_glossary']._serialized_options = b'\272H\005r\003\030\240\037'
|
|
61
64
|
_globals['_LISTAPPSREQUEST'].fields_by_name['org_id']._loaded_options = None
|
|
62
65
|
_globals['_LISTAPPSREQUEST'].fields_by_name['org_id']._serialized_options = b'\272H\033r\0262\024^org_[a-zA-Z0-9_-]+$\310\001\001'
|
|
63
66
|
_globals['_ARCHIVEAPPREQUEST'].fields_by_name['id']._loaded_options = None
|
|
@@ -74,64 +77,64 @@ if not _descriptor._USE_C_DESCRIPTORS:
|
|
|
74
77
|
_globals['_GETSPENDREQUEST'].fields_by_name['app_id']._serialized_options = b'\272H\033r\0262\024^app_[a-zA-Z0-9_-]+$\310\001\001'
|
|
75
78
|
_globals['_GETPRICINGREQUEST'].fields_by_name['app_id']._loaded_options = None
|
|
76
79
|
_globals['_GETPRICINGREQUEST'].fields_by_name['app_id']._serialized_options = b'\272H\030r\0262\024^app_[a-zA-Z0-9_-]+$'
|
|
77
|
-
_globals['_APPSTATUS']._serialized_start=
|
|
78
|
-
_globals['_APPSTATUS']._serialized_end=
|
|
79
|
-
_globals['_APP']._serialized_start=
|
|
80
|
-
_globals['_APP']._serialized_end=
|
|
81
|
-
_globals['_PLAYERCONFIG']._serialized_start=
|
|
82
|
-
_globals['_PLAYERCONFIG']._serialized_end=
|
|
83
|
-
_globals['_CAPTIONSTYLE']._serialized_start=
|
|
84
|
-
_globals['_CAPTIONSTYLE']._serialized_end=
|
|
85
|
-
_globals['_UPDATEPLAYERCONFIGREQUEST']._serialized_start=
|
|
86
|
-
_globals['_UPDATEPLAYERCONFIGREQUEST']._serialized_end=
|
|
87
|
-
_globals['_UPDATEPLAYERCONFIGRESPONSE']._serialized_start=
|
|
88
|
-
_globals['_UPDATEPLAYERCONFIGRESPONSE']._serialized_end=
|
|
89
|
-
_globals['_CREATEAPPREQUEST']._serialized_start=
|
|
90
|
-
_globals['_CREATEAPPREQUEST']._serialized_end=
|
|
91
|
-
_globals['_CREATEAPPRESPONSE']._serialized_start=
|
|
92
|
-
_globals['_CREATEAPPRESPONSE']._serialized_end=
|
|
93
|
-
_globals['_GETAPPREQUEST']._serialized_start=
|
|
94
|
-
_globals['_GETAPPREQUEST']._serialized_end=
|
|
95
|
-
_globals['_GETAPPRESPONSE']._serialized_start=
|
|
96
|
-
_globals['_GETAPPRESPONSE']._serialized_end=
|
|
97
|
-
_globals['_UPDATEAPPREQUEST']._serialized_start=
|
|
98
|
-
_globals['_UPDATEAPPREQUEST']._serialized_end=
|
|
99
|
-
_globals['_UPDATEAPPRESPONSE']._serialized_start=
|
|
100
|
-
_globals['_UPDATEAPPRESPONSE']._serialized_end=
|
|
101
|
-
_globals['_LISTAPPSREQUEST']._serialized_start=
|
|
102
|
-
_globals['_LISTAPPSREQUEST']._serialized_end=
|
|
103
|
-
_globals['_LISTAPPSRESPONSE']._serialized_start=
|
|
104
|
-
_globals['_LISTAPPSRESPONSE']._serialized_end=
|
|
105
|
-
_globals['_ARCHIVEAPPREQUEST']._serialized_start=
|
|
106
|
-
_globals['_ARCHIVEAPPREQUEST']._serialized_end=
|
|
107
|
-
_globals['_ARCHIVEAPPRESPONSE']._serialized_start=
|
|
108
|
-
_globals['_ARCHIVEAPPRESPONSE']._serialized_end=
|
|
109
|
-
_globals['_ENABLEHOSTINGREQUEST']._serialized_start=
|
|
110
|
-
_globals['_ENABLEHOSTINGREQUEST']._serialized_end=
|
|
111
|
-
_globals['_ENABLEHOSTINGRESPONSE']._serialized_start=
|
|
112
|
-
_globals['_ENABLEHOSTINGRESPONSE']._serialized_end=
|
|
113
|
-
_globals['_HOSTINGCONFIG']._serialized_start=
|
|
114
|
-
_globals['_HOSTINGCONFIG']._serialized_end=
|
|
115
|
-
_globals['_AUTOPROFILEDEFAULTS']._serialized_start=
|
|
116
|
-
_globals['_AUTOPROFILEDEFAULTS']._serialized_end=
|
|
117
|
-
_globals['_UPDATEHOSTINGCONFIGREQUEST']._serialized_start=
|
|
118
|
-
_globals['_UPDATEHOSTINGCONFIGREQUEST']._serialized_end=
|
|
119
|
-
_globals['_UPDATEHOSTINGCONFIGRESPONSE']._serialized_start=
|
|
120
|
-
_globals['_UPDATEHOSTINGCONFIGRESPONSE']._serialized_end=
|
|
121
|
-
_globals['_UPDATESPENDLIMITREQUEST']._serialized_start=
|
|
122
|
-
_globals['_UPDATESPENDLIMITREQUEST']._serialized_end=
|
|
123
|
-
_globals['_UPDATESPENDLIMITRESPONSE']._serialized_start=
|
|
124
|
-
_globals['_UPDATESPENDLIMITRESPONSE']._serialized_end=
|
|
125
|
-
_globals['_GETSPENDREQUEST']._serialized_start=
|
|
126
|
-
_globals['_GETSPENDREQUEST']._serialized_end=
|
|
127
|
-
_globals['_GETSPENDRESPONSE']._serialized_start=
|
|
128
|
-
_globals['_GETSPENDRESPONSE']._serialized_end=
|
|
129
|
-
_globals['_GETPRICINGREQUEST']._serialized_start=
|
|
130
|
-
_globals['_GETPRICINGREQUEST']._serialized_end=
|
|
131
|
-
_globals['_PRICINGENTRY']._serialized_start=
|
|
132
|
-
_globals['_PRICINGENTRY']._serialized_end=
|
|
133
|
-
_globals['_GETPRICINGRESPONSE']._serialized_start=
|
|
134
|
-
_globals['_GETPRICINGRESPONSE']._serialized_end=
|
|
135
|
-
_globals['_APPSERVICE']._serialized_start=
|
|
136
|
-
_globals['_APPSERVICE']._serialized_end=
|
|
80
|
+
_globals['_APPSTATUS']._serialized_start=5667
|
|
81
|
+
_globals['_APPSTATUS']._serialized_end=5780
|
|
82
|
+
_globals['_APP']._serialized_start=168
|
|
83
|
+
_globals['_APP']._serialized_end=1178
|
|
84
|
+
_globals['_PLAYERCONFIG']._serialized_start=1180
|
|
85
|
+
_globals['_PLAYERCONFIG']._serialized_end=1270
|
|
86
|
+
_globals['_CAPTIONSTYLE']._serialized_start=1273
|
|
87
|
+
_globals['_CAPTIONSTYLE']._serialized_end=1641
|
|
88
|
+
_globals['_UPDATEPLAYERCONFIGREQUEST']._serialized_start=1644
|
|
89
|
+
_globals['_UPDATEPLAYERCONFIGREQUEST']._serialized_end=1786
|
|
90
|
+
_globals['_UPDATEPLAYERCONFIGRESPONSE']._serialized_start=1788
|
|
91
|
+
_globals['_UPDATEPLAYERCONFIGRESPONSE']._serialized_end=1855
|
|
92
|
+
_globals['_CREATEAPPREQUEST']._serialized_start=1858
|
|
93
|
+
_globals['_CREATEAPPREQUEST']._serialized_end=2108
|
|
94
|
+
_globals['_CREATEAPPRESPONSE']._serialized_start=2110
|
|
95
|
+
_globals['_CREATEAPPRESPONSE']._serialized_end=2190
|
|
96
|
+
_globals['_GETAPPREQUEST']._serialized_start=2192
|
|
97
|
+
_globals['_GETAPPREQUEST']._serialized_end=2255
|
|
98
|
+
_globals['_GETAPPRESPONSE']._serialized_start=2257
|
|
99
|
+
_globals['_GETAPPRESPONSE']._serialized_end=2312
|
|
100
|
+
_globals['_UPDATEAPPREQUEST']._serialized_start=2315
|
|
101
|
+
_globals['_UPDATEAPPREQUEST']._serialized_end=2659
|
|
102
|
+
_globals['_UPDATEAPPRESPONSE']._serialized_start=2661
|
|
103
|
+
_globals['_UPDATEAPPRESPONSE']._serialized_end=2741
|
|
104
|
+
_globals['_LISTAPPSREQUEST']._serialized_start=2744
|
|
105
|
+
_globals['_LISTAPPSREQUEST']._serialized_end=2926
|
|
106
|
+
_globals['_LISTAPPSRESPONSE']._serialized_start=2928
|
|
107
|
+
_globals['_LISTAPPSRESPONSE']._serialized_end=3055
|
|
108
|
+
_globals['_ARCHIVEAPPREQUEST']._serialized_start=3057
|
|
109
|
+
_globals['_ARCHIVEAPPREQUEST']._serialized_end=3124
|
|
110
|
+
_globals['_ARCHIVEAPPRESPONSE']._serialized_start=3126
|
|
111
|
+
_globals['_ARCHIVEAPPRESPONSE']._serialized_end=3185
|
|
112
|
+
_globals['_ENABLEHOSTINGREQUEST']._serialized_start=3187
|
|
113
|
+
_globals['_ENABLEHOSTINGREQUEST']._serialized_end=3257
|
|
114
|
+
_globals['_ENABLEHOSTINGRESPONSE']._serialized_start=3259
|
|
115
|
+
_globals['_ENABLEHOSTINGRESPONSE']._serialized_end=3321
|
|
116
|
+
_globals['_HOSTINGCONFIG']._serialized_start=3324
|
|
117
|
+
_globals['_HOSTINGCONFIG']._serialized_end=3834
|
|
118
|
+
_globals['_AUTOPROFILEDEFAULTS']._serialized_start=3837
|
|
119
|
+
_globals['_AUTOPROFILEDEFAULTS']._serialized_end=4115
|
|
120
|
+
_globals['_UPDATEHOSTINGCONFIGREQUEST']._serialized_start=4118
|
|
121
|
+
_globals['_UPDATEHOSTINGCONFIGREQUEST']._serialized_end=4264
|
|
122
|
+
_globals['_UPDATEHOSTINGCONFIGRESPONSE']._serialized_start=4266
|
|
123
|
+
_globals['_UPDATEHOSTINGCONFIGRESPONSE']._serialized_end=4334
|
|
124
|
+
_globals['_UPDATESPENDLIMITREQUEST']._serialized_start=4337
|
|
125
|
+
_globals['_UPDATESPENDLIMITREQUEST']._serialized_end=4530
|
|
126
|
+
_globals['_UPDATESPENDLIMITRESPONSE']._serialized_start=4532
|
|
127
|
+
_globals['_UPDATESPENDLIMITRESPONSE']._serialized_end=4597
|
|
128
|
+
_globals['_GETSPENDREQUEST']._serialized_start=4599
|
|
129
|
+
_globals['_GETSPENDREQUEST']._serialized_end=4671
|
|
130
|
+
_globals['_GETSPENDRESPONSE']._serialized_start=4674
|
|
131
|
+
_globals['_GETSPENDRESPONSE']._serialized_end=5041
|
|
132
|
+
_globals['_GETPRICINGREQUEST']._serialized_start=5043
|
|
133
|
+
_globals['_GETPRICINGREQUEST']._serialized_end=5130
|
|
134
|
+
_globals['_PRICINGENTRY']._serialized_start=5133
|
|
135
|
+
_globals['_PRICINGENTRY']._serialized_end=5536
|
|
136
|
+
_globals['_GETPRICINGRESPONSE']._serialized_start=5538
|
|
137
|
+
_globals['_GETPRICINGRESPONSE']._serialized_end=5665
|
|
138
|
+
_globals['_APPSERVICE']._serialized_start=5783
|
|
139
|
+
_globals['_APPSERVICE']._serialized_end=6762
|
|
137
140
|
# @@protoc_insertion_point(module_scope)
|
transcodely/v1/app_pb2.pyi
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
from buf.validate import validate_pb2 as _validate_pb2
|
|
2
2
|
from google.protobuf import timestamp_pb2 as _timestamp_pb2
|
|
3
3
|
from transcodely.v1 import common_pb2 as _common_pb2
|
|
4
|
+
from transcodely.v1 import subtitles_pb2 as _subtitles_pb2
|
|
4
5
|
from google.protobuf.internal import containers as _containers
|
|
5
6
|
from google.protobuf.internal import enum_type_wrapper as _enum_type_wrapper
|
|
6
7
|
from google.protobuf import descriptor as _descriptor
|
|
@@ -21,7 +22,7 @@ APP_STATUS_ARCHIVED: AppStatus
|
|
|
21
22
|
APP_STATUS_SUSPENDED: AppStatus
|
|
22
23
|
|
|
23
24
|
class App(_message.Message):
|
|
24
|
-
__slots__ = ("id", "org_id", "name", "description", "status", "created_at", "updated_at", "archived_at", "hosting_enabled", "hosting_status", "cdn_hostname", "hosting_config", "object", "monthly_spend_limit_eur", "player_config")
|
|
25
|
+
__slots__ = ("id", "org_id", "name", "description", "status", "created_at", "updated_at", "archived_at", "hosting_enabled", "hosting_status", "cdn_hostname", "hosting_config", "object", "monthly_spend_limit_eur", "player_config", "caption_glossary", "cue_style")
|
|
25
26
|
ID_FIELD_NUMBER: _ClassVar[int]
|
|
26
27
|
ORG_ID_FIELD_NUMBER: _ClassVar[int]
|
|
27
28
|
NAME_FIELD_NUMBER: _ClassVar[int]
|
|
@@ -37,6 +38,8 @@ class App(_message.Message):
|
|
|
37
38
|
OBJECT_FIELD_NUMBER: _ClassVar[int]
|
|
38
39
|
MONTHLY_SPEND_LIMIT_EUR_FIELD_NUMBER: _ClassVar[int]
|
|
39
40
|
PLAYER_CONFIG_FIELD_NUMBER: _ClassVar[int]
|
|
41
|
+
CAPTION_GLOSSARY_FIELD_NUMBER: _ClassVar[int]
|
|
42
|
+
CUE_STYLE_FIELD_NUMBER: _ClassVar[int]
|
|
40
43
|
id: str
|
|
41
44
|
org_id: str
|
|
42
45
|
name: str
|
|
@@ -52,7 +55,9 @@ class App(_message.Message):
|
|
|
52
55
|
object: str
|
|
53
56
|
monthly_spend_limit_eur: float
|
|
54
57
|
player_config: PlayerConfig
|
|
55
|
-
|
|
58
|
+
caption_glossary: str
|
|
59
|
+
cue_style: _subtitles_pb2.CueStyle
|
|
60
|
+
def __init__(self, id: _Optional[str] = ..., org_id: _Optional[str] = ..., name: _Optional[str] = ..., description: _Optional[str] = ..., status: _Optional[_Union[AppStatus, str]] = ..., created_at: _Optional[_Union[_timestamp_pb2.Timestamp, _Mapping]] = ..., updated_at: _Optional[_Union[_timestamp_pb2.Timestamp, _Mapping]] = ..., archived_at: _Optional[_Union[_timestamp_pb2.Timestamp, _Mapping]] = ..., hosting_enabled: bool = ..., hosting_status: _Optional[str] = ..., cdn_hostname: _Optional[str] = ..., hosting_config: _Optional[_Union[HostingConfig, _Mapping]] = ..., object: _Optional[str] = ..., monthly_spend_limit_eur: _Optional[float] = ..., player_config: _Optional[_Union[PlayerConfig, _Mapping]] = ..., caption_glossary: _Optional[str] = ..., cue_style: _Optional[_Union[_subtitles_pb2.CueStyle, _Mapping]] = ...) -> None: ...
|
|
56
61
|
|
|
57
62
|
class PlayerConfig(_message.Message):
|
|
58
63
|
__slots__ = ("captions",)
|
|
@@ -117,14 +122,18 @@ class GetAppResponse(_message.Message):
|
|
|
117
122
|
def __init__(self, app: _Optional[_Union[App, _Mapping]] = ...) -> None: ...
|
|
118
123
|
|
|
119
124
|
class UpdateAppRequest(_message.Message):
|
|
120
|
-
__slots__ = ("id", "name", "description")
|
|
125
|
+
__slots__ = ("id", "name", "description", "caption_glossary", "cue_style")
|
|
121
126
|
ID_FIELD_NUMBER: _ClassVar[int]
|
|
122
127
|
NAME_FIELD_NUMBER: _ClassVar[int]
|
|
123
128
|
DESCRIPTION_FIELD_NUMBER: _ClassVar[int]
|
|
129
|
+
CAPTION_GLOSSARY_FIELD_NUMBER: _ClassVar[int]
|
|
130
|
+
CUE_STYLE_FIELD_NUMBER: _ClassVar[int]
|
|
124
131
|
id: str
|
|
125
132
|
name: str
|
|
126
133
|
description: str
|
|
127
|
-
|
|
134
|
+
caption_glossary: str
|
|
135
|
+
cue_style: _subtitles_pb2.CueStyle
|
|
136
|
+
def __init__(self, id: _Optional[str] = ..., name: _Optional[str] = ..., description: _Optional[str] = ..., caption_glossary: _Optional[str] = ..., cue_style: _Optional[_Union[_subtitles_pb2.CueStyle, _Mapping]] = ...) -> None: ...
|
|
128
137
|
|
|
129
138
|
class UpdateAppResponse(_message.Message):
|
|
130
139
|
__slots__ = ("app",)
|
|
@@ -175,18 +184,20 @@ class EnableHostingResponse(_message.Message):
|
|
|
175
184
|
def __init__(self, app: _Optional[_Union[App, _Mapping]] = ...) -> None: ...
|
|
176
185
|
|
|
177
186
|
class HostingConfig(_message.Message):
|
|
178
|
-
__slots__ = ("default_visibility", "max_upload_size_bytes", "cors_allowed_origins", "auto_profile_defaults", "delete_source_after_days")
|
|
187
|
+
__slots__ = ("default_visibility", "max_upload_size_bytes", "cors_allowed_origins", "auto_profile_defaults", "delete_source_after_days", "guide_pages_enabled")
|
|
179
188
|
DEFAULT_VISIBILITY_FIELD_NUMBER: _ClassVar[int]
|
|
180
189
|
MAX_UPLOAD_SIZE_BYTES_FIELD_NUMBER: _ClassVar[int]
|
|
181
190
|
CORS_ALLOWED_ORIGINS_FIELD_NUMBER: _ClassVar[int]
|
|
182
191
|
AUTO_PROFILE_DEFAULTS_FIELD_NUMBER: _ClassVar[int]
|
|
183
192
|
DELETE_SOURCE_AFTER_DAYS_FIELD_NUMBER: _ClassVar[int]
|
|
193
|
+
GUIDE_PAGES_ENABLED_FIELD_NUMBER: _ClassVar[int]
|
|
184
194
|
default_visibility: str
|
|
185
195
|
max_upload_size_bytes: int
|
|
186
196
|
cors_allowed_origins: _containers.RepeatedScalarFieldContainer[str]
|
|
187
197
|
auto_profile_defaults: AutoProfileDefaults
|
|
188
198
|
delete_source_after_days: int
|
|
189
|
-
|
|
199
|
+
guide_pages_enabled: bool
|
|
200
|
+
def __init__(self, default_visibility: _Optional[str] = ..., max_upload_size_bytes: _Optional[int] = ..., cors_allowed_origins: _Optional[_Iterable[str]] = ..., auto_profile_defaults: _Optional[_Union[AutoProfileDefaults, _Mapping]] = ..., delete_source_after_days: _Optional[int] = ..., guide_pages_enabled: bool = ...) -> None: ...
|
|
190
201
|
|
|
191
202
|
class AutoProfileDefaults(_message.Message):
|
|
192
203
|
__slots__ = ("format", "codec", "max_resolution", "quality_tier", "encoding_mode")
|