google_api_cloud_scheduler v0.6.0 GoogleApi.CloudScheduler.V1.Model.PubsubTarget View Source

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

Attributes

  • attributes (type: map(), default: nil) - Attributes for PubsubMessage.

    Pubsub message must contain either non-empty data, or at least one attribute.

  • data (type: String.t, default: nil) - The message payload for PubsubMessage.

    Pubsub message must contain either non-empty data, or at least one attribute.

  • topicName (type: String.t, default: nil) - 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, for example projects/PROJECT_ID/topics/TOPIC_ID.

    The topic must be in the same project as the Cloud Scheduler job.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Specs

t() :: %GoogleApi.CloudScheduler.V1.Model.PubsubTarget{
  attributes: map(),
  data: String.t(),
  topicName: String.t()
}

Link to this section Functions

Specs

decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.