View Source GoogleApi.CloudBuild.V1.Model.PubsubConfig (google_api_cloud_build v0.50.1)

PubsubConfig describes the configuration of a trigger that creates a build whenever a Pub/Sub message is published.

Attributes

  • serviceAccountEmail (type: String.t, default: nil) - Service account that will make the push request.
  • state (type: String.t, default: nil) - Potential issues with the underlying Pub/Sub subscription configuration. Only populated on get requests.
  • subscription (type: String.t, default: nil) - Output only. Name of the subscription. Format is projects/{project}/subscriptions/{subscription}.
  • topic (type: String.t, default: nil) - The name of the topic from which this subscription is receiving messages. Format is projects/{project}/topics/{topic}.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

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

Functions

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

Unwrap a decoded JSON object into its complex fields.