- 2.55.0 (latest)
- 2.54.0
- 2.53.0
- 2.52.0
- 2.49.0
- 2.48.0
- 2.47.0
- 2.46.0
- 2.45.0
- 2.44.0
- 2.43.0
- 2.42.0
- 2.41.0
- 2.40.0
- 2.39.0
- 2.37.0
- 2.36.0
- 2.35.0
- 2.34.0
- 2.33.0
- 2.32.0
- 2.31.0
- 2.30.0
- 2.29.0
- 2.28.0
- 2.27.0
- 2.24.0
- 2.23.0
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.18.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.14.0
- 2.13.0
- 2.12.0
- 2.11.0
- 2.10.0
- 2.9.0
- 2.8.0
- 2.7.0
- 2.6.0
- 2.5.0
- 2.4.0
- 2.3.4
- 2.2.0
- 2.1.10
- 0.2.0
public static final class VersionsGrpc.VersionsStub extends AbstractAsyncStub<VersionsGrpc.VersionsStub>
A stub to allow clients to do asynchronous rpc calls to service Versions.
Manages versions of a service.
Inheritance
java.lang.Object > io.grpc.stub.AbstractStub > io.grpc.stub.AbstractAsyncStub > VersionsGrpc.VersionsStubMethods
build(Channel channel, CallOptions callOptions)
protected VersionsGrpc.VersionsStub build(Channel channel, CallOptions callOptions)
Parameters | |
---|---|
Name | Description |
channel | io.grpc.Channel |
callOptions | io.grpc.CallOptions |
Returns | |
---|---|
Type | Description |
VersionsGrpc.VersionsStub |
createVersion(CreateVersionRequest request, StreamObserver<Operation> responseObserver)
public void createVersion(CreateVersionRequest request, StreamObserver<Operation> responseObserver)
Deploys code and resource files to a new version.
Parameters | |
---|---|
Name | Description |
request | CreateVersionRequest |
responseObserver | io.grpc.stub.StreamObserver<Operation> |
deleteVersion(DeleteVersionRequest request, StreamObserver<Operation> responseObserver)
public void deleteVersion(DeleteVersionRequest request, StreamObserver<Operation> responseObserver)
Deletes an existing Version resource.
Parameters | |
---|---|
Name | Description |
request | DeleteVersionRequest |
responseObserver | io.grpc.stub.StreamObserver<Operation> |
getVersion(GetVersionRequest request, StreamObserver<Version> responseObserver)
public void getVersion(GetVersionRequest request, StreamObserver<Version> responseObserver)
Gets the specified Version resource.
By default, only a BASIC_VIEW
will be returned.
Specify the FULL_VIEW
parameter to get the full resource.
Parameters | |
---|---|
Name | Description |
request | GetVersionRequest |
responseObserver | io.grpc.stub.StreamObserver<Version> |
listVersions(ListVersionsRequest request, StreamObserver<ListVersionsResponse> responseObserver)
public void listVersions(ListVersionsRequest request, StreamObserver<ListVersionsResponse> responseObserver)
Lists the versions of a service.
Parameters | |
---|---|
Name | Description |
request | ListVersionsRequest |
responseObserver | io.grpc.stub.StreamObserver<ListVersionsResponse> |
updateVersion(UpdateVersionRequest request, StreamObserver<Operation> responseObserver)
public void updateVersion(UpdateVersionRequest request, StreamObserver<Operation> responseObserver)
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_class
automatic scaling in the standard environment:automatic_scaling.min_idle_instances
automatic_scaling.max_idle_instances
automaticScaling.standard_scheduler_settings.max_instances
automaticScaling.standard_scheduler_settings.min_instances
automaticScaling.standard_scheduler_settings.target_cpu_utilization
automaticScaling.standard_scheduler_settings.target_throughput_utilization
basic scaling or manual scaling in the standard environment:serving_status
manual_scaling.instances
Flexible environmentserving_status
automatic scaling in the flexible environment:automatic_scaling.min_total_instances
automatic_scaling.max_total_instances
automatic_scaling.cool_down_period_sec
automatic_scaling.cpu_utilization.target_utilization
manual scaling in the flexible environment:manual_scaling.instances
Parameters | |
---|---|
Name | Description |
request | UpdateVersionRequest |
responseObserver | io.grpc.stub.StreamObserver<Operation> |