Index: discovery/googleapis_beta/videointelligence__v1beta1.json |
diff --git a/discovery/googleapis_beta/videointelligence__v1beta1.json b/discovery/googleapis_beta/videointelligence__v1beta1.json |
index 7ae331f9e7b93f3c83dbd4a533a6e657bb49062d..bd1623aba55d72389f0954a93f108e7a679c6958 100644 |
--- a/discovery/googleapis_beta/videointelligence__v1beta1.json |
+++ b/discovery/googleapis_beta/videointelligence__v1beta1.json |
@@ -25,37 +25,6 @@ |
"ownerDomain": "google.com", |
"ownerName": "Google", |
"parameters": { |
- "access_token": { |
- "description": "OAuth access token.", |
- "location": "query", |
- "type": "string" |
- }, |
- "key": { |
- "description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", |
- "location": "query", |
- "type": "string" |
- }, |
- "quotaUser": { |
- "description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", |
- "location": "query", |
- "type": "string" |
- }, |
- "pp": { |
- "default": "true", |
- "description": "Pretty-print response.", |
- "location": "query", |
- "type": "boolean" |
- }, |
- "bearer_token": { |
- "description": "OAuth bearer token.", |
- "location": "query", |
- "type": "string" |
- }, |
- "oauth_token": { |
- "description": "OAuth 2.0 token for the current user.", |
- "location": "query", |
- "type": "string" |
- }, |
"upload_protocol": { |
"description": "Upload protocol for media (e.g. \"raw\", \"multipart\").", |
"location": "query", |
@@ -67,13 +36,13 @@ |
"location": "query", |
"type": "boolean" |
}, |
- "fields": { |
- "description": "Selector specifying which fields to include in a partial response.", |
+ "uploadType": { |
+ "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", |
"location": "query", |
"type": "string" |
}, |
- "uploadType": { |
- "description": "Legacy upload protocol for media (e.g. \"media\", \"multipart\").", |
+ "fields": { |
+ "description": "Selector specifying which fields to include in a partial response.", |
"location": "query", |
"type": "string" |
}, |
@@ -110,6 +79,37 @@ |
], |
"location": "query", |
"type": "string" |
+ }, |
+ "access_token": { |
+ "description": "OAuth access token.", |
+ "location": "query", |
+ "type": "string" |
+ }, |
+ "key": { |
+ "description": "API key. Your API key identifies your project and provides you with API access, quota, and reports. Required unless you provide an OAuth 2.0 token.", |
+ "location": "query", |
+ "type": "string" |
+ }, |
+ "quotaUser": { |
+ "description": "Available to use for quota purposes for server-side applications. Can be any arbitrary string assigned to a user, but should not exceed 40 characters.", |
+ "location": "query", |
+ "type": "string" |
+ }, |
+ "pp": { |
+ "default": "true", |
+ "description": "Pretty-print response.", |
+ "location": "query", |
+ "type": "boolean" |
+ }, |
+ "bearer_token": { |
+ "description": "OAuth bearer token.", |
+ "location": "query", |
+ "type": "string" |
+ }, |
+ "oauth_token": { |
+ "description": "OAuth 2.0 token for the current user.", |
+ "location": "query", |
+ "type": "string" |
} |
}, |
"protocol": "rest", |
@@ -136,111 +136,128 @@ |
} |
} |
}, |
- "revision": "20170621", |
+ "revision": "20170718", |
"rootUrl": "https://videointelligence.googleapis.com/", |
"schemas": { |
- "GoogleCloudVideointelligenceV1beta1_AnnotateVideoRequest": { |
- "description": "Video annotation request.", |
- "id": "GoogleCloudVideointelligenceV1beta1_AnnotateVideoRequest", |
+ "GoogleCloudVideointelligenceV1_SafeSearchAnnotation": { |
+ "description": "Safe search annotation (based on per-frame visual signals only).\nIf no unsafe content has been detected in a frame, no annotations\nare present for that frame.", |
+ "id": "GoogleCloudVideointelligenceV1_SafeSearchAnnotation", |
"properties": { |
- "features": { |
- "description": "Requested video annotation features.", |
- "enumDescriptions": [ |
- "Unspecified.", |
- "Label detection. Detect objects, such as dog or flower.", |
- "Shot change detection." |
- ], |
- "items": { |
- "enum": [ |
- "FEATURE_UNSPECIFIED", |
- "LABEL_DETECTION", |
- "SHOT_CHANGE_DETECTION" |
- ], |
- "type": "string" |
- }, |
- "type": "array" |
- }, |
- "outputUri": { |
- "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 following format:\n`gs://bucket-id/object-id` (other URI formats return\ngoogle.rpc.Code.INVALID_ARGUMENT). For more information, see\n[Request URIs](/storage/docs/reference-uris).", |
- "type": "string" |
- }, |
- "videoContext": { |
- "$ref": "GoogleCloudVideointelligenceV1beta1_VideoContext", |
- "description": "Additional video context and/or feature-specific parameters." |
- }, |
- "locationId": { |
- "description": "Optional cloud region where annotation should 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 video file location.", |
- "type": "string" |
- }, |
- "inputUri": { |
- "description": "Input video location. Currently, only\n[Google 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 URI 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 video should be embedded\nin the request as `input_content`. If set, `input_content` should be unset.", |
+ "time": { |
+ "description": "Time-offset, relative to the beginning of the video,\ncorresponding to the video frame for this annotation.", |
+ "format": "google-duration", |
"type": "string" |
}, |
- "inputContent": { |
- "description": "The video data bytes. Encoding: base64. If unset, the input video(s)\nshould be specified via `input_uri`. If set, `input_uri` should be unset.", |
+ "adult": { |
+ "description": "Likelihood of adult content.", |
+ "enum": [ |
+ "UNKNOWN", |
+ "VERY_UNLIKELY", |
+ "UNLIKELY", |
+ "POSSIBLE", |
+ "LIKELY", |
+ "VERY_LIKELY" |
+ ], |
+ "enumDescriptions": [ |
+ "Unknown likelihood.", |
+ "Very unlikely.", |
+ "Unlikely.", |
+ "Possible.", |
+ "Likely.", |
+ "Very likely." |
+ ], |
"type": "string" |
} |
}, |
"type": "object" |
}, |
- "GoogleCloudVideointelligenceV1beta1_LabelLocation": { |
- "description": "Label location.", |
- "id": "GoogleCloudVideointelligenceV1beta1_LabelLocation", |
+ "GoogleCloudVideointelligenceV1beta1_SafeSearchAnnotation": { |
+ "description": "Safe search annotation (based on per-frame visual signals 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 detected in a frame, the likelihood is set to `UNKNOWN`\nfor all other types of unsafe content.", |
+ "id": "GoogleCloudVideointelligenceV1beta1_SafeSearchAnnotation", |
"properties": { |
- "level": { |
- "description": "Label level.", |
+ "racy": { |
+ "description": "Likelihood of racy content.", |
"enum": [ |
- "LABEL_LEVEL_UNSPECIFIED", |
- "VIDEO_LEVEL", |
- "SEGMENT_LEVEL", |
- "SHOT_LEVEL", |
- "FRAME_LEVEL" |
+ "UNKNOWN", |
+ "VERY_UNLIKELY", |
+ "UNLIKELY", |
+ "POSSIBLE", |
+ "LIKELY", |
+ "VERY_LIKELY" |
], |
"enumDescriptions": [ |
- "Unspecified.", |
- "Video-level. Corresponds to the whole video.", |
- "Segment-level. Corresponds to one of `AnnotateSpec.segments`.", |
- "Shot-level. Corresponds to a single shot (i.e. a series of frames\nwithout a major camera position or background change).", |
- "Frame-level. Corresponds to a single video frame." |
+ "Unknown likelihood.", |
+ "Very unlikely.", |
+ "Unlikely.", |
+ "Possible.", |
+ "Likely.", |
+ "Very likely." |
], |
"type": "string" |
}, |
- "confidence": { |
- "description": "Confidence that the label is accurate. Range: [0, 1].", |
- "format": "float", |
- "type": "number" |
- }, |
- "segment": { |
- "$ref": "GoogleCloudVideointelligenceV1beta1_VideoSegment", |
- "description": "Video segment. Set to [-1, -1] for video-level labels.\nSet to [timestamp, timestamp] for frame-level labels.\nOtherwise, corresponds to one of `AnnotateSpec.segments`\n(if specified) or to shot boundaries (if requested)." |
- } |
- }, |
- "type": "object" |
- }, |
- "GoogleCloudVideointelligenceV1beta1_VideoSegment": { |
- "description": "Video segment.", |
- "id": "GoogleCloudVideointelligenceV1beta1_VideoSegment", |
- "properties": { |
- "endTimeOffset": { |
- "description": "End offset in microseconds (inclusive). Unset means 0.", |
+ "timeOffset": { |
+ "description": "Video time offset in microseconds.", |
"format": "int64", |
"type": "string" |
}, |
- "startTimeOffset": { |
- "description": "Start offset in microseconds (inclusive). Unset means 0.", |
- "format": "int64", |
+ "violent": { |
+ "description": "Likelihood of violent content.", |
+ "enum": [ |
+ "UNKNOWN", |
+ "VERY_UNLIKELY", |
+ "UNLIKELY", |
+ "POSSIBLE", |
+ "LIKELY", |
+ "VERY_LIKELY" |
+ ], |
+ "enumDescriptions": [ |
+ "Unknown likelihood.", |
+ "Very unlikely.", |
+ "Unlikely.", |
+ "Possible.", |
+ "Likely.", |
+ "Very likely." |
+ ], |
"type": "string" |
- } |
- }, |
- "type": "object" |
- }, |
- "GoogleCloudVideointelligenceV1_SafeSearchAnnotation": { |
- "description": "Safe search annotation (based on per-frame visual signals only).\nIf no unsafe content has been detected in a frame, no annotations\nare present for that frame.", |
- "id": "GoogleCloudVideointelligenceV1_SafeSearchAnnotation", |
- "properties": { |
- "time": { |
- "description": "Time-offset, relative to the beginning of the video,\ncorresponding to the video frame for this annotation.", |
- "format": "google-duration", |
+ }, |
+ "spoof": { |
+ "description": "Likelihood that an obvious modification was made to the original\nversion to make it appear funny or offensive.", |
+ "enum": [ |
+ "UNKNOWN", |
+ "VERY_UNLIKELY", |
+ "UNLIKELY", |
+ "POSSIBLE", |
+ "LIKELY", |
+ "VERY_LIKELY" |
+ ], |
+ "enumDescriptions": [ |
+ "Unknown likelihood.", |
+ "Very unlikely.", |
+ "Unlikely.", |
+ "Possible.", |
+ "Likely.", |
+ "Very likely." |
+ ], |
+ "type": "string" |
+ }, |
+ "medical": { |
+ "description": "Likelihood of medical content.", |
+ "enum": [ |
+ "UNKNOWN", |
+ "VERY_UNLIKELY", |
+ "UNLIKELY", |
+ "POSSIBLE", |
+ "LIKELY", |
+ "VERY_LIKELY" |
+ ], |
+ "enumDescriptions": [ |
+ "Unknown likelihood.", |
+ "Very unlikely.", |
+ "Unlikely.", |
+ "Possible.", |
+ "Likely.", |
+ "Very likely." |
+ ], |
"type": "string" |
}, |
"adult": { |
@@ -266,28 +283,10 @@ |
}, |
"type": "object" |
}, |
- "GoogleCloudVideointelligenceV1beta1_AnnotateVideoProgress": { |
- "description": "Video annotation progress. Included in the `metadata`\nfield of the `Operation` returned by the `GetOperation`\ncall of the `google::longrunning::Operations` service.", |
- "id": "GoogleCloudVideointelligenceV1beta1_AnnotateVideoProgress", |
- "properties": { |
- "annotationProgress": { |
- "description": "Progress metadata for all videos specified in `AnnotateVideoRequest`.", |
- "items": { |
- "$ref": "GoogleCloudVideointelligenceV1beta1_VideoAnnotationProgress" |
- }, |
- "type": "array" |
- } |
- }, |
- "type": "object" |
- }, |
"GoogleCloudVideointelligenceV1_VideoAnnotationProgress": { |
"description": "Annotation progress for a single video.", |
"id": "GoogleCloudVideointelligenceV1_VideoAnnotationProgress", |
"properties": { |
- "inputUri": { |
- "description": "Video file location in\n[Google Cloud Storage](https://cloud.google.com/storage/).", |
- "type": "string" |
- }, |
"progressPercent": { |
"description": "Approximate percentage processed thus far.\nGuaranteed to be 100 when fully processed.", |
"format": "int32", |
@@ -302,58 +301,28 @@ |
"description": "Time when the request was received.", |
"format": "google-datetime", |
"type": "string" |
+ }, |
+ "inputUri": { |
+ "description": "Video file location in\n[Google Cloud Storage](https://cloud.google.com/storage/).", |
+ "type": "string" |
} |
}, |
"type": "object" |
}, |
- "GoogleCloudVideointelligenceV1_AnnotateVideoProgress": { |
+ "GoogleCloudVideointelligenceV1beta1_AnnotateVideoProgress": { |
"description": "Video annotation progress. Included in the `metadata`\nfield of the `Operation` returned by the `GetOperation`\ncall of the `google::longrunning::Operations` service.", |
- "id": "GoogleCloudVideointelligenceV1_AnnotateVideoProgress", |
+ "id": "GoogleCloudVideointelligenceV1beta1_AnnotateVideoProgress", |
"properties": { |
"annotationProgress": { |
"description": "Progress metadata for all videos specified in `AnnotateVideoRequest`.", |
"items": { |
- "$ref": "GoogleCloudVideointelligenceV1_VideoAnnotationProgress" |
+ "$ref": "GoogleCloudVideointelligenceV1beta1_VideoAnnotationProgress" |
}, |
"type": "array" |
} |
}, |
"type": "object" |
}, |
- "GoogleCloudVideointelligenceV1_LabelLocation": { |
- "description": "Label location.", |
- "id": "GoogleCloudVideointelligenceV1_LabelLocation", |
- "properties": { |
- "confidence": { |
- "description": "Confidence that the label is accurate. Range: [0, 1].", |
- "format": "float", |
- "type": "number" |
- }, |
- "segment": { |
- "$ref": "GoogleCloudVideointelligenceV1_VideoSegment", |
- "description": "Video segment. Unset for video-level labels.\nSet to a frame timestamp for frame-level labels.\nOtherwise, corresponds to one of `AnnotateSpec.segments`\n(if specified) or to shot boundaries (if requested)." |
- }, |
- "level": { |
- "description": "Label level.", |
- "enum": [ |
- "LABEL_LEVEL_UNSPECIFIED", |
- "VIDEO_LEVEL", |
- "SEGMENT_LEVEL", |
- "SHOT_LEVEL", |
- "FRAME_LEVEL" |
- ], |
- "enumDescriptions": [ |
- "Unspecified.", |
- "Video-level. Corresponds to the whole video.", |
- "Segment-level. Corresponds to one of `AnnotateSpec.segments`.", |
- "Shot-level. Corresponds to a single shot (i.e. a series of frames\nwithout a major camera position or background change).", |
- "Frame-level. Corresponds to a single video frame." |
- ], |
- "type": "string" |
- } |
- }, |
- "type": "object" |
- }, |
"GoogleCloudVideointelligenceV1_VideoAnnotationResults": { |
"description": "Annotation results for a single video.", |
"id": "GoogleCloudVideointelligenceV1_VideoAnnotationResults", |
@@ -390,6 +359,54 @@ |
}, |
"type": "object" |
}, |
+ "GoogleCloudVideointelligenceV1_AnnotateVideoProgress": { |
+ "description": "Video annotation progress. Included in the `metadata`\nfield of the `Operation` returned by the `GetOperation`\ncall of the `google::longrunning::Operations` service.", |
+ "id": "GoogleCloudVideointelligenceV1_AnnotateVideoProgress", |
+ "properties": { |
+ "annotationProgress": { |
+ "description": "Progress metadata for all videos specified in `AnnotateVideoRequest`.", |
+ "items": { |
+ "$ref": "GoogleCloudVideointelligenceV1_VideoAnnotationProgress" |
+ }, |
+ "type": "array" |
+ } |
+ }, |
+ "type": "object" |
+ }, |
+ "GoogleCloudVideointelligenceV1_LabelLocation": { |
+ "description": "Label location.", |
+ "id": "GoogleCloudVideointelligenceV1_LabelLocation", |
+ "properties": { |
+ "level": { |
+ "description": "Label level.", |
+ "enum": [ |
+ "LABEL_LEVEL_UNSPECIFIED", |
+ "VIDEO_LEVEL", |
+ "SEGMENT_LEVEL", |
+ "SHOT_LEVEL", |
+ "FRAME_LEVEL" |
+ ], |
+ "enumDescriptions": [ |
+ "Unspecified.", |
+ "Video-level. Corresponds to the whole video.", |
+ "Segment-level. Corresponds to one of `AnnotateSpec.segments`.", |
+ "Shot-level. Corresponds to a single shot (i.e. a series of frames\nwithout a major camera position or background change).", |
+ "Frame-level. Corresponds to a single video frame." |
+ ], |
+ "type": "string" |
+ }, |
+ "confidence": { |
+ "description": "Confidence that the label is accurate. Range: [0, 1].", |
+ "format": "float", |
+ "type": "number" |
+ }, |
+ "segment": { |
+ "$ref": "GoogleCloudVideointelligenceV1_VideoSegment", |
+ "description": "Video segment. Unset for video-level labels.\nSet to a frame timestamp for frame-level labels.\nOtherwise, corresponds to one of `AnnotateSpec.segments`\n(if specified) or to shot boundaries (if requested)." |
+ } |
+ }, |
+ "type": "object" |
+ }, |
"GoogleLongrunning_Operation": { |
"description": "This resource represents a long-running operation that is the result of a\nnetwork API call.", |
"id": "GoogleLongrunning_Operation", |
@@ -440,6 +457,13 @@ |
}, |
"type": "array" |
}, |
+ "safeSearchAnnotations": { |
+ "description": "Safe search annotations.", |
+ "items": { |
+ "$ref": "GoogleCloudVideointelligenceV1beta1_SafeSearchAnnotation" |
+ }, |
+ "type": "array" |
+ }, |
"inputUri": { |
"description": "Video file location in\n[Google Cloud Storage](https://cloud.google.com/storage/).", |
"type": "string" |
@@ -458,10 +482,6 @@ |
"description": "Label annotation.", |
"id": "GoogleCloudVideointelligenceV1beta1_LabelAnnotation", |
"properties": { |
- "description": { |
- "description": "Textual description, e.g. `Fixed-gear bicycle`.", |
- "type": "string" |
- }, |
"locations": { |
"description": "Where the label was detected and with what confidence.", |
"items": { |
@@ -472,6 +492,10 @@ |
"languageCode": { |
"description": "Language code for `description` in BCP-47 format.", |
"type": "string" |
+ }, |
+ "description": { |
+ "description": "Textual description, e.g. `Fixed-gear bicycle`.", |
+ "type": "string" |
} |
}, |
"type": "object" |
@@ -504,36 +528,10 @@ |
}, |
"type": "object" |
}, |
- "GoogleCloudVideointelligenceV1_LabelAnnotation": { |
- "description": "Label annotation.", |
- "id": "GoogleCloudVideointelligenceV1_LabelAnnotation", |
- "properties": { |
- "languageCode": { |
- "description": "Language code for `description` in BCP-47 format.", |
- "type": "string" |
- }, |
- "description": { |
- "description": "Textual description, e.g. `Fixed-gear bicycle`.", |
- "type": "string" |
- }, |
- "locations": { |
- "description": "Where the label was detected and with what confidence.", |
- "items": { |
- "$ref": "GoogleCloudVideointelligenceV1_LabelLocation" |
- }, |
- "type": "array" |
- } |
- }, |
- "type": "object" |
- }, |
"GoogleCloudVideointelligenceV1beta1_VideoContext": { |
"description": "Video context and/or feature-specific parameters.", |
"id": "GoogleCloudVideointelligenceV1beta1_VideoContext", |
"properties": { |
- "shotChangeDetectionModel": { |
- "description": "Model to use for shot change detection.\nSupported values: \"latest\" and \"stable\" (the default).", |
- "type": "string" |
- }, |
"segments": { |
"description": "Video segments to annotate. The segments may overlap and are not required\nto be contiguous or span the whole video. If unspecified, each video\nis treated as a single segment.", |
"items": { |
@@ -545,6 +543,10 @@ |
"description": "Model to use for label detection.\nSupported values: \"latest\" and \"stable\" (the default).", |
"type": "string" |
}, |
+ "shotChangeDetectionModel": { |
+ "description": "Model to use for shot change detection.\nSupported values: \"latest\" and \"stable\" (the default).", |
+ "type": "string" |
+ }, |
"labelDetectionMode": { |
"description": "If label detection has been requested, what labels should be detected\nin addition to video-level labels or segment-level labels. If unspecified,\ndefaults to `SHOT_MODE`.", |
"enum": [ |
@@ -560,6 +562,36 @@ |
"Detect both shot-level and frame-level labels." |
], |
"type": "string" |
+ }, |
+ "stationaryCamera": { |
+ "description": "Whether the video has been shot from a stationary (i.e. non-moving) camera.\nWhen set to true, might improve detection accuracy for moving objects.", |
+ "type": "boolean" |
+ }, |
+ "safeSearchDetectionModel": { |
+ "description": "Model to use for safe search detection.\nSupported values: \"latest\" and \"stable\" (the default).", |
+ "type": "string" |
+ } |
+ }, |
+ "type": "object" |
+ }, |
+ "GoogleCloudVideointelligenceV1_LabelAnnotation": { |
+ "description": "Label annotation.", |
+ "id": "GoogleCloudVideointelligenceV1_LabelAnnotation", |
+ "properties": { |
+ "locations": { |
+ "description": "Where the label was detected and with what confidence.", |
+ "items": { |
+ "$ref": "GoogleCloudVideointelligenceV1_LabelLocation" |
+ }, |
+ "type": "array" |
+ }, |
+ "languageCode": { |
+ "description": "Language code for `description` in BCP-47 format.", |
+ "type": "string" |
+ }, |
+ "description": { |
+ "description": "Textual description, e.g. `Fixed-gear bicycle`.", |
+ "type": "string" |
} |
}, |
"type": "object" |
@@ -569,7 +601,7 @@ |
"id": "GoogleRpc_Status", |
"properties": { |
"details": { |
- "description": "A list of messages that carry the error details. There will be a\ncommon set of message types for APIs to use.", |
+ "description": "A list of messages that carry the error details. There is a common set of\nmessage types for APIs to use.", |
"items": { |
"additionalProperties": { |
"description": "Properties of the object. Contains field @type with type URL.", |
@@ -633,6 +665,103 @@ |
} |
}, |
"type": "object" |
+ }, |
+ "GoogleCloudVideointelligenceV1beta1_AnnotateVideoRequest": { |
+ "description": "Video annotation request.", |
+ "id": "GoogleCloudVideointelligenceV1beta1_AnnotateVideoRequest", |
+ "properties": { |
+ "locationId": { |
+ "description": "Optional cloud region where annotation should 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 video file location.", |
+ "type": "string" |
+ }, |
+ "inputUri": { |
+ "description": "Input video location. Currently, only\n[Google 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 URI 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 video should be embedded\nin the request as `input_content`. If set, `input_content` should be unset.", |
+ "type": "string" |
+ }, |
+ "inputContent": { |
+ "description": "The video data bytes. Encoding: base64. If unset, the input video(s)\nshould be specified via `input_uri`. If set, `input_uri` should be unset.", |
+ "type": "string" |
+ }, |
+ "features": { |
+ "description": "Requested video annotation features.", |
+ "enumDescriptions": [ |
+ "Unspecified.", |
+ "Label detection. Detect objects, such as dog or flower.", |
+ "Shot change detection.", |
+ "Safe search detection." |
+ ], |
+ "items": { |
+ "enum": [ |
+ "FEATURE_UNSPECIFIED", |
+ "LABEL_DETECTION", |
+ "SHOT_CHANGE_DETECTION", |
+ "SAFE_SEARCH_DETECTION" |
+ ], |
+ "type": "string" |
+ }, |
+ "type": "array" |
+ }, |
+ "outputUri": { |
+ "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 following format:\n`gs://bucket-id/object-id` (other URI formats return\ngoogle.rpc.Code.INVALID_ARGUMENT). For more information, see\n[Request URIs](/storage/docs/reference-uris).", |
+ "type": "string" |
+ }, |
+ "videoContext": { |
+ "$ref": "GoogleCloudVideointelligenceV1beta1_VideoContext", |
+ "description": "Additional video context and/or feature-specific parameters." |
+ } |
+ }, |
+ "type": "object" |
+ }, |
+ "GoogleCloudVideointelligenceV1beta1_LabelLocation": { |
+ "description": "Label location.", |
+ "id": "GoogleCloudVideointelligenceV1beta1_LabelLocation", |
+ "properties": { |
+ "confidence": { |
+ "description": "Confidence that the label is accurate. Range: [0, 1].", |
+ "format": "float", |
+ "type": "number" |
+ }, |
+ "segment": { |
+ "$ref": "GoogleCloudVideointelligenceV1beta1_VideoSegment", |
+ "description": "Video segment. Set to [-1, -1] for video-level labels.\nSet to [timestamp, timestamp] for frame-level labels.\nOtherwise, corresponds to one of `AnnotateSpec.segments`\n(if specified) or to shot boundaries (if requested)." |
+ }, |
+ "level": { |
+ "description": "Label level.", |
+ "enum": [ |
+ "LABEL_LEVEL_UNSPECIFIED", |
+ "VIDEO_LEVEL", |
+ "SEGMENT_LEVEL", |
+ "SHOT_LEVEL", |
+ "FRAME_LEVEL" |
+ ], |
+ "enumDescriptions": [ |
+ "Unspecified.", |
+ "Video-level. Corresponds to the whole video.", |
+ "Segment-level. Corresponds to one of `AnnotateSpec.segments`.", |
+ "Shot-level. Corresponds to a single shot (i.e. a series of frames\nwithout a major camera position or background change).", |
+ "Frame-level. Corresponds to a single video frame." |
+ ], |
+ "type": "string" |
+ } |
+ }, |
+ "type": "object" |
+ }, |
+ "GoogleCloudVideointelligenceV1beta1_VideoSegment": { |
+ "description": "Video segment.", |
+ "id": "GoogleCloudVideointelligenceV1beta1_VideoSegment", |
+ "properties": { |
+ "endTimeOffset": { |
+ "description": "End offset in microseconds (inclusive). Unset means 0.", |
+ "format": "int64", |
+ "type": "string" |
+ }, |
+ "startTimeOffset": { |
+ "description": "Start offset in microseconds (inclusive). Unset means 0.", |
+ "format": "int64", |
+ "type": "string" |
+ } |
+ }, |
+ "type": "object" |
} |
}, |
"servicePath": "", |