class_docstr: Encapsulates a means to identify a Sheets document.
  
  The gspread library provides three ways to look up a Sheets document: by name,
  by url and by key. An instance of this class represents exactly one of the
  methods.
class_docstr_tok: ["Encapsulates","a","means","to","identify","a","Sheets","document",".","The","gspread","library","provides","three","ways","to","look","up","a","Sheets","document",":","by","name",",","by","url","and","by","key",".","An","instance","of","this","class","represents","exactly","one","of","the","methods","."]
code: def url(self) -> SheetsURL | None:
      return self._url
  
file_path: generative-ai-python/google/generativeai/notebook/sheets_id.py
imports: from __future__ import annotations
  import re
  from google.generativeai.notebook import sheets_sanitize_url
label_desc: Use image node_id 4 for calling the SheetsIdentifier obj's underlying member method code with example usage: obj.url() and returns: self