Class: Google::Apis::HealthcareV1::DeidentifyDatasetRequest
- Inherits:
-
Object
- Object
- Google::Apis::HealthcareV1::DeidentifyDatasetRequest
- 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
Redacts identifying information from the specified dataset.
Instance Attribute Summary collapse
-
#config ⇒ Google::Apis::HealthcareV1::DeidentifyConfig
Configures de-id options specific to different types of content.
-
#destination_dataset ⇒ String
The name of the dataset resource to create and write the redacted data to.
Instance Method Summary collapse
-
#initialize(**args) ⇒ DeidentifyDatasetRequest
constructor
A new instance of DeidentifyDatasetRequest.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ DeidentifyDatasetRequest
Returns a new instance of DeidentifyDatasetRequest.
357 358 359 |
# File 'lib/google/apis/healthcare_v1/classes.rb', line 357 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
347 348 349 |
# File 'lib/google/apis/healthcare_v1/classes.rb', line 347 def config @config end |
#destination_dataset ⇒ String
The name of the dataset resource to create and write the redacted data to. *
The destination dataset must not exist. * The destination dataset must be in
the same project and location as the source dataset. De-identifying data
across multiple projects or locations is not supported.
Corresponds to the JSON property destinationDataset
355 356 357 |
# File 'lib/google/apis/healthcare_v1/classes.rb', line 355 def destination_dataset @destination_dataset end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
362 363 364 365 |
# File 'lib/google/apis/healthcare_v1/classes.rb', line 362 def update!(**args) @config = args[:config] if args.key?(:config) @destination_dataset = args[:destination_dataset] if args.key?(:destination_dataset) end |