Class: Google::Apis::DlpV2::GooglePrivacyDlpV2SensitivityLabelMetadata

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

Sensitivity labels published by Microsoft.

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(**args) ⇒ GooglePrivacyDlpV2SensitivityLabelMetadata

Returns a new instance of GooglePrivacyDlpV2SensitivityLabelMetadata.



10708
10709
10710
# File 'lib/google/apis/dlp_v2/classes.rb', line 10708

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

Instance Attribute Details

#guidString

Required. The GUID of the sensitivity label. Corresponds to the JSON property guid

Returns:

  • (String)


10706
10707
10708
# File 'lib/google/apis/dlp_v2/classes.rb', line 10706

def guid
  @guid
end

Instance Method Details

#update!(**args) ⇒ Object

Update properties of this object



10713
10714
10715
# File 'lib/google/apis/dlp_v2/classes.rb', line 10713

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