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

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}.

Link to this section Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Link to this section Types

Specs

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

Link to this section Functions

Specs

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

Unwrap a decoded JSON object into its complex fields.