Discovery Engine V1BETA API - Class Google::Cloud::DiscoveryEngine::V1beta::MediaInfo (v0.13.0)

Reference documentation and code samples for the Discovery Engine V1BETA API class Google::Cloud::DiscoveryEngine::V1beta::MediaInfo.

Media-specific user event information.

Inherits

  • Object

Extended By

  • Google::Protobuf::MessageExts::ClassMethods

Includes

  • Google::Protobuf::MessageExts

Methods

#media_progress_duration

def media_progress_duration() -> ::Google::Protobuf::Duration
Returns

#media_progress_duration=

def media_progress_duration=(value) -> ::Google::Protobuf::Duration
Parameter
Returns

#media_progress_percentage

def media_progress_percentage() -> ::Float
Returns
  • (::Float) — Media progress should be computed using only the media_progress_duration relative to the media total length.

    This value must be between [0, 1.0] inclusive.

    If this is not a playback or the progress cannot be computed (e.g. ongoing livestream), this field should be unset.

#media_progress_percentage=

def media_progress_percentage=(value) -> ::Float
Parameter
  • value (::Float) — Media progress should be computed using only the media_progress_duration relative to the media total length.

    This value must be between [0, 1.0] inclusive.

    If this is not a playback or the progress cannot be computed (e.g. ongoing livestream), this field should be unset.

Returns
  • (::Float) — Media progress should be computed using only the media_progress_duration relative to the media total length.

    This value must be between [0, 1.0] inclusive.

    If this is not a playback or the progress cannot be computed (e.g. ongoing livestream), this field should be unset.