public sealed class WasmPlugin : IMessage<WasmPlugin>, IEquatable<WasmPlugin>, IDeepCloneable<WasmPlugin>, IBufferMessage, IMessageReference documentation and code samples for the Network Services v1 API class WasmPlugin.
WasmPlugin is a resource representing a service executing
a customer-provided Wasm module.
Implements
IMessageWasmPlugin, IEquatableWasmPlugin, IDeepCloneableWasmPlugin, IBufferMessage, IMessageNamespace
Google.Cloud.NetworkServices.V1Assembly
Google.Cloud.NetworkServices.V1.dll
Constructors
WasmPlugin()
public WasmPlugin()WasmPlugin(WasmPlugin)
public WasmPlugin(WasmPlugin other)| Parameter | |
|---|---|
| Name | Description |
other |
WasmPlugin |
Properties
CreateTime
public Timestamp CreateTime { get; set; }Output only. The timestamp when the resource was created.
| Property Value | |
|---|---|
| Type | Description |
Timestamp |
|
Description
public string Description { get; set; }Optional. A human-readable description of the resource.
| Property Value | |
|---|---|
| Type | Description |
string |
|
Labels
public MapField<string, string> Labels { get; }Optional. Set of labels associated with the WasmPlugin resource.
The format must comply with the following requirements.
| Property Value | |
|---|---|
| Type | Description |
MapFieldstringstring |
|
LogConfig
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.
| Property Value | |
|---|---|
| Type | Description |
WasmPluginTypesLogConfig |
|
MainVersionId
public string MainVersionId { get; set; }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.
| Property Value | |
|---|---|
| Type | Description |
string |
|
Name
public string Name { get; set; }Identifier. Name of the WasmPlugin resource in the following format:
projects/{project}/locations/{location}/wasmPlugins/{wasm_plugin}.
| Property Value | |
|---|---|
| Type | Description |
string |
|
UpdateTime
public Timestamp UpdateTime { get; set; }Output only. The timestamp when the resource was updated.
| Property Value | |
|---|---|
| Type | Description |
Timestamp |
|
UsedBy
public RepeatedField<WasmPlugin.Types.UsedBy> UsedBy { get; }Output only. List of all
extensions
that use this WasmPlugin resource.
| Property Value | |
|---|---|
| Type | Description |
RepeatedFieldWasmPluginTypesUsedBy |
|
Versions
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.
| Property Value | |
|---|---|
| Type | Description |
MapFieldstringWasmPluginTypesVersionDetails |
|
WasmPluginName
public WasmPluginName WasmPluginName { get; set; }WasmPluginName-typed view over the Name resource name property.
| Property Value | |
|---|---|
| Type | Description |
WasmPluginName |
|