Class VersionsGrpc.VersionsBlockingStub (2.45.0)

public static final class VersionsGrpc.VersionsBlockingStub extends AbstractBlockingStub<VersionsGrpc.VersionsBlockingStub>

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

Manages versions of a service.

Inheritance

java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractBlockingStub > VersionsGrpc.VersionsBlockingStub

Methods

build(Channel channel, CallOptions callOptions)

protected VersionsGrpc.VersionsBlockingStub build(Channel channel, CallOptions callOptions)
Parameters
Name Description
channel io.grpc.Channel
callOptions io.grpc.CallOptions
Returns
Type Description
VersionsGrpc.VersionsBlockingStub
Overrides
io.grpc.stub.AbstractStub.build(io.grpc.Channel,io.grpc.CallOptions)

createVersion(CreateVersionRequest request)

public Operation createVersion(CreateVersionRequest request)

Deploys code and resource files to a new version.

Parameter
Name Description
request CreateVersionRequest
Returns
Type Description
Operation

deleteVersion(DeleteVersionRequest request)

public Operation deleteVersion(DeleteVersionRequest request)

Deletes an existing Version resource.

Parameter
Name Description
request DeleteVersionRequest
Returns
Type Description
Operation

getVersion(GetVersionRequest request)

public 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
Name Description
request GetVersionRequest
Returns
Type Description
Version

listVersions(ListVersionsRequest request)

public ListVersionsResponse listVersions(ListVersionsRequest request)

Lists the versions of a service.

Parameter
Name Description
request ListVersionsRequest
Returns
Type Description
ListVersionsResponse

updateVersion(UpdateVersionRequest request)

public 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
Name Description
request UpdateVersionRequest
Returns
Type Description
Operation