public static final class VersionsGrpc.VersionsFutureStub extends io.grpc.stub.AbstractStub<VersionsGrpc.VersionsFutureStub>
Manages versions of a service.
Modifier and Type | Method and Description |
---|---|
protected VersionsGrpc.VersionsFutureStub |
build(io.grpc.Channel channel,
io.grpc.CallOptions callOptions) |
com.google.common.util.concurrent.ListenableFuture<Operation> |
createVersion(CreateVersionRequest request)
Deploys code and resource files to a new version.
|
com.google.common.util.concurrent.ListenableFuture<Operation> |
deleteVersion(DeleteVersionRequest request)
Deletes an existing Version resource.
|
com.google.common.util.concurrent.ListenableFuture<Version> |
getVersion(GetVersionRequest request)
Gets the specified Version resource.
|
com.google.common.util.concurrent.ListenableFuture<ListVersionsResponse> |
listVersions(ListVersionsRequest request)
Lists the versions of a service.
|
com.google.common.util.concurrent.ListenableFuture<Operation> |
updateVersion(UpdateVersionRequest request)
Updates the specified Version resource.
|
protected VersionsGrpc.VersionsFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
build
in class io.grpc.stub.AbstractStub<VersionsGrpc.VersionsFutureStub>
public com.google.common.util.concurrent.ListenableFuture<ListVersionsResponse> listVersions(ListVersionsRequest request)
Lists the versions of a service.
public com.google.common.util.concurrent.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.
public com.google.common.util.concurrent.ListenableFuture<Operation> createVersion(CreateVersionRequest request)
Deploys code and resource files to a new version.
public com.google.common.util.concurrent.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: * [`serving_status`](https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.serving_status): For Version resources that use basic scaling, manual scaling, or run in the App Engine flexible environment. * [`instance_class`](https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.instance_class): For Version resources that run in the App Engine standard environment. * [`automatic_scaling.min_idle_instances`](https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.automatic_scaling): For Version resources that use automatic scaling and run in the App Engine standard environment. * [`automatic_scaling.max_idle_instances`](https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.automatic_scaling): For Version resources that use automatic scaling and run in the App Engine standard environment.
public com.google.common.util.concurrent.ListenableFuture<Operation> deleteVersion(DeleteVersionRequest request)
Deletes an existing Version resource.