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

The configuration of a trigger that creates a build whenever an event from Repo API is received.

Attributes

  • pullRequest (type: GoogleApi.CloudBuild.V1.Model.PullRequestFilter.t, default: nil) - Filter to match changes in pull requests.
  • push (type: GoogleApi.CloudBuild.V1.Model.PushFilter.t, default: nil) - Filter to match changes in refs like branches, tags.
  • repository (type: String.t, default: nil) - The resource name of the Repo API resource.
  • repositoryType (type: String.t, default: nil) - Output only. The type of the SCM vendor the repository points to.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.CloudBuild.V1.Model.RepositoryEventConfig{
  pullRequest: GoogleApi.CloudBuild.V1.Model.PullRequestFilter.t() | nil,
  push: GoogleApi.CloudBuild.V1.Model.PushFilter.t() | nil,
  repository: String.t() | nil,
  repositoryType: String.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.