def header(token):
    """
    returns a generic header used for insert and update Deployment manader API calls.
    :param token: bearer token
    :return: header dict as expected by requests
    """
    return {
        'Metadata-Flavor': 'Google',
        'Authorization': f'Bearer {token}',
        'Accept': 'application/json',
        'Content-Type': 'application/json'
    }