Class: Google::Cloud::Videointelligence::V1beta1::AnnotateVideoRequest

Inherits:
Object
  • Object
show all
Defined in:
lib/google/cloud/video_intelligence/v1beta1/doc/google/cloud/videointelligence/v1beta1/video_intelligence.rb

Overview

Video annotation request.

Instance Attribute Summary collapse

Instance Attribute Details

#featuresArray<Google::Cloud::Videointelligence::V1beta1::Feature>

Returns Requested video annotation features.

Returns:



55
# File 'lib/google/cloud/video_intelligence/v1beta1/doc/google/cloud/videointelligence/v1beta1/video_intelligence.rb', line 55

class AnnotateVideoRequest; end

#input_contentString

Returns 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.

Returns:

  • (String)

    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.



55
# File 'lib/google/cloud/video_intelligence/v1beta1/doc/google/cloud/videointelligence/v1beta1/video_intelligence.rb', line 55

class AnnotateVideoRequest; end

#input_uriString

Returns 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 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.

Returns:

  • (String)

    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 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.



55
# File 'lib/google/cloud/video_intelligence/v1beta1/doc/google/cloud/videointelligence/v1beta1/video_intelligence.rb', line 55

class AnnotateVideoRequest; end

#location_idString

Returns 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.

Returns:

  • (String)

    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.



55
# File 'lib/google/cloud/video_intelligence/v1beta1/doc/google/cloud/videointelligence/v1beta1/video_intelligence.rb', line 55

class AnnotateVideoRequest; end

#output_uriString

Returns 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 Rpc::Code::INVALID_ARGUMENT). For more information, see Request URIs.

Returns:

  • (String)

    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 Rpc::Code::INVALID_ARGUMENT). For more information, see Request URIs.



55
# File 'lib/google/cloud/video_intelligence/v1beta1/doc/google/cloud/videointelligence/v1beta1/video_intelligence.rb', line 55

class AnnotateVideoRequest; end

#video_contextGoogle::Cloud::Videointelligence::V1beta1::VideoContext

Returns Additional video context and/or feature-specific parameters.

Returns:



55
# File 'lib/google/cloud/video_intelligence/v1beta1/doc/google/cloud/videointelligence/v1beta1/video_intelligence.rb', line 55

class AnnotateVideoRequest; end