public sealed class RepositoryEventConfig : IMessage<RepositoryEventConfig>, IEquatable<RepositoryEventConfig>, IDeepCloneable<RepositoryEventConfig>, IBufferMessage, IMessage
Reference documentation and code samples for the Cloud Build v1 API class RepositoryEventConfig.
The configuration of a trigger that creates a build whenever an event from
Repo API is received.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-19 UTC."],[[["\u003cp\u003eThis document provides reference documentation for the \u003ccode\u003eRepositoryEventConfig\u003c/code\u003e class within the Google Cloud Build v1 API, specifically version 2.9.0.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eRepositoryEventConfig\u003c/code\u003e class is used to configure a trigger that initiates a build upon receiving an event from the Repo API, and it implements several interfaces including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eIt offers constructor options, either default with \u003ccode\u003eRepositoryEventConfig()\u003c/code\u003e or copying an existing config with \u003ccode\u003eRepositoryEventConfig(RepositoryEventConfig other)\u003c/code\u003e, along with properties for filtering and configuring actions based on changes in pull requests or push events.\u003c/p\u003e\n"],["\u003cp\u003eThe class includes properties like \u003ccode\u003eFilterCase\u003c/code\u003e, \u003ccode\u003ePullRequest\u003c/code\u003e, \u003ccode\u003ePush\u003c/code\u003e, \u003ccode\u003eRepository\u003c/code\u003e, \u003ccode\u003eRepositoryAsRepositoryName\u003c/code\u003e, and \u003ccode\u003eRepositoryType\u003c/code\u003e for defining the scope and nature of events that trigger a build, as well as the type and location of the source repository.\u003c/p\u003e\n"],["\u003cp\u003eThere are multiple versions available for the \u003ccode\u003eRepositoryEventConfig\u003c/code\u003e class, ranging from version 1.0.0 to the latest version 2.15.0, each accessible via direct links to their respective documentation.\u003c/p\u003e\n"]]],[],null,[]]