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.VersionsFutureStubMethods
build(Channel channel, CallOptions callOptions)
protected VersionsGrpc.VersionsFutureStub build(Channel channel, CallOptions callOptions)| Parameters | |
|---|---|
| Name | Description |
channel |
io.grpc.Channel |
callOptions |
io.grpc.CallOptions |
| Returns | |
|---|---|
| Type | Description |
VersionsGrpc.VersionsFutureStub |
|
createVersion(CreateVersionRequest request)
public ListenableFuture<Operation> createVersion(CreateVersionRequest request)Deploys code and resource files to a new version.
| Parameter | |
|---|---|
| Name | Description |
request |
CreateVersionRequest |
| Returns | |
|---|---|
| Type | Description |
com.google.common.util.concurrent.ListenableFuture<Operation> |
|
deleteVersion(DeleteVersionRequest request)
public ListenableFuture<Operation> deleteVersion(DeleteVersionRequest request)Deletes an existing Version resource.
| Parameter | |
|---|---|
| Name | Description |
request |
DeleteVersionRequest |
| Returns | |
|---|---|
| Type | Description |
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 | |
|---|---|
| Name | Description |
request |
GetVersionRequest |
| Returns | |
|---|---|
| Type | Description |
com.google.common.util.concurrent.ListenableFuture<Version> |
|
listVersions(ListVersionsRequest request)
public ListenableFuture<ListVersionsResponse> listVersions(ListVersionsRequest request)Lists the versions of a service.
| Parameter | |
|---|---|
| Name | Description |
request |
ListVersionsRequest |
| Returns | |
|---|---|
| Type | Description |
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
instance_classautomatic scaling in the standard environment:automatic_scaling.min_idle_instancesautomatic_scaling.max_idle_instancesautomaticScaling.standard_scheduler_settings.max_instancesautomaticScaling.standard_scheduler_settings.min_instancesautomaticScaling.standard_scheduler_settings.target_cpu_utilizationautomaticScaling.standard_scheduler_settings.target_throughput_utilizationbasic scaling or manual scaling in the standard environment:serving_statusmanual_scaling.instancesFlexible environmentserving_statusautomatic scaling in the flexible environment:automatic_scaling.min_total_instancesautomatic_scaling.max_total_instancesautomatic_scaling.cool_down_period_secautomatic_scaling.cpu_utilization.target_utilizationmanual scaling in the flexible environment:manual_scaling.instances
| Parameter | |
|---|---|
| Name | Description |
request |
UpdateVersionRequest |
| Returns | |
|---|---|
| Type | Description |
com.google.common.util.concurrent.ListenableFuture<Operation> |
|