google-native logo
Google Cloud Native v0.30.0, Apr 14 23

google-native.cloudbuild/v1.Trigger

Explore with Pulumi AI

Creates a new BuildTrigger. This API is experimental.

Create Trigger Resource

new Trigger(name: string, args: TriggerArgs, opts?: CustomResourceOptions);
@overload
def Trigger(resource_name: str,
            opts: Optional[ResourceOptions] = None,
            approval_config: Optional[ApprovalConfigArgs] = None,
            autodetect: Optional[bool] = None,
            bitbucket_server_trigger_config: Optional[BitbucketServerTriggerConfigArgs] = None,
            build: Optional[BuildArgs] = None,
            description: Optional[str] = None,
            disabled: Optional[bool] = None,
            event_type: Optional[TriggerEventType] = None,
            filename: Optional[str] = None,
            filter: Optional[str] = None,
            git_file_source: Optional[GitFileSourceArgs] = None,
            github: Optional[GitHubEventsConfigArgs] = None,
            gitlab_enterprise_events_config: Optional[GitLabEventsConfigArgs] = None,
            ignored_files: Optional[Sequence[str]] = None,
            include_build_logs: Optional[TriggerIncludeBuildLogs] = None,
            included_files: Optional[Sequence[str]] = None,
            location: Optional[str] = None,
            name: Optional[str] = None,
            project: Optional[str] = None,
            project_id: Optional[str] = None,
            pubsub_config: Optional[PubsubConfigArgs] = None,
            repository_event_config: Optional[RepositoryEventConfigArgs] = None,
            resource_name_: Optional[str] = None,
            service_account: Optional[str] = None,
            source_to_build: Optional[GitRepoSourceArgs] = None,
            substitutions: Optional[Mapping[str, str]] = None,
            tags: Optional[Sequence[str]] = None,
            trigger_template: Optional[RepoSourceArgs] = None,
            webhook_config: Optional[WebhookConfigArgs] = None)
@overload
def Trigger(resource_name: str,
            args: TriggerArgs,
            opts: Optional[ResourceOptions] = None)
func NewTrigger(ctx *Context, name string, args TriggerArgs, opts ...ResourceOption) (*Trigger, error)
public Trigger(string name, TriggerArgs args, CustomResourceOptions? opts = null)
public Trigger(String name, TriggerArgs args)
public Trigger(String name, TriggerArgs args, CustomResourceOptions options)
type: google-native:cloudbuild/v1:Trigger
properties: # The arguments to resource properties.
options: # Bag of options to control resource's behavior.

name string
The unique name of the resource.
args TriggerArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
resource_name str
The unique name of the resource.
args TriggerArgs
The arguments to resource properties.
opts ResourceOptions
Bag of options to control resource's behavior.
ctx Context
Context object for the current deployment.
name string
The unique name of the resource.
args TriggerArgs
The arguments to resource properties.
opts ResourceOption
Bag of options to control resource's behavior.
name string
The unique name of the resource.
args TriggerArgs
The arguments to resource properties.
opts CustomResourceOptions
Bag of options to control resource's behavior.
name String
The unique name of the resource.
args TriggerArgs
The arguments to resource properties.
options CustomResourceOptions
Bag of options to control resource's behavior.

Trigger Resource Properties

To learn more about resource properties and how to use them, see Inputs and Outputs in the Architecture and Concepts docs.

Inputs

The Trigger resource accepts the following input properties:

ProjectId string

Required. ID of the project for which to configure automatic builds.

ApprovalConfig Pulumi.GoogleNative.CloudBuild.V1.Inputs.ApprovalConfigArgs

Configuration for manual approval to start a build invocation of this BuildTrigger.

Autodetect bool

Autodetect build configuration. The following precedence is used (case insensitive): 1. cloudbuild.yaml 2. cloudbuild.yml 3. cloudbuild.json 4. Dockerfile Currently only available for GitHub App Triggers.

BitbucketServerTriggerConfig Pulumi.GoogleNative.CloudBuild.V1.Inputs.BitbucketServerTriggerConfigArgs

BitbucketServerTriggerConfig describes the configuration of a trigger that creates a build whenever a Bitbucket Server event is received.

Build Pulumi.GoogleNative.CloudBuild.V1.Inputs.BuildArgs

Contents of the build template.

Description string

Human-readable description of this trigger.

Disabled bool

If true, the trigger will never automatically execute a build.

EventType Pulumi.GoogleNative.CloudBuild.V1.TriggerEventType

EventType allows the user to explicitly set the type of event to which this BuildTrigger should respond. This field will be validated against the rest of the configuration if it is set.

Filename string

Path, from the source root, to the build configuration file (i.e. cloudbuild.yaml).

Filter string

A Common Expression Language string.

GitFileSource Pulumi.GoogleNative.CloudBuild.V1.Inputs.GitFileSourceArgs

The file source describing the local or remote Build template.

Github Pulumi.GoogleNative.CloudBuild.V1.Inputs.GitHubEventsConfigArgs

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

GitlabEnterpriseEventsConfig Pulumi.GoogleNative.CloudBuild.V1.Inputs.GitLabEventsConfigArgs

GitLabEnterpriseEventsConfig describes the configuration of a trigger that creates a build whenever a GitLab Enterprise event is received.

IgnoredFiles List<string>

ignored_files and included_files are file glob matches using https://golang.org/pkg/path/filepath/#Match extended with support for "**". If ignored_files and changed files are both empty, then they are not used to determine whether or not to trigger a build. If ignored_files is not empty, then we ignore any files that match any of the ignored_file globs. If the change has no files that are outside of the ignored_files globs, then we do not trigger a build.

IncludeBuildLogs Pulumi.GoogleNative.CloudBuild.V1.TriggerIncludeBuildLogs

If set to INCLUDE_BUILD_LOGS_WITH_STATUS, log url will be shown on GitHub page when build status is final. Setting this field to INCLUDE_BUILD_LOGS_WITH_STATUS for non GitHub triggers results in INVALID_ARGUMENT error.

IncludedFiles List<string>

If any of the files altered in the commit pass the ignored_files filter and included_files is empty, then as far as this filter is concerned, we should trigger the build. If any of the files altered in the commit pass the ignored_files filter and included_files is not empty, then we make sure that at least one of those files matches a included_files glob. If not, then we do not trigger a build.

Location string
Name string

User-assigned name of the trigger. Must be unique within the project. Trigger names must meet the following requirements: + They must contain only alphanumeric characters and dashes. + They can be 1-64 characters long. + They must begin and end with an alphanumeric character.

Project string
PubsubConfig Pulumi.GoogleNative.CloudBuild.V1.Inputs.PubsubConfigArgs

PubsubConfig describes the configuration of a trigger that creates a build whenever a Pub/Sub message is published.

RepositoryEventConfig Pulumi.GoogleNative.CloudBuild.V1.Inputs.RepositoryEventConfigArgs

The configuration of a trigger that creates a build whenever an event from Repo API is received.

ResourceName string

The Trigger name with format: projects/{project}/locations/{location}/triggers/{trigger}, where {trigger} is a unique identifier generated by the service.

ServiceAccount string

The service account used for all user-controlled operations including UpdateBuildTrigger, RunBuildTrigger, CreateBuild, and CancelBuild. If no service account is set, then the standard Cloud Build service account ([PROJECT_NUM]@system.gserviceaccount.com) will be used instead. Format: projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT_ID_OR_EMAIL}

SourceToBuild Pulumi.GoogleNative.CloudBuild.V1.Inputs.GitRepoSourceArgs

The repo and ref of the repository from which to build. This field is used only for those triggers that do not respond to SCM events. Triggers that respond to such events build source at whatever commit caused the event. This field is currently only used by Webhook, Pub/Sub, Manual, and Cron triggers.

Substitutions Dictionary<string, string>

Substitutions for Build resource. The keys must match the following regular expression: ^_[A-Z0-9_]+$.

Tags List<string>

Tags for annotation of a BuildTrigger

TriggerTemplate Pulumi.GoogleNative.CloudBuild.V1.Inputs.RepoSourceArgs

Template describing the types of source changes to trigger a build. Branch and tag names in trigger templates are interpreted as regular expressions. Any branch or tag change that matches that regular expression will trigger a build. Mutually exclusive with github.

WebhookConfig Pulumi.GoogleNative.CloudBuild.V1.Inputs.WebhookConfigArgs

WebhookConfig describes the configuration of a trigger that creates a build whenever a webhook is sent to a trigger's webhook URL.

ProjectId string

Required. ID of the project for which to configure automatic builds.

ApprovalConfig ApprovalConfigArgs

Configuration for manual approval to start a build invocation of this BuildTrigger.

Autodetect bool

Autodetect build configuration. The following precedence is used (case insensitive): 1. cloudbuild.yaml 2. cloudbuild.yml 3. cloudbuild.json 4. Dockerfile Currently only available for GitHub App Triggers.

BitbucketServerTriggerConfig BitbucketServerTriggerConfigArgs

BitbucketServerTriggerConfig describes the configuration of a trigger that creates a build whenever a Bitbucket Server event is received.

Build BuildTypeArgs

Contents of the build template.

Description string

Human-readable description of this trigger.

Disabled bool

If true, the trigger will never automatically execute a build.

EventType TriggerEventType

EventType allows the user to explicitly set the type of event to which this BuildTrigger should respond. This field will be validated against the rest of the configuration if it is set.

Filename string

Path, from the source root, to the build configuration file (i.e. cloudbuild.yaml).

Filter string

A Common Expression Language string.

GitFileSource GitFileSourceArgs

The file source describing the local or remote Build template.

Github GitHubEventsConfigArgs

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

GitlabEnterpriseEventsConfig GitLabEventsConfigArgs

GitLabEnterpriseEventsConfig describes the configuration of a trigger that creates a build whenever a GitLab Enterprise event is received.

IgnoredFiles []string

ignored_files and included_files are file glob matches using https://golang.org/pkg/path/filepath/#Match extended with support for "**". If ignored_files and changed files are both empty, then they are not used to determine whether or not to trigger a build. If ignored_files is not empty, then we ignore any files that match any of the ignored_file globs. If the change has no files that are outside of the ignored_files globs, then we do not trigger a build.

IncludeBuildLogs TriggerIncludeBuildLogs

If set to INCLUDE_BUILD_LOGS_WITH_STATUS, log url will be shown on GitHub page when build status is final. Setting this field to INCLUDE_BUILD_LOGS_WITH_STATUS for non GitHub triggers results in INVALID_ARGUMENT error.

IncludedFiles []string

If any of the files altered in the commit pass the ignored_files filter and included_files is empty, then as far as this filter is concerned, we should trigger the build. If any of the files altered in the commit pass the ignored_files filter and included_files is not empty, then we make sure that at least one of those files matches a included_files glob. If not, then we do not trigger a build.

Location string
Name string

User-assigned name of the trigger. Must be unique within the project. Trigger names must meet the following requirements: + They must contain only alphanumeric characters and dashes. + They can be 1-64 characters long. + They must begin and end with an alphanumeric character.

Project string
PubsubConfig PubsubConfigArgs

PubsubConfig describes the configuration of a trigger that creates a build whenever a Pub/Sub message is published.

RepositoryEventConfig RepositoryEventConfigArgs

The configuration of a trigger that creates a build whenever an event from Repo API is received.

ResourceName string

The Trigger name with format: projects/{project}/locations/{location}/triggers/{trigger}, where {trigger} is a unique identifier generated by the service.

ServiceAccount string

The service account used for all user-controlled operations including UpdateBuildTrigger, RunBuildTrigger, CreateBuild, and CancelBuild. If no service account is set, then the standard Cloud Build service account ([PROJECT_NUM]@system.gserviceaccount.com) will be used instead. Format: projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT_ID_OR_EMAIL}

SourceToBuild GitRepoSourceArgs

The repo and ref of the repository from which to build. This field is used only for those triggers that do not respond to SCM events. Triggers that respond to such events build source at whatever commit caused the event. This field is currently only used by Webhook, Pub/Sub, Manual, and Cron triggers.

Substitutions map[string]string

Substitutions for Build resource. The keys must match the following regular expression: ^_[A-Z0-9_]+$.

Tags []string

Tags for annotation of a BuildTrigger

TriggerTemplate RepoSourceArgs

Template describing the types of source changes to trigger a build. Branch and tag names in trigger templates are interpreted as regular expressions. Any branch or tag change that matches that regular expression will trigger a build. Mutually exclusive with github.

WebhookConfig WebhookConfigArgs

WebhookConfig describes the configuration of a trigger that creates a build whenever a webhook is sent to a trigger's webhook URL.

projectId String

Required. ID of the project for which to configure automatic builds.

approvalConfig ApprovalConfigArgs

Configuration for manual approval to start a build invocation of this BuildTrigger.

autodetect Boolean

Autodetect build configuration. The following precedence is used (case insensitive): 1. cloudbuild.yaml 2. cloudbuild.yml 3. cloudbuild.json 4. Dockerfile Currently only available for GitHub App Triggers.

bitbucketServerTriggerConfig BitbucketServerTriggerConfigArgs

BitbucketServerTriggerConfig describes the configuration of a trigger that creates a build whenever a Bitbucket Server event is received.

build BuildArgs

Contents of the build template.

description String

Human-readable description of this trigger.

disabled Boolean

If true, the trigger will never automatically execute a build.

eventType TriggerEventType

EventType allows the user to explicitly set the type of event to which this BuildTrigger should respond. This field will be validated against the rest of the configuration if it is set.

filename String

Path, from the source root, to the build configuration file (i.e. cloudbuild.yaml).

filter String

A Common Expression Language string.

gitFileSource GitFileSourceArgs

The file source describing the local or remote Build template.

github GitHubEventsConfigArgs

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

gitlabEnterpriseEventsConfig GitLabEventsConfigArgs

GitLabEnterpriseEventsConfig describes the configuration of a trigger that creates a build whenever a GitLab Enterprise event is received.

ignoredFiles List<String>

ignored_files and included_files are file glob matches using https://golang.org/pkg/path/filepath/#Match extended with support for "**". If ignored_files and changed files are both empty, then they are not used to determine whether or not to trigger a build. If ignored_files is not empty, then we ignore any files that match any of the ignored_file globs. If the change has no files that are outside of the ignored_files globs, then we do not trigger a build.

includeBuildLogs TriggerIncludeBuildLogs

If set to INCLUDE_BUILD_LOGS_WITH_STATUS, log url will be shown on GitHub page when build status is final. Setting this field to INCLUDE_BUILD_LOGS_WITH_STATUS for non GitHub triggers results in INVALID_ARGUMENT error.

includedFiles List<String>

If any of the files altered in the commit pass the ignored_files filter and included_files is empty, then as far as this filter is concerned, we should trigger the build. If any of the files altered in the commit pass the ignored_files filter and included_files is not empty, then we make sure that at least one of those files matches a included_files glob. If not, then we do not trigger a build.

location String
name String

User-assigned name of the trigger. Must be unique within the project. Trigger names must meet the following requirements: + They must contain only alphanumeric characters and dashes. + They can be 1-64 characters long. + They must begin and end with an alphanumeric character.

project String
pubsubConfig PubsubConfigArgs

PubsubConfig describes the configuration of a trigger that creates a build whenever a Pub/Sub message is published.

repositoryEventConfig RepositoryEventConfigArgs

The configuration of a trigger that creates a build whenever an event from Repo API is received.

resourceName String

The Trigger name with format: projects/{project}/locations/{location}/triggers/{trigger}, where {trigger} is a unique identifier generated by the service.

serviceAccount String

The service account used for all user-controlled operations including UpdateBuildTrigger, RunBuildTrigger, CreateBuild, and CancelBuild. If no service account is set, then the standard Cloud Build service account ([PROJECT_NUM]@system.gserviceaccount.com) will be used instead. Format: projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT_ID_OR_EMAIL}

sourceToBuild GitRepoSourceArgs

The repo and ref of the repository from which to build. This field is used only for those triggers that do not respond to SCM events. Triggers that respond to such events build source at whatever commit caused the event. This field is currently only used by Webhook, Pub/Sub, Manual, and Cron triggers.

substitutions Map<String,String>

Substitutions for Build resource. The keys must match the following regular expression: ^_[A-Z0-9_]+$.

tags List<String>

Tags for annotation of a BuildTrigger

triggerTemplate RepoSourceArgs

Template describing the types of source changes to trigger a build. Branch and tag names in trigger templates are interpreted as regular expressions. Any branch or tag change that matches that regular expression will trigger a build. Mutually exclusive with github.

webhookConfig WebhookConfigArgs

WebhookConfig describes the configuration of a trigger that creates a build whenever a webhook is sent to a trigger's webhook URL.

projectId string

Required. ID of the project for which to configure automatic builds.

approvalConfig ApprovalConfigArgs

Configuration for manual approval to start a build invocation of this BuildTrigger.

autodetect boolean

Autodetect build configuration. The following precedence is used (case insensitive): 1. cloudbuild.yaml 2. cloudbuild.yml 3. cloudbuild.json 4. Dockerfile Currently only available for GitHub App Triggers.

bitbucketServerTriggerConfig BitbucketServerTriggerConfigArgs

BitbucketServerTriggerConfig describes the configuration of a trigger that creates a build whenever a Bitbucket Server event is received.

build BuildArgs

Contents of the build template.

description string

Human-readable description of this trigger.

disabled boolean

If true, the trigger will never automatically execute a build.

eventType TriggerEventType

EventType allows the user to explicitly set the type of event to which this BuildTrigger should respond. This field will be validated against the rest of the configuration if it is set.

filename string

Path, from the source root, to the build configuration file (i.e. cloudbuild.yaml).

filter string

A Common Expression Language string.

gitFileSource GitFileSourceArgs

The file source describing the local or remote Build template.

github GitHubEventsConfigArgs

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

gitlabEnterpriseEventsConfig GitLabEventsConfigArgs

GitLabEnterpriseEventsConfig describes the configuration of a trigger that creates a build whenever a GitLab Enterprise event is received.

ignoredFiles string[]

ignored_files and included_files are file glob matches using https://golang.org/pkg/path/filepath/#Match extended with support for "**". If ignored_files and changed files are both empty, then they are not used to determine whether or not to trigger a build. If ignored_files is not empty, then we ignore any files that match any of the ignored_file globs. If the change has no files that are outside of the ignored_files globs, then we do not trigger a build.

includeBuildLogs TriggerIncludeBuildLogs

If set to INCLUDE_BUILD_LOGS_WITH_STATUS, log url will be shown on GitHub page when build status is final. Setting this field to INCLUDE_BUILD_LOGS_WITH_STATUS for non GitHub triggers results in INVALID_ARGUMENT error.

includedFiles string[]

If any of the files altered in the commit pass the ignored_files filter and included_files is empty, then as far as this filter is concerned, we should trigger the build. If any of the files altered in the commit pass the ignored_files filter and included_files is not empty, then we make sure that at least one of those files matches a included_files glob. If not, then we do not trigger a build.

location string
name string

User-assigned name of the trigger. Must be unique within the project. Trigger names must meet the following requirements: + They must contain only alphanumeric characters and dashes. + They can be 1-64 characters long. + They must begin and end with an alphanumeric character.

project string
pubsubConfig PubsubConfigArgs

PubsubConfig describes the configuration of a trigger that creates a build whenever a Pub/Sub message is published.

repositoryEventConfig RepositoryEventConfigArgs

The configuration of a trigger that creates a build whenever an event from Repo API is received.

resourceName string

The Trigger name with format: projects/{project}/locations/{location}/triggers/{trigger}, where {trigger} is a unique identifier generated by the service.

serviceAccount string

The service account used for all user-controlled operations including UpdateBuildTrigger, RunBuildTrigger, CreateBuild, and CancelBuild. If no service account is set, then the standard Cloud Build service account ([PROJECT_NUM]@system.gserviceaccount.com) will be used instead. Format: projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT_ID_OR_EMAIL}

sourceToBuild GitRepoSourceArgs

The repo and ref of the repository from which to build. This field is used only for those triggers that do not respond to SCM events. Triggers that respond to such events build source at whatever commit caused the event. This field is currently only used by Webhook, Pub/Sub, Manual, and Cron triggers.

substitutions {[key: string]: string}

Substitutions for Build resource. The keys must match the following regular expression: ^_[A-Z0-9_]+$.

tags string[]

Tags for annotation of a BuildTrigger

triggerTemplate RepoSourceArgs

Template describing the types of source changes to trigger a build. Branch and tag names in trigger templates are interpreted as regular expressions. Any branch or tag change that matches that regular expression will trigger a build. Mutually exclusive with github.

webhookConfig WebhookConfigArgs

WebhookConfig describes the configuration of a trigger that creates a build whenever a webhook is sent to a trigger's webhook URL.

project_id str

Required. ID of the project for which to configure automatic builds.

approval_config ApprovalConfigArgs

Configuration for manual approval to start a build invocation of this BuildTrigger.

autodetect bool

Autodetect build configuration. The following precedence is used (case insensitive): 1. cloudbuild.yaml 2. cloudbuild.yml 3. cloudbuild.json 4. Dockerfile Currently only available for GitHub App Triggers.

bitbucket_server_trigger_config BitbucketServerTriggerConfigArgs

BitbucketServerTriggerConfig describes the configuration of a trigger that creates a build whenever a Bitbucket Server event is received.

build BuildArgs

Contents of the build template.

description str

Human-readable description of this trigger.

disabled bool

If true, the trigger will never automatically execute a build.

event_type TriggerEventType

EventType allows the user to explicitly set the type of event to which this BuildTrigger should respond. This field will be validated against the rest of the configuration if it is set.

filename str

Path, from the source root, to the build configuration file (i.e. cloudbuild.yaml).

filter str

A Common Expression Language string.

git_file_source GitFileSourceArgs

The file source describing the local or remote Build template.

github GitHubEventsConfigArgs

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

gitlab_enterprise_events_config GitLabEventsConfigArgs

GitLabEnterpriseEventsConfig describes the configuration of a trigger that creates a build whenever a GitLab Enterprise event is received.

ignored_files Sequence[str]

ignored_files and included_files are file glob matches using https://golang.org/pkg/path/filepath/#Match extended with support for "**". If ignored_files and changed files are both empty, then they are not used to determine whether or not to trigger a build. If ignored_files is not empty, then we ignore any files that match any of the ignored_file globs. If the change has no files that are outside of the ignored_files globs, then we do not trigger a build.

include_build_logs TriggerIncludeBuildLogs

If set to INCLUDE_BUILD_LOGS_WITH_STATUS, log url will be shown on GitHub page when build status is final. Setting this field to INCLUDE_BUILD_LOGS_WITH_STATUS for non GitHub triggers results in INVALID_ARGUMENT error.

included_files Sequence[str]

If any of the files altered in the commit pass the ignored_files filter and included_files is empty, then as far as this filter is concerned, we should trigger the build. If any of the files altered in the commit pass the ignored_files filter and included_files is not empty, then we make sure that at least one of those files matches a included_files glob. If not, then we do not trigger a build.

location str
name str

User-assigned name of the trigger. Must be unique within the project. Trigger names must meet the following requirements: + They must contain only alphanumeric characters and dashes. + They can be 1-64 characters long. + They must begin and end with an alphanumeric character.

project str
pubsub_config PubsubConfigArgs

PubsubConfig describes the configuration of a trigger that creates a build whenever a Pub/Sub message is published.

repository_event_config RepositoryEventConfigArgs

The configuration of a trigger that creates a build whenever an event from Repo API is received.

resource_name str

The Trigger name with format: projects/{project}/locations/{location}/triggers/{trigger}, where {trigger} is a unique identifier generated by the service.

service_account str

The service account used for all user-controlled operations including UpdateBuildTrigger, RunBuildTrigger, CreateBuild, and CancelBuild. If no service account is set, then the standard Cloud Build service account ([PROJECT_NUM]@system.gserviceaccount.com) will be used instead. Format: projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT_ID_OR_EMAIL}

source_to_build GitRepoSourceArgs

The repo and ref of the repository from which to build. This field is used only for those triggers that do not respond to SCM events. Triggers that respond to such events build source at whatever commit caused the event. This field is currently only used by Webhook, Pub/Sub, Manual, and Cron triggers.

substitutions Mapping[str, str]

Substitutions for Build resource. The keys must match the following regular expression: ^_[A-Z0-9_]+$.

tags Sequence[str]

Tags for annotation of a BuildTrigger

trigger_template RepoSourceArgs

Template describing the types of source changes to trigger a build. Branch and tag names in trigger templates are interpreted as regular expressions. Any branch or tag change that matches that regular expression will trigger a build. Mutually exclusive with github.

webhook_config WebhookConfigArgs

WebhookConfig describes the configuration of a trigger that creates a build whenever a webhook is sent to a trigger's webhook URL.

projectId String

Required. ID of the project for which to configure automatic builds.

approvalConfig Property Map

Configuration for manual approval to start a build invocation of this BuildTrigger.

autodetect Boolean

Autodetect build configuration. The following precedence is used (case insensitive): 1. cloudbuild.yaml 2. cloudbuild.yml 3. cloudbuild.json 4. Dockerfile Currently only available for GitHub App Triggers.

bitbucketServerTriggerConfig Property Map

BitbucketServerTriggerConfig describes the configuration of a trigger that creates a build whenever a Bitbucket Server event is received.

build Property Map

Contents of the build template.

description String

Human-readable description of this trigger.

disabled Boolean

If true, the trigger will never automatically execute a build.

eventType "EVENT_TYPE_UNSPECIFIED" | "REPO" | "WEBHOOK" | "PUBSUB" | "MANUAL"

EventType allows the user to explicitly set the type of event to which this BuildTrigger should respond. This field will be validated against the rest of the configuration if it is set.

filename String

Path, from the source root, to the build configuration file (i.e. cloudbuild.yaml).

filter String

A Common Expression Language string.

gitFileSource Property Map

The file source describing the local or remote Build template.

github Property Map

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

gitlabEnterpriseEventsConfig Property Map

GitLabEnterpriseEventsConfig describes the configuration of a trigger that creates a build whenever a GitLab Enterprise event is received.

ignoredFiles List<String>

ignored_files and included_files are file glob matches using https://golang.org/pkg/path/filepath/#Match extended with support for "**". If ignored_files and changed files are both empty, then they are not used to determine whether or not to trigger a build. If ignored_files is not empty, then we ignore any files that match any of the ignored_file globs. If the change has no files that are outside of the ignored_files globs, then we do not trigger a build.

includeBuildLogs "INCLUDE_BUILD_LOGS_UNSPECIFIED" | "INCLUDE_BUILD_LOGS_WITH_STATUS"

If set to INCLUDE_BUILD_LOGS_WITH_STATUS, log url will be shown on GitHub page when build status is final. Setting this field to INCLUDE_BUILD_LOGS_WITH_STATUS for non GitHub triggers results in INVALID_ARGUMENT error.

includedFiles List<String>

If any of the files altered in the commit pass the ignored_files filter and included_files is empty, then as far as this filter is concerned, we should trigger the build. If any of the files altered in the commit pass the ignored_files filter and included_files is not empty, then we make sure that at least one of those files matches a included_files glob. If not, then we do not trigger a build.

location String
name String

User-assigned name of the trigger. Must be unique within the project. Trigger names must meet the following requirements: + They must contain only alphanumeric characters and dashes. + They can be 1-64 characters long. + They must begin and end with an alphanumeric character.

project String
pubsubConfig Property Map

PubsubConfig describes the configuration of a trigger that creates a build whenever a Pub/Sub message is published.

repositoryEventConfig Property Map

The configuration of a trigger that creates a build whenever an event from Repo API is received.

resourceName String

The Trigger name with format: projects/{project}/locations/{location}/triggers/{trigger}, where {trigger} is a unique identifier generated by the service.

serviceAccount String

The service account used for all user-controlled operations including UpdateBuildTrigger, RunBuildTrigger, CreateBuild, and CancelBuild. If no service account is set, then the standard Cloud Build service account ([PROJECT_NUM]@system.gserviceaccount.com) will be used instead. Format: projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT_ID_OR_EMAIL}

sourceToBuild Property Map

The repo and ref of the repository from which to build. This field is used only for those triggers that do not respond to SCM events. Triggers that respond to such events build source at whatever commit caused the event. This field is currently only used by Webhook, Pub/Sub, Manual, and Cron triggers.

substitutions Map<String>

Substitutions for Build resource. The keys must match the following regular expression: ^_[A-Z0-9_]+$.

tags List<String>

Tags for annotation of a BuildTrigger

triggerTemplate Property Map

Template describing the types of source changes to trigger a build. Branch and tag names in trigger templates are interpreted as regular expressions. Any branch or tag change that matches that regular expression will trigger a build. Mutually exclusive with github.

webhookConfig Property Map

WebhookConfig describes the configuration of a trigger that creates a build whenever a webhook is sent to a trigger's webhook URL.

Outputs

All input properties are implicitly available as output properties. Additionally, the Trigger resource produces the following output properties:

CreateTime string

Time when the trigger was created.

Id string

The provider-assigned unique ID for this managed resource.

CreateTime string

Time when the trigger was created.

Id string

The provider-assigned unique ID for this managed resource.

createTime String

Time when the trigger was created.

id String

The provider-assigned unique ID for this managed resource.

createTime string

Time when the trigger was created.

id string

The provider-assigned unique ID for this managed resource.

create_time str

Time when the trigger was created.

id str

The provider-assigned unique ID for this managed resource.

createTime String

Time when the trigger was created.

id String

The provider-assigned unique ID for this managed resource.

Supporting Types

ApprovalConfig

ApprovalRequired bool

Whether or not approval is needed. If this is set on a build, it will become pending when created, and will need to be explicitly approved to start.

ApprovalRequired bool

Whether or not approval is needed. If this is set on a build, it will become pending when created, and will need to be explicitly approved to start.

approvalRequired Boolean

Whether or not approval is needed. If this is set on a build, it will become pending when created, and will need to be explicitly approved to start.

approvalRequired boolean

Whether or not approval is needed. If this is set on a build, it will become pending when created, 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 created, and will need to be explicitly approved to start.

approvalRequired Boolean

Whether or not approval is needed. If this is set on a build, it will become pending when created, and will need to be explicitly approved to start.

ApprovalConfigResponse

ApprovalRequired bool

Whether or not approval is needed. If this is set on a build, it will become pending when created, and will need to be explicitly approved to start.

ApprovalRequired bool

Whether or not approval is needed. If this is set on a build, it will become pending when created, and will need to be explicitly approved to start.

approvalRequired Boolean

Whether or not approval is needed. If this is set on a build, it will become pending when created, and will need to be explicitly approved to start.

approvalRequired boolean

Whether or not approval is needed. If this is set on a build, it will become pending when created, 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 created, and will need to be explicitly approved to start.

approvalRequired Boolean

Whether or not approval is needed. If this is set on a build, it will become pending when created, and will need to be explicitly approved to start.

ApprovalResultResponse

ApprovalTime string

The time when the approval decision was made.

ApproverAccount string

Email of the user that called the ApproveBuild API to approve or reject a build at the time that the API was called.

Comment string

Optional. An optional comment for this manual approval result.

Decision string

The decision of this manual approval.

Url string

Optional. An optional URL tied to this manual approval result. This field is essentially the same as comment, except that it will be rendered by the UI differently. An example use case is a link to an external job that approved this Build.

ApprovalTime string

The time when the approval decision was made.

ApproverAccount string

Email of the user that called the ApproveBuild API to approve or reject a build at the time that the API was called.

Comment string

Optional. An optional comment for this manual approval result.

Decision string

The decision of this manual approval.

Url string

Optional. An optional URL tied to this manual approval result. This field is essentially the same as comment, except that it will be rendered by the UI differently. An example use case is a link to an external job that approved this Build.

approvalTime String

The time when the approval decision was made.

approverAccount String

Email of the user that called the ApproveBuild API to approve or reject a build at the time that the API was called.

comment String

Optional. An optional comment for this manual approval result.

decision String

The decision of this manual approval.

url String

Optional. An optional URL tied to this manual approval result. This field is essentially the same as comment, except that it will be rendered by the UI differently. An example use case is a link to an external job that approved this Build.

approvalTime string

The time when the approval decision was made.

approverAccount string

Email of the user that called the ApproveBuild API to approve or reject a build at the time that the API was called.

comment string

Optional. An optional comment for this manual approval result.

decision string

The decision of this manual approval.

url string

Optional. An optional URL tied to this manual approval result. This field is essentially the same as comment, except that it will be rendered by the UI differently. An example use case is a link to an external job that approved this Build.

approval_time str

The time when the approval decision was made.

approver_account str

Email of the user that called the ApproveBuild API to approve or reject a build at the time that the API was called.

comment str

Optional. An optional comment for this manual approval result.

decision str

The decision of this manual approval.

url str

Optional. An optional URL tied to this manual approval result. This field is essentially the same as comment, except that it will be rendered by the UI differently. An example use case is a link to an external job that approved this Build.

approvalTime String

The time when the approval decision was made.

approverAccount String

Email of the user that called the ApproveBuild API to approve or reject a build at the time that the API was called.

comment String

Optional. An optional comment for this manual approval result.

decision String

The decision of this manual approval.

url String

Optional. An optional URL tied to this manual approval result. This field is essentially the same as comment, except that it will be rendered by the UI differently. An example use case is a link to an external job that approved this Build.

ArtifactObjects

Location string

Cloud Storage bucket and optional object path, in the form "gs://bucket/path/to/somewhere/". (see Bucket Name Requirements). Files in the workspace matching any path pattern will be uploaded to Cloud Storage with this location as a prefix.

Paths List<string>

Path globs used to match files in the build's workspace.

Location string

Cloud Storage bucket and optional object path, in the form "gs://bucket/path/to/somewhere/". (see Bucket Name Requirements). Files in the workspace matching any path pattern will be uploaded to Cloud Storage with this location as a prefix.

Paths []string

Path globs used to match files in the build's workspace.

location String

Cloud Storage bucket and optional object path, in the form "gs://bucket/path/to/somewhere/". (see Bucket Name Requirements). Files in the workspace matching any path pattern will be uploaded to Cloud Storage with this location as a prefix.

paths List<String>

Path globs used to match files in the build's workspace.

location string

Cloud Storage bucket and optional object path, in the form "gs://bucket/path/to/somewhere/". (see Bucket Name Requirements). Files in the workspace matching any path pattern will be uploaded to Cloud Storage with this location as a prefix.

paths string[]

Path globs used to match files in the build's workspace.

location str

Cloud Storage bucket and optional object path, in the form "gs://bucket/path/to/somewhere/". (see Bucket Name Requirements). Files in the workspace matching any path pattern will be uploaded to Cloud Storage with this location as a prefix.

paths Sequence[str]

Path globs used to match files in the build's workspace.

location String

Cloud Storage bucket and optional object path, in the form "gs://bucket/path/to/somewhere/". (see Bucket Name Requirements). Files in the workspace matching any path pattern will be uploaded to Cloud Storage with this location as a prefix.

paths List<String>

Path globs used to match files in the build's workspace.

ArtifactObjectsResponse

Location string

Cloud Storage bucket and optional object path, in the form "gs://bucket/path/to/somewhere/". (see Bucket Name Requirements). Files in the workspace matching any path pattern will be uploaded to Cloud Storage with this location as a prefix.

Paths List<string>

Path globs used to match files in the build's workspace.

Timing Pulumi.GoogleNative.CloudBuild.V1.Inputs.TimeSpanResponse

Stores timing information for pushing all artifact objects.

Location string

Cloud Storage bucket and optional object path, in the form "gs://bucket/path/to/somewhere/". (see Bucket Name Requirements). Files in the workspace matching any path pattern will be uploaded to Cloud Storage with this location as a prefix.

Paths []string

Path globs used to match files in the build's workspace.

Timing TimeSpanResponse

Stores timing information for pushing all artifact objects.

location String

Cloud Storage bucket and optional object path, in the form "gs://bucket/path/to/somewhere/". (see Bucket Name Requirements). Files in the workspace matching any path pattern will be uploaded to Cloud Storage with this location as a prefix.

paths List<String>

Path globs used to match files in the build's workspace.

timing TimeSpanResponse

Stores timing information for pushing all artifact objects.

location string

Cloud Storage bucket and optional object path, in the form "gs://bucket/path/to/somewhere/". (see Bucket Name Requirements). Files in the workspace matching any path pattern will be uploaded to Cloud Storage with this location as a prefix.

paths string[]

Path globs used to match files in the build's workspace.

timing TimeSpanResponse

Stores timing information for pushing all artifact objects.

location str

Cloud Storage bucket and optional object path, in the form "gs://bucket/path/to/somewhere/". (see Bucket Name Requirements). Files in the workspace matching any path pattern will be uploaded to Cloud Storage with this location as a prefix.

paths Sequence[str]

Path globs used to match files in the build's workspace.

timing TimeSpanResponse

Stores timing information for pushing all artifact objects.

location String

Cloud Storage bucket and optional object path, in the form "gs://bucket/path/to/somewhere/". (see Bucket Name Requirements). Files in the workspace matching any path pattern will be uploaded to Cloud Storage with this location as a prefix.

paths List<String>

Path globs used to match files in the build's workspace.

timing Property Map

Stores timing information for pushing all artifact objects.

Artifacts

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.

MavenArtifacts List<Pulumi.GoogleNative.CloudBuild.V1.Inputs.MavenArtifact>

A list of Maven artifacts to be uploaded to Artifact Registry upon successful completion of all build steps. Artifacts in the workspace matching specified paths globs will be uploaded to the specified Artifact Registry repository using the builder service account's credentials. If any artifacts fail to be pushed, the build is marked FAILURE.

Objects Pulumi.GoogleNative.CloudBuild.V1.Inputs.ArtifactObjects

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 specified 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.

PythonPackages List<Pulumi.GoogleNative.CloudBuild.V1.Inputs.PythonPackage>

A list of Python packages to be uploaded to Artifact Registry upon successful completion of all build steps. The build service account credentials will be used to perform the upload. 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.

MavenArtifacts []MavenArtifact

A list of Maven artifacts to be uploaded to Artifact Registry upon successful completion of all build steps. Artifacts in the workspace matching specified paths globs will be uploaded to the specified Artifact Registry repository using the builder service account's credentials. If any artifacts fail to be pushed, the build is marked FAILURE.

Objects ArtifactObjects

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 specified 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.

PythonPackages []PythonPackage

A list of Python packages to be uploaded to Artifact Registry upon successful completion of all build steps. The build service account credentials will be used to perform the upload. 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.

mavenArtifacts List<MavenArtifact>

A list of Maven artifacts to be uploaded to Artifact Registry upon successful completion of all build steps. Artifacts in the workspace matching specified paths globs will be uploaded to the specified Artifact Registry repository using the builder service account's credentials. If any artifacts fail to be pushed, the build is marked FAILURE.

objects ArtifactObjects

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 specified 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.

pythonPackages List<PythonPackage>

A list of Python packages to be uploaded to Artifact Registry upon successful completion of all build steps. The build service account credentials will be used to perform the upload. 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.

mavenArtifacts MavenArtifact[]

A list of Maven artifacts to be uploaded to Artifact Registry upon successful completion of all build steps. Artifacts in the workspace matching specified paths globs will be uploaded to the specified Artifact Registry repository using the builder service account's credentials. If any artifacts fail to be pushed, the build is marked FAILURE.

objects ArtifactObjects

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 specified 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.

pythonPackages PythonPackage[]

A list of Python packages to be uploaded to Artifact Registry upon successful completion of all build steps. The build service account credentials will be used to perform the upload. 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[MavenArtifact]

A list of Maven artifacts to be uploaded to Artifact Registry upon successful completion of all build steps. Artifacts in the workspace matching specified paths globs will be uploaded to the specified Artifact Registry repository using the builder service account's credentials. If any artifacts fail to be pushed, the build is marked FAILURE.

objects ArtifactObjects

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 specified 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[PythonPackage]

A list of Python packages to be uploaded to Artifact Registry upon successful completion of all build steps. The build service account credentials will be used to perform the upload. 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.

mavenArtifacts List<Property Map>

A list of Maven artifacts to be uploaded to Artifact Registry upon successful completion of all build steps. Artifacts in the workspace matching specified paths globs will be uploaded to the specified Artifact Registry repository using the builder service account's credentials. If any artifacts fail to be pushed, the build is marked FAILURE.

objects 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 specified 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.

pythonPackages List<Property Map>

A list of Python packages to be uploaded to Artifact Registry upon successful completion of all build steps. The build service account credentials will be used to perform the upload. If any objects fail to be pushed, the build is marked FAILURE.

ArtifactsResponse

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.

MavenArtifacts List<Pulumi.GoogleNative.CloudBuild.V1.Inputs.MavenArtifactResponse>

A list of Maven artifacts to be uploaded to Artifact Registry upon successful completion of all build steps. Artifacts in the workspace matching specified paths globs will be uploaded to the specified Artifact Registry repository using the builder service account's credentials. If any artifacts fail to be pushed, the build is marked FAILURE.

Objects Pulumi.GoogleNative.CloudBuild.V1.Inputs.ArtifactObjectsResponse

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 specified 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.

PythonPackages List<Pulumi.GoogleNative.CloudBuild.V1.Inputs.PythonPackageResponse>

A list of Python packages to be uploaded to Artifact Registry upon successful completion of all build steps. The build service account credentials will be used to perform the upload. 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.

MavenArtifacts []MavenArtifactResponse

A list of Maven artifacts to be uploaded to Artifact Registry upon successful completion of all build steps. Artifacts in the workspace matching specified paths globs will be uploaded to the specified Artifact Registry repository using the builder service account's credentials. If any artifacts fail to be pushed, the build is marked FAILURE.

Objects ArtifactObjectsResponse

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 specified 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.

PythonPackages []PythonPackageResponse

A list of Python packages to be uploaded to Artifact Registry upon successful completion of all build steps. The build service account credentials will be used to perform the upload. 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.

mavenArtifacts List<MavenArtifactResponse>

A list of Maven artifacts to be uploaded to Artifact Registry upon successful completion of all build steps. Artifacts in the workspace matching specified paths globs will be uploaded to the specified Artifact Registry repository using the builder service account's credentials. If any artifacts fail to be pushed, the build is marked FAILURE.

objects ArtifactObjectsResponse

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 specified 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.

pythonPackages List<PythonPackageResponse>

A list of Python packages to be uploaded to Artifact Registry upon successful completion of all build steps. The build service account credentials will be used to perform the upload. 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.

mavenArtifacts MavenArtifactResponse[]

A list of Maven artifacts to be uploaded to Artifact Registry upon successful completion of all build steps. Artifacts in the workspace matching specified paths globs will be uploaded to the specified Artifact Registry repository using the builder service account's credentials. If any artifacts fail to be pushed, the build is marked FAILURE.

objects ArtifactObjectsResponse

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 specified 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.

pythonPackages PythonPackageResponse[]

A list of Python packages to be uploaded to Artifact Registry upon successful completion of all build steps. The build service account credentials will be used to perform the upload. 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[MavenArtifactResponse]

A list of Maven artifacts to be uploaded to Artifact Registry upon successful completion of all build steps. Artifacts in the workspace matching specified paths globs will be uploaded to the specified Artifact Registry repository using the builder service account's credentials. If any artifacts fail to be pushed, the build is marked FAILURE.

objects ArtifactObjectsResponse

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 specified 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[PythonPackageResponse]

A list of Python packages to be uploaded to Artifact Registry upon successful completion of all build steps. The build service account credentials will be used to perform the upload. 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.

mavenArtifacts List<Property Map>

A list of Maven artifacts to be uploaded to Artifact Registry upon successful completion of all build steps. Artifacts in the workspace matching specified paths globs will be uploaded to the specified Artifact Registry repository using the builder service account's credentials. If any artifacts fail to be pushed, the build is marked FAILURE.

objects 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 specified 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.

pythonPackages List<Property Map>

A list of Python packages to be uploaded to Artifact Registry upon successful completion of all build steps. The build service account credentials will be used to perform the upload. If any objects fail to be pushed, the build is marked FAILURE.

BitbucketServerConfigResponse

ApiKey string

Immutable. API Key that will be attached to webhook. Once this field has been set, it cannot be changed. If you need to change it, please create another BitbucketServerConfig.

ConnectedRepositories List<Pulumi.GoogleNative.CloudBuild.V1.Inputs.BitbucketServerRepositoryIdResponse>

Connected Bitbucket Server repositories for this config.

CreateTime string

Time when the config was created.

HostUri string

Immutable. The URI of the Bitbucket Server host. Once this field has been set, it cannot be changed. If you need to change it, please create another BitbucketServerConfig.

Name string

The resource name for the config.

PeeredNetwork string

Optional. The network to be used when reaching out to the Bitbucket Server instance. The VPC network must be enabled for private service connection. This should be set if the Bitbucket Server instance is hosted on-premises and not reachable by public internet. If this field is left empty, no network peering will occur and calls to the Bitbucket Server instance will be made over the public internet. Must be in the format projects/{project}/global/networks/{network}, where {project} is a project number or id and {network} is the name of a VPC network in the project.

Secrets Pulumi.GoogleNative.CloudBuild.V1.Inputs.BitbucketServerSecretsResponse

Secret Manager secrets needed by the config.

SslCa string

Optional. SSL certificate to use for requests to Bitbucket Server. The format should be PEM format but the extension can be one of .pem, .cer, or .crt.

Username string

Username of the account Cloud Build will use on Bitbucket Server.

WebhookKey string

UUID included in webhook requests. The UUID is used to look up the corresponding config.

ApiKey string

Immutable. API Key that will be attached to webhook. Once this field has been set, it cannot be changed. If you need to change it, please create another BitbucketServerConfig.

ConnectedRepositories []BitbucketServerRepositoryIdResponse

Connected Bitbucket Server repositories for this config.

CreateTime string

Time when the config was created.

HostUri string

Immutable. The URI of the Bitbucket Server host. Once this field has been set, it cannot be changed. If you need to change it, please create another BitbucketServerConfig.

Name string

The resource name for the config.

PeeredNetwork string

Optional. The network to be used when reaching out to the Bitbucket Server instance. The VPC network must be enabled for private service connection. This should be set if the Bitbucket Server instance is hosted on-premises and not reachable by public internet. If this field is left empty, no network peering will occur and calls to the Bitbucket Server instance will be made over the public internet. Must be in the format projects/{project}/global/networks/{network}, where {project} is a project number or id and {network} is the name of a VPC network in the project.

Secrets BitbucketServerSecretsResponse

Secret Manager secrets needed by the config.

SslCa string

Optional. SSL certificate to use for requests to Bitbucket Server. The format should be PEM format but the extension can be one of .pem, .cer, or .crt.

Username string

Username of the account Cloud Build will use on Bitbucket Server.

WebhookKey string

UUID included in webhook requests. The UUID is used to look up the corresponding config.

apiKey String

Immutable. API Key that will be attached to webhook. Once this field has been set, it cannot be changed. If you need to change it, please create another BitbucketServerConfig.

connectedRepositories List<BitbucketServerRepositoryIdResponse>

Connected Bitbucket Server repositories for this config.

createTime String

Time when the config was created.

hostUri String

Immutable. The URI of the Bitbucket Server host. Once this field has been set, it cannot be changed. If you need to change it, please create another BitbucketServerConfig.

name String

The resource name for the config.

peeredNetwork String

Optional. The network to be used when reaching out to the Bitbucket Server instance. The VPC network must be enabled for private service connection. This should be set if the Bitbucket Server instance is hosted on-premises and not reachable by public internet. If this field is left empty, no network peering will occur and calls to the Bitbucket Server instance will be made over the public internet. Must be in the format projects/{project}/global/networks/{network}, where {project} is a project number or id and {network} is the name of a VPC network in the project.

secrets BitbucketServerSecretsResponse

Secret Manager secrets needed by the config.

sslCa String

Optional. SSL certificate to use for requests to Bitbucket Server. The format should be PEM format but the extension can be one of .pem, .cer, or .crt.

username String

Username of the account Cloud Build will use on Bitbucket Server.

webhookKey String

UUID included in webhook requests. The UUID is used to look up the corresponding config.

apiKey string

Immutable. API Key that will be attached to webhook. Once this field has been set, it cannot be changed. If you need to change it, please create another BitbucketServerConfig.

connectedRepositories BitbucketServerRepositoryIdResponse[]

Connected Bitbucket Server repositories for this config.

createTime string

Time when the config was created.

hostUri string

Immutable. The URI of the Bitbucket Server host. Once this field has been set, it cannot be changed. If you need to change it, please create another BitbucketServerConfig.

name string

The resource name for the config.

peeredNetwork string

Optional. The network to be used when reaching out to the Bitbucket Server instance. The VPC network must be enabled for private service connection. This should be set if the Bitbucket Server instance is hosted on-premises and not reachable by public internet. If this field is left empty, no network peering will occur and calls to the Bitbucket Server instance will be made over the public internet. Must be in the format projects/{project}/global/networks/{network}, where {project} is a project number or id and {network} is the name of a VPC network in the project.

secrets BitbucketServerSecretsResponse

Secret Manager secrets needed by the config.

sslCa string

Optional. SSL certificate to use for requests to Bitbucket Server. The format should be PEM format but the extension can be one of .pem, .cer, or .crt.

username string

Username of the account Cloud Build will use on Bitbucket Server.

webhookKey string

UUID included in webhook requests. The UUID is used to look up the corresponding config.

api_key str

Immutable. API Key that will be attached to webhook. Once this field has been set, it cannot be changed. If you need to change it, please create another BitbucketServerConfig.

connected_repositories Sequence[BitbucketServerRepositoryIdResponse]

Connected Bitbucket Server repositories for this config.

create_time str

Time when the config was created.

host_uri str

Immutable. The URI of the Bitbucket Server host. Once this field has been set, it cannot be changed. If you need to change it, please create another BitbucketServerConfig.

name str

The resource name for the config.

peered_network str

Optional. The network to be used when reaching out to the Bitbucket Server instance. The VPC network must be enabled for private service connection. This should be set if the Bitbucket Server instance is hosted on-premises and not reachable by public internet. If this field is left empty, no network peering will occur and calls to the Bitbucket Server instance will be made over the public internet. Must be in the format projects/{project}/global/networks/{network}, where {project} is a project number or id and {network} is the name of a VPC network in the project.

secrets BitbucketServerSecretsResponse

Secret Manager secrets needed by the config.

ssl_ca str

Optional. SSL certificate to use for requests to Bitbucket Server. The format should be PEM format but the extension can be one of .pem, .cer, or .crt.

username str

Username of the account Cloud Build will use on Bitbucket Server.

webhook_key str

UUID included in webhook requests. The UUID is used to look up the corresponding config.

apiKey String

Immutable. API Key that will be attached to webhook. Once this field has been set, it cannot be changed. If you need to change it, please create another BitbucketServerConfig.

connectedRepositories List<Property Map>

Connected Bitbucket Server repositories for this config.

createTime String

Time when the config was created.

hostUri String

Immutable. The URI of the Bitbucket Server host. Once this field has been set, it cannot be changed. If you need to change it, please create another BitbucketServerConfig.

name String

The resource name for the config.

peeredNetwork String

Optional. The network to be used when reaching out to the Bitbucket Server instance. The VPC network must be enabled for private service connection. This should be set if the Bitbucket Server instance is hosted on-premises and not reachable by public internet. If this field is left empty, no network peering will occur and calls to the Bitbucket Server instance will be made over the public internet. Must be in the format projects/{project}/global/networks/{network}, where {project} is a project number or id and {network} is the name of a VPC network in the project.

secrets Property Map

Secret Manager secrets needed by the config.

sslCa String

Optional. SSL certificate to use for requests to Bitbucket Server. The format should be PEM format but the extension can be one of .pem, .cer, or .crt.

username String

Username of the account Cloud Build will use on Bitbucket Server.

webhookKey String

UUID included in webhook requests. The UUID is used to look up the corresponding config.

BitbucketServerRepositoryIdResponse

ProjectKey string

Identifier for the project storing the repository.

RepoSlug string

Identifier for the repository.

WebhookId int

The ID of the webhook that was created for receiving events from this repo. We only create and manage a single webhook for each repo.

ProjectKey string

Identifier for the project storing the repository.

RepoSlug string

Identifier for the repository.

WebhookId int

The ID of the webhook that was created for receiving events from this repo. We only create and manage a single webhook for each repo.

projectKey String

Identifier for the project storing the repository.

repoSlug String

Identifier for the repository.

webhookId Integer

The ID of the webhook that was created for receiving events from this repo. We only create and manage a single webhook for each repo.

projectKey string

Identifier for the project storing the repository.

repoSlug string

Identifier for the repository.

webhookId number

The ID of the webhook that was created for receiving events from this repo. We only create and manage a single webhook for each repo.

project_key str

Identifier for the project storing the repository.

repo_slug str

Identifier for the repository.

webhook_id int

The ID of the webhook that was created for receiving events from this repo. We only create and manage a single webhook for each repo.

projectKey String

Identifier for the project storing the repository.

repoSlug String

Identifier for the repository.

webhookId Number

The ID of the webhook that was created for receiving events from this repo. We only create and manage a single webhook for each repo.

BitbucketServerSecretsResponse

AdminAccessTokenVersionName string

The resource name for the admin access token's secret version.

ReadAccessTokenVersionName string

The resource name for the read access token's secret version.

WebhookSecretVersionName string

Immutable. The resource name for the webhook secret's secret version. Once this field has been set, it cannot be changed. If you need to change it, please create another BitbucketServerConfig.

AdminAccessTokenVersionName string

The resource name for the admin access token's secret version.

ReadAccessTokenVersionName string

The resource name for the read access token's secret version.

WebhookSecretVersionName string

Immutable. The resource name for the webhook secret's secret version. Once this field has been set, it cannot be changed. If you need to change it, please create another BitbucketServerConfig.

adminAccessTokenVersionName String

The resource name for the admin access token's secret version.

readAccessTokenVersionName String

The resource name for the read access token's secret version.

webhookSecretVersionName String

Immutable. The resource name for the webhook secret's secret version. Once this field has been set, it cannot be changed. If you need to change it, please create another BitbucketServerConfig.

adminAccessTokenVersionName string

The resource name for the admin access token's secret version.

readAccessTokenVersionName string

The resource name for the read access token's secret version.

webhookSecretVersionName string

Immutable. The resource name for the webhook secret's secret version. Once this field has been set, it cannot be changed. If you need to change it, please create another BitbucketServerConfig.

admin_access_token_version_name str

The resource name for the admin access token's secret version.

read_access_token_version_name str

The resource name for the read access token's secret version.

webhook_secret_version_name str

Immutable. The resource name for the webhook secret's secret version. Once this field has been set, it cannot be changed. If you need to change it, please create another BitbucketServerConfig.

adminAccessTokenVersionName String

The resource name for the admin access token's secret version.

readAccessTokenVersionName String

The resource name for the read access token's secret version.

webhookSecretVersionName String

Immutable. The resource name for the webhook secret's secret version. Once this field has been set, it cannot be changed. If you need to change it, please create another BitbucketServerConfig.

BitbucketServerTriggerConfig

BitbucketServerConfigResource string

The Bitbucket server config resource that this trigger config maps to.

ProjectKey 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".

RepoSlug 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.

PullRequest Pulumi.GoogleNative.CloudBuild.V1.Inputs.PullRequestFilter

Filter to match changes in pull requests.

Push Pulumi.GoogleNative.CloudBuild.V1.Inputs.PushFilter

Filter to match changes in refs like branches, tags.

BitbucketServerConfigResource string

The Bitbucket server config resource that this trigger config maps to.

ProjectKey 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".

RepoSlug 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.

PullRequest PullRequestFilter

Filter to match changes in pull requests.

Push PushFilter

Filter to match changes in refs like branches, tags.

bitbucketServerConfigResource String

The Bitbucket server config resource that this trigger config maps to.

projectKey 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".

repoSlug 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.

pullRequest PullRequestFilter

Filter to match changes in pull requests.

push PushFilter

Filter to match changes in refs like branches, tags.

bitbucketServerConfigResource string

The Bitbucket server config resource that this trigger config maps to.

projectKey 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".

repoSlug 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.

pullRequest PullRequestFilter

Filter to match changes in pull requests.

push PushFilter

Filter to match changes in refs like branches, tags.

bitbucket_server_config_resource str

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".

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.

pull_request PullRequestFilter

Filter to match changes in pull requests.

push PushFilter

Filter to match changes in refs like branches, tags.

bitbucketServerConfigResource String

The Bitbucket server config resource that this trigger config maps to.

projectKey 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".

repoSlug 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.

pullRequest Property Map

Filter to match changes in pull requests.

push Property Map

Filter to match changes in refs like branches, tags.

BitbucketServerTriggerConfigResponse

BitbucketServerConfig Pulumi.GoogleNative.CloudBuild.V1.Inputs.BitbucketServerConfigResponse

The BitbucketServerConfig specified in the bitbucket_server_config_resource field.

BitbucketServerConfigResource string

The Bitbucket server config resource that this trigger config maps to.

ProjectKey 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".

PullRequest Pulumi.GoogleNative.CloudBuild.V1.Inputs.PullRequestFilterResponse

Filter to match changes in pull requests.

Push Pulumi.GoogleNative.CloudBuild.V1.Inputs.PushFilterResponse

Filter to match changes in refs like branches, tags.

RepoSlug 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.

BitbucketServerConfig BitbucketServerConfigResponse

The BitbucketServerConfig specified in the bitbucket_server_config_resource field.

BitbucketServerConfigResource string

The Bitbucket server config resource that this trigger config maps to.

ProjectKey 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".

PullRequest PullRequestFilterResponse

Filter to match changes in pull requests.

Push PushFilterResponse

Filter to match changes in refs like branches, tags.

RepoSlug 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.

bitbucketServerConfig BitbucketServerConfigResponse

The BitbucketServerConfig specified in the bitbucket_server_config_resource field.

bitbucketServerConfigResource String

The Bitbucket server config resource that this trigger config maps to.

projectKey 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".

pullRequest PullRequestFilterResponse

Filter to match changes in pull requests.

push PushFilterResponse

Filter to match changes in refs like branches, tags.

repoSlug 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.

bitbucketServerConfig BitbucketServerConfigResponse

The BitbucketServerConfig specified in the bitbucket_server_config_resource field.

bitbucketServerConfigResource string

The Bitbucket server config resource that this trigger config maps to.

projectKey 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".

pullRequest PullRequestFilterResponse

Filter to match changes in pull requests.

push PushFilterResponse

Filter to match changes in refs like branches, tags.

repoSlug 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_config BitbucketServerConfigResponse

The BitbucketServerConfig specified in the bitbucket_server_config_resource field.

bitbucket_server_config_resource str

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_request PullRequestFilterResponse

Filter to match changes in pull requests.

push PushFilterResponse

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.

bitbucketServerConfig Property Map

The BitbucketServerConfig specified in the bitbucket_server_config_resource field.

bitbucketServerConfigResource String

The Bitbucket server config resource that this trigger config maps to.

projectKey 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".

pullRequest Property Map

Filter to match changes in pull requests.

push Property Map

Filter to match changes in refs like branches, tags.

repoSlug 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.

Build

Steps List<Pulumi.GoogleNative.CloudBuild.V1.Inputs.BuildStep>

The operations to be performed on the workspace.

Artifacts Pulumi.GoogleNative.CloudBuild.V1.Inputs.Artifacts

Artifacts produced by the build that should be uploaded upon successful completion of all build steps.

AvailableSecrets Pulumi.GoogleNative.CloudBuild.V1.Inputs.Secrets

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.

LogsBucket string

Google Cloud Storage bucket where logs should be written (see Bucket Name Requirements). Logs file names will be of the format ${logs_bucket}/log-${build_id}.txt.

Options Pulumi.GoogleNative.CloudBuild.V1.Inputs.BuildOptions

Special options for this build.

QueueTtl 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 create_time.

Secrets List<Pulumi.GoogleNative.CloudBuild.V1.Inputs.Secret>

Secrets to decrypt using Cloud Key Management Service. Note: Secret Manager is the recommended technique for managing sensitive data with Cloud Build. Use available_secrets to configure builds to access secrets from Secret Manager. For instructions, see: https://cloud.google.com/cloud-build/docs/securing-builds/use-secrets

ServiceAccount string

IAM service account whose credentials will be used at build runtime. Must be of the format projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT}. ACCOUNT can be email address or uniqueId of the service account.

Source Pulumi.GoogleNative.CloudBuild.V1.Inputs.Source

The location of the source files to build.

Substitutions Dictionary<string, string>

Substitutions data for Build resource.

Tags 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. timeout starts ticking from startTime. Default time is 60 minutes.

Steps []BuildStep

The operations to be performed on the workspace.

Artifacts Artifacts

Artifacts produced by the build that should be uploaded upon successful completion of all build steps.

AvailableSecrets Secrets

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.

LogsBucket string

Google Cloud Storage bucket where logs should be written (see Bucket Name Requirements). Logs file names will be of the format ${logs_bucket}/log-${build_id}.txt.

Options BuildOptions

Special options for this build.

QueueTtl 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 create_time.

Secrets []Secret

Secrets to decrypt using Cloud Key Management Service. Note: Secret Manager is the recommended technique for managing sensitive data with Cloud Build. Use available_secrets to configure builds to access secrets from Secret Manager. For instructions, see: https://cloud.google.com/cloud-build/docs/securing-builds/use-secrets

ServiceAccount string

IAM service account whose credentials will be used at build runtime. Must be of the format projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT}. ACCOUNT can be email address or uniqueId of the service account.

Source Source

The location of the source files to build.

Substitutions map[string]string

Substitutions data for Build resource.

Tags []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. timeout starts ticking from startTime. Default time is 60 minutes.

steps List<BuildStep>

The operations to be performed on the workspace.

artifacts Artifacts

Artifacts produced by the build that should be uploaded upon successful completion of all build steps.

availableSecrets Secrets

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.

logsBucket String

Google Cloud Storage bucket where logs should be written (see Bucket Name Requirements). Logs file names will be of the format ${logs_bucket}/log-${build_id}.txt.

options BuildOptions

Special options for this build.

queueTtl 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 create_time.

secrets List<Secret>

Secrets to decrypt using Cloud Key Management Service. Note: Secret Manager is the recommended technique for managing sensitive data with Cloud Build. Use available_secrets to configure builds to access secrets from Secret Manager. For instructions, see: https://cloud.google.com/cloud-build/docs/securing-builds/use-secrets

serviceAccount String

IAM service account whose credentials will be used at build runtime. Must be of the format projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT}. ACCOUNT can be email address or uniqueId of the service account.

source Source

The location of the source files to build.

substitutions Map<String,String>

Substitutions data for Build resource.

tags 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. timeout starts ticking from startTime. Default time is 60 minutes.

steps BuildStep[]

The operations to be performed on the workspace.

artifacts Artifacts

Artifacts produced by the build that should be uploaded upon successful completion of all build steps.

availableSecrets Secrets

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.

logsBucket string

Google Cloud Storage bucket where logs should be written (see Bucket Name Requirements). Logs file names will be of the format ${logs_bucket}/log-${build_id}.txt.

options BuildOptions

Special options for this build.

queueTtl 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 create_time.

secrets Secret[]

Secrets to decrypt using Cloud Key Management Service. Note: Secret Manager is the recommended technique for managing sensitive data with Cloud Build. Use available_secrets to configure builds to access secrets from Secret Manager. For instructions, see: https://cloud.google.com/cloud-build/docs/securing-builds/use-secrets

serviceAccount string

IAM service account whose credentials will be used at build runtime. Must be of the format projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT}. ACCOUNT can be email address or uniqueId of the service account.

source Source

The location of the source files to build.

substitutions {[key: string]: string}

Substitutions data for Build resource.

tags 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. timeout starts ticking from startTime. Default time is 60 minutes.

steps Sequence[BuildStep]

The operations to be performed on the workspace.

artifacts Artifacts

Artifacts produced by the build that should be uploaded upon successful completion of all build steps.

available_secrets Secrets

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 (see Bucket Name Requirements). Logs file names will be of the format ${logs_bucket}/log-${build_id}.txt.

options BuildOptions

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 create_time.

secrets Sequence[Secret]

Secrets to decrypt using Cloud Key Management Service. Note: Secret Manager is the recommended technique for managing sensitive data with Cloud Build. Use available_secrets to configure builds to access secrets from Secret Manager. For instructions, see: https://cloud.google.com/cloud-build/docs/securing-builds/use-secrets

service_account str

IAM service account whose credentials will be used at build runtime. Must be of the format projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT}. ACCOUNT can be email address or uniqueId of the service account.

source Source

The location of the source files to build.

substitutions Mapping[str, str]

Substitutions data for Build resource.

tags 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. timeout starts ticking from startTime. Default time is 60 minutes.

steps List<Property Map>

The operations to be performed on the workspace.

artifacts Property Map

Artifacts produced by the build that should be uploaded upon successful completion of all build steps.

availableSecrets 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.

logsBucket String

Google Cloud Storage bucket where logs should be written (see Bucket Name Requirements). Logs file names will be of the format ${logs_bucket}/log-${build_id}.txt.

options Property Map

Special options for this build.

queueTtl 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 create_time.

secrets List<Property Map>

Secrets to decrypt using Cloud Key Management Service. Note: Secret Manager is the recommended technique for managing sensitive data with Cloud Build. Use available_secrets to configure builds to access secrets from Secret Manager. For instructions, see: https://cloud.google.com/cloud-build/docs/securing-builds/use-secrets

serviceAccount String

IAM service account whose credentials will be used at build runtime. Must be of the format projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT}. ACCOUNT can be email address or uniqueId of the service account.

source Property Map

The location of the source files to build.

substitutions Map<String>

Substitutions data for Build resource.

tags 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. timeout starts ticking from startTime. Default time is 60 minutes.

BuildApprovalResponse

Config Pulumi.GoogleNative.CloudBuild.V1.Inputs.ApprovalConfigResponse

Configuration for manual approval of this build.

Result Pulumi.GoogleNative.CloudBuild.V1.Inputs.ApprovalResultResponse

Result of manual approval for this Build.

State string

The state of this build's approval.

Config ApprovalConfigResponse

Configuration for manual approval of this build.

Result ApprovalResultResponse

Result of manual approval for this Build.

State string

The state of this build's approval.

config ApprovalConfigResponse

Configuration for manual approval of this build.

result ApprovalResultResponse

Result of manual approval for this Build.

state String

The state of this build's approval.

config ApprovalConfigResponse

Configuration for manual approval of this build.

result ApprovalResultResponse

Result of manual approval for this Build.

state string

The state of this build's approval.

config ApprovalConfigResponse

Configuration for manual approval of this build.

result ApprovalResultResponse

Result of manual approval for this Build.

state str

The state of this build's approval.

config Property Map

Configuration for manual approval of this build.

result Property Map

Result of manual approval for this Build.

state String

The state of this build's approval.

BuildOptions

DefaultLogsBucketBehavior Pulumi.GoogleNative.CloudBuild.V1.BuildOptionsDefaultLogsBucketBehavior

Optional. Option to specify how default logs buckets are setup.

DiskSizeGb string

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 2000GB; builds that request more than the maximum are rejected with an error.

DynamicSubstitutions 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.

Env 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".

LogStreamingOption Pulumi.GoogleNative.CloudBuild.V1.BuildOptionsLogStreamingOption

Option to define build log streaming behavior to Google Cloud Storage.

Logging Pulumi.GoogleNative.CloudBuild.V1.BuildOptionsLogging

Option to specify the logging mode, which determines if and where build logs are stored.

MachineType Pulumi.GoogleNative.CloudBuild.V1.BuildOptionsMachineType

Compute Engine machine type on which to run the build.

Pool Pulumi.GoogleNative.CloudBuild.V1.Inputs.PoolOption

Optional. Specification for execution on a WorkerPool. See running builds in a private pool for more information.

RequestedVerifyOption Pulumi.GoogleNative.CloudBuild.V1.BuildOptionsRequestedVerifyOption

Requested verifiability options.

SecretEnv 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.

SourceProvenanceHash List<Pulumi.GoogleNative.CloudBuild.V1.BuildOptionsSourceProvenanceHashItem>

Requested hash for SourceProvenance.

SubstitutionOption Pulumi.GoogleNative.CloudBuild.V1.BuildOptionsSubstitutionOption

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.

Volumes List<Pulumi.GoogleNative.CloudBuild.V1.Inputs.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.

WorkerPool string

This field deprecated; please use pool.name instead.

DefaultLogsBucketBehavior BuildOptionsDefaultLogsBucketBehavior

Optional. Option to specify how default logs buckets are setup.

DiskSizeGb string

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 2000GB; builds that request more than the maximum are rejected with an error.

DynamicSubstitutions 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.

Env []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".

LogStreamingOption BuildOptionsLogStreamingOption

Option to define build log streaming behavior to Google Cloud Storage.

Logging BuildOptionsLogging

Option to specify the logging mode, which determines if and where build logs are stored.

MachineType BuildOptionsMachineType

Compute Engine machine type on which to run the build.

Pool PoolOption

Optional. Specification for execution on a WorkerPool. See running builds in a private pool for more information.

RequestedVerifyOption BuildOptionsRequestedVerifyOption

Requested verifiability options.

SecretEnv []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.

SourceProvenanceHash []BuildOptionsSourceProvenanceHashItem

Requested hash for SourceProvenance.

SubstitutionOption BuildOptionsSubstitutionOption

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.

Volumes []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.

WorkerPool string

This field deprecated; please use pool.name instead.

defaultLogsBucketBehavior BuildOptionsDefaultLogsBucketBehavior

Optional. Option to specify how default logs buckets are setup.

diskSizeGb String

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 2000GB; builds that request more than the maximum are rejected with an error.

dynamicSubstitutions 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.

env 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".

logStreamingOption BuildOptionsLogStreamingOption

Option to define build log streaming behavior to Google Cloud Storage.

logging BuildOptionsLogging

Option to specify the logging mode, which determines if and where build logs are stored.

machineType BuildOptionsMachineType

Compute Engine machine type on which to run the build.

pool PoolOption

Optional. Specification for execution on a WorkerPool. See running builds in a private pool for more information.

requestedVerifyOption BuildOptionsRequestedVerifyOption

Requested verifiability options.

secretEnv 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.

sourceProvenanceHash List<BuildOptionsSourceProvenanceHashItem>

Requested hash for SourceProvenance.

substitutionOption BuildOptionsSubstitutionOption

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.

volumes List<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.

workerPool String

This field deprecated; please use pool.name instead.

defaultLogsBucketBehavior BuildOptionsDefaultLogsBucketBehavior

Optional. Option to specify how default logs buckets are setup.

diskSizeGb string

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 2000GB; builds that request more than the maximum are rejected with an error.

dynamicSubstitutions 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.

env 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".

logStreamingOption BuildOptionsLogStreamingOption

Option to define build log streaming behavior to Google Cloud Storage.

logging BuildOptionsLogging

Option to specify the logging mode, which determines if and where build logs are stored.

machineType BuildOptionsMachineType

Compute Engine machine type on which to run the build.

pool PoolOption

Optional. Specification for execution on a WorkerPool. See running builds in a private pool for more information.

requestedVerifyOption BuildOptionsRequestedVerifyOption

Requested verifiability options.

secretEnv 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.

sourceProvenanceHash BuildOptionsSourceProvenanceHashItem[]

Requested hash for SourceProvenance.

substitutionOption BuildOptionsSubstitutionOption

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.

volumes 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.

workerPool string

This field deprecated; please use pool.name instead.

default_logs_bucket_behavior BuildOptionsDefaultLogsBucketBehavior

Optional. Option to specify how default logs buckets are setup.

disk_size_gb str

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 2000GB; 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.

env 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_option BuildOptionsLogStreamingOption

Option to define build log streaming behavior to Google Cloud Storage.

logging BuildOptionsLogging

Option to specify the logging mode, which determines if and where build logs are stored.

machine_type BuildOptionsMachineType

Compute Engine machine type on which to run the build.

pool PoolOption

Optional. Specification for execution on a WorkerPool. See running builds in a private pool for more information.

requested_verify_option BuildOptionsRequestedVerifyOption

Requested verifiability options.

secret_env 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_hash Sequence[BuildOptionsSourceProvenanceHashItem]

Requested hash for SourceProvenance.

substitution_option BuildOptionsSubstitutionOption

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.

volumes Sequence[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

This field deprecated; please use pool.name instead.

defaultLogsBucketBehavior "DEFAULT_LOGS_BUCKET_BEHAVIOR_UNSPECIFIED" | "REGIONAL_USER_OWNED_BUCKET"

Optional. Option to specify how default logs buckets are setup.

diskSizeGb String

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 2000GB; builds that request more than the maximum are rejected with an error.

dynamicSubstitutions 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.

env 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".

logStreamingOption "STREAM_DEFAULT" | "STREAM_ON" | "STREAM_OFF"

Option to define build log streaming behavior to Google Cloud Storage.

logging "LOGGING_UNSPECIFIED" | "LEGACY" | "GCS_ONLY" | "STACKDRIVER_ONLY" | "CLOUD_LOGGING_ONLY" | "NONE"

Option to specify the logging mode, which determines if and where build logs are stored.

machineType "UNSPECIFIED" | "N1_HIGHCPU_8" | "N1_HIGHCPU_32" | "E2_HIGHCPU_8" | "E2_HIGHCPU_32"

Compute Engine machine type on which to run the build.

pool Property Map

Optional. Specification for execution on a WorkerPool. See running builds in a private pool for more information.

requestedVerifyOption "NOT_VERIFIED" | "VERIFIED"

Requested verifiability options.

secretEnv 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.

sourceProvenanceHash List<"NONE" | "SHA256" | "MD5">

Requested hash for SourceProvenance.

substitutionOption "MUST_MATCH" | "ALLOW_LOOSE"

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.

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.

workerPool String

This field deprecated; please use pool.name instead.

BuildOptionsDefaultLogsBucketBehavior

DefaultLogsBucketBehaviorUnspecified
DEFAULT_LOGS_BUCKET_BEHAVIOR_UNSPECIFIED

Unspecified.

RegionalUserOwnedBucket
REGIONAL_USER_OWNED_BUCKET

Bucket is located in user-owned project in the same region as the build. The builder service account must have access to create and write to GCS buckets in the build project.

BuildOptionsDefaultLogsBucketBehaviorDefaultLogsBucketBehaviorUnspecified
DEFAULT_LOGS_BUCKET_BEHAVIOR_UNSPECIFIED

Unspecified.

BuildOptionsDefaultLogsBucketBehaviorRegionalUserOwnedBucket
REGIONAL_USER_OWNED_BUCKET

Bucket is located in user-owned project in the same region as the build. The builder service account must have access to create and write to GCS buckets in the build project.

DefaultLogsBucketBehaviorUnspecified
DEFAULT_LOGS_BUCKET_BEHAVIOR_UNSPECIFIED

Unspecified.

RegionalUserOwnedBucket
REGIONAL_USER_OWNED_BUCKET

Bucket is located in user-owned project in the same region as the build. The builder service account must have access to create and write to GCS buckets in the build project.

DefaultLogsBucketBehaviorUnspecified
DEFAULT_LOGS_BUCKET_BEHAVIOR_UNSPECIFIED

Unspecified.

RegionalUserOwnedBucket
REGIONAL_USER_OWNED_BUCKET

Bucket is located in user-owned project in the same region as the build. The builder service account must have access to create and write to GCS buckets in the build project.

DEFAULT_LOGS_BUCKET_BEHAVIOR_UNSPECIFIED
DEFAULT_LOGS_BUCKET_BEHAVIOR_UNSPECIFIED

Unspecified.

REGIONAL_USER_OWNED_BUCKET
REGIONAL_USER_OWNED_BUCKET

Bucket is located in user-owned project in the same region as the build. The builder service account must have access to create and write to GCS buckets in the build project.

"DEFAULT_LOGS_BUCKET_BEHAVIOR_UNSPECIFIED"
DEFAULT_LOGS_BUCKET_BEHAVIOR_UNSPECIFIED

Unspecified.

"REGIONAL_USER_OWNED_BUCKET"
REGIONAL_USER_OWNED_BUCKET

Bucket is located in user-owned project in the same region as the build. The builder service account must have access to create and write to GCS buckets in the build project.

BuildOptionsLogStreamingOption

StreamDefault
STREAM_DEFAULT

Service may automatically determine build log streaming behavior.

StreamOn
STREAM_ON

Build logs should be streamed to Google Cloud Storage.

StreamOff
STREAM_OFF

Build logs should not be streamed to Google Cloud Storage; they will be written when the build is completed.

BuildOptionsLogStreamingOptionStreamDefault
STREAM_DEFAULT

Service may automatically determine build log streaming behavior.

BuildOptionsLogStreamingOptionStreamOn
STREAM_ON

Build logs should be streamed to Google Cloud Storage.

BuildOptionsLogStreamingOptionStreamOff
STREAM_OFF

Build logs should not be streamed to Google Cloud Storage; they will be written when the build is completed.

StreamDefault
STREAM_DEFAULT

Service may automatically determine build log streaming behavior.

StreamOn
STREAM_ON

Build logs should be streamed to Google Cloud Storage.

StreamOff
STREAM_OFF

Build logs should not be streamed to Google Cloud Storage; they will be written when the build is completed.

StreamDefault
STREAM_DEFAULT

Service may automatically determine build log streaming behavior.

StreamOn
STREAM_ON

Build logs should be streamed to Google Cloud Storage.

StreamOff
STREAM_OFF

Build logs should not be streamed to Google Cloud Storage; they will be written when the build is completed.

STREAM_DEFAULT
STREAM_DEFAULT

Service may automatically determine build log streaming behavior.

STREAM_ON
STREAM_ON

Build logs should be streamed to Google Cloud Storage.

STREAM_OFF
STREAM_OFF

Build logs should not be streamed to Google Cloud Storage; they will be written when the build is completed.

"STREAM_DEFAULT"
STREAM_DEFAULT

Service may automatically determine build log streaming behavior.

"STREAM_ON"
STREAM_ON

Build logs should be streamed to Google Cloud Storage.

"STREAM_OFF"
STREAM_OFF

Build logs should not be streamed to Google Cloud Storage; they will be written when the build is completed.

BuildOptionsLogging

LoggingUnspecified
LOGGING_UNSPECIFIED

The service determines the logging mode. The default is LEGACY. Do not rely on the default logging behavior as it may change in the future.

Legacy
LEGACY

Build logs are stored in Cloud Logging and Cloud Storage.

GcsOnly
GCS_ONLY

Build logs are stored in Cloud Storage.

StackdriverOnly
STACKDRIVER_ONLY

This option is the same as CLOUD_LOGGING_ONLY.

CloudLoggingOnly
CLOUD_LOGGING_ONLY

Build logs are stored in Cloud Logging. Selecting this option will not allow logs streaming.

None
NONE

Turn off all logging. No build logs will be captured.

BuildOptionsLoggingLoggingUnspecified
LOGGING_UNSPECIFIED

The service determines the logging mode. The default is LEGACY. Do not rely on the default logging behavior as it may change in the future.

BuildOptionsLoggingLegacy
LEGACY

Build logs are stored in Cloud Logging and Cloud Storage.

BuildOptionsLoggingGcsOnly
GCS_ONLY

Build logs are stored in Cloud Storage.

BuildOptionsLoggingStackdriverOnly
STACKDRIVER_ONLY

This option is the same as CLOUD_LOGGING_ONLY.

BuildOptionsLoggingCloudLoggingOnly
CLOUD_LOGGING_ONLY

Build logs are stored in Cloud Logging. Selecting this option will not allow logs streaming.

BuildOptionsLoggingNone
NONE

Turn off all logging. No build logs will be captured.

LoggingUnspecified
LOGGING_UNSPECIFIED

The service determines the logging mode. The default is LEGACY. Do not rely on the default logging behavior as it may change in the future.

Legacy
LEGACY

Build logs are stored in Cloud Logging and Cloud Storage.

GcsOnly
GCS_ONLY

Build logs are stored in Cloud Storage.

StackdriverOnly
STACKDRIVER_ONLY

This option is the same as CLOUD_LOGGING_ONLY.

CloudLoggingOnly
CLOUD_LOGGING_ONLY

Build logs are stored in Cloud Logging. Selecting this option will not allow logs streaming.

None
NONE

Turn off all logging. No build logs will be captured.

LoggingUnspecified
LOGGING_UNSPECIFIED

The service determines the logging mode. The default is LEGACY. Do not rely on the default logging behavior as it may change in the future.

Legacy
LEGACY

Build logs are stored in Cloud Logging and Cloud Storage.

GcsOnly
GCS_ONLY

Build logs are stored in Cloud Storage.

StackdriverOnly
STACKDRIVER_ONLY

This option is the same as CLOUD_LOGGING_ONLY.

CloudLoggingOnly
CLOUD_LOGGING_ONLY

Build logs are stored in Cloud Logging. Selecting this option will not allow logs streaming.

None
NONE

Turn off all logging. No build logs will be captured.

LOGGING_UNSPECIFIED
LOGGING_UNSPECIFIED

The service determines the logging mode. The default is LEGACY. Do not rely on the default logging behavior as it may change in the future.

LEGACY
LEGACY

Build logs are stored in Cloud Logging and Cloud Storage.

GCS_ONLY
GCS_ONLY

Build logs are stored in Cloud Storage.

STACKDRIVER_ONLY
STACKDRIVER_ONLY

This option is the same as CLOUD_LOGGING_ONLY.

CLOUD_LOGGING_ONLY
CLOUD_LOGGING_ONLY

Build logs are stored in Cloud Logging. Selecting this option will not allow logs streaming.

NONE
NONE

Turn off all logging. No build logs will be captured.

"LOGGING_UNSPECIFIED"
LOGGING_UNSPECIFIED

The service determines the logging mode. The default is LEGACY. Do not rely on the default logging behavior as it may change in the future.

"LEGACY"
LEGACY

Build logs are stored in Cloud Logging and Cloud Storage.

"GCS_ONLY"
GCS_ONLY

Build logs are stored in Cloud Storage.

"STACKDRIVER_ONLY"
STACKDRIVER_ONLY

This option is the same as CLOUD_LOGGING_ONLY.

"CLOUD_LOGGING_ONLY"
CLOUD_LOGGING_ONLY

Build logs are stored in Cloud Logging. Selecting this option will not allow logs streaming.

"NONE"
NONE

Turn off all logging. No build logs will be captured.

BuildOptionsMachineType

Unspecified
UNSPECIFIED

Standard machine type.

N1Highcpu8
N1_HIGHCPU_8

Highcpu machine with 8 CPUs.

N1Highcpu32
N1_HIGHCPU_32

Highcpu machine with 32 CPUs.

E2Highcpu8
E2_HIGHCPU_8

Highcpu e2 machine with 8 CPUs.

E2Highcpu32
E2_HIGHCPU_32

Highcpu e2 machine with 32 CPUs.

BuildOptionsMachineTypeUnspecified
UNSPECIFIED

Standard machine type.

BuildOptionsMachineTypeN1Highcpu8
N1_HIGHCPU_8

Highcpu machine with 8 CPUs.

BuildOptionsMachineTypeN1Highcpu32
N1_HIGHCPU_32

Highcpu machine with 32 CPUs.

BuildOptionsMachineTypeE2Highcpu8
E2_HIGHCPU_8

Highcpu e2 machine with 8 CPUs.

BuildOptionsMachineTypeE2Highcpu32
E2_HIGHCPU_32

Highcpu e2 machine with 32 CPUs.

Unspecified
UNSPECIFIED

Standard machine type.

N1Highcpu8
N1_HIGHCPU_8

Highcpu machine with 8 CPUs.

N1Highcpu32
N1_HIGHCPU_32

Highcpu machine with 32 CPUs.

E2Highcpu8
E2_HIGHCPU_8

Highcpu e2 machine with 8 CPUs.

E2Highcpu32
E2_HIGHCPU_32

Highcpu e2 machine with 32 CPUs.

Unspecified
UNSPECIFIED

Standard machine type.

N1Highcpu8
N1_HIGHCPU_8

Highcpu machine with 8 CPUs.

N1Highcpu32
N1_HIGHCPU_32

Highcpu machine with 32 CPUs.

E2Highcpu8
E2_HIGHCPU_8

Highcpu e2 machine with 8 CPUs.

E2Highcpu32
E2_HIGHCPU_32

Highcpu e2 machine with 32 CPUs.

UNSPECIFIED
UNSPECIFIED

Standard machine type.

N1_HIGHCPU8
N1_HIGHCPU_8

Highcpu machine with 8 CPUs.

N1_HIGHCPU32
N1_HIGHCPU_32

Highcpu machine with 32 CPUs.

E2_HIGHCPU8
E2_HIGHCPU_8

Highcpu e2 machine with 8 CPUs.

E2_HIGHCPU32
E2_HIGHCPU_32

Highcpu e2 machine with 32 CPUs.

"UNSPECIFIED"
UNSPECIFIED

Standard machine type.

"N1_HIGHCPU_8"
N1_HIGHCPU_8

Highcpu machine with 8 CPUs.

"N1_HIGHCPU_32"
N1_HIGHCPU_32

Highcpu machine with 32 CPUs.

"E2_HIGHCPU_8"
E2_HIGHCPU_8

Highcpu e2 machine with 8 CPUs.

"E2_HIGHCPU_32"
E2_HIGHCPU_32

Highcpu e2 machine with 32 CPUs.

BuildOptionsRequestedVerifyOption

NotVerified
NOT_VERIFIED

Not a verifiable build (the default).

Verified
VERIFIED

Build must be verified.

BuildOptionsRequestedVerifyOptionNotVerified
NOT_VERIFIED

Not a verifiable build (the default).

BuildOptionsRequestedVerifyOptionVerified
VERIFIED

Build must be verified.

NotVerified
NOT_VERIFIED

Not a verifiable build (the default).

Verified
VERIFIED

Build must be verified.

NotVerified
NOT_VERIFIED

Not a verifiable build (the default).

Verified
VERIFIED

Build must be verified.

NOT_VERIFIED
NOT_VERIFIED

Not a verifiable build (the default).

VERIFIED
VERIFIED

Build must be verified.

"NOT_VERIFIED"
NOT_VERIFIED

Not a verifiable build (the default).

"VERIFIED"
VERIFIED

Build must be verified.

BuildOptionsResponse

DefaultLogsBucketBehavior string

Optional. Option to specify how default logs buckets are setup.

DiskSizeGb string

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 2000GB; builds that request more than the maximum are rejected with an error.

DynamicSubstitutions 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.

Env 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".

LogStreamingOption string

Option to define build log streaming behavior to Google Cloud Storage.

Logging string

Option to specify the logging mode, which determines if and where build logs are stored.

MachineType string

Compute Engine machine type on which to run the build.

Pool Pulumi.GoogleNative.CloudBuild.V1.Inputs.PoolOptionResponse

Optional. Specification for execution on a WorkerPool. See running builds in a private pool for more information.

RequestedVerifyOption string

Requested verifiability options.

SecretEnv 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.

SourceProvenanceHash List<string>

Requested hash for SourceProvenance.

SubstitutionOption 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.

Volumes List<Pulumi.GoogleNative.CloudBuild.V1.Inputs.VolumeResponse>

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.

WorkerPool string

This field deprecated; please use pool.name instead.

DefaultLogsBucketBehavior string

Optional. Option to specify how default logs buckets are setup.

DiskSizeGb string

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 2000GB; builds that request more than the maximum are rejected with an error.

DynamicSubstitutions 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.

Env []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".

LogStreamingOption string

Option to define build log streaming behavior to Google Cloud Storage.

Logging string

Option to specify the logging mode, which determines if and where build logs are stored.

MachineType string

Compute Engine machine type on which to run the build.

Pool PoolOptionResponse

Optional. Specification for execution on a WorkerPool. See running builds in a private pool for more information.

RequestedVerifyOption string

Requested verifiability options.

SecretEnv []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.

SourceProvenanceHash []string

Requested hash for SourceProvenance.

SubstitutionOption 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.

Volumes []VolumeResponse

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.

WorkerPool string

This field deprecated; please use pool.name instead.

defaultLogsBucketBehavior String

Optional. Option to specify how default logs buckets are setup.

diskSizeGb String

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 2000GB; builds that request more than the maximum are rejected with an error.

dynamicSubstitutions 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.

env 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".

logStreamingOption String

Option to define build log streaming behavior to Google Cloud Storage.

logging String

Option to specify the logging mode, which determines if and where build logs are stored.

machineType String

Compute Engine machine type on which to run the build.

pool PoolOptionResponse

Optional. Specification for execution on a WorkerPool. See running builds in a private pool for more information.

requestedVerifyOption String

Requested verifiability options.

secretEnv 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.

sourceProvenanceHash List<String>

Requested hash for SourceProvenance.

substitutionOption 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.

volumes List<VolumeResponse>

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.

workerPool String

This field deprecated; please use pool.name instead.

defaultLogsBucketBehavior string

Optional. Option to specify how default logs buckets are setup.

diskSizeGb string

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 2000GB; builds that request more than the maximum are rejected with an error.

dynamicSubstitutions 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.

env 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".

logStreamingOption string

Option to define build log streaming behavior to Google Cloud Storage.

logging string

Option to specify the logging mode, which determines if and where build logs are stored.

machineType string

Compute Engine machine type on which to run the build.

pool PoolOptionResponse

Optional. Specification for execution on a WorkerPool. See running builds in a private pool for more information.

requestedVerifyOption string

Requested verifiability options.

secretEnv 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.

sourceProvenanceHash string[]

Requested hash for SourceProvenance.

substitutionOption 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.

volumes VolumeResponse[]

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.

workerPool string

This field deprecated; please use pool.name instead.

default_logs_bucket_behavior str

Optional. Option to specify how default logs buckets are setup.

disk_size_gb str

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 2000GB; 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.

env 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_option str

Option to define build log streaming behavior to Google Cloud Storage.

logging str

Option to specify the logging mode, which determines if and where build logs are stored.

machine_type str

Compute Engine machine type on which to run the build.

pool PoolOptionResponse

Optional. Specification for execution on a WorkerPool. See running builds in a private pool for more information.

requested_verify_option str

Requested verifiability options.

secret_env 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_hash Sequence[str]

Requested hash for SourceProvenance.

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.

volumes Sequence[VolumeResponse]

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

This field deprecated; please use pool.name instead.

defaultLogsBucketBehavior String

Optional. Option to specify how default logs buckets are setup.

diskSizeGb String

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 2000GB; builds that request more than the maximum are rejected with an error.

dynamicSubstitutions 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.

env 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".

logStreamingOption String

Option to define build log streaming behavior to Google Cloud Storage.

logging String

Option to specify the logging mode, which determines if and where build logs are stored.

machineType String

Compute Engine machine type on which to run the build.

pool Property Map

Optional. Specification for execution on a WorkerPool. See running builds in a private pool for more information.

requestedVerifyOption String

Requested verifiability options.

secretEnv 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.

sourceProvenanceHash List<String>

Requested hash for SourceProvenance.

substitutionOption 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.

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.

workerPool String

This field deprecated; please use pool.name instead.

BuildOptionsSourceProvenanceHashItem

None
NONE

No hash requested.

Sha256
SHA256

Use a sha256 hash.

Md5
MD5

Use a md5 hash.

BuildOptionsSourceProvenanceHashItemNone
NONE

No hash requested.

BuildOptionsSourceProvenanceHashItemSha256
SHA256

Use a sha256 hash.

BuildOptionsSourceProvenanceHashItemMd5
MD5

Use a md5 hash.

None
NONE

No hash requested.

Sha256
SHA256

Use a sha256 hash.

Md5
MD5

Use a md5 hash.

None
NONE

No hash requested.

Sha256
SHA256

Use a sha256 hash.

Md5
MD5

Use a md5 hash.

NONE
NONE

No hash requested.

SHA256
SHA256

Use a sha256 hash.

MD5
MD5

Use a md5 hash.

"NONE"
NONE

No hash requested.

"SHA256"
SHA256

Use a sha256 hash.

"MD5"
MD5

Use a md5 hash.

BuildOptionsSubstitutionOption

MustMatch
MUST_MATCH

Fails the build if error in substitutions checks, like missing a substitution in the template or in the map.

AllowLoose
ALLOW_LOOSE

Do not fail the build if error in substitutions checks.

BuildOptionsSubstitutionOptionMustMatch
MUST_MATCH

Fails the build if error in substitutions checks, like missing a substitution in the template or in the map.

BuildOptionsSubstitutionOptionAllowLoose
ALLOW_LOOSE

Do not fail the build if error in substitutions checks.

MustMatch
MUST_MATCH

Fails the build if error in substitutions checks, like missing a substitution in the template or in the map.

AllowLoose
ALLOW_LOOSE

Do not fail the build if error in substitutions checks.

MustMatch
MUST_MATCH

Fails the build if error in substitutions checks, like missing a substitution in the template or in the map.

AllowLoose
ALLOW_LOOSE

Do not fail the build if error in substitutions checks.

MUST_MATCH
MUST_MATCH

Fails the build if error in substitutions checks, like missing a substitution in the template or in the map.

ALLOW_LOOSE
ALLOW_LOOSE

Do not fail the build if error in substitutions checks.

"MUST_MATCH"
MUST_MATCH

Fails the build if error in substitutions checks, like missing a substitution in the template or in the map.

"ALLOW_LOOSE"
ALLOW_LOOSE

Do not fail the build if error in substitutions checks.

BuildResponse

Approval Pulumi.GoogleNative.CloudBuild.V1.Inputs.BuildApprovalResponse

Describes this build's approval configuration, status, and result.

Artifacts Pulumi.GoogleNative.CloudBuild.V1.Inputs.ArtifactsResponse

Artifacts produced by the build that should be uploaded upon successful completion of all build steps.

AvailableSecrets Pulumi.GoogleNative.CloudBuild.V1.Inputs.SecretsResponse

Secrets and secret environment variables.

BuildTriggerId string

The ID of the BuildTrigger that triggered this build, if it was triggered automatically.

CreateTime string

Time at which the request to create the build was received.

FailureInfo Pulumi.GoogleNative.CloudBuild.V1.Inputs.FailureInfoResponse

Contains information about the build when status=FAILURE.

FinishTime string

Time at which execution of the build was finished. The difference between finish_time and start_time is the duration of the build's execution.

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.

LogUrl string

URL to logs for this build in Google Cloud Console.

LogsBucket string

Google Cloud Storage bucket where logs should be written (see Bucket Name Requirements). Logs file names will be of the format ${logs_bucket}/log-${build_id}.txt.

Name string

The 'Build' name with format: projects/{project}/locations/{location}/builds/{build}, where {build} is a unique identifier generated by the service.

Options Pulumi.GoogleNative.CloudBuild.V1.Inputs.BuildOptionsResponse

Special options for this build.

Project string

ID of the project.

QueueTtl 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 create_time.

Results Pulumi.GoogleNative.CloudBuild.V1.Inputs.ResultsResponse

Results of the build.

Secrets List<Pulumi.GoogleNative.CloudBuild.V1.Inputs.SecretResponse>

Secrets to decrypt using Cloud Key Management Service. Note: Secret Manager is the recommended technique for managing sensitive data with Cloud Build. Use available_secrets to configure builds to access secrets from Secret Manager. For instructions, see: https://cloud.google.com/cloud-build/docs/securing-builds/use-secrets

ServiceAccount string

IAM service account whose credentials will be used at build runtime. Must be of the format projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT}. ACCOUNT can be email address or uniqueId of the service account.

Source Pulumi.GoogleNative.CloudBuild.V1.Inputs.SourceResponse

The location of the source files to build.

SourceProvenance Pulumi.GoogleNative.CloudBuild.V1.Inputs.SourceProvenanceResponse

A permanent fixed identifier for source.

StartTime string

Time at which execution of the build was started.

Status string

Status of the build.

StatusDetail string

Customer-readable message about the current status.

Steps List<Pulumi.GoogleNative.CloudBuild.V1.Inputs.BuildStepResponse>

The operations to be performed on the workspace.

Substitutions Dictionary<string, string>

Substitutions data for Build resource.

Tags 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. timeout starts ticking from startTime. Default time is 60 minutes.

Timing Dictionary<string, string>

Stores timing information for phases of the build. Valid keys are: * BUILD: time to execute all build steps. * PUSH: time to push all artifacts including docker images and non docker artifacts. * FETCHSOURCE: time to fetch source. * SETUPBUILD: time to set up build. If the build does not specify source or images, these keys will not be included.

Warnings List<Pulumi.GoogleNative.CloudBuild.V1.Inputs.WarningResponse>

Non-fatal problems encountered during the execution of the build.

Approval BuildApprovalResponse

Describes this build's approval configuration, status, and result.

Artifacts ArtifactsResponse

Artifacts produced by the build that should be uploaded upon successful completion of all build steps.

AvailableSecrets SecretsResponse

Secrets and secret environment variables.

BuildTriggerId string

The ID of the BuildTrigger that triggered this build, if it was triggered automatically.

CreateTime string

Time at which the request to create the build was received.

FailureInfo FailureInfoResponse

Contains information about the build when status=FAILURE.

FinishTime string

Time at which execution of the build was finished. The difference between finish_time and start_time is the duration of the build's execution.

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.

LogUrl string

URL to logs for this build in Google Cloud Console.

LogsBucket string

Google Cloud Storage bucket where logs should be written (see Bucket Name Requirements). Logs file names will be of the format ${logs_bucket}/log-${build_id}.txt.

Name string

The 'Build' name with format: projects/{project}/locations/{location}/builds/{build}, where {build} is a unique identifier generated by the service.

Options BuildOptionsResponse

Special options for this build.

Project string

ID of the project.

QueueTtl 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 create_time.

Results ResultsResponse

Results of the build.

Secrets []SecretResponse

Secrets to decrypt using Cloud Key Management Service. Note: Secret Manager is the recommended technique for managing sensitive data with Cloud Build. Use available_secrets to configure builds to access secrets from Secret Manager. For instructions, see: https://cloud.google.com/cloud-build/docs/securing-builds/use-secrets

ServiceAccount string

IAM service account whose credentials will be used at build runtime. Must be of the format projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT}. ACCOUNT can be email address or uniqueId of the service account.

Source SourceResponse

The location of the source files to build.

SourceProvenance SourceProvenanceResponse

A permanent fixed identifier for source.

StartTime string

Time at which execution of the build was started.

Status string

Status of the build.

StatusDetail string

Customer-readable message about the current status.

Steps []BuildStepResponse

The operations to be performed on the workspace.

Substitutions map[string]string

Substitutions data for Build resource.

Tags []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. timeout starts ticking from startTime. Default time is 60 minutes.

Timing map[string]string

Stores timing information for phases of the build. Valid keys are: * BUILD: time to execute all build steps. * PUSH: time to push all artifacts including docker images and non docker artifacts. * FETCHSOURCE: time to fetch source. * SETUPBUILD: time to set up build. If the build does not specify source or images, these keys will not be included.

Warnings []WarningResponse

Non-fatal problems encountered during the execution of the build.

approval BuildApprovalResponse

Describes this build's approval configuration, status, and result.

artifacts ArtifactsResponse

Artifacts produced by the build that should be uploaded upon successful completion of all build steps.

availableSecrets SecretsResponse

Secrets and secret environment variables.

buildTriggerId String

The ID of the BuildTrigger that triggered this build, if it was triggered automatically.

createTime String

Time at which the request to create the build was received.

failureInfo FailureInfoResponse

Contains information about the build when status=FAILURE.

finishTime String

Time at which execution of the build was finished. The difference between finish_time and start_time is the duration of the build's execution.

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.

logUrl String

URL to logs for this build in Google Cloud Console.

logsBucket String

Google Cloud Storage bucket where logs should be written (see Bucket Name Requirements). Logs file names will be of the format ${logs_bucket}/log-${build_id}.txt.

name String

The 'Build' name with format: projects/{project}/locations/{location}/builds/{build}, where {build} is a unique identifier generated by the service.

options BuildOptionsResponse

Special options for this build.

project String

ID of the project.

queueTtl 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 create_time.

results ResultsResponse

Results of the build.

secrets List<SecretResponse>

Secrets to decrypt using Cloud Key Management Service. Note: Secret Manager is the recommended technique for managing sensitive data with Cloud Build. Use available_secrets to configure builds to access secrets from Secret Manager. For instructions, see: https://cloud.google.com/cloud-build/docs/securing-builds/use-secrets

serviceAccount String

IAM service account whose credentials will be used at build runtime. Must be of the format projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT}. ACCOUNT can be email address or uniqueId of the service account.

source SourceResponse

The location of the source files to build.

sourceProvenance SourceProvenanceResponse

A permanent fixed identifier for source.

startTime String

Time at which execution of the build was started.

status String

Status of the build.

statusDetail String

Customer-readable message about the current status.

steps List<BuildStepResponse>

The operations to be performed on the workspace.

substitutions Map<String,String>

Substitutions data for Build resource.

tags 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. timeout starts ticking from startTime. Default time is 60 minutes.

timing Map<String,String>

Stores timing information for phases of the build. Valid keys are: * BUILD: time to execute all build steps. * PUSH: time to push all artifacts including docker images and non docker artifacts. * FETCHSOURCE: time to fetch source. * SETUPBUILD: time to set up build. If the build does not specify source or images, these keys will not be included.

warnings List<WarningResponse>

Non-fatal problems encountered during the execution of the build.

approval BuildApprovalResponse

Describes this build's approval configuration, status, and result.

artifacts ArtifactsResponse

Artifacts produced by the build that should be uploaded upon successful completion of all build steps.

availableSecrets SecretsResponse

Secrets and secret environment variables.

buildTriggerId string

The ID of the BuildTrigger that triggered this build, if it was triggered automatically.

createTime string

Time at which the request to create the build was received.

failureInfo FailureInfoResponse

Contains information about the build when status=FAILURE.

finishTime string

Time at which execution of the build was finished. The difference between finish_time and start_time is the duration of the build's execution.

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.

logUrl string

URL to logs for this build in Google Cloud Console.

logsBucket string

Google Cloud Storage bucket where logs should be written (see Bucket Name Requirements). Logs file names will be of the format ${logs_bucket}/log-${build_id}.txt.

name string

The 'Build' name with format: projects/{project}/locations/{location}/builds/{build}, where {build} is a unique identifier generated by the service.

options BuildOptionsResponse

Special options for this build.

project string

ID of the project.

queueTtl 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 create_time.

results ResultsResponse

Results of the build.

secrets SecretResponse[]

Secrets to decrypt using Cloud Key Management Service. Note: Secret Manager is the recommended technique for managing sensitive data with Cloud Build. Use available_secrets to configure builds to access secrets from Secret Manager. For instructions, see: https://cloud.google.com/cloud-build/docs/securing-builds/use-secrets

serviceAccount string

IAM service account whose credentials will be used at build runtime. Must be of the format projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT}. ACCOUNT can be email address or uniqueId of the service account.

source SourceResponse

The location of the source files to build.

sourceProvenance SourceProvenanceResponse

A permanent fixed identifier for source.

startTime string

Time at which execution of the build was started.

status string

Status of the build.

statusDetail string

Customer-readable message about the current status.

steps BuildStepResponse[]

The operations to be performed on the workspace.

substitutions {[key: string]: string}

Substitutions data for Build resource.

tags 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. timeout starts ticking from startTime. Default time is 60 minutes.

timing {[key: string]: string}

Stores timing information for phases of the build. Valid keys are: * BUILD: time to execute all build steps. * PUSH: time to push all artifacts including docker images and non docker artifacts. * FETCHSOURCE: time to fetch source. * SETUPBUILD: time to set up build. If the build does not specify source or images, these keys will not be included.

warnings WarningResponse[]

Non-fatal problems encountered during the execution of the build.

approval BuildApprovalResponse

Describes this build's approval configuration, status, and result.

artifacts ArtifactsResponse

Artifacts produced by the build that should be uploaded upon successful completion of all build steps.

available_secrets SecretsResponse

Secrets and secret environment variables.

build_trigger_id str

The ID of the BuildTrigger that triggered this build, if it was triggered automatically.

create_time str

Time at which the request to create the build was received.

failure_info FailureInfoResponse

Contains information about the build when status=FAILURE.

finish_time str

Time at which execution of the build was finished. The difference between finish_time and start_time is the duration of the build's execution.

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.

log_url str

URL to logs for this build in Google Cloud Console.

logs_bucket str

Google Cloud Storage bucket where logs should be written (see Bucket Name Requirements). Logs file names will be of the format ${logs_bucket}/log-${build_id}.txt.

name str

The 'Build' name with format: projects/{project}/locations/{location}/builds/{build}, where {build} is a unique identifier generated by the service.

options BuildOptionsResponse

Special options for this build.

project str

ID of the project.

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 create_time.

results ResultsResponse

Results of the build.

secrets Sequence[SecretResponse]

Secrets to decrypt using Cloud Key Management Service. Note: Secret Manager is the recommended technique for managing sensitive data with Cloud Build. Use available_secrets to configure builds to access secrets from Secret Manager. For instructions, see: https://cloud.google.com/cloud-build/docs/securing-builds/use-secrets

service_account str

IAM service account whose credentials will be used at build runtime. Must be of the format projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT}. ACCOUNT can be email address or uniqueId of the service account.

source SourceResponse

The location of the source files to build.

source_provenance SourceProvenanceResponse

A permanent fixed identifier for source.

start_time str

Time at which execution of the build was started.

status str

Status of the build.

status_detail str

Customer-readable message about the current status.

steps Sequence[BuildStepResponse]

The operations to be performed on the workspace.

substitutions Mapping[str, str]

Substitutions data for Build resource.

tags 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. timeout starts ticking from startTime. Default time is 60 minutes.

timing Mapping[str, str]

Stores timing information for phases of the build. Valid keys are: * BUILD: time to execute all build steps. * PUSH: time to push all artifacts including docker images and non docker artifacts. * FETCHSOURCE: time to fetch source. * SETUPBUILD: time to set up build. If the build does not specify source or images, these keys will not be included.

warnings Sequence[WarningResponse]

Non-fatal problems encountered during the execution of the build.

approval Property Map

Describes this build's approval configuration, status, and result.

artifacts Property Map

Artifacts produced by the build that should be uploaded upon successful completion of all build steps.

availableSecrets Property Map

Secrets and secret environment variables.

buildTriggerId String

The ID of the BuildTrigger that triggered this build, if it was triggered automatically.

createTime String

Time at which the request to create the build was received.

failureInfo Property Map

Contains information about the build when status=FAILURE.

finishTime String

Time at which execution of the build was finished. The difference between finish_time and start_time is the duration of the build's execution.

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.

logUrl String

URL to logs for this build in Google Cloud Console.

logsBucket String

Google Cloud Storage bucket where logs should be written (see Bucket Name Requirements). Logs file names will be of the format ${logs_bucket}/log-${build_id}.txt.

name String

The 'Build' name with format: projects/{project}/locations/{location}/builds/{build}, where {build} is a unique identifier generated by the service.

options Property Map

Special options for this build.

project String

ID of the project.

queueTtl 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 create_time.

results Property Map

Results of the build.

secrets List<Property Map>

Secrets to decrypt using Cloud Key Management Service. Note: Secret Manager is the recommended technique for managing sensitive data with Cloud Build. Use available_secrets to configure builds to access secrets from Secret Manager. For instructions, see: https://cloud.google.com/cloud-build/docs/securing-builds/use-secrets

serviceAccount String

IAM service account whose credentials will be used at build runtime. Must be of the format projects/{PROJECT_ID}/serviceAccounts/{ACCOUNT}. ACCOUNT can be email address or uniqueId of the service account.

source Property Map

The location of the source files to build.

sourceProvenance Property Map

A permanent fixed identifier for source.

startTime String

Time at which execution of the build was started.

status String

Status of the build.

statusDetail String

Customer-readable message about the current status.

steps List<Property Map>

The operations to be performed on the workspace.

substitutions Map<String>

Substitutions data for Build resource.

tags 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. timeout starts ticking from startTime. Default time is 60 minutes.

timing Map<String>

Stores timing information for phases of the build. Valid keys are: * BUILD: time to execute all build steps. * PUSH: time to push all artifacts including docker images and non docker artifacts. * FETCHSOURCE: time to fetch source. * SETUPBUILD: time to set up build. If the build does not specify source or images, these keys will not be included.

warnings List<Property Map>

Non-fatal problems encountered during the execution of the build.

BuildStep

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 (https://github.com/GoogleCloudPlatform/cloud-builders). 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.

AllowExitCodes List<int>

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 allow_failure is also specified, this field will take precedence.

AllowFailure 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 failure_detail 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.

Env 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.

Script string

A shell script to be executed in the step. When script is provided, the user cannot specify the entrypoint or args.

SecretEnv 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.

Volumes List<Pulumi.GoogleNative.CloudBuild.V1.Inputs.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.

WaitFor 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.

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 (https://github.com/GoogleCloudPlatform/cloud-builders). 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.

AllowExitCodes []int

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 allow_failure is also specified, this field will take precedence.

AllowFailure 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 failure_detail 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.

Env []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.

Script string

A shell script to be executed in the step. When script is provided, the user cannot specify the entrypoint or args.

SecretEnv []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.

Volumes []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.

WaitFor []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.

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 (https://github.com/GoogleCloudPlatform/cloud-builders). 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.

allowExitCodes List<Integer>

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 allow_failure is also specified, this field will take precedence.

allowFailure 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 failure_detail 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.

env 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.

script String

A shell script to be executed in the step. When script is provided, the user cannot specify the entrypoint or args.

secretEnv 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.

volumes List<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.

waitFor 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.

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 (https://github.com/GoogleCloudPlatform/cloud-builders). 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.

allowExitCodes number[]

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 allow_failure is also specified, this field will take precedence.

allowFailure 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 failure_detail 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.

env 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.

script string

A shell script to be executed in the step. When script is provided, the user cannot specify the entrypoint or args.

secretEnv 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.

volumes 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.

waitFor 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.

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 (https://github.com/GoogleCloudPlatform/cloud-builders). 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.

allow_exit_codes Sequence[int]

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 allow_failure 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 failure_detail 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.

env 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.

script str

A shell script to be executed in the step. When script is provided, the user cannot specify the entrypoint or args.

secret_env 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.

volumes Sequence[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_for 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.

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 (https://github.com/GoogleCloudPlatform/cloud-builders). 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.

allowExitCodes List<Number>

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 allow_failure is also specified, this field will take precedence.

allowFailure 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 failure_detail 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.

env 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.

script String

A shell script to be executed in the step. When script is provided, the user cannot specify the entrypoint or args.

secretEnv 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.

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.

waitFor 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.

BuildStepResponse

AllowExitCodes List<int>

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 allow_failure is also specified, this field will take precedence.

AllowFailure 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 failure_detail 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.

Env 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".

ExitCode int

Return code from running the step.

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 (https://github.com/GoogleCloudPlatform/cloud-builders). 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.

PullTiming Pulumi.GoogleNative.CloudBuild.V1.Inputs.TimeSpanResponse

Stores timing information for pulling this build step's builder image only.

Script string

A shell script to be executed in the step. When script is provided, the user cannot specify the entrypoint or args.

SecretEnv 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.

Status string

Status of the build step. At this time, build step status is only updated on build completion; step status is not updated in real-time as the build progresses.

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 Pulumi.GoogleNative.CloudBuild.V1.Inputs.TimeSpanResponse

Stores timing information for executing this build step.

Volumes List<Pulumi.GoogleNative.CloudBuild.V1.Inputs.VolumeResponse>

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.

WaitFor 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.

AllowExitCodes []int

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 allow_failure is also specified, this field will take precedence.

AllowFailure 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 failure_detail 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.

Env []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".

ExitCode int

Return code from running the step.

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 (https://github.com/GoogleCloudPlatform/cloud-builders). 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.

PullTiming TimeSpanResponse

Stores timing information for pulling this build step's builder image only.

Script string

A shell script to be executed in the step. When script is provided, the user cannot specify the entrypoint or args.

SecretEnv []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.

Status string

Status of the build step. At this time, build step status is only updated on build completion; step status is not updated in real-time as the build progresses.

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 TimeSpanResponse

Stores timing information for executing this build step.

Volumes []VolumeResponse

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.

WaitFor []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.

allowExitCodes List<Integer>

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 allow_failure is also specified, this field will take precedence.

allowFailure 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 failure_detail 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.

env 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".

exitCode Integer

Return code from running the step.

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 (https://github.com/GoogleCloudPlatform/cloud-builders). 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.

pullTiming TimeSpanResponse

Stores timing information for pulling this build step's builder image only.

script String

A shell script to be executed in the step. When script is provided, the user cannot specify the entrypoint or args.

secretEnv 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.

status String

Status of the build step. At this time, build step status is only updated on build completion; step status is not updated in real-time as the build progresses.

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 TimeSpanResponse

Stores timing information for executing this build step.

volumes List<VolumeResponse>

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.

waitFor 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.

allowExitCodes number[]

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 allow_failure is also specified, this field will take precedence.

allowFailure 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 failure_detail 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.

env 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".

exitCode number

Return code from running the step.

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 (https://github.com/GoogleCloudPlatform/cloud-builders). 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.

pullTiming TimeSpanResponse

Stores timing information for pulling this build step's builder image only.

script string

A shell script to be executed in the step. When script is provided, the user cannot specify the entrypoint or args.

secretEnv 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.

status string

Status of the build step. At this time, build step status is only updated on build completion; step status is not updated in real-time as the build progresses.

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 TimeSpanResponse

Stores timing information for executing this build step.

volumes VolumeResponse[]

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.

waitFor 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_codes Sequence[int]

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 allow_failure 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 failure_detail 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.

env 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".

exit_code int

Return code from running the step.

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 (https://github.com/GoogleCloudPlatform/cloud-builders). 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.

pull_timing TimeSpanResponse

Stores timing information for pulling this build step's builder image only.

script str

A shell script to be executed in the step. When script is provided, the user cannot specify the entrypoint or args.

secret_env 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.

status str

Status of the build step. At this time, build step status is only updated on build completion; step status is not updated in real-time as the build progresses.

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 TimeSpanResponse

Stores timing information for executing this build step.

volumes Sequence[VolumeResponse]

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_for 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.

allowExitCodes List<Number>

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 allow_failure is also specified, this field will take precedence.

allowFailure 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 failure_detail 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.

env 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".

exitCode Number

Return code from running the step.

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 (https://github.com/GoogleCloudPlatform/cloud-builders). 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.

pullTiming Property Map

Stores timing information for pulling this build step's builder image only.

script String

A shell script to be executed in the step. When script is provided, the user cannot specify the entrypoint or args.

secretEnv 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.

status String

Status of the build step. At this time, build step status is only updated on build completion; step status is not updated in real-time as the build progresses.

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 Property Map

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.

waitFor 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.

BuiltImageResponse

Digest string

Docker Registry 2.0 digest.

Name string

Name used to push the container image to Google Container Registry, as presented to docker push.

PushTiming Pulumi.GoogleNative.CloudBuild.V1.Inputs.TimeSpanResponse

Stores timing information for pushing the specified image.

Digest string

Docker Registry 2.0 digest.

Name string

Name used to push the container image to Google Container Registry, as presented to docker push.

PushTiming TimeSpanResponse

Stores timing information for pushing the specified image.

digest String

Docker Registry 2.0 digest.

name String

Name used to push the container image to Google Container Registry, as presented to docker push.

pushTiming TimeSpanResponse

Stores timing information for pushing the specified image.

digest string

Docker Registry 2.0 digest.

name string

Name used to push the container image to Google Container Registry, as presented to docker push.

pushTiming TimeSpanResponse

Stores timing information for pushing the specified image.

digest str

Docker Registry 2.0 digest.

name str

Name used to push the container image to Google Container Registry, as presented to docker push.

push_timing TimeSpanResponse

Stores timing information for pushing the specified image.

digest String

Docker Registry 2.0 digest.

name String

Name used to push the container image to Google Container Registry, as presented to docker push.

pushTiming Property Map

Stores timing information for pushing the specified image.

FailureInfoResponse

Detail string

Explains the failure issue in more detail using hard-coded text.

Type string

The name of the failure.

Detail string

Explains the failure issue in more detail using hard-coded text.

Type string

The name of the failure.

detail String

Explains the failure issue in more detail using hard-coded text.

type String

The name of the failure.

detail string

Explains the failure issue in more detail using hard-coded text.

type string

The name of the failure.

detail str

Explains the failure issue in more detail using hard-coded text.

type str

The name of the failure.

detail String

Explains the failure issue in more detail using hard-coded text.

type String

The name of the failure.

FileHashesResponse

FileHash []HashResponse

Collection of file hashes.

fileHash List<HashResponse>

Collection of file hashes.

fileHash HashResponse[]

Collection of file hashes.

file_hash Sequence[HashResponse]

Collection of file hashes.

fileHash List<Property Map>

Collection of file hashes.

GitFileSource

BitbucketServerConfig string

The full resource name of the bitbucket server config. Format: projects/{project}/locations/{location}/bitbucketServerConfigs/{id}.

GithubEnterpriseConfig string

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.

RepoType Pulumi.GoogleNative.CloudBuild.V1.GitFileSourceRepoType

See RepoType above.

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. Either uri or repository can be specified. If unspecified, the repo from which the trigger invocation originated is assumed to be the repo from which to read the specified path.

BitbucketServerConfig string

The full resource name of the bitbucket server config. Format: projects/{project}/locations/{location}/bitbucketServerConfigs/{id}.

GithubEnterpriseConfig string

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.

RepoType GitFileSourceRepoType

See RepoType above.

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. Either uri or repository can be specified. If unspecified, the repo from which the trigger invocation originated is assumed to be the repo from which to read the specified path.

bitbucketServerConfig String

The full resource name of the bitbucket server config. Format: projects/{project}/locations/{location}/bitbucketServerConfigs/{id}.

githubEnterpriseConfig String

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.

repoType GitFileSourceRepoType

See RepoType above.

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. Either uri or repository can be specified. If unspecified, the repo from which the trigger invocation originated is assumed to be the repo from which to read the specified path.

bitbucketServerConfig string

The full resource name of the bitbucket server config. Format: projects/{project}/locations/{location}/bitbucketServerConfigs/{id}.

githubEnterpriseConfig string

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.

repoType GitFileSourceRepoType

See RepoType above.

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. Either uri or repository can be specified. 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_config str

The full resource name of the bitbucket server config. Format: projects/{project}/locations/{location}/bitbucketServerConfigs/{id}.

github_enterprise_config str

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 GitFileSourceRepoType

See RepoType above.

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. Either uri or repository can be specified. If unspecified, the repo from which the trigger invocation originated is assumed to be the repo from which to read the specified path.

bitbucketServerConfig String

The full resource name of the bitbucket server config. Format: projects/{project}/locations/{location}/bitbucketServerConfigs/{id}.

githubEnterpriseConfig String

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.

repoType "UNKNOWN" | "CLOUD_SOURCE_REPOSITORIES" | "GITHUB" | "BITBUCKET_SERVER" | "GITLAB"

See RepoType above.

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. Either uri or repository can be specified. If unspecified, the repo from which the trigger invocation originated is assumed to be the repo from which to read the specified path.

GitFileSourceRepoType

Unknown
UNKNOWN

The default, unknown repo type. Don't use it, instead use one of the other repo types.

CloudSourceRepositories
CLOUD_SOURCE_REPOSITORIES

A Google Cloud Source Repositories-hosted repo.

Github
GITHUB

A GitHub-hosted repo not necessarily on "github.com" (i.e. GitHub Enterprise).

BitbucketServer
BITBUCKET_SERVER

A Bitbucket Server-hosted repo.

Gitlab
GITLAB

A GitLab-hosted repo.

GitFileSourceRepoTypeUnknown
UNKNOWN

The default, unknown repo type. Don't use it, instead use one of the other repo types.

GitFileSourceRepoTypeCloudSourceRepositories
CLOUD_SOURCE_REPOSITORIES

A Google Cloud Source Repositories-hosted repo.

GitFileSourceRepoTypeGithub
GITHUB

A GitHub-hosted repo not necessarily on "github.com" (i.e. GitHub Enterprise).

GitFileSourceRepoTypeBitbucketServer
BITBUCKET_SERVER

A Bitbucket Server-hosted repo.

GitFileSourceRepoTypeGitlab
GITLAB

A GitLab-hosted repo.

Unknown
UNKNOWN

The default, unknown repo type. Don't use it, instead use one of the other repo types.

CloudSourceRepositories
CLOUD_SOURCE_REPOSITORIES

A Google Cloud Source Repositories-hosted repo.

Github
GITHUB

A GitHub-hosted repo not necessarily on "github.com" (i.e. GitHub Enterprise).

BitbucketServer
BITBUCKET_SERVER

A Bitbucket Server-hosted repo.

Gitlab
GITLAB

A GitLab-hosted repo.

Unknown
UNKNOWN

The default, unknown repo type. Don't use it, instead use one of the other repo types.

CloudSourceRepositories
CLOUD_SOURCE_REPOSITORIES

A Google Cloud Source Repositories-hosted repo.

Github
GITHUB

A GitHub-hosted repo not necessarily on "github.com" (i.e. GitHub Enterprise).

BitbucketServer
BITBUCKET_SERVER

A Bitbucket Server-hosted repo.

Gitlab
GITLAB

A GitLab-hosted repo.

UNKNOWN
UNKNOWN

The default, unknown repo type. Don't use it, instead use one of the other repo types.

CLOUD_SOURCE_REPOSITORIES
CLOUD_SOURCE_REPOSITORIES

A Google Cloud Source Repositories-hosted repo.

GITHUB
GITHUB

A GitHub-hosted repo not necessarily on "github.com" (i.e. GitHub Enterprise).

BITBUCKET_SERVER
BITBUCKET_SERVER

A Bitbucket Server-hosted repo.

GITLAB
GITLAB

A GitLab-hosted repo.

"UNKNOWN"
UNKNOWN

The default, unknown repo type. Don't use it, instead use one of the other repo types.

"CLOUD_SOURCE_REPOSITORIES"
CLOUD_SOURCE_REPOSITORIES

A Google Cloud Source Repositories-hosted repo.

"GITHUB"
GITHUB

A GitHub-hosted repo not necessarily on "github.com" (i.e. GitHub Enterprise).

"BITBUCKET_SERVER"
BITBUCKET_SERVER

A Bitbucket Server-hosted repo.

"GITLAB"
GITLAB

A GitLab-hosted repo.

GitFileSourceResponse

BitbucketServerConfig string

The full resource name of the bitbucket server config. Format: projects/{project}/locations/{location}/bitbucketServerConfigs/{id}.

GithubEnterpriseConfig string

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.

RepoType string

See RepoType above.

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. Either uri or repository can be specified. If unspecified, the repo from which the trigger invocation originated is assumed to be the repo from which to read the specified path.

BitbucketServerConfig string

The full resource name of the bitbucket server config. Format: projects/{project}/locations/{location}/bitbucketServerConfigs/{id}.

GithubEnterpriseConfig string

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.

RepoType string

See RepoType above.

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. Either uri or repository can be specified. If unspecified, the repo from which the trigger invocation originated is assumed to be the repo from which to read the specified path.

bitbucketServerConfig String

The full resource name of the bitbucket server config. Format: projects/{project}/locations/{location}/bitbucketServerConfigs/{id}.

githubEnterpriseConfig String

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.

repoType String

See RepoType above.

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. Either uri or repository can be specified. If unspecified, the repo from which the trigger invocation originated is assumed to be the repo from which to read the specified path.

bitbucketServerConfig string

The full resource name of the bitbucket server config. Format: projects/{project}/locations/{location}/bitbucketServerConfigs/{id}.

githubEnterpriseConfig string

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.

repoType string

See RepoType above.

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. Either uri or repository can be specified. 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_config str

The full resource name of the bitbucket server config. Format: projects/{project}/locations/{location}/bitbucketServerConfigs/{id}.

github_enterprise_config str

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

See RepoType above.

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. Either uri or repository can be specified. If unspecified, the repo from which the trigger invocation originated is assumed to be the repo from which to read the specified path.

bitbucketServerConfig String

The full resource name of the bitbucket server config. Format: projects/{project}/locations/{location}/bitbucketServerConfigs/{id}.

githubEnterpriseConfig String

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.

repoType String

See RepoType above.

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. Either uri or repository can be specified. If unspecified, the repo from which the trigger invocation originated is assumed to be the repo from which to read the specified path.

GitHubEventsConfig

EnterpriseConfigResourceName string

Optional. The resource name of the github enterprise config that should be applied to this installation. For example: "projects/{$project_id}/locations/{$location_id}/githubEnterpriseConfigs/{$config_id}"

InstallationId string

The installationID that emits the GitHub event.

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".

PullRequest Pulumi.GoogleNative.CloudBuild.V1.Inputs.PullRequestFilter

filter to match changes in pull requests.

Push Pulumi.GoogleNative.CloudBuild.V1.Inputs.PushFilter

filter to match changes in refs like branches, tags.

EnterpriseConfigResourceName string

Optional. The resource name of the github enterprise config that should be applied to this installation. For example: "projects/{$project_id}/locations/{$location_id}/githubEnterpriseConfigs/{$config_id}"

InstallationId string

The installationID that emits the GitHub event.

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".

PullRequest PullRequestFilter

filter to match changes in pull requests.

Push PushFilter

filter to match changes in refs like branches, tags.

enterpriseConfigResourceName String

Optional. The resource name of the github enterprise config that should be applied to this installation. For example: "projects/{$project_id}/locations/{$location_id}/githubEnterpriseConfigs/{$config_id}"

installationId String

The installationID that emits the GitHub event.

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".

pullRequest PullRequestFilter

filter to match changes in pull requests.

push PushFilter

filter to match changes in refs like branches, tags.

enterpriseConfigResourceName string

Optional. The resource name of the github enterprise config that should be applied to this installation. For example: "projects/{$project_id}/locations/{$location_id}/githubEnterpriseConfigs/{$config_id}"

installationId string

The installationID that emits the GitHub event.

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".

pullRequest PullRequestFilter

filter to match changes in pull requests.

push PushFilter

filter to match changes in refs like branches, tags.

enterprise_config_resource_name str

Optional. The resource name of the github enterprise config that should be applied to this installation. For example: "projects/{$project_id}/locations/{$location_id}/githubEnterpriseConfigs/{$config_id}"

installation_id str

The installationID that emits the GitHub event.

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_request PullRequestFilter

filter to match changes in pull requests.

push PushFilter

filter to match changes in refs like branches, tags.

enterpriseConfigResourceName String

Optional. The resource name of the github enterprise config that should be applied to this installation. For example: "projects/{$project_id}/locations/{$location_id}/githubEnterpriseConfigs/{$config_id}"

installationId String

The installationID that emits the GitHub event.

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".

pullRequest Property Map

filter to match changes in pull requests.

push Property Map

filter to match changes in refs like branches, tags.

GitHubEventsConfigResponse

EnterpriseConfigResourceName string

Optional. The resource name of the github enterprise config that should be applied to this installation. For example: "projects/{$project_id}/locations/{$location_id}/githubEnterpriseConfigs/{$config_id}"

InstallationId string

The installationID that emits the GitHub event.

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".

PullRequest Pulumi.GoogleNative.CloudBuild.V1.Inputs.PullRequestFilterResponse

filter to match changes in pull requests.

Push Pulumi.GoogleNative.CloudBuild.V1.Inputs.PushFilterResponse

filter to match changes in refs like branches, tags.

EnterpriseConfigResourceName string

Optional. The resource name of the github enterprise config that should be applied to this installation. For example: "projects/{$project_id}/locations/{$location_id}/githubEnterpriseConfigs/{$config_id}"

InstallationId string

The installationID that emits the GitHub event.

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".

PullRequest PullRequestFilterResponse

filter to match changes in pull requests.

Push PushFilterResponse

filter to match changes in refs like branches, tags.

enterpriseConfigResourceName String

Optional. The resource name of the github enterprise config that should be applied to this installation. For example: "projects/{$project_id}/locations/{$location_id}/githubEnterpriseConfigs/{$config_id}"

installationId String

The installationID that emits the GitHub event.

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".

pullRequest PullRequestFilterResponse

filter to match changes in pull requests.

push PushFilterResponse

filter to match changes in refs like branches, tags.

enterpriseConfigResourceName string

Optional. The resource name of the github enterprise config that should be applied to this installation. For example: "projects/{$project_id}/locations/{$location_id}/githubEnterpriseConfigs/{$config_id}"

installationId string

The installationID that emits the GitHub event.

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".

pullRequest PullRequestFilterResponse

filter to match changes in pull requests.

push PushFilterResponse

filter to match changes in refs like branches, tags.

enterprise_config_resource_name str

Optional. The resource name of the github enterprise config that should be applied to this installation. For example: "projects/{$project_id}/locations/{$location_id}/githubEnterpriseConfigs/{$config_id}"

installation_id str

The installationID that emits the GitHub event.

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_request PullRequestFilterResponse

filter to match changes in pull requests.

push PushFilterResponse

filter to match changes in refs like branches, tags.

enterpriseConfigResourceName String

Optional. The resource name of the github enterprise config that should be applied to this installation. For example: "projects/{$project_id}/locations/{$location_id}/githubEnterpriseConfigs/{$config_id}"

installationId String

The installationID that emits the GitHub event.

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".

pullRequest Property Map

filter to match changes in pull requests.

push Property Map

filter to match changes in refs like branches, tags.

GitLabConfigResponse

ConnectedRepositories List<Pulumi.GoogleNative.CloudBuild.V1.Inputs.GitLabRepositoryIdResponse>

Connected GitLab.com or GitLabEnterprise repositories for this config.

CreateTime string

Time when the config was created.

EnterpriseConfig Pulumi.GoogleNative.CloudBuild.V1.Inputs.GitLabEnterpriseConfigResponse

Optional. GitLabEnterprise config.

Name string

The resource name for the config.

Secrets Pulumi.GoogleNative.CloudBuild.V1.Inputs.GitLabSecretsResponse

Secret Manager secrets needed by the config.

Username string

Username of the GitLab.com or GitLab Enterprise account Cloud Build will use.

WebhookKey string

UUID included in webhook requests. The UUID is used to look up the corresponding config.

ConnectedRepositories []GitLabRepositoryIdResponse

Connected GitLab.com or GitLabEnterprise repositories for this config.

CreateTime string

Time when the config was created.

EnterpriseConfig GitLabEnterpriseConfigResponse

Optional. GitLabEnterprise config.

Name string

The resource name for the config.

Secrets GitLabSecretsResponse

Secret Manager secrets needed by the config.

Username string

Username of the GitLab.com or GitLab Enterprise account Cloud Build will use.

WebhookKey string

UUID included in webhook requests. The UUID is used to look up the corresponding config.

connectedRepositories List<GitLabRepositoryIdResponse>

Connected GitLab.com or GitLabEnterprise repositories for this config.

createTime String

Time when the config was created.

enterpriseConfig GitLabEnterpriseConfigResponse

Optional. GitLabEnterprise config.

name String

The resource name for the config.

secrets GitLabSecretsResponse

Secret Manager secrets needed by the config.

username String

Username of the GitLab.com or GitLab Enterprise account Cloud Build will use.

webhookKey String

UUID included in webhook requests. The UUID is used to look up the corresponding config.

connectedRepositories GitLabRepositoryIdResponse[]

Connected GitLab.com or GitLabEnterprise repositories for this config.

createTime string

Time when the config was created.

enterpriseConfig GitLabEnterpriseConfigResponse

Optional. GitLabEnterprise config.

name string

The resource name for the config.

secrets GitLabSecretsResponse

Secret Manager secrets needed by the config.

username string

Username of the GitLab.com or GitLab Enterprise account Cloud Build will use.

webhookKey string

UUID included in webhook requests. The UUID is used to look up the corresponding config.

connected_repositories Sequence[GitLabRepositoryIdResponse]

Connected GitLab.com or GitLabEnterprise repositories for this config.

create_time str

Time when the config was created.

enterprise_config GitLabEnterpriseConfigResponse

Optional. GitLabEnterprise config.

name str

The resource name for the config.

secrets GitLabSecretsResponse

Secret Manager secrets needed by the config.

username str

Username of the GitLab.com or GitLab Enterprise account Cloud Build will use.

webhook_key str

UUID included in webhook requests. The UUID is used to look up the corresponding config.

connectedRepositories List<Property Map>

Connected GitLab.com or GitLabEnterprise repositories for this config.

createTime String

Time when the config was created.

enterpriseConfig Property Map

Optional. GitLabEnterprise config.

name String

The resource name for the config.

secrets Property Map

Secret Manager secrets needed by the config.

username String

Username of the GitLab.com or GitLab Enterprise account Cloud Build will use.

webhookKey String

UUID included in webhook requests. The UUID is used to look up the corresponding config.

GitLabEnterpriseConfigResponse

HostUri string

Immutable. The URI of the GitlabEnterprise host.

ServiceDirectoryConfig Pulumi.GoogleNative.CloudBuild.V1.Inputs.ServiceDirectoryConfigResponse

The Service Directory configuration to be used when reaching out to the GitLab Enterprise instance.

SslCa string

The SSL certificate to use in requests to GitLab Enterprise instances.

HostUri string

Immutable. The URI of the GitlabEnterprise host.

ServiceDirectoryConfig ServiceDirectoryConfigResponse

The Service Directory configuration to be used when reaching out to the GitLab Enterprise instance.

SslCa string

The SSL certificate to use in requests to GitLab Enterprise instances.

hostUri String

Immutable. The URI of the GitlabEnterprise host.

serviceDirectoryConfig ServiceDirectoryConfigResponse

The Service Directory configuration to be used when reaching out to the GitLab Enterprise instance.

sslCa String

The SSL certificate to use in requests to GitLab Enterprise instances.

hostUri string

Immutable. The URI of the GitlabEnterprise host.

serviceDirectoryConfig ServiceDirectoryConfigResponse

The Service Directory configuration to be used when reaching out to the GitLab Enterprise instance.

sslCa string

The SSL certificate to use in requests to GitLab Enterprise instances.

host_uri str

Immutable. The URI of the GitlabEnterprise host.

service_directory_config ServiceDirectoryConfigResponse

The Service Directory configuration to be used when reaching out to the GitLab Enterprise instance.

ssl_ca str

The SSL certificate to use in requests to GitLab Enterprise instances.

hostUri String

Immutable. The URI of the GitlabEnterprise host.

serviceDirectoryConfig Property Map

The Service Directory configuration to be used when reaching out to the GitLab Enterprise instance.

sslCa String

The SSL certificate to use in requests to GitLab Enterprise instances.

GitLabEventsConfig

GitlabConfigResource string

The GitLab config resource that this trigger config maps to.

ProjectNamespace string

Namespace of the GitLab project.

PullRequest Pulumi.GoogleNative.CloudBuild.V1.Inputs.PullRequestFilter

Filter to match changes in pull requests.

Push Pulumi.GoogleNative.CloudBuild.V1.Inputs.PushFilter

Filter to match changes in refs like branches, tags.

GitlabConfigResource string

The GitLab config resource that this trigger config maps to.

ProjectNamespace string

Namespace of the GitLab project.

PullRequest PullRequestFilter

Filter to match changes in pull requests.

Push PushFilter

Filter to match changes in refs like branches, tags.

gitlabConfigResource String

The GitLab config resource that this trigger config maps to.

projectNamespace String

Namespace of the GitLab project.

pullRequest PullRequestFilter

Filter to match changes in pull requests.

push PushFilter

Filter to match changes in refs like branches, tags.

gitlabConfigResource string

The GitLab config resource that this trigger config maps to.

projectNamespace string

Namespace of the GitLab project.

pullRequest PullRequestFilter

Filter to match changes in pull requests.

push PushFilter

Filter to match changes in refs like branches, tags.

gitlab_config_resource str

The GitLab config resource that this trigger config maps to.

project_namespace str

Namespace of the GitLab project.

pull_request PullRequestFilter

Filter to match changes in pull requests.

push PushFilter

Filter to match changes in refs like branches, tags.

gitlabConfigResource String

The GitLab config resource that this trigger config maps to.

projectNamespace String

Namespace of the GitLab project.

pullRequest Property Map

Filter to match changes in pull requests.

push Property Map

Filter to match changes in refs like branches, tags.

GitLabEventsConfigResponse

GitlabConfig Pulumi.GoogleNative.CloudBuild.V1.Inputs.GitLabConfigResponse

The GitLabConfig specified in the gitlab_config_resource field.

GitlabConfigResource string

The GitLab config resource that this trigger config maps to.

ProjectNamespace string

Namespace of the GitLab project.

PullRequest Pulumi.GoogleNative.CloudBuild.V1.Inputs.PullRequestFilterResponse

Filter to match changes in pull requests.

Push Pulumi.GoogleNative.CloudBuild.V1.Inputs.PushFilterResponse

Filter to match changes in refs like branches, tags.

GitlabConfig GitLabConfigResponse

The GitLabConfig specified in the gitlab_config_resource field.

GitlabConfigResource string

The GitLab config resource that this trigger config maps to.

ProjectNamespace string

Namespace of the GitLab project.

PullRequest PullRequestFilterResponse

Filter to match changes in pull requests.

Push PushFilterResponse

Filter to match changes in refs like branches, tags.

gitlabConfig GitLabConfigResponse

The GitLabConfig specified in the gitlab_config_resource field.

gitlabConfigResource String

The GitLab config resource that this trigger config maps to.

projectNamespace String

Namespace of the GitLab project.

pullRequest PullRequestFilterResponse

Filter to match changes in pull requests.

push PushFilterResponse

Filter to match changes in refs like branches, tags.

gitlabConfig GitLabConfigResponse

The GitLabConfig specified in the gitlab_config_resource field.

gitlabConfigResource string

The GitLab config resource that this trigger config maps to.

projectNamespace string

Namespace of the GitLab project.

pullRequest PullRequestFilterResponse

Filter to match changes in pull requests.

push PushFilterResponse

Filter to match changes in refs like branches, tags.

gitlab_config GitLabConfigResponse

The GitLabConfig specified in the gitlab_config_resource field.

gitlab_config_resource str

The GitLab config resource that this trigger config maps to.

project_namespace str

Namespace of the GitLab project.

pull_request PullRequestFilterResponse

Filter to match changes in pull requests.

push PushFilterResponse

Filter to match changes in refs like branches, tags.

gitlabConfig Property Map

The GitLabConfig specified in the gitlab_config_resource field.

gitlabConfigResource String

The GitLab config resource that this trigger config maps to.

projectNamespace String

Namespace of the GitLab project.

pullRequest Property Map

Filter to match changes in pull requests.

push Property Map

Filter to match changes in refs like branches, tags.

GitLabRepositoryIdResponse

WebhookId int

The ID of the webhook that was created for receiving events from this repo. We only create and manage a single webhook for each repo.

WebhookId int

The ID of the webhook that was created for receiving events from this repo. We only create and manage a single webhook for each repo.

webhookId Integer

The ID of the webhook that was created for receiving events from this repo. We only create and manage a single webhook for each repo.

webhookId number

The ID of the webhook that was created for receiving events from this repo. We only create and manage a single webhook for each repo.

webhook_id int

The ID of the webhook that was created for receiving events from this repo. We only create and manage a single webhook for each repo.

webhookId Number

The ID of the webhook that was created for receiving events from this repo. We only create and manage a single webhook for each repo.

GitLabSecretsResponse

ApiAccessTokenVersion string

The resource name for the api access token’s secret version

ApiKeyVersion string

Immutable. API Key that will be attached to webhook requests from GitLab to Cloud Build.

ReadAccessTokenVersion string

The resource name for the read access token’s secret version

WebhookSecretVersion string

Immutable. The resource name for the webhook secret’s secret version. Once this field has been set, it cannot be changed. If you need to change it, please create another GitLabConfig.

ApiAccessTokenVersion string

The resource name for the api access token’s secret version

ApiKeyVersion string

Immutable. API Key that will be attached to webhook requests from GitLab to Cloud Build.

ReadAccessTokenVersion string

The resource name for the read access token’s secret version

WebhookSecretVersion string

Immutable. The resource name for the webhook secret’s secret version. Once this field has been set, it cannot be changed. If you need to change it, please create another GitLabConfig.

apiAccessTokenVersion String

The resource name for the api access token’s secret version

apiKeyVersion String

Immutable. API Key that will be attached to webhook requests from GitLab to Cloud Build.

readAccessTokenVersion String

The resource name for the read access token’s secret version

webhookSecretVersion String

Immutable. The resource name for the webhook secret’s secret version. Once this field has been set, it cannot be changed. If you need to change it, please create another GitLabConfig.

apiAccessTokenVersion string

The resource name for the api access token’s secret version

apiKeyVersion string

Immutable. API Key that will be attached to webhook requests from GitLab to Cloud Build.

readAccessTokenVersion string

The resource name for the read access token’s secret version

webhookSecretVersion string

Immutable. The resource name for the webhook secret’s secret version. Once this field has been set, it cannot be changed. If you need to change it, please create another GitLabConfig.

api_access_token_version str

The resource name for the api access token’s secret version

api_key_version str

Immutable. API Key that will be attached to webhook requests from GitLab to Cloud Build.

read_access_token_version str

The resource name for the read access token’s secret version

webhook_secret_version str

Immutable. The resource name for the webhook secret’s secret version. Once this field has been set, it cannot be changed. If you need to change it, please create another GitLabConfig.

apiAccessTokenVersion String

The resource name for the api access token’s secret version

apiKeyVersion String

Immutable. API Key that will be attached to webhook requests from GitLab to Cloud Build.

readAccessTokenVersion String

The resource name for the read access token’s secret version

webhookSecretVersion String

Immutable. The resource name for the webhook secret’s secret version. Once this field has been set, it cannot be changed. If you need to change it, please create another GitLabConfig.

GitRepoSource

BitbucketServerConfig string

The full resource name of the bitbucket server config. Format: projects/{project}/locations/{location}/bitbucketServerConfigs/{id}.

GithubEnterpriseConfig string

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).

RepoType Pulumi.GoogleNative.CloudBuild.V1.GitRepoSourceRepoType

See RepoType below.

Uri string

The URI of the repo. Either uri or repository can be specified and is required.

BitbucketServerConfig string

The full resource name of the bitbucket server config. Format: projects/{project}/locations/{location}/bitbucketServerConfigs/{id}.

GithubEnterpriseConfig string

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).

RepoType GitRepoSourceRepoType

See RepoType below.

Uri string

The URI of the repo. Either uri or repository can be specified and is required.

bitbucketServerConfig String

The full resource name of the bitbucket server config. Format: projects/{project}/locations/{location}/bitbucketServerConfigs/{id}.

githubEnterpriseConfig String

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).

repoType GitRepoSourceRepoType

See RepoType below.

uri String

The URI of the repo. Either uri or repository can be specified and is required.

bitbucketServerConfig string

The full resource name of the bitbucket server config. Format: projects/{project}/locations/{location}/bitbucketServerConfigs/{id}.

githubEnterpriseConfig string

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).

repoType GitRepoSourceRepoType

See RepoType below.

uri string

The URI of the repo. Either uri or repository can be specified and is required.

bitbucket_server_config str

The full resource name of the bitbucket server config. Format: projects/{project}/locations/{location}/bitbucketServerConfigs/{id}.

github_enterprise_config str

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 GitRepoSourceRepoType

See RepoType below.

uri str

The URI of the repo. Either uri or repository can be specified and is required.

bitbucketServerConfig String

The full resource name of the bitbucket server config. Format: projects/{project}/locations/{location}/bitbucketServerConfigs/{id}.

githubEnterpriseConfig String

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).

repoType "UNKNOWN" | "CLOUD_SOURCE_REPOSITORIES" | "GITHUB" | "BITBUCKET_SERVER" | "GITLAB"

See RepoType below.

uri String

The URI of the repo. Either uri or repository can be specified and is required.

GitRepoSourceRepoType

Unknown
UNKNOWN

The default, unknown repo type. Don't use it, instead use one of the other repo types.

CloudSourceRepositories
CLOUD_SOURCE_REPOSITORIES

A Google Cloud Source Repositories-hosted repo.

Github
GITHUB

A GitHub-hosted repo not necessarily on "github.com" (i.e. GitHub Enterprise).

BitbucketServer
BITBUCKET_SERVER

A Bitbucket Server-hosted repo.

Gitlab
GITLAB

A GitLab-hosted repo.

GitRepoSourceRepoTypeUnknown
UNKNOWN

The default, unknown repo type. Don't use it, instead use one of the other repo types.

GitRepoSourceRepoTypeCloudSourceRepositories
CLOUD_SOURCE_REPOSITORIES

A Google Cloud Source Repositories-hosted repo.

GitRepoSourceRepoTypeGithub
GITHUB

A GitHub-hosted repo not necessarily on "github.com" (i.e. GitHub Enterprise).

GitRepoSourceRepoTypeBitbucketServer
BITBUCKET_SERVER

A Bitbucket Server-hosted repo.

GitRepoSourceRepoTypeGitlab
GITLAB

A GitLab-hosted repo.

Unknown
UNKNOWN

The default, unknown repo type. Don't use it, instead use one of the other repo types.

CloudSourceRepositories
CLOUD_SOURCE_REPOSITORIES

A Google Cloud Source Repositories-hosted repo.

Github
GITHUB

A GitHub-hosted repo not necessarily on "github.com" (i.e. GitHub Enterprise).

BitbucketServer
BITBUCKET_SERVER

A Bitbucket Server-hosted repo.

Gitlab
GITLAB

A GitLab-hosted repo.

Unknown
UNKNOWN

The default, unknown repo type. Don't use it, instead use one of the other repo types.

CloudSourceRepositories
CLOUD_SOURCE_REPOSITORIES

A Google Cloud Source Repositories-hosted repo.

Github
GITHUB

A GitHub-hosted repo not necessarily on "github.com" (i.e. GitHub Enterprise).

BitbucketServer
BITBUCKET_SERVER

A Bitbucket Server-hosted repo.

Gitlab
GITLAB

A GitLab-hosted repo.

UNKNOWN
UNKNOWN

The default, unknown repo type. Don't use it, instead use one of the other repo types.

CLOUD_SOURCE_REPOSITORIES
CLOUD_SOURCE_REPOSITORIES

A Google Cloud Source Repositories-hosted repo.

GITHUB
GITHUB

A GitHub-hosted repo not necessarily on "github.com" (i.e. GitHub Enterprise).

BITBUCKET_SERVER
BITBUCKET_SERVER

A Bitbucket Server-hosted repo.

GITLAB
GITLAB

A GitLab-hosted repo.

"UNKNOWN"
UNKNOWN

The default, unknown repo type. Don't use it, instead use one of the other repo types.

"CLOUD_SOURCE_REPOSITORIES"
CLOUD_SOURCE_REPOSITORIES

A Google Cloud Source Repositories-hosted repo.

"GITHUB"
GITHUB

A GitHub-hosted repo not necessarily on "github.com" (i.e. GitHub Enterprise).

"BITBUCKET_SERVER"
BITBUCKET_SERVER

A Bitbucket Server-hosted repo.

"GITLAB"
GITLAB

A GitLab-hosted repo.

GitRepoSourceResponse

BitbucketServerConfig string

The full resource name of the bitbucket server config. Format: projects/{project}/locations/{location}/bitbucketServerConfigs/{id}.

GithubEnterpriseConfig string

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).

RepoType string

See RepoType below.

Uri string

The URI of the repo. Either uri or repository can be specified and is required.

BitbucketServerConfig string

The full resource name of the bitbucket server config. Format: projects/{project}/locations/{location}/bitbucketServerConfigs/{id}.

GithubEnterpriseConfig string

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).

RepoType string

See RepoType below.

Uri string

The URI of the repo. Either uri or repository can be specified and is required.

bitbucketServerConfig String

The full resource name of the bitbucket server config. Format: projects/{project}/locations/{location}/bitbucketServerConfigs/{id}.

githubEnterpriseConfig String

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).

repoType String

See RepoType below.

uri String

The URI of the repo. Either uri or repository can be specified and is required.

bitbucketServerConfig string

The full resource name of the bitbucket server config. Format: projects/{project}/locations/{location}/bitbucketServerConfigs/{id}.

githubEnterpriseConfig string

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).

repoType string

See RepoType below.

uri string

The URI of the repo. Either uri or repository can be specified and is required.

bitbucket_server_config str

The full resource name of the bitbucket server config. Format: projects/{project}/locations/{location}/bitbucketServerConfigs/{id}.

github_enterprise_config str

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

See RepoType below.

uri str

The URI of the repo. Either uri or repository can be specified and is required.

bitbucketServerConfig String

The full resource name of the bitbucket server config. Format: projects/{project}/locations/{location}/bitbucketServerConfigs/{id}.

githubEnterpriseConfig String

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).

repoType String

See RepoType below.

uri String

The URI of the repo. Either uri or repository can be specified and is required.

HashResponse

Type string

The type of hash that was performed.

Value string

The hash value.

Type string

The type of hash that was performed.

Value string

The hash value.

type String

The type of hash that was performed.

value String

The hash value.

type string

The type of hash that was performed.

value string

The hash value.

type str

The type of hash that was performed.

value str

The hash value.

type String

The type of hash that was performed.

value String

The hash value.

InlineSecret

EnvMap 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.

KmsKeyName string

Resource name of Cloud KMS crypto key to decrypt the encrypted value. In format: projects//locations//keyRings//cryptoKeys/

EnvMap 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.

KmsKeyName string

Resource name of Cloud KMS crypto key to decrypt the encrypted value. In format: projects//locations//keyRings//cryptoKeys/

envMap 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.

kmsKeyName String

Resource name of Cloud KMS crypto key to decrypt the encrypted value. In format: projects//locations//keyRings//cryptoKeys/

envMap {[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.

kmsKeyName string

Resource name of Cloud KMS crypto key to decrypt the encrypted value. In format: projects//locations//keyRings//cryptoKeys/

env_map 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_name str

Resource name of Cloud KMS crypto key to decrypt the encrypted value. In format: projects//locations//keyRings//cryptoKeys/

envMap 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.

kmsKeyName String

Resource name of Cloud KMS crypto key to decrypt the encrypted value. In format: projects//locations//keyRings//cryptoKeys/

InlineSecretResponse

EnvMap 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.

KmsKeyName string

Resource name of Cloud KMS crypto key to decrypt the encrypted value. In format: projects//locations//keyRings//cryptoKeys/

EnvMap 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.

KmsKeyName string

Resource name of Cloud KMS crypto key to decrypt the encrypted value. In format: projects//locations//keyRings//cryptoKeys/

envMap 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.

kmsKeyName String

Resource name of Cloud KMS crypto key to decrypt the encrypted value. In format: projects//locations//keyRings//cryptoKeys/

envMap {[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.

kmsKeyName string

Resource name of Cloud KMS crypto key to decrypt the encrypted value. In format: projects//locations//keyRings//cryptoKeys/

env_map 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_name str

Resource name of Cloud KMS crypto key to decrypt the encrypted value. In format: projects//locations//keyRings//cryptoKeys/

envMap 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.

kmsKeyName String

Resource name of Cloud KMS crypto key to decrypt the encrypted value. In format: projects//locations//keyRings//cryptoKeys/

MavenArtifact

ArtifactId string

Maven artifactId value used when uploading the artifact to Artifact Registry.

GroupId 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.

ArtifactId string

Maven artifactId value used when uploading the artifact to Artifact Registry.

GroupId 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.

artifactId String

Maven artifactId value used when uploading the artifact to Artifact Registry.

groupId 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.

artifactId string

Maven artifactId value used when uploading the artifact to Artifact Registry.

groupId 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.

artifactId String

Maven artifactId value used when uploading the artifact to Artifact Registry.

groupId 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.

MavenArtifactResponse

ArtifactId string

Maven artifactId value used when uploading the artifact to Artifact Registry.

GroupId 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.

ArtifactId string

Maven artifactId value used when uploading the artifact to Artifact Registry.

GroupId 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.

artifactId String

Maven artifactId value used when uploading the artifact to Artifact Registry.

groupId 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.

artifactId string

Maven artifactId value used when uploading the artifact to Artifact Registry.

groupId 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.

artifactId String

Maven artifactId value used when uploading the artifact to Artifact Registry.

groupId 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.

PoolOption

Name string

The WorkerPool resource to execute the build on. You must have cloudbuild.workerpools.use on the project hosting the WorkerPool. Format projects/{project}/locations/{location}/workerPools/{workerPoolId}

Name string

The WorkerPool resource to execute the build on. You must have cloudbuild.workerpools.use on the project hosting the WorkerPool. Format projects/{project}/locations/{location}/workerPools/{workerPoolId}

name String

The WorkerPool resource to execute the build on. You must have cloudbuild.workerpools.use on the project hosting the WorkerPool. Format projects/{project}/locations/{location}/workerPools/{workerPoolId}

name string

The WorkerPool resource to execute the build on. You must have cloudbuild.workerpools.use on the project hosting the WorkerPool. Format projects/{project}/locations/{location}/workerPools/{workerPoolId}

name str

The WorkerPool resource to execute the build on. You must have cloudbuild.workerpools.use on the project hosting the WorkerPool. Format projects/{project}/locations/{location}/workerPools/{workerPoolId}

name String

The WorkerPool resource to execute the build on. You must have cloudbuild.workerpools.use on the project hosting the WorkerPool. Format projects/{project}/locations/{location}/workerPools/{workerPoolId}

PoolOptionResponse

Name string

The WorkerPool resource to execute the build on. You must have cloudbuild.workerpools.use on the project hosting the WorkerPool. Format projects/{project}/locations/{location}/workerPools/{workerPoolId}

Name string

The WorkerPool resource to execute the build on. You must have cloudbuild.workerpools.use on the project hosting the WorkerPool. Format projects/{project}/locations/{location}/workerPools/{workerPoolId}

name String

The WorkerPool resource to execute the build on. You must have cloudbuild.workerpools.use on the project hosting the WorkerPool. Format projects/{project}/locations/{location}/workerPools/{workerPoolId}

name string

The WorkerPool resource to execute the build on. You must have cloudbuild.workerpools.use on the project hosting the WorkerPool. Format projects/{project}/locations/{location}/workerPools/{workerPoolId}

name str

The WorkerPool resource to execute the build on. You must have cloudbuild.workerpools.use on the project hosting the WorkerPool. Format projects/{project}/locations/{location}/workerPools/{workerPoolId}

name String

The WorkerPool resource to execute the build on. You must have cloudbuild.workerpools.use on the project hosting the WorkerPool. Format projects/{project}/locations/{location}/workerPools/{workerPoolId}

PubsubConfig

ServiceAccountEmail string

Service account that will make the push request.

State Pulumi.GoogleNative.CloudBuild.V1.PubsubConfigState

Potential issues with the underlying Pub/Sub subscription configuration. Only populated on get requests.

Topic string

The name of the topic from which this subscription is receiving messages. Format is projects/{project}/topics/{topic}.

ServiceAccountEmail string

Service account that will make the push request.

State PubsubConfigState

Potential issues with the underlying Pub/Sub subscription configuration. Only populated on get requests.

Topic string

The name of the topic from which this subscription is receiving messages. Format is projects/{project}/topics/{topic}.

serviceAccountEmail String

Service account that will make the push request.

state PubsubConfigState

Potential issues with the underlying Pub/Sub subscription configuration. Only populated on get requests.

topic String

The name of the topic from which this subscription is receiving messages. Format is projects/{project}/topics/{topic}.

serviceAccountEmail string

Service account that will make the push request.

state PubsubConfigState

Potential issues with the underlying Pub/Sub subscription configuration. Only populated on get requests.

topic string

The name of the topic from which this subscription is receiving messages. Format is projects/{project}/topics/{topic}.

service_account_email str

Service account that will make the push request.

state PubsubConfigState

Potential issues with the underlying Pub/Sub subscription configuration. Only populated on get requests.

topic str

The name of the topic from which this subscription is receiving messages. Format is projects/{project}/topics/{topic}.

serviceAccountEmail String

Service account that will make the push request.

state "STATE_UNSPECIFIED" | "OK" | "SUBSCRIPTION_DELETED" | "TOPIC_DELETED" | "SUBSCRIPTION_MISCONFIGURED"

Potential issues with the underlying Pub/Sub subscription configuration. Only populated on get requests.

topic String

The name of the topic from which this subscription is receiving messages. Format is projects/{project}/topics/{topic}.

PubsubConfigResponse

ServiceAccountEmail string

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

Name of the subscription. Format is projects/{project}/subscriptions/{subscription}.

Topic string

The name of the topic from which this subscription is receiving messages. Format is projects/{project}/topics/{topic}.

ServiceAccountEmail string

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

Name of the subscription. Format is projects/{project}/subscriptions/{subscription}.

Topic string

The name of the topic from which this subscription is receiving messages. Format is projects/{project}/topics/{topic}.

serviceAccountEmail String

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

Name of the subscription. Format is projects/{project}/subscriptions/{subscription}.

topic String

The name of the topic from which this subscription is receiving messages. Format is projects/{project}/topics/{topic}.

serviceAccountEmail string

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

Name of the subscription. Format is projects/{project}/subscriptions/{subscription}.

topic string

The name of the topic from which this subscription is receiving messages. Format is projects/{project}/topics/{topic}.

service_account_email str

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

Name of the subscription. Format is projects/{project}/subscriptions/{subscription}.

topic str

The name of the topic from which this subscription is receiving messages. Format is projects/{project}/topics/{topic}.

serviceAccountEmail String

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

Name of the subscription. Format is projects/{project}/subscriptions/{subscription}.

topic String

The name of the topic from which this subscription is receiving messages. Format is projects/{project}/topics/{topic}.

PubsubConfigState

StateUnspecified
STATE_UNSPECIFIED

The subscription configuration has not been checked.

Ok
OK

The Pub/Sub subscription is properly configured.

SubscriptionDeleted
SUBSCRIPTION_DELETED

The subscription has been deleted.

TopicDeleted
TOPIC_DELETED

The topic has been deleted.

SubscriptionMisconfigured
SUBSCRIPTION_MISCONFIGURED

Some of the subscription's field are misconfigured.

PubsubConfigStateStateUnspecified
STATE_UNSPECIFIED

The subscription configuration has not been checked.

PubsubConfigStateOk
OK

The Pub/Sub subscription is properly configured.

PubsubConfigStateSubscriptionDeleted
SUBSCRIPTION_DELETED

The subscription has been deleted.

PubsubConfigStateTopicDeleted
TOPIC_DELETED

The topic has been deleted.

PubsubConfigStateSubscriptionMisconfigured
SUBSCRIPTION_MISCONFIGURED

Some of the subscription's field are misconfigured.

StateUnspecified
STATE_UNSPECIFIED

The subscription configuration has not been checked.

Ok
OK

The Pub/Sub subscription is properly configured.

SubscriptionDeleted
SUBSCRIPTION_DELETED

The subscription has been deleted.

TopicDeleted
TOPIC_DELETED

The topic has been deleted.

SubscriptionMisconfigured
SUBSCRIPTION_MISCONFIGURED

Some of the subscription's field are misconfigured.

StateUnspecified
STATE_UNSPECIFIED

The subscription configuration has not been checked.

Ok
OK

The Pub/Sub subscription is properly configured.

SubscriptionDeleted
SUBSCRIPTION_DELETED

The subscription has been deleted.

TopicDeleted
TOPIC_DELETED

The topic has been deleted.

SubscriptionMisconfigured
SUBSCRIPTION_MISCONFIGURED

Some of the subscription's field are misconfigured.

STATE_UNSPECIFIED
STATE_UNSPECIFIED

The subscription configuration has not been checked.

OK
OK

The Pub/Sub subscription is properly configured.

SUBSCRIPTION_DELETED
SUBSCRIPTION_DELETED

The subscription has been deleted.

TOPIC_DELETED
TOPIC_DELETED

The topic has been deleted.

SUBSCRIPTION_MISCONFIGURED
SUBSCRIPTION_MISCONFIGURED

Some of the subscription's field are misconfigured.

"STATE_UNSPECIFIED"
STATE_UNSPECIFIED

The subscription configuration has not been checked.

"OK"
OK

The Pub/Sub subscription is properly configured.

"SUBSCRIPTION_DELETED"
SUBSCRIPTION_DELETED

The subscription has been deleted.

"TOPIC_DELETED"
TOPIC_DELETED

The topic has been deleted.

"SUBSCRIPTION_MISCONFIGURED"
SUBSCRIPTION_MISCONFIGURED

Some of the subscription's field are misconfigured.

PullRequestFilter

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

CommentControl Pulumi.GoogleNative.CloudBuild.V1.PullRequestFilterCommentControl

Configure builds to run whether a repository owner or collaborator need to comment /gcbrun.

InvertRegex 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

CommentControl PullRequestFilterCommentControl

Configure builds to run whether a repository owner or collaborator need to comment /gcbrun.

InvertRegex 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

commentControl PullRequestFilterCommentControl

Configure builds to run whether a repository owner or collaborator need to comment /gcbrun.

invertRegex 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

commentControl PullRequestFilterCommentControl

Configure builds to run whether a repository owner or collaborator need to comment /gcbrun.

invertRegex 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 PullRequestFilterCommentControl

Configure builds to run whether a repository owner or collaborator need to comment /gcbrun.

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

commentControl "COMMENTS_DISABLED" | "COMMENTS_ENABLED" | "COMMENTS_ENABLED_FOR_EXTERNAL_CONTRIBUTORS_ONLY"

Configure builds to run whether a repository owner or collaborator need to comment /gcbrun.

invertRegex Boolean

If true, branches that do NOT match the git_ref will trigger a build.

PullRequestFilterCommentControl

CommentsDisabled
COMMENTS_DISABLED

Do not require comments on Pull Requests before builds are triggered.

CommentsEnabled
COMMENTS_ENABLED

Enforce that repository owners or collaborators must comment on Pull Requests before builds are triggered.

CommentsEnabledForExternalContributorsOnly
COMMENTS_ENABLED_FOR_EXTERNAL_CONTRIBUTORS_ONLY

Enforce that repository owners or collaborators must comment on external contributors' Pull Requests before builds are triggered.

PullRequestFilterCommentControlCommentsDisabled
COMMENTS_DISABLED

Do not require comments on Pull Requests before builds are triggered.

PullRequestFilterCommentControlCommentsEnabled
COMMENTS_ENABLED

Enforce that repository owners or collaborators must comment on Pull Requests before builds are triggered.

PullRequestFilterCommentControlCommentsEnabledForExternalContributorsOnly
COMMENTS_ENABLED_FOR_EXTERNAL_CONTRIBUTORS_ONLY

Enforce that repository owners or collaborators must comment on external contributors' Pull Requests before builds are triggered.

CommentsDisabled
COMMENTS_DISABLED

Do not require comments on Pull Requests before builds are triggered.

CommentsEnabled
COMMENTS_ENABLED

Enforce that repository owners or collaborators must comment on Pull Requests before builds are triggered.

CommentsEnabledForExternalContributorsOnly
COMMENTS_ENABLED_FOR_EXTERNAL_CONTRIBUTORS_ONLY

Enforce that repository owners or collaborators must comment on external contributors' Pull Requests before builds are triggered.

CommentsDisabled
COMMENTS_DISABLED

Do not require comments on Pull Requests before builds are triggered.

CommentsEnabled
COMMENTS_ENABLED

Enforce that repository owners or collaborators must comment on Pull Requests before builds are triggered.

CommentsEnabledForExternalContributorsOnly
COMMENTS_ENABLED_FOR_EXTERNAL_CONTRIBUTORS_ONLY

Enforce that repository owners or collaborators must comment on external contributors' Pull Requests before builds are triggered.

COMMENTS_DISABLED
COMMENTS_DISABLED

Do not require comments on Pull Requests before builds are triggered.

COMMENTS_ENABLED
COMMENTS_ENABLED

Enforce that repository owners or collaborators must comment on Pull Requests before builds are triggered.

COMMENTS_ENABLED_FOR_EXTERNAL_CONTRIBUTORS_ONLY
COMMENTS_ENABLED_FOR_EXTERNAL_CONTRIBUTORS_ONLY

Enforce that repository owners or collaborators must comment on external contributors' Pull Requests before builds are triggered.

"COMMENTS_DISABLED"
COMMENTS_DISABLED

Do not require comments on Pull Requests before builds are triggered.

"COMMENTS_ENABLED"
COMMENTS_ENABLED

Enforce that repository owners or collaborators must comment on Pull Requests before builds are triggered.

"COMMENTS_ENABLED_FOR_EXTERNAL_CONTRIBUTORS_ONLY"
COMMENTS_ENABLED_FOR_EXTERNAL_CONTRIBUTORS_ONLY

Enforce that repository owners or collaborators must comment on external contributors' Pull Requests before builds are triggered.

PullRequestFilterResponse

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

CommentControl string

Configure builds to run whether a repository owner or collaborator need to comment /gcbrun.

InvertRegex 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

CommentControl string

Configure builds to run whether a repository owner or collaborator need to comment /gcbrun.

InvertRegex 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

commentControl String

Configure builds to run whether a repository owner or collaborator need to comment /gcbrun.

invertRegex 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

commentControl string

Configure builds to run whether a repository owner or collaborator need to comment /gcbrun.

invertRegex 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.

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

commentControl String

Configure builds to run whether a repository owner or collaborator need to comment /gcbrun.

invertRegex Boolean

If true, branches that do NOT match the git_ref will trigger a build.

PushFilter

Branch string

Regexes matching branches to build. The syntax of the regular expressions accepted is the syntax accepted by RE2 and described at https://github.com/google/re2/wiki/Syntax

InvertRegex bool

When true, only trigger a build if the revision regex does NOT match the git_ref regex.

Tag string

Regexes matching tags to build. 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

Regexes matching branches to build. The syntax of the regular expressions accepted is the syntax accepted by RE2 and described at https://github.com/google/re2/wiki/Syntax

InvertRegex bool

When true, only trigger a build if the revision regex does NOT match the git_ref regex.

Tag string

Regexes matching tags to build. 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

Regexes matching branches to build. The syntax of the regular expressions accepted is the syntax accepted by RE2 and described at https://github.com/google/re2/wiki/Syntax

invertRegex Boolean

When true, only trigger a build if the revision regex does NOT match the git_ref regex.

tag String

Regexes matching tags to build. 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

Regexes matching branches to build. The syntax of the regular expressions accepted is the syntax accepted by RE2 and described at https://github.com/google/re2/wiki/Syntax

invertRegex boolean

When true, only trigger a build if the revision regex does NOT match the git_ref regex.

tag string

Regexes matching tags to build. 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

Regexes matching branches to build. 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

When true, only trigger a build if the revision regex does NOT match the git_ref regex.

tag str

Regexes matching tags to build. 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

Regexes matching branches to build. The syntax of the regular expressions accepted is the syntax accepted by RE2 and described at https://github.com/google/re2/wiki/Syntax

invertRegex Boolean

When true, only trigger a build if the revision regex does NOT match the git_ref regex.

tag String

Regexes matching tags to build. The syntax of the regular expressions accepted is the syntax accepted by RE2 and described at https://github.com/google/re2/wiki/Syntax

PushFilterResponse

Branch string

Regexes matching branches to build. The syntax of the regular expressions accepted is the syntax accepted by RE2 and described at https://github.com/google/re2/wiki/Syntax

InvertRegex bool

When true, only trigger a build if the revision regex does NOT match the git_ref regex.

Tag string

Regexes matching tags to build. 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

Regexes matching branches to build. The syntax of the regular expressions accepted is the syntax accepted by RE2 and described at https://github.com/google/re2/wiki/Syntax

InvertRegex bool

When true, only trigger a build if the revision regex does NOT match the git_ref regex.

Tag string

Regexes matching tags to build. 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

Regexes matching branches to build. The syntax of the regular expressions accepted is the syntax accepted by RE2 and described at https://github.com/google/re2/wiki/Syntax

invertRegex Boolean

When true, only trigger a build if the revision regex does NOT match the git_ref regex.

tag String

Regexes matching tags to build. 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

Regexes matching branches to build. The syntax of the regular expressions accepted is the syntax accepted by RE2 and described at https://github.com/google/re2/wiki/Syntax

invertRegex boolean

When true, only trigger a build if the revision regex does NOT match the git_ref regex.

tag string

Regexes matching tags to build. 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

Regexes matching branches to build. 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

When true, only trigger a build if the revision regex does NOT match the git_ref regex.

tag str

Regexes matching tags to build. 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

Regexes matching branches to build. The syntax of the regular expressions accepted is the syntax accepted by RE2 and described at https://github.com/google/re2/wiki/Syntax

invertRegex Boolean

When true, only trigger a build if the revision regex does NOT match the git_ref regex.

tag String

Regexes matching tags to build. The syntax of the regular expressions accepted is the syntax accepted by RE2 and described at https://github.com/google/re2/wiki/Syntax

PythonPackage

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.

PythonPackageResponse

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.

RepoSource

BranchName string

Regex matching branches to build. The syntax of the regular expressions accepted is the syntax accepted by RE2 and described at https://github.com/google/re2/wiki/Syntax

CommitSha string

Explicit commit SHA to build.

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.

InvertRegex bool

Only trigger a build if the revision regex does NOT match the revision regex.

Project string

ID of the project that owns the Cloud Source Repository. If omitted, the project ID requesting the build is assumed.

RepoName string

Name of the Cloud Source Repository.

Substitutions Dictionary<string, string>

Substitutions to use in a triggered build. Should only be used with RunBuildTrigger

TagName string

Regex matching tags to build. The syntax of the regular expressions accepted is the syntax accepted by RE2 and described at https://github.com/google/re2/wiki/Syntax

BranchName string

Regex matching branches to build. The syntax of the regular expressions accepted is the syntax accepted by RE2 and described at https://github.com/google/re2/wiki/Syntax

CommitSha string

Explicit commit SHA to build.

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.

InvertRegex bool

Only trigger a build if the revision regex does NOT match the revision regex.

Project string

ID of the project that owns the Cloud Source Repository. If omitted, the project ID requesting the build is assumed.

RepoName string

Name of the Cloud Source Repository.

Substitutions map[string]string

Substitutions to use in a triggered build. Should only be used with RunBuildTrigger

TagName string

Regex matching tags to build. The syntax of the regular expressions accepted is the syntax accepted by RE2 and described at https://github.com/google/re2/wiki/Syntax

branchName String

Regex matching branches to build. The syntax of the regular expressions accepted is the syntax accepted by RE2 and described at https://github.com/google/re2/wiki/Syntax

commitSha String

Explicit commit SHA to build.

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.

invertRegex Boolean

Only trigger a build if the revision regex does NOT match the revision regex.

project String

ID of the project that owns the Cloud Source Repository. If omitted, the project ID requesting the build is assumed.

repoName String

Name of the Cloud Source Repository.

substitutions Map<String,String>

Substitutions to use in a triggered build. Should only be used with RunBuildTrigger

tagName String

Regex matching tags to build. The syntax of the regular expressions accepted is the syntax accepted by RE2 and described at https://github.com/google/re2/wiki/Syntax

branchName string

Regex matching branches to build. The syntax of the regular expressions accepted is the syntax accepted by RE2 and described at https://github.com/google/re2/wiki/Syntax

commitSha string

Explicit commit SHA to build.

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.

invertRegex boolean

Only trigger a build if the revision regex does NOT match the revision regex.

project string

ID of the project that owns the Cloud Source Repository. If omitted, the project ID requesting the build is assumed.

repoName string

Name of the Cloud Source Repository.

substitutions {[key: string]: string}

Substitutions to use in a triggered build. Should only be used with RunBuildTrigger

tagName string

Regex matching tags to build. 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. 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.

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 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 RunBuildTrigger

tag_name str

Regex matching tags to build. The syntax of the regular expressions accepted is the syntax accepted by RE2 and described at https://github.com/google/re2/wiki/Syntax

branchName String

Regex matching branches to build. The syntax of the regular expressions accepted is the syntax accepted by RE2 and described at https://github.com/google/re2/wiki/Syntax

commitSha String

Explicit commit SHA to build.

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.

invertRegex Boolean

Only trigger a build if the revision regex does NOT match the revision regex.

project String

ID of the project that owns the Cloud Source Repository. If omitted, the project ID requesting the build is assumed.

repoName String

Name of the Cloud Source Repository.

substitutions Map<String>

Substitutions to use in a triggered build. Should only be used with RunBuildTrigger

tagName String

Regex matching tags to build. The syntax of the regular expressions accepted is the syntax accepted by RE2 and described at https://github.com/google/re2/wiki/Syntax

RepoSourceResponse

BranchName string

Regex matching branches to build. The syntax of the regular expressions accepted is the syntax accepted by RE2 and described at https://github.com/google/re2/wiki/Syntax

CommitSha string

Explicit commit SHA to build.

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.

InvertRegex bool

Only trigger a build if the revision regex does NOT match the revision regex.

Project string

ID of the project that owns the Cloud Source Repository. If omitted, the project ID requesting the build is assumed.

RepoName string

Name of the Cloud Source Repository.

Substitutions Dictionary<string, string>

Substitutions to use in a triggered build. Should only be used with RunBuildTrigger

TagName string

Regex matching tags to build. The syntax of the regular expressions accepted is the syntax accepted by RE2 and described at https://github.com/google/re2/wiki/Syntax

BranchName string

Regex matching branches to build. The syntax of the regular expressions accepted is the syntax accepted by RE2 and described at https://github.com/google/re2/wiki/Syntax

CommitSha string

Explicit commit SHA to build.

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.

InvertRegex bool

Only trigger a build if the revision regex does NOT match the revision regex.

Project string

ID of the project that owns the Cloud Source Repository. If omitted, the project ID requesting the build is assumed.

RepoName string

Name of the Cloud Source Repository.

Substitutions map[string]string

Substitutions to use in a triggered build. Should only be used with RunBuildTrigger

TagName string

Regex matching tags to build. The syntax of the regular expressions accepted is the syntax accepted by RE2 and described at https://github.com/google/re2/wiki/Syntax

branchName String

Regex matching branches to build. The syntax of the regular expressions accepted is the syntax accepted by RE2 and described at https://github.com/google/re2/wiki/Syntax

commitSha String

Explicit commit SHA to build.

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.

invertRegex Boolean

Only trigger a build if the revision regex does NOT match the revision regex.

project String

ID of the project that owns the Cloud Source Repository. If omitted, the project ID requesting the build is assumed.

repoName String

Name of the Cloud Source Repository.

substitutions Map<String,String>

Substitutions to use in a triggered build. Should only be used with RunBuildTrigger

tagName String

Regex matching tags to build. The syntax of the regular expressions accepted is the syntax accepted by RE2 and described at https://github.com/google/re2/wiki/Syntax

branchName string

Regex matching branches to build. The syntax of the regular expressions accepted is the syntax accepted by RE2 and described at https://github.com/google/re2/wiki/Syntax

commitSha string

Explicit commit SHA to build.

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.

invertRegex boolean

Only trigger a build if the revision regex does NOT match the revision regex.

project string

ID of the project that owns the Cloud Source Repository. If omitted, the project ID requesting the build is assumed.

repoName string

Name of the Cloud Source Repository.

substitutions {[key: string]: string}

Substitutions to use in a triggered build. Should only be used with RunBuildTrigger

tagName string

Regex matching tags to build. 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. 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.

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 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 RunBuildTrigger

tag_name str

Regex matching tags to build. The syntax of the regular expressions accepted is the syntax accepted by RE2 and described at https://github.com/google/re2/wiki/Syntax

branchName String

Regex matching branches to build. The syntax of the regular expressions accepted is the syntax accepted by RE2 and described at https://github.com/google/re2/wiki/Syntax

commitSha String

Explicit commit SHA to build.

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.

invertRegex Boolean

Only trigger a build if the revision regex does NOT match the revision regex.

project String

ID of the project that owns the Cloud Source Repository. If omitted, the project ID requesting the build is assumed.

repoName String

Name of the Cloud Source Repository.

substitutions Map<String>

Substitutions to use in a triggered build. Should only be used with RunBuildTrigger

tagName String

Regex matching tags to build. The syntax of the regular expressions accepted is the syntax accepted by RE2 and described at https://github.com/google/re2/wiki/Syntax

RepositoryEventConfig

PullRequest Pulumi.GoogleNative.CloudBuild.V1.Inputs.PullRequestFilter

Filter to match changes in pull requests.

Push Pulumi.GoogleNative.CloudBuild.V1.Inputs.PushFilter

Filter to match changes in refs like branches, tags.

Repository string

The resource name of the Repo API resource.

PullRequest PullRequestFilter

Filter to match changes in pull requests.

Push PushFilter

Filter to match changes in refs like branches, tags.

Repository string

The resource name of the Repo API resource.

pullRequest PullRequestFilter

Filter to match changes in pull requests.

push PushFilter

Filter to match changes in refs like branches, tags.

repository String

The resource name of the Repo API resource.

pullRequest PullRequestFilter

Filter to match changes in pull requests.

push PushFilter

Filter to match changes in refs like branches, tags.

repository string

The resource name of the Repo API resource.

pull_request PullRequestFilter

Filter to match changes in pull requests.

push PushFilter

Filter to match changes in refs like branches, tags.

repository str

The resource name of the Repo API resource.

pullRequest Property Map

Filter to match changes in pull requests.

push Property Map

Filter to match changes in refs like branches, tags.

repository String

The resource name of the Repo API resource.

RepositoryEventConfigResponse

PullRequest Pulumi.GoogleNative.CloudBuild.V1.Inputs.PullRequestFilterResponse

Filter to match changes in pull requests.

Push Pulumi.GoogleNative.CloudBuild.V1.Inputs.PushFilterResponse

Filter to match changes in refs like branches, tags.

Repository string

The resource name of the Repo API resource.

RepositoryType string

The type of the SCM vendor the repository points to.

PullRequest PullRequestFilterResponse

Filter to match changes in pull requests.

Push PushFilterResponse

Filter to match changes in refs like branches, tags.

Repository string

The resource name of the Repo API resource.

RepositoryType string

The type of the SCM vendor the repository points to.

pullRequest PullRequestFilterResponse

Filter to match changes in pull requests.

push PushFilterResponse

Filter to match changes in refs like branches, tags.

repository String

The resource name of the Repo API resource.

repositoryType String

The type of the SCM vendor the repository points to.

pullRequest PullRequestFilterResponse

Filter to match changes in pull requests.

push PushFilterResponse

Filter to match changes in refs like branches, tags.

repository string

The resource name of the Repo API resource.

repositoryType string

The type of the SCM vendor the repository points to.

pull_request PullRequestFilterResponse

Filter to match changes in pull requests.

push PushFilterResponse

Filter to match changes in refs like branches, tags.

repository str

The resource name of the Repo API resource.

repository_type str

The type of the SCM vendor the repository points to.

pullRequest Property Map

Filter to match changes in pull requests.

push Property Map

Filter to match changes in refs like branches, tags.

repository String

The resource name of the Repo API resource.

repositoryType String

The type of the SCM vendor the repository points to.

ResultsResponse

ArtifactManifest string

Path to the artifact manifest for non-container artifacts uploaded to Cloud Storage. Only populated when artifacts are uploaded to Cloud Storage.

ArtifactTiming Pulumi.GoogleNative.CloudBuild.V1.Inputs.TimeSpanResponse

Time to push all non-container artifacts to Cloud Storage.

BuildStepImages List<string>

List of build step digests, in the order corresponding to build step indices.

BuildStepOutputs List<string>

List of build step outputs, produced by builder images, in the order corresponding to build step indices. Cloud Builders can produce this output by writing to $BUILDER_OUTPUT/output. Only the first 4KB of data is stored.

Images List<Pulumi.GoogleNative.CloudBuild.V1.Inputs.BuiltImageResponse>

Container images that were built as a part of the build.

MavenArtifacts List<Pulumi.GoogleNative.CloudBuild.V1.Inputs.UploadedMavenArtifactResponse>

Maven artifacts uploaded to Artifact Registry at the end of the build.

NumArtifacts string

Number of non-container artifacts uploaded to Cloud Storage. Only populated when artifacts are uploaded to Cloud Storage.

PythonPackages List<Pulumi.GoogleNative.CloudBuild.V1.Inputs.UploadedPythonPackageResponse>

Python artifacts uploaded to Artifact Registry at the end of the build.

ArtifactManifest string

Path to the artifact manifest for non-container artifacts uploaded to Cloud Storage. Only populated when artifacts are uploaded to Cloud Storage.

ArtifactTiming TimeSpanResponse

Time to push all non-container artifacts to Cloud Storage.

BuildStepImages []string

List of build step digests, in the order corresponding to build step indices.

BuildStepOutputs []string

List of build step outputs, produced by builder images, in the order corresponding to build step indices. Cloud Builders can produce this output by writing to $BUILDER_OUTPUT/output. Only the first 4KB of data is stored.

Images []BuiltImageResponse

Container images that were built as a part of the build.

MavenArtifacts []UploadedMavenArtifactResponse

Maven artifacts uploaded to Artifact Registry at the end of the build.

NumArtifacts string

Number of non-container artifacts uploaded to Cloud Storage. Only populated when artifacts are uploaded to Cloud Storage.

PythonPackages []UploadedPythonPackageResponse

Python artifacts uploaded to Artifact Registry at the end of the build.

artifactManifest String

Path to the artifact manifest for non-container artifacts uploaded to Cloud Storage. Only populated when artifacts are uploaded to Cloud Storage.

artifactTiming TimeSpanResponse

Time to push all non-container artifacts to Cloud Storage.

buildStepImages List<String>

List of build step digests, in the order corresponding to build step indices.

buildStepOutputs List<String>

List of build step outputs, produced by builder images, in the order corresponding to build step indices. Cloud Builders can produce this output by writing to $BUILDER_OUTPUT/output. Only the first 4KB of data is stored.

images List<BuiltImageResponse>

Container images that were built as a part of the build.

mavenArtifacts List<UploadedMavenArtifactResponse>

Maven artifacts uploaded to Artifact Registry at the end of the build.

numArtifacts String

Number of non-container artifacts uploaded to Cloud Storage. Only populated when artifacts are uploaded to Cloud Storage.

pythonPackages List<UploadedPythonPackageResponse>

Python artifacts uploaded to Artifact Registry at the end of the build.

artifactManifest string

Path to the artifact manifest for non-container artifacts uploaded to Cloud Storage. Only populated when artifacts are uploaded to Cloud Storage.

artifactTiming TimeSpanResponse

Time to push all non-container artifacts to Cloud Storage.

buildStepImages string[]

List of build step digests, in the order corresponding to build step indices.

buildStepOutputs string[]

List of build step outputs, produced by builder images, in the order corresponding to build step indices. Cloud Builders can produce this output by writing to $BUILDER_OUTPUT/output. Only the first 4KB of data is stored.

images BuiltImageResponse[]

Container images that were built as a part of the build.

mavenArtifacts UploadedMavenArtifactResponse[]

Maven artifacts uploaded to Artifact Registry at the end of the build.

numArtifacts string

Number of non-container artifacts uploaded to Cloud Storage. Only populated when artifacts are uploaded to Cloud Storage.

pythonPackages UploadedPythonPackageResponse[]

Python artifacts uploaded to Artifact Registry at the end of the build.

artifact_manifest str

Path to the artifact manifest for non-container artifacts uploaded to Cloud Storage. Only populated when artifacts are uploaded to Cloud Storage.

artifact_timing TimeSpanResponse

Time to push all non-container artifacts to Cloud Storage.

build_step_images Sequence[str]

List of build step digests, in the order corresponding to build step indices.

build_step_outputs Sequence[str]

List of build step outputs, produced by builder images, in the order corresponding to build step indices. Cloud Builders can produce this output by writing to $BUILDER_OUTPUT/output. Only the first 4KB of data is stored.

images Sequence[BuiltImageResponse]

Container images that were built as a part of the build.

maven_artifacts Sequence[UploadedMavenArtifactResponse]

Maven artifacts uploaded to Artifact Registry at the end of the build.

num_artifacts str

Number of non-container artifacts uploaded to Cloud Storage. Only populated when artifacts are uploaded to Cloud Storage.

python_packages Sequence[UploadedPythonPackageResponse]

Python artifacts uploaded to Artifact Registry at the end of the build.

artifactManifest String

Path to the artifact manifest for non-container artifacts uploaded to Cloud Storage. Only populated when artifacts are uploaded to Cloud Storage.

artifactTiming Property Map

Time to push all non-container artifacts to Cloud Storage.

buildStepImages List<String>

List of build step digests, in the order corresponding to build step indices.

buildStepOutputs List<String>

List of build step outputs, produced by builder images, in the order corresponding to build step indices. Cloud Builders can produce this output by writing to $BUILDER_OUTPUT/output. Only the first 4KB of data is stored.

images List<Property Map>

Container images that were built as a part of the build.

mavenArtifacts List<Property Map>

Maven artifacts uploaded to Artifact Registry at the end of the build.

numArtifacts String

Number of non-container artifacts uploaded to Cloud Storage. Only populated when artifacts are uploaded to Cloud Storage.

pythonPackages List<Property Map>

Python artifacts uploaded to Artifact Registry at the end of the build.

Secret

KmsKeyName string

Cloud KMS key name to use to decrypt these envs.

SecretEnv 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.

KmsKeyName string

Cloud KMS key name to use to decrypt these envs.

SecretEnv 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.

kmsKeyName String

Cloud KMS key name to use to decrypt these envs.

secretEnv 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.

kmsKeyName string

Cloud KMS key name to use to decrypt these envs.

secretEnv {[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_name str

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.

kmsKeyName String

Cloud KMS key name to use to decrypt these envs.

secretEnv 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.

SecretManagerSecret

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.

VersionName 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.

VersionName 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.

versionName 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.

versionName 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.

versionName String

Resource name of the SecretVersion. In format: projects//secrets//versions/*

SecretManagerSecretResponse

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.

VersionName 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.

VersionName 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.

versionName 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.

versionName 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.

versionName String

Resource name of the SecretVersion. In format: projects//secrets//versions/*

SecretResponse

KmsKeyName string

Cloud KMS key name to use to decrypt these envs.

SecretEnv 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.

KmsKeyName string

Cloud KMS key name to use to decrypt these envs.

SecretEnv 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.

kmsKeyName String

Cloud KMS key name to use to decrypt these envs.

secretEnv 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.

kmsKeyName string

Cloud KMS key name to use to decrypt these envs.

secretEnv {[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_name str

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.

kmsKeyName String

Cloud KMS key name to use to decrypt these envs.

secretEnv 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.

Secrets

Inline List<Pulumi.GoogleNative.CloudBuild.V1.Inputs.InlineSecret>

Secrets encrypted with KMS key and the associated secret environment variable.