Class: Google::Apis::HealthcareV1::DeidentifyDicomStoreRequest
- Inherits:
-
Object
- Object
- Google::Apis::HealthcareV1::DeidentifyDicomStoreRequest
- Includes:
- Core::Hashable, Core::JsonObjectSupport
- Defined in:
- lib/google/apis/healthcare_v1/classes.rb,
lib/google/apis/healthcare_v1/representations.rb,
lib/google/apis/healthcare_v1/representations.rb
Overview
Creates a new DICOM store with sensitive information de-identified.
Instance Attribute Summary collapse
-
#config ⇒ Google::Apis::HealthcareV1::DeidentifyConfig
Configures de-id options specific to different types of content.
-
#destination_store ⇒ String
Required.
-
#filter_config ⇒ Google::Apis::HealthcareV1::DicomFilterConfig
Specifies the filter configuration for DICOM resources.
-
#gcs_config_uri ⇒ String
Cloud Storage location to read the JSON cloud.healthcare.deidentify.
Instance Method Summary collapse
-
#initialize(**args) ⇒ DeidentifyDicomStoreRequest
constructor
A new instance of DeidentifyDicomStoreRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ DeidentifyDicomStoreRequest
Returns a new instance of DeidentifyDicomStoreRequest.
1056 1057 1058 |
# File 'lib/google/apis/healthcare_v1/classes.rb', line 1056 def initialize(**args) update!(**args) end |
Instance Attribute Details
#config ⇒ Google::Apis::HealthcareV1::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
1028 1029 1030 |
# File 'lib/google/apis/healthcare_v1/classes.rb', line 1028 def config @config end |
#destination_store ⇒ String
Required. The name of the DICOM store to create and write the redacted data to.
For example, projects/
project_id/locations/
location_id/datasets/
dataset_id/dicomStores/
dicom_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 DICOM store must not exist. * The caller must have the
necessary permissions to create the destination DICOM store.
Corresponds to the JSON property
destinationStore
1039 1040 1041 |
# File 'lib/google/apis/healthcare_v1/classes.rb', line 1039 def destination_store @destination_store end |
#filter_config ⇒ Google::Apis::HealthcareV1::DicomFilterConfig
Specifies the filter configuration for DICOM resources.
Corresponds to the JSON property filterConfig
1044 1045 1046 |
# File 'lib/google/apis/healthcare_v1/classes.rb', line 1044 def filter_config @filter_config 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
1054 1055 1056 |
# File 'lib/google/apis/healthcare_v1/classes.rb', line 1054 def gcs_config_uri @gcs_config_uri end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
1061 1062 1063 1064 1065 1066 |
# File 'lib/google/apis/healthcare_v1/classes.rb', line 1061 def update!(**args) @config = args[:config] if args.key?(:config) @destination_store = args[:destination_store] if args.key?(:destination_store) @filter_config = args[:filter_config] if args.key?(:filter_config) @gcs_config_uri = args[:gcs_config_uri] if args.key?(:gcs_config_uri) end |