Package-level declarations
Types
ApprovalConfig describes configuration for manual approval of a build.
Files in the workspace to upload to Cloud Storage upon successful completion of all build steps.
Artifacts produced by a build that should be uploaded upon successful completion of all build steps.
BitbucketServerConfig represents the configuration for a Bitbucket Server.
BitbucketServerRepositoryId identifies a specific repository hosted on a Bitbucket Server.
BitbucketServerSecrets represents the secrets in Secret Manager for a Bitbucket Server.
BitbucketServerTriggerConfig describes the configuration of a trigger that creates a build whenever a Bitbucket Server event is received.
BuildApproval describes a build's approval configuration, state, and result.
Optional arguments to enable specific features of builds.
A build resource in the Cloud Build API. At a high level, a Build
describes where to find source code, how to build it (for example, the builder image to run on the source), and where to store the built artifacts. Fields can include the following variables, which will be expanded when the build is created: - $PROJECT_ID: the project ID of the build. - $PROJECT_NUMBER: the project number of the build. - $LOCATION: the location/region of the build. - $BUILD_ID: the autogenerated ID of the build. - $REPO_NAME: the source repository name specified by RepoSource. - $BRANCH_NAME: the branch name specified by RepoSource. - $TAG_NAME: the tag name specified by RepoSource. - $REVISION_ID or $COMMIT_SHA: the commit SHA specified by RepoSource or resolved from the specified branch or tag. - $SHORT_SHA: first 7 characters of $REVISION_ID or $COMMIT_SHA.
A step in the build pipeline.
An image built by the pipeline.
A fatal problem encountered during the execution of the build.
Container message for hashes of byte content of files, used in SourceProvenance messages to verify integrity of source input to the build.
GitHubEnterpriseSecrets represents the names of all necessary secrets in Secret Manager for a GitHub Enterprise server. Format is: projects//secrets/.
GitHubEventsConfig describes the configuration of a trigger that creates a build whenever a GitHub event is received.
GitLabConfig represents the configuration for a GitLab integration.
GitLabEnterpriseConfig represents the configuration for a GitLabEnterprise integration.
GitLabEventsConfig describes the configuration of a trigger that creates a build whenever a GitLab event is received.
GitLabRepositoryId identifies a specific repository hosted on GitLab.com or GitLabEnterprise
GitLabSecrets represents the secrets in Secret Manager for a GitLab integration.
Location of the source in any accessible Git repository.
Container message for hash values.
Pairs a set of secret environment variables mapped to encrypted values with the Cloud KMS key to use to decrypt the value.
Defines the network configuration for the pool.
Npm package to upload to Artifact Registry upon successful completion of all build steps.
Details about how a build should be executed on a WorkerPool
. See running builds in a private pool for more information.
Configuration for a V1 PrivatePool
.
PubsubConfig describes the configuration of a trigger that creates a build whenever a Pub/Sub message is published.
PullRequestFilter contains filter properties for matching GitHub Pull Requests.
Push contains filter properties for matching GitHub git pushes.
Python package to upload to Artifact Registry upon successful completion of all build steps. A package can encapsulate multiple objects to be uploaded to a single repository.
The configuration of a trigger that creates a build whenever an event from Repo API is received.
Artifacts created by the build pipeline.
Pairs a secret environment variable with a SecretVersion in Secret Manager.
Pairs a set of secret environment variables containing encrypted values with the Cloud KMS key to use to decrypt the value. Note: Use kmsKeyName
with available_secrets
instead of using kmsKeyName
with secret
. For instructions see: https://cloud.google.com/cloud-build/docs/securing-builds/use-encrypted-credentials.
Secrets and secret environment variables.
ServiceDirectoryConfig represents Service Directory configuration for a SCM host connection.
Provenance of the source. Ways to find the original source, or verify that some source was used for this build.
Location of the source in a supported storage service.
Location of the source manifest in Google Cloud Storage. This feature is in Preview; see description here.
Location of the source in an archive file in Google Cloud Storage.
Start and end times for a build execution phase.
A Maven artifact uploaded using the MavenArtifact directive.
An npm package uploaded to Artifact Registry using the NpmPackage directive.
Artifact uploaded using the PythonPackage directive.
Volume describes a Docker container volume which is mounted into build steps in order to persist files across build step execution.
A non-fatal problem encountered during the execution of the build.
WebhookConfig describes the configuration of a trigger that creates a build whenever a webhook is sent to a trigger's webhook URL.
Defines the configuration to be used for creating workers in the pool.