gcp.cloudbuild.getTrigger
Explore with Pulumi AI
To get more information about Cloudbuild Trigger, see:
- API documentation
- How-to Guides
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as gcp from "@pulumi/gcp";
const name = gcp.cloudbuild.getTrigger({
project: "your-project-id",
triggerId: filename_trigger.triggerId,
location: "location of trigger build",
});
import pulumi
import pulumi_gcp as gcp
name = gcp.cloudbuild.get_trigger(project="your-project-id",
trigger_id=filename_trigger["triggerId"],
location="location of trigger build")
package main
import (
"github.com/pulumi/pulumi-gcp/sdk/v7/go/gcp/cloudbuild"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := cloudbuild.LookupTrigger(ctx, &cloudbuild.LookupTriggerArgs{
Project: pulumi.StringRef("your-project-id"),
TriggerId: filename_trigger.TriggerId,
Location: "location of trigger build",
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Gcp = Pulumi.Gcp;
return await Deployment.RunAsync(() =>
{
var name = Gcp.CloudBuild.GetTrigger.Invoke(new()
{
Project = "your-project-id",
TriggerId = filename_trigger.TriggerId,
Location = "location of trigger build",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.gcp.cloudbuild.CloudbuildFunctions;
import com.pulumi.gcp.cloudbuild.inputs.GetTriggerArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var name = CloudbuildFunctions.getTrigger(GetTriggerArgs.builder()
.project("your-project-id")
.triggerId(filename_trigger.triggerId())
.location("location of trigger build")
.build());
}
}
variables:
name:
fn::invoke:
Function: gcp:cloudbuild:getTrigger
Arguments:
project: your-project-id
triggerId: ${["filename-trigger"].triggerId}
location: location of trigger build
Using getTrigger
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getTrigger(args: GetTriggerArgs, opts?: InvokeOptions): Promise<GetTriggerResult>
function getTriggerOutput(args: GetTriggerOutputArgs, opts?: InvokeOptions): Output<GetTriggerResult>
def get_trigger(location: Optional[str] = None,
project: Optional[str] = None,
trigger_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetTriggerResult
def get_trigger_output(location: Optional[pulumi.Input[str]] = None,
project: Optional[pulumi.Input[str]] = None,
trigger_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetTriggerResult]
func LookupTrigger(ctx *Context, args *LookupTriggerArgs, opts ...InvokeOption) (*LookupTriggerResult, error)
func LookupTriggerOutput(ctx *Context, args *LookupTriggerOutputArgs, opts ...InvokeOption) LookupTriggerResultOutput
> Note: This function is named LookupTrigger
in the Go SDK.
public static class GetTrigger
{
public static Task<GetTriggerResult> InvokeAsync(GetTriggerArgs args, InvokeOptions? opts = null)
public static Output<GetTriggerResult> Invoke(GetTriggerInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetTriggerResult> getTrigger(GetTriggerArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: gcp:cloudbuild/getTrigger:getTrigger
arguments:
# arguments dictionary
The following arguments are supported:
- location str
- The Cloud Build location for the trigger.
- trigger_
id str - The unique identifier for the trigger..
- project str
- The ID of the project in which the resource belongs. If it is not provided, the provider project is used.
getTrigger Result
The following output properties are available:
- Approval
Configs List<GetTrigger Approval Config> - Bitbucket
Server List<GetTrigger Configs Trigger Bitbucket Server Trigger Config> - Builds
List<Get
Trigger Build> - Create
Time string - Description string
- Disabled bool
- Filename string
- Filter string
- Git
File List<GetSources Trigger Git File Source> - Githubs
List<Get
Trigger Github> - Id string
- The provider-assigned unique ID for this managed resource.
- Ignored
Files List<string> - Include
Build stringLogs - Included
Files List<string> - Location string
- Name string
- Pubsub
Configs List<GetTrigger Pubsub Config> - Repository
Event List<GetConfigs Trigger Repository Event Config> - Service
Account string - Source
To List<GetBuilds Trigger Source To Build> - Substitutions Dictionary<string, string>
- List<string>
- Trigger
Id string - Trigger
Templates List<GetTrigger Trigger Template> - Webhook
Configs List<GetTrigger Webhook Config> - Project string
- Approval
Configs []GetTrigger Approval Config - Bitbucket
Server []GetTrigger Configs Trigger Bitbucket Server Trigger Config - Builds
[]Get
Trigger Build - Create
Time string - Description string
- Disabled bool
- Filename string
- Filter string
- Git
File []GetSources Trigger Git File Source - Githubs
[]Get
Trigger Github - Id string
- The provider-assigned unique ID for this managed resource.
- Ignored
Files []string - Include
Build stringLogs - Included
Files []string - Location string
- Name string
- Pubsub
Configs []GetTrigger Pubsub Config - Repository
Event []GetConfigs Trigger Repository Event Config - Service
Account string - Source
To []GetBuilds Trigger Source To Build - Substitutions map[string]string
- []string
- Trigger
Id string - Trigger
Templates []GetTrigger Trigger Template - Webhook
Configs []GetTrigger Webhook Config - Project string
- approval
Configs List<GetTrigger Approval Config> - bitbucket
Server List<GetTrigger Configs Trigger Bitbucket Server Trigger Config> - builds
List<Get
Trigger Build> - create
Time String - description String
- disabled Boolean
- filename String
- filter String
- git
File List<GetSources Trigger Git File Source> - githubs
List<Get
Trigger Github> - id String
- The provider-assigned unique ID for this managed resource.
- ignored
Files List<String> - include
Build StringLogs - included
Files List<String> - location String
- name String
- pubsub
Configs List<GetTrigger Pubsub Config> - repository
Event List<GetConfigs Trigger Repository Event Config> - service
Account String - source
To List<GetBuilds Trigger Source To Build> - substitutions Map<String,String>
- List<String>
- trigger
Id String - trigger
Templates List<GetTrigger Trigger Template> - webhook
Configs List<GetTrigger Webhook Config> - project String
- approval
Configs GetTrigger Approval Config[] - bitbucket
Server GetTrigger Configs Trigger Bitbucket Server Trigger Config[] - builds
Get
Trigger Build[] - create
Time string - description string
- disabled boolean
- filename string
- filter string
- git
File GetSources Trigger Git File Source[] - githubs
Get
Trigger Github[] - id string
- The provider-assigned unique ID for this managed resource.
- ignored
Files string[] - include
Build stringLogs - included
Files string[] - location string
- name string
- pubsub
Configs GetTrigger Pubsub Config[] - repository
Event GetConfigs Trigger Repository Event Config[] - service
Account string - source
To GetBuilds Trigger Source To Build[] - substitutions {[key: string]: string}
- string[]
- trigger
Id string - trigger
Templates GetTrigger Trigger Template[] - webhook
Configs GetTrigger Webhook Config[] - project string
- approval_
configs Sequence[GetTrigger Approval Config] - bitbucket_
server_ Sequence[Gettrigger_ configs Trigger Bitbucket Server Trigger Config] - builds
Sequence[Get
Trigger Build] - create_
time str - description str
- disabled bool
- filename str
- filter str
- git_
file_ Sequence[Getsources Trigger Git File Source] - githubs
Sequence[Get
Trigger Github] - id str
- The provider-assigned unique ID for this managed resource.
- ignored_
files Sequence[str] - include_
build_ strlogs - included_
files Sequence[str] - location str
- name str
- pubsub_
configs Sequence[GetTrigger Pubsub Config] - repository_
event_ Sequence[Getconfigs Trigger Repository Event Config] - service_
account str - source_
to_ Sequence[Getbuilds Trigger Source To Build] - substitutions Mapping[str, str]
- Sequence[str]
- trigger_
id str - trigger_
templates Sequence[GetTrigger Trigger Template] - webhook_
configs Sequence[GetTrigger Webhook Config] - project str
- approval
Configs List<Property Map> - bitbucket
Server List<Property Map>Trigger Configs - builds List<Property Map>
- create
Time String - description String
- disabled Boolean
- filename String
- filter String
- git
File List<Property Map>Sources - githubs List<Property Map>
- id String
- The provider-assigned unique ID for this managed resource.
- ignored
Files List<String> - include
Build StringLogs - included
Files List<String> - location String
- name String
- pubsub
Configs List<Property Map> - repository
Event List<Property Map>Configs - service
Account String - source
To List<Property Map>Builds - substitutions Map<String>
- List<String>
- trigger
Id String - trigger
Templates List<Property Map> - webhook
Configs List<Property Map> - project String
Supporting Types
GetTriggerApprovalConfig
- Approval
Required bool - Whether or not approval is needed. If this is set on a build, it will become pending when run, and will need to be explicitly approved to start.
- Approval
Required bool - Whether or not approval is needed. If this is set on a build, it will become pending when run, and will need to be explicitly approved to start.
- approval
Required Boolean - Whether or not approval is needed. If this is set on a build, it will become pending when run, and will need to be explicitly approved to start.
- approval
Required boolean - Whether or not approval is needed. If this is set on a build, it will become pending when run, and will need to be explicitly approved to start.
- approval_
required bool - Whether or not approval is needed. If this is set on a build, it will become pending when run, and will need to be explicitly approved to start.
- approval
Required Boolean - Whether or not approval is needed. If this is set on a build, it will become pending when run, and will need to be explicitly approved to start.
GetTriggerBitbucketServerTriggerConfig
- Bitbucket
Server stringConfig Resource - The Bitbucket server config resource that this trigger config maps to.
- Project
Key string - Key of the project that the repo is in. For example: The key for https://mybitbucket.server/projects/TEST/repos/test-repo is "TEST".
- Pull
Requests List<GetTrigger Bitbucket Server Trigger Config Pull Request> - Filter to match changes in pull requests.
- Pushes
List<Get
Trigger Bitbucket Server Trigger Config Push> - Filter to match changes in refs like branches, tags.
- Repo
Slug string - Slug of the repository. A repository slug is a URL-friendly version of a repository name, automatically generated by Bitbucket for use in the URL. For example, if the repository name is 'test repo', in the URL it would become 'test-repo' as in https://mybitbucket.server/projects/TEST/repos/test-repo.
- Bitbucket
Server stringConfig Resource - The Bitbucket server config resource that this trigger config maps to.
- Project
Key string - Key of the project that the repo is in. For example: The key for https://mybitbucket.server/projects/TEST/repos/test-repo is "TEST".
- Pull
Requests []GetTrigger Bitbucket Server Trigger Config Pull Request - Filter to match changes in pull requests.
- Pushes
[]Get
Trigger Bitbucket Server Trigger Config Push - Filter to match changes in refs like branches, tags.
- Repo
Slug string - Slug of the repository. A repository slug is a URL-friendly version of a repository name, automatically generated by Bitbucket for use in the URL. For example, if the repository name is 'test repo', in the URL it would become 'test-repo' as in https://mybitbucket.server/projects/TEST/repos/test-repo.
- bitbucket
Server StringConfig Resource - The Bitbucket server config resource that this trigger config maps to.
- project
Key String - Key of the project that the repo is in. For example: The key for https://mybitbucket.server/projects/TEST/repos/test-repo is "TEST".
- pull
Requests List<GetTrigger Bitbucket Server Trigger Config Pull Request> - Filter to match changes in pull requests.
- pushes
List<Get
Trigger Bitbucket Server Trigger Config Push> - Filter to match changes in refs like branches, tags.
- repo
Slug String - Slug of the repository. A repository slug is a URL-friendly version of a repository name, automatically generated by Bitbucket for use in the URL. For example, if the repository name is 'test repo', in the URL it would become 'test-repo' as in https://mybitbucket.server/projects/TEST/repos/test-repo.
- bitbucket
Server stringConfig Resource - The Bitbucket server config resource that this trigger config maps to.
- project
Key string - Key of the project that the repo is in. For example: The key for https://mybitbucket.server/projects/TEST/repos/test-repo is "TEST".
- pull
Requests GetTrigger Bitbucket Server Trigger Config Pull Request[] - Filter to match changes in pull requests.
- pushes
Get
Trigger Bitbucket Server Trigger Config Push[] - Filter to match changes in refs like branches, tags.
- repo
Slug string - Slug of the repository. A repository slug is a URL-friendly version of a repository name, automatically generated by Bitbucket for use in the URL. For example, if the repository name is 'test repo', in the URL it would become 'test-repo' as in https://mybitbucket.server/projects/TEST/repos/test-repo.
- bitbucket_
server_ strconfig_ resource - The Bitbucket server config resource that this trigger config maps to.
- project_
key str - Key of the project that the repo is in. For example: The key for https://mybitbucket.server/projects/TEST/repos/test-repo is "TEST".
- pull_
requests Sequence[GetTrigger Bitbucket Server Trigger Config Pull Request] - Filter to match changes in pull requests.
- pushes
Sequence[Get
Trigger Bitbucket Server Trigger Config Push] - Filter to match changes in refs like branches, tags.
- repo_
slug str - Slug of the repository. A repository slug is a URL-friendly version of a repository name, automatically generated by Bitbucket for use in the URL. For example, if the repository name is 'test repo', in the URL it would become 'test-repo' as in https://mybitbucket.server/projects/TEST/repos/test-repo.
- bitbucket
Server StringConfig Resource - The Bitbucket server config resource that this trigger config maps to.
- project
Key String - Key of the project that the repo is in. For example: The key for https://mybitbucket.server/projects/TEST/repos/test-repo is "TEST".
- pull
Requests List<Property Map> - Filter to match changes in pull requests.
- pushes List<Property Map>
- Filter to match changes in refs like branches, tags.
- repo
Slug String - Slug of the repository. A repository slug is a URL-friendly version of a repository name, automatically generated by Bitbucket for use in the URL. For example, if the repository name is 'test repo', in the URL it would become 'test-repo' as in https://mybitbucket.server/projects/TEST/repos/test-repo.
GetTriggerBitbucketServerTriggerConfigPullRequest
- Branch string
- Regex of branches to match. The syntax of the regular expressions accepted is the syntax accepted by RE2 and described at https://github.com/google/re2/wiki/Syntax
- Comment
Control string - Configure builds to run whether a repository owner or collaborator need to comment /gcbrun. Possible values: ["COMMENTS_DISABLED", "COMMENTS_ENABLED", "COMMENTS_ENABLED_FOR_EXTERNAL_CONTRIBUTORS_ONLY"]
- Invert
Regex bool - If true, branches that do NOT match the git_ref will trigger a build.
- Branch string
- Regex of branches to match. The syntax of the regular expressions accepted is the syntax accepted by RE2 and described at https://github.com/google/re2/wiki/Syntax
- Comment
Control string - Configure builds to run whether a repository owner or collaborator need to comment /gcbrun. Possible values: ["COMMENTS_DISABLED", "COMMENTS_ENABLED", "COMMENTS_ENABLED_FOR_EXTERNAL_CONTRIBUTORS_ONLY"]
- Invert
Regex bool - If true, branches that do NOT match the git_ref will trigger a build.
- branch String
- Regex of branches to match. The syntax of the regular expressions accepted is the syntax accepted by RE2 and described at https://github.com/google/re2/wiki/Syntax
- comment
Control String - Configure builds to run whether a repository owner or collaborator need to comment /gcbrun. Possible values: ["COMMENTS_DISABLED", "COMMENTS_ENABLED", "COMMENTS_ENABLED_FOR_EXTERNAL_CONTRIBUTORS_ONLY"]
- invert
Regex Boolean - If true, branches that do NOT match the git_ref will trigger a build.
- branch string
- Regex of branches to match. The syntax of the regular expressions accepted is the syntax accepted by RE2 and described at https://github.com/google/re2/wiki/Syntax
- comment
Control string - Configure builds to run whether a repository owner or collaborator need to comment /gcbrun. Possible values: ["COMMENTS_DISABLED", "COMMENTS_ENABLED", "COMMENTS_ENABLED_FOR_EXTERNAL_CONTRIBUTORS_ONLY"]
- invert
Regex boolean - If true, branches that do NOT match the git_ref will trigger a build.
- branch str
- Regex of branches to match. The syntax of the regular expressions accepted is the syntax accepted by RE2 and described at https://github.com/google/re2/wiki/Syntax
- comment_
control str - Configure builds to run whether a repository owner or collaborator need to comment /gcbrun. Possible values: ["COMMENTS_DISABLED", "COMMENTS_ENABLED", "COMMENTS_ENABLED_FOR_EXTERNAL_CONTRIBUTORS_ONLY"]
- invert_
regex bool - If true, branches that do NOT match the git_ref will trigger a build.
- branch String
- Regex of branches to match. The syntax of the regular expressions accepted is the syntax accepted by RE2 and described at https://github.com/google/re2/wiki/Syntax
- comment
Control String - Configure builds to run whether a repository owner or collaborator need to comment /gcbrun. Possible values: ["COMMENTS_DISABLED", "COMMENTS_ENABLED", "COMMENTS_ENABLED_FOR_EXTERNAL_CONTRIBUTORS_ONLY"]
- invert
Regex Boolean - If true, branches that do NOT match the git_ref will trigger a build.
GetTriggerBitbucketServerTriggerConfigPush
- Branch string
- Regex of branches to match. Specify only one of branch or tag.
- Invert
Regex bool - When true, only trigger a build if the revision regex does NOT match the gitRef regex.
- Tag string
- Regex of tags to match. Specify only one of branch or tag.
- Branch string
- Regex of branches to match. Specify only one of branch or tag.
- Invert
Regex bool - When true, only trigger a build if the revision regex does NOT match the gitRef regex.
- Tag string
- Regex of tags to match. Specify only one of branch or tag.
- branch String
- Regex of branches to match. Specify only one of branch or tag.
- invert
Regex Boolean - When true, only trigger a build if the revision regex does NOT match the gitRef regex.
- tag String
- Regex of tags to match. Specify only one of branch or tag.
- branch string
- Regex of branches to match. Specify only one of branch or tag.
- invert
Regex boolean - When true, only trigger a build if the revision regex does NOT match the gitRef regex.
- tag string
- Regex of tags to match. Specify only one of branch or tag.
- branch str
- Regex of branches to match. Specify only one of branch or tag.
- invert_
regex bool - When true, only trigger a build if the revision regex does NOT match the gitRef regex.
- tag str
- Regex of tags to match. Specify only one of branch or tag.
- branch String
- Regex of branches to match. Specify only one of branch or tag.
- invert
Regex Boolean - When true, only trigger a build if the revision regex does NOT match the gitRef regex.
- tag String
- Regex of tags to match. Specify only one of branch or tag.
GetTriggerBuild
- Artifacts
List<Get
Trigger Build Artifact> - Artifacts produced by the build that should be uploaded upon successful completion of all build steps.
- Available
Secrets List<GetTrigger Build Available Secret> - Secrets and secret environment variables.
- Images List<string>
- A list of images to be pushed upon the successful completion of all build steps. The images are pushed using the builder service account's credentials. The digests of the pushed images will be stored in the Build resource's results field. If any of the images fail to be pushed, the build status is marked FAILURE.
- Logs
Bucket string - Google Cloud Storage bucket where logs should be written. Logs file names will be of the format ${logsBucket}/log-${build_id}.txt.
- Options
List<Get
Trigger Build Option> - Special options for this build.
- Queue
Ttl string - TTL in queue for this build. If provided and the build is enqueued longer than this value, the build will expire and the build status will be EXPIRED. The TTL starts ticking from createTime. A duration in seconds with up to nine fractional digits, terminated by 's'. Example: "3.5s".
- Secrets
List<Get
Trigger Build Secret> - Secrets to decrypt using Cloud Key Management Service.
- Sources
List<Get
Trigger Build Source> The location of the source files to build.
One of 'storageSource' or 'repoSource' must be provided.
- Steps
List<Get
Trigger Build Step> - The operations to be performed on the workspace.
- Substitutions Dictionary<string, string>
- Substitutions data for Build resource.
- List<string>
- Tags for annotation of a Build. These are not docker tags.
- Timeout string
- Amount of time that this build should be allowed to run, to second granularity. If this amount of time elapses, work on the build will cease and the build status will be TIMEOUT. This timeout must be equal to or greater than the sum of the timeouts for build steps within the build. The expected format is the number of seconds followed by s. Default time is ten minutes (600s).
- Artifacts
[]Get
Trigger Build Artifact - Artifacts produced by the build that should be uploaded upon successful completion of all build steps.
- Available
Secrets []GetTrigger Build Available Secret - Secrets and secret environment variables.
- Images []string
- A list of images to be pushed upon the successful completion of all build steps. The images are pushed using the builder service account's credentials. The digests of the pushed images will be stored in the Build resource's results field. If any of the images fail to be pushed, the build status is marked FAILURE.
- Logs
Bucket string - Google Cloud Storage bucket where logs should be written. Logs file names will be of the format ${logsBucket}/log-${build_id}.txt.
- Options
[]Get
Trigger Build Option - Special options for this build.
- Queue
Ttl string - TTL in queue for this build. If provided and the build is enqueued longer than this value, the build will expire and the build status will be EXPIRED. The TTL starts ticking from createTime. A duration in seconds with up to nine fractional digits, terminated by 's'. Example: "3.5s".
- Secrets
[]Get
Trigger Build Secret - Secrets to decrypt using Cloud Key Management Service.
- Sources
[]Get
Trigger Build Source The location of the source files to build.
One of 'storageSource' or 'repoSource' must be provided.
- Steps
[]Get
Trigger Build Step - The operations to be performed on the workspace.
- Substitutions map[string]string
- Substitutions data for Build resource.
- []string
- Tags for annotation of a Build. These are not docker tags.
- Timeout string
- Amount of time that this build should be allowed to run, to second granularity. If this amount of time elapses, work on the build will cease and the build status will be TIMEOUT. This timeout must be equal to or greater than the sum of the timeouts for build steps within the build. The expected format is the number of seconds followed by s. Default time is ten minutes (600s).
- artifacts
List<Get
Trigger Build Artifact> - Artifacts produced by the build that should be uploaded upon successful completion of all build steps.
- available
Secrets List<GetTrigger Build Available Secret> - Secrets and secret environment variables.
- images List<String>
- A list of images to be pushed upon the successful completion of all build steps. The images are pushed using the builder service account's credentials. The digests of the pushed images will be stored in the Build resource's results field. If any of the images fail to be pushed, the build status is marked FAILURE.
- logs
Bucket String - Google Cloud Storage bucket where logs should be written. Logs file names will be of the format ${logsBucket}/log-${build_id}.txt.
- options
List<Get
Trigger Build Option> - Special options for this build.
- queue
Ttl String - TTL in queue for this build. If provided and the build is enqueued longer than this value, the build will expire and the build status will be EXPIRED. The TTL starts ticking from createTime. A duration in seconds with up to nine fractional digits, terminated by 's'. Example: "3.5s".
- secrets
List<Get
Trigger Build Secret> - Secrets to decrypt using Cloud Key Management Service.
- sources
List<Get
Trigger Build Source> The location of the source files to build.
One of 'storageSource' or 'repoSource' must be provided.
- steps
List<Get
Trigger Build Step> - The operations to be performed on the workspace.
- substitutions Map<String,String>
- Substitutions data for Build resource.
- List<String>
- Tags for annotation of a Build. These are not docker tags.
- timeout String
- Amount of time that this build should be allowed to run, to second granularity. If this amount of time elapses, work on the build will cease and the build status will be TIMEOUT. This timeout must be equal to or greater than the sum of the timeouts for build steps within the build. The expected format is the number of seconds followed by s. Default time is ten minutes (600s).
- artifacts
Get
Trigger Build Artifact[] - Artifacts produced by the build that should be uploaded upon successful completion of all build steps.
- available
Secrets GetTrigger Build Available Secret[] - Secrets and secret environment variables.
- images string[]
- A list of images to be pushed upon the successful completion of all build steps. The images are pushed using the builder service account's credentials. The digests of the pushed images will be stored in the Build resource's results field. If any of the images fail to be pushed, the build status is marked FAILURE.
- logs
Bucket string - Google Cloud Storage bucket where logs should be written. Logs file names will be of the format ${logsBucket}/log-${build_id}.txt.
- options
Get
Trigger Build Option[] - Special options for this build.
- queue
Ttl string - TTL in queue for this build. If provided and the build is enqueued longer than this value, the build will expire and the build status will be EXPIRED. The TTL starts ticking from createTime. A duration in seconds with up to nine fractional digits, terminated by 's'. Example: "3.5s".
- secrets
Get
Trigger Build Secret[] - Secrets to decrypt using Cloud Key Management Service.
- sources
Get
Trigger Build Source[] The location of the source files to build.
One of 'storageSource' or 'repoSource' must be provided.
- steps
Get
Trigger Build Step[] - The operations to be performed on the workspace.
- substitutions {[key: string]: string}
- Substitutions data for Build resource.
- string[]
- Tags for annotation of a Build. These are not docker tags.
- timeout string
- Amount of time that this build should be allowed to run, to second granularity. If this amount of time elapses, work on the build will cease and the build status will be TIMEOUT. This timeout must be equal to or greater than the sum of the timeouts for build steps within the build. The expected format is the number of seconds followed by s. Default time is ten minutes (600s).
- artifacts
Sequence[Get
Trigger Build Artifact] - Artifacts produced by the build that should be uploaded upon successful completion of all build steps.
- available_
secrets Sequence[GetTrigger Build Available Secret] - Secrets and secret environment variables.
- images Sequence[str]
- A list of images to be pushed upon the successful completion of all build steps. The images are pushed using the builder service account's credentials. The digests of the pushed images will be stored in the Build resource's results field. If any of the images fail to be pushed, the build status is marked FAILURE.
- logs_
bucket str - Google Cloud Storage bucket where logs should be written. Logs file names will be of the format ${logsBucket}/log-${build_id}.txt.
- options
Sequence[Get
Trigger Build Option] - Special options for this build.
- queue_
ttl str - TTL in queue for this build. If provided and the build is enqueued longer than this value, the build will expire and the build status will be EXPIRED. The TTL starts ticking from createTime. A duration in seconds with up to nine fractional digits, terminated by 's'. Example: "3.5s".
- secrets
Sequence[Get
Trigger Build Secret] - Secrets to decrypt using Cloud Key Management Service.
- sources
Sequence[Get
Trigger Build Source] The location of the source files to build.
One of 'storageSource' or 'repoSource' must be provided.
- steps
Sequence[Get
Trigger Build Step] - The operations to be performed on the workspace.
- substitutions Mapping[str, str]
- Substitutions data for Build resource.
- Sequence[str]
- Tags for annotation of a Build. These are not docker tags.
- timeout str
- Amount of time that this build should be allowed to run, to second granularity. If this amount of time elapses, work on the build will cease and the build status will be TIMEOUT. This timeout must be equal to or greater than the sum of the timeouts for build steps within the build. The expected format is the number of seconds followed by s. Default time is ten minutes (600s).
- artifacts List<Property Map>
- Artifacts produced by the build that should be uploaded upon successful completion of all build steps.
- available
Secrets List<Property Map> - Secrets and secret environment variables.
- images List<String>
- A list of images to be pushed upon the successful completion of all build steps. The images are pushed using the builder service account's credentials. The digests of the pushed images will be stored in the Build resource's results field. If any of the images fail to be pushed, the build status is marked FAILURE.
- logs
Bucket String - Google Cloud Storage bucket where logs should be written. Logs file names will be of the format ${logsBucket}/log-${build_id}.txt.
- options List<Property Map>
- Special options for this build.
- queue
Ttl String - TTL in queue for this build. If provided and the build is enqueued longer than this value, the build will expire and the build status will be EXPIRED. The TTL starts ticking from createTime. A duration in seconds with up to nine fractional digits, terminated by 's'. Example: "3.5s".
- secrets List<Property Map>
- Secrets to decrypt using Cloud Key Management Service.
- sources List<Property Map>
The location of the source files to build.
One of 'storageSource' or 'repoSource' must be provided.
- steps List<Property Map>
- The operations to be performed on the workspace.
- substitutions Map<String>
- Substitutions data for Build resource.
- List<String>
- Tags for annotation of a Build. These are not docker tags.
- timeout String
- Amount of time that this build should be allowed to run, to second granularity. If this amount of time elapses, work on the build will cease and the build status will be TIMEOUT. This timeout must be equal to or greater than the sum of the timeouts for build steps within the build. The expected format is the number of seconds followed by s. Default time is ten minutes (600s).
GetTriggerBuildArtifact
- Images List<string>
A list of images to be pushed upon the successful completion of all build steps.
The images will be pushed using the builder service account's credentials.
The digests of the pushed images will be stored in the Build resource's results field.
If any of the images fail to be pushed, the build is marked FAILURE.
- Maven
Artifacts List<GetTrigger Build Artifact Maven Artifact> A Maven artifact to upload to Artifact Registry upon successful completion of all build steps.
The location and generation of the uploaded objects will be stored in the Build resource's results field.
If any objects fail to be pushed, the build is marked FAILURE.
- Npm
Packages List<GetTrigger Build Artifact Npm Package> Npm package to upload to Artifact Registry upon successful completion of all build steps.
The location and generation of the uploaded objects will be stored in the Build resource's results field.
If any objects fail to be pushed, the build is marked FAILURE.
- Objects
List<Get
Trigger Build Artifact Object> A list of objects to be uploaded to Cloud Storage upon successful completion of all build steps.
Files in the workspace matching specified paths globs will be uploaded to the Cloud Storage location using the builder service account's credentials.
The location and generation of the uploaded objects will be stored in the Build resource's results field.
If any objects fail to be pushed, the build is marked FAILURE.
- Python
Packages List<GetTrigger Build Artifact Python Package> Python package to upload to Artifact Registry upon successful completion of all build steps. A package can encapsulate multiple objects to be uploaded to a single repository.
The location and generation of the uploaded objects will be stored in the Build resource's results field.
If any objects fail to be pushed, the build is marked FAILURE.
- Images []string
A list of images to be pushed upon the successful completion of all build steps.
The images will be pushed using the builder service account's credentials.
The digests of the pushed images will be stored in the Build resource's results field.
If any of the images fail to be pushed, the build is marked FAILURE.
- Maven
Artifacts []GetTrigger Build Artifact Maven Artifact A Maven artifact to upload to Artifact Registry upon successful completion of all build steps.
The location and generation of the uploaded objects will be stored in the Build resource's results field.
If any objects fail to be pushed, the build is marked FAILURE.
- Npm
Packages []GetTrigger Build Artifact Npm Package Npm package to upload to Artifact Registry upon successful completion of all build steps.
The location and generation of the uploaded objects will be stored in the Build resource's results field.
If any objects fail to be pushed, the build is marked FAILURE.
- Objects
[]Get
Trigger Build Artifact Object A list of objects to be uploaded to Cloud Storage upon successful completion of all build steps.
Files in the workspace matching specified paths globs will be uploaded to the Cloud Storage location using the builder service account's credentials.
The location and generation of the uploaded objects will be stored in the Build resource's results field.
If any objects fail to be pushed, the build is marked FAILURE.
- Python
Packages []GetTrigger Build Artifact Python Package Python package to upload to Artifact Registry upon successful completion of all build steps. A package can encapsulate multiple objects to be uploaded to a single repository.
The location and generation of the uploaded objects will be stored in the Build resource's results field.
If any objects fail to be pushed, the build is marked FAILURE.
- images List<String>
A list of images to be pushed upon the successful completion of all build steps.
The images will be pushed using the builder service account's credentials.
The digests of the pushed images will be stored in the Build resource's results field.
If any of the images fail to be pushed, the build is marked FAILURE.
- maven
Artifacts List<GetTrigger Build Artifact Maven Artifact> A Maven artifact to upload to Artifact Registry upon successful completion of all build steps.
The location and generation of the uploaded objects will be stored in the Build resource's results field.
If any objects fail to be pushed, the build is marked FAILURE.
- npm
Packages List<GetTrigger Build Artifact Npm Package> Npm package to upload to Artifact Registry upon successful completion of all build steps.
The location and generation of the uploaded objects will be stored in the Build resource's results field.
If any objects fail to be pushed, the build is marked FAILURE.
- objects
List<Get
Trigger Build Artifact Object> A list of objects to be uploaded to Cloud Storage upon successful completion of all build steps.
Files in the workspace matching specified paths globs will be uploaded to the Cloud Storage location using the builder service account's credentials.
The location and generation of the uploaded objects will be stored in the Build resource's results field.
If any objects fail to be pushed, the build is marked FAILURE.
- python
Packages List<GetTrigger Build Artifact Python Package> Python package to upload to Artifact Registry upon successful completion of all build steps. A package can encapsulate multiple objects to be uploaded to a single repository.
The location and generation of the uploaded objects will be stored in the Build resource's results field.
If any objects fail to be pushed, the build is marked FAILURE.
- images string[]
A list of images to be pushed upon the successful completion of all build steps.
The images will be pushed using the builder service account's credentials.
The digests of the pushed images will be stored in the Build resource's results field.
If any of the images fail to be pushed, the build is marked FAILURE.
- maven
Artifacts GetTrigger Build Artifact Maven Artifact[] A Maven artifact to upload to Artifact Registry upon successful completion of all build steps.
The location and generation of the uploaded objects will be stored in the Build resource's results field.
If any objects fail to be pushed, the build is marked FAILURE.
- npm
Packages GetTrigger Build Artifact Npm Package[] Npm package to upload to Artifact Registry upon successful completion of all build steps.
The location and generation of the uploaded objects will be stored in the Build resource's results field.
If any objects fail to be pushed, the build is marked FAILURE.
- objects
Get
Trigger Build Artifact Object[] A list of objects to be uploaded to Cloud Storage upon successful completion of all build steps.
Files in the workspace matching specified paths globs will be uploaded to the Cloud Storage location using the builder service account's credentials.
The location and generation of the uploaded objects will be stored in the Build resource's results field.
If any objects fail to be pushed, the build is marked FAILURE.
- python
Packages GetTrigger Build Artifact Python Package[] Python package to upload to Artifact Registry upon successful completion of all build steps. A package can encapsulate multiple objects to be uploaded to a single repository.
The location and generation of the uploaded objects will be stored in the Build resource's results field.
If any objects fail to be pushed, the build is marked FAILURE.
- images Sequence[str]
A list of images to be pushed upon the successful completion of all build steps.
The images will be pushed using the builder service account's credentials.
The digests of the pushed images will be stored in the Build resource's results field.
If any of the images fail to be pushed, the build is marked FAILURE.
- maven_
artifacts Sequence[GetTrigger Build Artifact Maven Artifact] A Maven artifact to upload to Artifact Registry upon successful completion of all build steps.
The location and generation of the uploaded objects will be stored in the Build resource's results field.
If any objects fail to be pushed, the build is marked FAILURE.
- npm_
packages Sequence[GetTrigger Build Artifact Npm Package] Npm package to upload to Artifact Registry upon successful completion of all build steps.
The location and generation of the uploaded objects will be stored in the Build resource's results field.
If any objects fail to be pushed, the build is marked FAILURE.
- objects
Sequence[Get
Trigger Build Artifact Object] A list of objects to be uploaded to Cloud Storage upon successful completion of all build steps.
Files in the workspace matching specified paths globs will be uploaded to the Cloud Storage location using the builder service account's credentials.
The location and generation of the uploaded objects will be stored in the Build resource's results field.
If any objects fail to be pushed, the build is marked FAILURE.
- python_
packages Sequence[GetTrigger Build Artifact Python Package] Python package to upload to Artifact Registry upon successful completion of all build steps. A package can encapsulate multiple objects to be uploaded to a single repository.
The location and generation of the uploaded objects will be stored in the Build resource's results field.
If any objects fail to be pushed, the build is marked FAILURE.
- images List<String>
A list of images to be pushed upon the successful completion of all build steps.
The images will be pushed using the builder service account's credentials.
The digests of the pushed images will be stored in the Build resource's results field.
If any of the images fail to be pushed, the build is marked FAILURE.
- maven
Artifacts List<Property Map> A Maven artifact to upload to Artifact Registry upon successful completion of all build steps.
The location and generation of the uploaded objects will be stored in the Build resource's results field.
If any objects fail to be pushed, the build is marked FAILURE.
- npm
Packages List<Property Map> Npm package to upload to Artifact Registry upon successful completion of all build steps.
The location and generation of the uploaded objects will be stored in the Build resource's results field.
If any objects fail to be pushed, the build is marked FAILURE.
- objects List<Property Map>
A list of objects to be uploaded to Cloud Storage upon successful completion of all build steps.
Files in the workspace matching specified paths globs will be uploaded to the Cloud Storage location using the builder service account's credentials.
The location and generation of the uploaded objects will be stored in the Build resource's results field.
If any objects fail to be pushed, the build is marked FAILURE.
- python
Packages List<Property Map> Python package to upload to Artifact Registry upon successful completion of all build steps. A package can encapsulate multiple objects to be uploaded to a single repository.
The location and generation of the uploaded objects will be stored in the Build resource's results field.
If any objects fail to be pushed, the build is marked FAILURE.
GetTriggerBuildArtifactMavenArtifact
- Artifact
Id string - Maven artifactId value used when uploading the artifact to Artifact Registry.
- Group
Id string - Maven groupId value used when uploading the artifact to Artifact Registry.
- Path string
- Path to an artifact in the build's workspace to be uploaded to Artifact Registry. This can be either an absolute path, e.g. /workspace/my-app/target/my-app-1.0.SNAPSHOT.jar or a relative path from /workspace, e.g. my-app/target/my-app-1.0.SNAPSHOT.jar.
- Repository string
Artifact Registry repository, in the form "https://$REGION-maven.pkg.dev/$PROJECT/$REPOSITORY"
Artifact in the workspace specified by path will be uploaded to Artifact Registry with this location as a prefix.
- Version string
- Maven version value used when uploading the artifact to Artifact Registry.
- Artifact
Id string - Maven artifactId value used when uploading the artifact to Artifact Registry.
- Group
Id string - Maven groupId value used when uploading the artifact to Artifact Registry.
- Path string
- Path to an artifact in the build's workspace to be uploaded to Artifact Registry. This can be either an absolute path, e.g. /workspace/my-app/target/my-app-1.0.SNAPSHOT.jar or a relative path from /workspace, e.g. my-app/target/my-app-1.0.SNAPSHOT.jar.
- Repository string
Artifact Registry repository, in the form "https://$REGION-maven.pkg.dev/$PROJECT/$REPOSITORY"
Artifact in the workspace specified by path will be uploaded to Artifact Registry with this location as a prefix.
- Version string
- Maven version value used when uploading the artifact to Artifact Registry.
- artifact
Id String - Maven artifactId value used when uploading the artifact to Artifact Registry.
- group
Id String - Maven groupId value used when uploading the artifact to Artifact Registry.
- path String
- Path to an artifact in the build's workspace to be uploaded to Artifact Registry. This can be either an absolute path, e.g. /workspace/my-app/target/my-app-1.0.SNAPSHOT.jar or a relative path from /workspace, e.g. my-app/target/my-app-1.0.SNAPSHOT.jar.
- repository String
Artifact Registry repository, in the form "https://$REGION-maven.pkg.dev/$PROJECT/$REPOSITORY"
Artifact in the workspace specified by path will be uploaded to Artifact Registry with this location as a prefix.
- version String
- Maven version value used when uploading the artifact to Artifact Registry.
- artifact
Id string - Maven artifactId value used when uploading the artifact to Artifact Registry.
- group
Id string - Maven groupId value used when uploading the artifact to Artifact Registry.
- path string
- Path to an artifact in the build's workspace to be uploaded to Artifact Registry. This can be either an absolute path, e.g. /workspace/my-app/target/my-app-1.0.SNAPSHOT.jar or a relative path from /workspace, e.g. my-app/target/my-app-1.0.SNAPSHOT.jar.
- repository string
Artifact Registry repository, in the form "https://$REGION-maven.pkg.dev/$PROJECT/$REPOSITORY"
Artifact in the workspace specified by path will be uploaded to Artifact Registry with this location as a prefix.
- version string
- Maven version value used when uploading the artifact to Artifact Registry.
- artifact_
id str - Maven artifactId value used when uploading the artifact to Artifact Registry.
- group_
id str - Maven groupId value used when uploading the artifact to Artifact Registry.
- path str
- Path to an artifact in the build's workspace to be uploaded to Artifact Registry. This can be either an absolute path, e.g. /workspace/my-app/target/my-app-1.0.SNAPSHOT.jar or a relative path from /workspace, e.g. my-app/target/my-app-1.0.SNAPSHOT.jar.
- repository str
Artifact Registry repository, in the form "https://$REGION-maven.pkg.dev/$PROJECT/$REPOSITORY"
Artifact in the workspace specified by path will be uploaded to Artifact Registry with this location as a prefix.
- version str
- Maven version value used when uploading the artifact to Artifact Registry.
- artifact
Id String - Maven artifactId value used when uploading the artifact to Artifact Registry.
- group
Id String - Maven groupId value used when uploading the artifact to Artifact Registry.
- path String
- Path to an artifact in the build's workspace to be uploaded to Artifact Registry. This can be either an absolute path, e.g. /workspace/my-app/target/my-app-1.0.SNAPSHOT.jar or a relative path from /workspace, e.g. my-app/target/my-app-1.0.SNAPSHOT.jar.
- repository String
Artifact Registry repository, in the form "https://$REGION-maven.pkg.dev/$PROJECT/$REPOSITORY"
Artifact in the workspace specified by path will be uploaded to Artifact Registry with this location as a prefix.
- version String
- Maven version value used when uploading the artifact to Artifact Registry.
GetTriggerBuildArtifactNpmPackage
- Package
Path string - Path to the package.json. e.g. workspace/path/to/package
- Repository string
Artifact Registry repository, in the form "https://$REGION-npm.pkg.dev/$PROJECT/$REPOSITORY"
Npm package in the workspace specified by path will be zipped and uploaded to Artifact Registry with this location as a prefix.
- Package
Path string - Path to the package.json. e.g. workspace/path/to/package
- Repository string
Artifact Registry repository, in the form "https://$REGION-npm.pkg.dev/$PROJECT/$REPOSITORY"
Npm package in the workspace specified by path will be zipped and uploaded to Artifact Registry with this location as a prefix.
- package
Path String - Path to the package.json. e.g. workspace/path/to/package
- repository String
Artifact Registry repository, in the form "https://$REGION-npm.pkg.dev/$PROJECT/$REPOSITORY"
Npm package in the workspace specified by path will be zipped and uploaded to Artifact Registry with this location as a prefix.
- package
Path string - Path to the package.json. e.g. workspace/path/to/package
- repository string
Artifact Registry repository, in the form "https://$REGION-npm.pkg.dev/$PROJECT/$REPOSITORY"
Npm package in the workspace specified by path will be zipped and uploaded to Artifact Registry with this location as a prefix.
- package_
path str - Path to the package.json. e.g. workspace/path/to/package
- repository str
Artifact Registry repository, in the form "https://$REGION-npm.pkg.dev/$PROJECT/$REPOSITORY"
Npm package in the workspace specified by path will be zipped and uploaded to Artifact Registry with this location as a prefix.
- package
Path String - Path to the package.json. e.g. workspace/path/to/package
- repository String
Artifact Registry repository, in the form "https://$REGION-npm.pkg.dev/$PROJECT/$REPOSITORY"
Npm package in the workspace specified by path will be zipped and uploaded to Artifact Registry with this location as a prefix.
GetTriggerBuildArtifactObject
- Location string
- The Cloud Build location for the trigger.
- Paths List<string>
- Path globs used to match files in the build's workspace.
- Timings
List<Get
Trigger Build Artifact Object Timing> - Output only. Stores timing information for pushing all artifact objects.
- Location string
- The Cloud Build location for the trigger.
- Paths []string
- Path globs used to match files in the build's workspace.
- Timings
[]Get
Trigger Build Artifact Object Timing - Output only. Stores timing information for pushing all artifact objects.
- location String
- The Cloud Build location for the trigger.
- paths List<String>
- Path globs used to match files in the build's workspace.
- timings
List<Get
Trigger Build Artifact Object Timing> - Output only. Stores timing information for pushing all artifact objects.
- location string
- The Cloud Build location for the trigger.
- paths string[]
- Path globs used to match files in the build's workspace.
- timings
Get
Trigger Build Artifact Object Timing[] - Output only. Stores timing information for pushing all artifact objects.
- location str
- The Cloud Build location for the trigger.
- paths Sequence[str]
- Path globs used to match files in the build's workspace.
- timings
Sequence[Get
Trigger Build Artifact Object Timing] - Output only. Stores timing information for pushing all artifact objects.
- location String
- The Cloud Build location for the trigger.
- paths List<String>
- Path globs used to match files in the build's workspace.
- timings List<Property Map>
- Output only. Stores timing information for pushing all artifact objects.
GetTriggerBuildArtifactObjectTiming
- End
Time string End of time span.
A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
- Start
Time string Start of time span.
A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
- End
Time string End of time span.
A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
- Start
Time string Start of time span.
A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
- end
Time String End of time span.
A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
- start
Time String Start of time span.
A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
- end
Time string End of time span.
A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
- start
Time string Start of time span.
A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
- end_
time str End of time span.
A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
- start_
time str Start of time span.
A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
- end
Time String End of time span.
A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
- start
Time String Start of time span.
A timestamp in RFC3339 UTC "Zulu" format, with nanosecond resolution and up to nine fractional digits. Examples: "2014-10-02T15:01:23Z" and "2014-10-02T15:01:23.045123456Z".
GetTriggerBuildArtifactPythonPackage
- Paths List<string>
- Path globs used to match files in the build's workspace. For Python/ Twine, this is usually dist/*, and sometimes additionally an .asc file.
- Repository string
Artifact Registry repository, in the form "https://$REGION-python.pkg.dev/$PROJECT/$REPOSITORY"
Files in the workspace matching any path pattern will be uploaded to Artifact Registry with this location as a prefix.
- Paths []string
- Path globs used to match files in the build's workspace. For Python/ Twine, this is usually dist/*, and sometimes additionally an .asc file.
- Repository string
Artifact Registry repository, in the form "https://$REGION-python.pkg.dev/$PROJECT/$REPOSITORY"
Files in the workspace matching any path pattern will be uploaded to Artifact Registry with this location as a prefix.
- paths List<String>
- Path globs used to match files in the build's workspace. For Python/ Twine, this is usually dist/*, and sometimes additionally an .asc file.
- repository String
Artifact Registry repository, in the form "https://$REGION-python.pkg.dev/$PROJECT/$REPOSITORY"
Files in the workspace matching any path pattern will be uploaded to Artifact Registry with this location as a prefix.
- paths string[]
- Path globs used to match files in the build's workspace. For Python/ Twine, this is usually dist/*, and sometimes additionally an .asc file.
- repository string
Artifact Registry repository, in the form "https://$REGION-python.pkg.dev/$PROJECT/$REPOSITORY"
Files in the workspace matching any path pattern will be uploaded to Artifact Registry with this location as a prefix.
- paths Sequence[str]
- Path globs used to match files in the build's workspace. For Python/ Twine, this is usually dist/*, and sometimes additionally an .asc file.
- repository str
Artifact Registry repository, in the form "https://$REGION-python.pkg.dev/$PROJECT/$REPOSITORY"
Files in the workspace matching any path pattern will be uploaded to Artifact Registry with this location as a prefix.
- paths List<String>
- Path globs used to match files in the build's workspace. For Python/ Twine, this is usually dist/*, and sometimes additionally an .asc file.
- repository String
Artifact Registry repository, in the form "https://$REGION-python.pkg.dev/$PROJECT/$REPOSITORY"
Files in the workspace matching any path pattern will be uploaded to Artifact Registry with this location as a prefix.
GetTriggerBuildAvailableSecret
- Secret
Managers List<GetTrigger Build Available Secret Secret Manager> - Pairs a secret environment variable with a SecretVersion in Secret Manager.
- Secret
Managers []GetTrigger Build Available Secret Secret Manager - Pairs a secret environment variable with a SecretVersion in Secret Manager.
- secret
Managers List<GetTrigger Build Available Secret Secret Manager> - Pairs a secret environment variable with a SecretVersion in Secret Manager.
- secret
Managers GetTrigger Build Available Secret Secret Manager[] - Pairs a secret environment variable with a SecretVersion in Secret Manager.
- secret_
managers Sequence[GetTrigger Build Available Secret Secret Manager] - Pairs a secret environment variable with a SecretVersion in Secret Manager.
- secret
Managers List<Property Map> - Pairs a secret environment variable with a SecretVersion in Secret Manager.
GetTriggerBuildAvailableSecretSecretManager
- Env string
- Environment variable name to associate with the secret. Secret environment variables must be unique across all of a build's secrets, and must be used by at least one build step.
- Version
Name string - Resource name of the SecretVersion. In format: projects//secrets//versions/*
- Env string
- Environment variable name to associate with the secret. Secret environment variables must be unique across all of a build's secrets, and must be used by at least one build step.
- Version
Name string - Resource name of the SecretVersion. In format: projects//secrets//versions/*
- env String
- Environment variable name to associate with the secret. Secret environment variables must be unique across all of a build's secrets, and must be used by at least one build step.
- version
Name String - Resource name of the SecretVersion. In format: projects//secrets//versions/*
- env string
- Environment variable name to associate with the secret. Secret environment variables must be unique across all of a build's secrets, and must be used by at least one build step.
- version
Name string - Resource name of the SecretVersion. In format: projects//secrets//versions/*
- env str
- Environment variable name to associate with the secret. Secret environment variables must be unique across all of a build's secrets, and must be used by at least one build step.
- version_
name str - Resource name of the SecretVersion. In format: projects//secrets//versions/*
- env String
- Environment variable name to associate with the secret. Secret environment variables must be unique across all of a build's secrets, and must be used by at least one build step.
- version
Name String - Resource name of the SecretVersion. In format: projects//secrets//versions/*
GetTriggerBuildOption
- Disk
Size intGb - Requested disk size for the VM that runs the build. Note that this is NOT "disk free"; some of the space will be used by the operating system and build utilities. Also note that this is the minimum disk size that will be allocated for the build -- the build may run with a larger disk than requested. At present, the maximum disk size is 1000GB; builds that request more than the maximum are rejected with an error.
- Dynamic
Substitutions bool Option to specify whether or not to apply bash style string operations to the substitutions.
NOTE this is always enabled for triggered builds and cannot be overridden in the build configuration file.
- Envs List<string>
A list of global environment variable definitions that will exist for all build steps in this build. If a variable is defined in both globally and in a build step, the variable will use the build step value.
The elements are of the form "KEY=VALUE" for the environment variable "KEY" being given the value "VALUE".
- Log
Streaming stringOption - Option to define build log streaming behavior to Google Cloud Storage. Possible values: ["STREAM_DEFAULT", "STREAM_ON", "STREAM_OFF"]
- Logging string
- Option to specify the logging mode, which determines if and where build logs are stored. Possible values: ["LOGGING_UNSPECIFIED", "LEGACY", "GCS_ONLY", "STACKDRIVER_ONLY", "CLOUD_LOGGING_ONLY", "NONE"]
- Machine
Type string - Compute Engine machine type on which to run the build.
- Requested
Verify stringOption - Requested verifiability options. Possible values: ["NOT_VERIFIED", "VERIFIED"]
- Secret
Envs List<string> - A list of global environment variables, which are encrypted using a Cloud Key Management Service crypto key. These values must be specified in the build's Secret. These variables will be available to all build steps in this build.
- Source
Provenance List<string>Hashes - Requested hash for SourceProvenance. Possible values: ["NONE", "SHA256", "MD5"]
- Substitution
Option string Option to specify behavior when there is an error in the substitution checks.
NOTE this is always set to ALLOW_LOOSE for triggered builds and cannot be overridden in the build configuration file. Possible values: ["MUST_MATCH", "ALLOW_LOOSE"]
- Volumes
List<Get
Trigger Build Option Volume> Global list of volumes to mount for ALL build steps
Each volume is created as an empty volume prior to starting the build process. Upon completion of the build, volumes and their contents are discarded. Global volume names and paths cannot conflict with the volumes defined a build step.
Using a global volume in a build with only one step is not valid as it is indicative of a build request with an incorrect configuration.
- Worker
Pool string Option to specify a WorkerPool for the build. Format projects/{project}/workerPools/{workerPool}
This field is experimental.
- Disk
Size intGb - Requested disk size for the VM that runs the build. Note that this is NOT "disk free"; some of the space will be used by the operating system and build utilities. Also note that this is the minimum disk size that will be allocated for the build -- the build may run with a larger disk than requested. At present, the maximum disk size is 1000GB; builds that request more than the maximum are rejected with an error.
- Dynamic
Substitutions bool Option to specify whether or not to apply bash style string operations to the substitutions.
NOTE this is always enabled for triggered builds and cannot be overridden in the build configuration file.
- Envs []string
A list of global environment variable definitions that will exist for all build steps in this build. If a variable is defined in both globally and in a build step, the variable will use the build step value.
The elements are of the form "KEY=VALUE" for the environment variable "KEY" being given the value "VALUE".
- Log
Streaming stringOption - Option to define build log streaming behavior to Google Cloud Storage. Possible values: ["STREAM_DEFAULT", "STREAM_ON", "STREAM_OFF"]
- Logging string
- Option to specify the logging mode, which determines if and where build logs are stored. Possible values: ["LOGGING_UNSPECIFIED", "LEGACY", "GCS_ONLY", "STACKDRIVER_ONLY", "CLOUD_LOGGING_ONLY", "NONE"]
- Machine
Type string - Compute Engine machine type on which to run the build.
- Requested
Verify stringOption - Requested verifiability options. Possible values: ["NOT_VERIFIED", "VERIFIED"]
- Secret
Envs []string - A list of global environment variables, which are encrypted using a Cloud Key Management Service crypto key. These values must be specified in the build's Secret. These variables will be available to all build steps in this build.
- Source
Provenance []stringHashes - Requested hash for SourceProvenance. Possible values: ["NONE", "SHA256", "MD5"]
- Substitution
Option string Option to specify behavior when there is an error in the substitution checks.
NOTE this is always set to ALLOW_LOOSE for triggered builds and cannot be overridden in the build configuration file. Possible values: ["MUST_MATCH", "ALLOW_LOOSE"]
- Volumes
[]Get
Trigger Build Option Volume Global list of volumes to mount for ALL build steps
Each volume is created as an empty volume prior to starting the build process. Upon completion of the build, volumes and their contents are discarded. Global volume names and paths cannot conflict with the volumes defined a build step.
Using a global volume in a build with only one step is not valid as it is indicative of a build request with an incorrect configuration.
- Worker
Pool string Option to specify a WorkerPool for the build. Format projects/{project}/workerPools/{workerPool}
This field is experimental.
- disk
Size IntegerGb - Requested disk size for the VM that runs the build. Note that this is NOT "disk free"; some of the space will be used by the operating system and build utilities. Also note that this is the minimum disk size that will be allocated for the build -- the build may run with a larger disk than requested. At present, the maximum disk size is 1000GB; builds that request more than the maximum are rejected with an error.
- dynamic
Substitutions Boolean Option to specify whether or not to apply bash style string operations to the substitutions.
NOTE this is always enabled for triggered builds and cannot be overridden in the build configuration file.
- envs List<String>
A list of global environment variable definitions that will exist for all build steps in this build. If a variable is defined in both globally and in a build step, the variable will use the build step value.
The elements are of the form "KEY=VALUE" for the environment variable "KEY" being given the value "VALUE".
- log
Streaming StringOption - Option to define build log streaming behavior to Google Cloud Storage. Possible values: ["STREAM_DEFAULT", "STREAM_ON", "STREAM_OFF"]
- logging String
- Option to specify the logging mode, which determines if and where build logs are stored. Possible values: ["LOGGING_UNSPECIFIED", "LEGACY", "GCS_ONLY", "STACKDRIVER_ONLY", "CLOUD_LOGGING_ONLY", "NONE"]
- machine
Type String - Compute Engine machine type on which to run the build.
- requested
Verify StringOption - Requested verifiability options. Possible values: ["NOT_VERIFIED", "VERIFIED"]
- secret
Envs List<String> - A list of global environment variables, which are encrypted using a Cloud Key Management Service crypto key. These values must be specified in the build's Secret. These variables will be available to all build steps in this build.
- source
Provenance List<String>Hashes - Requested hash for SourceProvenance. Possible values: ["NONE", "SHA256", "MD5"]
- substitution
Option String Option to specify behavior when there is an error in the substitution checks.
NOTE this is always set to ALLOW_LOOSE for triggered builds and cannot be overridden in the build configuration file. Possible values: ["MUST_MATCH", "ALLOW_LOOSE"]
- volumes
List<Get
Trigger Build Option Volume> Global list of volumes to mount for ALL build steps
Each volume is created as an empty volume prior to starting the build process. Upon completion of the build, volumes and their contents are discarded. Global volume names and paths cannot conflict with the volumes defined a build step.
Using a global volume in a build with only one step is not valid as it is indicative of a build request with an incorrect configuration.
- worker
Pool String Option to specify a WorkerPool for the build. Format projects/{project}/workerPools/{workerPool}
This field is experimental.
- disk
Size numberGb - Requested disk size for the VM that runs the build. Note that this is NOT "disk free"; some of the space will be used by the operating system and build utilities. Also note that this is the minimum disk size that will be allocated for the build -- the build may run with a larger disk than requested. At present, the maximum disk size is 1000GB; builds that request more than the maximum are rejected with an error.
- dynamic
Substitutions boolean Option to specify whether or not to apply bash style string operations to the substitutions.
NOTE this is always enabled for triggered builds and cannot be overridden in the build configuration file.
- envs string[]
A list of global environment variable definitions that will exist for all build steps in this build. If a variable is defined in both globally and in a build step, the variable will use the build step value.
The elements are of the form "KEY=VALUE" for the environment variable "KEY" being given the value "VALUE".
- log
Streaming stringOption - Option to define build log streaming behavior to Google Cloud Storage. Possible values: ["STREAM_DEFAULT", "STREAM_ON", "STREAM_OFF"]
- logging string
- Option to specify the logging mode, which determines if and where build logs are stored. Possible values: ["LOGGING_UNSPECIFIED", "LEGACY", "GCS_ONLY", "STACKDRIVER_ONLY", "CLOUD_LOGGING_ONLY", "NONE"]
- machine
Type string - Compute Engine machine type on which to run the build.
- requested
Verify stringOption - Requested verifiability options. Possible values: ["NOT_VERIFIED", "VERIFIED"]
- secret
Envs string[] - A list of global environment variables, which are encrypted using a Cloud Key Management Service crypto key. These values must be specified in the build's Secret. These variables will be available to all build steps in this build.
- source
Provenance string[]Hashes - Requested hash for SourceProvenance. Possible values: ["NONE", "SHA256", "MD5"]
- substitution
Option string Option to specify behavior when there is an error in the substitution checks.
NOTE this is always set to ALLOW_LOOSE for triggered builds and cannot be overridden in the build configuration file. Possible values: ["MUST_MATCH", "ALLOW_LOOSE"]
- volumes
Get
Trigger Build Option Volume[] Global list of volumes to mount for ALL build steps
Each volume is created as an empty volume prior to starting the build process. Upon completion of the build, volumes and their contents are discarded. Global volume names and paths cannot conflict with the volumes defined a build step.
Using a global volume in a build with only one step is not valid as it is indicative of a build request with an incorrect configuration.
- worker
Pool string Option to specify a WorkerPool for the build. Format projects/{project}/workerPools/{workerPool}
This field is experimental.
- disk_
size_ intgb - Requested disk size for the VM that runs the build. Note that this is NOT "disk free"; some of the space will be used by the operating system and build utilities. Also note that this is the minimum disk size that will be allocated for the build -- the build may run with a larger disk than requested. At present, the maximum disk size is 1000GB; builds that request more than the maximum are rejected with an error.
- dynamic_
substitutions bool Option to specify whether or not to apply bash style string operations to the substitutions.
NOTE this is always enabled for triggered builds and cannot be overridden in the build configuration file.
- envs Sequence[str]
A list of global environment variable definitions that will exist for all build steps in this build. If a variable is defined in both globally and in a build step, the variable will use the build step value.
The elements are of the form "KEY=VALUE" for the environment variable "KEY" being given the value "VALUE".
- log_
streaming_ stroption - Option to define build log streaming behavior to Google Cloud Storage. Possible values: ["STREAM_DEFAULT", "STREAM_ON", "STREAM_OFF"]
- logging str
- Option to specify the logging mode, which determines if and where build logs are stored. Possible values: ["LOGGING_UNSPECIFIED", "LEGACY", "GCS_ONLY", "STACKDRIVER_ONLY", "CLOUD_LOGGING_ONLY", "NONE"]
- machine_
type str - Compute Engine machine type on which to run the build.
- requested_
verify_ stroption - Requested verifiability options. Possible values: ["NOT_VERIFIED", "VERIFIED"]
- secret_
envs Sequence[str] - A list of global environment variables, which are encrypted using a Cloud Key Management Service crypto key. These values must be specified in the build's Secret. These variables will be available to all build steps in this build.
- source_
provenance_ Sequence[str]hashes - Requested hash for SourceProvenance. Possible values: ["NONE", "SHA256", "MD5"]
- substitution_
option str Option to specify behavior when there is an error in the substitution checks.
NOTE this is always set to ALLOW_LOOSE for triggered builds and cannot be overridden in the build configuration file. Possible values: ["MUST_MATCH", "ALLOW_LOOSE"]
- volumes
Sequence[Get
Trigger Build Option Volume] Global list of volumes to mount for ALL build steps
Each volume is created as an empty volume prior to starting the build process. Upon completion of the build, volumes and their contents are discarded. Global volume names and paths cannot conflict with the volumes defined a build step.
Using a global volume in a build with only one step is not valid as it is indicative of a build request with an incorrect configuration.
- worker_
pool str Option to specify a WorkerPool for the build. Format projects/{project}/workerPools/{workerPool}
This field is experimental.
- disk
Size NumberGb - Requested disk size for the VM that runs the build. Note that this is NOT "disk free"; some of the space will be used by the operating system and build utilities. Also note that this is the minimum disk size that will be allocated for the build -- the build may run with a larger disk than requested. At present, the maximum disk size is 1000GB; builds that request more than the maximum are rejected with an error.
- dynamic
Substitutions Boolean Option to specify whether or not to apply bash style string operations to the substitutions.
NOTE this is always enabled for triggered builds and cannot be overridden in the build configuration file.
- envs List<String>
A list of global environment variable definitions that will exist for all build steps in this build. If a variable is defined in both globally and in a build step, the variable will use the build step value.
The elements are of the form "KEY=VALUE" for the environment variable "KEY" being given the value "VALUE".
- log
Streaming StringOption - Option to define build log streaming behavior to Google Cloud Storage. Possible values: ["STREAM_DEFAULT", "STREAM_ON", "STREAM_OFF"]
- logging String
- Option to specify the logging mode, which determines if and where build logs are stored. Possible values: ["LOGGING_UNSPECIFIED", "LEGACY", "GCS_ONLY", "STACKDRIVER_ONLY", "CLOUD_LOGGING_ONLY", "NONE"]
- machine
Type String - Compute Engine machine type on which to run the build.
- requested
Verify StringOption - Requested verifiability options. Possible values: ["NOT_VERIFIED", "VERIFIED"]
- secret
Envs List<String> - A list of global environment variables, which are encrypted using a Cloud Key Management Service crypto key. These values must be specified in the build's Secret. These variables will be available to all build steps in this build.
- source
Provenance List<String>Hashes - Requested hash for SourceProvenance. Possible values: ["NONE", "SHA256", "MD5"]
- substitution
Option String Option to specify behavior when there is an error in the substitution checks.
NOTE this is always set to ALLOW_LOOSE for triggered builds and cannot be overridden in the build configuration file. Possible values: ["MUST_MATCH", "ALLOW_LOOSE"]
- volumes List<Property Map>
Global list of volumes to mount for ALL build steps
Each volume is created as an empty volume prior to starting the build process. Upon completion of the build, volumes and their contents are discarded. Global volume names and paths cannot conflict with the volumes defined a build step.
Using a global volume in a build with only one step is not valid as it is indicative of a build request with an incorrect configuration.
- worker
Pool String Option to specify a WorkerPool for the build. Format projects/{project}/workerPools/{workerPool}
This field is experimental.
GetTriggerBuildOptionVolume
- Name string
Name of the volume to mount.
Volume names must be unique per build step and must be valid names for Docker volumes. Each named volume must be used by at least two build steps.
- Path string
Path at which to mount the volume.
Paths must be absolute and cannot conflict with other volume paths on the same build step or with certain reserved volume paths.
- Name string
Name of the volume to mount.
Volume names must be unique per build step and must be valid names for Docker volumes. Each named volume must be used by at least two build steps.
- Path string
Path at which to mount the volume.
Paths must be absolute and cannot conflict with other volume paths on the same build step or with certain reserved volume paths.
- name String
Name of the volume to mount.
Volume names must be unique per build step and must be valid names for Docker volumes. Each named volume must be used by at least two build steps.
- path String
Path at which to mount the volume.
Paths must be absolute and cannot conflict with other volume paths on the same build step or with certain reserved volume paths.
- name string
Name of the volume to mount.
Volume names must be unique per build step and must be valid names for Docker volumes. Each named volume must be used by at least two build steps.
- path string
Path at which to mount the volume.
Paths must be absolute and cannot conflict with other volume paths on the same build step or with certain reserved volume paths.
- name str
Name of the volume to mount.
Volume names must be unique per build step and must be valid names for Docker volumes. Each named volume must be used by at least two build steps.
- path str
Path at which to mount the volume.
Paths must be absolute and cannot conflict with other volume paths on the same build step or with certain reserved volume paths.
- name String
Name of the volume to mount.
Volume names must be unique per build step and must be valid names for Docker volumes. Each named volume must be used by at least two build steps.
- path String
Path at which to mount the volume.
Paths must be absolute and cannot conflict with other volume paths on the same build step or with certain reserved volume paths.
GetTriggerBuildSecret
- Kms
Key stringName - Cloud KMS key name to use to decrypt these envs.
- Secret
Env Dictionary<string, string> - Map of environment variable name to its encrypted value. Secret environment variables must be unique across all of a build's secrets, and must be used by at least one build step. Values can be at most 64 KB in size. There can be at most 100 secret values across all of a build's secrets.
- Kms
Key stringName - Cloud KMS key name to use to decrypt these envs.
- Secret
Env map[string]string - Map of environment variable name to its encrypted value. Secret environment variables must be unique across all of a build's secrets, and must be used by at least one build step. Values can be at most 64 KB in size. There can be at most 100 secret values across all of a build's secrets.
- kms
Key StringName - Cloud KMS key name to use to decrypt these envs.
- secret
Env Map<String,String> - Map of environment variable name to its encrypted value. Secret environment variables must be unique across all of a build's secrets, and must be used by at least one build step. Values can be at most 64 KB in size. There can be at most 100 secret values across all of a build's secrets.
- kms
Key stringName - Cloud KMS key name to use to decrypt these envs.
- secret
Env {[key: string]: string} - Map of environment variable name to its encrypted value. Secret environment variables must be unique across all of a build's secrets, and must be used by at least one build step. Values can be at most 64 KB in size. There can be at most 100 secret values across all of a build's secrets.
- kms_
key_ strname - Cloud KMS key name to use to decrypt these envs.
- secret_
env Mapping[str, str] - Map of environment variable name to its encrypted value. Secret environment variables must be unique across all of a build's secrets, and must be used by at least one build step. Values can be at most 64 KB in size. There can be at most 100 secret values across all of a build's secrets.
- kms
Key StringName - Cloud KMS key name to use to decrypt these envs.
- secret
Env Map<String> - Map of environment variable name to its encrypted value. Secret environment variables must be unique across all of a build's secrets, and must be used by at least one build step. Values can be at most 64 KB in size. There can be at most 100 secret values across all of a build's secrets.
GetTriggerBuildSource
- Repo
Sources List<GetTrigger Build Source Repo Source> - Location of the source in a Google Cloud Source Repository.
- Storage
Sources List<GetTrigger Build Source Storage Source> - Location of the source in an archive file in Google Cloud Storage.
- Repo
Sources []GetTrigger Build Source Repo Source - Location of the source in a Google Cloud Source Repository.
- Storage
Sources []GetTrigger Build Source Storage Source - Location of the source in an archive file in Google Cloud Storage.
- repo
Sources List<GetTrigger Build Source Repo Source> - Location of the source in a Google Cloud Source Repository.
- storage
Sources List<GetTrigger Build Source Storage Source> - Location of the source in an archive file in Google Cloud Storage.
- repo
Sources GetTrigger Build Source Repo Source[] - Location of the source in a Google Cloud Source Repository.
- storage
Sources GetTrigger Build Source Storage Source[] - Location of the source in an archive file in Google Cloud Storage.
- repo_
sources Sequence[GetTrigger Build Source Repo Source] - Location of the source in a Google Cloud Source Repository.
- storage_
sources Sequence[GetTrigger Build Source Storage Source] - Location of the source in an archive file in Google Cloud Storage.
- repo
Sources List<Property Map> - Location of the source in a Google Cloud Source Repository.
- storage
Sources List<Property Map> - Location of the source in an archive file in Google Cloud Storage.
GetTriggerBuildSourceRepoSource
- Branch
Name string - 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
- Commit
Sha string - Explicit commit SHA to build. Exactly one a of branch name, tag, or commit SHA must be provided.
- Dir string
- 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.
- Invert
Regex bool - Only trigger a build if the revision regex does NOT match the revision regex.
- Project
Id string - ID of the project that owns the Cloud Source Repository. If omitted, the project ID requesting the build is assumed.
- Repo
Name string - Name of the Cloud Source Repository.
- Substitutions Dictionary<string, string>
- Substitutions to use in a triggered build. Should only be used with triggers.run
- Tag
Name string - 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
- Branch
Name string - 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
- Commit
Sha string - Explicit commit SHA to build. Exactly one a of branch name, tag, or commit SHA must be provided.
- Dir string
- 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.
- Invert
Regex bool - Only trigger a build if the revision regex does NOT match the revision regex.
- Project
Id string - ID of the project that owns the Cloud Source Repository. If omitted, the project ID requesting the build is assumed.
- Repo
Name string - Name of the Cloud Source Repository.
- Substitutions map[string]string
- Substitutions to use in a triggered build. Should only be used with triggers.run
- Tag
Name string - 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
- branch
Name String - 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
- commit
Sha String - Explicit commit SHA to build. Exactly one a of branch name, tag, or commit SHA must be provided.
- dir String
- 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.
- invert
Regex Boolean - Only trigger a build if the revision regex does NOT match the revision regex.
- project
Id String - ID of the project that owns the Cloud Source Repository. If omitted, the project ID requesting the build is assumed.
- repo
Name String - Name of the Cloud Source Repository.
- substitutions Map<String,String>
- Substitutions to use in a triggered build. Should only be used with triggers.run
- tag
Name String - 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
- branch
Name string - 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
- commit
Sha string - Explicit commit SHA to build. Exactly one a of branch name, tag, or commit SHA must be provided.
- dir string
- 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.
- invert
Regex boolean - Only trigger a build if the revision regex does NOT match the revision regex.
- project
Id string - ID of the project that owns the Cloud Source Repository. If omitted, the project ID requesting the build is assumed.
- repo
Name string - Name of the Cloud Source Repository.
- substitutions {[key: string]: string}
- Substitutions to use in a triggered build. Should only be used with triggers.run
- tag
Name string - 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
- branch_
name str - 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
- commit_
sha str - Explicit commit SHA to build. Exactly one a of branch name, tag, or commit SHA must be provided.
- dir str
- 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.
- invert_
regex bool - Only trigger a build if the revision regex does NOT match the revision regex.
- project_
id str - ID of the project that owns the Cloud Source Repository. If omitted, the project ID requesting the build is assumed.
- repo_
name str - Name of the Cloud Source Repository.
- substitutions Mapping[str, str]
- Substitutions to use in a triggered build. Should only be used with triggers.run
- tag_
name str - 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
- branch
Name String - 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
- commit
Sha String - Explicit commit SHA to build. Exactly one a of branch name, tag, or commit SHA must be provided.
- dir String
- 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.
- invert
Regex Boolean - Only trigger a build if the revision regex does NOT match the revision regex.
- project
Id String - ID of the project that owns the Cloud Source Repository. If omitted, the project ID requesting the build is assumed.
- repo
Name String - Name of the Cloud Source Repository.
- substitutions Map<String>
- Substitutions to use in a triggered build. Should only be used with triggers.run
- tag
Name String - 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
GetTriggerBuildSourceStorageSource
- Bucket string
- Google Cloud Storage bucket containing the source.
- Generation string
- Google Cloud Storage generation for the object. If the generation is omitted, the latest generation will be used
- Object string
- Google Cloud Storage object containing the source. This object must be a gzipped archive file (.tar.gz) containing source to build.
- Bucket string
- Google Cloud Storage bucket containing the source.
- Generation string
- Google Cloud Storage generation for the object. If the generation is omitted, the latest generation will be used
- Object string
- Google Cloud Storage object containing the source. This object must be a gzipped archive file (.tar.gz) containing source to build.
- bucket String
- Google Cloud Storage bucket containing the source.
- generation String
- Google Cloud Storage generation for the object. If the generation is omitted, the latest generation will be used
- object String
- Google Cloud Storage object containing the source. This object must be a gzipped archive file (.tar.gz) containing source to build.
- bucket string
- Google Cloud Storage bucket containing the source.
- generation string
- Google Cloud Storage generation for the object. If the generation is omitted, the latest generation will be used
- object string
- Google Cloud Storage object containing the source. This object must be a gzipped archive file (.tar.gz) containing source to build.
- bucket str
- Google Cloud Storage bucket containing the source.
- generation str
- Google Cloud Storage generation for the object. If the generation is omitted, the latest generation will be used
- object str
- Google Cloud Storage object containing the source. This object must be a gzipped archive file (.tar.gz) containing source to build.
- bucket String
- Google Cloud Storage bucket containing the source.
- generation String
- Google Cloud Storage generation for the object. If the generation is omitted, the latest generation will be used
- object String
- Google Cloud Storage object containing the source. This object must be a gzipped archive file (.tar.gz) containing source to build.
GetTriggerBuildStep
- Allow
Exit List<int>Codes Allow this build step to fail without failing the entire build if and only if the exit code is one of the specified codes.
If 'allowFailure' is also specified, this field will take precedence.
- Allow
Failure bool Allow this build step to fail without failing the entire build. If false, the entire build will fail if this step fails. Otherwise, the build will succeed, but this step will still have a failure status. Error information will be reported in the 'failureDetail' field.
'allowExitCodes' takes precedence over this field.
- Args List<string>
A list of arguments that will be presented to the step when it is started.
If the image used to run the step's container has an entrypoint, the args are used as arguments to that entrypoint. If the image does not define an entrypoint, the first element in args is used as the entrypoint, and the remainder will be used as arguments.
- Dir string
Working directory to use when running this step's container.
If this value is a relative path, it is relative to the build's working directory. If this value is absolute, it may be outside the build's working directory, in which case the contents of the path may not be persisted across build step executions, unless a 'volume' for that path is specified.
If the build specifies a 'RepoSource' with 'dir' and a step with a 'dir', which specifies an absolute path, the 'RepoSource' 'dir' is ignored for the step's execution.
- Entrypoint string
- Entrypoint to be used instead of the build step image's default entrypoint. If unset, the image's default entrypoint is used
- Envs List<string>
A list of environment variable definitions to be used when running a step.
The elements are of the form "KEY=VALUE" for the environment variable "KEY" being given the value "VALUE".
- Id string
- Unique identifier for this build step, used in 'wait_for' to reference this build step as a dependency.
- Name string
The name of the container image that will run this particular build step.
If the image is available in the host's Docker daemon's cache, it will be run directly. If not, the host will attempt to pull the image first, using the builder service account's credentials if necessary.
The Docker daemon's cache will already have the latest versions of all of the officially supported build steps (see https://github.com/GoogleCloudPlatform/cloud-builders for images and examples). The Docker daemon will also have cached many of the layers for some popular images, like "ubuntu", "debian", but they will be refreshed at the time you attempt to use them.
If you built an image in a previous build step, it will be stored in the host's Docker daemon's cache and is available to use as the name for a later build step.
- Script string
- A shell script to be executed in the step. When script is provided, the user cannot specify the entrypoint or args.
- Secret
Envs List<string> - A list of environment variables which are encrypted using a Cloud Key Management Service crypto key. These values must be specified in the build's 'Secret'.
- Timeout string
- Time limit for executing this build step. If not defined, the step has no time limit and will be allowed to continue to run until either it completes or the build itself times out.
- Timing string
- Output only. Stores timing information for executing this build step.
- Volumes
List<Get
Trigger Build Step Volume> List of volumes to mount into the build step.
Each volume is created as an empty volume prior to execution of the build step. Upon completion of the build, volumes and their contents are discarded.
Using a named volume in only one step is not valid as it is indicative of a build request with an incorrect configuration.
- Wait
Fors List<string> The ID(s) of the step(s) that this build step depends on.
This build step will not start until all the build steps in 'wait_for' have completed successfully. If 'wait_for' is empty, this build step will start when all previous build steps in the 'Build.Steps' list have completed successfully.
- Allow
Exit []intCodes Allow this build step to fail without failing the entire build if and only if the exit code is one of the specified codes.
If 'allowFailure' is also specified, this field will take precedence.
- Allow
Failure bool Allow this build step to fail without failing the entire build. If false, the entire build will fail if this step fails. Otherwise, the build will succeed, but this step will still have a failure status. Error information will be reported in the 'failureDetail' field.
'allowExitCodes' takes precedence over this field.
- Args []string
A list of arguments that will be presented to the step when it is started.
If the image used to run the step's container has an entrypoint, the args are used as arguments to that entrypoint. If the image does not define an entrypoint, the first element in args is used as the entrypoint, and the remainder will be used as arguments.
- Dir string
Working directory to use when running this step's container.
If this value is a relative path, it is relative to the build's working directory. If this value is absolute, it may be outside the build's working directory, in which case the contents of the path may not be persisted across build step executions, unless a 'volume' for that path is specified.
If the build specifies a 'RepoSource' with 'dir' and a step with a 'dir', which specifies an absolute path, the 'RepoSource' 'dir' is ignored for the step's execution.
- Entrypoint string
- Entrypoint to be used instead of the build step image's default entrypoint. If unset, the image's default entrypoint is used
- Envs []string
A list of environment variable definitions to be used when running a step.
The elements are of the form "KEY=VALUE" for the environment variable "KEY" being given the value "VALUE".
- Id string
- Unique identifier for this build step, used in 'wait_for' to reference this build step as a dependency.
- Name string
The name of the container image that will run this particular build step.
If the image is available in the host's Docker daemon's cache, it will be run directly. If not, the host will attempt to pull the image first, using the builder service account's credentials if necessary.
The Docker daemon's cache will already have the latest versions of all of the officially supported build steps (see https://github.com/GoogleCloudPlatform/cloud-builders for images and examples). The Docker daemon will also have cached many of the layers for some popular images, like "ubuntu", "debian", but they will be refreshed at the time you attempt to use them.
If you built an image in a previous build step, it will be stored in the host's Docker daemon's cache and is available to use as the name for a later build step.
- Script string
- A shell script to be executed in the step. When script is provided, the user cannot specify the entrypoint or args.
- Secret
Envs []string - A list of environment variables which are encrypted using a Cloud Key Management Service crypto key. These values must be specified in the build's 'Secret'.
- Timeout string
- Time limit for executing this build step. If not defined, the step has no time limit and will be allowed to continue to run until either it completes or the build itself times out.
- Timing string
- Output only. Stores timing information for executing this build step.
- Volumes
[]Get
Trigger Build Step Volume List of volumes to mount into the build step.
Each volume is created as an empty volume prior to execution of the build step. Upon completion of the build, volumes and their contents are discarded.
Using a named volume in only one step is not valid as it is indicative of a build request with an incorrect configuration.
- Wait
Fors []string The ID(s) of the step(s) that this build step depends on.
This build step will not start until all the build steps in 'wait_for' have completed successfully. If 'wait_for' is empty, this build step will start when all previous build steps in the 'Build.Steps' list have completed successfully.
- allow
Exit List<Integer>Codes Allow this build step to fail without failing the entire build if and only if the exit code is one of the specified codes.
If 'allowFailure' is also specified, this field will take precedence.
- allow
Failure Boolean Allow this build step to fail without failing the entire build. If false, the entire build will fail if this step fails. Otherwise, the build will succeed, but this step will still have a failure status. Error information will be reported in the 'failureDetail' field.
'allowExitCodes' takes precedence over this field.
- args List<String>
A list of arguments that will be presented to the step when it is started.
If the image used to run the step's container has an entrypoint, the args are used as arguments to that entrypoint. If the image does not define an entrypoint, the first element in args is used as the entrypoint, and the remainder will be used as arguments.
- dir String
Working directory to use when running this step's container.
If this value is a relative path, it is relative to the build's working directory. If this value is absolute, it may be outside the build's working directory, in which case the contents of the path may not be persisted across build step executions, unless a 'volume' for that path is specified.
If the build specifies a 'RepoSource' with 'dir' and a step with a 'dir', which specifies an absolute path, the 'RepoSource' 'dir' is ignored for the step's execution.
- entrypoint String
- Entrypoint to be used instead of the build step image's default entrypoint. If unset, the image's default entrypoint is used
- envs List<String>
A list of environment variable definitions to be used when running a step.
The elements are of the form "KEY=VALUE" for the environment variable "KEY" being given the value "VALUE".
- id String
- Unique identifier for this build step, used in 'wait_for' to reference this build step as a dependency.
- name String
The name of the container image that will run this particular build step.
If the image is available in the host's Docker daemon's cache, it will be run directly. If not, the host will attempt to pull the image first, using the builder service account's credentials if necessary.
The Docker daemon's cache will already have the latest versions of all of the officially supported build steps (see https://github.com/GoogleCloudPlatform/cloud-builders for images and examples). The Docker daemon will also have cached many of the layers for some popular images, like "ubuntu", "debian", but they will be refreshed at the time you attempt to use them.
If you built an image in a previous build step, it will be stored in the host's Docker daemon's cache and is available to use as the name for a later build step.
- script String
- A shell script to be executed in the step. When script is provided, the user cannot specify the entrypoint or args.
- secret
Envs List<String> - A list of environment variables which are encrypted using a Cloud Key Management Service crypto key. These values must be specified in the build's 'Secret'.
- timeout String
- Time limit for executing this build step. If not defined, the step has no time limit and will be allowed to continue to run until either it completes or the build itself times out.
- timing String
- Output only. Stores timing information for executing this build step.
- volumes
List<Get
Trigger Build Step Volume> List of volumes to mount into the build step.
Each volume is created as an empty volume prior to execution of the build step. Upon completion of the build, volumes and their contents are discarded.
Using a named volume in only one step is not valid as it is indicative of a build request with an incorrect configuration.
- wait
Fors List<String> The ID(s) of the step(s) that this build step depends on.
This build step will not start until all the build steps in 'wait_for' have completed successfully. If 'wait_for' is empty, this build step will start when all previous build steps in the 'Build.Steps' list have completed successfully.
- allow
Exit number[]Codes Allow this build step to fail without failing the entire build if and only if the exit code is one of the specified codes.
If 'allowFailure' is also specified, this field will take precedence.
- allow
Failure boolean Allow this build step to fail without failing the entire build. If false, the entire build will fail if this step fails. Otherwise, the build will succeed, but this step will still have a failure status. Error information will be reported in the 'failureDetail' field.
'allowExitCodes' takes precedence over this field.
- args string[]
A list of arguments that will be presented to the step when it is started.
If the image used to run the step's container has an entrypoint, the args are used as arguments to that entrypoint. If the image does not define an entrypoint, the first element in args is used as the entrypoint, and the remainder will be used as arguments.
- dir string
Working directory to use when running this step's container.
If this value is a relative path, it is relative to the build's working directory. If this value is absolute, it may be outside the build's working directory, in which case the contents of the path may not be persisted across build step executions, unless a 'volume' for that path is specified.
If the build specifies a 'RepoSource' with 'dir' and a step with a 'dir', which specifies an absolute path, the 'RepoSource' 'dir' is ignored for the step's execution.
- entrypoint string
- Entrypoint to be used instead of the build step image's default entrypoint. If unset, the image's default entrypoint is used
- envs string[]
A list of environment variable definitions to be used when running a step.
The elements are of the form "KEY=VALUE" for the environment variable "KEY" being given the value "VALUE".
- id string
- Unique identifier for this build step, used in 'wait_for' to reference this build step as a dependency.
- name string
The name of the container image that will run this particular build step.
If the image is available in the host's Docker daemon's cache, it will be run directly. If not, the host will attempt to pull the image first, using the builder service account's credentials if necessary.
The Docker daemon's cache will already have the latest versions of all of the officially supported build steps (see https://github.com/GoogleCloudPlatform/cloud-builders for images and examples). The Docker daemon will also have cached many of the layers for some popular images, like "ubuntu", "debian", but they will be refreshed at the time you attempt to use them.
If you built an image in a previous build step, it will be stored in the host's Docker daemon's cache and is available to use as the name for a later build step.
- script string
- A shell script to be executed in the step. When script is provided, the user cannot specify the entrypoint or args.
- secret
Envs string[] - A list of environment variables which are encrypted using a Cloud Key Management Service crypto key. These values must be specified in the build's 'Secret'.
- timeout string
- Time limit for executing this build step. If not defined, the step has no time limit and will be allowed to continue to run until either it completes or the build itself times out.
- timing string
- Output only. Stores timing information for executing this build step.
- volumes
Get
Trigger Build Step Volume[] List of volumes to mount into the build step.
Each volume is created as an empty volume prior to execution of the build step. Upon completion of the build, volumes and their contents are discarded.
Using a named volume in only one step is not valid as it is indicative of a build request with an incorrect configuration.
- wait
Fors string[] The ID(s) of the step(s) that this build step depends on.
This build step will not start until all the build steps in 'wait_for' have completed successfully. If 'wait_for' is empty, this build step will start when all previous build steps in the 'Build.Steps' list have completed successfully.
- allow_
exit_ Sequence[int]codes Allow this build step to fail without failing the entire build if and only if the exit code is one of the specified codes.
If 'allowFailure' is also specified, this field will take precedence.
- allow_
failure bool Allow this build step to fail without failing the entire build. If false, the entire build will fail if this step fails. Otherwise, the build will succeed, but this step will still have a failure status. Error information will be reported in the 'failureDetail' field.
'allowExitCodes' takes precedence over this field.
- args Sequence[str]
A list of arguments that will be presented to the step when it is started.
If the image used to run the step's container has an entrypoint, the args are used as arguments to that entrypoint. If the image does not define an entrypoint, the first element in args is used as the entrypoint, and the remainder will be used as arguments.
- dir str
Working directory to use when running this step's container.
If this value is a relative path, it is relative to the build's working directory. If this value is absolute, it may be outside the build's working directory, in which case the contents of the path may not be persisted across build step executions, unless a 'volume' for that path is specified.
If the build specifies a 'RepoSource' with 'dir' and a step with a 'dir', which specifies an absolute path, the 'RepoSource' 'dir' is ignored for the step's execution.
- entrypoint str
- Entrypoint to be used instead of the build step image's default entrypoint. If unset, the image's default entrypoint is used
- envs Sequence[str]
A list of environment variable definitions to be used when running a step.
The elements are of the form "KEY=VALUE" for the environment variable "KEY" being given the value "VALUE".
- id str
- Unique identifier for this build step, used in 'wait_for' to reference this build step as a dependency.
- name str
The name of the container image that will run this particular build step.
If the image is available in the host's Docker daemon's cache, it will be run directly. If not, the host will attempt to pull the image first, using the builder service account's credentials if necessary.
The Docker daemon's cache will already have the latest versions of all of the officially supported build steps (see https://github.com/GoogleCloudPlatform/cloud-builders for images and examples). The Docker daemon will also have cached many of the layers for some popular images, like "ubuntu", "debian", but they will be refreshed at the time you attempt to use them.
If you built an image in a previous build step, it will be stored in the host's Docker daemon's cache and is available to use as the name for a later build step.
- script str
- A shell script to be executed in the step. When script is provided, the user cannot specify the entrypoint or args.
- secret_
envs Sequence[str] - A list of environment variables which are encrypted using a Cloud Key Management Service crypto key. These values must be specified in the build's 'Secret'.
- timeout str
- Time limit for executing this build step. If not defined, the step has no time limit and will be allowed to continue to run until either it completes or the build itself times out.
- timing str
- Output only. Stores timing information for executing this build step.
- volumes
Sequence[Get
Trigger Build Step Volume] List of volumes to mount into the build step.
Each volume is created as an empty volume prior to execution of the build step. Upon completion of the build, volumes and their contents are discarded.
Using a named volume in only one step is not valid as it is indicative of a build request with an incorrect configuration.
- wait_
fors Sequence[str] The ID(s) of the step(s) that this build step depends on.
This build step will not start until all the build steps in 'wait_for' have completed successfully. If 'wait_for' is empty, this build step will start when all previous build steps in the 'Build.Steps' list have completed successfully.
- allow
Exit List<Number>Codes Allow this build step to fail without failing the entire build if and only if the exit code is one of the specified codes.
If 'allowFailure' is also specified, this field will take precedence.
- allow
Failure Boolean Allow this build step to fail without failing the entire build. If false, the entire build will fail if this step fails. Otherwise, the build will succeed, but this step will still have a failure status. Error information will be reported in the 'failureDetail' field.
'allowExitCodes' takes precedence over this field.
- args List<String>
A list of arguments that will be presented to the step when it is started.
If the image used to run the step's container has an entrypoint, the args are used as arguments to that entrypoint. If the image does not define an entrypoint, the first element in args is used as the entrypoint, and the remainder will be used as arguments.
- dir String
Working directory to use when running this step's container.
If this value is a relative path, it is relative to the build's working directory. If this value is absolute, it may be outside the build's working directory, in which case the contents of the path may not be persisted across build step executions, unless a 'volume' for that path is specified.
If the build specifies a 'RepoSource' with 'dir' and a step with a 'dir', which specifies an absolute path, the 'RepoSource' 'dir' is ignored for the step's execution.
- entrypoint String
- Entrypoint to be used instead of the build step image's default entrypoint. If unset, the image's default entrypoint is used
- envs List<String>
A list of environment variable definitions to be used when running a step.
The elements are of the form "KEY=VALUE" for the environment variable "KEY" being given the value "VALUE".
- id String
- Unique identifier for this build step, used in 'wait_for' to reference this build step as a dependency.
- name String
The name of the container image that will run this particular build step.
If the image is available in the host's Docker daemon's cache, it will be run directly. If not, the host will attempt to pull the image first, using the builder service account's credentials if necessary.
The Docker daemon's cache will already have the latest versions of all of the officially supported build steps (see https://github.com/GoogleCloudPlatform/cloud-builders for images and examples). The Docker daemon will also have cached many of the layers for some popular images, like "ubuntu", "debian", but they will be refreshed at the time you attempt to use them.
If you built an image in a previous build step, it will be stored in the host's Docker daemon's cache and is available to use as the name for a later build step.
- script String
- A shell script to be executed in the step. When script is provided, the user cannot specify the entrypoint or args.
- secret
Envs List<String> - A list of environment variables which are encrypted using a Cloud Key Management Service crypto key. These values must be specified in the build's 'Secret'.
- timeout String
- Time limit for executing this build step. If not defined, the step has no time limit and will be allowed to continue to run until either it completes or the build itself times out.
- timing String
- Output only. Stores timing information for executing this build step.
- volumes List<Property Map>
List of volumes to mount into the build step.
Each volume is created as an empty volume prior to execution of the build step. Upon completion of the build, volumes and their contents are discarded.
Using a named volume in only one step is not valid as it is indicative of a build request with an incorrect configuration.
- wait
Fors List<String> The ID(s) of the step(s) that this build step depends on.
This build step will not start until all the build steps in 'wait_for' have completed successfully. If 'wait_for' is empty, this build step will start when all previous build steps in the 'Build.Steps' list have completed successfully.
GetTriggerBuildStepVolume
- Name string
Name of the volume to mount.
Volume names must be unique per build step and must be valid names for Docker volumes. Each named volume must be used by at least two build steps.
- Path string
Path at which to mount the volume.
Paths must be absolute and cannot conflict with other volume paths on the same build step or with certain reserved volume paths.
- Name string
Name of the volume to mount.
Volume names must be unique per build step and must be valid names for Docker volumes. Each named volume must be used by at least two build steps.
- Path string
Path at which to mount the volume.
Paths must be absolute and cannot conflict with other volume paths on the same build step or with certain reserved volume paths.
- name String
Name of the volume to mount.
Volume names must be unique per build step and must be valid names for Docker volumes. Each named volume must be used by at least two build steps.
- path String
Path at which to mount the volume.
Paths must be absolute and cannot conflict with other volume paths on the same build step or with certain reserved volume paths.
- name string
Name of the volume to mount.
Volume names must be unique per build step and must be valid names for Docker volumes. Each named volume must be used by at least two build steps.
- path string
Path at which to mount the volume.
Paths must be absolute and cannot conflict with other volume paths on the same build step or with certain reserved volume paths.
- name str
Name of the volume to mount.
Volume names must be unique per build step and must be valid names for Docker volumes. Each named volume must be used by at least two build steps.
- path str
Path at which to mount the volume.
Paths must be absolute and cannot conflict with other volume paths on the same build step or with certain reserved volume paths.
- name String
Name of the volume to mount.
Volume names must be unique per build step and must be valid names for Docker volumes. Each named volume must be used by at least two build steps.
- path String
Path at which to mount the volume.
Paths must be absolute and cannot conflict with other volume paths on the same build step or with certain reserved volume paths.
GetTriggerGitFileSource
- Bitbucket
Server stringConfig - The full resource name of the bitbucket server config. Format: projects/{project}/locations/{location}/bitbucketServerConfigs/{id}.
- Github
Enterprise stringConfig - The full resource name of the github enterprise config. Format: projects/{project}/locations/{location}/githubEnterpriseConfigs/{id}. projects/{project}/githubEnterpriseConfigs/{id}.
- Path string
- The path of the file, with the repo root as the root of the path.
- Repo
Type string - The type of the repo, since it may not be explicit from the repo field (e.g from a URL). Values can be UNKNOWN, CLOUD_SOURCE_REPOSITORIES, GITHUB, BITBUCKET_SERVER Possible values: ["UNKNOWN", "CLOUD_SOURCE_REPOSITORIES", "GITHUB", "BITBUCKET_SERVER"]
- Repository string
- The fully qualified resource name of the Repo API repository. The fully qualified resource name of the Repo API repository. If unspecified, the repo from which the trigger invocation originated is assumed to be the repo from which to read the specified path.
- Revision string
- The branch, tag, arbitrary ref, or SHA version of the repo to use when resolving the filename (optional). This field respects the same syntax/resolution as described here: https://git-scm.com/docs/gitrevisions If unspecified, the revision from which the trigger invocation originated is assumed to be the revision from which to read the specified path.
- Uri string
- The URI of the repo (optional). If unspecified, the repo from which the trigger invocation originated is assumed to be the repo from which to read the specified path.
- Bitbucket
Server stringConfig - The full resource name of the bitbucket server config. Format: projects/{project}/locations/{location}/bitbucketServerConfigs/{id}.
- Github
Enterprise stringConfig - The full resource name of the github enterprise config. Format: projects/{project}/locations/{location}/githubEnterpriseConfigs/{id}. projects/{project}/githubEnterpriseConfigs/{id}.
- Path string
- The path of the file, with the repo root as the root of the path.
- Repo
Type string - The type of the repo, since it may not be explicit from the repo field (e.g from a URL). Values can be UNKNOWN, CLOUD_SOURCE_REPOSITORIES, GITHUB, BITBUCKET_SERVER Possible values: ["UNKNOWN", "CLOUD_SOURCE_REPOSITORIES", "GITHUB", "BITBUCKET_SERVER"]
- Repository string
- The fully qualified resource name of the Repo API repository. The fully qualified resource name of the Repo API repository. If unspecified, the repo from which the trigger invocation originated is assumed to be the repo from which to read the specified path.
- Revision string
- The branch, tag, arbitrary ref, or SHA version of the repo to use when resolving the filename (optional). This field respects the same syntax/resolution as described here: https://git-scm.com/docs/gitrevisions If unspecified, the revision from which the trigger invocation originated is assumed to be the revision from which to read the specified path.
- Uri string
- The URI of the repo (optional). If unspecified, the repo from which the trigger invocation originated is assumed to be the repo from which to read the specified path.
- bitbucket
Server StringConfig - The full resource name of the bitbucket server config. Format: projects/{project}/locations/{location}/bitbucketServerConfigs/{id}.
- github
Enterprise StringConfig - The full resource name of the github enterprise config. Format: projects/{project}/locations/{location}/githubEnterpriseConfigs/{id}. projects/{project}/githubEnterpriseConfigs/{id}.
- path String
- The path of the file, with the repo root as the root of the path.
- repo
Type String - The type of the repo, since it may not be explicit from the repo field (e.g from a URL). Values can be UNKNOWN, CLOUD_SOURCE_REPOSITORIES, GITHUB, BITBUCKET_SERVER Possible values: ["UNKNOWN", "CLOUD_SOURCE_REPOSITORIES", "GITHUB", "BITBUCKET_SERVER"]
- repository String
- The fully qualified resource name of the Repo API repository. The fully qualified resource name of the Repo API repository. If unspecified, the repo from which the trigger invocation originated is assumed to be the repo from which to read the specified path.
- revision String
- The branch, tag, arbitrary ref, or SHA version of the repo to use when resolving the filename (optional). This field respects the same syntax/resolution as described here: https://git-scm.com/docs/gitrevisions If unspecified, the revision from which the trigger invocation originated is assumed to be the revision from which to read the specified path.
- uri String
- The URI of the repo (optional). If unspecified, the repo from which the trigger invocation originated is assumed to be the repo from which to read the specified path.
- bitbucket
Server stringConfig - The full resource name of the bitbucket server config. Format: projects/{project}/locations/{location}/bitbucketServerConfigs/{id}.
- github
Enterprise stringConfig - The full resource name of the github enterprise config. Format: projects/{project}/locations/{location}/githubEnterpriseConfigs/{id}. projects/{project}/githubEnterpriseConfigs/{id}.
- path string
- The path of the file, with the repo root as the root of the path.
- repo
Type string - The type of the repo, since it may not be explicit from the repo field (e.g from a URL). Values can be UNKNOWN, CLOUD_SOURCE_REPOSITORIES, GITHUB, BITBUCKET_SERVER Possible values: ["UNKNOWN", "CLOUD_SOURCE_REPOSITORIES", "GITHUB", "BITBUCKET_SERVER"]
- repository string
- The fully qualified resource name of the Repo API repository. The fully qualified resource name of the Repo API repository. If unspecified, the repo from which the trigger invocation originated is assumed to be the repo from which to read the specified path.
- revision string
- The branch, tag, arbitrary ref, or SHA version of the repo to use when resolving the filename (optional). This field respects the same syntax/resolution as described here: https://git-scm.com/docs/gitrevisions If unspecified, the revision from which the trigger invocation originated is assumed to be the revision from which to read the specified path.
- uri string
- The URI of the repo (optional). If unspecified, the repo from which the trigger invocation originated is assumed to be the repo from which to read the specified path.
- bitbucket_
server_ strconfig - The full resource name of the bitbucket server config. Format: projects/{project}/locations/{location}/bitbucketServerConfigs/{id}.
- github_
enterprise_ strconfig - The full resource name of the github enterprise config. Format: projects/{project}/locations/{location}/githubEnterpriseConfigs/{id}. projects/{project}/githubEnterpriseConfigs/{id}.
- path str
- The path of the file, with the repo root as the root of the path.
- repo_
type str - The type of the repo, since it may not be explicit from the repo field (e.g from a URL). Values can be UNKNOWN, CLOUD_SOURCE_REPOSITORIES, GITHUB, BITBUCKET_SERVER Possible values: ["UNKNOWN", "CLOUD_SOURCE_REPOSITORIES", "GITHUB", "BITBUCKET_SERVER"]
- repository str
- The fully qualified resource name of the Repo API repository. The fully qualified resource name of the Repo API repository. If unspecified, the repo from which the trigger invocation originated is assumed to be the repo from which to read the specified path.
- revision str
- The branch, tag, arbitrary ref, or SHA version of the repo to use when resolving the filename (optional). This field respects the same syntax/resolution as described here: https://git-scm.com/docs/gitrevisions If unspecified, the revision from which the trigger invocation originated is assumed to be the revision from which to read the specified path.
- uri str
- The URI of the repo (optional). If unspecified, the repo from which the trigger invocation originated is assumed to be the repo from which to read the specified path.
- bitbucket
Server StringConfig - The full resource name of the bitbucket server config. Format: projects/{project}/locations/{location}/bitbucketServerConfigs/{id}.
- github
Enterprise StringConfig - The full resource name of the github enterprise config. Format: projects/{project}/locations/{location}/githubEnterpriseConfigs/{id}. projects/{project}/githubEnterpriseConfigs/{id}.
- path String
- The path of the file, with the repo root as the root of the path.
- repo
Type String - The type of the repo, since it may not be explicit from the repo field (e.g from a URL). Values can be UNKNOWN, CLOUD_SOURCE_REPOSITORIES, GITHUB, BITBUCKET_SERVER Possible values: ["UNKNOWN", "CLOUD_SOURCE_REPOSITORIES", "GITHUB", "BITBUCKET_SERVER"]
- repository String
- The fully qualified resource name of the Repo API repository. The fully qualified resource name of the Repo API repository. If unspecified, the repo from which the trigger invocation originated is assumed to be the repo from which to read the specified path.
- revision String
- The branch, tag, arbitrary ref, or SHA version of the repo to use when resolving the filename (optional). This field respects the same syntax/resolution as described here: https://git-scm.com/docs/gitrevisions If unspecified, the revision from which the trigger invocation originated is assumed to be the revision from which to read the specified path.
- uri String
- The URI of the repo (optional). If unspecified, the repo from which the trigger invocation originated is assumed to be the repo from which to read the specified path.
GetTriggerGithub
- Enterprise
Config stringResource Name - The resource name of the github enterprise config that should be applied to this installation. For example: "projects/{$projectId}/locations/{$locationId}/githubEnterpriseConfigs/{$configId}"
- Name string
- Name of the repository. For example: The name for https://github.com/googlecloudplatform/cloud-builders is "cloud-builders".
- Owner string
- Owner of the repository. For example: The owner for https://github.com/googlecloudplatform/cloud-builders is "googlecloudplatform".
- Pull
Requests List<GetTrigger Github Pull Request> - filter to match changes in pull requests. Specify only one of 'pull_request' or 'push'.
- Pushes
List<Get
Trigger Github Push> - filter to match changes in refs, like branches or tags. Specify only one of 'pull_request' or 'push'.
- Enterprise
Config stringResource Name - The resource name of the github enterprise config that should be applied to this installation. For example: "projects/{$projectId}/locations/{$locationId}/githubEnterpriseConfigs/{$configId}"
- Name string
- Name of the repository. For example: The name for https://github.com/googlecloudplatform/cloud-builders is "cloud-builders".
- Owner string
- Owner of the repository. For example: The owner for https://github.com/googlecloudplatform/cloud-builders is "googlecloudplatform".
- Pull
Requests []GetTrigger Github Pull Request - filter to match changes in pull requests. Specify only one of 'pull_request' or 'push'.
- Pushes
[]Get
Trigger Github Push - filter to match changes in refs, like branches or tags. Specify only one of 'pull_request' or 'push'.
- enterprise
Config StringResource Name - The resource name of the github enterprise config that should be applied to this installation. For example: "projects/{$projectId}/locations/{$locationId}/githubEnterpriseConfigs/{$configId}"
- name String
- Name of the repository. For example: The name for https://github.com/googlecloudplatform/cloud-builders is "cloud-builders".
- owner String
- Owner of the repository. For example: The owner for https://github.com/googlecloudplatform/cloud-builders is "googlecloudplatform".
- pull
Requests List<GetTrigger Github Pull Request> - filter to match changes in pull requests. Specify only one of 'pull_request' or 'push'.
- pushes
List<Get
Trigger Github Push> - filter to match changes in refs, like branches or tags. Specify only one of 'pull_request' or 'push'.
- enterprise
Config stringResource Name - The resource name of the github enterprise config that should be applied to this installation. For example: "projects/{$projectId}/locations/{$locationId}/githubEnterpriseConfigs/{$configId}"
- name string
- Name of the repository. For example: The name for https://github.com/googlecloudplatform/cloud-builders is "cloud-builders".
- owner string
- Owner of the repository. For example: The owner for https://github.com/googlecloudplatform/cloud-builders is "googlecloudplatform".
- pull
Requests GetTrigger Github Pull Request[] - filter to match changes in pull requests. Specify only one of 'pull_request' or 'push'.
- pushes
Get
Trigger Github Push[] - filter to match changes in refs, like branches or tags. Specify only one of 'pull_request' or 'push'.
- enterprise_
config_ strresource_ name - The resource name of the github enterprise config that should be applied to this installation. For example: "projects/{$projectId}/locations/{$locationId}/githubEnterpriseConfigs/{$configId}"
- name str
- Name of the repository. For example: The name for https://github.com/googlecloudplatform/cloud-builders is "cloud-builders".
- owner str
- Owner of the repository. For example: The owner for https://github.com/googlecloudplatform/cloud-builders is "googlecloudplatform".
- pull_
requests Sequence[GetTrigger Github Pull Request] - filter to match changes in pull requests. Specify only one of 'pull_request' or 'push'.
- pushes
Sequence[Get
Trigger Github Push] - filter to match changes in refs, like branches or tags. Specify only one of 'pull_request' or 'push'.
- enterprise
Config StringResource Name - The resource name of the github enterprise config that should be applied to this installation. For example: "projects/{$projectId}/locations/{$locationId}/githubEnterpriseConfigs/{$configId}"
- name String
- Name of the repository. For example: The name for https://github.com/googlecloudplatform/cloud-builders is "cloud-builders".
- owner String
- Owner of the repository. For example: The owner for https://github.com/googlecloudplatform/cloud-builders is "googlecloudplatform".
- pull
Requests List<Property Map> - filter to match changes in pull requests. Specify only one of 'pull_request' or 'push'.
- pushes List<Property Map>
- filter to match changes in refs, like branches or tags. Specify only one of 'pull_request' or 'push'.
GetTriggerGithubPullRequest
- Branch string
- Regex of branches to match.
- Comment
Control string - Whether to block builds on a "/gcbrun" comment from a repository owner or collaborator. Possible values: ["COMMENTS_DISABLED", "COMMENTS_ENABLED", "COMMENTS_ENABLED_FOR_EXTERNAL_CONTRIBUTORS_ONLY"]
- Invert
Regex bool - If true, branches that do NOT match the git_ref will trigger a build.
- Branch string
- Regex of branches to match.
- Comment
Control string - Whether to block builds on a "/gcbrun" comment from a repository owner or collaborator. Possible values: ["COMMENTS_DISABLED", "COMMENTS_ENABLED", "COMMENTS_ENABLED_FOR_EXTERNAL_CONTRIBUTORS_ONLY"]
- Invert
Regex bool - If true, branches that do NOT match the git_ref will trigger a build.
- branch String
- Regex of branches to match.
- comment
Control String - Whether to block builds on a "/gcbrun" comment from a repository owner or collaborator. Possible values: ["COMMENTS_DISABLED", "COMMENTS_ENABLED", "COMMENTS_ENABLED_FOR_EXTERNAL_CONTRIBUTORS_ONLY"]
- invert
Regex Boolean - If true, branches that do NOT match the git_ref will trigger a build.
- branch string
- Regex of branches to match.
- comment
Control string - Whether to block builds on a "/gcbrun" comment from a repository owner or collaborator. Possible values: ["COMMENTS_DISABLED", "COMMENTS_ENABLED", "COMMENTS_ENABLED_FOR_EXTERNAL_CONTRIBUTORS_ONLY"]
- invert
Regex boolean - If true, branches that do NOT match the git_ref will trigger a build.
- branch str
- Regex of branches to match.
- comment_
control str - Whether to block builds on a "/gcbrun" comment from a repository owner or collaborator. Possible values: ["COMMENTS_DISABLED", "COMMENTS_ENABLED", "COMMENTS_ENABLED_FOR_EXTERNAL_CONTRIBUTORS_ONLY"]
- invert_
regex bool - If true, branches that do NOT match the git_ref will trigger a build.
- branch String
- Regex of branches to match.
- comment
Control String - Whether to block builds on a "/gcbrun" comment from a repository owner or collaborator. Possible values: ["COMMENTS_DISABLED", "COMMENTS_ENABLED", "COMMENTS_ENABLED_FOR_EXTERNAL_CONTRIBUTORS_ONLY"]
- invert
Regex Boolean - If true, branches that do NOT match the git_ref will trigger a build.
GetTriggerGithubPush
- Branch string
- Regex of branches to match. Specify only one of branch or tag.
- Invert
Regex bool - When true, only trigger a build if the revision regex does NOT match the git_ref regex.
- Tag string
- Regex of tags to match. Specify only one of branch or tag.
- Branch string
- Regex of branches to match. Specify only one of branch or tag.
- Invert
Regex bool - When true, only trigger a build if the revision regex does NOT match the git_ref regex.
- Tag string
- Regex of tags to match. Specify only one of branch or tag.
- branch String
- Regex of branches to match. Specify only one of branch or tag.
- invert
Regex Boolean - When true, only trigger a build if the revision regex does NOT match the git_ref regex.
- tag String
- Regex of tags to match. Specify only one of branch or tag.
- branch string
- Regex of branches to match. Specify only one of branch or tag.
- invert
Regex boolean - When true, only trigger a build if the revision regex does NOT match the git_ref regex.
- tag string
- Regex of tags to match. Specify only one of branch or tag.
- branch str
- Regex of branches to match. Specify only one of branch or tag.
- invert_
regex bool - When true, only trigger a build if the revision regex does NOT match the git_ref regex.
- tag str
- Regex of tags to match. Specify only one of branch or tag.
- branch String
- Regex of branches to match. Specify only one of branch or tag.
- invert
Regex Boolean - When true, only trigger a build if the revision regex does NOT match the git_ref regex.
- tag String
- Regex of tags to match. Specify only one of branch or tag.
GetTriggerPubsubConfig
- Service
Account stringEmail - Service account that will make the push request.
- State string
- Potential issues with the underlying Pub/Sub subscription configuration. Only populated on get requests.
- Subscription string
- Output only. Name of the subscription.
- Topic string
- The name of the topic from which this subscription is receiving messages.
- Service
Account stringEmail - Service account that will make the push request.
- State string
- Potential issues with the underlying Pub/Sub subscription configuration. Only populated on get requests.
- Subscription string
- Output only. Name of the subscription.
- Topic string
- The name of the topic from which this subscription is receiving messages.
- service
Account StringEmail - Service account that will make the push request.
- state String
- Potential issues with the underlying Pub/Sub subscription configuration. Only populated on get requests.
- subscription String
- Output only. Name of the subscription.
- topic String
- The name of the topic from which this subscription is receiving messages.
- service
Account stringEmail - Service account that will make the push request.
- state string
- Potential issues with the underlying Pub/Sub subscription configuration. Only populated on get requests.
- subscription string
- Output only. Name of the subscription.
- topic string
- The name of the topic from which this subscription is receiving messages.
- service_
account_ stremail - Service account that will make the push request.
- state str
- Potential issues with the underlying Pub/Sub subscription configuration. Only populated on get requests.
- subscription str
- Output only. Name of the subscription.
- topic str
- The name of the topic from which this subscription is receiving messages.
- service
Account StringEmail - Service account that will make the push request.
- state String
- Potential issues with the underlying Pub/Sub subscription configuration. Only populated on get requests.
- subscription String
- Output only. Name of the subscription.
- topic String
- The name of the topic from which this subscription is receiving messages.
GetTriggerRepositoryEventConfig
- Pull
Requests List<GetTrigger Repository Event Config Pull Request> - Contains filter properties for matching Pull Requests.
- Pushes
List<Get
Trigger Repository Event Config Push> - Contains filter properties for matching git pushes.
- Repository string
- The resource name of the Repo API resource.
- Pull
Requests []GetTrigger Repository Event Config Pull Request - Contains filter properties for matching Pull Requests.
- Pushes
[]Get
Trigger Repository Event Config Push - Contains filter properties for matching git pushes.
- Repository string
- The resource name of the Repo API resource.
- pull
Requests List<GetTrigger Repository Event Config Pull Request> - Contains filter properties for matching Pull Requests.
- pushes
List<Get
Trigger Repository Event Config Push> - Contains filter properties for matching git pushes.
- repository String
- The resource name of the Repo API resource.
- pull
Requests GetTrigger Repository Event Config Pull Request[] - Contains filter properties for matching Pull Requests.
- pushes
Get
Trigger Repository Event Config Push[] - Contains filter properties for matching git pushes.
- repository string
- The resource name of the Repo API resource.
- pull_
requests Sequence[GetTrigger Repository Event Config Pull Request] - Contains filter properties for matching Pull Requests.
- pushes
Sequence[Get
Trigger Repository Event Config Push] - Contains filter properties for matching git pushes.
- repository str
- The resource name of the Repo API resource.
- pull
Requests List<Property Map> - Contains filter properties for matching Pull Requests.
- pushes List<Property Map>
- Contains filter properties for matching git pushes.
- repository String
- The resource name of the Repo API resource.
GetTriggerRepositoryEventConfigPullRequest
- Branch string
Regex of branches to match.
The syntax of the regular expressions accepted is the syntax accepted by RE2 and described at https://github.com/google/re2/wiki/Syntax
- Comment
Control string - Configure builds to run whether a repository owner or collaborator need to comment '/gcbrun'. Possible values: ["COMMENTS_DISABLED", "COMMENTS_ENABLED", "COMMENTS_ENABLED_FOR_EXTERNAL_CONTRIBUTORS_ONLY"]
- Invert
Regex bool - If true, branches that do NOT match the git_ref will trigger a build.
- Branch string
Regex of branches to match.
The syntax of the regular expressions accepted is the syntax accepted by RE2 and described at https://github.com/google/re2/wiki/Syntax
- Comment
Control string - Configure builds to run whether a repository owner or collaborator need to comment '/gcbrun'. Possible values: ["COMMENTS_DISABLED", "COMMENTS_ENABLED", "COMMENTS_ENABLED_FOR_EXTERNAL_CONTRIBUTORS_ONLY"]
- Invert
Regex bool - If true, branches that do NOT match the git_ref will trigger a build.
- branch String
Regex of branches to match.
The syntax of the regular expressions accepted is the syntax accepted by RE2 and described at https://github.com/google/re2/wiki/Syntax
- comment
Control String - Configure builds to run whether a repository owner or collaborator need to comment '/gcbrun'. Possible values: ["COMMENTS_DISABLED", "COMMENTS_ENABLED", "COMMENTS_ENABLED_FOR_EXTERNAL_CONTRIBUTORS_ONLY"]
- invert
Regex Boolean - If true, branches that do NOT match the git_ref will trigger a build.
- branch string
Regex of branches to match.
The syntax of the regular expressions accepted is the syntax accepted by RE2 and described at https://github.com/google/re2/wiki/Syntax
- comment
Control string - Configure builds to run whether a repository owner or collaborator need to comment '/gcbrun'. Possible values: ["COMMENTS_DISABLED", "COMMENTS_ENABLED", "COMMENTS_ENABLED_FOR_EXTERNAL_CONTRIBUTORS_ONLY"]
- invert
Regex boolean - If true, branches that do NOT match the git_ref will trigger a build.
- branch str
Regex of branches to match.
The syntax of the regular expressions accepted is the syntax accepted by RE2 and described at https://github.com/google/re2/wiki/Syntax
- comment_
control str - Configure builds to run whether a repository owner or collaborator need to comment '/gcbrun'. Possible values: ["COMMENTS_DISABLED", "COMMENTS_ENABLED", "COMMENTS_ENABLED_FOR_EXTERNAL_CONTRIBUTORS_ONLY"]
- invert_
regex bool - If true, branches that do NOT match the git_ref will trigger a build.
- branch String
Regex of branches to match.
The syntax of the regular expressions accepted is the syntax accepted by RE2 and described at https://github.com/google/re2/wiki/Syntax
- comment
Control String - Configure builds to run whether a repository owner or collaborator need to comment '/gcbrun'. Possible values: ["COMMENTS_DISABLED", "COMMENTS_ENABLED", "COMMENTS_ENABLED_FOR_EXTERNAL_CONTRIBUTORS_ONLY"]
- invert
Regex Boolean - If true, branches that do NOT match the git_ref will trigger a build.
GetTriggerRepositoryEventConfigPush
- Branch string
Regex of branches to match.
The syntax of the regular expressions accepted is the syntax accepted by RE2 and described at https://github.com/google/re2/wiki/Syntax
- Invert
Regex bool - If true, only trigger a build if the revision regex does NOT match the git_ref regex.
- Tag string
Regex of tags to match.
The syntax of the regular expressions accepted is the syntax accepted by RE2 and described at https://github.com/google/re2/wiki/Syntax
- Branch string
Regex of branches to match.
The syntax of the regular expressions accepted is the syntax accepted by RE2 and described at https://github.com/google/re2/wiki/Syntax
- Invert
Regex bool - If true, only trigger a build if the revision regex does NOT match the git_ref regex.
- Tag string
Regex of tags to match.
The syntax of the regular expressions accepted is the syntax accepted by RE2 and described at https://github.com/google/re2/wiki/Syntax
- branch String
Regex of branches to match.
The syntax of the regular expressions accepted is the syntax accepted by RE2 and described at https://github.com/google/re2/wiki/Syntax
- invert
Regex Boolean - If true, only trigger a build if the revision regex does NOT match the git_ref regex.
- tag String
Regex of tags to match.
The syntax of the regular expressions accepted is the syntax accepted by RE2 and described at https://github.com/google/re2/wiki/Syntax
- branch string
Regex of branches to match.
The syntax of the regular expressions accepted is the syntax accepted by RE2 and described at https://github.com/google/re2/wiki/Syntax
- invert
Regex boolean - If true, only trigger a build if the revision regex does NOT match the git_ref regex.
- tag string
Regex of tags to match.
The syntax of the regular expressions accepted is the syntax accepted by RE2 and described at https://github.com/google/re2/wiki/Syntax
- branch str
Regex of branches to match.
The syntax of the regular expressions accepted is the syntax accepted by RE2 and described at https://github.com/google/re2/wiki/Syntax
- invert_
regex bool - If true, only trigger a build if the revision regex does NOT match the git_ref regex.
- tag str
Regex of tags to match.
The syntax of the regular expressions accepted is the syntax accepted by RE2 and described at https://github.com/google/re2/wiki/Syntax
- branch String
Regex of branches to match.
The syntax of the regular expressions accepted is the syntax accepted by RE2 and described at https://github.com/google/re2/wiki/Syntax
- invert
Regex Boolean - If true, only trigger a build if the revision regex does NOT match the git_ref regex.
- tag String
Regex of tags to match.
The syntax of the regular expressions accepted is the syntax accepted by RE2 and described at https://github.com/google/re2/wiki/Syntax
GetTriggerSourceToBuild
- Bitbucket
Server stringConfig - The full resource name of the bitbucket server config. Format: projects/{project}/locations/{location}/bitbucketServerConfigs/{id}.
- Github
Enterprise stringConfig - The full resource name of the github enterprise config. Format: projects/{project}/locations/{location}/githubEnterpriseConfigs/{id}. projects/{project}/githubEnterpriseConfigs/{id}.
- Ref string
- The branch or tag to use. Must start with "refs/" (required).
- Repo
Type string - The type of the repo, since it may not be explicit from the repo field (e.g from a URL). Values can be UNKNOWN, CLOUD_SOURCE_REPOSITORIES, GITHUB, BITBUCKET_SERVER Possible values: ["UNKNOWN", "CLOUD_SOURCE_REPOSITORIES", "GITHUB", "BITBUCKET_SERVER"]
- Repository string
- The qualified resource name of the Repo API repository. Either uri or repository can be specified and is required.
- Uri string
- The URI of the repo.
- Bitbucket
Server stringConfig - The full resource name of the bitbucket server config. Format: projects/{project}/locations/{location}/bitbucketServerConfigs/{id}.
- Github
Enterprise stringConfig - The full resource name of the github enterprise config. Format: projects/{project}/locations/{location}/githubEnterpriseConfigs/{id}. projects/{project}/githubEnterpriseConfigs/{id}.
- Ref string
- The branch or tag to use. Must start with "refs/" (required).
- Repo
Type string - The type of the repo, since it may not be explicit from the repo field (e.g from a URL). Values can be UNKNOWN, CLOUD_SOURCE_REPOSITORIES, GITHUB, BITBUCKET_SERVER Possible values: ["UNKNOWN", "CLOUD_SOURCE_REPOSITORIES", "GITHUB", "BITBUCKET_SERVER"]
- Repository string
- The qualified resource name of the Repo API repository. Either uri or repository can be specified and is required.
- Uri string
- The URI of the repo.
- bitbucket
Server StringConfig - The full resource name of the bitbucket server config. Format: projects/{project}/locations/{location}/bitbucketServerConfigs/{id}.
- github
Enterprise StringConfig - The full resource name of the github enterprise config. Format: projects/{project}/locations/{location}/githubEnterpriseConfigs/{id}. projects/{project}/githubEnterpriseConfigs/{id}.
- ref String
- The branch or tag to use. Must start with "refs/" (required).
- repo
Type String - The type of the repo, since it may not be explicit from the repo field (e.g from a URL). Values can be UNKNOWN, CLOUD_SOURCE_REPOSITORIES, GITHUB, BITBUCKET_SERVER Possible values: ["UNKNOWN", "CLOUD_SOURCE_REPOSITORIES", "GITHUB", "BITBUCKET_SERVER"]
- repository String
- The qualified resource name of the Repo API repository. Either uri or repository can be specified and is required.
- uri String
- The URI of the repo.
- bitbucket
Server stringConfig - The full resource name of the bitbucket server config. Format: projects/{project}/locations/{location}/bitbucketServerConfigs/{id}.
- github
Enterprise stringConfig - The full resource name of the github enterprise config. Format: projects/{project}/locations/{location}/githubEnterpriseConfigs/{id}. projects/{project}/githubEnterpriseConfigs/{id}.
- ref string
- The branch or tag to use. Must start with "refs/" (required).
- repo
Type string - The type of the repo, since it may not be explicit from the repo field (e.g from a URL). Values can be UNKNOWN, CLOUD_SOURCE_REPOSITORIES, GITHUB, BITBUCKET_SERVER Possible values: ["UNKNOWN", "CLOUD_SOURCE_REPOSITORIES", "GITHUB", "BITBUCKET_SERVER"]
- repository string
- The qualified resource name of the Repo API repository. Either uri or repository can be specified and is required.
- uri string
- The URI of the repo.
- bitbucket_
server_ strconfig - The full resource name of the bitbucket server config. Format: projects/{project}/locations/{location}/bitbucketServerConfigs/{id}.
- github_
enterprise_ strconfig - The full resource name of the github enterprise config. Format: projects/{project}/locations/{location}/githubEnterpriseConfigs/{id}. projects/{project}/githubEnterpriseConfigs/{id}.
- ref str
- The branch or tag to use. Must start with "refs/" (required).
- repo_
type str - The type of the repo, since it may not be explicit from the repo field (e.g from a URL). Values can be UNKNOWN, CLOUD_SOURCE_REPOSITORIES, GITHUB, BITBUCKET_SERVER Possible values: ["UNKNOWN", "CLOUD_SOURCE_REPOSITORIES", "GITHUB", "BITBUCKET_SERVER"]
- repository str
- The qualified resource name of the Repo API repository. Either uri or repository can be specified and is required.
- uri str
- The URI of the repo.
- bitbucket
Server StringConfig - The full resource name of the bitbucket server config. Format: projects/{project}/locations/{location}/bitbucketServerConfigs/{id}.
- github
Enterprise StringConfig - The full resource name of the github enterprise config. Format: projects/{project}/locations/{location}/githubEnterpriseConfigs/{id}. projects/{project}/githubEnterpriseConfigs/{id}.
- ref String
- The branch or tag to use. Must start with "refs/" (required).
- repo
Type String - The type of the repo, since it may not be explicit from the repo field (e.g from a URL). Values can be UNKNOWN, CLOUD_SOURCE_REPOSITORIES, GITHUB, BITBUCKET_SERVER Possible values: ["UNKNOWN", "CLOUD_SOURCE_REPOSITORIES", "GITHUB", "BITBUCKET_SERVER"]
- repository String
- The qualified resource name of the Repo API repository. Either uri or repository can be specified and is required.
- uri String
- The URI of the repo.
GetTriggerTriggerTemplate
- Branch
Name string - Name of the branch to build. Exactly one a of branch name, tag, or commit SHA must be provided. This field is a regular expression.
- Commit
Sha string - Explicit commit SHA to build. Exactly one of a branch name, tag, or commit SHA must be provided.
- Dir string
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.
- Invert
Regex bool - Only trigger a build if the revision regex does NOT match the revision regex.
- Project
Id string - ID of the project that owns the Cloud Source Repository. If omitted, the project ID requesting the build is assumed.
- Repo
Name string - Name of the Cloud Source Repository. If omitted, the name "default" is assumed.
- Tag
Name string - Name of the tag to build. Exactly one of a branch name, tag, or commit SHA must be provided. This field is a regular expression.
- Branch
Name string - Name of the branch to build. Exactly one a of branch name, tag, or commit SHA must be provided. This field is a regular expression.
- Commit
Sha string - Explicit commit SHA to build. Exactly one of a branch name, tag, or commit SHA must be provided.
- Dir string
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.
- Invert
Regex bool - Only trigger a build if the revision regex does NOT match the revision regex.
- Project
Id string - ID of the project that owns the Cloud Source Repository. If omitted, the project ID requesting the build is assumed.
- Repo
Name string - Name of the Cloud Source Repository. If omitted, the name "default" is assumed.
- Tag
Name string - Name of the tag to build. Exactly one of a branch name, tag, or commit SHA must be provided. This field is a regular expression.
- branch
Name String - Name of the branch to build. Exactly one a of branch name, tag, or commit SHA must be provided. This field is a regular expression.
- commit
Sha String - Explicit commit SHA to build. Exactly one of a branch name, tag, or commit SHA must be provided.
- dir String
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.
- invert
Regex Boolean - Only trigger a build if the revision regex does NOT match the revision regex.
- project
Id String - ID of the project that owns the Cloud Source Repository. If omitted, the project ID requesting the build is assumed.
- repo
Name String - Name of the Cloud Source Repository. If omitted, the name "default" is assumed.
- tag
Name String - Name of the tag to build. Exactly one of a branch name, tag, or commit SHA must be provided. This field is a regular expression.
- branch
Name string - Name of the branch to build. Exactly one a of branch name, tag, or commit SHA must be provided. This field is a regular expression.
- commit
Sha string - Explicit commit SHA to build. Exactly one of a branch name, tag, or commit SHA must be provided.
- dir string
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.
- invert
Regex boolean - Only trigger a build if the revision regex does NOT match the revision regex.
- project
Id string - ID of the project that owns the Cloud Source Repository. If omitted, the project ID requesting the build is assumed.
- repo
Name string - Name of the Cloud Source Repository. If omitted, the name "default" is assumed.
- tag
Name string - Name of the tag to build. Exactly one of a branch name, tag, or commit SHA must be provided. This field is a regular expression.
- branch_
name str - Name of the branch to build. Exactly one a of branch name, tag, or commit SHA must be provided. This field is a regular expression.
- commit_
sha str - Explicit commit SHA to build. Exactly one of a branch name, tag, or commit SHA must be provided.
- dir str
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.
- invert_
regex bool - Only trigger a build if the revision regex does NOT match the revision regex.
- project_
id str - ID of the project that owns the Cloud Source Repository. If omitted, the project ID requesting the build is assumed.
- repo_
name str - Name of the Cloud Source Repository. If omitted, the name "default" is assumed.
- tag_
name str - Name of the tag to build. Exactly one of a branch name, tag, or commit SHA must be provided. This field is a regular expression.
- branch
Name String - Name of the branch to build. Exactly one a of branch name, tag, or commit SHA must be provided. This field is a regular expression.
- commit
Sha String - Explicit commit SHA to build. Exactly one of a branch name, tag, or commit SHA must be provided.
- dir String
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.
- invert
Regex Boolean - Only trigger a build if the revision regex does NOT match the revision regex.
- project
Id String - ID of the project that owns the Cloud Source Repository. If omitted, the project ID requesting the build is assumed.
- repo
Name String - Name of the Cloud Source Repository. If omitted, the name "default" is assumed.
- tag
Name String - Name of the tag to build. Exactly one of a branch name, tag, or commit SHA must be provided. This field is a regular expression.
GetTriggerWebhookConfig
Package Details
- Repository
- Google Cloud (GCP) Classic pulumi/pulumi-gcp
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
google-beta
Terraform Provider.