public class CloudBuild.Projects.Locations.Builds extends Object
| Modifier and Type | Class and Description |
|---|---|
class |
CloudBuild.Projects.Locations.Builds.Approve |
class |
CloudBuild.Projects.Locations.Builds.Cancel |
class |
CloudBuild.Projects.Locations.Builds.Create |
class |
CloudBuild.Projects.Locations.Builds.Get |
class |
CloudBuild.Projects.Locations.Builds.List |
class |
CloudBuild.Projects.Locations.Builds.Retry |
| Constructor and Description |
|---|
Builds() |
| Modifier and Type | Method and Description |
|---|---|
CloudBuild.Projects.Locations.Builds.Approve |
approve(String name,
ApproveBuildRequest content)
Approves or rejects a pending build.
|
CloudBuild.Projects.Locations.Builds.Cancel |
cancel(String name,
CancelBuildRequest content)
Cancels a build in progress.
|
CloudBuild.Projects.Locations.Builds.Create |
create(String parent,
Build content)
Starts a build with the specified configuration.
|
CloudBuild.Projects.Locations.Builds.Get |
get(String name)
Returns information about a previously requested build.
|
CloudBuild.Projects.Locations.Builds.List |
list(String parent)
Lists previously requested builds.
|
CloudBuild.Projects.Locations.Builds.Retry |
retry(String name,
RetryBuildRequest content)
Creates a new build based on the specified build.
|
public CloudBuild.Projects.Locations.Builds.Approve approve(String name, ApproveBuildRequest content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.name - Required. Name of the target build. For example: "projects/{$project_id}/builds/{$build_id}"content - the ApproveBuildRequestIOExceptionpublic CloudBuild.Projects.Locations.Builds.Cancel cancel(String name, CancelBuildRequest content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.name - The name of the `Build` to cancel. Format: `projects/{project}/locations/{location}/builds/{build}`content - the CancelBuildRequestIOExceptionpublic CloudBuild.Projects.Locations.Builds.Create create(String parent, Build content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.parent - The parent resource where this build will be created. Format:
`projects/{project}/locations/{location}`content - the BuildIOExceptionpublic CloudBuild.Projects.Locations.Builds.Get get(String name) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.name - The name of the `Build` to retrieve. Format:
`projects/{project}/locations/{location}/builds/{build}`IOExceptionpublic CloudBuild.Projects.Locations.Builds.List list(String parent) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.parent - The parent of the collection of `Builds`. Format: `projects/{project}/locations/{location}`IOExceptionpublic CloudBuild.Projects.Locations.Builds.Retry retry(String name, RetryBuildRequest content) throws IOException
AbstractGoogleClientRequest.execute() method to invoke the remote operation.name - The name of the `Build` to retry. Format: `projects/{project}/locations/{location}/builds/{build}`content - the RetryBuildRequestIOExceptionCopyright © 2011–2024 Google. All rights reserved.