Reference documentation and code samples for the Google Cloud Network Services V1 Client class WasmPluginVersion.
A single immutable version of a WasmPlugin
resource.
Defines the Wasm module used and optionally its runtime config.
Generated from protobuf message google.cloud.networkservices.v1.WasmPluginVersion
Namespace
Google \ Cloud \ NetworkServices \ V1Methods
__construct
Constructor.
data
array
Optional. Data for populating the Message object.
↳ plugin_config_data
string
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.
↳ plugin_config_uri
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 plugin_config_digest
field.
↳ name
string
Identifier. Name of the WasmPluginVersion
resource in the following format: projects/{project}/locations/{location}/wasmPlugins/{wasm_plugin}/ versions/{wasm_plugin_version}
.
↳ create_time
↳ update_time
↳ description
string
Optional. A human-readable description of the resource.
↳ labels
array| Google\Protobuf\Internal\MapField
Optional. Set of labels associated with the WasmPluginVersion
resource.
↳ image_uri
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 image_digest
field. When downloading an image, the digest value is used instead of an image tag.
↳ image_digest
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.
↳ plugin_config_digest
string
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.
getPluginConfigData
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.
string
hasPluginConfigData
setPluginConfigData
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.
var
string
$this
getPluginConfigUri
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.
string
hasPluginConfigUri
setPluginConfigUri
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.
var
string
$this
getName
Identifier. Name of the WasmPluginVersion
resource in the following
format: projects/{project}/locations/{location}/wasmPlugins/{wasm_plugin}/
versions/{wasm_plugin_version}
.
string
setName
Identifier. Name of the WasmPluginVersion
resource in the following
format: projects/{project}/locations/{location}/wasmPlugins/{wasm_plugin}/
versions/{wasm_plugin_version}
.
var
string
$this
getCreateTime
Output only. The timestamp when the resource was created.
hasCreateTime
clearCreateTime
setCreateTime
Output only. The timestamp when the resource was created.
$this
getUpdateTime
Output only. The timestamp when the resource was updated.
hasUpdateTime
clearUpdateTime
setUpdateTime
Output only. The timestamp when the resource was updated.
$this
getDescription
Optional. A human-readable description of the resource.
string
setDescription
Optional. A human-readable description of the resource.
var
string
$this
getLabels
Optional. Set of labels associated with the WasmPluginVersion
resource.
setLabels
Optional. Set of labels associated with the WasmPluginVersion
resource.
$this
getImageUri
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.
string
setImageUri
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.
var
string
$this
getImageDigest
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.
string
setImageDigest
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.
var
string
$this
getPluginConfigDigest
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.
string
setPluginConfigDigest
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.
var
string
$this
getPluginConfigSource
string