cloudbuild library

Classes

ApprovalConfig
ApprovalConfig describes configuration for manual approval of a build.
ApprovalConfigResponse
ApprovalConfig describes configuration for manual approval of a build.
ApprovalResultResponse
ApprovalResult describes the decision and associated metadata of a manual approval of a build.
ArtifactObjects
Files in the workspace to upload to Cloud Storage upon successful completion of all build steps.
ArtifactObjectsResponse
Files in the workspace to upload to Cloud Storage upon successful completion of all build steps.
Artifacts
Artifacts produced by a build that should be uploaded upon successful completion of all build steps.
ArtifactsResponse
Artifacts produced by a build that should be uploaded upon successful completion of all build steps.
AuditConfig
Specifies the audit configuration for a service. The configuration determines which permission types are logged, and what identities, if any, are exempted from logging. An AuditConfig must have one or more AuditLogConfigs. If there are AuditConfigs for both allServices and a specific service, the union of the two AuditConfigs is used for that service: the log_types specified in each AuditConfig are enabled, and the exempted_members in each AuditLogConfig are exempted. Example Policy with multiple AuditConfigs: { "audit_configs": [ { "service": "allServices", "audit_log_configs": [ { "log_type": "DATA_READ", "exempted_members": "user:jose@example.com" }, { "log_type": "DATA_WRITE" }, { "log_type": "ADMIN_READ" } ] }, { "service": "sampleservice.googleapis.com", "audit_log_configs": [ { "log_type": "DATA_READ" }, { "log_type": "DATA_WRITE", "exempted_members": "user:aliya@example.com" } ] } ] } For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also exempts jose@example.com from DATA_READ logging, and aliya@example.com from DATA_WRITE logging.
AuditConfigResponse
Specifies the audit configuration for a service. The configuration determines which permission types are logged, and what identities, if any, are exempted from logging. An AuditConfig must have one or more AuditLogConfigs. If there are AuditConfigs for both allServices and a specific service, the union of the two AuditConfigs is used for that service: the log_types specified in each AuditConfig are enabled, and the exempted_members in each AuditLogConfig are exempted. Example Policy with multiple AuditConfigs: { "audit_configs": [ { "service": "allServices", "audit_log_configs": [ { "log_type": "DATA_READ", "exempted_members": "user:jose@example.com" }, { "log_type": "DATA_WRITE" }, { "log_type": "ADMIN_READ" } ] }, { "service": "sampleservice.googleapis.com", "audit_log_configs": [ { "log_type": "DATA_READ" }, { "log_type": "DATA_WRITE", "exempted_members": "user:aliya@example.com" } ] } ] } For sampleservice, this policy enables DATA_READ, DATA_WRITE and ADMIN_READ logging. It also exempts jose@example.com from DATA_READ logging, and aliya@example.com from DATA_WRITE logging.
AuditLogConfig
Provides the configuration for logging a type of permissions. Example: { "audit_log_configs": [ { "log_type": "DATA_READ", "exempted_members": "user:jose@example.com" }, { "log_type": "DATA_WRITE" } ] } This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting jose@example.com from DATA_READ logging.
AuditLogConfigResponse
Provides the configuration for logging a type of permissions. Example: { "audit_log_configs": [ { "log_type": "DATA_READ", "exempted_members": "user:jose@example.com" }, { "log_type": "DATA_WRITE" } ] } This enables 'DATA_READ' and 'DATA_WRITE' logging, while exempting jose@example.com from DATA_READ logging.
Binding
Associates members, or principals, with a role.
BindingResponse
Associates members, or principals, with a role.
BitbucketServerConfig
Creates a new BitbucketServerConfig. This API is experimental.
BitbucketServerConfigArgs
The set of arguments for BitbucketServerConfig. The set of arguments for BitbucketServerConfig.
BitbucketServerConfigResponse
BitbucketServerConfig represents the configuration for a Bitbucket Server.
BitbucketServerRepositoryIdResponse
BitbucketServerRepositoryId identifies a specific repository hosted on a Bitbucket Server.
BitbucketServerSecrets
BitbucketServerSecrets represents the secrets in Secret Manager for a Bitbucket Server.
BitbucketServerSecretsResponse
BitbucketServerSecrets represents the secrets in Secret Manager for a Bitbucket Server.
BitbucketServerTriggerConfig
BitbucketServerTriggerConfig describes the configuration of a trigger that creates a build whenever a Bitbucket Server event is received.
BitbucketServerTriggerConfigResponse
BitbucketServerTriggerConfig describes the configuration of a trigger that creates a build whenever a Bitbucket Server event is received.
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. - $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.
BuildApprovalResponse
BuildApproval describes a build's approval configuration, state, and result.
BuildArgs
The set of arguments for Build. The set of arguments for Build.
BuildCloudbuildV1
Starts a build with the specified configuration. This method returns a long-running Operation, which includes the build ID. Pass the build ID to GetBuild to determine the build status (such as SUCCESS or FAILURE). Auto-naming is currently not supported for this resource. Note - this resource's API doesn't support deletion. When deleted, the resource will persist on Google Cloud even though it will be deleted from Pulumi state.
BuildOptions
Optional arguments to enable specific features of builds.
BuildOptionsResponse
Optional arguments to enable specific features of builds.
BuildResponse
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.
BuildStep
A step in the build pipeline.
BuildStepResponse
A step in the build pipeline.
BuiltImageResponse
An image built by the pipeline.
ConnectedRepository
Location of the source in a 2nd-gen Google Cloud Build repository resource.
ConnectedRepositoryResponse
Location of the source in a 2nd-gen Google Cloud Build repository resource.
Connection
Creates a Connection.
ConnectionArgs
The set of arguments for Connection. The set of arguments for Connection.
ConnectionIamBinding
Sets the access control policy on the specified resource. Replaces any existing policy. Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED errors.
ConnectionIamBindingArgs
The set of arguments for ConnectionIamBinding. The set of arguments for ConnectionIamBinding.
ConnectionIamMember
Sets the access control policy on the specified resource. Replaces any existing policy. Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED errors.
ConnectionIamMemberArgs
The set of arguments for ConnectionIamMember. The set of arguments for ConnectionIamMember.
ConnectionIamPolicy
Sets the access control policy on the specified resource. Replaces any existing policy. Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED errors. Note - this resource's API doesn't support deletion. When deleted, the resource will persist on Google Cloud even though it will be deleted from Pulumi state.
ConnectionIamPolicyArgs
The set of arguments for ConnectionIamPolicy. The set of arguments for ConnectionIamPolicy.
Expr
Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: "Summary size limit" description: "Determines if a summary is less than 100 chars" expression: "document.summary.size() < 100" Example (Equality): title: "Requestor is owner" description: "Determines if requestor is the document owner" expression: "document.owner == request.auth.claims.email" Example (Logic): title: "Public documents" description: "Determine whether the document should be publicly visible" expression: "document.type != 'private' && document.type != 'internal'" Example (Data Manipulation): title: "Notification string" description: "Create a notification string with a timestamp." expression: "'New message received at ' + string(document.create_time)" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information.
ExprResponse
Represents a textual expression in the Common Expression Language (CEL) syntax. CEL is a C-like expression language. The syntax and semantics of CEL are documented at https://github.com/google/cel-spec. Example (Comparison): title: "Summary size limit" description: "Determines if a summary is less than 100 chars" expression: "document.summary.size() < 100" Example (Equality): title: "Requestor is owner" description: "Determines if requestor is the document owner" expression: "document.owner == request.auth.claims.email" Example (Logic): title: "Public documents" description: "Determine whether the document should be publicly visible" expression: "document.type != 'private' && document.type != 'internal'" Example (Data Manipulation): title: "Notification string" description: "Create a notification string with a timestamp." expression: "'New message received at ' + string(document.create_time)" The exact variables and functions that may be referenced within an expression are determined by the service that evaluates it. See the service documentation for additional information.
FailureInfoResponse
A fatal problem encountered during the execution of the build.
FileHashesResponse
Container message for hashes of byte content of files, used in SourceProvenance messages to verify integrity of source input to the build.
GetBitbucketServerConfigArgs
Arguments for getBitbucketServerConfig. Arguments for getBitbucketServerConfig.
GetBitbucketServerConfigResult
Result data returned by getBitbucketServerConfig.
GetBuildArgs
Arguments for getBuild. Arguments for getBuild.
GetBuildResult
Result data returned by getBuild.
GetConnectionArgs
Arguments for getConnection. Arguments for getConnection.
GetConnectionIamPolicyArgs
Arguments for getConnectionIamPolicy. Arguments for getConnectionIamPolicy.
GetConnectionIamPolicyResult
Result data returned by getConnectionIamPolicy.
GetConnectionResult
Result data returned by getConnection.
GetGithubEnterpriseConfigArgs
Arguments for getGithubEnterpriseConfig. Arguments for getGithubEnterpriseConfig.
GetGithubEnterpriseConfigResult
Result data returned by getGithubEnterpriseConfig.
GetGitLabConfigArgs
Arguments for getGitLabConfig. Arguments for getGitLabConfig.
GetGitLabConfigResult
Result data returned by getGitLabConfig.
GetRepositoryArgs
Arguments for getRepository. Arguments for getRepository.
GetRepositoryResult
Result data returned by getRepository.
GetTriggerArgs
Arguments for getTrigger. Arguments for getTrigger.
GetTriggerResult
Result data returned by getTrigger.
GetWorkerPoolArgs
Arguments for getWorkerPool. Arguments for getWorkerPool.
GetWorkerPoolCloudbuildV1alpha1Args
Arguments for getWorkerPool. Arguments for getWorkerPool.
GetWorkerPoolCloudbuildV1alpha1Result
Result data returned by getWorkerPool.
GetWorkerPoolCloudbuildV1alpha2Args
Arguments for getWorkerPool. Arguments for getWorkerPool.
GetWorkerPoolCloudbuildV1alpha2Result
Result data returned by getWorkerPool.
GetWorkerPoolCloudbuildV1beta1Args
Arguments for getWorkerPool. Arguments for getWorkerPool.
GetWorkerPoolCloudbuildV1beta1Result
Result data returned by getWorkerPool.
GetWorkerPoolResult
Result data returned by getWorkerPool.
GitFileSource
GitFileSource describes a file within a (possibly remote) code repository.
GitFileSourceResponse
GitFileSource describes a file within a (possibly remote) code repository.
GitHubConfig
Configuration for connections to github.com.
GitHubConfigResponse
Configuration for connections to github.com.
GithubEnterpriseConfig
Create an association between a GCP project and a GitHub Enterprise server.
GithubEnterpriseConfigArgs
The set of arguments for GithubEnterpriseConfig. The set of arguments for GithubEnterpriseConfig.
GitHubEnterpriseSecrets
GitHubEnterpriseSecrets represents the names of all necessary secrets in Secret Manager for a GitHub Enterprise server. Format is: projects//secrets/.
GitHubEnterpriseSecretsResponse
GitHubEnterpriseSecrets represents the names of all necessary secrets in Secret Manager for a GitHub Enterprise server. Format is: projects//secrets/.
GitHubEventsConfig
GitHubEventsConfig describes the configuration of a trigger that creates a build whenever a GitHub event is received.
GitHubEventsConfigResponse
GitHubEventsConfig describes the configuration of a trigger that creates a build whenever a GitHub event is received.
GitLabConfig
Creates a new GitLabConfig. This API is experimental
GitLabConfigArgs
The set of arguments for GitLabConfig. The set of arguments for GitLabConfig.
GitLabConfigResponse
GitLabConfig represents the configuration for a GitLab integration.
GitLabEnterpriseConfig
GitLabEnterpriseConfig represents the configuration for a GitLabEnterprise integration.
GitLabEnterpriseConfigResponse
GitLabEnterpriseConfig represents the configuration for a GitLabEnterprise integration.
GitLabEventsConfig
GitLabEventsConfig describes the configuration of a trigger that creates a build whenever a GitLab event is received.
GitLabEventsConfigResponse
GitLabEventsConfig describes the configuration of a trigger that creates a build whenever a GitLab event is received.
GitLabRepositoryId
GitLabRepositoryId identifies a specific repository hosted on GitLab.com or GitLabEnterprise
GitLabRepositoryIdResponse
GitLabRepositoryId identifies a specific repository hosted on GitLab.com or GitLabEnterprise
GitLabSecrets
GitLabSecrets represents the secrets in Secret Manager for a GitLab integration.
GitLabSecretsResponse
GitLabSecrets represents the secrets in Secret Manager for a GitLab integration.
GitRepoSource
GitRepoSource describes a repo and ref of a code repository.
GitRepoSourceResponse
GitRepoSource describes a repo and ref of a code repository.
GitSource
Location of the source in any accessible Git repository.
GitSourceResponse
Location of the source in any accessible Git repository.
GoogleDevtoolsCloudbuildV2GitHubEnterpriseConfig
Configuration for connections to an instance of GitHub Enterprise.
GoogleDevtoolsCloudbuildV2GitHubEnterpriseConfigResponse
Configuration for connections to an instance of GitHub Enterprise.
GoogleDevtoolsCloudbuildV2GitLabConfig
Configuration for connections to gitlab.com or an instance of GitLab Enterprise.
GoogleDevtoolsCloudbuildV2GitLabConfigResponse
Configuration for connections to gitlab.com or an instance of GitLab Enterprise.
GoogleDevtoolsCloudbuildV2ServiceDirectoryConfig
ServiceDirectoryConfig represents Service Directory configuration for a connection.
GoogleDevtoolsCloudbuildV2ServiceDirectoryConfigResponse
ServiceDirectoryConfig represents Service Directory configuration for a connection.
HashResponse
Container message for hash values.
InlineSecret
Pairs a set of secret environment variables mapped to encrypted values with the Cloud KMS key to use to decrypt the value.
InlineSecretResponse
Pairs a set of secret environment variables mapped to encrypted values with the Cloud KMS key to use to decrypt the value.
InstallationStateResponse
Describes stage and necessary actions to be taken by the user to complete the installation. Used for GitHub and GitHub Enterprise based connections.
MavenArtifact
A Maven artifact to upload to Artifact Registry upon successful completion of all build steps.
MavenArtifactResponse
A Maven artifact to upload to Artifact Registry upon successful completion of all build steps.
Network
Network describes the GCP network used to create workers in.
NetworkConfig
Defines the network configuration for the pool.
NetworkConfigCloudbuildV1alpha2
Network describes the network configuration for a WorkerPool.
NetworkConfigCloudbuildV1beta1
Network describes the network configuration for a WorkerPool.
NetworkConfigResponse
Defines the network configuration for the pool.
NetworkConfigResponseCloudbuildV1alpha2
Network describes the network configuration for a WorkerPool.
NetworkConfigResponseCloudbuildV1beta1
Network describes the network configuration for a WorkerPool.
NetworkResponse
Network describes the GCP network used to create workers in.
NpmPackage
Npm package to upload to Artifact Registry upon successful completion of all build steps.
NpmPackageResponse
Npm package to upload to Artifact Registry upon successful completion of all build steps.
OAuthCredential
Represents an OAuth token of the account that authorized the Connection, and associated metadata.
OAuthCredentialResponse
Represents an OAuth token of the account that authorized the Connection, and associated metadata.
PoolOption
Details about how a build should be executed on a WorkerPool. See running builds in a private pool for more information.
PoolOptionResponse
Details about how a build should be executed on a WorkerPool. See running builds in a private pool for more information.
PrivatePoolV1Config
Configuration for a V1 PrivatePool.
PrivatePoolV1ConfigResponse
Configuration for a V1 PrivatePool.
PubsubConfig
PubsubConfig describes the configuration of a trigger that creates a build whenever a Pub/Sub message is published.
PubsubConfigResponse
PubsubConfig describes the configuration of a trigger that creates a build whenever a Pub/Sub message is published.
PullRequestFilter
PullRequestFilter contains filter properties for matching GitHub Pull Requests.
PullRequestFilterResponse
PullRequestFilter contains filter properties for matching GitHub Pull Requests.
PushFilter
Push contains filter properties for matching GitHub git pushes.
PushFilterResponse
Push contains filter properties for matching GitHub git pushes.
PythonPackage
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.
PythonPackageResponse
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.
Repository
Creates a Repository.
RepositoryArgs
The set of arguments for Repository. The set of arguments for Repository.
RepositoryEventConfig
The configuration of a trigger that creates a build whenever an event from Repo API is received.
RepositoryEventConfigResponse
The configuration of a trigger that creates a build whenever an event from Repo API is received.
RepoSource
Location of the source in a Google Cloud Source Repository.
RepoSourceResponse
Location of the source in a Google Cloud Source Repository.
ResultsResponse
Artifacts created by the build pipeline.
Secret
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.
SecretManagerSecret
Pairs a secret environment variable with a SecretVersion in Secret Manager.
SecretManagerSecretResponse
Pairs a secret environment variable with a SecretVersion in Secret Manager.
SecretResponse
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
Secrets and secret environment variables.
SecretsResponse
Secrets and secret environment variables.
ServiceDirectoryConfig
ServiceDirectoryConfig represents Service Directory configuration for a SCM host connection.
ServiceDirectoryConfigResponse
ServiceDirectoryConfig represents Service Directory configuration for a SCM host connection.
Source
Location of the source in a supported storage service.
SourceProvenanceResponse
Provenance of the source. Ways to find the original source, or verify that some source was used for this build.
SourceResponse
Location of the source in a supported storage service.
StorageSource
Location of the source in an archive file in Cloud Storage.
StorageSourceManifest
Location of the source manifest in Cloud Storage. This feature is in Preview; see description here.
StorageSourceManifestResponse
Location of the source manifest in Cloud Storage. This feature is in Preview; see description here.
StorageSourceResponse
Location of the source in an archive file in Cloud Storage.
TimeSpanResponse
Start and end times for a build execution phase.
Trigger
Creates a new BuildTrigger.
TriggerArgs
The set of arguments for Trigger. The set of arguments for Trigger.
UploadedMavenArtifactResponse
A Maven artifact uploaded using the MavenArtifact directive.
UploadedNpmPackageResponse
An npm package uploaded to Artifact Registry using the NpmPackage directive.
UploadedPythonPackageResponse
Artifact uploaded using the PythonPackage directive.
UserCredential
Represents a personal access token that authorized the Connection, and associated metadata.
UserCredentialResponse
Represents a personal access token that authorized the Connection, and associated metadata.
Volume
Volume describes a Docker container volume which is mounted into build steps in order to persist files across build step execution.
VolumeResponse
Volume describes a Docker container volume which is mounted into build steps in order to persist files across build step execution.
WarningResponse
A non-fatal problem encountered during the execution of the build.
WebhookConfig
WebhookConfig describes the configuration of a trigger that creates a build whenever a webhook is sent to a trigger's webhook URL.
WebhookConfigResponse
WebhookConfig describes the configuration of a trigger that creates a build whenever a webhook is sent to a trigger's webhook URL.
WorkerConfig
Defines the configuration to be used for creating workers in the pool.
WorkerConfigCloudbuildV1alpha1
WorkerConfig defines the configuration to be used for a creating workers in the pool.
WorkerConfigCloudbuildV1alpha2
WorkerConfig defines the configuration to be used for a creating workers in the pool.
WorkerConfigCloudbuildV1beta1
Defines the configuration to be used for creating workers in the pool.
WorkerConfigResponse
Defines the configuration to be used for creating workers in the pool.
WorkerConfigResponseCloudbuildV1alpha1
WorkerConfig defines the configuration to be used for a creating workers in the pool.
WorkerConfigResponseCloudbuildV1alpha2
WorkerConfig defines the configuration to be used for a creating workers in the pool.
WorkerConfigResponseCloudbuildV1beta1
Defines the configuration to be used for creating workers in the pool.
WorkerPool
Creates a WorkerPool. Auto-naming is currently not supported for this resource.
WorkerPoolArgs
The set of arguments for WorkerPool. The set of arguments for WorkerPool.
WorkerPoolCloudbuildV1alpha1
Creates a WorkerPool to run the builds, and returns the new worker pool.
WorkerPoolCloudbuildV1alpha1Args
The set of arguments for WorkerPool. The set of arguments for WorkerPool.
WorkerPoolCloudbuildV1alpha2
Creates a WorkerPool to run the builds, and returns the new worker pool. Auto-naming is currently not supported for this resource.
WorkerPoolCloudbuildV1alpha2Args
The set of arguments for WorkerPool. The set of arguments for WorkerPool.
WorkerPoolCloudbuildV1beta1
Creates a WorkerPool to run the builds, and returns the new worker pool. NOTE: As of now, this method returns an Operation that is always complete. Auto-naming is currently not supported for this resource.
WorkerPoolCloudbuildV1beta1Args
The set of arguments for WorkerPool. The set of arguments for WorkerPool.

Enums

AuditLogConfigLogType
The log type that this config enables.
BuildOptionsDefaultLogsBucketBehavior
Optional. Option to specify how default logs buckets are setup.
BuildOptionsLogging
Option to specify the logging mode, which determines if and where build logs are stored.
BuildOptionsLogStreamingOption
Option to define build log streaming behavior to Cloud Storage.
BuildOptionsMachineType
Compute Engine machine type on which to run the build.
BuildOptionsRequestedVerifyOption
Requested verifiability options.
BuildOptionsSourceProvenanceHashItem
BuildOptionsSubstitutionOption
Option to specify behavior when there is an error in the substitution checks. NOTE: this is always set to ALLOW_LOOSE for triggered builds and cannot be overridden in the build configuration file.
GitFileSourceRepoType
See RepoType above.
GitRepoSourceRepoType
See RepoType below.
NetworkConfigEgressOption
Option to configure network egress for the workers.
PubsubConfigState
Potential issues with the underlying Pub/Sub subscription configuration. Only populated on get requests.
PullRequestFilterCommentControl
Configure builds to run whether a repository owner or collaborator need to comment /gcbrun.
StorageSourceSourceFetcher
Optional. Option to specify the tool to fetch the source file for the build.
TriggerEventType
EventType allows the user to explicitly set the type of event to which this BuildTrigger should respond. This field will be validated against the rest of the configuration if it is set.
TriggerIncludeBuildLogs
If set to INCLUDE_BUILD_LOGS_WITH_STATUS, log url will be shown on GitHub page when build status is final. Setting this field to INCLUDE_BUILD_LOGS_WITH_STATUS for non GitHub triggers results in INVALID_ARGUMENT error.
WebhookConfigState
Potential issues with the underlying Pub/Sub subscription configuration. Only populated on get requests.
WorkerPoolRegionsItem

Functions

getBitbucketServerConfig(GetBitbucketServerConfigArgs args, {InvokeOptions? options}) → Future<GetBitbucketServerConfigResult>
Retrieve a BitbucketServerConfig. This API is experimental. args Arguments passed to this invoke. Arguments for getBitbucketServerConfig. options Invoke options controlling this call.
getBuild(GetBuildArgs args, {InvokeOptions? options}) → Future<GetBuildResult>
Returns information about a previously requested build. The Build that is returned includes its status (such as SUCCESS, FAILURE, or WORKING), and timing information. args Arguments passed to this invoke. Arguments for getBuild. options Invoke options controlling this call.
getConnection(GetConnectionArgs args, {InvokeOptions? options}) → Future<GetConnectionResult>
Gets details of a single connection. args Arguments passed to this invoke. Arguments for getConnection. options Invoke options controlling this call.
getConnectionIamPolicy(GetConnectionIamPolicyArgs args, {InvokeOptions? options}) → Future<GetConnectionIamPolicyResult>
Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set. args Arguments passed to this invoke. Arguments for getConnectionIamPolicy. options Invoke options controlling this call.
getGithubEnterpriseConfig(GetGithubEnterpriseConfigArgs args, {InvokeOptions? options}) → Future<GetGithubEnterpriseConfigResult>
Retrieve a GitHubEnterpriseConfig. args Arguments passed to this invoke. Arguments for getGithubEnterpriseConfig. options Invoke options controlling this call.
getGitLabConfig(GetGitLabConfigArgs args, {InvokeOptions? options}) → Future<GetGitLabConfigResult>
Retrieves a GitLabConfig. This API is experimental args Arguments passed to this invoke. Arguments for getGitLabConfig. options Invoke options controlling this call.
getRepository(GetRepositoryArgs args, {InvokeOptions? options}) → Future<GetRepositoryResult>
Gets details of a single repository. args Arguments passed to this invoke. Arguments for getRepository. options Invoke options controlling this call.
getTrigger(GetTriggerArgs args, {InvokeOptions? options}) → Future<GetTriggerResult>
Returns information about a BuildTrigger. args Arguments passed to this invoke. Arguments for getTrigger. options Invoke options controlling this call.
getWorkerPool(GetWorkerPoolArgs args, {InvokeOptions? options}) → Future<GetWorkerPoolResult>
Returns details of a WorkerPool. args Arguments passed to this invoke. Arguments for getWorkerPool. options Invoke options controlling this call.
getWorkerPoolCloudbuildV1alpha1(GetWorkerPoolCloudbuildV1alpha1Args args, {InvokeOptions? options}) → Future<GetWorkerPoolCloudbuildV1alpha1Result>
Returns information about a WorkerPool. args Arguments passed to this invoke. Arguments for getWorkerPool. options Invoke options controlling this call.
getWorkerPoolCloudbuildV1alpha2(GetWorkerPoolCloudbuildV1alpha2Args args, {InvokeOptions? options}) → Future<GetWorkerPoolCloudbuildV1alpha2Result>
Returns details of a WorkerPool. args Arguments passed to this invoke. Arguments for getWorkerPool. options Invoke options controlling this call.
getWorkerPoolCloudbuildV1beta1(GetWorkerPoolCloudbuildV1beta1Args args, {InvokeOptions? options}) → Future<GetWorkerPoolCloudbuildV1beta1Result>
Returns details of a WorkerPool. args Arguments passed to this invoke. Arguments for getWorkerPool. options Invoke options controlling this call.