Reference documentation and code samples for the Live Stream V1 API class Google::Cloud::Video::LiveStream::V1::Event::SlateTask.
Inserts a slate.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#asset
def asset() -> ::String
Returns
-
(::String) — Slate asset to use for the duration. If its duration is less than the
duration of the SlateTask, then the slate loops. The slate must be
represented in the form of:
projects/{project}/locations/{location}/assets/{assetId}
.
#asset=
def asset=(value) -> ::String
Parameter
-
value (::String) — Slate asset to use for the duration. If its duration is less than the
duration of the SlateTask, then the slate loops. The slate must be
represented in the form of:
projects/{project}/locations/{location}/assets/{assetId}
.
Returns
-
(::String) — Slate asset to use for the duration. If its duration is less than the
duration of the SlateTask, then the slate loops. The slate must be
represented in the form of:
projects/{project}/locations/{location}/assets/{assetId}
.
#duration
def duration() -> ::Google::Protobuf::Duration
Returns
- (::Google::Protobuf::Duration) — Optional. Duration of the slate. Must be greater than 0 if specified. Omit this field for a long running slate.
#duration=
def duration=(value) -> ::Google::Protobuf::Duration
Parameter
- value (::Google::Protobuf::Duration) — Optional. Duration of the slate. Must be greater than 0 if specified. Omit this field for a long running slate.
Returns
- (::Google::Protobuf::Duration) — Optional. Duration of the slate. Must be greater than 0 if specified. Omit this field for a long running slate.