Required. Asset to use for the overlaid image.
The asset must be represented in the form of:
projects/{project}/locations/{location}/assets/{assetId}.
The asset's resource type must be image.
public NormalizedCoordinate Position { get; set; }
Optional. Position of the image in terms of normalized coordinates of the
upper-left corner of the image, based on output video resolution. For
example, use the x and y coordinates {0, 0} to position the top-left corner
of the overlay animation in the top-left corner of the output video.
public NormalizedResolution Resolution { get; set; }
Optional. Normalized image resolution, based on output video resolution.
Valid values are [0.0, 1.0]. To respect the original image aspect ratio,
set either w or h to 0. To use the original image resolution, set both
w and h to 0. The default is {0, 0}.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThe \u003ccode\u003eStaticOverlay\u003c/code\u003e class in the Google.Cloud.Video.LiveStream.V1 namespace configures static image overlays for live video streams.\u003c/p\u003e\n"],["\u003cp\u003eThis class supports different versions, with version 1.8.0 being the latest available, and it can be implemented through several interfaces including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003e\u003ccode\u003eStaticOverlay\u003c/code\u003e allows for setting the overlay image via the Asset property, which must be an image asset in a specified format.\u003c/p\u003e\n"],["\u003cp\u003eUsers can customize the overlay by adjusting properties like \u003ccode\u003eOpacity\u003c/code\u003e for transparency, \u003ccode\u003ePosition\u003c/code\u003e for placement within the video frame, and \u003ccode\u003eResolution\u003c/code\u003e to control image size relative to the output video.\u003c/p\u003e\n"],["\u003cp\u003eThere are two constructors available for creating a new \u003ccode\u003eStaticOverlay\u003c/code\u003e object, one default and one that takes an existing \u003ccode\u003eStaticOverlay\u003c/code\u003e as a parameter.\u003c/p\u003e\n"]]],[],null,["# Live Stream v1 API - Class StaticOverlay (1.9.0)\n\nVersion latestkeyboard_arrow_down\n\n- [1.9.0 (latest)](/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.StaticOverlay)\n- [1.8.0](/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/1.8.0/Google.Cloud.Video.LiveStream.V1.StaticOverlay)\n- [1.7.0](/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/1.7.0/Google.Cloud.Video.LiveStream.V1.StaticOverlay)\n- [1.6.0](/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/1.6.0/Google.Cloud.Video.LiveStream.V1.StaticOverlay)\n- [1.5.0](/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/1.5.0/Google.Cloud.Video.LiveStream.V1.StaticOverlay)\n- [1.4.0](/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/1.4.0/Google.Cloud.Video.LiveStream.V1.StaticOverlay)\n- [1.3.0](/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/1.3.0/Google.Cloud.Video.LiveStream.V1.StaticOverlay)\n- [1.2.0](/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/1.2.0/Google.Cloud.Video.LiveStream.V1.StaticOverlay)\n- [1.1.0](/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/1.1.0/Google.Cloud.Video.LiveStream.V1.StaticOverlay)\n- [1.0.0](/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/1.0.0/Google.Cloud.Video.LiveStream.V1.StaticOverlay) \n\n public sealed class StaticOverlay : IMessage\u003cStaticOverlay\u003e, IEquatable\u003cStaticOverlay\u003e, IDeepCloneable\u003cStaticOverlay\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Live Stream v1 API class StaticOverlay.\n\nConfiguration for the static overlay. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e StaticOverlay \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[StaticOverlay](/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.StaticOverlay), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[StaticOverlay](/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.StaticOverlay), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[StaticOverlay](/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.StaticOverlay), [IBufferMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.html), [IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.html) \n\nInherited Members\n-----------------\n\n[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) \n[object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) \n[object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)\n\nNamespace\n---------\n\n[Google.Cloud.Video.LiveStream.V1](/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1)\n\nAssembly\n--------\n\nGoogle.Cloud.Video.LiveStream.V1.dll\n\nConstructors\n------------\n\n### StaticOverlay()\n\n public StaticOverlay()\n\n### StaticOverlay(StaticOverlay)\n\n public StaticOverlay(StaticOverlay other)\n\nProperties\n----------\n\n### Asset\n\n public string Asset { get; set; }\n\nRequired. Asset to use for the overlaid image.\nThe asset must be represented in the form of:\n`projects/{project}/locations/{location}/assets/{assetId}`.\nThe asset's resource type must be image.\n\n### AssetAsAssetName\n\n public AssetName AssetAsAssetName { get; set; }\n\n[AssetName](/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.AssetName)-typed view over the [Asset](/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.StaticOverlay#Google_Cloud_Video_LiveStream_V1_StaticOverlay_Asset) resource name property.\n\n### Opacity\n\n public double Opacity { get; set; }\n\nOptional. Target image opacity. Valid values are from `1.0` (solid,\ndefault) to `0.0` (transparent), exclusive. Set this to a value greater\nthan `0.0`.\n\n### Position\n\n public NormalizedCoordinate Position { get; set; }\n\nOptional. Position of the image in terms of normalized coordinates of the\nupper-left corner of the image, based on output video resolution. For\nexample, use the x and y coordinates {0, 0} to position the top-left corner\nof the overlay animation in the top-left corner of the output video.\n\n### Resolution\n\n public NormalizedResolution Resolution { get; set; }\n\nOptional. Normalized image resolution, based on output video resolution.\nValid values are \\[0.0, 1.0\\]. To respect the original image aspect ratio,\nset either `w` or `h` to 0. To use the original image resolution, set both\n`w` and `h` to 0. The default is {0, 0}."]]