Class: Google::Cloud::DiscoveryEngine::V1::MediaInfo

Inherits:
Object
  • Object
show all
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

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.

Returns:



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.

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.



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