from typing import Tuple


def SplitGcsPath(gcs_path: str) -> Tuple[str, str]:
  """Split GCS path to bucket name and object URI.

  Args:
    gcs_path (str): File path to a resource in GCS.
        Ex: gs://bucket/folder/obj

  Returns:
    Tuple[str, str]: Bucket name. Object URI.
  """

  _, _, full_path = gcs_path.partition('//')
  bucket, _, object_uri = full_path.partition('/')
  return bucket, object_uri