Vertex AI V1 API - Class Google::Cloud::AIPlatform::V1::Schema::Predict::Instance::VideoActionRecognitionPredictionInstance (v0.14.0)

Reference documentation and code samples for the Vertex AI V1 API class Google::Cloud::AIPlatform::V1::Schema::Predict::Instance::VideoActionRecognitionPredictionInstance.

Prediction input format for Video Action Recognition.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#content

def content() -> ::String
Returns
  • (::String) — The Google Cloud Storage location of the video on which to perform the prediction.

#content=

def content=(value) -> ::String
Parameter
  • value (::String) — The Google Cloud Storage location of the video on which to perform the prediction.
Returns
  • (::String) — The Google Cloud Storage location of the video on which to perform the prediction.

#mime_type

def mime_type() -> ::String
Returns
  • (::String) — The MIME type of the content of the video. Only the following are supported: video/mp4 video/avi video/quicktime

#mime_type=

def mime_type=(value) -> ::String
Parameter
  • value (::String) — The MIME type of the content of the video. Only the following are supported: video/mp4 video/avi video/quicktime
Returns
  • (::String) — The MIME type of the content of the video. Only the following are supported: video/mp4 video/avi video/quicktime

#time_segment_end

def time_segment_end() -> ::String
Returns
  • (::String) — The end, exclusive, of the video's time segment on which to perform the prediction. Expressed as a number of seconds as measured from the start of the video, with "s" appended at the end. Fractions are allowed, up to a microsecond precision, and "inf" or "Infinity" is allowed, which means the end of the video.

#time_segment_end=

def time_segment_end=(value) -> ::String
Parameter
  • value (::String) — The end, exclusive, of the video's time segment on which to perform the prediction. Expressed as a number of seconds as measured from the start of the video, with "s" appended at the end. Fractions are allowed, up to a microsecond precision, and "inf" or "Infinity" is allowed, which means the end of the video.
Returns
  • (::String) — The end, exclusive, of the video's time segment on which to perform the prediction. Expressed as a number of seconds as measured from the start of the video, with "s" appended at the end. Fractions are allowed, up to a microsecond precision, and "inf" or "Infinity" is allowed, which means the end of the video.

#time_segment_start

def time_segment_start() -> ::String
Returns
  • (::String) — The beginning, inclusive, of the video's time segment on which to perform the prediction. Expressed as a number of seconds as measured from the start of the video, with "s" appended at the end. Fractions are allowed, up to a microsecond precision.

#time_segment_start=

def time_segment_start=(value) -> ::String
Parameter
  • value (::String) — The beginning, inclusive, of the video's time segment on which to perform the prediction. Expressed as a number of seconds as measured from the start of the video, with "s" appended at the end. Fractions are allowed, up to a microsecond precision.
Returns
  • (::String) — The beginning, inclusive, of the video's time segment on which to perform the prediction. Expressed as a number of seconds as measured from the start of the video, with "s" appended at the end. Fractions are allowed, up to a microsecond precision.