Class RevisionsGrpc.RevisionsStub (0.48.0)

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

A stub to allow clients to do asynchronous rpc calls to service Revisions.

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
Name Description
channel io.grpc.Channel
callOptions io.grpc.CallOptions
Returns
Type Description
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
Name Description
request DeleteRevisionRequest
responseObserver io.grpc.stub.StreamObserver<Operation>

getRevision(GetRevisionRequest request, StreamObserver<Revision> responseObserver)

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

Gets information about a Revision.

Parameters
Name Description
request GetRevisionRequest
responseObserver io.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. Results are sorted by creation time, descending.

Parameters
Name Description
request ListRevisionsRequest
responseObserver io.grpc.stub.StreamObserver<ListRevisionsResponse>