Policies
List policies
Get a policy
Create a policy
Edit a policy
Delete a policy
ModelsExpand Collapse
PolicyListResponse object { id, action, actor, 6 more }
action: object { type } or object { type, except } or object { amount, technique, type, 3 more } What the policy does to matching requests.
What the policy does to matching requests.
object { amount, technique, type, 3 more }
technique: "fixed" or "sliding" or "named-interval"How the limit resets: sliding covers the last window seconds, fixed resets every window seconds, and named-interval resets at the start of each period.
How the limit resets: sliding covers the last window seconds, fixed resets every window seconds, and named-interval resets at the start of each period.
Who the policy applies to: a template whose {…} parts are CEL, such as {cf.user.email}. Each value gets its own spend limit.
PolicyGetResponse object { id, action, actor, 6 more } The policy.
The policy.
action: object { type } or object { type, except } or object { amount, technique, type, 3 more } What the policy does to matching requests.
What the policy does to matching requests.
object { amount, technique, type, 3 more }
technique: "fixed" or "sliding" or "named-interval"How the limit resets: sliding covers the last window seconds, fixed resets every window seconds, and named-interval resets at the start of each period.
How the limit resets: sliding covers the last window seconds, fixed resets every window seconds, and named-interval resets at the start of each period.
Who the policy applies to: a template whose {…} parts are CEL, such as {cf.user.email}. Each value gets its own spend limit.
PolicyCreateResponse object { id, action, actor, 6 more } The policy.
The policy.
action: object { type } or object { type, except } or object { amount, technique, type, 3 more } What the policy does to matching requests.
What the policy does to matching requests.
object { amount, technique, type, 3 more }
technique: "fixed" or "sliding" or "named-interval"How the limit resets: sliding covers the last window seconds, fixed resets every window seconds, and named-interval resets at the start of each period.
How the limit resets: sliding covers the last window seconds, fixed resets every window seconds, and named-interval resets at the start of each period.
Who the policy applies to: a template whose {…} parts are CEL, such as {cf.user.email}. Each value gets its own spend limit.
PolicyEditResponse object { id, action, actor, 6 more } The policy.
The policy.
action: object { type } or object { type, except } or object { amount, technique, type, 3 more } What the policy does to matching requests.
What the policy does to matching requests.
object { amount, technique, type, 3 more }
technique: "fixed" or "sliding" or "named-interval"How the limit resets: sliding covers the last window seconds, fixed resets every window seconds, and named-interval resets at the start of each period.
How the limit resets: sliding covers the last window seconds, fixed resets every window seconds, and named-interval resets at the start of each period.
Who the policy applies to: a template whose {…} parts are CEL, such as {cf.user.email}. Each value gets its own spend limit.