Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(331)

Side by Side Diff: discovery/googleapis_beta/videointelligence__v1beta1.json

Issue 3003493002: Api-Roll 53: 2017-08-21 (Closed)
Patch Set: Created 3 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
1 { 1 {
2 "auth": { 2 "auth": {
3 "oauth2": { 3 "oauth2": {
4 "scopes": { 4 "scopes": {
5 "https://www.googleapis.com/auth/cloud-platform": { 5 "https://www.googleapis.com/auth/cloud-platform": {
6 "description": "View and manage your data across Google Clou d Platform services" 6 "description": "View and manage your data across Google Clou d Platform services"
7 } 7 }
8 } 8 }
9 } 9 }
10 }, 10 },
11 "basePath": "", 11 "basePath": "",
12 "baseUrl": "https://videointelligence.googleapis.com/", 12 "baseUrl": "https://videointelligence.googleapis.com/",
13 "batchPath": "batch", 13 "batchPath": "batch",
14 "canonicalName": "Cloud Video Intelligence", 14 "canonicalName": "Cloud Video Intelligence",
15 "description": "Google Cloud Video Intelligence API.", 15 "description": "Google Cloud Video Intelligence API.",
16 "discoveryVersion": "v1", 16 "discoveryVersion": "v1",
17 "documentationLink": "https://cloud.google.com/video-intelligence/docs/", 17 "documentationLink": "https://cloud.google.com/video-intelligence/docs/",
18 "icons": { 18 "icons": {
19 "x16": "http://www.google.com/images/icons/product/search-16.gif", 19 "x16": "http://www.google.com/images/icons/product/search-16.gif",
20 "x32": "http://www.google.com/images/icons/product/search-32.gif" 20 "x32": "http://www.google.com/images/icons/product/search-32.gif"
21 }, 21 },
22 "id": "videointelligence:v1beta1", 22 "id": "videointelligence:v1beta1",
23 "kind": "discovery#restDescription", 23 "kind": "discovery#restDescription",
24 "name": "videointelligence", 24 "name": "videointelligence",
25 "ownerDomain": "google.com", 25 "ownerDomain": "google.com",
26 "ownerName": "Google", 26 "ownerName": "Google",
27 "parameters": { 27 "parameters": {
28 "key": {
29 "description": "API key. Your API key identifies your project and pr ovides you with API access, quota, and reports. Required unless you provide an O Auth 2.0 token.",
30 "location": "query",
31 "type": "string"
32 },
33 "access_token": {
34 "description": "OAuth access token.",
35 "location": "query",
36 "type": "string"
37 },
38 "quotaUser": {
39 "description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exc eed 40 characters.",
40 "location": "query",
41 "type": "string"
42 },
43 "pp": {
44 "default": "true",
45 "description": "Pretty-print response.",
46 "location": "query",
47 "type": "boolean"
48 },
49 "bearer_token": {
50 "description": "OAuth bearer token.",
51 "location": "query",
52 "type": "string"
53 },
54 "oauth_token": {
55 "description": "OAuth 2.0 token for the current user.",
56 "location": "query",
57 "type": "string"
58 },
28 "upload_protocol": { 59 "upload_protocol": {
29 "description": "Upload protocol for media (e.g. \"raw\", \"multipart \").", 60 "description": "Upload protocol for media (e.g. \"raw\", \"multipart \").",
30 "location": "query", 61 "location": "query",
31 "type": "string" 62 "type": "string"
32 }, 63 },
33 "prettyPrint": { 64 "prettyPrint": {
34 "default": "true", 65 "default": "true",
35 "description": "Returns response with indentations and line breaks." , 66 "description": "Returns response with indentations and line breaks." ,
36 "location": "query", 67 "location": "query",
37 "type": "boolean" 68 "type": "boolean"
38 }, 69 },
70 "fields": {
71 "description": "Selector specifying which fields to include in a par tial response.",
72 "location": "query",
73 "type": "string"
74 },
39 "uploadType": { 75 "uploadType": {
40 "description": "Legacy upload protocol for media (e.g. \"media\", \" multipart\").", 76 "description": "Legacy upload protocol for media (e.g. \"media\", \" multipart\").",
41 "location": "query", 77 "location": "query",
42 "type": "string" 78 "type": "string"
43 }, 79 },
44 "fields": {
45 "description": "Selector specifying which fields to include in a par tial response.",
46 "location": "query",
47 "type": "string"
48 },
49 "$.xgafv": { 80 "$.xgafv": {
50 "description": "V1 error format.", 81 "description": "V1 error format.",
51 "enum": [ 82 "enum": [
52 "1", 83 "1",
53 "2" 84 "2"
54 ], 85 ],
55 "enumDescriptions": [ 86 "enumDescriptions": [
56 "v1 error format", 87 "v1 error format",
57 "v2 error format" 88 "v2 error format"
58 ], 89 ],
(...skipping 13 matching lines...) Expand all
72 "media", 103 "media",
73 "proto" 104 "proto"
74 ], 105 ],
75 "enumDescriptions": [ 106 "enumDescriptions": [
76 "Responses with Content-Type of application/json", 107 "Responses with Content-Type of application/json",
77 "Media download with context-dependent Content-Type", 108 "Media download with context-dependent Content-Type",
78 "Responses with Content-Type of application/x-protobuf" 109 "Responses with Content-Type of application/x-protobuf"
79 ], 110 ],
80 "location": "query", 111 "location": "query",
81 "type": "string" 112 "type": "string"
82 },
83 "access_token": {
84 "description": "OAuth access token.",
85 "location": "query",
86 "type": "string"
87 },
88 "key": {
89 "description": "API key. Your API key identifies your project and pr ovides you with API access, quota, and reports. Required unless you provide an O Auth 2.0 token.",
90 "location": "query",
91 "type": "string"
92 },
93 "quotaUser": {
94 "description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exc eed 40 characters.",
95 "location": "query",
96 "type": "string"
97 },
98 "pp": {
99 "default": "true",
100 "description": "Pretty-print response.",
101 "location": "query",
102 "type": "boolean"
103 },
104 "bearer_token": {
105 "description": "OAuth bearer token.",
106 "location": "query",
107 "type": "string"
108 },
109 "oauth_token": {
110 "description": "OAuth 2.0 token for the current user.",
111 "location": "query",
112 "type": "string"
113 } 113 }
114 }, 114 },
115 "protocol": "rest", 115 "protocol": "rest",
116 "resources": { 116 "resources": {
117 "videos": { 117 "videos": {
118 "methods": { 118 "methods": {
119 "annotate": { 119 "annotate": {
120 "description": "Performs asynchronous video annotation. Prog ress and results can be\nretrieved through the `google.longrunning.Operations` i nterface.\n`Operation.metadata` contains `AnnotateVideoProgress` (progress).\n`O peration.response` contains `AnnotateVideoResponse` (results).", 120 "description": "Performs asynchronous video annotation. Prog ress and results can be\nretrieved through the `google.longrunning.Operations` i nterface.\n`Operation.metadata` contains `AnnotateVideoProgress` (progress).\n`O peration.response` contains `AnnotateVideoResponse` (results).",
121 "httpMethod": "POST", 121 "httpMethod": "POST",
122 "id": "videointelligence.videos.annotate", 122 "id": "videointelligence.videos.annotate",
123 "parameterOrder": [], 123 "parameterOrder": [],
124 "parameters": {}, 124 "parameters": {},
125 "path": "v1beta1/videos:annotate", 125 "path": "v1beta1/videos:annotate",
126 "request": { 126 "request": {
127 "$ref": "GoogleCloudVideointelligenceV1beta1_AnnotateVid eoRequest" 127 "$ref": "GoogleCloudVideointelligenceV1beta1_AnnotateVid eoRequest"
128 }, 128 },
129 "response": { 129 "response": {
130 "$ref": "GoogleLongrunning_Operation" 130 "$ref": "GoogleLongrunning_Operation"
131 }, 131 },
132 "scopes": [ 132 "scopes": [
133 "https://www.googleapis.com/auth/cloud-platform" 133 "https://www.googleapis.com/auth/cloud-platform"
134 ] 134 ]
135 } 135 }
136 } 136 }
137 } 137 }
138 }, 138 },
139 "revision": "20170718", 139 "revision": "20170807",
140 "rootUrl": "https://videointelligence.googleapis.com/", 140 "rootUrl": "https://videointelligence.googleapis.com/",
141 "schemas": { 141 "schemas": {
142 "GoogleCloudVideointelligenceV1beta1_AnnotateVideoRequest": {
143 "description": "Video annotation request.",
144 "id": "GoogleCloudVideointelligenceV1beta1_AnnotateVideoRequest",
145 "properties": {
146 "videoContext": {
147 "$ref": "GoogleCloudVideointelligenceV1beta1_VideoContext",
148 "description": "Additional video context and/or feature-spec ific parameters."
149 },
150 "locationId": {
151 "description": "Optional cloud region where annotation shoul d take place. Supported cloud\nregions: `us-east1`, `us-west1`, `europe-west1`, `asia-east1`. If no region\nis specified, a region will be determined based on v ideo file location.",
152 "type": "string"
153 },
154 "inputUri": {
155 "description": "Input video location. Currently, only\n[Goog le Cloud Storage](https://cloud.google.com/storage/) URIs are\nsupported, which must be specified in the following format:\n`gs://bucket-id/object-id` (other UR I formats return\ngoogle.rpc.Code.INVALID_ARGUMENT). For more information, see\n [Request URIs](/storage/docs/reference-uris).\nA video URI may include wildcards in `object-id`, and thus identify\nmultiple videos. Supported wildcards: '*' to match 0 or more characters;\n'?' to match 1 character. If unset, the input vide o should be embedded\nin the request as `input_content`. If set, `input_content` should be unset.",
156 "type": "string"
157 },
158 "inputContent": {
159 "description": "The video data bytes. Encoding: base64. If u nset, the input video(s)\nshould be specified via `input_uri`. If set, `input_ur i` should be unset.",
160 "type": "string"
161 },
162 "features": {
163 "description": "Requested video annotation features.",
164 "enumDescriptions": [
165 "Unspecified.",
166 "Label detection. Detect objects, such as dog or flower. ",
167 "Shot change detection.",
168 "Safe search detection."
169 ],
170 "items": {
171 "enum": [
172 "FEATURE_UNSPECIFIED",
173 "LABEL_DETECTION",
174 "SHOT_CHANGE_DETECTION",
175 "SAFE_SEARCH_DETECTION"
176 ],
177 "type": "string"
178 },
179 "type": "array"
180 },
181 "outputUri": {
182 "description": "Optional location where the output (in JSON format) should be stored.\nCurrently, only [Google Cloud Storage](https://cloud. google.com/storage/)\nURIs are supported, which must be specified in the followi ng format:\n`gs://bucket-id/object-id` (other URI formats return\ngoogle.rpc.Cod e.INVALID_ARGUMENT). For more information, see\n[Request URIs](/storage/docs/ref erence-uris).",
183 "type": "string"
184 }
185 },
186 "type": "object"
187 },
188 "GoogleCloudVideointelligenceV1beta1_LabelLocation": {
189 "description": "Label location.",
190 "id": "GoogleCloudVideointelligenceV1beta1_LabelLocation",
191 "properties": {
192 "confidence": {
193 "description": "Confidence that the label is accurate. Range : [0, 1].",
194 "format": "float",
195 "type": "number"
196 },
197 "segment": {
198 "$ref": "GoogleCloudVideointelligenceV1beta1_VideoSegment",
199 "description": "Video segment. Set to [-1, -1] for video-lev el labels.\nSet to [timestamp, timestamp] for frame-level labels.\nOtherwise, co rresponds to one of `AnnotateSpec.segments`\n(if specified) or to shot boundarie s (if requested)."
200 },
201 "level": {
202 "description": "Label level.",
203 "enum": [
204 "LABEL_LEVEL_UNSPECIFIED",
205 "VIDEO_LEVEL",
206 "SEGMENT_LEVEL",
207 "SHOT_LEVEL",
208 "FRAME_LEVEL"
209 ],
210 "enumDescriptions": [
211 "Unspecified.",
212 "Video-level. Corresponds to the whole video.",
213 "Segment-level. Corresponds to one of `AnnotateSpec.segm ents`.",
214 "Shot-level. Corresponds to a single shot (i.e. a series of frames\nwithout a major camera position or background change).",
215 "Frame-level. Corresponds to a single video frame."
216 ],
217 "type": "string"
218 }
219 },
220 "type": "object"
221 },
222 "GoogleCloudVideointelligenceV1beta1_VideoSegment": {
223 "description": "Video segment.",
224 "id": "GoogleCloudVideointelligenceV1beta1_VideoSegment",
225 "properties": {
226 "endTimeOffset": {
227 "description": "End offset in microseconds (inclusive). Unse t means 0.",
228 "format": "int64",
229 "type": "string"
230 },
231 "startTimeOffset": {
232 "description": "Start offset in microseconds (inclusive). Un set means 0.",
233 "format": "int64",
234 "type": "string"
235 }
236 },
237 "type": "object"
238 },
142 "GoogleCloudVideointelligenceV1_SafeSearchAnnotation": { 239 "GoogleCloudVideointelligenceV1_SafeSearchAnnotation": {
143 "description": "Safe search annotation (based on per-frame visual si gnals only).\nIf no unsafe content has been detected in a frame, no annotations\ nare present for that frame.", 240 "description": "Safe search annotation (based on per-frame visual si gnals only).\nIf no unsafe content has been detected in a frame, no annotations\ nare present for that frame.",
144 "id": "GoogleCloudVideointelligenceV1_SafeSearchAnnotation", 241 "id": "GoogleCloudVideointelligenceV1_SafeSearchAnnotation",
145 "properties": { 242 "properties": {
146 "time": { 243 "time": {
147 "description": "Time-offset, relative to the beginning of th e video,\ncorresponding to the video frame for this annotation.", 244 "description": "Time-offset, relative to the beginning of th e video,\ncorresponding to the video frame for this annotation.",
148 "format": "google-duration", 245 "format": "google-duration",
149 "type": "string" 246 "type": "string"
150 }, 247 },
151 "adult": { 248 "adult": {
(...skipping 16 matching lines...) Expand all
168 ], 265 ],
169 "type": "string" 266 "type": "string"
170 } 267 }
171 }, 268 },
172 "type": "object" 269 "type": "object"
173 }, 270 },
174 "GoogleCloudVideointelligenceV1beta1_SafeSearchAnnotation": { 271 "GoogleCloudVideointelligenceV1beta1_SafeSearchAnnotation": {
175 "description": "Safe search annotation (based on per-frame visual si gnals only).\nIf no unsafe content has been detected in a frame, no annotations\ nare present for that frame. If only some types of unsafe content\nhave been det ected in a frame, the likelihood is set to `UNKNOWN`\nfor all other types of uns afe content.", 272 "description": "Safe search annotation (based on per-frame visual si gnals only).\nIf no unsafe content has been detected in a frame, no annotations\ nare present for that frame. If only some types of unsafe content\nhave been det ected in a frame, the likelihood is set to `UNKNOWN`\nfor all other types of uns afe content.",
176 "id": "GoogleCloudVideointelligenceV1beta1_SafeSearchAnnotation", 273 "id": "GoogleCloudVideointelligenceV1beta1_SafeSearchAnnotation",
177 "properties": { 274 "properties": {
178 "racy": { 275 "adult": {
179 "description": "Likelihood of racy content.", 276 "description": "Likelihood of adult content.",
180 "enum": [ 277 "enum": [
181 "UNKNOWN", 278 "UNKNOWN",
182 "VERY_UNLIKELY", 279 "VERY_UNLIKELY",
183 "UNLIKELY", 280 "UNLIKELY",
184 "POSSIBLE", 281 "POSSIBLE",
185 "LIKELY", 282 "LIKELY",
186 "VERY_LIKELY" 283 "VERY_LIKELY"
187 ], 284 ],
188 "enumDescriptions": [ 285 "enumDescriptions": [
189 "Unknown likelihood.", 286 "Unknown likelihood.",
190 "Very unlikely.", 287 "Very unlikely.",
191 "Unlikely.", 288 "Unlikely.",
192 "Possible.", 289 "Possible.",
193 "Likely.", 290 "Likely.",
194 "Very likely." 291 "Very likely."
195 ], 292 ],
196 "type": "string" 293 "type": "string"
197 }, 294 },
198 "timeOffset": { 295 "racy": {
199 "description": "Video time offset in microseconds.", 296 "description": "Likelihood of racy content.",
200 "format": "int64",
201 "type": "string"
202 },
203 "violent": {
204 "description": "Likelihood of violent content.",
205 "enum": [ 297 "enum": [
206 "UNKNOWN", 298 "UNKNOWN",
207 "VERY_UNLIKELY", 299 "VERY_UNLIKELY",
208 "UNLIKELY", 300 "UNLIKELY",
209 "POSSIBLE", 301 "POSSIBLE",
210 "LIKELY", 302 "LIKELY",
211 "VERY_LIKELY" 303 "VERY_LIKELY"
212 ], 304 ],
213 "enumDescriptions": [ 305 "enumDescriptions": [
214 "Unknown likelihood.", 306 "Unknown likelihood.",
215 "Very unlikely.", 307 "Very unlikely.",
216 "Unlikely.", 308 "Unlikely.",
217 "Possible.", 309 "Possible.",
218 "Likely.", 310 "Likely.",
219 "Very likely." 311 "Very likely."
220 ], 312 ],
221 "type": "string" 313 "type": "string"
222 }, 314 },
223 "spoof": { 315 "timeOffset": {
224 "description": "Likelihood that an obvious modification was made to the original\nversion to make it appear funny or offensive.", 316 "description": "Video time offset in microseconds.",
317 "format": "int64",
318 "type": "string"
319 },
320 "violent": {
321 "description": "Likelihood of violent content.",
225 "enum": [ 322 "enum": [
226 "UNKNOWN", 323 "UNKNOWN",
227 "VERY_UNLIKELY", 324 "VERY_UNLIKELY",
228 "UNLIKELY", 325 "UNLIKELY",
229 "POSSIBLE", 326 "POSSIBLE",
230 "LIKELY", 327 "LIKELY",
231 "VERY_LIKELY" 328 "VERY_LIKELY"
232 ], 329 ],
233 "enumDescriptions": [ 330 "enumDescriptions": [
234 "Unknown likelihood.", 331 "Unknown likelihood.",
235 "Very unlikely.", 332 "Very unlikely.",
236 "Unlikely.", 333 "Unlikely.",
237 "Possible.", 334 "Possible.",
238 "Likely.", 335 "Likely.",
239 "Very likely." 336 "Very likely."
240 ], 337 ],
241 "type": "string" 338 "type": "string"
242 }, 339 },
243 "medical": { 340 "spoof": {
244 "description": "Likelihood of medical content.", 341 "description": "Likelihood that an obvious modification was made to the original\nversion to make it appear funny or offensive.",
245 "enum": [ 342 "enum": [
246 "UNKNOWN", 343 "UNKNOWN",
247 "VERY_UNLIKELY", 344 "VERY_UNLIKELY",
248 "UNLIKELY", 345 "UNLIKELY",
249 "POSSIBLE", 346 "POSSIBLE",
250 "LIKELY", 347 "LIKELY",
251 "VERY_LIKELY" 348 "VERY_LIKELY"
252 ], 349 ],
253 "enumDescriptions": [ 350 "enumDescriptions": [
254 "Unknown likelihood.", 351 "Unknown likelihood.",
255 "Very unlikely.", 352 "Very unlikely.",
256 "Unlikely.", 353 "Unlikely.",
257 "Possible.", 354 "Possible.",
258 "Likely.", 355 "Likely.",
259 "Very likely." 356 "Very likely."
260 ], 357 ],
261 "type": "string" 358 "type": "string"
262 }, 359 },
263 "adult": { 360 "medical": {
264 "description": "Likelihood of adult content.", 361 "description": "Likelihood of medical content.",
265 "enum": [ 362 "enum": [
266 "UNKNOWN", 363 "UNKNOWN",
267 "VERY_UNLIKELY", 364 "VERY_UNLIKELY",
268 "UNLIKELY", 365 "UNLIKELY",
269 "POSSIBLE", 366 "POSSIBLE",
270 "LIKELY", 367 "LIKELY",
271 "VERY_LIKELY" 368 "VERY_LIKELY"
272 ], 369 ],
273 "enumDescriptions": [ 370 "enumDescriptions": [
274 "Unknown likelihood.", 371 "Unknown likelihood.",
275 "Very unlikely.", 372 "Very unlikely.",
276 "Unlikely.", 373 "Unlikely.",
277 "Possible.", 374 "Possible.",
278 "Likely.", 375 "Likely.",
279 "Very likely." 376 "Very likely."
280 ], 377 ],
281 "type": "string" 378 "type": "string"
282 } 379 }
283 }, 380 },
284 "type": "object" 381 "type": "object"
285 }, 382 },
286 "GoogleCloudVideointelligenceV1_VideoAnnotationProgress": { 383 "GoogleCloudVideointelligenceV1_VideoAnnotationProgress": {
287 "description": "Annotation progress for a single video.", 384 "description": "Annotation progress for a single video.",
288 "id": "GoogleCloudVideointelligenceV1_VideoAnnotationProgress", 385 "id": "GoogleCloudVideointelligenceV1_VideoAnnotationProgress",
289 "properties": { 386 "properties": {
290 "progressPercent": {
291 "description": "Approximate percentage processed thus far.\n Guaranteed to be 100 when fully processed.",
292 "format": "int32",
293 "type": "integer"
294 },
295 "updateTime": { 387 "updateTime": {
296 "description": "Time of the most recent update.", 388 "description": "Time of the most recent update.",
297 "format": "google-datetime", 389 "format": "google-datetime",
298 "type": "string" 390 "type": "string"
299 }, 391 },
300 "startTime": { 392 "startTime": {
301 "description": "Time when the request was received.", 393 "description": "Time when the request was received.",
302 "format": "google-datetime", 394 "format": "google-datetime",
303 "type": "string" 395 "type": "string"
304 }, 396 },
305 "inputUri": { 397 "inputUri": {
306 "description": "Video file location in\n[Google Cloud Storag e](https://cloud.google.com/storage/).", 398 "description": "Video file location in\n[Google Cloud Storag e](https://cloud.google.com/storage/).",
307 "type": "string" 399 "type": "string"
400 },
401 "progressPercent": {
402 "description": "Approximate percentage processed thus far.\n Guaranteed to be 100 when fully processed.",
403 "format": "int32",
404 "type": "integer"
308 } 405 }
309 }, 406 },
310 "type": "object" 407 "type": "object"
311 }, 408 },
312 "GoogleCloudVideointelligenceV1beta1_AnnotateVideoProgress": { 409 "GoogleCloudVideointelligenceV1beta1_AnnotateVideoProgress": {
313 "description": "Video annotation progress. Included in the `metadata `\nfield of the `Operation` returned by the `GetOperation`\ncall of the `google: :longrunning::Operations` service.", 410 "description": "Video annotation progress. Included in the `metadata `\nfield of the `Operation` returned by the `GetOperation`\ncall of the `google: :longrunning::Operations` service.",
314 "id": "GoogleCloudVideointelligenceV1beta1_AnnotateVideoProgress", 411 "id": "GoogleCloudVideointelligenceV1beta1_AnnotateVideoProgress",
315 "properties": { 412 "properties": {
316 "annotationProgress": { 413 "annotationProgress": {
317 "description": "Progress metadata for all videos specified i n `AnnotateVideoRequest`.", 414 "description": "Progress metadata for all videos specified i n `AnnotateVideoRequest`.",
318 "items": { 415 "items": {
319 "$ref": "GoogleCloudVideointelligenceV1beta1_VideoAnnota tionProgress" 416 "$ref": "GoogleCloudVideointelligenceV1beta1_VideoAnnota tionProgress"
320 }, 417 },
321 "type": "array" 418 "type": "array"
322 } 419 }
323 }, 420 },
324 "type": "object" 421 "type": "object"
325 }, 422 },
423 "GoogleCloudVideointelligenceV1_LabelLocation": {
424 "description": "Label location.",
425 "id": "GoogleCloudVideointelligenceV1_LabelLocation",
426 "properties": {
427 "level": {
428 "description": "Label level.",
429 "enum": [
430 "LABEL_LEVEL_UNSPECIFIED",
431 "VIDEO_LEVEL",
432 "SEGMENT_LEVEL",
433 "SHOT_LEVEL",
434 "FRAME_LEVEL"
435 ],
436 "enumDescriptions": [
437 "Unspecified.",
438 "Video-level. Corresponds to the whole video.",
439 "Segment-level. Corresponds to one of `AnnotateSpec.segm ents`.",
440 "Shot-level. Corresponds to a single shot (i.e. a series of frames\nwithout a major camera position or background change).",
441 "Frame-level. Corresponds to a single video frame."
442 ],
443 "type": "string"
444 },
445 "confidence": {
446 "description": "Confidence that the label is accurate. Range : [0, 1].",
447 "format": "float",
448 "type": "number"
449 },
450 "segment": {
451 "$ref": "GoogleCloudVideointelligenceV1_VideoSegment",
452 "description": "Video segment. Unset for video-level labels. \nSet to a frame timestamp for frame-level labels.\nOtherwise, corresponds to on e of `AnnotateSpec.segments`\n(if specified) or to shot boundaries (if requested )."
453 }
454 },
455 "type": "object"
456 },
457 "GoogleCloudVideointelligenceV1_AnnotateVideoProgress": {
458 "description": "Video annotation progress. Included in the `metadata `\nfield of the `Operation` returned by the `GetOperation`\ncall of the `google: :longrunning::Operations` service.",
459 "id": "GoogleCloudVideointelligenceV1_AnnotateVideoProgress",
460 "properties": {
461 "annotationProgress": {
462 "description": "Progress metadata for all videos specified i n `AnnotateVideoRequest`.",
463 "items": {
464 "$ref": "GoogleCloudVideointelligenceV1_VideoAnnotationP rogress"
465 },
466 "type": "array"
467 }
468 },
469 "type": "object"
470 },
326 "GoogleCloudVideointelligenceV1_VideoAnnotationResults": { 471 "GoogleCloudVideointelligenceV1_VideoAnnotationResults": {
327 "description": "Annotation results for a single video.", 472 "description": "Annotation results for a single video.",
328 "id": "GoogleCloudVideointelligenceV1_VideoAnnotationResults", 473 "id": "GoogleCloudVideointelligenceV1_VideoAnnotationResults",
329 "properties": { 474 "properties": {
330 "error": { 475 "error": {
331 "$ref": "GoogleRpc_Status", 476 "$ref": "GoogleRpc_Status",
332 "description": "If set, indicates an error. Note that for a single `AnnotateVideoRequest`\nsome videos may succeed and some may fail." 477 "description": "If set, indicates an error. Note that for a single `AnnotateVideoRequest`\nsome videos may succeed and some may fail."
333 }, 478 },
334 "shotAnnotations": { 479 "shotAnnotations": {
335 "description": "Shot annotations. Each shot is represented a s a video segment.", 480 "description": "Shot annotations. Each shot is represented a s a video segment.",
(...skipping 16 matching lines...) Expand all
352 "labelAnnotations": { 497 "labelAnnotations": {
353 "description": "Label annotations. There is exactly one elem ent for each unique label.", 498 "description": "Label annotations. There is exactly one elem ent for each unique label.",
354 "items": { 499 "items": {
355 "$ref": "GoogleCloudVideointelligenceV1_LabelAnnotation" 500 "$ref": "GoogleCloudVideointelligenceV1_LabelAnnotation"
356 }, 501 },
357 "type": "array" 502 "type": "array"
358 } 503 }
359 }, 504 },
360 "type": "object" 505 "type": "object"
361 }, 506 },
362 "GoogleCloudVideointelligenceV1_AnnotateVideoProgress": {
363 "description": "Video annotation progress. Included in the `metadata `\nfield of the `Operation` returned by the `GetOperation`\ncall of the `google: :longrunning::Operations` service.",
364 "id": "GoogleCloudVideointelligenceV1_AnnotateVideoProgress",
365 "properties": {
366 "annotationProgress": {
367 "description": "Progress metadata for all videos specified i n `AnnotateVideoRequest`.",
368 "items": {
369 "$ref": "GoogleCloudVideointelligenceV1_VideoAnnotationP rogress"
370 },
371 "type": "array"
372 }
373 },
374 "type": "object"
375 },
376 "GoogleCloudVideointelligenceV1_LabelLocation": {
377 "description": "Label location.",
378 "id": "GoogleCloudVideointelligenceV1_LabelLocation",
379 "properties": {
380 "level": {
381 "description": "Label level.",
382 "enum": [
383 "LABEL_LEVEL_UNSPECIFIED",
384 "VIDEO_LEVEL",
385 "SEGMENT_LEVEL",
386 "SHOT_LEVEL",
387 "FRAME_LEVEL"
388 ],
389 "enumDescriptions": [
390 "Unspecified.",
391 "Video-level. Corresponds to the whole video.",
392 "Segment-level. Corresponds to one of `AnnotateSpec.segm ents`.",
393 "Shot-level. Corresponds to a single shot (i.e. a series of frames\nwithout a major camera position or background change).",
394 "Frame-level. Corresponds to a single video frame."
395 ],
396 "type": "string"
397 },
398 "confidence": {
399 "description": "Confidence that the label is accurate. Range : [0, 1].",
400 "format": "float",
401 "type": "number"
402 },
403 "segment": {
404 "$ref": "GoogleCloudVideointelligenceV1_VideoSegment",
405 "description": "Video segment. Unset for video-level labels. \nSet to a frame timestamp for frame-level labels.\nOtherwise, corresponds to on e of `AnnotateSpec.segments`\n(if specified) or to shot boundaries (if requested )."
406 }
407 },
408 "type": "object"
409 },
410 "GoogleLongrunning_Operation": { 507 "GoogleLongrunning_Operation": {
411 "description": "This resource represents a long-running operation th at is the result of a\nnetwork API call.", 508 "description": "This resource represents a long-running operation th at is the result of a\nnetwork API call.",
412 "id": "GoogleLongrunning_Operation", 509 "id": "GoogleLongrunning_Operation",
413 "properties": { 510 "properties": {
414 "done": {
415 "description": "If the value is `false`, it means the operat ion is still in progress.\nIf true, the operation is completed, and either `erro r` or `response` is\navailable.",
416 "type": "boolean"
417 },
418 "response": { 511 "response": {
419 "additionalProperties": { 512 "additionalProperties": {
420 "description": "Properties of the object. Contains field @type with type URL.", 513 "description": "Properties of the object. Contains field @type with type URL.",
421 "type": "any" 514 "type": "any"
422 }, 515 },
423 "description": "The normal response of the operation in case of success. If the original\nmethod returns no data on success, such as `Delet e`, the response is\n`google.protobuf.Empty`. If the original method is standar d\n`Get`/`Create`/`Update`, the response should be the resource. For other\nmet hods, the response should have the type `XxxResponse`, where `Xxx`\nis the origi nal method name. For example, if the original method name\nis `TakeSnapshot()`, the inferred response type is\n`TakeSnapshotResponse`.", 516 "description": "The normal response of the operation in case of success. If the original\nmethod returns no data on success, such as `Delet e`, the response is\n`google.protobuf.Empty`. If the original method is standar d\n`Get`/`Create`/`Update`, the response should be the resource. For other\nmet hods, the response should have the type `XxxResponse`, where `Xxx`\nis the origi nal method name. For example, if the original method name\nis `TakeSnapshot()`, the inferred response type is\n`TakeSnapshotResponse`.",
424 "type": "object" 517 "type": "object"
425 }, 518 },
426 "name": { 519 "name": {
427 "description": "The server-assigned name, which is only uniq ue within the same service that\noriginally returns it. If you use the default H TTP mapping, the\n`name` should have the format of `operations/some/unique/name` .", 520 "description": "The server-assigned name, which is only uniq ue within the same service that\noriginally returns it. If you use the default H TTP mapping, the\n`name` should have the format of `operations/some/unique/name` .",
428 "type": "string" 521 "type": "string"
429 }, 522 },
430 "error": { 523 "error": {
431 "$ref": "GoogleRpc_Status", 524 "$ref": "GoogleRpc_Status",
432 "description": "The error result of the operation in case of failure or cancellation." 525 "description": "The error result of the operation in case of failure or cancellation."
433 }, 526 },
434 "metadata": { 527 "metadata": {
435 "additionalProperties": { 528 "additionalProperties": {
436 "description": "Properties of the object. Contains field @type with type URL.", 529 "description": "Properties of the object. Contains field @type with type URL.",
437 "type": "any" 530 "type": "any"
438 }, 531 },
439 "description": "Service-specific metadata associated with th e operation. It typically\ncontains progress information and common metadata su ch as create time.\nSome services might not provide such metadata. Any method t hat returns a\nlong-running operation should document the metadata type, if any. ", 532 "description": "Service-specific metadata associated with th e operation. It typically\ncontains progress information and common metadata su ch as create time.\nSome services might not provide such metadata. Any method t hat returns a\nlong-running operation should document the metadata type, if any. ",
440 "type": "object" 533 "type": "object"
534 },
535 "done": {
536 "description": "If the value is `false`, it means the operat ion is still in progress.\nIf true, the operation is completed, and either `erro r` or `response` is\navailable.",
537 "type": "boolean"
441 } 538 }
442 }, 539 },
443 "type": "object" 540 "type": "object"
444 }, 541 },
445 "GoogleCloudVideointelligenceV1beta1_VideoAnnotationResults": { 542 "GoogleCloudVideointelligenceV1beta1_VideoAnnotationResults": {
446 "description": "Annotation results for a single video.", 543 "description": "Annotation results for a single video.",
447 "id": "GoogleCloudVideointelligenceV1beta1_VideoAnnotationResults", 544 "id": "GoogleCloudVideointelligenceV1beta1_VideoAnnotationResults",
448 "properties": { 545 "properties": {
449 "error": {
450 "$ref": "GoogleRpc_Status",
451 "description": "If set, indicates an error. Note that for a single `AnnotateVideoRequest`\nsome videos may succeed and some may fail."
452 },
453 "shotAnnotations": {
454 "description": "Shot annotations. Each shot is represented a s a video segment.",
455 "items": {
456 "$ref": "GoogleCloudVideointelligenceV1beta1_VideoSegmen t"
457 },
458 "type": "array"
459 },
460 "safeSearchAnnotations": { 546 "safeSearchAnnotations": {
461 "description": "Safe search annotations.", 547 "description": "Safe search annotations.",
462 "items": { 548 "items": {
463 "$ref": "GoogleCloudVideointelligenceV1beta1_SafeSearchA nnotation" 549 "$ref": "GoogleCloudVideointelligenceV1beta1_SafeSearchA nnotation"
464 }, 550 },
465 "type": "array" 551 "type": "array"
466 }, 552 },
467 "inputUri": { 553 "inputUri": {
468 "description": "Video file location in\n[Google Cloud Storag e](https://cloud.google.com/storage/).", 554 "description": "Video file location in\n[Google Cloud Storag e](https://cloud.google.com/storage/).",
469 "type": "string" 555 "type": "string"
470 }, 556 },
471 "labelAnnotations": { 557 "labelAnnotations": {
472 "description": "Label annotations. There is exactly one elem ent for each unique label.", 558 "description": "Label annotations. There is exactly one elem ent for each unique label.",
473 "items": { 559 "items": {
474 "$ref": "GoogleCloudVideointelligenceV1beta1_LabelAnnota tion" 560 "$ref": "GoogleCloudVideointelligenceV1beta1_LabelAnnota tion"
475 }, 561 },
476 "type": "array" 562 "type": "array"
563 },
564 "error": {
565 "$ref": "GoogleRpc_Status",
566 "description": "If set, indicates an error. Note that for a single `AnnotateVideoRequest`\nsome videos may succeed and some may fail."
567 },
568 "shotAnnotations": {
569 "description": "Shot annotations. Each shot is represented a s a video segment.",
570 "items": {
571 "$ref": "GoogleCloudVideointelligenceV1beta1_VideoSegmen t"
572 },
573 "type": "array"
477 } 574 }
478 }, 575 },
479 "type": "object" 576 "type": "object"
577 },
578 "GoogleCloudVideointelligenceV1_AnnotateVideoResponse": {
579 "description": "Video annotation response. Included in the `response `\nfield of the `Operation` returned by the `GetOperation`\ncall of the `google: :longrunning::Operations` service.",
580 "id": "GoogleCloudVideointelligenceV1_AnnotateVideoResponse",
581 "properties": {
582 "annotationResults": {
583 "description": "Annotation results for all videos specified in `AnnotateVideoRequest`.",
584 "items": {
585 "$ref": "GoogleCloudVideointelligenceV1_VideoAnnotationR esults"
586 },
587 "type": "array"
588 }
589 },
590 "type": "object"
480 }, 591 },
481 "GoogleCloudVideointelligenceV1beta1_LabelAnnotation": { 592 "GoogleCloudVideointelligenceV1beta1_LabelAnnotation": {
482 "description": "Label annotation.", 593 "description": "Label annotation.",
483 "id": "GoogleCloudVideointelligenceV1beta1_LabelAnnotation", 594 "id": "GoogleCloudVideointelligenceV1beta1_LabelAnnotation",
484 "properties": { 595 "properties": {
596 "description": {
597 "description": "Textual description, e.g. `Fixed-gear bicycl e`.",
598 "type": "string"
599 },
485 "locations": { 600 "locations": {
486 "description": "Where the label was detected and with what c onfidence.", 601 "description": "Where the label was detected and with what c onfidence.",
487 "items": { 602 "items": {
488 "$ref": "GoogleCloudVideointelligenceV1beta1_LabelLocati on" 603 "$ref": "GoogleCloudVideointelligenceV1beta1_LabelLocati on"
489 }, 604 },
490 "type": "array" 605 "type": "array"
491 }, 606 },
492 "languageCode": { 607 "languageCode": {
493 "description": "Language code for `description` in BCP-47 fo rmat.", 608 "description": "Language code for `description` in BCP-47 fo rmat.",
494 "type": "string" 609 "type": "string"
495 },
496 "description": {
497 "description": "Textual description, e.g. `Fixed-gear bicycl e`.",
498 "type": "string"
499 }
500 },
501 "type": "object"
502 },
503 "GoogleCloudVideointelligenceV1_AnnotateVideoResponse": {
504 "description": "Video annotation response. Included in the `response `\nfield of the `Operation` returned by the `GetOperation`\ncall of the `google: :longrunning::Operations` service.",
505 "id": "GoogleCloudVideointelligenceV1_AnnotateVideoResponse",
506 "properties": {
507 "annotationResults": {
508 "description": "Annotation results for all videos specified in `AnnotateVideoRequest`.",
509 "items": {
510 "$ref": "GoogleCloudVideointelligenceV1_VideoAnnotationR esults"
511 },
512 "type": "array"
513 } 610 }
514 }, 611 },
515 "type": "object" 612 "type": "object"
516 }, 613 },
517 "GoogleCloudVideointelligenceV1beta1_AnnotateVideoResponse": { 614 "GoogleCloudVideointelligenceV1beta1_AnnotateVideoResponse": {
518 "description": "Video annotation response. Included in the `response `\nfield of the `Operation` returned by the `GetOperation`\ncall of the `google: :longrunning::Operations` service.", 615 "description": "Video annotation response. Included in the `response `\nfield of the `Operation` returned by the `GetOperation`\ncall of the `google: :longrunning::Operations` service.",
519 "id": "GoogleCloudVideointelligenceV1beta1_AnnotateVideoResponse", 616 "id": "GoogleCloudVideointelligenceV1beta1_AnnotateVideoResponse",
520 "properties": { 617 "properties": {
521 "annotationResults": { 618 "annotationResults": {
522 "description": "Annotation results for all videos specified in `AnnotateVideoRequest`.", 619 "description": "Annotation results for all videos specified in `AnnotateVideoRequest`.",
523 "items": { 620 "items": {
524 "$ref": "GoogleCloudVideointelligenceV1beta1_VideoAnnota tionResults" 621 "$ref": "GoogleCloudVideointelligenceV1beta1_VideoAnnota tionResults"
525 }, 622 },
526 "type": "array" 623 "type": "array"
527 } 624 }
528 }, 625 },
529 "type": "object" 626 "type": "object"
627 },
628 "GoogleCloudVideointelligenceV1_LabelAnnotation": {
629 "description": "Label annotation.",
630 "id": "GoogleCloudVideointelligenceV1_LabelAnnotation",
631 "properties": {
632 "locations": {
633 "description": "Where the label was detected and with what c onfidence.",
634 "items": {
635 "$ref": "GoogleCloudVideointelligenceV1_LabelLocation"
636 },
637 "type": "array"
638 },
639 "languageCode": {
640 "description": "Language code for `description` in BCP-47 fo rmat.",
641 "type": "string"
642 },
643 "description": {
644 "description": "Textual description, e.g. `Fixed-gear bicycl e`.",
645 "type": "string"
646 }
647 },
648 "type": "object"
530 }, 649 },
531 "GoogleCloudVideointelligenceV1beta1_VideoContext": { 650 "GoogleCloudVideointelligenceV1beta1_VideoContext": {
532 "description": "Video context and/or feature-specific parameters.", 651 "description": "Video context and/or feature-specific parameters.",
533 "id": "GoogleCloudVideointelligenceV1beta1_VideoContext", 652 "id": "GoogleCloudVideointelligenceV1beta1_VideoContext",
534 "properties": { 653 "properties": {
535 "segments": {
536 "description": "Video segments to annotate. The segments may overlap and are not required\nto be contiguous or span the whole video. If unsp ecified, each video\nis treated as a single segment.",
537 "items": {
538 "$ref": "GoogleCloudVideointelligenceV1beta1_VideoSegmen t"
539 },
540 "type": "array"
541 },
542 "labelDetectionModel": {
543 "description": "Model to use for label detection.\nSupported values: \"latest\" and \"stable\" (the default).",
544 "type": "string"
545 },
546 "shotChangeDetectionModel": {
547 "description": "Model to use for shot change detection.\nSup ported values: \"latest\" and \"stable\" (the default).",
548 "type": "string"
549 },
550 "labelDetectionMode": { 654 "labelDetectionMode": {
551 "description": "If label detection has been requested, what labels should be detected\nin addition to video-level labels or segment-level la bels. If unspecified,\ndefaults to `SHOT_MODE`.", 655 "description": "If label detection has been requested, what labels should be detected\nin addition to video-level labels or segment-level la bels. If unspecified,\ndefaults to `SHOT_MODE`.",
552 "enum": [ 656 "enum": [
553 "LABEL_DETECTION_MODE_UNSPECIFIED", 657 "LABEL_DETECTION_MODE_UNSPECIFIED",
554 "SHOT_MODE", 658 "SHOT_MODE",
555 "FRAME_MODE", 659 "FRAME_MODE",
556 "SHOT_AND_FRAME_MODE" 660 "SHOT_AND_FRAME_MODE"
557 ], 661 ],
558 "enumDescriptions": [ 662 "enumDescriptions": [
559 "Unspecified.", 663 "Unspecified.",
560 "Detect shot-level labels.", 664 "Detect shot-level labels.",
561 "Detect frame-level labels.", 665 "Detect frame-level labels.",
562 "Detect both shot-level and frame-level labels." 666 "Detect both shot-level and frame-level labels."
563 ], 667 ],
564 "type": "string" 668 "type": "string"
565 }, 669 },
566 "stationaryCamera": { 670 "stationaryCamera": {
567 "description": "Whether the video has been shot from a stati onary (i.e. non-moving) camera.\nWhen set to true, might improve detection accur acy for moving objects.", 671 "description": "Whether the video has been shot from a stati onary (i.e. non-moving) camera.\nWhen set to true, might improve detection accur acy for moving objects.",
568 "type": "boolean" 672 "type": "boolean"
569 }, 673 },
570 "safeSearchDetectionModel": { 674 "safeSearchDetectionModel": {
571 "description": "Model to use for safe search detection.\nSup ported values: \"latest\" and \"stable\" (the default).", 675 "description": "Model to use for safe search detection.\nSup ported values: \"latest\" and \"stable\" (the default).",
572 "type": "string" 676 "type": "string"
573 } 677 },
574 }, 678 "segments": {
575 "type": "object" 679 "description": "Video segments to annotate. The segments may overlap and are not required\nto be contiguous or span the whole video. If unsp ecified, each video\nis treated as a single segment.",
576 },
577 "GoogleCloudVideointelligenceV1_LabelAnnotation": {
578 "description": "Label annotation.",
579 "id": "GoogleCloudVideointelligenceV1_LabelAnnotation",
580 "properties": {
581 "locations": {
582 "description": "Where the label was detected and with what c onfidence.",
583 "items": { 680 "items": {
584 "$ref": "GoogleCloudVideointelligenceV1_LabelLocation" 681 "$ref": "GoogleCloudVideointelligenceV1beta1_VideoSegmen t"
585 }, 682 },
586 "type": "array" 683 "type": "array"
587 }, 684 },
588 "languageCode": { 685 "labelDetectionModel": {
589 "description": "Language code for `description` in BCP-47 fo rmat.", 686 "description": "Model to use for label detection.\nSupported values: \"latest\" and \"stable\" (the default).",
590 "type": "string" 687 "type": "string"
591 }, 688 },
592 "description": { 689 "shotChangeDetectionModel": {
593 "description": "Textual description, e.g. `Fixed-gear bicycl e`.", 690 "description": "Model to use for shot change detection.\nSup ported values: \"latest\" and \"stable\" (the default).",
594 "type": "string" 691 "type": "string"
595 } 692 }
596 }, 693 },
597 "type": "object"
598 },
599 "GoogleRpc_Status": {
600 "description": "The `Status` type defines a logical error model that is suitable for different\nprogramming environments, including REST APIs and RP C APIs. It is used by\n[gRPC](https://github.com/grpc). The error model is desig ned to be:\n\n- Simple to use and understand for most users\n- Flexible enough t o meet unexpected needs\n\n# Overview\n\nThe `Status` message contains three pie ces of data: error code, error message,\nand error details. The error code shoul d be an enum value of\ngoogle.rpc.Code, but it may accept additional error codes if needed. The\nerror message should be a developer-facing English message tha t helps\ndevelopers *understand* and *resolve* the error. If a localized user-fa cing\nerror message is needed, put the localized message in the error details or \nlocalize it in the client. The optional error details may contain arbitrary\ni nformation about the error. There is a predefined set of error detail types\nin the package `google.rpc` that can be used for common error conditions.\n\n# Lang uage mapping\n\nThe `Status` message is the logical representation of the error model, but it\nis not necessarily the actual wire format. When the `Status` mess age is\nexposed in different client libraries and different wire protocols, it c an be\nmapped differently. For example, it will likely be mapped to some excepti ons\nin Java, but more likely mapped to some error codes in C.\n\n# Other uses\n \nThe error model and the `Status` message can be used in a variety of\nenvironm ents, either with or without APIs, to provide a\nconsistent developer experience across different environments.\n\nExample uses of this error model include:\n\n - Partial errors. If a service needs to return partial errors to the client,\n it may embed the `Status` in the normal response to indicate the partial\n errors.\n\n- Workflow errors. A typical workflow has multiple steps. Each step m ay\n have a `Status` message for error reporting.\n\n- Batch operations. If a client uses batch request and batch response, the\n `Status` message should be used directly inside batch response, one for\n each error sub-response.\n\ n- Asynchronous operations. If an API call embeds asynchronous operation\n re sults in its response, the status of those operations should be\n represented directly using the `Status` message.\n\n- Logging. If some API errors are store d in logs, the message `Status` could\n be used directly after any stripping needed for security/privacy reasons.",
601 "id": "GoogleRpc_Status",
602 "properties": {
603 "details": {
604 "description": "A list of messages that carry the error deta ils. There is a common set of\nmessage types for APIs to use.",
605 "items": {
606 "additionalProperties": {
607 "description": "Properties of the object. Contains f ield @type with type URL.",
608 "type": "any"
609 },
610 "type": "object"
611 },
612 "type": "array"
613 },
614 "code": {
615 "description": "The status code, which should be an enum val ue of google.rpc.Code.",
616 "format": "int32",
617 "type": "integer"
618 },
619 "message": {
620 "description": "A developer-facing error message, which shou ld be in English. Any\nuser-facing error message should be localized and sent in the\ngoogle.rpc.Status.details field, or localized by the client.",
621 "type": "string"
622 }
623 },
624 "type": "object" 694 "type": "object"
625 }, 695 },
626 "GoogleCloudVideointelligenceV1beta1_VideoAnnotationProgress": { 696 "GoogleCloudVideointelligenceV1beta1_VideoAnnotationProgress": {
627 "description": "Annotation progress for a single video.", 697 "description": "Annotation progress for a single video.",
628 "id": "GoogleCloudVideointelligenceV1beta1_VideoAnnotationProgress", 698 "id": "GoogleCloudVideointelligenceV1beta1_VideoAnnotationProgress",
629 "properties": { 699 "properties": {
630 "inputUri": {
631 "description": "Video file location in\n[Google Cloud Storag e](https://cloud.google.com/storage/).",
632 "type": "string"
633 },
634 "progressPercent": {
635 "description": "Approximate percentage processed thus far.\n Guaranteed to be 100 when fully processed.",
636 "format": "int32",
637 "type": "integer"
638 },
639 "updateTime": { 700 "updateTime": {
640 "description": "Time of the most recent update.", 701 "description": "Time of the most recent update.",
641 "format": "google-datetime", 702 "format": "google-datetime",
642 "type": "string" 703 "type": "string"
643 }, 704 },
644 "startTime": { 705 "startTime": {
645 "description": "Time when the request was received.", 706 "description": "Time when the request was received.",
646 "format": "google-datetime", 707 "format": "google-datetime",
647 "type": "string" 708 "type": "string"
709 },
710 "inputUri": {
711 "description": "Video file location in\n[Google Cloud Storag e](https://cloud.google.com/storage/).",
712 "type": "string"
713 },
714 "progressPercent": {
715 "description": "Approximate percentage processed thus far.\n Guaranteed to be 100 when fully processed.",
716 "format": "int32",
717 "type": "integer"
718 }
719 },
720 "type": "object"
721 },
722 "GoogleRpc_Status": {
723 "description": "The `Status` type defines a logical error model that is suitable for different\nprogramming environments, including REST APIs and RP C APIs. It is used by\n[gRPC](https://github.com/grpc). The error model is desig ned to be:\n\n- Simple to use and understand for most users\n- Flexible enough t o meet unexpected needs\n\n# Overview\n\nThe `Status` message contains three pie ces of data: error code, error message,\nand error details. The error code shoul d be an enum value of\ngoogle.rpc.Code, but it may accept additional error codes if needed. The\nerror message should be a developer-facing English message tha t helps\ndevelopers *understand* and *resolve* the error. If a localized user-fa cing\nerror message is needed, put the localized message in the error details or \nlocalize it in the client. The optional error details may contain arbitrary\ni nformation about the error. There is a predefined set of error detail types\nin the package `google.rpc` that can be used for common error conditions.\n\n# Lang uage mapping\n\nThe `Status` message is the logical representation of the error model, but it\nis not necessarily the actual wire format. When the `Status` mess age is\nexposed in different client libraries and different wire protocols, it c an be\nmapped differently. For example, it will likely be mapped to some excepti ons\nin Java, but more likely mapped to some error codes in C.\n\n# Other uses\n \nThe error model and the `Status` message can be used in a variety of\nenvironm ents, either with or without APIs, to provide a\nconsistent developer experience across different environments.\n\nExample uses of this error model include:\n\n - Partial errors. If a service needs to return partial errors to the client,\n it may embed the `Status` in the normal response to indicate the partial\n errors.\n\n- Workflow errors. A typical workflow has multiple steps. Each step m ay\n have a `Status` message for error reporting.\n\n- Batch operations. If a client uses batch request and batch response, the\n `Status` message should be used directly inside batch response, one for\n each error sub-response.\n\ n- Asynchronous operations. If an API call embeds asynchronous operation\n re sults in its response, the status of those operations should be\n represented directly using the `Status` message.\n\n- Logging. If some API errors are store d in logs, the message `Status` could\n be used directly after any stripping needed for security/privacy reasons.",
724 "id": "GoogleRpc_Status",
725 "properties": {
726 "message": {
727 "description": "A developer-facing error message, which shou ld be in English. Any\nuser-facing error message should be localized and sent in the\ngoogle.rpc.Status.details field, or localized by the client.",
728 "type": "string"
729 },
730 "details": {
731 "description": "A list of messages that carry the error deta ils. There is a common set of\nmessage types for APIs to use.",
732 "items": {
733 "additionalProperties": {
734 "description": "Properties of the object. Contains f ield @type with type URL.",
735 "type": "any"
736 },
737 "type": "object"
738 },
739 "type": "array"
740 },
741 "code": {
742 "description": "The status code, which should be an enum val ue of google.rpc.Code.",
743 "format": "int32",
744 "type": "integer"
648 } 745 }
649 }, 746 },
650 "type": "object" 747 "type": "object"
651 }, 748 },
652 "GoogleCloudVideointelligenceV1_VideoSegment": { 749 "GoogleCloudVideointelligenceV1_VideoSegment": {
653 "description": "Video segment.", 750 "description": "Video segment.",
654 "id": "GoogleCloudVideointelligenceV1_VideoSegment", 751 "id": "GoogleCloudVideointelligenceV1_VideoSegment",
655 "properties": { 752 "properties": {
753 "endTime": {
754 "description": "Time-offset, relative to the beginning of th e video,\ncorresponding to the end of the segment (inclusive).",
755 "format": "google-duration",
756 "type": "string"
757 },
656 "startTime": { 758 "startTime": {
657 "description": "Time-offset, relative to the beginning of th e video,\ncorresponding to the start of the segment (inclusive).", 759 "description": "Time-offset, relative to the beginning of th e video,\ncorresponding to the start of the segment (inclusive).",
658 "format": "google-duration", 760 "format": "google-duration",
659 "type": "string" 761 "type": "string"
660 },
661 "endTime": {
662 "description": "Time-offset, relative to the beginning of th e video,\ncorresponding to the end of the segment (inclusive).",
663 "format": "google-duration",
664 "type": "string"
665 } 762 }
666 }, 763 },
667 "type": "object"
668 },
669 "GoogleCloudVideointelligenceV1beta1_AnnotateVideoRequest": {
670 "description": "Video annotation request.",
671 "id": "GoogleCloudVideointelligenceV1beta1_AnnotateVideoRequest",
672 "properties": {
673 "locationId": {
674 "description": "Optional cloud region where annotation shoul d take place. Supported cloud\nregions: `us-east1`, `us-west1`, `europe-west1`, `asia-east1`. If no region\nis specified, a region will be determined based on v ideo file location.",
675 "type": "string"
676 },
677 "inputUri": {
678 "description": "Input video location. Currently, only\n[Goog le Cloud Storage](https://cloud.google.com/storage/) URIs are\nsupported, which must be specified in the following format:\n`gs://bucket-id/object-id` (other UR I formats return\ngoogle.rpc.Code.INVALID_ARGUMENT). For more information, see\n [Request URIs](/storage/docs/reference-uris).\nA video URI may include wildcards in `object-id`, and thus identify\nmultiple videos. Supported wildcards: '*' to match 0 or more characters;\n'?' to match 1 character. If unset, the input vide o should be embedded\nin the request as `input_content`. If set, `input_content` should be unset.",
679 "type": "string"
680 },
681 "inputContent": {
682 "description": "The video data bytes. Encoding: base64. If u nset, the input video(s)\nshould be specified via `input_uri`. If set, `input_ur i` should be unset.",
683 "type": "string"
684 },
685 "features": {
686 "description": "Requested video annotation features.",
687 "enumDescriptions": [
688 "Unspecified.",
689 "Label detection. Detect objects, such as dog or flower. ",
690 "Shot change detection.",
691 "Safe search detection."
692 ],
693 "items": {
694 "enum": [
695 "FEATURE_UNSPECIFIED",
696 "LABEL_DETECTION",
697 "SHOT_CHANGE_DETECTION",
698 "SAFE_SEARCH_DETECTION"
699 ],
700 "type": "string"
701 },
702 "type": "array"
703 },
704 "outputUri": {
705 "description": "Optional location where the output (in JSON format) should be stored.\nCurrently, only [Google Cloud Storage](https://cloud. google.com/storage/)\nURIs are supported, which must be specified in the followi ng format:\n`gs://bucket-id/object-id` (other URI formats return\ngoogle.rpc.Cod e.INVALID_ARGUMENT). For more information, see\n[Request URIs](/storage/docs/ref erence-uris).",
706 "type": "string"
707 },
708 "videoContext": {
709 "$ref": "GoogleCloudVideointelligenceV1beta1_VideoContext",
710 "description": "Additional video context and/or feature-spec ific parameters."
711 }
712 },
713 "type": "object"
714 },
715 "GoogleCloudVideointelligenceV1beta1_LabelLocation": {
716 "description": "Label location.",
717 "id": "GoogleCloudVideointelligenceV1beta1_LabelLocation",
718 "properties": {
719 "confidence": {
720 "description": "Confidence that the label is accurate. Range : [0, 1].",
721 "format": "float",
722 "type": "number"
723 },
724 "segment": {
725 "$ref": "GoogleCloudVideointelligenceV1beta1_VideoSegment",
726 "description": "Video segment. Set to [-1, -1] for video-lev el labels.\nSet to [timestamp, timestamp] for frame-level labels.\nOtherwise, co rresponds to one of `AnnotateSpec.segments`\n(if specified) or to shot boundarie s (if requested)."
727 },
728 "level": {
729 "description": "Label level.",
730 "enum": [
731 "LABEL_LEVEL_UNSPECIFIED",
732 "VIDEO_LEVEL",
733 "SEGMENT_LEVEL",
734 "SHOT_LEVEL",
735 "FRAME_LEVEL"
736 ],
737 "enumDescriptions": [
738 "Unspecified.",
739 "Video-level. Corresponds to the whole video.",
740 "Segment-level. Corresponds to one of `AnnotateSpec.segm ents`.",
741 "Shot-level. Corresponds to a single shot (i.e. a series of frames\nwithout a major camera position or background change).",
742 "Frame-level. Corresponds to a single video frame."
743 ],
744 "type": "string"
745 }
746 },
747 "type": "object"
748 },
749 "GoogleCloudVideointelligenceV1beta1_VideoSegment": {
750 "description": "Video segment.",
751 "id": "GoogleCloudVideointelligenceV1beta1_VideoSegment",
752 "properties": {
753 "endTimeOffset": {
754 "description": "End offset in microseconds (inclusive). Unse t means 0.",
755 "format": "int64",
756 "type": "string"
757 },
758 "startTimeOffset": {
759 "description": "Start offset in microseconds (inclusive). Un set means 0.",
760 "format": "int64",
761 "type": "string"
762 }
763 },
764 "type": "object" 764 "type": "object"
765 } 765 }
766 }, 766 },
767 "servicePath": "", 767 "servicePath": "",
768 "title": "Google Cloud Video Intelligence API", 768 "title": "Google Cloud Video Intelligence API",
769 "version": "v1beta1" 769 "version": "v1beta1"
770 } 770 }
OLDNEW
« no previous file with comments | « discovery/googleapis_beta/toolresults__v1beta3firstparty.json ('k') | generated/googleapis/CHANGELOG.md » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698