def _get_gcp_ansible_credentials(module):
    """Helper to fetch creds from AnsibleModule object."""
    service_account_email = module.params.get('service_account_email', None)
    credentials_file = module.params.get('pem_file', None
        ) or module.params.get('credentials_file', None)
    project_id = module.params.get('project_id', None)
    return service_account_email, credentials_file, project_id
