public sealed class WasmPluginVersion : IMessage<WasmPluginVersion>, IEquatable<WasmPluginVersion>, IDeepCloneable<WasmPluginVersion>, IBufferMessage, IMessage
Reference documentation and code samples for the Network Services v1 API class WasmPluginVersion.
A single immutable version of a WasmPlugin resource.
Defines the Wasm module used and optionally its runtime config.
Output only. The resolved digest for the image specified in the image
field. The digest is resolved during the creation of WasmPluginVersion
resource. This field holds the digest value, regardless of whether a tag or
digest was originally specified in the image field.
Optional. URI of the container image containing the plugin, stored in the
Artifact Registry.
When a new WasmPluginVersion resource is created, the digest
of the container image is saved in the image_digest field.
When downloading an image, the digest value is used instead of an
image tag.
Identifier. Name of the WasmPluginVersion resource in the following
format: projects/{project}/locations/{location}/wasmPlugins/{wasm_plugin}/
versions/{wasm_plugin_version}.
Configuration for the plugin.
The configuration is provided to the plugin at runtime through
the ON_CONFIGURE callback. When a new
WasmPluginVersion resource is created, the digest of the
contents is saved in the plugin_config_digest field.
Output only. This field holds the digest (usually checksum) value for the
plugin configuration. The value is calculated based on the contents of
plugin_config_data or the container image defined by
the plugin_config_uri field.
URI of the plugin configuration stored in the Artifact Registry.
The configuration is provided to the plugin at runtime through
the ON_CONFIGURE callback. The container image must contain
only a single file with the name plugin.config. When a
new WasmPluginVersion resource is created, the digest of the
container image is saved in the plugin_config_digest field.
[[["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."],[],[],null,["# Network Services v1 API - Class WasmPluginVersion (1.3.0)\n\nVersion latestkeyboard_arrow_down\n\n- [1.3.0 (latest)](/dotnet/docs/reference/Google.Cloud.NetworkServices.V1/latest/Google.Cloud.NetworkServices.V1.WasmPluginVersion)\n- [1.2.0](/dotnet/docs/reference/Google.Cloud.NetworkServices.V1/1.2.0/Google.Cloud.NetworkServices.V1.WasmPluginVersion)\n- [1.1.0](/dotnet/docs/reference/Google.Cloud.NetworkServices.V1/1.1.0/Google.Cloud.NetworkServices.V1.WasmPluginVersion)\n- [1.0.0](/dotnet/docs/reference/Google.Cloud.NetworkServices.V1/1.0.0/Google.Cloud.NetworkServices.V1.WasmPluginVersion) \n\n public sealed class WasmPluginVersion : IMessage\u003cWasmPluginVersion\u003e, IEquatable\u003cWasmPluginVersion\u003e, IDeepCloneable\u003cWasmPluginVersion\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Network Services v1 API class WasmPluginVersion.\n\nA single immutable version of a `WasmPlugin` resource.\nDefines the Wasm module used and optionally its runtime config. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e WasmPluginVersion \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[WasmPluginVersion](/dotnet/docs/reference/Google.Cloud.NetworkServices.V1/latest/Google.Cloud.NetworkServices.V1.WasmPluginVersion), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[WasmPluginVersion](/dotnet/docs/reference/Google.Cloud.NetworkServices.V1/latest/Google.Cloud.NetworkServices.V1.WasmPluginVersion), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[WasmPluginVersion](/dotnet/docs/reference/Google.Cloud.NetworkServices.V1/latest/Google.Cloud.NetworkServices.V1.WasmPluginVersion), [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.NetworkServices.V1](/dotnet/docs/reference/Google.Cloud.NetworkServices.V1/latest/Google.Cloud.NetworkServices.V1)\n\nAssembly\n--------\n\nGoogle.Cloud.NetworkServices.V1.dll\n\nConstructors\n------------\n\n### WasmPluginVersion()\n\n public WasmPluginVersion()\n\n### WasmPluginVersion(WasmPluginVersion)\n\n public WasmPluginVersion(WasmPluginVersion other)\n\nProperties\n----------\n\n### CreateTime\n\n public Timestamp CreateTime { get; set; }\n\nOutput only. The timestamp when the resource was created.\n\n### Description\n\n public string Description { get; set; }\n\nOptional. A human-readable description of the resource.\n\n### HasPluginConfigData\n\n public bool HasPluginConfigData { get; }\n\nGets whether the \"plugin_config_data\" field is set\n\n### HasPluginConfigUri\n\n public bool HasPluginConfigUri { get; }\n\nGets whether the \"plugin_config_uri\" field is set\n\n### ImageDigest\n\n public string ImageDigest { get; set; }\n\nOutput only. The resolved digest for the image specified in the `image`\nfield. The digest is resolved during the creation of `WasmPluginVersion`\nresource. This field holds the digest value, regardless of whether a tag or\ndigest was originally specified in the `image` field.\n\n### ImageUri\n\n public string ImageUri { get; set; }\n\nOptional. URI of the container image containing the plugin, stored in the\nArtifact Registry.\nWhen a new `WasmPluginVersion` resource is created, the digest\nof the container image is saved in the `image_digest` field.\nWhen downloading an image, the digest value is used instead of an\nimage tag.\n\n### Labels\n\n public MapField\u003cstring, string\u003e Labels { get; }\n\nOptional. Set of labels associated with the `WasmPluginVersion`\nresource.\n\n### Name\n\n public string Name { get; set; }\n\nIdentifier. Name of the `WasmPluginVersion` resource in the following\nformat: `projects/{project}/locations/{location}/wasmPlugins/{wasm_plugin}/\nversions/{wasm_plugin_version}`.\n\n### PluginConfigData\n\n public ByteString PluginConfigData { get; set; }\n\nConfiguration for the plugin.\nThe configuration is provided to the plugin at runtime through\nthe `ON_CONFIGURE` callback. When a new\n`WasmPluginVersion` resource is created, the digest of the\ncontents is saved in the `plugin_config_digest` field.\n\n### PluginConfigDigest\n\n public string PluginConfigDigest { get; set; }\n\nOutput only. This field holds the digest (usually checksum) value for the\nplugin configuration. The value is calculated based on the contents of\n`plugin_config_data` or the container image defined by\nthe `plugin_config_uri` field.\n\n### PluginConfigSourceCase\n\n public WasmPluginVersion.PluginConfigSourceOneofCase PluginConfigSourceCase { get; }\n\n### PluginConfigUri\n\n public string PluginConfigUri { get; set; }\n\nURI of the plugin configuration stored in the Artifact Registry.\nThe configuration is provided to the plugin at runtime through\nthe `ON_CONFIGURE` callback. The container image must contain\nonly a single file with the name `plugin.config`. When a\nnew `WasmPluginVersion` resource is created, the digest of the\ncontainer image is saved in the `plugin_config_digest` field.\n\n### UpdateTime\n\n public Timestamp UpdateTime { get; set; }\n\nOutput only. The timestamp when the resource was updated.\n\n### WasmPluginVersionName\n\n public WasmPluginVersionName WasmPluginVersionName { get; set; }\n\n[WasmPluginVersionName](/dotnet/docs/reference/Google.Cloud.NetworkServices.V1/latest/Google.Cloud.NetworkServices.V1.WasmPluginVersionName)-typed view over the [Name](/dotnet/docs/reference/Google.Cloud.NetworkServices.V1/latest/Google.Cloud.NetworkServices.V1.WasmPluginVersion#Google_Cloud_NetworkServices_V1_WasmPluginVersion_Name) resource name property."]]