1.11.0 (latest) 1.10.0 1.9.0 1.8.0 1.7.0 1.6.0 1.5.0 1.4.0 1.3.0 1.2.0 1.1.0 1.0.0

    public sealed class StaticOverlay : IMessage<StaticOverlay>, IEquatable<StaticOverlay>, IDeepCloneable<StaticOverlay>, IBufferMessage, IMessage

Reference documentation and code samples for the Live Stream v1 API class StaticOverlay.

Configuration for the static overlay.

## Inheritance

[object](https://learn.microsoft.com/dotnet/api/system.object) \> StaticOverlay

## Implements

[IMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.md.txt)[StaticOverlay](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.StaticOverlay.md.txt), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[StaticOverlay](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.StaticOverlay.md.txt), [IDeepCloneable](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.md.txt)[StaticOverlay](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.StaticOverlay.md.txt), [IBufferMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IBufferMessage.md.txt), [IMessage](https://docs.cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage.md.txt)

## Inherited Members

[object.GetHashCode()](https://learn.microsoft.com/dotnet/api/system.object.gethashcode) [object.GetType()](https://learn.microsoft.com/dotnet/api/system.object.gettype) [object.ToString()](https://learn.microsoft.com/dotnet/api/system.object.tostring)

## Namespace

[Google.Cloud.Video.LiveStream.V1](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.md.txt)

## Assembly

Google.Cloud.Video.LiveStream.V1.dll

## Constructors

### StaticOverlay()

    public StaticOverlay()

### StaticOverlay(StaticOverlay)

    public StaticOverlay(StaticOverlay other)

| **Parameter** ||
|---|---|
| **Name** | **Description** |
| `other` | `StaticOverlay` |

## Properties

### Asset

    public string Asset { get; set; }

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.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `string` |   |

### AssetAsAssetName

    public AssetName AssetAsAssetName { get; set; }

[AssetName](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.AssetName.md.txt)-typed view over the [Asset](https://docs.cloud.google.com/dotnet/docs/reference/Google.Cloud.Video.LiveStream.V1/latest/Google.Cloud.Video.LiveStream.V1.StaticOverlay.md.txt#Google_Cloud_Video_LiveStream_V1_StaticOverlay_Asset) resource name property.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `AssetName` |   |

### Opacity

    public double Opacity { get; set; }

Optional. Target image opacity. Valid values are from `1.0` (solid,
default) to `0.0` (transparent), exclusive. Set this to a value greater
than `0.0`.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `double` |   |

### Position

    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.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `NormalizedCoordinate` |   |

### Resolution

    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}.

| **Property Value** ||
|---|---|
| **Type** | **Description** |
| `NormalizedResolution` |   |