Class FunctionBuildConfigSourceRepoSource


  • public final class FunctionBuildConfigSourceRepoSource
    extends java.lang.Object
    • Method Detail

      • branchName

        public java.util.Optional<java.lang.String> branchName()
        Returns:
        Regex matching branches to build.
      • commitSha

        public java.util.Optional<java.lang.String> commitSha()
        Returns:
        Regex matching tags to build.
      • dir

        public java.util.Optional<java.lang.String> dir()
        Returns:
        Directory, relative to the source root, in which to run the build.
      • invertRegex

        public java.util.Optional<java.lang.Boolean> invertRegex()
        Returns:
        Only trigger a build if the revision regex does NOT match the revision regex.
      • projectId

        public java.util.Optional<java.lang.String> projectId()
        Returns:
        ID of the project that owns the Cloud Source Repository. If omitted, the project ID requesting the build is assumed.
      • repoName

        public java.util.Optional<java.lang.String> repoName()
        Returns:
        Name of the Cloud Source Repository.
      • tagName

        public java.util.Optional<java.lang.String> tagName()
        Returns:
        Regex matching tags to build.