
                         V    S r SSKJr  SSKJr  SSKJr   " S S\R                  5      r	g)zAGenerated client library for policytroubleshooter version v1beta.    )absolute_import)base_api)$policytroubleshooter_v1beta_messagesc                      ^  \ rS rSrSr\rSrSrSr	S/r
SrSrS	rS
rS rSrSr     SU 4S jjr " S S\R(                  5      rSrU =r$ )PolicytroubleshooterV1beta
   zIGenerated client library for service policytroubleshooter version v1beta.z,https://policytroubleshooter.googleapis.com/z1https://policytroubleshooter.mtls.googleapis.com/policytroubleshooterz.https://www.googleapis.com/auth/cloud-platformv1beta	CLIENT_IDCLIENT_SECRETzgoogle-cloud-sdkNc                    > U=(       d    U R                   n[        [        U ]  XX4UXgUU	U
US9  U R	                  U 5      U l        g)z)Create a new policytroubleshooter handle.)
credentialsget_credentialshttpmodellog_requestlog_responsecredentials_argsdefault_global_paramsadditional_http_headersresponse_encodingN)BASE_URLsuperr   __init__
IamServiceiam)selfurlr   r   r   r   r   r   r   r   r   r   	__class__s               klib/googlecloudsdk/generated_clients/apis/policytroubleshooter/v1beta/policytroubleshooter_v1beta_client.pyr   #PolicytroubleshooterV1beta.__init__   sQ     
C	
$d4'%)3 7+ 5 - t$DH    c                   J   ^  \ rS rSrSrSrU 4S jrSS jrS \l        Sr	U =r
$ )	%PolicytroubleshooterV1beta.IamService,   z#Service class for the iam resource.r   c                 N   > [         [        R                  U ]  U5        0 U l        g N)r   r   r   r   _upload_configs)r   clientr   s     r    r   .PolicytroubleshooterV1beta.IamService.__init__1   s#    &114A&Idr"   c                 D    U R                  S5      nU R                  X1US9$ )a  Checks whether a member has a specific permission for a specific resource, and explains why the member does or does not have that permission.

Args:
  request: (GoogleCloudPolicytroubleshooterV1betaTroubleshootIamPolicyRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (GoogleCloudPolicytroubleshooterV1betaTroubleshootIamPolicyResponse) The response message.
Troubleshoot)global_params)GetMethodConfig
_RunMethod)r   requestr-   configs       r    r,   2PolicytroubleshooterV1beta.IamService.Troubleshoot6   s/     ##N3f__
  8 8r"   c                  <    [         R                  " SS/ / / SSSSSS9
$ )	NPOSTz%policytroubleshooter.iam.troubleshootzv1beta/iam:troubleshootz	<request>AGoogleCloudPolicytroubleshooterV1betaTroubleshootIamPolicyRequestBGoogleCloudPolicytroubleshooterV1betaTroubleshootIamPolicyResponseF)
http_method	method_idordered_paramspath_paramsquery_paramsrelative_pathrequest_fieldrequest_type_nameresponse_type_namesupports_download)r   ApiMethodInfo r"   r    <lambda>.PolicytroubleshooterV1beta.IamService.<lambda>C   s-    )?)?9/!]_*r"   )r(   r'   )__name__
__module____qualname____firstlineno____doc___NAMEr   r,   method_config__static_attributes____classcell__r   s   @r    r   r$   ,   s"    -E
8"Lr"   r   )r   ) NTNNFFNNNN)rE   rF   rG   rH   rI   messagesMESSAGES_MODULEr   MTLS_BASE_URL_PACKAGE_SCOPES_VERSION
_CLIENT_ID_CLIENT_SECRET_USER_AGENT_CLIENT_CLASS_NAME_URL_VERSION_API_KEYr   r   BaseApiServicer   rL   rM   rN   s   @r    r   r   
   sq    Q/;(E-#(=>'(*"."+3,()-6:/4<@?C	%""8** " "r"   r   N)
rI   
__future__r   apitools.base.pyr   Agooglecloudsdk.generated_clients.apis.policytroubleshooter.v1betar   rP   BaseApiClientr   rB   r"   r    <module>ra      s'    G ' % ~D!7!7 Dr"   