Class VersionsGrpc.VersionsFutureStub (2.29.0)

public static final class VersionsGrpc.VersionsFutureStub extends AbstractFutureStub<VersionsGrpc.VersionsFutureStub>

A stub to allow clients to do ListenableFuture-style rpc calls to service Versions.

Manages versions of a service.

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractFutureStub > VersionsGrpc.VersionsFutureStub

Methods

build(Channel channel, CallOptions callOptions)

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

createVersion(CreateVersionRequest request)

public ListenableFuture<Operation> createVersion(CreateVersionRequest request)

Deploys code and resource files to a new version.

Parameter
NameDescription
requestCreateVersionRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Operation>

deleteVersion(DeleteVersionRequest request)

public ListenableFuture<Operation> deleteVersion(DeleteVersionRequest request)

Deletes an existing Version resource.

Parameter
NameDescription
requestDeleteVersionRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Operation>

getVersion(GetVersionRequest request)

public ListenableFuture<Version> getVersion(GetVersionRequest request)

Gets the specified Version resource. By default, only a BASIC_VIEW will be returned. Specify the FULL_VIEW parameter to get the full resource.

Parameter
NameDescription
requestGetVersionRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Version>

listVersions(ListVersionsRequest request)

public ListenableFuture<ListVersionsResponse> listVersions(ListVersionsRequest request)

Lists the versions of a service.

Parameter
NameDescription
requestListVersionsRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<ListVersionsResponse>

updateVersion(UpdateVersionRequest request)

public ListenableFuture<Operation> updateVersion(UpdateVersionRequest request)

Updates the specified Version resource. You can specify the following fields depending on the App Engine environment and type of scaling that the version resource uses: Standard environment

Parameter
NameDescription
requestUpdateVersionRequest
Returns
TypeDescription
com.google.common.util.concurrent.ListenableFuture<Operation>