Class: Google::Apis::HealthcareV1beta1::DeidentifyFhirStoreRequest
- Inherits:
-
Object
- Object
- Google::Apis::HealthcareV1beta1::DeidentifyFhirStoreRequest
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/healthcare_v1beta1/classes.rb,
lib/google/apis/healthcare_v1beta1/representations.rb,
lib/google/apis/healthcare_v1beta1/representations.rb
Overview
Creates a new FHIR store with sensitive information de-identified.
Instance Attribute Summary collapse
-
#config ⇒ Google::Apis::HealthcareV1beta1::DeidentifyConfig
Configures de-id options specific to different types of content.
-
#destination_store ⇒ String
The name of the FHIR store to create and write the redacted data to.
-
#gcs_config_uri ⇒ String
Cloud Storage location to read the JSON cloud.healthcare.deidentify.
-
#resource_filter ⇒ Google::Apis::HealthcareV1beta1::FhirFilter
Filter configuration.
Instance Method Summary collapse
-
#initialize(**args) ⇒ DeidentifyFhirStoreRequest
constructor
A new instance of DeidentifyFhirStoreRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ DeidentifyFhirStoreRequest
Returns a new instance of DeidentifyFhirStoreRequest.
1255 1256 1257 |
# File 'lib/google/apis/healthcare_v1beta1/classes.rb', line 1255 def initialize(**args) update!(**args) end |
Instance Attribute Details
#config ⇒ Google::Apis::HealthcareV1beta1::DeidentifyConfig
Configures de-id options specific to different types of content. Each
submessage customizes the handling of an https://tools.ietf.org/html/rfc6838
media type or subtype. Configs are applied in a nested manner at runtime.
Corresponds to the JSON property config
1227 1228 1229 |
# File 'lib/google/apis/healthcare_v1beta1/classes.rb', line 1227 def config @config end |
#destination_store ⇒ String
The name of the FHIR store to create and write the redacted data to. For
example, projects/project_id/locations/location_id/datasets/dataset_id/
fhirStores/fhir_store_id`. * The destination dataset must exist. * The
source dataset and destination dataset must both reside in the same location.
De-identifying data across multiple locations is not supported. * The
destination FHIR store must exist. * The caller must have the healthcare.
fhirResources.update permission to write to the destination FHIR store.
Corresponds to the JSON propertydestinationStore`
1238 1239 1240 |
# File 'lib/google/apis/healthcare_v1beta1/classes.rb', line 1238 def destination_store @destination_store end |
#gcs_config_uri ⇒ String
Cloud Storage location to read the JSON cloud.healthcare.deidentify.
DeidentifyConfig from, overriding the default config. Must be of the form gs:/
/bucket_id/path/to/object. The Cloud Storage location must grant the Cloud
IAM role roles/storage.objectViewer to the project's Cloud Healthcare
Service Agent service account. Only one of config and gcs_config_uri can
be specified.
Corresponds to the JSON property gcsConfigUri
1248 1249 1250 |
# File 'lib/google/apis/healthcare_v1beta1/classes.rb', line 1248 def gcs_config_uri @gcs_config_uri end |
#resource_filter ⇒ Google::Apis::HealthcareV1beta1::FhirFilter
Filter configuration.
Corresponds to the JSON property resourceFilter
1253 1254 1255 |
# File 'lib/google/apis/healthcare_v1beta1/classes.rb', line 1253 def resource_filter @resource_filter end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1260 1261 1262 1263 1264 1265 |
# File 'lib/google/apis/healthcare_v1beta1/classes.rb', line 1260 def update!(**args) @config = args[:config] if args.key?(:config) @destination_store = args[:destination_store] if args.key?(:destination_store) @gcs_config_uri = args[:gcs_config_uri] if args.key?(:gcs_config_uri) @resource_filter = args[:resource_filter] if args.key?(:resource_filter) end |