Class ApplicationsGrpc.ApplicationsStub

java.lang.Object
io.grpc.stub.AbstractStub<S>
io.grpc.stub.AbstractAsyncStub<ApplicationsGrpc.ApplicationsStub>
com.google.appengine.v1.ApplicationsGrpc.ApplicationsStub
Enclosing class:
ApplicationsGrpc

public static final class ApplicationsGrpc.ApplicationsStub extends io.grpc.stub.AbstractAsyncStub<ApplicationsGrpc.ApplicationsStub>
A stub to allow clients to do asynchronous rpc calls to service Applications.
 Manages App Engine applications.
 
  • 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)
     
    void
    createApplication(CreateApplicationRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver)
    Creates an App Engine application for a Google Cloud Platform project.
    void
    getApplication(GetApplicationRequest request, io.grpc.stub.StreamObserver<Application> responseObserver)
    Gets information about an application.
    void
    repairApplication(RepairApplicationRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver)
    Recreates the required App Engine features for the specified App Engine application, for example a Cloud Storage bucket or App Engine service account.
    void
    updateApplication(UpdateApplicationRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver)
    Updates the specified Application resource.

    Methods inherited from class io.grpc.stub.AbstractAsyncStub

    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 ApplicationsGrpc.ApplicationsStub build(io.grpc.Channel channel, io.grpc.CallOptions callOptions)
      Specified by:
      build in class io.grpc.stub.AbstractStub<ApplicationsGrpc.ApplicationsStub>
    • getApplication

      public void getApplication(GetApplicationRequest request, io.grpc.stub.StreamObserver<Application> responseObserver)
       Gets information about an application.
       
    • createApplication

      public void createApplication(CreateApplicationRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver)
       Creates an App Engine application for a Google Cloud Platform project.
       Required fields:
       * `id` - The ID of the target Cloud Platform project.
       * *location* - The [region](https://cloud.google.com/appengine/docs/locations) where you want the App Engine application located.
       For more information about App Engine applications, see [Managing Projects, Applications, and Billing](https://cloud.google.com/appengine/docs/standard/python/console/).
       
    • updateApplication

      public void updateApplication(UpdateApplicationRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver)
       Updates the specified Application resource.
       You can update the following fields:
       * `auth_domain` - Google authentication domain for controlling user access to the application.
       * `default_cookie_expiration` - Cookie expiration policy for the application.
       * `iap` - Identity-Aware Proxy properties for the application.
       
    • repairApplication

      public void repairApplication(RepairApplicationRequest request, io.grpc.stub.StreamObserver<Operation> responseObserver)
       Recreates the required App Engine features for the specified App Engine
       application, for example a Cloud Storage bucket or App Engine service
       account.
       Use this method if you receive an error message about a missing feature,
       for example, *Error retrieving the App Engine service account*.
       If you have deleted your App Engine service account, this will
       not be able to recreate it. Instead, you should attempt to use the
       IAM undelete API if possible at https://cloud.google.com/iam/reference/rest/v1/projects.serviceAccounts/undelete?apix_params=%7B"name"%3A"projects%2F-%2FserviceAccounts%2Funique_id"%2C"resource"%3A%7B%7D%7D .
       If the deletion was recent, the numeric ID can be found in the Cloud
       Console Activity Log.