pub struct ProjectMethods<'a, C>where
C: 'a,{ /* private fields */ }Expand description
A builder providing access to all methods supported on project resources.
It is not used directly, but through the CloudHealthcare hub.
§Example
Instantiate a resource builder
extern crate hyper;
extern crate hyper_rustls;
extern crate google_healthcare1 as healthcare1;
use healthcare1::{CloudHealthcare, FieldMask, hyper_rustls, hyper_util, yup_oauth2};
let secret: yup_oauth2::ApplicationSecret = Default::default();
let connector = hyper_rustls::HttpsConnectorBuilder::new()
.with_native_roots()
.unwrap()
.https_only()
.enable_http2()
.build();
let executor = hyper_util::rt::TokioExecutor::new();
let auth = yup_oauth2::InstalledFlowAuthenticator::with_client(
secret,
yup_oauth2::InstalledFlowReturnMethod::HTTPRedirect,
yup_oauth2::client::CustomHyperClientBuilder::from(
hyper_util::client::legacy::Client::builder(executor).build(connector),
),
).build().await.unwrap();
let client = hyper_util::client::legacy::Client::builder(
hyper_util::rt::TokioExecutor::new()
)
.build(
hyper_rustls::HttpsConnectorBuilder::new()
.with_native_roots()
.unwrap()
.https_or_http()
.enable_http2()
.build()
);
let mut hub = CloudHealthcare::new(client, auth);
// Usually you wouldn't bind this to a variable, but keep calling *CallBuilders*
// like `locations_datasets_consent_stores_attribute_definitions_create(...)`, `locations_datasets_consent_stores_attribute_definitions_delete(...)`, `locations_datasets_consent_stores_attribute_definitions_get(...)`, `locations_datasets_consent_stores_attribute_definitions_list(...)`, `locations_datasets_consent_stores_attribute_definitions_patch(...)`, `locations_datasets_consent_stores_check_data_access(...)`, `locations_datasets_consent_stores_consent_artifacts_create(...)`, `locations_datasets_consent_stores_consent_artifacts_delete(...)`, `locations_datasets_consent_stores_consent_artifacts_get(...)`, `locations_datasets_consent_stores_consent_artifacts_list(...)`, `locations_datasets_consent_stores_consents_activate(...)`, `locations_datasets_consent_stores_consents_create(...)`, `locations_datasets_consent_stores_consents_delete(...)`, `locations_datasets_consent_stores_consents_delete_revision(...)`, `locations_datasets_consent_stores_consents_get(...)`, `locations_datasets_consent_stores_consents_list(...)`, `locations_datasets_consent_stores_consents_list_revisions(...)`, `locations_datasets_consent_stores_consents_patch(...)`, `locations_datasets_consent_stores_consents_reject(...)`, `locations_datasets_consent_stores_consents_revoke(...)`, `locations_datasets_consent_stores_create(...)`, `locations_datasets_consent_stores_delete(...)`, `locations_datasets_consent_stores_evaluate_user_consents(...)`, `locations_datasets_consent_stores_get(...)`, `locations_datasets_consent_stores_get_iam_policy(...)`, `locations_datasets_consent_stores_list(...)`, `locations_datasets_consent_stores_patch(...)`, `locations_datasets_consent_stores_query_accessible_data(...)`, `locations_datasets_consent_stores_set_iam_policy(...)`, `locations_datasets_consent_stores_test_iam_permissions(...)`, `locations_datasets_consent_stores_user_data_mappings_archive(...)`, `locations_datasets_consent_stores_user_data_mappings_create(...)`, `locations_datasets_consent_stores_user_data_mappings_delete(...)`, `locations_datasets_consent_stores_user_data_mappings_get(...)`, `locations_datasets_consent_stores_user_data_mappings_list(...)`, `locations_datasets_consent_stores_user_data_mappings_patch(...)`, `locations_datasets_create(...)`, `locations_datasets_data_mapper_workspaces_get_iam_policy(...)`, `locations_datasets_data_mapper_workspaces_set_iam_policy(...)`, `locations_datasets_data_mapper_workspaces_test_iam_permissions(...)`, `locations_datasets_deidentify(...)`, `locations_datasets_delete(...)`, `locations_datasets_dicom_stores_create(...)`, `locations_datasets_dicom_stores_deidentify(...)`, `locations_datasets_dicom_stores_delete(...)`, `locations_datasets_dicom_stores_dicom_web_studies_get_study_metrics(...)`, `locations_datasets_dicom_stores_dicom_web_studies_series_get_series_metrics(...)`, `locations_datasets_dicom_stores_dicom_web_studies_series_instances_get_storage_info(...)`, `locations_datasets_dicom_stores_dicom_web_studies_set_blob_storage_settings(...)`, `locations_datasets_dicom_stores_export(...)`, `locations_datasets_dicom_stores_get(...)`, `locations_datasets_dicom_stores_get_dicom_store_metrics(...)`, `locations_datasets_dicom_stores_get_iam_policy(...)`, `locations_datasets_dicom_stores_import(...)`, `locations_datasets_dicom_stores_list(...)`, `locations_datasets_dicom_stores_patch(...)`, `locations_datasets_dicom_stores_search_for_instances(...)`, `locations_datasets_dicom_stores_search_for_series(...)`, `locations_datasets_dicom_stores_search_for_studies(...)`, `locations_datasets_dicom_stores_set_blob_storage_settings(...)`, `locations_datasets_dicom_stores_set_iam_policy(...)`, `locations_datasets_dicom_stores_store_instances(...)`, `locations_datasets_dicom_stores_studies_delete(...)`, `locations_datasets_dicom_stores_studies_retrieve_metadata(...)`, `locations_datasets_dicom_stores_studies_retrieve_study(...)`, `locations_datasets_dicom_stores_studies_search_for_instances(...)`, `locations_datasets_dicom_stores_studies_search_for_series(...)`, `locations_datasets_dicom_stores_studies_series_delete(...)`, `locations_datasets_dicom_stores_studies_series_instances_bulkdata_retrieve_bulkdata(...)`, `locations_datasets_dicom_stores_studies_series_instances_delete(...)`, `locations_datasets_dicom_stores_studies_series_instances_frames_retrieve_frames(...)`, `locations_datasets_dicom_stores_studies_series_instances_frames_retrieve_rendered(...)`, `locations_datasets_dicom_stores_studies_series_instances_retrieve_instance(...)`, `locations_datasets_dicom_stores_studies_series_instances_retrieve_metadata(...)`, `locations_datasets_dicom_stores_studies_series_instances_retrieve_rendered(...)`, `locations_datasets_dicom_stores_studies_series_retrieve_metadata(...)`, `locations_datasets_dicom_stores_studies_series_retrieve_series(...)`, `locations_datasets_dicom_stores_studies_series_search_for_instances(...)`, `locations_datasets_dicom_stores_studies_store_instances(...)`, `locations_datasets_dicom_stores_test_iam_permissions(...)`, `locations_datasets_fhir_stores_apply_admin_consents(...)`, `locations_datasets_fhir_stores_apply_consents(...)`, `locations_datasets_fhir_stores_bulk_export_group(...)`, `locations_datasets_fhir_stores_create(...)`, `locations_datasets_fhir_stores_deidentify(...)`, `locations_datasets_fhir_stores_delete(...)`, `locations_datasets_fhir_stores_explain_data_access(...)`, `locations_datasets_fhir_stores_export(...)`, `locations_datasets_fhir_stores_fhir__binary_create(...)`, `locations_datasets_fhir_stores_fhir__binary_read(...)`, `locations_datasets_fhir_stores_fhir__binary_update(...)`, `locations_datasets_fhir_stores_fhir__binary_vread(...)`, `locations_datasets_fhir_stores_fhir__consent_enforcement_status(...)`, `locations_datasets_fhir_stores_fhir__patient_consent_enforcement_status(...)`, `locations_datasets_fhir_stores_fhir__patient_everything(...)`, `locations_datasets_fhir_stores_fhir__resource_purge(...)`, `locations_datasets_fhir_stores_fhir__resource_validate(...)`, `locations_datasets_fhir_stores_fhir_bulk_export(...)`, `locations_datasets_fhir_stores_fhir_capabilities(...)`, `locations_datasets_fhir_stores_fhir_conditional_delete(...)`, `locations_datasets_fhir_stores_fhir_conditional_patch(...)`, `locations_datasets_fhir_stores_fhir_conditional_update(...)`, `locations_datasets_fhir_stores_fhir_create(...)`, `locations_datasets_fhir_stores_fhir_delete(...)`, `locations_datasets_fhir_stores_fhir_execute_bundle(...)`, `locations_datasets_fhir_stores_fhir_history(...)`, `locations_datasets_fhir_stores_fhir_patch(...)`, `locations_datasets_fhir_stores_fhir_read(...)`, `locations_datasets_fhir_stores_fhir_search(...)`, `locations_datasets_fhir_stores_fhir_search_type(...)`, `locations_datasets_fhir_stores_fhir_update(...)`, `locations_datasets_fhir_stores_fhir_vread(...)`, `locations_datasets_fhir_stores_get(...)`, `locations_datasets_fhir_stores_get_fhir_store_metrics(...)`, `locations_datasets_fhir_stores_get_iam_policy(...)`, `locations_datasets_fhir_stores_import(...)`, `locations_datasets_fhir_stores_list(...)`, `locations_datasets_fhir_stores_operations_delete_fhir_operation(...)`, `locations_datasets_fhir_stores_operations_get_fhir_operation_status(...)`, `locations_datasets_fhir_stores_patch(...)`, `locations_datasets_fhir_stores_rollback(...)`, `locations_datasets_fhir_stores_set_iam_policy(...)`, `locations_datasets_fhir_stores_test_iam_permissions(...)`, `locations_datasets_get(...)`, `locations_datasets_get_iam_policy(...)`, `locations_datasets_hl7_v2_stores_create(...)`, `locations_datasets_hl7_v2_stores_delete(...)`, `locations_datasets_hl7_v2_stores_export(...)`, `locations_datasets_hl7_v2_stores_get(...)`, `locations_datasets_hl7_v2_stores_get_hl7v2_store_metrics(...)`, `locations_datasets_hl7_v2_stores_get_iam_policy(...)`, `locations_datasets_hl7_v2_stores_import(...)`, `locations_datasets_hl7_v2_stores_list(...)`, `locations_datasets_hl7_v2_stores_messages_create(...)`, `locations_datasets_hl7_v2_stores_messages_delete(...)`, `locations_datasets_hl7_v2_stores_messages_get(...)`, `locations_datasets_hl7_v2_stores_messages_ingest(...)`, `locations_datasets_hl7_v2_stores_messages_list(...)`, `locations_datasets_hl7_v2_stores_messages_patch(...)`, `locations_datasets_hl7_v2_stores_patch(...)`, `locations_datasets_hl7_v2_stores_rollback(...)`, `locations_datasets_hl7_v2_stores_set_iam_policy(...)`, `locations_datasets_hl7_v2_stores_test_iam_permissions(...)`, `locations_datasets_list(...)`, `locations_datasets_operations_cancel(...)`, `locations_datasets_operations_get(...)`, `locations_datasets_operations_list(...)`, `locations_datasets_patch(...)`, `locations_datasets_set_iam_policy(...)`, `locations_datasets_test_iam_permissions(...)`, `locations_get(...)`, `locations_list(...)` and `locations_services_nlp_analyze_entities(...)`
// to build up your call.
let rb = hub.projects();Implementations§
Source§impl<'a, C> ProjectMethods<'a, C>
impl<'a, C> ProjectMethods<'a, C>
Sourcepub fn locations_datasets_consent_stores_attribute_definitions_create(
&self,
request: AttributeDefinition,
parent: &str,
) -> ProjectLocationDatasetConsentStoreAttributeDefinitionCreateCall<'a, C>
pub fn locations_datasets_consent_stores_attribute_definitions_create( &self, request: AttributeDefinition, parent: &str, ) -> ProjectLocationDatasetConsentStoreAttributeDefinitionCreateCall<'a, C>
Create a builder to help you perform the following task:
Creates a new Attribute definition in the parent consent store.
§Arguments
request- No description provided.parent- Required. The name of the consent store that this Attribute definition belongs to.
Sourcepub fn locations_datasets_consent_stores_attribute_definitions_delete(
&self,
name: &str,
) -> ProjectLocationDatasetConsentStoreAttributeDefinitionDeleteCall<'a, C>
pub fn locations_datasets_consent_stores_attribute_definitions_delete( &self, name: &str, ) -> ProjectLocationDatasetConsentStoreAttributeDefinitionDeleteCall<'a, C>
Create a builder to help you perform the following task:
Deletes the specified Attribute definition. Fails if the Attribute definition is referenced by any User data mapping, or the latest revision of any Consent.
§Arguments
name- Required. The resource name of the Attribute definition to delete. To preserve referential integrity, Attribute definitions referenced by a User data mapping or the latest revision of a Consent cannot be deleted.
Sourcepub fn locations_datasets_consent_stores_attribute_definitions_get(
&self,
name: &str,
) -> ProjectLocationDatasetConsentStoreAttributeDefinitionGetCall<'a, C>
pub fn locations_datasets_consent_stores_attribute_definitions_get( &self, name: &str, ) -> ProjectLocationDatasetConsentStoreAttributeDefinitionGetCall<'a, C>
Create a builder to help you perform the following task:
Gets the specified Attribute definition.
§Arguments
name- Required. The resource name of the Attribute definition to get.
Sourcepub fn locations_datasets_consent_stores_attribute_definitions_list(
&self,
parent: &str,
) -> ProjectLocationDatasetConsentStoreAttributeDefinitionListCall<'a, C>
pub fn locations_datasets_consent_stores_attribute_definitions_list( &self, parent: &str, ) -> ProjectLocationDatasetConsentStoreAttributeDefinitionListCall<'a, C>
Create a builder to help you perform the following task:
Lists the Attribute definitions in the specified consent store.
§Arguments
parent- Required. Name of the consent store to retrieve Attribute definitions from.
Sourcepub fn locations_datasets_consent_stores_attribute_definitions_patch(
&self,
request: AttributeDefinition,
name: &str,
) -> ProjectLocationDatasetConsentStoreAttributeDefinitionPatchCall<'a, C>
pub fn locations_datasets_consent_stores_attribute_definitions_patch( &self, request: AttributeDefinition, name: &str, ) -> ProjectLocationDatasetConsentStoreAttributeDefinitionPatchCall<'a, C>
Create a builder to help you perform the following task:
Updates the specified Attribute definition.
§Arguments
request- No description provided.name- Identifier. Resource name of the Attribute definition, of the formprojects/{project_id}/locations/{location_id}/datasets/{dataset_id}/consentStores/{consent_store_id}/attributeDefinitions/{attribute_definition_id}. Cannot be changed after creation.
Sourcepub fn locations_datasets_consent_stores_consent_artifacts_create(
&self,
request: ConsentArtifact,
parent: &str,
) -> ProjectLocationDatasetConsentStoreConsentArtifactCreateCall<'a, C>
pub fn locations_datasets_consent_stores_consent_artifacts_create( &self, request: ConsentArtifact, parent: &str, ) -> ProjectLocationDatasetConsentStoreConsentArtifactCreateCall<'a, C>
Create a builder to help you perform the following task:
Creates a new Consent artifact in the parent consent store.
§Arguments
request- No description provided.parent- Required. The name of the consent store this Consent artifact belongs to.
Sourcepub fn locations_datasets_consent_stores_consent_artifacts_delete(
&self,
name: &str,
) -> ProjectLocationDatasetConsentStoreConsentArtifactDeleteCall<'a, C>
pub fn locations_datasets_consent_stores_consent_artifacts_delete( &self, name: &str, ) -> ProjectLocationDatasetConsentStoreConsentArtifactDeleteCall<'a, C>
Create a builder to help you perform the following task:
Deletes the specified Consent artifact. Fails if the artifact is referenced by the latest revision of any Consent.
§Arguments
name- Required. The resource name of the Consent artifact to delete. To preserve referential integrity, Consent artifacts referenced by the latest revision of a Consent cannot be deleted.
Sourcepub fn locations_datasets_consent_stores_consent_artifacts_get(
&self,
name: &str,
) -> ProjectLocationDatasetConsentStoreConsentArtifactGetCall<'a, C>
pub fn locations_datasets_consent_stores_consent_artifacts_get( &self, name: &str, ) -> ProjectLocationDatasetConsentStoreConsentArtifactGetCall<'a, C>
Create a builder to help you perform the following task:
Gets the specified Consent artifact.
§Arguments
name- Required. The resource name of the Consent artifact to retrieve.
Sourcepub fn locations_datasets_consent_stores_consent_artifacts_list(
&self,
parent: &str,
) -> ProjectLocationDatasetConsentStoreConsentArtifactListCall<'a, C>
pub fn locations_datasets_consent_stores_consent_artifacts_list( &self, parent: &str, ) -> ProjectLocationDatasetConsentStoreConsentArtifactListCall<'a, C>
Create a builder to help you perform the following task:
Lists the Consent artifacts in the specified consent store.
§Arguments
parent- Required. Name of the consent store to retrieve consent artifacts from.
Sourcepub fn locations_datasets_consent_stores_consents_activate(
&self,
request: ActivateConsentRequest,
name: &str,
) -> ProjectLocationDatasetConsentStoreConsentActivateCall<'a, C>
pub fn locations_datasets_consent_stores_consents_activate( &self, request: ActivateConsentRequest, name: &str, ) -> ProjectLocationDatasetConsentStoreConsentActivateCall<'a, C>
Create a builder to help you perform the following task:
Activates the latest revision of the specified Consent by committing a new revision with state updated to ACTIVE. If the latest revision of the specified Consent is in the ACTIVE state, no new revision is committed. A FAILED_PRECONDITION error occurs if the latest revision of the specified Consent is in the REJECTED or REVOKED state.
§Arguments
request- No description provided.name- Required. The resource name of the Consent to activate, of the formprojects/{project_id}/locations/{location_id}/datasets/{dataset_id}/consentStores/{consent_store_id}/consents/{consent_id}. An INVALID_ARGUMENT error occurs ifrevision_idis specified in the name.
Sourcepub fn locations_datasets_consent_stores_consents_create(
&self,
request: Consent,
parent: &str,
) -> ProjectLocationDatasetConsentStoreConsentCreateCall<'a, C>
pub fn locations_datasets_consent_stores_consents_create( &self, request: Consent, parent: &str, ) -> ProjectLocationDatasetConsentStoreConsentCreateCall<'a, C>
Create a builder to help you perform the following task:
Creates a new Consent in the parent consent store.
§Arguments
request- No description provided.parent- Required. Name of the consent store.
Sourcepub fn locations_datasets_consent_stores_consents_delete(
&self,
name: &str,
) -> ProjectLocationDatasetConsentStoreConsentDeleteCall<'a, C>
pub fn locations_datasets_consent_stores_consents_delete( &self, name: &str, ) -> ProjectLocationDatasetConsentStoreConsentDeleteCall<'a, C>
Create a builder to help you perform the following task:
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.
§Arguments
name- Required. The resource name of the Consent to delete, of the formprojects/{project_id}/locations/{location_id}/datasets/{dataset_id}/consentStores/{consent_store_id}/consents/{consent_id}. An INVALID_ARGUMENT error occurs ifrevision_idis specified in the name.
Sourcepub fn locations_datasets_consent_stores_consents_delete_revision(
&self,
name: &str,
) -> ProjectLocationDatasetConsentStoreConsentDeleteRevisionCall<'a, C>
pub fn locations_datasets_consent_stores_consents_delete_revision( &self, name: &str, ) -> ProjectLocationDatasetConsentStoreConsentDeleteRevisionCall<'a, C>
Create a builder to help you perform the following task:
Deletes the specified revision of a Consent. An INVALID_ARGUMENT error occurs if the specified revision is the latest revision.
§Arguments
name- Required. The resource name of the Consent revision to delete, of the formprojects/{project_id}/locations/{location_id}/datasets/{dataset_id}/consentStores/{consent_store_id}/consents/{consent_id}@{revision_id}. An INVALID_ARGUMENT error occurs ifrevision_idis not specified in the name.
Sourcepub fn locations_datasets_consent_stores_consents_get(
&self,
name: &str,
) -> ProjectLocationDatasetConsentStoreConsentGetCall<'a, C>
pub fn locations_datasets_consent_stores_consents_get( &self, name: &str, ) -> ProjectLocationDatasetConsentStoreConsentGetCall<'a, C>
Create a builder to help you perform the following task:
Gets the specified revision of a Consent, or the latest revision if revision_id is not specified in the resource name.
§Arguments
name- Required. The resource name of the Consent to retrieve, of the formprojects/{project_id}/locations/{location_id}/datasets/{dataset_id}/consentStores/{consent_store_id}/consents/{consent_id}. In order to retrieve a previous revision of the Consent, also provide the revision ID:projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/consentStores/{consent_store_id}/consents/{consent_id}@{revision_id}
Sourcepub fn locations_datasets_consent_stores_consents_list(
&self,
parent: &str,
) -> ProjectLocationDatasetConsentStoreConsentListCall<'a, C>
pub fn locations_datasets_consent_stores_consents_list( &self, parent: &str, ) -> ProjectLocationDatasetConsentStoreConsentListCall<'a, C>
Create a builder to help you perform the following task:
Lists the Consent in the given consent store, returning each Consent’s latest revision.
§Arguments
parent- Required. Name of the consent store to retrieve Consents from.
Sourcepub fn locations_datasets_consent_stores_consents_list_revisions(
&self,
name: &str,
) -> ProjectLocationDatasetConsentStoreConsentListRevisionCall<'a, C>
pub fn locations_datasets_consent_stores_consents_list_revisions( &self, name: &str, ) -> ProjectLocationDatasetConsentStoreConsentListRevisionCall<'a, C>
Create a builder to help you perform the following task:
Lists the revisions of the specified Consent in reverse chronological order.
§Arguments
name- Required. The resource name of the Consent to retrieve revisions for.
Sourcepub fn locations_datasets_consent_stores_consents_patch(
&self,
request: Consent,
name: &str,
) -> ProjectLocationDatasetConsentStoreConsentPatchCall<'a, C>
pub fn locations_datasets_consent_stores_consents_patch( &self, request: Consent, name: &str, ) -> ProjectLocationDatasetConsentStoreConsentPatchCall<'a, C>
Create a builder to help you perform the following task:
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.
§Arguments
request- No description provided.name- Identifier. Resource name of the Consent, of the formprojects/{project_id}/locations/{location_id}/datasets/{dataset_id}/consentStores/{consent_store_id}/consents/{consent_id}. Cannot be changed after creation.
Sourcepub fn locations_datasets_consent_stores_consents_reject(
&self,
request: RejectConsentRequest,
name: &str,
) -> ProjectLocationDatasetConsentStoreConsentRejectCall<'a, C>
pub fn locations_datasets_consent_stores_consents_reject( &self, request: RejectConsentRequest, name: &str, ) -> ProjectLocationDatasetConsentStoreConsentRejectCall<'a, C>
Create a builder to help you perform the following task:
Rejects the latest revision of the specified Consent by committing a new revision with state updated to REJECTED. If the latest revision of the specified Consent is in the REJECTED state, no new revision is committed. A FAILED_PRECONDITION error occurs if the latest revision of the specified Consent is in the ACTIVE or REVOKED state.
§Arguments
request- No description provided.name- Required. The resource name of the Consent to reject, of the formprojects/{project_id}/locations/{location_id}/datasets/{dataset_id}/consentStores/{consent_store_id}/consents/{consent_id}. An INVALID_ARGUMENT error occurs ifrevision_idis specified in the name.
Sourcepub fn locations_datasets_consent_stores_consents_revoke(
&self,
request: RevokeConsentRequest,
name: &str,
) -> ProjectLocationDatasetConsentStoreConsentRevokeCall<'a, C>
pub fn locations_datasets_consent_stores_consents_revoke( &self, request: RevokeConsentRequest, name: &str, ) -> ProjectLocationDatasetConsentStoreConsentRevokeCall<'a, C>
Create a builder to help you perform the following task:
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.
§Arguments
request- No description provided.name- Required. The resource name of the Consent to revoke, of the formprojects/{project_id}/locations/{location_id}/datasets/{dataset_id}/consentStores/{consent_store_id}/consents/{consent_id}. An INVALID_ARGUMENT error occurs ifrevision_idis specified in the name.
Sourcepub fn locations_datasets_consent_stores_user_data_mappings_archive(
&self,
request: ArchiveUserDataMappingRequest,
name: &str,
) -> ProjectLocationDatasetConsentStoreUserDataMappingArchiveCall<'a, C>
pub fn locations_datasets_consent_stores_user_data_mappings_archive( &self, request: ArchiveUserDataMappingRequest, name: &str, ) -> ProjectLocationDatasetConsentStoreUserDataMappingArchiveCall<'a, C>
Create a builder to help you perform the following task:
Archives the specified User data mapping.
§Arguments
request- No description provided.name- Required. The resource name of the User data mapping to archive.
Sourcepub fn locations_datasets_consent_stores_user_data_mappings_create(
&self,
request: UserDataMapping,
parent: &str,
) -> ProjectLocationDatasetConsentStoreUserDataMappingCreateCall<'a, C>
pub fn locations_datasets_consent_stores_user_data_mappings_create( &self, request: UserDataMapping, parent: &str, ) -> ProjectLocationDatasetConsentStoreUserDataMappingCreateCall<'a, C>
Create a builder to help you perform the following task:
Creates a new User data mapping in the parent consent store.
§Arguments
request- No description provided.parent- Required. Name of the consent store.
Sourcepub fn locations_datasets_consent_stores_user_data_mappings_delete(
&self,
name: &str,
) -> ProjectLocationDatasetConsentStoreUserDataMappingDeleteCall<'a, C>
pub fn locations_datasets_consent_stores_user_data_mappings_delete( &self, name: &str, ) -> ProjectLocationDatasetConsentStoreUserDataMappingDeleteCall<'a, C>
Create a builder to help you perform the following task:
Deletes the specified User data mapping.
§Arguments
name- Required. The resource name of the User data mapping to delete.
Sourcepub fn locations_datasets_consent_stores_user_data_mappings_get(
&self,
name: &str,
) -> ProjectLocationDatasetConsentStoreUserDataMappingGetCall<'a, C>
pub fn locations_datasets_consent_stores_user_data_mappings_get( &self, name: &str, ) -> ProjectLocationDatasetConsentStoreUserDataMappingGetCall<'a, C>
Create a builder to help you perform the following task:
Gets the specified User data mapping.
§Arguments
name- Required. The resource name of the User data mapping to retrieve.
Sourcepub fn locations_datasets_consent_stores_user_data_mappings_list(
&self,
parent: &str,
) -> ProjectLocationDatasetConsentStoreUserDataMappingListCall<'a, C>
pub fn locations_datasets_consent_stores_user_data_mappings_list( &self, parent: &str, ) -> ProjectLocationDatasetConsentStoreUserDataMappingListCall<'a, C>
Create a builder to help you perform the following task:
Lists the User data mappings in the specified consent store.
§Arguments
parent- Required. Name of the consent store to retrieve User data mappings from.
Sourcepub fn locations_datasets_consent_stores_user_data_mappings_patch(
&self,
request: UserDataMapping,
name: &str,
) -> ProjectLocationDatasetConsentStoreUserDataMappingPatchCall<'a, C>
pub fn locations_datasets_consent_stores_user_data_mappings_patch( &self, request: UserDataMapping, name: &str, ) -> ProjectLocationDatasetConsentStoreUserDataMappingPatchCall<'a, C>
Create a builder to help you perform the following task:
Updates the specified User data mapping.
§Arguments
request- No description provided.name- Resource name of the User data mapping, of the formprojects/{project_id}/locations/{location_id}/datasets/{dataset_id}/consentStores/{consent_store_id}/userDataMappings/{user_data_mapping_id}.
Sourcepub fn locations_datasets_consent_stores_check_data_access(
&self,
request: CheckDataAccessRequest,
consent_store: &str,
) -> ProjectLocationDatasetConsentStoreCheckDataAccesCall<'a, C>
pub fn locations_datasets_consent_stores_check_data_access( &self, request: CheckDataAccessRequest, consent_store: &str, ) -> ProjectLocationDatasetConsentStoreCheckDataAccesCall<'a, C>
Create a builder to help you perform the following task:
Checks if a particular data_id of a User data mapping in the specified consent store is consented for the specified use.
§Arguments
request- No description provided.consentStore- Required. Name of the consent store where the requested data_id is stored, of the formprojects/{project_id}/locations/{location_id}/datasets/{dataset_id}/consentStores/{consent_store_id}.
Sourcepub fn locations_datasets_consent_stores_create(
&self,
request: ConsentStore,
parent: &str,
) -> ProjectLocationDatasetConsentStoreCreateCall<'a, C>
pub fn locations_datasets_consent_stores_create( &self, request: ConsentStore, parent: &str, ) -> ProjectLocationDatasetConsentStoreCreateCall<'a, C>
Create a builder to help you perform the following task:
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.
§Arguments
request- No description provided.parent- Required. The name of the dataset this consent store belongs to.
Sourcepub fn locations_datasets_consent_stores_delete(
&self,
name: &str,
) -> ProjectLocationDatasetConsentStoreDeleteCall<'a, C>
pub fn locations_datasets_consent_stores_delete( &self, name: &str, ) -> ProjectLocationDatasetConsentStoreDeleteCall<'a, C>
Create a builder to help you perform the following task:
Deletes the specified consent store and removes all the consent store’s data.
§Arguments
name- Required. The resource name of the consent store to delete.
Sourcepub fn locations_datasets_consent_stores_evaluate_user_consents(
&self,
request: EvaluateUserConsentsRequest,
consent_store: &str,
) -> ProjectLocationDatasetConsentStoreEvaluateUserConsentCall<'a, C>
pub fn locations_datasets_consent_stores_evaluate_user_consents( &self, request: EvaluateUserConsentsRequest, consent_store: &str, ) -> ProjectLocationDatasetConsentStoreEvaluateUserConsentCall<'a, C>
Create a builder to help you perform the following task:
Evaluates the 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.
§Arguments
request- No description provided.consentStore- Required. Name of the consent store to retrieve User data mappings from.
Sourcepub fn locations_datasets_consent_stores_get(
&self,
name: &str,
) -> ProjectLocationDatasetConsentStoreGetCall<'a, C>
pub fn locations_datasets_consent_stores_get( &self, name: &str, ) -> ProjectLocationDatasetConsentStoreGetCall<'a, C>
Create a builder to help you perform the following task:
Gets the specified consent store.
§Arguments
name- Required. The resource name of the consent store to get.
Sourcepub fn locations_datasets_consent_stores_get_iam_policy(
&self,
resource: &str,
) -> ProjectLocationDatasetConsentStoreGetIamPolicyCall<'a, C>
pub fn locations_datasets_consent_stores_get_iam_policy( &self, resource: &str, ) -> ProjectLocationDatasetConsentStoreGetIamPolicyCall<'a, C>
Create a builder to help you perform the following task:
Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.
§Arguments
resource- REQUIRED: The resource for which the policy is being requested. See Resource names for the appropriate value for this field.
Sourcepub fn locations_datasets_consent_stores_list(
&self,
parent: &str,
) -> ProjectLocationDatasetConsentStoreListCall<'a, C>
pub fn locations_datasets_consent_stores_list( &self, parent: &str, ) -> ProjectLocationDatasetConsentStoreListCall<'a, C>
Create a builder to help you perform the following task:
Lists the consent stores in the specified dataset.
§Arguments
parent- Required. Name of the dataset.
Sourcepub fn locations_datasets_consent_stores_patch(
&self,
request: ConsentStore,
name: &str,
) -> ProjectLocationDatasetConsentStorePatchCall<'a, C>
pub fn locations_datasets_consent_stores_patch( &self, request: ConsentStore, name: &str, ) -> ProjectLocationDatasetConsentStorePatchCall<'a, C>
Create a builder to help you perform the following task:
Updates the specified consent store.
§Arguments
request- No description provided.name- Identifier. Resource name of the consent store, of the formprojects/{project_id}/locations/{location_id}/datasets/{dataset_id}/consentStores/{consent_store_id}. Cannot be changed after creation.
Sourcepub fn locations_datasets_consent_stores_query_accessible_data(
&self,
request: QueryAccessibleDataRequest,
consent_store: &str,
) -> ProjectLocationDatasetConsentStoreQueryAccessibleDataCall<'a, C>
pub fn locations_datasets_consent_stores_query_accessible_data( &self, request: QueryAccessibleDataRequest, consent_store: &str, ) -> ProjectLocationDatasetConsentStoreQueryAccessibleDataCall<'a, C>
Create a builder to help you perform the following task:
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). 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"
§Arguments
request- No description provided.consentStore- Required. Name of the consent store to retrieve User data mappings from.
Sourcepub fn locations_datasets_consent_stores_set_iam_policy(
&self,
request: SetIamPolicyRequest,
resource: &str,
) -> ProjectLocationDatasetConsentStoreSetIamPolicyCall<'a, C>
pub fn locations_datasets_consent_stores_set_iam_policy( &self, request: SetIamPolicyRequest, resource: &str, ) -> ProjectLocationDatasetConsentStoreSetIamPolicyCall<'a, C>
Create a builder to help you perform the following task:
Sets the access control policy on the specified resource. Replaces any existing policy. Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED errors.
§Arguments
request- No description provided.resource- REQUIRED: The resource for which the policy is being specified. See Resource names for the appropriate value for this field.
Sourcepub fn locations_datasets_consent_stores_test_iam_permissions(
&self,
request: TestIamPermissionsRequest,
resource: &str,
) -> ProjectLocationDatasetConsentStoreTestIamPermissionCall<'a, C>
pub fn locations_datasets_consent_stores_test_iam_permissions( &self, request: TestIamPermissionsRequest, resource: &str, ) -> ProjectLocationDatasetConsentStoreTestIamPermissionCall<'a, C>
Create a builder to help you perform the following task:
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.
§Arguments
request- No description provided.resource- REQUIRED: The resource for which the policy detail is being requested. See Resource names for the appropriate value for this field.
Sourcepub fn locations_datasets_data_mapper_workspaces_get_iam_policy(
&self,
resource: &str,
) -> ProjectLocationDatasetDataMapperWorkspaceGetIamPolicyCall<'a, C>
pub fn locations_datasets_data_mapper_workspaces_get_iam_policy( &self, resource: &str, ) -> ProjectLocationDatasetDataMapperWorkspaceGetIamPolicyCall<'a, C>
Create a builder to help you perform the following task:
Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.
§Arguments
resource- REQUIRED: The resource for which the policy is being requested. See Resource names for the appropriate value for this field.
Sourcepub fn locations_datasets_data_mapper_workspaces_set_iam_policy(
&self,
request: SetIamPolicyRequest,
resource: &str,
) -> ProjectLocationDatasetDataMapperWorkspaceSetIamPolicyCall<'a, C>
pub fn locations_datasets_data_mapper_workspaces_set_iam_policy( &self, request: SetIamPolicyRequest, resource: &str, ) -> ProjectLocationDatasetDataMapperWorkspaceSetIamPolicyCall<'a, C>
Create a builder to help you perform the following task:
Sets the access control policy on the specified resource. Replaces any existing policy. Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED errors.
§Arguments
request- No description provided.resource- REQUIRED: The resource for which the policy is being specified. See Resource names for the appropriate value for this field.
Sourcepub fn locations_datasets_data_mapper_workspaces_test_iam_permissions(
&self,
request: TestIamPermissionsRequest,
resource: &str,
) -> ProjectLocationDatasetDataMapperWorkspaceTestIamPermissionCall<'a, C>
pub fn locations_datasets_data_mapper_workspaces_test_iam_permissions( &self, request: TestIamPermissionsRequest, resource: &str, ) -> ProjectLocationDatasetDataMapperWorkspaceTestIamPermissionCall<'a, C>
Create a builder to help you perform the following task:
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.
§Arguments
request- No description provided.resource- REQUIRED: The resource for which the policy detail is being requested. See Resource names for the appropriate value for this field.
Sourcepub fn locations_datasets_dicom_stores_dicom_web_studies_series_instances_get_storage_info(
&self,
resource: &str,
) -> ProjectLocationDatasetDicomStoreDicomWebStudySeriesInstanceGetStorageInfoCall<'a, C>
pub fn locations_datasets_dicom_stores_dicom_web_studies_series_instances_get_storage_info( &self, resource: &str, ) -> ProjectLocationDatasetDicomStoreDicomWebStudySeriesInstanceGetStorageInfoCall<'a, C>
Create a builder to help you perform the following task:
GetStorageInfo returns the storage info of the specified resource.
§Arguments
resource- Required. The path of the instance to return storage info for, in the form:projects/{projectID}/locations/{locationID}/datasets/{datasetID}/dicomStores/{dicomStoreID}/dicomWeb/studies/{studyUID}/series/{seriesUID}/instances/{instanceUID}
Sourcepub fn locations_datasets_dicom_stores_dicom_web_studies_series_get_series_metrics(
&self,
series: &str,
) -> ProjectLocationDatasetDicomStoreDicomWebStudySeriesGetSeriesMetricCall<'a, C>
pub fn locations_datasets_dicom_stores_dicom_web_studies_series_get_series_metrics( &self, series: &str, ) -> ProjectLocationDatasetDicomStoreDicomWebStudySeriesGetSeriesMetricCall<'a, C>
Create a builder to help you perform the following task:
GetSeriesMetrics returns metrics for a series.
§Arguments
series- Required. The series resource path. For example,projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}/dicomWeb/studies/{study_uid}/series/{series_uid}.
Sourcepub fn locations_datasets_dicom_stores_dicom_web_studies_get_study_metrics(
&self,
study: &str,
) -> ProjectLocationDatasetDicomStoreDicomWebStudyGetStudyMetricCall<'a, C>
pub fn locations_datasets_dicom_stores_dicom_web_studies_get_study_metrics( &self, study: &str, ) -> ProjectLocationDatasetDicomStoreDicomWebStudyGetStudyMetricCall<'a, C>
Create a builder to help you perform the following task:
GetStudyMetrics returns metrics for a study.
§Arguments
study- Required. The study resource path. For example,projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}/dicomWeb/studies/{study_uid}.
Sourcepub fn locations_datasets_dicom_stores_dicom_web_studies_set_blob_storage_settings(
&self,
request: SetBlobStorageSettingsRequest,
resource: &str,
) -> ProjectLocationDatasetDicomStoreDicomWebStudySetBlobStorageSettingCall<'a, C>
pub fn locations_datasets_dicom_stores_dicom_web_studies_set_blob_storage_settings( &self, request: SetBlobStorageSettingsRequest, resource: &str, ) -> ProjectLocationDatasetDicomStoreDicomWebStudySetBlobStorageSettingCall<'a, C>
Create a builder to help you perform the following task:
SetBlobStorageSettings sets the blob storage settings of the specified resources.
§Arguments
request- No description provided.resource- Required. The path of the resource to update the blob storage settings in the format ofprojects/{projectID}/locations/{locationID}/datasets/{datasetID}/dicomStores/{dicomStoreID}/dicomWeb/studies/{studyUID},projects/{projectID}/locations/{locationID}/datasets/{datasetID}/dicomStores/{dicomStoreID}/dicomWeb/studies/{studyUID}/series/{seriesUID}/, orprojects/{projectID}/locations/{locationID}/datasets/{datasetID}/dicomStores/{dicomStoreID}/dicomWeb/studies/{studyUID}/series/{seriesUID}/instances/{instanceUID}. Iffilter_configis specified, set the value ofresourceto the resource name of a DICOM store in the formatprojects/{projectID}/locations/{locationID}/datasets/{datasetID}/dicomStores/{dicomStoreID}.
Sourcepub fn locations_datasets_dicom_stores_studies_series_instances_bulkdata_retrieve_bulkdata(
&self,
parent: &str,
dicom_web_path: &str,
) -> ProjectLocationDatasetDicomStoreStudySeriesInstanceBulkdataRetrieveBulkdataCall<'a, C>
pub fn locations_datasets_dicom_stores_studies_series_instances_bulkdata_retrieve_bulkdata( &self, parent: &str, dicom_web_path: &str, ) -> ProjectLocationDatasetDicomStoreStudySeriesInstanceBulkdataRetrieveBulkdataCall<'a, C>
Create a builder to help you perform the following task:
Returns uncompressed, unencoded bytes representing the referenced bulkdata tag from an instance. See Retrieve Transaction. For details on the implementation of RetrieveBulkdata, see Bulkdata resources in the Cloud Healthcare API conformance statement. For samples that show how to call RetrieveBulkdata, see Retrieve bulkdata.
§Arguments
parent- Required. The name of the DICOM store that is being accessed. For example,projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}.dicomWebPath- Required. The path for theRetrieveBulkdataDICOMweb request. For example,studies/{study_uid}/series/{series_uid}/instances/{instance_uid}/bukdata/{bulkdata_uri}.
Sourcepub fn locations_datasets_dicom_stores_studies_series_instances_frames_retrieve_frames(
&self,
parent: &str,
dicom_web_path: &str,
) -> ProjectLocationDatasetDicomStoreStudySeriesInstanceFrameRetrieveFrameCall<'a, C>
pub fn locations_datasets_dicom_stores_studies_series_instances_frames_retrieve_frames( &self, parent: &str, dicom_web_path: &str, ) -> ProjectLocationDatasetDicomStoreStudySeriesInstanceFrameRetrieveFrameCall<'a, C>
Create a builder to help you perform the following task:
RetrieveFrames returns instances associated with the given study, series, SOP Instance UID and frame numbers. See [RetrieveTransaction] (https://dicom.nema.org/medical/dicom/current/output/html/part18.html#sect_10.4}. For details on the implementation of RetrieveFrames, see DICOM frames in the Cloud Healthcare API conformance statement. For samples that show how to call RetrieveFrames, see Retrieve DICOM data.
§Arguments
parent- Required. The name of the DICOM store that is being accessed. For example,projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}.dicomWebPath- Required. The path of the RetrieveFrames DICOMweb request. For example,studies/{study_uid}/series/{series_uid}/instances/{instance_uid}/frames/{frame_list}.
Sourcepub fn locations_datasets_dicom_stores_studies_series_instances_frames_retrieve_rendered(
&self,
parent: &str,
dicom_web_path: &str,
) -> ProjectLocationDatasetDicomStoreStudySeriesInstanceFrameRetrieveRenderedCall<'a, C>
pub fn locations_datasets_dicom_stores_studies_series_instances_frames_retrieve_rendered( &self, parent: &str, dicom_web_path: &str, ) -> ProjectLocationDatasetDicomStoreStudySeriesInstanceFrameRetrieveRenderedCall<'a, C>
Create a builder to help you perform the following task:
RetrieveRenderedFrames returns instances associated with the given study, series, SOP Instance UID and frame numbers in an acceptable Rendered Media Type. See [RetrieveTransaction] (https://dicom.nema.org/medical/dicom/current/output/html/part18.html#sect_10.4). For details on the implementation of RetrieveRenderedFrames, see Rendered resources in the Cloud Healthcare API conformance statement. For samples that show how to call RetrieveRenderedFrames, see Retrieve consumer image formats.
§Arguments
parent- Required. The name of the DICOM store that is being accessed. For example,projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}.dicomWebPath- Required. The path of the RetrieveRenderedFrames DICOMweb request. For example,studies/{study_uid}/series/{series_uid}/instances/{instance_uid}/frames/{frame_list}/rendered.
Sourcepub fn locations_datasets_dicom_stores_studies_series_instances_delete(
&self,
parent: &str,
dicom_web_path: &str,
) -> ProjectLocationDatasetDicomStoreStudySeriesInstanceDeleteCall<'a, C>
pub fn locations_datasets_dicom_stores_studies_series_instances_delete( &self, parent: &str, dicom_web_path: &str, ) -> ProjectLocationDatasetDicomStoreStudySeriesInstanceDeleteCall<'a, C>
Create a builder to help you perform the following task:
DeleteInstance deletes an instance associated with the given study, series, and SOP Instance UID. Delete requests are equivalent to the GET requests specified in the Retrieve transaction. Study and series search results can take a few seconds to be updated after an instance is deleted using DeleteInstance. For samples that show how to call DeleteInstance, see Delete a study, series, or instance.
§Arguments
parent- Required. The name of the DICOM store that is being accessed. For example,projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}.dicomWebPath- Required. The path of the DeleteInstance request. For example,studies/{study_uid}/series/{series_uid}/instances/{instance_uid}.
Sourcepub fn locations_datasets_dicom_stores_studies_series_instances_retrieve_instance(
&self,
parent: &str,
dicom_web_path: &str,
) -> ProjectLocationDatasetDicomStoreStudySeriesInstanceRetrieveInstanceCall<'a, C>
pub fn locations_datasets_dicom_stores_studies_series_instances_retrieve_instance( &self, parent: &str, dicom_web_path: &str, ) -> ProjectLocationDatasetDicomStoreStudySeriesInstanceRetrieveInstanceCall<'a, C>
Create a builder to help you perform the following task:
RetrieveInstance returns instance associated with the given study, series, and SOP Instance UID. See [RetrieveTransaction] (https://dicom.nema.org/medical/dicom/current/output/html/part18.html#sect_10.4). For details on the implementation of RetrieveInstance, see DICOM study/series/instances and DICOM instances in the Cloud Healthcare API conformance statement. For samples that show how to call RetrieveInstance, see Retrieve an instance.
§Arguments
parent- Required. The name of the DICOM store that is being accessed. For example,projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}.dicomWebPath- Required. The path of the RetrieveInstance DICOMweb request. For example,studies/{study_uid}/series/{series_uid}/instances/{instance_uid}.
Sourcepub fn locations_datasets_dicom_stores_studies_series_instances_retrieve_metadata(
&self,
parent: &str,
dicom_web_path: &str,
) -> ProjectLocationDatasetDicomStoreStudySeriesInstanceRetrieveMetadataCall<'a, C>
pub fn locations_datasets_dicom_stores_studies_series_instances_retrieve_metadata( &self, parent: &str, dicom_web_path: &str, ) -> ProjectLocationDatasetDicomStoreStudySeriesInstanceRetrieveMetadataCall<'a, C>
Create a builder to help you perform the following task:
RetrieveInstanceMetadata returns instance associated with the given study, series, and SOP Instance UID presented as metadata. See [RetrieveTransaction] (https://dicom.nema.org/medical/dicom/current/output/html/part18.html#sect_10.4). For details on the implementation of RetrieveInstanceMetadata, see Metadata resources in the Cloud Healthcare API conformance statement. For samples that show how to call RetrieveInstanceMetadata, see Retrieve metadata.
§Arguments
parent- Required. The name of the DICOM store that is being accessed. For example,projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}.dicomWebPath- Required. The path of the RetrieveInstanceMetadata DICOMweb request. For example,studies/{study_uid}/series/{series_uid}/instances/{instance_uid}/metadata.
Sourcepub fn locations_datasets_dicom_stores_studies_series_instances_retrieve_rendered(
&self,
parent: &str,
dicom_web_path: &str,
) -> ProjectLocationDatasetDicomStoreStudySeriesInstanceRetrieveRenderedCall<'a, C>
pub fn locations_datasets_dicom_stores_studies_series_instances_retrieve_rendered( &self, parent: &str, dicom_web_path: &str, ) -> ProjectLocationDatasetDicomStoreStudySeriesInstanceRetrieveRenderedCall<'a, C>
Create a builder to help you perform the following task:
RetrieveRenderedInstance returns instance associated with the given study, series, and SOP Instance UID in an acceptable Rendered Media Type. See [RetrieveTransaction] (https://dicom.nema.org/medical/dicom/current/output/html/part18.html#sect_10.4). For details on the implementation of RetrieveRenderedInstance, see Rendered resources in the Cloud Healthcare API conformance statement. For samples that show how to call RetrieveRenderedInstance, see Retrieve consumer image formats.
§Arguments
parent- Required. The name of the DICOM store that is being accessed. For example,projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}.dicomWebPath- Required. The path of the RetrieveRenderedInstance DICOMweb request. For example,studies/{study_uid}/series/{series_uid}/instances/{instance_uid}/rendered.
Sourcepub fn locations_datasets_dicom_stores_studies_series_delete(
&self,
parent: &str,
dicom_web_path: &str,
) -> ProjectLocationDatasetDicomStoreStudySeriesDeleteCall<'a, C>
pub fn locations_datasets_dicom_stores_studies_series_delete( &self, parent: &str, dicom_web_path: &str, ) -> ProjectLocationDatasetDicomStoreStudySeriesDeleteCall<'a, C>
Create a builder to help you perform the following task:
DeleteSeries deletes all instances within the given study and series. Delete requests are equivalent to the GET requests specified in the Retrieve transaction. The method returns an Operation which will be marked successful when the deletion is complete. Warning: Instances cannot be inserted into a series that is being deleted by an operation until the operation completes. For samples that show how to call DeleteSeries, see Delete a study, series, or instance.
§Arguments
parent- Required. The name of the DICOM store that is being accessed. For example,projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}.dicomWebPath- Required. The path of the DeleteSeries request. For example,studies/{study_uid}/series/{series_uid}.
Sourcepub fn locations_datasets_dicom_stores_studies_series_retrieve_metadata(
&self,
parent: &str,
dicom_web_path: &str,
) -> ProjectLocationDatasetDicomStoreStudySeriesRetrieveMetadataCall<'a, C>
pub fn locations_datasets_dicom_stores_studies_series_retrieve_metadata( &self, parent: &str, dicom_web_path: &str, ) -> ProjectLocationDatasetDicomStoreStudySeriesRetrieveMetadataCall<'a, C>
Create a builder to help you perform the following task:
RetrieveSeriesMetadata returns instance associated with the given study and series, presented as metadata. See [RetrieveTransaction] (https://dicom.nema.org/medical/dicom/current/output/html/part18.html#sect_10.4). For details on the implementation of RetrieveSeriesMetadata, see Metadata resources in the Cloud Healthcare API conformance statement. For samples that show how to call RetrieveSeriesMetadata, see Retrieve metadata.
§Arguments
parent- Required. The name of the DICOM store that is being accessed. For example,projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}.dicomWebPath- Required. The path of the RetrieveSeriesMetadata DICOMweb request. For example,studies/{study_uid}/series/{series_uid}/metadata.
Sourcepub fn locations_datasets_dicom_stores_studies_series_retrieve_series(
&self,
parent: &str,
dicom_web_path: &str,
) -> ProjectLocationDatasetDicomStoreStudySeriesRetrieveSeryCall<'a, C>
pub fn locations_datasets_dicom_stores_studies_series_retrieve_series( &self, parent: &str, dicom_web_path: &str, ) -> ProjectLocationDatasetDicomStoreStudySeriesRetrieveSeryCall<'a, C>
Create a builder to help you perform the following task:
RetrieveSeries returns all instances within the given study and series. See [RetrieveTransaction] (https://dicom.nema.org/medical/dicom/current/output/html/part18.html#sect_10.4). For details on the implementation of RetrieveSeries, see DICOM study/series/instances in the Cloud Healthcare API conformance statement. For samples that show how to call RetrieveSeries, see Retrieve DICOM data.
§Arguments
parent- Required. The name of the DICOM store that is being accessed. For example,projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}.dicomWebPath- Required. The path of the RetrieveSeries DICOMweb request. For example,studies/{study_uid}/series/{series_uid}.
Sourcepub fn locations_datasets_dicom_stores_studies_series_search_for_instances(
&self,
parent: &str,
dicom_web_path: &str,
) -> ProjectLocationDatasetDicomStoreStudySeriesSearchForInstanceCall<'a, C>
pub fn locations_datasets_dicom_stores_studies_series_search_for_instances( &self, parent: &str, dicom_web_path: &str, ) -> ProjectLocationDatasetDicomStoreStudySeriesSearchForInstanceCall<'a, C>
Create a builder to help you perform the following task:
SearchForInstances returns a list of matching instances. See [Search Transaction] (https://dicom.nema.org/medical/dicom/current/output/html/part18.html#sect_10.6). For details on the implementation of SearchForInstances, see Search transaction in the Cloud Healthcare API conformance statement. For samples that show how to call SearchForInstances, see Search for DICOM data.
§Arguments
parent- Required. The name of the DICOM store that is being accessed. For example,projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}.dicomWebPath- Required. The path of the SearchForInstancesRequest DICOMweb request. For example,instances,studies/{study_uid}/series/{series_uid}/instances, orstudies/{study_uid}/instances.
Sourcepub fn locations_datasets_dicom_stores_studies_delete(
&self,
parent: &str,
dicom_web_path: &str,
) -> ProjectLocationDatasetDicomStoreStudyDeleteCall<'a, C>
pub fn locations_datasets_dicom_stores_studies_delete( &self, parent: &str, dicom_web_path: &str, ) -> ProjectLocationDatasetDicomStoreStudyDeleteCall<'a, C>
Create a builder to help you perform the following task:
DeleteStudy deletes all instances within the given study. Delete requests are equivalent to the GET requests specified in the Retrieve transaction. The method returns an Operation which will be marked successful when the deletion is complete. Warning: Instances cannot be inserted into a study that is being deleted by an operation until the operation completes. For samples that show how to call DeleteStudy, see Delete a study, series, or instance.
§Arguments
parent- No description provided.dicomWebPath- Required. The path of the DeleteStudy request. For example,studies/{study_uid}.
Sourcepub fn locations_datasets_dicom_stores_studies_retrieve_metadata(
&self,
parent: &str,
dicom_web_path: &str,
) -> ProjectLocationDatasetDicomStoreStudyRetrieveMetadataCall<'a, C>
pub fn locations_datasets_dicom_stores_studies_retrieve_metadata( &self, parent: &str, dicom_web_path: &str, ) -> ProjectLocationDatasetDicomStoreStudyRetrieveMetadataCall<'a, C>
Create a builder to help you perform the following task:
RetrieveStudyMetadata returns instance associated with the given study presented as metadata. See [RetrieveTransaction] (https://dicom.nema.org/medical/dicom/current/output/html/part18.html#sect_10.4). For details on the implementation of RetrieveStudyMetadata, see Metadata resources in the Cloud Healthcare API conformance statement. For samples that show how to call RetrieveStudyMetadata, see Retrieve metadata.
§Arguments
parent- Required. The name of the DICOM store that is being accessed. For example,projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}.dicomWebPath- Required. The path of the RetrieveStudyMetadata DICOMweb request. For example,studies/{study_uid}/metadata.
Sourcepub fn locations_datasets_dicom_stores_studies_retrieve_study(
&self,
parent: &str,
dicom_web_path: &str,
) -> ProjectLocationDatasetDicomStoreStudyRetrieveStudyCall<'a, C>
pub fn locations_datasets_dicom_stores_studies_retrieve_study( &self, parent: &str, dicom_web_path: &str, ) -> ProjectLocationDatasetDicomStoreStudyRetrieveStudyCall<'a, C>
Create a builder to help you perform the following task:
RetrieveStudy returns all instances within the given study. See [RetrieveTransaction] (https://dicom.nema.org/medical/dicom/current/output/html/part18.html#sect_10.4). For details on the implementation of RetrieveStudy, see DICOM study/series/instances in the Cloud Healthcare API conformance statement. For samples that show how to call RetrieveStudy, see Retrieve DICOM data.
§Arguments
parent- Required. The name of the DICOM store that is being accessed. For example,projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}.dicomWebPath- Required. The path of the RetrieveStudy DICOMweb request. For example,studies/{study_uid}.
Sourcepub fn locations_datasets_dicom_stores_studies_search_for_instances(
&self,
parent: &str,
dicom_web_path: &str,
) -> ProjectLocationDatasetDicomStoreStudySearchForInstanceCall<'a, C>
pub fn locations_datasets_dicom_stores_studies_search_for_instances( &self, parent: &str, dicom_web_path: &str, ) -> ProjectLocationDatasetDicomStoreStudySearchForInstanceCall<'a, C>
Create a builder to help you perform the following task:
SearchForInstances returns a list of matching instances. See [Search Transaction] (https://dicom.nema.org/medical/dicom/current/output/html/part18.html#sect_10.6). For details on the implementation of SearchForInstances, see Search transaction in the Cloud Healthcare API conformance statement. For samples that show how to call SearchForInstances, see Search for DICOM data.
§Arguments
parent- Required. The name of the DICOM store that is being accessed. For example,projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}.dicomWebPath- Required. The path of the SearchForInstancesRequest DICOMweb request. For example,instances,studies/{study_uid}/series/{series_uid}/instances, orstudies/{study_uid}/instances.
Sourcepub fn locations_datasets_dicom_stores_studies_search_for_series(
&self,
parent: &str,
dicom_web_path: &str,
) -> ProjectLocationDatasetDicomStoreStudySearchForSeryCall<'a, C>
pub fn locations_datasets_dicom_stores_studies_search_for_series( &self, parent: &str, dicom_web_path: &str, ) -> ProjectLocationDatasetDicomStoreStudySearchForSeryCall<'a, C>
Create a builder to help you perform the following task:
SearchForSeries returns a list of matching series. See [Search Transaction] (https://dicom.nema.org/medical/dicom/current/output/html/part18.html#sect_10.6). For details on the implementation of SearchForSeries, see Search transaction in the Cloud Healthcare API conformance statement. For samples that show how to call SearchForSeries, see Search for DICOM data.
§Arguments
parent- Required. The name of the DICOM store that is being accessed. For example,projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}.dicomWebPath- Required. The path of the SearchForSeries DICOMweb request. For example,seriesorstudies/{study_uid}/series.
Sourcepub fn locations_datasets_dicom_stores_studies_store_instances(
&self,
request: HttpBody,
parent: &str,
dicom_web_path: &str,
) -> ProjectLocationDatasetDicomStoreStudyStoreInstanceCall<'a, C>
pub fn locations_datasets_dicom_stores_studies_store_instances( &self, request: HttpBody, parent: &str, dicom_web_path: &str, ) -> ProjectLocationDatasetDicomStoreStudyStoreInstanceCall<'a, C>
Create a builder to help you perform the following task:
StoreInstances stores DICOM instances associated with study instance unique identifiers (SUID). See [Store Transaction] (https://dicom.nema.org/medical/dicom/current/output/html/part18.html#sect_10.5). For details on the implementation of StoreInstances, see Store transaction in the Cloud Healthcare API conformance statement. For samples that show how to call StoreInstances, see Store DICOM data.
§Arguments
request- No description provided.parent- Required. The name of the DICOM store that is being accessed. For example,projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}.dicomWebPath- Required. The path of the StoreInstances DICOMweb request. For example,studies/[{study_uid}]. Note that thestudy_uidis optional.
Sourcepub fn locations_datasets_dicom_stores_create(
&self,
request: DicomStore,
parent: &str,
) -> ProjectLocationDatasetDicomStoreCreateCall<'a, C>
pub fn locations_datasets_dicom_stores_create( &self, request: DicomStore, parent: &str, ) -> ProjectLocationDatasetDicomStoreCreateCall<'a, C>
Create a builder to help you perform the following task:
Creates a new DICOM store within the parent dataset.
§Arguments
request- No description provided.parent- Required. The name of the dataset this DICOM store belongs to.
Sourcepub fn locations_datasets_dicom_stores_deidentify(
&self,
request: DeidentifyDicomStoreRequest,
source_store: &str,
) -> ProjectLocationDatasetDicomStoreDeidentifyCall<'a, C>
pub fn locations_datasets_dicom_stores_deidentify( &self, request: DeidentifyDicomStoreRequest, source_store: &str, ) -> ProjectLocationDatasetDicomStoreDeidentifyCall<'a, C>
Create a builder to help you perform the following task:
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. If errors occur, error is set. 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. Failed resource totals are tracked in Operation.metadata. Error details are also logged to Cloud Logging (see Viewing error logs in Cloud Logging).
§Arguments
request- No description provided.sourceStore- Required. Source DICOM store resource name. For example,projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}.
Sourcepub fn locations_datasets_dicom_stores_delete(
&self,
name: &str,
) -> ProjectLocationDatasetDicomStoreDeleteCall<'a, C>
pub fn locations_datasets_dicom_stores_delete( &self, name: &str, ) -> ProjectLocationDatasetDicomStoreDeleteCall<'a, C>
Create a builder to help you perform the following task:
Deletes the specified DICOM store and removes all images that are contained within it.
§Arguments
name- Required. The resource name of the DICOM store to delete.
Sourcepub fn locations_datasets_dicom_stores_export(
&self,
request: ExportDicomDataRequest,
name: &str,
) -> ProjectLocationDatasetDicomStoreExportCall<'a, C>
pub fn locations_datasets_dicom_stores_export( &self, request: ExportDicomDataRequest, name: &str, ) -> ProjectLocationDatasetDicomStoreExportCall<'a, C>
Create a builder to help you perform the following task:
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. The metadata field type is OperationMetadata.
§Arguments
request- No description provided.name- Required. The DICOM store resource name from which to export the data. For example,projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}.
Sourcepub fn locations_datasets_dicom_stores_get(
&self,
name: &str,
) -> ProjectLocationDatasetDicomStoreGetCall<'a, C>
pub fn locations_datasets_dicom_stores_get( &self, name: &str, ) -> ProjectLocationDatasetDicomStoreGetCall<'a, C>
Create a builder to help you perform the following task:
Gets the specified DICOM store.
§Arguments
name- Required. The resource name of the DICOM store to get.
Sourcepub fn locations_datasets_dicom_stores_get_dicom_store_metrics(
&self,
name: &str,
) -> ProjectLocationDatasetDicomStoreGetDICOMStoreMetricCall<'a, C>
pub fn locations_datasets_dicom_stores_get_dicom_store_metrics( &self, name: &str, ) -> ProjectLocationDatasetDicomStoreGetDICOMStoreMetricCall<'a, C>
Create a builder to help you perform the following task:
Gets metrics associated with the DICOM store.
§Arguments
name- Required. The resource name of the DICOM store to get metrics for.
Sourcepub fn locations_datasets_dicom_stores_get_iam_policy(
&self,
resource: &str,
) -> ProjectLocationDatasetDicomStoreGetIamPolicyCall<'a, C>
pub fn locations_datasets_dicom_stores_get_iam_policy( &self, resource: &str, ) -> ProjectLocationDatasetDicomStoreGetIamPolicyCall<'a, C>
Create a builder to help you perform the following task:
Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.
§Arguments
resource- REQUIRED: The resource for which the policy is being requested. See Resource names for the appropriate value for this field.
Sourcepub fn locations_datasets_dicom_stores_import(
&self,
request: ImportDicomDataRequest,
name: &str,
) -> ProjectLocationDatasetDicomStoreImportCall<'a, C>
pub fn locations_datasets_dicom_stores_import( &self, request: ImportDicomDataRequest, name: &str, ) -> ProjectLocationDatasetDicomStoreImportCall<'a, C>
Create a builder to help you perform the following task:
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. The metadata field type is OperationMetadata.
§Arguments
request- No description provided.name- Required. The name of the DICOM store resource into which the data is imported. For example,projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}.
Sourcepub fn locations_datasets_dicom_stores_list(
&self,
parent: &str,
) -> ProjectLocationDatasetDicomStoreListCall<'a, C>
pub fn locations_datasets_dicom_stores_list( &self, parent: &str, ) -> ProjectLocationDatasetDicomStoreListCall<'a, C>
Create a builder to help you perform the following task:
Lists the DICOM stores in the given dataset.
§Arguments
parent- Required. Name of the dataset.
Sourcepub fn locations_datasets_dicom_stores_patch(
&self,
request: DicomStore,
name: &str,
) -> ProjectLocationDatasetDicomStorePatchCall<'a, C>
pub fn locations_datasets_dicom_stores_patch( &self, request: DicomStore, name: &str, ) -> ProjectLocationDatasetDicomStorePatchCall<'a, C>
Create a builder to help you perform the following task:
Updates the specified DICOM store.
§Arguments
request- No description provided.name- Identifier. Resource name of the DICOM store, of the formprojects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}.
Sourcepub fn locations_datasets_dicom_stores_search_for_instances(
&self,
parent: &str,
dicom_web_path: &str,
) -> ProjectLocationDatasetDicomStoreSearchForInstanceCall<'a, C>
pub fn locations_datasets_dicom_stores_search_for_instances( &self, parent: &str, dicom_web_path: &str, ) -> ProjectLocationDatasetDicomStoreSearchForInstanceCall<'a, C>
Create a builder to help you perform the following task:
SearchForInstances returns a list of matching instances. See [Search Transaction] (https://dicom.nema.org/medical/dicom/current/output/html/part18.html#sect_10.6). For details on the implementation of SearchForInstances, see Search transaction in the Cloud Healthcare API conformance statement. For samples that show how to call SearchForInstances, see Search for DICOM data.
§Arguments
parent- Required. The name of the DICOM store that is being accessed. For example,projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}.dicomWebPath- Required. The path of the SearchForInstancesRequest DICOMweb request. For example,instances,studies/{study_uid}/series/{series_uid}/instances, orstudies/{study_uid}/instances.
Sourcepub fn locations_datasets_dicom_stores_search_for_series(
&self,
parent: &str,
dicom_web_path: &str,
) -> ProjectLocationDatasetDicomStoreSearchForSeryCall<'a, C>
pub fn locations_datasets_dicom_stores_search_for_series( &self, parent: &str, dicom_web_path: &str, ) -> ProjectLocationDatasetDicomStoreSearchForSeryCall<'a, C>
Create a builder to help you perform the following task:
SearchForSeries returns a list of matching series. See [Search Transaction] (https://dicom.nema.org/medical/dicom/current/output/html/part18.html#sect_10.6). For details on the implementation of SearchForSeries, see Search transaction in the Cloud Healthcare API conformance statement. For samples that show how to call SearchForSeries, see Search for DICOM data.
§Arguments
parent- Required. The name of the DICOM store that is being accessed. For example,projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}.dicomWebPath- Required. The path of the SearchForSeries DICOMweb request. For example,seriesorstudies/{study_uid}/series.
Sourcepub fn locations_datasets_dicom_stores_search_for_studies(
&self,
parent: &str,
dicom_web_path: &str,
) -> ProjectLocationDatasetDicomStoreSearchForStudyCall<'a, C>
pub fn locations_datasets_dicom_stores_search_for_studies( &self, parent: &str, dicom_web_path: &str, ) -> ProjectLocationDatasetDicomStoreSearchForStudyCall<'a, C>
Create a builder to help you perform the following task:
SearchForStudies returns a list of matching studies. See [Search Transaction] (https://dicom.nema.org/medical/dicom/current/output/html/part18.html#sect_10.6). For details on the implementation of SearchForStudies, see Search transaction in the Cloud Healthcare API conformance statement. For samples that show how to call SearchForStudies, see Search for DICOM data.
§Arguments
parent- Required. The name of the DICOM store that is being accessed. For example,projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}.dicomWebPath- Required. The path of the SearchForStudies DICOMweb request. For example,studies.
Sourcepub fn locations_datasets_dicom_stores_set_blob_storage_settings(
&self,
request: SetBlobStorageSettingsRequest,
resource: &str,
) -> ProjectLocationDatasetDicomStoreSetBlobStorageSettingCall<'a, C>
pub fn locations_datasets_dicom_stores_set_blob_storage_settings( &self, request: SetBlobStorageSettingsRequest, resource: &str, ) -> ProjectLocationDatasetDicomStoreSetBlobStorageSettingCall<'a, C>
Create a builder to help you perform the following task:
SetBlobStorageSettings sets the blob storage settings of the specified resources.
§Arguments
request- No description provided.resource- Required. The path of the resource to update the blob storage settings in the format ofprojects/{projectID}/locations/{locationID}/datasets/{datasetID}/dicomStores/{dicomStoreID}/dicomWeb/studies/{studyUID},projects/{projectID}/locations/{locationID}/datasets/{datasetID}/dicomStores/{dicomStoreID}/dicomWeb/studies/{studyUID}/series/{seriesUID}/, orprojects/{projectID}/locations/{locationID}/datasets/{datasetID}/dicomStores/{dicomStoreID}/dicomWeb/studies/{studyUID}/series/{seriesUID}/instances/{instanceUID}. Iffilter_configis specified, set the value ofresourceto the resource name of a DICOM store in the formatprojects/{projectID}/locations/{locationID}/datasets/{datasetID}/dicomStores/{dicomStoreID}.
Sourcepub fn locations_datasets_dicom_stores_set_iam_policy(
&self,
request: SetIamPolicyRequest,
resource: &str,
) -> ProjectLocationDatasetDicomStoreSetIamPolicyCall<'a, C>
pub fn locations_datasets_dicom_stores_set_iam_policy( &self, request: SetIamPolicyRequest, resource: &str, ) -> ProjectLocationDatasetDicomStoreSetIamPolicyCall<'a, C>
Create a builder to help you perform the following task:
Sets the access control policy on the specified resource. Replaces any existing policy. Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED errors.
§Arguments
request- No description provided.resource- REQUIRED: The resource for which the policy is being specified. See Resource names for the appropriate value for this field.
Sourcepub fn locations_datasets_dicom_stores_store_instances(
&self,
request: HttpBody,
parent: &str,
dicom_web_path: &str,
) -> ProjectLocationDatasetDicomStoreStoreInstanceCall<'a, C>
pub fn locations_datasets_dicom_stores_store_instances( &self, request: HttpBody, parent: &str, dicom_web_path: &str, ) -> ProjectLocationDatasetDicomStoreStoreInstanceCall<'a, C>
Create a builder to help you perform the following task:
StoreInstances stores DICOM instances associated with study instance unique identifiers (SUID). See [Store Transaction] (https://dicom.nema.org/medical/dicom/current/output/html/part18.html#sect_10.5). For details on the implementation of StoreInstances, see Store transaction in the Cloud Healthcare API conformance statement. For samples that show how to call StoreInstances, see Store DICOM data.
§Arguments
request- No description provided.parent- Required. The name of the DICOM store that is being accessed. For example,projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/dicomStores/{dicom_store_id}.dicomWebPath- Required. The path of the StoreInstances DICOMweb request. For example,studies/[{study_uid}]. Note that thestudy_uidis optional.
Sourcepub fn locations_datasets_dicom_stores_test_iam_permissions(
&self,
request: TestIamPermissionsRequest,
resource: &str,
) -> ProjectLocationDatasetDicomStoreTestIamPermissionCall<'a, C>
pub fn locations_datasets_dicom_stores_test_iam_permissions( &self, request: TestIamPermissionsRequest, resource: &str, ) -> ProjectLocationDatasetDicomStoreTestIamPermissionCall<'a, C>
Create a builder to help you perform the following task:
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.
§Arguments
request- No description provided.resource- REQUIRED: The resource for which the policy detail is being requested. See Resource names for the appropriate value for this field.
Sourcepub fn locations_datasets_fhir_stores_fhir__binary_create(
&self,
request: HttpBody,
parent: &str,
) -> ProjectLocationDatasetFhirStoreFhirBinaryCreateCall<'a, C>
pub fn locations_datasets_fhir_stores_fhir__binary_create( &self, request: HttpBody, parent: &str, ) -> ProjectLocationDatasetFhirStoreFhirBinaryCreateCall<'a, C>
Create a builder to help you perform the following task:
Creates a FHIR Binary resource. This method can be used to create a Binary resource either by using one of the accepted FHIR JSON content types, or as a raw data stream. If a resource is created with this method using the FHIR content type this method’s behavior is the same as fhir.create. If a resource type other than Binary is used in the request it’s treated in the same way as non-FHIR data (e.g., images, zip archives, pdf files, documents). When a non-FHIR content type is used in the request, a Binary resource will be generated, and the uploaded data will be stored in the content field (DSTU2 and STU3), or the data field (R4 and R5). The Binary resource’s contentType will be filled in using the value of the Content-Type header, and the securityContext field (not present in DSTU2) will be populated from the X-Security-Context header if it exists. At this time securityContext has no special behavior in the Cloud Healthcare API. Note: the limit on data ingested through this method is 1 GB. For best performance, use a non-FHIR data type instead of wrapping the data in a Binary resource. Some of the Healthcare API features, such as exporting to BigQuery or Pub/Sub notifications with full resource content, do not support Binary resources that are larger than 10 MB. In these cases the resource’s data field will be omitted. Instead, the “http://hl7.org/fhir/StructureDefinition/data-absent-reason” extension will be present to indicate that including the data is unsupported. On success, an empty 201 Created response is returned. The newly created resource’s ID and version are returned in the Location header. Using Prefer: representation=resource is not allowed for this method. The definition of the Binary REST API can be found at https://hl7.org/fhir/binary.html#rest.
§Arguments
request- No description provided.parent- Required. The name of the FHIR store this resource belongs to.
Sourcepub fn locations_datasets_fhir_stores_fhir__binary_read(
&self,
name: &str,
) -> ProjectLocationDatasetFhirStoreFhirBinaryReadCall<'a, C>
pub fn locations_datasets_fhir_stores_fhir__binary_read( &self, name: &str, ) -> ProjectLocationDatasetFhirStoreFhirBinaryReadCall<'a, C>
Create a builder to help you perform the following task:
Gets the contents of a FHIR Binary resource. This method can be used to retrieve a Binary resource either by using the FHIR JSON mimetype as the value for the Accept header, or as a raw data stream. If the FHIR Accept type is used this method will return a Binary resource with the data base64-encoded, regardless of how the resource was created. The resource data can be retrieved in base64-decoded form if the Accept type of the request matches the value of the resource’s contentType field. The definition of the Binary REST API can be found at https://hl7.org/fhir/binary.html#rest.
§Arguments
name- Required. The name of the Binary resource to retrieve.
Sourcepub fn locations_datasets_fhir_stores_fhir__binary_update(
&self,
request: HttpBody,
name: &str,
) -> ProjectLocationDatasetFhirStoreFhirBinaryUpdateCall<'a, C>
pub fn locations_datasets_fhir_stores_fhir__binary_update( &self, request: HttpBody, name: &str, ) -> ProjectLocationDatasetFhirStoreFhirBinaryUpdateCall<'a, C>
Create a builder to help you perform the following task:
Updates the entire contents of a Binary resource. If the specified resource does not exist and the FHIR store has enable_update_create set, creates the resource with the client-specified ID. 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 Pub/Sub notifications. Those IDs can also be contained in reference fields within other resources. This method can be used to update a Binary resource either by using one of the accepted FHIR JSON content types, or as a raw data stream. If a resource is updated with this method using the FHIR content type this method’s behavior is the same as update. If a resource type other than Binary is used in the request it will be treated in the same way as non-FHIR data. When a non-FHIR content type is used in the request, a Binary resource will be generated using the ID from the resource path, and the uploaded data will be stored in the content field (DSTU2 and STU3), or the data field (R4 and R5). The Binary resource’s contentType will be filled in using the value of the Content-Type header, and the securityContext field (not present in DSTU2) will be populated from the X-Security-Context header if it exists. At this time securityContext has no special behavior in the Cloud Healthcare API. Note: the limit on data ingested through this method is 2 GB. For best performance, use a non-FHIR data type instead of wrapping the data in a Binary resource. Some of the Healthcare API features, such as exporting to BigQuery or Pub/Sub notifications with full resource content, do not support Binary resources that are larger than 10 MB. In these cases the resource’s data field will be omitted. Instead, the “http://hl7.org/fhir/StructureDefinition/data-absent-reason” extension will be present to indicate that including the data is unsupported. On success, an empty 200 OK response will be returned, or a 201 Created if the resource did not exit. The resource’s ID and version are returned in the Location header. Using Prefer: representation=resource is not allowed for this method. The definition of the Binary REST API can be found at https://hl7.org/fhir/binary.html#rest.
§Arguments
request- No description provided.name- Required. The name of the resource to update.
Sourcepub fn locations_datasets_fhir_stores_fhir__binary_vread(
&self,
name: &str,
) -> ProjectLocationDatasetFhirStoreFhirBinaryVreadCall<'a, C>
pub fn locations_datasets_fhir_stores_fhir__binary_vread( &self, name: &str, ) -> ProjectLocationDatasetFhirStoreFhirBinaryVreadCall<'a, C>
Create a builder to help you perform the following task:
Gets the contents of a version (current or historical) of a FHIR Binary resource by version ID. This method can be used to retrieve a Binary resource version either by using the FHIR JSON mimetype as the value for the Accept header, or as a raw data stream. If the FHIR Accept type is used this method will return a Binary resource with the data base64-encoded, regardless of how the resource version was created. The resource data can be retrieved in base64-decoded form if the Accept type of the request matches the value of the resource version’s contentType field. The definition of the Binary REST API can be found at https://hl7.org/fhir/binary.html#rest.
§Arguments
name- Required. The name of the Binary resource version to retrieve.
Sourcepub fn locations_datasets_fhir_stores_fhir__consent_enforcement_status(
&self,
name: &str,
) -> ProjectLocationDatasetFhirStoreFhirConsentEnforcementStatuCall<'a, C>
pub fn locations_datasets_fhir_stores_fhir__consent_enforcement_status( &self, name: &str, ) -> ProjectLocationDatasetFhirStoreFhirConsentEnforcementStatuCall<'a, C>
Create a builder to help you perform the following task:
Returns the consent enforcement status of a single consent resource. On success, the response body contains a JSON-encoded representation of a Parameters (http://hl7.org/fhir/parameters.html) FHIR resource, containing the current enforcement status. Does not support DSTU2.
§Arguments
name- Required. The name of the consent resource to find enforcement status, in the formatprojects/{project_id}/locations/{location_id}/datasets/{dataset_id}/fhirStores/{fhir_store_id}/fhir/Consent/{consent_id}
Sourcepub fn locations_datasets_fhir_stores_fhir__patient_consent_enforcement_status(
&self,
name: &str,
) -> ProjectLocationDatasetFhirStoreFhirPatientConsentEnforcementStatuCall<'a, C>
pub fn locations_datasets_fhir_stores_fhir__patient_consent_enforcement_status( &self, name: &str, ) -> ProjectLocationDatasetFhirStoreFhirPatientConsentEnforcementStatuCall<'a, C>
Create a builder to help you perform the following task:
Returns the consent enforcement status of all consent resources for a patient. On success, the response body contains a JSON-encoded representation of a bundle of Parameters (http://hl7.org/fhir/parameters.html) FHIR resources, containing the current enforcement status for each consent resource of the patient. Does not support DSTU2.
§Arguments
name- Required. The name of the patient to find enforcement statuses, in the formatprojects/{project_id}/locations/{location_id}/datasets/{dataset_id}/fhirStores/{fhir_store_id}/fhir/Patient/{patient_id}
Sourcepub fn locations_datasets_fhir_stores_fhir__patient_everything(
&self,
name: &str,
) -> ProjectLocationDatasetFhirStoreFhirPatientEverythingCall<'a, C>
pub fn locations_datasets_fhir_stores_fhir__patient_everything( &self, name: &str, ) -> ProjectLocationDatasetFhirStoreFhirPatientEverythingCall<'a, C>
Create a builder to help you perform the following task:
Retrieves a Patient resource and resources related to that patient. Implements the FHIR extended operation Patient-everything (DSTU2, STU3, R4, R5). On success, the response body contains a JSON-encoded representation of a Bundle resource of type searchset, containing the results of the operation. Errors generated by the FHIR store contain a JSON-encoded OperationOutcome resource describing the reason for the error. If the request cannot be mapped to a valid API method on a FHIR store, a generic GCP error might be returned instead. The resources in scope for the response are: * The patient resource itself. * All the resources directly referenced by the patient resource. * Resources directly referencing the patient resource that meet the inclusion criteria. The inclusion criteria are based on the membership rules in the patient compartment definition (DSTU2, STU3, R4, R5), which details the eligible resource types and referencing search parameters. For samples that show how to call Patient-everything, see Getting all patient compartment resources.
§Arguments
name- Required. Name of thePatientresource for which the information is required.
Sourcepub fn locations_datasets_fhir_stores_fhir__resource_purge(
&self,
name: &str,
) -> ProjectLocationDatasetFhirStoreFhirResourcePurgeCall<'a, C>
pub fn locations_datasets_fhir_stores_fhir__resource_purge( &self, name: &str, ) -> ProjectLocationDatasetFhirStoreFhirResourcePurgeCall<'a, C>
Create a builder to help you perform the following task:
Deletes all the historical versions of a resource (excluding the current version) from the FHIR store. To remove all versions of a resource, first delete the current version and then call this method. This is not a FHIR standard operation. For samples that show how to call Resource-purge, see Deleting historical versions of a FHIR resource.
§Arguments
name- Required. The name of the resource to purge.
Sourcepub fn locations_datasets_fhir_stores_fhir__resource_validate(
&self,
request: HttpBody,
parent: &str,
type_: &str,
) -> ProjectLocationDatasetFhirStoreFhirResourceValidateCall<'a, C>
pub fn locations_datasets_fhir_stores_fhir__resource_validate( &self, request: HttpBody, parent: &str, type_: &str, ) -> ProjectLocationDatasetFhirStoreFhirResourceValidateCall<'a, C>
Create a builder to help you perform the following task:
Validates an input FHIR resource’s conformance to its profiles and the profiles configured on the FHIR store. Implements the FHIR extended operation $validate (DSTU2, STU3, R4. or R5). The request body must contain a JSON-encoded FHIR resource, and the request headers must contain Content-Type: application/fhir+json. The Parameters input syntax is not supported. The profile query parameter can be used to request that the resource only be validated against a specific profile. If a profile with the given URL cannot be found in the FHIR store then an error is returned. Errors generated by validation contain a JSON-encoded OperationOutcome resource describing the reason for the error. If the request cannot be mapped to a valid API method on a FHIR store, a generic GCP error might be returned instead.
§Arguments
request- No description provided.parent- Required. The name of the FHIR store that holds the profiles being used for validation.type- Required. The FHIR resource type of the resource being validated. For a complete list, see the FHIR Resource Index (DSTU2, STU3, R4, or R5). Must match the resource type in the provided content.
Sourcepub fn locations_datasets_fhir_stores_fhir_bulk_export(
&self,
name: &str,
) -> ProjectLocationDatasetFhirStoreFhirBulkExportCall<'a, C>
pub fn locations_datasets_fhir_stores_fhir_bulk_export( &self, name: &str, ) -> ProjectLocationDatasetFhirStoreFhirBulkExportCall<'a, C>
Create a builder to help you perform the following task:
Bulk exports all resources from the FHIR store to the specified destination. Implements the FHIR implementation guide system level $export. The following headers must be set in the request: * Accept: specifies the format of the OperationOutcome response. Only application/fhir+json is supported. * Prefer: specifies whether the response is immediate or asynchronous. Must be to respond-async because only asynchronous responses are supported. Specify the destination for the server to write result files by setting the Cloud Storage location bulk_export_gcs_destination on the FHIR store. URI of an existing Cloud Storage directory where the server writes result files, in the format gs://{bucket-id}/{path/to/destination/dir}. If there is no trailing slash, the service appends one when composing the object path. The user is responsible for creating the Cloud Storage bucket referenced. Supports the following query parameters: * _type: string of comma-delimited FHIR resource types. If provided, only the resources of the specified type(s) are exported. * _since: if provided, only the resources that are updated after the specified time are exported. * _outputFormat: optional, specify ndjson to export data in NDJSON format. Exported file names use the format: {export_id}_{resource_type}.ndjson. On success, the Content-Location header of the response is set to a URL that the user can use to query the status of the export. The URL is in the format: projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/fhirStores/{fhir_store_id}/operations/{export_id}. See get-fhir-operation-status for more information. Errors generated by the FHIR store contain a JSON-encoded OperationOutcome resource describing the reason for the error.
§Arguments
name- Required. The name of the FHIR store to export resources from, in the formatprojects/{project_id}/locations/{location_id}/datasets/{dataset_id}/fhirStores/{fhir_store_id}.
Sourcepub fn locations_datasets_fhir_stores_fhir_capabilities(
&self,
name: &str,
) -> ProjectLocationDatasetFhirStoreFhirCapabilityCall<'a, C>
pub fn locations_datasets_fhir_stores_fhir_capabilities( &self, name: &str, ) -> ProjectLocationDatasetFhirStoreFhirCapabilityCall<'a, C>
Create a builder to help you perform the following task:
Gets the FHIR capability statement (STU3, R4, R5), or the conformance statement in the DSTU2 case for the store, which contains a description of functionality supported by the server. Implements the FHIR standard capabilities interaction (STU3, R4, R5), or the conformance interaction in the DSTU2 case. On success, the response body contains a JSON-encoded representation of a CapabilityStatement resource.
§Arguments
name- Required. Name of the FHIR store to retrieve the capabilities for.
Sourcepub fn locations_datasets_fhir_stores_fhir_conditional_delete(
&self,
parent: &str,
type_: &str,
) -> ProjectLocationDatasetFhirStoreFhirConditionalDeleteCall<'a, C>
pub fn locations_datasets_fhir_stores_fhir_conditional_delete( &self, parent: &str, type_: &str, ) -> ProjectLocationDatasetFhirStoreFhirConditionalDeleteCall<'a, C>
Create a builder to help you perform the following task:
Deletes a FHIR resource that match an identifier search query. Implements the FHIR standard conditional delete interaction, limited to searching by resource identifier. If multiple resources match, 412 Precondition Failed error will be returned. Search term for identifier should be in the pattern identifier=system|value or identifier=value - similar to the search method on resources with a specific identifier. Note: Unless resource versioning is disabled by setting the disable_resource_versioning flag on the FHIR store, the deleted resource is moved to a history repository that can still be retrieved through vread and related methods, unless they are removed by the purge method. For samples that show how to call conditionalDelete, see Conditionally deleting a FHIR resource.
§Arguments
Sourcepub fn locations_datasets_fhir_stores_fhir_conditional_patch(
&self,
request: HttpBody,
parent: &str,
type_: &str,
) -> ProjectLocationDatasetFhirStoreFhirConditionalPatchCall<'a, C>
pub fn locations_datasets_fhir_stores_fhir_conditional_patch( &self, request: HttpBody, parent: &str, type_: &str, ) -> ProjectLocationDatasetFhirStoreFhirConditionalPatchCall<'a, C>
Create a builder to help you perform the following task:
If a resource is found with the identifier specified in the query parameters, updates part of that resource by applying the operations specified in a JSON Patch document. Implements the FHIR standard conditional patch interaction, limited to searching by resource identifier. DSTU2 doesn’t define a conditional patch method, but the server supports it in the same way it supports STU3. Search term for identifier should be in the pattern identifier=system|value or identifier=value - similar to the search method on resources with a specific identifier. If the search criteria identify more than one match, the request returns a 412 Precondition Failed error. If the search criteria doesn’t identify any matches, the request returns a 404 Not Found error. The request body must contain a JSON Patch document, and the request headers must contain Content-Type: application/json-patch+json. On success, the response body contains a JSON-encoded representation of the updated resource, including the server-assigned version ID. Errors generated by the FHIR store contain a JSON-encoded OperationOutcome resource describing the reason for the error. If the request cannot be mapped to a valid API method on a FHIR store, a generic GCP error might be returned instead. For samples that show how to call conditionalPatch, see Conditionally patching a FHIR resource.
§Arguments
Sourcepub fn locations_datasets_fhir_stores_fhir_conditional_update(
&self,
request: HttpBody,
parent: &str,
type_: &str,
) -> ProjectLocationDatasetFhirStoreFhirConditionalUpdateCall<'a, C>
pub fn locations_datasets_fhir_stores_fhir_conditional_update( &self, request: HttpBody, parent: &str, type_: &str, ) -> ProjectLocationDatasetFhirStoreFhirConditionalUpdateCall<'a, C>
Create a builder to help you perform the following task:
If a resource is found with the identifier specified in the query parameters, updates the entire contents of that resource. Implements the FHIR standard conditional update interaction, limited to searching by resource identifier. Search term for identifier should be in the pattern identifier=system|value or identifier=value - similar to the search method on resources with a specific identifier. If the search criteria identify more than one match, the request returns a 412 Precondition Failed error. If the search criteria identify zero matches, and the supplied resource body contains an id, and the FHIR store has enable_update_create set, creates the resource with the client-specified ID. 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 Pub/Sub notifications. Those IDs can also be contained in reference fields within other resources. If the search criteria identify zero matches, and the supplied resource body does not contain an id, the resource is created with a server-assigned ID as per the create method. The request body must contain a JSON-encoded FHIR resource, and the request headers must contain Content-Type: application/fhir+json. On success, the response body contains a JSON-encoded representation of the updated resource, including the server-assigned version ID. Errors generated by the FHIR store contain a JSON-encoded OperationOutcome resource describing the reason for the error. If the request cannot be mapped to a valid API method on a FHIR store, a generic GCP error might be returned instead. For samples that show how to call conditionalUpdate, see Conditionally updating a FHIR resource.
§Arguments
request- No description provided.parent- Required. The name of the FHIR store this resource belongs to.type- Required. The FHIR resource type to update, such as Patient or Observation. For a complete list, see the FHIR Resource Index (DSTU2, STU3, R4, R5). Must match the resource type in the provided content.
Sourcepub fn locations_datasets_fhir_stores_fhir_create(
&self,
request: HttpBody,
parent: &str,
type_: &str,
) -> ProjectLocationDatasetFhirStoreFhirCreateCall<'a, C>
pub fn locations_datasets_fhir_stores_fhir_create( &self, request: HttpBody, parent: &str, type_: &str, ) -> ProjectLocationDatasetFhirStoreFhirCreateCall<'a, C>
Create a builder to help you perform the following task:
Creates a FHIR resource. Implements the FHIR standard create interaction (DSTU2, STU3, R4, R5), which creates a new resource with a server-assigned resource ID. Also supports the FHIR standard conditional create interaction (DSTU2, STU3, R4, R5), specified by supplying an If-None-Exist header containing a FHIR search query, limited to searching by resource identifier. If no resources match this search query, the server processes the create operation as normal. When using conditional create, the search term for identifier should be in the pattern identifier=system|value or identifier=value - similar to the search method on resources with a specific identifier. The request body must contain a JSON-encoded FHIR resource, and the request headers must contain Content-Type: application/fhir+json. On success, the response body contains a JSON-encoded representation of the resource as it was created on the server, including the server-assigned resource ID and version ID. Errors generated by the FHIR store contain a JSON-encoded OperationOutcome resource describing the reason for the error. If the request cannot be mapped to a valid API method on a FHIR store, a generic GCP error might be returned instead. For samples that show how to call create, see Creating a FHIR resource.
§Arguments
request- No description provided.parent- Required. The name of the FHIR store this resource belongs to.type- Required. The FHIR resource type to create, such as Patient or Observation. For a complete list, see the FHIR Resource Index (DSTU2, STU3, R4, R5). Must match the resource type in the provided content.
Sourcepub fn locations_datasets_fhir_stores_fhir_delete(
&self,
name: &str,
) -> ProjectLocationDatasetFhirStoreFhirDeleteCall<'a, C>
pub fn locations_datasets_fhir_stores_fhir_delete( &self, name: &str, ) -> ProjectLocationDatasetFhirStoreFhirDeleteCall<'a, C>
Create a builder to help you perform the following task:
Deletes a FHIR resource. Implements the FHIR standard delete interaction (DSTU2, STU3, R4, R5). Note: Unless resource versioning is disabled by setting the disable_resource_versioning flag on the FHIR store, the deleted resources will be moved to a history repository that can still be retrieved through vread and related methods, unless they are removed by the purge method. For samples that show how to call delete, see Deleting a FHIR resource.
§Arguments
name- Required. The name of the resource to delete.
Sourcepub fn locations_datasets_fhir_stores_fhir_execute_bundle(
&self,
request: HttpBody,
parent: &str,
) -> ProjectLocationDatasetFhirStoreFhirExecuteBundleCall<'a, C>
pub fn locations_datasets_fhir_stores_fhir_execute_bundle( &self, request: HttpBody, parent: &str, ) -> ProjectLocationDatasetFhirStoreFhirExecuteBundleCall<'a, C>
Create a builder to help you perform the following task:
Executes all the requests in the given Bundle. Implements the FHIR standard batch/transaction interaction (DSTU2, STU3, R4, R5). Supports all interactions within a bundle, except search. This method accepts Bundles of type batch and transaction, processing them according to the batch processing rules (DSTU2, STU3, R4, R5) and transaction processing rules (DSTU2, STU3, R4, R5). The request body must contain a JSON-encoded FHIR Bundle resource, and the request headers must contain Content-Type: application/fhir+json. For a batch bundle or a successful transaction, the response body contains a JSON-encoded representation of a Bundle resource of type batch-response or transaction-response containing one entry for each entry in the request, with the outcome of processing the entry. In the case of an error for a transaction bundle, the response body contains a JSON-encoded OperationOutcome resource describing the reason for the error. If the request cannot be mapped to a valid API method on a FHIR store, a generic GCP error might be returned instead. This method checks permissions for each request in the bundle. The executeBundle permission is required to call this method, but you must also grant sufficient permissions to execute the individual requests in the bundle. For example, if the bundle contains a request to create a FHIR resource, the caller must also have been granted the healthcare.fhirResources.create permission. You can use audit logs to view the permissions for executeBundle and each request in the bundle. For more information, see Viewing Cloud Audit logs. For samples that show how to call executeBundle, see Managing FHIR resources using FHIR bundles.
§Arguments
request- No description provided.parent- Required. Name of the FHIR store in which this bundle will be executed.
Sourcepub fn locations_datasets_fhir_stores_fhir_history(
&self,
name: &str,
) -> ProjectLocationDatasetFhirStoreFhirHistoryCall<'a, C>
pub fn locations_datasets_fhir_stores_fhir_history( &self, name: &str, ) -> ProjectLocationDatasetFhirStoreFhirHistoryCall<'a, C>
Create a builder to help you perform the following task:
Lists all the versions of a resource (including the current version and deleted versions) from the FHIR store. Implements the per-resource form of the FHIR standard history interaction (DSTU2, STU3, R4, R5). On success, the response body contains a JSON-encoded representation of a Bundle resource of type history, containing the version history sorted from most recent to oldest versions. Errors generated by the FHIR store contain a JSON-encoded OperationOutcome resource describing the reason for the error. If the request cannot be mapped to a valid API method on a FHIR store, a generic GCP error might be returned instead. For samples that show how to call history, see Listing FHIR resource versions.
§Arguments
name- Required. The name of the resource to retrieve.
Sourcepub fn locations_datasets_fhir_stores_fhir_patch(
&self,
request: HttpBody,
name: &str,
) -> ProjectLocationDatasetFhirStoreFhirPatchCall<'a, C>
pub fn locations_datasets_fhir_stores_fhir_patch( &self, request: HttpBody, name: &str, ) -> ProjectLocationDatasetFhirStoreFhirPatchCall<'a, C>
Create a builder to help you perform the following task:
Updates part of an existing resource by applying the operations specified in a JSON Patch document. Implements the FHIR standard patch interaction (STU3, R4, R5). DSTU2 doesn’t define a patch method, but the server supports it in the same way it supports STU3. The request body must contain a JSON Patch document, and the request headers must contain Content-Type: application/json-patch+json. On success, the response body contains a JSON-encoded representation of the updated resource, including the server-assigned version ID. Errors generated by the FHIR store contain a JSON-encoded OperationOutcome resource describing the reason for the error. If the request cannot be mapped to a valid API method on a FHIR store, a generic GCP error might be returned instead. For samples that show how to call patch, see Patching a FHIR resource.
§Arguments
request- No description provided.name- Required. The name of the resource to update.
Sourcepub fn locations_datasets_fhir_stores_fhir_read(
&self,
name: &str,
) -> ProjectLocationDatasetFhirStoreFhirReadCall<'a, C>
pub fn locations_datasets_fhir_stores_fhir_read( &self, name: &str, ) -> ProjectLocationDatasetFhirStoreFhirReadCall<'a, C>
Create a builder to help you perform the following task:
Gets the contents of a FHIR resource. Implements the FHIR standard read interaction (DSTU2, STU3, R4, R5). Also supports the FHIR standard conditional read interaction (DSTU2, STU3, R4, R5) specified by supplying an If-Modified-Since header with a date/time value or an If-None-Match header with an ETag value. On success, the response body contains a JSON-encoded representation of the resource. Errors generated by the FHIR store contain a JSON-encoded OperationOutcome resource describing the reason for the error. If the request cannot be mapped to a valid API method on a FHIR store, a generic GCP error might be returned instead. For samples that show how to call read, see Getting a FHIR resource.
§Arguments
name- Required. The name of the resource to retrieve.
Sourcepub fn locations_datasets_fhir_stores_fhir_search(
&self,
request: HttpBody,
parent: &str,
) -> ProjectLocationDatasetFhirStoreFhirSearchCall<'a, C>
pub fn locations_datasets_fhir_stores_fhir_search( &self, request: HttpBody, parent: &str, ) -> ProjectLocationDatasetFhirStoreFhirSearchCall<'a, C>
Create a builder to help you perform the following task:
Searches for resources in the given FHIR store according to criteria specified as query parameters. Implements the FHIR standard search interaction (DSTU2, STU3, R4, R5) using the search semantics described in the FHIR Search specification (DSTU2, STU3, R4, R5). Supports four methods of search defined by the specification: * GET [base]?[parameters] to search across all resources. * GET [base]/[type]?[parameters] to search resources of a specified type. * POST [base]/_search?[parameters] as an alternate form having the same semantics as the GET method across all resources. * POST [base]/[type]/_search?[parameters] as an alternate form having the same semantics as the GET method for the specified type. The GET and POST methods do not support compartment searches. The POST method does not support application/x-www-form-urlencoded search parameters. On success, the response body contains a JSON-encoded representation of a Bundle resource of type searchset, containing the results of the search. Errors generated by the FHIR store contain a JSON-encoded OperationOutcome resource describing the reason for the error. If the request cannot be mapped to a valid API method on a FHIR store, a generic GCP error might be returned instead. The server’s capability statement, retrieved through capabilities, indicates what search parameters are supported on each FHIR resource. A list of all search parameters defined by the specification can be found in the FHIR Search Parameter Registry (STU3, R4, R5). FHIR search parameters for DSTU2 can be found on each resource’s definition page. Supported search modifiers: :missing, :exact, :contains, :text, :in, :not-in, :above, :below, :[type], :not, and recurse (DSTU2 and STU3) or :iterate (R4 and R5). Supported search result parameters: _sort, _count, _include, _revinclude, _summary=text, _summary=data, and _elements. The maximum number of search results returned defaults to 100, which can be overridden by the _count parameter up to a maximum limit of 1000. The server might return fewer resources than requested to prevent excessively large responses. If there are additional results, the returned Bundle contains a link of relation “next”, which has a _page_token parameter for an opaque pagination token that can be used to retrieve the next page. Resources with a total size larger than 5MB or a field count larger than 50,000 might not be fully searchable as the server might trim its generated search index in those cases. Note: FHIR resources are indexed asynchronously, so there might be a slight delay between the time a resource is created or changed, and the time when the change reflects in search results. The only exception is resource identifier data, which is indexed synchronously as a special index. As a result, searching using resource identifier is not subject to indexing delay. To use the special synchronous index, the search term for identifier should be in the pattern identifier=[system]|[value] or identifier=[value], and any of the following search result parameters can be used: * _count * _include * _revinclude * _summary * _elements If your query contains any other search parameters, the standard asynchronous index will be used instead. Note that searching against the special index is optimized for resolving a small number of matches. The search isn’t optimized if your identifier search criteria matches a large number (i.e. more than 2,000) of resources. For a search query that will match a large number of resources, you can avoiding using the special synchronous index by including an additional _sort parameter in your query. Use _sort=-_lastUpdated if you want to keep the default sorting order. For samples and detailed information, see Searching for FHIR resources and Advanced FHIR search features.
§Arguments
request- No description provided.parent- Required. Name of the FHIR store to retrieve resources from.
Sourcepub fn locations_datasets_fhir_stores_fhir_search_type(
&self,
request: HttpBody,
parent: &str,
resource_type: &str,
) -> ProjectLocationDatasetFhirStoreFhirSearchTypeCall<'a, C>
pub fn locations_datasets_fhir_stores_fhir_search_type( &self, request: HttpBody, parent: &str, resource_type: &str, ) -> ProjectLocationDatasetFhirStoreFhirSearchTypeCall<'a, C>
Create a builder to help you perform the following task:
Searches for resources in the given FHIR store according to criteria specified as query parameters. Implements the FHIR standard search interaction (DSTU2, STU3, R4, R5) using the search semantics described in the FHIR Search specification (DSTU2, STU3, R4, R5). Supports four methods of search defined by the specification: * GET [base]?[parameters] to search across all resources. * GET [base]/[type]?[parameters] to search resources of a specified type. * POST [base]/_search?[parameters] as an alternate form having the same semantics as the GET method across all resources. * POST [base]/[type]/_search?[parameters] as an alternate form having the same semantics as the GET method for the specified type. The GET and POST methods do not support compartment searches. The POST method does not support application/x-www-form-urlencoded search parameters. On success, the response body contains a JSON-encoded representation of a Bundle resource of type searchset, containing the results of the search. Errors generated by the FHIR store contain a JSON-encoded OperationOutcome resource describing the reason for the error. If the request cannot be mapped to a valid API method on a FHIR store, a generic GCP error might be returned instead. The server’s capability statement, retrieved through capabilities, indicates what search parameters are supported on each FHIR resource. A list of all search parameters defined by the specification can be found in the FHIR Search Parameter Registry (STU3, R4, R5). FHIR search parameters for DSTU2 can be found on each resource’s definition page. Supported search modifiers: :missing, :exact, :contains, :text, :in, :not-in, :above, :below, :[type], :not, and recurse (DSTU2 and STU3) or :iterate (R4 and R5). Supported search result parameters: _sort, _count, _include, _revinclude, _summary=text, _summary=data, and _elements. The maximum number of search results returned defaults to 100, which can be overridden by the _count parameter up to a maximum limit of 1000. The server might return fewer resources than requested to prevent excessively large responses. If there are additional results, the returned Bundle contains a link of relation “next”, which has a _page_token parameter for an opaque pagination token that can be used to retrieve the next page. Resources with a total size larger than 5MB or a field count larger than 50,000 might not be fully searchable as the server might trim its generated search index in those cases. Note: FHIR resources are indexed asynchronously, so there might be a slight delay between the time a resource is created or changed, and the time when the change reflects in search results. The only exception is resource identifier data, which is indexed synchronously as a special index. As a result, searching using resource identifier is not subject to indexing delay. To use the special synchronous index, the search term for identifier should be in the pattern identifier=[system]|[value] or identifier=[value], and any of the following search result parameters can be used: * _count * _include * _revinclude * _summary * _elements If your query contains any other search parameters, the standard asynchronous index will be used instead. Note that searching against the special index is optimized for resolving a small number of matches. The search isn’t optimized if your identifier search criteria matches a large number (i.e. more than 2,000) of resources. For a search query that will match a large number of resources, you can avoiding using the special synchronous index by including an additional _sort parameter in your query. Use _sort=-_lastUpdated if you want to keep the default sorting order. For samples and detailed information, see Searching for FHIR resources and Advanced FHIR search features.
§Arguments
Sourcepub fn locations_datasets_fhir_stores_fhir_update(
&self,
request: HttpBody,
name: &str,
) -> ProjectLocationDatasetFhirStoreFhirUpdateCall<'a, C>
pub fn locations_datasets_fhir_stores_fhir_update( &self, request: HttpBody, name: &str, ) -> ProjectLocationDatasetFhirStoreFhirUpdateCall<'a, C>
Create a builder to help you perform the following task:
Updates the entire contents of a resource. Implements the FHIR standard update interaction (DSTU2, STU3, R4, R5). If the specified resource does not exist and the FHIR store has enable_update_create set, creates the resource with the client-specified ID. 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 Pub/Sub notifications. Those IDs can also be contained in reference fields within other resources. The request body must contain a JSON-encoded FHIR resource, and the request headers must contain Content-Type: application/fhir+json. The resource must contain an id element having an identical value to the ID in the REST path of the request. On success, the response body contains a JSON-encoded representation of the updated resource, including the server-assigned version ID. Errors generated by the FHIR store contain a JSON-encoded OperationOutcome resource describing the reason for the error. If the request cannot be mapped to a valid API method on a FHIR store, a generic GCP error might be returned instead. The conditional update interaction If-None-Match is supported, including the wildcard behaviour, as defined by the R5 spec. This functionality is supported in R4 and R5. For samples that show how to call update, see Updating a FHIR resource.
§Arguments
request- No description provided.name- Required. The name of the resource to update.
Sourcepub fn locations_datasets_fhir_stores_fhir_vread(
&self,
name: &str,
) -> ProjectLocationDatasetFhirStoreFhirVreadCall<'a, C>
pub fn locations_datasets_fhir_stores_fhir_vread( &self, name: &str, ) -> ProjectLocationDatasetFhirStoreFhirVreadCall<'a, C>
Create a builder to help you perform the following task:
Gets the contents of a version (current or historical) of a FHIR resource by version ID. Implements the FHIR standard vread interaction (DSTU2, STU3, R4, R5). On success, the response body contains a JSON-encoded representation of the resource. Errors generated by the FHIR store contain a JSON-encoded OperationOutcome resource describing the reason for the error. If the request cannot be mapped to a valid API method on a FHIR store, a generic GCP error might be returned instead. For samples that show how to call vread, see Retrieving a FHIR resource version.
§Arguments
name- Required. The name of the resource version to retrieve.
Sourcepub fn locations_datasets_fhir_stores_operations_delete_fhir_operation(
&self,
name: &str,
) -> ProjectLocationDatasetFhirStoreOperationDeleteFhirOperationCall<'a, C>
pub fn locations_datasets_fhir_stores_operations_delete_fhir_operation( &self, name: &str, ) -> ProjectLocationDatasetFhirStoreOperationDeleteFhirOperationCall<'a, C>
Create a builder to help you perform the following task:
Deletes operations as defined in the FHIR specification. Implements the FHIR implementation guide bulk data delete request. Returns success if the operation was successfully cancelled. If the operation is complete, or has already been cancelled, returns an error response.
§Arguments
name- Required. Name of the operation to be deleted, in the formatprojects/{project_id}/locations/{location_id}/datasets/{dataset_id}/fhirStores/{fhir_store_id}/operations/{operation_id}.
Sourcepub fn locations_datasets_fhir_stores_operations_get_fhir_operation_status(
&self,
name: &str,
) -> ProjectLocationDatasetFhirStoreOperationGetFhirOperationStatuCall<'a, C>
pub fn locations_datasets_fhir_stores_operations_get_fhir_operation_status( &self, name: &str, ) -> ProjectLocationDatasetFhirStoreOperationGetFhirOperationStatuCall<'a, C>
Create a builder to help you perform the following task:
Gets the status of operations as defined in the FHIR specification. Implements the FHIR implementation guide bulk data status request. Operations can have one of these states: * in-progress: response status code is 202 and X-Progress header is set to in progress. * complete: response status code is 200 and the body is a JSON-encoded operation response as defined by the spec. For a bulk export, this response is defined in https://build.fhir.org/ig/HL7/bulk-data/export.html#response—complete-status. * error: response status code is 5XX, and the body is a JSON-encoded OperationOutcome resource describing the reason for the error.
§Arguments
name- Required. Name of the operation to query, in the formatprojects/{project_id}/locations/{location_id}/datasets/{dataset_id}/fhirStores/{fhir_store_id}/operations/{operation_id}.
Sourcepub fn locations_datasets_fhir_stores_apply_admin_consents(
&self,
request: ApplyAdminConsentsRequest,
name: &str,
) -> ProjectLocationDatasetFhirStoreApplyAdminConsentCall<'a, C>
pub fn locations_datasets_fhir_stores_apply_admin_consents( &self, request: ApplyAdminConsentsRequest, name: &str, ) -> ProjectLocationDatasetFhirStoreApplyAdminConsentCall<'a, C>
Create a builder to help you perform the following task:
Applies the admin Consent resources for the FHIR store and reindexes the underlying resources in the FHIR store according to the aggregate consents. This method also updates the consent_config.enforced_admin_consents field of the FhirStore unless validate_only=true in ApplyAdminConsentsRequest. Any admin Consent resource change after this operation execution (including deletion) requires you to call ApplyAdminConsents again for the change to take effect. This method returns an Operation that can be used to track the progress of the resources that were reindexed, by calling GetOperation. Upon completion, the ApplyAdminConsentsResponse additionally contains the number of resources that were reindexed. If at least one Consent resource contains an error or fails be be enforced for any reason, the method returns an error instead of an Operation. No resources will be reindexed and the consent_config.enforced_admin_consents field will be unchanged. To enforce a consent check for data access, consent_config.access_enforced must be set to true for the FhirStore. FHIR Consent is not supported in DSTU2 or R5.
§Arguments
request- No description provided.name- Required. The name of the FHIR store to enforce, in the formatprojects/{project_id}/locations/{location_id}/datasets/{dataset_id}/fhirStores/{fhir_store_id}.
Sourcepub fn locations_datasets_fhir_stores_apply_consents(
&self,
request: ApplyConsentsRequest,
name: &str,
) -> ProjectLocationDatasetFhirStoreApplyConsentCall<'a, C>
pub fn locations_datasets_fhir_stores_apply_consents( &self, request: ApplyConsentsRequest, name: &str, ) -> ProjectLocationDatasetFhirStoreApplyConsentCall<'a, C>
Create a builder to help you perform the following task:
Apply the Consent resources for the FHIR store and reindex the underlying resources in the FHIR store according to the aggregate consent. The aggregate consent of the patient in scope in this request replaces any previous call of this method. Any Consent resource change after this operation execution (including deletion) requires you to call ApplyConsents again to have effect. This method returns an Operation that can be used to track the progress of the consent resources that were processed by calling GetOperation. Upon completion, the ApplyConsentsResponse additionally contains the number of resources that was reindexed. Errors are logged to Cloud Logging (see Viewing error logs in Cloud Logging). To enforce consent check for data access, consent_config.access_enforced must be set to true for the FhirStore. FHIR Consent is not supported in DSTU2 or R5.
§Arguments
request- No description provided.name- Required. The name of the FHIR store to enforce, in the formatprojects/{project_id}/locations/{location_id}/datasets/{dataset_id}/fhirStores/{fhir_store_id}.
Sourcepub fn locations_datasets_fhir_stores_bulk_export_group(
&self,
name: &str,
) -> ProjectLocationDatasetFhirStoreBulkExportGroupCall<'a, C>
pub fn locations_datasets_fhir_stores_bulk_export_group( &self, name: &str, ) -> ProjectLocationDatasetFhirStoreBulkExportGroupCall<'a, C>
Create a builder to help you perform the following task:
Bulk exports a Group resource and resources in the member field, including related resources for each Patient member. The export for each Patient is identical to a GetPatientEverything request. Implements the FHIR implementation guide $export group of patients. The following headers must be set in the request: * Accept: specifies the format of the OperationOutcome response. Only application/fhir+json is supported. * Prefer: specifies whether the response is immediate or asynchronous. Must be to respond-async because only asynchronous responses are supported. Specify the destination for the server to write result files by setting the Cloud Storage location bulk_export_gcs_destination on the FHIR store. URI of an existing Cloud Storage directory where the server writes result files, in the format gs://{bucket-id}/{path/to/destination/dir}. If there is no trailing slash, the service appends one when composing the object path. The user is responsible for creating the Cloud Storage bucket referenced. Supports the following query parameters: * _type: string of comma-delimited FHIR resource types. If provided, only resources of the specified type(s) are exported. * _since: if provided, only resources updated after the specified time are exported. * _outputFormat: optional, specify ndjson to export data in NDJSON format. Exported file names use the format: {export_id}_{resource_type}.ndjson. * organizeOutputBy: resource type to organize the output by. Required and must be set to Patient. When specified, output files are organized by instances of the specified resource type, including the resource, referenced resources, and resources that contain references to that resource. On success, the Content-Location header of response is set to a URL that you can use to query the status of the export. The URL is in the format projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/fhirStores/{fhir_store_id}/operations/{export_id}. See get-fhir-operation-status for more information. Errors generated by the FHIR store contain a JSON-encoded OperationOutcome resource describing the reason for the error.
§Arguments
name- Required. Name of the Group resource that is exported, in formatprojects/{project_id}/locations/{location_id}/datasets/{dataset_id}/fhirStores/{fhir_store_id}/fhir/Group/{group_id}.
Sourcepub fn locations_datasets_fhir_stores_create(
&self,
request: FhirStore,
parent: &str,
) -> ProjectLocationDatasetFhirStoreCreateCall<'a, C>
pub fn locations_datasets_fhir_stores_create( &self, request: FhirStore, parent: &str, ) -> ProjectLocationDatasetFhirStoreCreateCall<'a, C>
Create a builder to help you perform the following task:
Creates a new FHIR store within the parent dataset.
§Arguments
request- No description provided.parent- Required. The name of the dataset this FHIR store belongs to.
Sourcepub fn locations_datasets_fhir_stores_deidentify(
&self,
request: DeidentifyFhirStoreRequest,
source_store: &str,
) -> ProjectLocationDatasetFhirStoreDeidentifyCall<'a, C>
pub fn locations_datasets_fhir_stores_deidentify( &self, request: DeidentifyFhirStoreRequest, source_store: &str, ) -> ProjectLocationDatasetFhirStoreDeidentifyCall<'a, C>
Create a builder to help you perform the following task:
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. If errors occur, error is set. Error details are also logged to Cloud Logging (see Viewing error logs in Cloud Logging).
§Arguments
request- No description provided.sourceStore- Required. Source FHIR store resource name. For example,projects/{project_id}/locations/{location_id}/datasets/{dataset_id}/fhirStores/{fhir_store_id}. R5 stores are not supported.
Sourcepub fn locations_datasets_fhir_stores_delete(
&self,
name: &str,
) -> ProjectLocationDatasetFhirStoreDeleteCall<'a, C>
pub fn locations_datasets_fhir_stores_delete( &self, name: &str, ) -> ProjectLocationDatasetFhirStoreDeleteCall<'a, C>
Create a builder to help you perform the following task:
Deletes the specified FHIR store and removes all resources within it.
§Arguments
name- Required. The resource name of the FHIR store to delete.
Sourcepub fn locations_datasets_fhir_stores_explain_data_access(
&self,
name: &str,
) -> ProjectLocationDatasetFhirStoreExplainDataAccesCall<'a, C>
pub fn locations_datasets_fhir_stores_explain_data_access( &self, name: &str, ) -> ProjectLocationDatasetFhirStoreExplainDataAccesCall<'a, C>
Create a builder to help you perform the following task:
Explains all the permitted/denied actor, purpose and environment for a given resource. FHIR Consent is not supported in DSTU2 or R5.
§Arguments
name- Required. The name of the FHIR store to enforce, in the formatprojects/{project_id}/locations/{location_id}/datasets/{dataset_id}/fhirStores/{fhir_store_id}.
Sourcepub fn locations_datasets_fhir_stores_export(
&self,
request: ExportResourcesRequest,
name: &str,
) -> ProjectLocationDatasetFhirStoreExportCall<'a, C>
pub fn locations_datasets_fhir_stores_export( &self, request: ExportResourcesRequest, name: &str, ) -> ProjectLocationDatasetFhirStoreExportCall<'a, C>
Create a builder to help you perform the following task:
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). 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.
§Arguments
request- No description provided.name- Required. The name of the FHIR store to export resource from, in the format ofprojects/{project_id}/locations/{location_id}/datasets/{dataset_id}/fhirStores/{fhir_store_id}.
Sourcepub fn locations_datasets_fhir_stores_get(
&self,
name: &str,
) -> ProjectLocationDatasetFhirStoreGetCall<'a, C>
pub fn locations_datasets_fhir_stores_get( &self, name: &str, ) -> ProjectLocationDatasetFhirStoreGetCall<'a, C>
Create a builder to help you perform the following task:
Gets the configuration of the specified FHIR store.
§Arguments
name- Required. The resource name of the FHIR store to get.
Sourcepub fn locations_datasets_fhir_stores_get_fhir_store_metrics(
&self,
name: &str,
) -> ProjectLocationDatasetFhirStoreGetFHIRStoreMetricCall<'a, C>
pub fn locations_datasets_fhir_stores_get_fhir_store_metrics( &self, name: &str, ) -> ProjectLocationDatasetFhirStoreGetFHIRStoreMetricCall<'a, C>
Create a builder to help you perform the following task:
Gets metrics associated with the FHIR store.
§Arguments
name- Required. The resource name of the FHIR store to get metrics for.
Sourcepub fn locations_datasets_fhir_stores_get_iam_policy(
&self,
resource: &str,
) -> ProjectLocationDatasetFhirStoreGetIamPolicyCall<'a, C>
pub fn locations_datasets_fhir_stores_get_iam_policy( &self, resource: &str, ) -> ProjectLocationDatasetFhirStoreGetIamPolicyCall<'a, C>
Create a builder to help you perform the following task:
Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.
§Arguments
resource- REQUIRED: The resource for which the policy is being requested. See Resource names for the appropriate value for this field.
Sourcepub fn locations_datasets_fhir_stores_import(
&self,
request: ImportResourcesRequest,
name: &str,
) -> ProjectLocationDatasetFhirStoreImportCall<'a, C>
pub fn locations_datasets_fhir_stores_import( &self, request: ImportResourcesRequest, name: &str, ) -> ProjectLocationDatasetFhirStoreImportCall<'a, C>
Create a builder to help you perform the following task:
Imports 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, it’s possible that successfully imported resources will 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 will have. 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 is 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). 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.
§Arguments
request- No description provided.name- Required. The name of the FHIR store to import FHIR resources to, in the format ofprojects/{project_id}/locations/{location_id}/datasets/{dataset_id}/fhirStores/{fhir_store_id}.
Sourcepub fn locations_datasets_fhir_stores_list(
&self,
parent: &str,
) -> ProjectLocationDatasetFhirStoreListCall<'a, C>
pub fn locations_datasets_fhir_stores_list( &self, parent: &str, ) -> ProjectLocationDatasetFhirStoreListCall<'a, C>
Create a builder to help you perform the following task:
Lists the FHIR stores in the given dataset.
§Arguments
parent- Required. Name of the dataset.
Sourcepub fn locations_datasets_fhir_stores_patch(
&self,
request: FhirStore,
name: &str,
) -> ProjectLocationDatasetFhirStorePatchCall<'a, C>
pub fn locations_datasets_fhir_stores_patch( &self, request: FhirStore, name: &str, ) -> ProjectLocationDatasetFhirStorePatchCall<'a, C>
Create a builder to help you perform the following task:
Updates the configuration of the specified FHIR store.
§Arguments
request- No description provided.name- Output only. Identifier. Resource name of the FHIR store, of the formprojects/{project_id}/locations/{location}/datasets/{dataset_id}/fhirStores/{fhir_store_id}.
Sourcepub fn locations_datasets_fhir_stores_rollback(
&self,
request: RollbackFhirResourcesRequest,
name: &str,
) -> ProjectLocationDatasetFhirStoreRollbackCall<'a, C>
pub fn locations_datasets_fhir_stores_rollback( &self, request: RollbackFhirResourcesRequest, name: &str, ) -> ProjectLocationDatasetFhirStoreRollbackCall<'a, C>
Create a builder to help you perform the following task:
Rolls back resources from the FHIR store to the specified time. This method returns an Operation that can be used to track the status of the rollback 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). Otherwise, when the operation finishes, a detailed response of type RollbackFhirResourcesResponse is returned in the response field. The metadata field type for this operation is OperationMetadata.
§Arguments
request- No description provided.name- Required. The name of the FHIR store to rollback, in the format of “projects/{project_id}/locations/{location_id}/datasets/{dataset_id} /fhirStores/{fhir_store_id}”.
Sourcepub fn locations_datasets_fhir_stores_set_iam_policy(
&self,
request: SetIamPolicyRequest,
resource: &str,
) -> ProjectLocationDatasetFhirStoreSetIamPolicyCall<'a, C>
pub fn locations_datasets_fhir_stores_set_iam_policy( &self, request: SetIamPolicyRequest, resource: &str, ) -> ProjectLocationDatasetFhirStoreSetIamPolicyCall<'a, C>
Create a builder to help you perform the following task:
Sets the access control policy on the specified resource. Replaces any existing policy. Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED errors.
§Arguments
request- No description provided.resource- REQUIRED: The resource for which the policy is being specified. See Resource names for the appropriate value for this field.
Sourcepub fn locations_datasets_fhir_stores_test_iam_permissions(
&self,
request: TestIamPermissionsRequest,
resource: &str,
) -> ProjectLocationDatasetFhirStoreTestIamPermissionCall<'a, C>
pub fn locations_datasets_fhir_stores_test_iam_permissions( &self, request: TestIamPermissionsRequest, resource: &str, ) -> ProjectLocationDatasetFhirStoreTestIamPermissionCall<'a, C>
Create a builder to help you perform the following task:
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.
§Arguments
request- No description provided.resource- REQUIRED: The resource for which the policy detail is being requested. See Resource names for the appropriate value for this field.
Sourcepub fn locations_datasets_hl7_v2_stores_messages_create(
&self,
request: CreateMessageRequest,
parent: &str,
) -> ProjectLocationDatasetHl7V2StoreMessageCreateCall<'a, C>
pub fn locations_datasets_hl7_v2_stores_messages_create( &self, request: CreateMessageRequest, parent: &str, ) -> ProjectLocationDatasetHl7V2StoreMessageCreateCall<'a, C>
Create a builder to help you perform the following task:
Parses and stores an HL7v2 message. This method triggers an asynchronous notification to any Pub/Sub topic configured in Hl7V2Store.Hl7V2NotificationConfig, if the filtering matches the message. If an MLLP adapter is configured to listen to a Pub/Sub topic, the adapter transmits the message when a notification is received.
§Arguments
request- No description provided.parent- Required. The name of the HL7v2 store this message belongs to.
Sourcepub fn locations_datasets_hl7_v2_stores_messages_delete(
&self,
name: &str,
) -> ProjectLocationDatasetHl7V2StoreMessageDeleteCall<'a, C>
pub fn locations_datasets_hl7_v2_stores_messages_delete( &self, name: &str, ) -> ProjectLocationDatasetHl7V2StoreMessageDeleteCall<'a, C>
Create a builder to help you perform the following task:
Deletes an HL7v2 message.
§Arguments
name- Required. The resource name of the HL7v2 message to delete.
Sourcepub fn locations_datasets_hl7_v2_stores_messages_get(
&self,
name: &str,
) -> ProjectLocationDatasetHl7V2StoreMessageGetCall<'a, C>
pub fn locations_datasets_hl7_v2_stores_messages_get( &self, name: &str, ) -> ProjectLocationDatasetHl7V2StoreMessageGetCall<'a, C>
Create a builder to help you perform the following task:
Gets an HL7v2 message.
§Arguments
name- Required. The resource name of the HL7v2 message to retrieve.
Sourcepub fn locations_datasets_hl7_v2_stores_messages_ingest(
&self,
request: IngestMessageRequest,
parent: &str,
) -> ProjectLocationDatasetHl7V2StoreMessageIngestCall<'a, C>
pub fn locations_datasets_hl7_v2_stores_messages_ingest( &self, request: IngestMessageRequest, parent: &str, ) -> ProjectLocationDatasetHl7V2StoreMessageIngestCall<'a, C>
Create a builder to help you perform the following task:
Parses and stores an HL7v2 message. This method triggers an asynchronous notification to any Pub/Sub topic configured in Hl7V2Store.Hl7V2NotificationConfig, if the filtering matches the message. If an MLLP adapter is configured to listen to a Pub/Sub topic, the adapter transmits the message when a notification is received. If the method is successful, it generates a response containing an HL7v2 acknowledgment (ACK) message. If the method encounters an error, it returns a negative acknowledgment (NACK) message. This behavior is suitable for replying to HL7v2 interface systems that expect these acknowledgments.
§Arguments
request- No description provided.parent- Required. The name of the HL7v2 store this message belongs to.
Sourcepub fn locations_datasets_hl7_v2_stores_messages_list(
&self,
parent: &str,
) -> ProjectLocationDatasetHl7V2StoreMessageListCall<'a, C>
pub fn locations_datasets_hl7_v2_stores_messages_list( &self, parent: &str, ) -> ProjectLocationDatasetHl7V2StoreMessageListCall<'a, C>
Create a builder to help you perform the following task:
Lists all the messages in the given HL7v2 store with support for filtering. Note: HL7v2 messages are indexed asynchronously, so there might be a slight delay between the time a message is created and when it can be found through a filter.
§Arguments
parent- Required. Name of the HL7v2 store to retrieve messages from.
Sourcepub fn locations_datasets_hl7_v2_stores_messages_patch(
&self,
request: Message,
name: &str,
) -> ProjectLocationDatasetHl7V2StoreMessagePatchCall<'a, C>
pub fn locations_datasets_hl7_v2_stores_messages_patch( &self, request: Message, name: &str, ) -> ProjectLocationDatasetHl7V2StoreMessagePatchCall<'a, C>
Create a builder to help you perform the following task:
Update the message. The contents of the message in Message.data and data extracted from the contents such as Message.create_time cannot be altered. Only the Message.labels field is allowed to be updated. The labels in the request are merged with the existing set of labels. Existing labels with the same keys are updated.
§Arguments
request- No description provided.name- Output only. Resource name of the Message, of the formprojects/{project_id}/locations/{location_id}/datasets/{dataset_id}/hl7V2Stores/{hl7_v2_store_id}/messages/{message_id}.
Sourcepub fn locations_datasets_hl7_v2_stores_create(
&self,
request: Hl7V2Store,
parent: &str,
) -> ProjectLocationDatasetHl7V2StoreCreateCall<'a, C>
pub fn locations_datasets_hl7_v2_stores_create( &self, request: Hl7V2Store, parent: &str, ) -> ProjectLocationDatasetHl7V2StoreCreateCall<'a, C>
Create a builder to help you perform the following task:
Creates a new HL7v2 store within the parent dataset.
§Arguments
request- No description provided.parent- Required. The name of the dataset this HL7v2 store belongs to.
Sourcepub fn locations_datasets_hl7_v2_stores_delete(
&self,
name: &str,
) -> ProjectLocationDatasetHl7V2StoreDeleteCall<'a, C>
pub fn locations_datasets_hl7_v2_stores_delete( &self, name: &str, ) -> ProjectLocationDatasetHl7V2StoreDeleteCall<'a, C>
Create a builder to help you perform the following task:
Deletes the specified HL7v2 store and removes all messages that it contains.
§Arguments
name- Required. The resource name of the HL7v2 store to delete.
Sourcepub fn locations_datasets_hl7_v2_stores_export(
&self,
request: ExportMessagesRequest,
name: &str,
) -> ProjectLocationDatasetHl7V2StoreExportCall<'a, C>
pub fn locations_datasets_hl7_v2_stores_export( &self, request: ExportMessagesRequest, name: &str, ) -> ProjectLocationDatasetHl7V2StoreExportCall<'a, C>
Create a builder to help you perform the following task:
Exports the messages to a destination. To filter messages to be exported, define a filter using the start and end time, relative to the message generation time (MSH.7). 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.
§Arguments
request- No description provided.name- Required. The name of the source HL7v2 store, in the formatprojects/{project_id}/locations/{location_id}/datasets/{dataset_id}/hl7v2Stores/{hl7v2_store_id}
Sourcepub fn locations_datasets_hl7_v2_stores_get(
&self,
name: &str,
) -> ProjectLocationDatasetHl7V2StoreGetCall<'a, C>
pub fn locations_datasets_hl7_v2_stores_get( &self, name: &str, ) -> ProjectLocationDatasetHl7V2StoreGetCall<'a, C>
Create a builder to help you perform the following task:
Gets the specified HL7v2 store.
§Arguments
name- Required. The resource name of the HL7v2 store to get.
Sourcepub fn locations_datasets_hl7_v2_stores_get_hl7v2_store_metrics(
&self,
name: &str,
) -> ProjectLocationDatasetHl7V2StoreGetHL7v2StoreMetricCall<'a, C>
pub fn locations_datasets_hl7_v2_stores_get_hl7v2_store_metrics( &self, name: &str, ) -> ProjectLocationDatasetHl7V2StoreGetHL7v2StoreMetricCall<'a, C>
Create a builder to help you perform the following task:
Gets metrics associated with the HL7v2 store.
§Arguments
name- Required. The resource name of the HL7v2 store to get metrics for, in the formatprojects/{project_id}/locations/{location_id}/datasets/{dataset_id}/hl7V2Stores/{hl7v2_store_id}.
Sourcepub fn locations_datasets_hl7_v2_stores_get_iam_policy(
&self,
resource: &str,
) -> ProjectLocationDatasetHl7V2StoreGetIamPolicyCall<'a, C>
pub fn locations_datasets_hl7_v2_stores_get_iam_policy( &self, resource: &str, ) -> ProjectLocationDatasetHl7V2StoreGetIamPolicyCall<'a, C>
Create a builder to help you perform the following task:
Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.
§Arguments
resource- REQUIRED: The resource for which the policy is being requested. See Resource names for the appropriate value for this field.
Sourcepub fn locations_datasets_hl7_v2_stores_import(
&self,
request: ImportMessagesRequest,
name: &str,
) -> ProjectLocationDatasetHl7V2StoreImportCall<'a, C>
pub fn locations_datasets_hl7_v2_stores_import( &self, request: ImportMessagesRequest, name: &str, ) -> ProjectLocationDatasetHl7V2StoreImportCall<'a, C>
Create a builder to help you perform the following task:
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). 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.
§Arguments
request- No description provided.name- Required. The name of the target HL7v2 store, in the formatprojects/{project_id}/locations/{location_id}/datasets/{dataset_id}/hl7v2Stores/{hl7v2_store_id}
Sourcepub fn locations_datasets_hl7_v2_stores_list(
&self,
parent: &str,
) -> ProjectLocationDatasetHl7V2StoreListCall<'a, C>
pub fn locations_datasets_hl7_v2_stores_list( &self, parent: &str, ) -> ProjectLocationDatasetHl7V2StoreListCall<'a, C>
Create a builder to help you perform the following task:
Lists the HL7v2 stores in the given dataset.
§Arguments
parent- Required. Name of the dataset.
Sourcepub fn locations_datasets_hl7_v2_stores_patch(
&self,
request: Hl7V2Store,
name: &str,
) -> ProjectLocationDatasetHl7V2StorePatchCall<'a, C>
pub fn locations_datasets_hl7_v2_stores_patch( &self, request: Hl7V2Store, name: &str, ) -> ProjectLocationDatasetHl7V2StorePatchCall<'a, C>
Create a builder to help you perform the following task:
Updates the HL7v2 store.
§Arguments
request- No description provided.name- Identifier. Resource name of the HL7v2 store, of the formprojects/{project_id}/locations/{location_id}/datasets/{dataset_id}/hl7V2Stores/{hl7v2_store_id}.
Sourcepub fn locations_datasets_hl7_v2_stores_rollback(
&self,
request: RollbackHl7V2MessagesRequest,
name: &str,
) -> ProjectLocationDatasetHl7V2StoreRollbackCall<'a, C>
pub fn locations_datasets_hl7_v2_stores_rollback( &self, request: RollbackHl7V2MessagesRequest, name: &str, ) -> ProjectLocationDatasetHl7V2StoreRollbackCall<'a, C>
Create a builder to help you perform the following task:
Rolls back messages from the HL7v2 store to the specified time. This method returns an Operation that can be used to track the status of the rollback 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). Otherwise, when the operation finishes, a detailed response of type RollbackHl7V2MessagesResponse is returned in the response field. The metadata field type for this operation is OperationMetadata.
§Arguments
request- No description provided.name- Required. The name of the HL7v2 store to rollback, in the format of “projects/{project_id}/locations/{location_id}/datasets/{dataset_id} /hl7V2Stores/{hl7v2_store_id}”.
Sourcepub fn locations_datasets_hl7_v2_stores_set_iam_policy(
&self,
request: SetIamPolicyRequest,
resource: &str,
) -> ProjectLocationDatasetHl7V2StoreSetIamPolicyCall<'a, C>
pub fn locations_datasets_hl7_v2_stores_set_iam_policy( &self, request: SetIamPolicyRequest, resource: &str, ) -> ProjectLocationDatasetHl7V2StoreSetIamPolicyCall<'a, C>
Create a builder to help you perform the following task:
Sets the access control policy on the specified resource. Replaces any existing policy. Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED errors.
§Arguments
request- No description provided.resource- REQUIRED: The resource for which the policy is being specified. See Resource names for the appropriate value for this field.
Sourcepub fn locations_datasets_hl7_v2_stores_test_iam_permissions(
&self,
request: TestIamPermissionsRequest,
resource: &str,
) -> ProjectLocationDatasetHl7V2StoreTestIamPermissionCall<'a, C>
pub fn locations_datasets_hl7_v2_stores_test_iam_permissions( &self, request: TestIamPermissionsRequest, resource: &str, ) -> ProjectLocationDatasetHl7V2StoreTestIamPermissionCall<'a, C>
Create a builder to help you perform the following task:
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.
§Arguments
request- No description provided.resource- REQUIRED: The resource for which the policy detail is being requested. See Resource names for the appropriate value for this field.
Sourcepub fn locations_datasets_operations_cancel(
&self,
request: CancelOperationRequest,
name: &str,
) -> ProjectLocationDatasetOperationCancelCall<'a, C>
pub fn locations_datasets_operations_cancel( &self, request: CancelOperationRequest, name: &str, ) -> ProjectLocationDatasetOperationCancelCall<'a, C>
Create a builder to help you perform the following task:
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.
§Arguments
request- No description provided.name- The name of the operation resource to be cancelled.
Sourcepub fn locations_datasets_operations_get(
&self,
name: &str,
) -> ProjectLocationDatasetOperationGetCall<'a, C>
pub fn locations_datasets_operations_get( &self, name: &str, ) -> ProjectLocationDatasetOperationGetCall<'a, C>
Create a builder to help you perform the following task:
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.
§Arguments
name- The name of the operation resource.
Sourcepub fn locations_datasets_operations_list(
&self,
name: &str,
) -> ProjectLocationDatasetOperationListCall<'a, C>
pub fn locations_datasets_operations_list( &self, name: &str, ) -> ProjectLocationDatasetOperationListCall<'a, C>
Create a builder to help you perform the following task:
Lists operations that match the specified filter in the request. If the server doesn’t support this method, it returns UNIMPLEMENTED.
§Arguments
name- The name of the operation’s parent resource.
Sourcepub fn locations_datasets_create(
&self,
request: Dataset,
parent: &str,
) -> ProjectLocationDatasetCreateCall<'a, C>
pub fn locations_datasets_create( &self, request: Dataset, parent: &str, ) -> ProjectLocationDatasetCreateCall<'a, C>
Create a builder to help you perform the following task:
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.
§Arguments
request- No description provided.parent- Required. The name of the project where the server creates the dataset. For example,projects/{project_id}/locations/{location_id}.
Sourcepub fn locations_datasets_deidentify(
&self,
request: DeidentifyDatasetRequest,
source_dataset: &str,
) -> ProjectLocationDatasetDeidentifyCall<'a, C>
pub fn locations_datasets_deidentify( &self, request: DeidentifyDatasetRequest, source_dataset: &str, ) -> ProjectLocationDatasetDeidentifyCall<'a, C>
Create a builder to help you perform the following task:
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. If errors occur, error is set. 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. Failed resource totals are tracked in Operation.metadata. Error details are also logged to Cloud Logging. For more information, see Viewing error logs in Cloud Logging.
§Arguments
request- No description provided.sourceDataset- Required. Source dataset resource name. For example,projects/{project_id}/locations/{location_id}/datasets/{dataset_id}. R5 FHIR stores are not supported and will be skipped.
Sourcepub fn locations_datasets_delete(
&self,
name: &str,
) -> ProjectLocationDatasetDeleteCall<'a, C>
pub fn locations_datasets_delete( &self, name: &str, ) -> ProjectLocationDatasetDeleteCall<'a, C>
Create a builder to help you perform the following task:
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).
§Arguments
name- Required. The name of the dataset to delete. For example,projects/{project_id}/locations/{location_id}/datasets/{dataset_id}.
Sourcepub fn locations_datasets_get(
&self,
name: &str,
) -> ProjectLocationDatasetGetCall<'a, C>
pub fn locations_datasets_get( &self, name: &str, ) -> ProjectLocationDatasetGetCall<'a, C>
Create a builder to help you perform the following task:
Gets any metadata associated with a dataset.
§Arguments
name- Required. The name of the dataset to read. For example,projects/{project_id}/locations/{location_id}/datasets/{dataset_id}.
Sourcepub fn locations_datasets_get_iam_policy(
&self,
resource: &str,
) -> ProjectLocationDatasetGetIamPolicyCall<'a, C>
pub fn locations_datasets_get_iam_policy( &self, resource: &str, ) -> ProjectLocationDatasetGetIamPolicyCall<'a, C>
Create a builder to help you perform the following task:
Gets the access control policy for a resource. Returns an empty policy if the resource exists and does not have a policy set.
§Arguments
resource- REQUIRED: The resource for which the policy is being requested. See Resource names for the appropriate value for this field.
Sourcepub fn locations_datasets_list(
&self,
parent: &str,
) -> ProjectLocationDatasetListCall<'a, C>
pub fn locations_datasets_list( &self, parent: &str, ) -> ProjectLocationDatasetListCall<'a, C>
Create a builder to help you perform the following task:
Lists the health datasets in the current project.
§Arguments
parent- Required. The name of the project whose datasets should be listed. For example,projects/{project_id}/locations/{location_id}.
Sourcepub fn locations_datasets_patch(
&self,
request: Dataset,
name: &str,
) -> ProjectLocationDatasetPatchCall<'a, C>
pub fn locations_datasets_patch( &self, request: Dataset, name: &str, ) -> ProjectLocationDatasetPatchCall<'a, C>
Create a builder to help you perform the following task:
Updates dataset metadata.
§Arguments
request- No description provided.name- Identifier. Resource name of the dataset, of the formprojects/{project_id}/locations/{location_id}/datasets/{dataset_id}.
Sourcepub fn locations_datasets_set_iam_policy(
&self,
request: SetIamPolicyRequest,
resource: &str,
) -> ProjectLocationDatasetSetIamPolicyCall<'a, C>
pub fn locations_datasets_set_iam_policy( &self, request: SetIamPolicyRequest, resource: &str, ) -> ProjectLocationDatasetSetIamPolicyCall<'a, C>
Create a builder to help you perform the following task:
Sets the access control policy on the specified resource. Replaces any existing policy. Can return NOT_FOUND, INVALID_ARGUMENT, and PERMISSION_DENIED errors.
§Arguments
request- No description provided.resource- REQUIRED: The resource for which the policy is being specified. See Resource names for the appropriate value for this field.
Sourcepub fn locations_datasets_test_iam_permissions(
&self,
request: TestIamPermissionsRequest,
resource: &str,
) -> ProjectLocationDatasetTestIamPermissionCall<'a, C>
pub fn locations_datasets_test_iam_permissions( &self, request: TestIamPermissionsRequest, resource: &str, ) -> ProjectLocationDatasetTestIamPermissionCall<'a, C>
Create a builder to help you perform the following task:
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.
§Arguments
request- No description provided.resource- REQUIRED: The resource for which the policy detail is being requested. See Resource names for the appropriate value for this field.
Sourcepub fn locations_services_nlp_analyze_entities(
&self,
request: AnalyzeEntitiesRequest,
nlp_service: &str,
) -> ProjectLocationServiceNlpAnalyzeEntityCall<'a, C>
pub fn locations_services_nlp_analyze_entities( &self, request: AnalyzeEntitiesRequest, nlp_service: &str, ) -> ProjectLocationServiceNlpAnalyzeEntityCall<'a, C>
Create a builder to help you perform the following task:
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.
§Arguments
request- No description provided.nlpService- The resource name of the service of the form: “projects/{project_id}/locations/{location_id}/services/nlp”.
Sourcepub fn locations_get(&self, name: &str) -> ProjectLocationGetCall<'a, C>
pub fn locations_get(&self, name: &str) -> ProjectLocationGetCall<'a, C>
Create a builder to help you perform the following task:
Gets information about a location.
§Arguments
name- Resource name for the location.
Sourcepub fn locations_list(&self, name: &str) -> ProjectLocationListCall<'a, C>
pub fn locations_list(&self, name: &str) -> ProjectLocationListCall<'a, C>
Create a builder to help you perform the following task:
Lists information about the supported locations for this service.
§Arguments
name- The resource that owns the locations collection, if applicable.