Class IamClient

java.lang.Object
google.registry.tools.IamClient

@Singleton public class IamClient extends Object
  • Constructor Details

  • Method Details

    • addBinding

      public void addBinding(String account, String role)
      Bind the given role to the account.

      No-op if the role is already bound to the account.

    • removeBinding

      public void removeBinding(String account, String role)
      Remove the given role to the account.

      No-op if the role is not bound to the account.

    • findMember

      protected static Optional<String> findMember(com.google.api.services.cloudresourcemanager.model.Binding binding, String member)