AnnotateVideoRequest
class AnnotateVideoRequest extends Message
Video annotation request.
Protobuf type Google\Cloud\Videointelligence\V1beta1\AnnotateVideoRequest
Methods
No description
Input video location. Currently, only
Google Cloud Storage URIs are
supported, which must be specified in the following format:
gs://bucket-id/object-id
(other URI formats return
[google.rpc.Code.INVALID_ARGUMENT][google.rpc.Code.INVALID_ARGUMENT]). For more information, see
Request URIs.
Input video location. Currently, only
Google Cloud Storage URIs are
supported, which must be specified in the following format:
gs://bucket-id/object-id
(other URI formats return
[google.rpc.Code.INVALID_ARGUMENT][google.rpc.Code.INVALID_ARGUMENT]). For more information, see
Request URIs.
The video data bytes. Encoding: base64. If unset, the input video(s)
should be specified via input_uri
. If set, input_uri
should be unset.
The video data bytes. Encoding: base64. If unset, the input video(s)
should be specified via input_uri
. If set, input_uri
should be unset.
Requested video annotation features.
Requested video annotation features.
Additional video context and/or feature-specific parameters.
Optional location where the output (in JSON format) should be stored.
Optional location where the output (in JSON format) should be stored.
Optional cloud region where annotation should take place. Supported cloud
regions: us-east1
, us-west1
, europe-west1
, asia-east1
. If no region
is specified, a region will be determined based on video file location.
Optional cloud region where annotation should take place. Supported cloud
regions: us-east1
, us-west1
, europe-west1
, asia-east1
. If no region
is specified, a region will be determined based on video file location.
Details
at line 72
__construct()
at line 92
string
getInputUri()
Input video location. Currently, only
Google Cloud Storage URIs are
supported, which must be specified in the following format:
gs://bucket-id/object-id
(other URI formats return
[google.rpc.Code.INVALID_ARGUMENT][google.rpc.Code.INVALID_ARGUMENT]). For more information, see
Request URIs.
A video URI may include wildcards in object-id
, and thus identify
multiple videos. Supported wildcards: '*' to match 0 or more characters;
'?' to match 1 character. If unset, the input video should be embedded
in the request as input_content
. If set, input_content
should be unset.
Generated from protobuf field string input_uri = 1;
at line 112
setInputUri(string $var)
Input video location. Currently, only
Google Cloud Storage URIs are
supported, which must be specified in the following format:
gs://bucket-id/object-id
(other URI formats return
[google.rpc.Code.INVALID_ARGUMENT][google.rpc.Code.INVALID_ARGUMENT]). For more information, see
Request URIs.
A video URI may include wildcards in object-id
, and thus identify
multiple videos. Supported wildcards: '*' to match 0 or more characters;
'?' to match 1 character. If unset, the input video should be embedded
in the request as input_content
. If set, input_content
should be unset.
Generated from protobuf field string input_uri = 1;
at line 125
string
getInputContent()
The video data bytes. Encoding: base64. If unset, the input video(s)
should be specified via input_uri
. If set, input_uri
should be unset.
Generated from protobuf field string input_content = 6;
at line 137
setInputContent(string $var)
The video data bytes. Encoding: base64. If unset, the input video(s)
should be specified via input_uri
. If set, input_uri
should be unset.
Generated from protobuf field string input_content = 6;
at line 149
RepeatedField
getFeatures()
Requested video annotation features.
Generated from protobuf field repeated .google.cloud.videointelligence.v1beta1.Feature features = 2;
at line 160
setFeatures(array|RepeatedField $var)
Requested video annotation features.
Generated from protobuf field repeated .google.cloud.videointelligence.v1beta1.Feature features = 2;
at line 172
VideoContext
getVideoContext()
Additional video context and/or feature-specific parameters.
Generated from protobuf field .google.cloud.videointelligence.v1beta1.VideoContext video_context = 3;
at line 183
setVideoContext(VideoContext $var)
Additional video context and/or feature-specific parameters.
Generated from protobuf field .google.cloud.videointelligence.v1beta1.VideoContext video_context = 3;
at line 200
string
getOutputUri()
Optional location where the output (in JSON format) should be stored.
Currently, only Google Cloud Storage
URIs are supported, which must be specified in the following format:
gs://bucket-id/object-id
(other URI formats return
[google.rpc.Code.INVALID_ARGUMENT][google.rpc.Code.INVALID_ARGUMENT]). For more information, see
Request URIs.
Generated from protobuf field string output_uri = 4;
at line 216
setOutputUri(string $var)
Optional location where the output (in JSON format) should be stored.
Currently, only Google Cloud Storage
URIs are supported, which must be specified in the following format:
gs://bucket-id/object-id
(other URI formats return
[google.rpc.Code.INVALID_ARGUMENT][google.rpc.Code.INVALID_ARGUMENT]). For more information, see
Request URIs.
Generated from protobuf field string output_uri = 4;
at line 230
string
getLocationId()
Optional cloud region where annotation should take place. Supported cloud
regions: us-east1
, us-west1
, europe-west1
, asia-east1
. If no region
is specified, a region will be determined based on video file location.
Generated from protobuf field string location_id = 5;
at line 243
setLocationId(string $var)
Optional cloud region where annotation should take place. Supported cloud
regions: us-east1
, us-west1
, europe-west1
, asia-east1
. If no region
is specified, a region will be determined based on video file location.
Generated from protobuf field string location_id = 5;