class_docstr: Hook for Google OS login APIs.
  
  All the methods in the hook where project_id is used must be called with
  keyword arguments rather than positional.
docstr: Adds an SSH public key and returns the profile information.
  
  Default POSIX account information is set when no username and UID exist as part of the login profile.
  
  :param user: The unique ID for the user
  :param ssh_public_key: The SSH public key and expiration time.
  :param project_id: The project ID of the Google Cloud project.
  :param retry: A retry object used to retry requests. If ``None`` is specified, requests will
      be retried using a default configuration.
  :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.
  :return: A :class:`~google.cloud.oslogin_v1.ImportSshPublicKeyResponse` instance.
docstr_tok: ["Adds","an","SSH","public","key","and","returns","the","profile","information",".","Default","POSIX","account","information","is","set","when","no","username","and","UID","exist","as","part","of","the","login","profile",".",":","param","user",":","The","unique","ID","for","the","user",":","param","ssh_public_key",":","The","SSH","public","key","and","expiration","time",".",":","param","project_id",":","The","project","ID","of","the","Google","Cloud","project",".",":","param","retry",":","A","retry","object","used","to","retry","requests",".","If","``","None","``","is","specified",",","requests","will","be","retried","using","a","default","configuration",".",":","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",".",":","return",":","A",":","class",":","`","~google.cloud.oslogin_v1.ImportSshPublicKeyResponse","`","instance","."]
code: def import_ssh_public_key(
      self,
      user: str,
      ssh_public_key: dict,
      project_id: str = PROVIDE_PROJECT_ID,
      retry: Retry | _MethodDefault = DEFAULT,
      timeout: float | None = None,
      metadata: Sequence[tuple[str, str]] = (),
  ) -> ImportSshPublicKeyResponse:
      """
      Adds an SSH public key and returns the profile information.
  
      Default POSIX account information is set when no username and UID exist as part of the login profile.
  
      :param user: The unique ID for the user
      :param ssh_public_key: The SSH public key and expiration time.
      :param project_id: The project ID of the Google Cloud project.
      :param retry: A retry object used to retry requests. If ``None`` is specified, requests will
          be retried using a default configuration.
      :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.
      :return: A :class:`~google.cloud.oslogin_v1.ImportSshPublicKeyResponse` instance.
      """
      conn = self.get_conn()
      return conn.import_ssh_public_key(
          request={
              "parent": f"users/{user}",
              "ssh_public_key": ssh_public_key,
              "project_id": project_id,
          },
          retry=retry,
          timeout=timeout,
          metadata=metadata,
      )
  
file_path: airflow/airflow/providers/google/cloud/hooks/os_login.py
imports: from __future__ import annotations
  from typing import TYPE_CHECKING, Sequence
  from google.api_core.gapic_v1.method import DEFAULT, _MethodDefault
  from google.cloud.oslogin_v1 import ImportSshPublicKeyResponse, OsLoginServiceClient
  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 3 for calling the OSLoginHook obj's underlying member method code with example usage: obj.import_ssh_public_key(user, ssh_public_key, project_id, retry, timeout, metadata) and returns: conn