Versions in this module Expand all Collapse all v0 v0.25.0 Jan 19, 2026 v0.24.0 Jan 19, 2026 v0.23.2 Jan 18, 2026 v0.23.1 Jan 18, 2026 Changes in this version + type APIError struct + Code int + Message string + type AccessApplication struct + AllowedIdps []string + AppLauncherVisible bool + AutoRedirectToIdentity bool + CreatedAt time.Time + CustomDenyMessage string + CustomDenyURL string + Destinations []AccessDestination + Domain string + EnableBindingCookie bool + ID string + LogoURL string + Name string + Policies []AccessPolicy + SameSiteCookieAttribute string + SelfHostedDomains []string + ServiceAuth401Redirect bool + SessionDuration string + SkipInterstitial bool + Type string + UpdatedAt time.Time + type AccessDestination struct + Type string + URI string + type AccessGroup struct + CreatedAt time.Time + Exclude []AccessRule + ID string + Include []AccessRule + Name string + Require []AccessRule + UpdatedAt time.Time + type AccessIdentityProvider struct + Config map[string]interface{} + CreatedAt time.Time + ID string + Name string + Type string + UpdatedAt time.Time + type AccessPolicy struct + CreatedAt time.Time + Decision string + Exclude []AccessRule + ID string + Include []AccessRule + Name string + Precedence int + Require []AccessRule + UpdatedAt time.Time + type AccessRule struct + Country *CountryRule + Email *EmailRule + EmailDomain *EmailDomainRule + Everyone *EveryoneRule + Group *GroupRule + IPRange *IPRangeRule + ServiceToken *ServiceTokenRule + type AccessServiceToken struct + ClientID string + ClientSecret string + CreatedAt time.Time + Duration string + ExpiresAt time.Time + ID string + Name string + UpdatedAt time.Time + type Account struct + ID string + Name string + type ActivityLogSettings struct + Enabled bool + type AntiVirusSettings struct + EnabledDownloadPhase bool + EnabledUploadPhase bool + FailClosed bool + type BlockPageSettings struct + BackgroundColor string + Enabled bool + FooterText string + HeaderText string + LogoPath string + Name string + SuppressFooter bool + type CountryRule struct + CountryCode string + type DNSRecord struct + Comment string + Content string + CreatedOn time.Time + ID string + ModifiedOn time.Time + Name string + Priority *int + Proxied *bool + TTL int + Type string + ZoneID string + ZoneName string + type DevicePostureMatch struct + Platform string + type DevicePostureRule struct + CreatedAt time.Time + Description string + Expiration string + ID string + Input map[string]interface{} + Match []DevicePostureMatch + Name string + Schedule string + Type string + UpdatedAt time.Time + type DeviceSettingsPolicy struct + AllowModeSwitch *bool + AllowUpdates *bool + AllowedToLeave *bool + AutoConnect *int + CaptivePortal *int + CreatedAt time.Time + Default bool + Description string + DisableAutoFallback *bool + Enabled bool + ExcludeOfficeIPs *bool + GatewayUniqueID string + ID string + Match string + Name string + Precedence int + SupportURL string + SwitchLocked *bool + TunnelProtocol string + UpdatedAt time.Time + type Duration struct + type EmailDomainRule struct + Domain string + type EmailRule struct + Email string + type EveryoneRule struct + type ExtendedEmailMatchingSettings struct + Enabled bool + type FIPSSettings struct + TLS bool + type FallbackDomainEntry struct + DNSServer []string + Description string + Suffix string + type GatewayConfiguration struct + Settings GatewaySettings + type GatewayList struct + Count int + CreatedAt time.Time + Description string + ID string + Items []GatewayListItem + Name string + Type string + UpdatedAt time.Time + type GatewayListItem struct + CreatedAt time.Time + Description string + Value string + type GatewayRule struct + Action string + CreatedAt time.Time + Description string + Enabled bool + Filters []string + ID string + Identity string + Name string + Precedence int + RuleSettings map[string]interface{} + Traffic string + UpdatedAt time.Time + type GatewaySettings struct + ActivityLog *ActivityLogSettings + AntiVirus *AntiVirusSettings + BlockPage *BlockPageSettings + ExtendedEmailMatching *ExtendedEmailMatchingSettings + FIPS *FIPSSettings + ProtocolDetection *ProtocolDetectionSettings + TLSDecrypt *TLSDecryptSettings + type GroupRule struct + ID string + type IPRangeRule struct + IP string + type IngressRule struct + Hostname string + OriginRequest *OriginRequestConfig + Path string + Service string + type OriginCACertificate struct + CSR string + Certificate string + CreatedAt time.Time + ExpiresOn time.Time + Hostnames []string + ID string + RequestType string + RequestValidity int + type OriginRequestConfig struct + BastionMode *bool + CAPool *string + ConnectTimeout *Duration + DisableChunkedEncoding *bool + HTTP2Origin *bool + HTTPHostHeader *string + KeepAliveConnections *int + KeepAliveTimeout *Duration + NoHappyEyeballs *bool + NoTLSVerify *bool + OriginServerName *string + ProxyAddress *string + ProxyPort *int + ProxyType *string + TCPKeepAlive *Duration + TLSTimeout *Duration + type ProtocolDetectionSettings struct + Enabled bool + type R2Bucket struct + CreationDate time.Time + Location string + Name string + type RedirectRule struct + CreatedAt time.Time + Description string + Enabled bool + Expression string + ID string + Name string + PreserveQueryString bool + StatusCode int + TargetURL string + UpdatedAt time.Time + ZoneID string + type Response struct + Errors []APIError + Messages []string + Result T + ResultInfo *ResultInfo + Success bool + type ResultInfo struct + Count int + Page int + PerPage int + TotalCount int + type RulesetRule struct + Action string + ActionParameters map[string]interface{} + Description string + Enabled bool + Expression string + ID string + type ServiceTokenRule struct + TokenID string + type SplitTunnelEntry struct + Address string + Description string + Host string + type TLSDecryptSettings struct + Enabled bool + type TransformRule struct + Action string + ActionParams map[string]interface{} + CreatedAt time.Time + Description string + Enabled bool + Expression string + ID string + Name string + UpdatedAt time.Time + ZoneID string + type Tunnel struct + AccountTag string + ConfigSrc string + CreatedAt time.Time + DeletedAt *time.Time + ID string + Name string + RemoteConfig bool + Status string + TunnelSecret string + TunnelToken string + type TunnelConfiguration struct + Config TunnelConfigurationData + TunnelID string + Version int + type TunnelConfigurationData struct + Ingress []IngressRule + OriginRequest *OriginRequestConfig + WarpRouting *WarpRoutingConfig + type TunnelRoute struct + Comment string + CreatedAt time.Time + Network string + TunnelID string + TunnelName string + VirtualNetworkID string + type VirtualNetwork struct + Comment string + CreatedAt time.Time + DeletedAt *time.Time + ID string + IsDefaultNetwork bool + Name string + type WARPConnector struct + AccountID string + CreatedAt time.Time + ID string + Name string + Status string + Token string + type WarpRoutingConfig struct + Enabled bool + type Zone struct + ID string + Name string + Status string + type ZoneRuleset struct + CreatedAt time.Time + Description string + ID string + Kind string + Name string + Phase string + Rules []RulesetRule + UpdatedAt time.Time + Version string + ZoneID string + type ZoneSettings struct + Settings map[string]interface{} + ZoneID string