Google PubSub V2 Connector > Mappings and mapping tasks with Google PubSub V2 Connector > Google PubSub V2 targets in mappings
  

Google PubSub V2 targets in mappings

To publish message to a Google PubSub target, configure a Google PubSub object as a Target transformation in a mapping.
Specify the name and description of the Google PubSub target. You can configure the target and advanced properties for the target object.
Data Integration supports topics_Create, topics_SetIamPolicy, topics_TestIamPermissions, topic:<topicName>, subscriptions_Create, subscriptions_Seek, subscriptions_SetIamPolicy, subscriptions_TestIamPermissions, subscriptions_ModifyAckDeadline, subscriptions_ModifyPushConfig, snapshots_Create, snapshots_TestiamPolicy, snapshot_SetIamPolicy, topics_Delete, subscriptions_Delete, snapshots_Delete, topics_Update, subscription_Update, and snapshots_Update objects for Google PubSub targets.
The following table describes the properties that you can configure for a Google PubSub target:
Property
Description
Connection
Name of the Google PubSub V2 target connection.
Target Type
Type of the Google PubSub target objects available. You can publish messages to a single Google PubSub target object.
You cannot publish message to multiple objects or parameterize a Google PubSub target object.
Object
Name of the Google PubSub target object.
Operation
Select insert or delete as the target operation. You cannot perform update or upsert operations on a Google PubSub object.
topicName
Specifies the topic where you want to publish the message.
Appears only when you select topics_publish as the target object.
The following table describes the advanced properties that you can configure for a Google PubSub source:
Property
Description
maxMessageForBatch
Specifies the number of messages that the Secure Agent can publish in a batch.
Default is 100. The maximum value is 1000.
Forward Rejected Rows
Determines whether the transformation passes rejected rows to the next transformation or drops rejected rows.
By default, the agent forwards rejected rows to the next transformation.