code: def get_build_report(self, project, build_id, type=None):
          
          route_values = {}
          if project is not None:
              route_values['project'] = self._serialize.url('project', project, 'str')
          if build_id is not None:
              route_values['buildId'] = self._serialize.url('build_id', build_id, 'int')
          query_parameters = {}
          if type is not None:
              query_parameters['type'] = self._serialize.query('type', type, 'str')
          response = self._send(http_method='GET',
                                location_id='45bcaa88-67e1-4042-a035-56d3b4a7d44c',
                                version='5.0-preview.2',
                                route_values=route_values,
                                query_parameters=query_parameters)
          return self._deserialize('BuildReportMetadata', response)
docs: GetBuildReport.
          [Preview API] Gets a build report.
          :param str project: Project ID or project name
          :param int build_id: The ID of the build.
          :param str type:
          :rtype: :class:`<BuildReportMetadata> <azure.devops.v5_0.build.models.BuildReportMetadata>`