Resource: WasmAction
WasmAction
is a resource representing a connection between a WasmPlugin
resource and an EdgeCacheService
resource. After a WasmAction
resource is created, you can't change its reference to a WasmPlugin
resource.
JSON representation |
---|
{ "name": string, "createTime": string, "updateTime": string, "description": string, "labels": { string: string, ... }, "supportedEvents": [ enum ( |
Fields | |
---|---|
name |
Identifier. Name of the |
create |
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: |
update |
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: |
description |
Optional. A human-readable description of the resource. |
labels |
Optional. Set of label tags associated with the An object containing a list of |
supported |
Optional. Determines which of portion of the request / response is processed by the plugin. Each value translates to a separate plugin invocation. For example, processing request headers involves invoking the If empty, both request headers and response headers are processed. |
Union field
|
|
wasm |
Required. The relative resource name of the |
EventType
Defines the portion of the request or response that's processed by the plugin. The valid values are: REQUEST_HEADERS
, RESPONSE_HEADERS
.
Enums | |
---|---|
EVENT_TYPE_UNSPECIFIED |
Unspecified value. Do not use. |
REQUEST_HEADERS |
If included in supportedEvents , the HTTP request headers are processed. |
RESPONSE_HEADERS |
If included in supportedEvents , the HTTP response headers are processed. |
Methods |
|
---|---|
|
Creates a new WasmAction resource in a given project and location. |
|
Deletes the specified WasmAction resource. |
|
Gets details of the specified WasmAction resource. |
|
Lists WasmAction resources in a given project and location. |