
    v                     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 file version v1.    )absolute_import)base_api)file_v1_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 xZS )FileV1z5Generated client library for service file version v1.zhttps://file.googleapis.com/z!https://file.mtls.googleapis.com/filez.https://www.googleapis.com/auth/cloud-platformv1	CLIENT_IDCLIENT_SECRETzgoogle-cloud-sdkNc                 j   |xs | j                   }t        t        |   |||||||||	|
|       | j	                  |       | _        | j                  |       | _        | j                  |       | _	        | j                  |       | _        | j                  |       | _        | j                  |       | _        y)zCreate a new file handle.)
credentialsget_credentialshttpmodellog_requestlog_responsecredentials_argsdefault_global_paramsadditional_http_headersresponse_encodingN)BASE_URLsuperr   __init__ProjectsLocationsBackupsServiceprojects_locations_backups*ProjectsLocationsInstancesSnapshotsService&projects_locations_instances_snapshots!ProjectsLocationsInstancesServiceprojects_locations_instances"ProjectsLocationsOperationsServiceprojects_locations_operationsProjectsLocationsServiceprojects_locationsProjectsServiceprojects)selfurlr   r   r   r   r   r   r   r   r   r   	__class__s               Clib/googlecloudsdk/generated_clients/apis/file/v1/file_v1_client.pyr   zFileV1.__init__   s     
C	&$ 'd%l)3 7+ ! - '+&J&J4&PD#262a2abf2gD/(,(N(Nt(TD%)-)P)PQU)VD&";;DAD((.DM    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 )&FileV1.ProjectsLocationsBackupsServicez:Service class for the projects_locations_backups resource.r   c                 N    t         t        j                  |   |       i | _        y N)r   r   r   r   _upload_configsr&   clientr(   s     r)   r   z/FileV1.ProjectsLocationsBackupsService.__init__6   s"    F22DB6Jdr*   c                 L    | j                  d      }| j                  |||      S )zCreates a backup.

      Args:
        request: (FileProjectsLocationsBackupsCreateRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (Operation) The response message.
      Createglobal_paramsGetMethodConfig
_RunMethodr&   requestr5   configs       r)   r3   z-FileV1.ProjectsLocationsBackupsService.Create;   1     ##H-f__
'  8 8r*   c                  H    t        j                  ddddgdgdgdddd	d
      S )N8v1/projects/{projectsId}/locations/{locationsId}/backupsPOSTz&file.projects.locations.backups.createparentbackupIdv1/{+parent}/backupsbackup)FileProjectsLocationsBackupsCreateRequest	OperationF	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>z/FileV1.ProjectsLocationsBackupsService.<lambda>H   s6    8#9#9L: zJ \,E&$r*   c                 L    | j                  d      }| j                  |||      S )zDeletes a backup.

      Args:
        request: (FileProjectsLocationsBackupsDeleteRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (Operation) The response message.
      Deleter4   r6   r9   s       r)   rW   z-FileV1.ProjectsLocationsBackupsService.DeleteV   r<   r*   c                  F    t        j                  ddddgdgg ddddd	
      S )NDv1/projects/{projectsId}/locations/{locationsId}/backups/{backupsId}DELETEz&file.projects.locations.backups.deletename
v1/{+name} )FileProjectsLocationsBackupsDeleteRequestrE   FrF   rR   rT   r*   r)   rU   z/FileV1.ProjectsLocationsBackupsService.<lambda>c   s4    8#9#9X:xH"E&$r*   c                 L    | j                  d      }| j                  |||      S )a	  Gets the details of a specific backup.

      Args:
        request: (FileProjectsLocationsBackupsGetRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (Backup) The response message.
      Getr4   r6   r9   s       r)   r`   z*FileV1.ProjectsLocationsBackupsService.Getq   1     ##E*f__
'  8 8r*   c                  F    t        j                  ddddgdgg ddddd	
      S )NrY   GETz#file.projects.locations.backups.getr[   r\   r]   &FileProjectsLocationsBackupsGetRequestBackupFrF   rR   rT   r*   r)   rU   z/FileV1.ProjectsLocationsBackupsService.<lambda>~   s4     6 6X7xH"B#!r*   c                 L    | j                  d      }| j                  |||      S )aE  Lists all backups in a project for either a specified location or for all locations.

      Args:
        request: (FileProjectsLocationsBackupsListRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (ListBackupsResponse) The response message.
      Listr4   r6   r9   s       r)   rg   z+FileV1.ProjectsLocationsBackupsService.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 )Nr>   rc   z$file.projects.locations.backups.listr@   filterorderBypageSize	pageTokenrB   r]   'FileProjectsLocationsBackupsListRequestListBackupsResponseFrF   rR   rT   r*   r)   rU   z/FileV1.ProjectsLocationsBackupsService.<lambda>   s4    !7!7L8 zJC,C0"r*   c                 L    | j                  d      }| j                  |||      S )a  Updates the settings of a specific backup.

      Args:
        request: (FileProjectsLocationsBackupsPatchRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (Operation) The response message.
      Patchr4   r6   r9   s       r)   rr   z,FileV1.ProjectsLocationsBackupsService.Patch   1     ##G,f__
'  8 8r*   c                  H    t        j                  ddddgdgdgdddd	d
      S )NrY   PATCHz%file.projects.locations.backups.patchr[   
updateMaskr\   rC   (FileProjectsLocationsBackupsPatchRequestrE   FrF   rR   rT   r*   r)   rU   z/FileV1.ProjectsLocationsBackupsService.<lambda>   s6    ("8"8X9xH"^"D&#r*   r.   __name__
__module____qualname____doc___NAMEr   r3   method_configrW   r`   rg   rr   __classcell__r(   s   @r)   r   r,   1   s^    D(E
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
_        ddZd e_         xZS )1FileV1.ProjectsLocationsInstancesSnapshotsServicezFService class for the projects_locations_instances_snapshots resource.r   c                 N    t         t        j                  |   |       i | _        y r.   )r   r   r   r   r/   r0   s     r)   r   z:FileV1.ProjectsLocationsInstancesSnapshotsService.__init__   s"    F==tMfUdr*   c                 L    | j                  d      }| j                  |||      S )a  Creates a snapshot.

      Args:
        request: (FileProjectsLocationsInstancesSnapshotsCreateRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (Operation) The response message.
      r3   r4   r6   r9   s       r)   r3   z8FileV1.ProjectsLocationsInstancesSnapshotsService.Create   r<   r*   c                  H    t        j                  ddddgdgdgdddd	d
      S )NRv1/projects/{projectsId}/locations/{locationsId}/instances/{instancesId}/snapshotsr?   z2file.projects.locations.instances.snapshots.creater@   
snapshotIdv1/{+parent}/snapshotssnapshot4FileProjectsLocationsInstancesSnapshotsCreateRequestrE   FrF   rR   rT   r*   r)   rU   z:FileV1.ProjectsLocationsInstancesSnapshotsService.<lambda>   s6    8#9#9fF zJ"^. P&$r*   c                 L    | j                  d      }| j                  |||      S )a  Deletes a snapshot.

      Args:
        request: (FileProjectsLocationsInstancesSnapshotsDeleteRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (Operation) The response message.
      rW   r4   r6   r9   s       r)   rW   z8FileV1.ProjectsLocationsInstancesSnapshotsService.Delete   r<   r*   c                  F    t        j                  ddddgdgg ddddd	
      S )N`v1/projects/{projectsId}/locations/{locationsId}/instances/{instancesId}/snapshots/{snapshotsId}rZ   z2file.projects.locations.instances.snapshots.deleter[   r\   r]   4FileProjectsLocationsInstancesSnapshotsDeleteRequestrE   FrF   rR   rT   r*   r)   rU   z:FileV1.ProjectsLocationsInstancesSnapshotsService.<lambda>   s4    8#9#9tFxH"P&$r*   c                 L    | j                  d      }| j                  |||      S )a  Gets the details of a specific snapshot.

      Args:
        request: (FileProjectsLocationsInstancesSnapshotsGetRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (Snapshot) The response message.
      r`   r4   r6   r9   s       r)   r`   z5FileV1.ProjectsLocationsInstancesSnapshotsService.Get  ra   r*   c                  F    t        j                  ddddgdgg ddddd	
      S )Nr   rc   z/file.projects.locations.instances.snapshots.getr[   r\   r]   1FileProjectsLocationsInstancesSnapshotsGetRequestSnapshotFrF   rR   rT   r*   r)   rU   z:FileV1.ProjectsLocationsInstancesSnapshotsService.<lambda>  s4     6 6tCxH"M%!r*   c                 L    | j                  d      }| j                  |||      S )aT  Lists all snapshots in a project for either a specified location or for all locations.

      Args:
        request: (FileProjectsLocationsInstancesSnapshotsListRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (ListSnapshotsResponse) The response message.
      rg   r4   r6   r9   s       r)   rg   z6FileV1.ProjectsLocationsInstancesSnapshotsService.List  rh   r*   c                  J    t        j                  ddddgdgg ddddd	d
      S )Nr   rc   z0file.projects.locations.instances.snapshots.listr@   )rk   rl   rm   rn   returnPartialSuccessr   r]   2FileProjectsLocationsInstancesSnapshotsListRequestListSnapshotsResponseFrF   rR   rT   r*   r)   rU   z:FileV1.ProjectsLocationsInstancesSnapshotsService.<lambda>*  s4    !7!7fD zJ[.N2"r*   c                 L    | j                  d      }| j                  |||      S )a  Updates the settings of a specific snapshot.

      Args:
        request: (FileProjectsLocationsInstancesSnapshotsPatchRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (Operation) The response message.
      rr   r4   r6   r9   s       r)   rr   z7FileV1.ProjectsLocationsInstancesSnapshotsService.Patch8  rs   r*   c                  H    t        j                  ddddgdgdgdddd	d
      S )Nr   ru   z1file.projects.locations.instances.snapshots.patchr[   rv   r\   r   3FileProjectsLocationsInstancesSnapshotsPatchRequestrE   FrF   rR   rT   r*   r)   rU   z:FileV1.ProjectsLocationsInstancesSnapshotsService.<lambda>E  s6    ("8"8tExH"^" O&#r*   r.   rx   r   s   @r)   r   r      s^    P4E
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
_        ddZd e_        ddZd e_        ddZd e_        ddZd e_         xZS )(FileV1.ProjectsLocationsInstancesServicez<Service class for the projects_locations_instances resource.r   c                 N    t         t        j                  |   |       i | _        y r.   )r   r   r   r   r/   r0   s     r)   r   z1FileV1.ProjectsLocationsInstancesService.__init__X  s"    F44dDVLdr*   c                 L    | j                  d      }| j                  |||      S )a  Creates an instance. When creating from a backup, the capacity of the new instance needs to be equal to or larger than the capacity of the backup (and also equal to or larger than the minimum capacity of the tier).

      Args:
        request: (FileProjectsLocationsInstancesCreateRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (Operation) The response message.
      r3   r4   r6   r9   s       r)   r3   z/FileV1.ProjectsLocationsInstancesService.Create]  r<   r*   c                  H    t        j                  ddddgdgdgdddd	d
      S )N:v1/projects/{projectsId}/locations/{locationsId}/instancesr?   z(file.projects.locations.instances.creater@   
instanceIdv1/{+parent}/instancesinstance+FileProjectsLocationsInstancesCreateRequestrE   FrF   rR   rT   r*   r)   rU   z1FileV1.ProjectsLocationsInstancesService.<lambda>j  s6    8#9#9N< zJ"^. G&$r*   c                 L    | j                  d      }| j                  |||      S )zDeletes an instance.

      Args:
        request: (FileProjectsLocationsInstancesDeleteRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (Operation) The response message.
      rW   r4   r6   r9   s       r)   rW   z/FileV1.ProjectsLocationsInstancesService.Deletex  r<   r*   c                  H    t        j                  ddddgdgdgdddd	d
      S )NHv1/projects/{projectsId}/locations/{locationsId}/instances/{instancesId}rZ   z(file.projects.locations.instances.deleter[   forcer\   r]   +FileProjectsLocationsInstancesDeleteRequestrE   FrF   rR   rT   r*   r)   rU   z1FileV1.ProjectsLocationsInstancesService.<lambda>  s6    8#9#9\<xHY"G&$r*   c                 L    | j                  d      }| j                  |||      S )a  Gets the details of a specific instance.

      Args:
        request: (FileProjectsLocationsInstancesGetRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (Instance) The response message.
      r`   r4   r6   r9   s       r)   r`   z,FileV1.ProjectsLocationsInstancesService.Get  ra   r*   c                  F    t        j                  ddddgdgg ddddd	
      S )Nr   rc   z%file.projects.locations.instances.getr[   r\   r]   (FileProjectsLocationsInstancesGetRequestInstanceFrF   rR   rT   r*   r)   rU   z1FileV1.ProjectsLocationsInstancesService.<lambda>  s4     6 6\9xH"D%!r*   c                 L    | j                  d      }| j                  |||      S )aK  Lists all instances in a project for either a specified location or for all locations.

      Args:
        request: (FileProjectsLocationsInstancesListRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (ListInstancesResponse) The response message.
      rg   r4   r6   r9   s       r)   rg   z-FileV1.ProjectsLocationsInstancesService.List  rh   r*   c                  J    t        j                  ddddgdgg ddddd	d
      S )Nr   rc   z&file.projects.locations.instances.listr@   rj   r   r]   )FileProjectsLocationsInstancesListRequestListInstancesResponseFrF   rR   rT   r*   r)   rU   z1FileV1.ProjectsLocationsInstancesService.<lambda>  s4    !7!7N: zJC.E2"r*   c                 L    | j                  d      }| j                  |||      S )a  Updates the settings of a specific instance.

      Args:
        request: (FileProjectsLocationsInstancesPatchRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (Operation) The response message.
      rr   r4   r6   r9   s       r)   rr   z.FileV1.ProjectsLocationsInstancesService.Patch  rs   r*   c                  H    t        j                  ddddgdgdgdddd	d
      S )Nr   ru   z'file.projects.locations.instances.patchr[   rv   r\   r   *FileProjectsLocationsInstancesPatchRequestrE   FrF   rR   rT   r*   r)   rU   z1FileV1.ProjectsLocationsInstancesService.<lambda>  s6    ("8"8\;xH"^" F&#r*   c                 L    | j                  d      }| j                  |||      S )a  Promote the standby instance (replica).

      Args:
        request: (FileProjectsLocationsInstancesPromoteReplicaRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (Operation) The response message.
      PromoteReplicar4   r6   r9   s       r)   r   z7FileV1.ProjectsLocationsInstancesService.PromoteReplica  s2     ##$45f__
'  8 8r*   c                  F    t        j                  ddddgdgg ddddd	
      S )NzWv1/projects/{projectsId}/locations/{locationsId}/instances/{instancesId}:promoteReplicar?   z0file.projects.locations.instances.promoteReplicar[   zv1/{+name}:promoteReplicapromoteReplicaRequest3FileProjectsLocationsInstancesPromoteReplicaRequestrE   FrF   rR   rT   r*   r)   rU   z1FileV1.ProjectsLocationsInstancesService.<lambda>  s4    8+A+AkDxH1-O&,r*   c                 L    | j                  d      }| j                  |||      S )a  Restores an existing instance's file share from a backup. The capacity of the instance needs to be equal to or larger than the capacity of the backup (and also equal to or larger than the minimum capacity of the tier).

      Args:
        request: (FileProjectsLocationsInstancesRestoreRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (Operation) The response message.
      Restorer4   r6   r9   s       r)   r   z0FileV1.ProjectsLocationsInstancesService.Restore  s1     ##I.f__
'  8 8r*   c                  F    t        j                  ddddgdgg ddddd	
      S )NzPv1/projects/{projectsId}/locations/{locationsId}/instances/{instancesId}:restorer?   z)file.projects.locations.instances.restorer[   zv1/{+name}:restorerestoreInstanceRequest,FileProjectsLocationsInstancesRestoreRequestrE   FrF   rR   rT   r*   r)   rU   z1FileV1.ProjectsLocationsInstancesService.<lambda>  s4    H$:$:d=xH*.H&%r*   c                 L    | j                  d      }| j                  |||      S )a-  Revert an existing instance's file system to a specified snapshot.

      Args:
        request: (FileProjectsLocationsInstancesRevertRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (Operation) The response message.
      Revertr4   r6   r9   s       r)   r   z/FileV1.ProjectsLocationsInstancesService.Revert  r<   r*   c                  F    t        j                  ddddgdgg ddddd	
      S )NzOv1/projects/{projectsId}/locations/{locationsId}/instances/{instancesId}:revertr?   z(file.projects.locations.instances.revertr[   zv1/{+name}:revertrevertInstanceRequest+FileProjectsLocationsInstancesRevertRequestrE   FrF   rR   rT   r*   r)   rU   z1FileV1.ProjectsLocationsInstancesService.<lambda>'  s4    8#9#9c<xH)-G&$r*   r.   )ry   rz   r{   r|   r}   r   r3   r~   rW   r`   rg   rr   r   r   r   r   r   s   @r)   r   r   S  s    F*E
8F8F8C8D8E8$N 8G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
_         xZS ))FileV1.ProjectsLocationsOperationsServicez=Service class for the projects_locations_operations resource.r!   c                 N    t         t        j                  |   |       i | _        y r.   )r   r   r    r   r/   r0   s     r)   r   z2FileV1.ProjectsLocationsOperationsService.__init__:  s"    F55tEfMdr*   c                 L    | j                  d      }| j                  |||      S )a3  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: (FileProjectsLocationsOperationsCancelRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (Empty) The response message.
      Cancelr4   r6   r9   s       r)   r   z0FileV1.ProjectsLocationsOperationsService.Cancel?  r<   r*   c                  F    t        j                  ddddgdgg ddddd	
      S )NzQv1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}:cancelr?   z)file.projects.locations.operations.cancelr[   zv1/{+name}:cancelcancelOperationRequest,FileProjectsLocationsOperationsCancelRequestEmptyFrF   rR   rT   r*   r)   rU   z2FileV1.ProjectsLocationsOperationsService.<lambda>L  s4    8#9#9e=xH).H"$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: (FileProjectsLocationsOperationsDeleteRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (Empty) The response message.
      rW   r4   r6   r9   s       r)   rW   z0FileV1.ProjectsLocationsOperationsService.DeleteZ  r<   r*   c                  F    t        j                  ddddgdgg ddddd	
      S )NJv1/projects/{projectsId}/locations/{locationsId}/operations/{operationsId}rZ   z)file.projects.locations.operations.deleter[   r\   r]   ,FileProjectsLocationsOperationsDeleteRequestr   FrF   rR   rT   r*   r)   rU   z2FileV1.ProjectsLocationsOperationsService.<lambda>g  s4    8#9#9^=xH"H"$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: (FileProjectsLocationsOperationsGetRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (Operation) The response message.
      r`   r4   r6   r9   s       r)   r`   z-FileV1.ProjectsLocationsOperationsService.Getu  ra   r*   c                  F    t        j                  ddddgdgg ddddd	
      S )Nr   rc   z&file.projects.locations.operations.getr[   r\   r]   )FileProjectsLocationsOperationsGetRequestrE   FrF   rR   rT   r*   r)   rU   z2FileV1.ProjectsLocationsOperationsService.<lambda>  s4     6 6^:xH"E&!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: (FileProjectsLocationsOperationsListRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (ListOperationsResponse) The response message.
      rg   r4   r6   r9   s       r)   rg   z.FileV1.ProjectsLocationsOperationsService.List  rh   r*   c                  J    t        j                  ddddgdgg ddddd	d
      S )Nz;v1/projects/{projectsId}/locations/{locationsId}/operationsrc   z'file.projects.locations.operations.listr[   )rk   rm   rn   zv1/{+name}/operationsr]   *FileProjectsLocationsOperationsListRequestListOperationsResponseFrF   rR   rT   r*   r)   rU   z2FileV1.ProjectsLocationsOperationsService.<lambda>  s4    !7!7O;xH8-F3"r*   r.   )ry   rz   r{   r|   r}   r   r   r~   rW   r`   rg   r   r   s   @r)   r    r   5  sO    G+E
8F8F8C8D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 )	FileV1.ProjectsLocationsServicez2Service class for the projects_locations resource.r#   c                 N    t         t        j                  |   |       i | _        y r.   )r   r   r"   r   r/   r0   s     r)   r   z(FileV1.ProjectsLocationsService.__init__  s"    F++T;FCdr*   c                 L    | j                  d      }| j                  |||      S )a   Gets information about a location.

      Args:
        request: (FileProjectsLocationsGetRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (Location) The response message.
      r`   r4   r6   r9   s       r)   r`   z#FileV1.ProjectsLocationsService.Get  ra   r*   c                  F    t        j                  ddddgdgg ddddd	
      S )Nz0v1/projects/{projectsId}/locations/{locationsId}rc   zfile.projects.locations.getr[   r\   r]   FileProjectsLocationsGetRequestLocationFrF   rR   rT   r*   r)   rU   z(FileV1.ProjectsLocationsService.<lambda>  s4     6 6D/xH";%!r*   c                 L    | j                  d      }| j                  |||      S )a-  Lists information about the supported locations for this service.

      Args:
        request: (FileProjectsLocationsListRequest) input message
        global_params: (StandardQueryParameters, default: None) global arguments
      Returns:
        (ListLocationsResponse) The response message.
      rg   r4   r6   r9   s       r)   rg   z$FileV1.ProjectsLocationsService.List  rh   r*   c                  J    t        j                  ddddgdgg ddddd	d
      S )Nz"v1/projects/{projectsId}/locationsrc   zfile.projects.locations.listr[   )extraLocationTypesrk   rm   rn   zv1/{+name}/locationsr]    FileProjectsLocationsListRequestListLocationsResponseFrF   rR   rT   r*   r)   rU   z(FileV1.ProjectsLocationsService.<lambda>  s4    !7!760xHN,<2"r*   r.   )
ry   rz   r{   r|   r}   r   r`   r~   rg   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 )FileV1.ProjectsServicez(Service class for the projects resource.r%   c                 N    t         t        j                  |   |       i | _        y r.   )r   r   r$   r   r/   r0   s     r)   r   zFileV1.ProjectsService.__init__  s"    F""D26:dr*   )ry   rz   r{   r|   r}   r   r   r   s   @r)   r$   r     s    2E r*   r$   )r]   NTNNFFNNNN)ry   rz   r{   r|   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   s   @r)   r   r   
   s    =/+(5-(=>'(*"."+,()-6:/4<@?C	/,O(?(? ObO83J3J Ob`(*A*A `Dt8+B+B tl>!8!8 >@//  r*   r   N)
r|   
__future__r   apitools.base.pyr   -googlecloudsdk.generated_clients.apis.file.v1r   r   BaseApiClientr   rT   r*   r)   <module>r      s'    3 ' % ViX## ir*   