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
WasmPlugin
resource.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
WasmPlugin
resource.The format must comply with the following requirements.
-
(::Google::Protobuf::Map{::String => ::String}) — Optional. Set of labels associated with the
WasmPlugin
resource.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
WasmPluginVersion
resource that is the currently serving one. The version referred to must be a child of thisWasmPlugin
resource.
#main_version_id=
def main_version_id=(value) -> ::String
-
value (::String) — Optional. The ID of the
WasmPluginVersion
resource that is the currently serving one. The version referred to must be a child of thisWasmPlugin
resource.
-
(::String) — Optional. The ID of the
WasmPluginVersion
resource that is the currently serving one. The version referred to must be a child of thisWasmPlugin
resource.
#name
def name() -> ::String
-
(::String) — Identifier. Name of the
WasmPlugin
resource in the following format:projects/{project}/locations/{location}/wasmPlugins/{wasm_plugin}
.
#name=
def name=(value) -> ::String
-
value (::String) — Identifier. Name of the
WasmPlugin
resource in the following format:projects/{project}/locations/{location}/wasmPlugins/{wasm_plugin}
.
-
(::String) — Identifier. Name of the
WasmPlugin
resource 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
WasmPlugin
resource.
#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
WasmPlugin
resource in the key-value format. The key is the resource ID, and the value is theVersionDetails
object.Lets you create or update a
WasmPlugin
resource and its versions in a single request. When themain_version_id
field is not empty, it must point to one of theVersionDetails
objects in the map.If provided in a
PATCH
request, the new versions replace the previous set. Any version omitted from theversions
field is removed. Because theWasmPluginVersion
resource is immutable, if aWasmPluginVersion
resource with the same name already exists and differs, the request fails.Note: In a
GET
request, this field is populated only if the fieldGetWasmPluginRequest.view
is 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
WasmPlugin
resource in the key-value format. The key is the resource ID, and the value is theVersionDetails
object.Lets you create or update a
WasmPlugin
resource and its versions in a single request. When themain_version_id
field is not empty, it must point to one of theVersionDetails
objects in the map.If provided in a
PATCH
request, the new versions replace the previous set. Any version omitted from theversions
field is removed. Because theWasmPluginVersion
resource is immutable, if aWasmPluginVersion
resource with the same name already exists and differs, the request fails.Note: In a
GET
request, this field is populated only if the fieldGetWasmPluginRequest.view
is set toWASM_PLUGIN_VIEW_FULL
.
-
(::Google::Protobuf::Map{::String => ::Google::Cloud::NetworkServices::V1::WasmPlugin::VersionDetails}) — Optional. All versions of this
WasmPlugin
resource in the key-value format. The key is the resource ID, and the value is theVersionDetails
object.Lets you create or update a
WasmPlugin
resource and its versions in a single request. When themain_version_id
field is not empty, it must point to one of theVersionDetails
objects in the map.If provided in a
PATCH
request, the new versions replace the previous set. Any version omitted from theversions
field is removed. Because theWasmPluginVersion
resource is immutable, if aWasmPluginVersion
resource with the same name already exists and differs, the request fails.Note: In a
GET
request, this field is populated only if the fieldGetWasmPluginRequest.view
is set toWASM_PLUGIN_VIEW_FULL
.