1+ GRPC /google.cloud.video.stitcher.v1.VideoStitcherService/GetCdnKey
2+
3+ {
4+ "name": "projects/${projectId}/locations/us-central1/cdnKeys/videostitchercdnkey-${uniqueId}"
5+ }
6+
7+ error: rpc error: code = NotFound desc = Resource 'projects/${projectId}/locations/us-central1/cdnKeys/videostitchercdnkey-${uniqueId}' was not found
8+
9+ {}
10+
11+ ---
12+
13+ GRPC /google.cloud.video.stitcher.v1.VideoStitcherService/CreateCdnKey
14+
15+ {
16+ "cdnKey": {
17+ "googleCdnKey": {
18+ "keyName": "test-key-name",
19+ "privateKey": "c2VjcmV0"
20+ },
21+ "hostname": "test-hostname-${uniqueId}.com"
22+ },
23+ "cdnKeyId": "videostitchercdnkey-${uniqueId}",
24+ "parent": "projects/${projectId}/locations/us-central1"
25+ }
26+
27+ OK
28+
29+ {
30+ "metadata": {
31+ "@type": "type.googleapis.com/google.cloud.video.stitcher.v1.OperationMetadata",
32+ "createTime": "2024-04-01T12:34:56.123456Z",
33+ "target": "projects/${projectId}/locations/us-central1/cdnKeys/videostitchercdnkey-${uniqueId}",
34+ "verb": "create"
35+ },
36+ "name": "projects/${projectId}/locations/us-central1/operations/${operationID}"
37+ }
38+
39+ ---
40+
41+ GRPC /google.longrunning.Operations/GetOperation
42+
43+ {
44+ "name": "projects/${projectId}/locations/us-central1/operations/${operationID}"
45+ }
46+
47+ OK
48+
49+ {
50+ "done": true,
51+ "metadata": {
52+ "@type": "type.googleapis.com/google.cloud.video.stitcher.v1.OperationMetadata",
53+ "createTime": "2024-04-01T12:34:56.123456Z",
54+ "endTime": "2024-04-01T12:34:56.123456Z",
55+ "target": "projects/${projectId}/locations/us-central1/cdnKeys/videostitchercdnkey-${uniqueId}",
56+ "verb": "create"
57+ },
58+ "name": "projects/${projectId}/locations/us-central1/operations/${operationID}",
59+ "response": {
60+ "@type": "type.googleapis.com/google.cloud.video.stitcher.v1.CdnKey",
61+ "googleCdnKey": {
62+ "keyName": "test-key-name"
63+ },
64+ "hostname": "test-hostname-${uniqueId}.com",
65+ "name": "projects/${projectId}/locations/us-central1/cdnKeys/videostitchercdnkey-${uniqueId}"
66+ }
67+ }
68+
69+ ---
70+
71+ GRPC /google.cloud.video.stitcher.v1.VideoStitcherService/GetCdnKey
72+
73+ {
74+ "name": "projects/${projectId}/locations/us-central1/cdnKeys/videostitchercdnkey-${uniqueId}"
75+ }
76+
77+ OK
78+
79+ {
80+ "googleCdnKey": {
81+ "keyName": "test-key-name"
82+ },
83+ "hostname": "test-hostname-${uniqueId}.com",
84+ "name": "projects/${projectId}/locations/us-central1/cdnKeys/videostitchercdnkey-${uniqueId}"
85+ }
86+
87+ ---
88+
89+ GRPC /google.cloud.video.stitcher.v1.VideoStitcherService/GetCdnKey
90+
91+ {
92+ "name": "projects/${projectId}/locations/us-central1/cdnKeys/videostitchercdnkey-${uniqueId}"
93+ }
94+
95+ OK
96+
97+ {
98+ "googleCdnKey": {
99+ "keyName": "test-key-name"
100+ },
101+ "hostname": "test-hostname-${uniqueId}.com",
102+ "name": "projects/${projectId}/locations/us-central1/cdnKeys/videostitchercdnkey-${uniqueId}"
103+ }
104+
105+ ---
106+
107+ GRPC /google.cloud.video.stitcher.v1.VideoStitcherService/UpdateCdnKey
108+
109+ {
110+ "cdnKey": {
111+ "googleCdnKey": {
112+ "keyName": "updated-key-name",
113+ "privateKey": "dXBkYXRlZHNlY3JldA=="
114+ },
115+ "hostname": "updated-hostname-${uniqueId}.com",
116+ "name": "projects/${projectId}/locations/us-central1/cdnKeys/videostitchercdnkey-${uniqueId}"
117+ },
118+ "updateMask": "googleCdnKey,hostname"
119+ }
120+
121+ OK
122+
123+ {
124+ "metadata": {
125+ "@type": "type.googleapis.com/google.cloud.video.stitcher.v1.OperationMetadata",
126+ "createTime": "2024-04-01T12:34:56.123456Z",
127+ "target": "projects/${projectId}/locations/us-central1/cdnKeys/videostitchercdnkey-${uniqueId}",
128+ "verb": "update"
129+ },
130+ "name": "projects/${projectId}/locations/us-central1/operations/${operationID}"
131+ }
132+
133+ ---
134+
135+ GRPC /google.longrunning.Operations/GetOperation
136+
137+ {
138+ "name": "projects/${projectId}/locations/us-central1/operations/${operationID}"
139+ }
140+
141+ OK
142+
143+ {
144+ "done": true,
145+ "metadata": {
146+ "@type": "type.googleapis.com/google.cloud.video.stitcher.v1.OperationMetadata",
147+ "createTime": "2024-04-01T12:34:56.123456Z",
148+ "endTime": "2024-04-01T12:34:56.123456Z",
149+ "target": "projects/${projectId}/locations/us-central1/cdnKeys/videostitchercdnkey-${uniqueId}",
150+ "verb": "update"
151+ },
152+ "name": "projects/${projectId}/locations/us-central1/operations/${operationID}",
153+ "response": {
154+ "@type": "type.googleapis.com/google.cloud.video.stitcher.v1.CdnKey",
155+ "googleCdnKey": {
156+ "keyName": "updated-key-name"
157+ },
158+ "hostname": "updated-hostname-${uniqueId}.com",
159+ "name": "projects/${projectId}/locations/us-central1/cdnKeys/videostitchercdnkey-${uniqueId}"
160+ }
161+ }
162+
163+ ---
164+
165+ GRPC /google.cloud.video.stitcher.v1.VideoStitcherService/GetCdnKey
166+
167+ {
168+ "name": "projects/${projectId}/locations/us-central1/cdnKeys/videostitchercdnkey-${uniqueId}"
169+ }
170+
171+ OK
172+
173+ {
174+ "googleCdnKey": {
175+ "keyName": "updated-key-name"
176+ },
177+ "hostname": "updated-hostname-${uniqueId}.com",
178+ "name": "projects/${projectId}/locations/us-central1/cdnKeys/videostitchercdnkey-${uniqueId}"
179+ }
180+
181+ ---
182+
183+ GRPC /google.cloud.video.stitcher.v1.VideoStitcherService/GetCdnKey
184+
185+ {
186+ "name": "projects/${projectId}/locations/us-central1/cdnKeys/videostitchercdnkey-${uniqueId}"
187+ }
188+
189+ OK
190+
191+ {
192+ "googleCdnKey": {
193+ "keyName": "updated-key-name"
194+ },
195+ "hostname": "updated-hostname-${uniqueId}.com",
196+ "name": "projects/${projectId}/locations/us-central1/cdnKeys/videostitchercdnkey-${uniqueId}"
197+ }
198+
199+ ---
200+
201+ GRPC /google.cloud.video.stitcher.v1.VideoStitcherService/GetCdnKey
202+
203+ {
204+ "name": "projects/${projectId}/locations/us-central1/cdnKeys/videostitchercdnkey-${uniqueId}"
205+ }
206+
207+ OK
208+
209+ {
210+ "googleCdnKey": {
211+ "keyName": "updated-key-name"
212+ },
213+ "hostname": "updated-hostname-${uniqueId}.com",
214+ "name": "projects/${projectId}/locations/us-central1/cdnKeys/videostitchercdnkey-${uniqueId}"
215+ }
216+
217+ ---
218+
219+ GRPC /google.cloud.video.stitcher.v1.VideoStitcherService/DeleteCdnKey
220+
221+ {
222+ "name": "projects/${projectId}/locations/us-central1/cdnKeys/videostitchercdnkey-${uniqueId}"
223+ }
224+
225+ OK
226+
227+ {
228+ "metadata": {
229+ "@type": "type.googleapis.com/google.cloud.video.stitcher.v1.OperationMetadata",
230+ "createTime": "2024-04-01T12:34:56.123456Z",
231+ "target": "projects/${projectId}/locations/us-central1/cdnKeys/videostitchercdnkey-${uniqueId}",
232+ "verb": "delete"
233+ },
234+ "name": "projects/${projectId}/locations/us-central1/operations/${operationID}"
235+ }
236+
237+ ---
238+
239+ GRPC /google.longrunning.Operations/GetOperation
240+
241+ {
242+ "name": "projects/${projectId}/locations/us-central1/operations/${operationID}"
243+ }
244+
245+ OK
246+
247+ {
248+ "done": true,
249+ "metadata": {
250+ "@type": "type.googleapis.com/google.cloud.video.stitcher.v1.OperationMetadata",
251+ "createTime": "2024-04-01T12:34:56.123456Z",
252+ "endTime": "2024-04-01T12:34:56.123456Z",
253+ "target": "projects/${projectId}/locations/us-central1/cdnKeys/videostitchercdnkey-${uniqueId}",
254+ "verb": "delete"
255+ },
256+ "name": "projects/${projectId}/locations/us-central1/operations/${operationID}",
257+ "response": {
258+ "@type": "type.googleapis.com/google.protobuf.Empty"
259+ }
260+ }
0 commit comments