lib/google_directory/user_commands.rb
def user_change_password( attributes: )
      password = SecureRandom.base64
      defaults  = { password: password, change_password_at_next_login: true }
      user_attr = defaults.merge( attributes )

      response = update_user( user_attr )
      {response: response, attributes: attributes[:primary_email], command: :user_change_password}
    end
def user_change_password( attributes: )
      password = SecureRandom.base64
      defaults  = { password: password, change_password_at_next_login: true }
      user_attr = defaults.merge( attributes )

      response = update_user( user_attr )
      {response: response, attributes: attributes[:primary_email], command: :user_change_password}
    end
@note updates an exising Google Directory User password - convience method instead of using :user_update

 @param attributes [Hash] this attribute MUST include: { primary_email: "username@domain.com", password: "secret" } - if no password is included a random password will be assigned
 @return [Hash] formatted as {success: {command: :user_change_password, attributes: {primary_email: "user@domain"}, response: GoogleUserObject } }