  def function(self) -> function_module.GoogleCloudFunction:
    """Get a GoogleCloudFunction object for the project.

    Returns:
      GoogleCloudFunction: Object that represents Google Cloud Function.
    """

    if self._function:
      return self._function
    self._function = function_module.GoogleCloudFunction(
        self.project_id)
    return self._function
Get a GoogleCloudFunction object for the project.

Returns:
GoogleCloudFunction: Object that represents Google Cloud Function.
libcloudforensics/providers/gcp/internal/project.py