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.

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

The "locations" collection of methods.

ProjectsResource.LocationsResource.BuildsResource

The "builds" collection of methods.

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 Google 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.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.TriggersResource

The "triggers" collection of methods.

ProjectsResource.TriggersResource.CreateRequest

Creates a new BuildTrigger. This API is experimental.

ProjectsResource.TriggersResource.DeleteRequest

Deletes a BuildTrigger by its project ID and trigger ID. This API is experimental.

ProjectsResource.TriggersResource.GetRequest

Returns information about a BuildTrigger. This API is experimental.

ProjectsResource.TriggersResource.ListRequest

Lists existing BuildTriggers. This API is experimental.

ProjectsResource.TriggersResource.PatchRequest

Updates a BuildTrigger by its project ID and trigger ID. This API is experimental.

ProjectsResource.TriggersResource.RunRequest

Runs a BuildTrigger at a particular source revision.

ProjectsResource.TriggersResource.WebhookRequest

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

Enums

CloudBuildBaseServiceRequest<TResponse>.AltEnum

Data format for response.

CloudBuildBaseServiceRequest<TResponse>.XgafvEnum

V1 error format.

In This Article
Back to top