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.



2077
2078
2079
# File 'lib/google/apis/dlp_v2/classes.rb', line 2077

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



2075
2076
2077
# File 'lib/google/apis/dlp_v2/classes.rb', line 2075

def properties
  @properties
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



2082
2083
2084
# File 'lib/google/apis/dlp_v2/classes.rb', line 2082

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