Reference documentation and code samples for the Live Stream V1 API class Google::Cloud::Video::LiveStream::V1::Event::AdBreakTask.
Inserts a new ad opportunity.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#duration
def duration() -> ::Google::Protobuf::Duration
Returns
- (::Google::Protobuf::Duration) — Duration of an ad opportunity. Must be greater than 0.
#duration=
def duration=(value) -> ::Google::Protobuf::Duration
Parameter
- value (::Google::Protobuf::Duration) — Duration of an ad opportunity. Must be greater than 0.
Returns
- (::Google::Protobuf::Duration) — Duration of an ad opportunity. Must be greater than 0.