class_docstr: Helper class for constructing Dataproc Metastore resource link.
class_docstr_tok: ["Helper","class","for","constructing","Dataproc","Metastore","resource","link","."]
code: def get_link(
      self,
      operator: BaseOperator,
      *,
      ti_key: TaskInstanceKey,
  ) -> str:
      conf = XCom.get_value(key=self.key, ti_key=ti_key)
      return (
          conf["url"].format(
              region=conf["region"],
              service_id=conf["service_id"],
              project_id=conf["project_id"],
          )
          if conf
          else ""
      )
  
imports: from __future__ import annotations
  import time
  from typing import TYPE_CHECKING, Sequence
  from google.api_core.gapic_v1.method import DEFAULT, _MethodDefault
  from google.api_core.retry import Retry, exponential_sleep_generator
  from google.cloud.metastore_v1 import MetadataExport, MetadataManagementActivity
  from google.cloud.metastore_v1.types import Backup, MetadataImport, Service
  from google.cloud.metastore_v1.types.metastore import DatabaseDumpSpec, Restore
  from googleapiclient.errors import HttpError
  from airflow.exceptions import AirflowException
  from airflow.models import BaseOperator, BaseOperatorLink
  from airflow.models.xcom import XCom
  from airflow.providers.google.cloud.hooks.dataproc_metastore import DataprocMetastoreHook
  from airflow.providers.google.cloud.operators.cloud_base import GoogleCloudBaseOperator
  from airflow.providers.google.common.links.storage import StorageLink
label_desc: Use image node_id 2 for calling the DataprocMetastoreLink obj's underlying member method code with example usage: obj.get_link(operator) and returns: unknown