Documentation
¶
Overview ¶
Package storage implements the Storage domain.
Index ¶
- func NewClient(conn *rpcc.Conn) *domainClient
- type AttributionReportingAggregatableDebugReportingConfig
- type AttributionReportingAggregatableDebugReportingData
- type AttributionReportingAggregatableDedupKey
- type AttributionReportingAggregatableResult
- type AttributionReportingAggregatableTriggerData
- type AttributionReportingAggregatableValueDictEntry
- type AttributionReportingAggregatableValueEntry
- type AttributionReportingAggregationKeysEntry
- type AttributionReportingEventLevelResult
- type AttributionReportingEventReportWindows
- type AttributionReportingEventTriggerData
- type AttributionReportingFilterConfig
- type AttributionReportingFilterDataEntry
- type AttributionReportingFilterPair
- type AttributionReportingSourceRegisteredClient
- type AttributionReportingSourceRegisteredReply
- type AttributionReportingSourceRegistration
- type AttributionReportingSourceRegistrationResult
- type AttributionReportingSourceRegistrationTimeConfig
- type AttributionReportingSourceType
- type AttributionReportingTriggerDataMatching
- type AttributionReportingTriggerRegisteredClient
- type AttributionReportingTriggerRegisteredReply
- type AttributionReportingTriggerRegistration
- type AttributionReportingTriggerSpec
- type AttributionScopesData
- type Bucket
- type BucketCreatedOrUpdatedClient
- type BucketCreatedOrUpdatedReply
- type BucketDeletedClient
- type BucketDeletedReply
- type BucketInfo
- type BucketsDurability
- type CacheStorageContentUpdatedClient
- type CacheStorageContentUpdatedReply
- type CacheStorageListUpdatedClient
- type CacheStorageListUpdatedReply
- type ClearCookiesArgs
- type ClearDataForOriginArgs
- type ClearDataForStorageKeyArgs
- type ClearSharedStorageEntriesArgs
- type ClearTrustTokensArgs
- type ClearTrustTokensReply
- type DeleteSharedStorageEntryArgs
- type DeleteStorageBucketArgs
- type GetCookiesArgs
- type GetCookiesReply
- type GetInterestGroupDetailsArgs
- type GetInterestGroupDetailsReply
- type GetRelatedWebsiteSetsReply
- type GetSharedStorageEntriesArgs
- type GetSharedStorageEntriesReply
- type GetSharedStorageMetadataArgs
- type GetSharedStorageMetadataReply
- type GetStorageKeyForFrameArgs
- type GetStorageKeyForFrameReply
- type GetTrustTokensReply
- type GetUsageAndQuotaArgs
- type GetUsageAndQuotaReply
- type IndexedDBContentUpdatedClient
- type IndexedDBContentUpdatedReply
- type IndexedDBListUpdatedClient
- type IndexedDBListUpdatedReply
- type InterestGroupAccessType
- type InterestGroupAccessedClient
- type InterestGroupAccessedReply
- type InterestGroupAuctionEventOccurredClient
- type InterestGroupAuctionEventOccurredReply
- type InterestGroupAuctionEventType
- type InterestGroupAuctionFetchType
- type InterestGroupAuctionID
- type InterestGroupAuctionNetworkRequestCreatedClient
- type InterestGroupAuctionNetworkRequestCreatedReply
- type OverrideQuotaForOriginArgs
- type RelatedWebsiteSet
- type ResetSharedStorageBudgetArgs
- type RunBounceTrackingMitigationsReply
- type SendPendingAttributionReportsReply
- type SerializedStorageKey
- type SetAttributionReportingLocalTestingModeArgs
- type SetAttributionReportingTrackingArgs
- type SetCookiesArgs
- type SetInterestGroupAuctionTrackingArgs
- type SetInterestGroupTrackingArgs
- type SetSharedStorageEntryArgs
- type SetSharedStorageTrackingArgs
- type SetStorageBucketTrackingArgs
- type SharedStorageAccessParams
- type SharedStorageAccessType
- type SharedStorageAccessedClient
- type SharedStorageAccessedReply
- type SharedStorageEntry
- type SharedStorageMetadata
- type SharedStorageReportingMetadata
- type SharedStorageURLWithMetadata
- type SignedInt64AsBase10
- type TrackCacheStorageForOriginArgs
- type TrackCacheStorageForStorageKeyArgs
- type TrackIndexedDBForOriginArgs
- type TrackIndexedDBForStorageKeyArgs
- type TrustTokens
- type Type
- type UnsignedInt128AsBase16
- type UnsignedInt64AsBase10
- type UntrackCacheStorageForOriginArgs
- type UntrackCacheStorageForStorageKeyArgs
- type UntrackIndexedDBForOriginArgs
- type UntrackIndexedDBForStorageKeyArgs
- type UsageForType
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
Types ¶
type AttributionReportingAggregatableDebugReportingConfig ¶ added in v0.35.0
type AttributionReportingAggregatableDebugReportingConfig struct {
Budget *float64 `json:"budget,omitempty"` // number instead of integer because not all uint32 can be represented by int, only present for source registrations
KeyPiece UnsignedInt128AsBase16 `json:"keyPiece"` // No description.
DebugData []AttributionReportingAggregatableDebugReportingData `json:"debugData"` // No description.
AggregationCoordinatorOrigin *string `json:"aggregationCoordinatorOrigin,omitempty"` // No description.
}
AttributionReportingAggregatableDebugReportingConfig
Note: This type is experimental.
type AttributionReportingAggregatableDebugReportingData ¶ added in v0.35.0
type AttributionReportingAggregatableDebugReportingData struct {
KeyPiece UnsignedInt128AsBase16 `json:"keyPiece"` // No description.
Value float64 `json:"value"` // number instead of integer because not all uint32 can be represented by int
Types []string `json:"types"` // No description.
}
AttributionReportingAggregatableDebugReportingData
Note: This type is experimental.
type AttributionReportingAggregatableDedupKey ¶ added in v0.35.0
type AttributionReportingAggregatableDedupKey struct {
DedupKey *UnsignedInt64AsBase10 `json:"dedupKey,omitempty"` // No description.
Filters AttributionReportingFilterPair `json:"filters"` // No description.
}
AttributionReportingAggregatableDedupKey
Note: This type is experimental.
type AttributionReportingAggregatableResult ¶ added in v0.35.0
type AttributionReportingAggregatableResult string
AttributionReportingAggregatableResult
Note: This type is experimental.
const ( AttributionReportingAggregatableResultNotSet AttributionReportingAggregatableResult = "" AttributionReportingAggregatableResultSuccess AttributionReportingAggregatableResult = "success" AttributionReportingAggregatableResultInternalError AttributionReportingAggregatableResult = "internalError" AttributionReportingAggregatableResultNoCapacityForAttributionDestination AttributionReportingAggregatableResult = "noCapacityForAttributionDestination" AttributionReportingAggregatableResultNoMatchingSources AttributionReportingAggregatableResult = "noMatchingSources" AttributionReportingAggregatableResultExcessiveAttributions AttributionReportingAggregatableResult = "excessiveAttributions" AttributionReportingAggregatableResultExcessiveReportingOrigins AttributionReportingAggregatableResult = "excessiveReportingOrigins" AttributionReportingAggregatableResultNoHistograms AttributionReportingAggregatableResult = "noHistograms" AttributionReportingAggregatableResultInsufficientBudget AttributionReportingAggregatableResult = "insufficientBudget" AttributionReportingAggregatableResultNoMatchingSourceFilterData AttributionReportingAggregatableResult = "noMatchingSourceFilterData" AttributionReportingAggregatableResultNotRegistered AttributionReportingAggregatableResult = "notRegistered" AttributionReportingAggregatableResultProhibitedByBrowserPolicy AttributionReportingAggregatableResult = "prohibitedByBrowserPolicy" AttributionReportingAggregatableResultDeduplicated AttributionReportingAggregatableResult = "deduplicated" AttributionReportingAggregatableResultReportWindowPassed AttributionReportingAggregatableResult = "reportWindowPassed" AttributionReportingAggregatableResultExcessiveReports AttributionReportingAggregatableResult = "excessiveReports" )
AttributionReportingAggregatableResult as enums.
func (AttributionReportingAggregatableResult) String ¶ added in v0.35.0
func (e AttributionReportingAggregatableResult) String() string
func (AttributionReportingAggregatableResult) Valid ¶ added in v0.35.0
func (e AttributionReportingAggregatableResult) Valid() bool
type AttributionReportingAggregatableTriggerData ¶ added in v0.35.0
type AttributionReportingAggregatableTriggerData struct {
KeyPiece UnsignedInt128AsBase16 `json:"keyPiece"` // No description.
SourceKeys []string `json:"sourceKeys"` // No description.
Filters AttributionReportingFilterPair `json:"filters"` // No description.
}
AttributionReportingAggregatableTriggerData
Note: This type is experimental.
type AttributionReportingAggregatableValueDictEntry ¶ added in v0.35.0
type AttributionReportingAggregatableValueDictEntry struct {
Key string `json:"key"` // No description.
Value float64 `json:"value"` // number instead of integer because not all uint32 can be represented by int
FilteringID UnsignedInt64AsBase10 `json:"filteringId"` // No description.
}
AttributionReportingAggregatableValueDictEntry
Note: This type is experimental.
type AttributionReportingAggregatableValueEntry ¶ added in v0.35.0
type AttributionReportingAggregatableValueEntry struct {
Values []AttributionReportingAggregatableValueDictEntry `json:"values"` // No description.
Filters AttributionReportingFilterPair `json:"filters"` // No description.
}
AttributionReportingAggregatableValueEntry
Note: This type is experimental.
type AttributionReportingAggregationKeysEntry ¶ added in v0.35.0
type AttributionReportingAggregationKeysEntry struct {
Key string `json:"key"` // No description.
Value UnsignedInt128AsBase16 `json:"value"` // No description.
}
AttributionReportingAggregationKeysEntry
Note: This type is experimental.
type AttributionReportingEventLevelResult ¶ added in v0.35.0
type AttributionReportingEventLevelResult string
AttributionReportingEventLevelResult
Note: This type is experimental.
const ( AttributionReportingEventLevelResultNotSet AttributionReportingEventLevelResult = "" AttributionReportingEventLevelResultSuccess AttributionReportingEventLevelResult = "success" AttributionReportingEventLevelResultSuccessDroppedLowerPriority AttributionReportingEventLevelResult = "successDroppedLowerPriority" AttributionReportingEventLevelResultInternalError AttributionReportingEventLevelResult = "internalError" AttributionReportingEventLevelResultNoCapacityForAttributionDestination AttributionReportingEventLevelResult = "noCapacityForAttributionDestination" AttributionReportingEventLevelResultNoMatchingSources AttributionReportingEventLevelResult = "noMatchingSources" AttributionReportingEventLevelResultDeduplicated AttributionReportingEventLevelResult = "deduplicated" AttributionReportingEventLevelResultExcessiveAttributions AttributionReportingEventLevelResult = "excessiveAttributions" AttributionReportingEventLevelResultPriorityTooLow AttributionReportingEventLevelResult = "priorityTooLow" AttributionReportingEventLevelResultNeverAttributedSource AttributionReportingEventLevelResult = "neverAttributedSource" AttributionReportingEventLevelResultExcessiveReportingOrigins AttributionReportingEventLevelResult = "excessiveReportingOrigins" AttributionReportingEventLevelResultNoMatchingSourceFilterData AttributionReportingEventLevelResult = "noMatchingSourceFilterData" AttributionReportingEventLevelResultProhibitedByBrowserPolicy AttributionReportingEventLevelResult = "prohibitedByBrowserPolicy" AttributionReportingEventLevelResultNoMatchingConfigurations AttributionReportingEventLevelResult = "noMatchingConfigurations" AttributionReportingEventLevelResultExcessiveReports AttributionReportingEventLevelResult = "excessiveReports" AttributionReportingEventLevelResultFalselyAttributedSource AttributionReportingEventLevelResult = "falselyAttributedSource" AttributionReportingEventLevelResultReportWindowPassed AttributionReportingEventLevelResult = "reportWindowPassed" AttributionReportingEventLevelResultNotRegistered AttributionReportingEventLevelResult = "notRegistered" AttributionReportingEventLevelResultReportWindowNotStarted AttributionReportingEventLevelResult = "reportWindowNotStarted" AttributionReportingEventLevelResultNoMatchingTriggerData AttributionReportingEventLevelResult = "noMatchingTriggerData" )
AttributionReportingEventLevelResult as enums.
func (AttributionReportingEventLevelResult) String ¶ added in v0.35.0
func (e AttributionReportingEventLevelResult) String() string
func (AttributionReportingEventLevelResult) Valid ¶ added in v0.35.0
func (e AttributionReportingEventLevelResult) Valid() bool
type AttributionReportingEventReportWindows ¶ added in v0.35.0
type AttributionReportingEventReportWindows struct {
Start int `json:"start"` // duration in seconds
Ends []int `json:"ends"` // duration in seconds
}
AttributionReportingEventReportWindows
Note: This type is experimental.
type AttributionReportingEventTriggerData ¶ added in v0.35.0
type AttributionReportingEventTriggerData struct {
Data UnsignedInt64AsBase10 `json:"data"` // No description.
Priority SignedInt64AsBase10 `json:"priority"` // No description.
DedupKey *UnsignedInt64AsBase10 `json:"dedupKey,omitempty"` // No description.
Filters AttributionReportingFilterPair `json:"filters"` // No description.
}
AttributionReportingEventTriggerData
Note: This type is experimental.
type AttributionReportingFilterConfig ¶ added in v0.35.0
type AttributionReportingFilterConfig struct {
FilterValues []AttributionReportingFilterDataEntry `json:"filterValues"` // No description.
LookbackWindow *int `json:"lookbackWindow,omitempty"` // duration in seconds
}
AttributionReportingFilterConfig
Note: This type is experimental.
type AttributionReportingFilterDataEntry ¶ added in v0.35.0
type AttributionReportingFilterDataEntry struct {
Key string `json:"key"` // No description.
Values []string `json:"values"` // No description.
}
AttributionReportingFilterDataEntry
Note: This type is experimental.
type AttributionReportingFilterPair ¶ added in v0.35.0
type AttributionReportingFilterPair struct {
Filters []AttributionReportingFilterConfig `json:"filters"` // No description.
NotFilters []AttributionReportingFilterConfig `json:"notFilters"` // No description.
}
AttributionReportingFilterPair
Note: This type is experimental.
type AttributionReportingSourceRegisteredClient ¶ added in v0.35.0
type AttributionReportingSourceRegisteredClient interface {
// Recv calls RecvMsg on rpcc.Stream, blocks until the event is
// triggered, context canceled or connection closed.
Recv() (*AttributionReportingSourceRegisteredReply, error)
rpcc.Stream
}
AttributionReportingSourceRegisteredClient is a client for AttributionReportingSourceRegistered events.
type AttributionReportingSourceRegisteredReply ¶ added in v0.35.0
type AttributionReportingSourceRegisteredReply struct {
Registration AttributionReportingSourceRegistration `json:"registration"` // No description.
Result AttributionReportingSourceRegistrationResult `json:"result"` // No description.
}
AttributionReportingSourceRegisteredReply is the reply for AttributionReportingSourceRegistered events.
type AttributionReportingSourceRegistration ¶ added in v0.35.0
type AttributionReportingSourceRegistration struct {
Time network.TimeSinceEpoch `json:"time"` // No description.
Expiry int `json:"expiry"` // duration in seconds
TriggerSpecs []AttributionReportingTriggerSpec `json:"triggerSpecs"` // No description.
AggregatableReportWindow int `json:"aggregatableReportWindow"` // duration in seconds
Type AttributionReportingSourceType `json:"type"` // No description.
SourceOrigin string `json:"sourceOrigin"` // No description.
ReportingOrigin string `json:"reportingOrigin"` // No description.
DestinationSites []string `json:"destinationSites"` // No description.
EventID UnsignedInt64AsBase10 `json:"eventId"` // No description.
Priority SignedInt64AsBase10 `json:"priority"` // No description.
FilterData []AttributionReportingFilterDataEntry `json:"filterData"` // No description.
AggregationKeys []AttributionReportingAggregationKeysEntry `json:"aggregationKeys"` // No description.
DebugKey *UnsignedInt64AsBase10 `json:"debugKey,omitempty"` // No description.
TriggerDataMatching AttributionReportingTriggerDataMatching `json:"triggerDataMatching"` // No description.
DestinationLimitPriority SignedInt64AsBase10 `json:"destinationLimitPriority"` // No description.
AggregatableDebugReportingConfig AttributionReportingAggregatableDebugReportingConfig `json:"aggregatableDebugReportingConfig"` // No description.
ScopesData *AttributionScopesData `json:"scopesData,omitempty"` // No description.
}
AttributionReportingSourceRegistration
Note: This type is experimental.
type AttributionReportingSourceRegistrationResult ¶ added in v0.35.0
type AttributionReportingSourceRegistrationResult string
AttributionReportingSourceRegistrationResult
Note: This type is experimental.
const ( AttributionReportingSourceRegistrationResultNotSet AttributionReportingSourceRegistrationResult = "" AttributionReportingSourceRegistrationResultSuccess AttributionReportingSourceRegistrationResult = "success" AttributionReportingSourceRegistrationResultInternalError AttributionReportingSourceRegistrationResult = "internalError" AttributionReportingSourceRegistrationResultInsufficientSourceCapacity AttributionReportingSourceRegistrationResult = "insufficientSourceCapacity" AttributionReportingSourceRegistrationResultInsufficientUniqueDestinationCapacity AttributionReportingSourceRegistrationResult = "insufficientUniqueDestinationCapacity" AttributionReportingSourceRegistrationResultExcessiveReportingOrigins AttributionReportingSourceRegistrationResult = "excessiveReportingOrigins" AttributionReportingSourceRegistrationResultProhibitedByBrowserPolicy AttributionReportingSourceRegistrationResult = "prohibitedByBrowserPolicy" AttributionReportingSourceRegistrationResultSuccessNoised AttributionReportingSourceRegistrationResult = "successNoised" AttributionReportingSourceRegistrationResultDestinationReportingLimitReached AttributionReportingSourceRegistrationResult = "destinationReportingLimitReached" AttributionReportingSourceRegistrationResultDestinationGlobalLimitReached AttributionReportingSourceRegistrationResult = "destinationGlobalLimitReached" AttributionReportingSourceRegistrationResultDestinationBothLimitsReached AttributionReportingSourceRegistrationResult = "destinationBothLimitsReached" AttributionReportingSourceRegistrationResultReportingOriginsPerSiteLimitReached AttributionReportingSourceRegistrationResult = "reportingOriginsPerSiteLimitReached" AttributionReportingSourceRegistrationResultExceedsMaxChannelCapacity AttributionReportingSourceRegistrationResult = "exceedsMaxChannelCapacity" AttributionReportingSourceRegistrationResultExceedsMaxScopesChannelCapacity AttributionReportingSourceRegistrationResult = "exceedsMaxScopesChannelCapacity" AttributionReportingSourceRegistrationResultExceedsMaxTriggerStateCardinality AttributionReportingSourceRegistrationResult = "exceedsMaxTriggerStateCardinality" AttributionReportingSourceRegistrationResultExceedsMaxEventStatesLimit AttributionReportingSourceRegistrationResult = "exceedsMaxEventStatesLimit" AttributionReportingSourceRegistrationResultDestinationPerDayReportingLimitReached AttributionReportingSourceRegistrationResult = "destinationPerDayReportingLimitReached" )
AttributionReportingSourceRegistrationResult as enums.
func (AttributionReportingSourceRegistrationResult) String ¶ added in v0.35.0
func (e AttributionReportingSourceRegistrationResult) String() string
func (AttributionReportingSourceRegistrationResult) Valid ¶ added in v0.35.0
func (e AttributionReportingSourceRegistrationResult) Valid() bool
type AttributionReportingSourceRegistrationTimeConfig ¶ added in v0.35.0
type AttributionReportingSourceRegistrationTimeConfig string
AttributionReportingSourceRegistrationTimeConfig
Note: This type is experimental.
const ( AttributionReportingSourceRegistrationTimeConfigNotSet AttributionReportingSourceRegistrationTimeConfig = "" AttributionReportingSourceRegistrationTimeConfigInclude AttributionReportingSourceRegistrationTimeConfig = "include" AttributionReportingSourceRegistrationTimeConfigExclude AttributionReportingSourceRegistrationTimeConfig = "exclude" )
AttributionReportingSourceRegistrationTimeConfig as enums.
func (AttributionReportingSourceRegistrationTimeConfig) String ¶ added in v0.35.0
func (e AttributionReportingSourceRegistrationTimeConfig) String() string
func (AttributionReportingSourceRegistrationTimeConfig) Valid ¶ added in v0.35.0
func (e AttributionReportingSourceRegistrationTimeConfig) Valid() bool
type AttributionReportingSourceType ¶ added in v0.35.0
type AttributionReportingSourceType string
AttributionReportingSourceType
Note: This type is experimental.
const ( AttributionReportingSourceTypeNotSet AttributionReportingSourceType = "" AttributionReportingSourceTypeEvent AttributionReportingSourceType = "event" )
AttributionReportingSourceType as enums.
func (AttributionReportingSourceType) String ¶ added in v0.35.0
func (e AttributionReportingSourceType) String() string
func (AttributionReportingSourceType) Valid ¶ added in v0.35.0
func (e AttributionReportingSourceType) Valid() bool
type AttributionReportingTriggerDataMatching ¶ added in v0.35.0
type AttributionReportingTriggerDataMatching string
AttributionReportingTriggerDataMatching
Note: This type is experimental.
const ( AttributionReportingTriggerDataMatchingNotSet AttributionReportingTriggerDataMatching = "" AttributionReportingTriggerDataMatchingExact AttributionReportingTriggerDataMatching = "exact" AttributionReportingTriggerDataMatchingModulus AttributionReportingTriggerDataMatching = "modulus" )
AttributionReportingTriggerDataMatching as enums.
func (AttributionReportingTriggerDataMatching) String ¶ added in v0.35.0
func (e AttributionReportingTriggerDataMatching) String() string
func (AttributionReportingTriggerDataMatching) Valid ¶ added in v0.35.0
func (e AttributionReportingTriggerDataMatching) Valid() bool
type AttributionReportingTriggerRegisteredClient ¶ added in v0.35.0
type AttributionReportingTriggerRegisteredClient interface {
// Recv calls RecvMsg on rpcc.Stream, blocks until the event is
// triggered, context canceled or connection closed.
Recv() (*AttributionReportingTriggerRegisteredReply, error)
rpcc.Stream
}
AttributionReportingTriggerRegisteredClient is a client for AttributionReportingTriggerRegistered events.
type AttributionReportingTriggerRegisteredReply ¶ added in v0.35.0
type AttributionReportingTriggerRegisteredReply struct {
Registration AttributionReportingTriggerRegistration `json:"registration"` // No description.
EventLevel AttributionReportingEventLevelResult `json:"eventLevel"` // No description.
Aggregatable AttributionReportingAggregatableResult `json:"aggregatable"` // No description.
}
AttributionReportingTriggerRegisteredReply is the reply for AttributionReportingTriggerRegistered events.
type AttributionReportingTriggerRegistration ¶ added in v0.35.0
type AttributionReportingTriggerRegistration struct {
Filters AttributionReportingFilterPair `json:"filters"` // No description.
DebugKey *UnsignedInt64AsBase10 `json:"debugKey,omitempty"` // No description.
AggregatableDedupKeys []AttributionReportingAggregatableDedupKey `json:"aggregatableDedupKeys"` // No description.
EventTriggerData []AttributionReportingEventTriggerData `json:"eventTriggerData"` // No description.
AggregatableTriggerData []AttributionReportingAggregatableTriggerData `json:"aggregatableTriggerData"` // No description.
AggregatableValues []AttributionReportingAggregatableValueEntry `json:"aggregatableValues"` // No description.
AggregatableFilteringIDMaxBytes int `json:"aggregatableFilteringIdMaxBytes"` // No description.
DebugReporting bool `json:"debugReporting"` // No description.
AggregationCoordinatorOrigin *string `json:"aggregationCoordinatorOrigin,omitempty"` // No description.
SourceRegistrationTimeConfig AttributionReportingSourceRegistrationTimeConfig `json:"sourceRegistrationTimeConfig"` // No description.
TriggerContextID *string `json:"triggerContextId,omitempty"` // No description.
AggregatableDebugReportingConfig AttributionReportingAggregatableDebugReportingConfig `json:"aggregatableDebugReportingConfig"` // No description.
Scopes []string `json:"scopes"` // No description.
}
AttributionReportingTriggerRegistration
Note: This type is experimental.
type AttributionReportingTriggerSpec ¶ added in v0.35.0
type AttributionReportingTriggerSpec struct {
TriggerData []float64 `json:"triggerData"` // number instead of integer because not all uint32 can be represented by int
EventReportWindows AttributionReportingEventReportWindows `json:"eventReportWindows"` // No description.
}
AttributionReportingTriggerSpec
Note: This type is experimental.
type AttributionScopesData ¶ added in v0.35.0
type AttributionScopesData struct {
Values []string `json:"values"` // No description.
Limit float64 `json:"limit"` // number instead of integer because not all uint32 can be represented by int
MaxEventStates float64 `json:"maxEventStates"` // No description.
}
AttributionScopesData
Note: This type is experimental.
type Bucket ¶ added in v0.35.0
type Bucket struct {
StorageKey SerializedStorageKey `json:"storageKey"` // No description.
Name *string `json:"name,omitempty"` // If not specified, it is the default bucket of the storageKey.
}
Bucket
type BucketCreatedOrUpdatedClient ¶ added in v0.35.0
type BucketCreatedOrUpdatedClient interface {
// Recv calls RecvMsg on rpcc.Stream, blocks until the event is
// triggered, context canceled or connection closed.
Recv() (*BucketCreatedOrUpdatedReply, error)
rpcc.Stream
}
BucketCreatedOrUpdatedClient is a client for StorageBucketCreatedOrUpdated events.
type BucketCreatedOrUpdatedReply ¶ added in v0.35.0
type BucketCreatedOrUpdatedReply struct {
BucketInfo BucketInfo `json:"bucketInfo"` // No description.
}
BucketCreatedOrUpdatedReply is the reply for StorageBucketCreatedOrUpdated events.
type BucketDeletedClient ¶ added in v0.35.0
type BucketDeletedClient interface {
// Recv calls RecvMsg on rpcc.Stream, blocks until the event is
// triggered, context canceled or connection closed.
Recv() (*BucketDeletedReply, error)
rpcc.Stream
}
BucketDeletedClient is a client for StorageBucketDeleted events.
type BucketDeletedReply ¶ added in v0.35.0
type BucketDeletedReply struct {
BucketID string `json:"bucketId"` // No description.
}
BucketDeletedReply is the reply for StorageBucketDeleted events.
type BucketInfo ¶ added in v0.35.0
type BucketInfo struct {
Bucket Bucket `json:"bucket"` // No description.
ID string `json:"id"` // No description.
Expiration network.TimeSinceEpoch `json:"expiration"` // No description.
Quota float64 `json:"quota"` // Storage quota (bytes).
Persistent bool `json:"persistent"` // No description.
Durability BucketsDurability `json:"durability"` // No description.
}
BucketInfo
type BucketsDurability ¶ added in v0.35.0
type BucketsDurability string
BucketsDurability
const ( BucketsDurabilityNotSet BucketsDurability = "" BucketsDurabilityRelaxed BucketsDurability = "relaxed" BucketsDurabilityStrict BucketsDurability = "strict" )
BucketsDurability as enums.
func (BucketsDurability) String ¶ added in v0.35.0
func (e BucketsDurability) String() string
func (BucketsDurability) Valid ¶ added in v0.35.0
func (e BucketsDurability) Valid() bool
type CacheStorageContentUpdatedClient ¶ added in v0.11.2
type CacheStorageContentUpdatedClient interface {
// Recv calls RecvMsg on rpcc.Stream, blocks until the event is
// triggered, context canceled or connection closed.
Recv() (*CacheStorageContentUpdatedReply, error)
rpcc.Stream
}
CacheStorageContentUpdatedClient is a client for CacheStorageContentUpdated events. A cache's contents have been modified.
type CacheStorageContentUpdatedReply ¶ added in v0.11.2
type CacheStorageContentUpdatedReply struct {
Origin string `json:"origin"` // Origin to update.
StorageKey string `json:"storageKey"` // Storage key to update.
BucketID string `json:"bucketId"` // Storage bucket to update.
CacheName string `json:"cacheName"` // Name of cache in origin.
}
CacheStorageContentUpdatedReply is the reply for CacheStorageContentUpdated events.
type CacheStorageListUpdatedClient ¶ added in v0.11.2
type CacheStorageListUpdatedClient interface {
// Recv calls RecvMsg on rpcc.Stream, blocks until the event is
// triggered, context canceled or connection closed.
Recv() (*CacheStorageListUpdatedReply, error)
rpcc.Stream
}
CacheStorageListUpdatedClient is a client for CacheStorageListUpdated events. A cache has been added/deleted.
type CacheStorageListUpdatedReply ¶ added in v0.11.2
type CacheStorageListUpdatedReply struct {
Origin string `json:"origin"` // Origin to update.
StorageKey string `json:"storageKey"` // Storage key to update.
BucketID string `json:"bucketId"` // Storage bucket to update.
}
CacheStorageListUpdatedReply is the reply for CacheStorageListUpdated events.
type ClearCookiesArgs ¶ added in v0.25.0
type ClearCookiesArgs struct {
BrowserContextID *browser.ContextID `json:"browserContextId,omitempty"` // Browser context to use when called on the browser endpoint.
}
ClearCookiesArgs represents the arguments for ClearCookies in the Storage domain.
func NewClearCookiesArgs ¶ added in v0.25.0
func NewClearCookiesArgs() *ClearCookiesArgs
NewClearCookiesArgs initializes ClearCookiesArgs with the required arguments.
func (*ClearCookiesArgs) SetBrowserContextID ¶ added in v0.25.0
func (a *ClearCookiesArgs) SetBrowserContextID(browserContextID browser.ContextID) *ClearCookiesArgs
SetBrowserContextID sets the BrowserContextID optional argument. Browser context to use when called on the browser endpoint.
type ClearDataForOriginArgs ¶
type ClearDataForOriginArgs struct {
Origin string `json:"origin"` // Security origin.
StorageTypes string `json:"storageTypes"` // Comma separated list of StorageType to clear.
}
ClearDataForOriginArgs represents the arguments for ClearDataForOrigin in the Storage domain.
func NewClearDataForOriginArgs ¶
func NewClearDataForOriginArgs(origin string, storageTypes string) *ClearDataForOriginArgs
NewClearDataForOriginArgs initializes ClearDataForOriginArgs with the required arguments.
type ClearDataForStorageKeyArgs ¶ added in v0.35.0
type ClearDataForStorageKeyArgs struct {
StorageKey string `json:"storageKey"` // Storage key.
StorageTypes string `json:"storageTypes"` // Comma separated list of StorageType to clear.
}
ClearDataForStorageKeyArgs represents the arguments for ClearDataForStorageKey in the Storage domain.
func NewClearDataForStorageKeyArgs ¶ added in v0.35.0
func NewClearDataForStorageKeyArgs(storageKey string, storageTypes string) *ClearDataForStorageKeyArgs
NewClearDataForStorageKeyArgs initializes ClearDataForStorageKeyArgs with the required arguments.
type ClearSharedStorageEntriesArgs ¶ added in v0.35.0
type ClearSharedStorageEntriesArgs struct {
}
ClearSharedStorageEntriesArgs represents the arguments for ClearSharedStorageEntries in the Storage domain.
func NewClearSharedStorageEntriesArgs ¶ added in v0.35.0
func NewClearSharedStorageEntriesArgs(ownerOrigin string) *ClearSharedStorageEntriesArgs
NewClearSharedStorageEntriesArgs initializes ClearSharedStorageEntriesArgs with the required arguments.
type ClearTrustTokensArgs ¶ added in v0.31.0
type ClearTrustTokensArgs struct {
IssuerOrigin string `json:"issuerOrigin"` // No description.
}
ClearTrustTokensArgs represents the arguments for ClearTrustTokens in the Storage domain.
func NewClearTrustTokensArgs ¶ added in v0.31.0
func NewClearTrustTokensArgs(issuerOrigin string) *ClearTrustTokensArgs
NewClearTrustTokensArgs initializes ClearTrustTokensArgs with the required arguments.
type ClearTrustTokensReply ¶ added in v0.31.0
type ClearTrustTokensReply struct {
DidDeleteTokens bool `json:"didDeleteTokens"` // True if any tokens were deleted, false otherwise.
}
ClearTrustTokensReply represents the return values for ClearTrustTokens in the Storage domain.
type DeleteSharedStorageEntryArgs ¶ added in v0.35.0
type DeleteSharedStorageEntryArgs struct {
}
DeleteSharedStorageEntryArgs represents the arguments for DeleteSharedStorageEntry in the Storage domain.
func NewDeleteSharedStorageEntryArgs ¶ added in v0.35.0
func NewDeleteSharedStorageEntryArgs(ownerOrigin string, key string) *DeleteSharedStorageEntryArgs
NewDeleteSharedStorageEntryArgs initializes DeleteSharedStorageEntryArgs with the required arguments.
type DeleteStorageBucketArgs ¶ added in v0.35.0
type DeleteStorageBucketArgs struct {
Bucket Bucket `json:"bucket"` // No description.
}
DeleteStorageBucketArgs represents the arguments for DeleteStorageBucket in the Storage domain.
func NewDeleteStorageBucketArgs ¶ added in v0.35.0
func NewDeleteStorageBucketArgs(bucket Bucket) *DeleteStorageBucketArgs
NewDeleteStorageBucketArgs initializes DeleteStorageBucketArgs with the required arguments.
type GetCookiesArgs ¶ added in v0.25.0
type GetCookiesArgs struct {
BrowserContextID *browser.ContextID `json:"browserContextId,omitempty"` // Browser context to use when called on the browser endpoint.
}
GetCookiesArgs represents the arguments for GetCookies in the Storage domain.
func NewGetCookiesArgs ¶ added in v0.25.0
func NewGetCookiesArgs() *GetCookiesArgs
NewGetCookiesArgs initializes GetCookiesArgs with the required arguments.
func (*GetCookiesArgs) SetBrowserContextID ¶ added in v0.25.0
func (a *GetCookiesArgs) SetBrowserContextID(browserContextID browser.ContextID) *GetCookiesArgs
SetBrowserContextID sets the BrowserContextID optional argument. Browser context to use when called on the browser endpoint.
type GetCookiesReply ¶ added in v0.25.0
type GetCookiesReply struct {
Cookies []network.Cookie `json:"cookies"` // Array of cookie objects.
}
GetCookiesReply represents the return values for GetCookies in the Storage domain.
type GetInterestGroupDetailsArgs ¶ added in v0.33.0
type GetInterestGroupDetailsArgs struct {
OwnerOrigin string `json:"ownerOrigin"` // No description.
Name string `json:"name"` // No description.
}
GetInterestGroupDetailsArgs represents the arguments for GetInterestGroupDetails in the Storage domain.
func NewGetInterestGroupDetailsArgs ¶ added in v0.33.0
func NewGetInterestGroupDetailsArgs(ownerOrigin string, name string) *GetInterestGroupDetailsArgs
NewGetInterestGroupDetailsArgs initializes GetInterestGroupDetailsArgs with the required arguments.
type GetInterestGroupDetailsReply ¶ added in v0.33.0
type GetInterestGroupDetailsReply struct {
Details json.RawMessage `json:"details"` // This largely corresponds to: https://wicg.github.io/turtledove/#dictdef-generatebidinterestgroup but has absolute expirationTime instead of relative lifetimeMs and also adds joiningOrigin.
}
GetInterestGroupDetailsReply represents the return values for GetInterestGroupDetails in the Storage domain.
type GetRelatedWebsiteSetsReply ¶ added in v0.35.0
type GetRelatedWebsiteSetsReply struct {
Sets []RelatedWebsiteSet `json:"sets"` // No description.
}
GetRelatedWebsiteSetsReply represents the return values for GetRelatedWebsiteSets in the Storage domain.
type GetSharedStorageEntriesArgs ¶ added in v0.35.0
type GetSharedStorageEntriesArgs struct {
}
GetSharedStorageEntriesArgs represents the arguments for GetSharedStorageEntries in the Storage domain.
func NewGetSharedStorageEntriesArgs ¶ added in v0.35.0
func NewGetSharedStorageEntriesArgs(ownerOrigin string) *GetSharedStorageEntriesArgs
NewGetSharedStorageEntriesArgs initializes GetSharedStorageEntriesArgs with the required arguments.
type GetSharedStorageEntriesReply ¶ added in v0.35.0
type GetSharedStorageEntriesReply struct {
}
GetSharedStorageEntriesReply represents the return values for GetSharedStorageEntries in the Storage domain.
type GetSharedStorageMetadataArgs ¶ added in v0.35.0
type GetSharedStorageMetadataArgs struct {
}
GetSharedStorageMetadataArgs represents the arguments for GetSharedStorageMetadata in the Storage domain.
func NewGetSharedStorageMetadataArgs ¶ added in v0.35.0
func NewGetSharedStorageMetadataArgs(ownerOrigin string) *GetSharedStorageMetadataArgs
NewGetSharedStorageMetadataArgs initializes GetSharedStorageMetadataArgs with the required arguments.
type GetSharedStorageMetadataReply ¶ added in v0.35.0
type GetSharedStorageMetadataReply struct {
}
GetSharedStorageMetadataReply represents the return values for GetSharedStorageMetadata in the Storage domain.
type GetStorageKeyForFrameArgs ¶ added in v0.33.0
GetStorageKeyForFrameArgs represents the arguments for GetStorageKeyForFrame in the Storage domain.
func NewGetStorageKeyForFrameArgs ¶ added in v0.33.0
func NewGetStorageKeyForFrameArgs(frameID page.FrameID) *GetStorageKeyForFrameArgs
NewGetStorageKeyForFrameArgs initializes GetStorageKeyForFrameArgs with the required arguments.
type GetStorageKeyForFrameReply ¶ added in v0.33.0
type GetStorageKeyForFrameReply struct {
StorageKey SerializedStorageKey `json:"storageKey"` // No description.
}
GetStorageKeyForFrameReply represents the return values for GetStorageKeyForFrame in the Storage domain.
type GetTrustTokensReply ¶ added in v0.31.0
type GetTrustTokensReply struct {
Tokens []TrustTokens `json:"tokens"` // No description.
}
GetTrustTokensReply represents the return values for GetTrustTokens in the Storage domain.
type GetUsageAndQuotaArgs ¶
type GetUsageAndQuotaArgs struct {
Origin string `json:"origin"` // Security origin.
}
GetUsageAndQuotaArgs represents the arguments for GetUsageAndQuota in the Storage domain.
func NewGetUsageAndQuotaArgs ¶
func NewGetUsageAndQuotaArgs(origin string) *GetUsageAndQuotaArgs
NewGetUsageAndQuotaArgs initializes GetUsageAndQuotaArgs with the required arguments.
type GetUsageAndQuotaReply ¶
type GetUsageAndQuotaReply struct {
Usage float64 `json:"usage"` // Storage usage (bytes).
Quota float64 `json:"quota"` // Storage quota (bytes).
OverrideActive bool `json:"overrideActive"` // Whether or not the origin has an active storage quota override
UsageBreakdown []UsageForType `json:"usageBreakdown"` // Storage usage per type (bytes).
}
GetUsageAndQuotaReply represents the return values for GetUsageAndQuota in the Storage domain.
type IndexedDBContentUpdatedClient ¶ added in v0.13.3
type IndexedDBContentUpdatedClient interface {
// Recv calls RecvMsg on rpcc.Stream, blocks until the event is
// triggered, context canceled or connection closed.
Recv() (*IndexedDBContentUpdatedReply, error)
rpcc.Stream
}
IndexedDBContentUpdatedClient is a client for IndexedDBContentUpdated events. The origin's IndexedDB object store has been modified.
type IndexedDBContentUpdatedReply ¶ added in v0.13.3
type IndexedDBContentUpdatedReply struct {
Origin string `json:"origin"` // Origin to update.
StorageKey string `json:"storageKey"` // Storage key to update.
BucketID string `json:"bucketId"` // Storage bucket to update.
DatabaseName string `json:"databaseName"` // Database to update.
ObjectStoreName string `json:"objectStoreName"` // ObjectStore to update.
}
IndexedDBContentUpdatedReply is the reply for IndexedDBContentUpdated events.
type IndexedDBListUpdatedClient ¶ added in v0.13.3
type IndexedDBListUpdatedClient interface {
// Recv calls RecvMsg on rpcc.Stream, blocks until the event is
// triggered, context canceled or connection closed.
Recv() (*IndexedDBListUpdatedReply, error)
rpcc.Stream
}
IndexedDBListUpdatedClient is a client for IndexedDBListUpdated events. The origin's IndexedDB database list has been modified.
type IndexedDBListUpdatedReply ¶ added in v0.13.3
type IndexedDBListUpdatedReply struct {
Origin string `json:"origin"` // Origin to update.
StorageKey string `json:"storageKey"` // Storage key to update.
BucketID string `json:"bucketId"` // Storage bucket to update.
}
IndexedDBListUpdatedReply is the reply for IndexedDBListUpdated events.
type InterestGroupAccessType ¶ added in v0.33.0
type InterestGroupAccessType string
InterestGroupAccessType Enum of interest group access types.
const ( InterestGroupAccessTypeNotSet InterestGroupAccessType = "" InterestGroupAccessTypeJoin InterestGroupAccessType = "join" InterestGroupAccessTypeLeave InterestGroupAccessType = "leave" InterestGroupAccessTypeUpdate InterestGroupAccessType = "update" InterestGroupAccessTypeLoaded InterestGroupAccessType = "loaded" InterestGroupAccessTypeBid InterestGroupAccessType = "bid" InterestGroupAccessTypeWin InterestGroupAccessType = "win" InterestGroupAccessTypeAdditionalBid InterestGroupAccessType = "additionalBid" InterestGroupAccessTypeAdditionalBidWin InterestGroupAccessType = "additionalBidWin" InterestGroupAccessTypeTopLevelBid InterestGroupAccessType = "topLevelBid" InterestGroupAccessTypeTopLevelAdditionalBid InterestGroupAccessType = "topLevelAdditionalBid" InterestGroupAccessTypeClear InterestGroupAccessType = "clear" )
InterestGroupAccessType as enums.
func (InterestGroupAccessType) String ¶ added in v0.33.0
func (e InterestGroupAccessType) String() string
func (InterestGroupAccessType) Valid ¶ added in v0.33.0
func (e InterestGroupAccessType) Valid() bool
type InterestGroupAccessedClient ¶ added in v0.33.0
type InterestGroupAccessedClient interface {
// Recv calls RecvMsg on rpcc.Stream, blocks until the event is
// triggered, context canceled or connection closed.
Recv() (*InterestGroupAccessedReply, error)
rpcc.Stream
}
InterestGroupAccessedClient is a client for InterestGroupAccessed events. One of the interest groups was accessed. Note that these events are global to all targets sharing an interest group store.
type InterestGroupAccessedReply ¶ added in v0.33.0
type InterestGroupAccessedReply struct {
AccessTime network.TimeSinceEpoch `json:"accessTime"` // No description.
Type InterestGroupAccessType `json:"type"` // No description.
OwnerOrigin string `json:"ownerOrigin"` // No description.
Name string `json:"name"` // No description.
ComponentSellerOrigin *string `json:"componentSellerOrigin,omitempty"` // For topLevelBid/topLevelAdditionalBid, and when appropriate, win and additionalBidWin
Bid *float64 `json:"bid,omitempty"` // For bid or somethingBid event, if done locally and not on a server.
BidCurrency *string `json:"bidCurrency,omitempty"` // No description.
UniqueAuctionID *InterestGroupAuctionID `json:"uniqueAuctionId,omitempty"` // For non-global events --- links to interestGroupAuctionEvent
}
InterestGroupAccessedReply is the reply for InterestGroupAccessed events.
type InterestGroupAuctionEventOccurredClient ¶ added in v0.35.0
type InterestGroupAuctionEventOccurredClient interface {
// Recv calls RecvMsg on rpcc.Stream, blocks until the event is
// triggered, context canceled or connection closed.
Recv() (*InterestGroupAuctionEventOccurredReply, error)
rpcc.Stream
}
InterestGroupAuctionEventOccurredClient is a client for InterestGroupAuctionEventOccurred events. An auction involving interest groups is taking place. These events are target-specific.
type InterestGroupAuctionEventOccurredReply ¶ added in v0.35.0
type InterestGroupAuctionEventOccurredReply struct {
EventTime network.TimeSinceEpoch `json:"eventTime"` // No description.
Type InterestGroupAuctionEventType `json:"type"` // No description.
UniqueAuctionID InterestGroupAuctionID `json:"uniqueAuctionId"` // No description.
ParentAuctionID *InterestGroupAuctionID `json:"parentAuctionId,omitempty"` // Set for child auctions.
AuctionConfig json.RawMessage `json:"auctionConfig,omitempty"` // Set for started and configResolved
}
InterestGroupAuctionEventOccurredReply is the reply for InterestGroupAuctionEventOccurred events.
type InterestGroupAuctionEventType ¶ added in v0.35.0
type InterestGroupAuctionEventType string
InterestGroupAuctionEventType Enum of auction events.
const ( InterestGroupAuctionEventTypeNotSet InterestGroupAuctionEventType = "" InterestGroupAuctionEventTypeStarted InterestGroupAuctionEventType = "started" InterestGroupAuctionEventTypeConfigResolved InterestGroupAuctionEventType = "configResolved" )
InterestGroupAuctionEventType as enums.
func (InterestGroupAuctionEventType) String ¶ added in v0.35.0
func (e InterestGroupAuctionEventType) String() string
func (InterestGroupAuctionEventType) Valid ¶ added in v0.35.0
func (e InterestGroupAuctionEventType) Valid() bool
type InterestGroupAuctionFetchType ¶ added in v0.35.0
type InterestGroupAuctionFetchType string
InterestGroupAuctionFetchType Enum of network fetches auctions can do.
const ( InterestGroupAuctionFetchTypeNotSet InterestGroupAuctionFetchType = "" InterestGroupAuctionFetchTypeBidderJS InterestGroupAuctionFetchType = "bidderJs" InterestGroupAuctionFetchTypeBidderWASM InterestGroupAuctionFetchType = "bidderWasm" InterestGroupAuctionFetchTypeSellerJS InterestGroupAuctionFetchType = "sellerJs" InterestGroupAuctionFetchTypeBidderTrustedSignals InterestGroupAuctionFetchType = "bidderTrustedSignals" InterestGroupAuctionFetchTypeSellerTrustedSignals InterestGroupAuctionFetchType = "sellerTrustedSignals" )
InterestGroupAuctionFetchType as enums.
func (InterestGroupAuctionFetchType) String ¶ added in v0.35.0
func (e InterestGroupAuctionFetchType) String() string
func (InterestGroupAuctionFetchType) Valid ¶ added in v0.35.0
func (e InterestGroupAuctionFetchType) Valid() bool
type InterestGroupAuctionID ¶ added in v0.35.0
type InterestGroupAuctionID string
InterestGroupAuctionID Protected audience interest group auction identifier.
type InterestGroupAuctionNetworkRequestCreatedClient ¶ added in v0.35.0
type InterestGroupAuctionNetworkRequestCreatedClient interface {
// Recv calls RecvMsg on rpcc.Stream, blocks until the event is
// triggered, context canceled or connection closed.
Recv() (*InterestGroupAuctionNetworkRequestCreatedReply, error)
rpcc.Stream
}
InterestGroupAuctionNetworkRequestCreatedClient is a client for InterestGroupAuctionNetworkRequestCreated events. Specifies which auctions a particular network fetch may be related to, and in what role. Note that it is not ordered with respect to Network.requestWillBeSent (but will happen before loadingFinished loadingFailed).
type InterestGroupAuctionNetworkRequestCreatedReply ¶ added in v0.35.0
type InterestGroupAuctionNetworkRequestCreatedReply struct {
Type InterestGroupAuctionFetchType `json:"type"` // No description.
RequestID network.RequestID `json:"requestId"` // No description.
Auctions []InterestGroupAuctionID `json:"auctions"` // This is the set of the auctions using the worklet that issued this request. In the case of trusted signals, it's possible that only some of them actually care about the keys being queried.
}
InterestGroupAuctionNetworkRequestCreatedReply is the reply for InterestGroupAuctionNetworkRequestCreated events.
type OverrideQuotaForOriginArgs ¶ added in v0.31.0
type OverrideQuotaForOriginArgs struct {
Origin string `json:"origin"` // Security origin.
QuotaSize *float64 `json:"quotaSize,omitempty"` // The quota size (in bytes) to override the original quota with. If this is called multiple times, the overridden quota will be equal to the quotaSize provided in the final call. If this is called without specifying a quotaSize, the quota will be reset to the default value for the specified origin. If this is called multiple times with different origins, the override will be maintained for each origin until it is disabled (called without a quotaSize).
}
OverrideQuotaForOriginArgs represents the arguments for OverrideQuotaForOrigin in the Storage domain.
func NewOverrideQuotaForOriginArgs ¶ added in v0.31.0
func NewOverrideQuotaForOriginArgs(origin string) *OverrideQuotaForOriginArgs
NewOverrideQuotaForOriginArgs initializes OverrideQuotaForOriginArgs with the required arguments.
func (*OverrideQuotaForOriginArgs) SetQuotaSize ¶ added in v0.31.0
func (a *OverrideQuotaForOriginArgs) SetQuotaSize(quotaSize float64) *OverrideQuotaForOriginArgs
SetQuotaSize sets the QuotaSize optional argument. The quota size (in bytes) to override the original quota with. If this is called multiple times, the overridden quota will be equal to the quotaSize provided in the final call. If this is called without specifying a quotaSize, the quota will be reset to the default value for the specified origin. If this is called multiple times with different origins, the override will be maintained for each origin until it is disabled (called without a quotaSize).
type RelatedWebsiteSet ¶ added in v0.35.0
type RelatedWebsiteSet struct {
PrimarySites []string `json:"primarySites"` // The primary site of this set, along with the ccTLDs if there is any.
AssociatedSites []string `json:"associatedSites"` // The associated sites of this set, along with the ccTLDs if there is any.
ServiceSites []string `json:"serviceSites"` // The service sites of this set, along with the ccTLDs if there is any.
}
RelatedWebsiteSet A single Related Website Set object.
Note: This type is experimental.
type ResetSharedStorageBudgetArgs ¶ added in v0.35.0
type ResetSharedStorageBudgetArgs struct {
}
ResetSharedStorageBudgetArgs represents the arguments for ResetSharedStorageBudget in the Storage domain.
func NewResetSharedStorageBudgetArgs ¶ added in v0.35.0
func NewResetSharedStorageBudgetArgs(ownerOrigin string) *ResetSharedStorageBudgetArgs
NewResetSharedStorageBudgetArgs initializes ResetSharedStorageBudgetArgs with the required arguments.
type RunBounceTrackingMitigationsReply ¶ added in v0.35.0
type RunBounceTrackingMitigationsReply struct {
DeletedSites []string `json:"deletedSites"` // No description.
}
RunBounceTrackingMitigationsReply represents the return values for RunBounceTrackingMitigations in the Storage domain.
type SendPendingAttributionReportsReply ¶ added in v0.35.0
type SendPendingAttributionReportsReply struct {
NumSent int `json:"numSent"` // The number of reports that were sent.
}
SendPendingAttributionReportsReply represents the return values for SendPendingAttributionReports in the Storage domain.
type SetAttributionReportingLocalTestingModeArgs ¶ added in v0.35.0
type SetAttributionReportingLocalTestingModeArgs struct {
Enabled bool `json:"enabled"` // If enabled, noise is suppressed and reports are sent immediately.
}
SetAttributionReportingLocalTestingModeArgs represents the arguments for SetAttributionReportingLocalTestingMode in the Storage domain.
func NewSetAttributionReportingLocalTestingModeArgs ¶ added in v0.35.0
func NewSetAttributionReportingLocalTestingModeArgs(enabled bool) *SetAttributionReportingLocalTestingModeArgs
NewSetAttributionReportingLocalTestingModeArgs initializes SetAttributionReportingLocalTestingModeArgs with the required arguments.
type SetAttributionReportingTrackingArgs ¶ added in v0.35.0
type SetAttributionReportingTrackingArgs struct {
Enable bool `json:"enable"` // No description.
}
SetAttributionReportingTrackingArgs represents the arguments for SetAttributionReportingTracking in the Storage domain.
func NewSetAttributionReportingTrackingArgs ¶ added in v0.35.0
func NewSetAttributionReportingTrackingArgs(enable bool) *SetAttributionReportingTrackingArgs
NewSetAttributionReportingTrackingArgs initializes SetAttributionReportingTrackingArgs with the required arguments.
type SetCookiesArgs ¶ added in v0.25.0
type SetCookiesArgs struct {
Cookies []network.CookieParam `json:"cookies"` // Cookies to be set.
BrowserContextID *browser.ContextID `json:"browserContextId,omitempty"` // Browser context to use when called on the browser endpoint.
}
SetCookiesArgs represents the arguments for SetCookies in the Storage domain.
func NewSetCookiesArgs ¶ added in v0.25.0
func NewSetCookiesArgs(cookies []network.CookieParam) *SetCookiesArgs
NewSetCookiesArgs initializes SetCookiesArgs with the required arguments.
func (*SetCookiesArgs) SetBrowserContextID ¶ added in v0.25.0
func (a *SetCookiesArgs) SetBrowserContextID(browserContextID browser.ContextID) *SetCookiesArgs
SetBrowserContextID sets the BrowserContextID optional argument. Browser context to use when called on the browser endpoint.
type SetInterestGroupAuctionTrackingArgs ¶ added in v0.35.0
type SetInterestGroupAuctionTrackingArgs struct {
Enable bool `json:"enable"` // No description.
}
SetInterestGroupAuctionTrackingArgs represents the arguments for SetInterestGroupAuctionTracking in the Storage domain.
func NewSetInterestGroupAuctionTrackingArgs ¶ added in v0.35.0
func NewSetInterestGroupAuctionTrackingArgs(enable bool) *SetInterestGroupAuctionTrackingArgs
NewSetInterestGroupAuctionTrackingArgs initializes SetInterestGroupAuctionTrackingArgs with the required arguments.
type SetInterestGroupTrackingArgs ¶ added in v0.33.0
type SetInterestGroupTrackingArgs struct {
Enable bool `json:"enable"` // No description.
}
SetInterestGroupTrackingArgs represents the arguments for SetInterestGroupTracking in the Storage domain.
func NewSetInterestGroupTrackingArgs ¶ added in v0.33.0
func NewSetInterestGroupTrackingArgs(enable bool) *SetInterestGroupTrackingArgs
NewSetInterestGroupTrackingArgs initializes SetInterestGroupTrackingArgs with the required arguments.
type SetSharedStorageEntryArgs ¶ added in v0.35.0
type SetSharedStorageEntryArgs struct {
}
SetSharedStorageEntryArgs represents the arguments for SetSharedStorageEntry in the Storage domain.
func NewSetSharedStorageEntryArgs ¶ added in v0.35.0
func NewSetSharedStorageEntryArgs(ownerOrigin string, key string, value string) *SetSharedStorageEntryArgs
NewSetSharedStorageEntryArgs initializes SetSharedStorageEntryArgs with the required arguments.
func (*SetSharedStorageEntryArgs) SetIgnoreIfPresent ¶ added in v0.35.0
func (a *SetSharedStorageEntryArgs) SetIgnoreIfPresent(ignoreIfPresent bool) *SetSharedStorageEntryArgs
SetIgnoreIfPresent sets the IgnoreIfPresent optional argument. If `ignoreIfPresent` is included and true, then only sets the entry if `key` doesn't already exist.
type SetSharedStorageTrackingArgs ¶ added in v0.35.0
type SetSharedStorageTrackingArgs struct {
}
SetSharedStorageTrackingArgs represents the arguments for SetSharedStorageTracking in the Storage domain.
func NewSetSharedStorageTrackingArgs ¶ added in v0.35.0
func NewSetSharedStorageTrackingArgs(enable bool) *SetSharedStorageTrackingArgs
NewSetSharedStorageTrackingArgs initializes SetSharedStorageTrackingArgs with the required arguments.
type SetStorageBucketTrackingArgs ¶ added in v0.35.0
type SetStorageBucketTrackingArgs struct {
StorageKey string `json:"storageKey"` // No description.
Enable bool `json:"enable"` // No description.
}
SetStorageBucketTrackingArgs represents the arguments for SetStorageBucketTracking in the Storage domain.
func NewSetStorageBucketTrackingArgs ¶ added in v0.35.0
func NewSetStorageBucketTrackingArgs(storageKey string, enable bool) *SetStorageBucketTrackingArgs
NewSetStorageBucketTrackingArgs initializes SetStorageBucketTrackingArgs with the required arguments.
type SharedStorageAccessParams ¶ added in v0.35.0
type SharedStorageAccessParams struct {
}
SharedStorageAccessParams Bundles the parameters for shared storage access events whose presence/absence can vary according to SharedStorageAccessType.
type SharedStorageAccessType ¶ added in v0.35.0
type SharedStorageAccessType string
SharedStorageAccessType Enum of shared storage access types.
const ( )
SharedStorageAccessType as enums.
func (SharedStorageAccessType) String ¶ added in v0.35.0
func (e SharedStorageAccessType) String() string
func (SharedStorageAccessType) Valid ¶ added in v0.35.0
func (e SharedStorageAccessType) Valid() bool
type SharedStorageAccessedClient ¶ added in v0.35.0
type SharedStorageAccessedClient interface {
// triggered, context canceled or connection closed.
Recv() (*SharedStorageAccessedReply, error)
rpcc.Stream
}
SharedStorageAccessedClient is a client for SharedStorageAccessed events. Shared storage was accessed by the associated page. The following parameters are included in all events.
type SharedStorageAccessedReply ¶ added in v0.35.0
type SharedStorageAccessedReply struct {
}
SharedStorageAccessedReply is the reply for SharedStorageAccessed events.
type SharedStorageEntry ¶ added in v0.35.0
type SharedStorageEntry struct {
}
SharedStorageEntry Struct for a single key-value pair in an origin's shared storage.
type SharedStorageMetadata ¶ added in v0.35.0
type SharedStorageMetadata struct {
}
SharedStorageMetadata Details for an origin's shared storage.
type SharedStorageReportingMetadata ¶ added in v0.35.0
type SharedStorageReportingMetadata struct {
}
SharedStorageReportingMetadata Pair of reporting metadata details for a candidate URL for `selectURL()`.
type SharedStorageURLWithMetadata ¶ added in v0.35.0
type SharedStorageURLWithMetadata struct {
}
SharedStorageURLWithMetadata Bundles a candidate URL with its reporting metadata.
type SignedInt64AsBase10 ¶ added in v0.35.0
type SignedInt64AsBase10 string
SignedInt64AsBase10
Note: This type is experimental.
type TrackCacheStorageForOriginArgs ¶ added in v0.11.1
type TrackCacheStorageForOriginArgs struct {
Origin string `json:"origin"` // Security origin.
}
TrackCacheStorageForOriginArgs represents the arguments for TrackCacheStorageForOrigin in the Storage domain.
func NewTrackCacheStorageForOriginArgs ¶ added in v0.11.1
func NewTrackCacheStorageForOriginArgs(origin string) *TrackCacheStorageForOriginArgs
NewTrackCacheStorageForOriginArgs initializes TrackCacheStorageForOriginArgs with the required arguments.
type TrackCacheStorageForStorageKeyArgs ¶ added in v0.35.0
type TrackCacheStorageForStorageKeyArgs struct {
StorageKey string `json:"storageKey"` // Storage key.
}
TrackCacheStorageForStorageKeyArgs represents the arguments for TrackCacheStorageForStorageKey in the Storage domain.
func NewTrackCacheStorageForStorageKeyArgs ¶ added in v0.35.0
func NewTrackCacheStorageForStorageKeyArgs(storageKey string) *TrackCacheStorageForStorageKeyArgs
NewTrackCacheStorageForStorageKeyArgs initializes TrackCacheStorageForStorageKeyArgs with the required arguments.
type TrackIndexedDBForOriginArgs ¶ added in v0.13.3
type TrackIndexedDBForOriginArgs struct {
Origin string `json:"origin"` // Security origin.
}
TrackIndexedDBForOriginArgs represents the arguments for TrackIndexedDBForOrigin in the Storage domain.
func NewTrackIndexedDBForOriginArgs ¶ added in v0.13.3
func NewTrackIndexedDBForOriginArgs(origin string) *TrackIndexedDBForOriginArgs
NewTrackIndexedDBForOriginArgs initializes TrackIndexedDBForOriginArgs with the required arguments.
type TrackIndexedDBForStorageKeyArgs ¶ added in v0.35.0
type TrackIndexedDBForStorageKeyArgs struct {
StorageKey string `json:"storageKey"` // Storage key.
}
TrackIndexedDBForStorageKeyArgs represents the arguments for TrackIndexedDBForStorageKey in the Storage domain.
func NewTrackIndexedDBForStorageKeyArgs ¶ added in v0.35.0
func NewTrackIndexedDBForStorageKeyArgs(storageKey string) *TrackIndexedDBForStorageKeyArgs
NewTrackIndexedDBForStorageKeyArgs initializes TrackIndexedDBForStorageKeyArgs with the required arguments.
type TrustTokens ¶ added in v0.31.0
type TrustTokens struct {
IssuerOrigin string `json:"issuerOrigin"` // No description.
Count float64 `json:"count"` // No description.
}
TrustTokens Pair of issuer origin and number of available (signed, but not used) Trust Tokens from that issuer.
Note: This type is experimental.
type Type ¶
type Type string
Type Enum of possible storage types.
const ( TypeNotSet Type = "" TypeAppcache Type = "appcache" TypeCookies Type = "cookies" TypeFileSystems Type = "file_systems" TypeIndexeddb Type = "indexeddb" TypeLocalStorage Type = "local_storage" TypeShaderCache Type = "shader_cache" TypeWebsql Type = "websql" TypeServiceWorkers Type = "service_workers" TypeCacheStorage Type = "cache_storage" TypeInterestGroups Type = "interest_groups" TypeStorageBuckets Type = "storage_buckets" TypeAll Type = "all" TypeOther Type = "other" )
Type as enums.
type UnsignedInt128AsBase16 ¶ added in v0.35.0
type UnsignedInt128AsBase16 string
UnsignedInt128AsBase16
Note: This type is experimental.
type UnsignedInt64AsBase10 ¶ added in v0.35.0
type UnsignedInt64AsBase10 string
UnsignedInt64AsBase10
Note: This type is experimental.
type UntrackCacheStorageForOriginArgs ¶ added in v0.11.1
type UntrackCacheStorageForOriginArgs struct {
Origin string `json:"origin"` // Security origin.
}
UntrackCacheStorageForOriginArgs represents the arguments for UntrackCacheStorageForOrigin in the Storage domain.
func NewUntrackCacheStorageForOriginArgs ¶ added in v0.11.1
func NewUntrackCacheStorageForOriginArgs(origin string) *UntrackCacheStorageForOriginArgs
NewUntrackCacheStorageForOriginArgs initializes UntrackCacheStorageForOriginArgs with the required arguments.
type UntrackCacheStorageForStorageKeyArgs ¶ added in v0.35.0
type UntrackCacheStorageForStorageKeyArgs struct {
StorageKey string `json:"storageKey"` // Storage key.
}
UntrackCacheStorageForStorageKeyArgs represents the arguments for UntrackCacheStorageForStorageKey in the Storage domain.
func NewUntrackCacheStorageForStorageKeyArgs ¶ added in v0.35.0
func NewUntrackCacheStorageForStorageKeyArgs(storageKey string) *UntrackCacheStorageForStorageKeyArgs
NewUntrackCacheStorageForStorageKeyArgs initializes UntrackCacheStorageForStorageKeyArgs with the required arguments.
type UntrackIndexedDBForOriginArgs ¶ added in v0.13.3
type UntrackIndexedDBForOriginArgs struct {
Origin string `json:"origin"` // Security origin.
}
UntrackIndexedDBForOriginArgs represents the arguments for UntrackIndexedDBForOrigin in the Storage domain.
func NewUntrackIndexedDBForOriginArgs ¶ added in v0.13.3
func NewUntrackIndexedDBForOriginArgs(origin string) *UntrackIndexedDBForOriginArgs
NewUntrackIndexedDBForOriginArgs initializes UntrackIndexedDBForOriginArgs with the required arguments.
type UntrackIndexedDBForStorageKeyArgs ¶ added in v0.35.0
type UntrackIndexedDBForStorageKeyArgs struct {
StorageKey string `json:"storageKey"` // Storage key.
}
UntrackIndexedDBForStorageKeyArgs represents the arguments for UntrackIndexedDBForStorageKey in the Storage domain.
func NewUntrackIndexedDBForStorageKeyArgs ¶ added in v0.35.0
func NewUntrackIndexedDBForStorageKeyArgs(storageKey string) *UntrackIndexedDBForStorageKeyArgs
NewUntrackIndexedDBForStorageKeyArgs initializes UntrackIndexedDBForStorageKeyArgs with the required arguments.
type UsageForType ¶
type UsageForType struct {
StorageType Type `json:"storageType"` // Name of storage type.
Usage float64 `json:"usage"` // Storage usage (bytes).
}
UsageForType Usage for a storage type.