code: def _mock_temporary_creds_response(temporary_creds):
      mock_response = mock.MagicMock(autospec=Response)
      mock_response.status_code = 200
      mock_response.text = json.dumps({"credentials": temporary_creds})
      return mock_response
  
imports: import json
  from unittest import mock
  from unittest.mock import ANY
  import pytest
  from google.cloud.storage import Client
  from requests import Response
  from mlflow import MlflowClient
  from mlflow.entities.file_info import FileInfo
  from mlflow.exceptions import MlflowException
  from mlflow.store._unity_catalog.registry.utils import _ACTIVE_CATALOG_QUERY, _ACTIVE_SCHEMA_QUERY
  from mlflow.store.artifact.azure_data_lake_artifact_repo import AzureDataLakeArtifactRepository
  from mlflow.store.artifact.gcs_artifact_repo import GCSArtifactRepository
  from mlflow.store.artifact.optimized_s3_artifact_repo import OptimizedS3ArtifactRepository
  from mlflow.store.artifact.unity_catalog_models_artifact_repo import UnityCatalogModelsArtifactRepository
  from mlflow.utils.uri import _DATABRICKS_UNITY_CATALOG_SCHEME
label_desc: Use image node_id 6 for calling a global function with example usage: _mock_temporary_creds_response(temporary_creds) and returns: mock_response