lib/google/apis/healthcare_v1/classes.rb in google-apis-healthcare_v1-0.42.0 vs lib/google/apis/healthcare_v1/classes.rb in google-apis-healthcare_v1-0.43.0

- old
+ new

@@ -902,20 +902,31 @@ # source_dataset. # Corresponds to the JSON property `text` # @return [Google::Apis::HealthcareV1::TextConfig] attr_accessor :text + # Ensures in-flight data remains in the region of origin during de- + # identification. Using this option results in a significant reduction of + # throughput, and is not compatible with `LOCATION` or `ORGANIZATION_NAME` + # infoTypes. `LOCATION` must be excluded within `TextConfig`, and must also be + # excluded within `ImageConfig` if image redaction is required. + # Corresponds to the JSON property `useRegionalDataProcessing` + # @return [Boolean] + attr_accessor :use_regional_data_processing + alias_method :use_regional_data_processing?, :use_regional_data_processing + def initialize(**args) update!(**args) end # Update properties of this object def update!(**args) @dicom = args[:dicom] if args.key?(:dicom) @fhir = args[:fhir] if args.key?(:fhir) @image = args[:image] if args.key?(:image) @text = args[:text] if args.key?(:text) + @use_regional_data_processing = args[:use_regional_data_processing] if args.key?(:use_regional_data_processing) end end # Redacts identifying information from the specified dataset. class DeidentifyDatasetRequest @@ -3348,11 +3359,11 @@ @next_page_token = args[:next_page_token] if args.key?(:next_page_token) @user_data_mappings = args[:user_data_mappings] if args.key?(:user_data_mappings) end end - # A resource that represents Google Cloud Platform location. + # A resource that represents a Google Cloud location. class Location include Google::Apis::Core::Hashable # The friendly name for this location, typically a nearby city name. For example, # "Tokyo". @@ -4514,10 +4525,21 @@ # class TextConfig include Google::Apis::Core::Hashable + # Transformations to apply to the detected data, overridden by ` + # exclude_info_types`. + # Corresponds to the JSON property `additionalTransformations` + # @return [Array<Google::Apis::HealthcareV1::InfoTypeTransformation>] + attr_accessor :additional_transformations + + # InfoTypes to skip transforming, overriding `additional_transformations`. + # Corresponds to the JSON property `excludeInfoTypes` + # @return [Array<String>] + attr_accessor :exclude_info_types + # The transformations to apply to the detected data. Deprecated. Use ` # additional_transformations` instead. # Corresponds to the JSON property `transformations` # @return [Array<Google::Apis::HealthcareV1::InfoTypeTransformation>] attr_accessor :transformations @@ -4526,9 +4548,11 @@ update!(**args) end # Update properties of this object def update!(**args) + @additional_transformations = args[:additional_transformations] if args.key?(:additional_transformations) + @exclude_info_types = args[:exclude_info_types] if args.key?(:exclude_info_types) @transformations = args[:transformations] if args.key?(:transformations) end end # A span of text in the provided document.