class_docstr: Table class for the Google Content API for Shopping Products table.
docstr: Updates products in your Merchant Center account.
  
  Args:
      query (ast.Update): SQL query to parse.
  
  Returns:
      Response: Response object containing the results.
docstr_tok: ["Updates","products","in","your","Merchant","Center","account",".","Args",":","query","(","ast.Update",")",":","SQL","query","to","parse",".","Returns",":","Response",":","Response","object","containing","the","results","."]
code: def update(self, query: ast.Update):
      """
      Updates products in your Merchant Center account.
  
      Args:
          query (ast.Update): SQL query to parse.
  
      Returns:
          Response: Response object containing the results.
      """
  
      params = {}
      values = query.values[0]
      # Get the event data from the values.
      accepted_params = self.get_columns()
      for col, val in zip(query.update_columns, values):
          if col in accepted_params:
              params[col] = val
          else:
              raise NotImplementedError
  
      params["updateMask"] = ",".join(params.keys())
      # Parse the query to get the conditions.
      conditions = extract_comparison_conditions(query.where)
      # Get the start and end times from the conditions.
  
      for op, arg1, arg2 in conditions:
          if arg1 == "productId":
              if op == "=":
                  params[arg1] = arg2
              elif op == ">":
                  params["startId"] = arg2
              elif op == "<":
                  params["endId"] = arg2
              else:
                  raise NotImplementedError
          else:
              raise NotImplementedError
  
      # Update the products in the Google Merchant Center API.
      self.handler.call_application_api(
          method_name="update_products", params=params
      )
  
imports: import pandas
  from mindsdb_sql.parser import ast
  from pandas import DataFrame
  from mindsdb.integrations.libs.api_handler import APITable
  from mindsdb.integrations.libs.response import HandlerResponse
  from mindsdb.integrations.utilities.date_utils import parse_utc_date
  from mindsdb.integrations.utilities.sql_utils import extract_comparison_conditions
label_desc: Use image node_id 2 for calling the ProductsTable obj's underlying member method code with example usage: obj.update(query) without return types