Class: Google::Apis::DlpV2::GooglePrivacyDlpV2VersionDescription

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

Details about each available version for an infotype.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GooglePrivacyDlpV2VersionDescription

Returns a new instance of GooglePrivacyDlpV2VersionDescription.



10225
10226
10227
# File 'lib/google/apis/dlp_v2/classes.rb', line 10225

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

Instance Attribute Details

#descriptionString

Description of the version. Corresponds to the JSON property description

Returns:

  • (String)


10218
10219
10220
# File 'lib/google/apis/dlp_v2/classes.rb', line 10218

def description
  @description
end

#versionString

Name of the version Corresponds to the JSON property version

Returns:

  • (String)


10223
10224
10225
# File 'lib/google/apis/dlp_v2/classes.rb', line 10223

def version
  @version
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



10230
10231
10232
10233
# File 'lib/google/apis/dlp_v2/classes.rb', line 10230

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