
    o!                     V    d Z ddlmZ ddlmZ ddlmZ  G d dej                        Z	y)zAGenerated client library for cloudlocationfinder version v1alpha.    )absolute_import)base_api)$cloudlocationfinder_v1alpha_messagesc                        e Zd ZdZeZdZdZdZdgZ	dZ
dZdZd	Zd ZdZd
Z	 	 	 	 	 d fd	Z G d dej&                        Z G d dej&                        Z G d dej&                        Z xZS )CloudlocationfinderV1alphazIGenerated client library for service cloudlocationfinder version v1alpha.z+https://cloudlocationfinder.googleapis.com/z0https://cloudlocationfinder.mtls.googleapis.com/cloudlocationfinderz.https://www.googleapis.com/auth/cloud-platformv1alpha	CLIENT_IDCLIENT_SECRETzgoogle-cloud-sdkNc                     |xs | j                   }t        t        |   |||||||||	|
|       | j	                  |       | _        | j                  |       | _        | j                  |       | _	        y)z(Create a new cloudlocationfinder handle.)
credentialsget_credentialshttpmodellog_requestlog_responsecredentials_argsdefault_global_paramsadditional_http_headersresponse_encodingN)
BASE_URLsuperr   __init__&ProjectsLocationsCloudLocationsService!projects_locations_cloudLocationsProjectsLocationsServiceprojects_locationsProjectsServiceprojects)selfurlr   r   r   r   r   r   r   r   r   r   	__class__s               klib/googlecloudsdk/generated_clients/apis/cloudlocationfinder/v1alpha/cloudlocationfinder_v1alpha_client.pyr   z#CloudlocationfinderV1alpha.__init__   s     
C	
$d4'd%l)3 7+ 5 - .2-X-XY]-^D*";;DAD((.DM    c                   n     e Zd ZdZdZ fdZd
dZd e_        d
dZd e_        d
dZ	d	 e	_         xZ
S )ACloudlocationfinderV1alpha.ProjectsLocationsCloudLocationsServicezAService class for the projects_locations_cloudLocations resource.r   c                 N    t         t        j                  |   |       i | _        y N)r   r   r   r   _upload_configsr    clientr"   s     r#   r   zJCloudlocationfinderV1alpha.ProjectsLocationsCloudLocationsService.__init__3   s$    &MMt]^dedr$   c                 L    | j                  d      }| j                  |||      S )aC  Retrieves a resource containing information about a cloud location.

      Args:
        request: (CloudlocationfinderProjectsLocationsCloudLocationsGetRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (CloudLocation) The response message.
      Getglobal_paramsGetMethodConfig
_RunMethodr    requestr/   configs       r#   r-   zECloudlocationfinderV1alpha.ProjectsLocationsCloudLocationsService.Get8   1     ##E*f__
'  8 8r$   c                  F    t        j                  ddddgdgg ddddd	
      S )NzWv1alpha/projects/{projectsId}/locations/{locationsId}/cloudLocations/{cloudLocationsId}GETz9cloudlocationfinder.projects.locations.cloudLocations.getnamev1alpha/{+name} <CloudlocationfinderProjectsLocationsCloudLocationsGetRequestCloudLocationF	flat_path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>zJCloudlocationfinderV1alpha.ProjectsLocationsCloudLocationsService.<lambda>E   s4     6 6kMxH'X*!r$   c                 L    | j                  d      }| j                  |||      S )aG  Lists cloud locations under a given project and location.

      Args:
        request: (CloudlocationfinderProjectsLocationsCloudLocationsListRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (ListCloudLocationsResponse) The response message.
      Listr.   r0   r3   s       r#   rO   zFCloudlocationfinderV1alpha.ProjectsLocationsCloudLocationsService.ListS   1     ##F+f__
'  8 8r$   c                  J    t        j                  ddddgdgg ddddd	d
      S )NzDv1alpha/projects/{projectsId}/locations/{locationsId}/cloudLocationsr8   z:cloudlocationfinder.projects.locations.cloudLocations.listparent)filterpageSize	pageTokenz v1alpha/{+parent}/cloudLocationsr;   =CloudlocationfinderProjectsLocationsCloudLocationsListRequestListCloudLocationsResponseFr>   rJ   rL   r$   r#   rM   zJCloudlocationfinderV1alpha.ProjectsLocationsCloudLocationsService.<lambda>`   s4    !7!7XN zJ88Y7"r$   c                 L    | j                  d      }| j                  |||      S )aL  Searches for cloud locations from a given source location.

      Args:
        request: (CloudlocationfinderProjectsLocationsCloudLocationsSearchRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (SearchCloudLocationsResponse) The response message.
      Searchr.   r0   r3   s       r#   rY   zHCloudlocationfinderV1alpha.ProjectsLocationsCloudLocationsService.Searchn   s1     ##H-f__
'  8 8r$   c                  J    t        j                  ddddgdgg ddddd	d
      S )NzKv1alpha/projects/{projectsId}/locations/{locationsId}/cloudLocations:searchr8   z<cloudlocationfinder.projects.locations.cloudLocations.searchrR   )rT   rU   querysourceCloudLocationz'v1alpha/{+parent}/cloudLocations:searchr;   ?CloudlocationfinderProjectsLocationsCloudLocationsSearchRequestSearchCloudLocationsResponseFr>   rJ   rL   r$   r#   rM   zJCloudlocationfinderV1alpha.ProjectsLocationsCloudLocationsService.<lambda>{   s4    8#9#9_P zJN?[9$r$   r(   )__name__
__module____qualname____doc___NAMEr   r-   method_configrO   rY   __classcell__r"   s   @r#   r   r&   .   s@    K/E
8C8D8Fr$   r   c                   V     e Zd ZdZdZ fdZddZd e_        ddZd e_         xZ	S )	3CloudlocationfinderV1alpha.ProjectsLocationsServicez2Service class for the projects_locations resource.r   c                 N    t         t        j                  |   |       i | _        y r(   )r   r   r   r   r)   r*   s     r#   r   z<CloudlocationfinderV1alpha.ProjectsLocationsService.__init__   s$    &??OPVWdr$   c                 L    | j                  d      }| j                  |||      S )a  Gets information about a location.

      Args:
        request: (CloudlocationfinderProjectsLocationsGetRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (Location) The response message.
      r-   r.   r0   r3   s       r#   r-   z7CloudlocationfinderV1alpha.ProjectsLocationsService.Get   r6   r$   c                  F    t        j                  ddddgdgg ddddd	
      S )Nz5v1alpha/projects/{projectsId}/locations/{locationsId}r8   z*cloudlocationfinder.projects.locations.getr9   r:   r;   .CloudlocationfinderProjectsLocationsGetRequestLocationFr>   rJ   rL   r$   r#   rM   z<CloudlocationfinderV1alpha.ProjectsLocationsService.<lambda>   s4     6 6I>xH'J%!r$   c                 L    | j                  d      }| j                  |||      S )a<  Lists information about the supported locations for this service.

      Args:
        request: (CloudlocationfinderProjectsLocationsListRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (ListLocationsResponse) The response message.
      rO   r.   r0   r3   s       r#   rO   z8CloudlocationfinderV1alpha.ProjectsLocationsService.List   rP   r$   c                  J    t        j                  ddddgdgg ddddd	d
      S )Nz'v1alpha/projects/{projectsId}/locationsr8   z+cloudlocationfinder.projects.locations.listr9   )extraLocationTypesrS   rT   rU   zv1alpha/{+name}/locationsr;   /CloudlocationfinderProjectsLocationsListRequestListLocationsResponseFr>   rJ   rL   r$   r#   rM   z<CloudlocationfinderV1alpha.ProjectsLocationsService.<lambda>   s4    !7!7;?xHN1K2"r$   r(   )
r_   r`   ra   rb   rc   r   r-   rd   rO   re   rf   s   @r#   r   rh      s1    < E
8C8Dr$   r   c                   &     e Zd ZdZdZ fdZ xZS )*CloudlocationfinderV1alpha.ProjectsServicez(Service class for the projects resource.r   c                 N    t         t        j                  |   |       i | _        y r(   )r   r   r   r   r)   r*   s     r#   r   z3CloudlocationfinderV1alpha.ProjectsService.__init__   s#    &66FvNdr$   )r_   r`   ra   rb   rc   r   re   rf   s   @r#   r   rt      s    2E r$   r   )r;   NTNNFFNNNN)r_   r`   ra   rb   messagesMESSAGES_MODULEr   MTLS_BASE_URL_PACKAGE_SCOPES_VERSION
_CLIENT_ID_CLIENT_SECRET_USER_AGENT_CLIENT_CLASS_NAME_URL_VERSION_API_KEYr   r   BaseApiServicer   r   r   re   rf   s   @r#   r   r   
   s    Q/:(D-"(=>'(*"."+3,()-6:/4<@?C	/&Yx/F/F Yv>!8!8 >@//  r$   r   N)
rb   
__future__r   apitools.base.pyr   Agooglecloudsdk.generated_clients.apis.cloudlocationfinder.v1alphar   rv   BaseApiClientr   rL   r$   r#   <module>r      s'    G ' % ~G!7!7 Gr$   