
    L                    V    S r SSKJr  SSKJr  SSKJr   " S S\R                  5      r	g)z9Generated client library for healthcare version v1alpha2.    )absolute_import)base_api)healthcare_v1alpha2_messagesc                   8  ^  \ rS rSrSr\rSrSrSr	SS/r
SrS	rS
rSrS rSrSr     S1U 4S jjr " S S\R(                  5      r " S S\R(                  5      r " S S\R(                  5      r " S S\R(                  5      r " S S\R(                  5      r " S S\R(                  5      r " S S\R(                  5      r " S S\R(                  5      r " S S\R(                  5      r " S  S!\R(                  5      r " S" S#\R(                  5      r " S$ S%\R(                  5      r  " S& S'\R(                  5      r! " S( S)\R(                  5      r" " S* S+\R(                  5      r# " S, S-\R(                  5      r$ " S. S/\R(                  5      r%S0r&U =r'$ )2HealthcareV1alpha2
   zAGenerated client library for service healthcare version v1alpha2.z"https://healthcare.googleapis.com/z'https://healthcare.mtls.googleapis.com/
healthcarez0https://www.googleapis.com/auth/cloud-healthcarez.https://www.googleapis.com/auth/cloud-platformv1alpha2	CLIENT_IDCLIENT_SECRETzgoogle-cloud-sdkNc                 L  > U=(       d    U R                   n[        [        U ]  XX4UXgUU	U
US9  U R	                  U 5      U l        U R                  U 5      U l        U R                  U 5      U l	        U R                  U 5      U l        U R                  U 5      U l        U R                  U 5      U l        U R!                  U 5      U l        U R%                  U 5      U l        U R)                  U 5      U l        U R-                  U 5      U l        U R1                  U 5      U l        U R5                  U 5      U l        U R9                  U 5      U l        U R=                  U 5      U l        U RA                  U 5      U l!        U RE                  U 5      U l#        U RI                  U 5      U l%        g)zCreate a new healthcare handle.)
credentialsget_credentialshttpmodellog_requestlog_responsecredentials_argsdefault_global_paramsadditional_http_headersresponse_encodingN)&BASE_URLsuperr   __init__AProjectsLocationsDatasetsConsentStoresAttributeDefinitionsService>projects_locations_datasets_consentStores_attributeDefinitions=ProjectsLocationsDatasetsConsentStoresConsentArtifactsService:projects_locations_datasets_consentStores_consentArtifacts5ProjectsLocationsDatasetsConsentStoresConsentsService2projects_locations_datasets_consentStores_consents=ProjectsLocationsDatasetsConsentStoresUserDataMappingsService:projects_locations_datasets_consentStores_userDataMappings-ProjectsLocationsDatasetsConsentStoresService)projects_locations_datasets_consentStores4ProjectsLocationsDatasetsDataMapperWorkspacesService0projects_locations_datasets_dataMapperWorkspaces+ProjectsLocationsDatasetsDicomStoresService'projects_locations_datasets_dicomStores*ProjectsLocationsDatasetsFhirStoresService&projects_locations_datasets_fhirStores3ProjectsLocationsDatasetsHl7V2StoresMessagesService0projects_locations_datasets_hl7V2Stores_messages+ProjectsLocationsDatasetsHl7V2StoresService'projects_locations_datasets_hl7V2Stores*ProjectsLocationsDatasetsOperationsService&projects_locations_datasets_operations ProjectsLocationsDatasetsServiceprojects_locations_datasets*ProjectsLocationsServicesDeidentifyService&projects_locations_services_deidentify#ProjectsLocationsServicesNlpServiceprojects_locations_services_nlp ProjectsLocationsServicesServiceprojects_locations_servicesProjectsLocationsServiceprojects_locationsProjectsServiceprojects)selfurlr   r   r   r   r   r   r   r   r   r   	__class__s               [lib/googlecloudsdk/generated_clients/apis/healthcare/v1alpha2/healthcare_v1alpha2_client.pyr   HealthcareV1alpha2.__init__   s    
C	
d,'%)3 7+ - - KO  KQ  KQ  RV  KWDGFJ  GI  GI  JN  GODC>B>x>xy}>~D;FJ  GI  GI  JN  GODC595g5ghl5mD2<@<u<uvz<{D9373c3cdh3iD0262a2abf2gD/<@<t<tuy<zD9373c3cdh3iD0262a2abf2gD/'+'L'LT'RD$262a2abf2gD/+/+S+STX+YD('+'L'LT'RD$";;DAD((.DM    c                      ^  \ rS rSrSrSrU 4S jrSS jrS \l        SS jr	S \	l        SS	 jr
S
 \
l        SS jrS \l        SS jrS \l        SrU =r$ )THealthcareV1alpha2.ProjectsLocationsDatasetsConsentStoresAttributeDefinitionsService<   z^Service class for the projects_locations_datasets_consentStores_attributeDefinitions resource.r   c                 N   > [         [        R                  U ]  U5        0 U l        g N)r   r   r   r   _upload_configsr=   clientr?   s     r@   r   ]HealthcareV1alpha2.ProjectsLocationsDatasetsConsentStoresAttributeDefinitionsService.__init__A   s%    ``bfpqwxdrB   c                 D    U R                  S5      nU R                  X1US9$ )a6  Creates a new Attribute definition in the parent consent store.

Args:
  request: (HealthcareProjectsLocationsDatasetsConsentStoresAttributeDefinitionsCreateRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (AttributeDefinition) The response message.
Createglobal_paramsGetMethodConfig
_RunMethodr=   requestrO   configs       r@   rM   [HealthcareV1alpha2.ProjectsLocationsDatasetsConsentStoresAttributeDefinitionsService.CreateF   /     ##H-f__
  8 8rB   c                  D    [         R                  " SSSS/S/S/SSSS	S
S9$ )Nv1alpha2/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/consentStores/{consentStoresId}/attributeDefinitionsPOSTzPhealthcare.projects.locations.datasets.consentStores.attributeDefinitions.createparentattributeDefinitionId'v1alpha2/{+parent}/attributeDefinitionsattributeDefinitionQHealthcareProjectsLocationsDatasetsConsentStoresAttributeDefinitionsCreateRequestAttributeDefinitionF	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 rB   r@   <lambda>]HealthcareV1alpha2.ProjectsLocationsDatasetsConsentStoresAttributeDefinitionsService.<lambda>S   s:    8#9#9 Vd zJ-.?+m0$rB   c                 D    U R                  S5      nU R                  X1US9$ )a  Deletes the specified Attribute definition. Fails if the Attribute definition is referenced by any User data mapping, the latest revision of any Consent, or the latest approved revision of any Consent content.

Args:
  request: (HealthcareProjectsLocationsDatasetsConsentStoresAttributeDefinitionsDeleteRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (Empty) The response message.
DeleterN   rP   rS   s       r@   rs   [HealthcareV1alpha2.ProjectsLocationsDatasetsConsentStoresAttributeDefinitionsService.Deletea   rW   rB   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )Nv1alpha2/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/consentStores/{consentStoresId}/attributeDefinitions/{attributeDefinitionsId}DELETEzPhealthcare.projects.locations.datasets.consentStores.attributeDefinitions.deletenamev1alpha2/{+name} QHealthcareProjectsLocationsDatasetsConsentStoresAttributeDefinitionsDeleteRequestEmptyFra   rm   ro   rB   r@   rp   rq   n   s7    8#9#9 odxH(m"$rB   c                 D    U R                  S5      nU R                  X1US9$ )a  Gets the specified Attribute definition.

Args:
  request: (HealthcareProjectsLocationsDatasetsConsentStoresAttributeDefinitionsGetRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (AttributeDefinition) The response message.
GetrN   rP   rS   s       r@   r~   XHealthcareV1alpha2.ProjectsLocationsDatasetsConsentStoresAttributeDefinitionsService.Get|   /     ##E*f__
  8 8rB   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )Nrv   GETzMhealthcare.projects.locations.datasets.consentStores.attributeDefinitions.getrx   ry   rz   NHealthcareProjectsLocationsDatasetsConsentStoresAttributeDefinitionsGetRequestr`   Fra   rm   ro   rB   r@   rp   rq      s7     6 6 oaxH(j0!rB   c                 D    U R                  S5      nU R                  X1US9$ )aA  Lists the Attribute definitions in the specified consent store.

Args:
  request: (HealthcareProjectsLocationsDatasetsConsentStoresAttributeDefinitionsListRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (ListAttributeDefinitionsResponse) The response message.
ListrN   rP   rS   s       r@   r   YHealthcareV1alpha2.ProjectsLocationsDatasetsConsentStoresAttributeDefinitionsService.List   /     ##F+f__
  8 8rB   c                  F    [         R                  " SSSS/S// SQSSSS	S
S9$ )NrY   r   zNhealthcare.projects.locations.datasets.consentStores.attributeDefinitions.listr[   filterpageSize	pageTokenr]   rz   OHealthcareProjectsLocationsDatasetsConsentStoresAttributeDefinitionsListRequest ListAttributeDefinitionsResponseFra   rm   ro   rB   r@   rp   rq      s7    !7!7 Vb zJ8?k="rB   c                 D    U R                  S5      nU R                  X1US9$ )a!  Updates the specified Attribute definition.

Args:
  request: (HealthcareProjectsLocationsDatasetsConsentStoresAttributeDefinitionsPatchRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (AttributeDefinition) The response message.
PatchrN   rP   rS   s       r@   r   ZHealthcareV1alpha2.ProjectsLocationsDatasetsConsentStoresAttributeDefinitionsService.Patch   /     ##G,f__
  8 8rB   c                  D    [         R                  " SSSS/S/S/SSSS	S
S9$ )Nrv   PATCHzOhealthcare.projects.locations.datasets.consentStores.attributeDefinitions.patchrx   
updateMaskry   r^   PHealthcareProjectsLocationsDatasetsConsentStoresAttributeDefinitionsPatchRequestr`   Fra   rm   ro   rB   r@   rp   rq      s9    ("8"8 ocxH"^(+l0#rB   rH   rG   )__name__
__module____qualname____firstlineno____doc___NAMEr   rM   method_configrs   r~   r   r   __static_attributes____classcell__r?   s   @r@   r   rD   <   s^    hLE
8F8F8C8D8ErB   r   c                      ^  \ rS rSrSrSrU 4S jrSS jrS \l        SS jr	S \	l        SS	 jr
S
 \
l        SS jrS \l        SrU =r$ )PHealthcareV1alpha2.ProjectsLocationsDatasetsConsentStoresConsentArtifactsService   zZService class for the projects_locations_datasets_consentStores_consentArtifacts resource.r   c                 N   > [         [        R                  U ]  U5        0 U l        g rG   )r   r   r   r   rH   rI   s     r@   r   YHealthcareV1alpha2.ProjectsLocationsDatasetsConsentStoresConsentArtifactsService.__init__   %    \\^blmstdrB   c                 D    U R                  S5      nU R                  X1US9$ )a*  Creates a new Consent artifact in the parent consent store.

Args:
  request: (HealthcareProjectsLocationsDatasetsConsentStoresConsentArtifactsCreateRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (ConsentArtifact) The response message.
rM   rN   rP   rS   s       r@   rM   WHealthcareV1alpha2.ProjectsLocationsDatasetsConsentStoresConsentArtifactsService.Create   rW   rB   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )N}v1alpha2/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/consentStores/{consentStoresId}/consentArtifactsrZ   zLhealthcare.projects.locations.datasets.consentStores.consentArtifacts.creater[   #v1alpha2/{+parent}/consentArtifactsconsentArtifactMHealthcareProjectsLocationsDatasetsConsentStoresConsentArtifactsCreateRequestConsentArtifactFra   rm   ro   rB   r@   rp   YHealthcareV1alpha2.ProjectsLocationsDatasetsConsentStoresConsentArtifactsService.<lambda>   7    8#9#9 R` zJ;'i,$rB   c                 D    U R                  S5      nU R                  X1US9$ )aW  Deletes the specified Consent artifact. Fails if the artifact is referenced by the latest revision of any Consent.

Args:
  request: (HealthcareProjectsLocationsDatasetsConsentStoresConsentArtifactsDeleteRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (Empty) The response message.
rs   rN   rP   rS   s       r@   rs   WHealthcareV1alpha2.ProjectsLocationsDatasetsConsentStoresConsentArtifactsService.Delete   rW   rB   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )Nv1alpha2/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/consentStores/{consentStoresId}/consentArtifacts/{consentArtifactsId}rw   zLhealthcare.projects.locations.datasets.consentStores.consentArtifacts.deleterx   ry   rz   MHealthcareProjectsLocationsDatasetsConsentStoresConsentArtifactsDeleteRequestr|   Fra   rm   ro   rB   r@   rp   r      7    8#9#9 g`xH(i"$rB   c                 D    U R                  S5      nU R                  X1US9$ )a  Gets the specified Consent artifact.

Args:
  request: (HealthcareProjectsLocationsDatasetsConsentStoresConsentArtifactsGetRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (ConsentArtifact) The response message.
r~   rN   rP   rS   s       r@   r~   THealthcareV1alpha2.ProjectsLocationsDatasetsConsentStoresConsentArtifactsService.Get  r   rB   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )Nr   r   zIhealthcare.projects.locations.datasets.consentStores.consentArtifacts.getrx   ry   rz   JHealthcareProjectsLocationsDatasetsConsentStoresConsentArtifactsGetRequestr   Fra   rm   ro   rB   r@   rp   r     7     6 6 g]xH(f,!rB   c                 D    U R                  S5      nU R                  X1US9$ )a5  Lists the Consent artifacts in the specified consent store.

Args:
  request: (HealthcareProjectsLocationsDatasetsConsentStoresConsentArtifactsListRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (ListConsentArtifactsResponse) The response message.
r   rN   rP   rS   s       r@   r   UHealthcareV1alpha2.ProjectsLocationsDatasetsConsentStoresConsentArtifactsService.List(  r   rB   c                  F    [         R                  " SSSS/S// SQSSSS	S
S9$ )Nr   r   zJhealthcare.projects.locations.datasets.consentStores.consentArtifacts.listr[   r   r   rz   KHealthcareProjectsLocationsDatasetsConsentStoresConsentArtifactsListRequestListConsentArtifactsResponseFra   rm   ro   rB   r@   rp   r   5  7    !7!7 R^ zJ8;g9"rB   r   rG   )r   r   r   r   r   r   r   rM   r   rs   r~   r   r   r   r   s   @r@   r   r      sO    dHE
8F8F8C8DrB   r   c                      ^  \ rS rSrSrSrU 4S jrSS jrS \l        SS jr	S \	l        SS	 jr
S
 \
l        SS jrS \l        SS jrS \l        SS jrS \l        SrU =r$ )HHealthcareV1alpha2.ProjectsLocationsDatasetsConsentStoresConsentsServiceiC  zRService class for the projects_locations_datasets_consentStores_consents resource.r    c                 N   > [         [        R                  U ]  U5        0 U l        g rG   )r   r   r   r   rH   rI   s     r@   r   QHealthcareV1alpha2.ProjectsLocationsDatasetsConsentStoresConsentsService.__init__H  s%    TTVZdekldrB   c                 D    U R                  S5      nU R                  X1US9$ )a  Creates a new Consent in the parent consent store.

Args:
  request: (HealthcareProjectsLocationsDatasetsConsentStoresConsentsCreateRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (Consent) The response message.
rM   rN   rP   rS   s       r@   rM   OHealthcareV1alpha2.ProjectsLocationsDatasetsConsentStoresConsentsService.CreateM  rW   rB   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )Nuv1alpha2/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/consentStores/{consentStoresId}/consentsrZ   zDhealthcare.projects.locations.datasets.consentStores.consents.creater[   v1alpha2/{+parent}/consentsconsentEHealthcareProjectsLocationsDatasetsConsentStoresConsentsCreateRequestConsentFra   rm   ro   rB   r@   rp   QHealthcareV1alpha2.ProjectsLocationsDatasetsConsentStoresConsentsService.<lambda>Z  s7    8#9#9 JX zJ3a$$rB   c                 D    U R                  S5      nU R                  X1US9$ )a  Deletes the Consent and its revisions. To keep a record of the Consent but mark it inactive, see [RevokeConsent]. To delete a revision of a Consent, see [DeleteConsentRevision]. This operation does not delete the related Consent artifact.

Args:
  request: (HealthcareProjectsLocationsDatasetsConsentStoresConsentsDeleteRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (Empty) The response message.
rs   rN   rP   rS   s       r@   rs   OHealthcareV1alpha2.ProjectsLocationsDatasetsConsentStoresConsentsService.Deleteh  rW   rB   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )Nv1alpha2/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/consentStores/{consentStoresId}/consents/{consentsId}rw   zDhealthcare.projects.locations.datasets.consentStores.consents.deleterx   ry   rz   EHealthcareProjectsLocationsDatasetsConsentStoresConsentsDeleteRequestr|   Fra   rm   ro   rB   r@   rp   r   u  s7    8#9#9 WXxH(a"$rB   c                 D    U R                  S5      nU R                  X1US9$ )aT  Gets the specified revision of a Consent, or the latest revision if `revision_id` is not specified in the resource name.

Args:
  request: (HealthcareProjectsLocationsDatasetsConsentStoresConsentsGetRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (Consent) The response message.
r~   rN   rP   rS   s       r@   r~   LHealthcareV1alpha2.ProjectsLocationsDatasetsConsentStoresConsentsService.Get  r   rB   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )Nr   r   zAhealthcare.projects.locations.datasets.consentStores.consents.getrx   ry   rz   BHealthcareProjectsLocationsDatasetsConsentStoresConsentsGetRequestr   Fra   rm   ro   rB   r@   rp   r     s7     6 6 WUxH(^$!rB   c                 D    U R                  S5      nU R                  X1US9$ )aA  Lists the Consent in the given consent store, returning each Consent's latest revision.

Args:
  request: (HealthcareProjectsLocationsDatasetsConsentStoresConsentsListRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (ListConsentsResponse) The response message.
r   rN   rP   rS   s       r@   r   MHealthcareV1alpha2.ProjectsLocationsDatasetsConsentStoresConsentsService.List  r   rB   c                  F    [         R                  " SSSS/S// SQSSSS	S
S9$ )Nr   r   zBhealthcare.projects.locations.datasets.consentStores.consents.listr[   r   r   rz   CHealthcareProjectsLocationsDatasetsConsentStoresConsentsListRequestListConsentsResponseFra   rm   ro   rB   r@   rp   r     s7    !7!7 JV zJ83_1"rB   c                 D    U R                  S5      nU R                  X1US9$ )a  Updates the latest revision of the specified Consent by committing a new revision with the changes. A FAILED_PRECONDITION error occurs if the latest revision of the specified Consent is in the `REJECTED` or `REVOKED` state.

Args:
  request: (HealthcareProjectsLocationsDatasetsConsentStoresConsentsPatchRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (Consent) The response message.
r   rN   rP   rS   s       r@   r   NHealthcareV1alpha2.ProjectsLocationsDatasetsConsentStoresConsentsService.Patch  r   rB   c                  D    [         R                  " SSSS/S/S/SSSS	S
S9$ )Nr   r   zChealthcare.projects.locations.datasets.consentStores.consents.patchrx   r   ry   r   DHealthcareProjectsLocationsDatasetsConsentStoresConsentsPatchRequestr   Fra   rm   ro   rB   r@   rp   r     s9    ("8"8 WWxH"^(`$#rB   c                 D    U R                  S5      nU R                  X1US9$ )a.  Revokes the latest revision of the specified Consent by committing a new revision with `state` updated to `REVOKED`. If the latest revision of the specified Consent is in the `REVOKED` state, no new revision is committed. A FAILED_PRECONDITION error occurs if the latest revision of the given consent is in `DRAFT` or `REJECTED` state.

Args:
  request: (HealthcareProjectsLocationsDatasetsConsentStoresConsentsRevokeRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (Consent) The response message.
RevokerN   rP   rS   s       r@   r   OHealthcareV1alpha2.ProjectsLocationsDatasetsConsentStoresConsentsService.Revoke  rW   rB   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )Nzv1alpha2/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/consentStores/{consentStoresId}/consents/{consentsId}:revokerZ   zDhealthcare.projects.locations.datasets.consentStores.consents.revokerx   zv1alpha2/{+name}:revokerevokeConsentRequestEHealthcareProjectsLocationsDatasetsConsentStoresConsentsRevokeRequestr   Fra   rm   ro   rB   r@   rp   r     s7    8#9#9 ^XxH/,a$$rB   r   rG   )r   r   r   r   r   r   r   rM   r   rs   r~   r   r   r   r   r   r   s   @r@   r   r   C  sm    \@E
8F8F8C8D8E8FrB   r   c                      ^  \ rS rSrSrSrU 4S jrSS jrS \l        SS jr	S \	l        SS	 jr
S
 \
l        SS jrS \l        SS jrS \l        SS jrS \l        SrU =r$ )PHealthcareV1alpha2.ProjectsLocationsDatasetsConsentStoresUserDataMappingsServicei  zZService class for the projects_locations_datasets_consentStores_userDataMappings resource.r"   c                 N   > [         [        R                  U ]  U5        0 U l        g rG   )r   r   r!   r   rH   rI   s     r@   r   YHealthcareV1alpha2.ProjectsLocationsDatasetsConsentStoresUserDataMappingsService.__init__  r   rB   c                 D    U R                  S5      nU R                  X1US9$ )a(  Archives the specified User data mapping.

Args:
  request: (HealthcareProjectsLocationsDatasetsConsentStoresUserDataMappingsArchiveRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (ArchiveUserDataMappingResponse) The response message.
ArchiverN   rP   rS   s       r@   r   XHealthcareV1alpha2.ProjectsLocationsDatasetsConsentStoresUserDataMappingsService.Archive  s/     ##I.f__
  8 8rB   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )Nzv1alpha2/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/consentStores/{consentStoresId}/userDataMappings/{userDataMappingsId}:archiverZ   zMhealthcare.projects.locations.datasets.consentStores.userDataMappings.archiverx   zv1alpha2/{+name}:archivearchiveUserDataMappingRequestNHealthcareProjectsLocationsDatasetsConsentStoresUserDataMappingsArchiveRequestArchiveUserDataMappingResponseFra   rm   ro   rB   r@   rp   YHealthcareV1alpha2.ProjectsLocationsDatasetsConsentStoresUserDataMappingsService.<lambda>  s7    H$:$: oaxH05j;%rB   c                 D    U R                  S5      nU R                  X1US9$ )a+  Creates a new User data mapping in the parent consent store.

Args:
  request: (HealthcareProjectsLocationsDatasetsConsentStoresUserDataMappingsCreateRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (UserDataMapping) The response message.
rM   rN   rP   rS   s       r@   rM   WHealthcareV1alpha2.ProjectsLocationsDatasetsConsentStoresUserDataMappingsService.Create  rW   rB   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )N}v1alpha2/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/consentStores/{consentStoresId}/userDataMappingsrZ   zLhealthcare.projects.locations.datasets.consentStores.userDataMappings.creater[   #v1alpha2/{+parent}/userDataMappingsuserDataMappingMHealthcareProjectsLocationsDatasetsConsentStoresUserDataMappingsCreateRequestUserDataMappingFra   rm   ro   rB   r@   rp   r   !  r   rB   c                 D    U R                  S5      nU R                  X1US9$ )a  Deletes the specified User data mapping.

Args:
  request: (HealthcareProjectsLocationsDatasetsConsentStoresUserDataMappingsDeleteRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (Empty) The response message.
rs   rN   rP   rS   s       r@   rs   WHealthcareV1alpha2.ProjectsLocationsDatasetsConsentStoresUserDataMappingsService.Delete/  rW   rB   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )Nv1alpha2/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/consentStores/{consentStoresId}/userDataMappings/{userDataMappingsId}rw   zLhealthcare.projects.locations.datasets.consentStores.userDataMappings.deleterx   ry   rz   MHealthcareProjectsLocationsDatasetsConsentStoresUserDataMappingsDeleteRequestr|   Fra   rm   ro   rB   r@   rp   r   <  r   rB   c                 D    U R                  S5      nU R                  X1US9$ )a  Gets the specified User data mapping.

Args:
  request: (HealthcareProjectsLocationsDatasetsConsentStoresUserDataMappingsGetRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (UserDataMapping) The response message.
r~   rN   rP   rS   s       r@   r~   THealthcareV1alpha2.ProjectsLocationsDatasetsConsentStoresUserDataMappingsService.GetJ  r   rB   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )Nr   r   zIhealthcare.projects.locations.datasets.consentStores.userDataMappings.getrx   ry   rz   JHealthcareProjectsLocationsDatasetsConsentStoresUserDataMappingsGetRequestr   Fra   rm   ro   rB   r@   rp   r   W  r   rB   c                 D    U R                  S5      nU R                  X1US9$ )a6  Lists the User data mappings in the specified consent store.

Args:
  request: (HealthcareProjectsLocationsDatasetsConsentStoresUserDataMappingsListRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (ListUserDataMappingsResponse) The response message.
r   rN   rP   rS   s       r@   r   UHealthcareV1alpha2.ProjectsLocationsDatasetsConsentStoresUserDataMappingsService.Liste  r   rB   c                  F    [         R                  " SSSS/S// SQSSSS	S
S9$ )Nr   r   zJhealthcare.projects.locations.datasets.consentStores.userDataMappings.listr[   r   r   rz   KHealthcareProjectsLocationsDatasetsConsentStoresUserDataMappingsListRequestListUserDataMappingsResponseFra   rm   ro   rB   r@   rp   r   r  r   rB   c                 D    U R                  S5      nU R                  X1US9$ )a  Updates the specified User data mapping.

Args:
  request: (HealthcareProjectsLocationsDatasetsConsentStoresUserDataMappingsPatchRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (UserDataMapping) The response message.
r   rN   rP   rS   s       r@   r   VHealthcareV1alpha2.ProjectsLocationsDatasetsConsentStoresUserDataMappingsService.Patch  r   rB   c                  D    [         R                  " SSSS/S/S/SSSS	S
S9$ )Nr   r   zKhealthcare.projects.locations.datasets.consentStores.userDataMappings.patchrx   r   ry   r   LHealthcareProjectsLocationsDatasetsConsentStoresUserDataMappingsPatchRequestr   Fra   rm   ro   rB   r@   rp   r     s9    ("8"8 g_xH"^('h,#rB   r   rG   )r   r   r   r   r   r   r   r   r   rM   rs   r~   r   r   r   r   r   s   @r@   r!   r     sm    dHE
8G8F8F8C8D8ErB   r!   c                   N  ^  \ rS rSrSrSrU 4S jrSS jrS \l        SS jr	S \	l        SS	 jr
S
 \
l        SS jrS \l        SS jrS \l        SS jrS \l        SS jrS \l        SS jrS \l        SS jrS \l        SS jrS \l        SS jrS \l        SrU =r$ )@HealthcareV1alpha2.ProjectsLocationsDatasetsConsentStoresServicei  zIService class for the projects_locations_datasets_consentStores resource.r$   c                 N   > [         [        R                  U ]  U5        0 U l        g rG   )r   r   r#   r   rH   rI   s     r@   r   IHealthcareV1alpha2.ProjectsLocationsDatasetsConsentStoresService.__init__  s$    LLd\]cddrB   c                 D    U R                  S5      nU R                  X1US9$ )ah  Checks if a particular data_id of a User data mapping in the specified consent store is consented for the specified use.

Args:
  request: (HealthcareProjectsLocationsDatasetsConsentStoresCheckDataAccessRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (CheckDataAccessResponse) The response message.
CheckDataAccessrN   rP   rS   s       r@   r  PHealthcareV1alpha2.ProjectsLocationsDatasetsConsentStoresService.CheckDataAccess  0     ##$56f__
  8 8rB   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )Nz|v1alpha2/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/consentStores/{consentStoresId}:checkDataAccessrZ   zDhealthcare.projects.locations.datasets.consentStores.checkDataAccessconsentStorez(v1alpha2/{+consentStore}:checkDataAccesscheckDataAccessRequestFHealthcareProjectsLocationsDatasetsConsentStoresCheckDataAccessRequestCheckDataAccessResponseFra   rm   ro   rB   r@   rp   IHealthcareV1alpha2.ProjectsLocationsDatasetsConsentStoresService.<lambda>  s9    H,B,B QX&'#$@.b4-rB   c                 D    U R                  S5      nU R                  X1US9$ )a}  Creates a new consent store in the parent dataset. Attempting to create a consent store with the same ID as an existing store fails with an ALREADY_EXISTS error.

Args:
  request: (HealthcareProjectsLocationsDatasetsConsentStoresCreateRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (ConsentStore) The response message.
rM   rN   rP   rS   s       r@   rM   GHealthcareV1alpha2.ProjectsLocationsDatasetsConsentStoresService.Create  rW   rB   c                  D    [         R                  " SSSS/S/S/SSSS	S
S9$ )NZv1alpha2/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/consentStoresrZ   z;healthcare.projects.locations.datasets.consentStores.creater[   consentStoreId v1alpha2/{+parent}/consentStoresr  =HealthcareProjectsLocationsDatasetsConsentStoresCreateRequestConsentStoreFra   rm   ro   rB   r@   rp   r    s7    8#9#9nO zJ&'8$Y)$rB   c                 D    U R                  S5      nU R                  X1US9$ )a"  Deletes the specified consent store and removes all the consent store's data.

Args:
  request: (HealthcareProjectsLocationsDatasetsConsentStoresDeleteRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (Empty) The response message.
rs   rN   rP   rS   s       r@   rs   GHealthcareV1alpha2.ProjectsLocationsDatasetsConsentStoresService.Delete  rW   rB   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )Nlv1alpha2/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/consentStores/{consentStoresId}rw   z;healthcare.projects.locations.datasets.consentStores.deleterx   ry   rz   =HealthcareProjectsLocationsDatasetsConsentStoresDeleteRequestr|   Fra   rm   ro   rB   r@   rp   r    s7    8#9#9 AOxH(Y"$rB   c                 D    U R                  S5      nU R                  X1US9$ )a  Evaluates the end user's Consents for all matching User data mappings. Note: User data mappings are indexed asynchronously, which can cause a slight delay between the time mappings are created or updated and when they are included in EvaluateUserConsents results.

Args:
  request: (HealthcareProjectsLocationsDatasetsConsentStoresEvaluateUserConsentsRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (EvaluateUserConsentsResponse) The response message.
EvaluateUserConsentsrN   rP   rS   s       r@   r*  UHealthcareV1alpha2.ProjectsLocationsDatasetsConsentStoresService.EvaluateUserConsents  0     ##$:;f__
  8 8rB   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )Nzv1alpha2/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/consentStores/{consentStoresId}:evaluateUserConsentsrZ   zIhealthcare.projects.locations.datasets.consentStores.evaluateUserConsentsr  z-v1alpha2/{+consentStore}:evaluateUserConsentsevaluateUserConsentsRequestKHealthcareProjectsLocationsDatasetsConsentStoresEvaluateUserConsentsRequestEvaluateUserConsentsResponseFra   rm   ro   rB   r@   rp   r    s9    1G1G V]&'#$E3g92rB   c                 D    U R                  S5      nU R                  X1US9$ )zGets the specified consent store.

Args:
  request: (HealthcareProjectsLocationsDatasetsConsentStoresGetRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (ConsentStore) The response message.
r~   rN   rP   rS   s       r@   r~   DHealthcareV1alpha2.ProjectsLocationsDatasetsConsentStoresService.Get  r   rB   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )Nr'  r   z8healthcare.projects.locations.datasets.consentStores.getrx   ry   rz   :HealthcareProjectsLocationsDatasetsConsentStoresGetRequestr#  Fra   rm   ro   rB   r@   rp   r    s7     6 6 ALxH(V)!rB   c                 D    U R                  S5      nU R                  X1US9$ )aY  Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.

Args:
  request: (HealthcareProjectsLocationsDatasetsConsentStoresGetIamPolicyRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (Policy) The response message.
GetIamPolicyrN   rP   rS   s       r@   r6  MHealthcareV1alpha2.ProjectsLocationsDatasetsConsentStoresService.GetIamPolicy,  /     ##N3f__
  8 8rB   c                  D    [         R                  " SSSS/S/S/SSSS	S
S9$ )Nzyv1alpha2/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/consentStores/{consentStoresId}:getIamPolicyr   zAhealthcare.projects.locations.datasets.consentStores.getIamPolicyresourceoptions_requestedPolicyVersion!v1alpha2/{+resource}:getIamPolicyrz   CHealthcareProjectsLocationsDatasetsConsentStoresGetIamPolicyRequestPolicyFra   rm   ro   rB   r@   rp   r  9  s:    )?)? NU"|L679_#*rB   c                 D    U R                  S5      nU R                  X1US9$ )a  Lists the consent stores in the given dataset.

Args:
  request: (HealthcareProjectsLocationsDatasetsConsentStoresListRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (ListConsentStoresResponse) The response message.
r   rN   rP   rS   s       r@   r   EHealthcareV1alpha2.ProjectsLocationsDatasetsConsentStoresService.ListG  r   rB   c                  F    [         R                  " SSSS/S// SQSSSS	S
S9$ )Nr  r   z9healthcare.projects.locations.datasets.consentStores.listr[   r   r!  rz   ;HealthcareProjectsLocationsDatasetsConsentStoresListRequestListConsentStoresResponseFra   rm   ro   rB   r@   rp   r  T  s4    !7!7nM zJ88W6"rB   c                 D    U R                  S5      nU R                  X1US9$ )zUpdates the specified consent store.

Args:
  request: (HealthcareProjectsLocationsDatasetsConsentStoresPatchRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (ConsentStore) The response message.
r   rN   rP   rS   s       r@   r   FHealthcareV1alpha2.ProjectsLocationsDatasetsConsentStoresService.Patchb  r   rB   c                  D    [         R                  " SSSS/S/S/SSSS	S
S9$ )Nr'  r   z:healthcare.projects.locations.datasets.consentStores.patchrx   r   ry   r  <HealthcareProjectsLocationsDatasetsConsentStoresPatchRequestr#  Fra   rm   ro   rB   r@   rp   r  o  s9    ("8"8 ANxH"^($X)#rB   c                 D    U R                  S5      nU R                  X1US9$ )aj  Queries all data_ids that are consented for a specified use in the given consent store and writes them to a specified destination. The returned Operation includes a progress counter for the number of User data mappings processed. If the request is successful, a detailed response is returned of type QueryAccessibleDataResponse, contained in the response field when the operation finishes. The metadata field type is OperationMetadata. Errors are logged to Cloud Logging (see [Viewing error logs in Cloud Logging](https://cloud.google.com/healthcare/docs/how-tos/logging)). For example, the following sample log entry shows a `failed to evaluate consent policy` error that occurred during a QueryAccessibleData call to consent store `projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/consentStores/{consent_store_id}`. ```json jsonPayload: { @type: "type.googleapis.com/google.cloud.healthcare.logging.QueryAccessibleDataLogEntry" error: { code: 9 message: "failed to evaluate consent policy" } resourceName: "projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/consentStores/{consent_store_id}/consents/{consent_id}" } logName: "projects/{project_id}/logs/healthcare.googleapis.com%2Fquery_accessible_data" operation: { id: "projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/operations/{operation_id}" producer: "healthcare.googleapis.com/QueryAccessibleData" } receiveTimestamp: "TIMESTAMP" resource: { labels: { consent_store_id: "{consent_store_id}" dataset_id: "{dataset_id}" location: "{location_id}" project_id: "{project_id}" } type: "healthcare_consent_store" } severity: "ERROR" timestamp: "TIMESTAMP" ```.

Args:
  request: (HealthcareProjectsLocationsDatasetsConsentStoresQueryAccessibleDataRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (Operation) The response message.
QueryAccessibleDatarN   rP   rS   s       r@   rI  THealthcareV1alpha2.ProjectsLocationsDatasetsConsentStoresService.QueryAccessibleData}  0     ##$9:f__
  8 8rB   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )Nzv1alpha2/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/consentStores/{consentStoresId}:queryAccessibleDatarZ   zHhealthcare.projects.locations.datasets.consentStores.queryAccessibleDatar  z,v1alpha2/{+consentStore}:queryAccessibleDataqueryAccessibleDataRequestJHealthcareProjectsLocationsDatasetsConsentStoresQueryAccessibleDataRequest	OperationFra   rm   ro   rB   r@   rp   r    s9    0F0F U\&'#$D2f&1rB   c                 D    U R                  S5      nU R                  X1US9$ )a  Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.

Args:
  request: (HealthcareProjectsLocationsDatasetsConsentStoresSetIamPolicyRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (Policy) The response message.
SetIamPolicyrN   rP   rS   s       r@   rQ  MHealthcareV1alpha2.ProjectsLocationsDatasetsConsentStoresService.SetIamPolicy  r8  rB   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )Nzyv1alpha2/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/consentStores/{consentStoresId}:setIamPolicyrZ   zAhealthcare.projects.locations.datasets.consentStores.setIamPolicyr:  !v1alpha2/{+resource}:setIamPolicysetIamPolicyRequestCHealthcareProjectsLocationsDatasetsConsentStoresSetIamPolicyRequestr>  Fra   rm   ro   rB   r@   rp   r    s7    )?)? NU"|L9+_#*rB   c                 D    U R                  S5      nU R                  X1US9$ )aS  Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may "fail open" without warning.

Args:
  request: (HealthcareProjectsLocationsDatasetsConsentStoresTestIamPermissionsRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (TestIamPermissionsResponse) The response message.
TestIamPermissionsrN   rP   rS   s       r@   rX  SHealthcareV1alpha2.ProjectsLocationsDatasetsConsentStoresService.TestIamPermissions  0     ##$89f__
  8 8rB   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )Nzv1alpha2/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/consentStores/{consentStoresId}:testIamPermissionsrZ   zGhealthcare.projects.locations.datasets.consentStores.testIamPermissionsr:  'v1alpha2/{+resource}:testIamPermissionstestIamPermissionsRequestIHealthcareProjectsLocationsDatasetsConsentStoresTestIamPermissionsRequestTestIamPermissionsResponseFra   rm   ro   rB   r@   rp   r    s7    x/E/E T["|L?1e70rB   r   rG   )r   r   r   r   r   r   r   r  r   rM   rs   r*  r~   r6  r   r   rI  rQ  rX  r   r   r   s   @r@   r#   r    s    S7E
8%O!8F8F8*&8C8"L8D8E8)%8"L8($$rB   r#   c                   ~   ^  \ rS rSrSrSrU 4S jrSS jrS \l        SS jr	S \	l        SS	 jr
S
 \
l        SrU =r$ )GHealthcareV1alpha2.ProjectsLocationsDatasetsDataMapperWorkspacesServicei  zPService class for the projects_locations_datasets_dataMapperWorkspaces resource.r&   c                 N   > [         [        R                  U ]  U5        0 U l        g rG   )r   r   r%   r   rH   rI   s     r@   r   PHealthcareV1alpha2.ProjectsLocationsDatasetsDataMapperWorkspacesService.__init__  s%    SSUYcdjkdrB   c                 D    U R                  S5      nU R                  X1US9$ )a`  Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.

Args:
  request: (HealthcareProjectsLocationsDatasetsDataMapperWorkspacesGetIamPolicyRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (Policy) The response message.
r6  rN   rP   rS   s       r@   r6  THealthcareV1alpha2.ProjectsLocationsDatasetsDataMapperWorkspacesService.GetIamPolicy  r8  rB   c                  D    [         R                  " SSSS/S/S/SSSS	S
S9$ )Nzv1alpha2/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/dataMapperWorkspaces/{dataMapperWorkspacesId}:getIamPolicyr   zHhealthcare.projects.locations.datasets.dataMapperWorkspaces.getIamPolicyr:  r;  r<  rz   JHealthcareProjectsLocationsDatasetsDataMapperWorkspacesGetIamPolicyRequestr>  Fra   rm   ro   rB   r@   rp   PHealthcareV1alpha2.ProjectsLocationsDatasetsDataMapperWorkspacesService.<lambda>  s:    )?)? \\"|L679f#*rB   c                 D    U R                  S5      nU R                  X1US9$ )a  Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.

Args:
  request: (HealthcareProjectsLocationsDatasetsDataMapperWorkspacesSetIamPolicyRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (Policy) The response message.
rQ  rN   rP   rS   s       r@   rQ  THealthcareV1alpha2.ProjectsLocationsDatasetsDataMapperWorkspacesService.SetIamPolicy  r8  rB   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )Nzv1alpha2/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/dataMapperWorkspaces/{dataMapperWorkspacesId}:setIamPolicyrZ   zHhealthcare.projects.locations.datasets.dataMapperWorkspaces.setIamPolicyr:  rT  rU  JHealthcareProjectsLocationsDatasetsDataMapperWorkspacesSetIamPolicyRequestr>  Fra   rm   ro   rB   r@   rp   rh     s7    )?)? \\"|L9+f#*rB   c                 D    U R                  S5      nU R                  X1US9$ )aZ  Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may "fail open" without warning.

Args:
  request: (HealthcareProjectsLocationsDatasetsDataMapperWorkspacesTestIamPermissionsRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (TestIamPermissionsResponse) The response message.
rX  rN   rP   rS   s       r@   rX  ZHealthcareV1alpha2.ProjectsLocationsDatasetsDataMapperWorkspacesService.TestIamPermissions  rZ  rB   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )Nzv1alpha2/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/dataMapperWorkspaces/{dataMapperWorkspacesId}:testIamPermissionsrZ   zNhealthcare.projects.locations.datasets.dataMapperWorkspaces.testIamPermissionsr:  r\  r]  PHealthcareProjectsLocationsDatasetsDataMapperWorkspacesTestIamPermissionsRequestr_  Fra   rm   ro   rB   r@   rp   rh    s7    x/E/E bb"|L?1l70rB   r   rG   )r   r   r   r   r   r   r   r6  r   rQ  rX  r   r   r   s   @r@   r%   ra    sA    Z>E
8"L8"L8($$rB   r%   c                   h  ^  \ rS rSrSrSrU 4S jrSS jrS \l        SS jr	S \	l        SS	 jr
S
 \
l        SS jrS \l        SS jrS \l        SS jrS \l        SS jrS \l        SS jrS \l        SS jrS \l        SS jrS \l        SS jrS \l        SS jrS \l        SrU =r$ )>HealthcareV1alpha2.ProjectsLocationsDatasetsDicomStoresServicei)  zGService class for the projects_locations_datasets_dicomStores resource.r(   c                 N   > [         [        R                  U ]  U5        0 U l        g rG   )r   r   r'   r   rH   rI   s     r@   r   GHealthcareV1alpha2.ProjectsLocationsDatasetsDicomStoresService.__init__.  $    JJDZ[abdrB   c                 D    U R                  S5      nU R                  X1US9$ )a  Creates a new DICOM store within the parent dataset.

Args:
  request: (HealthcareProjectsLocationsDatasetsDicomStoresCreateRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (DicomStore) The response message.
rM   rN   rP   rS   s       r@   rM   EHealthcareV1alpha2.ProjectsLocationsDatasetsDicomStoresService.Create3  rW   rB   c                  D    [         R                  " SSSS/S/S/SSSS	S
S9$ )NXv1alpha2/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/dicomStoresrZ   z9healthcare.projects.locations.datasets.dicomStores.creater[   dicomStoreIdv1alpha2/{+parent}/dicomStores
dicomStore;HealthcareProjectsLocationsDatasetsDicomStoresCreateRequest
DicomStoreFra   rm   ro   rB   r@   rp   GHealthcareV1alpha2.ProjectsLocationsDatasetsDicomStoresService.<lambda>@  7    8#9#9lM zJ$%6"W'$rB   c                 D    U R                  S5      nU R                  X1US9$ )a6  De-identifies data from the source store and writes it to the destination store. The metadata field type is OperationMetadata. If the request is successful, the response field type is DeidentifyDicomStoreSummary. The LRO result may still be successful if de-identification fails for some DICOM instances. The output DICOM store will not contain these failed resources. The number of resources processed are tracked in Operation.metadata. Error details are logged to Cloud Logging. For more information, see [Viewing error logs in Cloud Logging](https://cloud.google.com/healthcare/docs/how-tos/logging).

Args:
  request: (HealthcareProjectsLocationsDatasetsDicomStoresDeidentifyRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (Operation) The response message.

DeidentifyrN   rP   rS   s       r@   r  IHealthcareV1alpha2.ProjectsLocationsDatasetsDicomStoresService.DeidentifyN  /     ##L1f__
  8 8rB   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )Nzsv1alpha2/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/dicomStores/{dicomStoresId}:deidentifyrZ   z=healthcare.projects.locations.datasets.dicomStores.deidentifysourceStore"v1alpha2/{+sourceStore}:deidentifydeidentifyDicomStoreRequest?HealthcareProjectsLocationsDatasetsDicomStoresDeidentifyRequestrO  Fra   rm   ro   rB   r@   rp   r  [  s7    x'='= HQ%"O:3[&(rB   c                 D    U R                  S5      nU R                  X1US9$ )a)  Deletes the specified DICOM store and removes all images that are contained within it.

Args:
  request: (HealthcareProjectsLocationsDatasetsDicomStoresDeleteRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (Empty) The response message.
rs   rN   rP   rS   s       r@   rs   EHealthcareV1alpha2.ProjectsLocationsDatasetsDicomStoresService.Deletei  rW   rB   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )Nhv1alpha2/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/dicomStores/{dicomStoresId}rw   z9healthcare.projects.locations.datasets.dicomStores.deleterx   ry   rz   ;HealthcareProjectsLocationsDatasetsDicomStoresDeleteRequestr|   Fra   rm   ro   rB   r@   rp   r  v  4    8#9#9|MxH(W"$rB   c                 D    U R                  S5      nU R                  X1US9$ )a  Exports data to the specified destination by copying it from the DICOM store. Errors are also logged to Cloud Logging. For more information, see [Viewing error logs in Cloud Logging](https://cloud.google.com/healthcare/docs/how-tos/logging). The metadata field type is OperationMetadata.

Args:
  request: (HealthcareProjectsLocationsDatasetsDicomStoresExportRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (Operation) The response message.
ExportrN   rP   rS   s       r@   r  EHealthcareV1alpha2.ProjectsLocationsDatasetsDicomStoresService.Export  rW   rB   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )Nzov1alpha2/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/dicomStores/{dicomStoresId}:exportrZ   z9healthcare.projects.locations.datasets.dicomStores.exportrx   v1alpha2/{+name}:exportexportDicomDataRequest;HealthcareProjectsLocationsDatasetsDicomStoresExportRequestrO  Fra   rm   ro   rB   r@   rp   r    7    8#9#9 DMxH/.W&$rB   c                 D    U R                  S5      nU R                  X1US9$ )zGets the specified DICOM store.

Args:
  request: (HealthcareProjectsLocationsDatasetsDicomStoresGetRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (DicomStore) The response message.
r~   rN   rP   rS   s       r@   r~   BHealthcareV1alpha2.ProjectsLocationsDatasetsDicomStoresService.Get  r   rB   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )Nr  r   z6healthcare.projects.locations.datasets.dicomStores.getrx   ry   rz   8HealthcareProjectsLocationsDatasetsDicomStoresGetRequestr~  Fra   rm   ro   rB   r@   rp   r    4     6 6|JxH(T'!rB   c                 D    U R                  S5      nU R                  X1US9$ )a  Gets metrics associated with the DICOM store.

Args:
  request: (HealthcareProjectsLocationsDatasetsDicomStoresGetDICOMStoreMetricsRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (DicomStoreMetrics) The response message.
GetDICOMStoreMetricsrN   rP   rS   s       r@   r  SHealthcareV1alpha2.ProjectsLocationsDatasetsDicomStoresService.GetDICOMStoreMetrics  r,  rB   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )Nz}v1alpha2/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/dicomStores/{dicomStoresId}:getDICOMStoreMetricsr   zGhealthcare.projects.locations.datasets.dicomStores.getDICOMStoreMetricsrx   z%v1alpha2/{+name}:getDICOMStoreMetricsrz   IHealthcareProjectsLocationsDatasetsDicomStoresGetDICOMStoreMetricsRequestDicomStoreMetricsFra   rm   ro   rB   r@   rp   r    7    1G1G R[xH=e.2rB   c                 D    U R                  S5      nU R                  X1US9$ )aW  Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.

Args:
  request: (HealthcareProjectsLocationsDatasetsDicomStoresGetIamPolicyRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (Policy) The response message.
r6  rN   rP   rS   s       r@   r6  KHealthcareV1alpha2.ProjectsLocationsDatasetsDicomStoresService.GetIamPolicy  r8  rB   c                  D    [         R                  " SSSS/S/S/SSSS	S
S9$ )Nzuv1alpha2/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/dicomStores/{dicomStoresId}:getIamPolicyr   z?healthcare.projects.locations.datasets.dicomStores.getIamPolicyr:  r;  r<  rz   AHealthcareProjectsLocationsDatasetsDicomStoresGetIamPolicyRequestr>  Fra   rm   ro   rB   r@   rp   r    :    )?)? JS"|L679]#*rB   c                 D    U R                  S5      nU R                  X1US9$ )a  Imports data into the DICOM store by copying it from the specified source. Errors are logged to Cloud Logging. For more information, see [Viewing error logs in Cloud Logging](https://cloud.google.com/healthcare/docs/how-tos/logging). The metadata field type is OperationMetadata.

Args:
  request: (HealthcareProjectsLocationsDatasetsDicomStoresImportRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (Operation) The response message.
ImportrN   rP   rS   s       r@   r  EHealthcareV1alpha2.ProjectsLocationsDatasetsDicomStoresService.Import  rW   rB   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )Nzov1alpha2/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/dicomStores/{dicomStoresId}:importrZ   z9healthcare.projects.locations.datasets.dicomStores.importrx   v1alpha2/{+name}:importimportDicomDataRequest;HealthcareProjectsLocationsDatasetsDicomStoresImportRequestrO  Fra   rm   ro   rB   r@   rp   r    r  rB   c                 D    U R                  S5      nU R                  X1US9$ )a  Lists the DICOM stores in the given dataset.

Args:
  request: (HealthcareProjectsLocationsDatasetsDicomStoresListRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (ListDicomStoresResponse) The response message.
r   rN   rP   rS   s       r@   r   CHealthcareV1alpha2.ProjectsLocationsDatasetsDicomStoresService.List  r   rB   c                  F    [         R                  " SSSS/S// SQSSSS	S
S9$ )Nry  r   z7healthcare.projects.locations.datasets.dicomStores.listr[   r   r{  rz   9HealthcareProjectsLocationsDatasetsDicomStoresListRequestListDicomStoresResponseFra   rm   ro   rB   r@   rp   r    4    !7!7lK zJ86U4"rB   c                 D    U R                  S5      nU R                  X1US9$ )zUpdates the specified DICOM store.

Args:
  request: (HealthcareProjectsLocationsDatasetsDicomStoresPatchRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (DicomStore) The response message.
r   rN   rP   rS   s       r@   r   DHealthcareV1alpha2.ProjectsLocationsDatasetsDicomStoresService.Patch&  r   rB   c                  D    [         R                  " SSSS/S/S/SSSS	S
S9$ )Nr  r   z8healthcare.projects.locations.datasets.dicomStores.patchrx   r   ry   r|  :HealthcareProjectsLocationsDatasetsDicomStoresPatchRequestr~  Fra   rm   ro   rB   r@   rp   r  3  6    ("8"8|LxH"^("V'#rB   c                 D    U R                  S5      nU R                  X1US9$ )a}  Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.

Args:
  request: (HealthcareProjectsLocationsDatasetsDicomStoresSetIamPolicyRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (Policy) The response message.
rQ  rN   rP   rS   s       r@   rQ  KHealthcareV1alpha2.ProjectsLocationsDatasetsDicomStoresService.SetIamPolicyA  r8  rB   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )Nzuv1alpha2/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/dicomStores/{dicomStoresId}:setIamPolicyrZ   z?healthcare.projects.locations.datasets.dicomStores.setIamPolicyr:  rT  rU  AHealthcareProjectsLocationsDatasetsDicomStoresSetIamPolicyRequestr>  Fra   rm   ro   rB   r@   rp   r  N  7    )?)? JS"|L9+]#*rB   c                 D    U R                  S5      nU R                  X1US9$ )aQ  Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may "fail open" without warning.

Args:
  request: (HealthcareProjectsLocationsDatasetsDicomStoresTestIamPermissionsRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (TestIamPermissionsResponse) The response message.
rX  rN   rP   rS   s       r@   rX  QHealthcareV1alpha2.ProjectsLocationsDatasetsDicomStoresService.TestIamPermissions\  rZ  rB   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )Nz{v1alpha2/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/dicomStores/{dicomStoresId}:testIamPermissionsrZ   zEhealthcare.projects.locations.datasets.dicomStores.testIamPermissionsr:  r\  r]  GHealthcareProjectsLocationsDatasetsDicomStoresTestIamPermissionsRequestr_  Fra   rm   ro   rB   r@   rp   r  i  7    x/E/E PY"|L?1c70rB   r   rG   )r   r   r   r   r   r   r   rM   r   r  rs   r  r~   r  r6  r  r   r   rQ  rX  r   r   r   s   @r@   r'   rr  )  s    Q5E
8F8 J8F8F8C8*&8"L8F8D8E8"L8($$rB   r'   c                   h  ^  \ rS rSrSrSrU 4S jrSS jrS \l        SS jr	S \	l        SS	 jr
S
 \
l        SS jrS \l        SS jrS \l        SS jrS \l        SS jrS \l        SS jrS \l        SS jrS \l        SS jrS \l        SS jrS \l        SS jrS \l        SrU =r$ )=HealthcareV1alpha2.ProjectsLocationsDatasetsFhirStoresServiceiw  zFService class for the projects_locations_datasets_fhirStores resource.r*   c                 N   > [         [        R                  U ]  U5        0 U l        g rG   )r   r   r)   r   rH   rI   s     r@   r   FHealthcareV1alpha2.ProjectsLocationsDatasetsFhirStoresService.__init__|  $    II4YZ`adrB   c                 D    U R                  S5      nU R                  X1US9$ )a	  Creates a new FHIR store within the parent dataset.

Args:
  request: (HealthcareProjectsLocationsDatasetsFhirStoresCreateRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (FhirStore) The response message.
rM   rN   rP   rS   s       r@   rM   DHealthcareV1alpha2.ProjectsLocationsDatasetsFhirStoresService.Create  rW   rB   c                  D    [         R                  " SSSS/S/S/SSSS	S
S9$ )NWv1alpha2/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/fhirStoresrZ   z8healthcare.projects.locations.datasets.fhirStores.creater[   fhirStoreIdv1alpha2/{+parent}/fhirStores	fhirStore:HealthcareProjectsLocationsDatasetsFhirStoresCreateRequest	FhirStoreFra   rm   ro   rB   r@   rp   FHealthcareV1alpha2.ProjectsLocationsDatasetsFhirStoresService.<lambda>  s6    8#9#9kL zJ#_5!V&$rB   c                 D    U R                  S5      nU R                  X1US9$ )a  De-identifies data from the source store and writes it to the destination store. The metadata field type is OperationMetadata. If the request is successful, the response field type is DeidentifyFhirStoreSummary. The number of resources processed are tracked in Operation.metadata. Error details are logged to Cloud Logging. For more information, see [Viewing error logs in Cloud Logging](https://cloud.google.com/healthcare/docs/how-tos/logging).

Args:
  request: (HealthcareProjectsLocationsDatasetsFhirStoresDeidentifyRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (Operation) The response message.
r  rN   rP   rS   s       r@   r  HHealthcareV1alpha2.ProjectsLocationsDatasetsFhirStoresService.Deidentify  r  rB   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )Nzqv1alpha2/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/fhirStores/{fhirStoresId}:deidentifyrZ   z<healthcare.projects.locations.datasets.fhirStores.deidentifyr  r  deidentifyFhirStoreRequest>HealthcareProjectsLocationsDatasetsFhirStoresDeidentifyRequestrO  Fra   rm   ro   rB   r@   rp   r    s7    x'='= FP%"O:2Z&(rB   c                 D    U R                  S5      nU R                  X1US9$ )a  Deletes the specified FHIR store and removes all resources within it.

Args:
  request: (HealthcareProjectsLocationsDatasetsFhirStoresDeleteRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (Empty) The response message.
rs   rN   rP   rS   s       r@   rs   DHealthcareV1alpha2.ProjectsLocationsDatasetsFhirStoresService.Delete  rW   rB   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )Nfv1alpha2/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/fhirStores/{fhirStoresId}rw   z8healthcare.projects.locations.datasets.fhirStores.deleterx   ry   rz   :HealthcareProjectsLocationsDatasetsFhirStoresDeleteRequestr|   Fra   rm   ro   rB   r@   rp   r    s4    8#9#9zLxH(V"$rB   c                 D    U R                  S5      nU R                  X1US9$ )a  Export resources from the FHIR store to the specified destination. This method returns an Operation that can be used to track the status of the export by calling GetOperation. To improve performance, it is recommended to make the `type` filter as specific as possible, including only the resource types that are absolutely needed. This minimizes the size of the initial dataset to be processed and is the most effective way to improve performance. While post-filters like `_since` are useful for refining results, they do not speed up the initial data retrieval phase, which is primarily governed by the `type` filter. Immediate fatal errors appear in the error field, errors are also logged to Cloud Logging (see [Viewing error logs in Cloud Logging](https://cloud.google.com/healthcare/docs/how-tos/logging)). Otherwise, when the operation finishes, a detailed response of type ExportResourcesResponse is returned in the response field. The metadata field type for this operation is OperationMetadata.

Args:
  request: (HealthcareProjectsLocationsDatasetsFhirStoresExportRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (Operation) The response message.
r  rN   rP   rS   s       r@   r  DHealthcareV1alpha2.ProjectsLocationsDatasetsFhirStoresService.Export  rW   rB   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )Nzmv1alpha2/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/fhirStores/{fhirStoresId}:exportrZ   z8healthcare.projects.locations.datasets.fhirStores.exportrx   r  exportResourcesRequest:HealthcareProjectsLocationsDatasetsFhirStoresExportRequestrO  Fra   rm   ro   rB   r@   rp   r    7    8#9#9 BLxH/.V&$rB   c                 D    U R                  S5      nU R                  X1US9$ )a  Gets the configuration of the specified FHIR store.

Args:
  request: (HealthcareProjectsLocationsDatasetsFhirStoresGetRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (FhirStore) The response message.
r~   rN   rP   rS   s       r@   r~   AHealthcareV1alpha2.ProjectsLocationsDatasetsFhirStoresService.Get  r   rB   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )Nr  r   z5healthcare.projects.locations.datasets.fhirStores.getrx   ry   rz   7HealthcareProjectsLocationsDatasetsFhirStoresGetRequestr  Fra   rm   ro   rB   r@   rp   r    4     6 6zIxH(S&!rB   c                 D    U R                  S5      nU R                  X1US9$ )a  Gets metrics associated with the FHIR store.

Args:
  request: (HealthcareProjectsLocationsDatasetsFhirStoresGetFHIRStoreMetricsRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (FhirStoreMetrics) The response message.
GetFHIRStoreMetricsrN   rP   rS   s       r@   r  QHealthcareV1alpha2.ProjectsLocationsDatasetsFhirStoresService.GetFHIRStoreMetrics  rK  rB   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )Nzzv1alpha2/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/fhirStores/{fhirStoresId}:getFHIRStoreMetricsr   zEhealthcare.projects.locations.datasets.fhirStores.getFHIRStoreMetricsrx   z$v1alpha2/{+name}:getFHIRStoreMetricsrz   GHealthcareProjectsLocationsDatasetsFhirStoresGetFHIRStoreMetricsRequestFhirStoreMetricsFra   rm   ro   rB   r@   rp   r    s7    0F0F OYxH<c-1rB   c                 D    U R                  S5      nU R                  X1US9$ )aV  Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.

Args:
  request: (HealthcareProjectsLocationsDatasetsFhirStoresGetIamPolicyRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (Policy) The response message.
r6  rN   rP   rS   s       r@   r6  JHealthcareV1alpha2.ProjectsLocationsDatasetsFhirStoresService.GetIamPolicy#  r8  rB   c                  D    [         R                  " SSSS/S/S/SSSS	S
S9$ )Nzsv1alpha2/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/fhirStores/{fhirStoresId}:getIamPolicyr   z>healthcare.projects.locations.datasets.fhirStores.getIamPolicyr:  r;  r<  rz   @HealthcareProjectsLocationsDatasetsFhirStoresGetIamPolicyRequestr>  Fra   rm   ro   rB   r@   rp   r  0  s:    )?)? HR"|L679\#*rB   c                 D    U R                  S5      nU R                  X1US9$ )aK  Import resources to the FHIR store by loading data from the specified sources. This method is optimized to load large quantities of data using import semantics that ignore some FHIR store configuration options and are not suitable for all use cases. It is primarily intended to load data into an empty FHIR store that is not being used by other clients. In cases where this method is not appropriate, consider using ExecuteBundle to load data. Every resource in the input must contain a client-supplied ID. Each resource is stored using the supplied ID regardless of the enable_update_create setting on the FHIR store. It is strongly advised not to include or encode any sensitive data such as patient identifiers in client-specified resource IDs. Those IDs are part of the FHIR resource path recorded in Cloud Audit Logs and Cloud Pub/Sub notifications. Those IDs can also be contained in reference fields within other resources. The import process does not enforce referential integrity, regardless of the disable_referential_integrity setting on the FHIR store. This allows the import of resources with arbitrary interdependencies without considering grouping or ordering, but if the input data contains invalid references or if some resources fail to be imported, the FHIR store might be left in a state that violates referential integrity. The import process does not trigger Pub/Sub notification or BigQuery streaming update, regardless of how those are configured on the FHIR store. If a resource with the specified ID already exists, the most recent version of the resource is overwritten without creating a new historical version, regardless of the disable_resource_versioning setting on the FHIR store. If transient failures occur during the import, successfully imported resources could be overwritten more than once. The import operation is idempotent unless the input data contains multiple valid resources with the same ID but different contents. In that case, after the import completes, the store contains exactly one resource with that ID but there is no ordering guarantee on which version of the contents it has. The operation result counters do not count duplicate IDs as an error and count one success for each resource in the input, which might result in a success count larger than the number of resources in the FHIR store. This often occurs when importing data organized in bundles produced by Patient-everything where each bundle contains its own copy of a resource such as Practitioner that might be referred to by many patients. If some resources fail to import, for example due to parsing errors, successfully imported resources are not rolled back. The location and format of the input data are specified by the parameters in ImportResourcesRequest. Note that if no format is specified, this method assumes the `BUNDLE` format. When using the `BUNDLE` format this method ignores the `Bundle.type` field, except that `history` bundles are rejected, and does not apply any of the bundle processing semantics for batch or transaction bundles. Unlike in ExecuteBundle, transaction bundles are not executed as a single transaction and bundle-internal references are not rewritten. The bundle is treated as a collection of resources to be written as provided in `Bundle.entry.resource`, ignoring `Bundle.entry.request`. As an example, this allows the import of `searchset` bundles produced by a FHIR search or Patient-everything operation. This method returns an Operation that can be used to track the status of the import by calling GetOperation. Immediate fatal errors appear in the error field, errors are also logged to Cloud Logging (see [Viewing error logs in Cloud Logging](https://cloud.google.com/healthcare/docs/how-tos/logging)). Otherwise, when the operation finishes, a detailed response of type ImportResourcesResponse is returned in the response field. The metadata field type for this operation is OperationMetadata.

Args:
  request: (HealthcareProjectsLocationsDatasetsFhirStoresImportRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (Operation) The response message.
r  rN   rP   rS   s       r@   r  DHealthcareV1alpha2.ProjectsLocationsDatasetsFhirStoresService.Import>  rW   rB   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )Nzmv1alpha2/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/fhirStores/{fhirStoresId}:importrZ   z8healthcare.projects.locations.datasets.fhirStores.importrx   r  importResourcesRequest:HealthcareProjectsLocationsDatasetsFhirStoresImportRequestrO  Fra   rm   ro   rB   r@   rp   r  K  r  rB   c                 D    U R                  S5      nU R                  X1US9$ )a  Lists the FHIR stores in the given dataset.

Args:
  request: (HealthcareProjectsLocationsDatasetsFhirStoresListRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (ListFhirStoresResponse) The response message.
r   rN   rP   rS   s       r@   r   BHealthcareV1alpha2.ProjectsLocationsDatasetsFhirStoresService.ListY  r   rB   c                  F    [         R                  " SSSS/S// SQSSSS	S
S9$ )Nr  r   z6healthcare.projects.locations.datasets.fhirStores.listr[   r   r  rz   8HealthcareProjectsLocationsDatasetsFhirStoresListRequestListFhirStoresResponseFra   rm   ro   rB   r@   rp   r  f  s4    !7!7kJ zJ85T3"rB   c                 D    U R                  S5      nU R                  X1US9$ )a  Updates the configuration of the specified FHIR store.

Args:
  request: (HealthcareProjectsLocationsDatasetsFhirStoresPatchRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (FhirStore) The response message.
r   rN   rP   rS   s       r@   r   CHealthcareV1alpha2.ProjectsLocationsDatasetsFhirStoresService.Patcht  r   rB   c                  D    [         R                  " SSSS/S/S/SSSS	S
S9$ )Nr  r   z7healthcare.projects.locations.datasets.fhirStores.patchrx   r   ry   r  9HealthcareProjectsLocationsDatasetsFhirStoresPatchRequestr  Fra   rm   ro   rB   r@   rp   r    s6    ("8"8zKxH"^(!U&#rB   c                 D    U R                  S5      nU R                  X1US9$ )a|  Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.

Args:
  request: (HealthcareProjectsLocationsDatasetsFhirStoresSetIamPolicyRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (Policy) The response message.
rQ  rN   rP   rS   s       r@   rQ  JHealthcareV1alpha2.ProjectsLocationsDatasetsFhirStoresService.SetIamPolicy  r8  rB   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )Nzsv1alpha2/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/fhirStores/{fhirStoresId}:setIamPolicyrZ   z>healthcare.projects.locations.datasets.fhirStores.setIamPolicyr:  rT  rU  @HealthcareProjectsLocationsDatasetsFhirStoresSetIamPolicyRequestr>  Fra   rm   ro   rB   r@   rp   r    s7    )?)? HR"|L9+\#*rB   c                 D    U R                  S5      nU R                  X1US9$ )aP  Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may "fail open" without warning.

Args:
  request: (HealthcareProjectsLocationsDatasetsFhirStoresTestIamPermissionsRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (TestIamPermissionsResponse) The response message.
rX  rN   rP   rS   s       r@   rX  PHealthcareV1alpha2.ProjectsLocationsDatasetsFhirStoresService.TestIamPermissions  rZ  rB   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )Nzyv1alpha2/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/fhirStores/{fhirStoresId}:testIamPermissionsrZ   zDhealthcare.projects.locations.datasets.fhirStores.testIamPermissionsr:  r\  r]  FHealthcareProjectsLocationsDatasetsFhirStoresTestIamPermissionsRequestr_  Fra   rm   ro   rB   r@   rp   r    s7    x/E/E NX"|L?1b70rB   r   rG   )r   r   r   r   r   r   r   rM   r   r  rs   r  r~   r  r6  r  r   r   rQ  rX  r   r   r   s   @r@   r)   r  w  s    P4E
8F8 J8F8F8C8)%8"L8F8D8E8"L8($$rB   r)   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
$ )	FHealthcareV1alpha2.ProjectsLocationsDatasetsHl7V2StoresMessagesServicei  zPService class for the projects_locations_datasets_hl7V2Stores_messages resource.r,   c                 N   > [         [        R                  U ]  U5        0 U l        g rG   )r   r   r+   r   rH   rI   s     r@   r   OHealthcareV1alpha2.ProjectsLocationsDatasetsHl7V2StoresMessagesService.__init__  s%    RRTXbcijdrB   c                 D    U R                  S5      nU R                  X1US9$ )a  Exports the messages to a destination in the store with transformations. The start and the end time relative to message generation time (MSH.7) can be specified to filter messages in a range instead of exporting all at once. This API returns an Operation that can be used to track the status of the job by calling GetOperation. Immediate fatal errors appear in the error field. Otherwise, when the operation finishes, a detailed response of type ExportMessagesResponse is returned in the response field. The metadata field type for this operation is OperationMetadata.

Args:
  request: (HealthcareProjectsLocationsDatasetsHl7V2StoresMessagesExportRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (Operation) The response message.
r  rN   rP   rS   s       r@   r  MHealthcareV1alpha2.ProjectsLocationsDatasetsHl7V2StoresMessagesService.Export  rW   rB   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )Nzxv1alpha2/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/hl7V2Stores/{hl7V2StoresId}/messages:exportrZ   zBhealthcare.projects.locations.datasets.hl7V2Stores.messages.exportrx   z v1alpha2/{+name}/messages:exportexportMessagesRequestCHealthcareProjectsLocationsDatasetsHl7V2StoresMessagesExportRequestrO  Fra   rm   ro   rB   r@   rp   OHealthcareV1alpha2.ProjectsLocationsDatasetsHl7V2StoresMessagesService.<lambda>  s7    8#9#9 MVxH8-_&$rB   r   rG   )r   r   r   r   r   r   r   r  r   r   r   r   s   @r@   r+   r
    s"    Z>E
8FrB   r+   c                   N  ^  \ rS rSrSrSrU 4S jrSS jrS \l        SS jr	S \	l        SS	 jr
S
 \
l        SS jrS \l        SS jrS \l        SS jrS \l        SS jrS \l        SS jrS \l        SS jrS \l        SS jrS \l        SS jrS \l        SrU =r$ )>HealthcareV1alpha2.ProjectsLocationsDatasetsHl7V2StoresServicei  zGService class for the projects_locations_datasets_hl7V2Stores resource.r.   c                 N   > [         [        R                  U ]  U5        0 U l        g rG   )r   r   r-   r   rH   rI   s     r@   r   GHealthcareV1alpha2.ProjectsLocationsDatasetsHl7V2StoresService.__init__  ru  rB   c                 D    U R                  S5      nU R                  X1US9$ )a  Creates a new HL7v2 store within the parent dataset.

Args:
  request: (HealthcareProjectsLocationsDatasetsHl7V2StoresCreateRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (Hl7V2Store) The response message.
rM   rN   rP   rS   s       r@   rM   EHealthcareV1alpha2.ProjectsLocationsDatasetsHl7V2StoresService.Create  rW   rB   c                  D    [         R                  " SSSS/S/S/SSSS	S
S9$ )NXv1alpha2/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/hl7V2StoresrZ   z9healthcare.projects.locations.datasets.hl7V2Stores.creater[   hl7V2StoreIdv1alpha2/{+parent}/hl7V2Stores
hl7V2Store;HealthcareProjectsLocationsDatasetsHl7V2StoresCreateRequest
Hl7V2StoreFra   rm   ro   rB   r@   rp   GHealthcareV1alpha2.ProjectsLocationsDatasetsHl7V2StoresService.<lambda>  r  rB   c                 D    U R                  S5      nU R                  X1US9$ )a  Deletes the specified HL7v2 store and removes all messages that it contains.

Args:
  request: (HealthcareProjectsLocationsDatasetsHl7V2StoresDeleteRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (Empty) The response message.
rs   rN   rP   rS   s       r@   rs   EHealthcareV1alpha2.ProjectsLocationsDatasetsHl7V2StoresService.Delete  rW   rB   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )Nhv1alpha2/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/hl7V2Stores/{hl7V2StoresId}rw   z9healthcare.projects.locations.datasets.hl7V2Stores.deleterx   ry   rz   ;HealthcareProjectsLocationsDatasetsHl7V2StoresDeleteRequestr|   Fra   rm   ro   rB   r@   rp   r     r  rB   c                 D    U R                  S5      nU R                  X1US9$ )a  Exports the messages to a destination in the store with transformations. The start and the end time relative to message generation time (MSH.7) can be specified to filter messages in a range instead of exporting all at once. This API returns an Operation that can be used to track the status of the job by calling GetOperation. Immediate fatal errors appear in the error field. Otherwise, when the operation finishes, a detailed response of type ExportMessagesResponse is returned in the response field. The metadata field type for this operation is OperationMetadata.

Args:
  request: (HealthcareProjectsLocationsDatasetsHl7V2StoresExportRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (Operation) The response message.
r  rN   rP   rS   s       r@   r  EHealthcareV1alpha2.ProjectsLocationsDatasetsHl7V2StoresService.Export*  rW   rB   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )Nzov1alpha2/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/hl7V2Stores/{hl7V2StoresId}:exportrZ   z9healthcare.projects.locations.datasets.hl7V2Stores.exportrx   r  r  ;HealthcareProjectsLocationsDatasetsHl7V2StoresExportRequestrO  Fra   rm   ro   rB   r@   rp   r   7  7    8#9#9 DMxH/-W&$rB   c                 D    U R                  S5      nU R                  X1US9$ )zGets the specified HL7v2 store.

Args:
  request: (HealthcareProjectsLocationsDatasetsHl7V2StoresGetRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (Hl7V2Store) The response message.
r~   rN   rP   rS   s       r@   r~   BHealthcareV1alpha2.ProjectsLocationsDatasetsHl7V2StoresService.GetE  r   rB   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )Nr$  r   z6healthcare.projects.locations.datasets.hl7V2Stores.getrx   ry   rz   8HealthcareProjectsLocationsDatasetsHl7V2StoresGetRequestr  Fra   rm   ro   rB   r@   rp   r   R  r  rB   c                 D    U R                  S5      nU R                  X1US9$ )a  Gets metrics associated with the HL7v2 store.

Args:
  request: (HealthcareProjectsLocationsDatasetsHl7V2StoresGetHL7v2StoreMetricsRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (Hl7V2StoreMetrics) The response message.
GetHL7v2StoreMetricsrN   rP   rS   s       r@   r0  SHealthcareV1alpha2.ProjectsLocationsDatasetsHl7V2StoresService.GetHL7v2StoreMetrics`  r,  rB   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )Nz}v1alpha2/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/hl7V2Stores/{hl7V2StoresId}:getHL7v2StoreMetricsr   zGhealthcare.projects.locations.datasets.hl7V2Stores.getHL7v2StoreMetricsrx   z%v1alpha2/{+name}:getHL7v2StoreMetricsrz   IHealthcareProjectsLocationsDatasetsHl7V2StoresGetHL7v2StoreMetricsRequestHl7V2StoreMetricsFra   rm   ro   rB   r@   rp   r   m  r  rB   c                 D    U R                  S5      nU R                  X1US9$ )aW  Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.

Args:
  request: (HealthcareProjectsLocationsDatasetsHl7V2StoresGetIamPolicyRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (Policy) The response message.
r6  rN   rP   rS   s       r@   r6  KHealthcareV1alpha2.ProjectsLocationsDatasetsHl7V2StoresService.GetIamPolicy{  r8  rB   c                  D    [         R                  " SSSS/S/S/SSSS	S
S9$ )Nzuv1alpha2/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/hl7V2Stores/{hl7V2StoresId}:getIamPolicyr   z?healthcare.projects.locations.datasets.hl7V2Stores.getIamPolicyr:  r;  r<  rz   AHealthcareProjectsLocationsDatasetsHl7V2StoresGetIamPolicyRequestr>  Fra   rm   ro   rB   r@   rp   r     r  rB   c                 D    U R                  S5      nU R                  X1US9$ )a  Import messages to the HL7v2 store by loading data from the specified sources. This method is optimized to load large quantities of data using import semantics that ignore some HL7v2 store configuration options and are not suitable for all use cases. It is primarily intended to load data into an empty HL7v2 store that is not being used by other clients. An existing message will be overwritten if a duplicate message is imported. A duplicate message is a message with the same raw bytes as a message that already exists in this HL7v2 store. When a message is overwritten, its labels will also be overwritten. The import operation is idempotent unless the input data contains multiple valid messages with the same raw bytes but different labels. In that case, after the import completes, the store contains exactly one message with those raw bytes but there is no ordering guarantee on which version of the labels it has. The operation result counters do not count duplicated raw bytes as an error and count one success for each message in the input, which might result in a success count larger than the number of messages in the HL7v2 store. If some messages fail to import, for example due to parsing errors, successfully imported messages are not rolled back. This method returns an Operation that can be used to track the status of the import by calling GetOperation. Immediate fatal errors appear in the error field, errors are also logged to Cloud Logging (see [Viewing error logs in Cloud Logging](https://cloud.google.com/healthcare/docs/how-tos/logging)). Otherwise, when the operation finishes, a response of type ImportMessagesResponse is returned in the response field. The metadata field type for this operation is OperationMetadata.

Args:
  request: (HealthcareProjectsLocationsDatasetsHl7V2StoresImportRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (Operation) The response message.
r  rN   rP   rS   s       r@   r  EHealthcareV1alpha2.ProjectsLocationsDatasetsHl7V2StoresService.Import  rW   rB   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )Nzov1alpha2/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/hl7V2Stores/{hl7V2StoresId}:importrZ   z9healthcare.projects.locations.datasets.hl7V2Stores.importrx   r  importMessagesRequest;HealthcareProjectsLocationsDatasetsHl7V2StoresImportRequestrO  Fra   rm   ro   rB   r@   rp   r     r*  rB   c                 D    U R                  S5      nU R                  X1US9$ )a  Lists the HL7v2 stores in the given dataset.

Args:
  request: (HealthcareProjectsLocationsDatasetsHl7V2StoresListRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (ListHl7V2StoresResponse) The response message.
r   rN   rP   rS   s       r@   r   CHealthcareV1alpha2.ProjectsLocationsDatasetsHl7V2StoresService.List  r   rB   c                  F    [         R                  " SSSS/S// SQSSSS	S
S9$ )Nr  r   z7healthcare.projects.locations.datasets.hl7V2Stores.listr[   r   r  rz   9HealthcareProjectsLocationsDatasetsHl7V2StoresListRequestListHl7V2StoresResponseFra   rm   ro   rB   r@   rp   r     r  rB   c                 D    U R                  S5      nU R                  X1US9$ )zUpdates the HL7v2 store.

Args:
  request: (HealthcareProjectsLocationsDatasetsHl7V2StoresPatchRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (Hl7V2Store) The response message.
r   rN   rP   rS   s       r@   r   DHealthcareV1alpha2.ProjectsLocationsDatasetsHl7V2StoresService.Patch  r   rB   c                  D    [         R                  " SSSS/S/S/SSSS	S
S9$ )Nr$  r   z8healthcare.projects.locations.datasets.hl7V2Stores.patchrx   r   ry   r  :HealthcareProjectsLocationsDatasetsHl7V2StoresPatchRequestr  Fra   rm   ro   rB   r@   rp   r     r  rB   c                 D    U R                  S5      nU R                  X1US9$ )a}  Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.

Args:
  request: (HealthcareProjectsLocationsDatasetsHl7V2StoresSetIamPolicyRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (Policy) The response message.
rQ  rN   rP   rS   s       r@   rQ  KHealthcareV1alpha2.ProjectsLocationsDatasetsHl7V2StoresService.SetIamPolicy  r8  rB   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )Nzuv1alpha2/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/hl7V2Stores/{hl7V2StoresId}:setIamPolicyrZ   z?healthcare.projects.locations.datasets.hl7V2Stores.setIamPolicyr:  rT  rU  AHealthcareProjectsLocationsDatasetsHl7V2StoresSetIamPolicyRequestr>  Fra   rm   ro   rB   r@   rp   r     r  rB   c                 D    U R                  S5      nU R                  X1US9$ )aQ  Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may "fail open" without warning.

Args:
  request: (HealthcareProjectsLocationsDatasetsHl7V2StoresTestIamPermissionsRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (TestIamPermissionsResponse) The response message.
rX  rN   rP   rS   s       r@   rX  QHealthcareV1alpha2.ProjectsLocationsDatasetsHl7V2StoresService.TestIamPermissions  rZ  rB   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )Nz{v1alpha2/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/hl7V2Stores/{hl7V2StoresId}:testIamPermissionsrZ   zEhealthcare.projects.locations.datasets.hl7V2Stores.testIamPermissionsr:  r\  r]  GHealthcareProjectsLocationsDatasetsHl7V2StoresTestIamPermissionsRequestr_  Fra   rm   ro   rB   r@   rp   r     r  rB   r   rG   )r   r   r   r   r   r   r   rM   r   rs   r  r~   r0  r6  r  r   r   rQ  rX  r   r   r   s   @r@   r-   r    s    Q5E
8F8F8F8C8*&8"L8F8D8E8"L8($$rB   r-   c                   ~   ^  \ rS rSrSrSrU 4S jrSS jrS \l        SS jr	S \	l        SS	 jr
S
 \
l        SrU =r$ )=HealthcareV1alpha2.ProjectsLocationsDatasetsOperationsServicei  zFService class for the projects_locations_datasets_operations resource.r0   c                 N   > [         [        R                  U ]  U5        0 U l        g rG   )r   r   r/   r   rH   rI   s     r@   r   FHealthcareV1alpha2.ProjectsLocationsDatasetsOperationsService.__init__"  r  rB   c                 D    U R                  S5      nU R                  X1US9$ )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: (HealthcareProjectsLocationsDatasetsOperationsCancelRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (Empty) The response message.
CancelrN   rP   rS   s       r@   rT  DHealthcareV1alpha2.ProjectsLocationsDatasetsOperationsService.Cancel'  rW   rB   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )Nzmv1alpha2/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/operations/{operationsId}:cancelrZ   z8healthcare.projects.locations.datasets.operations.cancelrx   zv1alpha2/{+name}:cancelcancelOperationRequest:HealthcareProjectsLocationsDatasetsOperationsCancelRequestr|   Fra   rm   ro   rB   r@   rp   FHealthcareV1alpha2.ProjectsLocationsDatasetsOperationsService.<lambda>4  s7    8#9#9 BLxH/.V"$rB   c                 D    U R                  S5      nU R                  X1US9$ )an  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: (HealthcareProjectsLocationsDatasetsOperationsGetRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (Operation) The response message.
r~   rN   rP   rS   s       r@   r~   AHealthcareV1alpha2.ProjectsLocationsDatasetsOperationsService.GetB  r   rB   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )Nzfv1alpha2/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/operations/{operationsId}r   z5healthcare.projects.locations.datasets.operations.getrx   ry   rz   7HealthcareProjectsLocationsDatasetsOperationsGetRequestrO  Fra   rm   ro   rB   r@   rp   rY  O  r  rB   c                 D    U R                  S5      nU R                  X1US9$ )ah  Lists operations that match the specified filter in the request. If the server doesn't support this method, it returns `UNIMPLEMENTED`.

Args:
  request: (HealthcareProjectsLocationsDatasetsOperationsListRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (ListOperationsResponse) The response message.
r   rN   rP   rS   s       r@   r   BHealthcareV1alpha2.ProjectsLocationsDatasetsOperationsService.List]  r   rB   c                  F    [         R                  " SSSS/S// SQSSSS	S
S9$ )NzWv1alpha2/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}/operationsr   z6healthcare.projects.locations.datasets.operations.listrx   )r   r   r   returnPartialSuccesszv1alpha2/{+name}/operationsrz   8HealthcareProjectsLocationsDatasetsOperationsListRequestListOperationsResponseFra   rm   ro   rB   r@   rp   rY  j  s4    !7!7kJxHP3T3"rB   r   rG   )r   r   r   r   r   r   r   rT  r   r~   r   r   r   r   s   @r@   r/   rP    s@    P4E
8F8C8DrB   r/   c                     ^  \ rS rSrSrSrU 4S jrSS jrS \l        SS jr	S \	l        SS	 jr
S
 \
l        SS jrS \l        SS jrS \l        SS jrS \l        SS jrS \l        SS jrS \l        SS jrS \l        SrU =r$ )3HealthcareV1alpha2.ProjectsLocationsDatasetsServiceix  z;Service class for the projects_locations_datasets resource.r2   c                 N   > [         [        R                  U ]  U5        0 U l        g rG   )r   r   r1   r   rH   rI   s     r@   r   <HealthcareV1alpha2.ProjectsLocationsDatasetsService.__init__}  $    ??OPVWdrB   c                 D    U R                  S5      nU R                  X1US9$ )a  Creates a new health dataset. Results are returned through the Operation interface which returns either an `Operation.response` which contains a Dataset or `Operation.error`. The metadata field type is OperationMetadata.

Args:
  request: (HealthcareProjectsLocationsDatasetsCreateRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (Operation) The response message.
rM   rN   rP   rS   s       r@   rM   :HealthcareV1alpha2.ProjectsLocationsDatasetsService.Create  rW   rB   c                  D    [         R                  " SSSS/S/S/SSSS	S
S9$ )N?v1alpha2/projects/{projectsId}/locations/{locationsId}/datasetsrZ   z-healthcare.projects.locations.datasets.creater[   	datasetIdv1alpha2/{+parent}/datasetsdataset0HealthcareProjectsLocationsDatasetsCreateRequestrO  Fra   rm   ro   rB   r@   rp   <HealthcareV1alpha2.ProjectsLocationsDatasetsService.<lambda>  s6    8#9#9SA zJ!]3L&$rB   c                 D    U R                  S5      nU R                  X1US9$ )a$  Creates a new dataset containing de-identified data from the source dataset. The metadata field type is OperationMetadata. If the request is successful, the response field type is DeidentifySummary. The LRO result may still be successful if de-identification fails for some DICOM instances. The new de-identified dataset will not contain these failed resources. The number of resources processed are tracked in Operation.metadata. Error details are logged to Cloud Logging. For more information, see [Viewing error logs in Cloud Logging](https://cloud.google.com/healthcare/docs/how-tos/logging).

Args:
  request: (HealthcareProjectsLocationsDatasetsDeidentifyRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (Operation) The response message.
r  rN   rP   rS   s       r@   r  >HealthcareV1alpha2.ProjectsLocationsDatasetsService.Deidentify  r  rB   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )NzWv1alpha2/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}:deidentifyrZ   z1healthcare.projects.locations.datasets.deidentifysourceDatasetz$v1alpha2/{+sourceDataset}:deidentifydeidentifyDatasetRequest4HealthcareProjectsLocationsDatasetsDeidentifyRequestrO  Fra   rm   ro   rB   r@   rp   rq    s6    x'='=kE'($%<0P&(rB   c                 D    U R                  S5      nU R                  X1US9$ )ap  Deletes the specified health dataset and all data contained in the dataset. Deleting a dataset does not affect the sources from which the dataset was imported (if any).

Args:
  request: (HealthcareProjectsLocationsDatasetsDeleteRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (Empty) The response message.
rs   rN   rP   rS   s       r@   rs   :HealthcareV1alpha2.ProjectsLocationsDatasetsService.Delete  rW   rB   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )NLv1alpha2/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}rw   z-healthcare.projects.locations.datasets.deleterx   ry   rz   0HealthcareProjectsLocationsDatasetsDeleteRequestr|   Fra   rm   ro   rB   r@   rp   rq    s4    8#9#9`AxH(L"$rB   c                 D    U R                  S5      nU R                  X1US9$ )zGets any metadata associated with a dataset.

Args:
  request: (HealthcareProjectsLocationsDatasetsGetRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (Dataset) The response message.
r~   rN   rP   rS   s       r@   r~   7HealthcareV1alpha2.ProjectsLocationsDatasetsService.Get  r   rB   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )Nr{  r   z*healthcare.projects.locations.datasets.getrx   ry   rz   -HealthcareProjectsLocationsDatasetsGetRequestDatasetFra   rm   ro   rB   r@   rp   rq    s4     6 6`>xH(I$!rB   c                 D    U R                  S5      nU R                  X1US9$ )aL  Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.

Args:
  request: (HealthcareProjectsLocationsDatasetsGetIamPolicyRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (Policy) The response message.
r6  rN   rP   rS   s       r@   r6  @HealthcareV1alpha2.ProjectsLocationsDatasetsService.GetIamPolicy  r8  rB   c                  D    [         R                  " SSSS/S/S/SSSS	S
S9$ )NzYv1alpha2/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}:getIamPolicyr   z3healthcare.projects.locations.datasets.getIamPolicyr:  r;  r<  rz   6HealthcareProjectsLocationsDatasetsGetIamPolicyRequestr>  Fra   rm   ro   rB   r@   rp   rq    s7    )?)?mG"|L679R#*rB   c                 D    U R                  S5      nU R                  X1US9$ )a  Lists the health datasets in the current project.

Args:
  request: (HealthcareProjectsLocationsDatasetsListRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (ListDatasetsResponse) The response message.
r   rN   rP   rS   s       r@   r   8HealthcareV1alpha2.ProjectsLocationsDatasetsService.List		  r   rB   c                  F    [         R                  " SSSS/S/SS/SSS	S
SS9$ )Nrl  r   z+healthcare.projects.locations.datasets.listr[   r   r   rn  rz   .HealthcareProjectsLocationsDatasetsListRequestListDatasetsResponseFra   rm   ro   rB   r@   rp   rq  	  s9    !7!7S? zJ +.3J1"rB   c                 D    U R                  S5      nU R                  X1US9$ )zUpdates dataset metadata.

Args:
  request: (HealthcareProjectsLocationsDatasetsPatchRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (Dataset) The response message.
r   rN   rP   rS   s       r@   r   9HealthcareV1alpha2.ProjectsLocationsDatasetsService.Patch$	  r   rB   c                  D    [         R                  " SSSS/S/S/SSSS	S
S9$ )Nr{  r   z,healthcare.projects.locations.datasets.patchrx   r   ry   ro  /HealthcareProjectsLocationsDatasetsPatchRequestr  Fra   rm   ro   rB   r@   rp   rq  1	  s6    ("8"8`@xH"^(K$#rB   c                 D    U R                  S5      nU R                  X1US9$ )ar  Sets the access control policy on the specified resource. Replaces any existing policy. Can return `NOT_FOUND`, `INVALID_ARGUMENT`, and `PERMISSION_DENIED` errors.

Args:
  request: (HealthcareProjectsLocationsDatasetsSetIamPolicyRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (Policy) The response message.
rQ  rN   rP   rS   s       r@   rQ  @HealthcareV1alpha2.ProjectsLocationsDatasetsService.SetIamPolicy?	  r8  rB   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )NzYv1alpha2/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}:setIamPolicyrZ   z3healthcare.projects.locations.datasets.setIamPolicyr:  rT  rU  6HealthcareProjectsLocationsDatasetsSetIamPolicyRequestr>  Fra   rm   ro   rB   r@   rp   rq  L	  s4    )?)?mG"|L9+R#*rB   c                 D    U R                  S5      nU R                  X1US9$ )aF  Returns permissions that a caller has on the specified resource. If the resource does not exist, this will return an empty set of permissions, not a `NOT_FOUND` error. Note: This operation is designed to be used for building permission-aware UIs and command-line tools, not for authorization checking. This operation may "fail open" without warning.

Args:
  request: (HealthcareProjectsLocationsDatasetsTestIamPermissionsRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (TestIamPermissionsResponse) The response message.
rX  rN   rP   rS   s       r@   rX  FHealthcareV1alpha2.ProjectsLocationsDatasetsService.TestIamPermissionsZ	  rZ  rB   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )Nz_v1alpha2/projects/{projectsId}/locations/{locationsId}/datasets/{datasetsId}:testIamPermissionsrZ   z9healthcare.projects.locations.datasets.testIamPermissionsr:  r\  r]  <HealthcareProjectsLocationsDatasetsTestIamPermissionsRequestr_  Fra   rm   ro   rB   r@   rp   rq  g	  s4    x/E/EsM"|L?1X70rB   r   rG   )r   r   r   r   r   r   r   rM   r   r  rs   r~   r6  r   r   rQ  rX  r   r   r   s   @r@   r1   re  x  s    E)E
8F8 J8F8C8"L8D8E8"L8($$rB   r1   c                   d   ^  \ rS rSrSrSrU 4S jrS
S jrS \l        S
S jr	S \	l        S	r
U =r$ )=HealthcareV1alpha2.ProjectsLocationsServicesDeidentifyServiceiu	  zFService class for the projects_locations_services_deidentify resource.r4   c                 N   > [         [        R                  U ]  U5        0 U l        g rG   )r   r   r3   r   rH   rI   s     r@   r   FHealthcareV1alpha2.ProjectsLocationsServicesDeidentifyService.__init__z	  r  rB   c                 D    U R                  S5      nU R                  X1US9$ )aw  De-identify a single DICOM instance. Uses the ATTRIBUTE_CONFIDENTIALITY_BASIC_PROFILE TagFilterProfile and the REDACT_ALL_TEXT TextRedactionMode.

Args:
  request: (HealthcareProjectsLocationsServicesDeidentifyDeidentifyDicomInstanceRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (HttpBody) The response message.
DeidentifyDicomInstancerN   rP   rS   s       r@   r  UHealthcareV1alpha2.ProjectsLocationsServicesDeidentifyService.DeidentifyDicomInstance	  s0     ##$=>f__
  8 8rB   c                  D    [         R                  " SSSS/S/S/SSSS	S
S9$ )Nzbv1alpha2/projects/{projectsId}/locations/{locationsId}/services/deidentify:deidentifyDicomInstancerZ   zIhealthcare.projects.locations.services.deidentify.deidentifyDicomInstancerx   gcsConfigUriz(v1alpha2/{+name}:deidentifyDicomInstancehttpBodyKHealthcareProjectsLocationsServicesDeidentifyDeidentifyDicomInstanceRequestHttpBodyFra   rm   ro   rB   r@   rp   FHealthcareV1alpha2.ProjectsLocationsServicesDeidentifyService.<lambda>	  s7    H4J4Jv]xH$%@ g%5rB   c                 D    U R                  S5      nU R                  X1US9$ )a  De-identify a single FHIR resource.

Args:
  request: (HealthcareProjectsLocationsServicesDeidentifyDeidentifyFhirResourceRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (HttpBody) The response message.
DeidentifyFhirResourcerN   rP   rS   s       r@   r  THealthcareV1alpha2.ProjectsLocationsServicesDeidentifyService.DeidentifyFhirResource	  s0     ##$<=f__
  8 8rB   c                  F    [         R                  " SSSS/S/SS/SSS	S
SS9$ )Nzav1alpha2/projects/{projectsId}/locations/{locationsId}/services/deidentify:deidentifyFhirResourcerZ   zHhealthcare.projects.locations.services.deidentify.deidentifyFhirResourcerx   r  versionz'v1alpha2/{+name}:deidentifyFhirResourcer  JHealthcareProjectsLocationsServicesDeidentifyDeidentifyFhirResourceRequestr  Fra   rm   ro   rB   r@   rp   r  	  s9    83I3Iu\xH$i0? f%4rB   r   rG   )r   r   r   r   r   r   r   r  r   r  r   r   r   s   @r@   r3   r  u	  s3    P4E
8-)8,((rB   r3   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
$ )	6HealthcareV1alpha2.ProjectsLocationsServicesNlpServicei	  z?Service class for the projects_locations_services_nlp resource.r6   c                 N   > [         [        R                  U ]  U5        0 U l        g rG   )r   r   r5   r   rH   rI   s     r@   r   ?HealthcareV1alpha2.ProjectsLocationsServicesNlpService.__init__	  s$    BBDRSYZdrB   c                 D    U R                  S5      nU R                  X1US9$ )a  Analyze heathcare entity in a document. Its response includes the recognized entity mentions and the relationships between them. AnalyzeEntities uses context aware models to detect entities.

Args:
  request: (HealthcareProjectsLocationsServicesNlpAnalyzeEntitiesRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (AnalyzeEntitiesResponse) The response message.
AnalyzeEntitiesrN   rP   rS   s       r@   r  FHealthcareV1alpha2.ProjectsLocationsServicesNlpService.AnalyzeEntities	  r  rB   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )NzSv1alpha2/projects/{projectsId}/locations/{locationsId}/services/nlp:analyzeEntitiesrZ   z:healthcare.projects.locations.services.nlp.analyzeEntities
nlpServicez&v1alpha2/{+nlpService}:analyzeEntitiesanalyzeEntitiesRequest<HealthcareProjectsLocationsServicesNlpAnalyzeEntitiesRequestAnalyzeEntitiesResponseFra   rm   ro   rB   r@   rp   ?HealthcareV1alpha2.ProjectsLocationsServicesNlpService.<lambda>	  s4    H,B,BgN$~!N>.X4-rB   r   rG   )r   r   r   r   r   r   r   r  r   r   r   r   s   @r@   r5   r  	  s"    I-E
8%O!!rB   r5   c                   0   ^  \ rS rSrSrSrU 4S jrSrU =r$ )3HealthcareV1alpha2.ProjectsLocationsServicesServicei	  z;Service class for the projects_locations_services resource.r8   c                 N   > [         [        R                  U ]  U5        0 U l        g rG   )r   r   r7   r   rH   rI   s     r@   r   <HealthcareV1alpha2.ProjectsLocationsServicesService.__init__	  rh  rB   r   	r   r   r   r   r   r   r   r   r   r   s   @r@   r7   r  	  s    E)E rB   r7   c                   d   ^  \ rS rSrSrSrU 4S jrS
S jrS \l        S
S jr	S \	l        S	r
U =r$ )+HealthcareV1alpha2.ProjectsLocationsServicei	  z2Service class for the projects_locations resource.r:   c                 N   > [         [        R                  U ]  U5        0 U l        g rG   )r   r   r9   r   rH   rI   s     r@   r   4HealthcareV1alpha2.ProjectsLocationsService.__init__	  s#    77GOdrB   c                 D    U R                  S5      nU R                  X1US9$ )zGets information about a location.

Args:
  request: (HealthcareProjectsLocationsGetRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (Location) The response message.
r~   rN   rP   rS   s       r@   r~   /HealthcareV1alpha2.ProjectsLocationsService.Get	  r   rB   c                  B    [         R                  " SSSS/S// SSSSS	S
9$ )Nz6v1alpha2/projects/{projectsId}/locations/{locationsId}r   z!healthcare.projects.locations.getrx   ry   rz   %HealthcareProjectsLocationsGetRequestLocationFra   rm   ro   rB   r@   rp   4HealthcareV1alpha2.ProjectsLocationsService.<lambda>	  s4     6 6J5xH(A%!rB   c                 D    U R                  S5      nU R                  X1US9$ )a  Lists information about the supported locations for this service.

Args:
  request: (HealthcareProjectsLocationsListRequest) input message
  global_params: (StandardQueryParameters, default: None) global arguments
Returns:
  (ListLocationsResponse) The response message.
r   rN   rP   rS   s       r@   r   0HealthcareV1alpha2.ProjectsLocationsService.List	
  r   rB   c                  F    [         R                  " SSSS/S// SQSSSS	S
S9$ )Nz(v1alpha2/projects/{projectsId}/locationsr   z"healthcare.projects.locations.listrx   )extraLocationTypesr   r   r   zv1alpha2/{+name}/locationsrz   &HealthcareProjectsLocationsListRequestListLocationsResponseFra   rm   ro   rB   r@   rp   r  
  s4    !7!7<6xHN2B2"rB   r   rG   )r   r   r   r   r   r   r   r~   r   r   r   r   r   s   @r@   r9   r  	  s1    < E
8C8DrB   r9   c                   0   ^  \ rS rSrSrSrU 4S jrSrU =r$ )"HealthcareV1alpha2.ProjectsServicei$
  z(Service class for the projects resource.r<   c                 N   > [         [        R                  U ]  U5        0 U l        g rG   )r   r   r;   r   rH   rI   s     r@   r   +HealthcareV1alpha2.ProjectsService.__init__)
  s#    ..>vFdrB   r   r  r   s   @r@   r;   r  $
  s    2E rB   r;   )r<   r:   r2   r$   r   r   r    r"   r&   r(   r*   r.   r,   r0   r8   r4   r6   )rz   NTNNFFNNNN)(r   r   r   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)   r+   r-   r/   r1   r3   r5   r7   r9   r;   r   r   r   s   @r@   r   r   
   s   I/1(;-(?Aqr'(*"."++,()-6:/4<@?C	/BO(JaJa ObthF]F] tljh>U>U jXjhF]F] jXqh6M6M qf	YX=T=T YvLH4K4K L\
L83J3J L\
#H<S<S #JqH4K4K qf	Y83J3J Yv{)@)@ {z>83J3J >@#H,C,C #J)@)@ >!8!8 >@//  rB   r   N)
r   
__future__r   apitools.base.pyr   9googlecloudsdk.generated_clients.apis.healthcare.v1alpha2r   r  BaseApiClientr   ro   rB   r@   <module>r     s'    ? ' % nb(// b(rB   