OLD | NEW |
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 "$.xgafv": { | 28 "access_token": { |
29 "description": "V1 error format.", | 29 "description": "OAuth access token.", |
30 "enum": [ | |
31 "1", | |
32 "2" | |
33 ], | |
34 "enumDescriptions": [ | |
35 "v1 error format", | |
36 "v2 error format" | |
37 ], | |
38 "location": "query", | 30 "location": "query", |
39 "type": "string" | 31 "type": "string" |
40 }, | 32 }, |
41 "callback": { | |
42 "description": "JSONP", | |
43 "location": "query", | |
44 "type": "string" | |
45 }, | |
46 "alt": { | |
47 "default": "json", | |
48 "description": "Data format for response.", | |
49 "enum": [ | |
50 "json", | |
51 "media", | |
52 "proto" | |
53 ], | |
54 "enumDescriptions": [ | |
55 "Responses with Content-Type of application/json", | |
56 "Media download with context-dependent Content-Type", | |
57 "Responses with Content-Type of application/x-protobuf" | |
58 ], | |
59 "location": "query", | |
60 "type": "string" | |
61 }, | |
62 "key": { | 33 "key": { |
63 "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.", | 34 "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.", |
64 "location": "query", | 35 "location": "query", |
65 "type": "string" | 36 "type": "string" |
66 }, | 37 }, |
67 "access_token": { | |
68 "description": "OAuth access token.", | |
69 "location": "query", | |
70 "type": "string" | |
71 }, | |
72 "quotaUser": { | 38 "quotaUser": { |
73 "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.", | 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.", |
74 "location": "query", | 40 "location": "query", |
75 "type": "string" | 41 "type": "string" |
76 }, | 42 }, |
77 "pp": { | 43 "pp": { |
78 "default": "true", | 44 "default": "true", |
79 "description": "Pretty-print response.", | 45 "description": "Pretty-print response.", |
80 "location": "query", | 46 "location": "query", |
81 "type": "boolean" | 47 "type": "boolean" |
82 }, | 48 }, |
| 49 "bearer_token": { |
| 50 "description": "OAuth bearer token.", |
| 51 "location": "query", |
| 52 "type": "string" |
| 53 }, |
83 "oauth_token": { | 54 "oauth_token": { |
84 "description": "OAuth 2.0 token for the current user.", | 55 "description": "OAuth 2.0 token for the current user.", |
85 "location": "query", | 56 "location": "query", |
86 "type": "string" | 57 "type": "string" |
87 }, | 58 }, |
88 "bearer_token": { | |
89 "description": "OAuth bearer token.", | |
90 "location": "query", | |
91 "type": "string" | |
92 }, | |
93 "upload_protocol": { | 59 "upload_protocol": { |
94 "description": "Upload protocol for media (e.g. \"raw\", \"multipart
\").", | 60 "description": "Upload protocol for media (e.g. \"raw\", \"multipart
\").", |
95 "location": "query", | 61 "location": "query", |
96 "type": "string" | 62 "type": "string" |
97 }, | 63 }, |
98 "prettyPrint": { | 64 "prettyPrint": { |
99 "default": "true", | 65 "default": "true", |
100 "description": "Returns response with indentations and line breaks."
, | 66 "description": "Returns response with indentations and line breaks."
, |
101 "location": "query", | 67 "location": "query", |
102 "type": "boolean" | 68 "type": "boolean" |
103 }, | 69 }, |
| 70 "fields": { |
| 71 "description": "Selector specifying which fields to include in a par
tial response.", |
| 72 "location": "query", |
| 73 "type": "string" |
| 74 }, |
104 "uploadType": { | 75 "uploadType": { |
105 "description": "Legacy upload protocol for media (e.g. \"media\", \"
multipart\").", | 76 "description": "Legacy upload protocol for media (e.g. \"media\", \"
multipart\").", |
106 "location": "query", | 77 "location": "query", |
107 "type": "string" | 78 "type": "string" |
108 }, | 79 }, |
109 "fields": { | 80 "$.xgafv": { |
110 "description": "Selector specifying which fields to include in a par
tial response.", | 81 "description": "V1 error format.", |
| 82 "enum": [ |
| 83 "1", |
| 84 "2" |
| 85 ], |
| 86 "enumDescriptions": [ |
| 87 "v1 error format", |
| 88 "v2 error format" |
| 89 ], |
| 90 "location": "query", |
| 91 "type": "string" |
| 92 }, |
| 93 "callback": { |
| 94 "description": "JSONP", |
| 95 "location": "query", |
| 96 "type": "string" |
| 97 }, |
| 98 "alt": { |
| 99 "default": "json", |
| 100 "description": "Data format for response.", |
| 101 "enum": [ |
| 102 "json", |
| 103 "media", |
| 104 "proto" |
| 105 ], |
| 106 "enumDescriptions": [ |
| 107 "Responses with Content-Type of application/json", |
| 108 "Media download with context-dependent Content-Type", |
| 109 "Responses with Content-Type of application/x-protobuf" |
| 110 ], |
111 "location": "query", | 111 "location": "query", |
112 "type": "string" | 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": "20170511", | 139 "revision": "20170621", |
140 "rootUrl": "https://videointelligence.googleapis.com/", | 140 "rootUrl": "https://videointelligence.googleapis.com/", |
141 "schemas": { | 141 "schemas": { |
142 "GoogleCloudVideointelligenceV1beta1_AnnotateVideoRequest": { | 142 "GoogleCloudVideointelligenceV1beta1_AnnotateVideoRequest": { |
143 "description": "Video annotation request.", | 143 "description": "Video annotation request.", |
144 "id": "GoogleCloudVideointelligenceV1beta1_AnnotateVideoRequest", | 144 "id": "GoogleCloudVideointelligenceV1beta1_AnnotateVideoRequest", |
145 "properties": { | 145 "properties": { |
146 "inputUri": { | |
147 "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.", | |
148 "type": "string" | |
149 }, | |
150 "inputContent": { | |
151 "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.", | |
152 "type": "string" | |
153 }, | |
154 "features": { | 146 "features": { |
155 "description": "Requested video annotation features.", | 147 "description": "Requested video annotation features.", |
156 "enumDescriptions": [ | 148 "enumDescriptions": [ |
157 "Unspecified.", | 149 "Unspecified.", |
158 "Label detection. Detect objects, such as dog or flower.
", | 150 "Label detection. Detect objects, such as dog or flower.
", |
159 "Shot change detection." | 151 "Shot change detection." |
160 ], | 152 ], |
161 "items": { | 153 "items": { |
162 "enum": [ | 154 "enum": [ |
163 "FEATURE_UNSPECIFIED", | 155 "FEATURE_UNSPECIFIED", |
164 "LABEL_DETECTION", | 156 "LABEL_DETECTION", |
165 "SHOT_CHANGE_DETECTION" | 157 "SHOT_CHANGE_DETECTION" |
166 ], | 158 ], |
167 "type": "string" | 159 "type": "string" |
168 }, | 160 }, |
169 "type": "array" | 161 "type": "array" |
170 }, | 162 }, |
171 "outputUri": { | 163 "outputUri": { |
172 "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).", | 164 "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).", |
173 "type": "string" | 165 "type": "string" |
174 }, | 166 }, |
175 "videoContext": { | 167 "videoContext": { |
176 "$ref": "GoogleCloudVideointelligenceV1beta1_VideoContext", | 168 "$ref": "GoogleCloudVideointelligenceV1beta1_VideoContext", |
177 "description": "Additional video context and/or feature-spec
ific parameters." | 169 "description": "Additional video context and/or feature-spec
ific parameters." |
178 }, | 170 }, |
179 "locationId": { | 171 "locationId": { |
180 "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.", | 172 "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.", |
181 "type": "string" | 173 "type": "string" |
| 174 }, |
| 175 "inputUri": { |
| 176 "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.", |
| 177 "type": "string" |
| 178 }, |
| 179 "inputContent": { |
| 180 "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.", |
| 181 "type": "string" |
182 } | 182 } |
183 }, | 183 }, |
184 "type": "object" | 184 "type": "object" |
185 }, | 185 }, |
186 "GoogleCloudVideointelligenceV1beta1_LabelLocation": { | 186 "GoogleCloudVideointelligenceV1beta1_LabelLocation": { |
187 "description": "Label location.", | 187 "description": "Label location.", |
188 "id": "GoogleCloudVideointelligenceV1beta1_LabelLocation", | 188 "id": "GoogleCloudVideointelligenceV1beta1_LabelLocation", |
189 "properties": { | 189 "properties": { |
190 "level": { | 190 "level": { |
191 "description": "Label level.", | 191 "description": "Label level.", |
(...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
227 "type": "string" | 227 "type": "string" |
228 }, | 228 }, |
229 "startTimeOffset": { | 229 "startTimeOffset": { |
230 "description": "Start offset in microseconds (inclusive). Un
set means 0.", | 230 "description": "Start offset in microseconds (inclusive). Un
set means 0.", |
231 "format": "int64", | 231 "format": "int64", |
232 "type": "string" | 232 "type": "string" |
233 } | 233 } |
234 }, | 234 }, |
235 "type": "object" | 235 "type": "object" |
236 }, | 236 }, |
| 237 "GoogleCloudVideointelligenceV1_SafeSearchAnnotation": { |
| 238 "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.", |
| 239 "id": "GoogleCloudVideointelligenceV1_SafeSearchAnnotation", |
| 240 "properties": { |
| 241 "time": { |
| 242 "description": "Time-offset, relative to the beginning of th
e video,\ncorresponding to the video frame for this annotation.", |
| 243 "format": "google-duration", |
| 244 "type": "string" |
| 245 }, |
| 246 "adult": { |
| 247 "description": "Likelihood of adult content.", |
| 248 "enum": [ |
| 249 "UNKNOWN", |
| 250 "VERY_UNLIKELY", |
| 251 "UNLIKELY", |
| 252 "POSSIBLE", |
| 253 "LIKELY", |
| 254 "VERY_LIKELY" |
| 255 ], |
| 256 "enumDescriptions": [ |
| 257 "Unknown likelihood.", |
| 258 "Very unlikely.", |
| 259 "Unlikely.", |
| 260 "Possible.", |
| 261 "Likely.", |
| 262 "Very likely." |
| 263 ], |
| 264 "type": "string" |
| 265 } |
| 266 }, |
| 267 "type": "object" |
| 268 }, |
| 269 "GoogleCloudVideointelligenceV1beta1_AnnotateVideoProgress": { |
| 270 "description": "Video annotation progress. Included in the `metadata
`\nfield of the `Operation` returned by the `GetOperation`\ncall of the `google:
:longrunning::Operations` service.", |
| 271 "id": "GoogleCloudVideointelligenceV1beta1_AnnotateVideoProgress", |
| 272 "properties": { |
| 273 "annotationProgress": { |
| 274 "description": "Progress metadata for all videos specified i
n `AnnotateVideoRequest`.", |
| 275 "items": { |
| 276 "$ref": "GoogleCloudVideointelligenceV1beta1_VideoAnnota
tionProgress" |
| 277 }, |
| 278 "type": "array" |
| 279 } |
| 280 }, |
| 281 "type": "object" |
| 282 }, |
| 283 "GoogleCloudVideointelligenceV1_VideoAnnotationProgress": { |
| 284 "description": "Annotation progress for a single video.", |
| 285 "id": "GoogleCloudVideointelligenceV1_VideoAnnotationProgress", |
| 286 "properties": { |
| 287 "inputUri": { |
| 288 "description": "Video file location in\n[Google Cloud Storag
e](https://cloud.google.com/storage/).", |
| 289 "type": "string" |
| 290 }, |
| 291 "progressPercent": { |
| 292 "description": "Approximate percentage processed thus far.\n
Guaranteed to be 100 when fully processed.", |
| 293 "format": "int32", |
| 294 "type": "integer" |
| 295 }, |
| 296 "updateTime": { |
| 297 "description": "Time of the most recent update.", |
| 298 "format": "google-datetime", |
| 299 "type": "string" |
| 300 }, |
| 301 "startTime": { |
| 302 "description": "Time when the request was received.", |
| 303 "format": "google-datetime", |
| 304 "type": "string" |
| 305 } |
| 306 }, |
| 307 "type": "object" |
| 308 }, |
| 309 "GoogleCloudVideointelligenceV1_AnnotateVideoProgress": { |
| 310 "description": "Video annotation progress. Included in the `metadata
`\nfield of the `Operation` returned by the `GetOperation`\ncall of the `google:
:longrunning::Operations` service.", |
| 311 "id": "GoogleCloudVideointelligenceV1_AnnotateVideoProgress", |
| 312 "properties": { |
| 313 "annotationProgress": { |
| 314 "description": "Progress metadata for all videos specified i
n `AnnotateVideoRequest`.", |
| 315 "items": { |
| 316 "$ref": "GoogleCloudVideointelligenceV1_VideoAnnotationP
rogress" |
| 317 }, |
| 318 "type": "array" |
| 319 } |
| 320 }, |
| 321 "type": "object" |
| 322 }, |
| 323 "GoogleCloudVideointelligenceV1_LabelLocation": { |
| 324 "description": "Label location.", |
| 325 "id": "GoogleCloudVideointelligenceV1_LabelLocation", |
| 326 "properties": { |
| 327 "confidence": { |
| 328 "description": "Confidence that the label is accurate. Range
: [0, 1].", |
| 329 "format": "float", |
| 330 "type": "number" |
| 331 }, |
| 332 "segment": { |
| 333 "$ref": "GoogleCloudVideointelligenceV1_VideoSegment", |
| 334 "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
)." |
| 335 }, |
| 336 "level": { |
| 337 "description": "Label level.", |
| 338 "enum": [ |
| 339 "LABEL_LEVEL_UNSPECIFIED", |
| 340 "VIDEO_LEVEL", |
| 341 "SEGMENT_LEVEL", |
| 342 "SHOT_LEVEL", |
| 343 "FRAME_LEVEL" |
| 344 ], |
| 345 "enumDescriptions": [ |
| 346 "Unspecified.", |
| 347 "Video-level. Corresponds to the whole video.", |
| 348 "Segment-level. Corresponds to one of `AnnotateSpec.segm
ents`.", |
| 349 "Shot-level. Corresponds to a single shot (i.e. a series
of frames\nwithout a major camera position or background change).", |
| 350 "Frame-level. Corresponds to a single video frame." |
| 351 ], |
| 352 "type": "string" |
| 353 } |
| 354 }, |
| 355 "type": "object" |
| 356 }, |
| 357 "GoogleCloudVideointelligenceV1_VideoAnnotationResults": { |
| 358 "description": "Annotation results for a single video.", |
| 359 "id": "GoogleCloudVideointelligenceV1_VideoAnnotationResults", |
| 360 "properties": { |
| 361 "error": { |
| 362 "$ref": "GoogleRpc_Status", |
| 363 "description": "If set, indicates an error. Note that for a
single `AnnotateVideoRequest`\nsome videos may succeed and some may fail." |
| 364 }, |
| 365 "shotAnnotations": { |
| 366 "description": "Shot annotations. Each shot is represented a
s a video segment.", |
| 367 "items": { |
| 368 "$ref": "GoogleCloudVideointelligenceV1_VideoSegment" |
| 369 }, |
| 370 "type": "array" |
| 371 }, |
| 372 "safeSearchAnnotations": { |
| 373 "description": "Safe search annotations.", |
| 374 "items": { |
| 375 "$ref": "GoogleCloudVideointelligenceV1_SafeSearchAnnota
tion" |
| 376 }, |
| 377 "type": "array" |
| 378 }, |
| 379 "inputUri": { |
| 380 "description": "Video file location in\n[Google Cloud Storag
e](https://cloud.google.com/storage/).", |
| 381 "type": "string" |
| 382 }, |
| 383 "labelAnnotations": { |
| 384 "description": "Label annotations. There is exactly one elem
ent for each unique label.", |
| 385 "items": { |
| 386 "$ref": "GoogleCloudVideointelligenceV1_LabelAnnotation" |
| 387 }, |
| 388 "type": "array" |
| 389 } |
| 390 }, |
| 391 "type": "object" |
| 392 }, |
237 "GoogleLongrunning_Operation": { | 393 "GoogleLongrunning_Operation": { |
238 "description": "This resource represents a long-running operation th
at is the result of a\nnetwork API call.", | 394 "description": "This resource represents a long-running operation th
at is the result of a\nnetwork API call.", |
239 "id": "GoogleLongrunning_Operation", | 395 "id": "GoogleLongrunning_Operation", |
240 "properties": { | 396 "properties": { |
241 "done": { | 397 "done": { |
242 "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.", | 398 "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.", |
243 "type": "boolean" | 399 "type": "boolean" |
244 }, | 400 }, |
245 "response": { | 401 "response": { |
246 "additionalProperties": { | 402 "additionalProperties": { |
(...skipping 19 matching lines...) Expand all Loading... |
266 "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.
", | 422 "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.
", |
267 "type": "object" | 423 "type": "object" |
268 } | 424 } |
269 }, | 425 }, |
270 "type": "object" | 426 "type": "object" |
271 }, | 427 }, |
272 "GoogleCloudVideointelligenceV1beta1_VideoAnnotationResults": { | 428 "GoogleCloudVideointelligenceV1beta1_VideoAnnotationResults": { |
273 "description": "Annotation results for a single video.", | 429 "description": "Annotation results for a single video.", |
274 "id": "GoogleCloudVideointelligenceV1beta1_VideoAnnotationResults", | 430 "id": "GoogleCloudVideointelligenceV1beta1_VideoAnnotationResults", |
275 "properties": { | 431 "properties": { |
276 "inputUri": { | |
277 "description": "Video file location in\n[Google Cloud Storag
e](https://cloud.google.com/storage/).", | |
278 "type": "string" | |
279 }, | |
280 "labelAnnotations": { | |
281 "description": "Label annotations. There is exactly one elem
ent for each unique label.", | |
282 "items": { | |
283 "$ref": "GoogleCloudVideointelligenceV1beta1_LabelAnnota
tion" | |
284 }, | |
285 "type": "array" | |
286 }, | |
287 "error": { | 432 "error": { |
288 "$ref": "GoogleRpc_Status", | 433 "$ref": "GoogleRpc_Status", |
289 "description": "If set, indicates an error. Note that for a
single `AnnotateVideoRequest`\nsome videos may succeed and some may fail." | 434 "description": "If set, indicates an error. Note that for a
single `AnnotateVideoRequest`\nsome videos may succeed and some may fail." |
290 }, | 435 }, |
291 "shotAnnotations": { | 436 "shotAnnotations": { |
292 "description": "Shot annotations. Each shot is represented a
s a video segment.", | 437 "description": "Shot annotations. Each shot is represented a
s a video segment.", |
293 "items": { | 438 "items": { |
294 "$ref": "GoogleCloudVideointelligenceV1beta1_VideoSegmen
t" | 439 "$ref": "GoogleCloudVideointelligenceV1beta1_VideoSegmen
t" |
295 }, | 440 }, |
296 "type": "array" | 441 "type": "array" |
| 442 }, |
| 443 "inputUri": { |
| 444 "description": "Video file location in\n[Google Cloud Storag
e](https://cloud.google.com/storage/).", |
| 445 "type": "string" |
| 446 }, |
| 447 "labelAnnotations": { |
| 448 "description": "Label annotations. There is exactly one elem
ent for each unique label.", |
| 449 "items": { |
| 450 "$ref": "GoogleCloudVideointelligenceV1beta1_LabelAnnota
tion" |
| 451 }, |
| 452 "type": "array" |
297 } | 453 } |
298 }, | 454 }, |
299 "type": "object" | 455 "type": "object" |
300 }, | 456 }, |
301 "GoogleCloudVideointelligenceV1beta1_LabelAnnotation": { | 457 "GoogleCloudVideointelligenceV1beta1_LabelAnnotation": { |
302 "description": "Label annotation.", | 458 "description": "Label annotation.", |
303 "id": "GoogleCloudVideointelligenceV1beta1_LabelAnnotation", | 459 "id": "GoogleCloudVideointelligenceV1beta1_LabelAnnotation", |
304 "properties": { | 460 "properties": { |
305 "description": { | 461 "description": { |
306 "description": "Textual description, e.g. `Fixed-gear bicycl
e`.", | 462 "description": "Textual description, e.g. `Fixed-gear bicycl
e`.", |
307 "type": "string" | 463 "type": "string" |
308 }, | 464 }, |
309 "locations": { | 465 "locations": { |
310 "description": "Where the label was detected and with what c
onfidence.", | 466 "description": "Where the label was detected and with what c
onfidence.", |
311 "items": { | 467 "items": { |
312 "$ref": "GoogleCloudVideointelligenceV1beta1_LabelLocati
on" | 468 "$ref": "GoogleCloudVideointelligenceV1beta1_LabelLocati
on" |
313 }, | 469 }, |
314 "type": "array" | 470 "type": "array" |
315 }, | 471 }, |
316 "languageCode": { | 472 "languageCode": { |
317 "description": "Language code for `description` in BCP-47 fo
rmat.", | 473 "description": "Language code for `description` in BCP-47 fo
rmat.", |
318 "type": "string" | 474 "type": "string" |
319 } | 475 } |
320 }, | 476 }, |
321 "type": "object" | 477 "type": "object" |
322 }, | 478 }, |
| 479 "GoogleCloudVideointelligenceV1_AnnotateVideoResponse": { |
| 480 "description": "Video annotation response. Included in the `response
`\nfield of the `Operation` returned by the `GetOperation`\ncall of the `google:
:longrunning::Operations` service.", |
| 481 "id": "GoogleCloudVideointelligenceV1_AnnotateVideoResponse", |
| 482 "properties": { |
| 483 "annotationResults": { |
| 484 "description": "Annotation results for all videos specified
in `AnnotateVideoRequest`.", |
| 485 "items": { |
| 486 "$ref": "GoogleCloudVideointelligenceV1_VideoAnnotationR
esults" |
| 487 }, |
| 488 "type": "array" |
| 489 } |
| 490 }, |
| 491 "type": "object" |
| 492 }, |
323 "GoogleCloudVideointelligenceV1beta1_AnnotateVideoResponse": { | 493 "GoogleCloudVideointelligenceV1beta1_AnnotateVideoResponse": { |
324 "description": "Video annotation response. Included in the `response
`\nfield of the `Operation` returned by the `GetOperation`\ncall of the `google:
:longrunning::Operations` service.", | 494 "description": "Video annotation response. Included in the `response
`\nfield of the `Operation` returned by the `GetOperation`\ncall of the `google:
:longrunning::Operations` service.", |
325 "id": "GoogleCloudVideointelligenceV1beta1_AnnotateVideoResponse", | 495 "id": "GoogleCloudVideointelligenceV1beta1_AnnotateVideoResponse", |
326 "properties": { | 496 "properties": { |
327 "annotationResults": { | 497 "annotationResults": { |
328 "description": "Annotation results for all videos specified
in `AnnotateVideoRequest`.", | 498 "description": "Annotation results for all videos specified
in `AnnotateVideoRequest`.", |
329 "items": { | 499 "items": { |
330 "$ref": "GoogleCloudVideointelligenceV1beta1_VideoAnnota
tionResults" | 500 "$ref": "GoogleCloudVideointelligenceV1beta1_VideoAnnota
tionResults" |
331 }, | 501 }, |
332 "type": "array" | 502 "type": "array" |
333 } | 503 } |
334 }, | 504 }, |
335 "type": "object" | 505 "type": "object" |
336 }, | 506 }, |
| 507 "GoogleCloudVideointelligenceV1_LabelAnnotation": { |
| 508 "description": "Label annotation.", |
| 509 "id": "GoogleCloudVideointelligenceV1_LabelAnnotation", |
| 510 "properties": { |
| 511 "languageCode": { |
| 512 "description": "Language code for `description` in BCP-47 fo
rmat.", |
| 513 "type": "string" |
| 514 }, |
| 515 "description": { |
| 516 "description": "Textual description, e.g. `Fixed-gear bicycl
e`.", |
| 517 "type": "string" |
| 518 }, |
| 519 "locations": { |
| 520 "description": "Where the label was detected and with what c
onfidence.", |
| 521 "items": { |
| 522 "$ref": "GoogleCloudVideointelligenceV1_LabelLocation" |
| 523 }, |
| 524 "type": "array" |
| 525 } |
| 526 }, |
| 527 "type": "object" |
| 528 }, |
337 "GoogleCloudVideointelligenceV1beta1_VideoContext": { | 529 "GoogleCloudVideointelligenceV1beta1_VideoContext": { |
338 "description": "Video context and/or feature-specific parameters.", | 530 "description": "Video context and/or feature-specific parameters.", |
339 "id": "GoogleCloudVideointelligenceV1beta1_VideoContext", | 531 "id": "GoogleCloudVideointelligenceV1beta1_VideoContext", |
340 "properties": { | 532 "properties": { |
341 "shotChangeDetectionModel": { | 533 "shotChangeDetectionModel": { |
342 "description": "Model to use for shot change detection.\nSup
ported values: \"latest\" and \"stable\" (the default).", | 534 "description": "Model to use for shot change detection.\nSup
ported values: \"latest\" and \"stable\" (the default).", |
343 "type": "string" | 535 "type": "string" |
344 }, | 536 }, |
345 "segments": { | 537 "segments": { |
346 "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.", | 538 "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.", |
(...skipping 18 matching lines...) Expand all Loading... |
365 "Unspecified.", | 557 "Unspecified.", |
366 "Detect shot-level labels.", | 558 "Detect shot-level labels.", |
367 "Detect frame-level labels.", | 559 "Detect frame-level labels.", |
368 "Detect both shot-level and frame-level labels." | 560 "Detect both shot-level and frame-level labels." |
369 ], | 561 ], |
370 "type": "string" | 562 "type": "string" |
371 } | 563 } |
372 }, | 564 }, |
373 "type": "object" | 565 "type": "object" |
374 }, | 566 }, |
| 567 "GoogleRpc_Status": { |
| 568 "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.", |
| 569 "id": "GoogleRpc_Status", |
| 570 "properties": { |
| 571 "details": { |
| 572 "description": "A list of messages that carry the error deta
ils. There will be a\ncommon set of message types for APIs to use.", |
| 573 "items": { |
| 574 "additionalProperties": { |
| 575 "description": "Properties of the object. Contains f
ield @type with type URL.", |
| 576 "type": "any" |
| 577 }, |
| 578 "type": "object" |
| 579 }, |
| 580 "type": "array" |
| 581 }, |
| 582 "code": { |
| 583 "description": "The status code, which should be an enum val
ue of google.rpc.Code.", |
| 584 "format": "int32", |
| 585 "type": "integer" |
| 586 }, |
| 587 "message": { |
| 588 "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.", |
| 589 "type": "string" |
| 590 } |
| 591 }, |
| 592 "type": "object" |
| 593 }, |
375 "GoogleCloudVideointelligenceV1beta1_VideoAnnotationProgress": { | 594 "GoogleCloudVideointelligenceV1beta1_VideoAnnotationProgress": { |
376 "description": "Annotation progress for a single video.", | 595 "description": "Annotation progress for a single video.", |
377 "id": "GoogleCloudVideointelligenceV1beta1_VideoAnnotationProgress", | 596 "id": "GoogleCloudVideointelligenceV1beta1_VideoAnnotationProgress", |
378 "properties": { | 597 "properties": { |
379 "updateTime": { | |
380 "description": "Time of the most recent update.", | |
381 "format": "google-datetime", | |
382 "type": "string" | |
383 }, | |
384 "startTime": { | |
385 "description": "Time when the request was received.", | |
386 "format": "google-datetime", | |
387 "type": "string" | |
388 }, | |
389 "inputUri": { | 598 "inputUri": { |
390 "description": "Video file location in\n[Google Cloud Storag
e](https://cloud.google.com/storage/).", | 599 "description": "Video file location in\n[Google Cloud Storag
e](https://cloud.google.com/storage/).", |
391 "type": "string" | 600 "type": "string" |
392 }, | 601 }, |
393 "progressPercent": { | 602 "progressPercent": { |
394 "description": "Approximate percentage processed thus far.\n
Guaranteed to be 100 when fully processed.", | 603 "description": "Approximate percentage processed thus far.\n
Guaranteed to be 100 when fully processed.", |
395 "format": "int32", | 604 "format": "int32", |
396 "type": "integer" | 605 "type": "integer" |
| 606 }, |
| 607 "updateTime": { |
| 608 "description": "Time of the most recent update.", |
| 609 "format": "google-datetime", |
| 610 "type": "string" |
| 611 }, |
| 612 "startTime": { |
| 613 "description": "Time when the request was received.", |
| 614 "format": "google-datetime", |
| 615 "type": "string" |
397 } | 616 } |
398 }, | 617 }, |
399 "type": "object" | 618 "type": "object" |
400 }, | 619 }, |
401 "GoogleRpc_Status": { | 620 "GoogleCloudVideointelligenceV1_VideoSegment": { |
402 "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.", | 621 "description": "Video segment.", |
403 "id": "GoogleRpc_Status", | 622 "id": "GoogleCloudVideointelligenceV1_VideoSegment", |
404 "properties": { | 623 "properties": { |
405 "code": { | 624 "startTime": { |
406 "description": "The status code, which should be an enum val
ue of google.rpc.Code.", | 625 "description": "Time-offset, relative to the beginning of th
e video,\ncorresponding to the start of the segment (inclusive).", |
407 "format": "int32", | 626 "format": "google-duration", |
408 "type": "integer" | |
409 }, | |
410 "message": { | |
411 "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.", | |
412 "type": "string" | 627 "type": "string" |
413 }, | 628 }, |
414 "details": { | 629 "endTime": { |
415 "description": "A list of messages that carry the error deta
ils. There will be a\ncommon set of message types for APIs to use.", | 630 "description": "Time-offset, relative to the beginning of th
e video,\ncorresponding to the end of the segment (inclusive).", |
416 "items": { | 631 "format": "google-duration", |
417 "additionalProperties": { | 632 "type": "string" |
418 "description": "Properties of the object. Contains f
ield @type with type URL.", | |
419 "type": "any" | |
420 }, | |
421 "type": "object" | |
422 }, | |
423 "type": "array" | |
424 } | 633 } |
425 }, | 634 }, |
426 "type": "object" | 635 "type": "object" |
427 }, | |
428 "GoogleCloudVideointelligenceV1beta1_AnnotateVideoProgress": { | |
429 "description": "Video annotation progress. Included in the `metadata
`\nfield of the `Operation` returned by the `GetOperation`\ncall of the `google:
:longrunning::Operations` service.", | |
430 "id": "GoogleCloudVideointelligenceV1beta1_AnnotateVideoProgress", | |
431 "properties": { | |
432 "annotationProgress": { | |
433 "description": "Progress metadata for all videos specified i
n `AnnotateVideoRequest`.", | |
434 "items": { | |
435 "$ref": "GoogleCloudVideointelligenceV1beta1_VideoAnnota
tionProgress" | |
436 }, | |
437 "type": "array" | |
438 } | |
439 }, | |
440 "type": "object" | |
441 } | 636 } |
442 }, | 637 }, |
443 "servicePath": "", | 638 "servicePath": "", |
444 "title": "Google Cloud Video Intelligence API", | 639 "title": "Google Cloud Video Intelligence API", |
445 "version": "v1beta1" | 640 "version": "v1beta1" |
446 } | 641 } |
OLD | NEW |