Reference documentation and code samples for the Google Cloud Video Live Stream V1 Client class VideoAsset.
VideoAsset represents a video. The supported formats are MP4, MPEG-TS, and
FLV. The supported video codec is H264. The supported audio codecs are
AAC, AC3, MP2, and MP3.
Generated from protobuf messagegoogle.cloud.video.livestream.v1.Asset.VideoAsset
Namespace
Google \ Cloud \ Video \ LiveStream \ V1 \ Asset
Methods
__construct
Constructor.
Parameters
Name
Description
data
array
Optional. Data for populating the Message object.
↳ uri
string
Cloud Storage URI of the video. The format isgs://my-bucket/my-object.
getUri
Cloud Storage URI of the video. The format isgs://my-bucket/my-object.
Returns
Type
Description
string
setUri
Cloud Storage URI of the video. The format isgs://my-bucket/my-object.
[[["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,["# Google Cloud Video Live Stream V1 Client - Class VideoAsset (1.2.1)\n\nVersion latestkeyboard_arrow_down\n\n- [1.2.1 (latest)](/php/docs/reference/cloud-video-live-stream/latest/V1.Asset.VideoAsset)\n- [1.2.0](/php/docs/reference/cloud-video-live-stream/1.2.0/V1.Asset.VideoAsset)\n- [1.1.3](/php/docs/reference/cloud-video-live-stream/1.1.3/V1.Asset.VideoAsset)\n- [1.0.0](/php/docs/reference/cloud-video-live-stream/1.0.0/V1.Asset.VideoAsset)\n- [0.7.5](/php/docs/reference/cloud-video-live-stream/0.7.5/V1.Asset.VideoAsset)\n- [0.6.2](/php/docs/reference/cloud-video-live-stream/0.6.2/V1.Asset.VideoAsset)\n- [0.5.0](/php/docs/reference/cloud-video-live-stream/0.5.0/V1.Asset.VideoAsset)\n- [0.4.2](/php/docs/reference/cloud-video-live-stream/0.4.2/V1.Asset.VideoAsset)\n- [0.3.2](/php/docs/reference/cloud-video-live-stream/0.3.2/V1.Asset.VideoAsset)\n- [0.2.6](/php/docs/reference/cloud-video-live-stream/0.2.6/V1.Asset.VideoAsset) \nReference documentation and code samples for the Google Cloud Video Live Stream V1 Client class VideoAsset.\n\nVideoAsset represents a video. The supported formats are MP4, MPEG-TS, and\nFLV. The supported video codec is H264. The supported audio codecs are\nAAC, AC3, MP2, and MP3.\n\nGenerated from protobuf message `google.cloud.video.livestream.v1.Asset.VideoAsset`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ Video \\\\ LiveStream \\\\ V1 \\\\ Asset\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getUri\n\nCloud Storage URI of the video. The format is `gs://my-bucket/my-object`.\n\n### setUri\n\nCloud Storage URI of the video. The format is `gs://my-bucket/my-object`."]]