Class: Google::Apis::DlpV2::GooglePrivacyDlpV2ContentMetadata

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

Metadata on content to be scanned.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GooglePrivacyDlpV2ContentMetadata

Returns a new instance of GooglePrivacyDlpV2ContentMetadata.



2051
2052
2053
# File 'lib/google/apis/dlp_v2/classes.rb', line 2051

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

Instance Attribute Details

#propertiesArray<Google::Apis::DlpV2::GooglePrivacyDlpV2KeyValueMetadataProperty>

User provided key-value pairs of content metadata. Corresponds to the JSON property properties



2049
2050
2051
# File 'lib/google/apis/dlp_v2/classes.rb', line 2049

def properties
  @properties
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2056
2057
2058
# File 'lib/google/apis/dlp_v2/classes.rb', line 2056

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