Stay organized with collections
Save and categorize content based on your preferences.
Specification to configure notifications published to Pub/Sub. Notifications are published to the customer-provided topic using the following PubsubMessage.attributes:
Required. The Topic.name of the Pub/Sub topic to which to publish notifications. Must be of the format: projects/{project}/topics/{topic}. Not matching this format results in an INVALID_ARGUMENT error.
Required. The desired format of the notification message payloads.
EventType
Enum for specifying event types for which notifications are to be published.
Additional event types may be added in the future. Clients should either safely ignore unrecognized event types or explicitly specify which event types they are prepared to accept.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-07-09 UTC."],[],[],null,["# NotificationConfig\n\nSpecification to configure notifications published to Pub/Sub. Notifications are published to the customer-provided topic using the following `PubsubMessage.attributes`:\n\n- `\"eventType\"`: one of the [EventType](/storage-transfer/docs/reference/rest/v1/NotificationConfig#EventType) values\n- `\"payloadFormat\"`: one of the [PayloadFormat](/storage-transfer/docs/reference/rest/v1/NotificationConfig#PayloadFormat) values\n- `\"projectId\"`: the [projectId](/storage-transfer/docs/reference/rest/v1/transferOperations#TransferOperation.FIELDS.project_id) of the `TransferOperation`\n- `\"transferJobName\"`: the [transferJobName](/storage-transfer/docs/reference/rest/v1/transferOperations#TransferOperation.FIELDS.transfer_job_name) of the `TransferOperation`\n- `\"transferOperationName\"`: the [name](/storage-transfer/docs/reference/rest/v1/transferOperations#TransferOperation.FIELDS.name) of the `TransferOperation`\n\nThe `PubsubMessage.data` contains a [TransferOperation](/storage-transfer/docs/reference/rest/v1/transferOperations#TransferOperation) resource formatted according to the specified `PayloadFormat`.\n\nEventType\n---------\n\nEnum for specifying event types for which notifications are to be published.\n\nAdditional event types may be added in the future. Clients should either safely ignore unrecognized event types or explicitly specify which event types they are prepared to accept.\n\nPayloadFormat\n-------------\n\nEnum for specifying the format of a notification message's payload."]]