How to protect your data with Google Cloud Platform depends on where the data sits and who reads it. For health data, the Cloud Healthcare API keeps FHIR, DICOM and HL7v2 data in managed stores, and its de-identification operation makes copies that analytics and research teams can use without seeing who the patients are.
Startup founders and engineering leaders building on Google Cloud will find how datasets and stores set access boundaries, how de-identified copies are made, and which decisions about keys and access have to come first.
How do you protect health data with Google Cloud Platform?
You protect health data with Google Cloud Platform by keeping identifiable records in Cloud Healthcare API stores with tight access, and giving analysts and researchers de-identified copies in a separate dataset instead. Access, encryption, logging and the de-identification configuration are each set deliberately, because Google provides the tools but the configuration is yours.
Moving health data onto Google Cloud?
We design the datasets, access boundaries and de-identification pipeline before any data moves.
Agnotic Technologies builds these pipelines for clients. Most of the protection comes from a few structural decisions made early: how datasets are split, who can reach each one, and which copies of the data exist.
What are Cloud Healthcare API datasets and stores?
A Cloud Healthcare API dataset is a container in a Google Cloud project that holds healthcare data in stores: FHIR stores, DICOM stores and HL7v2 stores. The dataset is the natural boundary for access, location and encryption.
- FHIR store: clinical resources such as Patient, Observation and Encounter.
- DICOM store: imaging studies, with patient details in the DICOM headers and sometimes in the pixels.
- HL7v2 store: messages from EHRs and interface engines, such as admissions and results.
- Project: separate projects for identifiable and de-identified data keep access reviews simple.
Keep identifiable and de-identified data in different datasets, and ideally in different projects, so a role granted for analytics cannot reach the source by accident.
How does de-identification work in the Cloud Healthcare API?
Google's Cloud Healthcare API documentation says de-identification does not change the original dataset, FHIR store or DICOM store. De-identified copies are written to a new destination dataset, or to an existing DICOM or FHIR store, and Google states the feature is not guaranteed to satisfy any specific legal, regulatory or compliance requirement.
In practice the operation reads the source and writes a transformed copy somewhere else. The identifiable source stays untouched, and the copy can sit under different access rules, in a different project, for a different audience.
The configuration decides what the copy contains. Write it down, review it like code and keep a record of which configuration produced each copy.
- Fields to remove or transform: names, identifiers, addresses, contact details and free text.
- Dates: shift them by a consistent offset per patient, or keep only the year, depending on the study.
- Identifiers: replace them with consistent pseudonyms so one patient's records still link together.
- DICOM: header tags, plus any text burned into the image that must be redacted.
Is a de-identified copy enough for HIPAA?
A de-identified copy meets HIPAA's standard only if it satisfies one of the two methods in the regulation. Google's tool is a way to apply the method you chose, not proof that you met it.
Under 45 CFR 164.514(b), health information counts as not individually identifiable only through expert determination, where a qualified person documents that the risk of identification is very small, or through safe harbor, which removes 18 listed identifiers of the individual and of relatives, employers or household members and requires no actual knowledge that the remaining data could identify the person.
Free text is where most leaks happen. Clinical notes, report text and DICOM descriptions can name people, places and dates in ways a field-by-field rule misses. Review samples of every output before anyone outside the identifiable environment reads it.
Checking de-identified output before release
De-identified output should be checked by a person before each new configuration, or each new data source, is released to its audience. The check is quick compared with the cost of a leak, and it is the step teams most often skip.
- Sample across types: pick records from every resource type, message type and imaging modality in the copy.
- Read free text: notes, report narratives and DICOM descriptions, line by line.
- Look at images: burned-in labels, scanned documents and screenshots stored as images.
- Test linkage: confirm that pseudonyms link one patient's records but reveal nothing on their own.
- Record the result: who reviewed, which sample, and whether the copy was approved.
Repeat the check when an upstream system changes. A new EHR template or a new modality can add fields the configuration was never written for.
Pseudonyms and the keys behind them
Pseudonyms let analysts follow one patient across encounters without knowing who the patient is. The secret used to create them is as sensitive as the identifiable data itself.
- Keep the secret in a key management service, readable only by the de-identification job.
- Use a different secret per audience, so two copies cannot be joined without permission.
- Never store a lookup table from pseudonym to identity in the analytics project.
Why does the key decision have to come first?
The key decision has to come first because customer-managed keys can only be chosen when a dataset is created.
Google's documentation says customer-managed encryption keys (CMEK) for a Cloud Healthcare API dataset are set when the dataset is created and cannot be enabled, changed or disabled afterwards. It lists VPC Service Controls with CMEK as not supported, and warns that destroying a key permanently loses all data encrypted with it.
Two consequences follow. Teams must decide on customer-managed keys before loading data, because changing later means creating a new dataset and moving everything into it. And a team that wants both its own keys and a VPC Service Controls perimeter must check the current documentation and decide per dataset.
Key loss is also final. Treat key destruction with the same approvals as deleting the dataset, and keep it out of routine automation.
Five layers that protect the data
Five layers protect health data on Google Cloud, and each needs an explicit decision recorded in the design.
| Layer | What to decide | Typical choice |
|---|---|---|
| Identity and access | Who can read each dataset and store | IAM roles on datasets or stores, granted to groups rather than individuals |
| Network | Whether the API can be reached from outside your perimeter | A VPC Service Controls perimeter where it fits the key decision |
| Encryption | Who controls the keys | Google-managed keys by default, or customer-managed keys chosen at dataset creation |
| Audit logging | Which reads and writes are recorded | Data access logging confirmed for the Healthcare API in identifiable projects |
| Copies | Which copies exist and why | De-identified datasets for analytics, and no ad hoc exports of identifiable data |
How does a team set up protected stores step by step?
A team sets up protected stores by fixing the structure first and moving data last.
- Step 1, split projects: one for identifiable stores, one for de-identified analytics.
- Step 2, choose encryption: decide on customer-managed keys before creating each dataset.
- Step 3, set access: grant roles on datasets and stores to groups, with no broad project-level grants.
- Step 4, confirm audit logs: make sure data access to the Healthcare API is logged in identifiable projects.
- Step 5, configure de-identification: write the configuration, run it on test data and review samples.
- Step 6, automate and record: run de-identification as a pipeline job and log which configuration made each copy.
Who may see identifiable data
Only the people and services that need identifiable data for care, operations or a defined integration should see it. Everyone else works from the de-identified copy.
- Integration services: write access to the stores they feed, nothing more.
- Clinical applications: read access scoped to the stores they use.
- Data engineers: access to the pipeline, and to identifiable data only when a ticket justifies it.
- Analysts and researchers: the de-identified dataset only.
What are the common mistakes when protecting health data on Google Cloud?
The common mistakes when protecting health data on Google Cloud come from mixing identifiable and de-identified data, and from treating the tools as the safeguard.
- One project for everything: a single broad role exposes identifiable and de-identified data together.
- Project-level Owner or Editor grants: access reaches every store in the project.
- Assuming de-identification equals compliance: the output is never reviewed against the chosen method.
- Ignoring free text and DICOM pixels: names survive in notes, descriptions and burned-in labels.
- Choosing keys after loading data: the dataset has to be rebuilt to change them.
What does it mean for your build plan?
Protecting health data on Google Cloud adds design work before any pipeline runs, and review work after each de-identified copy is produced.
- Agree the project and dataset layout, the key decision and the IAM groups before migration.
- Decide the de-identification method with your privacy and compliance leads.
- Plan sample reviews of de-identified output, including free text and images.
- Keep a register of every copy, its configuration and its audience.
- Write the access review into the operating calendar, with an owner for each dataset.
For existing data, plan the move as a migration with counts and checks at each step, not as a bulk copy. Identifiable data loaded into the wrong project is hard to clean up, and the audit logs will show it was there.
How can Agnotic help protect your data on Google Cloud?
Agnotic designs the project and dataset layout, sets access and keys, builds the de-identification pipeline and reviews its output with your team, so analysts get useful data and identifiable records stay where they belong.
Identifiable data stays put, analysts still get answers
We build the stores, the access model and the de-identified copies.
Related reading on Agnotic
Health data platforms, storage and engineering on Agnotic.


