Class: Google::Apis::DlpV2::GooglePrivacyDlpV2RecordTransformation

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

Overview

The field in a record to transform.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GooglePrivacyDlpV2RecordTransformation

Returns a new instance of GooglePrivacyDlpV2RecordTransformation.



7955
7956
7957
# File 'lib/google/apis/dlp_v2/classes.rb', line 7955

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

Instance Attribute Details

#container_timestampString

Findings container modification timestamp, if applicable. Corresponds to the JSON property containerTimestamp

Returns:

  • (String)


7943
7944
7945
# File 'lib/google/apis/dlp_v2/classes.rb', line 7943

def container_timestamp
  @container_timestamp
end

#container_versionString

Container version, if available ("generation" for Cloud Storage). Corresponds to the JSON property containerVersion

Returns:

  • (String)


7948
7949
7950
# File 'lib/google/apis/dlp_v2/classes.rb', line 7948

def container_version
  @container_version
end

#field_idGoogle::Apis::DlpV2::GooglePrivacyDlpV2FieldId

General identifier of a data field in a storage service. Corresponds to the JSON property fieldId



7953
7954
7955
# File 'lib/google/apis/dlp_v2/classes.rb', line 7953

def field_id
  @field_id
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



7960
7961
7962
7963
7964
# File 'lib/google/apis/dlp_v2/classes.rb', line 7960

def update!(**args)
  @container_timestamp = args[:container_timestamp] if args.key?(:container_timestamp)
  @container_version = args[:container_version] if args.key?(:container_version)
  @field_id = args[:field_id] if args.key?(:field_id)
end