Class: Google::Apis::DlpV2::GooglePrivacyDlpV2StoredInfoTypeConfig

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

Overview

Configuration for a StoredInfoType.

Instance Attribute Summary collapse

Instance Method Summary collapse

Methods included from Core::JsonObjectSupport

#to_json

Methods included from Core::Hashable

process_value, #to_h

Constructor Details

#initialize(**args) ⇒ GooglePrivacyDlpV2StoredInfoTypeConfig

Returns a new instance of GooglePrivacyDlpV2StoredInfoTypeConfig



5085
5086
5087
# File 'generated/google/apis/dlp_v2/classes.rb', line 5085

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

Instance Attribute Details

#descriptionString

Description of the StoredInfoType (max 256 characters). Corresponds to the JSON property description

Returns:

  • (String)


5068
5069
5070
# File 'generated/google/apis/dlp_v2/classes.rb', line 5068

def description
  @description
end

#display_nameString

Display name of the StoredInfoType (max 256 characters). Corresponds to the JSON property displayName

Returns:

  • (String)


5073
5074
5075
# File 'generated/google/apis/dlp_v2/classes.rb', line 5073

def display_name
  @display_name
end

#large_custom_dictionaryGoogle::Apis::DlpV2::GooglePrivacyDlpV2LargeCustomDictionaryConfig

Configuration for a custom dictionary created from a data source of any size up to the maximum size defined in the limits page. The artifacts of dictionary creation are stored in the specified Google Cloud Storage location. Consider using CustomInfoType.Dictionary for smaller dictionaries that satisfy the size requirements. Corresponds to the JSON property largeCustomDictionary



5083
5084
5085
# File 'generated/google/apis/dlp_v2/classes.rb', line 5083

def large_custom_dictionary
  @large_custom_dictionary
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



5090
5091
5092
5093
5094
# File 'generated/google/apis/dlp_v2/classes.rb', line 5090

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