@ SuppressWarnings ( "WeakerAccess" ) public ApiFuture < Void > deleteAppProfileAsync ( String instanceId , String appProfileId ) { String name = NameUtil . formatAppProfileName ( projectId , instanceId , appProfileId ) ; DeleteAppProfileRequest request = DeleteAppProfileRequest . newBuilder ( ) . setName ( name ) . build ( ) ; return ApiFutures . transform ( stub . deleteAppProfileCallable ( ) . futureCall ( request ) , new ApiFunction < Empty , Void > ( ) { @ Override public Void apply ( Empty input ) { return null ; } } , MoreExecutors . directExecutor ( ) ) ; }
Asynchronously deletes the specified app profile .