Class: Google::Apis::HealthcareV1beta1::DeidentifyDatasetRequest

Inherits:
Object
  • Object
show all
Includes:
Core::Hashable, Core::JsonObjectSupport
Defined in:
generated/google/apis/healthcare_v1beta1/classes.rb,
generated/google/apis/healthcare_v1beta1/representations.rb,
generated/google/apis/healthcare_v1beta1/representations.rb

Overview

Redacts identifying information from the specified dataset.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ DeidentifyDatasetRequest

Returns a new instance of DeidentifyDatasetRequest



371
372
373
# File 'generated/google/apis/healthcare_v1beta1/classes.rb', line 371

def initialize(**args)
   update!(**args)
end

Instance Attribute Details

#configGoogle::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



360
361
362
# File 'generated/google/apis/healthcare_v1beta1/classes.rb', line 360

def config
  @config
end

#destination_datasetString

The name of the dataset resource to create and write the redacted data to (e.g.,

  • The destination dataset must not exist.
  • The destination dataset must be in the same project as the source dataset. De-identifying data across multiple projects is not supported. Corresponds to the JSON property destinationDataset

Returns:

  • (String)


369
370
371
# File 'generated/google/apis/healthcare_v1beta1/classes.rb', line 369

def destination_dataset
  @destination_dataset
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



376
377
378
379
# File 'generated/google/apis/healthcare_v1beta1/classes.rb', line 376

def update!(**args)
  @config = args[:config] if args.key?(:config)
  @destination_dataset = args[:destination_dataset] if args.key?(:destination_dataset)
end