# RUM

## SiteInfo

Response Types:

- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/rum">rum</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/rum#Site">Site</a>
- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/rum">rum</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/rum#SiteInfoDeleteResponse">SiteInfoDeleteResponse</a>

Methods:

- <code title="post /accounts/{account_id}/rum/site_info">client.RUM.SiteInfo.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/rum#SiteInfoService.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/rum">rum</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/rum#SiteInfoNewParams">SiteInfoNewParams</a>) (\*<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/rum">rum</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/rum#Site">Site</a>, <a href="https://pkg.go.dev/builtin#error">error</a>)</code>
- <code title="put /accounts/{account_id}/rum/site_info/{site_id}">client.RUM.SiteInfo.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/rum#SiteInfoService.Update">Update</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, siteID <a href="https://pkg.go.dev/builtin#string">string</a>, params <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/rum">rum</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/rum#SiteInfoUpdateParams">SiteInfoUpdateParams</a>) (\*<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/rum">rum</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/rum#Site">Site</a>, <a href="https://pkg.go.dev/builtin#error">error</a>)</code>
- <code title="get /accounts/{account_id}/rum/site_info/list">client.RUM.SiteInfo.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/rum#SiteInfoService.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/rum">rum</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/rum#SiteInfoListParams">SiteInfoListParams</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#V4PagePaginationArray">V4PagePaginationArray</a>[<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/rum">rum</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/rum#Site">Site</a>], <a href="https://pkg.go.dev/builtin#error">error</a>)</code>
- <code title="delete /accounts/{account_id}/rum/site_info/{site_id}">client.RUM.SiteInfo.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/rum#SiteInfoService.Delete">Delete</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, siteID <a href="https://pkg.go.dev/builtin#string">string</a>, body <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/rum">rum</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/rum#SiteInfoDeleteParams">SiteInfoDeleteParams</a>) (\*<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/rum">rum</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/rum#SiteInfoDeleteResponse">SiteInfoDeleteResponse</a>, <a href="https://pkg.go.dev/builtin#error">error</a>)</code>
- <code title="get /accounts/{account_id}/rum/site_info/{site_id}">client.RUM.SiteInfo.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/rum#SiteInfoService.Get">Get</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, siteID <a href="https://pkg.go.dev/builtin#string">string</a>, query <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/rum">rum</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/rum#SiteInfoGetParams">SiteInfoGetParams</a>) (\*<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/rum">rum</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/rum#Site">Site</a>, <a href="https://pkg.go.dev/builtin#error">error</a>)</code>

## Rules

Response Types:

- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/rum">rum</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/rum#RUMRule">RUMRule</a>
- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/rum">rum</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/rum#RuleListResponse">RuleListResponse</a>
- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/rum">rum</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/rum#RuleDeleteResponse">RuleDeleteResponse</a>
- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/rum">rum</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/rum#RuleBulkNewResponse">RuleBulkNewResponse</a>

Methods:

- <code title="post /accounts/{account_id}/rum/v2/{ruleset_id}/rule">client.RUM.Rules.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/rum#RuleService.New">New</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, rulesetID <a href="https://pkg.go.dev/builtin#string">string</a>, params <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/rum">rum</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/rum#RuleNewParams">RuleNewParams</a>) (\*<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/rum">rum</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/rum#RUMRule">RUMRule</a>, <a href="https://pkg.go.dev/builtin#error">error</a>)</code>
- <code title="put /accounts/{account_id}/rum/v2/{ruleset_id}/rule/{rule_id}">client.RUM.Rules.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/rum#RuleService.Update">Update</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, rulesetID <a href="https://pkg.go.dev/builtin#string">string</a>, ruleID <a href="https://pkg.go.dev/builtin#string">string</a>, params <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/rum">rum</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/rum#RuleUpdateParams">RuleUpdateParams</a>) (\*<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/rum">rum</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/rum#RUMRule">RUMRule</a>, <a href="https://pkg.go.dev/builtin#error">error</a>)</code>
- <code title="get /accounts/{account_id}/rum/v2/{ruleset_id}/rules">client.RUM.Rules.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/rum#RuleService.List">List</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, rulesetID <a href="https://pkg.go.dev/builtin#string">string</a>, query <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/rum">rum</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/rum#RuleListParams">RuleListParams</a>) (\*<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/rum">rum</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/rum#RuleListResponse">RuleListResponse</a>, <a href="https://pkg.go.dev/builtin#error">error</a>)</code>
- <code title="delete /accounts/{account_id}/rum/v2/{ruleset_id}/rule/{rule_id}">client.RUM.Rules.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/rum#RuleService.Delete">Delete</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, rulesetID <a href="https://pkg.go.dev/builtin#string">string</a>, ruleID <a href="https://pkg.go.dev/builtin#string">string</a>, body <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/rum">rum</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/rum#RuleDeleteParams">RuleDeleteParams</a>) (\*<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/rum">rum</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/rum#RuleDeleteResponse">RuleDeleteResponse</a>, <a href="https://pkg.go.dev/builtin#error">error</a>)</code>
- <code title="post /accounts/{account_id}/rum/v2/{ruleset_id}/rules">client.RUM.Rules.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/rum#RuleService.BulkNew">BulkNew</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, rulesetID <a href="https://pkg.go.dev/builtin#string">string</a>, params <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/rum">rum</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/rum#RuleBulkNewParams">RuleBulkNewParams</a>) (\*<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/rum">rum</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/rum#RuleBulkNewResponse">RuleBulkNewResponse</a>, <a href="https://pkg.go.dev/builtin#error">error</a>)</code>
