class_docstr: Copy data from SQL results to provided Google Spreadsheet.
  
  :param sql: The SQL to execute.
  :param spreadsheet_id: The Google Sheet ID to interact with.
  :param conn_id: the connection ID used to connect to the database.
  :param parameters: The parameters to render the SQL query with.
  :param database: name of database which overwrite the defined one in connection
  :param spreadsheet_range: The A1 notation of the values to retrieve.
  :param gcp_conn_id: The connection ID to use when fetching connection info.
  :param delegate_to: The account to impersonate using domain-wide delegation of authority,
      if any. For this to work, the service account making the request must have
      domain-wide delegation enabled.
  :param impersonation_chain: Optional service account to impersonate using short-term
      credentials, or chained list of accounts required to get the access_token
      of the last account in the list, which will be impersonated in the request.
      If set as a string, the account must grant the originating account
      the Service Account Token Creator IAM role.
      If set as a sequence, the identities from the list must grant
      Service Account Token Creator IAM role to the directly preceding identity, with first
      account from the list granting this role to the originating account (templated).
code: def execute(self, context: Any) -> None:
      self.log.info("Getting data")
      values = list(self._get_data())
  
      self.log.info("Connecting to Google")
      sheet_hook = GSheetsHook(
          gcp_conn_id=self.gcp_conn_id,
          delegate_to=self.delegate_to,
          impersonation_chain=self.impersonation_chain,
      )
  
      if self.log.isEnabledFor(logging.INFO):
          url = f"https://docs.google.com/spreadsheets/d/{self.spreadsheet_id}"
          self.log.info("Uploading data to %s", url)
  
      sheet_hook.update_values(
          spreadsheet_id=self.spreadsheet_id,
          range_=self.spreadsheet_range,
          values=values,
      )
  
file_path: airflow/airflow/providers/google/suite/transfers/sql_to_sheets.py
imports: from __future__ import annotations
  import datetime
  import logging
  import numbers
  from contextlib import closing
  from typing import Any, Iterable, Mapping, Sequence
  from airflow.providers.common.sql.operators.sql import BaseSQLOperator
  from airflow.providers.google.suite.hooks.sheets import GSheetsHook
label_desc: Use image node_id 4 for calling the SQLToGoogleSheetsOperator obj's underlying member method code with example usage: obj.execute(context) without return types