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 "access_token": { |
| 29 "description": "OAuth access token.", |
| 30 "location": "query", |
| 31 "type": "string" |
| 32 }, |
28 "key": { | 33 "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.", | 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.", |
30 "location": "query", | 35 "location": "query", |
31 "type": "string" | 36 "type": "string" |
32 }, | 37 }, |
33 "access_token": { | |
34 "description": "OAuth access token.", | |
35 "location": "query", | |
36 "type": "string" | |
37 }, | |
38 "quotaUser": { | 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.", | 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", | 40 "location": "query", |
41 "type": "string" | 41 "type": "string" |
42 }, | 42 }, |
43 "pp": { | 43 "pp": { |
44 "default": "true", | 44 "default": "true", |
45 "description": "Pretty-print response.", | 45 "description": "Pretty-print response.", |
46 "location": "query", | 46 "location": "query", |
47 "type": "boolean" | 47 "type": "boolean" |
(...skipping 81 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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": "20170807", | 139 "revision": "20170908", |
140 "rootUrl": "https://videointelligence.googleapis.com/", | 140 "rootUrl": "https://videointelligence.googleapis.com/", |
141 "schemas": { | 141 "schemas": { |
142 "GoogleCloudVideointelligenceV1beta1_AnnotateVideoRequest": { | 142 "GoogleCloudVideointelligenceV1beta2_AnnotateVideoProgress": { |
143 "description": "Video annotation request.", | 143 "description": "Video annotation progress. Included in the `metadata
`\nfield of the `Operation` returned by the `GetOperation`\ncall of the `google:
:longrunning::Operations` service.", |
144 "id": "GoogleCloudVideointelligenceV1beta1_AnnotateVideoRequest", | 144 "id": "GoogleCloudVideointelligenceV1beta2_AnnotateVideoProgress", |
145 "properties": { | 145 "properties": { |
146 "videoContext": { | 146 "annotationProgress": { |
147 "$ref": "GoogleCloudVideointelligenceV1beta1_VideoContext", | 147 "description": "Progress metadata for all videos specified i
n `AnnotateVideoRequest`.", |
148 "description": "Additional video context and/or feature-spec
ific parameters." | 148 "items": { |
149 }, | 149 "$ref": "GoogleCloudVideointelligenceV1beta2_VideoAnnota
tionProgress" |
150 "locationId": { | 150 }, |
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.", | 151 "type": "array" |
152 "type": "string" | 152 } |
153 }, | 153 }, |
154 "inputUri": { | 154 "type": "object" |
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.", | 155 }, |
156 "type": "string" | 156 "GoogleCloudVideointelligenceV1_VideoAnnotationProgress": { |
157 }, | 157 "description": "Annotation progress for a single video.", |
158 "inputContent": { | 158 "id": "GoogleCloudVideointelligenceV1_VideoAnnotationProgress", |
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.", | 159 "properties": { |
160 "type": "string" | 160 "inputUri": { |
161 }, | 161 "description": "Video file location in\n[Google Cloud Storag
e](https://cloud.google.com/storage/).", |
162 "features": { | 162 "type": "string" |
163 "description": "Requested video annotation features.", | 163 }, |
164 "enumDescriptions": [ | 164 "progressPercent": { |
165 "Unspecified.", | 165 "description": "Approximate percentage processed thus far.\n
Guaranteed to be 100 when fully processed.", |
166 "Label detection. Detect objects, such as dog or flower.
", | 166 "format": "int32", |
167 "Shot change detection.", | 167 "type": "integer" |
168 "Safe search detection." | 168 }, |
169 ], | 169 "updateTime": { |
170 "items": { | 170 "description": "Time of the most recent update.", |
171 "enum": [ | 171 "format": "google-datetime", |
172 "FEATURE_UNSPECIFIED", | 172 "type": "string" |
173 "LABEL_DETECTION", | 173 }, |
174 "SHOT_CHANGE_DETECTION", | 174 "startTime": { |
175 "SAFE_SEARCH_DETECTION" | 175 "description": "Time when the request was received.", |
176 ], | 176 "format": "google-datetime", |
177 "type": "string" | 177 "type": "string" |
178 }, | 178 } |
179 "type": "array" | 179 }, |
180 }, | 180 "type": "object" |
181 "outputUri": { | 181 }, |
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).", | 182 "GoogleCloudVideointelligenceV1_AnnotateVideoProgress": { |
183 "type": "string" | 183 "description": "Video annotation progress. Included in the `metadata
`\nfield of the `Operation` returned by the `GetOperation`\ncall of the `google:
:longrunning::Operations` service.", |
184 } | 184 "id": "GoogleCloudVideointelligenceV1_AnnotateVideoProgress", |
185 }, | 185 "properties": { |
186 "type": "object" | 186 "annotationProgress": { |
187 }, | 187 "description": "Progress metadata for all videos specified i
n `AnnotateVideoRequest`.", |
188 "GoogleCloudVideointelligenceV1beta1_LabelLocation": { | 188 "items": { |
189 "description": "Label location.", | 189 "$ref": "GoogleCloudVideointelligenceV1_VideoAnnotationP
rogress" |
190 "id": "GoogleCloudVideointelligenceV1beta1_LabelLocation", | 190 }, |
191 "properties": { | 191 "type": "array" |
192 "confidence": { | 192 } |
193 "description": "Confidence that the label is accurate. Range
: [0, 1].", | 193 }, |
194 "format": "float", | 194 "type": "object" |
195 "type": "number" | 195 }, |
196 }, | 196 "GoogleLongrunning_Operation": { |
197 "segment": { | 197 "description": "This resource represents a long-running operation th
at is the result of a\nnetwork API call.", |
198 "$ref": "GoogleCloudVideointelligenceV1beta1_VideoSegment", | 198 "id": "GoogleLongrunning_Operation", |
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)." | 199 "properties": { |
200 }, | 200 "error": { |
201 "level": { | 201 "$ref": "GoogleRpc_Status", |
202 "description": "Label level.", | 202 "description": "The error result of the operation in case of
failure or cancellation." |
| 203 }, |
| 204 "metadata": { |
| 205 "additionalProperties": { |
| 206 "description": "Properties of the object. Contains field
@type with type URL.", |
| 207 "type": "any" |
| 208 }, |
| 209 "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.
", |
| 210 "type": "object" |
| 211 }, |
| 212 "done": { |
| 213 "description": "If the value is `false`, it means the operat
ion is still in progress.\nIf `true`, the operation is completed, and either `er
ror` or `response` is\navailable.", |
| 214 "type": "boolean" |
| 215 }, |
| 216 "response": { |
| 217 "additionalProperties": { |
| 218 "description": "Properties of the object. Contains field
@type with type URL.", |
| 219 "type": "any" |
| 220 }, |
| 221 "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`.", |
| 222 "type": "object" |
| 223 }, |
| 224 "name": { |
| 225 "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`
.", |
| 226 "type": "string" |
| 227 } |
| 228 }, |
| 229 "type": "object" |
| 230 }, |
| 231 "GoogleCloudVideointelligenceV1beta2_VideoAnnotationProgress": { |
| 232 "description": "Annotation progress for a single video.", |
| 233 "id": "GoogleCloudVideointelligenceV1beta2_VideoAnnotationProgress", |
| 234 "properties": { |
| 235 "inputUri": { |
| 236 "description": "Video file location in\n[Google Cloud Storag
e](https://cloud.google.com/storage/).", |
| 237 "type": "string" |
| 238 }, |
| 239 "progressPercent": { |
| 240 "description": "Approximate percentage processed thus far.\n
Guaranteed to be 100 when fully processed.", |
| 241 "format": "int32", |
| 242 "type": "integer" |
| 243 }, |
| 244 "updateTime": { |
| 245 "description": "Time of the most recent update.", |
| 246 "format": "google-datetime", |
| 247 "type": "string" |
| 248 }, |
| 249 "startTime": { |
| 250 "description": "Time when the request was received.", |
| 251 "format": "google-datetime", |
| 252 "type": "string" |
| 253 } |
| 254 }, |
| 255 "type": "object" |
| 256 }, |
| 257 "GoogleCloudVideointelligenceV1beta1_VideoAnnotationResults": { |
| 258 "description": "Annotation results for a single video.", |
| 259 "id": "GoogleCloudVideointelligenceV1beta1_VideoAnnotationResults", |
| 260 "properties": { |
| 261 "labelAnnotations": { |
| 262 "description": "Label annotations. There is exactly one elem
ent for each unique label.", |
| 263 "items": { |
| 264 "$ref": "GoogleCloudVideointelligenceV1beta1_LabelAnnota
tion" |
| 265 }, |
| 266 "type": "array" |
| 267 }, |
| 268 "error": { |
| 269 "$ref": "GoogleRpc_Status", |
| 270 "description": "If set, indicates an error. Note that for a
single `AnnotateVideoRequest`\nsome videos may succeed and some may fail." |
| 271 }, |
| 272 "shotAnnotations": { |
| 273 "description": "Shot annotations. Each shot is represented a
s a video segment.", |
| 274 "items": { |
| 275 "$ref": "GoogleCloudVideointelligenceV1beta1_VideoSegmen
t" |
| 276 }, |
| 277 "type": "array" |
| 278 }, |
| 279 "safeSearchAnnotations": { |
| 280 "description": "Safe search annotations.", |
| 281 "items": { |
| 282 "$ref": "GoogleCloudVideointelligenceV1beta1_SafeSearchA
nnotation" |
| 283 }, |
| 284 "type": "array" |
| 285 }, |
| 286 "inputUri": { |
| 287 "description": "Video file location in\n[Google Cloud Storag
e](https://cloud.google.com/storage/).", |
| 288 "type": "string" |
| 289 } |
| 290 }, |
| 291 "type": "object" |
| 292 }, |
| 293 "GoogleCloudVideointelligenceV1_AnnotateVideoResponse": { |
| 294 "description": "Video annotation response. Included in the `response
`\nfield of the `Operation` returned by the `GetOperation`\ncall of the `google:
:longrunning::Operations` service.", |
| 295 "id": "GoogleCloudVideointelligenceV1_AnnotateVideoResponse", |
| 296 "properties": { |
| 297 "annotationResults": { |
| 298 "description": "Annotation results for all videos specified
in `AnnotateVideoRequest`.", |
| 299 "items": { |
| 300 "$ref": "GoogleCloudVideointelligenceV1_VideoAnnotationR
esults" |
| 301 }, |
| 302 "type": "array" |
| 303 } |
| 304 }, |
| 305 "type": "object" |
| 306 }, |
| 307 "GoogleCloudVideointelligenceV1beta1_AnnotateVideoResponse": { |
| 308 "description": "Video annotation response. Included in the `response
`\nfield of the `Operation` returned by the `GetOperation`\ncall of the `google:
:longrunning::Operations` service.", |
| 309 "id": "GoogleCloudVideointelligenceV1beta1_AnnotateVideoResponse", |
| 310 "properties": { |
| 311 "annotationResults": { |
| 312 "description": "Annotation results for all videos specified
in `AnnotateVideoRequest`.", |
| 313 "items": { |
| 314 "$ref": "GoogleCloudVideointelligenceV1beta1_VideoAnnota
tionResults" |
| 315 }, |
| 316 "type": "array" |
| 317 } |
| 318 }, |
| 319 "type": "object" |
| 320 }, |
| 321 "GoogleCloudVideointelligenceV1beta1_VideoAnnotationProgress": { |
| 322 "description": "Annotation progress for a single video.", |
| 323 "id": "GoogleCloudVideointelligenceV1beta1_VideoAnnotationProgress", |
| 324 "properties": { |
| 325 "progressPercent": { |
| 326 "description": "Approximate percentage processed thus far.\n
Guaranteed to be 100 when fully processed.", |
| 327 "format": "int32", |
| 328 "type": "integer" |
| 329 }, |
| 330 "updateTime": { |
| 331 "description": "Time of the most recent update.", |
| 332 "format": "google-datetime", |
| 333 "type": "string" |
| 334 }, |
| 335 "startTime": { |
| 336 "description": "Time when the request was received.", |
| 337 "format": "google-datetime", |
| 338 "type": "string" |
| 339 }, |
| 340 "inputUri": { |
| 341 "description": "Video file location in\n[Google Cloud Storag
e](https://cloud.google.com/storage/).", |
| 342 "type": "string" |
| 343 } |
| 344 }, |
| 345 "type": "object" |
| 346 }, |
| 347 "GoogleCloudVideointelligenceV1beta2_ExplicitContentFrame": { |
| 348 "description": "Video frame level annotation results for explicit co
ntent.", |
| 349 "id": "GoogleCloudVideointelligenceV1beta2_ExplicitContentFrame", |
| 350 "properties": { |
| 351 "pornographyLikelihood": { |
| 352 "description": "Likelihood of the pornography content..", |
203 "enum": [ | 353 "enum": [ |
204 "LABEL_LEVEL_UNSPECIFIED", | 354 "LIKELIHOOD_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 }, | |
239 "GoogleCloudVideointelligenceV1_SafeSearchAnnotation": { | |
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.", | |
241 "id": "GoogleCloudVideointelligenceV1_SafeSearchAnnotation", | |
242 "properties": { | |
243 "time": { | |
244 "description": "Time-offset, relative to the beginning of th
e video,\ncorresponding to the video frame for this annotation.", | |
245 "format": "google-duration", | |
246 "type": "string" | |
247 }, | |
248 "adult": { | |
249 "description": "Likelihood of adult content.", | |
250 "enum": [ | |
251 "UNKNOWN", | |
252 "VERY_UNLIKELY", | 355 "VERY_UNLIKELY", |
253 "UNLIKELY", | 356 "UNLIKELY", |
254 "POSSIBLE", | 357 "POSSIBLE", |
255 "LIKELY", | 358 "LIKELY", |
256 "VERY_LIKELY" | 359 "VERY_LIKELY" |
257 ], | 360 ], |
258 "enumDescriptions": [ | 361 "enumDescriptions": [ |
259 "Unknown likelihood.", | 362 "Unspecified likelihood.", |
260 "Very unlikely.", | 363 "Very unlikely.", |
261 "Unlikely.", | 364 "Unlikely.", |
262 "Possible.", | 365 "Possible.", |
263 "Likely.", | 366 "Likely.", |
264 "Very likely." | 367 "Very likely." |
265 ], | 368 ], |
266 "type": "string" | 369 "type": "string" |
| 370 }, |
| 371 "timeOffset": { |
| 372 "description": "Time-offset, relative to the beginning of th
e video, corresponding to the\nvideo frame for this location.", |
| 373 "format": "google-duration", |
| 374 "type": "string" |
| 375 } |
| 376 }, |
| 377 "type": "object" |
| 378 }, |
| 379 "GoogleCloudVideointelligenceV1beta1_AnnotateVideoRequest": { |
| 380 "description": "Video annotation request.", |
| 381 "id": "GoogleCloudVideointelligenceV1beta1_AnnotateVideoRequest", |
| 382 "properties": { |
| 383 "inputContent": { |
| 384 "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.", |
| 385 "type": "string" |
| 386 }, |
| 387 "features": { |
| 388 "description": "Requested video annotation features.", |
| 389 "enumDescriptions": [ |
| 390 "Unspecified.", |
| 391 "Label detection. Detect objects, such as dog or flower.
", |
| 392 "Shot change detection.", |
| 393 "Safe search detection." |
| 394 ], |
| 395 "items": { |
| 396 "enum": [ |
| 397 "FEATURE_UNSPECIFIED", |
| 398 "LABEL_DETECTION", |
| 399 "SHOT_CHANGE_DETECTION", |
| 400 "SAFE_SEARCH_DETECTION" |
| 401 ], |
| 402 "type": "string" |
| 403 }, |
| 404 "type": "array" |
| 405 }, |
| 406 "outputUri": { |
| 407 "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).", |
| 408 "type": "string" |
| 409 }, |
| 410 "videoContext": { |
| 411 "$ref": "GoogleCloudVideointelligenceV1beta1_VideoContext", |
| 412 "description": "Additional video context and/or feature-spec
ific parameters." |
| 413 }, |
| 414 "locationId": { |
| 415 "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.", |
| 416 "type": "string" |
| 417 }, |
| 418 "inputUri": { |
| 419 "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.", |
| 420 "type": "string" |
| 421 } |
| 422 }, |
| 423 "type": "object" |
| 424 }, |
| 425 "GoogleCloudVideointelligenceV1beta1_VideoSegment": { |
| 426 "description": "Video segment.", |
| 427 "id": "GoogleCloudVideointelligenceV1beta1_VideoSegment", |
| 428 "properties": { |
| 429 "endTimeOffset": { |
| 430 "description": "End offset in microseconds (inclusive). Unse
t means 0.", |
| 431 "format": "int64", |
| 432 "type": "string" |
| 433 }, |
| 434 "startTimeOffset": { |
| 435 "description": "Start offset in microseconds (inclusive). Un
set means 0.", |
| 436 "format": "int64", |
| 437 "type": "string" |
| 438 } |
| 439 }, |
| 440 "type": "object" |
| 441 }, |
| 442 "GoogleCloudVideointelligenceV1beta2_LabelSegment": { |
| 443 "description": "Video segment level annotation results for label det
ection.", |
| 444 "id": "GoogleCloudVideointelligenceV1beta2_LabelSegment", |
| 445 "properties": { |
| 446 "confidence": { |
| 447 "description": "Confidence that the label is accurate. Range
: [0, 1].", |
| 448 "format": "float", |
| 449 "type": "number" |
| 450 }, |
| 451 "segment": { |
| 452 "$ref": "GoogleCloudVideointelligenceV1beta2_VideoSegment", |
| 453 "description": "Video segment where a label was detected." |
| 454 } |
| 455 }, |
| 456 "type": "object" |
| 457 }, |
| 458 "GoogleCloudVideointelligenceV1_SafeSearchAnnotation": { |
| 459 "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.", |
| 460 "id": "GoogleCloudVideointelligenceV1_SafeSearchAnnotation", |
| 461 "properties": { |
| 462 "time": { |
| 463 "description": "Time-offset, relative to the beginning of th
e video,\ncorresponding to the video frame for this annotation.", |
| 464 "format": "google-duration", |
| 465 "type": "string" |
| 466 }, |
| 467 "adult": { |
| 468 "description": "Likelihood of adult content.", |
| 469 "enum": [ |
| 470 "UNKNOWN", |
| 471 "VERY_UNLIKELY", |
| 472 "UNLIKELY", |
| 473 "POSSIBLE", |
| 474 "LIKELY", |
| 475 "VERY_LIKELY" |
| 476 ], |
| 477 "enumDescriptions": [ |
| 478 "Unknown likelihood.", |
| 479 "Very unlikely.", |
| 480 "Unlikely.", |
| 481 "Possible.", |
| 482 "Likely.", |
| 483 "Very likely." |
| 484 ], |
| 485 "type": "string" |
267 } | 486 } |
268 }, | 487 }, |
269 "type": "object" | 488 "type": "object" |
| 489 }, |
| 490 "GoogleCloudVideointelligenceV1beta2_LabelAnnotation": { |
| 491 "description": "Label annotation.", |
| 492 "id": "GoogleCloudVideointelligenceV1beta2_LabelAnnotation", |
| 493 "properties": { |
| 494 "entity": { |
| 495 "$ref": "GoogleCloudVideointelligenceV1beta2_Entity", |
| 496 "description": "Detected entity." |
| 497 }, |
| 498 "frames": { |
| 499 "description": "All video frames where a label was detected.
", |
| 500 "items": { |
| 501 "$ref": "GoogleCloudVideointelligenceV1beta2_LabelFrame" |
| 502 }, |
| 503 "type": "array" |
| 504 }, |
| 505 "segments": { |
| 506 "description": "All video segments where a label was detecte
d.", |
| 507 "items": { |
| 508 "$ref": "GoogleCloudVideointelligenceV1beta2_LabelSegmen
t" |
| 509 }, |
| 510 "type": "array" |
| 511 }, |
| 512 "categoryEntities": { |
| 513 "description": "Common categories for the detected entity.\n
E.g. when the label is `Terrier` the category is likely `dog`. And in some\ncase
s there might be more than one categories e.g. `Terrier` could also be\na `pet`.
", |
| 514 "items": { |
| 515 "$ref": "GoogleCloudVideointelligenceV1beta2_Entity" |
| 516 }, |
| 517 "type": "array" |
| 518 } |
| 519 }, |
| 520 "type": "object" |
270 }, | 521 }, |
271 "GoogleCloudVideointelligenceV1beta1_SafeSearchAnnotation": { | 522 "GoogleCloudVideointelligenceV1beta1_SafeSearchAnnotation": { |
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.", | 523 "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.", |
273 "id": "GoogleCloudVideointelligenceV1beta1_SafeSearchAnnotation", | 524 "id": "GoogleCloudVideointelligenceV1beta1_SafeSearchAnnotation", |
274 "properties": { | 525 "properties": { |
275 "adult": { | 526 "adult": { |
276 "description": "Likelihood of adult content.", | 527 "description": "Likelihood of adult content.", |
277 "enum": [ | 528 "enum": [ |
278 "UNKNOWN", | 529 "UNKNOWN", |
279 "VERY_UNLIKELY", | 530 "VERY_UNLIKELY", |
(...skipping 93 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
373 "Unlikely.", | 624 "Unlikely.", |
374 "Possible.", | 625 "Possible.", |
375 "Likely.", | 626 "Likely.", |
376 "Very likely." | 627 "Very likely." |
377 ], | 628 ], |
378 "type": "string" | 629 "type": "string" |
379 } | 630 } |
380 }, | 631 }, |
381 "type": "object" | 632 "type": "object" |
382 }, | 633 }, |
383 "GoogleCloudVideointelligenceV1_VideoAnnotationProgress": { | |
384 "description": "Annotation progress for a single video.", | |
385 "id": "GoogleCloudVideointelligenceV1_VideoAnnotationProgress", | |
386 "properties": { | |
387 "updateTime": { | |
388 "description": "Time of the most recent update.", | |
389 "format": "google-datetime", | |
390 "type": "string" | |
391 }, | |
392 "startTime": { | |
393 "description": "Time when the request was received.", | |
394 "format": "google-datetime", | |
395 "type": "string" | |
396 }, | |
397 "inputUri": { | |
398 "description": "Video file location in\n[Google Cloud Storag
e](https://cloud.google.com/storage/).", | |
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" | |
405 } | |
406 }, | |
407 "type": "object" | |
408 }, | |
409 "GoogleCloudVideointelligenceV1beta1_AnnotateVideoProgress": { | 634 "GoogleCloudVideointelligenceV1beta1_AnnotateVideoProgress": { |
410 "description": "Video annotation progress. Included in the `metadata
`\nfield of the `Operation` returned by the `GetOperation`\ncall of the `google:
:longrunning::Operations` service.", | 635 "description": "Video annotation progress. Included in the `metadata
`\nfield of the `Operation` returned by the `GetOperation`\ncall of the `google:
:longrunning::Operations` service.", |
411 "id": "GoogleCloudVideointelligenceV1beta1_AnnotateVideoProgress", | 636 "id": "GoogleCloudVideointelligenceV1beta1_AnnotateVideoProgress", |
412 "properties": { | 637 "properties": { |
413 "annotationProgress": { | 638 "annotationProgress": { |
414 "description": "Progress metadata for all videos specified i
n `AnnotateVideoRequest`.", | 639 "description": "Progress metadata for all videos specified i
n `AnnotateVideoRequest`.", |
415 "items": { | 640 "items": { |
416 "$ref": "GoogleCloudVideointelligenceV1beta1_VideoAnnota
tionProgress" | 641 "$ref": "GoogleCloudVideointelligenceV1beta1_VideoAnnota
tionProgress" |
417 }, | 642 }, |
418 "type": "array" | 643 "type": "array" |
419 } | 644 } |
420 }, | 645 }, |
421 "type": "object" | 646 "type": "object" |
| 647 }, |
| 648 "GoogleCloudVideointelligenceV1beta2_Entity": { |
| 649 "description": "Detected entity from video analysis.", |
| 650 "id": "GoogleCloudVideointelligenceV1beta2_Entity", |
| 651 "properties": { |
| 652 "languageCode": { |
| 653 "description": "Language code for `description` in BCP-47 fo
rmat.", |
| 654 "type": "string" |
| 655 }, |
| 656 "entityId": { |
| 657 "description": "Opaque entity ID. Some IDs may be available
in\n[Google Knowledge Graph Search\nAPI](https://developers.google.com/knowledge
-graph/).", |
| 658 "type": "string" |
| 659 }, |
| 660 "description": { |
| 661 "description": "Textual description, e.g. `Fixed-gear bicycl
e`.", |
| 662 "type": "string" |
| 663 } |
| 664 }, |
| 665 "type": "object" |
| 666 }, |
| 667 "GoogleCloudVideointelligenceV1beta2_VideoSegment": { |
| 668 "description": "Video segment.", |
| 669 "id": "GoogleCloudVideointelligenceV1beta2_VideoSegment", |
| 670 "properties": { |
| 671 "endTimeOffset": { |
| 672 "description": "Time-offset, relative to the beginning of th
e video,\ncorresponding to the end of the segment (inclusive).", |
| 673 "format": "google-duration", |
| 674 "type": "string" |
| 675 }, |
| 676 "startTimeOffset": { |
| 677 "description": "Time-offset, relative to the beginning of th
e video,\ncorresponding to the start of the segment (inclusive).", |
| 678 "format": "google-duration", |
| 679 "type": "string" |
| 680 } |
| 681 }, |
| 682 "type": "object" |
422 }, | 683 }, |
423 "GoogleCloudVideointelligenceV1_LabelLocation": { | 684 "GoogleCloudVideointelligenceV1_LabelLocation": { |
424 "description": "Label location.", | 685 "description": "Label location.", |
425 "id": "GoogleCloudVideointelligenceV1_LabelLocation", | 686 "id": "GoogleCloudVideointelligenceV1_LabelLocation", |
426 "properties": { | 687 "properties": { |
427 "level": { | 688 "level": { |
428 "description": "Label level.", | 689 "description": "Label level.", |
429 "enum": [ | 690 "enum": [ |
430 "LABEL_LEVEL_UNSPECIFIED", | 691 "LABEL_LEVEL_UNSPECIFIED", |
431 "VIDEO_LEVEL", | 692 "VIDEO_LEVEL", |
(...skipping 15 matching lines...) Expand all Loading... |
447 "format": "float", | 708 "format": "float", |
448 "type": "number" | 709 "type": "number" |
449 }, | 710 }, |
450 "segment": { | 711 "segment": { |
451 "$ref": "GoogleCloudVideointelligenceV1_VideoSegment", | 712 "$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
)." | 713 "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 } | 714 } |
454 }, | 715 }, |
455 "type": "object" | 716 "type": "object" |
456 }, | 717 }, |
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 }, | |
471 "GoogleCloudVideointelligenceV1_VideoAnnotationResults": { | 718 "GoogleCloudVideointelligenceV1_VideoAnnotationResults": { |
472 "description": "Annotation results for a single video.", | 719 "description": "Annotation results for a single video.", |
473 "id": "GoogleCloudVideointelligenceV1_VideoAnnotationResults", | 720 "id": "GoogleCloudVideointelligenceV1_VideoAnnotationResults", |
474 "properties": { | 721 "properties": { |
| 722 "labelAnnotations": { |
| 723 "description": "Label annotations. There is exactly one elem
ent for each unique label.", |
| 724 "items": { |
| 725 "$ref": "GoogleCloudVideointelligenceV1_LabelAnnotation" |
| 726 }, |
| 727 "type": "array" |
| 728 }, |
475 "error": { | 729 "error": { |
476 "$ref": "GoogleRpc_Status", | 730 "$ref": "GoogleRpc_Status", |
477 "description": "If set, indicates an error. Note that for a
single `AnnotateVideoRequest`\nsome videos may succeed and some may fail." | 731 "description": "If set, indicates an error. Note that for a
single `AnnotateVideoRequest`\nsome videos may succeed and some may fail." |
478 }, | 732 }, |
479 "shotAnnotations": { | 733 "shotAnnotations": { |
480 "description": "Shot annotations. Each shot is represented a
s a video segment.", | 734 "description": "Shot annotations. Each shot is represented a
s a video segment.", |
481 "items": { | 735 "items": { |
482 "$ref": "GoogleCloudVideointelligenceV1_VideoSegment" | 736 "$ref": "GoogleCloudVideointelligenceV1_VideoSegment" |
483 }, | 737 }, |
484 "type": "array" | 738 "type": "array" |
485 }, | 739 }, |
486 "safeSearchAnnotations": { | 740 "safeSearchAnnotations": { |
487 "description": "Safe search annotations.", | 741 "description": "Safe search annotations.", |
488 "items": { | 742 "items": { |
489 "$ref": "GoogleCloudVideointelligenceV1_SafeSearchAnnota
tion" | 743 "$ref": "GoogleCloudVideointelligenceV1_SafeSearchAnnota
tion" |
490 }, | 744 }, |
491 "type": "array" | 745 "type": "array" |
492 }, | 746 }, |
493 "inputUri": { | 747 "inputUri": { |
494 "description": "Video file location in\n[Google Cloud Storag
e](https://cloud.google.com/storage/).", | 748 "description": "Video file location in\n[Google Cloud Storag
e](https://cloud.google.com/storage/).", |
495 "type": "string" | 749 "type": "string" |
496 }, | |
497 "labelAnnotations": { | |
498 "description": "Label annotations. There is exactly one elem
ent for each unique label.", | |
499 "items": { | |
500 "$ref": "GoogleCloudVideointelligenceV1_LabelAnnotation" | |
501 }, | |
502 "type": "array" | |
503 } | 750 } |
504 }, | 751 }, |
505 "type": "object" | 752 "type": "object" |
506 }, | 753 }, |
507 "GoogleLongrunning_Operation": { | 754 "GoogleCloudVideointelligenceV1beta2_AnnotateVideoResponse": { |
508 "description": "This resource represents a long-running operation th
at is the result of a\nnetwork API call.", | |
509 "id": "GoogleLongrunning_Operation", | |
510 "properties": { | |
511 "response": { | |
512 "additionalProperties": { | |
513 "description": "Properties of the object. Contains field
@type with type URL.", | |
514 "type": "any" | |
515 }, | |
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`.", | |
517 "type": "object" | |
518 }, | |
519 "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`
.", | |
521 "type": "string" | |
522 }, | |
523 "error": { | |
524 "$ref": "GoogleRpc_Status", | |
525 "description": "The error result of the operation in case of
failure or cancellation." | |
526 }, | |
527 "metadata": { | |
528 "additionalProperties": { | |
529 "description": "Properties of the object. Contains field
@type with type URL.", | |
530 "type": "any" | |
531 }, | |
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.
", | |
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" | |
538 } | |
539 }, | |
540 "type": "object" | |
541 }, | |
542 "GoogleCloudVideointelligenceV1beta1_VideoAnnotationResults": { | |
543 "description": "Annotation results for a single video.", | |
544 "id": "GoogleCloudVideointelligenceV1beta1_VideoAnnotationResults", | |
545 "properties": { | |
546 "safeSearchAnnotations": { | |
547 "description": "Safe search annotations.", | |
548 "items": { | |
549 "$ref": "GoogleCloudVideointelligenceV1beta1_SafeSearchA
nnotation" | |
550 }, | |
551 "type": "array" | |
552 }, | |
553 "inputUri": { | |
554 "description": "Video file location in\n[Google Cloud Storag
e](https://cloud.google.com/storage/).", | |
555 "type": "string" | |
556 }, | |
557 "labelAnnotations": { | |
558 "description": "Label annotations. There is exactly one elem
ent for each unique label.", | |
559 "items": { | |
560 "$ref": "GoogleCloudVideointelligenceV1beta1_LabelAnnota
tion" | |
561 }, | |
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" | |
574 } | |
575 }, | |
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.", | 755 "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", | 756 "id": "GoogleCloudVideointelligenceV1beta2_AnnotateVideoResponse", |
581 "properties": { | 757 "properties": { |
582 "annotationResults": { | 758 "annotationResults": { |
583 "description": "Annotation results for all videos specified
in `AnnotateVideoRequest`.", | 759 "description": "Annotation results for all videos specified
in `AnnotateVideoRequest`.", |
584 "items": { | 760 "items": { |
585 "$ref": "GoogleCloudVideointelligenceV1_VideoAnnotationR
esults" | 761 "$ref": "GoogleCloudVideointelligenceV1beta2_VideoAnnota
tionResults" |
586 }, | 762 }, |
587 "type": "array" | 763 "type": "array" |
588 } | 764 } |
589 }, | 765 }, |
590 "type": "object" | 766 "type": "object" |
591 }, | 767 }, |
592 "GoogleCloudVideointelligenceV1beta1_LabelAnnotation": { | 768 "GoogleCloudVideointelligenceV1beta1_LabelAnnotation": { |
593 "description": "Label annotation.", | 769 "description": "Label annotation.", |
594 "id": "GoogleCloudVideointelligenceV1beta1_LabelAnnotation", | 770 "id": "GoogleCloudVideointelligenceV1beta1_LabelAnnotation", |
595 "properties": { | 771 "properties": { |
596 "description": { | 772 "description": { |
597 "description": "Textual description, e.g. `Fixed-gear bicycl
e`.", | 773 "description": "Textual description, e.g. `Fixed-gear bicycl
e`.", |
598 "type": "string" | 774 "type": "string" |
599 }, | 775 }, |
600 "locations": { | 776 "locations": { |
601 "description": "Where the label was detected and with what c
onfidence.", | 777 "description": "Where the label was detected and with what c
onfidence.", |
602 "items": { | 778 "items": { |
603 "$ref": "GoogleCloudVideointelligenceV1beta1_LabelLocati
on" | 779 "$ref": "GoogleCloudVideointelligenceV1beta1_LabelLocati
on" |
604 }, | 780 }, |
605 "type": "array" | 781 "type": "array" |
606 }, | 782 }, |
607 "languageCode": { | 783 "languageCode": { |
608 "description": "Language code for `description` in BCP-47 fo
rmat.", | 784 "description": "Language code for `description` in BCP-47 fo
rmat.", |
609 "type": "string" | 785 "type": "string" |
610 } | 786 } |
611 }, | 787 }, |
612 "type": "object" | 788 "type": "object" |
613 }, | 789 }, |
614 "GoogleCloudVideointelligenceV1beta1_AnnotateVideoResponse": { | |
615 "description": "Video annotation response. Included in the `response
`\nfield of the `Operation` returned by the `GetOperation`\ncall of the `google:
:longrunning::Operations` service.", | |
616 "id": "GoogleCloudVideointelligenceV1beta1_AnnotateVideoResponse", | |
617 "properties": { | |
618 "annotationResults": { | |
619 "description": "Annotation results for all videos specified
in `AnnotateVideoRequest`.", | |
620 "items": { | |
621 "$ref": "GoogleCloudVideointelligenceV1beta1_VideoAnnota
tionResults" | |
622 }, | |
623 "type": "array" | |
624 } | |
625 }, | |
626 "type": "object" | |
627 }, | |
628 "GoogleCloudVideointelligenceV1_LabelAnnotation": { | 790 "GoogleCloudVideointelligenceV1_LabelAnnotation": { |
629 "description": "Label annotation.", | 791 "description": "Label annotation.", |
630 "id": "GoogleCloudVideointelligenceV1_LabelAnnotation", | 792 "id": "GoogleCloudVideointelligenceV1_LabelAnnotation", |
631 "properties": { | 793 "properties": { |
| 794 "description": { |
| 795 "description": "Textual description, e.g. `Fixed-gear bicycl
e`.", |
| 796 "type": "string" |
| 797 }, |
632 "locations": { | 798 "locations": { |
633 "description": "Where the label was detected and with what c
onfidence.", | 799 "description": "Where the label was detected and with what c
onfidence.", |
634 "items": { | 800 "items": { |
635 "$ref": "GoogleCloudVideointelligenceV1_LabelLocation" | 801 "$ref": "GoogleCloudVideointelligenceV1_LabelLocation" |
636 }, | 802 }, |
637 "type": "array" | 803 "type": "array" |
638 }, | 804 }, |
639 "languageCode": { | 805 "languageCode": { |
640 "description": "Language code for `description` in BCP-47 fo
rmat.", | 806 "description": "Language code for `description` in BCP-47 fo
rmat.", |
641 "type": "string" | 807 "type": "string" |
642 }, | |
643 "description": { | |
644 "description": "Textual description, e.g. `Fixed-gear bicycl
e`.", | |
645 "type": "string" | |
646 } | 808 } |
647 }, | 809 }, |
648 "type": "object" | 810 "type": "object" |
649 }, | 811 }, |
650 "GoogleCloudVideointelligenceV1beta1_VideoContext": { | 812 "GoogleCloudVideointelligenceV1beta1_VideoContext": { |
651 "description": "Video context and/or feature-specific parameters.", | 813 "description": "Video context and/or feature-specific parameters.", |
652 "id": "GoogleCloudVideointelligenceV1beta1_VideoContext", | 814 "id": "GoogleCloudVideointelligenceV1beta1_VideoContext", |
653 "properties": { | 815 "properties": { |
654 "labelDetectionMode": { | |
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`.", | |
656 "enum": [ | |
657 "LABEL_DETECTION_MODE_UNSPECIFIED", | |
658 "SHOT_MODE", | |
659 "FRAME_MODE", | |
660 "SHOT_AND_FRAME_MODE" | |
661 ], | |
662 "enumDescriptions": [ | |
663 "Unspecified.", | |
664 "Detect shot-level labels.", | |
665 "Detect frame-level labels.", | |
666 "Detect both shot-level and frame-level labels." | |
667 ], | |
668 "type": "string" | |
669 }, | |
670 "stationaryCamera": { | |
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.", | |
672 "type": "boolean" | |
673 }, | |
674 "safeSearchDetectionModel": { | 816 "safeSearchDetectionModel": { |
675 "description": "Model to use for safe search detection.\nSup
ported values: \"latest\" and \"stable\" (the default).", | 817 "description": "Model to use for safe search detection.\nSup
ported values: \"latest\" and \"stable\" (the default).", |
676 "type": "string" | 818 "type": "string" |
677 }, | 819 }, |
678 "segments": { | 820 "segments": { |
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.", | 821 "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.", |
680 "items": { | 822 "items": { |
681 "$ref": "GoogleCloudVideointelligenceV1beta1_VideoSegmen
t" | 823 "$ref": "GoogleCloudVideointelligenceV1beta1_VideoSegmen
t" |
682 }, | 824 }, |
683 "type": "array" | 825 "type": "array" |
684 }, | 826 }, |
685 "labelDetectionModel": { | 827 "labelDetectionModel": { |
686 "description": "Model to use for label detection.\nSupported
values: \"latest\" and \"stable\" (the default).", | 828 "description": "Model to use for label detection.\nSupported
values: \"latest\" and \"stable\" (the default).", |
687 "type": "string" | 829 "type": "string" |
688 }, | 830 }, |
689 "shotChangeDetectionModel": { | 831 "shotChangeDetectionModel": { |
690 "description": "Model to use for shot change detection.\nSup
ported values: \"latest\" and \"stable\" (the default).", | 832 "description": "Model to use for shot change detection.\nSup
ported values: \"latest\" and \"stable\" (the default).", |
691 "type": "string" | 833 "type": "string" |
| 834 }, |
| 835 "labelDetectionMode": { |
| 836 "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`.", |
| 837 "enum": [ |
| 838 "LABEL_DETECTION_MODE_UNSPECIFIED", |
| 839 "SHOT_MODE", |
| 840 "FRAME_MODE", |
| 841 "SHOT_AND_FRAME_MODE" |
| 842 ], |
| 843 "enumDescriptions": [ |
| 844 "Unspecified.", |
| 845 "Detect shot-level labels.", |
| 846 "Detect frame-level labels.", |
| 847 "Detect both shot-level and frame-level labels." |
| 848 ], |
| 849 "type": "string" |
| 850 }, |
| 851 "stationaryCamera": { |
| 852 "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.", |
| 853 "type": "boolean" |
692 } | 854 } |
693 }, | 855 }, |
694 "type": "object" | 856 "type": "object" |
695 }, | |
696 "GoogleCloudVideointelligenceV1beta1_VideoAnnotationProgress": { | |
697 "description": "Annotation progress for a single video.", | |
698 "id": "GoogleCloudVideointelligenceV1beta1_VideoAnnotationProgress", | |
699 "properties": { | |
700 "updateTime": { | |
701 "description": "Time of the most recent update.", | |
702 "format": "google-datetime", | |
703 "type": "string" | |
704 }, | |
705 "startTime": { | |
706 "description": "Time when the request was received.", | |
707 "format": "google-datetime", | |
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 }, | 857 }, |
722 "GoogleRpc_Status": { | 858 "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.", | 859 "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", | 860 "id": "GoogleRpc_Status", |
725 "properties": { | 861 "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": { | 862 "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.", | 863 "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": { | 864 "items": { |
733 "additionalProperties": { | 865 "additionalProperties": { |
734 "description": "Properties of the object. Contains f
ield @type with type URL.", | 866 "description": "Properties of the object. Contains f
ield @type with type URL.", |
735 "type": "any" | 867 "type": "any" |
736 }, | 868 }, |
737 "type": "object" | 869 "type": "object" |
738 }, | 870 }, |
739 "type": "array" | 871 "type": "array" |
740 }, | 872 }, |
741 "code": { | 873 "code": { |
742 "description": "The status code, which should be an enum val
ue of google.rpc.Code.", | 874 "description": "The status code, which should be an enum val
ue of google.rpc.Code.", |
743 "format": "int32", | 875 "format": "int32", |
744 "type": "integer" | 876 "type": "integer" |
| 877 }, |
| 878 "message": { |
| 879 "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.", |
| 880 "type": "string" |
745 } | 881 } |
746 }, | 882 }, |
747 "type": "object" | 883 "type": "object" |
748 }, | 884 }, |
749 "GoogleCloudVideointelligenceV1_VideoSegment": { | 885 "GoogleCloudVideointelligenceV1_VideoSegment": { |
750 "description": "Video segment.", | 886 "description": "Video segment.", |
751 "id": "GoogleCloudVideointelligenceV1_VideoSegment", | 887 "id": "GoogleCloudVideointelligenceV1_VideoSegment", |
752 "properties": { | 888 "properties": { |
753 "endTime": { | 889 "endTime": { |
754 "description": "Time-offset, relative to the beginning of th
e video,\ncorresponding to the end of the segment (inclusive).", | 890 "description": "Time-offset, relative to the beginning of th
e video,\ncorresponding to the end of the segment (inclusive).", |
755 "format": "google-duration", | 891 "format": "google-duration", |
756 "type": "string" | 892 "type": "string" |
757 }, | 893 }, |
758 "startTime": { | 894 "startTime": { |
759 "description": "Time-offset, relative to the beginning of th
e video,\ncorresponding to the start of the segment (inclusive).", | 895 "description": "Time-offset, relative to the beginning of th
e video,\ncorresponding to the start of the segment (inclusive).", |
760 "format": "google-duration", | 896 "format": "google-duration", |
761 "type": "string" | 897 "type": "string" |
762 } | 898 } |
763 }, | 899 }, |
764 "type": "object" | 900 "type": "object" |
| 901 }, |
| 902 "GoogleCloudVideointelligenceV1beta2_VideoAnnotationResults": { |
| 903 "description": "Annotation results for a single video.", |
| 904 "id": "GoogleCloudVideointelligenceV1beta2_VideoAnnotationResults", |
| 905 "properties": { |
| 906 "explicitAnnotation": { |
| 907 "$ref": "GoogleCloudVideointelligenceV1beta2_ExplicitContent
Annotation", |
| 908 "description": "Explicit content annotation." |
| 909 }, |
| 910 "segmentLabelAnnotations": { |
| 911 "description": "Label annotations on video level or user spe
cified segment level.\nThere is exactly one element for each unique label.", |
| 912 "items": { |
| 913 "$ref": "GoogleCloudVideointelligenceV1beta2_LabelAnnota
tion" |
| 914 }, |
| 915 "type": "array" |
| 916 }, |
| 917 "shotAnnotations": { |
| 918 "description": "Shot annotations. Each shot is represented a
s a video segment.", |
| 919 "items": { |
| 920 "$ref": "GoogleCloudVideointelligenceV1beta2_VideoSegmen
t" |
| 921 }, |
| 922 "type": "array" |
| 923 }, |
| 924 "shotLabelAnnotations": { |
| 925 "description": "Label annotations on shot level.\nThere is e
xactly one element for each unique label.", |
| 926 "items": { |
| 927 "$ref": "GoogleCloudVideointelligenceV1beta2_LabelAnnota
tion" |
| 928 }, |
| 929 "type": "array" |
| 930 }, |
| 931 "error": { |
| 932 "$ref": "GoogleRpc_Status", |
| 933 "description": "If set, indicates an error. Note that for a
single `AnnotateVideoRequest`\nsome videos may succeed and some may fail." |
| 934 }, |
| 935 "frameLabelAnnotations": { |
| 936 "description": "Label annotations on frame level.\nThere is
exactly one element for each unique label.", |
| 937 "items": { |
| 938 "$ref": "GoogleCloudVideointelligenceV1beta2_LabelAnnota
tion" |
| 939 }, |
| 940 "type": "array" |
| 941 }, |
| 942 "inputUri": { |
| 943 "description": "Video file location in\n[Google Cloud Storag
e](https://cloud.google.com/storage/).", |
| 944 "type": "string" |
| 945 } |
| 946 }, |
| 947 "type": "object" |
| 948 }, |
| 949 "GoogleCloudVideointelligenceV1beta2_ExplicitContentAnnotation": { |
| 950 "description": "Explicit content annotation (based on per-frame visu
al signals only).\nIf no explicit content has been detected in a frame, no annot
ations are\npresent for that frame.", |
| 951 "id": "GoogleCloudVideointelligenceV1beta2_ExplicitContentAnnotation
", |
| 952 "properties": { |
| 953 "frames": { |
| 954 "description": "All video frames where explicit content was
detected.", |
| 955 "items": { |
| 956 "$ref": "GoogleCloudVideointelligenceV1beta2_ExplicitCon
tentFrame" |
| 957 }, |
| 958 "type": "array" |
| 959 } |
| 960 }, |
| 961 "type": "object" |
| 962 }, |
| 963 "GoogleCloudVideointelligenceV1beta1_LabelLocation": { |
| 964 "description": "Label location.", |
| 965 "id": "GoogleCloudVideointelligenceV1beta1_LabelLocation", |
| 966 "properties": { |
| 967 "segment": { |
| 968 "$ref": "GoogleCloudVideointelligenceV1beta1_VideoSegment", |
| 969 "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)." |
| 970 }, |
| 971 "level": { |
| 972 "description": "Label level.", |
| 973 "enum": [ |
| 974 "LABEL_LEVEL_UNSPECIFIED", |
| 975 "VIDEO_LEVEL", |
| 976 "SEGMENT_LEVEL", |
| 977 "SHOT_LEVEL", |
| 978 "FRAME_LEVEL" |
| 979 ], |
| 980 "enumDescriptions": [ |
| 981 "Unspecified.", |
| 982 "Video-level. Corresponds to the whole video.", |
| 983 "Segment-level. Corresponds to one of `AnnotateSpec.segm
ents`.", |
| 984 "Shot-level. Corresponds to a single shot (i.e. a series
of frames\nwithout a major camera position or background change).", |
| 985 "Frame-level. Corresponds to a single video frame." |
| 986 ], |
| 987 "type": "string" |
| 988 }, |
| 989 "confidence": { |
| 990 "description": "Confidence that the label is accurate. Range
: [0, 1].", |
| 991 "format": "float", |
| 992 "type": "number" |
| 993 } |
| 994 }, |
| 995 "type": "object" |
| 996 }, |
| 997 "GoogleCloudVideointelligenceV1beta2_LabelFrame": { |
| 998 "description": "Video frame level annotation results for label detec
tion.", |
| 999 "id": "GoogleCloudVideointelligenceV1beta2_LabelFrame", |
| 1000 "properties": { |
| 1001 "confidence": { |
| 1002 "description": "Confidence that the label is accurate. Range
: [0, 1].", |
| 1003 "format": "float", |
| 1004 "type": "number" |
| 1005 }, |
| 1006 "timeOffset": { |
| 1007 "description": "Time-offset, relative to the beginning of th
e video, corresponding to the\nvideo frame for this location.", |
| 1008 "format": "google-duration", |
| 1009 "type": "string" |
| 1010 } |
| 1011 }, |
| 1012 "type": "object" |
765 } | 1013 } |
766 }, | 1014 }, |
767 "servicePath": "", | 1015 "servicePath": "", |
768 "title": "Google Cloud Video Intelligence API", | 1016 "title": "Google Cloud Video Intelligence API", |
769 "version": "v1beta1" | 1017 "version": "v1beta1" |
770 } | 1018 } |
OLD | NEW |