Class SyncGroupMembersAction

java.lang.Object
google.registry.export.SyncGroupMembersAction
All Implemented Interfaces:
Runnable

public final class SyncGroupMembersAction extends Object implements Runnable
Action that syncs changes to RegistrarPoc entities with Google Groups.

This uses the Directory API.

  • Method Details

    • getGroupEmailAddressForContactType

      public static String getGroupEmailAddressForContactType(String registrarId, RegistrarPocBase.Type type, String gSuiteDomainName)
      Returns the Google Groups email address for the given registrar ID and RegistrarContact.Type.
    • run

      public void run()
      Loads all Registrars, and for each one that is marked dirty, grabs the existing group memberships and updates them to reflect the current state of the RegistrarContacts.
      Specified by:
      run in interface Runnable