Method: projects.locations.wasmActions.create

Creates a new WasmAction resource in a given project and location.

HTTP request

POST https://networkservices.googleapis.com/v1alpha1/{parent=projects/*/locations/*}/wasmActions

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
parent

string

Required. The parent resource of the WasmAction resource. Must be in the format projects/{project}/locations/global.

Authorization requires the following IAM permission on the specified resource parent:

  • networkservices.wasmActions.create

Query parameters

Parameters
wasmActionId

string

Required. User-provided ID of the WasmAction resource to be created.

Authorization requires the following IAM permission on the specified resource wasmActionId:

  • networkservices.wasmActions.create

Request body

The request body contains an instance of WasmAction.

Response body

If successful, the response body contains a newly created instance of Operation.

IAM Permissions

Requires the following IAM permission on the parent resource:

  • networkservices.wasmActions.create

For more information, see the IAM documentation.