View Source GoogleApi.WorkflowExecutions.V1.Model.TriggerPubsubExecutionRequest (google_api_workflow_executions v0.8.0)

Request for the TriggerPubsubExecution method.

Attributes

  • GCPCloudEventsMode (type: String.t, default: nil) - Required. LINT: LEGACY_NAMES The query parameter value for __GCP_CloudEventsMode, set by the Eventarc service when configuring triggers.
  • deliveryAttempt (type: integer(), default: nil) - The number of attempts that have been made to deliver this message. This is set by Pub/Sub for subscriptions that have the "dead letter" feature enabled, and hence provided here for compatibility, but is ignored by Workflows.
  • message (type: GoogleApi.WorkflowExecutions.V1.Model.PubsubMessage.t, default: nil) - Required. The message of the Pub/Sub push notification.
  • subscription (type: String.t, default: nil) - Required. The subscription of the Pub/Sub push notification. Format: projects/{project}/subscriptions/{sub}

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.WorkflowExecutions.V1.Model.TriggerPubsubExecutionRequest{
  GCPCloudEventsMode: String.t() | nil,
  deliveryAttempt: integer() | nil,
  message: GoogleApi.WorkflowExecutions.V1.Model.PubsubMessage.t() | nil,
  subscription: String.t() | nil
}

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.