Class CloudBuildGrpc.CloudBuildBlockingStub (3.21.0)

public static final class CloudBuildGrpc.CloudBuildBlockingStub extends AbstractBlockingStub<CloudBuildGrpc.CloudBuildBlockingStub>

A stub to allow clients to do synchronous rpc calls to service CloudBuild.

Creates and manages builds on Google Cloud Platform. The main concept used by this API is a Build, which describes the location of the source to build, how to build the source, and where to store the built artifacts, if any. A user can list previously-requested builds or get builds by their ID to determine the status of the build.

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractBlockingStub > CloudBuildGrpc.CloudBuildBlockingStub

Methods

approveBuild(ApproveBuildRequest request)

public Operation approveBuild(ApproveBuildRequest request)

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.

Parameter
NameDescription
requestApproveBuildRequest
Returns
TypeDescription
Operation

build(Channel channel, CallOptions callOptions)

protected CloudBuildGrpc.CloudBuildBlockingStub build(Channel channel, CallOptions callOptions)
Parameters
NameDescription
channelio.grpc.Channel
callOptionsio.grpc.CallOptions
Returns