RemoteApiOptions

com.google.appengine.tools.remoteapi

Class RemoteApiOptions

  • java.lang.Object
    • com.google.appengine.tools.remoteapi.RemoteApiOptions


  • public class RemoteApiOptions
    extends java.lang.Object
    A mutable object containing settings for installing the remote API.

    Example for connecting to a development app server:

     RemoteApiOptions options = new RemoteApiOptions()
         .server("localhost", 8888),
         .useDevelopmentServerCredential();
     

    Example for connecting to a deployed app:

     RemoteApiOptions options = new RemoteApiOptions()
         .server("myappid.appspot.com", 443),
         .useApplicationDefaultCredential();
     

    The options should be passed to RemoteApiInstaller.install(com.google.appengine.tools.remoteapi.RemoteApiOptions).