GetPolicyConfigurations.
        [Preview API] Retrieve a list of policy configurations by a given set of scope/filtering criteria.
        :param str project: Project ID or project name
        :param str repository_id: The repository id.
        :param str ref_name: The fully-qualified Git ref name (e.g. refs/heads/master).
        :param str policy_type: The policy type filter.
        :param int top: Maximum number of policies to return.
        :param str continuation_token: Pass a policy configuration ID to fetch the next page of results, up to top number of results, for this endpoint.
        :rtype: :class:`<GitPolicyConfigurationResponse> <azure.devops.v5_1.git.models.GitPolicyConfigurationResponse>`

def get_policy_configurations(self, project, repository_id=None, ref_name=None, policy_type=None, top=None, continuation_token=None):
        """GetPolicyConfigurations.
        [Preview API] Retrieve a list of policy configurations by a given set of scope/filtering criteria.
        :param str project: Project ID or project name
        :param str repository_id: The repository id.
        :param str ref_name: The fully-qualified Git ref name (e.g. refs/heads/master).
        :param str policy_type: The policy type filter.
        :param int top: Maximum number of policies to return.
        :param str continuation_token: Pass a policy configuration ID to fetch the next page of results, up to top number of results, for this endpoint.
        :rtype: :class:`<GitPolicyConfigurationResponse> <azure.devops.v5_1.git.models.GitPolicyConfigurationResponse>`
        """
        route_values = {}
        if project is not None:
            route_values['project'] = self._serialize.url('project', project, 'str')
        query_parameters = {}
        if repository_id is not None:
            query_parameters['repositoryId'] = self._serialize.query('repository_id', repository_id, 'str')
        if ref_name is not None:
            query_parameters['refName'] = self._serialize.query('ref_name', ref_name, 'str')
        if policy_type is not None:
            query_parameters['policyType'] = self._serialize.query('policy_type', policy_type, 'str')
        if top is not None:
            query_parameters['$top'] = self._serialize.query('top', top, 'int')
        if continuation_token is not None:
            query_parameters['continuationToken'] = self._serialize.query('continuation_token', continuation_token, 'str')
        response = self._send(http_method='GET',
                              location_id='2c420070-a0a2-49cc-9639-c9f271c5ff07',
                              version='5.1-preview.1',
                              route_values=route_values,
                              query_parameters=query_parameters)
        response_object = models.GitPolicyConfigurationResponse()
        response_object.policy_configurations = self._deserialize('[PolicyConfiguration]', self._unwrap_collection(response))
        response_object.continuation_token = response.headers.get('x-ms-continuationtoken')
        return response_object