Interface CloudbuildTriggerBuildSourceRepoSource

  • All Superinterfaces:
    software.amazon.jsii.JsiiSerializable
    All Known Implementing Classes:
    CloudbuildTriggerBuildSourceRepoSource.Jsii$Proxy

    @Generated(value="jsii-pacmak/1.102.0 (build e354887)",
               date="2024-08-31T03:59:18.073Z")
    @Stability(Stable)
    public interface CloudbuildTriggerBuildSourceRepoSource
    extends software.amazon.jsii.JsiiSerializable
    • Method Detail

      • getRepoName

        @Stability(Stable)
        @NotNull
        String getRepoName()
        Name of the Cloud Source Repository.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/cloudbuild_trigger#repo_name CloudbuildTrigger#repo_name}

      • getBranchName

        @Stability(Stable)
        @Nullable
        default String getBranchName()
        Regex matching branches to build.

        Exactly one a of branch name, tag, or commit SHA must be provided. The syntax of the regular expressions accepted is the syntax accepted by RE2 and described at https://github.com/google/re2/wiki/Syntax Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/cloudbuild_trigger#branch_name CloudbuildTrigger#branch_name}

      • getCommitSha

        @Stability(Stable)
        @Nullable
        default String getCommitSha()
        Explicit commit SHA to build. Exactly one a of branch name, tag, or commit SHA must be provided.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/cloudbuild_trigger#commit_sha CloudbuildTrigger#commit_sha}

      • getDir

        @Stability(Stable)
        @Nullable
        default String getDir()
        Directory, relative to the source root, in which to run the build.

        This must be a relative path. If a step's dir is specified and is an absolute path, this value is ignored for that step's execution. Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/cloudbuild_trigger#dir CloudbuildTrigger#dir}

      • getInvertRegex

        @Stability(Stable)
        @Nullable
        default Object getInvertRegex()
        Only trigger a build if the revision regex does NOT match the revision regex.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/cloudbuild_trigger#invert_regex CloudbuildTrigger#invert_regex}

      • getProjectId

        @Stability(Stable)
        @Nullable
        default String getProjectId()
        ID of the project that owns the Cloud Source Repository. If omitted, the project ID requesting the build is assumed.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/cloudbuild_trigger#project_id CloudbuildTrigger#project_id}

      • getSubstitutions

        @Stability(Stable)
        @Nullable
        default Map<String,​String> getSubstitutions()
        Substitutions to use in a triggered build. Should only be used with triggers.run.

        Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/cloudbuild_trigger#substitutions CloudbuildTrigger#substitutions}

      • getTagName

        @Stability(Stable)
        @Nullable
        default String getTagName()
        Regex matching tags to build.

        Exactly one a of branch name, tag, or commit SHA must be provided. The syntax of the regular expressions accepted is the syntax accepted by RE2 and described at https://github.com/google/re2/wiki/Syntax Docs at Terraform Registry: {@link https://registry.terraform.io/providers/hashicorp/google/5.43.1/docs/resources/cloudbuild_trigger#tag_name CloudbuildTrigger#tag_name}