class_docstr: Hook for Google Cloud Memorystore APIs.
  
  All the methods in the hook where project_id is used must be called with
  keyword arguments rather than positional.
  
  :param gcp_conn_id: The connection ID to use when fetching connection info.
  :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.
class_docstr_tok: ["Hook","for","Google","Cloud","Memorystore","APIs",".","All","the","methods","in","the","hook","where","project_id","is","used","must","be","called","with","keyword","arguments","rather","than","positional",".",":","param","gcp_conn_id",":","The","connection","ID","to","use","when","fetching","connection","info",".",":","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","."]
docstr: Export Redis instance data into a Redis RDB format file in Cloud Storage.
  
  Redis will continue serving during this operation.
  
  :param location: The location of the Cloud Memorystore instance (for example europe-west1)
  :param instance: The logical name of the Redis instance in the customer project.
  :param output_config: Required. Specify data to be exported.
  
      If a dict is provided, it must be of the same form as the protobuf message
      :class:`~google.cloud.redis_v1.types.OutputConfig`
  :param project_id: Project ID of the project that contains the instance. If set
      to None or missing, the default project_id from the Google Cloud connection is used.
  :param retry: A retry object used to retry requests. If ``None`` is specified, requests will not be
      retried.
  :param timeout: The amount of time, in seconds, to wait for the request to complete. Note that if
      ``retry`` is specified, the timeout applies to each individual attempt.
  :param metadata: Additional metadata that is provided to the method.
docstr_tok: ["Export","Redis","instance","data","into","a","Redis","RDB","format","file","in","Cloud","Storage",".","Redis","will","continue","serving","during","this","operation",".",":","param","location",":","The","location","of","the","Cloud","Memorystore","instance","(","for","example","europe-west1",")",":","param","instance",":","The","logical","name","of","the","Redis","instance","in","the","customer","project",".",":","param","output_config",":","Required",".","Specify","data","to","be","exported",".","If","a","dict","is","provided",",","it","must","be","of","the","same","form","as","the","protobuf","message",":","class",":","`","~google.cloud.redis_v1.types.OutputConfig","`",":","param","project_id",":","Project","ID","of","the","project","that","contains","the","instance",".","If","set","to","None","or","missing",",","the","default","project_id","from","the","Google","Cloud","connection","is","used",".",":","param","retry",":","A","retry","object","used","to","retry","requests",".","If","``","None","``","is","specified",",","requests","will","not","be","retried",".",":","param","timeout",":","The","amount","of","time",",","in","seconds",",","to","wait","for","the","request","to","complete",".","Note","that","if","``","retry","``","is","specified",",","the","timeout","applies","to","each","individual","attempt",".",":","param","metadata",":","Additional","metadata","that","is","provided","to","the","method","."]
code: def export_instance(
      self,
      location: str,
      instance: str,
      output_config: dict | OutputConfig,
      project_id: str = PROVIDE_PROJECT_ID,
      retry: Retry | _MethodDefault = DEFAULT,
      timeout: float | None = None,
      metadata: Sequence[tuple[str, str]] = (),
  ):
      """
      Export Redis instance data into a Redis RDB format file in Cloud Storage.
  
      Redis will continue serving during this operation.
  
      :param location: The location of the Cloud Memorystore instance (for example europe-west1)
      :param instance: The logical name of the Redis instance in the customer project.
      :param output_config: Required. Specify data to be exported.
  
          If a dict is provided, it must be of the same form as the protobuf message
          :class:`~google.cloud.redis_v1.types.OutputConfig`
      :param project_id: Project ID of the project that contains the instance. If set
          to None or missing, the default project_id from the Google Cloud connection is used.
      :param retry: A retry object used to retry requests. If ``None`` is specified, requests will not be
          retried.
      :param timeout: The amount of time, in seconds, to wait for the request to complete. Note that if
          ``retry`` is specified, the timeout applies to each individual attempt.
      :param metadata: Additional metadata that is provided to the method.
      """
      client = self.get_conn()
      name = f"projects/{project_id}/locations/{location}/instances/{instance}"
      self.log.info("Exporting Instance: %s", name)
      result = client.export_instance(
          request={"name": name, "output_config": output_config},
          retry=retry,
          timeout=timeout,
          metadata=metadata,
      )
      result.result()
      self.log.info("Instance exported: %s", name)
  
imports: from __future__ import annotations
  from typing import TYPE_CHECKING, Sequence
  from google.api_core import path_template
  from google.api_core.exceptions import NotFound
  from google.api_core.gapic_v1.method import DEFAULT, _MethodDefault
  from google.cloud.memcache_v1beta2 import CloudMemcacheClient
  from google.cloud.memcache_v1beta2.types import cloud_memcache
  from google.cloud.redis_v1 import CloudRedisClient, FailoverInstanceRequest, InputConfig, Instance, OutputConfig
  from airflow import version
  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 CloudMemorystoreHook obj's underlying member method code with example usage: obj.export_instance(location, instance, output_config, project_id, retry, timeout, metadata) without return types