Class: Google::Apis::DlpV2::GooglePrivacyDlpV2LabelField
- Inherits:
-
Object
- Object
- Google::Apis::DlpV2::GooglePrivacyDlpV2LabelField
- 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
The field values of the Google Drive label to match.
Instance Attribute Summary collapse
-
#id ⇒ String
The identifier of the Label Field.
-
#value ⇒ String
The value of the Label Field to match.
Instance Method Summary collapse
-
#initialize(**args) ⇒ GooglePrivacyDlpV2LabelField
constructor
A new instance of GooglePrivacyDlpV2LabelField.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ GooglePrivacyDlpV2LabelField
Returns a new instance of GooglePrivacyDlpV2LabelField.
7960 7961 7962 |
# File 'lib/google/apis/dlp_v2/classes.rb', line 7960 def initialize(**args) update!(**args) end |
Instance Attribute Details
#id ⇒ String
The identifier of the Label Field.
Corresponds to the JSON property id
7953 7954 7955 |
# File 'lib/google/apis/dlp_v2/classes.rb', line 7953 def id @id end |
#value ⇒ String
The value of the Label Field to match.
Corresponds to the JSON property value
7958 7959 7960 |
# File 'lib/google/apis/dlp_v2/classes.rb', line 7958 def value @value end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
7965 7966 7967 7968 |
# File 'lib/google/apis/dlp_v2/classes.rb', line 7965 def update!(**args) @id = args[:id] if args.key?(:id) @value = args[:value] if args.key?(:value) end |