Class: Google::Apis::CloudsearchV1::DlpAction
- Inherits:
-
Object
- Object
- Google::Apis::CloudsearchV1::DlpAction
- Includes:
- Google::Apis::Core::Hashable, Google::Apis::Core::JsonObjectSupport
- Defined in:
- lib/google/apis/cloudsearch_v1/classes.rb,
lib/google/apis/cloudsearch_v1/representations.rb,
lib/google/apis/cloudsearch_v1/representations.rb
Instance Attribute Summary collapse
-
#action_type ⇒ String
Corresponds to the JSON property
actionType
. -
#unsafe_html_message_body ⇒ String
The custom error message defined by the customer administrator.
Instance Method Summary collapse
-
#initialize(**args) ⇒ DlpAction
constructor
A new instance of DlpAction.
-
#update!(**args) ⇒ Object
Update properties of this object.
Constructor Details
#initialize(**args) ⇒ DlpAction
Returns a new instance of DlpAction.
7723 7724 7725 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 7723 def initialize(**args) update!(**args) end |
Instance Attribute Details
#action_type ⇒ String
Corresponds to the JSON property actionType
7716 7717 7718 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 7716 def action_type @action_type end |
#unsafe_html_message_body ⇒ String
The custom error message defined by the customer administrator.
Corresponds to the JSON property unsafeHtmlMessageBody
7721 7722 7723 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 7721 def @unsafe_html_message_body end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
7728 7729 7730 7731 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 7728 def update!(**args) @action_type = args[:action_type] if args.key?(:action_type) @unsafe_html_message_body = args[:unsafe_html_message_body] if args.key?(:unsafe_html_message_body) end |