snippets
packageThis package is not in the latest version of its module.
Details
Validgo.mod file
The Go module system was introduced in Go 1.11 and is the official dependency management solution for Go.
Redistributable license
Redistributable licenses place minimal restrictions on how software can be used, modified, and redistributed.
Tagged version
Modules with tagged versions give importers more predictable builds.
Stable version
When a project reaches major version v1 it is considered stable.
- Learn more about best practices
Repository
Links
Documentation¶
Index¶
- Constants
- type ASN
- type ASNParam
- type AuditLog
- type AuditLogAction
- type AuditLogActor
- type AuditLogActorType
- type AuditLogOwner
- type AuditLogResource
- type CertificateCA
- type CertificateRequestType
- type CloudflareTunnel
- type CloudflareTunnelConnection
- type CloudflareTunnelStatus
- type CloudflareTunnelTunType
- type ContentGetParams
- type ContentService
- type Error
- type ErrorData
- type ErrorDataSource
- type Member
- type MemberPoliciesAccess
- type MemberPoliciesPermissionGroup
- type MemberPoliciesPermissionGroupsMeta
- type MemberPoliciesResourceGroup
- type MemberPoliciesResourceGroupsMeta
- type MemberPoliciesResourceGroupsScope
- type MemberPoliciesResourceGroupsScopeObject
- type MemberPolicy
- type MemberStatus
- type MemberUser
- type Permission
- type PermissionGrant
- type PermissionGrantParam
- type RatePlan
- type RatePlanID
- type RatePlanParam
- type ResponseInfo
- type ResponseInfoSource
- type Role
- type RoleParam
- type RolePermissions
- type RolePermissionsParam
- type RuleDeleteParams
- type RuleDeleteResponse
- type RuleDeleteResponseSuccess
- type RuleListParams
- type RuleListResponse
- type RuleService
- func (r *RuleService) Delete(ctx context.Context, body RuleDeleteParams, opts ...option.RequestOption) (res *RuleDeleteResponse, err error)
- func (r *RuleService) List(ctx context.Context, query RuleListParams, opts ...option.RequestOption) (res *pagination.SinglePage[RuleListResponse], err error)
- func (r *RuleService) ListAutoPaging(ctx context.Context, query RuleListParams, opts ...option.RequestOption) *pagination.SinglePageAutoPager[RuleListResponse]
- func (r *RuleService) Update(ctx context.Context, params RuleUpdateParams, opts ...option.RequestOption) (res *pagination.SinglePage[RuleUpdateResponse], err error)
- func (r *RuleService) UpdateAutoPaging(ctx context.Context, params RuleUpdateParams, opts ...option.RequestOption) *pagination.SinglePageAutoPager[RuleUpdateResponse]
- type RuleUpdateParams
- type RuleUpdateParamsRule
- type RuleUpdateResponse
- type Snippet
- type SnippetDeleteParams
- type SnippetDeleteResponse
- type SnippetDeleteResponseSuccess
- type SnippetGetParams
- type SnippetGetResponseEnvelope
- type SnippetGetResponseEnvelopeSuccess
- type SnippetListParams
- type SnippetService
- func (r *SnippetService) Delete(ctx context.Context, snippetName string, body SnippetDeleteParams, ...) (res *SnippetDeleteResponse, err error)
- func (r *SnippetService) Get(ctx context.Context, snippetName string, query SnippetGetParams, ...) (res *Snippet, err error)
- func (r *SnippetService) List(ctx context.Context, query SnippetListParams, opts ...option.RequestOption) (res *pagination.SinglePage[Snippet], err error)
- func (r *SnippetService) ListAutoPaging(ctx context.Context, query SnippetListParams, opts ...option.RequestOption) *pagination.SinglePageAutoPager[Snippet]
- func (r *SnippetService) Update(ctx context.Context, snippetName string, params SnippetUpdateParams, ...) (res *Snippet, err error)
- type SnippetUpdateParams
- type SnippetUpdateParamsMetadata
- type SnippetUpdateResponseEnvelope
- type SnippetUpdateResponseEnvelopeSuccess
- type SortDirection
- type Subscription
- type SubscriptionFrequency
- type SubscriptionParam
- type SubscriptionState
- type Token
- type TokenCondition
- type TokenConditionCIDRList
- type TokenConditionCIDRListParam
- type TokenConditionParam
- type TokenConditionRequestIP
- type TokenConditionRequestIPParam
- type TokenParam
- type TokenPolicy
- type TokenPolicyEffect
- type TokenPolicyParam
- type TokenPolicyPermissionGroup
- type TokenPolicyPermissionGroupParam
- type TokenPolicyPermissionGroupsMeta
- type TokenPolicyPermissionGroupsMetaParam
- type TokenPolicyResourcesMap
- type TokenPolicyResourcesMapParam
- type TokenPolicyResourcesUnion
- type TokenPolicyResourcesUnionParam
- type TokenStatus
- type TokenValue
Constants¶
const AuditLogActorTypeAdmin =shared.AuditLogActorTypeAdmin
This is an alias to an internal value.
const AuditLogActorTypeCloudflare =shared.AuditLogActorTypeCloudflare
This is an alias to an internal value.
const AuditLogActorTypeUser =shared.AuditLogActorTypeUser
This is an alias to an internal value.
const CertificateCADigicert =shared.CertificateCADigicert
This is an alias to an internal value.
const CertificateCAGoogle =shared.CertificateCAGoogle
This is an alias to an internal value.
const CertificateCALetsEncrypt =shared.CertificateCALetsEncrypt
This is an alias to an internal value.
const CertificateCASSLCom =shared.CertificateCASSLCom
This is an alias to an internal value.
const CertificateRequestTypeKeylessCertificate =shared.CertificateRequestTypeKeylessCertificate
This is an alias to an internal value.
const CertificateRequestTypeOriginECC =shared.CertificateRequestTypeOriginECC
This is an alias to an internal value.
const CertificateRequestTypeOriginRSA =shared.CertificateRequestTypeOriginRSA
This is an alias to an internal value.
const CloudflareTunnelStatusDegraded =shared.CloudflareTunnelStatusDegraded
This is an alias to an internal value.
const CloudflareTunnelStatusDown =shared.CloudflareTunnelStatusDown
This is an alias to an internal value.
const CloudflareTunnelStatusHealthy =shared.CloudflareTunnelStatusHealthy
This is an alias to an internal value.
const CloudflareTunnelStatusInactive =shared.CloudflareTunnelStatusInactive
This is an alias to an internal value.
const CloudflareTunnelTunTypeCNI =shared.CloudflareTunnelTunTypeCNI
This is an alias to an internal value.
const CloudflareTunnelTunTypeCfdTunnel =shared.CloudflareTunnelTunTypeCfdTunnel
This is an alias to an internal value.
const CloudflareTunnelTunTypeGRE =shared.CloudflareTunnelTunTypeGRE
This is an alias to an internal value.
const CloudflareTunnelTunTypeIPSec =shared.CloudflareTunnelTunTypeIPSec
This is an alias to an internal value.
const CloudflareTunnelTunTypeMagic =shared.CloudflareTunnelTunTypeMagic
This is an alias to an internal value.
const CloudflareTunnelTunTypeWARP =shared.CloudflareTunnelTunTypeWARP
This is an alias to an internal value.
const CloudflareTunnelTunTypeWARPConnector =shared.CloudflareTunnelTunTypeWARPConnector
This is an alias to an internal value.
const MemberPoliciesAccessAllow =shared.MemberPoliciesAccessAllow
This is an alias to an internal value.
const MemberPoliciesAccessDeny =shared.MemberPoliciesAccessDeny
This is an alias to an internal value.
const MemberStatusAccepted =shared.MemberStatusAccepted
This is an alias to an internal value.
const MemberStatusPending =shared.MemberStatusPending
This is an alias to an internal value.
const RatePlanIDBusiness =shared.RatePlanIDBusiness
This is an alias to an internal value.
const RatePlanIDEnterprise =shared.RatePlanIDEnterprise
This is an alias to an internal value.
const RatePlanIDFree =shared.RatePlanIDFree
This is an alias to an internal value.
const RatePlanIDLite =shared.RatePlanIDLite
This is an alias to an internal value.
const RatePlanIDPartnersBusiness =shared.RatePlanIDPartnersBusiness
This is an alias to an internal value.
const RatePlanIDPartnersEnterprise =shared.RatePlanIDPartnersEnterprise
This is an alias to an internal value.
const RatePlanIDPartnersFree =shared.RatePlanIDPartnersFree
This is an alias to an internal value.
const RatePlanIDPartnersPro =shared.RatePlanIDPartnersPro
This is an alias to an internal value.
const RatePlanIDPro =shared.RatePlanIDPro
This is an alias to an internal value.
const RatePlanIDProPlus =shared.RatePlanIDProPlus
This is an alias to an internal value.
const SortDirectionAsc =shared.SortDirectionAsc
This is an alias to an internal value.
const SortDirectionDesc =shared.SortDirectionDesc
This is an alias to an internal value.
const SubscriptionFrequencyMonthly =shared.SubscriptionFrequencyMonthly
This is an alias to an internal value.
const SubscriptionFrequencyQuarterly =shared.SubscriptionFrequencyQuarterly
This is an alias to an internal value.
const SubscriptionFrequencyWeekly =shared.SubscriptionFrequencyWeekly
This is an alias to an internal value.
const SubscriptionFrequencyYearly =shared.SubscriptionFrequencyYearly
This is an alias to an internal value.
const SubscriptionStateAwaitingPayment =shared.SubscriptionStateAwaitingPayment
This is an alias to an internal value.
const SubscriptionStateCancelled =shared.SubscriptionStateCancelled
This is an alias to an internal value.
const SubscriptionStateExpired =shared.SubscriptionStateExpired
This is an alias to an internal value.
const SubscriptionStateFailed =shared.SubscriptionStateFailed
This is an alias to an internal value.
const SubscriptionStatePaid =shared.SubscriptionStatePaid
This is an alias to an internal value.
const SubscriptionStateProvisioned =shared.SubscriptionStateProvisioned
This is an alias to an internal value.
const SubscriptionStateTrial =shared.SubscriptionStateTrial
This is an alias to an internal value.
const TokenPolicyEffectAllow =shared.TokenPolicyEffectAllow
This is an alias to an internal value.
const TokenPolicyEffectDeny =shared.TokenPolicyEffectDeny
This is an alias to an internal value.
const TokenStatusActive =shared.TokenStatusActive
This is an alias to an internal value.
const TokenStatusDisabled =shared.TokenStatusDisabled
This is an alias to an internal value.
const TokenStatusExpired =shared.TokenStatusExpired
This is an alias to an internal value.
Variables¶
This section is empty.
Functions¶
This section is empty.
Types¶
typeAuditLogActorType¶
type AuditLogActorType =shared.AuditLogActorType
The type of actor, whether a User, Cloudflare Admin, or an Automated System.
This is an alias to an internal type.
typeAuditLogResource¶
type AuditLogResource =shared.AuditLogResource
This is an alias to an internal type.
typeCertificateCA¶
type CertificateCA =shared.CertificateCA
The Certificate Authority that will issue the certificate
This is an alias to an internal type.
typeCertificateRequestType¶
type CertificateRequestType =shared.CertificateRequestType
Signature type desired on certificate ("origin-rsa" (rsa), "origin-ecc" (ecdsa),or "keyless-certificate" (for Keyless SSL servers).
This is an alias to an internal type.
typeCloudflareTunnel¶
type CloudflareTunnel =shared.CloudflareTunnel
A Cloudflare Tunnel that connects your origin to Cloudflare's edge.
This is an alias to an internal type.
typeCloudflareTunnelConnection¶
type CloudflareTunnelConnection =shared.CloudflareTunnelConnection
This is an alias to an internal type.
typeCloudflareTunnelStatus¶
type CloudflareTunnelStatus =shared.CloudflareTunnelStatus
The status of the tunnel. Valid values are `inactive` (tunnel has never beenrun), `degraded` (tunnel is active and able to serve traffic but in an unhealthystate), `healthy` (tunnel is active and able to serve traffic), or `down`(tunnel can not serve traffic as it has no connections to the Cloudflare Edge).
This is an alias to an internal type.
typeCloudflareTunnelTunType¶
type CloudflareTunnelTunType =shared.CloudflareTunnelTunType
The type of tunnel.
This is an alias to an internal type.
typeContentService¶
type ContentService struct {Options []option.RequestOption}
ContentService contains methods and other services that help with interactingwith the cloudflare API.
Note, unlike clients, this service does not read variables from the environmentautomatically. You should not instantiate this service directly, and instead usetheNewContentService method instead.
funcNewContentService¶
func NewContentService(opts ...option.RequestOption) (r *ContentService)
NewContentService generates a new service that applies the given options to eachrequest. These options are applied after the parent client's options (if thereis one), and before any request-specific options.
func (*ContentService)Get¶
func (r *ContentService) Get(ctxcontext.Context, snippetNamestring, queryContentGetParams, opts ...option.RequestOption) (res *http.Response, errerror)
Snippet Content
typeErrorDataSource¶added inv4.2.0
type ErrorDataSource =shared.ErrorDataSource
This is an alias to an internal type.
typeMemberPoliciesAccess¶
type MemberPoliciesAccess =shared.MemberPoliciesAccess
Allow or deny operations against the resources.
This is an alias to an internal type.
typeMemberPoliciesPermissionGroup¶
type MemberPoliciesPermissionGroup =shared.MemberPoliciesPermissionGroup
A named group of permissions that map to a group of operations againstresources.
This is an alias to an internal type.
typeMemberPoliciesPermissionGroupsMeta¶
type MemberPoliciesPermissionGroupsMeta =shared.MemberPoliciesPermissionGroupsMeta
Attributes associated to the permission group.
This is an alias to an internal type.
typeMemberPoliciesResourceGroup¶
type MemberPoliciesResourceGroup =shared.MemberPoliciesResourceGroup
A group of scoped resources.
This is an alias to an internal type.
typeMemberPoliciesResourceGroupsMeta¶
type MemberPoliciesResourceGroupsMeta =shared.MemberPoliciesResourceGroupsMeta
Attributes associated to the resource group.
This is an alias to an internal type.
typeMemberPoliciesResourceGroupsScope¶
type MemberPoliciesResourceGroupsScope =shared.MemberPoliciesResourceGroupsScope
A scope is a combination of scope objects which provides additional context.
This is an alias to an internal type.
typeMemberPoliciesResourceGroupsScopeObject¶
type MemberPoliciesResourceGroupsScopeObject =shared.MemberPoliciesResourceGroupsScopeObject
A scope object represents any resource that can have actions applied againstinvite.
This is an alias to an internal type.
typeMemberStatus¶
type MemberStatus =shared.MemberStatus
A member's status in the account.
This is an alias to an internal type.
typeMemberUser¶
type MemberUser =shared.MemberUser
Details of the user associated to the membership.
This is an alias to an internal type.
typePermissionGrant¶
type PermissionGrant =shared.PermissionGrant
This is an alias to an internal type.
typePermissionGrantParam¶
type PermissionGrantParam =shared.PermissionGrantParam
This is an alias to an internal type.
typeRatePlanID¶added inv4.1.0
type RatePlanID =shared.RatePlanID
The ID of the rate plan.
This is an alias to an internal type.
typeRatePlanParam¶
type RatePlanParam =shared.RatePlanParam
The rate plan applied to the subscription.
This is an alias to an internal type.
typeResponseInfoSource¶added inv4.3.0
type ResponseInfoSource =shared.ResponseInfoSource
This is an alias to an internal type.
typeRolePermissions¶
type RolePermissions =shared.RolePermissions
This is an alias to an internal type.
typeRolePermissionsParam¶
type RolePermissionsParam =shared.RolePermissionsParam
This is an alias to an internal type.
typeRuleDeleteResponse¶
type RuleDeleteResponse struct {Errors []shared.ResponseInfo `json:"errors,required"`Messages []shared.ResponseInfo `json:"messages,required"`// Whether the API call was successfulSuccessRuleDeleteResponseSuccess `json:"success,required"`JSON ruleDeleteResponseJSON `json:"-"`}
func (*RuleDeleteResponse)UnmarshalJSON¶
func (r *RuleDeleteResponse) UnmarshalJSON(data []byte) (errerror)
typeRuleDeleteResponseSuccess¶
type RuleDeleteResponseSuccessbool
Whether the API call was successful
const (RuleDeleteResponseSuccessTrueRuleDeleteResponseSuccess =true)
func (RuleDeleteResponseSuccess)IsKnown¶
func (rRuleDeleteResponseSuccess) IsKnown()bool
typeRuleListParams¶
typeRuleListResponse¶
type RuleListResponse struct {Descriptionstring `json:"description"`Enabledbool `json:"enabled"`Expressionstring `json:"expression"`// Snippet identifying nameSnippetNamestring `json:"snippet_name"`JSON ruleListResponseJSON `json:"-"`}
func (*RuleListResponse)UnmarshalJSON¶
func (r *RuleListResponse) UnmarshalJSON(data []byte) (errerror)
typeRuleService¶
type RuleService struct {Options []option.RequestOption}
RuleService contains methods and other services that help with interacting withthe cloudflare API.
Note, unlike clients, this service does not read variables from the environmentautomatically. You should not instantiate this service directly, and instead usetheNewRuleService method instead.
funcNewRuleService¶
func NewRuleService(opts ...option.RequestOption) (r *RuleService)
NewRuleService generates a new service that applies the given options to eachrequest. These options are applied after the parent client's options (if thereis one), and before any request-specific options.
func (*RuleService)Delete¶
func (r *RuleService) Delete(ctxcontext.Context, bodyRuleDeleteParams, opts ...option.RequestOption) (res *RuleDeleteResponse, errerror)
Delete All Rules
func (*RuleService)List¶
func (r *RuleService) List(ctxcontext.Context, queryRuleListParams, opts ...option.RequestOption) (res *pagination.SinglePage[RuleListResponse], errerror)
Rules
func (*RuleService)ListAutoPaging¶
func (r *RuleService) ListAutoPaging(ctxcontext.Context, queryRuleListParams, opts ...option.RequestOption) *pagination.SinglePageAutoPager[RuleListResponse]
Rules
func (*RuleService)Update¶
func (r *RuleService) Update(ctxcontext.Context, paramsRuleUpdateParams, opts ...option.RequestOption) (res *pagination.SinglePage[RuleUpdateResponse], errerror)
Put Rules
func (*RuleService)UpdateAutoPaging¶added inv4.1.0
func (r *RuleService) UpdateAutoPaging(ctxcontext.Context, paramsRuleUpdateParams, opts ...option.RequestOption) *pagination.SinglePageAutoPager[RuleUpdateResponse]
Put Rules
typeRuleUpdateParams¶
type RuleUpdateParams struct {// IdentifierZoneIDparam.Field[string] `path:"zone_id,required"`// List of snippet rulesRulesparam.Field[[]RuleUpdateParamsRule] `json:"rules"`}
func (RuleUpdateParams)MarshalJSON¶
func (rRuleUpdateParams) MarshalJSON() (data []byte, errerror)
typeRuleUpdateParamsRule¶
type RuleUpdateParamsRule struct {Descriptionparam.Field[string] `json:"description"`Enabledparam.Field[bool] `json:"enabled"`Expressionparam.Field[string] `json:"expression"`// Snippet identifying nameSnippetNameparam.Field[string] `json:"snippet_name"`}
func (RuleUpdateParamsRule)MarshalJSON¶
func (rRuleUpdateParamsRule) MarshalJSON() (data []byte, errerror)
typeRuleUpdateResponse¶
type RuleUpdateResponse struct {Descriptionstring `json:"description"`Enabledbool `json:"enabled"`Expressionstring `json:"expression"`// Snippet identifying nameSnippetNamestring `json:"snippet_name"`JSON ruleUpdateResponseJSON `json:"-"`}
func (*RuleUpdateResponse)UnmarshalJSON¶
func (r *RuleUpdateResponse) UnmarshalJSON(data []byte) (errerror)
typeSnippet¶
type Snippet struct {// Creation time of the snippetCreatedOnstring `json:"created_on"`// Modification time of the snippetModifiedOnstring `json:"modified_on"`// Snippet identifying nameSnippetNamestring `json:"snippet_name"`JSON snippetJSON `json:"-"`}
Snippet Information
func (*Snippet)UnmarshalJSON¶
typeSnippetDeleteResponse¶
type SnippetDeleteResponse struct {Errors []shared.ResponseInfo `json:"errors,required"`Messages []shared.ResponseInfo `json:"messages,required"`// Whether the API call was successfulSuccessSnippetDeleteResponseSuccess `json:"success,required"`JSON snippetDeleteResponseJSON `json:"-"`}
func (*SnippetDeleteResponse)UnmarshalJSON¶
func (r *SnippetDeleteResponse) UnmarshalJSON(data []byte) (errerror)
typeSnippetDeleteResponseSuccess¶
type SnippetDeleteResponseSuccessbool
Whether the API call was successful
const (SnippetDeleteResponseSuccessTrueSnippetDeleteResponseSuccess =true)
func (SnippetDeleteResponseSuccess)IsKnown¶
func (rSnippetDeleteResponseSuccess) IsKnown()bool
typeSnippetGetResponseEnvelope¶
type SnippetGetResponseEnvelope struct {Errors []shared.ResponseInfo `json:"errors,required"`Messages []shared.ResponseInfo `json:"messages,required"`// Whether the API call was successfulSuccessSnippetGetResponseEnvelopeSuccess `json:"success,required"`// Snippet InformationResultSnippet `json:"result"`JSON snippetGetResponseEnvelopeJSON `json:"-"`}
func (*SnippetGetResponseEnvelope)UnmarshalJSON¶
func (r *SnippetGetResponseEnvelope) UnmarshalJSON(data []byte) (errerror)
typeSnippetGetResponseEnvelopeSuccess¶
type SnippetGetResponseEnvelopeSuccessbool
Whether the API call was successful
const (SnippetGetResponseEnvelopeSuccessTrueSnippetGetResponseEnvelopeSuccess =true)
func (SnippetGetResponseEnvelopeSuccess)IsKnown¶
func (rSnippetGetResponseEnvelopeSuccess) IsKnown()bool
typeSnippetService¶
type SnippetService struct {Options []option.RequestOptionContent *ContentServiceRules *RuleService}
SnippetService contains methods and other services that help with interactingwith the cloudflare API.
Note, unlike clients, this service does not read variables from the environmentautomatically. You should not instantiate this service directly, and instead usetheNewSnippetService method instead.
funcNewSnippetService¶
func NewSnippetService(opts ...option.RequestOption) (r *SnippetService)
NewSnippetService generates a new service that applies the given options to eachrequest. These options are applied after the parent client's options (if thereis one), and before any request-specific options.
func (*SnippetService)Delete¶
func (r *SnippetService) Delete(ctxcontext.Context, snippetNamestring, bodySnippetDeleteParams, opts ...option.RequestOption) (res *SnippetDeleteResponse, errerror)
Delete Snippet
func (*SnippetService)Get¶
func (r *SnippetService) Get(ctxcontext.Context, snippetNamestring, querySnippetGetParams, opts ...option.RequestOption) (res *Snippet, errerror)
Snippet
func (*SnippetService)List¶
func (r *SnippetService) List(ctxcontext.Context, querySnippetListParams, opts ...option.RequestOption) (res *pagination.SinglePage[Snippet], errerror)
All Snippets
func (*SnippetService)ListAutoPaging¶
func (r *SnippetService) ListAutoPaging(ctxcontext.Context, querySnippetListParams, opts ...option.RequestOption) *pagination.SinglePageAutoPager[Snippet]
All Snippets
func (*SnippetService)Update¶
func (r *SnippetService) Update(ctxcontext.Context, snippetNamestring, paramsSnippetUpdateParams, opts ...option.RequestOption) (res *Snippet, errerror)
Put Snippet
typeSnippetUpdateParams¶
type SnippetUpdateParams struct {// IdentifierZoneIDparam.Field[string] `path:"zone_id,required"`// Content files of uploaded snippetFilesparam.Field[string] `json:"files"`Metadataparam.Field[SnippetUpdateParamsMetadata] `json:"metadata"`}
func (SnippetUpdateParams)MarshalMultipart¶
func (rSnippetUpdateParams) MarshalMultipart() (data []byte, contentTypestring, errerror)
typeSnippetUpdateParamsMetadata¶
type SnippetUpdateParamsMetadata struct {// Main module name of uploaded snippetMainModuleparam.Field[string] `json:"main_module"`}
func (SnippetUpdateParamsMetadata)MarshalJSON¶
func (rSnippetUpdateParamsMetadata) MarshalJSON() (data []byte, errerror)
typeSnippetUpdateResponseEnvelope¶
type SnippetUpdateResponseEnvelope struct {Errors []shared.ResponseInfo `json:"errors,required"`Messages []shared.ResponseInfo `json:"messages,required"`// Whether the API call was successfulSuccessSnippetUpdateResponseEnvelopeSuccess `json:"success,required"`// Snippet InformationResultSnippet `json:"result"`JSON snippetUpdateResponseEnvelopeJSON `json:"-"`}
func (*SnippetUpdateResponseEnvelope)UnmarshalJSON¶
func (r *SnippetUpdateResponseEnvelope) UnmarshalJSON(data []byte) (errerror)
typeSnippetUpdateResponseEnvelopeSuccess¶
type SnippetUpdateResponseEnvelopeSuccessbool
Whether the API call was successful
const (SnippetUpdateResponseEnvelopeSuccessTrueSnippetUpdateResponseEnvelopeSuccess =true)
func (SnippetUpdateResponseEnvelopeSuccess)IsKnown¶
func (rSnippetUpdateResponseEnvelopeSuccess) IsKnown()bool
typeSortDirection¶
type SortDirection =shared.SortDirection
Direction to order DNS records in.
This is an alias to an internal type.
typeSubscriptionFrequency¶
type SubscriptionFrequency =shared.SubscriptionFrequency
How often the subscription is renewed automatically.
This is an alias to an internal type.
typeSubscriptionParam¶
type SubscriptionParam =shared.SubscriptionParam
This is an alias to an internal type.
typeSubscriptionState¶
type SubscriptionState =shared.SubscriptionState
The state that the subscription is in.
This is an alias to an internal type.
typeTokenConditionCIDRList¶
type TokenConditionCIDRList =shared.TokenConditionCIDRList
IPv4/IPv6 CIDR.
This is an alias to an internal type.
typeTokenConditionCIDRListParam¶
type TokenConditionCIDRListParam =shared.TokenConditionCIDRListParam
IPv4/IPv6 CIDR.
This is an alias to an internal type.
typeTokenConditionParam¶
type TokenConditionParam =shared.TokenConditionParam
This is an alias to an internal type.
typeTokenConditionRequestIP¶
type TokenConditionRequestIP =shared.TokenConditionRequestIP
Client IP restrictions.
This is an alias to an internal type.
typeTokenConditionRequestIPParam¶
type TokenConditionRequestIPParam =shared.TokenConditionRequestIPParam
Client IP restrictions.
This is an alias to an internal type.
typeTokenPolicyEffect¶
type TokenPolicyEffect =shared.TokenPolicyEffect
Allow or deny operations against the resources.
This is an alias to an internal type.
typeTokenPolicyParam¶
type TokenPolicyParam =shared.TokenPolicyParam
This is an alias to an internal type.
typeTokenPolicyPermissionGroup¶
type TokenPolicyPermissionGroup =shared.TokenPolicyPermissionGroup
A named group of permissions that map to a group of operations againstresources.
This is an alias to an internal type.
typeTokenPolicyPermissionGroupParam¶
type TokenPolicyPermissionGroupParam =shared.TokenPolicyPermissionGroupParam
A named group of permissions that map to a group of operations againstresources.
This is an alias to an internal type.
typeTokenPolicyPermissionGroupsMeta¶
type TokenPolicyPermissionGroupsMeta =shared.TokenPolicyPermissionGroupsMeta
Attributes associated to the permission group.
This is an alias to an internal type.
typeTokenPolicyPermissionGroupsMetaParam¶
type TokenPolicyPermissionGroupsMetaParam =shared.TokenPolicyPermissionGroupsMetaParam
Attributes associated to the permission group.
This is an alias to an internal type.
typeTokenPolicyResourcesMap¶added inv4.6.0
type TokenPolicyResourcesMap =shared.TokenPolicyResourcesMap
A nested permission grant for further scoping.
This is an alias to an internal type.
typeTokenPolicyResourcesMapParam¶added inv4.6.0
type TokenPolicyResourcesMapParam =shared.TokenPolicyResourcesMapParam
A nested permission grant for further scoping.
This is an alias to an internal type.
typeTokenPolicyResourcesUnion¶added inv4.6.0
type TokenPolicyResourcesUnion =shared.TokenPolicyResourcesUnion
A simple wildcard permission, e.g., "\*".
This is an alias to an internal type.
typeTokenPolicyResourcesUnionParam¶added inv4.6.0
type TokenPolicyResourcesUnionParam =shared.TokenPolicyResourcesUnionParam
A simple wildcard permission, e.g., "\*".
This is an alias to an internal type.
typeTokenStatus¶
type TokenStatus =shared.TokenStatus
Status of the token.
This is an alias to an internal type.
typeTokenValue¶
type TokenValue =shared.TokenValue
The token value.
This is an alias to an internal type.