PubsubConfig

Configuration to publish a Cloud Pub/Sub message.

JSON representation
{
  "topic": string,
  "messageFormat": enum(MessageFormat),
  "serviceAccountEmail": string
}
Fields
topic

string

A topic of Cloud Pub/Sub. Values are of the form projects/<project>/topics/<topic>. The project needs to be the same project as this config is in.

messageFormat

enum(MessageFormat)

The format of the Cloud Pub/Sub messages.

serviceAccountEmail

string

Email address of the service account used for publishing Cloud Pub/Sub messages. This service account needs to be in the same project as the PubsubConfig. When added, the caller needs to have iam.serviceAccounts.actAs permission on this service account. If unspecified, it defaults to the compute engine default service account.

Was this page helpful? Let us know how we did:

Send feedback about...

Cloud Source Repositories