
    z                     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)z@Generated client library for transferappliance version v1alpha1.    )absolute_import)base_api)#transferappliance_v1alpha1_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 G d dej&                        Z G d dej&                        Z G d dej&                        Z G d dej&                        Z xZS )TransferapplianceV1alpha1zHGenerated client library for service transferappliance version v1alpha1.z)https://transferappliance.googleapis.com/z.https://transferappliance.mtls.googleapis.com/transferappliancez.https://www.googleapis.com/auth/cloud-platformv1alpha1	CLIENT_IDCLIENT_SECRETzgoogle-cloud-sdkNc                    |xs | j                   }t        t        |   |||||||||	|
|       | j	                  |       | _        | j                  |       | _        | j                  |       | _	        | j                  |       | _        | j                  |       | _        | j                  |       | _        | j!                  |       | _        y)z&Create a new transferappliance handle.)
credentialsget_credentialshttpmodellog_requestlog_responsecredentials_argsdefault_global_paramsadditional_http_headersresponse_encodingN)BASE_URLsuperr   __init__-ProjectsLocationsAppliancesCredentialsService)projects_locations_appliances_credentials"ProjectsLocationsAppliancesServiceprojects_locations_appliances"ProjectsLocationsOperationsServiceprojects_locations_operationsProjectsLocationsOrdersServiceprojects_locations_orders&ProjectsLocationsSavedAddressesService!projects_locations_savedAddressesProjectsLocationsServiceprojects_locationsProjectsServiceprojects)selfurlr   r   r   r   r   r   r   r   r   r   	__class__s               ilib/googlecloudsdk/generated_clients/apis/transferappliance/v1alpha1/transferappliance_v1alpha1_client.pyr   z"TransferapplianceV1alpha1.__init__   s     
C	
#T3'd%l)3 7+ 4 - 6:5g5ghl5mD2)-)P)PQU)VD&)-)P)PQU)VD&%)%H%H%ND"-1-X-XY]-^D*";;DAD((.DM    c                   >     e Zd ZdZdZ fdZddZd e_         xZS )GTransferapplianceV1alpha1.ProjectsLocationsAppliancesCredentialsServicezIService class for the projects_locations_appliances_credentials resource.r   c                 N    t         t        j                  |   |       i | _        y N)r   r   r   r   _upload_configsr(   clientr*   s     r+   r   zPTransferapplianceV1alpha1.ProjectsLocationsAppliancesCredentialsService.__init__7   s%    %SSUYcdjkdr,   c                 L    | j                  d      }| j                  |||      S )a$  Gets Credentials of the appliance.

      Args:
        request: (TransferapplianceProjectsLocationsAppliancesCredentialsGetRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (Credential) The response message.
      Getglobal_paramsGetMethodConfig
_RunMethodr(   requestr7   configs       r+   r5   zKTransferapplianceV1alpha1.ProjectsLocationsAppliancesCredentialsService.Get<   1     ##E*f__
'  8 8r,   c                  F    t        j                  ddddgdgg ddddd	
      S )Nzlv1alpha1/projects/{projectsId}/locations/{locationsId}/appliances/{appliancesId}/credentials/{credentialsId}GETz?transferappliance.projects.locations.appliances.credentials.getnamev1alpha1/{+name} ATransferapplianceProjectsLocationsAppliancesCredentialsGetRequest
CredentialF	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>zPTransferapplianceV1alpha1.ProjectsLocationsAppliancesCredentialsService.<lambda>I   s7     6 6 ASxH(]'!r,   r0   )	__name__
__module____qualname____doc___NAMEr   r5   method_config__classcell__r*   s   @r+   r   r.   2   s"    S7E
8Cr,   r   c                        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	_        dd
Z
d e
_        ddZd e_        ddZd e_         xZS )<TransferapplianceV1alpha1.ProjectsLocationsAppliancesServicez=Service class for the projects_locations_appliances resource.r   c                 N    t         t        j                  |   |       i | _        y r0   )r   r   r   r   r1   r2   s     r+   r   zETransferapplianceV1alpha1.ProjectsLocationsAppliancesService.__init__\   $    %HH$XY_`dr,   c                 L    | j                  d      }| j                  |||      S )a1  Creates a new Appliance in a given project and location.

      Args:
        request: (TransferapplianceProjectsLocationsAppliancesCreateRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (Operation) The response message.
      Creater6   r8   r;   s       r+   rc   zCTransferapplianceV1alpha1.ProjectsLocationsAppliancesService.Createa   1     ##H-f__
'  8 8r,   c                  J    t        j                  ddddgdgg ddddd	d
      S )NAv1alpha1/projects/{projectsId}/locations/{locationsId}/appliancesPOSTz6transferappliance.projects.locations.appliances.createparent)applianceId	requestIdvalidateOnlyv1alpha1/{+parent}/appliances	appliance9TransferapplianceProjectsLocationsAppliancesCreateRequest	OperationFrF   rR   rT   r,   r+   rU   zETransferapplianceV1alpha1.ProjectsLocationsAppliancesService.<lambda>n   s4    8#9#9UJ zJA5!U&$r,   c                 L    | j                  d      }| j                  |||      S )a  Deletes an Appliance.

      Args:
        request: (TransferapplianceProjectsLocationsAppliancesDeleteRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (Operation) The response message.
      Deleter6   r8   r;   s       r+   rq   zCTransferapplianceV1alpha1.ProjectsLocationsAppliancesService.Delete|   rd   r,   c                  J    t        j                  ddddgdgg ddddd	d
      S )NPv1alpha1/projects/{projectsId}/locations/{locationsId}/appliances/{appliancesId}DELETEz6transferappliance.projects.locations.appliances.deleterA   etagrj   rk   rB   rC   9TransferapplianceProjectsLocationsAppliancesDeleteRequestro   FrF   rR   rT   r,   r+   rU   zETransferapplianceV1alpha1.ProjectsLocationsAppliancesService.<lambda>   s4    8#9#9dJxH:(U&$r,   c                 L    | j                  d      }| j                  |||      S )a3  Gets user data by its resource name.

      Args:
        request: (TransferapplianceProjectsLocationsAppliancesExportRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (ExportApplianceUserDataResponse) The response message.
      Exportr6   r8   r;   s       r+   ry   zCTransferapplianceV1alpha1.ProjectsLocationsAppliancesService.Export   rd   r,   c                  F    t        j                  ddddgdgg ddddd	
      S )NzWv1alpha1/projects/{projectsId}/locations/{locationsId}/appliances/{appliancesId}:exportr@   z6transferappliance.projects.locations.appliances.exportrA   zv1alpha1/{+name}:exportrC   9TransferapplianceProjectsLocationsAppliancesExportRequestExportApplianceUserDataResponseFrF   rR   rT   r,   r+   rU   zETransferapplianceV1alpha1.ProjectsLocationsAppliancesService.<lambda>   s4    8#9#9kJxH/U<$r,   c                 L    | j                  d      }| j                  |||      S )a&  Gets an Appliance resource by its resource name.

      Args:
        request: (TransferapplianceProjectsLocationsAppliancesGetRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (Appliance) The response message.
      r5   r6   r8   r;   s       r+   r5   z@TransferapplianceV1alpha1.ProjectsLocationsAppliancesService.Get   r>   r,   c                  F    t        j                  ddddgdgg ddddd	
      S )Nrs   r@   z3transferappliance.projects.locations.appliances.getrA   rB   rC   6TransferapplianceProjectsLocationsAppliancesGetRequest	ApplianceFrF   rR   rT   r,   r+   rU   zETransferapplianceV1alpha1.ProjectsLocationsAppliancesService.<lambda>   4     6 6dGxH(R&!r,   c                 L    | j                  d      }| j                  |||      S )a5  Lists Appliances in a given project and location.

      Args:
        request: (TransferapplianceProjectsLocationsAppliancesListRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (ListAppliancesResponse) The response message.
      Listr6   r8   r;   s       r+   r   zATransferapplianceV1alpha1.ProjectsLocationsAppliancesService.List   1     ##F+f__
'  8 8r,   c                  J    t        j                  ddddgdgg ddddd	d
      S )Nrf   r@   z4transferappliance.projects.locations.appliances.listrh   filterorderBypageSize	pageTokenrl   rC   7TransferapplianceProjectsLocationsAppliancesListRequestListAppliancesResponseFrF   rR   rT   r,   r+   rU   zETransferapplianceV1alpha1.ProjectsLocationsAppliancesService.<lambda>   s4    !7!7UH zJC5S3"r,   c                 L    | j                  d      }| j                  |||      S )a  Updates Appliance resource parameters.

      Args:
        request: (TransferapplianceProjectsLocationsAppliancesPatchRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (Operation) The response message.
      Patchr6   r8   r;   s       r+   r   zBTransferapplianceV1alpha1.ProjectsLocationsAppliancesService.Patch   1     ##G,f__
'  8 8r,   c                  J    t        j                  ddddgdgg ddddd	d
      S )Nrs   PATCHz5transferappliance.projects.locations.appliances.patchrA   allowMissingrj   
updateMaskrk   rB   rm   8TransferapplianceProjectsLocationsAppliancesPatchRequestro   FrF   rR   rT   r,   r+   rU   zETransferapplianceV1alpha1.ProjectsLocationsAppliancesService.<lambda>   s4    ("8"8dIxHP(!T&#r,   r0   )rV   rW   rX   rY   rZ   r   rc   r[   rq   ry   r5   r   r   r\   r]   s   @r+   r   r_   W   sm    G+E
8F8F8F8C8D8Er,   r   c                        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	_        dd
Z
d e
_         xZS )<TransferapplianceV1alpha1.ProjectsLocationsOperationsServicez=Service class for the projects_locations_operations resource.r   c                 N    t         t        j                  |   |       i | _        y r0   )r   r   r   r   r1   r2   s     r+   r   zETransferapplianceV1alpha1.ProjectsLocationsOperationsService.__init__  ra   r,   c                 L    | j                  d      }| j                  |||      S )a@  Starts asynchronous cancellation on a long-running operation. The server makes a best effort to cancel the operation, but success is not guaranteed. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`. Clients can use Operations.GetOperation or other methods to check whether the cancellation succeeded or whether the operation completed despite cancellation. On successful cancellation, the operation is not deleted; instead, it becomes an operation with an Operation.error value with a google.rpc.Status.code of `1`, corresponding to `Code.CANCELLED`.

      Args:
        request: (TransferapplianceProjectsLocationsOperationsCancelRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (Empty) The response message.
      Cancelr6   r8   r;   s       r+   r   zCTransferapplianceV1alpha1.ProjectsLocationsOperationsService.Cancel  rd   r,   c                  F    t        j                  ddddgdgg ddddd	
      S )NzWv1alpha1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}:cancelrg   z6transferappliance.projects.locations.operations.cancelrA   zv1alpha1/{+name}:cancelcancelOperationRequest9TransferapplianceProjectsLocationsOperationsCancelRequestEmptyFrF   rR   rT   r,   r+   rU   zETransferapplianceV1alpha1.ProjectsLocationsOperationsService.<lambda>  s4    8#9#9kJxH/.U"$r,   c                 L    | j                  d      }| j                  |||      S )a  Deletes a long-running operation. This method indicates that the client is no longer interested in the operation result. It does not cancel the operation. If the server doesn't support this method, it returns `google.rpc.Code.UNIMPLEMENTED`.

      Args:
        request: (TransferapplianceProjectsLocationsOperationsDeleteRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (Empty) The response message.
      rq   r6   r8   r;   s       r+   rq   zCTransferapplianceV1alpha1.ProjectsLocationsOperationsService.Delete(  rd   r,   c                  F    t        j                  ddddgdgg ddddd	
      S )NPv1alpha1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}rt   z6transferappliance.projects.locations.operations.deleterA   rB   rC   9TransferapplianceProjectsLocationsOperationsDeleteRequestr   FrF   rR   rT   r,   r+   rU   zETransferapplianceV1alpha1.ProjectsLocationsOperationsService.<lambda>5  s4    8#9#9dJxH(U"$r,   c                 L    | j                  d      }| j                  |||      S )a  Gets the latest state of a long-running operation. Clients can use this method to poll the operation result at intervals as recommended by the API service.

      Args:
        request: (TransferapplianceProjectsLocationsOperationsGetRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (Operation) The response message.
      r5   r6   r8   r;   s       r+   r5   z@TransferapplianceV1alpha1.ProjectsLocationsOperationsService.GetC  r>   r,   c                  F    t        j                  ddddgdgg ddddd	
      S )Nr   r@   z3transferappliance.projects.locations.operations.getrA   rB   rC   6TransferapplianceProjectsLocationsOperationsGetRequestro   FrF   rR   rT   r,   r+   rU   zETransferapplianceV1alpha1.ProjectsLocationsOperationsService.<lambda>P  r   r,   c                 L    | j                  d      }| j                  |||      S )a  Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.

      Args:
        request: (TransferapplianceProjectsLocationsOperationsListRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (ListOperationsResponse) The response message.
      r   r6   r8   r;   s       r+   r   zATransferapplianceV1alpha1.ProjectsLocationsOperationsService.List^  r   r,   c                  J    t        j                  ddddgdgg ddddd	d
      S )NzAv1alpha1/projects/{projectsId}/locations/{locationsId}/operationsr@   z4transferappliance.projects.locations.operations.listrA   )r   r   r   zv1alpha1/{+name}/operationsrC   7TransferapplianceProjectsLocationsOperationsListRequestListOperationsResponseFrF   rR   rT   r,   r+   rU   zETransferapplianceV1alpha1.ProjectsLocationsOperationsService.<lambda>k  s4    !7!7UHxH83S3"r,   r0   )rV   rW   rX   rY   rZ   r   r   r[   rq   r5   r   r\   r]   s   @r+   r   r     sO    G+E
8F8F8C8Dr,   r   c                        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	_        dd
Z
d e
_        ddZd e_        ddZd e_         xZS )8TransferapplianceV1alpha1.ProjectsLocationsOrdersServicez9Service class for the projects_locations_orders resource.r!   c                 N    t         t        j                  |   |       i | _        y r0   )r   r   r    r   r1   r2   s     r+   r   zATransferapplianceV1alpha1.ProjectsLocationsOrdersService.__init__~  s$    %DDdTU[\dr,   c                 L    | j                  d      }| j                  |||      S )a)  Creates a new Order in a given project and location.

      Args:
        request: (TransferapplianceProjectsLocationsOrdersCreateRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (Operation) The response message.
      rc   r6   r8   r;   s       r+   rc   z?TransferapplianceV1alpha1.ProjectsLocationsOrdersService.Create  rd   r,   c                  J    t        j                  ddddgdgg ddddd	d
      S )N=v1alpha1/projects/{projectsId}/locations/{locationsId}/ordersrg   z2transferappliance.projects.locations.orders.createrh   )orderIdrj   rk   v1alpha1/{+parent}/ordersorder5TransferapplianceProjectsLocationsOrdersCreateRequestro   FrF   rR   rT   r,   r+   rU   zATransferapplianceV1alpha1.ProjectsLocationsOrdersService.<lambda>  s4    8#9#9QF zJ=1Q&$r,   c                 L    | j                  d      }| j                  |||      S )a  Deletes a Order.

      Args:
        request: (TransferapplianceProjectsLocationsOrdersDeleteRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (Operation) The response message.
      rq   r6   r8   r;   s       r+   rq   z?TransferapplianceV1alpha1.ProjectsLocationsOrdersService.Delete  rd   r,   c                  J    t        j                  ddddgdgg ddddd	d
      S )NHv1alpha1/projects/{projectsId}/locations/{locationsId}/orders/{ordersId}rt   z2transferappliance.projects.locations.orders.deleterA   ru   rB   rC   5TransferapplianceProjectsLocationsOrdersDeleteRequestro   FrF   rR   rT   r,   r+   rU   zATransferapplianceV1alpha1.ProjectsLocationsOrdersService.<lambda>  s4    8#9#9\FxH:(Q&$r,   c                 L    | j                  d      }| j                  |||      S )a  Gets details of a single Order.

      Args:
        request: (TransferapplianceProjectsLocationsOrdersGetRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (Order) The response message.
      r5   r6   r8   r;   s       r+   r5   z<TransferapplianceV1alpha1.ProjectsLocationsOrdersService.Get  r>   r,   c                  F    t        j                  ddddgdgg ddddd	
      S )Nr   r@   z/transferappliance.projects.locations.orders.getrA   rB   rC   2TransferapplianceProjectsLocationsOrdersGetRequestOrderFrF   rR   rT   r,   r+   rU   zATransferapplianceV1alpha1.ProjectsLocationsOrdersService.<lambda>  s4     6 6\CxH(N"!r,   c                 L    | j                  d      }| j                  |||      S )a)  Lists Orders in a given project and location.

      Args:
        request: (TransferapplianceProjectsLocationsOrdersListRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (ListOrdersResponse) The response message.
      r   r6   r8   r;   s       r+   r   z=TransferapplianceV1alpha1.ProjectsLocationsOrdersService.List  r   r,   c                  J    t        j                  ddddgdgg ddddd	d
      S )Nr   r@   z0transferappliance.projects.locations.orders.listrh   r   r   rC   3TransferapplianceProjectsLocationsOrdersListRequestListOrdersResponseFrF   rR   rT   r,   r+   rU   zATransferapplianceV1alpha1.ProjectsLocationsOrdersService.<lambda>  s4    !7!7QD zJC1O/"r,   c                 L    | j                  d      }| j                  |||      S )a  Updates the parameters of a single Order.

      Args:
        request: (TransferapplianceProjectsLocationsOrdersPatchRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (Operation) The response message.
      r   r6   r8   r;   s       r+   r   z>TransferapplianceV1alpha1.ProjectsLocationsOrdersService.Patch  r   r,   c                  J    t        j                  ddddgdgg ddddd	d
      S )Nr   r   z1transferappliance.projects.locations.orders.patchrA   r   rB   r   4TransferapplianceProjectsLocationsOrdersPatchRequestro   FrF   rR   rT   r,   r+   rU   zATransferapplianceV1alpha1.ProjectsLocationsOrdersService.<lambda>  s4    ("8"8\ExHP(P&#r,   c                 L    | j                  d      }| j                  |||      S )a  Submit an Order, moving it from the DRAFT state to PREPARING and updating any appliances associated with the order by moving them from the DRAFT state to ACTIVE. This method will attempt to set and validate any required permissions for a workload's service accounts on the workload's resources (e.g. KMS key, Cloud Storage bucket) for all appliances associated with the order. The caller must have the appropriate permissions to manage permissions for these resources.

      Args:
        request: (TransferapplianceProjectsLocationsOrdersSubmitRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (Operation) The response message.
      Submitr6   r8   r;   s       r+   r   z?TransferapplianceV1alpha1.ProjectsLocationsOrdersService.Submit
  rd   r,   c                  F    t        j                  ddddgdgg ddddd	
      S )NzOv1alpha1/projects/{projectsId}/locations/{locationsId}/orders/{ordersId}:submitrg   z2transferappliance.projects.locations.orders.submitrA   zv1alpha1/{+name}:submitsubmitOrderRequest5TransferapplianceProjectsLocationsOrdersSubmitRequestro   FrF   rR   rT   r,   r+   rU   zATransferapplianceV1alpha1.ProjectsLocationsOrdersService.<lambda>  s4    8#9#9cFxH/*Q&$r,   r0   )rV   rW   rX   rY   rZ   r   rc   r[   rq   r5   r   r   r   r\   r]   s   @r+   r    r   y  sm    C'E
8F8F8C8D8E8Fr,   r    c                        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	_        dd
Z
d e
_        ddZd e_         xZS )@TransferapplianceV1alpha1.ProjectsLocationsSavedAddressesServicezAService class for the projects_locations_savedAddresses resource.r#   c                 N    t         t        j                  |   |       i | _        y r0   )r   r   r"   r   r1   r2   s     r+   r   zITransferapplianceV1alpha1.ProjectsLocationsSavedAddressesService.__init__*  s$    %LLd\]cddr,   c                 L    | j                  d      }| j                  |||      S )a8  Creates a new SavedAddress in a given project and location.

      Args:
        request: (TransferapplianceProjectsLocationsSavedAddressesCreateRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (Operation) The response message.
      rc   r6   r8   r;   s       r+   rc   zGTransferapplianceV1alpha1.ProjectsLocationsSavedAddressesService.Create/  rd   r,   c                  J    t        j                  ddddgdgg ddddd	d
      S )NEv1alpha1/projects/{projectsId}/locations/{locationsId}/savedAddressesrg   z:transferappliance.projects.locations.savedAddresses.createrh   )rj   savedAddressIdrk   !v1alpha1/{+parent}/savedAddressessavedAddress=TransferapplianceProjectsLocationsSavedAddressesCreateRequestro   FrF   rR   rT   r,   r+   rU   zITransferapplianceV1alpha1.ProjectsLocationsSavedAddressesService.<lambda><  s4    8#9#9YN zJD9$Y&$r,   c                 L    | j                  d      }| j                  |||      S )a  Deletes a single SavedAddress.

      Args:
        request: (TransferapplianceProjectsLocationsSavedAddressesDeleteRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (Operation) The response message.
      rq   r6   r8   r;   s       r+   rq   zGTransferapplianceV1alpha1.ProjectsLocationsSavedAddressesService.DeleteJ  rd   r,   c                  J    t        j                  ddddgdgg ddddd	d
      S )NXv1alpha1/projects/{projectsId}/locations/{locationsId}/savedAddresses/{savedAddressesId}rt   z:transferappliance.projects.locations.savedAddresses.deleterA   ru   rB   rC   =TransferapplianceProjectsLocationsSavedAddressesDeleteRequestro   FrF   rR   rT   r,   r+   rU   zITransferapplianceV1alpha1.ProjectsLocationsSavedAddressesService.<lambda>W  s4    8#9#9lNxH:(Y&$r,   c                 L    | j                  d      }| j                  |||      S )a#  Gets details of a single SavedAddress.

      Args:
        request: (TransferapplianceProjectsLocationsSavedAddressesGetRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (SavedAddress) The response message.
      r5   r6   r8   r;   s       r+   r5   zDTransferapplianceV1alpha1.ProjectsLocationsSavedAddressesService.Gete  r>   r,   c                  F    t        j                  ddddgdgg ddddd	
      S )Nr   r@   z7transferappliance.projects.locations.savedAddresses.getrA   rB   rC   :TransferapplianceProjectsLocationsSavedAddressesGetRequestSavedAddressFrF   rR   rT   r,   r+   rU   zITransferapplianceV1alpha1.ProjectsLocationsSavedAddressesService.<lambda>r  s4     6 6lKxH(V)!r,   c                 L    | j                  d      }| j                  |||      S )aA  Lists SavedAddresses in a given project and location.

      Args:
        request: (TransferapplianceProjectsLocationsSavedAddressesListRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (ListSavedAddressesResponse) The response message.
      r   r6   r8   r;   s       r+   r   zETransferapplianceV1alpha1.ProjectsLocationsSavedAddressesService.List  r   r,   c                  J    t        j                  ddddgdgg ddddd	d
      S )Nr   r@   z8transferappliance.projects.locations.savedAddresses.listrh   r   r   rC   ;TransferapplianceProjectsLocationsSavedAddressesListRequestListSavedAddressesResponseFrF   rR   rT   r,   r+   rU   zITransferapplianceV1alpha1.ProjectsLocationsSavedAddressesService.<lambda>  s4    !7!7YL zJC9W7"r,   c                 L    | j                  d      }| j                  |||      S )a,  Updates the parameters of a single SavedAddress.

      Args:
        request: (TransferapplianceProjectsLocationsSavedAddressesPatchRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (Operation) The response message.
      r   r6   r8   r;   s       r+   r   zFTransferapplianceV1alpha1.ProjectsLocationsSavedAddressesService.Patch  r   r,   c                  J    t        j                  ddddgdgg ddddd	d
      S )Nr   r   z9transferappliance.projects.locations.savedAddresses.patchrA   r   rB   r   <TransferapplianceProjectsLocationsSavedAddressesPatchRequestro   FrF   rR   rT   r,   r+   rU   zITransferapplianceV1alpha1.ProjectsLocationsSavedAddressesService.<lambda>  s4    ("8"8lMxHP($X&#r,   r0   )rV   rW   rX   rY   rZ   r   rc   r[   rq   r5   r   r   r\   r]   s   @r+   r"   r   %  s^    K/E
8F8F8C8D8E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 )	2TransferapplianceV1alpha1.ProjectsLocationsServicez2Service class for the projects_locations resource.r%   c                 N    t         t        j                  |   |       i | _        y r0   )r   r   r$   r   r1   r2   s     r+   r   z;TransferapplianceV1alpha1.ProjectsLocationsService.__init__  s#    %>>NvVdr,   c                 L    | j                  d      }| j                  |||      S )a  Gets information about a location.

      Args:
        request: (TransferapplianceProjectsLocationsGetRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (Location) The response message.
      r5   r6   r8   r;   s       r+   r5   z6TransferapplianceV1alpha1.ProjectsLocationsService.Get  r>   r,   c                  F    t        j                  ddddgdgg ddddd	
      S )Nz6v1alpha1/projects/{projectsId}/locations/{locationsId}r@   z(transferappliance.projects.locations.getrA   rB   rC   ,TransferapplianceProjectsLocationsGetRequestLocationFrF   rR   rT   r,   r+   rU   z;TransferapplianceV1alpha1.ProjectsLocationsService.<lambda>  s4     6 6J<xH(H%!r,   c                 L    | j                  d      }| j                  |||      S )a:  Lists information about the supported locations for this service.

      Args:
        request: (TransferapplianceProjectsLocationsListRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (ListLocationsResponse) The response message.
      r   r6   r8   r;   s       r+   r   z7TransferapplianceV1alpha1.ProjectsLocationsService.List  r   r,   c                  J    t        j                  ddddgdgg ddddd	d
      S )Nz(v1alpha1/projects/{projectsId}/locationsr@   z)transferappliance.projects.locations.listrA   )extraLocationTypesr   r   r   zv1alpha1/{+name}/locationsrC   -TransferapplianceProjectsLocationsListRequestListLocationsResponseFrF   rR   rT   r,   r+   rU   z;TransferapplianceV1alpha1.ProjectsLocationsService.<lambda>  s4    !7!7<=xHN2I2"r,   r0   )
rV   rW   rX   rY   rZ   r   r5   r[   r   r\   r]   s   @r+   r$   r     s1    < E
8C8Dr,   r$   c                   &     e Zd ZdZdZ fdZ xZS ))TransferapplianceV1alpha1.ProjectsServicez(Service class for the projects resource.r'   c                 N    t         t        j                  |   |       i | _        y r0   )r   r   r&   r   r1   r2   s     r+   r   z2TransferapplianceV1alpha1.ProjectsService.__init__  s#    %55tEfMdr,   )rV   rW   rX   rY   rZ   r   r\   r]   s   @r+   r&   r     s    2E r,   r&   )rC   NTNNFFNNNN)rV   rW   rX   rY   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   r    r"   r$   r&   r\   r]   s   @r+   r   r   
   s    P/8(B- (=>'(*"."+2,()-6:/4<@?C	/.#h6M6M #Jj8+B+B jXt8+B+B tljx'>'> jXOx/F/F Ob>!8!8 >@//  r,   r   N)
rY   
__future__r   apitools.base.pyr   @googlecloudsdk.generated_clients.apis.transferappliance.v1alpha1r   r   BaseApiClientr   rT   r,   r+   <module>r     s'    F ' % |t 6 6 tr,   