---
title: Update a gateway
---

[Skip to content](#_top)

[API Reference](https://developers.cloudflare.com/api/go)

[AI Gateway](https://developers.cloudflare.com/api/go/resources/ai_gateway)

Copy Markdown

Open in **Claude**Open in **ChatGPT**Open in **Cursor**

---

**Copy Markdown****View as Markdown**

# Update a gateway

client.AIGateway.Update(ctx, id, params) (\*[AIGatewayUpdateResponse](<https://developers.cloudflare.com/api/go/resources/ai_gateway#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayUpdateResponse%20%3E%20(schema)>), error)

PUT/accounts/{account\_id}/ai-gateway/gateways/{id}

Updates the configuration of an AI Gateway, such as its caching, rate limiting, logging, and authentication settings.

##### Security

<details>

<summary>API Token</summary>



The preferred authorization scheme for interacting with the Cloudflare API. <a href="https://developers.cloudflare.com/fundamentals/api/get-started/create-token/">Create a token</a>.

**Example:**<code>Authorization: Bearer Sn3lZJTBX6kkg7OdcBUAxOO963GEIyGQqnFTOFYY</code>

</details>

<details>

<summary>API Email + API Key</summary>



The previous authorization scheme for interacting with the Cloudflare API, used in conjunction with a Global API key.

**Example:**<code>X-Auth-Email: user@example.com</code>

The previous authorization scheme for interacting with the Cloudflare API. When possible, use API tokens instead of Global API keys.

**Example:**<code>X-Auth-Key: 144c9defac04969c7bfad8efaa8ea194</code>

</details>

##### Accepted Permissions (at least one required)

`AI Gateway Write`

##### ParametersExpand Collapse

id string

Unique identifier of the AI Gateway within the account.

maxLength64

minLength1

[Link to this property](<#(resource)%20ai_gateway%20%3E%20(method)%20update%20%3E%20(params)%20default%20%3E%20(param)%20id%20%3E%20(schema)>)

<details>

<summary>

params AIGatewayUpdateParams

</summary>

AccountID param.Field\[string]

Path param

<a href="#(resource)%20ai_gateway%20%3E%20(method)%20update%20%3E%20(params)%20default%20%3E%20(param)%20account_id">Link to this property</a>

CacheInvalidateOnUpdate param.Field\[bool]

Body param

<a href="#(resource)%20ai_gateway%20%3E%20(method)%20update%20%3E%20(params)%20default%20%3E%20(param)%20cache_invalidate_on_update">Link to this property</a>

CacheTTL param.Field\[int64]

Body param

minimum0

<a href="#(resource)%20ai_gateway%20%3E%20(method)%20update%20%3E%20(params)%20default%20%3E%20(param)%20cache_ttl">Link to this property</a>

CollectLogs param.Field\[bool]

Body param

<a href="#(resource)%20ai_gateway%20%3E%20(method)%20update%20%3E%20(params)%20default%20%3E%20(param)%20collect_logs">Link to this property</a>

RateLimitingInterval param.Field\[int64]

Body param

minimum0

<a href="#(resource)%20ai_gateway%20%3E%20(method)%20update%20%3E%20(params)%20default%20%3E%20(param)%20rate_limiting_interval">Link to this property</a>

RateLimitingLimit param.Field\[int64]

Body param

minimum0

<a href="#(resource)%20ai_gateway%20%3E%20(method)%20update%20%3E%20(params)%20default%20%3E%20(param)%20rate_limiting_limit">Link to this property</a>

Authentication param.Field\[bool]Optional

Body param

<a href="#(resource)%20ai_gateway%20%3E%20(method)%20update%20%3E%20(params)%20default%20%3E%20(param)%20authentication">Link to this property</a>

ByokOnly param.Field\[bool]Optional

Body param: Requires customer-provided provider credentials and prevents fallback to Unified Billing.

<a href="#(resource)%20ai_gateway%20%3E%20(method)%20update%20%3E%20(params)%20default%20%3E%20(param)%20byok_only">Link to this property</a>

<details>

<summary>

DLP param.Field\[<a href="https://developers.cloudflare.com/api/go/resources/ai_gateway/methods/update#(resource)%20ai_gateway%20%3E%20(method)%20update%20%3E%20(params)%20default%20%3E%20(param)%20dlp%20%3E%20(schema)">AIGatewayUpdateParamsDLP</a>]Optional

Body param

</summary>

<details>

<summary>

type AIGatewayUpdateParamsDLPObject struct{…}

</summary>

<details>

<summary>

Action AIGatewayUpdateParamsDLPObjectAction

</summary>

One of the following:

const AIGatewayUpdateParamsDLPObjectActionBlock AIGatewayUpdateParamsDLPObjectAction = "BLOCK"

<a href="#(resource)%20ai_gateway%20%3E%20(method)%20update%20%3E%20(params)%20default%20%3E%20(param)%20dlp%20%3E%20(schema)%20%3E%20(variant)%200%20%3E%20(property)%20action%20%3E%20(member)%200">Link to this property</a>

const AIGatewayUpdateParamsDLPObjectActionFlag AIGatewayUpdateParamsDLPObjectAction = "FLAG"

<a href="#(resource)%20ai_gateway%20%3E%20(method)%20update%20%3E%20(params)%20default%20%3E%20(param)%20dlp%20%3E%20(schema)%20%3E%20(variant)%200%20%3E%20(property)%20action%20%3E%20(member)%201">Link to this property</a>

</details>

<a href="#(resource)%20ai_gateway%20%3E%20(method)%20update%20%3E%20(params)%20default%20%3E%20(param)%20dlp%20%3E%20(schema)%20%3E%20(variant)%200%20%3E%20(property)%20action">Link to this property</a>

Enabled bool

<a href="#(resource)%20ai_gateway%20%3E%20(method)%20update%20%3E%20(params)%20default%20%3E%20(param)%20dlp%20%3E%20(schema)%20%3E%20(variant)%200%20%3E%20(property)%20enabled">Link to this property</a>

Profiles \[]string

<a href="#(resource)%20ai_gateway%20%3E%20(method)%20update%20%3E%20(params)%20default%20%3E%20(param)%20dlp%20%3E%20(schema)%20%3E%20(variant)%200%20%3E%20(property)%20profiles">Link to this property</a>

</details>

<a href="#(resource)%20ai_gateway%20%3E%20(method)%20update%20%3E%20(params)%20default%20%3E%20(param)%20dlp%20%3E%20(schema)%20%3E%20(variant)%200">Link to this property</a>

<details>

<summary>

type AIGatewayUpdateParamsDLPObject struct{…}

</summary>

Enabled bool

<a href="#(resource)%20ai_gateway%20%3E%20(method)%20update%20%3E%20(params)%20default%20%3E%20(param)%20dlp%20%3E%20(schema)%20%3E%20(variant)%201%20%3E%20(property)%20enabled">Link to this property</a>

<details>

<summary>

Policies \[]AIGatewayUpdateParamsDLPObjectPolicy

</summary>

ID string

<a href="#(resource)%20ai_gateway%20%3E%20(method)%20update%20%3E%20(params)%20default%20%3E%20(param)%20dlp%20%3E%20(schema)%20%3E%20(variant)%201%20%3E%20(property)%20policies%20%3E%20(items)%20%3E%20(property)%20id">Link to this property</a>

<details>

<summary>

Action AIGatewayUpdateParamsDLPObjectPoliciesAction

</summary>

One of the following:

const AIGatewayUpdateParamsDLPObjectPoliciesActionFlag AIGatewayUpdateParamsDLPObjectPoliciesAction = "FLAG"

<a href="#(resource)%20ai_gateway%20%3E%20(method)%20update%20%3E%20(params)%20default%20%3E%20(param)%20dlp%20%3E%20(schema)%20%3E%20(variant)%201%20%3E%20(property)%20policies%20%3E%20(items)%20%3E%20(property)%20action%20%3E%20(member)%200">Link to this property</a>

const AIGatewayUpdateParamsDLPObjectPoliciesActionBlock AIGatewayUpdateParamsDLPObjectPoliciesAction = "BLOCK"

<a href="#(resource)%20ai_gateway%20%3E%20(method)%20update%20%3E%20(params)%20default%20%3E%20(param)%20dlp%20%3E%20(schema)%20%3E%20(variant)%201%20%3E%20(property)%20policies%20%3E%20(items)%20%3E%20(property)%20action%20%3E%20(member)%201">Link to this property</a>

</details>

<a href="#(resource)%20ai_gateway%20%3E%20(method)%20update%20%3E%20(params)%20default%20%3E%20(param)%20dlp%20%3E%20(schema)%20%3E%20(variant)%201%20%3E%20(property)%20policies%20%3E%20(items)%20%3E%20(property)%20action">Link to this property</a>

<details>

<summary>

Check \[]AIGatewayUpdateParamsDLPObjectPoliciesCheck

</summary>

One of the following:

const AIGatewayUpdateParamsDLPObjectPoliciesCheckRequest AIGatewayUpdateParamsDLPObjectPoliciesCheck = "REQUEST"

<a href="#(resource)%20ai_gateway%20%3E%20(method)%20update%20%3E%20(params)%20default%20%3E%20(param)%20dlp%20%3E%20(schema)%20%3E%20(variant)%201%20%3E%20(property)%20policies%20%3E%20(items)%20%3E%20(property)%20check%20%3E%20(items)%20%3E%20(member)%200">Link to this property</a>

const AIGatewayUpdateParamsDLPObjectPoliciesCheckResponse AIGatewayUpdateParamsDLPObjectPoliciesCheck = "RESPONSE"

<a href="#(resource)%20ai_gateway%20%3E%20(method)%20update%20%3E%20(params)%20default%20%3E%20(param)%20dlp%20%3E%20(schema)%20%3E%20(variant)%201%20%3E%20(property)%20policies%20%3E%20(items)%20%3E%20(property)%20check%20%3E%20(items)%20%3E%20(member)%201">Link to this property</a>

</details>

<a href="#(resource)%20ai_gateway%20%3E%20(method)%20update%20%3E%20(params)%20default%20%3E%20(param)%20dlp%20%3E%20(schema)%20%3E%20(variant)%201%20%3E%20(property)%20policies%20%3E%20(items)%20%3E%20(property)%20check">Link to this property</a>

Enabled bool

<a href="#(resource)%20ai_gateway%20%3E%20(method)%20update%20%3E%20(params)%20default%20%3E%20(param)%20dlp%20%3E%20(schema)%20%3E%20(variant)%201%20%3E%20(property)%20policies%20%3E%20(items)%20%3E%20(property)%20enabled">Link to this property</a>

Profiles \[]string

<a href="#(resource)%20ai_gateway%20%3E%20(method)%20update%20%3E%20(params)%20default%20%3E%20(param)%20dlp%20%3E%20(schema)%20%3E%20(variant)%201%20%3E%20(property)%20policies%20%3E%20(items)%20%3E%20(property)%20profiles">Link to this property</a>

</details>

<a href="#(resource)%20ai_gateway%20%3E%20(method)%20update%20%3E%20(params)%20default%20%3E%20(param)%20dlp%20%3E%20(schema)%20%3E%20(variant)%201%20%3E%20(property)%20policies">Link to this property</a>

</details>

<a href="#(resource)%20ai_gateway%20%3E%20(method)%20update%20%3E%20(params)%20default%20%3E%20(param)%20dlp%20%3E%20(schema)%20%3E%20(variant)%201">Link to this property</a>

</details>

<a href="#(resource)%20ai_gateway%20%3E%20(method)%20update%20%3E%20(params)%20default%20%3E%20(param)%20dlp">Link to this property</a>

<details>

<summary>

Guardrails param.Field\[<a href="https://developers.cloudflare.com/api/go/resources/ai_gateway/methods/update#(resource)%20ai_gateway%20%3E%20(method)%20update%20%3E%20(params)%20default%20%3E%20(param)%20guardrails%20%3E%20(schema)">AIGatewayUpdateParamsGuardrails</a>]Optional

Body param

</summary>

<details>

<summary>

Prompt AIGatewayUpdateParamsGuardrailsPrompt

</summary>

<details>

<summary>

P1 AIGatewayUpdateParamsGuardrailsPromptP1Optional

</summary>

One of the following:

const AIGatewayUpdateParamsGuardrailsPromptP1Flag AIGatewayUpdateParamsGuardrailsPromptP1 = "FLAG"

<a href="#(resource)%20ai_gateway%20%3E%20(method)%20update%20%3E%20(params)%20default%20%3E%20(param)%20guardrails%20%3E%20(schema)%20%3E%20(property)%20prompt%20%3E%20(property)%20P1%20%3E%20(member)%200">Link to this property</a>

const AIGatewayUpdateParamsGuardrailsPromptP1Block AIGatewayUpdateParamsGuardrailsPromptP1 = "BLOCK"

<a href="#(resource)%20ai_gateway%20%3E%20(method)%20update%20%3E%20(params)%20default%20%3E%20(param)%20guardrails%20%3E%20(schema)%20%3E%20(property)%20prompt%20%3E%20(property)%20P1%20%3E%20(member)%201">Link to this property</a>

</details>

<a href="#(resource)%20ai_gateway%20%3E%20(method)%20update%20%3E%20(params)%20default%20%3E%20(param)%20guardrails%20%3E%20(schema)%20%3E%20(property)%20prompt%20%3E%20(property)%20P1">Link to this property</a>

<details>

<summary>

S1 AIGatewayUpdateParamsGuardrailsPromptS1Optional

</summary>

One of the following:

const AIGatewayUpdateParamsGuardrailsPromptS1Flag AIGatewayUpdateParamsGuardrailsPromptS1 = "FLAG"

<a href="#(resource)%20ai_gateway%20%3E%20(method)%20update%20%3E%20(params)%20default%20%3E%20(param)%20guardrails%20%3E%20(schema)%20%3E%20(property)%20prompt%20%3E%20(property)%20S1%20%3E%20(member)%200">Link to this property</a>

const AIGatewayUpdateParamsGuardrailsPromptS1Block AIGatewayUpdateParamsGuardrailsPromptS1 = "BLOCK"

<a href="#(resource)%20ai_gateway%20%3E%20(method)%20update%20%3E%20(params)%20default%20%3E%20(param)%20guardrails%20%3E%20(schema)%20%3E%20(property)%20prompt%20%3E%20(property)%20S1%20%3E%20(member)%201">Link to this property</a>

</details>

<a href="#(resource)%20ai_gateway%20%3E%20(method)%20update%20%3E%20(params)%20default%20%3E%20(param)%20guardrails%20%3E%20(schema)%20%3E%20(property)%20prompt%20%3E%20(property)%20S1">Link to this property</a>

<details>

<summary>

S10 AIGatewayUpdateParamsGuardrailsPromptS10Optional

</summary>

One of the following:

const AIGatewayUpdateParamsGuardrailsPromptS10Flag AIGatewayUpdateParamsGuardrailsPromptS10 = "FLAG"

<a href="#(resource)%20ai_gateway%20%3E%20(method)%20update%20%3E%20(params)%20default%20%3E%20(param)%20guardrails%20%3E%20(schema)%20%3E%20(property)%20prompt%20%3E%20(property)%20S10%20%3E%20(member)%200">Link to this property</a>

const AIGatewayUpdateParamsGuardrailsPromptS10Block AIGatewayUpdateParamsGuardrailsPromptS10 = "BLOCK"

<a href="#(resource)%20ai_gateway%20%3E%20(method)%20update%20%3E%20(params)%20default%20%3E%20(param)%20guardrails%20%3E%20(schema)%20%3E%20(property)%20prompt%20%3E%20(property)%20S10%20%3E%20(member)%201">Link to this property</a>

</details>

<a href="#(resource)%20ai_gateway%20%3E%20(method)%20update%20%3E%20(params)%20default%20%3E%20(param)%20guardrails%20%3E%20(schema)%20%3E%20(property)%20prompt%20%3E%20(property)%20S10">Link to this property</a>

<details>

<summary>

S11 AIGatewayUpdateParamsGuardrailsPromptS11Optional

</summary>

One of the following:

const AIGatewayUpdateParamsGuardrailsPromptS11Flag AIGatewayUpdateParamsGuardrailsPromptS11 = "FLAG"

<a href="#(resource)%20ai_gateway%20%3E%20(method)%20update%20%3E%20(params)%20default%20%3E%20(param)%20guardrails%20%3E%20(schema)%20%3E%20(property)%20prompt%20%3E%20(property)%20S11%20%3E%20(member)%200">Link to this property</a>

const AIGatewayUpdateParamsGuardrailsPromptS11Block AIGatewayUpdateParamsGuardrailsPromptS11 = "BLOCK"

<a href="#(resource)%20ai_gateway%20%3E%20(method)%20update%20%3E%20(params)%20default%20%3E%20(param)%20guardrails%20%3E%20(schema)%20%3E%20(property)%20prompt%20%3E%20(property)%20S11%20%3E%20(member)%201">Link to this property</a>

</details>

<a href="#(resource)%20ai_gateway%20%3E%20(method)%20update%20%3E%20(params)%20default%20%3E%20(param)%20guardrails%20%3E%20(schema)%20%3E%20(property)%20prompt%20%3E%20(property)%20S11">Link to this property</a>

<details>

<summary>

S12 AIGatewayUpdateParamsGuardrailsPromptS12Optional

</summary>

One of the following:

const AIGatewayUpdateParamsGuardrailsPromptS12Flag AIGatewayUpdateParamsGuardrailsPromptS12 = "FLAG"

<a href="#(resource)%20ai_gateway%20%3E%20(method)%20update%20%3E%20(params)%20default%20%3E%20(param)%20guardrails%20%3E%20(schema)%20%3E%20(property)%20prompt%20%3E%20(property)%20S12%20%3E%20(member)%200">Link to this property</a>

const AIGatewayUpdateParamsGuardrailsPromptS12Block AIGatewayUpdateParamsGuardrailsPromptS12 = "BLOCK"

<a href="#(resource)%20ai_gateway%20%3E%20(method)%20update%20%3E%20(params)%20default%20%3E%20(param)%20guardrails%20%3E%20(schema)%20%3E%20(property)%20prompt%20%3E%20(property)%20S12%20%3E%20(member)%201">Link to this property</a>

</details>

<a href="#(resource)%20ai_gateway%20%3E%20(method)%20update%20%3E%20(params)%20default%20%3E%20(param)%20guardrails%20%3E%20(schema)%20%3E%20(property)%20prompt%20%3E%20(property)%20S12">Link to this property</a>

<details>

<summary>

S13 AIGatewayUpdateParamsGuardrailsPromptS13Optional

</summary>

One of the following:

const AIGatewayUpdateParamsGuardrailsPromptS13Flag AIGatewayUpdateParamsGuardrailsPromptS13 = "FLAG"

<a href="#(resource)%20ai_gateway%20%3E%20(method)%20update%20%3E%20(params)%20default%20%3E%20(param)%20guardrails%20%3E%20(schema)%20%3E%20(property)%20prompt%20%3E%20(property)%20S13%20%3E%20(member)%200">Link to this property</a>

const AIGatewayUpdateParamsGuardrailsPromptS13Block AIGatewayUpdateParamsGuardrailsPromptS13 = "BLOCK"

<a href="#(resource)%20ai_gateway%20%3E%20(method)%20update%20%3E%20(params)%20default%20%3E%20(param)%20guardrails%20%3E%20(schema)%20%3E%20(property)%20prompt%20%3E%20(property)%20S13%20%3E%20(member)%201">Link to this property</a>

</details>

<a href="#(resource)%20ai_gateway%20%3E%20(method)%20update%20%3E%20(params)%20default%20%3E%20(param)%20guardrails%20%3E%20(schema)%20%3E%20(property)%20prompt%20%3E%20(property)%20S13">Link to this property</a>

<details>

<summary>

S2 AIGatewayUpdateParamsGuardrailsPromptS2Optional

</summary>

One of the following:

const AIGatewayUpdateParamsGuardrailsPromptS2Flag AIGatewayUpdateParamsGuardrailsPromptS2 = "FLAG"

<a href="#(resource)%20ai_gateway%20%3E%20(method)%20update%20%3E%20(params)%20default%20%3E%20(param)%20guardrails%20%3E%20(schema)%20%3E%20(property)%20prompt%20%3E%20(property)%20S2%20%3E%20(member)%200">Link to this property</a>

const AIGatewayUpdateParamsGuardrailsPromptS2Block AIGatewayUpdateParamsGuardrailsPromptS2 = "BLOCK"

<a href="#(resource)%20ai_gateway%20%3E%20(method)%20update%20%3E%20(params)%20default%20%3E%20(param)%20guardrails%20%3E%20(schema)%20%3E%20(property)%20prompt%20%3E%20(property)%20S2%20%3E%20(member)%201">Link to this property</a>

</details>

<a href="#(resource)%20ai_gateway%20%3E%20(method)%20update%20%3E%20(params)%20default%20%3E%20(param)%20guardrails%20%3E%20(schema)%20%3E%20(property)%20prompt%20%3E%20(property)%20S2">Link to this property</a>

<details>

<summary>

S3 AIGatewayUpdateParamsGuardrailsPromptS3Optional

</summary>

One of the following:

const AIGatewayUpdateParamsGuardrailsPromptS3Flag AIGatewayUpdateParamsGuardrailsPromptS3 = "FLAG"

<a href="#(resource)%20ai_gateway%20%3E%20(method)%20update%20%3E%20(params)%20default%20%3E%20(param)%20guardrails%20%3E%20(schema)%20%3E%20(property)%20prompt%20%3E%20(property)%20S3%20%3E%20(member)%200">Link to this property</a>

const AIGatewayUpdateParamsGuardrailsPromptS3Block AIGatewayUpdateParamsGuardrailsPromptS3 = "BLOCK"

<a href="#(resource)%20ai_gateway%20%3E%20(method)%20update%20%3E%20(params)%20default%20%3E%20(param)%20guardrails%20%3E%20(schema)%20%3E%20(property)%20prompt%20%3E%20(property)%20S3%20%3E%20(member)%201">Link to this property</a>

</details>

<a href="#(resource)%20ai_gateway%20%3E%20(method)%20update%20%3E%20(params)%20default%20%3E%20(param)%20guardrails%20%3E%20(schema)%20%3E%20(property)%20prompt%20%3E%20(property)%20S3">Link to this property</a>

<details>

<summary>

S4 AIGatewayUpdateParamsGuardrailsPromptS4Optional

</summary>

One of the following:

const AIGatewayUpdateParamsGuardrailsPromptS4Flag AIGatewayUpdateParamsGuardrailsPromptS4 = "FLAG"

<a href="#(resource)%20ai_gateway%20%3E%20(method)%20update%20%3E%20(params)%20default%20%3E%20(param)%20guardrails%20%3E%20(schema)%20%3E%20(property)%20prompt%20%3E%20(property)%20S4%20%3E%20(member)%200">Link to this property</a>

const AIGatewayUpdateParamsGuardrailsPromptS4Block AIGatewayUpdateParamsGuardrailsPromptS4 = "BLOCK"

<a href="#(resource)%20ai_gateway%20%3E%20(method)%20update%20%3E%20(params)%20default%20%3E%20(param)%20guardrails%20%3E%20(schema)%20%3E%20(property)%20prompt%20%3E%20(property)%20S4%20%3E%20(member)%201">Link to this property</a>

</details>

<a href="#(resource)%20ai_gateway%20%3E%20(method)%20update%20%3E%20(params)%20default%20%3E%20(param)%20guardrails%20%3E%20(schema)%20%3E%20(property)%20prompt%20%3E%20(property)%20S4">Link to this property</a>

<details>

<summary>

S5 AIGatewayUpdateParamsGuardrailsPromptS5Optional

</summary>

One of the following:

const AIGatewayUpdateParamsGuardrailsPromptS5Flag AIGatewayUpdateParamsGuardrailsPromptS5 = "FLAG"

<a href="#(resource)%20ai_gateway%20%3E%20(method)%20update%20%3E%20(params)%20default%20%3E%20(param)%20guardrails%20%3E%20(schema)%20%3E%20(property)%20prompt%20%3E%20(property)%20S5%20%3E%20(member)%200">Link to this property</a>

const AIGatewayUpdateParamsGuardrailsPromptS5Block AIGatewayUpdateParamsGuardrailsPromptS5 = "BLOCK"

<a href="#(resource)%20ai_gateway%20%3E%20(method)%20update%20%3E%20(params)%20default%20%3E%20(param)%20guardrails%20%3E%20(schema)%20%3E%20(property)%20prompt%20%3E%20(property)%20S5%20%3E%20(member)%201">Link to this property</a>

</details>

<a href="#(resource)%20ai_gateway%20%3E%20(method)%20update%20%3E%20(params)%20default%20%3E%20(param)%20guardrails%20%3E%20(schema)%20%3E%20(property)%20prompt%20%3E%20(property)%20S5">Link to this property</a>

<details>

<summary>

S6 AIGatewayUpdateParamsGuardrailsPromptS6Optional

</summary>

One of the following:

const AIGatewayUpdateParamsGuardrailsPromptS6Flag AIGatewayUpdateParamsGuardrailsPromptS6 = "FLAG"

<a href="#(resource)%20ai_gateway%20%3E%20(method)%20update%20%3E%20(params)%20default%20%3E%20(param)%20guardrails%20%3E%20(schema)%20%3E%20(property)%20prompt%20%3E%20(property)%20S6%20%3E%20(member)%200">Link to this property</a>

const AIGatewayUpdateParamsGuardrailsPromptS6Block AIGatewayUpdateParamsGuardrailsPromptS6 = "BLOCK"

<a href="#(resource)%20ai_gateway%20%3E%20(method)%20update%20%3E%20(params)%20default%20%3E%20(param)%20guardrails%20%3E%20(schema)%20%3E%20(property)%20prompt%20%3E%20(property)%20S6%20%3E%20(member)%201">Link to this property</a>

</details>

<a href="#(resource)%20ai_gateway%20%3E%20(method)%20update%20%3E%20(params)%20default%20%3E%20(param)%20guardrails%20%3E%20(schema)%20%3E%20(property)%20prompt%20%3E%20(property)%20S6">Link to this property</a>

<details>

<summary>

S7 AIGatewayUpdateParamsGuardrailsPromptS7Optional

</summary>

One of the following:

const AIGatewayUpdateParamsGuardrailsPromptS7Flag AIGatewayUpdateParamsGuardrailsPromptS7 = "FLAG"

<a href="#(resource)%20ai_gateway%20%3E%20(method)%20update%20%3E%20(params)%20default%20%3E%20(param)%20guardrails%20%3E%20(schema)%20%3E%20(property)%20prompt%20%3E%20(property)%20S7%20%3E%20(member)%200">Link to this property</a>

const AIGatewayUpdateParamsGuardrailsPromptS7Block AIGatewayUpdateParamsGuardrailsPromptS7 = "BLOCK"

<a href="#(resource)%20ai_gateway%20%3E%20(method)%20update%20%3E%20(params)%20default%20%3E%20(param)%20guardrails%20%3E%20(schema)%20%3E%20(property)%20prompt%20%3E%20(property)%20S7%20%3E%20(member)%201">Link to this property</a>

</details>

<a href="#(resource)%20ai_gateway%20%3E%20(method)%20update%20%3E%20(params)%20default%20%3E%20(param)%20guardrails%20%3E%20(schema)%20%3E%20(property)%20prompt%20%3E%20(property)%20S7">Link to this property</a>

<details>

<summary>

S8 AIGatewayUpdateParamsGuardrailsPromptS8Optional

</summary>

One of the following:

const AIGatewayUpdateParamsGuardrailsPromptS8Flag AIGatewayUpdateParamsGuardrailsPromptS8 = "FLAG"

<a href="#(resource)%20ai_gateway%20%3E%20(method)%20update%20%3E%20(params)%20default%20%3E%20(param)%20guardrails%20%3E%20(schema)%20%3E%20(property)%20prompt%20%3E%20(property)%20S8%20%3E%20(member)%200">Link to this property</a>

const AIGatewayUpdateParamsGuardrailsPromptS8Block AIGatewayUpdateParamsGuardrailsPromptS8 = "BLOCK"

<a href="#(resource)%20ai_gateway%20%3E%20(method)%20update%20%3E%20(params)%20default%20%3E%20(param)%20guardrails%20%3E%20(schema)%20%3E%20(property)%20prompt%20%3E%20(property)%20S8%20%3E%20(member)%201">Link to this property</a>

</details>

<a href="#(resource)%20ai_gateway%20%3E%20(method)%20update%20%3E%20(params)%20default%20%3E%20(param)%20guardrails%20%3E%20(schema)%20%3E%20(property)%20prompt%20%3E%20(property)%20S8">Link to this property</a>

<details>

<summary>

S9 AIGatewayUpdateParamsGuardrailsPromptS9Optional

</summary>

One of the following:

const AIGatewayUpdateParamsGuardrailsPromptS9Flag AIGatewayUpdateParamsGuardrailsPromptS9 = "FLAG"

<a href="#(resource)%20ai_gateway%20%3E%20(method)%20update%20%3E%20(params)%20default%20%3E%20(param)%20guardrails%20%3E%20(schema)%20%3E%20(property)%20prompt%20%3E%20(property)%20S9%20%3E%20(member)%200">Link to this property</a>

const AIGatewayUpdateParamsGuardrailsPromptS9Block AIGatewayUpdateParamsGuardrailsPromptS9 = "BLOCK"

<a href="#(resource)%20ai_gateway%20%3E%20(method)%20update%20%3E%20(params)%20default%20%3E%20(param)%20guardrails%20%3E%20(schema)%20%3E%20(property)%20prompt%20%3E%20(property)%20S9%20%3E%20(member)%201">Link to this property</a>

</details>

<a href="#(resource)%20ai_gateway%20%3E%20(method)%20update%20%3E%20(params)%20default%20%3E%20(param)%20guardrails%20%3E%20(schema)%20%3E%20(property)%20prompt%20%3E%20(property)%20S9">Link to this property</a>

</details>

<a href="#(resource)%20ai_gateway%20%3E%20(method)%20update%20%3E%20(params)%20default%20%3E%20(param)%20guardrails%20%3E%20(schema)%20%3E%20(property)%20prompt">Link to this property</a>

<details>

<summary>

Response AIGatewayUpdateParamsGuardrailsResponse

</summary>

<details>

<summary>

P1 AIGatewayUpdateParamsGuardrailsResponseP1Optional

</summary>

One of the following:

const AIGatewayUpdateParamsGuardrailsResponseP1Flag AIGatewayUpdateParamsGuardrailsResponseP1 = "FLAG"

<a href="#(resource)%20ai_gateway%20%3E%20(method)%20update%20%3E%20(params)%20default%20%3E%20(param)%20guardrails%20%3E%20(schema)%20%3E%20(property)%20response%20%3E%20(property)%20P1%20%3E%20(member)%200">Link to this property</a>

const AIGatewayUpdateParamsGuardrailsResponseP1Block AIGatewayUpdateParamsGuardrailsResponseP1 = "BLOCK"

<a href="#(resource)%20ai_gateway%20%3E%20(method)%20update%20%3E%20(params)%20default%20%3E%20(param)%20guardrails%20%3E%20(schema)%20%3E%20(property)%20response%20%3E%20(property)%20P1%20%3E%20(member)%201">Link to this property</a>

</details>

<a href="#(resource)%20ai_gateway%20%3E%20(method)%20update%20%3E%20(params)%20default%20%3E%20(param)%20guardrails%20%3E%20(schema)%20%3E%20(property)%20response%20%3E%20(property)%20P1">Link to this property</a>

<details>

<summary>

S1 AIGatewayUpdateParamsGuardrailsResponseS1Optional

</summary>

One of the following:

const AIGatewayUpdateParamsGuardrailsResponseS1Flag AIGatewayUpdateParamsGuardrailsResponseS1 = "FLAG"

<a href="#(resource)%20ai_gateway%20%3E%20(method)%20update%20%3E%20(params)%20default%20%3E%20(param)%20guardrails%20%3E%20(schema)%20%3E%20(property)%20response%20%3E%20(property)%20S1%20%3E%20(member)%200">Link to this property</a>

const AIGatewayUpdateParamsGuardrailsResponseS1Block AIGatewayUpdateParamsGuardrailsResponseS1 = "BLOCK"

<a href="#(resource)%20ai_gateway%20%3E%20(method)%20update%20%3E%20(params)%20default%20%3E%20(param)%20guardrails%20%3E%20(schema)%20%3E%20(property)%20response%20%3E%20(property)%20S1%20%3E%20(member)%201">Link to this property</a>

</details>

<a href="#(resource)%20ai_gateway%20%3E%20(method)%20update%20%3E%20(params)%20default%20%3E%20(param)%20guardrails%20%3E%20(schema)%20%3E%20(property)%20response%20%3E%20(property)%20S1">Link to this property</a>

<details>

<summary>

S10 AIGatewayUpdateParamsGuardrailsResponseS10Optional

</summary>

One of the following:

const AIGatewayUpdateParamsGuardrailsResponseS10Flag AIGatewayUpdateParamsGuardrailsResponseS10 = "FLAG"

<a href="#(resource)%20ai_gateway%20%3E%20(method)%20update%20%3E%20(params)%20default%20%3E%20(param)%20guardrails%20%3E%20(schema)%20%3E%20(property)%20response%20%3E%20(property)%20S10%20%3E%20(member)%200">Link to this property</a>

const AIGatewayUpdateParamsGuardrailsResponseS10Block AIGatewayUpdateParamsGuardrailsResponseS10 = "BLOCK"

<a href="#(resource)%20ai_gateway%20%3E%20(method)%20update%20%3E%20(params)%20default%20%3E%20(param)%20guardrails%20%3E%20(schema)%20%3E%20(property)%20response%20%3E%20(property)%20S10%20%3E%20(member)%201">Link to this property</a>

</details>

<a href="#(resource)%20ai_gateway%20%3E%20(method)%20update%20%3E%20(params)%20default%20%3E%20(param)%20guardrails%20%3E%20(schema)%20%3E%20(property)%20response%20%3E%20(property)%20S10">Link to this property</a>

<details>

<summary>

S11 AIGatewayUpdateParamsGuardrailsResponseS11Optional

</summary>

One of the following:

const AIGatewayUpdateParamsGuardrailsResponseS11Flag AIGatewayUpdateParamsGuardrailsResponseS11 = "FLAG"

<a href="#(resource)%20ai_gateway%20%3E%20(method)%20update%20%3E%20(params)%20default%20%3E%20(param)%20guardrails%20%3E%20(schema)%20%3E%20(property)%20response%20%3E%20(property)%20S11%20%3E%20(member)%200">Link to this property</a>

const AIGatewayUpdateParamsGuardrailsResponseS11Block AIGatewayUpdateParamsGuardrailsResponseS11 = "BLOCK"

<a href="#(resource)%20ai_gateway%20%3E%20(method)%20update%20%3E%20(params)%20default%20%3E%20(param)%20guardrails%20%3E%20(schema)%20%3E%20(property)%20response%20%3E%20(property)%20S11%20%3E%20(member)%201">Link to this property</a>

</details>

<a href="#(resource)%20ai_gateway%20%3E%20(method)%20update%20%3E%20(params)%20default%20%3E%20(param)%20guardrails%20%3E%20(schema)%20%3E%20(property)%20response%20%3E%20(property)%20S11">Link to this property</a>

<details>

<summary>

S12 AIGatewayUpdateParamsGuardrailsResponseS12Optional

</summary>

One of the following:

const AIGatewayUpdateParamsGuardrailsResponseS12Flag AIGatewayUpdateParamsGuardrailsResponseS12 = "FLAG"

<a href="#(resource)%20ai_gateway%20%3E%20(method)%20update%20%3E%20(params)%20default%20%3E%20(param)%20guardrails%20%3E%20(schema)%20%3E%20(property)%20response%20%3E%20(property)%20S12%20%3E%20(member)%200">Link to this property</a>

const AIGatewayUpdateParamsGuardrailsResponseS12Block AIGatewayUpdateParamsGuardrailsResponseS12 = "BLOCK"

<a href="#(resource)%20ai_gateway%20%3E%20(method)%20update%20%3E%20(params)%20default%20%3E%20(param)%20guardrails%20%3E%20(schema)%20%3E%20(property)%20response%20%3E%20(property)%20S12%20%3E%20(member)%201">Link to this property</a>

</details>

<a href="#(resource)%20ai_gateway%20%3E%20(method)%20update%20%3E%20(params)%20default%20%3E%20(param)%20guardrails%20%3E%20(schema)%20%3E%20(property)%20response%20%3E%20(property)%20S12">Link to this property</a>

<details>

<summary>

S13 AIGatewayUpdateParamsGuardrailsResponseS13Optional

</summary>

One of the following:

const AIGatewayUpdateParamsGuardrailsResponseS13Flag AIGatewayUpdateParamsGuardrailsResponseS13 = "FLAG"

<a href="#(resource)%20ai_gateway%20%3E%20(method)%20update%20%3E%20(params)%20default%20%3E%20(param)%20guardrails%20%3E%20(schema)%20%3E%20(property)%20response%20%3E%20(property)%20S13%20%3E%20(member)%200">Link to this property</a>

const AIGatewayUpdateParamsGuardrailsResponseS13Block AIGatewayUpdateParamsGuardrailsResponseS13 = "BLOCK"

<a href="#(resource)%20ai_gateway%20%3E%20(method)%20update%20%3E%20(params)%20default%20%3E%20(param)%20guardrails%20%3E%20(schema)%20%3E%20(property)%20response%20%3E%20(property)%20S13%20%3E%20(member)%201">Link to this property</a>

</details>

<a href="#(resource)%20ai_gateway%20%3E%20(method)%20update%20%3E%20(params)%20default%20%3E%20(param)%20guardrails%20%3E%20(schema)%20%3E%20(property)%20response%20%3E%20(property)%20S13">Link to this property</a>

<details>

<summary>

S2 AIGatewayUpdateParamsGuardrailsResponseS2Optional

</summary>

One of the following:

const AIGatewayUpdateParamsGuardrailsResponseS2Flag AIGatewayUpdateParamsGuardrailsResponseS2 = "FLAG"

<a href="#(resource)%20ai_gateway%20%3E%20(method)%20update%20%3E%20(params)%20default%20%3E%20(param)%20guardrails%20%3E%20(schema)%20%3E%20(property)%20response%20%3E%20(property)%20S2%20%3E%20(member)%200">Link to this property</a>

const AIGatewayUpdateParamsGuardrailsResponseS2Block AIGatewayUpdateParamsGuardrailsResponseS2 = "BLOCK"

<a href="#(resource)%20ai_gateway%20%3E%20(method)%20update%20%3E%20(params)%20default%20%3E%20(param)%20guardrails%20%3E%20(schema)%20%3E%20(property)%20response%20%3E%20(property)%20S2%20%3E%20(member)%201">Link to this property</a>

</details>

<a href="#(resource)%20ai_gateway%20%3E%20(method)%20update%20%3E%20(params)%20default%20%3E%20(param)%20guardrails%20%3E%20(schema)%20%3E%20(property)%20response%20%3E%20(property)%20S2">Link to this property</a>

<details>

<summary>

S3 AIGatewayUpdateParamsGuardrailsResponseS3Optional

</summary>

One of the following:

const AIGatewayUpdateParamsGuardrailsResponseS3Flag AIGatewayUpdateParamsGuardrailsResponseS3 = "FLAG"

<a href="#(resource)%20ai_gateway%20%3E%20(method)%20update%20%3E%20(params)%20default%20%3E%20(param)%20guardrails%20%3E%20(schema)%20%3E%20(property)%20response%20%3E%20(property)%20S3%20%3E%20(member)%200">Link to this property</a>

const AIGatewayUpdateParamsGuardrailsResponseS3Block AIGatewayUpdateParamsGuardrailsResponseS3 = "BLOCK"

<a href="#(resource)%20ai_gateway%20%3E%20(method)%20update%20%3E%20(params)%20default%20%3E%20(param)%20guardrails%20%3E%20(schema)%20%3E%20(property)%20response%20%3E%20(property)%20S3%20%3E%20(member)%201">Link to this property</a>

</details>

<a href="#(resource)%20ai_gateway%20%3E%20(method)%20update%20%3E%20(params)%20default%20%3E%20(param)%20guardrails%20%3E%20(schema)%20%3E%20(property)%20response%20%3E%20(property)%20S3">Link to this property</a>

<details>

<summary>

S4 AIGatewayUpdateParamsGuardrailsResponseS4Optional

</summary>

One of the following:

const AIGatewayUpdateParamsGuardrailsResponseS4Flag AIGatewayUpdateParamsGuardrailsResponseS4 = "FLAG"

<a href="#(resource)%20ai_gateway%20%3E%20(method)%20update%20%3E%20(params)%20default%20%3E%20(param)%20guardrails%20%3E%20(schema)%20%3E%20(property)%20response%20%3E%20(property)%20S4%20%3E%20(member)%200">Link to this property</a>

const AIGatewayUpdateParamsGuardrailsResponseS4Block AIGatewayUpdateParamsGuardrailsResponseS4 = "BLOCK"

<a href="#(resource)%20ai_gateway%20%3E%20(method)%20update%20%3E%20(params)%20default%20%3E%20(param)%20guardrails%20%3E%20(schema)%20%3E%20(property)%20response%20%3E%20(property)%20S4%20%3E%20(member)%201">Link to this property</a>

</details>

<a href="#(resource)%20ai_gateway%20%3E%20(method)%20update%20%3E%20(params)%20default%20%3E%20(param)%20guardrails%20%3E%20(schema)%20%3E%20(property)%20response%20%3E%20(property)%20S4">Link to this property</a>

<details>

<summary>

S5 AIGatewayUpdateParamsGuardrailsResponseS5Optional

</summary>

One of the following:

const AIGatewayUpdateParamsGuardrailsResponseS5Flag AIGatewayUpdateParamsGuardrailsResponseS5 = "FLAG"

<a href="#(resource)%20ai_gateway%20%3E%20(method)%20update%20%3E%20(params)%20default%20%3E%20(param)%20guardrails%20%3E%20(schema)%20%3E%20(property)%20response%20%3E%20(property)%20S5%20%3E%20(member)%200">Link to this property</a>

const AIGatewayUpdateParamsGuardrailsResponseS5Block AIGatewayUpdateParamsGuardrailsResponseS5 = "BLOCK"

<a href="#(resource)%20ai_gateway%20%3E%20(method)%20update%20%3E%20(params)%20default%20%3E%20(param)%20guardrails%20%3E%20(schema)%20%3E%20(property)%20response%20%3E%20(property)%20S5%20%3E%20(member)%201">Link to this property</a>

</details>

<a href="#(resource)%20ai_gateway%20%3E%20(method)%20update%20%3E%20(params)%20default%20%3E%20(param)%20guardrails%20%3E%20(schema)%20%3E%20(property)%20response%20%3E%20(property)%20S5">Link to this property</a>

<details>

<summary>

S6 AIGatewayUpdateParamsGuardrailsResponseS6Optional

</summary>

One of the following:

const AIGatewayUpdateParamsGuardrailsResponseS6Flag AIGatewayUpdateParamsGuardrailsResponseS6 = "FLAG"

<a href="#(resource)%20ai_gateway%20%3E%20(method)%20update%20%3E%20(params)%20default%20%3E%20(param)%20guardrails%20%3E%20(schema)%20%3E%20(property)%20response%20%3E%20(property)%20S6%20%3E%20(member)%200">Link to this property</a>

const AIGatewayUpdateParamsGuardrailsResponseS6Block AIGatewayUpdateParamsGuardrailsResponseS6 = "BLOCK"

<a href="#(resource)%20ai_gateway%20%3E%20(method)%20update%20%3E%20(params)%20default%20%3E%20(param)%20guardrails%20%3E%20(schema)%20%3E%20(property)%20response%20%3E%20(property)%20S6%20%3E%20(member)%201">Link to this property</a>

</details>

<a href="#(resource)%20ai_gateway%20%3E%20(method)%20update%20%3E%20(params)%20default%20%3E%20(param)%20guardrails%20%3E%20(schema)%20%3E%20(property)%20response%20%3E%20(property)%20S6">Link to this property</a>

<details>

<summary>

S7 AIGatewayUpdateParamsGuardrailsResponseS7Optional

</summary>

One of the following:

const AIGatewayUpdateParamsGuardrailsResponseS7Flag AIGatewayUpdateParamsGuardrailsResponseS7 = "FLAG"

<a href="#(resource)%20ai_gateway%20%3E%20(method)%20update%20%3E%20(params)%20default%20%3E%20(param)%20guardrails%20%3E%20(schema)%20%3E%20(property)%20response%20%3E%20(property)%20S7%20%3E%20(member)%200">Link to this property</a>

const AIGatewayUpdateParamsGuardrailsResponseS7Block AIGatewayUpdateParamsGuardrailsResponseS7 = "BLOCK"

<a href="#(resource)%20ai_gateway%20%3E%20(method)%20update%20%3E%20(params)%20default%20%3E%20(param)%20guardrails%20%3E%20(schema)%20%3E%20(property)%20response%20%3E%20(property)%20S7%20%3E%20(member)%201">Link to this property</a>

</details>

<a href="#(resource)%20ai_gateway%20%3E%20(method)%20update%20%3E%20(params)%20default%20%3E%20(param)%20guardrails%20%3E%20(schema)%20%3E%20(property)%20response%20%3E%20(property)%20S7">Link to this property</a>

<details>

<summary>

S8 AIGatewayUpdateParamsGuardrailsResponseS8Optional

</summary>

One of the following:

const AIGatewayUpdateParamsGuardrailsResponseS8Flag AIGatewayUpdateParamsGuardrailsResponseS8 = "FLAG"

<a href="#(resource)%20ai_gateway%20%3E%20(method)%20update%20%3E%20(params)%20default%20%3E%20(param)%20guardrails%20%3E%20(schema)%20%3E%20(property)%20response%20%3E%20(property)%20S8%20%3E%20(member)%200">Link to this property</a>

const AIGatewayUpdateParamsGuardrailsResponseS8Block AIGatewayUpdateParamsGuardrailsResponseS8 = "BLOCK"

<a href="#(resource)%20ai_gateway%20%3E%20(method)%20update%20%3E%20(params)%20default%20%3E%20(param)%20guardrails%20%3E%20(schema)%20%3E%20(property)%20response%20%3E%20(property)%20S8%20%3E%20(member)%201">Link to this property</a>

</details>

<a href="#(resource)%20ai_gateway%20%3E%20(method)%20update%20%3E%20(params)%20default%20%3E%20(param)%20guardrails%20%3E%20(schema)%20%3E%20(property)%20response%20%3E%20(property)%20S8">Link to this property</a>

<details>

<summary>

S9 AIGatewayUpdateParamsGuardrailsResponseS9Optional

</summary>

One of the following:

const AIGatewayUpdateParamsGuardrailsResponseS9Flag AIGatewayUpdateParamsGuardrailsResponseS9 = "FLAG"

<a href="#(resource)%20ai_gateway%20%3E%20(method)%20update%20%3E%20(params)%20default%20%3E%20(param)%20guardrails%20%3E%20(schema)%20%3E%20(property)%20response%20%3E%20(property)%20S9%20%3E%20(member)%200">Link to this property</a>

const AIGatewayUpdateParamsGuardrailsResponseS9Block AIGatewayUpdateParamsGuardrailsResponseS9 = "BLOCK"

<a href="#(resource)%20ai_gateway%20%3E%20(method)%20update%20%3E%20(params)%20default%20%3E%20(param)%20guardrails%20%3E%20(schema)%20%3E%20(property)%20response%20%3E%20(property)%20S9%20%3E%20(member)%201">Link to this property</a>

</details>

<a href="#(resource)%20ai_gateway%20%3E%20(method)%20update%20%3E%20(params)%20default%20%3E%20(param)%20guardrails%20%3E%20(schema)%20%3E%20(property)%20response%20%3E%20(property)%20S9">Link to this property</a>

</details>

<a href="#(resource)%20ai_gateway%20%3E%20(method)%20update%20%3E%20(params)%20default%20%3E%20(param)%20guardrails%20%3E%20(schema)%20%3E%20(property)%20response">Link to this property</a>

</details>

<a href="#(resource)%20ai_gateway%20%3E%20(method)%20update%20%3E%20(params)%20default%20%3E%20(param)%20guardrails">Link to this property</a>

LogClassification param.Field\[bool]Optional

Body param

<a href="#(resource)%20ai_gateway%20%3E%20(method)%20update%20%3E%20(params)%20default%20%3E%20(param)%20log_classification">Link to this property</a>

LogManagement param.Field\[int64]Optional

Body param

maximum10000000

minimum10000

<a href="#(resource)%20ai_gateway%20%3E%20(method)%20update%20%3E%20(params)%20default%20%3E%20(param)%20log_management">Link to this property</a>

<details>

<summary>

LogManagementStrategy param.Field\[<a href="https://developers.cloudflare.com/api/go/resources/ai_gateway/methods/update#(resource)%20ai_gateway%20%3E%20(method)%20update%20%3E%20(params)%20default%20%3E%20(param)%20log_management_strategy%20%3E%20(schema)">AIGatewayUpdateParamsLogManagementStrategy</a>]Optional

Body param

</summary>

const AIGatewayUpdateParamsLogManagementStrategyStopInserting <a href="https://developers.cloudflare.com/api/go/resources/ai_gateway/methods/update#(resource)%20ai_gateway%20%3E%20(method)%20update%20%3E%20(params)%20default%20%3E%20(param)%20log_management_strategy%20%3E%20(schema)">AIGatewayUpdateParamsLogManagementStrategy</a> = "STOP\_INSERTING"

<a href="#(resource)%20ai_gateway%20%3E%20(method)%20update%20%3E%20(params)%20default%20%3E%20(param)%20log_management_strategy%20%3E%20(schema)%20%3E%20(member)%200">Link to this property</a>

const AIGatewayUpdateParamsLogManagementStrategyDeleteOldest <a href="https://developers.cloudflare.com/api/go/resources/ai_gateway/methods/update#(resource)%20ai_gateway%20%3E%20(method)%20update%20%3E%20(params)%20default%20%3E%20(param)%20log_management_strategy%20%3E%20(schema)">AIGatewayUpdateParamsLogManagementStrategy</a> = "DELETE\_OLDEST"

<a href="#(resource)%20ai_gateway%20%3E%20(method)%20update%20%3E%20(params)%20default%20%3E%20(param)%20log_management_strategy%20%3E%20(schema)%20%3E%20(member)%201">Link to this property</a>

</details>

<a href="#(resource)%20ai_gateway%20%3E%20(method)%20update%20%3E%20(params)%20default%20%3E%20(param)%20log_management_strategy">Link to this property</a>

Logpush param.Field\[bool]Optional

Body param

<a href="#(resource)%20ai_gateway%20%3E%20(method)%20update%20%3E%20(params)%20default%20%3E%20(param)%20logpush">Link to this property</a>

LogpushPublicKey param.Field\[string]Optional

Body param

maxLength1024

minLength16

<a href="#(resource)%20ai_gateway%20%3E%20(method)%20update%20%3E%20(params)%20default%20%3E%20(param)%20logpush_public_key">Link to this property</a>

<details>

<summary>

Otel param.Field\[\[]AIGatewayUpdateParamsOtel]Optional

Body param

</summary>

Headers map\[string, string]

<a href="#(resource)%20ai_gateway%20%3E%20(method)%20update%20%3E%20(params)%20default%20%3E%20(param)%20otel%20%3E%20(schema)%20%3E%20(items)%20%3E%20(property)%20headers">Link to this property</a>

URL string

formaturi

maxLength2048

<a href="#(resource)%20ai_gateway%20%3E%20(method)%20update%20%3E%20(params)%20default%20%3E%20(param)%20otel%20%3E%20(schema)%20%3E%20(items)%20%3E%20(property)%20url">Link to this property</a>

Authorization stringOptional

maxLength256

<a href="#(resource)%20ai_gateway%20%3E%20(method)%20update%20%3E%20(params)%20default%20%3E%20(param)%20otel%20%3E%20(schema)%20%3E%20(items)%20%3E%20(property)%20authorization">Link to this property</a>

<details>

<summary>

ContentType AIGatewayUpdateParamsOtelContentTypeOptional

</summary>

One of the following:

const AIGatewayUpdateParamsOtelContentTypeJson AIGatewayUpdateParamsOtelContentType = "json"

<a href="#(resource)%20ai_gateway%20%3E%20(method)%20update%20%3E%20(params)%20default%20%3E%20(param)%20otel%20%3E%20(schema)%20%3E%20(items)%20%3E%20(property)%20content_type%20%3E%20(member)%200">Link to this property</a>

const AIGatewayUpdateParamsOtelContentTypeProtobuf AIGatewayUpdateParamsOtelContentType = "protobuf"

<a href="#(resource)%20ai_gateway%20%3E%20(method)%20update%20%3E%20(params)%20default%20%3E%20(param)%20otel%20%3E%20(schema)%20%3E%20(items)%20%3E%20(property)%20content_type%20%3E%20(member)%201">Link to this property</a>

</details>

<a href="#(resource)%20ai_gateway%20%3E%20(method)%20update%20%3E%20(params)%20default%20%3E%20(param)%20otel%20%3E%20(schema)%20%3E%20(items)%20%3E%20(property)%20content_type">Link to this property</a>

</details>

<a href="#(resource)%20ai_gateway%20%3E%20(method)%20update%20%3E%20(params)%20default%20%3E%20(param)%20otel">Link to this property</a>

<details>

<summary>

RateLimitingTechnique param.Field\[<a href="https://developers.cloudflare.com/api/go/resources/ai_gateway/methods/update#(resource)%20ai_gateway%20%3E%20(method)%20update%20%3E%20(params)%20default%20%3E%20(param)%20rate_limiting_technique%20%3E%20(schema)">AIGatewayUpdateParamsRateLimitingTechnique</a>]Optional

Body param

</summary>

const AIGatewayUpdateParamsRateLimitingTechniqueFixed <a href="https://developers.cloudflare.com/api/go/resources/ai_gateway/methods/update#(resource)%20ai_gateway%20%3E%20(method)%20update%20%3E%20(params)%20default%20%3E%20(param)%20rate_limiting_technique%20%3E%20(schema)">AIGatewayUpdateParamsRateLimitingTechnique</a> = "fixed"

<a href="#(resource)%20ai_gateway%20%3E%20(method)%20update%20%3E%20(params)%20default%20%3E%20(param)%20rate_limiting_technique%20%3E%20(schema)%20%3E%20(member)%200">Link to this property</a>

const AIGatewayUpdateParamsRateLimitingTechniqueSliding <a href="https://developers.cloudflare.com/api/go/resources/ai_gateway/methods/update#(resource)%20ai_gateway%20%3E%20(method)%20update%20%3E%20(params)%20default%20%3E%20(param)%20rate_limiting_technique%20%3E%20(schema)">AIGatewayUpdateParamsRateLimitingTechnique</a> = "sliding"

<a href="#(resource)%20ai_gateway%20%3E%20(method)%20update%20%3E%20(params)%20default%20%3E%20(param)%20rate_limiting_technique%20%3E%20(schema)%20%3E%20(member)%201">Link to this property</a>

</details>

<a href="#(resource)%20ai_gateway%20%3E%20(method)%20update%20%3E%20(params)%20default%20%3E%20(param)%20rate_limiting_technique">Link to this property</a>

<details>

<summary>

RetryBackoff param.Field\[<a href="https://developers.cloudflare.com/api/go/resources/ai_gateway/methods/update#(resource)%20ai_gateway%20%3E%20(method)%20update%20%3E%20(params)%20default%20%3E%20(param)%20retry_backoff%20%3E%20(schema)">AIGatewayUpdateParamsRetryBackoff</a>]Optional

Body param: Backoff strategy for retry delays

</summary>

const AIGatewayUpdateParamsRetryBackoffConstant <a href="https://developers.cloudflare.com/api/go/resources/ai_gateway/methods/update#(resource)%20ai_gateway%20%3E%20(method)%20update%20%3E%20(params)%20default%20%3E%20(param)%20retry_backoff%20%3E%20(schema)">AIGatewayUpdateParamsRetryBackoff</a> = "constant"

<a href="#(resource)%20ai_gateway%20%3E%20(method)%20update%20%3E%20(params)%20default%20%3E%20(param)%20retry_backoff%20%3E%20(schema)%20%3E%20(member)%200">Link to this property</a>

const AIGatewayUpdateParamsRetryBackoffLinear <a href="https://developers.cloudflare.com/api/go/resources/ai_gateway/methods/update#(resource)%20ai_gateway%20%3E%20(method)%20update%20%3E%20(params)%20default%20%3E%20(param)%20retry_backoff%20%3E%20(schema)">AIGatewayUpdateParamsRetryBackoff</a> = "linear"

<a href="#(resource)%20ai_gateway%20%3E%20(method)%20update%20%3E%20(params)%20default%20%3E%20(param)%20retry_backoff%20%3E%20(schema)%20%3E%20(member)%201">Link to this property</a>

const AIGatewayUpdateParamsRetryBackoffExponential <a href="https://developers.cloudflare.com/api/go/resources/ai_gateway/methods/update#(resource)%20ai_gateway%20%3E%20(method)%20update%20%3E%20(params)%20default%20%3E%20(param)%20retry_backoff%20%3E%20(schema)">AIGatewayUpdateParamsRetryBackoff</a> = "exponential"

<a href="#(resource)%20ai_gateway%20%3E%20(method)%20update%20%3E%20(params)%20default%20%3E%20(param)%20retry_backoff%20%3E%20(schema)%20%3E%20(member)%202">Link to this property</a>

</details>

<a href="#(resource)%20ai_gateway%20%3E%20(method)%20update%20%3E%20(params)%20default%20%3E%20(param)%20retry_backoff">Link to this property</a>

RetryDelay param.Field\[int64]Optional

Body param: Delay between retry attempts in milliseconds (0-60000)

maximum60000

minimum0

<a href="#(resource)%20ai_gateway%20%3E%20(method)%20update%20%3E%20(params)%20default%20%3E%20(param)%20retry_delay">Link to this property</a>

RetryMaxAttempts param.Field\[int64]Optional

Body param: Maximum number of retry attempts for failed requests (1-5)

maximum5

minimum1

<a href="#(resource)%20ai_gateway%20%3E%20(method)%20update%20%3E%20(params)%20default%20%3E%20(param)%20retry_max_attempts">Link to this property</a>

<details>

<summary>

SpendLimits param.Field\[<a href="https://developers.cloudflare.com/api/go/resources/ai_gateway/methods/update#(resource)%20ai_gateway%20%3E%20(method)%20update%20%3E%20(params)%20default%20%3E%20(param)%20spend_limits%20%3E%20(schema)">AIGatewayUpdateParamsSpendLimits</a>]Optional

Body param

</summary>

Enabled boolOptional

<a href="#(resource)%20ai_gateway%20%3E%20(method)%20update%20%3E%20(params)%20default%20%3E%20(param)%20spend_limits%20%3E%20(schema)%20%3E%20(property)%20enabled">Link to this property</a>

<details>

<summary>

Rules \[]AIGatewayUpdateParamsSpendLimitsRuleOptional

</summary>

Limit float64

exclusiveMinimum

minimum0

<a href="#(resource)%20ai_gateway%20%3E%20(method)%20update%20%3E%20(params)%20default%20%3E%20(param)%20spend_limits%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(property)%20limit">Link to this property</a>

LimitType AIGatewayUpdateParamsSpendLimitsRulesLimitType

<a href="#(resource)%20ai_gateway%20%3E%20(method)%20update%20%3E%20(params)%20default%20%3E%20(param)%20spend_limits%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(property)%20limitType">Link to this property</a>

Window int64

exclusiveMinimum

minimum0

<a href="#(resource)%20ai_gateway%20%3E%20(method)%20update%20%3E%20(params)%20default%20%3E%20(param)%20spend_limits%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(property)%20window">Link to this property</a>

ID stringOptional

minLength1

<a href="#(resource)%20ai_gateway%20%3E%20(method)%20update%20%3E%20(params)%20default%20%3E%20(param)%20spend_limits%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(property)%20id">Link to this property</a>

Enabled boolOptional

<a href="#(resource)%20ai_gateway%20%3E%20(method)%20update%20%3E%20(params)%20default%20%3E%20(param)%20spend_limits%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(property)%20enabled">Link to this property</a>

<details>

<summary>

Metadata map\[string, AIGatewayUpdateParamsSpendLimitsRulesMetadata]Optional

</summary>

One of the following:

<details>

<summary>

type AIGatewayUpdateParamsSpendLimitsRulesMetadataMode struct{…}

</summary>

Mode AIGatewayUpdateParamsSpendLimitsRulesMetadataModeMode

<a href="#(resource)%20ai_gateway%20%3E%20(method)%20update%20%3E%20(params)%20default%20%3E%20(param)%20spend_limits%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(property)%20metadata%20%3E%20(items)%20%3E%20(variant)%200%20%3E%20(property)%20mode">Link to this property</a>

</details>

<a href="#(resource)%20ai_gateway%20%3E%20(method)%20update%20%3E%20(params)%20default%20%3E%20(param)%20spend_limits%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(property)%20metadata%20%3E%20(items)%20%3E%20(variant)%200">Link to this property</a>

<details>

<summary>

type AIGatewayUpdateParamsSpendLimitsRulesMetadataObject struct{…}

</summary>

Mode AIGatewayUpdateParamsSpendLimitsRulesMetadataObjectMode

<a href="#(resource)%20ai_gateway%20%3E%20(method)%20update%20%3E%20(params)%20default%20%3E%20(param)%20spend_limits%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(property)%20metadata%20%3E%20(items)%20%3E%20(variant)%201%20%3E%20(property)%20mode">Link to this property</a>

Values \[]string

<a href="#(resource)%20ai_gateway%20%3E%20(method)%20update%20%3E%20(params)%20default%20%3E%20(param)%20spend_limits%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(property)%20metadata%20%3E%20(items)%20%3E%20(variant)%201%20%3E%20(property)%20values">Link to this property</a>

</details>

<a href="#(resource)%20ai_gateway%20%3E%20(method)%20update%20%3E%20(params)%20default%20%3E%20(param)%20spend_limits%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(property)%20metadata%20%3E%20(items)%20%3E%20(variant)%201">Link to this property</a>

</details>

<a href="#(resource)%20ai_gateway%20%3E%20(method)%20update%20%3E%20(params)%20default%20%3E%20(param)%20spend_limits%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(property)%20metadata">Link to this property</a>

<details>

<summary>

Model AIGatewayUpdateParamsSpendLimitsRulesModelOptional

</summary>

Mode AIGatewayUpdateParamsSpendLimitsRulesModelMode

<a href="#(resource)%20ai_gateway%20%3E%20(method)%20update%20%3E%20(params)%20default%20%3E%20(param)%20spend_limits%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(property)%20model%20%3E%20(property)%20mode">Link to this property</a>

Values \[]string

<a href="#(resource)%20ai_gateway%20%3E%20(method)%20update%20%3E%20(params)%20default%20%3E%20(param)%20spend_limits%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(property)%20model%20%3E%20(property)%20values">Link to this property</a>

</details>

<a href="#(resource)%20ai_gateway%20%3E%20(method)%20update%20%3E%20(params)%20default%20%3E%20(param)%20spend_limits%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(property)%20model">Link to this property</a>

<details>

<summary>

Provider AIGatewayUpdateParamsSpendLimitsRulesProviderOptional

</summary>

Mode AIGatewayUpdateParamsSpendLimitsRulesProviderMode

<a href="#(resource)%20ai_gateway%20%3E%20(method)%20update%20%3E%20(params)%20default%20%3E%20(param)%20spend_limits%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(property)%20provider%20%3E%20(property)%20mode">Link to this property</a>

Values \[]string

<a href="#(resource)%20ai_gateway%20%3E%20(method)%20update%20%3E%20(params)%20default%20%3E%20(param)%20spend_limits%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(property)%20provider%20%3E%20(property)%20values">Link to this property</a>

</details>

<a href="#(resource)%20ai_gateway%20%3E%20(method)%20update%20%3E%20(params)%20default%20%3E%20(param)%20spend_limits%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(property)%20provider">Link to this property</a>

<details>

<summary>

Technique AIGatewayUpdateParamsSpendLimitsRulesTechniqueOptional

</summary>

One of the following:

const AIGatewayUpdateParamsSpendLimitsRulesTechniqueFixed AIGatewayUpdateParamsSpendLimitsRulesTechnique = "fixed"

<a href="#(resource)%20ai_gateway%20%3E%20(method)%20update%20%3E%20(params)%20default%20%3E%20(param)%20spend_limits%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(property)%20technique%20%3E%20(member)%200">Link to this property</a>

const AIGatewayUpdateParamsSpendLimitsRulesTechniqueSliding AIGatewayUpdateParamsSpendLimitsRulesTechnique = "sliding"

<a href="#(resource)%20ai_gateway%20%3E%20(method)%20update%20%3E%20(params)%20default%20%3E%20(param)%20spend_limits%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(property)%20technique%20%3E%20(member)%201">Link to this property</a>

</details>

<a href="#(resource)%20ai_gateway%20%3E%20(method)%20update%20%3E%20(params)%20default%20%3E%20(param)%20spend_limits%20%3E%20(schema)%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(property)%20technique">Link to this property</a>

</details>

<a href="#(resource)%20ai_gateway%20%3E%20(method)%20update%20%3E%20(params)%20default%20%3E%20(param)%20spend_limits%20%3E%20(schema)%20%3E%20(property)%20rules">Link to this property</a>

</details>

<a href="#(resource)%20ai_gateway%20%3E%20(method)%20update%20%3E%20(params)%20default%20%3E%20(param)%20spend_limits">Link to this property</a>

StoreID param.Field\[string]Optional

Body param

<a href="#(resource)%20ai_gateway%20%3E%20(method)%20update%20%3E%20(params)%20default%20%3E%20(param)%20store_id">Link to this property</a>

<details>

<summary>

Stripe param.Field\[<a href="https://developers.cloudflare.com/api/go/resources/ai_gateway/methods/update#(resource)%20ai_gateway%20%3E%20(method)%20update%20%3E%20(params)%20default%20%3E%20(param)%20stripe%20%3E%20(schema)">AIGatewayUpdateParamsStripe</a>]Optional

Body param

</summary>

Authorization string

<a href="#(resource)%20ai_gateway%20%3E%20(method)%20update%20%3E%20(params)%20default%20%3E%20(param)%20stripe%20%3E%20(schema)%20%3E%20(property)%20authorization">Link to this property</a>

<details>

<summary>

UsageEvents \[]AIGatewayUpdateParamsStripeUsageEvent

</summary>

Payload string

<a href="#(resource)%20ai_gateway%20%3E%20(method)%20update%20%3E%20(params)%20default%20%3E%20(param)%20stripe%20%3E%20(schema)%20%3E%20(property)%20usage_events%20%3E%20(items)%20%3E%20(property)%20payload">Link to this property</a>

</details>

<a href="#(resource)%20ai_gateway%20%3E%20(method)%20update%20%3E%20(params)%20default%20%3E%20(param)%20stripe%20%3E%20(schema)%20%3E%20(property)%20usage_events">Link to this property</a>

</details>

<a href="#(resource)%20ai_gateway%20%3E%20(method)%20update%20%3E%20(params)%20default%20%3E%20(param)%20stripe">Link to this property</a>

<details>

<summary>

WorkersAIBillingMode param.Field\[<a href="https://developers.cloudflare.com/api/go/resources/ai_gateway/methods/update#(resource)%20ai_gateway%20%3E%20(method)%20update%20%3E%20(params)%20default%20%3E%20(param)%20workers_ai_billing_mode%20%3E%20(schema)">AIGatewayUpdateParamsWorkersAIBillingMode</a>]Optional

Body param: Controls how Workers AI inference calls routed through this gateway are billed. ‘postpaid’ bills the account directly through Workers AI; ‘unified’ deducts credits via AI Gateway using neuron-based pricing and delegates billing to AI Gateway.

</summary>

const AIGatewayUpdateParamsWorkersAIBillingModePostpaid <a href="https://developers.cloudflare.com/api/go/resources/ai_gateway/methods/update#(resource)%20ai_gateway%20%3E%20(method)%20update%20%3E%20(params)%20default%20%3E%20(param)%20workers_ai_billing_mode%20%3E%20(schema)">AIGatewayUpdateParamsWorkersAIBillingMode</a> = "postpaid"

<a href="#(resource)%20ai_gateway%20%3E%20(method)%20update%20%3E%20(params)%20default%20%3E%20(param)%20workers_ai_billing_mode%20%3E%20(schema)%20%3E%20(member)%200">Link to this property</a>

const AIGatewayUpdateParamsWorkersAIBillingModeUnified <a href="https://developers.cloudflare.com/api/go/resources/ai_gateway/methods/update#(resource)%20ai_gateway%20%3E%20(method)%20update%20%3E%20(params)%20default%20%3E%20(param)%20workers_ai_billing_mode%20%3E%20(schema)">AIGatewayUpdateParamsWorkersAIBillingMode</a> = "unified"

<a href="#(resource)%20ai_gateway%20%3E%20(method)%20update%20%3E%20(params)%20default%20%3E%20(param)%20workers_ai_billing_mode%20%3E%20(schema)%20%3E%20(member)%201">Link to this property</a>

</details>

<a href="#(resource)%20ai_gateway%20%3E%20(method)%20update%20%3E%20(params)%20default%20%3E%20(param)%20workers_ai_billing_mode">Link to this property</a>

Zdr param.Field\[bool]Optional

Body param

<a href="#(resource)%20ai_gateway%20%3E%20(method)%20update%20%3E%20(params)%20default%20%3E%20(param)%20zdr">Link to this property</a>

</details>

[Link to this property](<#(resource)%20ai_gateway%20%3E%20(method)%20update%20%3E%20(params)%20default>)

##### ReturnsExpand Collapse

<details>

<summary>

type AIGatewayUpdateResponse struct{…}

</summary>

ID string

Unique identifier of the AI Gateway within the account.

maxLength64

minLength1

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayUpdateResponse%20%3E%20(schema)%20%3E%20(property)%20id">Link to this property</a>

CacheInvalidateOnUpdate bool

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayUpdateResponse%20%3E%20(schema)%20%3E%20(property)%20cache_invalidate_on_update">Link to this property</a>

CacheTTL int64

minimum0

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayUpdateResponse%20%3E%20(schema)%20%3E%20(property)%20cache_ttl">Link to this property</a>

CollectLogs bool

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayUpdateResponse%20%3E%20(schema)%20%3E%20(property)%20collect_logs">Link to this property</a>

CreatedAt Time

formatdate-time

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayUpdateResponse%20%3E%20(schema)%20%3E%20(property)%20created_at">Link to this property</a>

ModifiedAt Time

formatdate-time

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayUpdateResponse%20%3E%20(schema)%20%3E%20(property)%20modified_at">Link to this property</a>

RateLimitingInterval int64

minimum0

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayUpdateResponse%20%3E%20(schema)%20%3E%20(property)%20rate_limiting_interval">Link to this property</a>

RateLimitingLimit int64

minimum0

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayUpdateResponse%20%3E%20(schema)%20%3E%20(property)%20rate_limiting_limit">Link to this property</a>

Authentication boolOptional

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayUpdateResponse%20%3E%20(schema)%20%3E%20(property)%20authentication">Link to this property</a>

ByokOnly boolOptional

Requires customer-provided provider credentials and prevents fallback to Unified Billing.

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayUpdateResponse%20%3E%20(schema)%20%3E%20(property)%20byok_only">Link to this property</a>

<details>

<summary>

DLP AIGatewayUpdateResponseDLPOptional

</summary>

One of the following:

<details>

<summary>

type AIGatewayUpdateResponseDLPObject struct{…}

</summary>

<details>

<summary>

Action AIGatewayUpdateResponseDLPObjectAction

</summary>

One of the following:

const AIGatewayUpdateResponseDLPObjectActionBlock AIGatewayUpdateResponseDLPObjectAction = "BLOCK"

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayUpdateResponse%20%3E%20(schema)%20%3E%20(property)%20dlp%20%3E%20(variant)%200%20%3E%20(property)%20action%20%3E%20(member)%200">Link to this property</a>

const AIGatewayUpdateResponseDLPObjectActionFlag AIGatewayUpdateResponseDLPObjectAction = "FLAG"

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayUpdateResponse%20%3E%20(schema)%20%3E%20(property)%20dlp%20%3E%20(variant)%200%20%3E%20(property)%20action%20%3E%20(member)%201">Link to this property</a>

</details>

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayUpdateResponse%20%3E%20(schema)%20%3E%20(property)%20dlp%20%3E%20(variant)%200%20%3E%20(property)%20action">Link to this property</a>

Enabled bool

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayUpdateResponse%20%3E%20(schema)%20%3E%20(property)%20dlp%20%3E%20(variant)%200%20%3E%20(property)%20enabled">Link to this property</a>

Profiles \[]string

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayUpdateResponse%20%3E%20(schema)%20%3E%20(property)%20dlp%20%3E%20(variant)%200%20%3E%20(property)%20profiles">Link to this property</a>

</details>

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayUpdateResponse%20%3E%20(schema)%20%3E%20(property)%20dlp%20%3E%20(variant)%200">Link to this property</a>

<details>

<summary>

type AIGatewayUpdateResponseDLPObject struct{…}

</summary>

Enabled bool

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayUpdateResponse%20%3E%20(schema)%20%3E%20(property)%20dlp%20%3E%20(variant)%201%20%3E%20(property)%20enabled">Link to this property</a>

<details>

<summary>

Policies \[]AIGatewayUpdateResponseDLPObjectPolicy

</summary>

ID string

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayUpdateResponse%20%3E%20(schema)%20%3E%20(property)%20dlp%20%3E%20(variant)%201%20%3E%20(property)%20policies%20%3E%20(items)%20%3E%20(property)%20id">Link to this property</a>

<details>

<summary>

Action AIGatewayUpdateResponseDLPObjectPoliciesAction

</summary>

One of the following:

const AIGatewayUpdateResponseDLPObjectPoliciesActionFlag AIGatewayUpdateResponseDLPObjectPoliciesAction = "FLAG"

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayUpdateResponse%20%3E%20(schema)%20%3E%20(property)%20dlp%20%3E%20(variant)%201%20%3E%20(property)%20policies%20%3E%20(items)%20%3E%20(property)%20action%20%3E%20(member)%200">Link to this property</a>

const AIGatewayUpdateResponseDLPObjectPoliciesActionBlock AIGatewayUpdateResponseDLPObjectPoliciesAction = "BLOCK"

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayUpdateResponse%20%3E%20(schema)%20%3E%20(property)%20dlp%20%3E%20(variant)%201%20%3E%20(property)%20policies%20%3E%20(items)%20%3E%20(property)%20action%20%3E%20(member)%201">Link to this property</a>

</details>

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayUpdateResponse%20%3E%20(schema)%20%3E%20(property)%20dlp%20%3E%20(variant)%201%20%3E%20(property)%20policies%20%3E%20(items)%20%3E%20(property)%20action">Link to this property</a>

<details>

<summary>

Check \[]AIGatewayUpdateResponseDLPObjectPoliciesCheck

</summary>

One of the following:

const AIGatewayUpdateResponseDLPObjectPoliciesCheckRequest AIGatewayUpdateResponseDLPObjectPoliciesCheck = "REQUEST"

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayUpdateResponse%20%3E%20(schema)%20%3E%20(property)%20dlp%20%3E%20(variant)%201%20%3E%20(property)%20policies%20%3E%20(items)%20%3E%20(property)%20check%20%3E%20(items)%20%3E%20(member)%200">Link to this property</a>

const AIGatewayUpdateResponseDLPObjectPoliciesCheckResponse AIGatewayUpdateResponseDLPObjectPoliciesCheck = "RESPONSE"

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayUpdateResponse%20%3E%20(schema)%20%3E%20(property)%20dlp%20%3E%20(variant)%201%20%3E%20(property)%20policies%20%3E%20(items)%20%3E%20(property)%20check%20%3E%20(items)%20%3E%20(member)%201">Link to this property</a>

</details>

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayUpdateResponse%20%3E%20(schema)%20%3E%20(property)%20dlp%20%3E%20(variant)%201%20%3E%20(property)%20policies%20%3E%20(items)%20%3E%20(property)%20check">Link to this property</a>

Enabled bool

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayUpdateResponse%20%3E%20(schema)%20%3E%20(property)%20dlp%20%3E%20(variant)%201%20%3E%20(property)%20policies%20%3E%20(items)%20%3E%20(property)%20enabled">Link to this property</a>

Profiles \[]string

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayUpdateResponse%20%3E%20(schema)%20%3E%20(property)%20dlp%20%3E%20(variant)%201%20%3E%20(property)%20policies%20%3E%20(items)%20%3E%20(property)%20profiles">Link to this property</a>

</details>

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayUpdateResponse%20%3E%20(schema)%20%3E%20(property)%20dlp%20%3E%20(variant)%201%20%3E%20(property)%20policies">Link to this property</a>

</details>

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayUpdateResponse%20%3E%20(schema)%20%3E%20(property)%20dlp%20%3E%20(variant)%201">Link to this property</a>

</details>

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayUpdateResponse%20%3E%20(schema)%20%3E%20(property)%20dlp">Link to this property</a>

<details>

<summary>

Guardrails AIGatewayUpdateResponseGuardrailsOptional

</summary>

<details>

<summary>

Prompt AIGatewayUpdateResponseGuardrailsPrompt

</summary>

<details>

<summary>

P1 AIGatewayUpdateResponseGuardrailsPromptP1Optional

</summary>

One of the following:

const AIGatewayUpdateResponseGuardrailsPromptP1Flag AIGatewayUpdateResponseGuardrailsPromptP1 = "FLAG"

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayUpdateResponse%20%3E%20(schema)%20%3E%20(property)%20guardrails%20%3E%20(property)%20prompt%20%3E%20(property)%20P1%20%3E%20(member)%200">Link to this property</a>

const AIGatewayUpdateResponseGuardrailsPromptP1Block AIGatewayUpdateResponseGuardrailsPromptP1 = "BLOCK"

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayUpdateResponse%20%3E%20(schema)%20%3E%20(property)%20guardrails%20%3E%20(property)%20prompt%20%3E%20(property)%20P1%20%3E%20(member)%201">Link to this property</a>

</details>

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayUpdateResponse%20%3E%20(schema)%20%3E%20(property)%20guardrails%20%3E%20(property)%20prompt%20%3E%20(property)%20P1">Link to this property</a>

<details>

<summary>

S1 AIGatewayUpdateResponseGuardrailsPromptS1Optional

</summary>

One of the following:

const AIGatewayUpdateResponseGuardrailsPromptS1Flag AIGatewayUpdateResponseGuardrailsPromptS1 = "FLAG"

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayUpdateResponse%20%3E%20(schema)%20%3E%20(property)%20guardrails%20%3E%20(property)%20prompt%20%3E%20(property)%20S1%20%3E%20(member)%200">Link to this property</a>

const AIGatewayUpdateResponseGuardrailsPromptS1Block AIGatewayUpdateResponseGuardrailsPromptS1 = "BLOCK"

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayUpdateResponse%20%3E%20(schema)%20%3E%20(property)%20guardrails%20%3E%20(property)%20prompt%20%3E%20(property)%20S1%20%3E%20(member)%201">Link to this property</a>

</details>

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayUpdateResponse%20%3E%20(schema)%20%3E%20(property)%20guardrails%20%3E%20(property)%20prompt%20%3E%20(property)%20S1">Link to this property</a>

<details>

<summary>

S10 AIGatewayUpdateResponseGuardrailsPromptS10Optional

</summary>

One of the following:

const AIGatewayUpdateResponseGuardrailsPromptS10Flag AIGatewayUpdateResponseGuardrailsPromptS10 = "FLAG"

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayUpdateResponse%20%3E%20(schema)%20%3E%20(property)%20guardrails%20%3E%20(property)%20prompt%20%3E%20(property)%20S10%20%3E%20(member)%200">Link to this property</a>

const AIGatewayUpdateResponseGuardrailsPromptS10Block AIGatewayUpdateResponseGuardrailsPromptS10 = "BLOCK"

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayUpdateResponse%20%3E%20(schema)%20%3E%20(property)%20guardrails%20%3E%20(property)%20prompt%20%3E%20(property)%20S10%20%3E%20(member)%201">Link to this property</a>

</details>

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayUpdateResponse%20%3E%20(schema)%20%3E%20(property)%20guardrails%20%3E%20(property)%20prompt%20%3E%20(property)%20S10">Link to this property</a>

<details>

<summary>

S11 AIGatewayUpdateResponseGuardrailsPromptS11Optional

</summary>

One of the following:

const AIGatewayUpdateResponseGuardrailsPromptS11Flag AIGatewayUpdateResponseGuardrailsPromptS11 = "FLAG"

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayUpdateResponse%20%3E%20(schema)%20%3E%20(property)%20guardrails%20%3E%20(property)%20prompt%20%3E%20(property)%20S11%20%3E%20(member)%200">Link to this property</a>

const AIGatewayUpdateResponseGuardrailsPromptS11Block AIGatewayUpdateResponseGuardrailsPromptS11 = "BLOCK"

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayUpdateResponse%20%3E%20(schema)%20%3E%20(property)%20guardrails%20%3E%20(property)%20prompt%20%3E%20(property)%20S11%20%3E%20(member)%201">Link to this property</a>

</details>

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayUpdateResponse%20%3E%20(schema)%20%3E%20(property)%20guardrails%20%3E%20(property)%20prompt%20%3E%20(property)%20S11">Link to this property</a>

<details>

<summary>

S12 AIGatewayUpdateResponseGuardrailsPromptS12Optional

</summary>

One of the following:

const AIGatewayUpdateResponseGuardrailsPromptS12Flag AIGatewayUpdateResponseGuardrailsPromptS12 = "FLAG"

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayUpdateResponse%20%3E%20(schema)%20%3E%20(property)%20guardrails%20%3E%20(property)%20prompt%20%3E%20(property)%20S12%20%3E%20(member)%200">Link to this property</a>

const AIGatewayUpdateResponseGuardrailsPromptS12Block AIGatewayUpdateResponseGuardrailsPromptS12 = "BLOCK"

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayUpdateResponse%20%3E%20(schema)%20%3E%20(property)%20guardrails%20%3E%20(property)%20prompt%20%3E%20(property)%20S12%20%3E%20(member)%201">Link to this property</a>

</details>

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayUpdateResponse%20%3E%20(schema)%20%3E%20(property)%20guardrails%20%3E%20(property)%20prompt%20%3E%20(property)%20S12">Link to this property</a>

<details>

<summary>

S13 AIGatewayUpdateResponseGuardrailsPromptS13Optional

</summary>

One of the following:

const AIGatewayUpdateResponseGuardrailsPromptS13Flag AIGatewayUpdateResponseGuardrailsPromptS13 = "FLAG"

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayUpdateResponse%20%3E%20(schema)%20%3E%20(property)%20guardrails%20%3E%20(property)%20prompt%20%3E%20(property)%20S13%20%3E%20(member)%200">Link to this property</a>

const AIGatewayUpdateResponseGuardrailsPromptS13Block AIGatewayUpdateResponseGuardrailsPromptS13 = "BLOCK"

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayUpdateResponse%20%3E%20(schema)%20%3E%20(property)%20guardrails%20%3E%20(property)%20prompt%20%3E%20(property)%20S13%20%3E%20(member)%201">Link to this property</a>

</details>

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayUpdateResponse%20%3E%20(schema)%20%3E%20(property)%20guardrails%20%3E%20(property)%20prompt%20%3E%20(property)%20S13">Link to this property</a>

<details>

<summary>

S2 AIGatewayUpdateResponseGuardrailsPromptS2Optional

</summary>

One of the following:

const AIGatewayUpdateResponseGuardrailsPromptS2Flag AIGatewayUpdateResponseGuardrailsPromptS2 = "FLAG"

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayUpdateResponse%20%3E%20(schema)%20%3E%20(property)%20guardrails%20%3E%20(property)%20prompt%20%3E%20(property)%20S2%20%3E%20(member)%200">Link to this property</a>

const AIGatewayUpdateResponseGuardrailsPromptS2Block AIGatewayUpdateResponseGuardrailsPromptS2 = "BLOCK"

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayUpdateResponse%20%3E%20(schema)%20%3E%20(property)%20guardrails%20%3E%20(property)%20prompt%20%3E%20(property)%20S2%20%3E%20(member)%201">Link to this property</a>

</details>

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayUpdateResponse%20%3E%20(schema)%20%3E%20(property)%20guardrails%20%3E%20(property)%20prompt%20%3E%20(property)%20S2">Link to this property</a>

<details>

<summary>

S3 AIGatewayUpdateResponseGuardrailsPromptS3Optional

</summary>

One of the following:

const AIGatewayUpdateResponseGuardrailsPromptS3Flag AIGatewayUpdateResponseGuardrailsPromptS3 = "FLAG"

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayUpdateResponse%20%3E%20(schema)%20%3E%20(property)%20guardrails%20%3E%20(property)%20prompt%20%3E%20(property)%20S3%20%3E%20(member)%200">Link to this property</a>

const AIGatewayUpdateResponseGuardrailsPromptS3Block AIGatewayUpdateResponseGuardrailsPromptS3 = "BLOCK"

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayUpdateResponse%20%3E%20(schema)%20%3E%20(property)%20guardrails%20%3E%20(property)%20prompt%20%3E%20(property)%20S3%20%3E%20(member)%201">Link to this property</a>

</details>

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayUpdateResponse%20%3E%20(schema)%20%3E%20(property)%20guardrails%20%3E%20(property)%20prompt%20%3E%20(property)%20S3">Link to this property</a>

<details>

<summary>

S4 AIGatewayUpdateResponseGuardrailsPromptS4Optional

</summary>

One of the following:

const AIGatewayUpdateResponseGuardrailsPromptS4Flag AIGatewayUpdateResponseGuardrailsPromptS4 = "FLAG"

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayUpdateResponse%20%3E%20(schema)%20%3E%20(property)%20guardrails%20%3E%20(property)%20prompt%20%3E%20(property)%20S4%20%3E%20(member)%200">Link to this property</a>

const AIGatewayUpdateResponseGuardrailsPromptS4Block AIGatewayUpdateResponseGuardrailsPromptS4 = "BLOCK"

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayUpdateResponse%20%3E%20(schema)%20%3E%20(property)%20guardrails%20%3E%20(property)%20prompt%20%3E%20(property)%20S4%20%3E%20(member)%201">Link to this property</a>

</details>

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayUpdateResponse%20%3E%20(schema)%20%3E%20(property)%20guardrails%20%3E%20(property)%20prompt%20%3E%20(property)%20S4">Link to this property</a>

<details>

<summary>

S5 AIGatewayUpdateResponseGuardrailsPromptS5Optional

</summary>

One of the following:

const AIGatewayUpdateResponseGuardrailsPromptS5Flag AIGatewayUpdateResponseGuardrailsPromptS5 = "FLAG"

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayUpdateResponse%20%3E%20(schema)%20%3E%20(property)%20guardrails%20%3E%20(property)%20prompt%20%3E%20(property)%20S5%20%3E%20(member)%200">Link to this property</a>

const AIGatewayUpdateResponseGuardrailsPromptS5Block AIGatewayUpdateResponseGuardrailsPromptS5 = "BLOCK"

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayUpdateResponse%20%3E%20(schema)%20%3E%20(property)%20guardrails%20%3E%20(property)%20prompt%20%3E%20(property)%20S5%20%3E%20(member)%201">Link to this property</a>

</details>

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayUpdateResponse%20%3E%20(schema)%20%3E%20(property)%20guardrails%20%3E%20(property)%20prompt%20%3E%20(property)%20S5">Link to this property</a>

<details>

<summary>

S6 AIGatewayUpdateResponseGuardrailsPromptS6Optional

</summary>

One of the following:

const AIGatewayUpdateResponseGuardrailsPromptS6Flag AIGatewayUpdateResponseGuardrailsPromptS6 = "FLAG"

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayUpdateResponse%20%3E%20(schema)%20%3E%20(property)%20guardrails%20%3E%20(property)%20prompt%20%3E%20(property)%20S6%20%3E%20(member)%200">Link to this property</a>

const AIGatewayUpdateResponseGuardrailsPromptS6Block AIGatewayUpdateResponseGuardrailsPromptS6 = "BLOCK"

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayUpdateResponse%20%3E%20(schema)%20%3E%20(property)%20guardrails%20%3E%20(property)%20prompt%20%3E%20(property)%20S6%20%3E%20(member)%201">Link to this property</a>

</details>

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayUpdateResponse%20%3E%20(schema)%20%3E%20(property)%20guardrails%20%3E%20(property)%20prompt%20%3E%20(property)%20S6">Link to this property</a>

<details>

<summary>

S7 AIGatewayUpdateResponseGuardrailsPromptS7Optional

</summary>

One of the following:

const AIGatewayUpdateResponseGuardrailsPromptS7Flag AIGatewayUpdateResponseGuardrailsPromptS7 = "FLAG"

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayUpdateResponse%20%3E%20(schema)%20%3E%20(property)%20guardrails%20%3E%20(property)%20prompt%20%3E%20(property)%20S7%20%3E%20(member)%200">Link to this property</a>

const AIGatewayUpdateResponseGuardrailsPromptS7Block AIGatewayUpdateResponseGuardrailsPromptS7 = "BLOCK"

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayUpdateResponse%20%3E%20(schema)%20%3E%20(property)%20guardrails%20%3E%20(property)%20prompt%20%3E%20(property)%20S7%20%3E%20(member)%201">Link to this property</a>

</details>

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayUpdateResponse%20%3E%20(schema)%20%3E%20(property)%20guardrails%20%3E%20(property)%20prompt%20%3E%20(property)%20S7">Link to this property</a>

<details>

<summary>

S8 AIGatewayUpdateResponseGuardrailsPromptS8Optional

</summary>

One of the following:

const AIGatewayUpdateResponseGuardrailsPromptS8Flag AIGatewayUpdateResponseGuardrailsPromptS8 = "FLAG"

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayUpdateResponse%20%3E%20(schema)%20%3E%20(property)%20guardrails%20%3E%20(property)%20prompt%20%3E%20(property)%20S8%20%3E%20(member)%200">Link to this property</a>

const AIGatewayUpdateResponseGuardrailsPromptS8Block AIGatewayUpdateResponseGuardrailsPromptS8 = "BLOCK"

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayUpdateResponse%20%3E%20(schema)%20%3E%20(property)%20guardrails%20%3E%20(property)%20prompt%20%3E%20(property)%20S8%20%3E%20(member)%201">Link to this property</a>

</details>

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayUpdateResponse%20%3E%20(schema)%20%3E%20(property)%20guardrails%20%3E%20(property)%20prompt%20%3E%20(property)%20S8">Link to this property</a>

<details>

<summary>

S9 AIGatewayUpdateResponseGuardrailsPromptS9Optional

</summary>

One of the following:

const AIGatewayUpdateResponseGuardrailsPromptS9Flag AIGatewayUpdateResponseGuardrailsPromptS9 = "FLAG"

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayUpdateResponse%20%3E%20(schema)%20%3E%20(property)%20guardrails%20%3E%20(property)%20prompt%20%3E%20(property)%20S9%20%3E%20(member)%200">Link to this property</a>

const AIGatewayUpdateResponseGuardrailsPromptS9Block AIGatewayUpdateResponseGuardrailsPromptS9 = "BLOCK"

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayUpdateResponse%20%3E%20(schema)%20%3E%20(property)%20guardrails%20%3E%20(property)%20prompt%20%3E%20(property)%20S9%20%3E%20(member)%201">Link to this property</a>

</details>

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayUpdateResponse%20%3E%20(schema)%20%3E%20(property)%20guardrails%20%3E%20(property)%20prompt%20%3E%20(property)%20S9">Link to this property</a>

</details>

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayUpdateResponse%20%3E%20(schema)%20%3E%20(property)%20guardrails%20%3E%20(property)%20prompt">Link to this property</a>

<details>

<summary>

Response AIGatewayUpdateResponseGuardrailsResponse

</summary>

<details>

<summary>

P1 AIGatewayUpdateResponseGuardrailsResponseP1Optional

</summary>

One of the following:

const AIGatewayUpdateResponseGuardrailsResponseP1Flag AIGatewayUpdateResponseGuardrailsResponseP1 = "FLAG"

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayUpdateResponse%20%3E%20(schema)%20%3E%20(property)%20guardrails%20%3E%20(property)%20response%20%3E%20(property)%20P1%20%3E%20(member)%200">Link to this property</a>

const AIGatewayUpdateResponseGuardrailsResponseP1Block AIGatewayUpdateResponseGuardrailsResponseP1 = "BLOCK"

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayUpdateResponse%20%3E%20(schema)%20%3E%20(property)%20guardrails%20%3E%20(property)%20response%20%3E%20(property)%20P1%20%3E%20(member)%201">Link to this property</a>

</details>

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayUpdateResponse%20%3E%20(schema)%20%3E%20(property)%20guardrails%20%3E%20(property)%20response%20%3E%20(property)%20P1">Link to this property</a>

<details>

<summary>

S1 AIGatewayUpdateResponseGuardrailsResponseS1Optional

</summary>

One of the following:

const AIGatewayUpdateResponseGuardrailsResponseS1Flag AIGatewayUpdateResponseGuardrailsResponseS1 = "FLAG"

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayUpdateResponse%20%3E%20(schema)%20%3E%20(property)%20guardrails%20%3E%20(property)%20response%20%3E%20(property)%20S1%20%3E%20(member)%200">Link to this property</a>

const AIGatewayUpdateResponseGuardrailsResponseS1Block AIGatewayUpdateResponseGuardrailsResponseS1 = "BLOCK"

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayUpdateResponse%20%3E%20(schema)%20%3E%20(property)%20guardrails%20%3E%20(property)%20response%20%3E%20(property)%20S1%20%3E%20(member)%201">Link to this property</a>

</details>

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayUpdateResponse%20%3E%20(schema)%20%3E%20(property)%20guardrails%20%3E%20(property)%20response%20%3E%20(property)%20S1">Link to this property</a>

<details>

<summary>

S10 AIGatewayUpdateResponseGuardrailsResponseS10Optional

</summary>

One of the following:

const AIGatewayUpdateResponseGuardrailsResponseS10Flag AIGatewayUpdateResponseGuardrailsResponseS10 = "FLAG"

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayUpdateResponse%20%3E%20(schema)%20%3E%20(property)%20guardrails%20%3E%20(property)%20response%20%3E%20(property)%20S10%20%3E%20(member)%200">Link to this property</a>

const AIGatewayUpdateResponseGuardrailsResponseS10Block AIGatewayUpdateResponseGuardrailsResponseS10 = "BLOCK"

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayUpdateResponse%20%3E%20(schema)%20%3E%20(property)%20guardrails%20%3E%20(property)%20response%20%3E%20(property)%20S10%20%3E%20(member)%201">Link to this property</a>

</details>

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayUpdateResponse%20%3E%20(schema)%20%3E%20(property)%20guardrails%20%3E%20(property)%20response%20%3E%20(property)%20S10">Link to this property</a>

<details>

<summary>

S11 AIGatewayUpdateResponseGuardrailsResponseS11Optional

</summary>

One of the following:

const AIGatewayUpdateResponseGuardrailsResponseS11Flag AIGatewayUpdateResponseGuardrailsResponseS11 = "FLAG"

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayUpdateResponse%20%3E%20(schema)%20%3E%20(property)%20guardrails%20%3E%20(property)%20response%20%3E%20(property)%20S11%20%3E%20(member)%200">Link to this property</a>

const AIGatewayUpdateResponseGuardrailsResponseS11Block AIGatewayUpdateResponseGuardrailsResponseS11 = "BLOCK"

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayUpdateResponse%20%3E%20(schema)%20%3E%20(property)%20guardrails%20%3E%20(property)%20response%20%3E%20(property)%20S11%20%3E%20(member)%201">Link to this property</a>

</details>

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayUpdateResponse%20%3E%20(schema)%20%3E%20(property)%20guardrails%20%3E%20(property)%20response%20%3E%20(property)%20S11">Link to this property</a>

<details>

<summary>

S12 AIGatewayUpdateResponseGuardrailsResponseS12Optional

</summary>

One of the following:

const AIGatewayUpdateResponseGuardrailsResponseS12Flag AIGatewayUpdateResponseGuardrailsResponseS12 = "FLAG"

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayUpdateResponse%20%3E%20(schema)%20%3E%20(property)%20guardrails%20%3E%20(property)%20response%20%3E%20(property)%20S12%20%3E%20(member)%200">Link to this property</a>

const AIGatewayUpdateResponseGuardrailsResponseS12Block AIGatewayUpdateResponseGuardrailsResponseS12 = "BLOCK"

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayUpdateResponse%20%3E%20(schema)%20%3E%20(property)%20guardrails%20%3E%20(property)%20response%20%3E%20(property)%20S12%20%3E%20(member)%201">Link to this property</a>

</details>

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayUpdateResponse%20%3E%20(schema)%20%3E%20(property)%20guardrails%20%3E%20(property)%20response%20%3E%20(property)%20S12">Link to this property</a>

<details>

<summary>

S13 AIGatewayUpdateResponseGuardrailsResponseS13Optional

</summary>

One of the following:

const AIGatewayUpdateResponseGuardrailsResponseS13Flag AIGatewayUpdateResponseGuardrailsResponseS13 = "FLAG"

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayUpdateResponse%20%3E%20(schema)%20%3E%20(property)%20guardrails%20%3E%20(property)%20response%20%3E%20(property)%20S13%20%3E%20(member)%200">Link to this property</a>

const AIGatewayUpdateResponseGuardrailsResponseS13Block AIGatewayUpdateResponseGuardrailsResponseS13 = "BLOCK"

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayUpdateResponse%20%3E%20(schema)%20%3E%20(property)%20guardrails%20%3E%20(property)%20response%20%3E%20(property)%20S13%20%3E%20(member)%201">Link to this property</a>

</details>

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayUpdateResponse%20%3E%20(schema)%20%3E%20(property)%20guardrails%20%3E%20(property)%20response%20%3E%20(property)%20S13">Link to this property</a>

<details>

<summary>

S2 AIGatewayUpdateResponseGuardrailsResponseS2Optional

</summary>

One of the following:

const AIGatewayUpdateResponseGuardrailsResponseS2Flag AIGatewayUpdateResponseGuardrailsResponseS2 = "FLAG"

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayUpdateResponse%20%3E%20(schema)%20%3E%20(property)%20guardrails%20%3E%20(property)%20response%20%3E%20(property)%20S2%20%3E%20(member)%200">Link to this property</a>

const AIGatewayUpdateResponseGuardrailsResponseS2Block AIGatewayUpdateResponseGuardrailsResponseS2 = "BLOCK"

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayUpdateResponse%20%3E%20(schema)%20%3E%20(property)%20guardrails%20%3E%20(property)%20response%20%3E%20(property)%20S2%20%3E%20(member)%201">Link to this property</a>

</details>

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayUpdateResponse%20%3E%20(schema)%20%3E%20(property)%20guardrails%20%3E%20(property)%20response%20%3E%20(property)%20S2">Link to this property</a>

<details>

<summary>

S3 AIGatewayUpdateResponseGuardrailsResponseS3Optional

</summary>

One of the following:

const AIGatewayUpdateResponseGuardrailsResponseS3Flag AIGatewayUpdateResponseGuardrailsResponseS3 = "FLAG"

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayUpdateResponse%20%3E%20(schema)%20%3E%20(property)%20guardrails%20%3E%20(property)%20response%20%3E%20(property)%20S3%20%3E%20(member)%200">Link to this property</a>

const AIGatewayUpdateResponseGuardrailsResponseS3Block AIGatewayUpdateResponseGuardrailsResponseS3 = "BLOCK"

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayUpdateResponse%20%3E%20(schema)%20%3E%20(property)%20guardrails%20%3E%20(property)%20response%20%3E%20(property)%20S3%20%3E%20(member)%201">Link to this property</a>

</details>

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayUpdateResponse%20%3E%20(schema)%20%3E%20(property)%20guardrails%20%3E%20(property)%20response%20%3E%20(property)%20S3">Link to this property</a>

<details>

<summary>

S4 AIGatewayUpdateResponseGuardrailsResponseS4Optional

</summary>

One of the following:

const AIGatewayUpdateResponseGuardrailsResponseS4Flag AIGatewayUpdateResponseGuardrailsResponseS4 = "FLAG"

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayUpdateResponse%20%3E%20(schema)%20%3E%20(property)%20guardrails%20%3E%20(property)%20response%20%3E%20(property)%20S4%20%3E%20(member)%200">Link to this property</a>

const AIGatewayUpdateResponseGuardrailsResponseS4Block AIGatewayUpdateResponseGuardrailsResponseS4 = "BLOCK"

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayUpdateResponse%20%3E%20(schema)%20%3E%20(property)%20guardrails%20%3E%20(property)%20response%20%3E%20(property)%20S4%20%3E%20(member)%201">Link to this property</a>

</details>

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayUpdateResponse%20%3E%20(schema)%20%3E%20(property)%20guardrails%20%3E%20(property)%20response%20%3E%20(property)%20S4">Link to this property</a>

<details>

<summary>

S5 AIGatewayUpdateResponseGuardrailsResponseS5Optional

</summary>

One of the following:

const AIGatewayUpdateResponseGuardrailsResponseS5Flag AIGatewayUpdateResponseGuardrailsResponseS5 = "FLAG"

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayUpdateResponse%20%3E%20(schema)%20%3E%20(property)%20guardrails%20%3E%20(property)%20response%20%3E%20(property)%20S5%20%3E%20(member)%200">Link to this property</a>

const AIGatewayUpdateResponseGuardrailsResponseS5Block AIGatewayUpdateResponseGuardrailsResponseS5 = "BLOCK"

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayUpdateResponse%20%3E%20(schema)%20%3E%20(property)%20guardrails%20%3E%20(property)%20response%20%3E%20(property)%20S5%20%3E%20(member)%201">Link to this property</a>

</details>

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayUpdateResponse%20%3E%20(schema)%20%3E%20(property)%20guardrails%20%3E%20(property)%20response%20%3E%20(property)%20S5">Link to this property</a>

<details>

<summary>

S6 AIGatewayUpdateResponseGuardrailsResponseS6Optional

</summary>

One of the following:

const AIGatewayUpdateResponseGuardrailsResponseS6Flag AIGatewayUpdateResponseGuardrailsResponseS6 = "FLAG"

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayUpdateResponse%20%3E%20(schema)%20%3E%20(property)%20guardrails%20%3E%20(property)%20response%20%3E%20(property)%20S6%20%3E%20(member)%200">Link to this property</a>

const AIGatewayUpdateResponseGuardrailsResponseS6Block AIGatewayUpdateResponseGuardrailsResponseS6 = "BLOCK"

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayUpdateResponse%20%3E%20(schema)%20%3E%20(property)%20guardrails%20%3E%20(property)%20response%20%3E%20(property)%20S6%20%3E%20(member)%201">Link to this property</a>

</details>

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayUpdateResponse%20%3E%20(schema)%20%3E%20(property)%20guardrails%20%3E%20(property)%20response%20%3E%20(property)%20S6">Link to this property</a>

<details>

<summary>

S7 AIGatewayUpdateResponseGuardrailsResponseS7Optional

</summary>

One of the following:

const AIGatewayUpdateResponseGuardrailsResponseS7Flag AIGatewayUpdateResponseGuardrailsResponseS7 = "FLAG"

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayUpdateResponse%20%3E%20(schema)%20%3E%20(property)%20guardrails%20%3E%20(property)%20response%20%3E%20(property)%20S7%20%3E%20(member)%200">Link to this property</a>

const AIGatewayUpdateResponseGuardrailsResponseS7Block AIGatewayUpdateResponseGuardrailsResponseS7 = "BLOCK"

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayUpdateResponse%20%3E%20(schema)%20%3E%20(property)%20guardrails%20%3E%20(property)%20response%20%3E%20(property)%20S7%20%3E%20(member)%201">Link to this property</a>

</details>

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayUpdateResponse%20%3E%20(schema)%20%3E%20(property)%20guardrails%20%3E%20(property)%20response%20%3E%20(property)%20S7">Link to this property</a>

<details>

<summary>

S8 AIGatewayUpdateResponseGuardrailsResponseS8Optional

</summary>

One of the following:

const AIGatewayUpdateResponseGuardrailsResponseS8Flag AIGatewayUpdateResponseGuardrailsResponseS8 = "FLAG"

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayUpdateResponse%20%3E%20(schema)%20%3E%20(property)%20guardrails%20%3E%20(property)%20response%20%3E%20(property)%20S8%20%3E%20(member)%200">Link to this property</a>

const AIGatewayUpdateResponseGuardrailsResponseS8Block AIGatewayUpdateResponseGuardrailsResponseS8 = "BLOCK"

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayUpdateResponse%20%3E%20(schema)%20%3E%20(property)%20guardrails%20%3E%20(property)%20response%20%3E%20(property)%20S8%20%3E%20(member)%201">Link to this property</a>

</details>

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayUpdateResponse%20%3E%20(schema)%20%3E%20(property)%20guardrails%20%3E%20(property)%20response%20%3E%20(property)%20S8">Link to this property</a>

<details>

<summary>

S9 AIGatewayUpdateResponseGuardrailsResponseS9Optional

</summary>

One of the following:

const AIGatewayUpdateResponseGuardrailsResponseS9Flag AIGatewayUpdateResponseGuardrailsResponseS9 = "FLAG"

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayUpdateResponse%20%3E%20(schema)%20%3E%20(property)%20guardrails%20%3E%20(property)%20response%20%3E%20(property)%20S9%20%3E%20(member)%200">Link to this property</a>

const AIGatewayUpdateResponseGuardrailsResponseS9Block AIGatewayUpdateResponseGuardrailsResponseS9 = "BLOCK"

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayUpdateResponse%20%3E%20(schema)%20%3E%20(property)%20guardrails%20%3E%20(property)%20response%20%3E%20(property)%20S9%20%3E%20(member)%201">Link to this property</a>

</details>

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayUpdateResponse%20%3E%20(schema)%20%3E%20(property)%20guardrails%20%3E%20(property)%20response%20%3E%20(property)%20S9">Link to this property</a>

</details>

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayUpdateResponse%20%3E%20(schema)%20%3E%20(property)%20guardrails%20%3E%20(property)%20response">Link to this property</a>

</details>

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayUpdateResponse%20%3E%20(schema)%20%3E%20(property)%20guardrails">Link to this property</a>

IsDefault boolOptional

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayUpdateResponse%20%3E%20(schema)%20%3E%20(property)%20is_default">Link to this property</a>

LogClassification boolOptional

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayUpdateResponse%20%3E%20(schema)%20%3E%20(property)%20log_classification">Link to this property</a>

LogManagement int64Optional

maximum10000000

minimum10000

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayUpdateResponse%20%3E%20(schema)%20%3E%20(property)%20log_management">Link to this property</a>

<details>

<summary>

LogManagementStrategy AIGatewayUpdateResponseLogManagementStrategyOptional

</summary>

One of the following:

const AIGatewayUpdateResponseLogManagementStrategyStopInserting AIGatewayUpdateResponseLogManagementStrategy = "STOP\_INSERTING"

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayUpdateResponse%20%3E%20(schema)%20%3E%20(property)%20log_management_strategy%20%3E%20(member)%200">Link to this property</a>

const AIGatewayUpdateResponseLogManagementStrategyDeleteOldest AIGatewayUpdateResponseLogManagementStrategy = "DELETE\_OLDEST"

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayUpdateResponse%20%3E%20(schema)%20%3E%20(property)%20log_management_strategy%20%3E%20(member)%201">Link to this property</a>

</details>

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayUpdateResponse%20%3E%20(schema)%20%3E%20(property)%20log_management_strategy">Link to this property</a>

Logpush boolOptional

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayUpdateResponse%20%3E%20(schema)%20%3E%20(property)%20logpush">Link to this property</a>

LogpushPublicKey stringOptional

maxLength1024

minLength16

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayUpdateResponse%20%3E%20(schema)%20%3E%20(property)%20logpush_public_key">Link to this property</a>

<details>

<summary>

Otel \[]AIGatewayUpdateResponseOtelOptional

</summary>

Headers map\[string, string]

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayUpdateResponse%20%3E%20(schema)%20%3E%20(property)%20otel%20%3E%20(items)%20%3E%20(property)%20headers">Link to this property</a>

URL string

formaturi

maxLength2048

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayUpdateResponse%20%3E%20(schema)%20%3E%20(property)%20otel%20%3E%20(items)%20%3E%20(property)%20url">Link to this property</a>

Authorization stringOptional

maxLength256

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayUpdateResponse%20%3E%20(schema)%20%3E%20(property)%20otel%20%3E%20(items)%20%3E%20(property)%20authorization">Link to this property</a>

<details>

<summary>

ContentType AIGatewayUpdateResponseOtelContentTypeOptional

</summary>

One of the following:

const AIGatewayUpdateResponseOtelContentTypeJson AIGatewayUpdateResponseOtelContentType = "json"

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayUpdateResponse%20%3E%20(schema)%20%3E%20(property)%20otel%20%3E%20(items)%20%3E%20(property)%20content_type%20%3E%20(member)%200">Link to this property</a>

const AIGatewayUpdateResponseOtelContentTypeProtobuf AIGatewayUpdateResponseOtelContentType = "protobuf"

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayUpdateResponse%20%3E%20(schema)%20%3E%20(property)%20otel%20%3E%20(items)%20%3E%20(property)%20content_type%20%3E%20(member)%201">Link to this property</a>

</details>

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayUpdateResponse%20%3E%20(schema)%20%3E%20(property)%20otel%20%3E%20(items)%20%3E%20(property)%20content_type">Link to this property</a>

</details>

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayUpdateResponse%20%3E%20(schema)%20%3E%20(property)%20otel">Link to this property</a>

<details>

<summary>

RateLimitingTechnique AIGatewayUpdateResponseRateLimitingTechniqueOptional

</summary>

One of the following:

const AIGatewayUpdateResponseRateLimitingTechniqueFixed AIGatewayUpdateResponseRateLimitingTechnique = "fixed"

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayUpdateResponse%20%3E%20(schema)%20%3E%20(property)%20rate_limiting_technique%20%3E%20(member)%200">Link to this property</a>

const AIGatewayUpdateResponseRateLimitingTechniqueSliding AIGatewayUpdateResponseRateLimitingTechnique = "sliding"

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayUpdateResponse%20%3E%20(schema)%20%3E%20(property)%20rate_limiting_technique%20%3E%20(member)%201">Link to this property</a>

</details>

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayUpdateResponse%20%3E%20(schema)%20%3E%20(property)%20rate_limiting_technique">Link to this property</a>

<details>

<summary>

RetryBackoff AIGatewayUpdateResponseRetryBackoffOptional

Backoff strategy for retry delays

</summary>

One of the following:

const AIGatewayUpdateResponseRetryBackoffConstant AIGatewayUpdateResponseRetryBackoff = "constant"

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayUpdateResponse%20%3E%20(schema)%20%3E%20(property)%20retry_backoff%20%3E%20(member)%200">Link to this property</a>

const AIGatewayUpdateResponseRetryBackoffLinear AIGatewayUpdateResponseRetryBackoff = "linear"

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayUpdateResponse%20%3E%20(schema)%20%3E%20(property)%20retry_backoff%20%3E%20(member)%201">Link to this property</a>

const AIGatewayUpdateResponseRetryBackoffExponential AIGatewayUpdateResponseRetryBackoff = "exponential"

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayUpdateResponse%20%3E%20(schema)%20%3E%20(property)%20retry_backoff%20%3E%20(member)%202">Link to this property</a>

</details>

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayUpdateResponse%20%3E%20(schema)%20%3E%20(property)%20retry_backoff">Link to this property</a>

RetryDelay int64Optional

Delay between retry attempts in milliseconds (0-60000)

maximum60000

minimum0

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayUpdateResponse%20%3E%20(schema)%20%3E%20(property)%20retry_delay">Link to this property</a>

RetryMaxAttempts int64Optional

Maximum number of retry attempts for failed requests (1-5)

maximum5

minimum1

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayUpdateResponse%20%3E%20(schema)%20%3E%20(property)%20retry_max_attempts">Link to this property</a>

<details>

<summary>

SpendLimits AIGatewayUpdateResponseSpendLimitsOptional

</summary>

Enabled boolOptional

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayUpdateResponse%20%3E%20(schema)%20%3E%20(property)%20spend_limits%20%3E%20(property)%20enabled">Link to this property</a>

<details>

<summary>

Rules \[]AIGatewayUpdateResponseSpendLimitsRuleOptional

</summary>

Limit float64

exclusiveMinimum

minimum0

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayUpdateResponse%20%3E%20(schema)%20%3E%20(property)%20spend_limits%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(property)%20limit">Link to this property</a>

LimitType AIGatewayUpdateResponseSpendLimitsRulesLimitType

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayUpdateResponse%20%3E%20(schema)%20%3E%20(property)%20spend_limits%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(property)%20limitType">Link to this property</a>

Window int64

exclusiveMinimum

minimum0

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayUpdateResponse%20%3E%20(schema)%20%3E%20(property)%20spend_limits%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(property)%20window">Link to this property</a>

ID stringOptional

minLength1

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayUpdateResponse%20%3E%20(schema)%20%3E%20(property)%20spend_limits%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(property)%20id">Link to this property</a>

Enabled boolOptional

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayUpdateResponse%20%3E%20(schema)%20%3E%20(property)%20spend_limits%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(property)%20enabled">Link to this property</a>

<details>

<summary>

Metadata map\[string, AIGatewayUpdateResponseSpendLimitsRulesMetadata]Optional

</summary>

One of the following:

<details>

<summary>

type AIGatewayUpdateResponseSpendLimitsRulesMetadataMode struct{…}

</summary>

Mode AIGatewayUpdateResponseSpendLimitsRulesMetadataModeMode

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayUpdateResponse%20%3E%20(schema)%20%3E%20(property)%20spend_limits%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(property)%20metadata%20%3E%20(items)%20%3E%20(variant)%200%20%3E%20(property)%20mode">Link to this property</a>

</details>

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayUpdateResponse%20%3E%20(schema)%20%3E%20(property)%20spend_limits%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(property)%20metadata%20%3E%20(items)%20%3E%20(variant)%200">Link to this property</a>

<details>

<summary>

type AIGatewayUpdateResponseSpendLimitsRulesMetadataObject struct{…}

</summary>

Mode AIGatewayUpdateResponseSpendLimitsRulesMetadataObjectMode

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayUpdateResponse%20%3E%20(schema)%20%3E%20(property)%20spend_limits%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(property)%20metadata%20%3E%20(items)%20%3E%20(variant)%201%20%3E%20(property)%20mode">Link to this property</a>

Values \[]string

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayUpdateResponse%20%3E%20(schema)%20%3E%20(property)%20spend_limits%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(property)%20metadata%20%3E%20(items)%20%3E%20(variant)%201%20%3E%20(property)%20values">Link to this property</a>

</details>

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayUpdateResponse%20%3E%20(schema)%20%3E%20(property)%20spend_limits%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(property)%20metadata%20%3E%20(items)%20%3E%20(variant)%201">Link to this property</a>

</details>

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayUpdateResponse%20%3E%20(schema)%20%3E%20(property)%20spend_limits%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(property)%20metadata">Link to this property</a>

<details>

<summary>

Model AIGatewayUpdateResponseSpendLimitsRulesModelOptional

</summary>

Mode AIGatewayUpdateResponseSpendLimitsRulesModelMode

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayUpdateResponse%20%3E%20(schema)%20%3E%20(property)%20spend_limits%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(property)%20model%20%3E%20(property)%20mode">Link to this property</a>

Values \[]string

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayUpdateResponse%20%3E%20(schema)%20%3E%20(property)%20spend_limits%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(property)%20model%20%3E%20(property)%20values">Link to this property</a>

</details>

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayUpdateResponse%20%3E%20(schema)%20%3E%20(property)%20spend_limits%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(property)%20model">Link to this property</a>

<details>

<summary>

Provider AIGatewayUpdateResponseSpendLimitsRulesProviderOptional

</summary>

Mode AIGatewayUpdateResponseSpendLimitsRulesProviderMode

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayUpdateResponse%20%3E%20(schema)%20%3E%20(property)%20spend_limits%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(property)%20provider%20%3E%20(property)%20mode">Link to this property</a>

Values \[]string

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayUpdateResponse%20%3E%20(schema)%20%3E%20(property)%20spend_limits%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(property)%20provider%20%3E%20(property)%20values">Link to this property</a>

</details>

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayUpdateResponse%20%3E%20(schema)%20%3E%20(property)%20spend_limits%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(property)%20provider">Link to this property</a>

<details>

<summary>

Technique AIGatewayUpdateResponseSpendLimitsRulesTechniqueOptional

</summary>

One of the following:

const AIGatewayUpdateResponseSpendLimitsRulesTechniqueFixed AIGatewayUpdateResponseSpendLimitsRulesTechnique = "fixed"

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayUpdateResponse%20%3E%20(schema)%20%3E%20(property)%20spend_limits%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(property)%20technique%20%3E%20(member)%200">Link to this property</a>

const AIGatewayUpdateResponseSpendLimitsRulesTechniqueSliding AIGatewayUpdateResponseSpendLimitsRulesTechnique = "sliding"

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayUpdateResponse%20%3E%20(schema)%20%3E%20(property)%20spend_limits%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(property)%20technique%20%3E%20(member)%201">Link to this property</a>

</details>

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayUpdateResponse%20%3E%20(schema)%20%3E%20(property)%20spend_limits%20%3E%20(property)%20rules%20%3E%20(items)%20%3E%20(property)%20technique">Link to this property</a>

</details>

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayUpdateResponse%20%3E%20(schema)%20%3E%20(property)%20spend_limits%20%3E%20(property)%20rules">Link to this property</a>

</details>

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayUpdateResponse%20%3E%20(schema)%20%3E%20(property)%20spend_limits">Link to this property</a>

StoreID stringOptional

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayUpdateResponse%20%3E%20(schema)%20%3E%20(property)%20store_id">Link to this property</a>

<details>

<summary>

Stripe AIGatewayUpdateResponseStripeOptional

</summary>

Authorization string

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayUpdateResponse%20%3E%20(schema)%20%3E%20(property)%20stripe%20%3E%20(property)%20authorization">Link to this property</a>

<details>

<summary>

UsageEvents \[]AIGatewayUpdateResponseStripeUsageEvent

</summary>

Payload string

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayUpdateResponse%20%3E%20(schema)%20%3E%20(property)%20stripe%20%3E%20(property)%20usage_events%20%3E%20(items)%20%3E%20(property)%20payload">Link to this property</a>

</details>

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayUpdateResponse%20%3E%20(schema)%20%3E%20(property)%20stripe%20%3E%20(property)%20usage_events">Link to this property</a>

</details>

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayUpdateResponse%20%3E%20(schema)%20%3E%20(property)%20stripe">Link to this property</a>

<details>

<summary>

WorkersAIBillingMode AIGatewayUpdateResponseWorkersAIBillingModeOptional

Controls how Workers AI inference calls routed through this gateway are billed. ‘postpaid’ bills the account directly through Workers AI; ‘unified’ deducts credits via AI Gateway using neuron-based pricing and delegates billing to AI Gateway.

</summary>

One of the following:

const AIGatewayUpdateResponseWorkersAIBillingModePostpaid AIGatewayUpdateResponseWorkersAIBillingMode = "postpaid"

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayUpdateResponse%20%3E%20(schema)%20%3E%20(property)%20workers_ai_billing_mode%20%3E%20(member)%200">Link to this property</a>

const AIGatewayUpdateResponseWorkersAIBillingModeUnified AIGatewayUpdateResponseWorkersAIBillingMode = "unified"

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayUpdateResponse%20%3E%20(schema)%20%3E%20(property)%20workers_ai_billing_mode%20%3E%20(member)%201">Link to this property</a>

</details>

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayUpdateResponse%20%3E%20(schema)%20%3E%20(property)%20workers_ai_billing_mode">Link to this property</a>

Zdr boolOptional

<a href="#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayUpdateResponse%20%3E%20(schema)%20%3E%20(property)%20zdr">Link to this property</a>

</details>

[Link to this property](<#(resource)%20ai_gateway%20%3E%20(model)%20AIGatewayUpdateResponse%20%3E%20(schema)>)

### Update a gateway

Go

HTTPTypeScriptPythonGoTerraform

```
package main

import (
  "context"
  "fmt"

  "github.com/cloudflare/cloudflare-go"
  "github.com/cloudflare/cloudflare-go/ai_gateway"
  "github.com/cloudflare/cloudflare-go/option"
)

func main() {
  client := cloudflare.NewClient(
    option.WithAPIToken("Sn3lZJTBX6kkg7OdcBUAxOO963GEIyGQqnFTOFYY"),
  )
  aiGateway, err := client.AIGateway.Update(
    context.TODO(),
    "my-gateway",
    ai_gateway.AIGatewayUpdateParams{
      AccountID: cloudflare.F("3ebbcb006d4d46d7bb6a8c7f14676cb0"),
      CacheInvalidateOnUpdate: cloudflare.F(true),
      CacheTTL: cloudflare.F(int64(0)),
      CollectLogs: cloudflare.F(true),
      RateLimitingInterval: cloudflare.F(int64(0)),
      RateLimitingLimit: cloudflare.F(int64(0)),
    },
  )
  if err != nil {
    panic(err.Error())
  }
  fmt.Printf("%+v\n", aiGateway.ID)
}
```

200 example

```
{
  "result": {
    "id": "my-gateway",
    "cache_invalidate_on_update": true,
    "cache_ttl": 0,
    "collect_logs": true,
    "created_at": "2019-12-27T18:11:19.117Z",
    "modified_at": "2019-12-27T18:11:19.117Z",
    "rate_limiting_interval": 0,
    "rate_limiting_limit": 0,
    "authentication": true,
    "byok_only": true,
    "dlp": {
      "action": "BLOCK",
      "enabled": true,
      "profiles": [
        "string"
      ]
    },
    "guardrails": {
      "prompt": {
        "P1": "FLAG",
        "S1": "FLAG",
        "S10": "FLAG",
        "S11": "FLAG",
        "S12": "FLAG",
        "S13": "FLAG",
        "S2": "FLAG",
        "S3": "FLAG",
        "S4": "FLAG",
        "S5": "FLAG",
        "S6": "FLAG",
        "S7": "FLAG",
        "S8": "FLAG",
        "S9": "FLAG"
      },
      "response": {
        "P1": "FLAG",
        "S1": "FLAG",
        "S10": "FLAG",
        "S11": "FLAG",
        "S12": "FLAG",
        "S13": "FLAG",
        "S2": "FLAG",
        "S3": "FLAG",
        "S4": "FLAG",
        "S5": "FLAG",
        "S6": "FLAG",
        "S7": "FLAG",
        "S8": "FLAG",
        "S9": "FLAG"
      }
    },
    "is_default": true,
    "log_classification": true,
    "log_management": 10000,
    "log_management_strategy": "STOP_INSERTING",
    "logpush": true,
    "logpush_public_key": "xxxxxxxxxxxxxxxx",
    "otel": [
      {
        "headers": {
          "foo": "string"
        },
        "url": "https://example.com",
        "authorization": "authorization",
        "content_type": "json"
      }
    ],
    "rate_limiting_technique": "fixed",
    "retry_backoff": "constant",
    "retry_delay": 0,
    "retry_max_attempts": 1,
    "spend_limits": {
      "enabled": true,
      "rules": [
        {
          "limit": 1,
          "limitType": "cost",
          "window": 1,
          "id": "x",
          "enabled": true,
          "metadata": {
            "foo": {
              "mode": "partition"
            }
          },
          "model": {
            "mode": "filter",
            "values": [
              "string"
            ]
          },
          "provider": {
            "mode": "filter",
            "values": [
              "string"
            ]
          },
          "technique": "fixed"
        }
      ]
    },
    "store_id": "store_id",
    "stripe": {
      "authorization": "authorization",
      "usage_events": [
        {
          "payload": "payload"
        }
      ]
    },
    "workers_ai_billing_mode": "postpaid",
    "zdr": true
  },
  "success": true
}
```

##### Returns Examples

200 example

```
{
  "result": {
    "id": "my-gateway",
    "cache_invalidate_on_update": true,
    "cache_ttl": 0,
    "collect_logs": true,
    "created_at": "2019-12-27T18:11:19.117Z",
    "modified_at": "2019-12-27T18:11:19.117Z",
    "rate_limiting_interval": 0,
    "rate_limiting_limit": 0,
    "authentication": true,
    "byok_only": true,
    "dlp": {
      "action": "BLOCK",
      "enabled": true,
      "profiles": [
        "string"
      ]
    },
    "guardrails": {
      "prompt": {
        "P1": "FLAG",
        "S1": "FLAG",
        "S10": "FLAG",
        "S11": "FLAG",
        "S12": "FLAG",
        "S13": "FLAG",
        "S2": "FLAG",
        "S3": "FLAG",
        "S4": "FLAG",
        "S5": "FLAG",
        "S6": "FLAG",
        "S7": "FLAG",
        "S8": "FLAG",
        "S9": "FLAG"
      },
      "response": {
        "P1": "FLAG",
        "S1": "FLAG",
        "S10": "FLAG",
        "S11": "FLAG",
        "S12": "FLAG",
        "S13": "FLAG",
        "S2": "FLAG",
        "S3": "FLAG",
        "S4": "FLAG",
        "S5": "FLAG",
        "S6": "FLAG",
        "S7": "FLAG",
        "S8": "FLAG",
        "S9": "FLAG"
      }
    },
    "is_default": true,
    "log_classification": true,
    "log_management": 10000,
    "log_management_strategy": "STOP_INSERTING",
    "logpush": true,
    "logpush_public_key": "xxxxxxxxxxxxxxxx",
    "otel": [
      {
        "headers": {
          "foo": "string"
        },
        "url": "https://example.com",
        "authorization": "authorization",
        "content_type": "json"
      }
    ],
    "rate_limiting_technique": "fixed",
    "retry_backoff": "constant",
    "retry_delay": 0,
    "retry_max_attempts": 1,
    "spend_limits": {
      "enabled": true,
      "rules": [
        {
          "limit": 1,
          "limitType": "cost",
          "window": 1,
          "id": "x",
          "enabled": true,
          "metadata": {
            "foo": {
              "mode": "partition"
            }
          },
          "model": {
            "mode": "filter",
            "values": [
              "string"
            ]
          },
          "provider": {
            "mode": "filter",
            "values": [
              "string"
            ]
          },
          "technique": "fixed"
        }
      ]
    },
    "store_id": "store_id",
    "stripe": {
      "authorization": "authorization",
      "usage_events": [
        {
          "payload": "payload"
        }
      ]
    },
    "workers_ai_billing_mode": "postpaid",
    "zdr": true
  },
  "success": true
}
```