Method: organizations.environments.securityActions.patch

Update a SecurityAction.

HTTP request

PATCH https://apigee.googleapis.com/v1/{securityAction.name=organizations/*/environments/*/securityActions/*}

The URL uses gRPC Transcoding syntax.

Path parameters

Parameters
securityAction.name

string

Immutable. This field is ignored during creation as per AIP-133. Please set the securityActionId field in the CreateSecurityActionRequest when creating a new SecurityAction. Format: organizations/{org}/environments/{env}/securityActions/{securityAction}

Query parameters

Parameters
updateMask

string (FieldMask format)

Optional. The list of fields to update. Valid fields to update are description, state, allow, deny, and flag, expireTime, and ttl, apiProxies, and conditionConfig.

This is a comma-separated list of fully qualified names of fields. Example: "user.displayName,photo".

Request body

The request body contains an instance of SecurityAction.

Response body

If successful, the response body contains an instance of SecurityAction.

Authorization scopes

Requires the following OAuth scope:

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