Class RevisionsGrpc.RevisionsStub (0.13.0)

public static final class RevisionsGrpc.RevisionsStub extends AbstractAsyncStub<RevisionsGrpc.RevisionsStub>

Cloud Run Revision Control Plane API.

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractAsyncStub > RevisionsGrpc.RevisionsStub

Methods

build(Channel channel, CallOptions callOptions)

protected RevisionsGrpc.RevisionsStub build(Channel channel, CallOptions callOptions)
Parameters
NameDescription
channelio.grpc.Channel
callOptionsio.grpc.CallOptions
Returns
TypeDescription
RevisionsGrpc.RevisionsStub
Overrides
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)

deleteRevision(DeleteRevisionRequest request, StreamObserver<Operation> responseObserver)

public void deleteRevision(DeleteRevisionRequest request, StreamObserver<Operation> responseObserver)

Deletes a Revision.

Parameters
NameDescription
requestDeleteRevisionRequest
responseObserverio.grpc.stub.StreamObserver<Operation>

getRevision(GetRevisionRequest request, StreamObserver<Revision> responseObserver)

public void getRevision(GetRevisionRequest request, StreamObserver<Revision> responseObserver)

Gets information about a Revision.

Parameters
NameDescription
requestGetRevisionRequest
responseObserverio.grpc.stub.StreamObserver<Revision>

listRevisions(ListRevisionsRequest request, StreamObserver<ListRevisionsResponse> responseObserver)

public void listRevisions(ListRevisionsRequest request, StreamObserver<ListRevisionsResponse> responseObserver)

Lists Revisions from a given Service, or from a given location.

Parameters
NameDescription
requestListRevisionsRequest
responseObserverio.grpc.stub.StreamObserver<ListRevisionsResponse>