@ BetaApi ( "The surface for long-running operations is not stable yet and may change in the future." ) public final OperationFuture < Instance , OperationMetadata > createInstanceAsync ( LocationName parent , String instanceId , Instance instance ) { CreateInstanceRequest request = CreateInstanceRequest . newBuilder ( ) . setParent ( parent == null ? null : parent . toString ( ) ) . setInstanceId ( instanceId ) . setInstance ( instance ) . build ( ) ; return createInstanceAsync ( request ) ; }
Creates a Redis instance based on the specified tier and memory size .