Class PubsubTarget

Pub/Sub target. The job will be delivered by publishing a message to the given Pub/Sub topic.

Attributes
NameDescription
strtopic_name
Required. The name of the Cloud Pub/Sub topic to which messages will be published when a job is delivered. The topic name must be in the same format as required by PubSub's `PublishRequest.name
bytesdata
The message payload for PubsubMessage. Pubsub message must contain either non-empty data, or at least one attribute.
Sequence[google.cloud.scheduler_v1beta1.types.PubsubTarget.AttributesEntry]attributes
Attributes for PubsubMessage. Pubsub message must contain either non-empty data, or at least one attribute.

Inheritance

builtins.object > proto.message.Message > PubsubTarget

Classes

AttributesEntry

AttributesEntry(mapping=None, *, ignore_unknown_fields=False, **kwargs)

API documentation for scheduler_v1beta1.types.PubsubTarget.AttributesEntry class.