Class: Google::Apis::DlpV2::GooglePrivacyDlpV2StoredType
- Inherits:
-
Object
- Object
- Google::Apis::DlpV2::GooglePrivacyDlpV2StoredType
- 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
A reference to a StoredInfoType to use with scanning.
Instance Attribute Summary collapse
-
#create_time ⇒ String
Timestamp indicating when the version of the
StoredInfoType
used for inspection was created. -
#name ⇒ String
Resource name of the requested
StoredInfoType
, for exampleorganizations/433245324/storedInfoTypes/432452342
orprojects/project-id/storedInfoTypes/432452342
.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GooglePrivacyDlpV2StoredType
constructor
A new instance of GooglePrivacyDlpV2StoredType.
-
#update!(**args) ⇒ Object
Update properties of this object.
Methods included from Core::JsonObjectSupport
Methods included from Core::Hashable
Constructor Details
#initialize(**args) ⇒ GooglePrivacyDlpV2StoredType
Returns a new instance of GooglePrivacyDlpV2StoredType
5164 5165 5166 |
# File 'generated/google/apis/dlp_v2/classes.rb', line 5164 def initialize(**args) update!(**args) end |
Instance Attribute Details
#create_time ⇒ String
Timestamp indicating when the version of the StoredInfoType
used for
inspection was created. Output-only field, populated by the system.
Corresponds to the JSON property createTime
5155 5156 5157 |
# File 'generated/google/apis/dlp_v2/classes.rb', line 5155 def create_time @create_time end |
#name ⇒ String
Resource name of the requested StoredInfoType
, for example
organizations/433245324/storedInfoTypes/432452342
or
projects/project-id/storedInfoTypes/432452342
.
Corresponds to the JSON property name
5162 5163 5164 |
# File 'generated/google/apis/dlp_v2/classes.rb', line 5162 def name @name end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
5169 5170 5171 5172 |
# File 'generated/google/apis/dlp_v2/classes.rb', line 5169 def update!(**args) @create_time = args[:create_time] if args.key?(:create_time) @name = args[:name] if args.key?(:name) end |