# PageShield

Response Types:

- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/page_shield">page_shield</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/page_shield#Setting">Setting</a>
- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/page_shield">page_shield</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/page_shield#PageShieldUpdateResponse">PageShieldUpdateResponse</a>

Methods:

- <code title="put /zones/{zone_id}/page_shield">client.PageShield.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/page_shield#PageShieldService.Update">Update</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, params <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/page_shield">page_shield</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/page_shield#PageShieldUpdateParams">PageShieldUpdateParams</a>) (\*<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/page_shield">page_shield</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/page_shield#PageShieldUpdateResponse">PageShieldUpdateResponse</a>, <a href="https://pkg.go.dev/builtin#error">error</a>)</code>
- <code title="get /zones/{zone_id}/page_shield">client.PageShield.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/page_shield#PageShieldService.Get">Get</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, query <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/page_shield">page_shield</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/page_shield#PageShieldGetParams">PageShieldGetParams</a>) (\*<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/page_shield">page_shield</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/page_shield#Setting">Setting</a>, <a href="https://pkg.go.dev/builtin#error">error</a>)</code>

## Policies

Params Types:

- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/page_shield">page_shield</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/page_shield#PolicyParam">PolicyParam</a>

Response Types:

- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/page_shield">page_shield</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/page_shield#PolicyNewResponse">PolicyNewResponse</a>
- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/page_shield">page_shield</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/page_shield#PolicyUpdateResponse">PolicyUpdateResponse</a>
- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/page_shield">page_shield</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/page_shield#PolicyListResponse">PolicyListResponse</a>
- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/page_shield">page_shield</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/page_shield#PolicyGetResponse">PolicyGetResponse</a>

Methods:

- <code title="post /zones/{zone_id}/page_shield/policies">client.PageShield.Policies.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/page_shield#PolicyService.New">New</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, params <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/page_shield">page_shield</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/page_shield#PolicyNewParams">PolicyNewParams</a>) (\*<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/page_shield">page_shield</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/page_shield#PolicyNewResponse">PolicyNewResponse</a>, <a href="https://pkg.go.dev/builtin#error">error</a>)</code>
- <code title="put /zones/{zone_id}/page_shield/policies/{policy_id}">client.PageShield.Policies.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/page_shield#PolicyService.Update">Update</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, policyID <a href="https://pkg.go.dev/builtin#string">string</a>, params <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/page_shield">page_shield</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/page_shield#PolicyUpdateParams">PolicyUpdateParams</a>) (\*<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/page_shield">page_shield</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/page_shield#PolicyUpdateResponse">PolicyUpdateResponse</a>, <a href="https://pkg.go.dev/builtin#error">error</a>)</code>
- <code title="get /zones/{zone_id}/page_shield/policies">client.PageShield.Policies.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/page_shield#PolicyService.List">List</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, query <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/page_shield">page_shield</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/page_shield#PolicyListParams">PolicyListParams</a>) (\*<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/packages/pagination">pagination</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/packages/pagination#SinglePage">SinglePage</a>[<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/page_shield">page_shield</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/page_shield#PolicyListResponse">PolicyListResponse</a>], <a href="https://pkg.go.dev/builtin#error">error</a>)</code>
- <code title="delete /zones/{zone_id}/page_shield/policies/{policy_id}">client.PageShield.Policies.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/page_shield#PolicyService.Delete">Delete</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, policyID <a href="https://pkg.go.dev/builtin#string">string</a>, body <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/page_shield">page_shield</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/page_shield#PolicyDeleteParams">PolicyDeleteParams</a>) <a href="https://pkg.go.dev/builtin#error">error</a></code>
- <code title="get /zones/{zone_id}/page_shield/policies/{policy_id}">client.PageShield.Policies.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/page_shield#PolicyService.Get">Get</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, policyID <a href="https://pkg.go.dev/builtin#string">string</a>, query <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/page_shield">page_shield</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/page_shield#PolicyGetParams">PolicyGetParams</a>) (\*<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/page_shield">page_shield</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/page_shield#PolicyGetResponse">PolicyGetResponse</a>, <a href="https://pkg.go.dev/builtin#error">error</a>)</code>

## Connections

Response Types:

- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/page_shield">page_shield</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/page_shield#Connection">Connection</a>

Methods:

- <code title="get /zones/{zone_id}/page_shield/connections">client.PageShield.Connections.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/page_shield#ConnectionService.List">List</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, params <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/page_shield">page_shield</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/page_shield#ConnectionListParams">ConnectionListParams</a>) (\*<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/packages/pagination">pagination</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/packages/pagination#SinglePage">SinglePage</a>[<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/page_shield">page_shield</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/page_shield#Connection">Connection</a>], <a href="https://pkg.go.dev/builtin#error">error</a>)</code>
- <code title="get /zones/{zone_id}/page_shield/connections/{connection_id}">client.PageShield.Connections.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/page_shield#ConnectionService.Get">Get</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, connectionID <a href="https://pkg.go.dev/builtin#string">string</a>, query <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/page_shield">page_shield</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/page_shield#ConnectionGetParams">ConnectionGetParams</a>) (\*<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/page_shield">page_shield</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/page_shield#Connection">Connection</a>, <a href="https://pkg.go.dev/builtin#error">error</a>)</code>

## Scripts

Response Types:

- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/page_shield">page_shield</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/page_shield#Script">Script</a>
- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/page_shield">page_shield</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/page_shield#ScriptGetResponse">ScriptGetResponse</a>

Methods:

- <code title="get /zones/{zone_id}/page_shield/scripts">client.PageShield.Scripts.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/page_shield#ScriptService.List">List</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, params <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/page_shield">page_shield</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/page_shield#ScriptListParams">ScriptListParams</a>) (\*<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/packages/pagination">pagination</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/packages/pagination#SinglePage">SinglePage</a>[<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/page_shield">page_shield</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/page_shield#Script">Script</a>], <a href="https://pkg.go.dev/builtin#error">error</a>)</code>
- <code title="get /zones/{zone_id}/page_shield/scripts/{script_id}">client.PageShield.Scripts.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/page_shield#ScriptService.Get">Get</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, scriptID <a href="https://pkg.go.dev/builtin#string">string</a>, query <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/page_shield">page_shield</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/page_shield#ScriptGetParams">ScriptGetParams</a>) (\*<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/page_shield">page_shield</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/page_shield#ScriptGetResponse">ScriptGetResponse</a>, <a href="https://pkg.go.dev/builtin#error">error</a>)</code>

## Cookies

Response Types:

- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/page_shield">page_shield</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/page_shield#CookieListResponse">CookieListResponse</a>
- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/page_shield">page_shield</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/page_shield#CookieGetResponse">CookieGetResponse</a>

Methods:

- <code title="get /zones/{zone_id}/page_shield/cookies">client.PageShield.Cookies.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/page_shield#CookieService.List">List</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, params <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/page_shield">page_shield</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/page_shield#CookieListParams">CookieListParams</a>) (\*<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/packages/pagination">pagination</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/packages/pagination#SinglePage">SinglePage</a>[<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/page_shield">page_shield</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/page_shield#CookieListResponse">CookieListResponse</a>], <a href="https://pkg.go.dev/builtin#error">error</a>)</code>
- <code title="get /zones/{zone_id}/page_shield/cookies/{cookie_id}">client.PageShield.Cookies.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/page_shield#CookieService.Get">Get</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, cookieID <a href="https://pkg.go.dev/builtin#string">string</a>, query <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/page_shield">page_shield</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/page_shield#CookieGetParams">CookieGetParams</a>) (\*<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/page_shield">page_shield</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/page_shield#CookieGetResponse">CookieGetResponse</a>, <a href="https://pkg.go.dev/builtin#error">error</a>)</code>
