public static GoogleAccountCredential usingAudience(Context context,String audience){
  Preconditions.checkArgument(audience.length() != 0);
  String scope="audience:" + audience;
  return new GoogleAccountCredential(context,scope);
}

public static GoogleAccountCredential usingAudience ( Context context , String audience ) { Preconditions . checkArgument ( audience . length ( ) != 0 ) ; String scope = "audience:" + audience ; return new GoogleAccountCredential ( context , scope ) ; }
sets the audience scope to use with google cloud endpoints .
