Skip to content
This repository was archived by the owner on Sep 21, 2023. It is now read-only.

Commit 721d28e

Browse files
1 parent 98d8b86 commit 721d28e

File tree

23 files changed

+8354
-42
lines changed

23 files changed

+8354
-42
lines changed

docs/index.rst

+8
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,14 @@
22

33
.. include:: multiprocessing.rst
44

5+
API Reference
6+
-------------
7+
.. toctree::
8+
:maxdepth: 2
9+
10+
transcoder_v1/services
11+
transcoder_v1/types
12+
513
API Reference
614
-------------
715
.. toctree::

docs/transcoder_v1/services.rst

+6
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
Services for Google Cloud Video Transcoder v1 API
2+
=================================================
3+
.. toctree::
4+
:maxdepth: 2
5+
6+
transcoder_service
+10
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
TranscoderService
2+
-----------------------------------
3+
4+
.. automodule:: google.cloud.video.transcoder_v1.services.transcoder_service
5+
:members:
6+
:inherited-members:
7+
8+
.. automodule:: google.cloud.video.transcoder_v1.services.transcoder_service.pagers
9+
:members:
10+
:inherited-members:

docs/transcoder_v1/types.rst

+7
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
Types for Google Cloud Video Transcoder v1 API
2+
==============================================
3+
4+
.. automodule:: google.cloud.video.transcoder_v1.types
5+
:members:
6+
:undoc-members:
7+
:show-inheritance:

google/cloud/video/transcoder/__init__.py

+31-41
Original file line numberDiff line numberDiff line change
@@ -14,50 +14,42 @@
1414
# limitations under the License.
1515
#
1616

17-
from google.cloud.video.transcoder_v1beta1.services.transcoder_service.client import (
17+
from google.cloud.video.transcoder_v1.services.transcoder_service.client import (
1818
TranscoderServiceClient,
1919
)
20-
from google.cloud.video.transcoder_v1beta1.services.transcoder_service.async_client import (
20+
from google.cloud.video.transcoder_v1.services.transcoder_service.async_client import (
2121
TranscoderServiceAsyncClient,
2222
)
2323

24-
from google.cloud.video.transcoder_v1beta1.types.resources import AdBreak
25-
from google.cloud.video.transcoder_v1beta1.types.resources import AudioStream
26-
from google.cloud.video.transcoder_v1beta1.types.resources import EditAtom
27-
from google.cloud.video.transcoder_v1beta1.types.resources import ElementaryStream
28-
from google.cloud.video.transcoder_v1beta1.types.resources import Encryption
29-
from google.cloud.video.transcoder_v1beta1.types.resources import FailureDetail
30-
from google.cloud.video.transcoder_v1beta1.types.resources import Input
31-
from google.cloud.video.transcoder_v1beta1.types.resources import Job
32-
from google.cloud.video.transcoder_v1beta1.types.resources import JobConfig
33-
from google.cloud.video.transcoder_v1beta1.types.resources import JobTemplate
34-
from google.cloud.video.transcoder_v1beta1.types.resources import Manifest
35-
from google.cloud.video.transcoder_v1beta1.types.resources import MuxStream
36-
from google.cloud.video.transcoder_v1beta1.types.resources import Output
37-
from google.cloud.video.transcoder_v1beta1.types.resources import Overlay
38-
from google.cloud.video.transcoder_v1beta1.types.resources import PreprocessingConfig
39-
from google.cloud.video.transcoder_v1beta1.types.resources import Progress
40-
from google.cloud.video.transcoder_v1beta1.types.resources import PubsubDestination
41-
from google.cloud.video.transcoder_v1beta1.types.resources import SegmentSettings
42-
from google.cloud.video.transcoder_v1beta1.types.resources import SpriteSheet
43-
from google.cloud.video.transcoder_v1beta1.types.resources import TextStream
44-
from google.cloud.video.transcoder_v1beta1.types.resources import VideoStream
45-
from google.cloud.video.transcoder_v1beta1.types.services import CreateJobRequest
46-
from google.cloud.video.transcoder_v1beta1.types.services import (
47-
CreateJobTemplateRequest,
48-
)
49-
from google.cloud.video.transcoder_v1beta1.types.services import DeleteJobRequest
50-
from google.cloud.video.transcoder_v1beta1.types.services import (
51-
DeleteJobTemplateRequest,
52-
)
53-
from google.cloud.video.transcoder_v1beta1.types.services import GetJobRequest
54-
from google.cloud.video.transcoder_v1beta1.types.services import GetJobTemplateRequest
55-
from google.cloud.video.transcoder_v1beta1.types.services import ListJobsRequest
56-
from google.cloud.video.transcoder_v1beta1.types.services import ListJobsResponse
57-
from google.cloud.video.transcoder_v1beta1.types.services import ListJobTemplatesRequest
58-
from google.cloud.video.transcoder_v1beta1.types.services import (
59-
ListJobTemplatesResponse,
60-
)
24+
from google.cloud.video.transcoder_v1.types.resources import AdBreak
25+
from google.cloud.video.transcoder_v1.types.resources import AudioStream
26+
from google.cloud.video.transcoder_v1.types.resources import EditAtom
27+
from google.cloud.video.transcoder_v1.types.resources import ElementaryStream
28+
from google.cloud.video.transcoder_v1.types.resources import Encryption
29+
from google.cloud.video.transcoder_v1.types.resources import Input
30+
from google.cloud.video.transcoder_v1.types.resources import Job
31+
from google.cloud.video.transcoder_v1.types.resources import JobConfig
32+
from google.cloud.video.transcoder_v1.types.resources import JobTemplate
33+
from google.cloud.video.transcoder_v1.types.resources import Manifest
34+
from google.cloud.video.transcoder_v1.types.resources import MuxStream
35+
from google.cloud.video.transcoder_v1.types.resources import Output
36+
from google.cloud.video.transcoder_v1.types.resources import Overlay
37+
from google.cloud.video.transcoder_v1.types.resources import PreprocessingConfig
38+
from google.cloud.video.transcoder_v1.types.resources import PubsubDestination
39+
from google.cloud.video.transcoder_v1.types.resources import SegmentSettings
40+
from google.cloud.video.transcoder_v1.types.resources import SpriteSheet
41+
from google.cloud.video.transcoder_v1.types.resources import TextStream
42+
from google.cloud.video.transcoder_v1.types.resources import VideoStream
43+
from google.cloud.video.transcoder_v1.types.services import CreateJobRequest
44+
from google.cloud.video.transcoder_v1.types.services import CreateJobTemplateRequest
45+
from google.cloud.video.transcoder_v1.types.services import DeleteJobRequest
46+
from google.cloud.video.transcoder_v1.types.services import DeleteJobTemplateRequest
47+
from google.cloud.video.transcoder_v1.types.services import GetJobRequest
48+
from google.cloud.video.transcoder_v1.types.services import GetJobTemplateRequest
49+
from google.cloud.video.transcoder_v1.types.services import ListJobsRequest
50+
from google.cloud.video.transcoder_v1.types.services import ListJobsResponse
51+
from google.cloud.video.transcoder_v1.types.services import ListJobTemplatesRequest
52+
from google.cloud.video.transcoder_v1.types.services import ListJobTemplatesResponse
6153

6254
__all__ = (
6355
"TranscoderServiceClient",
@@ -67,7 +59,6 @@
6759
"EditAtom",
6860
"ElementaryStream",
6961
"Encryption",
70-
"FailureDetail",
7162
"Input",
7263
"Job",
7364
"JobConfig",
@@ -77,7 +68,6 @@
7768
"Output",
7869
"Overlay",
7970
"PreprocessingConfig",
80-
"Progress",
8171
"PubsubDestination",
8272
"SegmentSettings",
8373
"SpriteSheet",
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,82 @@
1+
# -*- coding: utf-8 -*-
2+
# Copyright 2020 Google LLC
3+
#
4+
# Licensed under the Apache License, Version 2.0 (the "License");
5+
# you may not use this file except in compliance with the License.
6+
# You may obtain a copy of the License at
7+
#
8+
# http://www.apache.org/licenses/LICENSE-2.0
9+
#
10+
# Unless required by applicable law or agreed to in writing, software
11+
# distributed under the License is distributed on an "AS IS" BASIS,
12+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
# See the License for the specific language governing permissions and
14+
# limitations under the License.
15+
#
16+
17+
from .services.transcoder_service import TranscoderServiceClient
18+
from .services.transcoder_service import TranscoderServiceAsyncClient
19+
20+
from .types.resources import AdBreak
21+
from .types.resources import AudioStream
22+
from .types.resources import EditAtom
23+
from .types.resources import ElementaryStream
24+
from .types.resources import Encryption
25+
from .types.resources import Input
26+
from .types.resources import Job
27+
from .types.resources import JobConfig
28+
from .types.resources import JobTemplate
29+
from .types.resources import Manifest
30+
from .types.resources import MuxStream
31+
from .types.resources import Output
32+
from .types.resources import Overlay
33+
from .types.resources import PreprocessingConfig
34+
from .types.resources import PubsubDestination
35+
from .types.resources import SegmentSettings
36+
from .types.resources import SpriteSheet
37+
from .types.resources import TextStream
38+
from .types.resources import VideoStream
39+
from .types.services import CreateJobRequest
40+
from .types.services import CreateJobTemplateRequest
41+
from .types.services import DeleteJobRequest
42+
from .types.services import DeleteJobTemplateRequest
43+
from .types.services import GetJobRequest
44+
from .types.services import GetJobTemplateRequest
45+
from .types.services import ListJobsRequest
46+
from .types.services import ListJobsResponse
47+
from .types.services import ListJobTemplatesRequest
48+
from .types.services import ListJobTemplatesResponse
49+
50+
__all__ = (
51+
"TranscoderServiceAsyncClient",
52+
"AdBreak",
53+
"AudioStream",
54+
"CreateJobRequest",
55+
"CreateJobTemplateRequest",
56+
"DeleteJobRequest",
57+
"DeleteJobTemplateRequest",
58+
"EditAtom",
59+
"ElementaryStream",
60+
"Encryption",
61+
"GetJobRequest",
62+
"GetJobTemplateRequest",
63+
"Input",
64+
"Job",
65+
"JobConfig",
66+
"JobTemplate",
67+
"ListJobTemplatesRequest",
68+
"ListJobTemplatesResponse",
69+
"ListJobsRequest",
70+
"ListJobsResponse",
71+
"Manifest",
72+
"MuxStream",
73+
"Output",
74+
"Overlay",
75+
"PreprocessingConfig",
76+
"PubsubDestination",
77+
"SegmentSettings",
78+
"SpriteSheet",
79+
"TextStream",
80+
"TranscoderServiceClient",
81+
"VideoStream",
82+
)
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,103 @@
1+
{
2+
"comment": "This file maps proto services/RPCs to the corresponding library clients/methods",
3+
"language": "python",
4+
"libraryPackage": "google.cloud.video.transcoder_v1",
5+
"protoPackage": "google.cloud.video.transcoder.v1",
6+
"schema": "1.0",
7+
"services": {
8+
"TranscoderService": {
9+
"clients": {
10+
"grpc": {
11+
"libraryClient": "TranscoderServiceClient",
12+
"rpcs": {
13+
"CreateJob": {
14+
"methods": [
15+
"create_job"
16+
]
17+
},
18+
"CreateJobTemplate": {
19+
"methods": [
20+
"create_job_template"
21+
]
22+
},
23+
"DeleteJob": {
24+
"methods": [
25+
"delete_job"
26+
]
27+
},
28+
"DeleteJobTemplate": {
29+
"methods": [
30+
"delete_job_template"
31+
]
32+
},
33+
"GetJob": {
34+
"methods": [
35+
"get_job"
36+
]
37+
},
38+
"GetJobTemplate": {
39+
"methods": [
40+
"get_job_template"
41+
]
42+
},
43+
"ListJobTemplates": {
44+
"methods": [
45+
"list_job_templates"
46+
]
47+
},
48+
"ListJobs": {
49+
"methods": [
50+
"list_jobs"
51+
]
52+
}
53+
}
54+
},
55+
"grpc-async": {
56+
"libraryClient": "TranscoderServiceAsyncClient",
57+
"rpcs": {
58+
"CreateJob": {
59+
"methods": [
60+
"create_job"
61+
]
62+
},
63+
"CreateJobTemplate": {
64+
"methods": [
65+
"create_job_template"
66+
]
67+
},
68+
"DeleteJob": {
69+
"methods": [
70+
"delete_job"
71+
]
72+
},
73+
"DeleteJobTemplate": {
74+
"methods": [
75+
"delete_job_template"
76+
]
77+
},
78+
"GetJob": {
79+
"methods": [
80+
"get_job"
81+
]
82+
},
83+
"GetJobTemplate": {
84+
"methods": [
85+
"get_job_template"
86+
]
87+
},
88+
"ListJobTemplates": {
89+
"methods": [
90+
"list_job_templates"
91+
]
92+
},
93+
"ListJobs": {
94+
"methods": [
95+
"list_jobs"
96+
]
97+
}
98+
}
99+
}
100+
}
101+
}
102+
}
103+
}
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,2 @@
1+
# Marker file for PEP 561.
2+
# The google-cloud-video-transcoder package uses inline types.
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,15 @@
1+
# -*- coding: utf-8 -*-
2+
# Copyright 2020 Google LLC
3+
#
4+
# Licensed under the Apache License, Version 2.0 (the "License");
5+
# you may not use this file except in compliance with the License.
6+
# You may obtain a copy of the License at
7+
#
8+
# http://www.apache.org/licenses/LICENSE-2.0
9+
#
10+
# Unless required by applicable law or agreed to in writing, software
11+
# distributed under the License is distributed on an "AS IS" BASIS,
12+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
# See the License for the specific language governing permissions and
14+
# limitations under the License.
15+
#
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,22 @@
1+
# -*- coding: utf-8 -*-
2+
# Copyright 2020 Google LLC
3+
#
4+
# Licensed under the Apache License, Version 2.0 (the "License");
5+
# you may not use this file except in compliance with the License.
6+
# You may obtain a copy of the License at
7+
#
8+
# http://www.apache.org/licenses/LICENSE-2.0
9+
#
10+
# Unless required by applicable law or agreed to in writing, software
11+
# distributed under the License is distributed on an "AS IS" BASIS,
12+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
13+
# See the License for the specific language governing permissions and
14+
# limitations under the License.
15+
#
16+
from .client import TranscoderServiceClient
17+
from .async_client import TranscoderServiceAsyncClient
18+
19+
__all__ = (
20+
"TranscoderServiceClient",
21+
"TranscoderServiceAsyncClient",
22+
)

0 commit comments

Comments
 (0)