v1

latestOpenAPI 3.0.0Creative Commons Attribution 3.02026-07-13134345498.3 KB
organizations

CreateSecurityAction creates a SecurityAction.

post/v1/{+parent}/securityActions

Path parameters

parentstring required

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

Query parameters

securityActionIdstring

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

allowGoogleCloudApigeeV1SecurityActionAllow

Message that should be set in case of an Allow Action. This does not have any fields.

updateTimestring google-datetime

Output only. The update time for this SecurityAction. This reflects when this SecurityAction changed states.

createTimestring google-datetime

Output only. The create time for this SecurityAction.

state'STATE_UNSPECIFIED' | 'ENABLED' | 'DISABLED'

Required. Only an ENABLED SecurityAction is enforced. An ENABLED SecurityAction past its expiration time will not be enforced.

ttlstring google-duration

Input only. The TTL for this SecurityAction.

descriptionstring

Optional. An optional user provided description of the SecurityAction.

expireTimestring google-datetime

The expiration for this SecurityAction.

apiProxiesstring[]

Optional. If unset, this would apply to all proxies in the environment. If set, this action is enforced only if at least one proxy in the repeated list is deployed at the time of enforcement. If set, several restrictions are enforced on SecurityActions. There can be at most 100 enabled actions with proxies set in an env. Several other restrictions apply on conditions and are detailed later.

namestring

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

Response

Successful response