public class CloudBuild.Projects.Builds
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
class |
CloudBuild.Projects.Builds.Cancel |
class |
CloudBuild.Projects.Builds.Create |
class |
CloudBuild.Projects.Builds.Get |
class |
CloudBuild.Projects.Builds.List |
class |
CloudBuild.Projects.Builds.Retry |
Constructor and Description |
---|
Builds() |
Modifier and Type | Method and Description |
---|---|
CloudBuild.Projects.Builds.Cancel |
cancel(java.lang.String projectId,
java.lang.String id,
CancelBuildRequest content)
Cancels a build in progress.
|
CloudBuild.Projects.Builds.Create |
create(java.lang.String projectId,
Build content)
Starts a build with the specified configuration.
|
CloudBuild.Projects.Builds.Get |
get(java.lang.String projectId,
java.lang.String id)
Returns information about a previously requested build.
|
CloudBuild.Projects.Builds.List |
list(java.lang.String projectId)
Lists previously requested builds.
|
CloudBuild.Projects.Builds.Retry |
retry(java.lang.String projectId,
java.lang.String id,
RetryBuildRequest content)
Creates a new build based on the specified build.
|
public CloudBuild.Projects.Builds.Cancel cancel(java.lang.String projectId, java.lang.String id, CancelBuildRequest content) throws java.io.IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.projectId
- Required. ID of the project.id
- Required. ID of the build.content
- the CancelBuildRequest
java.io.IOException
public CloudBuild.Projects.Builds.Create create(java.lang.String projectId, Build content) throws java.io.IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.projectId
- Required. ID of the project.content
- the Build
java.io.IOException
public CloudBuild.Projects.Builds.Get get(java.lang.String projectId, java.lang.String id) throws java.io.IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.projectId
- Required. ID of the project.id
- Required. ID of the build.java.io.IOException
public CloudBuild.Projects.Builds.List list(java.lang.String projectId) throws java.io.IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.projectId
- Required. ID of the project.java.io.IOException
public CloudBuild.Projects.Builds.Retry retry(java.lang.String projectId, java.lang.String id, RetryBuildRequest content) throws java.io.IOException
AbstractGoogleClientRequest.execute()
method to invoke the remote operation.projectId
- Required. ID of the project.id
- Required. Build ID of the original build.content
- the RetryBuildRequest
java.io.IOException