Package google.registry.export
Class ExportDomainListsAction
java.lang.Object
google.registry.export.ExportDomainListsAction
- All Implemented Interfaces:
Runnable
An action that exports the list of active domains on all real TLDs to Google Drive and GCS.
Each TLD's active domain names are exported as a newline-delimited flat text file with the name TLD.txt into the domain-lists bucket. Note that this overwrites the files in place.
-
Method Summary
Modifier and TypeMethodDescriptionprotected static void
exportToDrive
(String tldStr, String domains, DriveConnection driveConnection) protected static void
exportToGcs
(String tld, String domains, String gcsBucket, GcsUtils gcsUtils) void
run()