Reference documentation and code samples for the Cloud Video Intelligence V1p3beta1 API class Google::Cloud::VideoIntelligence::V1p3beta1::StreamingAnnotateVideoRequest.
The top-level message sent by the client for the StreamingAnnotateVideo
method. Multiple StreamingAnnotateVideoRequest
messages are sent.
The first message must only contain a StreamingVideoConfig
message.
All subsequent messages must only contain input_content
data.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#input_content
def input_content() -> ::String
-
(::String) — The video data to be annotated. Chunks of video data are sequentially
sent in
StreamingAnnotateVideoRequest
messages. Except the initialStreamingAnnotateVideoRequest
message containing onlyvideo_config
, all subsequentAnnotateStreamingVideoRequest
messages must only containinput_content
field. Note: as with all bytes fields, protobuffers use a pure binary representation (not base64).Note: The following fields are mutually exclusive:
input_content
,video_config
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#input_content=
def input_content=(value) -> ::String
-
value (::String) — The video data to be annotated. Chunks of video data are sequentially
sent in
StreamingAnnotateVideoRequest
messages. Except the initialStreamingAnnotateVideoRequest
message containing onlyvideo_config
, all subsequentAnnotateStreamingVideoRequest
messages must only containinput_content
field. Note: as with all bytes fields, protobuffers use a pure binary representation (not base64).Note: The following fields are mutually exclusive:
input_content
,video_config
. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::String) — The video data to be annotated. Chunks of video data are sequentially
sent in
StreamingAnnotateVideoRequest
messages. Except the initialStreamingAnnotateVideoRequest
message containing onlyvideo_config
, all subsequentAnnotateStreamingVideoRequest
messages must only containinput_content
field. Note: as with all bytes fields, protobuffers use a pure binary representation (not base64).Note: The following fields are mutually exclusive:
input_content
,video_config
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#video_config
def video_config() -> ::Google::Cloud::VideoIntelligence::V1p3beta1::StreamingVideoConfig
-
(::Google::Cloud::VideoIntelligence::V1p3beta1::StreamingVideoConfig) — Provides information to the annotator, specifing how to process the
request. The first
AnnotateStreamingVideoRequest
message must only contain avideo_config
message.Note: The following fields are mutually exclusive:
video_config
,input_content
. If a field in that set is populated, all other fields in the set will automatically be cleared.
#video_config=
def video_config=(value) -> ::Google::Cloud::VideoIntelligence::V1p3beta1::StreamingVideoConfig
-
value (::Google::Cloud::VideoIntelligence::V1p3beta1::StreamingVideoConfig) — Provides information to the annotator, specifing how to process the
request. The first
AnnotateStreamingVideoRequest
message must only contain avideo_config
message.Note: The following fields are mutually exclusive:
video_config
,input_content
. If a field in that set is populated, all other fields in the set will automatically be cleared.
-
(::Google::Cloud::VideoIntelligence::V1p3beta1::StreamingVideoConfig) — Provides information to the annotator, specifing how to process the
request. The first
AnnotateStreamingVideoRequest
message must only contain avideo_config
message.Note: The following fields are mutually exclusive:
video_config
,input_content
. If a field in that set is populated, all other fields in the set will automatically be cleared.