Class: Google::Apis::DlpV2::GooglePrivacyDlpV2VersionDescription
- Inherits:
-
Object
- Object
- Google::Apis::DlpV2::GooglePrivacyDlpV2VersionDescription
- 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
Details about each available version for an infotype.
Instance Attribute Summary collapse
-
#description ⇒ String
Description of the version.
-
#version ⇒ String
Name of the version Corresponds to the JSON property
version.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GooglePrivacyDlpV2VersionDescription
constructor
A new instance of GooglePrivacyDlpV2VersionDescription.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GooglePrivacyDlpV2VersionDescription
Returns a new instance of GooglePrivacyDlpV2VersionDescription.
7997 7998 7999 |
# File 'lib/google/apis/dlp_v2/classes.rb', line 7997 def initialize(**args) update!(**args) end |
Instance Attribute Details
#description ⇒ String
Description of the version.
Corresponds to the JSON property description
7990 7991 7992 |
# File 'lib/google/apis/dlp_v2/classes.rb', line 7990 def description @description end |
#version ⇒ String
Name of the version
Corresponds to the JSON property version
7995 7996 7997 |
# File 'lib/google/apis/dlp_v2/classes.rb', line 7995 def version @version end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
8002 8003 8004 8005 |
# File 'lib/google/apis/dlp_v2/classes.rb', line 8002 def update!(**args) @description = args[:description] if args.key?(:description) @version = args[:version] if args.key?(:version) end |