google_api_source_repo v0.4.0 GoogleApi.SourceRepo.V1.Model.PubsubConfig View Source

Configuration to publish a Cloud Pub/Sub message.

Attributes

  • messageFormat (String.t): The format of the Cloud Pub/Sub messages. Defaults to: null.

    • Enum - one of [MESSAGE_FORMAT_UNSPECIFIED, PROTOBUF, JSON]
  • serviceAccountEmail (String.t): 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. Defaults to: null.
  • topic (String.t): A topic of Cloud Pub/Sub. Values are of the form `projects/<project>/topics/<topic>`. The project needs to be the same project as this config is in. Defaults to: null.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Link to this type

t() View Source
t() :: %GoogleApi.SourceRepo.V1.Model.PubsubConfig{
  messageFormat: any(),
  serviceAccountEmail: any(),
  topic: any()
}

Link to this section Functions

Link to this function

decode(value, options) View Source
decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.