public WasmPlugin.Types.LogConfig LogConfig { get; set; }
Optional. Specifies the logging options for the activity performed by this
plugin. If logging is enabled, plugin logs are exported to
Cloud Logging.
Note that the settings relate to the logs generated by using
logging statements in your Wasm code.
Optional. The ID of the WasmPluginVersion resource that is the
currently serving one. The version referred to must be a child of this
WasmPlugin resource.
public MapField<string, WasmPlugin.Types.VersionDetails> Versions { get; }
Optional. All versions of this WasmPlugin resource in the key-value
format. The key is the resource ID, and the value is the VersionDetails
object.
Lets you create or update a WasmPlugin resource and its versions in a
single request. When the main_version_id field is not empty, it must
point to one of the VersionDetails objects in the map.
If provided in a PATCH request, the new versions replace the
previous set. Any version omitted from the versions field is removed.
Because the WasmPluginVersion resource is immutable, if a
WasmPluginVersion resource with the same name already exists and differs,
the request fails.
Note: In a GET request, this field is populated only if the field
GetWasmPluginRequest.view is set to WASM_PLUGIN_VIEW_FULL.
[[["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 WasmPlugin (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.WasmPlugin)\n- [1.2.0](/dotnet/docs/reference/Google.Cloud.NetworkServices.V1/1.2.0/Google.Cloud.NetworkServices.V1.WasmPlugin)\n- [1.1.0](/dotnet/docs/reference/Google.Cloud.NetworkServices.V1/1.1.0/Google.Cloud.NetworkServices.V1.WasmPlugin)\n- [1.0.0](/dotnet/docs/reference/Google.Cloud.NetworkServices.V1/1.0.0/Google.Cloud.NetworkServices.V1.WasmPlugin) \n\n public sealed class WasmPlugin : IMessage\u003cWasmPlugin\u003e, IEquatable\u003cWasmPlugin\u003e, IDeepCloneable\u003cWasmPlugin\u003e, IBufferMessage, IMessage\n\nReference documentation and code samples for the Network Services v1 API class WasmPlugin.\n\n`WasmPlugin` is a resource representing a service executing\na customer-provided Wasm module. \n\nInheritance\n-----------\n\n[object](https://learn.microsoft.com/dotnet/api/system.object) \\\u003e WasmPlugin \n\nImplements\n----------\n\n[IMessage](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IMessage-1.html)[WasmPlugin](/dotnet/docs/reference/Google.Cloud.NetworkServices.V1/latest/Google.Cloud.NetworkServices.V1.WasmPlugin), [IEquatable](https://learn.microsoft.com/dotnet/api/system.iequatable-1)[WasmPlugin](/dotnet/docs/reference/Google.Cloud.NetworkServices.V1/latest/Google.Cloud.NetworkServices.V1.WasmPlugin), [IDeepCloneable](https://cloud.google.com/dotnet/docs/reference/Google.Protobuf/latest/Google.Protobuf.IDeepCloneable-1.html)[WasmPlugin](/dotnet/docs/reference/Google.Cloud.NetworkServices.V1/latest/Google.Cloud.NetworkServices.V1.WasmPlugin), [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### WasmPlugin()\n\n public WasmPlugin()\n\n### WasmPlugin(WasmPlugin)\n\n public WasmPlugin(WasmPlugin 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### Labels\n\n public MapField\u003cstring, string\u003e Labels { get; }\n\nOptional. Set of labels associated with the `WasmPlugin` resource.\n\nThe format must comply with [the following\nrequirements](/compute/docs/labeling-resources#requirements).\n\n### LogConfig\n\n public WasmPlugin.Types.LogConfig LogConfig { get; set; }\n\nOptional. Specifies the logging options for the activity performed by this\nplugin. If logging is enabled, plugin logs are exported to\nCloud Logging.\nNote that the settings relate to the logs generated by using\nlogging statements in your Wasm code.\n\n### MainVersionId\n\n public string MainVersionId { get; set; }\n\nOptional. The ID of the `WasmPluginVersion` resource that is the\ncurrently serving one. The version referred to must be a child of this\n`WasmPlugin` resource.\n\n### Name\n\n public string Name { get; set; }\n\nIdentifier. Name of the `WasmPlugin` resource in the following format:\n`projects/{project}/locations/{location}/wasmPlugins/{wasm_plugin}`.\n\n### UpdateTime\n\n public Timestamp UpdateTime { get; set; }\n\nOutput only. The timestamp when the resource was updated.\n\n### UsedBy\n\n public RepeatedField\u003cWasmPlugin.Types.UsedBy\u003e UsedBy { get; }\n\nOutput only. List of all\n[extensions](https://cloud.google.com/service-extensions/docs/overview)\nthat use this `WasmPlugin` resource.\n\n### Versions\n\n public MapField\u003cstring, WasmPlugin.Types.VersionDetails\u003e Versions { get; }\n\nOptional. All versions of this `WasmPlugin` resource in the key-value\nformat. The key is the resource ID, and the value is the `VersionDetails`\nobject.\n\nLets you create or update a `WasmPlugin` resource and its versions in a\nsingle request. When the `main_version_id` field is not empty, it must\npoint to one of the `VersionDetails` objects in the map.\n\nIf provided in a `PATCH` request, the new versions replace the\nprevious set. Any version omitted from the `versions` field is removed.\nBecause the `WasmPluginVersion` resource is immutable, if a\n`WasmPluginVersion` resource with the same name already exists and differs,\nthe request fails.\n\nNote: In a `GET` request, this field is populated only if the field\n`GetWasmPluginRequest.view` is set to `WASM_PLUGIN_VIEW_FULL`.\n\n### WasmPluginName\n\n public WasmPluginName WasmPluginName { get; set; }\n\n[WasmPluginName](/dotnet/docs/reference/Google.Cloud.NetworkServices.V1/latest/Google.Cloud.NetworkServices.V1.WasmPluginName)-typed view over the [Name](/dotnet/docs/reference/Google.Cloud.NetworkServices.V1/latest/Google.Cloud.NetworkServices.V1.WasmPlugin#Google_Cloud_NetworkServices_V1_WasmPlugin_Name) resource name property."]]