
                             d Z ddlmZ ddlmZ ddlmZ ddlmZ ddlmZ	 ddl
mZ ej                   G d d	ej                               Zy
)z/Command to Get IAM policy for an investigation.    )absolute_import)division)unicode_literals)args)util)basec                   .    e Zd ZdZddiZed        Zd Zy)GetIamPolicyz$Get IAM policy for an investigation.EXAMPLESz          To get the IAM policy a the investigation 'project/my-project/locations/my-location/investigations/my-investigation', run:

            $ {command} project/my-project/locations/my-location/investigations/my-investigation
          c                 0    t        j                  | d       y)zTRegisters flags for this command.

    Args:
      parser: The argparse parser.
    zto get IAM policy forN)geminicloudassist_argsAddInvestigationResourceArg)parsers    @lib/surface/gemini/cloud_assist/investigations/get_iam_policy.pyArgszGetIamPolicy.Args'   s     66'    c                 @    t        j                  |j                        S )z Get IAM policy for an investigation.

    Args:
      args: An argparse namespace. All the arguments that were provided to this
        command invocation.

    Returns:
      The IAM policy for the given investigation.
    )geminicloudassist_utilGetInvestigationIamPolicyinvestigation)selfr   s     r   RunzGetIamPolicy.Run2   s     ";;D<N<NOOr   N)__name__
__module____qualname____doc__detailed_helpstaticmethodr   r    r   r   r
   r
      s0    ,  -  
Pr   r
   N)r   
__future__r   r   r   *googlecloudsdk.api_lib.gemini_cloud_assistr   r   r   r   googlecloudsdk.callioper   UniverseCompatibleCommandr
   r   r   r   <module>r%      sD     6 &  ' U U (  P4<<  P  Pr   