StorageNotificationPayloadFormat enum
payload_format. Picks the body the Pub/Sub message carries for
each event.
- jsonApiV1: full GCS Object resource serialized as JSON in the message body. Pair with downstream code that parses the Object schema (size, contentType, metadata, etc.).
- none: header-only notification — the message attributes still identify the bucket / object / event type, but the body is empty. Use when downstream consumers only need the event signal.
Values
- jsonApiV1 → const StorageNotificationPayloadFormat
-
const StorageNotificationPayloadFormat('JSON_API_V1') - none → const StorageNotificationPayloadFormat
-
const StorageNotificationPayloadFormat('NONE')
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- index → int
-
A numeric identifier for the enumerated value.
no setterinherited
- name → String
-
Available on Enum, provided by the EnumName extension
The name of the enum value.no setter - runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- terraformValue → String
-
The Terraform-side string literal this enum value encodes to.
Convention: emitted exactly as it appears in provider docs (typically
SCREAMING_SNAKE_CASEfor GCP).final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited
Constants
-
values
→ const List<
StorageNotificationPayloadFormat> - A constant List of the values in this enum, in order of their declaration.