WasmPlugin(mapping=None, *, ignore_unknown_fields=False, **kwargs)WasmPlugin is a resource representing a service executing a
customer-provided Wasm module.
Attributes |
|
|---|---|
| Name | Description |
name |
str
Identifier. Name of the WasmPlugin resource in the
following format:
projects/{project}/locations/{location}/wasmPlugins/{wasm_plugin}.
|
create_time |
google.protobuf.timestamp_pb2.Timestamp
Output only. The timestamp when the resource was created. |
update_time |
google.protobuf.timestamp_pb2.Timestamp
Output only. The timestamp when the resource was updated. |
description |
str
Optional. A human-readable description of the resource. |
labels |
MutableMapping[str, str]
Optional. Set of labels associated with the WasmPlugin
resource.
The format must comply with `the following
requirements `__.
|
main_version_id |
str
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.
|
log_config |
google.cloud.network_services_v1.types.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. |
versions |
MutableMapping[str, google.cloud.network_services_v1.types.WasmPlugin.VersionDetails]
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.
|
used_by |
MutableSequence[google.cloud.network_services_v1.types.WasmPlugin.UsedBy]
Output only. List of all extensions __
that use this WasmPlugin resource.
|
Classes
LabelsEntry
LabelsEntry(mapping=None, *, ignore_unknown_fields=False, **kwargs)The abstract base class for a message.
| Parameters | |
|---|---|
| Name | Description |
kwargs |
dict
Keys and values corresponding to the fields of the message. |
mapping |
Union[dict,
A dictionary or message to be used to determine the values for this message. |
ignore_unknown_fields |
Optional(bool)
If True, do not raise errors for unknown fields. Only applied if |
LogConfig
LogConfig(mapping=None, *, ignore_unknown_fields=False, **kwargs)Specifies the logging options for the activity performed by this plugin. If logging is enabled, plugin logs are exported to Cloud Logging.
UsedBy
UsedBy(mapping=None, *, ignore_unknown_fields=False, **kwargs)Defines a resource that uses the WasmPlugin resource.
VersionDetails
VersionDetails(mapping=None, *, ignore_unknown_fields=False, **kwargs)Details of a WasmPluginVersion resource to be inlined in the
WasmPlugin resource.
This message has oneof_ fields (mutually exclusive fields).
For each oneof, at most one member field can be set at the same time.
Setting any member of the oneof automatically clears all other
members.
.. _oneof: https://proto-plus-python.readthedocs.io/en/stable/fields.html#oneofs-mutually-exclusive-fields
VersionsEntry
VersionsEntry(mapping=None, *, ignore_unknown_fields=False, **kwargs)The abstract base class for a message.
| Parameters | |
|---|---|
| Name | Description |
kwargs |
dict
Keys and values corresponding to the fields of the message. |
mapping |
Union[dict,
A dictionary or message to be used to determine the values for this message. |
ignore_unknown_fields |
Optional(bool)
If True, do not raise errors for unknown fields. Only applied if |