Class: Google::Cloud::DiscoveryEngine::V1beta::MediaInfo
- Inherits:
-
Object
- Object
- Google::Cloud::DiscoveryEngine::V1beta::MediaInfo
- Extended by:
- Protobuf::MessageExts::ClassMethods
- Includes:
- Protobuf::MessageExts
- Defined in:
- proto_docs/google/cloud/discoveryengine/v1beta/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.
479 480 481 482 |
# File 'proto_docs/google/cloud/discoveryengine/v1beta/user_event.rb', line 479 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.
479 480 481 482 |
# File 'proto_docs/google/cloud/discoveryengine/v1beta/user_event.rb', line 479 class MediaInfo include ::Google::Protobuf::MessageExts extend ::Google::Protobuf::MessageExts::ClassMethods end |