Method: organizations.environments.securityActions.create

securityActions.create creates a SecurityAction.

HTTP request

POST https://apigee.googleapis.com/v1/{parent=organizations/*/environments/*}/securityActions

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
parent

string

Required. The organization and environment that this SecurityAction applies to. Format: organizations/{org}/environments/{env}

Query parameters

Parameters
securityActionId

string

Required. The ID to use for the SecurityAction, which will become the final component of the action's resource name.

This value should be 0-61 characters, and valid format is (^a-z?$).

Request body

The request body contains an instance of SecurityAction.

Response body

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

Authorization scopes

Requires the following OAuth scope:

  • https://www.googleapis.com/auth/cloud-platform