Reference documentation and code samples for the Network Services V1 API class Google::Cloud::NetworkServices::V1::WasmPlugin.
WasmPlugin is a resource representing a service executing
a customer-provided Wasm module.
Inherits
- Object
Extended By
- Google::Protobuf::MessageExts::ClassMethods
Includes
- Google::Protobuf::MessageExts
Methods
#create_time
def create_time() -> ::Google::Protobuf::Timestamp- (::Google::Protobuf::Timestamp) — Output only. The timestamp when the resource was created.
#description
def description() -> ::String- (::String) — Optional. A human-readable description of the resource.
#description=
def description=(value) -> ::String- value (::String) — Optional. A human-readable description of the resource.
- (::String) — Optional. A human-readable description of the resource.
#labels
def labels() -> ::Google::Protobuf::Map{::String => ::String}-
(::Google::Protobuf::Map{::String => ::String}) — Optional. Set of labels associated with the
WasmPluginresource.The format must comply with the following requirements.
#labels=
def labels=(value) -> ::Google::Protobuf::Map{::String => ::String}-
value (::Google::Protobuf::Map{::String => ::String}) — Optional. Set of labels associated with the
WasmPluginresource.The format must comply with the following requirements.
-
(::Google::Protobuf::Map{::String => ::String}) — Optional. Set of labels associated with the
WasmPluginresource.The format must comply with the following requirements.
#log_config
def log_config() -> ::Google::Cloud::NetworkServices::V1::WasmPlugin::LogConfig- (::Google::Cloud::NetworkServices::V1::WasmPlugin::LogConfig) — 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.
#log_config=
def log_config=(value) -> ::Google::Cloud::NetworkServices::V1::WasmPlugin::LogConfig- value (::Google::Cloud::NetworkServices::V1::WasmPlugin::LogConfig) — 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.
- (::Google::Cloud::NetworkServices::V1::WasmPlugin::LogConfig) — 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.
#main_version_id
def main_version_id() -> ::String-
(::String) — Optional. The ID of the
WasmPluginVersionresource that is the currently serving one. The version referred to must be a child of thisWasmPluginresource.
#main_version_id=
def main_version_id=(value) -> ::String-
value (::String) — Optional. The ID of the
WasmPluginVersionresource that is the currently serving one. The version referred to must be a child of thisWasmPluginresource.
-
(::String) — Optional. The ID of the
WasmPluginVersionresource that is the currently serving one. The version referred to must be a child of thisWasmPluginresource.
#name
def name() -> ::String-
(::String) — Identifier. Name of the
WasmPluginresource in the following format:projects/{project}/locations/{location}/wasmPlugins/{wasm_plugin}.
#name=
def name=(value) -> ::String-
value (::String) — Identifier. Name of the
WasmPluginresource in the following format:projects/{project}/locations/{location}/wasmPlugins/{wasm_plugin}.
-
(::String) — Identifier. Name of the
WasmPluginresource in the following format:projects/{project}/locations/{location}/wasmPlugins/{wasm_plugin}.
#update_time
def update_time() -> ::Google::Protobuf::Timestamp- (::Google::Protobuf::Timestamp) — Output only. The timestamp when the resource was updated.
#used_by
def used_by() -> ::Array<::Google::Cloud::NetworkServices::V1::WasmPlugin::UsedBy>-
(::Array<::Google::Cloud::NetworkServices::V1::WasmPlugin::UsedBy>) — Output only. List of all
extensions
that use this
WasmPluginresource.
#versions
def versions() -> ::Google::Protobuf::Map{::String => ::Google::Cloud::NetworkServices::V1::WasmPlugin::VersionDetails}-
(::Google::Protobuf::Map{::String => ::Google::Cloud::NetworkServices::V1::WasmPlugin::VersionDetails}) — Optional. All versions of this
WasmPluginresource in the key-value format. The key is the resource ID, and the value is theVersionDetailsobject.Lets you create or update a
WasmPluginresource and its versions in a single request. When themain_version_idfield is not empty, it must point to one of theVersionDetailsobjects in the map.If provided in a
PATCHrequest, the new versions replace the previous set. Any version omitted from theversionsfield is removed. Because theWasmPluginVersionresource is immutable, if aWasmPluginVersionresource with the same name already exists and differs, the request fails.Note: In a
GETrequest, this field is populated only if the fieldGetWasmPluginRequest.viewis set toWASM_PLUGIN_VIEW_FULL.
#versions=
def versions=(value) -> ::Google::Protobuf::Map{::String => ::Google::Cloud::NetworkServices::V1::WasmPlugin::VersionDetails}-
value (::Google::Protobuf::Map{::String => ::Google::Cloud::NetworkServices::V1::WasmPlugin::VersionDetails}) — Optional. All versions of this
WasmPluginresource in the key-value format. The key is the resource ID, and the value is theVersionDetailsobject.Lets you create or update a
WasmPluginresource and its versions in a single request. When themain_version_idfield is not empty, it must point to one of theVersionDetailsobjects in the map.If provided in a
PATCHrequest, the new versions replace the previous set. Any version omitted from theversionsfield is removed. Because theWasmPluginVersionresource is immutable, if aWasmPluginVersionresource with the same name already exists and differs, the request fails.Note: In a
GETrequest, this field is populated only if the fieldGetWasmPluginRequest.viewis set toWASM_PLUGIN_VIEW_FULL.
-
(::Google::Protobuf::Map{::String => ::Google::Cloud::NetworkServices::V1::WasmPlugin::VersionDetails}) — Optional. All versions of this
WasmPluginresource in the key-value format. The key is the resource ID, and the value is theVersionDetailsobject.Lets you create or update a
WasmPluginresource and its versions in a single request. When themain_version_idfield is not empty, it must point to one of theVersionDetailsobjects in the map.If provided in a
PATCHrequest, the new versions replace the previous set. Any version omitted from theversionsfield is removed. Because theWasmPluginVersionresource is immutable, if aWasmPluginVersionresource with the same name already exists and differs, the request fails.Note: In a
GETrequest, this field is populated only if the fieldGetWasmPluginRequest.viewis set toWASM_PLUGIN_VIEW_FULL.