Class: Google::Cloud::DiscoveryEngine::V1::MediaInfo
- Inherits:
-
Object
- Object
- Google::Cloud::DiscoveryEngine::V1::MediaInfo
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/discoveryengine/v1/user_event.rb
Overview
Media-specific user event information.
Instance Attribute Summary collapse
-
#media_progress_duration ⇒ ::Google::Protobuf::Duration
The media progress time in seconds, if applicable.
-
#media_progress_percentage ⇒ ::Float
Media progress should be computed using only the media_progress_duration relative to the media total length.
Instance Attribute Details
#media_progress_duration ⇒ ::Google::Protobuf::Duration
Returns The media progress time in seconds, if applicable. For example, if the end user has finished 90 seconds of a playback video, then MediaInfo.media_progress_duration.seconds should be set to 90.
501 502 503 504 |
# File 'proto_docs/google/cloud/discoveryengine/v1/user_event.rb', line 501 class MediaInfo include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |
#media_progress_percentage ⇒ ::Float
Returns 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.
501 502 503 504 |
# File 'proto_docs/google/cloud/discoveryengine/v1/user_event.rb', line 501 class MediaInfo include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |