def __x_google_quota_definitions_descriptor(self, limit_definitions):
if not limit_definitions:<EOL><INDENT>return None<EOL><DEDENT>definitions_list = [{<EOL>'<STR_LIT:name>': ld.metric_name,<EOL>'<STR_LIT>': ld.metric_name,<EOL>'<STR_LIT>': '<STR_LIT>',<EOL>'<STR_LIT>': {'<STR_LIT>': ld.default_limit},<EOL>'<STR_LIT>': ld.display_name,<EOL>} for ld in limit_definitions]<EOL>metrics = [{<EOL>'<STR_LIT:name>': ld.metric_name,<EOL>'<STR_LIT>': '<STR_LIT>',<EOL>'<STR_LIT>': '<STR_LIT>',<EOL>} for ld in limit_definitions]<EOL>return {<EOL>'<STR_LIT>': {'<STR_LIT>': definitions_list},<EOL>'<STR_LIT>': metrics,<EOL>}<EOL>
Describes the quota limit definitions for an API.

        Args:
          limit_definitions: List of endpoints.LimitDefinition tuples

        Returns:
          A dict descriptor of the API's quota limit definitions.