class_docstr: Hook for Google Cloud Tasks APIs.
  
  Cloud Tasks allows developers to manage the execution of background work in their applications.
  
  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: Resumes a queue in Cloud Tasks.
  
  :param location: The location name in which the queue will be resumed.
  :param queue_name: The queue's name.
  :param project_id: (Optional) The ID of the Google Cloud project that owns the Cloud Tasks.
      If set to None or missing, the default project_id from the Google Cloud connection is used.
  :param retry: (Optional) A retry object used to retry requests.
      If None is specified, requests will not be retried.
  :param timeout: (Optional) 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: (Optional) Additional metadata that is provided to the method.
docstr_tok: ["Resumes","a","queue","in","Cloud","Tasks",".",":","param","location",":","The","location","name","in","which","the","queue","will","be","resumed",".",":","param","queue_name",":","The","queue","'s","name",".",":","param","project_id",":","(","Optional",")","The","ID","of","the","Google","Cloud","project","that","owns","the","Cloud","Tasks",".","If","set","to","None","or","missing",",","the","default","project_id","from","the","Google","Cloud","connection","is","used",".",":","param","retry",":","(","Optional",")","A","retry","object","used","to","retry","requests",".","If","None","is","specified",",","requests","will","not","be","retried",".",":","param","timeout",":","(","Optional",")","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",":","(","Optional",")","Additional","metadata","that","is","provided","to","the","method","."]
code: def resume_queue(
      self,
      location: str,
      queue_name: str,
      project_id: str = PROVIDE_PROJECT_ID,
      retry: Retry | _MethodDefault = DEFAULT,
      timeout: float | None = None,
      metadata: Sequence[tuple[str, str]] = (),
  ) -> Queue:
      """
      Resumes a queue in Cloud Tasks.
  
      :param location: The location name in which the queue will be resumed.
      :param queue_name: The queue's name.
      :param project_id: (Optional) The ID of the Google Cloud project that owns the Cloud Tasks.
          If set to None or missing, the default project_id from the Google Cloud connection is used.
      :param retry: (Optional) A retry object used to retry requests.
          If None is specified, requests will not be retried.
      :param timeout: (Optional) 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: (Optional) Additional metadata that is provided to the method.
      """
      client = self.get_conn()
  
      full_queue_name = f"projects/{project_id}/locations/{location}/queues/{queue_name}"
      return client.resume_queue(
          request={"name": full_queue_name},
          retry=retry,
          timeout=timeout,
          metadata=metadata,
      )
  
imports: from __future__ import annotations
  from typing import TYPE_CHECKING, Sequence
  from google.api_core.gapic_v1.method import DEFAULT, _MethodDefault
  from google.cloud.tasks_v2 import CloudTasksClient
  from google.cloud.tasks_v2.types import Queue, Task
  from airflow.exceptions import AirflowException
  from airflow.providers.google.common.consts import CLIENT_INFO
  from airflow.providers.google.common.hooks.base_google import PROVIDE_PROJECT_ID, GoogleBaseHook
label_desc: Use image node_id 10 for calling the CloudTasksHook obj's underlying member method code with example usage: obj.resume_queue(location, queue_name, project_id, retry, timeout, metadata) and returns: client