code: public static void main(String... args) {
      String org_id = System.getenv("ORGANIZATION_ID");
      if (args.length > 0) {
        org_id = args[0];
      }
  
      Preconditions.checkNotNull(
          org_id,
          "Organization ID must either be set in the environment variable \"ORGANIZATION_ID\" or passed"
              + " as the first parameter to the program.");
  
      listAssetsWithFilter(OrganizationName.of(org_id));
    }
docs: [END run_asset_discovery]