View Source GoogleApi.SourceRepo.V1.Model.PubsubConfig (google_api_source_repo v0.16.3)

Configuration to publish a Cloud Pub/Sub message.

Attributes

  • messageFormat (type: String.t, default: nil) - The format of the Cloud Pub/Sub messages.
  • serviceAccountEmail (type: String.t, default: nil) - 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.
  • topic (type: String.t, default: nil) - A topic of Cloud Pub/Sub. Values are of the form projects//topics/. The project needs to be the same project as this config is in.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.SourceRepo.V1.Model.PubsubConfig{
  messageFormat: String.t() | nil,
  serviceAccountEmail: String.t() | nil,
  topic: String.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.