public static final class VersionsGrpc.VersionsBlockingStub extends io.grpc.stub.AbstractStub<VersionsGrpc.VersionsBlockingStub>
Manages versions of a service.
Modifier and Type | Method and Description |
---|---|
protected VersionsGrpc.VersionsBlockingStub |
build(io.grpc.Channel channel,
io.grpc.CallOptions callOptions) |
Operation |
createVersion(CreateVersionRequest request)
Deploys code and resource files to a new version.
|
Operation |
deleteVersion(DeleteVersionRequest request)
Deletes an existing Version resource.
|
Version |
getVersion(GetVersionRequest request)
Gets the specified Version resource.
|
ListVersionsResponse |
listVersions(ListVersionsRequest request)
Lists the versions of a service.
|
Operation |
updateVersion(UpdateVersionRequest request)
Updates the specified Version resource.
|
protected VersionsGrpc.VersionsBlockingStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
build
in class io.grpc.stub.AbstractStub<VersionsGrpc.VersionsBlockingStub>
public ListVersionsResponse listVersions(ListVersionsRequest request)
Lists the versions of a service.
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.
public Operation createVersion(CreateVersionRequest request)
Deploys code and resource files to a new version.
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: * [`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 Operation deleteVersion(DeleteVersionRequest request)
Deletes an existing Version resource.