googleapis.cloudbuild.v1 library

Classes

ArtifactObjects
Files in the workspace to upload to Cloud Storage upon successful completion of all build steps.
ArtifactResult
An artifact that was uploaded during a build. This is a single record in the artifact manifest JSON file.
Artifacts
Artifacts produced by a build that should be uploaded upon successful completion of all build steps.
Build
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. - $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.
BuildOperationMetadata
Metadata for build operations.
BuildOptions
Optional arguments to enable specific features of builds.
BuildStep
A step in the build pipeline.
BuildTrigger
Configuration for an automated build in response to source repository changes.
BuiltImage
An image built by the pipeline.
CancelBuildRequest
Request to cancel an ongoing build.
CancelOperationRequest
The request message for Operations.CancelOperation.
CloudbuildApi
Creates and manages builds on Google Cloud Platform.
Empty
A generic empty message that you can re-use to avoid defining duplicated empty messages in your APIs. A typical example is to use it as the request or the response type of an API method. For instance: service Foo { rpc Bar(google.protobuf.Empty) returns (google.protobuf.Empty); } The JSON representation for Empty is empty JSON object {}.
FileHashes
Container message for hashes of byte content of files, used in SourceProvenance messages to verify integrity of source input to the build.
GitHubEventsConfig
GitHubEventsConfig describes the configuration of a trigger that creates a build whenever a GitHub event is received. This message is experimental.
Hash
Container message for hash values.
HTTPDelivery
HTTPDelivery is the delivery configuration for an HTTP notification.
ListBuildsResponse
Response including listed builds.
ListBuildTriggersResponse
Response containing existing BuildTriggers.
Notification
Notification is the container which holds the data that is relevant to this particular notification.
NotifierConfig
NotifierConfig is the top-level configuration message.
NotifierMetadata
NotifierMetadata contains the data which can be used to reference or describe this notifier.
NotifierSecret
NotifierSecret is the container that maps a secret name (reference) to its Google Cloud Secret Manager resource path.
NotifierSecretRef
NotifierSecretRef contains the reference to a secret stored in the corresponding NotifierSpec.
NotifierSpec
NotifierSpec is the configuration container for notifications.
Operation
This resource represents a long-running operation that is the result of a network API call.
OperationsResourceApi
ProjectsBuildsResourceApi
ProjectsLocationsBuildsResourceApi
ProjectsLocationsOperationsResourceApi
ProjectsLocationsResourceApi
ProjectsResourceApi
ProjectsTriggersResourceApi
PullRequestFilter
PullRequestFilter contains filter properties for matching GitHub Pull Requests.
PushFilter
Push contains filter properties for matching GitHub git pushes.
RepoSource
Location of the source in a Google Cloud Source Repository.
Results
Artifacts created by the build pipeline.
RetryBuildRequest
Specifies a build to retry.
Secret
Pairs a set of secret environment variables containing encrypted values with the Cloud KMS key to use to decrypt the value.
SlackDelivery
SlackDelivery is the delivery configuration for delivering Slack messages via webhooks. See Slack webhook documentation at: https://api.slack.com/messaging/webhooks.
SMTPDelivery
SMTPDelivery is the delivery configuration for an SMTP (email) notification.
Source
Location of the source in a supported storage service.
SourceProvenance
Provenance of the source. Ways to find the original source, or verify that some source was used for this build.
Status
The Status type defines a logical error model that is suitable for different programming environments, including REST APIs and RPC APIs. It is used by gRPC. Each Status message contains three pieces of data: error code, error message, and error details. You can find out more about this error model and how to work with it in the API Design Guide.
StorageSource
Location of the source in an archive file in Google Cloud Storage.
TimeSpan
Start and end times for a build execution phase.
Volume
Volume describes a Docker container volume which is mounted into build steps in order to persist files across build step execution.

Constants

USER_AGENT → const String
'dart-api-client cloudbuild/v1'

Exceptions / Errors

ApiRequestError
Represents a general error reported by the API endpoint.
DetailedApiRequestError
Represents a specific error reported by the API endpoint.