Show / Hide Table of Contents

Namespace Google.Apis.CloudBuild.v1

Classes

CloudBuildBaseServiceRequest<TResponse>

A base abstract class for CloudBuild requests.

CloudBuildService

The CloudBuild Service.

CloudBuildService.Scope

Available OAuth 2.0 scopes for use with the Cloud Build API.

CloudBuildService.ScopeConstants

Available OAuth 2.0 scope constants for use with the Cloud Build API.

GithubDotComWebhookResource

The "githubDotComWebhook" collection of methods.

GithubDotComWebhookResource.ReceiveRequest

ReceiveGitHubDotComWebhook is called when the API receives a github.com webhook.

LocationsResource

The "locations" collection of methods.

LocationsResource.RegionalWebhookRequest

ReceiveRegionalWebhook is called when the API receives a regional GitHub webhook.

OperationsResource

The "operations" collection of methods.

OperationsResource.CancelRequest

Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns google.rpc.Code.UNIMPLEMENTED. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of 1, corresponding to Code.CANCELLED.

OperationsResource.GetRequest

Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.

ProjectsResource

The "projects" collection of methods.

ProjectsResource.BuildsResource

The "builds" collection of methods.

ProjectsResource.BuildsResource.ApproveRequest

Approves or rejects a pending build. If approved, the returned LRO will be analogous to the LRO returned from a CreateBuild call. If rejected, the returned LRO will be immediately done.

ProjectsResource.BuildsResource.CancelRequest

Cancels a build in progress.

ProjectsResource.BuildsResource.CreateRequest

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

ProjectsResource.BuildsResource.GetRequest

Returns information about a previously requested build. The Build that is returned includes its status (such as SUCCESS, FAILURE, or WORKING), and timing information.

ProjectsResource.BuildsResource.ListRequest

Lists previously requested builds. Previously requested builds may still be in-progress, or may have finished successfully or unsuccessfully.

ProjectsResource.BuildsResource.RetryRequest

Creates a new build based on the specified build. This method creates a new build using the original build request, which may or may not result in an identical build. For triggered builds: * Triggered builds resolve to a precise revision; therefore a retry of a triggered build will result in a build that uses the same revision. For non-triggered builds that specify RepoSource: * If the original build built from the tip of a branch, the retried build will build from the tip of that branch, which may not be the same revision as the original build. * If the original build specified a commit sha or revision ID, the retried build will use the identical source. For builds that specify StorageSource: * If the original build pulled source from Cloud Storage without specifying the generation of the object, the new build will use the current object, which may be different from the original build source. * If the original build pulled source from Cloud Storage and specified the generation of the object, the new build will attempt to use the same object, which may or may not be available depending on the bucket's lifecycle management settings.

ProjectsResource.GithubEnterpriseConfigsResource

The "githubEnterpriseConfigs" collection of methods.

ProjectsResource.GithubEnterpriseConfigsResource.CreateRequest

Create an association between a GCP project and a GitHub Enterprise server.

ProjectsResource.GithubEnterpriseConfigsResource.DeleteRequest

Delete an association between a GCP project and a GitHub Enterprise server.

ProjectsResource.GithubEnterpriseConfigsResource.GetRequest

Retrieve a GitHubEnterpriseConfig.

ProjectsResource.GithubEnterpriseConfigsResource.ListRequest

List all GitHubEnterpriseConfigs for a given project.

ProjectsResource.GithubEnterpriseConfigsResource.PatchRequest

Update an association between a GCP project and a GitHub Enterprise server.

ProjectsResource.LocationsResource

The "locations" collection of methods.

ProjectsResource.LocationsResource.BitbucketServerConfigsResource

The "bitbucketServerConfigs" collection of methods.

ProjectsResource.LocationsResource.BitbucketServerConfigsResource.ConnectedRepositoriesResource

The "connectedRepositories" collection of methods.

ProjectsResource.LocationsResource.BitbucketServerConfigsResource.ConnectedRepositoriesResource.BatchCreateRequest

Batch connecting Bitbucket Server repositories to Cloud Build.

ProjectsResource.LocationsResource.BitbucketServerConfigsResource.CreateRequest

Creates a new BitbucketServerConfig. This API is experimental.

ProjectsResource.LocationsResource.BitbucketServerConfigsResource.DeleteRequest

Delete a BitbucketServerConfig. This API is experimental.

ProjectsResource.LocationsResource.BitbucketServerConfigsResource.GetRequest

Retrieve a BitbucketServerConfig. This API is experimental.

ProjectsResource.LocationsResource.BitbucketServerConfigsResource.ListRequest

List all BitbucketServerConfigs for a given project. This API is experimental.

ProjectsResource.LocationsResource.BitbucketServerConfigsResource.PatchRequest

Updates an existing BitbucketServerConfig. This API is experimental.

ProjectsResource.LocationsResource.BitbucketServerConfigsResource.RemoveBitbucketServerConnectedRepositoryRequest

Remove a Bitbucket Server repository from a given BitbucketServerConfig's connected repositories. This API is experimental.

ProjectsResource.LocationsResource.BitbucketServerConfigsResource.ReposResource

The "repos" collection of methods.

ProjectsResource.LocationsResource.BitbucketServerConfigsResource.ReposResource.ListRequest

List all repositories for a given BitbucketServerConfig. This API is experimental.

ProjectsResource.LocationsResource.BuildsResource

The "builds" collection of methods.

ProjectsResource.LocationsResource.BuildsResource.ApproveRequest

Approves or rejects a pending build. If approved, the returned LRO will be analogous to the LRO returned from a CreateBuild call. If rejected, the returned LRO will be immediately done.

ProjectsResource.LocationsResource.BuildsResource.CancelRequest

Cancels a build in progress.

ProjectsResource.LocationsResource.BuildsResource.CreateRequest

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

ProjectsResource.LocationsResource.BuildsResource.GetRequest

Returns information about a previously requested build. The Build that is returned includes its status (such as SUCCESS, FAILURE, or WORKING), and timing information.

ProjectsResource.LocationsResource.BuildsResource.ListRequest

Lists previously requested builds. Previously requested builds may still be in-progress, or may have finished successfully or unsuccessfully.

ProjectsResource.LocationsResource.BuildsResource.RetryRequest

Creates a new build based on the specified build. This method creates a new build using the original build request, which may or may not result in an identical build. For triggered builds: * Triggered builds resolve to a precise revision; therefore a retry of a triggered build will result in a build that uses the same revision. For non-triggered builds that specify RepoSource: * If the original build built from the tip of a branch, the retried build will build from the tip of that branch, which may not be the same revision as the original build. * If the original build specified a commit sha or revision ID, the retried build will use the identical source. For builds that specify StorageSource: * If the original build pulled source from Cloud Storage without specifying the generation of the object, the new build will use the current object, which may be different from the original build source. * If the original build pulled source from Cloud Storage and specified the generation of the object, the new build will attempt to use the same object, which may or may not be available depending on the bucket's lifecycle management settings.

ProjectsResource.LocationsResource.GetDefaultServiceAccountRequest

Returns the DefaultServiceAccount used by the project.

ProjectsResource.LocationsResource.GitLabConfigsResource

The "gitLabConfigs" collection of methods.

ProjectsResource.LocationsResource.GitLabConfigsResource.ConnectedRepositoriesResource

The "connectedRepositories" collection of methods.

ProjectsResource.LocationsResource.GitLabConfigsResource.ConnectedRepositoriesResource.BatchCreateRequest

Batch connecting GitLab repositories to Cloud Build. This API is experimental.

ProjectsResource.LocationsResource.GitLabConfigsResource.CreateRequest

Creates a new GitLabConfig. This API is experimental

ProjectsResource.LocationsResource.GitLabConfigsResource.DeleteRequest

Delete a GitLabConfig. This API is experimental

ProjectsResource.LocationsResource.GitLabConfigsResource.GetRequest

Retrieves a GitLabConfig. This API is experimental

ProjectsResource.LocationsResource.GitLabConfigsResource.ListRequest

List all GitLabConfigs for a given project. This API is experimental

ProjectsResource.LocationsResource.GitLabConfigsResource.PatchRequest

Updates an existing GitLabConfig. This API is experimental

ProjectsResource.LocationsResource.GitLabConfigsResource.RemoveGitLabConnectedRepositoryRequest

Remove a GitLab repository from a given GitLabConfig's connected repositories. This API is experimental.

ProjectsResource.LocationsResource.GitLabConfigsResource.ReposResource

The "repos" collection of methods.

ProjectsResource.LocationsResource.GitLabConfigsResource.ReposResource.ListRequest

List all repositories for a given GitLabConfig. This API is experimental

ProjectsResource.LocationsResource.GithubEnterpriseConfigsResource

The "githubEnterpriseConfigs" collection of methods.

ProjectsResource.LocationsResource.GithubEnterpriseConfigsResource.CreateRequest

Create an association between a GCP project and a GitHub Enterprise server.

ProjectsResource.LocationsResource.GithubEnterpriseConfigsResource.DeleteRequest

Delete an association between a GCP project and a GitHub Enterprise server.

ProjectsResource.LocationsResource.GithubEnterpriseConfigsResource.GetRequest

Retrieve a GitHubEnterpriseConfig.

ProjectsResource.LocationsResource.GithubEnterpriseConfigsResource.ListRequest

List all GitHubEnterpriseConfigs for a given project.

ProjectsResource.LocationsResource.GithubEnterpriseConfigsResource.PatchRequest

Update an association between a GCP project and a GitHub Enterprise server.

ProjectsResource.LocationsResource.OperationsResource

The "operations" collection of methods.

ProjectsResource.LocationsResource.OperationsResource.CancelRequest

Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns google.rpc.Code.UNIMPLEMENTED. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of 1, corresponding to Code.CANCELLED.

ProjectsResource.LocationsResource.OperationsResource.GetRequest

Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.

ProjectsResource.LocationsResource.TriggersResource

The "triggers" collection of methods.

ProjectsResource.LocationsResource.TriggersResource.CreateRequest

Creates a new BuildTrigger.

ProjectsResource.LocationsResource.TriggersResource.DeleteRequest

Deletes a BuildTrigger by its project ID and trigger ID.

ProjectsResource.LocationsResource.TriggersResource.GetRequest

Returns information about a BuildTrigger.

ProjectsResource.LocationsResource.TriggersResource.ListRequest

Lists existing BuildTriggers.

ProjectsResource.LocationsResource.TriggersResource.PatchRequest

Updates a BuildTrigger by its project ID and trigger ID.

ProjectsResource.LocationsResource.TriggersResource.RunRequest

Runs a BuildTrigger at a particular source revision. To run a regional or global trigger, use the POST request that includes the location endpoint in the path (ex. v1/projects/{projectId}/locations/{region}/triggers/{triggerId}:run). The POST request that does not include the location endpoint in the path can only be used when running global triggers.

ProjectsResource.LocationsResource.TriggersResource.WebhookRequest

ReceiveTriggerWebhook [Experimental] is called when the API receives a webhook request targeted at a specific trigger.

ProjectsResource.LocationsResource.WorkerPoolsResource

The "workerPools" collection of methods.

ProjectsResource.LocationsResource.WorkerPoolsResource.CreateRequest

Creates a WorkerPool.

ProjectsResource.LocationsResource.WorkerPoolsResource.DeleteRequest

Deletes a WorkerPool.

ProjectsResource.LocationsResource.WorkerPoolsResource.GetRequest

Returns details of a WorkerPool.

ProjectsResource.LocationsResource.WorkerPoolsResource.ListRequest

Lists WorkerPools.

ProjectsResource.LocationsResource.WorkerPoolsResource.PatchRequest

Updates a WorkerPool.

ProjectsResource.TriggersResource

The "triggers" collection of methods.

ProjectsResource.TriggersResource.CreateRequest

Creates a new BuildTrigger.

ProjectsResource.TriggersResource.DeleteRequest

Deletes a BuildTrigger by its project ID and trigger ID.

ProjectsResource.TriggersResource.GetRequest

Returns information about a BuildTrigger.

ProjectsResource.TriggersResource.ListRequest

Lists existing BuildTriggers.

ProjectsResource.TriggersResource.PatchRequest

Updates a BuildTrigger by its project ID and trigger ID.

ProjectsResource.TriggersResource.RunRequest

Runs a BuildTrigger at a particular source revision. To run a regional or global trigger, use the POST request that includes the location endpoint in the path (ex. v1/projects/{projectId}/locations/{region}/triggers/{triggerId}:run). The POST request that does not include the location endpoint in the path can only be used when running global triggers.

ProjectsResource.TriggersResource.WebhookRequest

ReceiveTriggerWebhook [Experimental] is called when the API receives a webhook request targeted at a specific trigger.

V1Resource

The "v1" collection of methods.

V1Resource.WebhookRequest

ReceiveWebhook is called when the API receives a GitHub webhook.

Enums

CloudBuildBaseServiceRequest<TResponse>.AltEnum

Data format for response.

CloudBuildBaseServiceRequest<TResponse>.XgafvEnum

V1 error format.

In this article
Back to top Generated by DocFX