class_docstr: Invokes a deployed Cloud Function. To be used for testing purposes as very limited traffic is allowed.
  
  .. seealso::
      For more information on how to use this operator, take a look at the guide:
      :ref:`howto/operator:CloudFunctionDeployFunctionOperator`
  
  :param function_id: ID of the function to be called
  :param input_data: Input to be passed to the function
  :param location: The location where the function is located.
  :param project_id: Optional, Google Cloud Project project_id where the function belongs.
      If set to None or missing, the default project_id from the Google Cloud connection is used.
  :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).
  
  :return: None
class_docstr_tok: ["Invokes","a","deployed","Cloud","Function",".","To","be","used","for","testing","purposes","as","very","limited","traffic","is","allowed",".","..","seealso",":",":","For","more","information","on","how","to","use","this","operator",",","take","a","look","at","the","guide",":",":","ref",":","`","howto\/operator",":","CloudFunctionDeployFunctionOperator","`",":","param","function_id",":","ID","of","the","function","to","be","called",":","param","input_data",":","Input","to","be","passed","to","the","function",":","param","location",":","The","location","where","the","function","is","located",".",":","param","project_id",":","Optional",",","Google","Cloud","Project","project_id","where","the","function","belongs",".","If","set","to","None","or","missing",",","the","default","project_id","from","the","Google","Cloud","connection","is","used",".",":","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",")",".",":","return",":","None"]
code: def __init__(
      self,
      *,
      function_id: str,
      input_data: dict,
      location: str,
      project_id: str | None = None,
      gcp_conn_id: str = "google_cloud_default",
      api_version: str = "v1",
      impersonation_chain: str | Sequence[str] | None = None,
      **kwargs,
  ) -> None:
      super().__init__(**kwargs)
      self.function_id = function_id
      self.input_data = input_data
      self.location = location
      self.project_id = project_id
      self.gcp_conn_id = gcp_conn_id
      self.api_version = api_version
      self.impersonation_chain = impersonation_chain
  
imports: from __future__ import annotations
  import re
  from typing import TYPE_CHECKING, Any, Sequence
  from googleapiclient.errors import HttpError
  from airflow.exceptions import AirflowException
  from airflow.providers.google.cloud.hooks.functions import CloudFunctionsHook
  from airflow.providers.google.cloud.links.cloud_functions import CloudFunctionsDetailsLink, CloudFunctionsListLink
  from airflow.providers.google.cloud.operators.cloud_base import GoogleCloudBaseOperator
  from airflow.providers.google.cloud.utils.field_validator import GcpBodyFieldValidator, GcpFieldValidationException
  from airflow.version import version
label_desc: Use image node_id 1 to create a new CloudFunctionInvokeFunctionOperator object from inherited base classes: GoogleCloudBaseOperator with example: obj = CloudFunctionInvokeFunctionOperator()