  def CreateBuild(self, build_body: Dict[str, Any]) -> Dict[str, Any]:
    """Create a cloud build.

    Args:
      build_body (Dict): A dictionary that describes how to find the source
          code and how to build it.

    Returns:
      Dict: Represents long-running operation that is the result of a network
          API call.
    """
    cloud_build_client = self.GcbApi().projects().builds() # pylint: disable=no-member
    build_info = cloud_build_client.create(
        projectId=self.project_id,
        body=build_body).execute()  # type: Dict[str, Any]
    build_metadata = build_info['metadata']['build']
    common.logger.info(
        'Build started, logs bucket: {0:s}, logs URL: {1:s}'.format(
            build_metadata['logsBucket'], build_metadata['logUrl']))
    return build_info
Create a cloud build.

Args:
build_body (Dict): A dictionary that describes how to find the source
code and how to build it.

Returns:
Dict: Represents long-running operation that is the result of a network
API call.
libcloudforensics/providers/gcp/internal/build.py