Versions in this module Expand all Collapse all v7 v7.3.0 May 20, 2026 Changes in this version + const AuditLogActorTypeAdmin + const AuditLogActorTypeCloudflare + const AuditLogActorTypeUser + const CertificateCADigicert + const CertificateCAGoogle + const CertificateCALetsEncrypt + const CertificateCASSLCom + const CertificateRequestTypeKeylessCertificate + const CertificateRequestTypeOriginECC + const CertificateRequestTypeOriginRSA + const CloudflareTunnelConfigSrcCloudflare + const CloudflareTunnelConfigSrcLocal + const CloudflareTunnelStatusDegraded + const CloudflareTunnelStatusDown + const CloudflareTunnelStatusHealthy + const CloudflareTunnelStatusInactive + const CloudflareTunnelTunTypeCNI + const CloudflareTunnelTunTypeCfdTunnel + const CloudflareTunnelTunTypeGRE + const CloudflareTunnelTunTypeIPSec + const CloudflareTunnelTunTypeMagic + const CloudflareTunnelTunTypeWARP + const CloudflareTunnelTunTypeWARPConnector + const MemberPoliciesAccessAllow + const MemberPoliciesAccessDeny + const MemberStatusAccepted + const MemberStatusPending + const RatePlanIDBusiness + const RatePlanIDEnterprise + const RatePlanIDFree + const RatePlanIDLite + const RatePlanIDPartnersBusiness + const RatePlanIDPartnersEnterprise + const RatePlanIDPartnersFree + const RatePlanIDPartnersPro + const RatePlanIDPro + const RatePlanIDProPlus + const SortDirectionAsc + const SortDirectionDesc + const SubscriptionFrequencyMonthly + const SubscriptionFrequencyQuarterly + const SubscriptionFrequencyWeekly + const SubscriptionFrequencyYearly + const SubscriptionStateAwaitingPayment + const SubscriptionStateCancelled + const SubscriptionStateExpired + const SubscriptionStateFailed + const SubscriptionStatePaid + const SubscriptionStateProvisioned + const SubscriptionStateTrial + const TokenPolicyEffectAllow + const TokenPolicyEffectDeny + const TokenStatusActive + const TokenStatusDisabled + const TokenStatusExpired + type ASN = shared.ASN + type ASNParam = shared.ASNParam + type AuditLog = shared.AuditLog + type AuditLogAction = shared.AuditLogAction + type AuditLogActor = shared.AuditLogActor + type AuditLogActorType = shared.AuditLogActorType + type AuditLogOwner = shared.AuditLogOwner + type AuditLogResource = shared.AuditLogResource + type CachePurgeEnvironmentParams struct + Body CachePurgeEnvironmentParamsBodyUnion + ZoneID param.Field[string] + func (r CachePurgeEnvironmentParams) MarshalJSON() (data []byte, err error) + type CachePurgeEnvironmentParamsBody struct + Files param.Field[interface{}] + Hosts param.Field[interface{}] + Prefixes param.Field[interface{}] + PurgeEverything param.Field[bool] + Tags param.Field[interface{}] + func (r CachePurgeEnvironmentParamsBody) MarshalJSON() (data []byte, err error) + type CachePurgeEnvironmentParamsBodyCachePurgeEverything struct + PurgeEverything param.Field[bool] + func (r CachePurgeEnvironmentParamsBodyCachePurgeEverything) MarshalJSON() (data []byte, err error) + type CachePurgeEnvironmentParamsBodyCachePurgeFlexPurgeByHostnames struct + Hosts param.Field[[]string] + func (r CachePurgeEnvironmentParamsBodyCachePurgeFlexPurgeByHostnames) MarshalJSON() (data []byte, err error) + type CachePurgeEnvironmentParamsBodyCachePurgeFlexPurgeByPrefixes struct + Prefixes param.Field[[]string] + func (r CachePurgeEnvironmentParamsBodyCachePurgeFlexPurgeByPrefixes) MarshalJSON() (data []byte, err error) + type CachePurgeEnvironmentParamsBodyCachePurgeFlexPurgeByTags struct + Tags param.Field[[]string] + func (r CachePurgeEnvironmentParamsBodyCachePurgeFlexPurgeByTags) MarshalJSON() (data []byte, err error) + type CachePurgeEnvironmentParamsBodyCachePurgeSingleFile struct + Files param.Field[[]string] + func (r CachePurgeEnvironmentParamsBodyCachePurgeSingleFile) MarshalJSON() (data []byte, err error) + type CachePurgeEnvironmentParamsBodyCachePurgeSingleFileWithURLAndHeaders struct + Files param.Field[[]CachePurgeEnvironmentParamsBodyCachePurgeSingleFileWithURLAndHeadersFile] + func (r CachePurgeEnvironmentParamsBodyCachePurgeSingleFileWithURLAndHeaders) MarshalJSON() (data []byte, err error) + type CachePurgeEnvironmentParamsBodyCachePurgeSingleFileWithURLAndHeadersFile struct + Headers param.Field[map[string]string] + URL param.Field[string] + func (r CachePurgeEnvironmentParamsBodyCachePurgeSingleFileWithURLAndHeadersFile) MarshalJSON() (data []byte, err error) + type CachePurgeEnvironmentParamsBodyUnion interface + type CachePurgeEnvironmentResponse struct + ID string + JSON cachePurgeEnvironmentResponseJSON + func (r *CachePurgeEnvironmentResponse) UnmarshalJSON(data []byte) (err error) + type CachePurgeEnvironmentResponseEnvelope struct + Errors []shared.ResponseInfo + JSON cachePurgeEnvironmentResponseEnvelopeJSON + Messages []shared.ResponseInfo + Result CachePurgeEnvironmentResponse + Success bool + func (r *CachePurgeEnvironmentResponseEnvelope) UnmarshalJSON(data []byte) (err error) + type CachePurgeParams struct + Body CachePurgeParamsBodyUnion + ZoneID param.Field[string] + func (r CachePurgeParams) MarshalJSON() (data []byte, err error) + type CachePurgeParamsBody struct + Files param.Field[interface{}] + Hosts param.Field[interface{}] + Prefixes param.Field[interface{}] + PurgeEverything param.Field[bool] + Tags param.Field[interface{}] + func (r CachePurgeParamsBody) MarshalJSON() (data []byte, err error) + type CachePurgeParamsBodyCachePurgeEverything struct + PurgeEverything param.Field[bool] + func (r CachePurgeParamsBodyCachePurgeEverything) MarshalJSON() (data []byte, err error) + type CachePurgeParamsBodyCachePurgeFlexPurgeByHostnames struct + Hosts param.Field[[]string] + func (r CachePurgeParamsBodyCachePurgeFlexPurgeByHostnames) MarshalJSON() (data []byte, err error) + type CachePurgeParamsBodyCachePurgeFlexPurgeByPrefixes struct + Prefixes param.Field[[]string] + func (r CachePurgeParamsBodyCachePurgeFlexPurgeByPrefixes) MarshalJSON() (data []byte, err error) + type CachePurgeParamsBodyCachePurgeFlexPurgeByTags struct + Tags param.Field[[]string] + func (r CachePurgeParamsBodyCachePurgeFlexPurgeByTags) MarshalJSON() (data []byte, err error) + type CachePurgeParamsBodyCachePurgeSingleFile struct + Files param.Field[[]string] + func (r CachePurgeParamsBodyCachePurgeSingleFile) MarshalJSON() (data []byte, err error) + type CachePurgeParamsBodyCachePurgeSingleFileWithURLAndHeaders struct + Files param.Field[[]CachePurgeParamsBodyCachePurgeSingleFileWithURLAndHeadersFile] + func (r CachePurgeParamsBodyCachePurgeSingleFileWithURLAndHeaders) MarshalJSON() (data []byte, err error) + type CachePurgeParamsBodyCachePurgeSingleFileWithURLAndHeadersFile struct + Headers param.Field[map[string]string] + URL param.Field[string] + func (r CachePurgeParamsBodyCachePurgeSingleFileWithURLAndHeadersFile) MarshalJSON() (data []byte, err error) + type CachePurgeParamsBodyUnion interface + type CachePurgeResponse struct + ID string + JSON cachePurgeResponseJSON + func (r *CachePurgeResponse) UnmarshalJSON(data []byte) (err error) + type CachePurgeResponseEnvelope struct + Errors []shared.ResponseInfo + JSON cachePurgeResponseEnvelopeJSON + Messages []shared.ResponseInfo + Result CachePurgeResponse + Success bool + func (r *CachePurgeResponseEnvelope) UnmarshalJSON(data []byte) (err error) + type CacheReserve string + const CacheReserveCacheReserve + func (r CacheReserve) IsKnown() bool + type CacheReserveClear string + const CacheReserveClearCacheReserveClear + func (r CacheReserveClear) IsKnown() bool + type CacheReserveClearParams struct + Body interface{} + ZoneID param.Field[string] + func (r CacheReserveClearParams) MarshalJSON() (data []byte, err error) + type CacheReserveClearResponse struct + EndTs time.Time + ID CacheReserveClear + JSON cacheReserveClearResponseJSON + ModifiedOn time.Time + StartTs time.Time + State State + func (r *CacheReserveClearResponse) UnmarshalJSON(data []byte) (err error) + type CacheReserveClearResponseEnvelope struct + Errors []shared.ResponseInfo + JSON cacheReserveClearResponseEnvelopeJSON + Messages []shared.ResponseInfo + Result CacheReserveClearResponse + Success CacheReserveClearResponseEnvelopeSuccess + func (r *CacheReserveClearResponseEnvelope) UnmarshalJSON(data []byte) (err error) + type CacheReserveClearResponseEnvelopeSuccess bool + const CacheReserveClearResponseEnvelopeSuccessTrue + func (r CacheReserveClearResponseEnvelopeSuccess) IsKnown() bool + type CacheReserveEditParams struct + Value param.Field[CacheReserveEditParamsValue] + ZoneID param.Field[string] + func (r CacheReserveEditParams) MarshalJSON() (data []byte, err error) + type CacheReserveEditParamsValue string + const CacheReserveEditParamsValueOff + const CacheReserveEditParamsValueOn + func (r CacheReserveEditParamsValue) IsKnown() bool + type CacheReserveEditResponse struct + Editable bool + ID CacheReserve + JSON cacheReserveEditResponseJSON + ModifiedOn time.Time + Value CacheReserveEditResponseValue + func (r *CacheReserveEditResponse) UnmarshalJSON(data []byte) (err error) + type CacheReserveEditResponseEnvelope struct + Errors []shared.ResponseInfo + JSON cacheReserveEditResponseEnvelopeJSON + Messages []shared.ResponseInfo + Result CacheReserveEditResponse + Success CacheReserveEditResponseEnvelopeSuccess + func (r *CacheReserveEditResponseEnvelope) UnmarshalJSON(data []byte) (err error) + type CacheReserveEditResponseEnvelopeSuccess bool + const CacheReserveEditResponseEnvelopeSuccessTrue + func (r CacheReserveEditResponseEnvelopeSuccess) IsKnown() bool + type CacheReserveEditResponseValue string + const CacheReserveEditResponseValueOff + const CacheReserveEditResponseValueOn + func (r CacheReserveEditResponseValue) IsKnown() bool + type CacheReserveGetParams struct + ZoneID param.Field[string] + type CacheReserveGetResponse struct + Editable bool + ID CacheReserve + JSON cacheReserveGetResponseJSON + ModifiedOn time.Time + Value CacheReserveGetResponseValue + func (r *CacheReserveGetResponse) UnmarshalJSON(data []byte) (err error) + type CacheReserveGetResponseEnvelope struct + Errors []shared.ResponseInfo + JSON cacheReserveGetResponseEnvelopeJSON + Messages []shared.ResponseInfo + Result CacheReserveGetResponse + Success CacheReserveGetResponseEnvelopeSuccess + func (r *CacheReserveGetResponseEnvelope) UnmarshalJSON(data []byte) (err error) + type CacheReserveGetResponseEnvelopeSuccess bool + const CacheReserveGetResponseEnvelopeSuccessTrue + func (r CacheReserveGetResponseEnvelopeSuccess) IsKnown() bool + type CacheReserveGetResponseValue string + const CacheReserveGetResponseValueOff + const CacheReserveGetResponseValueOn + func (r CacheReserveGetResponseValue) IsKnown() bool + type CacheReserveService struct + Options []option.RequestOption + func NewCacheReserveService(opts ...option.RequestOption) (r *CacheReserveService) + func (r *CacheReserveService) Clear(ctx context.Context, params CacheReserveClearParams, ...) (res *CacheReserveClearResponse, err error) + func (r *CacheReserveService) Edit(ctx context.Context, params CacheReserveEditParams, ...) (res *CacheReserveEditResponse, err error) + func (r *CacheReserveService) Get(ctx context.Context, query CacheReserveGetParams, opts ...option.RequestOption) (res *CacheReserveGetResponse, err error) + func (r *CacheReserveService) Status(ctx context.Context, query CacheReserveStatusParams, ...) (res *CacheReserveStatusResponse, err error) + type CacheReserveStatusParams struct + ZoneID param.Field[string] + type CacheReserveStatusResponse struct + EndTs time.Time + ID CacheReserveClear + JSON cacheReserveStatusResponseJSON + ModifiedOn time.Time + StartTs time.Time + State State + func (r *CacheReserveStatusResponse) UnmarshalJSON(data []byte) (err error) + type CacheReserveStatusResponseEnvelope struct + Errors []shared.ResponseInfo + JSON cacheReserveStatusResponseEnvelopeJSON + Messages []shared.ResponseInfo + Result CacheReserveStatusResponse + Success CacheReserveStatusResponseEnvelopeSuccess + func (r *CacheReserveStatusResponseEnvelope) UnmarshalJSON(data []byte) (err error) + type CacheReserveStatusResponseEnvelopeSuccess bool + const CacheReserveStatusResponseEnvelopeSuccessTrue + func (r CacheReserveStatusResponseEnvelopeSuccess) IsKnown() bool + type CacheService struct + CacheReserve *CacheReserveService + Options []option.RequestOption + OriginCloudRegions *OriginCloudRegionService + RegionalTieredCache *RegionalTieredCacheService + SmartTieredCache *SmartTieredCacheService + Variants *VariantService + func NewCacheService(opts ...option.RequestOption) (r *CacheService) + func (r *CacheService) Purge(ctx context.Context, params CachePurgeParams, opts ...option.RequestOption) (res *CachePurgeResponse, err error) + func (r *CacheService) PurgeEnvironment(ctx context.Context, environmentID string, params CachePurgeEnvironmentParams, ...) (res *CachePurgeEnvironmentResponse, err error) + type CertificateCA = shared.CertificateCA + type CertificateRequestType = shared.CertificateRequestType + type CloudflareTunnel = shared.CloudflareTunnel + type CloudflareTunnelConfigSrc = shared.CloudflareTunnelConfigSrc + type CloudflareTunnelConnection = shared.CloudflareTunnelConnection + type CloudflareTunnelStatus = shared.CloudflareTunnelStatus + type CloudflareTunnelTunType = shared.CloudflareTunnelTunType + type Error = apierror.Error + type ErrorData = shared.ErrorData + type ErrorDataSource = shared.ErrorDataSource + type Member = shared.Member + type MemberPoliciesAccess = shared.MemberPoliciesAccess + type MemberPoliciesPermissionGroup = shared.MemberPoliciesPermissionGroup + type MemberPoliciesPermissionGroupsMeta = shared.MemberPoliciesPermissionGroupsMeta + type MemberPoliciesResourceGroup = shared.MemberPoliciesResourceGroup + type MemberPoliciesResourceGroupsMeta = shared.MemberPoliciesResourceGroupsMeta + type MemberPoliciesResourceGroupsScope = shared.MemberPoliciesResourceGroupsScope + type MemberPoliciesResourceGroupsScopeObject = shared.MemberPoliciesResourceGroupsScopeObject + type MemberPolicy = shared.MemberPolicy + type MemberStatus = shared.MemberStatus + type MemberUser = shared.MemberUser + type OriginCloudRegion struct + JSON originCloudRegionJSON + ModifiedOn time.Time + OriginIP string + Region string + Vendor OriginCloudRegionVendor + func (r *OriginCloudRegion) UnmarshalJSON(data []byte) (err error) + type OriginCloudRegionBulkDeleteParams struct + ZoneID param.Field[string] + type OriginCloudRegionBulkDeleteResponse struct + Failed []OriginCloudRegionBulkDeleteResponseFailed + JSON originCloudRegionBulkDeleteResponseJSON + Succeeded []OriginCloudRegionBulkDeleteResponseSucceeded + func (r *OriginCloudRegionBulkDeleteResponse) UnmarshalJSON(data []byte) (err error) + type OriginCloudRegionBulkDeleteResponseEnvelope struct + Errors []shared.ResponseInfo + JSON originCloudRegionBulkDeleteResponseEnvelopeJSON + Messages []shared.ResponseInfo + Result OriginCloudRegionBulkDeleteResponse + Success OriginCloudRegionBulkDeleteResponseEnvelopeSuccess + func (r *OriginCloudRegionBulkDeleteResponseEnvelope) UnmarshalJSON(data []byte) (err error) + type OriginCloudRegionBulkDeleteResponseEnvelopeSuccess bool + const OriginCloudRegionBulkDeleteResponseEnvelopeSuccessTrue + func (r OriginCloudRegionBulkDeleteResponseEnvelopeSuccess) IsKnown() bool + type OriginCloudRegionBulkDeleteResponseFailed struct + Error string + JSON originCloudRegionBulkDeleteResponseFailedJSON + OriginIP string + Region string + Vendor string + func (r *OriginCloudRegionBulkDeleteResponseFailed) UnmarshalJSON(data []byte) (err error) + type OriginCloudRegionBulkDeleteResponseSucceeded struct + Error string + JSON originCloudRegionBulkDeleteResponseSucceededJSON + OriginIP string + Region string + Vendor string + func (r *OriginCloudRegionBulkDeleteResponseSucceeded) UnmarshalJSON(data []byte) (err error) + type OriginCloudRegionBulkUpdateParams struct + Body []OriginCloudRegionBulkUpdateParamsBody + ZoneID param.Field[string] + func (r OriginCloudRegionBulkUpdateParams) MarshalJSON() (data []byte, err error) + type OriginCloudRegionBulkUpdateParamsBody struct + OriginIP param.Field[string] + Region param.Field[string] + Vendor param.Field[OriginCloudRegionBulkUpdateParamsBodyVendor] + func (r OriginCloudRegionBulkUpdateParamsBody) MarshalJSON() (data []byte, err error) + type OriginCloudRegionBulkUpdateParamsBodyVendor string + const OriginCloudRegionBulkUpdateParamsBodyVendorAws + const OriginCloudRegionBulkUpdateParamsBodyVendorAzure + const OriginCloudRegionBulkUpdateParamsBodyVendorGcp + const OriginCloudRegionBulkUpdateParamsBodyVendorOci + func (r OriginCloudRegionBulkUpdateParamsBodyVendor) IsKnown() bool + type OriginCloudRegionBulkUpdateResponse struct + Failed []OriginCloudRegionBulkUpdateResponseFailed + JSON originCloudRegionBulkUpdateResponseJSON + Succeeded []OriginCloudRegionBulkUpdateResponseSucceeded + func (r *OriginCloudRegionBulkUpdateResponse) UnmarshalJSON(data []byte) (err error) + type OriginCloudRegionBulkUpdateResponseEnvelope struct + Errors []shared.ResponseInfo + JSON originCloudRegionBulkUpdateResponseEnvelopeJSON + Messages []shared.ResponseInfo + Result OriginCloudRegionBulkUpdateResponse + Success OriginCloudRegionBulkUpdateResponseEnvelopeSuccess + func (r *OriginCloudRegionBulkUpdateResponseEnvelope) UnmarshalJSON(data []byte) (err error) + type OriginCloudRegionBulkUpdateResponseEnvelopeSuccess bool + const OriginCloudRegionBulkUpdateResponseEnvelopeSuccessTrue + func (r OriginCloudRegionBulkUpdateResponseEnvelopeSuccess) IsKnown() bool + type OriginCloudRegionBulkUpdateResponseFailed struct + Error string + JSON originCloudRegionBulkUpdateResponseFailedJSON + OriginIP string + Region string + Vendor string + func (r *OriginCloudRegionBulkUpdateResponseFailed) UnmarshalJSON(data []byte) (err error) + type OriginCloudRegionBulkUpdateResponseSucceeded struct + Error string + JSON originCloudRegionBulkUpdateResponseSucceededJSON + OriginIP string + Region string + Vendor string + func (r *OriginCloudRegionBulkUpdateResponseSucceeded) UnmarshalJSON(data []byte) (err error) + type OriginCloudRegionDeleteParams struct + ZoneID param.Field[string] + type OriginCloudRegionDeleteResponse struct + JSON originCloudRegionDeleteResponseJSON + OriginIP string + func (r *OriginCloudRegionDeleteResponse) UnmarshalJSON(data []byte) (err error) + type OriginCloudRegionDeleteResponseEnvelope struct + Errors []shared.ResponseInfo + JSON originCloudRegionDeleteResponseEnvelopeJSON + Messages []shared.ResponseInfo + Result OriginCloudRegionDeleteResponse + Success OriginCloudRegionDeleteResponseEnvelopeSuccess + func (r *OriginCloudRegionDeleteResponseEnvelope) UnmarshalJSON(data []byte) (err error) + type OriginCloudRegionDeleteResponseEnvelopeSuccess bool + const OriginCloudRegionDeleteResponseEnvelopeSuccessTrue + func (r OriginCloudRegionDeleteResponseEnvelopeSuccess) IsKnown() bool + type OriginCloudRegionGetParams struct + ZoneID param.Field[string] + type OriginCloudRegionGetResponseEnvelope struct + Errors []shared.ResponseInfo + JSON originCloudRegionGetResponseEnvelopeJSON + Messages []shared.ResponseInfo + Result OriginCloudRegion + Success OriginCloudRegionGetResponseEnvelopeSuccess + func (r *OriginCloudRegionGetResponseEnvelope) UnmarshalJSON(data []byte) (err error) + type OriginCloudRegionGetResponseEnvelopeSuccess bool + const OriginCloudRegionGetResponseEnvelopeSuccessTrue + func (r OriginCloudRegionGetResponseEnvelopeSuccess) IsKnown() bool + type OriginCloudRegionListParams struct + Page param.Field[int64] + PerPage param.Field[int64] + ZoneID param.Field[string] + func (r OriginCloudRegionListParams) URLQuery() (v url.Values) + type OriginCloudRegionService struct + Options []option.RequestOption + func NewOriginCloudRegionService(opts ...option.RequestOption) (r *OriginCloudRegionService) + func (r *OriginCloudRegionService) BulkDelete(ctx context.Context, body OriginCloudRegionBulkDeleteParams, ...) (res *OriginCloudRegionBulkDeleteResponse, err error) + func (r *OriginCloudRegionService) BulkUpdate(ctx context.Context, params OriginCloudRegionBulkUpdateParams, ...) (res *OriginCloudRegionBulkUpdateResponse, err error) + func (r *OriginCloudRegionService) Delete(ctx context.Context, originIP string, body OriginCloudRegionDeleteParams, ...) (res *OriginCloudRegionDeleteResponse, err error) + func (r *OriginCloudRegionService) Get(ctx context.Context, originIP string, query OriginCloudRegionGetParams, ...) (res *OriginCloudRegion, err error) + func (r *OriginCloudRegionService) List(ctx context.Context, params OriginCloudRegionListParams, ...) (res *pagination.V4PagePaginationArray[OriginCloudRegion], err error) + func (r *OriginCloudRegionService) ListAutoPaging(ctx context.Context, params OriginCloudRegionListParams, ...) *pagination.V4PagePaginationArrayAutoPager[OriginCloudRegion] + func (r *OriginCloudRegionService) SupportedRegions(ctx context.Context, query OriginCloudRegionSupportedRegionsParams, ...) (res *OriginCloudRegionSupportedRegionsResponse, err error) + func (r *OriginCloudRegionService) Update(ctx context.Context, originIP string, params OriginCloudRegionUpdateParams, ...) (res *OriginCloudRegion, err error) + type OriginCloudRegionSupportedRegionsParams struct + ZoneID param.Field[string] + type OriginCloudRegionSupportedRegionsResponse struct + JSON originCloudRegionSupportedRegionsResponseJSON + ObtainedCodes bool + Vendors map[string][]OriginCloudRegionSupportedRegionsResponseVendor + func (r *OriginCloudRegionSupportedRegionsResponse) UnmarshalJSON(data []byte) (err error) + type OriginCloudRegionSupportedRegionsResponseEnvelope struct + Errors []shared.ResponseInfo + JSON originCloudRegionSupportedRegionsResponseEnvelopeJSON + Messages []shared.ResponseInfo + Result OriginCloudRegionSupportedRegionsResponse + Success OriginCloudRegionSupportedRegionsResponseEnvelopeSuccess + func (r *OriginCloudRegionSupportedRegionsResponseEnvelope) UnmarshalJSON(data []byte) (err error) + type OriginCloudRegionSupportedRegionsResponseEnvelopeSuccess bool + const OriginCloudRegionSupportedRegionsResponseEnvelopeSuccessTrue + func (r OriginCloudRegionSupportedRegionsResponseEnvelopeSuccess) IsKnown() bool + type OriginCloudRegionSupportedRegionsResponseVendor struct + JSON originCloudRegionSupportedRegionsResponseVendorJSON + Name string + UpperTierColos []string + func (r *OriginCloudRegionSupportedRegionsResponseVendor) UnmarshalJSON(data []byte) (err error) + type OriginCloudRegionUpdateParams struct + OriginIP param.Field[string] + Region param.Field[string] + Vendor param.Field[OriginCloudRegionUpdateParamsVendor] + ZoneID param.Field[string] + func (r OriginCloudRegionUpdateParams) MarshalJSON() (data []byte, err error) + type OriginCloudRegionUpdateParamsVendor string + const OriginCloudRegionUpdateParamsVendorAws + const OriginCloudRegionUpdateParamsVendorAzure + const OriginCloudRegionUpdateParamsVendorGcp + const OriginCloudRegionUpdateParamsVendorOci + func (r OriginCloudRegionUpdateParamsVendor) IsKnown() bool + type OriginCloudRegionUpdateResponseEnvelope struct + Errors []shared.ResponseInfo + JSON originCloudRegionUpdateResponseEnvelopeJSON + Messages []shared.ResponseInfo + Result OriginCloudRegion + Success OriginCloudRegionUpdateResponseEnvelopeSuccess + func (r *OriginCloudRegionUpdateResponseEnvelope) UnmarshalJSON(data []byte) (err error) + type OriginCloudRegionUpdateResponseEnvelopeSuccess bool + const OriginCloudRegionUpdateResponseEnvelopeSuccessTrue + func (r OriginCloudRegionUpdateResponseEnvelopeSuccess) IsKnown() bool + type OriginCloudRegionVendor string + const OriginCloudRegionVendorAws + const OriginCloudRegionVendorAzure + const OriginCloudRegionVendorGcp + const OriginCloudRegionVendorOci + func (r OriginCloudRegionVendor) IsKnown() bool + type Permission = shared.Permission + type PermissionGrant = shared.PermissionGrant + type PermissionGrantParam = shared.PermissionGrantParam + type RatePlan = shared.RatePlan + type RatePlanID = shared.RatePlanID + type RatePlanParam = shared.RatePlanParam + type RegionalTieredCache string + const RegionalTieredCacheTcRegional + func (r RegionalTieredCache) IsKnown() bool + type RegionalTieredCacheEditParams struct + Value param.Field[RegionalTieredCacheEditParamsValue] + ZoneID param.Field[string] + func (r RegionalTieredCacheEditParams) MarshalJSON() (data []byte, err error) + type RegionalTieredCacheEditParamsValue string + const RegionalTieredCacheEditParamsValueOff + const RegionalTieredCacheEditParamsValueOn + func (r RegionalTieredCacheEditParamsValue) IsKnown() bool + type RegionalTieredCacheEditResponse struct + Editable bool + ID RegionalTieredCache + JSON regionalTieredCacheEditResponseJSON + ModifiedOn time.Time + Value RegionalTieredCacheEditResponseValue + func (r *RegionalTieredCacheEditResponse) UnmarshalJSON(data []byte) (err error) + type RegionalTieredCacheEditResponseEnvelope struct + Errors []shared.ResponseInfo + JSON regionalTieredCacheEditResponseEnvelopeJSON + Messages []shared.ResponseInfo + Result RegionalTieredCacheEditResponse + Success RegionalTieredCacheEditResponseEnvelopeSuccess + func (r *RegionalTieredCacheEditResponseEnvelope) UnmarshalJSON(data []byte) (err error) + type RegionalTieredCacheEditResponseEnvelopeSuccess bool + const RegionalTieredCacheEditResponseEnvelopeSuccessTrue + func (r RegionalTieredCacheEditResponseEnvelopeSuccess) IsKnown() bool + type RegionalTieredCacheEditResponseValue string + const RegionalTieredCacheEditResponseValueOff + const RegionalTieredCacheEditResponseValueOn + func (r RegionalTieredCacheEditResponseValue) IsKnown() bool + type RegionalTieredCacheGetParams struct + ZoneID param.Field[string] + type RegionalTieredCacheGetResponse struct + Editable bool + ID RegionalTieredCache + JSON regionalTieredCacheGetResponseJSON + ModifiedOn time.Time + Value RegionalTieredCacheGetResponseValue + func (r *RegionalTieredCacheGetResponse) UnmarshalJSON(data []byte) (err error) + type RegionalTieredCacheGetResponseEnvelope struct + Errors []shared.ResponseInfo + JSON regionalTieredCacheGetResponseEnvelopeJSON + Messages []shared.ResponseInfo + Result RegionalTieredCacheGetResponse + Success RegionalTieredCacheGetResponseEnvelopeSuccess + func (r *RegionalTieredCacheGetResponseEnvelope) UnmarshalJSON(data []byte) (err error) + type RegionalTieredCacheGetResponseEnvelopeSuccess bool + const RegionalTieredCacheGetResponseEnvelopeSuccessTrue + func (r RegionalTieredCacheGetResponseEnvelopeSuccess) IsKnown() bool + type RegionalTieredCacheGetResponseValue string + const RegionalTieredCacheGetResponseValueOff + const RegionalTieredCacheGetResponseValueOn + func (r RegionalTieredCacheGetResponseValue) IsKnown() bool + type RegionalTieredCacheService struct + Options []option.RequestOption + func NewRegionalTieredCacheService(opts ...option.RequestOption) (r *RegionalTieredCacheService) + func (r *RegionalTieredCacheService) Edit(ctx context.Context, params RegionalTieredCacheEditParams, ...) (res *RegionalTieredCacheEditResponse, err error) + func (r *RegionalTieredCacheService) Get(ctx context.Context, query RegionalTieredCacheGetParams, ...) (res *RegionalTieredCacheGetResponse, err error) + type ResponseInfo = shared.ResponseInfo + type ResponseInfoSource = shared.ResponseInfoSource + type Role = shared.Role + type RoleParam = shared.RoleParam + type RolePermissions = shared.RolePermissions + type RolePermissionsParam = shared.RolePermissionsParam + type SmartTieredCacheDeleteParams struct + ZoneID param.Field[string] + type SmartTieredCacheDeleteResponse struct + Editable bool + ID SmartTieredCacheDeleteResponseID + JSON smartTieredCacheDeleteResponseJSON + ModifiedOn time.Time + func (r *SmartTieredCacheDeleteResponse) UnmarshalJSON(data []byte) (err error) + type SmartTieredCacheDeleteResponseEnvelope struct + Errors []shared.ResponseInfo + JSON smartTieredCacheDeleteResponseEnvelopeJSON + Messages []shared.ResponseInfo + Result SmartTieredCacheDeleteResponse + Success SmartTieredCacheDeleteResponseEnvelopeSuccess + func (r *SmartTieredCacheDeleteResponseEnvelope) UnmarshalJSON(data []byte) (err error) + type SmartTieredCacheDeleteResponseEnvelopeSuccess bool + const SmartTieredCacheDeleteResponseEnvelopeSuccessTrue + func (r SmartTieredCacheDeleteResponseEnvelopeSuccess) IsKnown() bool + type SmartTieredCacheDeleteResponseID string + const SmartTieredCacheDeleteResponseIDTieredCacheSmartTopologyEnable + func (r SmartTieredCacheDeleteResponseID) IsKnown() bool + type SmartTieredCacheEditParams struct + Value param.Field[SmartTieredCacheEditParamsValue] + ZoneID param.Field[string] + func (r SmartTieredCacheEditParams) MarshalJSON() (data []byte, err error) + type SmartTieredCacheEditParamsValue string + const SmartTieredCacheEditParamsValueOff + const SmartTieredCacheEditParamsValueOn + func (r SmartTieredCacheEditParamsValue) IsKnown() bool + type SmartTieredCacheEditResponse struct + Editable bool + ID SmartTieredCacheEditResponseID + JSON smartTieredCacheEditResponseJSON + ModifiedOn time.Time + Value SmartTieredCacheEditResponseValue + func (r *SmartTieredCacheEditResponse) UnmarshalJSON(data []byte) (err error) + type SmartTieredCacheEditResponseEnvelope struct + Errors []shared.ResponseInfo + JSON smartTieredCacheEditResponseEnvelopeJSON + Messages []shared.ResponseInfo + Result SmartTieredCacheEditResponse + Success SmartTieredCacheEditResponseEnvelopeSuccess + func (r *SmartTieredCacheEditResponseEnvelope) UnmarshalJSON(data []byte) (err error) + type SmartTieredCacheEditResponseEnvelopeSuccess bool + const SmartTieredCacheEditResponseEnvelopeSuccessTrue + func (r SmartTieredCacheEditResponseEnvelopeSuccess) IsKnown() bool + type SmartTieredCacheEditResponseID string + const SmartTieredCacheEditResponseIDTieredCacheSmartTopologyEnable + func (r SmartTieredCacheEditResponseID) IsKnown() bool + type SmartTieredCacheEditResponseValue string + const SmartTieredCacheEditResponseValueOff + const SmartTieredCacheEditResponseValueOn + func (r SmartTieredCacheEditResponseValue) IsKnown() bool + type SmartTieredCacheGetParams struct + ZoneID param.Field[string] + type SmartTieredCacheGetResponse struct + Editable bool + ID SmartTieredCacheGetResponseID + JSON smartTieredCacheGetResponseJSON + ModifiedOn time.Time + Value SmartTieredCacheGetResponseValue + func (r *SmartTieredCacheGetResponse) UnmarshalJSON(data []byte) (err error) + type SmartTieredCacheGetResponseEnvelope struct + Errors []shared.ResponseInfo + JSON smartTieredCacheGetResponseEnvelopeJSON + Messages []shared.ResponseInfo + Result SmartTieredCacheGetResponse + Success SmartTieredCacheGetResponseEnvelopeSuccess + func (r *SmartTieredCacheGetResponseEnvelope) UnmarshalJSON(data []byte) (err error) + type SmartTieredCacheGetResponseEnvelopeSuccess bool + const SmartTieredCacheGetResponseEnvelopeSuccessTrue + func (r SmartTieredCacheGetResponseEnvelopeSuccess) IsKnown() bool + type SmartTieredCacheGetResponseID string + const SmartTieredCacheGetResponseIDTieredCacheSmartTopologyEnable + func (r SmartTieredCacheGetResponseID) IsKnown() bool + type SmartTieredCacheGetResponseValue string + const SmartTieredCacheGetResponseValueOff + const SmartTieredCacheGetResponseValueOn + func (r SmartTieredCacheGetResponseValue) IsKnown() bool + type SmartTieredCacheNewParams struct + Value param.Field[SmartTieredCacheNewParamsValue] + ZoneID param.Field[string] + func (r SmartTieredCacheNewParams) MarshalJSON() (data []byte, err error) + type SmartTieredCacheNewParamsValue string + const SmartTieredCacheNewParamsValueOff + const SmartTieredCacheNewParamsValueOn + func (r SmartTieredCacheNewParamsValue) IsKnown() bool + type SmartTieredCacheNewResponse struct + Editable bool + ID SmartTieredCacheNewResponseID + JSON smartTieredCacheNewResponseJSON + ModifiedOn time.Time + Value SmartTieredCacheNewResponseValue + func (r *SmartTieredCacheNewResponse) UnmarshalJSON(data []byte) (err error) + type SmartTieredCacheNewResponseEnvelope struct + Errors []shared.ResponseInfo + JSON smartTieredCacheNewResponseEnvelopeJSON + Messages []shared.ResponseInfo + Result SmartTieredCacheNewResponse + Success SmartTieredCacheNewResponseEnvelopeSuccess + func (r *SmartTieredCacheNewResponseEnvelope) UnmarshalJSON(data []byte) (err error) + type SmartTieredCacheNewResponseEnvelopeSuccess bool + const SmartTieredCacheNewResponseEnvelopeSuccessTrue + func (r SmartTieredCacheNewResponseEnvelopeSuccess) IsKnown() bool + type SmartTieredCacheNewResponseID string + const SmartTieredCacheNewResponseIDTieredCacheSmartTopologyEnable + func (r SmartTieredCacheNewResponseID) IsKnown() bool + type SmartTieredCacheNewResponseValue string + const SmartTieredCacheNewResponseValueOff + const SmartTieredCacheNewResponseValueOn + func (r SmartTieredCacheNewResponseValue) IsKnown() bool + type SmartTieredCacheService struct + Options []option.RequestOption + func NewSmartTieredCacheService(opts ...option.RequestOption) (r *SmartTieredCacheService) + func (r *SmartTieredCacheService) Delete(ctx context.Context, body SmartTieredCacheDeleteParams, ...) (res *SmartTieredCacheDeleteResponse, err error) + func (r *SmartTieredCacheService) Edit(ctx context.Context, params SmartTieredCacheEditParams, ...) (res *SmartTieredCacheEditResponse, err error) + func (r *SmartTieredCacheService) Get(ctx context.Context, query SmartTieredCacheGetParams, ...) (res *SmartTieredCacheGetResponse, err error) + func (r *SmartTieredCacheService) New(ctx context.Context, params SmartTieredCacheNewParams, ...) (res *SmartTieredCacheNewResponse, err error) + type SortDirection = shared.SortDirection + type State string + const StateCompleted + const StateInProgress + func (r State) IsKnown() bool + type Subscription = shared.Subscription + type SubscriptionFrequency = shared.SubscriptionFrequency + type SubscriptionParam = shared.SubscriptionParam + type SubscriptionState = shared.SubscriptionState + type Token = shared.Token + type TokenCondition = shared.TokenCondition + type TokenConditionCIDRList = shared.TokenConditionCIDRList + type TokenConditionCIDRListParam = shared.TokenConditionCIDRListParam + type TokenConditionParam = shared.TokenConditionParam + type TokenConditionRequestIP = shared.TokenConditionRequestIP + type TokenConditionRequestIPParam = shared.TokenConditionRequestIPParam + type TokenParam = shared.TokenParam + type TokenPolicy = shared.TokenPolicy + type TokenPolicyEffect = shared.TokenPolicyEffect + type TokenPolicyParam = shared.TokenPolicyParam + type TokenPolicyPermissionGroup = shared.TokenPolicyPermissionGroup + type TokenPolicyPermissionGroupParam = shared.TokenPolicyPermissionGroupParam + type TokenPolicyPermissionGroupsMeta = shared.TokenPolicyPermissionGroupsMeta + type TokenPolicyPermissionGroupsMetaParam = shared.TokenPolicyPermissionGroupsMetaParam + type TokenPolicyResourcesIAMResourcesTypeObjectNested = shared.TokenPolicyResourcesIAMResourcesTypeObjectNested + type TokenPolicyResourcesIAMResourcesTypeObjectNestedParam = shared.TokenPolicyResourcesIAMResourcesTypeObjectNestedParam + type TokenPolicyResourcesIAMResourcesTypeObjectString = shared.TokenPolicyResourcesIAMResourcesTypeObjectString + type TokenPolicyResourcesIAMResourcesTypeObjectStringParam = shared.TokenPolicyResourcesIAMResourcesTypeObjectStringParam + type TokenPolicyResourcesUnion = shared.TokenPolicyResourcesUnion + type TokenPolicyResourcesUnionParam = shared.TokenPolicyResourcesUnionParam + type TokenStatus = shared.TokenStatus + type TokenValue = shared.TokenValue + type VariantDeleteParams struct + ZoneID param.Field[string] + type VariantDeleteResponse struct + Editable bool + ID VariantDeleteResponseID + JSON variantDeleteResponseJSON + ModifiedOn time.Time + func (r *VariantDeleteResponse) UnmarshalJSON(data []byte) (err error) + type VariantDeleteResponseEnvelope struct + Errors []shared.ResponseInfo + JSON variantDeleteResponseEnvelopeJSON + Messages []shared.ResponseInfo + Result VariantDeleteResponse + Success VariantDeleteResponseEnvelopeSuccess + func (r *VariantDeleteResponseEnvelope) UnmarshalJSON(data []byte) (err error) + type VariantDeleteResponseEnvelopeSuccess bool + const VariantDeleteResponseEnvelopeSuccessTrue + func (r VariantDeleteResponseEnvelopeSuccess) IsKnown() bool + type VariantDeleteResponseID string + const VariantDeleteResponseIDVariants + func (r VariantDeleteResponseID) IsKnown() bool + type VariantEditParams struct + Value param.Field[VariantEditParamsValue] + ZoneID param.Field[string] + func (r VariantEditParams) MarshalJSON() (data []byte, err error) + type VariantEditParamsValue struct + AVIF param.Field[[]string] + BMP param.Field[[]string] + GIF param.Field[[]string] + JP2 param.Field[[]string] + JPEG param.Field[[]string] + JPG param.Field[[]string] + JPG2 param.Field[[]string] + PNG param.Field[[]string] + TIF param.Field[[]string] + TIFF param.Field[[]string] + WebP param.Field[[]string] + func (r VariantEditParamsValue) MarshalJSON() (data []byte, err error) + type VariantEditResponse struct + Editable bool + ID VariantEditResponseID + JSON variantEditResponseJSON + ModifiedOn time.Time + Value VariantEditResponseValue + func (r *VariantEditResponse) UnmarshalJSON(data []byte) (err error) + type VariantEditResponseEnvelope struct + Errors []shared.ResponseInfo + JSON variantEditResponseEnvelopeJSON + Messages []shared.ResponseInfo + Result VariantEditResponse + Success VariantEditResponseEnvelopeSuccess + func (r *VariantEditResponseEnvelope) UnmarshalJSON(data []byte) (err error) + type VariantEditResponseEnvelopeSuccess bool + const VariantEditResponseEnvelopeSuccessTrue + func (r VariantEditResponseEnvelopeSuccess) IsKnown() bool + type VariantEditResponseID string + const VariantEditResponseIDVariants + func (r VariantEditResponseID) IsKnown() bool + type VariantEditResponseValue struct + AVIF []string + BMP []string + GIF []string + JP2 []string + JPEG []string + JPG []string + JPG2 []string + JSON variantEditResponseValueJSON + PNG []string + TIF []string + TIFF []string + WebP []string + func (r *VariantEditResponseValue) UnmarshalJSON(data []byte) (err error) + type VariantGetParams struct + ZoneID param.Field[string] + type VariantGetResponse struct + Editable bool + ID VariantGetResponseID + JSON variantGetResponseJSON + ModifiedOn time.Time + Value VariantGetResponseValue + func (r *VariantGetResponse) UnmarshalJSON(data []byte) (err error) + type VariantGetResponseEnvelope struct + Errors []shared.ResponseInfo + JSON variantGetResponseEnvelopeJSON + Messages []shared.ResponseInfo + Result VariantGetResponse + Success VariantGetResponseEnvelopeSuccess + func (r *VariantGetResponseEnvelope) UnmarshalJSON(data []byte) (err error) + type VariantGetResponseEnvelopeSuccess bool + const VariantGetResponseEnvelopeSuccessTrue + func (r VariantGetResponseEnvelopeSuccess) IsKnown() bool + type VariantGetResponseID string + const VariantGetResponseIDVariants + func (r VariantGetResponseID) IsKnown() bool + type VariantGetResponseValue struct + AVIF []string + BMP []string + GIF []string + JP2 []string + JPEG []string + JPG []string + JPG2 []string + JSON variantGetResponseValueJSON + PNG []string + TIF []string + TIFF []string + WebP []string + func (r *VariantGetResponseValue) UnmarshalJSON(data []byte) (err error) + type VariantService struct + Options []option.RequestOption + func NewVariantService(opts ...option.RequestOption) (r *VariantService) + func (r *VariantService) Delete(ctx context.Context, body VariantDeleteParams, opts ...option.RequestOption) (res *VariantDeleteResponse, err error) + func (r *VariantService) Edit(ctx context.Context, params VariantEditParams, opts ...option.RequestOption) (res *VariantEditResponse, err error) + func (r *VariantService) Get(ctx context.Context, query VariantGetParams, opts ...option.RequestOption) (res *VariantGetResponse, err error) Other modules containing this package github.com/cloudflare/cloudflare-go/v2 github.com/cloudflare/cloudflare-go/v3 github.com/cloudflare/cloudflare-go/v4 github.com/cloudflare/cloudflare-go/v5 github.com/cloudflare/cloudflare-go/v6