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.
7659 7660 7661 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 7659 def initialize(**args) update!(**args) end |
Instance Attribute Details
#action_type ⇒ String
Corresponds to the JSON property actionType
7652 7653 7654 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 7652 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
7657 7658 7659 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 7657 def @unsafe_html_message_body end |
Instance Method Details
#update!(**args) ⇒ Object
Update properties of this object
7664 7665 7666 7667 |
# File 'lib/google/apis/cloudsearch_v1/classes.rb', line 7664 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 |