Class: Google::Cloud::Video::Stitcher::V1::PrefetchConfig

Inherits:
Object
  • Object
show all
Extended by:
Protobuf::MessageExts::ClassMethods
Includes:
Protobuf::MessageExts
Defined in:
proto_docs/google/cloud/video/stitcher/v1/live_configs.rb

Overview

The configuration for prefetch ads.

Instance Attribute Summary collapse

Instance Attribute Details

#enabled::Boolean

Returns Required. Indicates whether the option to prefetch ad requests is enabled.

Returns:

  • (::Boolean)

    Required. Indicates whether the option to prefetch ad requests is enabled.



108
109
110
111
# File 'proto_docs/google/cloud/video/stitcher/v1/live_configs.rb', line 108

class PrefetchConfig
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end

#initial_ad_request_duration::Google::Protobuf::Duration

Returns The duration in seconds of the part of the break to be prefetched. This field is only relevant if prefetch is enabled. You should set this duration to as long as possible to increase the benefits of prefetching, but not longer than the shortest ad break expected. For example, for a live event with 30s and 60s ad breaks, the initial duration should be set to 30s.

Returns:

  • (::Google::Protobuf::Duration)

    The duration in seconds of the part of the break to be prefetched. This field is only relevant if prefetch is enabled. You should set this duration to as long as possible to increase the benefits of prefetching, but not longer than the shortest ad break expected. For example, for a live event with 30s and 60s ad breaks, the initial duration should be set to 30s.



108
109
110
111
# File 'proto_docs/google/cloud/video/stitcher/v1/live_configs.rb', line 108

class PrefetchConfig
  include ::Google::Protobuf::MessageExts
  extend ::Google::Protobuf::MessageExts::ClassMethods
end