resource_tagging

package
v6.10.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 23, 2026 License: Apache-2.0 Imports: 16 Imported by: 0

Documentation

Index

Constants

View Source
const AuditLogActorTypeAdmin = shared.AuditLogActorTypeAdmin

This is an alias to an internal value.

View Source
const AuditLogActorTypeCloudflare = shared.AuditLogActorTypeCloudflare

This is an alias to an internal value.

View Source
const AuditLogActorTypeUser = shared.AuditLogActorTypeUser

This is an alias to an internal value.

View Source
const CertificateCADigicert = shared.CertificateCADigicert

This is an alias to an internal value.

View Source
const CertificateCAGoogle = shared.CertificateCAGoogle

This is an alias to an internal value.

View Source
const CertificateCALetsEncrypt = shared.CertificateCALetsEncrypt

This is an alias to an internal value.

View Source
const CertificateCASSLCom = shared.CertificateCASSLCom

This is an alias to an internal value.

View Source
const CertificateRequestTypeKeylessCertificate = shared.CertificateRequestTypeKeylessCertificate

This is an alias to an internal value.

View Source
const CertificateRequestTypeOriginECC = shared.CertificateRequestTypeOriginECC

This is an alias to an internal value.

View Source
const CertificateRequestTypeOriginRSA = shared.CertificateRequestTypeOriginRSA

This is an alias to an internal value.

View Source
const CloudflareTunnelConfigSrcCloudflare = shared.CloudflareTunnelConfigSrcCloudflare

This is an alias to an internal value.

View Source
const CloudflareTunnelConfigSrcLocal = shared.CloudflareTunnelConfigSrcLocal

This is an alias to an internal value.

View Source
const CloudflareTunnelStatusDegraded = shared.CloudflareTunnelStatusDegraded

This is an alias to an internal value.

View Source
const CloudflareTunnelStatusDown = shared.CloudflareTunnelStatusDown

This is an alias to an internal value.

View Source
const CloudflareTunnelStatusHealthy = shared.CloudflareTunnelStatusHealthy

This is an alias to an internal value.

View Source
const CloudflareTunnelStatusInactive = shared.CloudflareTunnelStatusInactive

This is an alias to an internal value.

View Source
const CloudflareTunnelTunTypeCNI = shared.CloudflareTunnelTunTypeCNI

This is an alias to an internal value.

View Source
const CloudflareTunnelTunTypeCfdTunnel = shared.CloudflareTunnelTunTypeCfdTunnel

This is an alias to an internal value.

View Source
const CloudflareTunnelTunTypeGRE = shared.CloudflareTunnelTunTypeGRE

This is an alias to an internal value.

View Source
const CloudflareTunnelTunTypeIPSec = shared.CloudflareTunnelTunTypeIPSec

This is an alias to an internal value.

View Source
const CloudflareTunnelTunTypeMagic = shared.CloudflareTunnelTunTypeMagic

This is an alias to an internal value.

View Source
const CloudflareTunnelTunTypeWARP = shared.CloudflareTunnelTunTypeWARP

This is an alias to an internal value.

View Source
const CloudflareTunnelTunTypeWARPConnector = shared.CloudflareTunnelTunTypeWARPConnector

This is an alias to an internal value.

View Source
const MemberPoliciesAccessAllow = shared.MemberPoliciesAccessAllow

This is an alias to an internal value.

View Source
const MemberPoliciesAccessDeny = shared.MemberPoliciesAccessDeny

This is an alias to an internal value.

View Source
const MemberStatusAccepted = shared.MemberStatusAccepted

This is an alias to an internal value.

View Source
const MemberStatusPending = shared.MemberStatusPending

This is an alias to an internal value.

View Source
const RatePlanIDBusiness = shared.RatePlanIDBusiness

This is an alias to an internal value.

View Source
const RatePlanIDEnterprise = shared.RatePlanIDEnterprise

This is an alias to an internal value.

View Source
const RatePlanIDFree = shared.RatePlanIDFree

This is an alias to an internal value.

View Source
const RatePlanIDLite = shared.RatePlanIDLite

This is an alias to an internal value.

View Source
const RatePlanIDPartnersBusiness = shared.RatePlanIDPartnersBusiness

This is an alias to an internal value.

View Source
const RatePlanIDPartnersEnterprise = shared.RatePlanIDPartnersEnterprise

This is an alias to an internal value.

View Source
const RatePlanIDPartnersFree = shared.RatePlanIDPartnersFree

This is an alias to an internal value.

View Source
const RatePlanIDPartnersPro = shared.RatePlanIDPartnersPro

This is an alias to an internal value.

View Source
const RatePlanIDPro = shared.RatePlanIDPro

This is an alias to an internal value.

View Source
const RatePlanIDProPlus = shared.RatePlanIDProPlus

This is an alias to an internal value.

View Source
const SortDirectionAsc = shared.SortDirectionAsc

This is an alias to an internal value.

View Source
const SortDirectionDesc = shared.SortDirectionDesc

This is an alias to an internal value.

View Source
const SubscriptionFrequencyMonthly = shared.SubscriptionFrequencyMonthly

This is an alias to an internal value.

View Source
const SubscriptionFrequencyQuarterly = shared.SubscriptionFrequencyQuarterly

This is an alias to an internal value.

View Source
const SubscriptionFrequencyWeekly = shared.SubscriptionFrequencyWeekly

This is an alias to an internal value.

View Source
const SubscriptionFrequencyYearly = shared.SubscriptionFrequencyYearly

This is an alias to an internal value.

View Source
const SubscriptionStateAwaitingPayment = shared.SubscriptionStateAwaitingPayment

This is an alias to an internal value.

View Source
const SubscriptionStateCancelled = shared.SubscriptionStateCancelled

This is an alias to an internal value.

View Source
const SubscriptionStateExpired = shared.SubscriptionStateExpired

This is an alias to an internal value.

View Source
const SubscriptionStateFailed = shared.SubscriptionStateFailed

This is an alias to an internal value.

View Source
const SubscriptionStatePaid = shared.SubscriptionStatePaid

This is an alias to an internal value.

View Source
const SubscriptionStateProvisioned = shared.SubscriptionStateProvisioned

This is an alias to an internal value.

View Source
const SubscriptionStateTrial = shared.SubscriptionStateTrial

This is an alias to an internal value.

View Source
const TokenPolicyEffectAllow = shared.TokenPolicyEffectAllow

This is an alias to an internal value.

View Source
const TokenPolicyEffectDeny = shared.TokenPolicyEffectDeny

This is an alias to an internal value.

View Source
const TokenStatusActive = shared.TokenStatusActive

This is an alias to an internal value.

View Source
const TokenStatusDisabled = shared.TokenStatusDisabled

This is an alias to an internal value.

View Source
const TokenStatusExpired = shared.TokenStatusExpired

This is an alias to an internal value.

Variables

This section is empty.

Functions

This section is empty.

Types

type ASN

type ASN = shared.ASN

This is an alias to an internal type.

type ASNParam

type ASNParam = shared.ASNParam

This is an alias to an internal type.

type AccountTagDeleteParams

type AccountTagDeleteParams struct {
	// Identifier.
	AccountID param.Field[string] `path:"account_id" api:"required"`
	IfMatch   param.Field[string] `header:"If-Match"`
}

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"
	AccountTagGetParamsResourceTypeResourceShare          AccountTagGetParamsResourceType = "resource_share"
	AccountTagGetParamsResourceTypeStreamLiveInput        AccountTagGetParamsResourceType = "stream_live_input"
	AccountTagGetParamsResourceTypeStreamVideo            AccountTagGetParamsResourceType = "stream_video"
	AccountTagGetParamsResourceTypeWorker                 AccountTagGetParamsResourceType = "worker"
	AccountTagGetParamsResourceTypeWorkerVersion          AccountTagGetParamsResourceType = "worker_version"
)

func (AccountTagGetParamsResourceType) IsKnown

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

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

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

type AccountTagGetResponseResourceTaggingTaggedResourceObjectAIGatewayType

type AccountTagGetResponseResourceTaggingTaggedResourceObjectAIGatewayType string
const (
	AccountTagGetResponseResourceTaggingTaggedResourceObjectAIGatewayTypeAIGateway AccountTagGetResponseResourceTaggingTaggedResourceObjectAIGatewayType = "ai_gateway"
)

func (AccountTagGetResponseResourceTaggingTaggedResourceObjectAIGatewayType) IsKnown

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

type AccountTagGetResponseResourceTaggingTaggedResourceObjectAPIGatewayOperationType

type AccountTagGetResponseResourceTaggingTaggedResourceObjectAPIGatewayOperationType string
const (
	AccountTagGetResponseResourceTaggingTaggedResourceObjectAPIGatewayOperationTypeAPIGatewayOperation AccountTagGetResponseResourceTaggingTaggedResourceObjectAPIGatewayOperationType = "api_gateway_operation"
)

func (AccountTagGetResponseResourceTaggingTaggedResourceObjectAPIGatewayOperationType) IsKnown

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

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

type AccountTagGetResponseResourceTaggingTaggedResourceObjectAccessApplicationPolicyType

type AccountTagGetResponseResourceTaggingTaggedResourceObjectAccessApplicationPolicyType string
const (
	AccountTagGetResponseResourceTaggingTaggedResourceObjectAccessApplicationPolicyTypeAccessApplicationPolicy AccountTagGetResponseResourceTaggingTaggedResourceObjectAccessApplicationPolicyType = "access_application_policy"
)

func (AccountTagGetResponseResourceTaggingTaggedResourceObjectAccessApplicationPolicyType) IsKnown

type AccountTagGetResponseResourceTaggingTaggedResourceObjectAccessApplicationType

type AccountTagGetResponseResourceTaggingTaggedResourceObjectAccessApplicationType string
const (
	AccountTagGetResponseResourceTaggingTaggedResourceObjectAccessApplicationTypeAccessApplication AccountTagGetResponseResourceTaggingTaggedResourceObjectAccessApplicationType = "access_application"
)

func (AccountTagGetResponseResourceTaggingTaggedResourceObjectAccessApplicationType) IsKnown

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

type AccountTagGetResponseResourceTaggingTaggedResourceObjectAccessGroupType

type AccountTagGetResponseResourceTaggingTaggedResourceObjectAccessGroupType string
const (
	AccountTagGetResponseResourceTaggingTaggedResourceObjectAccessGroupTypeAccessGroup AccountTagGetResponseResourceTaggingTaggedResourceObjectAccessGroupType = "access_group"
)

func (AccountTagGetResponseResourceTaggingTaggedResourceObjectAccessGroupType) IsKnown

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

type AccountTagGetResponseResourceTaggingTaggedResourceObjectAccountType

type AccountTagGetResponseResourceTaggingTaggedResourceObjectAccountType string
const (
	AccountTagGetResponseResourceTaggingTaggedResourceObjectAccountTypeAccount AccountTagGetResponseResourceTaggingTaggedResourceObjectAccountType = "account"
)

func (AccountTagGetResponseResourceTaggingTaggedResourceObjectAccountType) IsKnown

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

type AccountTagGetResponseResourceTaggingTaggedResourceObjectAlertingPolicyType

type AccountTagGetResponseResourceTaggingTaggedResourceObjectAlertingPolicyType string
const (
	AccountTagGetResponseResourceTaggingTaggedResourceObjectAlertingPolicyTypeAlertingPolicy AccountTagGetResponseResourceTaggingTaggedResourceObjectAlertingPolicyType = "alerting_policy"
)

func (AccountTagGetResponseResourceTaggingTaggedResourceObjectAlertingPolicyType) IsKnown

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

type AccountTagGetResponseResourceTaggingTaggedResourceObjectAlertingWebhookType

type AccountTagGetResponseResourceTaggingTaggedResourceObjectAlertingWebhookType string
const (
	AccountTagGetResponseResourceTaggingTaggedResourceObjectAlertingWebhookTypeAlertingWebhook AccountTagGetResponseResourceTaggingTaggedResourceObjectAlertingWebhookType = "alerting_webhook"
)

func (AccountTagGetResponseResourceTaggingTaggedResourceObjectAlertingWebhookType) IsKnown

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

type AccountTagGetResponseResourceTaggingTaggedResourceObjectCloudflaredTunnelType

type AccountTagGetResponseResourceTaggingTaggedResourceObjectCloudflaredTunnelType string
const (
	AccountTagGetResponseResourceTaggingTaggedResourceObjectCloudflaredTunnelTypeCloudflaredTunnel AccountTagGetResponseResourceTaggingTaggedResourceObjectCloudflaredTunnelType = "cloudflared_tunnel"
)

func (AccountTagGetResponseResourceTaggingTaggedResourceObjectCloudflaredTunnelType) IsKnown

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

type AccountTagGetResponseResourceTaggingTaggedResourceObjectCustomCertificateType

type AccountTagGetResponseResourceTaggingTaggedResourceObjectCustomCertificateType string
const (
	AccountTagGetResponseResourceTaggingTaggedResourceObjectCustomCertificateTypeCustomCertificate AccountTagGetResponseResourceTaggingTaggedResourceObjectCustomCertificateType = "custom_certificate"
)

func (AccountTagGetResponseResourceTaggingTaggedResourceObjectCustomCertificateType) IsKnown

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

type AccountTagGetResponseResourceTaggingTaggedResourceObjectCustomHostnameType

type AccountTagGetResponseResourceTaggingTaggedResourceObjectCustomHostnameType string
const (
	AccountTagGetResponseResourceTaggingTaggedResourceObjectCustomHostnameTypeCustomHostname AccountTagGetResponseResourceTaggingTaggedResourceObjectCustomHostnameType = "custom_hostname"
)

func (AccountTagGetResponseResourceTaggingTaggedResourceObjectCustomHostnameType) IsKnown

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

type AccountTagGetResponseResourceTaggingTaggedResourceObjectD1DatabaseType

type AccountTagGetResponseResourceTaggingTaggedResourceObjectD1DatabaseType string
const (
	AccountTagGetResponseResourceTaggingTaggedResourceObjectD1DatabaseTypeD1Database AccountTagGetResponseResourceTaggingTaggedResourceObjectD1DatabaseType = "d1_database"
)

func (AccountTagGetResponseResourceTaggingTaggedResourceObjectD1DatabaseType) IsKnown

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

type AccountTagGetResponseResourceTaggingTaggedResourceObjectDNSRecordType

type AccountTagGetResponseResourceTaggingTaggedResourceObjectDNSRecordType string
const (
	AccountTagGetResponseResourceTaggingTaggedResourceObjectDNSRecordTypeDNSRecord AccountTagGetResponseResourceTaggingTaggedResourceObjectDNSRecordType = "dns_record"
)

func (AccountTagGetResponseResourceTaggingTaggedResourceObjectDNSRecordType) IsKnown

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

type AccountTagGetResponseResourceTaggingTaggedResourceObjectDurableObjectNamespaceType

type AccountTagGetResponseResourceTaggingTaggedResourceObjectDurableObjectNamespaceType string
const (
	AccountTagGetResponseResourceTaggingTaggedResourceObjectDurableObjectNamespaceTypeDurableObjectNamespace AccountTagGetResponseResourceTaggingTaggedResourceObjectDurableObjectNamespaceType = "durable_object_namespace"
)

func (AccountTagGetResponseResourceTaggingTaggedResourceObjectDurableObjectNamespaceType) IsKnown

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

type AccountTagGetResponseResourceTaggingTaggedResourceObjectGatewayListType

type AccountTagGetResponseResourceTaggingTaggedResourceObjectGatewayListType string
const (
	AccountTagGetResponseResourceTaggingTaggedResourceObjectGatewayListTypeGatewayList AccountTagGetResponseResourceTaggingTaggedResourceObjectGatewayListType = "gateway_list"
)

func (AccountTagGetResponseResourceTaggingTaggedResourceObjectGatewayListType) IsKnown

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

type AccountTagGetResponseResourceTaggingTaggedResourceObjectGatewayRuleType

type AccountTagGetResponseResourceTaggingTaggedResourceObjectGatewayRuleType string
const (
	AccountTagGetResponseResourceTaggingTaggedResourceObjectGatewayRuleTypeGatewayRule AccountTagGetResponseResourceTaggingTaggedResourceObjectGatewayRuleType = "gateway_rule"
)

func (AccountTagGetResponseResourceTaggingTaggedResourceObjectGatewayRuleType) IsKnown

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

type AccountTagGetResponseResourceTaggingTaggedResourceObjectImageType

type AccountTagGetResponseResourceTaggingTaggedResourceObjectImageType string
const (
	AccountTagGetResponseResourceTaggingTaggedResourceObjectImageTypeImage AccountTagGetResponseResourceTaggingTaggedResourceObjectImageType = "image"
)

func (AccountTagGetResponseResourceTaggingTaggedResourceObjectImageType) IsKnown

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

type AccountTagGetResponseResourceTaggingTaggedResourceObjectKVNamespaceType

type AccountTagGetResponseResourceTaggingTaggedResourceObjectKVNamespaceType string
const (
	AccountTagGetResponseResourceTaggingTaggedResourceObjectKVNamespaceTypeKVNamespace AccountTagGetResponseResourceTaggingTaggedResourceObjectKVNamespaceType = "kv_namespace"
)

func (AccountTagGetResponseResourceTaggingTaggedResourceObjectKVNamespaceType) IsKnown

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

type AccountTagGetResponseResourceTaggingTaggedResourceObjectManagedClientCertificateType

type AccountTagGetResponseResourceTaggingTaggedResourceObjectManagedClientCertificateType string
const (
	AccountTagGetResponseResourceTaggingTaggedResourceObjectManagedClientCertificateTypeManagedClientCertificate AccountTagGetResponseResourceTaggingTaggedResourceObjectManagedClientCertificateType = "managed_client_certificate"
)

func (AccountTagGetResponseResourceTaggingTaggedResourceObjectManagedClientCertificateType) IsKnown

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

type AccountTagGetResponseResourceTaggingTaggedResourceObjectQueueType

type AccountTagGetResponseResourceTaggingTaggedResourceObjectQueueType string
const (
	AccountTagGetResponseResourceTaggingTaggedResourceObjectQueueTypeQueue AccountTagGetResponseResourceTaggingTaggedResourceObjectQueueType = "queue"
)

func (AccountTagGetResponseResourceTaggingTaggedResourceObjectQueueType) IsKnown

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

type AccountTagGetResponseResourceTaggingTaggedResourceObjectR2BucketType

type AccountTagGetResponseResourceTaggingTaggedResourceObjectR2BucketType string
const (
	AccountTagGetResponseResourceTaggingTaggedResourceObjectR2BucketTypeR2Bucket AccountTagGetResponseResourceTaggingTaggedResourceObjectR2BucketType = "r2_bucket"
)

func (AccountTagGetResponseResourceTaggingTaggedResourceObjectR2BucketType) IsKnown

type AccountTagGetResponseResourceTaggingTaggedResourceObjectResourceShare

type AccountTagGetResponseResourceTaggingTaggedResourceObjectResourceShare 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 AccountTagGetResponseResourceTaggingTaggedResourceObjectResourceShareType `json:"type" api:"required"`
	JSON accountTagGetResponseResourceTaggingTaggedResourceObjectResourceShareJSON `json:"-"`
}

Response for resource_share resources

func (*AccountTagGetResponseResourceTaggingTaggedResourceObjectResourceShare) UnmarshalJSON

type AccountTagGetResponseResourceTaggingTaggedResourceObjectResourceShareType

type AccountTagGetResponseResourceTaggingTaggedResourceObjectResourceShareType string
const (
	AccountTagGetResponseResourceTaggingTaggedResourceObjectResourceShareTypeResourceShare AccountTagGetResponseResourceTaggingTaggedResourceObjectResourceShareType = "resource_share"
)

func (AccountTagGetResponseResourceTaggingTaggedResourceObjectResourceShareType) IsKnown

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

type AccountTagGetResponseResourceTaggingTaggedResourceObjectStreamLiveInputType

type AccountTagGetResponseResourceTaggingTaggedResourceObjectStreamLiveInputType string
const (
	AccountTagGetResponseResourceTaggingTaggedResourceObjectStreamLiveInputTypeStreamLiveInput AccountTagGetResponseResourceTaggingTaggedResourceObjectStreamLiveInputType = "stream_live_input"
)

func (AccountTagGetResponseResourceTaggingTaggedResourceObjectStreamLiveInputType) IsKnown

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

type AccountTagGetResponseResourceTaggingTaggedResourceObjectStreamVideoType

type AccountTagGetResponseResourceTaggingTaggedResourceObjectStreamVideoType string
const (
	AccountTagGetResponseResourceTaggingTaggedResourceObjectStreamVideoTypeStreamVideo AccountTagGetResponseResourceTaggingTaggedResourceObjectStreamVideoType = "stream_video"
)

func (AccountTagGetResponseResourceTaggingTaggedResourceObjectStreamVideoType) IsKnown

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

type AccountTagGetResponseResourceTaggingTaggedResourceObjectWorkerType

type AccountTagGetResponseResourceTaggingTaggedResourceObjectWorkerType string
const (
	AccountTagGetResponseResourceTaggingTaggedResourceObjectWorkerTypeWorker AccountTagGetResponseResourceTaggingTaggedResourceObjectWorkerType = "worker"
)

func (AccountTagGetResponseResourceTaggingTaggedResourceObjectWorkerType) IsKnown

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

type AccountTagGetResponseResourceTaggingTaggedResourceObjectWorkerVersionType

type AccountTagGetResponseResourceTaggingTaggedResourceObjectWorkerVersionType string
const (
	AccountTagGetResponseResourceTaggingTaggedResourceObjectWorkerVersionTypeWorkerVersion AccountTagGetResponseResourceTaggingTaggedResourceObjectWorkerVersionType = "worker_version"
)

func (AccountTagGetResponseResourceTaggingTaggedResourceObjectWorkerVersionType) IsKnown

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

type AccountTagGetResponseResourceTaggingTaggedResourceObjectZoneType

type AccountTagGetResponseResourceTaggingTaggedResourceObjectZoneType string
const (
	AccountTagGetResponseResourceTaggingTaggedResourceObjectZoneTypeZone AccountTagGetResponseResourceTaggingTaggedResourceObjectZoneType = "zone"
)

func (AccountTagGetResponseResourceTaggingTaggedResourceObjectZoneType) IsKnown

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"
	AccountTagGetResponseTypeResourceShare            AccountTagGetResponseType = "resource_share"
	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

Retrieves tags for a specific account-level resource.

func (*AccountTagService) Update

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

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"
	AccountTagUpdateParamsBodyResourceTaggingSetTagsRequestAccountLevelBaseResourceTypeResourceShare          AccountTagUpdateParamsBodyResourceTaggingSetTagsRequestAccountLevelBaseResourceType = "resource_share"
	AccountTagUpdateParamsBodyResourceTaggingSetTagsRequestAccountLevelBaseResourceTypeStreamLiveInput        AccountTagUpdateParamsBodyResourceTaggingSetTagsRequestAccountLevelBaseResourceType = "stream_live_input"
	AccountTagUpdateParamsBodyResourceTaggingSetTagsRequestAccountLevelBaseResourceTypeStreamVideo            AccountTagUpdateParamsBodyResourceTaggingSetTagsRequestAccountLevelBaseResourceType = "stream_video"
	AccountTagUpdateParamsBodyResourceTaggingSetTagsRequestAccountLevelBaseResourceTypeWorker                 AccountTagUpdateParamsBodyResourceTaggingSetTagsRequestAccountLevelBaseResourceType = "worker"
)

func (AccountTagUpdateParamsBodyResourceTaggingSetTagsRequestAccountLevelBaseResourceType) IsKnown

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

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"
	AccountTagUpdateParamsBodyResourceTaggingSetTagsRequestAccountLevelWorkerVersionResourceTypeResourceShare          AccountTagUpdateParamsBodyResourceTaggingSetTagsRequestAccountLevelWorkerVersionResourceType = "resource_share"
	AccountTagUpdateParamsBodyResourceTaggingSetTagsRequestAccountLevelWorkerVersionResourceTypeStreamLiveInput        AccountTagUpdateParamsBodyResourceTaggingSetTagsRequestAccountLevelWorkerVersionResourceType = "stream_live_input"
	AccountTagUpdateParamsBodyResourceTaggingSetTagsRequestAccountLevelWorkerVersionResourceTypeStreamVideo            AccountTagUpdateParamsBodyResourceTaggingSetTagsRequestAccountLevelWorkerVersionResourceType = "stream_video"
	AccountTagUpdateParamsBodyResourceTaggingSetTagsRequestAccountLevelWorkerVersionResourceTypeWorker                 AccountTagUpdateParamsBodyResourceTaggingSetTagsRequestAccountLevelWorkerVersionResourceType = "worker"
	AccountTagUpdateParamsBodyResourceTaggingSetTagsRequestAccountLevelWorkerVersionResourceTypeWorkerVersion          AccountTagUpdateParamsBodyResourceTaggingSetTagsRequestAccountLevelWorkerVersionResourceType = "worker_version"
)

func (AccountTagUpdateParamsBodyResourceTaggingSetTagsRequestAccountLevelWorkerVersionResourceType) IsKnown

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"
	AccountTagUpdateParamsBodyResourceTypeResourceShare          AccountTagUpdateParamsBodyResourceType = "resource_share"
	AccountTagUpdateParamsBodyResourceTypeStreamLiveInput        AccountTagUpdateParamsBodyResourceType = "stream_live_input"
	AccountTagUpdateParamsBodyResourceTypeStreamVideo            AccountTagUpdateParamsBodyResourceType = "stream_video"
	AccountTagUpdateParamsBodyResourceTypeWorker                 AccountTagUpdateParamsBodyResourceType = "worker"
	AccountTagUpdateParamsBodyResourceTypeWorkerVersion          AccountTagUpdateParamsBodyResourceType = "worker_version"
)

func (AccountTagUpdateParamsBodyResourceType) IsKnown

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

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

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

type AccountTagUpdateResponseResourceTaggingTaggedResourceObjectAIGatewayType

type AccountTagUpdateResponseResourceTaggingTaggedResourceObjectAIGatewayType string
const (
	AccountTagUpdateResponseResourceTaggingTaggedResourceObjectAIGatewayTypeAIGateway AccountTagUpdateResponseResourceTaggingTaggedResourceObjectAIGatewayType = "ai_gateway"
)

func (AccountTagUpdateResponseResourceTaggingTaggedResourceObjectAIGatewayType) IsKnown

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

type AccountTagUpdateResponseResourceTaggingTaggedResourceObjectAPIGatewayOperationType

type AccountTagUpdateResponseResourceTaggingTaggedResourceObjectAPIGatewayOperationType string
const (
	AccountTagUpdateResponseResourceTaggingTaggedResourceObjectAPIGatewayOperationTypeAPIGatewayOperation AccountTagUpdateResponseResourceTaggingTaggedResourceObjectAPIGatewayOperationType = "api_gateway_operation"
)

func (AccountTagUpdateResponseResourceTaggingTaggedResourceObjectAPIGatewayOperationType) IsKnown

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

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

type AccountTagUpdateResponseResourceTaggingTaggedResourceObjectAccessApplicationPolicyType

type AccountTagUpdateResponseResourceTaggingTaggedResourceObjectAccessApplicationPolicyType string
const (
	AccountTagUpdateResponseResourceTaggingTaggedResourceObjectAccessApplicationPolicyTypeAccessApplicationPolicy AccountTagUpdateResponseResourceTaggingTaggedResourceObjectAccessApplicationPolicyType = "access_application_policy"
)

func (AccountTagUpdateResponseResourceTaggingTaggedResourceObjectAccessApplicationPolicyType) IsKnown

type AccountTagUpdateResponseResourceTaggingTaggedResourceObjectAccessApplicationType

type AccountTagUpdateResponseResourceTaggingTaggedResourceObjectAccessApplicationType string
const (
	AccountTagUpdateResponseResourceTaggingTaggedResourceObjectAccessApplicationTypeAccessApplication AccountTagUpdateResponseResourceTaggingTaggedResourceObjectAccessApplicationType = "access_application"
)

func (AccountTagUpdateResponseResourceTaggingTaggedResourceObjectAccessApplicationType) IsKnown

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

type AccountTagUpdateResponseResourceTaggingTaggedResourceObjectAccessGroupType

type AccountTagUpdateResponseResourceTaggingTaggedResourceObjectAccessGroupType string
const (
	AccountTagUpdateResponseResourceTaggingTaggedResourceObjectAccessGroupTypeAccessGroup AccountTagUpdateResponseResourceTaggingTaggedResourceObjectAccessGroupType = "access_group"
)

func (AccountTagUpdateResponseResourceTaggingTaggedResourceObjectAccessGroupType) IsKnown

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

type AccountTagUpdateResponseResourceTaggingTaggedResourceObjectAccountType

type AccountTagUpdateResponseResourceTaggingTaggedResourceObjectAccountType string
const (
	AccountTagUpdateResponseResourceTaggingTaggedResourceObjectAccountTypeAccount AccountTagUpdateResponseResourceTaggingTaggedResourceObjectAccountType = "account"
)

func (AccountTagUpdateResponseResourceTaggingTaggedResourceObjectAccountType) IsKnown

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

type AccountTagUpdateResponseResourceTaggingTaggedResourceObjectAlertingPolicyType

type AccountTagUpdateResponseResourceTaggingTaggedResourceObjectAlertingPolicyType string
const (
	AccountTagUpdateResponseResourceTaggingTaggedResourceObjectAlertingPolicyTypeAlertingPolicy AccountTagUpdateResponseResourceTaggingTaggedResourceObjectAlertingPolicyType = "alerting_policy"
)

func (AccountTagUpdateResponseResourceTaggingTaggedResourceObjectAlertingPolicyType) IsKnown

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

type AccountTagUpdateResponseResourceTaggingTaggedResourceObjectAlertingWebhookType

type AccountTagUpdateResponseResourceTaggingTaggedResourceObjectAlertingWebhookType string
const (
	AccountTagUpdateResponseResourceTaggingTaggedResourceObjectAlertingWebhookTypeAlertingWebhook AccountTagUpdateResponseResourceTaggingTaggedResourceObjectAlertingWebhookType = "alerting_webhook"
)

func (AccountTagUpdateResponseResourceTaggingTaggedResourceObjectAlertingWebhookType) IsKnown

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

type AccountTagUpdateResponseResourceTaggingTaggedResourceObjectCloudflaredTunnelType

type AccountTagUpdateResponseResourceTaggingTaggedResourceObjectCloudflaredTunnelType string
const (
	AccountTagUpdateResponseResourceTaggingTaggedResourceObjectCloudflaredTunnelTypeCloudflaredTunnel AccountTagUpdateResponseResourceTaggingTaggedResourceObjectCloudflaredTunnelType = "cloudflared_tunnel"
)

func (AccountTagUpdateResponseResourceTaggingTaggedResourceObjectCloudflaredTunnelType) IsKnown

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

type AccountTagUpdateResponseResourceTaggingTaggedResourceObjectCustomCertificateType

type AccountTagUpdateResponseResourceTaggingTaggedResourceObjectCustomCertificateType string
const (
	AccountTagUpdateResponseResourceTaggingTaggedResourceObjectCustomCertificateTypeCustomCertificate AccountTagUpdateResponseResourceTaggingTaggedResourceObjectCustomCertificateType = "custom_certificate"
)

func (AccountTagUpdateResponseResourceTaggingTaggedResourceObjectCustomCertificateType) IsKnown

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

type AccountTagUpdateResponseResourceTaggingTaggedResourceObjectCustomHostnameType

type AccountTagUpdateResponseResourceTaggingTaggedResourceObjectCustomHostnameType string
const (
	AccountTagUpdateResponseResourceTaggingTaggedResourceObjectCustomHostnameTypeCustomHostname AccountTagUpdateResponseResourceTaggingTaggedResourceObjectCustomHostnameType = "custom_hostname"
)

func (AccountTagUpdateResponseResourceTaggingTaggedResourceObjectCustomHostnameType) IsKnown

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

type AccountTagUpdateResponseResourceTaggingTaggedResourceObjectD1DatabaseType

type AccountTagUpdateResponseResourceTaggingTaggedResourceObjectD1DatabaseType string
const (
	AccountTagUpdateResponseResourceTaggingTaggedResourceObjectD1DatabaseTypeD1Database AccountTagUpdateResponseResourceTaggingTaggedResourceObjectD1DatabaseType = "d1_database"
)

func (AccountTagUpdateResponseResourceTaggingTaggedResourceObjectD1DatabaseType) IsKnown

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

type AccountTagUpdateResponseResourceTaggingTaggedResourceObjectDNSRecordType

type AccountTagUpdateResponseResourceTaggingTaggedResourceObjectDNSRecordType string
const (
	AccountTagUpdateResponseResourceTaggingTaggedResourceObjectDNSRecordTypeDNSRecord AccountTagUpdateResponseResourceTaggingTaggedResourceObjectDNSRecordType = "dns_record"
)

func (AccountTagUpdateResponseResourceTaggingTaggedResourceObjectDNSRecordType) IsKnown

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

type AccountTagUpdateResponseResourceTaggingTaggedResourceObjectDurableObjectNamespaceType

type AccountTagUpdateResponseResourceTaggingTaggedResourceObjectDurableObjectNamespaceType string
const (
	AccountTagUpdateResponseResourceTaggingTaggedResourceObjectDurableObjectNamespaceTypeDurableObjectNamespace AccountTagUpdateResponseResourceTaggingTaggedResourceObjectDurableObjectNamespaceType = "durable_object_namespace"
)

func (AccountTagUpdateResponseResourceTaggingTaggedResourceObjectDurableObjectNamespaceType) IsKnown

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

type AccountTagUpdateResponseResourceTaggingTaggedResourceObjectGatewayListType

type AccountTagUpdateResponseResourceTaggingTaggedResourceObjectGatewayListType string
const (
	AccountTagUpdateResponseResourceTaggingTaggedResourceObjectGatewayListTypeGatewayList AccountTagUpdateResponseResourceTaggingTaggedResourceObjectGatewayListType = "gateway_list"
)

func (AccountTagUpdateResponseResourceTaggingTaggedResourceObjectGatewayListType) IsKnown

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

type AccountTagUpdateResponseResourceTaggingTaggedResourceObjectGatewayRuleType

type AccountTagUpdateResponseResourceTaggingTaggedResourceObjectGatewayRuleType string
const (
	AccountTagUpdateResponseResourceTaggingTaggedResourceObjectGatewayRuleTypeGatewayRule AccountTagUpdateResponseResourceTaggingTaggedResourceObjectGatewayRuleType = "gateway_rule"
)

func (AccountTagUpdateResponseResourceTaggingTaggedResourceObjectGatewayRuleType) IsKnown

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

type AccountTagUpdateResponseResourceTaggingTaggedResourceObjectImageType

type AccountTagUpdateResponseResourceTaggingTaggedResourceObjectImageType string
const (
	AccountTagUpdateResponseResourceTaggingTaggedResourceObjectImageTypeImage AccountTagUpdateResponseResourceTaggingTaggedResourceObjectImageType = "image"
)

func (AccountTagUpdateResponseResourceTaggingTaggedResourceObjectImageType) IsKnown

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

type AccountTagUpdateResponseResourceTaggingTaggedResourceObjectKVNamespaceType

type AccountTagUpdateResponseResourceTaggingTaggedResourceObjectKVNamespaceType string
const (
	AccountTagUpdateResponseResourceTaggingTaggedResourceObjectKVNamespaceTypeKVNamespace AccountTagUpdateResponseResourceTaggingTaggedResourceObjectKVNamespaceType = "kv_namespace"
)

func (AccountTagUpdateResponseResourceTaggingTaggedResourceObjectKVNamespaceType) IsKnown

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

type AccountTagUpdateResponseResourceTaggingTaggedResourceObjectManagedClientCertificateType

type AccountTagUpdateResponseResourceTaggingTaggedResourceObjectManagedClientCertificateType string
const (
	AccountTagUpdateResponseResourceTaggingTaggedResourceObjectManagedClientCertificateTypeManagedClientCertificate AccountTagUpdateResponseResourceTaggingTaggedResourceObjectManagedClientCertificateType = "managed_client_certificate"
)

func (AccountTagUpdateResponseResourceTaggingTaggedResourceObjectManagedClientCertificateType) IsKnown

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

type AccountTagUpdateResponseResourceTaggingTaggedResourceObjectQueueType

type AccountTagUpdateResponseResourceTaggingTaggedResourceObjectQueueType string
const (
	AccountTagUpdateResponseResourceTaggingTaggedResourceObjectQueueTypeQueue AccountTagUpdateResponseResourceTaggingTaggedResourceObjectQueueType = "queue"
)

func (AccountTagUpdateResponseResourceTaggingTaggedResourceObjectQueueType) IsKnown

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

type AccountTagUpdateResponseResourceTaggingTaggedResourceObjectR2BucketType

type AccountTagUpdateResponseResourceTaggingTaggedResourceObjectR2BucketType string
const (
	AccountTagUpdateResponseResourceTaggingTaggedResourceObjectR2BucketTypeR2Bucket AccountTagUpdateResponseResourceTaggingTaggedResourceObjectR2BucketType = "r2_bucket"
)

func (AccountTagUpdateResponseResourceTaggingTaggedResourceObjectR2BucketType) IsKnown

type AccountTagUpdateResponseResourceTaggingTaggedResourceObjectResourceShare

type AccountTagUpdateResponseResourceTaggingTaggedResourceObjectResourceShare 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 AccountTagUpdateResponseResourceTaggingTaggedResourceObjectResourceShareType `json:"type" api:"required"`
	JSON accountTagUpdateResponseResourceTaggingTaggedResourceObjectResourceShareJSON `json:"-"`
}

Response for resource_share resources

func (*AccountTagUpdateResponseResourceTaggingTaggedResourceObjectResourceShare) UnmarshalJSON

type AccountTagUpdateResponseResourceTaggingTaggedResourceObjectResourceShareType

type AccountTagUpdateResponseResourceTaggingTaggedResourceObjectResourceShareType string
const (
	AccountTagUpdateResponseResourceTaggingTaggedResourceObjectResourceShareTypeResourceShare AccountTagUpdateResponseResourceTaggingTaggedResourceObjectResourceShareType = "resource_share"
)

func (AccountTagUpdateResponseResourceTaggingTaggedResourceObjectResourceShareType) IsKnown

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

type AccountTagUpdateResponseResourceTaggingTaggedResourceObjectStreamLiveInputType

type AccountTagUpdateResponseResourceTaggingTaggedResourceObjectStreamLiveInputType string
const (
	AccountTagUpdateResponseResourceTaggingTaggedResourceObjectStreamLiveInputTypeStreamLiveInput AccountTagUpdateResponseResourceTaggingTaggedResourceObjectStreamLiveInputType = "stream_live_input"
)

func (AccountTagUpdateResponseResourceTaggingTaggedResourceObjectStreamLiveInputType) IsKnown

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

type AccountTagUpdateResponseResourceTaggingTaggedResourceObjectStreamVideoType

type AccountTagUpdateResponseResourceTaggingTaggedResourceObjectStreamVideoType string
const (
	AccountTagUpdateResponseResourceTaggingTaggedResourceObjectStreamVideoTypeStreamVideo AccountTagUpdateResponseResourceTaggingTaggedResourceObjectStreamVideoType = "stream_video"
)

func (AccountTagUpdateResponseResourceTaggingTaggedResourceObjectStreamVideoType) IsKnown

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

type AccountTagUpdateResponseResourceTaggingTaggedResourceObjectWorkerType

type AccountTagUpdateResponseResourceTaggingTaggedResourceObjectWorkerType string
const (
	AccountTagUpdateResponseResourceTaggingTaggedResourceObjectWorkerTypeWorker AccountTagUpdateResponseResourceTaggingTaggedResourceObjectWorkerType = "worker"
)

func (AccountTagUpdateResponseResourceTaggingTaggedResourceObjectWorkerType) IsKnown

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

type AccountTagUpdateResponseResourceTaggingTaggedResourceObjectWorkerVersionType

type AccountTagUpdateResponseResourceTaggingTaggedResourceObjectWorkerVersionType string
const (
	AccountTagUpdateResponseResourceTaggingTaggedResourceObjectWorkerVersionTypeWorkerVersion AccountTagUpdateResponseResourceTaggingTaggedResourceObjectWorkerVersionType = "worker_version"
)

func (AccountTagUpdateResponseResourceTaggingTaggedResourceObjectWorkerVersionType) IsKnown

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

type AccountTagUpdateResponseResourceTaggingTaggedResourceObjectZoneType

type AccountTagUpdateResponseResourceTaggingTaggedResourceObjectZoneType string
const (
	AccountTagUpdateResponseResourceTaggingTaggedResourceObjectZoneTypeZone AccountTagUpdateResponseResourceTaggingTaggedResourceObjectZoneType = "zone"
)

func (AccountTagUpdateResponseResourceTaggingTaggedResourceObjectZoneType) IsKnown

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"
	AccountTagUpdateResponseTypeResourceShare            AccountTagUpdateResponseType = "resource_share"
	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 AuditLog

type AuditLog = shared.AuditLog

This is an alias to an internal type.

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 Error

type Error = apierror.Error

type ErrorData

type ErrorData = shared.ErrorData

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

Lists all distinct tag keys used across resources in an account.

func (*KeyService) ListAutoPaging

Lists all distinct tag keys used across resources in an account.

type Member

type Member = shared.Member

This is an alias to an internal type.

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 MemberPolicy

type MemberPolicy = shared.MemberPolicy

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 Permission

type Permission = shared.Permission

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 RatePlan

type RatePlan = shared.RatePlan

The rate plan applied to the subscription.

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"
	ResourceTaggingListParamsTypeResourceShare            ResourceTaggingListParamsType = "resource_share"
	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

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

type ResourceTaggingListResponseResourceTaggingTaggedResourceObjectAIGatewayType

type ResourceTaggingListResponseResourceTaggingTaggedResourceObjectAIGatewayType string
const (
	ResourceTaggingListResponseResourceTaggingTaggedResourceObjectAIGatewayTypeAIGateway ResourceTaggingListResponseResourceTaggingTaggedResourceObjectAIGatewayType = "ai_gateway"
)

func (ResourceTaggingListResponseResourceTaggingTaggedResourceObjectAIGatewayType) IsKnown

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

type ResourceTaggingListResponseResourceTaggingTaggedResourceObjectAPIGatewayOperationType

type ResourceTaggingListResponseResourceTaggingTaggedResourceObjectAPIGatewayOperationType string
const (
	ResourceTaggingListResponseResourceTaggingTaggedResourceObjectAPIGatewayOperationTypeAPIGatewayOperation ResourceTaggingListResponseResourceTaggingTaggedResourceObjectAPIGatewayOperationType = "api_gateway_operation"
)

func (ResourceTaggingListResponseResourceTaggingTaggedResourceObjectAPIGatewayOperationType) IsKnown

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

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

type ResourceTaggingListResponseResourceTaggingTaggedResourceObjectAccessApplicationPolicyType

type ResourceTaggingListResponseResourceTaggingTaggedResourceObjectAccessApplicationPolicyType string
const (
	ResourceTaggingListResponseResourceTaggingTaggedResourceObjectAccessApplicationPolicyTypeAccessApplicationPolicy ResourceTaggingListResponseResourceTaggingTaggedResourceObjectAccessApplicationPolicyType = "access_application_policy"
)

func (ResourceTaggingListResponseResourceTaggingTaggedResourceObjectAccessApplicationPolicyType) IsKnown

type ResourceTaggingListResponseResourceTaggingTaggedResourceObjectAccessApplicationType

type ResourceTaggingListResponseResourceTaggingTaggedResourceObjectAccessApplicationType string
const (
	ResourceTaggingListResponseResourceTaggingTaggedResourceObjectAccessApplicationTypeAccessApplication ResourceTaggingListResponseResourceTaggingTaggedResourceObjectAccessApplicationType = "access_application"
)

func (ResourceTaggingListResponseResourceTaggingTaggedResourceObjectAccessApplicationType) IsKnown

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

type ResourceTaggingListResponseResourceTaggingTaggedResourceObjectAccessGroupType

type ResourceTaggingListResponseResourceTaggingTaggedResourceObjectAccessGroupType string
const (
	ResourceTaggingListResponseResourceTaggingTaggedResourceObjectAccessGroupTypeAccessGroup ResourceTaggingListResponseResourceTaggingTaggedResourceObjectAccessGroupType = "access_group"
)

func (ResourceTaggingListResponseResourceTaggingTaggedResourceObjectAccessGroupType) IsKnown

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

type ResourceTaggingListResponseResourceTaggingTaggedResourceObjectAccountType

type ResourceTaggingListResponseResourceTaggingTaggedResourceObjectAccountType string
const (
	ResourceTaggingListResponseResourceTaggingTaggedResourceObjectAccountTypeAccount ResourceTaggingListResponseResourceTaggingTaggedResourceObjectAccountType = "account"
)

func (ResourceTaggingListResponseResourceTaggingTaggedResourceObjectAccountType) IsKnown

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

type ResourceTaggingListResponseResourceTaggingTaggedResourceObjectAlertingPolicyType

type ResourceTaggingListResponseResourceTaggingTaggedResourceObjectAlertingPolicyType string
const (
	ResourceTaggingListResponseResourceTaggingTaggedResourceObjectAlertingPolicyTypeAlertingPolicy ResourceTaggingListResponseResourceTaggingTaggedResourceObjectAlertingPolicyType = "alerting_policy"
)

func (ResourceTaggingListResponseResourceTaggingTaggedResourceObjectAlertingPolicyType) IsKnown

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

type ResourceTaggingListResponseResourceTaggingTaggedResourceObjectAlertingWebhookType

type ResourceTaggingListResponseResourceTaggingTaggedResourceObjectAlertingWebhookType string
const (
	ResourceTaggingListResponseResourceTaggingTaggedResourceObjectAlertingWebhookTypeAlertingWebhook ResourceTaggingListResponseResourceTaggingTaggedResourceObjectAlertingWebhookType = "alerting_webhook"
)

func (ResourceTaggingListResponseResourceTaggingTaggedResourceObjectAlertingWebhookType) IsKnown

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

type ResourceTaggingListResponseResourceTaggingTaggedResourceObjectCloudflaredTunnelType

type ResourceTaggingListResponseResourceTaggingTaggedResourceObjectCloudflaredTunnelType string
const (
	ResourceTaggingListResponseResourceTaggingTaggedResourceObjectCloudflaredTunnelTypeCloudflaredTunnel ResourceTaggingListResponseResourceTaggingTaggedResourceObjectCloudflaredTunnelType = "cloudflared_tunnel"
)

func (ResourceTaggingListResponseResourceTaggingTaggedResourceObjectCloudflaredTunnelType) IsKnown

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

type ResourceTaggingListResponseResourceTaggingTaggedResourceObjectCustomCertificateType

type ResourceTaggingListResponseResourceTaggingTaggedResourceObjectCustomCertificateType string
const (
	ResourceTaggingListResponseResourceTaggingTaggedResourceObjectCustomCertificateTypeCustomCertificate ResourceTaggingListResponseResourceTaggingTaggedResourceObjectCustomCertificateType = "custom_certificate"
)

func (ResourceTaggingListResponseResourceTaggingTaggedResourceObjectCustomCertificateType) IsKnown

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

type ResourceTaggingListResponseResourceTaggingTaggedResourceObjectCustomHostnameType

type ResourceTaggingListResponseResourceTaggingTaggedResourceObjectCustomHostnameType string
const (
	ResourceTaggingListResponseResourceTaggingTaggedResourceObjectCustomHostnameTypeCustomHostname ResourceTaggingListResponseResourceTaggingTaggedResourceObjectCustomHostnameType = "custom_hostname"
)

func (ResourceTaggingListResponseResourceTaggingTaggedResourceObjectCustomHostnameType) IsKnown

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

type ResourceTaggingListResponseResourceTaggingTaggedResourceObjectD1DatabaseType

type ResourceTaggingListResponseResourceTaggingTaggedResourceObjectD1DatabaseType string
const (
	ResourceTaggingListResponseResourceTaggingTaggedResourceObjectD1DatabaseTypeD1Database ResourceTaggingListResponseResourceTaggingTaggedResourceObjectD1DatabaseType = "d1_database"
)

func (ResourceTaggingListResponseResourceTaggingTaggedResourceObjectD1DatabaseType) IsKnown

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

type ResourceTaggingListResponseResourceTaggingTaggedResourceObjectDNSRecordType

type ResourceTaggingListResponseResourceTaggingTaggedResourceObjectDNSRecordType string
const (
	ResourceTaggingListResponseResourceTaggingTaggedResourceObjectDNSRecordTypeDNSRecord ResourceTaggingListResponseResourceTaggingTaggedResourceObjectDNSRecordType = "dns_record"
)

func (ResourceTaggingListResponseResourceTaggingTaggedResourceObjectDNSRecordType) IsKnown

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

type ResourceTaggingListResponseResourceTaggingTaggedResourceObjectDurableObjectNamespaceType

type ResourceTaggingListResponseResourceTaggingTaggedResourceObjectDurableObjectNamespaceType string
const (
	ResourceTaggingListResponseResourceTaggingTaggedResourceObjectDurableObjectNamespaceTypeDurableObjectNamespace ResourceTaggingListResponseResourceTaggingTaggedResourceObjectDurableObjectNamespaceType = "durable_object_namespace"
)

func (ResourceTaggingListResponseResourceTaggingTaggedResourceObjectDurableObjectNamespaceType) IsKnown

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

type ResourceTaggingListResponseResourceTaggingTaggedResourceObjectGatewayListType

type ResourceTaggingListResponseResourceTaggingTaggedResourceObjectGatewayListType string
const (
	ResourceTaggingListResponseResourceTaggingTaggedResourceObjectGatewayListTypeGatewayList ResourceTaggingListResponseResourceTaggingTaggedResourceObjectGatewayListType = "gateway_list"
)

func (ResourceTaggingListResponseResourceTaggingTaggedResourceObjectGatewayListType) IsKnown

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

type ResourceTaggingListResponseResourceTaggingTaggedResourceObjectGatewayRuleType

type ResourceTaggingListResponseResourceTaggingTaggedResourceObjectGatewayRuleType string
const (
	ResourceTaggingListResponseResourceTaggingTaggedResourceObjectGatewayRuleTypeGatewayRule ResourceTaggingListResponseResourceTaggingTaggedResourceObjectGatewayRuleType = "gateway_rule"
)

func (ResourceTaggingListResponseResourceTaggingTaggedResourceObjectGatewayRuleType) IsKnown

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

type ResourceTaggingListResponseResourceTaggingTaggedResourceObjectImageType

type ResourceTaggingListResponseResourceTaggingTaggedResourceObjectImageType string
const (
	ResourceTaggingListResponseResourceTaggingTaggedResourceObjectImageTypeImage ResourceTaggingListResponseResourceTaggingTaggedResourceObjectImageType = "image"
)

func (ResourceTaggingListResponseResourceTaggingTaggedResourceObjectImageType) IsKnown

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

type ResourceTaggingListResponseResourceTaggingTaggedResourceObjectKVNamespaceType

type ResourceTaggingListResponseResourceTaggingTaggedResourceObjectKVNamespaceType string
const (
	ResourceTaggingListResponseResourceTaggingTaggedResourceObjectKVNamespaceTypeKVNamespace ResourceTaggingListResponseResourceTaggingTaggedResourceObjectKVNamespaceType = "kv_namespace"
)

func (ResourceTaggingListResponseResourceTaggingTaggedResourceObjectKVNamespaceType) IsKnown

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

type ResourceTaggingListResponseResourceTaggingTaggedResourceObjectManagedClientCertificateType

type ResourceTaggingListResponseResourceTaggingTaggedResourceObjectManagedClientCertificateType string
const (
	ResourceTaggingListResponseResourceTaggingTaggedResourceObjectManagedClientCertificateTypeManagedClientCertificate ResourceTaggingListResponseResourceTaggingTaggedResourceObjectManagedClientCertificateType = "managed_client_certificate"
)

func (ResourceTaggingListResponseResourceTaggingTaggedResourceObjectManagedClientCertificateType) IsKnown

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

type ResourceTaggingListResponseResourceTaggingTaggedResourceObjectQueueType

type ResourceTaggingListResponseResourceTaggingTaggedResourceObjectQueueType string
const (
	ResourceTaggingListResponseResourceTaggingTaggedResourceObjectQueueTypeQueue ResourceTaggingListResponseResourceTaggingTaggedResourceObjectQueueType = "queue"
)

func (ResourceTaggingListResponseResourceTaggingTaggedResourceObjectQueueType) IsKnown

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

type ResourceTaggingListResponseResourceTaggingTaggedResourceObjectR2BucketType

type ResourceTaggingListResponseResourceTaggingTaggedResourceObjectR2BucketType string
const (
	ResourceTaggingListResponseResourceTaggingTaggedResourceObjectR2BucketTypeR2Bucket ResourceTaggingListResponseResourceTaggingTaggedResourceObjectR2BucketType = "r2_bucket"
)

func (ResourceTaggingListResponseResourceTaggingTaggedResourceObjectR2BucketType) IsKnown

type ResourceTaggingListResponseResourceTaggingTaggedResourceObjectResourceShare

type ResourceTaggingListResponseResourceTaggingTaggedResourceObjectResourceShare 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 ResourceTaggingListResponseResourceTaggingTaggedResourceObjectResourceShareType `json:"type" api:"required"`
	JSON resourceTaggingListResponseResourceTaggingTaggedResourceObjectResourceShareJSON `json:"-"`
}

Response for resource_share resources

func (*ResourceTaggingListResponseResourceTaggingTaggedResourceObjectResourceShare) UnmarshalJSON

type ResourceTaggingListResponseResourceTaggingTaggedResourceObjectResourceShareType

type ResourceTaggingListResponseResourceTaggingTaggedResourceObjectResourceShareType string
const (
	ResourceTaggingListResponseResourceTaggingTaggedResourceObjectResourceShareTypeResourceShare ResourceTaggingListResponseResourceTaggingTaggedResourceObjectResourceShareType = "resource_share"
)

func (ResourceTaggingListResponseResourceTaggingTaggedResourceObjectResourceShareType) IsKnown

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

type ResourceTaggingListResponseResourceTaggingTaggedResourceObjectStreamLiveInputType

type ResourceTaggingListResponseResourceTaggingTaggedResourceObjectStreamLiveInputType string
const (
	ResourceTaggingListResponseResourceTaggingTaggedResourceObjectStreamLiveInputTypeStreamLiveInput ResourceTaggingListResponseResourceTaggingTaggedResourceObjectStreamLiveInputType = "stream_live_input"
)

func (ResourceTaggingListResponseResourceTaggingTaggedResourceObjectStreamLiveInputType) IsKnown

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

type ResourceTaggingListResponseResourceTaggingTaggedResourceObjectStreamVideoType

type ResourceTaggingListResponseResourceTaggingTaggedResourceObjectStreamVideoType string
const (
	ResourceTaggingListResponseResourceTaggingTaggedResourceObjectStreamVideoTypeStreamVideo ResourceTaggingListResponseResourceTaggingTaggedResourceObjectStreamVideoType = "stream_video"
)

func (ResourceTaggingListResponseResourceTaggingTaggedResourceObjectStreamVideoType) IsKnown

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

type ResourceTaggingListResponseResourceTaggingTaggedResourceObjectWorkerType

type ResourceTaggingListResponseResourceTaggingTaggedResourceObjectWorkerType string
const (
	ResourceTaggingListResponseResourceTaggingTaggedResourceObjectWorkerTypeWorker ResourceTaggingListResponseResourceTaggingTaggedResourceObjectWorkerType = "worker"
)

func (ResourceTaggingListResponseResourceTaggingTaggedResourceObjectWorkerType) IsKnown

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

type ResourceTaggingListResponseResourceTaggingTaggedResourceObjectWorkerVersionType

type ResourceTaggingListResponseResourceTaggingTaggedResourceObjectWorkerVersionType string
const (
	ResourceTaggingListResponseResourceTaggingTaggedResourceObjectWorkerVersionTypeWorkerVersion ResourceTaggingListResponseResourceTaggingTaggedResourceObjectWorkerVersionType = "worker_version"
)

func (ResourceTaggingListResponseResourceTaggingTaggedResourceObjectWorkerVersionType) IsKnown

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

type ResourceTaggingListResponseResourceTaggingTaggedResourceObjectZoneType

type ResourceTaggingListResponseResourceTaggingTaggedResourceObjectZoneType string
const (
	ResourceTaggingListResponseResourceTaggingTaggedResourceObjectZoneTypeZone ResourceTaggingListResponseResourceTaggingTaggedResourceObjectZoneType = "zone"
)

func (ResourceTaggingListResponseResourceTaggingTaggedResourceObjectZoneType) IsKnown

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"
	ResourceTaggingListResponseTypeResourceShare            ResourceTaggingListResponseType = "resource_share"
	ResourceTaggingListResponseTypeStreamLiveInput          ResourceTaggingListResponseType = "stream_live_input"
	ResourceTaggingListResponseTypeStreamVideo              ResourceTaggingListResponseType = "stream_video"
	ResourceTaggingListResponseTypeWorker                   ResourceTaggingListResponseType = "worker"
	ResourceTaggingListResponseTypeWorkerVersion            ResourceTaggingListResponseType = "worker_version"
	ResourceTaggingListResponseTypeZone                     ResourceTaggingListResponseType = "zone"
)

func (ResourceTaggingListResponseType) IsKnown

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

Lists all tagged resources for an account.

func (*ResourceTaggingService) ListAutoPaging

Lists all tagged resources for an account.

type ResponseInfo

type ResponseInfo = shared.ResponseInfo

This is an alias to an internal type.

type ResponseInfoSource

type ResponseInfoSource = shared.ResponseInfoSource

This is an alias to an internal type.

type Role

type Role = shared.Role

This is an alias to an internal type.

type RoleParam

type RoleParam = shared.RoleParam

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 Subscription

type Subscription = shared.Subscription

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 Token

type Token = shared.Token

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 TokenParam

type TokenParam = shared.TokenParam

This is an alias to an internal type.

type TokenPolicy

type TokenPolicy = shared.TokenPolicy

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"
	ValueListParamsTypeResourceShare            ValueListParamsType = "resource_share"
	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

Lists all distinct values for a given tag key, optionally filtered by resource type.

func (*ValueService) ListAutoPaging

Lists all distinct values for a given tag key, optionally filtered by resource type.

type ZoneTagDeleteParams

type ZoneTagDeleteParams struct {
	// Zone ID is required only for zone-level resources
	ZoneID  param.Field[string] `path:"zone_id" api:"required"`
	IfMatch param.Field[string] `header:"If-Match"`
}

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

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

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

type ZoneTagGetResponseResourceTaggingTaggedResourceObjectAIGatewayType

type ZoneTagGetResponseResourceTaggingTaggedResourceObjectAIGatewayType string
const (
	ZoneTagGetResponseResourceTaggingTaggedResourceObjectAIGatewayTypeAIGateway ZoneTagGetResponseResourceTaggingTaggedResourceObjectAIGatewayType = "ai_gateway"
)

func (ZoneTagGetResponseResourceTaggingTaggedResourceObjectAIGatewayType) IsKnown

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

type ZoneTagGetResponseResourceTaggingTaggedResourceObjectAPIGatewayOperationType

type ZoneTagGetResponseResourceTaggingTaggedResourceObjectAPIGatewayOperationType string
const (
	ZoneTagGetResponseResourceTaggingTaggedResourceObjectAPIGatewayOperationTypeAPIGatewayOperation ZoneTagGetResponseResourceTaggingTaggedResourceObjectAPIGatewayOperationType = "api_gateway_operation"
)

func (ZoneTagGetResponseResourceTaggingTaggedResourceObjectAPIGatewayOperationType) IsKnown

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

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

type ZoneTagGetResponseResourceTaggingTaggedResourceObjectAccessApplicationPolicyType

type ZoneTagGetResponseResourceTaggingTaggedResourceObjectAccessApplicationPolicyType string
const (
	ZoneTagGetResponseResourceTaggingTaggedResourceObjectAccessApplicationPolicyTypeAccessApplicationPolicy ZoneTagGetResponseResourceTaggingTaggedResourceObjectAccessApplicationPolicyType = "access_application_policy"
)

func (ZoneTagGetResponseResourceTaggingTaggedResourceObjectAccessApplicationPolicyType) IsKnown

type ZoneTagGetResponseResourceTaggingTaggedResourceObjectAccessApplicationType

type ZoneTagGetResponseResourceTaggingTaggedResourceObjectAccessApplicationType string
const (
	ZoneTagGetResponseResourceTaggingTaggedResourceObjectAccessApplicationTypeAccessApplication ZoneTagGetResponseResourceTaggingTaggedResourceObjectAccessApplicationType = "access_application"
)

func (ZoneTagGetResponseResourceTaggingTaggedResourceObjectAccessApplicationType) IsKnown

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

type ZoneTagGetResponseResourceTaggingTaggedResourceObjectAccessGroupType

type ZoneTagGetResponseResourceTaggingTaggedResourceObjectAccessGroupType string
const (
	ZoneTagGetResponseResourceTaggingTaggedResourceObjectAccessGroupTypeAccessGroup ZoneTagGetResponseResourceTaggingTaggedResourceObjectAccessGroupType = "access_group"
)

func (ZoneTagGetResponseResourceTaggingTaggedResourceObjectAccessGroupType) IsKnown

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

type ZoneTagGetResponseResourceTaggingTaggedResourceObjectAccountType

type ZoneTagGetResponseResourceTaggingTaggedResourceObjectAccountType string
const (
	ZoneTagGetResponseResourceTaggingTaggedResourceObjectAccountTypeAccount ZoneTagGetResponseResourceTaggingTaggedResourceObjectAccountType = "account"
)

func (ZoneTagGetResponseResourceTaggingTaggedResourceObjectAccountType) IsKnown

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

type ZoneTagGetResponseResourceTaggingTaggedResourceObjectAlertingPolicyType

type ZoneTagGetResponseResourceTaggingTaggedResourceObjectAlertingPolicyType string
const (
	ZoneTagGetResponseResourceTaggingTaggedResourceObjectAlertingPolicyTypeAlertingPolicy ZoneTagGetResponseResourceTaggingTaggedResourceObjectAlertingPolicyType = "alerting_policy"
)

func (ZoneTagGetResponseResourceTaggingTaggedResourceObjectAlertingPolicyType) IsKnown

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

type ZoneTagGetResponseResourceTaggingTaggedResourceObjectAlertingWebhookType

type ZoneTagGetResponseResourceTaggingTaggedResourceObjectAlertingWebhookType string
const (
	ZoneTagGetResponseResourceTaggingTaggedResourceObjectAlertingWebhookTypeAlertingWebhook ZoneTagGetResponseResourceTaggingTaggedResourceObjectAlertingWebhookType = "alerting_webhook"
)

func (ZoneTagGetResponseResourceTaggingTaggedResourceObjectAlertingWebhookType) IsKnown

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

type ZoneTagGetResponseResourceTaggingTaggedResourceObjectCloudflaredTunnelType

type ZoneTagGetResponseResourceTaggingTaggedResourceObjectCloudflaredTunnelType string
const (
	ZoneTagGetResponseResourceTaggingTaggedResourceObjectCloudflaredTunnelTypeCloudflaredTunnel ZoneTagGetResponseResourceTaggingTaggedResourceObjectCloudflaredTunnelType = "cloudflared_tunnel"
)

func (ZoneTagGetResponseResourceTaggingTaggedResourceObjectCloudflaredTunnelType) IsKnown

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

type ZoneTagGetResponseResourceTaggingTaggedResourceObjectCustomCertificateType

type ZoneTagGetResponseResourceTaggingTaggedResourceObjectCustomCertificateType string
const (
	ZoneTagGetResponseResourceTaggingTaggedResourceObjectCustomCertificateTypeCustomCertificate ZoneTagGetResponseResourceTaggingTaggedResourceObjectCustomCertificateType = "custom_certificate"
)

func (ZoneTagGetResponseResourceTaggingTaggedResourceObjectCustomCertificateType) IsKnown

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

type ZoneTagGetResponseResourceTaggingTaggedResourceObjectCustomHostnameType

type ZoneTagGetResponseResourceTaggingTaggedResourceObjectCustomHostnameType string
const (
	ZoneTagGetResponseResourceTaggingTaggedResourceObjectCustomHostnameTypeCustomHostname ZoneTagGetResponseResourceTaggingTaggedResourceObjectCustomHostnameType = "custom_hostname"
)

func (ZoneTagGetResponseResourceTaggingTaggedResourceObjectCustomHostnameType) IsKnown

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

type ZoneTagGetResponseResourceTaggingTaggedResourceObjectD1DatabaseType

type ZoneTagGetResponseResourceTaggingTaggedResourceObjectD1DatabaseType string
const (
	ZoneTagGetResponseResourceTaggingTaggedResourceObjectD1DatabaseTypeD1Database ZoneTagGetResponseResourceTaggingTaggedResourceObjectD1DatabaseType = "d1_database"
)

func (ZoneTagGetResponseResourceTaggingTaggedResourceObjectD1DatabaseType) IsKnown

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

type ZoneTagGetResponseResourceTaggingTaggedResourceObjectDNSRecordType

type ZoneTagGetResponseResourceTaggingTaggedResourceObjectDNSRecordType string
const (
	ZoneTagGetResponseResourceTaggingTaggedResourceObjectDNSRecordTypeDNSRecord ZoneTagGetResponseResourceTaggingTaggedResourceObjectDNSRecordType = "dns_record"
)

func (ZoneTagGetResponseResourceTaggingTaggedResourceObjectDNSRecordType) IsKnown

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

type ZoneTagGetResponseResourceTaggingTaggedResourceObjectDurableObjectNamespaceType

type ZoneTagGetResponseResourceTaggingTaggedResourceObjectDurableObjectNamespaceType string
const (
	ZoneTagGetResponseResourceTaggingTaggedResourceObjectDurableObjectNamespaceTypeDurableObjectNamespace ZoneTagGetResponseResourceTaggingTaggedResourceObjectDurableObjectNamespaceType = "durable_object_namespace"
)

func (ZoneTagGetResponseResourceTaggingTaggedResourceObjectDurableObjectNamespaceType) IsKnown

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

type ZoneTagGetResponseResourceTaggingTaggedResourceObjectGatewayListType

type ZoneTagGetResponseResourceTaggingTaggedResourceObjectGatewayListType string
const (
	ZoneTagGetResponseResourceTaggingTaggedResourceObjectGatewayListTypeGatewayList ZoneTagGetResponseResourceTaggingTaggedResourceObjectGatewayListType = "gateway_list"
)

func (ZoneTagGetResponseResourceTaggingTaggedResourceObjectGatewayListType) IsKnown

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

type ZoneTagGetResponseResourceTaggingTaggedResourceObjectGatewayRuleType

type ZoneTagGetResponseResourceTaggingTaggedResourceObjectGatewayRuleType string
const (
	ZoneTagGetResponseResourceTaggingTaggedResourceObjectGatewayRuleTypeGatewayRule ZoneTagGetResponseResourceTaggingTaggedResourceObjectGatewayRuleType = "gateway_rule"
)

func (ZoneTagGetResponseResourceTaggingTaggedResourceObjectGatewayRuleType) IsKnown

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

type ZoneTagGetResponseResourceTaggingTaggedResourceObjectImageType

type ZoneTagGetResponseResourceTaggingTaggedResourceObjectImageType string
const (
	ZoneTagGetResponseResourceTaggingTaggedResourceObjectImageTypeImage ZoneTagGetResponseResourceTaggingTaggedResourceObjectImageType = "image"
)

func (ZoneTagGetResponseResourceTaggingTaggedResourceObjectImageType) IsKnown

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

type ZoneTagGetResponseResourceTaggingTaggedResourceObjectKVNamespaceType

type ZoneTagGetResponseResourceTaggingTaggedResourceObjectKVNamespaceType string
const (
	ZoneTagGetResponseResourceTaggingTaggedResourceObjectKVNamespaceTypeKVNamespace ZoneTagGetResponseResourceTaggingTaggedResourceObjectKVNamespaceType = "kv_namespace"
)

func (ZoneTagGetResponseResourceTaggingTaggedResourceObjectKVNamespaceType) IsKnown

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

type ZoneTagGetResponseResourceTaggingTaggedResourceObjectManagedClientCertificateType

type ZoneTagGetResponseResourceTaggingTaggedResourceObjectManagedClientCertificateType string
const (
	ZoneTagGetResponseResourceTaggingTaggedResourceObjectManagedClientCertificateTypeManagedClientCertificate ZoneTagGetResponseResourceTaggingTaggedResourceObjectManagedClientCertificateType = "managed_client_certificate"
)

func (ZoneTagGetResponseResourceTaggingTaggedResourceObjectManagedClientCertificateType) IsKnown

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

type ZoneTagGetResponseResourceTaggingTaggedResourceObjectQueueType

type ZoneTagGetResponseResourceTaggingTaggedResourceObjectQueueType string
const (
	ZoneTagGetResponseResourceTaggingTaggedResourceObjectQueueTypeQueue ZoneTagGetResponseResourceTaggingTaggedResourceObjectQueueType = "queue"
)

func (ZoneTagGetResponseResourceTaggingTaggedResourceObjectQueueType) IsKnown

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

type ZoneTagGetResponseResourceTaggingTaggedResourceObjectR2BucketType

type ZoneTagGetResponseResourceTaggingTaggedResourceObjectR2BucketType string
const (
	ZoneTagGetResponseResourceTaggingTaggedResourceObjectR2BucketTypeR2Bucket ZoneTagGetResponseResourceTaggingTaggedResourceObjectR2BucketType = "r2_bucket"
)

func (ZoneTagGetResponseResourceTaggingTaggedResourceObjectR2BucketType) IsKnown

type ZoneTagGetResponseResourceTaggingTaggedResourceObjectResourceShare

type ZoneTagGetResponseResourceTaggingTaggedResourceObjectResourceShare 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 ZoneTagGetResponseResourceTaggingTaggedResourceObjectResourceShareType `json:"type" api:"required"`
	JSON zoneTagGetResponseResourceTaggingTaggedResourceObjectResourceShareJSON `json:"-"`
}

Response for resource_share resources

func (*ZoneTagGetResponseResourceTaggingTaggedResourceObjectResourceShare) UnmarshalJSON

type ZoneTagGetResponseResourceTaggingTaggedResourceObjectResourceShareType

type ZoneTagGetResponseResourceTaggingTaggedResourceObjectResourceShareType string
const (
	ZoneTagGetResponseResourceTaggingTaggedResourceObjectResourceShareTypeResourceShare ZoneTagGetResponseResourceTaggingTaggedResourceObjectResourceShareType = "resource_share"
)

func (ZoneTagGetResponseResourceTaggingTaggedResourceObjectResourceShareType) IsKnown

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

type ZoneTagGetResponseResourceTaggingTaggedResourceObjectStreamLiveInputType

type ZoneTagGetResponseResourceTaggingTaggedResourceObjectStreamLiveInputType string
const (
	ZoneTagGetResponseResourceTaggingTaggedResourceObjectStreamLiveInputTypeStreamLiveInput ZoneTagGetResponseResourceTaggingTaggedResourceObjectStreamLiveInputType = "stream_live_input"
)

func (ZoneTagGetResponseResourceTaggingTaggedResourceObjectStreamLiveInputType) IsKnown

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

type ZoneTagGetResponseResourceTaggingTaggedResourceObjectStreamVideoType

type ZoneTagGetResponseResourceTaggingTaggedResourceObjectStreamVideoType string
const (
	ZoneTagGetResponseResourceTaggingTaggedResourceObjectStreamVideoTypeStreamVideo ZoneTagGetResponseResourceTaggingTaggedResourceObjectStreamVideoType = "stream_video"
)

func (ZoneTagGetResponseResourceTaggingTaggedResourceObjectStreamVideoType) IsKnown

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

type ZoneTagGetResponseResourceTaggingTaggedResourceObjectWorkerType

type ZoneTagGetResponseResourceTaggingTaggedResourceObjectWorkerType string
const (
	ZoneTagGetResponseResourceTaggingTaggedResourceObjectWorkerTypeWorker ZoneTagGetResponseResourceTaggingTaggedResourceObjectWorkerType = "worker"
)

func (ZoneTagGetResponseResourceTaggingTaggedResourceObjectWorkerType) IsKnown

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

type ZoneTagGetResponseResourceTaggingTaggedResourceObjectWorkerVersionType

type ZoneTagGetResponseResourceTaggingTaggedResourceObjectWorkerVersionType string
const (
	ZoneTagGetResponseResourceTaggingTaggedResourceObjectWorkerVersionTypeWorkerVersion ZoneTagGetResponseResourceTaggingTaggedResourceObjectWorkerVersionType = "worker_version"
)

func (ZoneTagGetResponseResourceTaggingTaggedResourceObjectWorkerVersionType) IsKnown

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

type ZoneTagGetResponseResourceTaggingTaggedResourceObjectZoneType

type ZoneTagGetResponseResourceTaggingTaggedResourceObjectZoneType string
const (
	ZoneTagGetResponseResourceTaggingTaggedResourceObjectZoneTypeZone ZoneTagGetResponseResourceTaggingTaggedResourceObjectZoneType = "zone"
)

func (ZoneTagGetResponseResourceTaggingTaggedResourceObjectZoneType) IsKnown

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"
	ZoneTagGetResponseTypeResourceShare            ZoneTagGetResponseType = "resource_share"
	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

Retrieves tags for a specific zone-level resource.

func (*ZoneTagService) Update

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

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"
)

func (ZoneTagUpdateParamsBodyResourceTaggingSetTagsRequestZoneLevelAccessApplicationPolicyResourceType) IsKnown

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

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"
)

func (ZoneTagUpdateParamsBodyResourceTaggingSetTagsRequestZoneLevelBaseResourceType) IsKnown

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

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

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

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

type ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectAIGatewayType

type ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectAIGatewayType string
const (
	ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectAIGatewayTypeAIGateway ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectAIGatewayType = "ai_gateway"
)

func (ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectAIGatewayType) IsKnown

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

type ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectAPIGatewayOperationType

type ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectAPIGatewayOperationType string
const (
	ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectAPIGatewayOperationTypeAPIGatewayOperation ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectAPIGatewayOperationType = "api_gateway_operation"
)

func (ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectAPIGatewayOperationType) IsKnown

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

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

type ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectAccessApplicationPolicyType

type ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectAccessApplicationPolicyType string
const (
	ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectAccessApplicationPolicyTypeAccessApplicationPolicy ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectAccessApplicationPolicyType = "access_application_policy"
)

func (ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectAccessApplicationPolicyType) IsKnown

type ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectAccessApplicationType

type ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectAccessApplicationType string
const (
	ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectAccessApplicationTypeAccessApplication ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectAccessApplicationType = "access_application"
)

func (ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectAccessApplicationType) IsKnown

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

type ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectAccessGroupType

type ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectAccessGroupType string
const (
	ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectAccessGroupTypeAccessGroup ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectAccessGroupType = "access_group"
)

func (ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectAccessGroupType) IsKnown

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

type ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectAccountType

type ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectAccountType string
const (
	ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectAccountTypeAccount ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectAccountType = "account"
)

func (ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectAccountType) IsKnown

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

type ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectAlertingPolicyType

type ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectAlertingPolicyType string
const (
	ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectAlertingPolicyTypeAlertingPolicy ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectAlertingPolicyType = "alerting_policy"
)

func (ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectAlertingPolicyType) IsKnown

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

type ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectAlertingWebhookType

type ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectAlertingWebhookType string
const (
	ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectAlertingWebhookTypeAlertingWebhook ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectAlertingWebhookType = "alerting_webhook"
)

func (ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectAlertingWebhookType) IsKnown

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

type ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectCloudflaredTunnelType

type ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectCloudflaredTunnelType string
const (
	ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectCloudflaredTunnelTypeCloudflaredTunnel ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectCloudflaredTunnelType = "cloudflared_tunnel"
)

func (ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectCloudflaredTunnelType) IsKnown

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

type ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectCustomCertificateType

type ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectCustomCertificateType string
const (
	ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectCustomCertificateTypeCustomCertificate ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectCustomCertificateType = "custom_certificate"
)

func (ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectCustomCertificateType) IsKnown

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

type ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectCustomHostnameType

type ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectCustomHostnameType string
const (
	ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectCustomHostnameTypeCustomHostname ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectCustomHostnameType = "custom_hostname"
)

func (ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectCustomHostnameType) IsKnown

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

type ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectD1DatabaseType

type ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectD1DatabaseType string
const (
	ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectD1DatabaseTypeD1Database ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectD1DatabaseType = "d1_database"
)

func (ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectD1DatabaseType) IsKnown

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

type ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectDNSRecordType

type ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectDNSRecordType string
const (
	ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectDNSRecordTypeDNSRecord ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectDNSRecordType = "dns_record"
)

func (ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectDNSRecordType) IsKnown

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

type ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectDurableObjectNamespaceType

type ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectDurableObjectNamespaceType string
const (
	ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectDurableObjectNamespaceTypeDurableObjectNamespace ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectDurableObjectNamespaceType = "durable_object_namespace"
)

func (ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectDurableObjectNamespaceType) IsKnown

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

type ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectGatewayListType

type ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectGatewayListType string
const (
	ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectGatewayListTypeGatewayList ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectGatewayListType = "gateway_list"
)

func (ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectGatewayListType) IsKnown

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

type ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectGatewayRuleType

type ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectGatewayRuleType string
const (
	ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectGatewayRuleTypeGatewayRule ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectGatewayRuleType = "gateway_rule"
)

func (ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectGatewayRuleType) IsKnown

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

type ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectImageType

type ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectImageType string
const (
	ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectImageTypeImage ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectImageType = "image"
)

func (ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectImageType) IsKnown

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

type ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectKVNamespaceType

type ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectKVNamespaceType string
const (
	ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectKVNamespaceTypeKVNamespace ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectKVNamespaceType = "kv_namespace"
)

func (ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectKVNamespaceType) IsKnown

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

type ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectManagedClientCertificateType

type ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectManagedClientCertificateType string
const (
	ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectManagedClientCertificateTypeManagedClientCertificate ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectManagedClientCertificateType = "managed_client_certificate"
)

func (ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectManagedClientCertificateType) IsKnown

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

type ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectQueueType

type ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectQueueType string
const (
	ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectQueueTypeQueue ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectQueueType = "queue"
)

func (ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectQueueType) IsKnown

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

type ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectR2BucketType

type ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectR2BucketType string
const (
	ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectR2BucketTypeR2Bucket ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectR2BucketType = "r2_bucket"
)

func (ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectR2BucketType) IsKnown

type ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectResourceShare

type ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectResourceShare 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 ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectResourceShareType `json:"type" api:"required"`
	JSON zoneTagUpdateResponseResourceTaggingTaggedResourceObjectResourceShareJSON `json:"-"`
}

Response for resource_share resources

func (*ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectResourceShare) UnmarshalJSON

type ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectResourceShareType

type ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectResourceShareType string
const (
	ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectResourceShareTypeResourceShare ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectResourceShareType = "resource_share"
)

func (ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectResourceShareType) IsKnown

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

type ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectStreamLiveInputType

type ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectStreamLiveInputType string
const (
	ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectStreamLiveInputTypeStreamLiveInput ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectStreamLiveInputType = "stream_live_input"
)

func (ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectStreamLiveInputType) IsKnown

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

type ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectStreamVideoType

type ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectStreamVideoType string
const (
	ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectStreamVideoTypeStreamVideo ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectStreamVideoType = "stream_video"
)

func (ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectStreamVideoType) IsKnown

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

type ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectWorkerType

type ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectWorkerType string
const (
	ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectWorkerTypeWorker ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectWorkerType = "worker"
)

func (ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectWorkerType) IsKnown

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

type ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectWorkerVersionType

type ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectWorkerVersionType string
const (
	ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectWorkerVersionTypeWorkerVersion ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectWorkerVersionType = "worker_version"
)

func (ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectWorkerVersionType) IsKnown

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

type ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectZoneType

type ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectZoneType string
const (
	ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectZoneTypeZone ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectZoneType = "zone"
)

func (ZoneTagUpdateResponseResourceTaggingTaggedResourceObjectZoneType) IsKnown

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"
	ZoneTagUpdateResponseTypeResourceShare            ZoneTagUpdateResponseType = "resource_share"
	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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL