
    o                     n    S r SSKJr  SSKJr  SSKJr  SSKJr  SSKJr	   " S S\R                  5      rg	)
z7Base class for gkemulticloud API clients for locations.    )absolute_import)division)unicode_literals)client)flagsc                   J   ^  \ rS rSrSrU 4S jrS rS rS rS r	S r
S	rU =r$ )
LocationsClient   zClient for managing locations.c                 d   > [         [        U ]
  " S0 UD6  U R                  R                  U l        g )N )superr	   __init___clientprojects_locations_service)selfkwargs	__class__s     ?lib/googlecloudsdk/api_lib/container/gkemulticloud/locations.pyr   LocationsClient.__init__   s&    	/4)3F3LL33DM    c                     U R                   R                  UR                  5       S-   S9nU R                  R	                  U5      $ )z%Gets server config for Anthos on AWS.z/awsServerConfigname)	_messages7GkemulticloudProjectsLocationsGetAwsServerConfigRequestRelativeNamer   GetAwsServerConfigr   location_refreqs      r   r   "LocationsClient.GetAwsServerConfig   sJ     	NN**,/AA 	O 	
 
 ==++C00r   c                     U R                   R                  UR                  5       S-   S9nU R                  R	                  U5      $ )z'Gets server config for Anthos on Azure.z/azureServerConfigr   )r   9GkemulticloudProjectsLocationsGetAzureServerConfigRequestr   r   GetAzureServerConfigr   s      r   r%   $LocationsClient.GetAzureServerConfig(   sE    
..
R
R&&(+?? S C ==--c22r   c                     U R                   R                  UR                  5       S-   S9nU R                  R	                  U5      $ )z0Gets server config for Anthos Attached Clusters.z/attachedServerConfigr   )r   <GkemulticloudProjectsLocationsGetAttachedServerConfigRequestr   r   GetAttachedServerConfigr   s      r   r)   'LocationsClient.GetAttachedServerConfig/   sE    
..
U
U&&(+BB V C ==0055r   c           	      6   U R                   R                  UR                  5       R                  5       UR                  [
        R                  " U5      [
        R                  " U5      [
        R                  " U5      S9nU R                  R                  U5      $ )z/Generates an Attached cluster install manifest.parentattachedClusterIdplatformVersion!proxyConfig_kubernetesSecret_name&proxyConfig_kubernetesSecret_namespace)r   KGkemulticloudProjectsLocationsGenerateAttachedClusterInstallManifestRequestParentr   attachedClustersIdattached_flagsGetPlatformVersionGetProxySecretNameGetProxySecretNamespacer   &GenerateAttachedClusterInstallManifest)r   cluster_refargsr!   s       r   GenerateInstallManifest'LocationsClient.GenerateInstallManifest6   s{    
..
d
d!!#002%88&99$?*8*K*KD*Q..t4 e C ==??DDr   c           	         U R                   R                  UR                  5       U[        R                  " U5      [        R
                  " U5      [        R                  " U5      S9nU R                  R                  U5      $ )z:Generates an Attached cluster install manifest for import.r,   )	r   r2   r   r5   r6   r7   r8   r   r9   )r   r    memberships_idr;   r!   s        r    GenerateInstallManifestForImport0LocationsClient.GenerateInstallManifestForImportC   sn     ..
d
d((*(&99$?*8*K*KD*Q..t4 e C ==??DDr   )r   )__name__
__module____qualname____firstlineno____doc__r   r   r%   r)   r<   r@   __static_attributes____classcell__)r   s   @r   r	   r	      s,    &4136EE Er   r	   N)rF   
__future__r   r   r   .googlecloudsdk.api_lib.container.gkemulticloudr   -googlecloudsdk.command_lib.container.attachedr   r5   
ClientBaser	   r   r   r   <module>rM      s-    > &  ' A Q8Ef'' 8Er   