class_docstr: Pauses a queue in Cloud Tasks.
  
  .. seealso::
      For more information on how to use this operator, take a look at the guide:
      :ref:`howto/operator:CloudTasksQueuePauseOperator`
  
  :param location: The location name in which the queue will be paused.
  :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.
  :param gcp_conn_id: (Optional) The connection ID used to connect to Google Cloud.
  :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).
code: def __init__(
      self,
      *,
      location: str,
      queue_name: str,
      project_id: str | None = None,
      retry: Retry | _MethodDefault = DEFAULT,
      timeout: float | None = None,
      metadata: MetaData = (),
      gcp_conn_id: str = "google_cloud_default",
      impersonation_chain: str | Sequence[str] | None = None,
      **kwargs,
  ) -> None:
      super().__init__(**kwargs)
      self.location = location
      self.queue_name = queue_name
      self.project_id = project_id
      self.retry = retry
      self.timeout = timeout
      self.metadata = metadata
      self.gcp_conn_id = gcp_conn_id
      self.impersonation_chain = impersonation_chain
  
imports: from __future__ import annotations
  from typing import TYPE_CHECKING, Sequence, Tuple
  from google.api_core.exceptions import AlreadyExists
  from google.api_core.gapic_v1.method import DEFAULT, _MethodDefault
  from google.cloud.tasks_v2.types import Queue, Task
  from airflow.providers.google.cloud.hooks.tasks import CloudTasksHook
  from airflow.providers.google.cloud.links.cloud_tasks import CloudTasksLink, CloudTasksQueueLink
  from airflow.providers.google.cloud.operators.cloud_base import GoogleCloudBaseOperator
label_desc: Use image node_id 1 to create a new CloudTasksQueuePauseOperator object from inherited base classes: GoogleCloudBaseOperator with example: obj = CloudTasksQueuePauseOperator()