Publish
yaml
type: "io.kestra.plugin.gcp.pubsub.publish"
Examples
yaml
id: gcp_pubsub_publish
namespace: company.team
tasks:
- id: publish
type: io.kestra.plugin.gcp.pubsub.Publish
topic: topic-test
from:
- data: "{{ 'base64-encoded-string-1' | base64encode }}"
attributes:
testAttribute: KestraTest
- messageId: '1234'
- orderingKey: 'foo'
- data: "{{ 'base64-encoded-string-2' | base64encode }}"
- attributes:
testAttribute: KestraTest
Properties
from *RequiredstringarrayMessage
topic *Requiredstring
impersonatedServiceAccount string
projectId string
scopes array
SubType string
Default
["https://www.googleapis.com/auth/cloud-platform"]
serdeType string
Default
STRING
Possible Values
STRING
JSON