Class WipeOutContactHistoryPiiAction

java.lang.Object
google.registry.batch.WipeOutContactHistoryPiiAction
All Implemented Interfaces:
Runnable

public class WipeOutContactHistoryPiiAction extends Object implements Runnable
An action that launches WipeOutContactHistoryPiiPipeline to wipe out Personal Identifiable Information (PII) fields of ContactHistory entities.

ContactHistory entities should be retained in the database for only certain amount of time.

  • Field Details

  • Constructor Details

    • WipeOutContactHistoryPiiAction

      @Inject public WipeOutContactHistoryPiiAction(Clock clock, @Parameter("dryRun") boolean isDryRun, @Parameter("wipeoutTime") Optional<org.joda.time.DateTime> maybeCutoffTime, @Config("minMonthsBeforeWipeOut") int minMonthsBeforeWipeOut, @Config("beamStagingBucketUrl") String stagingBucketUrl, @Config("projectId") String projectId, @Config("defaultJobRegion") String jobRegion, com.google.api.services.dataflow.Dataflow dataflow, Response response)
  • Method Details

    • run

      public void run()
      Specified by:
      run in interface Runnable