A single immutable version of a WasmPlugin resource. Defines the Wasm module used and optionally its runtime config.
JSON representation
{"name": string,"createTime": string,"updateTime": string,"description": string,"labels": {string: string,...},"imageUri": string,"imageDigest": string,"pluginConfigDigest": string,// Union field plugin_config_source can be only one of the following:"pluginConfigData": string,"pluginConfigUri": string// End of list of possible types for union field plugin_config_source.}
Fields
name
string
Identifier. Name of the WasmPluginVersion resource in the following format: projects/{project}/locations/{location}/wasmPlugins/{wasmPlugin}/
versions/{wasmPluginVersion}.
Output only. The timestamp when the resource was created.
A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
Output only. The timestamp when the resource was updated.
A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
description
string
Optional. A human-readable description of the resource.
labels
map (key: string, value: string)
Optional. Set of labels associated with the WasmPluginVersion resource.
An object containing a list of "key": value pairs. Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }.
imageUri
string
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 imageDigest field. When downloading an image, the digest value is used instead of an image tag.
imageDigest
string
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.
pluginConfigDigest
string
Output only. This field holds the digest (usually checksum) value for the plugin configuration. The value is calculated based on the contents of pluginConfigData or the container image defined by the pluginConfigUri field.
Union field plugin_config_source.
plugin_config_source can be only one of the following:
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 pluginConfigDigest field.
A base64-encoded string.
pluginConfigUri
string
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 pluginConfigDigest field.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2024-10-21 UTC."],[],[]]