How-To Guides
...
Integration Guides
Google Cloud Pub/Sub Integrati...
Use Custom Attributes in the Google Cloud Pub/Sub Connector
4min
when integrating the google cloud pub/sub integration guide docid jioc br1r93089p 13i1 connector, you have the option to configure custom attributes review the following use case for using custom attributes use case overview consider a scenario where you have multiple manufacturing sites worldwide, and one manufacturing connect edge instance is connected to each site each manufacturing connect edge instance also has one google cloud pub/sub connector integrated with an outbound connection to categorize the data being sent from manufacturing connect edge to the google cloud platform, you want to add custom attributes to each connector so that you know the origin of the data you will create the following key custom attributes country city site id configure custom attributes to review the entire workflow for setting up an outbound connection with the google cloud pub/sub connector, refer to the google cloud pub/sub integration guide docid jioc br1r93089p 13i1 the steps below focus on configuring the custom attributes for one of the manufacturing connect edge instances described in the use case above to configure custom attributes navigate to integration from the integration pane, click add a connector the add a connector dialog box appears select google cloud pub/sub connector configure the connection parameters to set up a connection with the google service account refer to the google cloud pub/sub integration guide docid jioc br1r93089p 13i1 click the checkbox for show custom attributes the configuration section displays enter the following key/value pairs and click + add for each pair key country value united states key city value chicago key site id value 2463 review the configured custom attributes and all other connection parameters then, click add the connector displays in the integration pane with the custom attributes in the connector configuration sample payload with custom attributes review the following payload with custom attributes configured the attribute keys column displays custom attributes that are created for the payload ( location and source ) the attribute location column displays the value for the location attribute (toronto) the attribute source column displays the value for the source attribute (mce)