Google Cloud Native is in preview. Google Cloud Classic is fully supported.
Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi
google-native.cloudbuild/v1.getTrigger
Explore with Pulumi AI
Google Cloud Native is in preview. Google Cloud Classic is fully supported.
Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi
Returns information about a BuildTrigger
.
Using getTrigger
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getTrigger(args: GetTriggerArgs, opts?: InvokeOptions): Promise<GetTriggerResult>
function getTriggerOutput(args: GetTriggerOutputArgs, opts?: InvokeOptions): Output<GetTriggerResult>
def get_trigger(location: Optional[str] = None,
project: Optional[str] = None,
project_id: Optional[str] = None,
trigger_id: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetTriggerResult
def get_trigger_output(location: Optional[pulumi.Input[str]] = None,
project: Optional[pulumi.Input[str]] = None,
project_id: Optional[pulumi.Input[str]] = None,
trigger_id: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetTriggerResult]
func LookupTrigger(ctx *Context, args *LookupTriggerArgs, opts ...InvokeOption) (*LookupTriggerResult, error)
func LookupTriggerOutput(ctx *Context, args *LookupTriggerOutputArgs, opts ...InvokeOption) LookupTriggerResultOutput
> Note: This function is named LookupTrigger
in the Go SDK.
public static class GetTrigger
{
public static Task<GetTriggerResult> InvokeAsync(GetTriggerArgs args, InvokeOptions? opts = null)
public static Output<GetTriggerResult> Invoke(GetTriggerInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetTriggerResult> getTrigger(GetTriggerArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: google-native:cloudbuild/v1:getTrigger
arguments:
# arguments dictionary
The following arguments are supported:
- location str
- project_
id str - trigger_
id str - project str
getTrigger Result
The following output properties are available:
- Approval
Config Pulumi.Google Native. Cloud Build. V1. Outputs. Approval Config Response - 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 Pulumi.Trigger Config Google Native. Cloud Build. V1. Outputs. Bitbucket Server Trigger Config Response - BitbucketServerTriggerConfig describes the configuration of a trigger that creates a build whenever a Bitbucket Server event is received.
- Build
Pulumi.
Google Native. Cloud Build. V1. Outputs. Build Response - Contents of the build template.
- Create
Time string - Time when the trigger was created.
- Description string
- Human-readable description of this trigger.
- Disabled bool
- If true, the trigger will never automatically execute a build.
- Event
Type string - 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.
- Git
File Pulumi.Source Google Native. Cloud Build. V1. Outputs. Git File Source Response - The file source describing the local or remote Build template.
- Github
Pulumi.
Google Native. Cloud Build. V1. Outputs. Git Hub Events Config Response - GitHubEventsConfig describes the configuration of a trigger that creates a build whenever a GitHub event is received. Mutually exclusive with
trigger_template
. - Gitlab
Enterprise Pulumi.Events Config Google Native. Cloud Build. V1. Outputs. Git Lab Events Config Response - GitLabEnterpriseEventsConfig describes the configuration of a trigger that creates a build whenever a GitLab Enterprise event is received.
- Ignored
Files 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.
- Include
Build stringLogs - 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 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.
- 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.
- Pubsub
Config Pulumi.Google Native. Cloud Build. V1. Outputs. Pubsub Config Response - PubsubConfig describes the configuration of a trigger that creates a build whenever a Pub/Sub message is published.
- Repository
Event Pulumi.Config Google Native. Cloud Build. V1. Outputs. Repository Event Config Response - The configuration of a trigger that creates a build whenever an event from Repo API is received.
- Resource
Name string - The
Trigger
name with format:projects/{project}/locations/{location}/triggers/{trigger}
, where {trigger} is a unique identifier generated by the service. - Service
Account 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}
- Source
To Pulumi.Build Google Native. Cloud Build. V1. Outputs. Git Repo Source Response - 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_]+$
. - List<string>
- Tags for annotation of a
BuildTrigger
- Trigger
Template Pulumi.Google Native. Cloud Build. V1. Outputs. Repo Source Response - 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 Pulumi.Google Native. Cloud Build. V1. Outputs. Webhook Config Response - WebhookConfig describes the configuration of a trigger that creates a build whenever a webhook is sent to a trigger's webhook URL.
- Approval
Config ApprovalConfig Response - 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 BitbucketTrigger Config Server Trigger Config Response - BitbucketServerTriggerConfig describes the configuration of a trigger that creates a build whenever a Bitbucket Server event is received.
- Build
Build
Response - Contents of the build template.
- Create
Time string - Time when the trigger was created.
- Description string
- Human-readable description of this trigger.
- Disabled bool
- If true, the trigger will never automatically execute a build.
- Event
Type string - 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.
- Git
File GitSource File Source Response - The file source describing the local or remote Build template.
- Github
Git
Hub Events Config Response - GitHubEventsConfig describes the configuration of a trigger that creates a build whenever a GitHub event is received. Mutually exclusive with
trigger_template
. - Gitlab
Enterprise GitEvents Config Lab Events Config Response - GitLabEnterpriseEventsConfig describes the configuration of a trigger that creates a build whenever a GitLab Enterprise event is received.
- Ignored
Files []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.
- Include
Build stringLogs - 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 []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.
- 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.
- Pubsub
Config PubsubConfig Response - PubsubConfig describes the configuration of a trigger that creates a build whenever a Pub/Sub message is published.
- Repository
Event RepositoryConfig Event Config Response - The configuration of a trigger that creates a build whenever an event from Repo API is received.
- Resource
Name string - The
Trigger
name with format:projects/{project}/locations/{location}/triggers/{trigger}
, where {trigger} is a unique identifier generated by the service. - Service
Account 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}
- Source
To GitBuild Repo Source Response - 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_]+$
. - []string
- Tags for annotation of a
BuildTrigger
- Trigger
Template RepoSource Response - 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 WebhookConfig Response - WebhookConfig describes the configuration of a trigger that creates a build whenever a webhook is sent to a trigger's webhook URL.
- approval
Config ApprovalConfig Response - 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.
- bitbucket
Server BitbucketTrigger Config Server Trigger Config Response - BitbucketServerTriggerConfig describes the configuration of a trigger that creates a build whenever a Bitbucket Server event is received.
- build
Build
Response - Contents of the build template.
- create
Time String - Time when the trigger was created.
- description String
- Human-readable description of this trigger.
- disabled Boolean
- If true, the trigger will never automatically execute a build.
- event
Type String - 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.
- git
File GitSource File Source Response - The file source describing the local or remote Build template.
- github
Git
Hub Events Config Response - GitHubEventsConfig describes the configuration of a trigger that creates a build whenever a GitHub event is received. Mutually exclusive with
trigger_template
. - gitlab
Enterprise GitEvents Config Lab Events Config Response - GitLabEnterpriseEventsConfig describes the configuration of a trigger that creates a build whenever a GitLab Enterprise event is received.
- ignored
Files 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.
- include
Build StringLogs - 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 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.
- 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.
- pubsub
Config PubsubConfig Response - PubsubConfig describes the configuration of a trigger that creates a build whenever a Pub/Sub message is published.
- repository
Event RepositoryConfig Event Config Response - The configuration of a trigger that creates a build whenever an event from Repo API is received.
- resource
Name String - The
Trigger
name with format:projects/{project}/locations/{location}/triggers/{trigger}
, where {trigger} is a unique identifier generated by the service. - service
Account 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}
- source
To GitBuild Repo Source Response - 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_]+$
. - List<String>
- Tags for annotation of a
BuildTrigger
- trigger
Template RepoSource Response - 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 WebhookConfig Response - WebhookConfig describes the configuration of a trigger that creates a build whenever a webhook is sent to a trigger's webhook URL.
- approval
Config ApprovalConfig Response - 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.
- bitbucket
Server BitbucketTrigger Config Server Trigger Config Response - BitbucketServerTriggerConfig describes the configuration of a trigger that creates a build whenever a Bitbucket Server event is received.
- build
Build
Response - Contents of the build template.
- create
Time string - Time when the trigger was created.
- description string
- Human-readable description of this trigger.
- disabled boolean
- If true, the trigger will never automatically execute a build.
- event
Type string - 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.
- git
File GitSource File Source Response - The file source describing the local or remote Build template.
- github
Git
Hub Events Config Response - GitHubEventsConfig describes the configuration of a trigger that creates a build whenever a GitHub event is received. Mutually exclusive with
trigger_template
. - gitlab
Enterprise GitEvents Config Lab Events Config Response - GitLabEnterpriseEventsConfig describes the configuration of a trigger that creates a build whenever a GitLab Enterprise event is received.
- ignored
Files 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.
- include
Build stringLogs - 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 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.
- 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.
- pubsub
Config PubsubConfig Response - PubsubConfig describes the configuration of a trigger that creates a build whenever a Pub/Sub message is published.
- repository
Event RepositoryConfig Event Config Response - The configuration of a trigger that creates a build whenever an event from Repo API is received.
- resource
Name string - The
Trigger
name with format:projects/{project}/locations/{location}/triggers/{trigger}
, where {trigger} is a unique identifier generated by the service. - service
Account 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}
- source
To GitBuild Repo Source Response - 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_]+$
. - string[]
- Tags for annotation of a
BuildTrigger
- trigger
Template RepoSource Response - 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 WebhookConfig Response - WebhookConfig describes the configuration of a trigger that creates a build whenever a webhook is sent to a trigger's webhook URL.
- approval_
config ApprovalConfig Response - 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_ Bitbuckettrigger_ config Server Trigger Config Response - BitbucketServerTriggerConfig describes the configuration of a trigger that creates a build whenever a Bitbucket Server event is received.
- build
Build
Response - Contents of the build template.
- create_
time str - Time when the trigger was created.
- description str
- Human-readable description of this trigger.
- disabled bool
- If true, the trigger will never automatically execute a build.
- event_
type str - 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_ Gitsource File Source Response - The file source describing the local or remote Build template.
- github
Git
Hub Events Config Response - GitHubEventsConfig describes the configuration of a trigger that creates a build whenever a GitHub event is received. Mutually exclusive with
trigger_template
. - gitlab_
enterprise_ Gitevents_ config Lab Events Config Response - 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_ strlogs - 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.
- 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.
- pubsub_
config PubsubConfig Response - PubsubConfig describes the configuration of a trigger that creates a build whenever a Pub/Sub message is published.
- repository_
event_ Repositoryconfig Event Config Response - 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_ Gitbuild Repo Source Response - 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_]+$
. - Sequence[str]
- Tags for annotation of a
BuildTrigger
- trigger_
template RepoSource Response - 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 WebhookConfig Response - WebhookConfig describes the configuration of a trigger that creates a build whenever a webhook is sent to a trigger's webhook URL.
- approval
Config 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.
- bitbucket
Server Property MapTrigger Config - 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.
- create
Time String - Time when the trigger was created.
- description String
- Human-readable description of this trigger.
- disabled Boolean
- If true, the trigger will never automatically execute a build.
- event
Type String - 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.
- git
File Property MapSource - 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
. - gitlab
Enterprise Property MapEvents Config - GitLabEnterpriseEventsConfig describes the configuration of a trigger that creates a build whenever a GitLab Enterprise event is received.
- ignored
Files 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.
- include
Build StringLogs - 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 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.
- 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.
- pubsub
Config Property Map - PubsubConfig describes the configuration of a trigger that creates a build whenever a Pub/Sub message is published.
- repository
Event Property MapConfig - The configuration of a trigger that creates a build whenever an event from Repo API is received.
- resource
Name String - The
Trigger
name with format:projects/{project}/locations/{location}/triggers/{trigger}
, where {trigger} is a unique identifier generated by the service. - service
Account 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}
- source
To Property MapBuild - 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_]+$
. - List<String>
- Tags for annotation of a
BuildTrigger
- trigger
Template 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
. - webhook
Config Property Map - WebhookConfig describes the configuration of a trigger that creates a build whenever a webhook is sent to a trigger's webhook URL.
Supporting Types
ApprovalConfigResponse
- 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.
- 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.
- approval
Required 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 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.
- approval
Required 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
- Approval
Time string - The time when the approval decision was made.
- Approver
Account 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 string - The time when the approval decision was made.
- Approver
Account 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 String - The time when the approval decision was made.
- approver
Account 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 string - The time when the approval decision was made.
- approver
Account 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.
- approval
Time String - The time when the approval decision was made.
- approver
Account 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.
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.
Google Native. Cloud Build. V1. Inputs. Time Span Response - 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
Time
Span Response - 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
Time
Span Response - 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
Time
Span Response - 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
Time
Span Response - 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.
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.
- Maven
Artifacts List<Pulumi.Google Native. Cloud Build. V1. Inputs. Maven Artifact Response> - 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.
- Npm
Packages List<Pulumi.Google Native. Cloud Build. V1. Inputs. Npm Package Response> - A list of npm packages to be uploaded to Artifact Registry upon successful completion of all build steps. Npm packages in the specified paths will be uploaded to the specified Artifact Registry repository using the builder service account's credentials. If any packages fail to be pushed, the build is marked FAILURE.
- Objects
Pulumi.
Google Native. Cloud Build. V1. Inputs. Artifact Objects Response - 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 List<Pulumi.Google Native. Cloud Build. V1. Inputs. Python Package Response> - 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.
- Maven
Artifacts []MavenArtifact Response - 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.
- Npm
Packages []NpmPackage Response - A list of npm packages to be uploaded to Artifact Registry upon successful completion of all build steps. Npm packages in the specified paths will be uploaded to the specified Artifact Registry repository using the builder service account's credentials. If any packages fail to be pushed, the build is marked FAILURE.
- Objects
Artifact
Objects Response - 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 []PythonPackage Response - 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.
- maven
Artifacts List<MavenArtifact Response> - 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.
- npm
Packages List<NpmPackage Response> - A list of npm packages to be uploaded to Artifact Registry upon successful completion of all build steps. Npm packages in the specified paths will be uploaded to the specified Artifact Registry repository using the builder service account's credentials. If any packages fail to be pushed, the build is marked FAILURE.
- objects
Artifact
Objects Response - 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 List<PythonPackage Response> - 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.
- maven
Artifacts MavenArtifact Response[] - 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.
- npm
Packages NpmPackage Response[] - A list of npm packages to be uploaded to Artifact Registry upon successful completion of all build steps. Npm packages in the specified paths will be uploaded to the specified Artifact Registry repository using the builder service account's credentials. If any packages fail to be pushed, the build is marked FAILURE.
- objects
Artifact
Objects Response - 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 PythonPackage Response[] - 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 Response] - 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.
- npm_
packages Sequence[NpmPackage Response] - A list of npm packages to be uploaded to Artifact Registry upon successful completion of all build steps. Npm packages in the specified paths will be uploaded to the specified Artifact Registry repository using the builder service account's credentials. If any packages fail to be pushed, the build is marked FAILURE.
- objects
Artifact
Objects Response - 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 Response] - 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.
- maven
Artifacts 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.
- npm
Packages List<Property Map> - A list of npm packages to be uploaded to Artifact Registry upon successful completion of all build steps. Npm packages in the specified paths will be uploaded to the specified Artifact Registry repository using the builder service account's credentials. If any packages 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.
- python
Packages 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
- Api
Key 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.
- Connected
Repositories List<Pulumi.Google Native. Cloud Build. V1. Inputs. Bitbucket Server Repository Id Response> - Connected Bitbucket Server repositories for this config.
- Create
Time string - Time when the config was created.
- Host
Uri 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.
- Peered
Network 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. - Peered
Network stringIp Range - Immutable. IP range within the peered network. This is specified in CIDR notation with a slash and the subnet prefix size. You can optionally specify an IP address before the subnet prefix value. e.g.
192.168.0.0/29
would specify an IP range starting at 192.168.0.0 with a 29 bit prefix size./16
would specify a prefix size of 16 bits, with an automatically determined IP within the peered VPC. If unspecified, a value of/24
will be used. The field only has an effect if peered_network is set. - Secrets
Pulumi.
Google Native. Cloud Build. V1. Inputs. Bitbucket Server Secrets Response - Secret Manager secrets needed by the config.
- Ssl
Ca 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.
- Webhook
Key string - UUID included in webhook requests. The UUID is used to look up the corresponding config.
- Api
Key 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.
- Connected
Repositories []BitbucketServer Repository Id Response - Connected Bitbucket Server repositories for this config.
- Create
Time string - Time when the config was created.
- Host
Uri 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.
- Peered
Network 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. - Peered
Network stringIp Range - Immutable. IP range within the peered network. This is specified in CIDR notation with a slash and the subnet prefix size. You can optionally specify an IP address before the subnet prefix value. e.g.
192.168.0.0/29
would specify an IP range starting at 192.168.0.0 with a 29 bit prefix size./16
would specify a prefix size of 16 bits, with an automatically determined IP within the peered VPC. If unspecified, a value of/24
will be used. The field only has an effect if peered_network is set. - Secrets
Bitbucket
Server Secrets Response - Secret Manager secrets needed by the config.
- Ssl
Ca 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.
- Webhook
Key string - UUID included in webhook requests. The UUID is used to look up the corresponding config.
- api
Key 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.
- connected
Repositories List<BitbucketServer Repository Id Response> - Connected Bitbucket Server repositories for this config.
- create
Time String - Time when the config was created.
- host
Uri 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.
- peered
Network 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. - peered
Network StringIp Range - Immutable. IP range within the peered network. This is specified in CIDR notation with a slash and the subnet prefix size. You can optionally specify an IP address before the subnet prefix value. e.g.
192.168.0.0/29
would specify an IP range starting at 192.168.0.0 with a 29 bit prefix size./16
would specify a prefix size of 16 bits, with an automatically determined IP within the peered VPC. If unspecified, a value of/24
will be used. The field only has an effect if peered_network is set. - secrets
Bitbucket
Server Secrets Response - Secret Manager secrets needed by the config.
- ssl
Ca 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.
- webhook
Key String - UUID included in webhook requests. The UUID is used to look up the corresponding config.
- api
Key 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.
- connected
Repositories BitbucketServer Repository Id Response[] - Connected Bitbucket Server repositories for this config.
- create
Time string - Time when the config was created.
- host
Uri 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.
- peered
Network 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. - peered
Network stringIp Range - Immutable. IP range within the peered network. This is specified in CIDR notation with a slash and the subnet prefix size. You can optionally specify an IP address before the subnet prefix value. e.g.
192.168.0.0/29
would specify an IP range starting at 192.168.0.0 with a 29 bit prefix size./16
would specify a prefix size of 16 bits, with an automatically determined IP within the peered VPC. If unspecified, a value of/24
will be used. The field only has an effect if peered_network is set. - secrets
Bitbucket
Server Secrets Response - Secret Manager secrets needed by the config.
- ssl
Ca 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.
- webhook
Key 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[BitbucketServer Repository Id Response] - 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. - peered_
network_ strip_ range - Immutable. IP range within the peered network. This is specified in CIDR notation with a slash and the subnet prefix size. You can optionally specify an IP address before the subnet prefix value. e.g.
192.168.0.0/29
would specify an IP range starting at 192.168.0.0 with a 29 bit prefix size./16
would specify a prefix size of 16 bits, with an automatically determined IP within the peered VPC. If unspecified, a value of/24
will be used. The field only has an effect if peered_network is set. - secrets
Bitbucket
Server Secrets Response - 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.
- api
Key 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.
- connected
Repositories List<Property Map> - Connected Bitbucket Server repositories for this config.
- create
Time String - Time when the config was created.
- host
Uri 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.
- peered
Network 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. - peered
Network StringIp Range - Immutable. IP range within the peered network. This is specified in CIDR notation with a slash and the subnet prefix size. You can optionally specify an IP address before the subnet prefix value. e.g.
192.168.0.0/29
would specify an IP range starting at 192.168.0.0 with a 29 bit prefix size./16
would specify a prefix size of 16 bits, with an automatically determined IP within the peered VPC. If unspecified, a value of/24
will be used. The field only has an effect if peered_network is set. - secrets Property Map
- Secret Manager secrets needed by the config.
- ssl
Ca 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.
- webhook
Key String - UUID included in webhook requests. The UUID is used to look up the corresponding config.
BitbucketServerRepositoryIdResponse
- Project
Key string - Identifier for the project storing the repository.
- Repo
Slug string - 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.
- Project
Key string - Identifier for the project storing the repository.
- Repo
Slug string - 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.
- project
Key String - Identifier for the project storing the repository.
- repo
Slug String - Identifier for the repository.
- webhook
Id 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.
- project
Key string - Identifier for the project storing the repository.
- repo
Slug string - Identifier for the repository.
- webhook
Id 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.
- project
Key String - Identifier for the project storing the repository.
- repo
Slug String - Identifier for the repository.
- webhook
Id 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
- Admin
Access stringToken Version Name - The resource name for the admin access token's secret version.
- Read
Access stringToken Version Name - The resource name for the read access token's secret version.
- Webhook
Secret stringVersion Name - 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 stringToken Version Name - The resource name for the admin access token's secret version.
- Read
Access stringToken Version Name - The resource name for the read access token's secret version.
- Webhook
Secret stringVersion Name - 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 StringToken Version Name - The resource name for the admin access token's secret version.
- read
Access StringToken Version Name - The resource name for the read access token's secret version.
- webhook
Secret StringVersion Name - 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 stringToken Version Name - The resource name for the admin access token's secret version.
- read
Access stringToken Version Name - The resource name for the read access token's secret version.
- webhook
Secret stringVersion Name - 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_ strtoken_ version_ name - The resource name for the admin access token's secret version.
- read_
access_ strtoken_ version_ name - The resource name for the read access token's secret version.
- webhook_
secret_ strversion_ name - 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 StringToken Version Name - The resource name for the admin access token's secret version.
- read
Access StringToken Version Name - The resource name for the read access token's secret version.
- webhook
Secret StringVersion Name - 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.
BitbucketServerTriggerConfigResponse
- Bitbucket
Server Pulumi.Config Google Native. Cloud Build. V1. Inputs. Bitbucket Server Config Response - The BitbucketServerConfig specified in the bitbucket_server_config_resource field.
- Bitbucket
Server stringConfig Resource - The Bitbucket server config resource that this trigger config maps to.
- Project
Key string - Key of the project that the repo is in. For example: The key for https://mybitbucket.server/projects/TEST/repos/test-repo is "TEST".
- Pull
Request Pulumi.Google Native. Cloud Build. V1. Inputs. Pull Request Filter Response - Filter to match changes in pull requests.
- Push
Pulumi.
Google Native. Cloud Build. V1. Inputs. Push Filter Response - Filter to match changes in refs like branches, tags.
- Repo
Slug string - Slug of the repository. A repository slug is a URL-friendly version of a repository name, automatically generated by Bitbucket for use in the URL. For example, if the repository name is 'test repo', in the URL it would become 'test-repo' as in https://mybitbucket.server/projects/TEST/repos/test-repo.
- Bitbucket
Server BitbucketConfig Server Config Response - The BitbucketServerConfig specified in the bitbucket_server_config_resource field.
- Bitbucket
Server stringConfig Resource - The Bitbucket server config resource that this trigger config maps to.
- Project
Key string - Key of the project that the repo is in. For example: The key for https://mybitbucket.server/projects/TEST/repos/test-repo is "TEST".
- Pull
Request PullRequest Filter Response - Filter to match changes in pull requests.
- Push
Push
Filter Response - Filter to match changes in refs like branches, tags.
- Repo
Slug string - Slug of the repository. A repository slug is a URL-friendly version of a repository name, automatically generated by Bitbucket for use in the URL. For example, if the repository name is 'test repo', in the URL it would become 'test-repo' as in https://mybitbucket.server/projects/TEST/repos/test-repo.
- bitbucket
Server BitbucketConfig Server Config Response - The BitbucketServerConfig specified in the bitbucket_server_config_resource field.
- bitbucket
Server StringConfig Resource - The Bitbucket server config resource that this trigger config maps to.
- project
Key String - Key of the project that the repo is in. For example: The key for https://mybitbucket.server/projects/TEST/repos/test-repo is "TEST".
- pull
Request PullRequest Filter Response - Filter to match changes in pull requests.
- push
Push
Filter Response - Filter to match changes in refs like branches, tags.
- repo
Slug String - Slug of the repository. A repository slug is a URL-friendly version of a repository name, automatically generated by Bitbucket for use in the URL. For example, if the repository name is 'test repo', in the URL it would become 'test-repo' as in https://mybitbucket.server/projects/TEST/repos/test-repo.
- bitbucket
Server BitbucketConfig Server Config Response - The BitbucketServerConfig specified in the bitbucket_server_config_resource field.
- bitbucket
Server stringConfig Resource - The Bitbucket server config resource that this trigger config maps to.
- project
Key string - Key of the project that the repo is in. For example: The key for https://mybitbucket.server/projects/TEST/repos/test-repo is "TEST".
- pull
Request PullRequest Filter Response - Filter to match changes in pull requests.
- push
Push
Filter Response - Filter to match changes in refs like branches, tags.
- repo
Slug string - Slug of the repository. A repository slug is a URL-friendly version of a repository name, automatically generated by Bitbucket for use in the URL. For example, if the repository name is 'test repo', in the URL it would become 'test-repo' as in https://mybitbucket.server/projects/TEST/repos/test-repo.
- bitbucket_
server_ Bitbucketconfig Server Config Response - The BitbucketServerConfig specified in the bitbucket_server_config_resource field.
- bitbucket_
server_ strconfig_ resource - The Bitbucket server config resource that this trigger config maps to.
- project_
key str - Key of the project that the repo is in. For example: The key for https://mybitbucket.server/projects/TEST/repos/test-repo is "TEST".
- pull_
request PullRequest Filter Response - Filter to match changes in pull requests.
- push
Push
Filter Response - Filter to match changes in refs like branches, tags.
- repo_
slug str - Slug of the repository. A repository slug is a URL-friendly version of a repository name, automatically generated by Bitbucket for use in the URL. For example, if the repository name is 'test repo', in the URL it would become 'test-repo' as in https://mybitbucket.server/projects/TEST/repos/test-repo.
- bitbucket
Server Property MapConfig - The BitbucketServerConfig specified in the bitbucket_server_config_resource field.
- bitbucket
Server StringConfig Resource - The Bitbucket server config resource that this trigger config maps to.
- project
Key String - Key of the project that the repo is in. For example: The key for https://mybitbucket.server/projects/TEST/repos/test-repo is "TEST".
- pull
Request Property Map - Filter to match changes in pull requests.
- push Property Map
- Filter to match changes in refs like branches, tags.
- repo
Slug String - Slug of the repository. A repository slug is a URL-friendly version of a repository name, automatically generated by Bitbucket for use in the URL. For example, if the repository name is 'test repo', in the URL it would become 'test-repo' as in https://mybitbucket.server/projects/TEST/repos/test-repo.
BuildApprovalResponse
- Config
Pulumi.
Google Native. Cloud Build. V1. Inputs. Approval Config Response - Configuration for manual approval of this build.
- Result
Pulumi.
Google Native. Cloud Build. V1. Inputs. Approval Result Response - Result of manual approval for this Build.
- State string
- The state of this build's approval.
- Config
Approval
Config Response - Configuration for manual approval of this build.
- Result
Approval
Result Response - Result of manual approval for this Build.
- State string
- The state of this build's approval.
- config
Approval
Config Response - Configuration for manual approval of this build.
- result
Approval
Result Response - Result of manual approval for this Build.
- state String
- The state of this build's approval.
- config
Approval
Config Response - Configuration for manual approval of this build.
- result
Approval
Result Response - Result of manual approval for this Build.
- state string
- The state of this build's approval.
- config
Approval
Config Response - Configuration for manual approval of this build.
- result
Approval
Result Response - 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.
BuildOptionsResponse
- Automap
Substitutions bool - Option to include built-in and custom substitutions as env variables for all build steps.
- Default
Logs stringBucket Behavior - Optional. Option to specify how default logs buckets are setup.
- Disk
Size stringGb - 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 List<string>
- A list of global environment variable definitions that will exist for all build steps in this build. If a variable is defined in both globally and in a build step, the variable will use the build step value. The elements are of the form "KEY=VALUE" for the environment variable "KEY" being given the value "VALUE".
- Log
Streaming stringOption - Option to define build log streaming behavior to Cloud Storage.
- Logging string
- Option to specify the logging mode, which determines if and where build logs are stored.
- Machine
Type string - Compute Engine machine type on which to run the build.
- Pool
Pulumi.
Google Native. Cloud Build. V1. Inputs. Pool Option Response - Optional. Specification for execution on a
WorkerPool
. See running builds in a private pool for more information. - Requested
Verify stringOption - Requested verifiability options.
- Secret
Env List<string> - A list of global environment variables, which are encrypted using a Cloud Key Management Service crypto key. These values must be specified in the build's
Secret
. These variables will be available to all build steps in this build. - Source
Provenance List<string>Hash - Requested hash for SourceProvenance.
- Substitution
Option string - Option to specify behavior when there is an error in the substitution checks. NOTE: this is always set to ALLOW_LOOSE for triggered builds and cannot be overridden in the build configuration file.
- Volumes
List<Pulumi.
Google Native. Cloud Build. V1. Inputs. Volume Response> - Global list of volumes to mount for ALL build steps Each volume is created as an empty volume prior to starting the build process. Upon completion of the build, volumes and their contents are discarded. Global volume names and paths cannot conflict with the volumes defined a build step. Using a global volume in a build with only one step is not valid as it is indicative of a build request with an incorrect configuration.
- Worker
Pool string - This field deprecated; please use
pool.name
instead.
- Automap
Substitutions bool - Option to include built-in and custom substitutions as env variables for all build steps.
- Default
Logs stringBucket Behavior - Optional. Option to specify how default logs buckets are setup.
- Disk
Size stringGb - 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 []string
- A list of global environment variable definitions that will exist for all build steps in this build. If a variable is defined in both globally and in a build step, the variable will use the build step value. The elements are of the form "KEY=VALUE" for the environment variable "KEY" being given the value "VALUE".
- Log
Streaming stringOption - Option to define build log streaming behavior to Cloud Storage.
- Logging string
- Option to specify the logging mode, which determines if and where build logs are stored.
- Machine
Type string - Compute Engine machine type on which to run the build.
- Pool
Pool
Option Response - Optional. Specification for execution on a
WorkerPool
. See running builds in a private pool for more information. - Requested
Verify stringOption - Requested verifiability options.
- Secret
Env []string - A list of global environment variables, which are encrypted using a Cloud Key Management Service crypto key. These values must be specified in the build's
Secret
. These variables will be available to all build steps in this build. - Source
Provenance []stringHash - Requested hash for SourceProvenance.
- Substitution
Option string - Option to specify behavior when there is an error in the substitution checks. NOTE: this is always set to ALLOW_LOOSE for triggered builds and cannot be overridden in the build configuration file.
- Volumes
[]Volume
Response - Global list of volumes to mount for ALL build steps Each volume is created as an empty volume prior to starting the build process. Upon completion of the build, volumes and their contents are discarded. Global volume names and paths cannot conflict with the volumes defined a build step. Using a global volume in a build with only one step is not valid as it is indicative of a build request with an incorrect configuration.
- Worker
Pool string - This field deprecated; please use
pool.name
instead.
- automap
Substitutions Boolean - Option to include built-in and custom substitutions as env variables for all build steps.
- default
Logs StringBucket Behavior - Optional. Option to specify how default logs buckets are setup.
- disk
Size StringGb - 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 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".
- log
Streaming StringOption - Option to define build log streaming behavior to Cloud Storage.
- logging String
- Option to specify the logging mode, which determines if and where build logs are stored.
- machine
Type String - Compute Engine machine type on which to run the build.
- pool
Pool
Option Response - Optional. Specification for execution on a
WorkerPool
. See running builds in a private pool for more information. - requested
Verify StringOption - Requested verifiability options.
- secret
Env List<String> - A list of global environment variables, which are encrypted using a Cloud Key Management Service crypto key. These values must be specified in the build's
Secret
. These variables will be available to all build steps in this build. - source
Provenance List<String>Hash - Requested hash for SourceProvenance.
- substitution
Option String - Option to specify behavior when there is an error in the substitution checks. NOTE: this is always set to ALLOW_LOOSE for triggered builds and cannot be overridden in the build configuration file.
- volumes
List<Volume
Response> - Global list of volumes to mount for ALL build steps Each volume is created as an empty volume prior to starting the build process. Upon completion of the build, volumes and their contents are discarded. Global volume names and paths cannot conflict with the volumes defined a build step. Using a global volume in a build with only one step is not valid as it is indicative of a build request with an incorrect configuration.
- worker
Pool String - This field deprecated; please use
pool.name
instead.
- automap
Substitutions boolean - Option to include built-in and custom substitutions as env variables for all build steps.
- default
Logs stringBucket Behavior - Optional. Option to specify how default logs buckets are setup.
- disk
Size stringGb - 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 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".
- log
Streaming stringOption - Option to define build log streaming behavior to Cloud Storage.
- logging string
- Option to specify the logging mode, which determines if and where build logs are stored.
- machine
Type string - Compute Engine machine type on which to run the build.
- pool
Pool
Option Response - Optional. Specification for execution on a
WorkerPool
. See running builds in a private pool for more information. - requested
Verify stringOption - Requested verifiability options.
- secret
Env string[] - A list of global environment variables, which are encrypted using a Cloud Key Management Service crypto key. These values must be specified in the build's
Secret
. These variables will be available to all build steps in this build. - source
Provenance string[]Hash - Requested hash for SourceProvenance.
- substitution
Option string - Option to specify behavior when there is an error in the substitution checks. NOTE: this is always set to ALLOW_LOOSE for triggered builds and cannot be overridden in the build configuration file.
- volumes
Volume
Response[] - Global list of volumes to mount for ALL build steps Each volume is created as an empty volume prior to starting the build process. Upon completion of the build, volumes and their contents are discarded. Global volume names and paths cannot conflict with the volumes defined a build step. Using a global volume in a build with only one step is not valid as it is indicative of a build request with an incorrect configuration.
- worker
Pool string - This field deprecated; please use
pool.name
instead.
- automap_
substitutions bool - Option to include built-in and custom substitutions as env variables for all build steps.
- default_
logs_ strbucket_ behavior - Optional. Option to specify how default logs buckets are setup.
- disk_
size_ strgb - 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_ stroption - Option to define build log streaming behavior to 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
Pool
Option Response - Optional. Specification for execution on a
WorkerPool
. See running builds in a private pool for more information. - requested_
verify_ stroption - 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_ Sequence[str]hash - 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[Volume
Response] - 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.
- automap
Substitutions Boolean - Option to include built-in and custom substitutions as env variables for all build steps.
- default
Logs StringBucket Behavior - Optional. Option to specify how default logs buckets are setup.
- disk
Size StringGb - 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 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".
- log
Streaming StringOption - Option to define build log streaming behavior to Cloud Storage.
- logging String
- Option to specify the logging mode, which determines if and where build logs are stored.
- machine
Type 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. - requested
Verify StringOption - Requested verifiability options.
- secret
Env List<String> - A list of global environment variables, which are encrypted using a Cloud Key Management Service crypto key. These values must be specified in the build's
Secret
. These variables will be available to all build steps in this build. - source
Provenance List<String>Hash - Requested hash for SourceProvenance.
- substitution
Option String - Option to specify behavior when there is an error in the substitution checks. NOTE: this is always set to ALLOW_LOOSE for triggered builds and cannot be overridden in the build configuration file.
- volumes List<Property Map>
- Global list of volumes to mount for ALL build steps Each volume is created as an empty volume prior to starting the build process. Upon completion of the build, volumes and their contents are discarded. Global volume names and paths cannot conflict with the volumes defined a build step. Using a global volume in a build with only one step is not valid as it is indicative of a build request with an incorrect configuration.
- worker
Pool String - This field deprecated; please use
pool.name
instead.
BuildResponse
- Approval
Pulumi.
Google Native. Cloud Build. V1. Inputs. Build Approval Response - Describes this build's approval configuration, status, and result.
- Artifacts
Pulumi.
Google Native. Cloud Build. V1. Inputs. Artifacts Response - Artifacts produced by the build that should be uploaded upon successful completion of all build steps.
- Available
Secrets Pulumi.Google Native. Cloud Build. V1. Inputs. Secrets Response - Secrets and secret environment variables.
- Build
Trigger stringId - The ID of the
BuildTrigger
that triggered this build, if it was triggered automatically. - Create
Time string - Time at which the request to create the build was received.
- Failure
Info Pulumi.Google Native. Cloud Build. V1. Inputs. Failure Info Response - Contains information about the build when status=FAILURE.
- Finish
Time 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 markedFAILURE
. - Log
Url string - URL to logs for this build in Google Cloud Console.
- Logs
Bucket string - 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.
Google Native. Cloud Build. V1. Inputs. Build Options Response - Special options for this build.
- Project string
- ID of the project.
- Queue
Ttl string - TTL in queue for this build. If provided and the build is enqueued longer than this value, the build will expire and the build status will be
EXPIRED
. The TTL starts ticking from create_time. - Results
Pulumi.
Google Native. Cloud Build. V1. Inputs. Results Response - Results of the build.
- Secrets
List<Pulumi.
Google Native. Cloud Build. V1. Inputs. Secret Response> - 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 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.
Google Native. Cloud Build. V1. Inputs. Source Response - The location of the source files to build.
- Source
Provenance Pulumi.Google Native. Cloud Build. V1. Inputs. Source Provenance Response - A permanent fixed identifier for source.
- Start
Time string - Time at which execution of the build was started.
- Status string
- Status of the build.
- Status
Detail string - Customer-readable message about the current status.
- Steps
List<Pulumi.
Google Native. Cloud Build. V1. Inputs. Build Step Response> - The operations to be performed on the workspace.
- Substitutions Dictionary<string, string>
- Substitutions data for
Build
resource. - List<string>
- Tags for annotation of a
Build
. These are not docker tags. - Timeout string
- Amount of time that this build should be allowed to run, to second granularity. If this amount of time elapses, work on the build will cease and the build status will be
TIMEOUT
.timeout
starts ticking fromstartTime
. 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.
Google Native. Cloud Build. V1. Inputs. Warning Response> - Non-fatal problems encountered during the execution of the build.
- Approval
Build
Approval Response - Describes this build's approval configuration, status, and result.
- Artifacts
Artifacts
Response - 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 stringId - The ID of the
BuildTrigger
that triggered this build, if it was triggered automatically. - Create
Time string - Time at which the request to create the build was received.
- Failure
Info FailureInfo Response - Contains information about the build when status=FAILURE.
- Finish
Time 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 markedFAILURE
. - Log
Url string - URL to logs for this build in Google Cloud Console.
- Logs
Bucket string - 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
Build
Options Response - Special options for this build.
- Project string
- ID of the project.
- Queue
Ttl string - TTL in queue for this build. If provided and the build is enqueued longer than this value, the build will expire and the build status will be
EXPIRED
. The TTL starts ticking from create_time. - Results
Results
Response - Results of the build.
- Secrets
[]Secret
Response - 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 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
Response - The location of the source files to build.
- Source
Provenance SourceProvenance Response - A permanent fixed identifier for source.
- Start
Time string - Time at which execution of the build was started.
- Status string
- Status of the build.
- Status
Detail string - Customer-readable message about the current status.
- Steps
[]Build
Step Response - The operations to be performed on the workspace.
- Substitutions map[string]string
- Substitutions data for
Build
resource. - []string
- Tags for annotation of a
Build
. These are not docker tags. - Timeout string
- Amount of time that this build should be allowed to run, to second granularity. If this amount of time elapses, work on the build will cease and the build status will be
TIMEOUT
.timeout
starts ticking fromstartTime
. 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
[]Warning
Response - Non-fatal problems encountered during the execution of the build.
- approval
Build
Approval Response - Describes this build's approval configuration, status, and result.
- artifacts
Artifacts
Response - 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 StringId - The ID of the
BuildTrigger
that triggered this build, if it was triggered automatically. - create
Time String - Time at which the request to create the build was received.
- failure
Info FailureInfo Response - Contains information about the build when status=FAILURE.
- finish
Time 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 markedFAILURE
. - log
Url String - URL to logs for this build in Google Cloud Console.
- logs
Bucket String - 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
Build
Options Response - Special options for this build.
- project String
- ID of the project.
- queue
Ttl String - TTL in queue for this build. If provided and the build is enqueued longer than this value, the build will expire and the build status will be
EXPIRED
. The TTL starts ticking from create_time. - results
Results
Response - Results of the build.
- secrets
List<Secret
Response> - 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 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
Response - The location of the source files to build.
- source
Provenance SourceProvenance Response - A permanent fixed identifier for source.
- start
Time String - Time at which execution of the build was started.
- status String
- Status of the build.
- status
Detail String - Customer-readable message about the current status.
- steps
List<Build
Step Response> - The operations to be performed on the workspace.
- substitutions Map<String,String>
- Substitutions data for
Build
resource. - List<String>
- Tags for annotation of a
Build
. These are not docker tags. - timeout String
- Amount of time that this build should be allowed to run, to second granularity. If this amount of time elapses, work on the build will cease and the build status will be
TIMEOUT
.timeout
starts ticking fromstartTime
. 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<Warning
Response> - Non-fatal problems encountered during the execution of the build.
- approval
Build
Approval Response - Describes this build's approval configuration, status, and result.
- artifacts
Artifacts
Response - 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 stringId - The ID of the
BuildTrigger
that triggered this build, if it was triggered automatically. - create
Time string - Time at which the request to create the build was received.
- failure
Info FailureInfo Response - Contains information about the build when status=FAILURE.
- finish
Time 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 markedFAILURE
. - log
Url string - URL to logs for this build in Google Cloud Console.
- logs
Bucket string - 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
Build
Options Response - Special options for this build.
- project string
- ID of the project.
- queue
Ttl string - TTL in queue for this build. If provided and the build is enqueued longer than this value, the build will expire and the build status will be
EXPIRED
. The TTL starts ticking from create_time. - results
Results
Response - Results of the build.
- secrets
Secret
Response[] - 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 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
Response - The location of the source files to build.
- source
Provenance SourceProvenance Response - A permanent fixed identifier for source.
- start
Time string - Time at which execution of the build was started.
- status string
- Status of the build.
- status
Detail string - Customer-readable message about the current status.
- steps
Build
Step Response[] - The operations to be performed on the workspace.
- substitutions {[key: string]: string}
- Substitutions data for
Build
resource. - string[]
- Tags for annotation of a
Build
. These are not docker tags. - timeout string
- Amount of time that this build should be allowed to run, to second granularity. If this amount of time elapses, work on the build will cease and the build status will be
TIMEOUT
.timeout
starts ticking fromstartTime
. 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
Warning
Response[] - Non-fatal problems encountered during the execution of the build.
- approval
Build
Approval Response - Describes this build's approval configuration, status, and result.
- artifacts
Artifacts
Response - 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_ strid - 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 FailureInfo Response - 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 markedFAILURE
. - log_
url str - URL to logs for this build in Google Cloud Console.
- logs_
bucket str - 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
Build
Options Response - 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
Results
Response - Results of the build.
- secrets
Sequence[Secret
Response] - 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
Response - The location of the source files to build.
- source_
provenance SourceProvenance Response - 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[Build
Step Response] - The operations to be performed on the workspace.
- substitutions Mapping[str, str]
- Substitutions data for
Build
resource. - Sequence[str]
- Tags for annotation of a
Build
. These are not docker tags. - timeout str
- Amount of time that this build should be allowed to run, to second granularity. If this amount of time elapses, work on the build will cease and the build status will be
TIMEOUT
.timeout
starts ticking fromstartTime
. 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[Warning
Response] - 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.
- available
Secrets Property Map - Secrets and secret environment variables.
- build
Trigger StringId - The ID of the
BuildTrigger
that triggered this build, if it was triggered automatically. - create
Time String - Time at which the request to create the build was received.
- failure
Info Property Map - Contains information about the build when status=FAILURE.
- finish
Time 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 markedFAILURE
. - log
Url String - URL to logs for this build in Google Cloud Console.
- logs
Bucket String - 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.
- queue
Ttl String - TTL in queue for this build. If provided and the build is enqueued longer than this value, the build will expire and the build status will be
EXPIRED
. The TTL starts ticking from 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 - service
Account 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.
- source
Provenance Property Map - A permanent fixed identifier for source.
- start
Time String - Time at which execution of the build was started.
- status String
- Status of the build.
- status
Detail 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. - 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 fromstartTime
. 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.
BuildStepResponse
- Allow
Exit List<int>Codes - Allow this build step to fail without failing the entire build if and only if the exit code is one of the specified codes. If 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 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. - Automap
Substitutions bool - Option to include built-in and custom substitutions as env variables for this build step. This option will override the global option in BuildOption.
- 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 aRepoSource
withdir
and a step with adir
, which specifies an absolute path, theRepoSource
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".
- Exit
Code 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.
- Pull
Timing Pulumi.Google Native. Cloud Build. V1. Inputs. Time Span Response - 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.
- Secret
Env 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.
Google Native. Cloud Build. V1. Inputs. Time Span Response - Stores timing information for executing this build step.
- Volumes
List<Pulumi.
Google Native. Cloud Build. V1. Inputs. Volume Response> - 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 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. Ifwait_for
is empty, this build step will start when all previous build steps in theBuild.Steps
list have completed successfully.
- Allow
Exit []intCodes - Allow this build step to fail without failing the entire build if and only if the exit code is one of the specified codes. If 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 []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. - Automap
Substitutions bool - Option to include built-in and custom substitutions as env variables for this build step. This option will override the global option in BuildOption.
- 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 aRepoSource
withdir
and a step with adir
, which specifies an absolute path, theRepoSource
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".
- Exit
Code 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.
- Pull
Timing TimeSpan Response - 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.
- Secret
Env []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
Time
Span Response - Stores timing information for executing this build step.
- Volumes
[]Volume
Response - 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 []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. Ifwait_for
is empty, this build step will start when all previous build steps in theBuild.Steps
list have completed successfully.
- allow
Exit List<Integer>Codes - Allow this build step to fail without failing the entire build if and only if the exit code is one of the specified codes. If allow_failure is also specified, this field will take precedence.
- allow
Failure Boolean - Allow this build step to fail without failing the entire build. If false, the entire build will fail if this step fails. Otherwise, the build will succeed, but this step will still have a failure status. Error information will be reported in the 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. - automap
Substitutions Boolean - Option to include built-in and custom substitutions as env variables for this build step. This option will override the global option in BuildOption.
- 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 aRepoSource
withdir
and a step with adir
, which specifies an absolute path, theRepoSource
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".
- exit
Code 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.
- pull
Timing TimeSpan Response - 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.
- secret
Env 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
Time
Span Response - Stores timing information for executing this build step.
- volumes
List<Volume
Response> - 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 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. Ifwait_for
is empty, this build step will start when all previous build steps in theBuild.Steps
list have completed successfully.
- allow
Exit number[]Codes - Allow this build step to fail without failing the entire build if and only if the exit code is one of the specified codes. If allow_failure is also specified, this field will take precedence.
- allow
Failure boolean - Allow this build step to fail without failing the entire build. If false, the entire build will fail if this step fails. Otherwise, the build will succeed, but this step will still have a failure status. Error information will be reported in the 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. - automap
Substitutions boolean - Option to include built-in and custom substitutions as env variables for this build step. This option will override the global option in BuildOption.
- 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 aRepoSource
withdir
and a step with adir
, which specifies an absolute path, theRepoSource
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".
- exit
Code 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.
- pull
Timing TimeSpan Response - 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.
- secret
Env 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
Time
Span Response - Stores timing information for executing this build step.
- volumes
Volume
Response[] - 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 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. Ifwait_for
is empty, this build step will start when all previous build steps in theBuild.Steps
list have completed successfully.
- allow_
exit_ Sequence[int]codes - Allow this build step to fail without failing the entire build if and only if the exit code is one of the specified codes. If 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. - automap_
substitutions bool - Option to include built-in and custom substitutions as env variables for this build step. This option will override the global option in BuildOption.
- 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 aRepoSource
withdir
and a step with adir
, which specifies an absolute path, theRepoSource
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 TimeSpan Response - 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
Time
Span Response - Stores timing information for executing this build step.
- volumes
Sequence[Volume
Response] - 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. Ifwait_for
is empty, this build step will start when all previous build steps in theBuild.Steps
list have completed successfully.
- allow
Exit List<Number>Codes - Allow this build step to fail without failing the entire build if and only if the exit code is one of the specified codes. If allow_failure is also specified, this field will take precedence.
- allow
Failure Boolean - Allow this build step to fail without failing the entire build. If false, the entire build will fail if this step fails. Otherwise, the build will succeed, but this step will still have a failure status. Error information will be reported in the 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. - automap
Substitutions Boolean - Option to include built-in and custom substitutions as env variables for this build step. This option will override the global option in BuildOption.
- 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 aRepoSource
withdir
and a step with adir
, which specifies an absolute path, theRepoSource
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".
- exit
Code 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.
- pull
Timing 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.
- secret
Env 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.
- wait
For 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. Ifwait_for
is empty, this build step will start when all previous build steps in theBuild.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
. - Push
Timing Pulumi.Google Native. Cloud Build. V1. Inputs. Time Span Response - 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
. - Push
Timing TimeSpan Response - 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
. - push
Timing TimeSpan Response - 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
. - push
Timing TimeSpan Response - 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 TimeSpan Response - 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
. - push
Timing Property Map - Stores timing information for pushing the specified image.
ConnectedRepositoryResponse
- Dir string
- Directory, relative to the source root, in which to run the build.
- Repository string
- Name of the Google Cloud Build repository, formatted as
projects/*/locations/*/connections/*/repositories/*
. - Revision string
- The revision to fetch from the Git repository such as a branch, a tag, a commit SHA, or any Git ref.
- Dir string
- Directory, relative to the source root, in which to run the build.
- Repository string
- Name of the Google Cloud Build repository, formatted as
projects/*/locations/*/connections/*/repositories/*
. - Revision string
- The revision to fetch from the Git repository such as a branch, a tag, a commit SHA, or any Git ref.
- dir String
- Directory, relative to the source root, in which to run the build.
- repository String
- Name of the Google Cloud Build repository, formatted as
projects/*/locations/*/connections/*/repositories/*
. - revision String
- The revision to fetch from the Git repository such as a branch, a tag, a commit SHA, or any Git ref.
- dir string
- Directory, relative to the source root, in which to run the build.
- repository string
- Name of the Google Cloud Build repository, formatted as
projects/*/locations/*/connections/*/repositories/*
. - revision string
- The revision to fetch from the Git repository such as a branch, a tag, a commit SHA, or any Git ref.
- dir str
- Directory, relative to the source root, in which to run the build.
- repository str
- Name of the Google Cloud Build repository, formatted as
projects/*/locations/*/connections/*/repositories/*
. - revision str
- The revision to fetch from the Git repository such as a branch, a tag, a commit SHA, or any Git ref.
- dir String
- Directory, relative to the source root, in which to run the build.
- repository String
- Name of the Google Cloud Build repository, formatted as
projects/*/locations/*/connections/*/repositories/*
. - revision String
- The revision to fetch from the Git repository such as a branch, a tag, a commit SHA, or any Git ref.
FailureInfoResponse
FileHashesResponse
- File
Hash List<Pulumi.Google Native. Cloud Build. V1. Inputs. Hash Response> - Collection of file hashes.
- File
Hash []HashResponse - Collection of file hashes.
- file
Hash List<HashResponse> - Collection of file hashes.
- file
Hash HashResponse[] - Collection of file hashes.
- file_
hash Sequence[HashResponse] - Collection of file hashes.
- file
Hash List<Property Map> - Collection of file hashes.
GitFileSourceResponse
- Bitbucket
Server stringConfig - The full resource name of the bitbucket server config. Format:
projects/{project}/locations/{location}/bitbucketServerConfigs/{id}
. - Github
Enterprise stringConfig - The full resource name of the github enterprise config. Format:
projects/{project}/locations/{location}/githubEnterpriseConfigs/{id}
.projects/{project}/githubEnterpriseConfigs/{id}
. - Path string
- The path of the file, with the repo root as the root of the path.
- Repo
Type string - See RepoType above.
- Repository string
- The fully qualified resource name of the Repos API repository. 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.
- 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 stringConfig - The full resource name of the bitbucket server config. Format:
projects/{project}/locations/{location}/bitbucketServerConfigs/{id}
. - Github
Enterprise stringConfig - The full resource name of the github enterprise config. Format:
projects/{project}/locations/{location}/githubEnterpriseConfigs/{id}
.projects/{project}/githubEnterpriseConfigs/{id}
. - Path string
- The path of the file, with the repo root as the root of the path.
- Repo
Type string - See RepoType above.
- Repository string
- The fully qualified resource name of the Repos API repository. 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.
- 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 StringConfig - The full resource name of the bitbucket server config. Format:
projects/{project}/locations/{location}/bitbucketServerConfigs/{id}
. - github
Enterprise StringConfig - The full resource name of the github enterprise config. Format:
projects/{project}/locations/{location}/githubEnterpriseConfigs/{id}
.projects/{project}/githubEnterpriseConfigs/{id}
. - path String
- The path of the file, with the repo root as the root of the path.
- repo
Type String - See RepoType above.
- repository String
- The fully qualified resource name of the Repos API repository. 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.
- 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 stringConfig - The full resource name of the bitbucket server config. Format:
projects/{project}/locations/{location}/bitbucketServerConfigs/{id}
. - github
Enterprise stringConfig - The full resource name of the github enterprise config. Format:
projects/{project}/locations/{location}/githubEnterpriseConfigs/{id}
.projects/{project}/githubEnterpriseConfigs/{id}
. - path string
- The path of the file, with the repo root as the root of the path.
- repo
Type string - See RepoType above.
- repository string
- The fully qualified resource name of the Repos API repository. 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.
- 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_ strconfig - The full resource name of the bitbucket server config. Format:
projects/{project}/locations/{location}/bitbucketServerConfigs/{id}
. - github_
enterprise_ strconfig - The full resource name of the github enterprise config. Format:
projects/{project}/locations/{location}/githubEnterpriseConfigs/{id}
.projects/{project}/githubEnterpriseConfigs/{id}
. - path str
- The path of the file, with the repo root as the root of the path.
- repo_
type str - See RepoType above.
- repository str
- The fully qualified resource name of the Repos API repository. 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.
- 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.
- bitbucket
Server StringConfig - The full resource name of the bitbucket server config. Format:
projects/{project}/locations/{location}/bitbucketServerConfigs/{id}
. - github
Enterprise StringConfig - The full resource name of the github enterprise config. Format:
projects/{project}/locations/{location}/githubEnterpriseConfigs/{id}
.projects/{project}/githubEnterpriseConfigs/{id}
. - path String
- The path of the file, with the repo root as the root of the path.
- repo
Type String - See RepoType above.
- repository String
- The fully qualified resource name of the Repos API repository. 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.
- 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.
GitHubEventsConfigResponse
- Enterprise
Config stringResource Name - 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 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".
- Pull
Request Pulumi.Google Native. Cloud Build. V1. Inputs. Pull Request Filter Response - filter to match changes in pull requests.
- Push
Pulumi.
Google Native. Cloud Build. V1. Inputs. Push Filter Response - filter to match changes in refs like branches, tags.
- Enterprise
Config stringResource Name - 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 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".
- Pull
Request PullRequest Filter Response - filter to match changes in pull requests.
- Push
Push
Filter Response - filter to match changes in refs like branches, tags.
- enterprise
Config StringResource Name - 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 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".
- pull
Request PullRequest Filter Response - filter to match changes in pull requests.
- push
Push
Filter Response - filter to match changes in refs like branches, tags.
- enterprise
Config stringResource Name - 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 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".
- pull
Request PullRequest Filter Response - filter to match changes in pull requests.
- push
Push
Filter Response - filter to match changes in refs like branches, tags.
- enterprise_
config_ strresource_ name - 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 PullRequest Filter Response - filter to match changes in pull requests.
- push
Push
Filter Response - filter to match changes in refs like branches, tags.
- enterprise
Config StringResource Name - 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 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".
- pull
Request Property Map - filter to match changes in pull requests.
- push Property Map
- filter to match changes in refs like branches, tags.
GitLabConfigResponse
- Connected
Repositories List<Pulumi.Google Native. Cloud Build. V1. Inputs. Git Lab Repository Id Response> - Connected GitLab.com or GitLabEnterprise repositories for this config.
- Create
Time string - Time when the config was created.
- Enterprise
Config Pulumi.Google Native. Cloud Build. V1. Inputs. Git Lab Enterprise Config Response - Optional. GitLabEnterprise config.
- Name string
- The resource name for the config.
- Secrets
Pulumi.
Google Native. Cloud Build. V1. Inputs. Git Lab Secrets Response - Secret Manager secrets needed by the config.
- Username string
- Username of the GitLab.com or GitLab Enterprise account Cloud Build will use.
- Webhook
Key string - UUID included in webhook requests. The UUID is used to look up the corresponding config.
- Connected
Repositories []GitLab Repository Id Response - Connected GitLab.com or GitLabEnterprise repositories for this config.
- Create
Time string - Time when the config was created.
- Enterprise
Config GitLab Enterprise Config Response - Optional. GitLabEnterprise config.
- Name string
- The resource name for the config.
- Secrets
Git
Lab Secrets Response - Secret Manager secrets needed by the config.
- Username string
- Username of the GitLab.com or GitLab Enterprise account Cloud Build will use.
- Webhook
Key string - UUID included in webhook requests. The UUID is used to look up the corresponding config.
- connected
Repositories List<GitLab Repository Id Response> - Connected GitLab.com or GitLabEnterprise repositories for this config.
- create
Time String - Time when the config was created.
- enterprise
Config GitLab Enterprise Config Response - Optional. GitLabEnterprise config.
- name String
- The resource name for the config.
- secrets
Git
Lab Secrets Response - Secret Manager secrets needed by the config.
- username String
- Username of the GitLab.com or GitLab Enterprise account Cloud Build will use.
- webhook
Key String - UUID included in webhook requests. The UUID is used to look up the corresponding config.
- connected
Repositories GitLab Repository Id Response[] - Connected GitLab.com or GitLabEnterprise repositories for this config.
- create
Time string - Time when the config was created.
- enterprise
Config GitLab Enterprise Config Response - Optional. GitLabEnterprise config.
- name string
- The resource name for the config.
- secrets
Git
Lab Secrets Response - Secret Manager secrets needed by the config.
- username string
- Username of the GitLab.com or GitLab Enterprise account Cloud Build will use.
- webhook
Key string - UUID included in webhook requests. The UUID is used to look up the corresponding config.
- connected_
repositories Sequence[GitLab Repository Id Response] - Connected GitLab.com or GitLabEnterprise repositories for this config.
- create_
time str - Time when the config was created.
- enterprise_
config GitLab Enterprise Config Response - Optional. GitLabEnterprise config.
- name str
- The resource name for the config.
- secrets
Git
Lab Secrets Response - 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.
- connected
Repositories List<Property Map> - Connected GitLab.com or GitLabEnterprise repositories for this config.
- create
Time String - Time when the config was created.
- enterprise
Config 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.
- webhook
Key String - UUID included in webhook requests. The UUID is used to look up the corresponding config.
GitLabEnterpriseConfigResponse
- Host
Uri string - Immutable. The URI of the GitlabEnterprise host.
- Service
Directory Pulumi.Config Google Native. Cloud Build. V1. Inputs. Service Directory Config Response - The Service Directory configuration to be used when reaching out to the GitLab Enterprise instance.
- Ssl
Ca string - The SSL certificate to use in requests to GitLab Enterprise instances.
- Host
Uri string - Immutable. The URI of the GitlabEnterprise host.
- Service
Directory ServiceConfig Directory Config Response - The Service Directory configuration to be used when reaching out to the GitLab Enterprise instance.
- Ssl
Ca string - The SSL certificate to use in requests to GitLab Enterprise instances.
- host
Uri String - Immutable. The URI of the GitlabEnterprise host.
- service
Directory ServiceConfig Directory Config Response - The Service Directory configuration to be used when reaching out to the GitLab Enterprise instance.
- ssl
Ca String - The SSL certificate to use in requests to GitLab Enterprise instances.
- host
Uri string - Immutable. The URI of the GitlabEnterprise host.
- service
Directory ServiceConfig Directory Config Response - The Service Directory configuration to be used when reaching out to the GitLab Enterprise instance.
- ssl
Ca string - The SSL certificate to use in requests to GitLab Enterprise instances.
- host_
uri str - Immutable. The URI of the GitlabEnterprise host.
- service_
directory_ Serviceconfig Directory Config Response - 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.
- host
Uri String - Immutable. The URI of the GitlabEnterprise host.
- service
Directory Property MapConfig - The Service Directory configuration to be used when reaching out to the GitLab Enterprise instance.
- ssl
Ca String - The SSL certificate to use in requests to GitLab Enterprise instances.
GitLabEventsConfigResponse
- Gitlab
Config Pulumi.Google Native. Cloud Build. V1. Inputs. Git Lab Config Response - The GitLabConfig specified in the gitlab_config_resource field.
- Gitlab
Config stringResource - The GitLab config resource that this trigger config maps to.
- Project
Namespace string - Namespace of the GitLab project.
- Pull
Request Pulumi.Google Native. Cloud Build. V1. Inputs. Pull Request Filter Response - Filter to match changes in pull requests.
- Push
Pulumi.
Google Native. Cloud Build. V1. Inputs. Push Filter Response - Filter to match changes in refs like branches, tags.
- Gitlab
Config GitLab Config Response - The GitLabConfig specified in the gitlab_config_resource field.
- Gitlab
Config stringResource - The GitLab config resource that this trigger config maps to.
- Project
Namespace string - Namespace of the GitLab project.
- Pull
Request PullRequest Filter Response - Filter to match changes in pull requests.
- Push
Push
Filter Response - Filter to match changes in refs like branches, tags.
- gitlab
Config GitLab Config Response - The GitLabConfig specified in the gitlab_config_resource field.
- gitlab
Config StringResource - The GitLab config resource that this trigger config maps to.
- project
Namespace String - Namespace of the GitLab project.
- pull
Request PullRequest Filter Response - Filter to match changes in pull requests.
- push
Push
Filter Response - Filter to match changes in refs like branches, tags.
- gitlab
Config GitLab Config Response - The GitLabConfig specified in the gitlab_config_resource field.
- gitlab
Config stringResource - The GitLab config resource that this trigger config maps to.
- project
Namespace string - Namespace of the GitLab project.
- pull
Request PullRequest Filter Response - Filter to match changes in pull requests.
- push
Push
Filter Response - Filter to match changes in refs like branches, tags.
- gitlab_
config GitLab Config Response - The GitLabConfig specified in the gitlab_config_resource field.
- gitlab_
config_ strresource - The GitLab config resource that this trigger config maps to.
- project_
namespace str - Namespace of the GitLab project.
- pull_
request PullRequest Filter Response - Filter to match changes in pull requests.
- push
Push
Filter Response - Filter to match changes in refs like branches, tags.
- gitlab
Config Property Map - The GitLabConfig specified in the gitlab_config_resource field.
- gitlab
Config StringResource - The GitLab config resource that this trigger config maps to.
- project
Namespace String - Namespace of the GitLab project.
- pull
Request Property Map - Filter to match changes in pull requests.
- push Property Map
- Filter to match changes in refs like branches, tags.
GitLabRepositoryIdResponse
- 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.
- 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.
- webhook
Id 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.
- webhook
Id 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.
- webhook
Id 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
- Api
Access stringToken Version - The resource name for the api access token’s secret version
- Api
Key stringVersion - Immutable. API Key that will be attached to webhook requests from GitLab to Cloud Build.
- Read
Access stringToken Version - The resource name for the read access token’s secret version
- Webhook
Secret stringVersion - 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 stringToken Version - The resource name for the api access token’s secret version
- Api
Key stringVersion - Immutable. API Key that will be attached to webhook requests from GitLab to Cloud Build.
- Read
Access stringToken Version - The resource name for the read access token’s secret version
- Webhook
Secret stringVersion - 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 StringToken Version - The resource name for the api access token’s secret version
- api
Key StringVersion - Immutable. API Key that will be attached to webhook requests from GitLab to Cloud Build.
- read
Access StringToken Version - The resource name for the read access token’s secret version
- webhook
Secret StringVersion - 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 stringToken Version - The resource name for the api access token’s secret version
- api
Key stringVersion - Immutable. API Key that will be attached to webhook requests from GitLab to Cloud Build.
- read
Access stringToken Version - The resource name for the read access token’s secret version
- webhook
Secret stringVersion - 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_ strtoken_ version - The resource name for the api access token’s secret version
- api_
key_ strversion - Immutable. API Key that will be attached to webhook requests from GitLab to Cloud Build.
- read_
access_ strtoken_ version - The resource name for the read access token’s secret version
- webhook_
secret_ strversion - 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 StringToken Version - The resource name for the api access token’s secret version
- api
Key StringVersion - Immutable. API Key that will be attached to webhook requests from GitLab to Cloud Build.
- read
Access StringToken Version - The resource name for the read access token’s secret version
- webhook
Secret StringVersion - 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.
GitRepoSourceResponse
- Bitbucket
Server stringConfig - The full resource name of the bitbucket server config. Format:
projects/{project}/locations/{location}/bitbucketServerConfigs/{id}
. - Github
Enterprise stringConfig - The full resource name of the github enterprise config. Format:
projects/{project}/locations/{location}/githubEnterpriseConfigs/{id}
.projects/{project}/githubEnterpriseConfigs/{id}
. - Ref string
- The branch or tag to use. Must start with "refs/" (required).
- Repo
Type string - See RepoType below.
- Repository string
- The connected repository resource name, in the format
projects/*/locations/*/connections/*/repositories/*
. Eitheruri
orrepository
can be specified and is required. - Uri string
- The URI of the repo (e.g. https://github.com/user/repo.git). Either
uri
orrepository
can be specified and is required.
- Bitbucket
Server stringConfig - The full resource name of the bitbucket server config. Format:
projects/{project}/locations/{location}/bitbucketServerConfigs/{id}
. - Github
Enterprise stringConfig - The full resource name of the github enterprise config. Format:
projects/{project}/locations/{location}/githubEnterpriseConfigs/{id}
.projects/{project}/githubEnterpriseConfigs/{id}
. - Ref string
- The branch or tag to use. Must start with "refs/" (required).
- Repo
Type string - See RepoType below.
- Repository string
- The connected repository resource name, in the format
projects/*/locations/*/connections/*/repositories/*
. Eitheruri
orrepository
can be specified and is required. - Uri string
- The URI of the repo (e.g. https://github.com/user/repo.git). Either
uri
orrepository
can be specified and is required.
- bitbucket
Server StringConfig - The full resource name of the bitbucket server config. Format:
projects/{project}/locations/{location}/bitbucketServerConfigs/{id}
. - github
Enterprise StringConfig - The full resource name of the github enterprise config. Format:
projects/{project}/locations/{location}/githubEnterpriseConfigs/{id}
.projects/{project}/githubEnterpriseConfigs/{id}
. - ref String
- The branch or tag to use. Must start with "refs/" (required).
- repo
Type String - See RepoType below.
- repository String
- The connected repository resource name, in the format
projects/*/locations/*/connections/*/repositories/*
. Eitheruri
orrepository
can be specified and is required. - uri String
- The URI of the repo (e.g. https://github.com/user/repo.git). Either
uri
orrepository
can be specified and is required.
- bitbucket
Server stringConfig - The full resource name of the bitbucket server config. Format:
projects/{project}/locations/{location}/bitbucketServerConfigs/{id}
. - github
Enterprise stringConfig - The full resource name of the github enterprise config. Format:
projects/{project}/locations/{location}/githubEnterpriseConfigs/{id}
.projects/{project}/githubEnterpriseConfigs/{id}
. - ref string
- The branch or tag to use. Must start with "refs/" (required).
- repo
Type string - See RepoType below.
- repository string
- The connected repository resource name, in the format
projects/*/locations/*/connections/*/repositories/*
. Eitheruri
orrepository
can be specified and is required. - uri string
- The URI of the repo (e.g. https://github.com/user/repo.git). Either
uri
orrepository
can be specified and is required.
- bitbucket_
server_ strconfig - The full resource name of the bitbucket server config. Format:
projects/{project}/locations/{location}/bitbucketServerConfigs/{id}
. - github_
enterprise_ strconfig - The full resource name of the github enterprise config. Format:
projects/{project}/locations/{location}/githubEnterpriseConfigs/{id}
.projects/{project}/githubEnterpriseConfigs/{id}
. - ref str
- The branch or tag to use. Must start with "refs/" (required).
- repo_
type str - See RepoType below.
- repository str
- The connected repository resource name, in the format
projects/*/locations/*/connections/*/repositories/*
. Eitheruri
orrepository
can be specified and is required. - uri str
- The URI of the repo (e.g. https://github.com/user/repo.git). Either
uri
orrepository
can be specified and is required.
- bitbucket
Server StringConfig - The full resource name of the bitbucket server config. Format:
projects/{project}/locations/{location}/bitbucketServerConfigs/{id}
. - github
Enterprise StringConfig - The full resource name of the github enterprise config. Format:
projects/{project}/locations/{location}/githubEnterpriseConfigs/{id}
.projects/{project}/githubEnterpriseConfigs/{id}
. - ref String
- The branch or tag to use. Must start with "refs/" (required).
- repo
Type String - See RepoType below.
- repository String
- The connected repository resource name, in the format
projects/*/locations/*/connections/*/repositories/*
. Eitheruri
orrepository
can be specified and is required. - uri String
- The URI of the repo (e.g. https://github.com/user/repo.git). Either
uri
orrepository
can be specified and is required.
GitSourceResponse
- 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. - Revision string
- The revision to fetch from the Git repository such as a branch, a tag, a commit SHA, or any Git ref. Cloud Build uses
git fetch
to fetch the revision from the Git repository; therefore make sure that the string you provide forrevision
is parsable by the command. For information on string values accepted bygit fetch
, see https://git-scm.com/docs/gitrevisions#_specifying_revisions. For information ongit fetch
, see https://git-scm.com/docs/git-fetch. - Url string
- Location of the Git repo to build. This will be used as a
git remote
, see https://git-scm.com/docs/git-remote.
- 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. - Revision string
- The revision to fetch from the Git repository such as a branch, a tag, a commit SHA, or any Git ref. Cloud Build uses
git fetch
to fetch the revision from the Git repository; therefore make sure that the string you provide forrevision
is parsable by the command. For information on string values accepted bygit fetch
, see https://git-scm.com/docs/gitrevisions#_specifying_revisions. For information ongit fetch
, see https://git-scm.com/docs/git-fetch. - Url string
- Location of the Git repo to build. This will be used as a
git remote
, see https://git-scm.com/docs/git-remote.
- 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. - revision String
- The revision to fetch from the Git repository such as a branch, a tag, a commit SHA, or any Git ref. Cloud Build uses
git fetch
to fetch the revision from the Git repository; therefore make sure that the string you provide forrevision
is parsable by the command. For information on string values accepted bygit fetch
, see https://git-scm.com/docs/gitrevisions#_specifying_revisions. For information ongit fetch
, see https://git-scm.com/docs/git-fetch. - url String
- Location of the Git repo to build. This will be used as a
git remote
, see https://git-scm.com/docs/git-remote.
- 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. - revision string
- The revision to fetch from the Git repository such as a branch, a tag, a commit SHA, or any Git ref. Cloud Build uses
git fetch
to fetch the revision from the Git repository; therefore make sure that the string you provide forrevision
is parsable by the command. For information on string values accepted bygit fetch
, see https://git-scm.com/docs/gitrevisions#_specifying_revisions. For information ongit fetch
, see https://git-scm.com/docs/git-fetch. - url string
- Location of the Git repo to build. This will be used as a
git remote
, see https://git-scm.com/docs/git-remote.
- 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. - revision str
- The revision to fetch from the Git repository such as a branch, a tag, a commit SHA, or any Git ref. Cloud Build uses
git fetch
to fetch the revision from the Git repository; therefore make sure that the string you provide forrevision
is parsable by the command. For information on string values accepted bygit fetch
, see https://git-scm.com/docs/gitrevisions#_specifying_revisions. For information ongit fetch
, see https://git-scm.com/docs/git-fetch. - url str
- Location of the Git repo to build. This will be used as a
git remote
, see https://git-scm.com/docs/git-remote.
- 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. - revision String
- The revision to fetch from the Git repository such as a branch, a tag, a commit SHA, or any Git ref. Cloud Build uses
git fetch
to fetch the revision from the Git repository; therefore make sure that the string you provide forrevision
is parsable by the command. For information on string values accepted bygit fetch
, see https://git-scm.com/docs/gitrevisions#_specifying_revisions. For information ongit fetch
, see https://git-scm.com/docs/git-fetch. - url String
- Location of the Git repo to build. This will be used as a
git remote
, see https://git-scm.com/docs/git-remote.
HashResponse
InlineSecretResponse
- Env
Map Dictionary<string, string> - Map of environment variable name to its encrypted value. Secret environment variables must be unique across all of a build's secrets, and must be used by at least one build step. Values can be at most 64 KB in size. There can be at most 100 secret values across all of a build's secrets.
- Kms
Key stringName - Resource name of Cloud KMS crypto key to decrypt the encrypted value. In format: projects//locations//keyRings//cryptoKeys/
- Env
Map map[string]string - Map of environment variable name to its encrypted value. Secret environment variables must be unique across all of a build's secrets, and must be used by at least one build step. Values can be at most 64 KB in size. There can be at most 100 secret values across all of a build's secrets.
- Kms
Key stringName - Resource name of Cloud KMS crypto key to decrypt the encrypted value. In format: projects//locations//keyRings//cryptoKeys/
- env
Map Map<String,String> - Map of environment variable name to its encrypted value. Secret environment variables must be unique across all of a build's secrets, and must be used by at least one build step. Values can be at most 64 KB in size. There can be at most 100 secret values across all of a build's secrets.
- kms
Key StringName - Resource name of Cloud KMS crypto key to decrypt the encrypted value. In format: projects//locations//keyRings//cryptoKeys/
- env
Map {[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 stringName - 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_ strname - Resource name of Cloud KMS crypto key to decrypt the encrypted value. In format: projects//locations//keyRings//cryptoKeys/
- env
Map 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.
- kms
Key StringName - Resource name of Cloud KMS crypto key to decrypt the encrypted value. In format: projects//locations//keyRings//cryptoKeys/
MavenArtifactResponse
- Artifact
Id string - Maven
artifactId
value used when uploading the artifact to Artifact Registry. - Group
Id string - Maven
groupId
value used when uploading the artifact to Artifact Registry. - Path string
- Path to an artifact in the build's workspace to be uploaded to Artifact Registry. This can be either an absolute path, e.g. /workspace/my-app/target/my-app-1.0.SNAPSHOT.jar or a relative path from /workspace, e.g. my-app/target/my-app-1.0.SNAPSHOT.jar.
- Repository string
- Artifact Registry repository, in the form "https://$REGION-maven.pkg.dev/$PROJECT/$REPOSITORY" Artifact in the workspace specified by path will be uploaded to Artifact Registry with this location as a prefix.
- Version string
- Maven
version
value used when uploading the artifact to Artifact Registry.
- Artifact
Id string - Maven
artifactId
value used when uploading the artifact to Artifact Registry. - Group
Id string - Maven
groupId
value used when uploading the artifact to Artifact Registry. - Path string
- Path to an artifact in the build's workspace to be uploaded to Artifact Registry. This can be either an absolute path, e.g. /workspace/my-app/target/my-app-1.0.SNAPSHOT.jar or a relative path from /workspace, e.g. my-app/target/my-app-1.0.SNAPSHOT.jar.
- Repository string
- Artifact Registry repository, in the form "https://$REGION-maven.pkg.dev/$PROJECT/$REPOSITORY" Artifact in the workspace specified by path will be uploaded to Artifact Registry with this location as a prefix.
- Version string
- Maven
version
value used when uploading the artifact to Artifact Registry.
- artifact
Id String - Maven
artifactId
value used when uploading the artifact to Artifact Registry. - group
Id String - Maven
groupId
value used when uploading the artifact to Artifact Registry. - path String
- Path to an artifact in the build's workspace to be uploaded to Artifact Registry. This can be either an absolute path, e.g. /workspace/my-app/target/my-app-1.0.SNAPSHOT.jar or a relative path from /workspace, e.g. my-app/target/my-app-1.0.SNAPSHOT.jar.
- repository String
- Artifact Registry repository, in the form "https://$REGION-maven.pkg.dev/$PROJECT/$REPOSITORY" Artifact in the workspace specified by path will be uploaded to Artifact Registry with this location as a prefix.
- version String
- Maven
version
value used when uploading the artifact to Artifact Registry.
- artifact
Id string - Maven
artifactId
value used when uploading the artifact to Artifact Registry. - group
Id string - Maven
groupId
value used when uploading the artifact to Artifact Registry. - path string
- Path to an artifact in the build's workspace to be uploaded to Artifact Registry. This can be either an absolute path, e.g. /workspace/my-app/target/my-app-1.0.SNAPSHOT.jar or a relative path from /workspace, e.g. my-app/target/my-app-1.0.SNAPSHOT.jar.
- repository string
- Artifact Registry repository, in the form "https://$REGION-maven.pkg.dev/$PROJECT/$REPOSITORY" Artifact in the workspace specified by path will be uploaded to Artifact Registry with this location as a prefix.
- version string
- Maven
version
value used when uploading the artifact to Artifact Registry.
- artifact_
id str - Maven
artifactId
value used when uploading the artifact to Artifact Registry. - group_
id str - Maven
groupId
value used when uploading the artifact to Artifact Registry. - path str
- Path to an artifact in the build's workspace to be uploaded to Artifact Registry. This can be either an absolute path, e.g. /workspace/my-app/target/my-app-1.0.SNAPSHOT.jar or a relative path from /workspace, e.g. my-app/target/my-app-1.0.SNAPSHOT.jar.
- repository str
- Artifact Registry repository, in the form "https://$REGION-maven.pkg.dev/$PROJECT/$REPOSITORY" Artifact in the workspace specified by path will be uploaded to Artifact Registry with this location as a prefix.
- version str
- Maven
version
value used when uploading the artifact to Artifact Registry.
- artifact
Id String - Maven
artifactId
value used when uploading the artifact to Artifact Registry. - group
Id String - Maven
groupId
value used when uploading the artifact to Artifact Registry. - path String
- Path to an artifact in the build's workspace to be uploaded to Artifact Registry. This can be either an absolute path, e.g. /workspace/my-app/target/my-app-1.0.SNAPSHOT.jar or a relative path from /workspace, e.g. my-app/target/my-app-1.0.SNAPSHOT.jar.
- repository String
- Artifact Registry repository, in the form "https://$REGION-maven.pkg.dev/$PROJECT/$REPOSITORY" Artifact in the workspace specified by path will be uploaded to Artifact Registry with this location as a prefix.
- version String
- Maven
version
value used when uploading the artifact to Artifact Registry.
NpmPackageResponse
- Package
Path string - Path to the package.json. e.g. workspace/path/to/package
- Repository string
- Artifact Registry repository, in the form "https://$REGION-npm.pkg.dev/$PROJECT/$REPOSITORY" Npm package in the workspace specified by path will be zipped and uploaded to Artifact Registry with this location as a prefix.
- Package
Path string - Path to the package.json. e.g. workspace/path/to/package
- Repository string
- Artifact Registry repository, in the form "https://$REGION-npm.pkg.dev/$PROJECT/$REPOSITORY" Npm package in the workspace specified by path will be zipped and uploaded to Artifact Registry with this location as a prefix.
- package
Path String - Path to the package.json. e.g. workspace/path/to/package
- repository String
- Artifact Registry repository, in the form "https://$REGION-npm.pkg.dev/$PROJECT/$REPOSITORY" Npm package in the workspace specified by path will be zipped and uploaded to Artifact Registry with this location as a prefix.
- package
Path string - Path to the package.json. e.g. workspace/path/to/package
- repository string
- Artifact Registry repository, in the form "https://$REGION-npm.pkg.dev/$PROJECT/$REPOSITORY" Npm package in the workspace specified by path will be zipped and uploaded to Artifact Registry with this location as a prefix.
- package_
path str - Path to the package.json. e.g. workspace/path/to/package
- repository str
- Artifact Registry repository, in the form "https://$REGION-npm.pkg.dev/$PROJECT/$REPOSITORY" Npm package in the workspace specified by path will be zipped and uploaded to Artifact Registry with this location as a prefix.
- package
Path String - Path to the package.json. e.g. workspace/path/to/package
- repository String
- Artifact Registry repository, in the form "https://$REGION-npm.pkg.dev/$PROJECT/$REPOSITORY" Npm package in the workspace specified by path will be zipped and uploaded to Artifact Registry with this location as a prefix.
PoolOptionResponse
- Name string
- The
WorkerPool
resource to execute the build on. You must havecloudbuild.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 havecloudbuild.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 havecloudbuild.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 havecloudbuild.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 havecloudbuild.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 havecloudbuild.workerpools.use
on the project hosting the WorkerPool. Format projects/{project}/locations/{location}/workerPools/{workerPoolId}
PubsubConfigResponse
- Service
Account stringEmail - Service account that will make the push request.
- State string
- Potential issues with the underlying Pub/Sub subscription configuration. Only populated on get requests.
- Subscription string
- 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 stringEmail - Service account that will make the push request.
- State string
- Potential issues with the underlying Pub/Sub subscription configuration. Only populated on get requests.
- Subscription string
- 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 StringEmail - Service account that will make the push request.
- state String
- Potential issues with the underlying Pub/Sub subscription configuration. Only populated on get requests.
- subscription String
- 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 stringEmail - Service account that will make the push request.
- state string
- Potential issues with the underlying Pub/Sub subscription configuration. Only populated on get requests.
- subscription string
- 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_ stremail - Service account that will make the push request.
- state str
- Potential issues with the underlying Pub/Sub subscription configuration. Only populated on get requests.
- subscription str
- 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}
.
- service
Account StringEmail - Service account that will make the push request.
- state String
- Potential issues with the underlying Pub/Sub subscription configuration. Only populated on get requests.
- subscription String
- 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}
.
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
- Comment
Control string - 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
- Comment
Control string - 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
- comment
Control String - Configure builds to run whether a repository owner or collaborator need to comment
/gcbrun
. - invert
Regex Boolean - If true, branches that do NOT match the git_ref will trigger a build.
- branch string
- Regex of branches to match. The syntax of the regular expressions accepted is the syntax accepted by RE2 and described at https://github.com/google/re2/wiki/Syntax
- comment
Control string - Configure builds to run whether a repository owner or collaborator need to comment
/gcbrun
. - invert
Regex boolean - If true, branches that do NOT match the git_ref will trigger a build.
- branch str
- Regex of branches to match. The syntax of the regular expressions accepted is the syntax accepted by RE2 and described at https://github.com/google/re2/wiki/Syntax
- comment_
control str - Configure builds to run whether a repository owner or collaborator need to comment
/gcbrun
. - invert_
regex bool - If true, branches that do NOT match the git_ref will trigger a build.
- branch String
- Regex of branches to match. The syntax of the regular expressions accepted is the syntax accepted by RE2 and described at https://github.com/google/re2/wiki/Syntax
- comment
Control String - Configure builds to run whether a repository owner or collaborator need to comment
/gcbrun
. - invert
Regex Boolean - If true, branches that do NOT match the git_ref will trigger a build.
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
- Invert
Regex 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
- Invert
Regex 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
- invert
Regex 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
- invert
Regex 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
- invert
Regex 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
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.
RepoSourceResponse
- Branch
Name 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
- Commit
Sha 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. - Invert
Regex 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.
- Repo
Name string - Name of the Cloud Source Repository.
- Substitutions Dictionary<string, string>
- Substitutions to use in a triggered build. Should only be used with RunBuildTrigger
- Tag
Name 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 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
- Commit
Sha 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. - Invert
Regex 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.
- Repo
Name string - Name of the Cloud Source Repository.
- Substitutions map[string]string
- Substitutions to use in a triggered build. Should only be used with RunBuildTrigger
- Tag
Name 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 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
- commit
Sha 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. - invert
Regex 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.
- repo
Name String - Name of the Cloud Source Repository.
- substitutions Map<String,String>
- Substitutions to use in a triggered build. Should only be used with RunBuildTrigger
- tag
Name 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 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
- commit
Sha 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. - invert
Regex 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.
- repo
Name string - Name of the Cloud Source Repository.
- substitutions {[key: string]: string}
- Substitutions to use in a triggered build. Should only be used with RunBuildTrigger
- tag
Name 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
- branch
Name 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
- commit
Sha 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. - invert
Regex 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.
- repo
Name String - Name of the Cloud Source Repository.
- substitutions Map<String>
- Substitutions to use in a triggered build. Should only be used with RunBuildTrigger
- tag
Name 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
RepositoryEventConfigResponse
- Pull
Request Pulumi.Google Native. Cloud Build. V1. Inputs. Pull Request Filter Response - Filter to match changes in pull requests.
- Push
Pulumi.
Google Native. Cloud Build. V1. Inputs. Push Filter Response - Filter to match changes in refs like branches, tags.
- Repository string
- The resource name of the Repo API resource.
- Repository
Type string - The type of the SCM vendor the repository points to.
- Pull
Request PullRequest Filter Response - Filter to match changes in pull requests.
- Push
Push
Filter Response - Filter to match changes in refs like branches, tags.
- Repository string
- The resource name of the Repo API resource.
- Repository
Type string - The type of the SCM vendor the repository points to.
- pull
Request PullRequest Filter Response - Filter to match changes in pull requests.
- push
Push
Filter Response - Filter to match changes in refs like branches, tags.
- repository String
- The resource name of the Repo API resource.
- repository
Type String - The type of the SCM vendor the repository points to.
- pull
Request PullRequest Filter Response - Filter to match changes in pull requests.
- push
Push
Filter Response - Filter to match changes in refs like branches, tags.
- repository string
- The resource name of the Repo API resource.
- repository
Type string - The type of the SCM vendor the repository points to.
- pull_
request PullRequest Filter Response - Filter to match changes in pull requests.
- push
Push
Filter Response - 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.
- pull
Request 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.
- repository
Type String - The type of the SCM vendor the repository points to.
ResultsResponse
- Artifact
Manifest string - Path to the artifact manifest for non-container artifacts uploaded to Cloud Storage. Only populated when artifacts are uploaded to Cloud Storage.
- Artifact
Timing Pulumi.Google Native. Cloud Build. V1. Inputs. Time Span Response - Time to push all non-container artifacts to Cloud Storage.
- Build
Step List<string>Images - List of build step digests, in the order corresponding to build step indices.
- Build
Step List<string>Outputs - 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 50KB of data is stored. - Images
List<Pulumi.
Google Native. Cloud Build. V1. Inputs. Built Image Response> - Container images that were built as a part of the build.
- Maven
Artifacts List<Pulumi.Google Native. Cloud Build. V1. Inputs. Uploaded Maven Artifact Response> - Maven artifacts uploaded to Artifact Registry at the end of the build.
- Npm
Packages List<Pulumi.Google Native. Cloud Build. V1. Inputs. Uploaded Npm Package Response> - Npm packages uploaded to Artifact Registry at the end of the build.
- Num
Artifacts string - Number of non-container artifacts uploaded to Cloud Storage. Only populated when artifacts are uploaded to Cloud Storage.
- Python
Packages List<Pulumi.Google Native. Cloud Build. V1. Inputs. Uploaded Python Package Response> - Python artifacts uploaded to Artifact Registry at the end of the build.
- Artifact
Manifest string - Path to the artifact manifest for non-container artifacts uploaded to Cloud Storage. Only populated when artifacts are uploaded to Cloud Storage.
- Artifact
Timing TimeSpan Response - Time to push all non-container artifacts to Cloud Storage.
- Build
Step []stringImages - List of build step digests, in the order corresponding to build step indices.
- Build
Step []stringOutputs - 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 50KB of data is stored. - Images
[]Built
Image Response - Container images that were built as a part of the build.
- Maven
Artifacts []UploadedMaven Artifact Response - Maven artifacts uploaded to Artifact Registry at the end of the build.
- Npm
Packages []UploadedNpm Package Response - Npm packages uploaded to Artifact Registry at the end of the build.
- Num
Artifacts string - Number of non-container artifacts uploaded to Cloud Storage. Only populated when artifacts are uploaded to Cloud Storage.
- Python
Packages []UploadedPython Package Response - Python artifacts uploaded to Artifact Registry at the end of the build.
- artifact
Manifest String - Path to the artifact manifest for non-container artifacts uploaded to Cloud Storage. Only populated when artifacts are uploaded to Cloud Storage.
- artifact
Timing TimeSpan Response - Time to push all non-container artifacts to Cloud Storage.
- build
Step List<String>Images - List of build step digests, in the order corresponding to build step indices.
- build
Step List<String>Outputs - 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 50KB of data is stored. - images
List<Built
Image Response> - Container images that were built as a part of the build.
- maven
Artifacts List<UploadedMaven Artifact Response> - Maven artifacts uploaded to Artifact Registry at the end of the build.
- npm
Packages List<UploadedNpm Package Response> - Npm packages uploaded to Artifact Registry at the end of the build.
- num
Artifacts String - Number of non-container artifacts uploaded to Cloud Storage. Only populated when artifacts are uploaded to Cloud Storage.
- python
Packages List<UploadedPython Package Response> - Python artifacts uploaded to Artifact Registry at the end of the build.
- artifact
Manifest string - Path to the artifact manifest for non-container artifacts uploaded to Cloud Storage. Only populated when artifacts are uploaded to Cloud Storage.
- artifact
Timing TimeSpan Response - Time to push all non-container artifacts to Cloud Storage.
- build
Step string[]Images - List of build step digests, in the order corresponding to build step indices.
- build
Step string[]Outputs - 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 50KB of data is stored. - images
Built
Image Response[] - Container images that were built as a part of the build.
- maven
Artifacts UploadedMaven Artifact Response[] - Maven artifacts uploaded to Artifact Registry at the end of the build.
- npm
Packages UploadedNpm Package Response[] - Npm packages uploaded to Artifact Registry at the end of the build.
- num
Artifacts string - Number of non-container artifacts uploaded to Cloud Storage. Only populated when artifacts are uploaded to Cloud Storage.
- python
Packages UploadedPython Package Response[] - 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 TimeSpan Response - Time to push all non-container artifacts to Cloud Storage.
- build_
step_ Sequence[str]images - List of build step digests, in the order corresponding to build step indices.
- build_
step_ Sequence[str]outputs - 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 50KB of data is stored. - images
Sequence[Built
Image Response] - Container images that were built as a part of the build.
- maven_
artifacts Sequence[UploadedMaven Artifact Response] - Maven artifacts uploaded to Artifact Registry at the end of the build.
- npm_
packages Sequence[UploadedNpm Package Response] - Npm packages 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[UploadedPython Package Response] - Python artifacts uploaded to Artifact Registry at the end of the build.
- artifact
Manifest String - Path to the artifact manifest for non-container artifacts uploaded to Cloud Storage. Only populated when artifacts are uploaded to Cloud Storage.
- artifact
Timing Property Map - Time to push all non-container artifacts to Cloud Storage.
- build
Step List<String>Images - List of build step digests, in the order corresponding to build step indices.
- build
Step List<String>Outputs - 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 50KB of data is stored. - images List<Property Map>
- Container images that were built as a part of the build.
- maven
Artifacts List<Property Map> - Maven artifacts uploaded to Artifact Registry at the end of the build.
- npm
Packages List<Property Map> - Npm packages uploaded to Artifact Registry at the end of the build.
- num
Artifacts String - Number of non-container artifacts uploaded to Cloud Storage. Only populated when artifacts are uploaded to Cloud Storage.
- python
Packages List<Property Map> - Python artifacts uploaded to Artifact Registry at the end of the build.
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.
- Version
Name string - Resource name of the SecretVersion. In format: projects//secrets//versions/*
- Env string
- Environment variable name to associate with the secret. Secret environment variables must be unique across all of a build's secrets, and must be used by at least one build step.
- Version
Name string - Resource name of the SecretVersion. In format: projects//secrets//versions/*
- env String
- Environment variable name to associate with the secret. Secret environment variables must be unique across all of a build's secrets, and must be used by at least one build step.
- version
Name String - Resource name of the SecretVersion. In format: projects//secrets//versions/*
- env string
- Environment variable name to associate with the secret. Secret environment variables must be unique across all of a build's secrets, and must be used by at least one build step.
- version
Name string - Resource name of the SecretVersion. In format: projects//secrets//versions/*
- env str
- Environment variable name to associate with the secret. Secret environment variables must be unique across all of a build's secrets, and must be used by at least one build step.
- version_
name str - Resource name of the SecretVersion. In format: projects//secrets//versions/*
- env String
- Environment variable name to associate with the secret. Secret environment variables must be unique across all of a build's secrets, and must be used by at least one build step.
- version
Name String - Resource name of the SecretVersion. In format: projects//secrets//versions/*
SecretResponse
- Kms
Key stringName - Cloud KMS key name to use to decrypt these envs.
- Secret
Env Dictionary<string, string> - Map of environment variable name to its encrypted value. Secret environment variables must be unique across all of a build's secrets, and must be used by at least one build step. Values can be at most 64 KB in size. There can be at most 100 secret values across all of a build's secrets.
- Kms
Key stringName - Cloud KMS key name to use to decrypt these envs.
- Secret
Env map[string]string - Map of environment variable name to its encrypted value. Secret environment variables must be unique across all of a build's secrets, and must be used by at least one build step. Values can be at most 64 KB in size. There can be at most 100 secret values across all of a build's secrets.
- kms
Key StringName - Cloud KMS key name to use to decrypt these envs.
- secret
Env Map<String,String> - Map of environment variable name to its encrypted value. Secret environment variables must be unique across all of a build's secrets, and must be used by at least one build step. Values can be at most 64 KB in size. There can be at most 100 secret values across all of a build's secrets.
- kms
Key stringName - Cloud KMS key name to use to decrypt these envs.
- secret
Env {[key: string]: string} - Map of environment variable name to its encrypted value. Secret environment variables must be unique across all of a build's secrets, and must be used by at least one build step. Values can be at most 64 KB in size. There can be at most 100 secret values across all of a build's secrets.
- kms_
key_ strname - Cloud KMS key name to use to decrypt these envs.
- secret_
env Mapping[str, str] - Map of environment variable name to its encrypted value. Secret environment variables must be unique across all of a build's secrets, and must be used by at least one build step. Values can be at most 64 KB in size. There can be at most 100 secret values across all of a build's secrets.
- kms
Key StringName - Cloud KMS key name to use to decrypt these envs.
- secret
Env Map<String> - Map of environment variable name to its encrypted value. Secret environment variables must be unique across all of a build's secrets, and must be used by at least one build step. Values can be at most 64 KB in size. There can be at most 100 secret values across all of a build's secrets.
SecretsResponse
- Inline
List<Pulumi.
Google Native. Cloud Build. V1. Inputs. Inline Secret Response> - Secrets encrypted with KMS key and the associated secret environment variable.
- Secret
Manager List<Pulumi.Google Native. Cloud Build. V1. Inputs. Secret Manager Secret Response> - Secrets in Secret Manager and associated secret environment variable.
- Inline
[]Inline
Secret Response - Secrets encrypted with KMS key and the associated secret environment variable.
- Secret
Manager []SecretManager Secret Response - Secrets in Secret Manager and associated secret environment variable.
- inline
List<Inline
Secret Response> - Secrets encrypted with KMS key and the associated secret environment variable.
- secret
Manager List<SecretManager Secret Response> - Secrets in Secret Manager and associated secret environment variable.
- inline
Inline
Secret Response[] - Secrets encrypted with KMS key and the associated secret environment variable.
- secret
Manager SecretManager Secret Response[] - Secrets in Secret Manager and associated secret environment variable.
- inline
Sequence[Inline
Secret Response] - Secrets encrypted with KMS key and the associated secret environment variable.
- secret_
manager Sequence[SecretManager Secret Response] - Secrets in Secret Manager and associated secret environment variable.
- inline List<Property Map>
- Secrets encrypted with KMS key and the associated secret environment variable.
- secret
Manager List<Property Map> - Secrets in Secret Manager and associated secret environment variable.
ServiceDirectoryConfigResponse
- Service string
- The Service Directory service name. Format: projects/{project}/locations/{location}/namespaces/{namespace}/services/{service}.
- Service string
- The Service Directory service name. Format: projects/{project}/locations/{location}/namespaces/{namespace}/services/{service}.
- service String
- The Service Directory service name. Format: projects/{project}/locations/{location}/namespaces/{namespace}/services/{service}.
- service string
- The Service Directory service name. Format: projects/{project}/locations/{location}/namespaces/{namespace}/services/{service}.
- service str
- The Service Directory service name. Format: projects/{project}/locations/{location}/namespaces/{namespace}/services/{service}.
- service String
- The Service Directory service name. Format: projects/{project}/locations/{location}/namespaces/{namespace}/services/{service}.
SourceProvenanceResponse
- File
Hashes Dictionary<string, string> - Hash(es) of the build source, which can be used to verify that the original source integrity was maintained in the build. Note that
FileHashes
will only be populated ifBuildOptions
has requested aSourceProvenanceHash
. The keys to this map are file paths used as build source and the values contain the hash values for those files. If the build source came in a single package such as a gzipped tarfile (.tar.gz
), theFileHash
will be for the single path to that file. - Resolved
Connected Pulumi.Repository Google Native. Cloud Build. V1. Inputs. Connected Repository Response - A copy of the build's
source.connected_repository
, if exists, with any revisions resolved. - Resolved
Git Pulumi.Source Google Native. Cloud Build. V1. Inputs. Git Source Response - A copy of the build's
source.git_source
, if exists, with any revisions resolved. - Resolved
Repo Pulumi.Source Google Native. Cloud Build. V1. Inputs. Repo Source Response - A copy of the build's
source.repo_source
, if exists, with any revisions resolved. - Resolved
Storage Pulumi.Source Google Native. Cloud Build. V1. Inputs. Storage Source Response - A copy of the build's
source.storage_source
, if exists, with any generations resolved. - Resolved
Storage Pulumi.Source Manifest Google Native. Cloud Build. V1. Inputs. Storage Source Manifest Response - A copy of the build's
source.storage_source_manifest
, if exists, with any revisions resolved. This feature is in Preview.
- File
Hashes map[string]string - Hash(es) of the build source, which can be used to verify that the original source integrity was maintained in the build. Note that
FileHashes
will only be populated ifBuildOptions
has requested aSourceProvenanceHash
. The keys to this map are file paths used as build source and the values contain the hash values for those files. If the build source came in a single package such as a gzipped tarfile (.tar.gz
), theFileHash
will be for the single path to that file. - Resolved
Connected ConnectedRepository Repository Response - A copy of the build's
source.connected_repository
, if exists, with any revisions resolved. - Resolved
Git GitSource Source Response - A copy of the build's
source.git_source
, if exists, with any revisions resolved. - Resolved
Repo RepoSource Source Response - A copy of the build's
source.repo_source
, if exists, with any revisions resolved. - Resolved
Storage StorageSource Source Response - A copy of the build's
source.storage_source
, if exists, with any generations resolved. - Resolved
Storage StorageSource Manifest Source Manifest Response - A copy of the build's
source.storage_source_manifest
, if exists, with any revisions resolved. This feature is in Preview.
- file
Hashes Map<String,String> - Hash(es) of the build source, which can be used to verify that the original source integrity was maintained in the build. Note that
FileHashes
will only be populated ifBuildOptions
has requested aSourceProvenanceHash
. The keys to this map are file paths used as build source and the values contain the hash values for those files. If the build source came in a single package such as a gzipped tarfile (.tar.gz
), theFileHash
will be for the single path to that file. - resolved
Connected ConnectedRepository Repository Response - A copy of the build's
source.connected_repository
, if exists, with any revisions resolved. - resolved
Git GitSource Source Response - A copy of the build's
source.git_source
, if exists, with any revisions resolved. - resolved
Repo RepoSource Source Response - A copy of the build's
source.repo_source
, if exists, with any revisions resolved. - resolved
Storage StorageSource Source Response - A copy of the build's
source.storage_source
, if exists, with any generations resolved. - resolved
Storage StorageSource Manifest Source Manifest Response - A copy of the build's
source.storage_source_manifest
, if exists, with any revisions resolved. This feature is in Preview.
- file
Hashes {[key: string]: string} - Hash(es) of the build source, which can be used to verify that the original source integrity was maintained in the build. Note that
FileHashes
will only be populated ifBuildOptions
has requested aSourceProvenanceHash
. The keys to this map are file paths used as build source and the values contain the hash values for those files. If the build source came in a single package such as a gzipped tarfile (.tar.gz
), theFileHash
will be for the single path to that file. - resolved
Connected ConnectedRepository Repository Response - A copy of the build's
source.connected_repository
, if exists, with any revisions resolved. - resolved
Git GitSource Source Response - A copy of the build's
source.git_source
, if exists, with any revisions resolved. - resolved
Repo RepoSource Source Response - A copy of the build's
source.repo_source
, if exists, with any revisions resolved. - resolved
Storage StorageSource Source Response - A copy of the build's
source.storage_source
, if exists, with any generations resolved. - resolved
Storage StorageSource Manifest Source Manifest Response - A copy of the build's
source.storage_source_manifest
, if exists, with any revisions resolved. This feature is in Preview.
- file_
hashes Mapping[str, str] - Hash(es) of the build source, which can be used to verify that the original source integrity was maintained in the build. Note that
FileHashes
will only be populated ifBuildOptions
has requested aSourceProvenanceHash
. The keys to this map are file paths used as build source and the values contain the hash values for those files. If the build source came in a single package such as a gzipped tarfile (.tar.gz
), theFileHash
will be for the single path to that file. - resolved_
connected_ Connectedrepository Repository Response - A copy of the build's
source.connected_repository
, if exists, with any revisions resolved. - resolved_
git_ Gitsource Source Response - A copy of the build's
source.git_source
, if exists, with any revisions resolved. - resolved_
repo_ Reposource Source Response - A copy of the build's
source.repo_source
, if exists, with any revisions resolved. - resolved_
storage_ Storagesource Source Response - A copy of the build's
source.storage_source
, if exists, with any generations resolved. - resolved_
storage_ Storagesource_ manifest Source Manifest Response - A copy of the build's
source.storage_source_manifest
, if exists, with any revisions resolved. This feature is in Preview.
- file
Hashes Map<String> - Hash(es) of the build source, which can be used to verify that the original source integrity was maintained in the build. Note that
FileHashes
will only be populated ifBuildOptions
has requested aSourceProvenanceHash
. The keys to this map are file paths used as build source and the values contain the hash values for those files. If the build source came in a single package such as a gzipped tarfile (.tar.gz
), theFileHash
will be for the single path to that file. - resolved
Connected Property MapRepository - A copy of the build's
source.connected_repository
, if exists, with any revisions resolved. - resolved
Git Property MapSource - A copy of the build's
source.git_source
, if exists, with any revisions resolved. - resolved
Repo Property MapSource - A copy of the build's
source.repo_source
, if exists, with any revisions resolved. - resolved
Storage Property MapSource - A copy of the build's
source.storage_source
, if exists, with any generations resolved. - resolved
Storage Property MapSource Manifest - A copy of the build's
source.storage_source_manifest
, if exists, with any revisions resolved. This feature is in Preview.
SourceResponse
- Connected
Repository Pulumi.Google Native. Cloud Build. V1. Inputs. Connected Repository Response - Optional. If provided, get the source from this 2nd-gen Google Cloud Build repository resource.
- Git
Source Pulumi.Google Native. Cloud Build. V1. Inputs. Git Source Response - If provided, get the source from this Git repository.
- Repo
Source Pulumi.Google Native. Cloud Build. V1. Inputs. Repo Source Response - If provided, get the source from this location in a Cloud Source Repository.
- Storage
Source Pulumi.Google Native. Cloud Build. V1. Inputs. Storage Source Response - If provided, get the source from this location in Cloud Storage.
- Storage
Source Pulumi.Manifest Google Native. Cloud Build. V1. Inputs. Storage Source Manifest Response - If provided, get the source from this manifest in Cloud Storage. This feature is in Preview; see description here.
- Connected
Repository ConnectedRepository Response - Optional. If provided, get the source from this 2nd-gen Google Cloud Build repository resource.
- Git
Source GitSource Response - If provided, get the source from this Git repository.
- Repo
Source RepoSource Response - If provided, get the source from this location in a Cloud Source Repository.
- Storage
Source StorageSource Response - If provided, get the source from this location in Cloud Storage.
- Storage
Source StorageManifest Source Manifest Response - If provided, get the source from this manifest in Cloud Storage. This feature is in Preview; see description here.
- connected
Repository ConnectedRepository Response - Optional. If provided, get the source from this 2nd-gen Google Cloud Build repository resource.
- git
Source GitSource Response - If provided, get the source from this Git repository.
- repo
Source RepoSource Response - If provided, get the source from this location in a Cloud Source Repository.
- storage
Source StorageSource Response - If provided, get the source from this location in Cloud Storage.
- storage
Source StorageManifest Source Manifest Response - If provided, get the source from this manifest in Cloud Storage. This feature is in Preview; see description here.
- connected
Repository ConnectedRepository Response - Optional. If provided, get the source from this 2nd-gen Google Cloud Build repository resource.
- git
Source GitSource Response - If provided, get the source from this Git repository.
- repo
Source RepoSource Response - If provided, get the source from this location in a Cloud Source Repository.
- storage
Source StorageSource Response - If provided, get the source from this location in Cloud Storage.
- storage
Source StorageManifest Source Manifest Response - If provided, get the source from this manifest in Cloud Storage. This feature is in Preview; see description here.
- connected_
repository ConnectedRepository Response - Optional. If provided, get the source from this 2nd-gen Google Cloud Build repository resource.
- git_
source GitSource Response - If provided, get the source from this Git repository.
- repo_
source RepoSource Response - If provided, get the source from this location in a Cloud Source Repository.
- storage_
source StorageSource Response - If provided, get the source from this location in Cloud Storage.
- storage_
source_ Storagemanifest Source Manifest Response - If provided, get the source from this manifest in Cloud Storage. This feature is in Preview; see description here.
- connected
Repository Property Map - Optional. If provided, get the source from this 2nd-gen Google Cloud Build repository resource.
- git
Source Property Map - If provided, get the source from this Git repository.
- repo
Source Property Map - If provided, get the source from this location in a Cloud Source Repository.
- storage
Source Property Map - If provided, get the source from this location in Cloud Storage.
- storage
Source Property MapManifest - If provided, get the source from this manifest in Cloud Storage. This feature is in Preview; see description here.
StorageSourceManifestResponse
- Bucket string
- Cloud Storage bucket containing the source manifest (see Bucket Name Requirements).
- Generation string
- Cloud Storage generation for the object. If the generation is omitted, the latest generation will be used.
- Object string
- Cloud Storage object containing the source manifest. This object must be a JSON file.
- Bucket string
- Cloud Storage bucket containing the source manifest (see Bucket Name Requirements).
- Generation string
- Cloud Storage generation for the object. If the generation is omitted, the latest generation will be used.
- Object string
- Cloud Storage object containing the source manifest. This object must be a JSON file.
- bucket String
- Cloud Storage bucket containing the source manifest (see Bucket Name Requirements).
- generation String
- Cloud Storage generation for the object. If the generation is omitted, the latest generation will be used.
- object String
- Cloud Storage object containing the source manifest. This object must be a JSON file.
- bucket string
- Cloud Storage bucket containing the source manifest (see Bucket Name Requirements).
- generation string
- Cloud Storage generation for the object. If the generation is omitted, the latest generation will be used.
- object string
- Cloud Storage object containing the source manifest. This object must be a JSON file.
- bucket str
- Cloud Storage bucket containing the source manifest (see Bucket Name Requirements).
- generation str
- Cloud Storage generation for the object. If the generation is omitted, the latest generation will be used.
- object str
- Cloud Storage object containing the source manifest. This object must be a JSON file.
- bucket String
- Cloud Storage bucket containing the source manifest (see Bucket Name Requirements).
- generation String
- Cloud Storage generation for the object. If the generation is omitted, the latest generation will be used.
- object String
- Cloud Storage object containing the source manifest. This object must be a JSON file.
StorageSourceResponse
- Bucket string
- Cloud Storage bucket containing the source (see Bucket Name Requirements).
- Generation string
- Cloud Storage generation for the object. If the generation is omitted, the latest generation will be used.
- Object string
- Cloud Storage object containing the source. This object must be a zipped (
.zip
) or gzipped archive file (.tar.gz
) containing source to build. - Source
Fetcher string - Optional. Option to specify the tool to fetch the source file for the build.
- Bucket string
- Cloud Storage bucket containing the source (see Bucket Name Requirements).
- Generation string
- Cloud Storage generation for the object. If the generation is omitted, the latest generation will be used.
- Object string
- Cloud Storage object containing the source. This object must be a zipped (
.zip
) or gzipped archive file (.tar.gz
) containing source to build. - Source
Fetcher string - Optional. Option to specify the tool to fetch the source file for the build.
- bucket String
- Cloud Storage bucket containing the source (see Bucket Name Requirements).
- generation String
- Cloud Storage generation for the object. If the generation is omitted, the latest generation will be used.
- object String
- Cloud Storage object containing the source. This object must be a zipped (
.zip
) or gzipped archive file (.tar.gz
) containing source to build. - source
Fetcher String - Optional. Option to specify the tool to fetch the source file for the build.
- bucket string
- Cloud Storage bucket containing the source (see Bucket Name Requirements).
- generation string
- Cloud Storage generation for the object. If the generation is omitted, the latest generation will be used.
- object string
- Cloud Storage object containing the source. This object must be a zipped (
.zip
) or gzipped archive file (.tar.gz
) containing source to build. - source
Fetcher string - Optional. Option to specify the tool to fetch the source file for the build.
- bucket str
- Cloud Storage bucket containing the source (see Bucket Name Requirements).
- generation str
- Cloud Storage generation for the object. If the generation is omitted, the latest generation will be used.
- object str
- Cloud Storage object containing the source. This object must be a zipped (
.zip
) or gzipped archive file (.tar.gz
) containing source to build. - source_
fetcher str - Optional. Option to specify the tool to fetch the source file for the build.
- bucket String
- Cloud Storage bucket containing the source (see Bucket Name Requirements).
- generation String
- Cloud Storage generation for the object. If the generation is omitted, the latest generation will be used.
- object String
- Cloud Storage object containing the source. This object must be a zipped (
.zip
) or gzipped archive file (.tar.gz
) containing source to build. - source
Fetcher String - Optional. Option to specify the tool to fetch the source file for the build.
TimeSpanResponse
- end_
time str - End of time span.
- start_
time str - Start of time span.
UploadedMavenArtifactResponse
- File
Hashes Pulumi.Google Native. Cloud Build. V1. Inputs. File Hashes Response - Hash types and values of the Maven Artifact.
- Push
Timing Pulumi.Google Native. Cloud Build. V1. Inputs. Time Span Response - Stores timing information for pushing the specified artifact.
- Uri string
- URI of the uploaded artifact.
- File
Hashes FileHashes Response - Hash types and values of the Maven Artifact.
- Push
Timing TimeSpan Response - Stores timing information for pushing the specified artifact.
- Uri string
- URI of the uploaded artifact.
- file
Hashes FileHashes Response - Hash types and values of the Maven Artifact.
- push
Timing TimeSpan Response - Stores timing information for pushing the specified artifact.
- uri String
- URI of the uploaded artifact.
- file
Hashes FileHashes Response - Hash types and values of the Maven Artifact.
- push
Timing TimeSpan Response - Stores timing information for pushing the specified artifact.
- uri string
- URI of the uploaded artifact.
- file_
hashes FileHashes Response - Hash types and values of the Maven Artifact.
- push_
timing TimeSpan Response - Stores timing information for pushing the specified artifact.
- uri str
- URI of the uploaded artifact.
- file
Hashes Property Map - Hash types and values of the Maven Artifact.
- push
Timing Property Map - Stores timing information for pushing the specified artifact.
- uri String
- URI of the uploaded artifact.
UploadedNpmPackageResponse
- File
Hashes Pulumi.Google Native. Cloud Build. V1. Inputs. File Hashes Response - Hash types and values of the npm package.
- Push
Timing Pulumi.Google Native. Cloud Build. V1. Inputs. Time Span Response - Stores timing information for pushing the specified artifact.
- Uri string
- URI of the uploaded npm package.
- File
Hashes FileHashes Response - Hash types and values of the npm package.
- Push
Timing TimeSpan Response - Stores timing information for pushing the specified artifact.
- Uri string
- URI of the uploaded npm package.
- file
Hashes FileHashes Response - Hash types and values of the npm package.
- push
Timing TimeSpan Response - Stores timing information for pushing the specified artifact.
- uri String
- URI of the uploaded npm package.
- file
Hashes FileHashes Response - Hash types and values of the npm package.
- push
Timing TimeSpan Response - Stores timing information for pushing the specified artifact.
- uri string
- URI of the uploaded npm package.
- file_
hashes FileHashes Response - Hash types and values of the npm package.
- push_
timing TimeSpan Response - Stores timing information for pushing the specified artifact.
- uri str
- URI of the uploaded npm package.
- file
Hashes Property Map - Hash types and values of the npm package.
- push
Timing Property Map - Stores timing information for pushing the specified artifact.
- uri String
- URI of the uploaded npm package.
UploadedPythonPackageResponse
- File
Hashes Pulumi.Google Native. Cloud Build. V1. Inputs. File Hashes Response - Hash types and values of the Python Artifact.
- Push
Timing Pulumi.Google Native. Cloud Build. V1. Inputs. Time Span Response - Stores timing information for pushing the specified artifact.
- Uri string
- URI of the uploaded artifact.
- File
Hashes FileHashes Response - Hash types and values of the Python Artifact.
- Push
Timing TimeSpan Response - Stores timing information for pushing the specified artifact.
- Uri string
- URI of the uploaded artifact.
- file
Hashes FileHashes Response - Hash types and values of the Python Artifact.
- push
Timing TimeSpan Response - Stores timing information for pushing the specified artifact.
- uri String
- URI of the uploaded artifact.
- file
Hashes FileHashes Response - Hash types and values of the Python Artifact.
- push
Timing TimeSpan Response - Stores timing information for pushing the specified artifact.
- uri string
- URI of the uploaded artifact.
- file_
hashes FileHashes Response - Hash types and values of the Python Artifact.
- push_
timing TimeSpan Response - Stores timing information for pushing the specified artifact.
- uri str
- URI of the uploaded artifact.
- file
Hashes Property Map - Hash types and values of the Python Artifact.
- push
Timing Property Map - Stores timing information for pushing the specified artifact.
- uri String
- URI of the uploaded artifact.
VolumeResponse
- Name string
- Name of the volume to mount. Volume names must be unique per build step and must be valid names for Docker volumes. Each named volume must be used by at least two build steps.
- Path string
- Path at which to mount the volume. Paths must be absolute and cannot conflict with other volume paths on the same build step or with certain reserved volume paths.
- Name string
- Name of the volume to mount. Volume names must be unique per build step and must be valid names for Docker volumes. Each named volume must be used by at least two build steps.
- Path string
- Path at which to mount the volume. Paths must be absolute and cannot conflict with other volume paths on the same build step or with certain reserved volume paths.
- name String
- Name of the volume to mount. Volume names must be unique per build step and must be valid names for Docker volumes. Each named volume must be used by at least two build steps.
- path String
- Path at which to mount the volume. Paths must be absolute and cannot conflict with other volume paths on the same build step or with certain reserved volume paths.
- name string
- Name of the volume to mount. Volume names must be unique per build step and must be valid names for Docker volumes. Each named volume must be used by at least two build steps.
- path string
- Path at which to mount the volume. Paths must be absolute and cannot conflict with other volume paths on the same build step or with certain reserved volume paths.
- name str
- Name of the volume to mount. Volume names must be unique per build step and must be valid names for Docker volumes. Each named volume must be used by at least two build steps.
- path str
- Path at which to mount the volume. Paths must be absolute and cannot conflict with other volume paths on the same build step or with certain reserved volume paths.
- name String
- Name of the volume to mount. Volume names must be unique per build step and must be valid names for Docker volumes. Each named volume must be used by at least two build steps.
- path String
- Path at which to mount the volume. Paths must be absolute and cannot conflict with other volume paths on the same build step or with certain reserved volume paths.
WarningResponse
WebhookConfigResponse
Package Details
- Repository
- Google Cloud Native pulumi/pulumi-google-native
- License
- Apache-2.0
Google Cloud Native is in preview. Google Cloud Classic is fully supported.
Google Cloud Native v0.32.0 published on Wednesday, Nov 29, 2023 by Pulumi