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

GitHubEventsConfig describes the configuration of a trigger that creates a build whenever a GitHub event is received.

Attributes

  • enterpriseConfigResourceName (type: String.t, default: nil) - Optional. The resource name of the github enterprise config that should be applied to this installation. For example: "projects/{$project_id}/locations/{$location_id}/githubEnterpriseConfigs/{$config_id}"
  • installationId (type: String.t, default: nil) - The installationID that emits the GitHub event.
  • name (type: String.t, default: nil) - Name of the repository. For example: The name for https://github.com/googlecloudplatform/cloud-builders is "cloud-builders".
  • owner (type: String.t, default: nil) - Owner of the repository. For example: The owner for https://github.com/googlecloudplatform/cloud-builders is "googlecloudplatform".
  • 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.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.CloudBuild.V1.Model.GitHubEventsConfig{
  enterpriseConfigResourceName: String.t() | nil,
  installationId: String.t() | nil,
  name: String.t() | nil,
  owner: String.t() | nil,
  pullRequest: GoogleApi.CloudBuild.V1.Model.PullRequestFilter.t() | nil,
  push: GoogleApi.CloudBuild.V1.Model.PushFilter.t() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.