class_docstr: Google Cloud Functions APIs.
  
  All the methods in the hook where project_id is used must be called with
  keyword arguments rather than positional.
class_docstr_tok: ["Google","Cloud","Functions","APIs",".","All","the","methods","in","the","hook","where","project_id","is","used","must","be","called","with","keyword","arguments","rather","than","positional","."]
docstr: Update Cloud Functions according to the specified update mask.
  
  :param name: The name of the function.
  :param body: The body required by the cloud function patch API.
  :param update_mask: The update mask - array of fields that should be patched.
docstr_tok: ["Update","Cloud","Functions","according","to","the","specified","update","mask",".",":","param","name",":","The","name","of","the","function",".",":","param","body",":","The","body","required","by","the","cloud","function","patch","API",".",":","param","update_mask",":","The","update","mask","-","array","of","fields","that","should","be","patched","."]
code: def update_function(
      self, name: str, body: dict, update_mask: list[str]
  ) -> None:
      """Update Cloud Functions according to the specified update mask.
  
      :param name: The name of the function.
      :param body: The body required by the cloud function patch API.
      :param update_mask: The update mask - array of fields that should be patched.
      """
      operation = (
          self.get_conn()
          .projects()
          .locations()
          .functions()
          .patch(updateMask=",".join(update_mask), name=name, body=body)
      )
      response = operation.execute(num_retries=self.num_retries)
      operation_name = response["name"]
      self._wait_for_operation_to_complete(
          operation_name=operation_name
      )
  
file_path: airflow/airflow/providers/google/cloud/hooks/functions.py
imports: from __future__ import annotations
  import time
  from typing import Sequence
  import requests
  from googleapiclient.discovery import build
  from airflow.exceptions import AirflowException
  from airflow.providers.google.common.hooks.base_google import PROVIDE_PROJECT_ID, GoogleBaseHook
label_desc: Use image node_id 6 for calling the CloudFunctionsHook obj's underlying member method code with example usage: obj.update_function(name, body, update_mask) without return types