This repository was archived by the owner on Sep 21, 2023. It is now read-only.
File tree Expand file tree Collapse file tree 7 files changed +4598
-107
lines changed
google/cloud/video/transcoder_v1
services/transcoder_service
tests/unit/gapic/transcoder_v1 Expand file tree Collapse file tree 7 files changed +4598
-107
lines changed Original file line number Diff line number Diff line change 96
96
]
97
97
}
98
98
}
99
+ },
100
+ "rest" : {
101
+ "libraryClient" : " TranscoderServiceClient" ,
102
+ "rpcs" : {
103
+ "CreateJob" : {
104
+ "methods" : [
105
+ " create_job"
106
+ ]
107
+ },
108
+ "CreateJobTemplate" : {
109
+ "methods" : [
110
+ " create_job_template"
111
+ ]
112
+ },
113
+ "DeleteJob" : {
114
+ "methods" : [
115
+ " delete_job"
116
+ ]
117
+ },
118
+ "DeleteJobTemplate" : {
119
+ "methods" : [
120
+ " delete_job_template"
121
+ ]
122
+ },
123
+ "GetJob" : {
124
+ "methods" : [
125
+ " get_job"
126
+ ]
127
+ },
128
+ "GetJobTemplate" : {
129
+ "methods" : [
130
+ " get_job_template"
131
+ ]
132
+ },
133
+ "ListJobTemplates" : {
134
+ "methods" : [
135
+ " list_job_templates"
136
+ ]
137
+ },
138
+ "ListJobs" : {
139
+ "methods" : [
140
+ " list_jobs"
141
+ ]
142
+ }
143
+ }
99
144
}
100
145
}
101
146
}
Original file line number Diff line number Diff line change 55
55
from .transports .base import DEFAULT_CLIENT_INFO , TranscoderServiceTransport
56
56
from .transports .grpc import TranscoderServiceGrpcTransport
57
57
from .transports .grpc_asyncio import TranscoderServiceGrpcAsyncIOTransport
58
+ from .transports .rest import TranscoderServiceRestTransport
58
59
59
60
60
61
class TranscoderServiceClientMeta (type ):
@@ -70,6 +71,7 @@ class TranscoderServiceClientMeta(type):
70
71
) # type: Dict[str, Type[TranscoderServiceTransport]]
71
72
_transport_registry ["grpc" ] = TranscoderServiceGrpcTransport
72
73
_transport_registry ["grpc_asyncio" ] = TranscoderServiceGrpcAsyncIOTransport
74
+ _transport_registry ["rest" ] = TranscoderServiceRestTransport
73
75
74
76
def get_transport_class (
75
77
cls ,
Original file line number Diff line number Diff line change 19
19
from .base import TranscoderServiceTransport
20
20
from .grpc import TranscoderServiceGrpcTransport
21
21
from .grpc_asyncio import TranscoderServiceGrpcAsyncIOTransport
22
+ from .rest import TranscoderServiceRestInterceptor , TranscoderServiceRestTransport
22
23
23
24
# Compile a registry of transports.
24
25
_transport_registry = OrderedDict () # type: Dict[str, Type[TranscoderServiceTransport]]
25
26
_transport_registry ["grpc" ] = TranscoderServiceGrpcTransport
26
27
_transport_registry ["grpc_asyncio" ] = TranscoderServiceGrpcAsyncIOTransport
28
+ _transport_registry ["rest" ] = TranscoderServiceRestTransport
27
29
28
30
__all__ = (
29
31
"TranscoderServiceTransport" ,
30
32
"TranscoderServiceGrpcTransport" ,
31
33
"TranscoderServiceGrpcAsyncIOTransport" ,
34
+ "TranscoderServiceRestTransport" ,
35
+ "TranscoderServiceRestInterceptor" ,
32
36
)
You can’t perform that action at this time.
0 commit comments