Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type GCSEvent ¶
type GCSEvent struct { Bucket string `json:"bucket"` Name string `json:"name"` Metageneration string `json:"metageneration"` ResourceState string `json:"resourceState"` TimeCreated time.Time `json:"timeCreated"` Updated time.Time `json:"updated"` }
GCSEvent is the payload of a GCS event.
type PubSubMessage ¶
type PubSubMessage struct {
Data []byte `json:"data"`
}
PubSubMessage is the payload of a Pub/Sub event. See the documentation for more details: https://cloud.google.com/pubsub/docs/reference/rest/v1/PubsubMessage
Click to show internal directories.
Click to hide internal directories.