Class: Google::Cloud::VideoIntelligence::V1::AnnotateVideoRequest

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/videointelligence/v1/video_intelligence.rb

Overview

Video annotation request.

Instance Attribute Summary collapse

Instance Attribute Details

#features::Array<::Google::Cloud::VideoIntelligence::V1::Feature>

Returns Required. Requested video annotation features.

Returns:



64
65
66
67
# File 'proto_docs/google/cloud/videointelligence/v1/video_intelligence.rb', line 64

class AnnotateVideoRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#input_content::String

Returns The video data bytes. If unset, the input video(s) should be specified via the input_uri. If set, input_uri must be unset.

Returns:

  • (::String)

    The video data bytes. If unset, the input video(s) should be specified via the input_uri. If set, input_uri must be unset.



64
65
66
67
# File 'proto_docs/google/cloud/videointelligence/v1/video_intelligence.rb', line 64

class AnnotateVideoRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#input_uri::String

Returns Input video location. Currently, only Cloud Storage URIs are supported. URIs 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. To identify multiple videos, a video URI may include wildcards in the object-id. 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 must be unset.

Returns:

  • (::String)

    Input video location. Currently, only Cloud Storage URIs are supported. URIs 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. To identify multiple videos, a video URI may include wildcards in the object-id. 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 must be unset.



64
65
66
67
# File 'proto_docs/google/cloud/videointelligence/v1/video_intelligence.rb', line 64

class AnnotateVideoRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#location_id::String

Returns Optional. Cloud region where annotation should take place. Supported cloud regions are: us-east1, us-west1, europe-west1, asia-east1. If no region is specified, the region will be determined based on video file location.

Returns:

  • (::String)

    Optional. Cloud region where annotation should take place. Supported cloud regions are: us-east1, us-west1, europe-west1, asia-east1. If no region is specified, the region will be determined based on video file location.



64
65
66
67
# File 'proto_docs/google/cloud/videointelligence/v1/video_intelligence.rb', line 64

class AnnotateVideoRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#output_uri::String

Returns Optional. Location where the output (in JSON format) should be stored. Currently, only Cloud Storage URIs are supported. These 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.

Returns:

  • (::String)

    Optional. Location where the output (in JSON format) should be stored. Currently, only Cloud Storage URIs are supported. These 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.



64
65
66
67
# File 'proto_docs/google/cloud/videointelligence/v1/video_intelligence.rb', line 64

class AnnotateVideoRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#video_context::Google::Cloud::VideoIntelligence::V1::VideoContext

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

Returns:



64
65
66
67
# File 'proto_docs/google/cloud/videointelligence/v1/video_intelligence.rb', line 64

class AnnotateVideoRequest
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end