Class VersionsGrpc.VersionsFutureStub

java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractFutureStub<VersionsGrpc.VersionsFutureStub>
com.google.appengine.v1.VersionsGrpc.VersionsFutureStub
Enclosing class:
VersionsGrpc

public static final class VersionsGrpc.VersionsFutureStub extends io.grpc.stub.AbstractFutureStub<VersionsGrpc.VersionsFutureStub>
A stub to allow clients to do ListenableFuture-style rpc calls to service Versions.
 Manages versions of a service.
 
  • Nested Class Summary

    Nested classes/interfaces inherited from class io.grpc.stub.AbstractStub

    io.grpc.stub.AbstractStub.StubFactory<T extends io.grpc.stub.AbstractStub<T>>
  • Method Summary

    Modifier and Type
    Method
    Description
    build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
     
    com.google.common.util.concurrent.ListenableFuture<Operation>
    Deploys code and resource files to a new version.
    com.google.common.util.concurrent.ListenableFuture<Operation>
    Deletes an existing Version resource.
    com.google.common.util.concurrent.ListenableFuture<Version>
    Gets the specified Version resource.
    com.google.common.util.concurrent.ListenableFuture<ListVersionsResponse>
    Lists the versions of a service.
    com.google.common.util.concurrent.ListenableFuture<Operation>
    Updates the specified Version resource.

    Methods inherited from class io.grpc.stub.AbstractFutureStub

    newStub, newStub

    Methods inherited from class io.grpc.stub.AbstractStub

    getCallOptions, getChannel, withCallCredentials, withChannel, withCompression, withDeadline, withDeadlineAfter, withDeadlineAfter, withExecutor, withInterceptors, withMaxInboundMessageSize, withMaxOutboundMessageSize, withOnReadyThreshold, withOption, withWaitForReady

    Methods inherited from class java.lang.Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Method Details

    • build

      protected VersionsGrpc.VersionsFutureStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
      Specified by:
      build in class io.grpc.stub.AbstractStub<VersionsGrpc.VersionsFutureStub>
    • listVersions

      public com.google.common.util.concurrent.ListenableFuture<ListVersionsResponse> listVersions(ListVersionsRequest request)
       Lists the versions of a service.
       
    • getVersion

      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.
       
    • createVersion

      public com.google.common.util.concurrent.ListenableFuture<Operation> createVersion(CreateVersionRequest request)
       Deploys code and resource files to a new version.
       
    • updateVersion

      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:
       **Standard environment**
       * [`instance_class`](https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.instance_class)
       *automatic scaling* in the 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)
       * [`automatic_scaling.max_idle_instances`](https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.automatic_scaling)
       * [`automaticScaling.standard_scheduler_settings.max_instances`](https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#StandardSchedulerSettings)
       * [`automaticScaling.standard_scheduler_settings.min_instances`](https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#StandardSchedulerSettings)
       * [`automaticScaling.standard_scheduler_settings.target_cpu_utilization`](https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#StandardSchedulerSettings)
       * [`automaticScaling.standard_scheduler_settings.target_throughput_utilization`](https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#StandardSchedulerSettings)
       *basic scaling* or *manual scaling* in the standard environment:
       * [`serving_status`](https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.serving_status)
       * [`manual_scaling.instances`](https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#manualscaling)
       **Flexible environment**
       * [`serving_status`](https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.serving_status)
       *automatic scaling* in the flexible environment:
       * [`automatic_scaling.min_total_instances`](https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.automatic_scaling)
       * [`automatic_scaling.max_total_instances`](https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.automatic_scaling)
       * [`automatic_scaling.cool_down_period_sec`](https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.automatic_scaling)
       * [`automatic_scaling.cpu_utilization.target_utilization`](https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#Version.FIELDS.automatic_scaling)
       *manual scaling* in the flexible environment:
       * [`manual_scaling.instances`](https://cloud.google.com/appengine/docs/admin-api/reference/rest/v1/apps.services.versions#manualscaling)
       
    • deleteVersion

      public com.google.common.util.concurrent.ListenableFuture<Operation> deleteVersion(DeleteVersionRequest request)
       Deletes an existing Version resource.