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
defasset()->::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=
defasset=(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
defduration()->::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=
defduration=(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.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Live Stream V1 API - Class Google::Cloud::Video::LiveStream::V1::Event::SlateTask (v2.2.0)\n\nVersion latestkeyboard_arrow_down\n\n- [2.2.0 (latest)](/ruby/docs/reference/google-cloud-video-live_stream-v1/latest/Google-Cloud-Video-LiveStream-V1-Event-SlateTask)\n- [2.1.0](/ruby/docs/reference/google-cloud-video-live_stream-v1/2.1.0/Google-Cloud-Video-LiveStream-V1-Event-SlateTask)\n- [2.0.1](/ruby/docs/reference/google-cloud-video-live_stream-v1/2.0.1/Google-Cloud-Video-LiveStream-V1-Event-SlateTask)\n- [1.3.0](/ruby/docs/reference/google-cloud-video-live_stream-v1/1.3.0/Google-Cloud-Video-LiveStream-V1-Event-SlateTask)\n- [1.2.0](/ruby/docs/reference/google-cloud-video-live_stream-v1/1.2.0/Google-Cloud-Video-LiveStream-V1-Event-SlateTask)\n- [1.1.1](/ruby/docs/reference/google-cloud-video-live_stream-v1/1.1.1/Google-Cloud-Video-LiveStream-V1-Event-SlateTask)\n- [1.0.0](/ruby/docs/reference/google-cloud-video-live_stream-v1/1.0.0/Google-Cloud-Video-LiveStream-V1-Event-SlateTask)\n- [0.9.0](/ruby/docs/reference/google-cloud-video-live_stream-v1/0.9.0/Google-Cloud-Video-LiveStream-V1-Event-SlateTask)\n- [0.8.2](/ruby/docs/reference/google-cloud-video-live_stream-v1/0.8.2/Google-Cloud-Video-LiveStream-V1-Event-SlateTask)\n- [0.7.0](/ruby/docs/reference/google-cloud-video-live_stream-v1/0.7.0/Google-Cloud-Video-LiveStream-V1-Event-SlateTask)\n- [0.6.0](/ruby/docs/reference/google-cloud-video-live_stream-v1/0.6.0/Google-Cloud-Video-LiveStream-V1-Event-SlateTask)\n- [0.5.1](/ruby/docs/reference/google-cloud-video-live_stream-v1/0.5.1/Google-Cloud-Video-LiveStream-V1-Event-SlateTask)\n- [0.4.0](/ruby/docs/reference/google-cloud-video-live_stream-v1/0.4.0/Google-Cloud-Video-LiveStream-V1-Event-SlateTask)\n- [0.3.0](/ruby/docs/reference/google-cloud-video-live_stream-v1/0.3.0/Google-Cloud-Video-LiveStream-V1-Event-SlateTask)\n- [0.2.0](/ruby/docs/reference/google-cloud-video-live_stream-v1/0.2.0/Google-Cloud-Video-LiveStream-V1-Event-SlateTask)\n- [0.1.0](/ruby/docs/reference/google-cloud-video-live_stream-v1/0.1.0/Google-Cloud-Video-LiveStream-V1-Event-SlateTask) \nReference documentation and code samples for the Live Stream V1 API class Google::Cloud::Video::LiveStream::V1::Event::SlateTask.\n\nInserts a slate. \n\nInherits\n--------\n\n- Object \n\nExtended By\n-----------\n\n- Google::Protobuf::MessageExts::ClassMethods \n\nIncludes\n--------\n\n- Google::Protobuf::MessageExts\n\nMethods\n-------\n\n### #asset\n\n def asset() -\u003e ::String\n\n**Returns**\n\n- (::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}`.\n\n### #asset=\n\n def asset=(value) -\u003e ::String\n\n**Parameter**\n\n- **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}`. \n**Returns**\n\n- (::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}`.\n\n### #duration\n\n def duration() -\u003e ::Google::Protobuf::Duration\n\n**Returns**\n\n- ([::Google::Protobuf::Duration](./Google-Protobuf-Duration)) --- Optional. Duration of the slate. Must be greater than 0 if specified. Omit this field for a long running slate.\n\n### #duration=\n\n def duration=(value) -\u003e ::Google::Protobuf::Duration\n\n**Parameter**\n\n- **value** ([::Google::Protobuf::Duration](./Google-Protobuf-Duration)) --- Optional. Duration of the slate. Must be greater than 0 if specified. Omit this field for a long running slate. \n**Returns**\n\n- ([::Google::Protobuf::Duration](./Google-Protobuf-Duration)) --- Optional. Duration of the slate. Must be greater than 0 if specified. Omit this field for a long running slate."]]