usageevent

package
v3.45.0 Latest Latest
Warning

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

Go to latest
Published: Feb 6, 2026 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type BatchIngestEventParams

type BatchIngestEventParams struct {
	DeduplicationId string                 `json:"deduplication_id"`
	SubscriptionId  string                 `json:"subscription_id"`
	UsageTimestamp  *int64                 `json:"usage_timestamp"`
	Properties      map[string]interface{} `json:"properties"`
}

type BatchIngestRequestParams

type BatchIngestRequestParams struct {
	Events []*BatchIngestEventParams `json:"events,omitempty"`
}

type CreateRequestParams

type CreateRequestParams struct {
	DeduplicationId string                 `json:"deduplication_id"`
	SubscriptionId  string                 `json:"subscription_id"`
	UsageTimestamp  *int64                 `json:"usage_timestamp"`
	Properties      map[string]interface{} `json:"properties"`
}

type UsageEvent

type UsageEvent struct {
	SubscriptionId  string          `json:"subscription_id"`
	DeduplicationId string          `json:"deduplication_id"`
	UsageTimestamp  int64           `json:"usage_timestamp"`
	Properties      json.RawMessage `json:"properties"`
	Object          string          `json:"object"`
}

Jump to

Keyboard shortcuts

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