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   | 
              
createTime | 
                
                   
 Output only. The timestamp when the resource was created. Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. Examples:   | 
              
updateTime | 
                
                   
 Output only. The timestamp when the resource was updated. Uses RFC 3339, where generated output will always be Z-normalized and use 0, 3, 6 or 9 fractional digits. Offsets other than "Z" are also accepted. 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   | 
              
supportedEvents[] | 
                
                   
 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  
  | 
              |
wasmPlugin | 
                
                   
 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. |