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

Inherits:
Object
  • Object
show all
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

Redacts identifying information from the specified dataset.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ DeidentifyDatasetRequest

Returns a new instance of DeidentifyDatasetRequest.



1825
1826
1827
# File 'lib/google/apis/healthcare_v1beta1/classes.rb', line 1825

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



1805
1806
1807
# File 'lib/google/apis/healthcare_v1beta1/classes.rb', line 1805

def config
  @config
end

#destination_datasetString

Required. 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 location as the source dataset. De-identifying data across multiple locations is not supported. Corresponds to the JSON property destinationDataset

Returns:

  • (String)


1813
1814
1815
# File 'lib/google/apis/healthcare_v1beta1/classes.rb', line 1813

def destination_dataset
  @destination_dataset
end

#gcs_config_uriString

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

Returns:

  • (String)


1823
1824
1825
# File 'lib/google/apis/healthcare_v1beta1/classes.rb', line 1823

def gcs_config_uri
  @gcs_config_uri
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



1830
1831
1832
1833
1834
# File 'lib/google/apis/healthcare_v1beta1/classes.rb', line 1830

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