Documentation
¶
Index ¶
- Constants
- type ASN
- type ASNParam
- type AccountTagDeleteParams
- type AccountTagGetParams
- type AccountTagGetParamsResourceType
- type AccountTagGetResponse
- type AccountTagGetResponseEnvelope
- type AccountTagGetResponseEnvelopeErrors
- type AccountTagGetResponseEnvelopeErrorsSource
- type AccountTagGetResponseEnvelopeMessages
- type AccountTagGetResponseEnvelopeMessagesSource
- type AccountTagGetResponseEnvelopeSuccess
- type AccountTagGetResponseResourceTaggingTaggedResourceObjectAIGateway
- type AccountTagGetResponseResourceTaggingTaggedResourceObjectAIGatewayType
- type AccountTagGetResponseResourceTaggingTaggedResourceObjectAPIGatewayOperation
- type AccountTagGetResponseResourceTaggingTaggedResourceObjectAPIGatewayOperationType
- type AccountTagGetResponseResourceTaggingTaggedResourceObjectAccessApplication
- type AccountTagGetResponseResourceTaggingTaggedResourceObjectAccessApplicationPolicy
- type AccountTagGetResponseResourceTaggingTaggedResourceObjectAccessApplicationPolicyType
- type AccountTagGetResponseResourceTaggingTaggedResourceObjectAccessApplicationType
- type AccountTagGetResponseResourceTaggingTaggedResourceObjectAccessGroup
- type AccountTagGetResponseResourceTaggingTaggedResourceObjectAccessGroupType
- type AccountTagGetResponseResourceTaggingTaggedResourceObjectAccount
- type AccountTagGetResponseResourceTaggingTaggedResourceObjectAccountType
- type AccountTagGetResponseResourceTaggingTaggedResourceObjectAlertingPolicy
- type AccountTagGetResponseResourceTaggingTaggedResourceObjectAlertingPolicyType
- type AccountTagGetResponseResourceTaggingTaggedResourceObjectAlertingWebhook
- type AccountTagGetResponseResourceTaggingTaggedResourceObjectAlertingWebhookType
- type AccountTagGetResponseResourceTaggingTaggedResourceObjectCloudflaredTunnel
- type AccountTagGetResponseResourceTaggingTaggedResourceObjectCloudflaredTunnelType
- type AccountTagGetResponseResourceTaggingTaggedResourceObjectCustomCertificate
- type AccountTagGetResponseResourceTaggingTaggedResourceObjectCustomCertificateType
- type AccountTagGetResponseResourceTaggingTaggedResourceObjectCustomHostname
- type AccountTagGetResponseResourceTaggingTaggedResourceObjectCustomHostnameType
- type AccountTagGetResponseResourceTaggingTaggedResourceObjectD1Database
- type AccountTagGetResponseResourceTaggingTaggedResourceObjectD1DatabaseType
- type AccountTagGetResponseResourceTaggingTaggedResourceObjectDNSRecord
- type AccountTagGetResponseResourceTaggingTaggedResourceObjectDNSRecordType
- type AccountTagGetResponseResourceTaggingTaggedResourceObjectDurableObjectNamespace
- type AccountTagGetResponseResourceTaggingTaggedResourceObjectDurableObjectNamespaceType
- type AccountTagGetResponseResourceTaggingTaggedResourceObjectGatewayList
- type AccountTagGetResponseResourceTaggingTaggedResourceObjectGatewayListType
- type AccountTagGetResponseResourceTaggingTaggedResourceObjectGatewayRule
- type AccountTagGetResponseResourceTaggingTaggedResourceObjectGatewayRuleType
- type AccountTagGetResponseResourceTaggingTaggedResourceObjectImage
- type AccountTagGetResponseResourceTaggingTaggedResourceObjectImageType
- type AccountTagGetResponseResourceTaggingTaggedResourceObjectKVNamespace
- type AccountTagGetResponseResourceTaggingTaggedResourceObjectKVNamespaceType
- type AccountTagGetResponseResourceTaggingTaggedResourceObjectManagedClientCertificate
- type AccountTagGetResponseResourceTaggingTaggedResourceObjectManagedClientCertificateType
- type AccountTagGetResponseResourceTaggingTaggedResourceObjectQueue
- type AccountTagGetResponseResourceTaggingTaggedResourceObjectQueueType
- type AccountTagGetResponseResourceTaggingTaggedResourceObjectR2Bucket
- type AccountTagGetResponseResourceTaggingTaggedResourceObjectR2BucketType
- type AccountTagGetResponseResourceTaggingTaggedResourceObjectResourceShare
- type AccountTagGetResponseResourceTaggingTaggedResourceObjectResourceShareType
- type AccountTagGetResponseResourceTaggingTaggedResourceObjectStreamLiveInput
- type AccountTagGetResponseResourceTaggingTaggedResourceObjectStreamLiveInputType
- type AccountTagGetResponseResourceTaggingTaggedResourceObjectStreamVideo
- type AccountTagGetResponseResourceTaggingTaggedResourceObjectStreamVideoType
- type AccountTagGetResponseResourceTaggingTaggedResourceObjectWorker
- type AccountTagGetResponseResourceTaggingTaggedResourceObjectWorkerType
- type AccountTagGetResponseResourceTaggingTaggedResourceObjectWorkerVersion
- type AccountTagGetResponseResourceTaggingTaggedResourceObjectWorkerVersionType
- type AccountTagGetResponseResourceTaggingTaggedResourceObjectZone
- type AccountTagGetResponseResourceTaggingTaggedResourceObjectZoneType
- type AccountTagGetResponseType
- type AccountTagGetResponseUnion
- type AccountTagService
- func (r *AccountTagService) Delete(ctx context.Context, params AccountTagDeleteParams, ...) (err error)
- func (r *AccountTagService) Get(ctx context.Context, params AccountTagGetParams, opts ...option.RequestOption) (res *AccountTagGetResponse, err error)
- func (r *AccountTagService) Update(ctx context.Context, params AccountTagUpdateParams, ...) (res *AccountTagUpdateResponse, err error)
- type AccountTagUpdateParams
- type AccountTagUpdateParamsBody
- type AccountTagUpdateParamsBodyResourceTaggingSetTagsRequestAccountLevelBase
- type AccountTagUpdateParamsBodyResourceTaggingSetTagsRequestAccountLevelBaseResourceType
- type AccountTagUpdateParamsBodyResourceTaggingSetTagsRequestAccountLevelWorkerVersion
- type AccountTagUpdateParamsBodyResourceTaggingSetTagsRequestAccountLevelWorkerVersionResourceType
- type AccountTagUpdateParamsBodyResourceType
- type AccountTagUpdateParamsBodyUnion
- type AccountTagUpdateResponse
- type AccountTagUpdateResponseEnvelope
- type AccountTagUpdateResponseEnvelopeErrors
- type AccountTagUpdateResponseEnvelopeErrorsSource
- type AccountTagUpdateResponseEnvelopeMessages
- type AccountTagUpdateResponseEnvelopeMessagesSource
- type AccountTagUpdateResponseEnvelopeSuccess
- type AccountTagUpdateResponseResourceTaggingTaggedResourceObjectAIGateway
- type AccountTagUpdateResponseResourceTaggingTaggedResourceObjectAIGatewayType
- type AccountTagUpdateResponseResourceTaggingTaggedResourceObjectAPIGatewayOperation
- type AccountTagUpdateResponseResourceTaggingTaggedResourceObjectAPIGatewayOperationType
- type AccountTagUpdateResponseResourceTaggingTaggedResourceObjectAccessApplication
- type AccountTagUpdateResponseResourceTaggingTaggedResourceObjectAccessApplicationPolicy
- type AccountTagUpdateResponseResourceTaggingTaggedResourceObjectAccessApplicationPolicyType
- type AccountTagUpdateResponseResourceTaggingTaggedResourceObjectAccessApplicationType
- type AccountTagUpdateResponseResourceTaggingTaggedResourceObjectAccessGroup
- type AccountTagUpdateResponseResourceTaggingTaggedResourceObjectAccessGroupType
- type AccountTagUpdateResponseResourceTaggingTaggedResourceObjectAccount
- type AccountTagUpdateResponseResourceTaggingTaggedResourceObjectAccountType
- type AccountTagUpdateResponseResourceTaggingTaggedResourceObjectAlertingPolicy
- type AccountTagUpdateResponseResourceTaggingTaggedResourceObjectAlertingPolicyType
- type AccountTagUpdateResponseResourceTaggingTaggedResourceObjectAlertingWebhook
- type AccountTagUpdateResponseResourceTaggingTaggedResourceObjectAlertingWebhookType
- type AccountTagUpdateResponseResourceTaggingTaggedResourceObjectCloudflaredTunnel
- type AccountTagUpdateResponseResourceTaggingTaggedResourceObjectCloudflaredTunnelType
- type AccountTagUpdateResponseResourceTaggingTaggedResourceObjectCustomCertificate
- type AccountTagUpdateResponseResourceTaggingTaggedResourceObjectCustomCertificateType
- type AccountTagUpdateResponseResourceTaggingTaggedResourceObjectCustomHostname
- type AccountTagUpdateResponseResourceTaggingTaggedResourceObjectCustomHostnameType
- type AccountTagUpdateResponseResourceTaggingTaggedResourceObjectD1Database
- type AccountTagUpdateResponseResourceTaggingTaggedResourceObjectD1DatabaseType
- type AccountTagUpdateResponseResourceTaggingTaggedResourceObjectDNSRecord
- type AccountTagUpdateResponseResourceTaggingTaggedResourceObjectDNSRecordType
- type AccountTagUpdateResponseResourceTaggingTaggedResourceObjectDurableObjectNamespace
- type AccountTagUpdateResponseResourceTaggingTaggedResourceObjectDurableObjectNamespaceType
- type AccountTagUpdateResponseResourceTaggingTaggedResourceObjectGatewayList
- type AccountTagUpdateResponseResourceTaggingTaggedResourceObjectGatewayListType
- type AccountTagUpdateResponseResourceTaggingTaggedResourceObjectGatewayRule
- type AccountTagUpdateResponseResourceTaggingTaggedResourceObjectGatewayRuleType
- type AccountTagUpdateResponseResourceTaggingTaggedResourceObjectImage
- type AccountTagUpdateResponseResourceTaggingTaggedResourceObjectImageType
- type AccountTagUpdateResponseResourceTaggingTaggedResourceObjectKVNamespace
- type AccountTagUpdateResponseResourceTaggingTaggedResourceObjectKVNamespaceType
- type AccountTagUpdateResponseResourceTaggingTaggedResourceObjectManagedClientCertificate
- type AccountTagUpdateResponseResourceTaggingTaggedResourceObjectManagedClientCertificateType
- type AccountTagUpdateResponseResourceTaggingTaggedResourceObjectQueue
- type AccountTagUpdateResponseResourceTaggingTaggedResourceObjectQueueType
- type AccountTagUpdateResponseResourceTaggingTaggedResourceObjectR2Bucket
- type AccountTagUpdateResponseResourceTaggingTaggedResourceObjectR2BucketType
- type AccountTagUpdateResponseResourceTaggingTaggedResourceObjectResourceShare
- type AccountTagUpdateResponseResourceTaggingTaggedResourceObjectResourceShareType
- type AccountTagUpdateResponseResourceTaggingTaggedResourceObjectStreamLiveInput
- type AccountTagUpdateResponseResourceTaggingTaggedResourceObjectStreamLiveInputType
- type AccountTagUpdateResponseResourceTaggingTaggedResourceObjectStreamVideo
- type AccountTagUpdateResponseResourceTaggingTaggedResourceObjectStreamVideoType
- type AccountTagUpdateResponseResourceTaggingTaggedResourceObjectWorker
- type AccountTagUpdateResponseResourceTaggingTaggedResourceObjectWorkerType
- type AccountTagUpdateResponseResourceTaggingTaggedResourceObjectWorkerVersion
- type AccountTagUpdateResponseResourceTaggingTaggedResourceObjectWorkerVersionType
- type AccountTagUpdateResponseResourceTaggingTaggedResourceObjectZone
- type AccountTagUpdateResponseResourceTaggingTaggedResourceObjectZoneType
- type AccountTagUpdateResponseType
- type AccountTagUpdateResponseUnion
- type AuditLog
- type AuditLogAction
- type AuditLogActor
- type AuditLogActorType
- type AuditLogOwner
- type AuditLogResource
- type CertificateCA
- type CertificateRequestType
- type CloudflareTunnel
- type CloudflareTunnelConfigSrc
- type CloudflareTunnelConnection
- type CloudflareTunnelStatus
- type CloudflareTunnelTunType
- type Error
- type ErrorData
- type ErrorDataSource
- type KeyListParams
- type KeyService
- func (r *KeyService) List(ctx context.Context, params KeyListParams, opts ...option.RequestOption) (res *pagination.CursorPaginationAfter[string], err error)
- func (r *KeyService) ListAutoPaging(ctx context.Context, params KeyListParams, opts ...option.RequestOption) *pagination.CursorPaginationAfterAutoPager[string]
- 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 ResourceTaggingListParams
- type ResourceTaggingListParamsType
- type ResourceTaggingListResponse
- type ResourceTaggingListResponseResourceTaggingTaggedResourceObjectAIGateway
- type ResourceTaggingListResponseResourceTaggingTaggedResourceObjectAIGatewayType
- type ResourceTaggingListResponseResourceTaggingTaggedResourceObjectAPIGatewayOperation
- type ResourceTaggingListResponseResourceTaggingTaggedResourceObjectAPIGatewayOperationType
- type ResourceTaggingListResponseResourceTaggingTaggedResourceObjectAccessApplication
- type ResourceTaggingListResponseResourceTaggingTaggedResourceObjectAccessApplicationPolicy
- type ResourceTaggingListResponseResourceTaggingTaggedResourceObjectAccessApplicationPolicyType
- type ResourceTaggingListResponseResourceTaggingTaggedResourceObjectAccessApplicationType
- type ResourceTaggingListResponseResourceTaggingTaggedResourceObjectAccessGroup
- type ResourceTaggingListResponseResourceTaggingTaggedResourceObjectAccessGroupType
- type ResourceTaggingListResponseResourceTaggingTaggedResourceObjectAccount
- type ResourceTaggingListResponseResourceTaggingTaggedResourceObjectAccountType
- type ResourceTaggingListResponseResourceTaggingTaggedResourceObjectAlertingPolicy
- type ResourceTaggingListResponseResourceTaggingTaggedResourceObjectAlertingPolicyType
- type ResourceTaggingListResponseResourceTaggingTaggedResourceObjectAlertingWebhook
- type ResourceTaggingListResponseResourceTaggingTaggedResourceObjectAlertingWebhookType
- type ResourceTaggingListResponseResourceTaggingTaggedResourceObjectCloudflaredTunnel
- type ResourceTaggingListResponseResourceTaggingTaggedResourceObjectCloudflaredTunnelType
- type ResourceTaggingListResponseResourceTaggingTaggedResourceObjectCustomCertificate
- type ResourceTaggingListResponseResourceTaggingTaggedResourceObjectCustomCertificateType
- type ResourceTaggingListResponseResourceTaggingTaggedResourceObjectCustomHostname
- type ResourceTaggingListResponseResourceTaggingTaggedResourceObjectCustomHostnameType
- type ResourceTaggingListResponseResourceTaggingTaggedResourceObjectD1Database
- type ResourceTaggingListResponseResourceTaggingTaggedResourceObjectD1DatabaseType
- type ResourceTaggingListResponseResourceTaggingTaggedResourceObjectDNSRecord
- type ResourceTaggingListResponseResourceTaggingTaggedResourceObjectDNSRecordType
- type ResourceTaggingListResponseResourceTaggingTaggedResourceObjectDurableObjectNamespace
- type ResourceTaggingListResponseResourceTaggingTaggedResourceObjectDurableObjectNamespaceType
- type ResourceTaggingListResponseResourceTaggingTaggedResourceObjectGatewayList
- type ResourceTaggingListResponseResourceTaggingTaggedResourceObjectGatewayListType
- type ResourceTaggingListResponseResourceTaggingTaggedResourceObjectGatewayRule
- type ResourceTaggingListResponseResourceTaggingTaggedResourceObjectGatewayRuleType
- type ResourceTaggingListResponseResourceTaggingTaggedResourceObjectImage
- type ResourceTaggingListResponseResourceTaggingTaggedResourceObjectImageType
- type ResourceTaggingListResponseResourceTaggingTaggedResourceObjectKVNamespace
- type ResourceTaggingListResponseResourceTaggingTaggedResourceObjectKVNamespaceType
- type ResourceTaggingListResponseResourceTaggingTaggedResourceObjectManagedClientCertificate
- type ResourceTaggingListResponseResourceTaggingTaggedResourceObjectManagedClientCertificateType
- type ResourceTaggingListResponseResourceTaggingTaggedResourceObjectQueue
- type ResourceTaggingListResponseResourceTaggingTaggedResourceObjectQueueType
- type ResourceTaggingListResponseResourceTaggingTaggedResourceObjectR2Bucket
- type ResourceTaggingListResponseResourceTaggingTaggedResourceObjectR2BucketType
- type ResourceTaggingListResponseResourceTaggingTaggedResourceObjectResourceShare
- type ResourceTaggingListResponseResourceTaggingTaggedResourceObjectResourceShareType
- type ResourceTaggingListResponseResourceTaggingTaggedResourceObjectStreamLiveInput
- type ResourceTaggingListResponseResourceTaggingTaggedResourceObjectStreamLiveInputType
- type ResourceTaggingListResponseResourceTaggingTaggedResourceObjectStreamVideo
- type ResourceTaggingListResponseResourceTaggingTaggedResourceObjectStreamVideoType
- type ResourceTaggingListResponseResourceTaggingTaggedResourceObjectWorker
- type ResourceTaggingListResponseResourceTaggingTaggedResourceObjectWorkerType
- type ResourceTaggingListResponseResourceTaggingTaggedResourceObjectWorkerVersion
- type ResourceTaggingListResponseResourceTaggingTaggedResourceObjectWorkerVersionType
- type ResourceTaggingListResponseResourceTaggingTaggedResourceObjectZone
- type ResourceTaggingListResponseResourceTaggingTaggedResourceObjectZoneType
- type ResourceTaggingListResponseType
- type ResourceTaggingListResponseUnion
- type ResourceTaggingService
- func (r *ResourceTaggingService) List(ctx context.Context, params ResourceTaggingListParams, ...) (res *pagination.CursorPaginationAfter[ResourceTaggingListResponse], err error)
- func (r *ResourceTaggingService) ListAutoPaging(ctx context.Context, params ResourceTaggingListParams, ...) *pagination.CursorPaginationAfterAutoPager[ResourceTaggingListResponse]
- type ResponseInfo
- type ResponseInfoSource
- type Role
- type RoleParam
- type RolePermissions
- type RolePermissionsParam
- 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 TokenPolicyResourcesIAMResourcesTypeObjectNested
- type TokenPolicyResourcesIAMResourcesTypeObjectNestedParam
- type TokenPolicyResourcesIAMResourcesTypeObjectString
- type TokenPolicyResourcesIAMResourcesTypeObjectStringParam
- type TokenPolicyResourcesUnion
- type TokenPolicyResourcesUnionParam
- type TokenStatus
- type TokenValue
- type ValueListParams
- type ValueListParamsType
- type ValueService
- func (r *ValueService) List(ctx context.Context, tagKey string, params ValueListParams, ...) (res *pagination.CursorPaginationAfter[string], err error)
- func (r *ValueService) ListAutoPaging(ctx context.Context, tagKey string, params ValueListParams, ...) *pagination.CursorPaginationAfterAutoPager[string]
- type ZoneTagDeleteParams
- type ZoneTagGetParams
- type ZoneTagGetParamsResourceType
- type ZoneTagGetResponse
- type ZoneTagGetResponseEnvelope
- type ZoneTagGetResponseEnvelopeErrors
- type ZoneTagGetResponseEnvelopeErrorsSource
- type ZoneTagGetResponseEnvelopeMessages
- type ZoneTagGetResponseEnvelopeMessagesSource
- type ZoneTagGetResponseEnvelopeSuccess
- type ZoneTagGetResponseResourceTaggingTaggedResourceObjectAIGateway
- type ZoneTagGetResponseResourceTaggingTaggedResourceObjectAIGatewayType
- type ZoneTagGetResponseResourceTaggingTaggedResourceObjectAPIGatewayOperation
- type ZoneTagGetResponseResourceTaggingTaggedResourceObjectAPIGatewayOperationType
- type ZoneTagGetResponseResourceTaggingTaggedResourceObjectAccessApplication
- type ZoneTagGetResponseResourceTaggingTaggedResourceObjectAccessApplicationPolicy
- type ZoneTagGetResponseResourceTaggingTaggedResourceObjectAccessApplicationPolicyType
- type ZoneTagGetResponseResourceTaggingTaggedResourceObjectAccessApplicationType
- type ZoneTagGetResponseResourceTaggingTaggedResourceObjectAccessGroup
- type ZoneTagGetResponseResourceTaggingTaggedResourceObjectAccessGroupType
- type ZoneTagGetResponseResourceTaggingTaggedResourceObjectAccount
- type ZoneTagGetResponseResourceTaggingTaggedResourceObjectAccountType
- type ZoneTagGetResponseResourceTaggingTaggedResourceObjectAlertingPolicy
- type ZoneTagGetResponseResourceTaggingTaggedResourceObjectAlertingPolicyType
- type ZoneTagGetResponseResourceTaggingTaggedResourceObjectAlertingWebhook
- type ZoneTagGetResponseResourceTaggingTaggedResourceObjectAlertingWebhookType
- type ZoneTagGetResponseResourceTaggingTaggedResourceObjectCloudflaredTunnel
- type ZoneTagGetResponseResourceTaggingTaggedResourceObjectCloudflaredTunnelType
- type ZoneTagGetResponseResourceTaggingTaggedResourceObjectCustomCertificate
- type ZoneTagGetResponseResourceTaggingTaggedResourceObjectCustomCertificateType
- type ZoneTagGetResponseResourceTaggingTaggedResourceObjectCustomHostname
- type ZoneTagGetResponseResourceTaggingTaggedResourceObjectCustomHostnameType
- type ZoneTagGetResponseResourceTaggingTaggedResourceObjectD1Database
- type ZoneTagGetResponseResourceTaggingTaggedResourceObjectD1DatabaseType
- type ZoneTagGetResponseResourceTaggingTaggedResourceObjectDNSRecord
- type ZoneTagGetResponseResourceTaggingTaggedResourceObjectDNSRecordType
- type ZoneTagGetResponseResourceTaggingTaggedResourceObjectDurableObjectNamespace
- type ZoneTagGetResponseResourceTaggingTaggedResourceObjectDurableObjectNamespaceType
- type ZoneTagGetResponseResourceTaggingTaggedResourceObjectGatewayList
- type ZoneTagGetResponseResourceTaggingTaggedResourceObjectGatewayListType
- type ZoneTagGetResponseResourceTaggingTaggedResourceObjectGatewayRule
- type ZoneTagGetResponseResourceTaggingTaggedResourceObjectGatewayRuleType
- type ZoneTagGetResponseResourceTaggingTaggedResourceObjectImage
- type ZoneTagGetResponseResourceTaggingTaggedResourceObjectImageType
- type ZoneTagGetResponseResourceTaggingTaggedResourceObjectKVNamespace
- type ZoneTagGetResponseResourceTaggingTaggedResourceObjectKVNamespaceType
- type ZoneTagGetResponseResourceTaggingTaggedResourceObjectManagedClientCertificate
- type ZoneTagGetResponseResourceTaggingTaggedResourceObjectManagedClientCertificateType
- type ZoneTagGetResponseResourceTaggingTaggedResourceObjectQueue
- type ZoneTagGetResponseResourceTaggingTaggedResourceObjectQueueType
- type ZoneTagGetResponseResourceTaggingTaggedResourceObjectR2Bucket
- type ZoneTagGetResponseResourceTaggingTaggedResourceObjectR2BucketType
- type ZoneTagGetResponseResourceTaggingTaggedResourceObjectResourceShare
- type ZoneTagGetResponseResourceTaggingTaggedResourceObjectResourceShareType
- type ZoneTagGetResponseResourceTaggingTaggedResourceObjectStreamLiveInput
- type ZoneTagGetResponseResourceTaggingTaggedResourceObjectStreamLiveInputType
- type ZoneTagGetResponseResourceTaggingTaggedResourceObjectStreamVideo
- type ZoneTagGetResponseResourceTaggingTaggedResourceObjectStreamVideoType
- type ZoneTagGetResponseResourceTaggingTaggedResourceObjectWorker
- type ZoneTagGetResponseResourceTaggingTaggedResourceObjectWorkerType
- type ZoneTagGetResponseResourceTaggingTaggedResourceObjectWorkerVersion
- type ZoneTagGetResponseResourceTaggingTaggedResourceObjectWorkerVersionType
- type ZoneTagGetResponseResourceTaggingTaggedResourceObjectZone
- type ZoneTagGetResponseResourceTaggingTaggedResourceObjectZoneType
- type ZoneTagGetResponseType
- type ZoneTagGetResponseUnion
- type ZoneTagService
- func (r *ZoneTagService) Delete(ctx context.Context, params ZoneTagDeleteParams, opts ...option.RequestOption) (err error)
- func (r *ZoneTagService) Get(ctx context.Context, params ZoneTagGetParams, opts ...option.RequestOption) (res *ZoneTagGetResponse, err error)
- func (r *ZoneTagService) Update(ctx context.Context, params ZoneTagUpdateParams, opts ...option.RequestOption) (res *ZoneTagUpdateResponse, err error)
- type ZoneTagUpdateParams
- type ZoneTagUpdateParamsBody
- type ZoneTagUpdateParamsBodyResourceTaggingSetTagsRequestZoneLevelAccessApplicationPolicy
- type ZoneTagUpdateParamsBodyResourceTaggingSetTagsRequestZoneLevelAccessApplicationPolicyResourceType
- type ZoneTagUpdateParamsBodyResourceTaggingSetTagsRequestZoneLevelBase
- type ZoneTagUpdateParamsBodyResourceTaggingSetTagsRequestZoneLevelBaseResourceType
- type ZoneTagUpdateParamsBodyResourceType
- type ZoneTagUpdateParamsBodyUnion
- type ZoneTagUpdateResponse
- type ZoneTagUpdateResponseEnvelope
- type ZoneTagUpdateResponseEnvelopeErrors
- type ZoneTagUpdateResponseEnvelopeErrorsSource
- type ZoneTagUpdateResponseEnvelopeMessages
- type ZoneTagUpdateResponseEnvelopeMessagesSource
- type ZoneTagUpdateResponseEnvelopeSuccess
- type ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectAIGateway
- type ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectAIGatewayType
- type ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectAPIGatewayOperation
- type ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectAPIGatewayOperationType
- type ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectAccessApplication
- type ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectAccessApplicationPolicy
- type ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectAccessApplicationPolicyType
- type ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectAccessApplicationType
- type ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectAccessGroup
- type ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectAccessGroupType
- type ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectAccount
- type ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectAccountType
- type ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectAlertingPolicy
- type ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectAlertingPolicyType
- type ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectAlertingWebhook
- type ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectAlertingWebhookType
- type ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectCloudflaredTunnel
- type ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectCloudflaredTunnelType
- type ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectCustomCertificate
- type ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectCustomCertificateType
- type ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectCustomHostname
- type ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectCustomHostnameType
- type ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectD1Database
- type ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectD1DatabaseType
- type ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectDNSRecord
- type ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectDNSRecordType
- type ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectDurableObjectNamespace
- type ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectDurableObjectNamespaceType
- type ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectGatewayList
- type ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectGatewayListType
- type ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectGatewayRule
- type ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectGatewayRuleType
- type ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectImage
- type ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectImageType
- type ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectKVNamespace
- type ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectKVNamespaceType
- type ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectManagedClientCertificate
- type ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectManagedClientCertificateType
- type ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectQueue
- type ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectQueueType
- type ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectR2Bucket
- type ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectR2BucketType
- type ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectResourceShare
- type ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectResourceShareType
- type ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectStreamLiveInput
- type ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectStreamLiveInputType
- type ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectStreamVideo
- type ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectStreamVideoType
- type ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectWorker
- type ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectWorkerType
- type ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectWorkerVersion
- type ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectWorkerVersionType
- type ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectZone
- type ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectZoneType
- type ZoneTagUpdateResponseType
- type ZoneTagUpdateResponseUnion
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 CloudflareTunnelConfigSrcCloudflare = shared.CloudflareTunnelConfigSrcCloudflare
This is an alias to an internal value.
const CloudflareTunnelConfigSrcLocal = shared.CloudflareTunnelConfigSrcLocal
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 ¶
type AccountTagDeleteParams ¶
type AccountTagGetParams ¶
type AccountTagGetParams struct {
// Identifier.
AccountID param.Field[string] `path:"account_id" api:"required"`
// The ID of the resource to retrieve tags for.
ResourceID param.Field[string] `query:"resource_id" api:"required"`
// The type of the resource.
ResourceType param.Field[AccountTagGetParamsResourceType] `query:"resource_type" api:"required"`
// Worker identifier. Required for worker_version resources.
WorkerID param.Field[string] `query:"worker_id"`
}
func (AccountTagGetParams) URLQuery ¶
func (r AccountTagGetParams) URLQuery() (v url.Values)
URLQuery serializes AccountTagGetParams's query parameters as `url.Values`.
type AccountTagGetParamsResourceType ¶
type AccountTagGetParamsResourceType string
The type of the resource.
const ( AccountTagGetParamsResourceTypeAccessApplication AccountTagGetParamsResourceType = "access_application" AccountTagGetParamsResourceTypeAccessGroup AccountTagGetParamsResourceType = "access_group" AccountTagGetParamsResourceTypeAccount AccountTagGetParamsResourceType = "account" AccountTagGetParamsResourceTypeAIGateway AccountTagGetParamsResourceType = "ai_gateway" AccountTagGetParamsResourceTypeAlertingPolicy AccountTagGetParamsResourceType = "alerting_policy" AccountTagGetParamsResourceTypeAlertingWebhook AccountTagGetParamsResourceType = "alerting_webhook" AccountTagGetParamsResourceTypeCloudflaredTunnel AccountTagGetParamsResourceType = "cloudflared_tunnel" AccountTagGetParamsResourceTypeD1Database AccountTagGetParamsResourceType = "d1_database" AccountTagGetParamsResourceTypeDurableObjectNamespace AccountTagGetParamsResourceType = "durable_object_namespace" AccountTagGetParamsResourceTypeGatewayList AccountTagGetParamsResourceType = "gateway_list" AccountTagGetParamsResourceTypeGatewayRule AccountTagGetParamsResourceType = "gateway_rule" AccountTagGetParamsResourceTypeImage AccountTagGetParamsResourceType = "image" AccountTagGetParamsResourceTypeKVNamespace AccountTagGetParamsResourceType = "kv_namespace" AccountTagGetParamsResourceTypeQueue AccountTagGetParamsResourceType = "queue" AccountTagGetParamsResourceTypeR2Bucket AccountTagGetParamsResourceType = "r2_bucket" AccountTagGetParamsResourceTypeStreamLiveInput AccountTagGetParamsResourceType = "stream_live_input" AccountTagGetParamsResourceTypeStreamVideo AccountTagGetParamsResourceType = "stream_video" AccountTagGetParamsResourceTypeWorker AccountTagGetParamsResourceType = "worker" AccountTagGetParamsResourceTypeWorkerVersion AccountTagGetParamsResourceType = "worker_version" )
func (AccountTagGetParamsResourceType) IsKnown ¶
func (r AccountTagGetParamsResourceType) IsKnown() bool
type AccountTagGetResponse ¶
type AccountTagGetResponse struct {
// Identifies the unique resource.
ID string `json:"id" api:"required"`
// ETag identifier for optimistic concurrency control. Formatted as "v1:<hash>"
// where the hash is the base64url-encoded SHA-256 (truncated to 128 bits) of the
// tags map canonicalized using RFC 8785 (JSON Canonicalization Scheme). Clients
// should treat ETags as opaque strings and pass them back via the If-Match header
// on write operations.
Etag string `json:"etag" api:"required"`
// Human-readable name of the resource.
Name string `json:"name" api:"required"`
// This field can have the runtime type of [map[string]string].
Tags interface{} `json:"tags" api:"required"`
Type AccountTagGetResponseType `json:"type" api:"required"`
// Access application ID is required only for access_application_policy resources
AccessApplicationID string `json:"access_application_id" format:"uuid"`
// Worker ID is required only for worker_version resources
WorkerID string `json:"worker_id"`
// Zone ID is required only for zone-level resources
ZoneID string `json:"zone_id"`
JSON accountTagGetResponseJSON `json:"-"`
// contains filtered or unexported fields
}
Response for access_application resources
func (AccountTagGetResponse) AsUnion ¶
func (r AccountTagGetResponse) AsUnion() AccountTagGetResponseUnion
AsUnion returns a AccountTagGetResponseUnion interface which you can cast to the specific types for more type safety.
Possible runtime types of the union are AccountTagGetResponseResourceTaggingTaggedResourceObjectAccessApplication, AccountTagGetResponseResourceTaggingTaggedResourceObjectAccessApplicationPolicy, AccountTagGetResponseResourceTaggingTaggedResourceObjectAccessGroup, AccountTagGetResponseResourceTaggingTaggedResourceObjectAccount, AccountTagGetResponseResourceTaggingTaggedResourceObjectAIGateway, AccountTagGetResponseResourceTaggingTaggedResourceObjectAlertingPolicy, AccountTagGetResponseResourceTaggingTaggedResourceObjectAlertingWebhook, AccountTagGetResponseResourceTaggingTaggedResourceObjectAPIGatewayOperation, AccountTagGetResponseResourceTaggingTaggedResourceObjectCloudflaredTunnel, AccountTagGetResponseResourceTaggingTaggedResourceObjectCustomCertificate, AccountTagGetResponseResourceTaggingTaggedResourceObjectCustomHostname, AccountTagGetResponseResourceTaggingTaggedResourceObjectD1Database, AccountTagGetResponseResourceTaggingTaggedResourceObjectDNSRecord, AccountTagGetResponseResourceTaggingTaggedResourceObjectDurableObjectNamespace, AccountTagGetResponseResourceTaggingTaggedResourceObjectGatewayList, AccountTagGetResponseResourceTaggingTaggedResourceObjectGatewayRule, AccountTagGetResponseResourceTaggingTaggedResourceObjectImage, AccountTagGetResponseResourceTaggingTaggedResourceObjectKVNamespace, AccountTagGetResponseResourceTaggingTaggedResourceObjectManagedClientCertificate, AccountTagGetResponseResourceTaggingTaggedResourceObjectQueue, AccountTagGetResponseResourceTaggingTaggedResourceObjectR2Bucket, AccountTagGetResponseResourceTaggingTaggedResourceObjectResourceShare, AccountTagGetResponseResourceTaggingTaggedResourceObjectStreamLiveInput, AccountTagGetResponseResourceTaggingTaggedResourceObjectStreamVideo, AccountTagGetResponseResourceTaggingTaggedResourceObjectWorker, AccountTagGetResponseResourceTaggingTaggedResourceObjectWorkerVersion, AccountTagGetResponseResourceTaggingTaggedResourceObjectZone.
func (*AccountTagGetResponse) UnmarshalJSON ¶
func (r *AccountTagGetResponse) UnmarshalJSON(data []byte) (err error)
type AccountTagGetResponseEnvelope ¶
type AccountTagGetResponseEnvelope struct {
Errors []AccountTagGetResponseEnvelopeErrors `json:"errors" api:"required"`
Messages []AccountTagGetResponseEnvelopeMessages `json:"messages" api:"required"`
// Whether the API call was successful.
Success AccountTagGetResponseEnvelopeSuccess `json:"success" api:"required"`
// Response for access_application resources
Result AccountTagGetResponse `json:"result"`
JSON accountTagGetResponseEnvelopeJSON `json:"-"`
}
func (*AccountTagGetResponseEnvelope) UnmarshalJSON ¶
func (r *AccountTagGetResponseEnvelope) UnmarshalJSON(data []byte) (err error)
type AccountTagGetResponseEnvelopeErrors ¶
type AccountTagGetResponseEnvelopeErrors struct {
Code int64 `json:"code" api:"required"`
Message string `json:"message" api:"required"`
DocumentationURL string `json:"documentation_url"`
Source AccountTagGetResponseEnvelopeErrorsSource `json:"source"`
JSON accountTagGetResponseEnvelopeErrorsJSON `json:"-"`
}
func (*AccountTagGetResponseEnvelopeErrors) UnmarshalJSON ¶
func (r *AccountTagGetResponseEnvelopeErrors) UnmarshalJSON(data []byte) (err error)
type AccountTagGetResponseEnvelopeErrorsSource ¶
type AccountTagGetResponseEnvelopeErrorsSource struct {
Pointer string `json:"pointer"`
JSON accountTagGetResponseEnvelopeErrorsSourceJSON `json:"-"`
}
func (*AccountTagGetResponseEnvelopeErrorsSource) UnmarshalJSON ¶
func (r *AccountTagGetResponseEnvelopeErrorsSource) UnmarshalJSON(data []byte) (err error)
type AccountTagGetResponseEnvelopeMessages ¶
type AccountTagGetResponseEnvelopeMessages struct {
Code int64 `json:"code" api:"required"`
Message string `json:"message" api:"required"`
DocumentationURL string `json:"documentation_url"`
Source AccountTagGetResponseEnvelopeMessagesSource `json:"source"`
JSON accountTagGetResponseEnvelopeMessagesJSON `json:"-"`
}
func (*AccountTagGetResponseEnvelopeMessages) UnmarshalJSON ¶
func (r *AccountTagGetResponseEnvelopeMessages) UnmarshalJSON(data []byte) (err error)
type AccountTagGetResponseEnvelopeMessagesSource ¶
type AccountTagGetResponseEnvelopeMessagesSource struct {
Pointer string `json:"pointer"`
JSON accountTagGetResponseEnvelopeMessagesSourceJSON `json:"-"`
}
func (*AccountTagGetResponseEnvelopeMessagesSource) UnmarshalJSON ¶
func (r *AccountTagGetResponseEnvelopeMessagesSource) UnmarshalJSON(data []byte) (err error)
type AccountTagGetResponseEnvelopeSuccess ¶
type AccountTagGetResponseEnvelopeSuccess bool
Whether the API call was successful.
const (
AccountTagGetResponseEnvelopeSuccessTrue AccountTagGetResponseEnvelopeSuccess = true
)
func (AccountTagGetResponseEnvelopeSuccess) IsKnown ¶
func (r AccountTagGetResponseEnvelopeSuccess) IsKnown() bool
type AccountTagGetResponseResourceTaggingTaggedResourceObjectAIGateway ¶
type AccountTagGetResponseResourceTaggingTaggedResourceObjectAIGateway struct {
// Identifies the unique resource.
ID string `json:"id" api:"required"`
// ETag identifier for optimistic concurrency control. Formatted as "v1:<hash>"
// where the hash is the base64url-encoded SHA-256 (truncated to 128 bits) of the
// tags map canonicalized using RFC 8785 (JSON Canonicalization Scheme). Clients
// should treat ETags as opaque strings and pass them back via the If-Match header
// on write operations.
Etag string `json:"etag" api:"required"`
// Human-readable name of the resource.
Name string `json:"name" api:"required"`
// Contains key-value pairs of tags.
Tags map[string]string `json:"tags" api:"required"`
Type AccountTagGetResponseResourceTaggingTaggedResourceObjectAIGatewayType `json:"type" api:"required"`
JSON accountTagGetResponseResourceTaggingTaggedResourceObjectAIGatewayJSON `json:"-"`
}
Response for ai_gateway resources
func (*AccountTagGetResponseResourceTaggingTaggedResourceObjectAIGateway) UnmarshalJSON ¶
func (r *AccountTagGetResponseResourceTaggingTaggedResourceObjectAIGateway) UnmarshalJSON(data []byte) (err error)
type AccountTagGetResponseResourceTaggingTaggedResourceObjectAIGatewayType ¶
type AccountTagGetResponseResourceTaggingTaggedResourceObjectAIGatewayType string
const (
AccountTagGetResponseResourceTaggingTaggedResourceObjectAIGatewayTypeAIGateway AccountTagGetResponseResourceTaggingTaggedResourceObjectAIGatewayType = "ai_gateway"
)
func (AccountTagGetResponseResourceTaggingTaggedResourceObjectAIGatewayType) IsKnown ¶
func (r AccountTagGetResponseResourceTaggingTaggedResourceObjectAIGatewayType) IsKnown() bool
type AccountTagGetResponseResourceTaggingTaggedResourceObjectAPIGatewayOperation ¶
type AccountTagGetResponseResourceTaggingTaggedResourceObjectAPIGatewayOperation struct {
// Identifies the unique resource.
ID string `json:"id" api:"required"`
// ETag identifier for optimistic concurrency control. Formatted as "v1:<hash>"
// where the hash is the base64url-encoded SHA-256 (truncated to 128 bits) of the
// tags map canonicalized using RFC 8785 (JSON Canonicalization Scheme). Clients
// should treat ETags as opaque strings and pass them back via the If-Match header
// on write operations.
Etag string `json:"etag" api:"required"`
// Human-readable name of the resource.
Name string `json:"name" api:"required"`
// Contains key-value pairs of tags.
Tags map[string]string `json:"tags" api:"required"`
Type AccountTagGetResponseResourceTaggingTaggedResourceObjectAPIGatewayOperationType `json:"type" api:"required"`
// Zone ID is required only for zone-level resources
ZoneID string `json:"zone_id" api:"required"`
JSON accountTagGetResponseResourceTaggingTaggedResourceObjectAPIGatewayOperationJSON `json:"-"`
}
Response for api_gateway_operation resources
func (*AccountTagGetResponseResourceTaggingTaggedResourceObjectAPIGatewayOperation) UnmarshalJSON ¶
func (r *AccountTagGetResponseResourceTaggingTaggedResourceObjectAPIGatewayOperation) UnmarshalJSON(data []byte) (err error)
type AccountTagGetResponseResourceTaggingTaggedResourceObjectAPIGatewayOperationType ¶
type AccountTagGetResponseResourceTaggingTaggedResourceObjectAPIGatewayOperationType string
const (
AccountTagGetResponseResourceTaggingTaggedResourceObjectAPIGatewayOperationTypeAPIGatewayOperation AccountTagGetResponseResourceTaggingTaggedResourceObjectAPIGatewayOperationType = "api_gateway_operation"
)
type AccountTagGetResponseResourceTaggingTaggedResourceObjectAccessApplication ¶
type AccountTagGetResponseResourceTaggingTaggedResourceObjectAccessApplication struct {
// Identifies the unique resource.
ID string `json:"id" api:"required"`
// ETag identifier for optimistic concurrency control. Formatted as "v1:<hash>"
// where the hash is the base64url-encoded SHA-256 (truncated to 128 bits) of the
// tags map canonicalized using RFC 8785 (JSON Canonicalization Scheme). Clients
// should treat ETags as opaque strings and pass them back via the If-Match header
// on write operations.
Etag string `json:"etag" api:"required"`
// Human-readable name of the resource.
Name string `json:"name" api:"required"`
// Contains key-value pairs of tags.
Tags map[string]string `json:"tags" api:"required"`
Type AccountTagGetResponseResourceTaggingTaggedResourceObjectAccessApplicationType `json:"type" api:"required"`
JSON accountTagGetResponseResourceTaggingTaggedResourceObjectAccessApplicationJSON `json:"-"`
}
Response for access_application resources
func (*AccountTagGetResponseResourceTaggingTaggedResourceObjectAccessApplication) UnmarshalJSON ¶
func (r *AccountTagGetResponseResourceTaggingTaggedResourceObjectAccessApplication) UnmarshalJSON(data []byte) (err error)
type AccountTagGetResponseResourceTaggingTaggedResourceObjectAccessApplicationPolicy ¶
type AccountTagGetResponseResourceTaggingTaggedResourceObjectAccessApplicationPolicy struct {
// Identifies the unique resource.
ID string `json:"id" api:"required"`
// Access application ID is required only for access_application_policy resources
AccessApplicationID string `json:"access_application_id" api:"required" format:"uuid"`
// ETag identifier for optimistic concurrency control. Formatted as "v1:<hash>"
// where the hash is the base64url-encoded SHA-256 (truncated to 128 bits) of the
// tags map canonicalized using RFC 8785 (JSON Canonicalization Scheme). Clients
// should treat ETags as opaque strings and pass them back via the If-Match header
// on write operations.
Etag string `json:"etag" api:"required"`
// Human-readable name of the resource.
Name string `json:"name" api:"required"`
// Contains key-value pairs of tags.
Tags map[string]string `json:"tags" api:"required"`
Type AccountTagGetResponseResourceTaggingTaggedResourceObjectAccessApplicationPolicyType `json:"type" api:"required"`
// Zone ID is required only for zone-level resources
ZoneID string `json:"zone_id" api:"required"`
JSON accountTagGetResponseResourceTaggingTaggedResourceObjectAccessApplicationPolicyJSON `json:"-"`
}
Response for access_application_policy resources
func (*AccountTagGetResponseResourceTaggingTaggedResourceObjectAccessApplicationPolicy) UnmarshalJSON ¶
func (r *AccountTagGetResponseResourceTaggingTaggedResourceObjectAccessApplicationPolicy) UnmarshalJSON(data []byte) (err error)
type AccountTagGetResponseResourceTaggingTaggedResourceObjectAccessApplicationPolicyType ¶
type AccountTagGetResponseResourceTaggingTaggedResourceObjectAccessApplicationPolicyType string
const (
AccountTagGetResponseResourceTaggingTaggedResourceObjectAccessApplicationPolicyTypeAccessApplicationPolicy AccountTagGetResponseResourceTaggingTaggedResourceObjectAccessApplicationPolicyType = "access_application_policy"
)
type AccountTagGetResponseResourceTaggingTaggedResourceObjectAccessApplicationType ¶
type AccountTagGetResponseResourceTaggingTaggedResourceObjectAccessApplicationType string
const (
AccountTagGetResponseResourceTaggingTaggedResourceObjectAccessApplicationTypeAccessApplication AccountTagGetResponseResourceTaggingTaggedResourceObjectAccessApplicationType = "access_application"
)
type AccountTagGetResponseResourceTaggingTaggedResourceObjectAccessGroup ¶
type AccountTagGetResponseResourceTaggingTaggedResourceObjectAccessGroup struct {
// Identifies the unique resource.
ID string `json:"id" api:"required"`
// ETag identifier for optimistic concurrency control. Formatted as "v1:<hash>"
// where the hash is the base64url-encoded SHA-256 (truncated to 128 bits) of the
// tags map canonicalized using RFC 8785 (JSON Canonicalization Scheme). Clients
// should treat ETags as opaque strings and pass them back via the If-Match header
// on write operations.
Etag string `json:"etag" api:"required"`
// Human-readable name of the resource.
Name string `json:"name" api:"required"`
// Contains key-value pairs of tags.
Tags map[string]string `json:"tags" api:"required"`
Type AccountTagGetResponseResourceTaggingTaggedResourceObjectAccessGroupType `json:"type" api:"required"`
JSON accountTagGetResponseResourceTaggingTaggedResourceObjectAccessGroupJSON `json:"-"`
}
Response for access_group resources
func (*AccountTagGetResponseResourceTaggingTaggedResourceObjectAccessGroup) UnmarshalJSON ¶
func (r *AccountTagGetResponseResourceTaggingTaggedResourceObjectAccessGroup) UnmarshalJSON(data []byte) (err error)
type AccountTagGetResponseResourceTaggingTaggedResourceObjectAccessGroupType ¶
type AccountTagGetResponseResourceTaggingTaggedResourceObjectAccessGroupType string
const (
AccountTagGetResponseResourceTaggingTaggedResourceObjectAccessGroupTypeAccessGroup AccountTagGetResponseResourceTaggingTaggedResourceObjectAccessGroupType = "access_group"
)
func (AccountTagGetResponseResourceTaggingTaggedResourceObjectAccessGroupType) IsKnown ¶
func (r AccountTagGetResponseResourceTaggingTaggedResourceObjectAccessGroupType) IsKnown() bool
type AccountTagGetResponseResourceTaggingTaggedResourceObjectAccount ¶
type AccountTagGetResponseResourceTaggingTaggedResourceObjectAccount struct {
// Identifies the unique resource.
ID string `json:"id" api:"required"`
// ETag identifier for optimistic concurrency control. Formatted as "v1:<hash>"
// where the hash is the base64url-encoded SHA-256 (truncated to 128 bits) of the
// tags map canonicalized using RFC 8785 (JSON Canonicalization Scheme). Clients
// should treat ETags as opaque strings and pass them back via the If-Match header
// on write operations.
Etag string `json:"etag" api:"required"`
// Human-readable name of the resource.
Name string `json:"name" api:"required"`
// Contains key-value pairs of tags.
Tags map[string]string `json:"tags" api:"required"`
Type AccountTagGetResponseResourceTaggingTaggedResourceObjectAccountType `json:"type" api:"required"`
JSON accountTagGetResponseResourceTaggingTaggedResourceObjectAccountJSON `json:"-"`
}
Response for account resources
func (*AccountTagGetResponseResourceTaggingTaggedResourceObjectAccount) UnmarshalJSON ¶
func (r *AccountTagGetResponseResourceTaggingTaggedResourceObjectAccount) UnmarshalJSON(data []byte) (err error)
type AccountTagGetResponseResourceTaggingTaggedResourceObjectAccountType ¶
type AccountTagGetResponseResourceTaggingTaggedResourceObjectAccountType string
const (
AccountTagGetResponseResourceTaggingTaggedResourceObjectAccountTypeAccount AccountTagGetResponseResourceTaggingTaggedResourceObjectAccountType = "account"
)
func (AccountTagGetResponseResourceTaggingTaggedResourceObjectAccountType) IsKnown ¶
func (r AccountTagGetResponseResourceTaggingTaggedResourceObjectAccountType) IsKnown() bool
type AccountTagGetResponseResourceTaggingTaggedResourceObjectAlertingPolicy ¶
type AccountTagGetResponseResourceTaggingTaggedResourceObjectAlertingPolicy struct {
// Identifies the unique resource.
ID string `json:"id" api:"required"`
// ETag identifier for optimistic concurrency control. Formatted as "v1:<hash>"
// where the hash is the base64url-encoded SHA-256 (truncated to 128 bits) of the
// tags map canonicalized using RFC 8785 (JSON Canonicalization Scheme). Clients
// should treat ETags as opaque strings and pass them back via the If-Match header
// on write operations.
Etag string `json:"etag" api:"required"`
// Human-readable name of the resource.
Name string `json:"name" api:"required"`
// Contains key-value pairs of tags.
Tags map[string]string `json:"tags" api:"required"`
Type AccountTagGetResponseResourceTaggingTaggedResourceObjectAlertingPolicyType `json:"type" api:"required"`
JSON accountTagGetResponseResourceTaggingTaggedResourceObjectAlertingPolicyJSON `json:"-"`
}
Response for alerting_policy resources
func (*AccountTagGetResponseResourceTaggingTaggedResourceObjectAlertingPolicy) UnmarshalJSON ¶
func (r *AccountTagGetResponseResourceTaggingTaggedResourceObjectAlertingPolicy) UnmarshalJSON(data []byte) (err error)
type AccountTagGetResponseResourceTaggingTaggedResourceObjectAlertingPolicyType ¶
type AccountTagGetResponseResourceTaggingTaggedResourceObjectAlertingPolicyType string
const (
AccountTagGetResponseResourceTaggingTaggedResourceObjectAlertingPolicyTypeAlertingPolicy AccountTagGetResponseResourceTaggingTaggedResourceObjectAlertingPolicyType = "alerting_policy"
)
func (AccountTagGetResponseResourceTaggingTaggedResourceObjectAlertingPolicyType) IsKnown ¶
func (r AccountTagGetResponseResourceTaggingTaggedResourceObjectAlertingPolicyType) IsKnown() bool
type AccountTagGetResponseResourceTaggingTaggedResourceObjectAlertingWebhook ¶
type AccountTagGetResponseResourceTaggingTaggedResourceObjectAlertingWebhook struct {
// Identifies the unique resource.
ID string `json:"id" api:"required"`
// ETag identifier for optimistic concurrency control. Formatted as "v1:<hash>"
// where the hash is the base64url-encoded SHA-256 (truncated to 128 bits) of the
// tags map canonicalized using RFC 8785 (JSON Canonicalization Scheme). Clients
// should treat ETags as opaque strings and pass them back via the If-Match header
// on write operations.
Etag string `json:"etag" api:"required"`
// Human-readable name of the resource.
Name string `json:"name" api:"required"`
// Contains key-value pairs of tags.
Tags map[string]string `json:"tags" api:"required"`
Type AccountTagGetResponseResourceTaggingTaggedResourceObjectAlertingWebhookType `json:"type" api:"required"`
JSON accountTagGetResponseResourceTaggingTaggedResourceObjectAlertingWebhookJSON `json:"-"`
}
Response for alerting_webhook resources
func (*AccountTagGetResponseResourceTaggingTaggedResourceObjectAlertingWebhook) UnmarshalJSON ¶
func (r *AccountTagGetResponseResourceTaggingTaggedResourceObjectAlertingWebhook) UnmarshalJSON(data []byte) (err error)
type AccountTagGetResponseResourceTaggingTaggedResourceObjectAlertingWebhookType ¶
type AccountTagGetResponseResourceTaggingTaggedResourceObjectAlertingWebhookType string
const (
AccountTagGetResponseResourceTaggingTaggedResourceObjectAlertingWebhookTypeAlertingWebhook AccountTagGetResponseResourceTaggingTaggedResourceObjectAlertingWebhookType = "alerting_webhook"
)
func (AccountTagGetResponseResourceTaggingTaggedResourceObjectAlertingWebhookType) IsKnown ¶
func (r AccountTagGetResponseResourceTaggingTaggedResourceObjectAlertingWebhookType) IsKnown() bool
type AccountTagGetResponseResourceTaggingTaggedResourceObjectCloudflaredTunnel ¶
type AccountTagGetResponseResourceTaggingTaggedResourceObjectCloudflaredTunnel struct {
// Identifies the unique resource.
ID string `json:"id" api:"required"`
// ETag identifier for optimistic concurrency control. Formatted as "v1:<hash>"
// where the hash is the base64url-encoded SHA-256 (truncated to 128 bits) of the
// tags map canonicalized using RFC 8785 (JSON Canonicalization Scheme). Clients
// should treat ETags as opaque strings and pass them back via the If-Match header
// on write operations.
Etag string `json:"etag" api:"required"`
// Human-readable name of the resource.
Name string `json:"name" api:"required"`
// Contains key-value pairs of tags.
Tags map[string]string `json:"tags" api:"required"`
Type AccountTagGetResponseResourceTaggingTaggedResourceObjectCloudflaredTunnelType `json:"type" api:"required"`
JSON accountTagGetResponseResourceTaggingTaggedResourceObjectCloudflaredTunnelJSON `json:"-"`
}
Response for cloudflared_tunnel resources
func (*AccountTagGetResponseResourceTaggingTaggedResourceObjectCloudflaredTunnel) UnmarshalJSON ¶
func (r *AccountTagGetResponseResourceTaggingTaggedResourceObjectCloudflaredTunnel) UnmarshalJSON(data []byte) (err error)
type AccountTagGetResponseResourceTaggingTaggedResourceObjectCloudflaredTunnelType ¶
type AccountTagGetResponseResourceTaggingTaggedResourceObjectCloudflaredTunnelType string
const (
AccountTagGetResponseResourceTaggingTaggedResourceObjectCloudflaredTunnelTypeCloudflaredTunnel AccountTagGetResponseResourceTaggingTaggedResourceObjectCloudflaredTunnelType = "cloudflared_tunnel"
)
type AccountTagGetResponseResourceTaggingTaggedResourceObjectCustomCertificate ¶
type AccountTagGetResponseResourceTaggingTaggedResourceObjectCustomCertificate struct {
// Identifies the unique resource.
ID string `json:"id" api:"required"`
// ETag identifier for optimistic concurrency control. Formatted as "v1:<hash>"
// where the hash is the base64url-encoded SHA-256 (truncated to 128 bits) of the
// tags map canonicalized using RFC 8785 (JSON Canonicalization Scheme). Clients
// should treat ETags as opaque strings and pass them back via the If-Match header
// on write operations.
Etag string `json:"etag" api:"required"`
// Human-readable name of the resource.
Name string `json:"name" api:"required"`
// Contains key-value pairs of tags.
Tags map[string]string `json:"tags" api:"required"`
Type AccountTagGetResponseResourceTaggingTaggedResourceObjectCustomCertificateType `json:"type" api:"required"`
// Zone ID is required only for zone-level resources
ZoneID string `json:"zone_id" api:"required"`
JSON accountTagGetResponseResourceTaggingTaggedResourceObjectCustomCertificateJSON `json:"-"`
}
Response for custom_certificate resources
func (*AccountTagGetResponseResourceTaggingTaggedResourceObjectCustomCertificate) UnmarshalJSON ¶
func (r *AccountTagGetResponseResourceTaggingTaggedResourceObjectCustomCertificate) UnmarshalJSON(data []byte) (err error)
type AccountTagGetResponseResourceTaggingTaggedResourceObjectCustomCertificateType ¶
type AccountTagGetResponseResourceTaggingTaggedResourceObjectCustomCertificateType string
const (
AccountTagGetResponseResourceTaggingTaggedResourceObjectCustomCertificateTypeCustomCertificate AccountTagGetResponseResourceTaggingTaggedResourceObjectCustomCertificateType = "custom_certificate"
)
type AccountTagGetResponseResourceTaggingTaggedResourceObjectCustomHostname ¶
type AccountTagGetResponseResourceTaggingTaggedResourceObjectCustomHostname struct {
// Identifies the unique resource.
ID string `json:"id" api:"required"`
// ETag identifier for optimistic concurrency control. Formatted as "v1:<hash>"
// where the hash is the base64url-encoded SHA-256 (truncated to 128 bits) of the
// tags map canonicalized using RFC 8785 (JSON Canonicalization Scheme). Clients
// should treat ETags as opaque strings and pass them back via the If-Match header
// on write operations.
Etag string `json:"etag" api:"required"`
// Human-readable name of the resource.
Name string `json:"name" api:"required"`
// Contains key-value pairs of tags.
Tags map[string]string `json:"tags" api:"required"`
Type AccountTagGetResponseResourceTaggingTaggedResourceObjectCustomHostnameType `json:"type" api:"required"`
// Zone ID is required only for zone-level resources
ZoneID string `json:"zone_id" api:"required"`
JSON accountTagGetResponseResourceTaggingTaggedResourceObjectCustomHostnameJSON `json:"-"`
}
Response for custom_hostname resources
func (*AccountTagGetResponseResourceTaggingTaggedResourceObjectCustomHostname) UnmarshalJSON ¶
func (r *AccountTagGetResponseResourceTaggingTaggedResourceObjectCustomHostname) UnmarshalJSON(data []byte) (err error)
type AccountTagGetResponseResourceTaggingTaggedResourceObjectCustomHostnameType ¶
type AccountTagGetResponseResourceTaggingTaggedResourceObjectCustomHostnameType string
const (
AccountTagGetResponseResourceTaggingTaggedResourceObjectCustomHostnameTypeCustomHostname AccountTagGetResponseResourceTaggingTaggedResourceObjectCustomHostnameType = "custom_hostname"
)
func (AccountTagGetResponseResourceTaggingTaggedResourceObjectCustomHostnameType) IsKnown ¶
func (r AccountTagGetResponseResourceTaggingTaggedResourceObjectCustomHostnameType) IsKnown() bool
type AccountTagGetResponseResourceTaggingTaggedResourceObjectD1Database ¶
type AccountTagGetResponseResourceTaggingTaggedResourceObjectD1Database struct {
// Identifies the unique resource.
ID string `json:"id" api:"required"`
// ETag identifier for optimistic concurrency control. Formatted as "v1:<hash>"
// where the hash is the base64url-encoded SHA-256 (truncated to 128 bits) of the
// tags map canonicalized using RFC 8785 (JSON Canonicalization Scheme). Clients
// should treat ETags as opaque strings and pass them back via the If-Match header
// on write operations.
Etag string `json:"etag" api:"required"`
// Human-readable name of the resource.
Name string `json:"name" api:"required"`
// Contains key-value pairs of tags.
Tags map[string]string `json:"tags" api:"required"`
Type AccountTagGetResponseResourceTaggingTaggedResourceObjectD1DatabaseType `json:"type" api:"required"`
JSON accountTagGetResponseResourceTaggingTaggedResourceObjectD1DatabaseJSON `json:"-"`
}
Response for d1_database resources
func (*AccountTagGetResponseResourceTaggingTaggedResourceObjectD1Database) UnmarshalJSON ¶
func (r *AccountTagGetResponseResourceTaggingTaggedResourceObjectD1Database) UnmarshalJSON(data []byte) (err error)
type AccountTagGetResponseResourceTaggingTaggedResourceObjectD1DatabaseType ¶
type AccountTagGetResponseResourceTaggingTaggedResourceObjectD1DatabaseType string
const (
AccountTagGetResponseResourceTaggingTaggedResourceObjectD1DatabaseTypeD1Database AccountTagGetResponseResourceTaggingTaggedResourceObjectD1DatabaseType = "d1_database"
)
func (AccountTagGetResponseResourceTaggingTaggedResourceObjectD1DatabaseType) IsKnown ¶
func (r AccountTagGetResponseResourceTaggingTaggedResourceObjectD1DatabaseType) IsKnown() bool
type AccountTagGetResponseResourceTaggingTaggedResourceObjectDNSRecord ¶
type AccountTagGetResponseResourceTaggingTaggedResourceObjectDNSRecord struct {
// Identifies the unique resource.
ID string `json:"id" api:"required"`
// ETag identifier for optimistic concurrency control. Formatted as "v1:<hash>"
// where the hash is the base64url-encoded SHA-256 (truncated to 128 bits) of the
// tags map canonicalized using RFC 8785 (JSON Canonicalization Scheme). Clients
// should treat ETags as opaque strings and pass them back via the If-Match header
// on write operations.
Etag string `json:"etag" api:"required"`
// Human-readable name of the resource.
Name string `json:"name" api:"required"`
// Contains key-value pairs of tags.
Tags map[string]string `json:"tags" api:"required"`
Type AccountTagGetResponseResourceTaggingTaggedResourceObjectDNSRecordType `json:"type" api:"required"`
// Zone ID is required only for zone-level resources
ZoneID string `json:"zone_id" api:"required"`
JSON accountTagGetResponseResourceTaggingTaggedResourceObjectDNSRecordJSON `json:"-"`
}
Response for dns_record resources
func (*AccountTagGetResponseResourceTaggingTaggedResourceObjectDNSRecord) UnmarshalJSON ¶
func (r *AccountTagGetResponseResourceTaggingTaggedResourceObjectDNSRecord) UnmarshalJSON(data []byte) (err error)
type AccountTagGetResponseResourceTaggingTaggedResourceObjectDNSRecordType ¶
type AccountTagGetResponseResourceTaggingTaggedResourceObjectDNSRecordType string
const (
AccountTagGetResponseResourceTaggingTaggedResourceObjectDNSRecordTypeDNSRecord AccountTagGetResponseResourceTaggingTaggedResourceObjectDNSRecordType = "dns_record"
)
func (AccountTagGetResponseResourceTaggingTaggedResourceObjectDNSRecordType) IsKnown ¶
func (r AccountTagGetResponseResourceTaggingTaggedResourceObjectDNSRecordType) IsKnown() bool
type AccountTagGetResponseResourceTaggingTaggedResourceObjectDurableObjectNamespace ¶
type AccountTagGetResponseResourceTaggingTaggedResourceObjectDurableObjectNamespace struct {
// Identifies the unique resource.
ID string `json:"id" api:"required"`
// ETag identifier for optimistic concurrency control. Formatted as "v1:<hash>"
// where the hash is the base64url-encoded SHA-256 (truncated to 128 bits) of the
// tags map canonicalized using RFC 8785 (JSON Canonicalization Scheme). Clients
// should treat ETags as opaque strings and pass them back via the If-Match header
// on write operations.
Etag string `json:"etag" api:"required"`
// Human-readable name of the resource.
Name string `json:"name" api:"required"`
// Contains key-value pairs of tags.
Tags map[string]string `json:"tags" api:"required"`
Type AccountTagGetResponseResourceTaggingTaggedResourceObjectDurableObjectNamespaceType `json:"type" api:"required"`
JSON accountTagGetResponseResourceTaggingTaggedResourceObjectDurableObjectNamespaceJSON `json:"-"`
}
Response for durable_object_namespace resources
func (*AccountTagGetResponseResourceTaggingTaggedResourceObjectDurableObjectNamespace) UnmarshalJSON ¶
func (r *AccountTagGetResponseResourceTaggingTaggedResourceObjectDurableObjectNamespace) UnmarshalJSON(data []byte) (err error)
type AccountTagGetResponseResourceTaggingTaggedResourceObjectDurableObjectNamespaceType ¶
type AccountTagGetResponseResourceTaggingTaggedResourceObjectDurableObjectNamespaceType string
const (
AccountTagGetResponseResourceTaggingTaggedResourceObjectDurableObjectNamespaceTypeDurableObjectNamespace AccountTagGetResponseResourceTaggingTaggedResourceObjectDurableObjectNamespaceType = "durable_object_namespace"
)
type AccountTagGetResponseResourceTaggingTaggedResourceObjectGatewayList ¶
type AccountTagGetResponseResourceTaggingTaggedResourceObjectGatewayList struct {
// Identifies the unique resource.
ID string `json:"id" api:"required"`
// ETag identifier for optimistic concurrency control. Formatted as "v1:<hash>"
// where the hash is the base64url-encoded SHA-256 (truncated to 128 bits) of the
// tags map canonicalized using RFC 8785 (JSON Canonicalization Scheme). Clients
// should treat ETags as opaque strings and pass them back via the If-Match header
// on write operations.
Etag string `json:"etag" api:"required"`
// Human-readable name of the resource.
Name string `json:"name" api:"required"`
// Contains key-value pairs of tags.
Tags map[string]string `json:"tags" api:"required"`
Type AccountTagGetResponseResourceTaggingTaggedResourceObjectGatewayListType `json:"type" api:"required"`
JSON accountTagGetResponseResourceTaggingTaggedResourceObjectGatewayListJSON `json:"-"`
}
Response for gateway_list resources
func (*AccountTagGetResponseResourceTaggingTaggedResourceObjectGatewayList) UnmarshalJSON ¶
func (r *AccountTagGetResponseResourceTaggingTaggedResourceObjectGatewayList) UnmarshalJSON(data []byte) (err error)
type AccountTagGetResponseResourceTaggingTaggedResourceObjectGatewayListType ¶
type AccountTagGetResponseResourceTaggingTaggedResourceObjectGatewayListType string
const (
AccountTagGetResponseResourceTaggingTaggedResourceObjectGatewayListTypeGatewayList AccountTagGetResponseResourceTaggingTaggedResourceObjectGatewayListType = "gateway_list"
)
func (AccountTagGetResponseResourceTaggingTaggedResourceObjectGatewayListType) IsKnown ¶
func (r AccountTagGetResponseResourceTaggingTaggedResourceObjectGatewayListType) IsKnown() bool
type AccountTagGetResponseResourceTaggingTaggedResourceObjectGatewayRule ¶
type AccountTagGetResponseResourceTaggingTaggedResourceObjectGatewayRule struct {
// Identifies the unique resource.
ID string `json:"id" api:"required"`
// ETag identifier for optimistic concurrency control. Formatted as "v1:<hash>"
// where the hash is the base64url-encoded SHA-256 (truncated to 128 bits) of the
// tags map canonicalized using RFC 8785 (JSON Canonicalization Scheme). Clients
// should treat ETags as opaque strings and pass them back via the If-Match header
// on write operations.
Etag string `json:"etag" api:"required"`
// Human-readable name of the resource.
Name string `json:"name" api:"required"`
// Contains key-value pairs of tags.
Tags map[string]string `json:"tags" api:"required"`
Type AccountTagGetResponseResourceTaggingTaggedResourceObjectGatewayRuleType `json:"type" api:"required"`
JSON accountTagGetResponseResourceTaggingTaggedResourceObjectGatewayRuleJSON `json:"-"`
}
Response for gateway_rule resources
func (*AccountTagGetResponseResourceTaggingTaggedResourceObjectGatewayRule) UnmarshalJSON ¶
func (r *AccountTagGetResponseResourceTaggingTaggedResourceObjectGatewayRule) UnmarshalJSON(data []byte) (err error)
type AccountTagGetResponseResourceTaggingTaggedResourceObjectGatewayRuleType ¶
type AccountTagGetResponseResourceTaggingTaggedResourceObjectGatewayRuleType string
const (
AccountTagGetResponseResourceTaggingTaggedResourceObjectGatewayRuleTypeGatewayRule AccountTagGetResponseResourceTaggingTaggedResourceObjectGatewayRuleType = "gateway_rule"
)
func (AccountTagGetResponseResourceTaggingTaggedResourceObjectGatewayRuleType) IsKnown ¶
func (r AccountTagGetResponseResourceTaggingTaggedResourceObjectGatewayRuleType) IsKnown() bool
type AccountTagGetResponseResourceTaggingTaggedResourceObjectImage ¶
type AccountTagGetResponseResourceTaggingTaggedResourceObjectImage struct {
// Identifies the unique resource.
ID string `json:"id" api:"required"`
// ETag identifier for optimistic concurrency control. Formatted as "v1:<hash>"
// where the hash is the base64url-encoded SHA-256 (truncated to 128 bits) of the
// tags map canonicalized using RFC 8785 (JSON Canonicalization Scheme). Clients
// should treat ETags as opaque strings and pass them back via the If-Match header
// on write operations.
Etag string `json:"etag" api:"required"`
// Human-readable name of the resource.
Name string `json:"name" api:"required"`
// Contains key-value pairs of tags.
Tags map[string]string `json:"tags" api:"required"`
Type AccountTagGetResponseResourceTaggingTaggedResourceObjectImageType `json:"type" api:"required"`
JSON accountTagGetResponseResourceTaggingTaggedResourceObjectImageJSON `json:"-"`
}
Response for image resources
func (*AccountTagGetResponseResourceTaggingTaggedResourceObjectImage) UnmarshalJSON ¶
func (r *AccountTagGetResponseResourceTaggingTaggedResourceObjectImage) UnmarshalJSON(data []byte) (err error)
type AccountTagGetResponseResourceTaggingTaggedResourceObjectImageType ¶
type AccountTagGetResponseResourceTaggingTaggedResourceObjectImageType string
const (
AccountTagGetResponseResourceTaggingTaggedResourceObjectImageTypeImage AccountTagGetResponseResourceTaggingTaggedResourceObjectImageType = "image"
)
func (AccountTagGetResponseResourceTaggingTaggedResourceObjectImageType) IsKnown ¶
func (r AccountTagGetResponseResourceTaggingTaggedResourceObjectImageType) IsKnown() bool
type AccountTagGetResponseResourceTaggingTaggedResourceObjectKVNamespace ¶
type AccountTagGetResponseResourceTaggingTaggedResourceObjectKVNamespace struct {
// Identifies the unique resource.
ID string `json:"id" api:"required"`
// ETag identifier for optimistic concurrency control. Formatted as "v1:<hash>"
// where the hash is the base64url-encoded SHA-256 (truncated to 128 bits) of the
// tags map canonicalized using RFC 8785 (JSON Canonicalization Scheme). Clients
// should treat ETags as opaque strings and pass them back via the If-Match header
// on write operations.
Etag string `json:"etag" api:"required"`
// Human-readable name of the resource.
Name string `json:"name" api:"required"`
// Contains key-value pairs of tags.
Tags map[string]string `json:"tags" api:"required"`
Type AccountTagGetResponseResourceTaggingTaggedResourceObjectKVNamespaceType `json:"type" api:"required"`
JSON accountTagGetResponseResourceTaggingTaggedResourceObjectKVNamespaceJSON `json:"-"`
}
Response for kv_namespace resources
func (*AccountTagGetResponseResourceTaggingTaggedResourceObjectKVNamespace) UnmarshalJSON ¶
func (r *AccountTagGetResponseResourceTaggingTaggedResourceObjectKVNamespace) UnmarshalJSON(data []byte) (err error)
type AccountTagGetResponseResourceTaggingTaggedResourceObjectKVNamespaceType ¶
type AccountTagGetResponseResourceTaggingTaggedResourceObjectKVNamespaceType string
const (
AccountTagGetResponseResourceTaggingTaggedResourceObjectKVNamespaceTypeKVNamespace AccountTagGetResponseResourceTaggingTaggedResourceObjectKVNamespaceType = "kv_namespace"
)
func (AccountTagGetResponseResourceTaggingTaggedResourceObjectKVNamespaceType) IsKnown ¶
func (r AccountTagGetResponseResourceTaggingTaggedResourceObjectKVNamespaceType) IsKnown() bool
type AccountTagGetResponseResourceTaggingTaggedResourceObjectManagedClientCertificate ¶
type AccountTagGetResponseResourceTaggingTaggedResourceObjectManagedClientCertificate struct {
// Identifies the unique resource.
ID string `json:"id" api:"required"`
// ETag identifier for optimistic concurrency control. Formatted as "v1:<hash>"
// where the hash is the base64url-encoded SHA-256 (truncated to 128 bits) of the
// tags map canonicalized using RFC 8785 (JSON Canonicalization Scheme). Clients
// should treat ETags as opaque strings and pass them back via the If-Match header
// on write operations.
Etag string `json:"etag" api:"required"`
// Human-readable name of the resource.
Name string `json:"name" api:"required"`
// Contains key-value pairs of tags.
Tags map[string]string `json:"tags" api:"required"`
Type AccountTagGetResponseResourceTaggingTaggedResourceObjectManagedClientCertificateType `json:"type" api:"required"`
// Zone ID is required only for zone-level resources
ZoneID string `json:"zone_id" api:"required"`
JSON accountTagGetResponseResourceTaggingTaggedResourceObjectManagedClientCertificateJSON `json:"-"`
}
Response for managed_client_certificate resources
func (*AccountTagGetResponseResourceTaggingTaggedResourceObjectManagedClientCertificate) UnmarshalJSON ¶
func (r *AccountTagGetResponseResourceTaggingTaggedResourceObjectManagedClientCertificate) UnmarshalJSON(data []byte) (err error)
type AccountTagGetResponseResourceTaggingTaggedResourceObjectManagedClientCertificateType ¶
type AccountTagGetResponseResourceTaggingTaggedResourceObjectManagedClientCertificateType string
const (
AccountTagGetResponseResourceTaggingTaggedResourceObjectManagedClientCertificateTypeManagedClientCertificate AccountTagGetResponseResourceTaggingTaggedResourceObjectManagedClientCertificateType = "managed_client_certificate"
)
type AccountTagGetResponseResourceTaggingTaggedResourceObjectQueue ¶
type AccountTagGetResponseResourceTaggingTaggedResourceObjectQueue struct {
// Identifies the unique resource.
ID string `json:"id" api:"required"`
// ETag identifier for optimistic concurrency control. Formatted as "v1:<hash>"
// where the hash is the base64url-encoded SHA-256 (truncated to 128 bits) of the
// tags map canonicalized using RFC 8785 (JSON Canonicalization Scheme). Clients
// should treat ETags as opaque strings and pass them back via the If-Match header
// on write operations.
Etag string `json:"etag" api:"required"`
// Human-readable name of the resource.
Name string `json:"name" api:"required"`
// Contains key-value pairs of tags.
Tags map[string]string `json:"tags" api:"required"`
Type AccountTagGetResponseResourceTaggingTaggedResourceObjectQueueType `json:"type" api:"required"`
JSON accountTagGetResponseResourceTaggingTaggedResourceObjectQueueJSON `json:"-"`
}
Response for queue resources
func (*AccountTagGetResponseResourceTaggingTaggedResourceObjectQueue) UnmarshalJSON ¶
func (r *AccountTagGetResponseResourceTaggingTaggedResourceObjectQueue) UnmarshalJSON(data []byte) (err error)
type AccountTagGetResponseResourceTaggingTaggedResourceObjectQueueType ¶
type AccountTagGetResponseResourceTaggingTaggedResourceObjectQueueType string
const (
AccountTagGetResponseResourceTaggingTaggedResourceObjectQueueTypeQueue AccountTagGetResponseResourceTaggingTaggedResourceObjectQueueType = "queue"
)
func (AccountTagGetResponseResourceTaggingTaggedResourceObjectQueueType) IsKnown ¶
func (r AccountTagGetResponseResourceTaggingTaggedResourceObjectQueueType) IsKnown() bool
type AccountTagGetResponseResourceTaggingTaggedResourceObjectR2Bucket ¶
type AccountTagGetResponseResourceTaggingTaggedResourceObjectR2Bucket struct {
// Identifies the unique resource.
ID string `json:"id" api:"required"`
// ETag identifier for optimistic concurrency control. Formatted as "v1:<hash>"
// where the hash is the base64url-encoded SHA-256 (truncated to 128 bits) of the
// tags map canonicalized using RFC 8785 (JSON Canonicalization Scheme). Clients
// should treat ETags as opaque strings and pass them back via the If-Match header
// on write operations.
Etag string `json:"etag" api:"required"`
// Human-readable name of the resource.
Name string `json:"name" api:"required"`
// Contains key-value pairs of tags.
Tags map[string]string `json:"tags" api:"required"`
Type AccountTagGetResponseResourceTaggingTaggedResourceObjectR2BucketType `json:"type" api:"required"`
JSON accountTagGetResponseResourceTaggingTaggedResourceObjectR2BucketJSON `json:"-"`
}
Response for r2_bucket resources
func (*AccountTagGetResponseResourceTaggingTaggedResourceObjectR2Bucket) UnmarshalJSON ¶
func (r *AccountTagGetResponseResourceTaggingTaggedResourceObjectR2Bucket) UnmarshalJSON(data []byte) (err error)
type AccountTagGetResponseResourceTaggingTaggedResourceObjectR2BucketType ¶
type AccountTagGetResponseResourceTaggingTaggedResourceObjectR2BucketType string
const (
AccountTagGetResponseResourceTaggingTaggedResourceObjectR2BucketTypeR2Bucket AccountTagGetResponseResourceTaggingTaggedResourceObjectR2BucketType = "r2_bucket"
)
func (AccountTagGetResponseResourceTaggingTaggedResourceObjectR2BucketType) IsKnown ¶
func (r AccountTagGetResponseResourceTaggingTaggedResourceObjectR2BucketType) IsKnown() bool
type AccountTagGetResponseResourceTaggingTaggedResourceObjectResourceShare ¶
type AccountTagGetResponseResourceTaggingTaggedResourceObjectResourceShare struct {
ID string `json:"id" api:"required"`
// where the hash is the base64url-encoded SHA-256 (truncated to 128 bits) of the
// tags map canonicalized using RFC 8785 (JSON Canonicalization Scheme). Clients
// should treat ETags as opaque strings and pass them back via the If-Match header
// on write operations.
Etag string `json:"etag" api:"required"`
Name string `json:"name" api:"required"`
// Contains key-value pairs of tags.
}
Response for resource_share resources
func (*AccountTagGetResponseResourceTaggingTaggedResourceObjectResourceShare) UnmarshalJSON ¶
func (r *AccountTagGetResponseResourceTaggingTaggedResourceObjectResourceShare) UnmarshalJSON(data []byte) (err error)
type AccountTagGetResponseResourceTaggingTaggedResourceObjectResourceShareType ¶
type AccountTagGetResponseResourceTaggingTaggedResourceObjectResourceShareType string
const (
)
func (AccountTagGetResponseResourceTaggingTaggedResourceObjectResourceShareType) IsKnown ¶
func (r AccountTagGetResponseResourceTaggingTaggedResourceObjectResourceShareType) IsKnown() bool
type AccountTagGetResponseResourceTaggingTaggedResourceObjectStreamLiveInput ¶
type AccountTagGetResponseResourceTaggingTaggedResourceObjectStreamLiveInput struct {
// Identifies the unique resource.
ID string `json:"id" api:"required"`
// ETag identifier for optimistic concurrency control. Formatted as "v1:<hash>"
// where the hash is the base64url-encoded SHA-256 (truncated to 128 bits) of the
// tags map canonicalized using RFC 8785 (JSON Canonicalization Scheme). Clients
// should treat ETags as opaque strings and pass them back via the If-Match header
// on write operations.
Etag string `json:"etag" api:"required"`
// Human-readable name of the resource.
Name string `json:"name" api:"required"`
// Contains key-value pairs of tags.
Tags map[string]string `json:"tags" api:"required"`
Type AccountTagGetResponseResourceTaggingTaggedResourceObjectStreamLiveInputType `json:"type" api:"required"`
JSON accountTagGetResponseResourceTaggingTaggedResourceObjectStreamLiveInputJSON `json:"-"`
}
Response for stream_live_input resources
func (*AccountTagGetResponseResourceTaggingTaggedResourceObjectStreamLiveInput) UnmarshalJSON ¶
func (r *AccountTagGetResponseResourceTaggingTaggedResourceObjectStreamLiveInput) UnmarshalJSON(data []byte) (err error)
type AccountTagGetResponseResourceTaggingTaggedResourceObjectStreamLiveInputType ¶
type AccountTagGetResponseResourceTaggingTaggedResourceObjectStreamLiveInputType string
const (
AccountTagGetResponseResourceTaggingTaggedResourceObjectStreamLiveInputTypeStreamLiveInput AccountTagGetResponseResourceTaggingTaggedResourceObjectStreamLiveInputType = "stream_live_input"
)
func (AccountTagGetResponseResourceTaggingTaggedResourceObjectStreamLiveInputType) IsKnown ¶
func (r AccountTagGetResponseResourceTaggingTaggedResourceObjectStreamLiveInputType) IsKnown() bool
type AccountTagGetResponseResourceTaggingTaggedResourceObjectStreamVideo ¶
type AccountTagGetResponseResourceTaggingTaggedResourceObjectStreamVideo struct {
// Identifies the unique resource.
ID string `json:"id" api:"required"`
// ETag identifier for optimistic concurrency control. Formatted as "v1:<hash>"
// where the hash is the base64url-encoded SHA-256 (truncated to 128 bits) of the
// tags map canonicalized using RFC 8785 (JSON Canonicalization Scheme). Clients
// should treat ETags as opaque strings and pass them back via the If-Match header
// on write operations.
Etag string `json:"etag" api:"required"`
// Human-readable name of the resource.
Name string `json:"name" api:"required"`
// Contains key-value pairs of tags.
Tags map[string]string `json:"tags" api:"required"`
Type AccountTagGetResponseResourceTaggingTaggedResourceObjectStreamVideoType `json:"type" api:"required"`
JSON accountTagGetResponseResourceTaggingTaggedResourceObjectStreamVideoJSON `json:"-"`
}
Response for stream_video resources
func (*AccountTagGetResponseResourceTaggingTaggedResourceObjectStreamVideo) UnmarshalJSON ¶
func (r *AccountTagGetResponseResourceTaggingTaggedResourceObjectStreamVideo) UnmarshalJSON(data []byte) (err error)
type AccountTagGetResponseResourceTaggingTaggedResourceObjectStreamVideoType ¶
type AccountTagGetResponseResourceTaggingTaggedResourceObjectStreamVideoType string
const (
AccountTagGetResponseResourceTaggingTaggedResourceObjectStreamVideoTypeStreamVideo AccountTagGetResponseResourceTaggingTaggedResourceObjectStreamVideoType = "stream_video"
)
func (AccountTagGetResponseResourceTaggingTaggedResourceObjectStreamVideoType) IsKnown ¶
func (r AccountTagGetResponseResourceTaggingTaggedResourceObjectStreamVideoType) IsKnown() bool
type AccountTagGetResponseResourceTaggingTaggedResourceObjectWorker ¶
type AccountTagGetResponseResourceTaggingTaggedResourceObjectWorker struct {
// Identifies the unique resource.
ID string `json:"id" api:"required"`
// ETag identifier for optimistic concurrency control. Formatted as "v1:<hash>"
// where the hash is the base64url-encoded SHA-256 (truncated to 128 bits) of the
// tags map canonicalized using RFC 8785 (JSON Canonicalization Scheme). Clients
// should treat ETags as opaque strings and pass them back via the If-Match header
// on write operations.
Etag string `json:"etag" api:"required"`
// Human-readable name of the resource.
Name string `json:"name" api:"required"`
// Contains key-value pairs of tags.
Tags map[string]string `json:"tags" api:"required"`
Type AccountTagGetResponseResourceTaggingTaggedResourceObjectWorkerType `json:"type" api:"required"`
JSON accountTagGetResponseResourceTaggingTaggedResourceObjectWorkerJSON `json:"-"`
}
Response for worker resources
func (*AccountTagGetResponseResourceTaggingTaggedResourceObjectWorker) UnmarshalJSON ¶
func (r *AccountTagGetResponseResourceTaggingTaggedResourceObjectWorker) UnmarshalJSON(data []byte) (err error)
type AccountTagGetResponseResourceTaggingTaggedResourceObjectWorkerType ¶
type AccountTagGetResponseResourceTaggingTaggedResourceObjectWorkerType string
const (
AccountTagGetResponseResourceTaggingTaggedResourceObjectWorkerTypeWorker AccountTagGetResponseResourceTaggingTaggedResourceObjectWorkerType = "worker"
)
func (AccountTagGetResponseResourceTaggingTaggedResourceObjectWorkerType) IsKnown ¶
func (r AccountTagGetResponseResourceTaggingTaggedResourceObjectWorkerType) IsKnown() bool
type AccountTagGetResponseResourceTaggingTaggedResourceObjectWorkerVersion ¶
type AccountTagGetResponseResourceTaggingTaggedResourceObjectWorkerVersion struct {
// Identifies the unique resource.
ID string `json:"id" api:"required"`
// ETag identifier for optimistic concurrency control. Formatted as "v1:<hash>"
// where the hash is the base64url-encoded SHA-256 (truncated to 128 bits) of the
// tags map canonicalized using RFC 8785 (JSON Canonicalization Scheme). Clients
// should treat ETags as opaque strings and pass them back via the If-Match header
// on write operations.
Etag string `json:"etag" api:"required"`
// Human-readable name of the resource.
Name string `json:"name" api:"required"`
// Contains key-value pairs of tags.
Tags map[string]string `json:"tags" api:"required"`
Type AccountTagGetResponseResourceTaggingTaggedResourceObjectWorkerVersionType `json:"type" api:"required"`
// Worker ID is required only for worker_version resources
WorkerID string `json:"worker_id" api:"required"`
JSON accountTagGetResponseResourceTaggingTaggedResourceObjectWorkerVersionJSON `json:"-"`
}
Response for worker_version resources
func (*AccountTagGetResponseResourceTaggingTaggedResourceObjectWorkerVersion) UnmarshalJSON ¶
func (r *AccountTagGetResponseResourceTaggingTaggedResourceObjectWorkerVersion) UnmarshalJSON(data []byte) (err error)
type AccountTagGetResponseResourceTaggingTaggedResourceObjectWorkerVersionType ¶
type AccountTagGetResponseResourceTaggingTaggedResourceObjectWorkerVersionType string
const (
AccountTagGetResponseResourceTaggingTaggedResourceObjectWorkerVersionTypeWorkerVersion AccountTagGetResponseResourceTaggingTaggedResourceObjectWorkerVersionType = "worker_version"
)
func (AccountTagGetResponseResourceTaggingTaggedResourceObjectWorkerVersionType) IsKnown ¶
func (r AccountTagGetResponseResourceTaggingTaggedResourceObjectWorkerVersionType) IsKnown() bool
type AccountTagGetResponseResourceTaggingTaggedResourceObjectZone ¶
type AccountTagGetResponseResourceTaggingTaggedResourceObjectZone struct {
// Identifies the unique resource.
ID string `json:"id" api:"required"`
// ETag identifier for optimistic concurrency control. Formatted as "v1:<hash>"
// where the hash is the base64url-encoded SHA-256 (truncated to 128 bits) of the
// tags map canonicalized using RFC 8785 (JSON Canonicalization Scheme). Clients
// should treat ETags as opaque strings and pass them back via the If-Match header
// on write operations.
Etag string `json:"etag" api:"required"`
// Human-readable name of the resource.
Name string `json:"name" api:"required"`
// Contains key-value pairs of tags.
Tags map[string]string `json:"tags" api:"required"`
Type AccountTagGetResponseResourceTaggingTaggedResourceObjectZoneType `json:"type" api:"required"`
// Zone ID is required only for zone-level resources
ZoneID string `json:"zone_id" api:"required"`
JSON accountTagGetResponseResourceTaggingTaggedResourceObjectZoneJSON `json:"-"`
}
Response for zone resources
func (*AccountTagGetResponseResourceTaggingTaggedResourceObjectZone) UnmarshalJSON ¶
func (r *AccountTagGetResponseResourceTaggingTaggedResourceObjectZone) UnmarshalJSON(data []byte) (err error)
type AccountTagGetResponseResourceTaggingTaggedResourceObjectZoneType ¶
type AccountTagGetResponseResourceTaggingTaggedResourceObjectZoneType string
const (
AccountTagGetResponseResourceTaggingTaggedResourceObjectZoneTypeZone AccountTagGetResponseResourceTaggingTaggedResourceObjectZoneType = "zone"
)
func (AccountTagGetResponseResourceTaggingTaggedResourceObjectZoneType) IsKnown ¶
func (r AccountTagGetResponseResourceTaggingTaggedResourceObjectZoneType) IsKnown() bool
type AccountTagGetResponseType ¶
type AccountTagGetResponseType string
const ( AccountTagGetResponseTypeAccessApplication AccountTagGetResponseType = "access_application" AccountTagGetResponseTypeAccessApplicationPolicy AccountTagGetResponseType = "access_application_policy" AccountTagGetResponseTypeAccessGroup AccountTagGetResponseType = "access_group" AccountTagGetResponseTypeAccount AccountTagGetResponseType = "account" AccountTagGetResponseTypeAIGateway AccountTagGetResponseType = "ai_gateway" AccountTagGetResponseTypeAlertingPolicy AccountTagGetResponseType = "alerting_policy" AccountTagGetResponseTypeAlertingWebhook AccountTagGetResponseType = "alerting_webhook" AccountTagGetResponseTypeAPIGatewayOperation AccountTagGetResponseType = "api_gateway_operation" AccountTagGetResponseTypeCloudflaredTunnel AccountTagGetResponseType = "cloudflared_tunnel" AccountTagGetResponseTypeCustomCertificate AccountTagGetResponseType = "custom_certificate" AccountTagGetResponseTypeCustomHostname AccountTagGetResponseType = "custom_hostname" AccountTagGetResponseTypeD1Database AccountTagGetResponseType = "d1_database" AccountTagGetResponseTypeDNSRecord AccountTagGetResponseType = "dns_record" AccountTagGetResponseTypeDurableObjectNamespace AccountTagGetResponseType = "durable_object_namespace" AccountTagGetResponseTypeGatewayList AccountTagGetResponseType = "gateway_list" AccountTagGetResponseTypeGatewayRule AccountTagGetResponseType = "gateway_rule" AccountTagGetResponseTypeImage AccountTagGetResponseType = "image" AccountTagGetResponseTypeKVNamespace AccountTagGetResponseType = "kv_namespace" AccountTagGetResponseTypeManagedClientCertificate AccountTagGetResponseType = "managed_client_certificate" AccountTagGetResponseTypeQueue AccountTagGetResponseType = "queue" AccountTagGetResponseTypeR2Bucket AccountTagGetResponseType = "r2_bucket" AccountTagGetResponseTypeStreamLiveInput AccountTagGetResponseType = "stream_live_input" AccountTagGetResponseTypeStreamVideo AccountTagGetResponseType = "stream_video" AccountTagGetResponseTypeWorker AccountTagGetResponseType = "worker" AccountTagGetResponseTypeWorkerVersion AccountTagGetResponseType = "worker_version" AccountTagGetResponseTypeZone AccountTagGetResponseType = "zone" )
func (AccountTagGetResponseType) IsKnown ¶
func (r AccountTagGetResponseType) IsKnown() bool
type AccountTagGetResponseUnion ¶
type AccountTagGetResponseUnion interface {
// contains filtered or unexported methods
}
Response for access_application resources
Union satisfied by AccountTagGetResponseResourceTaggingTaggedResourceObjectAccessApplication, AccountTagGetResponseResourceTaggingTaggedResourceObjectAccessApplicationPolicy, AccountTagGetResponseResourceTaggingTaggedResourceObjectAccessGroup, AccountTagGetResponseResourceTaggingTaggedResourceObjectAccount, AccountTagGetResponseResourceTaggingTaggedResourceObjectAIGateway, AccountTagGetResponseResourceTaggingTaggedResourceObjectAlertingPolicy, AccountTagGetResponseResourceTaggingTaggedResourceObjectAlertingWebhook, AccountTagGetResponseResourceTaggingTaggedResourceObjectAPIGatewayOperation, AccountTagGetResponseResourceTaggingTaggedResourceObjectCloudflaredTunnel, AccountTagGetResponseResourceTaggingTaggedResourceObjectCustomCertificate, AccountTagGetResponseResourceTaggingTaggedResourceObjectCustomHostname, AccountTagGetResponseResourceTaggingTaggedResourceObjectD1Database, AccountTagGetResponseResourceTaggingTaggedResourceObjectDNSRecord, AccountTagGetResponseResourceTaggingTaggedResourceObjectDurableObjectNamespace, AccountTagGetResponseResourceTaggingTaggedResourceObjectGatewayList, AccountTagGetResponseResourceTaggingTaggedResourceObjectGatewayRule, AccountTagGetResponseResourceTaggingTaggedResourceObjectImage, AccountTagGetResponseResourceTaggingTaggedResourceObjectKVNamespace, AccountTagGetResponseResourceTaggingTaggedResourceObjectManagedClientCertificate, AccountTagGetResponseResourceTaggingTaggedResourceObjectQueue, AccountTagGetResponseResourceTaggingTaggedResourceObjectR2Bucket, AccountTagGetResponseResourceTaggingTaggedResourceObjectResourceShare, AccountTagGetResponseResourceTaggingTaggedResourceObjectStreamLiveInput, AccountTagGetResponseResourceTaggingTaggedResourceObjectStreamVideo, AccountTagGetResponseResourceTaggingTaggedResourceObjectWorker, AccountTagGetResponseResourceTaggingTaggedResourceObjectWorkerVersion or AccountTagGetResponseResourceTaggingTaggedResourceObjectZone.
type AccountTagService ¶
type AccountTagService struct {
Options []option.RequestOption
}
AccountTagService contains methods and other services that help with interacting with the cloudflare API.
Note, unlike clients, this service does not read variables from the environment automatically. You should not instantiate this service directly, and instead use the NewAccountTagService method instead.
func NewAccountTagService ¶
func NewAccountTagService(opts ...option.RequestOption) (r *AccountTagService)
NewAccountTagService generates a new service that applies the given options to each request. These options are applied after the parent client's options (if there is one), and before any request-specific options.
func (*AccountTagService) Delete ¶
func (r *AccountTagService) Delete(ctx context.Context, params AccountTagDeleteParams, opts ...option.RequestOption) (err error)
Removes all tags from a specific account-level resource.
func (*AccountTagService) Get ¶
func (r *AccountTagService) Get(ctx context.Context, params AccountTagGetParams, opts ...option.RequestOption) (res *AccountTagGetResponse, err error)
Retrieves tags for a specific account-level resource.
func (*AccountTagService) Update ¶
func (r *AccountTagService) Update(ctx context.Context, params AccountTagUpdateParams, opts ...option.RequestOption) (res *AccountTagUpdateResponse, err error)
Creates or updates tags for a specific account-level resource.
type AccountTagUpdateParams ¶
type AccountTagUpdateParams struct {
// Identifier.
AccountID param.Field[string] `path:"account_id" api:"required"`
// Request body schema for setting tags on account-level resources.
Body AccountTagUpdateParamsBodyUnion `json:"body" api:"required"`
IfMatch param.Field[string] `header:"If-Match"`
}
func (AccountTagUpdateParams) MarshalJSON ¶
func (r AccountTagUpdateParams) MarshalJSON() (data []byte, err error)
type AccountTagUpdateParamsBody ¶
type AccountTagUpdateParamsBody struct {
// Identifies the unique resource.
ResourceID param.Field[string] `json:"resource_id" api:"required"`
// Enum for base account-level resource types (those with no extra required
// fields).
ResourceType param.Field[AccountTagUpdateParamsBodyResourceType] `json:"resource_type" api:"required"`
Tags param.Field[interface{}] `json:"tags"`
// Worker ID is required only for worker_version resources
WorkerID param.Field[string] `json:"worker_id"`
}
Request body schema for setting tags on account-level resources.
func (AccountTagUpdateParamsBody) MarshalJSON ¶
func (r AccountTagUpdateParamsBody) MarshalJSON() (data []byte, err error)
type AccountTagUpdateParamsBodyResourceTaggingSetTagsRequestAccountLevelBase ¶
type AccountTagUpdateParamsBodyResourceTaggingSetTagsRequestAccountLevelBase struct {
// Identifies the unique resource.
ResourceID param.Field[string] `json:"resource_id" api:"required"`
// Enum for base account-level resource types (those with no extra required
// fields).
ResourceType param.Field[AccountTagUpdateParamsBodyResourceTaggingSetTagsRequestAccountLevelBaseResourceType] `json:"resource_type" api:"required"`
// Contains key-value pairs of tags.
Tags param.Field[map[string]string] `json:"tags"`
}
Request body schema for deleting tags from account-level resources.
func (AccountTagUpdateParamsBodyResourceTaggingSetTagsRequestAccountLevelBase) MarshalJSON ¶
func (r AccountTagUpdateParamsBodyResourceTaggingSetTagsRequestAccountLevelBase) MarshalJSON() (data []byte, err error)
type AccountTagUpdateParamsBodyResourceTaggingSetTagsRequestAccountLevelBaseResourceType ¶
type AccountTagUpdateParamsBodyResourceTaggingSetTagsRequestAccountLevelBaseResourceType string
Enum for base account-level resource types (those with no extra required fields).
const ( AccountTagUpdateParamsBodyResourceTaggingSetTagsRequestAccountLevelBaseResourceTypeAccessApplication AccountTagUpdateParamsBodyResourceTaggingSetTagsRequestAccountLevelBaseResourceType = "access_application" AccountTagUpdateParamsBodyResourceTaggingSetTagsRequestAccountLevelBaseResourceTypeAccessGroup AccountTagUpdateParamsBodyResourceTaggingSetTagsRequestAccountLevelBaseResourceType = "access_group" AccountTagUpdateParamsBodyResourceTaggingSetTagsRequestAccountLevelBaseResourceTypeAccount AccountTagUpdateParamsBodyResourceTaggingSetTagsRequestAccountLevelBaseResourceType = "account" AccountTagUpdateParamsBodyResourceTaggingSetTagsRequestAccountLevelBaseResourceTypeAIGateway AccountTagUpdateParamsBodyResourceTaggingSetTagsRequestAccountLevelBaseResourceType = "ai_gateway" AccountTagUpdateParamsBodyResourceTaggingSetTagsRequestAccountLevelBaseResourceTypeAlertingPolicy AccountTagUpdateParamsBodyResourceTaggingSetTagsRequestAccountLevelBaseResourceType = "alerting_policy" AccountTagUpdateParamsBodyResourceTaggingSetTagsRequestAccountLevelBaseResourceTypeAlertingWebhook AccountTagUpdateParamsBodyResourceTaggingSetTagsRequestAccountLevelBaseResourceType = "alerting_webhook" AccountTagUpdateParamsBodyResourceTaggingSetTagsRequestAccountLevelBaseResourceTypeCloudflaredTunnel AccountTagUpdateParamsBodyResourceTaggingSetTagsRequestAccountLevelBaseResourceType = "cloudflared_tunnel" AccountTagUpdateParamsBodyResourceTaggingSetTagsRequestAccountLevelBaseResourceTypeD1Database AccountTagUpdateParamsBodyResourceTaggingSetTagsRequestAccountLevelBaseResourceType = "d1_database" AccountTagUpdateParamsBodyResourceTaggingSetTagsRequestAccountLevelBaseResourceTypeDurableObjectNamespace AccountTagUpdateParamsBodyResourceTaggingSetTagsRequestAccountLevelBaseResourceType = "durable_object_namespace" AccountTagUpdateParamsBodyResourceTaggingSetTagsRequestAccountLevelBaseResourceTypeGatewayList AccountTagUpdateParamsBodyResourceTaggingSetTagsRequestAccountLevelBaseResourceType = "gateway_list" AccountTagUpdateParamsBodyResourceTaggingSetTagsRequestAccountLevelBaseResourceTypeGatewayRule AccountTagUpdateParamsBodyResourceTaggingSetTagsRequestAccountLevelBaseResourceType = "gateway_rule" AccountTagUpdateParamsBodyResourceTaggingSetTagsRequestAccountLevelBaseResourceTypeImage AccountTagUpdateParamsBodyResourceTaggingSetTagsRequestAccountLevelBaseResourceType = "image" AccountTagUpdateParamsBodyResourceTaggingSetTagsRequestAccountLevelBaseResourceTypeKVNamespace AccountTagUpdateParamsBodyResourceTaggingSetTagsRequestAccountLevelBaseResourceType = "kv_namespace" AccountTagUpdateParamsBodyResourceTaggingSetTagsRequestAccountLevelBaseResourceTypeQueue AccountTagUpdateParamsBodyResourceTaggingSetTagsRequestAccountLevelBaseResourceType = "queue" AccountTagUpdateParamsBodyResourceTaggingSetTagsRequestAccountLevelBaseResourceTypeR2Bucket AccountTagUpdateParamsBodyResourceTaggingSetTagsRequestAccountLevelBaseResourceType = "r2_bucket" AccountTagUpdateParamsBodyResourceTaggingSetTagsRequestAccountLevelBaseResourceTypeStreamLiveInput AccountTagUpdateParamsBodyResourceTaggingSetTagsRequestAccountLevelBaseResourceType = "stream_live_input" AccountTagUpdateParamsBodyResourceTaggingSetTagsRequestAccountLevelBaseResourceTypeStreamVideo AccountTagUpdateParamsBodyResourceTaggingSetTagsRequestAccountLevelBaseResourceType = "stream_video" AccountTagUpdateParamsBodyResourceTaggingSetTagsRequestAccountLevelBaseResourceTypeWorker AccountTagUpdateParamsBodyResourceTaggingSetTagsRequestAccountLevelBaseResourceType = "worker" )
type AccountTagUpdateParamsBodyResourceTaggingSetTagsRequestAccountLevelWorkerVersion ¶
type AccountTagUpdateParamsBodyResourceTaggingSetTagsRequestAccountLevelWorkerVersion struct {
// Identifies the unique resource.
ResourceID param.Field[string] `json:"resource_id" api:"required"`
// Enum for base account-level resource types (those with no extra required
// fields).
ResourceType param.Field[AccountTagUpdateParamsBodyResourceTaggingSetTagsRequestAccountLevelWorkerVersionResourceType] `json:"resource_type" api:"required"`
// Worker ID is required only for worker_version resources
WorkerID param.Field[string] `json:"worker_id" api:"required"`
// Contains key-value pairs of tags.
Tags param.Field[map[string]string] `json:"tags"`
}
Request body schema for deleting tags from account-level resources.
func (AccountTagUpdateParamsBodyResourceTaggingSetTagsRequestAccountLevelWorkerVersion) MarshalJSON ¶
func (r AccountTagUpdateParamsBodyResourceTaggingSetTagsRequestAccountLevelWorkerVersion) MarshalJSON() (data []byte, err error)
type AccountTagUpdateParamsBodyResourceTaggingSetTagsRequestAccountLevelWorkerVersionResourceType ¶
type AccountTagUpdateParamsBodyResourceTaggingSetTagsRequestAccountLevelWorkerVersionResourceType string
Enum for base account-level resource types (those with no extra required fields).
const ( AccountTagUpdateParamsBodyResourceTaggingSetTagsRequestAccountLevelWorkerVersionResourceTypeAccessApplication AccountTagUpdateParamsBodyResourceTaggingSetTagsRequestAccountLevelWorkerVersionResourceType = "access_application" AccountTagUpdateParamsBodyResourceTaggingSetTagsRequestAccountLevelWorkerVersionResourceTypeAccessGroup AccountTagUpdateParamsBodyResourceTaggingSetTagsRequestAccountLevelWorkerVersionResourceType = "access_group" AccountTagUpdateParamsBodyResourceTaggingSetTagsRequestAccountLevelWorkerVersionResourceTypeAccount AccountTagUpdateParamsBodyResourceTaggingSetTagsRequestAccountLevelWorkerVersionResourceType = "account" AccountTagUpdateParamsBodyResourceTaggingSetTagsRequestAccountLevelWorkerVersionResourceTypeAIGateway AccountTagUpdateParamsBodyResourceTaggingSetTagsRequestAccountLevelWorkerVersionResourceType = "ai_gateway" AccountTagUpdateParamsBodyResourceTaggingSetTagsRequestAccountLevelWorkerVersionResourceTypeAlertingPolicy AccountTagUpdateParamsBodyResourceTaggingSetTagsRequestAccountLevelWorkerVersionResourceType = "alerting_policy" AccountTagUpdateParamsBodyResourceTaggingSetTagsRequestAccountLevelWorkerVersionResourceTypeAlertingWebhook AccountTagUpdateParamsBodyResourceTaggingSetTagsRequestAccountLevelWorkerVersionResourceType = "alerting_webhook" AccountTagUpdateParamsBodyResourceTaggingSetTagsRequestAccountLevelWorkerVersionResourceTypeCloudflaredTunnel AccountTagUpdateParamsBodyResourceTaggingSetTagsRequestAccountLevelWorkerVersionResourceType = "cloudflared_tunnel" AccountTagUpdateParamsBodyResourceTaggingSetTagsRequestAccountLevelWorkerVersionResourceTypeD1Database AccountTagUpdateParamsBodyResourceTaggingSetTagsRequestAccountLevelWorkerVersionResourceType = "d1_database" AccountTagUpdateParamsBodyResourceTaggingSetTagsRequestAccountLevelWorkerVersionResourceTypeDurableObjectNamespace AccountTagUpdateParamsBodyResourceTaggingSetTagsRequestAccountLevelWorkerVersionResourceType = "durable_object_namespace" AccountTagUpdateParamsBodyResourceTaggingSetTagsRequestAccountLevelWorkerVersionResourceTypeGatewayList AccountTagUpdateParamsBodyResourceTaggingSetTagsRequestAccountLevelWorkerVersionResourceType = "gateway_list" AccountTagUpdateParamsBodyResourceTaggingSetTagsRequestAccountLevelWorkerVersionResourceTypeGatewayRule AccountTagUpdateParamsBodyResourceTaggingSetTagsRequestAccountLevelWorkerVersionResourceType = "gateway_rule" AccountTagUpdateParamsBodyResourceTaggingSetTagsRequestAccountLevelWorkerVersionResourceTypeImage AccountTagUpdateParamsBodyResourceTaggingSetTagsRequestAccountLevelWorkerVersionResourceType = "image" AccountTagUpdateParamsBodyResourceTaggingSetTagsRequestAccountLevelWorkerVersionResourceTypeKVNamespace AccountTagUpdateParamsBodyResourceTaggingSetTagsRequestAccountLevelWorkerVersionResourceType = "kv_namespace" AccountTagUpdateParamsBodyResourceTaggingSetTagsRequestAccountLevelWorkerVersionResourceTypeQueue AccountTagUpdateParamsBodyResourceTaggingSetTagsRequestAccountLevelWorkerVersionResourceType = "queue" AccountTagUpdateParamsBodyResourceTaggingSetTagsRequestAccountLevelWorkerVersionResourceTypeR2Bucket AccountTagUpdateParamsBodyResourceTaggingSetTagsRequestAccountLevelWorkerVersionResourceType = "r2_bucket" AccountTagUpdateParamsBodyResourceTaggingSetTagsRequestAccountLevelWorkerVersionResourceTypeStreamLiveInput AccountTagUpdateParamsBodyResourceTaggingSetTagsRequestAccountLevelWorkerVersionResourceType = "stream_live_input" AccountTagUpdateParamsBodyResourceTaggingSetTagsRequestAccountLevelWorkerVersionResourceTypeStreamVideo AccountTagUpdateParamsBodyResourceTaggingSetTagsRequestAccountLevelWorkerVersionResourceType = "stream_video" AccountTagUpdateParamsBodyResourceTaggingSetTagsRequestAccountLevelWorkerVersionResourceTypeWorker AccountTagUpdateParamsBodyResourceTaggingSetTagsRequestAccountLevelWorkerVersionResourceType = "worker" AccountTagUpdateParamsBodyResourceTaggingSetTagsRequestAccountLevelWorkerVersionResourceTypeWorkerVersion AccountTagUpdateParamsBodyResourceTaggingSetTagsRequestAccountLevelWorkerVersionResourceType = "worker_version" )
type AccountTagUpdateParamsBodyResourceType ¶
type AccountTagUpdateParamsBodyResourceType string
Enum for base account-level resource types (those with no extra required fields).
const ( AccountTagUpdateParamsBodyResourceTypeAccessApplication AccountTagUpdateParamsBodyResourceType = "access_application" AccountTagUpdateParamsBodyResourceTypeAccessGroup AccountTagUpdateParamsBodyResourceType = "access_group" AccountTagUpdateParamsBodyResourceTypeAccount AccountTagUpdateParamsBodyResourceType = "account" AccountTagUpdateParamsBodyResourceTypeAIGateway AccountTagUpdateParamsBodyResourceType = "ai_gateway" AccountTagUpdateParamsBodyResourceTypeAlertingPolicy AccountTagUpdateParamsBodyResourceType = "alerting_policy" AccountTagUpdateParamsBodyResourceTypeAlertingWebhook AccountTagUpdateParamsBodyResourceType = "alerting_webhook" AccountTagUpdateParamsBodyResourceTypeCloudflaredTunnel AccountTagUpdateParamsBodyResourceType = "cloudflared_tunnel" AccountTagUpdateParamsBodyResourceTypeD1Database AccountTagUpdateParamsBodyResourceType = "d1_database" AccountTagUpdateParamsBodyResourceTypeDurableObjectNamespace AccountTagUpdateParamsBodyResourceType = "durable_object_namespace" AccountTagUpdateParamsBodyResourceTypeGatewayList AccountTagUpdateParamsBodyResourceType = "gateway_list" AccountTagUpdateParamsBodyResourceTypeGatewayRule AccountTagUpdateParamsBodyResourceType = "gateway_rule" AccountTagUpdateParamsBodyResourceTypeImage AccountTagUpdateParamsBodyResourceType = "image" AccountTagUpdateParamsBodyResourceTypeKVNamespace AccountTagUpdateParamsBodyResourceType = "kv_namespace" AccountTagUpdateParamsBodyResourceTypeQueue AccountTagUpdateParamsBodyResourceType = "queue" AccountTagUpdateParamsBodyResourceTypeR2Bucket AccountTagUpdateParamsBodyResourceType = "r2_bucket" AccountTagUpdateParamsBodyResourceTypeStreamLiveInput AccountTagUpdateParamsBodyResourceType = "stream_live_input" AccountTagUpdateParamsBodyResourceTypeStreamVideo AccountTagUpdateParamsBodyResourceType = "stream_video" AccountTagUpdateParamsBodyResourceTypeWorker AccountTagUpdateParamsBodyResourceType = "worker" AccountTagUpdateParamsBodyResourceTypeWorkerVersion AccountTagUpdateParamsBodyResourceType = "worker_version" )
func (AccountTagUpdateParamsBodyResourceType) IsKnown ¶
func (r AccountTagUpdateParamsBodyResourceType) IsKnown() bool
type AccountTagUpdateParamsBodyUnion ¶
type AccountTagUpdateParamsBodyUnion interface {
// contains filtered or unexported methods
}
Request body schema for setting tags on account-level resources.
Satisfied by resource_tagging.AccountTagUpdateParamsBodyResourceTaggingSetTagsRequestAccountLevelWorkerVersion, resource_tagging.AccountTagUpdateParamsBodyResourceTaggingSetTagsRequestAccountLevelBase, AccountTagUpdateParamsBody.
type AccountTagUpdateResponse ¶
type AccountTagUpdateResponse struct {
// Identifies the unique resource.
ID string `json:"id" api:"required"`
// ETag identifier for optimistic concurrency control. Formatted as "v1:<hash>"
// where the hash is the base64url-encoded SHA-256 (truncated to 128 bits) of the
// tags map canonicalized using RFC 8785 (JSON Canonicalization Scheme). Clients
// should treat ETags as opaque strings and pass them back via the If-Match header
// on write operations.
Etag string `json:"etag" api:"required"`
// Human-readable name of the resource.
Name string `json:"name" api:"required"`
// This field can have the runtime type of [map[string]string].
Tags interface{} `json:"tags" api:"required"`
Type AccountTagUpdateResponseType `json:"type" api:"required"`
// Access application ID is required only for access_application_policy resources
AccessApplicationID string `json:"access_application_id" format:"uuid"`
// Worker ID is required only for worker_version resources
WorkerID string `json:"worker_id"`
// Zone ID is required only for zone-level resources
ZoneID string `json:"zone_id"`
JSON accountTagUpdateResponseJSON `json:"-"`
// contains filtered or unexported fields
}
Response for access_application resources
func (AccountTagUpdateResponse) AsUnion ¶
func (r AccountTagUpdateResponse) AsUnion() AccountTagUpdateResponseUnion
AsUnion returns a AccountTagUpdateResponseUnion interface which you can cast to the specific types for more type safety.
Possible runtime types of the union are AccountTagUpdateResponseResourceTaggingTaggedResourceObjectAccessApplication, AccountTagUpdateResponseResourceTaggingTaggedResourceObjectAccessApplicationPolicy, AccountTagUpdateResponseResourceTaggingTaggedResourceObjectAccessGroup, AccountTagUpdateResponseResourceTaggingTaggedResourceObjectAccount, AccountTagUpdateResponseResourceTaggingTaggedResourceObjectAIGateway, AccountTagUpdateResponseResourceTaggingTaggedResourceObjectAlertingPolicy, AccountTagUpdateResponseResourceTaggingTaggedResourceObjectAlertingWebhook, AccountTagUpdateResponseResourceTaggingTaggedResourceObjectAPIGatewayOperation, AccountTagUpdateResponseResourceTaggingTaggedResourceObjectCloudflaredTunnel, AccountTagUpdateResponseResourceTaggingTaggedResourceObjectCustomCertificate, AccountTagUpdateResponseResourceTaggingTaggedResourceObjectCustomHostname, AccountTagUpdateResponseResourceTaggingTaggedResourceObjectD1Database, AccountTagUpdateResponseResourceTaggingTaggedResourceObjectDNSRecord, AccountTagUpdateResponseResourceTaggingTaggedResourceObjectDurableObjectNamespace, AccountTagUpdateResponseResourceTaggingTaggedResourceObjectGatewayList, AccountTagUpdateResponseResourceTaggingTaggedResourceObjectGatewayRule, AccountTagUpdateResponseResourceTaggingTaggedResourceObjectImage, AccountTagUpdateResponseResourceTaggingTaggedResourceObjectKVNamespace, AccountTagUpdateResponseResourceTaggingTaggedResourceObjectManagedClientCertificate, AccountTagUpdateResponseResourceTaggingTaggedResourceObjectQueue, AccountTagUpdateResponseResourceTaggingTaggedResourceObjectR2Bucket, AccountTagUpdateResponseResourceTaggingTaggedResourceObjectResourceShare, AccountTagUpdateResponseResourceTaggingTaggedResourceObjectStreamLiveInput, AccountTagUpdateResponseResourceTaggingTaggedResourceObjectStreamVideo, AccountTagUpdateResponseResourceTaggingTaggedResourceObjectWorker, AccountTagUpdateResponseResourceTaggingTaggedResourceObjectWorkerVersion, AccountTagUpdateResponseResourceTaggingTaggedResourceObjectZone.
func (*AccountTagUpdateResponse) UnmarshalJSON ¶
func (r *AccountTagUpdateResponse) UnmarshalJSON(data []byte) (err error)
type AccountTagUpdateResponseEnvelope ¶
type AccountTagUpdateResponseEnvelope struct {
Errors []AccountTagUpdateResponseEnvelopeErrors `json:"errors" api:"required"`
Messages []AccountTagUpdateResponseEnvelopeMessages `json:"messages" api:"required"`
// Whether the API call was successful.
Success AccountTagUpdateResponseEnvelopeSuccess `json:"success" api:"required"`
// Response for access_application resources
Result AccountTagUpdateResponse `json:"result"`
JSON accountTagUpdateResponseEnvelopeJSON `json:"-"`
}
func (*AccountTagUpdateResponseEnvelope) UnmarshalJSON ¶
func (r *AccountTagUpdateResponseEnvelope) UnmarshalJSON(data []byte) (err error)
type AccountTagUpdateResponseEnvelopeErrors ¶
type AccountTagUpdateResponseEnvelopeErrors struct {
Code int64 `json:"code" api:"required"`
Message string `json:"message" api:"required"`
DocumentationURL string `json:"documentation_url"`
Source AccountTagUpdateResponseEnvelopeErrorsSource `json:"source"`
JSON accountTagUpdateResponseEnvelopeErrorsJSON `json:"-"`
}
func (*AccountTagUpdateResponseEnvelopeErrors) UnmarshalJSON ¶
func (r *AccountTagUpdateResponseEnvelopeErrors) UnmarshalJSON(data []byte) (err error)
type AccountTagUpdateResponseEnvelopeErrorsSource ¶
type AccountTagUpdateResponseEnvelopeErrorsSource struct {
Pointer string `json:"pointer"`
JSON accountTagUpdateResponseEnvelopeErrorsSourceJSON `json:"-"`
}
func (*AccountTagUpdateResponseEnvelopeErrorsSource) UnmarshalJSON ¶
func (r *AccountTagUpdateResponseEnvelopeErrorsSource) UnmarshalJSON(data []byte) (err error)
type AccountTagUpdateResponseEnvelopeMessages ¶
type AccountTagUpdateResponseEnvelopeMessages struct {
Code int64 `json:"code" api:"required"`
Message string `json:"message" api:"required"`
DocumentationURL string `json:"documentation_url"`
Source AccountTagUpdateResponseEnvelopeMessagesSource `json:"source"`
JSON accountTagUpdateResponseEnvelopeMessagesJSON `json:"-"`
}
func (*AccountTagUpdateResponseEnvelopeMessages) UnmarshalJSON ¶
func (r *AccountTagUpdateResponseEnvelopeMessages) UnmarshalJSON(data []byte) (err error)
type AccountTagUpdateResponseEnvelopeMessagesSource ¶
type AccountTagUpdateResponseEnvelopeMessagesSource struct {
Pointer string `json:"pointer"`
JSON accountTagUpdateResponseEnvelopeMessagesSourceJSON `json:"-"`
}
func (*AccountTagUpdateResponseEnvelopeMessagesSource) UnmarshalJSON ¶
func (r *AccountTagUpdateResponseEnvelopeMessagesSource) UnmarshalJSON(data []byte) (err error)
type AccountTagUpdateResponseEnvelopeSuccess ¶
type AccountTagUpdateResponseEnvelopeSuccess bool
Whether the API call was successful.
const (
AccountTagUpdateResponseEnvelopeSuccessTrue AccountTagUpdateResponseEnvelopeSuccess = true
)
func (AccountTagUpdateResponseEnvelopeSuccess) IsKnown ¶
func (r AccountTagUpdateResponseEnvelopeSuccess) IsKnown() bool
type AccountTagUpdateResponseResourceTaggingTaggedResourceObjectAIGateway ¶
type AccountTagUpdateResponseResourceTaggingTaggedResourceObjectAIGateway struct {
// Identifies the unique resource.
ID string `json:"id" api:"required"`
// ETag identifier for optimistic concurrency control. Formatted as "v1:<hash>"
// where the hash is the base64url-encoded SHA-256 (truncated to 128 bits) of the
// tags map canonicalized using RFC 8785 (JSON Canonicalization Scheme). Clients
// should treat ETags as opaque strings and pass them back via the If-Match header
// on write operations.
Etag string `json:"etag" api:"required"`
// Human-readable name of the resource.
Name string `json:"name" api:"required"`
// Contains key-value pairs of tags.
Tags map[string]string `json:"tags" api:"required"`
Type AccountTagUpdateResponseResourceTaggingTaggedResourceObjectAIGatewayType `json:"type" api:"required"`
JSON accountTagUpdateResponseResourceTaggingTaggedResourceObjectAIGatewayJSON `json:"-"`
}
Response for ai_gateway resources
func (*AccountTagUpdateResponseResourceTaggingTaggedResourceObjectAIGateway) UnmarshalJSON ¶
func (r *AccountTagUpdateResponseResourceTaggingTaggedResourceObjectAIGateway) UnmarshalJSON(data []byte) (err error)
type AccountTagUpdateResponseResourceTaggingTaggedResourceObjectAIGatewayType ¶
type AccountTagUpdateResponseResourceTaggingTaggedResourceObjectAIGatewayType string
const (
AccountTagUpdateResponseResourceTaggingTaggedResourceObjectAIGatewayTypeAIGateway AccountTagUpdateResponseResourceTaggingTaggedResourceObjectAIGatewayType = "ai_gateway"
)
func (AccountTagUpdateResponseResourceTaggingTaggedResourceObjectAIGatewayType) IsKnown ¶
func (r AccountTagUpdateResponseResourceTaggingTaggedResourceObjectAIGatewayType) IsKnown() bool
type AccountTagUpdateResponseResourceTaggingTaggedResourceObjectAPIGatewayOperation ¶
type AccountTagUpdateResponseResourceTaggingTaggedResourceObjectAPIGatewayOperation struct {
// Identifies the unique resource.
ID string `json:"id" api:"required"`
// ETag identifier for optimistic concurrency control. Formatted as "v1:<hash>"
// where the hash is the base64url-encoded SHA-256 (truncated to 128 bits) of the
// tags map canonicalized using RFC 8785 (JSON Canonicalization Scheme). Clients
// should treat ETags as opaque strings and pass them back via the If-Match header
// on write operations.
Etag string `json:"etag" api:"required"`
// Human-readable name of the resource.
Name string `json:"name" api:"required"`
// Contains key-value pairs of tags.
Tags map[string]string `json:"tags" api:"required"`
Type AccountTagUpdateResponseResourceTaggingTaggedResourceObjectAPIGatewayOperationType `json:"type" api:"required"`
// Zone ID is required only for zone-level resources
ZoneID string `json:"zone_id" api:"required"`
JSON accountTagUpdateResponseResourceTaggingTaggedResourceObjectAPIGatewayOperationJSON `json:"-"`
}
Response for api_gateway_operation resources
func (*AccountTagUpdateResponseResourceTaggingTaggedResourceObjectAPIGatewayOperation) UnmarshalJSON ¶
func (r *AccountTagUpdateResponseResourceTaggingTaggedResourceObjectAPIGatewayOperation) UnmarshalJSON(data []byte) (err error)
type AccountTagUpdateResponseResourceTaggingTaggedResourceObjectAPIGatewayOperationType ¶
type AccountTagUpdateResponseResourceTaggingTaggedResourceObjectAPIGatewayOperationType string
const (
AccountTagUpdateResponseResourceTaggingTaggedResourceObjectAPIGatewayOperationTypeAPIGatewayOperation AccountTagUpdateResponseResourceTaggingTaggedResourceObjectAPIGatewayOperationType = "api_gateway_operation"
)
type AccountTagUpdateResponseResourceTaggingTaggedResourceObjectAccessApplication ¶
type AccountTagUpdateResponseResourceTaggingTaggedResourceObjectAccessApplication struct {
// Identifies the unique resource.
ID string `json:"id" api:"required"`
// ETag identifier for optimistic concurrency control. Formatted as "v1:<hash>"
// where the hash is the base64url-encoded SHA-256 (truncated to 128 bits) of the
// tags map canonicalized using RFC 8785 (JSON Canonicalization Scheme). Clients
// should treat ETags as opaque strings and pass them back via the If-Match header
// on write operations.
Etag string `json:"etag" api:"required"`
// Human-readable name of the resource.
Name string `json:"name" api:"required"`
// Contains key-value pairs of tags.
Tags map[string]string `json:"tags" api:"required"`
Type AccountTagUpdateResponseResourceTaggingTaggedResourceObjectAccessApplicationType `json:"type" api:"required"`
JSON accountTagUpdateResponseResourceTaggingTaggedResourceObjectAccessApplicationJSON `json:"-"`
}
Response for access_application resources
func (*AccountTagUpdateResponseResourceTaggingTaggedResourceObjectAccessApplication) UnmarshalJSON ¶
func (r *AccountTagUpdateResponseResourceTaggingTaggedResourceObjectAccessApplication) UnmarshalJSON(data []byte) (err error)
type AccountTagUpdateResponseResourceTaggingTaggedResourceObjectAccessApplicationPolicy ¶
type AccountTagUpdateResponseResourceTaggingTaggedResourceObjectAccessApplicationPolicy struct {
// Identifies the unique resource.
ID string `json:"id" api:"required"`
// Access application ID is required only for access_application_policy resources
AccessApplicationID string `json:"access_application_id" api:"required" format:"uuid"`
// ETag identifier for optimistic concurrency control. Formatted as "v1:<hash>"
// where the hash is the base64url-encoded SHA-256 (truncated to 128 bits) of the
// tags map canonicalized using RFC 8785 (JSON Canonicalization Scheme). Clients
// should treat ETags as opaque strings and pass them back via the If-Match header
// on write operations.
Etag string `json:"etag" api:"required"`
// Human-readable name of the resource.
Name string `json:"name" api:"required"`
// Contains key-value pairs of tags.
Tags map[string]string `json:"tags" api:"required"`
Type AccountTagUpdateResponseResourceTaggingTaggedResourceObjectAccessApplicationPolicyType `json:"type" api:"required"`
// Zone ID is required only for zone-level resources
ZoneID string `json:"zone_id" api:"required"`
JSON accountTagUpdateResponseResourceTaggingTaggedResourceObjectAccessApplicationPolicyJSON `json:"-"`
}
Response for access_application_policy resources
func (*AccountTagUpdateResponseResourceTaggingTaggedResourceObjectAccessApplicationPolicy) UnmarshalJSON ¶
func (r *AccountTagUpdateResponseResourceTaggingTaggedResourceObjectAccessApplicationPolicy) UnmarshalJSON(data []byte) (err error)
type AccountTagUpdateResponseResourceTaggingTaggedResourceObjectAccessApplicationPolicyType ¶
type AccountTagUpdateResponseResourceTaggingTaggedResourceObjectAccessApplicationPolicyType string
const (
AccountTagUpdateResponseResourceTaggingTaggedResourceObjectAccessApplicationPolicyTypeAccessApplicationPolicy AccountTagUpdateResponseResourceTaggingTaggedResourceObjectAccessApplicationPolicyType = "access_application_policy"
)
type AccountTagUpdateResponseResourceTaggingTaggedResourceObjectAccessApplicationType ¶
type AccountTagUpdateResponseResourceTaggingTaggedResourceObjectAccessApplicationType string
const (
AccountTagUpdateResponseResourceTaggingTaggedResourceObjectAccessApplicationTypeAccessApplication AccountTagUpdateResponseResourceTaggingTaggedResourceObjectAccessApplicationType = "access_application"
)
type AccountTagUpdateResponseResourceTaggingTaggedResourceObjectAccessGroup ¶
type AccountTagUpdateResponseResourceTaggingTaggedResourceObjectAccessGroup struct {
// Identifies the unique resource.
ID string `json:"id" api:"required"`
// ETag identifier for optimistic concurrency control. Formatted as "v1:<hash>"
// where the hash is the base64url-encoded SHA-256 (truncated to 128 bits) of the
// tags map canonicalized using RFC 8785 (JSON Canonicalization Scheme). Clients
// should treat ETags as opaque strings and pass them back via the If-Match header
// on write operations.
Etag string `json:"etag" api:"required"`
// Human-readable name of the resource.
Name string `json:"name" api:"required"`
// Contains key-value pairs of tags.
Tags map[string]string `json:"tags" api:"required"`
Type AccountTagUpdateResponseResourceTaggingTaggedResourceObjectAccessGroupType `json:"type" api:"required"`
JSON accountTagUpdateResponseResourceTaggingTaggedResourceObjectAccessGroupJSON `json:"-"`
}
Response for access_group resources
func (*AccountTagUpdateResponseResourceTaggingTaggedResourceObjectAccessGroup) UnmarshalJSON ¶
func (r *AccountTagUpdateResponseResourceTaggingTaggedResourceObjectAccessGroup) UnmarshalJSON(data []byte) (err error)
type AccountTagUpdateResponseResourceTaggingTaggedResourceObjectAccessGroupType ¶
type AccountTagUpdateResponseResourceTaggingTaggedResourceObjectAccessGroupType string
const (
AccountTagUpdateResponseResourceTaggingTaggedResourceObjectAccessGroupTypeAccessGroup AccountTagUpdateResponseResourceTaggingTaggedResourceObjectAccessGroupType = "access_group"
)
func (AccountTagUpdateResponseResourceTaggingTaggedResourceObjectAccessGroupType) IsKnown ¶
func (r AccountTagUpdateResponseResourceTaggingTaggedResourceObjectAccessGroupType) IsKnown() bool
type AccountTagUpdateResponseResourceTaggingTaggedResourceObjectAccount ¶
type AccountTagUpdateResponseResourceTaggingTaggedResourceObjectAccount struct {
// Identifies the unique resource.
ID string `json:"id" api:"required"`
// ETag identifier for optimistic concurrency control. Formatted as "v1:<hash>"
// where the hash is the base64url-encoded SHA-256 (truncated to 128 bits) of the
// tags map canonicalized using RFC 8785 (JSON Canonicalization Scheme). Clients
// should treat ETags as opaque strings and pass them back via the If-Match header
// on write operations.
Etag string `json:"etag" api:"required"`
// Human-readable name of the resource.
Name string `json:"name" api:"required"`
// Contains key-value pairs of tags.
Tags map[string]string `json:"tags" api:"required"`
Type AccountTagUpdateResponseResourceTaggingTaggedResourceObjectAccountType `json:"type" api:"required"`
JSON accountTagUpdateResponseResourceTaggingTaggedResourceObjectAccountJSON `json:"-"`
}
Response for account resources
func (*AccountTagUpdateResponseResourceTaggingTaggedResourceObjectAccount) UnmarshalJSON ¶
func (r *AccountTagUpdateResponseResourceTaggingTaggedResourceObjectAccount) UnmarshalJSON(data []byte) (err error)
type AccountTagUpdateResponseResourceTaggingTaggedResourceObjectAccountType ¶
type AccountTagUpdateResponseResourceTaggingTaggedResourceObjectAccountType string
const (
AccountTagUpdateResponseResourceTaggingTaggedResourceObjectAccountTypeAccount AccountTagUpdateResponseResourceTaggingTaggedResourceObjectAccountType = "account"
)
func (AccountTagUpdateResponseResourceTaggingTaggedResourceObjectAccountType) IsKnown ¶
func (r AccountTagUpdateResponseResourceTaggingTaggedResourceObjectAccountType) IsKnown() bool
type AccountTagUpdateResponseResourceTaggingTaggedResourceObjectAlertingPolicy ¶
type AccountTagUpdateResponseResourceTaggingTaggedResourceObjectAlertingPolicy struct {
// Identifies the unique resource.
ID string `json:"id" api:"required"`
// ETag identifier for optimistic concurrency control. Formatted as "v1:<hash>"
// where the hash is the base64url-encoded SHA-256 (truncated to 128 bits) of the
// tags map canonicalized using RFC 8785 (JSON Canonicalization Scheme). Clients
// should treat ETags as opaque strings and pass them back via the If-Match header
// on write operations.
Etag string `json:"etag" api:"required"`
// Human-readable name of the resource.
Name string `json:"name" api:"required"`
// Contains key-value pairs of tags.
Tags map[string]string `json:"tags" api:"required"`
Type AccountTagUpdateResponseResourceTaggingTaggedResourceObjectAlertingPolicyType `json:"type" api:"required"`
JSON accountTagUpdateResponseResourceTaggingTaggedResourceObjectAlertingPolicyJSON `json:"-"`
}
Response for alerting_policy resources
func (*AccountTagUpdateResponseResourceTaggingTaggedResourceObjectAlertingPolicy) UnmarshalJSON ¶
func (r *AccountTagUpdateResponseResourceTaggingTaggedResourceObjectAlertingPolicy) UnmarshalJSON(data []byte) (err error)
type AccountTagUpdateResponseResourceTaggingTaggedResourceObjectAlertingPolicyType ¶
type AccountTagUpdateResponseResourceTaggingTaggedResourceObjectAlertingPolicyType string
const (
AccountTagUpdateResponseResourceTaggingTaggedResourceObjectAlertingPolicyTypeAlertingPolicy AccountTagUpdateResponseResourceTaggingTaggedResourceObjectAlertingPolicyType = "alerting_policy"
)
type AccountTagUpdateResponseResourceTaggingTaggedResourceObjectAlertingWebhook ¶
type AccountTagUpdateResponseResourceTaggingTaggedResourceObjectAlertingWebhook struct {
// Identifies the unique resource.
ID string `json:"id" api:"required"`
// ETag identifier for optimistic concurrency control. Formatted as "v1:<hash>"
// where the hash is the base64url-encoded SHA-256 (truncated to 128 bits) of the
// tags map canonicalized using RFC 8785 (JSON Canonicalization Scheme). Clients
// should treat ETags as opaque strings and pass them back via the If-Match header
// on write operations.
Etag string `json:"etag" api:"required"`
// Human-readable name of the resource.
Name string `json:"name" api:"required"`
// Contains key-value pairs of tags.
Tags map[string]string `json:"tags" api:"required"`
Type AccountTagUpdateResponseResourceTaggingTaggedResourceObjectAlertingWebhookType `json:"type" api:"required"`
JSON accountTagUpdateResponseResourceTaggingTaggedResourceObjectAlertingWebhookJSON `json:"-"`
}
Response for alerting_webhook resources
func (*AccountTagUpdateResponseResourceTaggingTaggedResourceObjectAlertingWebhook) UnmarshalJSON ¶
func (r *AccountTagUpdateResponseResourceTaggingTaggedResourceObjectAlertingWebhook) UnmarshalJSON(data []byte) (err error)
type AccountTagUpdateResponseResourceTaggingTaggedResourceObjectAlertingWebhookType ¶
type AccountTagUpdateResponseResourceTaggingTaggedResourceObjectAlertingWebhookType string
const (
AccountTagUpdateResponseResourceTaggingTaggedResourceObjectAlertingWebhookTypeAlertingWebhook AccountTagUpdateResponseResourceTaggingTaggedResourceObjectAlertingWebhookType = "alerting_webhook"
)
type AccountTagUpdateResponseResourceTaggingTaggedResourceObjectCloudflaredTunnel ¶
type AccountTagUpdateResponseResourceTaggingTaggedResourceObjectCloudflaredTunnel struct {
// Identifies the unique resource.
ID string `json:"id" api:"required"`
// ETag identifier for optimistic concurrency control. Formatted as "v1:<hash>"
// where the hash is the base64url-encoded SHA-256 (truncated to 128 bits) of the
// tags map canonicalized using RFC 8785 (JSON Canonicalization Scheme). Clients
// should treat ETags as opaque strings and pass them back via the If-Match header
// on write operations.
Etag string `json:"etag" api:"required"`
// Human-readable name of the resource.
Name string `json:"name" api:"required"`
// Contains key-value pairs of tags.
Tags map[string]string `json:"tags" api:"required"`
Type AccountTagUpdateResponseResourceTaggingTaggedResourceObjectCloudflaredTunnelType `json:"type" api:"required"`
JSON accountTagUpdateResponseResourceTaggingTaggedResourceObjectCloudflaredTunnelJSON `json:"-"`
}
Response for cloudflared_tunnel resources
func (*AccountTagUpdateResponseResourceTaggingTaggedResourceObjectCloudflaredTunnel) UnmarshalJSON ¶
func (r *AccountTagUpdateResponseResourceTaggingTaggedResourceObjectCloudflaredTunnel) UnmarshalJSON(data []byte) (err error)
type AccountTagUpdateResponseResourceTaggingTaggedResourceObjectCloudflaredTunnelType ¶
type AccountTagUpdateResponseResourceTaggingTaggedResourceObjectCloudflaredTunnelType string
const (
AccountTagUpdateResponseResourceTaggingTaggedResourceObjectCloudflaredTunnelTypeCloudflaredTunnel AccountTagUpdateResponseResourceTaggingTaggedResourceObjectCloudflaredTunnelType = "cloudflared_tunnel"
)
type AccountTagUpdateResponseResourceTaggingTaggedResourceObjectCustomCertificate ¶
type AccountTagUpdateResponseResourceTaggingTaggedResourceObjectCustomCertificate struct {
// Identifies the unique resource.
ID string `json:"id" api:"required"`
// ETag identifier for optimistic concurrency control. Formatted as "v1:<hash>"
// where the hash is the base64url-encoded SHA-256 (truncated to 128 bits) of the
// tags map canonicalized using RFC 8785 (JSON Canonicalization Scheme). Clients
// should treat ETags as opaque strings and pass them back via the If-Match header
// on write operations.
Etag string `json:"etag" api:"required"`
// Human-readable name of the resource.
Name string `json:"name" api:"required"`
// Contains key-value pairs of tags.
Tags map[string]string `json:"tags" api:"required"`
Type AccountTagUpdateResponseResourceTaggingTaggedResourceObjectCustomCertificateType `json:"type" api:"required"`
// Zone ID is required only for zone-level resources
ZoneID string `json:"zone_id" api:"required"`
JSON accountTagUpdateResponseResourceTaggingTaggedResourceObjectCustomCertificateJSON `json:"-"`
}
Response for custom_certificate resources
func (*AccountTagUpdateResponseResourceTaggingTaggedResourceObjectCustomCertificate) UnmarshalJSON ¶
func (r *AccountTagUpdateResponseResourceTaggingTaggedResourceObjectCustomCertificate) UnmarshalJSON(data []byte) (err error)
type AccountTagUpdateResponseResourceTaggingTaggedResourceObjectCustomCertificateType ¶
type AccountTagUpdateResponseResourceTaggingTaggedResourceObjectCustomCertificateType string
const (
AccountTagUpdateResponseResourceTaggingTaggedResourceObjectCustomCertificateTypeCustomCertificate AccountTagUpdateResponseResourceTaggingTaggedResourceObjectCustomCertificateType = "custom_certificate"
)
type AccountTagUpdateResponseResourceTaggingTaggedResourceObjectCustomHostname ¶
type AccountTagUpdateResponseResourceTaggingTaggedResourceObjectCustomHostname struct {
// Identifies the unique resource.
ID string `json:"id" api:"required"`
// ETag identifier for optimistic concurrency control. Formatted as "v1:<hash>"
// where the hash is the base64url-encoded SHA-256 (truncated to 128 bits) of the
// tags map canonicalized using RFC 8785 (JSON Canonicalization Scheme). Clients
// should treat ETags as opaque strings and pass them back via the If-Match header
// on write operations.
Etag string `json:"etag" api:"required"`
// Human-readable name of the resource.
Name string `json:"name" api:"required"`
// Contains key-value pairs of tags.
Tags map[string]string `json:"tags" api:"required"`
Type AccountTagUpdateResponseResourceTaggingTaggedResourceObjectCustomHostnameType `json:"type" api:"required"`
// Zone ID is required only for zone-level resources
ZoneID string `json:"zone_id" api:"required"`
JSON accountTagUpdateResponseResourceTaggingTaggedResourceObjectCustomHostnameJSON `json:"-"`
}
Response for custom_hostname resources
func (*AccountTagUpdateResponseResourceTaggingTaggedResourceObjectCustomHostname) UnmarshalJSON ¶
func (r *AccountTagUpdateResponseResourceTaggingTaggedResourceObjectCustomHostname) UnmarshalJSON(data []byte) (err error)
type AccountTagUpdateResponseResourceTaggingTaggedResourceObjectCustomHostnameType ¶
type AccountTagUpdateResponseResourceTaggingTaggedResourceObjectCustomHostnameType string
const (
AccountTagUpdateResponseResourceTaggingTaggedResourceObjectCustomHostnameTypeCustomHostname AccountTagUpdateResponseResourceTaggingTaggedResourceObjectCustomHostnameType = "custom_hostname"
)
type AccountTagUpdateResponseResourceTaggingTaggedResourceObjectD1Database ¶
type AccountTagUpdateResponseResourceTaggingTaggedResourceObjectD1Database struct {
// Identifies the unique resource.
ID string `json:"id" api:"required"`
// ETag identifier for optimistic concurrency control. Formatted as "v1:<hash>"
// where the hash is the base64url-encoded SHA-256 (truncated to 128 bits) of the
// tags map canonicalized using RFC 8785 (JSON Canonicalization Scheme). Clients
// should treat ETags as opaque strings and pass them back via the If-Match header
// on write operations.
Etag string `json:"etag" api:"required"`
// Human-readable name of the resource.
Name string `json:"name" api:"required"`
// Contains key-value pairs of tags.
Tags map[string]string `json:"tags" api:"required"`
Type AccountTagUpdateResponseResourceTaggingTaggedResourceObjectD1DatabaseType `json:"type" api:"required"`
JSON accountTagUpdateResponseResourceTaggingTaggedResourceObjectD1DatabaseJSON `json:"-"`
}
Response for d1_database resources
func (*AccountTagUpdateResponseResourceTaggingTaggedResourceObjectD1Database) UnmarshalJSON ¶
func (r *AccountTagUpdateResponseResourceTaggingTaggedResourceObjectD1Database) UnmarshalJSON(data []byte) (err error)
type AccountTagUpdateResponseResourceTaggingTaggedResourceObjectD1DatabaseType ¶
type AccountTagUpdateResponseResourceTaggingTaggedResourceObjectD1DatabaseType string
const (
AccountTagUpdateResponseResourceTaggingTaggedResourceObjectD1DatabaseTypeD1Database AccountTagUpdateResponseResourceTaggingTaggedResourceObjectD1DatabaseType = "d1_database"
)
func (AccountTagUpdateResponseResourceTaggingTaggedResourceObjectD1DatabaseType) IsKnown ¶
func (r AccountTagUpdateResponseResourceTaggingTaggedResourceObjectD1DatabaseType) IsKnown() bool
type AccountTagUpdateResponseResourceTaggingTaggedResourceObjectDNSRecord ¶
type AccountTagUpdateResponseResourceTaggingTaggedResourceObjectDNSRecord struct {
// Identifies the unique resource.
ID string `json:"id" api:"required"`
// ETag identifier for optimistic concurrency control. Formatted as "v1:<hash>"
// where the hash is the base64url-encoded SHA-256 (truncated to 128 bits) of the
// tags map canonicalized using RFC 8785 (JSON Canonicalization Scheme). Clients
// should treat ETags as opaque strings and pass them back via the If-Match header
// on write operations.
Etag string `json:"etag" api:"required"`
// Human-readable name of the resource.
Name string `json:"name" api:"required"`
// Contains key-value pairs of tags.
Tags map[string]string `json:"tags" api:"required"`
Type AccountTagUpdateResponseResourceTaggingTaggedResourceObjectDNSRecordType `json:"type" api:"required"`
// Zone ID is required only for zone-level resources
ZoneID string `json:"zone_id" api:"required"`
JSON accountTagUpdateResponseResourceTaggingTaggedResourceObjectDNSRecordJSON `json:"-"`
}
Response for dns_record resources
func (*AccountTagUpdateResponseResourceTaggingTaggedResourceObjectDNSRecord) UnmarshalJSON ¶
func (r *AccountTagUpdateResponseResourceTaggingTaggedResourceObjectDNSRecord) UnmarshalJSON(data []byte) (err error)
type AccountTagUpdateResponseResourceTaggingTaggedResourceObjectDNSRecordType ¶
type AccountTagUpdateResponseResourceTaggingTaggedResourceObjectDNSRecordType string
const (
AccountTagUpdateResponseResourceTaggingTaggedResourceObjectDNSRecordTypeDNSRecord AccountTagUpdateResponseResourceTaggingTaggedResourceObjectDNSRecordType = "dns_record"
)
func (AccountTagUpdateResponseResourceTaggingTaggedResourceObjectDNSRecordType) IsKnown ¶
func (r AccountTagUpdateResponseResourceTaggingTaggedResourceObjectDNSRecordType) IsKnown() bool
type AccountTagUpdateResponseResourceTaggingTaggedResourceObjectDurableObjectNamespace ¶
type AccountTagUpdateResponseResourceTaggingTaggedResourceObjectDurableObjectNamespace struct {
// Identifies the unique resource.
ID string `json:"id" api:"required"`
// ETag identifier for optimistic concurrency control. Formatted as "v1:<hash>"
// where the hash is the base64url-encoded SHA-256 (truncated to 128 bits) of the
// tags map canonicalized using RFC 8785 (JSON Canonicalization Scheme). Clients
// should treat ETags as opaque strings and pass them back via the If-Match header
// on write operations.
Etag string `json:"etag" api:"required"`
// Human-readable name of the resource.
Name string `json:"name" api:"required"`
// Contains key-value pairs of tags.
Tags map[string]string `json:"tags" api:"required"`
Type AccountTagUpdateResponseResourceTaggingTaggedResourceObjectDurableObjectNamespaceType `json:"type" api:"required"`
JSON accountTagUpdateResponseResourceTaggingTaggedResourceObjectDurableObjectNamespaceJSON `json:"-"`
}
Response for durable_object_namespace resources
func (*AccountTagUpdateResponseResourceTaggingTaggedResourceObjectDurableObjectNamespace) UnmarshalJSON ¶
func (r *AccountTagUpdateResponseResourceTaggingTaggedResourceObjectDurableObjectNamespace) UnmarshalJSON(data []byte) (err error)
type AccountTagUpdateResponseResourceTaggingTaggedResourceObjectDurableObjectNamespaceType ¶
type AccountTagUpdateResponseResourceTaggingTaggedResourceObjectDurableObjectNamespaceType string
const (
AccountTagUpdateResponseResourceTaggingTaggedResourceObjectDurableObjectNamespaceTypeDurableObjectNamespace AccountTagUpdateResponseResourceTaggingTaggedResourceObjectDurableObjectNamespaceType = "durable_object_namespace"
)
type AccountTagUpdateResponseResourceTaggingTaggedResourceObjectGatewayList ¶
type AccountTagUpdateResponseResourceTaggingTaggedResourceObjectGatewayList struct {
// Identifies the unique resource.
ID string `json:"id" api:"required"`
// ETag identifier for optimistic concurrency control. Formatted as "v1:<hash>"
// where the hash is the base64url-encoded SHA-256 (truncated to 128 bits) of the
// tags map canonicalized using RFC 8785 (JSON Canonicalization Scheme). Clients
// should treat ETags as opaque strings and pass them back via the If-Match header
// on write operations.
Etag string `json:"etag" api:"required"`
// Human-readable name of the resource.
Name string `json:"name" api:"required"`
// Contains key-value pairs of tags.
Tags map[string]string `json:"tags" api:"required"`
Type AccountTagUpdateResponseResourceTaggingTaggedResourceObjectGatewayListType `json:"type" api:"required"`
JSON accountTagUpdateResponseResourceTaggingTaggedResourceObjectGatewayListJSON `json:"-"`
}
Response for gateway_list resources
func (*AccountTagUpdateResponseResourceTaggingTaggedResourceObjectGatewayList) UnmarshalJSON ¶
func (r *AccountTagUpdateResponseResourceTaggingTaggedResourceObjectGatewayList) UnmarshalJSON(data []byte) (err error)
type AccountTagUpdateResponseResourceTaggingTaggedResourceObjectGatewayListType ¶
type AccountTagUpdateResponseResourceTaggingTaggedResourceObjectGatewayListType string
const (
AccountTagUpdateResponseResourceTaggingTaggedResourceObjectGatewayListTypeGatewayList AccountTagUpdateResponseResourceTaggingTaggedResourceObjectGatewayListType = "gateway_list"
)
func (AccountTagUpdateResponseResourceTaggingTaggedResourceObjectGatewayListType) IsKnown ¶
func (r AccountTagUpdateResponseResourceTaggingTaggedResourceObjectGatewayListType) IsKnown() bool
type AccountTagUpdateResponseResourceTaggingTaggedResourceObjectGatewayRule ¶
type AccountTagUpdateResponseResourceTaggingTaggedResourceObjectGatewayRule struct {
// Identifies the unique resource.
ID string `json:"id" api:"required"`
// ETag identifier for optimistic concurrency control. Formatted as "v1:<hash>"
// where the hash is the base64url-encoded SHA-256 (truncated to 128 bits) of the
// tags map canonicalized using RFC 8785 (JSON Canonicalization Scheme). Clients
// should treat ETags as opaque strings and pass them back via the If-Match header
// on write operations.
Etag string `json:"etag" api:"required"`
// Human-readable name of the resource.
Name string `json:"name" api:"required"`
// Contains key-value pairs of tags.
Tags map[string]string `json:"tags" api:"required"`
Type AccountTagUpdateResponseResourceTaggingTaggedResourceObjectGatewayRuleType `json:"type" api:"required"`
JSON accountTagUpdateResponseResourceTaggingTaggedResourceObjectGatewayRuleJSON `json:"-"`
}
Response for gateway_rule resources
func (*AccountTagUpdateResponseResourceTaggingTaggedResourceObjectGatewayRule) UnmarshalJSON ¶
func (r *AccountTagUpdateResponseResourceTaggingTaggedResourceObjectGatewayRule) UnmarshalJSON(data []byte) (err error)
type AccountTagUpdateResponseResourceTaggingTaggedResourceObjectGatewayRuleType ¶
type AccountTagUpdateResponseResourceTaggingTaggedResourceObjectGatewayRuleType string
const (
AccountTagUpdateResponseResourceTaggingTaggedResourceObjectGatewayRuleTypeGatewayRule AccountTagUpdateResponseResourceTaggingTaggedResourceObjectGatewayRuleType = "gateway_rule"
)
func (AccountTagUpdateResponseResourceTaggingTaggedResourceObjectGatewayRuleType) IsKnown ¶
func (r AccountTagUpdateResponseResourceTaggingTaggedResourceObjectGatewayRuleType) IsKnown() bool
type AccountTagUpdateResponseResourceTaggingTaggedResourceObjectImage ¶
type AccountTagUpdateResponseResourceTaggingTaggedResourceObjectImage struct {
// Identifies the unique resource.
ID string `json:"id" api:"required"`
// ETag identifier for optimistic concurrency control. Formatted as "v1:<hash>"
// where the hash is the base64url-encoded SHA-256 (truncated to 128 bits) of the
// tags map canonicalized using RFC 8785 (JSON Canonicalization Scheme). Clients
// should treat ETags as opaque strings and pass them back via the If-Match header
// on write operations.
Etag string `json:"etag" api:"required"`
// Human-readable name of the resource.
Name string `json:"name" api:"required"`
// Contains key-value pairs of tags.
Tags map[string]string `json:"tags" api:"required"`
Type AccountTagUpdateResponseResourceTaggingTaggedResourceObjectImageType `json:"type" api:"required"`
JSON accountTagUpdateResponseResourceTaggingTaggedResourceObjectImageJSON `json:"-"`
}
Response for image resources
func (*AccountTagUpdateResponseResourceTaggingTaggedResourceObjectImage) UnmarshalJSON ¶
func (r *AccountTagUpdateResponseResourceTaggingTaggedResourceObjectImage) UnmarshalJSON(data []byte) (err error)
type AccountTagUpdateResponseResourceTaggingTaggedResourceObjectImageType ¶
type AccountTagUpdateResponseResourceTaggingTaggedResourceObjectImageType string
const (
AccountTagUpdateResponseResourceTaggingTaggedResourceObjectImageTypeImage AccountTagUpdateResponseResourceTaggingTaggedResourceObjectImageType = "image"
)
func (AccountTagUpdateResponseResourceTaggingTaggedResourceObjectImageType) IsKnown ¶
func (r AccountTagUpdateResponseResourceTaggingTaggedResourceObjectImageType) IsKnown() bool
type AccountTagUpdateResponseResourceTaggingTaggedResourceObjectKVNamespace ¶
type AccountTagUpdateResponseResourceTaggingTaggedResourceObjectKVNamespace struct {
// Identifies the unique resource.
ID string `json:"id" api:"required"`
// ETag identifier for optimistic concurrency control. Formatted as "v1:<hash>"
// where the hash is the base64url-encoded SHA-256 (truncated to 128 bits) of the
// tags map canonicalized using RFC 8785 (JSON Canonicalization Scheme). Clients
// should treat ETags as opaque strings and pass them back via the If-Match header
// on write operations.
Etag string `json:"etag" api:"required"`
// Human-readable name of the resource.
Name string `json:"name" api:"required"`
// Contains key-value pairs of tags.
Tags map[string]string `json:"tags" api:"required"`
Type AccountTagUpdateResponseResourceTaggingTaggedResourceObjectKVNamespaceType `json:"type" api:"required"`
JSON accountTagUpdateResponseResourceTaggingTaggedResourceObjectKVNamespaceJSON `json:"-"`
}
Response for kv_namespace resources
func (*AccountTagUpdateResponseResourceTaggingTaggedResourceObjectKVNamespace) UnmarshalJSON ¶
func (r *AccountTagUpdateResponseResourceTaggingTaggedResourceObjectKVNamespace) UnmarshalJSON(data []byte) (err error)
type AccountTagUpdateResponseResourceTaggingTaggedResourceObjectKVNamespaceType ¶
type AccountTagUpdateResponseResourceTaggingTaggedResourceObjectKVNamespaceType string
const (
AccountTagUpdateResponseResourceTaggingTaggedResourceObjectKVNamespaceTypeKVNamespace AccountTagUpdateResponseResourceTaggingTaggedResourceObjectKVNamespaceType = "kv_namespace"
)
func (AccountTagUpdateResponseResourceTaggingTaggedResourceObjectKVNamespaceType) IsKnown ¶
func (r AccountTagUpdateResponseResourceTaggingTaggedResourceObjectKVNamespaceType) IsKnown() bool
type AccountTagUpdateResponseResourceTaggingTaggedResourceObjectManagedClientCertificate ¶
type AccountTagUpdateResponseResourceTaggingTaggedResourceObjectManagedClientCertificate struct {
// Identifies the unique resource.
ID string `json:"id" api:"required"`
// ETag identifier for optimistic concurrency control. Formatted as "v1:<hash>"
// where the hash is the base64url-encoded SHA-256 (truncated to 128 bits) of the
// tags map canonicalized using RFC 8785 (JSON Canonicalization Scheme). Clients
// should treat ETags as opaque strings and pass them back via the If-Match header
// on write operations.
Etag string `json:"etag" api:"required"`
// Human-readable name of the resource.
Name string `json:"name" api:"required"`
// Contains key-value pairs of tags.
Tags map[string]string `json:"tags" api:"required"`
Type AccountTagUpdateResponseResourceTaggingTaggedResourceObjectManagedClientCertificateType `json:"type" api:"required"`
// Zone ID is required only for zone-level resources
ZoneID string `json:"zone_id" api:"required"`
JSON accountTagUpdateResponseResourceTaggingTaggedResourceObjectManagedClientCertificateJSON `json:"-"`
}
Response for managed_client_certificate resources
func (*AccountTagUpdateResponseResourceTaggingTaggedResourceObjectManagedClientCertificate) UnmarshalJSON ¶
func (r *AccountTagUpdateResponseResourceTaggingTaggedResourceObjectManagedClientCertificate) UnmarshalJSON(data []byte) (err error)
type AccountTagUpdateResponseResourceTaggingTaggedResourceObjectManagedClientCertificateType ¶
type AccountTagUpdateResponseResourceTaggingTaggedResourceObjectManagedClientCertificateType string
const (
AccountTagUpdateResponseResourceTaggingTaggedResourceObjectManagedClientCertificateTypeManagedClientCertificate AccountTagUpdateResponseResourceTaggingTaggedResourceObjectManagedClientCertificateType = "managed_client_certificate"
)
type AccountTagUpdateResponseResourceTaggingTaggedResourceObjectQueue ¶
type AccountTagUpdateResponseResourceTaggingTaggedResourceObjectQueue struct {
// Identifies the unique resource.
ID string `json:"id" api:"required"`
// ETag identifier for optimistic concurrency control. Formatted as "v1:<hash>"
// where the hash is the base64url-encoded SHA-256 (truncated to 128 bits) of the
// tags map canonicalized using RFC 8785 (JSON Canonicalization Scheme). Clients
// should treat ETags as opaque strings and pass them back via the If-Match header
// on write operations.
Etag string `json:"etag" api:"required"`
// Human-readable name of the resource.
Name string `json:"name" api:"required"`
// Contains key-value pairs of tags.
Tags map[string]string `json:"tags" api:"required"`
Type AccountTagUpdateResponseResourceTaggingTaggedResourceObjectQueueType `json:"type" api:"required"`
JSON accountTagUpdateResponseResourceTaggingTaggedResourceObjectQueueJSON `json:"-"`
}
Response for queue resources
func (*AccountTagUpdateResponseResourceTaggingTaggedResourceObjectQueue) UnmarshalJSON ¶
func (r *AccountTagUpdateResponseResourceTaggingTaggedResourceObjectQueue) UnmarshalJSON(data []byte) (err error)
type AccountTagUpdateResponseResourceTaggingTaggedResourceObjectQueueType ¶
type AccountTagUpdateResponseResourceTaggingTaggedResourceObjectQueueType string
const (
AccountTagUpdateResponseResourceTaggingTaggedResourceObjectQueueTypeQueue AccountTagUpdateResponseResourceTaggingTaggedResourceObjectQueueType = "queue"
)
func (AccountTagUpdateResponseResourceTaggingTaggedResourceObjectQueueType) IsKnown ¶
func (r AccountTagUpdateResponseResourceTaggingTaggedResourceObjectQueueType) IsKnown() bool
type AccountTagUpdateResponseResourceTaggingTaggedResourceObjectR2Bucket ¶
type AccountTagUpdateResponseResourceTaggingTaggedResourceObjectR2Bucket struct {
// Identifies the unique resource.
ID string `json:"id" api:"required"`
// ETag identifier for optimistic concurrency control. Formatted as "v1:<hash>"
// where the hash is the base64url-encoded SHA-256 (truncated to 128 bits) of the
// tags map canonicalized using RFC 8785 (JSON Canonicalization Scheme). Clients
// should treat ETags as opaque strings and pass them back via the If-Match header
// on write operations.
Etag string `json:"etag" api:"required"`
// Human-readable name of the resource.
Name string `json:"name" api:"required"`
// Contains key-value pairs of tags.
Tags map[string]string `json:"tags" api:"required"`
Type AccountTagUpdateResponseResourceTaggingTaggedResourceObjectR2BucketType `json:"type" api:"required"`
JSON accountTagUpdateResponseResourceTaggingTaggedResourceObjectR2BucketJSON `json:"-"`
}
Response for r2_bucket resources
func (*AccountTagUpdateResponseResourceTaggingTaggedResourceObjectR2Bucket) UnmarshalJSON ¶
func (r *AccountTagUpdateResponseResourceTaggingTaggedResourceObjectR2Bucket) UnmarshalJSON(data []byte) (err error)
type AccountTagUpdateResponseResourceTaggingTaggedResourceObjectR2BucketType ¶
type AccountTagUpdateResponseResourceTaggingTaggedResourceObjectR2BucketType string
const (
AccountTagUpdateResponseResourceTaggingTaggedResourceObjectR2BucketTypeR2Bucket AccountTagUpdateResponseResourceTaggingTaggedResourceObjectR2BucketType = "r2_bucket"
)
func (AccountTagUpdateResponseResourceTaggingTaggedResourceObjectR2BucketType) IsKnown ¶
func (r AccountTagUpdateResponseResourceTaggingTaggedResourceObjectR2BucketType) IsKnown() bool
type AccountTagUpdateResponseResourceTaggingTaggedResourceObjectResourceShare ¶
type AccountTagUpdateResponseResourceTaggingTaggedResourceObjectResourceShare struct {
ID string `json:"id" api:"required"`
// where the hash is the base64url-encoded SHA-256 (truncated to 128 bits) of the
// tags map canonicalized using RFC 8785 (JSON Canonicalization Scheme). Clients
// should treat ETags as opaque strings and pass them back via the If-Match header
// on write operations.
Etag string `json:"etag" api:"required"`
Name string `json:"name" api:"required"`
// Contains key-value pairs of tags.
}
Response for resource_share resources
func (*AccountTagUpdateResponseResourceTaggingTaggedResourceObjectResourceShare) UnmarshalJSON ¶
func (r *AccountTagUpdateResponseResourceTaggingTaggedResourceObjectResourceShare) UnmarshalJSON(data []byte) (err error)
type AccountTagUpdateResponseResourceTaggingTaggedResourceObjectResourceShareType ¶
type AccountTagUpdateResponseResourceTaggingTaggedResourceObjectResourceShareType string
const (
)
func (AccountTagUpdateResponseResourceTaggingTaggedResourceObjectResourceShareType) IsKnown ¶
func (r AccountTagUpdateResponseResourceTaggingTaggedResourceObjectResourceShareType) IsKnown() bool
type AccountTagUpdateResponseResourceTaggingTaggedResourceObjectStreamLiveInput ¶
type AccountTagUpdateResponseResourceTaggingTaggedResourceObjectStreamLiveInput struct {
// Identifies the unique resource.
ID string `json:"id" api:"required"`
// ETag identifier for optimistic concurrency control. Formatted as "v1:<hash>"
// where the hash is the base64url-encoded SHA-256 (truncated to 128 bits) of the
// tags map canonicalized using RFC 8785 (JSON Canonicalization Scheme). Clients
// should treat ETags as opaque strings and pass them back via the If-Match header
// on write operations.
Etag string `json:"etag" api:"required"`
// Human-readable name of the resource.
Name string `json:"name" api:"required"`
// Contains key-value pairs of tags.
Tags map[string]string `json:"tags" api:"required"`
Type AccountTagUpdateResponseResourceTaggingTaggedResourceObjectStreamLiveInputType `json:"type" api:"required"`
JSON accountTagUpdateResponseResourceTaggingTaggedResourceObjectStreamLiveInputJSON `json:"-"`
}
Response for stream_live_input resources
func (*AccountTagUpdateResponseResourceTaggingTaggedResourceObjectStreamLiveInput) UnmarshalJSON ¶
func (r *AccountTagUpdateResponseResourceTaggingTaggedResourceObjectStreamLiveInput) UnmarshalJSON(data []byte) (err error)
type AccountTagUpdateResponseResourceTaggingTaggedResourceObjectStreamLiveInputType ¶
type AccountTagUpdateResponseResourceTaggingTaggedResourceObjectStreamLiveInputType string
const (
AccountTagUpdateResponseResourceTaggingTaggedResourceObjectStreamLiveInputTypeStreamLiveInput AccountTagUpdateResponseResourceTaggingTaggedResourceObjectStreamLiveInputType = "stream_live_input"
)
type AccountTagUpdateResponseResourceTaggingTaggedResourceObjectStreamVideo ¶
type AccountTagUpdateResponseResourceTaggingTaggedResourceObjectStreamVideo struct {
// Identifies the unique resource.
ID string `json:"id" api:"required"`
// ETag identifier for optimistic concurrency control. Formatted as "v1:<hash>"
// where the hash is the base64url-encoded SHA-256 (truncated to 128 bits) of the
// tags map canonicalized using RFC 8785 (JSON Canonicalization Scheme). Clients
// should treat ETags as opaque strings and pass them back via the If-Match header
// on write operations.
Etag string `json:"etag" api:"required"`
// Human-readable name of the resource.
Name string `json:"name" api:"required"`
// Contains key-value pairs of tags.
Tags map[string]string `json:"tags" api:"required"`
Type AccountTagUpdateResponseResourceTaggingTaggedResourceObjectStreamVideoType `json:"type" api:"required"`
JSON accountTagUpdateResponseResourceTaggingTaggedResourceObjectStreamVideoJSON `json:"-"`
}
Response for stream_video resources
func (*AccountTagUpdateResponseResourceTaggingTaggedResourceObjectStreamVideo) UnmarshalJSON ¶
func (r *AccountTagUpdateResponseResourceTaggingTaggedResourceObjectStreamVideo) UnmarshalJSON(data []byte) (err error)
type AccountTagUpdateResponseResourceTaggingTaggedResourceObjectStreamVideoType ¶
type AccountTagUpdateResponseResourceTaggingTaggedResourceObjectStreamVideoType string
const (
AccountTagUpdateResponseResourceTaggingTaggedResourceObjectStreamVideoTypeStreamVideo AccountTagUpdateResponseResourceTaggingTaggedResourceObjectStreamVideoType = "stream_video"
)
func (AccountTagUpdateResponseResourceTaggingTaggedResourceObjectStreamVideoType) IsKnown ¶
func (r AccountTagUpdateResponseResourceTaggingTaggedResourceObjectStreamVideoType) IsKnown() bool
type AccountTagUpdateResponseResourceTaggingTaggedResourceObjectWorker ¶
type AccountTagUpdateResponseResourceTaggingTaggedResourceObjectWorker struct {
// Identifies the unique resource.
ID string `json:"id" api:"required"`
// ETag identifier for optimistic concurrency control. Formatted as "v1:<hash>"
// where the hash is the base64url-encoded SHA-256 (truncated to 128 bits) of the
// tags map canonicalized using RFC 8785 (JSON Canonicalization Scheme). Clients
// should treat ETags as opaque strings and pass them back via the If-Match header
// on write operations.
Etag string `json:"etag" api:"required"`
// Human-readable name of the resource.
Name string `json:"name" api:"required"`
// Contains key-value pairs of tags.
Tags map[string]string `json:"tags" api:"required"`
Type AccountTagUpdateResponseResourceTaggingTaggedResourceObjectWorkerType `json:"type" api:"required"`
JSON accountTagUpdateResponseResourceTaggingTaggedResourceObjectWorkerJSON `json:"-"`
}
Response for worker resources
func (*AccountTagUpdateResponseResourceTaggingTaggedResourceObjectWorker) UnmarshalJSON ¶
func (r *AccountTagUpdateResponseResourceTaggingTaggedResourceObjectWorker) UnmarshalJSON(data []byte) (err error)
type AccountTagUpdateResponseResourceTaggingTaggedResourceObjectWorkerType ¶
type AccountTagUpdateResponseResourceTaggingTaggedResourceObjectWorkerType string
const (
AccountTagUpdateResponseResourceTaggingTaggedResourceObjectWorkerTypeWorker AccountTagUpdateResponseResourceTaggingTaggedResourceObjectWorkerType = "worker"
)
func (AccountTagUpdateResponseResourceTaggingTaggedResourceObjectWorkerType) IsKnown ¶
func (r AccountTagUpdateResponseResourceTaggingTaggedResourceObjectWorkerType) IsKnown() bool
type AccountTagUpdateResponseResourceTaggingTaggedResourceObjectWorkerVersion ¶
type AccountTagUpdateResponseResourceTaggingTaggedResourceObjectWorkerVersion struct {
// Identifies the unique resource.
ID string `json:"id" api:"required"`
// ETag identifier for optimistic concurrency control. Formatted as "v1:<hash>"
// where the hash is the base64url-encoded SHA-256 (truncated to 128 bits) of the
// tags map canonicalized using RFC 8785 (JSON Canonicalization Scheme). Clients
// should treat ETags as opaque strings and pass them back via the If-Match header
// on write operations.
Etag string `json:"etag" api:"required"`
// Human-readable name of the resource.
Name string `json:"name" api:"required"`
// Contains key-value pairs of tags.
Tags map[string]string `json:"tags" api:"required"`
Type AccountTagUpdateResponseResourceTaggingTaggedResourceObjectWorkerVersionType `json:"type" api:"required"`
// Worker ID is required only for worker_version resources
WorkerID string `json:"worker_id" api:"required"`
JSON accountTagUpdateResponseResourceTaggingTaggedResourceObjectWorkerVersionJSON `json:"-"`
}
Response for worker_version resources
func (*AccountTagUpdateResponseResourceTaggingTaggedResourceObjectWorkerVersion) UnmarshalJSON ¶
func (r *AccountTagUpdateResponseResourceTaggingTaggedResourceObjectWorkerVersion) UnmarshalJSON(data []byte) (err error)
type AccountTagUpdateResponseResourceTaggingTaggedResourceObjectWorkerVersionType ¶
type AccountTagUpdateResponseResourceTaggingTaggedResourceObjectWorkerVersionType string
const (
AccountTagUpdateResponseResourceTaggingTaggedResourceObjectWorkerVersionTypeWorkerVersion AccountTagUpdateResponseResourceTaggingTaggedResourceObjectWorkerVersionType = "worker_version"
)
func (AccountTagUpdateResponseResourceTaggingTaggedResourceObjectWorkerVersionType) IsKnown ¶
func (r AccountTagUpdateResponseResourceTaggingTaggedResourceObjectWorkerVersionType) IsKnown() bool
type AccountTagUpdateResponseResourceTaggingTaggedResourceObjectZone ¶
type AccountTagUpdateResponseResourceTaggingTaggedResourceObjectZone struct {
// Identifies the unique resource.
ID string `json:"id" api:"required"`
// ETag identifier for optimistic concurrency control. Formatted as "v1:<hash>"
// where the hash is the base64url-encoded SHA-256 (truncated to 128 bits) of the
// tags map canonicalized using RFC 8785 (JSON Canonicalization Scheme). Clients
// should treat ETags as opaque strings and pass them back via the If-Match header
// on write operations.
Etag string `json:"etag" api:"required"`
// Human-readable name of the resource.
Name string `json:"name" api:"required"`
// Contains key-value pairs of tags.
Tags map[string]string `json:"tags" api:"required"`
Type AccountTagUpdateResponseResourceTaggingTaggedResourceObjectZoneType `json:"type" api:"required"`
// Zone ID is required only for zone-level resources
ZoneID string `json:"zone_id" api:"required"`
JSON accountTagUpdateResponseResourceTaggingTaggedResourceObjectZoneJSON `json:"-"`
}
Response for zone resources
func (*AccountTagUpdateResponseResourceTaggingTaggedResourceObjectZone) UnmarshalJSON ¶
func (r *AccountTagUpdateResponseResourceTaggingTaggedResourceObjectZone) UnmarshalJSON(data []byte) (err error)
type AccountTagUpdateResponseResourceTaggingTaggedResourceObjectZoneType ¶
type AccountTagUpdateResponseResourceTaggingTaggedResourceObjectZoneType string
const (
AccountTagUpdateResponseResourceTaggingTaggedResourceObjectZoneTypeZone AccountTagUpdateResponseResourceTaggingTaggedResourceObjectZoneType = "zone"
)
func (AccountTagUpdateResponseResourceTaggingTaggedResourceObjectZoneType) IsKnown ¶
func (r AccountTagUpdateResponseResourceTaggingTaggedResourceObjectZoneType) IsKnown() bool
type AccountTagUpdateResponseType ¶
type AccountTagUpdateResponseType string
const ( AccountTagUpdateResponseTypeAccessApplication AccountTagUpdateResponseType = "access_application" AccountTagUpdateResponseTypeAccessApplicationPolicy AccountTagUpdateResponseType = "access_application_policy" AccountTagUpdateResponseTypeAccessGroup AccountTagUpdateResponseType = "access_group" AccountTagUpdateResponseTypeAccount AccountTagUpdateResponseType = "account" AccountTagUpdateResponseTypeAIGateway AccountTagUpdateResponseType = "ai_gateway" AccountTagUpdateResponseTypeAlertingPolicy AccountTagUpdateResponseType = "alerting_policy" AccountTagUpdateResponseTypeAlertingWebhook AccountTagUpdateResponseType = "alerting_webhook" AccountTagUpdateResponseTypeAPIGatewayOperation AccountTagUpdateResponseType = "api_gateway_operation" AccountTagUpdateResponseTypeCloudflaredTunnel AccountTagUpdateResponseType = "cloudflared_tunnel" AccountTagUpdateResponseTypeCustomCertificate AccountTagUpdateResponseType = "custom_certificate" AccountTagUpdateResponseTypeCustomHostname AccountTagUpdateResponseType = "custom_hostname" AccountTagUpdateResponseTypeD1Database AccountTagUpdateResponseType = "d1_database" AccountTagUpdateResponseTypeDNSRecord AccountTagUpdateResponseType = "dns_record" AccountTagUpdateResponseTypeDurableObjectNamespace AccountTagUpdateResponseType = "durable_object_namespace" AccountTagUpdateResponseTypeGatewayList AccountTagUpdateResponseType = "gateway_list" AccountTagUpdateResponseTypeGatewayRule AccountTagUpdateResponseType = "gateway_rule" AccountTagUpdateResponseTypeImage AccountTagUpdateResponseType = "image" AccountTagUpdateResponseTypeKVNamespace AccountTagUpdateResponseType = "kv_namespace" AccountTagUpdateResponseTypeManagedClientCertificate AccountTagUpdateResponseType = "managed_client_certificate" AccountTagUpdateResponseTypeQueue AccountTagUpdateResponseType = "queue" AccountTagUpdateResponseTypeR2Bucket AccountTagUpdateResponseType = "r2_bucket" AccountTagUpdateResponseTypeStreamLiveInput AccountTagUpdateResponseType = "stream_live_input" AccountTagUpdateResponseTypeStreamVideo AccountTagUpdateResponseType = "stream_video" AccountTagUpdateResponseTypeWorker AccountTagUpdateResponseType = "worker" AccountTagUpdateResponseTypeWorkerVersion AccountTagUpdateResponseType = "worker_version" AccountTagUpdateResponseTypeZone AccountTagUpdateResponseType = "zone" )
func (AccountTagUpdateResponseType) IsKnown ¶
func (r AccountTagUpdateResponseType) IsKnown() bool
type AccountTagUpdateResponseUnion ¶
type AccountTagUpdateResponseUnion interface {
// contains filtered or unexported methods
}
Response for access_application resources
Union satisfied by AccountTagUpdateResponseResourceTaggingTaggedResourceObjectAccessApplication, AccountTagUpdateResponseResourceTaggingTaggedResourceObjectAccessApplicationPolicy, AccountTagUpdateResponseResourceTaggingTaggedResourceObjectAccessGroup, AccountTagUpdateResponseResourceTaggingTaggedResourceObjectAccount, AccountTagUpdateResponseResourceTaggingTaggedResourceObjectAIGateway, AccountTagUpdateResponseResourceTaggingTaggedResourceObjectAlertingPolicy, AccountTagUpdateResponseResourceTaggingTaggedResourceObjectAlertingWebhook, AccountTagUpdateResponseResourceTaggingTaggedResourceObjectAPIGatewayOperation, AccountTagUpdateResponseResourceTaggingTaggedResourceObjectCloudflaredTunnel, AccountTagUpdateResponseResourceTaggingTaggedResourceObjectCustomCertificate, AccountTagUpdateResponseResourceTaggingTaggedResourceObjectCustomHostname, AccountTagUpdateResponseResourceTaggingTaggedResourceObjectD1Database, AccountTagUpdateResponseResourceTaggingTaggedResourceObjectDNSRecord, AccountTagUpdateResponseResourceTaggingTaggedResourceObjectDurableObjectNamespace, AccountTagUpdateResponseResourceTaggingTaggedResourceObjectGatewayList, AccountTagUpdateResponseResourceTaggingTaggedResourceObjectGatewayRule, AccountTagUpdateResponseResourceTaggingTaggedResourceObjectImage, AccountTagUpdateResponseResourceTaggingTaggedResourceObjectKVNamespace, AccountTagUpdateResponseResourceTaggingTaggedResourceObjectManagedClientCertificate, AccountTagUpdateResponseResourceTaggingTaggedResourceObjectQueue, AccountTagUpdateResponseResourceTaggingTaggedResourceObjectR2Bucket, AccountTagUpdateResponseResourceTaggingTaggedResourceObjectResourceShare, AccountTagUpdateResponseResourceTaggingTaggedResourceObjectStreamLiveInput, AccountTagUpdateResponseResourceTaggingTaggedResourceObjectStreamVideo, AccountTagUpdateResponseResourceTaggingTaggedResourceObjectWorker, AccountTagUpdateResponseResourceTaggingTaggedResourceObjectWorkerVersion or AccountTagUpdateResponseResourceTaggingTaggedResourceObjectZone.
type AuditLogAction ¶
type AuditLogAction = shared.AuditLogAction
This is an alias to an internal type.
type AuditLogActor ¶
type AuditLogActor = shared.AuditLogActor
This is an alias to an internal type.
type AuditLogActorType ¶
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.
type AuditLogOwner ¶
type AuditLogOwner = shared.AuditLogOwner
This is an alias to an internal type.
type AuditLogResource ¶
type AuditLogResource = shared.AuditLogResource
This is an alias to an internal type.
type CertificateCA ¶
type CertificateCA = shared.CertificateCA
The Certificate Authority that will issue the certificate
This is an alias to an internal type.
type CertificateRequestType ¶
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.
type CloudflareTunnel ¶
type CloudflareTunnel = shared.CloudflareTunnel
A Cloudflare Tunnel that connects your origin to Cloudflare's edge.
This is an alias to an internal type.
type CloudflareTunnelConfigSrc ¶
type CloudflareTunnelConfigSrc = shared.CloudflareTunnelConfigSrc
Indicates if this is a locally or remotely configured tunnel. If `local`, manage the tunnel using a YAML file on the origin machine. If `cloudflare`, manage the tunnel on the Zero Trust dashboard.
This is an alias to an internal type.
type CloudflareTunnelConnection ¶
type CloudflareTunnelConnection = shared.CloudflareTunnelConnection
This is an alias to an internal type.
type CloudflareTunnelStatus ¶
type CloudflareTunnelStatus = shared.CloudflareTunnelStatus
The status of the tunnel. Valid values are `inactive` (tunnel has never been run), `degraded` (tunnel is active and able to serve traffic but in an unhealthy state), `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.
type CloudflareTunnelTunType ¶
type CloudflareTunnelTunType = shared.CloudflareTunnelTunType
The type of tunnel.
This is an alias to an internal type.
type ErrorDataSource ¶
type ErrorDataSource = shared.ErrorDataSource
This is an alias to an internal type.
type KeyListParams ¶
type KeyListParams struct {
// Identifier.
AccountID param.Field[string] `path:"account_id" api:"required"`
// Cursor for pagination.
Cursor param.Field[string] `query:"cursor"`
}
func (KeyListParams) URLQuery ¶
func (r KeyListParams) URLQuery() (v url.Values)
URLQuery serializes KeyListParams's query parameters as `url.Values`.
type KeyService ¶
type KeyService struct {
Options []option.RequestOption
}
KeyService contains methods and other services that help with interacting with the cloudflare API.
Note, unlike clients, this service does not read variables from the environment automatically. You should not instantiate this service directly, and instead use the NewKeyService method instead.
func NewKeyService ¶
func NewKeyService(opts ...option.RequestOption) (r *KeyService)
NewKeyService generates a new service that applies the given options to each request. These options are applied after the parent client's options (if there is one), and before any request-specific options.
func (*KeyService) List ¶
func (r *KeyService) List(ctx context.Context, params KeyListParams, opts ...option.RequestOption) (res *pagination.CursorPaginationAfter[string], err error)
Lists all distinct tag keys used across resources in an account.
func (*KeyService) ListAutoPaging ¶
func (r *KeyService) ListAutoPaging(ctx context.Context, params KeyListParams, opts ...option.RequestOption) *pagination.CursorPaginationAfterAutoPager[string]
Lists all distinct tag keys used across resources in an account.
type MemberPoliciesAccess ¶
type MemberPoliciesAccess = shared.MemberPoliciesAccess
Allow or deny operations against the resources.
This is an alias to an internal type.
type MemberPoliciesPermissionGroup ¶
type MemberPoliciesPermissionGroup = shared.MemberPoliciesPermissionGroup
A named group of permissions that map to a group of operations against resources.
This is an alias to an internal type.
type MemberPoliciesPermissionGroupsMeta ¶
type MemberPoliciesPermissionGroupsMeta = shared.MemberPoliciesPermissionGroupsMeta
Attributes associated to the permission group.
This is an alias to an internal type.
type MemberPoliciesResourceGroup ¶
type MemberPoliciesResourceGroup = shared.MemberPoliciesResourceGroup
A group of scoped resources.
This is an alias to an internal type.
type MemberPoliciesResourceGroupsMeta ¶
type MemberPoliciesResourceGroupsMeta = shared.MemberPoliciesResourceGroupsMeta
Attributes associated to the resource group.
This is an alias to an internal type.
type MemberPoliciesResourceGroupsScope ¶
type MemberPoliciesResourceGroupsScope = shared.MemberPoliciesResourceGroupsScope
A scope is a combination of scope objects which provides additional context.
This is an alias to an internal type.
type MemberPoliciesResourceGroupsScopeObject ¶
type MemberPoliciesResourceGroupsScopeObject = shared.MemberPoliciesResourceGroupsScopeObject
A scope object represents any resource that can have actions applied against invite.
This is an alias to an internal type.
type MemberStatus ¶
type MemberStatus = shared.MemberStatus
A member's status in the account.
This is an alias to an internal type.
type MemberUser ¶
type MemberUser = shared.MemberUser
Details of the user associated to the membership.
This is an alias to an internal type.
type PermissionGrant ¶
type PermissionGrant = shared.PermissionGrant
This is an alias to an internal type.
type PermissionGrantParam ¶
type PermissionGrantParam = shared.PermissionGrantParam
This is an alias to an internal type.
type RatePlanID ¶
type RatePlanID = shared.RatePlanID
The ID of the rate plan.
This is an alias to an internal type.
type RatePlanParam ¶
type RatePlanParam = shared.RatePlanParam
The rate plan applied to the subscription.
This is an alias to an internal type.
type ResourceTaggingListParams ¶
type ResourceTaggingListParams struct {
// Identifier.
AccountID param.Field[string] `path:"account_id" api:"required"`
// Cursor for pagination.
Cursor param.Field[string] `query:"cursor"`
// Filter resources by tag criteria. This parameter can be repeated multiple times,
// with AND logic between parameters.
//
// Supported syntax:
//
// - **Key-only**: `tag=<key>` - Resource must have the tag key (e.g.,
// `tag=production`)
// - **Key-value**: `tag=<key>=<value>` - Resource must have the tag with specific
// value (e.g., `tag=env=prod`)
// - **Multiple values (OR)**: `tag=<key>=<v1>,<v2>` - Resource must have tag with
// any of the values (e.g., `tag=env=prod,staging`)
// - **Negate key-only**: `tag=!<key>` - Resource must not have the tag key (e.g.,
// `tag=!archived`)
// - **Negate key-value**: `tag=<key>!=<value>` - Resource must not have the tag
// with specific value (e.g., `tag=region!=us-west-1`)
//
// Multiple tag parameters are combined with AND logic.
Tag param.Field[[]string] `query:"tag"`
// Filter by resource type. Can be repeated to filter by multiple types (OR logic).
// Example: ?type=zone&type=worker
Type param.Field[[]ResourceTaggingListParamsType] `query:"type"`
}
func (ResourceTaggingListParams) URLQuery ¶
func (r ResourceTaggingListParams) URLQuery() (v url.Values)
URLQuery serializes ResourceTaggingListParams's query parameters as `url.Values`.
type ResourceTaggingListParamsType ¶
type ResourceTaggingListParamsType string
Identifies the type of resource.
const ( ResourceTaggingListParamsTypeAccessApplication ResourceTaggingListParamsType = "access_application" ResourceTaggingListParamsTypeAccessApplicationPolicy ResourceTaggingListParamsType = "access_application_policy" ResourceTaggingListParamsTypeAccessGroup ResourceTaggingListParamsType = "access_group" ResourceTaggingListParamsTypeAccount ResourceTaggingListParamsType = "account" ResourceTaggingListParamsTypeAIGateway ResourceTaggingListParamsType = "ai_gateway" ResourceTaggingListParamsTypeAlertingPolicy ResourceTaggingListParamsType = "alerting_policy" ResourceTaggingListParamsTypeAlertingWebhook ResourceTaggingListParamsType = "alerting_webhook" ResourceTaggingListParamsTypeAPIGatewayOperation ResourceTaggingListParamsType = "api_gateway_operation" ResourceTaggingListParamsTypeCloudflaredTunnel ResourceTaggingListParamsType = "cloudflared_tunnel" ResourceTaggingListParamsTypeCustomCertificate ResourceTaggingListParamsType = "custom_certificate" ResourceTaggingListParamsTypeCustomHostname ResourceTaggingListParamsType = "custom_hostname" ResourceTaggingListParamsTypeD1Database ResourceTaggingListParamsType = "d1_database" ResourceTaggingListParamsTypeDNSRecord ResourceTaggingListParamsType = "dns_record" ResourceTaggingListParamsTypeDurableObjectNamespace ResourceTaggingListParamsType = "durable_object_namespace" ResourceTaggingListParamsTypeGatewayList ResourceTaggingListParamsType = "gateway_list" ResourceTaggingListParamsTypeGatewayRule ResourceTaggingListParamsType = "gateway_rule" ResourceTaggingListParamsTypeImage ResourceTaggingListParamsType = "image" ResourceTaggingListParamsTypeKVNamespace ResourceTaggingListParamsType = "kv_namespace" ResourceTaggingListParamsTypeManagedClientCertificate ResourceTaggingListParamsType = "managed_client_certificate" ResourceTaggingListParamsTypeQueue ResourceTaggingListParamsType = "queue" ResourceTaggingListParamsTypeR2Bucket ResourceTaggingListParamsType = "r2_bucket" ResourceTaggingListParamsTypeStreamLiveInput ResourceTaggingListParamsType = "stream_live_input" ResourceTaggingListParamsTypeStreamVideo ResourceTaggingListParamsType = "stream_video" ResourceTaggingListParamsTypeWorker ResourceTaggingListParamsType = "worker" ResourceTaggingListParamsTypeWorkerVersion ResourceTaggingListParamsType = "worker_version" ResourceTaggingListParamsTypeZone ResourceTaggingListParamsType = "zone" )
func (ResourceTaggingListParamsType) IsKnown ¶
func (r ResourceTaggingListParamsType) IsKnown() bool
type ResourceTaggingListResponse ¶
type ResourceTaggingListResponse struct {
// Identifies the unique resource.
ID string `json:"id" api:"required"`
// ETag identifier for optimistic concurrency control. Formatted as "v1:<hash>"
// where the hash is the base64url-encoded SHA-256 (truncated to 128 bits) of the
// tags map canonicalized using RFC 8785 (JSON Canonicalization Scheme). Clients
// should treat ETags as opaque strings and pass them back via the If-Match header
// on write operations.
Etag string `json:"etag" api:"required"`
// Human-readable name of the resource.
Name string `json:"name" api:"required"`
// This field can have the runtime type of [map[string]string].
Tags interface{} `json:"tags" api:"required"`
Type ResourceTaggingListResponseType `json:"type" api:"required"`
// Access application ID is required only for access_application_policy resources
AccessApplicationID string `json:"access_application_id" format:"uuid"`
// Worker ID is required only for worker_version resources
WorkerID string `json:"worker_id"`
// Zone ID is required only for zone-level resources
ZoneID string `json:"zone_id"`
JSON resourceTaggingListResponseJSON `json:"-"`
// contains filtered or unexported fields
}
Response for access_application resources
func (ResourceTaggingListResponse) AsUnion ¶
func (r ResourceTaggingListResponse) AsUnion() ResourceTaggingListResponseUnion
AsUnion returns a ResourceTaggingListResponseUnion interface which you can cast to the specific types for more type safety.
Possible runtime types of the union are ResourceTaggingListResponseResourceTaggingTaggedResourceObjectAccessApplication, ResourceTaggingListResponseResourceTaggingTaggedResourceObjectAccessApplicationPolicy, ResourceTaggingListResponseResourceTaggingTaggedResourceObjectAccessGroup, ResourceTaggingListResponseResourceTaggingTaggedResourceObjectAccount, ResourceTaggingListResponseResourceTaggingTaggedResourceObjectAIGateway, ResourceTaggingListResponseResourceTaggingTaggedResourceObjectAlertingPolicy, ResourceTaggingListResponseResourceTaggingTaggedResourceObjectAlertingWebhook, ResourceTaggingListResponseResourceTaggingTaggedResourceObjectAPIGatewayOperation, ResourceTaggingListResponseResourceTaggingTaggedResourceObjectCloudflaredTunnel, ResourceTaggingListResponseResourceTaggingTaggedResourceObjectCustomCertificate, ResourceTaggingListResponseResourceTaggingTaggedResourceObjectCustomHostname, ResourceTaggingListResponseResourceTaggingTaggedResourceObjectD1Database, ResourceTaggingListResponseResourceTaggingTaggedResourceObjectDNSRecord, ResourceTaggingListResponseResourceTaggingTaggedResourceObjectDurableObjectNamespace, ResourceTaggingListResponseResourceTaggingTaggedResourceObjectGatewayList, ResourceTaggingListResponseResourceTaggingTaggedResourceObjectGatewayRule, ResourceTaggingListResponseResourceTaggingTaggedResourceObjectImage, ResourceTaggingListResponseResourceTaggingTaggedResourceObjectKVNamespace, ResourceTaggingListResponseResourceTaggingTaggedResourceObjectManagedClientCertificate, ResourceTaggingListResponseResourceTaggingTaggedResourceObjectQueue, ResourceTaggingListResponseResourceTaggingTaggedResourceObjectR2Bucket, ResourceTaggingListResponseResourceTaggingTaggedResourceObjectResourceShare, ResourceTaggingListResponseResourceTaggingTaggedResourceObjectStreamLiveInput, ResourceTaggingListResponseResourceTaggingTaggedResourceObjectStreamVideo, ResourceTaggingListResponseResourceTaggingTaggedResourceObjectWorker, ResourceTaggingListResponseResourceTaggingTaggedResourceObjectWorkerVersion, ResourceTaggingListResponseResourceTaggingTaggedResourceObjectZone.
func (*ResourceTaggingListResponse) UnmarshalJSON ¶
func (r *ResourceTaggingListResponse) UnmarshalJSON(data []byte) (err error)
type ResourceTaggingListResponseResourceTaggingTaggedResourceObjectAIGateway ¶
type ResourceTaggingListResponseResourceTaggingTaggedResourceObjectAIGateway struct {
// Identifies the unique resource.
ID string `json:"id" api:"required"`
// ETag identifier for optimistic concurrency control. Formatted as "v1:<hash>"
// where the hash is the base64url-encoded SHA-256 (truncated to 128 bits) of the
// tags map canonicalized using RFC 8785 (JSON Canonicalization Scheme). Clients
// should treat ETags as opaque strings and pass them back via the If-Match header
// on write operations.
Etag string `json:"etag" api:"required"`
// Human-readable name of the resource.
Name string `json:"name" api:"required"`
// Contains key-value pairs of tags.
Tags map[string]string `json:"tags" api:"required"`
Type ResourceTaggingListResponseResourceTaggingTaggedResourceObjectAIGatewayType `json:"type" api:"required"`
JSON resourceTaggingListResponseResourceTaggingTaggedResourceObjectAIGatewayJSON `json:"-"`
}
Response for ai_gateway resources
func (*ResourceTaggingListResponseResourceTaggingTaggedResourceObjectAIGateway) UnmarshalJSON ¶
func (r *ResourceTaggingListResponseResourceTaggingTaggedResourceObjectAIGateway) UnmarshalJSON(data []byte) (err error)
type ResourceTaggingListResponseResourceTaggingTaggedResourceObjectAIGatewayType ¶
type ResourceTaggingListResponseResourceTaggingTaggedResourceObjectAIGatewayType string
const (
ResourceTaggingListResponseResourceTaggingTaggedResourceObjectAIGatewayTypeAIGateway ResourceTaggingListResponseResourceTaggingTaggedResourceObjectAIGatewayType = "ai_gateway"
)
func (ResourceTaggingListResponseResourceTaggingTaggedResourceObjectAIGatewayType) IsKnown ¶
func (r ResourceTaggingListResponseResourceTaggingTaggedResourceObjectAIGatewayType) IsKnown() bool
type ResourceTaggingListResponseResourceTaggingTaggedResourceObjectAPIGatewayOperation ¶
type ResourceTaggingListResponseResourceTaggingTaggedResourceObjectAPIGatewayOperation struct {
// Identifies the unique resource.
ID string `json:"id" api:"required"`
// ETag identifier for optimistic concurrency control. Formatted as "v1:<hash>"
// where the hash is the base64url-encoded SHA-256 (truncated to 128 bits) of the
// tags map canonicalized using RFC 8785 (JSON Canonicalization Scheme). Clients
// should treat ETags as opaque strings and pass them back via the If-Match header
// on write operations.
Etag string `json:"etag" api:"required"`
// Human-readable name of the resource.
Name string `json:"name" api:"required"`
// Contains key-value pairs of tags.
Tags map[string]string `json:"tags" api:"required"`
Type ResourceTaggingListResponseResourceTaggingTaggedResourceObjectAPIGatewayOperationType `json:"type" api:"required"`
// Zone ID is required only for zone-level resources
ZoneID string `json:"zone_id" api:"required"`
JSON resourceTaggingListResponseResourceTaggingTaggedResourceObjectAPIGatewayOperationJSON `json:"-"`
}
Response for api_gateway_operation resources
func (*ResourceTaggingListResponseResourceTaggingTaggedResourceObjectAPIGatewayOperation) UnmarshalJSON ¶
func (r *ResourceTaggingListResponseResourceTaggingTaggedResourceObjectAPIGatewayOperation) UnmarshalJSON(data []byte) (err error)
type ResourceTaggingListResponseResourceTaggingTaggedResourceObjectAPIGatewayOperationType ¶
type ResourceTaggingListResponseResourceTaggingTaggedResourceObjectAPIGatewayOperationType string
const (
ResourceTaggingListResponseResourceTaggingTaggedResourceObjectAPIGatewayOperationTypeAPIGatewayOperation ResourceTaggingListResponseResourceTaggingTaggedResourceObjectAPIGatewayOperationType = "api_gateway_operation"
)
type ResourceTaggingListResponseResourceTaggingTaggedResourceObjectAccessApplication ¶
type ResourceTaggingListResponseResourceTaggingTaggedResourceObjectAccessApplication struct {
// Identifies the unique resource.
ID string `json:"id" api:"required"`
// ETag identifier for optimistic concurrency control. Formatted as "v1:<hash>"
// where the hash is the base64url-encoded SHA-256 (truncated to 128 bits) of the
// tags map canonicalized using RFC 8785 (JSON Canonicalization Scheme). Clients
// should treat ETags as opaque strings and pass them back via the If-Match header
// on write operations.
Etag string `json:"etag" api:"required"`
// Human-readable name of the resource.
Name string `json:"name" api:"required"`
// Contains key-value pairs of tags.
Tags map[string]string `json:"tags" api:"required"`
Type ResourceTaggingListResponseResourceTaggingTaggedResourceObjectAccessApplicationType `json:"type" api:"required"`
JSON resourceTaggingListResponseResourceTaggingTaggedResourceObjectAccessApplicationJSON `json:"-"`
}
Response for access_application resources
func (*ResourceTaggingListResponseResourceTaggingTaggedResourceObjectAccessApplication) UnmarshalJSON ¶
func (r *ResourceTaggingListResponseResourceTaggingTaggedResourceObjectAccessApplication) UnmarshalJSON(data []byte) (err error)
type ResourceTaggingListResponseResourceTaggingTaggedResourceObjectAccessApplicationPolicy ¶
type ResourceTaggingListResponseResourceTaggingTaggedResourceObjectAccessApplicationPolicy struct {
// Identifies the unique resource.
ID string `json:"id" api:"required"`
// Access application ID is required only for access_application_policy resources
AccessApplicationID string `json:"access_application_id" api:"required" format:"uuid"`
// ETag identifier for optimistic concurrency control. Formatted as "v1:<hash>"
// where the hash is the base64url-encoded SHA-256 (truncated to 128 bits) of the
// tags map canonicalized using RFC 8785 (JSON Canonicalization Scheme). Clients
// should treat ETags as opaque strings and pass them back via the If-Match header
// on write operations.
Etag string `json:"etag" api:"required"`
// Human-readable name of the resource.
Name string `json:"name" api:"required"`
// Contains key-value pairs of tags.
Tags map[string]string `json:"tags" api:"required"`
Type ResourceTaggingListResponseResourceTaggingTaggedResourceObjectAccessApplicationPolicyType `json:"type" api:"required"`
// Zone ID is required only for zone-level resources
ZoneID string `json:"zone_id" api:"required"`
JSON resourceTaggingListResponseResourceTaggingTaggedResourceObjectAccessApplicationPolicyJSON `json:"-"`
}
Response for access_application_policy resources
func (*ResourceTaggingListResponseResourceTaggingTaggedResourceObjectAccessApplicationPolicy) UnmarshalJSON ¶
func (r *ResourceTaggingListResponseResourceTaggingTaggedResourceObjectAccessApplicationPolicy) UnmarshalJSON(data []byte) (err error)
type ResourceTaggingListResponseResourceTaggingTaggedResourceObjectAccessApplicationPolicyType ¶
type ResourceTaggingListResponseResourceTaggingTaggedResourceObjectAccessApplicationPolicyType string
const (
ResourceTaggingListResponseResourceTaggingTaggedResourceObjectAccessApplicationPolicyTypeAccessApplicationPolicy ResourceTaggingListResponseResourceTaggingTaggedResourceObjectAccessApplicationPolicyType = "access_application_policy"
)
type ResourceTaggingListResponseResourceTaggingTaggedResourceObjectAccessApplicationType ¶
type ResourceTaggingListResponseResourceTaggingTaggedResourceObjectAccessApplicationType string
const (
ResourceTaggingListResponseResourceTaggingTaggedResourceObjectAccessApplicationTypeAccessApplication ResourceTaggingListResponseResourceTaggingTaggedResourceObjectAccessApplicationType = "access_application"
)
type ResourceTaggingListResponseResourceTaggingTaggedResourceObjectAccessGroup ¶
type ResourceTaggingListResponseResourceTaggingTaggedResourceObjectAccessGroup struct {
// Identifies the unique resource.
ID string `json:"id" api:"required"`
// ETag identifier for optimistic concurrency control. Formatted as "v1:<hash>"
// where the hash is the base64url-encoded SHA-256 (truncated to 128 bits) of the
// tags map canonicalized using RFC 8785 (JSON Canonicalization Scheme). Clients
// should treat ETags as opaque strings and pass them back via the If-Match header
// on write operations.
Etag string `json:"etag" api:"required"`
// Human-readable name of the resource.
Name string `json:"name" api:"required"`
// Contains key-value pairs of tags.
Tags map[string]string `json:"tags" api:"required"`
Type ResourceTaggingListResponseResourceTaggingTaggedResourceObjectAccessGroupType `json:"type" api:"required"`
JSON resourceTaggingListResponseResourceTaggingTaggedResourceObjectAccessGroupJSON `json:"-"`
}
Response for access_group resources
func (*ResourceTaggingListResponseResourceTaggingTaggedResourceObjectAccessGroup) UnmarshalJSON ¶
func (r *ResourceTaggingListResponseResourceTaggingTaggedResourceObjectAccessGroup) UnmarshalJSON(data []byte) (err error)
type ResourceTaggingListResponseResourceTaggingTaggedResourceObjectAccessGroupType ¶
type ResourceTaggingListResponseResourceTaggingTaggedResourceObjectAccessGroupType string
const (
ResourceTaggingListResponseResourceTaggingTaggedResourceObjectAccessGroupTypeAccessGroup ResourceTaggingListResponseResourceTaggingTaggedResourceObjectAccessGroupType = "access_group"
)
type ResourceTaggingListResponseResourceTaggingTaggedResourceObjectAccount ¶
type ResourceTaggingListResponseResourceTaggingTaggedResourceObjectAccount struct {
// Identifies the unique resource.
ID string `json:"id" api:"required"`
// ETag identifier for optimistic concurrency control. Formatted as "v1:<hash>"
// where the hash is the base64url-encoded SHA-256 (truncated to 128 bits) of the
// tags map canonicalized using RFC 8785 (JSON Canonicalization Scheme). Clients
// should treat ETags as opaque strings and pass them back via the If-Match header
// on write operations.
Etag string `json:"etag" api:"required"`
// Human-readable name of the resource.
Name string `json:"name" api:"required"`
// Contains key-value pairs of tags.
Tags map[string]string `json:"tags" api:"required"`
Type ResourceTaggingListResponseResourceTaggingTaggedResourceObjectAccountType `json:"type" api:"required"`
JSON resourceTaggingListResponseResourceTaggingTaggedResourceObjectAccountJSON `json:"-"`
}
Response for account resources
func (*ResourceTaggingListResponseResourceTaggingTaggedResourceObjectAccount) UnmarshalJSON ¶
func (r *ResourceTaggingListResponseResourceTaggingTaggedResourceObjectAccount) UnmarshalJSON(data []byte) (err error)
type ResourceTaggingListResponseResourceTaggingTaggedResourceObjectAccountType ¶
type ResourceTaggingListResponseResourceTaggingTaggedResourceObjectAccountType string
const (
ResourceTaggingListResponseResourceTaggingTaggedResourceObjectAccountTypeAccount ResourceTaggingListResponseResourceTaggingTaggedResourceObjectAccountType = "account"
)
func (ResourceTaggingListResponseResourceTaggingTaggedResourceObjectAccountType) IsKnown ¶
func (r ResourceTaggingListResponseResourceTaggingTaggedResourceObjectAccountType) IsKnown() bool
type ResourceTaggingListResponseResourceTaggingTaggedResourceObjectAlertingPolicy ¶
type ResourceTaggingListResponseResourceTaggingTaggedResourceObjectAlertingPolicy struct {
// Identifies the unique resource.
ID string `json:"id" api:"required"`
// ETag identifier for optimistic concurrency control. Formatted as "v1:<hash>"
// where the hash is the base64url-encoded SHA-256 (truncated to 128 bits) of the
// tags map canonicalized using RFC 8785 (JSON Canonicalization Scheme). Clients
// should treat ETags as opaque strings and pass them back via the If-Match header
// on write operations.
Etag string `json:"etag" api:"required"`
// Human-readable name of the resource.
Name string `json:"name" api:"required"`
// Contains key-value pairs of tags.
Tags map[string]string `json:"tags" api:"required"`
Type ResourceTaggingListResponseResourceTaggingTaggedResourceObjectAlertingPolicyType `json:"type" api:"required"`
JSON resourceTaggingListResponseResourceTaggingTaggedResourceObjectAlertingPolicyJSON `json:"-"`
}
Response for alerting_policy resources
func (*ResourceTaggingListResponseResourceTaggingTaggedResourceObjectAlertingPolicy) UnmarshalJSON ¶
func (r *ResourceTaggingListResponseResourceTaggingTaggedResourceObjectAlertingPolicy) UnmarshalJSON(data []byte) (err error)
type ResourceTaggingListResponseResourceTaggingTaggedResourceObjectAlertingPolicyType ¶
type ResourceTaggingListResponseResourceTaggingTaggedResourceObjectAlertingPolicyType string
const (
ResourceTaggingListResponseResourceTaggingTaggedResourceObjectAlertingPolicyTypeAlertingPolicy ResourceTaggingListResponseResourceTaggingTaggedResourceObjectAlertingPolicyType = "alerting_policy"
)
type ResourceTaggingListResponseResourceTaggingTaggedResourceObjectAlertingWebhook ¶
type ResourceTaggingListResponseResourceTaggingTaggedResourceObjectAlertingWebhook struct {
// Identifies the unique resource.
ID string `json:"id" api:"required"`
// ETag identifier for optimistic concurrency control. Formatted as "v1:<hash>"
// where the hash is the base64url-encoded SHA-256 (truncated to 128 bits) of the
// tags map canonicalized using RFC 8785 (JSON Canonicalization Scheme). Clients
// should treat ETags as opaque strings and pass them back via the If-Match header
// on write operations.
Etag string `json:"etag" api:"required"`
// Human-readable name of the resource.
Name string `json:"name" api:"required"`
// Contains key-value pairs of tags.
Tags map[string]string `json:"tags" api:"required"`
Type ResourceTaggingListResponseResourceTaggingTaggedResourceObjectAlertingWebhookType `json:"type" api:"required"`
JSON resourceTaggingListResponseResourceTaggingTaggedResourceObjectAlertingWebhookJSON `json:"-"`
}
Response for alerting_webhook resources
func (*ResourceTaggingListResponseResourceTaggingTaggedResourceObjectAlertingWebhook) UnmarshalJSON ¶
func (r *ResourceTaggingListResponseResourceTaggingTaggedResourceObjectAlertingWebhook) UnmarshalJSON(data []byte) (err error)
type ResourceTaggingListResponseResourceTaggingTaggedResourceObjectAlertingWebhookType ¶
type ResourceTaggingListResponseResourceTaggingTaggedResourceObjectAlertingWebhookType string
const (
ResourceTaggingListResponseResourceTaggingTaggedResourceObjectAlertingWebhookTypeAlertingWebhook ResourceTaggingListResponseResourceTaggingTaggedResourceObjectAlertingWebhookType = "alerting_webhook"
)
type ResourceTaggingListResponseResourceTaggingTaggedResourceObjectCloudflaredTunnel ¶
type ResourceTaggingListResponseResourceTaggingTaggedResourceObjectCloudflaredTunnel struct {
// Identifies the unique resource.
ID string `json:"id" api:"required"`
// ETag identifier for optimistic concurrency control. Formatted as "v1:<hash>"
// where the hash is the base64url-encoded SHA-256 (truncated to 128 bits) of the
// tags map canonicalized using RFC 8785 (JSON Canonicalization Scheme). Clients
// should treat ETags as opaque strings and pass them back via the If-Match header
// on write operations.
Etag string `json:"etag" api:"required"`
// Human-readable name of the resource.
Name string `json:"name" api:"required"`
// Contains key-value pairs of tags.
Tags map[string]string `json:"tags" api:"required"`
Type ResourceTaggingListResponseResourceTaggingTaggedResourceObjectCloudflaredTunnelType `json:"type" api:"required"`
JSON resourceTaggingListResponseResourceTaggingTaggedResourceObjectCloudflaredTunnelJSON `json:"-"`
}
Response for cloudflared_tunnel resources
func (*ResourceTaggingListResponseResourceTaggingTaggedResourceObjectCloudflaredTunnel) UnmarshalJSON ¶
func (r *ResourceTaggingListResponseResourceTaggingTaggedResourceObjectCloudflaredTunnel) UnmarshalJSON(data []byte) (err error)
type ResourceTaggingListResponseResourceTaggingTaggedResourceObjectCloudflaredTunnelType ¶
type ResourceTaggingListResponseResourceTaggingTaggedResourceObjectCloudflaredTunnelType string
const (
ResourceTaggingListResponseResourceTaggingTaggedResourceObjectCloudflaredTunnelTypeCloudflaredTunnel ResourceTaggingListResponseResourceTaggingTaggedResourceObjectCloudflaredTunnelType = "cloudflared_tunnel"
)
type ResourceTaggingListResponseResourceTaggingTaggedResourceObjectCustomCertificate ¶
type ResourceTaggingListResponseResourceTaggingTaggedResourceObjectCustomCertificate struct {
// Identifies the unique resource.
ID string `json:"id" api:"required"`
// ETag identifier for optimistic concurrency control. Formatted as "v1:<hash>"
// where the hash is the base64url-encoded SHA-256 (truncated to 128 bits) of the
// tags map canonicalized using RFC 8785 (JSON Canonicalization Scheme). Clients
// should treat ETags as opaque strings and pass them back via the If-Match header
// on write operations.
Etag string `json:"etag" api:"required"`
// Human-readable name of the resource.
Name string `json:"name" api:"required"`
// Contains key-value pairs of tags.
Tags map[string]string `json:"tags" api:"required"`
Type ResourceTaggingListResponseResourceTaggingTaggedResourceObjectCustomCertificateType `json:"type" api:"required"`
// Zone ID is required only for zone-level resources
ZoneID string `json:"zone_id" api:"required"`
JSON resourceTaggingListResponseResourceTaggingTaggedResourceObjectCustomCertificateJSON `json:"-"`
}
Response for custom_certificate resources
func (*ResourceTaggingListResponseResourceTaggingTaggedResourceObjectCustomCertificate) UnmarshalJSON ¶
func (r *ResourceTaggingListResponseResourceTaggingTaggedResourceObjectCustomCertificate) UnmarshalJSON(data []byte) (err error)
type ResourceTaggingListResponseResourceTaggingTaggedResourceObjectCustomCertificateType ¶
type ResourceTaggingListResponseResourceTaggingTaggedResourceObjectCustomCertificateType string
const (
ResourceTaggingListResponseResourceTaggingTaggedResourceObjectCustomCertificateTypeCustomCertificate ResourceTaggingListResponseResourceTaggingTaggedResourceObjectCustomCertificateType = "custom_certificate"
)
type ResourceTaggingListResponseResourceTaggingTaggedResourceObjectCustomHostname ¶
type ResourceTaggingListResponseResourceTaggingTaggedResourceObjectCustomHostname struct {
// Identifies the unique resource.
ID string `json:"id" api:"required"`
// ETag identifier for optimistic concurrency control. Formatted as "v1:<hash>"
// where the hash is the base64url-encoded SHA-256 (truncated to 128 bits) of the
// tags map canonicalized using RFC 8785 (JSON Canonicalization Scheme). Clients
// should treat ETags as opaque strings and pass them back via the If-Match header
// on write operations.
Etag string `json:"etag" api:"required"`
// Human-readable name of the resource.
Name string `json:"name" api:"required"`
// Contains key-value pairs of tags.
Tags map[string]string `json:"tags" api:"required"`
Type ResourceTaggingListResponseResourceTaggingTaggedResourceObjectCustomHostnameType `json:"type" api:"required"`
// Zone ID is required only for zone-level resources
ZoneID string `json:"zone_id" api:"required"`
JSON resourceTaggingListResponseResourceTaggingTaggedResourceObjectCustomHostnameJSON `json:"-"`
}
Response for custom_hostname resources
func (*ResourceTaggingListResponseResourceTaggingTaggedResourceObjectCustomHostname) UnmarshalJSON ¶
func (r *ResourceTaggingListResponseResourceTaggingTaggedResourceObjectCustomHostname) UnmarshalJSON(data []byte) (err error)
type ResourceTaggingListResponseResourceTaggingTaggedResourceObjectCustomHostnameType ¶
type ResourceTaggingListResponseResourceTaggingTaggedResourceObjectCustomHostnameType string
const (
ResourceTaggingListResponseResourceTaggingTaggedResourceObjectCustomHostnameTypeCustomHostname ResourceTaggingListResponseResourceTaggingTaggedResourceObjectCustomHostnameType = "custom_hostname"
)
type ResourceTaggingListResponseResourceTaggingTaggedResourceObjectD1Database ¶
type ResourceTaggingListResponseResourceTaggingTaggedResourceObjectD1Database struct {
// Identifies the unique resource.
ID string `json:"id" api:"required"`
// ETag identifier for optimistic concurrency control. Formatted as "v1:<hash>"
// where the hash is the base64url-encoded SHA-256 (truncated to 128 bits) of the
// tags map canonicalized using RFC 8785 (JSON Canonicalization Scheme). Clients
// should treat ETags as opaque strings and pass them back via the If-Match header
// on write operations.
Etag string `json:"etag" api:"required"`
// Human-readable name of the resource.
Name string `json:"name" api:"required"`
// Contains key-value pairs of tags.
Tags map[string]string `json:"tags" api:"required"`
Type ResourceTaggingListResponseResourceTaggingTaggedResourceObjectD1DatabaseType `json:"type" api:"required"`
JSON resourceTaggingListResponseResourceTaggingTaggedResourceObjectD1DatabaseJSON `json:"-"`
}
Response for d1_database resources
func (*ResourceTaggingListResponseResourceTaggingTaggedResourceObjectD1Database) UnmarshalJSON ¶
func (r *ResourceTaggingListResponseResourceTaggingTaggedResourceObjectD1Database) UnmarshalJSON(data []byte) (err error)
type ResourceTaggingListResponseResourceTaggingTaggedResourceObjectD1DatabaseType ¶
type ResourceTaggingListResponseResourceTaggingTaggedResourceObjectD1DatabaseType string
const (
ResourceTaggingListResponseResourceTaggingTaggedResourceObjectD1DatabaseTypeD1Database ResourceTaggingListResponseResourceTaggingTaggedResourceObjectD1DatabaseType = "d1_database"
)
func (ResourceTaggingListResponseResourceTaggingTaggedResourceObjectD1DatabaseType) IsKnown ¶
func (r ResourceTaggingListResponseResourceTaggingTaggedResourceObjectD1DatabaseType) IsKnown() bool
type ResourceTaggingListResponseResourceTaggingTaggedResourceObjectDNSRecord ¶
type ResourceTaggingListResponseResourceTaggingTaggedResourceObjectDNSRecord struct {
// Identifies the unique resource.
ID string `json:"id" api:"required"`
// ETag identifier for optimistic concurrency control. Formatted as "v1:<hash>"
// where the hash is the base64url-encoded SHA-256 (truncated to 128 bits) of the
// tags map canonicalized using RFC 8785 (JSON Canonicalization Scheme). Clients
// should treat ETags as opaque strings and pass them back via the If-Match header
// on write operations.
Etag string `json:"etag" api:"required"`
// Human-readable name of the resource.
Name string `json:"name" api:"required"`
// Contains key-value pairs of tags.
Tags map[string]string `json:"tags" api:"required"`
Type ResourceTaggingListResponseResourceTaggingTaggedResourceObjectDNSRecordType `json:"type" api:"required"`
// Zone ID is required only for zone-level resources
ZoneID string `json:"zone_id" api:"required"`
JSON resourceTaggingListResponseResourceTaggingTaggedResourceObjectDNSRecordJSON `json:"-"`
}
Response for dns_record resources
func (*ResourceTaggingListResponseResourceTaggingTaggedResourceObjectDNSRecord) UnmarshalJSON ¶
func (r *ResourceTaggingListResponseResourceTaggingTaggedResourceObjectDNSRecord) UnmarshalJSON(data []byte) (err error)
type ResourceTaggingListResponseResourceTaggingTaggedResourceObjectDNSRecordType ¶
type ResourceTaggingListResponseResourceTaggingTaggedResourceObjectDNSRecordType string
const (
ResourceTaggingListResponseResourceTaggingTaggedResourceObjectDNSRecordTypeDNSRecord ResourceTaggingListResponseResourceTaggingTaggedResourceObjectDNSRecordType = "dns_record"
)
func (ResourceTaggingListResponseResourceTaggingTaggedResourceObjectDNSRecordType) IsKnown ¶
func (r ResourceTaggingListResponseResourceTaggingTaggedResourceObjectDNSRecordType) IsKnown() bool
type ResourceTaggingListResponseResourceTaggingTaggedResourceObjectDurableObjectNamespace ¶
type ResourceTaggingListResponseResourceTaggingTaggedResourceObjectDurableObjectNamespace struct {
// Identifies the unique resource.
ID string `json:"id" api:"required"`
// ETag identifier for optimistic concurrency control. Formatted as "v1:<hash>"
// where the hash is the base64url-encoded SHA-256 (truncated to 128 bits) of the
// tags map canonicalized using RFC 8785 (JSON Canonicalization Scheme). Clients
// should treat ETags as opaque strings and pass them back via the If-Match header
// on write operations.
Etag string `json:"etag" api:"required"`
// Human-readable name of the resource.
Name string `json:"name" api:"required"`
// Contains key-value pairs of tags.
Tags map[string]string `json:"tags" api:"required"`
Type ResourceTaggingListResponseResourceTaggingTaggedResourceObjectDurableObjectNamespaceType `json:"type" api:"required"`
JSON resourceTaggingListResponseResourceTaggingTaggedResourceObjectDurableObjectNamespaceJSON `json:"-"`
}
Response for durable_object_namespace resources
func (*ResourceTaggingListResponseResourceTaggingTaggedResourceObjectDurableObjectNamespace) UnmarshalJSON ¶
func (r *ResourceTaggingListResponseResourceTaggingTaggedResourceObjectDurableObjectNamespace) UnmarshalJSON(data []byte) (err error)
type ResourceTaggingListResponseResourceTaggingTaggedResourceObjectDurableObjectNamespaceType ¶
type ResourceTaggingListResponseResourceTaggingTaggedResourceObjectDurableObjectNamespaceType string
const (
ResourceTaggingListResponseResourceTaggingTaggedResourceObjectDurableObjectNamespaceTypeDurableObjectNamespace ResourceTaggingListResponseResourceTaggingTaggedResourceObjectDurableObjectNamespaceType = "durable_object_namespace"
)
type ResourceTaggingListResponseResourceTaggingTaggedResourceObjectGatewayList ¶
type ResourceTaggingListResponseResourceTaggingTaggedResourceObjectGatewayList struct {
// Identifies the unique resource.
ID string `json:"id" api:"required"`
// ETag identifier for optimistic concurrency control. Formatted as "v1:<hash>"
// where the hash is the base64url-encoded SHA-256 (truncated to 128 bits) of the
// tags map canonicalized using RFC 8785 (JSON Canonicalization Scheme). Clients
// should treat ETags as opaque strings and pass them back via the If-Match header
// on write operations.
Etag string `json:"etag" api:"required"`
// Human-readable name of the resource.
Name string `json:"name" api:"required"`
// Contains key-value pairs of tags.
Tags map[string]string `json:"tags" api:"required"`
Type ResourceTaggingListResponseResourceTaggingTaggedResourceObjectGatewayListType `json:"type" api:"required"`
JSON resourceTaggingListResponseResourceTaggingTaggedResourceObjectGatewayListJSON `json:"-"`
}
Response for gateway_list resources
func (*ResourceTaggingListResponseResourceTaggingTaggedResourceObjectGatewayList) UnmarshalJSON ¶
func (r *ResourceTaggingListResponseResourceTaggingTaggedResourceObjectGatewayList) UnmarshalJSON(data []byte) (err error)
type ResourceTaggingListResponseResourceTaggingTaggedResourceObjectGatewayListType ¶
type ResourceTaggingListResponseResourceTaggingTaggedResourceObjectGatewayListType string
const (
ResourceTaggingListResponseResourceTaggingTaggedResourceObjectGatewayListTypeGatewayList ResourceTaggingListResponseResourceTaggingTaggedResourceObjectGatewayListType = "gateway_list"
)
type ResourceTaggingListResponseResourceTaggingTaggedResourceObjectGatewayRule ¶
type ResourceTaggingListResponseResourceTaggingTaggedResourceObjectGatewayRule struct {
// Identifies the unique resource.
ID string `json:"id" api:"required"`
// ETag identifier for optimistic concurrency control. Formatted as "v1:<hash>"
// where the hash is the base64url-encoded SHA-256 (truncated to 128 bits) of the
// tags map canonicalized using RFC 8785 (JSON Canonicalization Scheme). Clients
// should treat ETags as opaque strings and pass them back via the If-Match header
// on write operations.
Etag string `json:"etag" api:"required"`
// Human-readable name of the resource.
Name string `json:"name" api:"required"`
// Contains key-value pairs of tags.
Tags map[string]string `json:"tags" api:"required"`
Type ResourceTaggingListResponseResourceTaggingTaggedResourceObjectGatewayRuleType `json:"type" api:"required"`
JSON resourceTaggingListResponseResourceTaggingTaggedResourceObjectGatewayRuleJSON `json:"-"`
}
Response for gateway_rule resources
func (*ResourceTaggingListResponseResourceTaggingTaggedResourceObjectGatewayRule) UnmarshalJSON ¶
func (r *ResourceTaggingListResponseResourceTaggingTaggedResourceObjectGatewayRule) UnmarshalJSON(data []byte) (err error)
type ResourceTaggingListResponseResourceTaggingTaggedResourceObjectGatewayRuleType ¶
type ResourceTaggingListResponseResourceTaggingTaggedResourceObjectGatewayRuleType string
const (
ResourceTaggingListResponseResourceTaggingTaggedResourceObjectGatewayRuleTypeGatewayRule ResourceTaggingListResponseResourceTaggingTaggedResourceObjectGatewayRuleType = "gateway_rule"
)
type ResourceTaggingListResponseResourceTaggingTaggedResourceObjectImage ¶
type ResourceTaggingListResponseResourceTaggingTaggedResourceObjectImage struct {
// Identifies the unique resource.
ID string `json:"id" api:"required"`
// ETag identifier for optimistic concurrency control. Formatted as "v1:<hash>"
// where the hash is the base64url-encoded SHA-256 (truncated to 128 bits) of the
// tags map canonicalized using RFC 8785 (JSON Canonicalization Scheme). Clients
// should treat ETags as opaque strings and pass them back via the If-Match header
// on write operations.
Etag string `json:"etag" api:"required"`
// Human-readable name of the resource.
Name string `json:"name" api:"required"`
// Contains key-value pairs of tags.
Tags map[string]string `json:"tags" api:"required"`
Type ResourceTaggingListResponseResourceTaggingTaggedResourceObjectImageType `json:"type" api:"required"`
JSON resourceTaggingListResponseResourceTaggingTaggedResourceObjectImageJSON `json:"-"`
}
Response for image resources
func (*ResourceTaggingListResponseResourceTaggingTaggedResourceObjectImage) UnmarshalJSON ¶
func (r *ResourceTaggingListResponseResourceTaggingTaggedResourceObjectImage) UnmarshalJSON(data []byte) (err error)
type ResourceTaggingListResponseResourceTaggingTaggedResourceObjectImageType ¶
type ResourceTaggingListResponseResourceTaggingTaggedResourceObjectImageType string
const (
ResourceTaggingListResponseResourceTaggingTaggedResourceObjectImageTypeImage ResourceTaggingListResponseResourceTaggingTaggedResourceObjectImageType = "image"
)
func (ResourceTaggingListResponseResourceTaggingTaggedResourceObjectImageType) IsKnown ¶
func (r ResourceTaggingListResponseResourceTaggingTaggedResourceObjectImageType) IsKnown() bool
type ResourceTaggingListResponseResourceTaggingTaggedResourceObjectKVNamespace ¶
type ResourceTaggingListResponseResourceTaggingTaggedResourceObjectKVNamespace struct {
// Identifies the unique resource.
ID string `json:"id" api:"required"`
// ETag identifier for optimistic concurrency control. Formatted as "v1:<hash>"
// where the hash is the base64url-encoded SHA-256 (truncated to 128 bits) of the
// tags map canonicalized using RFC 8785 (JSON Canonicalization Scheme). Clients
// should treat ETags as opaque strings and pass them back via the If-Match header
// on write operations.
Etag string `json:"etag" api:"required"`
// Human-readable name of the resource.
Name string `json:"name" api:"required"`
// Contains key-value pairs of tags.
Tags map[string]string `json:"tags" api:"required"`
Type ResourceTaggingListResponseResourceTaggingTaggedResourceObjectKVNamespaceType `json:"type" api:"required"`
JSON resourceTaggingListResponseResourceTaggingTaggedResourceObjectKVNamespaceJSON `json:"-"`
}
Response for kv_namespace resources
func (*ResourceTaggingListResponseResourceTaggingTaggedResourceObjectKVNamespace) UnmarshalJSON ¶
func (r *ResourceTaggingListResponseResourceTaggingTaggedResourceObjectKVNamespace) UnmarshalJSON(data []byte) (err error)
type ResourceTaggingListResponseResourceTaggingTaggedResourceObjectKVNamespaceType ¶
type ResourceTaggingListResponseResourceTaggingTaggedResourceObjectKVNamespaceType string
const (
ResourceTaggingListResponseResourceTaggingTaggedResourceObjectKVNamespaceTypeKVNamespace ResourceTaggingListResponseResourceTaggingTaggedResourceObjectKVNamespaceType = "kv_namespace"
)
type ResourceTaggingListResponseResourceTaggingTaggedResourceObjectManagedClientCertificate ¶
type ResourceTaggingListResponseResourceTaggingTaggedResourceObjectManagedClientCertificate struct {
// Identifies the unique resource.
ID string `json:"id" api:"required"`
// ETag identifier for optimistic concurrency control. Formatted as "v1:<hash>"
// where the hash is the base64url-encoded SHA-256 (truncated to 128 bits) of the
// tags map canonicalized using RFC 8785 (JSON Canonicalization Scheme). Clients
// should treat ETags as opaque strings and pass them back via the If-Match header
// on write operations.
Etag string `json:"etag" api:"required"`
// Human-readable name of the resource.
Name string `json:"name" api:"required"`
// Contains key-value pairs of tags.
Tags map[string]string `json:"tags" api:"required"`
Type ResourceTaggingListResponseResourceTaggingTaggedResourceObjectManagedClientCertificateType `json:"type" api:"required"`
// Zone ID is required only for zone-level resources
ZoneID string `json:"zone_id" api:"required"`
JSON resourceTaggingListResponseResourceTaggingTaggedResourceObjectManagedClientCertificateJSON `json:"-"`
}
Response for managed_client_certificate resources
func (*ResourceTaggingListResponseResourceTaggingTaggedResourceObjectManagedClientCertificate) UnmarshalJSON ¶
func (r *ResourceTaggingListResponseResourceTaggingTaggedResourceObjectManagedClientCertificate) UnmarshalJSON(data []byte) (err error)
type ResourceTaggingListResponseResourceTaggingTaggedResourceObjectManagedClientCertificateType ¶
type ResourceTaggingListResponseResourceTaggingTaggedResourceObjectManagedClientCertificateType string
const (
ResourceTaggingListResponseResourceTaggingTaggedResourceObjectManagedClientCertificateTypeManagedClientCertificate ResourceTaggingListResponseResourceTaggingTaggedResourceObjectManagedClientCertificateType = "managed_client_certificate"
)
type ResourceTaggingListResponseResourceTaggingTaggedResourceObjectQueue ¶
type ResourceTaggingListResponseResourceTaggingTaggedResourceObjectQueue struct {
// Identifies the unique resource.
ID string `json:"id" api:"required"`
// ETag identifier for optimistic concurrency control. Formatted as "v1:<hash>"
// where the hash is the base64url-encoded SHA-256 (truncated to 128 bits) of the
// tags map canonicalized using RFC 8785 (JSON Canonicalization Scheme). Clients
// should treat ETags as opaque strings and pass them back via the If-Match header
// on write operations.
Etag string `json:"etag" api:"required"`
// Human-readable name of the resource.
Name string `json:"name" api:"required"`
// Contains key-value pairs of tags.
Tags map[string]string `json:"tags" api:"required"`
Type ResourceTaggingListResponseResourceTaggingTaggedResourceObjectQueueType `json:"type" api:"required"`
JSON resourceTaggingListResponseResourceTaggingTaggedResourceObjectQueueJSON `json:"-"`
}
Response for queue resources
func (*ResourceTaggingListResponseResourceTaggingTaggedResourceObjectQueue) UnmarshalJSON ¶
func (r *ResourceTaggingListResponseResourceTaggingTaggedResourceObjectQueue) UnmarshalJSON(data []byte) (err error)
type ResourceTaggingListResponseResourceTaggingTaggedResourceObjectQueueType ¶
type ResourceTaggingListResponseResourceTaggingTaggedResourceObjectQueueType string
const (
ResourceTaggingListResponseResourceTaggingTaggedResourceObjectQueueTypeQueue ResourceTaggingListResponseResourceTaggingTaggedResourceObjectQueueType = "queue"
)
func (ResourceTaggingListResponseResourceTaggingTaggedResourceObjectQueueType) IsKnown ¶
func (r ResourceTaggingListResponseResourceTaggingTaggedResourceObjectQueueType) IsKnown() bool
type ResourceTaggingListResponseResourceTaggingTaggedResourceObjectR2Bucket ¶
type ResourceTaggingListResponseResourceTaggingTaggedResourceObjectR2Bucket struct {
// Identifies the unique resource.
ID string `json:"id" api:"required"`
// ETag identifier for optimistic concurrency control. Formatted as "v1:<hash>"
// where the hash is the base64url-encoded SHA-256 (truncated to 128 bits) of the
// tags map canonicalized using RFC 8785 (JSON Canonicalization Scheme). Clients
// should treat ETags as opaque strings and pass them back via the If-Match header
// on write operations.
Etag string `json:"etag" api:"required"`
// Human-readable name of the resource.
Name string `json:"name" api:"required"`
// Contains key-value pairs of tags.
Tags map[string]string `json:"tags" api:"required"`
Type ResourceTaggingListResponseResourceTaggingTaggedResourceObjectR2BucketType `json:"type" api:"required"`
JSON resourceTaggingListResponseResourceTaggingTaggedResourceObjectR2BucketJSON `json:"-"`
}
Response for r2_bucket resources
func (*ResourceTaggingListResponseResourceTaggingTaggedResourceObjectR2Bucket) UnmarshalJSON ¶
func (r *ResourceTaggingListResponseResourceTaggingTaggedResourceObjectR2Bucket) UnmarshalJSON(data []byte) (err error)
type ResourceTaggingListResponseResourceTaggingTaggedResourceObjectR2BucketType ¶
type ResourceTaggingListResponseResourceTaggingTaggedResourceObjectR2BucketType string
const (
ResourceTaggingListResponseResourceTaggingTaggedResourceObjectR2BucketTypeR2Bucket ResourceTaggingListResponseResourceTaggingTaggedResourceObjectR2BucketType = "r2_bucket"
)
func (ResourceTaggingListResponseResourceTaggingTaggedResourceObjectR2BucketType) IsKnown ¶
func (r ResourceTaggingListResponseResourceTaggingTaggedResourceObjectR2BucketType) IsKnown() bool
type ResourceTaggingListResponseResourceTaggingTaggedResourceObjectResourceShare ¶
type ResourceTaggingListResponseResourceTaggingTaggedResourceObjectResourceShare struct {
ID string `json:"id" api:"required"`
// where the hash is the base64url-encoded SHA-256 (truncated to 128 bits) of the
// tags map canonicalized using RFC 8785 (JSON Canonicalization Scheme). Clients
// should treat ETags as opaque strings and pass them back via the If-Match header
// on write operations.
Etag string `json:"etag" api:"required"`
Name string `json:"name" api:"required"`
// Contains key-value pairs of tags.
}
Response for resource_share resources
func (*ResourceTaggingListResponseResourceTaggingTaggedResourceObjectResourceShare) UnmarshalJSON ¶
func (r *ResourceTaggingListResponseResourceTaggingTaggedResourceObjectResourceShare) UnmarshalJSON(data []byte) (err error)
type ResourceTaggingListResponseResourceTaggingTaggedResourceObjectResourceShareType ¶
type ResourceTaggingListResponseResourceTaggingTaggedResourceObjectResourceShareType string
const (
)
type ResourceTaggingListResponseResourceTaggingTaggedResourceObjectStreamLiveInput ¶
type ResourceTaggingListResponseResourceTaggingTaggedResourceObjectStreamLiveInput struct {
// Identifies the unique resource.
ID string `json:"id" api:"required"`
// ETag identifier for optimistic concurrency control. Formatted as "v1:<hash>"
// where the hash is the base64url-encoded SHA-256 (truncated to 128 bits) of the
// tags map canonicalized using RFC 8785 (JSON Canonicalization Scheme). Clients
// should treat ETags as opaque strings and pass them back via the If-Match header
// on write operations.
Etag string `json:"etag" api:"required"`
// Human-readable name of the resource.
Name string `json:"name" api:"required"`
// Contains key-value pairs of tags.
Tags map[string]string `json:"tags" api:"required"`
Type ResourceTaggingListResponseResourceTaggingTaggedResourceObjectStreamLiveInputType `json:"type" api:"required"`
JSON resourceTaggingListResponseResourceTaggingTaggedResourceObjectStreamLiveInputJSON `json:"-"`
}
Response for stream_live_input resources
func (*ResourceTaggingListResponseResourceTaggingTaggedResourceObjectStreamLiveInput) UnmarshalJSON ¶
func (r *ResourceTaggingListResponseResourceTaggingTaggedResourceObjectStreamLiveInput) UnmarshalJSON(data []byte) (err error)
type ResourceTaggingListResponseResourceTaggingTaggedResourceObjectStreamLiveInputType ¶
type ResourceTaggingListResponseResourceTaggingTaggedResourceObjectStreamLiveInputType string
const (
ResourceTaggingListResponseResourceTaggingTaggedResourceObjectStreamLiveInputTypeStreamLiveInput ResourceTaggingListResponseResourceTaggingTaggedResourceObjectStreamLiveInputType = "stream_live_input"
)
type ResourceTaggingListResponseResourceTaggingTaggedResourceObjectStreamVideo ¶
type ResourceTaggingListResponseResourceTaggingTaggedResourceObjectStreamVideo struct {
// Identifies the unique resource.
ID string `json:"id" api:"required"`
// ETag identifier for optimistic concurrency control. Formatted as "v1:<hash>"
// where the hash is the base64url-encoded SHA-256 (truncated to 128 bits) of the
// tags map canonicalized using RFC 8785 (JSON Canonicalization Scheme). Clients
// should treat ETags as opaque strings and pass them back via the If-Match header
// on write operations.
Etag string `json:"etag" api:"required"`
// Human-readable name of the resource.
Name string `json:"name" api:"required"`
// Contains key-value pairs of tags.
Tags map[string]string `json:"tags" api:"required"`
Type ResourceTaggingListResponseResourceTaggingTaggedResourceObjectStreamVideoType `json:"type" api:"required"`
JSON resourceTaggingListResponseResourceTaggingTaggedResourceObjectStreamVideoJSON `json:"-"`
}
Response for stream_video resources
func (*ResourceTaggingListResponseResourceTaggingTaggedResourceObjectStreamVideo) UnmarshalJSON ¶
func (r *ResourceTaggingListResponseResourceTaggingTaggedResourceObjectStreamVideo) UnmarshalJSON(data []byte) (err error)
type ResourceTaggingListResponseResourceTaggingTaggedResourceObjectStreamVideoType ¶
type ResourceTaggingListResponseResourceTaggingTaggedResourceObjectStreamVideoType string
const (
ResourceTaggingListResponseResourceTaggingTaggedResourceObjectStreamVideoTypeStreamVideo ResourceTaggingListResponseResourceTaggingTaggedResourceObjectStreamVideoType = "stream_video"
)
type ResourceTaggingListResponseResourceTaggingTaggedResourceObjectWorker ¶
type ResourceTaggingListResponseResourceTaggingTaggedResourceObjectWorker struct {
// Identifies the unique resource.
ID string `json:"id" api:"required"`
// ETag identifier for optimistic concurrency control. Formatted as "v1:<hash>"
// where the hash is the base64url-encoded SHA-256 (truncated to 128 bits) of the
// tags map canonicalized using RFC 8785 (JSON Canonicalization Scheme). Clients
// should treat ETags as opaque strings and pass them back via the If-Match header
// on write operations.
Etag string `json:"etag" api:"required"`
// Human-readable name of the resource.
Name string `json:"name" api:"required"`
// Contains key-value pairs of tags.
Tags map[string]string `json:"tags" api:"required"`
Type ResourceTaggingListResponseResourceTaggingTaggedResourceObjectWorkerType `json:"type" api:"required"`
JSON resourceTaggingListResponseResourceTaggingTaggedResourceObjectWorkerJSON `json:"-"`
}
Response for worker resources
func (*ResourceTaggingListResponseResourceTaggingTaggedResourceObjectWorker) UnmarshalJSON ¶
func (r *ResourceTaggingListResponseResourceTaggingTaggedResourceObjectWorker) UnmarshalJSON(data []byte) (err error)
type ResourceTaggingListResponseResourceTaggingTaggedResourceObjectWorkerType ¶
type ResourceTaggingListResponseResourceTaggingTaggedResourceObjectWorkerType string
const (
ResourceTaggingListResponseResourceTaggingTaggedResourceObjectWorkerTypeWorker ResourceTaggingListResponseResourceTaggingTaggedResourceObjectWorkerType = "worker"
)
func (ResourceTaggingListResponseResourceTaggingTaggedResourceObjectWorkerType) IsKnown ¶
func (r ResourceTaggingListResponseResourceTaggingTaggedResourceObjectWorkerType) IsKnown() bool
type ResourceTaggingListResponseResourceTaggingTaggedResourceObjectWorkerVersion ¶
type ResourceTaggingListResponseResourceTaggingTaggedResourceObjectWorkerVersion struct {
// Identifies the unique resource.
ID string `json:"id" api:"required"`
// ETag identifier for optimistic concurrency control. Formatted as "v1:<hash>"
// where the hash is the base64url-encoded SHA-256 (truncated to 128 bits) of the
// tags map canonicalized using RFC 8785 (JSON Canonicalization Scheme). Clients
// should treat ETags as opaque strings and pass them back via the If-Match header
// on write operations.
Etag string `json:"etag" api:"required"`
// Human-readable name of the resource.
Name string `json:"name" api:"required"`
// Contains key-value pairs of tags.
Tags map[string]string `json:"tags" api:"required"`
Type ResourceTaggingListResponseResourceTaggingTaggedResourceObjectWorkerVersionType `json:"type" api:"required"`
// Worker ID is required only for worker_version resources
WorkerID string `json:"worker_id" api:"required"`
JSON resourceTaggingListResponseResourceTaggingTaggedResourceObjectWorkerVersionJSON `json:"-"`
}
Response for worker_version resources
func (*ResourceTaggingListResponseResourceTaggingTaggedResourceObjectWorkerVersion) UnmarshalJSON ¶
func (r *ResourceTaggingListResponseResourceTaggingTaggedResourceObjectWorkerVersion) UnmarshalJSON(data []byte) (err error)
type ResourceTaggingListResponseResourceTaggingTaggedResourceObjectWorkerVersionType ¶
type ResourceTaggingListResponseResourceTaggingTaggedResourceObjectWorkerVersionType string
const (
ResourceTaggingListResponseResourceTaggingTaggedResourceObjectWorkerVersionTypeWorkerVersion ResourceTaggingListResponseResourceTaggingTaggedResourceObjectWorkerVersionType = "worker_version"
)
type ResourceTaggingListResponseResourceTaggingTaggedResourceObjectZone ¶
type ResourceTaggingListResponseResourceTaggingTaggedResourceObjectZone struct {
// Identifies the unique resource.
ID string `json:"id" api:"required"`
// ETag identifier for optimistic concurrency control. Formatted as "v1:<hash>"
// where the hash is the base64url-encoded SHA-256 (truncated to 128 bits) of the
// tags map canonicalized using RFC 8785 (JSON Canonicalization Scheme). Clients
// should treat ETags as opaque strings and pass them back via the If-Match header
// on write operations.
Etag string `json:"etag" api:"required"`
// Human-readable name of the resource.
Name string `json:"name" api:"required"`
// Contains key-value pairs of tags.
Tags map[string]string `json:"tags" api:"required"`
Type ResourceTaggingListResponseResourceTaggingTaggedResourceObjectZoneType `json:"type" api:"required"`
// Zone ID is required only for zone-level resources
ZoneID string `json:"zone_id" api:"required"`
JSON resourceTaggingListResponseResourceTaggingTaggedResourceObjectZoneJSON `json:"-"`
}
Response for zone resources
func (*ResourceTaggingListResponseResourceTaggingTaggedResourceObjectZone) UnmarshalJSON ¶
func (r *ResourceTaggingListResponseResourceTaggingTaggedResourceObjectZone) UnmarshalJSON(data []byte) (err error)
type ResourceTaggingListResponseResourceTaggingTaggedResourceObjectZoneType ¶
type ResourceTaggingListResponseResourceTaggingTaggedResourceObjectZoneType string
const (
ResourceTaggingListResponseResourceTaggingTaggedResourceObjectZoneTypeZone ResourceTaggingListResponseResourceTaggingTaggedResourceObjectZoneType = "zone"
)
func (ResourceTaggingListResponseResourceTaggingTaggedResourceObjectZoneType) IsKnown ¶
func (r ResourceTaggingListResponseResourceTaggingTaggedResourceObjectZoneType) IsKnown() bool
type ResourceTaggingListResponseType ¶
type ResourceTaggingListResponseType string
const ( ResourceTaggingListResponseTypeAccessApplication ResourceTaggingListResponseType = "access_application" ResourceTaggingListResponseTypeAccessApplicationPolicy ResourceTaggingListResponseType = "access_application_policy" ResourceTaggingListResponseTypeAccessGroup ResourceTaggingListResponseType = "access_group" ResourceTaggingListResponseTypeAccount ResourceTaggingListResponseType = "account" ResourceTaggingListResponseTypeAIGateway ResourceTaggingListResponseType = "ai_gateway" ResourceTaggingListResponseTypeAlertingPolicy ResourceTaggingListResponseType = "alerting_policy" ResourceTaggingListResponseTypeAlertingWebhook ResourceTaggingListResponseType = "alerting_webhook" ResourceTaggingListResponseTypeAPIGatewayOperation ResourceTaggingListResponseType = "api_gateway_operation" ResourceTaggingListResponseTypeCloudflaredTunnel ResourceTaggingListResponseType = "cloudflared_tunnel" ResourceTaggingListResponseTypeCustomCertificate ResourceTaggingListResponseType = "custom_certificate" ResourceTaggingListResponseTypeCustomHostname ResourceTaggingListResponseType = "custom_hostname" ResourceTaggingListResponseTypeD1Database ResourceTaggingListResponseType = "d1_database" ResourceTaggingListResponseTypeDNSRecord ResourceTaggingListResponseType = "dns_record" ResourceTaggingListResponseTypeDurableObjectNamespace ResourceTaggingListResponseType = "durable_object_namespace" ResourceTaggingListResponseTypeGatewayList ResourceTaggingListResponseType = "gateway_list" ResourceTaggingListResponseTypeGatewayRule ResourceTaggingListResponseType = "gateway_rule" ResourceTaggingListResponseTypeImage ResourceTaggingListResponseType = "image" ResourceTaggingListResponseTypeKVNamespace ResourceTaggingListResponseType = "kv_namespace" ResourceTaggingListResponseTypeManagedClientCertificate ResourceTaggingListResponseType = "managed_client_certificate" ResourceTaggingListResponseTypeQueue ResourceTaggingListResponseType = "queue" ResourceTaggingListResponseTypeR2Bucket ResourceTaggingListResponseType = "r2_bucket" ResourceTaggingListResponseTypeStreamLiveInput ResourceTaggingListResponseType = "stream_live_input" ResourceTaggingListResponseTypeStreamVideo ResourceTaggingListResponseType = "stream_video" ResourceTaggingListResponseTypeWorker ResourceTaggingListResponseType = "worker" ResourceTaggingListResponseTypeWorkerVersion ResourceTaggingListResponseType = "worker_version" ResourceTaggingListResponseTypeZone ResourceTaggingListResponseType = "zone" )
func (ResourceTaggingListResponseType) IsKnown ¶
func (r ResourceTaggingListResponseType) IsKnown() bool
type ResourceTaggingListResponseUnion ¶
type ResourceTaggingListResponseUnion interface {
// contains filtered or unexported methods
}
Response for access_application resources
Union satisfied by ResourceTaggingListResponseResourceTaggingTaggedResourceObjectAccessApplication, ResourceTaggingListResponseResourceTaggingTaggedResourceObjectAccessApplicationPolicy, ResourceTaggingListResponseResourceTaggingTaggedResourceObjectAccessGroup, ResourceTaggingListResponseResourceTaggingTaggedResourceObjectAccount, ResourceTaggingListResponseResourceTaggingTaggedResourceObjectAIGateway, ResourceTaggingListResponseResourceTaggingTaggedResourceObjectAlertingPolicy, ResourceTaggingListResponseResourceTaggingTaggedResourceObjectAlertingWebhook, ResourceTaggingListResponseResourceTaggingTaggedResourceObjectAPIGatewayOperation, ResourceTaggingListResponseResourceTaggingTaggedResourceObjectCloudflaredTunnel, ResourceTaggingListResponseResourceTaggingTaggedResourceObjectCustomCertificate, ResourceTaggingListResponseResourceTaggingTaggedResourceObjectCustomHostname, ResourceTaggingListResponseResourceTaggingTaggedResourceObjectD1Database, ResourceTaggingListResponseResourceTaggingTaggedResourceObjectDNSRecord, ResourceTaggingListResponseResourceTaggingTaggedResourceObjectDurableObjectNamespace, ResourceTaggingListResponseResourceTaggingTaggedResourceObjectGatewayList, ResourceTaggingListResponseResourceTaggingTaggedResourceObjectGatewayRule, ResourceTaggingListResponseResourceTaggingTaggedResourceObjectImage, ResourceTaggingListResponseResourceTaggingTaggedResourceObjectKVNamespace, ResourceTaggingListResponseResourceTaggingTaggedResourceObjectManagedClientCertificate, ResourceTaggingListResponseResourceTaggingTaggedResourceObjectQueue, ResourceTaggingListResponseResourceTaggingTaggedResourceObjectR2Bucket, ResourceTaggingListResponseResourceTaggingTaggedResourceObjectResourceShare, ResourceTaggingListResponseResourceTaggingTaggedResourceObjectStreamLiveInput, ResourceTaggingListResponseResourceTaggingTaggedResourceObjectStreamVideo, ResourceTaggingListResponseResourceTaggingTaggedResourceObjectWorker, ResourceTaggingListResponseResourceTaggingTaggedResourceObjectWorkerVersion or ResourceTaggingListResponseResourceTaggingTaggedResourceObjectZone.
type ResourceTaggingService ¶
type ResourceTaggingService struct {
Options []option.RequestOption
AccountTags *AccountTagService
ZoneTags *ZoneTagService
Keys *KeyService
Values *ValueService
}
ResourceTaggingService contains methods and other services that help with interacting with the cloudflare API.
Note, unlike clients, this service does not read variables from the environment automatically. You should not instantiate this service directly, and instead use the NewResourceTaggingService method instead.
func NewResourceTaggingService ¶
func NewResourceTaggingService(opts ...option.RequestOption) (r *ResourceTaggingService)
NewResourceTaggingService generates a new service that applies the given options to each request. These options are applied after the parent client's options (if there is one), and before any request-specific options.
func (*ResourceTaggingService) List ¶
func (r *ResourceTaggingService) List(ctx context.Context, params ResourceTaggingListParams, opts ...option.RequestOption) (res *pagination.CursorPaginationAfter[ResourceTaggingListResponse], err error)
Lists all tagged resources for an account.
func (*ResourceTaggingService) ListAutoPaging ¶
func (r *ResourceTaggingService) ListAutoPaging(ctx context.Context, params ResourceTaggingListParams, opts ...option.RequestOption) *pagination.CursorPaginationAfterAutoPager[ResourceTaggingListResponse]
Lists all tagged resources for an account.
type ResponseInfoSource ¶
type ResponseInfoSource = shared.ResponseInfoSource
This is an alias to an internal type.
type RolePermissions ¶
type RolePermissions = shared.RolePermissions
This is an alias to an internal type.
type RolePermissionsParam ¶
type RolePermissionsParam = shared.RolePermissionsParam
This is an alias to an internal type.
type SortDirection ¶
type SortDirection = shared.SortDirection
Direction to order DNS records in.
This is an alias to an internal type.
type SubscriptionFrequency ¶
type SubscriptionFrequency = shared.SubscriptionFrequency
How often the subscription is renewed automatically.
This is an alias to an internal type.
type SubscriptionParam ¶
type SubscriptionParam = shared.SubscriptionParam
This is an alias to an internal type.
type SubscriptionState ¶
type SubscriptionState = shared.SubscriptionState
The state that the subscription is in.
This is an alias to an internal type.
type TokenCondition ¶
type TokenCondition = shared.TokenCondition
This is an alias to an internal type.
type TokenConditionCIDRList ¶
type TokenConditionCIDRList = shared.TokenConditionCIDRList
IPv4/IPv6 CIDR.
This is an alias to an internal type.
type TokenConditionCIDRListParam ¶
type TokenConditionCIDRListParam = shared.TokenConditionCIDRListParam
IPv4/IPv6 CIDR.
This is an alias to an internal type.
type TokenConditionParam ¶
type TokenConditionParam = shared.TokenConditionParam
This is an alias to an internal type.
type TokenConditionRequestIP ¶
type TokenConditionRequestIP = shared.TokenConditionRequestIP
Client IP restrictions.
This is an alias to an internal type.
type TokenConditionRequestIPParam ¶
type TokenConditionRequestIPParam = shared.TokenConditionRequestIPParam
Client IP restrictions.
This is an alias to an internal type.
type TokenPolicyEffect ¶
type TokenPolicyEffect = shared.TokenPolicyEffect
Allow or deny operations against the resources.
This is an alias to an internal type.
type TokenPolicyParam ¶
type TokenPolicyParam = shared.TokenPolicyParam
This is an alias to an internal type.
type TokenPolicyPermissionGroup ¶
type TokenPolicyPermissionGroup = shared.TokenPolicyPermissionGroup
A named group of permissions that map to a group of operations against resources.
This is an alias to an internal type.
type TokenPolicyPermissionGroupParam ¶
type TokenPolicyPermissionGroupParam = shared.TokenPolicyPermissionGroupParam
A named group of permissions that map to a group of operations against resources.
This is an alias to an internal type.
type TokenPolicyPermissionGroupsMeta ¶
type TokenPolicyPermissionGroupsMeta = shared.TokenPolicyPermissionGroupsMeta
Attributes associated to the permission group.
This is an alias to an internal type.
type TokenPolicyPermissionGroupsMetaParam ¶
type TokenPolicyPermissionGroupsMetaParam = shared.TokenPolicyPermissionGroupsMetaParam
Attributes associated to the permission group.
This is an alias to an internal type.
type TokenPolicyResourcesIAMResourcesTypeObjectNested ¶
type TokenPolicyResourcesIAMResourcesTypeObjectNested = shared.TokenPolicyResourcesIAMResourcesTypeObjectNested
Map of nested resource permissions
This is an alias to an internal type.
type TokenPolicyResourcesIAMResourcesTypeObjectNestedParam ¶
type TokenPolicyResourcesIAMResourcesTypeObjectNestedParam = shared.TokenPolicyResourcesIAMResourcesTypeObjectNestedParam
Map of nested resource permissions
This is an alias to an internal type.
type TokenPolicyResourcesIAMResourcesTypeObjectString ¶
type TokenPolicyResourcesIAMResourcesTypeObjectString = shared.TokenPolicyResourcesIAMResourcesTypeObjectString
Map of simple string resource permissions
This is an alias to an internal type.
type TokenPolicyResourcesIAMResourcesTypeObjectStringParam ¶
type TokenPolicyResourcesIAMResourcesTypeObjectStringParam = shared.TokenPolicyResourcesIAMResourcesTypeObjectStringParam
Map of simple string resource permissions
This is an alias to an internal type.
type TokenPolicyResourcesUnion ¶
type TokenPolicyResourcesUnion = shared.TokenPolicyResourcesUnion
A list of resource names that the policy applies to.
This is an alias to an internal type.
type TokenPolicyResourcesUnionParam ¶
type TokenPolicyResourcesUnionParam = shared.TokenPolicyResourcesUnionParam
A list of resource names that the policy applies to.
This is an alias to an internal type.
type TokenStatus ¶
type TokenStatus = shared.TokenStatus
Status of the token.
This is an alias to an internal type.
type TokenValue ¶
type TokenValue = shared.TokenValue
The token value.
This is an alias to an internal type.
type ValueListParams ¶
type ValueListParams struct {
// Identifier.
AccountID param.Field[string] `path:"account_id" api:"required"`
// Cursor for pagination.
Cursor param.Field[string] `query:"cursor"`
// Filter by resource type.
Type param.Field[ValueListParamsType] `query:"type"`
}
func (ValueListParams) URLQuery ¶
func (r ValueListParams) URLQuery() (v url.Values)
URLQuery serializes ValueListParams's query parameters as `url.Values`.
type ValueListParamsType ¶
type ValueListParamsType string
Filter by resource type.
const ( ValueListParamsTypeAccessApplication ValueListParamsType = "access_application" ValueListParamsTypeAccessApplicationPolicy ValueListParamsType = "access_application_policy" ValueListParamsTypeAccessGroup ValueListParamsType = "access_group" ValueListParamsTypeAccount ValueListParamsType = "account" ValueListParamsTypeAIGateway ValueListParamsType = "ai_gateway" ValueListParamsTypeAlertingPolicy ValueListParamsType = "alerting_policy" ValueListParamsTypeAlertingWebhook ValueListParamsType = "alerting_webhook" ValueListParamsTypeAPIGatewayOperation ValueListParamsType = "api_gateway_operation" ValueListParamsTypeCloudflaredTunnel ValueListParamsType = "cloudflared_tunnel" ValueListParamsTypeCustomCertificate ValueListParamsType = "custom_certificate" ValueListParamsTypeCustomHostname ValueListParamsType = "custom_hostname" ValueListParamsTypeD1Database ValueListParamsType = "d1_database" ValueListParamsTypeDNSRecord ValueListParamsType = "dns_record" ValueListParamsTypeDurableObjectNamespace ValueListParamsType = "durable_object_namespace" ValueListParamsTypeGatewayList ValueListParamsType = "gateway_list" ValueListParamsTypeGatewayRule ValueListParamsType = "gateway_rule" ValueListParamsTypeImage ValueListParamsType = "image" ValueListParamsTypeKVNamespace ValueListParamsType = "kv_namespace" ValueListParamsTypeManagedClientCertificate ValueListParamsType = "managed_client_certificate" ValueListParamsTypeQueue ValueListParamsType = "queue" ValueListParamsTypeR2Bucket ValueListParamsType = "r2_bucket" ValueListParamsTypeStreamLiveInput ValueListParamsType = "stream_live_input" ValueListParamsTypeStreamVideo ValueListParamsType = "stream_video" ValueListParamsTypeWorker ValueListParamsType = "worker" ValueListParamsTypeWorkerVersion ValueListParamsType = "worker_version" ValueListParamsTypeZone ValueListParamsType = "zone" )
func (ValueListParamsType) IsKnown ¶
func (r ValueListParamsType) IsKnown() bool
type ValueService ¶
type ValueService struct {
Options []option.RequestOption
}
ValueService contains methods and other services that help with interacting with the cloudflare API.
Note, unlike clients, this service does not read variables from the environment automatically. You should not instantiate this service directly, and instead use the NewValueService method instead.
func NewValueService ¶
func NewValueService(opts ...option.RequestOption) (r *ValueService)
NewValueService generates a new service that applies the given options to each request. These options are applied after the parent client's options (if there is one), and before any request-specific options.
func (*ValueService) List ¶
func (r *ValueService) List(ctx context.Context, tagKey string, params ValueListParams, opts ...option.RequestOption) (res *pagination.CursorPaginationAfter[string], err error)
Lists all distinct values for a given tag key, optionally filtered by resource type.
func (*ValueService) ListAutoPaging ¶
func (r *ValueService) ListAutoPaging(ctx context.Context, tagKey string, params ValueListParams, opts ...option.RequestOption) *pagination.CursorPaginationAfterAutoPager[string]
Lists all distinct values for a given tag key, optionally filtered by resource type.
type ZoneTagDeleteParams ¶
type ZoneTagGetParams ¶
type ZoneTagGetParams struct {
// Zone ID is required only for zone-level resources
ZoneID param.Field[string] `path:"zone_id" api:"required"`
// The ID of the resource to retrieve tags for.
ResourceID param.Field[string] `query:"resource_id" api:"required"`
// The type of the resource.
ResourceType param.Field[ZoneTagGetParamsResourceType] `query:"resource_type" api:"required"`
// Access application ID identifier. Required for access_application_policy
// resources.
AccessApplicationID param.Field[string] `query:"access_application_id" format:"uuid"`
}
func (ZoneTagGetParams) URLQuery ¶
func (r ZoneTagGetParams) URLQuery() (v url.Values)
URLQuery serializes ZoneTagGetParams's query parameters as `url.Values`.
type ZoneTagGetParamsResourceType ¶
type ZoneTagGetParamsResourceType string
The type of the resource.
const ( ZoneTagGetParamsResourceTypeAccessApplicationPolicy ZoneTagGetParamsResourceType = "access_application_policy" ZoneTagGetParamsResourceTypeAPIGatewayOperation ZoneTagGetParamsResourceType = "api_gateway_operation" ZoneTagGetParamsResourceTypeCustomCertificate ZoneTagGetParamsResourceType = "custom_certificate" ZoneTagGetParamsResourceTypeCustomHostname ZoneTagGetParamsResourceType = "custom_hostname" ZoneTagGetParamsResourceTypeDNSRecord ZoneTagGetParamsResourceType = "dns_record" ZoneTagGetParamsResourceTypeManagedClientCertificate ZoneTagGetParamsResourceType = "managed_client_certificate" ZoneTagGetParamsResourceTypeZone ZoneTagGetParamsResourceType = "zone" )
func (ZoneTagGetParamsResourceType) IsKnown ¶
func (r ZoneTagGetParamsResourceType) IsKnown() bool
type ZoneTagGetResponse ¶
type ZoneTagGetResponse struct {
// Identifies the unique resource.
ID string `json:"id" api:"required"`
// ETag identifier for optimistic concurrency control. Formatted as "v1:<hash>"
// where the hash is the base64url-encoded SHA-256 (truncated to 128 bits) of the
// tags map canonicalized using RFC 8785 (JSON Canonicalization Scheme). Clients
// should treat ETags as opaque strings and pass them back via the If-Match header
// on write operations.
Etag string `json:"etag" api:"required"`
// Human-readable name of the resource.
Name string `json:"name" api:"required"`
// This field can have the runtime type of [map[string]string].
Tags interface{} `json:"tags" api:"required"`
Type ZoneTagGetResponseType `json:"type" api:"required"`
// Access application ID is required only for access_application_policy resources
AccessApplicationID string `json:"access_application_id" format:"uuid"`
// Worker ID is required only for worker_version resources
WorkerID string `json:"worker_id"`
// Zone ID is required only for zone-level resources
ZoneID string `json:"zone_id"`
JSON zoneTagGetResponseJSON `json:"-"`
// contains filtered or unexported fields
}
Response for access_application resources
func (ZoneTagGetResponse) AsUnion ¶
func (r ZoneTagGetResponse) AsUnion() ZoneTagGetResponseUnion
AsUnion returns a ZoneTagGetResponseUnion interface which you can cast to the specific types for more type safety.
Possible runtime types of the union are ZoneTagGetResponseResourceTaggingTaggedResourceObjectAccessApplication, ZoneTagGetResponseResourceTaggingTaggedResourceObjectAccessApplicationPolicy, ZoneTagGetResponseResourceTaggingTaggedResourceObjectAccessGroup, ZoneTagGetResponseResourceTaggingTaggedResourceObjectAccount, ZoneTagGetResponseResourceTaggingTaggedResourceObjectAIGateway, ZoneTagGetResponseResourceTaggingTaggedResourceObjectAlertingPolicy, ZoneTagGetResponseResourceTaggingTaggedResourceObjectAlertingWebhook, ZoneTagGetResponseResourceTaggingTaggedResourceObjectAPIGatewayOperation, ZoneTagGetResponseResourceTaggingTaggedResourceObjectCloudflaredTunnel, ZoneTagGetResponseResourceTaggingTaggedResourceObjectCustomCertificate, ZoneTagGetResponseResourceTaggingTaggedResourceObjectCustomHostname, ZoneTagGetResponseResourceTaggingTaggedResourceObjectD1Database, ZoneTagGetResponseResourceTaggingTaggedResourceObjectDNSRecord, ZoneTagGetResponseResourceTaggingTaggedResourceObjectDurableObjectNamespace, ZoneTagGetResponseResourceTaggingTaggedResourceObjectGatewayList, ZoneTagGetResponseResourceTaggingTaggedResourceObjectGatewayRule, ZoneTagGetResponseResourceTaggingTaggedResourceObjectImage, ZoneTagGetResponseResourceTaggingTaggedResourceObjectKVNamespace, ZoneTagGetResponseResourceTaggingTaggedResourceObjectManagedClientCertificate, ZoneTagGetResponseResourceTaggingTaggedResourceObjectQueue, ZoneTagGetResponseResourceTaggingTaggedResourceObjectR2Bucket, ZoneTagGetResponseResourceTaggingTaggedResourceObjectResourceShare, ZoneTagGetResponseResourceTaggingTaggedResourceObjectStreamLiveInput, ZoneTagGetResponseResourceTaggingTaggedResourceObjectStreamVideo, ZoneTagGetResponseResourceTaggingTaggedResourceObjectWorker, ZoneTagGetResponseResourceTaggingTaggedResourceObjectWorkerVersion, ZoneTagGetResponseResourceTaggingTaggedResourceObjectZone.
func (*ZoneTagGetResponse) UnmarshalJSON ¶
func (r *ZoneTagGetResponse) UnmarshalJSON(data []byte) (err error)
type ZoneTagGetResponseEnvelope ¶
type ZoneTagGetResponseEnvelope struct {
Errors []ZoneTagGetResponseEnvelopeErrors `json:"errors" api:"required"`
Messages []ZoneTagGetResponseEnvelopeMessages `json:"messages" api:"required"`
// Whether the API call was successful.
Success ZoneTagGetResponseEnvelopeSuccess `json:"success" api:"required"`
// Response for access_application resources
Result ZoneTagGetResponse `json:"result"`
JSON zoneTagGetResponseEnvelopeJSON `json:"-"`
}
func (*ZoneTagGetResponseEnvelope) UnmarshalJSON ¶
func (r *ZoneTagGetResponseEnvelope) UnmarshalJSON(data []byte) (err error)
type ZoneTagGetResponseEnvelopeErrors ¶
type ZoneTagGetResponseEnvelopeErrors struct {
Code int64 `json:"code" api:"required"`
Message string `json:"message" api:"required"`
DocumentationURL string `json:"documentation_url"`
Source ZoneTagGetResponseEnvelopeErrorsSource `json:"source"`
JSON zoneTagGetResponseEnvelopeErrorsJSON `json:"-"`
}
func (*ZoneTagGetResponseEnvelopeErrors) UnmarshalJSON ¶
func (r *ZoneTagGetResponseEnvelopeErrors) UnmarshalJSON(data []byte) (err error)
type ZoneTagGetResponseEnvelopeErrorsSource ¶
type ZoneTagGetResponseEnvelopeErrorsSource struct {
Pointer string `json:"pointer"`
JSON zoneTagGetResponseEnvelopeErrorsSourceJSON `json:"-"`
}
func (*ZoneTagGetResponseEnvelopeErrorsSource) UnmarshalJSON ¶
func (r *ZoneTagGetResponseEnvelopeErrorsSource) UnmarshalJSON(data []byte) (err error)
type ZoneTagGetResponseEnvelopeMessages ¶
type ZoneTagGetResponseEnvelopeMessages struct {
Code int64 `json:"code" api:"required"`
Message string `json:"message" api:"required"`
DocumentationURL string `json:"documentation_url"`
Source ZoneTagGetResponseEnvelopeMessagesSource `json:"source"`
JSON zoneTagGetResponseEnvelopeMessagesJSON `json:"-"`
}
func (*ZoneTagGetResponseEnvelopeMessages) UnmarshalJSON ¶
func (r *ZoneTagGetResponseEnvelopeMessages) UnmarshalJSON(data []byte) (err error)
type ZoneTagGetResponseEnvelopeMessagesSource ¶
type ZoneTagGetResponseEnvelopeMessagesSource struct {
Pointer string `json:"pointer"`
JSON zoneTagGetResponseEnvelopeMessagesSourceJSON `json:"-"`
}
func (*ZoneTagGetResponseEnvelopeMessagesSource) UnmarshalJSON ¶
func (r *ZoneTagGetResponseEnvelopeMessagesSource) UnmarshalJSON(data []byte) (err error)
type ZoneTagGetResponseEnvelopeSuccess ¶
type ZoneTagGetResponseEnvelopeSuccess bool
Whether the API call was successful.
const (
ZoneTagGetResponseEnvelopeSuccessTrue ZoneTagGetResponseEnvelopeSuccess = true
)
func (ZoneTagGetResponseEnvelopeSuccess) IsKnown ¶
func (r ZoneTagGetResponseEnvelopeSuccess) IsKnown() bool
type ZoneTagGetResponseResourceTaggingTaggedResourceObjectAIGateway ¶
type ZoneTagGetResponseResourceTaggingTaggedResourceObjectAIGateway struct {
// Identifies the unique resource.
ID string `json:"id" api:"required"`
// ETag identifier for optimistic concurrency control. Formatted as "v1:<hash>"
// where the hash is the base64url-encoded SHA-256 (truncated to 128 bits) of the
// tags map canonicalized using RFC 8785 (JSON Canonicalization Scheme). Clients
// should treat ETags as opaque strings and pass them back via the If-Match header
// on write operations.
Etag string `json:"etag" api:"required"`
// Human-readable name of the resource.
Name string `json:"name" api:"required"`
// Contains key-value pairs of tags.
Tags map[string]string `json:"tags" api:"required"`
Type ZoneTagGetResponseResourceTaggingTaggedResourceObjectAIGatewayType `json:"type" api:"required"`
JSON zoneTagGetResponseResourceTaggingTaggedResourceObjectAIGatewayJSON `json:"-"`
}
Response for ai_gateway resources
func (*ZoneTagGetResponseResourceTaggingTaggedResourceObjectAIGateway) UnmarshalJSON ¶
func (r *ZoneTagGetResponseResourceTaggingTaggedResourceObjectAIGateway) UnmarshalJSON(data []byte) (err error)
type ZoneTagGetResponseResourceTaggingTaggedResourceObjectAIGatewayType ¶
type ZoneTagGetResponseResourceTaggingTaggedResourceObjectAIGatewayType string
const (
ZoneTagGetResponseResourceTaggingTaggedResourceObjectAIGatewayTypeAIGateway ZoneTagGetResponseResourceTaggingTaggedResourceObjectAIGatewayType = "ai_gateway"
)
func (ZoneTagGetResponseResourceTaggingTaggedResourceObjectAIGatewayType) IsKnown ¶
func (r ZoneTagGetResponseResourceTaggingTaggedResourceObjectAIGatewayType) IsKnown() bool
type ZoneTagGetResponseResourceTaggingTaggedResourceObjectAPIGatewayOperation ¶
type ZoneTagGetResponseResourceTaggingTaggedResourceObjectAPIGatewayOperation struct {
// Identifies the unique resource.
ID string `json:"id" api:"required"`
// ETag identifier for optimistic concurrency control. Formatted as "v1:<hash>"
// where the hash is the base64url-encoded SHA-256 (truncated to 128 bits) of the
// tags map canonicalized using RFC 8785 (JSON Canonicalization Scheme). Clients
// should treat ETags as opaque strings and pass them back via the If-Match header
// on write operations.
Etag string `json:"etag" api:"required"`
// Human-readable name of the resource.
Name string `json:"name" api:"required"`
// Contains key-value pairs of tags.
Tags map[string]string `json:"tags" api:"required"`
Type ZoneTagGetResponseResourceTaggingTaggedResourceObjectAPIGatewayOperationType `json:"type" api:"required"`
// Zone ID is required only for zone-level resources
ZoneID string `json:"zone_id" api:"required"`
JSON zoneTagGetResponseResourceTaggingTaggedResourceObjectAPIGatewayOperationJSON `json:"-"`
}
Response for api_gateway_operation resources
func (*ZoneTagGetResponseResourceTaggingTaggedResourceObjectAPIGatewayOperation) UnmarshalJSON ¶
func (r *ZoneTagGetResponseResourceTaggingTaggedResourceObjectAPIGatewayOperation) UnmarshalJSON(data []byte) (err error)
type ZoneTagGetResponseResourceTaggingTaggedResourceObjectAPIGatewayOperationType ¶
type ZoneTagGetResponseResourceTaggingTaggedResourceObjectAPIGatewayOperationType string
const (
ZoneTagGetResponseResourceTaggingTaggedResourceObjectAPIGatewayOperationTypeAPIGatewayOperation ZoneTagGetResponseResourceTaggingTaggedResourceObjectAPIGatewayOperationType = "api_gateway_operation"
)
func (ZoneTagGetResponseResourceTaggingTaggedResourceObjectAPIGatewayOperationType) IsKnown ¶
func (r ZoneTagGetResponseResourceTaggingTaggedResourceObjectAPIGatewayOperationType) IsKnown() bool
type ZoneTagGetResponseResourceTaggingTaggedResourceObjectAccessApplication ¶
type ZoneTagGetResponseResourceTaggingTaggedResourceObjectAccessApplication struct {
// Identifies the unique resource.
ID string `json:"id" api:"required"`
// ETag identifier for optimistic concurrency control. Formatted as "v1:<hash>"
// where the hash is the base64url-encoded SHA-256 (truncated to 128 bits) of the
// tags map canonicalized using RFC 8785 (JSON Canonicalization Scheme). Clients
// should treat ETags as opaque strings and pass them back via the If-Match header
// on write operations.
Etag string `json:"etag" api:"required"`
// Human-readable name of the resource.
Name string `json:"name" api:"required"`
// Contains key-value pairs of tags.
Tags map[string]string `json:"tags" api:"required"`
Type ZoneTagGetResponseResourceTaggingTaggedResourceObjectAccessApplicationType `json:"type" api:"required"`
JSON zoneTagGetResponseResourceTaggingTaggedResourceObjectAccessApplicationJSON `json:"-"`
}
Response for access_application resources
func (*ZoneTagGetResponseResourceTaggingTaggedResourceObjectAccessApplication) UnmarshalJSON ¶
func (r *ZoneTagGetResponseResourceTaggingTaggedResourceObjectAccessApplication) UnmarshalJSON(data []byte) (err error)
type ZoneTagGetResponseResourceTaggingTaggedResourceObjectAccessApplicationPolicy ¶
type ZoneTagGetResponseResourceTaggingTaggedResourceObjectAccessApplicationPolicy struct {
// Identifies the unique resource.
ID string `json:"id" api:"required"`
// Access application ID is required only for access_application_policy resources
AccessApplicationID string `json:"access_application_id" api:"required" format:"uuid"`
// ETag identifier for optimistic concurrency control. Formatted as "v1:<hash>"
// where the hash is the base64url-encoded SHA-256 (truncated to 128 bits) of the
// tags map canonicalized using RFC 8785 (JSON Canonicalization Scheme). Clients
// should treat ETags as opaque strings and pass them back via the If-Match header
// on write operations.
Etag string `json:"etag" api:"required"`
// Human-readable name of the resource.
Name string `json:"name" api:"required"`
// Contains key-value pairs of tags.
Tags map[string]string `json:"tags" api:"required"`
Type ZoneTagGetResponseResourceTaggingTaggedResourceObjectAccessApplicationPolicyType `json:"type" api:"required"`
// Zone ID is required only for zone-level resources
ZoneID string `json:"zone_id" api:"required"`
JSON zoneTagGetResponseResourceTaggingTaggedResourceObjectAccessApplicationPolicyJSON `json:"-"`
}
Response for access_application_policy resources
func (*ZoneTagGetResponseResourceTaggingTaggedResourceObjectAccessApplicationPolicy) UnmarshalJSON ¶
func (r *ZoneTagGetResponseResourceTaggingTaggedResourceObjectAccessApplicationPolicy) UnmarshalJSON(data []byte) (err error)
type ZoneTagGetResponseResourceTaggingTaggedResourceObjectAccessApplicationPolicyType ¶
type ZoneTagGetResponseResourceTaggingTaggedResourceObjectAccessApplicationPolicyType string
const (
ZoneTagGetResponseResourceTaggingTaggedResourceObjectAccessApplicationPolicyTypeAccessApplicationPolicy ZoneTagGetResponseResourceTaggingTaggedResourceObjectAccessApplicationPolicyType = "access_application_policy"
)
type ZoneTagGetResponseResourceTaggingTaggedResourceObjectAccessApplicationType ¶
type ZoneTagGetResponseResourceTaggingTaggedResourceObjectAccessApplicationType string
const (
ZoneTagGetResponseResourceTaggingTaggedResourceObjectAccessApplicationTypeAccessApplication ZoneTagGetResponseResourceTaggingTaggedResourceObjectAccessApplicationType = "access_application"
)
func (ZoneTagGetResponseResourceTaggingTaggedResourceObjectAccessApplicationType) IsKnown ¶
func (r ZoneTagGetResponseResourceTaggingTaggedResourceObjectAccessApplicationType) IsKnown() bool
type ZoneTagGetResponseResourceTaggingTaggedResourceObjectAccessGroup ¶
type ZoneTagGetResponseResourceTaggingTaggedResourceObjectAccessGroup struct {
// Identifies the unique resource.
ID string `json:"id" api:"required"`
// ETag identifier for optimistic concurrency control. Formatted as "v1:<hash>"
// where the hash is the base64url-encoded SHA-256 (truncated to 128 bits) of the
// tags map canonicalized using RFC 8785 (JSON Canonicalization Scheme). Clients
// should treat ETags as opaque strings and pass them back via the If-Match header
// on write operations.
Etag string `json:"etag" api:"required"`
// Human-readable name of the resource.
Name string `json:"name" api:"required"`
// Contains key-value pairs of tags.
Tags map[string]string `json:"tags" api:"required"`
Type ZoneTagGetResponseResourceTaggingTaggedResourceObjectAccessGroupType `json:"type" api:"required"`
JSON zoneTagGetResponseResourceTaggingTaggedResourceObjectAccessGroupJSON `json:"-"`
}
Response for access_group resources
func (*ZoneTagGetResponseResourceTaggingTaggedResourceObjectAccessGroup) UnmarshalJSON ¶
func (r *ZoneTagGetResponseResourceTaggingTaggedResourceObjectAccessGroup) UnmarshalJSON(data []byte) (err error)
type ZoneTagGetResponseResourceTaggingTaggedResourceObjectAccessGroupType ¶
type ZoneTagGetResponseResourceTaggingTaggedResourceObjectAccessGroupType string
const (
ZoneTagGetResponseResourceTaggingTaggedResourceObjectAccessGroupTypeAccessGroup ZoneTagGetResponseResourceTaggingTaggedResourceObjectAccessGroupType = "access_group"
)
func (ZoneTagGetResponseResourceTaggingTaggedResourceObjectAccessGroupType) IsKnown ¶
func (r ZoneTagGetResponseResourceTaggingTaggedResourceObjectAccessGroupType) IsKnown() bool
type ZoneTagGetResponseResourceTaggingTaggedResourceObjectAccount ¶
type ZoneTagGetResponseResourceTaggingTaggedResourceObjectAccount struct {
// Identifies the unique resource.
ID string `json:"id" api:"required"`
// ETag identifier for optimistic concurrency control. Formatted as "v1:<hash>"
// where the hash is the base64url-encoded SHA-256 (truncated to 128 bits) of the
// tags map canonicalized using RFC 8785 (JSON Canonicalization Scheme). Clients
// should treat ETags as opaque strings and pass them back via the If-Match header
// on write operations.
Etag string `json:"etag" api:"required"`
// Human-readable name of the resource.
Name string `json:"name" api:"required"`
// Contains key-value pairs of tags.
Tags map[string]string `json:"tags" api:"required"`
Type ZoneTagGetResponseResourceTaggingTaggedResourceObjectAccountType `json:"type" api:"required"`
JSON zoneTagGetResponseResourceTaggingTaggedResourceObjectAccountJSON `json:"-"`
}
Response for account resources
func (*ZoneTagGetResponseResourceTaggingTaggedResourceObjectAccount) UnmarshalJSON ¶
func (r *ZoneTagGetResponseResourceTaggingTaggedResourceObjectAccount) UnmarshalJSON(data []byte) (err error)
type ZoneTagGetResponseResourceTaggingTaggedResourceObjectAccountType ¶
type ZoneTagGetResponseResourceTaggingTaggedResourceObjectAccountType string
const (
ZoneTagGetResponseResourceTaggingTaggedResourceObjectAccountTypeAccount ZoneTagGetResponseResourceTaggingTaggedResourceObjectAccountType = "account"
)
func (ZoneTagGetResponseResourceTaggingTaggedResourceObjectAccountType) IsKnown ¶
func (r ZoneTagGetResponseResourceTaggingTaggedResourceObjectAccountType) IsKnown() bool
type ZoneTagGetResponseResourceTaggingTaggedResourceObjectAlertingPolicy ¶
type ZoneTagGetResponseResourceTaggingTaggedResourceObjectAlertingPolicy struct {
// Identifies the unique resource.
ID string `json:"id" api:"required"`
// ETag identifier for optimistic concurrency control. Formatted as "v1:<hash>"
// where the hash is the base64url-encoded SHA-256 (truncated to 128 bits) of the
// tags map canonicalized using RFC 8785 (JSON Canonicalization Scheme). Clients
// should treat ETags as opaque strings and pass them back via the If-Match header
// on write operations.
Etag string `json:"etag" api:"required"`
// Human-readable name of the resource.
Name string `json:"name" api:"required"`
// Contains key-value pairs of tags.
Tags map[string]string `json:"tags" api:"required"`
Type ZoneTagGetResponseResourceTaggingTaggedResourceObjectAlertingPolicyType `json:"type" api:"required"`
JSON zoneTagGetResponseResourceTaggingTaggedResourceObjectAlertingPolicyJSON `json:"-"`
}
Response for alerting_policy resources
func (*ZoneTagGetResponseResourceTaggingTaggedResourceObjectAlertingPolicy) UnmarshalJSON ¶
func (r *ZoneTagGetResponseResourceTaggingTaggedResourceObjectAlertingPolicy) UnmarshalJSON(data []byte) (err error)
type ZoneTagGetResponseResourceTaggingTaggedResourceObjectAlertingPolicyType ¶
type ZoneTagGetResponseResourceTaggingTaggedResourceObjectAlertingPolicyType string
const (
ZoneTagGetResponseResourceTaggingTaggedResourceObjectAlertingPolicyTypeAlertingPolicy ZoneTagGetResponseResourceTaggingTaggedResourceObjectAlertingPolicyType = "alerting_policy"
)
func (ZoneTagGetResponseResourceTaggingTaggedResourceObjectAlertingPolicyType) IsKnown ¶
func (r ZoneTagGetResponseResourceTaggingTaggedResourceObjectAlertingPolicyType) IsKnown() bool
type ZoneTagGetResponseResourceTaggingTaggedResourceObjectAlertingWebhook ¶
type ZoneTagGetResponseResourceTaggingTaggedResourceObjectAlertingWebhook struct {
// Identifies the unique resource.
ID string `json:"id" api:"required"`
// ETag identifier for optimistic concurrency control. Formatted as "v1:<hash>"
// where the hash is the base64url-encoded SHA-256 (truncated to 128 bits) of the
// tags map canonicalized using RFC 8785 (JSON Canonicalization Scheme). Clients
// should treat ETags as opaque strings and pass them back via the If-Match header
// on write operations.
Etag string `json:"etag" api:"required"`
// Human-readable name of the resource.
Name string `json:"name" api:"required"`
// Contains key-value pairs of tags.
Tags map[string]string `json:"tags" api:"required"`
Type ZoneTagGetResponseResourceTaggingTaggedResourceObjectAlertingWebhookType `json:"type" api:"required"`
JSON zoneTagGetResponseResourceTaggingTaggedResourceObjectAlertingWebhookJSON `json:"-"`
}
Response for alerting_webhook resources
func (*ZoneTagGetResponseResourceTaggingTaggedResourceObjectAlertingWebhook) UnmarshalJSON ¶
func (r *ZoneTagGetResponseResourceTaggingTaggedResourceObjectAlertingWebhook) UnmarshalJSON(data []byte) (err error)
type ZoneTagGetResponseResourceTaggingTaggedResourceObjectAlertingWebhookType ¶
type ZoneTagGetResponseResourceTaggingTaggedResourceObjectAlertingWebhookType string
const (
ZoneTagGetResponseResourceTaggingTaggedResourceObjectAlertingWebhookTypeAlertingWebhook ZoneTagGetResponseResourceTaggingTaggedResourceObjectAlertingWebhookType = "alerting_webhook"
)
func (ZoneTagGetResponseResourceTaggingTaggedResourceObjectAlertingWebhookType) IsKnown ¶
func (r ZoneTagGetResponseResourceTaggingTaggedResourceObjectAlertingWebhookType) IsKnown() bool
type ZoneTagGetResponseResourceTaggingTaggedResourceObjectCloudflaredTunnel ¶
type ZoneTagGetResponseResourceTaggingTaggedResourceObjectCloudflaredTunnel struct {
// Identifies the unique resource.
ID string `json:"id" api:"required"`
// ETag identifier for optimistic concurrency control. Formatted as "v1:<hash>"
// where the hash is the base64url-encoded SHA-256 (truncated to 128 bits) of the
// tags map canonicalized using RFC 8785 (JSON Canonicalization Scheme). Clients
// should treat ETags as opaque strings and pass them back via the If-Match header
// on write operations.
Etag string `json:"etag" api:"required"`
// Human-readable name of the resource.
Name string `json:"name" api:"required"`
// Contains key-value pairs of tags.
Tags map[string]string `json:"tags" api:"required"`
Type ZoneTagGetResponseResourceTaggingTaggedResourceObjectCloudflaredTunnelType `json:"type" api:"required"`
JSON zoneTagGetResponseResourceTaggingTaggedResourceObjectCloudflaredTunnelJSON `json:"-"`
}
Response for cloudflared_tunnel resources
func (*ZoneTagGetResponseResourceTaggingTaggedResourceObjectCloudflaredTunnel) UnmarshalJSON ¶
func (r *ZoneTagGetResponseResourceTaggingTaggedResourceObjectCloudflaredTunnel) UnmarshalJSON(data []byte) (err error)
type ZoneTagGetResponseResourceTaggingTaggedResourceObjectCloudflaredTunnelType ¶
type ZoneTagGetResponseResourceTaggingTaggedResourceObjectCloudflaredTunnelType string
const (
ZoneTagGetResponseResourceTaggingTaggedResourceObjectCloudflaredTunnelTypeCloudflaredTunnel ZoneTagGetResponseResourceTaggingTaggedResourceObjectCloudflaredTunnelType = "cloudflared_tunnel"
)
func (ZoneTagGetResponseResourceTaggingTaggedResourceObjectCloudflaredTunnelType) IsKnown ¶
func (r ZoneTagGetResponseResourceTaggingTaggedResourceObjectCloudflaredTunnelType) IsKnown() bool
type ZoneTagGetResponseResourceTaggingTaggedResourceObjectCustomCertificate ¶
type ZoneTagGetResponseResourceTaggingTaggedResourceObjectCustomCertificate struct {
// Identifies the unique resource.
ID string `json:"id" api:"required"`
// ETag identifier for optimistic concurrency control. Formatted as "v1:<hash>"
// where the hash is the base64url-encoded SHA-256 (truncated to 128 bits) of the
// tags map canonicalized using RFC 8785 (JSON Canonicalization Scheme). Clients
// should treat ETags as opaque strings and pass them back via the If-Match header
// on write operations.
Etag string `json:"etag" api:"required"`
// Human-readable name of the resource.
Name string `json:"name" api:"required"`
// Contains key-value pairs of tags.
Tags map[string]string `json:"tags" api:"required"`
Type ZoneTagGetResponseResourceTaggingTaggedResourceObjectCustomCertificateType `json:"type" api:"required"`
// Zone ID is required only for zone-level resources
ZoneID string `json:"zone_id" api:"required"`
JSON zoneTagGetResponseResourceTaggingTaggedResourceObjectCustomCertificateJSON `json:"-"`
}
Response for custom_certificate resources
func (*ZoneTagGetResponseResourceTaggingTaggedResourceObjectCustomCertificate) UnmarshalJSON ¶
func (r *ZoneTagGetResponseResourceTaggingTaggedResourceObjectCustomCertificate) UnmarshalJSON(data []byte) (err error)
type ZoneTagGetResponseResourceTaggingTaggedResourceObjectCustomCertificateType ¶
type ZoneTagGetResponseResourceTaggingTaggedResourceObjectCustomCertificateType string
const (
ZoneTagGetResponseResourceTaggingTaggedResourceObjectCustomCertificateTypeCustomCertificate ZoneTagGetResponseResourceTaggingTaggedResourceObjectCustomCertificateType = "custom_certificate"
)
func (ZoneTagGetResponseResourceTaggingTaggedResourceObjectCustomCertificateType) IsKnown ¶
func (r ZoneTagGetResponseResourceTaggingTaggedResourceObjectCustomCertificateType) IsKnown() bool
type ZoneTagGetResponseResourceTaggingTaggedResourceObjectCustomHostname ¶
type ZoneTagGetResponseResourceTaggingTaggedResourceObjectCustomHostname struct {
// Identifies the unique resource.
ID string `json:"id" api:"required"`
// ETag identifier for optimistic concurrency control. Formatted as "v1:<hash>"
// where the hash is the base64url-encoded SHA-256 (truncated to 128 bits) of the
// tags map canonicalized using RFC 8785 (JSON Canonicalization Scheme). Clients
// should treat ETags as opaque strings and pass them back via the If-Match header
// on write operations.
Etag string `json:"etag" api:"required"`
// Human-readable name of the resource.
Name string `json:"name" api:"required"`
// Contains key-value pairs of tags.
Tags map[string]string `json:"tags" api:"required"`
Type ZoneTagGetResponseResourceTaggingTaggedResourceObjectCustomHostnameType `json:"type" api:"required"`
// Zone ID is required only for zone-level resources
ZoneID string `json:"zone_id" api:"required"`
JSON zoneTagGetResponseResourceTaggingTaggedResourceObjectCustomHostnameJSON `json:"-"`
}
Response for custom_hostname resources
func (*ZoneTagGetResponseResourceTaggingTaggedResourceObjectCustomHostname) UnmarshalJSON ¶
func (r *ZoneTagGetResponseResourceTaggingTaggedResourceObjectCustomHostname) UnmarshalJSON(data []byte) (err error)
type ZoneTagGetResponseResourceTaggingTaggedResourceObjectCustomHostnameType ¶
type ZoneTagGetResponseResourceTaggingTaggedResourceObjectCustomHostnameType string
const (
ZoneTagGetResponseResourceTaggingTaggedResourceObjectCustomHostnameTypeCustomHostname ZoneTagGetResponseResourceTaggingTaggedResourceObjectCustomHostnameType = "custom_hostname"
)
func (ZoneTagGetResponseResourceTaggingTaggedResourceObjectCustomHostnameType) IsKnown ¶
func (r ZoneTagGetResponseResourceTaggingTaggedResourceObjectCustomHostnameType) IsKnown() bool
type ZoneTagGetResponseResourceTaggingTaggedResourceObjectD1Database ¶
type ZoneTagGetResponseResourceTaggingTaggedResourceObjectD1Database struct {
// Identifies the unique resource.
ID string `json:"id" api:"required"`
// ETag identifier for optimistic concurrency control. Formatted as "v1:<hash>"
// where the hash is the base64url-encoded SHA-256 (truncated to 128 bits) of the
// tags map canonicalized using RFC 8785 (JSON Canonicalization Scheme). Clients
// should treat ETags as opaque strings and pass them back via the If-Match header
// on write operations.
Etag string `json:"etag" api:"required"`
// Human-readable name of the resource.
Name string `json:"name" api:"required"`
// Contains key-value pairs of tags.
Tags map[string]string `json:"tags" api:"required"`
Type ZoneTagGetResponseResourceTaggingTaggedResourceObjectD1DatabaseType `json:"type" api:"required"`
JSON zoneTagGetResponseResourceTaggingTaggedResourceObjectD1DatabaseJSON `json:"-"`
}
Response for d1_database resources
func (*ZoneTagGetResponseResourceTaggingTaggedResourceObjectD1Database) UnmarshalJSON ¶
func (r *ZoneTagGetResponseResourceTaggingTaggedResourceObjectD1Database) UnmarshalJSON(data []byte) (err error)
type ZoneTagGetResponseResourceTaggingTaggedResourceObjectD1DatabaseType ¶
type ZoneTagGetResponseResourceTaggingTaggedResourceObjectD1DatabaseType string
const (
ZoneTagGetResponseResourceTaggingTaggedResourceObjectD1DatabaseTypeD1Database ZoneTagGetResponseResourceTaggingTaggedResourceObjectD1DatabaseType = "d1_database"
)
func (ZoneTagGetResponseResourceTaggingTaggedResourceObjectD1DatabaseType) IsKnown ¶
func (r ZoneTagGetResponseResourceTaggingTaggedResourceObjectD1DatabaseType) IsKnown() bool
type ZoneTagGetResponseResourceTaggingTaggedResourceObjectDNSRecord ¶
type ZoneTagGetResponseResourceTaggingTaggedResourceObjectDNSRecord struct {
// Identifies the unique resource.
ID string `json:"id" api:"required"`
// ETag identifier for optimistic concurrency control. Formatted as "v1:<hash>"
// where the hash is the base64url-encoded SHA-256 (truncated to 128 bits) of the
// tags map canonicalized using RFC 8785 (JSON Canonicalization Scheme). Clients
// should treat ETags as opaque strings and pass them back via the If-Match header
// on write operations.
Etag string `json:"etag" api:"required"`
// Human-readable name of the resource.
Name string `json:"name" api:"required"`
// Contains key-value pairs of tags.
Tags map[string]string `json:"tags" api:"required"`
Type ZoneTagGetResponseResourceTaggingTaggedResourceObjectDNSRecordType `json:"type" api:"required"`
// Zone ID is required only for zone-level resources
ZoneID string `json:"zone_id" api:"required"`
JSON zoneTagGetResponseResourceTaggingTaggedResourceObjectDNSRecordJSON `json:"-"`
}
Response for dns_record resources
func (*ZoneTagGetResponseResourceTaggingTaggedResourceObjectDNSRecord) UnmarshalJSON ¶
func (r *ZoneTagGetResponseResourceTaggingTaggedResourceObjectDNSRecord) UnmarshalJSON(data []byte) (err error)
type ZoneTagGetResponseResourceTaggingTaggedResourceObjectDNSRecordType ¶
type ZoneTagGetResponseResourceTaggingTaggedResourceObjectDNSRecordType string
const (
ZoneTagGetResponseResourceTaggingTaggedResourceObjectDNSRecordTypeDNSRecord ZoneTagGetResponseResourceTaggingTaggedResourceObjectDNSRecordType = "dns_record"
)
func (ZoneTagGetResponseResourceTaggingTaggedResourceObjectDNSRecordType) IsKnown ¶
func (r ZoneTagGetResponseResourceTaggingTaggedResourceObjectDNSRecordType) IsKnown() bool
type ZoneTagGetResponseResourceTaggingTaggedResourceObjectDurableObjectNamespace ¶
type ZoneTagGetResponseResourceTaggingTaggedResourceObjectDurableObjectNamespace struct {
// Identifies the unique resource.
ID string `json:"id" api:"required"`
// ETag identifier for optimistic concurrency control. Formatted as "v1:<hash>"
// where the hash is the base64url-encoded SHA-256 (truncated to 128 bits) of the
// tags map canonicalized using RFC 8785 (JSON Canonicalization Scheme). Clients
// should treat ETags as opaque strings and pass them back via the If-Match header
// on write operations.
Etag string `json:"etag" api:"required"`
// Human-readable name of the resource.
Name string `json:"name" api:"required"`
// Contains key-value pairs of tags.
Tags map[string]string `json:"tags" api:"required"`
Type ZoneTagGetResponseResourceTaggingTaggedResourceObjectDurableObjectNamespaceType `json:"type" api:"required"`
JSON zoneTagGetResponseResourceTaggingTaggedResourceObjectDurableObjectNamespaceJSON `json:"-"`
}
Response for durable_object_namespace resources
func (*ZoneTagGetResponseResourceTaggingTaggedResourceObjectDurableObjectNamespace) UnmarshalJSON ¶
func (r *ZoneTagGetResponseResourceTaggingTaggedResourceObjectDurableObjectNamespace) UnmarshalJSON(data []byte) (err error)
type ZoneTagGetResponseResourceTaggingTaggedResourceObjectDurableObjectNamespaceType ¶
type ZoneTagGetResponseResourceTaggingTaggedResourceObjectDurableObjectNamespaceType string
const (
ZoneTagGetResponseResourceTaggingTaggedResourceObjectDurableObjectNamespaceTypeDurableObjectNamespace ZoneTagGetResponseResourceTaggingTaggedResourceObjectDurableObjectNamespaceType = "durable_object_namespace"
)
type ZoneTagGetResponseResourceTaggingTaggedResourceObjectGatewayList ¶
type ZoneTagGetResponseResourceTaggingTaggedResourceObjectGatewayList struct {
// Identifies the unique resource.
ID string `json:"id" api:"required"`
// ETag identifier for optimistic concurrency control. Formatted as "v1:<hash>"
// where the hash is the base64url-encoded SHA-256 (truncated to 128 bits) of the
// tags map canonicalized using RFC 8785 (JSON Canonicalization Scheme). Clients
// should treat ETags as opaque strings and pass them back via the If-Match header
// on write operations.
Etag string `json:"etag" api:"required"`
// Human-readable name of the resource.
Name string `json:"name" api:"required"`
// Contains key-value pairs of tags.
Tags map[string]string `json:"tags" api:"required"`
Type ZoneTagGetResponseResourceTaggingTaggedResourceObjectGatewayListType `json:"type" api:"required"`
JSON zoneTagGetResponseResourceTaggingTaggedResourceObjectGatewayListJSON `json:"-"`
}
Response for gateway_list resources
func (*ZoneTagGetResponseResourceTaggingTaggedResourceObjectGatewayList) UnmarshalJSON ¶
func (r *ZoneTagGetResponseResourceTaggingTaggedResourceObjectGatewayList) UnmarshalJSON(data []byte) (err error)
type ZoneTagGetResponseResourceTaggingTaggedResourceObjectGatewayListType ¶
type ZoneTagGetResponseResourceTaggingTaggedResourceObjectGatewayListType string
const (
ZoneTagGetResponseResourceTaggingTaggedResourceObjectGatewayListTypeGatewayList ZoneTagGetResponseResourceTaggingTaggedResourceObjectGatewayListType = "gateway_list"
)
func (ZoneTagGetResponseResourceTaggingTaggedResourceObjectGatewayListType) IsKnown ¶
func (r ZoneTagGetResponseResourceTaggingTaggedResourceObjectGatewayListType) IsKnown() bool
type ZoneTagGetResponseResourceTaggingTaggedResourceObjectGatewayRule ¶
type ZoneTagGetResponseResourceTaggingTaggedResourceObjectGatewayRule struct {
// Identifies the unique resource.
ID string `json:"id" api:"required"`
// ETag identifier for optimistic concurrency control. Formatted as "v1:<hash>"
// where the hash is the base64url-encoded SHA-256 (truncated to 128 bits) of the
// tags map canonicalized using RFC 8785 (JSON Canonicalization Scheme). Clients
// should treat ETags as opaque strings and pass them back via the If-Match header
// on write operations.
Etag string `json:"etag" api:"required"`
// Human-readable name of the resource.
Name string `json:"name" api:"required"`
// Contains key-value pairs of tags.
Tags map[string]string `json:"tags" api:"required"`
Type ZoneTagGetResponseResourceTaggingTaggedResourceObjectGatewayRuleType `json:"type" api:"required"`
JSON zoneTagGetResponseResourceTaggingTaggedResourceObjectGatewayRuleJSON `json:"-"`
}
Response for gateway_rule resources
func (*ZoneTagGetResponseResourceTaggingTaggedResourceObjectGatewayRule) UnmarshalJSON ¶
func (r *ZoneTagGetResponseResourceTaggingTaggedResourceObjectGatewayRule) UnmarshalJSON(data []byte) (err error)
type ZoneTagGetResponseResourceTaggingTaggedResourceObjectGatewayRuleType ¶
type ZoneTagGetResponseResourceTaggingTaggedResourceObjectGatewayRuleType string
const (
ZoneTagGetResponseResourceTaggingTaggedResourceObjectGatewayRuleTypeGatewayRule ZoneTagGetResponseResourceTaggingTaggedResourceObjectGatewayRuleType = "gateway_rule"
)
func (ZoneTagGetResponseResourceTaggingTaggedResourceObjectGatewayRuleType) IsKnown ¶
func (r ZoneTagGetResponseResourceTaggingTaggedResourceObjectGatewayRuleType) IsKnown() bool
type ZoneTagGetResponseResourceTaggingTaggedResourceObjectImage ¶
type ZoneTagGetResponseResourceTaggingTaggedResourceObjectImage struct {
// Identifies the unique resource.
ID string `json:"id" api:"required"`
// ETag identifier for optimistic concurrency control. Formatted as "v1:<hash>"
// where the hash is the base64url-encoded SHA-256 (truncated to 128 bits) of the
// tags map canonicalized using RFC 8785 (JSON Canonicalization Scheme). Clients
// should treat ETags as opaque strings and pass them back via the If-Match header
// on write operations.
Etag string `json:"etag" api:"required"`
// Human-readable name of the resource.
Name string `json:"name" api:"required"`
// Contains key-value pairs of tags.
Tags map[string]string `json:"tags" api:"required"`
Type ZoneTagGetResponseResourceTaggingTaggedResourceObjectImageType `json:"type" api:"required"`
JSON zoneTagGetResponseResourceTaggingTaggedResourceObjectImageJSON `json:"-"`
}
Response for image resources
func (*ZoneTagGetResponseResourceTaggingTaggedResourceObjectImage) UnmarshalJSON ¶
func (r *ZoneTagGetResponseResourceTaggingTaggedResourceObjectImage) UnmarshalJSON(data []byte) (err error)
type ZoneTagGetResponseResourceTaggingTaggedResourceObjectImageType ¶
type ZoneTagGetResponseResourceTaggingTaggedResourceObjectImageType string
const (
ZoneTagGetResponseResourceTaggingTaggedResourceObjectImageTypeImage ZoneTagGetResponseResourceTaggingTaggedResourceObjectImageType = "image"
)
func (ZoneTagGetResponseResourceTaggingTaggedResourceObjectImageType) IsKnown ¶
func (r ZoneTagGetResponseResourceTaggingTaggedResourceObjectImageType) IsKnown() bool
type ZoneTagGetResponseResourceTaggingTaggedResourceObjectKVNamespace ¶
type ZoneTagGetResponseResourceTaggingTaggedResourceObjectKVNamespace struct {
// Identifies the unique resource.
ID string `json:"id" api:"required"`
// ETag identifier for optimistic concurrency control. Formatted as "v1:<hash>"
// where the hash is the base64url-encoded SHA-256 (truncated to 128 bits) of the
// tags map canonicalized using RFC 8785 (JSON Canonicalization Scheme). Clients
// should treat ETags as opaque strings and pass them back via the If-Match header
// on write operations.
Etag string `json:"etag" api:"required"`
// Human-readable name of the resource.
Name string `json:"name" api:"required"`
// Contains key-value pairs of tags.
Tags map[string]string `json:"tags" api:"required"`
Type ZoneTagGetResponseResourceTaggingTaggedResourceObjectKVNamespaceType `json:"type" api:"required"`
JSON zoneTagGetResponseResourceTaggingTaggedResourceObjectKVNamespaceJSON `json:"-"`
}
Response for kv_namespace resources
func (*ZoneTagGetResponseResourceTaggingTaggedResourceObjectKVNamespace) UnmarshalJSON ¶
func (r *ZoneTagGetResponseResourceTaggingTaggedResourceObjectKVNamespace) UnmarshalJSON(data []byte) (err error)
type ZoneTagGetResponseResourceTaggingTaggedResourceObjectKVNamespaceType ¶
type ZoneTagGetResponseResourceTaggingTaggedResourceObjectKVNamespaceType string
const (
ZoneTagGetResponseResourceTaggingTaggedResourceObjectKVNamespaceTypeKVNamespace ZoneTagGetResponseResourceTaggingTaggedResourceObjectKVNamespaceType = "kv_namespace"
)
func (ZoneTagGetResponseResourceTaggingTaggedResourceObjectKVNamespaceType) IsKnown ¶
func (r ZoneTagGetResponseResourceTaggingTaggedResourceObjectKVNamespaceType) IsKnown() bool
type ZoneTagGetResponseResourceTaggingTaggedResourceObjectManagedClientCertificate ¶
type ZoneTagGetResponseResourceTaggingTaggedResourceObjectManagedClientCertificate struct {
// Identifies the unique resource.
ID string `json:"id" api:"required"`
// ETag identifier for optimistic concurrency control. Formatted as "v1:<hash>"
// where the hash is the base64url-encoded SHA-256 (truncated to 128 bits) of the
// tags map canonicalized using RFC 8785 (JSON Canonicalization Scheme). Clients
// should treat ETags as opaque strings and pass them back via the If-Match header
// on write operations.
Etag string `json:"etag" api:"required"`
// Human-readable name of the resource.
Name string `json:"name" api:"required"`
// Contains key-value pairs of tags.
Tags map[string]string `json:"tags" api:"required"`
Type ZoneTagGetResponseResourceTaggingTaggedResourceObjectManagedClientCertificateType `json:"type" api:"required"`
// Zone ID is required only for zone-level resources
ZoneID string `json:"zone_id" api:"required"`
JSON zoneTagGetResponseResourceTaggingTaggedResourceObjectManagedClientCertificateJSON `json:"-"`
}
Response for managed_client_certificate resources
func (*ZoneTagGetResponseResourceTaggingTaggedResourceObjectManagedClientCertificate) UnmarshalJSON ¶
func (r *ZoneTagGetResponseResourceTaggingTaggedResourceObjectManagedClientCertificate) UnmarshalJSON(data []byte) (err error)
type ZoneTagGetResponseResourceTaggingTaggedResourceObjectManagedClientCertificateType ¶
type ZoneTagGetResponseResourceTaggingTaggedResourceObjectManagedClientCertificateType string
const (
ZoneTagGetResponseResourceTaggingTaggedResourceObjectManagedClientCertificateTypeManagedClientCertificate ZoneTagGetResponseResourceTaggingTaggedResourceObjectManagedClientCertificateType = "managed_client_certificate"
)
type ZoneTagGetResponseResourceTaggingTaggedResourceObjectQueue ¶
type ZoneTagGetResponseResourceTaggingTaggedResourceObjectQueue struct {
// Identifies the unique resource.
ID string `json:"id" api:"required"`
// ETag identifier for optimistic concurrency control. Formatted as "v1:<hash>"
// where the hash is the base64url-encoded SHA-256 (truncated to 128 bits) of the
// tags map canonicalized using RFC 8785 (JSON Canonicalization Scheme). Clients
// should treat ETags as opaque strings and pass them back via the If-Match header
// on write operations.
Etag string `json:"etag" api:"required"`
// Human-readable name of the resource.
Name string `json:"name" api:"required"`
// Contains key-value pairs of tags.
Tags map[string]string `json:"tags" api:"required"`
Type ZoneTagGetResponseResourceTaggingTaggedResourceObjectQueueType `json:"type" api:"required"`
JSON zoneTagGetResponseResourceTaggingTaggedResourceObjectQueueJSON `json:"-"`
}
Response for queue resources
func (*ZoneTagGetResponseResourceTaggingTaggedResourceObjectQueue) UnmarshalJSON ¶
func (r *ZoneTagGetResponseResourceTaggingTaggedResourceObjectQueue) UnmarshalJSON(data []byte) (err error)
type ZoneTagGetResponseResourceTaggingTaggedResourceObjectQueueType ¶
type ZoneTagGetResponseResourceTaggingTaggedResourceObjectQueueType string
const (
ZoneTagGetResponseResourceTaggingTaggedResourceObjectQueueTypeQueue ZoneTagGetResponseResourceTaggingTaggedResourceObjectQueueType = "queue"
)
func (ZoneTagGetResponseResourceTaggingTaggedResourceObjectQueueType) IsKnown ¶
func (r ZoneTagGetResponseResourceTaggingTaggedResourceObjectQueueType) IsKnown() bool
type ZoneTagGetResponseResourceTaggingTaggedResourceObjectR2Bucket ¶
type ZoneTagGetResponseResourceTaggingTaggedResourceObjectR2Bucket struct {
// Identifies the unique resource.
ID string `json:"id" api:"required"`
// ETag identifier for optimistic concurrency control. Formatted as "v1:<hash>"
// where the hash is the base64url-encoded SHA-256 (truncated to 128 bits) of the
// tags map canonicalized using RFC 8785 (JSON Canonicalization Scheme). Clients
// should treat ETags as opaque strings and pass them back via the If-Match header
// on write operations.
Etag string `json:"etag" api:"required"`
// Human-readable name of the resource.
Name string `json:"name" api:"required"`
// Contains key-value pairs of tags.
Tags map[string]string `json:"tags" api:"required"`
Type ZoneTagGetResponseResourceTaggingTaggedResourceObjectR2BucketType `json:"type" api:"required"`
JSON zoneTagGetResponseResourceTaggingTaggedResourceObjectR2BucketJSON `json:"-"`
}
Response for r2_bucket resources
func (*ZoneTagGetResponseResourceTaggingTaggedResourceObjectR2Bucket) UnmarshalJSON ¶
func (r *ZoneTagGetResponseResourceTaggingTaggedResourceObjectR2Bucket) UnmarshalJSON(data []byte) (err error)
type ZoneTagGetResponseResourceTaggingTaggedResourceObjectR2BucketType ¶
type ZoneTagGetResponseResourceTaggingTaggedResourceObjectR2BucketType string
const (
ZoneTagGetResponseResourceTaggingTaggedResourceObjectR2BucketTypeR2Bucket ZoneTagGetResponseResourceTaggingTaggedResourceObjectR2BucketType = "r2_bucket"
)
func (ZoneTagGetResponseResourceTaggingTaggedResourceObjectR2BucketType) IsKnown ¶
func (r ZoneTagGetResponseResourceTaggingTaggedResourceObjectR2BucketType) IsKnown() bool
type ZoneTagGetResponseResourceTaggingTaggedResourceObjectResourceShare ¶
type ZoneTagGetResponseResourceTaggingTaggedResourceObjectResourceShare struct {
ID string `json:"id" api:"required"`
// where the hash is the base64url-encoded SHA-256 (truncated to 128 bits) of the
// tags map canonicalized using RFC 8785 (JSON Canonicalization Scheme). Clients
// should treat ETags as opaque strings and pass them back via the If-Match header
// on write operations.
Etag string `json:"etag" api:"required"`
Name string `json:"name" api:"required"`
// Contains key-value pairs of tags.
}
Response for resource_share resources
func (*ZoneTagGetResponseResourceTaggingTaggedResourceObjectResourceShare) UnmarshalJSON ¶
func (r *ZoneTagGetResponseResourceTaggingTaggedResourceObjectResourceShare) UnmarshalJSON(data []byte) (err error)
type ZoneTagGetResponseResourceTaggingTaggedResourceObjectResourceShareType ¶
type ZoneTagGetResponseResourceTaggingTaggedResourceObjectResourceShareType string
const (
)
func (ZoneTagGetResponseResourceTaggingTaggedResourceObjectResourceShareType) IsKnown ¶
func (r ZoneTagGetResponseResourceTaggingTaggedResourceObjectResourceShareType) IsKnown() bool
type ZoneTagGetResponseResourceTaggingTaggedResourceObjectStreamLiveInput ¶
type ZoneTagGetResponseResourceTaggingTaggedResourceObjectStreamLiveInput struct {
// Identifies the unique resource.
ID string `json:"id" api:"required"`
// ETag identifier for optimistic concurrency control. Formatted as "v1:<hash>"
// where the hash is the base64url-encoded SHA-256 (truncated to 128 bits) of the
// tags map canonicalized using RFC 8785 (JSON Canonicalization Scheme). Clients
// should treat ETags as opaque strings and pass them back via the If-Match header
// on write operations.
Etag string `json:"etag" api:"required"`
// Human-readable name of the resource.
Name string `json:"name" api:"required"`
// Contains key-value pairs of tags.
Tags map[string]string `json:"tags" api:"required"`
Type ZoneTagGetResponseResourceTaggingTaggedResourceObjectStreamLiveInputType `json:"type" api:"required"`
JSON zoneTagGetResponseResourceTaggingTaggedResourceObjectStreamLiveInputJSON `json:"-"`
}
Response for stream_live_input resources
func (*ZoneTagGetResponseResourceTaggingTaggedResourceObjectStreamLiveInput) UnmarshalJSON ¶
func (r *ZoneTagGetResponseResourceTaggingTaggedResourceObjectStreamLiveInput) UnmarshalJSON(data []byte) (err error)
type ZoneTagGetResponseResourceTaggingTaggedResourceObjectStreamLiveInputType ¶
type ZoneTagGetResponseResourceTaggingTaggedResourceObjectStreamLiveInputType string
const (
ZoneTagGetResponseResourceTaggingTaggedResourceObjectStreamLiveInputTypeStreamLiveInput ZoneTagGetResponseResourceTaggingTaggedResourceObjectStreamLiveInputType = "stream_live_input"
)
func (ZoneTagGetResponseResourceTaggingTaggedResourceObjectStreamLiveInputType) IsKnown ¶
func (r ZoneTagGetResponseResourceTaggingTaggedResourceObjectStreamLiveInputType) IsKnown() bool
type ZoneTagGetResponseResourceTaggingTaggedResourceObjectStreamVideo ¶
type ZoneTagGetResponseResourceTaggingTaggedResourceObjectStreamVideo struct {
// Identifies the unique resource.
ID string `json:"id" api:"required"`
// ETag identifier for optimistic concurrency control. Formatted as "v1:<hash>"
// where the hash is the base64url-encoded SHA-256 (truncated to 128 bits) of the
// tags map canonicalized using RFC 8785 (JSON Canonicalization Scheme). Clients
// should treat ETags as opaque strings and pass them back via the If-Match header
// on write operations.
Etag string `json:"etag" api:"required"`
// Human-readable name of the resource.
Name string `json:"name" api:"required"`
// Contains key-value pairs of tags.
Tags map[string]string `json:"tags" api:"required"`
Type ZoneTagGetResponseResourceTaggingTaggedResourceObjectStreamVideoType `json:"type" api:"required"`
JSON zoneTagGetResponseResourceTaggingTaggedResourceObjectStreamVideoJSON `json:"-"`
}
Response for stream_video resources
func (*ZoneTagGetResponseResourceTaggingTaggedResourceObjectStreamVideo) UnmarshalJSON ¶
func (r *ZoneTagGetResponseResourceTaggingTaggedResourceObjectStreamVideo) UnmarshalJSON(data []byte) (err error)
type ZoneTagGetResponseResourceTaggingTaggedResourceObjectStreamVideoType ¶
type ZoneTagGetResponseResourceTaggingTaggedResourceObjectStreamVideoType string
const (
ZoneTagGetResponseResourceTaggingTaggedResourceObjectStreamVideoTypeStreamVideo ZoneTagGetResponseResourceTaggingTaggedResourceObjectStreamVideoType = "stream_video"
)
func (ZoneTagGetResponseResourceTaggingTaggedResourceObjectStreamVideoType) IsKnown ¶
func (r ZoneTagGetResponseResourceTaggingTaggedResourceObjectStreamVideoType) IsKnown() bool
type ZoneTagGetResponseResourceTaggingTaggedResourceObjectWorker ¶
type ZoneTagGetResponseResourceTaggingTaggedResourceObjectWorker struct {
// Identifies the unique resource.
ID string `json:"id" api:"required"`
// ETag identifier for optimistic concurrency control. Formatted as "v1:<hash>"
// where the hash is the base64url-encoded SHA-256 (truncated to 128 bits) of the
// tags map canonicalized using RFC 8785 (JSON Canonicalization Scheme). Clients
// should treat ETags as opaque strings and pass them back via the If-Match header
// on write operations.
Etag string `json:"etag" api:"required"`
// Human-readable name of the resource.
Name string `json:"name" api:"required"`
// Contains key-value pairs of tags.
Tags map[string]string `json:"tags" api:"required"`
Type ZoneTagGetResponseResourceTaggingTaggedResourceObjectWorkerType `json:"type" api:"required"`
JSON zoneTagGetResponseResourceTaggingTaggedResourceObjectWorkerJSON `json:"-"`
}
Response for worker resources
func (*ZoneTagGetResponseResourceTaggingTaggedResourceObjectWorker) UnmarshalJSON ¶
func (r *ZoneTagGetResponseResourceTaggingTaggedResourceObjectWorker) UnmarshalJSON(data []byte) (err error)
type ZoneTagGetResponseResourceTaggingTaggedResourceObjectWorkerType ¶
type ZoneTagGetResponseResourceTaggingTaggedResourceObjectWorkerType string
const (
ZoneTagGetResponseResourceTaggingTaggedResourceObjectWorkerTypeWorker ZoneTagGetResponseResourceTaggingTaggedResourceObjectWorkerType = "worker"
)
func (ZoneTagGetResponseResourceTaggingTaggedResourceObjectWorkerType) IsKnown ¶
func (r ZoneTagGetResponseResourceTaggingTaggedResourceObjectWorkerType) IsKnown() bool
type ZoneTagGetResponseResourceTaggingTaggedResourceObjectWorkerVersion ¶
type ZoneTagGetResponseResourceTaggingTaggedResourceObjectWorkerVersion struct {
// Identifies the unique resource.
ID string `json:"id" api:"required"`
// ETag identifier for optimistic concurrency control. Formatted as "v1:<hash>"
// where the hash is the base64url-encoded SHA-256 (truncated to 128 bits) of the
// tags map canonicalized using RFC 8785 (JSON Canonicalization Scheme). Clients
// should treat ETags as opaque strings and pass them back via the If-Match header
// on write operations.
Etag string `json:"etag" api:"required"`
// Human-readable name of the resource.
Name string `json:"name" api:"required"`
// Contains key-value pairs of tags.
Tags map[string]string `json:"tags" api:"required"`
Type ZoneTagGetResponseResourceTaggingTaggedResourceObjectWorkerVersionType `json:"type" api:"required"`
// Worker ID is required only for worker_version resources
WorkerID string `json:"worker_id" api:"required"`
JSON zoneTagGetResponseResourceTaggingTaggedResourceObjectWorkerVersionJSON `json:"-"`
}
Response for worker_version resources
func (*ZoneTagGetResponseResourceTaggingTaggedResourceObjectWorkerVersion) UnmarshalJSON ¶
func (r *ZoneTagGetResponseResourceTaggingTaggedResourceObjectWorkerVersion) UnmarshalJSON(data []byte) (err error)
type ZoneTagGetResponseResourceTaggingTaggedResourceObjectWorkerVersionType ¶
type ZoneTagGetResponseResourceTaggingTaggedResourceObjectWorkerVersionType string
const (
ZoneTagGetResponseResourceTaggingTaggedResourceObjectWorkerVersionTypeWorkerVersion ZoneTagGetResponseResourceTaggingTaggedResourceObjectWorkerVersionType = "worker_version"
)
func (ZoneTagGetResponseResourceTaggingTaggedResourceObjectWorkerVersionType) IsKnown ¶
func (r ZoneTagGetResponseResourceTaggingTaggedResourceObjectWorkerVersionType) IsKnown() bool
type ZoneTagGetResponseResourceTaggingTaggedResourceObjectZone ¶
type ZoneTagGetResponseResourceTaggingTaggedResourceObjectZone struct {
// Identifies the unique resource.
ID string `json:"id" api:"required"`
// ETag identifier for optimistic concurrency control. Formatted as "v1:<hash>"
// where the hash is the base64url-encoded SHA-256 (truncated to 128 bits) of the
// tags map canonicalized using RFC 8785 (JSON Canonicalization Scheme). Clients
// should treat ETags as opaque strings and pass them back via the If-Match header
// on write operations.
Etag string `json:"etag" api:"required"`
// Human-readable name of the resource.
Name string `json:"name" api:"required"`
// Contains key-value pairs of tags.
Tags map[string]string `json:"tags" api:"required"`
Type ZoneTagGetResponseResourceTaggingTaggedResourceObjectZoneType `json:"type" api:"required"`
// Zone ID is required only for zone-level resources
ZoneID string `json:"zone_id" api:"required"`
JSON zoneTagGetResponseResourceTaggingTaggedResourceObjectZoneJSON `json:"-"`
}
Response for zone resources
func (*ZoneTagGetResponseResourceTaggingTaggedResourceObjectZone) UnmarshalJSON ¶
func (r *ZoneTagGetResponseResourceTaggingTaggedResourceObjectZone) UnmarshalJSON(data []byte) (err error)
type ZoneTagGetResponseResourceTaggingTaggedResourceObjectZoneType ¶
type ZoneTagGetResponseResourceTaggingTaggedResourceObjectZoneType string
const (
ZoneTagGetResponseResourceTaggingTaggedResourceObjectZoneTypeZone ZoneTagGetResponseResourceTaggingTaggedResourceObjectZoneType = "zone"
)
func (ZoneTagGetResponseResourceTaggingTaggedResourceObjectZoneType) IsKnown ¶
func (r ZoneTagGetResponseResourceTaggingTaggedResourceObjectZoneType) IsKnown() bool
type ZoneTagGetResponseType ¶
type ZoneTagGetResponseType string
const ( ZoneTagGetResponseTypeAccessApplication ZoneTagGetResponseType = "access_application" ZoneTagGetResponseTypeAccessApplicationPolicy ZoneTagGetResponseType = "access_application_policy" ZoneTagGetResponseTypeAccessGroup ZoneTagGetResponseType = "access_group" ZoneTagGetResponseTypeAccount ZoneTagGetResponseType = "account" ZoneTagGetResponseTypeAIGateway ZoneTagGetResponseType = "ai_gateway" ZoneTagGetResponseTypeAlertingPolicy ZoneTagGetResponseType = "alerting_policy" ZoneTagGetResponseTypeAlertingWebhook ZoneTagGetResponseType = "alerting_webhook" ZoneTagGetResponseTypeAPIGatewayOperation ZoneTagGetResponseType = "api_gateway_operation" ZoneTagGetResponseTypeCloudflaredTunnel ZoneTagGetResponseType = "cloudflared_tunnel" ZoneTagGetResponseTypeCustomCertificate ZoneTagGetResponseType = "custom_certificate" ZoneTagGetResponseTypeCustomHostname ZoneTagGetResponseType = "custom_hostname" ZoneTagGetResponseTypeD1Database ZoneTagGetResponseType = "d1_database" ZoneTagGetResponseTypeDNSRecord ZoneTagGetResponseType = "dns_record" ZoneTagGetResponseTypeDurableObjectNamespace ZoneTagGetResponseType = "durable_object_namespace" ZoneTagGetResponseTypeGatewayList ZoneTagGetResponseType = "gateway_list" ZoneTagGetResponseTypeGatewayRule ZoneTagGetResponseType = "gateway_rule" ZoneTagGetResponseTypeImage ZoneTagGetResponseType = "image" ZoneTagGetResponseTypeKVNamespace ZoneTagGetResponseType = "kv_namespace" ZoneTagGetResponseTypeManagedClientCertificate ZoneTagGetResponseType = "managed_client_certificate" ZoneTagGetResponseTypeQueue ZoneTagGetResponseType = "queue" ZoneTagGetResponseTypeR2Bucket ZoneTagGetResponseType = "r2_bucket" ZoneTagGetResponseTypeStreamLiveInput ZoneTagGetResponseType = "stream_live_input" ZoneTagGetResponseTypeStreamVideo ZoneTagGetResponseType = "stream_video" ZoneTagGetResponseTypeWorker ZoneTagGetResponseType = "worker" ZoneTagGetResponseTypeWorkerVersion ZoneTagGetResponseType = "worker_version" ZoneTagGetResponseTypeZone ZoneTagGetResponseType = "zone" )
func (ZoneTagGetResponseType) IsKnown ¶
func (r ZoneTagGetResponseType) IsKnown() bool
type ZoneTagGetResponseUnion ¶
type ZoneTagGetResponseUnion interface {
// contains filtered or unexported methods
}
Response for access_application resources
Union satisfied by ZoneTagGetResponseResourceTaggingTaggedResourceObjectAccessApplication, ZoneTagGetResponseResourceTaggingTaggedResourceObjectAccessApplicationPolicy, ZoneTagGetResponseResourceTaggingTaggedResourceObjectAccessGroup, ZoneTagGetResponseResourceTaggingTaggedResourceObjectAccount, ZoneTagGetResponseResourceTaggingTaggedResourceObjectAIGateway, ZoneTagGetResponseResourceTaggingTaggedResourceObjectAlertingPolicy, ZoneTagGetResponseResourceTaggingTaggedResourceObjectAlertingWebhook, ZoneTagGetResponseResourceTaggingTaggedResourceObjectAPIGatewayOperation, ZoneTagGetResponseResourceTaggingTaggedResourceObjectCloudflaredTunnel, ZoneTagGetResponseResourceTaggingTaggedResourceObjectCustomCertificate, ZoneTagGetResponseResourceTaggingTaggedResourceObjectCustomHostname, ZoneTagGetResponseResourceTaggingTaggedResourceObjectD1Database, ZoneTagGetResponseResourceTaggingTaggedResourceObjectDNSRecord, ZoneTagGetResponseResourceTaggingTaggedResourceObjectDurableObjectNamespace, ZoneTagGetResponseResourceTaggingTaggedResourceObjectGatewayList, ZoneTagGetResponseResourceTaggingTaggedResourceObjectGatewayRule, ZoneTagGetResponseResourceTaggingTaggedResourceObjectImage, ZoneTagGetResponseResourceTaggingTaggedResourceObjectKVNamespace, ZoneTagGetResponseResourceTaggingTaggedResourceObjectManagedClientCertificate, ZoneTagGetResponseResourceTaggingTaggedResourceObjectQueue, ZoneTagGetResponseResourceTaggingTaggedResourceObjectR2Bucket, ZoneTagGetResponseResourceTaggingTaggedResourceObjectResourceShare, ZoneTagGetResponseResourceTaggingTaggedResourceObjectStreamLiveInput, ZoneTagGetResponseResourceTaggingTaggedResourceObjectStreamVideo, ZoneTagGetResponseResourceTaggingTaggedResourceObjectWorker, ZoneTagGetResponseResourceTaggingTaggedResourceObjectWorkerVersion or ZoneTagGetResponseResourceTaggingTaggedResourceObjectZone.
type ZoneTagService ¶
type ZoneTagService struct {
Options []option.RequestOption
}
ZoneTagService contains methods and other services that help with interacting with the cloudflare API.
Note, unlike clients, this service does not read variables from the environment automatically. You should not instantiate this service directly, and instead use the NewZoneTagService method instead.
func NewZoneTagService ¶
func NewZoneTagService(opts ...option.RequestOption) (r *ZoneTagService)
NewZoneTagService generates a new service that applies the given options to each request. These options are applied after the parent client's options (if there is one), and before any request-specific options.
func (*ZoneTagService) Delete ¶
func (r *ZoneTagService) Delete(ctx context.Context, params ZoneTagDeleteParams, opts ...option.RequestOption) (err error)
Removes all tags from a specific zone-level resource.
func (*ZoneTagService) Get ¶
func (r *ZoneTagService) Get(ctx context.Context, params ZoneTagGetParams, opts ...option.RequestOption) (res *ZoneTagGetResponse, err error)
Retrieves tags for a specific zone-level resource.
func (*ZoneTagService) Update ¶
func (r *ZoneTagService) Update(ctx context.Context, params ZoneTagUpdateParams, opts ...option.RequestOption) (res *ZoneTagUpdateResponse, err error)
Creates or updates tags for a specific zone-level resource. Replaces all existing tags for the resource.
type ZoneTagUpdateParams ¶
type ZoneTagUpdateParams struct {
// Zone ID is required only for zone-level resources
ZoneID param.Field[string] `path:"zone_id" api:"required"`
// Request body schema for setting tags on zone-level resources.
Body ZoneTagUpdateParamsBodyUnion `json:"body" api:"required"`
IfMatch param.Field[string] `header:"If-Match"`
}
func (ZoneTagUpdateParams) MarshalJSON ¶
func (r ZoneTagUpdateParams) MarshalJSON() (data []byte, err error)
type ZoneTagUpdateParamsBody ¶
type ZoneTagUpdateParamsBody struct {
// Identifies the unique resource.
ResourceID param.Field[string] `json:"resource_id" api:"required"`
// Enum for base zone-level resource types (those with no extra required fields).
ResourceType param.Field[ZoneTagUpdateParamsBodyResourceType] `json:"resource_type" api:"required"`
// Access application ID is required only for access_application_policy resources
AccessApplicationID param.Field[string] `json:"access_application_id" format:"uuid"`
Tags param.Field[interface{}] `json:"tags"`
}
Request body schema for setting tags on zone-level resources.
func (ZoneTagUpdateParamsBody) MarshalJSON ¶
func (r ZoneTagUpdateParamsBody) MarshalJSON() (data []byte, err error)
type ZoneTagUpdateParamsBodyResourceTaggingSetTagsRequestZoneLevelAccessApplicationPolicy ¶
type ZoneTagUpdateParamsBodyResourceTaggingSetTagsRequestZoneLevelAccessApplicationPolicy struct {
// Access application ID is required only for access_application_policy resources
AccessApplicationID param.Field[string] `json:"access_application_id" api:"required" format:"uuid"`
// Identifies the unique resource.
ResourceID param.Field[string] `json:"resource_id" api:"required"`
// Enum for base zone-level resource types (those with no extra required fields).
ResourceType param.Field[ZoneTagUpdateParamsBodyResourceTaggingSetTagsRequestZoneLevelAccessApplicationPolicyResourceType] `json:"resource_type" api:"required"`
// Contains key-value pairs of tags.
Tags param.Field[map[string]string] `json:"tags"`
}
Request body schema for deleting tags from zone-level resources. Zone ID comes from URL path.
func (ZoneTagUpdateParamsBodyResourceTaggingSetTagsRequestZoneLevelAccessApplicationPolicy) MarshalJSON ¶
func (r ZoneTagUpdateParamsBodyResourceTaggingSetTagsRequestZoneLevelAccessApplicationPolicy) MarshalJSON() (data []byte, err error)
type ZoneTagUpdateParamsBodyResourceTaggingSetTagsRequestZoneLevelAccessApplicationPolicyResourceType ¶
type ZoneTagUpdateParamsBodyResourceTaggingSetTagsRequestZoneLevelAccessApplicationPolicyResourceType string
Enum for base zone-level resource types (those with no extra required fields).
const ( ZoneTagUpdateParamsBodyResourceTaggingSetTagsRequestZoneLevelAccessApplicationPolicyResourceTypeAPIGatewayOperation ZoneTagUpdateParamsBodyResourceTaggingSetTagsRequestZoneLevelAccessApplicationPolicyResourceType = "api_gateway_operation" ZoneTagUpdateParamsBodyResourceTaggingSetTagsRequestZoneLevelAccessApplicationPolicyResourceTypeCustomCertificate ZoneTagUpdateParamsBodyResourceTaggingSetTagsRequestZoneLevelAccessApplicationPolicyResourceType = "custom_certificate" ZoneTagUpdateParamsBodyResourceTaggingSetTagsRequestZoneLevelAccessApplicationPolicyResourceTypeCustomHostname ZoneTagUpdateParamsBodyResourceTaggingSetTagsRequestZoneLevelAccessApplicationPolicyResourceType = "custom_hostname" ZoneTagUpdateParamsBodyResourceTaggingSetTagsRequestZoneLevelAccessApplicationPolicyResourceTypeDNSRecord ZoneTagUpdateParamsBodyResourceTaggingSetTagsRequestZoneLevelAccessApplicationPolicyResourceType = "dns_record" ZoneTagUpdateParamsBodyResourceTaggingSetTagsRequestZoneLevelAccessApplicationPolicyResourceTypeManagedClientCertificate ZoneTagUpdateParamsBodyResourceTaggingSetTagsRequestZoneLevelAccessApplicationPolicyResourceType = "managed_client_certificate" ZoneTagUpdateParamsBodyResourceTaggingSetTagsRequestZoneLevelAccessApplicationPolicyResourceTypeZone ZoneTagUpdateParamsBodyResourceTaggingSetTagsRequestZoneLevelAccessApplicationPolicyResourceType = "zone" ZoneTagUpdateParamsBodyResourceTaggingSetTagsRequestZoneLevelAccessApplicationPolicyResourceTypeAccessApplicationPolicy ZoneTagUpdateParamsBodyResourceTaggingSetTagsRequestZoneLevelAccessApplicationPolicyResourceType = "access_application_policy" )
type ZoneTagUpdateParamsBodyResourceTaggingSetTagsRequestZoneLevelBase ¶
type ZoneTagUpdateParamsBodyResourceTaggingSetTagsRequestZoneLevelBase struct {
// Identifies the unique resource.
ResourceID param.Field[string] `json:"resource_id" api:"required"`
// Enum for base zone-level resource types (those with no extra required fields).
ResourceType param.Field[ZoneTagUpdateParamsBodyResourceTaggingSetTagsRequestZoneLevelBaseResourceType] `json:"resource_type" api:"required"`
// Contains key-value pairs of tags.
Tags param.Field[map[string]string] `json:"tags"`
}
Request body schema for deleting tags from zone-level resources. Zone ID comes from URL path.
func (ZoneTagUpdateParamsBodyResourceTaggingSetTagsRequestZoneLevelBase) MarshalJSON ¶
func (r ZoneTagUpdateParamsBodyResourceTaggingSetTagsRequestZoneLevelBase) MarshalJSON() (data []byte, err error)
type ZoneTagUpdateParamsBodyResourceTaggingSetTagsRequestZoneLevelBaseResourceType ¶
type ZoneTagUpdateParamsBodyResourceTaggingSetTagsRequestZoneLevelBaseResourceType string
Enum for base zone-level resource types (those with no extra required fields).
const ( ZoneTagUpdateParamsBodyResourceTaggingSetTagsRequestZoneLevelBaseResourceTypeAPIGatewayOperation ZoneTagUpdateParamsBodyResourceTaggingSetTagsRequestZoneLevelBaseResourceType = "api_gateway_operation" ZoneTagUpdateParamsBodyResourceTaggingSetTagsRequestZoneLevelBaseResourceTypeCustomCertificate ZoneTagUpdateParamsBodyResourceTaggingSetTagsRequestZoneLevelBaseResourceType = "custom_certificate" ZoneTagUpdateParamsBodyResourceTaggingSetTagsRequestZoneLevelBaseResourceTypeCustomHostname ZoneTagUpdateParamsBodyResourceTaggingSetTagsRequestZoneLevelBaseResourceType = "custom_hostname" ZoneTagUpdateParamsBodyResourceTaggingSetTagsRequestZoneLevelBaseResourceTypeDNSRecord ZoneTagUpdateParamsBodyResourceTaggingSetTagsRequestZoneLevelBaseResourceType = "dns_record" ZoneTagUpdateParamsBodyResourceTaggingSetTagsRequestZoneLevelBaseResourceTypeManagedClientCertificate ZoneTagUpdateParamsBodyResourceTaggingSetTagsRequestZoneLevelBaseResourceType = "managed_client_certificate" ZoneTagUpdateParamsBodyResourceTaggingSetTagsRequestZoneLevelBaseResourceTypeZone ZoneTagUpdateParamsBodyResourceTaggingSetTagsRequestZoneLevelBaseResourceType = "zone" )
type ZoneTagUpdateParamsBodyResourceType ¶
type ZoneTagUpdateParamsBodyResourceType string
Enum for base zone-level resource types (those with no extra required fields).
const ( ZoneTagUpdateParamsBodyResourceTypeAPIGatewayOperation ZoneTagUpdateParamsBodyResourceType = "api_gateway_operation" ZoneTagUpdateParamsBodyResourceTypeCustomCertificate ZoneTagUpdateParamsBodyResourceType = "custom_certificate" ZoneTagUpdateParamsBodyResourceTypeCustomHostname ZoneTagUpdateParamsBodyResourceType = "custom_hostname" ZoneTagUpdateParamsBodyResourceTypeDNSRecord ZoneTagUpdateParamsBodyResourceType = "dns_record" ZoneTagUpdateParamsBodyResourceTypeManagedClientCertificate ZoneTagUpdateParamsBodyResourceType = "managed_client_certificate" ZoneTagUpdateParamsBodyResourceTypeZone ZoneTagUpdateParamsBodyResourceType = "zone" ZoneTagUpdateParamsBodyResourceTypeAccessApplicationPolicy ZoneTagUpdateParamsBodyResourceType = "access_application_policy" )
func (ZoneTagUpdateParamsBodyResourceType) IsKnown ¶
func (r ZoneTagUpdateParamsBodyResourceType) IsKnown() bool
type ZoneTagUpdateParamsBodyUnion ¶
type ZoneTagUpdateParamsBodyUnion interface {
// contains filtered or unexported methods
}
Request body schema for setting tags on zone-level resources.
Satisfied by resource_tagging.ZoneTagUpdateParamsBodyResourceTaggingSetTagsRequestZoneLevelBase, resource_tagging.ZoneTagUpdateParamsBodyResourceTaggingSetTagsRequestZoneLevelAccessApplicationPolicy, ZoneTagUpdateParamsBody.
type ZoneTagUpdateResponse ¶
type ZoneTagUpdateResponse struct {
// Identifies the unique resource.
ID string `json:"id" api:"required"`
// ETag identifier for optimistic concurrency control. Formatted as "v1:<hash>"
// where the hash is the base64url-encoded SHA-256 (truncated to 128 bits) of the
// tags map canonicalized using RFC 8785 (JSON Canonicalization Scheme). Clients
// should treat ETags as opaque strings and pass them back via the If-Match header
// on write operations.
Etag string `json:"etag" api:"required"`
// Human-readable name of the resource.
Name string `json:"name" api:"required"`
// This field can have the runtime type of [map[string]string].
Tags interface{} `json:"tags" api:"required"`
Type ZoneTagUpdateResponseType `json:"type" api:"required"`
// Access application ID is required only for access_application_policy resources
AccessApplicationID string `json:"access_application_id" format:"uuid"`
// Worker ID is required only for worker_version resources
WorkerID string `json:"worker_id"`
// Zone ID is required only for zone-level resources
ZoneID string `json:"zone_id"`
JSON zoneTagUpdateResponseJSON `json:"-"`
// contains filtered or unexported fields
}
Response for access_application resources
func (ZoneTagUpdateResponse) AsUnion ¶
func (r ZoneTagUpdateResponse) AsUnion() ZoneTagUpdateResponseUnion
AsUnion returns a ZoneTagUpdateResponseUnion interface which you can cast to the specific types for more type safety.
Possible runtime types of the union are ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectAccessApplication, ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectAccessApplicationPolicy, ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectAccessGroup, ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectAccount, ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectAIGateway, ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectAlertingPolicy, ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectAlertingWebhook, ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectAPIGatewayOperation, ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectCloudflaredTunnel, ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectCustomCertificate, ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectCustomHostname, ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectD1Database, ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectDNSRecord, ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectDurableObjectNamespace, ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectGatewayList, ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectGatewayRule, ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectImage, ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectKVNamespace, ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectManagedClientCertificate, ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectQueue, ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectR2Bucket, ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectResourceShare, ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectStreamLiveInput, ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectStreamVideo, ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectWorker, ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectWorkerVersion, ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectZone.
func (*ZoneTagUpdateResponse) UnmarshalJSON ¶
func (r *ZoneTagUpdateResponse) UnmarshalJSON(data []byte) (err error)
type ZoneTagUpdateResponseEnvelope ¶
type ZoneTagUpdateResponseEnvelope struct {
Errors []ZoneTagUpdateResponseEnvelopeErrors `json:"errors" api:"required"`
Messages []ZoneTagUpdateResponseEnvelopeMessages `json:"messages" api:"required"`
// Whether the API call was successful.
Success ZoneTagUpdateResponseEnvelopeSuccess `json:"success" api:"required"`
// Response for access_application resources
Result ZoneTagUpdateResponse `json:"result"`
JSON zoneTagUpdateResponseEnvelopeJSON `json:"-"`
}
func (*ZoneTagUpdateResponseEnvelope) UnmarshalJSON ¶
func (r *ZoneTagUpdateResponseEnvelope) UnmarshalJSON(data []byte) (err error)
type ZoneTagUpdateResponseEnvelopeErrors ¶
type ZoneTagUpdateResponseEnvelopeErrors struct {
Code int64 `json:"code" api:"required"`
Message string `json:"message" api:"required"`
DocumentationURL string `json:"documentation_url"`
Source ZoneTagUpdateResponseEnvelopeErrorsSource `json:"source"`
JSON zoneTagUpdateResponseEnvelopeErrorsJSON `json:"-"`
}
func (*ZoneTagUpdateResponseEnvelopeErrors) UnmarshalJSON ¶
func (r *ZoneTagUpdateResponseEnvelopeErrors) UnmarshalJSON(data []byte) (err error)
type ZoneTagUpdateResponseEnvelopeErrorsSource ¶
type ZoneTagUpdateResponseEnvelopeErrorsSource struct {
Pointer string `json:"pointer"`
JSON zoneTagUpdateResponseEnvelopeErrorsSourceJSON `json:"-"`
}
func (*ZoneTagUpdateResponseEnvelopeErrorsSource) UnmarshalJSON ¶
func (r *ZoneTagUpdateResponseEnvelopeErrorsSource) UnmarshalJSON(data []byte) (err error)
type ZoneTagUpdateResponseEnvelopeMessages ¶
type ZoneTagUpdateResponseEnvelopeMessages struct {
Code int64 `json:"code" api:"required"`
Message string `json:"message" api:"required"`
DocumentationURL string `json:"documentation_url"`
Source ZoneTagUpdateResponseEnvelopeMessagesSource `json:"source"`
JSON zoneTagUpdateResponseEnvelopeMessagesJSON `json:"-"`
}
func (*ZoneTagUpdateResponseEnvelopeMessages) UnmarshalJSON ¶
func (r *ZoneTagUpdateResponseEnvelopeMessages) UnmarshalJSON(data []byte) (err error)
type ZoneTagUpdateResponseEnvelopeMessagesSource ¶
type ZoneTagUpdateResponseEnvelopeMessagesSource struct {
Pointer string `json:"pointer"`
JSON zoneTagUpdateResponseEnvelopeMessagesSourceJSON `json:"-"`
}
func (*ZoneTagUpdateResponseEnvelopeMessagesSource) UnmarshalJSON ¶
func (r *ZoneTagUpdateResponseEnvelopeMessagesSource) UnmarshalJSON(data []byte) (err error)
type ZoneTagUpdateResponseEnvelopeSuccess ¶
type ZoneTagUpdateResponseEnvelopeSuccess bool
Whether the API call was successful.
const (
ZoneTagUpdateResponseEnvelopeSuccessTrue ZoneTagUpdateResponseEnvelopeSuccess = true
)
func (ZoneTagUpdateResponseEnvelopeSuccess) IsKnown ¶
func (r ZoneTagUpdateResponseEnvelopeSuccess) IsKnown() bool
type ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectAIGateway ¶
type ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectAIGateway struct {
// Identifies the unique resource.
ID string `json:"id" api:"required"`
// ETag identifier for optimistic concurrency control. Formatted as "v1:<hash>"
// where the hash is the base64url-encoded SHA-256 (truncated to 128 bits) of the
// tags map canonicalized using RFC 8785 (JSON Canonicalization Scheme). Clients
// should treat ETags as opaque strings and pass them back via the If-Match header
// on write operations.
Etag string `json:"etag" api:"required"`
// Human-readable name of the resource.
Name string `json:"name" api:"required"`
// Contains key-value pairs of tags.
Tags map[string]string `json:"tags" api:"required"`
Type ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectAIGatewayType `json:"type" api:"required"`
JSON zoneTagUpdateResponseResourceTaggingTaggedResourceObjectAIGatewayJSON `json:"-"`
}
Response for ai_gateway resources
func (*ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectAIGateway) UnmarshalJSON ¶
func (r *ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectAIGateway) UnmarshalJSON(data []byte) (err error)
type ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectAIGatewayType ¶
type ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectAIGatewayType string
const (
ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectAIGatewayTypeAIGateway ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectAIGatewayType = "ai_gateway"
)
func (ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectAIGatewayType) IsKnown ¶
func (r ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectAIGatewayType) IsKnown() bool
type ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectAPIGatewayOperation ¶
type ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectAPIGatewayOperation struct {
// Identifies the unique resource.
ID string `json:"id" api:"required"`
// ETag identifier for optimistic concurrency control. Formatted as "v1:<hash>"
// where the hash is the base64url-encoded SHA-256 (truncated to 128 bits) of the
// tags map canonicalized using RFC 8785 (JSON Canonicalization Scheme). Clients
// should treat ETags as opaque strings and pass them back via the If-Match header
// on write operations.
Etag string `json:"etag" api:"required"`
// Human-readable name of the resource.
Name string `json:"name" api:"required"`
// Contains key-value pairs of tags.
Tags map[string]string `json:"tags" api:"required"`
Type ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectAPIGatewayOperationType `json:"type" api:"required"`
// Zone ID is required only for zone-level resources
ZoneID string `json:"zone_id" api:"required"`
JSON zoneTagUpdateResponseResourceTaggingTaggedResourceObjectAPIGatewayOperationJSON `json:"-"`
}
Response for api_gateway_operation resources
func (*ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectAPIGatewayOperation) UnmarshalJSON ¶
func (r *ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectAPIGatewayOperation) UnmarshalJSON(data []byte) (err error)
type ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectAPIGatewayOperationType ¶
type ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectAPIGatewayOperationType string
const (
ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectAPIGatewayOperationTypeAPIGatewayOperation ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectAPIGatewayOperationType = "api_gateway_operation"
)
type ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectAccessApplication ¶
type ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectAccessApplication struct {
// Identifies the unique resource.
ID string `json:"id" api:"required"`
// ETag identifier for optimistic concurrency control. Formatted as "v1:<hash>"
// where the hash is the base64url-encoded SHA-256 (truncated to 128 bits) of the
// tags map canonicalized using RFC 8785 (JSON Canonicalization Scheme). Clients
// should treat ETags as opaque strings and pass them back via the If-Match header
// on write operations.
Etag string `json:"etag" api:"required"`
// Human-readable name of the resource.
Name string `json:"name" api:"required"`
// Contains key-value pairs of tags.
Tags map[string]string `json:"tags" api:"required"`
Type ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectAccessApplicationType `json:"type" api:"required"`
JSON zoneTagUpdateResponseResourceTaggingTaggedResourceObjectAccessApplicationJSON `json:"-"`
}
Response for access_application resources
func (*ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectAccessApplication) UnmarshalJSON ¶
func (r *ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectAccessApplication) UnmarshalJSON(data []byte) (err error)
type ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectAccessApplicationPolicy ¶
type ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectAccessApplicationPolicy struct {
// Identifies the unique resource.
ID string `json:"id" api:"required"`
// Access application ID is required only for access_application_policy resources
AccessApplicationID string `json:"access_application_id" api:"required" format:"uuid"`
// ETag identifier for optimistic concurrency control. Formatted as "v1:<hash>"
// where the hash is the base64url-encoded SHA-256 (truncated to 128 bits) of the
// tags map canonicalized using RFC 8785 (JSON Canonicalization Scheme). Clients
// should treat ETags as opaque strings and pass them back via the If-Match header
// on write operations.
Etag string `json:"etag" api:"required"`
// Human-readable name of the resource.
Name string `json:"name" api:"required"`
// Contains key-value pairs of tags.
Tags map[string]string `json:"tags" api:"required"`
Type ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectAccessApplicationPolicyType `json:"type" api:"required"`
// Zone ID is required only for zone-level resources
ZoneID string `json:"zone_id" api:"required"`
JSON zoneTagUpdateResponseResourceTaggingTaggedResourceObjectAccessApplicationPolicyJSON `json:"-"`
}
Response for access_application_policy resources
func (*ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectAccessApplicationPolicy) UnmarshalJSON ¶
func (r *ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectAccessApplicationPolicy) UnmarshalJSON(data []byte) (err error)
type ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectAccessApplicationPolicyType ¶
type ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectAccessApplicationPolicyType string
const (
ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectAccessApplicationPolicyTypeAccessApplicationPolicy ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectAccessApplicationPolicyType = "access_application_policy"
)
type ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectAccessApplicationType ¶
type ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectAccessApplicationType string
const (
ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectAccessApplicationTypeAccessApplication ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectAccessApplicationType = "access_application"
)
type ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectAccessGroup ¶
type ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectAccessGroup struct {
// Identifies the unique resource.
ID string `json:"id" api:"required"`
// ETag identifier for optimistic concurrency control. Formatted as "v1:<hash>"
// where the hash is the base64url-encoded SHA-256 (truncated to 128 bits) of the
// tags map canonicalized using RFC 8785 (JSON Canonicalization Scheme). Clients
// should treat ETags as opaque strings and pass them back via the If-Match header
// on write operations.
Etag string `json:"etag" api:"required"`
// Human-readable name of the resource.
Name string `json:"name" api:"required"`
// Contains key-value pairs of tags.
Tags map[string]string `json:"tags" api:"required"`
Type ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectAccessGroupType `json:"type" api:"required"`
JSON zoneTagUpdateResponseResourceTaggingTaggedResourceObjectAccessGroupJSON `json:"-"`
}
Response for access_group resources
func (*ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectAccessGroup) UnmarshalJSON ¶
func (r *ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectAccessGroup) UnmarshalJSON(data []byte) (err error)
type ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectAccessGroupType ¶
type ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectAccessGroupType string
const (
ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectAccessGroupTypeAccessGroup ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectAccessGroupType = "access_group"
)
func (ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectAccessGroupType) IsKnown ¶
func (r ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectAccessGroupType) IsKnown() bool
type ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectAccount ¶
type ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectAccount struct {
// Identifies the unique resource.
ID string `json:"id" api:"required"`
// ETag identifier for optimistic concurrency control. Formatted as "v1:<hash>"
// where the hash is the base64url-encoded SHA-256 (truncated to 128 bits) of the
// tags map canonicalized using RFC 8785 (JSON Canonicalization Scheme). Clients
// should treat ETags as opaque strings and pass them back via the If-Match header
// on write operations.
Etag string `json:"etag" api:"required"`
// Human-readable name of the resource.
Name string `json:"name" api:"required"`
// Contains key-value pairs of tags.
Tags map[string]string `json:"tags" api:"required"`
Type ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectAccountType `json:"type" api:"required"`
JSON zoneTagUpdateResponseResourceTaggingTaggedResourceObjectAccountJSON `json:"-"`
}
Response for account resources
func (*ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectAccount) UnmarshalJSON ¶
func (r *ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectAccount) UnmarshalJSON(data []byte) (err error)
type ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectAccountType ¶
type ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectAccountType string
const (
ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectAccountTypeAccount ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectAccountType = "account"
)
func (ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectAccountType) IsKnown ¶
func (r ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectAccountType) IsKnown() bool
type ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectAlertingPolicy ¶
type ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectAlertingPolicy struct {
// Identifies the unique resource.
ID string `json:"id" api:"required"`
// ETag identifier for optimistic concurrency control. Formatted as "v1:<hash>"
// where the hash is the base64url-encoded SHA-256 (truncated to 128 bits) of the
// tags map canonicalized using RFC 8785 (JSON Canonicalization Scheme). Clients
// should treat ETags as opaque strings and pass them back via the If-Match header
// on write operations.
Etag string `json:"etag" api:"required"`
// Human-readable name of the resource.
Name string `json:"name" api:"required"`
// Contains key-value pairs of tags.
Tags map[string]string `json:"tags" api:"required"`
Type ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectAlertingPolicyType `json:"type" api:"required"`
JSON zoneTagUpdateResponseResourceTaggingTaggedResourceObjectAlertingPolicyJSON `json:"-"`
}
Response for alerting_policy resources
func (*ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectAlertingPolicy) UnmarshalJSON ¶
func (r *ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectAlertingPolicy) UnmarshalJSON(data []byte) (err error)
type ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectAlertingPolicyType ¶
type ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectAlertingPolicyType string
const (
ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectAlertingPolicyTypeAlertingPolicy ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectAlertingPolicyType = "alerting_policy"
)
func (ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectAlertingPolicyType) IsKnown ¶
func (r ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectAlertingPolicyType) IsKnown() bool
type ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectAlertingWebhook ¶
type ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectAlertingWebhook struct {
// Identifies the unique resource.
ID string `json:"id" api:"required"`
// ETag identifier for optimistic concurrency control. Formatted as "v1:<hash>"
// where the hash is the base64url-encoded SHA-256 (truncated to 128 bits) of the
// tags map canonicalized using RFC 8785 (JSON Canonicalization Scheme). Clients
// should treat ETags as opaque strings and pass them back via the If-Match header
// on write operations.
Etag string `json:"etag" api:"required"`
// Human-readable name of the resource.
Name string `json:"name" api:"required"`
// Contains key-value pairs of tags.
Tags map[string]string `json:"tags" api:"required"`
Type ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectAlertingWebhookType `json:"type" api:"required"`
JSON zoneTagUpdateResponseResourceTaggingTaggedResourceObjectAlertingWebhookJSON `json:"-"`
}
Response for alerting_webhook resources
func (*ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectAlertingWebhook) UnmarshalJSON ¶
func (r *ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectAlertingWebhook) UnmarshalJSON(data []byte) (err error)
type ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectAlertingWebhookType ¶
type ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectAlertingWebhookType string
const (
ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectAlertingWebhookTypeAlertingWebhook ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectAlertingWebhookType = "alerting_webhook"
)
func (ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectAlertingWebhookType) IsKnown ¶
func (r ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectAlertingWebhookType) IsKnown() bool
type ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectCloudflaredTunnel ¶
type ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectCloudflaredTunnel struct {
// Identifies the unique resource.
ID string `json:"id" api:"required"`
// ETag identifier for optimistic concurrency control. Formatted as "v1:<hash>"
// where the hash is the base64url-encoded SHA-256 (truncated to 128 bits) of the
// tags map canonicalized using RFC 8785 (JSON Canonicalization Scheme). Clients
// should treat ETags as opaque strings and pass them back via the If-Match header
// on write operations.
Etag string `json:"etag" api:"required"`
// Human-readable name of the resource.
Name string `json:"name" api:"required"`
// Contains key-value pairs of tags.
Tags map[string]string `json:"tags" api:"required"`
Type ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectCloudflaredTunnelType `json:"type" api:"required"`
JSON zoneTagUpdateResponseResourceTaggingTaggedResourceObjectCloudflaredTunnelJSON `json:"-"`
}
Response for cloudflared_tunnel resources
func (*ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectCloudflaredTunnel) UnmarshalJSON ¶
func (r *ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectCloudflaredTunnel) UnmarshalJSON(data []byte) (err error)
type ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectCloudflaredTunnelType ¶
type ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectCloudflaredTunnelType string
const (
ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectCloudflaredTunnelTypeCloudflaredTunnel ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectCloudflaredTunnelType = "cloudflared_tunnel"
)
type ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectCustomCertificate ¶
type ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectCustomCertificate struct {
// Identifies the unique resource.
ID string `json:"id" api:"required"`
// ETag identifier for optimistic concurrency control. Formatted as "v1:<hash>"
// where the hash is the base64url-encoded SHA-256 (truncated to 128 bits) of the
// tags map canonicalized using RFC 8785 (JSON Canonicalization Scheme). Clients
// should treat ETags as opaque strings and pass them back via the If-Match header
// on write operations.
Etag string `json:"etag" api:"required"`
// Human-readable name of the resource.
Name string `json:"name" api:"required"`
// Contains key-value pairs of tags.
Tags map[string]string `json:"tags" api:"required"`
Type ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectCustomCertificateType `json:"type" api:"required"`
// Zone ID is required only for zone-level resources
ZoneID string `json:"zone_id" api:"required"`
JSON zoneTagUpdateResponseResourceTaggingTaggedResourceObjectCustomCertificateJSON `json:"-"`
}
Response for custom_certificate resources
func (*ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectCustomCertificate) UnmarshalJSON ¶
func (r *ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectCustomCertificate) UnmarshalJSON(data []byte) (err error)
type ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectCustomCertificateType ¶
type ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectCustomCertificateType string
const (
ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectCustomCertificateTypeCustomCertificate ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectCustomCertificateType = "custom_certificate"
)
type ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectCustomHostname ¶
type ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectCustomHostname struct {
// Identifies the unique resource.
ID string `json:"id" api:"required"`
// ETag identifier for optimistic concurrency control. Formatted as "v1:<hash>"
// where the hash is the base64url-encoded SHA-256 (truncated to 128 bits) of the
// tags map canonicalized using RFC 8785 (JSON Canonicalization Scheme). Clients
// should treat ETags as opaque strings and pass them back via the If-Match header
// on write operations.
Etag string `json:"etag" api:"required"`
// Human-readable name of the resource.
Name string `json:"name" api:"required"`
// Contains key-value pairs of tags.
Tags map[string]string `json:"tags" api:"required"`
Type ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectCustomHostnameType `json:"type" api:"required"`
// Zone ID is required only for zone-level resources
ZoneID string `json:"zone_id" api:"required"`
JSON zoneTagUpdateResponseResourceTaggingTaggedResourceObjectCustomHostnameJSON `json:"-"`
}
Response for custom_hostname resources
func (*ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectCustomHostname) UnmarshalJSON ¶
func (r *ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectCustomHostname) UnmarshalJSON(data []byte) (err error)
type ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectCustomHostnameType ¶
type ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectCustomHostnameType string
const (
ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectCustomHostnameTypeCustomHostname ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectCustomHostnameType = "custom_hostname"
)
func (ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectCustomHostnameType) IsKnown ¶
func (r ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectCustomHostnameType) IsKnown() bool
type ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectD1Database ¶
type ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectD1Database struct {
// Identifies the unique resource.
ID string `json:"id" api:"required"`
// ETag identifier for optimistic concurrency control. Formatted as "v1:<hash>"
// where the hash is the base64url-encoded SHA-256 (truncated to 128 bits) of the
// tags map canonicalized using RFC 8785 (JSON Canonicalization Scheme). Clients
// should treat ETags as opaque strings and pass them back via the If-Match header
// on write operations.
Etag string `json:"etag" api:"required"`
// Human-readable name of the resource.
Name string `json:"name" api:"required"`
// Contains key-value pairs of tags.
Tags map[string]string `json:"tags" api:"required"`
Type ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectD1DatabaseType `json:"type" api:"required"`
JSON zoneTagUpdateResponseResourceTaggingTaggedResourceObjectD1DatabaseJSON `json:"-"`
}
Response for d1_database resources
func (*ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectD1Database) UnmarshalJSON ¶
func (r *ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectD1Database) UnmarshalJSON(data []byte) (err error)
type ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectD1DatabaseType ¶
type ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectD1DatabaseType string
const (
ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectD1DatabaseTypeD1Database ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectD1DatabaseType = "d1_database"
)
func (ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectD1DatabaseType) IsKnown ¶
func (r ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectD1DatabaseType) IsKnown() bool
type ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectDNSRecord ¶
type ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectDNSRecord struct {
// Identifies the unique resource.
ID string `json:"id" api:"required"`
// ETag identifier for optimistic concurrency control. Formatted as "v1:<hash>"
// where the hash is the base64url-encoded SHA-256 (truncated to 128 bits) of the
// tags map canonicalized using RFC 8785 (JSON Canonicalization Scheme). Clients
// should treat ETags as opaque strings and pass them back via the If-Match header
// on write operations.
Etag string `json:"etag" api:"required"`
// Human-readable name of the resource.
Name string `json:"name" api:"required"`
// Contains key-value pairs of tags.
Tags map[string]string `json:"tags" api:"required"`
Type ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectDNSRecordType `json:"type" api:"required"`
// Zone ID is required only for zone-level resources
ZoneID string `json:"zone_id" api:"required"`
JSON zoneTagUpdateResponseResourceTaggingTaggedResourceObjectDNSRecordJSON `json:"-"`
}
Response for dns_record resources
func (*ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectDNSRecord) UnmarshalJSON ¶
func (r *ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectDNSRecord) UnmarshalJSON(data []byte) (err error)
type ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectDNSRecordType ¶
type ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectDNSRecordType string
const (
ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectDNSRecordTypeDNSRecord ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectDNSRecordType = "dns_record"
)
func (ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectDNSRecordType) IsKnown ¶
func (r ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectDNSRecordType) IsKnown() bool
type ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectDurableObjectNamespace ¶
type ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectDurableObjectNamespace struct {
// Identifies the unique resource.
ID string `json:"id" api:"required"`
// ETag identifier for optimistic concurrency control. Formatted as "v1:<hash>"
// where the hash is the base64url-encoded SHA-256 (truncated to 128 bits) of the
// tags map canonicalized using RFC 8785 (JSON Canonicalization Scheme). Clients
// should treat ETags as opaque strings and pass them back via the If-Match header
// on write operations.
Etag string `json:"etag" api:"required"`
// Human-readable name of the resource.
Name string `json:"name" api:"required"`
// Contains key-value pairs of tags.
Tags map[string]string `json:"tags" api:"required"`
Type ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectDurableObjectNamespaceType `json:"type" api:"required"`
JSON zoneTagUpdateResponseResourceTaggingTaggedResourceObjectDurableObjectNamespaceJSON `json:"-"`
}
Response for durable_object_namespace resources
func (*ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectDurableObjectNamespace) UnmarshalJSON ¶
func (r *ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectDurableObjectNamespace) UnmarshalJSON(data []byte) (err error)
type ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectDurableObjectNamespaceType ¶
type ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectDurableObjectNamespaceType string
const (
ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectDurableObjectNamespaceTypeDurableObjectNamespace ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectDurableObjectNamespaceType = "durable_object_namespace"
)
type ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectGatewayList ¶
type ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectGatewayList struct {
// Identifies the unique resource.
ID string `json:"id" api:"required"`
// ETag identifier for optimistic concurrency control. Formatted as "v1:<hash>"
// where the hash is the base64url-encoded SHA-256 (truncated to 128 bits) of the
// tags map canonicalized using RFC 8785 (JSON Canonicalization Scheme). Clients
// should treat ETags as opaque strings and pass them back via the If-Match header
// on write operations.
Etag string `json:"etag" api:"required"`
// Human-readable name of the resource.
Name string `json:"name" api:"required"`
// Contains key-value pairs of tags.
Tags map[string]string `json:"tags" api:"required"`
Type ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectGatewayListType `json:"type" api:"required"`
JSON zoneTagUpdateResponseResourceTaggingTaggedResourceObjectGatewayListJSON `json:"-"`
}
Response for gateway_list resources
func (*ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectGatewayList) UnmarshalJSON ¶
func (r *ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectGatewayList) UnmarshalJSON(data []byte) (err error)
type ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectGatewayListType ¶
type ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectGatewayListType string
const (
ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectGatewayListTypeGatewayList ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectGatewayListType = "gateway_list"
)
func (ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectGatewayListType) IsKnown ¶
func (r ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectGatewayListType) IsKnown() bool
type ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectGatewayRule ¶
type ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectGatewayRule struct {
// Identifies the unique resource.
ID string `json:"id" api:"required"`
// ETag identifier for optimistic concurrency control. Formatted as "v1:<hash>"
// where the hash is the base64url-encoded SHA-256 (truncated to 128 bits) of the
// tags map canonicalized using RFC 8785 (JSON Canonicalization Scheme). Clients
// should treat ETags as opaque strings and pass them back via the If-Match header
// on write operations.
Etag string `json:"etag" api:"required"`
// Human-readable name of the resource.
Name string `json:"name" api:"required"`
// Contains key-value pairs of tags.
Tags map[string]string `json:"tags" api:"required"`
Type ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectGatewayRuleType `json:"type" api:"required"`
JSON zoneTagUpdateResponseResourceTaggingTaggedResourceObjectGatewayRuleJSON `json:"-"`
}
Response for gateway_rule resources
func (*ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectGatewayRule) UnmarshalJSON ¶
func (r *ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectGatewayRule) UnmarshalJSON(data []byte) (err error)
type ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectGatewayRuleType ¶
type ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectGatewayRuleType string
const (
ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectGatewayRuleTypeGatewayRule ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectGatewayRuleType = "gateway_rule"
)
func (ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectGatewayRuleType) IsKnown ¶
func (r ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectGatewayRuleType) IsKnown() bool
type ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectImage ¶
type ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectImage struct {
// Identifies the unique resource.
ID string `json:"id" api:"required"`
// ETag identifier for optimistic concurrency control. Formatted as "v1:<hash>"
// where the hash is the base64url-encoded SHA-256 (truncated to 128 bits) of the
// tags map canonicalized using RFC 8785 (JSON Canonicalization Scheme). Clients
// should treat ETags as opaque strings and pass them back via the If-Match header
// on write operations.
Etag string `json:"etag" api:"required"`
// Human-readable name of the resource.
Name string `json:"name" api:"required"`
// Contains key-value pairs of tags.
Tags map[string]string `json:"tags" api:"required"`
Type ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectImageType `json:"type" api:"required"`
JSON zoneTagUpdateResponseResourceTaggingTaggedResourceObjectImageJSON `json:"-"`
}
Response for image resources
func (*ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectImage) UnmarshalJSON ¶
func (r *ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectImage) UnmarshalJSON(data []byte) (err error)
type ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectImageType ¶
type ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectImageType string
const (
ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectImageTypeImage ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectImageType = "image"
)
func (ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectImageType) IsKnown ¶
func (r ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectImageType) IsKnown() bool
type ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectKVNamespace ¶
type ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectKVNamespace struct {
// Identifies the unique resource.
ID string `json:"id" api:"required"`
// ETag identifier for optimistic concurrency control. Formatted as "v1:<hash>"
// where the hash is the base64url-encoded SHA-256 (truncated to 128 bits) of the
// tags map canonicalized using RFC 8785 (JSON Canonicalization Scheme). Clients
// should treat ETags as opaque strings and pass them back via the If-Match header
// on write operations.
Etag string `json:"etag" api:"required"`
// Human-readable name of the resource.
Name string `json:"name" api:"required"`
// Contains key-value pairs of tags.
Tags map[string]string `json:"tags" api:"required"`
Type ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectKVNamespaceType `json:"type" api:"required"`
JSON zoneTagUpdateResponseResourceTaggingTaggedResourceObjectKVNamespaceJSON `json:"-"`
}
Response for kv_namespace resources
func (*ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectKVNamespace) UnmarshalJSON ¶
func (r *ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectKVNamespace) UnmarshalJSON(data []byte) (err error)
type ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectKVNamespaceType ¶
type ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectKVNamespaceType string
const (
ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectKVNamespaceTypeKVNamespace ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectKVNamespaceType = "kv_namespace"
)
func (ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectKVNamespaceType) IsKnown ¶
func (r ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectKVNamespaceType) IsKnown() bool
type ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectManagedClientCertificate ¶
type ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectManagedClientCertificate struct {
// Identifies the unique resource.
ID string `json:"id" api:"required"`
// ETag identifier for optimistic concurrency control. Formatted as "v1:<hash>"
// where the hash is the base64url-encoded SHA-256 (truncated to 128 bits) of the
// tags map canonicalized using RFC 8785 (JSON Canonicalization Scheme). Clients
// should treat ETags as opaque strings and pass them back via the If-Match header
// on write operations.
Etag string `json:"etag" api:"required"`
// Human-readable name of the resource.
Name string `json:"name" api:"required"`
// Contains key-value pairs of tags.
Tags map[string]string `json:"tags" api:"required"`
Type ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectManagedClientCertificateType `json:"type" api:"required"`
// Zone ID is required only for zone-level resources
ZoneID string `json:"zone_id" api:"required"`
JSON zoneTagUpdateResponseResourceTaggingTaggedResourceObjectManagedClientCertificateJSON `json:"-"`
}
Response for managed_client_certificate resources
func (*ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectManagedClientCertificate) UnmarshalJSON ¶
func (r *ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectManagedClientCertificate) UnmarshalJSON(data []byte) (err error)
type ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectManagedClientCertificateType ¶
type ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectManagedClientCertificateType string
const (
ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectManagedClientCertificateTypeManagedClientCertificate ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectManagedClientCertificateType = "managed_client_certificate"
)
type ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectQueue ¶
type ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectQueue struct {
// Identifies the unique resource.
ID string `json:"id" api:"required"`
// ETag identifier for optimistic concurrency control. Formatted as "v1:<hash>"
// where the hash is the base64url-encoded SHA-256 (truncated to 128 bits) of the
// tags map canonicalized using RFC 8785 (JSON Canonicalization Scheme). Clients
// should treat ETags as opaque strings and pass them back via the If-Match header
// on write operations.
Etag string `json:"etag" api:"required"`
// Human-readable name of the resource.
Name string `json:"name" api:"required"`
// Contains key-value pairs of tags.
Tags map[string]string `json:"tags" api:"required"`
Type ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectQueueType `json:"type" api:"required"`
JSON zoneTagUpdateResponseResourceTaggingTaggedResourceObjectQueueJSON `json:"-"`
}
Response for queue resources
func (*ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectQueue) UnmarshalJSON ¶
func (r *ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectQueue) UnmarshalJSON(data []byte) (err error)
type ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectQueueType ¶
type ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectQueueType string
const (
ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectQueueTypeQueue ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectQueueType = "queue"
)
func (ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectQueueType) IsKnown ¶
func (r ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectQueueType) IsKnown() bool
type ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectR2Bucket ¶
type ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectR2Bucket struct {
// Identifies the unique resource.
ID string `json:"id" api:"required"`
// ETag identifier for optimistic concurrency control. Formatted as "v1:<hash>"
// where the hash is the base64url-encoded SHA-256 (truncated to 128 bits) of the
// tags map canonicalized using RFC 8785 (JSON Canonicalization Scheme). Clients
// should treat ETags as opaque strings and pass them back via the If-Match header
// on write operations.
Etag string `json:"etag" api:"required"`
// Human-readable name of the resource.
Name string `json:"name" api:"required"`
// Contains key-value pairs of tags.
Tags map[string]string `json:"tags" api:"required"`
Type ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectR2BucketType `json:"type" api:"required"`
JSON zoneTagUpdateResponseResourceTaggingTaggedResourceObjectR2BucketJSON `json:"-"`
}
Response for r2_bucket resources
func (*ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectR2Bucket) UnmarshalJSON ¶
func (r *ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectR2Bucket) UnmarshalJSON(data []byte) (err error)
type ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectR2BucketType ¶
type ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectR2BucketType string
const (
ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectR2BucketTypeR2Bucket ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectR2BucketType = "r2_bucket"
)
func (ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectR2BucketType) IsKnown ¶
func (r ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectR2BucketType) IsKnown() bool
type ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectResourceShare ¶
type ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectResourceShare struct {
ID string `json:"id" api:"required"`
// where the hash is the base64url-encoded SHA-256 (truncated to 128 bits) of the
// tags map canonicalized using RFC 8785 (JSON Canonicalization Scheme). Clients
// should treat ETags as opaque strings and pass them back via the If-Match header
// on write operations.
Etag string `json:"etag" api:"required"`
Name string `json:"name" api:"required"`
// Contains key-value pairs of tags.
}
Response for resource_share resources
func (*ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectResourceShare) UnmarshalJSON ¶
func (r *ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectResourceShare) UnmarshalJSON(data []byte) (err error)
type ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectResourceShareType ¶
type ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectResourceShareType string
const (
)
func (ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectResourceShareType) IsKnown ¶
func (r ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectResourceShareType) IsKnown() bool
type ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectStreamLiveInput ¶
type ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectStreamLiveInput struct {
// Identifies the unique resource.
ID string `json:"id" api:"required"`
// ETag identifier for optimistic concurrency control. Formatted as "v1:<hash>"
// where the hash is the base64url-encoded SHA-256 (truncated to 128 bits) of the
// tags map canonicalized using RFC 8785 (JSON Canonicalization Scheme). Clients
// should treat ETags as opaque strings and pass them back via the If-Match header
// on write operations.
Etag string `json:"etag" api:"required"`
// Human-readable name of the resource.
Name string `json:"name" api:"required"`
// Contains key-value pairs of tags.
Tags map[string]string `json:"tags" api:"required"`
Type ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectStreamLiveInputType `json:"type" api:"required"`
JSON zoneTagUpdateResponseResourceTaggingTaggedResourceObjectStreamLiveInputJSON `json:"-"`
}
Response for stream_live_input resources
func (*ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectStreamLiveInput) UnmarshalJSON ¶
func (r *ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectStreamLiveInput) UnmarshalJSON(data []byte) (err error)
type ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectStreamLiveInputType ¶
type ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectStreamLiveInputType string
const (
ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectStreamLiveInputTypeStreamLiveInput ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectStreamLiveInputType = "stream_live_input"
)
func (ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectStreamLiveInputType) IsKnown ¶
func (r ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectStreamLiveInputType) IsKnown() bool
type ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectStreamVideo ¶
type ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectStreamVideo struct {
// Identifies the unique resource.
ID string `json:"id" api:"required"`
// ETag identifier for optimistic concurrency control. Formatted as "v1:<hash>"
// where the hash is the base64url-encoded SHA-256 (truncated to 128 bits) of the
// tags map canonicalized using RFC 8785 (JSON Canonicalization Scheme). Clients
// should treat ETags as opaque strings and pass them back via the If-Match header
// on write operations.
Etag string `json:"etag" api:"required"`
// Human-readable name of the resource.
Name string `json:"name" api:"required"`
// Contains key-value pairs of tags.
Tags map[string]string `json:"tags" api:"required"`
Type ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectStreamVideoType `json:"type" api:"required"`
JSON zoneTagUpdateResponseResourceTaggingTaggedResourceObjectStreamVideoJSON `json:"-"`
}
Response for stream_video resources
func (*ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectStreamVideo) UnmarshalJSON ¶
func (r *ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectStreamVideo) UnmarshalJSON(data []byte) (err error)
type ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectStreamVideoType ¶
type ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectStreamVideoType string
const (
ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectStreamVideoTypeStreamVideo ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectStreamVideoType = "stream_video"
)
func (ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectStreamVideoType) IsKnown ¶
func (r ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectStreamVideoType) IsKnown() bool
type ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectWorker ¶
type ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectWorker struct {
// Identifies the unique resource.
ID string `json:"id" api:"required"`
// ETag identifier for optimistic concurrency control. Formatted as "v1:<hash>"
// where the hash is the base64url-encoded SHA-256 (truncated to 128 bits) of the
// tags map canonicalized using RFC 8785 (JSON Canonicalization Scheme). Clients
// should treat ETags as opaque strings and pass them back via the If-Match header
// on write operations.
Etag string `json:"etag" api:"required"`
// Human-readable name of the resource.
Name string `json:"name" api:"required"`
// Contains key-value pairs of tags.
Tags map[string]string `json:"tags" api:"required"`
Type ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectWorkerType `json:"type" api:"required"`
JSON zoneTagUpdateResponseResourceTaggingTaggedResourceObjectWorkerJSON `json:"-"`
}
Response for worker resources
func (*ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectWorker) UnmarshalJSON ¶
func (r *ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectWorker) UnmarshalJSON(data []byte) (err error)
type ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectWorkerType ¶
type ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectWorkerType string
const (
ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectWorkerTypeWorker ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectWorkerType = "worker"
)
func (ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectWorkerType) IsKnown ¶
func (r ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectWorkerType) IsKnown() bool
type ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectWorkerVersion ¶
type ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectWorkerVersion struct {
// Identifies the unique resource.
ID string `json:"id" api:"required"`
// ETag identifier for optimistic concurrency control. Formatted as "v1:<hash>"
// where the hash is the base64url-encoded SHA-256 (truncated to 128 bits) of the
// tags map canonicalized using RFC 8785 (JSON Canonicalization Scheme). Clients
// should treat ETags as opaque strings and pass them back via the If-Match header
// on write operations.
Etag string `json:"etag" api:"required"`
// Human-readable name of the resource.
Name string `json:"name" api:"required"`
// Contains key-value pairs of tags.
Tags map[string]string `json:"tags" api:"required"`
Type ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectWorkerVersionType `json:"type" api:"required"`
// Worker ID is required only for worker_version resources
WorkerID string `json:"worker_id" api:"required"`
JSON zoneTagUpdateResponseResourceTaggingTaggedResourceObjectWorkerVersionJSON `json:"-"`
}
Response for worker_version resources
func (*ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectWorkerVersion) UnmarshalJSON ¶
func (r *ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectWorkerVersion) UnmarshalJSON(data []byte) (err error)
type ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectWorkerVersionType ¶
type ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectWorkerVersionType string
const (
ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectWorkerVersionTypeWorkerVersion ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectWorkerVersionType = "worker_version"
)
func (ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectWorkerVersionType) IsKnown ¶
func (r ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectWorkerVersionType) IsKnown() bool
type ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectZone ¶
type ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectZone struct {
// Identifies the unique resource.
ID string `json:"id" api:"required"`
// ETag identifier for optimistic concurrency control. Formatted as "v1:<hash>"
// where the hash is the base64url-encoded SHA-256 (truncated to 128 bits) of the
// tags map canonicalized using RFC 8785 (JSON Canonicalization Scheme). Clients
// should treat ETags as opaque strings and pass them back via the If-Match header
// on write operations.
Etag string `json:"etag" api:"required"`
// Human-readable name of the resource.
Name string `json:"name" api:"required"`
// Contains key-value pairs of tags.
Tags map[string]string `json:"tags" api:"required"`
Type ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectZoneType `json:"type" api:"required"`
// Zone ID is required only for zone-level resources
ZoneID string `json:"zone_id" api:"required"`
JSON zoneTagUpdateResponseResourceTaggingTaggedResourceObjectZoneJSON `json:"-"`
}
Response for zone resources
func (*ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectZone) UnmarshalJSON ¶
func (r *ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectZone) UnmarshalJSON(data []byte) (err error)
type ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectZoneType ¶
type ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectZoneType string
const (
ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectZoneTypeZone ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectZoneType = "zone"
)
func (ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectZoneType) IsKnown ¶
func (r ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectZoneType) IsKnown() bool
type ZoneTagUpdateResponseType ¶
type ZoneTagUpdateResponseType string
const ( ZoneTagUpdateResponseTypeAccessApplication ZoneTagUpdateResponseType = "access_application" ZoneTagUpdateResponseTypeAccessApplicationPolicy ZoneTagUpdateResponseType = "access_application_policy" ZoneTagUpdateResponseTypeAccessGroup ZoneTagUpdateResponseType = "access_group" ZoneTagUpdateResponseTypeAccount ZoneTagUpdateResponseType = "account" ZoneTagUpdateResponseTypeAIGateway ZoneTagUpdateResponseType = "ai_gateway" ZoneTagUpdateResponseTypeAlertingPolicy ZoneTagUpdateResponseType = "alerting_policy" ZoneTagUpdateResponseTypeAlertingWebhook ZoneTagUpdateResponseType = "alerting_webhook" ZoneTagUpdateResponseTypeAPIGatewayOperation ZoneTagUpdateResponseType = "api_gateway_operation" ZoneTagUpdateResponseTypeCloudflaredTunnel ZoneTagUpdateResponseType = "cloudflared_tunnel" ZoneTagUpdateResponseTypeCustomCertificate ZoneTagUpdateResponseType = "custom_certificate" ZoneTagUpdateResponseTypeCustomHostname ZoneTagUpdateResponseType = "custom_hostname" ZoneTagUpdateResponseTypeD1Database ZoneTagUpdateResponseType = "d1_database" ZoneTagUpdateResponseTypeDNSRecord ZoneTagUpdateResponseType = "dns_record" ZoneTagUpdateResponseTypeDurableObjectNamespace ZoneTagUpdateResponseType = "durable_object_namespace" ZoneTagUpdateResponseTypeGatewayList ZoneTagUpdateResponseType = "gateway_list" ZoneTagUpdateResponseTypeGatewayRule ZoneTagUpdateResponseType = "gateway_rule" ZoneTagUpdateResponseTypeImage ZoneTagUpdateResponseType = "image" ZoneTagUpdateResponseTypeKVNamespace ZoneTagUpdateResponseType = "kv_namespace" ZoneTagUpdateResponseTypeManagedClientCertificate ZoneTagUpdateResponseType = "managed_client_certificate" ZoneTagUpdateResponseTypeQueue ZoneTagUpdateResponseType = "queue" ZoneTagUpdateResponseTypeR2Bucket ZoneTagUpdateResponseType = "r2_bucket" ZoneTagUpdateResponseTypeStreamLiveInput ZoneTagUpdateResponseType = "stream_live_input" ZoneTagUpdateResponseTypeStreamVideo ZoneTagUpdateResponseType = "stream_video" ZoneTagUpdateResponseTypeWorker ZoneTagUpdateResponseType = "worker" ZoneTagUpdateResponseTypeWorkerVersion ZoneTagUpdateResponseType = "worker_version" ZoneTagUpdateResponseTypeZone ZoneTagUpdateResponseType = "zone" )
func (ZoneTagUpdateResponseType) IsKnown ¶
func (r ZoneTagUpdateResponseType) IsKnown() bool
type ZoneTagUpdateResponseUnion ¶
type ZoneTagUpdateResponseUnion interface {
// contains filtered or unexported methods
}
Response for access_application resources
Union satisfied by ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectAccessApplication, ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectAccessApplicationPolicy, ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectAccessGroup, ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectAccount, ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectAIGateway, ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectAlertingPolicy, ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectAlertingWebhook, ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectAPIGatewayOperation, ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectCloudflaredTunnel, ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectCustomCertificate, ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectCustomHostname, ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectD1Database, ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectDNSRecord, ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectDurableObjectNamespace, ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectGatewayList, ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectGatewayRule, ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectImage, ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectKVNamespace, ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectManagedClientCertificate, ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectQueue, ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectR2Bucket, ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectResourceShare, ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectStreamLiveInput, ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectStreamVideo, ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectWorker, ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectWorkerVersion or ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectZone.