Cloud Video Intelligence V1p3beta1 API - Class Google::Cloud::VideoIntelligence::V1p3beta1::StreamingAnnotateVideoRequest (v0.9.0)

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
Returns
  • (::String) — The video data to be annotated. Chunks of video data are sequentially sent in StreamingAnnotateVideoRequest messages. Except the initial StreamingAnnotateVideoRequest message containing only video_config, all subsequent AnnotateStreamingVideoRequest messages must only contain input_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
Parameter
  • value (::String) — The video data to be annotated. Chunks of video data are sequentially sent in StreamingAnnotateVideoRequest messages. Except the initial StreamingAnnotateVideoRequest message containing only video_config, all subsequent AnnotateStreamingVideoRequest messages must only contain input_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.

Returns
  • (::String) — The video data to be annotated. Chunks of video data are sequentially sent in StreamingAnnotateVideoRequest messages. Except the initial StreamingAnnotateVideoRequest message containing only video_config, all subsequent AnnotateStreamingVideoRequest messages must only contain input_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
Returns
  • (::Google::Cloud::VideoIntelligence::V1p3beta1::StreamingVideoConfig) — Provides information to the annotator, specifing how to process the request. The first AnnotateStreamingVideoRequest message must only contain a video_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
Parameter
  • value (::Google::Cloud::VideoIntelligence::V1p3beta1::StreamingVideoConfig) — Provides information to the annotator, specifing how to process the request. The first AnnotateStreamingVideoRequest message must only contain a video_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.

Returns
  • (::Google::Cloud::VideoIntelligence::V1p3beta1::StreamingVideoConfig) — Provides information to the annotator, specifing how to process the request. The first AnnotateStreamingVideoRequest message must only contain a video_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.