# R2DataCatalog

Response Types:

- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/r2_data_catalog">r2_data_catalog</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/r2_data_catalog#R2DataCatalogListResponse">R2DataCatalogListResponse</a>
- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/r2_data_catalog">r2_data_catalog</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/r2_data_catalog#R2DataCatalogEnableResponse">R2DataCatalogEnableResponse</a>
- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/r2_data_catalog">r2_data_catalog</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/r2_data_catalog#R2DataCatalogGetResponse">R2DataCatalogGetResponse</a>

Methods:

- <code title="get /accounts/{account_id}/r2-catalog">client.R2DataCatalog.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/r2_data_catalog#R2DataCatalogService.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/r2_data_catalog">r2_data_catalog</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/r2_data_catalog#R2DataCatalogListParams">R2DataCatalogListParams</a>) (\*<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/r2_data_catalog">r2_data_catalog</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/r2_data_catalog#R2DataCatalogListResponse">R2DataCatalogListResponse</a>, <a href="https://pkg.go.dev/builtin#error">error</a>)</code>
- <code title="post /accounts/{account_id}/r2-catalog/{bucket_name}/disable">client.R2DataCatalog.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/r2_data_catalog#R2DataCatalogService.Disable">Disable</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, bucketName <a href="https://pkg.go.dev/builtin#string">string</a>, body <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/r2_data_catalog">r2_data_catalog</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/r2_data_catalog#R2DataCatalogDisableParams">R2DataCatalogDisableParams</a>) <a href="https://pkg.go.dev/builtin#error">error</a></code>
- <code title="post /accounts/{account_id}/r2-catalog/{bucket_name}/enable">client.R2DataCatalog.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/r2_data_catalog#R2DataCatalogService.Enable">Enable</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, bucketName <a href="https://pkg.go.dev/builtin#string">string</a>, body <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/r2_data_catalog">r2_data_catalog</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/r2_data_catalog#R2DataCatalogEnableParams">R2DataCatalogEnableParams</a>) (\*<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/r2_data_catalog">r2_data_catalog</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/r2_data_catalog#R2DataCatalogEnableResponse">R2DataCatalogEnableResponse</a>, <a href="https://pkg.go.dev/builtin#error">error</a>)</code>
- <code title="get /accounts/{account_id}/r2-catalog/{bucket_name}">client.R2DataCatalog.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/r2_data_catalog#R2DataCatalogService.Get">Get</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, bucketName <a href="https://pkg.go.dev/builtin#string">string</a>, query <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/r2_data_catalog">r2_data_catalog</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/r2_data_catalog#R2DataCatalogGetParams">R2DataCatalogGetParams</a>) (\*<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/r2_data_catalog">r2_data_catalog</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/r2_data_catalog#R2DataCatalogGetResponse">R2DataCatalogGetResponse</a>, <a href="https://pkg.go.dev/builtin#error">error</a>)</code>

## MaintenanceConfigs

Response Types:

- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/r2_data_catalog">r2_data_catalog</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/r2_data_catalog#MaintenanceConfigUpdateResponse">MaintenanceConfigUpdateResponse</a>
- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/r2_data_catalog">r2_data_catalog</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/r2_data_catalog#MaintenanceConfigGetResponse">MaintenanceConfigGetResponse</a>

Methods:

- <code title="post /accounts/{account_id}/r2-catalog/{bucket_name}/maintenance-configs">client.R2DataCatalog.MaintenanceConfigs.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/r2_data_catalog#MaintenanceConfigService.Update">Update</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, bucketName <a href="https://pkg.go.dev/builtin#string">string</a>, params <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/r2_data_catalog">r2_data_catalog</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/r2_data_catalog#MaintenanceConfigUpdateParams">MaintenanceConfigUpdateParams</a>) (\*<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/r2_data_catalog">r2_data_catalog</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/r2_data_catalog#MaintenanceConfigUpdateResponse">MaintenanceConfigUpdateResponse</a>, <a href="https://pkg.go.dev/builtin#error">error</a>)</code>
- <code title="get /accounts/{account_id}/r2-catalog/{bucket_name}/maintenance-configs">client.R2DataCatalog.MaintenanceConfigs.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/r2_data_catalog#MaintenanceConfigService.Get">Get</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, bucketName <a href="https://pkg.go.dev/builtin#string">string</a>, query <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/r2_data_catalog">r2_data_catalog</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/r2_data_catalog#MaintenanceConfigGetParams">MaintenanceConfigGetParams</a>) (\*<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/r2_data_catalog">r2_data_catalog</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/r2_data_catalog#MaintenanceConfigGetResponse">MaintenanceConfigGetResponse</a>, <a href="https://pkg.go.dev/builtin#error">error</a>)</code>

## Credentials

Response Types:

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

Methods:

- <code title="post /accounts/{account_id}/r2-catalog/{bucket_name}/credential">client.R2DataCatalog.Credentials.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/r2_data_catalog#CredentialService.New">New</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, bucketName <a href="https://pkg.go.dev/builtin#string">string</a>, params <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/r2_data_catalog">r2_data_catalog</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/r2_data_catalog#CredentialNewParams">CredentialNewParams</a>) (\*<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/r2_data_catalog">r2_data_catalog</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/r2_data_catalog#CredentialNewResponse">CredentialNewResponse</a>, <a href="https://pkg.go.dev/builtin#error">error</a>)</code>

## Namespaces

Response Types:

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

Methods:

- <code title="get /accounts/{account_id}/r2-catalog/{bucket_name}/namespaces">client.R2DataCatalog.Namespaces.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/r2_data_catalog#NamespaceService.List">List</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, bucketName <a href="https://pkg.go.dev/builtin#string">string</a>, params <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/r2_data_catalog">r2_data_catalog</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/r2_data_catalog#NamespaceListParams">NamespaceListParams</a>) (\*<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/r2_data_catalog">r2_data_catalog</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/r2_data_catalog#NamespaceListResponse">NamespaceListResponse</a>, <a href="https://pkg.go.dev/builtin#error">error</a>)</code>

### Tables

Response Types:

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

Methods:

- <code title="get /accounts/{account_id}/r2-catalog/{bucket_name}/namespaces/{namespace}/tables">client.R2DataCatalog.Namespaces.Tables.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/r2_data_catalog#NamespaceTableService.List">List</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, bucketName <a href="https://pkg.go.dev/builtin#string">string</a>, namespace <a href="https://pkg.go.dev/builtin#string">string</a>, params <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/r2_data_catalog">r2_data_catalog</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/r2_data_catalog#NamespaceTableListParams">NamespaceTableListParams</a>) (\*<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/r2_data_catalog">r2_data_catalog</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/r2_data_catalog#NamespaceTableListResponse">NamespaceTableListResponse</a>, <a href="https://pkg.go.dev/builtin#error">error</a>)</code>

#### MaintenanceConfigs

Response Types:

- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/r2_data_catalog">r2_data_catalog</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/r2_data_catalog#NamespaceTableMaintenanceConfigUpdateResponse">NamespaceTableMaintenanceConfigUpdateResponse</a>
- <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/r2_data_catalog">r2_data_catalog</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/r2_data_catalog#NamespaceTableMaintenanceConfigGetResponse">NamespaceTableMaintenanceConfigGetResponse</a>

Methods:

- <code title="post /accounts/{account_id}/r2-catalog/{bucket_name}/namespaces/{namespace}/tables/{table_name}/maintenance-configs">client.R2DataCatalog.Namespaces.Tables.MaintenanceConfigs.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/r2_data_catalog#NamespaceTableMaintenanceConfigService.Update">Update</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, bucketName <a href="https://pkg.go.dev/builtin#string">string</a>, namespace <a href="https://pkg.go.dev/builtin#string">string</a>, tableName <a href="https://pkg.go.dev/builtin#string">string</a>, params <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/r2_data_catalog">r2_data_catalog</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/r2_data_catalog#NamespaceTableMaintenanceConfigUpdateParams">NamespaceTableMaintenanceConfigUpdateParams</a>) (\*<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/r2_data_catalog">r2_data_catalog</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/r2_data_catalog#NamespaceTableMaintenanceConfigUpdateResponse">NamespaceTableMaintenanceConfigUpdateResponse</a>, <a href="https://pkg.go.dev/builtin#error">error</a>)</code>
- <code title="get /accounts/{account_id}/r2-catalog/{bucket_name}/namespaces/{namespace}/tables/{table_name}/maintenance-configs">client.R2DataCatalog.Namespaces.Tables.MaintenanceConfigs.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/r2_data_catalog#NamespaceTableMaintenanceConfigService.Get">Get</a>(ctx <a href="https://pkg.go.dev/context">context</a>.<a href="https://pkg.go.dev/context#Context">Context</a>, bucketName <a href="https://pkg.go.dev/builtin#string">string</a>, namespace <a href="https://pkg.go.dev/builtin#string">string</a>, tableName <a href="https://pkg.go.dev/builtin#string">string</a>, query <a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/r2_data_catalog">r2_data_catalog</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/r2_data_catalog#NamespaceTableMaintenanceConfigGetParams">NamespaceTableMaintenanceConfigGetParams</a>) (\*<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/r2_data_catalog">r2_data_catalog</a>.<a href="https://pkg.go.dev/github.com/cloudflare/cloudflare-go/v6/r2_data_catalog#NamespaceTableMaintenanceConfigGetResponse">NamespaceTableMaintenanceConfigGetResponse</a>, <a href="https://pkg.go.dev/builtin#error">error</a>)</code>
