def __non_body_parameter_descriptor(self, param):
descriptor = {}<EOL>descriptor['<STR_LIT:name>'] = param.name<EOL>param_type, param_format = self.__field_to_parameter_type_and_format(param)<EOL>if param.required:<EOL><INDENT>descriptor['<STR_LIT>'] = True<EOL><DEDENT>descriptor['<STR_LIT:type>'] = param_type<EOL>if param_format:<EOL><INDENT>descriptor['<STR_LIT>'] = param_format<EOL><DEDENT>default = self.__parameter_default(param)<EOL>if default is not None:<EOL><INDENT>descriptor['<STR_LIT:default>'] = default<EOL><DEDENT>if param.repeated:<EOL><INDENT>descriptor['<STR_LIT>'] = True<EOL><DEDENT>enum_descriptor = self.__parameter_enum(param)<EOL>if enum_descriptor is not None:<EOL><INDENT>descriptor['<STR_LIT>'] = enum_descriptor<EOL><DEDENT>return descriptor<EOL>
Creates descriptor for a parameter.

        Args:
          param: The parameter to be described.

        Returns:
          Dictionary containing a descriptor for the parameter.